@htmlbricks/hb-dropdown-simple 0.62.0 → 0.62.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 +2 -2
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(function(Pt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Un=1,Vn=2,Yn=16,zn=1,Kn=4,Wn=8,Gn=16,Jn=2,Mt="[",Ge="[!",ht="]",Ee={},R=Symbol(),Xn="http://www.w3.org/1999/xhtml",Dt=!1;var It=Array.isArray,Zn=Array.prototype.indexOf,dt=Array.from,Je=Object.keys,Xe=Object.defineProperty,ve=Object.getOwnPropertyDescriptor,Qn=Object.getOwnPropertyDescriptors,er=Object.prototype,tr=Array.prototype,Lt=Object.getPrototypeOf,Ft=Object.isExtensible;function nr(e){for(var t=0;t<e.length;t++)e[t]()}function jt(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const N=2,Ze=4,vt=8,te=16,ne=32,ue=64,Qe=128,z=512,C=1024,L=2048,re=4096,q=8192,ae=16384,_t=32768,ke=65536,qt=1<<17,Bt=1<<18,_e=1<<19,rr=1<<20,Pe=32768,pt=1<<21,wt=1<<22,ce=1<<23,et=Symbol("$state"),Ht=Symbol("legacy props"),xe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},gt=3,Te=8;function sr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ir(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function fr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function lr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function or(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ur(){throw new Error("https://svelte.dev/e/hydration_failed")}function ar(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function cr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function hr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function dr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function vr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function tt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function _r(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let $=!1;function se(e){$=e}let y;function F(e){if(e===null)throw tt(),Ee;return y=e}function Me(){return F(le(y))}function Se(e){if($){if(le(y)!==null)throw tt(),Ee;y=e}}function pr(e=1){if($){for(var t=e,n=y;t--;)n=le(n);y=n}}function nt(e=!0){for(var t=0,n=y;;){if(n.nodeType===Te){var r=n.data;if(r===ht){if(t===0)return n;t-=1}else(r===Mt||r===Ge)&&(t+=1)}var s=le(n);e&&n.remove(),n=s}}function Ut(e){if(!e||e.nodeType!==Te)throw tt(),Ee;return e.data}function Vt(e){return e===this.v}function wr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Yt(e){return!wr(e,this.v)}let gr=!1,U=null;function Ae(e){U=e}function zt(e,t=!1,n){U={p:U,i:!1,c:null,e:null,s:e,x:null,l:null}}function Kt(e){var t=U,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,U=t.p,e??{}}function Wt(){return!0}let pe=[];function Gt(){var e=pe;pe=[],nr(e)}function mt(e){if(pe.length===0&&!De){var t=pe;queueMicrotask(()=>{t===pe&&Gt()})}pe.push(e)}function mr(){for(;pe.length>0;)Gt()}function Jt(e){var t=g;if(t===null)return w.f|=ce,e;if((t.f&_t)===0){if((t.f&Qe)===0)throw e;t.b.error(e)}else Re(e,t)}function Re(e,t){for(;t!==null;){if((t.f&Qe)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const rt=new Set;let k=null,B=null,J=[],st=null,bt=!1,De=!1;class K{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#o=null;#f=[];#l=[];skipped_effects=new Set;is_fork=!1;process(t){J=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#s(r,n);this.is_fork||this.#u(),this.#r>0||this.is_fork?(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects)):(k=null,Zt(n.render_effects),Zt(n.effects),this.#o?.resolve()),B=null}#s(t,n){t.f^=C;for(var r=t.first;r!==null;){var s=r.f,i=(s&(ne|ue))!==0,f=i&&(s&C)!==0,l=f||(s&q)!==0||this.skipped_effects.has(r);if((r.f&Qe)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){i?r.f^=C:(s&Ze)!==0?n.effects.push(r):He(r)&&((r.f&te)!==0&&n.block_effects.push(r),Ue(r));var o=r.first;if(o!==null){r=o;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)u===n.effect&&(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects),n=n.parent),r=u.next,u=u.parent}}#i(t){for(const n of t)((n.f&L)!==0?this.#f:this.#l).push(n),P(n,C)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ce)===0&&(this.current.set(t,t.v),B?.set(t,t.v))}activate(){k=this,this.apply()}deactivate(){k=null,B=null}flush(){if(this.activate(),J.length>0){if(Xt(),k!==null&&k!==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.#a()}#a(){if(rt.size>1){this.previous.clear();var t=B,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of rt){if(s===this){n=!1;continue}const i=[];for(const[l,o]of this.current){if(s.current.has(l))if(n&&o!==s.current.get(l))s.current.set(l,o);else continue;i.push(l)}if(i.length===0)continue;const f=[...s.current.keys()].filter(l=>!this.current.has(l));if(f.length>0){const l=new Set,o=new Map;for(const u of i)Qt(u,f,l,o);if(J.length>0){k=s,s.apply();for(const u of J)s.#s(u,r);J=[],s.deactivate()}}}k=null,B=t}this.committed=!0,rt.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.#f)P(t,L),we(t);for(const t of this.#l)P(t,re),we(t);this.#f=[],this.#l=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=jt()).promise}static ensure(){if(k===null){const t=k=new K;rt.add(k),De||K.enqueue(()=>{k===t&&t.flush()})}return k}static enqueue(t){mt(t)}apply(){}}function Ie(e){var t=De;De=!0;try{for(var n;;){if(mr(),J.length===0&&(k?.flush(),J.length===0))return st=null,n;Xt()}}finally{De=t}}function Xt(){var e=me;bt=!0;try{var t=0;for(En(!0);J.length>0;){var n=K.ensure();if(t++>1e3){var r,s;br()}n.process(J),he.clear()}}finally{bt=!1,En(e),st=null}}function br(){try{or()}catch(e){Re(e,st)}}let ie=null;function Zt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ae|q))===0&&He(r)&&(ie=new Set,Ue(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?mn(r):r.fn=null),ie?.size>0)){he.clear();for(const s of ie){if((s.f&(ae|q))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)ie.has(f)&&(ie.delete(f),i.push(f)),f=f.parent;for(let l=i.length-1;l>=0;l--){const o=i[l];(o.f&(ae|q))===0&&Ue(o)}}ie.clear()}}ie=null}}function Qt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&N)!==0?Qt(s,t,n,r):(i&(wt|te))!==0&&(i&L)===0&&en(s,t,r)&&(P(s,L),we(s))}}function en(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&N)!==0&&en(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function we(e){for(var t=st=e;t.parent!==null;){t=t.parent;var n=t.f;if(bt&&t===g&&(n&te)!==0&&(n&Bt)===0)return;if((n&(ue|ne))!==0){if((n&C)===0)return;t.f^=C}}J.push(t)}function $r(e){let t=0,n=ge(0),r;return()=>{ft()&&(x(n),pn(()=>(t===0&&(r=On(()=>e(()=>Fe(n)))),t+=1,()=>{mt(()=>{t-=1,t===0&&(r?.(),r=void 0,Fe(n))})})))}}var yr=ke|_e|Qe;function Er(e,t,n){new kr(e,t,n)}class kr{parent;#t=!1;#e;#n=$?y:null;#r;#o;#f;#l=null;#s=null;#i=null;#u=null;#a=null;#d=0;#c=0;#v=!1;#h=null;#m=$r(()=>(this.#h=ge(this.#d),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#o=r,this.parent=g.b,this.#t=!!this.#r.pending,this.#f=Tt(()=>{if(g.b=this,$){const i=this.#n;Me(),i.nodeType===Te&&i.data===Ge?this.#$():this.#b()}else{var s=this.#w();try{this.#l=V(()=>r(s))}catch(i){this.error(i)}this.#c>0?this.#p():this.#t=!1}return()=>{this.#a?.remove()}},yr),$&&(this.#e=y)}#b(){try{this.#l=V(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#r.pending;t&&(this.#s=V(()=>t(this.#e)),K.enqueue(()=>{var n=this.#w();this.#l=this.#_(()=>(K.ensure(),V(()=>this.#o(n)))),this.#c>0?this.#p():(Ce(this.#s,()=>{this.#s=null}),this.#t=!1)}))}#w(){var t=this.#e;return this.#t&&(this.#a=W(),this.#e.before(this.#a),t=this.#a),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=g,r=w,s=U;Q(this.#f),j(this.#f),Ae(this.#f.ctx);try{return t()}catch(i){return Jt(i),null}finally{Q(n),j(r),Ae(s)}}#p(){const t=this.#r.pending;this.#l!==null&&(this.#u=document.createDocumentFragment(),this.#u.append(this.#a),yn(this.#l,this.#u)),this.#s===null&&(this.#s=V(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#s&&Ce(this.#s,()=>{this.#s=null}),this.#u&&(this.#e.before(this.#u),this.#u=null))}update_pending_count(t){this.#g(t),this.#d+=t,this.#h&&Le(this.#h,this.#d)}get_effect_pending(){return this.#m(),x(this.#h)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#l&&(O(this.#l),this.#l=null),this.#s&&(O(this.#s),this.#s=null),this.#i&&(O(this.#i),this.#i=null),$&&(F(this.#n),pr(),F(nt()));var s=!1,i=!1;const f=()=>{if(s){_r();return}s=!0,i&&vr(),K.ensure(),this.#d=0,this.#i!==null&&Ce(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#l=this.#_(()=>(this.#v=!1,V(()=>this.#o(this.#e)))),this.#c>0?this.#p():this.#t=!1};var l=w;try{j(null),i=!0,n?.(t,f),i=!1}catch(o){Re(o,this.#f&&this.#f.parent)}finally{j(l)}r&&mt(()=>{this.#i=this.#_(()=>{K.ensure(),this.#v=!0;try{return V(()=>{r(this.#e,()=>t,()=>f)})}catch(o){return Re(o,this.#f.parent),null}finally{this.#v=!1}})})}}function xr(e,t,n,r){const s=$t;if(n.length===0&&e.length===0){r(t.map(s));return}var i=k,f=g,l=Tr();function o(){Promise.all(n.map(u=>Sr(u))).then(u=>{l();try{r([...t.map(s),...u])}catch(h){(f.f&ae)===0&&Re(h,f)}i?.deactivate(),it()}).catch(u=>{Re(u,f)})}e.length>0?Promise.all(e).then(()=>{l();try{return o()}finally{i?.deactivate(),it()}}):o()}function Tr(){var e=g,t=w,n=U,r=k;return function(i=!0){Q(e),j(t),Ae(n),i&&r?.activate()}}function it(){Q(null),j(null),Ae(null)}function $t(e){var t=N|L,n=w!==null&&(w.f&N)!==0?w:null;return g!==null&&(g.f|=_e),{ctx:U,deps:null,effects:null,equals:Vt,f:t,fn:e,reactions:null,rv:0,v:R,wv:0,parent:n??g,ac:null}}function Sr(e,t){let n=g;n===null&&sr();var r=n.b,s=void 0,i=ge(R),f=!w,l=new Map;return Fr(()=>{var o=jt();s=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).then(()=>{u===k&&u.committed&&u.deactivate(),it()})}catch(a){o.reject(a),it()}var u=k;if(f){var h=!r.is_pending();r.update_pending_count(1),u.increment(h),l.get(u)?.reject(xe),l.delete(u),l.set(u,o)}const d=(a,c=void 0)=>{if(u.activate(),c)c!==xe&&(i.f|=ce,Le(i,c));else{(i.f&ce)!==0&&(i.f^=ce),Le(i,a);for(const[_,v]of l){if(l.delete(_),_===u)break;v.reject(xe)}}f&&(r.update_pending_count(-1),u.decrement(h))};o.promise.then(d,a=>d(null,a||"unknown"))}),Pr(()=>{for(const o of l.values())o.reject(xe)}),new Promise(o=>{function u(h){function d(){h===s?o(i):u(s)}h.then(d,d)}u(s)})}function tn(e){const t=$t(e);return t.equals=Yt,t}function nn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)O(t[n])}}function Ar(e){for(var t=e.parent;t!==null;){if((t.f&N)===0)return t;t=t.parent}return null}function yt(e){var t,n=g;Q(Ar(e));try{e.f&=~Pe,nn(e),t=Rn(e)}finally{Q(n)}return t}function rn(e){var t=yt(e);if(e.equals(t)||(e.v=t,e.wv=Sn()),!be)if(B!==null)ft()&&B.set(e,e.v);else{var n=(e.f&z)===0?re:C;P(e,n)}}let Et=new Set;const he=new Map;let sn=!1;function ge(e,t){var n={f:0,v:e,reactions:null,equals:Vt,rv:0,wv:0};return n}function de(e,t){const n=ge(e);return Br(n),n}function fn(e,t=!1,n=!0){const r=ge(e);return t||(r.equals=Yt),r}function fe(e,t,n=!1){w!==null&&(!Z||(w.f&qt)!==0)&&Wt()&&(w.f&(N|te|wt|qt))!==0&&!oe?.includes(e)&&dr();let r=n?Ne(t):t;return Le(e,r)}function Le(e,t){if(!e.equals(t)){var n=e.v;be?he.set(e,t):he.set(e,n),e.v=t;var r=K.ensure();r.capture(e,n),(e.f&N)!==0&&((e.f&L)!==0&&yt(e),P(e,(e.f&z)!==0?C:re)),e.wv=Sn(),ln(e,L),g!==null&&(g.f&C)!==0&&(g.f&(ne|ue))===0&&(Y===null?Hr([e]):Y.push(e)),!r.is_fork&&Et.size>0&&!sn&&Rr()}return t}function Rr(){sn=!1;const e=Array.from(Et);for(const t of e)(t.f&C)!==0&&P(t,re),He(t)&&Ue(t);Et.clear()}function Fe(e){fe(e,e.v+1)}function ln(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],f=i.f,l=(f&L)===0;if(l&&P(i,t),(f&N)!==0){var o=i;B?.delete(o),(f&Pe)===0&&(f&z&&(i.f|=Pe),ln(o,re))}else l&&((f&te)!==0&&ie!==null&&ie.add(i),we(i))}}function Ne(e){if(typeof e!="object"||e===null||et in e)return e;const t=Lt(e);if(t!==er&&t!==tr)return e;var n=new Map,r=It(e),s=de(0),i=$e,f=l=>{if($e===i)return l();var o=w,u=$e;j(null),Tn(i);var h=l();return j(o),Tn(u),h};return r&&n.set("length",de(e.length)),new Proxy(e,{defineProperty(l,o,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&cr();var h=n.get(o);return h===void 0?h=f(()=>{var d=de(u.value);return n.set(o,d),d}):fe(h,u.value,!0),!0},deleteProperty(l,o){var u=n.get(o);if(u===void 0){if(o in l){const h=f(()=>de(R));n.set(o,h),Fe(s)}}else fe(u,R),Fe(s);return!0},get(l,o,u){if(o===et)return e;var h=n.get(o),d=o in l;if(h===void 0&&(!d||ve(l,o)?.writable)&&(h=f(()=>{var c=Ne(d?l[o]:R),_=de(c);return _}),n.set(o,h)),h!==void 0){var a=x(h);return a===R?void 0:a}return Reflect.get(l,o,u)},getOwnPropertyDescriptor(l,o){var u=Reflect.getOwnPropertyDescriptor(l,o);if(u&&"value"in u){var h=n.get(o);h&&(u.value=x(h))}else if(u===void 0){var d=n.get(o),a=d?.v;if(d!==void 0&&a!==R)return{enumerable:!0,configurable:!0,value:a,writable:!0}}return u},has(l,o){if(o===et)return!0;var u=n.get(o),h=u!==void 0&&u.v!==R||Reflect.has(l,o);if(u!==void 0||g!==null&&(!h||ve(l,o)?.writable)){u===void 0&&(u=f(()=>{var a=h?Ne(l[o]):R,c=de(a);return c}),n.set(o,u));var d=x(u);if(d===R)return!1}return h},set(l,o,u,h){var d=n.get(o),a=o in l;if(r&&o==="length")for(var c=u;c<d.v;c+=1){var _=n.get(c+"");_!==void 0?fe(_,R):c in l&&(_=f(()=>de(R)),n.set(c+"",_))}if(d===void 0)(!a||ve(l,o)?.writable)&&(d=f(()=>de(void 0)),fe(d,Ne(u)),n.set(o,d));else{a=d.v!==R;var v=f(()=>Ne(u));fe(d,v)}var p=Reflect.getOwnPropertyDescriptor(l,o);if(p?.set&&p.set.call(h,u),!a){if(r&&typeof o=="string"){var S=n.get("length"),m=Number(o);Number.isInteger(m)&&m>=S.v&&fe(S,m+1)}Fe(s)}return!0},ownKeys(l){x(s);var o=Reflect.ownKeys(l).filter(d=>{var a=n.get(d);return a===void 0||a.v!==R});for(var[u,h]of n)h.v!==R&&!(u in l)&&o.push(u);return o},setPrototypeOf(){hr()}})}var on,un,an,cn;function kt(){if(on===void 0){on=window,un=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;an=ve(t,"firstChild").get,cn=ve(t,"nextSibling").get,Ft(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ft(n)&&(n.__t=void 0)}}function W(e=""){return document.createTextNode(e)}function je(e){return an.call(e)}function le(e){return cn.call(e)}function qe(e,t){if(!$)return je(e);var n=je(y);if(n===null)n=y.appendChild(W());else if(t&&n.nodeType!==gt){var r=W();return n?.before(r),F(r),r}return F(n),n}function Nr(e,t=1,n=!1){let r=$?y:e;for(var s;t--;)s=r,r=le(r);if(!$)return r;if(n&&r?.nodeType!==gt){var i=W();return r===null?s?.after(i):r.before(i),F(i),i}return F(r),r}function hn(e){e.textContent=""}function dn(){return!1}function vn(e){var t=w,n=g;j(null),Q(null);try{return e()}finally{j(t),Q(n)}}function Cr(e){g===null&&(w===null&&lr(),fr()),be&&ir()}function Or(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function X(e,t,n,r=!0){var s=g;s!==null&&(s.f&q)!==0&&(e|=q);var i={ctx:U,deps:null,nodes_start:null,nodes_end:null,f:e|L|z,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Ue(i),i.f|=_t}catch(o){throw O(i),o}else t!==null&&we(i);if(r){var f=i;if(n&&f.deps===null&&f.teardown===null&&f.nodes_start===null&&f.first===f.last&&(f.f&_e)===0&&(f=f.first,(e&te)!==0&&(e&ke)!==0&&f!==null&&(f.f|=ke)),f!==null&&(f.parent=s,s!==null&&Or(f,s),w!==null&&(w.f&N)!==0&&(e&ue)===0)){var l=w;(l.effects??=[]).push(f)}}return i}function ft(){return w!==null&&!Z}function Pr(e){const t=X(vt,null,!1);return P(t,C),t.teardown=e,t}function Mr(e){Cr();var t=g.f,n=!w&&(t&ne)!==0&&(t&_t)===0;if(n){var r=U;(r.e??=[]).push(e)}else return _n(e)}function _n(e){return X(Ze|rr,e,!1)}function Dr(e){K.ensure();const t=X(ue|_e,e,!0);return()=>{O(t)}}function Ir(e){K.ensure();const t=X(ue|_e,e,!0);return(n={})=>new Promise(r=>{n.outro?Ce(t,()=>{O(t),r(void 0)}):(O(t),r(void 0))})}function Lr(e){return X(Ze,e,!1)}function Fr(e){return X(wt|_e,e,!0)}function pn(e,t=0){return X(vt|t,e,!0)}function xt(e,t=[],n=[],r=[],s=!1){xr(r,t,n,i=>{X(s?Ze:vt,()=>e(...i.map(x)),!0)})}function Tt(e,t=0){var n=X(te|t,e,!0);return n}function V(e,t=!0){return X(ne|_e,e,!0,t)}function wn(e){var t=e.teardown;if(t!==null){const n=be,r=w;kn(!0),j(null);try{t.call(null)}finally{kn(n),j(r)}}}function gn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&vn(()=>{s.abort(xe)});var r=n.next;(n.f&ue)!==0?n.parent=null:O(n,t),n=r}}function jr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ne)===0&&O(t),t=n}}function O(e,t=!0){var n=!1;(t||(e.f&Bt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(qr(e.nodes_start,e.nodes_end),n=!0),gn(e,t&&!n),lt(e,0),P(e,ae);var r=e.transitions;if(r!==null)for(const i of r)i.stop();wn(e);var s=e.parent;s!==null&&s.first!==null&&mn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function qr(e,t){for(;e!==null;){var n=e===t?null:le(e);e.remove(),e=n}}function mn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Ce(e,t,n=!0){var r=[];St(e,r,!0),bn(r,()=>{n&&O(e),t&&t()})}function bn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var s of e)s.out(r)}else t()}function St(e,t,n){if((e.f&q)===0){if(e.f^=q,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var s=r.next,i=(r.f&ke)!==0||(r.f&ne)!==0&&(e.f&te)!==0;St(r,t,i?n:!1),r=s}}}function At(e){$n(e,!0)}function $n(e,t){if((e.f&q)!==0){e.f^=q,(e.f&C)===0&&(P(e,L),we(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&ke)!==0||(n.f&ne)!==0;$n(n,s?t:!1),n=r}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function yn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var s=n===r?null:le(n);t.append(n),n=s}}let me=!1;function En(e){me=e}let be=!1;function kn(e){be=e}let w=null,Z=!1;function j(e){w=e}let g=null;function Q(e){g=e}let oe=null;function Br(e){w!==null&&(oe===null?oe=[e]:oe.push(e))}let D=null,H=0,Y=null;function Hr(e){Y=e}let xn=1,Be=0,$e=Be;function Tn(e){$e=e}function Sn(){return++xn}function He(e){var t=e.f;if((t&L)!==0)return!0;if(t&N&&(e.f&=~Pe),(t&re)!==0){var n=e.deps;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s];if(He(i)&&rn(i),i.wv>e.wv)return!0}(t&z)!==0&&B===null&&P(e,C)}return!1}function An(e,t,n=!0){var r=e.reactions;if(r!==null&&!oe?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&N)!==0?An(i,t,!1):t===i&&(n?P(i,L):(i.f&C)!==0&&P(i,re),we(i))}}function Rn(e){var t=D,n=H,r=Y,s=w,i=oe,f=U,l=Z,o=$e,u=e.f;D=null,H=0,Y=null,w=(u&(ne|ue))===0?e:null,oe=null,Ae(e.ctx),Z=!1,$e=++Be,e.ac!==null&&(vn(()=>{e.ac.abort(xe)}),e.ac=null);try{e.f|=pt;var h=e.fn,d=h(),a=e.deps;if(D!==null){var c;if(lt(e,H),a!==null&&H>0)for(a.length=H+D.length,c=0;c<D.length;c++)a[H+c]=D[c];else e.deps=a=D;if(me&&ft()&&(e.f&z)!==0)for(c=H;c<a.length;c++)(a[c].reactions??=[]).push(e)}else a!==null&&H<a.length&&(lt(e,H),a.length=H);if(Wt()&&Y!==null&&!Z&&a!==null&&(e.f&(N|re|L))===0)for(c=0;c<Y.length;c++)An(Y[c],e);return s!==null&&s!==e&&(Be++,Y!==null&&(r===null?r=Y:r.push(...Y))),(e.f&ce)!==0&&(e.f^=ce),d}catch(_){return Jt(_)}finally{e.f^=pt,D=t,H=n,Y=r,w=s,oe=i,Ae(f),Z=l,$e=o}}function Ur(e,t){let n=t.reactions;if(n!==null){var r=Zn.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(t.f&N)!==0&&(D===null||!D.includes(t))&&(P(t,re),(t.f&z)!==0&&(t.f^=z,t.f&=~Pe),nn(t),lt(t,0))}function lt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ur(e,n[r])}function Ue(e){var t=e.f;if((t&ae)===0){P(e,C);var n=g,r=me;g=e,me=!0;try{(t&te)!==0?jr(e):gn(e),wn(e);var s=Rn(e);e.teardown=typeof s=="function"?s:null,e.wv=xn;var i;Dt&&gr&&(e.f&L)!==0&&e.deps}finally{me=r,g=n}}}function x(e){var t=e.f,n=(t&N)!==0;if(w!==null&&!Z){var r=g!==null&&(g.f&ae)!==0;if(!r&&!oe?.includes(e)){var s=w.deps;if((w.f&pt)!==0)e.rv<Be&&(e.rv=Be,D===null&&s!==null&&s[H]===e?H++:D===null?D=[e]:D.includes(e)||D.push(e));else{(w.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[w]:i.includes(w)||i.push(w)}}}if(be){if(he.has(e))return he.get(e);if(n){var f=e,l=f.v;return((f.f&C)===0&&f.reactions!==null||Cn(f))&&(l=yt(f)),he.set(f,l),l}}else if(n){if(f=e,B?.has(f))return B.get(f);He(f)&&rn(f),me&&ft()&&(f.f&z)===0&&Nn(f)}else if(B?.has(e))return B.get(e);if((e.f&ce)!==0)throw e.v;return e.v}function Nn(e){if(e.deps!==null){e.f^=z;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&N)!==0&&(t.f&z)===0&&Nn(t)}}function Cn(e){if(e.v===R)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(he.has(t)||(t.f&N)!==0&&Cn(t))return!0;return!1}function On(e){var t=Z;try{return Z=!0,e()}finally{Z=t}}const Vr=-7169;function P(e,t){e.f=e.f&Vr|t}const Pn=new Set,Rt=new Set;function Yr(e){for(var t=0;t<e.length;t++)Pn.add(e[t]);for(var n of Rt)n(e)}let Mn=null;function ot(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Mn=e;var f=0,l=Mn===e&&e.__root;if(l){var o=s.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var u=s.indexOf(t);if(u===-1)return;o<=u&&(f=o)}if(i=s[f]||e.target,i!==t){Xe(e,"currentTarget",{configurable:!0,get(){return i||n}});var h=w,d=g;j(null),Q(null);try{for(var a,c=[];i!==null;){var _=i.assignedSlot||i.parentNode||i.host||null;try{var v=i["__"+r];v!=null&&(!i.disabled||e.target===i)&&v.call(i,e)}catch(p){a?c.push(p):a=p}if(e.cancelBubble||_===t||_===null)break;i=_}if(a){for(let p of c)queueMicrotask(()=>{throw p});throw a}}finally{e.__root=t,delete e.currentTarget,j(h),Q(d)}}}function zr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ve(e,t){var n=g;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Ye(e,t){var n=(t&Jn)!==0,r,s=!e.startsWith("<!>");return()=>{if($)return Ve(y,null),y;r===void 0&&(r=zr(s?e:"<!>"+e),r=je(r));var i=n||un?document.importNode(r,!0):r.cloneNode(!0);return Ve(i,i),i}}function Kr(e=""){if(!$){var t=W(e+"");return Ve(t,t),t}var n=y;return n.nodeType!==gt&&(n.before(n=W()),F(n)),Ve(n,n),n}function ye(e,t){if($){g.nodes_end=y,Me();return}e!==null&&e.before(t)}const Wr=["touchstart","touchmove"];function Gr(e){return Wr.includes(e)}function Dn(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function In(e,t){return Ln(e,t)}function Jr(e,t){kt(),t.intro=t.intro??!1;const n=t.target,r=$,s=y;try{for(var i=je(n);i&&(i.nodeType!==Te||i.data!==Mt);)i=le(i);if(!i)throw Ee;se(!0),F(i);const f=Ln(e,{...t,anchor:i});return se(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==Ee&&console.warn("Failed to hydrate: ",f),t.recover===!1&&ur(),kt(),hn(n),se(!1),In(e,t)}finally{se(r),F(s)}}const Oe=new Map;function Ln(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:f=!0}){kt();var l=new Set,o=d=>{for(var a=0;a<d.length;a++){var c=d[a];if(!l.has(c)){l.add(c);var _=Gr(c);t.addEventListener(c,ot,{passive:_});var v=Oe.get(c);v===void 0?(document.addEventListener(c,ot,{passive:_}),Oe.set(c,1)):Oe.set(c,v+1)}}};o(dt(Pn)),Rt.add(o);var u=void 0,h=Ir(()=>{var d=n??t.appendChild(W());return Er(d,{pending:()=>{}},a=>{if(i){zt({});var c=U;c.c=i}if(s&&(r.$$events=s),$&&Ve(a,null),u=e(a,r)||{},$&&(g.nodes_end=y,y===null||y.nodeType!==Te||y.data!==ht))throw tt(),Ee;i&&Kt()}),()=>{for(var a of l){t.removeEventListener(a,ot);var c=Oe.get(a);--c===0?(document.removeEventListener(a,ot),Oe.delete(a)):Oe.set(a,c)}Rt.delete(o),d!==n&&d.parentNode?.removeChild(d)}});return Nt.set(u,h),u}let Nt=new WeakMap;function Xr(e,t){const n=Nt.get(e);return n?(Nt.delete(e),n(t)):Promise.resolve()}class Zr{anchor;#t=new Map;#e=new Map;#n=new Map;#r=!0;constructor(t,n=!0){this.anchor=t,this.#r=n}#o=()=>{var t=k;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)At(r);else{var s=this.#n.get(n);s&&(this.#e.set(n,s.effect),this.#n.delete(n),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),r=s.effect)}for(const[i,f]of this.#t){if(this.#t.delete(i),i===t)break;const l=this.#n.get(f);l&&(O(l.effect),this.#n.delete(f))}for(const[i,f]of this.#e){if(i===n)continue;const l=()=>{if(Array.from(this.#t.values()).includes(i)){var u=document.createDocumentFragment();yn(f,u),u.append(W()),this.#n.set(i,{effect:f,fragment:u})}else O(f);this.#e.delete(i)};this.#r||!r?Ce(f,l,!1):l()}}};#f=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,s]of this.#n)n.includes(r)||(O(s.effect),this.#n.delete(r))};ensure(t,n){var r=k,s=dn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(s){var i=document.createDocumentFragment(),f=W();i.append(f),this.#n.set(t,{effect:V(()=>n(f)),fragment:i})}else this.#e.set(t,V(()=>n(this.anchor)));if(this.#t.set(r,t),s){for(const[l,o]of this.#e)l===t?r.skipped_effects.delete(o):r.skipped_effects.add(o);for(const[l,o]of this.#n)l===t?r.skipped_effects.delete(o.effect):r.skipped_effects.add(o.effect);r.oncommit(this.#o),r.ondiscard(this.#f)}else $&&(this.anchor=y),this.#o()}}function Fn(e,t,n=!1){$&&Me();var r=new Zr(e),s=n?ke:0;function i(f,l){if($){const u=Ut(e)===Ge;if(f===u){var o=nt();F(o),r.anchor=o,se(!1),r.ensure(f,l),se(!0);return}}r.ensure(f,l)}Tt(()=>{var f=!1;t((l,o=!0)=>{f=!0,i(o,l)}),f||i(!1,null)},s)}function Qr(e,t,n){for(var r=e.items,s=[],i=t.length,f=0;f<i;f++)St(t[f].e,s,!0);var l=i>0&&s.length===0&&n!==null;if(l){var o=n.parentNode;hn(o),o.append(n),r.clear(),ee(e,t[0].prev,t[i-1].next)}bn(s,()=>{for(var u=0;u<i;u++){var h=t[u];l||(r.delete(h.k),ee(e,h.prev,h.next)),O(h.e,!l)}})}function es(e,t,n,r,s,i=null){var f=e,l={flags:t,items:new Map,first:null};{var o=e;f=$?F(je(o)):o.appendChild(W())}$&&Me();var u=null,h=!1,d=new Map,a=tn(()=>{var p=n();return It(p)?p:p==null?[]:dt(p)}),c,_;function v(){ts(_,c,l,d,f,s,t,r,n),i!==null&&(c.length===0?u?At(u):u=V(()=>i(f)):u!==null&&Ce(u,()=>{u=null}))}Tt(()=>{_??=g,c=x(a);var p=c.length;if(h&&p===0)return;h=p===0;let S=!1;if($){var m=Ut(f)===Ge;m!==(p===0)&&(f=nt(),F(f),se(!1),S=!0)}if($){for(var b=null,T,E=0;E<p;E++){if(y.nodeType===Te&&y.data===ht){f=y,S=!0,se(!1);break}var G=c[E],A=r(G,E);T=Ct(y,l,b,null,G,A,E,s,t,n),l.items.set(A,T),b=T}p>0&&F(nt())}if($)p===0&&i&&(u=V(()=>i(f)));else if(dn()){var M=new Set,I=k;for(E=0;E<p;E+=1){G=c[E],A=r(G,E);var ze=l.items.get(A)??d.get(A);ze?jn(ze,G,E):(T=Ct(null,l,null,null,G,A,E,s,t,n,!0),d.set(A,T)),M.add(A)}for(const[Ke,We]of l.items)M.has(Ke)||I.skipped_effects.add(We.e);I.oncommit(v)}else v();S&&se(!0),x(a)}),$&&(f=y)}function ts(e,t,n,r,s,i,f,l,o){var u=t.length,h=n.items,d=n.first,a=d,c,_=null,v=[],p=[],S,m,b,T;for(T=0;T<u;T+=1){if(S=t[T],m=l(S,T),b=h.get(m),b===void 0){var E=r.get(m);if(E!==void 0){r.delete(m),h.set(m,E);var G=_?_.next:a;ee(n,_,E),ee(n,E,G),Ot(E,G,s),_=E}else{var A=a?a.e.nodes_start:s;_=Ct(A,n,_,_===null?n.first:_.next,S,m,T,i,f,o)}h.set(m,_),v=[],p=[],a=_.next;continue}if(jn(b,S,T),(b.e.f&q)!==0&&At(b.e),b!==a){if(c!==void 0&&c.has(b)){if(v.length<p.length){var M=p[0],I;_=M.prev;var ze=v[0],Ke=v[v.length-1];for(I=0;I<v.length;I+=1)Ot(v[I],M,s);for(I=0;I<p.length;I+=1)c.delete(p[I]);ee(n,ze.prev,Ke.next),ee(n,_,ze),ee(n,Ke,M),a=M,_=Ke,T-=1,v=[],p=[]}else c.delete(b),Ot(b,a,s),ee(n,b.prev,b.next),ee(n,b,_===null?n.first:_.next),ee(n,_,b),_=b;continue}for(v=[],p=[];a!==null&&a.k!==m;)(a.e.f&q)===0&&(c??=new Set).add(a),p.push(a),a=a.next;if(a===null)continue;b=a}v.push(b),_=b,a=b.next}if(a!==null||c!==void 0){for(var We=c===void 0?[]:dt(c);a!==null;)(a.e.f&q)===0&&We.push(a),a=a.next;var ys=We.length;if(ys>0){var Es=u===0?s:null;Qr(n,We,Es)}}e.first=n.first&&n.first.e,e.last=_&&_.e;for(var ks of r.values())O(ks.e);r.clear()}function jn(e,t,n,r){Le(e.v,t),e.i=n}function Ct(e,t,n,r,s,i,f,l,o,u,h){var d=(o&Un)!==0,a=(o&Yn)===0,c=d?a?fn(s,!1,!1):ge(s):s,_=(o&Vn)===0?f:ge(f),v={i:_,v:c,k:i,a:null,e:null,prev:n,next:r};try{if(e===null){var p=document.createDocumentFragment();p.append(e=W())}return v.e=V(()=>l(e,c,_,u),$),v.e.prev=n&&n.e,v.e.next=r&&r.e,n===null?h||(t.first=v):(n.next=v,n.e.next=v.e),r!==null&&(r.prev=v,r.e.prev=v.e),v}finally{}}function Ot(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,s=t?t.e.nodes_start:n,i=e.e.nodes_start;i!==null&&i!==r;){var f=le(i);s.before(i),i=f}}function ee(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function ns(e,t,n,r,s){$&&Me();var i=t.$$slots?.[n],f=!1;i===!0&&(i=t[n],f=!0),i===void 0?s!==null&&s(e):i(e,f?()=>r:r)}function rs(e,t){Lr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function ss(e,t){return e==null?null:String(e)}function is(e,t,n,r){var s=e.__style;if($||s!==t){var i=ss(t);(!$||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return r}const fs=Symbol("is custom element"),ls=Symbol("is html");function os(e,t,n,r){var s=us(e);$&&(s[t]=e.getAttribute(t),e.nodeName==="LINK")||s[t]!==(s[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&as(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function us(e){return e.__attributes??={[fs]:e.nodeName.includes("-"),[ls]:e.namespaceURI===Xn}}var qn=new Map;function as(e){var t=e.getAttribute("is")||e.nodeName,n=qn.get(t);if(n)return n;qn.set(t,n=[]);for(var r,s=e,i=Element.prototype;i!==s;){r=Qn(s);for(var f in r)r[f].set&&n.push(f);s=Lt(s)}return n}let ut=!1;function cs(e){var t=ut;try{return ut=!1,[e(),ut]}finally{ut=t}}function at(e,t,n,r){var s=(n&Wn)!==0,i=(n&Gn)!==0,f=r,l=!0,o=()=>(l&&(l=!1,f=i?On(r):r),f),u;if(s){var h=et in e||Ht in e;u=ve(e,t)?.set??(h&&t in e?m=>e[t]=m:void 0)}var d,a=!1;s?[d,a]=cs(()=>e[t]):d=e[t],d===void 0&&r!==void 0&&(d=o(),u&&(ar(),u(d)));var c;if(c=()=>{var m=e[t];return m===void 0?o():(l=!0,m)},(n&Kn)===0)return c;if(u){var _=e.$$legacy;return(function(m,b){return arguments.length>0?((!b||_||a)&&u(b?c():m),m):c()})}var v=!1,p=((n&zn)!==0?$t:tn)(()=>(v=!1,c()));s&&x(p);var S=g;return(function(m,b){if(arguments.length>0){const T=b?x(p):s?Ne(m):m;return fe(p,T),v=!0,f!==void 0&&(f=T),m}return be&&v||(S.f&ae)!==0?p.v:x(p)})}function hs(e){return new ds(e)}class ds{#t;#e;constructor(t){var n=new Map,r=(i,f)=>{var l=fn(f,!1,!1);return n.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,f){return x(n.get(f)??r(f,Reflect.get(i,f)))},has(i,f){return f===Ht?!0:(x(n.get(f)??r(f,Reflect.get(i,f))),Reflect.has(i,f))},set(i,f,l){return fe(n.get(f)??r(f,l),l),Reflect.set(i,f,l)}});this.#e=(t.hydrate?Jr:In)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Ie(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Xe(this,i,{get(){return this.#e[i]},set(f){this.#e[i]=f},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{Xr(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...s)=>n.call(this,...s);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(s=>s!==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 s=>{const i=document.createElement("slot");r!=="default"&&(i.name=r),ye(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=vs(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 s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=ct(s,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=hs({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Dr(()=>{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 s=ct(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=ct(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 ct(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function vs(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function _s(e,t,n,r,s,i){let f=class extends Bn{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return Je(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Je(t).forEach(l=>{Xe(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=ct(l,o,t),this.$$d[l]=o;var u=this.$$c;if(u){var h=ve(u,l)?.get;h?u[l]=o:u.$set({[l]:o})}}})}),r.forEach(l=>{Xe(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}var ps=Ye('<a class="svelte-1bsvmkw"> </a>'),ws=Ye('<div class="svelte-1bsvmkw"> </div>'),gs=Ye('<div class="svelte-1bsvmkw"><!></div>'),ms=Ye('<div class="dropdown-content svelte-1bsvmkw" part="dropdowncontent"></div>'),bs=Ye('<div class="dropdown svelte-1bsvmkw" part="dropdown"><div class="dropbtn svelte-1bsvmkw" part="dropdownbutton"><!></div> <!></div>');const $s={hash:"svelte-1bsvmkw",code:'@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;}.dropbtn.svelte-1bsvmkw {cursor:pointer;}.dropdown.svelte-1bsvmkw {position:relative;display:inline-block;}.dropdown-content.svelte-1bsvmkw {display:block;position:absolute;right:0;margin-top:10px;background-color:#f9f9f9;min-width:120px;box-shadow:0px 4px 8px 0px rgba(0, 0, 0, 0.2);z-index:1;font-size:0.8em;}.dropdown-content.svelte-1bsvmkw div:where(.svelte-1bsvmkw) {color:black;padding:6px 8px;text-decoration:none;display:block;border:none;background-color:none;cursor:pointer;}.dropdown-content.svelte-1bsvmkw a:where(.svelte-1bsvmkw) {width:100%;color:black;padding:6px 8px;text-decoration:none;display:block;border:none;background-color:none;}.dropdown-content.svelte-1bsvmkw div:where(.svelte-1bsvmkw):hover {background-color:#f1f1f1;}'};function Hn(e,t){zt(t,!0),rs(e,$s);let n=at(t,"id",7,""),r=at(t,"open",7,!1),s=at(t,"position",7),i=at(t,"list",23,()=>[]);Mr(()=>{console.log(r()),n()||n(""),s()||(t.$$host?.style?.float&&t.$$host.style.float==="right"?s("right"):s("left")),r()==="yes"||r()===""||r()===!0?r(!0):r(!1);try{i()&&!i()[0]?.key?i(JSON.parse(i())):i()||i([])}catch{i([])}});function f(v,p){t.$$host.dispatchEvent(new CustomEvent(v,{detail:p}))}function l(){r(!r()),f("dropdownSwitch",{open:r(),id:n()})}function o(v){f("dropDownClick",{key:v}),l()}var u={get id(){return n()},set id(v=""){n(v),Ie()},get open(){return r()},set open(v=!1){r(v),Ie()},get position(){return s()},set position(v){s(v),Ie()},get list(){return i()},set list(v=[]){i(v),Ie()}},h=bs(),d=qe(h);d.__click=l;var a=qe(d);ns(a,t,"dropdownbutton",{},v=>{var p=Kr("btn");ye(v,p)}),Se(d);var c=Nr(d,2);{var _=v=>{var p=ms();es(p,21,i,S=>S.key,(S,m)=>{var b=gs();b.__click=()=>o(x(m).key);var T=qe(b);{var E=A=>{var M=ps(),I=qe(M,!0);Se(M),xt(()=>{os(M,"href",x(m).linkHref),Dn(I,x(m).label)}),ye(A,M)},G=A=>{var M=ws(),I=qe(M,!0);Se(M),xt(()=>Dn(I,x(m).label)),ye(A,M)};Fn(T,A=>{x(m).linkHref?A(E):A(G,!1)})}Se(b),ye(S,b)}),Se(p),xt(()=>is(p,s()==="right"?"":"left:0;")),ye(v,p)};Fn(c,v=>{r()&&v(_)})}return Se(h),ye(e,h),Kt(u)}Yr(["click"]),customElements.define("hb-dropdown-simple",_s(Hn,{id:{},open:{},position:{},list:{}},["dropdownbutton"],[],!0)),Pt.Component=Hn,Object.defineProperty(Pt,Symbol.toStringTag,{value:"Module"})})(this["dropdown-simple"]=this["dropdown-simple"]||{});
|
|
1
|
+
(function(Pt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Hn=1,Un=2,Vn=16,Yn=1,zn=4,Kn=8,Wn=16,Gn=2,Mt="[",Ke="[!",ht="]",xe={},T=Symbol(),Jn="http://www.w3.org/1999/xhtml",dt=!1;var Dt=Array.isArray,Xn=Array.prototype.indexOf,vt=Array.from,We=Object.keys,Ge=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,Zn=Object.getOwnPropertyDescriptors,Qn=Object.prototype,er=Array.prototype,It=Object.getPrototypeOf,Lt=Object.isExtensible;function tr(e){for(var t=0;t<e.length;t++)e[t]()}function Ft(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const x=2,_t=4,pt=8,ee=16,te=32,ue=64,Je=128,V=512,S=1024,O=2048,ne=4096,I=8192,re=16384,Xe=32768,Te=65536,jt=1<<17,qt=1<<18,pe=1<<19,nr=1<<20,ge=32768,gt=1<<21,wt=1<<22,ae=1<<23,Ze=Symbol("$state"),Bt=Symbol("legacy props"),Se=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},mt=3,Ae=8;function rr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ir(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function sr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function fr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function lr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function or(){throw new Error("https://svelte.dev/e/hydration_failed")}function ur(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function ar(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function cr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function hr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function dr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Qe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function vr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function ie(e){m=e}let $;function P(e){if(e===null)throw Qe(),xe;return $=e}function De(){return P(le($))}function Re(e){if(m){if(le($)!==null)throw Qe(),xe;$=e}}function _r(e=1){if(m){for(var t=e,n=$;t--;)n=le(n);$=n}}function et(e=!0){for(var t=0,n=$;;){if(n.nodeType===Ae){var r=n.data;if(r===ht){if(t===0)return n;t-=1}else(r===Mt||r===Ke)&&(t+=1)}var s=le(n);e&&n.remove(),n=s}}function Ht(e){if(!e||e.nodeType!==Ae)throw Qe(),xe;return e.data}function Ut(e){return e===this.v}function pr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Vt(e){return!pr(e,this.v)}let gr=!1,F=null;function Ne(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 zt(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)vn(r)}return e!==void 0&&(t.x=e),t.i=!0,F=t.p,e??{}}function Kt(){return!0}let we=[];function Wt(){var e=we;we=[],tr(e)}function bt(e){if(we.length===0&&!Ie){var t=we;queueMicrotask(()=>{t===we&&Wt()})}we.push(e)}function wr(){for(;we.length>0;)Wt()}function Gt(e){var t=w;if(t===null)return g.f|=ae,e;if((t.f&Xe)===0){if((t.f&Je)===0)throw e;t.b.error(e)}else Ce(e,t)}function Ce(e,t){for(;t!==null;){if((t.f&Je)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const tt=new Set;let E=null,j=null,q=[],nt=null,$t=!1,Ie=!1;class Y{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#o=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.#a(),this.is_deferred()?(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects)):(E=null,Xt(n.render_effects),Xt(n.effects),this.#o?.resolve()),j=null}#f(t,n){t.f^=S;for(var r=t.first;r!==null;){var s=r.f,i=(s&(te|ue))!==0,f=i&&(s&S)!==0,l=f||(s&I)!==0||this.skipped_effects.has(r);if((r.f&Je)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!l&&r.fn!==null){i?r.f^=S:(s&_t)!==0?n.effects.push(r):Ue(r)&&((r.f&ee)!==0&&n.block_effects.push(r),Ve(r));var o=r.first;if(o!==null){r=o;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)u===n.effect&&(this.#l(n.effects),this.#l(n.render_effects),this.#l(n.block_effects),n=n.parent),r=u.next,u=u.parent}}#l(t){for(const n of t)((n.f&O)!==0?this.#s:this.#i).push(n),this.#u(n.deps),A(n,S)}#u(t){if(t!==null)for(const n of t)(n.f&x)===0||(n.f&ge)===0||(n.f^=ge,this.#u(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&ae)===0&&(this.current.set(t,t.v),j?.set(t,t.v))}activate(){E=this,this.apply()}deactivate(){E===this&&(E=null,j=null)}flush(){if(this.activate(),q.length>0){if(Jt(),E!==null&&E!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#a(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(tt.size>1){this.previous.clear();var t=j,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of tt){if(i===this){n=!1;continue}const f=[];for(const[o,u]of this.current){if(i.current.has(o))if(n&&u!==i.current.get(o))i.current.set(o,u);else continue;f.push(o)}if(f.length===0)continue;const l=[...i.current.keys()].filter(o=>!this.current.has(o));if(l.length>0){var s=q;q=[];const o=new Set,u=new Map;for(const a of f)Zt(a,l,o,u);if(q.length>0){E=i,i.apply();for(const a of q)i.#f(a,r);i.deactivate()}q=s}}E=null,j=t}this.committed=!0,tt.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)A(t,O),me(t);for(const t of this.#i)A(t,ne),me(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=Ft()).promise}static ensure(){if(E===null){const t=E=new Y;tt.add(E),Ie||Y.enqueue(()=>{E===t&&t.flush()})}return E}static enqueue(t){bt(t)}apply(){}}function Le(e){var t=Ie;Ie=!0;try{for(var n;;){if(wr(),q.length===0&&(E?.flush(),q.length===0))return nt=null,n;Jt()}}finally{Ie=t}}function Jt(){var e=de;$t=!0;var t=null;try{var n=0;for(st(!0);q.length>0;){var r=Y.ensure();if(n++>1e3){var s,i;mr()}r.process(q),ce.clear()}}finally{$t=!1,st(e),nt=null}}function mr(){try{lr()}catch(e){Ce(e,nt)}}let se=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|I))===0&&Ue(r)&&(se=new Set,Ve(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?wn(r):r.fn=null),se?.size>0)){ce.clear();for(const s of se){if((s.f&(re|I))!==0)continue;const i=[s];let f=s.parent;for(;f!==null;)se.has(f)&&(se.delete(f),i.push(f)),f=f.parent;for(let l=i.length-1;l>=0;l--){const o=i[l];(o.f&(re|I))===0&&Ve(o)}}se.clear()}}se=null}}function Zt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&x)!==0?Zt(s,t,n,r):(i&(wt|ee))!==0&&(i&O)===0&&Qt(s,t,r)&&(A(s,O),me(s))}}function Qt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&x)!==0&&Qt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function me(e){for(var t=nt=e;t.parent!==null;){t=t.parent;var n=t.f;if($t&&t===w&&(n&ee)!==0&&(n&qt)===0)return;if((n&(ue|te))!==0){if((n&S)===0)return;t.f^=S}}q.push(t)}function br(e){let t=0,n=be(0),r;return()=>{it()&&(k(n),_n(()=>(t===0&&(r=Nn(()=>e(()=>je(n)))),t+=1,()=>{bt(()=>{t-=1,t===0&&(r?.(),r=void 0,je(n))})})))}}var $r=Te|pe|Je;function yr(e,t,n){new Er(e,t,n)}class Er{parent;#t=!1;#e;#n=m?$:null;#r;#o;#s;#i=null;#f=null;#l=null;#u=null;#a=null;#c=0;#h=0;#v=!1;#d=null;#m=br(()=>(this.#d=be(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#o=r,this.parent=w.b,this.#t=!!this.#r.pending,this.#s=At(()=>{if(w.b=this,m){const i=this.#n;De(),i.nodeType===Ae&&i.data===Ke?this.#$():this.#b()}else{var s=this.#g();try{this.#i=H(()=>r(s))}catch(i){this.error(i)}this.#h>0?this.#p():this.#t=!1}return()=>{this.#a?.remove()}},$r),m&&(this.#e=$)}#b(){try{this.#i=H(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#$(){const t=this.#r.pending;t&&(this.#f=H(()=>t(this.#e)),Y.enqueue(()=>{var n=this.#g();this.#i=this.#_(()=>(Y.ensure(),H(()=>this.#o(n)))),this.#h>0?this.#p():(Pe(this.#f,()=>{this.#f=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#a=B(),this.#e.before(this.#a),t=this.#a),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=w,r=g,s=F;X(this.#s),M(this.#s),Ne(this.#s.ctx);try{return t()}catch(i){return Gt(i),null}finally{X(n),M(r),Ne(s)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#u=document.createDocumentFragment(),this.#u.append(this.#a),$n(this.#i,this.#u)),this.#f===null&&(this.#f=H(()=>t(this.#e)))}#w(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t);return}this.#h+=t,this.#h===0&&(this.#t=!1,this.#f&&Pe(this.#f,()=>{this.#f=null}),this.#u&&(this.#e.before(this.#u),this.#u=null))}update_pending_count(t){this.#w(t),this.#c+=t,this.#d&&Fe(this.#d,this.#c)}get_effect_pending(){return this.#m(),k(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#i&&(R(this.#i),this.#i=null),this.#f&&(R(this.#f),this.#f=null),this.#l&&(R(this.#l),this.#l=null),m&&(P(this.#n),_r(),P(et()));var s=!1,i=!1;const f=()=>{if(s){vr();return}s=!0,i&&dr(),Y.ensure(),this.#c=0,this.#l!==null&&Pe(this.#l,()=>{this.#l=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,H(()=>this.#o(this.#e)))),this.#h>0?this.#p():this.#t=!1};var l=g;try{M(null),i=!0,n?.(t,f),i=!1}catch(o){Ce(o,this.#s&&this.#s.parent)}finally{M(l)}r&&bt(()=>{this.#l=this.#_(()=>{Y.ensure(),this.#v=!0;try{return H(()=>{r(this.#e,()=>t,()=>f)})}catch(o){return Ce(o,this.#s.parent),null}finally{this.#v=!1}})})}}function kr(e,t,n){for(var r=[],s=t.length,i=0;i<s;i++)Rt(t[i].e,r,!0);mn(r,()=>{var f=r.length===0&&n!==null;if(f){var l=n,o=l.parentNode;cn(o),o.append(l),e.items.clear(),W(e,t[0].prev,t[s-1].next)}for(var u=0;u<s;u++){var a=t[u];f||(e.items.delete(a.k),W(e,a.prev,a.next)),R(a.e,!f)}e.first===t[0]&&(e.first=t[0].prev)})}function xr(e,t,n,r,s,i=null){var f=e,l=new Map,o=null;{var u=e;f=m?P(qe(u)):u.appendChild(B())}m&&De();var a=null,d=en(()=>{var y=n();return Dt(y)?y:y==null?[]:vt(y)}),c,h=!0;function v(){Tr(b,c,f,t,r),a!==null&&(c.length===0?(a.fragment?(f.before(a.fragment),a.fragment=null):Nt(a.effect),_.first=a.effect):Pe(a.effect,()=>{a=null}))}var _=At(()=>{c=k(d);var y=c.length;let p=!1;if(m){var D=Ht(f)===Ke;D!==(y===0)&&(f=et(),P(f),ie(!1),p=!0)}for(var z=new Set,Z=E,ve=null,K=hn(),C=0;C<y;C+=1){m&&$.nodeType===Ae&&$.data===ht&&(f=$,p=!0,ie(!1));var ke=c[C],ct=r(ke,C),Q=h?null:l.get(ct);Q?(Fe(Q.v,ke),Q.i=C,K&&Z.skipped_effects.delete(Q.e)):(Q=Sr(h?f:null,ve,ke,ct,C,s,t,n),h&&(Q.o=!0,ve===null?o=Q:ve.next=Q,ve=Q),l.set(ct,Q)),z.add(ct)}if(y===0&&i&&!a)if(h)a={fragment:null,effect:H(()=>i(f))};else{var qn=document.createDocumentFragment(),Bn=B();qn.append(Bn),a={fragment:qn,effect:H(()=>i(Bn))}}if(m&&y>0&&P(et()),!h)if(K){for(const[yi,Ei]of l)z.has(yi)||Z.skipped_effects.add(Ei.e);Z.oncommit(v),Z.ondiscard(()=>{})}else v();p&&ie(!0),k(d)}),b={effect:_,items:l,first:o};h=!1,m&&(f=$)}function Tr(e,t,n,r,s){var i=t.length,f=e.items,l=e.first,o,u=null,a=[],d=[],c,h,v,_;for(_=0;_<i;_+=1){if(c=t[_],h=s(c,_),v=f.get(h),e.first??=v,!v.o){v.o=!0;var b=u?u.next:l;W(e,u,v),W(e,v,b),yt(v,b,n),u=v,a=[],d=[],l=u.next;continue}if((v.e.f&I)!==0&&Nt(v.e),v!==l){if(o!==void 0&&o.has(v)){if(a.length<d.length){var y=d[0],p;u=y.prev;var D=a[0],z=a[a.length-1];for(p=0;p<a.length;p+=1)yt(a[p],y,n);for(p=0;p<d.length;p+=1)o.delete(d[p]);W(e,D.prev,z.next),W(e,u,D),W(e,z,y),l=y,u=z,_-=1,a=[],d=[]}else o.delete(v),yt(v,l,n),W(e,v.prev,v.next),W(e,v,u===null?e.first:u.next),W(e,u,v),u=v;continue}for(a=[],d=[];l!==null&&l.k!==h;)(l.e.f&I)===0&&(o??=new Set).add(l),d.push(l),l=l.next;if(l===null)continue;v=l}a.push(v),u=v,l=v.next}if(l!==null||o!==void 0){for(var Z=o===void 0?[]:vt(o);l!==null;)(l.e.f&I)===0&&Z.push(l),l=l.next;var ve=Z.length;if(ve>0){var K=i===0?n:null;kr(e,Z,K)}}}function Sr(e,t,n,r,s,i,f,l){var o=(f&Hn)!==0,u=(f&Vn)===0,a=o?u?sn(n,!1,!1):be(n):n,d=(f&Un)===0?s:be(s),c={i:d,v:a,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var h=document.createDocumentFragment();h.append(e=B())}return c.e=H(()=>i(e,a,d,l)),t!==null&&(t.next=c),c}finally{}}function yt(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,s=t?t.e.nodes_start:n,i=e.e.nodes_start;i!==null&&i!==r;){var f=le(i);s.before(i),i=f}}function W(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 Ar(e,t,n,r){const s=Et;if(n.length===0&&e.length===0){r(t.map(s));return}var i=E,f=w,l=Rr();function o(){Promise.all(n.map(u=>Nr(u))).then(u=>{l();try{r([...t.map(s),...u])}catch(a){(f.f&re)===0&&Ce(a,f)}i?.deactivate(),rt()}).catch(u=>{Ce(u,f)})}e.length>0?Promise.all(e).then(()=>{l();try{return o()}finally{i?.deactivate(),rt()}}):o()}function Rr(){var e=w,t=g,n=F,r=E;return function(i=!0){X(e),M(t),Ne(n),i&&r?.activate()}}function rt(){X(null),M(null),Ne(null)}function Et(e){var t=x|O,n=g!==null&&(g.f&x)!==0?g:null;return w!==null&&(w.f|=pe),{ctx:F,deps:null,effects:null,equals:Ut,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??w,ac:null}}function Nr(e,t){let n=w;n===null&&rr();var r=n.b,s=void 0,i=be(T),f=!g,l=new Map;return Br(()=>{var o=Ft();s=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).then(()=>{u===E&&u.committed&&u.deactivate(),rt()})}catch(c){o.reject(c),rt()}var u=E;if(f){var a=!r.is_pending();r.update_pending_count(1),u.increment(a),l.get(u)?.reject(Se),l.delete(u),l.set(u,o)}const d=(c,h=void 0)=>{if(u.activate(),h)h!==Se&&(i.f|=ae,Fe(i,h));else{(i.f&ae)!==0&&(i.f^=ae),Fe(i,c);for(const[v,_]of l){if(l.delete(v),v===u)break;_.reject(Se)}}f&&(r.update_pending_count(-1),u.decrement(a))};o.promise.then(d,c=>d(null,c||"unknown"))}),Ir(()=>{for(const o of l.values())o.reject(Se)}),new Promise(o=>{function u(a){function d(){a===s?o(i):u(s)}a.then(d,d)}u(s)})}function en(e){const t=Et(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)R(t[n])}}function Cr(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 kt(e){var t,n=w;X(Cr(e));try{e.f&=~ge,tn(e),t=Sn(e)}finally{X(n)}return t}function nn(e){var t=kt(e);if(e.equals(t)||(E?.is_fork||(e.v=t),e.wv=xn()),!$e)if(j!==null)it()&&j.set(e,t);else{var n=(e.f&V)===0?ne:S;A(e,n)}}let xt=new Set;const ce=new Map;let rn=!1;function be(e,t){var n={f:0,v:e,reactions:null,equals:Ut,rv:0,wv:0};return n}function he(e,t){const n=be(e);return Vr(n),n}function sn(e,t=!1,n=!0){const r=be(e);return t||(r.equals=Vt),r}function fe(e,t,n=!1){g!==null&&(!J||(g.f&jt)!==0)&&Kt()&&(g.f&(x|ee|wt|jt))!==0&&!oe?.includes(e)&&hr();let r=n?Oe(t):t;return Fe(e,r)}function Fe(e,t){if(!e.equals(t)){var n=e.v;$e?ce.set(e,t):ce.set(e,n),e.v=t;var r=Y.ensure();r.capture(e,n),(e.f&x)!==0&&((e.f&O)!==0&&kt(e),A(e,(e.f&V)!==0?S:ne)),e.wv=xn(),fn(e,O),w!==null&&(w.f&S)!==0&&(w.f&(te|ue))===0&&(U===null?Yr([e]):U.push(e)),!r.is_fork&&xt.size>0&&!rn&&Or()}return t}function Or(){rn=!1;var e=de;st(!0);const t=Array.from(xt);try{for(const n of t)(n.f&S)!==0&&A(n,ne),Ue(n)&&Ve(n)}finally{st(e)}xt.clear()}function je(e){fe(e,e.v+1)}function fn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],f=i.f,l=(f&O)===0;if(l&&A(i,t),(f&x)!==0){var o=i;j?.delete(o),(f&ge)===0&&(f&V&&(i.f|=ge),fn(o,ne))}else l&&((f&ee)!==0&&se!==null&&se.add(i),me(i))}}function Oe(e){if(typeof e!="object"||e===null||Ze in e)return e;const t=It(e);if(t!==Qn&&t!==er)return e;var n=new Map,r=Dt(e),s=he(0),i=ye,f=l=>{if(ye===i)return l();var o=g,u=ye;M(null),kn(i);var a=l();return M(o),kn(u),a};return r&&n.set("length",he(e.length)),new Proxy(e,{defineProperty(l,o,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&ar();var a=n.get(o);return a===void 0?a=f(()=>{var d=he(u.value);return n.set(o,d),d}):fe(a,u.value,!0),!0},deleteProperty(l,o){var u=n.get(o);if(u===void 0){if(o in l){const a=f(()=>he(T));n.set(o,a),je(s)}}else fe(u,T),je(s);return!0},get(l,o,u){if(o===Ze)return e;var a=n.get(o),d=o in l;if(a===void 0&&(!d||_e(l,o)?.writable)&&(a=f(()=>{var h=Oe(d?l[o]:T),v=he(h);return v}),n.set(o,a)),a!==void 0){var c=k(a);return c===T?void 0:c}return Reflect.get(l,o,u)},getOwnPropertyDescriptor(l,o){var u=Reflect.getOwnPropertyDescriptor(l,o);if(u&&"value"in u){var a=n.get(o);a&&(u.value=k(a))}else if(u===void 0){var d=n.get(o),c=d?.v;if(d!==void 0&&c!==T)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(l,o){if(o===Ze)return!0;var u=n.get(o),a=u!==void 0&&u.v!==T||Reflect.has(l,o);if(u!==void 0||w!==null&&(!a||_e(l,o)?.writable)){u===void 0&&(u=f(()=>{var c=a?Oe(l[o]):T,h=he(c);return h}),n.set(o,u));var d=k(u);if(d===T)return!1}return a},set(l,o,u,a){var d=n.get(o),c=o in l;if(r&&o==="length")for(var h=u;h<d.v;h+=1){var v=n.get(h+"");v!==void 0?fe(v,T):h in l&&(v=f(()=>he(T)),n.set(h+"",v))}if(d===void 0)(!c||_e(l,o)?.writable)&&(d=f(()=>he(void 0)),fe(d,Oe(u)),n.set(o,d));else{c=d.v!==T;var _=f(()=>Oe(u));fe(d,_)}var b=Reflect.getOwnPropertyDescriptor(l,o);if(b?.set&&b.set.call(a,u),!c){if(r&&typeof o=="string"){var y=n.get("length"),p=Number(o);Number.isInteger(p)&&p>=y.v&&fe(y,p+1)}je(s)}return!0},ownKeys(l){k(s);var o=Reflect.ownKeys(l).filter(d=>{var c=n.get(d);return c===void 0||c.v!==T});for(var[u,a]of n)a.v!==T&&!(u in l)&&o.push(u);return o},setPrototypeOf(){cr()}})}var ln,on,un,an;function Tt(){if(ln===void 0){ln=window,on=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;un=_e(t,"firstChild").get,an=_e(t,"nextSibling").get,Lt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Lt(n)&&(n.__t=void 0)}}function B(e=""){return document.createTextNode(e)}function qe(e){return un.call(e)}function le(e){return an.call(e)}function Be(e,t){if(!m)return qe(e);var n=qe($);if(n===null)n=$.appendChild(B());else if(t&&n.nodeType!==mt){var r=B();return n?.before(r),P(r),r}return P(n),n}function Pr(e,t=1,n=!1){let r=m?$:e;for(var s;t--;)s=r,r=le(r);if(!m)return r;if(n&&r?.nodeType!==mt){var i=B();return r===null?s?.after(i):r.before(i),P(i),i}return P(r),r}function cn(e){e.textContent=""}function hn(){return!1}function dn(e){var t=g,n=w;M(null),X(null);try{return e()}finally{M(t),X(n)}}function Mr(e){w===null&&(g===null&&fr(),sr()),$e&&ir()}function Dr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function G(e,t,n){var r=w;r!==null&&(r.f&I)!==0&&(e|=I);var s={ctx:F,deps:null,nodes_start:null,nodes_end:null,f:e|O|V,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{Ve(s),s.f|=Xe}catch(l){throw R(s),l}else t!==null&&me(s);var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&pe)===0&&(i=i.first,(e&ee)!==0&&(e&Te)!==0&&i!==null&&(i.f|=Te)),i!==null&&(i.parent=r,r!==null&&Dr(i,r),g!==null&&(g.f&x)!==0&&(e&ue)===0)){var f=g;(f.effects??=[]).push(i)}return s}function it(){return g!==null&&!J}function Ir(e){const t=G(pt,null,!1);return A(t,S),t.teardown=e,t}function Lr(e){Mr();var t=w.f,n=!g&&(t&te)!==0&&(t&Xe)===0;if(n){var r=F;(r.e??=[]).push(e)}else return vn(e)}function vn(e){return G(_t|nr,e,!1)}function Fr(e){Y.ensure();const t=G(ue|pe,e,!0);return()=>{R(t)}}function jr(e){Y.ensure();const t=G(ue|pe,e,!0);return(n={})=>new Promise(r=>{n.outro?Pe(t,()=>{R(t),r(void 0)}):(R(t),r(void 0))})}function qr(e){return G(_t,e,!1)}function Br(e){return G(wt|pe,e,!0)}function _n(e,t=0){return G(pt|t,e,!0)}function St(e,t=[],n=[],r=[]){Ar(r,t,n,s=>{G(pt,()=>e(...s.map(k)),!0)})}function At(e,t=0){var n=G(ee|t,e,!0);return n}function H(e){return G(te|pe,e,!0)}function pn(e){var t=e.teardown;if(t!==null){const n=$e,r=g;yn(!0),M(null);try{t.call(null)}finally{yn(n),M(r)}}}function gn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&dn(()=>{s.abort(Se)});var r=n.next;(n.f&ue)!==0?n.parent=null:R(n,t),n=r}}function Hr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&te)===0&&R(t),t=n}}function R(e,t=!0){var n=!1;(t||(e.f&qt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Ur(e.nodes_start,e.nodes_end),n=!0),gn(e,t&&!n),ft(e,0),A(e,re);var r=e.transitions;if(r!==null)for(const i of r)i.stop();pn(e);var s=e.parent;s!==null&&s.first!==null&&wn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Ur(e,t){for(;e!==null;){var n=e===t?null:le(e);e.remove(),e=n}}function wn(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 Pe(e,t,n=!0){var r=[];Rt(e,r,!0),mn(r,()=>{n&&R(e),t&&t()})}function mn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var s of e)s.out(r)}else t()}function Rt(e,t,n){if((e.f&I)===0){if(e.f^=I,e.transitions!==null)for(const f of e.transitions)(f.is_global||n)&&t.push(f);for(var r=e.first;r!==null;){var s=r.next,i=(r.f&Te)!==0||(r.f&te)!==0&&(e.f&ee)!==0;Rt(r,t,i?n:!1),r=s}}}function Nt(e){bn(e,!0)}function bn(e,t){if((e.f&I)!==0){e.f^=I,(e.f&S)===0&&(A(e,O),me(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Te)!==0||(n.f&te)!==0;bn(n,s?t:!1),n=r}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function $n(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var s=n===r?null:le(n);t.append(n),n=s}}let de=!1;function st(e){de=e}let $e=!1;function yn(e){$e=e}let g=null,J=!1;function M(e){g=e}let w=null;function X(e){w=e}let oe=null;function Vr(e){g!==null&&(oe===null?oe=[e]:oe.push(e))}let N=null,L=0,U=null;function Yr(e){U=e}let En=1,He=0,ye=He;function kn(e){ye=e}function xn(){return++En}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,s=0;s<r;s++){var i=n[s];if(Ue(i)&&nn(i),i.wv>e.wv)return!0}(t&V)!==0&&j===null&&A(e,S)}return!1}function Tn(e,t,n=!0){var r=e.reactions;if(r!==null&&!oe?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&x)!==0?Tn(i,t,!1):t===i&&(n?A(i,O):(i.f&S)!==0&&A(i,ne),me(i))}}function Sn(e){var t=N,n=L,r=U,s=g,i=oe,f=F,l=J,o=ye,u=e.f;N=null,L=0,U=null,g=(u&(te|ue))===0?e:null,oe=null,Ne(e.ctx),J=!1,ye=++He,e.ac!==null&&(dn(()=>{e.ac.abort(Se)}),e.ac=null);try{e.f|=gt;var a=e.fn,d=a(),c=e.deps;if(N!==null){var h;if(ft(e,L),c!==null&&L>0)for(c.length=L+N.length,h=0;h<N.length;h++)c[L+h]=N[h];else e.deps=c=N;if(de&&it()&&(e.f&V)!==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(Kt()&&U!==null&&!J&&c!==null&&(e.f&(x|ne|O))===0)for(h=0;h<U.length;h++)Tn(U[h],e);return s!==null&&s!==e&&(He++,U!==null&&(r===null?r=U:r.push(...U))),(e.f&ae)!==0&&(e.f^=ae),d}catch(v){return Gt(v)}finally{e.f^=gt,N=t,L=n,U=r,g=s,oe=i,Ne(f),J=l,ye=o}}function zr(e,t){let n=t.reactions;if(n!==null){var r=Xn.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(t.f&x)!==0&&(N===null||!N.includes(t))&&(A(t,ne),(t.f&V)!==0&&(t.f^=V,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++)zr(e,n[r])}function Ve(e){var t=e.f;if((t&re)===0){A(e,S);var n=w,r=de;w=e,de=!0;try{(t&ee)!==0?Hr(e):gn(e),pn(e);var s=Sn(e);e.teardown=typeof s=="function"?s:null,e.wv=En;var i;dt&&gr&&(e.f&O)!==0&&e.deps}finally{de=r,w=n}}}function k(e){var t=e.f,n=(t&x)!==0;if(g!==null&&!J){var r=w!==null&&(w.f&re)!==0;if(!r&&!oe?.includes(e)){var s=g.deps;if((g.f>)!==0)e.rv<He&&(e.rv=He,N===null&&s!==null&&s[L]===e?L++:N===null?N=[e]:N.includes(e)||N.push(e));else{(g.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[g]:i.includes(g)||i.push(g)}}}if($e){if(ce.has(e))return ce.get(e);if(n){var f=e,l=f.v;return((f.f&S)===0&&f.reactions!==null||Rn(f))&&(l=kt(f)),ce.set(f,l),l}}else n&&!j?.has(e)&&(f=e,Ue(f)&&nn(f),de&&it()&&(f.f&V)===0&&An(f));if(j?.has(e))return j.get(e);if((e.f&ae)!==0)throw e.v;return e.v}function An(e){if(e.deps!==null){e.f^=V;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&x)!==0&&(t.f&V)===0&&An(t)}}function Rn(e){if(e.v===T)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 Nn(e){var t=J;try{return J=!0,e()}finally{J=t}}const Kr=-7169;function A(e,t){e.f=e.f&Kr|t}const Cn=new Set,Ct=new Set;function Wr(e){for(var t=0;t<e.length;t++)Cn.add(e[t]);for(var n of Ct)n(e)}let On=null;function lt(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;On=e;var f=0,l=On===e&&e.__root;if(l){var o=s.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var u=s.indexOf(t);if(u===-1)return;o<=u&&(f=o)}if(i=s[f]||e.target,i!==t){Ge(e,"currentTarget",{configurable:!0,get(){return i||n}});var a=g,d=w;M(null),X(null);try{for(var c,h=[];i!==null;){var v=i.assignedSlot||i.parentNode||i.host||null;try{var _=i["__"+r];_!=null&&(!i.disabled||e.target===i)&&_.call(i,e)}catch(b){c?h.push(b):c=b}if(e.cancelBubble||v===t||v===null)break;i=v}if(c){for(let b of h)queueMicrotask(()=>{throw b});throw c}}finally{e.__root=t,delete e.currentTarget,M(a),X(d)}}}function Gr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ye(e,t){var n=w;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function ze(e,t){var n=(t&Gn)!==0,r,s=!e.startsWith("<!>");return()=>{if(m)return Ye($,null),$;r===void 0&&(r=Gr(s?e:"<!>"+e),r=qe(r));var i=n||on?document.importNode(r,!0):r.cloneNode(!0);return Ye(i,i),i}}function Jr(e=""){if(!m){var t=B(e+"");return Ye(t,t),t}var n=$;return n.nodeType!==mt&&(n.before(n=B()),P(n)),Ye(n,n),n}function Ee(e,t){if(m){var n=w;((n.f&Xe)===0||n.nodes_end===null)&&(n.nodes_end=$),De();return}e!==null&&e.before(t)}const Xr=["touchstart","touchmove"];function Zr(e){return Xr.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 Mn(e,t){return Dn(e,t)}function Qr(e,t){Tt(),t.intro=t.intro??!1;const n=t.target,r=m,s=$;try{for(var i=qe(n);i&&(i.nodeType!==Ae||i.data!==Mt);)i=le(i);if(!i)throw xe;ie(!0),P(i);const f=Dn(e,{...t,anchor:i});return ie(!1),f}catch(f){if(f instanceof Error&&f.message.split(`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw f;return f!==xe&&console.warn("Failed to hydrate: ",f),t.recover===!1&&or(),Tt(),cn(n),ie(!1),Mn(e,t)}finally{ie(r),P(s)}}const Me=new Map;function Dn(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:f=!0}){Tt();var l=new Set,o=d=>{for(var c=0;c<d.length;c++){var h=d[c];if(!l.has(h)){l.add(h);var v=Zr(h);t.addEventListener(h,lt,{passive:v});var _=Me.get(h);_===void 0?(document.addEventListener(h,lt,{passive:v}),Me.set(h,1)):Me.set(h,_+1)}}};o(vt(Cn)),Ct.add(o);var u=void 0,a=jr(()=>{var d=n??t.appendChild(B());return yr(d,{pending:()=>{}},c=>{if(i){Yt({});var h=F;h.c=i}if(s&&(r.$$events=s),m&&Ye(c,null),u=e(c,r)||{},m&&(w.nodes_end=$,$===null||$.nodeType!==Ae||$.data!==ht))throw Qe(),xe;i&&zt()}),()=>{for(var c of l){t.removeEventListener(c,lt);var h=Me.get(c);--h===0?(document.removeEventListener(c,lt),Me.delete(c)):Me.set(c,h)}Ct.delete(o),d!==n&&d.parentNode?.removeChild(d)}});return Ot.set(u,a),u}let Ot=new WeakMap;function ei(e,t){const n=Ot.get(e);return n?(Ot.delete(e),n(t)):Promise.resolve()}class ti{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#o=!0;constructor(t,n=!0){this.anchor=t,this.#o=n}#s=()=>{var t=E;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Nt(r),this.#r.delete(n);else{var s=this.#n.get(n);s&&(this.#e.set(n,s.effect),this.#n.delete(n),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),r=s.effect)}for(const[i,f]of this.#t){if(this.#t.delete(i),i===t)break;const l=this.#n.get(f);l&&(R(l.effect),this.#n.delete(f))}for(const[i,f]of this.#e){if(i===n||this.#r.has(i))continue;const l=()=>{if(Array.from(this.#t.values()).includes(i)){var u=document.createDocumentFragment();$n(f,u),u.append(B()),this.#n.set(i,{effect:f,fragment:u})}else R(f);this.#r.delete(i),this.#e.delete(i)};this.#o||!r?(this.#r.add(i),Pe(f,l,!1)):l()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,s]of this.#n)n.includes(r)||(R(s.effect),this.#n.delete(r))};ensure(t,n){var r=E,s=hn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(s){var i=document.createDocumentFragment(),f=B();i.append(f),this.#n.set(t,{effect:H(()=>n(f)),fragment:i})}else this.#e.set(t,H(()=>n(this.anchor)));if(this.#t.set(r,t),s){for(const[l,o]of this.#e)l===t?r.skipped_effects.delete(o):r.skipped_effects.add(o);for(const[l,o]of this.#n)l===t?r.skipped_effects.delete(o.effect):r.skipped_effects.add(o.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else m&&(this.anchor=$),this.#s()}}function In(e,t,n=!1){m&&De();var r=new ti(e),s=n?Te:0;function i(f,l){if(m){const u=Ht(e)===Ke;if(f===u){var o=et();P(o),r.anchor=o,ie(!1),r.ensure(f,l),ie(!0);return}}r.ensure(f,l)}At(()=>{var f=!1;t((l,o=!0)=>{f=!0,i(o,l)}),f||i(!1,null)},s)}function ni(e,t,n,r,s){m&&De();var i=t.$$slots?.[n],f=!1;i===!0&&(i=t[n],f=!0),i===void 0?s!==null&&s(e):i(e,f?()=>r:r)}function ri(e,t){qr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function ii(e,t){return e==null?null:String(e)}function si(e,t,n,r){var s=e.__style;if(m||s!==t){var i=ii(t);(!m||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return r}const fi=Symbol("is custom element"),li=Symbol("is html");function oi(e,t,n,r){var s=ui(e);m&&(s[t]=e.getAttribute(t),e.nodeName==="LINK")||s[t]!==(s[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&ai(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function ui(e){return e.__attributes??={[fi]:e.nodeName.includes("-"),[li]:e.namespaceURI===Jn}}var Ln=new Map;function ai(e){var t=e.getAttribute("is")||e.nodeName,n=Ln.get(t);if(n)return n;Ln.set(t,n=[]);for(var r,s=e,i=Element.prototype;i!==s;){r=Zn(s);for(var f in r)r[f].set&&n.push(f);s=It(s)}return n}let ot=!1;function ci(e){var t=ot;try{return ot=!1,[e(),ot]}finally{ot=t}}function ut(e,t,n,r){var s=(n&Kn)!==0,i=(n&Wn)!==0,f=r,l=!0,o=()=>(l&&(l=!1,f=i?Nn(r):r),f),u;if(s){var a=Ze in e||Bt in e;u=_e(e,t)?.set??(a&&t in e?p=>e[t]=p:void 0)}var d,c=!1;s?[d,c]=ci(()=>e[t]):d=e[t],d===void 0&&r!==void 0&&(d=o(),u&&(ur(),u(d)));var h;if(h=()=>{var p=e[t];return p===void 0?o():(l=!0,p)},(n&zn)===0)return h;if(u){var v=e.$$legacy;return(function(p,D){return arguments.length>0?((!D||v||c)&&u(D?h():p),p):h()})}var _=!1,b=((n&Yn)!==0?Et:en)(()=>(_=!1,h()));s&&k(b);var y=w;return(function(p,D){if(arguments.length>0){const z=D?k(b):s?Oe(p):p;return fe(b,z),_=!0,f!==void 0&&(f=z),p}return $e&&_||(y.f&re)!==0?b.v:k(b)})}function hi(e){return new di(e)}class di{#t;#e;constructor(t){var n=new Map,r=(i,f)=>{var l=sn(f,!1,!1);return n.set(i,l),l};const s=new Proxy({...t.props||{},$$events:{}},{get(i,f){return k(n.get(f)??r(f,Reflect.get(i,f)))},has(i,f){return f===Bt?!0:(k(n.get(f)??r(f,Reflect.get(i,f))),Reflect.has(i,f))},set(i,f,l){return fe(n.get(f)??r(f,l),l),Reflect.set(i,f,l)}});this.#e=(t.hydrate?Qr:Mn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Le(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Ge(this,i,{get(){return this.#e[i]},set(f){this.#e[i]=f},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{ei(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...s)=>n.call(this,...s);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(s=>s!==r)}}$destroy(){this.#e.$destroy()}}let Fn;typeof HTMLElement=="function"&&(Fn=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 s=>{const i=document.createElement("slot");r!=="default"&&(i.name=r),Ee(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=vi(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 s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=at(s,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=hi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Fr(()=>{_n(()=>{this.$$r=!0;for(const r of We(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=at(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=at(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 We(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function at(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function vi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function _i(e,t,n,r,s,i){let f=class extends Fn{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return We(t).map(l=>(t[l].attribute||l).toLowerCase())}};return We(t).forEach(l=>{Ge(f.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=at(l,o,t),this.$$d[l]=o;var u=this.$$c;if(u){var a=_e(u,l)?.get;a?u[l]=o:u.$set({[l]:o})}}})}),r.forEach(l=>{Ge(f.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=f,f}var pi=ze('<a class="svelte-1bsvmkw"> </a>'),gi=ze('<div class="svelte-1bsvmkw"> </div>'),wi=ze('<div class="svelte-1bsvmkw"><!></div>'),mi=ze('<div class="dropdown-content svelte-1bsvmkw" part="dropdowncontent"></div>'),bi=ze('<div class="dropdown svelte-1bsvmkw" part="dropdown"><div class="dropbtn svelte-1bsvmkw" part="dropdownbutton"><!></div> <!></div>');const $i={hash:"svelte-1bsvmkw",code:'@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;}.dropbtn.svelte-1bsvmkw {cursor:pointer;}.dropdown.svelte-1bsvmkw {position:relative;display:inline-block;}.dropdown-content.svelte-1bsvmkw {display:block;position:absolute;right:0;margin-top:10px;background-color:#f9f9f9;min-width:120px;box-shadow:0px 4px 8px 0px rgba(0, 0, 0, 0.2);z-index:1;font-size:0.8em;}.dropdown-content.svelte-1bsvmkw div:where(.svelte-1bsvmkw) {color:black;padding:6px 8px;text-decoration:none;display:block;border:none;background-color:none;cursor:pointer;}.dropdown-content.svelte-1bsvmkw a:where(.svelte-1bsvmkw) {width:100%;color:black;padding:6px 8px;text-decoration:none;display:block;border:none;background-color:none;}.dropdown-content.svelte-1bsvmkw div:where(.svelte-1bsvmkw):hover {background-color:#f1f1f1;}'};function jn(e,t){Yt(t,!0),ri(e,$i);let n=ut(t,"id",7,""),r=ut(t,"open",7,!1),s=ut(t,"position",7),i=ut(t,"list",23,()=>[]);Lr(()=>{console.log(r()),n()||n(""),s()||(t.$$host?.style?.float&&t.$$host.style.float==="right"?s("right"):s("left")),r()==="yes"||r()===""||r()===!0?r(!0):r(!1);try{i()&&!i()[0]?.key?i(JSON.parse(i())):i()||i([])}catch{i([])}});function f(_,b){t.$$host.dispatchEvent(new CustomEvent(_,{detail:b}))}function l(){r(!r()),f("dropdownSwitch",{open:r(),id:n()})}function o(_){f("dropDownClick",{key:_}),l()}var u={get id(){return n()},set id(_=""){n(_),Le()},get open(){return r()},set open(_=!1){r(_),Le()},get position(){return s()},set position(_){s(_),Le()},get list(){return i()},set list(_=[]){i(_),Le()}},a=bi(),d=Be(a);d.__click=l;var c=Be(d);ni(c,t,"dropdownbutton",{},_=>{var b=Jr("btn");Ee(_,b)}),Re(d);var h=Pr(d,2);{var v=_=>{var b=mi();xr(b,21,i,y=>y.key,(y,p)=>{var D=wi();D.__click=()=>o(k(p).key);var z=Be(D);{var Z=K=>{var C=pi(),ke=Be(C,!0);Re(C),St(()=>{oi(C,"href",k(p).linkHref),Pn(ke,k(p).label)}),Ee(K,C)},ve=K=>{var C=gi(),ke=Be(C,!0);Re(C),St(()=>Pn(ke,k(p).label)),Ee(K,C)};In(z,K=>{k(p).linkHref?K(Z):K(ve,!1)})}Re(D),Ee(y,D)}),Re(b),St(()=>si(b,s()==="right"?"":"left:0;")),Ee(_,b)};In(h,_=>{r()&&_(v)})}return Re(a),Ee(e,a),zt(u)}Wr(["click"]),customElements.define("hb-dropdown-simple",_i(jn,{id:{},open:{},position:{},list:{}},["dropdownbutton"],[],!0)),Pt.Component=jn,Object.defineProperty(Pt,Symbol.toStringTag,{value:"Module"})})(this["dropdown-simple"]=this["dropdown-simple"]||{});
|
|
3
3
|
//# sourceMappingURL=main.iife.js.map
|