text: var fe=Object.create,tt=Object.defineProperty,pe=Object.getPrototypeOf,de=Object.prototype.hasOwnProperty,me=Object.getOwnPropertyNames,he=Object.getOwnPropertyDescriptor;var St=t=>tt(t,"__esModule",{value:!0});var _e=(t,e)=>()=>(e||(e={exports:{}},t(e.exports,e)),e.exports),zt=(t,e)=>{for(var n in e)tt(t,n,{get:e[n],enumerable:!0})},ge=(t,e,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of me(e))!de.call(t,s)&&s!=="default"&&tt(t,s,{get:()=>e[s],enumerable:!(n=he(e,s))||n.enumerable});return t},we=t=>t&&t.__esModule?t:ge(St(tt(t!=null?fe(pe(t)):{},"default",{value:t,enumerable:!0})),t);var ce=_e(Xe=>{St(Xe);zt(Xe,{default:()=>Je});function Ge(t){let e,n,s,r,l;return{c(){e=b("h2"),e.textContent="Not found",n=z(),s=b("button"),s.textContent="Go home"},m(a,o){x(a,e,o),x(a,n,o),x(a,s,o),r||(l=V(s,"click",t[0]),r=!0)},p:m,i:m,o:m,d(a){a&&k(e),a&&k(n),a&&k(s),r=!1,l()}}}function Ue(t){return[()=>At("#/")]}var ae=class extends A{constructor(e){super();S(this,e,Ue,Ge,$,{})}},Je=ae});var mt={};zt(mt,{MODE:()=>ye,NODE_ENV:()=>be,SSR:()=>ve});var ye="production",be="production",ve=!1;function m(){}var ht=t=>t;function _t(t,e){for(let n in e)t[n]=e[n];return t}function qt(t){return t()}function Nt(){return Object.create(null)}function F(t){t.forEach(qt)}function U(t){return typeof t=="function"}function $(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function ke(t){return Object.keys(t).length===0}function Ot(t,...e){if(t==null)return m;let n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function gt(t){return t&&U(t.destroy)?t.destroy:m}var Lt=typeof window!="undefined",je=Lt?()=>window.performance.now():()=>Date.now(),wt=Lt?t=>requestAnimationFrame(t):m,Y=new Set;function Rt(t){Y.forEach(e=>{e.c(t)||(Y.delete(e),e.f())}),Y.size!==0&&wt(Rt)}function xe(t){let e;return Y.size===0&&wt(Rt),{promise:new Promise(n=>{Y.add(e={c:t,f:n})}),abort(){Y.delete(e)}}}function w(t,e){t.appendChild(e)}function x(t,e,n){t.insertBefore(e,n||null)}function k(t){t.parentNode.removeChild(t)}function b(t){return document.createElement(t)}function J(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function H(t){return document.createTextNode(t)}function z(){return H(" ")}function et(){return H("")}function V(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function d(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Ee(t){return Array.from(t.childNodes)}function nt(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function M(t,e,n){t.classList[n?"add":"remove"](e)}function Pt(t,e){let n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!1,!1,e),n}var yt=new Set,st=0;function Ce(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function $e(t,e,n,s,r,l,a,o=0){let i=16.666/s,c=`{
  `;for(let C=0;C<=1;C+=i){let P=e+(n-e)*l(C);c+=C*100+`%{${a(P,1-P)}}
  `}let p=c+`100% {${a(n,1-n)}}
  }`,h=`__svelte_${Ce(p)}_${o}`,_=t.ownerDocument;yt.add(_);let y=_.__svelte_stylesheet||(_.__svelte_stylesheet=_.head.appendChild(b("style")).sheet),v=_.__svelte_rules||(_.__svelte_rules={});v[h]||(v[h]=!0,y.insertRule(`@keyframes ${h} ${p}`,y.cssRules.length));let j=t.style.animation||"";return t.style.animation=`${j?`${j}, `:""}${h} ${s}ms linear ${r}ms 1 both`,st+=1,h}function Dt(t,e){let n=(t.style.animation||"").split(", "),s=n.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),r=n.length-s.length;r&&(t.style.animation=s.join(", "),st-=r,st||Ae())}function Ae(){wt(()=>{st||(yt.forEach(t=>{let e=t.__svelte_stylesheet,n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.__svelte_rules={}}),yt.clear())})}var ot;function rt(t){ot=t}function It(){if(!ot)throw new Error("Function called outside component initialization");return ot}function Bt(t){It().$$.after_update.push(t)}function Ht(){let t=It();return(e,n)=>{let s=t.$$.callbacks[e];if(s){let r=Pt(e,n);s.slice().forEach(l=>{l.call(t,r)})}}}function bt(t,e){let n=t.$$.callbacks[e.type];n&&n.slice().forEach(s=>s(e))}var K=[],Ft=[],it=[],Tt=[],Wt=Promise.resolve(),vt=!1;function Mt(){vt||(vt=!0,Wt.then(Yt))}function kt(){return Mt(),Wt}function D(t){it.push(t)}var jt=!1,xt=new Set;function Yt(){if(!jt){jt=!0;do{for(let t=0;t<K.length;t+=1){let e=K[t];rt(e),Se(e.$$)}for(rt(null),K.length=0;Ft.length;)Ft.pop()();for(let t=0;t<it.length;t+=1){let e=it[t];xt.has(e)||(xt.add(e),e())}it.length=0}while(K.length);for(;Tt.length;)Tt.pop()();vt=!1,jt=!1,xt.clear()}}function Se(t){if(t.fragment!==null){t.update(),F(t.before_update);let e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(D)}}var Q;function ze(){return Q||(Q=Promise.resolve(),Q.then(()=>{Q=null})),Q}function Xt(t,e,n){t.dispatchEvent(Pt(`${e?"intro":"outro"}${n}`))}var at=new Set,T;function ct(){T={r:0,c:[],p:T}}function lt(){T.r||F(T.c),T=T.p}function q(t,e){t&&t.i&&(at.delete(t),t.i(e))}function O(t,e,n,s){if(t&&t.o){if(at.has(t))return;at.add(t),T.c.push(()=>{at.delete(t),s&&(n&&t.d(1),s())}),t.o(e)}}var qe={duration:0};function Z(t,e,n){let s=e(t,n),r=!1,l,a,o=0;function i(){l&&Dt(t,l)}function c(){let{delay:h=0,duration:_=300,easing:y=ht,tick:v=m,css:j}=s||qe;j&&(l=$e(t,0,1,_,h,y,j,o++)),v(0,1);let C=je()+h,P=C+_;a&&a.abort(),r=!0,D(()=>Xt(t,!0,"start")),a=xe(u=>{if(r){if(u>=P)return v(1,0),Xt(t,!0,"end"),i(),r=!1;if(u>=C){let f=y((u-C)/_);v(f,1-f)}}return r})}let p=!1;return{start(){p||(Dt(t),U(s)?(s=s(),ze().then(c)):c())},invalidate(){p=!1},end(){r&&(i(),r=!1)}}}function Et(t,e){let n={},s={},r={$$scope:1},l=t.length;for(;l--;){let a=t[l],o=e[l];if(o){for(let i in a)i in o||(s[i]=1);for(let i in o)r[i]||(n[i]=o[i],r[i]=1);t[l]=o}else for(let i in a)r[i]=1}for(let a in s)a in n||(n[a]=void 0);return n}function Ct(t){return typeof t=="object"&&t!==null?t:{}}function I(t){t&&t.c()}function L(t,e,n){let{fragment:s,on_mount:r,on_destroy:l,after_update:a}=t.$$;s&&s.m(e,n),D(()=>{let o=r.map(qt).filter(U);l?l.push(...o):F(o),t.$$.on_mount=[]}),a.forEach(D)}function R(t,e){let n=t.$$;n.fragment!==null&&(F(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Ne(t,e){t.$$.dirty[0]===-1&&(K.push(t),Mt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function S(t,e,n,s,r,l,a=[-1]){let o=ot;rt(t);let i=e.props||{},c=t.$$={fragment:null,ctx:null,props:l,update:m,not_equal:r,bound:Nt(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(o?o.$$.context:[]),callbacks:Nt(),dirty:a,skip_bound:!1},p=!1;if(c.ctx=n?n(t,i,(h,_,...y)=>{let v=y.length?y[0]:_;return c.ctx&&r(c.ctx[h],c.ctx[h]=v)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](v),p&&Ne(t,h)),_}):[],c.update(),p=!0,F(c.before_update),c.fragment=s?s(c.ctx):!1,e.target){if(e.hydrate){let h=Ee(e.target);c.fragment&&c.fragment.l(h),h.forEach(k)}else c.fragment&&c.fragment.c();e.intro&&q(t.$$.fragment),L(t,e.target,e.anchor),Yt()}rt(o)}var A=class{$destroy(){R(this,1),this.$destroy=m}$on(e,n){let s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{let r=s.indexOf(n);r!==-1&&s.splice(r,1)}}$set(e){this.$$set&&!ke(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}};function ut(t){if(!t)throw Error("Parameter args is required");if(!t.component==!t.asyncComponent)throw Error("One and only one of component and asyncComponent is required");if(t.component&&(t.asyncComponent=()=>Promise.resolve(t.component)),typeof t.asyncComponent!="function")throw Error("Parameter asyncComponent must be a function");if(t.conditions){Array.isArray(t.conditions)||(t.conditions=[t.conditions]);for(let n=0;n<t.conditions.length;n++)if(!t.conditions[n]||typeof t.conditions[n]!="function")throw Error("Invalid parameter conditions["+n+"]")}return t.loadingComponent&&(t.asyncComponent.loading=t.loadingComponent,t.asyncComponent.loadingParams=t.loadingParams||void 0),{component:t.asyncComponent,userData:t.userData,conditions:t.conditions&&t.conditions.length?t.conditions:void 0,props:t.props&&Object.keys(t.props).length?t.props:{},_sveltesparouter:!0}}var X=[];function Gt(t,e){return{subscribe:Oe(t,e).subscribe}}function Oe(t,e=m){let n,s=[];function r(o){if($(t,o)&&(t=o,n)){let i=!X.length;for(let c=0;c<s.length;c+=1){let p=s[c];p[1](),X.push(p,t)}if(i){for(let c=0;c<X.length;c+=2)X[c][0](X[c+1]);X.length=0}}}function l(o){r(o(t))}function a(o,i=m){let c=[o,i];return s.push(c),s.length===1&&(n=e(r)||m),o(t),()=>{let p=s.indexOf(c);p!==-1&&s.splice(p,1),s.length===0&&(n(),n=null)}}return{set:r,update:l,subscribe:a}}function Ut(t,e,n){let s=!Array.isArray(t),r=s?[t]:t,l=e.length<2;return Gt(n,a=>{let o=!1,i=[],c=0,p=m,h=()=>{if(c)return;p();let y=e(s?i[0]:i,a);l?a(y):p=U(y)?y:m},_=r.map((y,v)=>Ot(y,j=>{i[v]=j,c&=~(1<<v),o&&h()},()=>{c|=1<<v}));return o=!0,h(),function(){F(_),p()}})}function $t(t,e){if(t instanceof RegExp)return{keys:!1,pattern:t};var n,s,r,l,a=[],o="",i=t.split("/");for(i[0]||i.shift();r=i.shift();)n=r[0],n==="*"?(a.push("wild"),o+="/(.*)"):n===":"?(s=r.indexOf("?",1),l=r.indexOf(".",1),a.push(r.substring(1,~s?s:~l?l:r.length)),o+=!!~s&&!~l?"(?:/([^/]+?))?":"/([^/]+?)",~l&&(o+=(~s?"?":"")+"\\"+r.substring(l))):o+="/"+r;return{keys:a,pattern:new RegExp("^"+o+(e?"(?=$|/)":"/?$"),"i")}}function Le(t){let e,n,s,r=[t[2]];var l=t[0];function a(o){let i={};for(let c=0;c<r.length;c+=1)i=_t(i,r[c]);return{props:i}}return l&&(e=new l(a()),e.$on("routeEvent",t[7])),{c(){e&&I(e.$$.fragment),n=et()},m(o,i){e&&L(e,o,i),x(o,n,i),s=!0},p(o,i){let c=i&4?Et(r,[Ct(o[2])]):{};if(l!==(l=o[0])){if(e){ct();let p=e;O(p.$$.fragment,1,0,()=>{R(p,1)}),lt()}l?(e=new l(a()),e.$on("routeEvent",o[7]),I(e.$$.fragment),q(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else l&&e.$set(c)},i(o){s||(e&&q(e.$$.fragment,o),s=!0)},o(o){e&&O(e.$$.fragment,o),s=!1},d(o){o&&k(n),e&&R(e,o)}}}function Re(t){let e,n,s,r=[{params:t[1]},t[2]];var l=t[0];function a(o){let i={};for(let c=0;c<r.length;c+=1)i=_t(i,r[c]);return{props:i}}return l&&(e=new l(a()),e.$on("routeEvent",t[6])),{c(){e&&I(e.$$.fragment),n=et()},m(o,i){e&&L(e,o,i),x(o,n,i),s=!0},p(o,i){let c=i&6?Et(r,[i&2&&{params:o[1]},i&4&&Ct(o[2])]):{};if(l!==(l=o[0])){if(e){ct();let p=e;O(p.$$.fragment,1,0,()=>{R(p,1)}),lt()}l?(e=new l(a()),e.$on("routeEvent",o[6]),I(e.$$.fragment),q(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else l&&e.$set(c)},i(o){s||(e&&q(e.$$.fragment,o),s=!0)},o(o){e&&O(e.$$.fragment,o),s=!1},d(o){o&&k(n),e&&R(e,o)}}}function Pe(t){let e,n,s,r,l=[Re,Le],a=[];function o(i,c){return i[1]?0:1}return e=o(t),n=a[e]=l[e](t),{c(){n.c(),s=et()},m(i,c){a[e].m(i,c),x(i,s,c),r=!0},p(i,[c]){let p=e;e=o(i),e===p?a[e].p(i,c):(ct(),O(a[p],1,1,()=>{a[p]=null}),lt(),n=a[e],n?n.p(i,c):(n=a[e]=l[e](i),n.c()),q(n,1),n.m(s.parentNode,s))},i(i){r||(q(n),r=!0)},o(i){O(n),r=!1},d(i){a[e].d(i),i&&k(s)}}}function Jt(){let t=window.location.href.indexOf("#/"),e=t>-1?window.location.href.substr(t+1):"/",n=e.indexOf("?"),s="";return n>-1&&(s=e.substr(n+1),e=e.substr(0,n)),{location:e,querystring:s}}var G=Gt(null,function(e){e(Jt());let n=()=>{e(Jt())};return window.addEventListener("hashchange",n,!1),function(){window.removeEventListener("hashchange",n,!1)}}),De=Ut(G,t=>t.location),Ie=Ut(G,t=>t.querystring);async function At(t){if(!t||t.length<1||t.charAt(0)!="/"&&t.indexOf("#/")!==0)throw Error("Invalid parameter location");await kt(),history.replaceState({scrollX:window.scrollX,scrollY:window.scrollY},void 0,void 0),window.location.hash=(t.charAt(0)=="#"?"":"#")+t}function Be(t,e,n){let{routes:s={}}=e,{prefix:r=""}=e,{restoreScrollState:l=!1}=e;class a{constructor(f,g){if(!g||typeof g!="function"&&(typeof g!="object"||g._sveltesparouter!==!0))throw Error("Invalid component object");if(!f||typeof f=="string"&&(f.length<1||f.charAt(0)!="/"&&f.charAt(0)!="*")||typeof f=="object"&&!(f instanceof RegExp))throw Error('Invalid value for "path" argument - strings must start with / or *');let{pattern:N,keys:E}=$t(f);this.path=f,typeof g=="object"&&g._sveltesparouter===!0?(this.component=g.component,this.conditions=g.conditions||[],this.userData=g.userData,this.props=g.props||{}):(this.component=()=>Promise.resolve(g),this.conditions=[],this.props={}),this._pattern=N,this._keys=E}match(f){if(r){if(typeof r=="string")if(f.startsWith(r))f=f.substr(r.length)||"/";else return null;else if(r instanceof RegExp){let B=f.match(r);if(B&&B[0])f=f.substr(B[0].length)||"/";else return null}}let g=this._pattern.exec(f);if(g===null)return null;if(this._keys===!1)return g;let N={},E=0;for(;E<this._keys.length;){try{N[this._keys[E]]=decodeURIComponent(g[E+1]||"")||null}catch(B){N[this._keys[E]]=null}E++}return N}async checkConditions(f){for(let g=0;g<this.conditions.length;g++)if(!await this.conditions[g](f))return!1;return!0}}let o=[];s instanceof Map?s.forEach((u,f)=>{o.push(new a(f,u))}):Object.keys(s).forEach(u=>{o.push(new a(u,s[u]))});let i=null,c=null,p={},h=Ht();async function _(u,f){await kt(),h(u,f)}let y=null;l&&(window.addEventListener("popstate",u=>{u.state&&u.state.scrollY?y=u.state:y=null}),Bt(()=>{y?window.scrollTo(y.scrollX,y.scrollY):window.scrollTo(0,0)}));let v=null,j=null;G.subscribe(async u=>{v=u;let f=0;for(;f<o.length;){let g=o[f].match(u.location);if(!g){f++;continue}let N={route:o[f].path,location:u.location,querystring:u.querystring,userData:o[f].userData};if(!await o[f].checkConditions(N)){n(0,i=null),j=null,_("conditionsFailed",N);return}_("routeLoading",Object.assign({},N));let E=o[f].component;if(j!=E){E.loading?(n(0,i=E.loading),j=E,n(1,c=E.loadingParams),n(2,p={}),_("routeLoaded",Object.assign({},N,{component:i,name:i.name}))):(n(0,i=null),j=null);let B=await E();if(u!=v)return;n(0,i=B&&B.default||B),j=E}g&&typeof g=="object"&&Object.keys(g).length?n(1,c=g):n(1,c=null),n(2,p=o[f].props),_("routeLoaded",Object.assign({},N,{component:i,name:i.name}));return}n(0,i=null),j=null});function C(u){bt(t,u)}function P(u){bt(t,u)}return t.$$set=u=>{"routes"in u&&n(3,s=u.routes),"prefix"in u&&n(4,r=u.prefix),"restoreScrollState"in u&&n(5,l=u.restoreScrollState)},t.$$.update=()=>{t.$$.dirty&32&&(history.scrollRestoration=l?"manual":"auto")},[i,c,p,s,r,l,C,P]}var ft=class extends A{constructor(e){super();S(this,e,Be,Pe,$,{routes:3,prefix:4,restoreScrollState:5})}};var pt=[],Vt;function Qt(t){let e=t.pattern.test(Vt);Kt(t,t.className,e),Kt(t,t.inactiveClassName,!e)}function Kt(t,e,n){(e||"").split(" ").forEach(s=>{!s||(t.node.classList.remove(s),n&&t.node.classList.add(s))})}G.subscribe(t=>{Vt=t.location+(t.querystring?"?"+t.querystring:""),pt.map(Qt)});function He(t,e){if(e&&(typeof e=="string"||typeof e=="object"&&e instanceof RegExp)?e={path:e}:e=e||{},!e.path&&t.hasAttribute("href")&&(e.path=t.getAttribute("href"),e.path&&e.path.length>1&&e.path.charAt(0)=="#"&&(e.path=e.path.substring(1))),e.className||(e.className="active"),!e.path||typeof e.path=="string"&&(e.path.length<1||e.path.charAt(0)!="/"&&e.path.charAt(0)!="*"))throw Error('Invalid value for "path" argument');let{pattern:n}=typeof e.path=="string"?$t(e.path):{pattern:e.path},s={node:t,className:e.className,inactiveClassName:e.inactiveClassName,pattern:n};return pt.push(s),Qt(s),{destroy(){pt.splice(pt.indexOf(s),1)}}}var Zt=He;function Fe(t){let e,n,s,r,l,a,o;return{c(){e=b("nav"),n=b("span"),n.textContent="epic template",s=z(),r=b("a"),r.textContent="Home",d(n,"class","svelte-oordwt"),d(r,"href","#/"),d(r,"class","svelte-oordwt"),d(e,"class","svelte-oordwt")},m(i,c){x(i,e,c),w(e,n),w(e,s),w(e,r),a||(o=gt(l=Zt.call(null,r)),a=!0)},p:m,i:m,o:m,d(i){i&&k(e),a=!1,o()}}}var te=class extends A{constructor(e){super();S(this,e,null,Fe,$,{})}},ee=te;function dt(t,{delay:e=0,duration:n=400,easing:s=ht}){let r=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:s,css:l=>`opacity: ${l*r}`}}function Te(t){let e,n,s,r,l,a,o;return{c(){e=b("div"),n=b("div"),s=b("div"),r=J("svg"),l=J("path"),a=J("path"),d(l,"class","spinner-track svelte-sz1zjz"),d(l,"d",t[4]),d(a,"class","spinner-head svelte-sz1zjz"),d(a,"d",t[4]),d(a,"pathLength","280"),d(a,"stroke-dasharray","280 280"),d(a,"stroke-dashoffset","210"),d(r,"class","spinner-svg svelte-sz1zjz"),d(r,"width",t[2]),d(r,"height",t[2]),d(r,"stroke-width",t[3]),d(r,"viewBox",t[5]),d(s,"class","spinner-animation svelte-sz1zjz"),M(s,"slow",t[1]),d(n,"class","spinner svelte-sz1zjz"),d(e,"class","loading-wrapper svelte-sz1zjz"),M(e,"inline",t[0])},m(i,c){x(i,e,c),w(e,n),w(n,s),w(s,r),w(r,l),w(r,a)},p(i,[c]){c&16&&d(l,"d",i[4]),c&16&&d(a,"d",i[4]),c&4&&d(r,"width",i[2]),c&4&&d(r,"height",i[2]),c&8&&d(r,"stroke-width",i[3]),c&32&&d(r,"viewBox",i[5]),c&2&&M(s,"slow",i[1]),c&1&&M(e,"inline",i[0])},i(i){o||D(()=>{o=Z(e,dt,{duration:100}),o.start()})},o:m,d(i){i&&k(e)}}}var W=5,ne=1;function We(t,e,n){let s,r,{inline:l=!1}=e,{slow:a=!1}=e,{size:o=50}=e,{strokeWidth:i=8}=e;return t.$$set=c=>{"inline"in c&&n(0,l=c.inline),"slow"in c&&n(1,a=c.slow),"size"in c&&n(2,o=c.size),"strokeWidth"in c&&n(3,i=c.strokeWidth)},t.$$.update=()=>{if(t.$$.dirty&4){t:n(4,s=`M ${o},${o} m 0,-${o-W} a ${o-W},${o-W} 0 1 1 0,${o*2-W*2} a ${o-W},${o-W} 0 1 1 0,-${o*2-W*2}`)}if(t.$$.dirty&4){t:n(5,r=`1.00 1.00 ${o*2-ne*2} ${o*2-ne*2}`)}},[l,a,o,i,s,r]}var se=class extends A{constructor(e){super();S(this,e,We,Te,$,{inline:0,slow:1,size:2,strokeWidth:3})}},oe=se;function Ye(t){let e,n,s,r,l,a,o,i,c,p,h,_,y,v,j,C,P;return{c(){e=b("div"),n=b("h1"),n.textContent="i am svelt",s=z(),r=b("h2"),r.textContent="fear me react stans",l=z(),a=b("button"),a.textContent="buton",o=z(),i=b("p"),c=H("buton pres: "),p=H(t[1]),h=z(),_=b("p"),y=H("elapse time: "),v=H(t[0]),d(a,"class","svelte-54ljzi"),d(e,"class","svelte-54ljzi")},m(u,f){x(u,e,f),w(e,n),w(e,s),w(e,r),w(e,l),w(e,a),w(e,o),w(e,i),w(i,c),w(i,p),w(e,h),w(e,_),w(_,y),w(_,v),C||(P=V(a,"click",t[2]),C=!0)},p(u,[f]){f&2&&nt(p,u[1]),f&1&&nt(v,u[0])},i(u){j||D(()=>{j=Z(e,dt,{duration:100}),j.start()})},o:m,d(u){u&&k(e),C=!1,P()}}}function Me(t,e,n){let s=0,r=0;return setInterval(()=>n(0,s++,s),1e3),[s,r,()=>n(1,r++,r)]}var re=class extends A{constructor(e){super();S(this,e,Me,Ye,$,{})}},ie=re;function Ve(t){let e,n,s,r,l;return e=new ee({}),r=new ft({props:{routes:t[0]}}),{c(){I(e.$$.fragment),n=z(),s=b("main"),I(r.$$.fragment)},m(a,o){L(e,a,o),x(a,n,o),x(a,s,o),L(r,s,null),l=!0},p:m,i(a){l||(q(e.$$.fragment,a),q(r.$$.fragment,a),l=!0)},o(a){O(e.$$.fragment,a),O(r.$$.fragment,a),l=!1},d(a){R(e,a),a&&k(n),a&&k(s),R(r)}}}function Ke(t){return[{"/":ie,"*":ut({asyncComponent:()=>Promise.resolve().then(()=>we(ce())),loadingComponent:oe})}]}var le=class extends A{constructor(e){super();S(this,e,Ke,Ve,$,{})}},ue=le;var Qe={};Qe.env=mt;var Ze=new ue({target:document.body}),tn=Ze;export{tn as default};
  