import{a as g}from"./vJlLu25e.js";import{g as R,p as z,at as D,t as v,a$ as M,A as X,be as $,aM as h,bp as F,a as J,bX as Q,c as e,bk as U,aG as Y,aH as p,m as V,V as r,L as E,ac as G,ad as H,af as W,bs as Z,b as j,Q as q,R as K,S as O,T as ee,U as a,aC as _,Z as k,D as te,J as s,E as x}from"./C0u2Lk3h.js";import{V as ae,a as n,b as i,c as oe}from"./BK2mOCZY.js";import{V as le}from"./Cr9s0UKx.js";import{V as y}from"./CHrTZ85L.js";const se=z({bordered:Boolean,color:String,content:[Number,String],dot:Boolean,floating:Boolean,icon:q,inline:Boolean,label:{type:String,default:"$vuetify.badge"},max:[Number,String],modelValue:{type:Boolean,default:!0},offsetX:[Number,String],offsetY:[Number,String],textColor:String,...j(),...Z({location:"top end"}),...W(),...H(),...G(),...E({transition:"scale-rotate-transition"})},"VBadge"),C=R()({name:"VBadge",inheritAttrs:!1,props:se(),setup(t,d){const{backgroundColorClasses:o,backgroundColorStyles:S}=D(v(t,"color")),{roundedClasses:B}=M(t),{t:P}=X(),{textColorClasses:L,textColorStyles:N}=$(v(t,"textColor")),{themeClasses:T}=h(),{locationStyles:A}=F(t,!0,l=>(t.floating?t.dot?2:4:t.dot?8:12)+(["top","bottom"].includes(l)?+(t.offsetY??0):["left","right"].includes(l)?+(t.offsetX??0):0));return J(()=>{const l=Number(t.content),u=!t.max||isNaN(l)?t.content:l<=+t.max?l:`${t.max}+`,[I,w]=Q(d.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return e(t.tag,V({class:["v-badge",{"v-badge--bordered":t.bordered,"v-badge--dot":t.dot,"v-badge--floating":t.floating,"v-badge--inline":t.inline},t.class]},w,{style:t.style}),{default:()=>{var f,c;return[e("div",{class:"v-badge__wrapper"},[(c=(f=d.slots).default)==null?void 0:c.call(f),e(U,{transition:t.transition},{default:()=>{var m,b;return[Y(e("span",V({class:["v-badge__badge",T.value,o.value,B.value,L.value],style:[S.value,N.value,t.inline?{}:A.value],"aria-atomic":"true","aria-label":P(t.label,l),"aria-live":"polite",role:"status"},I),[t.dot?void 0:d.slots.badge?(b=(m=d.slots).badge)==null?void 0:b.call(m):t.icon?e(r,{icon:t.icon},null):u]),[[p,t.modelValue]])]}})])]}})}),{}}}),fe=K({__name:"UserProfile",setup(t){return(d,o)=>(ee(),O(C,{dot:"",location:"bottom right","offset-x":"3","offset-y":"3",color:"success",bordered:""},{default:a(()=>[e(x,{class:"cursor-pointer",color:"primary",variant:"tonal"},{default:a(()=>[e(_,{src:k(g)},null,8,["src"]),e(te,{activator:"parent",width:"230",location:"bottom end",offset:"14px"},{default:a(()=>[e(ae,null,{default:a(()=>[e(n,null,{prepend:a(()=>[e(le,{start:""},{default:a(()=>[e(C,{dot:"",location:"bottom right","offset-x":"3","offset-y":"3",color:"success"},{default:a(()=>[e(x,{color:"primary",variant:"tonal"},{default:a(()=>[e(_,{src:k(g)},null,8,["src"])]),_:1})]),_:1})]),_:1})]),default:a(()=>[e(i,{class:"font-weight-semibold"},{default:a(()=>[...o[0]||(o[0]=[s(" John Doe ",-1)])]),_:1}),e(oe,null,{default:a(()=>[...o[1]||(o[1]=[s("Admin",-1)])]),_:1})]),_:1}),e(y,{class:"my-2"}),e(n,{link:""},{prepend:a(()=>[e(r,{class:"me-2",icon:"bx-user",size:"22"})]),default:a(()=>[e(i,null,{default:a(()=>[...o[2]||(o[2]=[s("Profile",-1)])]),_:1})]),_:1}),e(n,{link:""},{prepend:a(()=>[e(r,{class:"me-2",icon:"bx-cog",size:"22"})]),default:a(()=>[e(i,null,{default:a(()=>[...o[3]||(o[3]=[s("Settings",-1)])]),_:1})]),_:1}),e(n,{link:""},{prepend:a(()=>[e(r,{class:"me-2",icon:"bx-dollar",size:"22"})]),default:a(()=>[e(i,null,{default:a(()=>[...o[4]||(o[4]=[s("Pricing",-1)])]),_:1})]),_:1}),e(n,{link:""},{prepend:a(()=>[e(r,{class:"me-2",icon:"bx-help-circle",size:"22"})]),default:a(()=>[e(i,null,{default:a(()=>[...o[5]||(o[5]=[s("FAQ",-1)])]),_:1})]),_:1}),e(y,{class:"my-2"}),e(n,{to:"/login"},{prepend:a(()=>[e(r,{class:"me-2",icon:"bx-log-out",size:"22"})]),default:a(()=>[e(i,null,{default:a(()=>[...o[6]||(o[6]=[s("Logout",-1)])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}))}});export{fe as _};
