import{d as Q}from"../chunks/environment.9aa685ef.js";import{S as W,i as X,s as Z,k as l,a as y,q as r,M as ee,l as d,h as a,c as b,m as p,r as s,n as L,D as e,b as U,F as te,u as ne,E as V}from"../chunks/index.463cc238.js";const ae=Q,oe=!0,de=Object.freeze(Object.defineProperty({__proto__:null,csr:ae,prerender:oe},Symbol.toStringTag,{value:"Module"}));function re(w){let i,v,t,c,h,M,u,P,k,H,Y,g,$,x,m,B,_,O,j,q,E,D,G,T,J,K,R;return{c(){i=l("meta"),v=y(),t=l("div"),c=l("h1"),h=r("About this app"),M=y(),u=l("h1"),P=r("Your number is "),k=r(w[0]),H=r("!"),Y=y(),g=l("button"),$=r("Get a random number"),x=y(),m=l("p"),B=r("This is a "),_=l("a"),O=r("SvelteKit"),j=r(` app. You can make your
    own by typing the following into your command line and following the prompts:`),q=y(),E=l("pre"),D=r("npm create svelte@latest"),G=y(),T=l("p"),J=r(`The page you're looking at is purely static HTML, with no client-side
    interactivity needed. Because of that, we don't need to load any JavaScript.
    Try viewing the page's source, or opening the devtools network panel and
    reloading.`),this.h()},l(o){const f=ee("svelte-1tg1fb6",document.head);i=d(f,"META",{name:!0,content:!0}),f.forEach(a),v=b(o),t=d(o,"DIV",{});var n=p(t);c=d(n,"H1",{});var z=p(c);h=s(z,"About this app"),z.forEach(a),M=b(n),u=d(n,"H1",{});var S=p(u);P=s(S,"Your number is "),k=s(S,w[0]),H=s(S,"!"),S.forEach(a),Y=b(n),g=d(n,"BUTTON",{});var C=p(g);$=s(C,"Get a random number"),C.forEach(a),x=b(n),m=d(n,"P",{});var A=p(m);B=s(A,"This is a "),_=d(A,"A",{href:!0});var F=p(_);O=s(F,"SvelteKit"),F.forEach(a),j=s(A,` app. You can make your
    own by typing the following into your command line and following the prompts:`),A.forEach(a),q=b(n),E=d(n,"PRE",{});var I=p(E);D=s(I,"npm create svelte@latest"),I.forEach(a),G=b(n),T=d(n,"P",{});var N=p(T);J=s(N,`The page you're looking at is purely static HTML, with no client-side
    interactivity needed. Because of that, we don't need to load any JavaScript.
    Try viewing the page's source, or opening the devtools network panel and
    reloading.`),N.forEach(a),n.forEach(a),this.h()},h(){document.title="About",L(i,"name","description"),L(i,"content","About this app"),L(_,"href","https://kit.svelte.dev")},m(o,f){e(document.head,i),U(o,v,f),U(o,t,f),e(t,c),e(c,h),e(t,M),e(t,u),e(u,P),e(u,k),e(u,H),e(t,Y),e(t,g),e(g,$),e(t,x),e(t,m),e(m,B),e(m,_),e(_,O),e(m,j),e(t,q),e(t,E),e(E,D),e(t,G),e(t,T),e(T,J),K||(R=te(g,"click",w[1]),K=!0)},p(o,[f]){f&1&&ne(k,o[0])},i:V,o:V,d(o){a(i),o&&a(v),o&&a(t),K=!1,R()}}}function se(w,i,v){let t=-1;console.log("hthth");function c(){fetch("./api/rand").then(h=>h.text()).then(h=>v(0,t=h))}return[t,c]}class pe extends W{constructor(i){super(),X(this,i,se,re,Z,{})}}export{pe as component,de as universal};
