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