@everymatrix/cashier-page-nd 1.69.152 → 1.69.154

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 (60) hide show
  1. package/components/{CashierCarousel-Bgq1WDGU.js → CashierCarousel-Cf2c1vPp.js} +2 -2
  2. package/components/{CashierCarousel-BTxUaLd7.js → CashierCarousel-CsnmOP94.js} +266 -265
  3. package/components/{CashierCarousel-BhvSzaOX.cjs → CashierCarousel-DHmjrgBC.cjs} +6 -6
  4. package/components/{CashierError-Bx2_q1TO.js → CashierError-BDmChuIE.js} +1 -1
  5. package/components/{CashierError-B9NfoUAi.js → CashierError-BIiEXbdF.js} +1 -1
  6. package/components/{CashierError-CYzF-3cb.cjs → CashierError-CLWqWwfU.cjs} +1 -1
  7. package/components/{CashierHeader-D3GpPPeM.cjs → CashierHeader-CP7RROYr.cjs} +1 -1
  8. package/components/{CashierHeader-DP32NGGa.js → CashierHeader-Cecv5g56.js} +1 -1
  9. package/components/{CashierHeader-DlJ19rb5.js → CashierHeader-Dd5b4-yJ.js} +1 -1
  10. package/components/{CashierIframeRedirect-DuFSKTft.cjs → CashierIframeRedirect-BXrhvi-f.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-CwcYsN9s.js → CashierIframeRedirect-DMYVav-v.js} +3 -3
  12. package/components/{CashierIframeRedirect-BzDP-bWe.js → CashierIframeRedirect-reE-yTgQ.js} +3 -3
  13. package/components/{CashierMethodDetails-rTqmsVpv.js → CashierMethodDetails-BUp0OXBg.js} +87 -85
  14. package/components/{CashierMethodDetails-gbr4S4TG.js → CashierMethodDetails-CmGkz8Gs.js} +402 -400
  15. package/components/{CashierMethodDetails-5T6EAzyg.cjs → CashierMethodDetails-a7w2Fpuk.cjs} +4 -4
  16. package/components/CashierMethodsList-8-1C80wc.js +810 -0
  17. package/components/CashierMethodsList-C97If7sq.cjs +1 -0
  18. package/components/CashierMethodsList-CtDIeDD9.js +825 -0
  19. package/components/{CashierModal-BeairN-j.js → CashierModal-C-jze_SD.js} +97 -96
  20. package/components/CashierModal-DVeVHCTj.cjs +1 -0
  21. package/components/{CashierModal-3_dhlwdD.js → CashierModal-Dclaqxyx.js} +106 -105
  22. package/components/{CashierNotifications-BHx0s7qr.js → CashierNotifications-BVUb_REU.js} +1 -1
  23. package/components/{CashierNotifications-ZPVuQtvF.js → CashierNotifications-COlT367w.js} +1 -1
  24. package/components/{CashierNotifications-C80Nj7ut.cjs → CashierNotifications-DdrhkPqp.cjs} +1 -1
  25. package/components/CashierPage-B0EP4g6U.cjs +1 -0
  26. package/components/{CashierPage-Bd1bJBOx.js → CashierPage-BSaar2I5.js} +445 -445
  27. package/components/{CashierPage-ClPy9v8d.js → CashierPage-Iwp2vIzz.js} +636 -636
  28. package/components/{CashierReceiptPage-CGPxr1tM.js → CashierReceiptPage-C_ThGHj9.js} +2 -2
  29. package/components/{CashierReceiptPage-BXxKVs-c.cjs → CashierReceiptPage-DKQ1TT5R.cjs} +1 -1
  30. package/components/{CashierReceiptPage-dgvFBbs8.js → CashierReceiptPage-Sbqf6VFD.js} +2 -2
  31. package/components/{CashierSessionExpirationModal-OfDuSlF9.cjs → CashierSessionExpirationModal-BfNtR7tc.cjs} +1 -1
  32. package/components/{CashierSessionExpirationModal-Cef4HAT7.js → CashierSessionExpirationModal-BhIHw0Dn.js} +3 -3
  33. package/components/{CashierSessionExpirationModal-DdfqGx2U.js → CashierSessionExpirationModal-Se0WGHHJ.js} +3 -3
  34. package/components/{CashierSpinner-Cy0PzOYE.js → CashierSpinner-BQWOaYce.js} +1 -1
  35. package/components/{CashierSpinner-cF3ogJPb.cjs → CashierSpinner-D5McPkCt.cjs} +1 -1
  36. package/components/{CashierSpinner-cCY2xkeQ.js → CashierSpinner-DZSuVNPM.js} +1 -1
  37. package/components/{CashierStepUp-DY16-lgX.cjs → CashierStepUp-DWd3cylJ.cjs} +1 -1
  38. package/components/{CashierStepUp-CZBuTZjb.js → CashierStepUp-DyfuU9cc.js} +1 -1
  39. package/components/{CashierStepUp-CrehM00S.js → CashierStepUp-sBUhsV5t.js} +1 -1
  40. package/components/{CashierTransactionHistory-DuPT0n7K.js → CashierTransactionHistory-B9Jw119p.js} +5 -5
  41. package/components/{CashierTransactionHistory-C4zYZi4B.cjs → CashierTransactionHistory-C6HNHDcy.cjs} +1 -1
  42. package/components/{CashierTransactionHistory-D-CPc9ir.js → CashierTransactionHistory-C_hM5qDU.js} +5 -5
  43. package/components/{CashierVerifications-Rk6X7RVq.js → CashierVerifications-B-GmoVz-.js} +2 -2
  44. package/components/{CashierVerifications-CMl70lXH.js → CashierVerifications-D3ppfphF.js} +2 -2
  45. package/components/{CashierVerifications-n6M_BOo7.cjs → CashierVerifications-P5L5SY5e.cjs} +1 -1
  46. package/components/{TxnStatusIcon-DI3nuEnF.cjs → TxnStatusIcon-BhtPQm1B.cjs} +1 -1
  47. package/components/{TxnStatusIcon-Bdza1shy.js → TxnStatusIcon-DMKCkAXd.js} +1 -1
  48. package/components/{TxnStatusIcon-CdlSy960.js → TxnStatusIcon-ty2g5_He.js} +1 -1
  49. package/components/{TxnTypeIcons-BAaNXMO8.js → TxnTypeIcons-B5CYl9NW.js} +1 -1
  50. package/components/{TxnTypeIcons-2RX9ugB9.cjs → TxnTypeIcons-CyHXLkXz.cjs} +1 -1
  51. package/components/{TxnTypeIcons-DL0xRj4u.js → TxnTypeIcons-D_bSXM7r.js} +1 -1
  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/components/CashierMethodsList-CGfG8qfG.js +0 -748
  57. package/components/CashierMethodsList-CKbz7q56.cjs +0 -1
  58. package/components/CashierMethodsList-D_J2ddT8.js +0 -736
  59. package/components/CashierModal-B5itoe-4.cjs +0 -1
  60. package/components/CashierPage-BZJ0SjkW.cjs +0 -1
