@htmlbricks/hb-input-array-objects 0.61.50 → 0.61.51

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(kt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const jr=1,Mr=2,Tt="[",Nt="[!",St="]",pe={},N=Symbol(),Ir="http://www.w3.org/1999/xhtml",Ot=!1;var Rt=Array.isArray,Dr=Array.prototype.indexOf,Fr=Array.from,De=Object.keys,me=Object.defineProperty,we=Object.getOwnPropertyDescriptor,qr=Object.getOwnPropertyDescriptors,Jr=Object.prototype,Hr=Array.prototype,At=Object.getPrototypeOf,Ct=Object.isExtensible;function Pt(e){for(var t=0;t<e.length;t++)e[t]()}function Yr(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const I=2,et=4,tt=8,ye=16,z=32,Z=64,Lt=128,q=256,Fe=512,C=1024,J=2048,Q=4096,ee=8192,se=16384,rt=32768,nt=65536,jt=1<<17,Ur=1<<18,$e=1<<19,Br=1<<20,it=1<<21,st=1<<22,oe=1<<23,ot=Symbol("$state"),Vr=Symbol("legacy props"),Wr=Symbol(""),at=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},lt=3,qe=8;function Gr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function zr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Xr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Kr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Zr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Qr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function en(){throw new Error("https://svelte.dev/e/hydration_failed")}function tn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function rn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function nn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Je(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let x=!1;function te(e){x=e}let T;function X(e){if(e===null)throw Je(),pe;return T=e}function He(){return X(ce(T))}function Ae(e){if(x){if(ce(T)!==null)throw Je(),pe;T=e}}function sn(){for(var e=0,t=T;;){if(t.nodeType===qe){var r=t.data;if(r===St){if(e===0)return t;e-=1}else(r===Tt||r===Nt)&&(e+=1)}var n=ce(t);t.remove(),t=n}}function on(e){if(!e||e.nodeType!==qe)throw Je(),pe;return e.data}function Mt(e){return e===this.v}function an(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ln(e){return!an(e,this.v)}let un=!1,U=null;function Ye(e){U=e}function It(e,t=!1,r){U={p:U,c:null,e:null,s:e,x:null,l:null}}function Dt(e){var t=U,r=t.e;if(r!==null){t.e=null;for(var n of r)rr(n)}return e!==void 0&&(t.x=e),U=t.p,e??{}}function Ft(){return!0}const fn=new WeakMap;function cn(e){var t=m;if(t===null)return w.f|=oe,e;if((t.f&rt)===0){if((t.f&Lt)===0)throw!t.parent&&e instanceof Error&&qt(e),e;t.b.error(e)}else ut(e,t)}function ut(e,t){for(;t!==null;){if((t.f&Lt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&qt(e),e}function qt(e){const t=fn.get(e);t&&(me(e,"message",{value:t.message}),me(e,"stack",{value:t.stack}))}let Ce=[],ft=[];function Jt(){var e=Ce;Ce=[],Pt(e)}function dn(){var e=ft;ft=[],Pt(e)}function bn(e){Ce.length===0&&queueMicrotask(Jt),Ce.push(e)}function vn(){Ce.length>0&&Jt(),ft.length>0&&dn()}function hn(){const e=m.b;return e===null&&Gr(),e}function ct(e){var t=I|J,r=w!==null&&(w.f&I)!==0?w:null;return m===null||r!==null&&(r.f&q)!==0?t|=q:m.f|=$e,{ctx:U,deps:null,effects:null,equals:Mt,f:t,fn:e,reactions:null,rv:0,v:N,wv:0,parent:r??m,ac:null}}function _n(e,t){let r=m;r===null&&zr();var n=r.b,i=void 0,s=ht(N),o=null,l=!w;return Cn(()=>{try{var a=e();o&&Promise.resolve(a).catch(()=>{})}catch(b){a=Promise.reject(b)}var u=()=>a;i=o?.then(u,u)??Promise.resolve(a),o=i;var f=S,c=n.is_pending();l&&(n.update_pending_count(1),c||f.increment());const d=(b,v=void 0)=>{o=null,c||f.activate(),v?v!==at&&(s.f|=oe,_t(s,v)):((s.f&oe)!==0&&(s.f^=oe),_t(s,b)),l&&(n.update_pending_count(-1),c||f.decrement()),Ut()};if(i.then(d,b=>d(null,b||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(a=>{function u(f){function c(){f===i?a(s):u(i)}f.then(c,c)}u(i)})}function gn(e){const t=ct(e);return cr(t),t}function Ht(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ne(t[r])}}function pn(e){for(var t=e.parent;t!==null;){if((t.f&I)===0)return t;t=t.parent}return null}function dt(e){var t,r=m;G(pn(e));try{Ht(e),t=_r(e)}finally{G(r)}return t}function Yt(e){var t=dt(e);if(e.equals(t)||(e.v=t,e.wv=vr()),!de){var r=(ie||(e.f&q)!==0)&&e.deps!==null?Q:C;M(e,r)}}function mn(e,t,r){const n=ct;if(t.length===0){r(e.map(n));return}var i=S,s=m,o=wn(),l=hn();Promise.all(t.map(a=>_n(a))).then(a=>{i?.activate(),o();try{r([...e.map(n),...a])}catch(u){(s.f&se)===0&&ut(u,s)}i?.deactivate(),Ut()}).catch(a=>{l.error(a)})}function wn(){var e=m,t=w,r=U,n=S;return function(){G(e),H(t),Ye(r),n?.activate()}}function Ut(){G(null),H(null),Ye(null)}const bt=new Set;let S=null,Bt=new Set,Ue=[];function Vt(){const e=Ue.shift();Ue.length>0&&queueMicrotask(Vt),e()}let ae=[],Be=null,vt=!1,Ve=!1;class le{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#o=[];#s=[];#n=[];#a=[];#c=[];#d=[];skipped_effects=new Set;process(t){ae=[];for(const i of t)this.#v(i);if(this.#i.length===0&&this.#r===0){this.#b();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#a=[],S=null,Gt(r),Gt(n),S===null?S=this:bt.delete(this),this.#u?.resolve()}else this.#l(this.#s),this.#l(this.#n),this.#l(this.#a);for(const i of this.#i)Ne(i);for(const i of this.#o)Ne(i);this.#i=[],this.#o=[]}#v(t){t.f^=C;for(var r=t.first;r!==null;){var n=r.f,i=(n&(z|Z))!==0,s=i&&(n&C)!==0,o=s||(n&ee)!==0||this.skipped_effects.has(r);if(!o&&r.fn!==null){if(i)r.f^=C;else if((n&et)!==0)this.#n.push(r);else if((n&C)===0)if((n&st)!==0){var l=r.b?.is_pending()?this.#o:this.#i;l.push(r)}else Ge(r)&&((r.f&ye)!==0&&this.#a.push(r),Ne(r));var a=r.first;if(a!==null){r=a;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)r=u.next,u=u.parent}}#l(t){for(const r of t)((r.f&J)!==0?this.#c:this.#d).push(r),M(r,C);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){S=this}deactivate(){S=null;for(const t of Bt)if(Bt.delete(t),t(),S!==null)break}neuter(){this.#f=!0}flush(){ae.length>0?Wt():this.#b(),S===this&&(this.#r===0&&bt.delete(this),this.deactivate())}#b(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)M(t,J),Ee(t);for(const t of this.#d)M(t,Q),Ee(t);this.#s=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=Yr()).promise}static ensure(){if(S===null){const t=S=new le;bt.add(S),Ve||le.enqueue(()=>{S===t&&t.flush()})}return S}static enqueue(t){Ue.length===0&&queueMicrotask(Vt),Ue.unshift(t)}}function We(e){var t=Ve;Ve=!0;try{for(var r;;){if(vn(),ae.length===0&&(S?.flush(),ae.length===0))return Be=null,r;Wt()}}finally{Ve=t}}function Wt(){var e=Te;vt=!0;try{var t=0;for(ur(!0);ae.length>0;){var r=le.ensure();if(t++>1e3){var n,i;yn()}r.process(ae),re.clear()}}finally{vt=!1,ur(e),Be=null}}function yn(){try{Qr()}catch(e){ut(e,Be)}}let ue=null;function Gt(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(se|ee))===0&&Ge(n)&&(ue=[],Ne(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?sr(n):n.fn=null),ue?.length>0)){re.clear();for(const i of ue)Ne(i);ue=[]}}ue=null}}function Ee(e){for(var t=Be=e;t.parent!==null;){t=t.parent;var r=t.f;if(vt&&t===m&&(r&ye)!==0)return;if((r&(Z|z))!==0){if((r&C)===0)return;t.f^=C}}ae.push(t)}const re=new Map;function ht(e,t){var r={f:0,v:e,reactions:null,equals:Mt,rv:0,wv:0};return r}function j(e,t){const r=ht(e);return cr(r),r}function $n(e,t=!1,r=!0){const n=ht(e);return t||(n.equals=ln),n}function k(e,t,r=!1){w!==null&&(!be||(w.f&jt)!==0)&&Ft()&&(w.f&(I|ye|st|jt))!==0&&!K?.includes(e)&&nn();let n=r?V(t):t;return _t(e,n)}function _t(e,t){if(!e.equals(t)){var r=e.v;de?re.set(e,t):re.set(e,r),e.v=t;var n=le.ensure();n.capture(e,r),(e.f&I)!==0&&((e.f&J)!==0&&dt(e),M(e,(e.f&q)===0?C:Q)),e.wv=vr(),zt(e,J),m!==null&&(m.f&C)!==0&&(m.f&(z|Z))===0&&(Y===null?Fn([e]):Y.push(e))}return t}function gt(e){k(e,e.v+1)}function zt(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],o=s.f,l=(o&J)===0;l&&M(s,t),(o&I)!==0?zt(s,Q):l&&((o&ye)!==0&&ue!==null&&ue.push(s),Ee(s))}}function V(e){if(typeof e!="object"||e===null||ot in e)return e;const t=At(e);if(t!==Jr&&t!==Hr)return e;var r=new Map,n=Rt(e),i=j(0),s=ve,o=l=>{if(ve===s)return l();var a=w,u=ve;H(null),br(s);var f=l();return H(a),br(u),f};return n&&r.set("length",j(e.length)),new Proxy(e,{defineProperty(l,a,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&tn();var f=r.get(a);return f===void 0?f=o(()=>{var c=j(u.value);return r.set(a,c),c}):k(f,u.value,!0),!0},deleteProperty(l,a){var u=r.get(a);if(u===void 0){if(a in l){const f=o(()=>j(N));r.set(a,f),gt(i)}}else k(u,N),gt(i);return!0},get(l,a,u){if(a===ot)return e;var f=r.get(a),c=a in l;if(f===void 0&&(!c||we(l,a)?.writable)&&(f=o(()=>{var b=V(c?l[a]:N),v=j(b);return v}),r.set(a,f)),f!==void 0){var d=g(f);return d===N?void 0:d}return Reflect.get(l,a,u)},getOwnPropertyDescriptor(l,a){var u=Reflect.getOwnPropertyDescriptor(l,a);if(u&&"value"in u){var f=r.get(a);f&&(u.value=g(f))}else if(u===void 0){var c=r.get(a),d=c?.v;if(c!==void 0&&d!==N)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return u},has(l,a){if(a===ot)return!0;var u=r.get(a),f=u!==void 0&&u.v!==N||Reflect.has(l,a);if(u!==void 0||m!==null&&(!f||we(l,a)?.writable)){u===void 0&&(u=o(()=>{var d=f?V(l[a]):N,b=j(d);return b}),r.set(a,u));var c=g(u);if(c===N)return!1}return f},set(l,a,u,f){var c=r.get(a),d=a in l;if(n&&a==="length")for(var b=u;b<c.v;b+=1){var v=r.get(b+"");v!==void 0?k(v,N):b in l&&(v=o(()=>j(N)),r.set(b+"",v))}if(c===void 0)(!d||we(l,a)?.writable)&&(c=o(()=>j(void 0)),k(c,V(u)),r.set(a,c));else{d=c.v!==N;var p=o(()=>V(u));k(c,p)}var P=Reflect.getOwnPropertyDescriptor(l,a);if(P?.set&&P.set.call(f,u),!d){if(n&&typeof a=="string"){var O=r.get("length"),$=Number(a);Number.isInteger($)&&$>=O.v&&k(O,$+1)}gt(i)}return!0},ownKeys(l){g(i);var a=Reflect.ownKeys(l).filter(c=>{var d=r.get(c);return d===void 0||d.v!==N});for(var[u,f]of r)f.v!==N&&!(u in l)&&a.push(u);return a},setPrototypeOf(){rn()}})}var Xt,Kt,Zt,Qt;function pt(){if(Xt===void 0){Xt=window,Kt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Zt=we(t,"firstChild").get,Qt=we(t,"nextSibling").get,Ct(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ct(r)&&(r.__t=void 0)}}function fe(e=""){return document.createTextNode(e)}function xe(e){return Zt.call(e)}function ce(e){return Qt.call(e)}function Pe(e,t){if(!x)return xe(e);var r=xe(T);if(r===null)r=T.appendChild(fe());else if(t&&r.nodeType!==lt){var n=fe();return r?.before(n),X(n),n}return X(r),r}function En(e,t){if(!x){var r=xe(e);return r instanceof Comment&&r.data===""?ce(r):r}return T}function er(e,t=1,r=!1){let n=x?T:e;for(var i;t--;)i=n,n=ce(n);if(!x)return n;if(r&&n?.nodeType!==lt){var s=fe();return n===null?i?.after(s):n.before(s),X(s),s}return X(n),n}function xn(e){e.textContent=""}function kn(){return!1}function mt(e){var t=w,r=m;H(null),G(null);try{return e()}finally{H(t),G(r)}}function Tn(e){m===null&&w===null&&Zr(),w!==null&&(w.f&q)!==0&&m===null&&Kr(),de&&Xr()}function Nn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function W(e,t,r,n=!0){var i=m;i!==null&&(i.f&ee)!==0&&(e|=ee);var s={ctx:U,deps:null,nodes_start:null,nodes_end:null,f:e|J,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(r)try{Ne(s),s.f|=rt}catch(a){throw ne(s),a}else t!==null&&Ee(s);if(n){var o=s;if(r&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&$e)===0&&(o=o.first),o!==null&&(o.parent=i,i!==null&&Nn(o,i),w!==null&&(w.f&I)!==0&&(e&Z)===0)){var l=w;(l.effects??=[]).push(o)}}return s}function Sn(e){const t=W(tt,null,!1);return M(t,C),t.teardown=e,t}function tr(e){Tn();var t=m.f,r=!w&&(t&z)!==0&&(t&rt)===0;if(r){var n=U;(n.e??=[]).push(e)}else return rr(e)}function rr(e){return W(et|Br,e,!1)}function On(e){le.ensure();const t=W(Z|$e,e,!0);return()=>{ne(t)}}function Rn(e){le.ensure();const t=W(Z|$e,e,!0);return(r={})=>new Promise(n=>{r.outro?or(t,()=>{ne(t),n(void 0)}):(ne(t),n(void 0))})}function An(e){return W(et,e,!1)}function Cn(e){return W(st|$e,e,!0)}function Pn(e,t=0){return W(tt|t,e,!0)}function ke(e,t=[],r=[]){mn(t,r,n=>{W(tt,()=>e(...n.map(g)),!0)})}function Ln(e,t=0){var r=W(ye|t,e,!0);return r}function wt(e,t=!0){return W(z|$e,e,!0,t)}function nr(e){var t=e.teardown;if(t!==null){const r=de,n=w;fr(!0),H(null);try{t.call(null)}finally{fr(r),H(n)}}}function ir(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&mt(()=>{i.abort(at)});var n=r.next;(r.f&Z)!==0?r.parent=null:ne(r,t),r=n}}function jn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&z)===0&&ne(t),t=r}}function ne(e,t=!0){var r=!1;(t||(e.f&Ur)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Mn(e.nodes_start,e.nodes_end),r=!0),ir(e,t&&!r),ze(e,0),M(e,se);var n=e.transitions;if(n!==null)for(const s of n)s.stop();nr(e);var i=e.parent;i!==null&&i.first!==null&&sr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Mn(e,t){for(;e!==null;){var r=e===t?null:ce(e);e.remove(),e=r}}function sr(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function or(e,t){var r=[];ar(e,r,!0),In(r,()=>{ne(e),t&&t()})}function In(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function ar(e,t,r){if((e.f&ee)===0){if(e.f^=ee,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&nt)!==0||(n.f&z)!==0;ar(n,t,s?r:!1),n=i}}}function Dn(e){lr(e,!0)}function lr(e,t){if((e.f&ee)!==0){e.f^=ee,(e.f&C)===0&&(M(e,J),Ee(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&nt)!==0||(r.f&z)!==0;lr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let Te=!1;function ur(e){Te=e}let de=!1;function fr(e){de=e}let w=null,be=!1;function H(e){w=e}let m=null;function G(e){m=e}let K=null;function cr(e){w!==null&&(K===null?K=[e]:K.push(e))}let L=null,D=0,Y=null;function Fn(e){Y=e}let dr=1,Le=0,ve=Le;function br(e){ve=e}let ie=!1;function vr(){return++dr}function Ge(e){var t=e.f;if((t&J)!==0)return!0;if((t&Q)!==0){var r=e.deps,n=(t&q)!==0;if(r!==null){var i,s,o=(t&Fe)!==0,l=n&&m!==null&&!ie,a=r.length;if((o||l)&&(m===null||(m.f&se)===0)){var u=e,f=u.parent;for(i=0;i<a;i++)s=r[i],(o||!s?.reactions?.includes(u))&&(s.reactions??=[]).push(u);o&&(u.f^=Fe),l&&f!==null&&(f.f&q)===0&&(u.f^=q)}for(i=0;i<a;i++)if(s=r[i],Ge(s)&&Yt(s),s.wv>e.wv)return!0}(!n||m!==null&&!ie)&&M(e,C)}return!1}function hr(e,t,r=!0){var n=e.reactions;if(n!==null&&!K?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&I)!==0?hr(s,t,!1):t===s&&(r?M(s,J):(s.f&C)!==0&&M(s,Q),Ee(s))}}function _r(e){var t=L,r=D,n=Y,i=w,s=ie,o=K,l=U,a=be,u=ve,f=e.f;L=null,D=0,Y=null,ie=(f&q)!==0&&(be||!Te||w===null),w=(f&(z|Z))===0?e:null,K=null,Ye(e.ctx),be=!1,ve=++Le,e.ac!==null&&(mt(()=>{e.ac.abort(at)}),e.ac=null);try{e.f|=it;var c=e.fn,d=c(),b=e.deps;if(L!==null){var v;if(ze(e,D),b!==null&&D>0)for(b.length=D+L.length,v=0;v<L.length;v++)b[D+v]=L[v];else e.deps=b=L;if(!ie||(f&I)!==0&&e.reactions!==null)for(v=D;v<b.length;v++)(b[v].reactions??=[]).push(e)}else b!==null&&D<b.length&&(ze(e,D),b.length=D);if(Ft()&&Y!==null&&!be&&b!==null&&(e.f&(I|Q|J))===0)for(v=0;v<Y.length;v++)hr(Y[v],e);return i!==null&&i!==e&&(Le++,Y!==null&&(n===null?n=Y:n.push(...Y))),(e.f&oe)!==0&&(e.f^=oe),d}catch(p){return cn(p)}finally{e.f^=it,L=t,D=r,Y=n,w=i,ie=s,K=o,Ye(l),be=a,ve=u}}function qn(e,t){let r=t.reactions;if(r!==null){var n=Dr.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&I)!==0&&(L===null||!L.includes(t))&&(M(t,Q),(t.f&(q|Fe))===0&&(t.f^=Fe),Ht(t),ze(t,0))}function ze(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)qn(e,r[n])}function Ne(e){var t=e.f;if((t&se)===0){M(e,C);var r=m,n=Te;m=e,Te=!0;try{(t&ye)!==0?jn(e):ir(e),nr(e);var i=_r(e);e.teardown=typeof i=="function"?i:null,e.wv=dr;var s;Ot&&un&&(e.f&J)!==0&&e.deps}finally{Te=n,m=r}}}function g(e){var t=e.f,r=(t&I)!==0;if(w!==null&&!be){var n=m!==null&&(m.f&se)!==0;if(!n&&!K?.includes(e)){var i=w.deps;if((w.f&it)!==0)e.rv<Le&&(e.rv=Le,L===null&&i!==null&&i[D]===e?D++:L===null?L=[e]:(!ie||!L.includes(e))&&L.push(e));else{(w.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[w]:s.includes(w)||s.push(w)}}}else if(r&&e.deps===null&&e.effects===null){var o=e,l=o.parent;l!==null&&(l.f&q)===0&&(o.f^=q)}if(de){if(re.has(e))return re.get(e);if(r){o=e;var a=o.v;return((o.f&C)===0&&o.reactions!==null||gr(o))&&(a=dt(o)),re.set(o,a),a}}else r&&(o=e,Ge(o)&&Yt(o));if((e.f&oe)!==0)throw e.v;return e.v}function gr(e){if(e.v===N)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(re.has(t)||(t.f&I)!==0&&gr(t))return!0;return!1}const Jn=-7169;function M(e,t){e.f=e.f&Jn|t}const Hn=new Set,pr=new Set;function Yn(e,t,r,n={}){function i(s){if(n.capture||je.call(t,s),!s.cancelBubble)return mt(()=>r?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?bn(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function mr(e,t,r,n,i){var s={capture:n,passive:i},o=Yn(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Sn(()=>{t.removeEventListener(e,o,s)})}let wr=null;function je(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;wr=e;var o=0,l=wr===e&&e.__root;if(l){var a=i.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;a<=u&&(o=a)}if(s=i[o]||e.target,s!==t){me(e,"currentTarget",{configurable:!0,get(){return s||r}});var f=w,c=m;H(null),G(null);try{for(var d,b=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var p=s["__"+n];if(p!=null&&(!s.disabled||e.target===s))if(Rt(p)){var[P,...O]=p;P.apply(s,[e,...O])}else p.call(s,e)}catch($){d?b.push($):d=$}if(e.cancelBubble||v===t||v===null)break;s=v}if(d){for(let $ of b)queueMicrotask(()=>{throw $});throw d}}finally{e.__root=t,delete e.currentTarget,H(f),G(c)}}}function Un(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Se(e,t){var r=m;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function yr(e,t){var r=(t&jr)!==0,n=(t&Mr)!==0,i,s=!e.startsWith("<!>");return()=>{if(x)return Se(T,null),T;i===void 0&&(i=Un(s?e:"<!>"+e),r||(i=xe(i)));var o=n||Kt?document.importNode(i,!0):i.cloneNode(!0);if(r){var l=xe(o),a=o.lastChild;Se(l,a)}else Se(o,o);return o}}function Bn(e=""){if(!x){var t=fe(e+"");return Se(t,t),t}var r=T;return r.nodeType!==lt&&(r.before(r=fe()),X(r)),Se(r,r),r}function Xe(e,t){if(x){m.nodes_end=T,He();return}e!==null&&e.before(t)}const Vn=["touchstart","touchmove"];function Wn(e){return Vn.includes(e)}function $r(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function Er(e,t){return xr(e,t)}function Gn(e,t){pt(),t.intro=t.intro??!1;const r=t.target,n=x,i=T;try{for(var s=xe(r);s&&(s.nodeType!==qe||s.data!==Tt);)s=ce(s);if(!s)throw pe;te(!0),X(s),He();const o=xr(e,{...t,anchor:s});if(T===null||T.nodeType!==qe||T.data!==St)throw Je(),pe;return te(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
- `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==pe&&console.warn("Failed to hydrate: ",o),t.recover===!1&&en(),pt(),xn(r),te(!1),Er(e,t)}finally{te(n),X(i)}}const Oe=new Map;function xr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0}){pt();var l=new Set,a=c=>{for(var d=0;d<c.length;d++){var b=c[d];if(!l.has(b)){l.add(b);var v=Wn(b);t.addEventListener(b,je,{passive:v});var p=Oe.get(b);p===void 0?(document.addEventListener(b,je,{passive:v}),Oe.set(b,1)):Oe.set(b,p+1)}}};a(Fr(Hn)),pr.add(a);var u=void 0,f=Rn(()=>{var c=r??t.appendChild(fe());return wt(()=>{if(s){It({});var d=U;d.c=s}i&&(n.$$events=i),x&&Se(c,null),u=e(c,n)||{},x&&(m.nodes_end=T),s&&Dt()}),()=>{for(var d of l){t.removeEventListener(d,je);var b=Oe.get(d);--b===0?(document.removeEventListener(d,je),Oe.delete(d)):Oe.set(d,b)}pr.delete(a),c!==r&&c.parentNode?.removeChild(c)}});return yt.set(u,f),u}let yt=new WeakMap;function zn(e,t){const r=yt.get(e);return r?(yt.delete(e),r(t)):Promise.resolve()}function Xn(e,t,r=!1){x&&He();var n=e,i=null,s=null,o=N,l=r?nt:0,a=!1;const u=(b,v=!0)=>{a=!0,d(v,b)};var f=null;function c(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var b=o?i:s,v=o?s:i;b&&Dn(b),v&&or(v,()=>{o?s=null:i=null})}const d=(b,v)=>{if(o===(o=b))return;let p=!1;if(x){const _e=on(n)===Nt;!!o===_e&&(n=sn(),X(n),te(!1),p=!0)}var P=kn(),O=n;if(P&&(f=document.createDocumentFragment(),f.append(O=fe())),o?i??=v&&wt(()=>v(O)):s??=v&&wt(()=>v(O)),P){var $=S,F=o?i:s,B=o?s:i;F&&$.skipped_effects.delete(F),B&&$.skipped_effects.add(B),$.add_callback(c)}else c();p&&te(!0)};Ln(()=>{a=!1,t(u),a||d(null,null)},l),x&&(n=T)}function Kn(e,t,r,n,i){x&&He();var s=t.$$slots?.[r],o=!1;s===!0&&(s=t[r],o=!0),s===void 0?i!==null&&i(e):s(e,o?()=>n:n)}function Zn(e,t){An(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Qn(e,t,r){var n=""+e;return n}function kr(e,t,r,n,i,s){var o=e.__className;if(x||o!==r||o===void 0){var l=Qn(r);(!x||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=r}return s}const ei=Symbol("is custom element"),ti=Symbol("is html");function ri(e,t,r,n){var i=ni(e);x&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Wr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Tr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Me(e,t,r){var n=w,i=m;let s=x;x&&te(!1),H(null),G(null);try{t!=="style"&&($t.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Tr(e).includes(t):r&&typeof r=="object")?e[t]=r:ri(e,t,r==null?r:String(r))}finally{H(n),G(i),s&&te(!0)}}function ni(e){return e.__attributes??={[ei]:e.nodeName.includes("-"),[ti]:e.namespaceURI===Ir}}var $t=new Map;function Tr(e){var t=e.getAttribute("is")||e.nodeName,r=$t.get(t);if(r)return r;$t.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=qr(i);for(var o in n)n[o].set&&r.push(o);i=At(i)}return r}function Et(e,t,r,n){var i=n,s=!0,o=()=>(s&&(s=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=o());var a;a=()=>{var d=e[t];return d===void 0?o():(s=!0,d)};var u=!1,f=ct(()=>(u=!1,a())),c=m;return(function(d,b){if(arguments.length>0){const v=b?g(f):d;return k(f,v),u=!0,i!==void 0&&(i=v),d}return de&&u||(c.f&se)!==0?f.v:g(f)})}function ii(e){return new si(e)}class si{#t;#e;constructor(t){var r=new Map,n=(s,o)=>{var l=$n(o,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return g(r.get(o)??n(o,Reflect.get(s,o)))},has(s,o){return o===Vr?!0:(g(r.get(o)??n(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return k(r.get(o)??n(o,l),l),Reflect.set(s,o,l)}});this.#e=(t.hydrate?Gn:Er)(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)&&We(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||me(this,s,{get(){return this.#e[s]},set(o){this.#e[s]=o},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{zn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Nr;typeof HTMLElement=="function"&&(Nr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),Xe(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=oi(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Ke(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ii({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=On(()=>{Pn(()=>{this.$$r=!0;for(const n of De(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Ke(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ke(e,r,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 De(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ke(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 oi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ai(e,t,r,n,i,s){let o=class extends Nr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return De(t).map(l=>(t[l].attribute||l).toLowerCase())}};return De(t).forEach(l=>{me(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=Ke(l,a,t),this.$$d[l]=a;var u=this.$$c;if(u){var f=we(u,l)?.get;f?u[l]=a:u.$set({[l]:a})}}})}),n.forEach(l=>{me(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}const Sr={version:"0.61.50"};function li(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var he={},Or;function ui(){if(Or)return he;Or=1,Object.defineProperty(he,"__esModule",{value:!0}),he.LanguageTranslator=void 0,he.getChildStyleToPass=e,he.addComponent=t;function e(n,i){var s,o,l="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((o=i?.filter(function(d){return Object.keys(n).includes(d.name)}))===null||o===void 0)&&o.length))for(var a=function(d){var b=i?.filter(function(v){return v.name===d&&v.defaultValue!==n[d]});b&&(l+="".concat(d,":").concat(n[d],";"))},u=0,f=Object.keys(n);u<f.length;u++){var c=f[u];a(c)}}catch(d){console.error("error getting child style to pass",d)}finally{return l}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var a=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(a+"-",""),"/").concat(o)}document.head.appendChild(l)}catch(u){console.warn(u)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,o){return n.formatDate(i,s,o||this.lang)},n.getDefaultLang=function(){var i,s,o,l,a,u="en";return navigator?.languages&&(!((o=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||o===void 0)&&o.length)&&(u=(a=(l=navigator.languages[0])===null||l===void 0?void 0:l.split("-")[0])===null||a===void 0?void 0:a.toLowerCase()),u},n.getDictionaryWord=function(i,s,o){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(o&&(!((l=s[o])===null||l===void 0)&&l[i]))return s[o][i];var a="",u=n.getDefaultLang();if(!o||u!==o){var f=s?.[u];f?.[i]&&(a=f[i])}return a},n.formatDate=function(i,s,o){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(o||n.getDefaultLang(),s);return l.format(i)},n})();return he.LanguageTranslator=r,he}var Rr=ui(),Re={},xt,Ar;function fi(){if(Ar)return xt;Ar=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g,a=`
2
+ `).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==pe&&console.warn("Failed to hydrate: ",o),t.recover===!1&&en(),pt(),xn(r),te(!1),Er(e,t)}finally{te(n),X(i)}}const Oe=new Map;function xr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0}){pt();var l=new Set,a=c=>{for(var d=0;d<c.length;d++){var b=c[d];if(!l.has(b)){l.add(b);var v=Wn(b);t.addEventListener(b,je,{passive:v});var p=Oe.get(b);p===void 0?(document.addEventListener(b,je,{passive:v}),Oe.set(b,1)):Oe.set(b,p+1)}}};a(Fr(Hn)),pr.add(a);var u=void 0,f=Rn(()=>{var c=r??t.appendChild(fe());return wt(()=>{if(s){It({});var d=U;d.c=s}i&&(n.$$events=i),x&&Se(c,null),u=e(c,n)||{},x&&(m.nodes_end=T),s&&Dt()}),()=>{for(var d of l){t.removeEventListener(d,je);var b=Oe.get(d);--b===0?(document.removeEventListener(d,je),Oe.delete(d)):Oe.set(d,b)}pr.delete(a),c!==r&&c.parentNode?.removeChild(c)}});return yt.set(u,f),u}let yt=new WeakMap;function zn(e,t){const r=yt.get(e);return r?(yt.delete(e),r(t)):Promise.resolve()}function Xn(e,t,r=!1){x&&He();var n=e,i=null,s=null,o=N,l=r?nt:0,a=!1;const u=(b,v=!0)=>{a=!0,d(v,b)};var f=null;function c(){f!==null&&(f.lastChild.remove(),n.before(f),f=null);var b=o?i:s,v=o?s:i;b&&Dn(b),v&&or(v,()=>{o?s=null:i=null})}const d=(b,v)=>{if(o===(o=b))return;let p=!1;if(x){const _e=on(n)===Nt;!!o===_e&&(n=sn(),X(n),te(!1),p=!0)}var P=kn(),O=n;if(P&&(f=document.createDocumentFragment(),f.append(O=fe())),o?i??=v&&wt(()=>v(O)):s??=v&&wt(()=>v(O)),P){var $=S,F=o?i:s,B=o?s:i;F&&$.skipped_effects.delete(F),B&&$.skipped_effects.add(B),$.add_callback(c)}else c();p&&te(!0)};Ln(()=>{a=!1,t(u),a||d(null,null)},l),x&&(n=T)}function Kn(e,t,r,n,i){x&&He();var s=t.$$slots?.[r],o=!1;s===!0&&(s=t[r],o=!0),s===void 0?i!==null&&i(e):s(e,o?()=>n:n)}function Zn(e,t){An(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function Qn(e,t,r){var n=""+e;return n}function kr(e,t,r,n,i,s){var o=e.__className;if(x||o!==r||o===void 0){var l=Qn(r);(!x||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=r}return s}const ei=Symbol("is custom element"),ti=Symbol("is html");function ri(e,t,r,n){var i=ni(e);x&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Wr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Tr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Me(e,t,r){var n=w,i=m;let s=x;x&&te(!1),H(null),G(null);try{t!=="style"&&($t.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Tr(e).includes(t):r&&typeof r=="object")?e[t]=r:ri(e,t,r==null?r:String(r))}finally{H(n),G(i),s&&te(!0)}}function ni(e){return e.__attributes??={[ei]:e.nodeName.includes("-"),[ti]:e.namespaceURI===Ir}}var $t=new Map;function Tr(e){var t=e.getAttribute("is")||e.nodeName,r=$t.get(t);if(r)return r;$t.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=qr(i);for(var o in n)n[o].set&&r.push(o);i=At(i)}return r}function Et(e,t,r,n){var i=n,s=!0,o=()=>(s&&(s=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=o());var a;a=()=>{var d=e[t];return d===void 0?o():(s=!0,d)};var u=!1,f=ct(()=>(u=!1,a())),c=m;return(function(d,b){if(arguments.length>0){const v=b?g(f):d;return k(f,v),u=!0,i!==void 0&&(i=v),d}return de&&u||(c.f&se)!==0?f.v:g(f)})}function ii(e){return new si(e)}class si{#t;#e;constructor(t){var r=new Map,n=(s,o)=>{var l=$n(o,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return g(r.get(o)??n(o,Reflect.get(s,o)))},has(s,o){return o===Vr?!0:(g(r.get(o)??n(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return k(r.get(o)??n(o,l),l),Reflect.set(s,o,l)}});this.#e=(t.hydrate?Gn:Er)(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)&&We(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||me(this,s,{get(){return this.#e[s]},set(o){this.#e[s]=o},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{zn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Nr;typeof HTMLElement=="function"&&(Nr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),Xe(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=oi(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=Ke(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ii({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=On(()=>{Pn(()=>{this.$$r=!0;for(const n of De(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Ke(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Ke(e,r,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 De(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Ke(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 oi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ai(e,t,r,n,i,s){let o=class extends Nr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return De(t).map(l=>(t[l].attribute||l).toLowerCase())}};return De(t).forEach(l=>{me(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=Ke(l,a,t),this.$$d[l]=a;var u=this.$$c;if(u){var f=we(u,l)?.get;f?u[l]=a:u.$set({[l]:a})}}})}),n.forEach(l=>{me(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}const Sr={version:"0.61.51"};function li(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var he={},Or;function ui(){if(Or)return he;Or=1,Object.defineProperty(he,"__esModule",{value:!0}),he.LanguageTranslator=void 0,he.getChildStyleToPass=e,he.addComponent=t;function e(n,i){var s,o,l="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((o=i?.filter(function(d){return Object.keys(n).includes(d.name)}))===null||o===void 0)&&o.length))for(var a=function(d){var b=i?.filter(function(v){return v.name===d&&v.defaultValue!==n[d]});b&&(l+="".concat(d,":").concat(n[d],";"))},u=0,f=Object.keys(n);u<f.length;u++){var c=f[u];a(c)}}catch(d){console.error("error getting child style to pass",d)}finally{return l}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)l.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var a=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(a+"-",""),"/").concat(o)}document.head.appendChild(l)}catch(u){console.warn(u)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,o){return n.formatDate(i,s,o||this.lang)},n.getDefaultLang=function(){var i,s,o,l,a,u="en";return navigator?.languages&&(!((o=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||o===void 0)&&o.length)&&(u=(a=(l=navigator.languages[0])===null||l===void 0?void 0:l.split("-")[0])===null||a===void 0?void 0:a.toLowerCase()),u},n.getDictionaryWord=function(i,s,o){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(o&&(!((l=s[o])===null||l===void 0)&&l[i]))return s[o][i];var a="",u=n.getDefaultLang();if(!o||u!==o){var f=s?.[u];f?.[i]&&(a=f[i])}return a},n.formatDate=function(i,s,o){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(o||n.getDefaultLang(),s);return l.format(i)},n})();return he.LanguageTranslator=r,he}var Rr=ui(),Re={},xt,Ar;function fi(){if(Ar)return xt;Ar=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g,a=`
3
3
  `,u="/",f="*",c="",d="comment",b="declaration";xt=function(p,P){if(typeof p!="string")throw new TypeError("First argument must be a string");if(!p)return[];P=P||{};var O=1,$=1;function F(_){var h=_.match(t);h&&(O+=h.length);var A=_.lastIndexOf(a);$=~A?_.length-A:$+_.length}function B(){var _={line:O,column:$};return function(h){return h.position=new _e(_),Ze(),h}}function _e(_){this.start=_,this.end={line:O,column:$},this.source=P.source}_e.prototype.content=p;function Ie(_){var h=new Error(P.source+":"+O+":"+$+": "+_);if(h.reason=_,h.filename=P.source,h.line=O,h.column=$,h.source=p,!P.silent)throw h}function ge(_){var h=_.exec(p);if(h){var A=h[0];return F(A),p=p.slice(A.length),h}}function Ze(){ge(r)}function Qe(_){var h;for(_=_||[];h=y();)h!==!1&&_.push(h);return _}function y(){var _=B();if(!(u!=p.charAt(0)||f!=p.charAt(1))){for(var h=2;c!=p.charAt(h)&&(f!=p.charAt(h)||u!=p.charAt(h+1));)++h;if(h+=2,c===p.charAt(h-1))return Ie("End of comment missing");var A=p.slice(2,h-2);return $+=2,F(A),p=p.slice(h),$+=2,_({type:d,comment:A})}}function E(){var _=B(),h=ge(n);if(h){if(y(),!ge(i))return Ie("property missing ':'");var A=ge(s),_i=_({type:b,property:v(h[0].replace(e,c)),value:A?v(A[0].replace(e,c)):c});return ge(o),_i}}function R(){var _=[];Qe(_);for(var h;h=E();)h!==!1&&(_.push(h),Qe(_));return _}return Ze(),R()};function v(p){return p?p.replace(l,c):c}return xt}var Cr;function ci(){if(Cr)return Re;Cr=1;var e=Re&&Re.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Re,"__esModule",{value:!0}),Re.default=r;var t=e(fi());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var o=(0,t.default)(n),l=typeof i=="function";return o.forEach(function(a){if(a.type==="declaration"){var u=a.property,f=a.value;l?i(u,f,a):f&&(s=s||{},s[u]=f)}}),s}return Re}var di=ci();const Pr=li(di);Pr.default;var bi=yr('<div part="invalid-feedback" class="invalid-feedback mb-1 svelte-19ne5w4"> </div>'),vi=yr('<div part="properties-container" class="properties-container svelte-19ne5w4"><hb-table></hb-table> <hb-form><span class="slotted-submit svelte-19ne5w4" slot="submit_button"><button type="button" class="btn btn-info svelte-19ne5w4"><!></button></span></hb-form></div> <!>',3);const hi={hash:"svelte-19ne5w4",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
  /*!
5
5
  * Bootstrap v5.1.2 (https://getbootstrap.com/)
package/manifest.json CHANGED
@@ -326,5 +326,5 @@
326
326
  "size": {},
327
327
  "iifePath": "main.iife.js",
328
328
  "repoName": "@htmlbricks/hb-input-array-objects",
329
- "version": "0.61.50"
329
+ "version": "0.61.51"
330
330
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-input-array-objects",
3
- "version": "0.61.50",
3
+ "version": "0.61.51",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [