@htmlbricks/hb-faq-component 0.65.22 → 0.66.0
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 +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +4 -4
- package/package.json +2 -2
package/main.iife.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(Pt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Un=1,Wn=2,Gn=16,Jn=1,Kn=2,Lt="[",Ge="[!",dt="]",_e={},A=Symbol(),Xn="http://www.w3.org/1999/xhtml",ht=!1;var Ft=Array.isArray,Zn=Array.prototype.indexOf,vt=Array.from,Je=Object.keys,Ke=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,Qn=Object.getOwnPropertyDescriptors,er=Object.prototype,tr=Array.prototype,It=Object.getPrototypeOf,qt=Object.isExtensible;function nr(e){for(var t=0;t<e.length;t++)e[t]()}function jt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const x=2,_t=4,pt=8,ee=16,te=32,oe=64,Xe=128,U=512,N=1024,O=2048,ne=4096,M=8192,re=16384,Ze=32768,Ae=65536,Bt=1<<17,gt=1<<18,pe=1<<19,rr=1<<20,ge=32768,mt=1<<21,wt=1<<22,ue=1<<23,yt=Symbol("$state"),ir=Symbol("legacy props"),sr=Symbol(""),Ne=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},$t=3,ce=8;function fr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function lr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ar(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function or(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ur(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function cr(){throw new Error("https://svelte.dev/e/hydration_failed")}function dr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function hr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function vr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function _r(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ie(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function pr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let _=!1;function W(e){_=e}let m;function T(e){if(e===null)throw Ie(),_e;return m=e}function Ce(){return T(P(m))}function me(e){if(_){if(P(m)!==null)throw Ie(),_e;m=e}}function gr(e=1){if(_){for(var t=e,n=m;t--;)n=P(n);m=n}}function Qe(e=!0){for(var t=0,n=m;;){if(n.nodeType===ce){var r=n.data;if(r===dt){if(t===0)return n;t-=1}else(r===Lt||r===Ge)&&(t+=1)}var i=P(n);e&&n.remove(),n=i}}function zt(e){if(!e||e.nodeType!==ce)throw Ie(),_e;return e.data}function Ht(e){return e===this.v}function mr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Vt(e){return!mr(e,this.v)}let wr=!1,F=null;function Se(e){F=e}function Yt(e,t=!1,n){F={p:F,i:!1,c:null,e:null,s:e,x:null,l:null}}function Ut(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)_n(r)}return e!==void 0&&(t.x=e),t.i=!0,F=t.p,e??{}}function Wt(){return!0}let we=[];function Gt(){var e=we;we=[],nr(e)}function bt(e){if(we.length===0&&!qe){var t=we;queueMicrotask(()=>{t===we&&Gt()})}we.push(e)}function yr(){for(;we.length>0;)Gt()}function Jt(e){var t=g;if(t===null)return p.f|=ue,e;if((t.f&Ze)===0){if((t.f&Xe)===0)throw e;t.b.error(e)}else Re(e,t)}function Re(e,t){for(;t!==null;){if((t.f&Xe)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const et=new Set;let b=null,I=null,q=[],tt=null,Et=!1,qe=!1;class G{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){q=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#f(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(b=null,Xt(n.render_effects),Xt(n.effects),this.#a?.resolve()),I=null}#f(t,n){t.f^=N;for(var r=t.first;r!==null;){var i=r.f,s=(i&(te|oe))!==0,f=s&&(i&N)!==0,l=f||(i&M)!==0||this.skipped_effects.has(r);if((r.f&Xe)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){s?r.f^=N:(i&_t)!==0?n.effects.push(r):Ue(r)&&((r.f&ee)!==0&&n.block_effects.push(r),We(r));var a=r.first;if(a!==null){r=a;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#l(t){for(const n of t)((n.f&O)!==0?this.#s:this.#i).push(n),this.#o(n.deps),C(n,N)}#o(t){if(t!==null)for(const n of t)(n.f&x)===0||(n.f&ge)===0||(n.f^=ge,this.#o(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ue)===0&&(this.current.set(t,t.v),I?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,I=null)}flush(){if(this.activate(),q.length>0){if(Kt(),b!==null&&b!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(et.size>1){this.previous.clear();var t=I,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of et){if(s===this){n=!1;continue}const f=[];for(const[a,o]of this.current){if(s.current.has(a))if(n&&o!==s.current.get(a))s.current.set(a,o);else continue;f.push(a)}if(f.length===0)continue;const l=[...s.current.keys()].filter(a=>!this.current.has(a));if(l.length>0){var i=q;q=[];const a=new Set,o=new Map;for(const u of f)Zt(u,l,a,o);if(q.length>0){b=s,s.apply();for(const u of q)s.#f(u,r);s.deactivate()}q=i}}b=null,I=t}this.committed=!0,et.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)C(t,O),ye(t);for(const t of this.#i)C(t,ne),ye(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=jt()).promise}static ensure(){if(b===null){const t=b=new G;et.add(b),qe||G.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){bt(t)}apply(){}}function je(e){var t=qe;qe=!0;try{for(var n;;){if(yr(),q.length===0&&(b?.flush(),q.length===0))return tt=null,n;Kt()}}finally{qe=t}}function Kt(){var e=he;Et=!0;var t=null;try{var n=0;for(st(!0);q.length>0;){var r=G.ensure();if(n++>1e3){var i,s;$r()}r.process(q),de.clear()}}finally{Et=!1,st(e),tt=null}}function $r(){try{ur()}catch(e){Re(e,tt)}}let ie=null;function Xt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(re|M))===0&&Ue(r)&&(ie=new Set,We(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?yn(r):r.fn=null),ie?.size>0)){de.clear();for(const i of ie){if((i.f&(re|M))!==0)continue;const s=[i];let f=i.parent;for(;f!==null;)ie.has(f)&&(ie.delete(f),s.push(f)),f=f.parent;for(let l=s.length-1;l>=0;l--){const a=s[l];(a.f&(re|M))===0&&We(a)}}ie.clear()}}ie=null}}function Zt(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&x)!==0?Zt(i,t,n,r):(s&(wt|ee))!==0&&(s&O)===0&&Qt(i,t,r)&&(C(i,O),ye(i))}}function Qt(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(t.includes(i))return!0;if((i.f&x)!==0&&Qt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ye(e){for(var t=tt=e;t.parent!==null;){t=t.parent;var n=t.f;if(Et&&t===g&&(n&ee)!==0&&(n>)===0)return;if((n&(oe|te))!==0){if((n&N)===0)return;t.f^=N}}q.push(t)}function br(e){let t=0,n=$e(0),r;return()=>{rt()&&($(n),pn(()=>(t===0&&(r=Wr(()=>e(()=>ze(n)))),t+=1,()=>{bt(()=>{t-=1,t===0&&(r?.(),r=void 0,ze(n))})})))}}var Er=Ae|pe|Xe;function kr(e,t,n){new xr(e,t,n)}class xr{parent;#t=!1;#e;#n=_?m:null;#r;#a;#s;#i=null;#f=null;#l=null;#o=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#w=br(()=>(this.#h=$e(this.#c),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=g.b,this.#t=!!this.#r.pending,this.#s=it(()=>{if(g.b=this,_){const s=this.#n;Ce(),s.nodeType===ce&&s.data===Ge?this.#$():this.#y()}else{var i=this.#g();try{this.#i=z(()=>r(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Er),_&&(this.#e=m)}#y(){try{this.#i=z(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#r.pending;t&&(this.#f=z(()=>t(this.#e)),G.enqueue(()=>{var n=this.#g();this.#i=this.#_(()=>(G.ensure(),z(()=>this.#a(n)))),this.#d>0?this.#p():(De(this.#f,()=>{this.#f=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=j(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=g,r=p,i=F;Z(this.#s),D(this.#s),Se(this.#s.ctx);try{return t()}catch(s){return Jt(s),null}finally{Z(n),D(r),Se(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),En(this.#i,this.#o)),this.#f===null&&(this.#f=z(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#f&&De(this.#f,()=>{this.#f=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#h&&Be(this.#h,this.#c)}get_effect_pending(){return this.#w(),$(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(S(this.#i),this.#i=null),this.#f&&(S(this.#f),this.#f=null),this.#l&&(S(this.#l),this.#l=null),_&&(T(this.#n),gr(),T(Qe()));var i=!1,s=!1;const f=()=>{if(i){pr();return}i=!0,s&&_r(),G.ensure(),this.#c=0,this.#l!==null&&De(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,z(()=>this.#a(this.#e)))),this.#d>0?this.#p():this.#t=!1};var l=p;try{D(null),s=!0,n?.(t,f),s=!1}catch(a){Re(a,this.#s&&this.#s.parent)}finally{D(l)}r&&bt(()=>{this.#l=this.#_(()=>{G.ensure(),this.#v=!0;try{return z(()=>{r(this.#e,()=>t,()=>f)})}catch(a){return Re(a,this.#s.parent),null}finally{this.#v=!1}})})}}function Tr(e,t,n){for(var r=[],i=t.length,s=0;s<i;s++)St(t[s].e,r,!0);$n(r,()=>{var f=r.length===0&&n!==null;if(f){var l=n,a=l.parentNode;dn(a),a.append(l),e.items.clear(),J(e,t[0].prev,t[i-1].next)}for(var o=0;o<i;o++){var u=t[o];f||(e.items.delete(u.k),J(e,u.prev,u.next)),S(u.e,!f)}e.first===t[0]&&(e.first=t[0].prev)})}function en(e,t,n,r,i,s=null){var f=e,l=new Map,a=null;{var o=e;f=_?T(B(o)):o.appendChild(j())}_&&Ce();var u=null,d=Or(()=>{var y=n();return Ft(y)?y:y==null?[]:vt(y)}),c,h=!0;function v(){Ar(k,c,f,t,r),u!==null&&(c.length===0?(u.fragment?(f.before(u.fragment),u.fragment=null):Rt(u.effect),w.first=u.effect):De(u.effect,()=>{u=null}))}var w=it(()=>{c=$(d);var y=c.length;let E=!1;if(_){var ae=zt(f)===Ge;ae!==(y===0)&&(f=Qe(),T(f),W(!1),E=!0)}for(var V=new Set,Y=b,ve=null,ut=hn(),Fe=0;Fe<y;Fe+=1){_&&m.nodeType===ce&&m.data===dt&&(f=m,E=!0,W(!1));var Mt=c[Fe],ct=r(Mt,Fe),Q=h?null:l.get(ct);Q?(Be(Q.v,Mt),Q.i=Fe,ut&&Y.skipped_effects.delete(Q.e)):(Q=Nr(h?f:null,ve,Mt,ct,Fe,i,t,n),h&&(Q.o=!0,ve===null?a=Q:ve.next=Q,ve=Q),l.set(ct,Q)),V.add(ct)}if(y===0&&s&&!u)if(h)u={fragment:null,effect:z(()=>s(f))};else{var Vn=document.createDocumentFragment(),Yn=j();Vn.append(Yn),u={fragment:Vn,effect:z(()=>s(Yn))}}if(_&&y>0&&T(Qe()),!h)if(ut){for(const[bi,Ei]of l)V.has(bi)||Y.skipped_effects.add(Ei.e);Y.oncommit(v),Y.ondiscard(()=>{})}else v();E&&W(!0),$(d)}),k={effect:w,items:l,first:a};h=!1,_&&(f=m)}function Ar(e,t,n,r,i){var s=t.length,f=e.items,l=e.first,a,o=null,u=[],d=[],c,h,v,w;for(w=0;w<s;w+=1){if(c=t[w],h=i(c,w),v=f.get(h),e.first??=v,!v.o){v.o=!0;var k=o?o.next:l;J(e,o,v),J(e,v,k),kt(v,k,n),o=v,u=[],d=[],l=o.next;continue}if((v.e.f&M)!==0&&Rt(v.e),v!==l){if(a!==void 0&&a.has(v)){if(u.length<d.length){var y=d[0],E;o=y.prev;var ae=u[0],V=u[u.length-1];for(E=0;E<u.length;E+=1)kt(u[E],y,n);for(E=0;E<d.length;E+=1)a.delete(d[E]);J(e,ae.prev,V.next),J(e,o,ae),J(e,V,y),l=y,o=V,w-=1,u=[],d=[]}else a.delete(v),kt(v,l,n),J(e,v.prev,v.next),J(e,v,o===null?e.first:o.next),J(e,o,v),o=v;continue}for(u=[],d=[];l!==null&&l.k!==h;)(l.e.f&M)===0&&(a??=new Set).add(l),d.push(l),l=l.next;if(l===null)continue;v=l}u.push(v),o=v,l=v.next}if(l!==null||a!==void 0){for(var Y=a===void 0?[]:vt(a);l!==null;)(l.e.f&M)===0&&Y.push(l),l=l.next;var ve=Y.length;if(ve>0){var ut=s===0?n:null;Tr(e,Y,ut)}}}function Nr(e,t,n,r,i,s,f,l){var a=(f&Un)!==0,o=(f&Gn)===0,u=a?o?sn(n,!1,!1):$e(n):n,d=(f&Wn)===0?i:$e(i),c={i:d,v:u,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var h=document.createDocumentFragment();h.append(e=j())}return c.e=z(()=>s(e,u,d,l)),t!==null&&(t.next=c),c}finally{}}function kt(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==null&&s!==r;){var f=P(s);i.before(s),s=f}}function J(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Cr(e,t,n,r){const i=xt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=b,f=g,l=Sr();function a(){Promise.all(n.map(o=>Rr(o))).then(o=>{l();try{r([...t.map(i),...o])}catch(u){(f.f&re)===0&&Re(u,f)}s?.deactivate(),nt()}).catch(o=>{Re(o,f)})}e.length>0?Promise.all(e).then(()=>{l();try{return a()}finally{s?.deactivate(),nt()}}):a()}function Sr(){var e=g,t=p,n=F,r=b;return function(s=!0){Z(e),D(t),Se(n),s&&r?.activate()}}function nt(){Z(null),D(null),Se(null)}function xt(e){var t=x|O,n=p!==null&&(p.f&x)!==0?p:null;return g!==null&&(g.f|=pe),{ctx:F,deps:null,effects:null,equals:Ht,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:n??g,ac:null}}function Rr(e,t){let n=g;n===null&&fr();var r=n.b,i=void 0,s=$e(A),f=!p,l=new Map;return zr(()=>{var a=jt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{o===b&&o.committed&&o.deactivate(),nt()})}catch(c){a.reject(c),nt()}var o=b;if(f){var u=!r.is_pending();r.update_pending_count(1),o.increment(u),l.get(o)?.reject(Ne),l.delete(o),l.set(o,a)}const d=(c,h=void 0)=>{if(o.activate(),h)h!==Ne&&(s.f|=ue,Be(s,h));else{(s.f&ue)!==0&&(s.f^=ue),Be(s,c);for(const[v,w]of l){if(l.delete(v),v===o)break;w.reject(Ne)}}f&&(r.update_pending_count(-1),o.decrement(u))};a.promise.then(d,c=>d(null,c||"unknown"))}),Fr(()=>{for(const a of l.values())a.reject(Ne)}),new Promise(a=>{function o(u){function d(){u===i?a(s):o(i)}u.then(d,d)}o(i)})}function Or(e){const t=xt(e);return t.equals=Vt,t}function tn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)S(t[n])}}function Dr(e){for(var t=e.parent;t!==null;){if((t.f&x)===0)return(t.f&re)===0?t:null;t=t.parent}return null}function Tt(e){var t,n=g;Z(Dr(e));try{e.f&=~ge,tn(e),t=Cn(e)}finally{Z(n)}return t}function nn(e){var t=Tt(e);if(e.equals(t)||(b?.is_fork||(e.v=t),e.wv=An()),!be)if(I!==null)rt()&&I.set(e,t);else{var n=(e.f&U)===0?ne:N;C(e,n)}}let At=new Set;const de=new Map;let rn=!1;function $e(e,t){var n={f:0,v:e,reactions:null,equals:Ht,rv:0,wv:0};return n}function se(e,t){const n=$e(e);return Vr(n),n}function sn(e,t=!1,n=!0){const r=$e(e);return t||(r.equals=Vt),r}function fe(e,t,n=!1){p!==null&&(!X||(p.f&Bt)!==0)&&Wt()&&(p.f&(x|ee|wt|Bt))!==0&&!le?.includes(e)&&vr();let r=n?Oe(t):t;return Be(e,r)}function Be(e,t){if(!e.equals(t)){var n=e.v;be?de.set(e,t):de.set(e,n),e.v=t;var r=G.ensure();r.capture(e,n),(e.f&x)!==0&&((e.f&O)!==0&&Tt(e),C(e,(e.f&U)!==0?N:ne)),e.wv=An(),fn(e,O),g!==null&&(g.f&N)!==0&&(g.f&(te|oe))===0&&(H===null?Yr([e]):H.push(e)),!r.is_fork&&At.size>0&&!rn&&Mr()}return t}function Mr(){rn=!1;var e=he;st(!0);const t=Array.from(At);try{for(const n of t)(n.f&N)!==0&&C(n,ne),Ue(n)&&We(n)}finally{st(e)}At.clear()}function ze(e){fe(e,e.v+1)}function fn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],f=s.f,l=(f&O)===0;if(l&&C(s,t),(f&x)!==0){var a=s;I?.delete(a),(f&ge)===0&&(f&U&&(s.f|=ge),fn(a,ne))}else l&&((f&ee)!==0&&ie!==null&&ie.add(s),ye(s))}}function Oe(e){if(typeof e!="object"||e===null||yt in e)return e;const t=It(e);if(t!==er&&t!==tr)return e;var n=new Map,r=Ft(e),i=se(0),s=Ee,f=l=>{if(Ee===s)return l();var a=p,o=Ee;D(null),Tn(s);var u=l();return D(a),Tn(o),u};return r&&n.set("length",se(e.length)),new Proxy(e,{defineProperty(l,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&dr();var u=n.get(a);return u===void 0?u=f(()=>{var d=se(o.value);return n.set(a,d),d}):fe(u,o.value,!0),!0},deleteProperty(l,a){var o=n.get(a);if(o===void 0){if(a in l){const u=f(()=>se(A));n.set(a,u),ze(i)}}else fe(o,A),ze(i);return!0},get(l,a,o){if(a===yt)return e;var u=n.get(a),d=a in l;if(u===void 0&&(!d||Te(l,a)?.writable)&&(u=f(()=>{var h=Oe(d?l[a]:A),v=se(h);return v}),n.set(a,u)),u!==void 0){var c=$(u);return c===A?void 0:c}return Reflect.get(l,a,o)},getOwnPropertyDescriptor(l,a){var o=Reflect.getOwnPropertyDescriptor(l,a);if(o&&"value"in o){var u=n.get(a);u&&(o.value=$(u))}else if(o===void 0){var d=n.get(a),c=d?.v;if(d!==void 0&&c!==A)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return o},has(l,a){if(a===yt)return!0;var o=n.get(a),u=o!==void 0&&o.v!==A||Reflect.has(l,a);if(o!==void 0||g!==null&&(!u||Te(l,a)?.writable)){o===void 0&&(o=f(()=>{var c=u?Oe(l[a]):A,h=se(c);return h}),n.set(a,o));var d=$(o);if(d===A)return!1}return u},set(l,a,o,u){var d=n.get(a),c=a in l;if(r&&a==="length")for(var h=o;h<d.v;h+=1){var v=n.get(h+"");v!==void 0?fe(v,A):h in l&&(v=f(()=>se(A)),n.set(h+"",v))}if(d===void 0)(!c||Te(l,a)?.writable)&&(d=f(()=>se(void 0)),fe(d,Oe(o)),n.set(a,d));else{c=d.v!==A;var w=f(()=>Oe(o));fe(d,w)}var k=Reflect.getOwnPropertyDescriptor(l,a);if(k?.set&&k.set.call(u,o),!c){if(r&&typeof a=="string"){var y=n.get("length"),E=Number(a);Number.isInteger(E)&&E>=y.v&&fe(y,E+1)}ze(i)}return!0},ownKeys(l){$(i);var a=Reflect.ownKeys(l).filter(d=>{var c=n.get(d);return c===void 0||c.v!==A});for(var[o,u]of n)u.v!==A&&!(o in l)&&a.push(o);return a},setPrototypeOf(){hr()}})}var ln,an,on,un;function Nt(){if(ln===void 0){ln=window,an=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;on=Te(t,"firstChild").get,un=Te(t,"nextSibling").get,qt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),qt(n)&&(n.__t=void 0)}}function j(e=""){return document.createTextNode(e)}function B(e){return on.call(e)}function P(e){return un.call(e)}function He(e,t){if(!_)return B(e);var n=B(m);if(n===null)n=m.appendChild(j());else if(t&&n.nodeType!==$t){var r=j();return n?.before(r),T(r),r}return T(n),n}function cn(e,t=!1){if(!_){var n=B(e);return n instanceof Comment&&n.data===""?P(n):n}if(t&&m?.nodeType!==$t){var r=j();return m?.before(r),T(r),r}return m}function Ve(e,t=1,n=!1){let r=_?m:e;for(var i;t--;)i=r,r=P(r);if(!_)return r;if(n&&r?.nodeType!==$t){var s=j();return r===null?i?.after(s):r.before(s),T(s),s}return T(r),r}function dn(e){e.textContent=""}function hn(){return!1}function vn(e){var t=p,n=g;D(null),Z(null);try{return e()}finally{D(t),Z(n)}}function Pr(e){g===null&&(p===null&&or(),ar()),be&&lr()}function Lr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function K(e,t,n){var r=g;r!==null&&(r.f&M)!==0&&(e|=M);var i={ctx:F,deps:null,nodes_start:null,nodes_end:null,f:e|O|U,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{We(i),i.f|=Ze}catch(l){throw S(i),l}else t!==null&&ye(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&pe)===0&&(s=s.first,(e&ee)!==0&&(e&Ae)!==0&&s!==null&&(s.f|=Ae)),s!==null&&(s.parent=r,r!==null&&Lr(s,r),p!==null&&(p.f&x)!==0&&(e&oe)===0)){var f=p;(f.effects??=[]).push(s)}return i}function rt(){return p!==null&&!X}function Fr(e){const t=K(pt,null,!1);return C(t,N),t.teardown=e,t}function Ir(e){Pr();var t=g.f,n=!p&&(t&te)!==0&&(t&Ze)===0;if(n){var r=F;(r.e??=[]).push(e)}else return _n(e)}function _n(e){return K(_t|rr,e,!1)}function qr(e){G.ensure();const t=K(oe|pe,e,!0);return()=>{S(t)}}function jr(e){G.ensure();const t=K(oe|pe,e,!0);return(n={})=>new Promise(r=>{n.outro?De(t,()=>{S(t),r(void 0)}):(S(t),r(void 0))})}function Br(e){return K(_t,e,!1)}function zr(e){return K(wt|pe,e,!0)}function pn(e,t=0){return K(pt|t,e,!0)}function Ct(e,t=[],n=[],r=[]){Cr(r,t,n,i=>{K(pt,()=>e(...i.map($)),!0)})}function it(e,t=0){var n=K(ee|t,e,!0);return n}function z(e){return K(te|pe,e,!0)}function gn(e){var t=e.teardown;if(t!==null){const n=be,r=p;kn(!0),D(null);try{t.call(null)}finally{kn(n),D(r)}}}function mn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&vn(()=>{i.abort(Ne)});var r=n.next;(n.f&oe)!==0?n.parent=null:S(n,t),n=r}}function Hr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&te)===0&&S(t),t=n}}function S(e,t=!0){var n=!1;(t||(e.f>)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(wn(e.nodes_start,e.nodes_end),n=!0),mn(e,t&&!n),ft(e,0),C(e,re);var r=e.transitions;if(r!==null)for(const s of r)s.stop();gn(e);var i=e.parent;i!==null&&i.first!==null&&yn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function wn(e,t){for(;e!==null;){var n=e===t?null:P(e);e.remove(),e=n}}function yn(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 De(e,t,n=!0){var r=[];St(e,r,!0),$n(r,()=>{n&&S(e),t&&t()})}function $n(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function St(e,t,n){if((e.f&M)===0){if(e.f^=M,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Ae)!==0||(r.f&te)!==0&&(e.f&ee)!==0;St(r,t,s?n:!1),r=i}}}function Rt(e){bn(e,!0)}function bn(e,t){if((e.f&M)!==0){e.f^=M,(e.f&N)===0&&(C(e,O),ye(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ae)!==0||(n.f&te)!==0;bn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function En(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:P(n);t.append(n),n=i}}let he=!1;function st(e){he=e}let be=!1;function kn(e){be=e}let p=null,X=!1;function D(e){p=e}let g=null;function Z(e){g=e}let le=null;function Vr(e){p!==null&&(le===null?le=[e]:le.push(e))}let R=null,L=0,H=null;function Yr(e){H=e}let xn=1,Ye=0,Ee=Ye;function Tn(e){Ee=e}function An(){return++xn}function Ue(e){var t=e.f;if((t&O)!==0)return!0;if(t&x&&(e.f&=~ge),(t&ne)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(Ue(s)&&nn(s),s.wv>e.wv)return!0}(t&U)!==0&&I===null&&C(e,N)}return!1}function Nn(e,t,n=!0){var r=e.reactions;if(r!==null&&!le?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&x)!==0?Nn(s,t,!1):t===s&&(n?C(s,O):(s.f&N)!==0&&C(s,ne),ye(s))}}function Cn(e){var t=R,n=L,r=H,i=p,s=le,f=F,l=X,a=Ee,o=e.f;R=null,L=0,H=null,p=(o&(te|oe))===0?e:null,le=null,Se(e.ctx),X=!1,Ee=++Ye,e.ac!==null&&(vn(()=>{e.ac.abort(Ne)}),e.ac=null);try{e.f|=mt;var u=e.fn,d=u(),c=e.deps;if(R!==null){var h;if(ft(e,L),c!==null&&L>0)for(c.length=L+R.length,h=0;h<R.length;h++)c[L+h]=R[h];else e.deps=c=R;if(he&&rt()&&(e.f&U)!==0)for(h=L;h<c.length;h++)(c[h].reactions??=[]).push(e)}else c!==null&&L<c.length&&(ft(e,L),c.length=L);if(Wt()&&H!==null&&!X&&c!==null&&(e.f&(x|ne|O))===0)for(h=0;h<H.length;h++)Nn(H[h],e);return i!==null&&i!==e&&(Ye++,H!==null&&(r===null?r=H:r.push(...H))),(e.f&ue)!==0&&(e.f^=ue),d}catch(v){return Jt(v)}finally{e.f^=mt,R=t,L=n,H=r,p=i,le=s,Se(f),X=l,Ee=a}}function Ur(e,t){let n=t.reactions;if(n!==null){var r=Zn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&x)!==0&&(R===null||!R.includes(t))&&(C(t,ne),(t.f&U)!==0&&(t.f^=U,t.f&=~ge),tn(t),ft(t,0))}function ft(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ur(e,n[r])}function We(e){var t=e.f;if((t&re)===0){C(e,N);var n=g,r=he;g=e,he=!0;try{(t&ee)!==0?Hr(e):mn(e),gn(e);var i=Cn(e);e.teardown=typeof i=="function"?i:null,e.wv=xn;var s;ht&&wr&&(e.f&O)!==0&&e.deps}finally{he=r,g=n}}}function $(e){var t=e.f,n=(t&x)!==0;if(p!==null&&!X){var r=g!==null&&(g.f&re)!==0;if(!r&&!le?.includes(e)){var i=p.deps;if((p.f&mt)!==0)e.rv<Ye&&(e.rv=Ye,R===null&&i!==null&&i[L]===e?L++:R===null?R=[e]:R.includes(e)||R.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:s.includes(p)||s.push(p)}}}if(be){if(de.has(e))return de.get(e);if(n){var f=e,l=f.v;return((f.f&N)===0&&f.reactions!==null||Rn(f))&&(l=Tt(f)),de.set(f,l),l}}else n&&!I?.has(e)&&(f=e,Ue(f)&&nn(f),he&&rt()&&(f.f&U)===0&&Sn(f));if(I?.has(e))return I.get(e);if((e.f&ue)!==0)throw e.v;return e.v}function Sn(e){if(e.deps!==null){e.f^=U;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&x)!==0&&(t.f&U)===0&&Sn(t)}}function Rn(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(de.has(t)||(t.f&x)!==0&&Rn(t))return!0;return!1}function Wr(e){var t=X;try{return X=!0,e()}finally{X=t}}const Gr=-7169;function C(e,t){e.f=e.f&Gr|t}const On=new Set,Ot=new Set;function Jr(e){for(var t=0;t<e.length;t++)On.add(e[t]);for(var n of Ot)n(e)}let Dn=null;function lt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Dn=e;var f=0,l=Dn===e&&e.__root;if(l){var a=i.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;a<=o&&(f=a)}if(s=i[f]||e.target,s!==t){Ke(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=p,d=g;D(null),Z(null);try{for(var c,h=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var w=s["__"+r];w!=null&&(!s.disabled||e.target===s)&&w.call(s,e)}catch(k){c?h.push(k):c=k}if(e.cancelBubble||v===t||v===null)break;s=v}if(c){for(let k of h)queueMicrotask(()=>{throw k});throw c}}finally{e.__root=t,delete e.currentTarget,D(u),Z(d)}}}function Mn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Me(e,t){var n=g;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Pe(e,t){var n=(t&Jn)!==0,r=(t&Kn)!==0,i,s=!e.startsWith("<!>");return()=>{if(_)return Me(m,null),m;i===void 0&&(i=Mn(s?e:"<!>"+e),n||(i=B(i)));var f=r||an?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=B(f),a=f.lastChild;Me(l,a)}else Me(f,f);return f}}function ke(e,t){if(_){var n=g;((n.f&Ze)===0||n.nodes_end===null)&&(n.nodes_end=m),Ce();return}e!==null&&e.before(t)}const Kr=["touchstart","touchmove"];function Xr(e){return Kr.includes(e)}function Pn(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Ln(e,t){return Fn(e,t)}function Zr(e,t){Nt(),t.intro=t.intro??!1;const n=t.target,r=_,i=m;try{for(var s=B(n);s&&(s.nodeType!==ce||s.data!==Lt);)s=P(s);if(!s)throw _e;W(!0),T(s);const f=Fn(e,{...t,anchor:s});return W(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==_e&&console.warn("Failed to hydrate: ",f),t.recover===!1&&cr(),Nt(),dn(n),W(!1),Ln(e,t)}finally{W(r),T(i)}}const Le=new Map;function Fn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:f=!0}){Nt();var l=new Set,a=d=>{for(var c=0;c<d.length;c++){var h=d[c];if(!l.has(h)){l.add(h);var v=Xr(h);t.addEventListener(h,lt,{passive:v});var w=Le.get(h);w===void 0?(document.addEventListener(h,lt,{passive:v}),Le.set(h,1)):Le.set(h,w+1)}}};a(vt(On)),Ot.add(a);var o=void 0,u=jr(()=>{var d=n??t.appendChild(j());return kr(d,{pending:()=>{}},c=>{if(s){Yt({});var h=F;h.c=s}if(i&&(r.$$events=i),_&&Me(c,null),o=e(c,r)||{},_&&(g.nodes_end=m,m===null||m.nodeType!==ce||m.data!==dt))throw Ie(),_e;s&&Ut()}),()=>{for(var c of l){t.removeEventListener(c,lt);var h=Le.get(c);--h===0?(document.removeEventListener(c,lt),Le.delete(c)):Le.set(c,h)}Ot.delete(a),d!==n&&d.parentNode?.removeChild(d)}});return Dt.set(o,u),o}let Dt=new WeakMap;function Qr(e,t){const n=Dt.get(e);return n?(Dt.delete(e),n(t)):Promise.resolve()}class ei{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#a=!0;constructor(t,n=!0){this.anchor=t,this.#a=n}#s=()=>{var t=b;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Rt(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,f]of this.#t){if(this.#t.delete(s),s===t)break;const l=this.#n.get(f);l&&(S(l.effect),this.#n.delete(f))}for(const[s,f]of this.#e){if(s===n||this.#r.has(s))continue;const l=()=>{if(Array.from(this.#t.values()).includes(s)){var o=document.createDocumentFragment();En(f,o),o.append(j()),this.#n.set(s,{effect:f,fragment:o})}else S(f);this.#r.delete(s),this.#e.delete(s)};this.#a||!r?(this.#r.add(s),De(f,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(S(i.effect),this.#n.delete(r))};ensure(t,n){var r=b,i=hn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),f=j();s.append(f),this.#n.set(t,{effect:z(()=>n(f)),fragment:s})}else this.#e.set(t,z(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[l,a]of this.#e)l===t?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[l,a]of this.#n)l===t?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else _&&(this.anchor=m),this.#s()}}function In(e,t,n=!1){_&&Ce();var r=new ei(e),i=n?Ae:0;function s(f,l){if(_){const o=zt(e)===Ge;if(f===o){var a=Qe();T(a),r.anchor=a,W(!1),r.ensure(f,l),W(!0);return}}r.ensure(f,l)}it(()=>{var f=!1;t((l,a=!0)=>{f=!0,s(a,l)}),f||s(!1,null)},i)}function ti(e,t,n=!1,r=!1,i=!1){var s=e,f="";Ct(()=>{var l=g;if(f===(f=t()??"")){_&&Ce();return}if(l.nodes_start!==null&&(wn(l.nodes_start,l.nodes_end),l.nodes_start=l.nodes_end=null),f!==""){if(_){m.data;for(var a=Ce(),o=a;a!==null&&(a.nodeType!==ce||a.data!=="");)o=a,a=P(a);if(a===null)throw Ie(),_e;Me(m,o),s=T(a);return}var u=f+"";n?u=`<svg>${u}</svg>`:r&&(u=`<math>${u}</math>`);var d=Mn(u);if((n||r)&&(d=B(d)),Me(B(d),d.lastChild),n||r)for(;B(d);)s.before(B(d));else s.before(d)}})}function ni(e,t){let n=null,r=_;var i;if(_){n=m;for(var s=B(document.head);s!==null&&(s.nodeType!==ce||s.data!==e);)s=P(s);if(s===null)W(!1);else{var f=P(s);s.remove(),T(f)}}_||(i=document.head.appendChild(j()));try{it(()=>t(i),gt)}finally{r&&(W(!0),T(n))}}function ri(e,t){Br(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function ii(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function si(e,t,n,r,i,s){var f=e.__className;if(_||f!==n||f===void 0){var l=ii(n,r);(!_||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const fi=Symbol("is custom element"),li=Symbol("is html");function qn(e,t,n,r){var i=ai(e);_&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[sr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&oi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ai(e){return e.__attributes??={[fi]:e.nodeName.includes("-"),[li]:e.namespaceURI===Xn}}var jn=new Map;function oi(e){var t=e.getAttribute("is")||e.nodeName,n=jn.get(t);if(n)return n;jn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Qn(i);for(var f in r)r[f].set&&n.push(f);i=It(i)}return n}function at(e,t,n,r){var i=r,s=!0,f=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=f());var a;a=()=>{var c=e[t];return c===void 0?f():(s=!0,c)};var o=!1,u=xt(()=>(o=!1,a())),d=g;return(function(c,h){if(arguments.length>0){const v=h?$(u):c;return fe(u,v),o=!0,i!==void 0&&(i=v),c}return be&&o||(d.f&re)!==0?u.v:$(u)})}function ui(e){return new ci(e)}class ci{#t;#e;constructor(t){var n=new Map,r=(s,f)=>{var l=sn(f,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,f){return $(n.get(f)??r(f,Reflect.get(s,f)))},has(s,f){return f===ir?!0:($(n.get(f)??r(f,Reflect.get(s,f))),Reflect.has(s,f))},set(s,f,l){return fe(n.get(f)??r(f,l),l),Reflect.set(s,f,l)}});this.#e=(t.hydrate?Zr:Ln)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&je(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ke(this,s,{get(){return this.#e[s]},set(f){this.#e[s]=f},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Qr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let Bn;typeof HTMLElement=="function"&&(Bn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),ke(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=di(this);for(const 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(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=ot(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ui({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=qr(()=>{pn(()=>{this.$$r=!0;for(const r of Je(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=ot(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=ot(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 Je(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function ot(e,t,n,r){const 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 di(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function hi(e,t,n,r,i,s){let f=class extends Bn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Je(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Je(t).forEach(l=>{Ke(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=ot(l,a,t),this.$$d[l]=a;var o=this.$$c;if(o){var u=Te(o,l)?.get;u?o[l]=a:o.$set({[l]:a})}}})}),r.forEach(l=>{Ke(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}var xe={},zn;function vi(){if(zn)return xe;zn=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.LanguageTranslator=void 0,xe.getChildStyleToPass=e,xe.addComponent=t;function e(r,i){var s,f,l="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((f=i?.filter(function(c){return Object.keys(r).includes(c.name)}))===null||f===void 0)&&f.length))for(var a=function(c){var h=i?.filter(function(v){return v.name===c&&v.defaultValue!==r[c]});h&&(l+="".concat(c,":").concat(r[c],";"))},o=0,u=Object.keys(r);o<u.length;o++){var d=u[o];a(d)}}catch(c){console.error("error getting child style to pass",c)}finally{return l}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var f=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(f),r?.local)l.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var a=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(a+"-",""),"/").concat(f)}document.head.appendChild(l)}catch(o){console.warn(o)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,f){return r.formatDate(i,s,f||this.lang)},r.getDefaultLang=function(){var i,s,f,l="en";return navigator?.languages&&(!((f=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||f===void 0)&&f.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},r.getDictionaryWord=function(i,s,f){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(f&&(!((l=s[f])===null||l===void 0)&&l[i]))return s[f][i];var a="",o=r.getDefaultLang();if(!f||o!==f){var u=s?.[o];u?.[i]&&(a=u[i])}return a},r.formatDate=function(i,s,f){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(f||r.getDefaultLang(),s);return l.format(i)},r})();return xe.LanguageTranslator=n,xe}vi();var _i=Pe('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),pi=Pe('<div class="break svelte-1s0fskg"></div>'),gi=Pe('<!> <div class="topic svelte-1s0fskg"><div class="topic_content svelte-1s0fskg"><i></i> </div></div>',1),mi=Pe('<div class="faq-question svelte-1s0fskg"><input type="checkbox" class="panel svelte-1s0fskg"/> <div class="plus svelte-1s0fskg">+</div> <label class="panel-title svelte-1s0fskg"> </label> <div class="panel-content svelte-1s0fskg"><!></div></div>'),wi=Pe('<div class="faq-content svelte-1s0fskg"></div>'),yi=Pe('<div id="topics" class="svelte-1s0fskg"></div> <!>',1);const $i={hash:"svelte-1s0fskg",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");
|
|
1
|
+
(function(Pt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Un=1,Wn=2,Gn=16,Jn=1,Kn=2,Lt="[",Ge="[!",dt="]",_e={},A=Symbol(),Xn="http://www.w3.org/1999/xhtml",ht=!1;var Ft=Array.isArray,Zn=Array.prototype.indexOf,vt=Array.from,Je=Object.keys,Ke=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,Qn=Object.getOwnPropertyDescriptors,er=Object.prototype,tr=Array.prototype,It=Object.getPrototypeOf,qt=Object.isExtensible;function nr(e){for(var t=0;t<e.length;t++)e[t]()}function jt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const x=2,_t=4,pt=8,ee=16,te=32,ae=64,Xe=128,U=512,N=1024,O=2048,ne=4096,M=8192,re=16384,Ze=32768,Ae=65536,Bt=1<<17,gt=1<<18,pe=1<<19,rr=1<<20,ge=32768,mt=1<<21,wt=1<<22,oe=1<<23,yt=Symbol("$state"),ir=Symbol("legacy props"),sr=Symbol(""),Ne=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},$t=3,ue=8;function fr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function lr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ar(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function or(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ur(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function cr(){throw new Error("https://svelte.dev/e/hydration_failed")}function dr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function hr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function vr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function _r(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Fe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function pr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let _=!1;function W(e){_=e}let m;function T(e){if(e===null)throw Fe(),_e;return m=e}function Ce(){return T(P(m))}function me(e){if(_){if(P(m)!==null)throw Fe(),_e;m=e}}function gr(e=1){if(_){for(var t=e,n=m;t--;)n=P(n);m=n}}function Qe(e=!0){for(var t=0,n=m;;){if(n.nodeType===ue){var r=n.data;if(r===dt){if(t===0)return n;t-=1}else(r===Lt||r===Ge)&&(t+=1)}var i=P(n);e&&n.remove(),n=i}}function zt(e){if(!e||e.nodeType!==ue)throw Fe(),_e;return e.data}function Ht(e){return e===this.v}function mr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Vt(e){return!mr(e,this.v)}let wr=!1,F=null;function Se(e){F=e}function Yt(e,t=!1,n){F={p:F,i:!1,c:null,e:null,s:e,x:null,l:null}}function Ut(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)_n(r)}return e!==void 0&&(t.x=e),t.i=!0,F=t.p,e??{}}function Wt(){return!0}let we=[];function Gt(){var e=we;we=[],nr(e)}function bt(e){if(we.length===0&&!Ie){var t=we;queueMicrotask(()=>{t===we&&Gt()})}we.push(e)}function yr(){for(;we.length>0;)Gt()}function Jt(e){var t=g;if(t===null)return p.f|=oe,e;if((t.f&Ze)===0){if((t.f&Xe)===0)throw e;t.b.error(e)}else Re(e,t)}function Re(e,t){for(;t!==null;){if((t.f&Xe)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const et=new Set;let b=null,I=null,q=[],tt=null,Et=!1,Ie=!1;class G{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#a=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){q=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#f(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(b=null,Xt(n.render_effects),Xt(n.effects),this.#a?.resolve()),I=null}#f(t,n){t.f^=N;for(var r=t.first;r!==null;){var i=r.f,s=(i&(te|ae))!==0,f=s&&(i&N)!==0,l=f||(i&M)!==0||this.skipped_effects.has(r);if((r.f&Xe)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){s?r.f^=N:(i&_t)!==0?n.effects.push(r):Ue(r)&&((r.f&ee)!==0&&n.block_effects.push(r),We(r));var a=r.first;if(a!==null){r=a;continue}}var o=r.parent;for(r=r.next;r===null&&o!==null;)o===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=o.next,o=o.parent}}#l(t){for(const n of t)((n.f&O)!==0?this.#s:this.#i).push(n),this.#o(n.deps),C(n,N)}#o(t){if(t!==null)for(const n of t)(n.f&x)===0||(n.f&ge)===0||(n.f^=ge,this.#o(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&oe)===0&&(this.current.set(t,t.v),I?.set(t,t.v))}activate(){b=this,this.apply()}deactivate(){b===this&&(b=null,I=null)}flush(){if(this.activate(),q.length>0){if(Kt(),b!==null&&b!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(et.size>1){this.previous.clear();var t=I,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of et){if(s===this){n=!1;continue}const f=[];for(const[a,o]of this.current){if(s.current.has(a))if(n&&o!==s.current.get(a))s.current.set(a,o);else continue;f.push(a)}if(f.length===0)continue;const l=[...s.current.keys()].filter(a=>!this.current.has(a));if(l.length>0){var i=q;q=[];const a=new Set,o=new Map;for(const u of f)Zt(u,l,a,o);if(q.length>0){b=s,s.apply();for(const u of q)s.#f(u,r);s.deactivate()}q=i}}b=null,I=t}this.committed=!0,et.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)C(t,O),ye(t);for(const t of this.#i)C(t,ne),ye(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#a??=jt()).promise}static ensure(){if(b===null){const t=b=new G;et.add(b),Ie||G.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){bt(t)}apply(){}}function qe(e){var t=Ie;Ie=!0;try{for(var n;;){if(yr(),q.length===0&&(b?.flush(),q.length===0))return tt=null,n;Kt()}}finally{Ie=t}}function Kt(){var e=he;Et=!0;var t=null;try{var n=0;for(st(!0);q.length>0;){var r=G.ensure();if(n++>1e3){var i,s;$r()}r.process(q),ce.clear()}}finally{Et=!1,st(e),tt=null}}function $r(){try{ur()}catch(e){Re(e,tt)}}let ie=null;function Xt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(re|M))===0&&Ue(r)&&(ie=new Set,We(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?yn(r):r.fn=null),ie?.size>0)){ce.clear();for(const i of ie){if((i.f&(re|M))!==0)continue;const s=[i];let f=i.parent;for(;f!==null;)ie.has(f)&&(ie.delete(f),s.push(f)),f=f.parent;for(let l=s.length-1;l>=0;l--){const a=s[l];(a.f&(re|M))===0&&We(a)}}ie.clear()}}ie=null}}function Zt(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&x)!==0?Zt(i,t,n,r):(s&(wt|ee))!==0&&(s&O)===0&&Qt(i,t,r)&&(C(i,O),ye(i))}}function Qt(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(t.includes(i))return!0;if((i.f&x)!==0&&Qt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ye(e){for(var t=tt=e;t.parent!==null;){t=t.parent;var n=t.f;if(Et&&t===g&&(n&ee)!==0&&(n>)===0)return;if((n&(ae|te))!==0){if((n&N)===0)return;t.f^=N}}q.push(t)}function br(e){let t=0,n=$e(0),r;return()=>{rt()&&($(n),pn(()=>(t===0&&(r=Wr(()=>e(()=>Be(n)))),t+=1,()=>{bt(()=>{t-=1,t===0&&(r?.(),r=void 0,Be(n))})})))}}var Er=Ae|pe|Xe;function kr(e,t,n){new xr(e,t,n)}class xr{parent;#t=!1;#e;#n=_?m:null;#r;#a;#s;#i=null;#f=null;#l=null;#o=null;#u=null;#c=0;#d=0;#v=!1;#h=null;#w=br(()=>(this.#h=$e(this.#c),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#a=r,this.parent=g.b,this.#t=!!this.#r.pending,this.#s=it(()=>{if(g.b=this,_){const s=this.#n;Ce(),s.nodeType===ue&&s.data===Ge?this.#$():this.#y()}else{var i=this.#g();try{this.#i=z(()=>r(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},Er),_&&(this.#e=m)}#y(){try{this.#i=z(()=>this.#a(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#r.pending;t&&(this.#f=z(()=>t(this.#e)),G.enqueue(()=>{var n=this.#g();this.#i=this.#_(()=>(G.ensure(),z(()=>this.#a(n)))),this.#d>0?this.#p():(Oe(this.#f,()=>{this.#f=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=j(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=g,r=p,i=F;Z(this.#s),D(this.#s),Se(this.#s.ctx);try{return t()}catch(s){return Jt(s),null}finally{Z(n),D(r),Se(i)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#u),En(this.#i,this.#o)),this.#f===null&&(this.#f=z(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#f&&Oe(this.#f,()=>{this.#f=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#h&&je(this.#h,this.#c)}get_effect_pending(){return this.#w(),$(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(S(this.#i),this.#i=null),this.#f&&(S(this.#f),this.#f=null),this.#l&&(S(this.#l),this.#l=null),_&&(T(this.#n),gr(),T(Qe()));var i=!1,s=!1;const f=()=>{if(i){pr();return}i=!0,s&&_r(),G.ensure(),this.#c=0,this.#l!==null&&Oe(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,z(()=>this.#a(this.#e)))),this.#d>0?this.#p():this.#t=!1};var l=p;try{D(null),s=!0,n?.(t,f),s=!1}catch(a){Re(a,this.#s&&this.#s.parent)}finally{D(l)}r&&bt(()=>{this.#l=this.#_(()=>{G.ensure(),this.#v=!0;try{return z(()=>{r(this.#e,()=>t,()=>f)})}catch(a){return Re(a,this.#s.parent),null}finally{this.#v=!1}})})}}function Tr(e,t,n){for(var r=[],i=t.length,s=0;s<i;s++)St(t[s].e,r,!0);$n(r,()=>{var f=r.length===0&&n!==null;if(f){var l=n,a=l.parentNode;dn(a),a.append(l),e.items.clear(),J(e,t[0].prev,t[i-1].next)}for(var o=0;o<i;o++){var u=t[o];f||(e.items.delete(u.k),J(e,u.prev,u.next)),S(u.e,!f)}e.first===t[0]&&(e.first=t[0].prev)})}function en(e,t,n,r,i,s=null){var f=e,l=new Map,a=null;{var o=e;f=_?T(B(o)):o.appendChild(j())}_&&Ce();var u=null,d=Or(()=>{var y=n();return Ft(y)?y:y==null?[]:vt(y)}),c,h=!0;function v(){Ar(k,c,f,t,r),u!==null&&(c.length===0?(u.fragment?(f.before(u.fragment),u.fragment=null):Rt(u.effect),w.first=u.effect):Oe(u.effect,()=>{u=null}))}var w=it(()=>{c=$(d);var y=c.length;let E=!1;if(_){var le=zt(f)===Ge;le!==(y===0)&&(f=Qe(),T(f),W(!1),E=!0)}for(var V=new Set,Y=b,ve=null,ut=hn(),Le=0;Le<y;Le+=1){_&&m.nodeType===ue&&m.data===dt&&(f=m,E=!0,W(!1));var Mt=c[Le],ct=r(Mt,Le),Q=h?null:l.get(ct);Q?(je(Q.v,Mt),Q.i=Le,ut&&Y.skipped_effects.delete(Q.e)):(Q=Nr(h?f:null,ve,Mt,ct,Le,i,t,n),h&&(Q.o=!0,ve===null?a=Q:ve.next=Q,ve=Q),l.set(ct,Q)),V.add(ct)}if(y===0&&s&&!u)if(h)u={fragment:null,effect:z(()=>s(f))};else{var Vn=document.createDocumentFragment(),Yn=j();Vn.append(Yn),u={fragment:Vn,effect:z(()=>s(Yn))}}if(_&&y>0&&T(Qe()),!h)if(ut){for(const[bi,Ei]of l)V.has(bi)||Y.skipped_effects.add(Ei.e);Y.oncommit(v),Y.ondiscard(()=>{})}else v();E&&W(!0),$(d)}),k={effect:w,items:l,first:a};h=!1,_&&(f=m)}function Ar(e,t,n,r,i){var s=t.length,f=e.items,l=e.first,a,o=null,u=[],d=[],c,h,v,w;for(w=0;w<s;w+=1){if(c=t[w],h=i(c,w),v=f.get(h),e.first??=v,!v.o){v.o=!0;var k=o?o.next:l;J(e,o,v),J(e,v,k),kt(v,k,n),o=v,u=[],d=[],l=o.next;continue}if((v.e.f&M)!==0&&Rt(v.e),v!==l){if(a!==void 0&&a.has(v)){if(u.length<d.length){var y=d[0],E;o=y.prev;var le=u[0],V=u[u.length-1];for(E=0;E<u.length;E+=1)kt(u[E],y,n);for(E=0;E<d.length;E+=1)a.delete(d[E]);J(e,le.prev,V.next),J(e,o,le),J(e,V,y),l=y,o=V,w-=1,u=[],d=[]}else a.delete(v),kt(v,l,n),J(e,v.prev,v.next),J(e,v,o===null?e.first:o.next),J(e,o,v),o=v;continue}for(u=[],d=[];l!==null&&l.k!==h;)(l.e.f&M)===0&&(a??=new Set).add(l),d.push(l),l=l.next;if(l===null)continue;v=l}u.push(v),o=v,l=v.next}if(l!==null||a!==void 0){for(var Y=a===void 0?[]:vt(a);l!==null;)(l.e.f&M)===0&&Y.push(l),l=l.next;var ve=Y.length;if(ve>0){var ut=s===0?n:null;Tr(e,Y,ut)}}}function Nr(e,t,n,r,i,s,f,l){var a=(f&Un)!==0,o=(f&Gn)===0,u=a?o?sn(n,!1,!1):$e(n):n,d=(f&Wn)===0?i:$e(i),c={i:d,v:u,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var h=document.createDocumentFragment();h.append(e=j())}return c.e=z(()=>s(e,u,d,l)),t!==null&&(t.next=c),c}finally{}}function kt(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==null&&s!==r;){var f=P(s);i.before(s),s=f}}function J(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Cr(e,t,n,r){const i=xt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=b,f=g,l=Sr();function a(){Promise.all(n.map(o=>Rr(o))).then(o=>{l();try{r([...t.map(i),...o])}catch(u){(f.f&re)===0&&Re(u,f)}s?.deactivate(),nt()}).catch(o=>{Re(o,f)})}e.length>0?Promise.all(e).then(()=>{l();try{return a()}finally{s?.deactivate(),nt()}}):a()}function Sr(){var e=g,t=p,n=F,r=b;return function(s=!0){Z(e),D(t),Se(n),s&&r?.activate()}}function nt(){Z(null),D(null),Se(null)}function xt(e){var t=x|O,n=p!==null&&(p.f&x)!==0?p:null;return g!==null&&(g.f|=pe),{ctx:F,deps:null,effects:null,equals:Ht,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:n??g,ac:null}}function Rr(e,t){let n=g;n===null&&fr();var r=n.b,i=void 0,s=$e(A),f=!p,l=new Map;return zr(()=>{var a=jt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).then(()=>{o===b&&o.committed&&o.deactivate(),nt()})}catch(c){a.reject(c),nt()}var o=b;if(f){var u=!r.is_pending();r.update_pending_count(1),o.increment(u),l.get(o)?.reject(Ne),l.delete(o),l.set(o,a)}const d=(c,h=void 0)=>{if(o.activate(),h)h!==Ne&&(s.f|=oe,je(s,h));else{(s.f&oe)!==0&&(s.f^=oe),je(s,c);for(const[v,w]of l){if(l.delete(v),v===o)break;w.reject(Ne)}}f&&(r.update_pending_count(-1),o.decrement(u))};a.promise.then(d,c=>d(null,c||"unknown"))}),Fr(()=>{for(const a of l.values())a.reject(Ne)}),new Promise(a=>{function o(u){function d(){u===i?a(s):o(i)}u.then(d,d)}o(i)})}function Or(e){const t=xt(e);return t.equals=Vt,t}function tn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)S(t[n])}}function Dr(e){for(var t=e.parent;t!==null;){if((t.f&x)===0)return(t.f&re)===0?t:null;t=t.parent}return null}function Tt(e){var t,n=g;Z(Dr(e));try{e.f&=~ge,tn(e),t=Cn(e)}finally{Z(n)}return t}function nn(e){var t=Tt(e);if(e.equals(t)||(b?.is_fork||(e.v=t),e.wv=An()),!be)if(I!==null)rt()&&I.set(e,t);else{var n=(e.f&U)===0?ne:N;C(e,n)}}let At=new Set;const ce=new Map;let rn=!1;function $e(e,t){var n={f:0,v:e,reactions:null,equals:Ht,rv:0,wv:0};return n}function de(e,t){const n=$e(e);return Vr(n),n}function sn(e,t=!1,n=!0){const r=$e(e);return t||(r.equals=Vt),r}function se(e,t,n=!1){p!==null&&(!X||(p.f&Bt)!==0)&&Wt()&&(p.f&(x|ee|wt|Bt))!==0&&!fe?.includes(e)&&vr();let r=n?ze(t):t;return je(e,r)}function je(e,t){if(!e.equals(t)){var n=e.v;be?ce.set(e,t):ce.set(e,n),e.v=t;var r=G.ensure();r.capture(e,n),(e.f&x)!==0&&((e.f&O)!==0&&Tt(e),C(e,(e.f&U)!==0?N:ne)),e.wv=An(),fn(e,O),g!==null&&(g.f&N)!==0&&(g.f&(te|ae))===0&&(H===null?Yr([e]):H.push(e)),!r.is_fork&&At.size>0&&!rn&&Mr()}return t}function Mr(){rn=!1;var e=he;st(!0);const t=Array.from(At);try{for(const n of t)(n.f&N)!==0&&C(n,ne),Ue(n)&&We(n)}finally{st(e)}At.clear()}function Be(e){se(e,e.v+1)}function fn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],f=s.f,l=(f&O)===0;if(l&&C(s,t),(f&x)!==0){var a=s;I?.delete(a),(f&ge)===0&&(f&U&&(s.f|=ge),fn(a,ne))}else l&&((f&ee)!==0&&ie!==null&&ie.add(s),ye(s))}}function ze(e){if(typeof e!="object"||e===null||yt in e)return e;const t=It(e);if(t!==er&&t!==tr)return e;var n=new Map,r=Ft(e),i=de(0),s=Ee,f=l=>{if(Ee===s)return l();var a=p,o=Ee;D(null),Tn(s);var u=l();return D(a),Tn(o),u};return r&&n.set("length",de(e.length)),new Proxy(e,{defineProperty(l,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&dr();var u=n.get(a);return u===void 0?u=f(()=>{var d=de(o.value);return n.set(a,d),d}):se(u,o.value,!0),!0},deleteProperty(l,a){var o=n.get(a);if(o===void 0){if(a in l){const u=f(()=>de(A));n.set(a,u),Be(i)}}else se(o,A),Be(i);return!0},get(l,a,o){if(a===yt)return e;var u=n.get(a),d=a in l;if(u===void 0&&(!d||Te(l,a)?.writable)&&(u=f(()=>{var h=ze(d?l[a]:A),v=de(h);return v}),n.set(a,u)),u!==void 0){var c=$(u);return c===A?void 0:c}return Reflect.get(l,a,o)},getOwnPropertyDescriptor(l,a){var o=Reflect.getOwnPropertyDescriptor(l,a);if(o&&"value"in o){var u=n.get(a);u&&(o.value=$(u))}else if(o===void 0){var d=n.get(a),c=d?.v;if(d!==void 0&&c!==A)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return o},has(l,a){if(a===yt)return!0;var o=n.get(a),u=o!==void 0&&o.v!==A||Reflect.has(l,a);if(o!==void 0||g!==null&&(!u||Te(l,a)?.writable)){o===void 0&&(o=f(()=>{var c=u?ze(l[a]):A,h=de(c);return h}),n.set(a,o));var d=$(o);if(d===A)return!1}return u},set(l,a,o,u){var d=n.get(a),c=a in l;if(r&&a==="length")for(var h=o;h<d.v;h+=1){var v=n.get(h+"");v!==void 0?se(v,A):h in l&&(v=f(()=>de(A)),n.set(h+"",v))}if(d===void 0)(!c||Te(l,a)?.writable)&&(d=f(()=>de(void 0)),se(d,ze(o)),n.set(a,d));else{c=d.v!==A;var w=f(()=>ze(o));se(d,w)}var k=Reflect.getOwnPropertyDescriptor(l,a);if(k?.set&&k.set.call(u,o),!c){if(r&&typeof a=="string"){var y=n.get("length"),E=Number(a);Number.isInteger(E)&&E>=y.v&&se(y,E+1)}Be(i)}return!0},ownKeys(l){$(i);var a=Reflect.ownKeys(l).filter(d=>{var c=n.get(d);return c===void 0||c.v!==A});for(var[o,u]of n)u.v!==A&&!(o in l)&&a.push(o);return a},setPrototypeOf(){hr()}})}var ln,an,on,un;function Nt(){if(ln===void 0){ln=window,an=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;on=Te(t,"firstChild").get,un=Te(t,"nextSibling").get,qt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),qt(n)&&(n.__t=void 0)}}function j(e=""){return document.createTextNode(e)}function B(e){return on.call(e)}function P(e){return un.call(e)}function He(e,t){if(!_)return B(e);var n=B(m);if(n===null)n=m.appendChild(j());else if(t&&n.nodeType!==$t){var r=j();return n?.before(r),T(r),r}return T(n),n}function cn(e,t=!1){if(!_){var n=B(e);return n instanceof Comment&&n.data===""?P(n):n}if(t&&m?.nodeType!==$t){var r=j();return m?.before(r),T(r),r}return m}function Ve(e,t=1,n=!1){let r=_?m:e;for(var i;t--;)i=r,r=P(r);if(!_)return r;if(n&&r?.nodeType!==$t){var s=j();return r===null?i?.after(s):r.before(s),T(s),s}return T(r),r}function dn(e){e.textContent=""}function hn(){return!1}function vn(e){var t=p,n=g;D(null),Z(null);try{return e()}finally{D(t),Z(n)}}function Pr(e){g===null&&(p===null&&or(),ar()),be&&lr()}function Lr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function K(e,t,n){var r=g;r!==null&&(r.f&M)!==0&&(e|=M);var i={ctx:F,deps:null,nodes_start:null,nodes_end:null,f:e|O|U,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{We(i),i.f|=Ze}catch(l){throw S(i),l}else t!==null&&ye(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&pe)===0&&(s=s.first,(e&ee)!==0&&(e&Ae)!==0&&s!==null&&(s.f|=Ae)),s!==null&&(s.parent=r,r!==null&&Lr(s,r),p!==null&&(p.f&x)!==0&&(e&ae)===0)){var f=p;(f.effects??=[]).push(s)}return i}function rt(){return p!==null&&!X}function Fr(e){const t=K(pt,null,!1);return C(t,N),t.teardown=e,t}function Ir(e){Pr();var t=g.f,n=!p&&(t&te)!==0&&(t&Ze)===0;if(n){var r=F;(r.e??=[]).push(e)}else return _n(e)}function _n(e){return K(_t|rr,e,!1)}function qr(e){G.ensure();const t=K(ae|pe,e,!0);return()=>{S(t)}}function jr(e){G.ensure();const t=K(ae|pe,e,!0);return(n={})=>new Promise(r=>{n.outro?Oe(t,()=>{S(t),r(void 0)}):(S(t),r(void 0))})}function Br(e){return K(_t,e,!1)}function zr(e){return K(wt|pe,e,!0)}function pn(e,t=0){return K(pt|t,e,!0)}function Ct(e,t=[],n=[],r=[]){Cr(r,t,n,i=>{K(pt,()=>e(...i.map($)),!0)})}function it(e,t=0){var n=K(ee|t,e,!0);return n}function z(e){return K(te|pe,e,!0)}function gn(e){var t=e.teardown;if(t!==null){const n=be,r=p;kn(!0),D(null);try{t.call(null)}finally{kn(n),D(r)}}}function mn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&vn(()=>{i.abort(Ne)});var r=n.next;(n.f&ae)!==0?n.parent=null:S(n,t),n=r}}function Hr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&te)===0&&S(t),t=n}}function S(e,t=!0){var n=!1;(t||(e.f>)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(wn(e.nodes_start,e.nodes_end),n=!0),mn(e,t&&!n),ft(e,0),C(e,re);var r=e.transitions;if(r!==null)for(const s of r)s.stop();gn(e);var i=e.parent;i!==null&&i.first!==null&&yn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function wn(e,t){for(;e!==null;){var n=e===t?null:P(e);e.remove(),e=n}}function yn(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 Oe(e,t,n=!0){var r=[];St(e,r,!0),$n(r,()=>{n&&S(e),t&&t()})}function $n(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function St(e,t,n){if((e.f&M)===0){if(e.f^=M,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Ae)!==0||(r.f&te)!==0&&(e.f&ee)!==0;St(r,t,s?n:!1),r=i}}}function Rt(e){bn(e,!0)}function bn(e,t){if((e.f&M)!==0){e.f^=M,(e.f&N)===0&&(C(e,O),ye(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ae)!==0||(n.f&te)!==0;bn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function En(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:P(n);t.append(n),n=i}}let he=!1;function st(e){he=e}let be=!1;function kn(e){be=e}let p=null,X=!1;function D(e){p=e}let g=null;function Z(e){g=e}let fe=null;function Vr(e){p!==null&&(fe===null?fe=[e]:fe.push(e))}let R=null,L=0,H=null;function Yr(e){H=e}let xn=1,Ye=0,Ee=Ye;function Tn(e){Ee=e}function An(){return++xn}function Ue(e){var t=e.f;if((t&O)!==0)return!0;if(t&x&&(e.f&=~ge),(t&ne)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(Ue(s)&&nn(s),s.wv>e.wv)return!0}(t&U)!==0&&I===null&&C(e,N)}return!1}function Nn(e,t,n=!0){var r=e.reactions;if(r!==null&&!fe?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&x)!==0?Nn(s,t,!1):t===s&&(n?C(s,O):(s.f&N)!==0&&C(s,ne),ye(s))}}function Cn(e){var t=R,n=L,r=H,i=p,s=fe,f=F,l=X,a=Ee,o=e.f;R=null,L=0,H=null,p=(o&(te|ae))===0?e:null,fe=null,Se(e.ctx),X=!1,Ee=++Ye,e.ac!==null&&(vn(()=>{e.ac.abort(Ne)}),e.ac=null);try{e.f|=mt;var u=e.fn,d=u(),c=e.deps;if(R!==null){var h;if(ft(e,L),c!==null&&L>0)for(c.length=L+R.length,h=0;h<R.length;h++)c[L+h]=R[h];else e.deps=c=R;if(he&&rt()&&(e.f&U)!==0)for(h=L;h<c.length;h++)(c[h].reactions??=[]).push(e)}else c!==null&&L<c.length&&(ft(e,L),c.length=L);if(Wt()&&H!==null&&!X&&c!==null&&(e.f&(x|ne|O))===0)for(h=0;h<H.length;h++)Nn(H[h],e);return i!==null&&i!==e&&(Ye++,H!==null&&(r===null?r=H:r.push(...H))),(e.f&oe)!==0&&(e.f^=oe),d}catch(v){return Jt(v)}finally{e.f^=mt,R=t,L=n,H=r,p=i,fe=s,Se(f),X=l,Ee=a}}function Ur(e,t){let n=t.reactions;if(n!==null){var r=Zn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&x)!==0&&(R===null||!R.includes(t))&&(C(t,ne),(t.f&U)!==0&&(t.f^=U,t.f&=~ge),tn(t),ft(t,0))}function ft(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ur(e,n[r])}function We(e){var t=e.f;if((t&re)===0){C(e,N);var n=g,r=he;g=e,he=!0;try{(t&ee)!==0?Hr(e):mn(e),gn(e);var i=Cn(e);e.teardown=typeof i=="function"?i:null,e.wv=xn;var s;ht&&wr&&(e.f&O)!==0&&e.deps}finally{he=r,g=n}}}function $(e){var t=e.f,n=(t&x)!==0;if(p!==null&&!X){var r=g!==null&&(g.f&re)!==0;if(!r&&!fe?.includes(e)){var i=p.deps;if((p.f&mt)!==0)e.rv<Ye&&(e.rv=Ye,R===null&&i!==null&&i[L]===e?L++:R===null?R=[e]:R.includes(e)||R.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:s.includes(p)||s.push(p)}}}if(be){if(ce.has(e))return ce.get(e);if(n){var f=e,l=f.v;return((f.f&N)===0&&f.reactions!==null||Rn(f))&&(l=Tt(f)),ce.set(f,l),l}}else n&&!I?.has(e)&&(f=e,Ue(f)&&nn(f),he&&rt()&&(f.f&U)===0&&Sn(f));if(I?.has(e))return I.get(e);if((e.f&oe)!==0)throw e.v;return e.v}function Sn(e){if(e.deps!==null){e.f^=U;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&x)!==0&&(t.f&U)===0&&Sn(t)}}function Rn(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ce.has(t)||(t.f&x)!==0&&Rn(t))return!0;return!1}function Wr(e){var t=X;try{return X=!0,e()}finally{X=t}}const Gr=-7169;function C(e,t){e.f=e.f&Gr|t}const On=new Set,Ot=new Set;function Jr(e){for(var t=0;t<e.length;t++)On.add(e[t]);for(var n of Ot)n(e)}let Dn=null;function lt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Dn=e;var f=0,l=Dn===e&&e.__root;if(l){var a=i.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;a<=o&&(f=a)}if(s=i[f]||e.target,s!==t){Ke(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=p,d=g;D(null),Z(null);try{for(var c,h=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var w=s["__"+r];w!=null&&(!s.disabled||e.target===s)&&w.call(s,e)}catch(k){c?h.push(k):c=k}if(e.cancelBubble||v===t||v===null)break;s=v}if(c){for(let k of h)queueMicrotask(()=>{throw k});throw c}}finally{e.__root=t,delete e.currentTarget,D(u),Z(d)}}}function Mn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function De(e,t){var n=g;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Me(e,t){var n=(t&Jn)!==0,r=(t&Kn)!==0,i,s=!e.startsWith("<!>");return()=>{if(_)return De(m,null),m;i===void 0&&(i=Mn(s?e:"<!>"+e),n||(i=B(i)));var f=r||an?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=B(f),a=f.lastChild;De(l,a)}else De(f,f);return f}}function ke(e,t){if(_){var n=g;((n.f&Ze)===0||n.nodes_end===null)&&(n.nodes_end=m),Ce();return}e!==null&&e.before(t)}const Kr=["touchstart","touchmove"];function Xr(e){return Kr.includes(e)}function Pn(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Ln(e,t){return Fn(e,t)}function Zr(e,t){Nt(),t.intro=t.intro??!1;const n=t.target,r=_,i=m;try{for(var s=B(n);s&&(s.nodeType!==ue||s.data!==Lt);)s=P(s);if(!s)throw _e;W(!0),T(s);const f=Fn(e,{...t,anchor:s});return W(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==_e&&console.warn("Failed to hydrate: ",f),t.recover===!1&&cr(),Nt(),dn(n),W(!1),Ln(e,t)}finally{W(r),T(i)}}const Pe=new Map;function Fn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:f=!0}){Nt();var l=new Set,a=d=>{for(var c=0;c<d.length;c++){var h=d[c];if(!l.has(h)){l.add(h);var v=Xr(h);t.addEventListener(h,lt,{passive:v});var w=Pe.get(h);w===void 0?(document.addEventListener(h,lt,{passive:v}),Pe.set(h,1)):Pe.set(h,w+1)}}};a(vt(On)),Ot.add(a);var o=void 0,u=jr(()=>{var d=n??t.appendChild(j());return kr(d,{pending:()=>{}},c=>{if(s){Yt({});var h=F;h.c=s}if(i&&(r.$$events=i),_&&De(c,null),o=e(c,r)||{},_&&(g.nodes_end=m,m===null||m.nodeType!==ue||m.data!==dt))throw Fe(),_e;s&&Ut()}),()=>{for(var c of l){t.removeEventListener(c,lt);var h=Pe.get(c);--h===0?(document.removeEventListener(c,lt),Pe.delete(c)):Pe.set(c,h)}Ot.delete(a),d!==n&&d.parentNode?.removeChild(d)}});return Dt.set(o,u),o}let Dt=new WeakMap;function Qr(e,t){const n=Dt.get(e);return n?(Dt.delete(e),n(t)):Promise.resolve()}class ei{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#a=!0;constructor(t,n=!0){this.anchor=t,this.#a=n}#s=()=>{var t=b;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Rt(r),this.#r.delete(n);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,f]of this.#t){if(this.#t.delete(s),s===t)break;const l=this.#n.get(f);l&&(S(l.effect),this.#n.delete(f))}for(const[s,f]of this.#e){if(s===n||this.#r.has(s))continue;const l=()=>{if(Array.from(this.#t.values()).includes(s)){var o=document.createDocumentFragment();En(f,o),o.append(j()),this.#n.set(s,{effect:f,fragment:o})}else S(f);this.#r.delete(s),this.#e.delete(s)};this.#a||!r?(this.#r.add(s),Oe(f,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(S(i.effect),this.#n.delete(r))};ensure(t,n){var r=b,i=hn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),f=j();s.append(f),this.#n.set(t,{effect:z(()=>n(f)),fragment:s})}else this.#e.set(t,z(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[l,a]of this.#e)l===t?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[l,a]of this.#n)l===t?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else _&&(this.anchor=m),this.#s()}}function In(e,t,n=!1){_&&Ce();var r=new ei(e),i=n?Ae:0;function s(f,l){if(_){const o=zt(e)===Ge;if(f===o){var a=Qe();T(a),r.anchor=a,W(!1),r.ensure(f,l),W(!0);return}}r.ensure(f,l)}it(()=>{var f=!1;t((l,a=!0)=>{f=!0,s(a,l)}),f||s(!1,null)},i)}function ti(e,t,n=!1,r=!1,i=!1){var s=e,f="";Ct(()=>{var l=g;if(f===(f=t()??"")){_&&Ce();return}if(l.nodes_start!==null&&(wn(l.nodes_start,l.nodes_end),l.nodes_start=l.nodes_end=null),f!==""){if(_){m.data;for(var a=Ce(),o=a;a!==null&&(a.nodeType!==ue||a.data!=="");)o=a,a=P(a);if(a===null)throw Fe(),_e;De(m,o),s=T(a);return}var u=f+"";n?u=`<svg>${u}</svg>`:r&&(u=`<math>${u}</math>`);var d=Mn(u);if((n||r)&&(d=B(d)),De(B(d),d.lastChild),n||r)for(;B(d);)s.before(B(d));else s.before(d)}})}function ni(e,t){let n=null,r=_;var i;if(_){n=m;for(var s=B(document.head);s!==null&&(s.nodeType!==ue||s.data!==e);)s=P(s);if(s===null)W(!1);else{var f=P(s);s.remove(),T(f)}}_||(i=document.head.appendChild(j()));try{it(()=>t(i),gt)}finally{r&&(W(!0),T(n))}}function ri(e,t){Br(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function ii(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function si(e,t,n,r,i,s){var f=e.__className;if(_||f!==n||f===void 0){var l=ii(n,r);(!_||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const fi=Symbol("is custom element"),li=Symbol("is html");function qn(e,t,n,r){var i=ai(e);_&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[sr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&oi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ai(e){return e.__attributes??={[fi]:e.nodeName.includes("-"),[li]:e.namespaceURI===Xn}}var jn=new Map;function oi(e){var t=e.getAttribute("is")||e.nodeName,n=jn.get(t);if(n)return n;jn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Qn(i);for(var f in r)r[f].set&&n.push(f);i=It(i)}return n}function at(e,t,n,r){var i=r,s=!0,f=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=f());var a;a=()=>{var c=e[t];return c===void 0?f():(s=!0,c)};var o=!1,u=xt(()=>(o=!1,a())),d=g;return(function(c,h){if(arguments.length>0){const v=h?$(u):c;return se(u,v),o=!0,i!==void 0&&(i=v),c}return be&&o||(d.f&re)!==0?u.v:$(u)})}function ui(e){return new ci(e)}class ci{#t;#e;constructor(t){var n=new Map,r=(s,f)=>{var l=sn(f,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,f){return $(n.get(f)??r(f,Reflect.get(s,f)))},has(s,f){return f===ir?!0:($(n.get(f)??r(f,Reflect.get(s,f))),Reflect.has(s,f))},set(s,f,l){return se(n.get(f)??r(f,l),l),Reflect.set(s,f,l)}});this.#e=(t.hydrate?Zr:Ln)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&qe(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ke(this,s,{get(){return this.#e[s]},set(f){this.#e[s]=f},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Qr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let Bn;typeof HTMLElement=="function"&&(Bn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),ke(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=di(this);for(const 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(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=ot(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ui({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=qr(()=>{pn(()=>{this.$$r=!0;for(const r of Je(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=ot(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=ot(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 Je(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function ot(e,t,n,r){const 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 di(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function hi(e,t,n,r,i,s){let f=class extends Bn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Je(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Je(t).forEach(l=>{Ke(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=ot(l,a,t),this.$$d[l]=a;var o=this.$$c;if(o){var u=Te(o,l)?.get;u?o[l]=a:o.$set({[l]:a})}}})}),r.forEach(l=>{Ke(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}var xe={},zn;function vi(){if(zn)return xe;zn=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.LanguageTranslator=void 0,xe.getChildStyleToPass=e,xe.addComponent=t;function e(r,i){var s,f,l="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((f=i?.filter(function(c){return Object.keys(r).includes(c.name)}))===null||f===void 0)&&f.length))for(var a=function(c){var h=i?.filter(function(v){return v.name===c&&v.defaultValue!==r[c]});h&&(l+="".concat(c,":").concat(r[c],";"))},o=0,u=Object.keys(r);o<u.length;o++){var d=u[o];a(d)}}catch(c){console.error("error getting child style to pass",c)}finally{return l}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var f=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(f),r?.local)l.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var a=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(a+"-",""),"/").concat(f)}document.head.appendChild(l)}catch(o){console.warn(o)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,f){return r.formatDate(i,s,f||this.lang)},r.getDefaultLang=function(){var i,s,f,l="en";return navigator?.languages&&(!((f=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||f===void 0)&&f.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},r.getDictionaryWord=function(i,s,f){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(f&&(!((l=s[f])===null||l===void 0)&&l[i]))return s[f][i];var a="",o=r.getDefaultLang();if(!f||o!==f){var u=s?.[o];u?.[i]&&(a=u[i])}return a},r.formatDate=function(i,s,f){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(f||r.getDefaultLang(),s);return l.format(i)},r})();return xe.LanguageTranslator=n,xe}vi();var _i=Me('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),pi=Me('<div class="break svelte-1s0fskg"></div>'),gi=Me('<!> <div class="topic svelte-1s0fskg"><div class="topic_content svelte-1s0fskg"><i></i> </div></div>',1),mi=Me('<div class="faq-question svelte-1s0fskg"><input type="checkbox" class="panel svelte-1s0fskg"/> <div class="plus svelte-1s0fskg">+</div> <label class="panel-title svelte-1s0fskg"> </label> <div class="panel-content svelte-1s0fskg"><!></div></div>'),wi=Me('<div class="faq-content svelte-1s0fskg"></div>'),yi=Me('<div id="topics" class="svelte-1s0fskg"></div> <!>',1);const $i={hash:"svelte-1s0fskg",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");
|
|
3
3
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}
|
|
4
4
|
@media screen and (min-width: 800px) {#topics.svelte-1s0fskg {display:flex;flex-wrap:wrap;}.topic.svelte-1s0fskg {flex:1;padding:20px;}.topic_content.svelte-1s0fskg {padding:30px;}
|
|
5
5
|
}
|
|
6
6
|
@media screen and (max-width: 800px) {.topic.svelte-1s0fskg {padding:10px;}.topic_content.svelte-1s0fskg {padding:10px;}
|
|
7
|
-
}.break.svelte-1s0fskg {flex-basis:100%;height:0;width:0;}.topic_content.svelte-1s0fskg {border:1px solid black;text-align:center;cursor:pointer;}.faq-header.svelte-1s0fskg {font-size:42px;border-bottom:1px dotted #ccc;padding:24px;}.faq-content.svelte-1s0fskg {margin:0 auto;}.faq-question.svelte-1s0fskg {padding:20px 0;border-bottom:1px dotted #ccc;overflow-x:hidden;}.panel-title.svelte-1s0fskg {font-size:24px;width:100%;position:relative;margin:0;padding:10px 10px 0 50px;display:block;cursor:pointer;}.panel-content.svelte-1s0fskg {font-size:20px;padding:0px 14px;margin:0 40px;height:0;overflow:hidden;z-index:-1;position:relative;opacity:0;-webkit-transition:0.4s ease;-moz-transition:0.4s ease;-o-transition:0.4s ease;transition:0.4s ease;}.panel.svelte-1s0fskg:checked ~ .panel-content:where(.svelte-1s0fskg) {height:auto;opacity:1;padding:14px;}.plus.svelte-1s0fskg {position:absolute;margin-left:20px;margin-top:4px;z-index:5;font-size:42px;line-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;-webkit-transition:0.2s ease;-moz-transition:0.2s ease;-o-transition:0.2s ease;transition:0.2s ease;}.panel.svelte-1s0fskg:checked ~ .plus:where(.svelte-1s0fskg) {-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);}.panel.svelte-1s0fskg {display:none;}i.svelte-1s0fskg {font-size:1.8rem;vertical-align:middle;margin-right:5px;}`};function Hn(e,t){Yt(t,!0),ri(e,$i);let n=at(t,"id",7,""),r=at(t,"info",7,void 0),i=at(t,"topics",7,void 0),s=at(t,"filter",7,void 0);
|
|
7
|
+
}.break.svelte-1s0fskg {flex-basis:100%;height:0;width:0;}.topic_content.svelte-1s0fskg {border:1px solid black;text-align:center;cursor:pointer;}.faq-header.svelte-1s0fskg {font-size:42px;border-bottom:1px dotted #ccc;padding:24px;}.faq-content.svelte-1s0fskg {margin:0 auto;}.faq-question.svelte-1s0fskg {padding:20px 0;border-bottom:1px dotted #ccc;overflow-x:hidden;}.panel-title.svelte-1s0fskg {font-size:24px;width:100%;position:relative;margin:0;padding:10px 10px 0 50px;display:block;cursor:pointer;}.panel-content.svelte-1s0fskg {font-size:20px;padding:0px 14px;margin:0 40px;height:0;overflow:hidden;z-index:-1;position:relative;opacity:0;-webkit-transition:0.4s ease;-moz-transition:0.4s ease;-o-transition:0.4s ease;transition:0.4s ease;}.panel.svelte-1s0fskg:checked ~ .panel-content:where(.svelte-1s0fskg) {height:auto;opacity:1;padding:14px;}.plus.svelte-1s0fskg {position:absolute;margin-left:20px;margin-top:4px;z-index:5;font-size:42px;line-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;-webkit-transition:0.2s ease;-moz-transition:0.2s ease;-o-transition:0.2s ease;transition:0.2s ease;}.panel.svelte-1s0fskg:checked ~ .plus:where(.svelte-1s0fskg) {-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);}.panel.svelte-1s0fskg {display:none;}i.svelte-1s0fskg {font-size:1.8rem;vertical-align:middle;margin-right:5px;}`};function Hn(e,t){Yt(t,!0),ri(e,$i);let n=at(t,"id",7,""),r=at(t,"info",7,void 0),i=at(t,"topics",7,void 0),s=at(t,"filter",7,void 0);Ir(()=>{if(typeof r()=="string")try{r(JSON.parse(r()))}catch(d){console.error("error parsing info",d)}if(typeof i()=="string")try{i(JSON.parse(i()));let d=0;i()?.length&&i(i().map(c=>(c.index=d,d++,c)))}catch(d){console.error("error parsing topics",d)}});var f={get id(){return n()},set id(d=""){n(d),qe()},get info(){return r()},set info(d=void 0){r(d),qe()},get topics(){return i()},set topics(d=void 0){i(d),qe()},get filter(){return s()},set filter(d=void 0){s(d),qe()}},l=yi();ni("1s0fskg",d=>{var c=_i();ke(d,c)});var a=cn(l);en(a,21,()=>Array.isArray(i())?i():[],d=>d.index,(d,c)=>{var h=gi(),v=cn(h);{var w=V=>{var Y=pi();ke(V,Y)};In(v,V=>{$(c).index&&$(c).index%5===0&&V(w)})}var k=Ve(v,2);k.__click=()=>{$(c).catchAll?s(void 0):s($(c).key)};var y=He(k),E=He(y),le=Ve(E);me(y),me(k),Ct(()=>{si(E,1,`bi bi-${$(c).icon??""}`,"svelte-1s0fskg"),Pn(le,` ${$(c).label??""}`)}),ke(d,h)}),me(a);var o=Ve(a,2);{var u=d=>{var c=wi();en(c,21,()=>r().filter(h=>s()?h.topic===s():!0),h=>h.title,(h,v)=>{var w=mi(),k=He(w),y=Ve(k,4),E=He(y,!0);me(y);var le=Ve(y,2),V=He(le);ti(V,()=>$(v).text),me(le),me(w),Ct((Y,ve)=>{qn(k,"id",`q1_${Y??""}`),qn(y,"for",`q1_${ve??""}`),Pn(E,$(v).title)},[()=>$(v).title.replace(/ /g,""),()=>$(v).title.replace(/ /g,"")]),ke(h,w)}),me(c),ke(d,c)};In(o,d=>{Array.isArray(r())&&d(u)})}return ke(e,l),Ut(f)}Jr(["click"]),customElements.define("hb-faq-component",hi(Hn,{id:{},info:{},topics:{},filter:{}},[],[],!0)),Pt.Component=Hn,Object.defineProperty(Pt,Symbol.toStringTag,{value:"Module"})})(this["faq-component"]=this["faq-component"]||{});
|
|
8
8
|
//# sourceMappingURL=main.iife.js.map
|