@htmlbricks/hb-layout-mobile 0.66.6 → 0.66.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(Bt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ir=1,sr=4,lr=8,ar=16,or=1,fr=2,Ht="[",Yt="[!",qt="[?",Ut="]",xe={},P=Symbol(),Vt="http://www.w3.org/1999/xhtml",ur=!1;var cr=Array.isArray,hr=Array.prototype.indexOf,Ae=Array.prototype.includes,dr=Array.from,Ze=Object.keys,Qe=Object.defineProperty,ye=Object.getOwnPropertyDescriptor,_r=Object.getOwnPropertyDescriptors,vr=Object.prototype,pr=Array.prototype,zt=Object.getPrototypeOf,Jt=Object.isExtensible;const gr=()=>{};function mr(e){for(var t=0;t<e.length;t++)e[t]()}function Gt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const O=2,Oe=4,et=8,Kt=1<<24,ue=16,Z=32,ce=64,vt=128,H=512,x=1024,D=2048,Q=4096,ee=8192,J=16384,he=32768,Wt=1<<25,Re=65536,Xt=1<<17,wr=1<<18,$e=1<<19,br=1<<20,Ee=65536,pt=1<<21,gt=1<<22,de=1<<23,tt=Symbol("$state"),Zt=Symbol("legacy props"),yr=Symbol(""),ie=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},$r=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),nt=3,rt=8;function Er(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function kr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Tr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Sr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Nr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function xr(){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 Rr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Cr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Pr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function it(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Mr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function _e(e){b=e}let w;function G(e){if(e===null)throw it(),xe;return w=e}function st(){return G(oe(w))}function ve(e){if(b){if(oe(w)!==null)throw it(),xe;w=e}}function Dr(e=1){if(b){for(var t=e,n=w;t--;)n=oe(n);w=n}}function Qt(e=!0){for(var t=0,n=w;;){if(n.nodeType===rt){var r=n.data;if(r===Ut){if(t===0)return n;t-=1}else(r===Ht||r===Yt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=oe(n);e&&n.remove(),n=i}}function Ir(e){if(!e||e.nodeType!==rt)throw it(),xe;return e.data}function en(e){return e===this.v}function Lr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function tn(e){return!Lr(e,this.v)}let Fr=!1,Y=null;function Ce(e){Y=e}function nn(e,t=!1,n){Y={p:Y,i:!1,c:null,e:null,s:e,x:null,r:g,l:null}}function rn(e){var t=Y,n=t.e;if(n!==null){t.e=null;for(var r of n)Sn(r)}return e!==void 0&&(t.x=e),t.i=!0,Y=t.p,e??{}}function sn(){return!0}let ke=[];function ln(){var e=ke;ke=[],mr(e)}function Te(e){if(ke.length===0&&!He){var t=ke;queueMicrotask(()=>{t===ke&&ln()})}ke.push(e)}function jr(){for(;ke.length>0;)ln()}function an(e){var t=g;if(t===null)return p.f|=de,e;if((t.f&he)===0&&(t.f&Oe)===0)throw e;pe(e,t)}function pe(e,t){for(;t!==null;){if((t.f&vt)!==0){if((t.f&he)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Br=-7169;function S(e,t){e.f=e.f&Br|t}function mt(e){(e.f&H)!==0||e.deps===null?S(e,x):S(e,Q)}function on(e){if(e!==null)for(const t of e)(t.f&O)===0||(t.f&Ee)===0||(t.f^=Ee,on(t.deps))}function fn(e,t,n){(e.f&D)!==0?t.add(e):(e.f&Q)!==0&&n.add(e),on(e.deps),S(e,x)}let lt=!1;function Hr(e){var t=lt;try{return lt=!1,[e(),lt]}finally{lt=t}}const ge=new Set;let $=null,K=null,wt=null,He=!1,bt=!1,Pe=null,at=null;var un=0;let Yr=1;class se{id=Yr++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#a=new Set;#o=new Map;is_fork=!1;#c=!1;#f=new Set;#h(){return this.is_fork||this.#i.size>0}#_(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#o.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#o.has(t)||this.#o.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#o.get(t);if(n){this.#o.delete(t);for(var r of n.d)S(r,D),this.schedule(r);for(r of n.m)S(r,Q),this.schedule(r)}}#d(){if(un++>1e3&&(ge.delete(this),qr()),!this.#h()){for(const a of this.#l)this.#a.delete(a),S(a,D),this.schedule(a);for(const a of this.#a)S(a,Q),this.schedule(a)}const t=this.#r;this.#r=[],this.apply();var n=Pe=[],r=[],i=at=[];for(const a of t)try{this.#u(a,n,r)}catch(f){throw vn(a),f}if($=null,i.length>0){var s=se.ensure();for(const a of i)s.schedule(a)}if(Pe=null,at=null,this.#h()||this.#_()){this.#v(r),this.#v(n);for(const[a,f]of this.#o)_n(a,f)}else{this.#t.size===0&&ge.delete(this),this.#l.clear(),this.#a.clear();for(const a of this.#e)a(this);this.#e.clear(),cn(r),cn(n),this.#s?.resolve()}var l=$;if(this.#r.length>0){const a=l??=this;a.#r.push(...this.#r.filter(f=>!a.#r.includes(f)))}l!==null&&(ge.add(l),l.#d()),ge.has(this)||this.#p()}#u(t,n,r){t.f^=x;for(var i=t.first;i!==null;){var s=i.f,l=(s&(Z|ce))!==0,a=l&&(s&x)!==0,f=a||(s&ee)!==0||this.#o.has(i);if(!f&&i.fn!==null){l?i.f^=x:(s&Oe)!==0?n.push(i):Ve(i)&&((s&ue)!==0&&this.#a.add(i),Le(i));var o=i.first;if(o!==null){i=o;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#v(t){for(var n=0;n<t.length;n+=1)fn(t[n],this.#l,this.#a)}capture(t,n,r=!1){n!==P&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&de)===0&&(this.current.set(t,[t.v,r]),K?.set(t,t.v))}activate(){$=this}deactivate(){$=null,K=null}flush(){try{bt=!0,$=this,this.#d()}finally{un=0,wt=null,Pe=null,at=null,bt=!1,$=null,K=null,me.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),ge.delete(this)}#p(){for(const o of ge){var t=o.id<this.id,n=[];for(const[u,[d,c]]of this.current){if(o.current.has(u)){var r=o.current.get(u)[0];if(t&&d!==r)o.current.set(u,[d,c]);else continue}n.push(u)}var i=[...o.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&o.discard();else if(n.length>0){o.activate();var s=new Set,l=new Map;for(var a of n)hn(a,i,s,l);if(o.#r.length>0){o.apply();for(var f of o.#r)o.#u(f,[],[]);o.#r=[]}o.deactivate()}}for(const o of ge)o.#f.has(this)&&(o.#f.delete(this),o.#f.size===0&&!o.#h()&&(o.activate(),o.#d()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,Te(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#a.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Gt()).promise}static ensure(){if($===null){const t=$=new se;bt||(ge.add($),He||Te(()=>{$===t&&t.flush()}))}return $}apply(){{K=null;return}}schedule(t){if(wt=t,t.b?.is_pending&&(t.f&(Oe|et|Kt))!==0&&(t.f&he)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Pe!==null&&n===g&&(p===null||(p.f&O)===0))return;if((r&(ce|Z))!==0){if((r&x)===0)return;n.f^=x}}this.#r.push(n)}}function A(e){var t=He;He=!0;try{for(var n;;){if(jr(),$===null)return n;$.flush()}}finally{He=t}}function qr(){try{Nr()}catch(e){pe(e,wt)}}let le=null;function cn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(J|ee))===0&&Ve(r)&&(le=new Set,Le(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&On(r),le?.size>0)){me.clear();for(const i of le){if((i.f&(J|ee))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)le.has(l)&&(le.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const f=s[a];(f.f&(J|ee))===0&&Le(f)}}le.clear()}}le=null}}function hn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&O)!==0?hn(i,t,n,r):(s&(gt|ue))!==0&&(s&D)===0&&dn(i,t,r)&&(S(i,D),yt(i))}}function dn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(Ae.call(t,i))return!0;if((i.f&O)!==0&&dn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function yt(e){$.schedule(e)}function _n(e,t){if(!((e.f&Z)!==0&&(e.f&x)!==0)){(e.f&D)!==0?t.d.push(e):(e.f&Q)!==0&&t.m.push(e),S(e,x);for(var n=e.first;n!==null;)_n(n,t),n=n.next}}function vn(e){S(e,x);for(var t=e.first;t!==null;)vn(t),t=t.next}function Ur(e){let t=0,n=Ye(0),r;return()=>{At()&&(I(n),Nn(()=>(t===0&&(r=Yn(()=>e(()=>qe(n)))),t+=1,()=>{Te(()=>{t-=1,t===0&&(r?.(),r=void 0,qe(n))})})))}}var Vr=Re|$e;function zr(e,t,n,r){new Jr(e,t,n,r)}class Jr{parent;is_pending=!1;transform_error;#e;#n=b?w:null;#t;#i;#s;#r=null;#l=null;#a=null;#o=null;#c=0;#f=0;#h=!1;#_=new Set;#d=new Set;#u=null;#v=Ur(()=>(this.#u=Ye(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var l=g;l.b=this,l.f|=vt,r(s)},this.parent=g.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=xn(()=>{if(b){const s=this.#n;st();const l=s.data===Yt;if(s.data.startsWith(qt)){const f=JSON.parse(s.data.slice(qt.length));this.#y(f)}else l?this.#$():this.#p()}else this.#w()},Vr),b&&(this.#e=w)}#p(){try{this.#r=fe(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#a=fe(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=fe(()=>t(this.#e)),Te(()=>{var n=this.#o=document.createDocumentFragment(),r=ae();n.append(r),this.#r=this.#m(()=>fe(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#o=null,Ue(this.#l,()=>{this.#l=null}),this.#g($))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=fe(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#o=document.createDocumentFragment();Pn(this.#r,t);const n=this.#t.pending;this.#l=fe(()=>n(this.#e))}else this.#g($)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#_,this.#d)}defer_effect(t){fn(t,this.#_,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#m(t){var n=g,r=p,i=Y;q(this.#s),F(this.#s),Ce(this.#s.ctx);try{return se.ensure(),t()}catch(s){return an(s),null}finally{q(n),F(r),Ce(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#f+=t,this.#f===0&&(this.#g(n),this.#l&&Ue(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#u||this.#h)&&(this.#h=!0,Te(()=>{this.#h=!1,this.#u&&ft(this.#u,this.#c)}))}get_effect_pending(){return this.#v(),I(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(L(this.#r),this.#r=null),this.#l&&(L(this.#l),this.#l=null),this.#a&&(L(this.#a),this.#a=null),b&&(G(this.#n),Dr(),G(Qt()));var i=!1,s=!1;const l=()=>{if(i){Mr();return}i=!0,s&&Pr(),this.#a!==null&&Ue(this.#a,()=>{this.#a=null}),this.#m(()=>{this.#w()})},a=f=>{try{s=!0,n?.(f,l),s=!1}catch(o){pe(o,this.#s&&this.#s.parent)}r&&(this.#a=this.#m(()=>{try{return fe(()=>{var o=g;o.b=this,o.f|=vt,r(this.#e,()=>f,()=>l)})}catch(o){return pe(o,this.#s.parent),null}}))};Te(()=>{var f;try{f=this.transform_error(t)}catch(o){pe(o,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(a,o=>pe(o,this.#s&&this.#s.parent)):a(f)})}}function Gr(e,t,n,r){const i=$t;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var l=g,a=Kr(),f=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function o(c){a();try{r(c)}catch(_){(l.f&J)===0&&pe(_,l)}ot()}if(n.length===0){f.then(()=>o(t.map(i)));return}var u=pn();function d(){Promise.all(n.map(c=>Wr(c))).then(c=>o([...t.map(i),...c])).catch(c=>pe(c,l)).finally(()=>u())}f?f.then(()=>{a(),d(),ot()}):d()}function Kr(){var e=g,t=p,n=Y,r=$;return function(s=!0){q(e),F(t),Ce(n),s&&(e.f&J)===0&&(r?.activate(),r?.apply())}}function ot(e=!0){q(null),F(null),Ce(null),e&&$?.deactivate()}function pn(){var e=g,t=e.b,n=$,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function $t(e){var t=O|D,n=p!==null&&(p.f&O)!==0?p:null;return g!==null&&(g.f|=$e),{ctx:Y,deps:null,effects:null,equals:en,f:t,fn:e,reactions:null,rv:0,v:P,wv:0,parent:n??g,ac:null}}function Wr(e,t,n){let r=g;r===null&&Er();var i=void 0,s=Ye(P),l=!p,a=new Map;return hi(()=>{var f=g,o=Gt();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).finally(ot)}catch(_){o.reject(_),ot()}var u=$;if(l){if((f.f&he)!==0)var d=pn();if(r.b.is_rendered())a.get(u)?.reject(ie),a.delete(u);else{for(const _ of a.values())_.reject(ie);a.clear()}a.set(u,o)}const c=(_,v=void 0)=>{if(d){var m=v===ie;d(m)}if(!(v===ie||(f.f&J)!==0)){if(u.activate(),v)s.f|=de,ft(s,v);else{(s.f&de)!==0&&(s.f^=de),ft(s,_);for(const[y,M]of a){if(a.delete(y),y===u)break;M.reject(ie)}}u.deactivate()}};o.promise.then(c,_=>c(null,_||"unknown"))}),Tn(()=>{for(const f of a.values())f.reject(ie)}),new Promise(f=>{function o(u){function d(){u===i?f(s):o(i)}u.then(d,d)}o(i)})}function Xr(e){const t=$t(e);return t.equals=tn,t}function Zr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function Qr(e){for(var t=e.parent;t!==null;){if((t.f&O)===0)return(t.f&J)===0?t:null;t=t.parent}return null}function Et(e){var t,n=g;q(Qr(e));try{e.f&=~Ee,Zr(e),t=jn(e)}finally{q(n)}return t}function gn(e){var t=e.v,n=Et(e);if(!e.equals(n)&&(e.wv=Ln(),(!$?.is_fork||e.deps===null)&&(e.v=n,$?.capture(e,t,!0),e.deps===null))){S(e,x);return}be||(K!==null?(At()||$?.is_fork)&&K.set(e,n):mt(e))}function ei(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(ie),t.teardown=gr,t.ac=null,ze(t,0),Ot(t))}function mn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Le(t)}let kt=new Set;const me=new Map;let wn=!1;function Ye(e,t){var n={f:0,v:e,reactions:null,equals:en,rv:0,wv:0};return n}function te(e,t){const n=Ye(e);return pi(n),n}function ti(e,t=!1,n=!0){const r=Ye(e);return t||(r.equals=tn),r}function W(e,t,n=!1){p!==null&&(!X||(p.f&Xt)!==0)&&sn()&&(p.f&(O|ue|gt|Xt))!==0&&(U===null||!Ae.call(U,e))&&Cr();let r=n?Me(t):t;return ft(e,r,at)}function ft(e,t,n=null){if(!e.equals(t)){var r=e.v;be?me.set(e,t):me.set(e,r),e.v=t;var i=se.ensure();if(i.capture(e,r),(e.f&O)!==0){const s=e;(e.f&D)!==0&&Et(s),K===null&&mt(s)}e.wv=Ln(),bn(e,D,n),g!==null&&(g.f&x)!==0&&(g.f&(Z|ce))===0&&(V===null?gi([e]):V.push(e)),!i.is_fork&&kt.size>0&&!wn&&ni()}return t}function ni(){wn=!1;for(const e of kt)(e.f&x)!==0&&S(e,Q),Ve(e)&&Le(e);kt.clear()}function qe(e){W(e,e.v+1)}function bn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var l=r[s],a=l.f,f=(a&D)===0;if(f&&S(l,t),(a&O)!==0){var o=l;K?.delete(o),(a&Ee)===0&&(a&H&&(l.f|=Ee),bn(o,Q,n))}else if(f){var u=l;(a&ue)!==0&&le!==null&&le.add(u),n!==null?n.push(u):yt(u)}}}function Me(e){if(typeof e!="object"||e===null||tt in e)return e;const t=zt(e);if(t!==vr&&t!==pr)return e;var n=new Map,r=cr(e),i=te(0),s=Ne,l=a=>{if(Ne===s)return a();var f=p,o=Ne;F(null),In(s);var u=a();return F(f),In(o),u};return r&&n.set("length",te(e.length)),new Proxy(e,{defineProperty(a,f,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Or();var u=n.get(f);return u===void 0?l(()=>{var d=te(o.value);return n.set(f,d),d}):W(u,o.value,!0),!0},deleteProperty(a,f){var o=n.get(f);if(o===void 0){if(f in a){const u=l(()=>te(P));n.set(f,u),qe(i)}}else W(o,P),qe(i);return!0},get(a,f,o){if(f===tt)return e;var u=n.get(f),d=f in a;if(u===void 0&&(!d||ye(a,f)?.writable)&&(u=l(()=>{var _=Me(d?a[f]:P),v=te(_);return v}),n.set(f,u)),u!==void 0){var c=I(u);return c===P?void 0:c}return Reflect.get(a,f,o)},getOwnPropertyDescriptor(a,f){var o=Reflect.getOwnPropertyDescriptor(a,f);if(o&&"value"in o){var u=n.get(f);u&&(o.value=I(u))}else if(o===void 0){var d=n.get(f),c=d?.v;if(d!==void 0&&c!==P)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return o},has(a,f){if(f===tt)return!0;var o=n.get(f),u=o!==void 0&&o.v!==P||Reflect.has(a,f);if(o!==void 0||g!==null&&(!u||ye(a,f)?.writable)){o===void 0&&(o=l(()=>{var c=u?Me(a[f]):P,_=te(c);return _}),n.set(f,o));var d=I(o);if(d===P)return!1}return u},set(a,f,o,u){var d=n.get(f),c=f in a;if(r&&f==="length")for(var _=o;_<d.v;_+=1){var v=n.get(_+"");v!==void 0?W(v,P):_ in a&&(v=l(()=>te(P)),n.set(_+"",v))}if(d===void 0)(!c||ye(a,f)?.writable)&&(d=l(()=>te(void 0)),W(d,Me(o)),n.set(f,d));else{c=d.v!==P;var m=l(()=>Me(o));W(d,m)}var y=Reflect.getOwnPropertyDescriptor(a,f);if(y?.set&&y.set.call(u,o),!c){if(r&&typeof f=="string"){var M=n.get("length"),k=Number(f);Number.isInteger(k)&&k>=M.v&&W(M,k+1)}qe(i)}return!0},ownKeys(a){I(i);var f=Reflect.ownKeys(a).filter(d=>{var c=n.get(d);return c===void 0||c.v!==P});for(var[o,u]of n)u.v!==P&&!(o in a)&&f.push(o);return f},setPrototypeOf(){Rr()}})}var yn,$n,En,kn;function Tt(){if(yn===void 0){yn=window,$n=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;En=ye(t,"firstChild").get,kn=ye(t,"nextSibling").get,Jt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Jt(n)&&(n.__t=void 0)}}function ae(e=""){return document.createTextNode(e)}function De(e){return En.call(e)}function oe(e){return kn.call(e)}function we(e,t){if(!b)return De(e);var n=De(w);return n===null&&(n=w.appendChild(ae())),G(n),n}function ri(e,t=!1){if(!b){var n=De(e);return n instanceof Comment&&n.data===""?oe(n):n}if(t){if(w?.nodeType!==nt){var r=ae();return w?.before(r),G(r),r}Nt(w)}return w}function Ie(e,t=1,n=!1){let r=b?w:e;for(var i;t--;)i=r,r=oe(r);if(!b)return r;if(n){if(r?.nodeType!==nt){var s=ae();return r===null?i?.after(s):r.before(s),G(s),s}Nt(r)}return G(r),r}function ii(e){e.textContent=""}function si(){return!1}function St(e,t,n){return document.createElementNS(Vt,e,void 0)}function Nt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===nt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function xt(e){var t=p,n=g;F(null),q(null);try{return e()}finally{F(t),q(n)}}function li(e){g===null&&(p===null&&Sr(),Tr()),be&&kr()}function ai(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ne(e,t){var n=g;n!==null&&(n.f&ee)!==0&&(e|=ee);var r={ctx:Y,deps:null,nodes:null,f:e|D|H,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&Oe)!==0)Pe!==null?Pe.push(r):se.ensure().schedule(r);else if(t!==null){try{Le(r)}catch(l){throw L(r),l}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&$e)===0&&(i=i.first,(e&ue)!==0&&(e&Re)!==0&&i!==null&&(i.f|=Re))}if(i!==null&&(i.parent=n,n!==null&&ai(i,n),p!==null&&(p.f&O)!==0&&(e&ce)===0)){var s=p;(s.effects??=[]).push(i)}return r}function At(){return p!==null&&!X}function Tn(e){const t=ne(et,null);return S(t,x),t.teardown=e,t}function oi(e){li();var t=g.f,n=!p&&(t&Z)!==0&&(t&he)===0;if(n){var r=Y;(r.e??=[]).push(e)}else return Sn(e)}function Sn(e){return ne(Oe|br,e)}function fi(e){se.ensure();const t=ne(ce|$e,e);return()=>{L(t)}}function ui(e){se.ensure();const t=ne(ce|$e,e);return(n={})=>new Promise(r=>{n.outro?Ue(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function ci(e){return ne(Oe,e)}function hi(e){return ne(gt|$e,e)}function Nn(e,t=0){return ne(et|t,e)}function T(e,t=[],n=[],r=[]){Gr(r,t,n,i=>{ne(et,()=>e(...i.map(I)))})}function xn(e,t=0){var n=ne(ue|t,e);return n}function fe(e){return ne(Z|$e,e)}function An(e){var t=e.teardown;if(t!==null){const n=be,r=p;Mn(!0),F(null);try{t.call(null)}finally{Mn(n),F(r)}}}function Ot(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&xt(()=>{i.abort(ie)});var r=n.next;(n.f&ce)!==0?n.parent=null:L(n,t),n=r}}function di(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Z)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&wr)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(_i(e.nodes.start,e.nodes.end),n=!0),S(e,Wt),Ot(e,t&&!n),ze(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();An(e),e.f^=Wt,e.f|=J;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=e.ac=e.b=null}function _i(e,t){for(;e!==null;){var n=e===t?null:oe(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 Ue(e,t,n=!0){var r=[];Rn(e,r,!0);var i=()=>{n&&L(e),t&&t()},s=r.length;if(s>0){var l=()=>--s||i();for(var a of r)a.out(l)}else i()}function Rn(e,t,n){if((e.f&ee)===0){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next,l=(i.f&Re)!==0||(i.f&Z)!==0&&(e.f&ue)!==0;Rn(i,t,l?n:!1),i=s}}}function vi(e){Cn(e,!0)}function Cn(e,t){if((e.f&ee)!==0){e.f^=ee,(e.f&x)===0&&(S(e,D),se.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Re)!==0||(n.f&Z)!==0;Cn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function Pn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:oe(n);t.append(n),n=i}}let ut=!1,be=!1;function Mn(e){be=e}let p=null,X=!1;function F(e){p=e}let g=null;function q(e){g=e}let U=null;function pi(e){p!==null&&(U===null?U=[e]:U.push(e))}let j=null,B=0,V=null;function gi(e){V=e}let Dn=1,Se=0,Ne=Se;function In(e){Ne=e}function Ln(){return++Dn}function Ve(e){var t=e.f;if((t&D)!==0)return!0;if(t&O&&(e.f&=~Ee),(t&Q)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(Ve(s)&&gn(s),s.wv>e.wv)return!0}(t&H)!==0&&K===null&&S(e,x)}return!1}function Fn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(U!==null&&Ae.call(U,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&O)!==0?Fn(s,t,!1):t===s&&(n?S(s,D):(s.f&x)!==0&&S(s,Q),yt(s))}}function jn(e){var t=j,n=B,r=V,i=p,s=U,l=Y,a=X,f=Ne,o=e.f;j=null,B=0,V=null,p=(o&(Z|ce))===0?e:null,U=null,Ce(e.ctx),X=!1,Ne=++Se,e.ac!==null&&(xt(()=>{e.ac.abort(ie)}),e.ac=null);try{e.f|=pt;var u=e.fn,d=u();e.f|=he;var c=e.deps,_=$?.is_fork;if(j!==null){var v;if(_||ze(e,B),c!==null&&B>0)for(c.length=B+j.length,v=0;v<j.length;v++)c[B+v]=j[v];else e.deps=c=j;if(At()&&(e.f&H)!==0)for(v=B;v<c.length;v++)(c[v].reactions??=[]).push(e)}else!_&&c!==null&&B<c.length&&(ze(e,B),c.length=B);if(sn()&&V!==null&&!X&&c!==null&&(e.f&(O|Q|D))===0)for(v=0;v<V.length;v++)Fn(V[v],e);if(i!==null&&i!==e){if(Se++,i.deps!==null)for(let m=0;m<n;m+=1)i.deps[m].rv=Se;if(t!==null)for(const m of t)m.rv=Se;V!==null&&(r===null?r=V:r.push(...V))}return(e.f&de)!==0&&(e.f^=de),d}catch(m){return an(m)}finally{e.f^=pt,j=t,B=n,V=r,p=i,U=s,Ce(l),X=a,Ne=f}}function mi(e,t){let n=t.reactions;if(n!==null){var r=hr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&O)!==0&&(j===null||!Ae.call(j,t))){var s=t;(s.f&H)!==0&&(s.f^=H,s.f&=~Ee),mt(s),ei(s),ze(s,0)}}function ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)mi(e,n[r])}function Le(e){var t=e.f;if((t&J)===0){S(e,x);var n=g,r=ut;g=e,ut=!0;try{(t&(ue|Kt))!==0?di(e):Ot(e),An(e);var i=jn(e);e.teardown=typeof i=="function"?i:null,e.wv=Dn;var s;ur&&Fr&&(e.f&D)!==0&&e.deps}finally{ut=r,g=n}}}function I(e){var t=e.f,n=(t&O)!==0;if(p!==null&&!X){var r=g!==null&&(g.f&J)!==0;if(!r&&(U===null||!Ae.call(U,e))){var i=p.deps;if((p.f&pt)!==0)e.rv<Se&&(e.rv=Se,j===null&&i!==null&&i[B]===e?B++:j===null?j=[e]:j.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:Ae.call(s,p)||s.push(p)}}}if(be&&me.has(e))return me.get(e);if(n){var l=e;if(be){var a=l.v;return((l.f&x)===0&&l.reactions!==null||Hn(l))&&(a=Et(l)),me.set(l,a),a}var f=(l.f&H)===0&&!X&&p!==null&&(ut||(p.f&H)!==0),o=(l.f&he)===0;Ve(l)&&(f&&(l.f|=H),gn(l)),f&&!o&&(mn(l),Bn(l))}if(K?.has(e))return K.get(e);if((e.f&de)!==0)throw e.v;return e.v}function Bn(e){if(e.f|=H,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&O)!==0&&(t.f&H)===0&&(mn(t),Bn(t))}function Hn(e){if(e.v===P)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(me.has(t)||(t.f&O)!==0&&Hn(t))return!0;return!1}function Yn(e){var t=X;try{return X=!0,e()}finally{X=t}}const ct=Symbol("events"),wi=new Set,qn=new Set;function bi(e,t,n,r={}){function i(s){if(r.capture||Rt.call(t,s),!s.cancelBubble)return xt(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Te(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Fe(e,t,n,r,i){var s={capture:r,passive:i},l=bi(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Tn(()=>{t.removeEventListener(e,l,s)})}let Un=null;function Rt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Un=e;var l=0,a=Un===e&&e[ct];if(a){var f=i.indexOf(a);if(f!==-1&&(t===document||t===window)){e[ct]=t;return}var o=i.indexOf(t);if(o===-1)return;f<=o&&(l=f)}if(s=i[l]||e.target,s!==t){Qe(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=p,d=g;F(null),q(null);try{for(var c,_=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var m=s[ct]?.[r];m!=null&&(!s.disabled||e.target===s)&&m.call(s,e)}catch(y){c?_.push(y):c=y}if(e.cancelBubble||v===t||v===null)break;s=v}if(c){for(let y of _)queueMicrotask(()=>{throw y});throw c}}finally{e[ct]=t,delete e.currentTarget,F(u),q(d)}}}const yi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function $i(e){return yi?.createHTML(e)??e}function Ei(e){var t=St("template");return t.innerHTML=$i(e.replaceAll("<!>","<!---->")),t.content}function je(e,t){var n=g;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Ct(e,t){var n=(t&or)!==0,r=(t&fr)!==0,i,s=!e.startsWith("<!>");return()=>{if(b)return je(w,null),w;i===void 0&&(i=Ei(s?e:"<!>"+e),n||(i=De(i)));var l=r||$n?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=De(l),f=l.lastChild;je(a,f)}else je(l,l);return l}}function ki(e=""){if(!b){var t=ae(e+"");return je(t,t),t}var n=w;return n.nodeType!==nt?(n.before(n=ae()),G(n)):Nt(n),je(n,n),n}function Je(e,t){if(b){var n=g;((n.f&he)===0||n.nodes.end===null)&&(n.nodes.end=w),st();return}e!==null&&e.before(t)}const Ti=["touchstart","touchmove"];function Si(e){return Ti.includes(e)}function Vn(e,t){return zn(e,t)}function Ni(e,t){Tt(),t.intro=t.intro??!1;const n=t.target,r=b,i=w;try{for(var s=De(n);s&&(s.nodeType!==rt||s.data!==Ht);)s=oe(s);if(!s)throw xe;_e(!0),G(s);const l=zn(e,{...t,anchor:s});return _e(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==xe&&console.warn("Failed to hydrate: ",l),t.recover===!1&&xr(),Tt(),ii(n),_e(!1),Vn(e,t)}finally{_e(r),G(i)}}const ht=new Map;function zn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0,transformError:a}){Tt();var f=void 0,o=ui(()=>{var u=n??t.appendChild(ae());zr(u,{pending:()=>{}},_=>{nn({});var v=Y;if(s&&(v.c=s),i&&(r.$$events=i),b&&je(_,null),f=e(_,r)||{},b&&(g.nodes.end=w,w===null||w.nodeType!==rt||w.data!==Ut))throw it(),xe;rn()},a);var d=new Set,c=_=>{for(var v=0;v<_.length;v++){var m=_[v];if(!d.has(m)){d.add(m);var y=Si(m);for(const C of[t,document]){var M=ht.get(C);M===void 0&&(M=new Map,ht.set(C,M));var k=M.get(m);k===void 0?(C.addEventListener(m,Rt,{passive:y}),M.set(m,1)):M.set(m,k+1)}}}};return c(dr(wi)),qn.add(c),()=>{for(var _ of d)for(const y of[t,document]){var v=ht.get(y),m=v.get(_);--m==0?(y.removeEventListener(_,Rt),v.delete(_),v.size===0&&ht.delete(y)):v.set(_,m)}qn.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Pt.set(f,o),f}let Pt=new WeakMap;function xi(e,t){const n=Pt.get(e);return n?(Pt.delete(e),n(t)):Promise.resolve()}class Ai{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)vi(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#e){if(this.#e.delete(s),s===t)break;const a=this.#t.get(l);a&&(L(a.effect),this.#t.delete(l))}for(const[s,l]of this.#n){if(s===n||this.#i.has(s))continue;const a=()=>{if(Array.from(this.#e.values()).includes(s)){var o=document.createDocumentFragment();Pn(l,o),o.append(ae()),this.#t.set(s,{effect:l,fragment:o})}else L(l);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Ue(l,a,!1)):a()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(L(i.effect),this.#t.delete(r))};ensure(t,n){var r=$,i=si();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),l=ae();s.append(l),this.#t.set(t,{effect:fe(()=>n(l)),fragment:s})}else this.#n.set(t,fe(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[a,f]of this.#n)a===t?r.unskip_effect(f):r.skip_effect(f);for(const[a,f]of this.#t)a===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else b&&(this.anchor=w),this.#r(r)}}function Jn(e,t,n=!1){var r;b&&(r=w,st());var i=new Ai(e),s=n?Re:0;function l(a,f){if(b){var o=Ir(r);if(a!==parseInt(o.substring(1))){var u=Qt();G(u),i.anchor=u,_e(!1),i.ensure(a,f),_e(!0);return}}i.ensure(a,f)}xn(()=>{var a=!1;t((f,o=0)=>{a=!0,l(o,f)}),a||l(-1,null)},s)}function Ge(e,t,n,r,i){b&&st();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n==="default"?"children":n],l=!0),s===void 0?i!==null&&i(e):s(e,l?()=>r:r)}function Oi(e,t){ci(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=St("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Ri(e,t){return e==null?null:String(e)}function Mt(e,t,n,r){var i=e.__style;if(b||i!==t){var s=Ri(t);(!b||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Ci=Symbol("is custom element"),Pi=Symbol("is html"),Mi=$r?"link":"LINK";function Di(e,t,n,r){var i=Ii(e);b&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Mi)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[yr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Gn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function E(e,t,n){var r=p,i=g;let s=b;b&&_e(!1),F(null),q(null);try{t!=="style"&&(Dt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?Gn(e).includes(t):n&&typeof n=="object")?e[t]=n:Di(e,t,n==null?n:String(n))}finally{F(r),q(i),s&&_e(!0)}}function Ii(e){return e.__attributes??={[Ci]:e.nodeName.includes("-"),[Pi]:e.namespaceURI===Vt}}var Dt=new Map;function Gn(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,s=Element.prototype;s!==i;){r=_r(i);for(var l in r)r[l].set&&n.push(l);i=zt(i)}return n}function R(e,t,n,r){var i=(n&lr)!==0,s=(n&ar)!==0,l=r,a=!0,f=()=>(a&&(a=!1,l=s?Yn(r):r),l);let o;if(i){var u=tt in e||Zt in e;o=ye(e,t)?.set??(u&&t in e?k=>e[t]=k:void 0)}var d,c=!1;i?[d,c]=Hr(()=>e[t]):d=e[t],d===void 0&&r!==void 0&&(d=f(),o&&(Ar(),o(d)));var _;if(_=()=>{var k=e[t];return k===void 0?f():(a=!0,k)},(n&sr)===0)return _;if(o){var v=e.$$legacy;return(function(k,C){return arguments.length>0?((!C||v||c)&&o(C?_():k),k):_()})}var m=!1,y=((n&ir)!==0?$t:Xr)(()=>(m=!1,_()));i&&I(y);var M=g;return(function(k,C){if(arguments.length>0){const Be=C?I(y):i?Me(k):k;return W(y,Be),m=!0,l!==void 0&&(l=Be),k}return be&&m||(M.f&J)!==0?y.v:I(y)})}function Li(e){return new Fi(e)}class Fi{#e;#n;constructor(t){var n=new Map,r=(s,l)=>{var a=ti(l,!1,!1);return n.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return I(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===Zt?!0:(I(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return W(n.get(l)??r(l,a),a),Reflect.set(s,l,a)}});this.#n=(t.hydrate?Ni:Vn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&A(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||Qe(this,s,{get(){return this.#n[s]},set(l){this.#n[s]=l},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{xi(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$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;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}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=St("slot");r!=="default"&&(s.name=r),Je(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ji(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]=dt(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=Li({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=fi(()=>{Nn(()=>{this.$$r=!0;for(const r of Ze(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=dt(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]=dt(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 Ze(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function dt(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 ji(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Bi(e,t,n,r,i,s){let l=class extends Kn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Ze(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Ze(t).forEach(a=>{Qe(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(f){f=dt(a,f,t),this.$$d[a]=f;var o=this.$$c;if(o){var u=ye(o,a)?.get;u?o[a]=f:o.$set({[a]:f})}}})}),r.forEach(a=>{Qe(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}const Ke={version:"0.66.6"};function We(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 Hi=Ct('<hb-offcanvas><span slot="header"><!></span></hb-offcanvas>',2),Yi=Ct("<hb-cookie-law-banner></hb-cookie-law-banner>",2),qi=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 Ui={hash:"svelte-150dkch",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");
3
- @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}`};function Wn(e,t){nn(t,!0),Oi(e,Ui);let n=R(t,"id",7,""),r=R(t,"footer",23,()=>({type:"auto",disable_expanding_small:!1})),i=R(t,"cookielawuri4more",7,""),s=R(t,"cookielawallowdecline",7,!1),l=R(t,"cookielawlanguage",7,""),a=R(t,"pagename",7,void 0),f=R(t,"cookielaw",7,void 0),o=R(t,"onescreen",7,void 0),u=R(t,"sidebar",23,()=>({})),d=R(t,"socials",7,void 0),c=R(t,"navlinks",7,void 0),_=R(t,"contacts",7,void 0),v=R(t,"columns",7,void 0),m=R(t,"usermenu",7,void 0),y=R(t,"i18nlang",7,void 0),M=R(t,"page_title",7,void 0),k=R(t,"policies",7,void 0),C=R(t,"company",7,void 0),Be=te(!1),Xn=te("");oi(()=>{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 u()=="string"&&u(JSON.parse(u())),typeof C()=="string"&&C(JSON.parse(C())),W(Xn,o()?"display: flex;flex-direction: column; height: 100vh;":"display:block;",!0)});function Xe(h,N){t.$$host.dispatchEvent(new CustomEvent(h,{detail:N}))}We({repoName:"@htmlbricks/hb-footer",version:Ke.version}),We({repoName:"@htmlbricks/hb-offcanvas",version:Ke.version}),We({repoName:"@htmlbricks/hb-navbar",version:Ke.version}),We({repoName:"@htmlbricks/hb-cookie-law-banner",version:Ke.version}),We({repoName:"@htmlbricks/hb-sidebar-desktop",version:Ke.version});function Zn(h){console.log("burgerclick",h),W(Be,h.isOpen,!0),Xe("offcanvasswitch",h)}var Vi={get id(){return n()},set id(h=""){n(h),A()},get footer(){return r()},set footer(h={type:"auto",disable_expanding_small:!1}){r(h),A()},get cookielawuri4more(){return i()},set cookielawuri4more(h=""){i(h),A()},get cookielawallowdecline(){return s()},set cookielawallowdecline(h=!1){s(h),A()},get cookielawlanguage(){return l()},set cookielawlanguage(h=""){l(h),A()},get pagename(){return a()},set pagename(h=void 0){a(h),A()},get cookielaw(){return f()},set cookielaw(h=void 0){f(h),A()},get onescreen(){return o()},set onescreen(h=void 0){o(h),A()},get sidebar(){return u()},set sidebar(h={}){u(h),A()},get socials(){return d()},set socials(h=void 0){d(h),A()},get navlinks(){return c()},set navlinks(h=void 0){c(h),A()},get contacts(){return _()},set contacts(h=void 0){_(h),A()},get columns(){return v()},set columns(h=void 0){v(h),A()},get usermenu(){return m()},set usermenu(h=void 0){m(h),A()},get i18nlang(){return y()},set i18nlang(h=void 0){y(h),A()},get page_title(){return M()},set page_title(h=void 0){M(h),A()},get policies(){return k()},set policies(h=void 0){k(h),A()},get company(){return C()},set company(h=void 0){C(h),A()}},Qn=qi(),er=ri(Qn);{var zi=h=>{var N=Hi();T(()=>E(N,"navpage",a()||"")),T(()=>E(N,"navlinks",c()||"[]")),T(()=>E(N,"companytitle",u()?.title)),T(()=>E(N,"companylogouri",u()?.logo)),T(()=>E(N,"opened",I(Be)?"yes":"no")),E(N,"type","autohide");var rr=we(N),Zi=we(rr);Ge(Zi,t,"nav-header-slot",{},null),ve(rr),ve(N),Fe("offcanvasswitch",N,jt=>Zn(jt.detail)),Fe("pageChange",N,jt=>Xe("pageChange",jt.detail)),Je(h,N)};Jn(er,h=>{c()?.length&&h(zi)})}var It=Ie(er,2),z=we(It);E(z,"part","navbar"),T(()=>E(z,"noburger",c()?"":"yes")),T(()=>E(z,"companylogouri",C()?.logoUri||"")),T(()=>E(z,"companybrandname",M()||C()?.siteName||"")),T(()=>E(z,"usermenu",m()||"")),T(()=>E(z,"switchopen",I(Be)?"yes":"no"));var Lt=we(z),Ji=we(Lt);Ge(Ji,t,"nav-left-slot",{},null),ve(Lt);var Ft=Ie(Lt,2),Gi=we(Ft);Ge(Gi,t,"nav-center-slot",{},null),ve(Ft);var tr=Ie(Ft,2),Ki=we(tr);Ge(Ki,t,"nav-right-slot",{},null),ve(tr),ve(z);var _t=Ie(z,2),Wi=we(_t);Ge(Wi,t,"page",{},h=>{var N=ki("page");Je(h,N)}),ve(_t);var nr=Ie(_t,2);{var Xi=h=>{var N=Yi();T(()=>E(N,"language",l()||y())),T(()=>E(N,"allowdecline",s())),T(()=>E(N,"cookielawuri4more",i())),Je(h,N)};Jn(nr,h=>{(f()||s()||l()||i())&&h(Xi)})}var re=Ie(nr,2);return T(()=>E(re,"policies",k())),T(()=>E(re,"type",r().type==="auto"?o()?"small":"regular":r().type)),E(re,"part","footer"),T(()=>E(re,"socials",d()?JSON.stringify(d()):"")),T(()=>E(re,"contacts",_()?JSON.stringify(_()):"")),Mt(re,"display:block;"),T(()=>E(re,"company",C()?JSON.stringify(C()):"")),T(()=>E(re,"columns",v()||"")),T(()=>E(re,"disable_expanding_small",r().disable_expanding_small?"yes":"no")),ve(It),T(()=>{Mt(It,I(Xn)),Mt(_t,o()?"flex: 2":"")}),Fe("navmenuswitch",z,h=>Zn(h.detail)),Fe("navbarDropDownClick",z,h=>Xe("navbarDropDownClick",h.detail)),Fe("navbarSlotClick",z,h=>Xe("navbarSlotClick",h.detail)),Fe("footerClick",re,h=>Xe("footerClick",h.detail)),Je(e,Qn),rn(Vi)}customElements.define("hb-layout-mobile",Bi(Wn,{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"],[],{mode:"open"})),Bt.Component=Wn,Object.defineProperty(Bt,Symbol.toStringTag,{value:"Module"})})(this["layout-mobile"]=this["layout-mobile"]||{});
4
- //# sourceMappingURL=main.iife.js.map
1
+ (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,g=()=>{};function _(e){for(var t=0;t<e.length;t++)e[t]()}function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var y=1024,b=2048,x=4096,ee=8192,te=16384,ne=32768,re=1<<25,ie=65536,ae=1<<19,oe=1<<20,S=65536,se=1<<21,ce=1<<22,le=1<<23,ue=Symbol(`$state`),de=Symbol(`legacy props`),fe=Symbol(``),C=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},pe=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function me(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function he(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function ge(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function _e(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function ve(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function ye(){throw Error(`https://svelte.dev/e/hydration_failed`)}function be(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function xe(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Se(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Ce(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function we(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Te(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Ee(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var w=!1;function De(e){w=e}var T;function E(e){if(e===null)throw Te(),t;return T=e}function Oe(){return E(L(T))}function ke(e){if(w){if(L(T)!==null)throw Te(),t;T=e}}function Ae(e=1){if(w){for(var t=e,n=T;t--;)n=L(n);T=n}}function je(e=!0){for(var t=0,n=T;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=L(n);e&&n.remove(),n=i}}function Me(e){if(!e||e.nodeType!==8)throw Te(),t;return e.data}function Ne(e){return e===this.v}function Pe(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Fe(e){return!Pe(e,this.v)}var Ie=!1,Le=!1,D=null;function Re(e){D=e}function ze(e,t=!1,n){D={p:D,i:!1,c:null,e:null,s:e,x:null,r:G,l:Le&&!t?{s:null,u:null,$:[]}:null}}function Be(e){var t=D,n=t.e;if(n!==null){t.e=null;for(var r of n)ln(r)}return e!==void 0&&(t.x=e),t.i=!0,D=t.p,e??{}}function Ve(){return!Le||D!==null&&D.l===null}var He=[];function Ue(){var e=He;He=[],_(e)}function We(e){if(He.length===0&&!nt){var t=He;queueMicrotask(()=>{t===He&&Ue()})}He.push(e)}function Ge(){for(;He.length>0;)Ue()}function Ke(e){var t=G;if(t===null)return H.f|=le,e;if(!(t.f&32768)&&!(t.f&4))throw e;qe(e,t)}function qe(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Je=~(b|x|y);function O(e,t){e.f=e.f&Je|t}function Ye(e){e.f&512||e.deps===null?O(e,y):O(e,x)}function Xe(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=S,Xe(t.deps))}function Ze(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Xe(e.deps),O(e,y)}var Qe=!1,$e=!1;function et(e){var t=$e;try{return $e=!1,[e(),$e]}finally{$e=t}}var k=new Set,A=null,j=null,tt=null,nt=!1,rt=!1,it=null,at=null,ot=0,st=1,ct=class e{id=st++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)O(n,b),this.schedule(n);for(n of t.m)O(n,x),this.schedule(n)}}#p(){if(ot++>1e3&&(k.delete(this),lt()),!this.#d()){for(let e of this.#o)this.#s.delete(e),O(e,b),this.schedule(e);for(let e of this.#s)O(e,x),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=it=[],r=[],i=at=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw ht(e),t}if(A=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(it=null,at=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)mt(e,t)}else{this.#n.size===0&&k.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),ut(r),ut(n),this.#i?.resolve()}var o=A;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(k.add(o),o.#p()),k.has(this)||this.#g()}#m(e,t,n){e.f^=y;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=y:i&4?t.push(r):Ie&&i&16777224?n.push(r):Ln(r)&&(i&16&&this.#s.add(r),Hn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)Ze(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),j?.set(e,e.v))}activate(){A=this}deactivate(){A=null,j=null}flush(){try{rt=!0,A=this,this.#p()}finally{ot=0,tt=null,it=null,at=null,rt=!1,A=null,j=null,Pt.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),k.delete(this)}#g(){for(let c of k){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)dt(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of k)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,We(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=v()).promise}static ensure(){if(A===null){let t=A=new e;rt||(k.add(A),nt||We(()=>{A===t&&t.flush()}))}return A}apply(){if(!Ie||!this.is_fork&&k.size===1){j=null;return}j=new Map;for(let[e,[t]]of this.current)j.set(e,t);for(let n of k)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)j.has(e)||j.set(e,t)}}schedule(e){if(tt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(it!==null&&t===G&&(Ie||(H===null||!(H.f&2))&&!Qe))return;if(n&96){if(!(n&1024))return;t.f^=y}}this.#a.push(t)}};function M(e){var t=nt;nt=!0;try{var n;for(e&&(A!==null&&!A.is_fork&&A.flush(),n=e());;){if(Ge(),A===null)return n;A.flush()}}finally{nt=t}}function lt(){try{ve()}catch(e){qe(e,tt)}}var N=null;function ut(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Ln(r)&&(N=new Set,Hn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&bn(r),N?.size>0)){Pt.clear();for(let e of N){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)N.has(n)&&(N.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Hn(n)}}N.clear()}}N=null}}function dt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?dt(i,t,n,r):e&4194320&&!(e&2048)&&ft(i,t,r)&&(O(i,b),pt(i))}}function ft(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(o.call(t,r))return!0;if(r.f&2&&ft(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function pt(e){A.schedule(e)}function mt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),O(e,y);for(var n=e.first;n!==null;)mt(n,t),n=n.next}}function ht(e){O(e,y);for(var t=e.first;t!==null;)ht(t),t=t.next}function gt(e){let t=0,n=It(0),r;return()=>{on()&&(Z(n),mn(()=>(t===0&&(r=Gn(()=>e(()=>Bt(n)))),t+=1,()=>{We(()=>{--t,t===0&&(r?.(),r=void 0,Bt(n))})})))}}var _t=ie|ae;function vt(e,t,n,r){new yt(e,t,n,r)}var yt=class{parent;is_pending=!1;transform_error;#e;#t=w?T:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=gt(()=>(this.#m=It(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=G;t.b=this,t.f|=128,n(e)},this.parent=G.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=hn(()=>{if(w){let e=this.#t;Oe();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},_t),w&&(this.#e=T)}#g(){try{this.#a=B(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=B(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=B(()=>e(this.#e)),We(()=>{var e=this.#c=document.createDocumentFragment(),t=I();e.append(t),this.#a=this.#x(()=>B(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,xn(this.#o,()=>{this.#o=null}),this.#b(A))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=B(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();Tn(this.#a,e);let t=this.#n.pending;this.#o=B(()=>t(this.#e))}else this.#b(A)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Ze(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=G,n=H,r=D;K(this.#i),W(this.#i),Re(this.#i.ctx);try{return ct.ensure(),e()}catch(e){return Ke(e),null}finally{K(t),W(n),Re(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&xn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,We(()=>{this.#d=!1,this.#m&&Rt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Z(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),w&&(E(this.#t),Ae(),E(je()));var r=!1,i=!1;let a=()=>{if(r){Ee();return}r=!0,i&&we(),this.#s!==null&&xn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){qe(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return B(()=>{var t=G;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return qe(e,this.#i.parent),null}}))};We(()=>{var t;try{t=this.transform_error(e)}catch(e){qe(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>qe(e,this.#i&&this.#i.parent)):o(t)})}};function bt(e,t,n,r){let i=Ve()?wt:Et;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=G,s=xt(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||qe(e,o)}St()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Ct();function d(){Promise.all(n.map(e=>Tt(e))).then(e=>l([...t.map(i),...e])).catch(e=>qe(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),St()}):d()}function xt(){var e=G,t=H,n=D,r=A;return function(i=!0){K(e),W(t),Re(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function St(e=!0){K(null),W(null),Re(null),e&&A?.deactivate()}function Ct(){var e=G,t=e.b,n=A,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function wt(e){var t=2|b,r=H!==null&&H.f&2?H:null;return G!==null&&(G.f|=ae),{ctx:D,deps:null,effects:null,equals:Ne,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??G,ac:null}}function Tt(e,t,r){let i=G;i===null&&me();var a=void 0,o=It(n),s=!H,c=new Map;return pn(()=>{var t=G,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(St)}catch(e){n.reject(e),St()}var r=A;if(s){if(t.f&32768)var l=Ct();if(i.b.is_rendered())c.get(r)?.reject(C),c.delete(r);else{for(let e of c.values())e.reject(C);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===C),!(n===C||t.f&16384)){if(r.activate(),n)o.f|=le,Rt(o,n);else{o.f&8388608&&(o.f^=le),Rt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(C)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),sn(()=>{for(let e of c.values())e.reject(C)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function Et(e){let t=wt(e);return t.equals=Fe,t}function Dt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function Ot(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function kt(e){var t,n=G;K(Ot(e));try{e.f&=~S,Dt(e),t=zn(e)}finally{K(n)}return t}function At(e){var t=e.v,n=kt(e);if(!e.equals(n)&&(e.wv=In(),(!A?.is_fork||e.deps===null)&&(e.v=n,A?.capture(e,t,!0),e.deps===null))){O(e,y);return}On||(j===null?Ye(e):(on()||A?.is_fork)&&j.set(e,n))}function jt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(C),t.teardown=g,t.ac=null,Vn(t,0),_n(t))}function Mt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Hn(t)}var Nt=new Set,Pt=new Map,Ft=!1;function It(e,t){return{f:0,v:e,reactions:null,equals:Ne,rv:0,wv:0}}function P(e,t){let n=It(e,t);return An(n),n}function Lt(e,t=!1,n=!0){let r=It(e);return t||(r.equals=Fe),Le&&n&&D!==null&&D.l!==null&&(D.l.s??=[]).push(r),r}function F(e,t,n=!1){return H!==null&&(!U||H.f&131072)&&Ve()&&H.f&4325394&&(q===null||!o.call(q,e))&&Ce(),Rt(e,n?Ht(t):t,at)}function Rt(e,t,n=null){if(!e.equals(t)){var r=e.v;On?Pt.set(e,t):Pt.set(e,r),e.v=t;var i=ct.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&kt(t),j===null&&Ye(t)}e.wv=In(),Vt(e,b,n),Ve()&&G!==null&&G.f&1024&&!(G.f&96)&&(X===null?jn([e]):X.push(e)),!i.is_fork&&Nt.size>0&&!Ft&&zt()}return t}function zt(){Ft=!1;for(let e of Nt)e.f&1024&&O(e,x),Ln(e)&&Hn(e);Nt.clear()}function Bt(e){F(e,e.v+1)}function Vt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Ve(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===G)){var l=(c&b)===0;if(l&&O(s,t),c&2){var u=s;j?.delete(u),c&65536||(c&512&&(s.f|=S),Vt(u,x,n))}else if(l){var d=s;c&16&&N!==null&&N.add(d),n===null?pt(d):n.push(d)}}}}function Ht(e){if(typeof e!=`object`||!e||ue in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=P(0),s=null,c=Pn,l=e=>{if(Pn===c)return e();var t=H,n=Pn;W(null),Fn(c);var r=e();return W(t),Fn(n),r};return a&&r.set(`length`,P(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&xe();var i=r.get(t);return i===void 0?l(()=>{var e=P(n.value,s);return r.set(t,e),e}):F(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>P(n,s));r.set(t,e),Bt(o)}}else F(i,n),Bt(o);return!0},get(t,i,a){if(i===ue)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>P(Ht(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=Z(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=Z(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===ue)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||G!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>P(a?Ht(e[t]):n,s)),r.set(t,i)),Z(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>P(n,s)),r.set(p+``,m)):F(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>P(void 0,s)),F(d,Ht(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>Ht(i));F(d,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,i),!f){if(a&&typeof t==`string`){var _=r.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&F(_,v+1)}Bt(o)}return!0},ownKeys(e){Z(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){Se()}})}var Ut,Wt,Gt,Kt;function qt(){if(Ut===void 0){Ut=window,Wt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Gt=u(t,`firstChild`).get,Kt=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function I(e=``){return document.createTextNode(e)}function Jt(e){return Gt.call(e)}function L(e){return Kt.call(e)}function Yt(e,t){if(!w)return Jt(e);var n=Jt(T);if(n===null)n=T.appendChild(I());else if(t&&n.nodeType!==3){var r=I();return n?.before(r),E(r),r}return t&&tn(n),E(n),n}function Xt(e,t=!1){if(!w){var n=Jt(e);return n instanceof Comment&&n.data===``?L(n):n}if(t){if(T?.nodeType!==3){var r=I();return T?.before(r),E(r),r}tn(T)}return T}function Zt(e,t=1,n=!1){let r=w?T:e;for(var i;t--;)i=r,r=L(r);if(!w)return r;if(n){if(r?.nodeType!==3){var a=I();return r===null?i?.after(a):r.before(a),E(a),a}tn(r)}return E(r),r}function Qt(e){e.textContent=``}function $t(){return!Ie||N!==null?!1:(G.f&ne)!==0}function en(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function tn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function nn(e){var t=H,n=G;W(null),K(null);try{return e()}finally{W(t),K(n)}}function rn(e){G===null&&(H===null&&_e(e),ge()),On&&he(e)}function an(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function R(e,t){var n=G;n!==null&&n.f&8192&&(e|=ee);var r={ctx:D,deps:null,nodes:null,f:e|b|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)it===null?ct.ensure().schedule(r):it.push(r);else if(t!==null){try{Hn(r)}catch(e){throw V(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=ie))}if(i!==null&&(i.parent=n,n!==null&&an(i,n),H!==null&&H.f&2&&!(e&64))){var a=H;(a.effects??=[]).push(i)}return r}function on(){return H!==null&&!U}function sn(e){let t=R(8,null);return O(t,y),t.teardown=e,t}function cn(e){rn(`$effect`);var t=G.f;if(!H&&t&32&&!(t&32768)){var n=D;(n.e??=[]).push(e)}else return ln(e)}function ln(e){return R(4|oe,e)}function un(e){ct.ensure();let t=R(64|ae,e);return()=>{V(t)}}function dn(e){ct.ensure();let t=R(64|ae,e);return(e={})=>new Promise(n=>{e.outro?xn(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function fn(e){return R(4,e)}function pn(e){return R(ce|ae,e)}function mn(e,t=0){return R(8|t,e)}function z(e,t=[],n=[],r=[]){bt(r,t,n,t=>{R(8,()=>e(...t.map(Z)))})}function hn(e,t=0){return R(16|t,e)}function B(e){return R(32|ae,e)}function gn(e){var t=e.teardown;if(t!==null){let e=On,n=H;kn(!0),W(null);try{t.call(null)}finally{kn(e),W(n)}}}function _n(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&nn(()=>{e.abort(C)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function vn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(yn(e.nodes.start,e.nodes.end),n=!0),O(e,re),_n(e,t&&!n),Vn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();gn(e),e.f^=re,e.f|=te;var i=e.parent;i!==null&&i.first!==null&&bn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function yn(e,t){for(;e!==null;){var n=e===t?null:L(e);e.remove(),e=n}}function bn(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 xn(e,t,n=!0){var r=[];Sn(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function Sn(e,t,n){if(!(e.f&8192)){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;Sn(i,t,o?n:!1),i=a}}}function Cn(e){wn(e,!0)}function wn(e,t){if(e.f&8192){e.f^=ee,e.f&1024||(O(e,b),ct.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;wn(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function Tn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:L(n);t.append(n),n=i}}var En=null,Dn=!1,On=!1;function kn(e){On=e}var H=null,U=!1;function W(e){H=e}var G=null;function K(e){G=e}var q=null;function An(e){H!==null&&(!Ie||H.f&2)&&(q===null?q=[e]:q.push(e))}var J=null,Y=0,X=null;function jn(e){X=e}var Mn=1,Nn=0,Pn=Nn;function Fn(e){Pn=e}function In(){return++Mn}function Ln(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~S),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Ln(a)&&At(a),a.wv>e.wv)return!0}t&512&&j===null&&O(e,y)}return!1}function Rn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Ie&&q!==null&&o.call(q,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Rn(a,t,!1):t===a&&(n?O(a,b):a.f&1024&&O(a,x),pt(a))}}function zn(e){var t=J,n=Y,r=X,i=H,a=q,o=D,s=U,c=Pn,l=e.f;J=null,Y=0,X=null,H=l&96?null:e,q=null,Re(e.ctx),U=!1,Pn=++Nn,e.ac!==null&&(nn(()=>{e.ac.abort(C)}),e.ac=null);try{e.f|=se;var u=e.fn,d=u();e.f|=ne;var f=e.deps,p=A?.is_fork;if(J!==null){var m;if(p||Vn(e,Y),f!==null&&Y>0)for(f.length=Y+J.length,m=0;m<J.length;m++)f[Y+m]=J[m];else e.deps=f=J;if(on()&&e.f&512)for(m=Y;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&Y<f.length&&(Vn(e,Y),f.length=Y);if(Ve()&&X!==null&&!U&&f!==null&&!(e.f&6146))for(m=0;m<X.length;m++)Rn(X[m],e);if(i!==null&&i!==e){if(Nn++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Nn;if(t!==null)for(let e of t)e.rv=Nn;X!==null&&(r===null?r=X:r.push(...X))}return e.f&8388608&&(e.f^=le),d}catch(e){return Ke(e)}finally{e.f^=se,J=t,Y=n,X=r,H=i,q=a,Re(o),U=s,Pn=c}}function Bn(e,t){let n=t.reactions;if(n!==null){var r=a.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(J===null||!o.call(J,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~S),Ye(s),jt(s),Vn(s,0)}}function Vn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Bn(e,n[r])}function Hn(e){var t=e.f;if(!(t&16384)){O(e,y);var n=G,r=Dn;G=e,Dn=!0;try{t&16777232?vn(e):_n(e),gn(e);var i=zn(e);e.teardown=typeof i==`function`?i:null,e.wv=Mn}finally{Dn=r,G=n}}}function Z(e){var t=(e.f&2)!=0;if(En?.add(e),H!==null&&!U&&!(G!==null&&G.f&16384)&&(q===null||!o.call(q,e))){var n=H.deps;if(H.f&2097152)e.rv<Nn&&(e.rv=Nn,J===null&&n!==null&&n[Y]===e?Y++:J===null?J=[e]:J.push(e));else{(H.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[H]:o.call(r,H)||r.push(H)}}if(On&&Pt.has(e))return Pt.get(e);if(t){var i=e;if(On){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Wn(i))&&(a=kt(i)),Pt.set(i,a),a}var s=(i.f&512)==0&&!U&&H!==null&&(Dn||(H.f&512)!=0),c=(i.f&ne)===0;Ln(i)&&(s&&(i.f|=512),At(i)),s&&!c&&(Mt(i),Un(i))}if(j?.has(e))return j.get(e);if(e.f&8388608)throw e.v;return e.v}function Un(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Mt(t),Un(t))}function Wn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(Pt.has(t)||t.f&2&&Wn(t))return!0;return!1}function Gn(e){var t=U;try{return U=!0,e()}finally{U=t}}var Kn=Symbol(`events`),qn=new Set,Jn=new Set;function Yn(e,t,n,r={}){function i(e){if(r.capture||Qn.call(t,e),!e.cancelBubble)return nn(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?We(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function Xn(e,t,n,r,i){var a={capture:r,passive:i},o=Yn(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&sn(()=>{t.removeEventListener(e,o,a)})}var Zn=null;function Qn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Zn=e;var o=0,s=Zn===e&&e[Kn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Kn]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=H,f=G;W(null),K(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[Kn]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Kn]=t,delete e.currentTarget,W(d),K(f)}}}var $n=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function er(e){return $n?.createHTML(e)??e}function tr(e){var t=en(`template`);return t.innerHTML=er(e.replaceAll(`<!>`,`<!---->`)),t.content}function nr(e,t){var n=G;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function rr(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(w)return nr(T,null),T;i===void 0&&(i=tr(a?e:`<!>`+e),n||(i=Jt(i)));var t=r||Wt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Jt(t),s=t.lastChild;nr(o,s)}else nr(t,t);return t}}function ir(e=``){if(!w){var t=I(e+``);return nr(t,t),t}var n=T;return n.nodeType===3?tn(n):(n.before(n=I()),E(n)),nr(n,n),n}function ar(e,t){if(w){var n=G;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=T),Oe();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var or=[`touchstart`,`touchmove`];function sr(e){return or.includes(e)}function cr(e,t){return dr(e,t)}function lr(e,n){qt(),n.intro=n.intro??!1;let r=n.target,i=w,a=T;try{for(var o=Jt(r);o&&(o.nodeType!==8||o.data!==`[`);)o=L(o);if(!o)throw t;De(!0),E(o);let i=dr(e,{...n,anchor:o});return De(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&ye(),qt(),Qt(r),De(!1),cr(e,n)}finally{De(i),E(a)}}var ur=new Map;function dr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){qt();var u=void 0,d=dn(()=>{var c=r??n.appendChild(I());vt(c,{pending:()=>{}},n=>{ze({});var r=D;if(o&&(r.c=o),a&&(i.$$events=a),w&&nr(n,null),u=e(n,i)||{},w&&(G.nodes.end=T,T===null||T.nodeType!==8||T.data!==`]`))throw Te(),t;Be()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=sr(r);for(let e of[n,document]){var a=ur.get(e);a===void 0&&(a=new Map,ur.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,Qn,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(qn)),Jn.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=ur.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,Qn),t.delete(e),t.size===0&&ur.delete(r)):t.set(e,i)}Jn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return fr.set(u,d),u}var fr=new WeakMap;function pr(e,t){let n=fr.get(e);return n?(fr.delete(e),n(t)):Promise.resolve()}var mr=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)Cn(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(V(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();Tn(r,t),t.append(I()),this.#n.set(e,{effect:r,fragment:t})}else V(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),xn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(V(n.effect),this.#n.delete(e))};ensure(e,t){var n=A,r=$t();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=I();i.append(a),this.#n.set(e,{effect:B(()=>t(a)),fragment:i})}else this.#t.set(e,B(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else w&&(this.anchor=T),this.#a(n)}};function hr(e,t,n=!1){var r;w&&(r=T,Oe());var i=new mr(e),a=n?ie:0;function o(e,t){if(w){var n=Me(r);if(e!==parseInt(n.substring(1))){var a=je();E(a),i.anchor=a,De(!1),i.ensure(e,t),De(!0);return}}i.ensure(e,t)}hn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function gr(e,t,n,r,i){w&&Oe();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function _r(e,t){fn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=en(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function vr(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function yr(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function br(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(yr)),i&&c.push(...Object.keys(i).map(yr));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=yr(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=vr(r)),i&&(n+=vr(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function xr(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Sr(e,t,n,r){var i=e.__style;if(w||i!==t){var a=br(t,r);(!w||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(xr(e,n?.[0],r[0]),xr(e,n?.[1],r[1],`important`)):xr(e,n,r));return r}var Cr=Symbol(`is custom element`),wr=Symbol(`is html`),Tr=pe?`link`:`LINK`;function Er(e,t,n,r){var i=Dr(e);w&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Tr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[fe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&kr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Q(e,t,n){var r=H,i=G;let a=w;w&&De(!1),W(null),K(null);try{t!==`style`&&(Or.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?kr(e).includes(t):n&&typeof n==`object`)?e[t]=n:Er(e,t,n==null?n:String(n))}finally{W(r),K(i),a&&De(!0)}}function Dr(e){return e.__attributes??={[Cr]:e.nodeName.includes(`-`),[wr]:e.namespaceURI===r}}var Or=new Map;function kr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Or.get(t);if(n)return n;Or.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function $(e,t,n,r){var i=!Le||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Gn(r):r),s);let d;if(a){var f=ue in e||de in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=et(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&be(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?wt:Et)(()=>(_=!1,h()));a&&Z(v);var y=G;return(function(e,t){if(arguments.length>0){let n=t?Z(v):i&&a?Ht(e):e;return F(v,n),_=!0,s!==void 0&&(s=n),e}return On&&_||y.f&16384?v.v:Z(v)})}function Ar(e){return new jr(e)}var jr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Lt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Z(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===de?!0:(Z(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return F(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?lr:cr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Ie&&(!e?.props?.$$host||e.sync===!1)&&M(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{pr(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Mr;typeof HTMLElement==`function`&&(Mr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=en(`slot`);e!==`default`&&(n.name=e),ar(t,n)}}let t={},n=Pr(this);for(let 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(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Nr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Ar({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=un(()=>{mn(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Nr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Nr(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 c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Nr(e,t,n,r){let 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 Pr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Fr(e,t,n,r,i,a){let o=class extends Mr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Nr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var Ir={name:`@htmlbricks/svelte-webcomponent`,private:!0,version:`0.66.8`,type:`module`,scripts:{dev:`vite --open`,build:`vite build`,"publish:wc":`node publish.ts`,"build:wc":`node build.ts`,"watch:wc":`node watch.ts`,preview:`vite preview`,check:`svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json`,"release:patch":`npm version patch && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:minor":`npm version minor && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:major":`npm version major && git push && git push --tags && npm run build:wc && npm run publish:wc`},devDependencies:{"@google-pay/button-element":`^3.2.1`,"@paypal/paypal-js":`^9.5.0`,"@sveltejs/vite-plugin-svelte":`^7.0.0`,"@tsconfig/svelte":`^5.0.8`,"@types/debounce":`^1.2.4`,"@types/node":`^24.10.1`,"@types/rgb-hex":`^3.0.0`,"chart.js":`^4.5.1`,"date-holidays":`^3.26.12`,dayjs:`^1.11.20`,"hls.js":`^1.6.15`,"html5-joystick-new":`^0.0.6`,ol:`^10.8.0`,"perfect-freehand":`^1.2.3`,prettier:`^3.8.1`,"rollup-plugin-terser":`^7.0.2`,"sass-embedded":`^1.98.0`,"simple-serverless-auth-client":`^0.0.6`,"simple-webrtc-element":`^0.0.1`,"simple-webrtc-element-whep":`^0.2.3`,"style-to-object":`^1.0.14`,svelte:`^5.55.0`,"svelte-check":`^4.4.5`,terser:`^5.46.1`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.2`,vite:`^8.0.3`},dependencies:{"@floating-ui/dom":`^1.7.6`,"@popperjs/core":`^2.11.8`,bootstrap:`^5.3.8`,debounce:`^3.0.0`,"html-colors":`^0.0.6`,marked:`^17.0.5`,raphael:`^2.3.0`,"rgb-hex":`^4.1.0`,"wc-js-utils":`^0.4.7`}};function Lr(e){let t=e?.repoName.split(`/`)?.[1]||e?.repoName;if(!t)throw Error(`wrong componentPath `+e?.repoName);if(!e?.version)throw Error(`wrong version `+e?.version);let n=e?.iifePath||`main.iife.js`;if(!document.getElementById(t+`-script`))try{let 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`)){let e=t.split(`-`)[0];r.src=`http://localhost:6006/webcomponents/${t.replace(e+`-`,``)}/${n}`}document.head.appendChild(r)}catch(e){console.warn(e)}}var Rr=rr(`<hb-offcanvas><span slot="header"><!></span></hb-offcanvas>`,2),zr=rr(`<hb-cookie-law-banner></hb-cookie-law-banner>`,2),Br=rr(`<!> <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),Vr={hash:`svelte-150dkch`,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");
3
+ @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}`};function Hr(e,t){ze(t,!0),_r(e,Vr);let n=$(t,`id`,7,``),r=$(t,`footer`,23,()=>({type:`auto`,disable_expanding_small:!1})),i=$(t,`cookielawuri4more`,7,``),a=$(t,`cookielawallowdecline`,7,!1),o=$(t,`cookielawlanguage`,7,``),s=$(t,`pagename`,7,void 0),c=$(t,`cookielaw`,7,void 0),l=$(t,`onescreen`,7,void 0),u=$(t,`sidebar`,23,()=>({})),d=$(t,`socials`,7,void 0),f=$(t,`navlinks`,7,void 0),p=$(t,`contacts`,7,void 0),m=$(t,`columns`,7,void 0),h=$(t,`usermenu`,7,void 0),g=$(t,`i18nlang`,7,void 0),_=$(t,`page_title`,7,void 0),v=$(t,`policies`,7,void 0),y=$(t,`company`,7,void 0),b=P(!1),x=P(``);cn(()=>{typeof r()==`string`&&r(JSON.parse(r())),r().type||(r().type=`auto`),typeof l()==`string`?l()===`no`?l(!1):l(!0):l()||l(!1),typeof u()==`string`&&u(JSON.parse(u())),typeof y()==`string`&&y(JSON.parse(y())),F(x,l()?`display: flex;flex-direction: column; height: 100vh;`:`display:block;`,!0)});function ee(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}Lr({repoName:`@htmlbricks/hb-footer`,version:Ir.version}),Lr({repoName:`@htmlbricks/hb-offcanvas`,version:Ir.version}),Lr({repoName:`@htmlbricks/hb-navbar`,version:Ir.version}),Lr({repoName:`@htmlbricks/hb-cookie-law-banner`,version:Ir.version}),Lr({repoName:`@htmlbricks/hb-sidebar-desktop`,version:Ir.version});function te(e){console.log(`burgerclick`,e),F(b,e.isOpen,!0),ee(`offcanvasswitch`,e)}var ne={get id(){return n()},set id(e=``){n(e),M()},get footer(){return r()},set footer(e={type:`auto`,disable_expanding_small:!1}){r(e),M()},get cookielawuri4more(){return i()},set cookielawuri4more(e=``){i(e),M()},get cookielawallowdecline(){return a()},set cookielawallowdecline(e=!1){a(e),M()},get cookielawlanguage(){return o()},set cookielawlanguage(e=``){o(e),M()},get pagename(){return s()},set pagename(e=void 0){s(e),M()},get cookielaw(){return c()},set cookielaw(e=void 0){c(e),M()},get onescreen(){return l()},set onescreen(e=void 0){l(e),M()},get sidebar(){return u()},set sidebar(e={}){u(e),M()},get socials(){return d()},set socials(e=void 0){d(e),M()},get navlinks(){return f()},set navlinks(e=void 0){f(e),M()},get contacts(){return p()},set contacts(e=void 0){p(e),M()},get columns(){return m()},set columns(e=void 0){m(e),M()},get usermenu(){return h()},set usermenu(e=void 0){h(e),M()},get i18nlang(){return g()},set i18nlang(e=void 0){g(e),M()},get page_title(){return _()},set page_title(e=void 0){_(e),M()},get policies(){return v()},set policies(e=void 0){v(e),M()},get company(){return y()},set company(e=void 0){y(e),M()}},re=Br(),ie=Xt(re),ae=e=>{var n=Rr();z(()=>Q(n,`navpage`,s()||``)),z(()=>Q(n,`navlinks`,f()||`[]`)),z(()=>Q(n,`companytitle`,u()?.title)),z(()=>Q(n,`companylogouri`,u()?.logo)),z(()=>Q(n,`opened`,Z(b)?`yes`:`no`)),Q(n,`type`,`autohide`);var r=Yt(n);gr(Yt(r),t,`nav-header-slot`,{},null),ke(r),ke(n),Xn(`offcanvasswitch`,n,e=>te(e.detail)),Xn(`pageChange`,n,e=>ee(`pageChange`,e.detail)),ar(e,n)};hr(ie,e=>{f()?.length&&e(ae)});var oe=Zt(ie,2),S=Yt(oe);Q(S,`part`,`navbar`),z(()=>Q(S,`noburger`,f()?``:`yes`)),z(()=>Q(S,`companylogouri`,y()?.logoUri||``)),z(()=>Q(S,`companybrandname`,_()||y()?.siteName||``)),z(()=>Q(S,`usermenu`,h()||``)),z(()=>Q(S,`switchopen`,Z(b)?`yes`:`no`));var se=Yt(S);gr(Yt(se),t,`nav-left-slot`,{},null),ke(se);var ce=Zt(se,2);gr(Yt(ce),t,`nav-center-slot`,{},null),ke(ce);var le=Zt(ce,2);gr(Yt(le),t,`nav-right-slot`,{},null),ke(le),ke(S);var ue=Zt(S,2);gr(Yt(ue),t,`page`,{},e=>{ar(e,ir(`page`))}),ke(ue);var de=Zt(ue,2),fe=e=>{var t=zr();z(()=>Q(t,`language`,o()||g())),z(()=>Q(t,`allowdecline`,a())),z(()=>Q(t,`cookielawuri4more`,i())),ar(e,t)};hr(de,e=>{(c()||a()||o()||i())&&e(fe)});var C=Zt(de,2);return z(()=>Q(C,`policies`,v())),z(()=>Q(C,`type`,r().type===`auto`?l()?`small`:`regular`:r().type)),Q(C,`part`,`footer`),z(()=>Q(C,`socials`,d()?JSON.stringify(d()):``)),z(()=>Q(C,`contacts`,p()?JSON.stringify(p()):``)),Sr(C,`display:block;`),z(()=>Q(C,`company`,y()?JSON.stringify(y()):``)),z(()=>Q(C,`columns`,m()||``)),z(()=>Q(C,`disable_expanding_small`,r().disable_expanding_small?`yes`:`no`)),ke(oe),z(()=>{Sr(oe,Z(x)),Sr(ue,l()?`flex: 2`:``)}),Xn(`navmenuswitch`,S,e=>te(e.detail)),Xn(`navbarDropDownClick`,S,e=>ee(`navbarDropDownClick`,e.detail)),Xn(`navbarSlotClick`,S,e=>ee(`navbarSlotClick`,e.detail)),Xn(`footerClick`,C,e=>ee(`footerClick`,e.detail)),ar(e,re),Be(ne)}customElements.define(`hb-layout-mobile`,Fr(Hr,{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`],[],{mode:`open`})),e.Component=Hr})(this[`layout-mobile`]=this[`layout-mobile`]||{});
4
+ //# sourceMappingURL=main.iife.js.map