From 7b338dcdcef3652e9789bd3b98295f6988a3351a Mon Sep 17 00:00:00 2001 From: orefalo Date: Sat, 19 Oct 2024 11:23:06 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20orefalo/?= =?UTF-8?q?svelte-virtuallists@e875753e33658c41fc1fb91a9ecfe6913562e20a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{13.BpNBnjP1.css => 12.BpNBnjP1.css} | 0 _app/immutable/assets/7.DXchiTpc.css | 1 - .../assets/{8.csN9FqvO.css => 7.csN9FqvO.css} | 0 .../assets/{9.BrEqmzMq.css => 8.BrEqmzMq.css} | 0 .../{10.ByklAgsa.css => 9.ByklAgsa.css} | 0 _app/immutable/assets/_page.DXchiTpc.css | 1 - ...ea.B2s7r4qh.js => ExampleArea.B4Ip24Dj.js} | 2 +- ...ernal.Jk2Vr2rG.js => external.DlXsjIqe.js} | 2 +- .../chunks/svelte-virtuallists.BdQ-o6PT.js | 1 - .../chunks/svelte-virtuallists.To6s1RFa.js | 1 + _app/immutable/entry/app.BhwDxsSn.js | 2 + _app/immutable/entry/app.CvvLTeRi.js | 2 - _app/immutable/entry/start.CsHBY74J.js | 1 - _app/immutable/entry/start.JRsAyoKD.js | 1 + _app/immutable/nodes/0.CiFO4SzH.js | 1 + _app/immutable/nodes/0.DQXLcaXI.js | 1 - _app/immutable/nodes/1.By_ATKu_.js | 1 - _app/immutable/nodes/1.CbEV7E9n.js | 1 + .../nodes/{11.BiC1FFkP.js => 10.mj4Zt3qM.js} | 2 +- .../nodes/{12.CI9bQDsi.js => 11.Bk6tJ3-y.js} | 2 +- .../nodes/{13.XU9UWAdr.js => 12.Bg2lnzq5.js} | 4 +- .../nodes/{14.BjQtEAXy.js => 13.q06MacGX.js} | 2 +- .../nodes/{2.7B9A-UNq.js => 2.BCcXdHKL.js} | 2 +- .../nodes/{3.CoYtVyfO.js => 3.C_6Gig5i.js} | 2 +- .../nodes/{4.B1rn-hQN.js => 4.CZtYWGqM.js} | 2 +- .../nodes/{5.GgIaB1pw.js => 5.Ds4RXg88.js} | 2 +- .../nodes/{6.CYIHeWwC.js => 6.Mlqq_X4l.js} | 80 ++--- _app/immutable/nodes/7.C8su_zhs.js | 295 ------------------ .../nodes/{8.DWTXclHW.js => 7.D01XD_Z-.js} | 4 +- .../nodes/{9.DoX4L4pP.js => 8.CiY6IZFj.js} | 2 +- .../nodes/{10.DZ1NFYhr.js => 9.BdJoccCR.js} | 2 +- _app/version.json | 2 +- examples/events.html | 22 +- examples/horizontal.html | 22 +- examples/horizontalOLD.html | 22 +- examples/positioningNew.html | 72 ++--- examples/positioningNew2.html | 225 ------------- examples/positioningOLD.html | 28 +- examples/table.html | 26 +- examples/variableheightOLD.html | 28 +- examples/variablesizing.html | 26 +- examples/vertical.html | 24 +- examples/verticalOLD.html | 28 +- index.html | 18 +- minified-size-badge.svg | 2 +- minified-size.html | 20 +- 46 files changed, 231 insertions(+), 753 deletions(-) rename _app/immutable/assets/{13.BpNBnjP1.css => 12.BpNBnjP1.css} (100%) delete mode 100644 _app/immutable/assets/7.DXchiTpc.css rename _app/immutable/assets/{8.csN9FqvO.css => 7.csN9FqvO.css} (100%) rename _app/immutable/assets/{9.BrEqmzMq.css => 8.BrEqmzMq.css} (100%) rename _app/immutable/assets/{10.ByklAgsa.css => 9.ByklAgsa.css} (100%) delete mode 100644 _app/immutable/assets/_page.DXchiTpc.css rename _app/immutable/chunks/{ExampleArea.B2s7r4qh.js => ExampleArea.B4Ip24Dj.js} (86%) rename _app/immutable/chunks/{external.Jk2Vr2rG.js => external.DlXsjIqe.js} (65%) delete mode 100644 _app/immutable/chunks/svelte-virtuallists.BdQ-o6PT.js create mode 100644 _app/immutable/chunks/svelte-virtuallists.To6s1RFa.js create mode 100644 _app/immutable/entry/app.BhwDxsSn.js delete mode 100644 _app/immutable/entry/app.CvvLTeRi.js delete mode 100644 _app/immutable/entry/start.CsHBY74J.js create mode 100644 _app/immutable/entry/start.JRsAyoKD.js create mode 100644 _app/immutable/nodes/0.CiFO4SzH.js delete mode 100644 _app/immutable/nodes/0.DQXLcaXI.js delete mode 100644 _app/immutable/nodes/1.By_ATKu_.js create mode 100644 _app/immutable/nodes/1.CbEV7E9n.js rename _app/immutable/nodes/{11.BiC1FFkP.js => 10.mj4Zt3qM.js} (98%) rename _app/immutable/nodes/{12.CI9bQDsi.js => 11.Bk6tJ3-y.js} (94%) rename _app/immutable/nodes/{13.XU9UWAdr.js => 12.Bg2lnzq5.js} (96%) rename _app/immutable/nodes/{14.BjQtEAXy.js => 13.q06MacGX.js} (84%) rename _app/immutable/nodes/{2.7B9A-UNq.js => 2.BCcXdHKL.js} (94%) rename _app/immutable/nodes/{3.CoYtVyfO.js => 3.C_6Gig5i.js} (98%) rename _app/immutable/nodes/{4.B1rn-hQN.js => 4.CZtYWGqM.js} (93%) rename _app/immutable/nodes/{5.GgIaB1pw.js => 5.Ds4RXg88.js} (97%) rename _app/immutable/nodes/{6.CYIHeWwC.js => 6.Mlqq_X4l.js} (83%) delete mode 100644 _app/immutable/nodes/7.C8su_zhs.js rename _app/immutable/nodes/{8.DWTXclHW.js => 7.D01XD_Z-.js} (98%) rename _app/immutable/nodes/{9.DoX4L4pP.js => 8.CiY6IZFj.js} (96%) rename _app/immutable/nodes/{10.DZ1NFYhr.js => 9.BdJoccCR.js} (98%) delete mode 100644 examples/positioningNew2.html diff --git a/_app/immutable/assets/13.BpNBnjP1.css b/_app/immutable/assets/12.BpNBnjP1.css similarity index 100% rename from _app/immutable/assets/13.BpNBnjP1.css rename to _app/immutable/assets/12.BpNBnjP1.css diff --git a/_app/immutable/assets/7.DXchiTpc.css b/_app/immutable/assets/7.DXchiTpc.css deleted file mode 100644 index 91c5383..0000000 --- a/_app/immutable/assets/7.DXchiTpc.css +++ /dev/null @@ -1 +0,0 @@ -body,html{height:100%;margin:0;background-color:#f9f9f9;display:block}.highlighted.svelte-9ybfcn{background:#efefef} diff --git a/_app/immutable/assets/8.csN9FqvO.css b/_app/immutable/assets/7.csN9FqvO.css similarity index 100% rename from _app/immutable/assets/8.csN9FqvO.css rename to _app/immutable/assets/7.csN9FqvO.css diff --git a/_app/immutable/assets/9.BrEqmzMq.css b/_app/immutable/assets/8.BrEqmzMq.css similarity index 100% rename from _app/immutable/assets/9.BrEqmzMq.css rename to _app/immutable/assets/8.BrEqmzMq.css diff --git a/_app/immutable/assets/10.ByklAgsa.css b/_app/immutable/assets/9.ByklAgsa.css similarity index 100% rename from _app/immutable/assets/10.ByklAgsa.css rename to _app/immutable/assets/9.ByklAgsa.css diff --git a/_app/immutable/assets/_page.DXchiTpc.css b/_app/immutable/assets/_page.DXchiTpc.css deleted file mode 100644 index 91c5383..0000000 --- a/_app/immutable/assets/_page.DXchiTpc.css +++ /dev/null @@ -1 +0,0 @@ -body,html{height:100%;margin:0;background-color:#f9f9f9;display:block}.highlighted.svelte-9ybfcn{background:#efefef} diff --git a/_app/immutable/chunks/ExampleArea.B2s7r4qh.js b/_app/immutable/chunks/ExampleArea.B4Ip24Dj.js similarity index 86% rename from _app/immutable/chunks/ExampleArea.B2s7r4qh.js rename to _app/immutable/chunks/ExampleArea.B4Ip24Dj.js index 3910475..86b4603 100644 --- a/_app/immutable/chunks/ExampleArea.B2s7r4qh.js +++ b/_app/immutable/chunks/ExampleArea.B4Ip24Dj.js @@ -1 +1 @@ -import{I as n,t as g,h as s,k as d,m as i,r as o,v,p,j as m,l as c}from"./external.Jk2Vr2rG.js";var u=d('
');function f(l,e){var a=u(),t=i(a),r=i(t);n(r,()=>e.highlighted),o(t),o(a),g(()=>v(a,"data-language",e.lang)),s(l,a)}var x=d("
");function b(l,e){p(e,!0);const a=e.example.component;var t=x(),r=i(t);a(r,{});var h=c(r,2);f(h,{lang:"svelte",get highlighted(){return e.example.highlightedHTML}}),o(t),s(l,t),m()}export{b as E}; +import{I as n,t as g,h as s,k as d,m as i,r as o,v,p,j as m,l as c}from"./external.DlXsjIqe.js";var u=d('
');function f(l,e){var a=u(),t=i(a),r=i(t);n(r,()=>e.highlighted),o(t),o(a),g(()=>v(a,"data-language",e.lang)),s(l,a)}var x=d("
");function b(l,e){p(e,!0);const a=e.example.component;var t=x(),r=i(t);a(r,{});var h=c(r,2);f(h,{lang:"svelte",get highlighted(){return e.example.highlightedHTML}}),o(t),s(l,t),m()}export{b as E}; diff --git a/_app/immutable/chunks/external.Jk2Vr2rG.js b/_app/immutable/chunks/external.DlXsjIqe.js similarity index 65% rename from _app/immutable/chunks/external.Jk2Vr2rG.js rename to _app/immutable/chunks/external.DlXsjIqe.js index 18995b6..cae2dee 100644 --- a/_app/immutable/chunks/external.Jk2Vr2rG.js +++ b/_app/immutable/chunks/external.DlXsjIqe.js @@ -1,4 +1,4 @@ -var Ia=Object.defineProperty;var Dn=e=>{throw TypeError(e)};var Oa=(e,t,n)=>t in e?Ia(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Un=(e,t,n)=>Oa(e,typeof t!="symbol"?t+"":t,n),Mt=(e,t,n)=>t.has(e)||Dn("Cannot "+n);var N=(e,t,n)=>(Mt(e,t,"read from private field"),n?n.call(e):t.get(e)),ve=(e,t,n)=>t.has(e)?Dn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ye=(e,t,n,r)=>(Mt(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),$n=(e,t,n)=>(Mt(e,t,"access private method"),n);var on=Array.isArray,sn=Array.from,hr=Object.defineProperty,Ie=Object.getOwnPropertyDescriptor,_r=Object.getOwnPropertyDescriptors,Na=Object.prototype,Ca=Array.prototype,dt=Object.getPrototypeOf;const ge=()=>{};function La(e){return e()}function ht(e){for(var t=0;t=w.v&&K(w,m+1)}Mn(i)}return!0},ownKeys(l){j(i);var f=Reflect.ownKeys(l).filter(_=>{var d=a.get(_);return d===void 0||d.v!==U});for(var[u,c]of a)c.v!==U&&!(u in l)&&f.push(u);return f},setPrototypeOf(){Ba()}})}function Mn(e,t=1){K(e,e.v+t)}function qn(e){return e!==null&&typeof e=="object"&&ue in e?e[ue]:e}function to(e,t){return Object.is(qn(e),qn(t))}var Hn,no,Ar,Sr;function Gt(){if(Hn===void 0){Hn=window,no=document;var e=Element.prototype,t=Node.prototype;Ar=Ie(t,"firstChild").get,Sr=Ie(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__e=void 0,Text.prototype.__t=void 0}}function he(e=""){return document.createTextNode(e)}function Z(e){return Ar.call(e)}function W(e){return Sr.call(e)}function Bn(e){if(!A)return Z(e);var t=Z(T);return t===null&&(t=T.appendChild(he())),P(t),t}function ro(e,t){if(!A){var n=Z(e);return n instanceof Comment&&n.data===""?W(n):n}return T}function ao(e,t=1,n=!1){let r=A?T:e;for(;t--;)r=W(r);if(!A)return r;var a=r.nodeType;if(n&&a!==3){var o=he();return r==null||r.before(o),P(o),o}return P(r),r}function vn(e){e.textContent=""}function Tr(e){k===null&&R===null&&$a(),R!==null&&R.f&me&&Ua(),yn&&Da()}function oo(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Fe(e,t,n,r=!0){var a=(e&rt)!==0,o=k,i={ctx:O,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:e|de,first:null,fn:t,last:null,next:null,parent:a?null:o,prev:null,teardown:null,transitions:null,version:0};if(n){var s=Ne;try{Vn(!0),jt(i),i.f|=xa}catch(u){throw ie(i),u}finally{Vn(s)}}else t!==null&&Pt(i);var l=n&&i.deps===null&&i.first===null&&i.nodes_start===null&&i.teardown===null&&(i.f&gr)===0;if(!l&&!a&&r&&(o!==null&&oo(i,o),R!==null&&R.f&oe)){var f=R;(f.children??(f.children=[])).push(i)}return i}function io(e){const t=Fe(Ue,null,!1);return ee(t,D),t.teardown=e,t}function Kt(e){Tr();var t=k!==null&&(k.f&Ue)!==0&&O!==null&&!O.m;if(t){var n=O;(n.e??(n.e=[])).push({fn:e,effect:k,reaction:R})}else{var r=Me(e);return r}}function so(e){return Tr(),Lt(e)}function lo(e){const t=Fe(rt,e,!0);return()=>{ie(t)}}function Me(e){return Fe(vr,e,!1)}function Lt(e){return Fe(Ue,e,!0)}function fo(e){return Lt(e)}function qe(e,t=0){return Fe(Ue|ln|t,e,!0)}function _e(e,t=!0){return Fe(Ue|Q,e,!0,t)}function kr(e){var t=e.teardown;if(t!==null){const n=yn,r=R;Yn(!0),mt(null);try{t.call(null)}finally{Yn(n),mt(r)}}}function ie(e,t=!0){var n=!1;if((t||e.f&pr)&&e.nodes_start!==null){for(var r=e.nodes_start,a=e.nodes_end;r!==null;){var o=r===a?null:W(r);r.remove(),r=o}n=!0}Mr(e,t&&!n),Ze(e,0),ee(e,$e);var i=e.transitions;if(i!==null)for(const l of i)l.stop();kr(e);var s=e.parent;s!==null&&s.first!==null&&Rr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.parent=e.fn=e.nodes_start=e.nodes_end=null}function Rr(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function vt(e,t){var n=[];pn(e,n,!0),Ir(n,()=>{ie(e),t&&t()})}function Ir(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var a of e)a.out(r)}else t()}function pn(e,t,n){if(!(e.f&re)){if(e.f^=re,e.transitions!==null)for(const i of e.transitions)(i.is_global||n)&&t.push(i);for(var r=e.first;r!==null;){var a=r.next,o=(r.f&ot)!==0||(r.f&Q)!==0;pn(r,t,o?n:!1),r=a}}}function pt(e){Or(e,!0)}function Or(e,t){if(e.f&re){e.f^=re,lt(e)&&jt(e);for(var n=e.first;n!==null;){var r=n.next,a=(n.f&ot)!==0||(n.f&Q)!==0;Or(n,a?t:!1),n=r}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}const uo=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let gt=!1,yt=!1,zt=[],Jt=[];function Nr(){gt=!1;const e=zt.slice();zt=[],ht(e)}function Cr(){yt=!1;const e=Jt.slice();Jt=[],ht(e)}function st(e){gt||(gt=!0,queueMicrotask(Nr)),zt.push(e)}function co(e){yt||(yt=!0,uo(Cr)),Jt.push(e)}function ho(){gt&&Nr(),yt&&Cr()}function wt(e){var t=oe|de;k===null?t|=me:k.f|=gr;const n={children:null,deps:null,equals:yr,f:t,fn:e,reactions:null,v:null,version:0,parent:k};if(R!==null&&R.f&oe){var r=R;(r.children??(r.children=[])).push(n)}return n}function _o(e){const t=wt(e);return t.equals=fn,t}function Lr(e){var t=e.children;if(t!==null){e.children=null;for(var n=0;ne.version)return!0}}r||ee(e,D)}return!1}function yo(e,t,n){throw e}function Fr(e){var c;var t=C,n=$,r=ce,a=R,o=ke,i=J,s=e.f;C=null,$=0,ce=null,R=s&(Q|rt)?null:e,ke=!Ne&&(s&me)!==0,J=null;try{var l=(0,e.fn)(),f=e.deps;if(C!==null){var u;if(Ze(e,$),f!==null&&$>0)for(f.length=$+C.length,u=0;u1e3&&(Ce=0,Fa()),Ce++}function Hr(e){var t=e.length;if(t!==0){qr();var n=Ne;Ne=!0;try{for(var r=0;r1001)return;const e=pe;pe=[],Hr(e),Xe||(Ce=0)}function Pt(e){ut===Dr&&(Xe||(Xe=!0,queueMicrotask(Eo)));for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(n&(rt|Q)){if(!(n&D))return;t.f^=D}}pe.push(t)}function Br(e,t){var n=e.first,r=[];e:for(;n!==null;){var a=n.f,o=(a&Q)!==0,i=o&&(a&D)!==0;if(!i&&!(a&re))if(a&Ue){o?n.f^=D:lt(n)&&jt(n);var s=n.first;if(s!==null){n=s;continue}}else a&vr&&r.push(n);var l=n.next;if(l===null){let c=n.parent;for(;c!==null;){if(e===c)break e;var f=c.next;if(f!==null){n=f;continue e}c=c.parent}}n=l}for(var u=0;u0||a.length>0)&&wn(),Ce=0,r}finally{ut=t,pe=n}}async function Ao(){await Promise.resolve(),wn()}function j(e){var s;var t=e.f,n=(t&oe)!==0;if(n&&t&$e){var r=xr(e);return gn(e),r}if(R!==null){J!==null&&J.includes(e)&&Va();var a=R.deps;C===null&&a!==null&&a[$]===e?$++:C===null?C=[e]:C.push(e),ce!==null&&k!==null&&k.f&D&&!(k.f&Q)&&ce.includes(e)&&(ee(k,de),Pt(k))}else if(n&&e.deps===null){var o=e,i=o.parent;i!==null&&!((s=i.deriveds)!=null&&s.includes(o))&&(i.deriveds??(i.deriveds=[])).push(o)}return n&&(o=e,lt(o)&&jr(o)),e.v}function He(e){const t=R;try{return R=null,e()}finally{R=t}}const So=~(de|at|D);function ee(e,t){e.f=e.f&So|t}function Vr(e,t=!1,n){O={p:O,c:null,e:null,m:!1,s:e,x:null,l:null},t||(O.l={s:null,u:null,r1:[],r2:F(!1)})}function Yr(e){const t=O;if(t!==null){e!==void 0&&(t.x=e);const i=t.e;if(i!==null){var n=k,r=R;t.e=null;try{for(var a=0;a{t.addEventListener(e,a,r)}):t.addEventListener(e,a,r),a}function ko(e){for(var t=0;t{throw w});throw u}}finally{e.__root=t,delete e.currentTarget}}}let M;function Ro(){M=void 0}function ns(e){let t=null,n=A;var r;if(A){for(t=T,M===void 0&&(M=Z(document.head));M!==null&&(M.nodeType!==8||M.data!==dn);)M=W(M);M===null?z(!1):M=P(W(M))}A||(r=document.head.appendChild(he()));try{qe(()=>e(r),pr)}finally{n&&(z(!0),M=T,P(t))}}function Gr(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function X(e,t){var n=k;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Io(e,t){var n=(t&Qa)!==0,r=(t&eo)!==0,a,o=!e.startsWith("");return()=>{if(A)return X(T,null),T;a===void 0&&(a=Gr(o?e:""+e),n||(a=Z(a)));var i=r?document.importNode(a,!0):a.cloneNode(!0);if(n){var s=Z(i),l=i.lastChild;X(s,l)}else X(i,i);return i}}function rs(e=""){if(!A){var t=he(e+"");return X(t,t),t}var n=T;return n.nodeType!==3&&(n.before(n=he()),P(n)),X(n,n),n}function as(){if(A)return X(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(""),n=he();return e.append(t,n),X(t,n),e}function Oo(e,t){if(A){k.nodes_end=T,ye();return}e!==null&&e.before(t)}function No(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Co=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Lo(e){return Co.includes(e)}const xo={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"};function jo(e){return e=e.toLowerCase(),xo[e]??e}const Po=["touchstart","touchmove"];function Do(e){return Po.includes(e)}function Gn(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n==null?"":n+"")}function Kr(e,t){return zr(e,t)}function Uo(e,t){Gt(),t.intro=t.intro??!1;const n=t.target,r=A,a=T;try{for(var o=Z(n);o&&(o.nodeType!==8||o.data!==dn);)o=W(o);if(!o)throw Oe;z(!0),P(o),ye();const i=zr(e,{...t,anchor:o});if(T===null||T.nodeType!==8||T.data!==_n)throw Ct(),Oe;return z(!1),i}catch(i){if(i===Oe)return t.recover===!1&&Ma(),Gt(),vn(n),z(!1),Kr(e,t);throw i}finally{z(r),P(a),Ro()}}const Ee=new Map;function zr(e,{target:t,anchor:n,props:r={},events:a,context:o,intro:i=!0}){Gt();var s=new Set,l=c=>{for(var _=0;_{var c=n??t.appendChild(he());return _e(()=>{if(o){Vr({});var _=O;_.c=o}a&&(r.$$events=a),A&&X(c,null),f=e(c,r)||{},A&&(k.nodes_end=T),o&&Yr()}),()=>{var v;for(var _ of s){t.removeEventListener(_,Ge);var d=Ee.get(_);--d===0?(document.removeEventListener(_,Ge),Ee.delete(_)):Ee.set(_,d)}Zt.delete(l),Qt.delete(f),c!==n&&((v=c.parentNode)==null||v.removeChild(c))}});return Qt.set(f,u),f}let Qt=new WeakMap;function $o(e){const t=Qt.get(e);t&&t()}function os(e,t,n,r=null,a=!1){A&&ye();var o=e,i=null,s=null,l=null,f=a?ot:0;qe(()=>{if(l===(l=!!t()))return;let u=!1;if(A){const c=o.data===hn;l===c&&(o=Wt(),P(o),z(!1),u=!0)}l?(i?pt(i):i=_e(()=>n(o)),s&&vt(s,()=>{s=null})):(s?pt(s):r&&(s=_e(()=>r(o))),i&&vt(i,()=>{i=null})),u&&z(!0)},f),A&&(o=T)}let qt=null;function is(e,t){return t}function Fo(e,t,n,r){for(var a=[],o=t.length,i=0;i0&&a.length===0&&n!==null;if(s){var l=n.parentNode;vn(l),l.append(n),r.clear(),le(e,t[0].prev,t[o-1].next)}Ir(a,()=>{for(var f=0;f{var _=n(),d=on(_)?_:_==null?[]:sn(_),v=d.length;if(c&&v===0)return;c=v===0;let h=!1;if(A){var y=i.data===hn;y!==(v===0)&&(i=Wt(),P(i),z(!1),h=!0)}if(A){for(var w=null,m,g=0;g0&&P(Wt())}A||Mo(d,s,i,a,t,r),o!==null&&(v===0?u?pt(u):u=_e(()=>o(i)):u!==null&&vt(u,()=>{u=null})),h&&z(!0),n()}),A&&(i=T)}function Mo(e,t,n,r,a,o){var Cn,Ln,xn,jn;var i=(a&Wa)!==0,s=(a&(un|cn))!==0,l=e.length,f=t.items,u=t.first,c=u,_,d=null,v,h=[],y=[],w,m,g,p;if(i)for(p=0;p0){var Ve=a&Er&&l===0?n:null;if(i){for(p=0;p{var Pn;if(v!==void 0)for(g of v)(Pn=g.a)==null||Pn.apply()}),k.first=t.first&&t.first.e,k.last=d&&d.e}function qo(e,t,n,r){r&un&&Yt(e.v,t),r&cn?Yt(e.i,n):e.i=n}function Jr(e,t,n,r,a,o,i,s,l){var f=qt;try{var u=(l&un)!==0,c=(l&Ga)===0,_=u?c?it(a):F(a):a,d=l&cn?F(i):i,v={i:d,v:_,k:o,a:null,e:null,prev:n,next:r};return qt=v,v.e=_e(()=>s(e,_,d),A),v.e.prev=n&&n.e,v.e.next=r&&r.e,n===null?t.first=v:(n.next=v,n.e.next=v.e),r!==null&&(r.prev=v,r.e.prev=v.e),v}finally{qt=f}}function Kn(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,a=t?t.e.nodes_start:n,o=e.e.nodes_start;o!==r;){var i=W(o);a.before(o),o=i}}function le(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function ls(e,t,n,r,a){var o=e,i="",s;qe(()=>{if(i===(i=t()??"")){A&&ye();return}s!==void 0&&(ie(s),s=void 0),i!==""&&(s=_e(()=>{if(A){T.data;for(var l=ye(),f=l;l!==null&&(l.nodeType!==8||l.data!=="");)f=l,l=W(l);if(l===null)throw Ct(),Oe;X(T,f),o=P(l);return}var u=i+"",c=Gr(u);X(Z(c),c.lastChild),o.before(c)}))})}function fs(e,t,...n){var r=e,a=ge,o;qe(()=>{a!==(a=t())&&(o&&(ie(o),o=null),o=_e(()=>a(r,...n)))},ot),A&&(r=T)}function us(e,t,n){A&&ye();var r=e,a,o;qe(()=>{a!==(a=t())&&(o&&(vt(o),o=null),a&&(o=_e(()=>n(r,a))))},ot),A&&(r=T)}function Ho(e,t){if(t){const n=document.body;e.autofocus=!0,st(()=>{document.activeElement===n&&e.focus()})}}function cs(e){A&&Z(e)!==null&&vn(e)}let zn=!1;function Xr(){zn||(zn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function ds(e){if(A){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;en(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var a=e.checked;en(e,"checked",null),e.checked=a}}};e.__on_r=n,co(n),Xr()}}function en(e,t,n,r){var a=e.__attributes??(e.__attributes={});A&&(a[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||a[t]!==(a[t]=n)&&(t==="loading"&&(e[Pa]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Zr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function hs(e,t,n,r,a=!1,o=!1,i=!1){var s=t||{},l=e.tagName==="OPTION";for(var f in t)f in n||(n[f]=null);n.class=n.class?n.class+" "+r:r;var u=Zr(e),c=e.__attributes??(e.__attributes={}),_=[];for(const w in n){let m=n[w];if(l&&w==="value"&&m==null){e.value=e.__value="",s[w]=m;continue}var d=s[w];if(m!==d){s[w]=m;var v=w[0]+w[1];if(v!=="$$")if(v==="on"){const g={},p="$$"+w;let E=w.slice(2);var h=Lo(E);if(No(E)&&(E=E.slice(0,-7),g.capture=!0),!h&&d){if(m!=null)continue;e.removeEventListener(E,s[p],g),s[p]=null}if(m!=null)if(h)e[`__${E}`]=m,ko([E]);else{let b=function(S){s[w].call(this,S)};t?s[p]=Wn(E,e,b,g):_.push([w,m,()=>s[p]=Wn(E,e,b,g)])}}else if(w==="style"&&m!=null)e.style.cssText=m+"";else if(w==="autofocus")Ho(e,!!m);else if(w==="__value"||w==="value"&&m!=null)e.value=e[w]=e.__value=m;else{var y=w;a||(y=jo(y)),m==null&&!o?(c[w]=null,e.removeAttribute(w)):u.includes(y)&&(o||typeof m!="string")?e[y]=m:typeof m!="function"&&(A&&(y==="src"||y==="href"||y==="srcset")||en(e,y,m))}}}return t||st(()=>{if(e.isConnected)for(const[w,m,g]of _)s[w]===m&&g()}),s}var Jn=new Map;function Zr(e){var t=Jn.get(e.nodeName);if(t)return t;Jn.set(e.nodeName,t=[]);for(var n,r=dt(e);r.constructor.name!=="Element";){n=_r(r);for(var a in n)n[a].set&&t.push(a);r=dt(r)}return t}function _s(e,t){var n=e.__className,r=Bo(t);A&&e.className===r?e.__className=r:(n!==r||A&&e.className!==r)&&(t==null?e.removeAttribute("class"):e.className=r,e.__className=r)}function Bo(e){return e??""}function vs(e,t,n){if(n){if(e.classList.contains(t))return;e.classList.add(t)}else{if(!e.classList.contains(t))return;e.classList.remove(t)}}function Qr(e,t,n,r=n){e.addEventListener(t,n);const a=e.__on_r;a?e.__on_r=()=>{a(),r()}:e.__on_r=r,Xr()}function ps(e,t,n=t){var r=xt();Qr(e,"input",()=>{var a=Xn(e)?Zn(e.value):e.value;n(a),r&&a!==(a=t())&&(e.value=a??"")}),Lt(()=>{var a=t();if(A&&e.defaultValue!==e.value){n(e.value);return}Xn(e)&&a===Zn(e.value)||e.type==="date"&&!a&&!e.value||a!==e.value&&(e.value=a??"")})}function Xn(e){var t=e.type;return t==="number"||t==="range"}function Zn(e){return e===""?null:+e}function ea(e,t,n){if(e.multiple)return Yo(e,t);for(var r of e.options){var a=Ke(r);if(to(a,t)){r.selected=!0;return}}(!n||t!==void 0)&&(e.selectedIndex=-1)}function Vo(e,t){Me(()=>{var n=new MutationObserver(()=>{var r=e.__value;ea(e,r)});return n.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),()=>{n.disconnect()}})}function gs(e,t,n=t){var r=!0;Qr(e,"change",()=>{var a;if(e.multiple)a=[].map.call(e.querySelectorAll(":checked"),Ke);else{var o=e.querySelector(":checked");a=o&&Ke(o)}n(a)}),Me(()=>{var a=t();if(ea(e,a,r),r&&a===void 0){var o=e.querySelector(":checked");o!==null&&(a=Ke(o),n(a))}e.__value=a,r=!1}),Vo(e)}function Yo(e,t){for(var n of e.options)n.selected=~t.indexOf(Ke(n))}function Ke(e){return"__value"in e?e.__value:e.value}var fe,je,nt,Ot,ta;const Nt=class Nt{constructor(t){ve(this,Ot);ve(this,fe,new WeakMap);ve(this,je);ve(this,nt);Ye(this,nt,t)}observe(t,n){var r=N(this,fe).get(t)||new Set;return r.add(n),N(this,fe).set(t,r),$n(this,Ot,ta).call(this).observe(t,N(this,nt)),()=>{var a=N(this,fe).get(t);a.delete(n),a.size===0&&(N(this,fe).delete(t),N(this,je).unobserve(t))}}};fe=new WeakMap,je=new WeakMap,nt=new WeakMap,Ot=new WeakSet,ta=function(){return N(this,je)??Ye(this,je,new ResizeObserver(t=>{for(var n of t){Nt.entries.set(n.target,n);for(var r of N(this,fe).get(n.target)||[])r(n)}}))},Un(Nt,"entries",new WeakMap);let tn=Nt;var Wo=new tn({box:"border-box"});function ys(e,t,n){var r=Wo.observe(e,()=>n(e[t]));Me(()=>(He(()=>n(e[t])),r))}function Qn(e,t){return e===t||(e==null?void 0:e[ue])===t}function ws(e={},t,n,r){return Me(()=>{var a,o;return Lt(()=>{a=o,o=[],He(()=>{e!==n(...o)&&(t(e,...o),a&&Qn(n(...a),e)&&t(null,...a))})}),()=>{st(()=>{o&&Qn(n(...o),e)&&t(null,...o)})}}),e}function Go(e=!1){const t=O,n=t.l.u;if(!n)return;let r=()=>To(t.s);if(e){let a=0,o={};const i=wt(()=>{let s=!1;const l=t.s;for(const f in l)l[f]!==o[f]&&(o[f]=l[f],s=!0);return s&&a++,a});r=()=>j(i)}n.b.length&&so(()=>{er(t,r),ht(n.b)}),Kt(()=>{const a=He(()=>n.m.map(La));return()=>{for(const o of a)typeof o=="function"&&o()}}),n.a.length&&Kt(()=>{er(t,r),ht(n.a)})}function er(e,t){if(e.l.s)for(const n of e.l.s)j(n);t()}const Ko={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function ms(e,t,n){return new Proxy({props:e,exclude:t},Ko)}function tr(e){for(var t=k,n=k;t!==null&&!(t.f&(Q|rt));)t=t.parent;try{return Pe(t),e()}finally{Pe(n)}}function bs(e,t,n,r){var E;var a=(n&Ka)!==0,o=(n&za)!==0,i=(n&Xa)!==0,s=(n&Za)!==0,l=e[t],f=(E=Ie(e,t))==null?void 0:E.set,u=r,c=!0,_=!1,d=()=>(_=!0,c&&(c=!1,s?u=He(r):u=r),u);l===void 0&&r!==void 0&&(f&&o&&qa(),l=d(),f&&f(l));var v;if(o)v=()=>{var b=e[t];return b===void 0?d():(c=!0,_=!1,b)};else{var h=tr(()=>(a?wt:_o)(()=>e[t]));h.f|=ja,v=()=>{var b=j(h);return b!==void 0&&(u=void 0),b===void 0?u:b}}if(!(n&Ja))return v;if(f){var y=e.$$legacy;return function(b,S){return arguments.length>0?((!o||!S||y)&&f(S?v():b),b):v()}}var w=!1,m=!1,g=it(l),p=tr(()=>wt(()=>{var b=v(),S=j(g),x=R;return w||b===void 0&&x.f&$e?(w=!1,m=!0,S):(m=!1,g.v=b)}));return a||(p.equals=fn),function(b,S){var x=j(p);if(arguments.length>0){const G=S?j(p):o&&i?Te(b):b;return p.equals(G)||(w=!0,K(g,G),_&&u!==void 0&&(u=G),j(p)),b}return x}}function zo(e,t,n){if(e==null)return t(void 0),ge;const r=e.subscribe(t,n);return r.unsubscribe?()=>r.unsubscribe():r}function Jo(e,t,n){const r=n[t]??(n[t]={store:null,source:it(void 0),unsubscribe:ge});if(r.store!==e)if(r.unsubscribe(),r.store=e??null,e==null)r.source.v=void 0,r.unsubscribe=ge;else{var a=!0;r.unsubscribe=zo(e,o=>{a?r.source.v=o:K(r.source,o)}),a=!1}return j(r.source)}function Xo(){const e={};return io(()=>{for(var t in e)e[t].unsubscribe()}),e}function Es(e){return class extends Zo{constructor(t){super({component:e,...t})}}}var te,q;class Zo{constructor(t){ve(this,te);ve(this,q);var o;var n=new Map,r=(i,s)=>{var l=it(s);return n.set(i,l),l};const a=new Proxy({...t.props||{},$$events:{}},{get(i,s){return j(n.get(s)??r(s,Reflect.get(i,s)))},has(i,s){return j(n.get(s)??r(s,Reflect.get(i,s))),Reflect.has(i,s)},set(i,s,l){return K(n.get(s)??r(s,l),l),Reflect.set(i,s,l)}});Ye(this,q,(t.hydrate?Uo:Kr)(t.component,{target:t.target,props:a,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&wn(),Ye(this,te,a.$$events);for(const i of Object.keys(N(this,q)))i==="$set"||i==="$destroy"||i==="$on"||hr(this,i,{get(){return N(this,q)[i]},set(s){N(this,q)[i]=s},enumerable:!0});N(this,q).$set=i=>{Object.assign(a,i)},N(this,q).$destroy=()=>{$o(N(this,q))}}$set(t){N(this,q).$set(t)}$on(t,n){N(this,te)[t]=N(this,te)[t]||[];const r=(...a)=>n.call(this,...a);return N(this,te)[t].push(r),()=>{N(this,te)[t]=N(this,te)[t].filter(a=>a!==r)}}$destroy(){N(this,q).$destroy()}}te=new WeakMap,q=new WeakMap;function Qo(e){O===null&&Pr(),O.l!==null?ei(O).m.push(e):Kt(()=>{const t=He(e);if(typeof t=="function")return t})}function As(e){O===null&&Pr(),Qo(()=>()=>He(e))}function ei(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}new URL("sveltekit-internal://");function ti(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function ni(e){return e.split("%25").map(decodeURI).join("%25")}function ri(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function Ht({href:e}){return e.split("#")[0]}const ai=["href","pathname","search","toString","toJSON"];function oi(e,t,n){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return s=>(n(s),a[o](s));t();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of ai)Object.defineProperty(r,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return r}const ii="/__data.json",si=".html__data.json";function li(e){return e.endsWith(".html")?e.replace(/\.html$/,si):e.replace(/\/$/,"")+ii}function fi(...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)}function ui(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:(t==null?void 0:t.method)||"GET")!=="GET"&&ze.delete(mn(e)),na(e,t));const ze=new Map;function ci(e,t){const n=mn(e,t),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&ze.set(n,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=ui(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,t)}function di(e,t,n){if(ze.size>0){const r=mn(e,n),a=ze.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 o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,f)=>{if(f%2){if(l.startsWith("x+"))return Bt(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return Bt(String.fromCharCode(...l.slice(2).split("-").map(h=>parseInt(h,16))));const u=hi.exec(l),[,c,_,d,v]=u;return t.push({name:d,matcher:v,optional:!!c,rest:!!_,chained:_?f===1&&i[0]==="":!1}),_?"(.*?)":c?"([^/]*)?":"([^/]+?)"}return Bt(l)}).join("")}).join("")}/?$`),params:t}}function vi(e){return!/^\([^)]+\)$/.test(e)}function pi(e){return e.slice(1).split("/").filter(vi)}function gi(e,t,n){const r={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),f===void 0){l.rest&&(r[l.name]="");continue}if(!l.matcher||n[l.matcher](f)){r[l.name]=f;const u=t[s+1],c=a[s+1];u&&!u.rest&&u.optional&&c&&l.chained&&(i=0),!u&&!c&&Object.keys(r).length===o.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return r}function Bt(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function yi({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([s,[l,f,u]])=>{const{pattern:c,params:_}=_i(s),d={id:s,exec:v=>{const h=c.exec(v);if(h)return gi(h,_,r)},errors:[1,...u||[]].map(v=>e[v]),layouts:[0,...f||[]].map(i),leaf:o(l)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const l=s<0;return l&&(s=~s),[l,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function ra(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function nr(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const Ae=[];function bn(e,t=ge){let n=null;const r=new Set;function a(s){if(wr(e,s)&&(e=s,n)){const l=!Ae.length;for(const f of r)f[1](),Ae.push(f,e);if(l){for(let f=0;f{r.delete(f),r.size===0&&n&&(n(),n=null)}}return{set:a,update:o,subscribe:i}}var cr;const Y=((cr=globalThis.__sveltekit_a01cn)==null?void 0:cr.base)??"/svelte-virtuallists";var dr;const wi=((dr=globalThis.__sveltekit_a01cn)==null?void 0:dr.assets)??Y,mi="1729328629579",aa="sveltekit:snapshot",oa="sveltekit:scroll",ia="sveltekit:states",bi="sveltekit:pageurl",Le="sveltekit:history",Qe="sveltekit:navigation",bt={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ft=location.origin;function sa(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 En(){return{x:pageXOffset,y:pageYOffset}}function Se(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const rr={...bt,"":bt.hover};function la(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function fa(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=la(e)}}function nn(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!r||Dt(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(n==null?void 0:n.origin)===ft&&e.hasAttribute("download");return{url:n,external:a,target:r,download:o}}function Et(e){let t=null,n=null,r=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=Se(s,"preload-code")),a===null&&(a=Se(s,"preload-data")),t===null&&(t=Se(s,"keepfocus")),n===null&&(n=Se(s,"noscroll")),o===null&&(o=Se(s,"reload")),i===null&&(i=Se(s,"replacestate")),s=la(s);function l(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:rr[r??"off"],preload_data:rr[a??"off"],keepfocus:l(t),noscroll:l(n),reload:l(o),replace_state:l(i)}}function ar(e){const t=bn(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function o(i){let s;return t.subscribe(l=>{(s===void 0||n&&l!==s)&&i(s=l)})}return{notify:r,set:a,subscribe:o}}function Ei(){const{set:e,subscribe:t}=bn(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${wi}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==mi;return i&&(e(!0),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function Dt(e,t){return e.origin!==ft||!e.pathname.startsWith(t)}function or(e){const t=Si(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 Ti=-1,ki=-2,Ri=-3,Ii=-4,Oi=-5,Ni=-6;function Ci(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(o,i=!1){if(o===Ti)return;if(o===Ri)return NaN;if(o===Ii)return 1/0;if(o===Oi)return-1/0;if(o===Ni)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=n[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const l=s[0],f=t==null?void 0:t[l];if(f)return r[o]=f(a(s[1]));switch(l){case"Date":r[o]=new Date(s[1]);break;case"Set":const u=new Set;r[o]=u;for(let d=1;dt!=null)}class Ut{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 ca{constructor(t,n){this.status=t,this.location=n}}class An extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}const ji="x-sveltekit-invalidated",Pi="x-sveltekit-trailing-slash";function At(e){return e instanceof Ut||e instanceof An?e.status:500}function Di(e){return e instanceof An?e.text:"Internal Error"}const we=ra(oa)??{},et=ra(aa)??{},ae={url:ar({}),page:ar({}),navigating:bn(null),updated:Ei()};function Sn(e){we[e]=En()}function Ui(e,t){let n=e+1;for(;we[n];)delete we[n],n+=1;for(n=t+1;et[n];)delete et[n],n+=1}function De(e){return location.href=e.href,new Promise(()=>{})}async function da(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(Y||"/");e&&await e.update()}}function ir(){}let $t,rn,St,ne,an,Be;const ha=[],Tt=[];let H=null;const _a=[],$i=[];let Re=[],I={branch:[],error:null,url:null},Tn=!1,kt=!1,sr=!0,tt=!1,We=!1,va=!1,kn=!1,Rn,L,V,B,Rt;const Je=new Set;async function Ss(e,t,n){var a,o;document.URL!==location.href&&(location.href=location.href),Be=e,$t=yi(e),ne=document.documentElement,an=t,rn=e.nodes[0],St=e.nodes[1],rn(),St(),L=(a=history.state)==null?void 0:a[Le],V=(o=history.state)==null?void 0:o[Qe],L||(L=V=Date.now(),history.replaceState({...history.state,[Le]:L,[Qe]:V},""));const r=we[L];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await Wi(an,n):Vi(location.href,{replaceState:!0}),Yi()}function Fi(){ha.length=0,kn=!1}function pa(e){Tt.some(t=>t==null?void 0:t.snapshot)&&(et[e]=Tt.map(t=>{var n;return(n=t==null?void 0:t.snapshot)==null?void 0:n.capture()}))}function ga(e){var t;(t=et[e])==null||t.forEach((n,r)=>{var a,o;(o=(a=Tt[r])==null?void 0:a.snapshot)==null||o.restore(n)})}function lr(){Sn(L),nr(oa,we),pa(V),nr(aa,et)}async function ya(e,t,n,r){return ct({type:"goto",url:sa(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(kn=!0)}})}async function Mi(e){if(e.id!==(H==null?void 0:H.id)){const t={};Je.add(t),H={id:e.id,token:t,promise:ma({...e,preload:t}).then(n=>(Je.delete(t),n.type==="loaded"&&n.state.error&&(H=null),n))}}return H.promise}async function Vt(e){const t=$t.find(n=>n.exec(ba(e)));t&&await Promise.all([...t.layouts,t.leaf].map(n=>n==null?void 0:n[1]()))}function wa(e,t,n){var o;I=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),B=e.props.page,Rn=new Be.root({target:t,props:{...e.props,stores:ae,components:Tt},hydrate:n,sync:!1}),ga(V);const a={from:null,to:{params:I.params,route:{id:((o=I.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};Re.forEach(i=>i(a)),kt=!0}function It({url:e,params:t,branch:n,status:r,error:a,route:o,form:i}){let s="never";if(Y&&(e.pathname===Y||e.pathname===Y+"/"))s="always";else for(const d of n)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);e.pathname=ti(e.pathname,s),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:xi(n).map(d=>d.node.component),page:B}};i!==void 0&&(l.props.form=i);let f={},u=!B,c=0;for(let d=0;d(s&&(l.route=!0),h[y])}),params:new Proxy(r,{get:(h,y)=>(s&&l.params.add(y),h[y])}),data:(o==null?void 0:o.data)??null,url:oi(n,()=>{s&&(l.url=!0)},h=>{s&&l.search_params.add(h)}),async fetch(h,y){let w;h instanceof Request?(w=h.url,y={body:h.method==="GET"||h.method==="HEAD"?void 0:await h.blob(),cache:h.cache,credentials:h.credentials,headers:h.headers,integrity:h.integrity,keepalive:h.keepalive,method:h.method,mode:h.mode,redirect:h.redirect,referrer:h.referrer,referrerPolicy:h.referrerPolicy,signal:h.signal,...y}):w=h;const m=new URL(w,n);return s&&d(m.href),m.origin===n.origin&&(w=m.href.slice(n.origin.length)),kt?di(w,m.href,y):ci(w,y)},setHeaders:()=>{},depends:d,parent(){return s&&(l.parent=!0),t()},untrack(h){s=!1;try{return h()}finally{s=!0}}};i=await f.universal.load.call(null,v)??null}return{node:f,loader:e,server:o,universal:(c=f.universal)!=null&&c.load?{type:"data",data:i,uses:l}:null,data:i??(o==null?void 0:o.data)??null,slash:((_=f.universal)==null?void 0:_.trailingSlash)??(o==null?void 0:o.slash)}}function fr(e,t,n,r,a,o){if(kn)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(o[i]!==I.params[i])return!0;for(const i of a.dependencies)if(ha.some(s=>s(new URL(i))))return!0;return!1}function On(e,t){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?t??null:null}function qi(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),o=t.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&n.delete(r)}return n}function ur({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:B,constructors:[]}}}async function ma({id:e,invalidating:t,url:n,params:r,route:a,preload:o}){if((H==null?void 0:H.id)===e)return Je.delete(H.token),H.promise;const{errors:i,layouts:s,leaf:l}=a,f=[...s,l];i.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const c=I.url?e!==I.url.pathname+I.url.search:!1,_=I.route?a.id!==I.route.id:!1,d=qi(I.url,n);let v=!1;const h=f.map((p,E)=>{var x;const b=I.branch[E],S=!!(p!=null&&p[0])&&((b==null?void 0:b.loader)!==p[1]||fr(v,_,c,d,(x=b.server)==null?void 0:x.uses,r));return S&&(v=!0),S});if(h.some(Boolean)){try{u=await Sa(n,h)}catch(p){const E=await xe(p,{url:n,params:r,route:{id:e}});return Je.has(o)?ur({error:E,url:n,params:r,route:a}):Ft({status:At(p),error:E,url:n,route:a})}if(u.type==="redirect")return u}const y=u==null?void 0:u.nodes;let w=!1;const m=f.map(async(p,E)=>{var G;if(!p)return;const b=I.branch[E],S=y==null?void 0:y[E];if((!S||S.type==="skip")&&p[1]===(b==null?void 0:b.loader)&&!fr(w,_,c,d,(G=b.universal)==null?void 0:G.uses,r))return b;if(w=!0,(S==null?void 0:S.type)==="error")throw S;return In({loader:p[1],url:n,params:r,route:a,parent:async()=>{var be;const se={};for(let Ve=0;Ve{});const g=[];for(let p=0;pPromise.resolve({}),server_data_node:On(o)}),l={node:await St(),loader:St,universal:null,server:null,data:null};return It({url:n,params:a,branch:[s,l],status:e,error:t,route:null})}function Nn(e,t){if(!e||Dt(e,Y))return;let n;try{n=Be.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=ba(n);for(const a of $t){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:t,route:a,params:ri(o),url:e}}}function ba(e){return ni(e.slice(Y.length)||"/")}function Ea({url:e,type:t,intent:n,delta:r}){let a=!1;const o=ka(I,n,e,t);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return tt||_a.forEach(s=>s(i)),a?null:o}async function ct({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:l={},accept:f=ir,block:u=ir}){const c=Nn(t,!1),_=Ea({url:t,type:e,delta:n==null?void 0:n.delta,intent:c});if(!_){u();return}const d=L,v=V;f(),tt=!0,kt&&ae.navigating.set(_.navigation),Rt=l;let h=c&&await ma(c);if(!h){if(Dt(t,Y))return await De(t);h=await Aa(t,{id:null},await xe(new An(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=(c==null?void 0:c.url)||t,Rt!==l)return _.reject(new Error("navigation aborted")),!1;if(h.type==="redirect")if(s>=20)h=await Ft({status:500,error:await xe(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return ya(new URL(h.location,t).href,{},s+1,l),!1;else h.props.page.status>=400&&await ae.updated.check()&&(await da(),await De(t));if(Fi(),Sn(d),pa(v),h.props.page.url.pathname!==t.pathname&&(t.pathname=h.props.page.url.pathname),i=n?n.state:i,!n){const g=o?0:1,p={[Le]:L+=g,[Qe]:V+=g,[ia]:i};(o?history.replaceState:history.pushState).call(history,p,"",t),o||Ui(L,V)}if(H=null,h.props.page.state=i,kt){I=h.state,h.props.page&&(h.props.page.url=t);const g=(await Promise.all($i.map(p=>p(_.navigation)))).filter(p=>typeof p=="function");if(g.length>0){let p=function(){Re=Re.filter(E=>!g.includes(E))};g.push(p),Re.push(...g)}Rn.$set(h.props),va=!0}else wa(h,an,!1);const{activeElement:y}=document;await Ao();const w=n?n.scroll:a?En():null;if(sr){const g=t.hash&&document.getElementById(decodeURIComponent(t.hash.slice(1)));w?scrollTo(w.x,w.y):g?g.scrollIntoView():scrollTo(0,0)}const m=document.activeElement!==y&&document.activeElement!==document.body;!r&&!m&&Gi(),sr=!0,h.props.page&&(B=h.props.page),tt=!1,e==="popstate"&&ga(V),_.fulfil(void 0),Re.forEach(g=>g(_.navigation)),ae.navigating.set(null)}async function Aa(e,t,n,r){return e.origin===ft&&e.pathname===location.pathname&&!Tn?await Ft({status:r,error:n,url:e,route:t}):await De(e)}function Bi(){let e;ne.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{r(i,2)},20)});function t(o){r(o.composedPath()[0],1)}ne.addEventListener("mousedown",t),ne.addEventListener("touchstart",t,{passive:!0});const n=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(Vt(i.target.href),n.unobserve(i.target))},{threshold:0});function r(o,i){const s=fa(o,ne);if(!s)return;const{url:l,external:f,download:u}=nn(s,Y);if(f||u)return;const c=Et(s),_=l&&I.url.pathname+I.url.search===l.pathname+l.search;if(!c.reload&&!_)if(i<=c.preload_data){const d=Nn(l,!1);d&&Mi(d)}else i<=c.preload_code&&Vt(l.pathname)}function a(){n.disconnect();for(const o of ne.querySelectorAll("a")){const{url:i,external:s,download:l}=nn(o,Y);if(s||l)continue;const f=Et(o);f.reload||(f.preload_code===bt.viewport&&n.observe(o),f.preload_code===bt.eager&&Vt(i.pathname))}}Re.push(a),a()}function xe(e,t){if(e instanceof Ut)return e.body;const n=At(e),r=Di(e);return Be.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Vi(e,t={}){return e=sa(e),e.origin!==ft?Promise.reject(new Error("goto: invalid URL")):ya(e,t,0)}function Yi(){var t;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(lr(),!tt){const a=ka(I,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};_a.forEach(i=>i(o))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&lr()}),(t=navigator.connection)!=null&&t.saveData||Bi(),ne.addEventListener("click",async n=>{var _;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=fa(n.composedPath()[0],ne);if(!r)return;const{url:a,external:o,target:i,download:s}=nn(r,Y);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const l=Et(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;if(o||l.reload){Ea({url:a,type:"link"})?tt=!0:n.preventDefault();return}const[u,c]=a.href.split("#");if(c!==void 0&&u===Ht(location)){const[,d]=I.url.href.split("#");if(d===c){n.preventDefault(),c===""||c==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(_=r.ownerDocument.getElementById(decodeURIComponent(c)))==null||_.scrollIntoView();return}if(We=!0,Sn(L),e(a),!l.replace_state)return;We=!1}n.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),ct({type:"link",url:a,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??a.href===location.href})}),ne.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Dt(s,Y))return;const l=n.target,f=Et(l);if(f.reload)return;n.preventDefault(),n.stopPropagation();const u=new FormData(l),c=a==null?void 0:a.getAttribute("name");c&&u.append(c,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(u).toString(),ct({type:"form",url:s,keepfocus:f.keepfocus,noscroll:f.noscroll,replace_state:f.replace_state??s.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[Le]){const a=n.state[Le];if(Rt={},a===L)return;const o=we[a],i=n.state[ia]??{},s=new URL(n.state[bi]??location.href),l=n.state[Qe],f=Ht(location)===Ht(I.url);if(l===V&&(va||f)){e(s),we[L]=En(),o&&scrollTo(o.x,o.y),i!==B.state&&(B={...B,state:i},Rn.$set({page:B})),L=a;return}const c=a-L;await ct({type:"popstate",url:s,popped:{state:i,scroll:o,delta:c},accept:()=>{L=a,V=l},block:()=>{history.go(-c)},nav_token:Rt})}else if(!We){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{We&&(We=!1,history.replaceState({...history.state,[Le]:++L,[Qe]:V},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&ae.navigating.set(null)});function e(n){I.url=n,ae.page.set({...B,url:n}),ae.page.notify()}}async function Wi(e,{status:t=200,error:n,node_ids:r,params:a,route:o,data:i,form:s}){Tn=!0;const l=new URL(location.href);({params:a={},route:o={id:null}}=Nn(l,!1)||{});let f;try{const u=r.map(async(d,v)=>{const h=i[v];return h!=null&&h.uses&&(h.uses=Ta(h.uses)),In({loader:Be.nodes[d],url:l,params:a,route:o,parent:async()=>{const y={};for(let w=0;wd===o.id);if(_){const d=_.layouts;for(let v=0;vo?"1":"0").join(""));const r=await na(n.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new Ut(r.status,o)}return new Promise(async o=>{var c;const i=new Map,s=r.body.getReader(),l=new TextDecoder;function f(_){return Ci(_,{Promise:d=>new Promise((v,h)=>{i.set(d,{fulfil:v,reject:h})})})}let u="";for(;;){const{done:_,value:d}=await s.read();if(_&&!u)break;for(u+=!d&&u?` +var Ia=Object.defineProperty;var Dn=e=>{throw TypeError(e)};var Oa=(e,t,n)=>t in e?Ia(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Un=(e,t,n)=>Oa(e,typeof t!="symbol"?t+"":t,n),Mt=(e,t,n)=>t.has(e)||Dn("Cannot "+n);var N=(e,t,n)=>(Mt(e,t,"read from private field"),n?n.call(e):t.get(e)),ve=(e,t,n)=>t.has(e)?Dn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ye=(e,t,n,r)=>(Mt(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),$n=(e,t,n)=>(Mt(e,t,"access private method"),n);var on=Array.isArray,sn=Array.from,hr=Object.defineProperty,Ie=Object.getOwnPropertyDescriptor,_r=Object.getOwnPropertyDescriptors,Na=Object.prototype,Ca=Array.prototype,dt=Object.getPrototypeOf;const ge=()=>{};function La(e){return e()}function ht(e){for(var t=0;t=w.v&&K(w,m+1)}Mn(i)}return!0},ownKeys(l){j(i);var f=Reflect.ownKeys(l).filter(_=>{var d=a.get(_);return d===void 0||d.v!==U});for(var[u,c]of a)c.v!==U&&!(u in l)&&f.push(u);return f},setPrototypeOf(){Ba()}})}function Mn(e,t=1){K(e,e.v+t)}function qn(e){return e!==null&&typeof e=="object"&&ue in e?e[ue]:e}function to(e,t){return Object.is(qn(e),qn(t))}var Hn,no,Ar,Sr;function Gt(){if(Hn===void 0){Hn=window,no=document;var e=Element.prototype,t=Node.prototype;Ar=Ie(t,"firstChild").get,Sr=Ie(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__e=void 0,Text.prototype.__t=void 0}}function he(e=""){return document.createTextNode(e)}function Z(e){return Ar.call(e)}function W(e){return Sr.call(e)}function Bn(e){if(!A)return Z(e);var t=Z(T);return t===null&&(t=T.appendChild(he())),P(t),t}function ro(e,t){if(!A){var n=Z(e);return n instanceof Comment&&n.data===""?W(n):n}return T}function ao(e,t=1,n=!1){let r=A?T:e;for(;t--;)r=W(r);if(!A)return r;var a=r.nodeType;if(n&&a!==3){var o=he();return r==null||r.before(o),P(o),o}return P(r),r}function vn(e){e.textContent=""}function Tr(e){k===null&&R===null&&$a(),R!==null&&R.f&me&&Ua(),yn&&Da()}function oo(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Fe(e,t,n,r=!0){var a=(e&rt)!==0,o=k,i={ctx:O,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:e|de,first:null,fn:t,last:null,next:null,parent:a?null:o,prev:null,teardown:null,transitions:null,version:0};if(n){var s=Ne;try{Vn(!0),jt(i),i.f|=xa}catch(u){throw ie(i),u}finally{Vn(s)}}else t!==null&&Pt(i);var l=n&&i.deps===null&&i.first===null&&i.nodes_start===null&&i.teardown===null&&(i.f&gr)===0;if(!l&&!a&&r&&(o!==null&&oo(i,o),R!==null&&R.f&oe)){var f=R;(f.children??(f.children=[])).push(i)}return i}function io(e){const t=Fe(Ue,null,!1);return ee(t,D),t.teardown=e,t}function Kt(e){Tr();var t=k!==null&&(k.f&Ue)!==0&&O!==null&&!O.m;if(t){var n=O;(n.e??(n.e=[])).push({fn:e,effect:k,reaction:R})}else{var r=Me(e);return r}}function so(e){return Tr(),Lt(e)}function lo(e){const t=Fe(rt,e,!0);return()=>{ie(t)}}function Me(e){return Fe(vr,e,!1)}function Lt(e){return Fe(Ue,e,!0)}function fo(e){return Lt(e)}function qe(e,t=0){return Fe(Ue|ln|t,e,!0)}function _e(e,t=!0){return Fe(Ue|Q,e,!0,t)}function kr(e){var t=e.teardown;if(t!==null){const n=yn,r=R;Yn(!0),mt(null);try{t.call(null)}finally{Yn(n),mt(r)}}}function ie(e,t=!0){var n=!1;if((t||e.f&pr)&&e.nodes_start!==null){for(var r=e.nodes_start,a=e.nodes_end;r!==null;){var o=r===a?null:W(r);r.remove(),r=o}n=!0}Mr(e,t&&!n),Ze(e,0),ee(e,$e);var i=e.transitions;if(i!==null)for(const l of i)l.stop();kr(e);var s=e.parent;s!==null&&s.first!==null&&Rr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.parent=e.fn=e.nodes_start=e.nodes_end=null}function Rr(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function vt(e,t){var n=[];pn(e,n,!0),Ir(n,()=>{ie(e),t&&t()})}function Ir(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var a of e)a.out(r)}else t()}function pn(e,t,n){if(!(e.f&re)){if(e.f^=re,e.transitions!==null)for(const i of e.transitions)(i.is_global||n)&&t.push(i);for(var r=e.first;r!==null;){var a=r.next,o=(r.f&ot)!==0||(r.f&Q)!==0;pn(r,t,o?n:!1),r=a}}}function pt(e){Or(e,!0)}function Or(e,t){if(e.f&re){e.f^=re,lt(e)&&jt(e);for(var n=e.first;n!==null;){var r=n.next,a=(n.f&ot)!==0||(n.f&Q)!==0;Or(n,a?t:!1),n=r}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}const uo=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let gt=!1,yt=!1,zt=[],Jt=[];function Nr(){gt=!1;const e=zt.slice();zt=[],ht(e)}function Cr(){yt=!1;const e=Jt.slice();Jt=[],ht(e)}function st(e){gt||(gt=!0,queueMicrotask(Nr)),zt.push(e)}function co(e){yt||(yt=!0,uo(Cr)),Jt.push(e)}function ho(){gt&&Nr(),yt&&Cr()}function wt(e){var t=oe|de;k===null?t|=me:k.f|=gr;const n={children:null,deps:null,equals:yr,f:t,fn:e,reactions:null,v:null,version:0,parent:k};if(R!==null&&R.f&oe){var r=R;(r.children??(r.children=[])).push(n)}return n}function _o(e){const t=wt(e);return t.equals=fn,t}function Lr(e){var t=e.children;if(t!==null){e.children=null;for(var n=0;ne.version)return!0}}r||ee(e,D)}return!1}function yo(e,t,n){throw e}function Fr(e){var c;var t=C,n=$,r=ce,a=R,o=ke,i=J,s=e.f;C=null,$=0,ce=null,R=s&(Q|rt)?null:e,ke=!Ne&&(s&me)!==0,J=null;try{var l=(0,e.fn)(),f=e.deps;if(C!==null){var u;if(Ze(e,$),f!==null&&$>0)for(f.length=$+C.length,u=0;u1e3&&(Ce=0,Fa()),Ce++}function Hr(e){var t=e.length;if(t!==0){qr();var n=Ne;Ne=!0;try{for(var r=0;r1001)return;const e=pe;pe=[],Hr(e),Xe||(Ce=0)}function Pt(e){ut===Dr&&(Xe||(Xe=!0,queueMicrotask(Eo)));for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(n&(rt|Q)){if(!(n&D))return;t.f^=D}}pe.push(t)}function Br(e,t){var n=e.first,r=[];e:for(;n!==null;){var a=n.f,o=(a&Q)!==0,i=o&&(a&D)!==0;if(!i&&!(a&re))if(a&Ue){o?n.f^=D:lt(n)&&jt(n);var s=n.first;if(s!==null){n=s;continue}}else a&vr&&r.push(n);var l=n.next;if(l===null){let c=n.parent;for(;c!==null;){if(e===c)break e;var f=c.next;if(f!==null){n=f;continue e}c=c.parent}}n=l}for(var u=0;u0||a.length>0)&&wn(),Ce=0,r}finally{ut=t,pe=n}}async function Ao(){await Promise.resolve(),wn()}function j(e){var s;var t=e.f,n=(t&oe)!==0;if(n&&t&$e){var r=xr(e);return gn(e),r}if(R!==null){J!==null&&J.includes(e)&&Va();var a=R.deps;C===null&&a!==null&&a[$]===e?$++:C===null?C=[e]:C.push(e),ce!==null&&k!==null&&k.f&D&&!(k.f&Q)&&ce.includes(e)&&(ee(k,de),Pt(k))}else if(n&&e.deps===null){var o=e,i=o.parent;i!==null&&!((s=i.deriveds)!=null&&s.includes(o))&&(i.deriveds??(i.deriveds=[])).push(o)}return n&&(o=e,lt(o)&&jr(o)),e.v}function He(e){const t=R;try{return R=null,e()}finally{R=t}}const So=~(de|at|D);function ee(e,t){e.f=e.f&So|t}function Vr(e,t=!1,n){O={p:O,c:null,e:null,m:!1,s:e,x:null,l:null},t||(O.l={s:null,u:null,r1:[],r2:F(!1)})}function Yr(e){const t=O;if(t!==null){e!==void 0&&(t.x=e);const i=t.e;if(i!==null){var n=k,r=R;t.e=null;try{for(var a=0;a{t.addEventListener(e,a,r)}):t.addEventListener(e,a,r),a}function ko(e){for(var t=0;t{throw w});throw u}}finally{e.__root=t,delete e.currentTarget}}}let M;function Ro(){M=void 0}function ns(e){let t=null,n=A;var r;if(A){for(t=T,M===void 0&&(M=Z(document.head));M!==null&&(M.nodeType!==8||M.data!==dn);)M=W(M);M===null?z(!1):M=P(W(M))}A||(r=document.head.appendChild(he()));try{qe(()=>e(r),pr)}finally{n&&(z(!0),M=T,P(t))}}function Gr(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function X(e,t){var n=k;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Io(e,t){var n=(t&Qa)!==0,r=(t&eo)!==0,a,o=!e.startsWith("");return()=>{if(A)return X(T,null),T;a===void 0&&(a=Gr(o?e:""+e),n||(a=Z(a)));var i=r?document.importNode(a,!0):a.cloneNode(!0);if(n){var s=Z(i),l=i.lastChild;X(s,l)}else X(i,i);return i}}function rs(e=""){if(!A){var t=he(e+"");return X(t,t),t}var n=T;return n.nodeType!==3&&(n.before(n=he()),P(n)),X(n,n),n}function as(){if(A)return X(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(""),n=he();return e.append(t,n),X(t,n),e}function Oo(e,t){if(A){k.nodes_end=T,ye();return}e!==null&&e.before(t)}function No(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Co=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Lo(e){return Co.includes(e)}const xo={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"};function jo(e){return e=e.toLowerCase(),xo[e]??e}const Po=["touchstart","touchmove"];function Do(e){return Po.includes(e)}function Gn(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n==null?"":n+"")}function Kr(e,t){return zr(e,t)}function Uo(e,t){Gt(),t.intro=t.intro??!1;const n=t.target,r=A,a=T;try{for(var o=Z(n);o&&(o.nodeType!==8||o.data!==dn);)o=W(o);if(!o)throw Oe;z(!0),P(o),ye();const i=zr(e,{...t,anchor:o});if(T===null||T.nodeType!==8||T.data!==_n)throw Ct(),Oe;return z(!1),i}catch(i){if(i===Oe)return t.recover===!1&&Ma(),Gt(),vn(n),z(!1),Kr(e,t);throw i}finally{z(r),P(a),Ro()}}const Ee=new Map;function zr(e,{target:t,anchor:n,props:r={},events:a,context:o,intro:i=!0}){Gt();var s=new Set,l=c=>{for(var _=0;_{var c=n??t.appendChild(he());return _e(()=>{if(o){Vr({});var _=O;_.c=o}a&&(r.$$events=a),A&&X(c,null),f=e(c,r)||{},A&&(k.nodes_end=T),o&&Yr()}),()=>{var v;for(var _ of s){t.removeEventListener(_,Ge);var d=Ee.get(_);--d===0?(document.removeEventListener(_,Ge),Ee.delete(_)):Ee.set(_,d)}Zt.delete(l),Qt.delete(f),c!==n&&((v=c.parentNode)==null||v.removeChild(c))}});return Qt.set(f,u),f}let Qt=new WeakMap;function $o(e){const t=Qt.get(e);t&&t()}function os(e,t,n,r=null,a=!1){A&&ye();var o=e,i=null,s=null,l=null,f=a?ot:0;qe(()=>{if(l===(l=!!t()))return;let u=!1;if(A){const c=o.data===hn;l===c&&(o=Wt(),P(o),z(!1),u=!0)}l?(i?pt(i):i=_e(()=>n(o)),s&&vt(s,()=>{s=null})):(s?pt(s):r&&(s=_e(()=>r(o))),i&&vt(i,()=>{i=null})),u&&z(!0)},f),A&&(o=T)}let qt=null;function is(e,t){return t}function Fo(e,t,n,r){for(var a=[],o=t.length,i=0;i0&&a.length===0&&n!==null;if(s){var l=n.parentNode;vn(l),l.append(n),r.clear(),le(e,t[0].prev,t[o-1].next)}Ir(a,()=>{for(var f=0;f{var _=n(),d=on(_)?_:_==null?[]:sn(_),v=d.length;if(c&&v===0)return;c=v===0;let h=!1;if(A){var y=i.data===hn;y!==(v===0)&&(i=Wt(),P(i),z(!1),h=!0)}if(A){for(var w=null,m,g=0;g0&&P(Wt())}A||Mo(d,s,i,a,t,r),o!==null&&(v===0?u?pt(u):u=_e(()=>o(i)):u!==null&&vt(u,()=>{u=null})),h&&z(!0),n()}),A&&(i=T)}function Mo(e,t,n,r,a,o){var Cn,Ln,xn,jn;var i=(a&Wa)!==0,s=(a&(un|cn))!==0,l=e.length,f=t.items,u=t.first,c=u,_,d=null,v,h=[],y=[],w,m,g,p;if(i)for(p=0;p0){var Ve=a&Er&&l===0?n:null;if(i){for(p=0;p{var Pn;if(v!==void 0)for(g of v)(Pn=g.a)==null||Pn.apply()}),k.first=t.first&&t.first.e,k.last=d&&d.e}function qo(e,t,n,r){r&un&&Yt(e.v,t),r&cn?Yt(e.i,n):e.i=n}function Jr(e,t,n,r,a,o,i,s,l){var f=qt;try{var u=(l&un)!==0,c=(l&Ga)===0,_=u?c?it(a):F(a):a,d=l&cn?F(i):i,v={i:d,v:_,k:o,a:null,e:null,prev:n,next:r};return qt=v,v.e=_e(()=>s(e,_,d),A),v.e.prev=n&&n.e,v.e.next=r&&r.e,n===null?t.first=v:(n.next=v,n.e.next=v.e),r!==null&&(r.prev=v,r.e.prev=v.e),v}finally{qt=f}}function Kn(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,a=t?t.e.nodes_start:n,o=e.e.nodes_start;o!==r;){var i=W(o);a.before(o),o=i}}function le(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function ls(e,t,n,r,a){var o=e,i="",s;qe(()=>{if(i===(i=t()??"")){A&&ye();return}s!==void 0&&(ie(s),s=void 0),i!==""&&(s=_e(()=>{if(A){T.data;for(var l=ye(),f=l;l!==null&&(l.nodeType!==8||l.data!=="");)f=l,l=W(l);if(l===null)throw Ct(),Oe;X(T,f),o=P(l);return}var u=i+"",c=Gr(u);X(Z(c),c.lastChild),o.before(c)}))})}function fs(e,t,...n){var r=e,a=ge,o;qe(()=>{a!==(a=t())&&(o&&(ie(o),o=null),o=_e(()=>a(r,...n)))},ot),A&&(r=T)}function us(e,t,n){A&&ye();var r=e,a,o;qe(()=>{a!==(a=t())&&(o&&(vt(o),o=null),a&&(o=_e(()=>n(r,a))))},ot),A&&(r=T)}function Ho(e,t){if(t){const n=document.body;e.autofocus=!0,st(()=>{document.activeElement===n&&e.focus()})}}function cs(e){A&&Z(e)!==null&&vn(e)}let zn=!1;function Xr(){zn||(zn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function ds(e){if(A){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var r=e.value;en(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var a=e.checked;en(e,"checked",null),e.checked=a}}};e.__on_r=n,co(n),Xr()}}function en(e,t,n,r){var a=e.__attributes??(e.__attributes={});A&&(a[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||a[t]!==(a[t]=n)&&(t==="loading"&&(e[Pa]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Zr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function hs(e,t,n,r,a=!1,o=!1,i=!1){var s=t||{},l=e.tagName==="OPTION";for(var f in t)f in n||(n[f]=null);n.class=n.class?n.class+" "+r:r;var u=Zr(e),c=e.__attributes??(e.__attributes={}),_=[];for(const w in n){let m=n[w];if(l&&w==="value"&&m==null){e.value=e.__value="",s[w]=m;continue}var d=s[w];if(m!==d){s[w]=m;var v=w[0]+w[1];if(v!=="$$")if(v==="on"){const g={},p="$$"+w;let E=w.slice(2);var h=Lo(E);if(No(E)&&(E=E.slice(0,-7),g.capture=!0),!h&&d){if(m!=null)continue;e.removeEventListener(E,s[p],g),s[p]=null}if(m!=null)if(h)e[`__${E}`]=m,ko([E]);else{let b=function(S){s[w].call(this,S)};t?s[p]=Wn(E,e,b,g):_.push([w,m,()=>s[p]=Wn(E,e,b,g)])}}else if(w==="style"&&m!=null)e.style.cssText=m+"";else if(w==="autofocus")Ho(e,!!m);else if(w==="__value"||w==="value"&&m!=null)e.value=e[w]=e.__value=m;else{var y=w;a||(y=jo(y)),m==null&&!o?(c[w]=null,e.removeAttribute(w)):u.includes(y)&&(o||typeof m!="string")?e[y]=m:typeof m!="function"&&(A&&(y==="src"||y==="href"||y==="srcset")||en(e,y,m))}}}return t||st(()=>{if(e.isConnected)for(const[w,m,g]of _)s[w]===m&&g()}),s}var Jn=new Map;function Zr(e){var t=Jn.get(e.nodeName);if(t)return t;Jn.set(e.nodeName,t=[]);for(var n,r=dt(e);r.constructor.name!=="Element";){n=_r(r);for(var a in n)n[a].set&&t.push(a);r=dt(r)}return t}function _s(e,t){var n=e.__className,r=Bo(t);A&&e.className===r?e.__className=r:(n!==r||A&&e.className!==r)&&(t==null?e.removeAttribute("class"):e.className=r,e.__className=r)}function Bo(e){return e??""}function vs(e,t,n){if(n){if(e.classList.contains(t))return;e.classList.add(t)}else{if(!e.classList.contains(t))return;e.classList.remove(t)}}function Qr(e,t,n,r=n){e.addEventListener(t,n);const a=e.__on_r;a?e.__on_r=()=>{a(),r()}:e.__on_r=r,Xr()}function ps(e,t,n=t){var r=xt();Qr(e,"input",()=>{var a=Xn(e)?Zn(e.value):e.value;n(a),r&&a!==(a=t())&&(e.value=a??"")}),Lt(()=>{var a=t();if(A&&e.defaultValue!==e.value){n(e.value);return}Xn(e)&&a===Zn(e.value)||e.type==="date"&&!a&&!e.value||a!==e.value&&(e.value=a??"")})}function Xn(e){var t=e.type;return t==="number"||t==="range"}function Zn(e){return e===""?null:+e}function ea(e,t,n){if(e.multiple)return Yo(e,t);for(var r of e.options){var a=Ke(r);if(to(a,t)){r.selected=!0;return}}(!n||t!==void 0)&&(e.selectedIndex=-1)}function Vo(e,t){Me(()=>{var n=new MutationObserver(()=>{var r=e.__value;ea(e,r)});return n.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),()=>{n.disconnect()}})}function gs(e,t,n=t){var r=!0;Qr(e,"change",()=>{var a;if(e.multiple)a=[].map.call(e.querySelectorAll(":checked"),Ke);else{var o=e.querySelector(":checked");a=o&&Ke(o)}n(a)}),Me(()=>{var a=t();if(ea(e,a,r),r&&a===void 0){var o=e.querySelector(":checked");o!==null&&(a=Ke(o),n(a))}e.__value=a,r=!1}),Vo(e)}function Yo(e,t){for(var n of e.options)n.selected=~t.indexOf(Ke(n))}function Ke(e){return"__value"in e?e.__value:e.value}var fe,je,nt,Ot,ta;const Nt=class Nt{constructor(t){ve(this,Ot);ve(this,fe,new WeakMap);ve(this,je);ve(this,nt);Ye(this,nt,t)}observe(t,n){var r=N(this,fe).get(t)||new Set;return r.add(n),N(this,fe).set(t,r),$n(this,Ot,ta).call(this).observe(t,N(this,nt)),()=>{var a=N(this,fe).get(t);a.delete(n),a.size===0&&(N(this,fe).delete(t),N(this,je).unobserve(t))}}};fe=new WeakMap,je=new WeakMap,nt=new WeakMap,Ot=new WeakSet,ta=function(){return N(this,je)??Ye(this,je,new ResizeObserver(t=>{for(var n of t){Nt.entries.set(n.target,n);for(var r of N(this,fe).get(n.target)||[])r(n)}}))},Un(Nt,"entries",new WeakMap);let tn=Nt;var Wo=new tn({box:"border-box"});function ys(e,t,n){var r=Wo.observe(e,()=>n(e[t]));Me(()=>(He(()=>n(e[t])),r))}function Qn(e,t){return e===t||(e==null?void 0:e[ue])===t}function ws(e={},t,n,r){return Me(()=>{var a,o;return Lt(()=>{a=o,o=[],He(()=>{e!==n(...o)&&(t(e,...o),a&&Qn(n(...a),e)&&t(null,...a))})}),()=>{st(()=>{o&&Qn(n(...o),e)&&t(null,...o)})}}),e}function Go(e=!1){const t=O,n=t.l.u;if(!n)return;let r=()=>To(t.s);if(e){let a=0,o={};const i=wt(()=>{let s=!1;const l=t.s;for(const f in l)l[f]!==o[f]&&(o[f]=l[f],s=!0);return s&&a++,a});r=()=>j(i)}n.b.length&&so(()=>{er(t,r),ht(n.b)}),Kt(()=>{const a=He(()=>n.m.map(La));return()=>{for(const o of a)typeof o=="function"&&o()}}),n.a.length&&Kt(()=>{er(t,r),ht(n.a)})}function er(e,t){if(e.l.s)for(const n of e.l.s)j(n);t()}const Ko={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function ms(e,t,n){return new Proxy({props:e,exclude:t},Ko)}function tr(e){for(var t=k,n=k;t!==null&&!(t.f&(Q|rt));)t=t.parent;try{return Pe(t),e()}finally{Pe(n)}}function bs(e,t,n,r){var E;var a=(n&Ka)!==0,o=(n&za)!==0,i=(n&Xa)!==0,s=(n&Za)!==0,l=e[t],f=(E=Ie(e,t))==null?void 0:E.set,u=r,c=!0,_=!1,d=()=>(_=!0,c&&(c=!1,s?u=He(r):u=r),u);l===void 0&&r!==void 0&&(f&&o&&qa(),l=d(),f&&f(l));var v;if(o)v=()=>{var b=e[t];return b===void 0?d():(c=!0,_=!1,b)};else{var h=tr(()=>(a?wt:_o)(()=>e[t]));h.f|=ja,v=()=>{var b=j(h);return b!==void 0&&(u=void 0),b===void 0?u:b}}if(!(n&Ja))return v;if(f){var y=e.$$legacy;return function(b,S){return arguments.length>0?((!o||!S||y)&&f(S?v():b),b):v()}}var w=!1,m=!1,g=it(l),p=tr(()=>wt(()=>{var b=v(),S=j(g),x=R;return w||b===void 0&&x.f&$e?(w=!1,m=!0,S):(m=!1,g.v=b)}));return a||(p.equals=fn),function(b,S){var x=j(p);if(arguments.length>0){const G=S?j(p):o&&i?Te(b):b;return p.equals(G)||(w=!0,K(g,G),_&&u!==void 0&&(u=G),j(p)),b}return x}}function zo(e,t,n){if(e==null)return t(void 0),ge;const r=e.subscribe(t,n);return r.unsubscribe?()=>r.unsubscribe():r}function Jo(e,t,n){const r=n[t]??(n[t]={store:null,source:it(void 0),unsubscribe:ge});if(r.store!==e)if(r.unsubscribe(),r.store=e??null,e==null)r.source.v=void 0,r.unsubscribe=ge;else{var a=!0;r.unsubscribe=zo(e,o=>{a?r.source.v=o:K(r.source,o)}),a=!1}return j(r.source)}function Xo(){const e={};return io(()=>{for(var t in e)e[t].unsubscribe()}),e}function Es(e){return class extends Zo{constructor(t){super({component:e,...t})}}}var te,q;class Zo{constructor(t){ve(this,te);ve(this,q);var o;var n=new Map,r=(i,s)=>{var l=it(s);return n.set(i,l),l};const a=new Proxy({...t.props||{},$$events:{}},{get(i,s){return j(n.get(s)??r(s,Reflect.get(i,s)))},has(i,s){return j(n.get(s)??r(s,Reflect.get(i,s))),Reflect.has(i,s)},set(i,s,l){return K(n.get(s)??r(s,l),l),Reflect.set(i,s,l)}});Ye(this,q,(t.hydrate?Uo:Kr)(t.component,{target:t.target,props:a,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&wn(),Ye(this,te,a.$$events);for(const i of Object.keys(N(this,q)))i==="$set"||i==="$destroy"||i==="$on"||hr(this,i,{get(){return N(this,q)[i]},set(s){N(this,q)[i]=s},enumerable:!0});N(this,q).$set=i=>{Object.assign(a,i)},N(this,q).$destroy=()=>{$o(N(this,q))}}$set(t){N(this,q).$set(t)}$on(t,n){N(this,te)[t]=N(this,te)[t]||[];const r=(...a)=>n.call(this,...a);return N(this,te)[t].push(r),()=>{N(this,te)[t]=N(this,te)[t].filter(a=>a!==r)}}$destroy(){N(this,q).$destroy()}}te=new WeakMap,q=new WeakMap;function Qo(e){O===null&&Pr(),O.l!==null?ei(O).m.push(e):Kt(()=>{const t=He(e);if(typeof t=="function")return t})}function As(e){O===null&&Pr(),Qo(()=>()=>He(e))}function ei(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}new URL("sveltekit-internal://");function ti(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function ni(e){return e.split("%25").map(decodeURI).join("%25")}function ri(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function Ht({href:e}){return e.split("#")[0]}const ai=["href","pathname","search","toString","toJSON"];function oi(e,t,n){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return s=>(n(s),a[o](s));t();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of ai)Object.defineProperty(r,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return r}const ii="/__data.json",si=".html__data.json";function li(e){return e.endsWith(".html")?e.replace(/\.html$/,si):e.replace(/\/$/,"")+ii}function fi(...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)}function ui(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r((e instanceof Request?e.method:(t==null?void 0:t.method)||"GET")!=="GET"&&ze.delete(mn(e)),na(e,t));const ze=new Map;function ci(e,t){const n=mn(e,t),r=document.querySelector(n);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&ze.set(n,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=ui(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,t)}function di(e,t,n){if(ze.size>0){const r=mn(e,n),a=ze.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 o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((l,f)=>{if(f%2){if(l.startsWith("x+"))return Bt(String.fromCharCode(parseInt(l.slice(2),16)));if(l.startsWith("u+"))return Bt(String.fromCharCode(...l.slice(2).split("-").map(h=>parseInt(h,16))));const u=hi.exec(l),[,c,_,d,v]=u;return t.push({name:d,matcher:v,optional:!!c,rest:!!_,chained:_?f===1&&i[0]==="":!1}),_?"(.*?)":c?"([^/]*)?":"([^/]+?)"}return Bt(l)}).join("")}).join("")}/?$`),params:t}}function vi(e){return!/^\([^)]+\)$/.test(e)}function pi(e){return e.slice(1).split("/").filter(vi)}function gi(e,t,n){const r={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),f===void 0){l.rest&&(r[l.name]="");continue}if(!l.matcher||n[l.matcher](f)){r[l.name]=f;const u=t[s+1],c=a[s+1];u&&!u.rest&&u.optional&&c&&l.chained&&(i=0),!u&&!c&&Object.keys(r).length===o.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return r}function Bt(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function yi({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([s,[l,f,u]])=>{const{pattern:c,params:_}=_i(s),d={id:s,exec:v=>{const h=c.exec(v);if(h)return gi(h,_,r)},errors:[1,...u||[]].map(v=>e[v]),layouts:[0,...f||[]].map(i),leaf:o(l)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const l=s<0;return l&&(s=~s),[l,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function ra(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function nr(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const Ae=[];function bn(e,t=ge){let n=null;const r=new Set;function a(s){if(wr(e,s)&&(e=s,n)){const l=!Ae.length;for(const f of r)f[1](),Ae.push(f,e);if(l){for(let f=0;f{r.delete(f),r.size===0&&n&&(n(),n=null)}}return{set:a,update:o,subscribe:i}}var cr;const Y=((cr=globalThis.__sveltekit_1b6inrw)==null?void 0:cr.base)??"/svelte-virtuallists";var dr;const wi=((dr=globalThis.__sveltekit_1b6inrw)==null?void 0:dr.assets)??Y,mi="1729336981750",aa="sveltekit:snapshot",oa="sveltekit:scroll",ia="sveltekit:states",bi="sveltekit:pageurl",Le="sveltekit:history",Qe="sveltekit:navigation",bt={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ft=location.origin;function sa(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 En(){return{x:pageXOffset,y:pageYOffset}}function Se(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const rr={...bt,"":bt.hover};function la(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function fa(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=la(e)}}function nn(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!n||!!r||Dt(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(n==null?void 0:n.origin)===ft&&e.hasAttribute("download");return{url:n,external:a,target:r,download:o}}function Et(e){let t=null,n=null,r=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=Se(s,"preload-code")),a===null&&(a=Se(s,"preload-data")),t===null&&(t=Se(s,"keepfocus")),n===null&&(n=Se(s,"noscroll")),o===null&&(o=Se(s,"reload")),i===null&&(i=Se(s,"replacestate")),s=la(s);function l(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:rr[r??"off"],preload_data:rr[a??"off"],keepfocus:l(t),noscroll:l(n),reload:l(o),replace_state:l(i)}}function ar(e){const t=bn(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function o(i){let s;return t.subscribe(l=>{(s===void 0||n&&l!==s)&&i(s=l)})}return{notify:r,set:a,subscribe:o}}function Ei(){const{set:e,subscribe:t}=bn(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${wi}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==mi;return i&&(e(!0),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function Dt(e,t){return e.origin!==ft||!e.pathname.startsWith(t)}function or(e){const t=Si(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 Ti=-1,ki=-2,Ri=-3,Ii=-4,Oi=-5,Ni=-6;function Ci(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(o,i=!1){if(o===Ti)return;if(o===Ri)return NaN;if(o===Ii)return 1/0;if(o===Oi)return-1/0;if(o===Ni)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=n[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const l=s[0],f=t==null?void 0:t[l];if(f)return r[o]=f(a(s[1]));switch(l){case"Date":r[o]=new Date(s[1]);break;case"Set":const u=new Set;r[o]=u;for(let d=1;dt!=null)}class Ut{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 ca{constructor(t,n){this.status=t,this.location=n}}class An extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}const ji="x-sveltekit-invalidated",Pi="x-sveltekit-trailing-slash";function At(e){return e instanceof Ut||e instanceof An?e.status:500}function Di(e){return e instanceof An?e.text:"Internal Error"}const we=ra(oa)??{},et=ra(aa)??{},ae={url:ar({}),page:ar({}),navigating:bn(null),updated:Ei()};function Sn(e){we[e]=En()}function Ui(e,t){let n=e+1;for(;we[n];)delete we[n],n+=1;for(n=t+1;et[n];)delete et[n],n+=1}function De(e){return location.href=e.href,new Promise(()=>{})}async function da(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(Y||"/");e&&await e.update()}}function ir(){}let $t,rn,St,ne,an,Be;const ha=[],Tt=[];let H=null;const _a=[],$i=[];let Re=[],I={branch:[],error:null,url:null},Tn=!1,kt=!1,sr=!0,tt=!1,We=!1,va=!1,kn=!1,Rn,L,V,B,Rt;const Je=new Set;async function Ss(e,t,n){var a,o;document.URL!==location.href&&(location.href=location.href),Be=e,$t=yi(e),ne=document.documentElement,an=t,rn=e.nodes[0],St=e.nodes[1],rn(),St(),L=(a=history.state)==null?void 0:a[Le],V=(o=history.state)==null?void 0:o[Qe],L||(L=V=Date.now(),history.replaceState({...history.state,[Le]:L,[Qe]:V},""));const r=we[L];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),n?await Wi(an,n):Vi(location.href,{replaceState:!0}),Yi()}function Fi(){ha.length=0,kn=!1}function pa(e){Tt.some(t=>t==null?void 0:t.snapshot)&&(et[e]=Tt.map(t=>{var n;return(n=t==null?void 0:t.snapshot)==null?void 0:n.capture()}))}function ga(e){var t;(t=et[e])==null||t.forEach((n,r)=>{var a,o;(o=(a=Tt[r])==null?void 0:a.snapshot)==null||o.restore(n)})}function lr(){Sn(L),nr(oa,we),pa(V),nr(aa,et)}async function ya(e,t,n,r){return ct({type:"goto",url:sa(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(kn=!0)}})}async function Mi(e){if(e.id!==(H==null?void 0:H.id)){const t={};Je.add(t),H={id:e.id,token:t,promise:ma({...e,preload:t}).then(n=>(Je.delete(t),n.type==="loaded"&&n.state.error&&(H=null),n))}}return H.promise}async function Vt(e){const t=$t.find(n=>n.exec(ba(e)));t&&await Promise.all([...t.layouts,t.leaf].map(n=>n==null?void 0:n[1]()))}function wa(e,t,n){var o;I=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),B=e.props.page,Rn=new Be.root({target:t,props:{...e.props,stores:ae,components:Tt},hydrate:n,sync:!1}),ga(V);const a={from:null,to:{params:I.params,route:{id:((o=I.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};Re.forEach(i=>i(a)),kt=!0}function It({url:e,params:t,branch:n,status:r,error:a,route:o,form:i}){let s="never";if(Y&&(e.pathname===Y||e.pathname===Y+"/"))s="always";else for(const d of n)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);e.pathname=ti(e.pathname,s),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:xi(n).map(d=>d.node.component),page:B}};i!==void 0&&(l.props.form=i);let f={},u=!B,c=0;for(let d=0;d(s&&(l.route=!0),h[y])}),params:new Proxy(r,{get:(h,y)=>(s&&l.params.add(y),h[y])}),data:(o==null?void 0:o.data)??null,url:oi(n,()=>{s&&(l.url=!0)},h=>{s&&l.search_params.add(h)}),async fetch(h,y){let w;h instanceof Request?(w=h.url,y={body:h.method==="GET"||h.method==="HEAD"?void 0:await h.blob(),cache:h.cache,credentials:h.credentials,headers:h.headers,integrity:h.integrity,keepalive:h.keepalive,method:h.method,mode:h.mode,redirect:h.redirect,referrer:h.referrer,referrerPolicy:h.referrerPolicy,signal:h.signal,...y}):w=h;const m=new URL(w,n);return s&&d(m.href),m.origin===n.origin&&(w=m.href.slice(n.origin.length)),kt?di(w,m.href,y):ci(w,y)},setHeaders:()=>{},depends:d,parent(){return s&&(l.parent=!0),t()},untrack(h){s=!1;try{return h()}finally{s=!0}}};i=await f.universal.load.call(null,v)??null}return{node:f,loader:e,server:o,universal:(c=f.universal)!=null&&c.load?{type:"data",data:i,uses:l}:null,data:i??(o==null?void 0:o.data)??null,slash:((_=f.universal)==null?void 0:_.trailingSlash)??(o==null?void 0:o.slash)}}function fr(e,t,n,r,a,o){if(kn)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(o[i]!==I.params[i])return!0;for(const i of a.dependencies)if(ha.some(s=>s(new URL(i))))return!0;return!1}function On(e,t){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?t??null:null}function qi(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),o=t.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&n.delete(r)}return n}function ur({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:B,constructors:[]}}}async function ma({id:e,invalidating:t,url:n,params:r,route:a,preload:o}){if((H==null?void 0:H.id)===e)return Je.delete(H.token),H.promise;const{errors:i,layouts:s,leaf:l}=a,f=[...s,l];i.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const c=I.url?e!==I.url.pathname+I.url.search:!1,_=I.route?a.id!==I.route.id:!1,d=qi(I.url,n);let v=!1;const h=f.map((p,E)=>{var x;const b=I.branch[E],S=!!(p!=null&&p[0])&&((b==null?void 0:b.loader)!==p[1]||fr(v,_,c,d,(x=b.server)==null?void 0:x.uses,r));return S&&(v=!0),S});if(h.some(Boolean)){try{u=await Sa(n,h)}catch(p){const E=await xe(p,{url:n,params:r,route:{id:e}});return Je.has(o)?ur({error:E,url:n,params:r,route:a}):Ft({status:At(p),error:E,url:n,route:a})}if(u.type==="redirect")return u}const y=u==null?void 0:u.nodes;let w=!1;const m=f.map(async(p,E)=>{var G;if(!p)return;const b=I.branch[E],S=y==null?void 0:y[E];if((!S||S.type==="skip")&&p[1]===(b==null?void 0:b.loader)&&!fr(w,_,c,d,(G=b.universal)==null?void 0:G.uses,r))return b;if(w=!0,(S==null?void 0:S.type)==="error")throw S;return In({loader:p[1],url:n,params:r,route:a,parent:async()=>{var be;const se={};for(let Ve=0;Ve{});const g=[];for(let p=0;pPromise.resolve({}),server_data_node:On(o)}),l={node:await St(),loader:St,universal:null,server:null,data:null};return It({url:n,params:a,branch:[s,l],status:e,error:t,route:null})}function Nn(e,t){if(!e||Dt(e,Y))return;let n;try{n=Be.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=ba(n);for(const a of $t){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:t,route:a,params:ri(o),url:e}}}function ba(e){return ni(e.slice(Y.length)||"/")}function Ea({url:e,type:t,intent:n,delta:r}){let a=!1;const o=ka(I,n,e,t);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return tt||_a.forEach(s=>s(i)),a?null:o}async function ct({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:l={},accept:f=ir,block:u=ir}){const c=Nn(t,!1),_=Ea({url:t,type:e,delta:n==null?void 0:n.delta,intent:c});if(!_){u();return}const d=L,v=V;f(),tt=!0,kt&&ae.navigating.set(_.navigation),Rt=l;let h=c&&await ma(c);if(!h){if(Dt(t,Y))return await De(t);h=await Aa(t,{id:null},await xe(new An(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=(c==null?void 0:c.url)||t,Rt!==l)return _.reject(new Error("navigation aborted")),!1;if(h.type==="redirect")if(s>=20)h=await Ft({status:500,error:await xe(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return ya(new URL(h.location,t).href,{},s+1,l),!1;else h.props.page.status>=400&&await ae.updated.check()&&(await da(),await De(t));if(Fi(),Sn(d),pa(v),h.props.page.url.pathname!==t.pathname&&(t.pathname=h.props.page.url.pathname),i=n?n.state:i,!n){const g=o?0:1,p={[Le]:L+=g,[Qe]:V+=g,[ia]:i};(o?history.replaceState:history.pushState).call(history,p,"",t),o||Ui(L,V)}if(H=null,h.props.page.state=i,kt){I=h.state,h.props.page&&(h.props.page.url=t);const g=(await Promise.all($i.map(p=>p(_.navigation)))).filter(p=>typeof p=="function");if(g.length>0){let p=function(){Re=Re.filter(E=>!g.includes(E))};g.push(p),Re.push(...g)}Rn.$set(h.props),va=!0}else wa(h,an,!1);const{activeElement:y}=document;await Ao();const w=n?n.scroll:a?En():null;if(sr){const g=t.hash&&document.getElementById(decodeURIComponent(t.hash.slice(1)));w?scrollTo(w.x,w.y):g?g.scrollIntoView():scrollTo(0,0)}const m=document.activeElement!==y&&document.activeElement!==document.body;!r&&!m&&Gi(),sr=!0,h.props.page&&(B=h.props.page),tt=!1,e==="popstate"&&ga(V),_.fulfil(void 0),Re.forEach(g=>g(_.navigation)),ae.navigating.set(null)}async function Aa(e,t,n,r){return e.origin===ft&&e.pathname===location.pathname&&!Tn?await Ft({status:r,error:n,url:e,route:t}):await De(e)}function Bi(){let e;ne.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{r(i,2)},20)});function t(o){r(o.composedPath()[0],1)}ne.addEventListener("mousedown",t),ne.addEventListener("touchstart",t,{passive:!0});const n=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(Vt(i.target.href),n.unobserve(i.target))},{threshold:0});function r(o,i){const s=fa(o,ne);if(!s)return;const{url:l,external:f,download:u}=nn(s,Y);if(f||u)return;const c=Et(s),_=l&&I.url.pathname+I.url.search===l.pathname+l.search;if(!c.reload&&!_)if(i<=c.preload_data){const d=Nn(l,!1);d&&Mi(d)}else i<=c.preload_code&&Vt(l.pathname)}function a(){n.disconnect();for(const o of ne.querySelectorAll("a")){const{url:i,external:s,download:l}=nn(o,Y);if(s||l)continue;const f=Et(o);f.reload||(f.preload_code===bt.viewport&&n.observe(o),f.preload_code===bt.eager&&Vt(i.pathname))}}Re.push(a),a()}function xe(e,t){if(e instanceof Ut)return e.body;const n=At(e),r=Di(e);return Be.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Vi(e,t={}){return e=sa(e),e.origin!==ft?Promise.reject(new Error("goto: invalid URL")):ya(e,t,0)}function Yi(){var t;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let r=!1;if(lr(),!tt){const a=ka(I,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};_a.forEach(i=>i(o))}r?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&lr()}),(t=navigator.connection)!=null&&t.saveData||Bi(),ne.addEventListener("click",async n=>{var _;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const r=fa(n.composedPath()[0],ne);if(!r)return;const{url:a,external:o,target:i,download:s}=nn(r,Y);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const l=Et(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;if(o||l.reload){Ea({url:a,type:"link"})?tt=!0:n.preventDefault();return}const[u,c]=a.href.split("#");if(c!==void 0&&u===Ht(location)){const[,d]=I.url.href.split("#");if(d===c){n.preventDefault(),c===""||c==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(_=r.ownerDocument.getElementById(decodeURIComponent(c)))==null||_.scrollIntoView();return}if(We=!0,Sn(L),e(a),!l.replace_state)return;We=!1}n.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),ct({type:"link",url:a,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??a.href===location.href})}),ne.addEventListener("submit",n=>{if(n.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formTarget)||r.target)==="_blank"||((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(Dt(s,Y))return;const l=n.target,f=Et(l);if(f.reload)return;n.preventDefault(),n.stopPropagation();const u=new FormData(l),c=a==null?void 0:a.getAttribute("name");c&&u.append(c,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(u).toString(),ct({type:"form",url:s,keepfocus:f.keepfocus,noscroll:f.noscroll,replace_state:f.replace_state??s.href===location.href})}),addEventListener("popstate",async n=>{var r;if((r=n.state)!=null&&r[Le]){const a=n.state[Le];if(Rt={},a===L)return;const o=we[a],i=n.state[ia]??{},s=new URL(n.state[bi]??location.href),l=n.state[Qe],f=Ht(location)===Ht(I.url);if(l===V&&(va||f)){e(s),we[L]=En(),o&&scrollTo(o.x,o.y),i!==B.state&&(B={...B,state:i},Rn.$set({page:B})),L=a;return}const c=a-L;await ct({type:"popstate",url:s,popped:{state:i,scroll:o,delta:c},accept:()=>{L=a,V=l},block:()=>{history.go(-c)},nav_token:Rt})}else if(!We){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{We&&(We=!1,history.replaceState({...history.state,[Le]:++L,[Qe]:V},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&ae.navigating.set(null)});function e(n){I.url=n,ae.page.set({...B,url:n}),ae.page.notify()}}async function Wi(e,{status:t=200,error:n,node_ids:r,params:a,route:o,data:i,form:s}){Tn=!0;const l=new URL(location.href);({params:a={},route:o={id:null}}=Nn(l,!1)||{});let f;try{const u=r.map(async(d,v)=>{const h=i[v];return h!=null&&h.uses&&(h.uses=Ta(h.uses)),In({loader:Be.nodes[d],url:l,params:a,route:o,parent:async()=>{const y={};for(let w=0;wd===o.id);if(_){const d=_.layouts;for(let v=0;vo?"1":"0").join(""));const r=await na(n.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new Ut(r.status,o)}return new Promise(async o=>{var c;const i=new Map,s=r.body.getReader(),l=new TextDecoder;function f(_){return Ci(_,{Promise:d=>new Promise((v,h)=>{i.set(d,{fulfil:v,reject:h})})})}let u="";for(;;){const{done:_,value:d}=await s.read();if(_&&!u)break;for(u+=!d&&u?` `:l.decode(d,{stream:!0});;){const v=u.indexOf(` `);if(v===-1)break;const h=JSON.parse(u.slice(0,v));if(u=u.slice(v+1),h.type==="redirect")return o(h);if(h.type==="data")(c=h.nodes)==null||c.forEach(y=>{(y==null?void 0:y.type)==="data"&&(y.uses=Ta(y.uses),y.data=f(y.data))}),o(h);else if(h.type==="chunk"){const{id:y,data:w,error:m}=h,g=i.get(y);i.delete(y),m?g.reject(f(m)):g.fulfil(f(w))}}}})}function Ta(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function Gi(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const t=document.body,n=t.getAttribute("tabindex");t.tabIndex=-1,t.focus({preventScroll:!0,focusVisible:!1}),n!==null?t.setAttribute("tabindex",n):t.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o{if(r.rangeCount===a.length){for(let o=0;o{a=u,o=c});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((l=e.route)==null?void 0:l.id)??null},url:e.url},to:n&&{params:(t==null?void 0:t.params)??null,route:{id:((f=t==null?void 0:t.route)==null?void 0:f.id)??null},url:n},willUnload:!t,type:r,complete:i},fulfil:a,reject:o}}const Ki="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ki);const zi=()=>{const e=ae;return{page:{subscribe:e.page.subscribe},navigating:{subscribe:e.navigating.subscribe},updated:e.updated}},Ji={subscribe(e){return zi().page.subscribe(e)}},Ts=` -`,Cs=`<script lang="ts"> - import { ALIGNMENT, SCROLL_BEHAVIOR, type VLSlotSignature } from '$lib'; +`,Vs=`<script lang="ts"> + import { ALIGNMENT, SCROLL_BEHAVIOR, type VLRange, type VLSlotSignature } from '$lib'; import VirtualList from 'svelte-virtuallists/new/VirtualListNew.svelte'; const myModel = $state(new Array(10000)); + // used for the positioning pointers + let start = $state(0); + let end = $state(0); + // on the UI let theScrollToIndex: number | undefined = $state(); let theScrollOffet: number | undefined = $state(); @@ -170,19 +174,21 @@ import{L as fs,p as bs,b as r,u as es,s as c,y as rs,g as t,t as ps,R as os,S as let scrollToIndex: number | undefined = $state(); let scrollToOffet: number | undefined = $state(); - let start = $state(0); - let end = $state(0); + let scrollToAlignment: ALIGNMENT = $state(ALIGNMENT.AUTO); + let scrollToBehaviour: SCROLL_BEHAVIOR = $state(SCROLL_BEHAVIOR.SMOOTH); - function handleMessage(event: any) { - if (event.type === 'range.update') { - start = event.start; - end = event.end; - } - } + let szCalculator: ((index: number, item: unknown) => number) | undefined = $state(); + + // holds randomized sizes + let randSizes: Array<number>; - // that's the model, which we don't use for this example - // const myModel: Array<number> = new Array(10000).fill(1).map((v, i) => i); + function handleVisualRangeChange(event: VLRange) { + start = event.start; + end = event.end; + } + + // The two effects below are an elegant way to ensure only one fo the value is defined $effect(() => { // scrollToIndex and scrollOffset shall not be used together. scrollToIndex = undefined; @@ -195,12 +201,6 @@ import{L as fs,p as bs,b as r,u as es,s as c,y as rs,g as t,t as ps,R as os,S as scrollToIndex = theScrollToIndex; }); - let scrollToAlignment: ALIGNMENT = $state(ALIGNMENT.AUTO); - let scrollToBehaviour: SCROLL_BEHAVIOR = $state(SCROLL_BEHAVIOR.SMOOTH); - - let szCalculator: ((index: number, item: unknown) => number) | undefined = $state(); - - let randSizes: Array<number>; function randomizeSize() { randSizes = new Array(myModel.length); for (let i = 0; i < randSizes.length; i++) { @@ -290,7 +290,7 @@ import{L as fs,p as bs,b as r,u as es,s as c,y as rs,g as t,t as ps,R as os,S as {scrollToAlignment} {scrollToBehaviour} sizingCalculator={szCalculator} - onVisibleRangeUpdate={handleMessage}> + onVisibleRangeUpdate={handleVisualRangeChange}> {#snippet vl_slot({ index, item, size }: VLSlotSignature)} <div style="border: 1px solid rgb(204, 204, 204); line-height: {size}px;" @@ -313,4 +313,4 @@ import{L as fs,p as bs,b as r,u as es,s as c,y as rs,g as t,t as ps,R as os,S as background: #efefef; } </style> -`,Vs={code:Ls,highlightedHTML:Cs,component:Is};var Rs=R("

Positioning

The component provides properties to position the list either on an element, or on a pixel offset.

",1);function Us(h){var i=Rs(),p=n(rs(i),4);Ss(p,{example:Vs}),V(h,i)}export{Us as component,Hs as universal}; +`,Rs={code:Ms,highlightedHTML:Vs,component:Ls};var Cs=C("

Positioning

The component provides properties to position the list either on an element, or at a pixel offset.

",1);function Us(h){var i=Cs(),p=n(rs(i),4);zs(p,{example:Rs}),R(h,i)}export{Us as component,Hs as universal}; diff --git a/_app/immutable/nodes/7.C8su_zhs.js b/_app/immutable/nodes/7.C8su_zhs.js deleted file mode 100644 index 26fab67..0000000 --- a/_app/immutable/nodes/7.C8su_zhs.js +++ /dev/null @@ -1,295 +0,0 @@ -import{L as gs,p as ms,s as e,b as c,u as ss,y as ps,e as vs,g as t,t as as,R as ns,S as ls,h as V,j as fs,d as p,k as z,l as s,m as a,T as ts,r as n,U as bs,K as M}from"../chunks/external.Jk2Vr2rG.js";import{E as _s}from"../chunks/ExampleArea.B2s7r4qh.js";import{b as ys,c as xs,d as Ts}from"../chunks/svelte-virtuallists.BdQ-o6PT.js";const ws=!0,zs=Object.freeze(Object.defineProperty({__proto__:null,prerender:ws},Symbol.toStringTag,{value:"Module"}));function qs(h,i){p(i,50)}var Os=z('
'),ks=z('
Scroll to row index
Scroll to pixel offset
Alignment
Behaviour
Visible Area: start - end
',1);function Ss(h,i){ms(i,!0);let j,g=e(void 0),m=e(void 0),B=e(c([])),u=e(void 0),v=e(void 0),E=e(0),N=e(0);function es(l){l.type==="range.update"&&(p(E,c(l.start)),p(N,c(l.end)))}const os=new Array(1e4).fill(1).map((l,o)=>o);ss(()=>{p(u,void 0),p(v,c(t(m)))}),ss(()=>{p(v,void 0),p(u,c(t(g)))});let f=e(c(ys.AUTO)),b=e(c(xs.SMOOTH));function $(){let l=[];for(let o=0;o<1e4;(o+=1)-1)l.push(Math.random()*105+50);p(B,c(l))}$();var U=ks(),_=ps(U),y=a(_),C=a(y),G=s(a(C));ts(G),n(C),n(y);var x=s(y,2),P=a(x),K=s(a(P));ts(K),n(P),n(x);var T=s(x,2),D=a(T),w=s(a(D)),q=a(w);q.value=(q.__value="auto")==null?"":"auto";var O=s(q);O.value=(O.__value="start")==null?"":"start";var k=s(O);k.value=(k.__value="center")==null?"":"center";var F=s(k);F.value=(F.__value="end")==null?"":"end",n(w),n(D),n(T);var J=s(T,2),Q=a(J),S=s(a(Q)),A=a(S);A.value=(A.__value="auto")==null?"":"auto";var I=s(A);I.value=(I.__value="smooth")==null?"":"smooth";var W=s(I);W.value=(W.__value="instant")==null?"":"instant",n(S),n(Q),n(J),n(_);var L=s(_,2),R=s(a(L),2),cs=a(R);n(R);var X=s(R,4),is=a(X);n(X),n(L);var H=s(L,2),rs=a(H);vs(Ts(rs,{style:"height:500px",model:os,get scrollToIndex(){return t(u)},get scrollToOffset(){return t(v)},get scrollToAlignment(){return t(f)},get scrollToBehaviour(){return t(b)},onVisibleRangeUpdate:es,vl_slot:(o,r)=>{let js=()=>r==null?void 0:r().item,us=()=>r==null?void 0:r().index;var d=Os(),ds=a(d);n(d),as(()=>{bs(d,"highlighted",us()===t(u)),M(ds,js().text)}),V(o,d)},$$slots:{vl_slot:!0}}),o=>j=o,()=>j),n(H);var Y=s(H,2),Z=a(Y);Z.__click=$;var hs=s(Z,2);hs.__click=[qs,B],n(Y),as(()=>{M(cs,t(E)),M(is,t(N))}),ns(G,()=>t(g),l=>p(g,l)),ns(K,()=>t(m),l=>p(m,l)),ls(w,()=>t(f),l=>p(f,l)),ls(S,()=>t(b),l=>p(b,l)),V(h,U),fs()}gs(["click"]);const As=` - - - diff --git a/examples/positioningOLD.html b/examples/positioningOLD.html index f680af4..37e3305 100644 --- a/examples/positioningOLD.html +++ b/examples/positioningOLD.html @@ -6,15 +6,15 @@ - + - - - - - - - Svelte-Virtuallists - OLDPositioning -

Positioning

The component provides properties to position the list either on an element, or on a pixel offset.

Scroll to row index
Scroll to pixel offset
Alignment
Behaviour
Visible Area: start 0 - end 0
Item #0
Item #1
Item #2
Item #3
Item #4
Item #5
Item #6
Item #7
<script lang="ts">
+    

Positioning

The component provides properties to position the list either on an element, or at a pixel offset.

Scroll to row index
Scroll to pixel offset
Alignment
Behaviour
Visible Area: start 0 - end 0
Item #0
Item #1
Item #2
Item #3
Item #4
Item #5
Item #6
Item #7
<script lang="ts">
   import { VirtualList, ALIGNMENT, SCROLL_BEHAVIOR } from 'svelte-virtuallists';
 
   let virtualList;
@@ -214,11 +214,11 @@
     background: #efefef;
   }
 </style>
-
previous Positioning2
next Events
Direction:
+
previous Positioning
next Events
Direction: