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