import{b as f,e as k,V as x,E as C,o as s,c as _,w as i,h as a,k as y,f as o,F as w,r as v,j as N,u as r,q as B,T as F,s as V}from"./entry.5c8819da.js";const G={class:"flex flex-col gap-4"},$={class:"flex items-center inline-block gap-2 text-sm grow-0"},E=a("span",null,"Contributors",-1),L={key:0,class:"flex flex-wrap gap-2"},b=["src"],j={key:1,class:"block w-6 h-6 opacity-0"},q={key:2,class:"block u-text-gray-500"},I=f({__name:"PageContributors",setup(A){const{page:u}=k(),p=x(),m=C(()=>{var n;return((n=p.value.github)==null?void 0:n.root)||"/"});return(n,D)=>{var l;const h=B,g=V,d=F("GithubFileContributors");return s(),_(d,{source:r(m)+((l=r(u))==null?void 0:l._file)},{default:i(({contributors:e,pending:c})=>[a("div",G,[a("span",$,[y(h,{name:"heroicons-outline:user-group",class:"w-5 h-5"}),E]),e!=null&&e.length?(s(),o("div",L,[(s(!0),o(w,null,v(e,t=>(s(),_(g,{key:t.login,alt:t.name,title:`@${t.login} on GitHub`,to:`https://github.com/${t.login}`},{default:i(()=>[a("img",{src:t.avatar_url,class:"inline-block w-6 h-6 transition-colors rounded-full u-ring-gray-200 hover:ring-primary-500 ring-2"},null,8,b)]),_:2},1032,["alt","title","to"]))),128))])):c?(s(),o("span",j,"\xA0")):!c&&!(e!=null&&e.length)?(s(),o("span",q,"No contributors.")):N("",!0)])]),_:1},8,["source"])}}});export{I as _};
