import{I as o,J as s}from"./apis-DdFSvwR4.js";import{b as t}from"./newtab-BWIjnu6l.js";import{r as e}from"./vendor-s2rfM_Vj.js";function n(){const n=t((o=>o.id)),r=t((o=>o.setId)),i=t((o=>o.setEmail)),a=t((o=>o.setUsername));return{isLogin:e.useMemo((()=>{const s=o();return(null==n?void 0:n.length)&&(null==s?void 0:s.length)}),[n]),logout:()=>{r(""),i(""),a(""),s()}}}export{n as u};
