@htmlbricks/hb-form 0.61.36 → 0.61.37
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(Kn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Jr=1,qr=2,Zn=4,ua=8,fa=16,ca=1,va=2,Qn="[",on="[!",ln="]",nr={},re=Symbol(),da="http://www.w3.org/1999/xhtml",ei=!1;var un=Array.isArray,ba=Array.prototype.indexOf,fn=Array.from,Hr=Object.keys,ir=Object.defineProperty,ar=Object.getOwnPropertyDescriptor,ha=Object.getOwnPropertyDescriptors,_a=Object.prototype,pa=Array.prototype,ti=Object.getPrototypeOf,ri=Object.isExtensible;function ni(e){for(var t=0;t<e.length;t++)e[t]()}function ma(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const ce=2,cn=4,vn=8,sr=16,bt=32,wt=64,ii=128,he=256,Br=512,ie=1024,_e=2048,Et=4096,Ie=8192,Ht=16384,dn=32768,bn=65536,ai=1<<17,ya=1<<18,or=1<<19,ga=1<<20,hn=1<<21,_n=1<<22,Bt=1<<23,pn=Symbol("$state"),wa=Symbol("legacy props"),Ea=Symbol(""),mn=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},si=3,mr=8;function xa(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Sa(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ka(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Na(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ta(e){throw new Error("https://svelte.dev/e/effect_orphan")}function $a(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Oa(){throw new Error("https://svelte.dev/e/hydration_failed")}function Aa(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Ca(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ra(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ur(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let D=!1;function Me(e){D=e}let U;function Pe(e){if(e===null)throw Ur(),nr;return U=e}function yr(){return Pe(kt(U))}function ht(e){if(D){if(kt(U)!==null)throw Ur(),nr;U=e}}function yn(){for(var e=0,t=U;;){if(t.nodeType===mr){var r=t.data;if(r===ln){if(e===0)return t;e-=1}else(r===Qn||r===on)&&(e+=1)}var n=kt(t);t.remove(),t=n}}function oi(e){if(!e||e.nodeType!==mr)throw Ur(),nr;return e.data}function li(e){return e===this.v}function Ia(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ui(e){return!Ia(e,this.v)}let Ma=!1,Le=null;function Yr(e){Le=e}function fi(e,t=!1,r){Le={p:Le,c:null,e:null,s:e,x:null,l:null}}function ci(e){var t=Le,r=t.e;if(r!==null){t.e=null;for(var n of r)Ci(n)}return e!==void 0&&(t.x=e),Le=t.p,e??{}}function vi(){return!0}const Pa=new WeakMap;function La(e){var t=M;if(t===null)return L.f|=Bt,e;if((t.f&dn)===0){if((t.f&ii)===0)throw!t.parent&&e instanceof Error&&di(e),e;t.b.error(e)}else gn(e,t)}function gn(e,t){for(;t!==null;){if((t.f&ii)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&di(e),e}function di(e){const t=Pa.get(e);t&&(ir(e,"message",{value:t.message}),ir(e,"stack",{value:t.stack}))}let gr=[],wn=[];function bi(){var e=gr;gr=[],ni(e)}function Va(){var e=wn;wn=[],ni(e)}function hi(e){gr.length===0&&queueMicrotask(bi),gr.push(e)}function ja(){gr.length>0&&bi(),wn.length>0&&Va()}function Da(){const e=M.b;return e===null&&xa(),e}function Gr(e){var t=ce|_e,r=L!==null&&(L.f&ce)!==0?L:null;return M===null||r!==null&&(r.f&he)!==0?t|=he:M.f|=or,{ctx:Le,deps:null,effects:null,equals:li,f:t,fn:e,reactions:null,rv:0,v:re,wv:0,parent:r??M,ac:null}}function Fa(e,t){let r=M;r===null&&Sa();var n=r.b,i=void 0,a=wr(re),s=null,l=!L;return Qa(()=>{try{var u=e();s&&Promise.resolve(u).catch(()=>{})}catch(m){u=Promise.reject(m)}var f=()=>u;i=s?.then(f,f)??Promise.resolve(u),s=i;var c=Q,p=n.is_pending();l&&(n.update_pending_count(1),p||c.increment());const g=(m,v=void 0)=>{s=null,p||c.activate(),v?v!==mn&&(a.f|=Bt,Er(a,v)):((a.f&Bt)!==0&&(a.f^=Bt),Er(a,m)),l&&(n.update_pending_count(-1),p||c.decrement()),mi()};if(i.then(g,m=>g(null,m||"unknown")),c)return()=>{queueMicrotask(()=>c.neuter())}}),new Promise(u=>{function f(c){function p(){c===i?u(a):f(i)}c.then(p,p)}f(i)})}function Wr(e){const t=Gr(e);return Fi(t),t}function Ja(e){const t=Gr(e);return t.equals=ui,t}function _i(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Qe(t[r])}}function qa(e){for(var t=e.parent;t!==null;){if((t.f&ce)===0)return t;t=t.parent}return null}function En(e){var t,r=M;et(qa(e));try{_i(e),t=Ui(e)}finally{et(r)}return t}function pi(e){var t=En(e);if(e.equals(t)||(e.v=t,e.wv=Hi()),!Xt){var r=(Tt||(e.f&he)!==0)&&e.deps!==null?Et:ie;ue(e,r)}}function Ha(e,t,r){const n=Gr;if(t.length===0){r(e.map(n));return}var i=Q,a=M,s=Ba(),l=Da();Promise.all(t.map(u=>Fa(u))).then(u=>{i?.activate(),s();try{r([...e.map(n),...u])}catch(f){(a.f&Ht)===0&&gn(f,a)}i?.deactivate(),mi()}).catch(u=>{l.error(u)})}function Ba(){var e=M,t=L,r=Le,n=Q;return function(){et(e),pe(t),Yr(r),n?.activate()}}function mi(){et(null),pe(null),Yr(null)}const xn=new Set;let Q=null,yi=new Set,Xr=[];function gi(){const e=Xr.shift();Xr.length>0&&queueMicrotask(gi),e()}let Ut=[],zr=null,Sn=!1,Kr=!1;class Yt{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#s=[];#a=[];#n=[];#o=[];#c=[];#v=[];skipped_effects=new Set;process(t){Ut=[];for(const i of t)this.#b(i);if(this.#i.length===0&&this.#r===0){this.#d();var r=this.#a,n=this.#n;this.#a=[],this.#n=[],this.#o=[],Q=null,Ei(r),Ei(n),Q===null?Q=this:xn.delete(this),this.#u?.resolve()}else this.#l(this.#a),this.#l(this.#n),this.#l(this.#o);for(const i of this.#i)cr(i);for(const i of this.#s)cr(i);this.#i=[],this.#s=[]}#b(t){t.f^=ie;for(var r=t.first;r!==null;){var n=r.f,i=(n&(bt|wt))!==0,a=i&&(n&ie)!==0,s=a||(n&Ie)!==0||this.skipped_effects.has(r);if(!s&&r.fn!==null){if(i)r.f^=ie;else if((n&cn)!==0)this.#n.push(r);else if((n&ie)===0)if((n&_n)!==0){var l=r.b?.is_pending()?this.#s:this.#i;l.push(r)}else Qr(r)&&((r.f&sr)!==0&&this.#o.push(r),cr(r));var u=r.first;if(u!==null){r=u;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)r=f.next,f=f.parent}}#l(t){for(const r of t)((r.f&_e)!==0?this.#c:this.#v).push(r),ue(r,ie);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){Q=this}deactivate(){Q=null;for(const t of yi)if(yi.delete(t),t(),Q!==null)break}neuter(){this.#f=!0}flush(){Ut.length>0?wi():this.#d(),Q===this&&(this.#r===0&&xn.delete(this),this.deactivate())}#d(){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)ue(t,_e),lr(t);for(const t of this.#v)ue(t,Et),lr(t);this.#a=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=ma()).promise}static ensure(){if(Q===null){const t=Q=new Yt;xn.add(Q),Kr||Yt.enqueue(()=>{Q===t&&t.flush()})}return Q}static enqueue(t){Xr.length===0&&queueMicrotask(gi),Xr.unshift(t)}}function xt(e){var t=Kr;Kr=!0;try{for(var r;;){if(ja(),Ut.length===0&&(Q?.flush(),Ut.length===0))return zr=null,r;wi()}}finally{Kr=t}}function wi(){var e=fr;Sn=!0;try{var t=0;for(ji(!0);Ut.length>0;){var r=Yt.ensure();if(t++>1e3){var n,i;Ua()}r.process(Ut),St.clear()}}finally{Sn=!1,ji(e),zr=null}}function Ua(){try{$a()}catch(e){gn(e,zr)}}let Gt=null;function Ei(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Ht|Ie))===0&&Qr(n)&&(Gt=[],cr(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Pi(n):n.fn=null),Gt?.length>0)){St.clear();for(const i of Gt)cr(i);Gt=[]}}Gt=null}}function lr(e){for(var t=zr=e;t.parent!==null;){t=t.parent;var r=t.f;if(Sn&&t===M&&(r&sr)!==0)return;if((r&(wt|bt))!==0){if((r&ie)===0)return;t.f^=ie}}Ut.push(t)}const St=new Map;function wr(e,t){var r={f:0,v:e,reactions:null,equals:li,rv:0,wv:0};return r}function B(e,t){const r=wr(e);return Fi(r),r}function xi(e,t=!1,r=!0){const n=wr(e);return t||(n.equals=ui),n}function ve(e,t,r=!1){L!==null&&(!zt||(L.f&ai)!==0)&&vi()&&(L.f&(ce|sr|_n|ai))!==0&&!mt?.includes(e)&&Ra();let n=r?_t(t):t;return Er(e,n)}function Er(e,t){if(!e.equals(t)){var r=e.v;Xt?St.set(e,t):St.set(e,r),e.v=t;var n=Yt.ensure();n.capture(e,r),(e.f&ce)!==0&&((e.f&_e)!==0&&En(e),ue(e,(e.f&he)===0?ie:Et)),e.wv=Hi(),Si(e,_e),M!==null&&(M.f&ie)!==0&&(M.f&(bt|wt))===0&&(me===null?ns([e]):me.push(e))}return t}function kn(e){ve(e,e.v+1)}function Si(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var a=r[i],s=a.f,l=(s&_e)===0;l&&ue(a,t),(s&ce)!==0?Si(a,Et):l&&((s&sr)!==0&&Gt!==null&&Gt.push(a),lr(a))}}function _t(e){if(typeof e!="object"||e===null||pn in e)return e;const t=ti(e);if(t!==_a&&t!==pa)return e;var r=new Map,n=un(e),i=B(0),a=Kt,s=l=>{if(Kt===a)return l();var u=L,f=Kt;pe(null),qi(a);var c=l();return pe(u),qi(f),c};return n&&r.set("length",B(e.length)),new Proxy(e,{defineProperty(l,u,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Aa();var c=r.get(u);return c===void 0?c=s(()=>{var p=B(f.value);return r.set(u,p),p}):ve(c,f.value,!0),!0},deleteProperty(l,u){var f=r.get(u);if(f===void 0){if(u in l){const c=s(()=>B(re));r.set(u,c),kn(i)}}else ve(f,re),kn(i);return!0},get(l,u,f){if(u===pn)return e;var c=r.get(u),p=u in l;if(c===void 0&&(!p||ar(l,u)?.writable)&&(c=s(()=>{var m=_t(p?l[u]:re),v=B(m);return v}),r.set(u,c)),c!==void 0){var g=o(c);return g===re?void 0:g}return Reflect.get(l,u,f)},getOwnPropertyDescriptor(l,u){var f=Reflect.getOwnPropertyDescriptor(l,u);if(f&&"value"in f){var c=r.get(u);c&&(f.value=o(c))}else if(f===void 0){var p=r.get(u),g=p?.v;if(p!==void 0&&g!==re)return{enumerable:!0,configurable:!0,value:g,writable:!0}}return f},has(l,u){if(u===pn)return!0;var f=r.get(u),c=f!==void 0&&f.v!==re||Reflect.has(l,u);if(f!==void 0||M!==null&&(!c||ar(l,u)?.writable)){f===void 0&&(f=s(()=>{var g=c?_t(l[u]):re,m=B(g);return m}),r.set(u,f));var p=o(f);if(p===re)return!1}return c},set(l,u,f,c){var p=r.get(u),g=u in l;if(n&&u==="length")for(var m=f;m<p.v;m+=1){var v=r.get(m+"");v!==void 0?ve(v,re):m in l&&(v=s(()=>B(re)),r.set(m+"",v))}if(p===void 0)(!g||ar(l,u)?.writable)&&(p=s(()=>B(void 0)),ve(p,_t(f)),r.set(u,p));else{g=p.v!==re;var w=s(()=>_t(f));ve(p,w)}var T=Reflect.getOwnPropertyDescriptor(l,u);if(T?.set&&T.set.call(c,f),!g){if(n&&typeof u=="string"){var P=r.get("length"),k=Number(u);Number.isInteger(k)&&k>=P.v&&ve(P,k+1)}kn(i)}return!0},ownKeys(l){o(i);var u=Reflect.ownKeys(l).filter(p=>{var g=r.get(p);return g===void 0||g.v!==re});for(var[f,c]of r)c.v!==re&&!(f in l)&&u.push(f);return u},setPrototypeOf(){Ca()}})}var ki,Ni,Ti,$i;function Nn(){if(ki===void 0){ki=window,Ni=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Ti=ar(t,"firstChild").get,$i=ar(t,"nextSibling").get,ri(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ri(r)&&(r.__t=void 0)}}function pt(e=""){return document.createTextNode(e)}function Wt(e){return Ti.call(e)}function kt(e){return $i.call(e)}function Nt(e,t){if(!D)return Wt(e);var r=Wt(U);return r===null&&(r=U.appendChild(pt())),Pe(r),r}function V(e,t){if(!D){var r=Wt(e);return r instanceof Comment&&r.data===""?kt(r):r}return U}function Zr(e,t=1,r=!1){let n=D?U:e;for(var i;t--;)i=n,n=kt(n);if(!D)return n;if(r&&n?.nodeType!==si){var a=pt();return n===null?i?.after(a):n.before(a),Pe(a),a}return Pe(n),n}function Oi(e){e.textContent=""}function Ai(){return!1}function Tn(e){var t=L,r=M;pe(null),et(null);try{return e()}finally{pe(t),et(r)}}function Ya(e){M===null&&L===null&&Ta(),L!==null&&(L.f&he)!==0&&M===null&&Na(),Xt&&ka()}function Ga(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function Ze(e,t,r,n=!0){var i=M;i!==null&&(i.f&Ie)!==0&&(e|=Ie);var a={ctx:Le,deps:null,nodes_start:null,nodes_end:null,f:e|_e,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{cr(a),a.f|=dn}catch(u){throw Qe(a),u}else t!==null&&lr(a);if(n){var s=a;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&or)===0&&(s=s.first),s!==null&&(s.parent=i,i!==null&&Ga(s,i),L!==null&&(L.f&ce)!==0&&(e&wt)===0)){var l=L;(l.effects??=[]).push(s)}}return a}function Wa(e){const t=Ze(vn,null,!1);return ue(t,ie),t.teardown=e,t}function Xa(e){Ya();var t=M.f,r=!L&&(t&bt)!==0&&(t&dn)===0;if(r){var n=Le;(n.e??=[]).push(e)}else return Ci(e)}function Ci(e){return Ze(cn|ga,e,!1)}function za(e){Yt.ensure();const t=Ze(wt|or,e,!0);return()=>{Qe(t)}}function Ka(e){Yt.ensure();const t=Ze(wt|or,e,!0);return(r={})=>new Promise(n=>{r.outro?$n(t,()=>{Qe(t),n(void 0)}):(Qe(t),n(void 0))})}function Za(e){return Ze(cn,e,!1)}function Qa(e){return Ze(_n|or,e,!0)}function es(e,t=0){return Ze(vn|t,e,!0)}function _(e,t=[],r=[]){Ha(t,r,n=>{Ze(vn,()=>e(...n.map(o)),!0)})}function Ri(e,t=0){var r=Ze(sr|t,e,!0);return r}function ur(e,t=!0){return Ze(bt|or,e,!0,t)}function Ii(e){var t=e.teardown;if(t!==null){const r=Xt,n=L;Di(!0),pe(null);try{t.call(null)}finally{Di(r),pe(n)}}}function Mi(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Tn(()=>{i.abort(mn)});var n=r.next;(r.f&wt)!==0?r.parent=null:Qe(r,t),r=n}}function ts(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&bt)===0&&Qe(t),t=r}}function Qe(e,t=!0){var r=!1;(t||(e.f&ya)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(rs(e.nodes_start,e.nodes_end),r=!0),Mi(e,t&&!r),en(e,0),ue(e,Ht);var n=e.transitions;if(n!==null)for(const a of n)a.stop();Ii(e);var i=e.parent;i!==null&&i.first!==null&&Pi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function rs(e,t){for(;e!==null;){var r=e===t?null:kt(e);e.remove(),e=r}}function Pi(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 $n(e,t){var r=[];On(e,r,!0),Li(r,()=>{Qe(e),t&&t()})}function Li(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function On(e,t,r){if((e.f&Ie)===0){if(e.f^=Ie,e.transitions!==null)for(const s of e.transitions)(s.is_global||r)&&t.push(s);for(var n=e.first;n!==null;){var i=n.next,a=(n.f&bn)!==0||(n.f&bt)!==0;On(n,t,a?r:!1),n=i}}}function An(e){Vi(e,!0)}function Vi(e,t){if((e.f&Ie)!==0){e.f^=Ie,(e.f&ie)===0&&(ue(e,_e),lr(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&bn)!==0||(r.f&bt)!==0;Vi(r,i?t:!1),r=n}if(e.transitions!==null)for(const a of e.transitions)(a.is_global||t)&&a.in()}}let fr=!1;function ji(e){fr=e}let Xt=!1;function Di(e){Xt=e}let L=null,zt=!1;function pe(e){L=e}let M=null;function et(e){M=e}let mt=null;function Fi(e){L!==null&&(mt===null?mt=[e]:mt.push(e))}let se=null,de=0,me=null;function ns(e){me=e}let Ji=1,xr=0,Kt=xr;function qi(e){Kt=e}let Tt=!1;function Hi(){return++Ji}function Qr(e){var t=e.f;if((t&_e)!==0)return!0;if((t&Et)!==0){var r=e.deps,n=(t&he)!==0;if(r!==null){var i,a,s=(t&Br)!==0,l=n&&M!==null&&!Tt,u=r.length;if((s||l)&&(M===null||(M.f&Ht)===0)){var f=e,c=f.parent;for(i=0;i<u;i++)a=r[i],(s||!a?.reactions?.includes(f))&&(a.reactions??=[]).push(f);s&&(f.f^=Br),l&&c!==null&&(c.f&he)===0&&(f.f^=he)}for(i=0;i<u;i++)if(a=r[i],Qr(a)&&pi(a),a.wv>e.wv)return!0}(!n||M!==null&&!Tt)&&ue(e,ie)}return!1}function Bi(e,t,r=!0){var n=e.reactions;if(n!==null&&!mt?.includes(e))for(var i=0;i<n.length;i++){var a=n[i];(a.f&ce)!==0?Bi(a,t,!1):t===a&&(r?ue(a,_e):(a.f&ie)!==0&&ue(a,Et),lr(a))}}function Ui(e){var t=se,r=de,n=me,i=L,a=Tt,s=mt,l=Le,u=zt,f=Kt,c=e.f;se=null,de=0,me=null,Tt=(c&he)!==0&&(zt||!fr||L===null),L=(c&(bt|wt))===0?e:null,mt=null,Yr(e.ctx),zt=!1,Kt=++xr,e.ac!==null&&(Tn(()=>{e.ac.abort(mn)}),e.ac=null);try{e.f|=hn;var p=e.fn,g=p(),m=e.deps;if(se!==null){var v;if(en(e,de),m!==null&&de>0)for(m.length=de+se.length,v=0;v<se.length;v++)m[de+v]=se[v];else e.deps=m=se;if(!Tt||(c&ce)!==0&&e.reactions!==null)for(v=de;v<m.length;v++)(m[v].reactions??=[]).push(e)}else m!==null&&de<m.length&&(en(e,de),m.length=de);if(vi()&&me!==null&&!zt&&m!==null&&(e.f&(ce|Et|_e))===0)for(v=0;v<me.length;v++)Bi(me[v],e);return i!==null&&i!==e&&(xr++,me!==null&&(n===null?n=me:n.push(...me))),(e.f&Bt)!==0&&(e.f^=Bt),g}catch(w){return La(w)}finally{e.f^=hn,se=t,de=r,me=n,L=i,Tt=a,mt=s,Yr(l),zt=u,Kt=f}}function is(e,t){let r=t.reactions;if(r!==null){var n=ba.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&ce)!==0&&(se===null||!se.includes(t))&&(ue(t,Et),(t.f&(he|Br))===0&&(t.f^=Br),_i(t),en(t,0))}function en(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)is(e,r[n])}function cr(e){var t=e.f;if((t&Ht)===0){ue(e,ie);var r=M,n=fr;M=e,fr=!0;try{(t&sr)!==0?ts(e):Mi(e),Ii(e);var i=Ui(e);e.teardown=typeof i=="function"?i:null,e.wv=Ji;var a;ei&&Ma&&(e.f&_e)!==0&&e.deps}finally{fr=n,M=r}}}function o(e){var t=e.f,r=(t&ce)!==0;if(L!==null&&!zt){var n=M!==null&&(M.f&Ht)!==0;if(!n&&!mt?.includes(e)){var i=L.deps;if((L.f&hn)!==0)e.rv<xr&&(e.rv=xr,se===null&&i!==null&&i[de]===e?de++:se===null?se=[e]:(!Tt||!se.includes(e))&&se.push(e));else{(L.deps??=[]).push(e);var a=e.reactions;a===null?e.reactions=[L]:a.includes(L)||a.push(L)}}}else if(r&&e.deps===null&&e.effects===null){var s=e,l=s.parent;l!==null&&(l.f&he)===0&&(s.f^=he)}if(Xt){if(St.has(e))return St.get(e);if(r){s=e;var u=s.v;return((s.f&ie)===0&&s.reactions!==null||Yi(s))&&(u=En(s)),St.set(s,u),u}}else r&&(s=e,Qr(s)&&pi(s));if((e.f&Bt)!==0)throw e.v;return e.v}function Yi(e){if(e.v===re)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(St.has(t)||(t.f&ce)!==0&&Yi(t))return!0;return!1}const as=-7169;function ue(e,t){e.f=e.f&as|t}const Gi=new Set,Cn=new Set;function ss(e,t,r,n={}){function i(a){if(n.capture||Sr.call(t,a),!a.cancelBubble)return Tn(()=>r?.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?hi(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function A(e,t,r,n,i){var a={capture:n,passive:i},s=ss(e,t,r,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Wa(()=>{t.removeEventListener(e,s,a)})}function os(e){for(var t=0;t<e.length;t++)Gi.add(e[t]);for(var r of Cn)r(e)}let Wi=null;function Sr(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Wi=e;var s=0,l=Wi===e&&e.__root;if(l){var u=i.indexOf(l);if(u!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;u<=f&&(s=u)}if(a=i[s]||e.target,a!==t){ir(e,"currentTarget",{configurable:!0,get(){return a||r}});var c=L,p=M;pe(null),et(null);try{for(var g,m=[];a!==null;){var v=a.assignedSlot||a.parentNode||a.host||null;try{var w=a["__"+n];if(w!=null&&(!a.disabled||e.target===a))if(un(w)){var[T,...P]=w;T.apply(a,[e,...P])}else w.call(a,e)}catch(k){g?m.push(k):g=k}if(e.cancelBubble||v===t||v===null)break;a=v}if(g){for(let k of m)queueMicrotask(()=>{throw k});throw g}}finally{e.__root=t,delete e.currentTarget,pe(c),et(p)}}}function ls(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function $t(e,t){var r=M;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function C(e,t){var r=(t&ca)!==0,n=(t&va)!==0,i,a=!e.startsWith("<!>");return()=>{if(D)return $t(U,null),U;i===void 0&&(i=ls(a?e:"<!>"+e),r||(i=Wt(i)));var s=n||Ni?document.importNode(i,!0):i.cloneNode(!0);if(r){var l=Wt(s),u=s.lastChild;$t(l,u)}else $t(s,s);return s}}function us(e=""){if(!D){var t=pt(e+"");return $t(t,t),t}var r=U;return r.nodeType!==si&&(r.before(r=pt()),Pe(r)),$t(r,r),r}function F(){if(D)return $t(U,null),U;var e=document.createDocumentFragment(),t=document.createComment(""),r=pt();return e.append(t,r),$t(t,r),e}function b(e,t){if(D){M.nodes_end=U,yr();return}e!==null&&e.before(t)}const fs=["touchstart","touchmove"];function cs(e){return fs.includes(e)}function Xi(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function zi(e,t){return Ki(e,t)}function vs(e,t){Nn(),t.intro=t.intro??!1;const r=t.target,n=D,i=U;try{for(var a=Wt(r);a&&(a.nodeType!==mr||a.data!==Qn);)a=kt(a);if(!a)throw nr;Me(!0),Pe(a),yr();const s=Ki(e,{...t,anchor:a});if(U===null||U.nodeType!==mr||U.data!==ln)throw Ur(),nr;return Me(!1),s}catch(s){if(s instanceof Error&&s.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw s;return s!==nr&&console.warn("Failed to hydrate: ",s),t.recover===!1&&Oa(),Nn(),Oi(r),Me(!1),zi(e,t)}finally{Me(n),Pe(i)}}const vr=new Map;function Ki(e,{target:t,anchor:r,props:n={},events:i,context:a,intro:s=!0}){Nn();var l=new Set,u=p=>{for(var g=0;g<p.length;g++){var m=p[g];if(!l.has(m)){l.add(m);var v=cs(m);t.addEventListener(m,Sr,{passive:v});var w=vr.get(m);w===void 0?(document.addEventListener(m,Sr,{passive:v}),vr.set(m,1)):vr.set(m,w+1)}}};u(fn(Gi)),Cn.add(u);var f=void 0,c=Ka(()=>{var p=r??t.appendChild(pt());return ur(()=>{if(a){fi({});var g=Le;g.c=a}i&&(n.$$events=i),D&&$t(p,null),f=e(p,n)||{},D&&(M.nodes_end=U),a&&ci()}),()=>{for(var g of l){t.removeEventListener(g,Sr);var m=vr.get(g);--m===0?(document.removeEventListener(g,Sr),vr.delete(g)):vr.set(g,m)}Cn.delete(u),p!==r&&p.parentNode?.removeChild(p)}});return Rn.set(f,c),f}let Rn=new WeakMap;function ds(e,t){const r=Rn.get(e);return r?(Rn.delete(e),r(t)):Promise.resolve()}function R(e,t,r=!1){D&&yr();var n=e,i=null,a=null,s=re,l=r?bn:0,u=!1;const f=(m,v=!0)=>{u=!0,g(v,m)};var c=null;function p(){c!==null&&(c.lastChild.remove(),n.before(c),c=null);var m=s?i:a,v=s?a:i;m&&An(m),v&&$n(v,()=>{s?a=null:i=null})}const g=(m,v)=>{if(s===(s=m))return;let w=!1;if(D){const Y=oi(n)===on;!!s===Y&&(n=yn(),Pe(n),Me(!1),w=!0)}var T=Ai(),P=n;if(T&&(c=document.createDocumentFragment(),c.append(P=pt())),s?i??=v&&ur(()=>v(P)):a??=v&&ur(()=>v(P)),T){var k=Q,X=s?i:a,j=s?a:i;X&&k.skipped_effects.delete(X),j&&k.skipped_effects.add(j),k.add_callback(p)}else p();w&&Me(!0)};Ri(()=>{u=!1,t(f),u||g(null,null)},l),D&&(n=U)}function bs(e,t,r){for(var n=e.items,i=[],a=t.length,s=0;s<a;s++)On(t[s].e,i,!0);var l=a>0&&i.length===0&&r!==null;if(l){var u=r.parentNode;Oi(u),u.append(r),n.clear(),tt(e,t[0].prev,t[a-1].next)}Li(i,()=>{for(var f=0;f<a;f++){var c=t[f];l||(n.delete(c.k),tt(e,c.prev,c.next)),Qe(c.e,!l)}})}function Zi(e,t,r,n,i,a=null){var s=e,l={flags:t,items:new Map,first:null},u=(t&Zn)!==0;if(u){var f=e;s=D?Pe(Wt(f)):f.appendChild(pt())}D&&yr();var c=null,p=!1,g=new Map,m=Ja(()=>{var P=r();return un(P)?P:P==null?[]:fn(P)}),v,w;function T(){hs(w,v,l,g,s,i,t,n,r),a!==null&&(v.length===0?c?An(c):c=ur(()=>a(s)):c!==null&&$n(c,()=>{c=null}))}Ri(()=>{w??=M,v=o(m);var P=v.length;if(p&&P===0)return;p=P===0;let k=!1;if(D){var X=oi(s)===on;X!==(P===0)&&(s=yn(),Pe(s),Me(!1),k=!0)}if(D){for(var j=null,Y,d=0;d<P;d++){if(U.nodeType===mr&&U.data===ln){s=U,k=!0,Me(!1);break}var $=v[d],G=n($,d);Y=In(U,l,j,null,$,G,d,i,t,r),l.items.set(G,Y),j=Y}P>0&&Pe(yn())}if(D)P===0&&a&&(c=ur(()=>a(s)));else if(Ai()){var Ve=new Set,W=Q;for(d=0;d<P;d+=1){$=v[d],G=n($,d);var ne=l.items.get(G)??g.get(G);ne?(t&(Jr|qr))!==0&&Qi(ne,$,d,t):(Y=In(null,l,null,null,$,G,d,i,t,r,!0),g.set(G,Y)),Ve.add(G)}for(const[N,I]of l.items)Ve.has(N)||W.skipped_effects.add(I.e);W.add_callback(T)}else T();k&&Me(!0),o(m)}),D&&(s=U)}function hs(e,t,r,n,i,a,s,l,u){var f=(s&ua)!==0,c=(s&(Jr|qr))!==0,p=t.length,g=r.items,m=r.first,v=m,w,T=null,P,k=[],X=[],j,Y,d,$;if(f)for($=0;$<p;$+=1)j=t[$],Y=l(j,$),d=g.get(Y),d!==void 0&&(d.a?.measure(),(P??=new Set).add(d));for($=0;$<p;$+=1){if(j=t[$],Y=l(j,$),d=g.get(Y),d===void 0){var G=n.get(Y);if(G!==void 0){n.delete(Y),g.set(Y,G);var Ve=T?T.next:v;tt(r,T,G),tt(r,G,Ve),Mn(G,Ve,i),T=G}else{var W=v?v.e.nodes_start:i;T=In(W,r,T,T===null?r.first:T.next,j,Y,$,a,s,u)}g.set(Y,T),k=[],X=[],v=T.next;continue}if(c&&Qi(d,j,$,s),(d.e.f&Ie)!==0&&(An(d.e),f&&(d.a?.unfix(),(P??=new Set).delete(d))),d!==v){if(w!==void 0&&w.has(d)){if(k.length<X.length){var ne=X[0],N;T=ne.prev;var I=k[0],O=k[k.length-1];for(N=0;N<k.length;N+=1)Mn(k[N],ne,i);for(N=0;N<X.length;N+=1)w.delete(X[N]);tt(r,I.prev,O.next),tt(r,T,I),tt(r,O,ne),v=ne,T=O,$-=1,k=[],X=[]}else w.delete(d),Mn(d,v,i),tt(r,d.prev,d.next),tt(r,d,T===null?r.first:T.next),tt(r,T,d),T=d;continue}for(k=[],X=[];v!==null&&v.k!==Y;)(v.e.f&Ie)===0&&(w??=new Set).add(v),X.push(v),v=v.next;if(v===null)continue;d=v}k.push(d),T=d,v=d.next}if(v!==null||w!==void 0){for(var z=w===void 0?[]:fn(w);v!==null;)(v.e.f&Ie)===0&&z.push(v),v=v.next;var Qt=z.length;if(Qt>0){var er=(s&Zn)!==0&&p===0?i:null;if(f){for($=0;$<Qt;$+=1)z[$].a?.measure();for($=0;$<Qt;$+=1)z[$].a?.fix()}bs(r,z,er)}}f&&hi(()=>{if(P!==void 0)for(d of P)d.a?.apply()}),e.first=r.first&&r.first.e,e.last=T&&T.e;for(var Dn of n.values())Qe(Dn.e);n.clear()}function Qi(e,t,r,n){(n&Jr)!==0&&Er(e.v,t),(n&qr)!==0?Er(e.i,r):e.i=r}function In(e,t,r,n,i,a,s,l,u,f,c){var p=(u&Jr)!==0,g=(u&fa)===0,m=p?g?xi(i,!1,!1):wr(i):i,v=(u&qr)===0?s:wr(s),w={i:v,v:m,k:a,a:null,e:null,prev:r,next:n};try{if(e===null){var T=document.createDocumentFragment();T.append(e=pt())}return w.e=ur(()=>l(e,m,v,f),D),w.e.prev=r&&r.e,w.e.next=n&&n.e,r===null?c||(t.first=w):(r.next=w,r.e.next=w.e),n!==null&&(n.prev=w,n.e.prev=w.e),w}finally{}}function Mn(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 s=kt(a);i.before(a),a=s}}function tt(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 Pn(e,t,r,n,i){D&&yr();var a=t.$$slots?.[r],s=!1;a===!0&&(a=t[r==="default"?"children":r],s=!0),a===void 0?i!==null&&i(e):a(e,s?()=>n:n)}function _s(e,t){Za(()=>{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 ps(e,t,r){var n=e==null?"":""+e;return n===""?null:n}function ms(e,t){return e==null?null:String(e)}function q(e,t,r,n,i,a){var s=e.__className;if(D||s!==r||s===void 0){var l=ps(r);(!D||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=r}return a}function J(e,t,r,n){var i=e.__style;if(D||i!==t){var a=ms(t);(!D||a!==e.getAttribute("style"))&&(a==null?e.removeAttribute("style"):e.style.cssText=a),e.__style=t}return n}const ys=Symbol("is custom element"),gs=Symbol("is html");function Ln(e,t,r,n){var i=ws(e);D&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Ea]=r),r==null?e.removeAttribute(t):typeof r!="string"&&ea(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function y(e,t,r){var n=L,i=M;let a=D;D&&Me(!1),pe(null),et(null);try{t!=="style"&&(Vn.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?ea(e).includes(t):r&&typeof r=="object")?e[t]=r:Ln(e,t,r==null?r:String(r))}finally{pe(n),et(i),a&&Me(!0)}}function ws(e){return e.__attributes??={[ys]:e.nodeName.includes("-"),[gs]:e.namespaceURI===da}}var Vn=new Map;function ea(e){var t=e.getAttribute("is")||e.nodeName,r=Vn.get(t);if(r)return r;Vn.set(t,r=[]);for(var n,i=e,a=Element.prototype;a!==i;){n=ha(i);for(var s in n)n[s].set&&r.push(s);i=ti(i)}return r}function Zt(e,t,r,n){var i=n,a=!0,s=()=>(a&&(a=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=s());var u;u=()=>{var g=e[t];return g===void 0?s():(a=!0,g)};var f=!1,c=Gr(()=>(f=!1,u())),p=M;return(function(g,m){if(arguments.length>0){const v=m?o(c):g;return ve(c,v),f=!0,i!==void 0&&(i=v),g}return Xt&&f||(p.f&Ht)!==0?c.v:o(c)})}function Es(e){return new xs(e)}class xs{#t;#e;constructor(t){var r=new Map,n=(a,s)=>{var l=xi(s,!1,!1);return r.set(a,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(a,s){return o(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===wa?!0:(o(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,l){return ve(r.get(s)??n(s,l),l),Reflect.set(a,s,l)}});this.#e=(t.hydrate?vs:zi)(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)&&xt(),this.#t=i.$$events;for(const a of Object.keys(this.#e))a==="$set"||a==="$destroy"||a==="$on"||ir(this,a,{get(){return this.#e[a]},set(s){this.#e[a]=s},enumerable:!0});this.#e.$set=a=>{Object.assign(i,a)},this.#e.$destroy=()=>{ds(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 ta;typeof HTMLElement=="function"&&(ta=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),b(i,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Ss(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]=tn(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=Es({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=za(()=>{es(()=>{this.$$r=!0;for(const n of Hr(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=tn(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]=tn(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 Hr(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function tn(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 Ss(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ks(e,t,r,n,i,a){let s=class extends ta{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Hr(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Hr(t).forEach(l=>{ir(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){u=tn(l,u,t),this.$$d[l]=u;var f=this.$$c;if(f){var c=ar(f,l)?.get;c?f[l]=u:f.$set({[l]:u})}}})}),n.forEach(l=>{ir(s.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=s,s}const oe={version:"0.61.36"},Ns=(e,t)=>e.reduce((r,n)=>{for(const i of t(n))(r[i]=r[i]||[]).push(n);return r},{});function le(e){const t=e?.repoName.split("/")?.[1]||e?.repoName;if(!t)throw new Error("wrong componentPath "+e?.repoName);if(!e?.version)throw new Error("wrong version "+e?.version);const r=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");if(n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}function Ts(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dr={},jn,ra;function $s(){if(ra)return jn;ra=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u=`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw s;return s!==nr&&console.warn("Failed to hydrate: ",s),t.recover===!1&&Oa(),Nn(),Oi(r),Me(!1),zi(e,t)}finally{Me(n),Pe(i)}}const vr=new Map;function Ki(e,{target:t,anchor:r,props:n={},events:i,context:a,intro:s=!0}){Nn();var l=new Set,u=p=>{for(var g=0;g<p.length;g++){var m=p[g];if(!l.has(m)){l.add(m);var v=cs(m);t.addEventListener(m,Sr,{passive:v});var w=vr.get(m);w===void 0?(document.addEventListener(m,Sr,{passive:v}),vr.set(m,1)):vr.set(m,w+1)}}};u(fn(Gi)),Cn.add(u);var f=void 0,c=Ka(()=>{var p=r??t.appendChild(pt());return ur(()=>{if(a){fi({});var g=Le;g.c=a}i&&(n.$$events=i),D&&$t(p,null),f=e(p,n)||{},D&&(M.nodes_end=U),a&&ci()}),()=>{for(var g of l){t.removeEventListener(g,Sr);var m=vr.get(g);--m===0?(document.removeEventListener(g,Sr),vr.delete(g)):vr.set(g,m)}Cn.delete(u),p!==r&&p.parentNode?.removeChild(p)}});return Rn.set(f,c),f}let Rn=new WeakMap;function ds(e,t){const r=Rn.get(e);return r?(Rn.delete(e),r(t)):Promise.resolve()}function R(e,t,r=!1){D&&yr();var n=e,i=null,a=null,s=re,l=r?bn:0,u=!1;const f=(m,v=!0)=>{u=!0,g(v,m)};var c=null;function p(){c!==null&&(c.lastChild.remove(),n.before(c),c=null);var m=s?i:a,v=s?a:i;m&&An(m),v&&$n(v,()=>{s?a=null:i=null})}const g=(m,v)=>{if(s===(s=m))return;let w=!1;if(D){const Y=oi(n)===on;!!s===Y&&(n=yn(),Pe(n),Me(!1),w=!0)}var T=Ai(),P=n;if(T&&(c=document.createDocumentFragment(),c.append(P=pt())),s?i??=v&&ur(()=>v(P)):a??=v&&ur(()=>v(P)),T){var k=Q,X=s?i:a,j=s?a:i;X&&k.skipped_effects.delete(X),j&&k.skipped_effects.add(j),k.add_callback(p)}else p();w&&Me(!0)};Ri(()=>{u=!1,t(f),u||g(null,null)},l),D&&(n=U)}function bs(e,t,r){for(var n=e.items,i=[],a=t.length,s=0;s<a;s++)On(t[s].e,i,!0);var l=a>0&&i.length===0&&r!==null;if(l){var u=r.parentNode;Oi(u),u.append(r),n.clear(),tt(e,t[0].prev,t[a-1].next)}Li(i,()=>{for(var f=0;f<a;f++){var c=t[f];l||(n.delete(c.k),tt(e,c.prev,c.next)),Qe(c.e,!l)}})}function Zi(e,t,r,n,i,a=null){var s=e,l={flags:t,items:new Map,first:null},u=(t&Zn)!==0;if(u){var f=e;s=D?Pe(Wt(f)):f.appendChild(pt())}D&&yr();var c=null,p=!1,g=new Map,m=Ja(()=>{var P=r();return un(P)?P:P==null?[]:fn(P)}),v,w;function T(){hs(w,v,l,g,s,i,t,n,r),a!==null&&(v.length===0?c?An(c):c=ur(()=>a(s)):c!==null&&$n(c,()=>{c=null}))}Ri(()=>{w??=M,v=o(m);var P=v.length;if(p&&P===0)return;p=P===0;let k=!1;if(D){var X=oi(s)===on;X!==(P===0)&&(s=yn(),Pe(s),Me(!1),k=!0)}if(D){for(var j=null,Y,d=0;d<P;d++){if(U.nodeType===mr&&U.data===ln){s=U,k=!0,Me(!1);break}var $=v[d],G=n($,d);Y=In(U,l,j,null,$,G,d,i,t,r),l.items.set(G,Y),j=Y}P>0&&Pe(yn())}if(D)P===0&&a&&(c=ur(()=>a(s)));else if(Ai()){var Ve=new Set,W=Q;for(d=0;d<P;d+=1){$=v[d],G=n($,d);var ne=l.items.get(G)??g.get(G);ne?(t&(Jr|qr))!==0&&Qi(ne,$,d,t):(Y=In(null,l,null,null,$,G,d,i,t,r,!0),g.set(G,Y)),Ve.add(G)}for(const[N,I]of l.items)Ve.has(N)||W.skipped_effects.add(I.e);W.add_callback(T)}else T();k&&Me(!0),o(m)}),D&&(s=U)}function hs(e,t,r,n,i,a,s,l,u){var f=(s&ua)!==0,c=(s&(Jr|qr))!==0,p=t.length,g=r.items,m=r.first,v=m,w,T=null,P,k=[],X=[],j,Y,d,$;if(f)for($=0;$<p;$+=1)j=t[$],Y=l(j,$),d=g.get(Y),d!==void 0&&(d.a?.measure(),(P??=new Set).add(d));for($=0;$<p;$+=1){if(j=t[$],Y=l(j,$),d=g.get(Y),d===void 0){var G=n.get(Y);if(G!==void 0){n.delete(Y),g.set(Y,G);var Ve=T?T.next:v;tt(r,T,G),tt(r,G,Ve),Mn(G,Ve,i),T=G}else{var W=v?v.e.nodes_start:i;T=In(W,r,T,T===null?r.first:T.next,j,Y,$,a,s,u)}g.set(Y,T),k=[],X=[],v=T.next;continue}if(c&&Qi(d,j,$,s),(d.e.f&Ie)!==0&&(An(d.e),f&&(d.a?.unfix(),(P??=new Set).delete(d))),d!==v){if(w!==void 0&&w.has(d)){if(k.length<X.length){var ne=X[0],N;T=ne.prev;var I=k[0],O=k[k.length-1];for(N=0;N<k.length;N+=1)Mn(k[N],ne,i);for(N=0;N<X.length;N+=1)w.delete(X[N]);tt(r,I.prev,O.next),tt(r,T,I),tt(r,O,ne),v=ne,T=O,$-=1,k=[],X=[]}else w.delete(d),Mn(d,v,i),tt(r,d.prev,d.next),tt(r,d,T===null?r.first:T.next),tt(r,T,d),T=d;continue}for(k=[],X=[];v!==null&&v.k!==Y;)(v.e.f&Ie)===0&&(w??=new Set).add(v),X.push(v),v=v.next;if(v===null)continue;d=v}k.push(d),T=d,v=d.next}if(v!==null||w!==void 0){for(var z=w===void 0?[]:fn(w);v!==null;)(v.e.f&Ie)===0&&z.push(v),v=v.next;var Qt=z.length;if(Qt>0){var er=(s&Zn)!==0&&p===0?i:null;if(f){for($=0;$<Qt;$+=1)z[$].a?.measure();for($=0;$<Qt;$+=1)z[$].a?.fix()}bs(r,z,er)}}f&&hi(()=>{if(P!==void 0)for(d of P)d.a?.apply()}),e.first=r.first&&r.first.e,e.last=T&&T.e;for(var Dn of n.values())Qe(Dn.e);n.clear()}function Qi(e,t,r,n){(n&Jr)!==0&&Er(e.v,t),(n&qr)!==0?Er(e.i,r):e.i=r}function In(e,t,r,n,i,a,s,l,u,f,c){var p=(u&Jr)!==0,g=(u&fa)===0,m=p?g?xi(i,!1,!1):wr(i):i,v=(u&qr)===0?s:wr(s),w={i:v,v:m,k:a,a:null,e:null,prev:r,next:n};try{if(e===null){var T=document.createDocumentFragment();T.append(e=pt())}return w.e=ur(()=>l(e,m,v,f),D),w.e.prev=r&&r.e,w.e.next=n&&n.e,r===null?c||(t.first=w):(r.next=w,r.e.next=w.e),n!==null&&(n.prev=w,n.e.prev=w.e),w}finally{}}function Mn(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 s=kt(a);i.before(a),a=s}}function tt(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 Pn(e,t,r,n,i){D&&yr();var a=t.$$slots?.[r],s=!1;a===!0&&(a=t[r==="default"?"children":r],s=!0),a===void 0?i!==null&&i(e):a(e,s?()=>n:n)}function _s(e,t){Za(()=>{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 ps(e,t,r){var n=e==null?"":""+e;return n===""?null:n}function ms(e,t){return e==null?null:String(e)}function q(e,t,r,n,i,a){var s=e.__className;if(D||s!==r||s===void 0){var l=ps(r);(!D||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=r}return a}function J(e,t,r,n){var i=e.__style;if(D||i!==t){var a=ms(t);(!D||a!==e.getAttribute("style"))&&(a==null?e.removeAttribute("style"):e.style.cssText=a),e.__style=t}return n}const ys=Symbol("is custom element"),gs=Symbol("is html");function Ln(e,t,r,n){var i=ws(e);D&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Ea]=r),r==null?e.removeAttribute(t):typeof r!="string"&&ea(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function y(e,t,r){var n=L,i=M;let a=D;D&&Me(!1),pe(null),et(null);try{t!=="style"&&(Vn.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?ea(e).includes(t):r&&typeof r=="object")?e[t]=r:Ln(e,t,r==null?r:String(r))}finally{pe(n),et(i),a&&Me(!0)}}function ws(e){return e.__attributes??={[ys]:e.nodeName.includes("-"),[gs]:e.namespaceURI===da}}var Vn=new Map;function ea(e){var t=e.getAttribute("is")||e.nodeName,r=Vn.get(t);if(r)return r;Vn.set(t,r=[]);for(var n,i=e,a=Element.prototype;a!==i;){n=ha(i);for(var s in n)n[s].set&&r.push(s);i=ti(i)}return r}function Zt(e,t,r,n){var i=n,a=!0,s=()=>(a&&(a=!1,i=n),i),l;l=e[t],l===void 0&&n!==void 0&&(l=s());var u;u=()=>{var g=e[t];return g===void 0?s():(a=!0,g)};var f=!1,c=Gr(()=>(f=!1,u())),p=M;return(function(g,m){if(arguments.length>0){const v=m?o(c):g;return ve(c,v),f=!0,i!==void 0&&(i=v),g}return Xt&&f||(p.f&Ht)!==0?c.v:o(c)})}function Es(e){return new xs(e)}class xs{#t;#e;constructor(t){var r=new Map,n=(a,s)=>{var l=xi(s,!1,!1);return r.set(a,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(a,s){return o(r.get(s)??n(s,Reflect.get(a,s)))},has(a,s){return s===wa?!0:(o(r.get(s)??n(s,Reflect.get(a,s))),Reflect.has(a,s))},set(a,s,l){return ve(r.get(s)??n(s,l),l),Reflect.set(a,s,l)}});this.#e=(t.hydrate?vs:zi)(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)&&xt(),this.#t=i.$$events;for(const a of Object.keys(this.#e))a==="$set"||a==="$destroy"||a==="$on"||ir(this,a,{get(){return this.#e[a]},set(s){this.#e[a]=s},enumerable:!0});this.#e.$set=a=>{Object.assign(i,a)},this.#e.$destroy=()=>{ds(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 ta;typeof HTMLElement=="function"&&(ta=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),b(i,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Ss(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]=tn(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=Es({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=za(()=>{es(()=>{this.$$r=!0;for(const n of Hr(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=tn(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]=tn(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 Hr(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function tn(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 Ss(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function ks(e,t,r,n,i,a){let s=class extends ta{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Hr(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Hr(t).forEach(l=>{ir(s.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){u=tn(l,u,t),this.$$d[l]=u;var f=this.$$c;if(f){var c=ar(f,l)?.get;c?f[l]=u:f.$set({[l]:u})}}})}),n.forEach(l=>{ir(s.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=s,s}const oe={version:"0.61.37"},Ns=(e,t)=>e.reduce((r,n)=>{for(const i of t(n))(r[i]=r[i]||[]).push(n);return r},{});function le(e){const t=e?.repoName.split("/")?.[1]||e?.repoName;if(!t)throw new Error("wrong componentPath "+e?.repoName);if(!e?.version)throw new Error("wrong version "+e?.version);const r=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");if(n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}function Ts(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dr={},jn,ra;function $s(){if(ra)return jn;ra=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u=`
|
|
3
3
|
`,f="/",c="*",p="",g="comment",m="declaration";jn=function(w,T){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];T=T||{};var P=1,k=1;function X(I){var O=I.match(t);O&&(P+=O.length);var z=I.lastIndexOf(u);k=~z?I.length-z:k+I.length}function j(){var I={line:P,column:k};return function(O){return O.position=new Y(I),G(),O}}function Y(I){this.start=I,this.end={line:P,column:k},this.source=T.source}Y.prototype.content=w;function d(I){var O=new Error(T.source+":"+P+":"+k+": "+I);if(O.reason=I,O.filename=T.source,O.line=P,O.column=k,O.source=w,!T.silent)throw O}function $(I){var O=I.exec(w);if(O){var z=O[0];return X(z),w=w.slice(z.length),O}}function G(){$(r)}function Ve(I){var O;for(I=I||[];O=W();)O!==!1&&I.push(O);return I}function W(){var I=j();if(!(f!=w.charAt(0)||c!=w.charAt(1))){for(var O=2;p!=w.charAt(O)&&(c!=w.charAt(O)||f!=w.charAt(O+1));)++O;if(O+=2,p===w.charAt(O-1))return d("End of comment missing");var z=w.slice(2,O-2);return k+=2,X(z),w=w.slice(O),k+=2,I({type:g,comment:z})}}function ne(){var I=j(),O=$(n);if(O){if(W(),!$(i))return d("property missing ':'");var z=$(a),Qt=I({type:m,property:v(O[0].replace(e,p)),value:z?v(z[0].replace(e,p)):p});return $(s),Qt}}function N(){var I=[];Ve(I);for(var O;O=ne();)O!==!1&&(I.push(O),Ve(I));return I}return G(),N()};function v(w){return w?w.replace(l,p):p}return jn}var na;function Os(){if(na)return dr;na=1;var e=dr&&dr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(dr,"__esModule",{value:!0}),dr.default=r;var t=e($s());function r(n,i){var a=null;if(!n||typeof n!="string")return a;var s=(0,t.default)(n),l=typeof i=="function";return s.forEach(function(u){if(u.type==="declaration"){var f=u.property,c=u.value;l?i(f,c,u):c&&(a=a||{},a[f]=c)}}),a}return dr}var As=Os();const ia=Ts(As);ia.default;var Cs=C('<label class="svelte-58vy9y"> </label>'),Rs=C("<hb-input-array-objects></hb-input-array-objects>",2),Is=C("<hb-input-array-tags></hb-input-array-tags>",2),Ms=C("<hb-input-text></hb-input-text>",2),Ps=C("<hb-input-color></hb-input-color>",2),Ls=C("<hb-input-range></hb-input-range>",2),Vs=C("<hb-input-file></hb-input-file>",2),js=C("<hb-input-email></hb-input-email>",2),Ds=C("<hb-input-date></hb-input-date>",2),Fs=C("<hb-input-datetime></hb-input-datetime>",2),Js=C("<hb-input-checkbox></hb-input-checkbox>",2),qs=C("<hb-input-number></hb-input-number>",2),Hs=C("<hb-input-area></hb-input-area>",2),Bs=C("<hb-input-radio></hb-input-radio>",2),Us=C("<hb-input-select></hb-input-select>",2),Ys=C("<hb-input-coords></hb-input-coords>",2),Gs=C('<div class="col mb-3 svelte-58vy9y"><!> <!></div>'),Ws=C('<div class="row svelte-58vy9y"></div>'),Xs=C('<label class="svelte-58vy9y"> </label>'),zs=C("<hb-input-text></hb-input-text>",2),Ks=C("<hb-input-array-objects></hb-input-array-objects>",2),Zs=C("<hb-input-array-tags></hb-input-array-tags>",2),Qs=C("<hb-input-color></hb-input-color>",2),eo=C("<hb-input-range></hb-input-range>",2),to=C("<hb-input-file></hb-input-file>",2),ro=C("<hb-input-email></hb-input-email>",2),no=C("<hb-input-date></hb-input-date>",2),io=C("<hb-input-datetime></hb-input-datetime>",2),ao=C("<hb-input-checkbox></hb-input-checkbox>",2),so=C("<hb-input-number></hb-input-number>",2),oo=C("<hb-input-area></hb-input-area>",2),lo=C("<hb-input-radio></hb-input-radio>",2),uo=C("<hb-input-select></hb-input-select>",2),fo=C("<hb-input-coords></hb-input-coords>",2),co=C('<div class="col mb-3 svelte-58vy9y"><!> <!></div>'),vo=(e,t)=>t(),bo=C('<button part="main_button" type="button" class="btn btn-primary svelte-58vy9y"><!></button>'),ho=C('<div id="button_container" part="button_container" class="svelte-58vy9y"><span class="svelte-58vy9y"><!></span> <!></div>'),_o=C("<!> <!>",1),po=C('<div class="container-fluid svelte-58vy9y"><!></div>');const mo={hash:"svelte-58vy9y",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
4
4
|
/*!
|
|
5
5
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
package/manifest.json
CHANGED