import{D as ae,S as Q,i as W,s as X,e as d,j as L,E as j,t as B,c as h,a as c,d as l,l as I,F as z,g as C,G as le,b as t,H as N,f as D,I as a,J as Y,K as re,L as ie,v as oe,w as ce,x as ne,M as ve,N as ue,O as fe,p as ee,n as te,A as _e}from"../chunks/vendor-92f01141.js";const de=()=>{const o=ae("__svelte__");return{page:{subscribe:o.page.subscribe},navigating:{subscribe:o.navigating.subscribe},get preloading(){return console.error("stores.preloading is deprecated; use stores.navigating instead"),{subscribe:o.navigating.subscribe}},session:o.session}},he={subscribe(o){return de().page.subscribe(o)}};var pe="/staticspaceiframe/julien-c/sveltekit-demo/build/_app/assets/svelte-logo-87df40b8.svg";function me(o){let s,u,i,n,m,E,p,v,q,y,f,b,r,e,_,w,g,H,O,k,S,V,x;return{c(){s=d("header"),u=d("div"),i=d("a"),n=d("img"),E=L(),p=d("nav"),v=j("svg"),q=j("path"),y=L(),f=d("ul"),b=d("li"),r=d("a"),e=B("Home"),_=L(),w=d("li"),g=d("a"),H=B("About"),O=L(),k=j("svg"),S=j("path"),V=L(),x=d("div"),this.h()},l(A){s=h(A,"HEADER",{class:!0});var $=c(s);u=h($,"DIV",{class:!0});var F=c(u);i=h(F,"A",{href:!0,class:!0});var G=c(i);n=h(G,"IMG",{src:!0,alt:!0,class:!0}),G.forEach(l),F.forEach(l),E=I($),p=h($,"NAV",{class:!0});var M=c(p);v=z(M,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var R=c(v);q=z(R,"path",{d:!0,class:!0}),c(q).forEach(l),R.forEach(l),y=I(M),f=h(M,"UL",{class:!0});var K=c(f);b=h(K,"LI",{class:!0});var Z=c(b);r=h(Z,"A",{"sveltekit:prefetch":!0,href:!0,class:!0});var J=c(r);e=C(J,"Home"),J.forEach(l),Z.forEach(l),_=I(K),w=h(K,"LI",{class:!0});var P=c(w);g=h(P,"A",{"sveltekit:prefetch":!0,href:!0,class:!0});var T=c(g);H=C(T,"About"),T.forEach(l),P.forEach(l),K.forEach(l),O=I(M),k=z(M,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var U=c(k);S=z(U,"path",{d:!0,class:!0}),c(S).forEach(l),U.forEach(l),M.forEach(l),V=I($),x=h($,"DIV",{class:!0});var se=c(x);se.forEach(l),$.forEach(l),this.h()},h(){le(n.src,m=pe)||t(n,"src",m),t(n,"alt","SvelteKit"),t(n,"class","svelte-t2wq17"),t(i,"href","https://kit.svelte.dev"),t(i,"class","svelte-t2wq17"),t(u,"class","corner svelte-t2wq17"),t(q,"d","M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z"),t(q,"class","svelte-t2wq17"),t(v,"viewBox","0 0 2 3"),t(v,"aria-hidden","true"),t(v,"class","svelte-t2wq17"),t(r,"sveltekit:prefetch",""),t(r,"href","./"),t(r,"class","svelte-t2wq17"),t(b,"class","svelte-t2wq17"),N(b,"active",o[0].url.pathname==="/"),t(g,"sveltekit:prefetch",""),t(g,"href","./about"),t(g,"class","svelte-t2wq17"),t(w,"class","svelte-t2wq17"),N(w,"active",o[0].url.pathname==="/about"),t(f,"class","svelte-t2wq17"),t(S,"d","M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z"),t(S,"class","svelte-t2wq17"),t(k,"viewBox","0 0 2 3"),t(k,"aria-hidden","true"),t(k,"class","svelte-t2wq17"),t(p,"class","svelte-t2wq17"),t(x,"class","corner svelte-t2wq17"),t(s,"class","svelte-t2wq17")},m(A,$){D(A,s,$),a(s,u),a(u,i),a(i,n),a(s,E),a(s,p),a(p,v),a(v,q),a(p,y),a(p,f),a(f,b),a(b,r),a(r,e),a(f,_),a(f,w),a(w,g),a(g,H),a(p,O),a(p,k),a(k,S),a(s,V),a(s,x)},p(A,[$]){$&1&&N(b,"active",A[0].url.pathname==="/"),$&1&&N(w,"active",A[0].url.pathname==="/about")},i:Y,o:Y,d(A){A&&l(s)}}}function ge(o,s,u){let i;return re(o,he,n=>u(0,i=n)),[i]}class be extends Q{constructor(s){super();W(this,s,ge,me,X,{})}}function Ee(o){let s,u,i,n,m,E,p,v,q,y,f;s=new be({});const b=o[1].default,r=ie(b,o,o[0],null);return{c(){oe(s.$$.fragment),u=L(),i=d("main"),r&&r.c(),n=L(),m=d("footer"),E=d("p"),p=B("visit "),v=d("a"),q=B("kit.svelte.dev"),y=B(" to learn SvelteKit"),this.h()},l(e){ce(s.$$.fragment,e),u=I(e),i=h(e,"MAIN",{class:!0});var _=c(i);r&&r.l(_),_.forEach(l),n=I(e),m=h(e,"FOOTER",{class:!0});var w=c(m);E=h(w,"P",{});var g=c(E);p=C(g,"visit "),v=h(g,"A",{href:!0,class:!0});var H=c(v);q=C(H,"kit.svelte.dev"),H.forEach(l),y=C(g," to learn SvelteKit"),g.forEach(l),w.forEach(l),this.h()},h(){t(i,"class","svelte-1izrdc8"),t(v,"href","https://kit.svelte.dev"),t(v,"class","svelte-1izrdc8"),t(m,"class","svelte-1izrdc8")},m(e,_){ne(s,e,_),D(e,u,_),D(e,i,_),r&&r.m(i,null),D(e,n,_),D(e,m,_),a(m,E),a(E,p),a(E,v),a(v,q),a(E,y),f=!0},p(e,[_]){r&&r.p&&(!f||_&1)&&ve(r,b,e,e[0],f?fe(b,e[0],_,null):ue(e[0]),null)},i(e){f||(ee(s.$$.fragment,e),ee(r,e),f=!0)},o(e){te(s.$$.fragment,e),te(r,e),f=!1},d(e){_e(s,e),e&&l(u),e&&l(i),r&&r.d(e),e&&l(n),e&&l(m)}}}function we(o,s,u){let{$$slots:i={},$$scope:n}=s;return o.$$set=m=>{"$$scope"in m&&u(0,n=m.$$scope)},[n,i]}class qe extends Q{constructor(s){super();W(this,s,we,Ee,X,{})}}export{qe as default};