@htmlbricks/hb-navbar 0.61.40 → 0.61.42

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,6 +1,6 @@
1
- (function(Pt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Fn=1,qn=2,Mt="[",It="[!",Lt="]",we={},T=Symbol(),Yn="http://www.w3.org/1999/xhtml",Dt=!1;var jt=Array.isArray,Hn=Array.prototype.indexOf,Un=Array.from,Be=Object.keys,ye=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,Bn=Object.getOwnPropertyDescriptors,Gn=Object.prototype,Vn=Array.prototype,Ft=Object.getPrototypeOf,qt=Object.isExtensible;function Yt(e){for(var t=0;t<e.length;t++)e[t]()}function Wn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const C=2,at=4,ut=8,Ee=16,W=32,J=64,Ht=128,D=256,Ge=512,O=1024,j=2048,Z=4096,Q=8192,le=16384,ft=32768,ot=65536,Ut=1<<17,Xn=1<<18,be=1<<19,zn=1<<20,ct=1<<21,dt=1<<22,ae=1<<23,vt=Symbol("$state"),Kn=Symbol("legacy props"),Jn=Symbol(""),_t=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Bt=3,Ve=8;function Zn(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Qn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function er(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function tr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function nr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function rr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ir(){throw new Error("https://svelte.dev/e/hydration_failed")}function sr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function lr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ar(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function We(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let E=!1;function ee(e){E=e}let b;function te(e){if(e===null)throw We(),we;return b=e}function Xe(){return te(de(b))}function P(e){if(E){if(de(b)!==null)throw We(),we;b=e}}function ur(){for(var e=0,t=b;;){if(t.nodeType===Ve){var n=t.data;if(n===Lt){if(e===0)return t;e-=1}else(n===Mt||n===It)&&(e+=1)}var r=de(t);t.remove(),t=r}}function fr(e){if(!e||e.nodeType!==Ve)throw We(),we;return e.data}function Gt(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 cr(e){return!or(e,this.v)}let dr=!1,Y=null;function ze(e){Y=e}function Vt(e,t=!1,n){Y={p:Y,c:null,e:null,s:e,x:null,l:null}}function Wt(e){var t=Y,n=t.e;if(n!==null){t.e=null;for(var r of n)dn(r)}return e!==void 0&&(t.x=e),Y=t.p,e??{}}function Xt(){return!0}const vr=new WeakMap;function _r(e){var t=g;if(t===null)return m.f|=ae,e;if((t.f&ft)===0){if((t.f&Ht)===0)throw!t.parent&&e instanceof Error&&zt(e),e;t.b.error(e)}else ht(e,t)}function ht(e,t){for(;t!==null;){if((t.f&Ht)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&zt(e),e}function zt(e){const t=vr.get(e);t&&(ye(e,"message",{value:t.message}),ye(e,"stack",{value:t.stack}))}let Ie=[],pt=[];function Kt(){var e=Ie;Ie=[],Yt(e)}function hr(){var e=pt;pt=[],Yt(e)}function pr(e){Ie.length===0&&queueMicrotask(Kt),Ie.push(e)}function gr(){Ie.length>0&&Kt(),pt.length>0&&hr()}function mr(){const e=g.b;return e===null&&Zn(),e}function Jt(e){var t=C|j,n=m!==null&&(m.f&C)!==0?m:null;return g===null||n!==null&&(n.f&D)!==0?t|=D:g.f|=be,{ctx:Y,deps:null,effects:null,equals:Gt,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??g,ac:null}}function wr(e,t){let n=g;n===null&&Qn();var r=n.b,i=void 0,s=yt(T),l=null,u=!m;return Mr(()=>{try{var a=e();l&&Promise.resolve(a).catch(()=>{})}catch(d){a=Promise.reject(d)}var f=()=>a;i=l?.then(f,f)??Promise.resolve(a),l=i;var o=x,c=r.is_pending();u&&(r.update_pending_count(1),c||o.increment());const _=(d,v=void 0)=>{l=null,c||o.activate(),v?v!==_t&&(s.f|=ae,$t(s,v)):((s.f&ae)!==0&&(s.f^=ae),$t(s,d)),u&&(r.update_pending_count(-1),c||o.decrement()),en()};if(i.then(_,d=>_(null,d||"unknown")),o)return()=>{queueMicrotask(()=>o.neuter())}}),new Promise(a=>{function f(o){function c(){o===i?a(s):f(i)}o.then(c,c)}f(i)})}function Zt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)re(t[n])}}function yr(e){for(var t=e.parent;t!==null;){if((t.f&C)===0)return t;t=t.parent}return null}function gt(e){var t,n=g;B(yr(e));try{Zt(e),t=xn(e)}finally{B(n)}return t}function Qt(e){var t=gt(e);if(e.equals(t)||(e.v=t,e.wv=bn()),!ve){var n=(ie||(e.f&D)!==0)&&e.deps!==null?Z:O;A(e,n)}}function $r(e,t,n){const r=Jt;if(t.length===0){n(e.map(r));return}var i=x,s=g,l=Er(),u=mr();Promise.all(t.map(a=>wr(a))).then(a=>{i?.activate(),l();try{n([...e.map(r),...a])}catch(f){(s.f&le)===0&&ht(f,s)}i?.deactivate(),en()}).catch(a=>{u.error(a)})}function Er(){var e=g,t=m,n=Y,r=x;return function(){B(e),F(t),ze(n),r?.activate()}}function en(){B(null),F(null),ze(null)}const mt=new Set;let x=null,tn=new Set,Ke=[];function nn(){const e=Ke.shift();Ke.length>0&&queueMicrotask(nn),e()}let ue=[],Je=null,wt=!1,Ze=!1;class fe{current=new Map;#t=new Map;#e=new Set;#n=0;#f=null;#o=!1;#i=[];#l=[];#s=[];#r=[];#a=[];#c=[];#d=[];skipped_effects=new Set;process(t){ue=[];for(const i of t)this.#_(i);if(this.#i.length===0&&this.#n===0){this.#v();var n=this.#s,r=this.#r;this.#s=[],this.#r=[],this.#a=[],x=null,sn(n),sn(r),x===null?x=this:mt.delete(this),this.#f?.resolve()}else this.#u(this.#s),this.#u(this.#r),this.#u(this.#a);for(const i of this.#i)Re(i);for(const i of this.#l)Re(i);this.#i=[],this.#l=[]}#_(t){t.f^=O;for(var n=t.first;n!==null;){var r=n.f,i=(r&(W|J))!==0,s=i&&(r&O)!==0,l=s||(r&Q)!==0||this.skipped_effects.has(n);if(!l&&n.fn!==null){if(i)n.f^=O;else if((r&at)!==0)this.#r.push(n);else if((r&O)===0)if((r&dt)!==0){var u=n.b?.is_pending()?this.#l:this.#i;u.push(n)}else et(n)&&((n.f&Ee)!==0&&this.#a.push(n),Re(n));var a=n.first;if(a!==null){n=a;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)n=f.next,f=f.parent}}#u(t){for(const n of t)((n.f&j)!==0?this.#c:this.#d).push(n),A(n,O);t.length=0}capture(t,n){this.#t.has(t)||this.#t.set(t,n),this.current.set(t,t.v)}activate(){x=this}deactivate(){x=null;for(const t of tn)if(tn.delete(t),t(),x!==null)break}neuter(){this.#o=!0}flush(){ue.length>0?rn():this.#v(),x===this&&(this.#n===0&&mt.delete(this),this.deactivate())}#v(){if(!this.#o)for(const t of this.#e)t();this.#e.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const t of this.#c)A(t,j),Te(t);for(const t of this.#d)A(t,Z),Te(t);this.#s=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=Wn()).promise}static ensure(){if(x===null){const t=x=new fe;mt.add(x),Ze||fe.enqueue(()=>{x===t&&t.flush()})}return x}static enqueue(t){Ke.length===0&&queueMicrotask(nn),Ke.unshift(t)}}function oe(e){var t=Ze;Ze=!0;try{for(var n;;){if(gr(),ue.length===0&&(x?.flush(),ue.length===0))return Je=null,n;rn()}}finally{Ze=t}}function rn(){var e=Oe;wt=!0;try{var t=0;for(wn(!0);ue.length>0;){var n=fe.ensure();if(t++>1e3){var r,i;br()}n.process(ue),ne.clear()}}finally{wt=!1,wn(e),Je=null}}function br(){try{rr()}catch(e){ht(e,Je)}}let ce=null;function sn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(le|Q))===0&&et(r)&&(ce=[],Re(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?hn(r):r.fn=null),ce?.length>0)){ne.clear();for(const i of ce)Re(i);ce=[]}}ce=null}}function Te(e){for(var t=Je=e;t.parent!==null;){t=t.parent;var n=t.f;if(wt&&t===g&&(n&Ee)!==0)return;if((n&(J|W))!==0){if((n&O)===0)return;t.f^=O}}ue.push(t)}const ne=new Map;function yt(e,t){var n={f:0,v:e,reactions:null,equals:Gt,rv:0,wv:0};return n}function H(e,t){const n=yt(e);return Yr(n),n}function Tr(e,t=!1,n=!0){const r=yt(e);return t||(r.equals=cr),r}function X(e,t,n=!1){m!==null&&(!_e||(m.f&Ut)!==0)&&Xt()&&(m.f&(C|Ee|dt|Ut))!==0&&!z?.includes(e)&&ar();let r=n?xe(t):t;return $t(e,r)}function $t(e,t){if(!e.equals(t)){var n=e.v;ve?ne.set(e,t):ne.set(e,n),e.v=t;var r=fe.ensure();r.capture(e,n),(e.f&C)!==0&&((e.f&j)!==0&&gt(e),A(e,(e.f&D)===0?O:Z)),e.wv=bn(),ln(e,j),g!==null&&(g.f&O)!==0&&(g.f&(W|J))===0&&(q===null?Hr([e]):q.push(e))}return t}function Et(e){X(e,e.v+1)}function ln(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,u=(l&j)===0;u&&A(s,t),(l&C)!==0?ln(s,Z):u&&((l&Ee)!==0&&ce!==null&&ce.push(s),Te(s))}}function xe(e){if(typeof e!="object"||e===null||vt in e)return e;const t=Ft(e);if(t!==Gn&&t!==Vn)return e;var n=new Map,r=jt(e),i=H(0),s=he,l=u=>{if(he===s)return u();var a=m,f=he;F(null),En(s);var o=u();return F(a),En(f),o};return r&&n.set("length",H(e.length)),new Proxy(e,{defineProperty(u,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&sr();var o=n.get(a);return o===void 0?o=l(()=>{var c=H(f.value);return n.set(a,c),c}):X(o,f.value,!0),!0},deleteProperty(u,a){var f=n.get(a);if(f===void 0){if(a in u){const o=l(()=>H(T));n.set(a,o),Et(i)}}else X(f,T),Et(i);return!0},get(u,a,f){if(a===vt)return e;var o=n.get(a),c=a in u;if(o===void 0&&(!c||$e(u,a)?.writable)&&(o=l(()=>{var d=xe(c?u[a]:T),v=H(d);return v}),n.set(a,o)),o!==void 0){var _=G(o);return _===T?void 0:_}return Reflect.get(u,a,f)},getOwnPropertyDescriptor(u,a){var f=Reflect.getOwnPropertyDescriptor(u,a);if(f&&"value"in f){var o=n.get(a);o&&(f.value=G(o))}else if(f===void 0){var c=n.get(a),_=c?.v;if(c!==void 0&&_!==T)return{enumerable:!0,configurable:!0,value:_,writable:!0}}return f},has(u,a){if(a===vt)return!0;var f=n.get(a),o=f!==void 0&&f.v!==T||Reflect.has(u,a);if(f!==void 0||g!==null&&(!o||$e(u,a)?.writable)){f===void 0&&(f=l(()=>{var _=o?xe(u[a]):T,d=H(_);return d}),n.set(a,f));var c=G(f);if(c===T)return!1}return o},set(u,a,f,o){var c=n.get(a),_=a in u;if(r&&a==="length")for(var d=f;d<c.v;d+=1){var v=n.get(d+"");v!==void 0?X(v,T):d in u&&(v=l(()=>H(T)),n.set(d+"",v))}if(c===void 0)(!_||$e(u,a)?.writable)&&(c=l(()=>H(void 0)),X(c,xe(f)),n.set(a,c));else{_=c.v!==T;var p=l(()=>xe(f));X(c,p)}var S=Reflect.getOwnPropertyDescriptor(u,a);if(S?.set&&S.set.call(o,f),!_){if(r&&typeof a=="string"){var k=n.get("length"),$=Number(a);Number.isInteger($)&&$>=k.v&&X(k,$+1)}Et(i)}return!0},ownKeys(u){G(i);var a=Reflect.ownKeys(u).filter(c=>{var _=n.get(c);return _===void 0||_.v!==T});for(var[f,o]of n)o.v!==T&&!(f in u)&&a.push(f);return a},setPrototypeOf(){lr()}})}var an,un,fn,on;function bt(){if(an===void 0){an=window,un=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;fn=$e(t,"firstChild").get,on=$e(t,"nextSibling").get,qt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),qt(n)&&(n.__t=void 0)}}function Se(e=""){return document.createTextNode(e)}function ke(e){return fn.call(e)}function de(e){return on.call(e)}function M(e,t){if(!E)return ke(e);var n=ke(b);return n===null&&(n=b.appendChild(Se())),te(n),n}function cn(e,t){if(!E){var n=ke(e);return n instanceof Comment&&n.data===""?de(n):n}return b}function Ne(e,t=1,n=!1){let r=E?b:e;for(var i;t--;)i=r,r=de(r);if(!E)return r;if(n&&r?.nodeType!==Bt){var s=Se();return r===null?i?.after(s):r.before(s),te(s),s}return te(r),r}function xr(e){e.textContent=""}function Sr(){return!1}function Tt(e){var t=m,n=g;F(null),B(null);try{return e()}finally{F(t),B(n)}}function kr(e){g===null&&m===null&&nr(),m!==null&&(m.f&D)!==0&&g===null&&tr(),ve&&er()}function Nr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function U(e,t,n,r=!0){var i=g;i!==null&&(i.f&Q)!==0&&(e|=Q);var s={ctx:Y,deps:null,nodes_start:null,nodes_end:null,f:e|j,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Re(s),s.f|=ft}catch(a){throw re(s),a}else t!==null&&Te(s);if(r){var l=s;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&be)===0&&(l=l.first),l!==null&&(l.parent=i,i!==null&&Nr(l,i),m!==null&&(m.f&C)!==0&&(e&J)===0)){var u=m;(u.effects??=[]).push(l)}}return s}function Or(e){const t=U(ut,null,!1);return A(t,O),t.teardown=e,t}function Rr(e){kr();var t=g.f,n=!m&&(t&W)!==0&&(t&ft)===0;if(n){var r=Y;(r.e??=[]).push(e)}else return dn(e)}function dn(e){return U(at|zn,e,!1)}function Ar(e){fe.ensure();const t=U(J|be,e,!0);return()=>{re(t)}}function Cr(e){fe.ensure();const t=U(J|be,e,!0);return(n={})=>new Promise(r=>{n.outro?pn(t,()=>{re(t),r(void 0)}):(re(t),r(void 0))})}function Pr(e){return U(at,e,!1)}function Mr(e){return U(dt|be,e,!0)}function Ir(e,t=0){return U(ut|t,e,!0)}function Qe(e,t=[],n=[]){$r(t,n,r=>{U(ut,()=>e(...r.map(G)),!0)})}function Lr(e,t=0){var n=U(Ee|t,e,!0);return n}function xt(e,t=!0){return U(W|be,e,!0,t)}function vn(e){var t=e.teardown;if(t!==null){const n=ve,r=m;yn(!0),F(null);try{t.call(null)}finally{yn(n),F(r)}}}function _n(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Tt(()=>{i.abort(_t)});var r=n.next;(n.f&J)!==0?n.parent=null:re(n,t),n=r}}function Dr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&W)===0&&re(t),t=n}}function re(e,t=!0){var n=!1;(t||(e.f&Xn)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(jr(e.nodes_start,e.nodes_end),n=!0),_n(e,t&&!n),tt(e,0),A(e,le);var r=e.transitions;if(r!==null)for(const s of r)s.stop();vn(e);var i=e.parent;i!==null&&i.first!==null&&hn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function jr(e,t){for(;e!==null;){var n=e===t?null:de(e);e.remove(),e=n}}function hn(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 pn(e,t){var n=[];gn(e,n,!0),Fr(n,()=>{re(e),t&&t()})}function Fr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function gn(e,t,n){if((e.f&Q)===0){if(e.f^=Q,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ot)!==0||(r.f&W)!==0;gn(r,t,s?n:!1),r=i}}}function qr(e){mn(e,!0)}function mn(e,t){if((e.f&Q)!==0){e.f^=Q,(e.f&O)===0&&(A(e,j),Te(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ot)!==0||(n.f&W)!==0;mn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let Oe=!1;function wn(e){Oe=e}let ve=!1;function yn(e){ve=e}let m=null,_e=!1;function F(e){m=e}let g=null;function B(e){g=e}let z=null;function Yr(e){m!==null&&(z===null?z=[e]:z.push(e))}let R=null,I=0,q=null;function Hr(e){q=e}let $n=1,Le=0,he=Le;function En(e){he=e}let ie=!1;function bn(){return++$n}function et(e){var t=e.f;if((t&j)!==0)return!0;if((t&Z)!==0){var n=e.deps,r=(t&D)!==0;if(n!==null){var i,s,l=(t&Ge)!==0,u=r&&g!==null&&!ie,a=n.length;if((l||u)&&(g===null||(g.f&le)===0)){var f=e,o=f.parent;for(i=0;i<a;i++)s=n[i],(l||!s?.reactions?.includes(f))&&(s.reactions??=[]).push(f);l&&(f.f^=Ge),u&&o!==null&&(o.f&D)===0&&(f.f^=D)}for(i=0;i<a;i++)if(s=n[i],et(s)&&Qt(s),s.wv>e.wv)return!0}(!r||g!==null&&!ie)&&A(e,O)}return!1}function Tn(e,t,n=!0){var r=e.reactions;if(r!==null&&!z?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&C)!==0?Tn(s,t,!1):t===s&&(n?A(s,j):(s.f&O)!==0&&A(s,Z),Te(s))}}function xn(e){var t=R,n=I,r=q,i=m,s=ie,l=z,u=Y,a=_e,f=he,o=e.f;R=null,I=0,q=null,ie=(o&D)!==0&&(_e||!Oe||m===null),m=(o&(W|J))===0?e:null,z=null,ze(e.ctx),_e=!1,he=++Le,e.ac!==null&&(Tt(()=>{e.ac.abort(_t)}),e.ac=null);try{e.f|=ct;var c=e.fn,_=c(),d=e.deps;if(R!==null){var v;if(tt(e,I),d!==null&&I>0)for(d.length=I+R.length,v=0;v<R.length;v++)d[I+v]=R[v];else e.deps=d=R;if(!ie||(o&C)!==0&&e.reactions!==null)for(v=I;v<d.length;v++)(d[v].reactions??=[]).push(e)}else d!==null&&I<d.length&&(tt(e,I),d.length=I);if(Xt()&&q!==null&&!_e&&d!==null&&(e.f&(C|Z|j))===0)for(v=0;v<q.length;v++)Tn(q[v],e);return i!==null&&i!==e&&(Le++,q!==null&&(r===null?r=q:r.push(...q))),(e.f&ae)!==0&&(e.f^=ae),_}catch(p){return _r(p)}finally{e.f^=ct,R=t,I=n,q=r,m=i,ie=s,z=l,ze(u),_e=a,he=f}}function Ur(e,t){let n=t.reactions;if(n!==null){var r=Hn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&C)!==0&&(R===null||!R.includes(t))&&(A(t,Z),(t.f&(D|Ge))===0&&(t.f^=Ge),Zt(t),tt(t,0))}function tt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ur(e,n[r])}function Re(e){var t=e.f;if((t&le)===0){A(e,O);var n=g,r=Oe;g=e,Oe=!0;try{(t&Ee)!==0?Dr(e):_n(e),vn(e);var i=xn(e);e.teardown=typeof i=="function"?i:null,e.wv=$n;var s;Dt&&dr&&(e.f&j)!==0&&e.deps}finally{Oe=r,g=n}}}function G(e){var t=e.f,n=(t&C)!==0;if(m!==null&&!_e){var r=g!==null&&(g.f&le)!==0;if(!r&&!z?.includes(e)){var i=m.deps;if((m.f&ct)!==0)e.rv<Le&&(e.rv=Le,R===null&&i!==null&&i[I]===e?I++:R===null?R=[e]:(!ie||!R.includes(e))&&R.push(e));else{(m.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[m]:s.includes(m)||s.push(m)}}}else if(n&&e.deps===null&&e.effects===null){var l=e,u=l.parent;u!==null&&(u.f&D)===0&&(l.f^=D)}if(ve){if(ne.has(e))return ne.get(e);if(n){l=e;var a=l.v;return((l.f&O)===0&&l.reactions!==null||Sn(l))&&(a=gt(l)),ne.set(l,a),a}}else n&&(l=e,et(l)&&Qt(l));if((e.f&ae)!==0)throw e.v;return e.v}function Sn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ne.has(t)||(t.f&C)!==0&&Sn(t))return!0;return!1}const Br=-7169;function A(e,t){e.f=e.f&Br|t}const kn=new Set,St=new Set;function Gr(e,t,n,r={}){function i(s){if(r.capture||De.call(t,s),!s.cancelBubble)return Tt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?pr(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Vr(e,t,n,r,i){var s={capture:r,passive:i},l=Gr(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Or(()=>{t.removeEventListener(e,l,s)})}function Wr(e){for(var t=0;t<e.length;t++)kn.add(e[t]);for(var n of St)n(e)}let Nn=null;function De(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Nn=e;var l=0,u=Nn===e&&e.__root;if(u){var a=i.indexOf(u);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;a<=f&&(l=a)}if(s=i[l]||e.target,s!==t){ye(e,"currentTarget",{configurable:!0,get(){return s||n}});var o=m,c=g;F(null),B(null);try{for(var _,d=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+r];if(p!=null&&(!s.disabled||e.target===s))if(jt(p)){var[S,...k]=p;S.apply(s,[e,...k])}else p.call(s,e)}catch($){_?d.push($):_=$}if(e.cancelBubble||v===t||v===null)break;s=v}if(_){for(let $ of d)queueMicrotask(()=>{throw $});throw _}}finally{e.__root=t,delete e.currentTarget,F(o),B(c)}}}function Xr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ae(e,t){var n=g;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function je(e,t){var n=(t&Fn)!==0,r=(t&qn)!==0,i,s=!e.startsWith("<!>");return()=>{if(E)return Ae(b,null),b;i===void 0&&(i=Xr(s?e:"<!>"+e),n||(i=ke(i)));var l=r||un?document.importNode(i,!0):i.cloneNode(!0);if(n){var u=ke(l),a=l.lastChild;Ae(u,a)}else Ae(l,l);return l}}function zr(e=""){if(!E){var t=Se(e+"");return Ae(t,t),t}var n=b;return n.nodeType!==Bt&&(n.before(n=Se()),te(n)),Ae(n,n),n}function pe(e,t){if(E){g.nodes_end=b,Xe();return}e!==null&&e.before(t)}const Kr=["touchstart","touchmove"];function Jr(e){return Kr.includes(e)}function Zr(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function On(e,t){return Rn(e,t)}function Qr(e,t){bt(),t.intro=t.intro??!1;const n=t.target,r=E,i=b;try{for(var s=ke(n);s&&(s.nodeType!==Ve||s.data!==Mt);)s=de(s);if(!s)throw we;ee(!0),te(s),Xe();const l=Rn(e,{...t,anchor:s});if(b===null||b.nodeType!==Ve||b.data!==Lt)throw We(),we;return ee(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(u=>u.startsWith("https://svelte.dev/e/")))throw l;return l!==we&&console.warn("Failed to hydrate: ",l),t.recover===!1&&ir(),bt(),xr(n),ee(!1),On(e,t)}finally{ee(r),te(i)}}const Ce=new Map;function Rn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){bt();var u=new Set,a=c=>{for(var _=0;_<c.length;_++){var d=c[_];if(!u.has(d)){u.add(d);var v=Jr(d);t.addEventListener(d,De,{passive:v});var p=Ce.get(d);p===void 0?(document.addEventListener(d,De,{passive:v}),Ce.set(d,1)):Ce.set(d,p+1)}}};a(Un(kn)),St.add(a);var f=void 0,o=Cr(()=>{var c=n??t.appendChild(Se());return xt(()=>{if(s){Vt({});var _=Y;_.c=s}i&&(r.$$events=i),E&&Ae(c,null),f=e(c,r)||{},E&&(g.nodes_end=b),s&&Wt()}),()=>{for(var _ of u){t.removeEventListener(_,De);var d=Ce.get(_);--d===0?(document.removeEventListener(_,De),Ce.delete(_)):Ce.set(_,d)}St.delete(a),c!==n&&c.parentNode?.removeChild(c)}});return kt.set(f,o),f}let kt=new WeakMap;function ei(e,t){const n=kt.get(e);return n?(kt.delete(e),n(t)):Promise.resolve()}function Nt(e,t,n=!1){E&&Xe();var r=e,i=null,s=null,l=T,u=n?ot:0,a=!1;const f=(d,v=!0)=>{a=!0,_(v,d)};var o=null;function c(){o!==null&&(o.lastChild.remove(),r.before(o),o=null);var d=l?i:s,v=l?s:i;d&&qr(d),v&&pn(v,()=>{l?s=null:i=null})}const _=(d,v)=>{if(l===(l=d))return;let p=!1;if(E){const se=fr(r)===It;!!l===se&&(r=ur(),te(r),ee(!1),p=!0)}var S=Sr(),k=r;if(S&&(o=document.createDocumentFragment(),o.append(k=Se())),l?i??=v&&xt(()=>v(k)):s??=v&&xt(()=>v(k)),S){var $=x,K=l?i:s,ge=l?s:i;K&&$.skipped_effects.delete(K),ge&&$.skipped_effects.add(ge),$.add_callback(c)}else c();p&&ee(!0)};Lr(()=>{a=!1,t(f),a||_(null,null)},u),E&&(r=b)}function Fe(e,t,n,r,i){E&&Xe();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n==="default"?"children":n],l=!0),s===void 0?i!==null&&i(e):s(e,l?()=>r:r)}function ti(e,t){Pr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function ni(e,t){return e==null?null:String(e)}function ri(e,t,n,r){var i=e.__style;if(E||i!==t){var s=ni(t);(!E||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const ii=Symbol("is custom element"),si=Symbol("is html");function Ot(e,t,n,r){var i=li(e);E&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Jn]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Cn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function An(e,t,n){var r=m,i=g;let s=E;E&&ee(!1),F(null),B(null);try{t!=="style"&&(Rt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Cn(e).includes(t):n&&typeof n=="object")?e[t]=n:Ot(e,t,n==null?n:String(n))}finally{F(r),B(i),s&&ee(!0)}}function li(e){return e.__attributes??={[ii]:e.nodeName.includes("-"),[si]:e.namespaceURI===Yn}}var Rt=new Map;function Cn(e){var t=e.getAttribute("is")||e.nodeName,n=Rt.get(t);if(n)return n;Rt.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Bn(i);for(var l in r)r[l].set&&n.push(l);i=Ft(i)}return n}function Pe(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),u;u=e[t],u===void 0&&r!==void 0&&(u=l());var a;a=()=>{var _=e[t];return _===void 0?l():(s=!0,_)};var f=!1,o=Jt(()=>(f=!1,a())),c=g;return(function(_,d){if(arguments.length>0){const v=d?G(o):_;return X(o,v),f=!0,i!==void 0&&(i=v),_}return ve&&f||(c.f&le)!==0?o.v:G(o)})}function ai(e){return new ui(e)}class ui{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var u=Tr(l,!1,!1);return n.set(s,u),u};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return G(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===Kn?!0:(G(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,u){return X(n.get(l)??r(l,u),u),Reflect.set(s,l,u)}});this.#e=(t.hydrate?Qr:On)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&oe(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||ye(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{ei(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let Pn;typeof HTMLElement=="function"&&(Pn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),pe(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=fi(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=nt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ai({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Ar(()=>{Ir(()=>{this.$$r=!0;for(const r of Be(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=nt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=nt(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 Be(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function nt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function oi(e,t,n,r,i,s){let l=class extends Pn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Be(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Be(t).forEach(u=>{ye(l.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(a){a=nt(u,a,t),this.$$d[u]=a;var f=this.$$c;if(f){var o=$e(f,u)?.get;o?f[u]=a:f.$set({[u]:a})}}})}),r.forEach(u=>{ye(l.prototype,u,{get(){return this.$$c?.[u]}})}),e.element=l,l}const ci={version:"0.61.40"};function di(e){const t=e?.repoName.split("/")?.[1]||e?.repoName;if(!t)throw new Error("wrong componentPath "+e?.repoName);if(!e?.version)throw new Error("wrong version "+e?.version);const n=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const r=document.createElement("script");if(r.id=t+"-script",r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e?.local)r.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];r.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${n}`}document.head.appendChild(r)}catch(r){console.warn(r)}}function vi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Me={},At,Mn;function _i(){if(Mn)return At;Mn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g,a=`
3
- `,f="/",o="*",c="",_="comment",d="declaration";At=function(p,S){if(typeof p!="string")throw new TypeError("First argument must be a string");if(!p)return[];S=S||{};var k=1,$=1;function K(w){var h=w.match(t);h&&(k+=h.length);var L=w.lastIndexOf(a);$=~L?w.length-L:$+w.length}function ge(){var w={line:k,column:$};return function(h){return h.position=new se(w),rt(),h}}function se(w){this.start=w,this.end={line:k,column:$},this.source=S.source}se.prototype.content=p;function qe(w){var h=new Error(S.source+":"+k+":"+$+": "+w);if(h.reason=w,h.filename=S.source,h.line=k,h.column=$,h.source=p,!S.silent)throw h}function V(w){var h=w.exec(p);if(h){var L=h[0];return K(L),p=p.slice(L.length),h}}function rt(){V(n)}function it(w){var h;for(w=w||[];h=Ye();)h!==!1&&w.push(h);return w}function Ye(){var w=ge();if(!(f!=p.charAt(0)||o!=p.charAt(1))){for(var h=2;c!=p.charAt(h)&&(o!=p.charAt(h)||f!=p.charAt(h+1));)++h;if(h+=2,c===p.charAt(h-1))return qe("End of comment missing");var L=p.slice(2,h-2);return $+=2,K(L),p=p.slice(h),$+=2,w({type:_,comment:L})}}function st(){var w=ge(),h=V(r);if(h){if(Ye(),!V(i))return qe("property missing ':'");var L=V(s),y=w({type:d,property:v(h[0].replace(e,c)),value:L?v(L[0].replace(e,c)):c});return V(l),y}}function lt(){var w=[];it(w);for(var h;h=st();)h!==!1&&(w.push(h),it(w));return w}return rt(),lt()};function v(p){return p?p.replace(u,c):c}return At}var In;function hi(){if(In)return Me;In=1;var e=Me&&Me.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Me,"__esModule",{value:!0}),Me.default=n;var t=e(_i());function n(r,i){var s=null;if(!r||typeof r!="string")return s;var l=(0,t.default)(r),u=typeof i=="function";return l.forEach(function(a){if(a.type==="declaration"){var f=a.property,o=a.value;u?i(f,o,a):o&&(s=s||{},s[f]=o)}}),s}return Me}var pi=hi();const Ln=vi(pi);Ln.default;var gi=(e,t)=>t(),mi=je('<button style="font-size:20px;border:none"><!></button>'),wi=(e,t)=>t("navbarSlotClick",{side:"left"}),yi=(e,t)=>t("navbarSlotClick",{side:"center"}),$i=je('<img style="height: 30px;vertical-align: middle;" alt=""/>'),Ei=je("<!> ",1),bi=je('<hb-dropdown-simple><span slot="dropdownbutton"><img style="height: 30px;vertical-align: middle;" alt=""/></span></hb-dropdown-simple>',2),Ti=je('<div id="left_side" class="navitem svelte-115fe9" part="left-slot"><div style="padding-left: 10px;"><div id="left_side_content" class="side svelte-115fe9"><!> <span style="cursor:pointer"><!></span></div></div></div> <div id="center_side" part="center-slot" class="navitem svelte-115fe9"><div class="side svelte-115fe9" style="margin:auto;max-width: 100%;"><span style="cursor:pointer"><!></span> <!></div></div> <div id="rigth_side" part="right-slot" class="navitem svelte-115fe9"><div id="rigth_side_content" class="svelte-115fe9"><div class="side svelte-115fe9"><!> <!></div></div></div>',1);const xi={hash:"svelte-115fe9",code:'@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;width:100%;display:block;background-color:#f1f1f1;width:100%;height:30px;display:block;padding:10px 0px 10px 0px;}.side.svelte-115fe9 {position:relative;z-index:1;max-width:33%;}#left_side.svelte-115fe9 {text-align:left;}#center_side.svelte-115fe9 {text-align:center;}#rigth_side.svelte-115fe9 {text-align:right;}#rigth_side_content.svelte-115fe9 {display:inline-block;padding-right:10px;z-index:3;}#left_side_content.svelte-115fe9 {z-index:3;position:relative;}.navitem.svelte-115fe9 {position:absolute;width:100%;color:white;line-height:30px;font-size:22px;color:black;}'};function Dn(e,t){Vt(t,!0),ti(e,xi);/**
1
+ (function(Lt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Yn=1,Hn=2,Dt="[",Mt="[!",It="]",ye={},T=Symbol(),Un="http://www.w3.org/1999/xhtml",jt=!1;var Ft=Array.isArray,Wn=Array.prototype.indexOf,Bn=Array.from,Be=Object.keys,be=Object.defineProperty,Ee=Object.getOwnPropertyDescriptor,Gn=Object.getOwnPropertyDescriptors,Vn=Object.prototype,Xn=Array.prototype,qt=Object.getPrototypeOf,Yt=Object.isExtensible;function Ht(e){for(var t=0;t<e.length;t++)e[t]()}function zn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const A=2,ot=4,ut=8,$e=16,V=32,K=64,Ut=128,I=256,Ge=512,C=1024,j=2048,Z=4096,Q=8192,le=16384,ft=32768,ct=65536,Wt=1<<17,Jn=1<<18,Te=1<<19,Kn=1<<20,vt=1<<21,dt=1<<22,ae=1<<23,ht=Symbol("$state"),Zn=Symbol("legacy props"),Qn=Symbol(""),_t=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Bt=3,Ve=8;function er(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function tr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function nr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function rr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ir(e){throw new Error("https://svelte.dev/e/effect_orphan")}function sr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function lr(){throw new Error("https://svelte.dev/e/hydration_failed")}function ar(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function or(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ur(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Xe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let E=!1;function ee(e){E=e}let $;function te(e){if(e===null)throw Xe(),ye;return $=e}function ze(){return te(ve($))}function P(e){if(E){if(ve($)!==null)throw Xe(),ye;$=e}}function fr(){for(var e=0,t=$;;){if(t.nodeType===Ve){var n=t.data;if(n===It){if(e===0)return t;e-=1}else(n===Dt||n===Mt)&&(e+=1)}var r=ve(t);t.remove(),t=r}}function cr(e){if(!e||e.nodeType!==Ve)throw Xe(),ye;return e.data}function Gt(e){return e===this.v}function vr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function dr(e){return!vr(e,this.v)}let hr=!1,Y=null;function Je(e){Y=e}function Vt(e,t=!1,n){Y={p:Y,c:null,e:null,s:e,x:null,l:null}}function Xt(e){var t=Y,n=t.e;if(n!==null){t.e=null;for(var r of n)dn(r)}return e!==void 0&&(t.x=e),Y=t.p,e??{}}function zt(){return!0}const _r=new WeakMap;function pr(e){var t=g;if(t===null)return m.f|=ae,e;if((t.f&ft)===0){if((t.f&Ut)===0)throw!t.parent&&e instanceof Error&&Jt(e),e;t.b.error(e)}else pt(e,t)}function pt(e,t){for(;t!==null;){if((t.f&Ut)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&Jt(e),e}function Jt(e){const t=_r.get(e);t&&(be(e,"message",{value:t.message}),be(e,"stack",{value:t.stack}))}let Me=[],gt=[];function Kt(){var e=Me;Me=[],Ht(e)}function gr(){var e=gt;gt=[],Ht(e)}function mr(e){Me.length===0&&queueMicrotask(Kt),Me.push(e)}function wr(){Me.length>0&&Kt(),gt.length>0&&gr()}function yr(){const e=g.b;return e===null&&er(),e}function Zt(e){var t=A|j,n=m!==null&&(m.f&A)!==0?m:null;return g===null||n!==null&&(n.f&I)!==0?t|=I:g.f|=Te,{ctx:Y,deps:null,effects:null,equals:Gt,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??g,ac:null}}function br(e,t){let n=g;n===null&&tr();var r=n.b,i=void 0,s=bt(T),l=null,o=!m;return Mr(()=>{try{var a=e();l&&Promise.resolve(a).catch(()=>{})}catch(d){a=Promise.reject(d)}var u=()=>a;i=l?.then(u,u)??Promise.resolve(a),l=i;var f=x,v=r.is_pending();o&&(r.update_pending_count(1),v||f.increment());const c=(d,h=void 0)=>{l=null,v||f.activate(),h?h!==_t&&(s.f|=ae,Et(s,h)):((s.f&ae)!==0&&(s.f^=ae),Et(s,d)),o&&(r.update_pending_count(-1),v||f.decrement()),tn()};if(i.then(c,d=>c(null,d||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(a=>{function u(f){function v(){f===i?a(s):u(i)}f.then(v,v)}u(i)})}function Qt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)re(t[n])}}function Er(e){for(var t=e.parent;t!==null;){if((t.f&A)===0)return t;t=t.parent}return null}function mt(e){var t,n=g;W(Er(e));try{Qt(e),t=kn(e)}finally{W(n)}return t}function en(e){var t=mt(e);if(e.equals(t)||(e.v=t,e.wv=Tn()),!de){var n=(ie||(e.f&I)!==0)&&e.deps!==null?Z:C;S(e,n)}}function $r(e,t,n){const r=Zt;if(t.length===0){n(e.map(r));return}var i=x,s=g,l=Tr(),o=yr();Promise.all(t.map(a=>br(a))).then(a=>{i?.activate(),l();try{n([...e.map(r),...a])}catch(u){(s.f&le)===0&&pt(u,s)}i?.deactivate(),tn()}).catch(a=>{o.error(a)})}function Tr(){var e=g,t=m,n=Y,r=x;return function(){W(e),F(t),Je(n),r?.activate()}}function tn(){W(null),F(null),Je(null)}const wt=new Set;let x=null,nn=new Set,Ke=[];function rn(){const e=Ke.shift();Ke.length>0&&queueMicrotask(rn),e()}let oe=[],Ze=null,yt=!1,Qe=!1;class ue{current=new Map;#t=new Map;#e=new Set;#n=0;#u=null;#f=!1;#i=[];#l=[];#s=[];#r=[];#a=[];#c=[];#v=[];skipped_effects=new Set;process(t){oe=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#n===0){this.#d();var n=this.#s,r=this.#r;this.#s=[],this.#r=[],this.#a=[],x=null,ln(n),ln(r),x===null?x=this:wt.delete(this),this.#u?.resolve()}else this.#o(this.#s),this.#o(this.#r),this.#o(this.#a);for(const i of this.#i)Se(i);for(const i of this.#l)Se(i);this.#i=[],this.#l=[]}#h(t){t.f^=C;for(var n=t.first;n!==null;){var r=n.f,i=(r&(V|K))!==0,s=i&&(r&C)!==0,l=s||(r&Q)!==0||this.skipped_effects.has(n);if(!l&&n.fn!==null){if(i)n.f^=C;else if((r&ot)!==0)this.#r.push(n);else if((r&C)===0)if((r&dt)!==0){var o=n.b?.is_pending()?this.#l:this.#i;o.push(n)}else tt(n)&&((n.f&$e)!==0&&this.#a.push(n),Se(n));var a=n.first;if(a!==null){n=a;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)n=u.next,u=u.parent}}#o(t){for(const n of t)((n.f&j)!==0?this.#c:this.#v).push(n),S(n,C);t.length=0}capture(t,n){this.#t.has(t)||this.#t.set(t,n),this.current.set(t,t.v)}activate(){x=this}deactivate(){x=null;for(const t of nn)if(nn.delete(t),t(),x!==null)break}neuter(){this.#f=!0}flush(){oe.length>0?sn():this.#d(),x===this&&(this.#n===0&&wt.delete(this),this.deactivate())}#d(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const t of this.#c)S(t,j),xe(t);for(const t of this.#v)S(t,Z),xe(t);this.#s=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=zn()).promise}static ensure(){if(x===null){const t=x=new ue;wt.add(x),Qe||ue.enqueue(()=>{x===t&&t.flush()})}return x}static enqueue(t){Ke.length===0&&queueMicrotask(rn),Ke.unshift(t)}}function fe(e){var t=Qe;Qe=!0;try{for(var n;;){if(wr(),oe.length===0&&(x?.flush(),oe.length===0))return Ze=null,n;sn()}}finally{Qe=t}}function sn(){var e=Re;yt=!0;try{var t=0;for(yn(!0);oe.length>0;){var n=ue.ensure();if(t++>1e3){var r,i;xr()}n.process(oe),ne.clear()}}finally{yt=!1,yn(e),Ze=null}}function xr(){try{sr()}catch(e){pt(e,Ze)}}let ce=null;function ln(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(le|Q))===0&&tt(r)&&(ce=[],Se(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?pn(r):r.fn=null),ce?.length>0)){ne.clear();for(const i of ce)Se(i);ce=[]}}ce=null}}function xe(e){for(var t=Ze=e;t.parent!==null;){t=t.parent;var n=t.f;if(yt&&t===g&&(n&$e)!==0)return;if((n&(K|V))!==0){if((n&C)===0)return;t.f^=C}}oe.push(t)}const ne=new Map;function bt(e,t){var n={f:0,v:e,reactions:null,equals:Gt,rv:0,wv:0};return n}function H(e,t){const n=bt(e);return Ur(n),n}function kr(e,t=!1,n=!0){const r=bt(e);return t||(r.equals=dr),r}function X(e,t,n=!1){m!==null&&(!he||(m.f&Wt)!==0)&&zt()&&(m.f&(A|$e|dt|Wt))!==0&&!z?.includes(e)&&ur();let r=n?ke(t):t;return Et(e,r)}function Et(e,t){if(!e.equals(t)){var n=e.v;de?ne.set(e,t):ne.set(e,n),e.v=t;var r=ue.ensure();r.capture(e,n),(e.f&A)!==0&&((e.f&j)!==0&&mt(e),S(e,(e.f&I)===0?C:Z)),e.wv=Tn(),an(e,j),g!==null&&(g.f&C)!==0&&(g.f&(V|K))===0&&(q===null?Wr([e]):q.push(e))}return t}function $t(e){X(e,e.v+1)}function an(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,o=(l&j)===0;o&&S(s,t),(l&A)!==0?an(s,Z):o&&((l&$e)!==0&&ce!==null&&ce.push(s),xe(s))}}function ke(e){if(typeof e!="object"||e===null||ht in e)return e;const t=qt(e);if(t!==Vn&&t!==Xn)return e;var n=new Map,r=Ft(e),i=H(0),s=_e,l=o=>{if(_e===s)return o();var a=m,u=_e;F(null),$n(s);var f=o();return F(a),$n(u),f};return r&&n.set("length",H(e.length)),new Proxy(e,{defineProperty(o,a,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&ar();var f=n.get(a);return f===void 0?f=l(()=>{var v=H(u.value);return n.set(a,v),v}):X(f,u.value,!0),!0},deleteProperty(o,a){var u=n.get(a);if(u===void 0){if(a in o){const f=l(()=>H(T));n.set(a,f),$t(i)}}else X(u,T),$t(i);return!0},get(o,a,u){if(a===ht)return e;var f=n.get(a),v=a in o;if(f===void 0&&(!v||Ee(o,a)?.writable)&&(f=l(()=>{var d=ke(v?o[a]:T),h=H(d);return h}),n.set(a,f)),f!==void 0){var c=B(f);return c===T?void 0:c}return Reflect.get(o,a,u)},getOwnPropertyDescriptor(o,a){var u=Reflect.getOwnPropertyDescriptor(o,a);if(u&&"value"in u){var f=n.get(a);f&&(u.value=B(f))}else if(u===void 0){var v=n.get(a),c=v?.v;if(v!==void 0&&c!==T)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(o,a){if(a===ht)return!0;var u=n.get(a),f=u!==void 0&&u.v!==T||Reflect.has(o,a);if(u!==void 0||g!==null&&(!f||Ee(o,a)?.writable)){u===void 0&&(u=l(()=>{var c=f?ke(o[a]):T,d=H(c);return d}),n.set(a,u));var v=B(u);if(v===T)return!1}return f},set(o,a,u,f){var v=n.get(a),c=a in o;if(r&&a==="length")for(var d=u;d<v.v;d+=1){var h=n.get(d+"");h!==void 0?X(h,T):d in o&&(h=l(()=>H(T)),n.set(d+"",h))}if(v===void 0)(!c||Ee(o,a)?.writable)&&(v=l(()=>H(void 0)),X(v,ke(u)),n.set(a,v));else{c=v.v!==T;var p=l(()=>ke(u));X(v,p)}var k=Reflect.getOwnPropertyDescriptor(o,a);if(k?.set&&k.set.call(f,u),!c){if(r&&typeof a=="string"){var N=n.get("length"),b=Number(a);Number.isInteger(b)&&b>=N.v&&X(N,b+1)}$t(i)}return!0},ownKeys(o){B(i);var a=Reflect.ownKeys(o).filter(v=>{var c=n.get(v);return c===void 0||c.v!==T});for(var[u,f]of n)f.v!==T&&!(u in o)&&a.push(u);return a},setPrototypeOf(){or()}})}var on,un,fn,cn;function Tt(){if(on===void 0){on=window,un=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;fn=Ee(t,"firstChild").get,cn=Ee(t,"nextSibling").get,Yt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Yt(n)&&(n.__t=void 0)}}function Ne(e=""){return document.createTextNode(e)}function Oe(e){return fn.call(e)}function ve(e){return cn.call(e)}function L(e,t){if(!E)return Oe(e);var n=Oe($);return n===null&&(n=$.appendChild(Ne())),te(n),n}function vn(e,t){if(!E){var n=Oe(e);return n instanceof Comment&&n.data===""?ve(n):n}return $}function Ce(e,t=1,n=!1){let r=E?$:e;for(var i;t--;)i=r,r=ve(r);if(!E)return r;if(n&&r?.nodeType!==Bt){var s=Ne();return r===null?i?.after(s):r.before(s),te(s),s}return te(r),r}function Nr(e){e.textContent=""}function Or(){return!1}function xt(e){var t=m,n=g;F(null),W(null);try{return e()}finally{F(t),W(n)}}function Cr(e){g===null&&m===null&&ir(),m!==null&&(m.f&I)!==0&&g===null&&rr(),de&&nr()}function Rr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function U(e,t,n,r=!0){var i=g;i!==null&&(i.f&Q)!==0&&(e|=Q);var s={ctx:Y,deps:null,nodes_start:null,nodes_end:null,f:e|j,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Se(s),s.f|=ft}catch(a){throw re(s),a}else t!==null&&xe(s);if(r){var l=s;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&Te)===0&&(l=l.first),l!==null&&(l.parent=i,i!==null&&Rr(l,i),m!==null&&(m.f&A)!==0&&(e&K)===0)){var o=m;(o.effects??=[]).push(l)}}return s}function Sr(e){const t=U(ut,null,!1);return S(t,C),t.teardown=e,t}function Ar(e){Cr();var t=g.f,n=!m&&(t&V)!==0&&(t&ft)===0;if(n){var r=Y;(r.e??=[]).push(e)}else return dn(e)}function dn(e){return U(ot|Kn,e,!1)}function Pr(e){ue.ensure();const t=U(K|Te,e,!0);return()=>{re(t)}}function Lr(e){ue.ensure();const t=U(K|Te,e,!0);return(n={})=>new Promise(r=>{n.outro?gn(t,()=>{re(t),r(void 0)}):(re(t),r(void 0))})}function Dr(e){return U(ot,e,!1)}function Mr(e){return U(dt|Te,e,!0)}function Ir(e,t=0){return U(ut|t,e,!0)}function et(e,t=[],n=[]){$r(t,n,r=>{U(ut,()=>e(...r.map(B)),!0)})}function jr(e,t=0){var n=U($e|t,e,!0);return n}function kt(e,t=!0){return U(V|Te,e,!0,t)}function hn(e){var t=e.teardown;if(t!==null){const n=de,r=m;bn(!0),F(null);try{t.call(null)}finally{bn(n),F(r)}}}function _n(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&xt(()=>{i.abort(_t)});var r=n.next;(n.f&K)!==0?n.parent=null:re(n,t),n=r}}function Fr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&V)===0&&re(t),t=n}}function re(e,t=!0){var n=!1;(t||(e.f&Jn)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(qr(e.nodes_start,e.nodes_end),n=!0),_n(e,t&&!n),nt(e,0),S(e,le);var r=e.transitions;if(r!==null)for(const s of r)s.stop();hn(e);var i=e.parent;i!==null&&i.first!==null&&pn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function qr(e,t){for(;e!==null;){var n=e===t?null:ve(e);e.remove(),e=n}}function pn(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 gn(e,t){var n=[];mn(e,n,!0),Yr(n,()=>{re(e),t&&t()})}function Yr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function mn(e,t,n){if((e.f&Q)===0){if(e.f^=Q,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ct)!==0||(r.f&V)!==0;mn(r,t,s?n:!1),r=i}}}function Hr(e){wn(e,!0)}function wn(e,t){if((e.f&Q)!==0){e.f^=Q,(e.f&C)===0&&(S(e,j),xe(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ct)!==0||(n.f&V)!==0;wn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let Re=!1;function yn(e){Re=e}let de=!1;function bn(e){de=e}let m=null,he=!1;function F(e){m=e}let g=null;function W(e){g=e}let z=null;function Ur(e){m!==null&&(z===null?z=[e]:z.push(e))}let R=null,D=0,q=null;function Wr(e){q=e}let En=1,Ie=0,_e=Ie;function $n(e){_e=e}let ie=!1;function Tn(){return++En}function tt(e){var t=e.f;if((t&j)!==0)return!0;if((t&Z)!==0){var n=e.deps,r=(t&I)!==0;if(n!==null){var i,s,l=(t&Ge)!==0,o=r&&g!==null&&!ie,a=n.length;if((l||o)&&(g===null||(g.f&le)===0)){var u=e,f=u.parent;for(i=0;i<a;i++)s=n[i],(l||!s?.reactions?.includes(u))&&(s.reactions??=[]).push(u);l&&(u.f^=Ge),o&&f!==null&&(f.f&I)===0&&(u.f^=I)}for(i=0;i<a;i++)if(s=n[i],tt(s)&&en(s),s.wv>e.wv)return!0}(!r||g!==null&&!ie)&&S(e,C)}return!1}function xn(e,t,n=!0){var r=e.reactions;if(r!==null&&!z?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&A)!==0?xn(s,t,!1):t===s&&(n?S(s,j):(s.f&C)!==0&&S(s,Z),xe(s))}}function kn(e){var t=R,n=D,r=q,i=m,s=ie,l=z,o=Y,a=he,u=_e,f=e.f;R=null,D=0,q=null,ie=(f&I)!==0&&(he||!Re||m===null),m=(f&(V|K))===0?e:null,z=null,Je(e.ctx),he=!1,_e=++Ie,e.ac!==null&&(xt(()=>{e.ac.abort(_t)}),e.ac=null);try{e.f|=vt;var v=e.fn,c=v(),d=e.deps;if(R!==null){var h;if(nt(e,D),d!==null&&D>0)for(d.length=D+R.length,h=0;h<R.length;h++)d[D+h]=R[h];else e.deps=d=R;if(!ie||(f&A)!==0&&e.reactions!==null)for(h=D;h<d.length;h++)(d[h].reactions??=[]).push(e)}else d!==null&&D<d.length&&(nt(e,D),d.length=D);if(zt()&&q!==null&&!he&&d!==null&&(e.f&(A|Z|j))===0)for(h=0;h<q.length;h++)xn(q[h],e);return i!==null&&i!==e&&(Ie++,q!==null&&(r===null?r=q:r.push(...q))),(e.f&ae)!==0&&(e.f^=ae),c}catch(p){return pr(p)}finally{e.f^=vt,R=t,D=n,q=r,m=i,ie=s,z=l,Je(o),he=a,_e=u}}function Br(e,t){let n=t.reactions;if(n!==null){var r=Wn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&A)!==0&&(R===null||!R.includes(t))&&(S(t,Z),(t.f&(I|Ge))===0&&(t.f^=Ge),Qt(t),nt(t,0))}function nt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Br(e,n[r])}function Se(e){var t=e.f;if((t&le)===0){S(e,C);var n=g,r=Re;g=e,Re=!0;try{(t&$e)!==0?Fr(e):_n(e),hn(e);var i=kn(e);e.teardown=typeof i=="function"?i:null,e.wv=En;var s;jt&&hr&&(e.f&j)!==0&&e.deps}finally{Re=r,g=n}}}function B(e){var t=e.f,n=(t&A)!==0;if(m!==null&&!he){var r=g!==null&&(g.f&le)!==0;if(!r&&!z?.includes(e)){var i=m.deps;if((m.f&vt)!==0)e.rv<Ie&&(e.rv=Ie,R===null&&i!==null&&i[D]===e?D++:R===null?R=[e]:(!ie||!R.includes(e))&&R.push(e));else{(m.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[m]:s.includes(m)||s.push(m)}}}else if(n&&e.deps===null&&e.effects===null){var l=e,o=l.parent;o!==null&&(o.f&I)===0&&(l.f^=I)}if(de){if(ne.has(e))return ne.get(e);if(n){l=e;var a=l.v;return((l.f&C)===0&&l.reactions!==null||Nn(l))&&(a=mt(l)),ne.set(l,a),a}}else n&&(l=e,tt(l)&&en(l));if((e.f&ae)!==0)throw e.v;return e.v}function Nn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ne.has(t)||(t.f&A)!==0&&Nn(t))return!0;return!1}const Gr=-7169;function S(e,t){e.f=e.f&Gr|t}const On=new Set,Nt=new Set;function Vr(e,t,n,r={}){function i(s){if(r.capture||je.call(t,s),!s.cancelBubble)return xt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?mr(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Xr(e,t,n,r,i){var s={capture:r,passive:i},l=Vr(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Sr(()=>{t.removeEventListener(e,l,s)})}function zr(e){for(var t=0;t<e.length;t++)On.add(e[t]);for(var n of Nt)n(e)}let Cn=null;function je(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Cn=e;var l=0,o=Cn===e&&e.__root;if(o){var a=i.indexOf(o);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;a<=u&&(l=a)}if(s=i[l]||e.target,s!==t){be(e,"currentTarget",{configurable:!0,get(){return s||n}});var f=m,v=g;F(null),W(null);try{for(var c,d=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+r];if(p!=null&&(!s.disabled||e.target===s))if(Ft(p)){var[k,...N]=p;k.apply(s,[e,...N])}else p.call(s,e)}catch(b){c?d.push(b):c=b}if(e.cancelBubble||h===t||h===null)break;s=h}if(c){for(let b of d)queueMicrotask(()=>{throw b});throw c}}finally{e.__root=t,delete e.currentTarget,F(f),W(v)}}}function Jr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ae(e,t){var n=g;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Fe(e,t){var n=(t&Yn)!==0,r=(t&Hn)!==0,i,s=!e.startsWith("<!>");return()=>{if(E)return Ae($,null),$;i===void 0&&(i=Jr(s?e:"<!>"+e),n||(i=Oe(i)));var l=r||un?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Oe(l),a=l.lastChild;Ae(o,a)}else Ae(l,l);return l}}function Kr(e=""){if(!E){var t=Ne(e+"");return Ae(t,t),t}var n=$;return n.nodeType!==Bt&&(n.before(n=Ne()),te(n)),Ae(n,n),n}function pe(e,t){if(E){g.nodes_end=$,ze();return}e!==null&&e.before(t)}const Zr=["touchstart","touchmove"];function Qr(e){return Zr.includes(e)}function ei(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Rn(e,t){return Sn(e,t)}function ti(e,t){Tt(),t.intro=t.intro??!1;const n=t.target,r=E,i=$;try{for(var s=Oe(n);s&&(s.nodeType!==Ve||s.data!==Dt);)s=ve(s);if(!s)throw ye;ee(!0),te(s),ze();const l=Sn(e,{...t,anchor:s});if($===null||$.nodeType!==Ve||$.data!==It)throw Xe(),ye;return ee(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
+ `).some(o=>o.startsWith("https://svelte.dev/e/")))throw l;return l!==ye&&console.warn("Failed to hydrate: ",l),t.recover===!1&&lr(),Tt(),Nr(n),ee(!1),Rn(e,t)}finally{ee(r),te(i)}}const Pe=new Map;function Sn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){Tt();var o=new Set,a=v=>{for(var c=0;c<v.length;c++){var d=v[c];if(!o.has(d)){o.add(d);var h=Qr(d);t.addEventListener(d,je,{passive:h});var p=Pe.get(d);p===void 0?(document.addEventListener(d,je,{passive:h}),Pe.set(d,1)):Pe.set(d,p+1)}}};a(Bn(On)),Nt.add(a);var u=void 0,f=Lr(()=>{var v=n??t.appendChild(Ne());return kt(()=>{if(s){Vt({});var c=Y;c.c=s}i&&(r.$$events=i),E&&Ae(v,null),u=e(v,r)||{},E&&(g.nodes_end=$),s&&Xt()}),()=>{for(var c of o){t.removeEventListener(c,je);var d=Pe.get(c);--d===0?(document.removeEventListener(c,je),Pe.delete(c)):Pe.set(c,d)}Nt.delete(a),v!==n&&v.parentNode?.removeChild(v)}});return Ot.set(u,f),u}let Ot=new WeakMap;function ni(e,t){const n=Ot.get(e);return n?(Ot.delete(e),n(t)):Promise.resolve()}function Ct(e,t,n=!1){E&&ze();var r=e,i=null,s=null,l=T,o=n?ct:0,a=!1;const u=(d,h=!0)=>{a=!0,c(h,d)};var f=null;function v(){f!==null&&(f.lastChild.remove(),r.before(f),f=null);var d=l?i:s,h=l?s:i;d&&Hr(d),h&&gn(h,()=>{l?s=null:i=null})}const c=(d,h)=>{if(l===(l=d))return;let p=!1;if(E){const se=cr(r)===Mt;!!l===se&&(r=fr(),te(r),ee(!1),p=!0)}var k=Or(),N=r;if(k&&(f=document.createDocumentFragment(),f.append(N=Ne())),l?i??=h&&kt(()=>h(N)):s??=h&&kt(()=>h(N)),k){var b=x,J=l?i:s,me=l?s:i;J&&b.skipped_effects.delete(J),me&&b.skipped_effects.add(me),b.add_callback(v)}else v();p&&ee(!0)};jr(()=>{a=!1,t(u),a||c(null,null)},o),E&&(r=$)}function qe(e,t,n,r,i){E&&ze();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n==="default"?"children":n],l=!0),s===void 0?i!==null&&i(e):s(e,l?()=>r:r)}function ri(e,t){Dr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function ii(e,t){return e==null?null:String(e)}function si(e,t,n,r){var i=e.__style;if(E||i!==t){var s=ii(t);(!E||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const li=Symbol("is custom element"),ai=Symbol("is html");function Rt(e,t,n,r){var i=oi(e);E&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Qn]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Pn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function An(e,t,n){var r=m,i=g;let s=E;E&&ee(!1),F(null),W(null);try{t!=="style"&&(St.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Pn(e).includes(t):n&&typeof n=="object")?e[t]=n:Rt(e,t,n==null?n:String(n))}finally{F(r),W(i),s&&ee(!0)}}function oi(e){return e.__attributes??={[li]:e.nodeName.includes("-"),[ai]:e.namespaceURI===Un}}var St=new Map;function Pn(e){var t=e.getAttribute("is")||e.nodeName,n=St.get(t);if(n)return n;St.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Gn(i);for(var l in r)r[l].set&&n.push(l);i=qt(i)}return n}function Le(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),o;o=e[t],o===void 0&&r!==void 0&&(o=l());var a;a=()=>{var c=e[t];return c===void 0?l():(s=!0,c)};var u=!1,f=Zt(()=>(u=!1,a())),v=g;return(function(c,d){if(arguments.length>0){const h=d?B(f):c;return X(f,h),u=!0,i!==void 0&&(i=h),c}return de&&u||(v.f&le)!==0?f.v:B(f)})}function ui(e){return new fi(e)}class fi{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var o=kr(l,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return B(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===Zn?!0:(B(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,o){return X(n.get(l)??r(l,o),o),Reflect.set(s,l,o)}});this.#e=(t.hydrate?ti:Rn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&fe(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||be(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{ni(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let Ln;typeof HTMLElement=="function"&&(Ln=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),pe(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ci(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=rt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ui({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Pr(()=>{Ir(()=>{this.$$r=!0;for(const r of Be(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=rt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=rt(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 Be(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function rt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ci(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function vi(e,t,n,r,i,s){let l=class extends Ln{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Be(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Be(t).forEach(o=>{be(l.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(a){a=rt(o,a,t),this.$$d[o]=a;var u=this.$$c;if(u){var f=Ee(u,o)?.get;f?u[o]=a:u.$set({[o]:a})}}})}),r.forEach(o=>{be(l.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=l,l}const di={version:"0.61.42"};function hi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ge={},Dn;function _i(){if(Dn)return ge;Dn=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.LanguageTranslator=void 0,ge.getChildStyleToPass=e,ge.addComponent=t;function e(r,i){var s,l,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(c){return Object.keys(r).includes(c.name)}))===null||l===void 0)&&l.length))for(var a=function(c){var d=i?.filter(function(h){return h.name===c&&h.defaultValue!==r[c]});d&&(o+="".concat(c,":").concat(r[c],";"))},u=0,f=Object.keys(r);u<f.length;u++){var v=f[u];a(v)}}catch(c){console.error("error getting child style to pass",c)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var a=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(a+"-",""),"/").concat(l)}document.head.appendChild(o)}catch(u){console.warn(u)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,o,a,u="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(u=(a=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||a===void 0?void 0:a.toLowerCase()),u},r.getDictionaryWord=function(i,s,l){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((o=s[l])===null||o===void 0)&&o[i]))return s[l][i];var a="",u=r.getDefaultLang();if(!l||u!==l){var f=s?.[u];f?.[i]&&(a=f[i])}return a},r.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return o.format(i)},r})();return ge.LanguageTranslator=n,ge}var pi=_i(),De={},At,Mn;function gi(){if(Mn)return At;Mn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,o=/^\s+|\s+$/g,a=`
3
+ `,u="/",f="*",v="",c="comment",d="declaration";At=function(p,k){if(typeof p!="string")throw new TypeError("First argument must be a string");if(!p)return[];k=k||{};var N=1,b=1;function J(w){var _=w.match(t);_&&(N+=_.length);var M=w.lastIndexOf(a);b=~M?w.length-M:b+w.length}function me(){var w={line:N,column:b};return function(_){return _.position=new se(w),it(),_}}function se(w){this.start=w,this.end={line:N,column:b},this.source=k.source}se.prototype.content=p;function Ye(w){var _=new Error(k.source+":"+N+":"+b+": "+w);if(_.reason=w,_.filename=k.source,_.line=N,_.column=b,_.source=p,!k.silent)throw _}function G(w){var _=w.exec(p);if(_){var M=_[0];return J(M),p=p.slice(M.length),_}}function it(){G(n)}function st(w){var _;for(w=w||[];_=He();)_!==!1&&w.push(_);return w}function He(){var w=me();if(!(u!=p.charAt(0)||f!=p.charAt(1))){for(var _=2;v!=p.charAt(_)&&(f!=p.charAt(_)||u!=p.charAt(_+1));)++_;if(_+=2,v===p.charAt(_-1))return Ye("End of comment missing");var M=p.slice(2,_-2);return b+=2,J(M),p=p.slice(_),b+=2,w({type:c,comment:M})}}function lt(){var w=me(),_=G(r);if(_){if(He(),!G(i))return Ye("property missing ':'");var M=G(s),y=w({type:d,property:h(_[0].replace(e,v)),value:M?h(M[0].replace(e,v)):v});return G(l),y}}function at(){var w=[];st(w);for(var _;_=lt();)_!==!1&&(w.push(_),st(w));return w}return it(),at()};function h(p){return p?p.replace(o,v):v}return At}var In;function mi(){if(In)return De;In=1;var e=De&&De.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(De,"__esModule",{value:!0}),De.default=n;var t=e(gi());function n(r,i){var s=null;if(!r||typeof r!="string")return s;var l=(0,t.default)(r),o=typeof i=="function";return l.forEach(function(a){if(a.type==="declaration"){var u=a.property,f=a.value;o?i(u,f,a):f&&(s=s||{},s[u]=f)}}),s}return De}var wi=mi();const jn=hi(wi);jn.default;var yi=(e,t)=>t(),bi=Fe('<button style="font-size:20px;border:none"><!></button>'),Ei=(e,t)=>t("navbarSlotClick",{side:"left"}),$i=(e,t)=>t("navbarSlotClick",{side:"center"}),Ti=Fe('<img style="height: 30px;vertical-align: middle;" alt=""/>'),xi=Fe("<!> ",1),ki=Fe('<hb-dropdown-simple><span slot="dropdownbutton"><img style="height: 30px;vertical-align: middle;" alt=""/></span></hb-dropdown-simple>',2),Ni=Fe('<div id="left_side" class="navitem svelte-115fe9" part="left-slot"><div style="padding-left: 10px;"><div id="left_side_content" class="side svelte-115fe9"><!> <span style="cursor:pointer"><!></span></div></div></div> <div id="center_side" part="center-slot" class="navitem svelte-115fe9"><div class="side svelte-115fe9" style="margin:auto;max-width: 100%;"><span style="cursor:pointer"><!></span> <!></div></div> <div id="rigth_side" part="right-slot" class="navitem svelte-115fe9"><div id="rigth_side_content" class="svelte-115fe9"><div class="side svelte-115fe9"><!> <!></div></div></div>',1);const Oi={hash:"svelte-115fe9",code:'@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");:host {font-family:"Roboto", sans-serif;width:100%;display:block;background-color:#f1f1f1;width:100%;height:30px;display:block;padding:10px 0px 10px 0px;}.side.svelte-115fe9 {position:relative;z-index:1;max-width:33%;}#left_side.svelte-115fe9 {text-align:left;}#center_side.svelte-115fe9 {text-align:center;}#rigth_side.svelte-115fe9 {text-align:right;}#rigth_side_content.svelte-115fe9 {display:inline-block;padding-right:10px;z-index:3;}#left_side_content.svelte-115fe9 {z-index:3;position:relative;}.navitem.svelte-115fe9 {position:absolute;width:100%;color:white;line-height:30px;font-size:22px;color:black;}'};function Fn(e,t){Vt(t,!0),ri(e,Oi);/**
4
4
  * Svelte Video Gallery WebComponent
5
5
  * =====================
6
6
  *
@@ -8,5 +8,5 @@
8
8
  *
9
9
  * @license: MIT License
10
10
  *
11
- */xe({});let n=H(""),r=Pe(t,"id",7,""),i=Pe(t,"noburger",7,void 0),s=Pe(t,"usermenu",7,void 0),l=Pe(t,"companybrandname",7,""),u=Pe(t,"companylogouri",7,""),a=Pe(t,"switchopen",7,void 0),f;Rr(()=>{!a()||a()==="no"?(a("no"),f=!1):f=!0,typeof s()=="string"&&s(JSON.parse(s()))}),di({repoName:"@htmlbricks/hb-dropdown-simple",version:ci.version});function o(y,N){t.$$host.dispatchEvent(new CustomEvent(y,{detail:N}))}function c(){f=!f,o("navmenuswitch",{isOpen:f})}var _={get id(){return r()},set id(y=""){r(y),oe()},get noburger(){return i()},set noburger(y=void 0){i(y),oe()},get usermenu(){return s()},set usermenu(y=void 0){s(y),oe()},get companybrandname(){return l()},set companybrandname(y=""){l(y),oe()},get companylogouri(){return u()},set companylogouri(y=""){u(y),oe()},get switchopen(){return a()},set switchopen(y=void 0){a(y),oe()}},d=Ti(),v=cn(d),p=M(v),S=M(p),k=M(S);{var $=y=>{var N=mi();N.__click=[gi,c];var me=M(N);Fe(me,t,"nav-switcher",{},He=>{var Ue=zr("☰");pe(He,Ue)}),P(N),pe(y,N)};Nt(k,y=>{i()||y($)})}var K=Ne(k,2);K.__click=[wi,o];var ge=M(K);Fe(ge,t,"left-slot",{},null),P(K),P(S),P(p),P(v);var se=Ne(v,2),qe=M(se),V=M(qe);V.__click=[yi,o];var rt=M(V);Fe(rt,t,"brand",{},y=>{var N=Ei(),me=cn(N);{var He=Ct=>{var jn=$i();Qe(()=>Ot(jn,"src",u())),pe(Ct,jn)};Nt(me,Ct=>{u()&&Ct(He)})}var Ue=Ne(me);Qe(()=>Zr(Ue,` ${l()??""}`)),pe(y,N)}),P(V);var it=Ne(V,2);Fe(it,t,"center-slot",{},null),P(qe),P(se);var Ye=Ne(se,2),st=M(Ye),lt=M(st),w=M(lt);Fe(w,t,"right-slot",{},y=>{});var h=Ne(w,2);{var L=y=>{var N=bi();ri(N,G(n)),Qe(()=>An(N,"list",JSON.stringify(s().list))),An(N,"position","right");var me=M(N),He=M(me);P(me),P(N),Qe(()=>Ot(He,"src",s().imgUri)),Vr("dropDownClick",N,Ue=>o("navbarDropDownClick",Ue.detail?.key)),pe(y,N)};Nt(h,y=>{s()&&y(L)})}return P(lt),P(st),P(Ye),pe(e,d),Wt(_)}Wr(["click"]),customElements.define("hb-navbar",oi(Dn,{id:{},noburger:{},usermenu:{},companybrandname:{},companylogouri:{},switchopen:{}},["nav-switcher","left-slot","brand","center-slot","right-slot"],[],!0)),Pt.Component=Dn,Object.defineProperty(Pt,Symbol.toStringTag,{value:"Module"})})(this.navbar=this.navbar||{});
11
+ */ke({});let n=H(""),r=Le(t,"id",7,""),i=Le(t,"noburger",7,void 0),s=Le(t,"usermenu",7,void 0),l=Le(t,"companybrandname",7,""),o=Le(t,"companylogouri",7,""),a=Le(t,"switchopen",7,void 0),u;Ar(()=>{!a()||a()==="no"?(a("no"),u=!1):u=!0,typeof s()=="string"&&s(JSON.parse(s()))}),pi.addComponent({repoName:"@htmlbricks/hb-dropdown-simple",version:di.version});function f(y,O){t.$$host.dispatchEvent(new CustomEvent(y,{detail:O}))}function v(){u=!u,f("navmenuswitch",{isOpen:u})}var c={get id(){return r()},set id(y=""){r(y),fe()},get noburger(){return i()},set noburger(y=void 0){i(y),fe()},get usermenu(){return s()},set usermenu(y=void 0){s(y),fe()},get companybrandname(){return l()},set companybrandname(y=""){l(y),fe()},get companylogouri(){return o()},set companylogouri(y=""){o(y),fe()},get switchopen(){return a()},set switchopen(y=void 0){a(y),fe()}},d=Ni(),h=vn(d),p=L(h),k=L(p),N=L(k);{var b=y=>{var O=bi();O.__click=[yi,v];var we=L(O);qe(we,t,"nav-switcher",{},Ue=>{var We=Kr("☰");pe(Ue,We)}),P(O),pe(y,O)};Ct(N,y=>{i()||y(b)})}var J=Ce(N,2);J.__click=[Ei,f];var me=L(J);qe(me,t,"left-slot",{},null),P(J),P(k),P(p),P(h);var se=Ce(h,2),Ye=L(se),G=L(Ye);G.__click=[$i,f];var it=L(G);qe(it,t,"brand",{},y=>{var O=xi(),we=vn(O);{var Ue=Pt=>{var qn=Ti();et(()=>Rt(qn,"src",o())),pe(Pt,qn)};Ct(we,Pt=>{o()&&Pt(Ue)})}var We=Ce(we);et(()=>ei(We,` ${l()??""}`)),pe(y,O)}),P(G);var st=Ce(G,2);qe(st,t,"center-slot",{},null),P(Ye),P(se);var He=Ce(se,2),lt=L(He),at=L(lt),w=L(at);qe(w,t,"right-slot",{},y=>{});var _=Ce(w,2);{var M=y=>{var O=ki();si(O,B(n)),et(()=>An(O,"list",JSON.stringify(s().list))),An(O,"position","right");var we=L(O),Ue=L(we);P(we),P(O),et(()=>Rt(Ue,"src",s().imgUri)),Xr("dropDownClick",O,We=>f("navbarDropDownClick",We.detail?.key)),pe(y,O)};Ct(_,y=>{s()&&y(M)})}return P(at),P(lt),P(He),pe(e,d),Xt(c)}zr(["click"]),customElements.define("hb-navbar",vi(Fn,{id:{},noburger:{},usermenu:{},companybrandname:{},companylogouri:{},switchopen:{}},["nav-switcher","left-slot","brand","center-slot","right-slot"],[],!0)),Lt.Component=Fn,Object.defineProperty(Lt,Symbol.toStringTag,{value:"Module"})})(this.navbar=this.navbar||{});
12
12
  //# sourceMappingURL=main.iife.js.map