import{d as u,bc as p,c2 as y,c as _,q as d,e as s,f as o,F as l,r as m,n as g,t as h,Z as b,j as I,bd as c,s as z,i as k,w,a7 as A,aI as D,m as L}from"./index-CYs9MVUz.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="36deaa23-774d-45c9-9387-d930816264bb",a._sentryDebugIdIdentifier="sentry-dbid-36deaa23-774d-45c9-9387-d930816264bb")}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(a){const r=a,n=_(()=>{var e;return"+"+((e=r.moreItem)==null?void 0:e.toString())});return(e,E)=>{const f=d("tooltip"),v=d("placeholder");return e.loading?(s(),o("div",S,[(s(),o(l,null,m(6,t=>I(c,{key:t,loading:"",size:e.size,class:"avatars__item"},null,8,["size"])),64))])):(s(),o("div",C,[(s(!0),o(l,null,m(e.pictures,(t,i)=>z((s(),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?(s(),o("div",{key:0,class:g(["avatars__item avatars__item--more",[`avatars__item--${e.size}`,`avatars__item--${e.theme}`]])},h(n.value),3)):b("",!0)]))}}}),$=L(B,[["__scopeId","data-v-fa3e425d"]]);export{$ as A};
//# sourceMappingURL=AvatarList-B-ydyayK.js.map