1import{Y as e,at as t,vt as n,w as r}from"./5eay3IK5.js";import{et as i,ot as a,t as o}from"./DR7s2_gN.js";import{t as s}from"./D6JQ_Azj.js";var c={__name:`[slug]`,async setup(c){let l,u,d=a().params.slug,{data:f}=([l,u]=t(async()=>o(`blogPost-${d}`,async e=>{let{$contentfulClient:t}=e;return await t.getEntries({content_type:`blogPost`,"fields.slug[in]":d,limit:1,include:10}).then(e=>e.items).then(async e=>{let n={...e[0]};if(!e[0].fields.related){let e=await t.getEntries({content_type:`blogPost`,order:`-fields.publishDate`,include:10}).then(e=>e.items.filter(e=>e.fields.slug!==d).slice(0,3));n.fields.related=e}return n})})),l=await l,u(),l);if(!f.value)throw i({statusCode:404,statusMessage:`Page Not Found`,fatal:!0});let p=f.value.fields;return(t,i)=>{let a=s;return e(),r(a,{post:n(p)},null,8,[`post`])}}};export{c 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.