1import{_ as b,u as y}from"./D5pfNIgZ.js";import{_ as x}from"./Bh7G1Br1.js";import{d as C,e as v}from"./D5aDKD1T.js";import{d as w,a as B,u as $,b as k,w as l,h as N,c as E,e as a,t as i,f as t,j as P,k as S,g as D,s as I,l as V,o as u,_ as F}from"./49H4LPy_.js";import{t as T}from"./D6OqeVn3.js";import{u as j,a as A}from"./DGfxLm2G.js";import{u as G}from"./CjOdzS5v.js";import"./KuK9K8fK.js";import"./gMQZ3bgY.js";import"./DrV9I3VX.js";import"./D2DEg0B1.js";const L={class:"section section--hero clr--white pt6 pb6 bg--hero--design-4--blue"},M={class:"container"},R={class:"hero text-center"},W=w({__name:"[page]",async setup(Y){let e,s;const m=B(),c=Number(m.params.page),_=$(),g=T(_).pagination,r=k({en:v,de:C}),{data:n}=([e,s]=l(()=>y(c)),e=await e,s(),e),{data:p}=([e,s]=l(()=>V("/api/posts/categories","$hW4EsZ-sYS")),e=await e,s(),e);if(!n.value?.posts?.length)throw N({statusCode:404,statusMessage:"Page not found",fatal:!1});const d=I(()=>n.value?.posts?n.value.posts.map(o=>({postType:o.postType,h:o.title,p:o.trimmedExcerpt,url:`/blog/${o.slug}/`,img:o.featuredImage?.url_md,date:o.date})):[]);return j({title:`${r.seo.title} - ${g.page} ${c}`,description:r.seo.description}),G(A()),(o,Z)=>{const h=b,f=x;return u(),E("div",null,[a("section",L,[a("div",M,[a("div",R,[a("h1",null,i(t(r).hero.h),1),a("p",null,i(t(r).hero.p),1)])])]),t(p)?.categories?.length?(u(),P(h,{key:0,categories:t(p).categories,"total-count":t(p).totalCount,"base-url":"/blog/"},null,8,["categories","total-count"])):S("",!0),D(f,{posts:t(d),"current-page":t(c),"total-pages":t(n)?.totalPages||1,"base-url":"/blog/"},null,8,["posts","current-page","total-pages"])])}}}),oe=F(W,[["__scopeId","data-v-7c82d29a"]]);export{oe 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.