From 0ee8f8b655009a282b688fa2cd8ee1bb38f0082f Mon Sep 17 00:00:00 2001 From: Max Richter Date: Mon, 6 Oct 2025 00:09:51 +0200 Subject: [PATCH] feat: update playground paths --- playground/src/routes/+layout.svelte | 3 +-- .../_app/immutable/chunks/B1lAeocp.js | 2 ++ .../chunks/{B-U_immA.js => B342IurK.js} | 4 +-- .../_app/immutable/chunks/BXzq9L9X.js | 3 +++ .../_app/immutable/chunks/DM3e16Yp.js | 1 - .../_app/immutable/chunks/DyoUZ9Ht.js | 1 + .../_app/immutable/chunks/FG3YJaZx.js | 2 -- .../chunks/{DPMvo626.js => bc36GTfJ.js} | 2 +- .../_app/immutable/chunks/dxIvkWjk.js | 3 --- .../_app/immutable/chunks/hQn2QWYg.js | 1 - .../chunks/{C2MkeDuv.js => kadZwC1X.js} | 2 +- .../{app.CDYShOyR.js => app.CljZrWk8.js} | 4 +-- .../_app/immutable/entry/start.Ctfk1ssR.js | 1 - .../_app/immutable/entry/start.EQIbokgB.js | 1 + .../_app/immutable/nodes/0.BnitFm9e.js | 1 - .../_app/immutable/nodes/0.zsYIuDcs.js | 1 + .../_app/immutable/nodes/1.DOigNuzF.js | 1 - .../_app/immutable/nodes/1.DeB82DVy.js | 1 + .../nodes/{2.C02anazN.js => 2.D7UzWOC6.js} | 2 +- server/playground/_app/version.json | 2 +- server/playground/index.html | 27 +++++++++---------- 21 files changed, 31 insertions(+), 34 deletions(-) create mode 100644 server/playground/_app/immutable/chunks/B1lAeocp.js rename server/playground/_app/immutable/chunks/{B-U_immA.js => B342IurK.js} (65%) create mode 100644 server/playground/_app/immutable/chunks/BXzq9L9X.js delete mode 100644 server/playground/_app/immutable/chunks/DM3e16Yp.js create mode 100644 server/playground/_app/immutable/chunks/DyoUZ9Ht.js delete mode 100644 server/playground/_app/immutable/chunks/FG3YJaZx.js rename server/playground/_app/immutable/chunks/{DPMvo626.js => bc36GTfJ.js} (95%) delete mode 100644 server/playground/_app/immutable/chunks/dxIvkWjk.js delete mode 100644 server/playground/_app/immutable/chunks/hQn2QWYg.js rename server/playground/_app/immutable/chunks/{C2MkeDuv.js => kadZwC1X.js} (87%) rename server/playground/_app/immutable/entry/{app.CDYShOyR.js => app.CljZrWk8.js} (51%) delete mode 100644 server/playground/_app/immutable/entry/start.Ctfk1ssR.js create mode 100644 server/playground/_app/immutable/entry/start.EQIbokgB.js delete mode 100644 server/playground/_app/immutable/nodes/0.BnitFm9e.js create mode 100644 server/playground/_app/immutable/nodes/0.zsYIuDcs.js delete mode 100644 server/playground/_app/immutable/nodes/1.DOigNuzF.js create mode 100644 server/playground/_app/immutable/nodes/1.DeB82DVy.js rename server/playground/_app/immutable/nodes/{2.C02anazN.js => 2.D7UzWOC6.js} (99%) diff --git a/playground/src/routes/+layout.svelte b/playground/src/routes/+layout.svelte index b45f3d4..d68cf87 100644 --- a/playground/src/routes/+layout.svelte +++ b/playground/src/routes/+layout.svelte @@ -1,5 +1,4 @@ + {@render children?.()} diff --git a/server/playground/_app/immutable/chunks/B1lAeocp.js b/server/playground/_app/immutable/chunks/B1lAeocp.js new file mode 100644 index 0000000..70e7d9c --- /dev/null +++ b/server/playground/_app/immutable/chunks/B1lAeocp.js @@ -0,0 +1,2 @@ +import{af as X,g as $,Z as j,Q as Z,b as y,ag as I,R as U,O as p,A as g,ah as ee,Y as R,z as te,B as se,ai as q,H as ne,J as d,aj as C,N as D,a6 as L,ak as E,al as P,am as ie,an as S,c as f,ao as ae,ap as N,F as x,n as re,D as oe,aq as z,ar as le,E as ue,as as fe,at as ce,au as V,av as he,aw as k,ax as _e,ay as de,az as O,G as w,aA as pe,aB as ge,aC as be,aD as ve,aE as B,aF as ye,aG as T,aH as me,I as Ee,aI as we,p as Te,aJ as Re,aK as Ae,aL as Se,q as xe,m as A,aM as Ce,aN as m,a as De,aO as Ne,aP as ke,aQ as W,a8 as Oe,aR as Fe,aS as qe,aT as Me,aU as Ye,aV as He,aW as Ie,aX as Le,aY as Pe}from"./bc36GTfJ.js";function ze(t){let e=0,s=j(0),n;return()=>{X()&&($(s),Z(()=>(e===0&&(n=y(()=>t(()=>I(s)))),e+=1,()=>{U(()=>{e-=1,e===0&&(n?.(),n=void 0,I(s))})})))}}var Be=ue|fe|ce;function $e(t,e,s){new je(t,e,s)}class je{parent;#n=!1;#t;#p=g?p:null;#i;#f;#a;#s=null;#e=null;#r=null;#o=null;#c=0;#l=0;#h=!1;#u=null;#b=()=>{this.#u&&ee(this.#u,this.#c)};#v=ze(()=>(this.#u=j(this.#c),()=>{this.#u=null}));constructor(e,s,n){this.#t=e,this.#i=s,this.#f=n,this.parent=R.b,this.#n=!!this.#i.pending,this.#a=te(()=>{if(R.b=this,g){const i=this.#p;se(),i.nodeType===q&&i.data===ne?this.#m():this.#y()}else{try{this.#s=d(()=>n(this.#t))}catch(i){this.error(i)}this.#l>0?this.#d():this.#n=!1}},Be),g&&(this.#t=p)}#y(){try{this.#s=d(()=>this.#f(this.#t))}catch(e){this.error(e)}this.#n=!1}#m(){const e=this.#i.pending;e&&(this.#e=d(()=>e(this.#t)),C.enqueue(()=>{this.#s=this.#_(()=>(C.ensure(),d(()=>this.#f(this.#t)))),this.#l>0?this.#d():(D(this.#e,()=>{this.#e=null}),this.#n=!1)}))}is_pending(){return this.#n||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#_(e){var s=R,n=S,i=f;L(this.#a),E(this.#a),P(this.#a.ctx);try{return e()}catch(a){return ie(a),null}finally{L(s),E(n),P(i)}}#d(){const e=this.#i.pending;this.#s!==null&&(this.#o=document.createDocumentFragment(),Ue(this.#s,this.#o)),this.#e===null&&(this.#e=d(()=>e(this.#t)))}#g(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(e);return}this.#l+=e,this.#l===0&&(this.#n=!1,this.#e&&D(this.#e,()=>{this.#e=null}),this.#o&&(this.#t.before(this.#o),this.#o=null))}update_pending_count(e){this.#g(e),this.#c+=e,ae.add(this.#b)}get_effect_pending(){return this.#v(),$(this.#u)}error(e){var s=this.#i.onerror;let n=this.#i.failed;if(this.#h||!s&&!n)throw e;this.#s&&(N(this.#s),this.#s=null),this.#e&&(N(this.#e),this.#e=null),this.#r&&(N(this.#r),this.#r=null),g&&(x(this.#p),re(),x(oe()));var i=!1,a=!1;const o=()=>{if(i){he();return}i=!0,a&&le(),C.ensure(),this.#c=0,this.#r!==null&&D(this.#r,()=>{this.#r=null}),this.#n=this.has_pending_snippet(),this.#s=this.#_(()=>(this.#h=!1,d(()=>this.#f(this.#t)))),this.#l>0?this.#d():this.#n=!1};var r=S;try{E(null),a=!0,s?.(e,o),a=!1}catch(h){z(h,this.#a&&this.#a.parent)}finally{E(r)}n&&U(()=>{this.#r=this.#_(()=>{this.#h=!0;try{return d(()=>{n(this.#t,()=>e,()=>o)})}catch(h){return z(h,this.#a.parent),null}finally{this.#h=!1}})})}}function Ue(t,e){for(var s=t.nodes_start,n=t.nodes_end;s!==null;){var i=s===n?null:V(s);e.append(s),s=i}}function nt(t,e){var s=e==null?"":typeof e=="object"?e+"":e;s!==(t.__t??=t.nodeValue)&&(t.__t=s,t.nodeValue=s+"")}function G(t,e){return J(t,e)}function Ve(t,e){k(),e.intro=e.intro??!1;const s=e.target,n=g,i=p;try{for(var a=_e(s);a&&(a.nodeType!==q||a.data!==de);)a=V(a);if(!a)throw O;w(!0),x(a);const o=J(t,{...e,anchor:a});return w(!1),o}catch(o){if(o instanceof Error&&o.message.split(` +`).some(r=>r.startsWith("https://svelte.dev/e/")))throw o;return o!==O&&console.warn("Failed to hydrate: ",o),e.recover===!1&&pe(),k(),ge(s),w(!1),G(t,e)}finally{w(n),x(i),we()}}const b=new Map;function J(t,{target:e,anchor:s,props:n={},events:i,context:a,intro:o=!0}){k();var r=new Set,h=_=>{for(var c=0;c<_.length;c++){var u=_[c];if(!r.has(u)){r.add(u);var Y=me(u);e.addEventListener(u,T,{passive:Y});var H=b.get(u);H===void 0?(document.addEventListener(u,T,{passive:Y}),b.set(u,1)):b.set(u,H+1)}}};h(be(ve)),B.add(h);var l=void 0,K=ye(()=>{var _=s??e.appendChild(Ee());return $e(_,{pending:()=>{}},c=>{if(a){Te({});var u=f;u.c=a}if(i&&(n.$$events=i),g&&Re(c,null),l=t(c,n)||{},g&&(R.nodes_end=p,p===null||p.nodeType!==q||p.data!==Ae))throw Se(),O;a&&xe()}),()=>{for(var c of r){e.removeEventListener(c,T);var u=b.get(c);--u===0?(document.removeEventListener(c,T),b.delete(c)):b.set(c,u)}B.delete(h),_!==s&&_.parentNode?.removeChild(_)}});return F.set(l,K),l}let F=new WeakMap;function We(t,e){const s=F.get(t);return s?(F.delete(t),s(e)):Promise.resolve()}function Ge(t,e,s){if(t==null)return e(void 0),A;const n=y(()=>t.subscribe(e,s));return n.unsubscribe?()=>n.unsubscribe():n}const v=[];function it(t,e){return{subscribe:Je(t,e).subscribe}}function Je(t,e=A){let s=null;const n=new Set;function i(r){if(Ce(t,r)&&(t=r,s)){const h=!v.length;for(const l of n)l[1](),v.push(l,t);if(h){for(let l=0;l{n.delete(l),n.size===0&&s&&(s(),s=null)}}return{set:i,update:a,subscribe:o}}function at(t){let e;return Ge(t,s=>e=s)(),e}function Qe(){return S===null&&Ne(),(S.ac??=new AbortController).signal}function Q(t){f===null&&m(),Oe&&f.l!==null?M(f).m.push(t):De(()=>{const e=y(t);if(typeof e=="function")return e})}function Ke(t){f===null&&m(),Q(()=>()=>y(t))}function Xe(t,e,{bubbles:s=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:e,bubbles:s,cancelable:n})}function Ze(){const t=f;return t===null&&m(),(e,s,n)=>{const i=t.s.$$events?.[e];if(i){const a=ke(i)?i.slice():[i],o=Xe(e,s,n);for(const r of a)r.call(t.x,o);return!o.defaultPrevented}return!0}}function et(t){f===null&&m(),f.l===null&&W(),M(f).b.push(t)}function tt(t){f===null&&m(),f.l===null&&W(),M(f).a.push(t)}function M(t){var e=t.l;return e.u??={a:[],b:[],m:[]}}const rt=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:tt,beforeUpdate:et,createEventDispatcher:Ze,createRawSnippet:Fe,flushSync:qe,getAbortSignal:Qe,getAllContexts:Me,getContext:Ye,hasContext:He,hydrate:Ve,mount:G,onDestroy:Ke,onMount:Q,setContext:Ie,settled:Le,tick:Pe,unmount:We,untrack:y},Symbol.toStringTag,{value:"Module"}));export{Ge as a,Ke as b,rt as c,at as g,Ve as h,G as m,Q as o,it as r,nt as s,We as u,Je as w}; diff --git a/server/playground/_app/immutable/chunks/B-U_immA.js b/server/playground/_app/immutable/chunks/B342IurK.js similarity index 65% rename from server/playground/_app/immutable/chunks/B-U_immA.js rename to server/playground/_app/immutable/chunks/B342IurK.js index 7c7d104..869bea7 100644 --- a/server/playground/_app/immutable/chunks/B-U_immA.js +++ b/server/playground/_app/immutable/chunks/B342IurK.js @@ -1,2 +1,2 @@ -import{Q as X,y as q,ao as C,I as z,O as D,z as N,aP as m,b0 as x,b1 as r0,T as e0,b2 as t0,g as f0,b3 as i0,F as U,b4 as s0,b5 as a0,b6 as u0,b7 as l0,U as o0,b8 as c0,b9 as n0,ba as v0,bb as d0,bc as b0,bd as g0}from"./DPMvo626.js";function _0(r,f){if(f){const e=document.body;r.autofocus=!0,X(()=>{document.activeElement===e&&r.focus()})}}let V=!1;function h0(){V||(V=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{if(!r.defaultPrevented)for(const f of r.target.elements)f.__on_r?.()})},{capture:!0}))}function A0(r,f){var e=void 0,t;q(()=>{e!==(e=f())&&(t&&(C(t),t=null),e&&(t=z(()=>{D(()=>e(r))})))})}function F(r){var f,e,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var i=r.length;for(f=0;f=0;){var n=l+s;(l===0||B.includes(t[l-1]))&&(n===t.length||B.includes(t[n]))?t=(l===0?"":t.substring(0,l))+t.substring(n+1):l=n}}return t===""?null:t}function H(r,f=!1){var e=f?" !important;":";",t="";for(var i in r){var s=r[i];s!=null&&s!==""&&(t+=" "+i+": "+s+e)}return t}function O(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function S0(r,f){if(f){var e="",t,i;if(Array.isArray(f)?(t=f[0],i=f[1]):t=f,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var s=!1,l=0,n=!1,c=[];t&&c.push(...Object.keys(t).map(O)),i&&c.push(...Object.keys(i).map(O));var v=0,p=-1;const L=r.length;for(var d=0;d{P(r,r.__value)});f.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),e0(()=>{f.disconnect()})}function R(r){return"__value"in r?r.__value:r.value}const T=Symbol("class"),w=Symbol("style"),K=Symbol("is custom element"),G=Symbol("is html");function E0(r){if(N){var f=!1,e=()=>{if(!f){if(f=!0,r.hasAttribute("value")){var t=r.value;E(r,"value",null),r.value=t}if(r.hasAttribute("checked")){var i=r.checked;E(r,"checked",null),r.checked=i}}};r.__on_r=e,c0(e),h0()}}function I0(r,f){f?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function E(r,f,e,t){var i=Q(r);N&&(i[f]=r.getAttribute(f),f==="src"||f==="srcset"||f==="href"&&r.nodeName==="LINK")||i[f]!==(i[f]=e)&&(f==="loading"&&(r[d0]=e),e==null?r.removeAttribute(f):typeof e!="string"&&Z(r).includes(f)?r[f]=e:r.setAttribute(f,e))}function O0(r,f,e,t,i=!1,s=!1){if(N&&i&&r.tagName==="INPUT"){var l=r,n=l.type==="checkbox"?"defaultChecked":"defaultValue";n in e||E0(l)}var c=Q(r),v=c[K],p=!c[G];let d=N&&v;d&&U(!1);var a=f||{},A=r.tagName==="OPTION";for(var S in f)S in e||(e[S]=null);e.class?e.class=L0(e.class):e[T]&&(e.class=null),e[w]&&(e.style??=null);var L=Z(r);for(const u in e){let o=e[u];if(A&&u==="value"&&o==null){r.value=r.__value="",a[u]=o;continue}if(u==="class"){var h=r.namespaceURI==="http://www.w3.org/1999/xhtml";y0(r,h,o,t,f?.[T],e[T]),a[u]=o,a[T]=e[T];continue}if(u==="style"){T0(r,o,f?.[w],e[w]),a[u]=o,a[w]=e[w];continue}var k=a[u];if(!(o===k&&!(o===void 0&&r.hasAttribute(u)))){a[u]=o;var $=u[0]+u[1];if($!=="$$")if($==="on"){const _={},y="$$"+u;let b=u.slice(2);var I=b0(b);if(s0(b)&&(b=b.slice(0,-7),_.capture=!0),!I&&k){if(o!=null)continue;r.removeEventListener(b,a[y],_),a[y]=null}if(o!=null)if(I)r[`__${b}`]=o,u0([b]);else{let J=function(W){a[u].call(this,W)};a[y]=a0(b,r,J,_)}else I&&(r[`__${b}`]=void 0)}else if(u==="style")E(r,u,o);else if(u==="autofocus")_0(r,!!o);else if(!v&&(u==="__value"||u==="value"&&o!=null))r.value=r.__value=o;else if(u==="selected"&&A)I0(r,o);else{var g=u;p||(g=l0(g));var j=g==="defaultValue"||g==="defaultChecked";if(o==null&&!v&&!j)if(c[u]=null,g==="value"||g==="checked"){let _=r;const y=f===void 0;if(g==="value"){let b=_.defaultValue;_.removeAttribute(g),_.defaultValue=b,_.value=_.__value=y?b:null}else{let b=_.defaultChecked;_.removeAttribute(g),_.defaultChecked=b,_.checked=y?b:!1}}else r.removeAttribute(u);else j||L.includes(g)&&(v||typeof o!="string")?(r[g]=o,g in c&&(c[g]=o0)):typeof o!="function"&&E(r,g,o)}}}return d&&U(!0),a}function C0(r,f,e=[],t=[],i,s=!1,l=!1){t0(e,t,n=>{var c=void 0,v={},p=r.nodeName==="SELECT",d=!1;if(q(()=>{var A=f(...n.map(f0)),S=O0(r,c,A,i,s,l);d&&p&&"value"in A&&P(r,A.value);for(let h of Object.getOwnPropertySymbols(v))A[h]||C(v[h]);for(let h of Object.getOwnPropertySymbols(A)){var L=A[h];h.description===i0&&(!c||L!==c[h])&&(v[h]&&C(v[h]),v[h]=z(()=>A0(r,()=>L))),S[h]=L}c=S}),p){var a=r;D(()=>{P(a,c.value,!0),w0(a)})}d=!0})}function Q(r){return r.__attributes??={[K]:r.nodeName.includes("-"),[G]:r.namespaceURI===n0}}var Y=new Map;function Z(r){var f=r.getAttribute("is")||r.nodeName,e=Y.get(f);if(e)return e;Y.set(f,e=[]);for(var t,i=r,s=Element.prototype;s!==i;){t=g0(i);for(var l in t)t[l].set&&e.push(l);i=v0(i)}return e}const P0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='107'%20height='128'%20viewBox='0%200%20107%20128'%3e%3ctitle%3esvelte-logo%3c/title%3e%3cpath%20d='M94.157%2022.819c-10.4-14.885-30.94-19.297-45.792-9.835L22.282%2029.608A29.92%2029.92%200%200%200%208.764%2049.65a31.5%2031.5%200%200%200%203.108%2020.231%2030%2030%200%200%200-4.477%2011.183%2031.9%2031.9%200%200%200%205.448%2024.116c10.402%2014.887%2030.942%2019.297%2045.791%209.835l26.083-16.624A29.92%2029.92%200%200%200%2098.235%2078.35a31.53%2031.53%200%200%200-3.105-20.232%2030%2030%200%200%200%204.474-11.182%2031.88%2031.88%200%200%200-5.447-24.116'%20style='fill:%23ff3e00'/%3e%3cpath%20d='M45.817%20106.582a20.72%2020.72%200%200%201-22.237-8.243%2019.17%2019.17%200%200%201-3.277-14.503%2018%2018%200%200%201%20.624-2.435l.49-1.498%201.337.981a33.6%2033.6%200%200%200%2010.203%205.098l.97.294-.09.968a5.85%205.85%200%200%200%201.052%203.878%206.24%206.24%200%200%200%206.695%202.485%205.8%205.8%200%200%200%201.603-.704L69.27%2076.28a5.43%205.43%200%200%200%202.45-3.631%205.8%205.8%200%200%200-.987-4.371%206.24%206.24%200%200%200-6.698-2.487%205.7%205.7%200%200%200-1.6.704l-9.953%206.345a19%2019%200%200%201-5.296%202.326%2020.72%2020.72%200%200%201-22.237-8.243%2019.17%2019.17%200%200%201-3.277-14.502%2017.99%2017.99%200%200%201%208.13-12.052l26.081-16.623a19%2019%200%200%201%205.3-2.329%2020.72%2020.72%200%200%201%2022.237%208.243%2019.17%2019.17%200%200%201%203.277%2014.503%2018%2018%200%200%201-.624%202.435l-.49%201.498-1.337-.98a33.6%2033.6%200%200%200-10.203-5.1l-.97-.294.09-.968a5.86%205.86%200%200%200-1.052-3.878%206.24%206.24%200%200%200-6.696-2.485%205.8%205.8%200%200%200-1.602.704L37.73%2051.72a5.42%205.42%200%200%200-2.449%203.63%205.79%205.79%200%200%200%20.986%204.372%206.24%206.24%200%200%200%206.698%202.486%205.8%205.8%200%200%200%201.602-.704l9.952-6.342a19%2019%200%200%201%205.295-2.328%2020.72%2020.72%200%200%201%2022.237%208.242%2019.17%2019.17%200%200%201%203.277%2014.503%2018%2018%200%200%201-8.13%2012.053l-26.081%2016.622a19%2019%200%200%201-5.3%202.328'%20style='fill:%23fff'/%3e%3c/svg%3e";export{C0 as a,y0 as b,L0 as c,P0 as f,E as s}; +import{R as X,z as q,ap as P,J as z,P as D,A as N,aP as m,b0 as x,b1 as r0,V as e0,b2 as t0,g as f0,b3 as i0,G as U,b4 as s0,b5 as a0,b6 as u0,b7 as l0,U as o0,b8 as c0,b9 as n0,ba as v0,bb as d0,bc as b0,bd as g0}from"./bc36GTfJ.js";function _0(r,f){if(f){const e=document.body;r.autofocus=!0,X(()=>{document.activeElement===e&&r.focus()})}}let V=!1;function h0(){V||(V=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{if(!r.defaultPrevented)for(const f of r.target.elements)f.__on_r?.()})},{capture:!0}))}function A0(r,f){var e=void 0,t;q(()=>{e!==(e=f())&&(t&&(P(t),t=null),e&&(t=z(()=>{D(()=>e(r))})))})}function G(r){var f,e,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var i=r.length;for(f=0;f=0;){var n=l+s;(l===0||R.includes(t[l-1]))&&(n===t.length||R.includes(t[n]))?t=(l===0?"":t.substring(0,l))+t.substring(n+1):l=n}}return t===""?null:t}function B(r,f=!1){var e=f?" !important;":";",t="";for(var i in r){var s=r[i];s!=null&&s!==""&&(t+=" "+i+": "+s+e)}return t}function O(r){return r[0]!=="-"||r[1]!=="-"?r.toLowerCase():r}function S0(r,f){if(f){var e="",t,i;if(Array.isArray(f)?(t=f[0],i=f[1]):t=f,r){r=String(r).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var s=!1,l=0,n=!1,c=[];t&&c.push(...Object.keys(t).map(O)),i&&c.push(...Object.keys(i).map(O));var v=0,p=-1;const L=r.length;for(var d=0;d{C(r,r.__value)});f.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),e0(()=>{f.disconnect()})}function H(r){return"__value"in r?r.__value:r.value}const y=Symbol("class"),E=Symbol("style"),K=Symbol("is custom element"),F=Symbol("is html");function T0(r){if(N){var f=!1,e=()=>{if(!f){if(f=!0,r.hasAttribute("value")){var t=r.value;T(r,"value",null),r.value=t}if(r.hasAttribute("checked")){var i=r.checked;T(r,"checked",null),r.checked=i}}};r.__on_r=e,c0(e),h0()}}function I0(r,f){f?r.hasAttribute("selected")||r.setAttribute("selected",""):r.removeAttribute("selected")}function T(r,f,e,t){var i=J(r);N&&(i[f]=r.getAttribute(f),f==="src"||f==="srcset"||f==="href"&&r.nodeName==="LINK")||i[f]!==(i[f]=e)&&(f==="loading"&&(r[d0]=e),e==null?r.removeAttribute(f):typeof e!="string"&&Z(r).includes(f)?r[f]=e:r.setAttribute(f,e))}function O0(r,f,e,t,i=!1,s=!1){if(N&&i&&r.tagName==="INPUT"){var l=r,n=l.type==="checkbox"?"defaultChecked":"defaultValue";n in e||T0(l)}var c=J(r),v=c[K],p=!c[F];let d=N&&v;d&&U(!1);var a=f||{},A=r.tagName==="OPTION";for(var S in f)S in e||(e[S]=null);e.class?e.class=L0(e.class):e[y]&&(e.class=null),e[E]&&(e.style??=null);var L=Z(r);for(const u in e){let o=e[u];if(A&&u==="value"&&o==null){r.value=r.__value="",a[u]=o;continue}if(u==="class"){var h=r.namespaceURI==="http://www.w3.org/1999/xhtml";w0(r,h,o,t,f?.[y],e[y]),a[u]=o,a[y]=e[y];continue}if(u==="style"){y0(r,o,f?.[E],e[E]),a[u]=o,a[E]=e[E];continue}var k=a[u];if(!(o===k&&!(o===void 0&&r.hasAttribute(u)))){a[u]=o;var $=u[0]+u[1];if($!=="$$")if($==="on"){const _={},w="$$"+u;let b=u.slice(2);var I=b0(b);if(s0(b)&&(b=b.slice(0,-7),_.capture=!0),!I&&k){if(o!=null)continue;r.removeEventListener(b,a[w],_),a[w]=null}if(o!=null)if(I)r[`__${b}`]=o,u0([b]);else{let Q=function(W){a[u].call(this,W)};a[w]=a0(b,r,Q,_)}else I&&(r[`__${b}`]=void 0)}else if(u==="style")T(r,u,o);else if(u==="autofocus")_0(r,!!o);else if(!v&&(u==="__value"||u==="value"&&o!=null))r.value=r.__value=o;else if(u==="selected"&&A)I0(r,o);else{var g=u;p||(g=l0(g));var j=g==="defaultValue"||g==="defaultChecked";if(o==null&&!v&&!j)if(c[u]=null,g==="value"||g==="checked"){let _=r;const w=f===void 0;if(g==="value"){let b=_.defaultValue;_.removeAttribute(g),_.defaultValue=b,_.value=_.__value=w?b:null}else{let b=_.defaultChecked;_.removeAttribute(g),_.defaultChecked=b,_.checked=w?b:!1}}else r.removeAttribute(u);else j||L.includes(g)&&(v||typeof o!="string")?(r[g]=o,g in c&&(c[g]=o0)):typeof o!="function"&&T(r,g,o)}}}return d&&U(!0),a}function P0(r,f,e=[],t=[],i,s=!1,l=!1){t0(e,t,n=>{var c=void 0,v={},p=r.nodeName==="SELECT",d=!1;if(q(()=>{var A=f(...n.map(f0)),S=O0(r,c,A,i,s,l);d&&p&&"value"in A&&C(r,A.value);for(let h of Object.getOwnPropertySymbols(v))A[h]||P(v[h]);for(let h of Object.getOwnPropertySymbols(A)){var L=A[h];h.description===i0&&(!c||L!==c[h])&&(v[h]&&P(v[h]),v[h]=z(()=>A0(r,()=>L))),S[h]=L}c=S}),p){var a=r;D(()=>{C(a,c.value,!0),E0(a)})}d=!0})}function J(r){return r.__attributes??={[K]:r.nodeName.includes("-"),[F]:r.namespaceURI===n0}}var Y=new Map;function Z(r){var f=r.getAttribute("is")||r.nodeName,e=Y.get(f);if(e)return e;Y.set(f,e=[]);for(var t,i=r,s=Element.prototype;s!==i;){t=g0(i);for(var l in t)t[l].set&&e.push(l);i=v0(i)}return e}const C0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='107'%20height='128'%20viewBox='0%200%20107%20128'%3e%3ctitle%3esvelte-logo%3c/title%3e%3cpath%20d='M94.157%2022.819c-10.4-14.885-30.94-19.297-45.792-9.835L22.282%2029.608A29.92%2029.92%200%200%200%208.764%2049.65a31.5%2031.5%200%200%200%203.108%2020.231%2030%2030%200%200%200-4.477%2011.183%2031.9%2031.9%200%200%200%205.448%2024.116c10.402%2014.887%2030.942%2019.297%2045.791%209.835l26.083-16.624A29.92%2029.92%200%200%200%2098.235%2078.35a31.53%2031.53%200%200%200-3.105-20.232%2030%2030%200%200%200%204.474-11.182%2031.88%2031.88%200%200%200-5.447-24.116'%20style='fill:%23ff3e00'/%3e%3cpath%20d='M45.817%20106.582a20.72%2020.72%200%200%201-22.237-8.243%2019.17%2019.17%200%200%201-3.277-14.503%2018%2018%200%200%201%20.624-2.435l.49-1.498%201.337.981a33.6%2033.6%200%200%200%2010.203%205.098l.97.294-.09.968a5.85%205.85%200%200%200%201.052%203.878%206.24%206.24%200%200%200%206.695%202.485%205.8%205.8%200%200%200%201.603-.704L69.27%2076.28a5.43%205.43%200%200%200%202.45-3.631%205.8%205.8%200%200%200-.987-4.371%206.24%206.24%200%200%200-6.698-2.487%205.7%205.7%200%200%200-1.6.704l-9.953%206.345a19%2019%200%200%201-5.296%202.326%2020.72%2020.72%200%200%201-22.237-8.243%2019.17%2019.17%200%200%201-3.277-14.502%2017.99%2017.99%200%200%201%208.13-12.052l26.081-16.623a19%2019%200%200%201%205.3-2.329%2020.72%2020.72%200%200%201%2022.237%208.243%2019.17%2019.17%200%200%201%203.277%2014.503%2018%2018%200%200%201-.624%202.435l-.49%201.498-1.337-.98a33.6%2033.6%200%200%200-10.203-5.1l-.97-.294.09-.968a5.86%205.86%200%200%200-1.052-3.878%206.24%206.24%200%200%200-6.696-2.485%205.8%205.8%200%200%200-1.602.704L37.73%2051.72a5.42%205.42%200%200%200-2.449%203.63%205.79%205.79%200%200%200%20.986%204.372%206.24%206.24%200%200%200%206.698%202.486%205.8%205.8%200%200%200%201.602-.704l9.952-6.342a19%2019%200%200%201%205.295-2.328%2020.72%2020.72%200%200%201%2022.237%208.242%2019.17%2019.17%200%200%201%203.277%2014.503%2018%2018%200%200%201-8.13%2012.053l-26.081%2016.622a19%2019%200%200%201-5.3%202.328'%20style='fill:%23fff'/%3e%3c/svg%3e";export{P0 as a,w0 as b,L0 as c,C0 as f,T as s}; diff --git a/server/playground/_app/immutable/chunks/BXzq9L9X.js b/server/playground/_app/immutable/chunks/BXzq9L9X.js new file mode 100644 index 0000000..fd835ef --- /dev/null +++ b/server/playground/_app/immutable/chunks/BXzq9L9X.js @@ -0,0 +1,3 @@ +import{w as Ae,o as je,c as mt}from"./B1lAeocp.js";import{aZ as U,g as L,W as P,aY as $e}from"./bc36GTfJ.js";class ce{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Se{constructor(t,n){this.status=t,this.location=n}}class Re extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function yt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function wt(e){return e.split("%25").map(decodeURI).join("%25")}function vt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function _e({href:e}){return e.split("#")[0]}function bt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return f=>(n(f),i[o](f));t();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function kt(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;const Et=new TextDecoder;function At(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Y.delete(Te(e)),St(e,t));const Y=new Map;function Rt(e,t){const n=Te(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&Y.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=At(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function Tt(e,t,n){if(Y.size>0){const r=Te(e,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return me(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return me(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const d=It.exec(c),[,p,u,l,h]=d;return t.push({name:l,matcher:h,optional:!!p,rest:!!u,chained:u?f===1&&i[0]==="":!1}),u?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return me(c)}).join("")}).join("")}/?$`),params:t}}function Lt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(Lt)}function xt(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;od).join("/"),i=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](f)){r[c.name]=f;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&c.chained&&(i=0),!d&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function me(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ct({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,f,d]])=>{const{pattern:p,params:u}=Ut(o),l={id:o,exec:h=>{const w=p.exec(h);if(w)return xt(w,u,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...f||[]].map(i),leaf:s(c)};return l.errors.length=l.layouts.length=Math.max(l.errors.length,l.layouts.length),l});function s(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function We(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function De(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const I=globalThis.__sveltekit_anvown?.base??"/_playground",Nt=globalThis.__sveltekit_anvown?.assets??I??"",Ot="1759702180756",Je="sveltekit:snapshot",ze="sveltekit:scroll",Xe="sveltekit:states",jt="sveltekit:pageurl",B="sveltekit:history",W="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},le=location.origin;function Ze(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function fe(){return{x:pageXOffset,y:pageYOffset}}function F(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Fe={...j,"":j.hover};function Qe(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function et(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Qe(e)}}function ve(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||ue(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===le&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function ee(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=F(o,"preload-code")),a===null&&(a=F(o,"preload-data")),t===null&&(t=F(o,"keepfocus")),n===null&&(n=F(o,"noscroll")),s===null&&(s=F(o,"reload")),i===null&&(i=F(o,"replacestate")),o=Qe(o);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Fe[r??"off"],preload_data:Fe[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(s),replace_state:c(i)}}function Be(e){const t=Ae(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const tt={v:()=>{}};function $t(){const{set:e,subscribe:t}=Ae(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Nt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Ot;return i&&(e(!0),tt.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function ue(e,t,n){return e.origin!==le||!e.pathname.startsWith(t)?!0:n?!(e.pathname===t+"/"||e.pathname===t+"/index.html"||e.protocol==="file:"&&e.pathname.replace(/\/[^/]+\.html?$/,"")===t):!1}function Sn(e){}function Dt(e){const t=Bt(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let a=0;a>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Vt=-1,Mt=-2,qt=-3,Gt=-4,Yt=-5,Ht=-6;function Kt(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(s,i=!1){if(s===Vt)return;if(s===qt)return NaN;if(s===Gt)return 1/0;if(s===Yt)return-1/0;if(s===Ht)return-0;if(i||typeof s!="number")throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],f=t?.[c];if(f)return r[s]=f(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const d=new Set;r[s]=d;for(let l=1;lt!=null)}const zt="x-sveltekit-invalidated",Xt="x-sveltekit-trailing-slash";function te(e){return e instanceof ce||e instanceof Re?e.status:500}function Zt(e){return e instanceof Re?e.text:"Internal Error"}let S,J,ye;const Qt=je.toString().includes("$$")||/function \w+\(\) \{\}/.test(je.toString());Qt?(S={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},J={current:null},ye={current:!1}):(S=new class{#e=U({});get data(){return L(this.#e)}set data(t){P(this.#e,t)}#t=U(null);get form(){return L(this.#t)}set form(t){P(this.#t,t)}#n=U(null);get error(){return L(this.#n)}set error(t){P(this.#n,t)}#r=U({});get params(){return L(this.#r)}set params(t){P(this.#r,t)}#a=U({id:null});get route(){return L(this.#a)}set route(t){P(this.#a,t)}#o=U({});get state(){return L(this.#o)}set state(t){P(this.#o,t)}#s=U(-1);get status(){return L(this.#s)}set status(t){P(this.#s,t)}#i=U(new URL("https://example.com"));get url(){return L(this.#i)}set url(t){P(this.#i,t)}},J=new class{#e=U(null);get current(){return L(this.#e)}set current(t){P(this.#e,t)}},ye=new class{#e=U(!1);get current(){return L(this.#e)}set current(t){P(this.#e,t)}},tt.v=()=>ye.current=!0);function en(e){Object.assign(S,e)}const tn="/__data.json",nn=".html__data.json";function rn(e){return e.endsWith(".html")?e.replace(/\.html$/,nn):e.replace(/\/$/,"")+tn}const Ve={spanContext(){return an},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},an={traceId:"",spanId:"",traceFlags:0},{tick:on}=mt,sn=new Set(["icon","shortcut icon","apple-touch-icon"]),D=We(ze)??{},z=We(Je)??{},O={url:Be({}),page:Be({}),navigating:Ae(null),updated:$t()};function Ie(e){D[e]=fe()}function cn(e,t){let n=e+1;for(;D[n];)delete D[n],n+=1;for(n=t+1;z[n];)delete z[n],n+=1}function q(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function rt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(I||"/");e&&await e.update()}}function Me(){}let Ue,be,ne,x,ke,v;const re=[],ae=[];let C=null;const Q=new Map,at=new Set,ln=new Set,H=new Set;let y={branch:[],error:null,url:null},Le=!1,oe=!1,qe=!0,X=!1,G=!1,ot=!1,Pe=!1,st,A,T,$;const K=new Set,Ge=new Map;async function Un(e,t,n){globalThis.__sveltekit_anvown?.data&&globalThis.__sveltekit_anvown.data,document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Ue=Ct(e),x=document.documentElement,ke=t,be=e.nodes[0],ne=e.nodes[1],be(),ne(),A=history.state?.[B],T=history.state?.[W],A||(A=T=Date.now(),history.replaceState({...history.state,[B]:A,[W]:T},""));const r=D[A];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await vn(ke,n)):(await V({type:"enter",url:Ze(v.hash?kn(new URL(location.href)):location.href),replace_state:!0}),a()),wn()}function fn(){re.length=0,Pe=!1}function it(e){ae.some(t=>t?.snapshot)&&(z[e]=ae.map(t=>t?.snapshot?.capture()))}function ct(e){z[e]?.forEach((t,n)=>{ae[n]?.snapshot?.restore(t)})}function Ye(){Ie(A),De(ze,D),it(T),De(Je,z)}async function un(e,t,n,r){let a;t.invalidateAll&&(C=null),await V({type:"goto",url:Ze(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Pe=!0,a=[...Ge.keys()]),t.invalidate&&t.invalidate.forEach(yn)}}),t.invalidateAll&&$e().then($e).then(()=>{Ge.forEach(({resource:s},i)=>{a?.includes(i)&&s.refresh?.()})})}async function dn(e){if(e.id!==C?.id){const t={};K.add(t),C={id:e.id,token:t,promise:ut({...e,preload:t}).then(n=>(K.delete(t),n.type==="loaded"&&n.state.error&&(C=null),n))}}return C.promise}async function we(e){const t=(await he(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}function lt(e,t,n){y=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(S,e.props.page),st=new v.root({target:t,props:{...e.props,stores:O,components:ae},hydrate:n,sync:!1}),ct(T),n){const a={from:null,to:{params:y.params,route:{id:y.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(s=>s(a))}oe=!0}function se({url:e,params:t,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(I&&(e.pathname===I||e.pathname===I+"/"))o="always";else for(const l of n)l?.slash!==void 0&&(o=l.slash);e.pathname=yt(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:s},props:{constructors:Jt(n).map(l=>l.node.component),page:Oe(S)}};i!==void 0&&(c.props.form=i);let f={},d=!S,p=0;for(let l=0;l(o&&(c.route=!0),u[l])}),params:new Proxy(r,{get:(u,l)=>(o&&c.params.add(l),u[l])}),data:s?.data??null,url:bt(n,()=>{o&&(c.url=!0)},u=>{o&&c.search_params.add(u)},v.hash),async fetch(u,l){u instanceof Request&&(l={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...l});const{resolved:h,promise:w}=ft(u,l,n);return o&&d(h.href),w},setHeaders:()=>{},depends:d,parent(){return o&&(c.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};i=await f.universal.load.call(null,p)??null}return{node:f,loader:e,server:s,universal:f.universal?.load?{type:"data",data:i,uses:c}:null,data:i??s?.data??null,slash:f.universal?.trailingSlash??s?.slash}}function ft(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=oe?Tt(r,a.href,t):Rt(r,t);return{resolved:a,promise:s}}function He(e,t,n,r,a,s){if(Pe)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==y.params[i])return!0;for(const i of a.dependencies)if(re.some(o=>o(new URL(i))))return!0;return!1}function Ce(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function hn(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function Ke({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Oe(S),constructors:[]}}}async function ut({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(C?.id===e)return K.delete(C.token),C.promise;const{errors:i,layouts:o,leaf:c}=a,f=[...o,c];i.forEach(m=>m?.().catch(()=>{})),f.forEach(m=>m?.[1]().catch(()=>{}));let d=null;const p=y.url?e!==ie(y.url):!1,u=y.route?a.id!==y.route.id:!1,l=hn(y.url,n);let h=!1;const w=f.map((m,g)=>{const b=y.branch[g],k=!!m?.[0]&&(b?.loader!==m[1]||He(h,u,p,l,b.server?.uses,r));return k&&(h=!0),k});if(w.some(Boolean)){try{d=await pt(n,w)}catch(m){const g=await M(m,{url:n,params:r,route:{id:e}});return K.has(s)?Ke({error:g,url:n,params:r,route:a}):de({status:te(m),error:g,url:n,route:a})}if(d.type==="redirect")return d}const E=d?.nodes;let _=!1;const N=f.map(async(m,g)=>{if(!m)return;const b=y.branch[g],k=E?.[g];if((!k||k.type==="skip")&&m[1]===b?.loader&&!He(_,u,p,l,b.universal?.uses,r))return b;if(_=!0,k?.type==="error")throw k;return xe({loader:m[1],url:n,params:r,route:a,parent:async()=>{const pe={};for(let ge=0;ge{});const R=[];for(let m=0;mPromise.resolve({}),server_data_node:Ce(s)}),c={node:await ne(),loader:ne,universal:null,server:null,data:null};return se({url:n,params:a,branch:[o,c],status:e,error:t,route:null})}catch(o){if(o instanceof Se)return un(new URL(o.location,location.href),{},0);throw o}}async function gn(e){const t=e.href;if(Q.has(t))return Q.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(s,i)=>ft(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);v.hash?s.hash=a:s.pathname=a,a=s}return a})();Q.set(t,r),n=await r}catch{Q.delete(t);return}return n}async function he(e,t){if(e&&!ue(e,I,v.hash)){const n=await gn(e);if(!n)return;const r=_n(n);for(const a of Ue){const s=a.exec(r);if(s)return{id:ie(e),invalidating:t,route:a,params:vt(s),url:e}}}}function _n(e){return wt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(I.length))||"/"}function ie(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function dt({url:e,type:t,intent:n,delta:r,event:a}){let s=!1;const i=Ne(y,n,e,t);r!==void 0&&(i.navigation.delta=r),a!==void 0&&(i.navigation.event=a);const o={...i.navigation,cancel:()=>{s=!0,i.reject(new Error("navigation cancelled"))}};return X||at.forEach(c=>c(o)),s?null:i}async function V({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:f=Me,block:d=Me,event:p}){const u=$;$=c;const l=await he(t,!1),h=e==="enter"?Ne(y,l,t,e):dt({url:t,type:e,delta:n?.delta,intent:l,event:p});if(!h){d(),$===c&&($=u);return}const w=A,E=T;f(),X=!0,oe&&h.navigation.type!=="enter"&&O.navigating.set(J.current=h.navigation);let _=l&&await ut(l);if(!_){if(ue(t,I,v.hash))return await q(t,s);_=await ht(t,{id:null},await M(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=l?.url||t,$!==c)return h.reject(new Error("navigation aborted")),!1;if(_.type==="redirect"){if(o<20){await V({type:e,url:new URL(_.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i,redirect_count:o+1,nav_token:c}),h.fulfil(void 0);return}_=await de({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else _.props.page.status>=400&&await O.updated.check()&&(await rt(),await q(t,s));if(fn(),Ie(w),it(E),_.props.page.url.pathname!==t.pathname&&(t.pathname=_.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,b={[B]:A+=g,[W]:T+=g,[Xe]:i};(s?history.replaceState:history.pushState).call(history,b,"",t),s||cn(A,T)}if(C=null,_.props.page.state=i,oe){const g=(await Promise.all(Array.from(ln,b=>b(h.navigation)))).filter(b=>typeof b=="function");if(g.length>0){let b=function(){g.forEach(k=>{H.delete(k)})};g.push(b),g.forEach(k=>{H.add(k)})}y=_.state,_.props.page&&(_.props.page.url=t),st.$set(_.props),en(_.props.page),ot=!0}else lt(_,ke,!1);const{activeElement:N}=document;await on();const R=n?n.scroll:a?fe():null;if(qe){const g=t.hash&&document.getElementById(_t(t));R?scrollTo(R.x,R.y):g?g.scrollIntoView():scrollTo(0,0)}const m=document.activeElement!==N&&document.activeElement!==document.body;!r&&!m&&bn(t),qe=!0,_.props.page&&Object.assign(S,_.props.page),X=!1,e==="popstate"&&ct(T),h.fulfil(void 0),H.forEach(g=>g(h.navigation)),O.navigating.set(J.current=null)}async function ht(e,t,n,r,a){return e.origin===le&&e.pathname===location.pathname&&!Le?await de({status:r,error:n,url:e,route:t}):await q(e,a)}function mn(){let e,t,n;x.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(e),e=setTimeout(()=>{s(c,j.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],j.tap)}x.addEventListener("mousedown",r),x.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&(we(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(o,c){const f=et(o,x),d=f===t&&c>=n;if(!f||d)return;const{url:p,external:u,download:l}=ve(f,I,v.hash);if(u||l)return;const h=ee(f),w=p&&ie(y.url)===ie(p);if(!(h.reload||w))if(c<=h.preload_data){t=f,n=j.tap;const E=await he(p,!1);if(!E)return;dn(E)}else c<=h.preload_code&&(t=f,n=c,we(p))}function i(){a.disconnect();for(const o of x.querySelectorAll("a")){const{url:c,external:f,download:d}=ve(o,I,v.hash);if(f||d)continue;const p=ee(o);p.reload||(p.preload_code===j.viewport&&a.observe(o),p.preload_code===j.eager&&we(c))}}H.add(i),i()}function M(e,t){if(e instanceof ce)return e.body;const n=te(e),r=Zt(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function yn(e){if(typeof e=="function")re.push(e);else{const{href:t}=new URL(e,location.href);re.push(n=>n.href===t)}}function wn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ye(),!X){const r=Ne(y,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};at.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ye()}),navigator.connection?.saveData||mn(),x.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=et(t.composedPath()[0],x);if(!n)return;const{url:r,external:a,target:s,download:i}=ve(n,I,v.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const o=ee(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[f,d]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=f===_e(location);if(a||o.reload&&(!p||!d)){dt({url:r,type:"link",event:t})?X=!0:t.preventDefault();return}if(d!==void 0&&p){const[,u]=y.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const l=n.ownerDocument.getElementById(decodeURIComponent(d));l&&(l.scrollIntoView(),l.focus())}return}if(G=!0,Ie(A),e(r),!o.replace_state)return;G=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await V({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),x.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ue(i,I,!1))return;const o=t.target,c=ee(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(o,r);i.search=new URLSearchParams(f).toString(),V({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ee){if(t.state?.[B]){const n=t.state[B];if($={},n===A)return;const r=D[n],a=t.state[Xe]??{},s=new URL(t.state[jt]??location.href),i=t.state[W],o=y.url?_e(location)===_e(y.url):!1;if(i===T&&(ot||o)){a!==S.state&&(S.state=a),e(s),D[A]=fe(),r&&scrollTo(r.x,r.y),A=n;return}const f=n-A;await V({type:"popstate",url:s,popped:{state:a,scroll:r,delta:f},accept:()=>{A=n,T=i},block:()=>{history.go(-f)},nav_token:$,event:t})}else if(!G){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{G&&(G=!1,history.replaceState({...history.state,[B]:++A,[W]:T},"",location.href))});for(const t of document.querySelectorAll("link"))sn.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&O.navigating.set(J.current=null)});function e(t){y.url=S.url=t,O.page.set(Oe(S)),O.page.notify()}}async function vn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){Le=!0;const f=new URL(location.href);let d;({params:a={},route:s={id:null}}=await he(f,!1)||{}),d=Ue.find(({id:l})=>l===s.id);let p,u=!0;try{const l=r.map(async(w,E)=>{const _=o[E];return _?.uses&&(_.uses=gt(_.uses)),xe({loader:v.nodes[w],url:f,params:a,route:s,parent:async()=>{const N={};for(let R=0;Rs?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let s;throw a.headers.get("content-type")?.includes("application/json")?s=await a.json():a.status===404?s="Not Found":a.status===500&&(s="Internal Error"),new ce(a.status,s)}return new Promise(async s=>{const i=new Map,o=a.body.getReader();function c(d){return Kt(d,{...v.decoders,Promise:p=>new Promise((u,l)=>{i.set(p,{fulfil:u,reject:l})})})}let f="";for(;;){const{done:d,value:p}=await o.read();if(d&&!f)break;for(f+=!p&&f?` +`:Et.decode(p,{stream:!0});;){const u=f.indexOf(` +`);if(u===-1)break;const l=JSON.parse(f.slice(0,u));if(f=f.slice(u+1),l.type==="redirect")return s(l);if(l.type==="data")l.nodes?.forEach(h=>{h?.type==="data"&&(h.uses=gt(h.uses),h.data=c(h.data))}),s(l);else if(l.type==="chunk"){const{id:h,data:w,error:E}=l,_=i.get(h);i.delete(h),E?_.reject(c(E)):_.fulfil(c(w))}}}})}function gt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ee=!1;function bn(e){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=_t(e);if(n&&document.getElementById(n)){const{x:a,y:s}=fe();setTimeout(()=>{const i=history.state;Ee=!0,location.replace(`#${n}`),v.hash&&location.replace(e.hash),history.replaceState(i,"",e.hash),scrollTo(a,s),Ee=!1})}else{const a=document.body,s=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),s!==null?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let s=0;s{if(r.rangeCount===a.length){for(let s=0;s{a=c,s=f});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n},willUnload:!t,type:r,complete:i},fulfil:a,reject:s}}function Oe(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function kn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function _t(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Un as a,Sn as l,S as p,O as s}; diff --git a/server/playground/_app/immutable/chunks/DM3e16Yp.js b/server/playground/_app/immutable/chunks/DM3e16Yp.js deleted file mode 100644 index a2268f1..0000000 --- a/server/playground/_app/immutable/chunks/DM3e16Yp.js +++ /dev/null @@ -1 +0,0 @@ -import{y as K,z as y,A as j,E as q,B as Z,H as $,C as z,D as G,F as m,G as H,I as D,J,U as Q,K as V,L as W,M as X,N as k,O as ee,P as re,b as B,Q as ne,S as x,x as N,R as se,g as P,T as ie,V as M,W as ae,X as A,Y as te,Z as R,_ as ue,a0 as C,a1 as fe,a2 as le,f as ce,a3 as oe,a4 as L,a5 as U,a6 as de,a7 as _e,a8 as pe,a9 as ve,aa as S,ab as F,ac as be,ad as he}from"./DPMvo626.js";import{a as Se,g as Pe}from"./FG3YJaZx.js";function Re(e,r,s=!1){y&&j();var n=e,i=null,a=null,l=Q,d=s?q:0,p=!1;const I=(c,u=!0)=>{p=!0,_(u,c)};var f=null;function g(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var c=l?i:a,u=l?a:i;c&&W(c),u&&X(u,()=>{l?a=null:i=null})}const _=(c,u)=>{if(l===(l=c))return;let E=!1;if(y){const O=Z(n)===$;!!l===O&&(n=z(),G(n),m(!1),E=!0)}var b=V(),o=n;if(b&&(f=document.createDocumentFragment(),f.append(o=H())),l?i??=u&&D(()=>u(o)):a??=u&&D(()=>u(o)),b){var h=J,t=l?i:a,v=l?a:i;t&&h.skipped_effects.delete(t),v&&h.skipped_effects.add(v),h.add_callback(g)}else g();E&&m(!0)};K(()=>{p=!1,r(I),p||_(null,null)},d),y&&(n=k)}function Y(e,r){return e===r||e?.[x]===r}function we(e={},r,s,n){return ee(()=>{var i,a;return re(()=>{i=a,a=[],B(()=>{e!==s(...a)&&(r(e,...a),i&&Y(s(...i),e)&&r(null,...i))})}),()=>{ne(()=>{a&&Y(s(...a),e)&&r(null,...a)})}}),e}let T=!1,w=Symbol();function xe(e,r,s){const n=s[r]??={store:null,source:se(void 0),unsubscribe:N};if(n.store!==e&&!(w in s))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=N;else{var i=!0;n.unsubscribe=Se(e,a=>{i?n.source.v=a:M(n.source,a)}),i=!1}return e&&w in s?Pe(e):P(n.source)}function Ae(){const e={};function r(){ie(()=>{for(var s in e)e[s].unsubscribe();ae(e,w,{enumerable:!1,value:!0})})}return[e,r]}function Ie(e){var r=T;try{return T=!1,[e(),T]}finally{T=r}}const ge={get(e,r){if(!e.exclude.includes(r))return P(e.version),r in e.special?e.special[r]():e.props[r]},set(e,r,s){if(!(r in e.special)){var n=A;try{U(e.parent_effect),e.special[r]=Oe({get[r](){return e.props[r]}},r,C)}finally{U(n)}}return e.special[r](s),L(e.version),!0},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},deleteProperty(e,r){return e.exclude.includes(r)||(e.exclude.push(r),L(e.version)),!0},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function me(e,r){return new Proxy({props:e,exclude:r,special:{},version:te(0),parent_effect:A},ge)}const Ee={get(e,r){let s=e.props.length;for(;s--;){let n=e.props[s];if(S(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,s){let n=e.props.length;for(;n--;){let i=e.props[n];S(i)&&(i=i());const a=R(i,r);if(a&&a.set)return a.set(s),!0}return!1},getOwnPropertyDescriptor(e,r){let s=e.props.length;for(;s--;){let n=e.props[s];if(S(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const i=R(n,r);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,r){if(r===x||r===F)return!1;for(let s of e.props)if(S(s)&&(s=s()),s!=null&&r in s)return!0;return!1},ownKeys(e){const r=[];for(let s of e.props)if(S(s)&&(s=s()),!!s){for(const n in s)r.includes(n)||r.push(n);for(const n of Object.getOwnPropertySymbols(s))r.includes(n)||r.push(n)}return r}};function De(...e){return new Proxy({props:e},Ee)}function Oe(e,r,s,n){var i=!_e||(s&pe)!==0,a=(s&de)!==0,l=(s&be)!==0,d=n,p=!0,I=()=>(p&&(p=!1,d=l?B(n):n),d),f;if(a){var g=x in e||F in e;f=R(e,r)?.set??(g&&r in e?t=>e[r]=t:void 0)}var _,c=!1;a?[_,c]=Ie(()=>e[r]):_=e[r],_===void 0&&n!==void 0&&(_=I(),f&&(i&&ue(),f(_)));var u;if(i?u=()=>{var t=e[r];return t===void 0?I():(p=!0,t)}:u=()=>{var t=e[r];return t!==void 0&&(d=void 0),t===void 0?d:t},i&&(s&C)===0)return u;if(f){var E=e.$$legacy;return(function(t,v){return arguments.length>0?((!i||!v||E||c)&&f(v?u():t),t):u()})}var b=!1,o=((s&ve)!==0?ce:oe)(()=>(b=!1,u()));a&&P(o);var h=A;return(function(t,v){if(arguments.length>0){const O=v?P(o):i&&a?fe(t):t;return M(o,O),b=!0,d!==void 0&&(d=O),t}return he&&b||(h.f&le)!==0?o.v:P(o)})}export{xe as a,we as b,Ae as c,Re as i,me as l,Oe as p,De as s}; diff --git a/server/playground/_app/immutable/chunks/DyoUZ9Ht.js b/server/playground/_app/immutable/chunks/DyoUZ9Ht.js new file mode 100644 index 0000000..2200e2d --- /dev/null +++ b/server/playground/_app/immutable/chunks/DyoUZ9Ht.js @@ -0,0 +1 @@ +import{z as K,A as R,B as j,E as q,C as Z,H as $,D as z,F as G,G as x,I as H,J as D,K as J,U as Q,L as V,M as W,N as X,O as k,P as ee,Q as re,b as B,R as ne,S as y,m as N,T as se,g as P,V as ie,W as M,X as ae,Y as A,Z as te,_ as m,a0 as ue,a1 as C,a2 as fe,a3 as le,f as ce,a4 as oe,a5 as L,a6 as U,a7 as de,a8 as _e,a9 as pe,aa as ve,ab as S,ac as F,ad as be,ae as he}from"./bc36GTfJ.js";import{a as Se,g as Pe}from"./B1lAeocp.js";function me(e,r,s=!1){R&&j();var n=e,i=null,a=null,l=Q,d=s?q:0,p=!1;const I=(c,u=!0)=>{p=!0,_(u,c)};var f=null;function g(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var c=l?i:a,u=l?a:i;c&&W(c),u&&X(u,()=>{l?a=null:i=null})}const _=(c,u)=>{if(l===(l=c))return;let E=!1;if(R){const O=Z(n)===$;!!l===O&&(n=z(),G(n),x(!1),E=!0)}var b=V(),o=n;if(b&&(f=document.createDocumentFragment(),f.append(o=H())),l?i??=u&&D(()=>u(o)):a??=u&&D(()=>u(o)),b){var h=J,t=l?i:a,v=l?a:i;t&&h.skipped_effects.delete(t),v&&h.skipped_effects.add(v),h.add_callback(g)}else g();E&&x(!0)};K(()=>{p=!1,r(I),p||_(null,null)},d),R&&(n=k)}function Y(e,r){return e===r||e?.[y]===r}function we(e={},r,s,n){return ee(()=>{var i,a;return re(()=>{i=a,a=[],B(()=>{e!==s(...a)&&(r(e,...a),i&&Y(s(...i),e)&&r(null,...i))})}),()=>{ne(()=>{a&&Y(s(...a),e)&&r(null,...a)})}}),e}let T=!1,w=Symbol();function ye(e,r,s){const n=s[r]??={store:null,source:se(void 0),unsubscribe:N};if(n.store!==e&&!(w in s))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=N;else{var i=!0;n.unsubscribe=Se(e,a=>{i?n.source.v=a:M(n.source,a)}),i=!1}return e&&w in s?Pe(e):P(n.source)}function Ae(){const e={};function r(){ie(()=>{for(var s in e)e[s].unsubscribe();ae(e,w,{enumerable:!1,value:!0})})}return[e,r]}function Ie(e){var r=T;try{return T=!1,[e(),T]}finally{T=r}}const ge={get(e,r){if(!e.exclude.includes(r))return P(e.version),r in e.special?e.special[r]():e.props[r]},set(e,r,s){if(!(r in e.special)){var n=A;try{U(e.parent_effect),e.special[r]=Oe({get[r](){return e.props[r]}},r,C)}finally{U(n)}}return e.special[r](s),L(e.version),!0},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},deleteProperty(e,r){return e.exclude.includes(r)||(e.exclude.push(r),L(e.version)),!0},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function xe(e,r){return new Proxy({props:e,exclude:r,special:{},version:te(0),parent_effect:A},ge)}const Ee={get(e,r){let s=e.props.length;for(;s--;){let n=e.props[s];if(S(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n)return n[r]}},set(e,r,s){let n=e.props.length;for(;n--;){let i=e.props[n];S(i)&&(i=i());const a=m(i,r);if(a&&a.set)return a.set(s),!0}return!1},getOwnPropertyDescriptor(e,r){let s=e.props.length;for(;s--;){let n=e.props[s];if(S(n)&&(n=n()),typeof n=="object"&&n!==null&&r in n){const i=m(n,r);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,r){if(r===y||r===F)return!1;for(let s of e.props)if(S(s)&&(s=s()),s!=null&&r in s)return!0;return!1},ownKeys(e){const r=[];for(let s of e.props)if(S(s)&&(s=s()),!!s){for(const n in s)r.includes(n)||r.push(n);for(const n of Object.getOwnPropertySymbols(s))r.includes(n)||r.push(n)}return r}};function De(...e){return new Proxy({props:e},Ee)}function Oe(e,r,s,n){var i=!_e||(s&pe)!==0,a=(s&de)!==0,l=(s&be)!==0,d=n,p=!0,I=()=>(p&&(p=!1,d=l?B(n):n),d),f;if(a){var g=y in e||F in e;f=m(e,r)?.set??(g&&r in e?t=>e[r]=t:void 0)}var _,c=!1;a?[_,c]=Ie(()=>e[r]):_=e[r],_===void 0&&n!==void 0&&(_=I(),f&&(i&&ue(),f(_)));var u;if(i?u=()=>{var t=e[r];return t===void 0?I():(p=!0,t)}:u=()=>{var t=e[r];return t!==void 0&&(d=void 0),t===void 0?d:t},i&&(s&C)===0)return u;if(f){var E=e.$$legacy;return(function(t,v){return arguments.length>0?((!i||!v||E||c)&&f(v?u():t),t):u()})}var b=!1,o=((s&ve)!==0?ce:oe)(()=>(b=!1,u()));a&&P(o);var h=A;return(function(t,v){if(arguments.length>0){const O=v?P(o):i&&a?fe(t):t;return M(o,O),b=!0,d!==void 0&&(d=O),t}return he&&b||(h.f&le)!==0?o.v:P(o)})}export{ye as a,we as b,Ae as c,me as i,xe as l,Oe as p,De as s}; diff --git a/server/playground/_app/immutable/chunks/FG3YJaZx.js b/server/playground/_app/immutable/chunks/FG3YJaZx.js deleted file mode 100644 index e15f190..0000000 --- a/server/playground/_app/immutable/chunks/FG3YJaZx.js +++ /dev/null @@ -1,2 +0,0 @@ -import{ae as K,g as j,Y as B,P as Z,b as y,af as H,Q as U,N as p,z as g,ag as ee,X as R,y as te,A as se,ah as M,H as ne,I as d,ai as S,M as D,a5 as I,aj as E,ak as L,al as ie,am as A,c as f,an as ae,ao as N,D as C,ap as re,C as oe,aq as z,ar as le,E as ue,as as fe,at as ce,au as V,av as he,aw as k,ax as _e,ay as de,az as O,F as w,aA as pe,aB as ge,aC as be,aD as ve,aE as $,aF as ye,aG as T,aH as me,G as Ee,aI as we,p as Te,aJ as Re,aK as xe,aL as Ae,l as Ce,x,aM as Se,aN as m,a as De,aO as Ne,aP as ke,aQ as W,a7 as Oe,aR as Fe,aS as Me,aT as Pe,aU as Ye,aV as qe,aW as He,aX as Ie,aY as Le}from"./DPMvo626.js";function ze(t){let e=0,s=B(0),n;return()=>{K()&&(j(s),Z(()=>(e===0&&(n=y(()=>t(()=>H(s)))),e+=1,()=>{U(()=>{e-=1,e===0&&(n?.(),n=void 0,H(s))})})))}}var $e=ue|fe|ce;function je(t,e,s){new Be(t,e,s)}class Be{parent;#n=!1;#t;#p=g?p:null;#i;#f;#a;#s=null;#e=null;#r=null;#o=null;#c=0;#l=0;#h=!1;#u=null;#b=()=>{this.#u&&ee(this.#u,this.#c)};#v=ze(()=>(this.#u=B(this.#c),()=>{this.#u=null}));constructor(e,s,n){this.#t=e,this.#i=s,this.#f=n,this.parent=R.b,this.#n=!!this.#i.pending,this.#a=te(()=>{if(R.b=this,g){const i=this.#p;se(),i.nodeType===M&&i.data===ne?this.#m():this.#y()}else{try{this.#s=d(()=>n(this.#t))}catch(i){this.error(i)}this.#l>0?this.#d():this.#n=!1}},$e),g&&(this.#t=p)}#y(){try{this.#s=d(()=>this.#f(this.#t))}catch(e){this.error(e)}this.#n=!1}#m(){const e=this.#i.pending;e&&(this.#e=d(()=>e(this.#t)),S.enqueue(()=>{this.#s=this.#_(()=>(S.ensure(),d(()=>this.#f(this.#t)))),this.#l>0?this.#d():(D(this.#e,()=>{this.#e=null}),this.#n=!1)}))}is_pending(){return this.#n||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#i.pending}#_(e){var s=R,n=A,i=f;I(this.#a),E(this.#a),L(this.#a.ctx);try{return e()}catch(a){return ie(a),null}finally{I(s),E(n),L(i)}}#d(){const e=this.#i.pending;this.#s!==null&&(this.#o=document.createDocumentFragment(),Ue(this.#s,this.#o)),this.#e===null&&(this.#e=d(()=>e(this.#t)))}#g(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(e);return}this.#l+=e,this.#l===0&&(this.#n=!1,this.#e&&D(this.#e,()=>{this.#e=null}),this.#o&&(this.#t.before(this.#o),this.#o=null))}update_pending_count(e){this.#g(e),this.#c+=e,ae.add(this.#b)}get_effect_pending(){return this.#v(),j(this.#u)}error(e){var s=this.#i.onerror;let n=this.#i.failed;if(this.#h||!s&&!n)throw e;this.#s&&(N(this.#s),this.#s=null),this.#e&&(N(this.#e),this.#e=null),this.#r&&(N(this.#r),this.#r=null),g&&(C(this.#p),re(),C(oe()));var i=!1,a=!1;const o=()=>{if(i){he();return}i=!0,a&&le(),S.ensure(),this.#c=0,this.#r!==null&&D(this.#r,()=>{this.#r=null}),this.#n=this.has_pending_snippet(),this.#s=this.#_(()=>(this.#h=!1,d(()=>this.#f(this.#t)))),this.#l>0?this.#d():this.#n=!1};var r=A;try{E(null),a=!0,s?.(e,o),a=!1}catch(h){z(h,this.#a&&this.#a.parent)}finally{E(r)}n&&U(()=>{this.#r=this.#_(()=>{this.#h=!0;try{return d(()=>{n(this.#t,()=>e,()=>o)})}catch(h){return z(h,this.#a.parent),null}finally{this.#h=!1}})})}}function Ue(t,e){for(var s=t.nodes_start,n=t.nodes_end;s!==null;){var i=s===n?null:V(s);e.append(s),s=i}}function nt(t,e){var s=e==null?"":typeof e=="object"?e+"":e;s!==(t.__t??=t.nodeValue)&&(t.__t=s,t.nodeValue=s+"")}function G(t,e){return Q(t,e)}function Ve(t,e){k(),e.intro=e.intro??!1;const s=e.target,n=g,i=p;try{for(var a=_e(s);a&&(a.nodeType!==M||a.data!==de);)a=V(a);if(!a)throw O;w(!0),C(a);const o=Q(t,{...e,anchor:a});return w(!1),o}catch(o){if(o instanceof Error&&o.message.split(` -`).some(r=>r.startsWith("https://svelte.dev/e/")))throw o;return o!==O&&console.warn("Failed to hydrate: ",o),e.recover===!1&&pe(),k(),ge(s),w(!1),G(t,e)}finally{w(n),C(i),we()}}const b=new Map;function Q(t,{target:e,anchor:s,props:n={},events:i,context:a,intro:o=!0}){k();var r=new Set,h=_=>{for(var c=0;c<_.length;c++){var u=_[c];if(!r.has(u)){r.add(u);var Y=me(u);e.addEventListener(u,T,{passive:Y});var q=b.get(u);q===void 0?(document.addEventListener(u,T,{passive:Y}),b.set(u,1)):b.set(u,q+1)}}};h(be(ve)),$.add(h);var l=void 0,J=ye(()=>{var _=s??e.appendChild(Ee());return je(_,{pending:()=>{}},c=>{if(a){Te({});var u=f;u.c=a}if(i&&(n.$$events=i),g&&Re(c,null),l=t(c,n)||{},g&&(R.nodes_end=p,p===null||p.nodeType!==M||p.data!==xe))throw Ae(),O;a&&Ce()}),()=>{for(var c of r){e.removeEventListener(c,T);var u=b.get(c);--u===0?(document.removeEventListener(c,T),b.delete(c)):b.set(c,u)}$.delete(h),_!==s&&_.parentNode?.removeChild(_)}});return F.set(l,J),l}let F=new WeakMap;function We(t,e){const s=F.get(t);return s?(F.delete(t),s(e)):Promise.resolve()}function Ge(t,e,s){if(t==null)return e(void 0),x;const n=y(()=>t.subscribe(e,s));return n.unsubscribe?()=>n.unsubscribe():n}const v=[];function it(t,e){return{subscribe:Qe(t,e).subscribe}}function Qe(t,e=x){let s=null;const n=new Set;function i(r){if(Se(t,r)&&(t=r,s)){const h=!v.length;for(const l of n)l[1](),v.push(l,t);if(h){for(let l=0;l{n.delete(l),n.size===0&&s&&(s(),s=null)}}return{set:i,update:a,subscribe:o}}function at(t){let e;return Ge(t,s=>e=s)(),e}function Xe(){return A===null&&Ne(),(A.ac??=new AbortController).signal}function X(t){f===null&&m(),Oe&&f.l!==null?P(f).m.push(t):De(()=>{const e=y(t);if(typeof e=="function")return e})}function Je(t){f===null&&m(),X(()=>()=>y(t))}function Ke(t,e,{bubbles:s=!1,cancelable:n=!1}={}){return new CustomEvent(t,{detail:e,bubbles:s,cancelable:n})}function Ze(){const t=f;return t===null&&m(),(e,s,n)=>{const i=t.s.$$events?.[e];if(i){const a=ke(i)?i.slice():[i],o=Ke(e,s,n);for(const r of a)r.call(t.x,o);return!o.defaultPrevented}return!0}}function et(t){f===null&&m(),f.l===null&&W(),P(f).b.push(t)}function tt(t){f===null&&m(),f.l===null&&W(),P(f).a.push(t)}function P(t){var e=t.l;return e.u??={a:[],b:[],m:[]}}const rt=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:tt,beforeUpdate:et,createEventDispatcher:Ze,createRawSnippet:Fe,flushSync:Me,getAbortSignal:Xe,getAllContexts:Pe,getContext:Ye,hasContext:qe,hydrate:Ve,mount:G,onDestroy:Je,onMount:X,setContext:He,settled:Ie,tick:Le,unmount:We,untrack:y},Symbol.toStringTag,{value:"Module"}));export{Ge as a,Je as b,rt as c,at as g,Ve as h,G as m,X as o,it as r,nt as s,We as u,Qe as w}; diff --git a/server/playground/_app/immutable/chunks/DPMvo626.js b/server/playground/_app/immutable/chunks/bc36GTfJ.js similarity index 95% rename from server/playground/_app/immutable/chunks/DPMvo626.js rename to server/playground/_app/immutable/chunks/bc36GTfJ.js index 18fde89..c0e3ca0 100644 --- a/server/playground/_app/immutable/chunks/DPMvo626.js +++ b/server/playground/_app/immutable/chunks/bc36GTfJ.js @@ -1 +1 @@ -var fe=Array.isArray,Be=Array.prototype.indexOf,Gn=Array.from,Pt=Object.defineProperty,dt=Object.getOwnPropertyDescriptor,We=Object.getOwnPropertyDescriptors,Ge=Object.prototype,$e=Array.prototype,oe=Object.getPrototypeOf,Qt=Object.isExtensible;function $n(t){return typeof t=="function"}const Ke=()=>{};function Kn(t){return t()}function ce(t){for(var e=0;e{t=r,e=a});return{promise:n,resolve:t,reject:e}}function Xn(t,e){if(Array.isArray(t))return t;if(!(Symbol.iterator in t))return Array.from(t);const n=[];for(const r of t)if(n.push(r),n.length===e)break;return n}const S=2,Yt=4,St=8,ot=16,q=32,at=64,_e=128,R=256,Et=512,b=1024,O=2048,z=4096,$=8192,ct=16384,Vt=32768,Ht=65536,te=1<<17,ve=1<<18,yt=1<<19,de=1<<20,Mt=1<<21,Ut=1<<22,Q=1<<23,tt=Symbol("$state"),Zn=Symbol("legacy props"),zn=Symbol(""),Bt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Qn=1,kt=3,Wt=8,Ze=11;function ze(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Je(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Qe(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function tn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function en(t){throw new Error("https://svelte.dev/e/effect_orphan")}function nn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function tr(){throw new Error("https://svelte.dev/e/get_abort_signal_outside_reaction")}function er(){throw new Error("https://svelte.dev/e/hydration_failed")}function nr(t){throw new Error("https://svelte.dev/e/lifecycle_legacy_only")}function rr(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function rn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function an(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function sn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ar(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const sr=1,ir=2,lr=4,ur=8,fr=16,or=1,cr=2,_r=4,vr=8,dr=16,ln=1,un=2,pe="[",fn="[!",on="]",Gt={},g=Symbol(),pr="http://www.w3.org/1999/xhtml",hr="http://www.w3.org/2000/svg",yr="@attach";function $t(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function wr(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function mr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function bt(t){w=t}let h;function D(t){if(t===null)throw $t(),Gt;return h=t}function he(){return D(j(h))}function gr(t){if(w){if(j(h)!==null)throw $t(),Gt;h=t}}function Er(t=1){if(w){for(var e=t,n=h;e--;)n=j(n);h=n}}function br(t=!0){for(var e=0,n=h;;){if(n.nodeType===Wt){var r=n.data;if(r===on){if(e===0)return n;e-=1}else(r===pe||r===fn)&&(e+=1)}var a=j(n);t&&n.remove(),n=a}}function Tr(t){if(!t||t.nodeType!==Wt)throw $t(),Gt;return t.data}function ye(t){return t===this.v}function cn(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function we(t){return!cn(t,this.v)}let Nt=!1;function Ar(){Nt=!0}let m=null;function Tt(t){m=t}function xr(t){return Rt().get(t)}function Sr(t,e){return Rt().set(t,e),e}function kr(t){return Rt().has(t)}function Nr(){return Rt()}function Rr(t,e=!1,n){m={p:m,c:null,e:null,s:t,x:null,l:Nt&&!e?{s:null,u:null,$:[]}:null}}function Cr(t){var e=m,n=e.e;if(n!==null){e.e=null;for(var r of n)Oe(r)}return m=e.p,{}}function wt(){return!Nt||m!==null&&m.l===null}function Rt(t){return m===null&&ze(),m.c??=new Map(_n(m)||void 0)}function _n(t){let e=t.p;for(;e!==null;){const n=e.c;if(n!==null)return n;e=e.p}return null}const vn=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let B=[],ut=[];function me(){var t=B;B=[],ce(t)}function ge(){var t=ut;ut=[],ce(t)}function dn(){return B.length>0||ut.length>0}function Ee(t){if(B.length===0&&!pt){var e=B;queueMicrotask(()=>{e===B&&me()})}B.push(t)}function Or(t){ut.length===0&&vn(ge),ut.push(t)}function pn(){B.length>0&&me(),ut.length>0&&ge()}const hn=new WeakMap;function yn(t){var e=_;if(e===null)return c.f|=Q,t;if((e.f&Vt)===0){if((e.f&_e)===0)throw!e.parent&&t instanceof Error&&be(t),t;e.b.error(t)}else At(t,e)}function At(t,e){for(;e!==null;){if((e.f&_e)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t instanceof Error&&be(t),t}function be(t){const e=hn.get(t);e&&(Pt(t,"message",{value:e.message}),Pt(t,"stack",{value:e.stack}))}const It=new Set;let E=null,ee=new Set,nt=[],Ct=null,Ft=!1,pt=!1;class rt{current=new Map;#u=new Map;#a=new Set;#t=0;#f=null;#o=!1;#n=[];#s=[];#r=[];#e=[];#i=[];#c=[];#_=[];skipped_effects=new Set;process(e){nt=[];for(const a of e)this.#d(a);if(this.#n.length===0&&this.#t===0){this.#v();var n=this.#r,r=this.#e;this.#r=[],this.#e=[],this.#i=[],E=null,ne(n),ne(r),E===null?E=this:It.delete(this),this.#f?.resolve()}else this.#l(this.#r),this.#l(this.#e),this.#l(this.#i);for(const a of this.#n)lt(a);for(const a of this.#s)lt(a);this.#n=[],this.#s=[]}#d(e){e.f^=b;for(var n=e.first;n!==null;){var r=n.f,a=(r&(q|at))!==0,s=a&&(r&b)!==0,i=s||(r&$)!==0||this.skipped_effects.has(n);if(!i&&n.fn!==null){if(a)n.f^=b;else if((r&Yt)!==0)this.#e.push(n);else if((r&b)===0)if((r&Ut)!==0){var f=n.b?.is_pending()?this.#s:this.#n;f.push(n)}else Ot(n)&&((n.f&ot)!==0&&this.#i.push(n),lt(n));var l=n.first;if(l!==null){n=l;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)n=u.next,u=u.parent}}#l(e){for(const n of e)((n.f&O)!==0?this.#c:this.#_).push(n),A(n,b);e.length=0}capture(e,n){this.#u.has(e)||this.#u.set(e,n),this.current.set(e,e.v)}activate(){E=this}deactivate(){E=null;for(const e of ee)if(ee.delete(e),e(),E!==null)break}neuter(){this.#o=!0}flush(){nt.length>0?Lt():this.#v(),E===this&&(this.#t===0&&It.delete(this),this.deactivate())}#v(){if(!this.#o)for(const e of this.#a)e();this.#a.clear()}increment(){this.#t+=1}decrement(){if(this.#t-=1,this.#t===0){for(const e of this.#c)A(e,O),ft(e);for(const e of this.#_)A(e,z),ft(e);this.#r=[],this.#e=[],this.flush()}else this.deactivate()}add_callback(e){this.#a.add(e)}settled(){return(this.#f??=Xe()).promise}static ensure(){if(E===null){const e=E=new rt;It.add(E),pt||rt.enqueue(()=>{E===e&&e.flush()})}return E}static enqueue(e){Ee(e)}}function wn(t){var e=pt;pt=!0;try{var n;for(t&&(Lt(),n=t());;){if(pn(),nt.length===0&&!dn()&&(E?.flush(),nt.length===0))return Ct=null,n;Lt()}}finally{pt=e}}function Lt(){var t=it;Ft=!0;try{var e=0;for(se(!0);nt.length>0;){var n=rt.ensure();if(e++>1e3){var r,a;mn()}n.process(nt),G.clear()}}finally{Ft=!1,se(t),Ct=null}}function mn(){try{nn()}catch(t){At(t,Ct)}}let J=null;function ne(t){var e=t.length;if(e!==0){for(var n=0;n0)){G.clear();for(const a of J)lt(a);J=[]}}J=null}}function ft(t){for(var e=Ct=t;e.parent!==null;){e=e.parent;var n=e.f;if(Ft&&e===_&&(n&ot)!==0)return;if((n&(at|q))!==0){if((n&b)===0)return;e.f^=b}}nt.push(e)}function gn(t,e,n){const r=wt()?Kt:Tn;if(e.length===0){n(t.map(r));return}var a=E,s=_,i=En(),f=w;Promise.all(e.map(l=>bn(l))).then(l=>{a?.activate(),i();try{n([...t.map(r),...l])}catch(u){(s.f&ct)===0&&At(u,s)}f&&bt(!1),a?.deactivate(),Te()}).catch(l=>{At(l,s)})}function En(){var t=_,e=c,n=m,r=E,a=w;if(a)var s=h;return function(){Z(t),P(e),Tt(n),r?.activate(),a&&(bt(!0),D(s))}}function Te(){Z(null),P(null),Tt(null)}function Kt(t){var e=S|O,n=c!==null&&(c.f&S)!==0?c:null;return _===null||n!==null&&(n.f&R)!==0?e|=R:_.f|=yt,{ctx:m,deps:null,effects:null,equals:ye,f:e,fn:t,reactions:null,rv:0,v:g,wv:0,parent:n??_,ac:null}}function bn(t,e){let n=_;n===null&&Je();var r=n.b,a=void 0,s=Zt(g),i=null,f=!c;return Nn(()=>{try{var l=t();i&&Promise.resolve(l).catch(()=>{})}catch(d){l=Promise.reject(d)}var u=()=>l;a=i?.then(u,u)??Promise.resolve(l),i=a;var o=E,v=r.is_pending();f&&(r.update_pending_count(1),v||o.increment());const y=(d,p=void 0)=>{i=null,v||o.activate(),p?p!==Bt&&(s.f|=Q,jt(s,p)):((s.f&Q)!==0&&(s.f^=Q),jt(s,d)),f&&(r.update_pending_count(-1),v||o.decrement()),Te()};if(a.then(y,d=>y(null,d||"unknown")),o)return()=>{queueMicrotask(()=>o.neuter())}}),new Promise(l=>{function u(o){function v(){o===a?l(s):u(a)}o.then(v,v)}u(a)})}function Ir(t){const e=Kt(t);return je(e),e}function Tn(t){const e=Kt(t);return e.equals=we,e}function Ae(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n{if(et===s)return f();var l=c,u=et;P(null),le(s);var o=f();return P(l),le(u),o};return r&&n.set("length",H(t.length)),new Proxy(t,{defineProperty(f,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&rn();var o=n.get(l);return o===void 0?o=i(()=>{var v=H(u.value);return n.set(l,v),v}):U(o,u.value,!0),!0},deleteProperty(f,l){var u=n.get(l);if(u===void 0){if(l in f){const o=i(()=>H(g));n.set(l,o),Dt(a)}}else U(u,g),Dt(a);return!0},get(f,l,u){if(l===tt)return t;var o=n.get(l),v=l in f;if(o===void 0&&(!v||dt(f,l)?.writable)&&(o=i(()=>{var d=vt(v?f[l]:g),p=H(d);return p}),n.set(l,o)),o!==void 0){var y=st(o);return y===g?void 0:y}return Reflect.get(f,l,u)},getOwnPropertyDescriptor(f,l){var u=Reflect.getOwnPropertyDescriptor(f,l);if(u&&"value"in u){var o=n.get(l);o&&(u.value=st(o))}else if(u===void 0){var v=n.get(l),y=v?.v;if(v!==void 0&&y!==g)return{enumerable:!0,configurable:!0,value:y,writable:!0}}return u},has(f,l){if(l===tt)return!0;var u=n.get(l),o=u!==void 0&&u.v!==g||Reflect.has(f,l);if(u!==void 0||_!==null&&(!o||dt(f,l)?.writable)){u===void 0&&(u=i(()=>{var y=o?vt(f[l]):g,d=H(y);return d}),n.set(l,u));var v=st(u);if(v===g)return!1}return o},set(f,l,u,o){var v=n.get(l),y=l in f;if(r&&l==="length")for(var d=u;dH(g)),n.set(d+"",p))}if(v===void 0)(!y||dt(f,l)?.writable)&&(v=i(()=>H(void 0)),U(v,vt(u)),n.set(l,v));else{y=v.v!==g;var Y=i(()=>vt(u));U(v,Y)}var mt=Reflect.getOwnPropertyDescriptor(f,l);if(mt?.set&&mt.set.call(o,u),!y){if(r&&typeof l=="string"){var gt=n.get("length"),V=Number(l);Number.isInteger(V)&&V>=gt.v&&U(gt,V+1)}Dt(a)}return!0},ownKeys(f){st(a);var l=Reflect.ownKeys(f).filter(v=>{var y=n.get(v);return y===void 0||y.v!==g});for(var[u,o]of n)o.v!==g&&!(u in f)&&l.push(u);return l},setPrototypeOf(){an()}})}function re(t){try{if(t!==null&&typeof t=="object"&&tt in t)return t[tt]}catch{}return t}function Mr(t,e){return Object.is(re(t),re(e))}var ae,xn,ke,Ne,Re;function Fr(){if(ae===void 0){ae=window,xn=document,ke=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Ne=dt(e,"firstChild").get,Re=dt(e,"nextSibling").get,Qt(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Qt(n)&&(n.__t=void 0)}}function K(t=""){return document.createTextNode(t)}function L(t){return Ne.call(t)}function j(t){return Re.call(t)}function Lr(t,e){if(!w)return L(t);var n=L(h);if(n===null)n=h.appendChild(K());else if(e&&n.nodeType!==kt){var r=K();return n?.before(r),D(r),r}return D(n),n}function jr(t,e=!1){if(!w){var n=L(t);return n instanceof Comment&&n.data===""?j(n):n}if(e&&h?.nodeType!==kt){var r=K();return h?.before(r),D(r),r}return h}function qr(t,e=1,n=!1){let r=w?h:t;for(var a;e--;)a=r,r=j(r);if(!w)return r;if(n&&r?.nodeType!==kt){var s=K();return r===null?a?.after(s):r.before(s),D(s),s}return D(r),r}function Yr(t){t.textContent=""}function Vr(){return!1}function zt(t){var e=c,n=_;P(null),Z(null);try{return t()}finally{P(e),Z(n)}}function Ce(t){_===null&&c===null&&en(),c!==null&&(c.f&R)!==0&&_===null&&tn(),_t&&Qe()}function Sn(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function M(t,e,n,r=!0){var a=_;a!==null&&(a.f&$)!==0&&(t|=$);var s={ctx:m,deps:null,nodes_start:null,nodes_end:null,f:t|O,first:null,fn:e,last:null,next:null,parent:a,b:a&&a.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{lt(s),s.f|=Vt}catch(l){throw X(s),l}else e!==null&&ft(s);if(r){var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&yt)===0&&(i=i.first),i!==null&&(i.parent=a,a!==null&&Sn(i,a),c!==null&&(c.f&S)!==0&&(t&at)===0)){var f=c;(f.effects??=[]).push(i)}}return s}function Hr(){return c!==null&&!C}function kn(t){const e=M(St,null,!1);return A(e,b),e.teardown=t,e}function Ur(t){Ce();var e=_.f,n=!c&&(e&q)!==0&&(e&Vt)===0;if(n){var r=m;(r.e??=[]).push(t)}else return Oe(t)}function Oe(t){return M(Yt|de,t,!1)}function Br(t){return Ce(),M(St|de,t,!0)}function Wr(t){rt.ensure();const e=M(at|yt,t,!0);return(n={})=>new Promise(r=>{n.outro?In(e,()=>{X(e),r(void 0)}):(X(e),r(void 0))})}function Gr(t){return M(Yt,t,!1)}function Nn(t){return M(Ut|yt,t,!0)}function $r(t,e=0){return M(St|e,t,!0)}function Kr(t,e=[],n=[]){gn(e,n,r=>{M(St,()=>t(...r.map(st)),!0)})}function Ie(t,e=0){var n=M(ot|e,t,!0);return n}function Rn(t,e=!0){return M(q|yt,t,!0,e)}function De(t){var e=t.teardown;if(e!==null){const n=_t,r=c;ie(!0),P(null);try{e.call(null)}finally{ie(n),P(r)}}}function Pe(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const a=n.ac;a!==null&&zt(()=>{a.abort(Bt)});var r=n.next;(n.f&at)!==0?n.parent=null:X(n,e),n=r}}function Cn(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&q)===0&&X(e),e=n}}function X(t,e=!0){var n=!1;(e||(t.f&ve)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(On(t.nodes_start,t.nodes_end),n=!0),Pe(t,e&&!n),xt(t,0),A(t,ct);var r=t.transitions;if(r!==null)for(const s of r)s.stop();De(t);var a=t.parent;a!==null&&a.first!==null&&Me(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function On(t,e){for(;t!==null;){var n=t===e?null:j(t);t.remove(),t=n}}function Me(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function In(t,e){var n=[];Fe(t,n,!0),Dn(n,()=>{X(t),e&&e()})}function Dn(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var a of t)a.out(r)}else e()}function Fe(t,e,n){if((t.f&$)===0){if(t.f^=$,t.transitions!==null)for(const i of t.transitions)(i.is_global||n)&&e.push(i);for(var r=t.first;r!==null;){var a=r.next,s=(r.f&Ht)!==0||(r.f&q)!==0;Fe(r,e,s?n:!1),r=a}}}function Xr(t){Le(t,!0)}function Le(t,e){if((t.f&$)!==0){t.f^=$,(t.f&b)===0&&(A(t,O),ft(t));for(var n=t.first;n!==null;){var r=n.next,a=(n.f&Ht)!==0||(n.f&q)!==0;Le(n,a?e:!1),n=r}if(t.transitions!==null)for(const s of t.transitions)(s.is_global||e)&&s.in()}}let it=!1;function se(t){it=t}let _t=!1;function ie(t){_t=t}let c=null,C=!1;function P(t){c=t}let _=null;function Z(t){_=t}let F=null;function je(t){c!==null&&(F===null?F=[t]:F.push(t))}let T=null,x=0,N=null;function Pn(t){N=t}let qe=1,ht=0,et=ht;function le(t){et=t}let W=!1;function Ye(){return++qe}function Ot(t){var e=t.f;if((e&O)!==0)return!0;if((e&z)!==0){var n=t.deps,r=(e&R)!==0;if(n!==null){var a,s,i=(e&Et)!==0,f=r&&_!==null&&!W,l=n.length;if((i||f)&&(_===null||(_.f&ct)===0)){var u=t,o=u.parent;for(a=0;at.wv)return!0}(!r||_!==null&&!W)&&A(t,b)}return!1}function Ve(t,e,n=!0){var r=t.reactions;if(r!==null&&!F?.includes(t))for(var a=0;a{t.ac.abort(Bt)}),t.ac=null);try{t.f|=Mt;var v=t.fn,y=v(),d=t.deps;if(T!==null){var p;if(xt(t,x),d!==null&&x>0)for(d.length=x+T.length,p=0;pn?.call(this,s))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?Ee(()=>{e.addEventListener(t,a,r)}):e.addEventListener(t,a,r),a}function ia(t){for(var e=0;e{throw V});throw y}}finally{t.__root=e,delete t.currentTarget,P(o),Z(v)}}}let k;function la(){k=void 0}function ua(t){let e=null,n=w;var r;if(w){for(e=h,k===void 0&&(k=L(document.head));k!==null&&(k.nodeType!==Wt||k.data!==pe);)k=j(k);k===null?bt(!1):k=D(j(k))}w||(r=document.head.appendChild(K()));try{Ie(()=>t(r),ve)}finally{n&&(bt(!0),k=h,D(e))}}function Jt(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("",""),e.content}function I(t,e){var n=_;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function fa(t,e){var n=(e&ln)!==0,r=(e&un)!==0,a,s=!t.startsWith("");return()=>{if(w)return I(h,null),h;a===void 0&&(a=Jt(s?t:""+t),n||(a=L(a)));var i=r||ke?document.importNode(a,!0):a.cloneNode(!0);if(n){var f=L(i),l=i.lastChild;I(f,l)}else I(i,i);return i}}function Bn(t,e,n="svg"){var r=!t.startsWith(""),a=`<${n}>${r?t:""+t}`,s;return()=>{if(w)return I(h,null),h;if(!s){var i=Jt(a),f=L(i);s=L(f)}var l=s.cloneNode(!0);return I(l,l),l}}function oa(t,e){return Bn(t,e,"svg")}function ca(t){return()=>Wn(t())}function Wn(t){if(w)return t;const e=t.nodeType===Ze,n=t.tagName==="SCRIPT"?[t]:t.querySelectorAll("script"),r=_;for(const s of n){const i=document.createElement("script");for(var a of s.attributes)i.setAttribute(a.name,a.value);i.textContent=s.textContent,(e?t.firstChild===s:t===s)&&(r.nodes_start=i),(e?t.lastChild===s:t===s)&&(r.nodes_end=i),s.replaceWith(i)}return t}function _a(t=""){if(!w){var e=K(t+"");return I(e,e),e}var n=h;return n.nodeType!==kt&&(n.before(n=K()),D(n)),I(n,n),n}function va(){if(w)return I(h,null),h;var t=document.createDocumentFragment(),e=document.createComment(""),n=K();return t.append(e,n),I(e,n),t}function da(t,e){if(w){_.nodes_end=h,he();return}t!==null&&t.before(e)}function pa(t,e,...n){var r=t,a=Ke,s;Ie(()=>{a!==(a=e())&&(s&&(X(s),s=null),s=Rn(()=>a(r,...n)))},Ht),w&&(r=h)}function ha(t){return(e,...n)=>{var r=t(...n),a;if(w)a=h,he();else{var s=r.render().trim(),i=Jt(s);a=L(i),e.before(a)}const f=r.setup?.(a);I(a,a),typeof f=="function"&&kn(f)}}export{xn as $,he as A,Tr as B,br as C,D,Ht as E,bt as F,K as G,fn as H,Rn as I,E as J,Vr as K,Xr as L,In as M,h as N,Gr as O,$r as P,Ee as Q,Dr as R,tt as S,kn as T,g as U,U as V,Pt as W,_ as X,Zt as Y,dt as Z,rr as _,Ur as a,_a as a$,_r as a0,vt as a1,ct as a2,Tn as a3,Pr as a4,Z as a5,vr as a6,Nt as a7,cr as a8,or as a9,er as aA,Yr as aB,Gn as aC,Vn as aD,Hn as aE,Wr as aF,Un as aG,ra as aH,la as aI,I as aJ,on as aK,$t as aL,cn as aM,ze as aN,tr as aO,fe as aP,nr as aQ,ha as aR,wn as aS,Nr as aT,xr as aU,kr as aV,Sr as aW,zr as aX,Zr as aY,H as aZ,Ir as a_,$n as aa,Zn as ab,dr as ac,_t as ad,Hr as ae,Dt as af,jt as ag,Wt as ah,rt as ai,P as aj,Tt as ak,yn as al,c as am,ee as an,X as ao,Er as ap,At as aq,ar,yt as as,_e as at,j as au,mr as av,Fr as aw,L as ax,pe as ay,Gt as az,Jr as b,wr as b0,Mr as b1,gn as b2,yr as b3,ta as b4,sa as b5,ia as b6,na as b7,Or as b8,pr as b9,oe as ba,zn as bb,ea as bc,We as bd,ir as be,sr as bf,fr as bg,$ as bh,Fe as bi,Dn as bj,lr as bk,ur as bl,Qn as bm,hr as bn,aa as bo,oa as bp,Xn as bq,m as c,Kn as d,Qr as e,Kt as f,st as g,Ar as h,fa as i,jr as j,da as k,Cr as l,Lr as m,gr as n,va as o,Rr as p,ua as q,ce as r,qr as s,Kr as t,Br as u,pa as v,ca as w,Ke as x,Ie as y,w as z}; +var fe=Array.isArray,Be=Array.prototype.indexOf,Gn=Array.from,Pt=Object.defineProperty,dt=Object.getOwnPropertyDescriptor,We=Object.getOwnPropertyDescriptors,Ge=Object.prototype,$e=Array.prototype,oe=Object.getPrototypeOf,Qt=Object.isExtensible;function $n(t){return typeof t=="function"}const Ke=()=>{};function Kn(t){return t()}function ce(t){for(var e=0;e{t=r,e=a});return{promise:n,resolve:t,reject:e}}function Xn(t,e){if(Array.isArray(t))return t;if(!(Symbol.iterator in t))return Array.from(t);const n=[];for(const r of t)if(n.push(r),n.length===e)break;return n}const S=2,Yt=4,St=8,ot=16,q=32,at=64,_e=128,R=256,Et=512,b=1024,O=2048,z=4096,$=8192,ct=16384,Vt=32768,Ht=65536,te=1<<17,ve=1<<18,yt=1<<19,de=1<<20,Mt=1<<21,Ut=1<<22,Q=1<<23,tt=Symbol("$state"),Zn=Symbol("legacy props"),zn=Symbol(""),Bt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Qn=1,kt=3,Wt=8,Ze=11;function ze(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Je(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Qe(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function tn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function en(t){throw new Error("https://svelte.dev/e/effect_orphan")}function nn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function tr(){throw new Error("https://svelte.dev/e/get_abort_signal_outside_reaction")}function er(){throw new Error("https://svelte.dev/e/hydration_failed")}function nr(t){throw new Error("https://svelte.dev/e/lifecycle_legacy_only")}function rr(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function rn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function an(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function sn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ar(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const sr=1,ir=2,lr=4,ur=8,fr=16,or=1,cr=2,_r=4,vr=8,dr=16,ln=1,un=2,pe="[",fn="[!",on="]",Gt={},g=Symbol(),pr="http://www.w3.org/1999/xhtml",hr="http://www.w3.org/2000/svg",yr="@attach";function $t(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function wr(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function mr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function bt(t){w=t}let h;function D(t){if(t===null)throw $t(),Gt;return h=t}function he(){return D(j(h))}function gr(t){if(w){if(j(h)!==null)throw $t(),Gt;h=t}}function Er(t=1){if(w){for(var e=t,n=h;e--;)n=j(n);h=n}}function br(t=!0){for(var e=0,n=h;;){if(n.nodeType===Wt){var r=n.data;if(r===on){if(e===0)return n;e-=1}else(r===pe||r===fn)&&(e+=1)}var a=j(n);t&&n.remove(),n=a}}function Tr(t){if(!t||t.nodeType!==Wt)throw $t(),Gt;return t.data}function ye(t){return t===this.v}function cn(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function we(t){return!cn(t,this.v)}let Nt=!1;function Ar(){Nt=!0}let m=null;function Tt(t){m=t}function xr(t){return Rt().get(t)}function Sr(t,e){return Rt().set(t,e),e}function kr(t){return Rt().has(t)}function Nr(){return Rt()}function Rr(t,e=!1,n){m={p:m,c:null,e:null,s:t,x:null,l:Nt&&!e?{s:null,u:null,$:[]}:null}}function Cr(t){var e=m,n=e.e;if(n!==null){e.e=null;for(var r of n)Oe(r)}return m=e.p,{}}function wt(){return!Nt||m!==null&&m.l===null}function Rt(t){return m===null&&ze(),m.c??=new Map(_n(m)||void 0)}function _n(t){let e=t.p;for(;e!==null;){const n=e.c;if(n!==null)return n;e=e.p}return null}const vn=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let B=[],ut=[];function me(){var t=B;B=[],ce(t)}function ge(){var t=ut;ut=[],ce(t)}function dn(){return B.length>0||ut.length>0}function Ee(t){if(B.length===0&&!pt){var e=B;queueMicrotask(()=>{e===B&&me()})}B.push(t)}function Or(t){ut.length===0&&vn(ge),ut.push(t)}function pn(){B.length>0&&me(),ut.length>0&&ge()}const hn=new WeakMap;function yn(t){var e=_;if(e===null)return c.f|=Q,t;if((e.f&Vt)===0){if((e.f&_e)===0)throw!e.parent&&t instanceof Error&&be(t),t;e.b.error(t)}else At(t,e)}function At(t,e){for(;e!==null;){if((e.f&_e)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t instanceof Error&&be(t),t}function be(t){const e=hn.get(t);e&&(Pt(t,"message",{value:e.message}),Pt(t,"stack",{value:e.stack}))}const It=new Set;let E=null,ee=new Set,nt=[],Ct=null,Ft=!1,pt=!1;class rt{current=new Map;#u=new Map;#a=new Set;#t=0;#f=null;#o=!1;#n=[];#s=[];#r=[];#e=[];#i=[];#c=[];#_=[];skipped_effects=new Set;process(e){nt=[];for(const a of e)this.#d(a);if(this.#n.length===0&&this.#t===0){this.#v();var n=this.#r,r=this.#e;this.#r=[],this.#e=[],this.#i=[],E=null,ne(n),ne(r),E===null?E=this:It.delete(this),this.#f?.resolve()}else this.#l(this.#r),this.#l(this.#e),this.#l(this.#i);for(const a of this.#n)lt(a);for(const a of this.#s)lt(a);this.#n=[],this.#s=[]}#d(e){e.f^=b;for(var n=e.first;n!==null;){var r=n.f,a=(r&(q|at))!==0,s=a&&(r&b)!==0,i=s||(r&$)!==0||this.skipped_effects.has(n);if(!i&&n.fn!==null){if(a)n.f^=b;else if((r&Yt)!==0)this.#e.push(n);else if((r&b)===0)if((r&Ut)!==0){var f=n.b?.is_pending()?this.#s:this.#n;f.push(n)}else Ot(n)&&((n.f&ot)!==0&&this.#i.push(n),lt(n));var l=n.first;if(l!==null){n=l;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)n=u.next,u=u.parent}}#l(e){for(const n of e)((n.f&O)!==0?this.#c:this.#_).push(n),A(n,b);e.length=0}capture(e,n){this.#u.has(e)||this.#u.set(e,n),this.current.set(e,e.v)}activate(){E=this}deactivate(){E=null;for(const e of ee)if(ee.delete(e),e(),E!==null)break}neuter(){this.#o=!0}flush(){nt.length>0?Lt():this.#v(),E===this&&(this.#t===0&&It.delete(this),this.deactivate())}#v(){if(!this.#o)for(const e of this.#a)e();this.#a.clear()}increment(){this.#t+=1}decrement(){if(this.#t-=1,this.#t===0){for(const e of this.#c)A(e,O),ft(e);for(const e of this.#_)A(e,z),ft(e);this.#r=[],this.#e=[],this.flush()}else this.deactivate()}add_callback(e){this.#a.add(e)}settled(){return(this.#f??=Xe()).promise}static ensure(){if(E===null){const e=E=new rt;It.add(E),pt||rt.enqueue(()=>{E===e&&e.flush()})}return E}static enqueue(e){Ee(e)}}function wn(t){var e=pt;pt=!0;try{var n;for(t&&(Lt(),n=t());;){if(pn(),nt.length===0&&!dn()&&(E?.flush(),nt.length===0))return Ct=null,n;Lt()}}finally{pt=e}}function Lt(){var t=it;Ft=!0;try{var e=0;for(se(!0);nt.length>0;){var n=rt.ensure();if(e++>1e3){var r,a;mn()}n.process(nt),G.clear()}}finally{Ft=!1,se(t),Ct=null}}function mn(){try{nn()}catch(t){At(t,Ct)}}let J=null;function ne(t){var e=t.length;if(e!==0){for(var n=0;n0)){G.clear();for(const a of J)lt(a);J=[]}}J=null}}function ft(t){for(var e=Ct=t;e.parent!==null;){e=e.parent;var n=e.f;if(Ft&&e===_&&(n&ot)!==0)return;if((n&(at|q))!==0){if((n&b)===0)return;e.f^=b}}nt.push(e)}function gn(t,e,n){const r=wt()?Kt:Tn;if(e.length===0){n(t.map(r));return}var a=E,s=_,i=En(),f=w;Promise.all(e.map(l=>bn(l))).then(l=>{a?.activate(),i();try{n([...t.map(r),...l])}catch(u){(s.f&ct)===0&&At(u,s)}f&&bt(!1),a?.deactivate(),Te()}).catch(l=>{At(l,s)})}function En(){var t=_,e=c,n=m,r=E,a=w;if(a)var s=h;return function(){Z(t),P(e),Tt(n),r?.activate(),a&&(bt(!0),D(s))}}function Te(){Z(null),P(null),Tt(null)}function Kt(t){var e=S|O,n=c!==null&&(c.f&S)!==0?c:null;return _===null||n!==null&&(n.f&R)!==0?e|=R:_.f|=yt,{ctx:m,deps:null,effects:null,equals:ye,f:e,fn:t,reactions:null,rv:0,v:g,wv:0,parent:n??_,ac:null}}function bn(t,e){let n=_;n===null&&Je();var r=n.b,a=void 0,s=Zt(g),i=null,f=!c;return Nn(()=>{try{var l=t();i&&Promise.resolve(l).catch(()=>{})}catch(d){l=Promise.reject(d)}var u=()=>l;a=i?.then(u,u)??Promise.resolve(l),i=a;var o=E,v=r.is_pending();f&&(r.update_pending_count(1),v||o.increment());const y=(d,p=void 0)=>{i=null,v||o.activate(),p?p!==Bt&&(s.f|=Q,jt(s,p)):((s.f&Q)!==0&&(s.f^=Q),jt(s,d)),f&&(r.update_pending_count(-1),v||o.decrement()),Te()};if(a.then(y,d=>y(null,d||"unknown")),o)return()=>{queueMicrotask(()=>o.neuter())}}),new Promise(l=>{function u(o){function v(){o===a?l(s):u(a)}o.then(v,v)}u(a)})}function Ir(t){const e=Kt(t);return je(e),e}function Tn(t){const e=Kt(t);return e.equals=we,e}function Ae(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n{if(et===s)return f();var l=c,u=et;P(null),le(s);var o=f();return P(l),le(u),o};return r&&n.set("length",H(t.length)),new Proxy(t,{defineProperty(f,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&rn();var o=n.get(l);return o===void 0?o=i(()=>{var v=H(u.value);return n.set(l,v),v}):U(o,u.value,!0),!0},deleteProperty(f,l){var u=n.get(l);if(u===void 0){if(l in f){const o=i(()=>H(g));n.set(l,o),Dt(a)}}else U(u,g),Dt(a);return!0},get(f,l,u){if(l===tt)return t;var o=n.get(l),v=l in f;if(o===void 0&&(!v||dt(f,l)?.writable)&&(o=i(()=>{var d=vt(v?f[l]:g),p=H(d);return p}),n.set(l,o)),o!==void 0){var y=st(o);return y===g?void 0:y}return Reflect.get(f,l,u)},getOwnPropertyDescriptor(f,l){var u=Reflect.getOwnPropertyDescriptor(f,l);if(u&&"value"in u){var o=n.get(l);o&&(u.value=st(o))}else if(u===void 0){var v=n.get(l),y=v?.v;if(v!==void 0&&y!==g)return{enumerable:!0,configurable:!0,value:y,writable:!0}}return u},has(f,l){if(l===tt)return!0;var u=n.get(l),o=u!==void 0&&u.v!==g||Reflect.has(f,l);if(u!==void 0||_!==null&&(!o||dt(f,l)?.writable)){u===void 0&&(u=i(()=>{var y=o?vt(f[l]):g,d=H(y);return d}),n.set(l,u));var v=st(u);if(v===g)return!1}return o},set(f,l,u,o){var v=n.get(l),y=l in f;if(r&&l==="length")for(var d=u;dH(g)),n.set(d+"",p))}if(v===void 0)(!y||dt(f,l)?.writable)&&(v=i(()=>H(void 0)),U(v,vt(u)),n.set(l,v));else{y=v.v!==g;var Y=i(()=>vt(u));U(v,Y)}var mt=Reflect.getOwnPropertyDescriptor(f,l);if(mt?.set&&mt.set.call(o,u),!y){if(r&&typeof l=="string"){var gt=n.get("length"),V=Number(l);Number.isInteger(V)&&V>=gt.v&&U(gt,V+1)}Dt(a)}return!0},ownKeys(f){st(a);var l=Reflect.ownKeys(f).filter(v=>{var y=n.get(v);return y===void 0||y.v!==g});for(var[u,o]of n)o.v!==g&&!(u in f)&&l.push(u);return l},setPrototypeOf(){an()}})}function re(t){try{if(t!==null&&typeof t=="object"&&tt in t)return t[tt]}catch{}return t}function Mr(t,e){return Object.is(re(t),re(e))}var ae,xn,ke,Ne,Re;function Fr(){if(ae===void 0){ae=window,xn=document,ke=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Ne=dt(e,"firstChild").get,Re=dt(e,"nextSibling").get,Qt(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Qt(n)&&(n.__t=void 0)}}function K(t=""){return document.createTextNode(t)}function L(t){return Ne.call(t)}function j(t){return Re.call(t)}function Lr(t,e){if(!w)return L(t);var n=L(h);if(n===null)n=h.appendChild(K());else if(e&&n.nodeType!==kt){var r=K();return n?.before(r),D(r),r}return D(n),n}function jr(t,e=!1){if(!w){var n=L(t);return n instanceof Comment&&n.data===""?j(n):n}if(e&&h?.nodeType!==kt){var r=K();return h?.before(r),D(r),r}return h}function qr(t,e=1,n=!1){let r=w?h:t;for(var a;e--;)a=r,r=j(r);if(!w)return r;if(n&&r?.nodeType!==kt){var s=K();return r===null?a?.after(s):r.before(s),D(s),s}return D(r),r}function Yr(t){t.textContent=""}function Vr(){return!1}function zt(t){var e=c,n=_;P(null),Z(null);try{return t()}finally{P(e),Z(n)}}function Ce(t){_===null&&c===null&&en(),c!==null&&(c.f&R)!==0&&_===null&&tn(),_t&&Qe()}function Sn(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function M(t,e,n,r=!0){var a=_;a!==null&&(a.f&$)!==0&&(t|=$);var s={ctx:m,deps:null,nodes_start:null,nodes_end:null,f:t|O,first:null,fn:e,last:null,next:null,parent:a,b:a&&a.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{lt(s),s.f|=Vt}catch(l){throw X(s),l}else e!==null&&ft(s);if(r){var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&yt)===0&&(i=i.first),i!==null&&(i.parent=a,a!==null&&Sn(i,a),c!==null&&(c.f&S)!==0&&(t&at)===0)){var f=c;(f.effects??=[]).push(i)}}return s}function Hr(){return c!==null&&!C}function kn(t){const e=M(St,null,!1);return A(e,b),e.teardown=t,e}function Ur(t){Ce();var e=_.f,n=!c&&(e&q)!==0&&(e&Vt)===0;if(n){var r=m;(r.e??=[]).push(t)}else return Oe(t)}function Oe(t){return M(Yt|de,t,!1)}function Br(t){return Ce(),M(St|de,t,!0)}function Wr(t){rt.ensure();const e=M(at|yt,t,!0);return(n={})=>new Promise(r=>{n.outro?In(e,()=>{X(e),r(void 0)}):(X(e),r(void 0))})}function Gr(t){return M(Yt,t,!1)}function Nn(t){return M(Ut|yt,t,!0)}function $r(t,e=0){return M(St|e,t,!0)}function Kr(t,e=[],n=[]){gn(e,n,r=>{M(St,()=>t(...r.map(st)),!0)})}function Ie(t,e=0){var n=M(ot|e,t,!0);return n}function Rn(t,e=!0){return M(q|yt,t,!0,e)}function De(t){var e=t.teardown;if(e!==null){const n=_t,r=c;ie(!0),P(null);try{e.call(null)}finally{ie(n),P(r)}}}function Pe(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const a=n.ac;a!==null&&zt(()=>{a.abort(Bt)});var r=n.next;(n.f&at)!==0?n.parent=null:X(n,e),n=r}}function Cn(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&q)===0&&X(e),e=n}}function X(t,e=!0){var n=!1;(e||(t.f&ve)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(On(t.nodes_start,t.nodes_end),n=!0),Pe(t,e&&!n),xt(t,0),A(t,ct);var r=t.transitions;if(r!==null)for(const s of r)s.stop();De(t);var a=t.parent;a!==null&&a.first!==null&&Me(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function On(t,e){for(;t!==null;){var n=t===e?null:j(t);t.remove(),t=n}}function Me(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function In(t,e){var n=[];Fe(t,n,!0),Dn(n,()=>{X(t),e&&e()})}function Dn(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var a of t)a.out(r)}else e()}function Fe(t,e,n){if((t.f&$)===0){if(t.f^=$,t.transitions!==null)for(const i of t.transitions)(i.is_global||n)&&e.push(i);for(var r=t.first;r!==null;){var a=r.next,s=(r.f&Ht)!==0||(r.f&q)!==0;Fe(r,e,s?n:!1),r=a}}}function Xr(t){Le(t,!0)}function Le(t,e){if((t.f&$)!==0){t.f^=$,(t.f&b)===0&&(A(t,O),ft(t));for(var n=t.first;n!==null;){var r=n.next,a=(n.f&Ht)!==0||(n.f&q)!==0;Le(n,a?e:!1),n=r}if(t.transitions!==null)for(const s of t.transitions)(s.is_global||e)&&s.in()}}let it=!1;function se(t){it=t}let _t=!1;function ie(t){_t=t}let c=null,C=!1;function P(t){c=t}let _=null;function Z(t){_=t}let F=null;function je(t){c!==null&&(F===null?F=[t]:F.push(t))}let T=null,x=0,N=null;function Pn(t){N=t}let qe=1,ht=0,et=ht;function le(t){et=t}let W=!1;function Ye(){return++qe}function Ot(t){var e=t.f;if((e&O)!==0)return!0;if((e&z)!==0){var n=t.deps,r=(e&R)!==0;if(n!==null){var a,s,i=(e&Et)!==0,f=r&&_!==null&&!W,l=n.length;if((i||f)&&(_===null||(_.f&ct)===0)){var u=t,o=u.parent;for(a=0;at.wv)return!0}(!r||_!==null&&!W)&&A(t,b)}return!1}function Ve(t,e,n=!0){var r=t.reactions;if(r!==null&&!F?.includes(t))for(var a=0;a{t.ac.abort(Bt)}),t.ac=null);try{t.f|=Mt;var v=t.fn,y=v(),d=t.deps;if(T!==null){var p;if(xt(t,x),d!==null&&x>0)for(d.length=x+T.length,p=0;pn?.call(this,s))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?Ee(()=>{e.addEventListener(t,a,r)}):e.addEventListener(t,a,r),a}function ia(t){for(var e=0;e{throw V});throw y}}finally{t.__root=e,delete t.currentTarget,P(o),Z(v)}}}let k;function la(){k=void 0}function ua(t){let e=null,n=w;var r;if(w){for(e=h,k===void 0&&(k=L(document.head));k!==null&&(k.nodeType!==Wt||k.data!==pe);)k=j(k);k===null?bt(!1):k=D(j(k))}w||(r=document.head.appendChild(K()));try{Ie(()=>t(r),ve)}finally{n&&(bt(!0),k=h,D(e))}}function Jt(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("",""),e.content}function I(t,e){var n=_;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function fa(t,e){var n=(e&ln)!==0,r=(e&un)!==0,a,s=!t.startsWith("");return()=>{if(w)return I(h,null),h;a===void 0&&(a=Jt(s?t:""+t),n||(a=L(a)));var i=r||ke?document.importNode(a,!0):a.cloneNode(!0);if(n){var f=L(i),l=i.lastChild;I(f,l)}else I(i,i);return i}}function Bn(t,e,n="svg"){var r=!t.startsWith(""),a=`<${n}>${r?t:""+t}`,s;return()=>{if(w)return I(h,null),h;if(!s){var i=Jt(a),f=L(i);s=L(f)}var l=s.cloneNode(!0);return I(l,l),l}}function oa(t,e){return Bn(t,e,"svg")}function ca(t){return()=>Wn(t())}function Wn(t){if(w)return t;const e=t.nodeType===Ze,n=t.tagName==="SCRIPT"?[t]:t.querySelectorAll("script"),r=_;for(const s of n){const i=document.createElement("script");for(var a of s.attributes)i.setAttribute(a.name,a.value);i.textContent=s.textContent,(e?t.firstChild===s:t===s)&&(r.nodes_start=i),(e?t.lastChild===s:t===s)&&(r.nodes_end=i),s.replaceWith(i)}return t}function _a(t=""){if(!w){var e=K(t+"");return I(e,e),e}var n=h;return n.nodeType!==kt&&(n.before(n=K()),D(n)),I(n,n),n}function va(){if(w)return I(h,null),h;var t=document.createDocumentFragment(),e=document.createComment(""),n=K();return t.append(e,n),I(e,n),t}function da(t,e){if(w){_.nodes_end=h,he();return}t!==null&&t.before(e)}function pa(t,e,...n){var r=t,a=Ke,s;Ie(()=>{a!==(a=e())&&(s&&(X(s),s=null),s=Rn(()=>a(r,...n)))},Ht),w&&(r=h)}function ha(t){return(e,...n)=>{var r=t(...n),a;if(w)a=h,he();else{var s=r.render().trim(),i=Jt(s);a=L(i),e.before(a)}const f=r.setup?.(a);I(a,a),typeof f=="function"&&kn(f)}}export{xn as $,w as A,he as B,Tr as C,br as D,Ht as E,D as F,bt as G,fn as H,K as I,Rn as J,E as K,Vr as L,Xr as M,In as N,h as O,Gr as P,$r as Q,Ee as R,tt as S,Dr as T,g as U,kn as V,U as W,Pt as X,_ as Y,Zt as Z,dt as _,Ur as a,_a as a$,rr as a0,_r as a1,vt as a2,ct as a3,Tn as a4,Pr as a5,Z as a6,vr as a7,Nt as a8,cr as a9,er as aA,Yr as aB,Gn as aC,Vn as aD,Hn as aE,Wr as aF,Un as aG,ra as aH,la as aI,I as aJ,on as aK,$t as aL,cn as aM,ze as aN,tr as aO,fe as aP,nr as aQ,ha as aR,wn as aS,Nr as aT,xr as aU,kr as aV,Sr as aW,zr as aX,Zr as aY,H as aZ,Ir as a_,or as aa,$n as ab,Zn as ac,dr as ad,_t as ae,Hr as af,Dt as ag,jt as ah,Wt as ai,rt as aj,P as ak,Tt as al,yn as am,c as an,ee as ao,X as ap,At as aq,ar,yt as as,_e as at,j as au,mr as av,Fr as aw,L as ax,pe as ay,Gt as az,Jr as b,wr as b0,Mr as b1,gn as b2,yr as b3,ta as b4,sa as b5,ia as b6,na as b7,Or as b8,pr as b9,oe as ba,zn as bb,ea as bc,We as bd,ir as be,sr as bf,fr as bg,$ as bh,Fe as bi,Dn as bj,lr as bk,ur as bl,Qn as bm,hr as bn,aa as bo,oa as bp,Xn as bq,m as c,Kn as d,Qr as e,Kt as f,st as g,Ar as h,va as i,ua as j,jr as k,da as l,Ke as m,Er as n,fa as o,Rr as p,Cr as q,ce as r,pa as s,Kr as t,Br as u,Lr as v,ca as w,gr as x,qr as y,Ie as z}; diff --git a/server/playground/_app/immutable/chunks/dxIvkWjk.js b/server/playground/_app/immutable/chunks/dxIvkWjk.js deleted file mode 100644 index 1c127dc..0000000 --- a/server/playground/_app/immutable/chunks/dxIvkWjk.js +++ /dev/null @@ -1,3 +0,0 @@ -import{w as Ae,o as je,c as _t}from"./FG3YJaZx.js";import{a as yt,b as I}from"./hQn2QWYg.js";import{aZ as U,g as L,V as P,aY as $e}from"./DPMvo626.js";class ce{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Se{constructor(t,n){this.status=t,this.location=n}}class Re extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function wt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function vt(e){return e.split("%25").map(decodeURI).join("%25")}function bt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function me({href:e}){return e.split("#")[0]}function kt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return f=>(n(f),i[o](f));t();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function Et(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;const At=new TextDecoder;function St(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Y.delete(Te(e)),Rt(e,t));const Y=new Map;function Tt(e,t){const n=Te(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&Y.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=St(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function It(e,t,n){if(Y.size>0){const r=Te(e,n),a=Y.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return _e(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return _e(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const d=Ut.exec(c),[,p,u,l,h]=d;return t.push({name:l,matcher:h,optional:!!p,rest:!!u,chained:u?f===1&&i[0]==="":!1}),u?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return _e(c)}).join("")}).join("")}/?$`),params:t}}function Pt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function xt(e){return e.slice(1).split("/").filter(Pt)}function Ct(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;od).join("/"),i=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](f)){r[c.name]=f;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&c.chained&&(i=0),!d&&!p&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function _e(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Nt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,f,d]])=>{const{pattern:p,params:u}=Lt(o),l={id:o,exec:h=>{const w=p.exec(h);if(w)return Ct(w,u,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...f||[]].map(i),leaf:s(c)};return l.errors.length=l.layouts.length=Math.max(l.errors.length,l.layouts.length),l});function s(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function We(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function De(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const Ot="1759702072619",Je="sveltekit:snapshot",ze="sveltekit:scroll",Xe="sveltekit:states",jt="sveltekit:pageurl",V="sveltekit:history",W="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},le=location.origin;function Ze(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function fe(){return{x:pageXOffset,y:pageYOffset}}function F(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Fe={...j,"":j.hover};function Qe(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function et(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Qe(e)}}function ve(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,s=!r||!!a||ue(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===le&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function ee(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=F(o,"preload-code")),a===null&&(a=F(o,"preload-data")),t===null&&(t=F(o,"keepfocus")),n===null&&(n=F(o,"noscroll")),s===null&&(s=F(o,"reload")),i===null&&(i=F(o,"replacestate")),o=Qe(o);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Fe[r??"off"],preload_data:Fe[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(s),replace_state:c(i)}}function Ve(e){const t=Ae(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const tt={v:()=>{}};function $t(){const{set:e,subscribe:t}=Ae(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${yt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Ot;return i&&(e(!0),tt.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function ue(e,t,n){return e.origin!==le||!e.pathname.startsWith(t)?!0:n?!(e.pathname===t+"/"||e.pathname===t+"/index.html"||e.protocol==="file:"&&e.pathname.replace(/\/[^/]+\.html?$/,"")===t):!1}function Rn(e){}function Dt(e){const t=Vt(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let a=0;a>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Bt=-1,Mt=-2,qt=-3,Gt=-4,Yt=-5,Ht=-6;function Kt(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(s,i=!1){if(s===Bt)return;if(s===qt)return NaN;if(s===Gt)return 1/0;if(s===Yt)return-1/0;if(s===Ht)return-0;if(i||typeof s!="number")throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],f=t?.[c];if(f)return r[s]=f(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const d=new Set;r[s]=d;for(let l=1;lt!=null)}const zt="x-sveltekit-invalidated",Xt="x-sveltekit-trailing-slash";function te(e){return e instanceof ce||e instanceof Re?e.status:500}function Zt(e){return e instanceof Re?e.text:"Internal Error"}let S,J,ye;const Qt=je.toString().includes("$$")||/function \w+\(\) \{\}/.test(je.toString());Qt?(S={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},J={current:null},ye={current:!1}):(S=new class{#e=U({});get data(){return L(this.#e)}set data(t){P(this.#e,t)}#t=U(null);get form(){return L(this.#t)}set form(t){P(this.#t,t)}#n=U(null);get error(){return L(this.#n)}set error(t){P(this.#n,t)}#r=U({});get params(){return L(this.#r)}set params(t){P(this.#r,t)}#a=U({id:null});get route(){return L(this.#a)}set route(t){P(this.#a,t)}#o=U({});get state(){return L(this.#o)}set state(t){P(this.#o,t)}#s=U(-1);get status(){return L(this.#s)}set status(t){P(this.#s,t)}#i=U(new URL("https://example.com"));get url(){return L(this.#i)}set url(t){P(this.#i,t)}},J=new class{#e=U(null);get current(){return L(this.#e)}set current(t){P(this.#e,t)}},ye=new class{#e=U(!1);get current(){return L(this.#e)}set current(t){P(this.#e,t)}},tt.v=()=>ye.current=!0);function en(e){Object.assign(S,e)}const tn="/__data.json",nn=".html__data.json";function rn(e){return e.endsWith(".html")?e.replace(/\.html$/,nn):e.replace(/\/$/,"")+tn}const Be={spanContext(){return an},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},an={traceId:"",spanId:"",traceFlags:0},{tick:on}=_t,sn=new Set(["icon","shortcut icon","apple-touch-icon"]),D=We(ze)??{},z=We(Je)??{},O={url:Ve({}),page:Ve({}),navigating:Ae(null),updated:$t()};function Ie(e){D[e]=fe()}function cn(e,t){let n=e+1;for(;D[n];)delete D[n],n+=1;for(n=t+1;z[n];)delete z[n],n+=1}function q(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function rt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(I||"/");e&&await e.update()}}function Me(){}let Ue,be,ne,x,ke,v;const re=[],ae=[];let C=null;const Q=new Map,at=new Set,ln=new Set,H=new Set;let y={branch:[],error:null,url:null},Le=!1,oe=!1,qe=!0,X=!1,G=!1,ot=!1,Pe=!1,st,A,T,$;const K=new Set,Ge=new Map;async function Ln(e,t,n){globalThis.__sveltekit_l125dd?.data&&globalThis.__sveltekit_l125dd.data,document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Ue=Nt(e),x=document.documentElement,ke=t,be=e.nodes[0],ne=e.nodes[1],be(),ne(),A=history.state?.[V],T=history.state?.[W],A||(A=T=Date.now(),history.replaceState({...history.state,[V]:A,[W]:T},""));const r=D[A];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await vn(ke,n)):(await B({type:"enter",url:Ze(v.hash?kn(new URL(location.href)):location.href),replace_state:!0}),a()),wn()}function fn(){re.length=0,Pe=!1}function it(e){ae.some(t=>t?.snapshot)&&(z[e]=ae.map(t=>t?.snapshot?.capture()))}function ct(e){z[e]?.forEach((t,n)=>{ae[n]?.snapshot?.restore(t)})}function Ye(){Ie(A),De(ze,D),it(T),De(Je,z)}async function un(e,t,n,r){let a;t.invalidateAll&&(C=null),await B({type:"goto",url:Ze(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Pe=!0,a=[...Ge.keys()]),t.invalidate&&t.invalidate.forEach(yn)}}),t.invalidateAll&&$e().then($e).then(()=>{Ge.forEach(({resource:s},i)=>{a?.includes(i)&&s.refresh?.()})})}async function dn(e){if(e.id!==C?.id){const t={};K.add(t),C={id:e.id,token:t,promise:ut({...e,preload:t}).then(n=>(K.delete(t),n.type==="loaded"&&n.state.error&&(C=null),n))}}return C.promise}async function we(e){const t=(await he(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}function lt(e,t,n){y=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(S,e.props.page),st=new v.root({target:t,props:{...e.props,stores:O,components:ae},hydrate:n,sync:!1}),ct(T),n){const a={from:null,to:{params:y.params,route:{id:y.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(s=>s(a))}oe=!0}function se({url:e,params:t,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(I&&(e.pathname===I||e.pathname===I+"/"))o="always";else for(const l of n)l?.slash!==void 0&&(o=l.slash);e.pathname=wt(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:s},props:{constructors:Jt(n).map(l=>l.node.component),page:Oe(S)}};i!==void 0&&(c.props.form=i);let f={},d=!S,p=0;for(let l=0;l(o&&(c.route=!0),u[l])}),params:new Proxy(r,{get:(u,l)=>(o&&c.params.add(l),u[l])}),data:s?.data??null,url:kt(n,()=>{o&&(c.url=!0)},u=>{o&&c.search_params.add(u)},v.hash),async fetch(u,l){u instanceof Request&&(l={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...l});const{resolved:h,promise:w}=ft(u,l,n);return o&&d(h.href),w},setHeaders:()=>{},depends:d,parent(){return o&&(c.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};i=await f.universal.load.call(null,p)??null}return{node:f,loader:e,server:s,universal:f.universal?.load?{type:"data",data:i,uses:c}:null,data:i??s?.data??null,slash:f.universal?.trailingSlash??s?.slash}}function ft(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const s=oe?It(r,a.href,t):Tt(r,t);return{resolved:a,promise:s}}function He(e,t,n,r,a,s){if(Pe)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==y.params[i])return!0;for(const i of a.dependencies)if(re.some(o=>o(new URL(i))))return!0;return!1}function Ce(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function hn(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function Ke({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Oe(S),constructors:[]}}}async function ut({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(C?.id===e)return K.delete(C.token),C.promise;const{errors:i,layouts:o,leaf:c}=a,f=[...o,c];i.forEach(_=>_?.().catch(()=>{})),f.forEach(_=>_?.[1]().catch(()=>{}));let d=null;const p=y.url?e!==ie(y.url):!1,u=y.route?a.id!==y.route.id:!1,l=hn(y.url,n);let h=!1;const w=f.map((_,g)=>{const b=y.branch[g],k=!!_?.[0]&&(b?.loader!==_[1]||He(h,u,p,l,b.server?.uses,r));return k&&(h=!0),k});if(w.some(Boolean)){try{d=await pt(n,w)}catch(_){const g=await M(_,{url:n,params:r,route:{id:e}});return K.has(s)?Ke({error:g,url:n,params:r,route:a}):de({status:te(_),error:g,url:n,route:a})}if(d.type==="redirect")return d}const E=d?.nodes;let m=!1;const N=f.map(async(_,g)=>{if(!_)return;const b=y.branch[g],k=E?.[g];if((!k||k.type==="skip")&&_[1]===b?.loader&&!He(m,u,p,l,b.universal?.uses,r))return b;if(m=!0,k?.type==="error")throw k;return xe({loader:_[1],url:n,params:r,route:a,parent:async()=>{const pe={};for(let ge=0;ge{});const R=[];for(let _=0;_Promise.resolve({}),server_data_node:Ce(s)}),c={node:await ne(),loader:ne,universal:null,server:null,data:null};return se({url:n,params:a,branch:[o,c],status:e,error:t,route:null})}catch(o){if(o instanceof Se)return un(new URL(o.location,location.href),{},0);throw o}}async function gn(e){const t=e.href;if(Q.has(t))return Q.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(s,i)=>ft(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);v.hash?s.hash=a:s.pathname=a,a=s}return a})();Q.set(t,r),n=await r}catch{Q.delete(t);return}return n}async function he(e,t){if(e&&!ue(e,I,v.hash)){const n=await gn(e);if(!n)return;const r=mn(n);for(const a of Ue){const s=a.exec(r);if(s)return{id:ie(e),invalidating:t,route:a,params:bt(s),url:e}}}}function mn(e){return vt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(I.length))||"/"}function ie(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function dt({url:e,type:t,intent:n,delta:r,event:a}){let s=!1;const i=Ne(y,n,e,t);r!==void 0&&(i.navigation.delta=r),a!==void 0&&(i.navigation.event=a);const o={...i.navigation,cancel:()=>{s=!0,i.reject(new Error("navigation cancelled"))}};return X||at.forEach(c=>c(o)),s?null:i}async function B({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:f=Me,block:d=Me,event:p}){const u=$;$=c;const l=await he(t,!1),h=e==="enter"?Ne(y,l,t,e):dt({url:t,type:e,delta:n?.delta,intent:l,event:p});if(!h){d(),$===c&&($=u);return}const w=A,E=T;f(),X=!0,oe&&h.navigation.type!=="enter"&&O.navigating.set(J.current=h.navigation);let m=l&&await ut(l);if(!m){if(ue(t,I,v.hash))return await q(t,s);m=await ht(t,{id:null},await M(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=l?.url||t,$!==c)return h.reject(new Error("navigation aborted")),!1;if(m.type==="redirect"){if(o<20){await B({type:e,url:new URL(m.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i,redirect_count:o+1,nav_token:c}),h.fulfil(void 0);return}m=await de({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else m.props.page.status>=400&&await O.updated.check()&&(await rt(),await q(t,s));if(fn(),Ie(w),it(E),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,b={[V]:A+=g,[W]:T+=g,[Xe]:i};(s?history.replaceState:history.pushState).call(history,b,"",t),s||cn(A,T)}if(C=null,m.props.page.state=i,oe){const g=(await Promise.all(Array.from(ln,b=>b(h.navigation)))).filter(b=>typeof b=="function");if(g.length>0){let b=function(){g.forEach(k=>{H.delete(k)})};g.push(b),g.forEach(k=>{H.add(k)})}y=m.state,m.props.page&&(m.props.page.url=t),st.$set(m.props),en(m.props.page),ot=!0}else lt(m,ke,!1);const{activeElement:N}=document;await on();const R=n?n.scroll:a?fe():null;if(qe){const g=t.hash&&document.getElementById(mt(t));R?scrollTo(R.x,R.y):g?g.scrollIntoView():scrollTo(0,0)}const _=document.activeElement!==N&&document.activeElement!==document.body;!r&&!_&&bn(t),qe=!0,m.props.page&&Object.assign(S,m.props.page),X=!1,e==="popstate"&&ct(T),h.fulfil(void 0),H.forEach(g=>g(h.navigation)),O.navigating.set(J.current=null)}async function ht(e,t,n,r,a){return e.origin===le&&e.pathname===location.pathname&&!Le?await de({status:r,error:n,url:e,route:t}):await q(e,a)}function _n(){let e,t,n;x.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(e),e=setTimeout(()=>{s(c,j.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],j.tap)}x.addEventListener("mousedown",r),x.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&(we(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function s(o,c){const f=et(o,x),d=f===t&&c>=n;if(!f||d)return;const{url:p,external:u,download:l}=ve(f,I,v.hash);if(u||l)return;const h=ee(f),w=p&&ie(y.url)===ie(p);if(!(h.reload||w))if(c<=h.preload_data){t=f,n=j.tap;const E=await he(p,!1);if(!E)return;dn(E)}else c<=h.preload_code&&(t=f,n=c,we(p))}function i(){a.disconnect();for(const o of x.querySelectorAll("a")){const{url:c,external:f,download:d}=ve(o,I,v.hash);if(f||d)continue;const p=ee(o);p.reload||(p.preload_code===j.viewport&&a.observe(o),p.preload_code===j.eager&&we(c))}}H.add(i),i()}function M(e,t){if(e instanceof ce)return e.body;const n=te(e),r=Zt(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function yn(e){if(typeof e=="function")re.push(e);else{const{href:t}=new URL(e,location.href);re.push(n=>n.href===t)}}function wn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ye(),!X){const r=Ne(y,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};at.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ye()}),navigator.connection?.saveData||_n(),x.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=et(t.composedPath()[0],x);if(!n)return;const{url:r,external:a,target:s,download:i}=ve(n,I,v.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const o=ee(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[f,d]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=f===me(location);if(a||o.reload&&(!p||!d)){dt({url:r,type:"link",event:t})?X=!0:t.preventDefault();return}if(d!==void 0&&p){const[,u]=y.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const l=n.ownerDocument.getElementById(decodeURIComponent(d));l&&(l.scrollIntoView(),l.focus())}return}if(G=!0,Ie(A),e(r),!o.replace_state)return;G=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await B({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),x.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ue(i,I,!1))return;const o=t.target,c=ee(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(o,r);i.search=new URLSearchParams(f).toString(),B({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ee){if(t.state?.[V]){const n=t.state[V];if($={},n===A)return;const r=D[n],a=t.state[Xe]??{},s=new URL(t.state[jt]??location.href),i=t.state[W],o=y.url?me(location)===me(y.url):!1;if(i===T&&(ot||o)){a!==S.state&&(S.state=a),e(s),D[A]=fe(),r&&scrollTo(r.x,r.y),A=n;return}const f=n-A;await B({type:"popstate",url:s,popped:{state:a,scroll:r,delta:f},accept:()=>{A=n,T=i},block:()=>{history.go(-f)},nav_token:$,event:t})}else if(!G){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{G&&(G=!1,history.replaceState({...history.state,[V]:++A,[W]:T},"",location.href))});for(const t of document.querySelectorAll("link"))sn.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&O.navigating.set(J.current=null)});function e(t){y.url=S.url=t,O.page.set(Oe(S)),O.page.notify()}}async function vn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){Le=!0;const f=new URL(location.href);let d;({params:a={},route:s={id:null}}=await he(f,!1)||{}),d=Ue.find(({id:l})=>l===s.id);let p,u=!0;try{const l=r.map(async(w,E)=>{const m=o[E];return m?.uses&&(m.uses=gt(m.uses)),xe({loader:v.nodes[w],url:f,params:a,route:s,parent:async()=>{const N={};for(let R=0;Rs?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let s;throw a.headers.get("content-type")?.includes("application/json")?s=await a.json():a.status===404?s="Not Found":a.status===500&&(s="Internal Error"),new ce(a.status,s)}return new Promise(async s=>{const i=new Map,o=a.body.getReader();function c(d){return Kt(d,{...v.decoders,Promise:p=>new Promise((u,l)=>{i.set(p,{fulfil:u,reject:l})})})}let f="";for(;;){const{done:d,value:p}=await o.read();if(d&&!f)break;for(f+=!p&&f?` -`:At.decode(p,{stream:!0});;){const u=f.indexOf(` -`);if(u===-1)break;const l=JSON.parse(f.slice(0,u));if(f=f.slice(u+1),l.type==="redirect")return s(l);if(l.type==="data")l.nodes?.forEach(h=>{h?.type==="data"&&(h.uses=gt(h.uses),h.data=c(h.data))}),s(l);else if(l.type==="chunk"){const{id:h,data:w,error:E}=l,m=i.get(h);i.delete(h),E?m.reject(c(E)):m.fulfil(c(w))}}}})}function gt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ee=!1;function bn(e){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=mt(e);if(n&&document.getElementById(n)){const{x:a,y:s}=fe();setTimeout(()=>{const i=history.state;Ee=!0,location.replace(`#${n}`),v.hash&&location.replace(e.hash),history.replaceState(i,"",e.hash),scrollTo(a,s),Ee=!1})}else{const a=document.body,s=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),s!==null?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let s=0;s{if(r.rangeCount===a.length){for(let s=0;s{a=c,s=f});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n},willUnload:!t,type:r,complete:i},fulfil:a,reject:s}}function Oe(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function kn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function mt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Ln as a,Rn as l,S as p,O as s}; diff --git a/server/playground/_app/immutable/chunks/hQn2QWYg.js b/server/playground/_app/immutable/chunks/hQn2QWYg.js deleted file mode 100644 index d075726..0000000 --- a/server/playground/_app/immutable/chunks/hQn2QWYg.js +++ /dev/null @@ -1 +0,0 @@ -const s=globalThis.__sveltekit_l125dd?.base??"/_playground",a=globalThis.__sveltekit_l125dd?.assets??s??"";export{a,s as b}; diff --git a/server/playground/_app/immutable/chunks/C2MkeDuv.js b/server/playground/_app/immutable/chunks/kadZwC1X.js similarity index 87% rename from server/playground/_app/immutable/chunks/C2MkeDuv.js rename to server/playground/_app/immutable/chunks/kadZwC1X.js index a6de085..73b5443 100644 --- a/server/playground/_app/immutable/chunks/C2MkeDuv.js +++ b/server/playground/_app/immutable/chunks/kadZwC1X.js @@ -1 +1 @@ -import{c as d,u as g,a as l,b,r as i,d as m,g as p,e as h,f as v,h as k}from"./DPMvo626.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let o=()=>h(s.s);if(n){let a=0,t={};const _=v(()=>{let c=!1;const r=s.s;for(const f in r)r[f]!==t[f]&&(t[f]=r[f],c=!0);return c&&a++,a});o=()=>p(_)}e.b.length&&g(()=>{u(s,o),i(e.b)}),l(()=>{const a=b(()=>e.m.map(m));return()=>{for(const t of a)typeof t=="function"&&t()}}),e.a.length&&l(()=>{u(s,o),i(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}k();export{x as i}; +import{c as d,u as g,a as l,b,r as i,d as m,g as p,e as h,f as v,h as k}from"./bc36GTfJ.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let o=()=>h(s.s);if(n){let a=0,t={};const _=v(()=>{let c=!1;const r=s.s;for(const f in r)r[f]!==t[f]&&(t[f]=r[f],c=!0);return c&&a++,a});o=()=>p(_)}e.b.length&&g(()=>{u(s,o),i(e.b)}),l(()=>{const a=b(()=>e.m.map(m));return()=>{for(const t of a)typeof t=="function"&&t()}}),e.a.length&&l(()=>{u(s,o),i(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}k();export{x as i}; diff --git a/server/playground/_app/immutable/entry/app.CDYShOyR.js b/server/playground/_app/immutable/entry/app.CljZrWk8.js similarity index 51% rename from server/playground/_app/immutable/entry/app.CDYShOyR.js rename to server/playground/_app/immutable/entry/app.CljZrWk8.js index 3ee3c70..85a2f6a 100644 --- a/server/playground/_app/immutable/entry/app.CDYShOyR.js +++ b/server/playground/_app/immutable/entry/app.CljZrWk8.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BnitFm9e.js","../chunks/DsnmJJEf.js","../chunks/DPMvo626.js","../chunks/B-U_immA.js","../chunks/hQn2QWYg.js","../assets/0.z6k2NkFs.css","../nodes/1.DOigNuzF.js","../chunks/C2MkeDuv.js","../chunks/FG3YJaZx.js","../chunks/dxIvkWjk.js","../nodes/2.C02anazN.js","../chunks/DM3e16Yp.js","../assets/2.DQ5mJGGf.css"])))=>i.map(i=>d[i]); -import{z as D,A as W,y as Y,E as z,G as B,I as J,J as I,K,N as Z,M as H,V as w,ab as Q,g as d,aS as X,W as $,R as ee,p as te,u as re,a as se,aZ as x,aY as ae,i as V,j as R,s as ne,k as P,l as oe,o as S,m as ce,n as ie,a_ as A,a$ as le,t as ue}from"../chunks/DPMvo626.js";import{h as fe,m as de,u as me,o as he,s as _e}from"../chunks/FG3YJaZx.js";import"../chunks/DsnmJJEf.js";import{p as C,i as O,b as L}from"../chunks/DM3e16Yp.js";function j(l,e,a){D&&W();var o=l,n,r,t=null,s=null;function m(){r&&(H(r),r=null),t&&(t.lastChild.remove(),o.before(t),t=null),r=s,s=null}Y(()=>{if(n!==(n=e())){var h=K();if(n){var c=o;h&&(t=document.createDocumentFragment(),t.append(c=B()),r&&I.skipped_effects.add(r)),s=J(()=>a(c,n))}h?I.add_callback(m):m()}},z),D&&(o=Z)}function ve(l){return class extends ge{constructor(e){super({component:l,...e})}}}class ge{#t;#e;constructor(e){var a=new Map,o=(r,t)=>{var s=ee(t,!1,!1);return a.set(r,s),s};const n=new Proxy({...e.props||{},$$events:{}},{get(r,t){return d(a.get(t)??o(t,Reflect.get(r,t)))},has(r,t){return t===Q?!0:(d(a.get(t)??o(t,Reflect.get(r,t))),Reflect.has(r,t))},set(r,t,s){return w(a.get(t)??o(t,s),s),Reflect.set(r,t,s)}});this.#e=(e.hydrate?fe:de)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&X(),this.#t=n.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||$(this,r,{get(){return this.#e[r]},set(t){this.#e[r]=t},enumerable:!0});this.#e.$set=r=>{Object.assign(n,r)},this.#e.$destroy=()=>{me(this.#e)}}$set(e){this.#e.$set(e)}$on(e,a){this.#t[e]=this.#t[e]||[];const o=(...n)=>a.call(this,...n);return this.#t[e].push(o),()=>{this.#t[e]=this.#t[e].filter(n=>n!==o)}}$destroy(){this.#e.$destroy()}}const ye="modulepreload",be=function(l,e){return new URL(l,e).href},M={},T=function(e,a,o){let n=Promise.resolve();if(a&&a.length>0){let h=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};const t=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),m=s?.nonce||s?.getAttribute("nonce");n=h(a.map(c=>{if(c=be(c,o),c in M)return;M[c]=!0;const f=c.endsWith(".css"),_=f?'[rel="stylesheet"]':"";if(o)for(let v=t.length-1;v>=0;v--){const i=t[v];if(i.href===c&&(!f||i.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${_}`))return;const u=document.createElement("link");if(u.rel=f?"stylesheet":ye,f||(u.as="script"),u.crossOrigin="",u.href=c,m&&u.setAttribute("nonce",m),document.head.appendChild(u),f)return new Promise((v,i)=>{u.addEventListener("load",v),u.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(t){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=t,window.dispatchEvent(s),!s.defaultPrevented)throw t}return n.then(t=>{for(const s of t||[])s.status==="rejected"&&r(s.reason);return e().catch(r)})},Oe={};var Ee=V('
'),Pe=V(" ",1);function pe(l,e){te(e,!0);let a=C(e,"components",23,()=>[]),o=C(e,"data_0",3,null),n=C(e,"data_1",3,null);re(()=>e.stores.page.set(e.page)),se(()=>{e.stores,e.page,e.constructors,a(),e.form,o(),n(),e.stores.page.notify()});let r=x(!1),t=x(!1),s=x(null);he(()=>{const i=e.stores.page.subscribe(()=>{d(r)&&(w(t,!0),ae().then(()=>{w(s,document.title||"untitled page",!0)}))});return w(r,!0),i});const m=A(()=>e.constructors[1]);var h=Pe(),c=R(h);{var f=i=>{const g=A(()=>e.constructors[0]);var y=S(),p=R(y);j(p,()=>d(g),(b,E)=>{L(E(b,{get data(){return o()},get form(){return e.form},get params(){return e.page.params},children:(k,we)=>{var N=S(),F=R(N);j(F,()=>d(m),(q,G)=>{L(G(q,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),U=>a()[1]=U,()=>a()?.[1])}),P(k,N)},$$slots:{default:!0}}),k=>a()[0]=k,()=>a()?.[0])}),P(i,y)},_=i=>{const g=A(()=>e.constructors[0]);var y=S(),p=R(y);j(p,()=>d(g),(b,E)=>{L(E(b,{get data(){return o()},get form(){return e.form},get params(){return e.page.params}}),k=>a()[0]=k,()=>a()?.[0])}),P(i,y)};O(c,i=>{e.constructors[1]?i(f):i(_,!1)})}var u=ne(c,2);{var v=i=>{var g=Ee(),y=ce(g);{var p=b=>{var E=le();ue(()=>_e(E,d(s))),P(b,E)};O(y,b=>{d(t)&&b(p)})}ie(g),P(i,g)};O(u,i=>{d(r)&&i(v)})}P(l,h),oe()}const Le=ve(pe),je=[()=>T(()=>import("../nodes/0.BnitFm9e.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),()=>T(()=>import("../nodes/1.DOigNuzF.js"),__vite__mapDeps([6,1,7,2,8,9,4]),import.meta.url),()=>T(()=>import("../nodes/2.C02anazN.js"),__vite__mapDeps([10,1,7,2,3,11,8,12]),import.meta.url)],Te=[],Ne={"/":[2]},ke={handleError:(({error:l})=>{console.error(l)}),reroute:(()=>{}),transport:{}},Re=Object.fromEntries(Object.entries(ke.transport).map(([l,e])=>[l,e.decode])),De=!1,Ie=(l,e)=>Re[l](e);export{Ie as decode,Re as decoders,Ne as dictionary,De as hash,ke as hooks,Oe as matchers,je as nodes,Le as root,Te as server_loads}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.zsYIuDcs.js","../chunks/DsnmJJEf.js","../chunks/bc36GTfJ.js","../chunks/B342IurK.js","../assets/0.z6k2NkFs.css","../nodes/1.DeB82DVy.js","../chunks/kadZwC1X.js","../chunks/B1lAeocp.js","../chunks/BXzq9L9X.js","../nodes/2.D7UzWOC6.js","../chunks/DyoUZ9Ht.js","../assets/2.DQ5mJGGf.css"])))=>i.map(i=>d[i]); +import{A as D,B as W,z as Y,E as z,I as G,J,K as I,L as K,O as X,N as Z,W as w,ac as H,g as d,aS as Q,X as $,T as ee,p as te,u as re,a as se,aZ as x,aY as ae,o as F,k as R,y as ne,l as P,q as oe,i as S,v as ce,x as ie,a_ as O,a$ as le,t as ue}from"../chunks/bc36GTfJ.js";import{h as fe,m as de,u as me,o as he,s as _e}from"../chunks/B1lAeocp.js";import"../chunks/DsnmJJEf.js";import{p as A,i as C,b as L}from"../chunks/DyoUZ9Ht.js";function T(l,e,a){D&&W();var o=l,n,r,t=null,s=null;function m(){r&&(Z(r),r=null),t&&(t.lastChild.remove(),o.before(t),t=null),r=s,s=null}Y(()=>{if(n!==(n=e())){var h=K();if(n){var c=o;h&&(t=document.createDocumentFragment(),t.append(c=G()),r&&I.skipped_effects.add(r)),s=J(()=>a(c,n))}h?I.add_callback(m):m()}},z),D&&(o=X)}function ve(l){return class extends ge{constructor(e){super({component:l,...e})}}}class ge{#t;#e;constructor(e){var a=new Map,o=(r,t)=>{var s=ee(t,!1,!1);return a.set(r,s),s};const n=new Proxy({...e.props||{},$$events:{}},{get(r,t){return d(a.get(t)??o(t,Reflect.get(r,t)))},has(r,t){return t===H?!0:(d(a.get(t)??o(t,Reflect.get(r,t))),Reflect.has(r,t))},set(r,t,s){return w(a.get(t)??o(t,s),s),Reflect.set(r,t,s)}});this.#e=(e.hydrate?fe:de)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Q(),this.#t=n.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||$(this,r,{get(){return this.#e[r]},set(t){this.#e[r]=t},enumerable:!0});this.#e.$set=r=>{Object.assign(n,r)},this.#e.$destroy=()=>{me(this.#e)}}$set(e){this.#e.$set(e)}$on(e,a){this.#t[e]=this.#t[e]||[];const o=(...n)=>a.call(this,...n);return this.#t[e].push(o),()=>{this.#t[e]=this.#t[e].filter(n=>n!==o)}}$destroy(){this.#e.$destroy()}}const ye="modulepreload",be=function(l,e){return new URL(l,e).href},q={},j=function(e,a,o){let n=Promise.resolve();if(a&&a.length>0){let h=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(_=>({status:"fulfilled",value:_}),_=>({status:"rejected",reason:_}))))};const t=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),m=s?.nonce||s?.getAttribute("nonce");n=h(a.map(c=>{if(c=be(c,o),c in q)return;q[c]=!0;const f=c.endsWith(".css"),_=f?'[rel="stylesheet"]':"";if(o)for(let v=t.length-1;v>=0;v--){const i=t[v];if(i.href===c&&(!f||i.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${_}`))return;const u=document.createElement("link");if(u.rel=f?"stylesheet":ye,f||(u.as="script"),u.crossOrigin="",u.href=c,m&&u.setAttribute("nonce",m),document.head.appendChild(u),f)return new Promise((v,i)=>{u.addEventListener("load",v),u.addEventListener("error",()=>i(new Error(`Unable to preload CSS for ${c}`)))})}))}function r(t){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=t,window.dispatchEvent(s),!s.defaultPrevented)throw t}return n.then(t=>{for(const s of t||[])s.status==="rejected"&&r(s.reason);return e().catch(r)})},Ce={};var Ee=F('
'),Pe=F(" ",1);function pe(l,e){te(e,!0);let a=A(e,"components",23,()=>[]),o=A(e,"data_0",3,null),n=A(e,"data_1",3,null);re(()=>e.stores.page.set(e.page)),se(()=>{e.stores,e.page,e.constructors,a(),e.form,o(),n(),e.stores.page.notify()});let r=x(!1),t=x(!1),s=x(null);he(()=>{const i=e.stores.page.subscribe(()=>{d(r)&&(w(t,!0),ae().then(()=>{w(s,document.title||"untitled page",!0)}))});return w(r,!0),i});const m=O(()=>e.constructors[1]);var h=Pe(),c=R(h);{var f=i=>{const g=O(()=>e.constructors[0]);var y=S(),p=R(y);T(p,()=>d(g),(b,E)=>{L(E(b,{get data(){return o()},get form(){return e.form},get params(){return e.page.params},children:(k,we)=>{var N=S(),M=R(N);T(M,()=>d(m),(V,B)=>{L(B(V,{get data(){return n()},get form(){return e.form},get params(){return e.page.params}}),U=>a()[1]=U,()=>a()?.[1])}),P(k,N)},$$slots:{default:!0}}),k=>a()[0]=k,()=>a()?.[0])}),P(i,y)},_=i=>{const g=O(()=>e.constructors[0]);var y=S(),p=R(y);T(p,()=>d(g),(b,E)=>{L(E(b,{get data(){return o()},get form(){return e.form},get params(){return e.page.params}}),k=>a()[0]=k,()=>a()?.[0])}),P(i,y)};C(c,i=>{e.constructors[1]?i(f):i(_,!1)})}var u=ne(c,2);{var v=i=>{var g=Ee(),y=ce(g);{var p=b=>{var E=le();ue(()=>_e(E,d(s))),P(b,E)};C(y,b=>{d(t)&&b(p)})}ie(g),P(i,g)};C(u,i=>{d(r)&&i(v)})}P(l,h),oe()}const Le=ve(pe),Te=[()=>j(()=>import("../nodes/0.zsYIuDcs.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>j(()=>import("../nodes/1.DeB82DVy.js"),__vite__mapDeps([5,1,6,2,7,8]),import.meta.url),()=>j(()=>import("../nodes/2.D7UzWOC6.js"),__vite__mapDeps([9,1,6,2,3,10,7,11]),import.meta.url)],je=[],Ne={"/":[2]},ke={handleError:(({error:l})=>{console.error(l)}),reroute:(()=>{}),transport:{}},Re=Object.fromEntries(Object.entries(ke.transport).map(([l,e])=>[l,e.decode])),De=!1,Ie=(l,e)=>Re[l](e);export{Ie as decode,Re as decoders,Ne as dictionary,De as hash,ke as hooks,Ce as matchers,Te as nodes,Le as root,je as server_loads}; diff --git a/server/playground/_app/immutable/entry/start.Ctfk1ssR.js b/server/playground/_app/immutable/entry/start.Ctfk1ssR.js deleted file mode 100644 index 501cd5a..0000000 --- a/server/playground/_app/immutable/entry/start.Ctfk1ssR.js +++ /dev/null @@ -1 +0,0 @@ -import{l as o,a as r}from"../chunks/dxIvkWjk.js";export{o as load_css,r as start}; diff --git a/server/playground/_app/immutable/entry/start.EQIbokgB.js b/server/playground/_app/immutable/entry/start.EQIbokgB.js new file mode 100644 index 0000000..5f4a47b --- /dev/null +++ b/server/playground/_app/immutable/entry/start.EQIbokgB.js @@ -0,0 +1 @@ +import{l as o,a as r}from"../chunks/BXzq9L9X.js";export{o as load_css,r as start}; diff --git a/server/playground/_app/immutable/nodes/0.BnitFm9e.js b/server/playground/_app/immutable/nodes/0.BnitFm9e.js deleted file mode 100644 index 2c8370d..0000000 --- a/server/playground/_app/immutable/nodes/0.BnitFm9e.js +++ /dev/null @@ -1 +0,0 @@ -import"../chunks/DsnmJJEf.js";import{p as f,o as u,q as _,j as o,v as d,k as n,l as v,w as b,$ as h,s as g,t as y,x as j,i as k}from"../chunks/DPMvo626.js";import{s as i,f as w}from"../chunks/B-U_immA.js";import{a as x,b as M}from"../chunks/hQn2QWYg.js";function O(t){return(x||M)+t}const P=!0,A=Object.freeze(Object.defineProperty({__proto__:null,prerender:P},Symbol.toStringTag,{value:"Module"}));var S=b(k(' Marka Playground + + + + + Marka Playground
logo

Marka

Bidirectional Markdown ↔ JSON Parser

Template

Define your mapping schema

Loading editor...

Markdown

Your source content

Loading editor...

---
@@ -40,7 +39,7 @@ My favourite baguette recipe