1import{T as n}from"./D_EpW0Q9.js";import{L as d}from"./CVM-iThD.js";import{ce as u,c0 as t,c6 as c,cj as _,c8 as f,ao as b,bb as g,c1 as h}from"./C9liJd2o.js";import{T as x}from"./B1ooFv_a.js";import{u as C}from"./DfIjHZQl.js";import{u as T,aE as y,a4 as L,j as U,q as r,ap as a,g as p,aF as j,aj as v}from"./BnZv-h_Q.js";import"./D_DKjSt-.js";import"./cVRYAG9i.js";import"./s9Zn2m_1.js";import"./DfCGdxB3.js";import"./CCdteRke.js";import"./CkD0tPL5.js";import"./swKn-5tC.js";import"./BY-s_3p7.js";import"./WszH8fiF.js";import"./Bw3pPq3l.js";import"./DOc3hfsE.js";import"./CMrzOcX3.js";import"./BYodCRRA.js";const w={class:"mb-4 md:mb-10 lg:mb-4"},A={class:"container"},B={class:"h5"},Y=T({__name:"Leaderboard",async setup(S){let s,i;u({title:t("default.tab_leaderboard"),description:t("default.leaderboard_page_subtitle")});const m=f(),o=([s,i]=y(()=>C("leaderboard-initial",()=>b({page:1,type:"all",limit:20}))),s=await s,i(),s),l=c();return _(()=>g((o?.data??[]).filter(e=>e.slug).map(e=>({name:e.name,url:l(h("profile_page.main",{slug:e.slug},!0)),image:e.profile_img?l(e.profile_img):void 0})))),(e,k)=>(L(),U("div",w,[r(n,{title:a(t)("default.tab_leaderboard"),subtitle:a(t)("default.leaderboard_page_subtitle"),class:"mb-3"},null,8,["title","subtitle"]),p("div",A,[r(x,{class:"p-2 p-md-3 flex flex-column gap-3 gap-md-0"},{default:j(()=>[p("span",B,v(a(t)("default.top_contributors_title")),1),r(d,{user:a(m),limit:20,paginate:!1,"initial-response":a(o)},null,8,["user","initial-response"])]),_:1})])]))}});export{Y as default};
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.