import{Sasd,caso,aasl,dasf,easm,masu,basp,tasc,fasy}from"./index-CFSywFfb.js";import{Aasr}from"./XPro-CT_nc-YB.js";functionv(s){lett,i;returnt=newr({props:{src:s[0],alt:s[1],width:"w-32",rounded:"rounded-full",initials:s[1]}}),{c(){f(t.$$.fragment)},l(e){m(t.$$.fragment,e)},m(e,a){u(t,e,a),i=!0},p(e,[a]){constn={};a&1&&(n.src=e[0]),a&2&&(n.alt=e[1]),a&2&&(n.initials=e[1]),t.$set(n)},i(e){i||(p(t.$$.fragment,e),i=!0)},o(e){c(t.$$.fragment,e),i=!1},d(e){y(t,e)}}}functiong(s,t,i){let{avatar:e=""}=t,{displayName:a=""}=t;returns.$$set=n=>{"avatar"inn&&i(0,e=n.avatar),"displayName"inn&&i(1,a=n.displayName)},[e,a]}classwextendsd{constructor(t){super(),o(this,t,g,v,l,{avatar:0,displayName:1})}}r.__docgen={version:3,name:"Avatar.svelte",data:[{keywords:[{name:"type",description:"{string | undefined}"}],visibility:"public",description:"URL to Avatar image.",name:"avatar",kind:"let",static:!1,readonly:!1,type:{kind:"union",text:"string | undefined",type:[{kind:"type",text:"string",type:"string"},{kind:"type",text:"undefined",type:"undefined"}]},defaultValue:""},{keywords:[{name:"type",description:"{string | undefined}"}],visibility:"public",description:"Name to derive initials from if no avatar is given.",name:"displayName",kind:"let",static:!1,readonly:!1,type:{kind:"union",text:"string | undefined",type:[{kind:"type",text:"string",type:"string"},{kind:"type",text:"undefined",type:"undefined"}]},defaultValue:""}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};export{wasA};