@htmlbricks/hb-skeleton-component 0.66.6 → 0.66.7
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/main.iife.js +4 -4
- package/main.iife.js.map +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(bt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const kn=2,$t="[",yt="[!",Et="[?",xt="]",ye={},T=Symbol(),Tt="http://www.w3.org/1999/xhtml",Sn=!1;var An=Array.isArray,Nn=Array.prototype.indexOf,_e=Array.prototype.includes,Rn=Array.from,je=Object.keys,Ie=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,On=Object.getOwnPropertyDescriptors,Cn=Object.prototype,Dn=Array.prototype,kt=Object.getPrototypeOf,St=Object.isExtensible;const Mn=()=>{};function Pn(e){for(var t=0;t<e.length;t++)e[t]()}function At(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const y=2,pe=4,Le=8,Nt=1<<24,K=16,W=32,X=64,Xe=128,O=512,E=1024,k=2048,H=4096,Z=8192,P=16384,le=32768,Rt=1<<25,Fe=65536,Ot=1<<17,jn=1<<18,oe=1<<19,In=1<<20,fe=65536,Ze=1<<21,Qe=1<<22,Q=1<<23,et=Symbol("$state"),Ln=Symbol("legacy props"),U=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},tt=3,nt=8;function Fn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Bn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Hn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Vn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Yn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Un(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function rt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function zn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let x=!1;function Be(e){x=e}let w;function z(e){if(e===null)throw rt(),ye;return w=e}function it(){return z(se(w))}function Ee(e){if(x){if(se(w)!==null)throw rt(),ye;w=e}}function Jn(e=1){if(x){for(var t=e,n=w;t--;)n=se(n);w=n}}function Gn(e=!0){for(var t=0,n=w;;){if(n.nodeType===nt){var r=n.data;if(r===xt){if(t===0)return n;t-=1}else(r===$t||r===yt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=se(n);e&&n.remove(),n=i}}function Ct(e){return e===this.v}function Kn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Wn(e){return!Kn(e,this.v)}let Xn=!1,j=null;function ge(e){j=e}function Dt(e,t=!1,n){j={p:j,i:!1,c:null,e:null,s:e,x:null,r:p,l:null}}function Mt(e){var t=j,n=t.e;if(n!==null){t.e=null;for(var r of n)gr(r)}return e!==void 0&&(t.x=e),t.i=!0,j=t.p,e??{}}function Pt(){return!0}let ue=[];function jt(){var e=ue;ue=[],Pn(e)}function me(e){if(ue.length===0&&!xe){var t=ue;queueMicrotask(()=>{t===ue&&jt()})}ue.push(e)}function Zn(){for(;ue.length>0;)jt()}function It(e){var t=p;if(t===null)return v.f|=Q,e;if((t.f&le)===0&&(t.f&pe)===0)throw e;ee(e,t)}function ee(e,t){for(;t!==null;){if((t.f&Xe)!==0){if((t.f&le)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Qn=-7169;function $(e,t){e.f=e.f&Qn|t}function st(e){(e.f&O)!==0||e.deps===null?$(e,E):$(e,H)}function Lt(e){if(e!==null)for(const t of e)(t.f&y)===0||(t.f&fe)===0||(t.f^=fe,Lt(t.deps))}function Ft(e,t,n){(e.f&k)!==0?t.add(e):(e.f&H)!==0&&n.add(e),Lt(e.deps),$(e,E)}const te=new Set;let m=null,I=null,lt=null,xe=!1,ot=!1,we=null,He=null;var Bt=0;let er=1;class ne{id=er++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#s=new Map;#f=new Map;#l=null;#t=[];#r=new Set;#i=new Set;#o=new Map;is_fork=!1;#c=!1;#u=new Set;#h(){return this.is_fork||this.#f.size>0}#_(){for(const r of this.#u)for(const i of r.#f.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#o.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#o.has(t)||this.#o.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#o.get(t);if(n){this.#o.delete(t);for(var r of n.d)$(r,k),this.schedule(r);for(r of n.m)$(r,H),this.schedule(r)}}#d(){if(Bt++>1e3&&(te.delete(this),tr()),!this.#h()){for(const l of this.#r)this.#i.delete(l),$(l,k),this.schedule(l);for(const l of this.#i)$(l,H),this.schedule(l)}const t=this.#t;this.#t=[],this.apply();var n=we=[],r=[],i=He=[];for(const l of t)try{this.#a(l,n,r)}catch(u){throw Ut(l),u}if(m=null,i.length>0){var s=ne.ensure();for(const l of i)s.schedule(l)}if(we=null,He=null,this.#h()||this.#_()){this.#v(r),this.#v(n);for(const[l,u]of this.#o)qt(l,u)}else{this.#s.size===0&&te.delete(this),this.#r.clear(),this.#i.clear();for(const l of this.#e)l(this);this.#e.clear(),Ht(r),Ht(n),this.#l?.resolve()}var o=m;if(this.#t.length>0){const l=o??=this;l.#t.push(...this.#t.filter(u=>!l.#t.includes(u)))}o!==null&&(te.add(o),o.#d()),te.has(this)||this.#p()}#a(t,n,r){t.f^=E;for(var i=t.first;i!==null;){var s=i.f,o=(s&(W|X))!==0,l=o&&(s&E)!==0,u=l||(s&Z)!==0||this.#o.has(i);if(!u&&i.fn!==null){o?i.f^=E:(s&pe)!==0?n.push(i):Oe(i)&&((s&K)!==0&&this.#i.add(i),$e(i));var f=i.first;if(f!==null){i=f;continue}}for(;i!==null;){var a=i.next;if(a!==null){i=a;break}i=i.parent}}}#v(t){for(var n=0;n<t.length;n+=1)Ft(t[n],this.#r,this.#i)}capture(t,n,r=!1){n!==T&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&Q)===0&&(this.current.set(t,[t.v,r]),I?.set(t,t.v))}activate(){m=this}deactivate(){m=null,I=null}flush(){try{ot=!0,m=this,this.#d()}finally{Bt=0,lt=null,we=null,He=null,ot=!1,m=null,I=null,re.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),te.delete(this)}#p(){for(const f of te){var t=f.id<this.id,n=[];for(const[a,[h,c]]of this.current){if(f.current.has(a)){var r=f.current.get(a)[0];if(t&&h!==r)f.current.set(a,[h,c]);else continue}n.push(a)}var i=[...f.current.keys()].filter(a=>!this.current.has(a));if(i.length===0)t&&f.discard();else if(n.length>0){f.activate();var s=new Set,o=new Map;for(var l of n)Vt(l,i,s,o);if(f.#t.length>0){f.apply();for(var u of f.#t)f.#a(u,[],[]);f.#t=[]}f.deactivate()}}for(const f of te)f.#u.has(this)&&(f.#u.delete(this),f.#u.size===0&&!f.#h()&&(f.activate(),f.#d()))}increment(t,n){let r=this.#s.get(n)??0;if(this.#s.set(n,r+1),t){let i=this.#f.get(n)??0;this.#f.set(n,i+1)}}decrement(t,n,r){let i=this.#s.get(n)??0;if(i===1?this.#s.delete(n):this.#s.set(n,i-1),t){let s=this.#f.get(n)??0;s===1?this.#f.delete(n):this.#f.set(n,s-1)}this.#c||r||(this.#c=!0,me(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#r.add(r);for(const r of n)this.#i.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#l??=At()).promise}static ensure(){if(m===null){const t=m=new ne;ot||(te.add(m),xe||me(()=>{m===t&&t.flush()}))}return m}apply(){{I=null;return}}schedule(t){if(lt=t,t.b?.is_pending&&(t.f&(pe|Le|Nt))!==0&&(t.f&le)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(we!==null&&n===p&&(v===null||(v.f&y)===0))return;if((r&(X|W))!==0){if((r&E)===0)return;n.f^=E}}this.#t.push(n)}}function Te(e){var t=xe;xe=!0;try{for(var n;;){if(Zn(),m===null)return n;m.flush()}}finally{xe=t}}function tr(){try{Bn()}catch(e){ee(e,lt)}}let J=null;function Ht(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(P|Z))===0&&Oe(r)&&(J=new Set,$e(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&ln(r),J?.size>0)){re.clear();for(const i of J){if((i.f&(P|Z))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)J.has(o)&&(J.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const u=s[l];(u.f&(P|Z))===0&&$e(u)}}J.clear()}}J=null}}function Vt(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&y)!==0?Vt(i,t,n,r):(s&(Qe|K))!==0&&(s&k)===0&&Yt(i,t,r)&&($(i,k),ft(i))}}function Yt(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(_e.call(t,i))return!0;if((i.f&y)!==0&&Yt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ft(e){m.schedule(e)}function qt(e,t){if(!((e.f&W)!==0&&(e.f&E)!==0)){(e.f&k)!==0?t.d.push(e):(e.f&H)!==0&&t.m.push(e),$(e,E);for(var n=e.first;n!==null;)qt(n,t),n=n.next}}function Ut(e){$(e,E);for(var t=e.first;t!==null;)Ut(t),t=t.next}function nr(e){let t=0,n=ke(0),r;return()=>{vt()&&(A(n),rn(()=>(t===0&&(r=Nr(()=>e(()=>Se(n)))),t+=1,()=>{me(()=>{t-=1,t===0&&(r?.(),r=void 0,Se(n))})})))}}var rr=Fe|oe;function ir(e,t,n,r){new sr(e,t,n,r)}class sr{parent;is_pending=!1;transform_error;#e;#n=x?w:null;#s;#f;#l;#t=null;#r=null;#i=null;#o=null;#c=0;#u=0;#h=!1;#_=new Set;#d=new Set;#a=null;#v=nr(()=>(this.#a=ke(this.#c),()=>{this.#a=null}));constructor(t,n,r,i){this.#e=t,this.#s=n,this.#f=s=>{var o=p;o.b=this,o.f|=Xe,r(s)},this.parent=p.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#l=Er(()=>{if(x){const s=this.#n;it();const o=s.data===yt;if(s.data.startsWith(Et)){const u=JSON.parse(s.data.slice(Et.length));this.#$(u)}else o?this.#y():this.#p()}else this.#w()},rr),x&&(this.#e=w)}#p(){try{this.#t=ae(()=>this.#f(this.#e))}catch(t){this.error(t)}}#$(t){const n=this.#s.failed;n&&(this.#i=ae(()=>{n(this.#e,()=>t,()=>()=>{})}))}#y(){const t=this.#s.pending;t&&(this.is_pending=!0,this.#r=ae(()=>t(this.#e)),me(()=>{var n=this.#o=document.createDocumentFragment(),r=be();n.append(r),this.#t=this.#m(()=>ae(()=>this.#f(r))),this.#u===0&&(this.#e.before(n),this.#o=null,Ue(this.#r,()=>{this.#r=null}),this.#g(m))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#c=0,this.#t=ae(()=>{this.#f(this.#e)}),this.#u>0){var t=this.#o=document.createDocumentFragment();kr(this.#t,t);const n=this.#s.pending;this.#r=ae(()=>n(this.#e))}else this.#g(m)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#_,this.#d)}defer_effect(t){Ft(t,this.#_,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#s.pending}#m(t){var n=p,r=v,i=j;Y(this.#l),C(this.#l),ge(this.#l.ctx);try{return ne.ensure(),t()}catch(s){return It(s),null}finally{Y(n),C(r),ge(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#u+=t,this.#u===0&&(this.#g(n),this.#r&&Ue(this.#r,()=>{this.#r=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#a||this.#h)&&(this.#h=!0,me(()=>{this.#h=!1,this.#a&&Ye(this.#a,this.#c)}))}get_effect_pending(){return this.#v(),A(this.#a)}error(t){var n=this.#s.onerror;let r=this.#s.failed;if(!n&&!r)throw t;this.#t&&(L(this.#t),this.#t=null),this.#r&&(L(this.#r),this.#r=null),this.#i&&(L(this.#i),this.#i=null),x&&(z(this.#n),Jn(),z(Gn()));var i=!1,s=!1;const o=()=>{if(i){zn();return}i=!0,s&&Un(),this.#i!==null&&Ue(this.#i,()=>{this.#i=null}),this.#m(()=>{this.#w()})},l=u=>{try{s=!0,n?.(u,o),s=!1}catch(f){ee(f,this.#l&&this.#l.parent)}r&&(this.#i=this.#m(()=>{try{return ae(()=>{var f=p;f.b=this,f.f|=Xe,r(this.#e,()=>u,()=>o)})}catch(f){return ee(f,this.#l.parent),null}}))};me(()=>{var u;try{u=this.transform_error(t)}catch(f){ee(f,this.#l&&this.#l.parent);return}u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(l,f=>ee(f,this.#l&&this.#l.parent)):l(u)})}}function lr(e,t,n,r){const i=ut;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var o=p,l=or(),u=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function f(c){l();try{r(c)}catch(_){(o.f&P)===0&&ee(_,o)}Ve()}if(n.length===0){u.then(()=>f(t.map(i)));return}var a=zt();function h(){Promise.all(n.map(c=>fr(c))).then(c=>f([...t.map(i),...c])).catch(c=>ee(c,o)).finally(()=>a())}u?u.then(()=>{l(),h(),Ve()}):h()}function or(){var e=p,t=v,n=j,r=m;return function(s=!0){Y(e),C(t),ge(n),s&&(e.f&P)===0&&(r?.activate(),r?.apply())}}function Ve(e=!0){Y(null),C(null),ge(null),e&&m?.deactivate()}function zt(){var e=p,t=e.b,n=m,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function ut(e){var t=y|k,n=v!==null&&(v.f&y)!==0?v:null;return p!==null&&(p.f|=oe),{ctx:j,deps:null,effects:null,equals:Ct,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??p,ac:null}}function fr(e,t,n){let r=p;r===null&&Fn();var i=void 0,s=ke(T),o=!v,l=new Map;return $r(()=>{var u=p,f=At();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(Ve)}catch(_){f.reject(_),Ve()}var a=m;if(o){if((u.f&le)!==0)var h=zt();if(r.b.is_rendered())l.get(a)?.reject(U),l.delete(a);else{for(const _ of l.values())_.reject(U);l.clear()}l.set(a,f)}const c=(_,d=void 0)=>{if(h){var g=d===U;h(g)}if(!(d===U||(u.f&P)!==0)){if(a.activate(),d)s.f|=Q,Ye(s,d);else{(s.f&Q)!==0&&(s.f^=Q),Ye(s,_);for(const[b,R]of l){if(l.delete(b),b===a)break;R.reject(U)}}a.deactivate()}};f.promise.then(c,_=>c(null,_||"unknown"))}),pr(()=>{for(const u of l.values())u.reject(U)}),new Promise(u=>{function f(a){function h(){a===i?u(s):f(i)}a.then(h,h)}f(i)})}function at(e){const t=ut(e);return un(t),t}function ur(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function ar(e){for(var t=e.parent;t!==null;){if((t.f&y)===0)return(t.f&P)===0?t:null;t=t.parent}return null}function ct(e){var t,n=p;Y(ar(e));try{e.f&=~fe,ur(e),t=_n(e)}finally{Y(n)}return t}function Jt(e){var t=e.v,n=ct(e);if(!e.equals(n)&&(e.wv=hn(),(!m?.is_fork||e.deps===null)&&(e.v=n,m?.capture(e,t,!0),e.deps===null))){$(e,E);return}ce||(I!==null?(vt()||m?.is_fork)&&I.set(e,n):st(e))}function cr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(U),t.teardown=Mn,t.ac=null,Ce(t,0),pt(t))}function Gt(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&$e(t)}let ht=new Set;const re=new Map;let Kt=!1;function ke(e,t){var n={f:0,v:e,reactions:null,equals:Ct,rv:0,wv:0};return n}function ie(e,t){const n=ke(e);return un(n),n}function hr(e,t=!1,n=!0){const r=ke(e);return t||(r.equals=Wn),r}function G(e,t,n=!1){v!==null&&(!F||(v.f&Ot)!==0)&&Pt()&&(v.f&(y|K|Qe|Ot))!==0&&(D===null||!_e.call(D,e))&&qn();let r=n?Ae(t):t;return Ye(e,r,He)}function Ye(e,t,n=null){if(!e.equals(t)){var r=e.v;ce?re.set(e,t):re.set(e,r),e.v=t;var i=ne.ensure();if(i.capture(e,r),(e.f&y)!==0){const s=e;(e.f&k)!==0&&ct(s),I===null&&st(s)}e.wv=hn(),Wt(e,k,n),p!==null&&(p.f&E)!==0&&(p.f&(W|X))===0&&(M===null?Sr([e]):M.push(e)),!i.is_fork&&ht.size>0&&!Kt&&dr()}return t}function dr(){Kt=!1;for(const e of ht)(e.f&E)!==0&&$(e,H),Oe(e)&&$e(e);ht.clear()}function Se(e){G(e,e.v+1)}function Wt(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,u=(l&k)===0;if(u&&$(o,t),(l&y)!==0){var f=o;I?.delete(f),(l&fe)===0&&(l&O&&(o.f|=fe),Wt(f,H,n))}else if(u){var a=o;(l&K)!==0&&J!==null&&J.add(a),n!==null?n.push(a):ft(a)}}}function Ae(e){if(typeof e!="object"||e===null||et in e)return e;const t=kt(e);if(t!==Cn&&t!==Dn)return e;var n=new Map,r=An(e),i=ie(0),s=de,o=l=>{if(de===s)return l();var u=v,f=de;C(null),cn(s);var a=l();return C(u),cn(f),a};return r&&n.set("length",ie(e.length)),new Proxy(e,{defineProperty(l,u,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Vn();var a=n.get(u);return a===void 0?o(()=>{var h=ie(f.value);return n.set(u,h),h}):G(a,f.value,!0),!0},deleteProperty(l,u){var f=n.get(u);if(f===void 0){if(u in l){const a=o(()=>ie(T));n.set(u,a),Se(i)}}else G(f,T),Se(i);return!0},get(l,u,f){if(u===et)return e;var a=n.get(u),h=u in l;if(a===void 0&&(!h||ve(l,u)?.writable)&&(a=o(()=>{var _=Ae(h?l[u]:T),d=ie(_);return d}),n.set(u,a)),a!==void 0){var c=A(a);return c===T?void 0:c}return Reflect.get(l,u,f)},getOwnPropertyDescriptor(l,u){var f=Reflect.getOwnPropertyDescriptor(l,u);if(f&&"value"in f){var a=n.get(u);a&&(f.value=A(a))}else if(f===void 0){var h=n.get(u),c=h?.v;if(h!==void 0&&c!==T)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(l,u){if(u===et)return!0;var f=n.get(u),a=f!==void 0&&f.v!==T||Reflect.has(l,u);if(f!==void 0||p!==null&&(!a||ve(l,u)?.writable)){f===void 0&&(f=o(()=>{var c=a?Ae(l[u]):T,_=ie(c);return _}),n.set(u,f));var h=A(f);if(h===T)return!1}return a},set(l,u,f,a){var h=n.get(u),c=u in l;if(r&&u==="length")for(var _=f;_<h.v;_+=1){var d=n.get(_+"");d!==void 0?G(d,T):_ in l&&(d=o(()=>ie(T)),n.set(_+"",d))}if(h===void 0)(!c||ve(l,u)?.writable)&&(h=o(()=>ie(void 0)),G(h,Ae(f)),n.set(u,h));else{c=h.v!==T;var g=o(()=>Ae(f));G(h,g)}var b=Reflect.getOwnPropertyDescriptor(l,u);if(b?.set&&b.set.call(a,f),!c){if(r&&typeof u=="string"){var R=n.get("length"),q=Number(u);Number.isInteger(q)&&q>=R.v&&G(R,q+1)}Se(i)}return!0},ownKeys(l){A(i);var u=Reflect.ownKeys(l).filter(h=>{var c=n.get(h);return c===void 0||c.v!==T});for(var[f,a]of n)a.v!==T&&!(f in l)&&u.push(f);return u},setPrototypeOf(){Yn()}})}var Xt,Zt,Qt,en;function dt(){if(Xt===void 0){Xt=window,Zt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Qt=ve(t,"firstChild").get,en=ve(t,"nextSibling").get,St(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),St(n)&&(n.__t=void 0)}}function be(e=""){return document.createTextNode(e)}function qe(e){return Qt.call(e)}function se(e){return en.call(e)}function Ne(e,t){if(!x)return qe(e);var n=qe(w);return n===null&&(n=w.appendChild(be())),z(n),n}function Re(e,t=1,n=!1){let r=x?w:e;for(var i;t--;)i=r,r=se(r);if(!x)return r;if(n){if(r?.nodeType!==tt){var s=be();return r===null?i?.after(s):r.before(s),z(s),s}tn(r)}return z(r),r}function _r(e){e.textContent=""}function _t(e,t,n){return document.createElementNS(Tt,e,void 0)}function tn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===tt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function nn(e){var t=v,n=p;C(null),Y(null);try{return e()}finally{C(t),Y(n)}}function vr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function V(e,t){var n=p;n!==null&&(n.f&Z)!==0&&(e|=Z);var r={ctx:j,deps:null,nodes:null,f:e|k|O,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&pe)!==0)we!==null?we.push(r):ne.ensure().schedule(r);else if(t!==null){try{$e(r)}catch(o){throw L(r),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&oe)===0&&(i=i.first,(e&K)!==0&&(e&Fe)!==0&&i!==null&&(i.f|=Fe))}if(i!==null&&(i.parent=n,n!==null&&vr(i,n),v!==null&&(v.f&y)!==0&&(e&X)===0)){var s=v;(s.effects??=[]).push(i)}return r}function vt(){return v!==null&&!F}function pr(e){const t=V(Le,null);return $(t,E),t.teardown=e,t}function gr(e){return V(pe|In,e)}function mr(e){ne.ensure();const t=V(X|oe,e);return()=>{L(t)}}function wr(e){ne.ensure();const t=V(X|oe,e);return(n={})=>new Promise(r=>{n.outro?Ue(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function br(e){return V(pe,e)}function $r(e){return V(Qe|oe,e)}function rn(e,t=0){return V(Le|t,e)}function yr(e,t=[],n=[],r=[]){lr(r,t,n,i=>{V(Le,()=>e(...i.map(A)))})}function Er(e,t=0){var n=V(K|t,e);return n}function ae(e){return V(W|oe,e)}function sn(e){var t=e.teardown;if(t!==null){const n=ce,r=v;fn(!0),C(null);try{t.call(null)}finally{fn(n),C(r)}}}function pt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&nn(()=>{i.abort(U)});var r=n.next;(n.f&X)!==0?n.parent=null:L(n,t),n=r}}function xr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&W)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&jn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Tr(e.nodes.start,e.nodes.end),n=!0),$(e,Rt),pt(e,t&&!n),Ce(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();sn(e),e.f^=Rt,e.f|=P;var i=e.parent;i!==null&&i.first!==null&&ln(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Tr(e,t){for(;e!==null;){var n=e===t?null:se(e);e.remove(),e=n}}function ln(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 Ue(e,t,n=!0){var r=[];on(e,r,!0);var i=()=>{n&&L(e),t&&t()},s=r.length;if(s>0){var o=()=>--s||i();for(var l of r)l.out(o)}else i()}function on(e,t,n){if((e.f&Z)===0){e.f^=Z;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&Fe)!==0||(i.f&W)!==0&&(e.f&K)!==0;on(i,t,o?n:!1),i=s}}}function kr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:se(n);t.append(n),n=i}}let ze=!1,ce=!1;function fn(e){ce=e}let v=null,F=!1;function C(e){v=e}let p=null;function Y(e){p=e}let D=null;function un(e){v!==null&&(D===null?D=[e]:D.push(e))}let S=null,N=0,M=null;function Sr(e){M=e}let an=1,he=0,de=he;function cn(e){de=e}function hn(){return++an}function Oe(e){var t=e.f;if((t&k)!==0)return!0;if(t&y&&(e.f&=~fe),(t&H)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(Oe(s)&&Jt(s),s.wv>e.wv)return!0}(t&O)!==0&&I===null&&$(e,E)}return!1}function dn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(D!==null&&_e.call(D,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&y)!==0?dn(s,t,!1):t===s&&(n?$(s,k):(s.f&E)!==0&&$(s,H),ft(s))}}function _n(e){var t=S,n=N,r=M,i=v,s=D,o=j,l=F,u=de,f=e.f;S=null,N=0,M=null,v=(f&(W|X))===0?e:null,D=null,ge(e.ctx),F=!1,de=++he,e.ac!==null&&(nn(()=>{e.ac.abort(U)}),e.ac=null);try{e.f|=Ze;var a=e.fn,h=a();e.f|=le;var c=e.deps,_=m?.is_fork;if(S!==null){var d;if(_||Ce(e,N),c!==null&&N>0)for(c.length=N+S.length,d=0;d<S.length;d++)c[N+d]=S[d];else e.deps=c=S;if(vt()&&(e.f&O)!==0)for(d=N;d<c.length;d++)(c[d].reactions??=[]).push(e)}else!_&&c!==null&&N<c.length&&(Ce(e,N),c.length=N);if(Pt()&&M!==null&&!F&&c!==null&&(e.f&(y|H|k))===0)for(d=0;d<M.length;d++)dn(M[d],e);if(i!==null&&i!==e){if(he++,i.deps!==null)for(let g=0;g<n;g+=1)i.deps[g].rv=he;if(t!==null)for(const g of t)g.rv=he;M!==null&&(r===null?r=M:r.push(...M))}return(e.f&Q)!==0&&(e.f^=Q),h}catch(g){return It(g)}finally{e.f^=Ze,S=t,N=n,M=r,v=i,D=s,ge(o),F=l,de=u}}function Ar(e,t){let n=t.reactions;if(n!==null){var r=Nn.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&y)!==0&&(S===null||!_e.call(S,t))){var s=t;(s.f&O)!==0&&(s.f^=O,s.f&=~fe),st(s),cr(s),Ce(s,0)}}function Ce(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ar(e,n[r])}function $e(e){var t=e.f;if((t&P)===0){$(e,E);var n=p,r=ze;p=e,ze=!0;try{(t&(K|Nt))!==0?xr(e):pt(e),sn(e);var i=_n(e);e.teardown=typeof i=="function"?i:null,e.wv=an;var s;Sn&&Xn&&(e.f&k)!==0&&e.deps}finally{ze=r,p=n}}}function A(e){var t=e.f,n=(t&y)!==0;if(v!==null&&!F){var r=p!==null&&(p.f&P)!==0;if(!r&&(D===null||!_e.call(D,e))){var i=v.deps;if((v.f&Ze)!==0)e.rv<he&&(e.rv=he,S===null&&i!==null&&i[N]===e?N++:S===null?S=[e]:S.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:_e.call(s,v)||s.push(v)}}}if(ce&&re.has(e))return re.get(e);if(n){var o=e;if(ce){var l=o.v;return((o.f&E)===0&&o.reactions!==null||pn(o))&&(l=ct(o)),re.set(o,l),l}var u=(o.f&O)===0&&!F&&v!==null&&(ze||(v.f&O)!==0),f=(o.f&le)===0;Oe(o)&&(u&&(o.f|=O),Jt(o)),u&&!f&&(Gt(o),vn(o))}if(I?.has(e))return I.get(e);if((e.f&Q)!==0)throw e.v;return e.v}function vn(e){if(e.f|=O,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&y)!==0&&(t.f&O)===0&&(Gt(t),vn(t))}function pn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(re.has(t)||(t.f&y)!==0&&pn(t))return!0;return!1}function Nr(e){var t=F;try{return F=!0,e()}finally{F=t}}const De=Symbol("events"),gn=new Set,gt=new Set;function Rr(e,t,n){(t[De]??={})[e]=n}function Or(e){for(var t=0;t<e.length;t++)gn.add(e[t]);for(var n of gt)n(e)}let mn=null;function wn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;mn=e;var o=0,l=mn===e&&e[De];if(l){var u=i.indexOf(l);if(u!==-1&&(t===document||t===window)){e[De]=t;return}var f=i.indexOf(t);if(f===-1)return;u<=f&&(o=u)}if(s=i[o]||e.target,s!==t){Ie(e,"currentTarget",{configurable:!0,get(){return s||n}});var a=v,h=p;C(null),Y(null);try{for(var c,_=[];s!==null;){var d=s.assignedSlot||s.parentNode||s.host||null;try{var g=s[De]?.[r];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(b){c?_.push(b):c=b}if(e.cancelBubble||d===t||d===null)break;s=d}if(c){for(let b of _)queueMicrotask(()=>{throw b});throw c}}finally{e[De]=t,delete e.currentTarget,C(a),Y(h)}}}const Cr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Dr(e){return Cr?.createHTML(e)??e}function Mr(e){var t=_t("template");return t.innerHTML=Dr(e.replaceAll("<!>","<!---->")),t.content}function Me(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Pr(e,t){var n=(t&kn)!==0,r,i=!e.startsWith("<!>");return()=>{if(x)return Me(w,null),w;r===void 0&&(r=Mr(i?e:"<!>"+e),r=qe(r));var s=n||Zt?document.importNode(r,!0):r.cloneNode(!0);return Me(s,s),s}}function jr(e=""){if(!x){var t=be(e+"");return Me(t,t),t}var n=w;return n.nodeType!==tt?(n.before(n=be()),z(n)):tn(n),Me(n,n),n}function mt(e,t){if(x){var n=p;((n.f&le)===0||n.nodes.end===null)&&(n.nodes.end=w),it();return}e!==null&&e.before(t)}const Ir=["touchstart","touchmove"];function Lr(e){return Ir.includes(e)}function Je(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function bn(e,t){return $n(e,t)}function Fr(e,t){dt(),t.intro=t.intro??!1;const n=t.target,r=x,i=w;try{for(var s=qe(n);s&&(s.nodeType!==nt||s.data!==$t);)s=se(s);if(!s)throw ye;Be(!0),z(s);const o=$n(e,{...t,anchor:s});return Be(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
-
`).some(
|
|
1
|
+
(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,g=()=>{};function _(e){for(var t=0;t<e.length;t++)e[t]()}function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var y=1024,b=2048,ee=4096,te=8192,ne=16384,re=32768,ie=1<<25,ae=65536,oe=1<<19,se=1<<20,ce=65536,le=1<<21,ue=1<<22,de=1<<23,fe=Symbol(`$state`),pe=Symbol(`legacy props`),me=Symbol(``),x=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},he=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function ge(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function _e(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function ve(){throw Error(`https://svelte.dev/e/hydration_failed`)}function ye(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function be(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function xe(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Se(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Ce(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function we(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Te(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var S=!1;function Ee(e){S=e}var C;function w(e){if(e===null)throw we(),t;return C=e}function De(){return w(R(C))}function Oe(e){if(S){if(R(C)!==null)throw we(),t;C=e}}function ke(e=1){if(S){for(var t=e,n=C;t--;)n=R(n);C=n}}function Ae(e=!0){for(var t=0,n=C;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=R(n);e&&n.remove(),n=i}}function je(e){return e===this.v}function Me(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Ne(e){return!Me(e,this.v)}var T=!1,Pe=!1,E=null;function Fe(e){E=e}function Ie(e,t=!1,n){E={p:E,i:!1,c:null,e:null,s:e,x:null,r:K,l:Pe&&!t?{s:null,u:null,$:[]}:null}}function Le(e){var t=E,n=t.e;if(n!==null){t.e=null;for(var r of n)en(r)}return e!==void 0&&(t.x=e),t.i=!0,E=t.p,e??{}}function Re(){return!Pe||E!==null&&E.l===null}var D=[];function ze(){var e=D;D=[],_(e)}function Be(e){if(D.length===0&&!Ze){var t=D;queueMicrotask(()=>{t===D&&ze()})}D.push(e)}function Ve(){for(;D.length>0;)ze()}function He(e){var t=K;if(t===null)return U.f|=de,e;if(!(t.f&32768)&&!(t.f&4))throw e;O(e,t)}function O(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Ue=~(b|ee|y);function k(e,t){e.f=e.f&Ue|t}function We(e){e.f&512||e.deps===null?k(e,y):k(e,ee)}function Ge(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=ce,Ge(t.deps))}function Ke(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Ge(e.deps),k(e,y)}var qe=!1,Je=!1;function Ye(e){var t=Je;try{return Je=!1,[e(),Je]}finally{Je=t}}var A=new Set,j=null,M=null,Xe=null,Ze=!1,Qe=!1,$e=null,et=null,tt=0,nt=1,rt=class e{id=nt++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)k(n,b),this.schedule(n);for(n of t.m)k(n,ee),this.schedule(n)}}#p(){if(tt++>1e3&&(A.delete(this),at()),!this.#d()){for(let e of this.#o)this.#s.delete(e),k(e,b),this.schedule(e);for(let e of this.#s)k(e,ee),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=$e=[],r=[],i=et=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw dt(e),t}if(j=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if($e=null,et=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)ut(e,t)}else{this.#n.size===0&&A.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),ot(r),ot(n),this.#i?.resolve()}var o=j;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(A.add(o),o.#p()),A.has(this)||this.#g()}#m(e,t,n){e.f^=y;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=y:i&4?t.push(r):T&&i&16777224?n.push(r):En(r)&&(i&16&&this.#s.add(r),jn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)Ke(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),M?.set(e,e.v))}activate(){j=this}deactivate(){j=null,M=null}flush(){try{Qe=!0,j=this,this.#p()}finally{tt=0,Xe=null,$e=null,et=null,Qe=!1,j=null,M=null,P.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),A.delete(this)}#g(){for(let c of A){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)st(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of A)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,Be(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=v()).promise}static ensure(){if(j===null){let t=j=new e;Qe||(A.add(j),Ze||Be(()=>{j===t&&t.flush()}))}return j}apply(){if(!T||!this.is_fork&&A.size===1){M=null;return}M=new Map;for(let[e,[t]]of this.current)M.set(e,t);for(let n of A)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)M.has(e)||M.set(e,t)}}schedule(e){if(Xe=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if($e!==null&&t===K&&(T||(U===null||!(U.f&2))&&!qe))return;if(n&96){if(!(n&1024))return;t.f^=y}}this.#a.push(t)}};function it(e){var t=Ze;Ze=!0;try{var n;for(e&&(j!==null&&!j.is_fork&&j.flush(),n=e());;){if(Ve(),j===null)return n;j.flush()}}finally{Ze=t}}function at(){try{_e()}catch(e){O(e,Xe)}}var N=null;function ot(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&En(r)&&(N=new Set,jn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&pn(r),N?.size>0)){P.clear();for(let e of N){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)N.has(n)&&(N.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||jn(n)}}N.clear()}}N=null}}function st(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?st(i,t,n,r):e&4194320&&!(e&2048)&&ct(i,t,r)&&(k(i,b),lt(i))}}function ct(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(o.call(t,r))return!0;if(r.f&2&&ct(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function lt(e){j.schedule(e)}function ut(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),k(e,y);for(var n=e.first;n!==null;)ut(n,t),n=n.next}}function dt(e){k(e,y);for(var t=e.first;t!==null;)dt(t),t=t.next}function ft(e){let t=0,n=Mt(0),r;return()=>{Qt()&&($(n),on(()=>(t===0&&(r=Pn(()=>e(()=>It(n)))),t+=1,()=>{Be(()=>{--t,t===0&&(r?.(),r=void 0,It(n))})})))}}var pt=ae|oe;function mt(e,t,n,r){new ht(e,t,n,r)}var ht=class{parent;is_pending=!1;transform_error;#e;#t=S?C:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=ft(()=>(this.#m=Mt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=K;t.b=this,t.f|=128,n(e)},this.parent=K.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=cn(()=>{if(S){let e=this.#t;De();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},pt),S&&(this.#e=C)}#g(){try{this.#a=B(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=B(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=B(()=>e(this.#e)),Be(()=>{var e=this.#c=document.createDocumentFragment(),t=L();e.append(t),this.#a=this.#x(()=>B(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,mn(this.#o,()=>{this.#o=null}),this.#b(j))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=B(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();gn(this.#a,e);let t=this.#n.pending;this.#o=B(()=>t(this.#e))}else this.#b(j)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Ke(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=K,n=U,r=E;q(this.#i),G(this.#i),Fe(this.#i.ctx);try{return rt.ensure(),e()}catch(e){return He(e),null}finally{q(t),G(n),Fe(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&mn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,Be(()=>{this.#d=!1,this.#m&&Pt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),$(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),S&&(w(this.#t),ke(),w(Ae()));var r=!1,i=!1;let a=()=>{if(r){Te();return}r=!0,i&&Ce(),this.#s!==null&&mn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){O(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return B(()=>{var t=K;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return O(e,this.#i.parent),null}}))};Be(()=>{var t;try{t=this.transform_error(e)}catch(e){O(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>O(e,this.#i&&this.#i.parent)):o(t)})}};function gt(e,t,n,r){let i=Re()?bt:Ct;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=K,s=_t(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||O(e,o)}vt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=yt();function d(){Promise.all(n.map(e=>xt(e))).then(e=>l([...t.map(i),...e])).catch(e=>O(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),vt()}):d()}function _t(){var e=K,t=U,n=E,r=j;return function(i=!0){q(e),G(t),Fe(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function vt(e=!0){q(null),G(null),Fe(null),e&&j?.deactivate()}function yt(){var e=K,t=e.b,n=j,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function bt(e){var t=2|b,r=U!==null&&U.f&2?U:null;return K!==null&&(K.f|=oe),{ctx:E,deps:null,effects:null,equals:je,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??K,ac:null}}function xt(e,t,r){let i=K;i===null&&ge();var a=void 0,o=Mt(n),s=!U,c=new Map;return an(()=>{var t=K,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(vt)}catch(e){n.reject(e),vt()}var r=j;if(s){if(t.f&32768)var l=yt();if(i.b.is_rendered())c.get(r)?.reject(x),c.delete(r);else{for(let e of c.values())e.reject(x);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===x),!(n===x||t.f&16384)){if(r.activate(),n)o.f|=de,Pt(o,n);else{o.f&8388608&&(o.f^=de),Pt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(x)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),$t(()=>{for(let e of c.values())e.reject(x)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function St(e){let t=bt(e);return T||bn(t),t}function Ct(e){let t=bt(e);return t.equals=Ne,t}function wt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function Tt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Et(e){var t,n=K;q(Tt(e));try{e.f&=~ce,wt(e),t=On(e)}finally{q(n)}return t}function Dt(e){var t=e.v,n=Et(e);if(!e.equals(n)&&(e.wv=Tn(),(!j?.is_fork||e.deps===null)&&(e.v=n,j?.capture(e,t,!0),e.deps===null))){k(e,y);return}H||(M===null?We(e):(Qt()||j?.is_fork)&&M.set(e,n))}function Ot(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(x),t.teardown=g,t.ac=null,An(t,0),un(t))}function kt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&jn(t)}var At=new Set,P=new Map,jt=!1;function Mt(e,t){return{f:0,v:e,reactions:null,equals:je,rv:0,wv:0}}function F(e,t){let n=Mt(e,t);return bn(n),n}function Nt(e,t=!1,n=!0){let r=Mt(e);return t||(r.equals=Ne),Pe&&n&&E!==null&&E.l!==null&&(E.l.s??=[]).push(r),r}function I(e,t,n=!1){return U!==null&&(!W||U.f&131072)&&Re()&&U.f&4325394&&(J===null||!o.call(J,e))&&Se(),Pt(e,n?Rt(t):t,et)}function Pt(e,t,n=null){if(!e.equals(t)){var r=e.v;H?P.set(e,t):P.set(e,r),e.v=t;var i=rt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Et(t),M===null&&We(t)}e.wv=Tn(),Lt(e,b,n),Re()&&K!==null&&K.f&1024&&!(K.f&96)&&(Z===null?xn([e]):Z.push(e)),!i.is_fork&&At.size>0&&!jt&&Ft()}return t}function Ft(){jt=!1;for(let e of At)e.f&1024&&k(e,ee),En(e)&&jn(e);At.clear()}function It(e){I(e,e.v+1)}function Lt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Re(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===K)){var l=(c&b)===0;if(l&&k(s,t),c&2){var u=s;M?.delete(u),c&65536||(c&512&&(s.f|=ce),Lt(u,ee,n))}else if(l){var d=s;c&16&&N!==null&&N.add(d),n===null?lt(d):n.push(d)}}}}function Rt(e){if(typeof e!=`object`||!e||fe in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=F(0),s=null,c=Q,l=e=>{if(Q===c)return e();var t=U,n=Q;G(null),wn(c);var r=e();return G(t),wn(n),r};return a&&r.set(`length`,F(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&be();var i=r.get(t);return i===void 0?l(()=>{var e=F(n.value,s);return r.set(t,e),e}):I(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>F(n,s));r.set(t,e),It(o)}}else I(i,n),It(o);return!0},get(t,i,a){if(i===fe)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>F(Rt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=$(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=$(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===fe)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||K!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>F(a?Rt(e[t]):n,s)),r.set(t,i)),$(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>F(n,s)),r.set(p+``,m)):I(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>F(void 0,s)),I(d,Rt(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>Rt(i));I(d,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,i),!f){if(a&&typeof t==`string`){var _=r.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&I(_,v+1)}It(o)}return!0},ownKeys(e){$(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){xe()}})}var zt,Bt,Vt,Ht;function Ut(){if(zt===void 0){zt=window,Bt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Vt=u(t,`firstChild`).get,Ht=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function L(e=``){return document.createTextNode(e)}function Wt(e){return Vt.call(e)}function R(e){return Ht.call(e)}function Gt(e,t){if(!S)return Wt(e);var n=Wt(C);if(n===null)n=C.appendChild(L());else if(t&&n.nodeType!==3){var r=L();return n?.before(r),w(r),r}return t&&Yt(n),w(n),n}function Kt(e,t=1,n=!1){let r=S?C:e;for(var i;t--;)i=r,r=R(r);if(!S)return r;if(n){if(r?.nodeType!==3){var a=L();return r===null?i?.after(a):r.before(a),w(a),a}Yt(r)}return w(r),r}function qt(e){e.textContent=``}function Jt(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function Yt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Xt(e){var t=U,n=K;G(null),q(null);try{return e()}finally{G(t),q(n)}}function Zt(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function z(e,t){var n=K;n!==null&&n.f&8192&&(e|=te);var r={ctx:E,deps:null,nodes:null,f:e|b|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)$e===null?rt.ensure().schedule(r):$e.push(r);else if(t!==null){try{jn(r)}catch(e){throw V(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ae))}if(i!==null&&(i.parent=n,n!==null&&Zt(i,n),U!==null&&U.f&2&&!(e&64))){var a=U;(a.effects??=[]).push(i)}return r}function Qt(){return U!==null&&!W}function $t(e){let t=z(8,null);return k(t,y),t.teardown=e,t}function en(e){return z(4|se,e)}function tn(e){rt.ensure();let t=z(64|oe,e);return()=>{V(t)}}function nn(e){rt.ensure();let t=z(64|oe,e);return(e={})=>new Promise(n=>{e.outro?mn(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function rn(e){return z(4,e)}function an(e){return z(ue|oe,e)}function on(e,t=0){return z(8|t,e)}function sn(e,t=[],n=[],r=[]){gt(r,t,n,t=>{z(8,()=>e(...t.map($)))})}function cn(e,t=0){return z(16|t,e)}function B(e){return z(32|oe,e)}function ln(e){var t=e.teardown;if(t!==null){let e=H,n=U;yn(!0),G(null);try{t.call(null)}finally{yn(e),G(n)}}}function un(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&Xt(()=>{e.abort(x)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function dn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(fn(e.nodes.start,e.nodes.end),n=!0),k(e,ie),un(e,t&&!n),An(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();ln(e),e.f^=ie,e.f|=ne;var i=e.parent;i!==null&&i.first!==null&&pn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function fn(e,t){for(;e!==null;){var n=e===t?null:R(e);e.remove(),e=n}}function pn(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 mn(e,t,n=!0){var r=[];hn(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function hn(e,t,n){if(!(e.f&8192)){e.f^=te;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;hn(i,t,o?n:!1),i=a}}}function gn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:R(n);t.append(n),n=i}}var _n=null,vn=!1,H=!1;function yn(e){H=e}var U=null,W=!1;function G(e){U=e}var K=null;function q(e){K=e}var J=null;function bn(e){U!==null&&(!T||U.f&2)&&(J===null?J=[e]:J.push(e))}var Y=null,X=0,Z=null;function xn(e){Z=e}var Sn=1,Cn=0,Q=Cn;function wn(e){Q=e}function Tn(){return++Sn}function En(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~ce),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(En(a)&&Dt(a),a.wv>e.wv)return!0}t&512&&M===null&&k(e,y)}return!1}function Dn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!T&&J!==null&&o.call(J,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Dn(a,t,!1):t===a&&(n?k(a,b):a.f&1024&&k(a,ee),lt(a))}}function On(e){var t=Y,n=X,r=Z,i=U,a=J,o=E,s=W,c=Q,l=e.f;Y=null,X=0,Z=null,U=l&96?null:e,J=null,Fe(e.ctx),W=!1,Q=++Cn,e.ac!==null&&(Xt(()=>{e.ac.abort(x)}),e.ac=null);try{e.f|=le;var u=e.fn,d=u();e.f|=re;var f=e.deps,p=j?.is_fork;if(Y!==null){var m;if(p||An(e,X),f!==null&&X>0)for(f.length=X+Y.length,m=0;m<Y.length;m++)f[X+m]=Y[m];else e.deps=f=Y;if(Qt()&&e.f&512)for(m=X;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&X<f.length&&(An(e,X),f.length=X);if(Re()&&Z!==null&&!W&&f!==null&&!(e.f&6146))for(m=0;m<Z.length;m++)Dn(Z[m],e);if(i!==null&&i!==e){if(Cn++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Cn;if(t!==null)for(let e of t)e.rv=Cn;Z!==null&&(r===null?r=Z:r.push(...Z))}return e.f&8388608&&(e.f^=de),d}catch(e){return He(e)}finally{e.f^=le,Y=t,X=n,Z=r,U=i,J=a,Fe(o),W=s,Q=c}}function kn(e,t){let n=t.reactions;if(n!==null){var r=a.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&&(Y===null||!o.call(Y,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~ce),We(s),Ot(s),An(s,0)}}function An(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)kn(e,n[r])}function jn(e){var t=e.f;if(!(t&16384)){k(e,y);var n=K,r=vn;K=e,vn=!0;try{t&16777232?dn(e):un(e),ln(e);var i=On(e);e.teardown=typeof i==`function`?i:null,e.wv=Sn}finally{vn=r,K=n}}}function $(e){var t=(e.f&2)!=0;if(_n?.add(e),U!==null&&!W&&!(K!==null&&K.f&16384)&&(J===null||!o.call(J,e))){var n=U.deps;if(U.f&2097152)e.rv<Cn&&(e.rv=Cn,Y===null&&n!==null&&n[X]===e?X++:Y===null?Y=[e]:Y.push(e));else{(U.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[U]:o.call(r,U)||r.push(U)}}if(H&&P.has(e))return P.get(e);if(t){var i=e;if(H){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Nn(i))&&(a=Et(i)),P.set(i,a),a}var s=(i.f&512)==0&&!W&&U!==null&&(vn||(U.f&512)!=0),c=(i.f&re)===0;En(i)&&(s&&(i.f|=512),Dt(i)),s&&!c&&(kt(i),Mn(i))}if(M?.has(e))return M.get(e);if(e.f&8388608)throw e.v;return e.v}function Mn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(kt(t),Mn(t))}function Nn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(P.has(t)||t.f&2&&Nn(t))return!0;return!1}function Pn(e){var t=W;try{return W=!0,e()}finally{W=t}}var Fn=Symbol(`events`),In=new Set,Ln=new Set;function Rn(e,t,n){(t[Fn]??={})[e]=n}function zn(e){for(var t=0;t<e.length;t++)In.add(e[t]);for(var n of Ln)n(e)}var Bn=null;function Vn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Bn=e;var o=0,s=Bn===e&&e[Fn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Fn]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=U,f=K;G(null),q(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[Fn]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Fn]=t,delete e.currentTarget,G(d),q(f)}}}var Hn=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Un(e){return Hn?.createHTML(e)??e}function Wn(e){var t=Jt(`template`);return t.innerHTML=Un(e.replaceAll(`<!>`,`<!---->`)),t.content}function Gn(e,t){var n=K;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Kn(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(S)return Gn(C,null),C;i===void 0&&(i=Wn(a?e:`<!>`+e),n||(i=Wt(i)));var t=r||Bt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Wt(t),s=t.lastChild;Gn(o,s)}else Gn(t,t);return t}}function qn(e=``){if(!S){var t=L(e+``);return Gn(t,t),t}var n=C;return n.nodeType===3?Yt(n):(n.before(n=L()),w(n)),Gn(n,n),n}function Jn(e,t){if(S){var n=K;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=C),De();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var Yn=[`touchstart`,`touchmove`];function Xn(e){return Yn.includes(e)}function Zn(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Qn(e,t){return tr(e,t)}function $n(e,n){Ut(),n.intro=n.intro??!1;let r=n.target,i=S,a=C;try{for(var o=Wt(r);o&&(o.nodeType!==8||o.data!==`[`);)o=R(o);if(!o)throw t;Ee(!0),w(o);let i=tr(e,{...n,anchor:o});return Ee(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
2
|
+
`).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&ve(),Ut(),qt(r),Ee(!1),Qn(e,n)}finally{Ee(i),w(a)}}var er=new Map;function tr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){Ut();var u=void 0,d=nn(()=>{var c=r??n.appendChild(L());mt(c,{pending:()=>{}},n=>{Ie({});var r=E;if(o&&(r.c=o),a&&(i.$$events=a),S&&Gn(n,null),u=e(n,i)||{},S&&(K.nodes.end=C,C===null||C.nodeType!==8||C.data!==`]`))throw we(),t;Le()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=Xn(r);for(let e of[n,document]){var a=er.get(e);a===void 0&&(a=new Map,er.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,Vn,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(In)),Ln.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=er.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,Vn),t.delete(e),t.size===0&&er.delete(r)):t.set(e,i)}Ln.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return nr.set(u,d),u}var nr=new WeakMap;function rr(e,t){let n=nr.get(e);return n?(nr.delete(e),n(t)):Promise.resolve()}function ir(e,t,n,r,i){S&&De();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function ar(e,t){rn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Jt(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var or=Symbol(`is custom element`),sr=Symbol(`is html`),cr=he?`link`:`LINK`;function lr(e,t,n,r){var i=ur(e);S&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===cr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[me]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&fr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ur(e){return e.__attributes??={[or]:e.nodeName.includes(`-`),[sr]:e.namespaceURI===r}}var dr=new Map;function fr(e){var t=e.getAttribute(`is`)||e.nodeName,n=dr.get(t);if(n)return n;dr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function pr(e,t,n,r){var i=!Pe||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Pn(r):r),s);let d;if(a){var f=fe in e||pe in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=Ye(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&ye(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?bt:Ct)(()=>(_=!1,h()));a&&$(v);var y=K;return(function(e,t){if(arguments.length>0){let n=t?$(v):i&&a?Rt(e):e;return I(v,n),_=!0,s!==void 0&&(s=n),e}return H&&_||y.f&16384?v.v:$(v)})}function mr(e){return new hr(e)}var hr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Nt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return $(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===pe?!0:($(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return I(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?$n:Qn)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!T&&(!e?.props?.$$host||e.sync===!1)&&it(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{rr(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},gr;typeof HTMLElement==`function`&&(gr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=Jt(`slot`);e!==`default`&&(n.name=e),Jn(t,n)}}let t={},n=vr(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=_r(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=mr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=tn(()=>{on(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=_r(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=_r(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function _r(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function vr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function yr(e,t,n,r,i,a){let o=class extends gr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=_r(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var br=Kn(`<div class="skeleton-root svelte-10p6erh"><p class="svelte-10p6erh"> </p> <p class="svelte-10p6erh"> </p> <p class="svelte-10p6erh"> </p> <p class="svelte-10p6erh"> </p> <button class="btn btn-primary svelte-10p6erh">Dispatch Event</button> <!></div>`),xr={hash:`svelte-10p6erh`,code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;}
|
|
3
3
|
/*!
|
|
4
4
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
|
5
5
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
@@ -56,5 +56,5 @@ button.svelte-10p6erh {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
56
56
|
@media (min-width: 1200px) {
|
|
57
57
|
}
|
|
58
58
|
@media (min-width: 1400px) {
|
|
59
|
-
}`};function
|
|
60
|
-
//# sourceMappingURL=main.iife.js.map
|
|
59
|
+
}`};function Sr(e,t){Ie(t,!0),ar(e,xr);let n=pr(t,`id`,7,``),r=pr(t,`string`,7,``),i=pr(t,`json`,7,`{}`),a=pr(t,`boolean`,7,!1),o=St(()=>r()?r().toUpperCase():``),s=St(()=>{if(typeof i()==`object`)return i();try{return JSON.parse(i()||`{}`)}catch{return{}}}),c=St(()=>a()===!0||a()===`true`||a()===``);function l(){t.$$host.dispatchEvent(new CustomEvent(`event`,{detail:{test:!0}}))}var u={get id(){return n()},set id(e=``){n(e),it()},get string(){return r()},set string(e=``){r(e),it()},get json(){return i()},set json(e=`{}`){i(e),it()},get boolean(){return a()},set boolean(e=!1){a(e),it()}},d=br(),f=Gt(d),p=Gt(f);Oe(f);var m=Kt(f,2),h=Gt(m);Oe(m);var g=Kt(m,2),_=Gt(g);Oe(g);var v=Kt(g,2),y=Gt(v);Oe(v);var b=Kt(v,2);return ir(Kt(b,2),t,`content`,{},e=>{Jn(e,qn(`Default slot content`))}),Oe(d),sn(e=>{lr(d,`id`,n()),Zn(p,`String: ${r()??``}`),Zn(h,`Upper: ${$(o)??``}`),Zn(_,`Boolean: ${$(c)??``}`),Zn(y,`JSON keys: ${e??``}`)},[()=>Object.keys($(s)).join(`, `)]),Rn(`click`,b,l),Jn(e,d),Le(u)}zn([`click`]),customElements.define(`hb-skeleton-component`,yr(Sr,{id:{},string:{},json:{},boolean:{}},[`content`],[],{mode:`open`})),e.Component=Sr})(this[`skeleton-component`]=this[`skeleton-component`]||{});
|
|
60
|
+
//# sourceMappingURL=main.iife.js.map
|