1import{_ as L,a as j,b as q}from"./B1wlNBKW.js";import{_ as A}from"./Bn9fTwPp.js";import{d as D,v as H,x as M,i as r,q as m,y as t,m as s,j as c,F as y,z as v,l,k as N,t as S,o as a,A as G}from"./DlyQCLyY.js";const R=D({__name:"Category",props:{category:{},mode:{}},setup(J){const{b:W,e:o}=G("category"),i=H();return M(i,!0),(e,K)=>{var p,u,g,k,f,_,h,w,C,b,B,E,V,$;const z=L,F=q,d=j,I=A;return a(),r(y,null,[m(z,{media:(p=e.category)==null?void 0:p.heroMedia,background:e.mode==="list"?"dark":(u=e.category)==null?void 0:u.heroBackground,counter:(g=e.category)==null?void 0:g.works.length,title:(k=e.category)==null?void 0:k.title},null,8,["media","background","counter","title"]),e.mode==="list"?(a(),r("section",{key:0,ref_key:"scopeEl",ref:i,class:t([s(o)("list"),s(o)("list--dark")])},[c("ul",{class:t(s(o)("items"))},[(a(!0),r(y,null,v((f=e.category)==null?void 0:f.works,n=>(a(),r("li",{key:n.id,class:t(s(o)("list-item"))},[m(F,{work:n},null,8,["work"])],2))),128))],2)],2)):(a(),r("section",{key:1,ref_key:"scopeEl",ref:i,class:t(s(W)())},[(_=e.category)!=null&&_.scope||(h=e.category)!=null&&h.description?(a(),r("header",{key:0,class:t(s(o)("header")),"data-in-viewport":"bottom"},[c("div",{class:t(s(o)("info"))},[c("span",{class:t(s(o)("label"))},"Category",2),c("h1",{class:t(s(o)("title"))},S((w=e.category)==null?void 0:w.title),3)],2),(C=e.category)!=null&&C.scope?(a(),N(d,{key:0,class:t(s(o)("scope")),text:(b=e.category)==null?void 0:b.scope},null,8,["class","text"])):l("",!0),(B=e.category)!=null&&B.description?(a(),N(d,{key:1,class:t(s(o)("description")),text:(E=e.category)==null?void 0:E.description},null,8,["class","text"])):l("",!0)],2)):l("",!0),(V=e.category)!=null&&V.works?(a(),r("ul",{key:1,class:t([s(o)("grid")])},[(a(!0),r(y,null,v(($=e.category)==null?void 0:$.works,n=>(a(),r("li",{key:n.id,class:t(s(o)("grid-item"))},[m(I,{work:n},null,8,["work"])],2))),128))],2)):l("",!0)],2))],64)}}});export{R 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.