@everymatrix/cashier-page 1.74.1 → 1.74.3

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.
Files changed (91) hide show
  1. package/components/CashierConfirmModal-1Nze3uRQ.cjs +4 -0
  2. package/components/{CashierConfirmModal-Bl65cs4j.js → CashierConfirmModal-CAadcioc.js} +159 -149
  3. package/components/{CashierConfirmModal-DiJy6WCC.js → CashierConfirmModal-DDAKZDUC.js} +304 -294
  4. package/components/CashierError-CK3QkcBi.cjs +18 -0
  5. package/components/{CashierError-DT8XXsZb.js → CashierError-DKXwWPdS.js} +988 -954
  6. package/components/{CashierError-sabBjpnx.js → CashierError-sD7IMbO3.js} +989 -955
  7. package/components/{CashierHeader-B_TbzRzY.js → CashierHeader-Csl1fr7B.js} +121 -121
  8. package/components/{CashierHeader-CRNLSN-X.js → CashierHeader-DgkvmyGy.js} +124 -124
  9. package/components/CashierHeader-DuCdkwLD.cjs +1 -0
  10. package/components/{CashierIframeRedirect-DcI_fdtE.js → CashierIframeRedirect-BVbylufQ.js} +34 -34
  11. package/components/{CashierIframeRedirect-zBfOGfH0.js → CashierIframeRedirect-BmpK5ow8.js} +34 -34
  12. package/components/{CashierIframeRedirect-q6Z4Yxd2.cjs → CashierIframeRedirect-CfNgplrC.cjs} +1 -1
  13. package/components/CashierMethodDetails-Cv7OCjGx.cjs +86 -0
  14. package/components/{CashierMethodDetails-CzQGZLT9.js → CashierMethodDetails-DiAqx44U.js} +2676 -2690
  15. package/components/{CashierMethodDetails-SkPBUxsi.js → CashierMethodDetails-P17OdcdK.js} +2736 -2747
  16. package/components/{CashierMethodsList-BwQxzNhr.js → CashierMethodsList-BCVnAycL.js} +408 -405
  17. package/components/{CashierMethodsList-CNZRTEmt.js → CashierMethodsList-CKthlCGX.js} +417 -414
  18. package/components/CashierMethodsList-Ckph7ZrW.cjs +1 -0
  19. package/components/{CashierModal-BUzTqeZq.cjs → CashierModal-BeyYHPh_.cjs} +1 -1
  20. package/components/{CashierModal-l0r5lSbV.js → CashierModal-BzLUXC5b.js} +29 -29
  21. package/components/{CashierModal-C9DRbWKa.js → CashierModal-DgJVwKgD.js} +31 -31
  22. package/components/{CashierNotifications-BRaPHw0O.js → CashierNotifications-Bg4FfLXd.js} +18 -18
  23. package/components/{CashierNotifications-C60PYJS0.js → CashierNotifications-CnNs8Q-I.js} +18 -18
  24. package/components/{CashierNotifications-BrGm-gyx.cjs → CashierNotifications-DQLEBAzG.cjs} +1 -1
  25. package/components/{CashierPage-DcNLQxqw.js → CashierPage-CBJ9IN-g.js} +743 -608
  26. package/components/{CashierPage-El2u8C5N.js → CashierPage-CPeiabkN.js} +743 -608
  27. package/components/CashierPage-Cfx71rM-.cjs +1 -0
  28. package/components/{CashierReceiptPage-D-G8rB5N.js → CashierReceiptPage-B0PozTkv.js} +445 -424
  29. package/components/CashierReceiptPage-B6UjN5Q1.cjs +1 -0
  30. package/components/{CashierReceiptPage-DfMEJsZx.js → CashierReceiptPage-DiS2KHAz.js} +471 -446
  31. package/components/CashierSessionExpirationModal-BAJRL4gv.cjs +2 -0
  32. package/components/{CashierSessionExpirationModal-BuUgCatI.js → CashierSessionExpirationModal-Buy3vdjO.js} +229 -220
  33. package/components/{CashierSessionExpirationModal-CwWstvB8.js → CashierSessionExpirationModal-DT3oBfp2.js} +230 -221
  34. package/components/{CashierSpinner-DGvxbV84.js → CashierSpinner-BPDTwIid.js} +15 -15
  35. package/components/{CashierSpinner-Dek1XIlD.cjs → CashierSpinner-C4GQ6kb8.cjs} +1 -1
  36. package/components/{CashierSpinner-CC_b-bLQ.js → CashierSpinner-l6gUFRED.js} +18 -18
  37. package/components/CashierTransactionHistory-C86tMPpk.js +1303 -0
  38. package/components/CashierTransactionHistory-CKKvzN0W.cjs +1 -0
  39. package/components/CashierTransactionHistory-xBP8Taal.js +1303 -0
  40. package/components/{CashierVerifications-xsgXX--M.js → CashierVerifications-C7bW-1bL.js} +37 -37
  41. package/components/{CashierVerifications-3Axu0Hzv.js → CashierVerifications-JJPCakqk.js} +36 -36
  42. package/components/{CashierVerifications-C_StTRQe.cjs → CashierVerifications-hXDF0Y0-.cjs} +1 -1
  43. package/components/{CashierVideoModal-CnhHqo1M.cjs → CashierVideoModal-B7fVKDny.cjs} +1 -1
  44. package/components/{CashierVideoModal-CLzErDsi.js → CashierVideoModal-BJTlGVpX.js} +44 -44
  45. package/components/{CashierVideoModal-DJJAzqj3.js → CashierVideoModal-C02JNbWy.js} +46 -46
  46. package/components/TxnStatusIcon-Bg9sJj0e.js +142 -0
  47. package/components/TxnStatusIcon-BiT0IpnZ.js +142 -0
  48. package/components/TxnStatusIcon-DKKXQdof.cjs +1 -0
  49. package/components/TxnTypeIcons-9BTCQOTk.js +101 -0
  50. package/components/TxnTypeIcons-BDSLNTNd.js +101 -0
  51. package/components/TxnTypeIcons-Dbv7Pgop.cjs +1 -0
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  57. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
  58. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
  59. package/stencil/index-b2193545-B1ZEoKQs.cjs +1 -0
  60. package/stencil/index-b2193545-B5WVVmva.js +519 -0
  61. package/stencil/index-b2193545-CfiRkmy3.js +503 -0
  62. package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-CNNeJmP0.cjs} +1 -1
  63. package/stencil/{ui-image-DIEeZy5u.js → ui-image-DCPAt25-.js} +1 -1
  64. package/stencil/{ui-image-BWJXFWH1.js → ui-image-am9MgSQ8.js} +1 -1
  65. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  66. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  67. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  68. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CzFe50WB.js} +2 -2
  69. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  70. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-z5LhXZY2.js} +2 -2
  71. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-D1L4lwNZ.js} +2 -2
  72. package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-DuT40Wl3.cjs} +1 -1
  73. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-Biyf8F-y.js} +1 -1
  74. package/stencil/{ui-skeleton-ae35c6f2-CKgUXOQC.cjs → ui-skeleton-ae35c6f2-CFTNuZYA.cjs} +1 -1
  75. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-CzSGP5Of.js} +1 -1
  76. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-vQGsM2TX.js} +2 -2
  77. package/components/CashierConfirmModal-Dbth1Vwp.cjs +0 -4
  78. package/components/CashierError-CUi7dlhw.cjs +0 -5
  79. package/components/CashierHeader-C87PEbuI.cjs +0 -1
  80. package/components/CashierMethodDetails-DI5D_QCF.cjs +0 -99
  81. package/components/CashierMethodsList-BuJMDLdX.cjs +0 -1
  82. package/components/CashierPage-M26PQ4uv.cjs +0 -1
  83. package/components/CashierReceiptPage-qJvPvJga.cjs +0 -1
  84. package/components/CashierSessionExpirationModal-BfPvkDUo.cjs +0 -2
  85. package/components/CashierTransactionHistory-D46VIVuo.js +0 -613
  86. package/components/CashierTransactionHistory-DTgDyhFg.js +0 -613
  87. package/components/CashierTransactionHistory-idoNMIZM.cjs +0 -1
  88. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  89. package/stencil/index-b2193545-B8kMF2bI.cjs +0 -1
  90. package/stencil/index-b2193545-BoSqyMpB.js +0 -519
  91. package/stencil/index-b2193545-D4dOaNlR.js +0 -503
