@htmlbricks/hb-layout-desktop 0.61.44 → 0.61.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(ln){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const dr=1,vr=4,_r=8,hr=16,gr=1,pr=2,on="[",un="[!",fn="]",He={},I=Symbol(),mr="http://www.w3.org/1999/xhtml",cn=!1;var dn=Array.isArray,wr=Array.prototype.indexOf,br=Array.from,_t=Object.keys,We=Object.defineProperty,Te=Object.getOwnPropertyDescriptor,yr=Object.getOwnPropertyDescriptors,Er=Object.prototype,$r=Array.prototype,vn=Object.getPrototypeOf,_n=Object.isExtensible;function hn(e){for(var t=0;t<e.length;t++)e[t]()}function kr(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const H=2,xt=4,At=8,Ge=16,ce=32,he=64,gn=128,X=256,ht=512,j=1024,z=2048,ge=4096,pe=8192,Se=16384,Rt=32768,Pt=65536,pn=1<<17,Tr=1<<18,Ve=1<<19,Sr=1<<20,Dt=1<<21,Lt=1<<22,Ne=1<<23,gt=Symbol("$state"),mn=Symbol("legacy props"),Nr=Symbol(""),Mt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},wn=3,pt=8;function Cr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Or(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function xr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Ar(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Rr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Pr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Dr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Lr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Mr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ir(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function mt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let N=!1;function me(e){N=e}let A;function we(e){if(e===null)throw mt(),He;return A=e}function wt(){return we(Pe(A))}function D(e){if(N){if(Pe(A)!==null)throw mt(),He;A=e}}function jr(){for(var e=0,t=A;;){if(t.nodeType===pt){var n=t.data;if(n===fn){if(e===0)return t;e-=1}else(n===on||n===un)&&(e+=1)}var r=Pe(t);t.remove(),t=r}}function Fr(e){if(!e||e.nodeType!==pt)throw mt(),He;return e.data}function bn(e){return e===this.v}function Ur(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function yn(e){return!Ur(e,this.v)}let Yr=!1,ne=null;function bt(e){ne=e}function En(e,t=!1,n){ne={p:ne,c:null,e:null,s:e,x:null,l:null}}function $n(e){var t=ne,n=t.e;if(n!==null){t.e=null;for(var r of n)jn(r)}return e!==void 0&&(t.x=e),ne=t.p,e??{}}function kn(){return!0}const Br=new WeakMap;function Hr(e){var t=y;if(t===null)return E.f|=Ne,e;if((t.f&Rt)===0){if((t.f&gn)===0)throw!t.parent&&e instanceof Error&&Tn(e),e;t.b.error(e)}else It(e,t)}function It(e,t){for(;t!==null;){if((t.f&gn)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&Tn(e),e}function Tn(e){const t=Br.get(e);t&&(We(e,"message",{value:t.message}),We(e,"stack",{value:t.stack}))}let at=[],qt=[];function Sn(){var e=at;at=[],hn(e)}function Wr(){var e=qt;qt=[],hn(e)}function Gr(e){at.length===0&&queueMicrotask(Sn),at.push(e)}function Vr(){at.length>0&&Sn(),qt.length>0&&Wr()}function Jr(){const e=y.b;return e===null&&Cr(),e}function jt(e){var t=H|z,n=E!==null&&(E.f&H)!==0?E:null;return y===null||n!==null&&(n.f&X)!==0?t|=X:y.f|=Ve,{ctx:ne,deps:null,effects:null,equals:bn,f:t,fn:e,reactions:null,rv:0,v:I,wv:0,parent:n??y,ac:null}}function Xr(e,t){let n=y;n===null&&Or();var r=n.b,i=void 0,a=Bt(I),s=null,l=!E;return di(()=>{try{var o=e();s&&Promise.resolve(o).catch(()=>{})}catch(d){o=Promise.reject(d)}var u=()=>o;i=s?.then(u,u)??Promise.resolve(o),s=i;var f=q,c=r.is_pending();l&&(r.update_pending_count(1),c||f.increment());const v=(d,_=void 0)=>{s=null,c||f.activate(),_?_!==Mt&&(a.f|=Ne,Ht(a,_)):((a.f&Ne)!==0&&(a.f^=Ne),Ht(a,d)),l&&(r.update_pending_count(-1),c||f.decrement()),On()};if(i.then(v,d=>v(null,d||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(o=>{function u(f){function c(){f===i?o(a):u(i)}f.then(c,c)}u(i)})}function zr(e){const t=jt(e);return t.equals=yn,t}function Nn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)ye(t[n])}}function Kr(e){for(var t=e.parent;t!==null;){if((t.f&H)===0)return t;t=t.parent}return null}function Ft(e){var t,n=y;oe(Kr(e));try{Nn(e),t=Zn(e)}finally{oe(n)}return t}function Cn(e){var t=Ft(e);if(e.equals(t)||(e.v=t,e.wv=zn()),!De){var n=(Ee||(e.f&X)!==0)&&e.deps!==null?ge:j;B(e,n)}}function Zr(e,t,n){const r=jt;if(t.length===0){n(e.map(r));return}var i=q,a=y,s=Qr(),l=Jr();Promise.all(t.map(o=>Xr(o))).then(o=>{i?.activate(),s();try{n([...e.map(r),...o])}catch(u){(a.f&Se)===0&&It(u,a)}i?.deactivate(),On()}).catch(o=>{l.error(o)})}function Qr(){var e=y,t=E,n=ne,r=q;return function(){oe(e),Z(t),bt(n),r?.activate()}}function On(){oe(null),Z(null),bt(null)}const Ut=new Set;let q=null,xn=new Set,yt=[];function An(){const e=yt.shift();yt.length>0&&queueMicrotask(An),e()}let Ce=[],Et=null,Yt=!1,$t=!1;class Oe{current=new Map;#t=new Map;#e=new Set;#n=0;#u=null;#f=!1;#i=[];#s=[];#a=[];#r=[];#l=[];#c=[];#d=[];skipped_effects=new Set;process(t){Ce=[];for(const i of t)this.#_(i);if(this.#i.length===0&&this.#n===0){this.#v();var n=this.#a,r=this.#r;this.#a=[],this.#r=[],this.#l=[],q=null,Pn(n),Pn(r),q===null?q=this:Ut.delete(this),this.#u?.resolve()}else this.#o(this.#a),this.#o(this.#r),this.#o(this.#l);for(const i of this.#i)Ke(i);for(const i of this.#s)Ke(i);this.#i=[],this.#s=[]}#_(t){t.f^=j;for(var n=t.first;n!==null;){var r=n.f,i=(r&(ce|he))!==0,a=i&&(r&j)!==0,s=a||(r&pe)!==0||this.skipped_effects.has(n);if(!s&&n.fn!==null){if(i)n.f^=j;else if((r&xt)!==0)this.#r.push(n);else if((r&j)===0)if((r&Lt)!==0){var l=n.b?.is_pending()?this.#s:this.#i;l.push(n)}else kt(n)&&((n.f&Ge)!==0&&this.#l.push(n),Ke(n));var o=n.first;if(o!==null){n=o;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)n=u.next,u=u.parent}}#o(t){for(const n of t)((n.f&z)!==0?this.#c:this.#d).push(n),B(n,j);t.length=0}capture(t,n){this.#t.has(t)||this.#t.set(t,n),this.current.set(t,t.v)}activate(){q=this}deactivate(){q=null;for(const t of xn)if(xn.delete(t),t(),q!==null)break}neuter(){this.#f=!0}flush(){Ce.length>0?Rn():this.#v(),q===this&&(this.#n===0&&Ut.delete(this),this.deactivate())}#v(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const t of this.#c)B(t,z),Je(t);for(const t of this.#d)B(t,ge),Je(t);this.#a=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=kr()).promise}static ensure(){if(q===null){const t=q=new Oe;Ut.add(q),$t||Oe.enqueue(()=>{q===t&&t.flush()})}return q}static enqueue(t){yt.length===0&&queueMicrotask(An),yt.unshift(t)}}function P(e){var t=$t;$t=!0;try{for(var n;;){if(Vr(),Ce.length===0&&(q?.flush(),Ce.length===0))return Et=null,n;Rn()}}finally{$t=t}}function Rn(){var e=ze;Yt=!0;try{var t=0;for(Gn(!0);Ce.length>0;){var n=Oe.ensure();if(t++>1e3){var r,i;ei()}n.process(Ce),be.clear()}}finally{Yt=!1,Gn(e),Et=null}}function ei(){try{Pr()}catch(e){It(e,Et)}}let xe=null;function Pn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Se|pe))===0&&kt(r)&&(xe=[],Ke(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Yn(r):r.fn=null),xe?.length>0)){be.clear();for(const i of xe)Ke(i);xe=[]}}xe=null}}function Je(e){for(var t=Et=e;t.parent!==null;){t=t.parent;var n=t.f;if(Yt&&t===y&&(n&Ge)!==0)return;if((n&(he|ce))!==0){if((n&j)===0)return;t.f^=j}}Ce.push(t)}const be=new Map;function Bt(e,t){var n={f:0,v:e,reactions:null,equals:bn,rv:0,wv:0};return n}function F(e,t){const n=Bt(e);return wi(n),n}function ti(e,t=!1,n=!0){const r=Bt(e);return t||(r.equals=yn),r}function K(e,t,n=!1){E!==null&&(!le||(E.f&pn)!==0)&&kn()&&(E.f&(H|Ge|Lt|pn))!==0&&!de?.includes(e)&&qr();let r=n?Ae(t):t;return Ht(e,r)}function Ht(e,t){if(!e.equals(t)){var n=e.v;De?be.set(e,t):be.set(e,n),e.v=t;var r=Oe.ensure();r.capture(e,n),(e.f&H)!==0&&((e.f&z)!==0&&Ft(e),B(e,(e.f&X)===0?j:ge)),e.wv=zn(),Dn(e,z),y!==null&&(y.f&j)!==0&&(y.f&(ce|he))===0&&(Q===null?bi([e]):Q.push(e))}return t}function Wt(e){K(e,e.v+1)}function Dn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var a=n[i],s=a.f,l=(s&z)===0;l&&B(a,t),(s&H)!==0?Dn(a,ge):l&&((s&Ge)!==0&&xe!==null&&xe.push(a),Je(a))}}function Ae(e){if(typeof e!="object"||e===null||gt in e)return e;const t=vn(e);if(t!==Er&&t!==$r)return e;var n=new Map,r=dn(e),i=F(0),a=Le,s=l=>{if(Le===a)return l();var o=E,u=Le;Z(null),Xn(a);var f=l();return Z(o),Xn(u),f};return r&&n.set("length",F(e.length)),new Proxy(e,{defineProperty(l,o,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Mr();var f=n.get(o);return f===void 0?f=s(()=>{var c=F(u.value);return n.set(o,c),c}):K(f,u.value,!0),!0},deleteProperty(l,o){var u=n.get(o);if(u===void 0){if(o in l){const f=s(()=>F(I));n.set(o,f),Wt(i)}}else K(u,I),Wt(i);return!0},get(l,o,u){if(o===gt)return e;var f=n.get(o),c=o in l;if(f===void 0&&(!c||Te(l,o)?.writable)&&(f=s(()=>{var d=Ae(c?l[o]:I),_=F(d);return _}),n.set(o,f)),f!==void 0){var v=C(f);return v===I?void 0:v}return Reflect.get(l,o,u)},getOwnPropertyDescriptor(l,o){var u=Reflect.getOwnPropertyDescriptor(l,o);if(u&&"value"in u){var f=n.get(o);f&&(u.value=C(f))}else if(u===void 0){var c=n.get(o),v=c?.v;if(c!==void 0&&v!==I)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return u},has(l,o){if(o===gt)return!0;var u=n.get(o),f=u!==void 0&&u.v!==I||Reflect.has(l,o);if(u!==void 0||y!==null&&(!f||Te(l,o)?.writable)){u===void 0&&(u=s(()=>{var v=f?Ae(l[o]):I,d=F(v);return d}),n.set(o,u));var c=C(u);if(c===I)return!1}return f},set(l,o,u,f){var c=n.get(o),v=o in l;if(r&&o==="length")for(var d=u;d<c.v;d+=1){var _=n.get(d+"");_!==void 0?K(_,I):d in l&&(_=s(()=>F(I)),n.set(d+"",_))}if(c===void 0)(!v||Te(l,o)?.writable)&&(c=s(()=>F(void 0)),K(c,Ae(u)),n.set(o,c));else{v=c.v!==I;var g=s(()=>Ae(u));K(c,g)}var S=Reflect.getOwnPropertyDescriptor(l,o);if(S?.set&&S.set.call(f,u),!v){if(r&&typeof o=="string"){var R=n.get("length"),p=Number(o);Number.isInteger(p)&&p>=R.v&&K(R,p+1)}Wt(i)}return!0},ownKeys(l){C(i);var o=Reflect.ownKeys(l).filter(c=>{var v=n.get(c);return v===void 0||v.v!==I});for(var[u,f]of n)f.v!==I&&!(u in l)&&o.push(u);return o},setPrototypeOf(){Ir()}})}var Ln,Mn,In,qn;function Gt(){if(Ln===void 0){Ln=window,Mn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;In=Te(t,"firstChild").get,qn=Te(t,"nextSibling").get,_n(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),_n(n)&&(n.__t=void 0)}}function Re(e=""){return document.createTextNode(e)}function Xe(e){return In.call(e)}function Pe(e){return qn.call(e)}function L(e,t){if(!N)return Xe(e);var n=Xe(A);return n===null&&(n=A.appendChild(Re())),we(n),n}function ni(e,t){if(!N){var n=Xe(e);return n instanceof Comment&&n.data===""?Pe(n):n}return A}function W(e,t=1,n=!1){let r=N?A:e;for(var i;t--;)i=r,r=Pe(r);if(!N)return r;if(n&&r?.nodeType!==wn){var a=Re();return r===null?i?.after(a):r.before(a),we(a),a}return we(r),r}function ri(e){e.textContent=""}function ii(){return!1}function Vt(e){var t=E,n=y;Z(null),oe(null);try{return e()}finally{Z(t),oe(n)}}function ai(e){y===null&&E===null&&Rr(),E!==null&&(E.f&X)!==0&&y===null&&Ar(),De&&xr()}function si(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function se(e,t,n,r=!0){var i=y;i!==null&&(i.f&pe)!==0&&(e|=pe);var a={ctx:ne,deps:null,nodes_start:null,nodes_end:null,f:e|z,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Ke(a),a.f|=Rt}catch(o){throw ye(a),o}else t!==null&&Je(a);if(r){var s=a;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Ve)===0&&(s=s.first),s!==null&&(s.parent=i,i!==null&&si(s,i),E!==null&&(E.f&H)!==0&&(e&he)===0)){var l=E;(l.effects??=[]).push(s)}}return a}function li(e){const t=se(At,null,!1);return B(t,j),t.teardown=e,t}function oi(e){ai();var t=y.f,n=!E&&(t&ce)!==0&&(t&Rt)===0;if(n){var r=ne;(r.e??=[]).push(e)}else return jn(e)}function jn(e){return se(xt|Sr,e,!1)}function ui(e){Oe.ensure();const t=se(he|Ve,e,!0);return()=>{ye(t)}}function fi(e){Oe.ensure();const t=se(he|Ve,e,!0);return(n={})=>new Promise(r=>{n.outro?Bn(t,()=>{ye(t),r(void 0)}):(ye(t),r(void 0))})}function ci(e){return se(xt,e,!1)}function di(e){return se(Lt|Ve,e,!0)}function vi(e,t=0){return se(At|t,e,!0)}function b(e,t=[],n=[]){Zr(t,n,r=>{se(At,()=>e(...r.map(C)),!0)})}function _i(e,t=0){var n=se(Ge|t,e,!0);return n}function Jt(e,t=!0){return se(ce|Ve,e,!0,t)}function Fn(e){var t=e.teardown;if(t!==null){const n=De,r=E;Vn(!0),Z(null);try{t.call(null)}finally{Vn(n),Z(r)}}}function Un(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Vt(()=>{i.abort(Mt)});var r=n.next;(n.f&he)!==0?n.parent=null:ye(n,t),n=r}}function hi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ce)===0&&ye(t),t=n}}function ye(e,t=!0){var n=!1;(t||(e.f&Tr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(gi(e.nodes_start,e.nodes_end),n=!0),Un(e,t&&!n),Tt(e,0),B(e,Se);var r=e.transitions;if(r!==null)for(const a of r)a.stop();Fn(e);var i=e.parent;i!==null&&i.first!==null&&Yn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function gi(e,t){for(;e!==null;){var n=e===t?null:Pe(e);e.remove(),e=n}}function Yn(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 Bn(e,t){var n=[];Hn(e,n,!0),pi(n,()=>{ye(e),t&&t()})}function pi(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Hn(e,t,n){if((e.f&pe)===0){if(e.f^=pe,e.transitions!==null)for(const s of e.transitions)(s.is_global||n)&&t.push(s);for(var r=e.first;r!==null;){var i=r.next,a=(r.f&Pt)!==0||(r.f&ce)!==0;Hn(r,t,a?n:!1),r=i}}}function mi(e){Wn(e,!0)}function Wn(e,t){if((e.f&pe)!==0){e.f^=pe,(e.f&j)===0&&(B(e,z),Je(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Pt)!==0||(n.f&ce)!==0;Wn(n,i?t:!1),n=r}if(e.transitions!==null)for(const a of e.transitions)(a.is_global||t)&&a.in()}}let ze=!1;function Gn(e){ze=e}let De=!1;function Vn(e){De=e}let E=null,le=!1;function Z(e){E=e}let y=null;function oe(e){y=e}let de=null;function wi(e){E!==null&&(de===null?de=[e]:de.push(e))}let U=null,G=0,Q=null;function bi(e){Q=e}let Jn=1,st=0,Le=st;function Xn(e){Le=e}let Ee=!1;function zn(){return++Jn}function kt(e){var t=e.f;if((t&z)!==0)return!0;if((t&ge)!==0){var n=e.deps,r=(t&X)!==0;if(n!==null){var i,a,s=(t&ht)!==0,l=r&&y!==null&&!Ee,o=n.length;if((s||l)&&(y===null||(y.f&Se)===0)){var u=e,f=u.parent;for(i=0;i<o;i++)a=n[i],(s||!a?.reactions?.includes(u))&&(a.reactions??=[]).push(u);s&&(u.f^=ht),l&&f!==null&&(f.f&X)===0&&(u.f^=X)}for(i=0;i<o;i++)if(a=n[i],kt(a)&&Cn(a),a.wv>e.wv)return!0}(!r||y!==null&&!Ee)&&B(e,j)}return!1}function Kn(e,t,n=!0){var r=e.reactions;if(r!==null&&!de?.includes(e))for(var i=0;i<r.length;i++){var a=r[i];(a.f&H)!==0?Kn(a,t,!1):t===a&&(n?B(a,z):(a.f&j)!==0&&B(a,ge),Je(a))}}function Zn(e){var t=U,n=G,r=Q,i=E,a=Ee,s=de,l=ne,o=le,u=Le,f=e.f;U=null,G=0,Q=null,Ee=(f&X)!==0&&(le||!ze||E===null),E=(f&(ce|he))===0?e:null,de=null,bt(e.ctx),le=!1,Le=++st,e.ac!==null&&(Vt(()=>{e.ac.abort(Mt)}),e.ac=null);try{e.f|=Dt;var c=e.fn,v=c(),d=e.deps;if(U!==null){var _;if(Tt(e,G),d!==null&&G>0)for(d.length=G+U.length,_=0;_<U.length;_++)d[G+_]=U[_];else e.deps=d=U;if(!Ee||(f&H)!==0&&e.reactions!==null)for(_=G;_<d.length;_++)(d[_].reactions??=[]).push(e)}else d!==null&&G<d.length&&(Tt(e,G),d.length=G);if(kn()&&Q!==null&&!le&&d!==null&&(e.f&(H|ge|z))===0)for(_=0;_<Q.length;_++)Kn(Q[_],e);return i!==null&&i!==e&&(st++,Q!==null&&(r===null?r=Q:r.push(...Q))),(e.f&Ne)!==0&&(e.f^=Ne),v}catch(g){return Hr(g)}finally{e.f^=Dt,U=t,G=n,Q=r,E=i,Ee=a,de=s,bt(l),le=o,Le=u}}function yi(e,t){let n=t.reactions;if(n!==null){var r=wr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&H)!==0&&(U===null||!U.includes(t))&&(B(t,ge),(t.f&(X|ht))===0&&(t.f^=ht),Nn(t),Tt(t,0))}function Tt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)yi(e,n[r])}function Ke(e){var t=e.f;if((t&Se)===0){B(e,j);var n=y,r=ze;y=e,ze=!0;try{(t&Ge)!==0?hi(e):Un(e),Fn(e);var i=Zn(e);e.teardown=typeof i=="function"?i:null,e.wv=Jn;var a;cn&&Yr&&(e.f&z)!==0&&e.deps}finally{ze=r,y=n}}}function C(e){var t=e.f,n=(t&H)!==0;if(E!==null&&!le){var r=y!==null&&(y.f&Se)!==0;if(!r&&!de?.includes(e)){var i=E.deps;if((E.f&Dt)!==0)e.rv<st&&(e.rv=st,U===null&&i!==null&&i[G]===e?G++:U===null?U=[e]:(!Ee||!U.includes(e))&&U.push(e));else{(E.deps??=[]).push(e);var a=e.reactions;a===null?e.reactions=[E]:a.includes(E)||a.push(E)}}}else if(n&&e.deps===null&&e.effects===null){var s=e,l=s.parent;l!==null&&(l.f&X)===0&&(s.f^=X)}if(De){if(be.has(e))return be.get(e);if(n){s=e;var o=s.v;return((s.f&j)===0&&s.reactions!==null||Qn(s))&&(o=Ft(s)),be.set(s,o),o}}else n&&(s=e,kt(s)&&Cn(s));if((e.f&Ne)!==0)throw e.v;return e.v}function Qn(e){if(e.v===I)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(be.has(t)||(t.f&H)!==0&&Qn(t))return!0;return!1}function Ei(e){var t=le;try{return le=!0,e()}finally{le=t}}const $i=-7169;function B(e,t){e.f=e.f&$i|t}const ki=new Set,er=new Set;function Ti(e,t,n,r={}){function i(a){if(r.capture||lt.call(t,a),!a.cancelBubble)return Vt(()=>n?.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Gr(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function ve(e,t,n,r,i){var a={capture:r,passive:i},s=Ti(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&li(()=>{t.removeEventListener(e,s,a)})}let tr=null;function lt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;tr=e;var s=0,l=tr===e&&e.__root;if(l){var o=i.indexOf(l);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;o<=u&&(s=o)}if(a=i[s]||e.target,a!==t){We(e,"currentTarget",{configurable:!0,get(){return a||n}});var f=E,c=y;Z(null),oe(null);try{for(var v,d=[];a!==null;){var _=a.assignedSlot||a.parentNode||a.host||null;try{var g=a["__"+r];if(g!=null&&(!a.disabled||e.target===a))if(dn(g)){var[S,...R]=g;S.apply(a,[e,...R])}else g.call(a,e)}catch(p){v?d.push(p):v=p}if(e.cancelBubble||_===t||_===null)break;a=_}if(v){for(let p of d)queueMicrotask(()=>{throw p});throw v}}finally{e.__root=t,delete e.currentTarget,Z(f),oe(c)}}}function Si(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function $e(e,t){var n=y;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Ze(e,t){var n=(t&gr)!==0,r=(t&pr)!==0,i,a=!e.startsWith("<!>");return()=>{if(N)return $e(A,null),A;i===void 0&&(i=Si(a?e:"<!>"+e),n||(i=Xe(i)));var s=r||Mn?document.importNode(i,!0):i.cloneNode(!0);if(n){var l=Xe(s),o=s.lastChild;$e(l,o)}else $e(s,s);return s}}function St(e=""){if(!N){var t=Re(e+"");return $e(t,t),t}var n=A;return n.nodeType!==wn&&(n.before(n=Re()),we(n)),$e(n,n),n}function Ni(){if(N)return $e(A,null),A;var e=document.createDocumentFragment(),t=document.createComment(""),n=Re();return e.append(t,n),$e(t,n),e}function ee(e,t){if(N){y.nodes_end=A,wt();return}e!==null&&e.before(t)}const Ci=["touchstart","touchmove"];function Oi(e){return Ci.includes(e)}function nr(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function rr(e,t){return ir(e,t)}function xi(e,t){Gt(),t.intro=t.intro??!1;const n=t.target,r=N,i=A;try{for(var a=Xe(n);a&&(a.nodeType!==pt||a.data!==on);)a=Pe(a);if(!a)throw He;me(!0),we(a),wt();const s=ir(e,{...t,anchor:a});if(A===null||A.nodeType!==pt||A.data!==fn)throw mt(),He;return me(!1),s}catch(s){if(s instanceof Error&&s.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw s;return s!==He&&console.warn("Failed to hydrate: ",s),t.recover===!1&&Dr(),Gt(),ri(n),me(!1),rr(e,t)}finally{me(r),we(i)}}const Qe=new Map;function ir(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:s=!0}){Gt();var l=new Set,o=c=>{for(var v=0;v<c.length;v++){var d=c[v];if(!l.has(d)){l.add(d);var _=Oi(d);t.addEventListener(d,lt,{passive:_});var g=Qe.get(d);g===void 0?(document.addEventListener(d,lt,{passive:_}),Qe.set(d,1)):Qe.set(d,g+1)}}};o(br(ki)),er.add(o);var u=void 0,f=fi(()=>{var c=n??t.appendChild(Re());return Jt(()=>{if(a){En({});var v=ne;v.c=a}i&&(r.$$events=i),N&&$e(c,null),u=e(c,r)||{},N&&(y.nodes_end=A),a&&$n()}),()=>{for(var v of l){t.removeEventListener(v,lt);var d=Qe.get(v);--d===0?(document.removeEventListener(v,lt),Qe.delete(v)):Qe.set(v,d)}er.delete(o),c!==n&&c.parentNode?.removeChild(c)}});return Xt.set(u,f),u}let Xt=new WeakMap;function Ai(e,t){const n=Xt.get(e);return n?(Xt.delete(e),n(t)):Promise.resolve()}function Me(e,t,n=!1){N&&wt();var r=e,i=null,a=null,s=I,l=n?Pt:0,o=!1;const u=(d,_=!0)=>{o=!0,v(_,d)};var f=null;function c(){f!==null&&(f.lastChild.remove(),r.before(f),f=null);var d=s?i:a,_=s?a:i;d&&mi(d),_&&Bn(_,()=>{s?a=null:i=null})}const v=(d,_)=>{if(s===(s=d))return;let g=!1;if(N){const qe=Fr(r)===un;!!s===qe&&(r=jr(),we(r),me(!1),g=!0)}var S=ii(),R=r;if(S&&(f=document.createDocumentFragment(),f.append(R=Re())),s?i??=_&&Jt(()=>_(R)):a??=_&&Jt(()=>_(R)),S){var p=q,k=s?i:a,ie=s?a:i;k&&p.skipped_effects.delete(k),ie&&p.skipped_effects.add(ie),p.add_callback(c)}else c();g&&me(!0)};_i(()=>{o=!1,t(u),o||v(null,null)},l),N&&(r=A)}function et(e,t,n,r,i){N&&wt();var a=t.$$slots?.[n],s=!1;a===!0&&(a=t[n==="default"?"children":n],s=!0),a===void 0?i!==null&&i(e):a(e,s?()=>r:r)}function Ri(e,t){ci(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Pi(e,t,n){var r=""+e;return r}function Di(e,t){return e==null?null:String(e)}function Li(e,t,n,r,i,a){var s=e.__className;if(N||s!==n||s===void 0){var l=Pi(n);(!N||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return a}function re(e,t,n,r){var i=e.__style;if(N||i!==t){var a=Di(t);(!N||a!==e.getAttribute("style"))&&(a==null?e.removeAttribute("style"):e.style.cssText=a),e.__style=t}return r}const Mi=Symbol("is custom element"),Ii=Symbol("is html");function zt(e,t,n,r){var i=qi(e);N&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Nr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&ar(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function w(e,t,n){var r=E,i=y;let a=N;N&&me(!1),Z(null),oe(null);try{t!=="style"&&(Kt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?ar(e).includes(t):n&&typeof n=="object")?e[t]=n:zt(e,t,n==null?n:String(n))}finally{Z(r),oe(i),a&&me(!0)}}function qi(e){return e.__attributes??={[Mi]:e.nodeName.includes("-"),[Ii]:e.namespaceURI===mr}}var Kt=new Map;function ar(e){var t=e.getAttribute("is")||e.nodeName,n=Kt.get(t);if(n)return n;Kt.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){r=yr(i);for(var s in r)r[s].set&&n.push(s);i=vn(i)}return n}let Nt=!1;function ji(e){var t=Nt;try{return Nt=!1,[e(),Nt]}finally{Nt=t}}function M(e,t,n,r){var i=(n&_r)!==0,a=(n&hr)!==0,s=r,l=!0,o=()=>(l&&(l=!1,s=a?Ei(r):r),s),u;if(i){var f=gt in e||mn in e;u=Te(e,t)?.set??(f&&t in e?p=>e[t]=p:void 0)}var c,v=!1;i?[c,v]=ji(()=>e[t]):c=e[t],c===void 0&&r!==void 0&&(c=o(),u&&(Lr(),u(c)));var d;if(d=()=>{var p=e[t];return p===void 0?o():(l=!0,p)},(n&vr)===0)return d;if(u){var _=e.$$legacy;return(function(p,k){return arguments.length>0?((!k||_||v)&&u(k?d():p),p):d()})}var g=!1,S=((n&dr)!==0?jt:zr)(()=>(g=!1,d()));i&&C(S);var R=y;return(function(p,k){if(arguments.length>0){const ie=k?C(S):i?Ae(p):p;return K(S,ie),g=!0,s!==void 0&&(s=ie),p}return De&&g||(R.f&Se)!==0?S.v:C(S)})}function Fi(e){return new Ui(e)}class Ui{#t;#e;constructor(t){var n=new Map,r=(a,s)=>{var l=ti(s,!1,!1);return n.set(a,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(a,s){return C(n.get(s)??r(s,Reflect.get(a,s)))},has(a,s){return s===mn?!0:(C(n.get(s)??r(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,l){return K(n.get(s)??r(s,l),l),Reflect.set(a,s,l)}});this.#e=(t.hydrate?xi:rr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&P(),this.#t=i.$$events;for(const a of Object.keys(this.#e))a==="$set"||a==="$destroy"||a==="$on"||We(this,a,{get(){return this.#e[a]},set(s){this.#e[a]=s},enumerable:!0});this.#e.$set=a=>{Object.assign(i,a)},this.#e.$destroy=()=>{Ai(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let sr;typeof HTMLElement=="function"&&(sr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const a=document.createElement("slot");r!=="default"&&(a.name=r),ee(i,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Yi(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]=Ct(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=Fi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ui(()=>{vi(()=>{this.$$r=!0;for(const r of _t(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Ct(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const a=this.$$c.$on(r,i);this.$$l_u.set(i,a)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ct(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 _t(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ct(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 Yi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Bi(e,t,n,r,i,a){let s=class extends sr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return _t(t).map(l=>(t[l].attribute||l).toLowerCase())}};return _t(t).forEach(l=>{We(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=Ct(l,o,t),this.$$d[l]=o;var u=this.$$c;if(u){var f=Te(u,l)?.get;f?u[l]=o:u.$set({[l]:o})}}})}),r.forEach(l=>{We(s.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=s,s}const ot={version:"0.61.44"};function Hi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tt={},Zt,lr;function Wi(){if(lr)return Zt;lr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,o=`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw s;return s!==He&&console.warn("Failed to hydrate: ",s),t.recover===!1&&Dr(),Gt(),ri(n),me(!1),rr(e,t)}finally{me(r),we(i)}}const Qe=new Map;function ir(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:s=!0}){Gt();var l=new Set,o=c=>{for(var v=0;v<c.length;v++){var d=c[v];if(!l.has(d)){l.add(d);var _=Oi(d);t.addEventListener(d,lt,{passive:_});var g=Qe.get(d);g===void 0?(document.addEventListener(d,lt,{passive:_}),Qe.set(d,1)):Qe.set(d,g+1)}}};o(br(ki)),er.add(o);var u=void 0,f=fi(()=>{var c=n??t.appendChild(Re());return Jt(()=>{if(a){En({});var v=ne;v.c=a}i&&(r.$$events=i),N&&$e(c,null),u=e(c,r)||{},N&&(y.nodes_end=A),a&&$n()}),()=>{for(var v of l){t.removeEventListener(v,lt);var d=Qe.get(v);--d===0?(document.removeEventListener(v,lt),Qe.delete(v)):Qe.set(v,d)}er.delete(o),c!==n&&c.parentNode?.removeChild(c)}});return Xt.set(u,f),u}let Xt=new WeakMap;function Ai(e,t){const n=Xt.get(e);return n?(Xt.delete(e),n(t)):Promise.resolve()}function Me(e,t,n=!1){N&&wt();var r=e,i=null,a=null,s=I,l=n?Pt:0,o=!1;const u=(d,_=!0)=>{o=!0,v(_,d)};var f=null;function c(){f!==null&&(f.lastChild.remove(),r.before(f),f=null);var d=s?i:a,_=s?a:i;d&&mi(d),_&&Bn(_,()=>{s?a=null:i=null})}const v=(d,_)=>{if(s===(s=d))return;let g=!1;if(N){const qe=Fr(r)===un;!!s===qe&&(r=jr(),we(r),me(!1),g=!0)}var S=ii(),R=r;if(S&&(f=document.createDocumentFragment(),f.append(R=Re())),s?i??=_&&Jt(()=>_(R)):a??=_&&Jt(()=>_(R)),S){var p=q,k=s?i:a,ie=s?a:i;k&&p.skipped_effects.delete(k),ie&&p.skipped_effects.add(ie),p.add_callback(c)}else c();g&&me(!0)};_i(()=>{o=!1,t(u),o||v(null,null)},l),N&&(r=A)}function et(e,t,n,r,i){N&&wt();var a=t.$$slots?.[n],s=!1;a===!0&&(a=t[n==="default"?"children":n],s=!0),a===void 0?i!==null&&i(e):a(e,s?()=>r:r)}function Ri(e,t){ci(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Pi(e,t,n){var r=""+e;return r}function Di(e,t){return e==null?null:String(e)}function Li(e,t,n,r,i,a){var s=e.__className;if(N||s!==n||s===void 0){var l=Pi(n);(!N||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return a}function re(e,t,n,r){var i=e.__style;if(N||i!==t){var a=Di(t);(!N||a!==e.getAttribute("style"))&&(a==null?e.removeAttribute("style"):e.style.cssText=a),e.__style=t}return r}const Mi=Symbol("is custom element"),Ii=Symbol("is html");function zt(e,t,n,r){var i=qi(e);N&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Nr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&ar(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function w(e,t,n){var r=E,i=y;let a=N;N&&me(!1),Z(null),oe(null);try{t!=="style"&&(Kt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?ar(e).includes(t):n&&typeof n=="object")?e[t]=n:zt(e,t,n==null?n:String(n))}finally{Z(r),oe(i),a&&me(!0)}}function qi(e){return e.__attributes??={[Mi]:e.nodeName.includes("-"),[Ii]:e.namespaceURI===mr}}var Kt=new Map;function ar(e){var t=e.getAttribute("is")||e.nodeName,n=Kt.get(t);if(n)return n;Kt.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){r=yr(i);for(var s in r)r[s].set&&n.push(s);i=vn(i)}return n}let Nt=!1;function ji(e){var t=Nt;try{return Nt=!1,[e(),Nt]}finally{Nt=t}}function M(e,t,n,r){var i=(n&_r)!==0,a=(n&hr)!==0,s=r,l=!0,o=()=>(l&&(l=!1,s=a?Ei(r):r),s),u;if(i){var f=gt in e||mn in e;u=Te(e,t)?.set??(f&&t in e?p=>e[t]=p:void 0)}var c,v=!1;i?[c,v]=ji(()=>e[t]):c=e[t],c===void 0&&r!==void 0&&(c=o(),u&&(Lr(),u(c)));var d;if(d=()=>{var p=e[t];return p===void 0?o():(l=!0,p)},(n&vr)===0)return d;if(u){var _=e.$$legacy;return(function(p,k){return arguments.length>0?((!k||_||v)&&u(k?d():p),p):d()})}var g=!1,S=((n&dr)!==0?jt:zr)(()=>(g=!1,d()));i&&C(S);var R=y;return(function(p,k){if(arguments.length>0){const ie=k?C(S):i?Ae(p):p;return K(S,ie),g=!0,s!==void 0&&(s=ie),p}return De&&g||(R.f&Se)!==0?S.v:C(S)})}function Fi(e){return new Ui(e)}class Ui{#t;#e;constructor(t){var n=new Map,r=(a,s)=>{var l=ti(s,!1,!1);return n.set(a,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(a,s){return C(n.get(s)??r(s,Reflect.get(a,s)))},has(a,s){return s===mn?!0:(C(n.get(s)??r(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,l){return K(n.get(s)??r(s,l),l),Reflect.set(a,s,l)}});this.#e=(t.hydrate?xi:rr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&P(),this.#t=i.$$events;for(const a of Object.keys(this.#e))a==="$set"||a==="$destroy"||a==="$on"||We(this,a,{get(){return this.#e[a]},set(s){this.#e[a]=s},enumerable:!0});this.#e.$set=a=>{Object.assign(i,a)},this.#e.$destroy=()=>{Ai(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let sr;typeof HTMLElement=="function"&&(sr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const a=document.createElement("slot");r!=="default"&&(a.name=r),ee(i,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Yi(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]=Ct(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=Fi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ui(()=>{vi(()=>{this.$$r=!0;for(const r of _t(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Ct(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const a=this.$$c.$on(r,i);this.$$l_u.set(i,a)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ct(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 _t(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ct(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 Yi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Bi(e,t,n,r,i,a){let s=class extends sr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return _t(t).map(l=>(t[l].attribute||l).toLowerCase())}};return _t(t).forEach(l=>{We(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(o){o=Ct(l,o,t),this.$$d[l]=o;var u=this.$$c;if(u){var f=Te(u,l)?.get;f?u[l]=o:u.$set({[l]:o})}}})}),r.forEach(l=>{We(s.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=s,s}const ot={version:"0.61.46"};function Hi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tt={},Zt,lr;function Wi(){if(lr)return Zt;lr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,o=`
3
3
  `,u="/",f="*",c="",v="comment",d="declaration";Zt=function(g,S){if(typeof g!="string")throw new TypeError("First argument must be a string");if(!g)return[];S=S||{};var R=1,p=1;function k($){var m=$.match(t);m&&(R+=m.length);var V=$.lastIndexOf(o);p=~V?$.length-V:p+$.length}function ie(){var $={line:R,column:p};return function(m){return m.position=new qe($),ue(),m}}function qe($){this.start=$,this.end={line:R,column:p},this.source=S.source}qe.prototype.content=g;function ft($){var m=new Error(S.source+":"+R+":"+p+": "+$);if(m.reason=$,m.filename=S.source,m.line=R,m.column=p,m.source=g,!S.silent)throw m}function je($){var m=$.exec(g);if(m){var V=m[0];return k(V),g=g.slice(V.length),m}}function ue(){je(n)}function nt($){var m;for($=$||[];m=ae();)m!==!1&&$.push(m);return $}function ae(){var $=ie();if(!(u!=g.charAt(0)||f!=g.charAt(1))){for(var m=2;c!=g.charAt(m)&&(f!=g.charAt(m)||u!=g.charAt(m+1));)++m;if(m+=2,c===g.charAt(m-1))return ft("End of comment missing");var V=g.slice(2,m-2);return p+=2,k(V),g=g.slice(m),p+=2,$({type:v,comment:V})}}function Ot(){var $=ie(),m=je(r);if(m){if(ae(),!je(i))return ft("property missing ':'");var V=je(a),en=$({type:d,property:_(m[0].replace(e,c)),value:V?_(V[0].replace(e,c)):c});return je(s),en}}function Qt(){var $=[];nt($);for(var m;m=Ot();)m!==!1&&($.push(m),nt($));return $}return ue(),Qt()};function _(g){return g?g.replace(l,c):c}return Zt}var or;function Gi(){if(or)return tt;or=1;var e=tt&&tt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=n;var t=e(Wi());function n(r,i){var a=null;if(!r||typeof r!="string")return a;var s=(0,t.default)(r),l=typeof i=="function";return s.forEach(function(o){if(o.type==="declaration"){var u=o.property,f=o.value;l?i(u,f,o):f&&(a=a||{},a[u]=f)}}),a}return tt}var Vi=Gi();const ur=Hi(Vi);ur.default;var Ie={},fr;function Ji(){if(fr)return Ie;fr=1,Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.LanguageTranslator=void 0,Ie.getChildStyleToPass=e,Ie.addComponent=t;function e(r,i){var a,s,l="";try{if(r&&i?.length&&(!((a=Object.keys(r))===null||a===void 0)&&a.length)&&(!((s=i?.filter(function(v){return Object.keys(r).includes(v.name)}))===null||s===void 0)&&s.length))for(var o=function(v){var d=i?.filter(function(_){return _.name===v&&_.defaultValue!==r[v]});d&&(l+="".concat(v,":").concat(r[v],";"))},u=0,f=Object.keys(r);u<f.length;u++){var c=f[u];o(c)}}catch(v){console.error("error getting child style to pass",v)}finally{return l}}function t(r){var i,a=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!a)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var s=r?.iifePath||"main.iife.js";if(!document.getElementById(a+"-script"))try{var l=document.createElement("script");if(l.id=a+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(s),r?.local)l.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var o=a.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(a.replace(o+"-",""),"/").concat(s)}document.head.appendChild(l)}catch(u){console.warn(u)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,a){return r.getDictionaryWord(i,this.dictionary,a||this.lang)},r.prototype.translateDate=function(i,a,s){return r.formatDate(i,a,s||this.lang)},r.getDefaultLang=function(){var i,a,s,l,o,u="en";return navigator?.languages&&(!((s=(a=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||a===void 0?void 0:a.toLowerCase())===null||s===void 0)&&s.length)&&(u=(o=(l=navigator.languages[0])===null||l===void 0?void 0:l.split("-")[0])===null||o===void 0?void 0:o.toLowerCase()),u},r.getDictionaryWord=function(i,a,s){var l;if(!i)throw new Error("no wordKey provided");if(!a)throw new Error("no dictionary provided");if(s&&(!((l=a[s])===null||l===void 0)&&l[i]))return a[s][i];var o="",u=r.getDefaultLang();if(!s||u!==s){var f=a?.[u];f?.[i]&&(o=f[i])}return o},r.formatDate=function(i,a,s){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(s||r.getDefaultLang(),a);return l.format(i)},r})();return Ie.LanguageTranslator=n,Ie}var ut=Ji(),Xi=Ze('<img alt="" style="max-height: 31px;vertical-align: middle;"/>'),zi=Ze("<hb-cookie-law-banner></hb-cookie-law-banner>",2),Ki=Ze('<div id="desktop" class="svelte-4ufqm2"><hb-navbar><span slot="left-slot"><!> <!></span> <span slot="center-slot"><!></span> <span slot="right-slot"><!></span></hb-navbar> <div id="layout_container" style="grid-template-columns: 240px auto;" class="svelte-4ufqm2"><div id="layout_sidebar" class="svelte-4ufqm2"><div id="inner_sidebar" class="svelte-4ufqm2"><hb-sidebar-desktop></hb-sidebar-desktop></div></div> <div part="container"><div part="page" id="page" class="svelte-4ufqm2"><!></div> <!> <hb-footer></hb-footer></div></div></div>',2),Zi=Ze('<img alt="" style="max-height: 31px;vertical-align: middle;"/>'),Qi=Ze("<hb-cookie-law-banner></hb-cookie-law-banner>",2),ea=Ze('<div id="desktop_without_sidebar" class="svelte-4ufqm2"><hb-navbar><span slot="left-slot"><!> <!></span> <span slot="center-slot"><!></span> <span slot="right-slot"><!></span></hb-navbar> <div><div part="container"><div part="page" id="page" class="svelte-4ufqm2"><!></div> <!> <hb-footer></hb-footer></div></div></div>',2);const ta={hash:"svelte-4ufqm2",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}#page.svelte-4ufqm2 {min-height:100%;}#desktop_without_sidebar.svelte-4ufqm2 {min-height:100vh;}#desktop.svelte-4ufqm2 {min-height:100vh;display:grid;grid-template-rows:max-content auto;}#layout_container.svelte-4ufqm2 {display:grid;}#layout_sidebar.svelte-4ufqm2 {width:240px;grid-row-start:1;grid-row-end:1;display:flex;position:relative;}#inner_sidebar.svelte-4ufqm2 {position:absolute;height:100%;}hb-sidebar-desktop.svelte-4ufqm2 {height:100%;}`};function cr(e,t){En(t,!0),Ri(e,ta);/**
5
5
  * Svelte Video Gallery WebComponent
package/manifest.json CHANGED
@@ -870,5 +870,5 @@
870
870
  },
871
871
  "iifePath": "main.iife.js",
872
872
  "repoName": "@htmlbricks/hb-layout-desktop",
873
- "version": "0.61.44"
873
+ "version": "0.61.46"
874
874
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-layout-desktop",
3
- "version": "0.61.44",
3
+ "version": "0.61.46",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [