@htmlbricks/hb-layout 0.66.6 → 0.66.7
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 +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +2 -2
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(function(cn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Er=1,$r=2,kr=16,Tr=1,Sr=2,dn="[",Pt="[!",hn="[?",Ft="]",Ge={},I=Symbol(),vn="http://www.w3.org/1999/xhtml",Ar=!1;var _n=Array.isArray,Cr=Array.prototype.indexOf,Ke=Array.prototype.includes,mt=Array.from,wt=Object.keys,yt=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,xr=Object.getOwnPropertyDescriptors,Nr=Object.prototype,Rr=Array.prototype,pn=Object.getPrototypeOf,gn=Object.isExtensible;const Or=()=>{};function Mr(e){for(var t=0;t<e.length;t++)e[t]()}function mn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const D=2,at=4,bt=8,wn=1<<24,Te=16,ce=32,Se=64,jt=128,Z=512,O=1024,L=2048,de=4096,q=8192,Q=16384,Pe=32768,yn=1<<25,Xe=65536,bn=1<<17,En=1<<18,Ae=1<<19,Dr=1<<20,ge=1<<25,Fe=65536,Ht=1<<21,zt=1<<22,Ce=1<<23,Bt=Symbol("$state"),Ir=Symbol("legacy props"),Lr=Symbol(""),me=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Pr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Et=3,Ze=8;function Fr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function jr(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Hr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function zr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Br(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Yr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Vr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function $t(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ur(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let k=!1;function V(e){k=e}let y;function F(e){if(e===null)throw $t(),Ge;return y=e}function ot(){return F(ee(y))}function he(e){if(k){if(ee(y)!==null)throw $t(),Ge;y=e}}function Wr(e=1){if(k){for(var t=e,n=y;t--;)n=ee(n);y=n}}function kt(e=!0){for(var t=0,n=y;;){if(n.nodeType===Ze){var r=n.data;if(r===Ft){if(t===0)return n;t-=1}else(r===dn||r===Pt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ee(n);e&&n.remove(),n=i}}function $n(e){if(!e||e.nodeType!==Ze)throw $t(),Ge;return e.data}function kn(e){return e===this.v}function Gr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Tn(e){return!Gr(e,this.v)}let Kr=!1,se=null;function Qe(e){se=e}function Sn(e,t=!1,n){se={p:se,i:!1,c:null,e:null,s:e,x:null,r:E,l:null}}function An(e){var t=se,n=t.e;if(n!==null){t.e=null;for(var r of n)vi(r)}return e!==void 0&&(t.x=e),t.i=!0,se=t.p,e??{}}function Cn(){return!0}let je=[];function xn(){var e=je;je=[],Mr(e)}function He(e){if(je.length===0&&!ft){var t=je;queueMicrotask(()=>{t===je&&xn()})}je.push(e)}function Jr(){for(;je.length>0;)xn()}function Nn(e){var t=E;if(t===null)return w.f|=Ce,e;if((t.f&Pe)===0&&(t.f&at)===0)throw e;xe(e,t)}function xe(e,t){for(;t!==null;){if((t.f&jt)!==0){if((t.f&Pe)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Xr=-7169;function x(e,t){e.f=e.f&Xr|t}function Yt(e){(e.f&Z)!==0||e.deps===null?x(e,O):x(e,de)}function Rn(e){if(e!==null)for(const t of e)(t.f&D)===0||(t.f&Fe)===0||(t.f^=Fe,Rn(t.deps))}function On(e,t,n){(e.f&L)!==0?t.add(e):(e.f&de)!==0&&n.add(e),Rn(e.deps),x(e,O)}const Ne=new Set;let S=null,le=null,qt=null,ft=!1,Vt=!1,et=null,Tt=null;var Mn=0;let Zr=1;class we{id=Zr++;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;#d(){return this.is_fork||this.#i.size>0}#v(){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)x(r,L),this.schedule(r);for(r of n.m)x(r,de),this.schedule(r)}}#h(){if(Mn++>1e3&&(Ne.delete(this),Qr()),!this.#d()){for(const l of this.#l)this.#a.delete(l),x(l,L),this.schedule(l);for(const l of this.#a)x(l,de),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=et=[],r=[],i=Tt=[];for(const l of t)try{this.#u(l,n,r)}catch(o){throw Fn(l),o}if(S=null,i.length>0){var s=we.ensure();for(const l of i)s.schedule(l)}if(et=null,Tt=null,this.#d()||this.#v()){this.#_(r),this.#_(n);for(const[l,o]of this.#o)Pn(l,o)}else{this.#t.size===0&&Ne.delete(this),this.#l.clear(),this.#a.clear();for(const l of this.#e)l(this);this.#e.clear(),Dn(r),Dn(n),this.#s?.resolve()}var a=S;if(this.#r.length>0){const l=a??=this;l.#r.push(...this.#r.filter(o=>!l.#r.includes(o)))}a!==null&&(Ne.add(a),a.#h()),Ne.has(this)||this.#p()}#u(t,n,r){t.f^=O;for(var i=t.first;i!==null;){var s=i.f,a=(s&(ce|Se))!==0,l=a&&(s&O)!==0,o=l||(s&q)!==0||this.#o.has(i);if(!o&&i.fn!==null){a?i.f^=O:(s&at)!==0?n.push(i):dt(i)&&((s&Te)!==0&&this.#a.add(i),rt(i));var f=i.first;if(f!==null){i=f;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)On(t[n],this.#l,this.#a)}capture(t,n,r=!1){n!==I&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&Ce)===0&&(this.current.set(t,[t.v,r]),le?.set(t,t.v))}activate(){S=this}deactivate(){S=null,le=null}flush(){try{Vt=!0,S=this,this.#h()}finally{Mn=0,qt=null,et=null,Tt=null,Vt=!1,S=null,le=null,Re.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),Ne.delete(this)}#p(){for(const f of Ne){var t=f.id<this.id,n=[];for(const[u,[h,d]]of this.current){if(f.current.has(u)){var r=f.current.get(u)[0];if(t&&h!==r)f.current.set(u,[h,d]);else continue}n.push(u)}var i=[...f.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&f.discard();else if(n.length>0){f.activate();var s=new Set,a=new Map;for(var l of n)In(l,i,s,a);if(f.#r.length>0){f.apply();for(var o of f.#r)f.#u(o,[],[]);f.#r=[]}f.deactivate()}}for(const f of Ne)f.#f.has(this)&&(f.#f.delete(this),f.#f.size===0&&!f.#d()&&(f.activate(),f.#h()))}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,He(()=>{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??=mn()).promise}static ensure(){if(S===null){const t=S=new we;Vt||(Ne.add(S),ft||He(()=>{S===t&&t.flush()}))}return S}apply(){{le=null;return}}schedule(t){if(qt=t,t.b?.is_pending&&(t.f&(at|bt|wn))!==0&&(t.f&Pe)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(et!==null&&n===E&&(w===null||(w.f&D)===0))return;if((r&(Se|ce))!==0){if((r&O)===0)return;n.f^=O}}this.#r.push(n)}}function N(e){var t=ft;ft=!0;try{for(var n;;){if(Jr(),S===null)return n;S.flush()}}finally{ft=t}}function Qr(){try{Hr()}catch(e){xe(e,qt)}}let ye=null;function Dn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Q|q))===0&&dt(r)&&(ye=new Set,rt(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&er(r),ye?.size>0)){Re.clear();for(const i of ye){if((i.f&(Q|q))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)ye.has(a)&&(ye.delete(a),s.push(a)),a=a.parent;for(let l=s.length-1;l>=0;l--){const o=s[l];(o.f&(Q|q))===0&&rt(o)}}ye.clear()}}ye=null}}function In(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&D)!==0?In(i,t,n,r):(s&(zt|Te))!==0&&(s&L)===0&&Ln(i,t,r)&&(x(i,L),Ut(i))}}function Ln(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(Ke.call(t,i))return!0;if((i.f&D)!==0&&Ln(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Ut(e){S.schedule(e)}function Pn(e,t){if(!((e.f&ce)!==0&&(e.f&O)!==0)){(e.f&L)!==0?t.d.push(e):(e.f&de)!==0&&t.m.push(e),x(e,O);for(var n=e.first;n!==null;)Pn(n,t),n=n.next}}function Fn(e){x(e,O);for(var t=e.first;t!==null;)Fn(t),t=t.next}function ei(e){let t=0,n=ze(0),r;return()=>{Zt()&&(R(n),Zn(()=>(t===0&&(r=$i(()=>e(()=>ut(n)))),t+=1,()=>{He(()=>{t-=1,t===0&&(r?.(),r=void 0,ut(n))})})))}}var ti=Xe|Ae;function ni(e,t,n,r){new ri(e,t,n,r)}class ri{parent;is_pending=!1;transform_error;#e;#n=k?y:null;#t;#i;#s;#r=null;#l=null;#a=null;#o=null;#c=0;#f=0;#d=!1;#v=new Set;#h=new Set;#u=null;#_=ei(()=>(this.#u=ze(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var a=E;a.b=this,a.f|=jt,r(s)},this.parent=E.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=xt(()=>{if(k){const s=this.#n;ot();const a=s.data===Pt;if(s.data.startsWith(hn)){const o=JSON.parse(s.data.slice(hn.length));this.#b(o)}else a?this.#E():this.#p()}else this.#w()},ti),k&&(this.#e=y)}#p(){try{this.#r=te(()=>this.#i(this.#e))}catch(t){this.error(t)}}#b(t){const n=this.#t.failed;n&&(this.#a=te(()=>{n(this.#e,()=>t,()=>()=>{})}))}#E(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=te(()=>t(this.#e)),He(()=>{var n=this.#o=document.createDocumentFragment(),r=U();n.append(r),this.#r=this.#m(()=>te(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#o=null,Ye(this.#l,()=>{this.#l=null}),this.#g(S))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=te(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#o=document.createDocumentFragment();nn(this.#r,t);const n=this.#t.pending;this.#l=te(()=>n(this.#e))}else this.#g(S)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){On(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#m(t){var n=E,r=w,i=se;ne(this.#s),z(this.#s),Qe(this.#s.ctx);try{return we.ensure(),t()}catch(s){return Nn(s),null}finally{ne(n),z(r),Qe(i)}}#y(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t,n);return}this.#f+=t,this.#f===0&&(this.#g(n),this.#l&&Ye(this.#l,()=>{this.#l=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t,n){this.#y(t,n),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,He(()=>{this.#d=!1,this.#u&&tt(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),R(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(j(this.#r),this.#r=null),this.#l&&(j(this.#l),this.#l=null),this.#a&&(j(this.#a),this.#a=null),k&&(F(this.#n),Wr(),F(kt()));var i=!1,s=!1;const a=()=>{if(i){Ur();return}i=!0,s&&Vr(),this.#a!==null&&Ye(this.#a,()=>{this.#a=null}),this.#m(()=>{this.#w()})},l=o=>{try{s=!0,n?.(o,a),s=!1}catch(f){xe(f,this.#s&&this.#s.parent)}r&&(this.#a=this.#m(()=>{try{return te(()=>{var f=E;f.b=this,f.f|=jt,r(this.#e,()=>o,()=>a)})}catch(f){return xe(f,this.#s.parent),null}}))};He(()=>{var o;try{o=this.transform_error(t)}catch(f){xe(f,this.#s&&this.#s.parent);return}o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(l,f=>xe(f,this.#s&&this.#s.parent)):l(o)})}}function ii(e,t,n,r){const i=Wt;var s=e.filter(d=>!d.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var a=E,l=si(),o=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(d=>d.promise)):null;function f(d){l();try{r(d)}catch(p){(a.f&Q)===0&&xe(p,a)}St()}if(n.length===0){o.then(()=>f(t.map(i)));return}var u=jn();function h(){Promise.all(n.map(d=>li(d))).then(d=>f([...t.map(i),...d])).catch(d=>xe(d,a)).finally(()=>u())}o?o.then(()=>{l(),h(),St()}):h()}function si(){var e=E,t=w,n=se,r=S;return function(s=!0){ne(e),z(t),Qe(n),s&&(e.f&Q)===0&&(r?.activate(),r?.apply())}}function St(e=!0){ne(null),z(null),Qe(null),e&&S?.deactivate()}function jn(){var e=E,t=e.b,n=S,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=D|L,n=w!==null&&(w.f&D)!==0?w:null;return E!==null&&(E.f|=Ae),{ctx:se,deps:null,effects:null,equals:kn,f:t,fn:e,reactions:null,rv:0,v:I,wv:0,parent:n??E,ac:null}}function li(e,t,n){let r=E;r===null&&Fr();var i=void 0,s=ze(I),a=!w,l=new Map;return gi(()=>{var o=E,f=mn();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).finally(St)}catch(p){f.reject(p),St()}var u=S;if(a){if((o.f&Pe)!==0)var h=jn();if(r.b.is_rendered())l.get(u)?.reject(me),l.delete(u);else{for(const p of l.values())p.reject(me);l.clear()}l.set(u,f)}const d=(p,c=void 0)=>{if(h){var g=c===me;h(g)}if(!(c===me||(o.f&Q)!==0)){if(u.activate(),c)s.f|=Ce,tt(s,c);else{(s.f&Ce)!==0&&(s.f^=Ce),tt(s,p);for(const[T,m]of l){if(l.delete(T),T===u)break;m.reject(me)}}u.deactivate()}};f.promise.then(d,p=>d(null,p||"unknown"))}),Qt(()=>{for(const o of l.values())o.reject(me)}),new Promise(o=>{function f(u){function h(){u===i?o(s):f(i)}u.then(h,h)}f(i)})}function ai(e){const t=Wt(e);return t.equals=Tn,t}function oi(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)j(t[n])}}function fi(e){for(var t=e.parent;t!==null;){if((t.f&D)===0)return(t.f&Q)===0?t:null;t=t.parent}return null}function Gt(e){var t,n=E;ne(fi(e));try{e.f&=~Fe,oi(e),t=or(e)}finally{ne(n)}return t}function Hn(e){var t=e.v,n=Gt(e);if(!e.equals(n)&&(e.wv=lr(),(!S?.is_fork||e.deps===null)&&(e.v=n,S?.capture(e,t,!0),e.deps===null))){x(e,O);return}qe||(le!==null?(Zt()||S?.is_fork)&&le.set(e,n):Yt(e))}function ui(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(me),t.teardown=Or,t.ac=null,ht(t,0),en(t))}function zn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&rt(t)}let Kt=new Set;const Re=new Map;let Bn=!1;function ze(e,t){var n={f:0,v:e,reactions:null,equals:kn,rv:0,wv:0};return n}function be(e,t){const n=ze(e);return yi(n),n}function Yn(e,t=!1,n=!0){const r=ze(e);return t||(r.equals=Tn),r}function ve(e,t,n=!1){w!==null&&(!ae||(w.f&bn)!==0)&&Cn()&&(w.f&(D|Te|zt|bn))!==0&&(re===null||!Ke.call(re,e))&&qr();let r=n?ct(t):t;return tt(e,r,Tt)}function tt(e,t,n=null){if(!e.equals(t)){var r=e.v;qe?Re.set(e,t):Re.set(e,r),e.v=t;var i=we.ensure();if(i.capture(e,r),(e.f&D)!==0){const s=e;(e.f&L)!==0&&Gt(s),le===null&&Yt(s)}e.wv=lr(),qn(e,L,n),E!==null&&(E.f&O)!==0&&(E.f&(ce|Se))===0&&(ie===null?bi([e]):ie.push(e)),!i.is_fork&&Kt.size>0&&!Bn&&ci()}return t}function ci(){Bn=!1;for(const e of Kt)(e.f&O)!==0&&x(e,de),dt(e)&&rt(e);Kt.clear()}function ut(e){ve(e,e.v+1)}function qn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var a=r[s],l=a.f,o=(l&L)===0;if(o&&x(a,t),(l&D)!==0){var f=a;le?.delete(f),(l&Fe)===0&&(l&Z&&(a.f|=Fe),qn(f,de,n))}else if(o){var u=a;(l&Te)!==0&&ye!==null&&ye.add(u),n!==null?n.push(u):Ut(u)}}}function ct(e){if(typeof e!="object"||e===null||Bt in e)return e;const t=pn(e);if(t!==Nr&&t!==Rr)return e;var n=new Map,r=_n(e),i=be(0),s=Ue,a=l=>{if(Ue===s)return l();var o=w,f=Ue;z(null),sr(s);var u=l();return z(o),sr(f),u};return r&&n.set("length",be(e.length)),new Proxy(e,{defineProperty(l,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Br();var u=n.get(o);return u===void 0?a(()=>{var h=be(f.value);return n.set(o,h),h}):ve(u,f.value,!0),!0},deleteProperty(l,o){var f=n.get(o);if(f===void 0){if(o in l){const u=a(()=>be(I));n.set(o,u),ut(i)}}else ve(f,I),ut(i);return!0},get(l,o,f){if(o===Bt)return e;var u=n.get(o),h=o in l;if(u===void 0&&(!h||Je(l,o)?.writable)&&(u=a(()=>{var p=ct(h?l[o]:I),c=be(p);return c}),n.set(o,u)),u!==void 0){var d=R(u);return d===I?void 0:d}return Reflect.get(l,o,f)},getOwnPropertyDescriptor(l,o){var f=Reflect.getOwnPropertyDescriptor(l,o);if(f&&"value"in f){var u=n.get(o);u&&(f.value=R(u))}else if(f===void 0){var h=n.get(o),d=h?.v;if(h!==void 0&&d!==I)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return f},has(l,o){if(o===Bt)return!0;var f=n.get(o),u=f!==void 0&&f.v!==I||Reflect.has(l,o);if(f!==void 0||E!==null&&(!u||Je(l,o)?.writable)){f===void 0&&(f=a(()=>{var d=u?ct(l[o]):I,p=be(d);return p}),n.set(o,f));var h=R(f);if(h===I)return!1}return u},set(l,o,f,u){var h=n.get(o),d=o in l;if(r&&o==="length")for(var p=f;p<h.v;p+=1){var c=n.get(p+"");c!==void 0?ve(c,I):p in l&&(c=a(()=>be(I)),n.set(p+"",c))}if(h===void 0)(!d||Je(l,o)?.writable)&&(h=a(()=>be(void 0)),ve(h,ct(f)),n.set(o,h));else{d=h.v!==I;var g=a(()=>ct(f));ve(h,g)}var T=Reflect.getOwnPropertyDescriptor(l,o);if(T?.set&&T.set.call(u,f),!d){if(r&&typeof o=="string"){var m=n.get("length"),C=Number(o);Number.isInteger(C)&&C>=m.v&&ve(m,C+1)}ut(i)}return!0},ownKeys(l){R(i);var o=Reflect.ownKeys(l).filter(h=>{var d=n.get(h);return d===void 0||d.v!==I});for(var[f,u]of n)u.v!==I&&!(f in l)&&o.push(f);return o},setPrototypeOf(){Yr()}})}var Vn,Un,Wn,Gn;function Jt(){if(Vn===void 0){Vn=window,Un=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Wn=Je(t,"firstChild").get,Gn=Je(t,"nextSibling").get,gn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),gn(n)&&(n.__t=void 0)}}function U(e=""){return document.createTextNode(e)}function Be(e){return Wn.call(e)}function ee(e){return Gn.call(e)}function _e(e,t){if(!k)return Be(e);var n=Be(y);return n===null&&(n=y.appendChild(U())),F(n),n}function At(e,t=!1){if(!k){var n=Be(e);return n instanceof Comment&&n.data===""?ee(n):n}if(t){if(y?.nodeType!==Et){var r=U();return y?.before(r),F(r),r}Xt(y)}return y}function nt(e,t=1,n=!1){let r=k?y:e;for(var i;t--;)i=r,r=ee(r);if(!k)return r;if(n){if(r?.nodeType!==Et){var s=U();return r===null?i?.after(s):r.before(s),F(s),s}Xt(r)}return F(r),r}function Kn(e){e.textContent=""}function Jn(){return!1}function Xn(e,t,n){return document.createElementNS(vn,e,void 0)}function Xt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Et;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function di(e,t,n,r=!0){r&&n();for(var i of t)e.addEventListener(i,n);Qt(()=>{for(var s of t)e.removeEventListener(s,n)})}function Ct(e){var t=w,n=E;z(null),ne(null);try{return e()}finally{z(t),ne(n)}}function hi(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Ee(e,t){var n=E;n!==null&&(n.f&q)!==0&&(e|=q);var r={ctx:se,deps:null,nodes:null,f:e|L|Z,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&at)!==0)et!==null?et.push(r):we.ensure().schedule(r);else if(t!==null){try{rt(r)}catch(a){throw j(r),a}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Ae)===0&&(i=i.first,(e&Te)!==0&&(e&Xe)!==0&&i!==null&&(i.f|=Xe))}if(i!==null&&(i.parent=n,n!==null&&hi(i,n),w!==null&&(w.f&D)!==0&&(e&Se)===0)){var s=w;(s.effects??=[]).push(i)}return r}function Zt(){return w!==null&&!ae}function Qt(e){const t=Ee(bt,null);return x(t,O),t.teardown=e,t}function vi(e){return Ee(at|Dr,e)}function _i(e){we.ensure();const t=Ee(Se|Ae,e);return()=>{j(t)}}function pi(e){we.ensure();const t=Ee(Se|Ae,e);return(n={})=>new Promise(r=>{n.outro?Ye(t,()=>{j(t),r(void 0)}):(j(t),r(void 0))})}function gi(e){return Ee(zt|Ae,e)}function Zn(e,t=0){return Ee(bt|t,e)}function b(e,t=[],n=[],r=[]){ii(r,t,n,i=>{Ee(bt,()=>e(...i.map(R)))})}function xt(e,t=0){var n=Ee(Te|t,e);return n}function te(e){return Ee(ce|Ae,e)}function Qn(e){var t=e.teardown;if(t!==null){const n=qe,r=w;rr(!0),z(null);try{t.call(null)}finally{rr(n),z(r)}}}function en(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ct(()=>{i.abort(me)});var r=n.next;(n.f&Se)!==0?n.parent=null:j(n,t),n=r}}function mi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ce)===0&&j(t),t=n}}function j(e,t=!0){var n=!1;(t||(e.f&En)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(wi(e.nodes.start,e.nodes.end),n=!0),x(e,yn),en(e,t&&!n),ht(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();Qn(e),e.f^=yn,e.f|=Q;var i=e.parent;i!==null&&i.first!==null&&er(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function wi(e,t){for(;e!==null;){var n=e===t?null:ee(e);e.remove(),e=n}}function er(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 Ye(e,t,n=!0){var r=[];tr(e,r,!0);var i=()=>{n&&j(e),t&&t()},s=r.length;if(s>0){var a=()=>--s||i();for(var l of r)l.out(a)}else i()}function tr(e,t,n){if((e.f&q)===0){e.f^=q;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,a=(i.f&Xe)!==0||(i.f&ce)!==0&&(e.f&Te)!==0;tr(i,t,a?n:!1),i=s}}}function tn(e){nr(e,!0)}function nr(e,t){if((e.f&q)!==0){e.f^=q,(e.f&O)===0&&(x(e,L),we.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Xe)!==0||(n.f&ce)!==0;nr(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const a of s)(a.is_global||t)&&a.in()}}function nn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:ee(n);t.append(n),n=i}}let Nt=!1,qe=!1;function rr(e){qe=e}let w=null,ae=!1;function z(e){w=e}let E=null;function ne(e){E=e}let re=null;function yi(e){w!==null&&(re===null?re=[e]:re.push(e))}let B=null,W=0,ie=null;function bi(e){ie=e}let ir=1,Ve=0,Ue=Ve;function sr(e){Ue=e}function lr(){return++ir}function dt(e){var t=e.f;if((t&L)!==0)return!0;if(t&D&&(e.f&=~Fe),(t&de)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(dt(s)&&Hn(s),s.wv>e.wv)return!0}(t&Z)!==0&&le===null&&x(e,O)}return!1}function ar(e,t,n=!0){var r=e.reactions;if(r!==null&&!(re!==null&&Ke.call(re,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&D)!==0?ar(s,t,!1):t===s&&(n?x(s,L):(s.f&O)!==0&&x(s,de),Ut(s))}}function or(e){var t=B,n=W,r=ie,i=w,s=re,a=se,l=ae,o=Ue,f=e.f;B=null,W=0,ie=null,w=(f&(ce|Se))===0?e:null,re=null,Qe(e.ctx),ae=!1,Ue=++Ve,e.ac!==null&&(Ct(()=>{e.ac.abort(me)}),e.ac=null);try{e.f|=Ht;var u=e.fn,h=u();e.f|=Pe;var d=e.deps,p=S?.is_fork;if(B!==null){var c;if(p||ht(e,W),d!==null&&W>0)for(d.length=W+B.length,c=0;c<B.length;c++)d[W+c]=B[c];else e.deps=d=B;if(Zt()&&(e.f&Z)!==0)for(c=W;c<d.length;c++)(d[c].reactions??=[]).push(e)}else!p&&d!==null&&W<d.length&&(ht(e,W),d.length=W);if(Cn()&&ie!==null&&!ae&&d!==null&&(e.f&(D|de|L))===0)for(c=0;c<ie.length;c++)ar(ie[c],e);if(i!==null&&i!==e){if(Ve++,i.deps!==null)for(let g=0;g<n;g+=1)i.deps[g].rv=Ve;if(t!==null)for(const g of t)g.rv=Ve;ie!==null&&(r===null?r=ie:r.push(...ie))}return(e.f&Ce)!==0&&(e.f^=Ce),h}catch(g){return Nn(g)}finally{e.f^=Ht,B=t,W=n,ie=r,w=i,re=s,Qe(a),ae=l,Ue=o}}function Ei(e,t){let n=t.reactions;if(n!==null){var r=Cr.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&D)!==0&&(B===null||!Ke.call(B,t))){var s=t;(s.f&Z)!==0&&(s.f^=Z,s.f&=~Fe),Yt(s),ui(s),ht(s,0)}}function ht(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Ei(e,n[r])}function rt(e){var t=e.f;if((t&Q)===0){x(e,O);var n=E,r=Nt;E=e,Nt=!0;try{(t&(Te|wn))!==0?mi(e):en(e),Qn(e);var i=or(e);e.teardown=typeof i=="function"?i:null,e.wv=ir;var s;Ar&&Kr&&(e.f&L)!==0&&e.deps}finally{Nt=r,E=n}}}function R(e){var t=e.f,n=(t&D)!==0;if(w!==null&&!ae){var r=E!==null&&(E.f&Q)!==0;if(!r&&(re===null||!Ke.call(re,e))){var i=w.deps;if((w.f&Ht)!==0)e.rv<Ve&&(e.rv=Ve,B===null&&i!==null&&i[W]===e?W++:B===null?B=[e]:B.push(e));else{(w.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[w]:Ke.call(s,w)||s.push(w)}}}if(qe&&Re.has(e))return Re.get(e);if(n){var a=e;if(qe){var l=a.v;return((a.f&O)===0&&a.reactions!==null||ur(a))&&(l=Gt(a)),Re.set(a,l),l}var o=(a.f&Z)===0&&!ae&&w!==null&&(Nt||(w.f&Z)!==0),f=(a.f&Pe)===0;dt(a)&&(o&&(a.f|=Z),Hn(a)),o&&!f&&(zn(a),fr(a))}if(le?.has(e))return le.get(e);if((e.f&Ce)!==0)throw e.v;return e.v}function fr(e){if(e.f|=Z,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&D)!==0&&(t.f&Z)===0&&(zn(t),fr(t))}function ur(e){if(e.v===I)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Re.has(t)||(t.f&D)!==0&&ur(t))return!0;return!1}function $i(e){var t=ae;try{return ae=!0,e()}finally{ae=t}}const Rt=Symbol("events"),ki=new Set,cr=new Set;function Ti(e,t,n,r={}){function i(s){if(r.capture||rn.call(t,s),!s.cancelBubble)return Ct(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?He(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function G(e,t,n,r,i){var s={capture:r,passive:i},a=Ti(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Qt(()=>{t.removeEventListener(e,a,s)})}let dr=null;function rn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;dr=e;var a=0,l=dr===e&&e[Rt];if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e[Rt]=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(a=o)}if(s=i[a]||e.target,s!==t){yt(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=w,h=E;z(null),ne(null);try{for(var d,p=[];s!==null;){var c=s.assignedSlot||s.parentNode||s.host||null;try{var g=s[Rt]?.[r];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(T){d?p.push(T):d=T}if(e.cancelBubble||c===t||c===null)break;s=c}if(d){for(let T of p)queueMicrotask(()=>{throw T});throw d}}finally{e[Rt]=t,delete e.currentTarget,z(u),ne(h)}}}const Si=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Ai(e){return Si?.createHTML(e)??e}function Ci(e){var t=Xn("template");return t.innerHTML=Ai(e.replaceAll("<!>","<!---->")),t.content}function Oe(e,t){var n=E;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Ot(e,t){var n=(t&Tr)!==0,r=(t&Sr)!==0,i,s=!e.startsWith("<!>");return()=>{if(k)return Oe(y,null),y;i===void 0&&(i=Ci(s?e:"<!>"+e),n||(i=Be(i)));var a=r||Un?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=Be(a),o=a.lastChild;Oe(l,o)}else Oe(a,a);return a}}function hr(e=""){if(!k){var t=U(e+"");return Oe(t,t),t}var n=y;return n.nodeType!==Et?(n.before(n=U()),F(n)):Xt(n),Oe(n,n),n}function Mt(){if(k)return Oe(y,null),y;var e=document.createDocumentFragment(),t=document.createComment(""),n=U();return e.append(t,n),Oe(t,n),e}function oe(e,t){if(k){var n=E;((n.f&Pe)===0||n.nodes.end===null)&&(n.nodes.end=y),ot();return}e!==null&&e.before(t)}const xi=["touchstart","touchmove"];function Ni(e){return xi.includes(e)}function vr(e,t){return _r(e,t)}function Ri(e,t){Jt(),t.intro=t.intro??!1;const n=t.target,r=k,i=y;try{for(var s=Be(n);s&&(s.nodeType!==Ze||s.data!==dn);)s=ee(s);if(!s)throw Ge;V(!0),F(s);const a=_r(e,{...t,anchor:s});return V(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw a;return a!==Ge&&console.warn("Failed to hydrate: ",a),t.recover===!1&&zr(),Jt(),Kn(n),V(!1),vr(e,t)}finally{V(r),F(i)}}const Dt=new Map;function _r(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0,transformError:l}){Jt();var o=void 0,f=pi(()=>{var u=n??t.appendChild(U());ni(u,{pending:()=>{}},p=>{Sn({});var c=se;if(s&&(c.c=s),i&&(r.$$events=i),k&&Oe(p,null),o=e(p,r)||{},k&&(E.nodes.end=y,y===null||y.nodeType!==Ze||y.data!==Ft))throw $t(),Ge;An()},l);var h=new Set,d=p=>{for(var c=0;c<p.length;c++){var g=p[c];if(!h.has(g)){h.add(g);var T=Ni(g);for(const K of[t,document]){var m=Dt.get(K);m===void 0&&(m=new Map,Dt.set(K,m));var C=m.get(g);C===void 0?(K.addEventListener(g,rn,{passive:T}),m.set(g,1)):m.set(g,C+1)}}}};return d(mt(ki)),cr.add(d),()=>{for(var p of h)for(const T of[t,document]){var c=Dt.get(T),g=c.get(p);--g==0?(T.removeEventListener(p,rn),c.delete(p),c.size===0&&Dt.delete(T)):c.set(p,g)}cr.delete(d),u!==n&&u.parentNode?.removeChild(u)}});return sn.set(o,f),o}let sn=new WeakMap;function Oi(e,t){const n=sn.get(e);return n?(sn.delete(e),n(t)):Promise.resolve()}class Mi{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)tn(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,a]of this.#e){if(this.#e.delete(s),s===t)break;const l=this.#t.get(a);l&&(j(l.effect),this.#t.delete(a))}for(const[s,a]of this.#n){if(s===n||this.#i.has(s))continue;const l=()=>{if(Array.from(this.#e.values()).includes(s)){var f=document.createDocumentFragment();nn(a,f),f.append(U()),this.#t.set(s,{effect:a,fragment:f})}else j(a);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Ye(a,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(j(i.effect),this.#t.delete(r))};ensure(t,n){var r=S,i=Jn();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),a=U();s.append(a),this.#t.set(t,{effect:te(()=>n(a)),fragment:s})}else this.#n.set(t,te(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,o]of this.#n)l===t?r.unskip_effect(o):r.skip_effect(o);for(const[l,o]of this.#t)l===t?r.unskip_effect(o.effect):r.skip_effect(o.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else k&&(this.anchor=y),this.#r(r)}}function ln(e,t,n=!1){var r;k&&(r=y,ot());var i=new Mi(e),s=n?Xe:0;function a(l,o){if(k){var f=$n(r);if(l!==parseInt(f.substring(1))){var u=kt();F(u),i.anchor=u,V(!1),i.ensure(l,o),V(!0);return}}i.ensure(l,o)}xt(()=>{var l=!1;t((o,f=0)=>{l=!0,a(f,o)}),l||a(-1,null)},s)}function Di(e,t,n){for(var r=[],i=t.length,s,a=t.length,l=0;l<i;l++){let h=t[l];Ye(h,()=>{if(s){if(s.pending.delete(h),s.done.add(h),s.pending.size===0){var d=e.outrogroups;an(e,mt(s.done)),d.delete(s),d.size===0&&(e.outrogroups=null)}}else a-=1},!1)}if(a===0){var o=r.length===0&&n!==null;if(o){var f=n,u=f.parentNode;Kn(u),u.append(f),e.items.clear()}an(e,t,!o)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function an(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(const a of e.pending.values())for(const l of a)r.add(e.items.get(l).e)}for(var i=0;i<t.length;i++){var s=t[i];if(r?.has(s)){s.f|=ge;const a=document.createDocumentFragment();nn(s,a)}else j(t[i],n)}}var pr;function Ii(e,t,n,r,i,s=null){var a=e,l=new Map;k&&ot();var o=null,f=ai(()=>{var m=n();return _n(m)?m:m==null?[]:mt(m)}),u,h=new Map,d=!0;function p(m){(T.effect.f&Q)===0&&(T.pending.delete(m),T.fallback=o,Li(T,u,a,t,r),o!==null&&(u.length===0?(o.f&ge)===0?tn(o):(o.f^=ge,_t(o,null,a)):Ye(o,()=>{o=null})))}function c(m){T.pending.delete(m)}var g=xt(()=>{u=R(f);var m=u.length;let C=!1;if(k){var K=$n(a)===Pt;K!==(m===0)&&(a=kt(),F(a),V(!1),C=!0)}for(var J=new Set,Y=S,P=Jn(),pe=0;pe<m;pe+=1){k&&y.nodeType===Ze&&y.data===Ft&&(a=y,C=!0,V(!1));var X=u[pe],it=r(X,pe),fe=d?null:l.get(it);fe?(fe.v&&tt(fe.v,X),fe.i&&tt(fe.i,pe),P&&Y.unskip_effect(fe.e)):(fe=Pi(l,d?a:pr??=U(),X,it,pe,i,t,n),d||(fe.e.f|=ge),l.set(it,fe)),J.add(it)}if(m===0&&s&&!o&&(d?o=te(()=>s(a)):(o=te(()=>s(pr??=U())),o.f|=ge)),m>J.size&&jr(),k&&m>0&&F(kt()),!d)if(h.set(Y,J),P){for(const[fn,_]of l)J.has(fn)||Y.skip_effect(_.e);Y.oncommit(p),Y.ondiscard(c)}else p(Y);C&&V(!0),R(f)}),T={effect:g,items:l,pending:h,outrogroups:null,fallback:o};d=!1,k&&(a=y)}function vt(e){for(;e!==null&&(e.f&ce)===0;)e=e.next;return e}function Li(e,t,n,r,i){var s=t.length,a=e.items,l=vt(e.effect.first),o,f=null,u=[],h=[],d,p,c,g;for(g=0;g<s;g+=1){if(d=t[g],p=i(d,g),c=a.get(p).e,e.outrogroups!==null)for(const X of e.outrogroups)X.pending.delete(c),X.done.delete(c);if((c.f&q)!==0&&tn(c),(c.f&ge)!==0)if(c.f^=ge,c===l)_t(c,null,n);else{var T=f?f.next:l;c===e.effect.last&&(e.effect.last=c.prev),c.prev&&(c.prev.next=c.next),c.next&&(c.next.prev=c.prev),Me(e,f,c),Me(e,c,T),_t(c,T,n),f=c,u=[],h=[],l=vt(f.next);continue}if(c!==l){if(o!==void 0&&o.has(c)){if(u.length<h.length){var m=h[0],C;f=m.prev;var K=u[0],J=u[u.length-1];for(C=0;C<u.length;C+=1)_t(u[C],m,n);for(C=0;C<h.length;C+=1)o.delete(h[C]);Me(e,K.prev,J.next),Me(e,f,K),Me(e,J,m),l=m,f=J,g-=1,u=[],h=[]}else o.delete(c),_t(c,l,n),Me(e,c.prev,c.next),Me(e,c,f===null?e.effect.first:f.next),Me(e,f,c),f=c;continue}for(u=[],h=[];l!==null&&l!==c;)(o??=new Set).add(l),h.push(l),l=vt(l.next);if(l===null)continue}(c.f&ge)===0&&u.push(c),f=c,l=vt(c.next)}if(e.outrogroups!==null){for(const X of e.outrogroups)X.pending.size===0&&(an(e,mt(X.done)),e.outrogroups?.delete(X));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||o!==void 0){var Y=[];if(o!==void 0)for(c of o)(c.f&q)===0&&Y.push(c);for(;l!==null;)(l.f&q)===0&&l!==e.fallback&&Y.push(l),l=vt(l.next);var P=Y.length;if(P>0){var pe=null;Di(e,Y,pe)}}}function Pi(e,t,n,r,i,s,a,l){var o=(a&Er)!==0?(a&kr)===0?Yn(n,!1,!1):ze(n):null,f=(a&$r)!==0?ze(i):null;return{v:o,i:f,e:te(()=>(s(t,o??n,f??i,l),()=>{e.delete(r)}))}}function _t(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,s=t&&(t.f&ge)===0?t.nodes.start:n;r!==null;){var a=ee(r);if(s.before(r),r===i)return;r=a}}function Me(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function De(e,t,n,r,i){k&&ot();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 Fi(e,t){let n=null,r=k;var i;if(k){n=y;for(var s=Be(document.head);s!==null&&(s.nodeType!==Ze||s.data!==e);)s=ee(s);if(s===null)V(!1);else{var a=ee(s);s.remove(),F(a)}}k||(i=document.head.appendChild(U()));try{xt(()=>t(i),En|Ae)}finally{r&&(V(!0),F(n))}}const ji=Symbol("is custom element"),Hi=Symbol("is html"),zi=Pr?"link":"LINK";function pt(e,t,n,r){var i=Bi(e);k&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===zi)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Lr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&gr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function $(e,t,n){var r=w,i=E;let s=k;k&&V(!1),z(null),ne(null);try{t!=="style"&&(on.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?gr(e).includes(t):n&&typeof n=="object")?e[t]=n:pt(e,t,n==null?n:String(n))}finally{z(r),ne(i),s&&V(!0)}}function Bi(e){return e.__attributes??={[ji]:e.nodeName.includes("-"),[Hi]:e.namespaceURI===vn}}var on=new Map;function gr(e){var t=e.getAttribute("is")||e.nodeName,n=on.get(t);if(n)return n;on.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=xr(i);for(var a in r)r[a].set&&n.push(a);i=pn(i)}return n}function Yi(e,t){di(window,["resize"],()=>Ct(()=>t(window[e])))}function M(e,t,n,r){var i=r,s=!0,a=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=a());var o;o=()=>{var d=e[t];return d===void 0?a():(s=!0,d)};var f=!1,u=Wt(()=>(f=!1,o())),h=E;return(function(d,p){if(arguments.length>0){const c=p?R(u):d;return ve(u,c),f=!0,i!==void 0&&(i=c),d}return qe&&f||(h.f&Q)!==0?u.v:R(u)})}function qi(e){return new Vi(e)}class Vi{#e;#n;constructor(t){var n=new Map,r=(s,a)=>{var l=Yn(a,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return R(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===Ir?!0:(R(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return ve(n.get(a)??r(a,l),l),Reflect.set(s,a,l)}});this.#n=(t.hydrate?Ri:vr)(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)&&N(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||yt(this,s,{get(){return this.#n[s]},set(a){this.#n[s]=a},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{Oi(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 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){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=Xn("slot");r!=="default"&&(s.name=r),oe(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Ui(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]=It(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=qi({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=_i(()=>{Zn(()=>{this.$$r=!0;for(const r of wt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=It(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]=It(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 wt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function It(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 Ui(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Wi(e,t,n,r,i,s){let a=class extends mr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return wt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return wt(t).forEach(l=>{yt(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=It(l,o,t),this.$$d[l]=o;var f=this.$$c;if(f){var u=Je(f,l)?.get;u?f[l]=o:f.$set({[l]:o})}}})}),r.forEach(l=>{yt(a.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=a,a}const wr={version:"0.66.6"};function yr(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 Gi=Ot("<meta/>"),Ki=Ot("<meta/>"),Ji=Ot('<hb-layout-mobile><div slot="page"><!></div> <span slot="nav-header-slot"><!></span> <span slot="nav-left-slot"><!></span> <span slot="nav-center-slot"><!></span> <span slot="nav-right-slot"><!></span></hb-layout-mobile>',2),Xi=Ot('<hb-layout-desktop><div slot="page"><!></div> <div slot="nav-center-slot"><!></div> <div slot="nav-right-slot"><!></div></hb-layout-desktop>',2);function br(e,t){Sn(t,!0);let n=M(t,"id",7,""),r=M(t,"heders",7,void 0),i=M(t,"footer",7,void 0),s=M(t,"cookielawuri4more",7,""),a=M(t,"cookielawallowdecline",7,!1),l=M(t,"cookielawlanguage",7,""),o=M(t,"pagename",7,void 0),f=M(t,"cookielaw",7,void 0),u=M(t,"onescreen",7,void 0),h=M(t,"sidebar",7,void 0),d=M(t,"socials",7,void 0),p=M(t,"navlinks",7,void 0),c=M(t,"contacts",7,void 0),g=M(t,"columns",7,void 0),T=M(t,"usermenu",7,void 0),m=M(t,"i18nlang",7,void 0),C=M(t,"page_title",7,void 0),K=M(t,"policies",7,void 0),J=M(t,"company",7,void 0),Y=be(0);function P(_,v){t.$$host.dispatchEvent(new CustomEvent(_,{detail:v}))}yr({repoName:"@htmlbricks/hb-layout-desktop",version:wr.version}),yr({repoName:"@htmlbricks/hb-layout-mobile",version:wr.version});var pe={get id(){return n()},set id(_=""){n(_),N()},get heders(){return r()},set heders(_=void 0){r(_),N()},get footer(){return i()},set footer(_=void 0){i(_),N()},get cookielawuri4more(){return s()},set cookielawuri4more(_=""){s(_),N()},get cookielawallowdecline(){return a()},set cookielawallowdecline(_=!1){a(_),N()},get cookielawlanguage(){return l()},set cookielawlanguage(_=""){l(_),N()},get pagename(){return o()},set pagename(_=void 0){o(_),N()},get cookielaw(){return f()},set cookielaw(_=void 0){f(_),N()},get onescreen(){return u()},set onescreen(_=void 0){u(_),N()},get sidebar(){return h()},set sidebar(_=void 0){h(_),N()},get socials(){return d()},set socials(_=void 0){d(_),N()},get navlinks(){return p()},set navlinks(_=void 0){p(_),N()},get contacts(){return c()},set contacts(_=void 0){c(_),N()},get columns(){return g()},set columns(_=void 0){g(_),N()},get usermenu(){return T()},set usermenu(_=void 0){T(_),N()},get i18nlang(){return m()},set i18nlang(_=void 0){m(_),N()},get page_title(){return C()},set page_title(_=void 0){C(_),N()},get policies(){return K()},set policies(_=void 0){K(_),N()},get company(){return J()},set company(_=void 0){J(_),N()}},X=Mt();Fi("1xkklu8",_=>{var v=Mt(),$e=At(v);{var gt=ue=>{var st=Mt(),Ie=At(st);Ii(Ie,17,r,ke=>ke.content+""+ke.property+ke.name,(ke,A)=>{var lt=Mt(),Lt=At(lt);{var un=Le=>{var We=Gi();b(()=>{pt(We,"name",R(A).name),pt(We,"content",R(A).content)}),oe(Le,We)},H=Le=>{var We=Ki();b(()=>{pt(We,"property",R(A).property),pt(We,"content",R(A).content)}),oe(Le,We)};ln(Lt,Le=>{R(A).name?Le(un):R(A).property&&Le(H,1)})}oe(ke,lt)}),oe(ue,st)};ln($e,ue=>{r()&&ue(gt)})}oe(_,v)});var it=At(X);{var fe=_=>{var v=Ji();$(v,"id","layout_mobile"),b(()=>$(v,"page_title",C())),b(()=>$(v,"company",J())),b(()=>$(v,"sidebar",h())),b(()=>$(v,"pagename",o())),b(()=>$(v,"socials",d())),b(()=>$(v,"navlinks",p())),b(()=>$(v,"contacts",c())),b(()=>$(v,"i18nlang",m())),b(()=>$(v,"columns",g())),b(()=>$(v,"usermenu",T())),b(()=>$(v,"cookielawlanguage",l())),b(()=>$(v,"cookielawallowdecline",a())),b(()=>$(v,"cookielawuri4more",s())),b(()=>$(v,"cookielaw",f())),b(()=>$(v,"footer",i())),b(()=>$(v,"policies",K()));var $e=_e(v),gt=_e($e);De(gt,t,"page",{},H=>{var Le=hr("page");oe(H,Le)}),he($e);var ue=nt($e,2),st=_e(ue);De(st,t,"nav-header-slot",{},null),he(ue);var Ie=nt(ue,2),ke=_e(Ie);De(ke,t,"nav-left-slot",{},null),he(Ie);var A=nt(Ie,2),lt=_e(A);De(lt,t,"nav-center-slot",{},null),he(A);var Lt=nt(A,2),un=_e(Lt);De(un,t,"nav-right-slot",{},null),he(Lt),he(v),G("escreen",v,function(...H){u()?.apply(this,H)}),G("footerClick",v,H=>P("footerClick",H.detail)),G("pageChange",v,H=>P("pageChange",H.detail)),G("offcanvasswitch",v,H=>P("offcanvasswitch",H.detail)),G("layoutStatus",v,H=>P("layoutStatus",H.detail)),G("navbarSlotClick",v,H=>P("navbarSlotClick",H.detail)),oe(_,v)},fn=_=>{var v=Xi();$(v,"id","layout_desktop"),b(()=>$(v,"page_title",C())),b(()=>$(v,"company",J())),b(()=>$(v,"sidebar",h())),b(()=>$(v,"pagename",o())),b(()=>$(v,"socials",d())),b(()=>$(v,"navlinks",p())),b(()=>$(v,"contacts",c())),b(()=>$(v,"i18nlang",m())),b(()=>$(v,"columns",g())),b(()=>$(v,"usermenu",T())),b(()=>$(v,"cookielawlanguage",l())),b(()=>$(v,"cookielawallowdecline",a())),b(()=>$(v,"cookielawuri4more",s())),b(()=>$(v,"cookielaw",f())),b(()=>$(v,"footer",i())),b(()=>$(v,"policies",K()));var $e=_e(v),gt=_e($e);De(gt,t,"page",{},A=>{var lt=hr("page");oe(A,lt)}),he($e);var ue=nt($e,2),st=_e(ue);De(st,t,"nav-center-slot",{},null),he(ue);var Ie=nt(ue,2),ke=_e(Ie);De(ke,t,"nav-right-slot",{},null),he(Ie),he(v),G("escreen",v,function(...A){u()?.apply(this,A)}),G("navbarDropDownClick",v,A=>P("navbarDropDownClick",A.detail)),G("footerClick",v,A=>P("footerClick",A.detail)),G("pageChange",v,A=>P("pageChange",A.detail)),G("offcanvasswitch",v,A=>P("offcanvasswitch",A.detail)),G("layoutStatus",v,A=>P("layoutStatus",A.detail)),G("navbarSlotClick",v,A=>P("navbarSlotClick",A.detail)),oe(_,v)};ln(it,_=>{R(Y)<800?_(fe):_(fn,-1)})}return Yi("innerWidth",_=>ve(Y,_,!0)),oe(e,X),An(pe)}customElements.define("hb-layout",Wi(br,{id:{},heders:{},footer:{},cookielawuri4more:{},cookielawallowdecline:{},cookielawlanguage:{},pagename:{},cookielaw:{},onescreen:{},sidebar:{},socials:{},navlinks:{},contacts:{},columns:{},usermenu:{},i18nlang:{},page_title:{},policies:{},company:{}},["page","nav-header-slot","nav-left-slot","nav-center-slot","nav-right-slot"],[],{mode:"open"})),cn.Component=br,Object.defineProperty(cn,Symbol.toStringTag,{value:"Module"})})(this.layout=this.layout||{});
|
|
3
|
-
//# 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,S=8192,ee=16384,C=32768,te=1<<25,ne=65536,re=1<<18,ie=1<<19,ae=1<<20,oe=1<<25,se=65536,ce=1<<21,le=1<<22,ue=1<<23,de=Symbol(`$state`),fe=Symbol(`legacy props`),pe=Symbol(``),me=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},he=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function ge(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function _e(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}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 T(e){w=e}var E;function D(e){if(e===null)throw Te(),t;return E=e}function De(){return D(I(E))}function Oe(e){if(w){if(I(E)!==null)throw Te(),t;E=e}}function ke(e=1){if(w){for(var t=e,n=E;t--;)n=I(n);E=n}}function Ae(e=!0){for(var t=0,n=E;;){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=I(n);e&&n.remove(),n=i}}function je(e){if(!e||e.nodeType!==8)throw Te(),t;return e.data}function Me(e){return e===this.v}function Ne(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Pe(e){return!Ne(e,this.v)}var Fe=!1,Ie=!1,O=null;function Le(e){O=e}function Re(e,t=!1,n){O={p:O,i:!1,c:null,e:null,s:e,x:null,r:U,l:Ie&&!t?{s:null,u:null,$:[]}:null}}function ze(e){var t=O,n=t.e;if(n!==null){t.e=null;for(var r of n)un(r)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,e??{}}function Be(){return!Ie||O!==null&&O.l===null}var Ve=[];function He(){var e=Ve;Ve=[],_(e)}function Ue(e){if(Ve.length===0&&!tt){var t=Ve;queueMicrotask(()=>{t===Ve&&He()})}Ve.push(e)}function We(){for(;Ve.length>0;)He()}function Ge(e){var t=U;if(t===null)return B.f|=ue,e;if(!(t.f&32768)&&!(t.f&4))throw e;Ke(e,t)}function Ke(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 qe=~(b|x|y);function k(e,t){e.f=e.f&qe|t}function Je(e){e.f&512||e.deps===null?k(e,y):k(e,x)}function Ye(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=se,Ye(t.deps))}function Xe(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Ye(e.deps),k(e,y)}var Ze=!1,Qe=!1;function $e(e){var t=Qe;try{return Qe=!1,[e(),Qe]}finally{Qe=t}}var A=new Set,j=null,M=null,et=null,tt=!1,nt=!1,rt=null,it=null,at=0,ot=1,st=class e{id=ot++;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)k(n,b),this.schedule(n);for(n of t.m)k(n,x),this.schedule(n)}}#p(){if(at++>1e3&&(A.delete(this),ct()),!this.#d()){for(let e of this.#o)this.#s.delete(e),k(e,b),this.schedule(e);for(let e of this.#s)k(e,x),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=rt=[],r=[],i=it=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw ht(e),t}if(j=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(rt=null,it=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&&A.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=j;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(A.add(o),o.#p()),A.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):Fe&&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)Xe(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]),M?.set(e,e.v))}activate(){j=this}deactivate(){j=null,M=null}flush(){try{nt=!0,j=this,this.#p()}finally{at=0,et=null,rt=null,it=null,nt=!1,j=null,M=null,Pt.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),A.delete(this)}#g(){for(let c of A){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 A)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,Ue(()=>{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(j===null){let t=j=new e;nt||(A.add(j),tt||Ue(()=>{j===t&&t.flush()}))}return j}apply(){if(!Fe||!this.is_fork&&A.size===1){M=null;return}M=new Map;for(let[e,[t]]of this.current)M.set(e,t);for(let n of A)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)M.has(e)||M.set(e,t)}}schedule(e){if(et=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(rt!==null&&t===U&&(Fe||(B===null||!(B.f&2))&&!Ze))return;if(n&96){if(!(n&1024))return;t.f^=y}}this.#a.push(t)}};function N(e){var t=tt;tt=!0;try{var n;for(e&&(j!==null&&!j.is_fork&&j.flush(),n=e());;){if(We(),j===null)return n;j.flush()}}finally{tt=t}}function ct(){try{ve()}catch(e){Ke(e,et)}}var lt=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)&&(lt=new Set,Hn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&bn(r),lt?.size>0)){Pt.clear();for(let e of lt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)lt.has(n)&&(lt.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)}}lt.clear()}}lt=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)&&(k(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){j.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),k(e,y);for(var n=e.first;n!==null;)mt(n,t),n=n.next}}function ht(e){k(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()=>{cn()&&(Y(n),mn(()=>(t===0&&(r=Gn(()=>e(()=>Vt(n)))),t+=1,()=>{Ue(()=>{--t,t===0&&(r?.(),r=void 0,Vt(n))})})))}}var _t=ne|ie;function vt(e,t,n,r){new yt(e,t,n,r)}var yt=class{parent;is_pending=!1;transform_error;#e;#t=w?E: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=U;t.b=this,t.f|=128,n(e)},this.parent=U.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=hn(()=>{if(w){let e=this.#t;De();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=E)}#g(){try{this.#a=R(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=R(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=R(()=>e(this.#e)),Ue(()=>{var e=this.#c=document.createDocumentFragment(),t=F();e.append(t),this.#a=this.#x(()=>R(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,xn(this.#o,()=>{this.#o=null}),this.#b(j))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=R(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();Tn(this.#a,e);let t=this.#n.pending;this.#o=R(()=>t(this.#e))}else this.#b(j)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){Xe(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=U,n=B,r=O;W(this.#i),H(this.#i),Le(this.#i.ctx);try{return st.ensure(),e()}catch(e){return Ge(e),null}finally{W(t),H(n),Le(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,Ue(()=>{this.#d=!1,this.#m&&zt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Y(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(z(this.#a),null),this.#o&&=(z(this.#o),null),this.#s&&=(z(this.#s),null),w&&(D(this.#t),ke(),D(Ae()));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){Ke(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return R(()=>{var t=U;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Ke(e,this.#i.parent),null}}))};Ue(()=>{var t;try{t=this.transform_error(e)}catch(e){Ke(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Ke(e,this.#i&&this.#i.parent)):o(t)})}};function bt(e,t,n,r){let i=Be()?wt:Et;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=U,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||Ke(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=>Ke(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),St()}):d()}function xt(){var e=U,t=B,n=O,r=j;return function(i=!0){W(e),H(t),Le(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function St(e=!0){W(null),H(null),Le(null),e&&j?.deactivate()}function Ct(){var e=U,t=e.b,n=j,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=B!==null&&B.f&2?B:null;return U!==null&&(U.f|=ie),{ctx:O,deps:null,effects:null,equals:Me,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??U,ac:null}}function Tt(e,t,r){let i=U;i===null&&ge();var a=void 0,o=It(n),s=!B,c=new Map;return pn(()=>{var t=U,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(St)}catch(e){n.reject(e),St()}var r=j;if(s){if(t.f&32768)var l=Ct();if(i.b.is_rendered())c.get(r)?.reject(me),c.delete(r);else{for(let e of c.values())e.reject(me);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===me),!(n===me||t.f&16384)){if(r.activate(),n)o.f|=ue,zt(o,n);else{o.f&8388608&&(o.f^=ue),zt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(me)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),ln(()=>{for(let e of c.values())e.reject(me)}),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=Pe,t}function Dt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)z(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=U;W(Ot(e));try{e.f&=~se,Dt(e),t=zn(e)}finally{W(n)}return t}function At(e){var t=e.v,n=kt(e);if(!e.equals(n)&&(e.wv=In(),(!j?.is_fork||e.deps===null)&&(e.v=n,j?.capture(e,t,!0),e.deps===null))){k(e,y);return}On||(M===null?Je(e):(cn()||j?.is_fork)&&M.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(me),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:Me,rv:0,wv:0}}function Lt(e,t){let n=It(e,t);return An(n),n}function Rt(e,t=!1,n=!0){let r=It(e);return t||(r.equals=Pe),Ie&&n&&O!==null&&O.l!==null&&(O.l.s??=[]).push(r),r}function P(e,t,n=!1){return B!==null&&(!V||B.f&131072)&&Be()&&B.f&4325394&&(G===null||!o.call(G,e))&&Ce(),zt(e,n?Ut(t):t,it)}function zt(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=st.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&kt(t),M===null&&Je(t)}e.wv=In(),Ht(e,b,n),Be()&&U!==null&&U.f&1024&&!(U.f&96)&&(J===null?jn([e]):J.push(e)),!i.is_fork&&Nt.size>0&&!Ft&&Bt()}return t}function Bt(){Ft=!1;for(let e of Nt)e.f&1024&&k(e,x),Ln(e)&&Hn(e);Nt.clear()}function Vt(e){P(e,e.v+1)}function Ht(e,t,n){var r=e.reactions;if(r!==null)for(var i=Be(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===U)){var l=(c&b)===0;if(l&&k(s,t),c&2){var u=s;M?.delete(u),c&65536||(c&512&&(s.f|=se),Ht(u,x,n))}else if(l){var d=s;c&16&<!==null&<.add(d),n===null?pt(d):n.push(d)}}}}function Ut(e){if(typeof e!=`object`||!e||de in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=Lt(0),s=null,c=Pn,l=e=>{if(Pn===c)return e();var t=B,n=Pn;H(null),Fn(c);var r=e();return H(t),Fn(n),r};return a&&r.set(`length`,Lt(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=Lt(n.value,s);return r.set(t,e),e}):P(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>Lt(n,s));r.set(t,e),Vt(o)}}else P(i,n),Vt(o);return!0},get(t,i,a){if(i===de)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>Lt(Ut(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=Y(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=Y(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===de)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||U!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>Lt(a?Ut(e[t]):n,s)),r.set(t,i)),Y(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(()=>Lt(n,s)),r.set(p+``,m)):P(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>Lt(void 0,s)),P(d,Ut(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>Ut(i));P(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&&P(_,v+1)}Vt(o)}return!0},ownKeys(e){Y(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 Wt,Gt,Kt,qt;function Jt(){if(Wt===void 0){Wt=window,Gt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Kt=u(t,`firstChild`).get,qt=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 F(e=``){return document.createTextNode(e)}function Yt(e){return Kt.call(e)}function I(e){return qt.call(e)}function Xt(e,t){if(!w)return Yt(e);var n=Yt(E);if(n===null)n=E.appendChild(F());else if(t&&n.nodeType!==3){var r=F();return n?.before(r),D(r),r}return t&&nn(n),D(n),n}function Zt(e,t=!1){if(!w){var n=Yt(e);return n instanceof Comment&&n.data===``?I(n):n}if(t){if(E?.nodeType!==3){var r=F();return E?.before(r),D(r),r}nn(E)}return E}function Qt(e,t=1,n=!1){let r=w?E:e;for(var i;t--;)i=r,r=I(r);if(!w)return r;if(n){if(r?.nodeType!==3){var a=F();return r===null?i?.after(a):r.before(a),D(a),a}nn(r)}return D(r),r}function $t(e){e.textContent=``}function en(){return!Fe||lt!==null?!1:(U.f&C)!==0}function tn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function nn(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 rn(e,t,n,r=!0){r&&n();for(var i of t)e.addEventListener(i,n);ln(()=>{for(var r of t)e.removeEventListener(r,n)})}function an(e){var t=B,n=U;H(null),W(null);try{return e()}finally{H(t),W(n)}}function on(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function sn(e,t){var n=U;n!==null&&n.f&8192&&(e|=S);var r={ctx:O,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)rt===null?st.ensure().schedule(r):rt.push(r);else if(t!==null){try{Hn(r)}catch(e){throw z(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|=ne))}if(i!==null&&(i.parent=n,n!==null&&on(i,n),B!==null&&B.f&2&&!(e&64))){var a=B;(a.effects??=[]).push(i)}return r}function cn(){return B!==null&&!V}function ln(e){let t=sn(8,null);return k(t,y),t.teardown=e,t}function un(e){return sn(4|ae,e)}function dn(e){st.ensure();let t=sn(64|ie,e);return()=>{z(t)}}function fn(e){st.ensure();let t=sn(64|ie,e);return(e={})=>new Promise(n=>{e.outro?xn(t,()=>{z(t),n(void 0)}):(z(t),n(void 0))})}function pn(e){return sn(le|ie,e)}function mn(e,t=0){return sn(8|t,e)}function L(e,t=[],n=[],r=[]){bt(r,t,n,t=>{sn(8,()=>e(...t.map(Y)))})}function hn(e,t=0){return sn(16|t,e)}function R(e){return sn(32|ie,e)}function gn(e){var t=e.teardown;if(t!==null){let e=On,n=B;kn(!0),H(null);try{t.call(null)}finally{kn(e),H(n)}}}function _n(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&an(()=>{e.abort(me)});var r=n.next;n.f&64?n.parent=null:z(n,t),n=r}}function vn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||z(t),t=n}}function z(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),k(e,te),_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^=te,e.f|=ee;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:I(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&&z(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^=S;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^=S,e.f&1024||(k(e,b),st.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:I(n);t.append(n),n=i}}var En=null,Dn=!1,On=!1;function kn(e){On=e}var B=null,V=!1;function H(e){B=e}var U=null;function W(e){U=e}var G=null;function An(e){B!==null&&(!Fe||B.f&2)&&(G===null?G=[e]:G.push(e))}var K=null,q=0,J=null;function jn(e){J=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&=~se),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&&M===null&&k(e,y)}return!1}function Rn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Fe&&G!==null&&o.call(G,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Rn(a,t,!1):t===a&&(n?k(a,b):a.f&1024&&k(a,x),pt(a))}}function zn(e){var t=K,n=q,r=J,i=B,a=G,o=O,s=V,c=Pn,l=e.f;K=null,q=0,J=null,B=l&96?null:e,G=null,Le(e.ctx),V=!1,Pn=++Nn,e.ac!==null&&(an(()=>{e.ac.abort(me)}),e.ac=null);try{e.f|=ce;var u=e.fn,d=u();e.f|=C;var f=e.deps,p=j?.is_fork;if(K!==null){var m;if(p||Vn(e,q),f!==null&&q>0)for(f.length=q+K.length,m=0;m<K.length;m++)f[q+m]=K[m];else e.deps=f=K;if(cn()&&e.f&512)for(m=q;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&q<f.length&&(Vn(e,q),f.length=q);if(Be()&&J!==null&&!V&&f!==null&&!(e.f&6146))for(m=0;m<J.length;m++)Rn(J[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;J!==null&&(r===null?r=J:r.push(...J))}return e.f&8388608&&(e.f^=ue),d}catch(e){return Ge(e)}finally{e.f^=ce,K=t,q=n,J=r,B=i,G=a,Le(o),V=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&&(K===null||!o.call(K,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~se),Je(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)){k(e,y);var n=U,r=Dn;U=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,U=n}}}function Y(e){var t=(e.f&2)!=0;if(En?.add(e),B!==null&&!V&&!(U!==null&&U.f&16384)&&(G===null||!o.call(G,e))){var n=B.deps;if(B.f&2097152)e.rv<Nn&&(e.rv=Nn,K===null&&n!==null&&n[q]===e?q++:K===null?K=[e]:K.push(e));else{(B.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[B]:o.call(r,B)||r.push(B)}}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&&!V&&B!==null&&(Dn||(B.f&512)!=0),c=(i.f&C)===0;Ln(i)&&(s&&(i.f|=512),At(i)),s&&!c&&(Mt(i),Un(i))}if(M?.has(e))return M.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=V;try{return V=!0,e()}finally{V=t}}var Kn=Symbol(`events`),qn=new Set,Jn=new Set;function Yn(e,t,n,r={}){function i(e){if(r.capture||Zn.call(t,e),!e.cancelBubble)return an(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?Ue(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function X(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)&&ln(()=>{t.removeEventListener(e,o,a)})}var Xn=null;function Zn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Xn=e;var o=0,s=Xn===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=B,f=U;H(null),W(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,H(d),W(f)}}}var Qn=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function $n(e){return Qn?.createHTML(e)??e}function er(e){var t=tn(`template`);return t.innerHTML=$n(e.replaceAll(`<!>`,`<!---->`)),t.content}function tr(e,t){var n=U;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function nr(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(w)return tr(E,null),E;i===void 0&&(i=er(a?e:`<!>`+e),n||(i=Yt(i)));var t=r||Gt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Yt(t),s=t.lastChild;tr(o,s)}else tr(t,t);return t}}function rr(e=``){if(!w){var t=F(e+``);return tr(t,t),t}var n=E;return n.nodeType===3?nn(n):(n.before(n=F()),D(n)),tr(n,n),n}function ir(){if(w)return tr(E,null),E;var e=document.createDocumentFragment(),t=document.createComment(``),n=F();return e.append(t,n),tr(t,n),e}function Z(e,t){if(w){var n=U;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=E),De();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 ar=[`touchstart`,`touchmove`];function or(e){return ar.includes(e)}function sr(e,t){return ur(e,t)}function cr(e,n){Jt(),n.intro=n.intro??!1;let r=n.target,i=w,a=E;try{for(var o=Yt(r);o&&(o.nodeType!==8||o.data!==`[`);)o=I(o);if(!o)throw t;T(!0),D(o);let i=ur(e,{...n,anchor:o});return T(!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(),Jt(),$t(r),T(!1),sr(e,n)}finally{T(i),D(a)}}var lr=new Map;function ur(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){Jt();var u=void 0,d=fn(()=>{var c=r??n.appendChild(F());vt(c,{pending:()=>{}},n=>{Re({});var r=O;if(o&&(r.c=o),a&&(i.$$events=a),w&&tr(n,null),u=e(n,i)||{},w&&(U.nodes.end=E,E===null||E.nodeType!==8||E.data!==`]`))throw Te(),t;ze()},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=or(r);for(let e of[n,document]){var a=lr.get(e);a===void 0&&(a=new Map,lr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,Zn,{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=lr.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,Zn),t.delete(e),t.size===0&&lr.delete(r)):t.set(e,i)}Jn.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return dr.set(u,d),u}var dr=new WeakMap;function fr(e,t){let n=dr.get(e);return n?(dr.delete(e),n(t)):Promise.resolve()}var pr=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&&(z(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(F()),this.#n.set(e,{effect:r,fragment:t})}else z(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)||(z(n.effect),this.#n.delete(e))};ensure(e,t){var n=j,r=en();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=F();i.append(a),this.#n.set(e,{effect:R(()=>t(a)),fragment:i})}else this.#t.set(e,R(()=>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=E),this.#a(n)}};function mr(e,t,n=!1){var r;w&&(r=E,De());var i=new pr(e),a=n?ne:0;function o(e,t){if(w){var n=je(r);if(e!==parseInt(n.substring(1))){var a=Ae();D(a),i.anchor=a,T(!1),i.ensure(e,t),T(!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 hr(e,t,n){for(var r=[],i=t.length,a,o=t.length,c=0;c<i;c++){let n=t[c];xn(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;gr(e,s(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;$t(d),d.append(u),e.items.clear()}gr(e,t,!l)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function gr(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=oe,Tn(a,document.createDocumentFragment())):z(t[i],n)}}var _r;function vr(e,t,n,r,a,o=null){var c=e,l=new Map;if(t&4){var u=e;c=w?D(Yt(u)):u.appendChild(F())}w&&De();var d=null,f=Et(()=>{var e=n();return i(e)?e:e==null?[]:s(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,br(v,p,c,t,r),d!==null&&(p.length===0?d.f&33554432?(d.f^=oe,Sr(d,null,c)):Cn(d):xn(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:hn(()=>{p=Y(f);var e=p.length;let i=!1;w&&je(c)===`[!`!=(e===0)&&(c=Ae(),D(c),T(!1),i=!0);for(var s=new Set,u=j,v=en(),y=0;y<e;y+=1){w&&E.nodeType===8&&E.data===`]`&&(c=E,i=!0,T(!1));var b=p[y],x=r(b,y),S=h?null:l.get(x);S?(S.v&&zt(S.v,b),S.i&&zt(S.i,y),v&&u.unskip_effect(S.e)):(S=xr(l,h?c:_r??=F(),b,x,y,a,t,n),h||(S.e.f|=oe),l.set(x,S)),s.add(x)}if(e===0&&o&&!d&&(h?d=R(()=>o(c)):(d=R(()=>o(_r??=F())),d.f|=oe)),e>s.size&&_e(``,``,``),w&&e>0&&D(Ae()),!h)if(m.set(u,s),v){for(let[e,t]of l)s.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);i&&T(!0),Y(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,w&&(c=E)}function yr(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function br(e,t,n,r,i){var a=(r&8)!=0,o=t.length,c=e.items,l=yr(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(a)for(v=0;v<o;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<o;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(Cn(_),a&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432)if(_.f^=oe,_===l)Sr(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),Cr(e,d,_),Cr(e,_,y),Sr(_,y,n),d=_,p=[],m=[],l=yr(d.next);continue}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)Sr(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);Cr(e,S.prev,ee.next),Cr(e,d,S),Cr(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),Sr(_,l,n),Cr(e,_.prev,_.next),Cr(e,_,d===null?e.effect.first:d.next),Cr(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=yr(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=yr(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(gr(e,s(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var C=[];if(u!==void 0)for(_ of u)_.f&8192||C.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&C.push(l),l=yr(l.next);var te=C.length;if(te>0){var ne=r&4&&o===0?n:null;if(a){for(v=0;v<te;v+=1)C[v].nodes?.a?.measure();for(v=0;v<te;v+=1)C[v].nodes?.a?.fix()}hr(e,C,ne)}}a&&Ue(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function xr(e,t,n,r,i,a,o,s){var c=o&1?o&16?It(n):Rt(n,!1,!1):null,l=o&2?It(i):null;return{v:c,i:l,e:R(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function Sr(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=I(r);if(a.before(r),r===i)return;r=o}}function Cr(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function wr(e,t,n,r,i){w&&De();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 Tr(e,t){let n=null,r=w;var i;if(w){n=E;for(var a=Yt(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=I(a);if(a===null)T(!1);else{var o=I(a);a.remove(),D(o)}}w||(i=document.head.appendChild(F()));try{hn(()=>t(i),re|ie)}finally{r&&(T(!0),D(n))}}var Er=Symbol(`is custom element`),Dr=Symbol(`is html`),Or=he?`link`:`LINK`;function kr(e,t,n,r){var i=Ar(e);w&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Or)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[pe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Mr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Q(e,t,n){var r=B,i=U;let a=w;w&&T(!1),H(null),W(null);try{t!==`style`&&(jr.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?Mr(e).includes(t):n&&typeof n==`object`)?e[t]=n:kr(e,t,n==null?n:String(n))}finally{H(r),W(i),a&&T(!0)}}function Ar(e){return e.__attributes??={[Er]:e.nodeName.includes(`-`),[Dr]:e.namespaceURI===r}}var jr=new Map;function Mr(e){var t=e.getAttribute(`is`)||e.nodeName,n=jr.get(t);if(n)return n;jr.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 Nr(e,t){rn(window,[`resize`],()=>an(()=>t(window[e])))}function $(e,t,n,r){var i=!Ie||(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=de in e||fe in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=$e(()=>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&&Y(v);var y=U;return(function(e,t){if(arguments.length>0){let n=t?Y(v):i&&a?Ut(e):e;return P(v,n),_=!0,s!==void 0&&(s=n),e}return On&&_||y.f&16384?v.v:Y(v)})}function Pr(e){return new Fr(e)}var Fr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Rt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Y(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===fe?!0:(Y(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return P(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?cr:sr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Fe&&(!e?.props?.$$host||e.sync===!1)&&N(),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=()=>{fr(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()}},Ir;typeof HTMLElement==`function`&&(Ir=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=tn(`slot`);e!==`default`&&(n.name=e),Z(t,n)}}let t={},n=Rr(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]=Lr(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=Pr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=dn(()=>{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=Lr(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]=Lr(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 Lr(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 Rr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function zr(e,t,n,r,i,a){let o=class extends Ir{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=Lr(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 Br={name:`@htmlbricks/svelte-webcomponent`,private:!0,version:`0.66.7`,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 Vr(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 Hr=nr(`<meta/>`),Ur=nr(`<meta/>`),Wr=nr(`<hb-layout-mobile><div slot="page"><!></div> <span slot="nav-header-slot"><!></span> <span slot="nav-left-slot"><!></span> <span slot="nav-center-slot"><!></span> <span slot="nav-right-slot"><!></span></hb-layout-mobile>`,2),Gr=nr(`<hb-layout-desktop><div slot="page"><!></div> <div slot="nav-center-slot"><!></div> <div slot="nav-right-slot"><!></div></hb-layout-desktop>`,2);function Kr(e,t){Re(t,!0);let n=$(t,`id`,7,``),r=$(t,`heders`,7,void 0),i=$(t,`footer`,7,void 0),a=$(t,`cookielawuri4more`,7,``),o=$(t,`cookielawallowdecline`,7,!1),s=$(t,`cookielawlanguage`,7,``),c=$(t,`pagename`,7,void 0),l=$(t,`cookielaw`,7,void 0),u=$(t,`onescreen`,7,void 0),d=$(t,`sidebar`,7,void 0),f=$(t,`socials`,7,void 0),p=$(t,`navlinks`,7,void 0),m=$(t,`contacts`,7,void 0),h=$(t,`columns`,7,void 0),g=$(t,`usermenu`,7,void 0),_=$(t,`i18nlang`,7,void 0),v=$(t,`page_title`,7,void 0),y=$(t,`policies`,7,void 0),b=$(t,`company`,7,void 0),x=Lt(0);function S(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}Vr({repoName:`@htmlbricks/hb-layout-desktop`,version:Br.version}),Vr({repoName:`@htmlbricks/hb-layout-mobile`,version:Br.version});var ee={get id(){return n()},set id(e=``){n(e),N()},get heders(){return r()},set heders(e=void 0){r(e),N()},get footer(){return i()},set footer(e=void 0){i(e),N()},get cookielawuri4more(){return a()},set cookielawuri4more(e=``){a(e),N()},get cookielawallowdecline(){return o()},set cookielawallowdecline(e=!1){o(e),N()},get cookielawlanguage(){return s()},set cookielawlanguage(e=``){s(e),N()},get pagename(){return c()},set pagename(e=void 0){c(e),N()},get cookielaw(){return l()},set cookielaw(e=void 0){l(e),N()},get onescreen(){return u()},set onescreen(e=void 0){u(e),N()},get sidebar(){return d()},set sidebar(e=void 0){d(e),N()},get socials(){return f()},set socials(e=void 0){f(e),N()},get navlinks(){return p()},set navlinks(e=void 0){p(e),N()},get contacts(){return m()},set contacts(e=void 0){m(e),N()},get columns(){return h()},set columns(e=void 0){h(e),N()},get usermenu(){return g()},set usermenu(e=void 0){g(e),N()},get i18nlang(){return _()},set i18nlang(e=void 0){_(e),N()},get page_title(){return v()},set page_title(e=void 0){v(e),N()},get policies(){return y()},set policies(e=void 0){y(e),N()},get company(){return b()},set company(e=void 0){b(e),N()}},C=ir();Tr(`1xkklu8`,e=>{var t=ir(),n=Zt(t),i=e=>{var t=ir();vr(Zt(t),17,r,e=>e.content+``+e.property+e.name,(e,t)=>{var n=ir(),r=Zt(n),i=e=>{var n=Hr();L(()=>{kr(n,`name`,Y(t).name),kr(n,`content`,Y(t).content)}),Z(e,n)},a=e=>{var n=Ur();L(()=>{kr(n,`property`,Y(t).property),kr(n,`content`,Y(t).content)}),Z(e,n)};mr(r,e=>{Y(t).name?e(i):Y(t).property&&e(a,1)}),Z(e,n)}),Z(e,t)};mr(n,e=>{r()&&e(i)}),Z(e,t)});var te=Zt(C),ne=e=>{var n=Wr();Q(n,`id`,`layout_mobile`),L(()=>Q(n,`page_title`,v())),L(()=>Q(n,`company`,b())),L(()=>Q(n,`sidebar`,d())),L(()=>Q(n,`pagename`,c())),L(()=>Q(n,`socials`,f())),L(()=>Q(n,`navlinks`,p())),L(()=>Q(n,`contacts`,m())),L(()=>Q(n,`i18nlang`,_())),L(()=>Q(n,`columns`,h())),L(()=>Q(n,`usermenu`,g())),L(()=>Q(n,`cookielawlanguage`,s())),L(()=>Q(n,`cookielawallowdecline`,o())),L(()=>Q(n,`cookielawuri4more`,a())),L(()=>Q(n,`cookielaw`,l())),L(()=>Q(n,`footer`,i())),L(()=>Q(n,`policies`,y()));var r=Xt(n);wr(Xt(r),t,`page`,{},e=>{Z(e,rr(`page`))}),Oe(r);var x=Qt(r,2);wr(Xt(x),t,`nav-header-slot`,{},null),Oe(x);var ee=Qt(x,2);wr(Xt(ee),t,`nav-left-slot`,{},null),Oe(ee);var C=Qt(ee,2);wr(Xt(C),t,`nav-center-slot`,{},null),Oe(C);var te=Qt(C,2);wr(Xt(te),t,`nav-right-slot`,{},null),Oe(te),Oe(n),X(`escreen`,n,function(...e){u()?.apply(this,e)}),X(`footerClick`,n,e=>S(`footerClick`,e.detail)),X(`pageChange`,n,e=>S(`pageChange`,e.detail)),X(`offcanvasswitch`,n,e=>S(`offcanvasswitch`,e.detail)),X(`layoutStatus`,n,e=>S(`layoutStatus`,e.detail)),X(`navbarSlotClick`,n,e=>S(`navbarSlotClick`,e.detail)),Z(e,n)},re=e=>{var n=Gr();Q(n,`id`,`layout_desktop`),L(()=>Q(n,`page_title`,v())),L(()=>Q(n,`company`,b())),L(()=>Q(n,`sidebar`,d())),L(()=>Q(n,`pagename`,c())),L(()=>Q(n,`socials`,f())),L(()=>Q(n,`navlinks`,p())),L(()=>Q(n,`contacts`,m())),L(()=>Q(n,`i18nlang`,_())),L(()=>Q(n,`columns`,h())),L(()=>Q(n,`usermenu`,g())),L(()=>Q(n,`cookielawlanguage`,s())),L(()=>Q(n,`cookielawallowdecline`,o())),L(()=>Q(n,`cookielawuri4more`,a())),L(()=>Q(n,`cookielaw`,l())),L(()=>Q(n,`footer`,i())),L(()=>Q(n,`policies`,y()));var r=Xt(n);wr(Xt(r),t,`page`,{},e=>{Z(e,rr(`page`))}),Oe(r);var x=Qt(r,2);wr(Xt(x),t,`nav-center-slot`,{},null),Oe(x);var ee=Qt(x,2);wr(Xt(ee),t,`nav-right-slot`,{},null),Oe(ee),Oe(n),X(`escreen`,n,function(...e){u()?.apply(this,e)}),X(`navbarDropDownClick`,n,e=>S(`navbarDropDownClick`,e.detail)),X(`footerClick`,n,e=>S(`footerClick`,e.detail)),X(`pageChange`,n,e=>S(`pageChange`,e.detail)),X(`offcanvasswitch`,n,e=>S(`offcanvasswitch`,e.detail)),X(`layoutStatus`,n,e=>S(`layoutStatus`,e.detail)),X(`navbarSlotClick`,n,e=>S(`navbarSlotClick`,e.detail)),Z(e,n)};return mr(te,e=>{Y(x)<800?e(ne):e(re,-1)}),Nr(`innerWidth`,e=>P(x,e,!0)),Z(e,C),ze(ee)}customElements.define(`hb-layout`,zr(Kr,{id:{},heders:{},footer:{},cookielawuri4more:{},cookielawallowdecline:{},cookielawlanguage:{},pagename:{},cookielaw:{},onescreen:{},sidebar:{},socials:{},navlinks:{},contacts:{},columns:{},usermenu:{},i18nlang:{},page_title:{},policies:{},company:{}},[`page`,`nav-header-slot`,`nav-left-slot`,`nav-center-slot`,`nav-right-slot`],[],{mode:`open`})),e.Component=Kr})(this.layout=this.layout||{});
|
|
3
|
+
//# sourceMappingURL=main.iife.js.map
|