@htmlbricks/hb-order-list 0.65.22 → 0.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,12 +1,12 @@
1
- (function(Qt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const ln=1,un=2,fn=16,cn=2,er="[",Tt="[!",jt="]",Ue={},F=Symbol(),dn="http://www.w3.org/1999/xhtml",Dt=!1;var tr=Array.isArray,hn=Array.prototype.indexOf,Ot=Array.from,ft=Object.keys,ct=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,vn=Object.getOwnPropertyDescriptors,_n=Object.prototype,pn=Array.prototype,rr=Object.getPrototypeOf,nr=Object.isExtensible;function bn(e){for(var t=0;t<e.length;t++)e[t]()}function ir(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const L=2,Ct=4,At=8,_e=16,pe=32,Ee=64,dt=128,ae=512,H=1024,W=2048,be=4096,K=8192,ge=16384,ht=32768,Ge=65536,sr=1<<17,ar=1<<18,Ce=1<<19,gn=1<<20,Ae=32768,Nt=1<<21,Rt=1<<22,ke=1<<23,Lt=Symbol("$state"),mn=Symbol("legacy props"),Be=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},or=3,We=8;function yn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function wn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function $n(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function xn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function En(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function kn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Sn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Mn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Tn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function jn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function vt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Dn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let D=!1;function Ne(e){D=e}let T;function G(e){if(e===null)throw vt(),Ue;return T=e}function It(){return G(we(T))}function le(e){if(D){if(we(T)!==null)throw vt(),Ue;T=e}}function Yt(e=1){if(D){for(var t=e,r=T;t--;)r=we(r);T=r}}function Pt(e=!0){for(var t=0,r=T;;){if(r.nodeType===We){var n=r.data;if(n===jt){if(t===0)return r;t-=1}else(n===er||n===Tt)&&(t+=1)}var i=we(r);e&&r.remove(),r=i}}function On(e){if(!e||e.nodeType!==We)throw vt(),Ue;return e.data}function lr(e){return e===this.v}function Cn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function ur(e){return!Cn(e,this.v)}let An=!1,X=null;function ze(e){X=e}function fr(e,t=!1,r){X={p:X,i:!1,c:null,e:null,s:e,x:null,l:null}}function cr(e){var t=X,r=t.e;if(r!==null){t.e=null;for(var n of r)Dr(n)}return e!==void 0&&(t.x=e),t.i=!0,X=t.p,e??{}}function dr(){return!0}let Re=[];function hr(){var e=Re;Re=[],bn(e)}function Ft(e){if(Re.length===0&&!Xe){var t=Re;queueMicrotask(()=>{t===Re&&hr()})}Re.push(e)}function Nn(){for(;Re.length>0;)hr()}function vr(e){var t=k;if(t===null)return E.f|=ke,e;if((t.f&ht)===0){if((t.f&dt)===0)throw e;t.b.error(e)}else Je(e,t)}function Je(e,t){for(;t!==null;){if((t.f&dt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const _t=new Set;let A=null,Q=null,ee=[],pt=null,Ht=!1,Xe=!1;class oe{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#l=0;#s=0;#u=null;#a=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#s>0}process(t){ee=[],this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#r(n,r);this.is_fork||this.#f(),this.is_deferred()?(this.#n(r.effects),this.#n(r.render_effects),this.#n(r.block_effects)):(A=null,pr(r.render_effects),pr(r.effects),this.#u?.resolve()),Q=null}#r(t,r){t.f^=H;for(var n=t.first;n!==null;){var i=n.f,s=(i&(pe|Ee))!==0,a=s&&(i&H)!==0,o=a||(i&K)!==0||this.skipped_effects.has(n);if((n.f&dt)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!o&&n.fn!==null){s?n.f^=H:(i&Ct)!==0?r.effects.push(n):st(n)&&((n.f&_e)!==0&&r.block_effects.push(n),at(n));var l=n.first;if(l!==null){n=l;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)u===r.effect&&(this.#n(r.effects),this.#n(r.render_effects),this.#n(r.block_effects),r=r.parent),n=u.next,u=u.parent}}#n(t){for(const r of t)((r.f&W)!==0?this.#a:this.#i).push(r),this.#o(r.deps),q(r,H)}#o(t){if(t!==null)for(const r of t)(r.f&L)===0||(r.f&Ae)===0||(r.f^=Ae,this.#o(r.deps))}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&ke)===0&&(this.current.set(t,t.v),Q?.set(t,t.v))}activate(){A=this,this.apply()}deactivate(){A===this&&(A=null,Q=null)}flush(){if(this.activate(),ee.length>0){if(_r(),A!==null&&A!==this)return}else this.#l===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#f(){if(this.#s===0){for(const t of this.#t)t();this.#t.clear()}this.#l===0&&this.#c()}#c(){if(_t.size>1){this.previous.clear();var t=Q,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of _t){if(s===this){r=!1;continue}const a=[];for(const[l,u]of this.current){if(s.current.has(l))if(r&&u!==s.current.get(l))s.current.set(l,u);else continue;a.push(l)}if(a.length===0)continue;const o=[...s.current.keys()].filter(l=>!this.current.has(l));if(o.length>0){var i=ee;ee=[];const l=new Set,u=new Map;for(const f of a)br(f,o,l,u);if(ee.length>0){A=s,s.apply();for(const f of ee)s.#r(f,n);s.deactivate()}ee=i}}A=null,Q=t}this.committed=!0,_t.delete(this)}increment(t){this.#l+=1,t&&(this.#s+=1)}decrement(t){this.#l-=1,t&&(this.#s-=1),this.revive()}revive(){for(const t of this.#a)q(t,W),Le(t);for(const t of this.#i)q(t,be),Le(t);this.#a=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#u??=ir()).promise}static ensure(){if(A===null){const t=A=new oe;_t.add(A),Xe||oe.enqueue(()=>{A===t&&t.flush()})}return A}static enqueue(t){Ft(t)}apply(){}}function qt(e){var t=Xe;Xe=!0;try{for(var r;;){if(Nn(),ee.length===0&&(A?.flush(),ee.length===0))return pt=null,r;_r()}}finally{Xe=t}}function _r(){var e=je;Ht=!0;var t=null;try{var r=0;for(wt(!0);ee.length>0;){var n=oe.ensure();if(r++>1e3){var i,s;Rn()}n.process(ee),Se.clear()}}finally{Ht=!1,wt(e),pt=null}}function Rn(){try{En()}catch(e){Je(e,pt)}}let me=null;function pr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(ge|K))===0&&st(n)&&(me=new Set,at(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Lr(n):n.fn=null),me?.size>0)){Se.clear();for(const i of me){if((i.f&(ge|K))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)me.has(a)&&(me.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const l=s[o];(l.f&(ge|K))===0&&at(l)}}me.clear()}}me=null}}function br(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&L)!==0?br(i,t,r,n):(s&(Rt|_e))!==0&&(s&W)===0&&gr(i,t,n)&&(q(i,W),Le(i))}}function gr(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&L)!==0&&gr(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function Le(e){for(var t=pt=e;t.parent!==null;){t=t.parent;var r=t.f;if(Ht&&t===k&&(r&_e)!==0&&(r&ar)===0)return;if((r&(Ee|pe))!==0){if((r&H)===0)return;t.f^=H}}ee.push(t)}function Ln(e){let t=0,r=Ie(0),n;return()=>{yt()&&(N(r),Or(()=>(t===0&&(n=fi(()=>e(()=>et(r)))),t+=1,()=>{Ft(()=>{t-=1,t===0&&(n?.(),n=void 0,et(r))})})))}}var In=Ge|Ce|dt;function Yn(e,t,r){new Pn(e,t,r)}class Pn{parent;#t=!1;#e;#l=D?T:null;#s;#u;#a;#i=null;#r=null;#n=null;#o=null;#f=null;#c=0;#d=0;#v=!1;#h=null;#m=Ln(()=>(this.#h=Ie(this.#c),()=>{this.#h=null}));constructor(t,r,n){this.#e=t,this.#s=r,this.#u=n,this.parent=k.b,this.#t=!!this.#s.pending,this.#a=Ar(()=>{if(k.b=this,D){const s=this.#l;It(),s.nodeType===We&&s.data===Tt?this.#w():this.#y()}else{var i=this.#b();try{this.#i=ce(()=>n(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#f?.remove()}},In),D&&(this.#e=T)}#y(){try{this.#i=ce(()=>this.#u(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#s.pending;t&&(this.#r=ce(()=>t(this.#e)),oe.enqueue(()=>{var r=this.#b();this.#i=this.#_(()=>(oe.ensure(),ce(()=>this.#u(r)))),this.#d>0?this.#p():(nt(this.#r,()=>{this.#r=null}),this.#t=!1)}))}#b(){var t=this.#e;return this.#t&&(this.#f=Te(),this.#e.before(this.#f),t=this.#f),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#s.pending}#_(t){var r=k,n=E,i=X;he(this.#a),z(this.#a),ze(this.#a.ctx);try{return t()}catch(s){return vr(s),null}finally{he(r),z(n),ze(i)}}#p(){const t=this.#s.pending;this.#i!==null&&(this.#o=document.createDocumentFragment(),this.#o.append(this.#f),oi(this.#i,this.#o)),this.#r===null&&(this.#r=ce(()=>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.#r&&nt(this.#r,()=>{this.#r=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#h&&Qe(this.#h,this.#c)}get_effect_pending(){return this.#m(),N(this.#h)}error(t){var r=this.#s.onerror;let n=this.#s.failed;if(this.#v||!r&&!n)throw t;this.#i&&(te(this.#i),this.#i=null),this.#r&&(te(this.#r),this.#r=null),this.#n&&(te(this.#n),this.#n=null),D&&(G(this.#l),Yt(),G(Pt()));var i=!1,s=!1;const a=()=>{if(i){Dn();return}i=!0,s&&jn(),oe.ensure(),this.#c=0,this.#n!==null&&nt(this.#n,()=>{this.#n=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,ce(()=>this.#u(this.#e)))),this.#d>0?this.#p():this.#t=!1};var o=E;try{z(null),s=!0,r?.(t,a),s=!1}catch(l){Je(l,this.#a&&this.#a.parent)}finally{z(o)}n&&Ft(()=>{this.#n=this.#_(()=>{oe.ensure(),this.#v=!0;try{return ce(()=>{n(this.#e,()=>t,()=>a)})}catch(l){return Je(l,this.#a.parent),null}finally{this.#v=!1}})})}}function Fn(e,t,r){for(var n=[],i=t.length,s=0;s<i;s++)Jt(t[s].e,n,!0);Ir(n,()=>{var a=n.length===0&&r!==null;if(a){var o=r,l=o.parentNode;Tr(l),l.append(o),e.items.clear(),ue(e,t[0].prev,t[i-1].next)}for(var u=0;u<i;u++){var f=t[u];a||(e.items.delete(f.k),ue(e,f.prev,f.next)),te(f.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function Hn(e,t,r,n,i,s=null){var a=e,o=new Map,l=null;{var u=e;a=D?G(rt(u)):u.appendChild(Te())}D&&It();var f=null,h=zn(()=>{var O=r();return tr(O)?O:O==null?[]:Ot(O)}),c,v=!0;function b(){qn(I,c,a,t,n),f!==null&&(c.length===0?(f.fragment?(a.before(f.fragment),f.fragment=null):Yr(f.effect),M.first=f.effect):nt(f.effect,()=>{f=null}))}var M=Ar(()=>{c=N(h);var O=c.length;let x=!1;if(D){var B=On(a)===Tt;B!==(O===0)&&(a=Pt(),G(a),Ne(!1),x=!0)}for(var ne=new Set,Y=A,P=null,ve=Zn(),ie=0;ie<O;ie+=1){D&&T.nodeType===We&&T.data===jt&&(a=T,x=!0,Ne(!1));var De=c[ie],j=n(De,ie),$=v?null:o.get(j);$?(Qe($.v,De),$.i=ie,ve&&Y.skipped_effects.delete($.e)):($=Un(v?a:null,P,De,j,ie,i,t,r),v&&($.o=!0,P===null?l=$:P.next=$,P=$),o.set(j,$)),ne.add(j)}if(O===0&&s&&!f)if(v)f={fragment:null,effect:ce(()=>s(a))};else{var Fe=document.createDocumentFragment(),ot=Te();Fe.append(ot),f={fragment:Fe,effect:ce(()=>s(ot))}}if(D&&O>0&&G(Pt()),!v)if(ve){for(const[m,_]of o)ne.has(m)||Y.skipped_effects.add(_.e);Y.oncommit(b),Y.ondiscard(()=>{})}else b();x&&Ne(!0),N(h)}),I={effect:M,items:o,first:l};v=!1,D&&(a=T)}function qn(e,t,r,n,i){var s=t.length,a=e.items,o=e.first,l,u=null,f=[],h=[],c,v,b,M;for(M=0;M<s;M+=1){if(c=t[M],v=i(c,M),b=a.get(v),e.first??=b,!b.o){b.o=!0;var I=u?u.next:o;ue(e,u,b),ue(e,b,I),Ut(b,I,r),u=b,f=[],h=[],o=u.next;continue}if((b.e.f&K)!==0&&Yr(b.e),b!==o){if(l!==void 0&&l.has(b)){if(f.length<h.length){var O=h[0],x;u=O.prev;var B=f[0],ne=f[f.length-1];for(x=0;x<f.length;x+=1)Ut(f[x],O,r);for(x=0;x<h.length;x+=1)l.delete(h[x]);ue(e,B.prev,ne.next),ue(e,u,B),ue(e,ne,O),o=O,u=ne,M-=1,f=[],h=[]}else l.delete(b),Ut(b,o,r),ue(e,b.prev,b.next),ue(e,b,u===null?e.first:u.next),ue(e,u,b),u=b;continue}for(f=[],h=[];o!==null&&o.k!==v;)(o.e.f&K)===0&&(l??=new Set).add(o),h.push(o),o=o.next;if(o===null)continue;b=o}f.push(b),u=b,o=b.next}if(o!==null||l!==void 0){for(var Y=l===void 0?[]:Ot(l);o!==null;)(o.e.f&K)===0&&Y.push(o),o=o.next;var P=Y.length;if(P>0){var ve=s===0?r:null;Fn(e,Y,ve)}}}function Un(e,t,r,n,i,s,a,o){var l=(a&ln)!==0,u=(a&fn)===0,f=l?u?$r(r,!1,!1):Ie(r):r,h=(a&un)===0?i:Ie(i),c={i:h,v:f,k:n,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var v=document.createDocumentFragment();v.append(e=Te())}return c.e=ce(()=>s(e,f,h,o)),t!==null&&(t.next=c),c}finally{}}function Ut(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,i=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==null&&s!==n;){var a=we(s);i.before(s),s=a}}function ue(e,t,r){t===null?(e.first=r,e.effect.first=r&&r.e):(t.e.next&&(t.e.next.prev=null),t.next=r,t.e.next=r&&r.e),r===null?e.effect.last=t&&t.e:(r.e.prev&&(r.e.prev.next=null),r.prev=t,r.e.prev=t&&t.e)}function Vn(e,t,r,n){const i=gt;if(r.length===0&&e.length===0){n(t.map(i));return}var s=A,a=k,o=Bn();function l(){Promise.all(r.map(u=>Wn(u))).then(u=>{o();try{n([...t.map(i),...u])}catch(f){(a.f&ge)===0&&Je(f,a)}s?.deactivate(),bt()}).catch(u=>{Je(u,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return l()}finally{s?.deactivate(),bt()}}):l()}function Bn(){var e=k,t=E,r=X,n=A;return function(s=!0){he(e),z(t),ze(r),s&&n?.activate()}}function bt(){he(null),z(null),ze(null)}function gt(e){var t=L|W,r=E!==null&&(E.f&L)!==0?E:null;return k!==null&&(k.f|=Ce),{ctx:X,deps:null,effects:null,equals:lr,f:t,fn:e,reactions:null,rv:0,v:F,wv:0,parent:r??k,ac:null}}function Wn(e,t){let r=k;r===null&&yn();var n=r.b,i=void 0,s=Ie(F),a=!E,o=new Map;return ii(()=>{var l=ir();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{u===A&&u.committed&&u.deactivate(),bt()})}catch(c){l.reject(c),bt()}var u=A;if(a){var f=!n.is_pending();n.update_pending_count(1),u.increment(f),o.get(u)?.reject(Be),o.delete(u),o.set(u,l)}const h=(c,v=void 0)=>{if(u.activate(),v)v!==Be&&(s.f|=ke,Qe(s,v));else{(s.f&ke)!==0&&(s.f^=ke),Qe(s,c);for(const[b,M]of o){if(o.delete(b),b===u)break;M.reject(Be)}}a&&(n.update_pending_count(-1),u.decrement(f))};l.promise.then(h,c=>h(null,c||"unknown"))}),Qn(()=>{for(const l of o.values())l.reject(Be)}),new Promise(l=>{function u(f){function h(){f===i?l(s):u(i)}f.then(h,h)}u(i)})}function Vt(e){const t=gt(e);return Hr(t),t}function zn(e){const t=gt(e);return t.equals=ur,t}function mr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)te(t[r])}}function Jn(e){for(var t=e.parent;t!==null;){if((t.f&L)===0)return(t.f&ge)===0?t:null;t=t.parent}return null}function Bt(e){var t,r=k;he(Jn(e));try{e.f&=~Ae,mr(e),t=Wr(e)}finally{he(r)}return t}function yr(e){var t=Bt(e);if(e.equals(t)||(A?.is_fork||(e.v=t),e.wv=Vr()),!Ye)if(Q!==null)yt()&&Q.set(e,t);else{var r=(e.f&ae)===0?be:H;q(e,r)}}let Wt=new Set;const Se=new Map;let wr=!1;function Ie(e,t){var r={f:0,v:e,reactions:null,equals:lr,rv:0,wv:0};return r}function Me(e,t){const r=Ie(e);return Hr(r),r}function $r(e,t=!1,r=!0){const n=Ie(e);return t||(n.equals=ur),n}function ye(e,t,r=!1){E!==null&&(!de||(E.f&sr)!==0)&&dr()&&(E.f&(L|_e|Rt|sr))!==0&&!xe?.includes(e)&&Tn();let n=r?tt(t):t;return Qe(e,n)}function Qe(e,t){if(!e.equals(t)){var r=e.v;Ye?Se.set(e,t):Se.set(e,r),e.v=t;var n=oe.ensure();n.capture(e,r),(e.f&L)!==0&&((e.f&W)!==0&&Bt(e),q(e,(e.f&ae)!==0?H:be)),e.wv=Vr(),xr(e,W),k!==null&&(k.f&H)!==0&&(k.f&(pe|Ee))===0&&(re===null?li([e]):re.push(e)),!n.is_fork&&Wt.size>0&&!wr&&Kn()}return t}function Kn(){wr=!1;var e=je;wt(!0);const t=Array.from(Wt);try{for(const r of t)(r.f&H)!==0&&q(r,be),st(r)&&at(r)}finally{wt(e)}Wt.clear()}function et(e){ye(e,e.v+1)}function xr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,o=(a&W)===0;if(o&&q(s,t),(a&L)!==0){var l=s;Q?.delete(l),(a&Ae)===0&&(a&ae&&(s.f|=Ae),xr(l,be))}else o&&((a&_e)!==0&&me!==null&&me.add(s),Le(s))}}function tt(e){if(typeof e!="object"||e===null||Lt in e)return e;const t=rr(e);if(t!==_n&&t!==pn)return e;var r=new Map,n=tr(e),i=Me(0),s=Pe,a=o=>{if(Pe===s)return o();var l=E,u=Pe;z(null),Ur(s);var f=o();return z(l),Ur(u),f};return n&&r.set("length",Me(e.length)),new Proxy(e,{defineProperty(o,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Sn();var f=r.get(l);return f===void 0?f=a(()=>{var h=Me(u.value);return r.set(l,h),h}):ye(f,u.value,!0),!0},deleteProperty(o,l){var u=r.get(l);if(u===void 0){if(l in o){const f=a(()=>Me(F));r.set(l,f),et(i)}}else ye(u,F),et(i);return!0},get(o,l,u){if(l===Lt)return e;var f=r.get(l),h=l in o;if(f===void 0&&(!h||Ve(o,l)?.writable)&&(f=a(()=>{var v=tt(h?o[l]:F),b=Me(v);return b}),r.set(l,f)),f!==void 0){var c=N(f);return c===F?void 0:c}return Reflect.get(o,l,u)},getOwnPropertyDescriptor(o,l){var u=Reflect.getOwnPropertyDescriptor(o,l);if(u&&"value"in u){var f=r.get(l);f&&(u.value=N(f))}else if(u===void 0){var h=r.get(l),c=h?.v;if(h!==void 0&&c!==F)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(o,l){if(l===Lt)return!0;var u=r.get(l),f=u!==void 0&&u.v!==F||Reflect.has(o,l);if(u!==void 0||k!==null&&(!f||Ve(o,l)?.writable)){u===void 0&&(u=a(()=>{var c=f?tt(o[l]):F,v=Me(c);return v}),r.set(l,u));var h=N(u);if(h===F)return!1}return f},set(o,l,u,f){var h=r.get(l),c=l in o;if(n&&l==="length")for(var v=u;v<h.v;v+=1){var b=r.get(v+"");b!==void 0?ye(b,F):v in o&&(b=a(()=>Me(F)),r.set(v+"",b))}if(h===void 0)(!c||Ve(o,l)?.writable)&&(h=a(()=>Me(void 0)),ye(h,tt(u)),r.set(l,h));else{c=h.v!==F;var M=a(()=>tt(u));ye(h,M)}var I=Reflect.getOwnPropertyDescriptor(o,l);if(I?.set&&I.set.call(f,u),!c){if(n&&typeof l=="string"){var O=r.get("length"),x=Number(l);Number.isInteger(x)&&x>=O.v&&ye(O,x+1)}et(i)}return!0},ownKeys(o){N(i);var l=Reflect.ownKeys(o).filter(h=>{var c=r.get(h);return c===void 0||c.v!==F});for(var[u,f]of r)f.v!==F&&!(u in o)&&l.push(u);return l},setPrototypeOf(){Mn()}})}var Er,kr,Sr,Mr;function zt(){if(Er===void 0){Er=window,kr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Sr=Ve(t,"firstChild").get,Mr=Ve(t,"nextSibling").get,nr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),nr(r)&&(r.__t=void 0)}}function Te(e=""){return document.createTextNode(e)}function rt(e){return Sr.call(e)}function we(e){return Mr.call(e)}function $e(e,t){if(!D)return rt(e);var r=rt(T);if(r===null)r=T.appendChild(Te());else if(t&&r.nodeType!==or){var n=Te();return r?.before(n),G(n),n}return G(r),r}function mt(e,t=1,r=!1){let n=D?T:e;for(var i;t--;)i=n,n=we(n);if(!D)return n;if(r&&n?.nodeType!==or){var s=Te();return n===null?i?.after(s):n.before(s),G(s),s}return G(n),n}function Tr(e){e.textContent=""}function Zn(){return!1}function jr(e){var t=E,r=k;z(null),he(null);try{return e()}finally{z(t),he(r)}}function Gn(e){k===null&&(E===null&&xn(),$n()),Ye&&wn()}function Xn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function fe(e,t,r){var n=k;n!==null&&(n.f&K)!==0&&(e|=K);var i={ctx:X,deps:null,nodes_start:null,nodes_end:null,f:e|W|ae,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{at(i),i.f|=ht}catch(o){throw te(i),o}else t!==null&&Le(i);var s=i;if(r&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Ce)===0&&(s=s.first,(e&_e)!==0&&(e&Ge)!==0&&s!==null&&(s.f|=Ge)),s!==null&&(s.parent=n,n!==null&&Xn(s,n),E!==null&&(E.f&L)!==0&&(e&Ee)===0)){var a=E;(a.effects??=[]).push(s)}return i}function yt(){return E!==null&&!de}function Qn(e){const t=fe(At,null,!1);return q(t,H),t.teardown=e,t}function ei(e){Gn();var t=k.f,r=!E&&(t&pe)!==0&&(t&ht)===0;if(r){var n=X;(n.e??=[]).push(e)}else return Dr(e)}function Dr(e){return fe(Ct|gn,e,!1)}function ti(e){oe.ensure();const t=fe(Ee|Ce,e,!0);return()=>{te(t)}}function ri(e){oe.ensure();const t=fe(Ee|Ce,e,!0);return(r={})=>new Promise(n=>{r.outro?nt(t,()=>{te(t),n(void 0)}):(te(t),n(void 0))})}function ni(e){return fe(Ct,e,!1)}function ii(e){return fe(Rt|Ce,e,!0)}function Or(e,t=0){return fe(At|t,e,!0)}function Cr(e,t=[],r=[],n=[]){Vn(n,t,r,i=>{fe(At,()=>e(...i.map(N)),!0)})}function Ar(e,t=0){var r=fe(_e|t,e,!0);return r}function ce(e){return fe(pe|Ce,e,!0)}function Nr(e){var t=e.teardown;if(t!==null){const r=Ye,n=E;Fr(!0),z(null);try{t.call(null)}finally{Fr(r),z(n)}}}function Rr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&jr(()=>{i.abort(Be)});var n=r.next;(r.f&Ee)!==0?r.parent=null:te(r,t),r=n}}function si(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&pe)===0&&te(t),t=r}}function te(e,t=!0){var r=!1;(t||(e.f&ar)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(ai(e.nodes_start,e.nodes_end),r=!0),Rr(e,t&&!r),$t(e,0),q(e,ge);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Nr(e);var i=e.parent;i!==null&&i.first!==null&&Lr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function ai(e,t){for(;e!==null;){var r=e===t?null:we(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 nt(e,t,r=!0){var n=[];Jt(e,n,!0),Ir(n,()=>{r&&te(e),t&&t()})}function Ir(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Jt(e,t,r){if((e.f&K)===0){if(e.f^=K,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Ge)!==0||(n.f&pe)!==0&&(e.f&_e)!==0;Jt(n,t,s?r:!1),n=i}}}function Yr(e){Pr(e,!0)}function Pr(e,t){if((e.f&K)!==0){e.f^=K,(e.f&H)===0&&(q(e,W),Le(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Ge)!==0||(r.f&pe)!==0;Pr(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function oi(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var i=r===n?null:we(r);t.append(r),r=i}}let je=!1;function wt(e){je=e}let Ye=!1;function Fr(e){Ye=e}let E=null,de=!1;function z(e){E=e}let k=null;function he(e){k=e}let xe=null;function Hr(e){E!==null&&(xe===null?xe=[e]:xe.push(e))}let V=null,Z=0,re=null;function li(e){re=e}let qr=1,it=0,Pe=it;function Ur(e){Pe=e}function Vr(){return++qr}function st(e){var t=e.f;if((t&W)!==0)return!0;if(t&L&&(e.f&=~Ae),(t&be)!==0){var r=e.deps;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i];if(st(s)&&yr(s),s.wv>e.wv)return!0}(t&ae)!==0&&Q===null&&q(e,H)}return!1}function Br(e,t,r=!0){var n=e.reactions;if(n!==null&&!xe?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&L)!==0?Br(s,t,!1):t===s&&(r?q(s,W):(s.f&H)!==0&&q(s,be),Le(s))}}function Wr(e){var t=V,r=Z,n=re,i=E,s=xe,a=X,o=de,l=Pe,u=e.f;V=null,Z=0,re=null,E=(u&(pe|Ee))===0?e:null,xe=null,ze(e.ctx),de=!1,Pe=++it,e.ac!==null&&(jr(()=>{e.ac.abort(Be)}),e.ac=null);try{e.f|=Nt;var f=e.fn,h=f(),c=e.deps;if(V!==null){var v;if($t(e,Z),c!==null&&Z>0)for(c.length=Z+V.length,v=0;v<V.length;v++)c[Z+v]=V[v];else e.deps=c=V;if(je&&yt()&&(e.f&ae)!==0)for(v=Z;v<c.length;v++)(c[v].reactions??=[]).push(e)}else c!==null&&Z<c.length&&($t(e,Z),c.length=Z);if(dr()&&re!==null&&!de&&c!==null&&(e.f&(L|be|W))===0)for(v=0;v<re.length;v++)Br(re[v],e);return i!==null&&i!==e&&(it++,re!==null&&(n===null?n=re:n.push(...re))),(e.f&ke)!==0&&(e.f^=ke),h}catch(b){return vr(b)}finally{e.f^=Nt,V=t,Z=r,re=n,E=i,xe=s,ze(a),de=o,Pe=l}}function ui(e,t){let r=t.reactions;if(r!==null){var n=hn.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&L)!==0&&(V===null||!V.includes(t))&&(q(t,be),(t.f&ae)!==0&&(t.f^=ae,t.f&=~Ae),mr(t),$t(t,0))}function $t(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)ui(e,r[n])}function at(e){var t=e.f;if((t&ge)===0){q(e,H);var r=k,n=je;k=e,je=!0;try{(t&_e)!==0?si(e):Rr(e),Nr(e);var i=Wr(e);e.teardown=typeof i=="function"?i:null,e.wv=qr;var s;Dt&&An&&(e.f&W)!==0&&e.deps}finally{je=n,k=r}}}function N(e){var t=e.f,r=(t&L)!==0;if(E!==null&&!de){var n=k!==null&&(k.f&ge)!==0;if(!n&&!xe?.includes(e)){var i=E.deps;if((E.f&Nt)!==0)e.rv<it&&(e.rv=it,V===null&&i!==null&&i[Z]===e?Z++:V===null?V=[e]:V.includes(e)||V.push(e));else{(E.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[E]:s.includes(E)||s.push(E)}}}if(Ye){if(Se.has(e))return Se.get(e);if(r){var a=e,o=a.v;return((a.f&H)===0&&a.reactions!==null||Jr(a))&&(o=Bt(a)),Se.set(a,o),o}}else r&&!Q?.has(e)&&(a=e,st(a)&&yr(a),je&&yt()&&(a.f&ae)===0&&zr(a));if(Q?.has(e))return Q.get(e);if((e.f&ke)!==0)throw e.v;return e.v}function zr(e){if(e.deps!==null){e.f^=ae;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&L)!==0&&(t.f&ae)===0&&zr(t)}}function Jr(e){if(e.v===F)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Se.has(t)||(t.f&L)!==0&&Jr(t))return!0;return!1}function fi(e){var t=de;try{return de=!0,e()}finally{de=t}}const ci=-7169;function q(e,t){e.f=e.f&ci|t}const di=new Set,Kr=new Set;let Zr=null;function xt(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Zr=e;var a=0,o=Zr===e&&e.__root;if(o){var l=i.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(a=l)}if(s=i[a]||e.target,s!==t){ct(e,"currentTarget",{configurable:!0,get(){return s||r}});var f=E,h=k;z(null),he(null);try{for(var c,v=[];s!==null;){var b=s.assignedSlot||s.parentNode||s.host||null;try{var M=s["__"+n];M!=null&&(!s.disabled||e.target===s)&&M.call(s,e)}catch(I){c?v.push(I):c=I}if(e.cancelBubble||b===t||b===null)break;s=b}if(c){for(let I of v)queueMicrotask(()=>{throw I});throw c}}finally{e.__root=t,delete e.currentTarget,z(f),he(h)}}}function hi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Kt(e,t){var r=k;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Gr(e,t){var r=(t&cn)!==0,n,i=!e.startsWith("<!>");return()=>{if(D)return Kt(T,null),T;n===void 0&&(n=hi(i?e:"<!>"+e),n=rt(n));var s=r||kr?document.importNode(n,!0):n.cloneNode(!0);return Kt(s,s),s}}function Zt(e,t){if(D){var r=k;((r.f&ht)===0||r.nodes_end===null)&&(r.nodes_end=T),It();return}e!==null&&e.before(t)}const vi=["touchstart","touchmove"];function _i(e){return vi.includes(e)}function Gt(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 Qr(e,t)}function pi(e,t){zt(),t.intro=t.intro??!1;const r=t.target,n=D,i=T;try{for(var s=rt(r);s&&(s.nodeType!==We||s.data!==er);)s=we(s);if(!s)throw Ue;Ne(!0),G(s);const a=Qr(e,{...t,anchor:s});return Ne(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==Ue&&console.warn("Failed to hydrate: ",a),t.recover===!1&&kn(),zt(),Tr(r),Ne(!1),Xr(e,t)}finally{Ne(n),G(i)}}const Ke=new Map;function Qr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){zt();var o=new Set,l=h=>{for(var c=0;c<h.length;c++){var v=h[c];if(!o.has(v)){o.add(v);var b=_i(v);t.addEventListener(v,xt,{passive:b});var M=Ke.get(v);M===void 0?(document.addEventListener(v,xt,{passive:b}),Ke.set(v,1)):Ke.set(v,M+1)}}};l(Ot(di)),Kr.add(l);var u=void 0,f=ri(()=>{var h=r??t.appendChild(Te());return Yn(h,{pending:()=>{}},c=>{if(s){fr({});var v=X;v.c=s}if(i&&(n.$$events=i),D&&Kt(c,null),u=e(c,n)||{},D&&(k.nodes_end=T,T===null||T.nodeType!==We||T.data!==jt))throw vt(),Ue;s&&cr()}),()=>{for(var c of o){t.removeEventListener(c,xt);var v=Ke.get(c);--v===0?(document.removeEventListener(c,xt),Ke.delete(c)):Ke.set(c,v)}Kr.delete(l),h!==r&&h.parentNode?.removeChild(h)}});return Xt.set(u,f),u}let Xt=new WeakMap;function bi(e,t){const r=Xt.get(e);return r?(Xt.delete(e),r(t)):Promise.resolve()}function gi(e,t){ni(()=>{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)}})}const mi=Symbol("is custom element"),yi=Symbol("is html");function wi(e,t,r,n){var i=$i(e);if(D){i[t]=e.getAttribute(t);return}i[t]!==(i[t]=r)&&(r==null?e.removeAttribute(t):typeof r!="string"&&xi(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function $i(e){return e.__attributes??={[mi]:e.nodeName.includes("-"),[yi]:e.namespaceURI===dn}}var en=new Map;function xi(e){var t=e.getAttribute("is")||e.nodeName,r=en.get(t);if(r)return r;en.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=vn(i);for(var a in n)n[a].set&&r.push(a);i=rr(i)}return r}function tn(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),o;o=e[t],o===void 0&&n!==void 0&&(o=a());var l;l=()=>{var c=e[t];return c===void 0?a():(s=!0,c)};var u=!1,f=gt(()=>(u=!1,l())),h=k;return(function(c,v){if(arguments.length>0){const b=v?N(f):c;return ye(f,b),u=!0,i!==void 0&&(i=b),c}return Ye&&u||(h.f&ge)!==0?f.v:N(f)})}function Ei(e){return new ki(e)}class ki{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var o=$r(a,!1,!1);return r.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return N(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===mn?!0:(N(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return ye(r.get(a)??n(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?pi:Xr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&qt(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||ct(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{bi(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let rn;typeof HTMLElement=="function"&&(rn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),Zt(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Si(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]=Et(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=Ei({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ti(()=>{Or(()=>{this.$$r=!0;for(const n of ft(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=Et(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Et(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 ft(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Et(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 Si(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Mi(e,t,r,n,i,s){let a=class extends rn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return ft(t).map(o=>(t[o].attribute||o).toLowerCase())}};return ft(t).forEach(o=>{ct(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=Et(o,l,t),this.$$d[o]=l;var u=this.$$c;if(u){var f=Ve(u,o)?.get;f?u[o]=l:u.$set({[o]:l})}}})}),n.forEach(o=>{ct(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}var kt={exports:{}},Ti=kt.exports,nn;function sn(){return nn||(nn=1,(function(e,t){(function(r,n){e.exports=n()})(Ti,(function(){var r=1e3,n=6e4,i=36e5,s="millisecond",a="second",o="minute",l="hour",u="day",f="week",h="month",c="quarter",v="year",b="date",M="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,x={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(m){var _=["th","st","nd","rd"],d=m%100;return"["+m+(_[(d-20)%10]||_[d]||_[0])+"]"}},B=function(m,_,d){var g=String(m);return!g||g.length>=_?m:""+Array(_+1-g.length).join(d)+m},ne={s:B,z:function(m){var _=-m.utcOffset(),d=Math.abs(_),g=Math.floor(d/60),p=d%60;return(_<=0?"+":"-")+B(g,2,"0")+":"+B(p,2,"0")},m:function m(_,d){if(_.date()<d.date())return-m(d,_);var g=12*(d.year()-_.year())+(d.month()-_.month()),p=_.clone().add(g,h),y=d-p<0,w=_.clone().add(g+(y?-1:1),h);return+(-(g+(d-p)/(y?p-w:w-p))||0)},a:function(m){return m<0?Math.ceil(m)||0:Math.floor(m)},p:function(m){return{M:h,y:v,w:f,d:u,D:b,h:l,m:o,s:a,ms:s,Q:c}[m]||String(m||"").toLowerCase().replace(/s$/,"")},u:function(m){return m===void 0}},Y="en",P={};P[Y]=x;var ve="$isDayjsObject",ie=function(m){return m instanceof Fe||!(!m||!m[ve])},De=function m(_,d,g){var p;if(!_)return Y;if(typeof _=="string"){var y=_.toLowerCase();P[y]&&(p=y),d&&(P[y]=d,p=y);var w=_.split("-");if(!p&&w.length>1)return m(w[0])}else{var S=_.name;P[S]=_,p=S}return!g&&p&&(Y=p),p||!g&&Y},j=function(m,_){if(ie(m))return m.clone();var d=typeof _=="object"?_:{};return d.date=m,d.args=arguments,new Fe(d)},$=ne;$.l=De,$.i=ie,$.w=function(m,_){return j(m,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var Fe=(function(){function m(d){this.$L=De(d.locale,null,!0),this.parse(d),this.$x=this.$x||d.x||{},this[ve]=!0}var _=m.prototype;return _.parse=function(d){this.$d=(function(g){var p=g.date,y=g.utc;if(p===null)return new Date(NaN);if($.u(p))return new Date;if(p instanceof Date)return new Date(p);if(typeof p=="string"&&!/Z$/i.test(p)){var w=p.match(I);if(w){var S=w[2]-1||0,C=(w[7]||"0").substring(0,3);return y?new Date(Date.UTC(w[1],S,w[3]||1,w[4]||0,w[5]||0,w[6]||0,C)):new Date(w[1],S,w[3]||1,w[4]||0,w[5]||0,w[6]||0,C)}}return new Date(p)})(d),this.init()},_.init=function(){var d=this.$d;this.$y=d.getFullYear(),this.$M=d.getMonth(),this.$D=d.getDate(),this.$W=d.getDay(),this.$H=d.getHours(),this.$m=d.getMinutes(),this.$s=d.getSeconds(),this.$ms=d.getMilliseconds()},_.$utils=function(){return $},_.isValid=function(){return this.$d.toString()!==M},_.isSame=function(d,g){var p=j(d);return this.startOf(g)<=p&&p<=this.endOf(g)},_.isAfter=function(d,g){return j(d)<this.startOf(g)},_.isBefore=function(d,g){return this.endOf(g)<j(d)},_.$g=function(d,g,p){return $.u(d)?this[g]:this.set(p,d)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(d,g){var p=this,y=!!$.u(g)||g,w=$.p(d),S=function(qe,J){var Oe=$.w(p.$u?Date.UTC(p.$y,J,qe):new Date(p.$y,J,qe),p);return y?Oe:Oe.endOf(u)},C=function(qe,J){return $.w(p.toDate()[qe].apply(p.toDate("s"),(y?[0,0,0,0]:[23,59,59,999]).slice(J)),p)},R=this.$W,U=this.$M,se=this.$D,Ze="set"+(this.$u?"UTC":"");switch(w){case v:return y?S(1,0):S(31,11);case h:return y?S(1,U):S(0,U+1);case f:var He=this.$locale().weekStart||0,lt=(R<He?R+7:R)-He;return S(y?se-lt:se+(6-lt),U);case u:case b:return C(Ze+"Hours",0);case l:return C(Ze+"Minutes",1);case o:return C(Ze+"Seconds",2);case a:return C(Ze+"Milliseconds",3);default:return this.clone()}},_.endOf=function(d){return this.startOf(d,!1)},_.$set=function(d,g){var p,y=$.p(d),w="set"+(this.$u?"UTC":""),S=(p={},p[u]=w+"Date",p[b]=w+"Date",p[h]=w+"Month",p[v]=w+"FullYear",p[l]=w+"Hours",p[o]=w+"Minutes",p[a]=w+"Seconds",p[s]=w+"Milliseconds",p)[y],C=y===u?this.$D+(g-this.$W):g;if(y===h||y===v){var R=this.clone().set(b,1);R.$d[S](C),R.init(),this.$d=R.set(b,Math.min(this.$D,R.daysInMonth())).$d}else S&&this.$d[S](C);return this.init(),this},_.set=function(d,g){return this.clone().$set(d,g)},_.get=function(d){return this[$.p(d)]()},_.add=function(d,g){var p,y=this;d=Number(d);var w=$.p(g),S=function(U){var se=j(y);return $.w(se.date(se.date()+Math.round(U*d)),y)};if(w===h)return this.set(h,this.$M+d);if(w===v)return this.set(v,this.$y+d);if(w===u)return S(1);if(w===f)return S(7);var C=(p={},p[o]=n,p[l]=i,p[a]=r,p)[w]||1,R=this.$d.getTime()+d*C;return $.w(R,this)},_.subtract=function(d,g){return this.add(-1*d,g)},_.format=function(d){var g=this,p=this.$locale();if(!this.isValid())return p.invalidDate||M;var y=d||"YYYY-MM-DDTHH:mm:ssZ",w=$.z(this),S=this.$H,C=this.$m,R=this.$M,U=p.weekdays,se=p.months,Ze=p.meridiem,He=function(J,Oe,ut,Mt){return J&&(J[Oe]||J(g,y))||ut[Oe].slice(0,Mt)},lt=function(J){return $.s(S%12||12,J,"0")},qe=Ze||function(J,Oe,ut){var Mt=J<12?"AM":"PM";return ut?Mt.toLowerCase():Mt};return y.replace(O,(function(J,Oe){return Oe||(function(ut){switch(ut){case"YY":return String(g.$y).slice(-2);case"YYYY":return $.s(g.$y,4,"0");case"M":return R+1;case"MM":return $.s(R+1,2,"0");case"MMM":return He(p.monthsShort,R,se,3);case"MMMM":return He(se,R);case"D":return g.$D;case"DD":return $.s(g.$D,2,"0");case"d":return String(g.$W);case"dd":return He(p.weekdaysMin,g.$W,U,2);case"ddd":return He(p.weekdaysShort,g.$W,U,3);case"dddd":return U[g.$W];case"H":return String(S);case"HH":return $.s(S,2,"0");case"h":return lt(1);case"hh":return lt(2);case"a":return qe(S,C,!0);case"A":return qe(S,C,!1);case"m":return String(C);case"mm":return $.s(C,2,"0");case"s":return String(g.$s);case"ss":return $.s(g.$s,2,"0");case"SSS":return $.s(g.$ms,3,"0");case"Z":return w}return null})(J)||w.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(d,g,p){var y,w=this,S=$.p(g),C=j(d),R=(C.utcOffset()-this.utcOffset())*n,U=this-C,se=function(){return $.m(w,C)};switch(S){case v:y=se()/12;break;case h:y=se();break;case c:y=se()/3;break;case f:y=(U-R)/6048e5;break;case u:y=(U-R)/864e5;break;case l:y=U/i;break;case o:y=U/n;break;case a:y=U/r;break;default:y=U}return p?y:$.a(y)},_.daysInMonth=function(){return this.endOf(h).$D},_.$locale=function(){return P[this.$L]},_.locale=function(d,g){if(!d)return this.$L;var p=this.clone(),y=De(d,g,!0);return y&&(p.$L=y),p},_.clone=function(){return $.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},m})(),ot=Fe.prototype;return j.prototype=ot,[["$ms",s],["$s",a],["$m",o],["$H",l],["$W",u],["$M",h],["$y",v],["$D",b]].forEach((function(m){ot[m[1]]=function(_){return this.$g(_,m[0],m[1])}})),j.extend=function(m,_){return m.$i||(m(_,Fe,j),m.$i=!0),j},j.locale=De,j.isDayjs=ie,j.unix=function(m){return j(1e3*m)},j.en=P[Y],j.Ls=P,j.p={},j}))})(kt)),kt.exports}sn();var St={exports:{}},ji=St.exports,an;function Di(){return an||(an=1,(function(e,t){(function(r,n){e.exports=n(sn())})(ji,(function(r){function n(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=n(r),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(a){return a+"º"}};return i.default.locale(s,null,!0),s}))})(St)),St.exports}Di();var Oi=Gr('<div class="o_item row svelte-1y1ji7r"><div class="col-9 svelte-1y1ji7r"><img part="item_image" class="o_item_image svelte-1y1ji7r" alt=""/> <span class="o_item_desc svelte-1y1ji7r"> </span></div> <div class="col-3 text-center svelte-1y1ji7r">quantity</div></div>'),Ci=Gr('<div class="container svelte-1y1ji7r"><div class="row svelte-1y1ji7r" id="o_header"><div class="col-10 svelte-1y1ji7r"><span id="o_number" class="svelte-1y1ji7r"> </span></div> <div id="o_tracking" class="col-2 svelte-1y1ji7r">tracking</div></div> <div id="o_items" class="svelte-1y1ji7r"></div> <div class="row svelte-1y1ji7r" id="o_footer"><div class="col-3 text-center svelte-1y1ji7r">cancel</div> <div class="col-6 svelte-1y1ji7r">bbb</div> <div class="col-3 text-center svelte-1y1ji7r"> </div></div></div>');const Ai={hash:"svelte-1y1ji7r",code:`@charset "UTF-8";
1
+ (function(Qt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const lr=1,fr=2,or=16,cr=2,en="[",Tt="[!",jt="]",Ue={},F=Symbol(),dr="http://www.w3.org/1999/xhtml",Dt=!1;var tn=Array.isArray,hr=Array.prototype.indexOf,Ot=Array.from,ot=Object.keys,ct=Object.defineProperty,Ve=Object.getOwnPropertyDescriptor,vr=Object.getOwnPropertyDescriptors,_r=Object.prototype,pr=Array.prototype,nn=Object.getPrototypeOf,rn=Object.isExtensible;function mr(e){for(var t=0;t<e.length;t++)e[t]()}function sn(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const L=2,At=4,Ct=8,_e=16,pe=32,Ee=64,dt=128,ae=512,H=1024,W=2048,me=4096,K=8192,ge=16384,ht=32768,Ge=65536,an=1<<17,un=1<<18,Ae=1<<19,gr=1<<20,Ce=32768,Nt=1<<21,Rt=1<<22,Se=1<<23,Lt=Symbol("$state"),yr=Symbol("legacy props"),Be=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ln=3,We=8;function $r(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function wr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function br(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function xr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Er(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Sr(){throw new Error("https://svelte.dev/e/hydration_failed")}function kr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Mr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Tr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function jr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function vt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Dr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let D=!1;function Ne(e){D=e}let T;function G(e){if(e===null)throw vt(),Ue;return T=e}function It(){return G(we(T))}function le(e){if(D){if(we(T)!==null)throw vt(),Ue;T=e}}function Yt(e=1){if(D){for(var t=e,n=T;t--;)n=we(n);T=n}}function Pt(e=!0){for(var t=0,n=T;;){if(n.nodeType===We){var r=n.data;if(r===jt){if(t===0)return n;t-=1}else(r===en||r===Tt)&&(t+=1)}var i=we(n);e&&n.remove(),n=i}}function Or(e){if(!e||e.nodeType!==We)throw vt(),Ue;return e.data}function fn(e){return e===this.v}function Ar(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function on(e){return!Ar(e,this.v)}let Cr=!1,X=null;function ze(e){X=e}function cn(e,t=!1,n){X={p:X,i:!1,c:null,e:null,s:e,x:null,l:null}}function dn(e){var t=X,n=t.e;if(n!==null){t.e=null;for(var r of n)On(r)}return e!==void 0&&(t.x=e),t.i=!0,X=t.p,e??{}}function hn(){return!0}let Re=[];function vn(){var e=Re;Re=[],mr(e)}function Ft(e){if(Re.length===0&&!Xe){var t=Re;queueMicrotask(()=>{t===Re&&vn()})}Re.push(e)}function Nr(){for(;Re.length>0;)vn()}function _n(e){var t=S;if(t===null)return E.f|=Se,e;if((t.f&ht)===0){if((t.f&dt)===0)throw e;t.b.error(e)}else Je(e,t)}function Je(e,t){for(;t!==null;){if((t.f&dt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const _t=new Set;let C=null,Q=null,ee=[],pt=null,Ht=!1,Xe=!1;class ue{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#l=0;#s=0;#f=null;#a=[];#i=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#s>0}process(t){ee=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#n(r,n);this.is_fork||this.#o(),this.is_deferred()?(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects)):(C=null,mn(n.render_effects),mn(n.effects),this.#f?.resolve()),Q=null}#n(t,n){t.f^=H;for(var r=t.first;r!==null;){var i=r.f,s=(i&(pe|Ee))!==0,a=s&&(i&H)!==0,u=a||(i&K)!==0||this.skipped_effects.has(r);if((r.f&dt)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!u&&r.fn!==null){s?r.f^=H:(i&At)!==0?n.effects.push(r):st(r)&&((r.f&_e)!==0&&n.block_effects.push(r),at(r));var l=r.first;if(l!==null){r=l;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#r(n.effects),this.#r(n.render_effects),this.#r(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#r(t){for(const n of t)((n.f&W)!==0?this.#a:this.#i).push(n),this.#u(n.deps),q(n,H)}#u(t){if(t!==null)for(const n of t)(n.f&L)===0||(n.f&Ce)===0||(n.f^=Ce,this.#u(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&Se)===0&&(this.current.set(t,t.v),Q?.set(t,t.v))}activate(){C=this,this.apply()}deactivate(){C===this&&(C=null,Q=null)}flush(){if(this.activate(),ee.length>0){if(pn(),C!==null&&C!==this)return}else this.#l===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#o(){if(this.#s===0){for(const t of this.#t)t();this.#t.clear()}this.#l===0&&this.#c()}#c(){if(_t.size>1){this.previous.clear();var t=Q,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of _t){if(s===this){n=!1;continue}const a=[];for(const[l,f]of this.current){if(s.current.has(l))if(n&&f!==s.current.get(l))s.current.set(l,f);else continue;a.push(l)}if(a.length===0)continue;const u=[...s.current.keys()].filter(l=>!this.current.has(l));if(u.length>0){var i=ee;ee=[];const l=new Set,f=new Map;for(const o of a)gn(o,u,l,f);if(ee.length>0){C=s,s.apply();for(const o of ee)s.#n(o,r);s.deactivate()}ee=i}}C=null,Q=t}this.committed=!0,_t.delete(this)}increment(t){this.#l+=1,t&&(this.#s+=1)}decrement(t){this.#l-=1,t&&(this.#s-=1),this.revive()}revive(){for(const t of this.#a)q(t,W),Le(t);for(const t of this.#i)q(t,me),Le(t);this.#a=[],this.#i=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#f??=sn()).promise}static ensure(){if(C===null){const t=C=new ue;_t.add(C),Xe||ue.enqueue(()=>{C===t&&t.flush()})}return C}static enqueue(t){Ft(t)}apply(){}}function qt(e){var t=Xe;Xe=!0;try{for(var n;;){if(Nr(),ee.length===0&&(C?.flush(),ee.length===0))return pt=null,n;pn()}}finally{Xe=t}}function pn(){var e=je;Ht=!0;var t=null;try{var n=0;for(wt(!0);ee.length>0;){var r=ue.ensure();if(n++>1e3){var i,s;Rr()}r.process(ee),ke.clear()}}finally{Ht=!1,wt(e),pt=null}}function Rr(){try{Er()}catch(e){Je(e,pt)}}let ye=null;function mn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ge|K))===0&&st(r)&&(ye=new Set,at(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?In(r):r.fn=null),ye?.size>0)){ke.clear();for(const i of ye){if((i.f&(ge|K))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)ye.has(a)&&(ye.delete(a),s.push(a)),a=a.parent;for(let u=s.length-1;u>=0;u--){const l=s[u];(l.f&(ge|K))===0&&at(l)}}ye.clear()}}ye=null}}function gn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&L)!==0?gn(i,t,n,r):(s&(Rt|_e))!==0&&(s&W)===0&&yn(i,t,r)&&(q(i,W),Le(i))}}function yn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&L)!==0&&yn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Le(e){for(var t=pt=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ht&&t===S&&(n&_e)!==0&&(n&un)===0)return;if((n&(Ee|pe))!==0){if((n&H)===0)return;t.f^=H}}ee.push(t)}function Lr(e){let t=0,n=Ie(0),r;return()=>{$t()&&(N(n),An(()=>(t===0&&(r=oi(()=>e(()=>et(n)))),t+=1,()=>{Ft(()=>{t-=1,t===0&&(r?.(),r=void 0,et(n))})})))}}var Ir=Ge|Ae|dt;function Yr(e,t,n){new Pr(e,t,n)}class Pr{parent;#t=!1;#e;#l=D?T:null;#s;#f;#a;#i=null;#n=null;#r=null;#u=null;#o=null;#c=0;#d=0;#v=!1;#h=null;#y=Lr(()=>(this.#h=Ie(this.#c),()=>{this.#h=null}));constructor(t,n,r){this.#e=t,this.#s=n,this.#f=r,this.parent=S.b,this.#t=!!this.#s.pending,this.#a=Nn(()=>{if(S.b=this,D){const s=this.#l;It(),s.nodeType===We&&s.data===Tt?this.#w():this.#$()}else{var i=this.#m();try{this.#i=ce(()=>r(i))}catch(s){this.error(s)}this.#d>0?this.#p():this.#t=!1}return()=>{this.#o?.remove()}},Ir),D&&(this.#e=T)}#$(){try{this.#i=ce(()=>this.#f(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#s.pending;t&&(this.#n=ce(()=>t(this.#e)),ue.enqueue(()=>{var n=this.#m();this.#i=this.#_(()=>(ue.ensure(),ce(()=>this.#f(n)))),this.#d>0?this.#p():(rt(this.#n,()=>{this.#n=null}),this.#t=!1)}))}#m(){var t=this.#e;return this.#t&&(this.#o=Te(),this.#e.before(this.#o),t=this.#o),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#s.pending}#_(t){var n=S,r=E,i=X;he(this.#a),z(this.#a),ze(this.#a.ctx);try{return t()}catch(s){return _n(s),null}finally{he(n),z(r),ze(i)}}#p(){const t=this.#s.pending;this.#i!==null&&(this.#u=document.createDocumentFragment(),this.#u.append(this.#o),ui(this.#i,this.#u)),this.#n===null&&(this.#n=ce(()=>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.#n&&rt(this.#n,()=>{this.#n=null}),this.#u&&(this.#e.before(this.#u),this.#u=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#h&&Qe(this.#h,this.#c)}get_effect_pending(){return this.#y(),N(this.#h)}error(t){var n=this.#s.onerror;let r=this.#s.failed;if(this.#v||!n&&!r)throw t;this.#i&&(te(this.#i),this.#i=null),this.#n&&(te(this.#n),this.#n=null),this.#r&&(te(this.#r),this.#r=null),D&&(G(this.#l),Yt(),G(Pt()));var i=!1,s=!1;const a=()=>{if(i){Dr();return}i=!0,s&&jr(),ue.ensure(),this.#c=0,this.#r!==null&&rt(this.#r,()=>{this.#r=null}),this.#t=this.has_pending_snippet(),this.#i=this.#_(()=>(this.#v=!1,ce(()=>this.#f(this.#e)))),this.#d>0?this.#p():this.#t=!1};var u=E;try{z(null),s=!0,n?.(t,a),s=!1}catch(l){Je(l,this.#a&&this.#a.parent)}finally{z(u)}r&&Ft(()=>{this.#r=this.#_(()=>{ue.ensure(),this.#v=!0;try{return ce(()=>{r(this.#e,()=>t,()=>a)})}catch(l){return Je(l,this.#a.parent),null}finally{this.#v=!1}})})}}function Fr(e,t,n){for(var r=[],i=t.length,s=0;s<i;s++)Jt(t[s].e,r,!0);Yn(r,()=>{var a=r.length===0&&n!==null;if(a){var u=n,l=u.parentNode;jn(l),l.append(u),e.items.clear(),fe(e,t[0].prev,t[i-1].next)}for(var f=0;f<i;f++){var o=t[f];a||(e.items.delete(o.k),fe(e,o.prev,o.next)),te(o.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function Hr(e,t,n,r,i,s=null){var a=e,u=new Map,l=null;{var f=e;a=D?G(nt(f)):f.appendChild(Te())}D&&It();var o=null,h=zr(()=>{var O=n();return tn(O)?O:O==null?[]:Ot(O)}),c,v=!0;function m(){qr(I,c,a,t,r),o!==null&&(c.length===0?(o.fragment?(a.before(o.fragment),o.fragment=null):Pn(o.effect),M.first=o.effect):rt(o.effect,()=>{o=null}))}var M=Nn(()=>{c=N(h);var O=c.length;let x=!1;if(D){var B=Or(a)===Tt;B!==(O===0)&&(a=Pt(),G(a),Ne(!1),x=!0)}for(var re=new Set,Y=C,P=null,ve=Zr(),ie=0;ie<O;ie+=1){D&&T.nodeType===We&&T.data===jt&&(a=T,x=!0,Ne(!1));var De=c[ie],j=r(De,ie),b=v?null:u.get(j);b?(Qe(b.v,De),b.i=ie,ve&&Y.skipped_effects.delete(b.e)):(b=Ur(v?a:null,P,De,j,ie,i,t,n),v&&(b.o=!0,P===null?l=b:P.next=b,P=b),u.set(j,b)),re.add(j)}if(O===0&&s&&!o)if(v)o={fragment:null,effect:ce(()=>s(a))};else{var Fe=document.createDocumentFragment(),ut=Te();Fe.append(ut),o={fragment:Fe,effect:ce(()=>s(ut))}}if(D&&O>0&&G(Pt()),!v)if(ve){for(const[y,_]of u)re.has(y)||Y.skipped_effects.add(_.e);Y.oncommit(m),Y.ondiscard(()=>{})}else m();x&&Ne(!0),N(h)}),I={effect:M,items:u,first:l};v=!1,D&&(a=T)}function qr(e,t,n,r,i){var s=t.length,a=e.items,u=e.first,l,f=null,o=[],h=[],c,v,m,M;for(M=0;M<s;M+=1){if(c=t[M],v=i(c,M),m=a.get(v),e.first??=m,!m.o){m.o=!0;var I=f?f.next:u;fe(e,f,m),fe(e,m,I),Ut(m,I,n),f=m,o=[],h=[],u=f.next;continue}if((m.e.f&K)!==0&&Pn(m.e),m!==u){if(l!==void 0&&l.has(m)){if(o.length<h.length){var O=h[0],x;f=O.prev;var B=o[0],re=o[o.length-1];for(x=0;x<o.length;x+=1)Ut(o[x],O,n);for(x=0;x<h.length;x+=1)l.delete(h[x]);fe(e,B.prev,re.next),fe(e,f,B),fe(e,re,O),u=O,f=re,M-=1,o=[],h=[]}else l.delete(m),Ut(m,u,n),fe(e,m.prev,m.next),fe(e,m,f===null?e.first:f.next),fe(e,f,m),f=m;continue}for(o=[],h=[];u!==null&&u.k!==v;)(u.e.f&K)===0&&(l??=new Set).add(u),h.push(u),u=u.next;if(u===null)continue;m=u}o.push(m),f=m,u=m.next}if(u!==null||l!==void 0){for(var Y=l===void 0?[]:Ot(l);u!==null;)(u.e.f&K)===0&&Y.push(u),u=u.next;var P=Y.length;if(P>0){var ve=s===0?n:null;Fr(e,Y,ve)}}}function Ur(e,t,n,r,i,s,a,u){var l=(a&lr)!==0,f=(a&or)===0,o=l?f?xn(n,!1,!1):Ie(n):n,h=(a&fr)===0?i:Ie(i),c={i:h,v:o,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var v=document.createDocumentFragment();v.append(e=Te())}return c.e=ce(()=>s(e,o,h,u)),t!==null&&(t.next=c),c}finally{}}function Ut(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==null&&s!==r;){var a=we(s);i.before(s),s=a}}function fe(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Vr(e,t,n,r){const i=gt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=C,a=S,u=Br();function l(){Promise.all(n.map(f=>Wr(f))).then(f=>{u();try{r([...t.map(i),...f])}catch(o){(a.f&ge)===0&&Je(o,a)}s?.deactivate(),mt()}).catch(f=>{Je(f,a)})}e.length>0?Promise.all(e).then(()=>{u();try{return l()}finally{s?.deactivate(),mt()}}):l()}function Br(){var e=S,t=E,n=X,r=C;return function(s=!0){he(e),z(t),ze(n),s&&r?.activate()}}function mt(){he(null),z(null),ze(null)}function gt(e){var t=L|W,n=E!==null&&(E.f&L)!==0?E:null;return S!==null&&(S.f|=Ae),{ctx:X,deps:null,effects:null,equals:fn,f:t,fn:e,reactions:null,rv:0,v:F,wv:0,parent:n??S,ac:null}}function Wr(e,t){let n=S;n===null&&$r();var r=n.b,i=void 0,s=Ie(F),a=!E,u=new Map;return ii(()=>{var l=sn();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===C&&f.committed&&f.deactivate(),mt()})}catch(c){l.reject(c),mt()}var f=C;if(a){var o=!r.is_pending();r.update_pending_count(1),f.increment(o),u.get(f)?.reject(Be),u.delete(f),u.set(f,l)}const h=(c,v=void 0)=>{if(f.activate(),v)v!==Be&&(s.f|=Se,Qe(s,v));else{(s.f&Se)!==0&&(s.f^=Se),Qe(s,c);for(const[m,M]of u){if(u.delete(m),m===f)break;M.reject(Be)}}a&&(r.update_pending_count(-1),f.decrement(o))};l.promise.then(h,c=>h(null,c||"unknown"))}),Qr(()=>{for(const l of u.values())l.reject(Be)}),new Promise(l=>{function f(o){function h(){o===i?l(s):f(i)}o.then(h,h)}f(i)})}function Vt(e){const t=gt(e);return qn(t),t}function zr(e){const t=gt(e);return t.equals=on,t}function $n(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)te(t[n])}}function Jr(e){for(var t=e.parent;t!==null;){if((t.f&L)===0)return(t.f&ge)===0?t:null;t=t.parent}return null}function Bt(e){var t,n=S;he(Jr(e));try{e.f&=~Ce,$n(e),t=zn(e)}finally{he(n)}return t}function wn(e){var t=Bt(e);if(e.equals(t)||(C?.is_fork||(e.v=t),e.wv=Bn()),!Ye)if(Q!==null)$t()&&Q.set(e,t);else{var n=(e.f&ae)===0?me:H;q(e,n)}}let Wt=new Set;const ke=new Map;let bn=!1;function Ie(e,t){var n={f:0,v:e,reactions:null,equals:fn,rv:0,wv:0};return n}function Me(e,t){const n=Ie(e);return qn(n),n}function xn(e,t=!1,n=!0){const r=Ie(e);return t||(r.equals=on),r}function $e(e,t,n=!1){E!==null&&(!de||(E.f&an)!==0)&&hn()&&(E.f&(L|_e|Rt|an))!==0&&!xe?.includes(e)&&Tr();let r=n?tt(t):t;return Qe(e,r)}function Qe(e,t){if(!e.equals(t)){var n=e.v;Ye?ke.set(e,t):ke.set(e,n),e.v=t;var r=ue.ensure();r.capture(e,n),(e.f&L)!==0&&((e.f&W)!==0&&Bt(e),q(e,(e.f&ae)!==0?H:me)),e.wv=Bn(),En(e,W),S!==null&&(S.f&H)!==0&&(S.f&(pe|Ee))===0&&(ne===null?li([e]):ne.push(e)),!r.is_fork&&Wt.size>0&&!bn&&Kr()}return t}function Kr(){bn=!1;var e=je;wt(!0);const t=Array.from(Wt);try{for(const n of t)(n.f&H)!==0&&q(n,me),st(n)&&at(n)}finally{wt(e)}Wt.clear()}function et(e){$e(e,e.v+1)}function En(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],a=s.f,u=(a&W)===0;if(u&&q(s,t),(a&L)!==0){var l=s;Q?.delete(l),(a&Ce)===0&&(a&ae&&(s.f|=Ce),En(l,me))}else u&&((a&_e)!==0&&ye!==null&&ye.add(s),Le(s))}}function tt(e){if(typeof e!="object"||e===null||Lt in e)return e;const t=nn(e);if(t!==_r&&t!==pr)return e;var n=new Map,r=tn(e),i=Me(0),s=Pe,a=u=>{if(Pe===s)return u();var l=E,f=Pe;z(null),Vn(s);var o=u();return z(l),Vn(f),o};return r&&n.set("length",Me(e.length)),new Proxy(e,{defineProperty(u,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&kr();var o=n.get(l);return o===void 0?o=a(()=>{var h=Me(f.value);return n.set(l,h),h}):$e(o,f.value,!0),!0},deleteProperty(u,l){var f=n.get(l);if(f===void 0){if(l in u){const o=a(()=>Me(F));n.set(l,o),et(i)}}else $e(f,F),et(i);return!0},get(u,l,f){if(l===Lt)return e;var o=n.get(l),h=l in u;if(o===void 0&&(!h||Ve(u,l)?.writable)&&(o=a(()=>{var v=tt(h?u[l]:F),m=Me(v);return m}),n.set(l,o)),o!==void 0){var c=N(o);return c===F?void 0:c}return Reflect.get(u,l,f)},getOwnPropertyDescriptor(u,l){var f=Reflect.getOwnPropertyDescriptor(u,l);if(f&&"value"in f){var o=n.get(l);o&&(f.value=N(o))}else if(f===void 0){var h=n.get(l),c=h?.v;if(h!==void 0&&c!==F)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return f},has(u,l){if(l===Lt)return!0;var f=n.get(l),o=f!==void 0&&f.v!==F||Reflect.has(u,l);if(f!==void 0||S!==null&&(!o||Ve(u,l)?.writable)){f===void 0&&(f=a(()=>{var c=o?tt(u[l]):F,v=Me(c);return v}),n.set(l,f));var h=N(f);if(h===F)return!1}return o},set(u,l,f,o){var h=n.get(l),c=l in u;if(r&&l==="length")for(var v=f;v<h.v;v+=1){var m=n.get(v+"");m!==void 0?$e(m,F):v in u&&(m=a(()=>Me(F)),n.set(v+"",m))}if(h===void 0)(!c||Ve(u,l)?.writable)&&(h=a(()=>Me(void 0)),$e(h,tt(f)),n.set(l,h));else{c=h.v!==F;var M=a(()=>tt(f));$e(h,M)}var I=Reflect.getOwnPropertyDescriptor(u,l);if(I?.set&&I.set.call(o,f),!c){if(r&&typeof l=="string"){var O=n.get("length"),x=Number(l);Number.isInteger(x)&&x>=O.v&&$e(O,x+1)}et(i)}return!0},ownKeys(u){N(i);var l=Reflect.ownKeys(u).filter(h=>{var c=n.get(h);return c===void 0||c.v!==F});for(var[f,o]of n)o.v!==F&&!(f in u)&&l.push(f);return l},setPrototypeOf(){Mr()}})}var Sn,kn,Mn,Tn;function zt(){if(Sn===void 0){Sn=window,kn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Mn=Ve(t,"firstChild").get,Tn=Ve(t,"nextSibling").get,rn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),rn(n)&&(n.__t=void 0)}}function Te(e=""){return document.createTextNode(e)}function nt(e){return Mn.call(e)}function we(e){return Tn.call(e)}function be(e,t){if(!D)return nt(e);var n=nt(T);if(n===null)n=T.appendChild(Te());else if(t&&n.nodeType!==ln){var r=Te();return n?.before(r),G(r),r}return G(n),n}function yt(e,t=1,n=!1){let r=D?T:e;for(var i;t--;)i=r,r=we(r);if(!D)return r;if(n&&r?.nodeType!==ln){var s=Te();return r===null?i?.after(s):r.before(s),G(s),s}return G(r),r}function jn(e){e.textContent=""}function Zr(){return!1}function Dn(e){var t=E,n=S;z(null),he(null);try{return e()}finally{z(t),he(n)}}function Gr(e){S===null&&(E===null&&xr(),br()),Ye&&wr()}function Xr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function oe(e,t,n){var r=S;r!==null&&(r.f&K)!==0&&(e|=K);var i={ctx:X,deps:null,nodes_start:null,nodes_end:null,f:e|W|ae,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{at(i),i.f|=ht}catch(u){throw te(i),u}else t!==null&&Le(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&Ae)===0&&(s=s.first,(e&_e)!==0&&(e&Ge)!==0&&s!==null&&(s.f|=Ge)),s!==null&&(s.parent=r,r!==null&&Xr(s,r),E!==null&&(E.f&L)!==0&&(e&Ee)===0)){var a=E;(a.effects??=[]).push(s)}return i}function $t(){return E!==null&&!de}function Qr(e){const t=oe(Ct,null,!1);return q(t,H),t.teardown=e,t}function ei(e){Gr();var t=S.f,n=!E&&(t&pe)!==0&&(t&ht)===0;if(n){var r=X;(r.e??=[]).push(e)}else return On(e)}function On(e){return oe(At|gr,e,!1)}function ti(e){ue.ensure();const t=oe(Ee|Ae,e,!0);return()=>{te(t)}}function ni(e){ue.ensure();const t=oe(Ee|Ae,e,!0);return(n={})=>new Promise(r=>{n.outro?rt(t,()=>{te(t),r(void 0)}):(te(t),r(void 0))})}function ri(e){return oe(At,e,!1)}function ii(e){return oe(Rt|Ae,e,!0)}function An(e,t=0){return oe(Ct|t,e,!0)}function Cn(e,t=[],n=[],r=[]){Vr(r,t,n,i=>{oe(Ct,()=>e(...i.map(N)),!0)})}function Nn(e,t=0){var n=oe(_e|t,e,!0);return n}function ce(e){return oe(pe|Ae,e,!0)}function Rn(e){var t=e.teardown;if(t!==null){const n=Ye,r=E;Hn(!0),z(null);try{t.call(null)}finally{Hn(n),z(r)}}}function Ln(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Dn(()=>{i.abort(Be)});var r=n.next;(n.f&Ee)!==0?n.parent=null:te(n,t),n=r}}function si(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&pe)===0&&te(t),t=n}}function te(e,t=!0){var n=!1;(t||(e.f&un)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(ai(e.nodes_start,e.nodes_end),n=!0),Ln(e,t&&!n),bt(e,0),q(e,ge);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Rn(e);var i=e.parent;i!==null&&i.first!==null&&In(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function ai(e,t){for(;e!==null;){var n=e===t?null:we(e);e.remove(),e=n}}function In(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function rt(e,t,n=!0){var r=[];Jt(e,r,!0),Yn(r,()=>{n&&te(e),t&&t()})}function Yn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Jt(e,t,n){if((e.f&K)===0){if(e.f^=K,e.transitions!==null)for(const a of e.transitions)(a.is_global||n)&&t.push(a);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Ge)!==0||(r.f&pe)!==0&&(e.f&_e)!==0;Jt(r,t,s?n:!1),r=i}}}function Pn(e){Fn(e,!0)}function Fn(e,t){if((e.f&K)!==0){e.f^=K,(e.f&H)===0&&(q(e,W),Le(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ge)!==0||(n.f&pe)!==0;Fn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function ui(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:we(n);t.append(n),n=i}}let je=!1;function wt(e){je=e}let Ye=!1;function Hn(e){Ye=e}let E=null,de=!1;function z(e){E=e}let S=null;function he(e){S=e}let xe=null;function qn(e){E!==null&&(xe===null?xe=[e]:xe.push(e))}let V=null,Z=0,ne=null;function li(e){ne=e}let Un=1,it=0,Pe=it;function Vn(e){Pe=e}function Bn(){return++Un}function st(e){var t=e.f;if((t&W)!==0)return!0;if(t&L&&(e.f&=~Ce),(t&me)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(st(s)&&wn(s),s.wv>e.wv)return!0}(t&ae)!==0&&Q===null&&q(e,H)}return!1}function Wn(e,t,n=!0){var r=e.reactions;if(r!==null&&!xe?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&L)!==0?Wn(s,t,!1):t===s&&(n?q(s,W):(s.f&H)!==0&&q(s,me),Le(s))}}function zn(e){var t=V,n=Z,r=ne,i=E,s=xe,a=X,u=de,l=Pe,f=e.f;V=null,Z=0,ne=null,E=(f&(pe|Ee))===0?e:null,xe=null,ze(e.ctx),de=!1,Pe=++it,e.ac!==null&&(Dn(()=>{e.ac.abort(Be)}),e.ac=null);try{e.f|=Nt;var o=e.fn,h=o(),c=e.deps;if(V!==null){var v;if(bt(e,Z),c!==null&&Z>0)for(c.length=Z+V.length,v=0;v<V.length;v++)c[Z+v]=V[v];else e.deps=c=V;if(je&&$t()&&(e.f&ae)!==0)for(v=Z;v<c.length;v++)(c[v].reactions??=[]).push(e)}else c!==null&&Z<c.length&&(bt(e,Z),c.length=Z);if(hn()&&ne!==null&&!de&&c!==null&&(e.f&(L|me|W))===0)for(v=0;v<ne.length;v++)Wn(ne[v],e);return i!==null&&i!==e&&(it++,ne!==null&&(r===null?r=ne:r.push(...ne))),(e.f&Se)!==0&&(e.f^=Se),h}catch(m){return _n(m)}finally{e.f^=Nt,V=t,Z=n,ne=r,E=i,xe=s,ze(a),de=u,Pe=l}}function fi(e,t){let n=t.reactions;if(n!==null){var r=hr.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&L)!==0&&(V===null||!V.includes(t))&&(q(t,me),(t.f&ae)!==0&&(t.f^=ae,t.f&=~Ce),$n(t),bt(t,0))}function bt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)fi(e,n[r])}function at(e){var t=e.f;if((t&ge)===0){q(e,H);var n=S,r=je;S=e,je=!0;try{(t&_e)!==0?si(e):Ln(e),Rn(e);var i=zn(e);e.teardown=typeof i=="function"?i:null,e.wv=Un;var s;Dt&&Cr&&(e.f&W)!==0&&e.deps}finally{je=r,S=n}}}function N(e){var t=e.f,n=(t&L)!==0;if(E!==null&&!de){var r=S!==null&&(S.f&ge)!==0;if(!r&&!xe?.includes(e)){var i=E.deps;if((E.f&Nt)!==0)e.rv<it&&(e.rv=it,V===null&&i!==null&&i[Z]===e?Z++:V===null?V=[e]:V.includes(e)||V.push(e));else{(E.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[E]:s.includes(E)||s.push(E)}}}if(Ye){if(ke.has(e))return ke.get(e);if(n){var a=e,u=a.v;return((a.f&H)===0&&a.reactions!==null||Kn(a))&&(u=Bt(a)),ke.set(a,u),u}}else n&&!Q?.has(e)&&(a=e,st(a)&&wn(a),je&&$t()&&(a.f&ae)===0&&Jn(a));if(Q?.has(e))return Q.get(e);if((e.f&Se)!==0)throw e.v;return e.v}function Jn(e){if(e.deps!==null){e.f^=ae;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&L)!==0&&(t.f&ae)===0&&Jn(t)}}function Kn(e){if(e.v===F)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ke.has(t)||(t.f&L)!==0&&Kn(t))return!0;return!1}function oi(e){var t=de;try{return de=!0,e()}finally{de=t}}const ci=-7169;function q(e,t){e.f=e.f&ci|t}const di=new Set,Zn=new Set;let Gn=null;function xt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Gn=e;var a=0,u=Gn===e&&e.__root;if(u){var l=i.indexOf(u);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(a=l)}if(s=i[a]||e.target,s!==t){ct(e,"currentTarget",{configurable:!0,get(){return s||n}});var o=E,h=S;z(null),he(null);try{for(var c,v=[];s!==null;){var m=s.assignedSlot||s.parentNode||s.host||null;try{var M=s["__"+r];M!=null&&(!s.disabled||e.target===s)&&M.call(s,e)}catch(I){c?v.push(I):c=I}if(e.cancelBubble||m===t||m===null)break;s=m}if(c){for(let I of v)queueMicrotask(()=>{throw I});throw c}}finally{e.__root=t,delete e.currentTarget,z(o),he(h)}}}function hi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Kt(e,t){var n=S;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Xn(e,t){var n=(t&cr)!==0,r,i=!e.startsWith("<!>");return()=>{if(D)return Kt(T,null),T;r===void 0&&(r=hi(i?e:"<!>"+e),r=nt(r));var s=n||kn?document.importNode(r,!0):r.cloneNode(!0);return Kt(s,s),s}}function Zt(e,t){if(D){var n=S;((n.f&ht)===0||n.nodes_end===null)&&(n.nodes_end=T),It();return}e!==null&&e.before(t)}const vi=["touchstart","touchmove"];function _i(e){return vi.includes(e)}function Gt(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function Qn(e,t){return er(e,t)}function pi(e,t){zt(),t.intro=t.intro??!1;const n=t.target,r=D,i=T;try{for(var s=nt(n);s&&(s.nodeType!==We||s.data!==en);)s=we(s);if(!s)throw Ue;Ne(!0),G(s);const a=er(e,{...t,anchor:s});return Ne(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
+ `).some(u=>u.startsWith("https://svelte.dev/e/")))throw a;return a!==Ue&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Sr(),zt(),jn(n),Ne(!1),Qn(e,t)}finally{Ne(r),G(i)}}const Ke=new Map;function er(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){zt();var u=new Set,l=h=>{for(var c=0;c<h.length;c++){var v=h[c];if(!u.has(v)){u.add(v);var m=_i(v);t.addEventListener(v,xt,{passive:m});var M=Ke.get(v);M===void 0?(document.addEventListener(v,xt,{passive:m}),Ke.set(v,1)):Ke.set(v,M+1)}}};l(Ot(di)),Zn.add(l);var f=void 0,o=ni(()=>{var h=n??t.appendChild(Te());return Yr(h,{pending:()=>{}},c=>{if(s){cn({});var v=X;v.c=s}if(i&&(r.$$events=i),D&&Kt(c,null),f=e(c,r)||{},D&&(S.nodes_end=T,T===null||T.nodeType!==We||T.data!==jt))throw vt(),Ue;s&&dn()}),()=>{for(var c of u){t.removeEventListener(c,xt);var v=Ke.get(c);--v===0?(document.removeEventListener(c,xt),Ke.delete(c)):Ke.set(c,v)}Zn.delete(l),h!==n&&h.parentNode?.removeChild(h)}});return Xt.set(f,o),f}let Xt=new WeakMap;function mi(e,t){const n=Xt.get(e);return n?(Xt.delete(e),n(t)):Promise.resolve()}function gi(e,t){ri(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}const yi=Symbol("is custom element"),$i=Symbol("is html");function wi(e,t,n,r){var i=bi(e);if(D){i[t]=e.getAttribute(t);return}i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&xi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function bi(e){return e.__attributes??={[yi]:e.nodeName.includes("-"),[$i]:e.namespaceURI===dr}}var tr=new Map;function xi(e){var t=e.getAttribute("is")||e.nodeName,n=tr.get(t);if(n)return n;tr.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=vr(i);for(var a in r)r[a].set&&n.push(a);i=nn(i)}return n}function nr(e,t,n,r){var i=r,s=!0,a=()=>(s&&(s=!1,i=r),i),u;u=e[t],u===void 0&&r!==void 0&&(u=a());var l;l=()=>{var c=e[t];return c===void 0?a():(s=!0,c)};var f=!1,o=gt(()=>(f=!1,l())),h=S;return(function(c,v){if(arguments.length>0){const m=v?N(o):c;return $e(o,m),f=!0,i!==void 0&&(i=m),c}return Ye&&f||(h.f&ge)!==0?o.v:N(o)})}function Ei(e){return new Si(e)}class Si{#t;#e;constructor(t){var n=new Map,r=(s,a)=>{var u=xn(a,!1,!1);return n.set(s,u),u};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return N(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===yr?!0:(N(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,u){return $e(n.get(a)??r(a,u),u),Reflect.set(s,a,u)}});this.#e=(t.hydrate?pi:Qn)(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)&&qt(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||ct(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{mi(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let rr;typeof HTMLElement=="function"&&(rr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=document.createElement("slot");r!=="default"&&(s.name=r),Zt(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=ki(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=Et(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Ei({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ti(()=>{An(()=>{this.$$r=!0;for(const r of ot(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Et(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Et(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return ot(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Et(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ki(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Mi(e,t,n,r,i,s){let a=class extends rr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return ot(t).map(u=>(t[u].attribute||u).toLowerCase())}};return ot(t).forEach(u=>{ct(a.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(l){l=Et(u,l,t),this.$$d[u]=l;var f=this.$$c;if(f){var o=Ve(f,u)?.get;o?f[u]=l:f.$set({[u]:l})}}})}),r.forEach(u=>{ct(a.prototype,u,{get(){return this.$$c?.[u]}})}),e.element=a,a}var St={exports:{}},Ti=St.exports,ir;function sr(){return ir||(ir=1,(function(e,t){(function(n,r){e.exports=r()})(Ti,(function(){var n=1e3,r=6e4,i=36e5,s="millisecond",a="second",u="minute",l="hour",f="day",o="week",h="month",c="quarter",v="year",m="date",M="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,O=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,x={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(y){var _=["th","st","nd","rd"],d=y%100;return"["+y+(_[(d-20)%10]||_[d]||_[0])+"]"}},B=function(y,_,d){var g=String(y);return!g||g.length>=_?y:""+Array(_+1-g.length).join(d)+y},re={s:B,z:function(y){var _=-y.utcOffset(),d=Math.abs(_),g=Math.floor(d/60),p=d%60;return(_<=0?"+":"-")+B(g,2,"0")+":"+B(p,2,"0")},m:function y(_,d){if(_.date()<d.date())return-y(d,_);var g=12*(d.year()-_.year())+(d.month()-_.month()),p=_.clone().add(g,h),$=d-p<0,w=_.clone().add(g+($?-1:1),h);return+(-(g+(d-p)/($?p-w:w-p))||0)},a:function(y){return y<0?Math.ceil(y)||0:Math.floor(y)},p:function(y){return{M:h,y:v,w:o,d:f,D:m,h:l,m:u,s:a,ms:s,Q:c}[y]||String(y||"").toLowerCase().replace(/s$/,"")},u:function(y){return y===void 0}},Y="en",P={};P[Y]=x;var ve="$isDayjsObject",ie=function(y){return y instanceof Fe||!(!y||!y[ve])},De=function y(_,d,g){var p;if(!_)return Y;if(typeof _=="string"){var $=_.toLowerCase();P[$]&&(p=$),d&&(P[$]=d,p=$);var w=_.split("-");if(!p&&w.length>1)return y(w[0])}else{var k=_.name;P[k]=_,p=k}return!g&&p&&(Y=p),p||!g&&Y},j=function(y,_){if(ie(y))return y.clone();var d=typeof _=="object"?_:{};return d.date=y,d.args=arguments,new Fe(d)},b=re;b.l=De,b.i=ie,b.w=function(y,_){return j(y,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var Fe=(function(){function y(d){this.$L=De(d.locale,null,!0),this.parse(d),this.$x=this.$x||d.x||{},this[ve]=!0}var _=y.prototype;return _.parse=function(d){this.$d=(function(g){var p=g.date,$=g.utc;if(p===null)return new Date(NaN);if(b.u(p))return new Date;if(p instanceof Date)return new Date(p);if(typeof p=="string"&&!/Z$/i.test(p)){var w=p.match(I);if(w){var k=w[2]-1||0,A=(w[7]||"0").substring(0,3);return $?new Date(Date.UTC(w[1],k,w[3]||1,w[4]||0,w[5]||0,w[6]||0,A)):new Date(w[1],k,w[3]||1,w[4]||0,w[5]||0,w[6]||0,A)}}return new Date(p)})(d),this.init()},_.init=function(){var d=this.$d;this.$y=d.getFullYear(),this.$M=d.getMonth(),this.$D=d.getDate(),this.$W=d.getDay(),this.$H=d.getHours(),this.$m=d.getMinutes(),this.$s=d.getSeconds(),this.$ms=d.getMilliseconds()},_.$utils=function(){return b},_.isValid=function(){return this.$d.toString()!==M},_.isSame=function(d,g){var p=j(d);return this.startOf(g)<=p&&p<=this.endOf(g)},_.isAfter=function(d,g){return j(d)<this.startOf(g)},_.isBefore=function(d,g){return this.endOf(g)<j(d)},_.$g=function(d,g,p){return b.u(d)?this[g]:this.set(p,d)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(d,g){var p=this,$=!!b.u(g)||g,w=b.p(d),k=function(qe,J){var Oe=b.w(p.$u?Date.UTC(p.$y,J,qe):new Date(p.$y,J,qe),p);return $?Oe:Oe.endOf(f)},A=function(qe,J){return b.w(p.toDate()[qe].apply(p.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(J)),p)},R=this.$W,U=this.$M,se=this.$D,Ze="set"+(this.$u?"UTC":"");switch(w){case v:return $?k(1,0):k(31,11);case h:return $?k(1,U):k(0,U+1);case o:var He=this.$locale().weekStart||0,lt=(R<He?R+7:R)-He;return k($?se-lt:se+(6-lt),U);case f:case m:return A(Ze+"Hours",0);case l:return A(Ze+"Minutes",1);case u:return A(Ze+"Seconds",2);case a:return A(Ze+"Milliseconds",3);default:return this.clone()}},_.endOf=function(d){return this.startOf(d,!1)},_.$set=function(d,g){var p,$=b.p(d),w="set"+(this.$u?"UTC":""),k=(p={},p[f]=w+"Date",p[m]=w+"Date",p[h]=w+"Month",p[v]=w+"FullYear",p[l]=w+"Hours",p[u]=w+"Minutes",p[a]=w+"Seconds",p[s]=w+"Milliseconds",p)[$],A=$===f?this.$D+(g-this.$W):g;if($===h||$===v){var R=this.clone().set(m,1);R.$d[k](A),R.init(),this.$d=R.set(m,Math.min(this.$D,R.daysInMonth())).$d}else k&&this.$d[k](A);return this.init(),this},_.set=function(d,g){return this.clone().$set(d,g)},_.get=function(d){return this[b.p(d)]()},_.add=function(d,g){var p,$=this;d=Number(d);var w=b.p(g),k=function(U){var se=j($);return b.w(se.date(se.date()+Math.round(U*d)),$)};if(w===h)return this.set(h,this.$M+d);if(w===v)return this.set(v,this.$y+d);if(w===f)return k(1);if(w===o)return k(7);var A=(p={},p[u]=r,p[l]=i,p[a]=n,p)[w]||1,R=this.$d.getTime()+d*A;return b.w(R,this)},_.subtract=function(d,g){return this.add(-1*d,g)},_.format=function(d){var g=this,p=this.$locale();if(!this.isValid())return p.invalidDate||M;var $=d||"YYYY-MM-DDTHH:mm:ssZ",w=b.z(this),k=this.$H,A=this.$m,R=this.$M,U=p.weekdays,se=p.months,Ze=p.meridiem,He=function(J,Oe,ft,Mt){return J&&(J[Oe]||J(g,$))||ft[Oe].slice(0,Mt)},lt=function(J){return b.s(k%12||12,J,"0")},qe=Ze||function(J,Oe,ft){var Mt=J<12?"AM":"PM";return ft?Mt.toLowerCase():Mt};return $.replace(O,(function(J,Oe){return Oe||(function(ft){switch(ft){case"YY":return String(g.$y).slice(-2);case"YYYY":return b.s(g.$y,4,"0");case"M":return R+1;case"MM":return b.s(R+1,2,"0");case"MMM":return He(p.monthsShort,R,se,3);case"MMMM":return He(se,R);case"D":return g.$D;case"DD":return b.s(g.$D,2,"0");case"d":return String(g.$W);case"dd":return He(p.weekdaysMin,g.$W,U,2);case"ddd":return He(p.weekdaysShort,g.$W,U,3);case"dddd":return U[g.$W];case"H":return String(k);case"HH":return b.s(k,2,"0");case"h":return lt(1);case"hh":return lt(2);case"a":return qe(k,A,!0);case"A":return qe(k,A,!1);case"m":return String(A);case"mm":return b.s(A,2,"0");case"s":return String(g.$s);case"ss":return b.s(g.$s,2,"0");case"SSS":return b.s(g.$ms,3,"0");case"Z":return w}return null})(J)||w.replace(":","")}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(d,g,p){var $,w=this,k=b.p(g),A=j(d),R=(A.utcOffset()-this.utcOffset())*r,U=this-A,se=function(){return b.m(w,A)};switch(k){case v:$=se()/12;break;case h:$=se();break;case c:$=se()/3;break;case o:$=(U-R)/6048e5;break;case f:$=(U-R)/864e5;break;case l:$=U/i;break;case u:$=U/r;break;case a:$=U/n;break;default:$=U}return p?$:b.a($)},_.daysInMonth=function(){return this.endOf(h).$D},_.$locale=function(){return P[this.$L]},_.locale=function(d,g){if(!d)return this.$L;var p=this.clone(),$=De(d,g,!0);return $&&(p.$L=$),p},_.clone=function(){return b.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},y})(),ut=Fe.prototype;return j.prototype=ut,[["$ms",s],["$s",a],["$m",u],["$H",l],["$W",f],["$M",h],["$y",v],["$D",m]].forEach((function(y){ut[y[1]]=function(_){return this.$g(_,y[0],y[1])}})),j.extend=function(y,_){return y.$i||(y(_,Fe,j),y.$i=!0),j},j.locale=De,j.isDayjs=ie,j.unix=function(y){return j(1e3*y)},j.en=P[Y],j.Ls=P,j.p={},j}))})(St)),St.exports}sr();var kt={exports:{}},ji=kt.exports,ar;function Di(){return ar||(ar=1,(function(e,t){(function(n,r){e.exports=r(sr())})(ji,(function(n){function r(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var i=r(n),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(a){return a+"º"}};return i.default.locale(s,null,!0),s}))})(kt)),kt.exports}Di();var Oi=Xn('<div class="o_item row svelte-1y1ji7r"><div class="col-9 svelte-1y1ji7r"><img part="item_image" class="o_item_image svelte-1y1ji7r" alt=""/> <span class="o_item_desc svelte-1y1ji7r"> </span></div> <div class="col-3 text-center svelte-1y1ji7r">quantity</div></div>'),Ai=Xn('<div class="container svelte-1y1ji7r"><div class="row svelte-1y1ji7r" id="o_header"><div class="col-10 svelte-1y1ji7r"><span id="o_number" class="svelte-1y1ji7r"> </span></div> <div id="o_tracking" class="col-2 svelte-1y1ji7r">tracking</div></div> <div id="o_items" class="svelte-1y1ji7r"></div> <div class="row svelte-1y1ji7r" id="o_footer"><div class="col-3 text-center svelte-1y1ji7r">cancel</div> <div class="col-6 svelte-1y1ji7r">bbb</div> <div class="col-3 text-center svelte-1y1ji7r"> </div></div></div>');const Ci={hash:"svelte-1y1ji7r",code:`@charset "UTF-8";
3
3
  @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.3.8 (https://getbootstrap.com/)
6
6
  * Copyright 2011-2021 The Bootstrap Authors
7
7
  * Copyright 2011-2021 Twitter, Inc.
8
8
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
9
- */:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-1y1ji7r,
9
+ */.svelte-1y1ji7r,
10
10
  .svelte-1y1ji7r::before,
11
11
  .svelte-1y1ji7r::after {box-sizing:border-box;}
12
12
  @media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
@@ -84,5 +84,5 @@
84
84
  @media (min-width: 1200px) {
85
85
  }
86
86
  @media print {
87
- }#o_header.svelte-1y1ji7r {margin:20px auto 0px auto;padding-bottom:20px;}#o_tracking.svelte-1y1ji7r {text-align:center;}.o_item.svelte-1y1ji7r {border-top:solid 1px black;padding:20px 20px 20px 20px;}.o_item_image.svelte-1y1ji7r {width:120px;height:120px;background-size:cover;display:inline-block;}.o_item_desc.svelte-1y1ji7r {display:inline-block;margin-left:10px;}#o_footer.svelte-1y1ji7r {padding-top:20px;border-top:solid 1px black;}`};function on(e,t){fr(t,!0),gi(e,Ai);const r={countryCode:"IT",currencySymbol:"€",items:[],orderNumber:"0000"};let n=tn(t,"id",7,""),i=tn(t,"payment",7,r),s=Vt(()=>i()?.items?.map(x=>x.unitaryPrice*(x.quantity||1)).reduce((x,B)=>x+B,0)),a=Vt(()=>i()?.items?Math.round(i()?.items.map(x=>x.unitaryPrice*(x.quantity||1)*x.taxPercentage*.01).reduce((x,B)=>x+B,0)*100)/100:0),o=Vt(()=>N(s)+N(a)+(i()?.shipmentFee||0)||0);ei(()=>{if(typeof i()=="string"&&(i(JSON.parse(i())||{}),i().countryCode||(i().countryCode="IT"),!i().currencySymbol))switch(i().countryCode){case"IT":i().currencySymbol="€";break;case"EU":i().currencySymbol="€";break;case"US":i().currencySymbol="$";break}});var l={get id(){return n()},set id(x=""){n(x),qt()},get payment(){return i()},set payment(x=r){i(x),qt()}},u=Ci(),f=$e(u),h=$e(f),c=$e(h),v=$e(c);le(c),le(h),Yt(2),le(f);var b=mt(f,2);Hn(b,21,()=>i().items,x=>x.id,(x,B)=>{var ne=Oi(),Y=$e(ne),P=$e(Y),ve=mt(P,2),ie=$e(ve,!0);le(ve),le(Y),Yt(2),le(ne),Cr(()=>{wi(P,"src",N(B).image),Gt(ie,N(B).name)}),Zt(x,ne)}),le(b);var M=mt(b,2),I=mt($e(M),4),O=$e(I,!0);return le(I),le(M),le(u),Cr(()=>{Gt(v,`Order N. ${i().orderNumber??""}`),Gt(O,`${N(o)}${i().currencySymbol}`)}),Zt(e,u),cr(l)}customElements.define("hb-order-list",Mi(on,{id:{},payment:{}},[],[],!0)),Qt.Component=on,Object.defineProperty(Qt,Symbol.toStringTag,{value:"Module"})})(this["order-list"]=this["order-list"]||{});
87
+ }#o_header.svelte-1y1ji7r {margin:20px auto 0px auto;padding-bottom:20px;}#o_tracking.svelte-1y1ji7r {text-align:center;}.o_item.svelte-1y1ji7r {border-top:solid 1px black;padding:20px 20px 20px 20px;}.o_item_image.svelte-1y1ji7r {width:120px;height:120px;background-size:cover;display:inline-block;}.o_item_desc.svelte-1y1ji7r {display:inline-block;margin-left:10px;}#o_footer.svelte-1y1ji7r {padding-top:20px;border-top:solid 1px black;}`};function ur(e,t){cn(t,!0),gi(e,Ci);const n={countryCode:"IT",currencySymbol:"€",items:[],orderNumber:"0000"};let r=nr(t,"id",7,""),i=nr(t,"payment",7,n),s=Vt(()=>i()?.items?.map(x=>x.unitaryPrice*(x.quantity||1)).reduce((x,B)=>x+B,0)),a=Vt(()=>i()?.items?Math.round(i()?.items.map(x=>x.unitaryPrice*(x.quantity||1)*x.taxPercentage*.01).reduce((x,B)=>x+B,0)*100)/100:0),u=Vt(()=>N(s)+N(a)+(i()?.shipmentFee||0)||0);ei(()=>{if(typeof i()=="string"&&(i(JSON.parse(i())||{}),i().countryCode||(i().countryCode="IT"),!i().currencySymbol))switch(i().countryCode){case"IT":i().currencySymbol="€";break;case"EU":i().currencySymbol="€";break;case"US":i().currencySymbol="$";break}});var l={get id(){return r()},set id(x=""){r(x),qt()},get payment(){return i()},set payment(x=n){i(x),qt()}},f=Ai(),o=be(f),h=be(o),c=be(h),v=be(c);le(c),le(h),Yt(2),le(o);var m=yt(o,2);Hr(m,21,()=>i().items,x=>x.id,(x,B)=>{var re=Oi(),Y=be(re),P=be(Y),ve=yt(P,2),ie=be(ve,!0);le(ve),le(Y),Yt(2),le(re),Cn(()=>{wi(P,"src",N(B).image),Gt(ie,N(B).name)}),Zt(x,re)}),le(m);var M=yt(m,2),I=yt(be(M),4),O=be(I,!0);return le(I),le(M),le(f),Cn(()=>{Gt(v,`Order N. ${i().orderNumber??""}`),Gt(O,`${N(u)}${i().currencySymbol}`)}),Zt(e,f),dn(l)}customElements.define("hb-order-list",Mi(ur,{id:{},payment:{}},[],[],!0)),Qt.Component=ur,Object.defineProperty(Qt,Symbol.toStringTag,{value:"Module"})})(this["order-list"]=this["order-list"]||{});
88
88
  //# sourceMappingURL=main.iife.js.map