import{S as y,i as b,s as k,a as c,w as l,a6 as C,h as p,c as g,x as _,b as $,y as d,f as v,t as h,B as w}from"../chunks/index-de1c04e4.js";import{f as P}from"../chunks/pages-332adf61.js";import{C as x,P as B}from"../chunks/PreviousNextPage-50deeb7d.js";import"../chunks/paths-b0dcd44a.js";function q(o){let t,i,a,r,s,f;return document.title=t=o[0].title,a=new x({props:{source:o[0].content}}),s=new B({props:{page:o[0]}}),{c(){i=c(),l(a.$$.fragment),r=c(),l(s.$$.fragment)},l(e){C('[data-svelte="svelte-xdszgy"]',document.head).forEach(p),i=g(e),_(a.$$.fragment,e),r=g(e),_(s.$$.fragment,e)},m(e,n){$(e,i,n),d(a,e,n),$(e,r,n),d(s,e,n),f=!0},p(e,[n]){(!f||n&1)&&t!==(t=e[0].title)&&(document.title=t);const u={};n&1&&(u.source=e[0].content),a.$set(u);const m={};n&1&&(m.page=e[0]),s.$set(m)},i(e){f||(v(a.$$.fragment,e),v(s.$$.fragment,e),f=!0)},o(e){h(a.$$.fragment,e),h(s.$$.fragment,e),f=!1},d(e){e&&p(i),w(a,e),e&&p(r),w(s,e)}}}function M({url:o}){const t=P(o.pathname);return t?{status:200,props:{page:t}}:{status:404,error:"Could not find the page you are looking for"}}function S(o,t,i){let{page:a}=t;return o.$$set=r=>{"page"in r&&i(0,a=r.page)},[a]}class N extends y{constructor(t){super(),b(this,t,S,q,k,{page:0})}}export{N as default,M as load};
