import{f as n,a0 as c,y as i,s as u}from"./entry.c7cd0af6.js";const f=n({async setup(){let e,t;const s=c(),r={redirect:""},{redirect:o}=s.currentRoute.value.query;o&&typeof o=="string"&&!o.includes("logout")&&(r.redirect=o);const a=i();[e,t]=u(()=>a.logout()),await e,t(),[e,t]=u(()=>s.push({path:"/login",query:r})),await e,t()}},"$uZ5b4v8paw");export{f as default};
