1import{_ as d}from"./sX5IReoc.js";import{d as c,c as i,f as n,o as a,m,al as u,i as s,H as f}from"#entry";const g={class:"w-max h-max rounded-full bg-[#EEE1FE] dark:bg-[#3F1978] !text-zinc-900 dark:!text-[#EEE1FE] overflow-hidden"},v=c({__name:"UserAvatar",props:{name:{},image:{default:null},size:{default:40},provider:{default:void 0},loadingType:{default:"eager"}},setup(e){const t=e,l=i(()=>({width:`${t.size}px`,height:`${t.size}px`})),o=i(()=>t.name.substring(0,1));return(h,x)=>{const r=d;return a(),n("div",g,[e.image?(a(),m(r,{key:0,provider:e.provider,src:e.image,alt:e.name,width:e.size,height:e.size,loading:e.loadingType,quality:"80"},null,8,["provider","src","alt","width","height","loading"])):(a(),n("div",{key:1,style:u(s(l)),class:"text-xl uppercase flex items-center text-center justify-center font-semibold leading-none"},f(s(o)),5))])}}});export{v as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.