import{O as r,s}from"./entry.731fa101.js";import{d as u}from"./component.6c997487.js";import"./composables.3f41d4a8.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};