@@ -47,7 +47,7 @@ function lr() {
47
47
  function z(e) {
48
48
  e.forEach(kr);
49
49
  }
50
- function ae(e) {
50
+ function ue(e) {
51
51
  return typeof e == "function";
52
52
  }
53
53
  function Vr(e, t) {
@@ -119,24 +119,24 @@ function Ps(e) {
119
119
  return e == null ? "" : e;
120
120
  }
121
121
  function Bs(e) {
122
- return e && ae(e.destroy) ? e.destroy : N;
122
+ return e && ue(e.destroy) ? e.destroy : N;
123
123
  }
124
124
  const Wr = typeof window != "undefined";
125
125
  let Xt = Wr ? () => window.performance.now() : () => Date.now(), Wt = Wr ? (e) => requestAnimationFrame(e) : N;
126
- const de = /* @__PURE__ */ new Set();
126
+ const me = /* @__PURE__ */ new Set();
127
127
  function zr(e) {
128
- de.forEach((t) => {
129
- t.c(e) || (de.delete(t), t.f());
130
- }), de.size !== 0 && Wt(zr);
128
+ me.forEach((t) => {
129
+ t.c(e) || (me.delete(t), t.f());
130
+ }), me.size !== 0 && Wt(zr);
131
131
  }
132
132
  function zt(e) {
133
133
  let t;
134
- return de.size === 0 && Wt(zr), {
134
+ return me.size === 0 && Wt(zr), {
135
135
  promise: new Promise((r) => {
136
- de.add(t = { c: e, f: r });
136
+ me.add(t = { c: e, f: r });
137
137
  }),
138
138
  abort() {
139
- de.delete(t);
139
+ me.delete(t);
140
140
  }
141
141
  };
142
142
  }
@@ -200,7 +200,7 @@ function j() {
200
200
  function Ls() {
201
201
  return k("");
202
202
  }
203
- function ee(e, t, r, n) {
203
+ function te(e, t, r, n) {
204
204
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
205
205
  }
206
206
  function Is(e) {
@@ -257,7 +257,7 @@ function Wn(e, t) {
257
257
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
258
258
  const i = Xn();
259
259
  let o;
260
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ee(
260
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = te(
261
261
  window,
262
262
  "message",
263
263
  /** @param {MessageEvent} event */
@@ -265,7 +265,7 @@ function Wn(e, t) {
265
265
  s.source === n.contentWindow && t();
266
266
  }
267
267
  )) : (n.src = "about:blank", n.onload = () => {
268
- o = ee(n.contentWindow, "resize", t), t();
268
+ o = te(n.contentWindow, "resize", t), t();
269
269
  }), x(e, n), () => {
270
270
  (i || o && n.contentWindow) && o(), U(n);
271
271
  };
@@ -301,9 +301,9 @@ function nt(e, t, r, n, i, o, s, a = 0) {
301
301
  const l = 16.666 / n;
302
302
  let u = `{
303
303
  `;
304
- for (let y = 0; y <= 1; y += l) {
305
- const _ = t + (r - t) * o(y);
306
- u += y * 100 + `%{${s(_, 1 - _)}}
304
+ for (let v = 0; v <= 1; v += l) {
305
+ const _ = t + (r - t) * o(v);
306
+ u += v * 100 + `%{${s(_, 1 - _)}}
307
307
  `;
308
308
  }
309
309
  const c = u + `100% {${s(r, 1 - r)}}
@@ -346,8 +346,8 @@ function ks(e, t) {
346
346
  const r = e.$$.callbacks[t.type];
347
347
  r && r.slice().forEach((n) => n.call(this, t));
348
348
  }
349
- const pe = [], ot = [];
350
- let me = [];
349
+ const de = [], ot = [];
350
+ let be = [];
351
351
  const fr = [], Kr = /* @__PURE__ */ Promise.resolve();
352
352
  let At = !1;
353
353
  function Yr() {
@@ -356,32 +356,32 @@ function Yr() {
356
356
  function Vs() {
357
357
  return Yr(), Kr;
358
358
  }
359
- function se(e) {
360
- me.push(e);
359
+ function ae(e) {
360
+ be.push(e);
361
361
  }
362
362
  const yt = /* @__PURE__ */ new Set();
363
- let he = 0;
363
+ let fe = 0;
364
364
  function G() {
365
- if (he !== 0)
365
+ if (fe !== 0)
366
366
  return;
367
367
  const e = He;
368
368
  do {
369
369
  try {
370
- for (; he < pe.length; ) {
371
- const t = pe[he];
372
- he++, Me(t), qn(t.$$);
370
+ for (; fe < de.length; ) {
371
+ const t = de[fe];
372
+ fe++, Me(t), qn(t.$$);
373
373
  }
374
374
  } catch (t) {
375
- throw pe.length = 0, he = 0, t;
375
+ throw de.length = 0, fe = 0, t;
376
376
  }
377
- for (Me(null), pe.length = 0, he = 0; ot.length; )
377
+ for (Me(null), de.length = 0, fe = 0; ot.length; )
378
378
  ot.pop()();
379
- for (let t = 0; t < me.length; t += 1) {
380
- const r = me[t];
379
+ for (let t = 0; t < be.length; t += 1) {
380
+ const r = be[t];
381
381
  yt.has(r) || (yt.add(r), r());
382
382
  }
383
- me.length = 0;
384
- } while (pe.length);
383
+ be.length = 0;
384
+ } while (de.length);
385
385
  for (; fr.length; )
386
386
  fr.pop()();
387
387
  At = !1, yt.clear(), Me(e);
@@ -390,12 +390,12 @@ function qn(e) {
390
390
  if (e.fragment !== null) {
391
391
  e.update(), z(e.before_update);
392
392
  const t = e.dirty;
393
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(se);
393
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ae);
394
394
  }
395
395
  }
396
396
  function ei(e) {
397
397
  const t = [], r = [];
398
- me.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), me = t;
398
+ be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), be = t;
399
399
  }
400
400
  let Te;
401
401
  function Qt() {
@@ -403,7 +403,7 @@ function Qt() {
403
403
  Te = null;
404
404
  })), Te;
405
405
  }
406
- function oe(e, t, r) {
406
+ function se(e, t, r) {
407
407
  e.dispatchEvent(zn(`${t ? "intro" : "outro"}${r}`));
408
408
  }
409
409
  const Ke = /* @__PURE__ */ new Set();
@@ -445,17 +445,17 @@ function Zs(e, t, r) {
445
445
  duration: b = 300,
446
446
  easing: p = kt,
447
447
  tick: d = N,
448
- css: y
448
+ css: v
449
449
  } = i || Kt;
450
- y && (s = nt(e, 0, 1, b, h, p, y, l++)), d(0, 1);
450
+ v && (s = nt(e, 0, 1, b, h, p, v, l++)), d(0, 1);
451
451
  const _ = Xt() + h, m = _ + b;
452
- a && a.abort(), o = !0, se(() => oe(e, !0, "start")), a = zt((E) => {
452
+ a && a.abort(), o = !0, ae(() => se(e, !0, "start")), a = zt((E) => {
453
453
  if (o) {
454
454
  if (E >= m)
455
- return d(1, 0), oe(e, !0, "end"), u(), o = !1;
455
+ return d(1, 0), se(e, !0, "end"), u(), o = !1;
456
456
  if (E >= _) {
457
- const g = p((E - _) / b);
458
- d(g, 1 - g);
457
+ const y = p((E - _) / b);
458
+ d(y, 1 - y);
459
459
  }
460
460
  }
461
461
  return o;
@@ -464,7 +464,7 @@ function Zs(e, t, r) {
464
464
  let f = !1;
465
465
  return {
466
466
  start() {
467
- f || (f = !0, it(e), ae(i) ? (i = i(n), Qt().then(c)) : c());
467
+ f || (f = !0, it(e), ue(i) ? (i = i(n), Qt().then(c)) : c());
468
468
  },
469
469
  invalidate() {
470
470
  f = !1;
@@ -489,12 +489,12 @@ function Qs(e, t, r) {
489
489
  css: p
490
490
  } = i || Kt;
491
491
  p && (s = nt(e, 1, 0, f, c, h, p));
492
- const d = Xt() + c, y = d + f;
493
- se(() => oe(e, !1, "start")), "inert" in e && (l = /** @type {HTMLElement} */
492
+ const d = Xt() + c, v = d + f;
493
+ ae(() => se(e, !1, "start")), "inert" in e && (l = /** @type {HTMLElement} */
494
494
  e.inert, e.inert = !0), zt((_) => {
495
495
  if (o) {
496
- if (_ >= y)
497
- return b(0, 1), oe(e, !1, "end"), --a.r || z(a.c), !1;
496
+ if (_ >= v)
497
+ return b(0, 1), se(e, !1, "end"), --a.r || z(a.c), !1;
498
498
  if (_ >= d) {
499
499
  const m = h((_ - d) / f);
500
500
  b(1 - m, m);
@@ -503,7 +503,7 @@ function Qs(e, t, r) {
503
503
  return o;
504
504
  });
505
505
  }
506
- return ae(i) ? Qt().then(() => {
506
+ return ue(i) ? Qt().then(() => {
507
507
  i = i(n), u();
508
508
  }) : u(), {
509
509
  end(c) {
@@ -517,14 +517,14 @@ function Ks(e, t, r, n) {
517
517
  u && it(e, u);
518
518
  }
519
519
  function h(p, d) {
520
- const y = (
520
+ const v = (
521
521
  /** @type {Program['d']} */
522
522
  p.b - s
523
523
  );
524
- return d *= Math.abs(y), {
524
+ return d *= Math.abs(v), {
525
525
  a: s,
526
526
  b: p.b,
527
- d: y,
527
+ d: v,
528
528
  duration: d,
529
529
  start: p.start,
530
530
  end: p.start + d,
@@ -534,17 +534,17 @@ function Ks(e, t, r, n) {
534
534
  function b(p) {
535
535
  const {
536
536
  delay: d = 0,
537
- duration: y = 300,
537
+ duration: v = 300,
538
538
  easing: _ = kt,
539
539
  tick: m = N,
540
540
  css: E
541
- } = o || Kt, g = {
541
+ } = o || Kt, y = {
542
542
  start: Xt() + d,
543
543
  b: p
544
544
  };
545
- p || (g.group = X, X.r += 1), "inert" in e && (p ? c !== void 0 && (e.inert = c) : (c = /** @type {HTMLElement} */
546
- e.inert, e.inert = !0)), a || l ? l = g : (E && (f(), u = nt(e, s, p, y, d, _, E)), p && m(0, 1), a = h(g, y), se(() => oe(e, p, "start")), zt((T) => {
547
- if (l && T > l.start && (a = h(l, y), l = null, oe(e, a.b, "start"), E && (f(), u = nt(
545
+ p || (y.group = X, X.r += 1), "inert" in e && (p ? c !== void 0 && (e.inert = c) : (c = /** @type {HTMLElement} */
546
+ e.inert, e.inert = !0)), a || l ? l = y : (E && (f(), u = nt(e, s, p, v, d, _, E)), p && m(0, 1), a = h(y, v), ae(() => se(e, p, "start")), zt((T) => {
547
+ if (l && T > l.start && (a = h(l, v), l = null, se(e, a.b, "start"), E && (f(), u = nt(
548
548
  e,
549
549
  s,
550
550
  a.b,
@@ -554,7 +554,7 @@ function Ks(e, t, r, n) {
554
554
  o.css
555
555
  ))), a) {
556
556
  if (T >= a.end)
557
- m(s = a.b, 1 - s), oe(e, a.b, "end"), l || (a.b ? f() : --a.group.r || z(a.group.c)), a = null;
557
+ m(s = a.b, 1 - s), se(e, a.b, "end"), l || (a.b ? f() : --a.group.r || z(a.group.c)), a = null;
558
558
  else if (T >= a.start) {
559
559
  const A = T - a.start;
560
560
  s = a.a + a.d * _(A / a.duration), m(s, 1 - s);
@@ -565,7 +565,7 @@ function Ks(e, t, r, n) {
565
565
  }
566
566
  return {
567
567
  run(p) {
568
- ae(o) ? Qt().then(() => {
568
+ ue(o) ? Qt().then(() => {
569
569
  o = o({ direction: p ? "in" : "out" }), b(p);
570
570
  }) : b(p);
571
571
  },
@@ -585,44 +585,44 @@ function Js(e, t, r, n, i, o, s, a, l, u, c, f) {
585
585
  const d = {};
586
586
  for (; p--; )
587
587
  d[e[p].key] = p;
588
- const y = [], _ = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), E = [];
588
+ const v = [], _ = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), E = [];
589
589
  for (p = b; p--; ) {
590
590
  const C = f(i, o, p), L = r(C);
591
591
  let I = s.get(L);
592
- I ? E.push(() => I.p(C, t)) : (I = u(L, C), I.c()), _.set(L, y[p] = I), L in d && m.set(L, Math.abs(p - d[L]));
592
+ I ? E.push(() => I.p(C, t)) : (I = u(L, C), I.c()), _.set(L, v[p] = I), L in d && m.set(L, Math.abs(p - d[L]));
593
593
  }
594
- const g = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Set();
594
+ const y = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Set();
595
595
  function A(C) {
596
596
  Jr(C, 1), C.m(a, c), s.set(C.key, C), c = C.first, b--;
597
597
  }
598
598
  for (; h && b; ) {
599
- const C = y[b - 1], L = e[h - 1], I = C.key, Z = L.key;
600
- C === L ? (c = C.first, h--, b--) : _.has(Z) ? !s.has(I) || g.has(I) ? A(C) : T.has(Z) ? h-- : m.get(I) > m.get(Z) ? (T.add(I), A(C)) : (g.add(Z), h--) : (l(L, s), h--);
599
+ const C = v[b - 1], L = e[h - 1], I = C.key, Z = L.key;
600
+ C === L ? (c = C.first, h--, b--) : _.has(Z) ? !s.has(I) || y.has(I) ? A(C) : T.has(Z) ? h-- : m.get(I) > m.get(Z) ? (T.add(I), A(C)) : (y.add(Z), h--) : (l(L, s), h--);
601
601
  }
602
602
  for (; h--; ) {
603
603
  const C = e[h];
604
604
  _.has(C.key) || l(C, s);
605
605
  }
606
606
  for (; b; )
607
- A(y[b - 1]);
608
- return z(E), y;
607
+ A(v[b - 1]);
608
+ return z(E), v;
609
609
  }
610
610
  function qs(e) {
611
611
  e && e.c();
612
612
  }
613
613
  function ti(e, t, r) {
614
614
  const { fragment: n, after_update: i } = e.$$;
615
- n && n.m(t, r), se(() => {
616
- const o = e.$$.on_mount.map(kr).filter(ae);
615
+ n && n.m(t, r), ae(() => {
616
+ const o = e.$$.on_mount.map(kr).filter(ue);
617
617
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
618
- }), i.forEach(se);
618
+ }), i.forEach(ae);
619
619
  }
620
620
  function ri(e, t) {
621
621
  const r = e.$$;
622
622
  r.fragment !== null && (ei(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
623
623
  }
624
624
  function ni(e, t) {
625
- e.$$.dirty[0] === -1 && (pe.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
625
+ e.$$.dirty[0] === -1 && (de.push(e), Yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
626
626
  }
627
627
  function ii(e, t, r, n, i, o, s = null, a = [-1]) {
628
628
  const l = He;
@@ -875,7 +875,7 @@ class si {
875
875
  * @returns {() => void}
876
876
  */
877
877
  $on(t, r) {
878
- if (!ae(r))
878
+ if (!ue(r))
879
879
  return N;
880
880
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
881
881
  return n.push(r), () => {
@@ -893,7 +893,7 @@ class si {
893
893
  }
894
894
  const ai = "4";
895
895
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ai);
896
- const fe = [];
896
+ const pe = [];
897
897
  function ui(e, t) {
898
898
  return {
899
899
  subscribe: ct(e, t).subscribe
@@ -904,13 +904,13 @@ function ct(e, t = N) {
904
904
  const n = /* @__PURE__ */ new Set();
905
905
  function i(a) {
906
906
  if (Vr(e, a) && (e = a, r)) {
907
- const l = !fe.length;
907
+ const l = !pe.length;
908
908
  for (const u of n)
909
- u[1](), fe.push(u, e);
909
+ u[1](), pe.push(u, e);
910
910
  if (l) {
911
- for (let u = 0; u < fe.length; u += 2)
912
- fe[u][0](fe[u + 1]);
913
- fe.length = 0;
911
+ for (let u = 0; u < pe.length; u += 2)
912
+ pe[u][0](pe[u + 1]);
913
+ pe.length = 0;
914
914
  }
915
915
  }
916
916
  }
@@ -925,7 +925,7 @@ function ct(e, t = N) {
925
925
  }
926
926
  return { set: i, update: o, subscribe: s };
927
927
  }
928
- function _e(e, t, r) {
928
+ function Ee(e, t, r) {
929
929
  const n = !Array.isArray(e), i = n ? [e] : e;
930
930
  if (!i.every(Boolean))
931
931
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -939,12 +939,12 @@ function _e(e, t, r) {
939
939
  return;
940
940
  f();
941
941
  const p = t(n ? u[0] : u, s, a);
942
- o ? s(p) : f = ae(p) ? p : N;
942
+ o ? s(p) : f = ue(p) ? p : N;
943
943
  }, b = i.map(
944
944
  (p, d) => Vt(
945
945
  p,
946
- (y) => {
947
- u[d] = y, c &= ~(1 << d), l && h();
946
+ (v) => {
947
+ u[d] = v, c &= ~(1 << d), l && h();
948
948
  },
949
949
  () => {
950
950
  c |= 1 << d;
@@ -978,7 +978,7 @@ function bi(e) {
978
978
  return Array.isArray(e) ? [] : {};
979
979
  }
980
980
  function Pe(e, t) {
981
- return t.clone !== !1 && t.isMergeableObject(e) ? be(bi(e), e, t) : e;
981
+ return t.clone !== !1 && t.isMergeableObject(e) ? ge(bi(e), e, t) : e;
982
982
  }
983
983
  function gi(e, t, r) {
984
984
  return e.concat(t).map(function(n) {
@@ -987,9 +987,9 @@ function gi(e, t, r) {
987
987
  }
988
988
  function yi(e, t) {
989
989
  if (!t.customMerge)
990
- return be;
990
+ return ge;
991
991
  var r = t.customMerge(e);
992
- return typeof r == "function" ? r : be;
992
+ return typeof r == "function" ? r : ge;
993
993
  }
994
994
  function vi(e) {
995
995
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -1017,19 +1017,19 @@ function Ei(e, t, r) {
1017
1017
  _i(e, i) || (en(e, i) && r.isMergeableObject(t[i]) ? n[i] = yi(i, r)(e[i], t[i], r) : n[i] = Pe(t[i], r));
1018
1018
  }), n;
1019
1019
  }
1020
- function be(e, t, r) {
1020
+ function ge(e, t, r) {
1021
1021
  r = r || {}, r.arrayMerge = r.arrayMerge || gi, r.isMergeableObject = r.isMergeableObject || ci, r.cloneUnlessOtherwiseSpecified = Pe;
1022
1022
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1023
1023
  return o ? n ? r.arrayMerge(e, t, r) : Ei(e, t, r) : Pe(t, r);
1024
1024
  }
1025
- be.all = function(t, r) {
1025
+ ge.all = function(t, r) {
1026
1026
  if (!Array.isArray(t))
1027
1027
  throw new Error("first argument should be an array");
1028
1028
  return t.reduce(function(n, i) {
1029
- return be(n, i, r);
1029
+ return ge(n, i, r);
1030
1030
  }, {});
1031
1031
  };
1032
- var xi = be, wi = xi;
1032
+ var xi = ge, wi = xi;
1033
1033
  const Si = /* @__PURE__ */ li(wi);
1034
1034
  var Ct = function(e, t) {
1035
1035
  return Ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -1139,10 +1139,10 @@ var H;
1139
1139
  (function(e) {
1140
1140
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1141
1141
  })(H || (H = {}));
1142
- var ge;
1142
+ var ye;
1143
1143
  (function(e) {
1144
1144
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1145
- })(ge || (ge = {}));
1145
+ })(ye || (ye = {}));
1146
1146
  function dr(e) {
1147
1147
  return e.type === H.literal;
1148
1148
  }
@@ -1171,10 +1171,10 @@ function ln(e) {
1171
1171
  return e.type === H.tag;
1172
1172
  }
1173
1173
  function cn(e) {
1174
- return !!(e && typeof e == "object" && e.type === ge.number);
1174
+ return !!(e && typeof e == "object" && e.type === ye.number);
1175
1175
  }
1176
1176
  function Mt(e) {
1177
- return !!(e && typeof e == "object" && e.type === ge.dateTime);
1177
+ return !!(e && typeof e == "object" && e.type === ye.dateTime);
1178
1178
  }
1179
1179
  var hn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1180
1180
  function Di(e) {
@@ -3255,20 +3255,20 @@ var io = (
3255
3255
  return p;
3256
3256
  var d = S(i, this.clonePosition());
3257
3257
  if (u && yr(u == null ? void 0 : u.style, "::", 0)) {
3258
- var y = ro(u.style.slice(2));
3258
+ var v = ro(u.style.slice(2));
3259
3259
  if (a === "number") {
3260
- var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
3260
+ var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
3261
3261
  return f.err ? f : {
3262
3262
  val: { type: H.number, value: n, location: d, style: f.val },
3263
3263
  err: null
3264
3264
  };
3265
3265
  } else {
3266
- if (y.length === 0)
3266
+ if (v.length === 0)
3267
3267
  return this.error(w.EXPECT_DATE_TIME_SKELETON, d);
3268
- var _ = y;
3269
- this.locale && (_ = ki(y, this.locale));
3268
+ var _ = v;
3269
+ this.locale && (_ = ki(v, this.locale));
3270
3270
  var h = {
3271
- type: ge.dateTime,
3271
+ type: ye.dateTime,
3272
3272
  pattern: _,
3273
3273
  location: u.styleLocation,
3274
3274
  parsedOptions: this.shouldParseSkeletons ? Di(_) : {}
@@ -3296,17 +3296,17 @@ var io = (
3296
3296
  if (this.bumpSpace(), !this.bumpIf(","))
3297
3297
  return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, S(E, st({}, E)));
3298
3298
  this.bumpSpace();
3299
- var g = this.parseIdentifierIfPossible(), T = 0;
3300
- if (a !== "select" && g.value === "offset") {
3299
+ var y = this.parseIdentifierIfPossible(), T = 0;
3300
+ if (a !== "select" && y.value === "offset") {
3301
3301
  if (!this.bumpIf(":"))
3302
3302
  return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3303
3303
  this.bumpSpace();
3304
3304
  var f = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3305
3305
  if (f.err)
3306
3306
  return f;
3307
- this.bumpSpace(), g = this.parseIdentifierIfPossible(), T = f.val;
3307
+ this.bumpSpace(), y = this.parseIdentifierIfPossible(), T = f.val;
3308
3308
  }
3309
- var A = this.tryParsePluralOrSelectOptions(t, a, r, g);
3309
+ var A = this.tryParsePluralOrSelectOptions(t, a, r, y);
3310
3310
  if (A.err)
3311
3311
  return A;
3312
3312
  var p = this.tryParseArgumentClose(i);
@@ -3382,7 +3382,7 @@ var io = (
3382
3382
  }
3383
3383
  return {
3384
3384
  val: {
3385
- type: ge.number,
3385
+ type: ye.number,
3386
3386
  tokens: n,
3387
3387
  location: r,
3388
3388
  parsedOptions: this.shouldParseSkeletons ? ji(n) : {}
@@ -3532,10 +3532,10 @@ function uo(e, t) {
3532
3532
  }
3533
3533
  return t != null && t.captureLocation || Nt(r.val), r.val;
3534
3534
  }
3535
- var ye;
3535
+ var ve;
3536
3536
  (function(e) {
3537
3537
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3538
- })(ye || (ye = {}));
3538
+ })(ve || (ve = {}));
3539
3539
  var ft = (
3540
3540
  /** @class */
3541
3541
  function(e) {
@@ -3553,7 +3553,7 @@ var ft = (
3553
3553
  function(e) {
3554
3554
  ht(t, e);
3555
3555
  function t(r, n, i, o) {
3556
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ye.INVALID_VALUE, o) || this;
3556
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ve.INVALID_VALUE, o) || this;
3557
3557
  }
3558
3558
  return t;
3559
3559
  }(ft)
@@ -3562,7 +3562,7 @@ var ft = (
3562
3562
  function(e) {
3563
3563
  ht(t, e);
3564
3564
  function t(r, n, i) {
3565
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ye.INVALID_VALUE, i) || this;
3565
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ve.INVALID_VALUE, i) || this;
3566
3566
  }
3567
3567
  return t;
3568
3568
  }(ft)
@@ -3571,18 +3571,18 @@ var ft = (
3571
3571
  function(e) {
3572
3572
  ht(t, e);
3573
3573
  function t(r, n) {
3574
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ye.MISSING_VALUE, n) || this;
3574
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ve.MISSING_VALUE, n) || this;
3575
3575
  }
3576
3576
  return t;
3577
3577
  }(ft)
3578
- ), D;
3578
+ ), R;
3579
3579
  (function(e) {
3580
3580
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3581
- })(D || (D = {}));
3581
+ })(R || (R = {}));
3582
3582
  function ho(e) {
3583
3583
  return e.length < 2 ? e : e.reduce(function(t, r) {
3584
3584
  var n = t[t.length - 1];
3585
- return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3585
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3586
3586
  }, []);
3587
3587
  }
3588
3588
  function fo(e) {
@@ -3592,7 +3592,7 @@ function Je(e, t, r, n, i, o, s) {
3592
3592
  if (e.length === 1 && dr(e[0]))
3593
3593
  return [
3594
3594
  {
3595
- type: D.literal,
3595
+ type: R.literal,
3596
3596
  value: e[0].value
3597
3597
  }
3598
3598
  ];
@@ -3600,14 +3600,14 @@ function Je(e, t, r, n, i, o, s) {
3600
3600
  var c = u[l];
3601
3601
  if (dr(c)) {
3602
3602
  a.push({
3603
- type: D.literal,
3603
+ type: R.literal,
3604
3604
  value: c.value
3605
3605
  });
3606
3606
  continue;
3607
3607
  }
3608
3608
  if (Li(c)) {
3609
3609
  typeof o == "number" && a.push({
3610
- type: D.literal,
3610
+ type: R.literal,
3611
3611
  value: r.getNumberFormat(t).format(o)
3612
3612
  });
3613
3613
  continue;
@@ -3618,7 +3618,7 @@ function Je(e, t, r, n, i, o, s) {
3618
3618
  var h = i[f];
3619
3619
  if (Ni(c)) {
3620
3620
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3621
- type: typeof h == "string" ? D.literal : D.object,
3621
+ type: typeof h == "string" ? R.literal : R.object,
3622
3622
  value: h
3623
3623
  });
3624
3624
  continue;
@@ -3626,7 +3626,7 @@ function Je(e, t, r, n, i, o, s) {
3626
3626
  if (on(c)) {
3627
3627
  var b = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
3628
3628
  a.push({
3629
- type: D.literal,
3629
+ type: R.literal,
3630
3630
  value: r.getDateTimeFormat(t, b).format(h)
3631
3631
  });
3632
3632
  continue;
@@ -3634,7 +3634,7 @@ function Je(e, t, r, n, i, o, s) {
3634
3634
  if (sn(c)) {
3635
3635
  var b = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
3636
3636
  a.push({
3637
- type: D.literal,
3637
+ type: R.literal,
3638
3638
  value: r.getDateTimeFormat(t, b).format(h)
3639
3639
  });
3640
3640
  continue;
@@ -3642,21 +3642,21 @@ function Je(e, t, r, n, i, o, s) {
3642
3642
  if (nn(c)) {
3643
3643
  var b = typeof c.style == "string" ? n.number[c.style] : cn(c.style) ? c.style.parsedOptions : void 0;
3644
3644
  b && b.scale && (h = h * (b.scale || 1)), a.push({
3645
- type: D.literal,
3645
+ type: R.literal,
3646
3646
  value: r.getNumberFormat(t, b).format(h)
3647
3647
  });
3648
3648
  continue;
3649
3649
  }
3650
3650
  if (ln(c)) {
3651
- var p = c.children, d = c.value, y = i[d];
3652
- if (!fo(y))
3651
+ var p = c.children, d = c.value, v = i[d];
3652
+ if (!fo(v))
3653
3653
  throw new lo(d, "function", s);
3654
- var _ = Je(p, t, r, n, i, o), m = y(_.map(function(T) {
3654
+ var _ = Je(p, t, r, n, i, o), m = v(_.map(function(T) {
3655
3655
  return T.value;
3656
3656
  }));
3657
3657
  Array.isArray(m) || (m = [m]), a.push.apply(a, m.map(function(T) {
3658
3658
  return {
3659
- type: typeof T == "string" ? D.literal : D.object,
3659
+ type: typeof T == "string" ? R.literal : R.object,
3660
3660
  value: T
3661
3661
  };
3662
3662
  }));
@@ -3674,9 +3674,9 @@ function Je(e, t, r, n, i, o, s) {
3674
3674
  if (!Intl.PluralRules)
3675
3675
  throw new ft(`Intl.PluralRules is not available in this environment.
3676
3676
  Try polyfilling it using "@formatjs/intl-pluralrules"
3677
- `, ye.MISSING_INTL_API, s);
3678
- var g = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3679
- E = c.options[g] || c.options.other;
3677
+ `, ve.MISSING_INTL_API, s);
3678
+ var y = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3679
+ E = c.options[y] || c.options.other;
3680
3680
  }
3681
3681
  if (!E)
3682
3682
  throw new Er(c.value, h, Object.keys(c.options), s);
@@ -3757,7 +3757,7 @@ var yn = (
3757
3757
  if (u.length === 1)
3758
3758
  return u[0].value;
3759
3759
  var c = u.reduce(function(f, h) {
3760
- return !f.length || h.type !== D.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3760
+ return !f.length || h.type !== R.literal || typeof f[f.length - 1] != "string" ? f.push(h.value) : f[f.length - 1] += h.value, f;
3761
3761
  }, []);
3762
3762
  return c.length <= 1 ? c[0] || "" : c;
3763
3763
  }, this.formatToParts = function(l) {
@@ -3875,11 +3875,11 @@ function go(e, t) {
3875
3875
  n = void 0;
3876
3876
  return n;
3877
3877
  }
3878
- const q = {}, yo = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), vn = (e, t) => {
3878
+ const ee = {}, yo = (e, t, r) => r && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = r), r), vn = (e, t) => {
3879
3879
  if (t == null)
3880
3880
  return;
3881
- if (t in q && e in q[t])
3882
- return q[t][e];
3881
+ if (t in ee && e in ee[t])
3882
+ return ee[t][e];
3883
3883
  const r = Le(t);
3884
3884
  for (let n = 0; n < r.length; n++) {
3885
3885
  const i = r[n], o = _o(i, e);
@@ -3912,9 +3912,9 @@ function Eo(e) {
3912
3912
  }
3913
3913
  }
3914
3914
  function En(e, ...t) {
3915
- delete q[e], Ne.update((r) => (r[e] = Si.all([r[e] || {}, ...t]), r));
3915
+ delete ee[e], Ne.update((r) => (r[e] = Si.all([r[e] || {}, ...t]), r));
3916
3916
  }
3917
- _e(
3917
+ Ee(
3918
3918
  [Ne],
3919
3919
  ([e]) => Object.keys(e)
3920
3920
  );
@@ -4003,7 +4003,7 @@ function Ho({ locale: e, id: t }) {
4003
4003
  console.warn(
4004
4004
  `[svelte-i18n] The message "${t}" was not found in "${Le(
4005
4005
  e
4006
- ).join('", "')}".${at(te()) ? `
4006
+ ).join('", "')}".${at(re()) ? `
4007
4007
 
4008
4008
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
4009
4009
  );
@@ -4016,7 +4016,7 @@ const Po = {
4016
4016
  handleMissingMessage: void 0,
4017
4017
  ignoreTag: !0
4018
4018
  }, Ce = Po;
4019
- function ve() {
4019
+ function _e() {
4020
4020
  return Ce;
4021
4021
  }
4022
4022
  function Bo(e) {
@@ -4032,7 +4032,7 @@ function Bo(e) {
4032
4032
  }
4033
4033
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ho : console.warn(
4034
4034
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
4035
- )), Object.assign(Ce, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ce.formats.number, r.number), "date" in r && Object.assign(Ce.formats.date, r.date), "time" in r && Object.assign(Ce.formats.time, r.time)), ue.set(i);
4035
+ )), Object.assign(Ce, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ce.formats.number, r.number), "date" in r && Object.assign(Ce.formats.date, r.date), "time" in r && Object.assign(Ce.formats.time, r.time)), le.set(i);
4036
4036
  }
4037
4037
  const St = ct(!1);
4038
4038
  var Oo = Object.defineProperty, No = Object.defineProperties, Lo = Object.getOwnPropertyDescriptors, wr = Object.getOwnPropertySymbols, Io = Object.prototype.hasOwnProperty, Do = Object.prototype.propertyIsEnumerable, Sr = (e, t, r) => t in e ? Oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ro = (e, t) => {
@@ -4048,11 +4048,11 @@ const ut = ct(null);
4048
4048
  function Tr(e) {
4049
4049
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4050
4050
  }
4051
- function Le(e, t = ve().fallbackLocale) {
4051
+ function Le(e, t = _e().fallbackLocale) {
4052
4052
  const r = Tr(e);
4053
4053
  return t ? [.../* @__PURE__ */ new Set([...r, ...Tr(t)])] : r;
4054
4054
  }
4055
- function te() {
4055
+ function re() {
4056
4056
  return Lt != null ? Lt : void 0;
4057
4057
  }
4058
4058
  ut.subscribe((e) => {
@@ -4060,9 +4060,9 @@ ut.subscribe((e) => {
4060
4060
  });
4061
4061
  const Uo = (e) => {
4062
4062
  if (e && Eo(e) && at(e)) {
4063
- const { loadingDelay: t } = ve();
4063
+ const { loadingDelay: t } = _e();
4064
4064
  let r;
4065
- return typeof window != "undefined" && te() != null && t ? r = window.setTimeout(
4065
+ return typeof window != "undefined" && re() != null && t ? r = window.setTimeout(
4066
4066
  () => St.set(!0),
4067
4067
  t
4068
4068
  ) : St.set(!0), wn(e).then(() => {
@@ -4072,7 +4072,7 @@ const Uo = (e) => {
4072
4072
  });
4073
4073
  }
4074
4074
  return ut.set(e);
4075
- }, ue = $o(Ro({}, ut), {
4075
+ }, le = $o(Ro({}, ut), {
4076
4076
  set: Uo
4077
4077
  }), pt = (e) => {
4078
4078
  const t = /* @__PURE__ */ Object.create(null);
@@ -4088,7 +4088,7 @@ var Fo = Object.defineProperty, lt = Object.getOwnPropertySymbols, Sn = Object.p
4088
4088
  for (var r of lt(t))
4089
4089
  Tn.call(t, r) && Ar(e, r, t[r]);
4090
4090
  return e;
4091
- }, Ee = (e, t) => {
4091
+ }, xe = (e, t) => {
4092
4092
  var r = {};
4093
4093
  for (var n in e)
4094
4094
  Sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -4098,27 +4098,27 @@ var Fo = Object.defineProperty, lt = Object.getOwnPropertySymbols, Sn = Object.p
4098
4098
  return r;
4099
4099
  };
4100
4100
  const Be = (e, t) => {
4101
- const { formats: r } = ve();
4101
+ const { formats: r } = _e();
4102
4102
  if (e in r && t in r[e])
4103
4103
  return r[e][t];
4104
4104
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4105
4105
  }, Go = pt(
4106
4106
  (e) => {
4107
- var t = e, { locale: r, format: n } = t, i = Ee(t, ["locale", "format"]);
4107
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4108
4108
  if (r == null)
4109
4109
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4110
4110
  return n && (i = Be("number", n)), new Intl.NumberFormat(r, i);
4111
4111
  }
4112
4112
  ), jo = pt(
4113
4113
  (e) => {
4114
- var t = e, { locale: r, format: n } = t, i = Ee(t, ["locale", "format"]);
4114
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4115
4115
  if (r == null)
4116
4116
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4117
4117
  return n ? i = Be("date", n) : Object.keys(i).length === 0 && (i = Be("date", "short")), new Intl.DateTimeFormat(r, i);
4118
4118
  }
4119
4119
  ), ko = pt(
4120
4120
  (e) => {
4121
- var t = e, { locale: r, format: n } = t, i = Ee(t, ["locale", "format"]);
4121
+ var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
4122
4122
  if (r == null)
4123
4123
  throw new Error(
4124
4124
  '[svelte-i18n] A "locale" must be set to format time values'
@@ -4127,29 +4127,29 @@ const Be = (e, t) => {
4127
4127
  }
4128
4128
  ), Vo = (e = {}) => {
4129
4129
  var t = e, {
4130
- locale: r = te()
4131
- } = t, n = Ee(t, [
4130
+ locale: r = re()
4131
+ } = t, n = xe(t, [
4132
4132
  "locale"
4133
4133
  ]);
4134
4134
  return Go(Jt({ locale: r }, n));
4135
4135
  }, Xo = (e = {}) => {
4136
4136
  var t = e, {
4137
- locale: r = te()
4138
- } = t, n = Ee(t, [
4137
+ locale: r = re()
4138
+ } = t, n = xe(t, [
4139
4139
  "locale"
4140
4140
  ]);
4141
4141
  return jo(Jt({ locale: r }, n));
4142
4142
  }, Wo = (e = {}) => {
4143
4143
  var t = e, {
4144
- locale: r = te()
4145
- } = t, n = Ee(t, [
4144
+ locale: r = re()
4145
+ } = t, n = xe(t, [
4146
4146
  "locale"
4147
4147
  ]);
4148
4148
  return ko(Jt({ locale: r }, n));
4149
4149
  }, zo = pt(
4150
4150
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4151
- (e, t = te()) => new yn(e, t, ve().formats, {
4152
- ignoreTag: ve().ignoreTag
4151
+ (e, t = re()) => new yn(e, t, _e().formats, {
4152
+ ignoreTag: _e().ignoreTag
4153
4153
  })
4154
4154
  ), Zo = (e, t = {}) => {
4155
4155
  var r, n, i, o;
@@ -4157,7 +4157,7 @@ const Be = (e, t) => {
4157
4157
  typeof e == "object" && (s = e, e = s.id);
4158
4158
  const {
4159
4159
  values: a,
4160
- locale: l = te(),
4160
+ locale: l = re(),
4161
4161
  default: u
4162
4162
  } = s;
4163
4163
  if (l == null)
@@ -4166,7 +4166,7 @@ const Be = (e, t) => {
4166
4166
  );
4167
4167
  let c = vn(e, l);
4168
4168
  if (!c)
4169
- c = (o = (i = (n = (r = ve()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4169
+ c = (o = (i = (n = (r = _e()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4170
4170
  else if (typeof c != "string")
4171
4171
  return console.warn(
4172
4172
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4183,11 +4183,11 @@ const Be = (e, t) => {
4183
4183
  );
4184
4184
  }
4185
4185
  return f;
4186
- }, Qo = (e, t) => Wo(t).format(e), Ko = (e, t) => Xo(t).format(e), Yo = (e, t) => Vo(t).format(e), Jo = (e, t = te()) => vn(e, t), qo = _e([ue, Ne], () => Zo);
4187
- _e([ue], () => Qo);
4188
- _e([ue], () => Ko);
4189
- _e([ue], () => Yo);
4190
- _e([ue, Ne], () => Jo);
4186
+ }, Qo = (e, t) => Wo(t).format(e), Ko = (e, t) => Xo(t).format(e), Yo = (e, t) => Vo(t).format(e), Jo = (e, t = re()) => vn(e, t), qo = Ee([le, Ne], () => Zo);
4187
+ Ee([le], () => Qo);
4188
+ Ee([le], () => Ko);
4189
+ Ee([le], () => Yo);
4190
+ Ee([le, Ne], () => Jo);
4191
4191
  /*! *****************************************************************************
4192
4192
  Copyright (c) Microsoft Corporation.
4193
4193
 
@@ -5062,7 +5062,7 @@ function Ir(e, t) {
5062
5062
  function ys(e) {
5063
5063
  Bo({
5064
5064
  fallbackLocale: "en"
5065
- }), ue.set(e);
5065
+ }), le.set(e);
5066
5066
  }
5067
5067
  const Dr = {
5068
5068
  en: {
@@ -5150,12 +5150,12 @@ function Es(e) {
5150
5150
  ), p = [];
5151
5151
  for (let m = 0; m < b.length; m += 1)
5152
5152
  p[m] = Fr($r(e, b, m));
5153
- let d = s && Gr(e), y = Xe(Array(
5153
+ let d = s && Gr(e), v = Xe(Array(
5154
5154
  /*promotedPaymentMethods*/
5155
5155
  e[5].length
5156
5156
  )), _ = [];
5157
- for (let m = 0; m < y.length; m += 1)
5158
- _[m] = jr(Rr(e, y, m));
5157
+ for (let m = 0; m < v.length; m += 1)
5158
+ _[m] = jr(Rr(e, v, m));
5159
5159
  return {
5160
5160
  c() {
5161
5161
  t = M("div"), h && h.c(), n = j(), i = M("div");
@@ -5164,36 +5164,36 @@ function Es(e) {
5164
5164
  o = j(), d && d.c(), l = j(), u = M("div");
5165
5165
  for (let m = 0; m < _.length; m += 1)
5166
5166
  _[m].c();
5167
- P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), se(() => (
5167
+ P(i, "class", "Carousel"), P(t, "class", "CarouselCardsContainer"), ae(() => (
5168
5168
  /*div1_elementresize_handler*/
5169
5169
  e[28].call(t)
5170
5170
  )), P(u, "class", "VisualDotIndicator");
5171
5171
  },
5172
5172
  m(m, E) {
5173
5173
  W(m, t, E), h && h.m(t, null), x(t, n), x(t, i);
5174
- for (let g = 0; g < p.length; g += 1)
5175
- p[g] && p[g].m(i, null);
5174
+ for (let y = 0; y < p.length; y += 1)
5175
+ p[y] && p[y].m(i, null);
5176
5176
  e[26](i), x(t, o), d && d.m(t, null), a = Wn(
5177
5177
  t,
5178
5178
  /*div1_elementresize_handler*/
5179
5179
  e[28].bind(t)
5180
5180
  ), W(m, l, E), W(m, u, E);
5181
- for (let g = 0; g < _.length; g += 1)
5182
- _[g] && _[g].m(u, null);
5181
+ for (let y = 0; y < _.length; y += 1)
5182
+ _[y] && _[y].m(u, null);
5183
5183
  c || (f = [
5184
- ee(
5184
+ te(
5185
5185
  i,
5186
5186
  "touchstart",
5187
5187
  /*handleTouchStart*/
5188
5188
  e[11]
5189
5189
  ),
5190
- ee(
5190
+ te(
5191
5191
  i,
5192
5192
  "touchmove",
5193
5193
  /*handleTouchMove*/
5194
5194
  e[12]
5195
5195
  ),
5196
- ee(
5196
+ te(
5197
5197
  i,
5198
5198
  "touchend",
5199
5199
  /*handleTouchEnd*/
@@ -5213,13 +5213,13 @@ function Es(e) {
5213
5213
  /*promotedPaymentMethods*/
5214
5214
  m[5]
5215
5215
  );
5216
- let g;
5217
- for (g = 0; g < b.length; g += 1) {
5218
- const T = $r(m, b, g);
5219
- p[g] ? p[g].p(T, E) : (p[g] = Fr(T), p[g].c(), p[g].m(i, null));
5216
+ let y;
5217
+ for (y = 0; y < b.length; y += 1) {
5218
+ const T = $r(m, b, y);
5219
+ p[y] ? p[y].p(T, E) : (p[y] = Fr(T), p[y].c(), p[y].m(i, null));
5220
5220
  }
5221
- for (; g < p.length; g += 1)
5222
- p[g].d(1);
5221
+ for (; y < p.length; y += 1)
5222
+ p[y].d(1);
5223
5223
  p.length = b.length;
5224
5224
  }
5225
5225
  if (E[0] & /*promotedPaymentMethods*/
@@ -5229,18 +5229,18 @@ function Es(e) {
5229
5229
  ) && /*promotedPaymentMethods*/
5230
5230
  m[5].length > 1), s ? d ? d.p(m, E) : (d = Gr(m), d.c(), d.m(t, null)) : d && (d.d(1), d = null), E[0] & /*activeIndex, promotedPaymentMethods*/
5231
5231
  96) {
5232
- y = Xe(Array(
5232
+ v = Xe(Array(
5233
5233
  /*promotedPaymentMethods*/
5234
5234
  m[5].length
5235
5235
  ));
5236
- let g;
5237
- for (g = 0; g < y.length; g += 1) {
5238
- const T = Rr(m, y, g);
5239
- _[g] ? _[g].p(T, E) : (_[g] = jr(T), _[g].c(), _[g].m(u, null));
5236
+ let y;
5237
+ for (y = 0; y < v.length; y += 1) {
5238
+ const T = Rr(m, v, y);
5239
+ _[y] ? _[y].p(T, E) : (_[y] = jr(T), _[y].c(), _[y].m(u, null));
5240
5240
  }
5241
- for (; g < _.length; g += 1)
5242
- _[g].d(1);
5243
- _.length = y.length;
5241
+ for (; y < _.length; y += 1)
5242
+ _[y].d(1);
5243
+ _.length = v.length;
5244
5244
  }
5245
5245
  },
5246
5246
  d(m) {
@@ -5255,7 +5255,7 @@ function Ur(e) {
5255
5255
  t = M("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', P(t, "class", "NavigationArrow Left");
5256
5256
  },
5257
5257
  m(i, o) {
5258
- W(i, t, o), r || (n = ee(
5258
+ W(i, t, o), r || (n = te(
5259
5259
  t,
5260
5260
  "click",
5261
5261
  /*click_handler*/
@@ -5269,7 +5269,7 @@ function Ur(e) {
5269
5269
  };
5270
5270
  }
5271
5271
  function Fr(e) {
5272
- var Ue, Fe, Ge, v, O, R, Se, ce;
5272
+ var Ue, Fe, Ge, g, O, D, q, he;
5273
5273
  let t, r, n, i, o, s, a, l, u, c = (
5274
5274
  /*method*/
5275
5275
  (e[43].Label || /*method*/
@@ -5279,7 +5279,7 @@ function Fr(e) {
5279
5279
  e[8](`${/*methodtype*/
5280
5280
  e[0]}${/*method*/
5281
5281
  e[43].ProcessingTime}`) + ""
5282
- ), y, _, m, E, g, T = (
5282
+ ), v, _, m, E, y, T = (
5283
5283
  /*$_*/
5284
5284
  e[8]("generalMin") + ""
5285
5285
  ), A, C, L = Ze(
@@ -5300,15 +5300,15 @@ function Fr(e) {
5300
5300
  /*precisionCurrenciesMap*/
5301
5301
  e[4][
5302
5302
  /*method*/
5303
- (v = (Ge = e[43]) == null ? void 0 : Ge.DisplayCurrency) == null ? void 0 : v.Name
5303
+ (g = (Ge = e[43]) == null ? void 0 : Ge.DisplayCurrency) == null ? void 0 : g.Name
5304
5304
  ] || /*numericCurrencyDecimals*/
5305
5305
  e[7]
5306
5306
  )
5307
5307
  }
5308
- ) + "", I, Z, re, ne = (
5308
+ ) + "", I, Z, ne, ie = (
5309
5309
  /*$_*/
5310
5310
  e[8]("generalMax") + ""
5311
- ), Q, De, le = Ze(
5311
+ ), Q, De, ce = Ze(
5312
5312
  /*method*/
5313
5313
  e[43].DisplayCurrency.MaxAmountLimit,
5314
5314
  /*method*/
@@ -5318,7 +5318,7 @@ function Fr(e) {
5318
5318
  /*precisionCurrenciesMap*/
5319
5319
  e[4][
5320
5320
  /*method*/
5321
- (R = (O = e[43]) == null ? void 0 : O.DisplayCurrency) == null ? void 0 : R.Name
5321
+ (D = (O = e[43]) == null ? void 0 : O.DisplayCurrency) == null ? void 0 : D.Name
5322
5322
  ] || /*numericCurrencyDecimals*/
5323
5323
  e[7]
5324
5324
  ),
@@ -5326,12 +5326,12 @@ function Fr(e) {
5326
5326
  /*precisionCurrenciesMap*/
5327
5327
  e[4][
5328
5328
  /*method*/
5329
- (ce = (Se = e[43]) == null ? void 0 : Se.DisplayCurrency) == null ? void 0 : ce.Name
5329
+ (he = (q = e[43]) == null ? void 0 : q.DisplayCurrency) == null ? void 0 : he.Name
5330
5330
  ] || /*numericCurrencyDecimals*/
5331
5331
  e[7]
5332
5332
  )
5333
5333
  }
5334
- ) + "", xe, Re, J, we, $e;
5334
+ ) + "", we, Re, J, Se, $e;
5335
5335
  function mt() {
5336
5336
  return (
5337
5337
  /*click_handler_1*/
@@ -5345,18 +5345,18 @@ function Fr(e) {
5345
5345
  }
5346
5346
  return {
5347
5347
  c() {
5348
- t = M("div"), r = M("div"), n = M("img"), s = j(), a = M("div"), l = M("div"), u = M("span"), f = k(c), h = j(), b = M("div"), p = M("span"), y = k(d), _ = j(), m = M("div"), E = M("span"), g = M("span"), A = k(T), C = j(), I = k(L), Z = j(), re = M("span"), Q = k(ne), De = j(), xe = k(le), Re = j(), cr(n.src, i = /*method*/
5348
+ t = M("div"), r = M("div"), n = M("img"), s = j(), a = M("div"), l = M("div"), u = M("span"), f = k(c), h = j(), b = M("div"), p = M("span"), v = k(d), _ = j(), m = M("div"), E = M("span"), y = M("span"), A = k(T), C = j(), I = k(L), Z = j(), ne = M("span"), Q = k(ie), De = j(), we = k(ce), Re = j(), cr(n.src, i = /*method*/
5349
5349
  e[43].LogoUrl) || P(n, "src", i), P(n, "alt", o = /*method*/
5350
5350
  e[43].Label), P(r, "class", "MethodLogo"), P(l, "class", "MethodTitle"), P(b, "class", "MethodProcessingTime"), P(E, "class", "Limits"), P(m, "class", "MethodLimits"), P(a, "class", "MethodInfo"), P(t, "class", J = `CarouselCardWrapper ${/*index*/
5351
5351
  e[42] === /*activeIndex*/
5352
5352
  e[6] ? "active" : ""}`);
5353
5353
  },
5354
- m(ie, $) {
5355
- W(ie, t, $), x(t, r), x(r, n), x(t, s), x(t, a), x(a, l), x(l, u), x(u, f), x(a, h), x(a, b), x(b, p), x(p, y), x(a, _), x(a, m), x(m, E), x(E, g), x(g, A), x(g, C), x(g, I), x(E, Z), x(E, re), x(re, Q), x(re, De), x(re, xe), x(t, Re), we || ($e = ee(t, "click", mt), we = !0);
5354
+ m(oe, $) {
5355
+ W(oe, t, $), x(t, r), x(r, n), x(t, s), x(t, a), x(a, l), x(l, u), x(u, f), x(a, h), x(a, b), x(b, p), x(p, v), x(a, _), x(a, m), x(m, E), x(E, y), x(y, A), x(y, C), x(y, I), x(E, Z), x(E, ne), x(ne, Q), x(ne, De), x(ne, we), x(t, Re), Se || ($e = te(t, "click", mt), Se = !0);
5356
5356
  },
5357
- p(ie, $) {
5357
+ p(oe, $) {
5358
5358
  var bt, qt, er, tr, rr, nr, ir, or;
5359
- e = ie, $[0] & /*promotedPaymentMethods*/
5359
+ e = oe, $[0] & /*promotedPaymentMethods*/
5360
5360
  32 && !cr(n.src, i = /*method*/
5361
5361
  e[43].LogoUrl) && P(n, "src", i), $[0] & /*promotedPaymentMethods*/
5362
5362
  32 && o !== (o = /*method*/
@@ -5367,7 +5367,7 @@ function Fr(e) {
5367
5367
  289 && d !== (d = /*$_*/
5368
5368
  e[8](`${/*methodtype*/
5369
5369
  e[0]}${/*method*/
5370
- e[43].ProcessingTime}`) + "") && K(y, d), $[0] & /*$_*/
5370
+ e[43].ProcessingTime}`) + "") && K(v, d), $[0] & /*$_*/
5371
5371
  256 && T !== (T = /*$_*/
5372
5372
  e[8]("generalMin") + "") && K(A, T), $[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
5373
5373
  176 && L !== (L = Ze(
@@ -5394,9 +5394,9 @@ function Fr(e) {
5394
5394
  )
5395
5395
  }
5396
5396
  ) + "") && K(I, L), $[0] & /*$_*/
5397
- 256 && ne !== (ne = /*$_*/
5398
- e[8]("generalMax") + "") && K(Q, ne), $[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
5399
- 176 && le !== (le = Ze(
5397
+ 256 && ie !== (ie = /*$_*/
5398
+ e[8]("generalMax") + "") && K(Q, ie), $[0] & /*promotedPaymentMethods, precisionCurrenciesMap, numericCurrencyDecimals*/
5399
+ 176 && ce !== (ce = Ze(
5400
5400
  /*method*/
5401
5401
  e[43].DisplayCurrency.MaxAmountLimit,
5402
5402
  /*method*/
@@ -5419,13 +5419,13 @@ function Fr(e) {
5419
5419
  e[7]
5420
5420
  )
5421
5421
  }
5422
- ) + "") && K(xe, le), $[0] & /*activeIndex*/
5422
+ ) + "") && K(we, ce), $[0] & /*activeIndex*/
5423
5423
  64 && J !== (J = `CarouselCardWrapper ${/*index*/
5424
5424
  e[42] === /*activeIndex*/
5425
5425
  e[6] ? "active" : ""}`) && P(t, "class", J);
5426
5426
  },
5427
- d(ie) {
5428
- ie && U(t), we = !1, $e();
5427
+ d(oe) {
5428
+ oe && U(t), Se = !1, $e();
5429
5429
  }
5430
5430
  };
5431
5431
  }
@@ -5436,7 +5436,7 @@ function Gr(e) {
5436
5436
  t = M("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', P(t, "class", "NavigationArrow Right");
5437
5437
  },
5438
5438
  m(i, o) {
5439
- W(i, t, o), r || (n = ee(
5439
+ W(i, t, o), r || (n = te(
5440
5440
  t,
5441
5441
  "click",
5442
5442
  /*click_handler_2*/
@@ -5479,7 +5479,7 @@ function xs(e) {
5479
5479
  /*$_*/
5480
5480
  e[8]("carouselSubtitle") + ""
5481
5481
  ), c, f;
5482
- function h(d, y) {
5482
+ function h(d, v) {
5483
5483
  return (
5484
5484
  /*promotedPaymentMethods*/
5485
5485
  d[5].length > 0 ? Es : _s
@@ -5490,15 +5490,15 @@ function xs(e) {
5490
5490
  c() {
5491
5491
  t = M("div"), r = M("div"), n = M("div"), i = M("h4"), s = k(o), a = j(), l = M("p"), c = k(u), f = j(), p.c(), P(n, "class", "CarouselHeader"), P(r, "class", "CashierCarouselWarpper");
5492
5492
  },
5493
- m(d, y) {
5494
- W(d, t, y), x(t, r), x(r, n), x(n, i), x(i, s), x(n, a), x(n, l), x(l, c), x(r, f), p.m(r, null), e[29](t);
5493
+ m(d, v) {
5494
+ W(d, t, v), x(t, r), x(r, n), x(n, i), x(i, s), x(n, a), x(n, l), x(l, c), x(r, f), p.m(r, null), e[29](t);
5495
5495
  },
5496
- p(d, y) {
5497
- y[0] & /*$_*/
5496
+ p(d, v) {
5497
+ v[0] & /*$_*/
5498
5498
  256 && o !== (o = /*$_*/
5499
- d[8]("carouselTitle") + "") && K(s, o), y[0] & /*$_*/
5499
+ d[8]("carouselTitle") + "") && K(s, o), v[0] & /*$_*/
5500
5500
  256 && u !== (u = /*$_*/
5501
- d[8]("carouselSubtitle") + "") && K(c, u), b === (b = h(d)) && p ? p.p(d, y) : (p.d(1), p = b(d), p && (p.c(), p.m(r, null)));
5501
+ d[8]("carouselSubtitle") + "") && K(c, u), b === (b = h(d)) && p ? p.p(d, v) : (p.d(1), p = b(d), p && (p.c(), p.m(r, null)));
5502
5502
  },
5503
5503
  i: N,
5504
5504
  o: N,
@@ -5509,41 +5509,42 @@ function xs(e) {
5509
5509
  }
5510
5510
  function ws(e, t, r) {
5511
5511
  let n, i;
5512
- Gn(e, qo, (v) => r(8, i = v));
5513
- let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "2" } = t, { methodtype: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: b = "" } = t, { translationurl: p = "" } = t, d = {}, y, _ = [], m = 0, E = !0, g = 0, T = !1, A, C, L = window.navigator.userAgent;
5514
- const I = (v) => {
5515
- const { data: { type: O } = {} } = v || {};
5512
+ Gn(e, qo, (g) => r(8, i = g));
5513
+ let { lang: o = "en" } = t, { local: s = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: l = "" } = t, { currencydecimals: u = "2" } = t, { methodtype: c = "" } = t, { clientstyling: f = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: b = "" } = t, { translationurl: p = "" } = t, d = {}, v, _ = [], m = 0, E = !0, y = 0, T = !1, A, C, L = window.navigator.userAgent;
5514
+ const I = (g) => {
5515
+ var D, q;
5516
+ const { data: { type: O } = {} } = g || {};
5516
5517
  switch (O) {
5517
5518
  case "PromotedPaymentMethods": {
5518
- r(5, _ = v.data.promotedPaymentMethods), r(6, m = Math.floor((_.length - 1) / 2));
5519
+ r(5, _ = (D = g == null ? void 0 : g.data) == null ? void 0 : D.promotedPaymentMethods), r(6, m = Math.floor((_.length - 1) / 2));
5519
5520
  break;
5520
5521
  }
5521
5522
  case "PrecisionCurrenciesMap": {
5522
- r(4, d = v.data.payload || {});
5523
+ r(4, d = ((q = g == null ? void 0 : g.data) == null ? void 0 : q.payload) || {});
5523
5524
  break;
5524
5525
  }
5525
5526
  }
5526
5527
  };
5527
- Object.keys(Dr).forEach((v) => {
5528
- Ir(v, Dr[v]);
5528
+ Object.keys(Dr).forEach((g) => {
5529
+ Ir(g, Dr[g]);
5529
5530
  });
5530
5531
  const Z = () => {
5531
- let v = p;
5532
- if (v)
5533
- return fetch(v).then((O) => O.json()).then((O) => {
5534
- Object.keys(O).forEach((R) => {
5535
- Ir(R, O[R]);
5532
+ let g = p;
5533
+ if (g)
5534
+ return fetch(g).then((O) => O.json()).then((O) => {
5535
+ Object.keys(O).forEach((D) => {
5536
+ Ir(D, O[D]);
5536
5537
  });
5537
5538
  }).catch((O) => {
5538
5539
  console.log(O);
5539
5540
  });
5540
- }, re = () => {
5541
+ }, ne = () => {
5541
5542
  ys(o);
5542
- }, ne = (v, O) => {
5543
- r(6, m = O), r(2, A.style.transform = Q(), A), v.Name, window.postMessage({ type: "SelectPayMeth", details: v }, window.location.href), dispatchEvent(new CustomEvent(
5543
+ }, ie = (g, O) => {
5544
+ r(6, m = O), r(2, A.style.transform = Q(), A), g.Name, window.postMessage({ type: "SelectPayMeth", details: g }, window.location.href), dispatchEvent(new CustomEvent(
5544
5545
  "selectPayMeth",
5545
5546
  {
5546
- detail: v,
5547
+ detail: g,
5547
5548
  bubbles: !0,
5548
5549
  cancelable: !0,
5549
5550
  composed: !0
@@ -5552,62 +5553,62 @@ function ws(e, t, r) {
5552
5553
  }, Q = () => {
5553
5554
  if (_.length == 1)
5554
5555
  return "translateX(0px)";
5555
- const R = 160 + 5, Se = R * _.length;
5556
- let ce;
5557
- _.length % 2 === 1 ? ce = Math.floor(_.length / 2) : ce = Math.floor(_.length / 2) - 0.5;
5558
- let ie = C - Se;
5559
- const $ = ce - m;
5560
- return `translateX(${ie / 2 + $ * R - 20}px)`;
5561
- }, De = (v) => {
5562
- g = v.touches[0].clientX, T = !0, A.classList.add("dragging");
5563
- }, le = (v) => {
5556
+ const D = 160 + 5, q = D * _.length;
5557
+ let he;
5558
+ _.length % 2 === 1 ? he = Math.floor(_.length / 2) : he = Math.floor(_.length / 2) - 0.5;
5559
+ let oe = C - q;
5560
+ const $ = he - m;
5561
+ return `translateX(${oe / 2 + $ * D - 20}px)`;
5562
+ }, De = (g) => {
5563
+ y = g.touches[0].clientX, T = !0, A.classList.add("dragging");
5564
+ }, ce = (g) => {
5564
5565
  if (!T)
5565
5566
  return;
5566
- const O = v.touches[0].clientX;
5567
- Math.abs(O - g) > 10 && v.preventDefault();
5568
- }, xe = (v) => {
5567
+ const O = g.touches[0].clientX;
5568
+ Math.abs(O - y) > 10 && g.preventDefault();
5569
+ }, we = (g) => {
5569
5570
  if (!T)
5570
5571
  return;
5571
5572
  T = !1, A.classList.remove("dragging");
5572
- const O = v.changedTouches[0].clientX, R = g - O;
5573
- Math.abs(R) > 50 && (R > 0 && m < _.length - 1 ? r(6, m++, m) : R < 0 && m > 0 && r(6, m--, m), r(2, A.style.transform = Q(), A));
5573
+ const O = g.changedTouches[0].clientX, D = y - O;
5574
+ Math.abs(D) > 50 && (D > 0 && m < _.length - 1 ? r(6, m++, m) : D < 0 && m > 0 && r(6, m--, m), r(2, A.style.transform = Q(), A));
5574
5575
  }, Re = () => {
5575
5576
  E && (r(2, A.style.transform = Q(), A), E = !1);
5576
- }, J = (v) => {
5577
- v === "next" && m < _.length - 1 ? r(6, m++, m) : v === "prev" && m > 0 && r(6, m--, m), r(2, A.style.transform = Q(), A);
5577
+ }, J = (g) => {
5578
+ g === "next" && m < _.length - 1 ? r(6, m++, m) : g === "prev" && m > 0 && r(6, m--, m), r(2, A.style.transform = Q(), A);
5578
5579
  };
5579
5580
  Jn(() => (ds(s, a, l, u), window.addEventListener("message", I), window.postMessage({ type: "CashierCarouselReady" }, window.location.href), A && Q(), () => {
5580
5581
  window.removeEventListener("message", I);
5581
5582
  }));
5582
- const we = () => J("prev"), $e = (v, O) => ne(v, O);
5583
- function mt(v) {
5584
- ot[v ? "unshift" : "push"](() => {
5585
- A = v, r(2, A);
5583
+ const Se = () => J("prev"), $e = (g, O) => ie(g, O);
5584
+ function mt(g) {
5585
+ ot[g ? "unshift" : "push"](() => {
5586
+ A = g, r(2, A);
5586
5587
  });
5587
5588
  }
5588
5589
  const Ue = () => J("next");
5589
5590
  function Fe() {
5590
5591
  C = this.clientWidth, r(3, C);
5591
5592
  }
5592
- function Ge(v) {
5593
- ot[v ? "unshift" : "push"](() => {
5594
- y = v, r(1, y);
5593
+ function Ge(g) {
5594
+ ot[g ? "unshift" : "push"](() => {
5595
+ v = g, r(1, v);
5595
5596
  });
5596
5597
  }
5597
- return e.$$set = (v) => {
5598
- "lang" in v && r(15, o = v.lang), "local" in v && r(16, s = v.local), "currencysymbol" in v && r(17, a = v.currencysymbol), "currencyposition" in v && r(18, l = v.currencyposition), "currencydecimals" in v && r(19, u = v.currencydecimals), "methodtype" in v && r(0, c = v.methodtype), "clientstyling" in v && r(20, f = v.clientstyling), "clientstylingurl" in v && r(21, h = v.clientstylingurl), "mbsource" in v && r(22, b = v.mbsource), "translationurl" in v && r(23, p = v.translationurl);
5598
+ return e.$$set = (g) => {
5599
+ "lang" in g && r(15, o = g.lang), "local" in g && r(16, s = g.local), "currencysymbol" in g && r(17, a = g.currencysymbol), "currencyposition" in g && r(18, l = g.currencyposition), "currencydecimals" in g && r(19, u = g.currencydecimals), "methodtype" in g && r(0, c = g.methodtype), "clientstyling" in g && r(20, f = g.clientstyling), "clientstylingurl" in g && r(21, h = g.clientstylingurl), "mbsource" in g && r(22, b = g.mbsource), "translationurl" in g && r(23, p = g.translationurl);
5599
5600
  }, e.$$.update = () => {
5600
5601
  e.$$.dirty[0] & /*lang*/
5601
- 32768 && o && re(), e.$$.dirty[0] & /*lang, translationurl*/
5602
+ 32768 && o && ne(), e.$$.dirty[0] & /*lang, translationurl*/
5602
5603
  8421376 && o && p && Z(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
5603
5604
  12 && A && C && Re(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5604
- 1048578 && f && y && ms(y, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5605
- 2097154 && h && y && bs(y, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5606
- 4194306 && b && y && gs(y, `${b}.Style`), e.$$.dirty[0] & /*currencydecimals*/
5605
+ 1048578 && f && v && ms(v, f), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5606
+ 2097154 && h && v && bs(v, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5607
+ 4194306 && b && v && gs(v, `${b}.Style`), e.$$.dirty[0] & /*currencydecimals*/
5607
5608
  524288 && r(7, n = Number(u));
5608
5609
  }, [
5609
5610
  c,
5610
- y,
5611
+ v,
5611
5612
  A,
5612
5613
  C,
5613
5614
  d,
@@ -5616,10 +5617,10 @@ function ws(e, t, r) {
5616
5617
  n,
5617
5618
  i,
5618
5619
  L,
5619
- ne,
5620
+ ie,
5620
5621
  De,
5621
- le,
5622
- xe,
5622
+ ce,
5623
+ we,
5623
5624
  J,
5624
5625
  o,
5625
5626
  s,
@@ -5630,7 +5631,7 @@ function ws(e, t, r) {
5630
5631
  h,
5631
5632
  b,
5632
5633
  p,
5633
- we,
5634
+ Se,
5634
5635
  $e,
5635
5636
  mt,
5636
5637
  Ue,
@@ -5729,7 +5730,7 @@ const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5729
5730
  default: Nn
5730
5731
  }, Symbol.toStringTag, { value: "Module" }));
5731
5732
  export {
5732
- ue as $,
5733
+ le as $,
5733
5734
  Rs as A,
5734
5735
  ms as B,
5735
5736
  bs as C,
@@ -5741,7 +5742,7 @@ export {
5741
5742
  li as I,
5742
5743
  ea as J,
5743
5744
  Ts as K,
5744
- se as L,
5745
+ ae as L,
5745
5746
  Os as M,
5746
5747
  Qe as N,
5747
5748
  ds as O,
@@ -5769,7 +5770,7 @@ export {
5769
5770
  Wn as a8,
5770
5771
  Bs as a9,
5771
5772
  Ds as aa,
5772
- ae as ab,
5773
+ ue as ab,
5773
5774
  kt as ac,
5774
5775
  Qs as ad,
5775
5776
  Zs as ae,
@@ -5802,7 +5803,7 @@ export {
5802
5803
  Ms as u,
5803
5804
  K as v,
5804
5805
  k as w,
5805
- ee as x,
5806
+ te as x,
5806
5807
  ot as y,
5807
5808
  cr as z
5808
5809
  };