import{S as de,i as he,s as fe,k as n,a as S,C as O,q as U,l as u,m as l,h as a,c as k,D as W,r as F,E as oe,n as e,b as pe,F as t,G as ce,H as _e,I as me,y as ge,z as Ee,A as $e,J as ze,K as be,L as Ae,g as ie,d as ve,B as Le}from"../chunks/index.f99e0c6c.js";import{p as we}from"../chunks/stores.909fefc9.js";const Ie=""+new URL("../assets/svelte-logo.87df40b8.svg",import.meta.url).href,ye=""+new URL("../assets/github.1ea8d62e.svg",import.meta.url).href;function He(m){let s,c,d,o,L,b,i,g,p,B,_,h,$,v,r,f,z,A,I,D,Z,y,M,j,N,J,H,K,P,R,C,G,T;return{c(){s=n("header"),c=n("div"),d=n("a"),o=n("img"),b=S(),i=n("nav"),g=O("svg"),p=O("path"),B=S(),_=n("ul"),h=n("li"),$=n("a"),v=U("Home"),f=S(),z=n("li"),A=n("a"),I=U("About"),Z=S(),y=n("li"),M=n("a"),j=U("Sverdle"),J=S(),H=O("svg"),K=O("path"),P=S(),R=n("div"),C=n("a"),G=n("img"),this.h()},l(w){s=u(w,"HEADER",{class:!0});var E=l(s);c=u(E,"DIV",{class:!0});var x=l(c);d=u(x,"A",{href:!0,class:!0});var Q=l(d);o=u(Q,"IMG",{src:!0,alt:!0,class:!0}),Q.forEach(a),x.forEach(a),b=k(E),i=u(E,"NAV",{class:!0});var V=l(i);g=W(V,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var X=l(g);p=W(X,"path",{d:!0,class:!0}),l(p).forEach(a),X.forEach(a),B=k(V),_=u(V,"UL",{class:!0});var q=l(_);h=u(q,"LI",{"aria-current":!0,class:!0});var Y=l(h);$=u(Y,"A",{href:!0,class:!0});var ee=l($);v=F(ee,"Home"),ee.forEach(a),Y.forEach(a),f=k(q),z=u(q,"LI",{"aria-current":!0,class:!0});var te=l(z);A=u(te,"A",{href:!0,class:!0});var se=l(A);I=F(se,"About"),se.forEach(a),te.forEach(a),Z=k(q),y=u(q,"LI",{"aria-current":!0,class:!0});var ae=l(y);M=u(ae,"A",{href:!0,class:!0});var re=l(M);j=F(re,"Sverdle"),re.forEach(a),ae.forEach(a),q.forEach(a),J=k(V),H=W(V,"svg",{viewBox:!0,"aria-hidden":!0,class:!0});var le=l(H);K=W(le,"path",{d:!0,class:!0}),l(K).forEach(a),le.forEach(a),V.forEach(a),P=k(E),R=u(E,"DIV",{class:!0});var ne=l(R);C=u(ne,"A",{href:!0,class:!0});var ue=l(C);G=u(ue,"IMG",{src:!0,alt:!0,class:!0}),ue.forEach(a),ne.forEach(a),E.forEach(a),this.h()},h(){oe(o.src,L=Ie)||e(o,"src",L),e(o,"alt","SvelteKit"),e(o,"class","svelte-1u9z1tp"),e(d,"href","https://kit.svelte.dev"),e(d,"class","svelte-1u9z1tp"),e(c,"class","corner svelte-1u9z1tp"),e(p,"d","M0,0 L1,2 C1.5,3 1.5,3 2,3 L2,0 Z"),e(p,"class","svelte-1u9z1tp"),e(g,"viewBox","0 0 2 3"),e(g,"aria-hidden","true"),e(g,"class","svelte-1u9z1tp"),e($,"href","/"),e($,"class","svelte-1u9z1tp"),e(h,"aria-current",r=m[0].url.pathname==="/"?"page":void 0),e(h,"class","svelte-1u9z1tp"),e(A,"href","/about"),e(A,"class","svelte-1u9z1tp"),e(z,"aria-current",D=m[0].url.pathname==="/about"?"page":void 0),e(z,"class","svelte-1u9z1tp"),e(M,"href","/sverdle"),e(M,"class","svelte-1u9z1tp"),e(y,"aria-current",N=m[0].url.pathname.startsWith("/sverdle")?"page":void 0),e(y,"class","svelte-1u9z1tp"),e(_,"class","svelte-1u9z1tp"),e(K,"d","M0,0 L0,3 C0.5,3 0.5,3 1,2 L2,0 Z"),e(K,"class","svelte-1u9z1tp"),e(H,"viewBox","0 0 2 3"),e(H,"aria-hidden","true"),e(H,"class","svelte-1u9z1tp"),e(i,"class","svelte-1u9z1tp"),oe(G.src,T=ye)||e(G,"src",T),e(G,"alt","GitHub"),e(G,"class","svelte-1u9z1tp"),e(C,"href","https://github.com/sveltejs/kit"),e(C,"class","svelte-1u9z1tp"),e(R,"class","corner svelte-1u9z1tp"),e(s,"class","svelte-1u9z1tp")},m(w,E){pe(w,s,E),t(s,c),t(c,d),t(d,o),t(s,b),t(s,i),t(i,g),t(g,p),t(i,B),t(i,_),t(_,h),t(h,$),t($,v),t(_,f),t(_,z),t(z,A),t(A,I),t(_,Z),t(_,y),t(y,M),t(M,j),t(i,J),t(i,H),t(H,K),t(s,P),t(s,R),t(R,C),t(C,G)},p(w,[E]){E&1&&r!==(r=w[0].url.pathname==="/"?"page":void 0)&&e(h,"aria-current",r),E&1&&D!==(D=w[0].url.pathname==="/about"?"page":void 0)&&e(z,"aria-current",D),E&1&&N!==(N=w[0].url.pathname.startsWith("/sverdle")?"page":void 0)&&e(y,"aria-current",N)},i:ce,o:ce,d(w){w&&a(s)}}}function Se(m,s,c){let d;return _e(m,we,o=>c(0,d=o)),[d]}class ke extends de{constructor(s){super(),he(this,s,Se,He,fe,{})}}function Be(m){let s,c,d,o,L,b,i,g,p,B,_,h;c=new ke({});const $=m[1].default,v=me($,m,m[0],null);return{c(){s=n("div"),ge(c.$$.fragment),d=S(),o=n("main"),v&&v.c(),L=S(),b=n("footer"),i=n("p"),g=U("visit "),p=n("a"),B=U("kit.svelte.dev"),_=U(" to learn SvelteKit"),this.h()},l(r){s=u(r,"DIV",{class:!0});var f=l(s);Ee(c.$$.fragment,f),d=k(f),o=u(f,"MAIN",{class:!0});var z=l(o);v&&v.l(z),z.forEach(a),L=k(f),b=u(f,"FOOTER",{class:!0});var A=l(b);i=u(A,"P",{});var I=l(i);g=F(I,"visit "),p=u(I,"A",{href:!0,class:!0});var D=l(p);B=F(D,"kit.svelte.dev"),D.forEach(a),_=F(I," to learn SvelteKit"),I.forEach(a),A.forEach(a),f.forEach(a),this.h()},h(){e(o,"class","svelte-8o1gnw"),e(p,"href","https://kit.svelte.dev"),e(p,"class","svelte-8o1gnw"),e(b,"class","svelte-8o1gnw"),e(s,"class","app svelte-8o1gnw")},m(r,f){pe(r,s,f),$e(c,s,null),t(s,d),t(s,o),v&&v.m(o,null),t(s,L),t(s,b),t(b,i),t(i,g),t(i,p),t(p,B),t(i,_),h=!0},p(r,[f]){v&&v.p&&(!h||f&1)&&ze(v,$,r,r[0],h?Ae($,r[0],f,null):be(r[0]),null)},i(r){h||(ie(c.$$.fragment,r),ie(v,r),h=!0)},o(r){ve(c.$$.fragment,r),ve(v,r),h=!1},d(r){r&&a(s),Le(c),v&&v.d(r)}}}function De(m,s,c){let{$$slots:d={},$$scope:o}=s;return m.$$set=L=>{"$$scope"in L&&c(0,o=L.$$scope)},[o,d]}class Ge extends de{constructor(s){super(),he(this,s,De,Be,fe,{})}}export{Ge as component};
