1import{bq as I,bs as S,bt as j,bu as B,bv as C,br as D,bw as P,bx as T,bj as m,bp as v,bb as R,b3 as f,bk as w,b8 as x,b5 as s,bc as d,b4 as h,b6 as k,b7 as q,bn as L,b9 as N,by as V}from"./DVKR6D2q.js";import{i as A}from"./Bbfm_JhN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fc0bf47e-7209-47a8-a527-92d246303a56",e._sentryDebugIdIdentifier="sentry-dbid-fc0bf47e-7209-47a8-a527-92d246303a56")}catch{}})();const E=()=>{const e=I(),t=S(),{setToken:a}=j(),{getDefaultRedirectPath:r}=B(),o=v(5),l=v(!0),n=m(()=>o.value===1?"":"s"),c=m(()=>e.query.access),_=m(()=>e.query.redirectPath);let i=null;const g=()=>{t.push(r())},b=()=>{i&&clearInterval(i)},y=()=>{const u=_.value;if(!l.value||!u){b(),g();return}const p=Array.isArray(u)?u[0]:u;if(!p||!A(p)){b(),g();return}b(),t.push(p)};return C(()=>{if(!c.value||typeof c.value!="string"){l.value=!1;return}a(c.value)}),D(()=>{i=P(()=>{o.value>1?o.value--:y()},1e3)}),T(()=>{i&&clearInterval(i)}),{remainingSeconds:o,loginSuccess:l,concatS:n,performRedirect:y}},F={class:"w-full flex flex-col items-center justify-center mt-30"},H={key:0,class:"flex flex-col justify-center items-center"},M={key:1,class:"flex flex-col justify-center items-center"},O={class:"flex flex-col gap-1 text-sm justify-center items-center mt-10"},U={class:"w-fit"},$=R({__name:"LoginRedirectFeedback",setup(e){const{remainingSeconds:t,loginSuccess:a,concatS:r,performRedirect:o}=E();return(l,n)=>{const c=L,_=V;return f(),w(_,null,{default:x(()=>[s("div",F,[d(a)?(f(),h("div",H,[...n[0]||(n[0]=[s("h1",null,"Login efetuado com sucesso.",-1),s("span",{class:"w-fit text-sm"},"Redirecionando, aguarde...",-1)])])):(f(),h("div",M,[...n[1]||(n[1]=[s("h1",null,"Não foi possÃvel efetuar o login.",-1),s("span",{class:"w-fit text-sm"},"Voltando para página inicial...",-1)])])),s("div",O,[s("span",U," Em "+k(d(t))+" segundo"+k(d(r)),1),q(c,{size:"sm",variant:"link",class:"cursor-pointer",onClick:d(o)},{default:x(()=>
1[...n[2]||(n[2]=[N(" Redirecionar agora ",-1)])]),_:1},8,["onClick"])])])]),_:1})}}}),z=Object.assign($,{__name:"LoginRedirectFeedback"}),K=R({__name:"callback",setup(e){return(t,a)=>{const r=z;return f(),w(r)}}});export{K 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.