@htmlbricks/hb-funnel 0.65.19 → 0.65.20
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(Tt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Rr=1,Or=2,St="[",it="[!",At="]",me={},x=Symbol(),Lr="http://www.w3.org/1999/xhtml",ot=!1;var Mr=Array.isArray,Dr=Array.prototype.indexOf,Pr=Array.from,Be=Object.keys,Ue=Object.defineProperty,we=Object.getOwnPropertyDescriptor,jr=Object.getOwnPropertyDescriptors,Fr=Object.prototype,Ir=Array.prototype,Ct=Object.getPrototypeOf,Rt=Object.isExtensible;function qr(e){for(var t=0;t<e.length;t++)e[t]()}function Ot(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const k=2,at=4,lt=8,J=16,K=32,se=64,He=128,I=512,E=1024,A=2048,X=4096,H=8192,Z=16384,Ye=32768,ye=65536,Lt=1<<17,Mt=1<<18,ue=1<<19,Br=1<<20,ce=32768,ft=1<<21,ut=1<<22,ie=1<<23,ct=Symbol("$state"),Ur=Symbol("legacy props"),Hr=Symbol(""),$e=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Dt=3,Ce=8;function Yr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Vr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function zr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Wr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Gr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Jr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Kr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Xr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Zr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Qr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ve(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function en(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let p=!1;function oe(e){p=e}let m;function Y(e){if(e===null)throw Ve(),me;return m=e}function dt(){return Y(ee(m))}function ht(e){if(p){if(ee(m)!==null)throw Ve(),me;m=e}}function tn(e=1){if(p){for(var t=e,r=m;t--;)r=ee(r);m=r}}function Pt(e=!0){for(var t=0,r=m;;){if(r.nodeType===Ce){var n=r.data;if(n===At){if(t===0)return r;t-=1}else(n===St||n===it)&&(t+=1)}var s=ee(r);e&&r.remove(),r=s}}function rn(e){if(!e||e.nodeType!==Ce)throw Ve(),me;return e.data}function jt(e){return e===this.v}function nn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function sn(e){return!nn(e,this.v)}let on=!1,L=null;function ke(e){L=e}function Ft(e,t=!1,r){L={p:L,i:!1,c:null,e:null,s:e,x:null,l:null}}function It(e){var t=L,r=t.e;if(r!==null){t.e=null;for(var n of r)nr(n)}return e!==void 0&&(t.x=e),t.i=!0,L=t.p,e??{}}function qt(){return!0}let de=[];function Bt(){var e=de;de=[],qr(e)}function ze(e){if(de.length===0&&!Re){var t=de;queueMicrotask(()=>{t===de&&Bt()})}de.push(e)}function an(){for(;de.length>0;)Bt()}function Ut(e){var t=v;if(t===null)return b.f|=ie,e;if((t.f&Ye)===0){if((t.f&He)===0)throw e;t.b.error(e)}else xe(e,t)}function xe(e,t){for(;t!==null;){if((t.f&He)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const We=new Set;let y=null,M=null,D=[],Ge=null,bt=!1,Re=!1;class q{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#l=null;#i=[];#s=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#n>0}process(t){D=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#o(n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects)):(y=null,Yt(r.render_effects),Yt(r.effects),this.#l?.resolve()),M=null}#o(t,r){t.f^=E;for(var n=t.first;n!==null;){var s=n.f,i=(s&(K|se))!==0,o=i&&(s&E)!==0,a=o||(s&H)!==0||this.skipped_effects.has(n);if((n.f&He)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!a&&n.fn!==null){i?n.f^=E:(s&at)!==0?r.effects.push(n):Pe(n)&&((n.f&J)!==0&&r.block_effects.push(n),je(n));var l=n.first;if(l!==null){n=l;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)f===r.effect&&(this.#a(r.effects),this.#a(r.render_effects),this.#a(r.block_effects),r=r.parent),n=f.next,f=f.parent}}#a(t){for(const r of t)((r.f&A)!==0?this.#i:this.#s).push(r),this.#f(r.deps),T(r,E)}#f(t){if(t!==null)for(const r of t)(r.f&k)===0||(r.f&ce)===0||(r.f^=ce,this.#f(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&ie)===0&&(this.current.set(t,t.v),M?.set(t,t.v))}activate(){y=this,this.apply()}deactivate(){y===this&&(y=null,M=null)}flush(){if(this.activate(),D.length>0){if(Ht(),y!==null&&y!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(We.size>1){this.previous.clear();var t=M,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of We){if(i===this){r=!1;continue}const o=[];for(const[l,f]of this.current){if(i.current.has(l))if(r&&f!==i.current.get(l))i.current.set(l,f);else continue;o.push(l)}if(o.length===0)continue;const a=[...i.current.keys()].filter(l=>!this.current.has(l));if(a.length>0){var s=D;D=[];const l=new Set,f=new Map;for(const c of o)Vt(c,a,l,f);if(D.length>0){y=i,i.apply();for(const c of D)i.#o(c,n);i.deactivate()}D=s}}y=null,M=t}this.committed=!0,We.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#i)T(t,A),he(t);for(const t of this.#s)T(t,X),he(t);this.#i=[],this.#s=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=Ot()).promise}static ensure(){if(y===null){const t=y=new q;We.add(y),Re||q.enqueue(()=>{y===t&&t.flush()})}return y}static enqueue(t){ze(t)}apply(){}}function Ee(e){var t=Re;Re=!0;try{for(var r;;){if(an(),D.length===0&&(y?.flush(),D.length===0))return Ge=null,r;Ht()}}finally{Re=t}}function Ht(){var e=fe;bt=!0;var t=null;try{var r=0;for(Qe(!0);D.length>0;){var n=q.ensure();if(r++>1e3){var s,i;ln()}n.process(D),ae.clear()}}finally{bt=!1,Qe(e),Ge=null}}function ln(){try{Gr()}catch(e){xe(e,Ge)}}let Q=null;function Yt(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Z|H))===0&&Pe(n)&&(Q=new Set,je(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?lr(n):n.fn=null),Q?.size>0)){ae.clear();for(const s of Q){if((s.f&(Z|H))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)Q.has(o)&&(Q.delete(o),i.push(o)),o=o.parent;for(let a=i.length-1;a>=0;a--){const l=i[a];(l.f&(Z|H))===0&&je(l)}}Q.clear()}}Q=null}}function Vt(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&k)!==0?Vt(s,t,r,n):(i&(ut|J))!==0&&(i&A)===0&&zt(s,t,n)&&(T(s,A),he(s))}}function zt(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&k)!==0&&zt(s,t,r))return r.set(s,!0),!0}return r.set(e,!1),!1}function he(e){for(var t=Ge=e;t.parent!==null;){t=t.parent;var r=t.f;if(bt&&t===v&&(r&J)!==0&&(r&Mt)===0)return;if((r&(se|K))!==0){if((r&E)===0)return;t.f^=E}}D.push(t)}function fn(e){let t=0,r=Oe(0),n;return()=>{Xe()&&(g(r),sr(()=>(t===0&&(n=Dn(()=>e(()=>Le(r)))),t+=1,()=>{ze(()=>{t-=1,t===0&&(n?.(),n=void 0,Le(r))})})))}}var un=ye|ue|He;function cn(e,t,r){new dn(e,t,r)}class dn{parent;#t=!1;#e;#r=p?m:null;#n;#l;#i;#s=null;#o=null;#a=null;#f=null;#u=null;#c=0;#d=0;#b=!1;#h=null;#m=fn(()=>(this.#h=Oe(this.#c),()=>{this.#h=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#l=n,this.parent=v.b,this.#t=!!this.#n.pending,this.#i=ir(()=>{if(v.b=this,p){const i=this.#r;dt(),i.nodeType===Ce&&i.data===it?this.#y():this.#w()}else{var s=this.#p();try{this.#s=te(()=>n(s))}catch(i){this.error(i)}this.#d>0?this.#_():this.#t=!1}return()=>{this.#u?.remove()}},un),p&&(this.#e=m)}#w(){try{this.#s=te(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#y(){const t=this.#n.pending;t&&(this.#o=te(()=>t(this.#e)),q.enqueue(()=>{var r=this.#p();this.#s=this.#v(()=>(q.ensure(),te(()=>this.#l(r)))),this.#d>0?this.#_():(Me(this.#o,()=>{this.#o=null}),this.#t=!1)}))}#p(){var t=this.#e;return this.#t&&(this.#u=le(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#v(t){var r=v,n=b,s=L;P(this.#i),N(this.#i),ke(this.#i.ctx);try{return t()}catch(i){return Ut(i),null}finally{P(r),N(n),ke(s)}}#_(){const t=this.#n.pending;this.#s!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),cr(this.#s,this.#f)),this.#o===null&&(this.#o=te(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#d+=t,this.#d===0&&(this.#t=!1,this.#o&&Me(this.#o,()=>{this.#o=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#h&&Ke(this.#h,this.#c)}get_effect_pending(){return this.#m(),g(this.#h)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#b||!r&&!n)throw t;this.#s&&(C(this.#s),this.#s=null),this.#o&&(C(this.#o),this.#o=null),this.#a&&(C(this.#a),this.#a=null),p&&(Y(this.#r),tn(),Y(Pt()));var s=!1,i=!1;const o=()=>{if(s){en();return}s=!0,i&&Qr(),q.ensure(),this.#c=0,this.#a!==null&&Me(this.#a,()=>{this.#a=null}),this.#t=this.has_pending_snippet(),this.#s=this.#v(()=>(this.#b=!1,te(()=>this.#l(this.#e)))),this.#d>0?this.#_():this.#t=!1};var a=b;try{N(null),i=!0,r?.(t,o),i=!1}catch(l){xe(l,this.#i&&this.#i.parent)}finally{N(a)}n&&ze(()=>{this.#a=this.#v(()=>{q.ensure(),this.#b=!0;try{return te(()=>{n(this.#e,()=>t,()=>o)})}catch(l){return xe(l,this.#i.parent),null}finally{this.#b=!1}})})}}function hn(e,t,r,n){const s=vt;if(r.length===0&&e.length===0){n(t.map(s));return}var i=y,o=v,a=bn();function l(){Promise.all(r.map(f=>vn(f))).then(f=>{a();try{n([...t.map(s),...f])}catch(c){(o.f&Z)===0&&xe(c,o)}i?.deactivate(),Je()}).catch(f=>{xe(f,o)})}e.length>0?Promise.all(e).then(()=>{a();try{return l()}finally{i?.deactivate(),Je()}}):l()}function bn(){var e=v,t=b,r=L,n=y;return function(i=!0){P(e),N(t),ke(r),i&&n?.activate()}}function Je(){P(null),N(null),ke(null)}function vt(e){var t=k|A,r=b!==null&&(b.f&k)!==0?b:null;return v!==null&&(v.f|=ue),{ctx:L,deps:null,effects:null,equals:jt,f:t,fn:e,reactions:null,rv:0,v:x,wv:0,parent:r??v,ac:null}}function vn(e,t){let r=v;r===null&&Yr();var n=r.b,s=void 0,i=Oe(x),o=!b,a=new Map;return Sn(()=>{var l=Ot();s=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===y&&f.committed&&f.deactivate(),Je()})}catch(u){l.reject(u),Je()}var f=y;if(o){var c=!n.is_pending();n.update_pending_count(1),f.increment(c),a.get(f)?.reject($e),a.delete(f),a.set(f,l)}const h=(u,d=void 0)=>{if(f.activate(),d)d!==$e&&(i.f|=ie,Ke(i,d));else{(i.f&ie)!==0&&(i.f^=ie),Ke(i,u);for(const[w,F]of a){if(a.delete(w),w===f)break;F.reject($e)}}o&&(n.update_pending_count(-1),f.decrement(c))};l.promise.then(h,u=>h(null,u||"unknown"))}),rr(()=>{for(const l of a.values())l.reject($e)}),new Promise(l=>{function f(c){function h(){c===s?l(i):f(s)}c.then(h,h)}f(s)})}function _n(e){const t=vt(e);return hr(t),t}function Wt(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)C(t[r])}}function pn(e){for(var t=e.parent;t!==null;){if((t.f&k)===0)return(t.f&Z)===0?t:null;t=t.parent}return null}function _t(e){var t,r=v;P(pn(e));try{e.f&=~ce,Wt(e),t=gr(e)}finally{P(r)}return t}function Gt(e){var t=_t(e);if(e.equals(t)||(y?.is_fork||(e.v=t),e.wv=_r()),!ve)if(M!==null)Xe()&&M.set(e,t);else{var r=(e.f&I)===0?X:E;T(e,r)}}let pt=new Set;const ae=new Map;let Jt=!1;function Oe(e,t){var r={f:0,v:e,reactions:null,equals:jt,rv:0,wv:0};return r}function B(e,t){const r=Oe(e);return hr(r),r}function gn(e,t=!1,r=!0){const n=Oe(e);return t||(n.equals=sn),n}function V(e,t,r=!1){b!==null&&(!W||(b.f&Lt)!==0)&&qt()&&(b.f&(k|J|ut|Lt))!==0&&!re?.includes(e)&&Zr();let n=r?be(t):t;return Ke(e,n)}function Ke(e,t){if(!e.equals(t)){var r=e.v;ve?ae.set(e,t):ae.set(e,r),e.v=t;var n=q.ensure();n.capture(e,r),(e.f&k)!==0&&((e.f&A)!==0&&_t(e),T(e,(e.f&I)!==0?E:X)),e.wv=_r(),Kt(e,A),v!==null&&(v.f&E)!==0&&(v.f&(K|se))===0&&(j===null?Ln([e]):j.push(e)),!n.is_fork&&pt.size>0&&!Jt&&mn()}return t}function mn(){Jt=!1;var e=fe;Qe(!0);const t=Array.from(pt);try{for(const r of t)(r.f&E)!==0&&T(r,X),Pe(r)&&je(r)}finally{Qe(e)}pt.clear()}function Le(e){V(e,e.v+1)}function Kt(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],o=i.f,a=(o&A)===0;if(a&&T(i,t),(o&k)!==0){var l=i;M?.delete(l),(o&ce)===0&&(o&I&&(i.f|=ce),Kt(l,X))}else a&&((o&J)!==0&&Q!==null&&Q.add(i),he(i))}}function be(e){if(typeof e!="object"||e===null||ct in e)return e;const t=Ct(e);if(t!==Fr&&t!==Ir)return e;var r=new Map,n=Mr(e),s=B(0),i=_e,o=a=>{if(_e===i)return a();var l=b,f=_e;N(null),vr(i);var c=a();return N(l),vr(f),c};return n&&r.set("length",B(e.length)),new Proxy(e,{defineProperty(a,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Kr();var c=r.get(l);return c===void 0?c=o(()=>{var h=B(f.value);return r.set(l,h),h}):V(c,f.value,!0),!0},deleteProperty(a,l){var f=r.get(l);if(f===void 0){if(l in a){const c=o(()=>B(x));r.set(l,c),Le(s)}}else V(f,x),Le(s);return!0},get(a,l,f){if(l===ct)return e;var c=r.get(l),h=l in a;if(c===void 0&&(!h||we(a,l)?.writable)&&(c=o(()=>{var d=be(h?a[l]:x),w=B(d);return w}),r.set(l,c)),c!==void 0){var u=g(c);return u===x?void 0:u}return Reflect.get(a,l,f)},getOwnPropertyDescriptor(a,l){var f=Reflect.getOwnPropertyDescriptor(a,l);if(f&&"value"in f){var c=r.get(l);c&&(f.value=g(c))}else if(f===void 0){var h=r.get(l),u=h?.v;if(h!==void 0&&u!==x)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(a,l){if(l===ct)return!0;var f=r.get(l),c=f!==void 0&&f.v!==x||Reflect.has(a,l);if(f!==void 0||v!==null&&(!c||we(a,l)?.writable)){f===void 0&&(f=o(()=>{var u=c?be(a[l]):x,d=B(u);return d}),r.set(l,f));var h=g(f);if(h===x)return!1}return c},set(a,l,f,c){var h=r.get(l),u=l in a;if(n&&l==="length")for(var d=f;d<h.v;d+=1){var w=r.get(d+"");w!==void 0?V(w,x):d in a&&(w=o(()=>B(x)),r.set(d+"",w))}if(h===void 0)(!u||we(a,l)?.writable)&&(h=o(()=>B(void 0)),V(h,be(f)),r.set(l,h));else{u=h.v!==x;var F=o(()=>be(f));V(h,F)}var ne=Reflect.getOwnPropertyDescriptor(a,l);if(ne?.set&&ne.set.call(c,f),!u){if(n&&typeof l=="string"){var nt=r.get("length"),_=Number(l);Number.isInteger(_)&&_>=nt.v&&V(nt,_+1)}Le(s)}return!0},ownKeys(a){g(s);var l=Reflect.ownKeys(a).filter(h=>{var u=r.get(h);return u===void 0||u.v!==x});for(var[f,c]of r)c.v!==x&&!(f in a)&&l.push(f);return l},setPrototypeOf(){Xr()}})}var Xt,Zt,Qt,er;function gt(){if(Xt===void 0){Xt=window,Zt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Qt=we(t,"firstChild").get,er=we(t,"nextSibling").get,Rt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Rt(r)&&(r.__t=void 0)}}function le(e=""){return document.createTextNode(e)}function Ne(e){return Qt.call(e)}function ee(e){return er.call(e)}function mt(e,t){if(!p)return Ne(e);var r=Ne(m);return r===null&&(r=m.appendChild(le())),Y(r),r}function tr(e,t=!1){if(!p){var r=Ne(e);return r instanceof Comment&&r.data===""?ee(r):r}if(t&&m?.nodeType!==Dt){var n=le();return m?.before(n),Y(n),n}return m}function wt(e,t=1,r=!1){let n=p?m:e;for(var s;t--;)s=n,n=ee(n);if(!p)return n;if(r&&n?.nodeType!==Dt){var i=le();return n===null?s?.after(i):n.before(i),Y(i),i}return Y(n),n}function wn(e){e.textContent=""}function yn(){return!1}function yt(e){var t=b,r=v;N(null),P(null);try{return e()}finally{N(t),P(r)}}function $n(e){v===null&&(b===null&&Wr(),zr()),ve&&Vr()}function kn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function z(e,t,r){var n=v;n!==null&&(n.f&H)!==0&&(e|=H);var s={ctx:L,deps:null,nodes_start:null,nodes_end:null,f:e|A|I,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{je(s),s.f|=Ye}catch(a){throw C(s),a}else t!==null&&he(s);var i=s;if(r&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&ue)===0&&(i=i.first,(e&J)!==0&&(e&ye)!==0&&i!==null&&(i.f|=ye)),i!==null&&(i.parent=n,n!==null&&kn(i,n),b!==null&&(b.f&k)!==0&&(e&se)===0)){var o=b;(o.effects??=[]).push(i)}return s}function Xe(){return b!==null&&!W}function rr(e){const t=z(lt,null,!1);return T(t,E),t.teardown=e,t}function xn(e){$n();var t=v.f,r=!b&&(t&K)!==0&&(t&Ye)===0;if(r){var n=L;(n.e??=[]).push(e)}else return nr(e)}function nr(e){return z(at|Br,e,!1)}function En(e){q.ensure();const t=z(se|ue,e,!0);return()=>{C(t)}}function Nn(e){q.ensure();const t=z(se|ue,e,!0);return(r={})=>new Promise(n=>{r.outro?Me(t,()=>{C(t),n(void 0)}):(C(t),n(void 0))})}function Tn(e){return z(at,e,!1)}function Sn(e){return z(ut|ue,e,!0)}function sr(e,t=0){return z(lt|t,e,!0)}function Ze(e,t=[],r=[],n=[]){hn(n,t,r,s=>{z(lt,()=>e(...s.map(g)),!0)})}function ir(e,t=0){var r=z(J|t,e,!0);return r}function te(e){return z(K|ue,e,!0)}function or(e){var t=e.teardown;if(t!==null){const r=ve,n=b;dr(!0),N(null);try{t.call(null)}finally{dr(r),N(n)}}}function ar(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&yt(()=>{s.abort($e)});var n=r.next;(r.f&se)!==0?r.parent=null:C(r,t),r=n}}function An(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&K)===0&&C(t),t=r}}function C(e,t=!0){var r=!1;(t||(e.f&Mt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Cn(e.nodes_start,e.nodes_end),r=!0),ar(e,t&&!r),et(e,0),T(e,Z);var n=e.transitions;if(n!==null)for(const i of n)i.stop();or(e);var s=e.parent;s!==null&&s.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 Cn(e,t){for(;e!==null;){var r=e===t?null:ee(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 Me(e,t,r=!0){var n=[];fr(e,n,!0),Rn(n,()=>{r&&C(e),t&&t()})}function Rn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function fr(e,t,r){if((e.f&H)===0){if(e.f^=H,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var s=n.next,i=(n.f&ye)!==0||(n.f&K)!==0&&(e.f&J)!==0;fr(n,t,i?r:!1),n=s}}}function On(e){ur(e,!0)}function ur(e,t){if((e.f&H)!==0){e.f^=H,(e.f&E)===0&&(T(e,A),he(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&ye)!==0||(r.f&K)!==0;ur(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function cr(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var s=r===n?null:ee(r);t.append(r),r=s}}let fe=!1;function Qe(e){fe=e}let ve=!1;function dr(e){ve=e}let b=null,W=!1;function N(e){b=e}let v=null;function P(e){v=e}let re=null;function hr(e){b!==null&&(re===null?re=[e]:re.push(e))}let S=null,R=0,j=null;function Ln(e){j=e}let br=1,De=0,_e=De;function vr(e){_e=e}function _r(){return++br}function Pe(e){var t=e.f;if((t&A)!==0)return!0;if(t&k&&(e.f&=~ce),(t&X)!==0){var r=e.deps;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s];if(Pe(i)&&Gt(i),i.wv>e.wv)return!0}(t&I)!==0&&M===null&&T(e,E)}return!1}function pr(e,t,r=!0){var n=e.reactions;if(n!==null&&!re?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&k)!==0?pr(i,t,!1):t===i&&(r?T(i,A):(i.f&E)!==0&&T(i,X),he(i))}}function gr(e){var t=S,r=R,n=j,s=b,i=re,o=L,a=W,l=_e,f=e.f;S=null,R=0,j=null,b=(f&(K|se))===0?e:null,re=null,ke(e.ctx),W=!1,_e=++De,e.ac!==null&&(yt(()=>{e.ac.abort($e)}),e.ac=null);try{e.f|=ft;var c=e.fn,h=c(),u=e.deps;if(S!==null){var d;if(et(e,R),u!==null&&R>0)for(u.length=R+S.length,d=0;d<S.length;d++)u[R+d]=S[d];else e.deps=u=S;if(fe&&Xe()&&(e.f&I)!==0)for(d=R;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&R<u.length&&(et(e,R),u.length=R);if(qt()&&j!==null&&!W&&u!==null&&(e.f&(k|X|A))===0)for(d=0;d<j.length;d++)pr(j[d],e);return s!==null&&s!==e&&(De++,j!==null&&(n===null?n=j:n.push(...j))),(e.f&ie)!==0&&(e.f^=ie),h}catch(w){return Ut(w)}finally{e.f^=ft,S=t,R=r,j=n,b=s,re=i,ke(o),W=a,_e=l}}function Mn(e,t){let r=t.reactions;if(r!==null){var n=Dr.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&k)!==0&&(S===null||!S.includes(t))&&(T(t,X),(t.f&I)!==0&&(t.f^=I,t.f&=~ce),Wt(t),et(t,0))}function et(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Mn(e,r[n])}function je(e){var t=e.f;if((t&Z)===0){T(e,E);var r=v,n=fe;v=e,fe=!0;try{(t&J)!==0?An(e):ar(e),or(e);var s=gr(e);e.teardown=typeof s=="function"?s:null,e.wv=br;var i;ot&&on&&(e.f&A)!==0&&e.deps}finally{fe=n,v=r}}}function g(e){var t=e.f,r=(t&k)!==0;if(b!==null&&!W){var n=v!==null&&(v.f&Z)!==0;if(!n&&!re?.includes(e)){var s=b.deps;if((b.f&ft)!==0)e.rv<De&&(e.rv=De,S===null&&s!==null&&s[R]===e?R++:S===null?S=[e]:S.includes(e)||S.push(e));else{(b.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[b]:i.includes(b)||i.push(b)}}}if(ve){if(ae.has(e))return ae.get(e);if(r){var o=e,a=o.v;return((o.f&E)===0&&o.reactions!==null||wr(o))&&(a=_t(o)),ae.set(o,a),a}}else r&&!M?.has(e)&&(o=e,Pe(o)&&Gt(o),fe&&Xe()&&(o.f&I)===0&&mr(o));if(M?.has(e))return M.get(e);if((e.f&ie)!==0)throw e.v;return e.v}function mr(e){if(e.deps!==null){e.f^=I;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&k)!==0&&(t.f&I)===0&&mr(t)}}function wr(e){if(e.v===x)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ae.has(t)||(t.f&k)!==0&&wr(t))return!0;return!1}function Dn(e){var t=W;try{return W=!0,e()}finally{W=t}}const Pn=-7169;function T(e,t){e.f=e.f&Pn|t}const yr=new Set,$t=new Set;function jn(e,t,r,n={}){function s(i){if(n.capture||Fe.call(t,i),!i.cancelBubble)return yt(()=>r?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?ze(()=>{t.addEventListener(e,s,n)}):t.addEventListener(e,s,n),s}function $r(e,t,r,n,s){var i={capture:n,passive:s},o=jn(e,t,r,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&rr(()=>{t.removeEventListener(e,o,i)})}function Fn(e){for(var t=0;t<e.length;t++)yr.add(e[t]);for(var r of $t)r(e)}let kr=null;function Fe(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;kr=e;var o=0,a=kr===e&&e.__root;if(a){var l=s.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=s.indexOf(t);if(f===-1)return;l<=f&&(o=l)}if(i=s[o]||e.target,i!==t){Ue(e,"currentTarget",{configurable:!0,get(){return i||r}});var c=b,h=v;N(null),P(null);try{for(var u,d=[];i!==null;){var w=i.assignedSlot||i.parentNode||i.host||null;try{var F=i["__"+n];F!=null&&(!i.disabled||e.target===i)&&F.call(i,e)}catch(ne){u?d.push(ne):u=ne}if(e.cancelBubble||w===t||w===null)break;i=w}if(u){for(let ne of d)queueMicrotask(()=>{throw ne});throw u}}finally{e.__root=t,delete e.currentTarget,N(c),P(h)}}}function In(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Te(e,t){var r=v;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Ie(e,t){var r=(t&Rr)!==0,n=(t&Or)!==0,s,i=!e.startsWith("<!>");return()=>{if(p)return Te(m,null),m;s===void 0&&(s=In(i?e:"<!>"+e),r||(s=Ne(s)));var o=n||Zt?document.importNode(s,!0):s.cloneNode(!0);if(r){var a=Ne(o),l=o.lastChild;Te(a,l)}else Te(o,o);return o}}function qn(){if(p)return Te(m,null),m;var e=document.createDocumentFragment(),t=document.createComment(""),r=le();return e.append(t,r),Te(t,r),e}function pe(e,t){if(p){var r=v;((r.f&Ye)===0||r.nodes_end===null)&&(r.nodes_end=m),dt();return}e!==null&&e.before(t)}const Bn=["touchstart","touchmove"];function Un(e){return Bn.includes(e)}function Hn(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function xr(e,t){return Er(e,t)}function Yn(e,t){gt(),t.intro=t.intro??!1;const r=t.target,n=p,s=m;try{for(var i=Ne(r);i&&(i.nodeType!==Ce||i.data!==St);)i=ee(i);if(!i)throw me;oe(!0),Y(i);const o=Er(e,{...t,anchor:i});return oe(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
-
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==me&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Jr(),gt(),wn(r),oe(!1),xr(e,t)}finally{oe(n),Y(s)}}const Se=new Map;function Er(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:o=!0}){gt();var a=new Set,l=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!a.has(d)){a.add(d);var w=Un(d);t.addEventListener(d,Fe,{passive:w});var F=Se.get(d);F===void 0?(document.addEventListener(d,Fe,{passive:w}),Se.set(d,1)):Se.set(d,F+1)}}};l(Pr(yr)),$t.add(l);var f=void 0,c=Nn(()=>{var h=r??t.appendChild(le());return cn(h,{pending:()=>{}},u=>{if(i){Ft({});var d=L;d.c=i}if(s&&(n.$$events=s),p&&Te(u,null),f=e(u,n)||{},p&&(v.nodes_end=m,m===null||m.nodeType!==Ce||m.data!==At))throw Ve(),me;i&&It()}),()=>{for(var u of a){t.removeEventListener(u,Fe);var d=Se.get(u);--d===0?(document.removeEventListener(u,Fe),Se.delete(u)):Se.set(u,d)}$t.delete(l),h!==r&&h.parentNode?.removeChild(h)}});return kt.set(f,c),f}let kt=new WeakMap;function Vn(e,t){const r=kt.get(e);return r?(kt.delete(e),r(t)):Promise.resolve()}class zn{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#l=!0;constructor(t,r=!0){this.anchor=t,this.#l=r}#i=()=>{var t=y;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)On(n),this.#n.delete(r);else{var s=this.#r.get(r);s&&(this.#e.set(r,s.effect),this.#r.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[i,o]of this.#t){if(this.#t.delete(i),i===t)break;const a=this.#r.get(o);a&&(C(a.effect),this.#r.delete(o))}for(const[i,o]of this.#e){if(i===r||this.#n.has(i))continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var f=document.createDocumentFragment();cr(o,f),f.append(le()),this.#r.set(i,{effect:o,fragment:f})}else C(o);this.#n.delete(i),this.#e.delete(i)};this.#l||!n?(this.#n.add(i),Me(o,a,!1)):a()}}};#s=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,s]of this.#r)r.includes(n)||(C(s.effect),this.#r.delete(n))};ensure(t,r){var n=y,s=yn();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(s){var i=document.createDocumentFragment(),o=le();i.append(o),this.#r.set(t,{effect:te(()=>r(o)),fragment:i})}else this.#e.set(t,te(()=>r(this.anchor)));if(this.#t.set(n,t),s){for(const[a,l]of this.#e)a===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[a,l]of this.#r)a===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#i),n.ondiscard(this.#s)}else p&&(this.anchor=m),this.#i()}}function xt(e,t,r=!1){p&&dt();var n=new zn(e),s=r?ye:0;function i(o,a){if(p){const f=rn(e)===it;if(o===f){var l=Pt();Y(l),n.anchor=l,oe(!1),n.ensure(o,a),oe(!0);return}}n.ensure(o,a)}ir(()=>{var o=!1;t((a,l=!0)=>{o=!0,i(l,a)}),o||i(!1,null)},s)}function Wn(e,t){Tn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function Gn(e,t,r){var n=""+e;return n}function Jn(e,t){return e==null?null:String(e)}function Kn(e,t,r,n,s,i){var o=e.__className;if(p||o!==r||o===void 0){var a=Gn(r);(!p||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return i}function Xn(e,t,r,n){var s=e.__style;if(p||s!==t){var i=Jn(t);(!p||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return n}const Zn=Symbol("is custom element"),Qn=Symbol("is html");function es(e,t,r,n){var s=ts(e);p&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[Hr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Nr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function tt(e,t,r){var n=b,s=v;let i=p;p&&oe(!1),N(null),P(null);try{t!=="style"&&(Et.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Nr(e).includes(t):r&&typeof r=="object")?e[t]=r:es(e,t,r==null?r:String(r))}finally{N(n),P(s),i&&oe(!0)}}function ts(e){return e.__attributes??={[Zn]:e.nodeName.includes("-"),[Qn]:e.namespaceURI===Lr}}var Et=new Map;function Nr(e){var t=e.getAttribute("is")||e.nodeName,r=Et.get(t);if(r)return r;Et.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=jr(s);for(var o in n)n[o].set&&r.push(o);s=Ct(s)}return r}function qe(e,t,r,n){var s=n,i=!0,o=()=>(i&&(i=!1,s=n),s),a;a=e[t],a===void 0&&n!==void 0&&(a=o());var l;l=()=>{var u=e[t];return u===void 0?o():(i=!0,u)};var f=!1,c=vt(()=>(f=!1,l())),h=v;return(function(u,d){if(arguments.length>0){const w=d?g(c):u;return V(c,w),f=!0,s!==void 0&&(s=w),u}return ve&&f||(h.f&Z)!==0?c.v:g(c)})}function rs(e){return new ns(e)}class ns{#t;#e;constructor(t){var r=new Map,n=(i,o)=>{var a=gn(o,!1,!1);return r.set(i,a),a};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return g(r.get(o)??n(o,Reflect.get(i,o)))},has(i,o){return o===Ur?!0:(g(r.get(o)??n(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,a){return V(r.get(o)??n(o,a),a),Reflect.set(i,o,a)}});this.#e=(t.hydrate?Yn:xr)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Ee(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Ue(this,i,{get(){return this.#e[i]},set(o){this.#e[i]=o},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{Vn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let Tr;typeof HTMLElement=="function"&&(Tr=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 s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),pe(s,i)}};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 s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=rt(s,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=rs({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=En(()=>{sr(()=>{this.$$r=!0;for(const n of Be(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=rt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=rt(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 Be(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function rt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ss(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function is(e,t,r,n,s,i){let o=class extends Tr{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return Be(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Be(t).forEach(a=>{Ue(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=rt(a,l,t),this.$$d[a]=l;var f=this.$$c;if(f){var c=we(f,a)?.get;c?f[a]=l:f.$set({[a]:l})}}})}),n.forEach(a=>{Ue(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}const os={version:"0.65.19"};var ge={},Sr;function as(){if(Sr)return ge;Sr=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.LanguageTranslator=void 0,ge.getChildStyleToPass=e,ge.addComponent=t;function e(n,s){var i,o,a="";try{if(n&&s?.length&&(!((i=Object.keys(n))===null||i===void 0)&&i.length)&&(!((o=s?.filter(function(u){return Object.keys(n).includes(u.name)}))===null||o===void 0)&&o.length))for(var l=function(u){var d=s?.filter(function(w){return w.name===u&&w.defaultValue!==n[u]});d&&(a+="".concat(u,":").concat(n[u],";"))},f=0,c=Object.keys(n);f<c.length;f++){var h=c[f];l(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return a}}function t(n){var s,i=((s=n?.repoName.split("/"))===null||s===void 0?void 0:s[1])||n?.repoName;if(!i)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(i+"-script"))try{var a=document.createElement("script");if(a.id=i+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)a.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var l=i.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(i.replace(l+"-",""),"/").concat(o)}document.head.appendChild(a)}catch(f){console.warn(f)}}var r=(function(){function n(s){if(this.lang="",!s?.dictionary)throw new Error("no dictionary provided");this.dictionary=s.dictionary,this.setLang(s?.lang)}return n.prototype.setLang=function(s){s||(s=n.getDefaultLang()),this.lang=s},n.prototype.translateWord=function(s,i){return n.getDictionaryWord(s,this.dictionary,i||this.lang)},n.prototype.translateDate=function(s,i,o){return n.formatDate(s,i,o||this.lang)},n.getDefaultLang=function(){var s,i,o,a="en";return navigator?.languages&&(!((o=(i=(s=navigator.languages[0])===null||s===void 0?void 0:s.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||o===void 0)&&o.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},n.getDictionaryWord=function(s,i,o){var a;if(!s)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(o&&(!((a=i[o])===null||a===void 0)&&a[s]))return i[o][s];var l="",f=n.getDefaultLang();if(!o||f!==o){var c=i?.[f];c?.[s]&&(l=c[s])}return l},n.formatDate=function(s,i,o){if(!s)throw new Error("no date provided");if(typeof s.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(o||n.getDefaultLang(),i);return a.format(s)},n})();return ge.LanguageTranslator=r,ge}var ls=as(),fs=Ie('<button class="btn btn-primary svelte-67k34i">Indietro</button>'),us=Ie('<button class="btn btn-primary svelte-67k34i" disabled>Indietro</button>'),cs=Ie('<button class="btn btn-primary svelte-67k34i">Salva</button>'),ds=Ie('<button class="btn btn-primary svelte-67k34i">Avanti</button>'),hs=Ie('<hb-form></hb-form> <div class="svelte-67k34i"><span class="svelte-67k34i"><span class="btn btn-secondary svelte-67k34i"> </span> <!> <!></span></div>',3);const bs={hash:"svelte-67k34i",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");
|
|
2
|
+
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==me&&console.warn("Failed to hydrate: ",o),t.recover===!1&&Jr(),gt(),wn(r),oe(!1),xr(e,t)}finally{oe(n),Y(s)}}const Se=new Map;function Er(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:o=!0}){gt();var a=new Set,l=h=>{for(var u=0;u<h.length;u++){var d=h[u];if(!a.has(d)){a.add(d);var w=Un(d);t.addEventListener(d,Fe,{passive:w});var F=Se.get(d);F===void 0?(document.addEventListener(d,Fe,{passive:w}),Se.set(d,1)):Se.set(d,F+1)}}};l(Pr(yr)),$t.add(l);var f=void 0,c=Nn(()=>{var h=r??t.appendChild(le());return cn(h,{pending:()=>{}},u=>{if(i){Ft({});var d=L;d.c=i}if(s&&(n.$$events=s),p&&Te(u,null),f=e(u,n)||{},p&&(v.nodes_end=m,m===null||m.nodeType!==Ce||m.data!==At))throw Ve(),me;i&&It()}),()=>{for(var u of a){t.removeEventListener(u,Fe);var d=Se.get(u);--d===0?(document.removeEventListener(u,Fe),Se.delete(u)):Se.set(u,d)}$t.delete(l),h!==r&&h.parentNode?.removeChild(h)}});return kt.set(f,c),f}let kt=new WeakMap;function Vn(e,t){const r=kt.get(e);return r?(kt.delete(e),r(t)):Promise.resolve()}class zn{anchor;#t=new Map;#e=new Map;#r=new Map;#n=new Set;#l=!0;constructor(t,r=!0){this.anchor=t,this.#l=r}#i=()=>{var t=y;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)On(n),this.#n.delete(r);else{var s=this.#r.get(r);s&&(this.#e.set(r,s.effect),this.#r.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[i,o]of this.#t){if(this.#t.delete(i),i===t)break;const a=this.#r.get(o);a&&(C(a.effect),this.#r.delete(o))}for(const[i,o]of this.#e){if(i===r||this.#n.has(i))continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var f=document.createDocumentFragment();cr(o,f),f.append(le()),this.#r.set(i,{effect:o,fragment:f})}else C(o);this.#n.delete(i),this.#e.delete(i)};this.#l||!n?(this.#n.add(i),Me(o,a,!1)):a()}}};#s=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,s]of this.#r)r.includes(n)||(C(s.effect),this.#r.delete(n))};ensure(t,r){var n=y,s=yn();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(s){var i=document.createDocumentFragment(),o=le();i.append(o),this.#r.set(t,{effect:te(()=>r(o)),fragment:i})}else this.#e.set(t,te(()=>r(this.anchor)));if(this.#t.set(n,t),s){for(const[a,l]of this.#e)a===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[a,l]of this.#r)a===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#i),n.ondiscard(this.#s)}else p&&(this.anchor=m),this.#i()}}function xt(e,t,r=!1){p&&dt();var n=new zn(e),s=r?ye:0;function i(o,a){if(p){const f=rn(e)===it;if(o===f){var l=Pt();Y(l),n.anchor=l,oe(!1),n.ensure(o,a),oe(!0);return}}n.ensure(o,a)}ir(()=>{var o=!1;t((a,l=!0)=>{o=!0,i(l,a)}),o||i(!1,null)},s)}function Wn(e,t){Tn(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function Gn(e,t,r){var n=""+e;return n}function Jn(e,t){return e==null?null:String(e)}function Kn(e,t,r,n,s,i){var o=e.__className;if(p||o!==r||o===void 0){var a=Gn(r);(!p||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return i}function Xn(e,t,r,n){var s=e.__style;if(p||s!==t){var i=Jn(t);(!p||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return n}const Zn=Symbol("is custom element"),Qn=Symbol("is html");function es(e,t,r,n){var s=ts(e);p&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[Hr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Nr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function tt(e,t,r){var n=b,s=v;let i=p;p&&oe(!1),N(null),P(null);try{t!=="style"&&(Et.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Nr(e).includes(t):r&&typeof r=="object")?e[t]=r:es(e,t,r==null?r:String(r))}finally{N(n),P(s),i&&oe(!0)}}function ts(e){return e.__attributes??={[Zn]:e.nodeName.includes("-"),[Qn]:e.namespaceURI===Lr}}var Et=new Map;function Nr(e){var t=e.getAttribute("is")||e.nodeName,r=Et.get(t);if(r)return r;Et.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=jr(s);for(var o in n)n[o].set&&r.push(o);s=Ct(s)}return r}function qe(e,t,r,n){var s=n,i=!0,o=()=>(i&&(i=!1,s=n),s),a;a=e[t],a===void 0&&n!==void 0&&(a=o());var l;l=()=>{var u=e[t];return u===void 0?o():(i=!0,u)};var f=!1,c=vt(()=>(f=!1,l())),h=v;return(function(u,d){if(arguments.length>0){const w=d?g(c):u;return V(c,w),f=!0,s!==void 0&&(s=w),u}return ve&&f||(h.f&Z)!==0?c.v:g(c)})}function rs(e){return new ns(e)}class ns{#t;#e;constructor(t){var r=new Map,n=(i,o)=>{var a=gn(o,!1,!1);return r.set(i,a),a};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return g(r.get(o)??n(o,Reflect.get(i,o)))},has(i,o){return o===Ur?!0:(g(r.get(o)??n(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,a){return V(r.get(o)??n(o,a),a),Reflect.set(i,o,a)}});this.#e=(t.hydrate?Yn:xr)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Ee(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Ue(this,i,{get(){return this.#e[i]},set(o){this.#e[i]=o},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{Vn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let Tr;typeof HTMLElement=="function"&&(Tr=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 s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),pe(s,i)}};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 s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=rt(s,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=rs({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=En(()=>{sr(()=>{this.$$r=!0;for(const n of Be(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=rt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=rt(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 Be(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function rt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ss(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function is(e,t,r,n,s,i){let o=class extends Tr{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return Be(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Be(t).forEach(a=>{Ue(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=rt(a,l,t),this.$$d[a]=l;var f=this.$$c;if(f){var c=we(f,a)?.get;c?f[a]=l:f.$set({[a]:l})}}})}),n.forEach(a=>{Ue(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}const os={version:"0.65.20"};var ge={},Sr;function as(){if(Sr)return ge;Sr=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.LanguageTranslator=void 0,ge.getChildStyleToPass=e,ge.addComponent=t;function e(n,s){var i,o,a="";try{if(n&&s?.length&&(!((i=Object.keys(n))===null||i===void 0)&&i.length)&&(!((o=s?.filter(function(u){return Object.keys(n).includes(u.name)}))===null||o===void 0)&&o.length))for(var l=function(u){var d=s?.filter(function(w){return w.name===u&&w.defaultValue!==n[u]});d&&(a+="".concat(u,":").concat(n[u],";"))},f=0,c=Object.keys(n);f<c.length;f++){var h=c[f];l(h)}}catch(u){console.error("error getting child style to pass",u)}finally{return a}}function t(n){var s,i=((s=n?.repoName.split("/"))===null||s===void 0?void 0:s[1])||n?.repoName;if(!i)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(i+"-script"))try{var a=document.createElement("script");if(a.id=i+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)a.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var l=i.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(i.replace(l+"-",""),"/").concat(o)}document.head.appendChild(a)}catch(f){console.warn(f)}}var r=(function(){function n(s){if(this.lang="",!s?.dictionary)throw new Error("no dictionary provided");this.dictionary=s.dictionary,this.setLang(s?.lang)}return n.prototype.setLang=function(s){s||(s=n.getDefaultLang()),this.lang=s},n.prototype.translateWord=function(s,i){return n.getDictionaryWord(s,this.dictionary,i||this.lang)},n.prototype.translateDate=function(s,i,o){return n.formatDate(s,i,o||this.lang)},n.getDefaultLang=function(){var s,i,o,a="en";return navigator?.languages&&(!((o=(i=(s=navigator.languages[0])===null||s===void 0?void 0:s.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||o===void 0)&&o.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},n.getDictionaryWord=function(s,i,o){var a;if(!s)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(o&&(!((a=i[o])===null||a===void 0)&&a[s]))return i[o][s];var l="",f=n.getDefaultLang();if(!o||f!==o){var c=i?.[f];c?.[s]&&(l=c[s])}return l},n.formatDate=function(s,i,o){if(!s)throw new Error("no date provided");if(typeof s.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(o||n.getDefaultLang(),i);return a.format(s)},n})();return ge.LanguageTranslator=r,ge}var ls=as(),fs=Ie('<button class="btn btn-primary svelte-67k34i">Indietro</button>'),us=Ie('<button class="btn btn-primary svelte-67k34i" disabled>Indietro</button>'),cs=Ie('<button class="btn btn-primary svelte-67k34i">Salva</button>'),ds=Ie('<button class="btn btn-primary svelte-67k34i">Avanti</button>'),hs=Ie('<hb-form></hb-form> <div class="svelte-67k34i"><span class="svelte-67k34i"><span class="btn btn-secondary svelte-67k34i"> </span> <!> <!></span></div>',3);const bs={hash:"svelte-67k34i",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
3
3
|
/*!
|
|
4
4
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
|
5
5
|
* Copyright 2011-2021 The Bootstrap Authors
|
package/manifest.json
CHANGED