@htmlbricks/hb-navbar 0.61.25 → 0.61.29

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
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.25"};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=`
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.29"};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
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);/**
4
4
  * Svelte Video Gallery WebComponent
5
5
  * =====================
package/manifest.json CHANGED
@@ -252,5 +252,5 @@
252
252
  },
253
253
  "iifePath": "main.iife.js",
254
254
  "repoName": "@htmlbricks/hb-navbar",
255
- "version": "0.61.25"
255
+ "version": "0.61.29"
256
256
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-navbar",
3
- "version": "0.61.25",
3
+ "version": "0.61.29",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [