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