1import{d as k,i as j,e as P,n as o,f as c,b as e,r as f,o as n,a as l,g as v,y as h,R as C,C as R,B as A,x as D,c as H,h as I,F as V,D as q,v as F,_ as L,u as U,w as $,p as M}from"./0hULNxFA.js";import{c as S,u as T,s as z}from"./DObP8-Ef.js";const G={class:"ui-lib-content-wrapper"},J={class:"project-wrapper"},K=k({__name:"Projects",props:{title:{},subtitle:{}},emits:["navEvent"],setup(y){const r=j().themesBackgroundColor,{handleNavigationEvent:u}=D(),{searchClient:p,elasticIndex:_}=P({filters:[{field:"post_type",query:"project"}]}),d=t=>[t],i=t=>F(t),m=[T()],g=S();return(t,Q)=>{const w=f("ais-configure"),b=f("ais-hits"),x=f("ais-instant-search");return n(),o(x,{"search-client":e(p),"index-name":e(_),middlewares:m},{default:c(()=>[l(e(R),{"background-color":e(r),class:"ui-style-section-spacing--vertical"},{default:c(()=>[v("div",G,[t.title?(n(),o(e(C),{key:0,"text-type":"h1",content:t.title},null,8,["content"])):h("",!0),t.subtitle?(n(),o(e(C),{key:1,content:t.subtitle,class:"m-0"},null,8,["content"])):h("",!0)])]),_:1},8,["background-color"]),l(w,{hitsPerPage:9999}),l(b,{"transform-items":d},{item:c(({item:E,sendEvent:B})=>[v("div",J,[l(e(A),{"columns-per-row":2,"header-data":{},"is-slider":!1,onClick:e(u)},{default:c(()=>[(n(!0),H(V,null,I(E,s=>(n(),o(e(q),{key:s.post_title,"image-url":s.featured_image,content:s.preview,title:s.post_title,subtitle:s.preview,"alt-text":s.title,url:i(s),"card-type":"side-image",onClick:N=>e(g)(s,N,B)},null,8,["image-url","content","title","subtitle","alt-text","url","onClick"]))),128))]),_:2},1032,["onClick"])])]),_:1})]),_:1},8,["search-client","index-name"])}}}),O=L(K,[["__scopeId","data-v-ca7efbc4"]]),Y=k({__name:"index",emits:["navEvent"],async setup(y){let a,r;const u=U(),{seo:p,title:_}=([a,r]=$(()=>M(u)),a=await a,r(),a);return z(p||void 0),(d,i)=>{const m=O;return n(),o(m,{title:e(_)??"",onNavEvent:i[0]||(i[0]=g=>d.$emit("navEvent",g))},null,8,["title"])}}});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.