import{A as d,B as V,aG as g,aW as k,aX as y,aT as f,D as P,aY as C,I,aZ as S,L as A,M as B,aQ as z,N as D,aR as R,P as T,a_ as h,Q as x,d as e,a$ as N,V as Q,aC as b}from"./main-CJbVOHh0.js";import{V as F}from"./VImg-CzIdDjU-.js";const G=V({start:Boolean,end:Boolean,icon:x,image:String,text:String,...h(),...T(),...R(),...D(),...z(),...B(),...A(),...S({variant:"flat"})},"VAvatar"),O=d()({name:"VAvatar",props:G(),setup(a,t){let{slots:s}=t;const{themeClasses:n}=g(a),{borderClasses:l}=k(a),{colorClasses:o,colorStyles:r,variantClasses:u}=y(a),{densityClasses:c}=f(a),{roundedClasses:i}=P(a),{sizeClasses:v,sizeStyles:m}=C(a);return I(()=>e(a.tag,{class:["v-avatar",{"v-avatar--start":a.start,"v-avatar--end":a.end},n.value,l.value,o.value,c.value,i.value,v.value,u.value,a.class],style:[r.value,m.value,a.style]},{default:()=>[s.default?e(b,{key:"content-defaults",defaults:{VImg:{cover:!0,src:a.image},VIcon:{icon:a.icon}}},{default:()=>[s.default()]}):a.image?e(F,{key:"image",src:a.image,alt:"",cover:!0},null):a.icon?e(Q,{key:"icon",icon:a.icon},null):a.text,N(!1,"v-avatar")]})),{}}});export{O as V};
