'use strict';
import { routes } from './routes.js';
import { navigate } from '../redirect/redirect-functions.js';

var __defProp=Object['defineProperty'],__name=(_0x5ca051,_0x24daaf)=>__defProp(_0x5ca051,'name',{'value':_0x24daaf,'configurable':!![]});function getRelativeLoginUrl(){return '/'+routes['login'];}__name(getRelativeLoginUrl,'getRelativeLoginUrl');function getLoginUrl(){return window['location']['origin']+getRelativeLoginUrl();}__name(getLoginUrl,'getLoginUrl');function goToLogin(){navigate(routes['login']);}__name(goToLogin,'goToLogin');

export { getLoginUrl, getRelativeLoginUrl, goToLogin };
