import{y as c,d as u,q as m,j as d,v as p,a as f,e as s,x as g,f as r,w as o,s as x,o as _,A as v,B as y,g as w,h as b}from"./JQJBiNWj.js";import{u as N}from"./BwwR4PPN.js";import"./B6O9xiO5.js";const T=c("/logoff-picture.png"),A={class:"w-screen h-screen bg-cover bg-center bg-no-repeat bg-[url('/background-login.jpg')] flex flex-col items-center justify-center p-10"},B={class:"flex flex-wrap w-full items-center gap-10 max-md:gap-5 justify-center grow max-lg:flex-col-reverse"},R={class:"space-y-5 max-lg:text-center"},C=u({__name:"logoff",setup(S){const t=m(),a=d("");return N("Sessão finalizada"),p(()=>{if(t.currentRoute.value.query.code==="unauthorized"){a.value=t.currentRoute.value.query.redirect?"?redirect="+t.currentRoute.value.query.redirect:"";return}}),(j,e)=>{const n=v,l=x;return _(),f("div",A,[e[4]||(e[4]=s("div",{class:"py-4"},[s("img",{src:g,alt:"Logo ANTT",class:"max-w-32"})],-1)),s("div",B,[e[3]||(e[3]=s("img",{src:T,alt:"",class:"lg:w-full lg:max-w-sm max-lg:max-h-64"},null,-1)),s("div",R,[e[1]||(e[1]=s("h1",{class:"text-primary text-4xl max-md:text-3xl"}," Sua sessão foi finalizada. ",-1)),e[2]||(e[2]=s("p",{class:"bg-white"}," Para acessar novamente, utilize suas credenciais na página de acesso: ",-1)),r(l,{severity:"secondary","as-child":""},{default:o(i=>[r(n,y({to:`/login${w(a)}`},i),{default:o(()=>e[0]||(e[0]=[b(" Acessar "),s("span",{class:"font-bold"},"SIGESCANTT",-1)])),_:2},1040,["to"])]),_:1})])])])}}});export{C as default};
