1import k from"./BbAX2lns.js";import S from"./Ba256KoW.js";import{i as C,M as _,o as l,c,a as p,h as u,g as d,L as n,d as i,r as h,F as g,C as j,w,D as x,a3 as B,a4 as $}from"./BtgFK3Pm.js";const D=["id"],N={class:"flex justify-between items-center flex-wrap gap-6"},V={key:1,class:"font-k-heading text-2xl"},W=C({__name:"Stats",props:{stats:{},id:{default:void 0},divider:{type:Boolean,default:!1},ui:{default:void 0}},setup(o){const t=o,s=_({slots:{root:"mt-10 mb-22.5 flex flex-col gap-15",headline:"font-k-heading text-k-text-primary text-4xl",grid:"grid grid-cols-2 lg:grid-cols-4 gap-px lg:gap-4",card:"py-12 px-2 flex flex-col items-center justify-start gap-2 text-center text-white h-full font-k-heading",iconWrapper:"h-16 flex items-center justify-center",icon:"h-12 w-auto object-contain",prefix:"text-lg",value:"text-4xl font-semibold leading-none",label:"text-lg"}})(),y=e=>`var(--color-k-pastel-${e%4+1})`;function v(e,f){const r=[];return e===0&&r.push("rounded-tl-[20px]"),e===1&&r.push("rounded-tr-[20px]"),e===f-2&&r.push("rounded-bl-[20px]"),e===f-1&&r.push("rounded-br-[20px]"),r.join(" ")}return(e,f)=>{const r=k,b=S;return l(),c(g,null,[o.divider?(l(),p(r,{key:0,id:o.id},null,8,["id"])):u("",!0),d("section",{id:o.divider?void 0:o.id,class:n([i(s).root({class:t.ui?.root}),{"scroll-anchor":!o.divider}]),"aria-labelledby":"stats-headline"},[d("div",N,[e.$slots.headline?(l(),c("h2",{key:0,id:"stats-headline",class:n(i(s).headline({class:t.ui?.headline}))},[h(e.$slots,"headline")],2)):u("",!0),e.$slots.cta?(l(),c("span",V,[h(e.$slots,"cta")])):u("",!0)]),d("ul",{class:n(i(s).grid({class:t.ui?.grid}))},[(l(!0),c(g,null,j(o.stats,(a,m)=>(l(),c("li",{key:a.label},[(l(),p($(a.url?"a":"div"),{href:a.url,class:n(["lg:rounded-[20px]",[i(s).card({class:t.ui?.card}),v(m,o.stats.length)]]),style:B({backgroundColor:y(m)})},{default:w(()=>[d("div",{class:n(i(s).iconWrapper({class:t.ui?.iconWrapper}))},[a.icon?(l(),p(b,{key:0,src:a.icon,alt:"",class:n(i(s).icon({class:t.ui?.icon}))},null,8,["src","class"])):u("",!0)],2),a.prefix?(l(),c("p",{key:0,class:n(i(s).prefix({class:t.ui?.prefix}))},x(a.prefix),3)):u("",!0),d("p",{class:n(i(s).value({class:t.ui?.value}))},x(a.value),3),d("p",{class:n(i(s).label({class:t.ui?.label}))},x(a.label),3)]),_:2},1032,["href","class","style"]))]))),128))],2)],10,D)],64)}}}),I=Object.assign(W,{__name:"SectionStats"});export{I 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.