@htmlbricks/hb-dropdown-notifications 0.66.5 → 0.66.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +5 -5
- package/main.iife.js.map +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(kt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Dn=1,In=2,xt="[",yt="[!",$t="[?",Et="]",pe={},E=Symbol(),Tt="http://www.w3.org/1999/xhtml",Pn=!1;var Ln=Array.isArray,Fn=Array.prototype.indexOf,_e=Array.prototype.includes,zn=Array.from,Fe=Object.keys,ze=Object.defineProperty,me=Object.getOwnPropertyDescriptor,jn=Object.getOwnPropertyDescriptors,Bn=Object.prototype,Hn=Array.prototype,St=Object.getPrototypeOf,At=Object.isExtensible;const Yn=()=>{};function qn(e){for(var t=0;t<e.length;t++)e[t]()}function Nt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const y=2,be=4,je=8,Rt=1<<24,ee=16,G=32,te=64,tt=128,M=512,x=1024,T=2048,B=4096,H=8192,L=16384,le=32768,Ot=1<<25,we=65536,Ct=1<<17,Vn=1<<18,ae=1<<19,Un=1<<20,fe=65536,nt=1<<21,rt=1<<22,ne=1<<23,it=Symbol("$state"),Gn=Symbol("legacy props"),Kn=Symbol(""),K=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Wn=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),st=3,Be=8;function Jn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Xn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Zn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Qn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function er(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function tr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function nr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function He(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function rr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let g=!1;function ge(e){g=e}let b;function Y(e){if(e===null)throw He(),pe;return b=e}function Ye(){return Y(Z(b))}function qe(e){if(g){if(Z(b)!==null)throw He(),pe;b=e}}function ir(e=1){if(g){for(var t=e,n=b;t--;)n=Z(n);b=n}}function Mt(e=!0){for(var t=0,n=b;;){if(n.nodeType===Be){var r=n.data;if(r===Et){if(t===0)return n;t-=1}else(r===xt||r===yt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Z(n);e&&n.remove(),n=i}}function sr(e){if(!e||e.nodeType!==Be)throw He(),pe;return e.data}function Dt(e){return e===this.v}function or(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function lr(e){return!or(e,this.v)}let ar=!1,F=null;function ke(e){F=e}function It(e,t=!1,n){F={p:F,i:!1,c:null,e:null,s:e,x:null,r:_,l:null}}function Pt(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)Rr(r)}return e!==void 0&&(t.x=e),t.i=!0,F=t.p,e??{}}function Lt(){return!0}let ue=[];function Ft(){var e=ue;ue=[],qn(e)}function xe(e){if(ue.length===0&&!Te){var t=ue;queueMicrotask(()=>{t===ue&&Ft()})}ue.push(e)}function fr(){for(;ue.length>0;)Ft()}function zt(e){var t=_;if(t===null)return p.f|=ne,e;if((t.f&le)===0&&(t.f&be)===0)throw e;re(e,t)}function re(e,t){for(;t!==null;){if((t.f&tt)!==0){if((t.f&le)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const ur=-7169;function k(e,t){e.f=e.f&ur|t}function ot(e){(e.f&M)!==0||e.deps===null?k(e,x):k(e,B)}function jt(e){if(e!==null)for(const t of e)(t.f&y)===0||(t.f&fe)===0||(t.f^=fe,jt(t.deps))}function Bt(e,t,n){(e.f&T)!==0?t.add(e):(e.f&B)!==0&&n.add(e),jt(e.deps),k(e,x)}const ie=new Set;let w=null,z=null,lt=null,Te=!1,at=!1,ye=null,Ve=null;var Ht=0;let dr=1;class W{id=dr++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#o=new Set;#l=new Set;#a=new Map;is_fork=!1;#d=!1;#f=new Set;#c(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#a.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#a.has(t)||this.#a.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#a.get(t);if(n){this.#a.delete(t);for(var r of n.d)k(r,T),this.schedule(r);for(r of n.m)k(r,B),this.schedule(r)}}#h(){if(Ht++>1e3&&(ie.delete(this),cr()),!this.#c()){for(const o of this.#o)this.#l.delete(o),k(o,T),this.schedule(o);for(const o of this.#l)k(o,B),this.schedule(o)}const t=this.#r;this.#r=[],this.apply();var n=ye=[],r=[],i=Ve=[];for(const o of t)try{this.#u(o,n,r)}catch(a){throw Gt(o),a}if(w=null,i.length>0){var s=W.ensure();for(const o of i)s.schedule(o)}if(ye=null,Ve=null,this.#c()||this.#v()){this.#p(r),this.#p(n);for(const[o,a]of this.#a)Ut(o,a)}else{this.#t.size===0&&ie.delete(this),this.#o.clear(),this.#l.clear();for(const o of this.#e)o(this);this.#e.clear(),Yt(r),Yt(n),this.#s?.resolve()}var l=w;if(this.#r.length>0){const o=l??=this;o.#r.push(...this.#r.filter(a=>!o.#r.includes(a)))}l!==null&&(ie.add(l),l.#h()),ie.has(this)||this.#_()}#u(t,n,r){t.f^=x;for(var i=t.first;i!==null;){var s=i.f,l=(s&(G|te))!==0,o=l&&(s&x)!==0,a=o||(s&H)!==0||this.#a.has(i);if(!a&&i.fn!==null){l?i.f^=x:(s&be)!==0?n.push(i):Me(i)&&((s&ee)!==0&&this.#l.add(i),Ee(i));var f=i.first;if(f!==null){i=f;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#p(t){for(var n=0;n<t.length;n+=1)Bt(t[n],this.#o,this.#l)}capture(t,n,r=!1){n!==E&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&ne)===0&&(this.current.set(t,[t.v,r]),z?.set(t,t.v))}activate(){w=this}deactivate(){w=null,z=null}flush(){try{at=!0,w=this,this.#h()}finally{Ht=0,lt=null,ye=null,Ve=null,at=!1,w=null,z=null,se.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),ie.delete(this)}#_(){for(const f of ie){var t=f.id<this.id,n=[];for(const[u,[h,d]]of this.current){if(f.current.has(u)){var r=f.current.get(u)[0];if(t&&h!==r)f.current.set(u,[h,d]);else continue}n.push(u)}var i=[...f.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&f.discard();else if(n.length>0){f.activate();var s=new Set,l=new Map;for(var o of n)qt(o,i,s,l);if(f.#r.length>0){f.apply();for(var a of f.#r)f.#u(a,[],[]);f.#r=[]}f.deactivate()}}for(const f of ie)f.#f.has(this)&&(f.#f.delete(this),f.#f.size===0&&!f.#c()&&(f.activate(),f.#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.#d||r||(this.#d=!0,xe(()=>{this.#d=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#o.add(r);for(const r of n)this.#l.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Nt()).promise}static ensure(){if(w===null){const t=w=new W;at||(ie.add(w),Te||xe(()=>{w===t&&t.flush()}))}return w}apply(){{z=null;return}}schedule(t){if(lt=t,t.b?.is_pending&&(t.f&(be|je|Rt))!==0&&(t.f&le)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(ye!==null&&n===_&&(p===null||(p.f&y)===0))return;if((r&(te|G))!==0){if((r&x)===0)return;n.f^=x}}this.#r.push(n)}}function Se(e){var t=Te;Te=!0;try{for(var n;;){if(fr(),w===null)return n;w.flush()}}finally{Te=t}}function cr(){try{Xn()}catch(e){re(e,lt)}}let J=null;function Yt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(L|H))===0&&Me(r)&&(J=new Set,Ee(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&un(r),J?.size>0)){se.clear();for(const i of J){if((i.f&(L|H))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)J.has(l)&&(J.delete(l),s.push(l)),l=l.parent;for(let o=s.length-1;o>=0;o--){const a=s[o];(a.f&(L|H))===0&&Ee(a)}}J.clear()}}J=null}}function qt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&y)!==0?qt(i,t,n,r):(s&(rt|ee))!==0&&(s&T)===0&&Vt(i,t,r)&&(k(i,T),ft(i))}}function Vt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(_e.call(t,i))return!0;if((i.f&y)!==0&&Vt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ft(e){w.schedule(e)}function Ut(e,t){if(!((e.f&G)!==0&&(e.f&x)!==0)){(e.f&T)!==0?t.d.push(e):(e.f&B)!==0&&t.m.push(e),k(e,x);for(var n=e.first;n!==null;)Ut(n,t),n=n.next}}function Gt(e){k(e,x);for(var t=e.first;t!==null;)Gt(t),t=t.next}function hr(e){let t=0,n=Ae(0),r;return()=>{vt()&&(S(n),ln(()=>(t===0&&(r=Br(()=>e(()=>Ne(n)))),t+=1,()=>{xe(()=>{t-=1,t===0&&(r?.(),r=void 0,Ne(n))})})))}}var vr=we|ae;function pr(e,t,n,r){new _r(e,t,n,r)}class _r{parent;is_pending=!1;transform_error;#e;#n=g?b:null;#t;#i;#s;#r=null;#o=null;#l=null;#a=null;#d=0;#f=0;#c=!1;#v=new Set;#h=new Set;#u=null;#p=hr(()=>(this.#u=Ae(this.#d),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var l=_;l.b=this,l.f|=tt,r(s)},this.parent=_.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=an(()=>{if(g){const s=this.#n;Ye();const l=s.data===yt;if(s.data.startsWith($t)){const a=JSON.parse(s.data.slice($t.length));this.#k(a)}else l?this.#x():this.#_()}else this.#w()},vr),g&&(this.#e=b)}#_(){try{this.#r=Q(()=>this.#i(this.#e))}catch(t){this.error(t)}}#k(t){const n=this.#t.failed;n&&(this.#l=Q(()=>{n(this.#e,()=>t,()=>()=>{})}))}#x(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#o=Q(()=>t(this.#e)),xe(()=>{var n=this.#a=document.createDocumentFragment(),r=de();n.append(r),this.#r=this.#b(()=>Q(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#a=null,Ce(this.#o,()=>{this.#o=null}),this.#m(w))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#d=0,this.#r=Q(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#a=document.createDocumentFragment();hn(this.#r,t);const n=this.#t.pending;this.#o=Q(()=>n(this.#e))}else this.#m(w)}catch(n){this.error(n)}}#m(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){Bt(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#b(t){var n=_,r=p,i=F;U(this.#s),D(this.#s),ke(this.#s.ctx);try{return W.ensure(),t()}catch(s){return zt(s),null}finally{U(n),D(r),ke(i)}}#g(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t,n);return}this.#f+=t,this.#f===0&&(this.#m(n),this.#o&&Ce(this.#o,()=>{this.#o=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t,n){this.#g(t,n),this.#d+=t,!(!this.#u||this.#c)&&(this.#c=!0,xe(()=>{this.#c=!1,this.#u&&Ge(this.#u,this.#d)}))}get_effect_pending(){return this.#p(),S(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(N(this.#r),this.#r=null),this.#o&&(N(this.#o),this.#o=null),this.#l&&(N(this.#l),this.#l=null),g&&(Y(this.#n),ir(),Y(Mt()));var i=!1,s=!1;const l=()=>{if(i){rr();return}i=!0,s&&nr(),this.#l!==null&&Ce(this.#l,()=>{this.#l=null}),this.#b(()=>{this.#w()})},o=a=>{try{s=!0,n?.(a,l),s=!1}catch(f){re(f,this.#s&&this.#s.parent)}r&&(this.#l=this.#b(()=>{try{return Q(()=>{var f=_;f.b=this,f.f|=tt,r(this.#e,()=>a,()=>l)})}catch(f){return re(f,this.#s.parent),null}}))};xe(()=>{var a;try{a=this.transform_error(t)}catch(f){re(f,this.#s&&this.#s.parent);return}a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(o,f=>re(f,this.#s&&this.#s.parent)):o(a)})}}function mr(e,t,n,r){const i=Wt;var s=e.filter(d=>!d.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var l=_,o=br(),a=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(d=>d.promise)):null;function f(d){o();try{r(d)}catch(v){(l.f&L)===0&&re(v,l)}Ue()}if(n.length===0){a.then(()=>f(t.map(i)));return}var u=Kt();function h(){Promise.all(n.map(d=>wr(d))).then(d=>f([...t.map(i),...d])).catch(d=>re(d,l)).finally(()=>u())}a?a.then(()=>{o(),h(),Ue()}):h()}function br(){var e=_,t=p,n=F,r=w;return function(s=!0){U(e),D(t),ke(n),s&&(e.f&L)===0&&(r?.activate(),r?.apply())}}function Ue(e=!0){U(null),D(null),ke(null),e&&w?.deactivate()}function Kt(){var e=_,t=e.b,n=w,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 Wt(e){var t=y|T,n=p!==null&&(p.f&y)!==0?p:null;return _!==null&&(_.f|=ae),{ctx:F,deps:null,effects:null,equals:Dt,f:t,fn:e,reactions:null,rv:0,v:E,wv:0,parent:n??_,ac:null}}function wr(e,t,n){let r=_;r===null&&Jn();var i=void 0,s=Ae(E),l=!p,o=new Map;return Dr(()=>{var a=_,f=Nt();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(Ue)}catch(v){f.reject(v),Ue()}var u=w;if(l){if((a.f&le)!==0)var h=Kt();if(r.b.is_rendered())o.get(u)?.reject(K),o.delete(u);else{for(const v of o.values())v.reject(K);o.clear()}o.set(u,f)}const d=(v,c=void 0)=>{if(h){var m=c===K;h(m)}if(!(c===K||(a.f&L)!==0)){if(u.activate(),c)s.f|=ne,Ge(s,c);else{(s.f&ne)!==0&&(s.f^=ne),Ge(s,v);for(const[$,O]of o){if(o.delete($),$===u)break;O.reject(K)}}u.deactivate()}};f.promise.then(d,v=>d(null,v||"unknown"))}),Nr(()=>{for(const a of o.values())a.reject(K)}),new Promise(a=>{function f(u){function h(){u===i?a(s):f(i)}u.then(h,h)}f(i)})}function gr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)N(t[n])}}function kr(e){for(var t=e.parent;t!==null;){if((t.f&y)===0)return(t.f&L)===0?t:null;t=t.parent}return null}function ut(e){var t,n=_;U(kr(e));try{e.f&=~fe,gr(e),t=wn(e)}finally{U(n)}return t}function Jt(e){var t=e.v,n=ut(e);if(!e.equals(n)&&(e.wv=mn(),(!w?.is_fork||e.deps===null)&&(e.v=n,w?.capture(e,t,!0),e.deps===null))){k(e,x);return}ce||(z!==null?(vt()||w?.is_fork)&&z.set(e,n):ot(e))}function xr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(K),t.teardown=Yn,t.ac=null,De(t,0),_t(t))}function Xt(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ee(t)}let dt=new Set;const se=new Map;let Zt=!1;function Ae(e,t){var n={f:0,v:e,reactions:null,equals:Dt,rv:0,wv:0};return n}function X(e,t){const n=Ae(e);return Fr(n),n}function yr(e,t=!1,n=!0){const r=Ae(e);return t||(r.equals=lr),r}function q(e,t,n=!1){p!==null&&(!j||(p.f&Ct)!==0)&&Lt()&&(p.f&(y|ee|rt|Ct))!==0&&(I===null||!_e.call(I,e))&&tr();let r=n?Re(t):t;return Ge(e,r,Ve)}function Ge(e,t,n=null){if(!e.equals(t)){var r=e.v;ce?se.set(e,t):se.set(e,r),e.v=t;var i=W.ensure();if(i.capture(e,r),(e.f&y)!==0){const s=e;(e.f&T)!==0&&ut(s),z===null&&ot(s)}e.wv=mn(),Qt(e,T,n),_!==null&&(_.f&x)!==0&&(_.f&(G|te))===0&&(P===null?zr([e]):P.push(e)),!i.is_fork&&dt.size>0&&!Zt&&$r()}return t}function $r(){Zt=!1;for(const e of dt)(e.f&x)!==0&&k(e,B),Me(e)&&Ee(e);dt.clear()}function Ne(e){q(e,e.v+1)}function Qt(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var l=r[s],o=l.f,a=(o&T)===0;if(a&&k(l,t),(o&y)!==0){var f=l;z?.delete(f),(o&fe)===0&&(o&M&&(l.f|=fe),Qt(f,B,n))}else if(a){var u=l;(o&ee)!==0&&J!==null&&J.add(u),n!==null?n.push(u):ft(u)}}}function Re(e){if(typeof e!="object"||e===null||it in e)return e;const t=St(e);if(t!==Bn&&t!==Hn)return e;var n=new Map,r=Ln(e),i=X(0),s=ve,l=o=>{if(ve===s)return o();var a=p,f=ve;D(null),_n(s);var u=o();return D(a),_n(f),u};return r&&n.set("length",X(e.length)),new Proxy(e,{defineProperty(o,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Qn();var u=n.get(a);return u===void 0?l(()=>{var h=X(f.value);return n.set(a,h),h}):q(u,f.value,!0),!0},deleteProperty(o,a){var f=n.get(a);if(f===void 0){if(a in o){const u=l(()=>X(E));n.set(a,u),Ne(i)}}else q(f,E),Ne(i);return!0},get(o,a,f){if(a===it)return e;var u=n.get(a),h=a in o;if(u===void 0&&(!h||me(o,a)?.writable)&&(u=l(()=>{var v=Re(h?o[a]:E),c=X(v);return c}),n.set(a,u)),u!==void 0){var d=S(u);return d===E?void 0:d}return Reflect.get(o,a,f)},getOwnPropertyDescriptor(o,a){var f=Reflect.getOwnPropertyDescriptor(o,a);if(f&&"value"in f){var u=n.get(a);u&&(f.value=S(u))}else if(f===void 0){var h=n.get(a),d=h?.v;if(h!==void 0&&d!==E)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return f},has(o,a){if(a===it)return!0;var f=n.get(a),u=f!==void 0&&f.v!==E||Reflect.has(o,a);if(f!==void 0||_!==null&&(!u||me(o,a)?.writable)){f===void 0&&(f=l(()=>{var d=u?Re(o[a]):E,v=X(d);return v}),n.set(a,f));var h=S(f);if(h===E)return!1}return u},set(o,a,f,u){var h=n.get(a),d=a in o;if(r&&a==="length")for(var v=f;v<h.v;v+=1){var c=n.get(v+"");c!==void 0?q(c,E):v in o&&(c=l(()=>X(E)),n.set(v+"",c))}if(h===void 0)(!d||me(o,a)?.writable)&&(h=l(()=>X(void 0)),q(h,Re(f)),n.set(a,h));else{d=h.v!==E;var m=l(()=>Re(f));q(h,m)}var $=Reflect.getOwnPropertyDescriptor(o,a);if($?.set&&$.set.call(u,f),!d){if(r&&typeof a=="string"){var O=n.get("length"),oe=Number(a);Number.isInteger(oe)&&oe>=O.v&&q(O,oe+1)}Ne(i)}return!0},ownKeys(o){S(i);var a=Reflect.ownKeys(o).filter(h=>{var d=n.get(h);return d===void 0||d.v!==E});for(var[f,u]of n)u.v!==E&&!(f in o)&&a.push(f);return a},setPrototypeOf(){er()}})}var en,tn,nn,rn;function ct(){if(en===void 0){en=window,tn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;nn=me(t,"firstChild").get,rn=me(t,"nextSibling").get,At(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),At(n)&&(n.__t=void 0)}}function de(e=""){return document.createTextNode(e)}function $e(e){return nn.call(e)}function Z(e){return rn.call(e)}function Ke(e,t){if(!g)return $e(e);var n=$e(b);return n===null&&(n=b.appendChild(de())),Y(n),n}function Er(e,t=!1){if(!g){var n=$e(e);return n instanceof Comment&&n.data===""?Z(n):n}if(t){if(b?.nodeType!==st){var r=de();return b?.before(r),Y(r),r}sn(b)}return b}function Oe(e,t=1,n=!1){let r=g?b:e;for(var i;t--;)i=r,r=Z(r);if(!g)return r;if(n){if(r?.nodeType!==st){var s=de();return r===null?i?.after(s):r.before(s),Y(s),s}sn(r)}return Y(r),r}function Tr(e){e.textContent=""}function Sr(){return!1}function ht(e,t,n){return document.createElementNS(Tt,e,void 0)}function sn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===st;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function on(e){var t=p,n=_;D(null),U(null);try{return e()}finally{D(t),U(n)}}function Ar(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function V(e,t){var n=_;n!==null&&(n.f&H)!==0&&(e|=H);var r={ctx:F,deps:null,nodes:null,f:e|T|M,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&be)!==0)ye!==null?ye.push(r):W.ensure().schedule(r);else if(t!==null){try{Ee(r)}catch(l){throw N(r),l}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ae)===0&&(i=i.first,(e&ee)!==0&&(e&we)!==0&&i!==null&&(i.f|=we))}if(i!==null&&(i.parent=n,n!==null&&Ar(i,n),p!==null&&(p.f&y)!==0&&(e&te)===0)){var s=p;(s.effects??=[]).push(i)}return r}function vt(){return p!==null&&!j}function Nr(e){const t=V(je,null);return k(t,x),t.teardown=e,t}function Rr(e){return V(be|Un,e)}function Or(e){W.ensure();const t=V(te|ae,e);return()=>{N(t)}}function Cr(e){W.ensure();const t=V(te|ae,e);return(n={})=>new Promise(r=>{n.outro?Ce(t,()=>{N(t),r(void 0)}):(N(t),r(void 0))})}function Mr(e){return V(be,e)}function Dr(e){return V(rt|ae,e)}function ln(e,t=0){return V(je|t,e)}function pt(e,t=[],n=[],r=[]){mr(r,t,n,i=>{V(je,()=>e(...i.map(S)))})}function an(e,t=0){var n=V(ee|t,e);return n}function Q(e){return V(G|ae,e)}function fn(e){var t=e.teardown;if(t!==null){const n=ce,r=p;vn(!0),D(null);try{t.call(null)}finally{vn(n),D(r)}}}function _t(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&on(()=>{i.abort(K)});var r=n.next;(n.f&te)!==0?n.parent=null:N(n,t),n=r}}function Ir(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&G)===0&&N(t),t=n}}function N(e,t=!0){var n=!1;(t||(e.f&Vn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Pr(e.nodes.start,e.nodes.end),n=!0),k(e,Ot),_t(e,t&&!n),De(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();fn(e),e.f^=Ot,e.f|=L;var i=e.parent;i!==null&&i.first!==null&&un(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Pr(e,t){for(;e!==null;){var n=e===t?null:Z(e);e.remove(),e=n}}function un(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=[];dn(e,r,!0);var i=()=>{n&&N(e),t&&t()},s=r.length;if(s>0){var l=()=>--s||i();for(var o of r)o.out(l)}else i()}function dn(e,t,n){if((e.f&H)===0){e.f^=H;var r=e.nodes&&e.nodes.t;if(r!==null)for(const o of r)(o.is_global||n)&&t.push(o);for(var i=e.first;i!==null;){var s=i.next,l=(i.f&we)!==0||(i.f&G)!==0&&(e.f&ee)!==0;dn(i,t,l?n:!1),i=s}}}function Lr(e){cn(e,!0)}function cn(e,t){if((e.f&H)!==0){e.f^=H,(e.f&x)===0&&(k(e,T),W.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&we)!==0||(n.f&G)!==0;cn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function hn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Z(n);t.append(n),n=i}}let We=!1,ce=!1;function vn(e){ce=e}let p=null,j=!1;function D(e){p=e}let _=null;function U(e){_=e}let I=null;function Fr(e){p!==null&&(I===null?I=[e]:I.push(e))}let R=null,C=0,P=null;function zr(e){P=e}let pn=1,he=0,ve=he;function _n(e){ve=e}function mn(){return++pn}function Me(e){var t=e.f;if((t&T)!==0)return!0;if(t&y&&(e.f&=~fe),(t&B)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(Me(s)&&Jt(s),s.wv>e.wv)return!0}(t&M)!==0&&z===null&&k(e,x)}return!1}function bn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(I!==null&&_e.call(I,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&y)!==0?bn(s,t,!1):t===s&&(n?k(s,T):(s.f&x)!==0&&k(s,B),ft(s))}}function wn(e){var t=R,n=C,r=P,i=p,s=I,l=F,o=j,a=ve,f=e.f;R=null,C=0,P=null,p=(f&(G|te))===0?e:null,I=null,ke(e.ctx),j=!1,ve=++he,e.ac!==null&&(on(()=>{e.ac.abort(K)}),e.ac=null);try{e.f|=nt;var u=e.fn,h=u();e.f|=le;var d=e.deps,v=w?.is_fork;if(R!==null){var c;if(v||De(e,C),d!==null&&C>0)for(d.length=C+R.length,c=0;c<R.length;c++)d[C+c]=R[c];else e.deps=d=R;if(vt()&&(e.f&M)!==0)for(c=C;c<d.length;c++)(d[c].reactions??=[]).push(e)}else!v&&d!==null&&C<d.length&&(De(e,C),d.length=C);if(Lt()&&P!==null&&!j&&d!==null&&(e.f&(y|B|T))===0)for(c=0;c<P.length;c++)bn(P[c],e);if(i!==null&&i!==e){if(he++,i.deps!==null)for(let m=0;m<n;m+=1)i.deps[m].rv=he;if(t!==null)for(const m of t)m.rv=he;P!==null&&(r===null?r=P:r.push(...P))}return(e.f&ne)!==0&&(e.f^=ne),h}catch(m){return zt(m)}finally{e.f^=nt,R=t,C=n,P=r,p=i,I=s,ke(l),j=o,ve=a}}function jr(e,t){let n=t.reactions;if(n!==null){var r=Fn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&y)!==0&&(R===null||!_e.call(R,t))){var s=t;(s.f&M)!==0&&(s.f^=M,s.f&=~fe),ot(s),xr(s),De(s,0)}}function De(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)jr(e,n[r])}function Ee(e){var t=e.f;if((t&L)===0){k(e,x);var n=_,r=We;_=e,We=!0;try{(t&(ee|Rt))!==0?Ir(e):_t(e),fn(e);var i=wn(e);e.teardown=typeof i=="function"?i:null,e.wv=pn;var s;Pn&&ar&&(e.f&T)!==0&&e.deps}finally{We=r,_=n}}}function S(e){var t=e.f,n=(t&y)!==0;if(p!==null&&!j){var r=_!==null&&(_.f&L)!==0;if(!r&&(I===null||!_e.call(I,e))){var i=p.deps;if((p.f&nt)!==0)e.rv<he&&(e.rv=he,R===null&&i!==null&&i[C]===e?C++:R===null?R=[e]:R.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:_e.call(s,p)||s.push(p)}}}if(ce&&se.has(e))return se.get(e);if(n){var l=e;if(ce){var o=l.v;return((l.f&x)===0&&l.reactions!==null||kn(l))&&(o=ut(l)),se.set(l,o),o}var a=(l.f&M)===0&&!j&&p!==null&&(We||(p.f&M)!==0),f=(l.f&le)===0;Me(l)&&(a&&(l.f|=M),Jt(l)),a&&!f&&(Xt(l),gn(l))}if(z?.has(e))return z.get(e);if((e.f&ne)!==0)throw e.v;return e.v}function gn(e){if(e.f|=M,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&y)!==0&&(t.f&M)===0&&(Xt(t),gn(t))}function kn(e){if(e.v===E)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(se.has(t)||(t.f&y)!==0&&kn(t))return!0;return!1}function Br(e){var t=j;try{return j=!0,e()}finally{j=t}}const Ie=Symbol("events"),xn=new Set,mt=new Set;function Hr(e,t,n){(t[Ie]??={})[e]=n}function Yr(e){for(var t=0;t<e.length;t++)xn.add(e[t]);for(var n of mt)n(e)}let yn=null;function $n(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;yn=e;var l=0,o=yn===e&&e[Ie];if(o){var a=i.indexOf(o);if(a!==-1&&(t===document||t===window)){e[Ie]=t;return}var f=i.indexOf(t);if(f===-1)return;a<=f&&(l=a)}if(s=i[l]||e.target,s!==t){ze(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=p,h=_;D(null),U(null);try{for(var d,v=[];s!==null;){var c=s.assignedSlot||s.parentNode||s.host||null;try{var m=s[Ie]?.[r];m!=null&&(!s.disabled||e.target===s)&&m.call(s,e)}catch($){d?v.push($):d=$}if(e.cancelBubble||c===t||c===null)break;s=c}if(d){for(let $ of v)queueMicrotask(()=>{throw $});throw d}}finally{e[Ie]=t,delete e.currentTarget,D(u),U(h)}}}const qr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Vr(e){return qr?.createHTML(e)??e}function Ur(e){var t=ht("template");return t.innerHTML=Vr(e.replaceAll("<!>","<!---->")),t.content}function Je(e,t){var n=_;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function bt(e,t){var n=(t&Dn)!==0,r=(t&In)!==0,i,s=!e.startsWith("<!>");return()=>{if(g)return Je(b,null),b;i===void 0&&(i=Ur(s?e:"<!>"+e),n||(i=$e(i)));var l=r||tn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=$e(l),a=l.lastChild;Je(o,a)}else Je(l,l);return l}}function Xe(e,t){if(g){var n=_;((n.f&le)===0||n.nodes.end===null)&&(n.nodes.end=b),Ye();return}e!==null&&e.before(t)}const Gr=["touchstart","touchmove"];function Kr(e){return Gr.includes(e)}function En(e,t){return Tn(e,t)}function Wr(e,t){ct(),t.intro=t.intro??!1;const n=t.target,r=g,i=b;try{for(var s=$e(n);s&&(s.nodeType!==Be||s.data!==xt);)s=Z(s);if(!s)throw pe;ge(!0),Y(s);const l=Tn(e,{...t,anchor:s});return ge(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(
|
|
3
|
-
\r\f
|
|
1
|
+
(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,g=()=>{};function _(e){for(var t=0;t<e.length;t++)e[t]()}function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var y=1024,b=2048,x=4096,ee=8192,te=16384,ne=32768,re=1<<25,ie=65536,ae=1<<19,oe=1<<20,se=65536,ce=1<<21,le=1<<22,ue=1<<23,de=Symbol(`$state`),fe=Symbol(`legacy props`),pe=Symbol(``),S=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},me=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function he(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function ge(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function _e(){throw Error(`https://svelte.dev/e/hydration_failed`)}function ve(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function ye(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function be(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function xe(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Se(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Ce(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function we(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var C=!1;function Te(e){C=e}var w;function T(e){if(e===null)throw Ce(),t;return w=e}function Ee(){return T(z(w))}function De(e){if(C){if(z(w)!==null)throw Ce(),t;w=e}}function Oe(e=1){if(C){for(var t=e,n=w;t--;)n=z(n);w=n}}function ke(e=!0){for(var t=0,n=w;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=z(n);e&&n.remove(),n=i}}function Ae(e){if(!e||e.nodeType!==8)throw Ce(),t;return e.data}function je(e){return e===this.v}function Me(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Ne(e){return!Me(e,this.v)}var E=!1,Pe=!1,D=null;function Fe(e){D=e}function Ie(e,t=!1,n){D={p:D,i:!1,c:null,e:null,s:e,x:null,r:q,l:Pe&&!t?{s:null,u:null,$:[]}:null}}function Le(e){var t=D,n=t.e;if(n!==null){t.e=null;for(var r of n)tn(r)}return e!==void 0&&(t.x=e),t.i=!0,D=t.p,e??{}}function Re(){return!Pe||D!==null&&D.l===null}var O=[];function ze(){var e=O;O=[],_(e)}function Be(e){if(O.length===0&&!Ze){var t=O;queueMicrotask(()=>{t===O&&ze()})}O.push(e)}function Ve(){for(;O.length>0;)ze()}function He(e){var t=q;if(t===null)return W.f|=ue,e;if(!(t.f&32768)&&!(t.f&4))throw e;k(e,t)}function k(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Ue=~(b|x|y);function A(e,t){e.f=e.f&Ue|t}function We(e){e.f&512||e.deps===null?A(e,y):A(e,x)}function Ge(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=se,Ge(t.deps))}function Ke(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Ge(e.deps),A(e,y)}var qe=!1,Je=!1;function Ye(e){var t=Je;try{return Je=!1,[e(),Je]}finally{Je=t}}var j=new Set,M=null,N=null,Xe=null,Ze=!1,Qe=!1,$e=null,et=null,tt=0,nt=1,rt=class e{id=nt++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)A(n,b),this.schedule(n);for(n of t.m)A(n,x),this.schedule(n)}}#p(){if(tt++>1e3&&(j.delete(this),at()),!this.#d()){for(let e of this.#o)this.#s.delete(e),A(e,b),this.schedule(e);for(let e of this.#s)A(e,x),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=$e=[],r=[],i=et=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw dt(e),t}if(M=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if($e=null,et=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)ut(e,t)}else{this.#n.size===0&&j.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),ot(r),ot(n),this.#i?.resolve()}var o=M;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(j.add(o),o.#p()),j.has(this)||this.#g()}#m(e,t,n){e.f^=y;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=y:i&4?t.push(r):E&&i&16777224?n.push(r):An(r)&&(i&16&&this.#s.add(r),Fn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)Ke(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),N?.set(e,e.v))}activate(){M=this}deactivate(){M=null,N=null}flush(){try{Qe=!0,M=this,this.#p()}finally{tt=0,Xe=null,$e=null,et=null,Qe=!1,M=null,N=null,F.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),j.delete(this)}#g(){for(let c of j){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)st(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of j)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,Be(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=v()).promise}static ensure(){if(M===null){let t=M=new e;Qe||(j.add(M),Ze||Be(()=>{M===t&&t.flush()}))}return M}apply(){if(!E||!this.is_fork&&j.size===1){N=null;return}N=new Map;for(let[e,[t]]of this.current)N.set(e,t);for(let n of j)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)N.has(e)||N.set(e,t)}}schedule(e){if(Xe=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if($e!==null&&t===q&&(E||(W===null||!(W.f&2))&&!qe))return;if(n&96){if(!(n&1024))return;t.f^=y}}this.#a.push(t)}};function it(e){var t=Ze;Ze=!0;try{var n;for(e&&(M!==null&&!M.is_fork&&M.flush(),n=e());;){if(Ve(),M===null)return n;M.flush()}}finally{Ze=t}}function at(){try{ge()}catch(e){k(e,Xe)}}var P=null;function ot(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&An(r)&&(P=new Set,Fn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&mn(r),P?.size>0)){F.clear();for(let e of P){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)P.has(n)&&(P.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Fn(n)}}P.clear()}}P=null}}function st(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?st(i,t,n,r):e&4194320&&!(e&2048)&&ct(i,t,r)&&(A(i,b),lt(i))}}function ct(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(o.call(t,r))return!0;if(r.f&2&&ct(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function lt(e){M.schedule(e)}function ut(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),A(e,y);for(var n=e.first;n!==null;)ut(n,t),n=n.next}}function dt(e){A(e,y);for(var t=e.first;t!==null;)dt(t),t=t.next}function ft(e){let t=0,n=jt(0),r;return()=>{$t()&&($(n),sn(()=>(t===0&&(r=Rn(()=>e(()=>Ft(n)))),t+=1,()=>{Be(()=>{--t,t===0&&(r?.(),r=void 0,Ft(n))})})))}}var pt=ie|ae;function mt(e,t,n,r){new ht(e,t,n,r)}var ht=class{parent;is_pending=!1;transform_error;#e;#t=C?w:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=ft(()=>(this.#m=jt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=q;t.b=this,t.f|=128,n(e)},this.parent=q.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=ln(()=>{if(C){let e=this.#t;Ee();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},pt),C&&(this.#e=w)}#g(){try{this.#a=V(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=V(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=V(()=>e(this.#e)),Be(()=>{var e=this.#c=document.createDocumentFragment(),t=R();e.append(t),this.#a=this.#x(()=>V(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,hn(this.#o,()=>{this.#o=null}),this.#b(M))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=V(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();yn(this.#a,e);let t=this.#n.pending;this.#o=V(()=>t(this.#e))}else this.#b(M)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Ke(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=q,n=W,r=D;J(this.#i),K(this.#i),Fe(this.#i.ctx);try{return rt.ensure(),e()}catch(e){return He(e),null}finally{J(t),K(n),Fe(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&hn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,Be(()=>{this.#d=!1,this.#m&&Nt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),$(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(H(this.#a),null),this.#o&&=(H(this.#o),null),this.#s&&=(H(this.#s),null),C&&(T(this.#t),Oe(),T(ke()));var r=!1,i=!1;let a=()=>{if(r){we();return}r=!0,i&&Se(),this.#s!==null&&hn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){k(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return V(()=>{var t=q;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return k(e,this.#i.parent),null}}))};Be(()=>{var t;try{t=this.transform_error(e)}catch(e){k(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>k(e,this.#i&&this.#i.parent)):o(t)})}};function gt(e,t,n,r){let i=Re()?bt:St;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=q,s=_t(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||k(e,o)}vt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=yt();function d(){Promise.all(n.map(e=>xt(e))).then(e=>l([...t.map(i),...e])).catch(e=>k(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),vt()}):d()}function _t(){var e=q,t=W,n=D,r=M;return function(i=!0){J(e),K(t),Fe(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function vt(e=!0){J(null),K(null),Fe(null),e&&M?.deactivate()}function yt(){var e=q,t=e.b,n=M,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function bt(e){var t=2|b,r=W!==null&&W.f&2?W:null;return q!==null&&(q.f|=ae),{ctx:D,deps:null,effects:null,equals:je,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??q,ac:null}}function xt(e,t,r){let i=q;i===null&&he();var a=void 0,o=jt(n),s=!W,c=new Map;return on(()=>{var t=q,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(vt)}catch(e){n.reject(e),vt()}var r=M;if(s){if(t.f&32768)var l=yt();if(i.b.is_rendered())c.get(r)?.reject(S),c.delete(r);else{for(let e of c.values())e.reject(S);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===S),!(n===S||t.f&16384)){if(r.activate(),n)o.f|=ue,Nt(o,n);else{o.f&8388608&&(o.f^=ue),Nt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(S)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),en(()=>{for(let e of c.values())e.reject(S)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function St(e){let t=bt(e);return t.equals=Ne,t}function Ct(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)H(t[n])}}function wt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Tt(e){var t,n=q;J(wt(e));try{e.f&=~se,Ct(e),t=Mn(e)}finally{J(n)}return t}function Et(e){var t=e.v,n=Tt(e);if(!e.equals(n)&&(e.wv=kn(),(!M?.is_fork||e.deps===null)&&(e.v=n,M?.capture(e,t,!0),e.deps===null))){A(e,y);return}U||(N===null?We(e):($t()||M?.is_fork)&&N.set(e,n))}function Dt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(S),t.teardown=g,t.ac=null,Pn(t,0),dn(t))}function Ot(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Fn(t)}var kt=new Set,F=new Map,At=!1;function jt(e,t){return{f:0,v:e,reactions:null,equals:je,rv:0,wv:0}}function I(e,t){let n=jt(e,t);return Cn(n),n}function Mt(e,t=!1,n=!0){let r=jt(e);return t||(r.equals=Ne),Pe&&n&&D!==null&&D.l!==null&&(D.l.s??=[]).push(r),r}function L(e,t,n=!1){return W!==null&&(!G||W.f&131072)&&Re()&&W.f&4325394&&(Y===null||!o.call(Y,e))&&xe(),Nt(e,n?Lt(t):t,et)}function Nt(e,t,n=null){if(!e.equals(t)){var r=e.v;U?F.set(e,t):F.set(e,r),e.v=t;var i=rt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Tt(t),N===null&&We(t)}e.wv=kn(),It(e,b,n),Re()&&q!==null&&q.f&1024&&!(q.f&96)&&(Q===null?wn([e]):Q.push(e)),!i.is_fork&&kt.size>0&&!At&&Pt()}return t}function Pt(){At=!1;for(let e of kt)e.f&1024&&A(e,x),An(e)&&Fn(e);kt.clear()}function Ft(e){L(e,e.v+1)}function It(e,t,n){var r=e.reactions;if(r!==null)for(var i=Re(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===q)){var l=(c&b)===0;if(l&&A(s,t),c&2){var u=s;N?.delete(u),c&65536||(c&512&&(s.f|=se),It(u,x,n))}else if(l){var d=s;c&16&&P!==null&&P.add(d),n===null?lt(d):n.push(d)}}}}function Lt(e){if(typeof e!=`object`||!e||de in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=I(0),s=null,c=Dn,l=e=>{if(Dn===c)return e();var t=W,n=Dn;K(null),On(c);var r=e();return K(t),On(n),r};return a&&r.set(`length`,I(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&ye();var i=r.get(t);return i===void 0?l(()=>{var e=I(n.value,s);return r.set(t,e),e}):L(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>I(n,s));r.set(t,e),Ft(o)}}else L(i,n),Ft(o);return!0},get(t,i,a){if(i===de)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>I(Lt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=$(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=$(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===de)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||q!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>I(a?Lt(e[t]):n,s)),r.set(t,i)),$(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>I(n,s)),r.set(p+``,m)):L(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>I(void 0,s)),L(d,Lt(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>Lt(i));L(d,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,i),!f){if(a&&typeof t==`string`){var _=r.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&L(_,v+1)}Ft(o)}return!0},ownKeys(e){$(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){be()}})}var Rt,zt,Bt,Vt;function Ht(){if(Rt===void 0){Rt=window,zt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Bt=u(t,`firstChild`).get,Vt=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function R(e=``){return document.createTextNode(e)}function Ut(e){return Bt.call(e)}function z(e){return Vt.call(e)}function Wt(e,t){if(!C)return Ut(e);var n=Ut(w);if(n===null)n=w.appendChild(R());else if(t&&n.nodeType!==3){var r=R();return n?.before(r),T(r),r}return t&&Xt(n),T(n),n}function Gt(e,t=!1){if(!C){var n=Ut(e);return n instanceof Comment&&n.data===``?z(n):n}if(t){if(w?.nodeType!==3){var r=R();return w?.before(r),T(r),r}Xt(w)}return w}function Kt(e,t=1,n=!1){let r=C?w:e;for(var i;t--;)i=r,r=z(r);if(!C)return r;if(n){if(r?.nodeType!==3){var a=R();return r===null?i?.after(a):r.before(a),T(a),a}Xt(r)}return T(r),r}function qt(e){e.textContent=``}function Jt(){return!E||P!==null?!1:(q.f&ne)!==0}function Yt(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function Xt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Zt(e){var t=W,n=q;K(null),J(null);try{return e()}finally{K(t),J(n)}}function Qt(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function B(e,t){var n=q;n!==null&&n.f&8192&&(e|=ee);var r={ctx:D,deps:null,nodes:null,f:e|b|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)$e===null?rt.ensure().schedule(r):$e.push(r);else if(t!==null){try{Fn(r)}catch(e){throw H(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ie))}if(i!==null&&(i.parent=n,n!==null&&Qt(i,n),W!==null&&W.f&2&&!(e&64))){var a=W;(a.effects??=[]).push(i)}return r}function $t(){return W!==null&&!G}function en(e){let t=B(8,null);return A(t,y),t.teardown=e,t}function tn(e){return B(4|oe,e)}function nn(e){rt.ensure();let t=B(64|ae,e);return()=>{H(t)}}function rn(e){rt.ensure();let t=B(64|ae,e);return(e={})=>new Promise(n=>{e.outro?hn(t,()=>{H(t),n(void 0)}):(H(t),n(void 0))})}function an(e){return B(4,e)}function on(e){return B(le|ae,e)}function sn(e,t=0){return B(8|t,e)}function cn(e,t=[],n=[],r=[]){gt(r,t,n,t=>{B(8,()=>e(...t.map($)))})}function ln(e,t=0){return B(16|t,e)}function V(e){return B(32|ae,e)}function un(e){var t=e.teardown;if(t!==null){let e=U,n=W;Sn(!0),K(null);try{t.call(null)}finally{Sn(e),K(n)}}}function dn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&Zt(()=>{e.abort(S)});var r=n.next;n.f&64?n.parent=null:H(n,t),n=r}}function fn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||H(t),t=n}}function H(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(pn(e.nodes.start,e.nodes.end),n=!0),A(e,re),dn(e,t&&!n),Pn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();un(e),e.f^=re,e.f|=te;var i=e.parent;i!==null&&i.first!==null&&mn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function pn(e,t){for(;e!==null;){var n=e===t?null:z(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 hn(e,t,n=!0){var r=[];gn(e,r,!0);var i=()=>{n&&H(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function gn(e,t,n){if(!(e.f&8192)){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;gn(i,t,o?n:!1),i=a}}}function _n(e){vn(e,!0)}function vn(e,t){if(e.f&8192){e.f^=ee,e.f&1024||(A(e,b),rt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;vn(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function yn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:z(n);t.append(n),n=i}}var bn=null,xn=!1,U=!1;function Sn(e){U=e}var W=null,G=!1;function K(e){W=e}var q=null;function J(e){q=e}var Y=null;function Cn(e){W!==null&&(!E||W.f&2)&&(Y===null?Y=[e]:Y.push(e))}var X=null,Z=0,Q=null;function wn(e){Q=e}var Tn=1,En=0,Dn=En;function On(e){Dn=e}function kn(){return++Tn}function An(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~se),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(An(a)&&Et(a),a.wv>e.wv)return!0}t&512&&N===null&&A(e,y)}return!1}function jn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!E&&Y!==null&&o.call(Y,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?jn(a,t,!1):t===a&&(n?A(a,b):a.f&1024&&A(a,x),lt(a))}}function Mn(e){var t=X,n=Z,r=Q,i=W,a=Y,o=D,s=G,c=Dn,l=e.f;X=null,Z=0,Q=null,W=l&96?null:e,Y=null,Fe(e.ctx),G=!1,Dn=++En,e.ac!==null&&(Zt(()=>{e.ac.abort(S)}),e.ac=null);try{e.f|=ce;var u=e.fn,d=u();e.f|=ne;var f=e.deps,p=M?.is_fork;if(X!==null){var m;if(p||Pn(e,Z),f!==null&&Z>0)for(f.length=Z+X.length,m=0;m<X.length;m++)f[Z+m]=X[m];else e.deps=f=X;if($t()&&e.f&512)for(m=Z;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Z<f.length&&(Pn(e,Z),f.length=Z);if(Re()&&Q!==null&&!G&&f!==null&&!(e.f&6146))for(m=0;m<Q.length;m++)jn(Q[m],e);if(i!==null&&i!==e){if(En++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=En;if(t!==null)for(let e of t)e.rv=En;Q!==null&&(r===null?r=Q:r.push(...Q))}return e.f&8388608&&(e.f^=ue),d}catch(e){return He(e)}finally{e.f^=ce,X=t,Z=n,Q=r,W=i,Y=a,Fe(o),G=s,Dn=c}}function Nn(e,t){let n=t.reactions;if(n!==null){var r=a.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(X===null||!o.call(X,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~se),We(s),Dt(s),Pn(s,0)}}function Pn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Nn(e,n[r])}function Fn(e){var t=e.f;if(!(t&16384)){A(e,y);var n=q,r=xn;q=e,xn=!0;try{t&16777232?fn(e):dn(e),un(e);var i=Mn(e);e.teardown=typeof i==`function`?i:null,e.wv=Tn}finally{xn=r,q=n}}}function $(e){var t=(e.f&2)!=0;if(bn?.add(e),W!==null&&!G&&!(q!==null&&q.f&16384)&&(Y===null||!o.call(Y,e))){var n=W.deps;if(W.f&2097152)e.rv<En&&(e.rv=En,X===null&&n!==null&&n[Z]===e?Z++:X===null?X=[e]:X.push(e));else{(W.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[W]:o.call(r,W)||r.push(W)}}if(U&&F.has(e))return F.get(e);if(t){var i=e;if(U){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Ln(i))&&(a=Tt(i)),F.set(i,a),a}var s=(i.f&512)==0&&!G&&W!==null&&(xn||(W.f&512)!=0),c=(i.f&ne)===0;An(i)&&(s&&(i.f|=512),Et(i)),s&&!c&&(Ot(i),In(i))}if(N?.has(e))return N.get(e);if(e.f&8388608)throw e.v;return e.v}function In(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Ot(t),In(t))}function Ln(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(F.has(t)||t.f&2&&Ln(t))return!0;return!1}function Rn(e){var t=G;try{return G=!0,e()}finally{G=t}}var zn=Symbol(`events`),Bn=new Set,Vn=new Set;function Hn(e,t,n){(t[zn]??={})[e]=n}function Un(e){for(var t=0;t<e.length;t++)Bn.add(e[t]);for(var n of Vn)n(e)}var Wn=null;function Gn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Wn=e;var o=0,s=Wn===e&&e[zn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[zn]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=W,f=q;K(null),J(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[zn]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[zn]=t,delete e.currentTarget,K(d),J(f)}}}var Kn=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function qn(e){return Kn?.createHTML(e)??e}function Jn(e){var t=Yt(`template`);return t.innerHTML=qn(e.replaceAll(`<!>`,`<!---->`)),t.content}function Yn(e,t){var n=q;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Xn(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(C)return Yn(w,null),w;i===void 0&&(i=Jn(a?e:`<!>`+e),n||(i=Ut(i)));var t=r||zt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Ut(t),s=t.lastChild;Yn(o,s)}else Yn(t,t);return t}}function Zn(e,t){if(C){var n=q;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=w),Ee();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var Qn=[`touchstart`,`touchmove`];function $n(e){return Qn.includes(e)}function er(e,t){return rr(e,t)}function tr(e,n){Ht(),n.intro=n.intro??!1;let r=n.target,i=C,a=w;try{for(var o=Ut(r);o&&(o.nodeType!==8||o.data!==`[`);)o=z(o);if(!o)throw t;Te(!0),T(o);let i=rr(e,{...n,anchor:o});return Te(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
2
|
+
`).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&_e(),Ht(),qt(r),Te(!1),er(e,n)}finally{Te(i),T(a)}}var nr=new Map;function rr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){Ht();var u=void 0,d=rn(()=>{var c=r??n.appendChild(R());mt(c,{pending:()=>{}},n=>{Ie({});var r=D;if(o&&(r.c=o),a&&(i.$$events=a),C&&Yn(n,null),u=e(n,i)||{},C&&(q.nodes.end=w,w===null||w.nodeType!==8||w.data!==`]`))throw Ce(),t;Le()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=$n(r);for(let e of[n,document]){var a=nr.get(e);a===void 0&&(a=new Map,nr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,Gn,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(Bn)),Vn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=nr.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,Gn),t.delete(e),t.size===0&&nr.delete(r)):t.set(e,i)}Vn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return ir.set(u,d),u}var ir=new WeakMap;function ar(e,t){let n=ir.get(e);return n?(ir.delete(e),n(t)):Promise.resolve()}var or=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)_n(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(H(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();yn(r,t),t.append(R()),this.#n.set(e,{effect:r,fragment:t})}else H(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),hn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(H(n.effect),this.#n.delete(e))};ensure(e,t){var n=M,r=Jt();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=R();i.append(a),this.#n.set(e,{effect:V(()=>t(a)),fragment:i})}else this.#t.set(e,V(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else C&&(this.anchor=w),this.#a(n)}};function sr(e,t,n=!1){var r;C&&(r=w,Ee());var i=new or(e),a=n?ie:0;function o(e,t){if(C){var n=Ae(r);if(e!==parseInt(n.substring(1))){var a=ke();T(a),i.anchor=a,Te(!1),i.ensure(e,t),Te(!0);return}}i.ensure(e,t)}ln(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function cr(e,t,n,r,i){C&&Ee();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function lr(e){let t={};e.children&&(t.default=!0);for(let n in e.$$slots)t[n]=!0;return t}function ur(e,t){an(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Yt(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var dr=[...`
|
|
3
|
+
\r\f\xA0\v`];function fr(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||dr.includes(r[o-1]))&&(s===r.length||dr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function pr(e,t,n,r,i,a){var o=e.__className;if(C||o!==n||o===void 0){var s=fr(n,r,a);(!C||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}var mr=Symbol(`is custom element`),hr=Symbol(`is html`),gr=me?`link`:`LINK`;function _r(e,t,n,r){var i=vr(e);C&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===gr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[pe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&br(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function vr(e){return e.__attributes??={[mr]:e.nodeName.includes(`-`),[hr]:e.namespaceURI===r}}var yr=new Map;function br(e){var t=e.getAttribute(`is`)||e.nodeName,n=yr.get(t);if(n)return n;yr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function xr(e,t,n,r){var i=!Pe||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Rn(r):r),s);let d;if(a){var f=de in e||fe in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=Ye(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&ve(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?bt:St)(()=>(_=!1,h()));a&&$(v);var y=q;return(function(e,t){if(arguments.length>0){let n=t?$(v):i&&a?Lt(e):e;return L(v,n),_=!0,s!==void 0&&(s=n),e}return U&&_||y.f&16384?v.v:$(v)})}function Sr(e){return new Cr(e)}var Cr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Mt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return $(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===fe?!0:($(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return L(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?tr:er)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!E&&(!e?.props?.$$host||e.sync===!1)&&it(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{ar(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},wr;typeof HTMLElement==`function`&&(wr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=Yt(`slot`);e!==`default`&&(n.name=e),Zn(t,n)}}let t={},n=Er(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Tr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Sr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=nn(()=>{sn(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Tr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Tr(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Tr(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function Er(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Dr(e,t,n,r,i,a){let o=class extends wr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Tr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var Or=Xn(`<a class="text-sm font-semibold ms-auto svelte-1exkksu">Clear all</a>`),kr=Xn(`<div class="dropdown-divider svelte-1exkksu"></div> <div class="dropdown-item py-2 text-center svelte-1exkksu"><a class="font-semibold text-muted text-primary-hover svelte-1exkksu">View all</a></div>`,1),Ar=Xn(`<div class="dropdown svelte-1exkksu"><a href="#"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-bell-fill svelte-1exkksu" viewBox="0 0 16 16"><path d="M8 16a2 2 0 0 0 2-2H6a2 2 0 0 0 2 2zm.995-14.901a1 1 0 1 0-1.99 0A5.002 5.002 0 0 0 3 6c0 1.098-.5 6-2 7h14c-1.5-1-2-5.902-2-7 0-2.42-1.72-4.44-4.005-4.901z" class="svelte-1exkksu"></path></svg></a> <div aria-labelledby="dropdown-notifications"><div class="dropdown-item d-flex align-items-center svelte-1exkksu"><h6 class="dropdown-header p-0 m-0 font-semibold svelte-1exkksu">Notifications</h6> <!></div> <!> <!></div></div>`),jr={hash:`svelte-1exkksu`,code:`@charset "UTF-8";
|
|
4
4
|
/*!
|
|
5
5
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
6
6
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
@@ -108,5 +108,5 @@ svg.svelte-1exkksu {vertical-align:middle;}.svelte-1exkksu::-moz-focus-inner {pa
|
|
|
108
108
|
@media (min-width: 1200px) {
|
|
109
109
|
}
|
|
110
110
|
@media print {
|
|
111
|
-
}.dropdown.svelte-1exkksu {display:inline-block;}.text-xs.svelte-1exkksu {font-size:0.75rem !important;}.text-sm.svelte-1exkksu {font-size:0.875rem !important;}.font-semibold.svelte-1exkksu {font-weight:500 !important;}.text-muted.svelte-1exkksu {--x-text-opacity: 1;}.text-muted.svelte-1exkksu {color:rgba(var(--x-muted-rgb), var(--x-text-opacity)) !important;}.dropdown-menu-end.svelte-1exkksu {left:auto;right:0;}`};function
|
|
112
|
-
//# sourceMappingURL=main.iife.js.map
|
|
111
|
+
}.dropdown.svelte-1exkksu {display:inline-block;}.text-xs.svelte-1exkksu {font-size:0.75rem !important;}.text-sm.svelte-1exkksu {font-size:0.875rem !important;}.font-semibold.svelte-1exkksu {font-weight:500 !important;}.text-muted.svelte-1exkksu {--x-text-opacity: 1;}.text-muted.svelte-1exkksu {color:rgba(var(--x-muted-rgb), var(--x-text-opacity)) !important;}.dropdown-menu-end.svelte-1exkksu {left:auto;right:0;}`};function Mr(e,t){let n=lr(t);Ie(t,!0),ur(e,jr);let r=xr(t,`id`,7,``),i=xr(t,`clearurl`,7,``),a=xr(t,`viewurl`,7,``),o=xr(t,`align`,7,`left`),s=I(!1);console.log(n);var c={get id(){return r()},set id(e=``){r(e),it()},get clearurl(){return i()},set clearurl(e=``){i(e),it()},get viewurl(){return a()},set viewurl(e=``){a(e),it()},get align(){return o()},set align(e=`left`){o(e),it()}},l=Ar(),u=Wt(l);let d;var f=Kt(u,2);let p;var m=Wt(f),h=Kt(Wt(m),2),g=e=>{var t=Or();cn(()=>_r(t,`href`,i())),Zn(e,t)};sr(h,e=>{i()&&e(g)}),De(m);var _=Kt(m,2);cr(_,t,`default`,{},null);var v=Kt(_,2),y=e=>{var t=kr(),n=Kt(Gt(t),2),r=Wt(n);De(n),cn(()=>_r(r,`href`,a())),Zn(e,t)};return sr(v,e=>{a()&&e(y)}),De(f),De(l),cn(()=>{d=pr(u,1,`nav-link px-3 text-base text-xs text-opacity-70 text-opacity-100-hover svelte-1exkksu`,null,d,{show:$(s)}),_r(u,`aria-expanded`,$(s)),p=pr(f,1,`dropdown-menu px-2 svelte-1exkksu`,null,p,{show:$(s),"dropdown-menu-end":o()===`right`})}),Hn(`click`,u,()=>L(s,!$(s))),Zn(e,l),Le(c)}Un([`click`]),customElements.define(`hb-dropdown-notifications`,Dr(Mr,{id:{},clearurl:{},viewurl:{},align:{}},[`default`],[],{mode:`open`})),e.Component=Mr})(this[`dropdown-notifications`]=this[`dropdown-notifications`]||{});
|
|
112
|
+
//# sourceMappingURL=main.iife.js.map
|