@everymatrix/cashier-spinner 1.85.16 → 1.85.18

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.
@@ -21,14 +21,14 @@ function H(t) {
21
21
  function z(t, e) {
22
22
  t.appendChild(e);
23
23
  }
24
- function U(t, e, n) {
25
- const i = I(t);
24
+ function I(t, e, n) {
25
+ const i = U(t);
26
26
  if (!i.getElementById(e)) {
27
27
  const s = C("style");
28
28
  s.id = e, s.textContent = n, D(i, s);
29
29
  }
30
30
  }
31
- function I(t) {
31
+ function U(t) {
32
32
  if (!t)
33
33
  return document;
34
34
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
@@ -81,7 +81,7 @@ function V() {
81
81
  function q(t) {
82
82
  V().$$.on_mount.push(t);
83
83
  }
84
- const $ = [], w = [];
84
+ const a = [], w = [];
85
85
  let d = [];
86
86
  const A = [], G = /* @__PURE__ */ Promise.resolve();
87
87
  let x = !1;
@@ -92,28 +92,28 @@ function k(t) {
92
92
  d.push(t);
93
93
  }
94
94
  const b = /* @__PURE__ */ new Set();
95
- let a = 0;
95
+ let $ = 0;
96
96
  function m() {
97
- if (a !== 0)
97
+ if ($ !== 0)
98
98
  return;
99
99
  const t = p;
100
100
  do {
101
101
  try {
102
- for (; a < $.length; ) {
103
- const e = $[a];
104
- a++, _(e), Q(e.$$);
102
+ for (; $ < a.length; ) {
103
+ const e = a[$];
104
+ $++, _(e), Q(e.$$);
105
105
  }
106
106
  } catch (e) {
107
- throw $.length = 0, a = 0, e;
107
+ throw a.length = 0, $ = 0, e;
108
108
  }
109
- for (_(null), $.length = 0, a = 0; w.length; )
109
+ for (_(null), a.length = 0, $ = 0; w.length; )
110
110
  w.pop()();
111
111
  for (let e = 0; e < d.length; e += 1) {
112
112
  const n = d[e];
113
113
  b.has(n) || (b.add(n), n());
114
114
  }
115
115
  d.length = 0;
116
- } while ($.length);
116
+ } while (a.length);
117
117
  for (; A.length; )
118
118
  A.pop()();
119
119
  x = !1, b.clear(), _(t);
@@ -145,12 +145,12 @@ function tt(t, e) {
145
145
  n.fragment !== null && (W(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
146
146
  }
147
147
  function et(t, e) {
148
- t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
148
+ t.$$.dirty[0] === -1 && (a.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
149
149
  }
150
- function nt(t, e, n, i, s, r, c = null, l = [-1]) {
150
+ function nt(t, e, n, i, s, r, c = null, u = [-1]) {
151
151
  const o = p;
152
152
  _(t);
153
- const u = t.$$ = {
153
+ const l = t.$$ = {
154
154
  fragment: null,
155
155
  ctx: [],
156
156
  // state
@@ -167,21 +167,21 @@ function nt(t, e, n, i, s, r, c = null, l = [-1]) {
167
167
  context: new Map(e.context || (o ? o.$$.context : [])),
168
168
  // everything else
169
169
  callbacks: v(),
170
- dirty: l,
170
+ dirty: u,
171
171
  skip_bound: !1,
172
172
  root: e.target || o.$$.root
173
173
  };
174
- c && c(u.root);
174
+ c && c(l.root);
175
175
  let S = !1;
176
- if (u.ctx = n ? n(t, e.props || {}, (f, L, ...j) => {
176
+ if (l.ctx = n ? n(t, e.props || {}, (f, L, ...j) => {
177
177
  const O = j.length ? j[0] : L;
178
- return u.ctx && s(u.ctx[f], u.ctx[f] = O) && (!u.skip_bound && u.bound[f] && u.bound[f](O), S && et(t, f)), L;
179
- }) : [], u.update(), S = !0, y(u.before_update), u.fragment = i ? i(u.ctx) : !1, e.target) {
178
+ return l.ctx && s(l.ctx[f], l.ctx[f] = O) && (!l.skip_bound && l.bound[f] && l.bound[f](O), S && et(t, f)), L;
179
+ }) : [], l.update(), S = !0, y(l.before_update), l.fragment = i ? i(l.ctx) : !1, e.target) {
180
180
  if (e.hydrate) {
181
181
  const f = F(e.target);
182
- u.fragment && u.fragment.l(f), f.forEach(E);
182
+ l.fragment && l.fragment.l(f), f.forEach(E);
183
183
  } else
184
- u.fragment && u.fragment.c();
184
+ l.fragment && l.fragment.c();
185
185
  e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
186
186
  }
187
187
  _(o);
@@ -235,8 +235,8 @@ typeof HTMLElement == "function" && (R = class extends HTMLElement {
235
235
  * @param {HTMLElement} target
236
236
  * @param {HTMLElement} [anchor]
237
237
  */
238
- m: function(o, u) {
239
- B(o, r, u);
238
+ m: function(o, l) {
239
+ B(o, r, l);
240
240
  },
241
241
  d: function(o) {
242
242
  o && E(r);
@@ -340,23 +340,23 @@ function st(t, e, n, i, s, r) {
340
340
  }
341
341
  static get observedAttributes() {
342
342
  return Object.keys(e).map(
343
- (l) => (e[l].attribute || l).toLowerCase()
343
+ (u) => (e[u].attribute || u).toLowerCase()
344
344
  );
345
345
  }
346
346
  };
347
- return Object.keys(e).forEach((l) => {
348
- Object.defineProperty(c.prototype, l, {
347
+ return Object.keys(e).forEach((u) => {
348
+ Object.defineProperty(c.prototype, u, {
349
349
  get() {
350
- return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
350
+ return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
351
351
  },
352
352
  set(o) {
353
- o = g(l, o, e), this.$$d[l] = o, this.$$c?.$set({ [l]: o });
353
+ o = g(u, o, e), this.$$d[u] = o, this.$$c?.$set({ [u]: o });
354
354
  }
355
355
  });
356
- }), i.forEach((l) => {
357
- Object.defineProperty(c.prototype, l, {
356
+ }), i.forEach((u) => {
357
+ Object.defineProperty(c.prototype, u, {
358
358
  get() {
359
- return this.$$c?.[l];
359
+ return this.$$c?.[u];
360
360
  }
361
361
  });
362
362
  }), t.element = /** @type {any} */
@@ -415,6 +415,8 @@ function ot(t, e) {
415
415
  }
416
416
  }
417
417
  function ct(t, e) {
418
+ if (!t || !e)
419
+ return;
418
420
  const n = new URL(e);
419
421
  fetch(n.href).then((i) => i.text()).then((i) => {
420
422
  const s = document.createElement("style");
@@ -423,7 +425,7 @@ function ct(t, e) {
423
425
  console.error("There was an error while trying to load client styling from URL", i);
424
426
  });
425
427
  }
426
- function lt(t, e, n) {
428
+ function ut(t, e, n) {
427
429
  if (window.emMessageBus) {
428
430
  const i = document.createElement("style");
429
431
  window.emMessageBus.subscribe(e, (s) => {
@@ -431,8 +433,8 @@ function lt(t, e, n) {
431
433
  });
432
434
  }
433
435
  }
434
- function ut(t) {
435
- U(t, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
436
+ function lt(t) {
437
+ I(t, "svelte-sjjtuo", ".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}");
436
438
  }
437
439
  function ft(t) {
438
440
  let e;
@@ -451,11 +453,11 @@ function ft(t) {
451
453
  }
452
454
  };
453
455
  }
454
- function at(t, e, n) {
456
+ function $t(t, e, n) {
455
457
  let { clientstyling: i = "" } = e, { clientstylingurl: s = "" } = e, { mbsource: r = "" } = e, c;
456
458
  q(() => () => {
457
459
  });
458
- function l(o) {
460
+ function u(o) {
459
461
  w[o ? "unshift" : "push"](() => {
460
462
  c = o, n(0, c);
461
463
  });
@@ -466,15 +468,15 @@ function at(t, e, n) {
466
468
  t.$$.dirty & /*clientstyling, customStylingContainer*/
467
469
  3 && i && c && ot(c, i), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
468
470
  5 && s && c && ct(c, s), t.$$.dirty & /*mbsource, customStylingContainer*/
469
- 9 && r && c && lt(c, `${r}.Style`);
470
- }, [c, i, s, r, l];
471
+ 9 && r && c && ut(c, `${r}.Style`);
472
+ }, [c, i, s, r, u];
471
473
  }
472
- class $t extends it {
474
+ class at extends it {
473
475
  constructor(e) {
474
476
  super(), nt(
475
477
  this,
476
478
  e,
477
- at,
479
+ $t,
478
480
  ft,
479
481
  T,
480
482
  {
@@ -482,7 +484,7 @@ class $t extends it {
482
484
  clientstylingurl: 2,
483
485
  mbsource: 3
484
486
  },
485
- ut
487
+ lt
486
488
  );
487
489
  }
488
490
  get clientstyling() {
@@ -504,7 +506,7 @@ class $t extends it {
504
506
  this.$$set({ mbsource: e }), m();
505
507
  }
506
508
  }
507
- st($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
509
+ st(at, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
508
510
  export {
509
- $t as C
511
+ at as C
510
512
  };
@@ -1 +1 @@
1
- "use strict";var J=Object.defineProperty,V=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var k=(e,t,n)=>t in e?J(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&k(e,n,t[n]);if(A)for(var n of A(t))K.call(t,n)&&k(e,n,t[n]);return e},B=(e,t)=>V(e,q(t));var f=(e,t,n)=>(k(e,typeof t!="symbol"?t+"":t,n),n);var P=(e,t,n)=>new Promise((s,r)=>{var i=c=>{try{u(n.next(c))}catch(l){r(l)}},o=c=>{try{u(n.throw(c))}catch(l){r(l)}},u=c=>c.done?s(c.value):Promise.resolve(c.value).then(i,o);u((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function d(){}function H(e){return e()}function T(){return Object.create(null)}function w(e){e.forEach(H)}function z(e){return typeof e=="function"}function Q(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function W(e){return Object.keys(e).length===0}function X(e,t){e.appendChild(t)}function Y(e,t,n){const s=Z(e);if(!s.getElementById(t)){const r=L("style");r.id=t,r.textContent=n,tt(s,r)}}function Z(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function tt(e,t){return X(e.head||e,t),t.sheet}function U(e,t,n){e.insertBefore(t,n||null)}function j(e){e.parentNode&&e.parentNode.removeChild(e)}function L(e){return document.createElement(e)}function I(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function et(e){return Array.from(e.childNodes)}function nt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let p;function m(e){p=e}function st(){if(!p)throw new Error("Function called outside component initialization");return p}function it(e){st().$$.on_mount.push(e)}const h=[],E=[];let _=[];const R=[],rt=Promise.resolve();let S=!1;function ot(){S||(S=!0,rt.then(g))}function C(e){_.push(e)}const x=new Set;let $=0;function g(){if($!==0)return;const e=p;do{try{for(;$<h.length;){const t=h[$];$++,m(t),ct(t.$$)}}catch(t){throw h.length=0,$=0,t}for(m(null),h.length=0,$=0;E.length;)E.pop()();for(let t=0;t<_.length;t+=1){const n=_[t];x.has(n)||(x.add(n),n())}_.length=0}while(h.length);for(;R.length;)R.pop()();S=!1,x.clear(),m(e)}function ct(e){if(e.fragment!==null){e.update(),w(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}function lt(e){const t=[],n=[];_.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),_=t}const ut=new Set;function ft(e,t){e&&e.i&&(ut.delete(e),e.i(t))}function at(e,t,n){const{fragment:s,after_update:r}=e.$$;s&&s.m(t,n),C(()=>{const i=e.$$.on_mount.map(H).filter(z);e.$$.on_destroy?e.$$.on_destroy.push(...i):w(i),e.$$.on_mount=[]}),r.forEach(C)}function $t(e,t){const n=e.$$;n.fragment!==null&&(lt(n.after_update),w(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(e,t){e.$$.dirty[0]===-1&&(h.push(e),ot(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function dt(e,t,n,s,r,i,o=null,u=[-1]){const c=p;m(e);const l=e.$$={fragment:null,ctx:[],props:i,update:d,not_equal:r,bound:T(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:T(),dirty:u,skip_bound:!1,root:t.target||c.$$.root};o&&o(l.root);let y=!1;if(l.ctx=n?n(e,t.props||{},(a,O,...v)=>{const M=v.length?v[0]:O;return l.ctx&&r(l.ctx[a],l.ctx[a]=M)&&(!l.skip_bound&&l.bound[a]&&l.bound[a](M),y&&ht(e,a)),O}):[],l.update(),y=!0,w(l.before_update),l.fragment=s?s(l.ctx):!1,t.target){if(t.hydrate){const a=et(t.target);l.fragment&&l.fragment.l(a),a.forEach(j)}else l.fragment&&l.fragment.c();t.intro&&ft(e.$$.fragment),at(e,t.target,t.anchor),g()}m(c)}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(t,n,s){super();f(this,"$$ctor");f(this,"$$s");f(this,"$$c");f(this,"$$cn",!1);f(this,"$$d",{});f(this,"$$r",!1);f(this,"$$p_d",{});f(this,"$$l",{});f(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return P(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let o;return{c:function(){o=L("slot"),i!=="default"&&I(o,"name",i)},m:function(l,y){U(l,o,y)},d:function(l){l&&j(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=nt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=b(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:B(N({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=b(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const i in this.$$l)for(const o of this.$$l[i]){const u=this.$$c.$on(i,o);this.$$l_u.set(o,u)}this.$$l={}}})}attributeChangedCallback(t,n,s){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=b(t,s,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function b(e,t,n,s){var i;const r=(i=n[e])==null?void 0:i.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function _t(e,t,n,s,r,i){let o=class extends D{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(o.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(c){var l;c=b(u,c,t),this.$$d[u]=c,(l=this.$$c)==null||l.$set({[u]:c})}})}),s.forEach(u=>{Object.defineProperty(o.prototype,u,{get(){var c;return(c=this.$$c)==null?void 0:c[u]}})}),e.element=o,o}class mt{constructor(){f(this,"$$");f(this,"$$set")}$destroy(){$t(this,1),this.$destroy=d}$on(t,n){if(!z(n))return d;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const r=s.indexOf(n);r!==-1&&s.splice(r,1)}}$set(t){this.$$set&&!W(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const gt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gt);function pt(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function yt(e,t){const n=new URL(t);fetch(n.href).then(s=>s.text()).then(s=>{const r=document.createElement("style");r.innerHTML=s,e&&e.appendChild(r)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function bt(e,t,n){if(window.emMessageBus){const s=document.createElement("style");window.emMessageBus.subscribe(t,r=>{s.innerHTML=r,e&&e.appendChild(s)})}}function wt(e){Y(e,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function kt(e){let t;return{c(){t=L("div"),t.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',I(t,"class","CashierSpinner")},m(n,s){U(n,t,s),e[4](t)},p:d,i:d,o:d,d(n){n&&j(t),e[4](null)}}}function xt(e,t,n){let{clientstyling:s=""}=t,{clientstylingurl:r=""}=t,{mbsource:i=""}=t,o;it(()=>()=>{});function u(c){E[c?"unshift":"push"](()=>{o=c,n(0,o)})}return e.$$set=c=>{"clientstyling"in c&&n(1,s=c.clientstyling),"clientstylingurl"in c&&n(2,r=c.clientstylingurl),"mbsource"in c&&n(3,i=c.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&s&&o&&pt(o,s),e.$$.dirty&5&&r&&o&&yt(o,r),e.$$.dirty&9&&i&&o&&bt(o,`${i}.Style`)},[o,s,r,i,u]}class F extends mt{constructor(t){super(),dt(this,t,xt,kt,Q,{clientstyling:1,clientstylingurl:2,mbsource:3},wt)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),g()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),g()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),g()}}_t(F,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=F;
1
+ "use strict";var J=Object.defineProperty,V=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var A=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var k=(e,t,n)=>t in e?J(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&k(e,n,t[n]);if(A)for(var n of A(t))K.call(t,n)&&k(e,n,t[n]);return e},B=(e,t)=>V(e,q(t));var f=(e,t,n)=>(k(e,typeof t!="symbol"?t+"":t,n),n);var P=(e,t,n)=>new Promise((s,r)=>{var i=c=>{try{l(n.next(c))}catch(u){r(u)}},o=c=>{try{l(n.throw(c))}catch(u){r(u)}},l=c=>c.done?s(c.value):Promise.resolve(c.value).then(i,o);l((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function d(){}function H(e){return e()}function T(){return Object.create(null)}function w(e){e.forEach(H)}function z(e){return typeof e=="function"}function Q(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function W(e){return Object.keys(e).length===0}function X(e,t){e.appendChild(t)}function Y(e,t,n){const s=Z(e);if(!s.getElementById(t)){const r=L("style");r.id=t,r.textContent=n,tt(s,r)}}function Z(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function tt(e,t){return X(e.head||e,t),t.sheet}function I(e,t,n){e.insertBefore(t,n||null)}function j(e){e.parentNode&&e.parentNode.removeChild(e)}function L(e){return document.createElement(e)}function U(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function et(e){return Array.from(e.childNodes)}function nt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let g;function m(e){g=e}function st(){if(!g)throw new Error("Function called outside component initialization");return g}function it(e){st().$$.on_mount.push(e)}const h=[],E=[];let _=[];const R=[],rt=Promise.resolve();let S=!1;function ot(){S||(S=!0,rt.then(p))}function C(e){_.push(e)}const x=new Set;let $=0;function p(){if($!==0)return;const e=g;do{try{for(;$<h.length;){const t=h[$];$++,m(t),ct(t.$$)}}catch(t){throw h.length=0,$=0,t}for(m(null),h.length=0,$=0;E.length;)E.pop()();for(let t=0;t<_.length;t+=1){const n=_[t];x.has(n)||(x.add(n),n())}_.length=0}while(h.length);for(;R.length;)R.pop()();S=!1,x.clear(),m(e)}function ct(e){if(e.fragment!==null){e.update(),w(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}function ut(e){const t=[],n=[];_.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),_=t}const lt=new Set;function ft(e,t){e&&e.i&&(lt.delete(e),e.i(t))}function at(e,t,n){const{fragment:s,after_update:r}=e.$$;s&&s.m(t,n),C(()=>{const i=e.$$.on_mount.map(H).filter(z);e.$$.on_destroy?e.$$.on_destroy.push(...i):w(i),e.$$.on_mount=[]}),r.forEach(C)}function $t(e,t){const n=e.$$;n.fragment!==null&&(ut(n.after_update),w(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(e,t){e.$$.dirty[0]===-1&&(h.push(e),ot(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function dt(e,t,n,s,r,i,o=null,l=[-1]){const c=g;m(e);const u=e.$$={fragment:null,ctx:[],props:i,update:d,not_equal:r,bound:T(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:T(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};o&&o(u.root);let y=!1;if(u.ctx=n?n(e,t.props||{},(a,O,...v)=>{const M=v.length?v[0]:O;return u.ctx&&r(u.ctx[a],u.ctx[a]=M)&&(!u.skip_bound&&u.bound[a]&&u.bound[a](M),y&&ht(e,a)),O}):[],u.update(),y=!0,w(u.before_update),u.fragment=s?s(u.ctx):!1,t.target){if(t.hydrate){const a=et(t.target);u.fragment&&u.fragment.l(a),a.forEach(j)}else u.fragment&&u.fragment.c();t.intro&&ft(e.$$.fragment),at(e,t.target,t.anchor),p()}m(c)}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(t,n,s){super();f(this,"$$ctor");f(this,"$$s");f(this,"$$c");f(this,"$$cn",!1);f(this,"$$d",{});f(this,"$$r",!1);f(this,"$$p_d",{});f(this,"$$l",{});f(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return P(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let o;return{c:function(){o=L("slot"),i!=="default"&&U(o,"name",i)},m:function(u,y){I(u,o,y)},d:function(u){u&&j(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=nt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=b(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:B(N({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=b(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const i in this.$$l)for(const o of this.$$l[i]){const l=this.$$c.$on(i,o);this.$$l_u.set(o,l)}this.$$l={}}})}attributeChangedCallback(t,n,s){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=b(t,s,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function b(e,t,n,s){var i;const r=(i=n[e])==null?void 0:i.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function _t(e,t,n,s,r,i){let o=class extends D{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var u;c=b(l,c,t),this.$$d[l]=c,(u=this.$$c)==null||u.$set({[l]:c})}})}),s.forEach(l=>{Object.defineProperty(o.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),e.element=o,o}class mt{constructor(){f(this,"$$");f(this,"$$set")}$destroy(){$t(this,1),this.$destroy=d}$on(t,n){if(!z(n))return d;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const r=s.indexOf(n);r!==-1&&s.splice(r,1)}}$set(t){this.$$set&&!W(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const pt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(pt);function gt(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function yt(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(s=>s.text()).then(s=>{const r=document.createElement("style");r.innerHTML=s,e&&e.appendChild(r)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function bt(e,t,n){if(window.emMessageBus){const s=document.createElement("style");window.emMessageBus.subscribe(t,r=>{s.innerHTML=r,e&&e.appendChild(s)})}}function wt(e){Y(e,"svelte-sjjtuo",".CashierSpinner{display:block;width:var(--emw--spinner-size, 32px);height:var(--emw--spinner-size, 32px);position:absolute;top:var(--emw--spinner-top-position, 50%);left:var(--emw--spinner-left-position, 50%);transform:translate(-50%, -50%);z-index:1}.CashierSpinner .spinner{animation:rotate 2s linear infinite;transform-origin:center center}.CashierSpinner .spinner .path{stroke-dasharray:1, 200;stroke-dashoffset:0;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke-width:var(--emw--stroke-width, 2px);stroke:var(--emw--spinner-color, #2dcc70)}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}")}function kt(e){let t;return{c(){t=L("div"),t.innerHTML='<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>',U(t,"class","CashierSpinner")},m(n,s){I(n,t,s),e[4](t)},p:d,i:d,o:d,d(n){n&&j(t),e[4](null)}}}function xt(e,t,n){let{clientstyling:s=""}=t,{clientstylingurl:r=""}=t,{mbsource:i=""}=t,o;it(()=>()=>{});function l(c){E[c?"unshift":"push"](()=>{o=c,n(0,o)})}return e.$$set=c=>{"clientstyling"in c&&n(1,s=c.clientstyling),"clientstylingurl"in c&&n(2,r=c.clientstylingurl),"mbsource"in c&&n(3,i=c.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&s&&o&&gt(o,s),e.$$.dirty&5&&r&&o&&yt(o,r),e.$$.dirty&9&&i&&o&&bt(o,`${i}.Style`)},[o,s,r,i,l]}class F extends mt{constructor(t){super(),dt(this,t,xt,kt,Q,{clientstyling:1,clientstylingurl:2,mbsource:3},wt)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),p()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),p()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),p()}}_t(F,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=F;
@@ -14,18 +14,18 @@ var f = (e, t, n) => (x(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var P = (e, t, n) => new Promise((s, r) => {
15
15
  var i = (c) => {
16
16
  try {
17
- u(n.next(c));
18
- } catch (l) {
19
- r(l);
17
+ l(n.next(c));
18
+ } catch (u) {
19
+ r(u);
20
20
  }
21
21
  }, o = (c) => {
22
22
  try {
23
- u(n.throw(c));
24
- } catch (l) {
25
- r(l);
23
+ l(n.throw(c));
24
+ } catch (u) {
25
+ r(u);
26
26
  }
27
- }, u = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(i, o);
28
- u((n = n.apply(e, t)).next());
27
+ }, l = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(i, o);
28
+ l((n = n.apply(e, t)).next());
29
29
  });
30
30
  function d() {
31
31
  }
@@ -74,7 +74,7 @@ function Z(e, t) {
74
74
  t
75
75
  ), t.sheet;
76
76
  }
77
- function U(e, t, n) {
77
+ function I(e, t, n) {
78
78
  e.insertBefore(t, n || null);
79
79
  }
80
80
  function L(e) {
@@ -83,7 +83,7 @@ function L(e) {
83
83
  function j(e) {
84
84
  return document.createElement(e);
85
85
  }
86
- function I(e, t, n) {
86
+ function U(e, t, n) {
87
87
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
88
88
  }
89
89
  function tt(e) {
@@ -158,9 +158,9 @@ function ct(e) {
158
158
  const t = [], n = [];
159
159
  _.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), _ = t;
160
160
  }
161
- const lt = /* @__PURE__ */ new Set();
162
- function ut(e, t) {
163
- e && e.i && (lt.delete(e), e.i(t));
161
+ const ut = /* @__PURE__ */ new Set();
162
+ function lt(e, t) {
163
+ e && e.i && (ut.delete(e), e.i(t));
164
164
  }
165
165
  function ft(e, t, n) {
166
166
  const { fragment: s, after_update: r } = e.$$;
@@ -176,10 +176,10 @@ function at(e, t) {
176
176
  function $t(e, t) {
177
177
  e.$$.dirty[0] === -1 && (h.push(e), rt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
178
178
  }
179
- function ht(e, t, n, s, r, i, o = null, u = [-1]) {
179
+ function ht(e, t, n, s, r, i, o = null, l = [-1]) {
180
180
  const c = g;
181
181
  m(e);
182
- const l = e.$$ = {
182
+ const u = e.$$ = {
183
183
  fragment: null,
184
184
  ctx: [],
185
185
  // state
@@ -196,22 +196,22 @@ function ht(e, t, n, s, r, i, o = null, u = [-1]) {
196
196
  context: new Map(t.context || (c ? c.$$.context : [])),
197
197
  // everything else
198
198
  callbacks: R(),
199
- dirty: u,
199
+ dirty: l,
200
200
  skip_bound: !1,
201
201
  root: t.target || c.$$.root
202
202
  };
203
- o && o(l.root);
203
+ o && o(u.root);
204
204
  let y = !1;
205
- if (l.ctx = n ? n(e, t.props || {}, (a, O, ...v) => {
205
+ if (u.ctx = n ? n(e, t.props || {}, (a, O, ...v) => {
206
206
  const A = v.length ? v[0] : O;
207
- return l.ctx && r(l.ctx[a], l.ctx[a] = A) && (!l.skip_bound && l.bound[a] && l.bound[a](A), y && $t(e, a)), O;
208
- }) : [], l.update(), y = !0, w(l.before_update), l.fragment = s ? s(l.ctx) : !1, t.target) {
207
+ return u.ctx && r(u.ctx[a], u.ctx[a] = A) && (!u.skip_bound && u.bound[a] && u.bound[a](A), y && $t(e, a)), O;
208
+ }) : [], u.update(), y = !0, w(u.before_update), u.fragment = s ? s(u.ctx) : !1, t.target) {
209
209
  if (t.hydrate) {
210
210
  const a = tt(t.target);
211
- l.fragment && l.fragment.l(a), a.forEach(L);
211
+ u.fragment && u.fragment.l(a), a.forEach(L);
212
212
  } else
213
- l.fragment && l.fragment.c();
214
- t.intro && ut(e.$$.fragment), ft(e, t.target, t.anchor), p();
213
+ u.fragment && u.fragment.c();
214
+ t.intro && lt(e.$$.fragment), ft(e, t.target, t.anchor), p();
215
215
  }
216
216
  m(c);
217
217
  }
@@ -260,17 +260,17 @@ typeof HTMLElement == "function" && (D = class extends HTMLElement {
260
260
  let o;
261
261
  return {
262
262
  c: function() {
263
- o = j("slot"), i !== "default" && I(o, "name", i);
263
+ o = j("slot"), i !== "default" && U(o, "name", i);
264
264
  },
265
265
  /**
266
266
  * @param {HTMLElement} target
267
267
  * @param {HTMLElement} [anchor]
268
268
  */
269
- m: function(l, y) {
270
- U(l, o, y);
269
+ m: function(u, y) {
270
+ I(u, o, y);
271
271
  },
272
- d: function(l) {
273
- l && L(o);
272
+ d: function(u) {
273
+ u && L(o);
274
274
  }
275
275
  };
276
276
  };
@@ -312,8 +312,8 @@ typeof HTMLElement == "function" && (D = class extends HTMLElement {
312
312
  this.$$c.$$.after_update.push(r), r();
313
313
  for (const i in this.$$l)
314
314
  for (const o of this.$$l[i]) {
315
- const u = this.$$c.$on(i, o);
316
- this.$$l_u.set(o, u);
315
+ const l = this.$$c.$on(i, o);
316
+ this.$$l_u.set(o, l);
317
317
  }
318
318
  this.$$l = {};
319
319
  }
@@ -373,25 +373,25 @@ function dt(e, t, n, s, r, i) {
373
373
  }
374
374
  static get observedAttributes() {
375
375
  return Object.keys(t).map(
376
- (u) => (t[u].attribute || u).toLowerCase()
376
+ (l) => (t[l].attribute || l).toLowerCase()
377
377
  );
378
378
  }
379
379
  };
380
- return Object.keys(t).forEach((u) => {
381
- Object.defineProperty(o.prototype, u, {
380
+ return Object.keys(t).forEach((l) => {
381
+ Object.defineProperty(o.prototype, l, {
382
382
  get() {
383
- return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
383
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
384
384
  },
385
385
  set(c) {
386
- var l;
387
- c = b(u, c, t), this.$$d[u] = c, (l = this.$$c) == null || l.$set({ [u]: c });
386
+ var u;
387
+ c = b(l, c, t), this.$$d[l] = c, (u = this.$$c) == null || u.$set({ [l]: c });
388
388
  }
389
389
  });
390
- }), s.forEach((u) => {
391
- Object.defineProperty(o.prototype, u, {
390
+ }), s.forEach((l) => {
391
+ Object.defineProperty(o.prototype, l, {
392
392
  get() {
393
393
  var c;
394
- return (c = this.$$c) == null ? void 0 : c[u];
394
+ return (c = this.$$c) == null ? void 0 : c[l];
395
395
  }
396
396
  });
397
397
  }), e.element = /** @type {any} */
@@ -452,6 +452,8 @@ function pt(e, t) {
452
452
  }
453
453
  }
454
454
  function gt(e, t) {
455
+ if (!e || !t)
456
+ return;
455
457
  const n = new URL(t);
456
458
  fetch(n.href).then((s) => s.text()).then((s) => {
457
459
  const r = document.createElement("style");
@@ -475,10 +477,10 @@ function wt(e) {
475
477
  let t;
476
478
  return {
477
479
  c() {
478
- t = j("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>', I(t, "class", "CashierSpinner");
480
+ t = j("div"), t.innerHTML = '<svg class="spinner" viewBox="25 25 50 50"><circle class="path" cx="50" cy="50" r="20" fill="none" stroke-miterlimit="10"></circle></svg>', U(t, "class", "CashierSpinner");
479
481
  },
480
482
  m(n, s) {
481
- U(n, t, s), e[4](t);
483
+ I(n, t, s), e[4](t);
482
484
  },
483
485
  p: d,
484
486
  i: d,
@@ -492,7 +494,7 @@ function xt(e, t, n) {
492
494
  let { clientstyling: s = "" } = t, { clientstylingurl: r = "" } = t, { mbsource: i = "" } = t, o;
493
495
  st(() => () => {
494
496
  });
495
- function u(c) {
497
+ function l(c) {
496
498
  E[c ? "unshift" : "push"](() => {
497
499
  o = c, n(0, o);
498
500
  });
@@ -504,7 +506,7 @@ function xt(e, t, n) {
504
506
  3 && s && o && pt(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
505
507
  5 && r && o && gt(o, r), e.$$.dirty & /*mbsource, customStylingContainer*/
506
508
  9 && i && o && yt(o, `${i}.Style`);
507
- }, [o, s, r, i, u];
509
+ }, [o, s, r, i, l];
508
510
  }
509
511
  class kt extends _t {
510
512
  constructor(t) {
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierSpinner-B9EZ5JkP.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierSpinner-CSZG1tQw.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierSpinner-DkUtfknD.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierSpinner-DMInk4J_.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CashierSpinner-7qe_wr9T.js";
1
+ import { C as s } from "../components/CashierSpinner-CFVv9PKS.js";
2
2
  function i(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-spinner",
3
- "version": "1.85.16",
3
+ "version": "1.85.18",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-spinner.cjs",
6
6
  "module": "esnext/cashier-spinner.js",