1import{Ea as e,aa as a,ao as t,ia as i,ir as n,ja as o,kt as s,no as r,ya as l}from"./cEYMgSOO.js";import{s as m}from"#entry";import{n as p,t as u}from"./CkdMEk1Y2.js";var d={__name:"__login",setup(d){m({isLoginPage:!0});const g={USERNAME:s("USERNAME",{capitalize:!0}),PASSWORD:s("PASSWORD",{capitalize:!0}),LOG_IN:s("LOG_IN",{capitalize:!0})},S=p("LoginPage"),c=u[Object.keys(u).includes(S)?S:"ContentPage"],h={title:"Limbo Citi",form:{endpointUrl:"/api/limbo/log-in",method:"POST",onSuccess({data:e}){if(e.token){return n("__limbo-authenticated",{path:"/",maxAge:2592e3,secure:!0,sameSite:"lax"}).value=e.token,!0}},fields:[{name:"username",type:"text",label:g.USERNAME,placeholder:g.USERNAME,required:!0},{name:"password",type:"password",label:g.PASSWORD,placeholder:g.PASSWORD,helpText:"Brugernavn og adgangskode kan findes i Limbo's password-manager.",required:!0},{name:"submit",type:"submit",value:g.LOG_IN}]},help:{title:"Brug for hjælp?",text:"Tag fat i Simon. Han har lavet denne side og kan helt sikkert hjælpe dig."},homeLink:{name:"Limbo",url:"/__limbo/"},isLoggedIn:()=>{const e=n("__limbo-authenticated",{path:"/"});if(e.value){const a=new Date(atob(e.value));if((new Date).getTime()-a.getTime()<2592e6)return!0}return!1}};return(n,s)=>r(c)?(e(),i(o(r(c)),t(l({key:0},h)),null,16)):a("",!0)}};export{d as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.