import{B as u}from"./Button-LyDQSUp0.js";import{a1 as c,$ as p,a3 as f,af as m}from"./common-vYHpopNV.js";import{d,b0 as x,c as _,x as s,B as y,o as g,aZ as B}from"./index-BXlk60bP.js";import"./_commonjsHelpers-BosuxZz1.js";const v={class:"space-y-2",md:"w-500px"},w={class:"space-x-1 flex flex-row items-center justify-center text-gray-600"},U=d({__name:"Setting",async setup(S){let e,o;const a=B();function r(){m(void 0),a.push("/login")}const i=([e,o]=x(()=>f()),e=await e,o(),e).value;return(k,t)=>{var n;const l=u;return g(),_("div",v,[t[1]||(t[1]=s("ul",{class:"space-y-3 text-base text-gray-700"},[s("li")],-1)),t[2]||(t[2]=s("div",{class:"!mt-4 h-1px bg-gray-200"},null,-1)),s("p",w,[t[0]||(t[0]=s("div",{class:"i-fa-solid:user-alt w-3"},null,-1)),s("span",null,c((n=p(i))==null?void 0:n.email),1)]),y(l,{icon:"i-uil:signout",text:"Sign out",onClick:r})])}}});export{U as default};
