import{V as r,H as s}from"./entry.30e55a5e.js";import{d as u}from"./component.bb17d696.js";import"./composables.a8da7a35.js";const p=u({async setup(){const o=r(),e={redirect:""},{redirect:t}=o.currentRoute.value.query;t&&typeof t=="string"&&!t.includes("logout")&&(e.redirect=t),await s().logout(),await o.push({path:"/login",query:e})}});export{p as default};
