1import{E as e,Gt as a,J as t,T as i,dt as n,it as s,pn as o}from"./B8XHxhss.js";import{A as r,i as l,pt as m}from"#entry";import{n as p,t as u}from"./BTKkkt7R.js";var d={__name:"__login",setup(d){l({isLoginPage:!0});const g={USERNAME:r("USERNAME",{capitalize:!0}),PASSWORD:r("PASSWORD",{capitalize:!0}),LOG_IN:r("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 m("__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=m("__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(r,l)=>a(c)?(s(),i(n(a(c)),o(t({key:0},h)),null,16)):e("",!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.