1import{a as d}from"../main.ae189850.js";import{g as m}from"./category.77ea0f28.js";import"./preload-helper.ae39bab8.js";import{d as u,k as r,B as g,f as s,g as c,L as f,W as h,s as n,o as t,K as p,u as y,T as k,m as v}from"./vendor.ab282fad.js";const L={class:"c-category__container"},w={class:"c-category__list"},C=["data-category"],x=["href"],B=["src"],E=["src"],D=u({setup(N){const i="/static/",l=r(new URL(window.location.origin+"/search/")),a=r([]),_=r();return g(async()=>{a.value=(await m()).filter(o=>o.featured===!0&&o.name.toLowerCase()!=="featured")}),(o,U)=>(t(),s("div",L,[c("div",w,[a.value.length!==0?(t(),s("ul",{key:0,ref_key:"categoryListElement",ref:_,class:"c-category__list-items"},[(t(!0),s(f,null,h(a.value,e=>(t(),s("li",{key:e.id,class:p([e.name.toLowerCase()==="featured"?"category-selected":"","c-category__list-item"]),"data-category":e.name},[c("a",{href:l.value+"?category="+e.name,class:"c-category__list-link"},[y(d)(e.logo)?(t(),s("img",{key:0,class:"c-category__list-icon",src:e.logo,alt:""},null,8,B)):e.icon_id?(t(),s("img",{key:1,class:"c-category__list-icon",src:i+"icons/"+e.icon_id+".svg",alt:""},null,8,E)):n("",!0),k(" "+v(e.name),1)],8,x)],10,C))),128))],512)):n("",!0)])]))}});export{D as default}; 2//# sourceMappingURL=CategoryList.ce.c3f25176.js.map
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.