@@ -1,12 +1,12 @@
1
1
  var Pt = Object.defineProperty, Tt = Object.defineProperties;
2
2
  var Rt = Object.getOwnPropertyDescriptors;
3
- var _t = Object.getOwnPropertySymbols;
3
+ var $t = Object.getOwnPropertySymbols;
4
4
  var Dt = Object.prototype.hasOwnProperty, Ht = Object.prototype.propertyIsEnumerable;
5
5
  var st = (t, e, n) => e in t ? Pt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, gt = (t, e) => {
6
6
  for (var n in e || (e = {}))
7
7
  Dt.call(e, n) && st(t, n, e[n]);
8
- if (_t)
9
- for (var n of _t(e))
8
+ if ($t)
9
+ for (var n of $t(e))
10
10
  Ht.call(e, n) && st(t, n, e[n]);
11
11
  return t;
12
12
  }, pt = (t, e) => Tt(t, Rt(e));
@@ -111,6 +111,9 @@ function V(t) {
111
111
  }
112
112
  return -1;
113
113
  }
114
+ function Ee(t) {
115
+ return t == null ? "" : t;
116
+ }
114
117
  const jt = typeof window != "undefined";
115
118
  let ut = jt ? () => window.performance.now() : () => Date.now(), at = jt ? (t) => requestAnimationFrame(t) : k;
