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