1import{cx as g,db as h,bF as x,br as a,at as r,ay as c,dq as i,as as d,aq as p,a0 as y,a1 as w,bJ as o,ax as l,a2 as b}from"./DtGgvzh8.js";const v={class:"w-full flex items-center justify-center py-20"},k={key:0,class:"flex flex-col items-center gap-6"},S={__name:"login",setup(I){const{handleRedirect:u,initAuth:n}=g(),{user:m}=h(),s=!m?.value?.anonymous;return x(async()=>{if(window.location.hash)try{const t=await u();if(await n(),t?.success){const e=sessionStorage.getItem("authRedirect");e?(sessionStorage.removeItem("authRedirect"),a(e)):a("/dashboard")}}catch(t){throw t}else if(await n(),s){const t=sessionStorage.getItem("authRedirect")||"/dashboard";sessionStorage.removeItem("authRedirect"),a(t)}}),(t,e)=>{const _=y,f=w;return o(),r("div",v,[s?d("",!0):(o(),r("div",k,[c(_,{class:"!text-3xl"},{default:i(()=>[...e[0]||(e[0]=[l("Login to your account",-1)])]),_:1}),c(b)])),s?(o(),p(f,{key:1},{default:i(()=>[...e[1]||(e[1]=[l("You are already logged in",-1)])]),_:1})):d("",!0)])}}};export{S 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.