@htmlbricks/hb-form 0.66.0 → 0.66.2

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
- (function(Yr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Ur=1,zr=2,Wr=4,Qi=8,es=16,ts=1,ns=2,Gr="[",Yn="[!",dr="]",sn={},Y=Symbol(),rs="http://www.w3.org/1999/xhtml",vr=!1;var Kr=Array.isArray,is=Array.prototype.indexOf,hr=Array.from,Un=Object.keys,zn=Object.defineProperty,an=Object.getOwnPropertyDescriptor,ss=Object.getOwnPropertyDescriptors,as=Object.prototype,os=Array.prototype,Xr=Object.getPrototypeOf,Zr=Object.isExtensible;function ls(e){for(var t=0;t<e.length;t++)e[t]()}function Qr(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const H=2,_r=4,pr=8,ct=16,dt=32,wt=64,Wn=128,we=512,U=1024,te=2048,vt=4096,re=8192,ht=16384,Gn=32768,on=65536,ei=1<<17,ti=1<<18,Ut=1<<19,us=1<<20,zt=32768,br=1<<21,mr=1<<22,yt=1<<23,gr=Symbol("$state"),fs=Symbol("legacy props"),cs=Symbol(""),ln=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},wr=3,un=8;function ds(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function vs(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function hs(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function _s(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ps(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function bs(){throw new Error("https://svelte.dev/e/hydration_failed")}function ms(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function gs(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ws(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ys(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Kn(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function js(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let $=!1;function ye(e){$=e}let O;function ne(e){if(e===null)throw Kn(),sn;return O=e}function yn(){return ne(Le(O))}function _t(e){if($){if(Le(O)!==null)throw Kn(),sn;O=e}}function Es(e=1){if($){for(var t=e,n=O;t--;)n=Le(n);O=n}}function Xn(e=!0){for(var t=0,n=O;;){if(n.nodeType===un){var r=n.data;if(r===dr){if(t===0)return n;t-=1}else(r===Gr||r===Yn)&&(t+=1)}var s=Le(n);e&&n.remove(),n=s}}function ni(e){if(!e||e.nodeType!==un)throw Kn(),sn;return e.data}function ri(e){return e===this.v}function xs(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ii(e){return!xs(e,this.v)}let ks=!1,le=null;function fn(e){le=e}function si(e,t=!1,n){le={p:le,i:!1,c:null,e:null,s:e,x:null,l:null}}function ai(e){var t=le,n=t.e;if(n!==null){t.e=null;for(var r of n)$i(r)}return e!==void 0&&(t.x=e),t.i=!0,le=t.p,e??{}}function oi(){return!0}let Wt=[];function li(){var e=Wt;Wt=[],ls(e)}function jn(e){if(Wt.length===0&&!En){var t=Wt;queueMicrotask(()=>{t===Wt&&li()})}Wt.push(e)}function Ns(){for(;Wt.length>0;)li()}function ui(e){var t=C;if(t===null)return q.f|=yt,e;if((t.f&Gn)===0){if((t.f&Wn)===0)throw e;t.b.error(e)}else cn(e,t)}function cn(e,t){for(;t!==null;){if((t.f&Wn)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Zn=new Set;let D=null,ue=null,fe=[],Qn=null,yr=!1,En=!1;class je{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#l=null;#s=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(t){fe=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#a(r,n);this.is_fork||this.#f(),this.is_deferred()?(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects)):(D=null,ci(n.render_effects),ci(n.effects),this.#l?.resolve()),ue=null}#a(t,n){t.f^=U;for(var r=t.first;r!==null;){var s=r.f,i=(s&(dt|wt))!==0,a=i&&(s&U)!==0,o=a||(s&re)!==0||this.skipped_effects.has(r);if((r.f&Wn)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!o&&r.fn!==null){i?r.f^=U:(s&_r)!==0?n.effects.push(r):Nn(r)&&((r.f&ct)!==0&&n.block_effects.push(r),$n(r));var l=r.first;if(l!==null){r=l;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)u===n.effect&&(this.#o(n.effects),this.#o(n.render_effects),this.#o(n.block_effects),n=n.parent),r=u.next,u=u.parent}}#o(t){for(const n of t)((n.f&te)!==0?this.#s:this.#i).push(n),this.#u(n.deps),W(n,U)}#u(t){if(t!==null)for(const n of t)(n.f&H)===0||(n.f&zt)===0||(n.f^=zt,this.#u(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&yt)===0&&(this.current.set(t,t.v),ue?.set(t,t.v))}activate(){D=this,this.apply()}deactivate(){D===this&&(D=null,ue=null)}flush(){if(this.activate(),fe.length>0){if(fi(),D!==null&&D!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#f(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#c()}#c(){if(Zn.size>1){this.previous.clear();var t=ue,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Zn){if(i===this){n=!1;continue}const a=[];for(const[l,u]of this.current){if(i.current.has(l))if(n&&u!==i.current.get(l))i.current.set(l,u);else continue;a.push(l)}if(a.length===0)continue;const o=[...i.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var s=fe;fe=[];const l=new Set,u=new Map;for(const v of a)di(v,o,l,u);if(fe.length>0){D=i,i.apply();for(const v of fe)i.#a(v,r);i.deactivate()}fe=s}}D=null,ue=t}this.committed=!0,Zn.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#s)W(t,te),Gt(t);for(const t of this.#i)W(t,vt),Gt(t);this.#s=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=Qr()).promise}static ensure(){if(D===null){const t=D=new je;Zn.add(D),En||je.enqueue(()=>{D===t&&t.flush()})}return D}static enqueue(t){jn(t)}apply(){}}function jt(e){var t=En;En=!0;try{for(var n;;){if(Ns(),fe.length===0&&(D?.flush(),fe.length===0))return Qn=null,n;fi()}}finally{En=t}}function fi(){var e=Nt;yr=!0;var t=null;try{var n=0;for(sr(!0);fe.length>0;){var r=je.ensure();if(n++>1e3){var s,i;$s()}r.process(fe),Et.clear()}}finally{yr=!1,sr(e),Qn=null}}function $s(){try{ps()}catch(e){cn(e,Qn)}}let pt=null;function ci(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ht|re))===0&&Nn(r)&&(pt=new Set,$n(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Ci(r):r.fn=null),pt?.size>0)){Et.clear();for(const s of pt){if((s.f&(ht|re))!==0)continue;const i=[s];let a=s.parent;for(;a!==null;)pt.has(a)&&(pt.delete(a),i.push(a)),a=a.parent;for(let o=i.length-1;o>=0;o--){const l=i[o];(l.f&(ht|re))===0&&$n(l)}}pt.clear()}}pt=null}}function di(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&H)!==0?di(s,t,n,r):(i&(mr|ct))!==0&&(i&te)===0&&vi(s,t,r)&&(W(s,te),Gt(s))}}function vi(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&H)!==0&&vi(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function Gt(e){for(var t=Qn=e;t.parent!==null;){t=t.parent;var n=t.f;if(yr&&t===C&&(n&ct)!==0&&(n&ti)===0)return;if((n&(wt|dt))!==0){if((n&U)===0)return;t.f^=U}}fe.push(t)}function qs(e){let t=0,n=Kt(0),r;return()=>{ir()&&(c(n),qi(()=>(t===0&&(r=Zs(()=>e(()=>xn(n)))),t+=1,()=>{jn(()=>{t-=1,t===0&&(r?.(),r=void 0,xn(n))})})))}}var Ss=on|Ut|Wn;function Ts(e,t,n){new Cs(e,t,n)}class Cs{parent;#t=!1;#e;#n=$?O:null;#r;#l;#s;#i=null;#a=null;#o=null;#u=null;#f=null;#c=0;#d=0;#h=!1;#v=null;#g=qs(()=>(this.#v=Kt(this.#c),()=>{this.#v=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#l=r,this.parent=C.b,this.#t=!!this.#r.pending,this.#s=$r(()=>{if(C.b=this,$){const i=this.#n;yn(),i.nodeType===un&&i.data===Yn?this.#y():this.#w()}else{var s=this.#b();try{this.#i=de(()=>r(s))}catch(i){this.error(i)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#f?.remove()}},Ss),$&&(this.#e=O)}#w(){try{this.#i=de(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#r.pending;t&&(this.#a=de(()=>t(this.#e)),je.enqueue(()=>{var n=this.#b();this.#i=this.#_(()=>(je.ensure(),de(()=>this.#l(n)))),this.#d>0?this.#p():(vn(this.#a,()=>{this.#a=null}),this.#t=!1)}))}#b(){var t=this.#e;return this.#t&&(this.#f=se(),this.#e.before(this.#f),t=this.#f),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=C,r=q,s=le;ve(this.#s),z(this.#s),fn(this.#s.ctx);try{return t()}catch(i){return ui(i),null}finally{ve(n),z(r),fn(s)}}#p(){const t=this.#r.pending;this.#i!==null&&(this.#u=document.createDocumentFragment(),this.#u.append(this.#f),Ri(this.#i,this.#u)),this.#a===null&&(this.#a=de(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#a&&vn(this.#a,()=>{this.#a=null}),this.#u&&(this.#e.before(this.#u),this.#u=null))}update_pending_count(t){this.#m(t),this.#c+=t,this.#v&&dn(this.#v,this.#c)}get_effect_pending(){return this.#g(),c(this.#v)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#h||!n&&!r)throw t;this.#i&&(G(this.#i),this.#i=null),this.#a&&(G(this.#a),this.#a=null),this.#o&&(G(this.#o),this.#o=null),$&&(ne(this.#n),Es(),ne(Xn()));var s=!1,i=!1;const a=()=>{if(s){js();return}s=!0,i&&ys(),je.ensure(),this.#c=0,this.#o!==null&&vn(this.#o,()=>{this.#o=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#h=!1,de(()=>this.#l(this.#e)))),this.#d>0?this.#p():this.#t=!1};var o=q;try{z(null),i=!0,n?.(t,a),i=!1}catch(l){cn(l,this.#s&&this.#s.parent)}finally{z(o)}r&&jn(()=>{this.#o=this.#_(()=>{je.ensure(),this.#h=!0;try{return de(()=>{r(this.#e,()=>t,()=>a)})}catch(l){return cn(l,this.#s.parent),null}finally{this.#h=!1}})})}}function Os(e,t,n){for(var r=[],s=t.length,i=0;i<s;i++)qr(t[i].e,r,!0);Oi(r,()=>{var a=r.length===0&&n!==null;if(a){var o=n,l=o.parentNode;xi(l),l.append(o),e.items.clear(),Me(e,t[0].prev,t[s-1].next)}for(var u=0;u<s;u++){var v=t[u];a||(e.items.delete(v.k),Me(e,v.prev,v.next)),G(v.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function hi(e,t,n,r,s,i=null){var a=e,o=new Map,l=null,u=(t&Wr)!==0,v=(t&Ur)!==0,p=(t&zr)!==0;if(u){var d=e;a=$?ne(Xt(d)):d.appendChild(se())}$&&yn();var f=null,N=Vs(()=>{var I=n();return Kr(I)?I:I==null?[]:hr(I)}),L,j=!0;function M(){As(qt,L,a,t,r),f!==null&&(L.length===0?(f.fragment?(a.before(f.fragment),f.fragment=null):Sr(f.effect),Q.first=f.effect):vn(f.effect,()=>{f=null}))}var Q=$r(()=>{L=c(N);var I=L.length;let St=!1;if($){var Tt=ni(a)===Yn;Tt!==(I===0)&&(a=Xn(),ne(a),ye(!1),St=!0)}for(var _e=new Set,Ee=D,P=null,S=ki(),mt=0;mt<I;mt+=1){$&&O.nodeType===un&&O.data===dr&&(a=O,St=!0,ye(!1));var nn=L[mt],_n=r(nn,mt),oe=j?null:o.get(_n);oe?(v&&dn(oe.v,nn),p?dn(oe.i,mt):oe.i=mt,S&&Ee.skipped_effects.delete(oe.e)):(oe=Rs(j?a:null,P,nn,_n,mt,s,t,n),j&&(oe.o=!0,P===null?l=oe:P.next=oe,P=oe),o.set(_n,oe)),_e.add(_n)}if(I===0&&i&&!f)if(j)f={fragment:null,effect:de(()=>i(a))};else{var h=document.createDocumentFragment(),w=se();h.append(w),f={fragment:h,effect:de(()=>i(w))}}if($&&I>0&&ne(Xn()),!j)if(S){for(const[V,Mr]of o)_e.has(V)||Ee.skipped_effects.add(Mr.e);Ee.oncommit(M),Ee.ondiscard(()=>{})}else M();St&&ye(!0),c(N)}),qt={effect:Q,items:o,first:l};j=!1,$&&(a=O)}function As(e,t,n,r,s){var i=(r&Qi)!==0,a=t.length,o=e.items,l=e.first,u,v=null,p,d=[],f=[],N,L,j,M;if(i)for(M=0;M<a;M+=1)N=t[M],L=s(N,M),j=o.get(L),j.a?.measure(),(p??=new Set).add(j);for(M=0;M<a;M+=1){if(N=t[M],L=s(N,M),j=o.get(L),e.first??=j,!j.o){j.o=!0;var Q=v?v.next:l;Me(e,v,j),Me(e,j,Q),jr(j,Q,n),v=j,d=[],f=[],l=v.next;continue}if((j.e.f&re)!==0&&(Sr(j.e),i&&(j.a?.unfix(),(p??=new Set).delete(j))),j!==l){if(u!==void 0&&u.has(j)){if(d.length<f.length){var qt=f[0],I;v=qt.prev;var St=d[0],Tt=d[d.length-1];for(I=0;I<d.length;I+=1)jr(d[I],qt,n);for(I=0;I<f.length;I+=1)u.delete(f[I]);Me(e,St.prev,Tt.next),Me(e,v,St),Me(e,Tt,qt),l=qt,v=Tt,M-=1,d=[],f=[]}else u.delete(j),jr(j,l,n),Me(e,j.prev,j.next),Me(e,j,v===null?e.first:v.next),Me(e,v,j),v=j;continue}for(d=[],f=[];l!==null&&l.k!==L;)(l.e.f&re)===0&&(u??=new Set).add(l),f.push(l),l=l.next;if(l===null)continue;j=l}d.push(j),v=j,l=j.next}if(l!==null||u!==void 0){for(var _e=u===void 0?[]:hr(u);l!==null;)(l.e.f&re)===0&&_e.push(l),l=l.next;var Ee=_e.length;if(Ee>0){var P=(r&Wr)!==0&&a===0?n:null;if(i){for(M=0;M<Ee;M+=1)_e[M].a?.measure();for(M=0;M<Ee;M+=1)_e[M].a?.fix()}Os(e,_e,P)}}i&&jn(()=>{if(p!==void 0)for(j of p)j.a?.apply()})}function Rs(e,t,n,r,s,i,a,o){var l=(a&Ur)!==0,u=(a&es)===0,v=l?u?mi(n,!1,!1):Kt(n):n,p=(a&zr)===0?s:Kt(s),d={i:p,v,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var f=document.createDocumentFragment();f.append(e=se())}return d.e=de(()=>i(e,v,p,o)),t!==null&&(t.next=d),d}finally{}}function jr(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,s=t?t.e.nodes_start:n,i=e.e.nodes_start;i!==null&&i!==r;){var a=Le(i);s.before(i),i=a}}function Me(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Ms(e,t,n,r){const s=tr;if(n.length===0&&e.length===0){r(t.map(s));return}var i=D,a=C,o=Ls();function l(){Promise.all(n.map(u=>Ds(u))).then(u=>{o();try{r([...t.map(s),...u])}catch(v){(a.f&ht)===0&&cn(v,a)}i?.deactivate(),er()}).catch(u=>{cn(u,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return l()}finally{i?.deactivate(),er()}}):l()}function Ls(){var e=C,t=q,n=le,r=D;return function(i=!0){ve(e),z(t),fn(n),i&&r?.activate()}}function er(){ve(null),z(null),fn(null)}function tr(e){var t=H|te,n=q!==null&&(q.f&H)!==0?q:null;return C!==null&&(C.f|=Ut),{ctx:le,deps:null,effects:null,equals:ri,f:t,fn:e,reactions:null,rv:0,v:Y,wv:0,parent:n??C,ac:null}}function Ds(e,t){let n=C;n===null&&ds();var r=n.b,s=void 0,i=Kt(Y),a=!q,o=new Map;return zs(()=>{var l=Qr();s=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{u===D&&u.committed&&u.deactivate(),er()})}catch(d){l.reject(d),er()}var u=D;if(a){var v=!r.is_pending();r.update_pending_count(1),u.increment(v),o.get(u)?.reject(ln),o.delete(u),o.set(u,l)}const p=(d,f=void 0)=>{if(u.activate(),f)f!==ln&&(i.f|=yt,dn(i,f));else{(i.f&yt)!==0&&(i.f^=yt),dn(i,d);for(const[N,L]of o){if(o.delete(N),N===u)break;L.reject(ln)}}a&&(r.update_pending_count(-1),u.decrement(v))};l.promise.then(p,d=>p(null,d||"unknown"))}),Ni(()=>{for(const l of o.values())l.reject(ln)}),new Promise(l=>{function u(v){function p(){v===s?l(i):u(s)}v.then(p,p)}u(s)})}function nr(e){const t=tr(e);return Li(t),t}function Vs(e){const t=tr(e);return t.equals=ii,t}function _i(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)G(t[n])}}function Is(e){for(var t=e.parent;t!==null;){if((t.f&H)===0)return(t.f&ht)===0?t:null;t=t.parent}return null}function Er(e){var t,n=C;ve(Is(e));try{e.f&=~zt,_i(e),t=Fi(e)}finally{ve(n)}return t}function pi(e){var t=Er(e);if(e.equals(t)||(D?.is_fork||(e.v=t),e.wv=Ii()),!Zt)if(ue!==null)ir()&&ue.set(e,t);else{var n=(e.f&we)===0?vt:U;W(e,n)}}let xr=new Set;const Et=new Map;let bi=!1;function Kt(e,t){var n={f:0,v:e,reactions:null,equals:ri,rv:0,wv:0};return n}function ce(e,t){const n=Kt(e);return Li(n),n}function mi(e,t=!1,n=!0){const r=Kt(e);return t||(r.equals=ii),r}function ie(e,t,n=!1){q!==null&&(!Ve||(q.f&ei)!==0)&&oi()&&(q.f&(H|ct|mr|ei))!==0&&!bt?.includes(e)&&ws();let r=n?xt(t):t;return dn(e,r)}function dn(e,t){if(!e.equals(t)){var n=e.v;Zt?Et.set(e,t):Et.set(e,n),e.v=t;var r=je.ensure();r.capture(e,n),(e.f&H)!==0&&((e.f&te)!==0&&Er(e),W(e,(e.f&we)!==0?U:vt)),e.wv=Ii(),gi(e,te),C!==null&&(C.f&U)!==0&&(C.f&(dt|wt))===0&&(he===null?Ks([e]):he.push(e)),!r.is_fork&&xr.size>0&&!bi&&Ps()}return t}function Ps(){bi=!1;var e=Nt;sr(!0);const t=Array.from(xr);try{for(const n of t)(n.f&U)!==0&&W(n,vt),Nn(n)&&$n(n)}finally{sr(e)}xr.clear()}function xn(e){ie(e,e.v+1)}function gi(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],a=i.f,o=(a&te)===0;if(o&&W(i,t),(a&H)!==0){var l=i;ue?.delete(l),(a&zt)===0&&(a&we&&(i.f|=zt),gi(l,vt))}else o&&((a&ct)!==0&&pt!==null&&pt.add(i),Gt(i))}}function xt(e){if(typeof e!="object"||e===null||gr in e)return e;const t=Xr(e);if(t!==as&&t!==os)return e;var n=new Map,r=Kr(e),s=ce(0),i=Qt,a=o=>{if(Qt===i)return o();var l=q,u=Qt;z(null),Vi(i);var v=o();return z(l),Vi(u),v};return r&&n.set("length",ce(e.length)),new Proxy(e,{defineProperty(o,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&ms();var v=n.get(l);return v===void 0?v=a(()=>{var p=ce(u.value);return n.set(l,p),p}):ie(v,u.value,!0),!0},deleteProperty(o,l){var u=n.get(l);if(u===void 0){if(l in o){const v=a(()=>ce(Y));n.set(l,v),xn(s)}}else ie(u,Y),xn(s);return!0},get(o,l,u){if(l===gr)return e;var v=n.get(l),p=l in o;if(v===void 0&&(!p||an(o,l)?.writable)&&(v=a(()=>{var f=xt(p?o[l]:Y),N=ce(f);return N}),n.set(l,v)),v!==void 0){var d=c(v);return d===Y?void 0:d}return Reflect.get(o,l,u)},getOwnPropertyDescriptor(o,l){var u=Reflect.getOwnPropertyDescriptor(o,l);if(u&&"value"in u){var v=n.get(l);v&&(u.value=c(v))}else if(u===void 0){var p=n.get(l),d=p?.v;if(p!==void 0&&d!==Y)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return u},has(o,l){if(l===gr)return!0;var u=n.get(l),v=u!==void 0&&u.v!==Y||Reflect.has(o,l);if(u!==void 0||C!==null&&(!v||an(o,l)?.writable)){u===void 0&&(u=a(()=>{var d=v?xt(o[l]):Y,f=ce(d);return f}),n.set(l,u));var p=c(u);if(p===Y)return!1}return v},set(o,l,u,v){var p=n.get(l),d=l in o;if(r&&l==="length")for(var f=u;f<p.v;f+=1){var N=n.get(f+"");N!==void 0?ie(N,Y):f in o&&(N=a(()=>ce(Y)),n.set(f+"",N))}if(p===void 0)(!d||an(o,l)?.writable)&&(p=a(()=>ce(void 0)),ie(p,xt(u)),n.set(l,p));else{d=p.v!==Y;var L=a(()=>xt(u));ie(p,L)}var j=Reflect.getOwnPropertyDescriptor(o,l);if(j?.set&&j.set.call(v,u),!d){if(r&&typeof l=="string"){var M=n.get("length"),Q=Number(l);Number.isInteger(Q)&&Q>=M.v&&ie(M,Q+1)}xn(s)}return!0},ownKeys(o){c(s);var l=Reflect.ownKeys(o).filter(p=>{var d=n.get(p);return d===void 0||d.v!==Y});for(var[u,v]of n)v.v!==Y&&!(u in o)&&l.push(u);return l},setPrototypeOf(){gs()}})}var wi,yi,ji,Ei;function kr(){if(wi===void 0){wi=window,yi=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;ji=an(t,"firstChild").get,Ei=an(t,"nextSibling").get,Zr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Zr(n)&&(n.__t=void 0)}}function se(e=""){return document.createTextNode(e)}function Xt(e){return ji.call(e)}function Le(e){return Ei.call(e)}function kt(e,t){if(!$)return Xt(e);var n=Xt(O);return n===null&&(n=O.appendChild(se())),ne(n),n}function T(e,t=!1){if(!$){var n=Xt(e);return n instanceof Comment&&n.data===""?Le(n):n}if(t&&O?.nodeType!==wr){var r=se();return O?.before(r),ne(r),r}return O}function rr(e,t=1,n=!1){let r=$?O:e;for(var s;t--;)s=r,r=Le(r);if(!$)return r;if(n&&r?.nodeType!==wr){var i=se();return r===null?s?.after(i):r.before(i),ne(i),i}return ne(r),r}function xi(e){e.textContent=""}function ki(){return!1}function Nr(e){var t=q,n=C;z(null),ve(null);try{return e()}finally{z(t),ve(n)}}function Fs(e){C===null&&(q===null&&_s(),hs()),Zt&&vs()}function Js(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function De(e,t,n){var r=C;r!==null&&(r.f&re)!==0&&(e|=re);var s={ctx:le,deps:null,nodes_start:null,nodes_end:null,f:e|te|we,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{$n(s),s.f|=Gn}catch(o){throw G(s),o}else t!==null&&Gt(s);var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&Ut)===0&&(i=i.first,(e&ct)!==0&&(e&on)!==0&&i!==null&&(i.f|=on)),i!==null&&(i.parent=r,r!==null&&Js(i,r),q!==null&&(q.f&H)!==0&&(e&wt)===0)){var a=q;(a.effects??=[]).push(i)}return s}function ir(){return q!==null&&!Ve}function Ni(e){const t=De(pr,null,!1);return W(t,U),t.teardown=e,t}function Bs(e){Fs();var t=C.f,n=!q&&(t&dt)!==0&&(t&Gn)===0;if(n){var r=le;(r.e??=[]).push(e)}else return $i(e)}function $i(e){return De(_r|us,e,!1)}function Hs(e){je.ensure();const t=De(wt|Ut,e,!0);return()=>{G(t)}}function Ys(e){je.ensure();const t=De(wt|Ut,e,!0);return(n={})=>new Promise(r=>{n.outro?vn(t,()=>{G(t),r(void 0)}):(G(t),r(void 0))})}function Us(e){return De(_r,e,!1)}function zs(e){return De(mr|Ut,e,!0)}function qi(e,t=0){return De(pr|t,e,!0)}function b(e,t=[],n=[],r=[]){Ms(r,t,n,s=>{De(pr,()=>e(...s.map(c)),!0)})}function $r(e,t=0){var n=De(ct|t,e,!0);return n}function de(e){return De(dt|Ut,e,!0)}function Si(e){var t=e.teardown;if(t!==null){const n=Zt,r=q;Mi(!0),z(null);try{t.call(null)}finally{Mi(n),z(r)}}}function Ti(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Nr(()=>{s.abort(ln)});var r=n.next;(n.f&wt)!==0?n.parent=null:G(n,t),n=r}}function Ws(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&dt)===0&&G(t),t=n}}function G(e,t=!0){var n=!1;(t||(e.f&ti)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Gs(e.nodes_start,e.nodes_end),n=!0),Ti(e,t&&!n),ar(e,0),W(e,ht);var r=e.transitions;if(r!==null)for(const i of r)i.stop();Si(e);var s=e.parent;s!==null&&s.first!==null&&Ci(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Gs(e,t){for(;e!==null;){var n=e===t?null:Le(e);e.remove(),e=n}}function Ci(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 vn(e,t,n=!0){var r=[];qr(e,r,!0),Oi(r,()=>{n&&G(e),t&&t()})}function Oi(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var s of e)s.out(r)}else t()}function qr(e,t,n){if((e.f&re)===0){if(e.f^=re,e.transitions!==null)for(const a of e.transitions)(a.is_global||n)&&t.push(a);for(var r=e.first;r!==null;){var s=r.next,i=(r.f&on)!==0||(r.f&dt)!==0&&(e.f&ct)!==0;qr(r,t,i?n:!1),r=s}}}function Sr(e){Ai(e,!0)}function Ai(e,t){if((e.f&re)!==0){e.f^=re,(e.f&U)===0&&(W(e,te),Gt(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&on)!==0||(n.f&dt)!==0;Ai(n,s?t:!1),n=r}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function Ri(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var s=n===r?null:Le(n);t.append(n),n=s}}let Nt=!1;function sr(e){Nt=e}let Zt=!1;function Mi(e){Zt=e}let q=null,Ve=!1;function z(e){q=e}let C=null;function ve(e){C=e}let bt=null;function Li(e){q!==null&&(bt===null?bt=[e]:bt.push(e))}let K=null,ae=0,he=null;function Ks(e){he=e}let Di=1,kn=0,Qt=kn;function Vi(e){Qt=e}function Ii(){return++Di}function Nn(e){var t=e.f;if((t&te)!==0)return!0;if(t&H&&(e.f&=~zt),(t&vt)!==0){var n=e.deps;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s];if(Nn(i)&&pi(i),i.wv>e.wv)return!0}(t&we)!==0&&ue===null&&W(e,U)}return!1}function Pi(e,t,n=!0){var r=e.reactions;if(r!==null&&!bt?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&H)!==0?Pi(i,t,!1):t===i&&(n?W(i,te):(i.f&U)!==0&&W(i,vt),Gt(i))}}function Fi(e){var t=K,n=ae,r=he,s=q,i=bt,a=le,o=Ve,l=Qt,u=e.f;K=null,ae=0,he=null,q=(u&(dt|wt))===0?e:null,bt=null,fn(e.ctx),Ve=!1,Qt=++kn,e.ac!==null&&(Nr(()=>{e.ac.abort(ln)}),e.ac=null);try{e.f|=br;var v=e.fn,p=v(),d=e.deps;if(K!==null){var f;if(ar(e,ae),d!==null&&ae>0)for(d.length=ae+K.length,f=0;f<K.length;f++)d[ae+f]=K[f];else e.deps=d=K;if(Nt&&ir()&&(e.f&we)!==0)for(f=ae;f<d.length;f++)(d[f].reactions??=[]).push(e)}else d!==null&&ae<d.length&&(ar(e,ae),d.length=ae);if(oi()&&he!==null&&!Ve&&d!==null&&(e.f&(H|vt|te))===0)for(f=0;f<he.length;f++)Pi(he[f],e);return s!==null&&s!==e&&(kn++,he!==null&&(r===null?r=he:r.push(...he))),(e.f&yt)!==0&&(e.f^=yt),p}catch(N){return ui(N)}finally{e.f^=br,K=t,ae=n,he=r,q=s,bt=i,fn(a),Ve=o,Qt=l}}function Xs(e,t){let n=t.reactions;if(n!==null){var r=is.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(t.f&H)!==0&&(K===null||!K.includes(t))&&(W(t,vt),(t.f&we)!==0&&(t.f^=we,t.f&=~zt),_i(t),ar(t,0))}function ar(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Xs(e,n[r])}function $n(e){var t=e.f;if((t&ht)===0){W(e,U);var n=C,r=Nt;C=e,Nt=!0;try{(t&ct)!==0?Ws(e):Ti(e),Si(e);var s=Fi(e);e.teardown=typeof s=="function"?s:null,e.wv=Di;var i;vr&&ks&&(e.f&te)!==0&&e.deps}finally{Nt=r,C=n}}}function c(e){var t=e.f,n=(t&H)!==0;if(q!==null&&!Ve){var r=C!==null&&(C.f&ht)!==0;if(!r&&!bt?.includes(e)){var s=q.deps;if((q.f&br)!==0)e.rv<kn&&(e.rv=kn,K===null&&s!==null&&s[ae]===e?ae++:K===null?K=[e]:K.includes(e)||K.push(e));else{(q.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[q]:i.includes(q)||i.push(q)}}}if(Zt){if(Et.has(e))return Et.get(e);if(n){var a=e,o=a.v;return((a.f&U)===0&&a.reactions!==null||Bi(a))&&(o=Er(a)),Et.set(a,o),o}}else n&&!ue?.has(e)&&(a=e,Nn(a)&&pi(a),Nt&&ir()&&(a.f&we)===0&&Ji(a));if(ue?.has(e))return ue.get(e);if((e.f&yt)!==0)throw e.v;return e.v}function Ji(e){if(e.deps!==null){e.f^=we;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&H)!==0&&(t.f&we)===0&&Ji(t)}}function Bi(e){if(e.v===Y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Et.has(t)||(t.f&H)!==0&&Bi(t))return!0;return!1}function Zs(e){var t=Ve;try{return Ve=!0,e()}finally{Ve=t}}const Qs=-7169;function W(e,t){e.f=e.f&Qs|t}const Hi=new Set,Tr=new Set;function ea(e,t,n,r={}){function s(i){if(r.capture||qn.call(t,i),!i.cancelBubble)return Nr(()=>n?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?jn(()=>{t.addEventListener(e,s,r)}):t.addEventListener(e,s,r),s}function E(e,t,n,r,s){var i={capture:r,passive:s},a=ea(e,t,n,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Ni(()=>{t.removeEventListener(e,a,i)})}function ta(e){for(var t=0;t<e.length;t++)Hi.add(e[t]);for(var n of Tr)n(e)}let Yi=null;function qn(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Yi=e;var a=0,o=Yi===e&&e.__root;if(o){var l=s.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var u=s.indexOf(t);if(u===-1)return;l<=u&&(a=l)}if(i=s[a]||e.target,i!==t){zn(e,"currentTarget",{configurable:!0,get(){return i||n}});var v=q,p=C;z(null),ve(null);try{for(var d,f=[];i!==null;){var N=i.assignedSlot||i.parentNode||i.host||null;try{var L=i["__"+r];L!=null&&(!i.disabled||e.target===i)&&L.call(i,e)}catch(j){d?f.push(j):d=j}if(e.cancelBubble||N===t||N===null)break;i=N}if(d){for(let j of f)queueMicrotask(()=>{throw j});throw d}}finally{e.__root=t,delete e.currentTarget,z(v),ve(p)}}}function na(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function $t(e,t){var n=C;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function x(e,t){var n=(t&ts)!==0,r=(t&ns)!==0,s,i=!e.startsWith("<!>");return()=>{if($)return $t(O,null),O;s===void 0&&(s=na(i?e:"<!>"+e),n||(s=Xt(s)));var a=r||yi?document.importNode(s,!0):s.cloneNode(!0);if(n){var o=Xt(a),l=a.lastChild;$t(o,l)}else $t(a,a);return a}}function ra(e=""){if(!$){var t=se(e+"");return $t(t,t),t}var n=O;return n.nodeType!==wr&&(n.before(n=se()),ne(n)),$t(n,n),n}function A(){if($)return $t(O,null),O;var e=document.createDocumentFragment(),t=document.createComment(""),n=se();return e.append(t,n),$t(t,n),e}function _(e,t){if($){var n=C;((n.f&Gn)===0||n.nodes_end===null)&&(n.nodes_end=O),yn();return}e!==null&&e.before(t)}const ia=["touchstart","touchmove"];function sa(e){return ia.includes(e)}function Ui(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function zi(e,t){return Wi(e,t)}function aa(e,t){kr(),t.intro=t.intro??!1;const n=t.target,r=$,s=O;try{for(var i=Xt(n);i&&(i.nodeType!==un||i.data!==Gr);)i=Le(i);if(!i)throw sn;ye(!0),ne(i);const a=Wi(e,{...t,anchor:i});return ye(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==sn&&console.warn("Failed to hydrate: ",a),t.recover===!1&&bs(),kr(),xi(n),ye(!1),zi(e,t)}finally{ye(r),ne(s)}}const hn=new Map;function Wi(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:a=!0}){kr();var o=new Set,l=p=>{for(var d=0;d<p.length;d++){var f=p[d];if(!o.has(f)){o.add(f);var N=sa(f);t.addEventListener(f,qn,{passive:N});var L=hn.get(f);L===void 0?(document.addEventListener(f,qn,{passive:N}),hn.set(f,1)):hn.set(f,L+1)}}};l(hr(Hi)),Tr.add(l);var u=void 0,v=Ys(()=>{var p=n??t.appendChild(se());return Ts(p,{pending:()=>{}},d=>{if(i){si({});var f=le;f.c=i}if(s&&(r.$$events=s),$&&$t(d,null),u=e(d,r)||{},$&&(C.nodes_end=O,O===null||O.nodeType!==un||O.data!==dr))throw Kn(),sn;i&&ai()}),()=>{for(var d of o){t.removeEventListener(d,qn);var f=hn.get(d);--f===0?(document.removeEventListener(d,qn),hn.delete(d)):hn.set(d,f)}Tr.delete(l),p!==n&&p.parentNode?.removeChild(p)}});return Cr.set(u,v),u}let Cr=new WeakMap;function oa(e,t){const n=Cr.get(e);return n?(Cr.delete(e),n(t)):Promise.resolve()}class la{anchor;#t=new Map;#e=new Map;#n=new Map;#r=new Set;#l=!0;constructor(t,n=!0){this.anchor=t,this.#l=n}#s=()=>{var t=D;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Sr(r),this.#r.delete(n);else{var s=this.#n.get(n);s&&(this.#e.set(n,s.effect),this.#n.delete(n),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),r=s.effect)}for(const[i,a]of this.#t){if(this.#t.delete(i),i===t)break;const o=this.#n.get(a);o&&(G(o.effect),this.#n.delete(a))}for(const[i,a]of this.#e){if(i===n||this.#r.has(i))continue;const o=()=>{if(Array.from(this.#t.values()).includes(i)){var u=document.createDocumentFragment();Ri(a,u),u.append(se()),this.#n.set(i,{effect:a,fragment:u})}else G(a);this.#r.delete(i),this.#e.delete(i)};this.#l||!r?(this.#r.add(i),vn(a,o,!1)):o()}}};#i=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,s]of this.#n)n.includes(r)||(G(s.effect),this.#n.delete(r))};ensure(t,n){var r=D,s=ki();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(s){var i=document.createDocumentFragment(),a=se();i.append(a),this.#n.set(t,{effect:de(()=>n(a)),fragment:i})}else this.#e.set(t,de(()=>n(this.anchor)));if(this.#t.set(r,t),s){for(const[o,l]of this.#e)o===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[o,l]of this.#n)o===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#s),r.ondiscard(this.#i)}else $&&(this.anchor=O),this.#s()}}function k(e,t,n=!1){$&&yn();var r=new la(e),s=n?on:0;function i(a,o){if($){const u=ni(e)===Yn;if(a===u){var l=Xn();ne(l),r.anchor=l,ye(!1),r.ensure(a,o),ye(!0);return}}r.ensure(a,o)}$r(()=>{var a=!1;t((o,l=!0)=>{a=!0,i(l,o)}),a||i(!1,null)},s)}function Or(e,t,n,r,s){$&&yn();var i=t.$$slots?.[n],a=!1;i===!0&&(i=t[n==="default"?"children":n],a=!0),i===void 0?s!==null&&s(e):i(e,a?()=>r:r)}function ua(e,t){Us(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,r.appendChild(s)}})}function fa(e,t,n){var r=e==null?"":""+e;return r===""?null:r}function ca(e,t){return e==null?null:String(e)}function R(e,t,n,r,s,i){var a=e.__className;if($||a!==n||a===void 0){var o=fa(n);(!$||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=n}return i}function da(e,t,n,r){var s=e.__style;if($||s!==t){var i=ca(t);(!$||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return r}const va=Symbol("is custom element"),ha=Symbol("is html");function Ar(e,t,n,r){var s=_a(e);$&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=n)&&(t==="loading"&&(e[cs]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Gi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function m(e,t,n){var r=q,s=C;let i=$;$&&ye(!1),z(null),ve(null);try{t!=="style"&&(Rr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Gi(e).includes(t):n&&typeof n=="object")?e[t]=n:Ar(e,t,n==null?n:String(n))}finally{z(r),ve(s),i&&ye(!0)}}function _a(e){return e.__attributes??={[va]:e.nodeName.includes("-"),[ha]:e.namespaceURI===rs}}var Rr=new Map;function Gi(e){var t=e.getAttribute("is")||e.nodeName,n=Rr.get(t);if(n)return n;Rr.set(t,n=[]);for(var r,s=e,i=Element.prototype;i!==s;){r=ss(s);for(var a in r)r[a].set&&n.push(a);s=Xr(s)}return n}function en(e,t,n,r){var s=r,i=!0,a=()=>(i&&(i=!1,s=r),s),o;o=e[t],o===void 0&&r!==void 0&&(o=a());var l;l=()=>{var d=e[t];return d===void 0?a():(i=!0,d)};var u=!1,v=tr(()=>(u=!1,l())),p=C;return(function(d,f){if(arguments.length>0){const N=f?c(v):d;return ie(v,N),u=!0,s!==void 0&&(s=N),d}return Zt&&u||(p.f&ht)!==0?v.v:c(v)})}function pa(e){return new ba(e)}class ba{#t;#e;constructor(t){var n=new Map,r=(i,a)=>{var o=mi(a,!1,!1);return n.set(i,o),o};const s=new Proxy({...t.props||{},$$events:{}},{get(i,a){return c(n.get(a)??r(a,Reflect.get(i,a)))},has(i,a){return a===fs?!0:(c(n.get(a)??r(a,Reflect.get(i,a))),Reflect.has(i,a))},set(i,a,o){return ie(n.get(a)??r(a,o),o),Reflect.set(i,a,o)}});this.#e=(t.hydrate?aa:zi)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&jt(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||zn(this,i,{get(){return this.#e[i]},set(a){this.#e[i]=a},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{oa(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...s)=>n.call(this,...s);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(s=>s!==r)}}$destroy(){this.#e.$destroy()}}let Ki;typeof HTMLElement=="function"&&(Ki=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 s=>{const i=document.createElement("slot");r!=="default"&&(i.name=r),_(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ma(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 s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=or(s,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=pa({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Hs(()=>{qi(()=>{this.$$r=!0;for(const r of Un(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=or(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=or(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 Un(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function or(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ma(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function ga(e,t,n,r,s,i){let a=class extends Ki{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return Un(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Un(t).forEach(o=>{zn(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=or(o,l,t),this.$$d[o]=l;var u=this.$$c;if(u){var v=an(u,o)?.get;v?u[o]=l:u.$set({[o]:l})}}})}),r.forEach(o=>{zn(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const X={version:"0.66.0"},wa=(e,t)=>e.reduce((n,r)=>{for(const s of t(r))(n[s]=n[s]||[]).push(r);return n},{});var tn={},Xi;function ya(){if(Xi)return tn;Xi=1,Object.defineProperty(tn,"__esModule",{value:!0}),tn.LanguageTranslator=void 0,tn.getChildStyleToPass=e,tn.addComponent=t;function e(r,s){var i,a,o="";try{if(r&&s?.length&&(!((i=Object.keys(r))===null||i===void 0)&&i.length)&&(!((a=s?.filter(function(d){return Object.keys(r).includes(d.name)}))===null||a===void 0)&&a.length))for(var l=function(d){var f=s?.filter(function(N){return N.name===d&&N.defaultValue!==r[d]});f&&(o+="".concat(d,":").concat(r[d],";"))},u=0,v=Object.keys(r);u<v.length;u++){var p=v[u];l(p)}}catch(d){console.error("error getting child style to pass",d)}finally{return o}}function t(r){var s,i=((s=r?.repoName.split("/"))===null||s===void 0?void 0:s[1])||r?.repoName;if(!i)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var a=r?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var o=document.createElement("script");if(o.id=i+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(a),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var l=i.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(i.replace(l+"-",""),"/").concat(a)}document.head.appendChild(o)}catch(u){console.warn(u)}}var n=(function(){function r(s){if(this.lang="",!s?.dictionary)throw new Error("no dictionary provided");this.dictionary=s.dictionary,this.setLang(s?.lang)}return r.prototype.setLang=function(s){s||(s=r.getDefaultLang()),this.lang=s},r.prototype.translateWord=function(s,i){return r.getDictionaryWord(s,this.dictionary,i||this.lang)},r.prototype.translateDate=function(s,i,a){return r.formatDate(s,i,a||this.lang)},r.getDefaultLang=function(){var s,i,a,o="en";return navigator?.languages&&(!((a=(i=(s=navigator.languages[0])===null||s===void 0?void 0:s.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||a===void 0)&&a.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(s,i,a){var o;if(!s)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(a&&(!((o=i[a])===null||o===void 0)&&o[s]))return i[a][s];var l="",u=r.getDefaultLang();if(!a||u!==a){var v=i?.[u];v?.[s]&&(l=v[s])}return l},r.formatDate=function(s,i,a){if(!s)throw new Error("no date provided");if(typeof s.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(a||r.getDefaultLang(),i);return o.format(s)},r})();return tn.LanguageTranslator=n,tn}var Z=ya(),ja=x('<label class="svelte-yjqjiw"> </label>'),Ea=x("<hb-input-array-objects></hb-input-array-objects>",2),xa=x("<hb-input-array-tags></hb-input-array-tags>",2),ka=x("<hb-input-text></hb-input-text>",2),Na=x("<hb-input-color></hb-input-color>",2),$a=x("<hb-input-range></hb-input-range>",2),qa=x("<hb-input-file></hb-input-file>",2),Sa=x("<hb-input-email></hb-input-email>",2),Ta=x("<hb-input-date></hb-input-date>",2),Ca=x("<hb-input-datetime></hb-input-datetime>",2),Oa=x("<hb-input-checkbox></hb-input-checkbox>",2),Aa=x("<hb-input-number></hb-input-number>",2),Ra=x("<hb-input-area></hb-input-area>",2),Ma=x("<hb-input-radio></hb-input-radio>",2),La=x("<hb-input-select></hb-input-select>",2),Da=x("<hb-input-coords></hb-input-coords>",2),Va=x('<div class="col mb-3 svelte-yjqjiw"><!> <!></div>'),Ia=x('<div class="row svelte-yjqjiw"></div>'),Pa=x('<label class="svelte-yjqjiw"> </label>'),Fa=x("<hb-input-text></hb-input-text>",2),Ja=x("<hb-input-array-objects></hb-input-array-objects>",2),Ba=x("<hb-input-array-tags></hb-input-array-tags>",2),Ha=x("<hb-input-color></hb-input-color>",2),Ya=x("<hb-input-range></hb-input-range>",2),Ua=x("<hb-input-file></hb-input-file>",2),za=x("<hb-input-email></hb-input-email>",2),Wa=x("<hb-input-date></hb-input-date>",2),Ga=x("<hb-input-datetime></hb-input-datetime>",2),Ka=x("<hb-input-checkbox></hb-input-checkbox>",2),Xa=x("<hb-input-number></hb-input-number>",2),Za=x("<hb-input-area></hb-input-area>",2),Qa=x("<hb-input-radio></hb-input-radio>",2),eo=x("<hb-input-select></hb-input-select>",2),to=x("<hb-input-coords></hb-input-coords>",2),no=x('<div class="col mb-3 svelte-yjqjiw"><!> <!></div>'),ro=x('<button part="main_button" type="button" class="btn btn-primary svelte-yjqjiw"><!></button>'),io=x('<div id="button_container" part="button_container" class="svelte-yjqjiw"><span class="svelte-yjqjiw"><!></span> <!></div>'),so=x("<!> <!>",1),ao=x('<div class="container-fluid svelte-yjqjiw"><!></div>');const oo={hash:"svelte-yjqjiw",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");
1
+ (function(Jn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ri=1,ii=2,Bn=4,si=8,oi=16,ai=1,li=2,Hn="[",Zt="[!",zn="[?",Qt="]",lt={},K=Symbol(),Yn="http://www.w3.org/1999/xhtml",ui=!1;var Un=Array.isArray,fi=Array.prototype.indexOf,ut=Array.prototype.includes,Mt=Array.from,Dt=Object.keys,Lt=Object.defineProperty,ft=Object.getOwnPropertyDescriptor,ci=Object.getOwnPropertyDescriptors,di=Object.prototype,hi=Array.prototype,Wn=Object.getPrototypeOf,Gn=Object.isExtensible;const vi=()=>{};function pi(e){for(var t=0;t<e.length;t++)e[t]()}function Kn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const U=2,ct=4,Vt=8,Xn=1<<24,Re=16,ge=32,Me=64,en=128,ce=512,Y=1024,Z=2048,xe=4096,oe=8192,de=16384,De=32768,Zn=1<<25,dt=65536,Qn=1<<17,_i=1<<18,Ke=1<<19,bi=1<<20,ke=1<<25,Xe=65536,tn=1<<21,nn=1<<22,Le=1<<23,rn=Symbol("$state"),mi=Symbol("legacy props"),gi=Symbol(""),Se=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},wi=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),It=3,Et=8;function yi(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ji(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Ei(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function xi(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function ki(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ni(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function $i(){throw new Error("https://svelte.dev/e/hydration_failed")}function Si(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ti(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qi(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Oi(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Pt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Ci(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let R=!1;function we(e){R=e}let D;function re(e){if(e===null)throw Pt(),lt;return D=e}function xt(){return re(Ne(D))}function Te(e){if(R){if(Ne(D)!==null)throw Pt(),lt;D=e}}function Ai(e=1){if(R){for(var t=e,n=D;t--;)n=Ne(n);D=n}}function Ft(e=!0){for(var t=0,n=D;;){if(n.nodeType===Et){var r=n.data;if(r===Qt){if(t===0)return n;t-=1}else(r===Hn||r===Zt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=Ne(n);e&&n.remove(),n=i}}function er(e){if(!e||e.nodeType!==Et)throw Pt(),lt;return e.data}function tr(e){return e===this.v}function Ri(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function nr(e){return!Ri(e,this.v)}let Mi=!1,he=null;function ht(e){he=e}function rr(e,t=!1,n){he={p:he,i:!1,c:null,e:null,s:e,x:null,r:C,l:null}}function ir(e){var t=he,n=t.e;if(n!==null){t.e=null;for(var r of n)Tr(r)}return e!==void 0&&(t.x=e),t.i=!0,he=t.p,e??{}}function sr(){return!0}let Ze=[];function or(){var e=Ze;Ze=[],pi(e)}function Ve(e){if(Ze.length===0&&!kt){var t=Ze;queueMicrotask(()=>{t===Ze&&or()})}Ze.push(e)}function Di(){for(;Ze.length>0;)or()}function ar(e){var t=C;if(t===null)return O.f|=Le,e;if((t.f&De)===0&&(t.f&ct)===0)throw e;Ie(e,t)}function Ie(e,t){for(;t!==null;){if((t.f&en)!==0){if((t.f&De)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Li=-7169;function H(e,t){e.f=e.f&Li|t}function sn(e){(e.f&ce)!==0||e.deps===null?H(e,Y):H(e,xe)}function lr(e){if(e!==null)for(const t of e)(t.f&U)===0||(t.f&Xe)===0||(t.f^=Xe,lr(t.deps))}function ur(e,t,n){(e.f&Z)!==0?t.add(e):(e.f&xe)!==0&&n.add(e),lr(e.deps),H(e,Y)}const Pe=new Set;let P=null,ye=null,on=null,kt=!1,an=!1,vt=null,Jt=null;var fr=0;let Vi=1;class qe{id=Vi++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#o=new Set;#a=new Set;#l=new Map;is_fork=!1;#c=!1;#u=new Set;#d(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#u)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#l.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#l.has(t)||this.#l.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#l.get(t);if(n){this.#l.delete(t);for(var r of n.d)H(r,Z),this.schedule(r);for(r of n.m)H(r,xe),this.schedule(r)}}#h(){if(fr++>1e3&&(Pe.delete(this),Ii()),!this.#d()){for(const o of this.#o)this.#a.delete(o),H(o,Z),this.schedule(o);for(const o of this.#a)H(o,xe),this.schedule(o)}const t=this.#r;this.#r=[],this.apply();var n=vt=[],r=[],i=Jt=[];for(const o of t)try{this.#f(o,n,r)}catch(l){throw pr(o),l}if(P=null,i.length>0){var s=qe.ensure();for(const o of i)s.schedule(o)}if(vt=null,Jt=null,this.#d()||this.#v()){this.#p(r),this.#p(n);for(const[o,l]of this.#l)vr(o,l)}else{this.#t.size===0&&Pe.delete(this),this.#o.clear(),this.#a.clear();for(const o of this.#e)o(this);this.#e.clear(),cr(r),cr(n),this.#s?.resolve()}var a=P;if(this.#r.length>0){const o=a??=this;o.#r.push(...this.#r.filter(l=>!o.#r.includes(l)))}a!==null&&(Pe.add(a),a.#h()),Pe.has(this)||this.#_()}#f(t,n,r){t.f^=Y;for(var i=t.first;i!==null;){var s=i.f,a=(s&(ge|Me))!==0,o=a&&(s&Y)!==0,l=o||(s&oe)!==0||this.#l.has(i);if(!l&&i.fn!==null){a?i.f^=Y:(s&ct)!==0?n.push(i):St(i)&&((s&Re)!==0&&this.#a.add(i),_t(i));var u=i.first;if(u!==null){i=u;continue}}for(;i!==null;){var f=i.next;if(f!==null){i=f;break}i=i.parent}}}#p(t){for(var n=0;n<t.length;n+=1)ur(t[n],this.#o,this.#a)}capture(t,n,r=!1){n!==K&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&Le)===0&&(this.current.set(t,[t.v,r]),ye?.set(t,t.v))}activate(){P=this}deactivate(){P=null,ye=null}flush(){try{an=!0,P=this,this.#h()}finally{fr=0,on=null,vt=null,Jt=null,an=!1,P=null,ye=null,Je.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),Pe.delete(this)}#_(){for(const u of Pe){var t=u.id<this.id,n=[];for(const[f,[_,v]]of this.current){if(u.current.has(f)){var r=u.current.get(f)[0];if(t&&_!==r)u.current.set(f,[_,v]);else continue}n.push(f)}var i=[...u.current.keys()].filter(f=>!this.current.has(f));if(i.length===0)t&&u.discard();else if(n.length>0){u.activate();var s=new Set,a=new Map;for(var o of n)dr(o,i,s,a);if(u.#r.length>0){u.apply();for(var l of u.#r)u.#f(l,[],[]);u.#r=[]}u.deactivate()}}for(const u of Pe)u.#u.has(this)&&(u.#u.delete(this),u.#u.size===0&&!u.#d()&&(u.activate(),u.#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,Ve(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#o.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??=Kn()).promise}static ensure(){if(P===null){const t=P=new qe;an||(Pe.add(P),kt||Ve(()=>{P===t&&t.flush()}))}return P}apply(){{ye=null;return}}schedule(t){if(on=t,t.b?.is_pending&&(t.f&(ct|Vt|Xn))!==0&&(t.f&De)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(vt!==null&&n===C&&(O===null||(O.f&U)===0))return;if((r&(Me|ge))!==0){if((r&Y)===0)return;n.f^=Y}}this.#r.push(n)}}function Fe(e){var t=kt;kt=!0;try{for(var n;;){if(Di(),P===null)return n;P.flush()}}finally{kt=t}}function Ii(){try{Ni()}catch(e){Ie(e,on)}}let Oe=null;function cr(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(de|oe))===0&&St(r)&&(Oe=new Set,_t(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Cr(r),Oe?.size>0)){Je.clear();for(const i of Oe){if((i.f&(de|oe))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)Oe.has(a)&&(Oe.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const l=s[o];(l.f&(de|oe))===0&&_t(l)}}Oe.clear()}}Oe=null}}function dr(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&U)!==0?dr(i,t,n,r):(s&(nn|Re))!==0&&(s&Z)===0&&hr(i,t,r)&&(H(i,Z),ln(i))}}function hr(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(ut.call(t,i))return!0;if((i.f&U)!==0&&hr(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ln(e){P.schedule(e)}function vr(e,t){if(!((e.f&ge)!==0&&(e.f&Y)!==0)){(e.f&Z)!==0?t.d.push(e):(e.f&xe)!==0&&t.m.push(e),H(e,Y);for(var n=e.first;n!==null;)vr(n,t),n=n.next}}function pr(e){H(e,Y);for(var t=e.first;t!==null;)pr(t),t=t.next}function Pi(e){let t=0,n=Qe(0),r;return()=>{_n()&&(h(n),qr(()=>(t===0&&(r=us(()=>e(()=>$t(n)))),t+=1,()=>{Ve(()=>{t-=1,t===0&&(r?.(),r=void 0,$t(n))})})))}}var Fi=dt|Ke;function Ji(e,t,n,r){new Bi(e,t,n,r)}class Bi{parent;is_pending=!1;transform_error;#e;#n=R?D:null;#t;#i;#s;#r=null;#o=null;#a=null;#l=null;#c=0;#u=0;#d=!1;#v=new Set;#h=new Set;#f=null;#p=Pi(()=>(this.#f=Qe(this.#c),()=>{this.#f=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var a=C;a.b=this,a.f|=en,r(s)},this.parent=C.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=bn(()=>{if(R){const s=this.#n;xt();const a=s.data===Zt;if(s.data.startsWith(zn)){const l=JSON.parse(s.data.slice(zn.length));this.#y(l)}else a?this.#j():this.#_()}else this.#g()},Fi),R&&(this.#e=D)}#_(){try{this.#r=pe(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#a=pe(()=>{n(this.#e,()=>t,()=>()=>{})}))}#j(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#o=pe(()=>t(this.#e)),Ve(()=>{var n=this.#l=document.createDocumentFragment(),r=le();n.append(r),this.#r=this.#m(()=>pe(()=>this.#i(r))),this.#u===0&&(this.#e.before(n),this.#l=null,tt(this.#o,()=>{this.#o=null}),this.#b(P))}))}#g(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#c=0,this.#r=pe(()=>{this.#i(this.#e)}),this.#u>0){var t=this.#l=document.createDocumentFragment();wn(this.#r,t);const n=this.#t.pending;this.#o=pe(()=>n(this.#e))}else this.#b(P)}catch(n){this.error(n)}}#b(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){ur(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=C,r=O,i=he;_e(this.#s),ie(this.#s),ht(this.#s.ctx);try{return qe.ensure(),t()}catch(s){return ar(s),null}finally{_e(n),ie(r),ht(i)}}#w(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t,n);return}this.#u+=t,this.#u===0&&(this.#b(n),this.#o&&tt(this.#o,()=>{this.#o=null}),this.#l&&(this.#e.before(this.#l),this.#l=null))}update_pending_count(t,n){this.#w(t,n),this.#c+=t,!(!this.#f||this.#d)&&(this.#d=!0,Ve(()=>{this.#d=!1,this.#f&&pt(this.#f,this.#c)}))}get_effect_pending(){return this.#p(),h(this.#f)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(Q(this.#r),this.#r=null),this.#o&&(Q(this.#o),this.#o=null),this.#a&&(Q(this.#a),this.#a=null),R&&(re(this.#n),Ai(),re(Ft()));var i=!1,s=!1;const a=()=>{if(i){Ci();return}i=!0,s&&Oi(),this.#a!==null&&tt(this.#a,()=>{this.#a=null}),this.#m(()=>{this.#g()})},o=l=>{try{s=!0,n?.(l,a),s=!1}catch(u){Ie(u,this.#s&&this.#s.parent)}r&&(this.#a=this.#m(()=>{try{return pe(()=>{var u=C;u.b=this,u.f|=en,r(this.#e,()=>l,()=>a)})}catch(u){return Ie(u,this.#s.parent),null}}))};Ve(()=>{var l;try{l=this.transform_error(t)}catch(u){Ie(u,this.#s&&this.#s.parent);return}l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(o,u=>Ie(u,this.#s&&this.#s.parent)):o(l)})}}function Hi(e,t,n,r){const i=Ht;var s=e.filter(v=>!v.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var a=C,o=zi(),l=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(v=>v.promise)):null;function u(v){o();try{r(v)}catch(p){(a.f&de)===0&&Ie(p,a)}Bt()}if(n.length===0){l.then(()=>u(t.map(i)));return}var f=_r();function _(){Promise.all(n.map(v=>Yi(v))).then(v=>u([...t.map(i),...v])).catch(v=>Ie(v,a)).finally(()=>f())}l?l.then(()=>{o(),_(),Bt()}):_()}function zi(){var e=C,t=O,n=he,r=P;return function(s=!0){_e(e),ie(t),ht(n),s&&(e.f&de)===0&&(r?.activate(),r?.apply())}}function Bt(e=!0){_e(null),ie(null),ht(null),e&&P?.deactivate()}function _r(){var e=C,t=e.b,n=P,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 Ht(e){var t=U|Z,n=O!==null&&(O.f&U)!==0?O:null;return C!==null&&(C.f|=Ke),{ctx:he,deps:null,effects:null,equals:tr,f:t,fn:e,reactions:null,rv:0,v:K,wv:0,parent:n??C,ac:null}}function Yi(e,t,n){let r=C;r===null&&yi();var i=void 0,s=Qe(K),a=!O,o=new Map;return is(()=>{var l=C,u=Kn();i=u.promise;try{Promise.resolve(e()).then(u.resolve,u.reject).finally(Bt)}catch(p){u.reject(p),Bt()}var f=P;if(a){if((l.f&De)!==0)var _=_r();if(r.b.is_rendered())o.get(f)?.reject(Se),o.delete(f);else{for(const p of o.values())p.reject(Se);o.clear()}o.set(f,u)}const v=(p,w=void 0)=>{if(_){var A=w===Se;_(A)}if(!(w===Se||(l.f&de)!==0)){if(f.activate(),w)s.f|=Le,pt(s,w);else{(s.f&Le)!==0&&(s.f^=Le),pt(s,p);for(const[m,M]of o){if(o.delete(m),m===f)break;M.reject(Se)}}f.deactivate()}};u.promise.then(v,p=>v(null,p||"unknown"))}),Sr(()=>{for(const l of o.values())l.reject(Se)}),new Promise(l=>{function u(f){function _(){f===i?l(s):u(i)}f.then(_,_)}u(i)})}function Nt(e){const t=Ht(e);return Dr(t),t}function Ui(e){const t=Ht(e);return t.equals=nr,t}function Wi(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)Q(t[n])}}function Gi(e){for(var t=e.parent;t!==null;){if((t.f&U)===0)return(t.f&de)===0?t:null;t=t.parent}return null}function un(e){var t,n=C;_e(Gi(e));try{e.f&=~Xe,Wi(e),t=Fr(e)}finally{_e(n)}return t}function br(e){var t=e.v,n=un(e);if(!e.equals(n)&&(e.wv=Ir(),(!P?.is_fork||e.deps===null)&&(e.v=n,P?.capture(e,t,!0),e.deps===null))){H(e,Y);return}ze||(ye!==null?(_n()||P?.is_fork)&&ye.set(e,n):sn(e))}function Ki(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(Se),t.teardown=vi,t.ac=null,Tt(t,0),mn(t))}function mr(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&_t(t)}let fn=new Set;const Je=new Map;let gr=!1;function Qe(e,t){var n={f:0,v:e,reactions:null,equals:tr,rv:0,wv:0};return n}function ve(e,t){const n=Qe(e);return Dr(n),n}function wr(e,t=!1,n=!0){const r=Qe(e);return t||(r.equals=nr),r}function ae(e,t,n=!1){O!==null&&(!je||(O.f&Qn)!==0)&&sr()&&(O.f&(U|Re|nn|Qn))!==0&&(be===null||!ut.call(be,e))&&qi();let r=n?Be(t):t;return pt(e,r,Jt)}function pt(e,t,n=null){if(!e.equals(t)){var r=e.v;ze?Je.set(e,t):Je.set(e,r),e.v=t;var i=qe.ensure();if(i.capture(e,r),(e.f&U)!==0){const s=e;(e.f&Z)!==0&&un(s),ye===null&&sn(s)}e.wv=Ir(),yr(e,Z,n),C!==null&&(C.f&Y)!==0&&(C.f&(ge|Me))===0&&(me===null?as([e]):me.push(e)),!i.is_fork&&fn.size>0&&!gr&&Xi()}return t}function Xi(){gr=!1;for(const e of fn)(e.f&Y)!==0&&H(e,xe),St(e)&&_t(e);fn.clear()}function $t(e){ae(e,e.v+1)}function yr(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var a=r[s],o=a.f,l=(o&Z)===0;if(l&&H(a,t),(o&U)!==0){var u=a;ye?.delete(u),(o&Xe)===0&&(o&ce&&(a.f|=Xe),yr(u,xe,n))}else if(l){var f=a;(o&Re)!==0&&Oe!==null&&Oe.add(f),n!==null?n.push(f):ln(f)}}}function Be(e){if(typeof e!="object"||e===null||rn in e)return e;const t=Wn(e);if(t!==di&&t!==hi)return e;var n=new Map,r=Un(e),i=ve(0),s=rt,a=o=>{if(rt===s)return o();var l=O,u=rt;ie(null),Vr(s);var f=o();return ie(l),Vr(u),f};return r&&n.set("length",ve(e.length)),new Proxy(e,{defineProperty(o,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Si();var f=n.get(l);return f===void 0?a(()=>{var _=ve(u.value);return n.set(l,_),_}):ae(f,u.value,!0),!0},deleteProperty(o,l){var u=n.get(l);if(u===void 0){if(l in o){const f=a(()=>ve(K));n.set(l,f),$t(i)}}else ae(u,K),$t(i);return!0},get(o,l,u){if(l===rn)return e;var f=n.get(l),_=l in o;if(f===void 0&&(!_||ft(o,l)?.writable)&&(f=a(()=>{var p=Be(_?o[l]:K),w=ve(p);return w}),n.set(l,f)),f!==void 0){var v=h(f);return v===K?void 0:v}return Reflect.get(o,l,u)},getOwnPropertyDescriptor(o,l){var u=Reflect.getOwnPropertyDescriptor(o,l);if(u&&"value"in u){var f=n.get(l);f&&(u.value=h(f))}else if(u===void 0){var _=n.get(l),v=_?.v;if(_!==void 0&&v!==K)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return u},has(o,l){if(l===rn)return!0;var u=n.get(l),f=u!==void 0&&u.v!==K||Reflect.has(o,l);if(u!==void 0||C!==null&&(!f||ft(o,l)?.writable)){u===void 0&&(u=a(()=>{var v=f?Be(o[l]):K,p=ve(v);return p}),n.set(l,u));var _=h(u);if(_===K)return!1}return f},set(o,l,u,f){var _=n.get(l),v=l in o;if(r&&l==="length")for(var p=u;p<_.v;p+=1){var w=n.get(p+"");w!==void 0?ae(w,K):p in o&&(w=a(()=>ve(K)),n.set(p+"",w))}if(_===void 0)(!v||ft(o,l)?.writable)&&(_=a(()=>ve(void 0)),ae(_,Be(u)),n.set(l,_));else{v=_.v!==K;var A=a(()=>Be(u));ae(_,A)}var m=Reflect.getOwnPropertyDescriptor(o,l);if(m?.set&&m.set.call(f,u),!v){if(r&&typeof l=="string"){var M=n.get("length"),B=Number(l);Number.isInteger(B)&&B>=M.v&&ae(M,B+1)}$t(i)}return!0},ownKeys(o){h(i);var l=Reflect.ownKeys(o).filter(_=>{var v=n.get(_);return v===void 0||v.v!==K});for(var[u,f]of n)f.v!==K&&!(u in o)&&l.push(u);return l},setPrototypeOf(){Ti()}})}var jr,Er,xr,kr;function cn(){if(jr===void 0){jr=window,Er=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;xr=ft(t,"firstChild").get,kr=ft(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 le(e=""){return document.createTextNode(e)}function et(e){return xr.call(e)}function Ne(e){return kr.call(e)}function He(e,t){if(!R)return et(e);var n=et(D);return n===null&&(n=D.appendChild(le())),re(n),n}function dn(e,t=!1){if(!R){var n=et(e);return n instanceof Comment&&n.data===""?Ne(n):n}if(t){if(D?.nodeType!==It){var r=le();return D?.before(r),re(r),r}vn(D)}return D}function zt(e,t=1,n=!1){let r=R?D:e;for(var i;t--;)i=r,r=Ne(r);if(!R)return r;if(n){if(r?.nodeType!==It){var s=le();return r===null?i?.after(s):r.before(s),re(s),s}vn(r)}return re(r),r}function Nr(e){e.textContent=""}function $r(){return!1}function hn(e,t,n){return document.createElementNS(Yn,e,void 0)}function vn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===It;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function pn(e){var t=O,n=C;ie(null),_e(null);try{return e()}finally{ie(t),_e(n)}}function Zi(e){C===null&&(O===null&&ki(),xi()),ze&&Ei()}function Qi(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function $e(e,t){var n=C;n!==null&&(n.f&oe)!==0&&(e|=oe);var r={ctx:he,deps:null,nodes:null,f:e|Z|ce,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&ct)!==0)vt!==null?vt.push(r):qe.ensure().schedule(r);else if(t!==null){try{_t(r)}catch(a){throw Q(r),a}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&Ke)===0&&(i=i.first,(e&Re)!==0&&(e&dt)!==0&&i!==null&&(i.f|=dt))}if(i!==null&&(i.parent=n,n!==null&&Qi(i,n),O!==null&&(O.f&U)!==0&&(e&Me)===0)){var s=O;(s.effects??=[]).push(i)}return r}function _n(){return O!==null&&!je}function Sr(e){const t=$e(Vt,null);return H(t,Y),t.teardown=e,t}function es(e){Zi();var t=C.f,n=!O&&(t&ge)!==0&&(t&De)===0;if(n){var r=he;(r.e??=[]).push(e)}else return Tr(e)}function Tr(e){return $e(ct|bi,e)}function ts(e){qe.ensure();const t=$e(Me|Ke,e);return()=>{Q(t)}}function ns(e){qe.ensure();const t=$e(Me|Ke,e);return(n={})=>new Promise(r=>{n.outro?tt(t,()=>{Q(t),r(void 0)}):(Q(t),r(void 0))})}function rs(e){return $e(ct,e)}function is(e){return $e(nn|Ke,e)}function qr(e,t=0){return $e(Vt|t,e)}function g(e,t=[],n=[],r=[]){Hi(r,t,n,i=>{$e(Vt,()=>e(...i.map(h)))})}function bn(e,t=0){var n=$e(Re|t,e);return n}function pe(e){return $e(ge|Ke,e)}function Or(e){var t=e.teardown;if(t!==null){const n=ze,r=O;Mr(!0),ie(null);try{t.call(null)}finally{Mr(n),ie(r)}}}function mn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&pn(()=>{i.abort(Se)});var r=n.next;(n.f&Me)!==0?n.parent=null:Q(n,t),n=r}}function ss(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ge)===0&&Q(t),t=n}}function Q(e,t=!0){var n=!1;(t||(e.f&_i)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(os(e.nodes.start,e.nodes.end),n=!0),H(e,Zn),mn(e,t&&!n),Tt(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();Or(e),e.f^=Zn,e.f|=de;var i=e.parent;i!==null&&i.first!==null&&Cr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function os(e,t){for(;e!==null;){var n=e===t?null:Ne(e);e.remove(),e=n}}function Cr(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 tt(e,t,n=!0){var r=[];Ar(e,r,!0);var i=()=>{n&&Q(e),t&&t()},s=r.length;if(s>0){var a=()=>--s||i();for(var o of r)o.out(a)}else i()}function Ar(e,t,n){if((e.f&oe)===0){e.f^=oe;var r=e.nodes&&e.nodes.t;if(r!==null)for(const o of r)(o.is_global||n)&&t.push(o);for(var i=e.first;i!==null;){var s=i.next,a=(i.f&dt)!==0||(i.f&ge)!==0&&(e.f&Re)!==0;Ar(i,t,a?n:!1),i=s}}}function gn(e){Rr(e,!0)}function Rr(e,t){if((e.f&oe)!==0){e.f^=oe,(e.f&Y)===0&&(H(e,Z),qe.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&dt)!==0||(n.f&ge)!==0;Rr(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 wn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:Ne(n);t.append(n),n=i}}let Yt=!1,ze=!1;function Mr(e){ze=e}let O=null,je=!1;function ie(e){O=e}let C=null;function _e(e){C=e}let be=null;function Dr(e){O!==null&&(be===null?be=[e]:be.push(e))}let se=null,ue=0,me=null;function as(e){me=e}let Lr=1,nt=0,rt=nt;function Vr(e){rt=e}function Ir(){return++Lr}function St(e){var t=e.f;if((t&Z)!==0)return!0;if(t&U&&(e.f&=~Xe),(t&xe)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(St(s)&&br(s),s.wv>e.wv)return!0}(t&ce)!==0&&ye===null&&H(e,Y)}return!1}function Pr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(be!==null&&ut.call(be,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&U)!==0?Pr(s,t,!1):t===s&&(n?H(s,Z):(s.f&Y)!==0&&H(s,xe),ln(s))}}function Fr(e){var t=se,n=ue,r=me,i=O,s=be,a=he,o=je,l=rt,u=e.f;se=null,ue=0,me=null,O=(u&(ge|Me))===0?e:null,be=null,ht(e.ctx),je=!1,rt=++nt,e.ac!==null&&(pn(()=>{e.ac.abort(Se)}),e.ac=null);try{e.f|=tn;var f=e.fn,_=f();e.f|=De;var v=e.deps,p=P?.is_fork;if(se!==null){var w;if(p||Tt(e,ue),v!==null&&ue>0)for(v.length=ue+se.length,w=0;w<se.length;w++)v[ue+w]=se[w];else e.deps=v=se;if(_n()&&(e.f&ce)!==0)for(w=ue;w<v.length;w++)(v[w].reactions??=[]).push(e)}else!p&&v!==null&&ue<v.length&&(Tt(e,ue),v.length=ue);if(sr()&&me!==null&&!je&&v!==null&&(e.f&(U|xe|Z))===0)for(w=0;w<me.length;w++)Pr(me[w],e);if(i!==null&&i!==e){if(nt++,i.deps!==null)for(let A=0;A<n;A+=1)i.deps[A].rv=nt;if(t!==null)for(const A of t)A.rv=nt;me!==null&&(r===null?r=me:r.push(...me))}return(e.f&Le)!==0&&(e.f^=Le),_}catch(A){return ar(A)}finally{e.f^=tn,se=t,ue=n,me=r,O=i,be=s,ht(a),je=o,rt=l}}function ls(e,t){let n=t.reactions;if(n!==null){var r=fi.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&U)!==0&&(se===null||!ut.call(se,t))){var s=t;(s.f&ce)!==0&&(s.f^=ce,s.f&=~Xe),sn(s),Ki(s),Tt(s,0)}}function Tt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ls(e,n[r])}function _t(e){var t=e.f;if((t&de)===0){H(e,Y);var n=C,r=Yt;C=e,Yt=!0;try{(t&(Re|Xn))!==0?ss(e):mn(e),Or(e);var i=Fr(e);e.teardown=typeof i=="function"?i:null,e.wv=Lr;var s;ui&&Mi&&(e.f&Z)!==0&&e.deps}finally{Yt=r,C=n}}}function h(e){var t=e.f,n=(t&U)!==0;if(O!==null&&!je){var r=C!==null&&(C.f&de)!==0;if(!r&&(be===null||!ut.call(be,e))){var i=O.deps;if((O.f&tn)!==0)e.rv<nt&&(e.rv=nt,se===null&&i!==null&&i[ue]===e?ue++:se===null?se=[e]:se.push(e));else{(O.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[O]:ut.call(s,O)||s.push(O)}}}if(ze&&Je.has(e))return Je.get(e);if(n){var a=e;if(ze){var o=a.v;return((a.f&Y)===0&&a.reactions!==null||Br(a))&&(o=un(a)),Je.set(a,o),o}var l=(a.f&ce)===0&&!je&&O!==null&&(Yt||(O.f&ce)!==0),u=(a.f&De)===0;St(a)&&(l&&(a.f|=ce),br(a)),l&&!u&&(mr(a),Jr(a))}if(ye?.has(e))return ye.get(e);if((e.f&Le)!==0)throw e.v;return e.v}function Jr(e){if(e.f|=ce,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&U)!==0&&(t.f&ce)===0&&(mr(t),Jr(t))}function Br(e){if(e.v===K)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Je.has(t)||(t.f&U)!==0&&Br(t))return!0;return!1}function us(e){var t=je;try{return je=!0,e()}finally{je=t}}const qt=Symbol("events"),Hr=new Set,yn=new Set;function fs(e,t,n,r={}){function i(s){if(r.capture||jn.call(t,s),!s.cancelBubble)return pn(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Ve(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function S(e,t,n,r,i){var s={capture:r,passive:i},a=fs(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Sr(()=>{t.removeEventListener(e,a,s)})}function cs(e,t,n){(t[qt]??={})[e]=n}function ds(e){for(var t=0;t<e.length;t++)Hr.add(e[t]);for(var n of yn)n(e)}let zr=null;function jn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;zr=e;var a=0,o=zr===e&&e[qt];if(o){var l=i.indexOf(o);if(l!==-1&&(t===document||t===window)){e[qt]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(a=l)}if(s=i[a]||e.target,s!==t){Lt(e,"currentTarget",{configurable:!0,get(){return s||n}});var f=O,_=C;ie(null),_e(null);try{for(var v,p=[];s!==null;){var w=s.assignedSlot||s.parentNode||s.host||null;try{var A=s[qt]?.[r];A!=null&&(!s.disabled||e.target===s)&&A.call(s,e)}catch(m){v?p.push(m):v=m}if(e.cancelBubble||w===t||w===null)break;s=w}if(v){for(let m of p)queueMicrotask(()=>{throw m});throw v}}finally{e[qt]=t,delete e.currentTarget,ie(f),_e(_)}}}const hs=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function vs(e){return hs?.createHTML(e)??e}function ps(e){var t=hn("template");return t.innerHTML=vs(e.replaceAll("<!>","<!---->")),t.content}function Ye(e,t){var n=C;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function q(e,t){var n=(t&ai)!==0,r=(t&li)!==0,i,s=!e.startsWith("<!>");return()=>{if(R)return Ye(D,null),D;i===void 0&&(i=ps(s?e:"<!>"+e),n||(i=et(i)));var a=r||Er?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=et(a),l=a.lastChild;Ye(o,l)}else Ye(a,a);return a}}function _s(e=""){if(!R){var t=le(e+"");return Ye(t,t),t}var n=D;return n.nodeType!==It?(n.before(n=le()),re(n)):vn(n),Ye(n,n),n}function Yr(){if(R)return Ye(D,null),D;var e=document.createDocumentFragment(),t=document.createComment(""),n=le();return e.append(t,n),Ye(t,n),e}function $(e,t){if(R){var n=C;((n.f&De)===0||n.nodes.end===null)&&(n.nodes.end=D),xt();return}e!==null&&e.before(t)}const bs=["touchstart","touchmove"];function ms(e){return bs.includes(e)}function Ur(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Wr(e,t){return Gr(e,t)}function gs(e,t){cn(),t.intro=t.intro??!1;const n=t.target,r=R,i=D;try{for(var s=et(n);s&&(s.nodeType!==Et||s.data!==Hn);)s=Ne(s);if(!s)throw lt;we(!0),re(s);const a=Gr(e,{...t,anchor:s});return we(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
+ `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==lt&&console.warn("Failed to hydrate: ",a),t.recover===!1&&$i(),cn(),Nr(n),we(!1),Wr(e,t)}finally{we(r),re(i)}}const Ut=new Map;function Gr(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0,transformError:o}){cn();var l=void 0,u=ns(()=>{var f=n??t.appendChild(le());Ji(f,{pending:()=>{}},p=>{rr({});var w=he;if(s&&(w.c=s),i&&(r.$$events=i),R&&Ye(p,null),l=e(p,r)||{},R&&(C.nodes.end=D,D===null||D.nodeType!==Et||D.data!==Qt))throw Pt(),lt;ir()},o);var _=new Set,v=p=>{for(var w=0;w<p.length;w++){var A=p[w];if(!_.has(A)){_.add(A);var m=ms(A);for(const F of[t,document]){var M=Ut.get(F);M===void 0&&(M=new Map,Ut.set(F,M));var B=M.get(A);B===void 0?(F.addEventListener(A,jn,{passive:m}),M.set(A,1)):M.set(A,B+1)}}}};return v(Mt(Hr)),yn.add(v),()=>{for(var p of _)for(const m of[t,document]){var w=Ut.get(m),A=w.get(p);--A==0?(m.removeEventListener(p,jn),w.delete(p),w.size===0&&Ut.delete(m)):w.set(p,A)}yn.delete(v),f!==n&&f.parentNode?.removeChild(f)}});return En.set(l,u),l}let En=new WeakMap;function ws(e,t){const n=En.get(e);return n?(En.delete(e),n(t)):Promise.resolve()}class ys{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)gn(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 o=this.#t.get(a);o&&(Q(o.effect),this.#t.delete(a))}for(const[s,a]of this.#n){if(s===n||this.#i.has(s))continue;const o=()=>{if(Array.from(this.#e.values()).includes(s)){var u=document.createDocumentFragment();wn(a,u),u.append(le()),this.#t.set(s,{effect:a,fragment:u})}else Q(a);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),tt(a,o,!1)):o()}}};#o=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(Q(i.effect),this.#t.delete(r))};ensure(t,n){var r=P,i=$r();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),a=le();s.append(a),this.#t.set(t,{effect:pe(()=>n(a)),fragment:s})}else this.#n.set(t,pe(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[o,l]of this.#n)o===t?r.unskip_effect(l):r.skip_effect(l);for(const[o,l]of this.#t)o===t?r.unskip_effect(l.effect):r.skip_effect(l.effect);r.oncommit(this.#r),r.ondiscard(this.#o)}else R&&(this.anchor=D),this.#r(r)}}function Ue(e,t,n=!1){var r;R&&(r=D,xt());var i=new ys(e),s=n?dt:0;function a(o,l){if(R){var u=er(r);if(o!==parseInt(u.substring(1))){var f=Ft();re(f),i.anchor=f,we(!1),i.ensure(o,l),we(!0);return}}i.ensure(o,l)}bn(()=>{var o=!1;t((l,u=0)=>{o=!0,a(u,l)}),o||a(-1,null)},s)}function js(e,t,n){for(var r=[],i=t.length,s,a=t.length,o=0;o<i;o++){let _=t[o];tt(_,()=>{if(s){if(s.pending.delete(_),s.done.add(_),s.pending.size===0){var v=e.outrogroups;xn(e,Mt(s.done)),v.delete(s),v.size===0&&(e.outrogroups=null)}}else a-=1},!1)}if(a===0){var l=r.length===0&&n!==null;if(l){var u=n,f=u.parentNode;Nr(f),f.append(u),e.items.clear()}xn(e,t,!l)}else s={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(s)}function xn(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(const a of e.pending.values())for(const o of a)r.add(e.items.get(o).e)}for(var i=0;i<t.length;i++){var s=t[i];if(r?.has(s)){s.f|=ke;const a=document.createDocumentFragment();wn(s,a)}else Q(t[i],n)}}var Kr;function Xr(e,t,n,r,i,s=null){var a=e,o=new Map,l=(t&Bn)!==0;if(l){var u=e;a=R?re(et(u)):u.appendChild(le())}R&&xt();var f=null,_=Ui(()=>{var F=n();return Un(F)?F:F==null?[]:Mt(F)}),v,p=new Map,w=!0;function A(F){(B.effect.f&de)===0&&(B.pending.delete(F),B.fallback=f,Es(B,v,a,t,r),f!==null&&(v.length===0?(f.f&ke)===0?gn(f):(f.f^=ke,Ct(f,null,a)):tt(f,()=>{f=null})))}function m(F){B.pending.delete(F)}var M=bn(()=>{v=h(_);var F=v.length;let ne=!1;if(R){var bt=er(a)===Zt;bt!==(F===0)&&(a=Ft(),re(a),we(!1),ne=!0)}for(var Ee=new Set,X=P,Ce=$r(),J=0;J<F;J+=1){R&&D.nodeType===Et&&D.data===Qt&&(a=D,ne=!0,we(!1));var T=v[J],mt=r(T,J),fe=w?null:o.get(mt);fe?(fe.v&&pt(fe.v,T),fe.i&&pt(fe.i,J),Ce&&X.unskip_effect(fe.e)):(fe=xs(o,w?a:Kr??=le(),T,mt,J,i,t,n),w||(fe.e.f|=ke),o.set(mt,fe)),Ee.add(mt)}if(F===0&&s&&!f&&(w?f=pe(()=>s(a)):(f=pe(()=>s(Kr??=le())),f.f|=ke)),F>Ee.size&&ji(),R&&F>0&&re(Ft()),!w)if(p.set(X,Ee),Ce){for(const[Sn,Tn]of o)Ee.has(Sn)||X.skip_effect(Tn.e);X.oncommit(A),X.ondiscard(m)}else A(X);ne&&we(!0),h(_)}),B={effect:M,items:o,pending:p,outrogroups:null,fallback:f};w=!1,R&&(a=D)}function Ot(e){for(;e!==null&&(e.f&ge)===0;)e=e.next;return e}function Es(e,t,n,r,i){var s=(r&si)!==0,a=t.length,o=e.items,l=Ot(e.effect.first),u,f=null,_,v=[],p=[],w,A,m,M;if(s)for(M=0;M<a;M+=1)w=t[M],A=i(w,M),m=o.get(A).e,(m.f&ke)===0&&(m.nodes?.a?.measure(),(_??=new Set).add(m));for(M=0;M<a;M+=1){if(w=t[M],A=i(w,M),m=o.get(A).e,e.outrogroups!==null)for(const T of e.outrogroups)T.pending.delete(m),T.done.delete(m);if((m.f&oe)!==0&&(gn(m),s&&(m.nodes?.a?.unfix(),(_??=new Set).delete(m))),(m.f&ke)!==0)if(m.f^=ke,m===l)Ct(m,null,n);else{var B=f?f.next:l;m===e.effect.last&&(e.effect.last=m.prev),m.prev&&(m.prev.next=m.next),m.next&&(m.next.prev=m.prev),We(e,f,m),We(e,m,B),Ct(m,B,n),f=m,v=[],p=[],l=Ot(f.next);continue}if(m!==l){if(u!==void 0&&u.has(m)){if(v.length<p.length){var F=p[0],ne;f=F.prev;var bt=v[0],Ee=v[v.length-1];for(ne=0;ne<v.length;ne+=1)Ct(v[ne],F,n);for(ne=0;ne<p.length;ne+=1)u.delete(p[ne]);We(e,bt.prev,Ee.next),We(e,f,bt),We(e,Ee,F),l=F,f=Ee,M-=1,v=[],p=[]}else u.delete(m),Ct(m,l,n),We(e,m.prev,m.next),We(e,m,f===null?e.effect.first:f.next),We(e,f,m),f=m;continue}for(v=[],p=[];l!==null&&l!==m;)(u??=new Set).add(l),p.push(l),l=Ot(l.next);if(l===null)continue}(m.f&ke)===0&&v.push(m),f=m,l=Ot(m.next)}if(e.outrogroups!==null){for(const T of e.outrogroups)T.pending.size===0&&(xn(e,Mt(T.done)),e.outrogroups?.delete(T));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var X=[];if(u!==void 0)for(m of u)(m.f&oe)===0&&X.push(m);for(;l!==null;)(l.f&oe)===0&&l!==e.fallback&&X.push(l),l=Ot(l.next);var Ce=X.length;if(Ce>0){var J=(r&Bn)!==0&&a===0?n:null;if(s){for(M=0;M<Ce;M+=1)X[M].nodes?.a?.measure();for(M=0;M<Ce;M+=1)X[M].nodes?.a?.fix()}js(e,X,J)}}s&&Ve(()=>{if(_!==void 0)for(m of _)m.nodes?.a?.apply()})}function xs(e,t,n,r,i,s,a,o){var l=(a&ri)!==0?(a&oi)===0?wr(n,!1,!1):Qe(n):null,u=(a&ii)!==0?Qe(i):null;return{v:l,i:u,e:pe(()=>(s(t,l??n,u??i,o),()=>{e.delete(r)}))}}function Ct(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,s=t&&(t.f&ke)===0?t.nodes.start:n;r!==null;){var a=Ne(r);if(s.before(r),r===i)return;r=a}}function We(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function kn(e,t,n,r,i){R&&xt();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 ks(e,t){rs(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=hn("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Ns(e,t,n){var r=e==null?"":""+e;return r===""?null:r}function $s(e,t){return e==null?null:String(e)}function I(e,t,n,r,i,s){var a=e.__className;if(R||a!==n||a===void 0){var o=Ns(n);(!R||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=n}return s}function Ss(e,t,n,r){var i=e.__style;if(R||i!==t){var s=$s(t);(!R||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Ts=Symbol("is custom element"),qs=Symbol("is html"),Os=wi?"link":"LINK";function Nn(e,t,n,r){var i=Cs(e);R&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Os)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[gi]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Zr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function y(e,t,n){var r=O,i=C;let s=R;R&&we(!1),ie(null),_e(null);try{t!=="style"&&($n.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?Zr(e).includes(t):n&&typeof n=="object")?e[t]=n:Nn(e,t,n==null?n:String(n))}finally{ie(r),_e(i),s&&we(!0)}}function Cs(e){return e.__attributes??={[Ts]:e.nodeName.includes("-"),[qs]:e.namespaceURI===Yn}}var $n=new Map;function Zr(e){var t=e.getAttribute("is")||e.nodeName,n=$n.get(t);if(n)return n;$n.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=ci(i);for(var a in r)r[a].set&&n.push(a);i=Wn(i)}return n}function it(e,t,n,r){var i=r,s=!0,a=()=>(s&&(s=!1,i=r),i),o;o=e[t],o===void 0&&r!==void 0&&(o=a());var l;l=()=>{var v=e[t];return v===void 0?a():(s=!0,v)};var u=!1,f=Ht(()=>(u=!1,l())),_=C;return(function(v,p){if(arguments.length>0){const w=p?h(f):v;return ae(f,w),u=!0,i!==void 0&&(i=w),v}return ze&&u||(_.f&de)!==0?f.v:h(f)})}function As(e){return new Rs(e)}class Rs{#e;#n;constructor(t){var n=new Map,r=(s,a)=>{var o=wr(a,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return h(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===mi?!0:(h(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return ae(n.get(a)??r(a,o),o),Reflect.set(s,a,o)}});this.#n=(t.hydrate?gs:Wr)(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)&&Fe(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||Lt(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=()=>{ws(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 Qr;typeof HTMLElement=="function"&&(Qr=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=hn("slot");r!=="default"&&(s.name=r),$(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Ms(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]=Wt(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=As({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ts(()=>{qr(()=>{this.$$r=!0;for(const r of Dt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Wt(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]=Wt(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 Dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Wt(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 Ms(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Ds(e,t,n,r,i,s){let a=class extends Qr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Dt(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Dt(t).forEach(o=>{Lt(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=Wt(o,l,t),this.$$d[o]=l;var u=this.$$c;if(u){var f=ft(u,o)?.get;f?u[o]=l:u.$set({[o]:l})}}})}),r.forEach(o=>{Lt(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const ee={version:"0.66.2"},Ls=(e,t)=>e.reduce((n,r)=>{for(const i of t(r))(n[i]=n[i]||[]).push(r);return n},{});var st={},ei;function Vs(){if(ei)return st;ei=1,Object.defineProperty(st,"__esModule",{value:!0}),st.LanguageTranslator=void 0,st.getChildStyleToPass=e,st.addComponent=t;function e(r,i){var s,a,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(v){return Object.keys(r).includes(v.name)}))===null||a===void 0)&&a.length))for(var l=function(v){var p=i?.filter(function(w){return w.name===v&&w.defaultValue!==r[v]});p&&(o+="".concat(v,":").concat(r[v],";"))},u=0,f=Object.keys(r);u<f.length;u++){var _=f[u];l(_)}}catch(v){console.error("error getting child style to pass",v)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var a=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(a),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var l=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(l+"-",""),"/").concat(a)}document.head.appendChild(o)}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,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,a){return r.formatDate(i,s,a||this.lang)},r.getDefaultLang=function(){var i,s,a,o="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(i,s,a){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((o=s[a])===null||o===void 0)&&o[i]))return s[a][i];var l="",u=r.getDefaultLang();if(!a||u!==a){var f=s?.[u];f?.[i]&&(l=f[i])}return l},r.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(a||r.getDefaultLang(),s);return o.format(i)},r})();return st.LanguageTranslator=n,st}var te=Vs(),Is=q('<label class="svelte-yjqjiw"> </label>'),Ps=q("<hb-input-array-objects></hb-input-array-objects>",2),Fs=q("<hb-input-array-tags></hb-input-array-tags>",2),Js=q("<hb-input-text></hb-input-text>",2),Bs=q("<hb-input-color></hb-input-color>",2),Hs=q("<hb-input-range></hb-input-range>",2),zs=q("<hb-input-file></hb-input-file>",2),Ys=q("<hb-input-email></hb-input-email>",2),Us=q("<hb-input-date></hb-input-date>",2),Ws=q("<hb-input-datetime></hb-input-datetime>",2),Gs=q("<hb-input-checkbox></hb-input-checkbox>",2),Ks=q("<hb-input-number></hb-input-number>",2),Xs=q("<hb-input-area></hb-input-area>",2),Zs=q("<hb-input-radio></hb-input-radio>",2),Qs=q("<hb-input-select></hb-input-select>",2),eo=q("<hb-input-coords></hb-input-coords>",2),to=q('<div class="col mb-3 svelte-yjqjiw"><!> <!></div>'),no=q('<div class="row svelte-yjqjiw"></div>'),ro=q('<label class="svelte-yjqjiw"> </label>'),io=q("<hb-input-text></hb-input-text>",2),so=q("<hb-input-array-objects></hb-input-array-objects>",2),oo=q("<hb-input-array-tags></hb-input-array-tags>",2),ao=q("<hb-input-color></hb-input-color>",2),lo=q("<hb-input-range></hb-input-range>",2),uo=q("<hb-input-file></hb-input-file>",2),fo=q("<hb-input-email></hb-input-email>",2),co=q("<hb-input-date></hb-input-date>",2),ho=q("<hb-input-datetime></hb-input-datetime>",2),vo=q("<hb-input-checkbox></hb-input-checkbox>",2),po=q("<hb-input-number></hb-input-number>",2),_o=q("<hb-input-area></hb-input-area>",2),bo=q("<hb-input-radio></hb-input-radio>",2),mo=q("<hb-input-select></hb-input-select>",2),go=q("<hb-input-coords></hb-input-coords>",2),wo=q('<div class="col mb-3 svelte-yjqjiw"><!> <!></div>'),yo=q('<button part="main_button" type="button" class="btn btn-primary svelte-yjqjiw"><!></button>'),jo=q('<div id="button_container" part="button_container" class="svelte-yjqjiw"><span class="svelte-yjqjiw"><!></span> <!></div>'),Eo=q("<!> <!>",1),xo=q('<div class="container-fluid svelte-yjqjiw"><!></div>');const ko={hash:"svelte-yjqjiw",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
3
3
  /*!
4
4
  * Bootstrap v5.1.2 (https://getbootstrap.com/)
5
5
  * Copyright 2011-2021 The Bootstrap Authors
@@ -95,5 +95,5 @@ button.svelte-yjqjiw {margin:0;font-family:inherit;font-size:inherit;line-height
95
95
  @media (min-width: 1200px) {
96
96
  }
97
97
  @media (min-width: 1400px) {
98
- }:host {font-family:"Roboto", sans-serif;}`};function Zi(e,t){si(t,!0),ua(e,oo);const n={row:{component:void 0,options:{row:!0}},select:{component:"hb-input-select"},arrayobjects:{component:"hb-input-array-objects"},arraytags:{component:"hb-input-array-tags"},date:{component:"hb-input-date"},datetime:{component:"hb-input-datetime"},text:{component:"hb-input-text"},number:{component:"hb-input-number"},email:{component:"hb-input-email"},color:{component:"hb-input-color"},file:{component:"hb-input-file"},textarea:{component:"hb-input-area"},range:{component:"hb-input-range"},checkbox:{component:"hb-input-checkbox",options:{labelIsHandledByComponent:!0}},radio:{component:"hb-input-radio"},coords:{component:"hb-input-coords"}};let r=nr(()=>{const h={};for(const w of i())if(w.type!=="row")h[w.id]=w.value;else if(w.type==="row"&&w.params?.columns?.length)for(const V of w.params.columns)h[V.id]=V.value;return h}),s=en(t,"id",7,""),i=en(t,"schema"),a=en(t,"i18nlang"),o=en(t,"show_validation",7,"no"),l=en(t,"hide_submit",7,!1),u=en(t,"submitted",7,"no"),v=en(t,"getvals",7,"no"),p=ce(xt({})),d=ce(xt({})),f=ce(xt({})),N=nr(()=>{const h=[];for(const w of i())w.type==="row"&&w.params?.columns?.length?h.push(...w.params.columns):h.push(w);return wa(h.filter(w=>w.dependencies?.length),w=>w.dependencies.map(V=>V.id))});function L(h){h?.forEach?.(w=>{const V=n[w.type];if(!V)throw new Error(`FormRenderer: Tried to render an unknown component type ${w.type}!`);V.options?.row&&L(w.params?.columns??[]),c(p)[w.id]=c(p)[w.id]||!w.dependencies?.length})}function j(h){return h?.map?.(w=>{const V=n[w.type];if(!V)throw new Error(`FormRenderer: Tried to render an unknown component type ${w.type}!`);return V.options?.row?{entry:w,columns:j(w.params?.columns??[]),options:V.options}:{entry:w,component:V.component,options:V.options||{}}})||[]}let M=nr(()=>j(i()));l()===!0||l()==="yes"||l()==="true"?l(!0):l(!1),i()||console.warn("no schema provided"),Bs(()=>{if(typeof i()=="string")try{i(JSON.parse(i())),ie(d,{},!0),ie(f,{},!0),ie(p,{},!0),u()&&u()==="yes"&&i()&&typeof i()!="string"?P():u()==="yes"&&u("no"),console.log("effectform"),L(i())}catch(h){console.error("error with schema",i(),h)}});let Q=nr(()=>!c(d)||!Object.entries(c(d))?.length?!0:!!Object.entries(c(d)).find(([h,w])=>!w&&c(p)&&c(p)[h]));const qt=h=>{console.log("canShow",h);for(const w of h.dependencies||[])if(c(p)&&!c(p)[w.id]||c(r)&&!c(r)[w.id]||c(r)&&w?.values&&!w?.values?.includes(c(r)[w.id]))return!1;return!0},I=h=>{qt(h)?St(h,h.value):Tt(h)},St=(h,w)=>{c(p)[h.id]=!0,h.type!=="row"&&(c(r)[h.id]=c(f)[h.id]??w);for(const V of c(N)[h.id]||[])I(V)},Tt=h=>{c(p)[h.id]=!1,delete c(r)[h.id];for(const w of c(N)[h.id]||[])Tt(w)};Z.addComponent({repoName:"@htmlbricks/hb-input-text",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-date",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-email",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-checkbox",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-number",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-area",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-radio",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-select",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-file",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-color",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-range",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-datetime",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-array-objects",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-array-tags",version:X.version}),Z.addComponent({repoName:"@htmlbricks/hb-input-coords",version:X.version});let _e=ce(void 0);function Ee(h,w){h==="update"?(console.log("update",w),c(_e)&&clearTimeout(c(_e)),ie(_e,setTimeout(()=>{t.$$host.dispatchEvent(new CustomEvent(h,{detail:w}))},300),!0)):t.$$host.dispatchEvent(new CustomEvent(h,{detail:w}))}const P=()=>{if(console.log("submitting form"),o("yes"),u("no"),console.log(c(Q),JSON.stringify(c(d)),c(p),c(r)),c(Q))return console.warn("Form is invalid");const h=Object.assign({_valid:!c(Q)},c(r));Ee("submit",h)};function S(h){console.info("setValByMessage",h);let w;if(c(f)[h.id]!==h.value){if(c(f)[h.id]=h.value,c(p)[h.id]&&(c(r)[h.id]=h.value),c(N)[h.id])for(const V of c(N)[h.id])I(V);w=Object.assign({_valid:!c(Q),_id:s()},c(r))}c(d)[h.id]!==h.valid&&(c(d)[h.id]=h.valid,w=Object.assign({_valid:!c(Q),_id:s()},c(r))),w&&Ee("update",w)}var mt={get id(){return s()},set id(h=""){s(h),jt()},get schema(){return i()},set schema(h){i(h),jt()},get i18nlang(){return a()},set i18nlang(h){a(h),jt()},get show_validation(){return o()},set show_validation(h="no"){o(h),jt()},get hide_submit(){return l()},set hide_submit(h=!1){l(h),jt()},get submitted(){return u()},set submitted(h="no"){u(h),jt()},get getvals(){return v()},set getvals(h="no"){v(h),jt()}},nn=ao(),_n=kt(nn);{var oe=h=>{var w=so(),V=T(w);hi(V,17,()=>c(M),({entry:rn,component:gt,options:g,columns:F})=>rn.id,(rn,gt)=>{let g=()=>c(gt).entry,F=()=>c(gt).component,lr=()=>c(gt).options,Sn=()=>c(gt).columns;var pn=A(),Lr=T(pn);{var Dr=bn=>{var Ct=Ia();hi(Ct,21,Sn,({entry:Tn,component:mn,options:Cn})=>Tn.id,(Tn,mn,Cn,ur)=>{let y=()=>c(mn).entry,J=()=>c(mn).component,Ir=()=>c(mn).options;var fr=A(),Pr=T(fr);{var pe=B=>{var Ie=Va(),cr=kt(Ie);{var Fr=be=>{var ee=ja(),me=kt(ee);_t(ee),b(()=>{Ar(ee,"for",y().id),Ui(me,`${y().label??""}${y().required?"*":""}`)}),_(be,ee)};k(cr,be=>{Ir().labelIsHandledByComponent||be(Fr)})}var Ot=rr(cr,2);{var Pe=be=>{var ee=Ea();b(()=>m(ee,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(ee,"show_validation",o())),R(ee,1,"svelte-yjqjiw"),E("setVal",ee,me=>S(me.detail)),_(be,ee)},On=be=>{var ee=A(),me=T(ee);{var Fe=At=>{var Je=xa();b(()=>m(Je,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(Je,"show_validation",o())),R(Je,1,"svelte-yjqjiw"),E("setVal",Je,Be=>S(Be.detail)),_(At,Je)},An=At=>{var Je=A(),Be=T(Je);{var He=Rt=>{var xe=ka();b(()=>m(xe,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(xe,"show_validation",o())),R(xe,1,"svelte-yjqjiw"),E("setVal",xe,Ye=>S(Ye.detail)),E("clickEnter",xe,()=>P()),_(Rt,xe)},Rn=Rt=>{var xe=A(),Ye=T(xe);{var Ue=Mt=>{var ze=Na();b(()=>m(ze,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(ze,"show_validation",o())),R(ze,1,"svelte-yjqjiw"),E("setVal",ze,We=>S(We.detail)),_(Mt,ze)},Mn=Mt=>{var ze=A(),We=T(ze);{var Ge=Lt=>{var Ke=$a();b(()=>m(Ke,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(Ke,"show_validation",o())),R(Ke,1,"svelte-yjqjiw"),E("setVal",Ke,Xe=>S(Xe.detail)),_(Lt,Ke)},Ln=Lt=>{var Ke=A(),Xe=T(Ke);{var ke=Dt=>{var Ze=qa();b(()=>m(Ze,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(Ze,"show_validation",o())),R(Ze,1,"svelte-yjqjiw"),E("setVal",Ze,Qe=>S(Qe.detail)),_(Dt,Ze)},Dn=Dt=>{var Ze=A(),Qe=T(Ze);{var Ne=Vt=>{var $e=Sa();b(()=>m($e,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m($e,"show_validation",o())),R($e,1,"svelte-yjqjiw"),E("setVal",$e,et=>S(et.detail)),E("clickEnter",$e,()=>P()),_(Vt,$e)},Vn=Vt=>{var $e=A(),et=T($e);{var qe=It=>{var Se=Ta();b(()=>m(Se,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(Se,"show_validation",o())),R(Se,1,"svelte-yjqjiw"),E("setVal",Se,tt=>S(tt.detail)),E("clickEnter",Se,()=>P()),_(It,Se)},In=It=>{var Se=A(),tt=T(Se);{var nt=Pt=>{var Te=Ca();b(()=>m(Te,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(Te,"show_validation",o())),R(Te,1,"svelte-yjqjiw"),E("setVal",Te,rt=>S(rt.detail)),E("clickEnter",Te,()=>P()),_(Pt,Te)},Pn=Pt=>{var Te=A(),rt=T(Te);{var Ce=Ft=>{var it=Oa();R(it,1,"checkbox-inline svelte-yjqjiw"),b(()=>m(it,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(it,"show_validation",o())),E("setVal",it,st=>S(st.detail)),_(Ft,it)},Fn=Ft=>{var it=A(),st=T(it);{var Oe=Jt=>{var Ae=Aa();b(()=>m(Ae,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(Ae,"show_validation",o())),R(Ae,1,"svelte-yjqjiw"),E("setVal",Ae,at=>S(at.detail)),E("clickEnter",Ae,()=>P()),_(Jt,Ae)},Jn=Jt=>{var Ae=A(),at=T(Ae);{var ot=Bt=>{var Re=Ra();b(()=>m(Re,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(Re,"show_validation",o())),R(Re,1,"svelte-yjqjiw"),E("setVal",Re,lt=>S(lt.detail)),E("clickEnter",Re,()=>P()),_(Bt,Re)},Bn=Bt=>{var Re=A(),lt=T(Re);{var ut=Ht=>{var ge=Ma();b(()=>m(ge,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(ge,"show_validation",o())),R(ge,1,"svelte-yjqjiw"),E("setVal",ge,ft=>S(ft.detail)),_(Ht,ge)},Hn=Ht=>{var ge=A(),ft=T(ge);{var Jr=gn=>{var Yt=La();b(()=>m(Yt,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(Yt,"show_validation",o())),R(Yt,1,"svelte-yjqjiw"),E("setVal",Yt,Br=>S(Br.detail)),_(gn,Yt)},uo=gn=>{var Yt=A(),Br=T(Yt);{var fo=Hr=>{var wn=Da();b(()=>m(wn,"schemaentry",JSON.stringify({...y(),value:c(f)[y().id]??y().value}))),b(()=>m(wn,"i18nlang",a())),b(()=>m(wn,"show_validation",o())),R(wn,1,"svelte-yjqjiw"),E("setVal",wn,co=>S(co.detail)),_(Hr,wn)};k(Br,Hr=>{J()==="hb-input-coords"&&Hr(fo)},!0)}_(gn,Yt)};k(ft,gn=>{J()==="hb-input-select"?gn(Jr):gn(uo,!1)},!0)}_(Ht,ge)};k(lt,Ht=>{J()==="hb-input-radio"?Ht(ut):Ht(Hn,!1)},!0)}_(Bt,Re)};k(at,Bt=>{J()==="hb-input-area"?Bt(ot):Bt(Bn,!1)},!0)}_(Jt,Ae)};k(st,Jt=>{J()==="hb-input-number"?Jt(Oe):Jt(Jn,!1)},!0)}_(Ft,it)};k(rt,Ft=>{J()==="hb-input-checkbox"?Ft(Ce):Ft(Fn,!1)},!0)}_(Pt,Te)};k(tt,Pt=>{J()==="hb-input-datetime"?Pt(nt):Pt(Pn,!1)},!0)}_(It,Se)};k(et,It=>{J()==="hb-input-date"?It(qe):It(In,!1)},!0)}_(Vt,$e)};k(Qe,Vt=>{J()==="hb-input-email"?Vt(Ne):Vt(Vn,!1)},!0)}_(Dt,Ze)};k(Xe,Dt=>{J()==="hb-input-file"?Dt(ke):Dt(Dn,!1)},!0)}_(Lt,Ke)};k(We,Lt=>{J()==="hb-input-range"?Lt(Ge):Lt(Ln,!1)},!0)}_(Mt,ze)};k(Ye,Mt=>{J()==="hb-input-color"?Mt(Ue):Mt(Mn,!1)},!0)}_(Rt,xe)};k(Be,Rt=>{J()==="hb-input-text"?Rt(He):Rt(Rn,!1)},!0)}_(At,Je)};k(me,At=>{J()==="hb-input-array-tags"?At(Fe):At(An,!1)},!0)}_(be,ee)};k(Ot,be=>{J()==="hb-array-objects"?be(Pe):be(On,!1)})}_t(Ie),b(()=>da(Ie,J()==="hb-input-checkbox"?"line-height:52px;":"")),_(B,Ie)};k(Pr,B=>{c(p)[y().id]&&B(pe)})}_(Tn,fr)}),_t(Ct),_(bn,Ct)},Vr=bn=>{var Ct=A(),Tn=T(Ct);{var mn=Cn=>{var ur=no(),y=kt(ur);{var J=pe=>{var B=Pa(),Ie=kt(B);_t(B),b(()=>{Ar(B,"for",g().id),Ui(Ie,`${g().label??""}${g().required?"*":""}`)}),_(pe,B)};k(y,pe=>{lr()?.labelIsHandledByComponent||pe(J)})}var Ir=rr(y,2);{var fr=pe=>{var B=Fa();b(()=>m(B,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(B,"show_validation",o())),R(B,1,"svelte-yjqjiw"),E("setVal",B,Ie=>S(Ie.detail)),E("clickEnter",B,()=>P()),_(pe,B)},Pr=pe=>{var B=A(),Ie=T(B);{var cr=Ot=>{var Pe=Ja();b(()=>m(Pe,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(Pe,"show_validation",o())),R(Pe,1,"svelte-yjqjiw"),E("setVal",Pe,On=>S(On.detail)),_(Ot,Pe)},Fr=Ot=>{var Pe=A(),On=T(Pe);{var be=me=>{var Fe=Ba();b(()=>m(Fe,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(Fe,"show_validation",o())),R(Fe,1,"svelte-yjqjiw"),E("setVal",Fe,An=>S(An.detail)),_(me,Fe)},ee=me=>{var Fe=A(),An=T(Fe);{var At=Be=>{var He=Ha();b(()=>m(He,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(He,"show_validation",o())),R(He,1,"svelte-yjqjiw"),E("setVal",He,Rn=>S(Rn.detail)),_(Be,He)},Je=Be=>{var He=A(),Rn=T(He);{var Rt=Ye=>{var Ue=Ya();b(()=>m(Ue,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(Ue,"show_validation",o())),R(Ue,1,"svelte-yjqjiw"),E("setVal",Ue,Mn=>S(Mn.detail)),_(Ye,Ue)},xe=Ye=>{var Ue=A(),Mn=T(Ue);{var Mt=We=>{var Ge=Ua();b(()=>m(Ge,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(Ge,"show_validation",o())),R(Ge,1,"svelte-yjqjiw"),E("setVal",Ge,Ln=>S(Ln.detail)),_(We,Ge)},ze=We=>{var Ge=A(),Ln=T(Ge);{var Lt=Xe=>{var ke=za();b(()=>m(ke,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(ke,"show_validation",o())),R(ke,1,"svelte-yjqjiw"),E("setVal",ke,Dn=>S(Dn.detail)),E("clickEnter",ke,()=>P()),_(Xe,ke)},Ke=Xe=>{var ke=A(),Dn=T(ke);{var Dt=Qe=>{var Ne=Wa();b(()=>m(Ne,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(Ne,"show_validation",o())),R(Ne,1,"svelte-yjqjiw"),E("setVal",Ne,Vn=>S(Vn.detail)),E("clickEnter",Ne,()=>P()),_(Qe,Ne)},Ze=Qe=>{var Ne=A(),Vn=T(Ne);{var Vt=et=>{var qe=Ga();b(()=>m(qe,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(qe,"show_validation",o())),R(qe,1,"svelte-yjqjiw"),E("setVal",qe,In=>S(In.detail)),E("clickEnter",qe,()=>P()),_(et,qe)},$e=et=>{var qe=A(),In=T(qe);{var It=tt=>{var nt=Ka();b(()=>m(nt,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(nt,"show_validation",o())),R(nt,1,"svelte-yjqjiw"),E("setVal",nt,Pn=>S(Pn.detail)),_(tt,nt)},Se=tt=>{var nt=A(),Pn=T(nt);{var Pt=rt=>{var Ce=Xa();b(()=>m(Ce,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(Ce,"show_validation",o())),R(Ce,1,"svelte-yjqjiw"),E("setVal",Ce,Fn=>S(Fn.detail)),E("clickEnter",Ce,()=>P()),_(rt,Ce)},Te=rt=>{var Ce=A(),Fn=T(Ce);{var Ft=st=>{var Oe=Za();b(()=>m(Oe,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(Oe,"show_validation",o())),R(Oe,1,"svelte-yjqjiw"),E("setVal",Oe,Jn=>S(Jn.detail)),E("clickEnter",Oe,()=>P()),_(st,Oe)},it=st=>{var Oe=A(),Jn=T(Oe);{var Jt=at=>{var ot=Qa();b(()=>m(ot,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(ot,"show_validation",o())),R(ot,1,"svelte-yjqjiw"),E("setVal",ot,Bn=>S(Bn.detail)),_(at,ot)},Ae=at=>{var ot=A(),Bn=T(ot);{var Bt=lt=>{var ut=eo();b(()=>m(ut,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(ut,"show_validation",o())),R(ut,1,"svelte-yjqjiw"),E("setVal",ut,Hn=>S(Hn.detail)),_(lt,ut)},Re=lt=>{var ut=A(),Hn=T(ut);{var Ht=ge=>{var ft=to();b(()=>m(ft,"schemaentry",JSON.stringify({...g(),value:c(f)[g().id]??g().value},null,0))),b(()=>m(ft,"i18nlang",a())),b(()=>m(ft,"show_validation",o())),R(ft,1,"svelte-yjqjiw"),E("setVal",ft,Jr=>S(Jr.detail)),_(ge,ft)};k(Hn,ge=>{F()==="hb-input-coords"&&ge(Ht)},!0)}_(lt,ut)};k(Bn,lt=>{F()==="hb-input-select"?lt(Bt):lt(Re,!1)},!0)}_(at,ot)};k(Jn,at=>{F()==="hb-input-radio"?at(Jt):at(Ae,!1)},!0)}_(st,Oe)};k(Fn,st=>{F()==="hb-input-area"?st(Ft):st(it,!1)},!0)}_(rt,Ce)};k(Pn,rt=>{F()==="hb-input-number"?rt(Pt):rt(Te,!1)},!0)}_(tt,nt)};k(In,tt=>{F()==="hb-input-checkbox"?tt(It):tt(Se,!1)},!0)}_(et,qe)};k(Vn,et=>{F()==="hb-input-datetime"?et(Vt):et($e,!1)},!0)}_(Qe,Ne)};k(Dn,Qe=>{F()==="hb-input-date"?Qe(Dt):Qe(Ze,!1)},!0)}_(Xe,ke)};k(Ln,Xe=>{F()==="hb-input-email"?Xe(Lt):Xe(Ke,!1)},!0)}_(We,Ge)};k(Mn,We=>{F()==="hb-input-file"?We(Mt):We(ze,!1)},!0)}_(Ye,Ue)};k(Rn,Ye=>{F()==="hb-input-range"?Ye(Rt):Ye(xe,!1)},!0)}_(Be,He)};k(An,Be=>{F()==="hb-input-color"?Be(At):Be(Je,!1)},!0)}_(me,Fe)};k(On,me=>{F()==="hb-input-array-tags"?me(be):me(ee,!1)},!0)}_(Ot,Pe)};k(Ie,Ot=>{F()==="hb-input-array-objects"?Ot(cr):Ot(Fr,!1)},!0)}_(pe,B)};k(Ir,pe=>{F()==="hb-input-text"?pe(fr):pe(Pr,!1)})}_t(ur),_(Cn,ur)};k(Tn,Cn=>{c(p)&&c(p)[g().id]&&Cn(mn)},!0)}_(bn,Ct)};k(Lr,bn=>{lr()?.row&&(c(p)[g().id]||c(p)[g().id]!==!1)&&Sn()?.length&&Sn().some(Ct=>c(p)[Ct.entry.id])?bn(Dr):bn(Vr,!1)})}_(rn,pn)});var Mr=rr(V,2);{var lo=rn=>{var gt=io(),g=kt(gt);g.__click=()=>P();var F=kt(g);Or(F,t,"submit_button",{},Sn=>{var pn=ro(),Lr=kt(pn);Or(Lr,t,"submit_label",{},Dr=>{var Vr=ra("Submit");_(Dr,Vr)}),_t(pn),_(Sn,pn)}),_t(g);var lr=rr(g,2);Or(lr,t,"other_buttons",{},null),_t(gt),_(rn,gt)};k(Mr,rn=>{l()||rn(lo)})}_(h,w)};k(_n,h=>{i()&&typeof i()=="object"&&i()?.length&&h(oe)})}return _t(nn),_(e,nn),ai(mt)}ta(["click"]),customElements.define("hb-form",ga(Zi,{id:{},schema:{},i18nlang:{},show_validation:{},hide_submit:{},submitted:{},getvals:{}},["submit_button","submit_label","other_buttons"],[],!0)),Yr.Component=Zi,Object.defineProperty(Yr,Symbol.toStringTag,{value:"Module"})})(this.form=this.form||{});
98
+ }:host {font-family:"Roboto", sans-serif;}`};function ti(e,t){rr(t,!0),ks(e,ko);const n={row:{component:void 0,options:{row:!0}},select:{component:"hb-input-select"},arrayobjects:{component:"hb-input-array-objects"},arraytags:{component:"hb-input-array-tags"},date:{component:"hb-input-date"},datetime:{component:"hb-input-datetime"},text:{component:"hb-input-text"},number:{component:"hb-input-number"},email:{component:"hb-input-email"},color:{component:"hb-input-color"},file:{component:"hb-input-file"},textarea:{component:"hb-input-area"},range:{component:"hb-input-range"},checkbox:{component:"hb-input-checkbox",options:{labelIsHandledByComponent:!0}},radio:{component:"hb-input-radio"},coords:{component:"hb-input-coords"}};let r=Nt(()=>{const b={};for(const E of s())if(E.type!=="row")b[E.id]=E.value;else if(E.type==="row"&&E.params?.columns?.length)for(const z of E.params.columns)b[z.id]=z.value;return b}),i=it(t,"id",7,""),s=it(t,"schema"),a=it(t,"i18nlang"),o=it(t,"show_validation",7,"no"),l=it(t,"hide_submit",7,!1),u=it(t,"submitted",7,"no"),f=it(t,"getvals",7,"no"),_=ve(Be({})),v=ve(Be({})),p=ve(Be({})),w=Nt(()=>{const b=[];for(const E of s())E.type==="row"&&E.params?.columns?.length?b.push(...E.params.columns):b.push(E);return Ls(b.filter(E=>E.dependencies?.length),E=>E.dependencies.map(z=>z.id))});function A(b){b?.forEach?.(E=>{const z=n[E.type];if(!z)throw new Error(`FormRenderer: Tried to render an unknown component type ${E.type}!`);z.options?.row&&A(E.params?.columns??[]),h(_)[E.id]=h(_)[E.id]||!E.dependencies?.length})}function m(b){return b?.map?.(E=>{const z=n[E.type];if(!z)throw new Error(`FormRenderer: Tried to render an unknown component type ${E.type}!`);return z.options?.row?{entry:E,columns:m(E.params?.columns??[]),options:z.options}:{entry:E,component:z.component,options:z.options||{}}})||[]}let M=Nt(()=>m(s()));l()===!0||l()==="yes"||l()==="true"?l(!0):l(!1),s()||console.warn("no schema provided"),es(()=>{if(typeof s()=="string")try{s(JSON.parse(s())),ae(v,{},!0),ae(p,{},!0),ae(_,{},!0),u()&&u()==="yes"&&s()&&typeof s()!="string"?J():u()==="yes"&&u("no"),console.log("effectform"),A(s())}catch(b){console.error("error with schema",s(),b)}});let B=Nt(()=>!h(v)||!Object.entries(h(v))?.length?!0:!!Object.entries(h(v)).find(([b,E])=>!E&&h(_)&&h(_)[b]));const F=b=>{console.log("canShow",b);for(const E of b.dependencies||[])if(h(_)&&!h(_)[E.id]||h(r)&&!h(r)[E.id]||h(r)&&E?.values&&!E?.values?.includes(h(r)[E.id]))return!1;return!0},ne=b=>{F(b)?bt(b,b.value):Ee(b)},bt=(b,E)=>{h(_)[b.id]=!0,b.type!=="row"&&(h(r)[b.id]=h(p)[b.id]??E);for(const z of h(w)[b.id]||[])ne(z)},Ee=b=>{h(_)[b.id]=!1,delete h(r)[b.id];for(const E of h(w)[b.id]||[])Ee(E)};te.addComponent({repoName:"@htmlbricks/hb-input-text",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-date",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-email",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-checkbox",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-number",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-area",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-radio",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-select",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-file",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-color",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-range",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-datetime",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-array-objects",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-array-tags",version:ee.version}),te.addComponent({repoName:"@htmlbricks/hb-input-coords",version:ee.version});let X=ve(void 0);function Ce(b,E){b==="update"?(console.log("update",E),h(X)&&clearTimeout(h(X)),ae(X,setTimeout(()=>{t.$$host.dispatchEvent(new CustomEvent(b,{detail:E}))},300),!0)):t.$$host.dispatchEvent(new CustomEvent(b,{detail:E}))}const J=()=>{if(console.log("submitting form"),o("yes"),u("no"),console.log(h(B),JSON.stringify(h(v)),h(_),h(r)),h(B))return console.warn("Form is invalid");const b=Object.assign({_valid:!h(B)},h(r));Ce("submit",b)};function T(b){console.info("setValByMessage",b);let E;if(h(p)[b.id]!==b.value){if(h(p)[b.id]=b.value,h(_)[b.id]&&(h(r)[b.id]=b.value),h(w)[b.id])for(const z of h(w)[b.id])ne(z);E=Object.assign({_valid:!h(B),_id:i()},h(r))}h(v)[b.id]!==b.valid&&(h(v)[b.id]=b.valid,E=Object.assign({_valid:!h(B),_id:i()},h(r))),E&&Ce("update",E)}var mt={get id(){return i()},set id(b=""){i(b),Fe()},get schema(){return s()},set schema(b){s(b),Fe()},get i18nlang(){return a()},set i18nlang(b){a(b),Fe()},get show_validation(){return o()},set show_validation(b="no"){o(b),Fe()},get hide_submit(){return l()},set hide_submit(b=!1){l(b),Fe()},get submitted(){return u()},set submitted(b="no"){u(b),Fe()},get getvals(){return f()},set getvals(b="no"){f(b),Fe()}},fe=xo(),Sn=He(fe);{var Tn=b=>{var E=Eo(),z=dn(E);Xr(z,17,()=>h(M),({entry:ot,component:Ae,options:j,columns:W})=>ot.id,(ot,Ae)=>{let j=()=>h(Ae).entry,W=()=>h(Ae).component,Gt=()=>h(Ae).options,At=()=>h(Ae).columns;var gt=Yr(),qn=dn(gt);{var On=Ge=>{var at=no();Xr(at,21,At,({entry:wt,component:yt,options:An})=>wt.id,(wt,yt,An,ni)=>{let x=()=>h(yt).entry,G=()=>h(yt).component,Rn=()=>h(yt).options;var Kt=Yr(),Mn=dn(Kt);{var Dn=Rt=>{var jt=to(),Xt=He(jt);{var Ln=N=>{var d=Is(),V=He(d);Te(d),g(()=>{Nn(d,"for",x().id),Ur(V,`${x().label??""}${x().required?"*":""}`)}),$(N,d)};Ue(Xt,N=>{Rn().labelIsHandledByComponent||N(Ln)})}var Vn=zt(Xt,2);{var In=N=>{var d=Ps();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),$(N,d)},Pn=N=>{var d=Fs();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),$(N,d)},Fn=N=>{var d=Js();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),S("clickEnter",d,()=>J()),$(N,d)},k=N=>{var d=Bs();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),$(N,d)},c=N=>{var d=Hs();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),$(N,d)},L=N=>{var d=zs();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),$(N,d)},To=N=>{var d=Ys();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),S("clickEnter",d,()=>J()),$(N,d)},qo=N=>{var d=Us();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),S("clickEnter",d,()=>J()),$(N,d)},Oo=N=>{var d=Ws();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),S("clickEnter",d,()=>J()),$(N,d)},Co=N=>{var d=Gs();I(d,1,"checkbox-inline svelte-yjqjiw"),g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),S("setVal",d,V=>T(V.detail)),$(N,d)},Ao=N=>{var d=Ks();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),S("clickEnter",d,()=>J()),$(N,d)},Ro=N=>{var d=Xs();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),S("clickEnter",d,()=>J()),$(N,d)},Mo=N=>{var d=Zs();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),$(N,d)},Do=N=>{var d=Qs();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),$(N,d)},Lo=N=>{var d=eo();g(()=>y(d,"schemaentry",JSON.stringify({...x(),value:h(p)[x().id]??x().value}))),g(()=>y(d,"i18nlang",a())),g(()=>y(d,"show_validation",o())),I(d,1,"svelte-yjqjiw"),S("setVal",d,V=>T(V.detail)),$(N,d)};Ue(Vn,N=>{G()==="hb-array-objects"?N(In):G()==="hb-input-array-tags"?N(Pn,1):G()==="hb-input-text"?N(Fn,2):G()==="hb-input-color"?N(k,3):G()==="hb-input-range"?N(c,4):G()==="hb-input-file"?N(L,5):G()==="hb-input-email"?N(To,6):G()==="hb-input-date"?N(qo,7):G()==="hb-input-datetime"?N(Oo,8):G()==="hb-input-checkbox"?N(Co,9):G()==="hb-input-number"?N(Ao,10):G()==="hb-input-area"?N(Ro,11):G()==="hb-input-radio"?N(Mo,12):G()==="hb-input-select"?N(Do,13):G()==="hb-input-coords"&&N(Lo,14)})}Te(jt),g(()=>Ss(jt,G()==="hb-input-checkbox"?"line-height:52px;":"")),$(Rt,jt)};Ue(Mn,Rt=>{h(_)[x().id]&&Rt(Dn)})}$(wt,Kt)}),Te(at),$(Ge,at)},Cn=Nt(()=>Gt()?.row&&(h(_)[j().id]||h(_)[j().id]!==!1)&&At()?.length?At().some(Ge=>h(_)[Ge.entry.id]):!1),So=Ge=>{var at=wo(),wt=He(at);{var yt=k=>{var c=ro(),L=He(c);Te(c),g(()=>{Nn(c,"for",j().id),Ur(L,`${j().label??""}${j().required?"*":""}`)}),$(k,c)};Ue(wt,k=>{Gt()?.labelIsHandledByComponent||k(yt)})}var An=zt(wt,2);{var ni=k=>{var c=io();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),S("clickEnter",c,()=>J()),$(k,c)},x=k=>{var c=so();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),$(k,c)},G=k=>{var c=oo();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),$(k,c)},Rn=k=>{var c=ao();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),$(k,c)},Kt=k=>{var c=lo();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),$(k,c)},Mn=k=>{var c=uo();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),$(k,c)},Dn=k=>{var c=fo();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),S("clickEnter",c,()=>J()),$(k,c)},Rt=k=>{var c=co();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),S("clickEnter",c,()=>J()),$(k,c)},jt=k=>{var c=ho();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),S("clickEnter",c,()=>J()),$(k,c)},Xt=k=>{var c=vo();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),$(k,c)},Ln=k=>{var c=po();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),S("clickEnter",c,()=>J()),$(k,c)},Vn=k=>{var c=_o();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),S("clickEnter",c,()=>J()),$(k,c)},In=k=>{var c=bo();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),$(k,c)},Pn=k=>{var c=mo();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),$(k,c)},Fn=k=>{var c=go();g(()=>y(c,"schemaentry",JSON.stringify({...j(),value:h(p)[j().id]??j().value},null,0))),g(()=>y(c,"i18nlang",a())),g(()=>y(c,"show_validation",o())),I(c,1,"svelte-yjqjiw"),S("setVal",c,L=>T(L.detail)),$(k,c)};Ue(An,k=>{W()==="hb-input-text"?k(ni):W()==="hb-input-array-objects"?k(x,1):W()==="hb-input-array-tags"?k(G,2):W()==="hb-input-color"?k(Rn,3):W()==="hb-input-range"?k(Kt,4):W()==="hb-input-file"?k(Mn,5):W()==="hb-input-email"?k(Dn,6):W()==="hb-input-date"?k(Rt,7):W()==="hb-input-datetime"?k(jt,8):W()==="hb-input-checkbox"?k(Xt,9):W()==="hb-input-number"?k(Ln,10):W()==="hb-input-area"?k(Vn,11):W()==="hb-input-radio"?k(In,12):W()==="hb-input-select"?k(Pn,13):W()==="hb-input-coords"&&k(Fn,14)})}Te(at),$(Ge,at)};Ue(qn,Ge=>{h(Cn)?Ge(On):h(_)&&h(_)[j().id]&&Ge(So,1)})}$(ot,gt)});var No=zt(z,2);{var $o=ot=>{var Ae=jo(),j=He(Ae),W=He(j);kn(W,t,"submit_button",{},At=>{var gt=yo(),qn=He(gt);kn(qn,t,"submit_label",{},On=>{var Cn=_s("Submit");$(On,Cn)}),Te(gt),$(At,gt)}),Te(j);var Gt=zt(j,2);kn(Gt,t,"other_buttons",{},null),Te(Ae),cs("click",j,()=>J()),$(ot,Ae)};Ue(No,ot=>{l()||ot($o)})}$(b,E)};Ue(Sn,b=>{s()&&typeof s()=="object"&&s()?.length&&b(Tn)})}return Te(fe),$(e,fe),ir(mt)}ds(["click"]),customElements.define("hb-form",Ds(ti,{id:{},schema:{},i18nlang:{},show_validation:{},hide_submit:{},submitted:{},getvals:{}},["submit_button","submit_label","other_buttons"],[],{mode:"open"})),Jn.Component=ti,Object.defineProperty(Jn,Symbol.toStringTag,{value:"Module"})})(this.form=this.form||{});
99
99
  //# sourceMappingURL=main.iife.js.map