@htmlbricks/hb-faq-component 0.66.0 → 0.66.2

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 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,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&gt)===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&gt)!==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");
1
+ (function(zt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const lr=1,fr=2,or=16,ar=1,ur=2,Ht="[",wt="[!",Vt="[?",mt="]",ye={},N=Symbol(),Bt="http://www.w3.org/1999/xhtml",cr="http://www.w3.org/2000/svg",dr="http://www.w3.org/1998/Math/MathML",hr=!1;var Yt=Array.isArray,vr=Array.prototype.indexOf,Re=Array.prototype.includes,et=Array.from,tt=Object.keys,nt=Object.defineProperty,Oe=Object.getOwnPropertyDescriptor,_r=Object.getOwnPropertyDescriptors,pr=Object.prototype,gr=Array.prototype,Ut=Object.getPrototypeOf,Gt=Object.isExtensible;const wr=()=>{};function mr(e){for(var t=0;t<e.length;t++)e[t]()}function Wt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const A=2,De=4,rt=8,Jt=1<<24,ae=16,J=32,ue=64,yt=128,j=512,x=1024,C=2048,Q=4096,L=8192,z=16384,ce=32768,Kt=1<<25,Le=65536,Xt=1<<17,Zt=1<<18,de=1<<19,yr=1<<20,re=1<<25,be=65536,bt=1<<21,$t=1<<22,he=1<<23,Et=Symbol("$state"),br=Symbol("legacy props"),$r=Symbol(""),ie=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Er=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),it=3,$e=8;function kr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Tr(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function xr(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 Sr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Nr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Cr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Mr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Rr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Or(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Dr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ve(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Lr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function K(e){m=e}let y;function S(e){if(e===null)throw Ve(),ye;return y=e}function Pe(){return S(I(y))}function Ee(e){if(m){if(I(y)!==null)throw Ve(),ye;y=e}}function Pr(e=1){if(m){for(var t=e,n=y;t--;)n=I(n);y=n}}function st(e=!0){for(var t=0,n=y;;){if(n.nodeType===$e){var r=n.data;if(r===mt){if(t===0)return n;t-=1}else(r===Ht||r===wt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=I(n);e&&n.remove(),n=i}}function Qt(e){if(!e||e.nodeType!==$e)throw Ve(),ye;return e.data}function en(e){return e===this.v}function Ir(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function tn(e){return!Ir(e,this.v)}let Fr=!1,H=null;function Ie(e){H=e}function nn(e,t=!1,n){H={p:H,i:!1,c:null,e:null,s:e,x:null,r:w,l:null}}function rn(e){var t=H,n=t.e;if(n!==null){t.e=null;for(var r of n)Cn(r)}return e!==void 0&&(t.x=e),t.i=!0,H=t.p,e??{}}function sn(){return!0}let ke=[];function ln(){var e=ke;ke=[],mr(e)}function Fe(e){if(ke.length===0&&!Be){var t=ke;queueMicrotask(()=>{t===ke&&ln()})}ke.push(e)}function qr(){for(;ke.length>0;)ln()}function fn(e){var t=w;if(t===null)return g.f|=he,e;if((t.f&ce)===0&&(t.f&De)===0)throw e;ve(e,t)}function ve(e,t){for(;t!==null;){if((t.f&yt)!==0){if((t.f&ce)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const jr=-7169;function T(e,t){e.f=e.f&jr|t}function kt(e){(e.f&j)!==0||e.deps===null?T(e,x):T(e,Q)}function on(e){if(e!==null)for(const t of e)(t.f&A)===0||(t.f&be)===0||(t.f^=be,on(t.deps))}function an(e,t,n){(e.f&C)!==0?t.add(e):(e.f&Q)!==0&&n.add(e),on(e.deps),T(e,x)}const _e=new Set;let E=null,X=null,Tt=null,Be=!1,xt=!1,qe=null,lt=null;var un=0;let zr=1;class se{id=zr++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#f=new Set;#o=new Map;is_fork=!1;#c=!1;#a=new Set;#d(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#a)for(const i of r.#i.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)T(r,C),this.schedule(r);for(r of n.m)T(r,Q),this.schedule(r)}}#h(){if(un++>1e3&&(_e.delete(this),Hr()),!this.#d()){for(const l of this.#l)this.#f.delete(l),T(l,C),this.schedule(l);for(const l of this.#f)T(l,Q),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=qe=[],r=[],i=lt=[];for(const l of t)try{this.#u(l,n,r)}catch(a){throw _n(l),a}if(E=null,i.length>0){var s=se.ensure();for(const l of i)s.schedule(l)}if(qe=null,lt=null,this.#d()||this.#v()){this.#_(r),this.#_(n);for(const[l,a]of this.#o)vn(l,a)}else{this.#t.size===0&&_e.delete(this),this.#l.clear(),this.#f.clear();for(const l of this.#e)l(this);this.#e.clear(),cn(r),cn(n),this.#s?.resolve()}var f=E;if(this.#r.length>0){const l=f??=this;l.#r.push(...this.#r.filter(a=>!l.#r.includes(a)))}f!==null&&(_e.add(f),f.#h()),_e.has(this)||this.#p()}#u(t,n,r){t.f^=x;for(var i=t.first;i!==null;){var s=i.f,f=(s&(J|ue))!==0,l=f&&(s&x)!==0,a=l||(s&L)!==0||this.#o.has(i);if(!a&&i.fn!==null){f?i.f^=x:(s&De)!==0?n.push(i):Je(i)&&((s&ae)!==0&&this.#f.add(i),ze(i));var o=i.first;if(o!==null){i=o;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)an(t[n],this.#l,this.#f)}capture(t,n,r=!1){n!==N&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&he)===0&&(this.current.set(t,[t.v,r]),X?.set(t,t.v))}activate(){E=this}deactivate(){E=null,X=null}flush(){try{xt=!0,E=this,this.#h()}finally{un=0,Tt=null,qe=null,lt=null,xt=!1,E=null,X=null,pe.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),_e.delete(this)}#p(){for(const o of _e){var t=o.id<this.id,n=[];for(const[u,[v,d]]of this.current){if(o.current.has(u)){var r=o.current.get(u)[0];if(t&&v!==r)o.current.set(u,[v,d]);else continue}n.push(u)}var i=[...o.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&o.discard();else if(n.length>0){o.activate();var s=new Set,f=new Map;for(var l of n)dn(l,i,s,f);if(o.#r.length>0){o.apply();for(var a of o.#r)o.#u(a,[],[]);o.#r=[]}o.deactivate()}}for(const o of _e)o.#a.has(this)&&(o.#a.delete(this),o.#a.size===0&&!o.#d()&&(o.activate(),o.#h()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,Fe(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#f.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Wt()).promise}static ensure(){if(E===null){const t=E=new se;xt||(_e.add(E),Be||Fe(()=>{E===t&&t.flush()}))}return E}apply(){{X=null;return}}schedule(t){if(Tt=t,t.b?.is_pending&&(t.f&(De|rt|Jt))!==0&&(t.f&ce)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(qe!==null&&n===w&&(g===null||(g.f&A)===0))return;if((r&(ue|J))!==0){if((r&x)===0)return;n.f^=x}}this.#r.push(n)}}function Ye(e){var t=Be;Be=!0;try{for(var n;;){if(qr(),E===null)return n;E.flush()}}finally{Be=t}}function Hr(){try{Nr()}catch(e){ve(e,Tt)}}let le=null;function cn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(z|L))===0&&Je(r)&&(le=new Set,ze(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Dn(r),le?.size>0)){pe.clear();for(const i of le){if((i.f&(z|L))!==0)continue;const s=[i];let f=i.parent;for(;f!==null;)le.has(f)&&(le.delete(f),s.push(f)),f=f.parent;for(let l=s.length-1;l>=0;l--){const a=s[l];(a.f&(z|L))===0&&ze(a)}}le.clear()}}le=null}}function dn(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&A)!==0?dn(i,t,n,r):(s&($t|ae))!==0&&(s&C)===0&&hn(i,t,r)&&(T(i,C),At(i))}}function hn(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(Re.call(t,i))return!0;if((i.f&A)!==0&&hn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function At(e){E.schedule(e)}function vn(e,t){if(!((e.f&J)!==0&&(e.f&x)!==0)){(e.f&C)!==0?t.d.push(e):(e.f&Q)!==0&&t.m.push(e),T(e,x);for(var n=e.first;n!==null;)vn(n,t),n=n.next}}function _n(e){T(e,x);for(var t=e.first;t!==null;)_n(t),t=t.next}function Vr(e){let t=0,n=Te(0),r;return()=>{Rt()&&(k(n),Mn(()=>(t===0&&(r=hi(()=>e(()=>Ue(n)))),t+=1,()=>{Fe(()=>{t-=1,t===0&&(r?.(),r=void 0,Ue(n))})})))}}var Br=Le|de;function Yr(e,t,n,r){new Ur(e,t,n,r)}class Ur{parent;is_pending=!1;transform_error;#e;#n=m?y:null;#t;#i;#s;#r=null;#l=null;#f=null;#o=null;#c=0;#a=0;#d=!1;#v=new Set;#h=new Set;#u=null;#_=Vr(()=>(this.#u=Te(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var f=w;f.b=this,f.f|=yt,r(s)},this.parent=w.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=ct(()=>{if(m){const s=this.#n;Pe();const f=s.data===wt;if(s.data.startsWith(Vt)){const a=JSON.parse(s.data.slice(Vt.length));this.#b(a)}else f?this.#$():this.#p()}else this.#m()},Br),m&&(this.#e=y)}#p(){try{this.#r=B(()=>this.#i(this.#e))}catch(t){this.error(t)}}#b(t){const n=this.#t.failed;n&&(this.#f=B(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=B(()=>t(this.#e)),Fe(()=>{var n=this.#o=document.createDocumentFragment(),r=V();n.append(r),this.#r=this.#w(()=>B(()=>this.#i(r))),this.#a===0&&(this.#e.before(n),this.#o=null,xe(this.#l,()=>{this.#l=null}),this.#g(E))}))}#m(){try{if(this.is_pending=this.has_pending_snippet(),this.#a=0,this.#c=0,this.#r=B(()=>{this.#i(this.#e)}),this.#a>0){var t=this.#o=document.createDocumentFragment();Pt(this.#r,t);const n=this.#t.pending;this.#l=B(()=>n(this.#e))}else this.#g(E)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){an(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#w(t){var n=w,r=g,i=H;te(this.#s),Y(this.#s),Ie(this.#s.ctx);try{return se.ensure(),t()}catch(s){return fn(s),null}finally{te(n),Y(r),Ie(i)}}#y(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t,n);return}this.#a+=t,this.#a===0&&(this.#g(n),this.#l&&xe(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,n){this.#y(t,n),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,Fe(()=>{this.#d=!1,this.#u&&je(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),k(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(M(this.#r),this.#r=null),this.#l&&(M(this.#l),this.#l=null),this.#f&&(M(this.#f),this.#f=null),m&&(S(this.#n),Pr(),S(st()));var i=!1,s=!1;const f=()=>{if(i){Lr();return}i=!0,s&&Dr(),this.#f!==null&&xe(this.#f,()=>{this.#f=null}),this.#w(()=>{this.#m()})},l=a=>{try{s=!0,n?.(a,f),s=!1}catch(o){ve(o,this.#s&&this.#s.parent)}r&&(this.#f=this.#w(()=>{try{return B(()=>{var o=w;o.b=this,o.f|=yt,r(this.#e,()=>a,()=>f)})}catch(o){return ve(o,this.#s.parent),null}}))};Fe(()=>{var a;try{a=this.transform_error(t)}catch(o){ve(o,this.#s&&this.#s.parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(l,o=>ve(o,this.#s&&this.#s.parent)):l(a)})}}function Gr(e,t,n,r){const i=ot;var s=e.filter(d=>!d.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var f=w,l=Wr(),a=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(d=>d.promise)):null;function o(d){l();try{r(d)}catch(h){(f.f&z)===0&&ve(h,f)}ft()}if(n.length===0){a.then(()=>o(t.map(i)));return}var u=pn();function v(){Promise.all(n.map(d=>Jr(d))).then(d=>o([...t.map(i),...d])).catch(d=>ve(d,f)).finally(()=>u())}a?a.then(()=>{l(),v(),ft()}):v()}function Wr(){var e=w,t=g,n=H,r=E;return function(s=!0){te(e),Y(t),Ie(n),s&&(e.f&z)===0&&(r?.activate(),r?.apply())}}function ft(e=!0){te(null),Y(null),Ie(null),e&&E?.deactivate()}function pn(){var e=w,t=e.b,n=E,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 ot(e){var t=A|C,n=g!==null&&(g.f&A)!==0?g:null;return w!==null&&(w.f|=de),{ctx:H,deps:null,effects:null,equals:en,f:t,fn:e,reactions:null,rv:0,v:N,wv:0,parent:n??w,ac:null}}function Jr(e,t,n){let r=w;r===null&&kr();var i=void 0,s=Te(N),f=!g,l=new Map;return ai(()=>{var a=w,o=Wt();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).finally(ft)}catch(h){o.reject(h),ft()}var u=E;if(f){if((a.f&ce)!==0)var v=pn();if(r.b.is_rendered())l.get(u)?.reject(ie),l.delete(u);else{for(const h of l.values())h.reject(ie);l.clear()}l.set(u,o)}const d=(h,c=void 0)=>{if(v){var _=c===ie;v(_)}if(!(c===ie||(a.f&z)!==0)){if(u.activate(),c)s.f|=he,je(s,c);else{(s.f&he)!==0&&(s.f^=he),je(s,h);for(const[$,b]of l){if(l.delete($),$===u)break;b.reject(ie)}}u.deactivate()}};o.promise.then(d,h=>d(null,h||"unknown"))}),ii(()=>{for(const a of l.values())a.reject(ie)}),new Promise(a=>{function o(u){function v(){u===i?a(s):o(i)}u.then(v,v)}o(i)})}function Kr(e){const t=ot(e);return Fn(t),t}function Xr(e){const t=ot(e);return t.equals=tn,t}function Zr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)M(t[n])}}function Qr(e){for(var t=e.parent;t!==null;){if((t.f&A)===0)return(t.f&z)===0?t:null;t=t.parent}return null}function St(e){var t,n=w;te(Qr(e));try{e.f&=~be,Zr(e),t=Vn(e)}finally{te(n)}return t}function gn(e){var t=e.v,n=St(e);if(!e.equals(n)&&(e.wv=zn(),(!E?.is_fork||e.deps===null)&&(e.v=n,E?.capture(e,t,!0),e.deps===null))){T(e,x);return}we||(X!==null?(Rt()||E?.is_fork)&&X.set(e,n):kt(e))}function ei(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(ie),t.teardown=wr,t.ac=null,Ke(t,0),Dt(t))}function wn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&ze(t)}let Nt=new Set;const pe=new Map;let mn=!1;function Te(e,t){var n={f:0,v:e,reactions:null,equals:en,rv:0,wv:0};return n}function ge(e,t){const n=Te(e);return Fn(n),n}function yn(e,t=!1,n=!0){const r=Te(e);return t||(r.equals=tn),r}function fe(e,t,n=!1){g!==null&&(!Z||(g.f&Xt)!==0)&&sn()&&(g.f&(A|ae|$t|Xt))!==0&&(U===null||!Re.call(U,e))&&Or();let r=n?Ge(t):t;return je(e,r,lt)}function je(e,t,n=null){if(!e.equals(t)){var r=e.v;we?pe.set(e,t):pe.set(e,r),e.v=t;var i=se.ensure();if(i.capture(e,r),(e.f&A)!==0){const s=e;(e.f&C)!==0&&St(s),X===null&&kt(s)}e.wv=zn(),bn(e,C,n),w!==null&&(w.f&x)!==0&&(w.f&(J|ue))===0&&(G===null?ci([e]):G.push(e)),!i.is_fork&&Nt.size>0&&!mn&&ti()}return t}function ti(){mn=!1;for(const e of Nt)(e.f&x)!==0&&T(e,Q),Je(e)&&ze(e);Nt.clear()}function Ue(e){fe(e,e.v+1)}function bn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var f=r[s],l=f.f,a=(l&C)===0;if(a&&T(f,t),(l&A)!==0){var o=f;X?.delete(o),(l&be)===0&&(l&j&&(f.f|=be),bn(o,Q,n))}else if(a){var u=f;(l&ae)!==0&&le!==null&&le.add(u),n!==null?n.push(u):At(u)}}}function Ge(e){if(typeof e!="object"||e===null||Et in e)return e;const t=Ut(e);if(t!==pr&&t!==gr)return e;var n=new Map,r=Yt(e),i=ge(0),s=Se,f=l=>{if(Se===s)return l();var a=g,o=Se;Y(null),jn(s);var u=l();return Y(a),jn(o),u};return r&&n.set("length",ge(e.length)),new Proxy(e,{defineProperty(l,a,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Mr();var u=n.get(a);return u===void 0?f(()=>{var v=ge(o.value);return n.set(a,v),v}):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(()=>ge(N));n.set(a,u),Ue(i)}}else fe(o,N),Ue(i);return!0},get(l,a,o){if(a===Et)return e;var u=n.get(a),v=a in l;if(u===void 0&&(!v||Oe(l,a)?.writable)&&(u=f(()=>{var h=Ge(v?l[a]:N),c=ge(h);return c}),n.set(a,u)),u!==void 0){var d=k(u);return d===N?void 0:d}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=k(u))}else if(o===void 0){var v=n.get(a),d=v?.v;if(v!==void 0&&d!==N)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return o},has(l,a){if(a===Et)return!0;var o=n.get(a),u=o!==void 0&&o.v!==N||Reflect.has(l,a);if(o!==void 0||w!==null&&(!u||Oe(l,a)?.writable)){o===void 0&&(o=f(()=>{var d=u?Ge(l[a]):N,h=ge(d);return h}),n.set(a,o));var v=k(o);if(v===N)return!1}return u},set(l,a,o,u){var v=n.get(a),d=a in l;if(r&&a==="length")for(var h=o;h<v.v;h+=1){var c=n.get(h+"");c!==void 0?fe(c,N):h in l&&(c=f(()=>ge(N)),n.set(h+"",c))}if(v===void 0)(!d||Oe(l,a)?.writable)&&(v=f(()=>ge(void 0)),fe(v,Ge(o)),n.set(a,v));else{d=v.v!==N;var _=f(()=>Ge(o));fe(v,_)}var $=Reflect.getOwnPropertyDescriptor(l,a);if($?.set&&$.set.call(u,o),!d){if(r&&typeof a=="string"){var b=n.get("length"),p=Number(a);Number.isInteger(p)&&p>=b.v&&fe(b,p+1)}Ue(i)}return!0},ownKeys(l){k(i);var a=Reflect.ownKeys(l).filter(v=>{var d=n.get(v);return d===void 0||d.v!==N});for(var[o,u]of n)u.v!==N&&!(o in l)&&a.push(o);return a},setPrototypeOf(){Rr()}})}var $n,En,kn,Tn;function Ct(){if($n===void 0){$n=window,En=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;kn=Oe(t,"firstChild").get,Tn=Oe(t,"nextSibling").get,Gt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Gt(n)&&(n.__t=void 0)}}function V(e=""){return document.createTextNode(e)}function P(e){return kn.call(e)}function I(e){return Tn.call(e)}function at(e,t){if(!m)return P(e);var n=P(y);if(n===null)n=y.appendChild(V());else if(t&&n.nodeType!==it){var r=V();return n?.before(r),S(r),r}return t&&Mt(n),S(n),n}function xn(e,t=!1){if(!m){var n=P(e);return n instanceof Comment&&n.data===""?I(n):n}if(t){if(y?.nodeType!==it){var r=V();return y?.before(r),S(r),r}Mt(y)}return y}function We(e,t=1,n=!1){let r=m?y:e;for(var i;t--;)i=r,r=I(r);if(!m)return r;if(n){if(r?.nodeType!==it){var s=V();return r===null?i?.after(s):r.before(s),S(s),s}Mt(r)}return S(r),r}function An(e){e.textContent=""}function Sn(){return!1}function ut(e,t,n){return document.createElementNS(t??Bt,e,void 0)}function Mt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===it;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Nn(e){var t=g,n=w;Y(null),te(null);try{return e()}finally{Y(t),te(n)}}function ni(e){w===null&&(g===null&&Sr(),Ar()),we&&xr()}function ri(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ee(e,t){var n=w;n!==null&&(n.f&L)!==0&&(e|=L);var r={ctx:H,deps:null,nodes:null,f:e|C|j,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&De)!==0)qe!==null?qe.push(r):se.ensure().schedule(r);else if(t!==null){try{ze(r)}catch(f){throw M(r),f}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&de)===0&&(i=i.first,(e&ae)!==0&&(e&Le)!==0&&i!==null&&(i.f|=Le))}if(i!==null&&(i.parent=n,n!==null&&ri(i,n),g!==null&&(g.f&A)!==0&&(e&ue)===0)){var s=g;(s.effects??=[]).push(i)}return r}function Rt(){return g!==null&&!Z}function ii(e){const t=ee(rt,null);return T(t,x),t.teardown=e,t}function si(e){ni();var t=w.f,n=!g&&(t&J)!==0&&(t&ce)===0;if(n){var r=H;(r.e??=[]).push(e)}else return Cn(e)}function Cn(e){return ee(De|yr,e)}function li(e){se.ensure();const t=ee(ue|de,e);return()=>{M(t)}}function fi(e){se.ensure();const t=ee(ue|de,e);return(n={})=>new Promise(r=>{n.outro?xe(t,()=>{M(t),r(void 0)}):(M(t),r(void 0))})}function oi(e){return ee(De,e)}function ai(e){return ee($t|de,e)}function Mn(e,t=0){return ee(rt|t,e)}function Ot(e,t=[],n=[],r=[]){Gr(r,t,n,i=>{ee(rt,()=>e(...i.map(k)))})}function ct(e,t=0){var n=ee(ae|t,e);return n}function B(e){return ee(J|de,e)}function Rn(e){var t=e.teardown;if(t!==null){const n=we,r=g;In(!0),Y(null);try{t.call(null)}finally{In(n),Y(r)}}}function Dt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Nn(()=>{i.abort(ie)});var r=n.next;(n.f&ue)!==0?n.parent=null:M(n,t),n=r}}function ui(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&J)===0&&M(t),t=n}}function M(e,t=!0){var n=!1;(t||(e.f&Zt)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(On(e.nodes.start,e.nodes.end),n=!0),T(e,Kt),Dt(e,t&&!n),Ke(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();Rn(e),e.f^=Kt,e.f|=z;var i=e.parent;i!==null&&i.first!==null&&Dn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function On(e,t){for(;e!==null;){var n=e===t?null:I(e);e.remove(),e=n}}function Dn(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 xe(e,t,n=!0){var r=[];Ln(e,r,!0);var i=()=>{n&&M(e),t&&t()},s=r.length;if(s>0){var f=()=>--s||i();for(var l of r)l.out(f)}else i()}function Ln(e,t,n){if((e.f&L)===0){e.f^=L;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,f=(i.f&Le)!==0||(i.f&J)!==0&&(e.f&ae)!==0;Ln(i,t,f?n:!1),i=s}}}function Lt(e){Pn(e,!0)}function Pn(e,t){if((e.f&L)!==0){e.f^=L,(e.f&x)===0&&(T(e,C),se.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Le)!==0||(n.f&J)!==0;Pn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const f of s)(f.is_global||t)&&f.in()}}function Pt(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:I(n);t.append(n),n=i}}let dt=!1,we=!1;function In(e){we=e}let g=null,Z=!1;function Y(e){g=e}let w=null;function te(e){w=e}let U=null;function Fn(e){g!==null&&(U===null?U=[e]:U.push(e))}let D=null,F=0,G=null;function ci(e){G=e}let qn=1,Ae=0,Se=Ae;function jn(e){Se=e}function zn(){return++qn}function Je(e){var t=e.f;if((t&C)!==0)return!0;if(t&A&&(e.f&=~be),(t&Q)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(Je(s)&&gn(s),s.wv>e.wv)return!0}(t&j)!==0&&X===null&&T(e,x)}return!1}function Hn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(U!==null&&Re.call(U,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&A)!==0?Hn(s,t,!1):t===s&&(n?T(s,C):(s.f&x)!==0&&T(s,Q),At(s))}}function Vn(e){var t=D,n=F,r=G,i=g,s=U,f=H,l=Z,a=Se,o=e.f;D=null,F=0,G=null,g=(o&(J|ue))===0?e:null,U=null,Ie(e.ctx),Z=!1,Se=++Ae,e.ac!==null&&(Nn(()=>{e.ac.abort(ie)}),e.ac=null);try{e.f|=bt;var u=e.fn,v=u();e.f|=ce;var d=e.deps,h=E?.is_fork;if(D!==null){var c;if(h||Ke(e,F),d!==null&&F>0)for(d.length=F+D.length,c=0;c<D.length;c++)d[F+c]=D[c];else e.deps=d=D;if(Rt()&&(e.f&j)!==0)for(c=F;c<d.length;c++)(d[c].reactions??=[]).push(e)}else!h&&d!==null&&F<d.length&&(Ke(e,F),d.length=F);if(sn()&&G!==null&&!Z&&d!==null&&(e.f&(A|Q|C))===0)for(c=0;c<G.length;c++)Hn(G[c],e);if(i!==null&&i!==e){if(Ae++,i.deps!==null)for(let _=0;_<n;_+=1)i.deps[_].rv=Ae;if(t!==null)for(const _ of t)_.rv=Ae;G!==null&&(r===null?r=G:r.push(...G))}return(e.f&he)!==0&&(e.f^=he),v}catch(_){return fn(_)}finally{e.f^=bt,D=t,F=n,G=r,g=i,U=s,Ie(f),Z=l,Se=a}}function di(e,t){let n=t.reactions;if(n!==null){var r=vr.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&A)!==0&&(D===null||!Re.call(D,t))){var s=t;(s.f&j)!==0&&(s.f^=j,s.f&=~be),kt(s),ei(s),Ke(s,0)}}function Ke(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)di(e,n[r])}function ze(e){var t=e.f;if((t&z)===0){T(e,x);var n=w,r=dt;w=e,dt=!0;try{(t&(ae|Jt))!==0?ui(e):Dt(e),Rn(e);var i=Vn(e);e.teardown=typeof i=="function"?i:null,e.wv=qn;var s;hr&&Fr&&(e.f&C)!==0&&e.deps}finally{dt=r,w=n}}}function k(e){var t=e.f,n=(t&A)!==0;if(g!==null&&!Z){var r=w!==null&&(w.f&z)!==0;if(!r&&(U===null||!Re.call(U,e))){var i=g.deps;if((g.f&bt)!==0)e.rv<Ae&&(e.rv=Ae,D===null&&i!==null&&i[F]===e?F++:D===null?D=[e]:D.push(e));else{(g.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[g]:Re.call(s,g)||s.push(g)}}}if(we&&pe.has(e))return pe.get(e);if(n){var f=e;if(we){var l=f.v;return((f.f&x)===0&&f.reactions!==null||Yn(f))&&(l=St(f)),pe.set(f,l),l}var a=(f.f&j)===0&&!Z&&g!==null&&(dt||(g.f&j)!==0),o=(f.f&ce)===0;Je(f)&&(a&&(f.f|=j),gn(f)),a&&!o&&(wn(f),Bn(f))}if(X?.has(e))return X.get(e);if((e.f&he)!==0)throw e.v;return e.v}function Bn(e){if(e.f|=j,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&A)!==0&&(t.f&j)===0&&(wn(t),Bn(t))}function Yn(e){if(e.v===N)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(pe.has(t)||(t.f&A)!==0&&Yn(t))return!0;return!1}function hi(e){var t=Z;try{return Z=!0,e()}finally{Z=t}}const Xe=Symbol("events"),Un=new Set,It=new Set;function vi(e,t,n){(t[Xe]??={})[e]=n}function _i(e){for(var t=0;t<e.length;t++)Un.add(e[t]);for(var n of It)n(e)}let Gn=null;function Wn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Gn=e;var f=0,l=Gn===e&&e[Xe];if(l){var a=i.indexOf(l);if(a!==-1&&(t===document||t===window)){e[Xe]=t;return}var o=i.indexOf(t);if(o===-1)return;a<=o&&(f=a)}if(s=i[f]||e.target,s!==t){nt(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=g,v=w;Y(null),te(null);try{for(var d,h=[];s!==null;){var c=s.assignedSlot||s.parentNode||s.host||null;try{var _=s[Xe]?.[r];_!=null&&(!s.disabled||e.target===s)&&_.call(s,e)}catch($){d?h.push($):d=$}if(e.cancelBubble||c===t||c===null)break;s=c}if(d){for(let $ of h)queueMicrotask(()=>{throw $});throw d}}finally{e[Xe]=t,delete e.currentTarget,Y(u),te(v)}}}const pi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function gi(e){return pi?.createHTML(e)??e}function wi(e){var t=ut("template");return t.innerHTML=gi(e.replaceAll("<!>","<!---->")),t.content}function Ne(e,t){var n=w;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function He(e,t){var n=(t&ar)!==0,r=(t&ur)!==0,i,s=!e.startsWith("<!>");return()=>{if(m)return Ne(y,null),y;i===void 0&&(i=wi(s?e:"<!>"+e),n||(i=P(i)));var f=r||En?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=P(f),a=f.lastChild;Ne(l,a)}else Ne(f,f);return f}}function Ce(e,t){if(m){var n=w;((n.f&ce)===0||n.nodes.end===null)&&(n.nodes.end=y),Pe();return}e!==null&&e.before(t)}const mi=["touchstart","touchmove"];function yi(e){return mi.includes(e)}function Jn(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Kn(e,t){return Xn(e,t)}function bi(e,t){Ct(),t.intro=t.intro??!1;const n=t.target,r=m,i=y;try{for(var s=P(n);s&&(s.nodeType!==$e||s.data!==Ht);)s=I(s);if(!s)throw ye;K(!0),S(s);const f=Xn(e,{...t,anchor:s});return K(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==ye&&console.warn("Failed to hydrate: ",f),t.recover===!1&&Cr(),Ct(),An(n),K(!1),Kn(e,t)}finally{K(r),S(i)}}const ht=new Map;function Xn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:f=!0,transformError:l}){Ct();var a=void 0,o=fi(()=>{var u=n??t.appendChild(V());Yr(u,{pending:()=>{}},h=>{nn({});var c=H;if(s&&(c.c=s),i&&(r.$$events=i),m&&Ne(h,null),a=e(h,r)||{},m&&(w.nodes.end=y,y===null||y.nodeType!==$e||y.data!==mt))throw Ve(),ye;rn()},l);var v=new Set,d=h=>{for(var c=0;c<h.length;c++){var _=h[c];if(!v.has(_)){v.add(_);var $=yi(_);for(const R of[t,document]){var b=ht.get(R);b===void 0&&(b=new Map,ht.set(R,b));var p=b.get(_);p===void 0?(R.addEventListener(_,Wn,{passive:$}),b.set(_,1)):b.set(_,p+1)}}}};return d(et(Un)),It.add(d),()=>{for(var h of v)for(const $ of[t,document]){var c=ht.get($),_=c.get(h);--_==0?($.removeEventListener(h,Wn),c.delete(h),c.size===0&&ht.delete($)):c.set(h,_)}It.delete(d),u!==n&&u.parentNode?.removeChild(u)}});return Ft.set(a,o),a}let Ft=new WeakMap;function $i(e,t){const n=Ft.get(e);return n?(Ft.delete(e),n(t)):Promise.resolve()}class Ei{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Lt(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,f]of this.#e){if(this.#e.delete(s),s===t)break;const l=this.#t.get(f);l&&(M(l.effect),this.#t.delete(f))}for(const[s,f]of this.#n){if(s===n||this.#i.has(s))continue;const l=()=>{if(Array.from(this.#e.values()).includes(s)){var o=document.createDocumentFragment();Pt(f,o),o.append(V()),this.#t.set(s,{effect:f,fragment:o})}else M(f);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),xe(f,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(M(i.effect),this.#t.delete(r))};ensure(t,n){var r=E,i=Sn();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),f=V();s.append(f),this.#t.set(t,{effect:B(()=>n(f)),fragment:s})}else this.#n.set(t,B(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,a]of this.#n)l===t?r.unskip_effect(a):r.skip_effect(a);for(const[l,a]of this.#t)l===t?r.unskip_effect(a.effect):r.skip_effect(a.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else m&&(this.anchor=y),this.#r(r)}}function Zn(e,t,n=!1){var r;m&&(r=y,Pe());var i=new Ei(e),s=n?Le:0;function f(l,a){if(m){var o=Qt(r);if(l!==parseInt(o.substring(1))){var u=st();S(u),i.anchor=u,K(!1),i.ensure(l,a),K(!0);return}}i.ensure(l,a)}ct(()=>{var l=!1;t((a,o=0)=>{l=!0,f(o,a)}),l||f(-1,null)},s)}function ki(e,t,n){for(var r=[],i=t.length,s,f=t.length,l=0;l<i;l++){let v=t[l];xe(v,()=>{if(s){if(s.pending.delete(v),s.done.add(v),s.pending.size===0){var d=e.outrogroups;qt(e,et(s.done)),d.delete(s),d.size===0&&(e.outrogroups=null)}}else f-=1},!1)}if(f===0){var a=r.length===0&&n!==null;if(a){var o=n,u=o.parentNode;An(u),u.append(o),e.items.clear()}qt(e,t,!a)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function qt(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(const f of e.pending.values())for(const l of f)r.add(e.items.get(l).e)}for(var i=0;i<t.length;i++){var s=t[i];if(r?.has(s)){s.f|=re;const f=document.createDocumentFragment();Pt(s,f)}else M(t[i],n)}}var Qn;function er(e,t,n,r,i,s=null){var f=e,l=new Map;{var a=e;f=m?S(P(a)):a.appendChild(V())}m&&Pe();var o=null,u=Xr(()=>{var p=n();return Yt(p)?p:p==null?[]:et(p)}),v,d=new Map,h=!0;function c(p){(b.effect.f&z)===0&&(b.pending.delete(p),b.fallback=o,Ti(b,v,f,t,r),o!==null&&(v.length===0?(o.f&re)===0?Lt(o):(o.f^=re,Qe(o,null,f)):xe(o,()=>{o=null})))}function _(p){b.pending.delete(p)}var $=ct(()=>{v=k(u);var p=v.length;let R=!1;if(m){var ne=Qt(f)===wt;ne!==(p===0)&&(f=st(),S(f),K(!1),R=!0)}for(var O=new Set,W=E,pt=Sn(),q=0;q<p;q+=1){m&&y.nodeType===$e&&y.data===mt&&(f=y,R=!0,K(!1));var jt=v[q],gt=r(jt,q),oe=h?null:l.get(gt);oe?(oe.v&&je(oe.v,jt),oe.i&&je(oe.i,q),pt&&W.unskip_effect(oe.e)):(oe=xi(l,h?f:Qn??=V(),jt,gt,q,i,t,n),h||(oe.e.f|=re),l.set(gt,oe)),O.add(gt)}if(p===0&&s&&!o&&(h?o=B(()=>s(f)):(o=B(()=>s(Qn??=V())),o.f|=re)),p>O.size&&Tr(),m&&p>0&&S(st()),!h)if(d.set(W,O),pt){for(const[Ji,Ki]of l)O.has(Ji)||W.skip_effect(Ki.e);W.oncommit(c),W.ondiscard(_)}else c(W);R&&K(!0),k(u)}),b={effect:$,items:l,pending:d,outrogroups:null,fallback:o};h=!1,m&&(f=y)}function Ze(e){for(;e!==null&&(e.f&J)===0;)e=e.next;return e}function Ti(e,t,n,r,i){var s=t.length,f=e.items,l=Ze(e.effect.first),a,o=null,u=[],v=[],d,h,c,_;for(_=0;_<s;_+=1){if(d=t[_],h=i(d,_),c=f.get(h).e,e.outrogroups!==null)for(const q of e.outrogroups)q.pending.delete(c),q.done.delete(c);if((c.f&L)!==0&&Lt(c),(c.f&re)!==0)if(c.f^=re,c===l)Qe(c,null,n);else{var $=o?o.next:l;c===e.effect.last&&(e.effect.last=c.prev),c.prev&&(c.prev.next=c.next),c.next&&(c.next.prev=c.prev),me(e,o,c),me(e,c,$),Qe(c,$,n),o=c,u=[],v=[],l=Ze(o.next);continue}if(c!==l){if(a!==void 0&&a.has(c)){if(u.length<v.length){var b=v[0],p;o=b.prev;var R=u[0],ne=u[u.length-1];for(p=0;p<u.length;p+=1)Qe(u[p],b,n);for(p=0;p<v.length;p+=1)a.delete(v[p]);me(e,R.prev,ne.next),me(e,o,R),me(e,ne,b),l=b,o=ne,_-=1,u=[],v=[]}else a.delete(c),Qe(c,l,n),me(e,c.prev,c.next),me(e,c,o===null?e.effect.first:o.next),me(e,o,c),o=c;continue}for(u=[],v=[];l!==null&&l!==c;)(a??=new Set).add(l),v.push(l),l=Ze(l.next);if(l===null)continue}(c.f&re)===0&&u.push(c),o=c,l=Ze(c.next)}if(e.outrogroups!==null){for(const q of e.outrogroups)q.pending.size===0&&(qt(e,et(q.done)),e.outrogroups?.delete(q));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||a!==void 0){var O=[];if(a!==void 0)for(c of a)(c.f&L)===0&&O.push(c);for(;l!==null;)(l.f&L)===0&&l!==e.fallback&&O.push(l),l=Ze(l.next);var W=O.length;if(W>0){var pt=s===0?n:null;ki(e,O,pt)}}}function xi(e,t,n,r,i,s,f,l){var a=(f&lr)!==0?(f&or)===0?yn(n,!1,!1):Te(n):null,o=(f&fr)!==0?Te(i):null;return{v:a,i:o,e:B(()=>(s(t,a??n,o??i,l),()=>{e.delete(r)}))}}function Qe(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,s=t&&(t.f&re)===0?t.nodes.start:n;r!==null;){var f=I(r);if(s.before(r),r===i)return;r=f}}function me(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Ai(e,t,n=!1,r=!1,i=!1,s=!1){var f=e,l="";if(n){var a=e;m&&(f=S(P(a)))}Ot(()=>{var o=w;if(l===(l=t()??"")){m&&Pe();return}if(n&&!m){o.nodes=null,a.innerHTML=l,l!==""&&Ne(P(a),a.lastChild);return}if(o.nodes!==null&&(On(o.nodes.start,o.nodes.end),o.nodes=null),l!==""){if(m){y.data;for(var u=Pe(),v=u;u!==null&&(u.nodeType!==$e||u.data!=="");)v=u,u=I(u);if(u===null)throw Ve(),ye;Ne(y,v),f=S(u);return}var d=r?cr:i?dr:void 0,h=ut(r?"svg":i?"math":"template",d);h.innerHTML=l;var c=r||i?h:h.content;if(Ne(P(c),c.lastChild),r||i)for(;P(c);)f.before(P(c));else f.before(c)}})}function Si(e,t){let n=null,r=m;var i;if(m){n=y;for(var s=P(document.head);s!==null&&(s.nodeType!==$e||s.data!==e);)s=I(s);if(s===null)K(!1);else{var f=I(s);s.remove(),S(f)}}m||(i=document.head.appendChild(V()));try{ct(()=>t(i),Zt|de)}finally{r&&(K(!0),S(n))}}function Ni(e,t){oi(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=ut("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Ci(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function Mi(e,t,n,r,i,s){var f=e.__className;if(m||f!==n||f===void 0){var l=Ci(n,r);(!m||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const Ri=Symbol("is custom element"),Oi=Symbol("is html"),Di=Er?"link":"LINK";function tr(e,t,n,r){var i=Li(e);m&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Di)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[$r]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Pi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Li(e){return e.__attributes??={[Ri]:e.nodeName.includes("-"),[Oi]:e.namespaceURI===Bt}}var nr=new Map;function Pi(e){var t=e.getAttribute("is")||e.nodeName,n=nr.get(t);if(n)return n;nr.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=_r(i);for(var f in r)r[f].set&&n.push(f);i=Ut(i)}return n}function vt(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 d=e[t];return d===void 0?f():(s=!0,d)};var o=!1,u=ot(()=>(o=!1,a())),v=w;return(function(d,h){if(arguments.length>0){const c=h?k(u):d;return fe(u,c),o=!0,i!==void 0&&(i=c),d}return we&&o||(v.f&z)!==0?u.v:k(u)})}function Ii(e){return new Fi(e)}class Fi{#e;#n;constructor(t){var n=new Map,r=(s,f)=>{var l=yn(f,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,f){return k(n.get(f)??r(f,Reflect.get(s,f)))},has(s,f){return f===br?!0:(k(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.#n=(t.hydrate?bi:Kn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Ye(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||nt(this,s,{get(){return this.#n[s]},set(f){this.#n[s]=f},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{$i(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let rr;typeof HTMLElement=="function"&&(rr=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){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=ut("slot");r!=="default"&&(s.name=r),Ce(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=qi(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]=_t(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=Ii({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=li(()=>{Mn(()=>{this.$$r=!0;for(const r of tt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=_t(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]=_t(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 tt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function _t(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 qi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function ji(e,t,n,r,i,s){let f=class extends rr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return tt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return tt(t).forEach(l=>{nt(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=_t(l,a,t),this.$$d[l]=a;var o=this.$$c;if(o){var u=Oe(o,l)?.get;u?o[l]=a:o.$set({[l]:a})}}})}),r.forEach(l=>{nt(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}var Me={},ir;function zi(){if(ir)return Me;ir=1,Object.defineProperty(Me,"__esModule",{value:!0}),Me.LanguageTranslator=void 0,Me.getChildStyleToPass=e,Me.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(d){return Object.keys(r).includes(d.name)}))===null||f===void 0)&&f.length))for(var a=function(d){var h=i?.filter(function(c){return c.name===d&&c.defaultValue!==r[d]});h&&(l+="".concat(d,":").concat(r[d],";"))},o=0,u=Object.keys(r);o<u.length;o++){var v=u[o];a(v)}}catch(d){console.error("error getting child style to pass",d)}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 Me.LanguageTranslator=n,Me}zi();var Hi=He('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css"/>'),Vi=He('<div class="break svelte-1s0fskg"></div>'),Bi=He('<!> <div class="topic svelte-1s0fskg"><div class="topic_content svelte-1s0fskg"><i></i> </div></div>',1),Yi=He('<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>'),Ui=He('<div class="faq-content svelte-1s0fskg"></div>'),Gi=He('<div id="topics" class="svelte-1s0fskg"></div> <!>',1);const Wi={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);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"]||{});
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 sr(e,t){nn(t,!0),Ni(e,Wi);let n=vt(t,"id",7,""),r=vt(t,"info",7,void 0),i=vt(t,"topics",7,void 0),s=vt(t,"filter",7,void 0);si(()=>{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(h=>(h.index=d,d++,h)))}catch(d){console.error("error parsing topics",d)}});var f={get id(){return n()},set id(d=""){n(d),Ye()},get info(){return r()},set info(d=void 0){r(d),Ye()},get topics(){return i()},set topics(d=void 0){i(d),Ye()},get filter(){return s()},set filter(d=void 0){s(d),Ye()}},l=Gi();Si("1s0fskg",d=>{var h=Hi();Ce(d,h)});var a=xn(l);er(a,21,()=>Array.isArray(i())?i():[],d=>d.index,(d,h)=>{var c=Bi(),_=xn(c);{var $=O=>{var W=Vi();Ce(O,W)};Zn(_,O=>{k(h).index&&k(h).index%5===0&&O($)})}var b=We(_,2),p=at(b),R=at(p),ne=We(R);Ee(p),Ee(b),Ot(()=>{Mi(R,1,`bi bi-${k(h).icon??""}`,"svelte-1s0fskg"),Jn(ne,` ${k(h).label??""}`)}),vi("click",b,()=>{k(h).catchAll?s(void 0):s(k(h).key)}),Ce(d,c)}),Ee(a);var o=We(a,2);{var u=d=>{var h=Ui();er(h,21,()=>r().filter(c=>s()?c.topic===s():!0),c=>c.title,(c,_)=>{var $=Yi(),b=at($),p=We(b,4),R=at(p,!0);Ee(p);var ne=We(p,2);Ai(ne,()=>k(_).text,!0),Ee(ne),Ee($),Ot((O,W)=>{tr(b,"id",`q1_${O??""}`),tr(p,"for",`q1_${W??""}`),Jn(R,k(_).title)},[()=>k(_).title.replace(/ /g,""),()=>k(_).title.replace(/ /g,"")]),Ce(c,$)}),Ee(h),Ce(d,h)},v=Kr(()=>Array.isArray(r()));Zn(o,d=>{k(v)&&d(u)})}return Ce(e,l),rn(f)}_i(["click"]),customElements.define("hb-faq-component",ji(sr,{id:{},info:{},topics:{},filter:{}},[],[],{mode:"open"})),zt.Component=sr,Object.defineProperty(zt,Symbol.toStringTag,{value:"Module"})})(this["faq-component"]=this["faq-component"]||{});
8
8
  //# sourceMappingURL=main.iife.js.map