@reddb-io/ui 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_app/immutable/assets/0.DgbuWrJy.css +1 -0
- package/build/_app/immutable/assets/AnalyticsView.BLAJezw4.css +1 -0
- package/build/_app/immutable/assets/{Workspace.CvP5De7i.css → Workspace.DM2E1WiF.css} +1 -1
- package/build/_app/immutable/chunks/85-Fh5Zp.js +404 -0
- package/build/_app/immutable/chunks/{BHBXmd1Y.js → 8zg2gJwV.js} +1 -1
- package/build/_app/immutable/chunks/B5euRbKa.js +1 -0
- package/build/_app/immutable/chunks/BRIMmWzq.js +1 -0
- package/build/_app/immutable/chunks/BgOTHNR5.js +1 -0
- package/build/_app/immutable/chunks/Bq4DTWK2.js +2 -0
- package/build/_app/immutable/chunks/Btd6PFkC.js +1 -0
- package/build/_app/immutable/chunks/CGFL56WJ.js +1 -0
- package/build/_app/immutable/chunks/CJFJ501n.js +18 -0
- package/build/_app/immutable/chunks/CLBx21Hz.js +2 -0
- package/build/_app/immutable/chunks/CnD4hwxC.js +1106 -0
- package/build/_app/immutable/chunks/DCJ0QyYH.js +1 -0
- package/build/_app/immutable/chunks/DQCYUNtS.js +1 -0
- package/build/_app/immutable/chunks/DRlh90Cv.js +1 -0
- package/build/_app/immutable/chunks/{C278awGv.js → DV9PDoM3.js} +1 -1
- package/build/_app/immutable/entry/app.BDog2y0J.js +2 -0
- package/build/_app/immutable/entry/start.D1J45dq5.js +1 -0
- package/build/_app/immutable/nodes/0.BTrC4th2.js +1 -0
- package/build/_app/immutable/nodes/1.Ds1Tbjsm.js +1 -0
- package/build/_app/immutable/nodes/10.D_FCLs0Z.js +96 -0
- package/build/_app/immutable/nodes/12.DPE6v6Zf.js +3 -0
- package/build/_app/immutable/nodes/14.CAG5_cGP.js +1 -0
- package/build/_app/immutable/nodes/15.CcJlZGxa.js +60 -0
- package/build/_app/immutable/nodes/8.CAG5_cGP.js +1 -0
- package/build/_app/version.json +1 -1
- package/build/index.html +18 -15
- package/dist/embed/AnalyticsView-D8z1Nsed.js +23337 -0
- package/dist/embed/AnalyticsView-D8z1Nsed.js.map +1 -0
- package/dist/embed/RedUiEmbedRoot-CtqTd_FG.js +31302 -0
- package/dist/embed/RedUiEmbedRoot-CtqTd_FG.js.map +1 -0
- package/dist/embed/index-0hA141D2.js +85 -0
- package/dist/embed/index-0hA141D2.js.map +1 -0
- package/dist/embed/index-client-BeiP-va5.js +3303 -0
- package/dist/embed/index-client-BeiP-va5.js.map +1 -0
- package/dist/embed/index-w1Qo_uW0.js +677 -0
- package/dist/embed/index-w1Qo_uW0.js.map +1 -0
- package/dist/embed/index.js +1 -1
- package/dist/embed/{sigma.esm-C2pqg5JH.js → sigma.esm-qqKBpvin.js} +2 -2
- package/dist/embed/{sigma.esm-C2pqg5JH.js.map → sigma.esm-qqKBpvin.js.map} +1 -1
- package/package.json +5 -3
- package/src/app.css +86 -20
- package/src/lib/AnalyticsView.svelte +209 -0
- package/src/lib/AskView.svelte +255 -0
- package/src/lib/ClusterView.svelte +415 -95
- package/src/lib/CommandPalette.svelte +2 -0
- package/src/lib/GlobalProgressBar.svelte +9 -0
- package/src/lib/MetricChart.svelte +85 -0
- package/src/lib/QueryEditor.svelte +48 -7
- package/src/lib/ResultsPane.svelte +76 -8
- package/src/lib/SchemaTree.svelte +25 -1
- package/src/lib/SecurityView.svelte +176 -65
- package/src/lib/SettingsView.svelte +1137 -226
- package/src/lib/Topbar.svelte +29 -1
- package/src/lib/Workspace.svelte +18 -3
- package/src/lib/activity.svelte.ts +44 -35
- package/src/lib/collection-preview.ts +14 -0
- package/src/lib/connections.svelte.ts +73 -4
- package/src/lib/index.ts +3 -0
- package/src/lib/permission-gate.ts +120 -0
- package/src/lib/policies.ts +136 -0
- package/src/lib/query-tabs.svelte.ts +132 -53
- package/src/lib/reddb/analytics.ts +208 -0
- package/src/lib/reddb/ask.ts +123 -0
- package/src/lib/reddb/client.ts +159 -58
- package/src/lib/reddb/cluster-status.ts +306 -0
- package/src/lib/reddb/index.ts +3 -0
- package/src/lib/reddb/local-url-provider.ts +32 -1
- package/src/lib/reddb/redwire-ws-spike.ts +590 -0
- package/src/lib/router.svelte.ts +12 -0
- package/src/lib/settings-authoring-client.ts +336 -0
- package/src/lib/settings-sections.ts +294 -180
- package/build/_app/immutable/assets/0.DQDLkSdR.css +0 -1
- package/build/_app/immutable/chunks/65XjEwaF.js +0 -367
- package/build/_app/immutable/chunks/BGcIe2ep.js +0 -2
- package/build/_app/immutable/chunks/BMc_qoms.js +0 -973
- package/build/_app/immutable/chunks/BrvvOVaJ.js +0 -1
- package/build/_app/immutable/chunks/CwxFwvow.js +0 -1
- package/build/_app/immutable/chunks/D9CTkMjK.js +0 -1
- package/build/_app/immutable/chunks/oiO4RLqp.js +0 -1
- package/build/_app/immutable/entry/app.CGfmRH-N.js +0 -2
- package/build/_app/immutable/entry/start._LhFJimm.js +0 -1
- package/build/_app/immutable/nodes/0.BYhY6O5-.js +0 -1
- package/build/_app/immutable/nodes/1.4XYGRMul.js +0 -1
- package/build/_app/immutable/nodes/12.DXZfNPNK.js +0 -60
- package/build/_app/immutable/nodes/8.C7OOsMOJ.js +0 -134
- package/dist/embed/RedUiEmbedRoot-Dia9lxfb.js +0 -28570
- package/dist/embed/RedUiEmbedRoot-Dia9lxfb.js.map +0 -1
- package/dist/embed/index-Bq0TT7Ao.js +0 -577
- package/dist/embed/index-Bq0TT7Ao.js.map +0 -1
- package/dist/embed/index-client-ItCEU64C.js +0 -3087
- package/dist/embed/index-client-ItCEU64C.js.map +0 -1
- /package/build/_app/immutable/assets/{12.Dblyk0Kr.css → 15.Dblyk0Kr.css} +0 -0
- /package/build/_app/immutable/nodes/{10.CAG5_cGP.js → 13.CAG5_cGP.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,p as r}from"./
|
|
1
|
+
import{a as e,p as r}from"./DQCYUNtS.js";const t={get error(){return r.error},get status(){return r.status},get url(){return r.url}};e.updated.check;const a=t;export{a as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{invoke as d}from"./DhEqZVGG.js";const u="Request cancelled";async function k(R,e){const t=e==null?void 0:e.signal;if(t!=null&&t.aborted)throw new Error(u);const v=e==null?void 0:e.maxRedirections,E=e==null?void 0:e.connectTimeout,A=e==null?void 0:e.proxy,g=e==null?void 0:e.danger;e&&(delete e.maxRedirections,delete e.connectTimeout,delete e.proxy,delete e.danger);const o=e!=null&&e.headers?e.headers instanceof Headers?e.headers:new Headers(e.headers):new Headers,c=new Request(R,e),f=await c.arrayBuffer(),x=f.byteLength!==0?Array.from(new Uint8Array(f)):null;for(const[r,a]of c.headers)o.get(r)||o.set(r,a);const H=(o instanceof Headers?Array.from(o.entries()):Array.isArray(o)?o:Object.entries(o)).map(([r,a])=>[r,typeof a=="string"?a:a.toString()]);if(t!=null&&t.aborted)throw new Error(u);const h=await d("plugin:http|fetch",{clientConfig:{method:c.method,url:c.url,headers:H,data:x,maxRedirections:v,connectTimeout:E,proxy:A,danger:g}}),y=()=>d("plugin:http|fetch_cancel",{rid:h});if(t!=null&&t.aborted)throw y(),new Error(u);t==null||t.addEventListener("abort",()=>void y());const{status:p,statusText:_,url:b,headers:w,rid:m}=await d("plugin:http|fetch_send",{rid:h}),l=()=>d("plugin:http|fetch_cancel_body",{rid:m}),L=async r=>{let a;try{a=await d("plugin:http|fetch_read_body",{rid:m})}catch(T){r.error(T),l();return}const n=new Uint8Array(a),C=n[n.byteLength-1],P=n.slice(0,n.byteLength-1);if(C===1){r.close();return}r.enqueue(P)},O=[101,103,204,205,304].includes(p)?null:new ReadableStream({start:r=>{t==null||t.addEventListener("abort",()=>{r.error(u),l()})},pull:r=>L(r),cancel:()=>{l()}}),s=new Response(O,{status:p,statusText:_});Object.defineProperty(s,"url",{value:b,writable:!1}),Object.defineProperty(s,"headers",{value:new Headers(w),writable:!1});const j=s.clone.bind(s);return Object.defineProperty(s,"clone",{value:()=>{const r=j();return Object.defineProperty(r,"url",{value:b,writable:!1}),Object.defineProperty(r,"headers",{value:new Headers(w),writable:!1}),r}}),s}export{k as fetch};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aF as A,aD as U,a2 as $,n as q,bb as F,bx as G,br as z,bs as D,r as H,aE as J,a8 as M,al as W,bf as Z,bK as K,Y as E,g as Q,S as O,aw as x,a5 as V,b7 as X,J as N,at as S,b8 as k,bm as ee,aP as re,D as ne,by as te,P as se,G as ie,y as ae,ag as I,ai as ue,bL as L,bo as B,aS as w,L as j,z as oe}from"./CGFL56WJ.js";import{B as le}from"./DCJ0QyYH.js";import{l as fe}from"./DIeogL5L.js";function Se(e,r,n){var t;A&&(t=J,U());var i=new le(e);$(()=>{var u=r()??null;if(A){var l=F(t),s=l===H,o=u!==null;if(s!==o){var _=G();z(_),i.anchor=_,D(!1),i.ensure(u,u&&(a=>n(a,u))),D(!0);return}}i.ensure(u,u&&(a=>n(a,u)))},q)}function R(e,r){return e===r||(e==null?void 0:e[O])===r}function me(e={},r,n,t){var i=M.r,u=E;return W(()=>{var l,s;return Z(()=>{l=s,s=[],K(()=>{R(n(...s),e)||(r(e,...s),l&&R(n(...l),e)&&r(null,...l))})}),()=>{let o=u;for(;o!==i&&o.parent!==null&&o.parent.f&Q;)o=o.parent;const _=()=>{s&&R(n(...s),e)&&r(null,...s)},a=o.teardown;o.teardown=()=>{_(),a==null||a()}}}),e}const ce={get(e,r){if(!e.exclude.includes(r))return e.props[r]},set(e,r){return!1},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function Ee(e,r,n){return new Proxy({props:e,exclude:r},ce)}const de={get(e,r){if(!e.exclude.includes(r))return S(e.version),r in e.special?e.special[r]():e.props[r]},set(e,r,n){if(!(r in e.special)){var t=E;try{B(e.parent_effect),e.special[r]=_e({get[r](){return e.props[r]}},r,N)}finally{B(t)}}return e.special[r](n),L(e.version),!0},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},deleteProperty(e,r){return e.exclude.includes(r)||(e.exclude.push(r),L(e.version)),!0},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function ye(e,r){return new Proxy({props:e,exclude:r,special:{},version:te(0),parent_effect:E},de)}const pe={get(e,r){let n=e.props.length;for(;n--;){let t=e.props[n];if(w(t)&&(t=t()),typeof t=="object"&&t!==null&&r in t)return t[r]}},set(e,r,n){let t=e.props.length;for(;t--;){let i=e.props[t];w(i)&&(i=i());const u=x(i,r);if(u&&u.set)return u.set(n),!0}return!1},getOwnPropertyDescriptor(e,r){let n=e.props.length;for(;n--;){let t=e.props[n];if(w(t)&&(t=t()),typeof t=="object"&&t!==null&&r in t){const i=x(t,r);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,r){if(r===O||r===j)return!1;for(let n of e.props)if(w(n)&&(n=n()),n!=null&&r in n)return!0;return!1},ownKeys(e){const r=[];for(let n of e.props)if(w(n)&&(n=n()),!!n){for(const t in n)r.includes(t)||r.push(t);for(const t of Object.getOwnPropertySymbols(n))r.includes(t)||r.push(t)}return r}};function Re(...e){return new Proxy({props:e},pe)}function _e(e,r,n,t){var g;var i=!fe||(n&ie)!==0,u=(n&se)!==0,l=(n&oe)!==0,s=t,o=!0,_=void 0,a=()=>l&&i?(_??(_=I(t)),S(_)):(o&&(o=!1,s=l?K(t):t),s);let c;if(u){var v=O in e||j in e;c=((g=x(e,r))==null?void 0:g.set)??(v&&r in e?f=>e[r]=f:void 0)}var h,p=!1;u?[h,p]=V(()=>e[r]):h=e[r],h===void 0&&t!==void 0&&(h=a(),c&&(i&&X(),c(h)));var d;if(i?d=()=>{var f=e[r];return f===void 0?a():(o=!0,f)}:d=()=>{var f=e[r];return f!==void 0&&(s=void 0),f===void 0?s:f},i&&(n&N)===0)return d;if(c){var b=e.$$legacy;return(function(f,m){return arguments.length>0?((!i||!m||b||p)&&c(m?d():f),f):d()})}var y=!1,P=((n&ae)!==0?I:ue)(()=>(y=!1,d()));u&&S(P);var C=E;return(function(f,m){if(arguments.length>0){const T=m?S(P):i&&u?k(f):f;return ee(P,T),y=!0,s!==void 0&&(s=T),f}return re&&y||(C.f&ne)!==0?P.v:S(P)})}const ve="modulepreload",he=function(e,r){return new URL(e,r).href},Y={},xe=function(r,n,t){let i=Promise.resolve();if(n&&n.length>0){let l=function(a){return Promise.all(a.map(c=>Promise.resolve(c).then(v=>({status:"fulfilled",value:v}),v=>({status:"rejected",reason:v}))))};const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),_=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=l(n.map(a=>{if(a=he(a,t),a in Y)return;Y[a]=!0;const c=a.endsWith(".css"),v=c?'[rel="stylesheet"]':"";if(!!t)for(let d=s.length-1;d>=0;d--){const b=s[d];if(b.href===a&&(!c||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${v}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":ve,c||(p.as="script"),p.crossOrigin="",p.href=a,_&&p.setAttribute("nonce",_),document.head.appendChild(p),c)return new Promise((d,b)=>{p.addEventListener("load",d),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${a}`)))})}))}function u(l){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=l,window.dispatchEvent(s),!s.defaultPrevented)throw l}return i.then(l=>{for(const s of l||[])s.status==="rejected"&&u(s.reason);return r().catch(u)})};export{xe as _,me as b,Se as c,ye as l,_e as p,Ee as r,Re as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ab as o,a2 as _,a3 as b,H as g,aF as e,f as p,az as i,bs as l,br as r,aE as v,ay as E}from"./CGFL56WJ.js";function x(n,d){let t=null,f=e;var s;if(e){t=v;for(var a=E(document.head);a!==null&&(a.nodeType!==p||a.data!==n);)a=i(a);if(a===null)l(!1);else{var y=i(a);a.remove(),r(y)}}e||(s=document.head.appendChild(o()));try{_(()=>{var u=b(()=>d(s));u.f|=g})}finally{f&&(l(!0),r(t))}}export{x as h};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var Ve=Object.defineProperty;var Ee=t=>{throw TypeError(t)};var Be=(t,e,r)=>e in t?Ve(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var X=(t,e,r)=>Be(t,typeof e!="symbol"?e+"":e,r),ae=(t,e,r)=>e.has(t)||Ee("Cannot "+r);var s=(t,e,r)=>(ae(t,e,"read from private field"),r?r.call(t):e.get(t)),_=(t,e,r)=>e.has(t)?Ee("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),f=(t,e,r,n)=>(ae(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),p=(t,e,r)=>(ae(t,e,"access private method"),r);import{an as Ye,at as De,bf as je,bK as qe,aI as Te,ba as j,by as Me,aE as d,aF as N,Y as F,c as we,a2 as ze,aD as be,s as Ge,t as Ne,a3 as H,ab as q,b5 as oe,ac as W,a$ as Qe,ae as Ue,bo as re,bp as se,bq as Ae,e as Xe,aB as Je,Z as Oe,a8 as Le,aK as Ke,aj as fe,br as z,b2 as Ze,bx as et,aM as J,n as tt,m as rt,bE as st,bD as nt,af as it,bQ as at,bF as ot,aa as ft,ay as L,aQ as ut,T as Ce,M as lt,R as ct,f as ye,Q as dt,a_ as ht,O as Re,aJ as le,r as _t,az as pt,q as ce,bs as K,aG as vt,a7 as gt,a9 as mt,a0 as bt,b9 as yt,p as Et,aH as Tt,b6 as wt}from"./CGFL56WJ.js";function Nt(t){let e=0,r=Me(0),n;return()=>{Ye()&&(De(r),je(()=>(e===0&&(n=qe(()=>t(()=>Te(r)))),e+=1,()=>{j(()=>{e-=1,e===0&&(n==null||n(),n=void 0,Te(r))})})))}}var At=tt|rt;function Rt(t,e,r,n){new kt(t,e,r,n)}var T,G,A,V,m,R,v,w,S,B,C,Y,Q,U,D,ne,u,Fe,xe,Ie,de,ee,te,he,_e;class kt{constructor(e,r,n,o){_(this,u);X(this,"parent");X(this,"is_pending",!1);X(this,"transform_error");_(this,T);_(this,G,N?d:null);_(this,A);_(this,V);_(this,m);_(this,R,null);_(this,v,null);_(this,w,null);_(this,S,null);_(this,B,0);_(this,C,0);_(this,Y,!1);_(this,Q,new Set);_(this,U,new Set);_(this,D,null);_(this,ne,Nt(()=>(f(this,D,Me(s(this,B))),()=>{f(this,D,null)})));var i;f(this,T,e),f(this,A,r),f(this,V,a=>{var h=F;h.b=this,h.f|=we,n(a)}),this.parent=F.b,this.transform_error=o??((i=this.parent)==null?void 0:i.transform_error)??(a=>a),f(this,m,ze(()=>{if(N){const a=s(this,G);be();const h=a.data===Ge;if(a.data.startsWith(Ne)){const c=JSON.parse(a.data.slice(Ne.length));p(this,u,xe).call(this,c)}else h?p(this,u,Ie).call(this):p(this,u,Fe).call(this)}else p(this,u,de).call(this)},At)),N&&f(this,T,d)}defer_effect(e){Ue(e,s(this,Q),s(this,U))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!s(this,A).pending}update_pending_count(e,r){p(this,u,he).call(this,e,r),f(this,B,s(this,B)+e),!(!s(this,D)||s(this,Y))&&(f(this,Y,!0),j(()=>{f(this,Y,!1),s(this,D)&&Ke(s(this,D),s(this,B))}))}get_effect_pending(){return s(this,ne).call(this),De(s(this,D))}error(e){var r;if(!s(this,A).onerror&&!s(this,A).failed)throw e;(r=W)!=null&&r.is_fork?(s(this,R)&&W.skip_effect(s(this,R)),s(this,v)&&W.skip_effect(s(this,v)),s(this,w)&&W.skip_effect(s(this,w)),W.on_fork_commit(()=>{p(this,u,_e).call(this,e)})):p(this,u,_e).call(this,e)}}T=new WeakMap,G=new WeakMap,A=new WeakMap,V=new WeakMap,m=new WeakMap,R=new WeakMap,v=new WeakMap,w=new WeakMap,S=new WeakMap,B=new WeakMap,C=new WeakMap,Y=new WeakMap,Q=new WeakMap,U=new WeakMap,D=new WeakMap,ne=new WeakMap,u=new WeakSet,Fe=function(){try{f(this,R,H(()=>s(this,V).call(this,s(this,T))))}catch(e){this.error(e)}},xe=function(e){const r=s(this,A).failed;r&&f(this,w,H(()=>{r(s(this,T),()=>e,()=>()=>{})}))},Ie=function(){const e=s(this,A).pending;e&&(this.is_pending=!0,f(this,v,H(()=>e(s(this,T)))),j(()=>{var r=f(this,S,document.createDocumentFragment()),n=q();r.append(n),f(this,R,p(this,u,te).call(this,()=>H(()=>s(this,V).call(this,n)))),s(this,C)===0&&(s(this,T).before(r),f(this,S,null),oe(s(this,v),()=>{f(this,v,null)}),p(this,u,ee).call(this,W))}))},de=function(){try{if(this.is_pending=this.has_pending_snippet(),f(this,C,0),f(this,B,0),f(this,R,H(()=>{s(this,V).call(this,s(this,T))})),s(this,C)>0){var e=f(this,S,document.createDocumentFragment());Qe(s(this,R),e);const r=s(this,A).pending;f(this,v,H(()=>r(s(this,T))))}else p(this,u,ee).call(this,W)}catch(r){this.error(r)}},ee=function(e){this.is_pending=!1,e.transfer_effects(s(this,Q),s(this,U))},te=function(e){var r=F,n=Oe,o=Le;re(s(this,m)),se(s(this,m)),Ae(s(this,m).ctx);try{return Xe.ensure(),e()}catch(i){return Je(i),null}finally{re(r),se(n),Ae(o)}},he=function(e,r){var n;if(!this.has_pending_snippet()){this.parent&&p(n=this.parent,u,he).call(n,e,r);return}f(this,C,s(this,C)+e),s(this,C)===0&&(p(this,u,ee).call(this,r),s(this,v)&&oe(s(this,v),()=>{f(this,v,null)}),s(this,S)&&(s(this,T).before(s(this,S)),f(this,S,null)))},_e=function(e){s(this,R)&&(fe(s(this,R)),f(this,R,null)),s(this,v)&&(fe(s(this,v)),f(this,v,null)),s(this,w)&&(fe(s(this,w)),f(this,w,null)),N&&(z(s(this,G)),Ze(),z(et()));var r=s(this,A).onerror;let n=s(this,A).failed;var o=!1,i=!1;const a=()=>{if(o){nt();return}o=!0,i&&st(),s(this,w)!==null&&oe(s(this,w),()=>{f(this,w,null)}),p(this,u,te).call(this,()=>{p(this,u,de).call(this)})},h=l=>{try{i=!0,r==null||r(l,a),i=!1}catch(c){J(c,s(this,m)&&s(this,m).parent)}n&&f(this,w,p(this,u,te).call(this,()=>{try{return H(()=>{var c=F;c.b=this,c.f|=we,n(s(this,T),()=>l,()=>a)})}catch(c){return J(c,s(this,m).parent),null}}))};j(()=>{var l;try{l=this.transform_error(e)}catch(c){J(c,s(this,m)&&s(this,m).parent);return}l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(h,c=>J(c,s(this,m)&&s(this,m).parent)):h(l)})};function Ht(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const St=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Wt(t){return St.includes(t)}const Dt={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function $t(t){return t=t.toLowerCase(),Dt[t]??t}const Mt=["touchstart","touchmove"];function Ot(t){return Mt.includes(t)}const Lt=["textarea","script","style","title"];function Vt(t){return Lt.includes(t)}const $=Symbol("events"),Pe=new Set,pe=new Set;function He(t,e,r,n={}){function o(i){if(n.capture||ve.call(e,i),!i.cancelBubble)return at(()=>r==null?void 0:r.call(this,i))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?j(()=>{e.addEventListener(t,o,n)}):e.addEventListener(t,o,n),o}function Bt(t,e,r,n={}){var o=He(e,t,r,n);return()=>{t.removeEventListener(e,o,n)}}function Yt(t,e,r,n,o){var i={capture:n,passive:o},a=He(t,e,r,i);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&ot(()=>{e.removeEventListener(t,a,i)})}function jt(t,e,r){(e[$]??(e[$]={}))[t]=r}function qt(t){for(var e=0;e<t.length;e++)Pe.add(t[e]);for(var r of pe)r(t)}let ke=null;function ve(t){var I,E;var e=this,r=e.ownerDocument,n=t.type,o=((I=t.composedPath)==null?void 0:I.call(t))||[],i=o[0]||t.target;ke=t;var a=0,h=ke===t&&t[$];if(h){var l=o.indexOf(h);if(l!==-1&&(e===document||e===window)){t[$]=e;return}var c=o.indexOf(e);if(c===-1)return;l<=c&&(a=l)}if(i=o[a]||t.target,i!==e){it(t,"currentTarget",{configurable:!0,get(){return i||r}});var M=Oe,x=F;se(null),re(null);try{for(var O,b=[];i!==null;){var g=i.assignedSlot||i.parentNode||i.host||null;try{var y=(E=i[$])==null?void 0:E[n];y!=null&&(!i.disabled||t.target===i)&&y.call(i,t)}catch(P){O?b.push(P):O=P}if(t.cancelBubble||g===e||g===null)break;i=g}if(O){for(let P of b)queueMicrotask(()=>{throw P});throw O}}finally{t[$]=e,delete t.currentTarget,se(M),re(x)}}}var Se;const ue=((Se=globalThis==null?void 0:globalThis.window)==null?void 0:Se.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function Ct(t){return(ue==null?void 0:ue.createHTML(t))??t}function We(t){var e=ft("template");return e.innerHTML=Ct(t.replaceAll("<!>","<!---->")),e.content}function k(t,e){var r=F;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function zt(t,e){var r=(e&Ce)!==0,n=(e<)!==0,o,i=!t.startsWith("<!>");return()=>{if(N)return k(d,null),d;o===void 0&&(o=We(i?t:"<!>"+t),r||(o=L(o)));var a=n||ut?document.importNode(o,!0):o.cloneNode(!0);if(r){var h=L(a),l=a.lastChild;k(h,l)}else k(a,a);return a}}function Ft(t,e,r="svg"){var n=!t.startsWith("<!>"),o=(e&Ce)!==0,i=`<${r}>${n?t:"<!>"+t}</${r}>`,a;return()=>{if(N)return k(d,null),d;if(!a){var h=We(i),l=L(h);if(o)for(a=document.createDocumentFragment();L(l);)a.appendChild(L(l));else a=L(l)}var c=a.cloneNode(!0);if(o){var M=L(c),x=c.lastChild;k(M,x)}else k(c,c);return c}}function Gt(t,e){return Ft(t,e,"svg")}function Qt(t=""){if(!N){var e=q(t+"");return k(e,e),e}var r=d;return r.nodeType!==dt?(r.before(r=q()),z(r)):ht(r),k(r,r),r}function Ut(){if(N)return k(d,null),d;var t=document.createDocumentFragment(),e=document.createComment(""),r=q();return t.append(e,r),k(e,r),t}function Xt(t,e){if(N){var r=F;((r.f&ct)===0||r.nodes.end===null)&&(r.nodes.end=d),be();return}t!==null&&t.before(e)}function Jt(){var t,e;if(N&&d&&d.nodeType===ye&&((t=d.textContent)!=null&&t.startsWith("$"))){const r=d.textContent.substring(1);return be(),r}return(e=window.__svelte??(window.__svelte={})).uid??(e.uid=1),`c${window.__svelte.uid++}`}let ge=!0;function Kt(t){ge=t}function Zt(t,e){var n;var r=e==null?"":typeof e=="object"?`${e}`:e;r!==(t[n=Re]??(t[n]=t.nodeValue))&&(t[Re]=r,t.nodeValue=`${r}`)}function xt(t,e){return $e(t,e)}function er(t,e){le(),e.intro=e.intro??!1;const r=e.target,n=N,o=d;try{for(var i=L(r);i&&(i.nodeType!==ye||i.data!==_t);)i=pt(i);if(!i)throw ce;K(!0),z(i);const a=$e(t,{...e,anchor:i});return K(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
+
`).some(h=>h.startsWith("https://svelte.dev/e/")))throw a;return a!==ce&&console.warn("Failed to hydrate: ",a),e.recover===!1&&vt(),le(),gt(r),K(!1),xt(t,e)}finally{K(n),z(o)}}const Z=new Map;function $e(t,{target:e,anchor:r,props:n={},events:o,context:i,intro:a=!0,transformError:h}){le();var l=void 0,c=mt(()=>{var M=r??e.appendChild(q());Rt(M,{pending:()=>{}},b=>{yt({});var g=Le;if(i&&(g.c=i),o&&(n.$$events=o),N&&k(b,null),ge=a,l=t(b,n)||{},ge=!0,N&&(F.nodes.end=d,d===null||d.nodeType!==ye||d.data!==Et))throw Tt(),ce;wt()},h);var x=new Set,O=b=>{for(var g=0;g<b.length;g++){var y=b[g];if(!x.has(y)){x.add(y);var I=Ot(y);for(const ie of[e,document]){var E=Z.get(ie);E===void 0&&(E=new Map,Z.set(ie,E));var P=E.get(y);P===void 0?(ie.addEventListener(y,ve,{passive:I}),E.set(y,1)):E.set(y,P+1)}}}};return O(bt(Pe)),pe.add(O),()=>{var I;for(var b of x)for(const E of[e,document]){var g=Z.get(E),y=g.get(b);--y==0?(E.removeEventListener(b,ve),g.delete(b),g.size===0&&Z.delete(E)):g.set(b,y)}pe.delete(O),M!==r&&((I=M.parentNode)==null||I.removeChild(M))}});return me.set(l,c),l}let me=new WeakMap;function tr(t,e){const r=me.get(t);return r?(me.delete(t),r(e)):Promise.resolve()}export{Xt as a,k as b,Wt as c,Ut as d,Nt as e,He as f,qt as g,jt as h,Yt as i,zt as j,Gt as k,er as l,Ht as m,Vt as n,xt as o,$t as p,Bt as q,Jt as r,Kt as s,Zt as t,ge as u,Qt as v,tr as w};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aX as e,bO as u,a8 as t,bK as a}from"./CGFL56WJ.js";import{l as c}from"./DIeogL5L.js";function l(n){t===null&&e(),c&&t.l!==null?f(t).m.push(n):u(()=>{const o=a(n);if(typeof o=="function")return o})}function r(n){t===null&&e(),l(()=>()=>a(n))}function f(n){var o=n.l;return o.u??(o.u={a:[],b:[],m:[]})}export{l as a,r as o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var Un=Object.defineProperty;var Gt=e=>{throw TypeError(e)};var qn=(e,t,n)=>t in e?Un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>qn(e,typeof t!="symbol"?t+"":t,n),vt=(e,t,n)=>t.has(e)||Gt("Cannot "+n);var _=(e,t,n)=>(vt(e,t,"read from private field"),n?n.call(e):t.get(e)),S=(e,t,n)=>t.has(e)?Gt("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),M=(e,t,n,r)=>(vt(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),m=(e,t,n)=>(vt(e,t,"access private method"),n);import{l as Rt,t as Bn}from"./DIeogL5L.js";const tn=!1;var Gn=Array.isArray,Vn=Array.prototype.indexOf,be=Array.prototype.includes,Zr=Array.from,zn=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,$n=Object.getOwnPropertyDescriptors,Kn=Object.prototype,Xn=Array.prototype,nn=Object.getPrototypeOf,Vt=Object.isExtensible;function Jr(e){return typeof e=="function"}const X=()=>{};function Qr(e){return typeof(e==null?void 0:e.then)=="function"}function Wr(e){return e()}function rn(e){for(var t=0;t<e.length;t++)e[t]()}function sn(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}function es(e,t,n=!1){return e===void 0?n?t():t:e}function ts(e,t){if(Array.isArray(e))return e;if(t===void 0||!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}function ns(e,t){var n={};for(var r in e)t.includes(r)||(n[r]=e[r]);for(var s of Object.getOwnPropertySymbols(e))Object.propertyIsEnumerable.call(e,s)&&!t.includes(s)&&(n[s]=e[s]);return n}const N=2,De=4,ze=8,Ot=1<<24,q=16,J=32,W=64,Zn=128,F=512,T=1024,R=2048,G=4096,j=8192,Z=16384,Te=32768,zt=1<<25,et=65536,tt=1<<17,Jn=1<<18,Le=1<<19,fn=1<<20,rs=1<<25,ge=65536,nt=1<<21,Oe=1<<22,se=1<<23,ye=Symbol("$state"),ss=Symbol("legacy props"),is=Symbol(""),Qn=Symbol("attributes"),Wn=Symbol("class"),er=Symbol("style"),tr=Symbol("text"),Ze=Symbol("form reset"),ot=new class extends Error{constructor(){super(...arguments);V(this,"name","StaleReactionError");V(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};var en;const ls=!!((en=globalThis.document)!=null&&en.contentType)&&globalThis.document.contentType.includes("xml"),as=1,ct=3,ln=8;function us(){throw new Error("https://svelte.dev/e/invalid_default_snippet")}function nr(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function rr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function os(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function sr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ir(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function fr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function lr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function cs(){throw new Error("https://svelte.dev/e/hydration_failed")}function _s(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function ar(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ur(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function or(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ds(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const vs=1,hs=2,ps=4,bs=8,ys=16,ws=1,Es=2,gs=4,ms=8,Ts=16,As=1,Ss=2,xs=4,Rs=1,Os=2,cr="[",_r="[!",Ns="[?",dr="]",Nt={},A=Symbol("uninitialized"),vr="http://www.w3.org/1999/xhtml",ks="http://www.w3.org/2000/svg",Cs="http://www.w3.org/1998/Math/MathML",Is="@attach";function hr(){console.warn("https://svelte.dev/e/derived_inert")}function kt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ms(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Ds(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let ie=!1;function Ps(e){ie=e}let x;function Pe(e){if(e===null)throw kt(),Nt;return x=e}function Ls(){return Pe(ce(x))}function Fs(e){if(ie){if(ce(x)!==null)throw kt(),Nt;x=e}}function js(e=1){if(ie){for(var t=e,n=x;t--;)n=ce(n);x=n}}function Hs(e=!0){for(var t=0,n=x;;){if(n.nodeType===ln){var r=n.data;if(r===dr){if(t===0)return n;t-=1}else(r===cr||r===_r||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=ce(n);e&&n.remove(),n=s}}function Ys(e){if(!e||e.nodeType!==ln)throw kt(),Nt;return e.data}function an(e){return e===this.v}function un(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function on(e){return!un(e,this.v)}let g=null;function rt(e){g=e}function Us(e){return _t().get(e)}function qs(e,t){return _t().set(e,t),t}function Bs(e){return _t().has(e)}function Gs(){return _t()}function Vs(e,t=!1,n){g={p:g,i:!1,c:null,e:null,s:e,x:null,r:w,l:Rt&&!t?{s:null,u:null,$:[]}:null}}function zs(e){var t=g,n=t.e;if(n!==null){t.e=null;for(var r of n)On(r)}return e!==void 0&&(t.x=e),t.i=!0,g=t.p,e??{}}function $e(){return!Rt||g!==null&&g.l===null}function _t(e){return g===null&&nr(),g.c??(g.c=new Map(pr(g)||void 0))}function pr(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let _e=[];function cn(){var e=_e;_e=[],rn(e)}function yt(e){if(_e.length===0&&!qe){var t=_e;queueMicrotask(()=>{t===_e&&cn()})}_e.push(e)}function br(){for(;_e.length>0;)cn()}function yr(e){var t=w;if(t===null)return p.f|=se,e;if((t.f&Te)===0&&(t.f&De)===0)throw e;st(e,t)}function st(e,t){for(;t!==null;){if((t.f&Zn)!==0){if((t.f&Te)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const wr=-7169;function E(e,t){e.f=e.f&wr|t}function Ct(e){(e.f&F)!==0||e.deps===null?E(e,T):E(e,G)}function _n(e){if(e!==null)for(const t of e)(t.f&N)===0||(t.f&ge)===0||(t.f^=ge,_n(t.deps))}function Er(e,t,n){(e.f&R)!==0?t.add(e):(e.f&G)!==0&&n.add(e),_n(e.deps),E(e,T)}function It(e,t,n){if(e==null)return t(void 0),n&&n(void 0),X;const r=Ut(()=>e.subscribe(t,n));return r.unsubscribe?()=>r.unsubscribe():r}const Ae=[];function gr(e,t){return{subscribe:mr(e,t).subscribe}}function mr(e,t=X){let n=null;const r=new Set;function s(a){if(un(e,a)&&(e=a,n)){const f=!Ae.length;for(const u of r)u[1](),Ae.push(u,e);if(f){for(let u=0;u<Ae.length;u+=2)Ae[u][0](Ae[u+1]);Ae.length=0}}}function i(a){s(a(e))}function o(a,f=X){const u=[a,f];return r.add(u),r.size===1&&(n=t(s,i)||X),a(e),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:o}}function $s(e,t,n){const r=!Array.isArray(e),s=r?[e]:e;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return gr(n,(o,a)=>{let f=!1;const u=[];let d=0,c=X;const l=()=>{if(d)return;c();const v=t(r?u[0]:u,o,a);i?o(v):c=typeof v=="function"?v:X},h=s.map((v,k)=>It(v,C=>{u[k]=C,d&=~(1<<k),f&&l()},()=>{d|=1<<k}));return f=!0,l(),function(){rn(h),c(),f=!1}})}function Tr(e){let t;return It(e,n=>t=n)(),t}let wt=!1,Ke=!1,Et=Symbol("unmounted");function Ks(e,t,n){const r=n[t]??(n[t]={store:null,source:Pr(void 0),unsubscribe:X});if(r.store!==e&&!(Et in n))if(r.unsubscribe(),r.store=e??null,e==null)r.source.v=void 0,r.unsubscribe=X;else{var s=!0;r.unsubscribe=It(e,i=>{s?r.source.v=i:K(r.source,i)}),s=!1}return e&&Et in n?Tr(e):re(r.source)}function Xs(e,t,n){let r=n[t];return r&&r.store!==e&&(r.unsubscribe(),r.unsubscribe=X),e}function Zs(e,t){return Ar(e,t),t}function Js(){const e={};function t(){Rn(()=>{for(var n in e)e[n].unsubscribe();zn(e,Et,{enumerable:!1,value:!0})})}return[e,t]}function Ar(e,t){wt=!0;try{e.set(t)}finally{wt=!1}}function Qs(e){var t=Ke;try{return Ke=!1,[e(),Ke]}finally{Ke=t}}let ht=null,Se=null,b=null,Ue=null,O=null,gt=null,qe=!1,pt=!1,Re=null,Je=null;var $t=0;let Sr=1;var Ne,te,ve,ke,Ce,he,Ie,Q,Ge,P,Ve,ne,z,$,Me,pe,y,mt,je,Tt,dn,vn,Qe,xr,At,xe;const ut=class ut{constructor(){S(this,y);V(this,"id",Sr++);S(this,Ne,!1);V(this,"linked",!0);S(this,te,null);S(this,ve,null);V(this,"async_deriveds",new Map);V(this,"current",new Map);V(this,"previous",new Map);V(this,"unblocked",new Set);S(this,ke,new Set);S(this,Ce,new Set);S(this,he,new Set);S(this,Ie,0);S(this,Q,new Map);S(this,Ge,null);S(this,P,[]);S(this,Ve,[]);S(this,ne,new Set);S(this,z,new Set);S(this,$,new Map);S(this,Me,new Set);V(this,"is_fork",!1);S(this,pe,!1)}skip_effect(t){_(this,$).has(t)||_(this,$).set(t,{d:[],m:[]}),_(this,Me).delete(t)}unskip_effect(t,n=r=>this.schedule(r)){var r=_(this,$).get(t);if(r){_(this,$).delete(t);for(var s of r.d)E(s,R),n(s);for(s of r.m)E(s,G),n(s)}_(this,Me).add(t)}capture(t,n,r=!1){t.v!==A&&!this.previous.has(t)&&this.previous.set(t,t.v),(t.f&se)===0&&(this.current.set(t,[n,r]),O==null||O.set(t,n)),this.is_fork||(t.v=n)}activate(){b=this}deactivate(){b=null,O=null}flush(){try{pt=!0,b=this,m(this,y,je).call(this)}finally{$t=0,gt=null,Re=null,Je=null,pt=!1,b=null,O=null,we.clear()}}discard(){for(const t of _(this,Ce))t(this);_(this,Ce).clear(),_(this,he).clear(),m(this,y,xe).call(this)}register_created_effect(t){_(this,Ve).push(t)}increment(t,n){if(M(this,Ie,_(this,Ie)+1),t){let r=_(this,Q).get(n)??0;_(this,Q).set(n,r+1)}}decrement(t,n){if(M(this,Ie,_(this,Ie)-1),t){let r=_(this,Q).get(n)??0;r===1?_(this,Q).delete(n):_(this,Q).set(n,r-1)}_(this,pe)||(M(this,pe,!0),yt(()=>{M(this,pe,!1),this.linked&&this.flush()}))}transfer_effects(t,n){for(const r of t)_(this,ne).add(r);for(const r of n)_(this,z).add(r);t.clear(),n.clear()}oncommit(t){_(this,ke).add(t)}ondiscard(t){_(this,Ce).add(t)}on_fork_commit(t){_(this,he).add(t)}run_fork_commit_callbacks(){for(const t of _(this,he))t(this);_(this,he).clear()}settled(){return(_(this,Ge)??M(this,Ge,sn())).promise}static ensure(){var t;if(b===null){const n=b=new ut;m(t=n,y,At).call(t),!pt&&!qe&&yt(()=>{_(n,Ne)||n.flush()})}return b}apply(){{O=null;return}}schedule(t){var s;if(gt=t,(s=t.b)!=null&&s.is_pending&&(t.f&(De|ze|Ot))!==0&&(t.f&Te)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Re!==null&&n===w&&(p===null||(p.f&N)===0)&&!wt)return;if((r&(W|J))!==0){if((r&T)===0)return;n.f^=T}}_(this,P).push(n)}};Ne=new WeakMap,te=new WeakMap,ve=new WeakMap,ke=new WeakMap,Ce=new WeakMap,he=new WeakMap,Ie=new WeakMap,Q=new WeakMap,Ge=new WeakMap,P=new WeakMap,Ve=new WeakMap,ne=new WeakMap,z=new WeakMap,$=new WeakMap,Me=new WeakMap,pe=new WeakMap,y=new WeakSet,mt=function(){if(this.is_fork)return!0;for(const r of _(this,Q).keys()){for(var t=r,n=!1;t.parent!==null;){if(_(this,$).has(t)){n=!0;break}t=t.parent}if(!n)return!0}return!1},je=function(){var f,u,d,c;if(M(this,Ne,!0),$t++>1e3&&(m(this,y,xe).call(this),Or()),!m(this,y,mt).call(this)){for(const l of _(this,ne))_(this,z).delete(l),E(l,R),this.schedule(l);for(const l of _(this,z))E(l,G),this.schedule(l)}const t=_(this,P);M(this,P,[]),this.apply();var n=Re=[],r=[],s=Je=[];for(const l of t)try{m(this,y,Tt).call(this,l,n,r)}catch(h){throw bn(l),h}if(b=null,s.length>0){var i=ut.ensure();for(const l of s)i.schedule(l)}if(Re=null,Je=null,m(this,y,mt).call(this)){m(this,y,Qe).call(this,r),m(this,y,Qe).call(this,n);for(const[l,h]of _(this,$))pn(l,h);s.length>0&&m(f=b,y,je).call(f);return}const o=m(this,y,dn).call(this);if(o){m(u=o,y,vn).call(u,this);return}_(this,ne).clear(),_(this,z).clear();for(const l of _(this,ke))l(this);_(this,ke).clear(),Ue=this,Kt(r),Kt(n),Ue=null,(d=_(this,Ge))==null||d.resolve();var a=b;if(this.linked&&_(this,Ie)===0&&m(this,y,xe).call(this),_(this,P).length>0){a===null&&(a=this,m(this,y,At).call(this));const l=a;_(l,P).push(..._(this,P).filter(h=>!_(l,P).includes(h)))}a!==null&&m(c=a,y,je).call(c)},Tt=function(t,n,r){t.f^=T;for(var s=t.first;s!==null;){var i=s.f,o=(i&(J|W))!==0,a=o&&(i&T)!==0,f=a||(i&j)!==0||_(this,$).has(s);if(!f&&s.fn!==null){o?s.f^=T:(i&De)!==0?n.push(s):Fe(s)&&((i&q)!==0&&_(this,z).add(s),me(s));var u=s.first;if(u!==null){s=u;continue}}for(;s!==null;){var d=s.next;if(d!==null){s=d;break}s=s.parent}}},dn=function(){for(var t=_(this,te);t!==null;){if(!t.is_fork){for(const[n,[,r]]of this.current)if(t.current.has(n)&&!r)return t}t=_(t,te)}return null},vn=function(t){var r;for(const[s,i]of t.current)!this.previous.has(s)&&t.previous.has(s)&&this.previous.set(s,t.previous.get(s)),this.current.set(s,i);for(const[s,i]of t.async_deriveds){const o=this.async_deriveds.get(s);o&&i.promise.then(o.resolve)}const n=s=>{var i=s.reactions;if(i!==null)for(const f of i){var o=f.f;if((o&N)!==0)n(f);else{var a=f;o&(Oe|q)&&!this.async_deriveds.has(a)&&(_(this,z).delete(a),E(a,R),this.schedule(a))}}};for(const s of this.current.keys())n(s);this.oncommit(()=>t.discard()),m(r=t,y,xe).call(r),b=this,m(this,y,je).call(this)},Qe=function(t){for(var n=0;n<t.length;n+=1)Er(t[n],_(this,ne),_(this,z))},xr=function(){var d;m(this,y,xe).call(this);for(let c=ht;c!==null;c=_(c,ve)){var t=c.id<this.id,n=[];for(const[l,[h,v]]of this.current){if(c.current.has(l)){var r=c.current.get(l)[0];if(t&&h!==r)c.current.set(l,[h,v]);else continue}n.push(l)}if(t)for(const[l,h]of this.async_deriveds){const v=c.async_deriveds.get(l);v&&h.promise.then(v.resolve)}if(_(c,Ne)){var s=[...c.current.keys()].filter(l=>!this.current.has(l));if(s.length===0)t&&c.discard();else if(n.length>0){if(t)for(const l of _(this,Me))c.unskip_effect(l,h=>{var v;(h.f&(q|Oe))!==0?c.schedule(h):m(v=c,y,Qe).call(v,[h])});c.activate();var i=new Set,o=new Map;for(var a of n)hn(a,s,i,o);o=new Map;var f=[...c.current.keys()].filter(l=>this.current.has(l)?this.current.get(l)[0]!==l.v:!0);if(f.length>0)for(const l of _(this,Ve))(l.f&(Z|j|tt))===0&&Mt(l,f,o)&&((l.f&(Oe|q))!==0?(E(l,R),c.schedule(l)):_(c,ne).add(l));if(_(c,P).length>0&&!_(c,pe)){c.apply();for(var u of _(c,P))m(d=c,y,Tt).call(d,u,[],[]);M(c,P,[])}c.deactivate()}}}},At=function(){Se===null?ht=Se=this:(M(Se,ve,this),M(this,te,Se)),Se=this},xe=function(){var t=_(this,te),n=_(this,ve);t===null?ht=n:M(t,ve,n),n===null?Se=t:M(n,te,t),this.linked=!1};let fe=ut;function Rr(e){var t=qe;qe=!0;try{for(var n;;){if(br(),b===null)return n;b.flush()}}finally{qe=t}}function Or(){try{lr()}catch(e){st(e,gt)}}let U=null;function Kt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Z|j))===0&&Fe(r)&&(U=new Set,me(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Cn(r),(U==null?void 0:U.size)>0)){we.clear();for(const s of U){if((s.f&(Z|j))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)U.has(o)&&(U.delete(o),i.push(o)),o=o.parent;for(let a=i.length-1;a>=0;a--){const f=i[a];(f.f&(Z|j))===0&&me(f)}}U.clear()}}U=null}}function hn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&N)!==0?hn(s,t,n,r):(i&(Oe|q))!==0&&(i&R)===0&&Mt(s,t,r)&&(E(s,R),Dt(s))}}function Mt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(be.call(t,s))return!0;if((s.f&N)!==0&&Mt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function Dt(e){b.schedule(e)}function pn(e,t){if(!((e.f&J)!==0&&(e.f&T)!==0)){(e.f&R)!==0?t.d.push(e):(e.f&G)!==0&&t.m.push(e),E(e,T);for(var n=e.first;n!==null;)pn(n,t),n=n.next}}function bn(e){E(e,T);for(var t=e.first;t!==null;)bn(t),t=t.next}function Nr(e,t,n,r){const s=$e()?Pt:Ir;var i=e.filter(l=>!l.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var o=w,a=kr(),f=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(l=>l.promise)):null;function u(l){if((o.f&Z)===0){a();try{r(l)}catch(h){st(h,o)}it()}}var d=yn();if(n.length===0){f.then(()=>u(t.map(s))).finally(d);return}function c(){Promise.all(n.map(l=>Cr(l))).then(l=>u([...t.map(s),...l])).catch(l=>st(l,o)).finally(d)}f?f.then(()=>{a(),c(),it()}):c()}function kr(){var e=w,t=p,n=g,r=b;return function(i=!0){oe(e),ue(t),rt(n),i&&(e.f&Z)===0&&(r==null||r.activate(),r==null||r.apply())}}function it(e=!0){oe(null),ue(null),rt(null),e&&(b==null||b.deactivate())}function yn(){var e=w,t=e.b,n=b,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),()=>{t.update_pending_count(-1,n),n.decrement(r,e)}}function Pt(e){var t=N|R;return w!==null&&(w.f|=Le),{ctx:g,deps:null,effects:null,equals:an,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:w,ac:null}}const Xe=Symbol("obsolete");function Cr(e,t,n){let r=w;r===null&&rr();var s=void 0,i=Ft(A),o=!p,a=new Set;return qr(()=>{var h;var f=w,u=sn();s=u.promise;try{Promise.resolve(e()).then(u.resolve,v=>{v!==ot&&u.reject(v)}).finally(it)}catch(v){u.reject(v),it()}var d=b;if(o){if((f.f&Te)!==0)var c=yn();if(r.b.is_rendered())(h=d.async_deriveds.get(f))==null||h.reject(Xe);else for(const v of a.values())v.reject(Xe);a.add(u),d.async_deriveds.set(f,u)}const l=(v,k=void 0)=>{c==null||c(),a.delete(u),k!==Xe&&(d.activate(),k?(i.f|=se,St(i,k)):((i.f&se)!==0&&(i.f^=se),St(i,v)),d.deactivate())};u.promise.then(l,v=>l(null,v||"unknown"))}),Rn(()=>{for(const f of a)f.reject(Xe)}),new Promise(f=>{function u(d){function c(){d===s?f(i):u(s)}d.then(c,c)}u(s)})}function Ws(e){const t=Pt(e);return Dn(t),t}function Ir(e){const t=Pt(e);return t.equals=on,t}function Mr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)le(t[n])}}function Lt(e){var t,n=w,r=e.parent;if(!ae&&r!==null&&e.v!==A&&(r.f&(Z|j))!==0)return hr(),e.v;oe(r);try{e.f&=~ge,Mr(e),t=jn(e)}finally{oe(n)}return t}function wn(e){var t=Lt(e);if(!e.equals(t)&&(e.wv=Ln(),(!(b!=null&&b.is_fork)||e.deps===null)&&(b!==null?(b.capture(e,t,!0),Ue==null||Ue.capture(e,t,!0)):e.v=t,e.deps===null))){E(e,T);return}ae||(O!==null?(xn()||b!=null&&b.is_fork)&&O.set(e,t):Ct(e))}function Dr(e){var t,n;if(e.effects!==null)for(const r of e.effects)(r.teardown||r.ac)&&((t=r.teardown)==null||t.call(r),(n=r.ac)==null||n.abort(ot),r.fn!==null&&(r.teardown=X),r.ac=null,Be(r,0),Yt(r))}function En(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&t.fn!==null&&me(t)}let ft=new Set;const we=new Map;let gn=!1;function Ft(e,t){var n={f:0,v:e,reactions:null,equals:an,rv:0,wv:0};return n}function ee(e,t){const n=Ft(e);return Dn(n),n}function Pr(e,t=!1,n=!0){var s;const r=Ft(e);return t||(r.equals=on),Rt&&n&&g!==null&&g.l!==null&&((s=g.l).s??(s.s=[])).push(r),r}function ei(e,t){return K(e,Ut(()=>re(e))),t}function K(e,t,n=!1){p!==null&&(!B||(p.f&tt)!==0)&&$e()&&(p.f&(N|q|Oe|tt))!==0&&(H===null||!be.call(H,e))&&or();let r=n?He(t):t;return St(e,r,Je)}function St(e,t,n=null){if(!e.equals(t)){we.set(e,ae?t:e.v);var r=fe.ensure();if(r.capture(e,t),(e.f&N)!==0){const s=e;(e.f&R)!==0&&Lt(s),O===null&&Ct(s)}e.wv=Ln(),mn(e,R,n),$e()&&w!==null&&(w.f&T)!==0&&(w.f&(J|W))===0&&(L===null?zr([e]):L.push(e)),!r.is_fork&&ft.size>0&&!gn&&Lr()}return t}function Lr(){gn=!1;for(const e of ft){(e.f&T)!==0&&E(e,G);let t;try{t=Fe(e)}catch{t=!0}t&&me(e)}ft.clear()}function ti(e,t=1){var n=re(e),r=t===1?n++:n--;return K(e,n),r}function bt(e){K(e,e.v+1)}function mn(e,t,n){var r=e.reactions;if(r!==null)for(var s=$e(),i=r.length,o=0;o<i;o++){var a=r[o],f=a.f;if(!(!s&&a===w)){var u=(f&R)===0;if(u&&E(a,t),(f&tt)!==0)ft.add(a);else if((f&N)!==0){var d=a;O==null||O.delete(d),(f&ge)===0&&(f&F&&(w===null||(w.f&nt)===0)&&(a.f|=ge),mn(d,G,n))}else if(u){var c=a;(f&q)!==0&&U!==null&&U.add(c),n!==null?n.push(c):Dt(c)}}}}function He(e){if(typeof e!="object"||e===null||ye in e)return e;const t=nn(e);if(t!==Kn&&t!==Xn)return e;var n=new Map,r=Gn(e),s=ee(0),i=Ee,o=a=>{if(Ee===i)return a();var f=p,u=Ee;ue(null),Wt(i);var d=a();return ue(f),Wt(u),d};return r&&n.set("length",ee(e.length)),new Proxy(e,{defineProperty(a,f,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&ar();var d=n.get(f);return d===void 0?o(()=>{var c=ee(u.value);return n.set(f,c),c}):K(d,u.value,!0),!0},deleteProperty(a,f){var u=n.get(f);if(u===void 0){if(f in a){const d=o(()=>ee(A));n.set(f,d),bt(s)}}else K(u,A),bt(s);return!0},get(a,f,u){var h;if(f===ye)return e;var d=n.get(f),c=f in a;if(d===void 0&&(!c||(h=Ye(a,f))!=null&&h.writable)&&(d=o(()=>{var v=He(c?a[f]:A),k=ee(v);return k}),n.set(f,d)),d!==void 0){var l=re(d);return l===A?void 0:l}return Reflect.get(a,f,u)},getOwnPropertyDescriptor(a,f){var u=Reflect.getOwnPropertyDescriptor(a,f);if(u&&"value"in u){var d=n.get(f);d&&(u.value=re(d))}else if(u===void 0){var c=n.get(f),l=c==null?void 0:c.v;if(c!==void 0&&l!==A)return{enumerable:!0,configurable:!0,value:l,writable:!0}}return u},has(a,f){var l;if(f===ye)return!0;var u=n.get(f),d=u!==void 0&&u.v!==A||Reflect.has(a,f);if(u!==void 0||w!==null&&(!d||(l=Ye(a,f))!=null&&l.writable)){u===void 0&&(u=o(()=>{var h=d?He(a[f]):A,v=ee(h);return v}),n.set(f,u));var c=re(u);if(c===A)return!1}return d},set(a,f,u,d){var Bt;var c=n.get(f),l=f in a;if(r&&f==="length")for(var h=u;h<c.v;h+=1){var v=n.get(h+"");v!==void 0?K(v,A):h in a&&(v=o(()=>ee(A)),n.set(h+"",v))}if(c===void 0)(!l||(Bt=Ye(a,f))!=null&&Bt.writable)&&(c=o(()=>ee(void 0)),K(c,He(u)),n.set(f,c));else{l=c.v!==A;var k=o(()=>He(u));K(c,k)}var C=Reflect.getOwnPropertyDescriptor(a,f);if(C!=null&&C.set&&C.set.call(d,u),!l){if(r&&typeof f=="string"){var qt=n.get("length"),dt=Number(f);Number.isInteger(dt)&&dt>=qt.v&&K(qt,dt+1)}bt(s)}return!0},ownKeys(a){re(s);var f=Reflect.ownKeys(a).filter(c=>{var l=n.get(c);return l===void 0||l.v!==A});for(var[u,d]of n)d.v!==A&&!(u in a)&&f.push(u);return f},setPrototypeOf(){ur()}})}function Xt(e){try{if(e!==null&&typeof e=="object"&&ye in e)return e[ye]}catch{}return e}function ni(e,t){return Object.is(Xt(e),Xt(t))}var Zt,Fr,jr,Tn,An;function ri(){if(Zt===void 0){Zt=window,Fr=document,jr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Tn=Ye(t,"firstChild").get,An=Ye(t,"nextSibling").get,Vt(e)&&(e[Wn]=void 0,e[Qn]=null,e[er]=void 0,e.__e=void 0),Vt(n)&&(n[tr]=void 0)}}function lt(e=""){return document.createTextNode(e)}function at(e){return Tn.call(e)}function ce(e){return An.call(e)}function si(e,t){if(!ie)return at(e);var n=at(x);if(n===null)n=x.appendChild(lt());else if(t&&n.nodeType!==ct){var r=lt();return n==null||n.before(r),Pe(r),r}return t&&jt(n),Pe(n),n}function ii(e,t=!1){if(!ie){var n=at(e);return n instanceof Comment&&n.data===""?ce(n):n}if(t){if((x==null?void 0:x.nodeType)!==ct){var r=lt();return x==null||x.before(r),Pe(r),r}jt(x)}return x}function fi(e,t=1,n=!1){let r=ie?x:e;for(var s;t--;)s=r,r=ce(r);if(!ie)return r;if(n){if((r==null?void 0:r.nodeType)!==ct){var i=lt();return r===null?s==null||s.after(i):r.before(i),Pe(i),i}jt(r)}return Pe(r),r}function Hr(e){e.textContent=""}function li(){return!1}function ai(e,t,n){return document.createElementNS(t??vr,e,void 0)}function jt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===ct;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function ui(e,t){if(t){const n=document.body;e.autofocus=!0,yt(()=>{document.activeElement===n&&e.focus()})}}function oi(e){ie&&at(e)!==null&&Hr(e)}let Jt=!1;function Yr(){Jt||(Jt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n[Ze])==null||t.call(n)})},{capture:!0}))}function Ht(e){var t=p,n=w;ue(null),oe(null);try{return e()}finally{ue(t),oe(n)}}function ci(e,t,n,r=n){e.addEventListener(t,()=>Ht(n));const s=e[Ze];s?e[Ze]=()=>{s(),r(!0)}:e[Ze]=()=>r(!0),Yr()}function Sn(e){w===null&&(p===null&&fr(),ir()),ae&&sr()}function Ur(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Y(e,t){var n=w;n!==null&&(n.f&j)!==0&&(e|=j);var r={ctx:g,deps:null,nodes:null,f:e|R|F,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};b==null||b.register_created_effect(r);var s=r;if((e&De)!==0)Re!==null?Re.push(r):fe.ensure().schedule(r);else if(t!==null){try{me(r)}catch(o){throw le(r),o}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&Le)===0&&(s=s.first,(e&q)!==0&&(e&et)!==0&&s!==null&&(s.f|=et))}if(s!==null&&(s.parent=n,n!==null&&Ur(s,n),p!==null&&(p.f&N)!==0&&(e&W)===0)){var i=p;(i.effects??(i.effects=[])).push(s)}return r}function xn(){return p!==null&&!B}function Rn(e){const t=Y(ze,null);return E(t,T),t.teardown=e,t}function _i(e){Sn();var t=w.f,n=!p&&(t&J)!==0&&(t&Te)===0;if(n){var r=g;(r.e??(r.e=[])).push(e)}else return On(e)}function On(e){return Y(De|fn,e)}function di(e){return Sn(),Y(ze|fn,e)}function vi(e){fe.ensure();const t=Y(W|Le,e);return()=>{le(t)}}function hi(e){fe.ensure();const t=Y(W|Le,e);return(n={})=>new Promise(r=>{n.outro?Vr(t,()=>{le(t),r(void 0)}):(le(t),r(void 0))})}function pi(e){return Y(De,e)}function bi(e,t){var n=g,r={effect:null,ran:!1,deps:e};n.l.$.push(r),r.effect=Nn(()=>{if(e(),!r.ran){r.ran=!0;var s=w;try{oe(s.parent),Ut(t)}finally{oe(s)}}})}function yi(){var e=g;Nn(()=>{for(var t of e.l.$){t.deps();var n=t.effect;(n.f&T)!==0&&n.deps!==null&&E(n,G),Fe(n)&&me(n),t.ran=!1}})}function qr(e){return Y(Oe|Le,e)}function Nn(e,t=0){return Y(ze|t,e)}function wi(e,t=[],n=[],r=[]){Nr(r,t,n,s=>{Y(ze,()=>e(...s.map(re)))})}function Ei(e,t=0){var n=Y(q|t,e);return n}function gi(e,t=0){var n=Y(Ot|t,e);return n}function mi(e){return Y(J|Le,e)}function kn(e){var t=e.teardown;if(t!==null){const n=ae,r=p;Qt(!0),ue(null);try{t.call(null)}finally{Qt(n),ue(r)}}}function Yt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Ht(()=>{s.abort(ot)});var r=n.next;(n.f&W)!==0?n.parent=null:le(n,t),n=r}}function Br(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&J)===0&&le(t),t=n}}function le(e,t=!0){var n=!1;(t||(e.f&Jn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Gr(e.nodes.start,e.nodes.end),n=!0),E(e,zt),Yt(e,t&&!n),Be(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();kn(e),e.f^=zt,e.f|=Z;var s=e.parent;s!==null&&s.first!==null&&Cn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Gr(e,t){for(;e!==null;){var n=e===t?null:ce(e);e.remove(),e=n}}function Cn(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 Vr(e,t,n=!0){var r=[];In(e,r,!0);var s=()=>{n&&le(e),t&&t()},i=r.length;if(i>0){var o=()=>--i||s();for(var a of r)a.out(o)}else s()}function In(e,t,n){if((e.f&j)===0){e.f^=j;var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&t.push(a);for(var s=e.first;s!==null;){var i=s.next;if((s.f&W)===0){var o=(s.f&et)!==0||(s.f&J)!==0&&(e.f&q)!==0;In(s,t,o?n:!1)}s=i}}}function Ti(e){Mn(e,!0)}function Mn(e,t){if((e.f&j)!==0){e.f^=j,(e.f&T)===0&&(E(e,R),fe.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&et)!==0||(n.f&J)!==0;Mn(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const o of i)(o.is_global||t)&&o.in()}}function Ai(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:ce(n);t.append(n),n=s}}let We=!1,ae=!1;function Qt(e){ae=e}let p=null,B=!1;function ue(e){p=e}let w=null;function oe(e){w=e}let H=null;function Dn(e){p!==null&&(H===null?H=[e]:H.push(e))}let I=null,D=0,L=null;function zr(e){L=e}let Pn=1,de=0,Ee=de;function Wt(e){Ee=e}function Ln(){return++Pn}function Fe(e){var t=e.f;if((t&R)!==0)return!0;if(t&N&&(e.f&=~ge),(t&G)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Fe(i)&&wn(i),i.wv>e.wv)return!0}(t&F)!==0&&O===null&&E(e,T)}return!1}function Fn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(H!==null&&be.call(H,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&N)!==0?Fn(i,t,!1):t===i&&(n?E(i,R):(i.f&T)!==0&&E(i,G),Dt(i))}}function jn(e){var k;var t=I,n=D,r=L,s=p,i=H,o=g,a=B,f=Ee,u=e.f;I=null,D=0,L=null,p=(u&(J|W))===0?e:null,H=null,rt(e.ctx),B=!1,Ee=++de,e.ac!==null&&(Ht(()=>{e.ac.abort(ot)}),e.ac=null);try{e.f|=nt;var d=e.fn,c=d();e.f|=Te;var l=e.deps,h=b==null?void 0:b.is_fork;if(I!==null){var v;if(h||Be(e,D),l!==null&&D>0)for(l.length=D+I.length,v=0;v<I.length;v++)l[D+v]=I[v];else e.deps=l=I;if(xn()&&(e.f&F)!==0)for(v=D;v<l.length;v++)((k=l[v]).reactions??(k.reactions=[])).push(e)}else!h&&l!==null&&D<l.length&&(Be(e,D),l.length=D);if($e()&&L!==null&&!B&&l!==null&&(e.f&(N|G|R))===0)for(v=0;v<L.length;v++)Fn(L[v],e);if(s!==null&&s!==e){if(de++,s.deps!==null)for(let C=0;C<n;C+=1)s.deps[C].rv=de;if(t!==null)for(const C of t)C.rv=de;L!==null&&(r===null?r=L:r.push(...L))}return(e.f&se)!==0&&(e.f^=se),c}catch(C){return yr(C)}finally{e.f^=nt,I=t,D=n,L=r,p=s,H=i,rt(o),B=a,Ee=f}}function $r(e,t){let n=t.reactions;if(n!==null){var r=Vn.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&N)!==0&&(I===null||!be.call(I,t))){var i=t;(i.f&F)!==0&&(i.f^=F,i.f&=~ge),i.v!==A&&Ct(i),Dr(i),Be(i,0)}}function Be(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)$r(e,n[r])}function me(e){var t=e.f;if((t&Z)===0){E(e,T);var n=w,r=We;w=e,We=!0;try{(t&(q|Ot))!==0?Br(e):Yt(e),kn(e);var s=jn(e);e.teardown=typeof s=="function"?s:null,e.wv=Pn;var i;tn&&Bn&&(e.f&R)!==0&&e.deps}finally{We=r,w=n}}}async function Si(){await Promise.resolve(),Rr()}function xi(){return fe.ensure().settled()}function re(e){var t=e.f,n=(t&N)!==0;if(p!==null&&!B){var r=w!==null&&(w.f&Z)!==0;if(!r&&(H===null||!be.call(H,e))){var s=p.deps;if((p.f&nt)!==0)e.rv<de&&(e.rv=de,I===null&&s!==null&&s[D]===e?D++:I===null?I=[e]:I.push(e));else{p.deps??(p.deps=[]),be.call(p.deps,e)||p.deps.push(e);var i=e.reactions;i===null?e.reactions=[p]:be.call(i,p)||i.push(p)}}}if(ae&&we.has(e))return we.get(e);if(n){var o=e;if(ae){var a=o.v;return((o.f&T)===0&&o.reactions!==null||Yn(o))&&(a=Lt(o)),we.set(o,a),a}var f=(o.f&F)===0&&!B&&p!==null&&(We||(p.f&F)!==0),u=(o.f&Te)===0;Fe(o)&&(f&&(o.f|=F),wn(o)),f&&!u&&(En(o),Hn(o))}if(O!=null&&O.has(e))return O.get(e);if((e.f&se)!==0)throw e.v;return e.v}function Hn(e){if(e.f|=F,e.deps!==null)for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),(t.f&N)!==0&&(t.f&F)===0&&(En(t),Hn(t))}function Yn(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(we.has(t)||(t.f&N)!==0&&Yn(t))return!0;return!1}function Ut(e){var t=B;try{return B=!0,e()}finally{B=t}}function Ri(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(ye in e)xt(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&ye in n&&xt(n)}}}function xt(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let r in e)try{xt(e[r],t)}catch{}const n=nn(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=$n(n);for(let s in r){const i=r[s].get;if(i)try{i.call(e)}catch{}}}}}export{Fr as $,Is as A,q as B,Wn as C,Z as D,hs as E,Ze as F,Es as G,Jn as H,j as I,gs as J,er as K,ss as L,Os as M,vr as N,tr as O,ms as P,ct as Q,Te as R,ye as S,Rs as T,xs as U,As as V,Ss as W,A as X,w as Y,p as Z,Yr as _,Zt as a,Ai as a$,Zr as a0,ui as a1,Ei as a2,mi as a3,kr as a4,Qs as a5,si as a6,Hr as a7,g as a8,hi as a9,nn as aA,yr as aB,Bs as aC,Ls as aD,x as aE,ie as aF,cs as aG,kt as aH,bt as aI,ri as aJ,St as aK,us as aL,st as aM,ni as aN,Gn as aO,ae as aP,jr as aQ,qe as aR,Jr as aS,Qr as aT,$e as aU,bi as aV,yi as aW,nr as aX,ci as aY,gi as aZ,jt as a_,ai as aa,lt as ab,b as ac,Ri as ad,Er as ae,zn as af,Pt as ag,$s as ah,Ir as ai,le as aj,os as ak,pi as al,vi as am,xn as an,ns as ao,es as ap,ii as aq,Nr as ar,Rr as as,re as at,Gs as au,Us as av,Ye as aw,$n as ax,at as ay,ce as az,Qn as b,Pr as b0,ei as b1,js as b2,X as b3,Kn as b4,Vr as b5,zs as b6,_s as b7,He as b8,Vs as b9,Ks as bA,Zs as bB,Xs as bC,Ds as bD,ds as bE,Rn as bF,wi as bG,Si as bH,ts as bI,it as bJ,Ut as bK,ti as bL,Ee as bM,Ws as bN,_i as bO,di as bP,Ht as bQ,mr as bR,yt as ba,Ys as bb,gr as bc,Gr as bd,oi as be,Nn as bf,Fs as bg,Ti as bh,Wr as bi,rn as bj,un as bk,Ms as bl,K as bm,qs as bn,oe as bo,ue as bp,rt as bq,Pe as br,Ps as bs,xi as bt,Js as bu,li as bv,fi as bw,Hs as bx,Ft as by,ee as bz,Zn as c,J as d,fe as e,ln as f,zt as g,bs as h,ps as i,ys as j,vs as k,rs as l,Le as m,et as n,as as o,dr as p,Nt as q,cr as r,_r as s,Ns as t,ls as u,is as v,Cs as w,ks as x,ws as y,Ts as z};
|