@htmlbricks/hb-searchbar 0.60.7 → 0.60.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(bt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const fe=1,me=2,ft=4,ko=8,_o=16,$o=1,jo=2,Te="[",Se="[!",Ce="]",Pr={},C=Symbol(),zo="http://www.w3.org/1999/xhtml",mt=!1;var Ne=Array.isArray,Eo=Array.prototype.indexOf,Be=Array.from,de=Object.keys,Dr=Object.defineProperty,Fr=Object.getOwnPropertyDescriptor,Ao=Object.getOwnPropertyDescriptors,Ro=Object.prototype,To=Array.prototype,dt=Object.getPrototypeOf,pt=Object.isExtensible;function xt(r){for(var e=0;e<r.length;e++)r[e]()}function So(){var r,e,t=new Promise((o,l)=>{r=o,e=l});return{promise:t,resolve:r,reject:e}}const U=2,Oe=4,vt=8,qr=16,vr=32,hr=64,ct=128,K=256,pe=512,L=1024,J=2048,wr=4096,tr=8192,Rr=16384,Me=32768,Ge=65536,gt=1<<17,ut=1<<18,Hr=1<<19,Co=1<<20,Le=1<<21,Ie=1<<22,Tr=1<<23,Pe=Symbol("$state"),No=Symbol("legacy props"),Bo=Symbol(""),De=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ht=3,Ur=8;function Oo(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Mo(r){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Go(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Lo(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Io(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Po(r){throw new Error("https://svelte.dev/e/effect_orphan")}function Do(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Fo(){throw new Error("https://svelte.dev/e/hydration_failed")}function qo(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ho(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Uo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function xe(r){console.warn("https://svelte.dev/e/hydration_mismatch")}let $=!1;function or(r){$=r}let E;function V(r){if(r===null)throw xe(),Pr;return E=r}function ve(){return V(nr(E))}function O(r){if($){if(nr(E)!==null)throw xe(),Pr;E=r}}function Fe(){for(var r=0,e=E;;){if(e.nodeType===Ur){var t=e.data;if(t===Ce){if(r===0)return e;r-=1}else(t===Te||t===Se)&&(r+=1)}var o=nr(e);e.remove(),e=o}}function wt(r){if(!r||r.nodeType!==Ur)throw xe(),Pr;return r.data}function yt(r){return r===this.v}function Vo(r,e){return r!=r?e==e:r!==e||r!==null&&typeof r=="object"||typeof r=="function"}function kt(r){return!Vo(r,this.v)}let Yo=!1,X=null;function ce(r){X=r}function _t(r,e=!1,t){X={p:X,c:null,e:null,s:r,x:null,l:null}}function $t(r){var e=X,t=e.e;if(t!==null){e.e=null;for(var o of t)Wt(o)}return r!==void 0&&(e.x=r),X=e.p,r??{}}function jt(){return!0}const Wo=new WeakMap;function Ko(r){var e=w;if(e===null)return k.f|=Tr,r;if((e.f&Me)===0){if((e.f&ct)===0)throw!e.parent&&r instanceof Error&&zt(r),r;e.b.error(r)}else qe(r,e)}function qe(r,e){for(;e!==null;){if((e.f&ct)!==0)try{e.b.error(r);return}catch(t){r=t}e=e.parent}throw r instanceof Error&&zt(r),r}function zt(r){const e=Wo.get(r);e&&(Dr(r,"message",{value:e.message}),Dr(r,"stack",{value:e.stack}))}const Jo=typeof requestIdleCallback>"u"?r=>setTimeout(r,1):requestIdleCallback;let re=[],ee=[];function Et(){var r=re;re=[],xt(r)}function At(){var r=ee;ee=[],xt(r)}function Xo(r){re.length===0&&queueMicrotask(Et),re.push(r)}function Zo(r){ee.length===0&&Jo(At),ee.push(r)}function Qo(){re.length>0&&Et(),ee.length>0&&At()}function rl(){const r=w.b;return r===null&&Oo(),r}function ge(r){var e=U|J,t=k!==null&&(k.f&U)!==0?k:null;return w===null||t!==null&&(t.f&K)!==0?e|=K:w.f|=Hr,{ctx:X,deps:null,effects:null,equals:yt,f:e,fn:r,reactions:null,rv:0,v:C,wv:0,parent:t??w,ac:null}}function el(r,e){let t=w;t===null&&Go();var o=t.b,l=void 0,i=te(C),n=null,s=!k;return xl(()=>{try{var a=r();n&&Promise.resolve(a).catch(()=>{})}catch(d){a=Promise.reject(d)}var b=()=>a;l=n?.then(b,b)??Promise.resolve(a),n=l;var m=A,x=o.is_pending();s&&(o.update_pending_count(1),x||m.increment());const v=(d,f=void 0)=>{n=null,x||m.activate(),f?f!==De&&(i.f|=Tr,oe(i,f)):((i.f&Tr)!==0&&(i.f^=Tr),oe(i,d)),s&&(o.update_pending_count(-1),x||m.decrement()),Ct()};if(l.then(v,d=>v(null,d||"unknown")),m)return()=>{queueMicrotask(()=>m.neuter())}}),new Promise(a=>{function b(m){function x(){m===l?a(i):b(l)}m.then(x,x)}b(l)})}function Rt(r){const e=ge(r);return oo(e),e}function tl(r){const e=ge(r);return e.equals=kt,e}function Tt(r){var e=r.effects;if(e!==null){r.effects=null;for(var t=0;t<e.length;t+=1)sr(e[t])}}function ol(r){for(var e=r.parent;e!==null;){if((e.f&U)===0)return e;e=e.parent}return null}function He(r){var e,t=w;$r(ol(r));try{Tt(r),e=ao(r)}finally{$r(t)}return e}function St(r){var e=He(r);if(r.equals(e)||(r.v=e,r.wv=no()),!Or){var t=(jr||(r.f&K)!==0)&&r.deps!==null?wr:L;W(r,t)}}function ll(r,e,t){const o=ge;if(e.length===0){t(r.map(o));return}var l=A,i=w,n=il(),s=rl();Promise.all(e.map(a=>el(a))).then(a=>{l?.activate(),n();try{t([...r.map(o),...a])}catch(b){(i.f&Rr)===0&&qe(b,i)}l?.deactivate(),Ct()}).catch(a=>{s.error(a)})}function il(){var r=w,e=k,t=X,o=A;return function(){$r(r),br(e),ce(t),o?.activate()}}function Ct(){$r(null),br(null),ce(null)}const Ue=new Set;let A=null,ue=null,Nt=new Set,he=[];function Bt(){const r=he.shift();he.length>0&&queueMicrotask(Bt),r()}let Sr=[],we=null,Ve=!1,ye=!1;class Cr{current=new Map;#e=new Map;#r=new Set;#t=0;#b=null;#f=!1;#l=[];#n=[];#i=[];#o=[];#s=[];#m=[];#d=[];skipped_effects=new Set;process(e){Sr=[],ue=null;for(const l of e)this.#x(l);if(this.#l.length===0&&this.#t===0){this.#p();var t=this.#i,o=this.#o;this.#i=[],this.#o=[],this.#s=[],ue=A,A=null,Mt(t),Mt(o),A===null?A=this:Ue.delete(this),this.#b?.resolve()}else this.#a(this.#i),this.#a(this.#o),this.#a(this.#s);for(const l of this.#l)Kr(l);for(const l of this.#n)Kr(l);this.#l=[],this.#n=[]}#x(e){e.f^=L;for(var t=e.first;t!==null;){var o=t.f,l=(o&(vr|hr))!==0,i=l&&(o&L)!==0,n=i||(o&tr)!==0||this.skipped_effects.has(t);if(!n&&t.fn!==null){if(l)t.f^=L;else if((o&Oe)!==0)this.#o.push(t);else if((o&L)===0)if((o&Ie)!==0){var s=t.b?.is_pending()?this.#n:this.#l;s.push(t)}else ke(t)&&((t.f&qr)!==0&&this.#s.push(t),Kr(t));var a=t.first;if(a!==null){t=a;continue}}var b=t.parent;for(t=t.next;t===null&&b!==null;)t=b.next,b=b.parent}}#a(e){for(const t of e)((t.f&J)!==0?this.#m:this.#d).push(t),W(t,L);e.length=0}capture(e,t){this.#e.has(e)||this.#e.set(e,t),this.current.set(e,e.v)}activate(){A=this}deactivate(){A=null,ue=null;for(const e of Nt)if(Nt.delete(e),e(),A!==null)break}neuter(){this.#f=!0}flush(){Sr.length>0?Ot():this.#p(),A===this&&(this.#t===0&&Ue.delete(this),this.deactivate())}#p(){if(!this.#f)for(const e of this.#r)e();this.#r.clear()}increment(){this.#t+=1}decrement(){if(this.#t-=1,this.#t===0){for(const e of this.#m)W(e,J),Vr(e);for(const e of this.#d)W(e,wr),Vr(e);this.#i=[],this.#o=[],this.flush()}else this.deactivate()}add_callback(e){this.#r.add(e)}settled(){return(this.#b??=So()).promise}static ensure(){if(A===null){const e=A=new Cr;Ue.add(A),ye||Cr.enqueue(()=>{A===e&&e.flush()})}return A}static enqueue(e){he.length===0&&queueMicrotask(Bt),he.unshift(e)}}function Nr(r){var e=ye;ye=!0;try{for(var t;;){if(Qo(),Sr.length===0&&(A?.flush(),Sr.length===0))return we=null,t;Ot()}}finally{ye=e}}function Ot(){var r=Wr;Ve=!0;try{var e=0;for(eo(!0);Sr.length>0;){var t=Cr.ensure();if(e++>1e3){var o,l;nl()}t.process(Sr),yr.clear()}}finally{Ve=!1,eo(r),we=null}}function nl(){try{Do()}catch(r){qe(r,we)}}let Br=null;function Mt(r){var e=r.length;if(e!==0){for(var t=0;t<e;){var o=r[t++];if((o.f&(Rr|tr))===0&&ke(o)&&(Br=[],Kr(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null&&o.ac===null?Zt(o):o.fn=null),Br?.length>0)){yr.clear();for(const l of Br)Kr(l);Br=[]}}Br=null}}function Vr(r){for(var e=we=r;e.parent!==null;){e=e.parent;var t=e.f;if(Ve&&e===w&&(t&qr)!==0)return;if((t&(hr|vr))!==0){if((t&L)===0)return;e.f^=L}}Sr.push(e)}const yr=new Map;function te(r,e){var t={f:0,v:r,reactions:null,equals:yt,rv:0,wv:0};return t}function lr(r,e){const t=te(r);return oo(t),t}function Gt(r,e=!1,t=!0){const o=te(r);return e||(o.equals=kt),o}function M(r,e,t=!1){k!==null&&(!ar||(k.f&gt)!==0)&&jt()&&(k.f&(U|qr|Ie|gt))!==0&&!gr?.includes(r)&&Uo();let o=t?le(e):e;return oe(r,o)}function oe(r,e){if(!r.equals(e)){var t=r.v;Or?yr.set(r,e):yr.set(r,t),r.v=e;var o=Cr.ensure();o.capture(r,t),(r.f&U)!==0&&((r.f&J)!==0&&He(r),W(r,(r.f&K)===0?L:wr)),r.wv=no(),Lt(r,J),w!==null&&(w.f&L)!==0&&(w.f&(vr|hr))===0&&(Q===null?gl([r]):Q.push(r))}return e}function Ye(r){M(r,r.v+1)}function Lt(r,e){var t=r.reactions;if(t!==null)for(var o=t.length,l=0;l<o;l++){var i=t[l],n=i.f,s=(n&J)===0;s&&W(i,e),(n&U)!==0?Lt(i,wr):s&&((n&qr)!==0&&Br!==null&&Br.push(i),Vr(i))}}function le(r){if(typeof r!="object"||r===null||Pe in r)return r;const e=dt(r);if(e!==Ro&&e!==To)return r;var t=new Map,o=Ne(r),l=lr(0),i=Mr,n=s=>{if(Mr===i)return s();var a=k,b=Mr;br(null),io(i);var m=s();return br(a),io(b),m};return o&&t.set("length",lr(r.length)),new Proxy(r,{defineProperty(s,a,b){(!("value"in b)||b.configurable===!1||b.enumerable===!1||b.writable===!1)&&qo();var m=t.get(a);return m===void 0?m=n(()=>{var x=lr(b.value);return t.set(a,x),x}):M(m,b.value,!0),!0},deleteProperty(s,a){var b=t.get(a);if(b===void 0){if(a in s){const m=n(()=>lr(C));t.set(a,m),Ye(l)}}else M(b,C),Ye(l);return!0},get(s,a,b){if(a===Pe)return r;var m=t.get(a),x=a in s;if(m===void 0&&(!x||Fr(s,a)?.writable)&&(m=n(()=>{var d=le(x?s[a]:C),f=lr(d);return f}),t.set(a,m)),m!==void 0){var v=p(m);return v===C?void 0:v}return Reflect.get(s,a,b)},getOwnPropertyDescriptor(s,a){var b=Reflect.getOwnPropertyDescriptor(s,a);if(b&&"value"in b){var m=t.get(a);m&&(b.value=p(m))}else if(b===void 0){var x=t.get(a),v=x?.v;if(x!==void 0&&v!==C)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return b},has(s,a){if(a===Pe)return!0;var b=t.get(a),m=b!==void 0&&b.v!==C||Reflect.has(s,a);if(b!==void 0||w!==null&&(!m||Fr(s,a)?.writable)){b===void 0&&(b=n(()=>{var v=m?le(s[a]):C,d=lr(v);return d}),t.set(a,b));var x=p(b);if(x===C)return!1}return m},set(s,a,b,m){var x=t.get(a),v=a in s;if(o&&a==="length")for(var d=b;d<x.v;d+=1){var f=t.get(d+"");f!==void 0?M(f,C):d in s&&(f=n(()=>lr(C)),t.set(d+"",f))}if(x===void 0)(!v||Fr(s,a)?.writable)&&(x=n(()=>lr(void 0)),M(x,le(b)),t.set(a,x));else{v=x.v!==C;var u=n(()=>le(b));M(x,u)}var h=Reflect.getOwnPropertyDescriptor(s,a);if(h?.set&&h.set.call(m,b),!v){if(o&&typeof a=="string"){var j=t.get("length"),y=Number(a);Number.isInteger(y)&&y>=j.v&&M(j,y+1)}Ye(l)}return!0},ownKeys(s){p(l);var a=Reflect.ownKeys(s).filter(x=>{var v=t.get(x);return v===void 0||v.v!==C});for(var[b,m]of t)m.v!==C&&!(b in s)&&a.push(b);return a},setPrototypeOf(){Ho()}})}var It,Pt,Dt,Ft;function We(){if(It===void 0){It=window,Pt=/Firefox/.test(navigator.userAgent);var r=Element.prototype,e=Node.prototype,t=Text.prototype;Dt=Fr(e,"firstChild").get,Ft=Fr(e,"nextSibling").get,pt(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),pt(t)&&(t.__t=void 0)}}function kr(r=""){return document.createTextNode(r)}function _r(r){return Dt.call(r)}function nr(r){return Ft.call(r)}function I(r,e){if(!$)return _r(r);var t=_r(E);if(t===null)t=E.appendChild(kr());else if(e&&t.nodeType!==ht){var o=kr();return t?.before(o),V(o),o}return V(t),t}function sl(r,e){if(!$){var t=_r(r);return t instanceof Comment&&t.data===""?nr(t):t}return E}function Z(r,e=1,t=!1){let o=$?E:r;for(var l;e--;)l=o,o=nr(o);if(!$)return o;if(t&&o?.nodeType!==ht){var i=kr();return o===null?l?.after(i):o.before(i),V(i),i}return V(o),o}function qt(r){r.textContent=""}function Ht(){return!1}let Ut=!1;function Vt(){Ut||(Ut=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{if(!r.defaultPrevented)for(const e of r.target.elements)e.__on_r?.()})},{capture:!0}))}function Ke(r){var e=k,t=w;br(null),$r(null);try{return r()}finally{br(e),$r(t)}}function al(r,e,t,o=t){r.addEventListener(e,()=>Ke(t));const l=r.__on_r;l?r.__on_r=()=>{l(),o(!0)}:r.__on_r=()=>o(!0),Vt()}function bl(r){w===null&&k===null&&Po(),k!==null&&(k.f&K)!==0&&w===null&&Io(),Or&&Lo()}function fl(r,e){var t=e.last;t===null?e.last=e.first=r:(t.next=r,r.prev=t,e.last=r)}function cr(r,e,t,o=!0){var l=w;l!==null&&(l.f&tr)!==0&&(r|=tr);var i={ctx:X,deps:null,nodes_start:null,nodes_end:null,f:r|J,first:null,fn:e,last:null,next:null,parent:l,b:l&&l.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(t)try{Kr(i),i.f|=Me}catch(a){throw sr(i),a}else e!==null&&Vr(i);if(o){var n=i;if(t&&n.deps===null&&n.teardown===null&&n.nodes_start===null&&n.first===n.last&&(n.f&Hr)===0&&(n=n.first),n!==null&&(n.parent=l,l!==null&&fl(n,l),k!==null&&(k.f&U)!==0&&(r&hr)===0)){var s=k;(s.effects??=[]).push(n)}}return i}function Yt(r){bl();var e=w.f,t=!k&&(e&vr)!==0&&(e&Me)===0;if(t){var o=X;(o.e??=[]).push(r)}else return Wt(r)}function Wt(r){return cr(Oe|Co,r,!1)}function ml(r){Cr.ensure();const e=cr(hr|Hr,r,!0);return()=>{sr(e)}}function dl(r){Cr.ensure();const e=cr(hr|Hr,r,!0);return(t={})=>new Promise(o=>{t.outro?Xe(e,()=>{sr(e),o(void 0)}):(sr(e),o(void 0))})}function pl(r){return cr(Oe,r,!1)}function xl(r){return cr(Ie|Hr,r,!0)}function Kt(r,e=0){return cr(vt|e,r,!0)}function ir(r,e=[],t=[]){ll(e,t,o=>{cr(vt,()=>r(...o.map(p)),!0)})}function Je(r,e=0){var t=cr(qr|e,r,!0);return t}function Yr(r,e=!0){return cr(vr|Hr,r,!0,e)}function Jt(r){var e=r.teardown;if(e!==null){const t=Or,o=k;to(!0),br(null);try{e.call(null)}finally{to(t),br(o)}}}function Xt(r,e=!1){var t=r.first;for(r.first=r.last=null;t!==null;){const l=t.ac;l!==null&&Ke(()=>{l.abort(De)});var o=t.next;(t.f&hr)!==0?t.parent=null:sr(t,e),t=o}}function vl(r){for(var e=r.first;e!==null;){var t=e.next;(e.f&vr)===0&&sr(e),e=t}}function sr(r,e=!0){var t=!1;(e||(r.f&ut)!==0)&&r.nodes_start!==null&&r.nodes_end!==null&&(cl(r.nodes_start,r.nodes_end),t=!0),Xt(r,e&&!t),_e(r,0),W(r,Rr);var o=r.transitions;if(o!==null)for(const i of o)i.stop();Jt(r);var l=r.parent;l!==null&&l.first!==null&&Zt(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes_start=r.nodes_end=r.ac=null}function cl(r,e){for(;r!==null;){var t=r===e?null:nr(r);r.remove(),r=t}}function Zt(r){var e=r.parent,t=r.prev,o=r.next;t!==null&&(t.next=o),o!==null&&(o.prev=t),e!==null&&(e.first===r&&(e.first=o),e.last===r&&(e.last=t))}function Xe(r,e){var t=[];Ze(r,t,!0),Qt(t,()=>{sr(r),e&&e()})}function Qt(r,e){var t=r.length;if(t>0){var o=()=>--t||e();for(var l of r)l.out(o)}else e()}function Ze(r,e,t){if((r.f&tr)===0){if(r.f^=tr,r.transitions!==null)for(const n of r.transitions)(n.is_global||t)&&e.push(n);for(var o=r.first;o!==null;){var l=o.next,i=(o.f&Ge)!==0||(o.f&vr)!==0;Ze(o,e,i?t:!1),o=l}}}function Qe(r){ro(r,!0)}function ro(r,e){if((r.f&tr)!==0){r.f^=tr,(r.f&L)===0&&(W(r,J),Vr(r));for(var t=r.first;t!==null;){var o=t.next,l=(t.f&Ge)!==0||(t.f&vr)!==0;ro(t,l?e:!1),t=o}if(r.transitions!==null)for(const i of r.transitions)(i.is_global||e)&&i.in()}}let Wr=!1;function eo(r){Wr=r}let Or=!1;function to(r){Or=r}let k=null,ar=!1;function br(r){k=r}let w=null;function $r(r){w=r}let gr=null;function oo(r){k!==null&&(gr===null?gr=[r]:gr.push(r))}let P=null,Y=0,Q=null;function gl(r){Q=r}let lo=1,ie=0,Mr=ie;function io(r){Mr=r}let jr=!1;function no(){return++lo}function ke(r){var e=r.f;if((e&J)!==0)return!0;if((e&wr)!==0){var t=r.deps,o=(e&K)!==0;if(t!==null){var l,i,n=(e&pe)!==0,s=o&&w!==null&&!jr,a=t.length;if((n||s)&&(w===null||(w.f&Rr)===0)){var b=r,m=b.parent;for(l=0;l<a;l++)i=t[l],(n||!i?.reactions?.includes(b))&&(i.reactions??=[]).push(b);n&&(b.f^=pe),s&&m!==null&&(m.f&K)===0&&(b.f^=K)}for(l=0;l<a;l++)if(i=t[l],ke(i)&&St(i),i.wv>r.wv)return!0}(!o||w!==null&&!jr)&&W(r,L)}return!1}function so(r,e,t=!0){var o=r.reactions;if(o!==null&&!gr?.includes(r))for(var l=0;l<o.length;l++){var i=o[l];(i.f&U)!==0?so(i,e,!1):e===i&&(t?W(i,J):(i.f&L)!==0&&W(i,wr),Vr(i))}}function ao(r){var e=P,t=Y,o=Q,l=k,i=jr,n=gr,s=X,a=ar,b=Mr,m=r.f;P=null,Y=0,Q=null,jr=(m&K)!==0&&(ar||!Wr||k===null),k=(m&(vr|hr))===0?r:null,gr=null,ce(r.ctx),ar=!1,Mr=++ie,r.ac!==null&&(Ke(()=>{r.ac.abort(De)}),r.ac=null);try{r.f|=Le;var x=r.fn,v=x(),d=r.deps;if(P!==null){var f;if(_e(r,Y),d!==null&&Y>0)for(d.length=Y+P.length,f=0;f<P.length;f++)d[Y+f]=P[f];else r.deps=d=P;if(!jr||(m&U)!==0&&r.reactions!==null)for(f=Y;f<d.length;f++)(d[f].reactions??=[]).push(r)}else d!==null&&Y<d.length&&(_e(r,Y),d.length=Y);if(jt()&&Q!==null&&!ar&&d!==null&&(r.f&(U|wr|J))===0)for(f=0;f<Q.length;f++)so(Q[f],r);return l!==null&&l!==r&&(ie++,Q!==null&&(o===null?o=Q:o.push(...Q))),(r.f&Tr)!==0&&(r.f^=Tr),v}catch(u){return Ko(u)}finally{r.f^=Le,P=e,Y=t,Q=o,k=l,jr=i,gr=n,ce(s),ar=a,Mr=b}}function ul(r,e){let t=e.reactions;if(t!==null){var o=Eo.call(t,r);if(o!==-1){var l=t.length-1;l===0?t=e.reactions=null:(t[o]=t[l],t.pop())}}t===null&&(e.f&U)!==0&&(P===null||!P.includes(e))&&(W(e,wr),(e.f&(K|pe))===0&&(e.f^=pe),Tt(e),_e(e,0))}function _e(r,e){var t=r.deps;if(t!==null)for(var o=e;o<t.length;o++)ul(r,t[o])}function Kr(r){var e=r.f;if((e&Rr)===0){W(r,L);var t=w,o=Wr;w=r,Wr=!0;try{(e&qr)!==0?vl(r):Xt(r),Jt(r);var l=ao(r);r.teardown=typeof l=="function"?l:null,r.wv=lo;var i;mt&&Yo&&(r.f&J)!==0&&r.deps}finally{Wr=o,w=t}}}async function hl(){await Promise.resolve(),Nr()}function p(r){var e=r.f,t=(e&U)!==0;if(k!==null&&!ar){var o=w!==null&&(w.f&Rr)!==0;if(!o&&!gr?.includes(r)){var l=k.deps;if((k.f&Le)!==0)r.rv<ie&&(r.rv=ie,P===null&&l!==null&&l[Y]===r?Y++:P===null?P=[r]:(!jr||!P.includes(r))&&P.push(r));else{(k.deps??=[]).push(r);var i=r.reactions;i===null?r.reactions=[k]:i.includes(k)||i.push(k)}}}else if(t&&r.deps===null&&r.effects===null){var n=r,s=n.parent;s!==null&&(s.f&K)===0&&(n.f^=K)}if(Or){if(yr.has(r))return yr.get(r);if(t){n=r;var a=n.v;return((n.f&L)===0&&n.reactions!==null||bo(n))&&(a=He(n)),yr.set(n,a),a}}else t&&(n=r,ke(n)&&St(n));if((r.f&Tr)!==0)throw r.v;return r.v}function bo(r){if(r.v===C)return!0;if(r.deps===null)return!1;for(const e of r.deps)if(yr.has(e)||(e.f&U)!==0&&bo(e))return!0;return!1}function fo(r){var e=ar;try{return ar=!0,r()}finally{ar=e}}const wl=-7169;function W(r,e){r.f=r.f&wl|e}const mo=new Set,rt=new Set;function yl(r){for(var e=0;e<r.length;e++)mo.add(r[e]);for(var t of rt)t(r)}let po=null;function $e(r){var e=this,t=e.ownerDocument,o=r.type,l=r.composedPath?.()||[],i=l[0]||r.target;po=r;var n=0,s=po===r&&r.__root;if(s){var a=l.indexOf(s);if(a!==-1&&(e===document||e===window)){r.__root=e;return}var b=l.indexOf(e);if(b===-1)return;a<=b&&(n=a)}if(i=l[n]||r.target,i!==e){Dr(r,"currentTarget",{configurable:!0,get(){return i||t}});var m=k,x=w;br(null),$r(null);try{for(var v,d=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var u=i["__"+o];if(u!=null&&(!i.disabled||r.target===i))if(Ne(u)){var[h,...j]=u;h.apply(i,[r,...j])}else u.call(i,r)}catch(y){v?d.push(y):v=y}if(r.cancelBubble||f===e||f===null)break;i=f}if(v){for(let y of d)queueMicrotask(()=>{throw y});throw v}}finally{r.__root=e,delete r.currentTarget,br(m),$r(x)}}}let rr;function kl(){rr=void 0}function _l(r){let e=null,t=$;var o;if($){for(e=E,rr===void 0&&(rr=_r(document.head));rr!==null&&(rr.nodeType!==Ur||rr.data!==Te);)rr=nr(rr);rr===null?or(!1):rr=V(nr(rr))}$||(o=document.head.appendChild(kr()));try{Je(()=>r(o),ut)}finally{t&&(or(!0),rr=E,V(e))}}function $l(r){var e=document.createElement("template");return e.innerHTML=r.replaceAll("<!>","<!---->"),e.content}function je(r,e){var t=w;t.nodes_start===null&&(t.nodes_start=r,t.nodes_end=e)}function D(r,e){var t=(e&$o)!==0,o=(e&jo)!==0,l,i=!r.startsWith("<!>");return()=>{if($)return je(E,null),E;l===void 0&&(l=$l(i?r:"<!>"+r),t||(l=_r(l)));var n=o||Pt?document.importNode(l,!0):l.cloneNode(!0);if(t){var s=_r(n),a=n.lastChild;je(s,a)}else je(n,n);return n}}function G(r,e){if($){w.nodes_end=E,ve();return}r!==null&&r.before(e)}const jl=["touchstart","touchmove"];function zl(r){return jl.includes(r)}function Jr(r,e){var t=e==null?"":typeof e=="object"?e+"":e;t!==(r.__t??=r.nodeValue)&&(r.__t=t,r.nodeValue=t+"")}function xo(r,e){return vo(r,e)}function El(r,e){We(),e.intro=e.intro??!1;const t=e.target,o=$,l=E;try{for(var i=_r(t);i&&(i.nodeType!==Ur||i.data!==Te);)i=nr(i);if(!i)throw Pr;or(!0),V(i),ve();const n=vo(r,{...e,anchor:i});if(E===null||E.nodeType!==Ur||E.data!==Ce)throw xe(),Pr;return or(!1),n}catch(n){if(n instanceof Error&&n.message.split(`
2
- `).some(s=>s.startsWith("https://svelte.dev/e/")))throw n;return n!==Pr&&console.warn("Failed to hydrate: ",n),e.recover===!1&&Fo(),We(),qt(t),or(!1),xo(r,e)}finally{or(o),V(l),kl()}}const Xr=new Map;function vo(r,{target:e,anchor:t,props:o={},events:l,context:i,intro:n=!0}){We();var s=new Set,a=x=>{for(var v=0;v<x.length;v++){var d=x[v];if(!s.has(d)){s.add(d);var f=zl(d);e.addEventListener(d,$e,{passive:f});var u=Xr.get(d);u===void 0?(document.addEventListener(d,$e,{passive:f}),Xr.set(d,1)):Xr.set(d,u+1)}}};a(Be(mo)),rt.add(a);var b=void 0,m=dl(()=>{var x=t??e.appendChild(kr());return Yr(()=>{if(i){_t({});var v=X;v.c=i}l&&(o.$$events=l),$&&je(x,null),b=r(x,o)||{},$&&(w.nodes_end=E),i&&$t()}),()=>{for(var v of s){e.removeEventListener(v,$e);var d=Xr.get(v);--d===0?(document.removeEventListener(v,$e),Xr.delete(v)):Xr.set(v,d)}rt.delete(a),x!==t&&x.parentNode?.removeChild(x)}});return et.set(b,m),b}let et=new WeakMap;function Al(r,e){const t=et.get(r);return t?(et.delete(r),t(e)):Promise.resolve()}function Rl(r){X===null&&Mo(),Yt(()=>{const e=fo(r);if(typeof e=="function")return e})}function fr(r,e,t=!1){$&&ve();var o=r,l=null,i=null,n=C,s=t?Ge:0,a=!1;const b=(d,f=!0)=>{a=!0,v(f,d)};var m=null;function x(){m!==null&&(m.lastChild.remove(),o.before(m),m=null);var d=n?l:i,f=n?i:l;d&&Qe(d),f&&Xe(f,()=>{n?i=null:l=null})}const v=(d,f)=>{if(n===(n=d))return;let u=!1;if($){const R=wt(o)===Se;!!n===R&&(o=Fe(),V(o),or(!1),u=!0)}var h=Ht(),j=o;if(h&&(m=document.createDocumentFragment(),m.append(j=kr())),n?l??=f&&Yr(()=>f(j)):i??=f&&Yr(()=>f(j)),h){var y=A,F=n?l:i,q=n?i:l;F&&y.skipped_effects.delete(F),q&&y.skipped_effects.add(q),y.add_callback(x)}else x();u&&or(!0)};Je(()=>{a=!1,e(b),a||v(null,null)},s),$&&(o=E)}function Tl(r,e){return e}function Sl(r,e,t){for(var o=r.items,l=[],i=e.length,n=0;n<i;n++)Ze(e[n].e,l,!0);var s=i>0&&l.length===0&&t!==null;if(s){var a=t.parentNode;qt(a),a.append(t),o.clear(),mr(r,e[0].prev,e[i-1].next)}Qt(l,()=>{for(var b=0;b<i;b++){var m=e[b];s||(o.delete(m.k),mr(r,m.prev,m.next)),sr(m.e,!s)}})}function co(r,e,t,o,l,i=null){var n=r,s={flags:e,items:new Map,first:null},a=(e&ft)!==0;if(a){var b=r;n=$?V(_r(b)):b.appendChild(kr())}$&&ve();var m=null,x=!1,v=new Map,d=tl(()=>{var j=t();return Ne(j)?j:j==null?[]:Be(j)}),f,u;function h(){Cl(u,f,s,v,n,l,e,o,t),i!==null&&(f.length===0?m?Qe(m):m=Yr(()=>i(n)):m!==null&&Xe(m,()=>{m=null}))}Je(()=>{u??=w,f=p(d);var j=f.length;if(x&&j===0)return;x=j===0;let y=!1;if($){var F=wt(n)===Se;F!==(j===0)&&(n=Fe(),V(n),or(!1),y=!0)}if($){for(var q=null,R,c=0;c<j;c++){if(E.nodeType===Ur&&E.data===Ce){n=E,y=!0,or(!1);break}var _=f[c],N=o(_,c);R=tt(E,s,q,null,_,N,c,l,e,t),s.items.set(N,R),q=R}j>0&&V(Fe())}if($)j===0&&i&&(m=Yr(()=>i(n)));else if(Ht()){var Gr=new Set,Zr=A;for(c=0;c<j;c+=1){_=f[c],N=o(_,c);var g=s.items.get(N)??v.get(N);g?(e&(fe|me))!==0&&go(g,_,c,e):(R=tt(null,s,null,null,_,N,c,l,e,t,!0),v.set(N,R)),Gr.add(N)}for(const[T,pr]of s.items)Gr.has(T)||Zr.skipped_effects.add(pr.e);Zr.add_callback(h)}else h();y&&or(!0),p(d)}),$&&(n=E)}function Cl(r,e,t,o,l,i,n,s,a){var b=(n&ko)!==0,m=(n&(fe|me))!==0,x=e.length,v=t.items,d=t.first,f=d,u,h=null,j,y=[],F=[],q,R,c,_;if(b)for(_=0;_<x;_+=1)q=e[_],R=s(q,_),c=v.get(R),c!==void 0&&(c.a?.measure(),(j??=new Set).add(c));for(_=0;_<x;_+=1){if(q=e[_],R=s(q,_),c=v.get(R),c===void 0){var N=o.get(R);if(N!==void 0){o.delete(R),v.set(R,N);var Gr=h?h.next:f;mr(t,h,N),mr(t,N,Gr),ot(N,Gr,l),h=N}else{var Zr=f?f.e.nodes_start:l;h=tt(Zr,t,h,h===null?t.first:h.next,q,R,_,i,n,a)}v.set(R,h),y=[],F=[],f=h.next;continue}if(m&&go(c,q,_,n),(c.e.f&tr)!==0&&(Qe(c.e),b&&(c.a?.unfix(),(j??=new Set).delete(c))),c!==f){if(u!==void 0&&u.has(c)){if(y.length<F.length){var g=F[0],T;h=g.prev;var pr=y[0],ur=y[y.length-1];for(T=0;T<y.length;T+=1)ot(y[T],g,l);for(T=0;T<F.length;T+=1)u.delete(F[T]);mr(t,pr.prev,ur.next),mr(t,h,pr),mr(t,ur,g),f=g,h=ur,_-=1,y=[],F=[]}else u.delete(c),ot(c,f,l),mr(t,c.prev,c.next),mr(t,c,h===null?t.first:h.next),mr(t,h,c),h=c;continue}for(y=[],F=[];f!==null&&f.k!==R;)(f.e.f&tr)===0&&(u??=new Set).add(f),F.push(f),f=f.next;if(f===null)continue;c=f}y.push(c),h=c,f=c.next}if(f!==null||u!==void 0){for(var z=u===void 0?[]:Be(u);f!==null;)(f.e.f&tr)===0&&z.push(f),f=f.next;var Lr=z.length;if(Lr>0){var Re=(n&ft)!==0&&x===0?l:null;if(b){for(_=0;_<Lr;_+=1)z[_].a?.measure();for(_=0;_<Lr;_+=1)z[_].a?.fix()}Sl(t,z,Re)}}b&&Xo(()=>{if(j!==void 0)for(c of j)c.a?.apply()}),r.first=t.first&&t.first.e,r.last=h&&h.e;for(var nt of o.values())sr(nt.e);o.clear()}function go(r,e,t,o){(o&fe)!==0&&oe(r.v,e),(o&me)!==0?oe(r.i,t):r.i=t}function tt(r,e,t,o,l,i,n,s,a,b,m){var x=(a&fe)!==0,v=(a&_o)===0,d=x?v?Gt(l,!1,!1):te(l):l,f=(a&me)===0?n:te(n),u={i:f,v:d,k:i,a:null,e:null,prev:t,next:o};try{if(r===null){var h=document.createDocumentFragment();h.append(r=kr())}return u.e=Yr(()=>s(r,d,f,b),$),u.e.prev=t&&t.e,u.e.next=o&&o.e,t===null?m||(e.first=u):(t.next=u,t.e.next=u.e),o!==null&&(o.prev=u,o.e.prev=u.e),u}finally{}}function ot(r,e,t){for(var o=r.next?r.next.e.nodes_start:t,l=e?e.e.nodes_start:t,i=r.e.nodes_start;i!==null&&i!==o;){var n=nr(i);l.before(i),i=n}}function mr(r,e,t){e===null?r.first=t:(e.next=t,e.e.next=t&&t.e),t!==null&&(t.prev=e,t.e.prev=e&&e.e)}function Nl(r,e){pl(()=>{var t=r.getRootNode(),o=t.host?t:t.head??t.ownerDocument.head;if(!o.querySelector("#"+e.hash)){const l=document.createElement("style");l.id=e.hash,l.textContent=e.code,o.appendChild(l)}})}function uo(r){var e,t,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var l=r.length;for(e=0;e<l;e++)r[e]&&(t=uo(r[e]))&&(o&&(o+=" "),o+=t)}else for(t in r)r[t]&&(o&&(o+=" "),o+=t);return o}function Bl(){for(var r,e,t=0,o="",l=arguments.length;t<l;t++)(r=arguments[t])&&(e=uo(r))&&(o&&(o+=" "),o+=e);return o}function ze(r){return typeof r=="object"?Bl(r):r??""}function Ol(r,e,t){var o=r==null?"":""+r;return o=o?o+" "+e:e,o===""?null:o}function Ml(r,e){return r==null?null:String(r)}function dr(r,e,t,o,l,i){var n=r.__className;if($||n!==t||n===void 0){var s=Ol(t,o);(!$||s!==r.getAttribute("class"))&&(s==null?r.removeAttribute("class"):r.className=s),r.__className=t}return i}function Gl(r,e,t,o){var l=r.__style;if($||l!==e){var i=Ml(e);(!$||i!==r.getAttribute("style"))&&(i==null?r.removeAttribute("style"):r.style.cssText=i),r.__style=e}return o}const Ll=Symbol("is custom element"),Il=Symbol("is html");function Pl(r){if($){var e=!1,t=()=>{if(!e){if(e=!0,r.hasAttribute("value")){var o=r.value;Ee(r,"value",null),r.value=o}if(r.hasAttribute("checked")){var l=r.checked;Ee(r,"checked",null),r.checked=l}}};r.__on_r=t,Zo(t),Vt()}}function Ee(r,e,t,o){var l=Dl(r);$&&(l[e]=r.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&r.nodeName==="LINK")||l[e]!==(l[e]=t)&&(e==="loading"&&(r[Bo]=t),t==null?r.removeAttribute(e):typeof t!="string"&&Fl(r).includes(e)?r[e]=t:r.setAttribute(e,t))}function Dl(r){return r.__attributes??={[Ll]:r.nodeName.includes("-"),[Il]:r.namespaceURI===zo}}var ho=new Map;function Fl(r){var e=r.getAttribute("is")||r.nodeName,t=ho.get(e);if(t)return t;ho.set(e,t=[]);for(var o,l=r,i=Element.prototype;i!==l;){o=Ao(l);for(var n in o)o[n].set&&t.push(n);l=dt(l)}return t}function ql(r,e,t=e){var o=new WeakSet;al(r,"input",async l=>{var i=l?r.defaultValue:r.value;if(i=lt(r)?it(i):i,t(i),A!==null&&o.add(A),await hl(),i!==(i=e())){var n=r.selectionStart,s=r.selectionEnd;r.value=i??"",s!==null&&(r.selectionStart=n,r.selectionEnd=Math.min(s,r.value.length))}}),($&&r.defaultValue!==r.value||fo(e)==null&&r.value)&&(t(lt(r)?it(r.value):r.value),A!==null&&o.add(A)),Kt(()=>{var l=e();if(r===document.activeElement){var i=ue??A;if(o.has(i))return}lt(r)&&l===it(r.value)||r.type==="date"&&!l&&!r.value||l!==r.value&&(r.value=l??"")})}function lt(r){var e=r.type;return e==="number"||e==="range"}function it(r){return r===""?null:+r}function ne(r,e,t,o){var l=o,i=!0,n=()=>(i&&(i=!1,l=o),l),s;s=r[e],s===void 0&&o!==void 0&&(s=n());var a;a=()=>{var v=r[e];return v===void 0?n():(i=!0,v)};var b=!1,m=ge(()=>(b=!1,a())),x=w;return(function(v,d){if(arguments.length>0){const f=d?p(m):v;return M(m,f),b=!0,l!==void 0&&(l=f),v}return Or&&b||(x.f&Rr)!==0?m.v:p(m)})}function Hl(r){return new Ul(r)}class Ul{#e;#r;constructor(e){var t=new Map,o=(i,n)=>{var s=Gt(n,!1,!1);return t.set(i,s),s};const l=new Proxy({...e.props||{},$$events:{}},{get(i,n){return p(t.get(n)??o(n,Reflect.get(i,n)))},has(i,n){return n===No?!0:(p(t.get(n)??o(n,Reflect.get(i,n))),Reflect.has(i,n))},set(i,n,s){return M(t.get(n)??o(n,s),s),Reflect.set(i,n,s)}});this.#r=(e.hydrate?El:xo)(e.component,{target:e.target,anchor:e.anchor,props:l,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Nr(),this.#e=l.$$events;for(const i of Object.keys(this.#r))i==="$set"||i==="$destroy"||i==="$on"||Dr(this,i,{get(){return this.#r[i]},set(n){this.#r[i]=n},enumerable:!0});this.#r.$set=i=>{Object.assign(l,i)},this.#r.$destroy=()=>{Al(this.#r)}}$set(e){this.#r.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];const o=(...l)=>t.call(this,...l);return this.#e[e].push(o),()=>{this.#e[e]=this.#e[e].filter(l=>l!==o)}}$destroy(){this.#r.$destroy()}}let wo;typeof HTMLElement=="function"&&(wo=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(r,e,t){super(),this.$$ctor=r,this.$$s=e,t&&this.attachShadow({mode:"open"})}addEventListener(r,e,t){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(e),this.$$c){const o=this.$$c.$on(r,e);this.$$l_u.set(e,o)}super.addEventListener(r,e,t)}removeEventListener(r,e,t){if(super.removeEventListener(r,e,t),this.$$c){const o=this.$$l_u.get(e);o&&(o(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(o){return l=>{const i=document.createElement("slot");o!=="default"&&(i.name=o),G(l,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},t=Vl(this);for(const o of this.$$s)o in t&&(o==="default"&&!this.$$d.children?(this.$$d.children=r(o),e.default=!0):e[o]=r(o));for(const o of this.attributes){const l=this.$$g_p(o.name);l in this.$$d||(this.$$d[l]=Ae(l,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=Hl({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ml(()=>{Kt(()=>{this.$$r=!0;for(const o of de(this.$$c)){if(!this.$$p_d[o]?.reflect)continue;this.$$d[o]=this.$$c[o];const l=Ae(o,this.$$d[o],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,l)}this.$$r=!1})});for(const o in this.$$l)for(const l of this.$$l[o]){const i=this.$$c.$on(o,l);this.$$l_u.set(l,i)}this.$$l={}}}attributeChangedCallback(r,e,t){this.$$r||(r=this.$$g_p(r),this.$$d[r]=Ae(r,t,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(r){return de(this.$$p_d).find(e=>this.$$p_d[e].attribute===r||!this.$$p_d[e].attribute&&e.toLowerCase()===r)||r}});function Ae(r,e,t,o){const l=t[r]?.type;if(e=l==="Boolean"&&typeof e!="boolean"?e!=null:e,!o||!t[r])return e;if(o==="toAttribute")switch(l){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(l){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Vl(r){const e={};return r.childNodes.forEach(t=>{e[t.slot||"default"]=!0}),e}function Yl(r,e,t,o,l,i){let n=class extends wo{constructor(){super(r,t,l),this.$$p_d=e}static get observedAttributes(){return de(e).map(s=>(e[s].attribute||s).toLowerCase())}};return de(e).forEach(s=>{Dr(n.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(a){a=Ae(s,a,e),this.$$d[s]=a;var b=this.$$c;if(b){var m=Fr(b,s)?.get;m?b[s]=a:b.$set({[s]:a})}}})}),o.forEach(s=>{Dr(n.prototype,s,{get(){return this.$$c?.[s]}})}),r.element=n,n}function Wl(r,e,t,o,l,i){M(e,!0),r.key!=="Enter"&&(console.log("debouncing",p(t)),p(o)&&clearTimeout(p(o)),M(o,setTimeout(()=>{p(t)&&p(t).length>Number(l())&&i("input")},500),!0))}function Kl(r,e){r&&r.preventDefault?.(),console.log("clicked searching"),e("button")}var Jl=D('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1rxrfb7"/>'),Xl=(r,e)=>{e("button")},Zl=(r,e,t,o)=>{M(e,p(t).text,!0),o("searchlist",p(t).id)},Ql=D("<i></i>"),ri=D("<i></i>"),ei=D("<span><!> </span>"),ti=D('<a class="dropdown-item d-flex align-items-center gap-2 text-decoration-none svelte-1rxrfb7"><!> <span class="flex-grow-1 svelte-1rxrfb7"> </span> <!></a>'),oi=(r,e,t,o)=>{M(e,p(t).text,!0),o("searchlist",p(t).id)},li=D("<i></i>"),ii=D("<i></i>"),ni=D("<span><!> </span>"),si=D('<button class="dropdown-item d-flex align-items-center gap-2 svelte-1rxrfb7"><!> <span class="flex-grow-1 svelte-1rxrfb7"> </span> <!></button>'),ai=D("<i></i>"),bi=D("<span><!> </span>"),fi=D('<div class="px-3 pb-2 svelte-1rxrfb7"><div class="d-flex flex-wrap gap-1 svelte-1rxrfb7"></div></div>'),mi=D('<li class="svelte-1rxrfb7"><!> <!></li>'),di=D('<li class="svelte-1rxrfb7"><h6 class="dropdown-header svelte-1rxrfb7">Suggested results</h6></li> <!>',1),pi=D('<div><div class="position-relative svelte-1rxrfb7"><input id="custom-search-input" class="form-control svelte-1rxrfb7" type="search" aria-label="Search"/> <button class="btn bg-transparent px-2 py-0 position-absolute top-50 start-5 translate-middle-y svelte-1rxrfb7" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search svelte-1rxrfb7" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" class="svelte-1rxrfb7"></path></svg></button></div> <div class="dropdown svelte-1rxrfb7" style="position: absolute; width:100%"><ul id="custom-search-list"><li class="svelte-1rxrfb7"><button class="dropdown-item svelte-1rxrfb7"> </button></li> <!></ul></div></div>');const xi={hash:"svelte-1rxrfb7",code:`@charset "UTF-8";
1
+ (function(at){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const me=1,de=2,bt=4,ko=8,_o=16,$o=1,zo=2,Te="[",Se="[!",Ce="]",Ir={},C=Symbol(),jo="http://www.w3.org/1999/xhtml",ft=!1;var Ne=Array.isArray,Eo=Array.prototype.indexOf,Be=Array.from,pe=Object.keys,Pr=Object.defineProperty,Dr=Object.getOwnPropertyDescriptor,Ao=Object.getOwnPropertyDescriptors,Ro=Object.prototype,To=Array.prototype,mt=Object.getPrototypeOf,dt=Object.isExtensible;function pt(r){for(var e=0;e<r.length;e++)r[e]()}function So(){var r,e,t=new Promise((o,l)=>{r=o,e=l});return{promise:t,resolve:r,reject:e}}const V=2,Oe=4,vt=8,Fr=16,xr=32,hr=64,xt=128,X=256,ve=512,P=1024,Z=2048,wr=4096,or=8192,Rr=16384,Me=32768,Ge=65536,ct=1<<17,gt=1<<18,qr=1<<19,Co=1<<20,Le=1<<21,Ie=1<<22,Tr=1<<23,Pe=Symbol("$state"),No=Symbol("legacy props"),Bo=Symbol(""),De=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ut=3,Hr=8;function Oo(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Mo(r){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Go(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Lo(r){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Io(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Po(r){throw new Error("https://svelte.dev/e/effect_orphan")}function Do(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Fo(){throw new Error("https://svelte.dev/e/hydration_failed")}function qo(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ho(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Uo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function xe(r){console.warn("https://svelte.dev/e/hydration_mismatch")}let $=!1;function lr(r){$=r}let E;function Y(r){if(r===null)throw xe(),Ir;return E=r}function ce(){return Y(ar(E))}function M(r){if($){if(ar(E)!==null)throw xe(),Ir;E=r}}function Fe(){for(var r=0,e=E;;){if(e.nodeType===Hr){var t=e.data;if(t===Ce){if(r===0)return e;r-=1}else(t===Te||t===Se)&&(r+=1)}var o=ar(e);e.remove(),e=o}}function ht(r){if(!r||r.nodeType!==Hr)throw xe(),Ir;return r.data}function wt(r){return r===this.v}function Vo(r,e){return r!=r?e==e:r!==e||r!==null&&typeof r=="object"||typeof r=="function"}function yt(r){return!Vo(r,this.v)}let Yo=!1,Q=null;function ge(r){Q=r}function kt(r,e=!1,t){Q={p:Q,c:null,e:null,s:r,x:null,l:null}}function _t(r){var e=Q,t=e.e;if(t!==null){e.e=null;for(var o of t)Wt(o)}return r!==void 0&&(e.x=r),Q=e.p,r??{}}function $t(){return!0}const Wo=new WeakMap;function Ko(r){var e=w;if(e===null)return k.f|=Tr,r;if((e.f&Me)===0){if((e.f&xt)===0)throw!e.parent&&r instanceof Error&&zt(r),r;e.b.error(r)}else qe(r,e)}function qe(r,e){for(;e!==null;){if((e.f&xt)!==0)try{e.b.error(r);return}catch(t){r=t}e=e.parent}throw r instanceof Error&&zt(r),r}function zt(r){const e=Wo.get(r);e&&(Pr(r,"message",{value:e.message}),Pr(r,"stack",{value:e.stack}))}const Jo=typeof requestIdleCallback>"u"?r=>setTimeout(r,1):requestIdleCallback;let Qr=[],re=[];function jt(){var r=Qr;Qr=[],pt(r)}function Et(){var r=re;re=[],pt(r)}function Xo(r){Qr.length===0&&queueMicrotask(jt),Qr.push(r)}function Zo(r){re.length===0&&Jo(Et),re.push(r)}function Qo(){Qr.length>0&&jt(),re.length>0&&Et()}function rl(){const r=w.b;return r===null&&Oo(),r}function ue(r){var e=V|Z,t=k!==null&&(k.f&V)!==0?k:null;return w===null||t!==null&&(t.f&X)!==0?e|=X:w.f|=qr,{ctx:Q,deps:null,effects:null,equals:wt,f:e,fn:r,reactions:null,rv:0,v:C,wv:0,parent:t??w,ac:null}}function el(r,e){let t=w;t===null&&Go();var o=t.b,l=void 0,i=ee(C),n=null,s=!k;return pl(()=>{try{var a=r();n&&Promise.resolve(a).catch(()=>{})}catch(p){a=Promise.reject(p)}var b=()=>a;l=n?.then(b,b)??Promise.resolve(a),n=l;var m=A,v=o.is_pending();s&&(o.update_pending_count(1),v||m.increment());const x=(p,f=void 0)=>{n=null,v||m.activate(),f?f!==De&&(i.f|=Tr,te(i,f)):((i.f&Tr)!==0&&(i.f^=Tr),te(i,p)),s&&(o.update_pending_count(-1),v||m.decrement()),St()};if(l.then(x,p=>x(null,p||"unknown")),m)return()=>{queueMicrotask(()=>m.neuter())}}),new Promise(a=>{function b(m){function v(){m===l?a(i):b(l)}m.then(v,v)}b(l)})}function At(r){const e=ue(r);return oo(e),e}function tl(r){const e=ue(r);return e.equals=yt,e}function Rt(r){var e=r.effects;if(e!==null){r.effects=null;for(var t=0;t<e.length;t+=1)br(e[t])}}function ol(r){for(var e=r.parent;e!==null;){if((e.f&V)===0)return e;e=e.parent}return null}function He(r){var e,t=w;$r(ol(r));try{Rt(r),e=ao(r)}finally{$r(t)}return e}function Tt(r){var e=He(r);if(r.equals(e)||(r.v=e,r.wv=no()),!Or){var t=(zr||(r.f&X)!==0)&&r.deps!==null?wr:P;J(r,t)}}function ll(r,e,t){const o=ue;if(e.length===0){t(r.map(o));return}var l=A,i=w,n=il(),s=rl();Promise.all(e.map(a=>el(a))).then(a=>{l?.activate(),n();try{t([...r.map(o),...a])}catch(b){(i.f&Rr)===0&&qe(b,i)}l?.deactivate(),St()}).catch(a=>{s.error(a)})}function il(){var r=w,e=k,t=Q,o=A;return function(){$r(r),mr(e),ge(t),o?.activate()}}function St(){$r(null),mr(null),ge(null)}const Ue=new Set;let A=null,he=null,Ct=new Set,we=[];function Nt(){const r=we.shift();we.length>0&&queueMicrotask(Nt),r()}let Sr=[],ye=null,Ve=!1,ke=!1;class Cr{current=new Map;#e=new Map;#r=new Set;#t=0;#b=null;#f=!1;#l=[];#n=[];#i=[];#o=[];#s=[];#m=[];#d=[];skipped_effects=new Set;process(e){Sr=[],he=null;for(const l of e)this.#v(l);if(this.#l.length===0&&this.#t===0){this.#p();var t=this.#i,o=this.#o;this.#i=[],this.#o=[],this.#s=[],he=A,A=null,Ot(t),Ot(o),A===null?A=this:Ue.delete(this),this.#b?.resolve()}else this.#a(this.#i),this.#a(this.#o),this.#a(this.#s);for(const l of this.#l)Wr(l);for(const l of this.#n)Wr(l);this.#l=[],this.#n=[]}#v(e){e.f^=P;for(var t=e.first;t!==null;){var o=t.f,l=(o&(xr|hr))!==0,i=l&&(o&P)!==0,n=i||(o&or)!==0||this.skipped_effects.has(t);if(!n&&t.fn!==null){if(l)t.f^=P;else if((o&Oe)!==0)this.#o.push(t);else if((o&P)===0)if((o&Ie)!==0){var s=t.b?.is_pending()?this.#n:this.#l;s.push(t)}else _e(t)&&((t.f&Fr)!==0&&this.#s.push(t),Wr(t));var a=t.first;if(a!==null){t=a;continue}}var b=t.parent;for(t=t.next;t===null&&b!==null;)t=b.next,b=b.parent}}#a(e){for(const t of e)((t.f&Z)!==0?this.#m:this.#d).push(t),J(t,P);e.length=0}capture(e,t){this.#e.has(e)||this.#e.set(e,t),this.current.set(e,e.v)}activate(){A=this}deactivate(){A=null,he=null;for(const e of Ct)if(Ct.delete(e),e(),A!==null)break}neuter(){this.#f=!0}flush(){Sr.length>0?Bt():this.#p(),A===this&&(this.#t===0&&Ue.delete(this),this.deactivate())}#p(){if(!this.#f)for(const e of this.#r)e();this.#r.clear()}increment(){this.#t+=1}decrement(){if(this.#t-=1,this.#t===0){for(const e of this.#m)J(e,Z),Ur(e);for(const e of this.#d)J(e,wr),Ur(e);this.#i=[],this.#o=[],this.flush()}else this.deactivate()}add_callback(e){this.#r.add(e)}settled(){return(this.#b??=So()).promise}static ensure(){if(A===null){const e=A=new Cr;Ue.add(A),ke||Cr.enqueue(()=>{A===e&&e.flush()})}return A}static enqueue(e){we.length===0&&queueMicrotask(Nt),we.unshift(e)}}function Nr(r){var e=ke;ke=!0;try{for(var t;;){if(Qo(),Sr.length===0&&(A?.flush(),Sr.length===0))return ye=null,t;Bt()}}finally{ke=e}}function Bt(){var r=Yr;Ve=!0;try{var e=0;for(eo(!0);Sr.length>0;){var t=Cr.ensure();if(e++>1e3){var o,l;nl()}t.process(Sr),yr.clear()}}finally{Ve=!1,eo(r),ye=null}}function nl(){try{Do()}catch(r){qe(r,ye)}}let Br=null;function Ot(r){var e=r.length;if(e!==0){for(var t=0;t<e;){var o=r[t++];if((o.f&(Rr|or))===0&&_e(o)&&(Br=[],Wr(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null&&o.ac===null?Zt(o):o.fn=null),Br?.length>0)){yr.clear();for(const l of Br)Wr(l);Br=[]}}Br=null}}function Ur(r){for(var e=ye=r;e.parent!==null;){e=e.parent;var t=e.f;if(Ve&&e===w&&(t&Fr)!==0)return;if((t&(hr|xr))!==0){if((t&P)===0)return;e.f^=P}}Sr.push(e)}const yr=new Map;function ee(r,e){var t={f:0,v:r,reactions:null,equals:wt,rv:0,wv:0};return t}function ir(r,e){const t=ee(r);return oo(t),t}function Mt(r,e=!1,t=!0){const o=ee(r);return e||(o.equals=yt),o}function G(r,e,t=!1){k!==null&&(!fr||(k.f&ct)!==0)&&$t()&&(k.f&(V|Fr|Ie|ct))!==0&&!gr?.includes(r)&&Uo();let o=t?oe(e):e;return te(r,o)}function te(r,e){if(!r.equals(e)){var t=r.v;Or?yr.set(r,e):yr.set(r,t),r.v=e;var o=Cr.ensure();o.capture(r,t),(r.f&V)!==0&&((r.f&Z)!==0&&He(r),J(r,(r.f&X)===0?P:wr)),r.wv=no(),Gt(r,Z),w!==null&&(w.f&P)!==0&&(w.f&(xr|hr))===0&&(rr===null?cl([r]):rr.push(r))}return e}function Ye(r){G(r,r.v+1)}function Gt(r,e){var t=r.reactions;if(t!==null)for(var o=t.length,l=0;l<o;l++){var i=t[l],n=i.f,s=(n&Z)===0;s&&J(i,e),(n&V)!==0?Gt(i,wr):s&&((n&Fr)!==0&&Br!==null&&Br.push(i),Ur(i))}}function oe(r){if(typeof r!="object"||r===null||Pe in r)return r;const e=mt(r);if(e!==Ro&&e!==To)return r;var t=new Map,o=Ne(r),l=ir(0),i=Mr,n=s=>{if(Mr===i)return s();var a=k,b=Mr;mr(null),io(i);var m=s();return mr(a),io(b),m};return o&&t.set("length",ir(r.length)),new Proxy(r,{defineProperty(s,a,b){(!("value"in b)||b.configurable===!1||b.enumerable===!1||b.writable===!1)&&qo();var m=t.get(a);return m===void 0?m=n(()=>{var v=ir(b.value);return t.set(a,v),v}):G(m,b.value,!0),!0},deleteProperty(s,a){var b=t.get(a);if(b===void 0){if(a in s){const m=n(()=>ir(C));t.set(a,m),Ye(l)}}else G(b,C),Ye(l);return!0},get(s,a,b){if(a===Pe)return r;var m=t.get(a),v=a in s;if(m===void 0&&(!v||Dr(s,a)?.writable)&&(m=n(()=>{var p=oe(v?s[a]:C),f=ir(p);return f}),t.set(a,m)),m!==void 0){var x=d(m);return x===C?void 0:x}return Reflect.get(s,a,b)},getOwnPropertyDescriptor(s,a){var b=Reflect.getOwnPropertyDescriptor(s,a);if(b&&"value"in b){var m=t.get(a);m&&(b.value=d(m))}else if(b===void 0){var v=t.get(a),x=v?.v;if(v!==void 0&&x!==C)return{enumerable:!0,configurable:!0,value:x,writable:!0}}return b},has(s,a){if(a===Pe)return!0;var b=t.get(a),m=b!==void 0&&b.v!==C||Reflect.has(s,a);if(b!==void 0||w!==null&&(!m||Dr(s,a)?.writable)){b===void 0&&(b=n(()=>{var x=m?oe(s[a]):C,p=ir(x);return p}),t.set(a,b));var v=d(b);if(v===C)return!1}return m},set(s,a,b,m){var v=t.get(a),x=a in s;if(o&&a==="length")for(var p=b;p<v.v;p+=1){var f=t.get(p+"");f!==void 0?G(f,C):p in s&&(f=n(()=>ir(C)),t.set(p+"",f))}if(v===void 0)(!x||Dr(s,a)?.writable)&&(v=n(()=>ir(void 0)),G(v,oe(b)),t.set(a,v));else{x=v.v!==C;var u=n(()=>oe(b));G(v,u)}var h=Reflect.getOwnPropertyDescriptor(s,a);if(h?.set&&h.set.call(m,b),!x){if(o&&typeof a=="string"){var j=t.get("length"),y=Number(a);Number.isInteger(y)&&y>=j.v&&G(j,y+1)}Ye(l)}return!0},ownKeys(s){d(l);var a=Reflect.ownKeys(s).filter(v=>{var x=t.get(v);return x===void 0||x.v!==C});for(var[b,m]of t)m.v!==C&&!(b in s)&&a.push(b);return a},setPrototypeOf(){Ho()}})}var Lt,It,Pt,Dt;function We(){if(Lt===void 0){Lt=window,It=/Firefox/.test(navigator.userAgent);var r=Element.prototype,e=Node.prototype,t=Text.prototype;Pt=Dr(e,"firstChild").get,Dt=Dr(e,"nextSibling").get,dt(r)&&(r.__click=void 0,r.__className=void 0,r.__attributes=null,r.__style=void 0,r.__e=void 0),dt(t)&&(t.__t=void 0)}}function kr(r=""){return document.createTextNode(r)}function _r(r){return Pt.call(r)}function ar(r){return Dt.call(r)}function D(r,e){if(!$)return _r(r);var t=_r(E);if(t===null)t=E.appendChild(kr());else if(e&&t.nodeType!==ut){var o=kr();return t?.before(o),Y(o),o}return Y(t),t}function Ft(r,e){if(!$){var t=_r(r);return t instanceof Comment&&t.data===""?ar(t):t}return E}function W(r,e=1,t=!1){let o=$?E:r;for(var l;e--;)l=o,o=ar(o);if(!$)return o;if(t&&o?.nodeType!==ut){var i=kr();return o===null?l?.after(i):o.before(i),Y(i),i}return Y(o),o}function qt(r){r.textContent=""}function Ht(){return!1}let Ut=!1;function Vt(){Ut||(Ut=!0,document.addEventListener("reset",r=>{Promise.resolve().then(()=>{if(!r.defaultPrevented)for(const e of r.target.elements)e.__on_r?.()})},{capture:!0}))}function Ke(r){var e=k,t=w;mr(null),$r(null);try{return r()}finally{mr(e),$r(t)}}function sl(r,e,t,o=t){r.addEventListener(e,()=>Ke(t));const l=r.__on_r;l?r.__on_r=()=>{l(),o(!0)}:r.__on_r=()=>o(!0),Vt()}function al(r){w===null&&k===null&&Po(),k!==null&&(k.f&X)!==0&&w===null&&Io(),Or&&Lo()}function bl(r,e){var t=e.last;t===null?e.last=e.first=r:(t.next=r,r.prev=t,e.last=r)}function cr(r,e,t,o=!0){var l=w;l!==null&&(l.f&or)!==0&&(r|=or);var i={ctx:Q,deps:null,nodes_start:null,nodes_end:null,f:r|Z,first:null,fn:e,last:null,next:null,parent:l,b:l&&l.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(t)try{Wr(i),i.f|=Me}catch(a){throw br(i),a}else e!==null&&Ur(i);if(o){var n=i;if(t&&n.deps===null&&n.teardown===null&&n.nodes_start===null&&n.first===n.last&&(n.f&qr)===0&&(n=n.first),n!==null&&(n.parent=l,l!==null&&bl(n,l),k!==null&&(k.f&V)!==0&&(r&hr)===0)){var s=k;(s.effects??=[]).push(n)}}return i}function Yt(r){al();var e=w.f,t=!k&&(e&xr)!==0&&(e&Me)===0;if(t){var o=Q;(o.e??=[]).push(r)}else return Wt(r)}function Wt(r){return cr(Oe|Co,r,!1)}function fl(r){Cr.ensure();const e=cr(hr|qr,r,!0);return()=>{br(e)}}function ml(r){Cr.ensure();const e=cr(hr|qr,r,!0);return(t={})=>new Promise(o=>{t.outro?Xe(e,()=>{br(e),o(void 0)}):(br(e),o(void 0))})}function dl(r){return cr(Oe,r,!1)}function pl(r){return cr(Ie|qr,r,!0)}function Kt(r,e=0){return cr(vt|e,r,!0)}function nr(r,e=[],t=[]){ll(e,t,o=>{cr(vt,()=>r(...o.map(d)),!0)})}function Je(r,e=0){var t=cr(Fr|e,r,!0);return t}function Vr(r,e=!0){return cr(xr|qr,r,!0,e)}function Jt(r){var e=r.teardown;if(e!==null){const t=Or,o=k;to(!0),mr(null);try{e.call(null)}finally{to(t),mr(o)}}}function Xt(r,e=!1){var t=r.first;for(r.first=r.last=null;t!==null;){const l=t.ac;l!==null&&Ke(()=>{l.abort(De)});var o=t.next;(t.f&hr)!==0?t.parent=null:br(t,e),t=o}}function vl(r){for(var e=r.first;e!==null;){var t=e.next;(e.f&xr)===0&&br(e),e=t}}function br(r,e=!0){var t=!1;(e||(r.f&gt)!==0)&&r.nodes_start!==null&&r.nodes_end!==null&&(xl(r.nodes_start,r.nodes_end),t=!0),Xt(r,e&&!t),$e(r,0),J(r,Rr);var o=r.transitions;if(o!==null)for(const i of o)i.stop();Jt(r);var l=r.parent;l!==null&&l.first!==null&&Zt(r),r.next=r.prev=r.teardown=r.ctx=r.deps=r.fn=r.nodes_start=r.nodes_end=r.ac=null}function xl(r,e){for(;r!==null;){var t=r===e?null:ar(r);r.remove(),r=t}}function Zt(r){var e=r.parent,t=r.prev,o=r.next;t!==null&&(t.next=o),o!==null&&(o.prev=t),e!==null&&(e.first===r&&(e.first=o),e.last===r&&(e.last=t))}function Xe(r,e){var t=[];Ze(r,t,!0),Qt(t,()=>{br(r),e&&e()})}function Qt(r,e){var t=r.length;if(t>0){var o=()=>--t||e();for(var l of r)l.out(o)}else e()}function Ze(r,e,t){if((r.f&or)===0){if(r.f^=or,r.transitions!==null)for(const n of r.transitions)(n.is_global||t)&&e.push(n);for(var o=r.first;o!==null;){var l=o.next,i=(o.f&Ge)!==0||(o.f&xr)!==0;Ze(o,e,i?t:!1),o=l}}}function Qe(r){ro(r,!0)}function ro(r,e){if((r.f&or)!==0){r.f^=or,(r.f&P)===0&&(J(r,Z),Ur(r));for(var t=r.first;t!==null;){var o=t.next,l=(t.f&Ge)!==0||(t.f&xr)!==0;ro(t,l?e:!1),t=o}if(r.transitions!==null)for(const i of r.transitions)(i.is_global||e)&&i.in()}}let Yr=!1;function eo(r){Yr=r}let Or=!1;function to(r){Or=r}let k=null,fr=!1;function mr(r){k=r}let w=null;function $r(r){w=r}let gr=null;function oo(r){k!==null&&(gr===null?gr=[r]:gr.push(r))}let F=null,K=0,rr=null;function cl(r){rr=r}let lo=1,le=0,Mr=le;function io(r){Mr=r}let zr=!1;function no(){return++lo}function _e(r){var e=r.f;if((e&Z)!==0)return!0;if((e&wr)!==0){var t=r.deps,o=(e&X)!==0;if(t!==null){var l,i,n=(e&ve)!==0,s=o&&w!==null&&!zr,a=t.length;if((n||s)&&(w===null||(w.f&Rr)===0)){var b=r,m=b.parent;for(l=0;l<a;l++)i=t[l],(n||!i?.reactions?.includes(b))&&(i.reactions??=[]).push(b);n&&(b.f^=ve),s&&m!==null&&(m.f&X)===0&&(b.f^=X)}for(l=0;l<a;l++)if(i=t[l],_e(i)&&Tt(i),i.wv>r.wv)return!0}(!o||w!==null&&!zr)&&J(r,P)}return!1}function so(r,e,t=!0){var o=r.reactions;if(o!==null&&!gr?.includes(r))for(var l=0;l<o.length;l++){var i=o[l];(i.f&V)!==0?so(i,e,!1):e===i&&(t?J(i,Z):(i.f&P)!==0&&J(i,wr),Ur(i))}}function ao(r){var e=F,t=K,o=rr,l=k,i=zr,n=gr,s=Q,a=fr,b=Mr,m=r.f;F=null,K=0,rr=null,zr=(m&X)!==0&&(fr||!Yr||k===null),k=(m&(xr|hr))===0?r:null,gr=null,ge(r.ctx),fr=!1,Mr=++le,r.ac!==null&&(Ke(()=>{r.ac.abort(De)}),r.ac=null);try{r.f|=Le;var v=r.fn,x=v(),p=r.deps;if(F!==null){var f;if($e(r,K),p!==null&&K>0)for(p.length=K+F.length,f=0;f<F.length;f++)p[K+f]=F[f];else r.deps=p=F;if(!zr||(m&V)!==0&&r.reactions!==null)for(f=K;f<p.length;f++)(p[f].reactions??=[]).push(r)}else p!==null&&K<p.length&&($e(r,K),p.length=K);if($t()&&rr!==null&&!fr&&p!==null&&(r.f&(V|wr|Z))===0)for(f=0;f<rr.length;f++)so(rr[f],r);return l!==null&&l!==r&&(le++,rr!==null&&(o===null?o=rr:o.push(...rr))),(r.f&Tr)!==0&&(r.f^=Tr),x}catch(u){return Ko(u)}finally{r.f^=Le,F=e,K=t,rr=o,k=l,zr=i,gr=n,ge(s),fr=a,Mr=b}}function gl(r,e){let t=e.reactions;if(t!==null){var o=Eo.call(t,r);if(o!==-1){var l=t.length-1;l===0?t=e.reactions=null:(t[o]=t[l],t.pop())}}t===null&&(e.f&V)!==0&&(F===null||!F.includes(e))&&(J(e,wr),(e.f&(X|ve))===0&&(e.f^=ve),Rt(e),$e(e,0))}function $e(r,e){var t=r.deps;if(t!==null)for(var o=e;o<t.length;o++)gl(r,t[o])}function Wr(r){var e=r.f;if((e&Rr)===0){J(r,P);var t=w,o=Yr;w=r,Yr=!0;try{(e&Fr)!==0?vl(r):Xt(r),Jt(r);var l=ao(r);r.teardown=typeof l=="function"?l:null,r.wv=lo;var i;ft&&Yo&&(r.f&Z)!==0&&r.deps}finally{Yr=o,w=t}}}async function ul(){await Promise.resolve(),Nr()}function d(r){var e=r.f,t=(e&V)!==0;if(k!==null&&!fr){var o=w!==null&&(w.f&Rr)!==0;if(!o&&!gr?.includes(r)){var l=k.deps;if((k.f&Le)!==0)r.rv<le&&(r.rv=le,F===null&&l!==null&&l[K]===r?K++:F===null?F=[r]:(!zr||!F.includes(r))&&F.push(r));else{(k.deps??=[]).push(r);var i=r.reactions;i===null?r.reactions=[k]:i.includes(k)||i.push(k)}}}else if(t&&r.deps===null&&r.effects===null){var n=r,s=n.parent;s!==null&&(s.f&X)===0&&(n.f^=X)}if(Or){if(yr.has(r))return yr.get(r);if(t){n=r;var a=n.v;return((n.f&P)===0&&n.reactions!==null||bo(n))&&(a=He(n)),yr.set(n,a),a}}else t&&(n=r,_e(n)&&Tt(n));if((r.f&Tr)!==0)throw r.v;return r.v}function bo(r){if(r.v===C)return!0;if(r.deps===null)return!1;for(const e of r.deps)if(yr.has(e)||(e.f&V)!==0&&bo(e))return!0;return!1}function fo(r){var e=fr;try{return fr=!0,r()}finally{fr=e}}const hl=-7169;function J(r,e){r.f=r.f&hl|e}const mo=new Set,rt=new Set;function wl(r){for(var e=0;e<r.length;e++)mo.add(r[e]);for(var t of rt)t(r)}let po=null;function ze(r){var e=this,t=e.ownerDocument,o=r.type,l=r.composedPath?.()||[],i=l[0]||r.target;po=r;var n=0,s=po===r&&r.__root;if(s){var a=l.indexOf(s);if(a!==-1&&(e===document||e===window)){r.__root=e;return}var b=l.indexOf(e);if(b===-1)return;a<=b&&(n=a)}if(i=l[n]||r.target,i!==e){Pr(r,"currentTarget",{configurable:!0,get(){return i||t}});var m=k,v=w;mr(null),$r(null);try{for(var x,p=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var u=i["__"+o];if(u!=null&&(!i.disabled||r.target===i))if(Ne(u)){var[h,...j]=u;h.apply(i,[r,...j])}else u.call(i,r)}catch(y){x?p.push(y):x=y}if(r.cancelBubble||f===e||f===null)break;i=f}if(x){for(let y of p)queueMicrotask(()=>{throw y});throw x}}finally{r.__root=e,delete r.currentTarget,mr(m),$r(v)}}}let er;function yl(){er=void 0}function kl(r){let e=null,t=$;var o;if($){for(e=E,er===void 0&&(er=_r(document.head));er!==null&&(er.nodeType!==Hr||er.data!==Te);)er=ar(er);er===null?lr(!1):er=Y(ar(er))}$||(o=document.head.appendChild(kr()));try{Je(()=>r(o),gt)}finally{t&&(lr(!0),er=E,Y(e))}}function _l(r){var e=document.createElement("template");return e.innerHTML=r.replaceAll("<!>","<!---->"),e.content}function je(r,e){var t=w;t.nodes_start===null&&(t.nodes_start=r,t.nodes_end=e)}function L(r,e){var t=(e&$o)!==0,o=(e&zo)!==0,l,i=!r.startsWith("<!>");return()=>{if($)return je(E,null),E;l===void 0&&(l=_l(i?r:"<!>"+r),t||(l=_r(l)));var n=o||It?document.importNode(l,!0):l.cloneNode(!0);if(t){var s=_r(n),a=n.lastChild;je(s,a)}else je(n,n);return n}}function N(r,e){if($){w.nodes_end=E,ce();return}r!==null&&r.before(e)}const $l=["touchstart","touchmove"];function zl(r){return $l.includes(r)}function Kr(r,e){var t=e==null?"":typeof e=="object"?e+"":e;t!==(r.__t??=r.nodeValue)&&(r.__t=t,r.nodeValue=t+"")}function vo(r,e){return xo(r,e)}function jl(r,e){We(),e.intro=e.intro??!1;const t=e.target,o=$,l=E;try{for(var i=_r(t);i&&(i.nodeType!==Hr||i.data!==Te);)i=ar(i);if(!i)throw Ir;lr(!0),Y(i),ce();const n=xo(r,{...e,anchor:i});if(E===null||E.nodeType!==Hr||E.data!==Ce)throw xe(),Ir;return lr(!1),n}catch(n){if(n instanceof Error&&n.message.split(`
2
+ `).some(s=>s.startsWith("https://svelte.dev/e/")))throw n;return n!==Ir&&console.warn("Failed to hydrate: ",n),e.recover===!1&&Fo(),We(),qt(t),lr(!1),vo(r,e)}finally{lr(o),Y(l),yl()}}const Jr=new Map;function xo(r,{target:e,anchor:t,props:o={},events:l,context:i,intro:n=!0}){We();var s=new Set,a=v=>{for(var x=0;x<v.length;x++){var p=v[x];if(!s.has(p)){s.add(p);var f=zl(p);e.addEventListener(p,ze,{passive:f});var u=Jr.get(p);u===void 0?(document.addEventListener(p,ze,{passive:f}),Jr.set(p,1)):Jr.set(p,u+1)}}};a(Be(mo)),rt.add(a);var b=void 0,m=ml(()=>{var v=t??e.appendChild(kr());return Vr(()=>{if(i){kt({});var x=Q;x.c=i}l&&(o.$$events=l),$&&je(v,null),b=r(v,o)||{},$&&(w.nodes_end=E),i&&_t()}),()=>{for(var x of s){e.removeEventListener(x,ze);var p=Jr.get(x);--p===0?(document.removeEventListener(x,ze),Jr.delete(x)):Jr.set(x,p)}rt.delete(a),v!==t&&v.parentNode?.removeChild(v)}});return et.set(b,m),b}let et=new WeakMap;function El(r,e){const t=et.get(r);return t?(et.delete(r),t(e)):Promise.resolve()}function Al(r){Q===null&&Mo(),Yt(()=>{const e=fo(r);if(typeof e=="function")return e})}function sr(r,e,t=!1){$&&ce();var o=r,l=null,i=null,n=C,s=t?Ge:0,a=!1;const b=(p,f=!0)=>{a=!0,x(f,p)};var m=null;function v(){m!==null&&(m.lastChild.remove(),o.before(m),m=null);var p=n?l:i,f=n?i:l;p&&Qe(p),f&&Xe(f,()=>{n?i=null:l=null})}const x=(p,f)=>{if(n===(n=p))return;let u=!1;if($){const T=ht(o)===Se;!!n===T&&(o=Fe(),Y(o),lr(!1),u=!0)}var h=Ht(),j=o;if(h&&(m=document.createDocumentFragment(),m.append(j=kr())),n?l??=f&&Vr(()=>f(j)):i??=f&&Vr(()=>f(j)),h){var y=A,q=n?l:i,H=n?i:l;q&&y.skipped_effects.delete(q),H&&y.skipped_effects.add(H),y.add_callback(v)}else v();u&&lr(!0)};Je(()=>{a=!1,e(b),a||x(null,null)},s),$&&(o=E)}function Rl(r,e){return e}function Tl(r,e,t){for(var o=r.items,l=[],i=e.length,n=0;n<i;n++)Ze(e[n].e,l,!0);var s=i>0&&l.length===0&&t!==null;if(s){var a=t.parentNode;qt(a),a.append(t),o.clear(),dr(r,e[0].prev,e[i-1].next)}Qt(l,()=>{for(var b=0;b<i;b++){var m=e[b];s||(o.delete(m.k),dr(r,m.prev,m.next)),br(m.e,!s)}})}function co(r,e,t,o,l,i=null){var n=r,s={flags:e,items:new Map,first:null},a=(e&bt)!==0;if(a){var b=r;n=$?Y(_r(b)):b.appendChild(kr())}$&&ce();var m=null,v=!1,x=new Map,p=tl(()=>{var j=t();return Ne(j)?j:j==null?[]:Be(j)}),f,u;function h(){Sl(u,f,s,x,n,l,e,o,t),i!==null&&(f.length===0?m?Qe(m):m=Vr(()=>i(n)):m!==null&&Xe(m,()=>{m=null}))}Je(()=>{u??=w,f=d(p);var j=f.length;if(v&&j===0)return;v=j===0;let y=!1;if($){var q=ht(n)===Se;q!==(j===0)&&(n=Fe(),Y(n),lr(!1),y=!0)}if($){for(var H=null,T,c=0;c<j;c++){if(E.nodeType===Hr&&E.data===Ce){n=E,y=!0,lr(!1);break}var _=f[c],B=o(_,c);T=tt(E,s,H,null,_,B,c,l,e,t),s.items.set(B,T),H=T}j>0&&Y(Fe())}if($)j===0&&i&&(m=Vr(()=>i(n)));else if(Ht()){var Gr=new Set,Xr=A;for(c=0;c<j;c+=1){_=f[c],B=o(_,c);var g=s.items.get(B)??x.get(B);g?(e&(me|de))!==0&&go(g,_,c,e):(T=tt(null,s,null,null,_,B,c,l,e,t,!0),x.set(B,T)),Gr.add(B)}for(const[S,vr]of s.items)Gr.has(S)||Xr.skipped_effects.add(vr.e);Xr.add_callback(h)}else h();y&&lr(!0),d(p)}),$&&(n=E)}function Sl(r,e,t,o,l,i,n,s,a){var b=(n&ko)!==0,m=(n&(me|de))!==0,v=e.length,x=t.items,p=t.first,f=p,u,h=null,j,y=[],q=[],H,T,c,_;if(b)for(_=0;_<v;_+=1)H=e[_],T=s(H,_),c=x.get(T),c!==void 0&&(c.a?.measure(),(j??=new Set).add(c));for(_=0;_<v;_+=1){if(H=e[_],T=s(H,_),c=x.get(T),c===void 0){var B=o.get(T);if(B!==void 0){o.delete(T),x.set(T,B);var Gr=h?h.next:f;dr(t,h,B),dr(t,B,Gr),ot(B,Gr,l),h=B}else{var Xr=f?f.e.nodes_start:l;h=tt(Xr,t,h,h===null?t.first:h.next,H,T,_,i,n,a)}x.set(T,h),y=[],q=[],f=h.next;continue}if(m&&go(c,H,_,n),(c.e.f&or)!==0&&(Qe(c.e),b&&(c.a?.unfix(),(j??=new Set).delete(c))),c!==f){if(u!==void 0&&u.has(c)){if(y.length<q.length){var g=q[0],S;h=g.prev;var vr=y[0],ur=y[y.length-1];for(S=0;S<y.length;S+=1)ot(y[S],g,l);for(S=0;S<q.length;S+=1)u.delete(q[S]);dr(t,vr.prev,ur.next),dr(t,h,vr),dr(t,ur,g),f=g,h=ur,_-=1,y=[],q=[]}else u.delete(c),ot(c,f,l),dr(t,c.prev,c.next),dr(t,c,h===null?t.first:h.next),dr(t,h,c),h=c;continue}for(y=[],q=[];f!==null&&f.k!==T;)(f.e.f&or)===0&&(u??=new Set).add(f),q.push(f),f=f.next;if(f===null)continue;c=f}y.push(c),h=c,f=c.next}if(f!==null||u!==void 0){for(var z=u===void 0?[]:Be(u);f!==null;)(f.e.f&or)===0&&z.push(f),f=f.next;var ne=z.length;if(ne>0){var Re=(n&bt)!==0&&v===0?l:null;if(b){for(_=0;_<ne;_+=1)z[_].a?.measure();for(_=0;_<ne;_+=1)z[_].a?.fix()}Tl(t,z,Re)}}b&&Xo(()=>{if(j!==void 0)for(c of j)c.a?.apply()}),r.first=t.first&&t.first.e,r.last=h&&h.e;for(var se of o.values())br(se.e);o.clear()}function go(r,e,t,o){(o&me)!==0&&te(r.v,e),(o&de)!==0?te(r.i,t):r.i=t}function tt(r,e,t,o,l,i,n,s,a,b,m){var v=(a&me)!==0,x=(a&_o)===0,p=v?x?Mt(l,!1,!1):ee(l):l,f=(a&de)===0?n:ee(n),u={i:f,v:p,k:i,a:null,e:null,prev:t,next:o};try{if(r===null){var h=document.createDocumentFragment();h.append(r=kr())}return u.e=Vr(()=>s(r,p,f,b),$),u.e.prev=t&&t.e,u.e.next=o&&o.e,t===null?m||(e.first=u):(t.next=u,t.e.next=u.e),o!==null&&(o.prev=u,o.e.prev=u.e),u}finally{}}function ot(r,e,t){for(var o=r.next?r.next.e.nodes_start:t,l=e?e.e.nodes_start:t,i=r.e.nodes_start;i!==null&&i!==o;){var n=ar(i);l.before(i),i=n}}function dr(r,e,t){e===null?r.first=t:(e.next=t,e.e.next=t&&t.e),t!==null&&(t.prev=e,t.e.prev=e&&e.e)}function Cl(r,e){dl(()=>{var t=r.getRootNode(),o=t.host?t:t.head??t.ownerDocument.head;if(!o.querySelector("#"+e.hash)){const l=document.createElement("style");l.id=e.hash,l.textContent=e.code,o.appendChild(l)}})}function Nl(r,e,t){var o=r==null?"":""+r;return o=o?o+" "+e:e,o===""?null:o}function Bl(r,e){return r==null?null:String(r)}function pr(r,e,t,o,l,i){var n=r.__className;if($||n!==t||n===void 0){var s=Nl(t,o);(!$||s!==r.getAttribute("class"))&&(s==null?r.removeAttribute("class"):r.className=s),r.__className=t}return i}function Ol(r,e,t,o){var l=r.__style;if($||l!==e){var i=Bl(e);(!$||i!==r.getAttribute("style"))&&(i==null?r.removeAttribute("style"):r.style.cssText=i),r.__style=e}return o}const Ml=Symbol("is custom element"),Gl=Symbol("is html");function Ll(r){if($){var e=!1,t=()=>{if(!e){if(e=!0,r.hasAttribute("value")){var o=r.value;Ee(r,"value",null),r.value=o}if(r.hasAttribute("checked")){var l=r.checked;Ee(r,"checked",null),r.checked=l}}};r.__on_r=t,Zo(t),Vt()}}function Ee(r,e,t,o){var l=Il(r);$&&(l[e]=r.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&r.nodeName==="LINK")||l[e]!==(l[e]=t)&&(e==="loading"&&(r[Bo]=t),t==null?r.removeAttribute(e):typeof t!="string"&&Pl(r).includes(e)?r[e]=t:r.setAttribute(e,t))}function Il(r){return r.__attributes??={[Ml]:r.nodeName.includes("-"),[Gl]:r.namespaceURI===jo}}var uo=new Map;function Pl(r){var e=r.getAttribute("is")||r.nodeName,t=uo.get(e);if(t)return t;uo.set(e,t=[]);for(var o,l=r,i=Element.prototype;i!==l;){o=Ao(l);for(var n in o)o[n].set&&t.push(n);l=mt(l)}return t}function Dl(r,e,t=e){var o=new WeakSet;sl(r,"input",async l=>{var i=l?r.defaultValue:r.value;if(i=lt(r)?it(i):i,t(i),A!==null&&o.add(A),await ul(),i!==(i=e())){var n=r.selectionStart,s=r.selectionEnd;r.value=i??"",s!==null&&(r.selectionStart=n,r.selectionEnd=Math.min(s,r.value.length))}}),($&&r.defaultValue!==r.value||fo(e)==null&&r.value)&&(t(lt(r)?it(r.value):r.value),A!==null&&o.add(A)),Kt(()=>{var l=e();if(r===document.activeElement){var i=he??A;if(o.has(i))return}lt(r)&&l===it(r.value)||r.type==="date"&&!l&&!r.value||l!==r.value&&(r.value=l??"")})}function lt(r){var e=r.type;return e==="number"||e==="range"}function it(r){return r===""?null:+r}function ie(r,e,t,o){var l=o,i=!0,n=()=>(i&&(i=!1,l=o),l),s;s=r[e],s===void 0&&o!==void 0&&(s=n());var a;a=()=>{var x=r[e];return x===void 0?n():(i=!0,x)};var b=!1,m=ue(()=>(b=!1,a())),v=w;return(function(x,p){if(arguments.length>0){const f=p?d(m):x;return G(m,f),b=!0,l!==void 0&&(l=f),x}return Or&&b||(v.f&Rr)!==0?m.v:d(m)})}function Fl(r){return new ql(r)}class ql{#e;#r;constructor(e){var t=new Map,o=(i,n)=>{var s=Mt(n,!1,!1);return t.set(i,s),s};const l=new Proxy({...e.props||{},$$events:{}},{get(i,n){return d(t.get(n)??o(n,Reflect.get(i,n)))},has(i,n){return n===No?!0:(d(t.get(n)??o(n,Reflect.get(i,n))),Reflect.has(i,n))},set(i,n,s){return G(t.get(n)??o(n,s),s),Reflect.set(i,n,s)}});this.#r=(e.hydrate?jl:vo)(e.component,{target:e.target,anchor:e.anchor,props:l,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Nr(),this.#e=l.$$events;for(const i of Object.keys(this.#r))i==="$set"||i==="$destroy"||i==="$on"||Pr(this,i,{get(){return this.#r[i]},set(n){this.#r[i]=n},enumerable:!0});this.#r.$set=i=>{Object.assign(l,i)},this.#r.$destroy=()=>{El(this.#r)}}$set(e){this.#r.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];const o=(...l)=>t.call(this,...l);return this.#e[e].push(o),()=>{this.#e[e]=this.#e[e].filter(l=>l!==o)}}$destroy(){this.#r.$destroy()}}let ho;typeof HTMLElement=="function"&&(ho=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(r,e,t){super(),this.$$ctor=r,this.$$s=e,t&&this.attachShadow({mode:"open"})}addEventListener(r,e,t){if(this.$$l[r]=this.$$l[r]||[],this.$$l[r].push(e),this.$$c){const o=this.$$c.$on(r,e);this.$$l_u.set(e,o)}super.addEventListener(r,e,t)}removeEventListener(r,e,t){if(super.removeEventListener(r,e,t),this.$$c){const o=this.$$l_u.get(e);o&&(o(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let r=function(o){return l=>{const i=document.createElement("slot");o!=="default"&&(i.name=o),N(l,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},t=Hl(this);for(const o of this.$$s)o in t&&(o==="default"&&!this.$$d.children?(this.$$d.children=r(o),e.default=!0):e[o]=r(o));for(const o of this.attributes){const l=this.$$g_p(o.name);l in this.$$d||(this.$$d[l]=Ae(l,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=Fl({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=fl(()=>{Kt(()=>{this.$$r=!0;for(const o of pe(this.$$c)){if(!this.$$p_d[o]?.reflect)continue;this.$$d[o]=this.$$c[o];const l=Ae(o,this.$$d[o],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,l)}this.$$r=!1})});for(const o in this.$$l)for(const l of this.$$l[o]){const i=this.$$c.$on(o,l);this.$$l_u.set(l,i)}this.$$l={}}}attributeChangedCallback(r,e,t){this.$$r||(r=this.$$g_p(r),this.$$d[r]=Ae(r,t,this.$$p_d,"toProp"),this.$$c?.$set({[r]:this.$$d[r]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(r){return pe(this.$$p_d).find(e=>this.$$p_d[e].attribute===r||!this.$$p_d[e].attribute&&e.toLowerCase()===r)||r}});function Ae(r,e,t,o){const l=t[r]?.type;if(e=l==="Boolean"&&typeof e!="boolean"?e!=null:e,!o||!t[r])return e;if(o==="toAttribute")switch(l){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(l){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Hl(r){const e={};return r.childNodes.forEach(t=>{e[t.slot||"default"]=!0}),e}function Ul(r,e,t,o,l,i){let n=class extends ho{constructor(){super(r,t,l),this.$$p_d=e}static get observedAttributes(){return pe(e).map(s=>(e[s].attribute||s).toLowerCase())}};return pe(e).forEach(s=>{Pr(n.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(a){a=Ae(s,a,e),this.$$d[s]=a;var b=this.$$c;if(b){var m=Dr(b,s)?.get;m?b[s]=a:b.$set({[s]:a})}}})}),o.forEach(s=>{Pr(n.prototype,s,{get(){return this.$$c?.[s]}})}),r.element=n,n}function Vl(r,e,t,o,l,i){G(e,!0),r.key!=="Enter"&&(console.log("debouncing",d(t)),d(o)&&clearTimeout(d(o)),G(o,setTimeout(()=>{d(t)&&d(t).length>Number(l())&&i("input")},500),!0))}function Yl(r,e){r&&r.preventDefault?.(),console.log("clicked searching"),e("button")}var Wl=L('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1rxrfb7"/>'),Kl=(r,e)=>{e("button")},Jl=(r,e,t,o)=>{G(e,d(t).text,!0),o("searchlist",d(t).id)},Xl=L("<i></i>"),Zl=L("<i></i>"),Ql=L("<span><!> </span>"),ri=L('<a class="dropdown-item d-flex align-items-center gap-2 text-decoration-none svelte-1rxrfb7"><!> <span class="flex-grow-1 svelte-1rxrfb7"> </span> <!></a>'),ei=(r,e,t,o)=>{G(e,d(t).text,!0),o("searchlist",d(t).id)},ti=L("<i></i>"),oi=L("<i></i>"),li=L("<span><!> </span>"),ii=L('<button class="dropdown-item d-flex align-items-center gap-2 svelte-1rxrfb7"><!> <span class="flex-grow-1 svelte-1rxrfb7"> </span> <!></button>'),ni=L("<i></i>"),si=L("<span><!> </span>"),ai=L('<div class="px-3 pb-2 svelte-1rxrfb7"><div class="d-flex flex-wrap gap-1 svelte-1rxrfb7"></div></div>'),bi=L('<li class="svelte-1rxrfb7"><hr class="dropdown-divider svelte-1rxrfb7"/></li>'),fi=L('<li class="svelte-1rxrfb7"><!> <!></li> <!>',1),mi=L('<li class="svelte-1rxrfb7"><h6 class="dropdown-header svelte-1rxrfb7">Suggested results</h6></li> <!>',1),di=L('<div><div class="position-relative svelte-1rxrfb7"><input id="custom-search-input" class="form-control svelte-1rxrfb7" type="search" aria-label="Search" aria-describedby="search"/> <button class="btn bg-transparent px-2 py-0 position-absolute top-50 start-5 translate-middle-y svelte-1rxrfb7" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search svelte-1rxrfb7" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" class="svelte-1rxrfb7"></path></svg></button></div> <div class="dropdown svelte-1rxrfb7" style="position: absolute; width:100%"><ul id="custom-search-list"><li class="svelte-1rxrfb7"><button class="dropdown-item svelte-1rxrfb7"> </button></li> <!></ul></div></div>');const pi={hash:"svelte-1rxrfb7",code:`@charset "UTF-8";
3
3
  @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");
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
5
5
  /*!
@@ -11,7 +11,7 @@
11
11
  .svelte-1rxrfb7::before,
12
12
  .svelte-1rxrfb7::after {box-sizing:border-box;}
13
13
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
14
- }h6.svelte-1rxrfb7, .h6.svelte-1rxrfb7, .h5.svelte-1rxrfb7, .h4.svelte-1rxrfb7, .h3.svelte-1rxrfb7, .h2.svelte-1rxrfb7, .h1.svelte-1rxrfb7 {margin-top:0;margin-bottom:0.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color);} .h1.svelte-1rxrfb7 {font-size:calc(1.375rem + 1.5vw);}
14
+ }hr.svelte-1rxrfb7 {margin:1rem 0;color:inherit;border:0;border-top:var(--bs-border-width) solid;opacity:0.25;}h6.svelte-1rxrfb7, .h6.svelte-1rxrfb7, .h5.svelte-1rxrfb7, .h4.svelte-1rxrfb7, .h3.svelte-1rxrfb7, .h2.svelte-1rxrfb7, .h1.svelte-1rxrfb7 {margin-top:0;margin-bottom:0.5rem;font-weight:500;line-height:1.2;color:var(--bs-heading-color);} .h1.svelte-1rxrfb7 {font-size:calc(1.375rem + 1.5vw);}
15
15
  @media (min-width: 1200px) { .h1.svelte-1rxrfb7 {font-size:2.5rem;}
16
16
  } .h2.svelte-1rxrfb7 {font-size:calc(1.325rem + 0.9vw);}
17
17
  @media (min-width: 1200px) { .h2.svelte-1rxrfb7 {font-size:2rem;}
@@ -270,5 +270,5 @@ button.svelte-1rxrfb7 {margin:0;font-family:inherit;font-size:inherit;line-heigh
270
270
  }
271
271
  @media print {.d-print-inline.svelte-1rxrfb7 {display:inline !important;}.d-print-inline-block.svelte-1rxrfb7 {display:inline-block !important;}.d-print-block.svelte-1rxrfb7 {display:block !important;}.d-print-grid.svelte-1rxrfb7 {display:grid !important;}.d-print-inline-grid.svelte-1rxrfb7 {display:inline-grid !important;}.d-print-table.svelte-1rxrfb7 {display:table !important;}.d-print-table-row.svelte-1rxrfb7 {display:table-row !important;}.d-print-table-cell.svelte-1rxrfb7 {display:table-cell !important;}.d-print-flex.svelte-1rxrfb7 {display:flex !important;}.d-print-inline-flex.svelte-1rxrfb7 {display:inline-flex !important;}.d-print-none.svelte-1rxrfb7 {display:none !important;}
272
272
  }:host {font-family:"Roboto", sans-serif;}#custom-search-input.svelte-1rxrfb7 {background-color:#ebeef4;color:var(--bs-secondary-color);border-bottom:0px;padding-left:33px;
273
- /* 36px - between ps-4 (24px) and ps-5 (48px) */}#custom-search-input.svelte-1rxrfb7::placeholder {color:var(--bs-secondary-color);opacity:0.5;}#custom-search-list.svelte-1rxrfb7 {position:static;margin:0px;background-color:rgba(255, 255, 255, 0.95);border-radius:0px 0px 5px 5px;border-top:none;max-height:200px;overflow-y:auto;}`};function yo(r,e){_t(e,!0),Nl(r,xi);let t=ne(e,"id",7,""),o=ne(e,"style",7,""),l=ne(e,"searchlabel",7,"Search"),i=ne(e,"searchlist"),n=ne(e,"minlength",7,0),s=lr(""),a=lr(!1),b=Rt(()=>i()?.filter?.(g=>g?.fixed||g?.text?.toLowerCase().includes(p(s).toLowerCase())));const m=Rt(()=>p(s)?.length>Number(n())&&p(a));Yt(()=>{if(t()||t(""),i()||i([]),typeof i()=="string")try{i(JSON.parse(i()))}catch(g){console.error("error parsing searchlist",g)}});async function x(g,T){if(!p(s))return;console.log("searching",g,p(s));let pr;T?(pr=i()?.find(ur=>ur.id===T),pr&&f("search",{input:p(s),by:g,item:pr})):f("search",{input:p(s),by:g}),g!=="input"&&M(a,!1)}let v=lr(void 0);function d(g){console.log("closeDropdown",g.target.closest("hb-searchbar")),!(!p(a)||g.target.closest("hb-searchbar"))&&M(a,!1)}Rl(()=>(console.log("mounting searchbar"),window.addEventListener("click",d),()=>{console.log("unmounting searchbar"),window.removeEventListener("click",d)}));function f(g,T){e.$$host.dispatchEvent(new CustomEvent(g,{detail:T}))}var u={get id(){return t()},set id(g=""){t(g),Nr()},get style(){return o()},set style(g=""){o(g),Nr()},get searchlabel(){return l()},set searchlabel(g="Search"){l(g),Nr()},get searchlist(){return i()},set searchlist(g){i(g),Nr()},get minlength(){return n()},set minlength(g=0){n(g),Nr()}},h=pi();_l(g=>{var T=Jl();G(g,T)});var j=I(h),y=I(j);Pl(y),y.__input=[Wl,a,s,v,n,x];var F=Z(y,2);F.__click=[Kl,x],O(j);var q=Z(j,2),R=I(q),c=I(R),_=I(c);_.__click=[Xl,x];var N=I(_);O(_),O(c);var Gr=Z(c,2);{var Zr=g=>{var T=di(),pr=Z(sl(T),2);co(pr,17,()=>p(b),ur=>ur.id,(ur,z)=>{var Lr=mi(),Re=I(Lr);{var nt=xr=>{var H=ti();H.__click=[Zl,s,z,x];var zr=I(H);{var se=B=>{var S=Ql();ir(()=>dr(S,1,`bi bi-${p(z).icon}`,"svelte-1rxrfb7")),G(B,S)};fr(zr,B=>{p(z).icon&&B(se)})}var er=Z(zr,2),Er=I(er,!0);O(er);var Qr=Z(er,2);{var ae=B=>{var S=ei(),Ar=I(S);{var st=Ir=>{var be=ri();ir(()=>dr(be,1,ze(p(z).badge.icon),"svelte-1rxrfb7")),G(Ir,be)};fr(Ar,Ir=>{p(z).badge.icon&&Ir(st)})}var at=Z(Ar);O(S),ir(()=>{dr(S,1,`badge bg-${p(z).badge.color||"secondary"} d-flex align-items-center gap-1`,"svelte-1rxrfb7"),Jr(at,` ${p(z).badge.text??""}`)}),G(B,S)};fr(Qr,B=>{p(z).badge&&B(ae)})}O(H),ir(()=>{Ee(H,"href",p(z).url),Jr(Er,p(z).text)}),G(xr,H)},vi=xr=>{var H=si();H.__click=[oi,s,z,x];var zr=I(H);{var se=B=>{var S=li();ir(()=>dr(S,1,ze(p(z).icon),"svelte-1rxrfb7")),G(B,S)};fr(zr,B=>{p(z).icon&&B(se)})}var er=Z(zr,2),Er=I(er,!0);O(er);var Qr=Z(er,2);{var ae=B=>{var S=ni(),Ar=I(S);{var st=Ir=>{var be=ii();ir(()=>dr(be,1,ze(p(z).badge.icon),"svelte-1rxrfb7")),G(Ir,be)};fr(Ar,Ir=>{p(z).badge.icon&&Ir(st)})}var at=Z(Ar);O(S),ir(()=>{dr(S,1,`badge bg-${p(z).badge.color||"secondary"} d-flex align-items-center gap-1`,"svelte-1rxrfb7"),Jr(at,` ${p(z).badge.text??""}`)}),G(B,S)};fr(Qr,B=>{p(z).badge&&B(ae)})}O(H),ir(()=>Jr(Er,p(z).text)),G(xr,H)};fr(Re,xr=>{p(z).url?xr(nt):xr(vi,!1)})}var ci=Z(Re,2);{var gi=xr=>{var H=fi(),zr=I(H);co(zr,21,()=>p(z).tags,Tl,(se,er)=>{var Er=bi(),Qr=I(Er);{var ae=S=>{var Ar=ai();ir(()=>dr(Ar,1,ze(p(er).icon),"svelte-1rxrfb7")),G(S,Ar)};fr(Qr,S=>{p(er).icon&&S(ae)})}var B=Z(Qr);O(Er),ir(()=>{dr(Er,1,`badge bg-${p(er).color||"light"} text-dark d-flex align-items-center gap-1`,"svelte-1rxrfb7"),Jr(B,` ${p(er).text??""}`)}),G(se,Er)}),O(zr),O(H),G(xr,H)};fr(ci,xr=>{p(z).tags&&p(z).tags.length>0&&xr(gi)})}O(Lr),G(ur,Lr)}),G(g,T)};fr(Gr,g=>{p(b)?.length&&g(Zr)})}return O(R),O(q),O(h),ir(()=>{dr(h,1,`${p(m)?"border-primary-subtle":""} position-relative`,"svelte-1rxrfb7"),Gl(y,p(m)?"border-radius: 5px 5px 0px 0px;":"border-radius: 5px"),Ee(y,"placeholder",l()),dr(R,1,`dropdown-menu ${p(m)?"show":""}`,"svelte-1rxrfb7"),Jr(N,`... ${p(s)??""}`)}),ql(y,()=>p(s),g=>M(s,g)),G(r,h),$t(u)}yl(["input","click"]),customElements.define("hb-searchbar",Yl(yo,{id:{},style:{},searchlabel:{},searchlist:{},minlength:{}},[],[],!0)),bt.Component=yo,Object.defineProperty(bt,Symbol.toStringTag,{value:"Module"})})(this.searchbar=this.searchbar||{});
273
+ /* 36px - between ps-4 (24px) and ps-5 (48px) */}#custom-search-input.svelte-1rxrfb7::placeholder {color:var(--bs-secondary-color);opacity:0.5;}#custom-search-list.svelte-1rxrfb7 {position:static;margin:0px;background-color:rgba(255, 255, 255, 0.95);border-radius:0px 0px 5px 5px;border-top:none;max-height:200px;overflow-y:auto;}`};function wo(r,e){kt(e,!0),Cl(r,pi);let t=ie(e,"id",7,""),o=ie(e,"style",7,""),l=ie(e,"searchlabel",7,"Search"),i=ie(e,"searchlist"),n=ie(e,"minlength",7,0),s=ir(""),a=ir(!1),b=At(()=>i()?.filter?.(g=>g?.fixed||g?.text?.toLowerCase().includes(d(s).toLowerCase())));const m=At(()=>d(s)?.length>Number(n())&&d(a));Yt(()=>{if(t()||t(""),i()||i([]),typeof i()=="string")try{i(JSON.parse(i()))}catch(g){console.error("error parsing searchlist",g)}});async function v(g,S){if(!d(s))return;console.log("searching",g,d(s));let vr;S?(vr=i()?.find(ur=>ur.id===S),vr&&f("search",{input:d(s),by:g,item:vr})):f("search",{input:d(s),by:g}),g!=="input"&&G(a,!1)}let x=ir(void 0);function p(g){console.log("closeDropdown",g.target.closest("hb-searchbar")),!(!d(a)||g.target.closest("hb-searchbar"))&&G(a,!1)}Al(()=>(console.log("mounting searchbar"),window.addEventListener("click",p),()=>{console.log("unmounting searchbar"),window.removeEventListener("click",p)}));function f(g,S){e.$$host.dispatchEvent(new CustomEvent(g,{detail:S}))}var u={get id(){return t()},set id(g=""){t(g),Nr()},get style(){return o()},set style(g=""){o(g),Nr()},get searchlabel(){return l()},set searchlabel(g="Search"){l(g),Nr()},get searchlist(){return i()},set searchlist(g){i(g),Nr()},get minlength(){return n()},set minlength(g=0){n(g),Nr()}},h=di();kl(g=>{var S=Wl();N(g,S)});var j=D(h),y=D(j);Ll(y),y.__input=[Vl,a,s,x,n,v];var q=W(y,2);q.__click=[Yl,v],M(j);var H=W(j,2),T=D(H),c=D(T),_=D(c);_.__click=[Kl,v];var B=D(_);M(_),M(c);var Gr=W(c,2);{var Xr=g=>{var S=mi(),vr=W(Ft(S),2);co(vr,19,()=>d(b),ur=>ur.id,(ur,z,ne)=>{var Re=fi(),se=Ft(Re),yo=D(se);{var vi=U=>{var I=ri();I.__click=[Jl,s,z,v];var jr=D(I);{var ae=O=>{var R=Xl();nr(()=>pr(R,1,`bi bi-${d(z).icon?d(z).icon:"dot"}`,"svelte-1rxrfb7")),N(O,R)};sr(jr,O=>{(d(z).icon||d(b).find(R=>R.icon))&&O(ae)})}var tr=W(jr,2),Er=D(tr,!0);M(tr);var Zr=W(tr,2);{var be=O=>{var R=Ql(),Ar=D(R);{var nt=Lr=>{var fe=Zl();nr(()=>pr(fe,1,`bi bi-${d(z).badge.icon}`,"svelte-1rxrfb7")),N(Lr,fe)};sr(Ar,Lr=>{d(z).badge.icon&&Lr(nt)})}var st=W(Ar);M(R),nr(()=>{pr(R,1,`badge bg-${d(z).badge.color||"secondary"} d-flex align-items-center gap-1`,"svelte-1rxrfb7"),Kr(st,` ${d(z).badge.text??""}`)}),N(O,R)};sr(Zr,O=>{d(z).badge&&O(be)})}M(I),nr(()=>{Ee(I,"href",d(z).url),Kr(Er,d(z).text)}),N(U,I)},xi=U=>{var I=ii();I.__click=[ei,s,z,v];var jr=D(I);{var ae=O=>{var R=ti();nr(()=>pr(R,1,`bi bi-${d(z).icon?d(z).icon:"dot"}`,"svelte-1rxrfb7")),N(O,R)};sr(jr,O=>{(d(z).icon||d(b).find(R=>R.icon))&&O(ae)})}var tr=W(jr,2),Er=D(tr,!0);M(tr);var Zr=W(tr,2);{var be=O=>{var R=li(),Ar=D(R);{var nt=Lr=>{var fe=oi();nr(()=>pr(fe,1,`bi bi-${d(z).badge.icon}`,"svelte-1rxrfb7")),N(Lr,fe)};sr(Ar,Lr=>{d(z).badge.icon&&Lr(nt)})}var st=W(Ar);M(R),nr(()=>{pr(R,1,`badge bg-${d(z).badge.color||"secondary"} d-flex align-items-center gap-1`,"svelte-1rxrfb7"),Kr(st,` ${d(z).badge.text??""}`)}),N(O,R)};sr(Zr,O=>{d(z).badge&&O(be)})}M(I),nr(()=>Kr(Er,d(z).text)),N(U,I)};sr(yo,U=>{d(z).url?U(vi):U(xi,!1)})}var ci=W(yo,2);{var gi=U=>{var I=ai(),jr=D(I);co(jr,21,()=>d(z).tags,Rl,(ae,tr)=>{var Er=si(),Zr=D(Er);{var be=R=>{var Ar=ni();nr(()=>pr(Ar,1,`bi bi-${d(tr).icon}`,"svelte-1rxrfb7")),N(R,Ar)};sr(Zr,R=>{d(tr).icon&&R(be)})}var O=W(Zr);M(Er),nr(()=>{pr(Er,1,`badge bg-${d(tr).color||"light"} text-dark d-flex align-items-center gap-1`,"svelte-1rxrfb7"),Kr(O,` ${d(tr).text??""}`)}),N(ae,Er)}),M(jr),M(I),N(U,I)};sr(ci,U=>{d(z).tags&&d(z).tags.length>0&&U(gi)})}M(se);var ui=W(se,2);{var hi=U=>{var I=bi();N(U,I)};sr(ui,U=>{d(ne)<d(b).length-1&&U(hi)})}N(ur,Re)}),N(g,S)};sr(Gr,g=>{d(b)?.length&&g(Xr)})}return M(T),M(H),M(h),nr(()=>{pr(h,1,`${d(m)?"border-primary-subtle":""} position-relative`,"svelte-1rxrfb7"),Ol(y,d(m)?"border-radius: 5px 5px 0px 0px;":"border-radius: 5px"),Ee(y,"placeholder",l()),pr(T,1,`dropdown-menu ${d(m)?"show":""}`,"svelte-1rxrfb7"),Kr(B,`... ${d(s)??""}`)}),Dl(y,()=>d(s),g=>G(s,g)),N(r,h),_t(u)}wl(["input","click"]),customElements.define("hb-searchbar",Ul(wo,{id:{},style:{},searchlabel:{},searchlist:{},minlength:{}},[],[],!0)),at.Component=wo,Object.defineProperty(at,Symbol.toStringTag,{value:"Module"})})(this.searchbar=this.searchbar||{});
274
274
  //# sourceMappingURL=main.iife.js.map