1import{S as y,i as j,s as E,x as l,a as M,e as p,y as b,c as N,z as u,b as _,f,t as c,d as v,C as $,g,h as S,w as d,v as C}from"../chunks/index-ba6b1158.js";import{g as h}from"../chunks/index-c48415b7.js";import{M as q}from"../chunks/Meta-2fb57449.js";import{a as z}from"../chunks/stores-295ea12e.js";import"../chunks/singletons-cf14ed2b.js";import"../chunks/index-e1528f01.js";function k(a){let e,o,n;var r=h(a[0].component);function s(t){return{props:{blok:t[0]}}}return r&&(e=d(r,s(a))),{c(){e&&l(e.$$.fragment),o=p()},l(t){e&&b(e.$$.fragment,t),o=p()},m(t,i){e&&u(e,t,i),_(t,o,i),n=!0},p(t,i){const m={};if(i&1&&(m.blok=t[0]),i&1&&r!==(r=h(t[0].component))){if(e){C();const w=e;c(w.$$.fragment,1,0,()=>{$(w,1)}),v()}r?(e=d(r,s(t)),l(e.$$.fragment),f(e.$$.fragment,1),u(e,o.parentNode,o)):e=null}else r&&e.$set(m)},i(t){n||(e&&f(e.$$.fragment,t),n=!0)},o(t){e&&c(e.$$.fragment,t),n=!1},d(t){t&&g(o),e&&$(e,t)}}}function B(a){let e,o,n,r;e=new q({props:{stories:a[0]}});let s=a[0].component&&k(a);return{c(){l(e.$$.fragment),o=M(),s&&s.c(),n=p()},l(t){b(e.$$.fragment,t),o=N(t),s&&s.l(t),n=p()},m(t,i){u(e,t,i),_(t,o,i),s&&s.m(t,i),_(t,n,i),r=!0},p(t,[i]){const m={};i&1&&(m.stories=t[0]),e.$set(m),t[0].component?s?(s.p(t,i),i&1&&f(s,1)):(s=k(t),s.c(),f(s,1),s.m(n.parentNode,n)):s&&(C(),c(s,1,1,()=>{s=null}),v())},i(t){r||(f(e.$$.fragment,t),f(s),r=!0)},o(t){c(e.$$.fragment,t),c(s),r=!1},d(t){$(e,t),t&&g(o),s&&s.d(t),t&&g(n)}}}const J=!0;async function K({fetch:a,url:e,params:o}){const n=await a(`/api/cache/${o.slug}.json`);return n.ok?{props:{stories:await n.json()}}:{status:n.status,error:new Error(`Error loading ${e.host}${e.pathname.length>1?e.pathname:""}`)}}function D(a,e,o){let{stories:n}=e;return S("getComponent",h),a.$$set=r=>{"stories"in r&&o(0,n=r.stories)},a.$$.update=()=>{a.$$.dirty&1&&z.set(n.posts)},[n]}class L extends y{constructor(e){super(),j(this,e,D,B,E,{stories:0})}}export{L as default,K as load,J as prerender};
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.