import{d as u,ba as p,c0 as y,c as _,q as l,e as a,f as o,F as d,r as m,n as b,t as g,X as h,j as z,bb as c,s as I,i as k,w,a5 as A,aG as D,m as L}from"./index-B4gewkxT.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new s.Error().stack;r&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[r]="ba52edcb-4714-48b0-9014-3de4282b778b",s._sentryDebugIdIdentifier="sentry-dbid-ba52edcb-4714-48b0-9014-3de4282b778b")}catch{}})();const S={key:0,class:"avatars"},C={key:1,class:"avatars"},B=u({__name:"AvatarList",props:{pictures:{},loading:{type:Boolean},moreItem:{default:0},size:{default:p.SMALL},theme:{default:y.DEFAULT}},setup(s){const r=s,n=_(()=>{var e;return"+"+((e=r.moreItem)==null?void 0:e.toString())});return(e,E)=>{const f=l("tooltip"),v=l("placeholder");return e.loading?(a(),o("div",S,[(a(),o(d,null,m(6,t=>z(c,{key:t,loading:"",size:e.size,class:"avatars__item"},null,8,["size"])),64))])):(a(),o("div",C,[(a(!0),o(d,null,m(e.pictures,(t,i)=>I((a(),k(c,{key:i,src:typeof t=="string"?t:t.picture,alt:"",class:"avatars__item",size:e.size,style:D({zIndex:e.pictures&&e.pictures.length-i}),to:typeof t!="string"?t.to:void 0,href:typeof t!="string"?t.href:void 0},{"status-icon":w(()=>[A(e.$slots,"status-icon",{index:i},void 0,!0)]),_:2},1032,["src","size","style","to","href"])),[[f,typeof t!="string"?t.tooltipConfig:{}],[v,e.loading]])),128)),e.moreItem&&e.moreItem>0?(a(),o("div",{key:0,class:b(["avatars__item avatars__item--more",[`avatars__item--${e.size}`,`avatars__item--${e.theme}`]])},g(n.value),3)):h("",!0)]))}}}),$=L(B,[["__scopeId","data-v-fa3e425d"]]);export{$ as A}; //# sourceMappingURL=AvatarList-CXbRGmrx.js.map