@htmlbricks/hb-offcanvas 0.61.40 → 0.61.41

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