116
119
  const N = /* @__PURE__ */ new Set();
@@ -130,7 +133,7 @@ function ft(t) {
130
133
  }
131
134
  };
132
135
  }
133
- const Ee = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
136
+ const Le = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
134
137
  // @ts-ignore Node typings have this
135
138
  global
136
139
  );
@@ -171,7 +174,7 @@ function ht(t, e, n) {
171
174
  function P(t) {
172
175
  t.parentNode && t.parentNode.removeChild(t);
173
176
  }
174
- function Le(t, e) {
177
+ function ke(t, e) {
175
178
  for (let n = 0; n < t.length; n += 1)
176
179
  t[n] && t[n].d(e);
177
180
  }
@@ -187,13 +190,13 @@ function At(t) {
187
190
  function it() {
188
191
  return At(" ");
189
192
  }
190
- function ke() {
193
+ function je() {
191
194
  return At("");
192
195
  }
193
196
  function X(t, e, n, s) {
194
197
  return t.addEventListener(e, n, s), () => t.removeEventListener(e, n, s);
195
198
  }
196
- function je(t) {
199
+ function Oe(t) {
197
200
  return function(e) {
198
201
  return e.preventDefault(), t.call(this, e);
199
202
  };
@@ -201,24 +204,24 @@ function je(t) {
201
204
  function y(t, e, n) {
202
205
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
203
206
  }
204
- function Oe(t, e, n) {
207
+ function Se(t, e, n) {
205
208
  const s = e.toLowerCase();
206
209
  s in t ? t[s] = typeof t[s] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : y(t, e, n);
207
210
  }
208
- function Se(t) {
211
+ function Ae(t) {
209
212
  return t === "" ? null : +t;
210
213
  }
211
214
  function Vt(t) {
212
215
  return Array.from(t.childNodes);
213
216
  }
214
- function Ae(t, e) {
217
+ function Ne(t, e) {
215
218
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
216
219
  e);
217
220
  }
218
- function Ne(t, e) {
221
+ function ze(t, e) {
219
222
  t.value = e == null ? "" : e;
220
223
  }
221
- function ze(t, e, n, s) {
224
+ function Be(t, e, n, s) {
222
225
  n == null ? t.style.removeProperty(e) : t.style.setProperty(e, n, "");
223
226
  }
224
227
  let Z;
@@ -233,7 +236,7 @@ function Zt() {
233
236
  }
234
237
  return Z;
235
238
  }
236
- function Be(t, e) {
239
+ function Pe(t, e) {
237
240
  getComputedStyle(t).position === "static" && (t.style.position = "relative");
238
241
  const s = L("iframe");
239
242
  s.setAttribute(
@@ -255,7 +258,7 @@ function Be(t, e) {
255
258
  (o || i && s.contentWindow) && i(), P(s);
256
259
  };
257
260
  }
258
- function Pe(t, e, n) {
261
+ function Te(t, e, n) {
259
262
  t.classList.toggle(e, !!n);
260
263
  }
261
264
  function Gt(t, e, { bubbles: n = !1, cancelable: s = !1 } = {}) {
@@ -291,11 +294,11 @@ function et(t, e, n, s, o, i, c, r = 0) {
291
294
  u += p * 100 + `%{${c(g, 1 - g)}}
292
295
  `;
293
296
  }
294
- const _ = u + `100% {${c(n, 1 - n)}}
295
- }`, f = `__svelte_${Qt(_)}_${r}`, h = dt(t), { stylesheet: m, rules: d } = Y.get(h) || Xt(h, t);
296
- d[f] || (d[f] = !0, m.insertRule(`@keyframes ${f} ${_}`, m.cssRules.length));
297
- const $ = t.style.animation || "";
298
- return t.style.animation = `${$ ? `${$}, ` : ""}${f} ${s}ms linear ${o}ms 1 both`, tt += 1, f;
297
+ const $ = u + `100% {${c(n, 1 - n)}}
298
+ }`, f = `__svelte_${Qt($)}_${r}`, h = dt(t), { stylesheet: _, rules: d } = Y.get(h) || Xt(h, t);
299
+ d[f] || (d[f] = !0, _.insertRule(`@keyframes ${f} ${$}`, _.cssRules.length));
300
+ const m = t.style.animation || "";
301
+ return t.style.animation = `${m ? `${m}, ` : ""}${f} ${s}ms linear ${o}ms 1 both`, tt += 1, f;
299
302
  }
300
303
  function nt(t, e) {
301
304
  const n = (t.style.animation || "").split(", "), s = n.filter(
@@ -324,7 +327,7 @@ function Nt() {
324
327
  function te(t) {
325
328
  Nt().$$.on_mount.push(t);
326
329
  }
327
- function Te(t) {
330
+ function Re(t) {
328
331
  Nt().$$.on_destroy.push(t);
329
332
  }
330
333
  const A = [], rt = [];
@@ -376,7 +379,7 @@ function ie(t) {
376
379
  z.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), z = e;
377
380
  }
378
381
  let T;
379
- function $t() {
382
+ function mt() {
380
383
  return T || (T = Promise.resolve(), T.then(() => {
381
384
  T = null;
382
385
  })), T;
@@ -386,7 +389,7 @@ function O(t, e, n) {
386
389
  }
387
390
  const K = /* @__PURE__ */ new Set();
388
391
  let E;
389
- function Re() {
392
+ function De() {
390
393
  E = {
391
394
  r: 0,
392
395
  c: [],
@@ -394,7 +397,7 @@ function Re() {
394
397
  // parent group
395
398
  };
396
399
  }
397
- function De() {
400
+ function He() {
398
401
  E.r || j(E.c), E = E.p;
399
402
  }
400
403
  function R(t, e) {
@@ -410,30 +413,30 @@ function G(t, e, n, s) {
410
413
  } else
411
414
  s && s();
412
415
  }
413
- const mt = { duration: 0 };
414
- function He(t, e, n) {
416
+ const _t = { duration: 0 };
417
+ function We(t, e, n) {
415
418
  const s = { direction: "in" };
416
419
  let o = e(t, n, s), i = !1, c, r, l = 0;
417
420
  function u() {
418
421
  c && nt(t, c);
419
422
  }
420
- function _() {
423
+ function $() {
421
424
  const {
422
425
  delay: h = 0,
423
- duration: m = 300,
426
+ duration: _ = 300,
424
427
  easing: d = lt,
425
- tick: $ = k,
428
+ tick: m = k,
426
429
  css: p
427
- } = o || mt;
428
- p && (c = et(t, 0, 1, m, h, d, p, l++)), $(0, 1);
429
- const g = ut() + h, w = g + m;
430
- r && r.abort(), i = !0, B(() => O(t, !0, "start")), r = ft((x) => {
430
+ } = o || _t;
431
+ p && (c = et(t, 0, 1, _, h, d, p, l++)), m(0, 1);
432
+ const g = ut() + h, b = g + _;
433
+ r && r.abort(), i = !0, B(() => O(t, !0, "start")), r = ft((w) => {
431
434
  if (i) {
432
- if (x >= w)
433
- return $(1, 0), O(t, !0, "end"), u(), i = !1;
434
- if (x >= g) {
435
- const b = d((x - g) / m);
436
- $(b, 1 - b);
435
+ if (w >= b)
436
+ return m(1, 0), O(t, !0, "end"), u(), i = !1;
437
+ if (w >= g) {
438
+ const x = d((w - g) / _);
439
+ m(x, 1 - x);
437
440
  }
438
441
  }
439
442
  return i;
@@ -442,7 +445,7 @@ function He(t, e, n) {
442
445
  let f = !1;
443
446
  return {
444
447
  start() {
445
- f || (f = !0, nt(t), I(o) ? (o = o(s), $t().then(_)) : _());
448
+ f || (f = !0, nt(t), I(o) ? (o = o(s), mt().then($)) : $());
446
449
  },
447
450
  invalidate() {
448
451
  f = !1;
@@ -452,7 +455,7 @@ function He(t, e, n) {
452
455
  }
453
456
  };
454
457
  }
455
- function We(t, e, n) {
458
+ function Ie(t, e, n) {
456
459
  const s = { direction: "out" };
457
460
  let o = e(t, n, s), i = !0, c;
458
461
  const r = E;
@@ -460,69 +463,69 @@ function We(t, e, n) {
460
463
  let l;
461
464
  function u() {
462
465
  const {
463
- delay: _ = 0,
466
+ delay: $ = 0,
464
467
  duration: f = 300,
465
468
  easing: h = lt,
466
- tick: m = k,
469
+ tick: _ = k,
467
470
  css: d
468
- } = o || mt;
469
- d && (c = et(t, 1, 0, f, _, h, d));
470
- const $ = ut() + _, p = $ + f;
471
+ } = o || _t;
472
+ d && (c = et(t, 1, 0, f, $, h, d));
473
+ const m = ut() + $, p = m + f;
471
474
  B(() => O(t, !1, "start")), "inert" in t && (l = /** @type {HTMLElement} */
472
475
  t.inert, t.inert = !0), ft((g) => {
473
476
  if (i) {
474
477
  if (g >= p)
475
- return m(0, 1), O(t, !1, "end"), --r.r || j(r.c), !1;
476
- if (g >= $) {
477
- const w = h((g - $) / f);
478
- m(1 - w, w);
478
+ return _(0, 1), O(t, !1, "end"), --r.r || j(r.c), !1;
479
+ if (g >= m) {
480
+ const b = h((g - m) / f);
481
+ _(1 - b, b);
479
482
  }
480
483
  }
481
484
  return i;
482
485
  });
483
486
  }
484
- return I(o) ? $t().then(() => {
487
+ return I(o) ? mt().then(() => {
485
488
  o = o(s), u();
486
489
  }) : u(), {
487
- end(_) {
488
- _ && "inert" in t && (t.inert = l), _ && o.tick && o.tick(1, 0), i && (c && nt(t, c), i = !1);
490
+ end($) {
491
+ $ && "inert" in t && (t.inert = l), $ && o.tick && o.tick(1, 0), i && (c && nt(t, c), i = !1);
489
492
  }
490
493
  };
491
494
  }
492
- function Ie(t, e, n, s) {
493
- let i = e(t, n, { direction: "both" }), c = s ? 0 : 1, r = null, l = null, u = null, _;
495
+ function Ue(t, e, n, s) {
496
+ let i = e(t, n, { direction: "both" }), c = s ? 0 : 1, r = null, l = null, u = null, $;
494
497
  function f() {
495
498
  u && nt(t, u);
496
499
  }
497
- function h(d, $) {
500
+ function h(d, m) {
498
501
  const p = (
499
502
  /** @type {Program['d']} */
500
503
  d.b - c
501
504
  );
502
- return $ *= Math.abs(p), {
505
+ return m *= Math.abs(p), {
503
506
  a: c,
504
507
  b: d.b,
505
508
  d: p,
506
- duration: $,
509
+ duration: m,
507
510
  start: d.start,
508
- end: d.start + $,
511
+ end: d.start + m,
509
512
  group: d.group
510
513
  };
511
514
  }
512
- function m(d) {
515
+ function _(d) {
513
516
  const {
514
- delay: $ = 0,
517
+ delay: m = 0,
515
518
  duration: p = 300,
516
519
  easing: g = lt,
517
- tick: w = k,
518
- css: x
519
- } = i || mt, b = {
520
- start: ut() + $,
520
+ tick: b = k,
521
+ css: w
522
+ } = i || _t, x = {
523
+ start: ut() + m,
521
524
  b: d
522
525
  };
523
- d || (b.group = E, E.r += 1), "inert" in t && (d ? _ !== void 0 && (t.inert = _) : (_ = /** @type {HTMLElement} */
524
- t.inert, t.inert = !0)), r || l ? l = b : (x && (f(), u = et(t, c, d, p, $, g, x)), d && w(0, 1), r = h(b, p), B(() => O(t, d, "start")), ft((a) => {
525
- if (l && a > l.start && (r = h(l, p), l = null, O(t, r.b, "start"), x && (f(), u = et(
526
+ d || (x.group = E, E.r += 1), "inert" in t && (d ? $ !== void 0 && (t.inert = $) : ($ = /** @type {HTMLElement} */
527
+ t.inert, t.inert = !0)), r || l ? l = x : (w && (f(), u = et(t, c, d, p, m, g, w)), d && b(0, 1), r = h(x, p), B(() => O(t, d, "start")), ft((a) => {
528
+ if (l && a > l.start && (r = h(l, p), l = null, O(t, r.b, "start"), w && (f(), u = et(
526
529
  t,
527
530
  c,
528
531
  r.b,
@@ -532,10 +535,10 @@ function Ie(t, e, n, s) {
532
535
  i.css
533
536
  ))), r) {
534
537
  if (a >= r.end)
535
- w(c = r.b, 1 - c), O(t, r.b, "end"), l || (r.b ? f() : --r.group.r || j(r.group.c)), r = null;
538
+ b(c = r.b, 1 - c), O(t, r.b, "end"), l || (r.b ? f() : --r.group.r || j(r.group.c)), r = null;
536
539
  else if (a >= r.start) {
537
540
  const C = a - r.start;
538
- c = r.a + r.d * g(C / r.duration), w(c, 1 - c);
541
+ c = r.a + r.d * g(C / r.duration), b(c, 1 - c);
539
542
  }
540
543
  }
541
544
  return !!(r || l);
@@ -543,18 +546,21 @@ function Ie(t, e, n, s) {
543
546
  }
544
547
  return {
545
548
  run(d) {
546
- I(i) ? $t().then(() => {
547
- i = i({ direction: d ? "in" : "out" }), m(d);
548
- }) : m(d);
549
+ I(i) ? mt().then(() => {
550
+ i = i({ direction: d ? "in" : "out" }), _(d);
551
+ }) : _(d);
549
552
  },
550
553
  end() {
551
554
  f(), r = l = null;
552
555
  }
553
556
  };
554
557
  }
555
- function Ue(t) {
558
+ function qe(t) {
556
559
  return (t == null ? void 0 : t.length) !== void 0 ? t : Array.from(t);
557
560
  }
561
+ function Fe(t) {
562
+ t && t.c();
563
+ }
558
564
  function oe(t, e, n) {
559
565
  const { fragment: s, after_update: o } = t.$$;
560
566
  s && s.m(e, n), B(() => {
@@ -594,11 +600,11 @@ function le(t, e, n, s, o, i, c = null, r = [-1]) {
594
600
  root: e.target || l.$$.root
595
601
  };
596
602
  c && c(u.root);
597
- let _ = !1;
598
- if (u.ctx = n ? n(t, e.props || {}, (f, h, ...m) => {
599
- const d = m.length ? m[0] : h;
600
- return u.ctx && o(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), _ && ce(t, f)), h;
601
- }) : [], u.update(), _ = !0, j(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
603
+ let $ = !1;
604
+ if (u.ctx = n ? n(t, e.props || {}, (f, h, ..._) => {
605
+ const d = _.length ? _[0] : h;
606
+ return u.ctx && o(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), $ && ce(t, f)), h;
607
+ }) : [], u.update(), $ = !0, j(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
602
608
  if (e.hydrate) {
603
609
  const f = Vt(e.target);
604
610
  u.fragment && u.fragment.l(f), f.forEach(P);
@@ -659,8 +665,8 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
659
665
  * @param {HTMLElement} target
660
666
  * @param {HTMLElement} [anchor]
661
667
  */
662
- m: function(u, _) {
663
- ht(u, c, _);
668
+ m: function(u, $) {
669
+ ht(u, c, $);
664
670
  },
665
671
  d: function(u) {
666
672
  u && P(c);
@@ -853,7 +859,7 @@ function he(t, e) {
853
859
  console.error("There was an error while trying to load client styling from URL", s);
854
860
  });
855
861
  }
856
- function $e(t, e, n) {
862
+ function me(t, e, n) {
857
863
  if (window.emMessageBus) {
858
864
  const s = document.createElement("style");
859
865
  window.emMessageBus.subscribe(e, (o) => {
@@ -861,10 +867,10 @@ function $e(t, e, n) {
861
867
  });
862
868
  }
863
869
  }
864
- function me(t) {
870
+ function _e(t) {
865
871
  Ft(t, "svelte-1m890h5", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CashierModalWindow{container-type:inline-size;container-name:confirm-modal;display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.1))}.CashierModalContainer{width:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;box-shadow:0 2px 6px 0 var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff)}.ModalOkBtn{color:var(--emw--color-white, #fff);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:50px;line-height:125%;background-color:var(--emw--color-primary, #7EC51E);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}@container confirm-modal (max-width: 750px){.CashierModalContainer{margin:var(--emw--spacing-x-large, 30px) var(--emw--spacing-small, 12px)}}");
866
872
  }
867
- const _e = (t) => ({}), Ct = (t) => ({}), ge = (t) => ({}), vt = (t) => ({}), pe = (t) => ({}), Mt = (t) => ({ class: "CashierModalText" }), ye = (t) => ({}), Et = (t) => ({ class: "CashierModalTitle" });
873
+ const $e = (t) => ({}), Ct = (t) => ({}), ge = (t) => ({}), vt = (t) => ({}), pe = (t) => ({}), Mt = (t) => ({ class: "CashierModalText" }), ye = (t) => ({}), Et = (t) => ({ class: "CashierModalTitle" });
868
874
  function be(t) {
869
875
  let e, n;
870
876
  return {
@@ -881,11 +887,11 @@ function be(t) {
881
887
  };
882
888
  }
883
889
  function we(t) {
884
- let e, n, s, o, i, c, r, l, u, _, f;
890
+ let e, n, s, o, i, c, r, l, u, $, f;
885
891
  const h = (
886
892
  /*#slots*/
887
893
  t[7].title
888
- ), m = q(
894
+ ), _ = q(
889
895
  h,
890
896
  t,
891
897
  /*$$scope*/
@@ -894,7 +900,7 @@ function we(t) {
894
900
  ), d = (
895
901
  /*#slots*/
896
902
  t[7].text
897
- ), $ = q(
903
+ ), m = q(
898
904
  d,
899
905
  t,
900
906
  /*$$scope*/
@@ -909,22 +915,22 @@ function we(t) {
909
915
  /*$$scope*/
910
916
  t[6],
911
917
  vt
912
- ), w = (
918
+ ), b = (
913
919
  /*#slots*/
914
920
  t[7].close
915
- ), x = q(
916
- w,
921
+ ), w = q(
922
+ b,
917
923
  t,
918
924
  /*$$scope*/
919
925
  t[6],
920
926
  Ct
921
- ), b = x || be();
927
+ ), x = w || be();
922
928
  return {
923
929
  c() {
924
- e = L("div"), n = L("div"), s = L("div"), m && m.c(), o = it(), $ && $.c(), i = it(), c = L("span"), g && g.c(), r = it(), l = L("span"), b && b.c(), y(c, "class", "ModalOkBtn"), y(c, "role", "button"), y(l, "class", "ModalCloseBtn"), y(l, "role", "button"), y(s, "class", "CashierModalContainer"), y(n, "class", "CashierModalWindow"), y(n, "id", "Modal");
930
+ e = L("div"), n = L("div"), s = L("div"), _ && _.c(), o = it(), m && m.c(), i = it(), c = L("span"), g && g.c(), r = it(), l = L("span"), x.c(), y(c, "class", "ModalOkBtn"), y(c, "role", "button"), y(l, "class", "ModalCloseBtn"), y(l, "role", "button"), y(s, "class", "CashierModalContainer"), y(n, "class", "CashierModalWindow"), y(n, "id", "Modal");
925
931
  },
926
932
  m(a, C) {
927
- ht(a, e, C), M(e, n), M(n, s), m && m.m(s, null), M(s, o), $ && $.m(s, null), M(s, i), M(s, c), g && g.m(c, null), M(s, r), M(s, l), b && b.m(l, null), t[8](e), u = !0, _ || (f = [
933
+ ht(a, e, C), M(e, n), M(n, s), _ && _.m(s, null), M(s, o), m && m.m(s, null), M(s, i), M(s, c), g && g.m(c, null), M(s, r), M(s, l), x.m(l, null), t[8](e), u = !0, $ || (f = [
928
934
  X(
929
935
  c,
930
936
  "click",
@@ -937,12 +943,12 @@ function we(t) {
937
943
  /*close*/
938
944
  t[1]
939
945
  )
940
- ], _ = !0);
946
+ ], $ = !0);
941
947
  },
942
948
  p(a, [C]) {
943
- m && m.p && (!u || C & /*$$scope*/
949
+ _ && _.p && (!u || C & /*$$scope*/
944
950
  64) && J(
945
- m,
951
+ _,
946
952
  h,
947
953
  a,
948
954
  /*$$scope*/
@@ -958,9 +964,9 @@ function we(t) {
958
964
  a[6]
959
965
  ),
960
966
  Et
961
- ), $ && $.p && (!u || C & /*$$scope*/
967
+ ), m && m.p && (!u || C & /*$$scope*/
962
968
  64) && J(
963
- $,
969
+ m,
964
970
  d,
965
971
  a,
966
972
  /*$$scope*/
@@ -994,19 +1000,19 @@ function we(t) {
994
1000
  a[6]
995
1001
  ),
996
1002
  vt
997
- ), x && x.p && (!u || C & /*$$scope*/
1003
+ ), w && w.p && (!u || C & /*$$scope*/
998
1004
  64) && J(
999
- x,
1000
1005
  w,
1006
+ b,
1001
1007
  a,
1002
1008
  /*$$scope*/
1003
1009
  a[6],
1004
1010
  u ? F(
1005
- w,
1011
+ b,
1006
1012
  /*$$scope*/
1007
1013
  a[6],
1008
1014
  C,
1009
- _e
1015
+ $e
1010
1016
  ) : V(
1011
1017
  /*$$scope*/
1012
1018
  a[6]
@@ -1015,13 +1021,13 @@ function we(t) {
1015
1021
  );
1016
1022
  },
1017
1023
  i(a) {
1018
- u || (R(m, a), R($, a), R(g, a), R(b, a), u = !0);
1024
+ u || (R(_, a), R(m, a), R(g, a), R(x, a), u = !0);
1019
1025
  },
1020
1026
  o(a) {
1021
- G(m, a), G($, a), G(g, a), G(b, a), u = !1;
1027
+ G(_, a), G(m, a), G(g, a), G(x, a), u = !1;
1022
1028
  },
1023
1029
  d(a) {
1024
- a && P(e), m && m.d(a), $ && $.d(a), g && g.d(a), b && b.d(a), t[8](null), _ = !1, j(f);
1030
+ a && P(e), _ && _.d(a), m && m.d(a), g && g.d(a), x.d(a), t[8](null), $ = !1, j(f);
1025
1031
  }
1026
1032
  };
1027
1033
  }
@@ -1029,7 +1035,7 @@ function xe(t, e, n) {
1029
1035
  let { $$slots: s = {}, $$scope: o } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { mbsource: r = "" } = e, l;
1030
1036
  const u = () => {
1031
1037
  window.postMessage({ type: "CloseModal" }, window.location.href);
1032
- }, _ = () => {
1038
+ }, $ = () => {
1033
1039
  window.postMessage({ type: "ConfirmModal" }, window.location.href), u();
1034
1040
  };
1035
1041
  te(() => () => {
@@ -1045,11 +1051,11 @@ function xe(t, e, n) {
1045
1051
  t.$$.dirty & /*clientstyling, customStylingContainer*/
1046
1052
  9 && i && l && de(l, i), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1047
1053
  17 && c && l && he(l, c), t.$$.dirty & /*mbsource, customStylingContainer*/
1048
- 33 && r && l && $e(l, `${r}.Style`);
1054
+ 33 && r && l && me(l, `${r}.Style`);
1049
1055
  }, [
1050
1056
  l,
1051
1057
  u,
1052
- _,
1058
+ $,
1053
1059
  i,
1054
1060
  c,
1055
1061
  r,
@@ -1071,7 +1077,7 @@ class Bt extends ae {
1071
1077
  clientstylingurl: 4,
1072
1078
  mbsource: 5
1073
1079
  },
1074
- me
1080
+ _e
1075
1081
  );
1076
1082
  }
1077
1083
  get clientstyling() {
@@ -1094,62 +1100,66 @@ class Bt extends ae {
1094
1100
  }
1095
1101
  }
1096
1102
  ue(Bt, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, ["title", "text", "confirm", "close"], [], !0);
1097
- const qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1103
+ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1098
1104
  __proto__: null,
1099
1105
  default: Bt
1100
1106
  }, Symbol.toStringTag, { value: "Module" }));
1101
1107
  export {
1102
- At as A,
1103
- rt as B,
1104
- X as C,
1105
- ve as D,
1106
- Oe as E,
1107
- de as F,
1108
- he as G,
1109
- $e as H,
1110
- ue as I,
1108
+ Fe as $,
1109
+ Ne as A,
1110
+ X as B,
1111
+ De as C,
1112
+ rt as D,
1113
+ de as E,
1114
+ he as F,
1115
+ me as G,
1116
+ ve as H,
1117
+ Se as I,
1111
1118
  B as J,
1112
- Ee as K,
1113
- Se as L,
1114
- Pe as M,
1115
- Ue as N,
1116
- Le as O,
1117
- je as P,
1118
- wt as Q,
1119
- Ne as R,
1119
+ Le as K,
1120
+ Te as L,
1121
+ Ae as M,
1122
+ qe as N,
1123
+ Oe as O,
1124
+ ke as P,
1125
+ ze as Q,
1126
+ wt as R,
1120
1127
  ae as S,
1121
- ze as T,
1128
+ Be as T,
1122
1129
  lt as U,
1123
- Ie as V,
1124
- Be as W,
1125
- Te as X,
1130
+ Pe as V,
1131
+ Ue as W,
1132
+ Re as X,
1126
1133
  We as Y,
1127
- He as Z,
1128
- qe as _,
1129
- qt as a,
1134
+ Ie as Z,
1135
+ Ee as _,
1136
+ It as a,
1137
+ oe as a0,
1138
+ re as a1,
1139
+ Je as a2,
1130
1140
  le as b,
1131
- Ft as c,
1132
- q as d,
1133
- P as e,
1141
+ ue as c,
1142
+ Ft as d,
1143
+ q as e,
1134
1144
  H as f,
1135
- R as g,
1136
- V as h,
1145
+ L as g,
1146
+ it as h,
1137
1147
  I as i,
1138
- F as j,
1139
- Re as k,
1140
- De as l,
1141
- ht as m,
1148
+ y as j,
1149
+ ht as k,
1150
+ M as l,
1151
+ V as m,
1142
1152
  k as n,
1143
- M as o,
1144
- L as p,
1145
- it as q,
1153
+ F as o,
1154
+ G as p,
1155
+ He as q,
1146
1156
  j as r,
1147
- It as s,
1148
- G as t,
1157
+ qt as s,
1158
+ R as t,
1149
1159
  J as u,
1150
- y as v,
1160
+ P as v,
1151
1161
  Me as w,
1152
1162
  te as x,
1153
- ke as y,
1154
- Ae as z
1163
+ je as y,
1164
+ At as z
1155
1165
  };