Buckets:

HuggingFaceDocBuilder's picture
download
raw
30.6 kB
const ur=16384;const ar=33554432,or=65536;const Se=Symbol("$state"),cr=Symbol("legacy props"),Kt=Symbol("attributes"),jt=Symbol("class"),Gt=Symbol("style"),Ye=Symbol("text"),we=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},_e=3,Ne=8,nt=!1;var qt=Array.isArray,Wt=Array.prototype.indexOf,ye=Array.prototype.includes,zt=Array.from,$t=Object.defineProperty,ue=Object.getOwnPropertyDescriptor,Xt=Object.prototype,Zt=Array.prototype,Jt=Object.getPrototypeOf,qe=Object.isExtensible;const Qt=()=>{};function en(e){for(var t=0;t<e.length;t++)e[t]()}function rt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}function it(e){return e===this.v}function tn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function st(e){return!tn(e,this.v)}function nn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function rn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function sn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ln(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function fn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function un(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function an(){throw new Error("https://svelte.dev/e/hydration_failed")}function hr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function on(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function cn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function _n(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function hn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let dn=!1;const dr=1,Er=4,vr=8,pr=16,En=1,vn=2,lt="[",ft="[!",We="[?",ut="]",ne={},y=Symbol("uninitialized");let A=null;function re(e){A=e}function pn(e,t=!1,n){A={p:A,i:!1,c:null,e:null,s:e,x:null,r:E,l:null}}function Tn(e){var t=A,n=t.e;if(n!==null){t.e=null;for(var r of n)xt(r)}return t.i=!0,A=t.p,{}}function at(){return!0}let W=[];function ot(){var e=W;W=[],en(e)}function te(e){if(W.length===0&&!ae){var t=W;queueMicrotask(()=>{t===W&&ot()})}W.push(e)}function Rn(){for(;W.length>0;)ot()}function Cn(){console.warn("https://svelte.dev/e/derived_inert")}function Fe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function yn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function Ee(e){g=e}let T;function S(e){if(e===null)throw Fe(),ne;return T=e}function ct(){return S(B(T))}function Tr(e){if(g){if(B(T)!==null)throw Fe(),ne;T=e}}function gn(e=1){if(g){for(var t=e,n=T;t--;)n=B(n);T=n}}function An(e=!0){for(var t=0,n=T;;){if(n.nodeType===Ne){var r=n.data;if(r===ut){if(t===0)return n;t-=1}else(r===lt||r===ft||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=B(n);e&&n.remove(),n=i}}function Rr(e){if(!e||e.nodeType!==Ne)throw Fe(),ne;return e.data}function le(e){if(typeof e!="object"||e===null||Se in e)return e;const t=Jt(e);if(t!==Xt&&t!==Zt)return e;var n=new Map,r=qt(e),i=U(0),s=Z,f=a=>{if(Z===s)return a();var l=v,u=Z;F(null),Je(s);var h=a();return F(l),Je(u),h};return r&&n.set("length",U(e.length)),new Proxy(e,{defineProperty(a,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&on();var h=n.get(l);return h===void 0?f(()=>{var c=U(u.value);return n.set(l,c),c}):q(h,u.value,!0),!0},deleteProperty(a,l){var u=n.get(l);if(u===void 0){if(l in a){const h=f(()=>U(y));n.set(l,h),oe(i)}}else q(u,y),oe(i);return!0},get(a,l,u){if(l===Se)return e;var h=n.get(l),c=l in a;if(h===void 0&&(!c||ue(a,l)?.writable)&&(h=f(()=>{var _=le(c?a[l]:y),d=U(_);return d}),n.set(l,h)),h!==void 0){var o=$(h);return o===y?void 0:o}return Reflect.get(a,l,u)},getOwnPropertyDescriptor(a,l){var u=Reflect.getOwnPropertyDescriptor(a,l);if(u&&"value"in u){var h=n.get(l);h&&(u.value=$(h))}else if(u===void 0){var c=n.get(l),o=c?.v;if(c!==void 0&&o!==y)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return u},has(a,l){if(l===Se)return!0;var u=n.get(l),h=u!==void 0&&u.v!==y||Reflect.has(a,l);if(u!==void 0||E!==null&&(!h||ue(a,l)?.writable)){u===void 0&&(u=f(()=>{var o=h?le(a[l]):y,_=U(o);return _}),n.set(l,u));var c=$(u);if(c===y)return!1}return h},set(a,l,u,h){var c=n.get(l),o=l in a;if(r&&l==="length")for(var _=u;_<c.v;_+=1){var d=n.get(_+"");d!==void 0?q(d,y):_ in a&&(d=f(()=>U(y)),n.set(_+"",d))}if(c===void 0)(!o||ue(a,l)?.writable)&&(c=f(()=>U(void 0)),q(c,le(u)),n.set(l,c));else{o=c.v!==y;var R=f(()=>le(u));q(c,R)}var V=Reflect.getOwnPropertyDescriptor(a,l);if(V?.set&&V.set.call(h,u),!o){if(r&&typeof l=="string"){var k=n.get("length"),J=Number(l);Number.isInteger(J)&&J>=k.v&&q(k,J+1)}oe(i)}return!0},ownKeys(a){$(i);var l=Reflect.ownKeys(a).filter(c=>{var o=n.get(c);return o===void 0||o.v!==y});for(var[u,h]of n)h.v!==y&&!(u in a)&&l.push(u);return l},setPrototypeOf(){cn()}})}var ze,_t,ht,dt;function Le(){if(ze===void 0){ze=window,_t=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;ht=ue(t,"firstChild").get,dt=ue(t,"nextSibling").get,qe(e)&&(e[jt]=void 0,e[Kt]=null,e[Gt]=void 0,e.__e=void 0),qe(n)&&(n[Ye]=void 0)}}function P(e=""){return document.createTextNode(e)}function ie(e){return ht.call(e)}function B(e){return dt.call(e)}function Cr(e,t){if(!g)return ie(e);var n=ie(T);if(n===null)n=T.appendChild(P());else if(t&&n.nodeType!==_e){var r=P();return n?.before(r),S(r),r}return t&&me(n),S(n),n}function yr(e,t=!1){if(!g){var n=ie(e);return n instanceof Comment&&n.data===""?B(n):n}if(t){if(T?.nodeType!==_e){var r=P();return T?.before(r),S(r),r}me(T)}return T}function gr(e,t=1,n=!1){let r=g?T:e;for(var i;t--;)i=r,r=B(r);if(!g)return r;if(n){if(r?.nodeType!==_e){var s=P();return r===null?i?.after(s):r.before(s),S(s),s}me(r)}return S(r),r}function Dn(e){e.textContent=""}function Ar(){return!1}function wn(e,t,n){return n?document.createElement(e,{is:n}):document.createElement(e)}function me(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===_e;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Et(e){var t=E;if(t===null)return v.f|=8388608,e;if((t.f&32768)===0&&(t.f&4)===0)throw e;H(e,t)}function H(e,t){if(!(t!==null&&(t.f&16384)!==0)){for(;t!==null;){if((t.f&128)!==0){if((t.f&32768)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}}const Nn=-7169;function C(e,t){e.f=e.f&Nn|t}function Me(e){(e.f&512)!==0||e.deps===null?C(e,1024):C(e,4096)}function vt(e){if(e!==null)for(const t of e)(t.f&2)===0||(t.f&65536)===0||(t.f^=65536,vt(t.deps))}function pt(e,t,n){(e.f&2048)!==0?t.add(e):(e.f&4096)!==0&&n.add(e),vt(e.deps),C(e,1024)}function Fn(e){let t=0,n=he(0),r;return()=>{je()&&($(n),zn(()=>(t===0&&(r=Ke(()=>e(()=>oe(n)))),t+=1,()=>{te(()=>{t-=1,t===0&&(r?.(),r=void 0,oe(n))})})))}}var mn=589824;function On(e,t,n,r){new Sn(e,t,n,r)}class Sn{parent;is_pending=!1;transform_error;#r;#_=g?T:null;#i;#h;#n;#l=null;#e=null;#s=null;#t=null;#d=0;#f=0;#u=!1;#o=new Set;#v=new Set;#a=null;#T=Fn(()=>(this.#a=he(this.#d),()=>{this.#a=null}));constructor(t,n,r,i){this.#r=t,this.#i=n,this.#h=s=>{var f=E;f.b=this,f.f|=128,r(s)},this.parent=E.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#n=$n(()=>{if(g){const s=this.#_;ct();const f=s.data===ft;if(s.data.startsWith(We)){const l=JSON.parse(s.data.slice(We.length));this.#R(l)}else f?this.#g():this.#p()}else this.#C()},mn),g&&(this.#r=T)}#p(){try{this.#l=G(()=>this.#h(this.#r))}catch(t){this.error(t)}}#R(t){const n=this.#i.failed;n&&(this.#s=G(()=>{n(this.#r,()=>t,()=>()=>{})}))}#g(){const t=this.#i.pending;t&&(this.is_pending=!0,this.#e=G(()=>t(this.#r)),te(()=>{var n=this.#t=document.createDocumentFragment(),r=P();n.append(r),this.#l=this.#y(()=>G(()=>this.#h(r))),this.#f===0&&(this.#r.before(n),this.#t=null,Ce(this.#e,()=>{this.#e=null}),this.#c(p))}))}#C(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#d=0,this.#l=G(()=>{this.#h(this.#r)}),this.#f>0){var t=this.#t=document.createDocumentFragment();Jn(this.#l,t);const n=this.#i.pending;this.#e=G(()=>n(this.#r))}else this.#c(p)}catch(n){this.error(n)}}#c(t){this.is_pending=!1,t.transfer_effects(this.#o,this.#v)}defer_effect(t){pt(t,this.#o,this.#v)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#y(t){var n=E,r=v,i=A;Y(this.#n),F(this.#n),re(this.#n.ctx);try{return M.ensure(),t()}catch(s){return Et(s),null}finally{Y(n),F(r),re(i)}}#E(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#E(t,n);return}this.#f+=t,this.#f===0&&(this.#c(n),this.#e&&Ce(this.#e,()=>{this.#e=null}),this.#t&&(this.#r.before(this.#t),this.#t=null))}update_pending_count(t,n){this.#E(t,n),this.#d+=t,!(!this.#a||this.#u)&&(this.#u=!0,te(()=>{this.#u=!1,this.#a&&De(this.#a,this.#d)}))}get_effect_pending(){return this.#T(),$(this.#a)}error(t){if(!this.#i.onerror&&!this.#i.failed)throw t;p?.is_fork?(this.#l&&p.skip_effect(this.#l),this.#e&&p.skip_effect(this.#e),this.#s&&p.skip_effect(this.#s),p.oncommit(()=>{this.#A(t)})):this.#A(t)}#A(t){this.#l&&(I(this.#l),this.#l=null),this.#e&&(I(this.#e),this.#e=null),this.#s&&(I(this.#s),this.#s=null),g&&(S(this.#_),gn(),S(An()));var n=this.#i.onerror;let r=this.#i.failed;var i=!1,s=!1;const f=()=>{if(i){yn();return}i=!0,s&&hn(),this.#s!==null&&Ce(this.#s,()=>{this.#s=null}),this.#y(()=>{this.#C()})},a=l=>{try{s=!0,n?.(l,f),s=!1}catch(u){H(u,this.#n&&this.#n.parent)}r&&(this.#s=this.#y(()=>{try{return G(()=>{var u=E;u.b=this,u.f|=128,r(this.#r,()=>l,()=>f)})}catch(u){return H(u,this.#n.parent),null}}))};te(()=>{var l;try{l=this.transform_error(t)}catch(u){H(u,this.#n&&this.#n.parent);return}l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(a,u=>H(u,this.#n&&this.#n.parent)):a(l)})}}function bn(e,t,n,r){const i=Be;var s=e.filter(_=>!_.settled),f=t.map(i);if(n.length===0&&s.length===0){r(f);return}var a=E,l=In(),u=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(_=>_.promise)):null;function h(_){if((a.f&16384)===0){l();try{r([...f,..._])}catch(d){H(d,a)}ge()}}var c=Tt();if(n.length===0){u.then(()=>h([])).finally(c);return}function o(){Promise.all(n.map(_=>Yn(_))).then(h).catch(_=>H(_,a)).finally(c)}u?u.then(()=>{l(),o(),ge()}):o()}function In(){var e=E,t=v,n=A,r=p;return function(s=!0){Y(e),F(t),re(n),s&&(e.f&16384)===0&&(r?.activate(),r?.apply())}}function ge(e=!0){Y(null),F(null),re(null),e&&p?.deactivate()}function Tt(){var e=E,t=e.b,n=p,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 Be(e){var t=2050;return E!==null&&(E.f|=524288),{ctx:A,deps:null,effects:null,equals:it,f:t,fn:e,reactions:null,rv:0,v:y,wv:0,parent:E,ac:null}}const fe=Symbol("obsolete");function Yn(e,t,n){let r=E;r===null&&rn();var i=void 0,s=he(y),f=!v,a=new Set;return Wn(()=>{var l=E,u=rt();i=u.promise;try{Promise.resolve(e()).then(u.resolve,_=>{_!==we&&u.reject(_)}).finally(ge)}catch(_){u.reject(_),ge()}var h=p;if(f){if((l.f&32768)!==0)var c=Tt();if(r.b?.is_rendered())h.async_deriveds.get(l)?.reject(fe);else for(const _ of a.values())_.reject(fe);a.add(u),h.async_deriveds.set(l,u)}const o=(_,d=void 0)=>{c?.(),a.delete(u),d!==fe&&(h.activate(),d?(s.f|=8388608,De(s,d)):((s.f&8388608)!==0&&(s.f^=8388608),De(s,_)),h.deactivate())};u.promise.then(o,_=>o(null,_||"unknown"))}),jn(()=>{for(const l of a)l.reject(fe)}),new Promise(l=>{function u(h){function c(){h===i?l(s):u(i)}h.then(c,c)}u(i)})}function Dr(e){const t=Be(e);return mt(t),t}function wr(e){const t=Be(e);return t.equals=st,t}function Ln(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)I(t[n])}}function Ve(e){var t,n=E,r=e.parent;if(!j&&r!==null&&e.v!==y&&(r.f&24576)!==0)return Cn(),e.v;Y(r);try{e.f&=-65537,Ln(e),t=It(e)}finally{Y(n)}return t}function Rt(e){var t=Ve(e);if(!e.equals(t)&&(e.wv=St(),(!p?.is_fork||e.deps===null)&&(p!==null?(p.capture(e,t,!0),ke?.capture(e,t,!0)):e.v=t,e.deps===null))){C(e,1024);return}j||(m!==null?(je()||p?.is_fork)&&m.set(e,t):Me(e))}function kn(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(we),t.fn!==null&&(t.teardown=Qt),t.ac=null,ce(t,0),Ge(t))}function Ct(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&t.fn!==null&&se(t)}let be=null,Q=null,p=null,ke=null,m=null,xe=null,ae=!1,Ie=!1,ee=null,Te=null;var $e=0;let xn=1;class M{id=xn++;#r=!1;linked=!0;#_=null;#i=null;async_deriveds=new Map;current=new Map;previous=new Map;#h=new Set;#n=new Set;#l=0;#e=new Map;#s=null;#t=[];#d=[];#f=new Set;#u=new Set;#o=new Map;#v=new Set;is_fork=!1;#a=!1;constructor(){Q===null?be=Q=this:(Q.#i=this,this.#_=Q),Q=this}#T(){if(this.is_fork)return!0;for(const r of this.#e.keys()){for(var t=r,n=!1;t.parent!==null;){if(this.#o.has(t)){n=!0;break}t=t.parent}if(!n)return!0}return!1}skip_effect(t){this.#o.has(t)||this.#o.set(t,{d:[],m:[]}),this.#v.delete(t)}unskip_effect(t,n=r=>this.schedule(r)){var r=this.#o.get(t);if(r){this.#o.delete(t);for(var i of r.d)C(i,2048),n(i);for(i of r.m)C(i,4096),n(i)}this.#v.add(t)}#p(){this.#r=!0,$e++>1e3&&(this.#E(),Pn());for(const l of this.#f)this.#u.delete(l),C(l,2048),this.schedule(l);for(const l of this.#u)C(l,4096),this.schedule(l);const t=this.#t;this.#t=[],this.apply();var n=ee=[],r=[],i=Te=[];for(const l of t)try{this.#R(l,n,r)}catch(u){throw Dt(l),this.#T()||this.discard(),u}if(p=null,i.length>0){var s=M.ensure();for(const l of i)s.schedule(l)}if(ee=null,Te=null,this.#T()){this.#c(r),this.#c(n);for(const[l,u]of this.#o)At(l,u);i.length>0&&p.#p();return}const f=this.#g();if(f){this.#c(r),this.#c(n),f.#C(this);return}this.#f.clear(),this.#u.clear();for(const l of this.#h)l(this);this.#h.clear(),ke=this,Xe(r),Xe(n),ke=null,this.#s?.resolve();var a=p;if(this.#l===0&&(this.#t.length===0||a!==null)&&this.#E(),this.#t.length>0)if(a!==null){const l=a;l.#t.push(...this.#t.filter(u=>!l.#t.includes(u)))}else a=this;a!==null&&a.#p()}#R(t,n,r){t.f^=1024;for(var i=t.first;i!==null;){var s=i.f,f=(s&96)!==0,a=f&&(s&1024)!==0,l=a||(s&8192)!==0||this.#o.has(i);if(!l&&i.fn!==null){f?i.f^=1024:(s&4)!==0?n.push(i):de(i)&&((s&16)!==0&&this.#u.add(i),se(i));var u=i.first;if(u!==null){i=u;continue}}for(;i!==null;){var h=i.next;if(h!==null){i=h;break}i=i.parent}}}#g(){for(var t=this.#_;t!==null;){if(!t.is_fork){for(const[n,[,r]]of this.current)if(t.current.has(n)&&!r)return t}t=t.#_}return null}#C(t){for(const[r,i]of t.current)!this.previous.has(r)&&t.previous.has(r)&&this.previous.set(r,t.previous.get(r)),this.current.set(r,i);for(const[r,i]of t.async_deriveds){const s=this.async_deriveds.get(r);s&&i.promise.then(s.resolve).catch(s.reject)}t.async_deriveds.clear(),this.transfer_effects(t.#f,t.#u);const n=r=>{var i=r.reactions;if(i!==null)for(const a of i){var s=a.f;if((s&2)!==0)n(a);else{var f=a;s&4194320&&!this.async_deriveds.has(f)&&(this.#u.delete(f),C(f,2048),this.schedule(f))}}};for(const r of this.current.keys())n(r);this.oncommit(()=>t.discard()),t.#E(),p=this,this.#p()}#c(t){for(var n=0;n<t.length;n+=1)pt(t[n],this.#f,this.#u)}capture(t,n,r=!1){t.v!==y&&!this.previous.has(t)&&this.previous.set(t,t.v),(t.f&8388608)===0&&(this.current.set(t,[n,r]),m?.set(t,n)),this.is_fork||(t.v=n)}activate(){p=this}deactivate(){p=null,m=null}flush(){try{Ie=!0,p=this,this.#p()}finally{$e=0,xe=null,ee=null,Te=null,Ie=!1,p=null,m=null,X.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear();for(const t of this.async_deriveds.values())t.reject(fe);this.#E(),this.#s?.resolve()}register_created_effect(t){this.#d.push(t)}#y(){for(let c=be;c!==null;c=c.#i){var t=c.id<this.id,n=[];for(const[o,[_,d]]of this.current){if(c.current.has(o)){var r=c.current.get(o)[0];if(t&&_!==r)c.current.set(o,[_,d]);else continue}n.push(o)}if(t)for(const[o,_]of this.async_deriveds){const d=c.async_deriveds.get(o);d&&_.promise.then(d.resolve).catch(d.reject)}var i=[...c.current.keys()].filter(o=>!c.current.get(o)[1]);if(!(!c.#r||i.length===0)){var s=i.filter(o=>!this.current.has(o));if(s.length===0)t&&c.discard();else if(n.length>0){if(t)for(const o of this.#v)c.unskip_effect(o,_=>{(_.f&4194320)!==0?c.schedule(_):c.#c([_])});c.activate();var f=new Set,a=new Map;for(var l of n)gt(l,s,f,a);a=new Map;var u=[...c.current].filter(([o,_])=>{const d=this.current.get(o);return d?d[0]!==_[0]||d[1]!==_[1]:!0}).map(([o])=>o);if(u.length>0)for(const o of this.#d)(o.f&155648)===0&&Ue(o,u,a)&&((o.f&4194320)!==0?(C(o,2048),c.schedule(o)):c.#f.add(o));if(c.#t.length>0&&!c.#a){c.apply();for(var h of c.#t)c.#R(h,[],[]);c.#t=[]}c.deactivate()}}}}increment(t,n){if(this.#l+=1,t){let r=this.#e.get(n)??0;this.#e.set(n,r+1)}}decrement(t,n){if(this.#l-=1,t){let r=this.#e.get(n)??0;r===1?this.#e.delete(n):this.#e.set(n,r-1)}this.#a||(this.#a=!0,te(()=>{this.#a=!1,this.linked&&this.flush()}))}transfer_effects(t,n){for(const r of t)this.#f.add(r);for(const r of n)this.#u.add(r);t.clear(),n.clear()}oncommit(t){this.#h.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=rt()).promise}static ensure(){if(p===null){const t=p=new M;!Ie&&!ae&&te(()=>{t.#r||t.flush()})}return p}apply(){{m=null;return}}schedule(t){if(xe=t,t.b?.is_pending&&(t.f&16777228)!==0&&(t.f&32768)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(ee!==null&&n===E&&(v===null||(v.f&2)===0))return;if((r&96)!==0){if((r&1024)===0)return;n.f^=1024}}this.#t.push(n)}#E(){if(this.linked){var t=this.#_,n=this.#i;t===null?be=n:t.#i=n,n===null?Q=t:n.#_=t,this.linked=!1}}}function yt(e){var t=ae;ae=!0;try{for(var n;;){if(Rn(),p===null)return n;p.flush()}}finally{ae=t}}function Pn(){try{un()}catch(e){H(e,xe)}}let x=null;function Xe(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&24576)===0&&de(r)&&(x=new Set,se(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Mt(r),x?.size>0)){X.clear();for(const i of x){if((i.f&24576)!==0)continue;const s=[i];let f=i.parent;for(;f!==null;)x.has(f)&&(x.delete(f),s.push(f)),f=f.parent;for(let a=s.length-1;a>=0;a--){const l=s[a];(l.f&24576)===0&&se(l)}}x.clear()}}x=null}}function gt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&2)!==0?gt(i,t,n,r):(s&4194320)!==0&&(s&2048)===0&&Ue(i,t,r)&&(C(i,2048),He(i))}}function Ue(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(ye.call(t,i))return!0;if((i.f&2)!==0&&Ue(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function He(e){p.schedule(e)}function At(e,t){if(!((e.f&32)!==0&&(e.f&1024)!==0)){(e.f&2048)!==0?t.d.push(e):(e.f&4096)!==0&&t.m.push(e),C(e,1024);for(var n=e.first;n!==null;)At(n,t),n=n.next}}function Dt(e){C(e,1024);for(var t=e.first;t!==null;)Dt(t),t=t.next}let Ae=new Set;const X=new Map;let wt=!1;function he(e,t){var n={f:0,v:e,reactions:null,equals:it,rv:0,wv:0};return n}function U(e,t){const n=he(e);return mt(n),n}function Nr(e,t=!1,n=!0){const r=he(e);return t||(r.equals=st),r}function q(e,t,n=!1){v!==null&&(!O||(v.f&131072)!==0)&&at()&&(v.f&4325394)!==0&&(b===null||!b.has(e))&&_n();let r=n?le(t):t;return De(e,r,Te)}function De(e,t,n=null){if(!e.equals(t)){X.set(e,j?t:e.v);var r=M.ensure();if(r.capture(e,t),(e.f&2)!==0){const i=e;(e.f&2048)!==0&&Ve(i),m===null&&Me(i)}e.wv=St(),Nt(e,2048,n),E!==null&&(E.f&1024)!==0&&(E.f&96)===0&&(N===null?Bn([e]):N.push(e)),!r.is_fork&&Ae.size>0&&!wt&&Mn()}return t}function Mn(){wt=!1;for(const e of Ae){(e.f&1024)!==0&&C(e,4096);let t;try{t=de(e)}catch{t=!0}t&&se(e)}Ae.clear()}function oe(e){q(e,e.v+1)}function Nt(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var f=r[s],a=f.f,l=(a&2048)===0;if(l&&C(f,t),(a&131072)!==0)Ae.add(f);else if((a&2)!==0){var u=f;m?.delete(u),(a&65536)===0&&(a&512&&(E===null||(E.f&2097152)===0)&&(f.f|=65536),Nt(u,4096,n))}else if(l){var h=f;(a&16)!==0&&x!==null&&x.add(h),n!==null?n.push(h):He(h)}}}function Ft(e){var t=v,n=E;F(null),Y(null);try{return e()}finally{F(t),Y(n)}}let Re=!1,j=!1;function Ze(e){j=e}let v=null,O=!1;function F(e){v=e}let E=null;function Y(e){E=e}let b=null;function mt(e){v!==null&&(b??=new Set).add(e)}let D=null,w=0,N=null;function Bn(e){N=e}let Ot=1,z=0,Z=z;function Je(e){Z=e}function St(){return++Ot}function de(e){var t=e.f;if((t&2048)!==0)return!0;if(t&2&&(e.f&=-65537),(t&4096)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(de(s)&&Rt(s),s.wv>e.wv)return!0}(t&512)!==0&&m===null&&C(e,1024)}return!1}function bt(e,t,n=!0){var r=e.reactions;if(r!==null&&!(b!==null&&b.has(e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&2)!==0?bt(s,t,!1):t===s&&(n?C(s,2048):(s.f&1024)!==0&&C(s,4096),He(s))}}function It(e){var t=D,n=w,r=N,i=v,s=b,f=A,a=O,l=Z,u=e.f;D=null,w=0,N=null,v=(u&96)===0?e:null,b=null,re(e.ctx),O=!1,Z=++z,e.ac!==null&&(Ft(()=>{e.ac.abort(we)}),e.ac=null);try{e.f|=2097152;var h=e.fn,c=h();e.f|=32768;var o=e.deps,_=p?.is_fork;if(D!==null){var d;if(_||ce(e,w),o!==null&&w>0)for(o.length=w+D.length,d=0;d<D.length;d++)o[w+d]=D[d];else e.deps=o=D;if(je()&&(e.f&512)!==0)for(d=w;d<o.length;d++)(o[d].reactions??=[]).push(e)}else!_&&o!==null&&w<o.length&&(ce(e,w),o.length=w);if(at()&&N!==null&&!O&&o!==null&&(e.f&6146)===0)for(d=0;d<N.length;d++)bt(N[d],e);if(i!==null&&i!==e){if(z++,i.deps!==null)for(let R=0;R<n;R+=1)i.deps[R].rv=z;if(t!==null)for(const R of t)R.rv=z;N!==null&&(r===null?r=N:r.push(...N))}return(e.f&8388608)!==0&&(e.f^=8388608),c}catch(R){return Et(R)}finally{e.f^=2097152,D=t,w=n,N=r,v=i,b=s,re(f),O=a,Z=l}}function Vn(e,t){let n=t.reactions;if(n!==null){var r=Wt.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&2)!==0&&(D===null||!ye.call(D,t))){var s=t;(s.f&512)!==0&&(s.f^=512,s.f&=-65537),s.v!==y&&Me(s),kn(s),ce(s,0)}}function ce(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Vn(e,n[r])}function se(e){var t=e.f;if((t&16384)===0){C(e,1024);var n=E,r=Re;E=e,Re=!0;try{(t&16777232)!==0?Xn(e):Ge(e),Pt(e);var i=It(e);e.teardown=typeof i=="function"?i:null,e.wv=Ot;var s;nt&&dn&&(e.f&2048)!==0&&e.deps}finally{Re=r,E=n}}}async function Un(){await Promise.resolve(),yt()}function Hn(){return M.ensure().settled()}function $(e){var t=e.f,n=(t&2)!==0;if(v!==null&&!O){var r=E!==null&&(E.f&16384)!==0;if(!r&&(b===null||!b.has(e))){var i=v.deps;if((v.f&2097152)!==0)e.rv<z&&(e.rv=z,D===null&&i!==null&&i[w]===e?w++:D===null?D=[e]:D.push(e));else{v.deps??=[],ye.call(v.deps,e)||v.deps.push(e);var s=e.reactions;s===null?e.reactions=[v]:ye.call(s,v)||s.push(v)}}}if(j&&X.has(e))return X.get(e);if(n){var f=e;if(j){var a=f.v;return((f.f&1024)===0&&f.reactions!==null||Lt(f))&&(a=Ve(f)),X.set(f,a),a}var l=(f.f&512)===0&&!O&&v!==null&&(Re||(v.f&512)!==0),u=(f.f&32768)===0;de(f)&&(l&&(f.f|=512),Rt(f)),l&&!u&&(Ct(f),Yt(f))}if(m?.has(e))return m.get(e);if((e.f&8388608)!==0)throw e.v;return e.v}function Yt(e){if(e.f|=512,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&2)!==0&&(t.f&512)===0&&(Ct(t),Yt(t))}function Lt(e){if(e.v===y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(X.has(t)||(t.f&2)!==0&&Lt(t))return!0;return!1}function Ke(e){var t=O;try{return O=!0,e()}finally{O=t}}function kt(e){E===null&&(v===null&&fn(),ln()),j&&sn()}function Kn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function L(e,t){var n=E;n!==null&&(n.f&8192)!==0&&(e|=8192);var r={ctx:A,deps:null,nodes:null,f:e|2048|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};p?.register_created_effect(r);var i=r;if((e&4)!==0)ee!==null?ee.push(r):M.ensure().schedule(r);else if(t!==null){try{se(r)}catch(f){throw I(r),f}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&524288)===0&&(i=i.first,(e&16)!==0&&(e&65536)!==0&&i!==null&&(i.f|=65536))}if(i!==null&&(i.parent=n,n!==null&&Kn(i,n),v!==null&&(v.f&2)!==0&&(e&64)===0)){var s=v;(s.effects??=[]).push(i)}return r}function je(){return v!==null&&!O}function jn(e){const t=L(8,null);return C(t,1024),t.teardown=e,t}function Gn(e){kt();var t=E.f,n=!v&&(t&32)!==0&&A!==null&&!A.i;if(n){var r=A;(r.e??=[]).push(e)}else return xt(e)}function xt(e){return L(1048580,e)}function Fr(e){return kt(),L(1048584,e)}function qn(e){M.ensure();const t=L(524352,e);return(n={})=>new Promise(r=>{n.outro?Ce(t,()=>{I(t),r(void 0)}):(I(t),r(void 0))})}function mr(e){return L(4,e)}function Wn(e){return L(4718592,e)}function zn(e,t=0){return L(8|t,e)}function Or(e,t=[],n=[],r=[]){bn(r,t,n,i=>{L(8,()=>{e(...i.map($))})})}function $n(e,t=0){var n=L(16|t,e);return n}function G(e){return L(524320,e)}function Pt(e){var t=e.teardown;if(t!==null){const n=j,r=v;Ze(!0),F(null);try{t.call(null)}finally{Ze(n),F(r)}}}function Ge(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ft(()=>{i.abort(we)});var r=n.next;(n.f&64)!==0?n.parent=null:I(n,t),n=r}}function Xn(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&32)===0&&I(t),t=n}}function I(e,t=!0){var n=!1;(t||(e.f&262144)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Zn(e.nodes.start,e.nodes.end),n=!0),e.f|=33554432,Ge(e,t&&!n),ce(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();Pt(e),e.f^=33554432,e.f|=16384;var i=e.parent;i!==null&&i.first!==null&&Mt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Zn(e,t){for(;e!==null;){var n=e===t?null:B(e);e.remove(),e=n}}function Mt(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 Ce(e,t,n=!0){var r=[];Bt(e,r,!0);var i=()=>{n&&I(e),t&&t()},s=r.length;if(s>0){var f=()=>--s||i();for(var a of r)a.out(f)}else i()}function Bt(e,t,n){if((e.f&8192)===0){e.f^=8192;var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next;if((i.f&64)===0){var f=(i.f&65536)!==0||(i.f&32)!==0&&(e.f&16)!==0;Bt(i,t,f?n:!1)}i=s}}}function Sr(e){Vt(e,!0)}function Vt(e,t){if((e.f&8192)!==0){e.f^=8192,(e.f&1024)===0&&(C(e,2048),M.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!==0||(n.f&32)!==0;Vt(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const f of s)(f.is_global||t)&&f.in()}}function Jn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:B(n);t.append(n),n=i}}const ve=Symbol("events"),Qn=new Set,Qe=new Set;let et=null;function tt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;et=e;var f=0,a=et===e&&e[ve];if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e[ve]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(f=l)}if(s=i[f]||e.target,s!==t){$t(e,"currentTarget",{configurable:!0,get(){return s||n}});var h=v,c=E;F(null),Y(null);try{for(var o,_=[];s!==null&&s!==t;){try{var d=s[ve]?.[r];d!=null&&(!s.disabled||e.target===s)&&d.call(s,e)}catch(R){o?_.push(R):o=R}if(e.cancelBubble)break;f++,s=f<i.length?i[f]:null}if(o){for(let R of _)queueMicrotask(()=>{throw R});throw o}}finally{e[ve]=t,delete e.currentTarget,F(h),Y(c)}}}const er=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function tr(e){return er?.createHTML(e)??e}function nr(e){var t=wn("template");return t.innerHTML=tr(e.replaceAll("<!>","<!---->")),t.content}function K(e,t){var n=E;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function br(e,t){var n=(t&En)!==0,r=(t&vn)!==0,i,s=!e.startsWith("<!>");return()=>{if(g)return K(T,null),T;i===void 0&&(i=nr(s?e:"<!>"+e),n||(i=ie(i)));var f=r||_t?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=ie(f),l=f.lastChild;K(a,l)}else K(f,f);return f}}function Ir(e=""){if(!g){var t=P(e+"");return K(t,t),t}var n=T;return n.nodeType!==_e?(n.before(n=P()),S(n)):me(n),K(n,n),n}function Yr(){if(g)return K(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(""),n=P();return e.append(t,n),K(t,n),e}function Lr(e,t){if(g){var n=E;((n.f&32768)===0||n.nodes.end===null)&&(n.nodes.end=T),ct();return}e!==null&&e.before(t)}const rr=["touchstart","touchmove"];function ir(e){return rr.includes(e)}function kr(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e[Ye]??=e.nodeValue)&&(e[Ye]=n,e.nodeValue=`${n}`)}function Ut(e,t){return Ht(e,t)}function sr(e,t){Le(),t.intro=t.intro??!1;const n=t.target,r=g,i=T;try{for(var s=ie(n);s&&(s.nodeType!==Ne||s.data!==lt);)s=B(s);if(!s)throw ne;Ee(!0),S(s);const f=Ht(e,{...t,anchor:s});return Ee(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw f;return f!==ne&&console.warn("Failed to hydrate: ",f),t.recover===!1&&an(),Le(),Dn(n),Ee(!1),Ut(e,t)}finally{Ee(r),S(i)}}const pe=new Map;function Ht(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:f=!0,transformError:a}){Le();var l=void 0,u=qn(()=>{var h=n??t.appendChild(P());On(h,{pending:()=>{}},_=>{pn({});var d=A;if(s&&(d.c=s),i&&(r.$$events=i),g&&K(_,null),l=e(_,r)||{},g&&(E.nodes.end=T,T===null||T.nodeType!==Ne||T.data!==ut))throw Fe(),ne;Tn()},a);var c=new Set,o=_=>{for(var d=0;d<_.length;d++){var R=_[d];if(!c.has(R)){c.add(R);var V=ir(R);for(const Oe of[t,document]){var k=pe.get(Oe);k===void 0&&(k=new Map,pe.set(Oe,k));var J=k.get(R);J===void 0?(Oe.addEventListener(R,tt,{passive:V}),k.set(R,1)):k.set(R,J+1)}}}};return o(zt(Qn)),Qe.add(o),()=>{for(var _ of c)for(const V of[t,document]){var d=pe.get(V),R=d.get(_);--R==0?(V.removeEventListener(_,tt),d.delete(_),d.size===0&&pe.delete(V)):d.set(_,R)}Qe.delete(o),h!==n&&h.parentNode?.removeChild(h)}});return Pe.set(l,u),l}let Pe=new WeakMap;function lr(e,t){const n=Pe.get(e);return n?(Pe.delete(e),n(t)):Promise.resolve()}function fr(e){A===null&&nn(),Gn(()=>{const t=Ke(e);if(typeof t=="function")return t})}const xr=Object.freeze(Object.defineProperty({__proto__:null,flushSync:yt,hydrate:sr,mount:Ut,onMount:fr,settled:Hn,tick:Un,unmount:lr,untrack:Ke},Symbol.toStringTag,{value:"Module"}));export{vr as $,fr as A,Yr as B,Qt as C,q as D,or as E,$ as F,sr as G,Ut as H,yt as I,$t as J,lr as K,cr as L,Nr as M,lt as N,A as O,mr as P,zn as Q,Ke as R,E as S,ar as T,Se as U,ue as V,hr as W,Er as X,le as Y,j as Z,ur as _,p as a,dr as a0,Be as a1,wr as a2,pr as a3,Fr as a4,Gn as a5,Un as a6,U as a7,Ir as a8,Dr as a9,tn as aa,xr as ab,Hn as ac,G as b,P as c,I as d,T as e,$n as f,ct as g,g as h,Rr as i,An as j,S as k,Ee as l,Jn as m,pn as n,yr as o,Ce as p,Lr as q,Sr as r,Ar as s,Or as t,Tn as u,br as v,Cr as w,Tr as x,gr as y,kr as z};

Xet Storage Details

Size:
30.6 kB
·
Xet hash:
56026a2065d85de03c1fc6a84f16321e80fd259b8a147c3ea94c7d7dd6f8da12

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.