@everymatrix/cashier-page-nd 1.69.112 → 1.69.113

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 (63) hide show
  1. package/components/{CashierCarousel-D77wRYrP.js → CashierCarousel-2AotVxhB.js} +164 -160
  2. package/components/CashierCarousel-Bmkxhtnm.cjs +23 -0
  3. package/components/{CashierCarousel-8HuPK_WY.js → CashierCarousel-Cm5G9dJd.js} +171 -167
  4. package/components/{CashierError-Dnk0H5ib.js → CashierError-BkWwLoWt.js} +1 -1
  5. package/components/{CashierError-DFOslnwl.js → CashierError-CO7-9OnG.js} +1 -1
  6. package/components/{CashierError-BJv9Ma-S.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
  7. package/components/{CashierHeader-Dr5EUw02.js → CashierHeader-BOEVulz3.js} +1 -1
  8. package/components/{CashierHeader-C4luE8Rt.js → CashierHeader-CTZl2NGQ.js} +1 -1
  9. package/components/{CashierHeader-D_pRK2ix.cjs → CashierHeader-D40gryOj.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-CiTWXkv1.cjs → CashierIframeRedirect-BKExS9o2.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-DAAmzCia.js → CashierIframeRedirect-CFYNnH6I.js} +3 -3
  12. package/components/{CashierIframeRedirect-C2UPjyTE.js → CashierIframeRedirect-DCJH25FN.js} +3 -3
  13. package/components/{CashierMethodDetails-BcL5uTl0.cjs → CashierMethodDetails-B9yThWJd.cjs} +4 -4
  14. package/components/{CashierMethodDetails-CxzHJpNT.js → CashierMethodDetails-BvIuXYaF.js} +541 -537
  15. package/components/{CashierMethodDetails-C_ILvlcp.js → CashierMethodDetails-CrNz38mk.js} +380 -376
  16. package/components/{CashierMethodsList-D1-4p9Fo.js → CashierMethodsList-BE8SmqSJ.js} +2 -2
  17. package/components/{CashierMethodsList-CdZFk5wU.js → CashierMethodsList-BN2dT78W.js} +2 -2
  18. package/components/{CashierMethodsList-CEZVckvw.cjs → CashierMethodsList-DkmiAf3O.cjs} +1 -1
  19. package/components/CashierModal-BE_2P0FX.js +336 -0
  20. package/components/CashierModal-fcLWE2y3.cjs +1 -0
  21. package/components/CashierModal-whn0174R.js +336 -0
  22. package/components/{CashierNotifications-pGgsWSdS.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
  23. package/components/{CashierNotifications-C4esiIE1.js → CashierNotifications-DvukNd9l.js} +1 -1
  24. package/components/{CashierNotifications-HbBlW919.js → CashierNotifications-h-sC7KWl.js} +1 -1
  25. package/components/{CashierPage-DeUqFt2E.js → CashierPage-B0SFLnbl.js} +525 -533
  26. package/components/{CashierPage-C13YudFK.js → CashierPage-BqLJ1Za1.js} +521 -529
  27. package/components/CashierPage-DIrw7Ur0.cjs +1 -0
  28. package/components/{CashierReceiptPage-C1pvLNPQ.js → CashierReceiptPage-B1GE254E.js} +2 -2
  29. package/components/{CashierReceiptPage-4EMwW_oF.cjs → CashierReceiptPage-BqrdBMp3.cjs} +1 -1
  30. package/components/{CashierReceiptPage-CzCxraC4.js → CashierReceiptPage-OE7gpibk.js} +2 -2
  31. package/components/{CashierSessionExpirationModal-DC3xtfId.cjs → CashierSessionExpirationModal-BAZy0IPX.cjs} +1 -1
  32. package/components/{CashierSessionExpirationModal-DOAn1f7Q.js → CashierSessionExpirationModal-CNBDiaWq.js} +3 -3
  33. package/components/{CashierSessionExpirationModal-wcX6WNwx.js → CashierSessionExpirationModal-D1lAoUuI.js} +3 -3
  34. package/components/{CashierSpinner-1V0fFMq0.js → CashierSpinner-Dc_apDAz.js} +1 -1
  35. package/components/{CashierSpinner-CPWKt5dY.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
  36. package/components/{CashierSpinner-Cx52pbwV.js → CashierSpinner-viEKbLWC.js} +1 -1
  37. package/components/CashierStepUp-BLCOLltJ.js +786 -0
  38. package/components/CashierStepUp-B_HWgCcn.cjs +1 -0
  39. package/components/CashierStepUp-CeqsqBhX.js +814 -0
  40. package/components/{CashierTransactionHistory-DnPl2II3.js → CashierTransactionHistory-Bod4CZm1.js} +5 -5
  41. package/components/{CashierTransactionHistory-CfPdd7w-.cjs → CashierTransactionHistory-CicwRm4P.cjs} +1 -1
  42. package/components/{CashierTransactionHistory-BU9zzhMH.js → CashierTransactionHistory-Ck-a7FJf.js} +5 -5
  43. package/components/{CashierVerifications-DBaC7Yq5.js → CashierVerifications-66ej7eXN.js} +2 -2
  44. package/components/{CashierVerifications-Cl0o1vbf.js → CashierVerifications-Cg5TE5jO.js} +2 -2
  45. package/components/{CashierVerifications-CR73ohxW.cjs → CashierVerifications-D5bq7j2I.cjs} +1 -1
  46. package/components/{TxnStatusIcon-CmFT6r06.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
  47. package/components/{TxnStatusIcon-C9c7Vat6.js → TxnStatusIcon-CvoyaPHp.js} +1 -1
  48. package/components/{TxnStatusIcon-CuygBt_X.js → TxnStatusIcon-DB7vrGws.js} +1 -1
  49. package/components/{TxnTypeIcons-BubLyQlU.js → TxnTypeIcons-BVU-p7ld.js} +1 -1
  50. package/components/{TxnTypeIcons-CwWZ2MoD.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
  51. package/components/{TxnTypeIcons-Cpt8i9KB.js → TxnTypeIcons-lKOKRAjP.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/CashierCarousel-BkoYZVP7.cjs +0 -23
  57. package/components/CashierModal-CJf0aCey.cjs +0 -1
  58. package/components/CashierModal-Cpef67LD.js +0 -239
  59. package/components/CashierModal-VPZkXwtJ.js +0 -239
  60. package/components/CashierPage-8PVbLGah.cjs +0 -1
  61. package/components/CashierStepUp-BNqTmvl4.js +0 -806
  62. package/components/CashierStepUp-BjwtpF-p.cjs +0 -1
  63. package/components/CashierStepUp-DviaUrBF.js +0 -834
@@ -1,15 +1,15 @@
1
- var En = Object.defineProperty, xn = Object.defineProperties;
2
- var wn = Object.getOwnPropertyDescriptors;
1
+ var wn = Object.defineProperty, Sn = Object.defineProperties;
2
+ var Tn = Object.getOwnPropertyDescriptors;
3
3
  var zt = Object.getOwnPropertySymbols;
4
- var Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable;
5
- var ht = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zt = (e, t) => {
4
+ var Hn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable;
5
+ var ht = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Sn.call(t, r) && ht(e, r, t[r]);
7
+ Hn.call(t, r) && ht(e, r, t[r]);
8
8
  if (zt)
9
9
  for (var r of zt(t))
10
- Tn.call(t, r) && ht(e, r, t[r]);
10
+ Pn.call(t, r) && ht(e, r, t[r]);
11
11
  return e;
12
- }, Yt = (e, t) => xn(e, wn(t));
12
+ }, Yt = (e, t) => Sn(e, Tn(t));
13
13
  var $ = (e, t, r) => (ht(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Jt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
@@ -30,7 +30,7 @@ var Jt = (e, t, r) => new Promise((n, i) => {
30
30
  function O() {
31
31
  }
32
32
  const Dt = (e) => e;
33
- function Hn(e, t) {
33
+ function Mn(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -57,7 +57,7 @@ let Re;
57
57
  function Qt(e, t) {
58
58
  return e === t ? !0 : (Re || (Re = document.createElement("a")), Re.href = t, e === Re.href);
59
59
  }
60
- function Pn(e) {
60
+ function Cn(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
63
  function Or(e, ...t) {
@@ -69,7 +69,7 @@ function Or(e, ...t) {
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function Mn(e, t, r) {
72
+ function An(e, t, r) {
73
73
  e.$$.on_destroy.push(Or(t, r));
74
74
  }
75
75
  function ms(e, t, r, n) {
@@ -79,7 +79,7 @@ function ms(e, t, r, n) {
79
79
  }
80
80
  }
81
81
  function Lr(e, t, r, n) {
82
- return e[1] && n ? Hn(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
+ return e[1] && n ? Mn(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
84
  function bs(e, t, r, n) {
85
85
  if (e[2] && n) {
@@ -140,7 +140,7 @@ const _s = typeof window != "undefined" ? window : typeof globalThis != "undefin
140
140
  function x(e, t) {
141
141
  e.appendChild(t);
142
142
  }
143
- function Cn(e, t, r) {
143
+ function Bn(e, t, r) {
144
144
  const n = Ft(e);
145
145
  if (!n.getElementById(t)) {
146
146
  const i = H("style");
@@ -157,7 +157,7 @@ function Ft(e) {
157
157
  t
158
158
  ) : e.ownerDocument;
159
159
  }
160
- function An(e) {
160
+ function On(e) {
161
161
  const t = H("style");
162
162
  return t.textContent = "/* empty */", Rr(Ft(e), t), t.sheet;
163
163
  }
@@ -211,7 +211,7 @@ function Ss(e, t, r) {
211
211
  function Ts(e) {
212
212
  return e === "" ? null : +e;
213
213
  }
214
- function Bn(e) {
214
+ function Ln(e) {
215
215
  return Array.from(e.childNodes);
216
216
  }
217
217
  function Y(e, t) {
@@ -222,7 +222,7 @@ function Hs(e, t) {
222
222
  e.value = t == null ? "" : t;
223
223
  }
224
224
  let De;
225
- function On() {
225
+ function Nn() {
226
226
  if (De === void 0) {
227
227
  De = !1;
228
228
  try {
@@ -233,14 +233,14 @@ function On() {
233
233
  }
234
234
  return De;
235
235
  }
236
- function Ln(e, t) {
236
+ function In(e, t) {
237
237
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
238
238
  const n = H("iframe");
239
239
  n.setAttribute(
240
240
  "style",
241
241
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
242
242
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
243
- const i = On();
243
+ const i = Nn();
244
244
  let o;
245
245
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Q(
246
246
  window,
@@ -258,10 +258,10 @@ function Ln(e, t) {
258
258
  function Ps(e, t, r) {
259
259
  e.classList.toggle(t, !!r);
260
260
  }
261
- function Nn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
261
+ function Rn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
262
262
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
263
263
  }
264
- function In(e) {
264
+ function Dn(e) {
265
265
  const t = {};
266
266
  return e.childNodes.forEach(
267
267
  /** @param {Element} node */
@@ -272,14 +272,14 @@ function In(e) {
272
272
  }
273
273
  const Ze = /* @__PURE__ */ new Map();
274
274
  let Ye = 0;
275
- function Rn(e) {
275
+ function $n(e) {
276
276
  let t = 5381, r = e.length;
277
277
  for (; r--; )
278
278
  t = (t << 5) - t ^ e.charCodeAt(r);
279
279
  return t >>> 0;
280
280
  }
281
- function Dn(e, t) {
282
- const r = { stylesheet: An(t), rules: {} };
281
+ function Un(e, t) {
282
+ const r = { stylesheet: On(t), rules: {} };
283
283
  return Ze.set(e, r), r;
284
284
  }
285
285
  function Je(e, t, r, n, i, o, s, a = 0) {
@@ -292,7 +292,7 @@ function Je(e, t, r, n, i, o, s, a = 0) {
292
292
  `;
293
293
  }
294
294
  const h = l + `100% {${s(r, 1 - r)}}
295
- }`, d = `__svelte_${Rn(h)}_${a}`, c = Ft(e), { stylesheet: b, rules: f } = Ze.get(c) || Dn(c, e);
295
+ }`, d = `__svelte_${$n(h)}_${a}`, c = Ft(e), { stylesheet: b, rules: f } = Ze.get(c) || Un(c, e);
296
296
  f[d] || (f[d] = !0, b.insertRule(`@keyframes ${d} ${h}`, b.cssRules.length));
297
297
  const p = e.style.animation || "";
298
298
  return e.style.animation = `${p ? `${p}, ` : ""}${d} ${n}ms linear ${i}ms 1 both`, Ye += 1, d;
@@ -302,9 +302,9 @@ function Ke(e, t) {
302
302
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
303
303
  // remove all Svelte animations
304
304
  ), i = r.length - n.length;
305
- i && (e.style.animation = n.join(", "), Ye -= i, Ye || $n());
305
+ i && (e.style.animation = n.join(", "), Ye -= i, Ye || Gn());
306
306
  }
307
- function $n() {
307
+ function Gn() {
308
308
  Ut(() => {
309
309
  Ye || (Ze.forEach((e) => {
310
310
  const { ownerNode: t } = e.stylesheet;
@@ -321,7 +321,7 @@ function Dr() {
321
321
  throw new Error("Function called outside component initialization");
322
322
  return Pe;
323
323
  }
324
- function Un(e) {
324
+ function Fn(e) {
325
325
  Dr().$$.on_mount.push(e);
326
326
  }
327
327
  function Ms(e) {
@@ -329,10 +329,13 @@ function Ms(e) {
329
329
  }
330
330
  const he = [], Qe = [];
331
331
  let fe = [];
332
- const er = [], Gn = /* @__PURE__ */ Promise.resolve();
332
+ const er = [], $r = /* @__PURE__ */ Promise.resolve();
333
333
  let vt = !1;
334
- function Fn() {
335
- vt || (vt = !0, Gn.then(U));
334
+ function Ur() {
335
+ vt || (vt = !0, $r.then(U));
336
+ }
337
+ function Cs() {
338
+ return Ur(), $r;
336
339
  }
337
340
  function ne(e) {
338
341
  fe.push(e);
@@ -382,11 +385,11 @@ function jt() {
382
385
  })), xe;
383
386
  }
384
387
  function re(e, t, r) {
385
- e.dispatchEvent(Nn(`${t ? "intro" : "outro"}${r}`));
388
+ e.dispatchEvent(Rn(`${t ? "intro" : "outro"}${r}`));
386
389
  }
387
390
  const ke = /* @__PURE__ */ new Set();
388
391
  let X;
389
- function Cs() {
392
+ function As() {
390
393
  X = {
391
394
  r: 0,
392
395
  c: [],
@@ -394,13 +397,13 @@ function Cs() {
394
397
  // parent group
395
398
  };
396
399
  }
397
- function As() {
400
+ function Bs() {
398
401
  X.r || Z(X.c), X = X.p;
399
402
  }
400
- function $r(e, t) {
403
+ function Gr(e, t) {
401
404
  e && e.i && (ke.delete(e), e.i(t));
402
405
  }
403
- function Bs(e, t, r, n) {
406
+ function Os(e, t, r, n) {
404
407
  if (e && e.o) {
405
408
  if (ke.has(e))
406
409
  return;
@@ -411,7 +414,7 @@ function Bs(e, t, r, n) {
411
414
  n && n();
412
415
  }
413
416
  const kt = { duration: 0 };
414
- function Os(e, t, r) {
417
+ function Ls(e, t, r) {
415
418
  const n = { direction: "in" };
416
419
  let i = t(e, r, n), o = !1, s, a, u = 0;
417
420
  function l() {
@@ -452,7 +455,7 @@ function Os(e, t, r) {
452
455
  }
453
456
  };
454
457
  }
455
- function Ls(e, t, r) {
458
+ function Ns(e, t, r) {
456
459
  const n = { direction: "out" };
457
460
  let i = t(e, r, n), o = !0, s;
458
461
  const a = X;
@@ -489,7 +492,7 @@ function Ls(e, t, r) {
489
492
  }
490
493
  };
491
494
  }
492
- function Ns(e, t, r, n) {
495
+ function Is(e, t, r, n) {
493
496
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
494
497
  function d() {
495
498
  l && Ke(e, l);
@@ -555,10 +558,10 @@ function Ns(e, t, r, n) {
555
558
  function $e(e) {
556
559
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
557
560
  }
558
- function Is(e, t) {
561
+ function Rs(e, t) {
559
562
  e.d(1), t.delete(e.key);
560
563
  }
561
- function Rs(e, t, r, n, i, o, s, a, u, l, h, d) {
564
+ function Ds(e, t, r, n, i, o, s, a, u, l, h, d) {
562
565
  let c = e.length, b = o.length, f = c;
563
566
  const p = {};
564
567
  for (; f--; )
@@ -571,7 +574,7 @@ function Rs(e, t, r, n, i, o, s, a, u, l, h, d) {
571
574
  }
572
575
  const m = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Set();
573
576
  function L(P) {
574
- $r(P, 1), P.m(a, h), s.set(P.key, P), h = P.first, b--;
577
+ Gr(P, 1), P.m(a, h), s.set(P.key, P), h = P.first, b--;
575
578
  }
576
579
  for (; c && b; ) {
577
580
  const P = v[b - 1], B = e[c - 1], N = P.key, k = B.key;
@@ -585,7 +588,7 @@ function Rs(e, t, r, n, i, o, s, a, u, l, h, d) {
585
588
  L(v[b - 1]);
586
589
  return Z(E), v;
587
590
  }
588
- function Ds(e) {
591
+ function $s(e) {
589
592
  e && e.c();
590
593
  }
591
594
  function Vn(e, t, r) {
@@ -600,7 +603,7 @@ function Wn(e, t) {
600
603
  r.fragment !== null && (kn(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
601
604
  }
602
605
  function Xn(e, t) {
603
- e.$$.dirty[0] === -1 && (he.push(e), Fn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
606
+ e.$$.dirty[0] === -1 && (he.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
604
607
  }
605
608
  function zn(e, t, r, n, i, o, s = null, a = [-1]) {
606
609
  const u = Pe;
@@ -633,16 +636,16 @@ function zn(e, t, r, n, i, o, s = null, a = [-1]) {
633
636
  return l.ctx && i(l.ctx[d], l.ctx[d] = f) && (!l.skip_bound && l.bound[d] && l.bound[d](f), h && Xn(e, d)), c;
634
637
  }) : [], l.update(), h = !0, Z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
635
638
  if (t.hydrate) {
636
- const d = Bn(t.target);
639
+ const d = Ln(t.target);
637
640
  l.fragment && l.fragment.l(d), d.forEach(D);
638
641
  } else
639
642
  l.fragment && l.fragment.c();
640
- t.intro && $r(e.$$.fragment), Vn(e, t.target, t.anchor), U();
643
+ t.intro && Gr(e.$$.fragment), Vn(e, t.target, t.anchor), U();
641
644
  }
642
645
  He(u);
643
646
  }
644
- let Ur;
645
- typeof HTMLElement == "function" && (Ur = class extends HTMLElement {
647
+ let Fr;
648
+ typeof HTMLElement == "function" && (Fr = class extends HTMLElement {
646
649
  constructor(t, r, n) {
647
650
  super();
648
651
  /** The Svelte component constructor */
@@ -703,7 +706,7 @@ typeof HTMLElement == "function" && (Ur = class extends HTMLElement {
703
706
  };
704
707
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
705
708
  return;
706
- const r = {}, n = In(this);
709
+ const r = {}, n = Dn(this);
707
710
  for (const o of this.$$s)
708
711
  o in n && (r[o] = [t(o)]);
709
712
  for (const o of this.attributes) {
@@ -793,7 +796,7 @@ function Ve(e, t, r, n) {
793
796
  }
794
797
  }
795
798
  function Zn(e, t, r, n, i, o) {
796
- let s = class extends Ur {
799
+ let s = class extends Fr {
797
800
  constructor() {
798
801
  super(e, r, i), this.$$p_d = t;
799
802
  }
@@ -866,7 +869,7 @@ class Yn {
866
869
  * @returns {void}
867
870
  */
868
871
  $set(t) {
869
- this.$$set && !Pn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
872
+ this.$$set && !Cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
870
873
  }
871
874
  }
872
875
  const Jn = "4";
@@ -934,7 +937,7 @@ function ye(e, t, r) {
934
937
  };
935
938
  });
936
939
  }
937
- var $s = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
940
+ var Us = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
938
941
  function Qn(e) {
939
942
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
940
943
  }
@@ -977,7 +980,7 @@ function ui(e) {
977
980
  function tr(e) {
978
981
  return Object.keys(e).concat(ui(e));
979
982
  }
980
- function Gr(e, t) {
983
+ function jr(e, t) {
981
984
  try {
982
985
  return t in e;
983
986
  } catch (r) {
@@ -985,14 +988,14 @@ function Gr(e, t) {
985
988
  }
986
989
  }
987
990
  function li(e, t) {
988
- return Gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
991
+ return jr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
989
992
  }
990
993
  function hi(e, t, r) {
991
994
  var n = {};
992
995
  return r.isMergeableObject(e) && tr(e).forEach(function(i) {
993
996
  n[i] = Me(e[i], r);
994
997
  }), tr(t).forEach(function(i) {
995
- li(e, i) || (Gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ai(i, r)(e[i], t[i], r) : n[i] = Me(t[i], r));
998
+ li(e, i) || (jr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ai(i, r)(e[i], t[i], r) : n[i] = Me(t[i], r));
996
999
  }), n;
997
1000
  }
998
1001
  function pe(e, t, r) {
@@ -1065,19 +1068,19 @@ function bi(e, t, r, n) {
1065
1068
  var i = mi(n) ? n : r(n), o = t.get(i);
1066
1069
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1067
1070
  }
1068
- function Fr(e, t, r) {
1071
+ function kr(e, t, r) {
1069
1072
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1070
1073
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1071
1074
  }
1072
- function jr(e, t, r, n, i) {
1075
+ function Vr(e, t, r, n, i) {
1073
1076
  return r.bind(t, e, n, i);
1074
1077
  }
1075
1078
  function gi(e, t) {
1076
- var r = e.length === 1 ? bi : Fr;
1077
- return jr(e, this, r, t.cache.create(), t.serializer);
1079
+ var r = e.length === 1 ? bi : kr;
1080
+ return Vr(e, this, r, t.cache.create(), t.serializer);
1078
1081
  }
1079
1082
  function yi(e, t) {
1080
- return jr(e, this, Fr, t.cache.create(), t.serializer);
1083
+ return Vr(e, this, kr, t.cache.create(), t.serializer);
1081
1084
  }
1082
1085
  var vi = function() {
1083
1086
  return JSON.stringify(arguments);
@@ -1127,34 +1130,34 @@ function rr(e) {
1127
1130
  function xi(e) {
1128
1131
  return e.type === M.argument;
1129
1132
  }
1130
- function kr(e) {
1133
+ function Wr(e) {
1131
1134
  return e.type === M.number;
1132
1135
  }
1133
- function Vr(e) {
1136
+ function Xr(e) {
1134
1137
  return e.type === M.date;
1135
1138
  }
1136
- function Wr(e) {
1139
+ function zr(e) {
1137
1140
  return e.type === M.time;
1138
1141
  }
1139
- function Xr(e) {
1142
+ function Zr(e) {
1140
1143
  return e.type === M.select;
1141
1144
  }
1142
- function zr(e) {
1145
+ function Yr(e) {
1143
1146
  return e.type === M.plural;
1144
1147
  }
1145
1148
  function wi(e) {
1146
1149
  return e.type === M.pound;
1147
1150
  }
1148
- function Zr(e) {
1151
+ function Jr(e) {
1149
1152
  return e.type === M.tag;
1150
1153
  }
1151
- function Yr(e) {
1154
+ function Kr(e) {
1152
1155
  return !!(e && typeof e == "object" && e.type === de.number);
1153
1156
  }
1154
1157
  function Et(e) {
1155
1158
  return !!(e && typeof e == "object" && e.type === de.dateTime);
1156
1159
  }
1157
- var Jr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
1160
+ var Qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
1158
1161
  function Ti(e) {
1159
1162
  var t = {};
1160
1163
  return e.replace(Si, function(r) {
@@ -1278,14 +1281,14 @@ function Pi(e) {
1278
1281
  function Mi(e) {
1279
1282
  return e.replace(/^(.*?)-/, "");
1280
1283
  }
1281
- var nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, Qr = /^(0+)$/;
1284
+ var nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, en = /^(0+)$/;
1282
1285
  function ir(e) {
1283
1286
  var t = {};
1284
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kr, function(r, n, i) {
1287
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qr, function(r, n, i) {
1285
1288
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1286
1289
  }), t;
1287
1290
  }
1288
- function qr(e) {
1291
+ function tn(e) {
1289
1292
  switch (e) {
1290
1293
  case "sign-auto":
1291
1294
  return {
@@ -1333,14 +1336,14 @@ function Ai(e) {
1333
1336
  notation: "scientific"
1334
1337
  }, e = e.slice(1)), t) {
1335
1338
  var r = e.slice(0, 2);
1336
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qr.test(e))
1339
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !en.test(e))
1337
1340
  throw new Error("Malformed concise eng/scientific notation");
1338
1341
  t.minimumIntegerDigits = e.length;
1339
1342
  }
1340
1343
  return t;
1341
1344
  }
1342
1345
  function or(e) {
1343
- var t = {}, r = qr(e);
1346
+ var t = {}, r = tn(e);
1344
1347
  return r || t;
1345
1348
  }
1346
1349
  function Bi(e) {
@@ -1442,7 +1445,7 @@ function Bi(e) {
1442
1445
  });
1443
1446
  continue;
1444
1447
  }
1445
- if (Qr.test(i.stem)) {
1448
+ if (en.test(i.stem)) {
1446
1449
  t.minimumIntegerDigits = i.stem.length;
1447
1450
  continue;
1448
1451
  }
@@ -1456,11 +1459,11 @@ function Bi(e) {
1456
1459
  o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), ir(o)));
1457
1460
  continue;
1458
1461
  }
1459
- if (Kr.test(i.stem)) {
1462
+ if (qr.test(i.stem)) {
1460
1463
  t = A(A({}, t), ir(i.stem));
1461
1464
  continue;
1462
1465
  }
1463
- var s = qr(i.stem);
1466
+ var s = tn(i.stem);
1464
1467
  s && (t = A(A({}, t), s));
1465
1468
  var a = Ai(i.stem);
1466
1469
  a && (t = A(A({}, t), a));
@@ -2920,7 +2923,7 @@ function Li(e) {
2920
2923
  var i = Ue[n || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
2921
2924
  return i[0];
2922
2925
  }
2923
- var mt, Ni = new RegExp("^".concat(Jr.source, "*")), Ii = new RegExp("".concat(Jr.source, "*$"));
2926
+ var mt, Ni = new RegExp("^".concat(Qr.source, "*")), Ii = new RegExp("".concat(Qr.source, "*$"));
2924
2927
  function S(e, t) {
2925
2928
  return { start: e, end: t };
2926
2929
  }
@@ -2928,7 +2931,7 @@ var Ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), Di = !!String
2928
2931
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2929
2932
  }, xt = !0;
2930
2933
  try {
2931
- var Vi = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2934
+ var Vi = nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2932
2935
  xt = ((mt = Vi.exec("a")) === null || mt === void 0 ? void 0 : mt[0]) === "a";
2933
2936
  } catch (e) {
2934
2937
  xt = !1;
@@ -2967,7 +2970,7 @@ var sr = Ri ? (
2967
2970
  return r;
2968
2971
  }
2969
2972
  )
2970
- ), en = Ui ? (
2973
+ ), rn = Ui ? (
2971
2974
  // Native
2972
2975
  function(t, r) {
2973
2976
  return t.codePointAt(r);
@@ -3002,12 +3005,12 @@ var sr = Ri ? (
3002
3005
  return t.replace(Ii, "");
3003
3006
  }
3004
3007
  );
3005
- function tn(e, t) {
3008
+ function nn(e, t) {
3006
3009
  return new RegExp(e, t);
3007
3010
  }
3008
3011
  var St;
3009
3012
  if (xt) {
3010
- var ur = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3013
+ var ur = nn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3011
3014
  St = function(t, r) {
3012
3015
  var n;
3013
3016
  ur.lastIndex = r;
@@ -3017,8 +3020,8 @@ if (xt) {
3017
3020
  } else
3018
3021
  St = function(t, r) {
3019
3022
  for (var n = []; ; ) {
3020
- var i = en(t, r);
3021
- if (i === void 0 || rn(i) || Ji(i))
3023
+ var i = rn(t, r);
3024
+ if (i === void 0 || on(i) || Ji(i))
3022
3025
  break;
3023
3026
  n.push(i), r += i >= 65536 ? 2 : 1;
3024
3027
  }
@@ -3426,7 +3429,7 @@ var zi = (
3426
3429
  var t = this.position.offset;
3427
3430
  if (t >= this.message.length)
3428
3431
  throw Error("out of bound");
3429
- var r = en(this.message, t);
3432
+ var r = rn(this.message, t);
3430
3433
  if (r === void 0)
3431
3434
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3432
3435
  return r;
@@ -3467,7 +3470,7 @@ var zi = (
3467
3470
  break;
3468
3471
  }
3469
3472
  }, e.prototype.bumpSpace = function() {
3470
- for (; !this.isEOF() && rn(this.char()); )
3473
+ for (; !this.isEOF() && on(this.char()); )
3471
3474
  this.bump();
3472
3475
  }, e.prototype.peek = function() {
3473
3476
  if (this.isEOF())
@@ -3486,7 +3489,7 @@ function Zi(e) {
3486
3489
  function Yi(e) {
3487
3490
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3488
3491
  }
3489
- function rn(e) {
3492
+ function on(e) {
3490
3493
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3491
3494
  }
3492
3495
  function Ji(e) {
@@ -3494,11 +3497,11 @@ function Ji(e) {
3494
3497
  }
3495
3498
  function Ht(e) {
3496
3499
  e.forEach(function(t) {
3497
- if (delete t.location, Xr(t) || zr(t))
3500
+ if (delete t.location, Zr(t) || Yr(t))
3498
3501
  for (var r in t.options)
3499
3502
  delete t.options[r].location, Ht(t.options[r].value);
3500
3503
  else
3501
- kr(t) && Yr(t.style) || (Vr(t) || Wr(t)) && Et(t.style) ? delete t.style.location : Zr(t) && Ht(t.children);
3504
+ Wr(t) && Kr(t.style) || (Xr(t) || zr(t)) && Et(t.style) ? delete t.style.location : Jr(t) && Ht(t.children);
3502
3505
  });
3503
3506
  }
3504
3507
  function Ki(e, t) {
@@ -3601,7 +3604,7 @@ function We(e, t, r, n, i, o, s) {
3601
3604
  });
3602
3605
  continue;
3603
3606
  }
3604
- if (Vr(h)) {
3607
+ if (Xr(h)) {
3605
3608
  var b = typeof h.style == "string" ? n.date[h.style] : Et(h.style) ? h.style.parsedOptions : void 0;
3606
3609
  a.push({
3607
3610
  type: R.literal,
@@ -3609,7 +3612,7 @@ function We(e, t, r, n, i, o, s) {
3609
3612
  });
3610
3613
  continue;
3611
3614
  }
3612
- if (Wr(h)) {
3615
+ if (zr(h)) {
3613
3616
  var b = typeof h.style == "string" ? n.time[h.style] : Et(h.style) ? h.style.parsedOptions : n.time.medium;
3614
3617
  a.push({
3615
3618
  type: R.literal,
@@ -3617,15 +3620,15 @@ function We(e, t, r, n, i, o, s) {
3617
3620
  });
3618
3621
  continue;
3619
3622
  }
3620
- if (kr(h)) {
3621
- var b = typeof h.style == "string" ? n.number[h.style] : Yr(h.style) ? h.style.parsedOptions : void 0;
3623
+ if (Wr(h)) {
3624
+ var b = typeof h.style == "string" ? n.number[h.style] : Kr(h.style) ? h.style.parsedOptions : void 0;
3622
3625
  b && b.scale && (c = c * (b.scale || 1)), a.push({
3623
3626
  type: R.literal,
3624
3627
  value: r.getNumberFormat(t, b).format(c)
3625
3628
  });
3626
3629
  continue;
3627
3630
  }
3628
- if (Zr(h)) {
3631
+ if (Jr(h)) {
3629
3632
  var f = h.children, p = h.value, v = i[p];
3630
3633
  if (!to(v))
3631
3634
  throw new Qi(p, "function", s);
@@ -3639,14 +3642,14 @@ function We(e, t, r, n, i, o, s) {
3639
3642
  };
3640
3643
  }));
3641
3644
  }
3642
- if (Xr(h)) {
3645
+ if (Zr(h)) {
3643
3646
  var E = h.options[c] || h.options.other;
3644
3647
  if (!E)
3645
3648
  throw new lr(h.value, c, Object.keys(h.options), s);
3646
3649
  a.push.apply(a, We(E.value, t, r, n, i));
3647
3650
  continue;
3648
3651
  }
3649
- if (zr(h)) {
3652
+ if (Yr(h)) {
3650
3653
  var E = h.options["=".concat(c)];
3651
3654
  if (!E) {
3652
3655
  if (!Intl.PluralRules)
@@ -3720,7 +3723,7 @@ function io(e) {
3720
3723
  })
3721
3724
  };
3722
3725
  }
3723
- var nn = (
3726
+ var sn = (
3724
3727
  /** @class */
3725
3728
  function() {
3726
3729
  function e(t, r, n, i) {
@@ -3853,7 +3856,7 @@ function oo(e, t) {
3853
3856
  n = void 0;
3854
3857
  return n;
3855
3858
  }
3856
- const K = {}, so = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), on = (e, t) => {
3859
+ const K = {}, so = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), an = (e, t) => {
3857
3860
  if (t == null)
3858
3861
  return;
3859
3862
  if (t in K && e in K[t])
@@ -3870,11 +3873,11 @@ const Ae = nt({});
3870
3873
  function ao(e) {
3871
3874
  return Vt[e] || null;
3872
3875
  }
3873
- function sn(e) {
3876
+ function un(e) {
3874
3877
  return e in Vt;
3875
3878
  }
3876
3879
  function uo(e, t) {
3877
- if (!sn(e))
3880
+ if (!un(e))
3878
3881
  return null;
3879
3882
  const r = ao(e);
3880
3883
  return oo(r, t);
@@ -3885,11 +3888,11 @@ function lo(e) {
3885
3888
  const t = Be(e);
3886
3889
  for (let r = 0; r < t.length; r++) {
3887
3890
  const n = t[r];
3888
- if (sn(n))
3891
+ if (un(n))
3889
3892
  return n;
3890
3893
  }
3891
3894
  }
3892
- function an(e, ...t) {
3895
+ function ln(e, ...t) {
3893
3896
  delete K[e], Ae.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
3894
3897
  }
3895
3898
  ye(
@@ -3901,12 +3904,12 @@ const Xe = {};
3901
3904
  function ho(e, t) {
3902
3905
  Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
3903
3906
  }
3904
- function un(e) {
3907
+ function hn(e) {
3905
3908
  return Xe[e];
3906
3909
  }
3907
3910
  function co(e) {
3908
3911
  return Be(e).map((t) => {
3909
- const r = un(t);
3912
+ const r = hn(t);
3910
3913
  return [t, r ? [...r] : []];
3911
3914
  }).filter(([, t]) => t.length > 0);
3912
3915
  }
@@ -3914,17 +3917,17 @@ function et(e) {
3914
3917
  return e == null ? !1 : Be(e).some(
3915
3918
  (t) => {
3916
3919
  var r;
3917
- return (r = un(t)) == null ? void 0 : r.size;
3920
+ return (r = hn(t)) == null ? void 0 : r.size;
3918
3921
  }
3919
3922
  );
3920
3923
  }
3921
3924
  function fo(e, t) {
3922
3925
  return Promise.all(
3923
3926
  t.map((n) => (ho(e, n), n().then((i) => i.default || i)))
3924
- ).then((n) => an(e, ...n));
3927
+ ).then((n) => ln(e, ...n));
3925
3928
  }
3926
3929
  const we = {};
3927
- function ln(e) {
3930
+ function cn(e) {
3928
3931
  if (!et(e))
3929
3932
  return e in we ? we[e] : Promise.resolve();
3930
3933
  const t = co(e);
@@ -3934,7 +3937,7 @@ function ln(e) {
3934
3937
  )
3935
3938
  ).then(() => {
3936
3939
  if (et(e))
3937
- return ln(e);
3940
+ return cn(e);
3938
3941
  delete we[e];
3939
3942
  }), we[e];
3940
3943
  }
@@ -4002,7 +4005,7 @@ function _o(e) {
4002
4005
  let i = e.fallbackLocale;
4003
4006
  if (e.initialLocale)
4004
4007
  try {
4005
- nn.resolveLocale(e.initialLocale) && (i = e.initialLocale);
4008
+ sn.resolveLocale(e.initialLocale) && (i = e.initialLocale);
4006
4009
  } catch (o) {
4007
4010
  console.warn(
4008
4011
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
@@ -4043,7 +4046,7 @@ const Mo = (e) => {
4043
4046
  return typeof window != "undefined" && q() != null && t ? r = window.setTimeout(
4044
4047
  () => gt.set(!0),
4045
4048
  t
4046
- ) : gt.set(!0), ln(e).then(() => {
4049
+ ) : gt.set(!0), cn(e).then(() => {
4047
4050
  tt.set(e);
4048
4051
  }).finally(() => {
4049
4052
  clearTimeout(r), gt.set(!1);
@@ -4059,20 +4062,20 @@ const Mo = (e) => {
4059
4062
  return i in t ? t[i] : t[i] = e(n);
4060
4063
  };
4061
4064
  };
4062
- var Co = Object.defineProperty, rt = Object.getOwnPropertySymbols, hn = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wt = (e, t) => {
4065
+ var Co = Object.defineProperty, rt = Object.getOwnPropertySymbols, fn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? Co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wt = (e, t) => {
4063
4066
  for (var r in t || (t = {}))
4064
- hn.call(t, r) && dr(e, r, t[r]);
4067
+ fn.call(t, r) && dr(e, r, t[r]);
4065
4068
  if (rt)
4066
4069
  for (var r of rt(t))
4067
- cn.call(t, r) && dr(e, r, t[r]);
4070
+ pn.call(t, r) && dr(e, r, t[r]);
4068
4071
  return e;
4069
4072
  }, ve = (e, t) => {
4070
4073
  var r = {};
4071
4074
  for (var n in e)
4072
- hn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4075
+ fn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4073
4076
  if (e != null && rt)
4074
4077
  for (var n of rt(e))
4075
- t.indexOf(n) < 0 && cn.call(e, n) && (r[n] = e[n]);
4078
+ t.indexOf(n) < 0 && pn.call(e, n) && (r[n] = e[n]);
4076
4079
  return r;
4077
4080
  };
4078
4081
  const Ce = (e, t) => {
@@ -4126,7 +4129,7 @@ const Ce = (e, t) => {
4126
4129
  return Oo(Wt({ locale: r }, n));
4127
4130
  }, Ro = st(
4128
4131
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4129
- (e, t = q()) => new nn(e, t, be().formats, {
4132
+ (e, t = q()) => new sn(e, t, be().formats, {
4130
4133
  ignoreTag: be().ignoreTag
4131
4134
  })
4132
4135
  ), Do = (e, t = {}) => {
@@ -4142,7 +4145,7 @@ const Ce = (e, t) => {
4142
4145
  throw new Error(
4143
4146
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4144
4147
  );
4145
- let h = on(e, u);
4148
+ let h = an(e, u);
4146
4149
  if (!h)
4147
4150
  h = (o = (i = (n = (r = be()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4148
4151
  else if (typeof h != "string")
@@ -4161,7 +4164,7 @@ const Ce = (e, t) => {
4161
4164
  );
4162
4165
  }
4163
4166
  return d;
4164
- }, $o = (e, t) => Io(t).format(e), Uo = (e, t) => No(t).format(e), Go = (e, t) => Lo(t).format(e), Fo = (e, t = q()) => on(e, t), jo = ye([ie, Ae], () => Do);
4167
+ }, $o = (e, t) => Io(t).format(e), Uo = (e, t) => No(t).format(e), Go = (e, t) => Lo(t).format(e), Fo = (e, t = q()) => an(e, t), jo = ye([ie, Ae], () => Do);
4165
4168
  ye([ie], () => $o);
4166
4169
  ye([ie], () => Uo);
4167
4170
  ye([ie], () => Go);
@@ -4238,13 +4241,13 @@ function Bt(e, t, r) {
4238
4241
  function J(e) {
4239
4242
  return typeof e == "function";
4240
4243
  }
4241
- function fn(e) {
4244
+ function dn(e) {
4242
4245
  var t = function(n) {
4243
4246
  Error.call(n), n.stack = new Error().stack;
4244
4247
  }, r = e(t);
4245
4248
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4246
4249
  }
4247
- var yt = fn(function(e) {
4250
+ var yt = dn(function(e) {
4248
4251
  return function(r) {
4249
4252
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4250
4253
  ` + r.map(function(n, i) {
@@ -4349,8 +4352,8 @@ var at = function() {
4349
4352
  var t = new e();
4350
4353
  return t.closed = !0, t;
4351
4354
  }(), e;
4352
- }(), pn = at.EMPTY;
4353
- function dn(e) {
4355
+ }(), mn = at.EMPTY;
4356
+ function bn(e) {
4354
4357
  return e instanceof at || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
4355
4358
  }
4356
4359
  function mr(e) {
@@ -4379,11 +4382,11 @@ function br() {
4379
4382
  function ze(e) {
4380
4383
  e();
4381
4384
  }
4382
- var mn = function(e) {
4385
+ var gn = function(e) {
4383
4386
  Oe(t, e);
4384
4387
  function t(r) {
4385
4388
  var n = e.call(this) || this;
4386
- return n.isStopped = !1, r ? (n.destination = r, dn(r) && r.add(n)) : n.destination = Zo, n;
4389
+ return n.isStopped = !1, r ? (n.destination = r, bn(r) && r.add(n)) : n.destination = Zo, n;
4387
4390
  }
4388
4391
  return t.create = function(r, n, i) {
4389
4392
  return new Lt(r, n, i);
@@ -4452,7 +4455,7 @@ var mn = function(e) {
4452
4455
  } : s = r, o.destination = new Xo(s), o;
4453
4456
  }
4454
4457
  return t;
4455
- }(mn);
4458
+ }(gn);
4456
4459
  function Ge(e) {
4457
4460
  Wo(e);
4458
4461
  }
@@ -4545,13 +4548,13 @@ function Qo(e) {
4545
4548
  return e && J(e.next) && J(e.error) && J(e.complete);
4546
4549
  }
4547
4550
  function qo(e) {
4548
- return e && e instanceof mn || Qo(e) && dn(e);
4551
+ return e && e instanceof gn || Qo(e) && bn(e);
4549
4552
  }
4550
- var es = fn(function(e) {
4553
+ var es = dn(function(e) {
4551
4554
  return function() {
4552
4555
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4553
4556
  };
4554
- }), bn = function(e) {
4557
+ }), yn = function(e) {
4555
4558
  Oe(t, e);
4556
4559
  function t() {
4557
4560
  var r = e.call(this) || this;
@@ -4619,7 +4622,7 @@ var es = fn(function(e) {
4619
4622
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4620
4623
  }, t.prototype._innerSubscribe = function(r) {
4621
4624
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4622
- return o || s ? pn : (this.currentObservers = null, a.push(r), new at(function() {
4625
+ return o || s ? mn : (this.currentObservers = null, a.push(r), new at(function() {
4623
4626
  n.currentObservers = null, Ot(a, r);
4624
4627
  }));
4625
4628
  }, t.prototype._checkFinalizedStatuses = function(r) {
@@ -4648,17 +4651,17 @@ var es = fn(function(e) {
4648
4651
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4649
4652
  }, t.prototype._subscribe = function(r) {
4650
4653
  var n, i;
4651
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pn;
4654
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : mn;
4652
4655
  }, t;
4653
- }(bn), gn = {
4656
+ }(yn), vn = {
4654
4657
  now: function() {
4655
- return (gn.delegate || Date).now();
4658
+ return (vn.delegate || Date).now();
4656
4659
  },
4657
4660
  delegate: void 0
4658
4661
  }, ts = function(e) {
4659
4662
  Oe(t, e);
4660
4663
  function t(r, n, i) {
4661
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = gn);
4664
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = vn);
4662
4665
  var o = e.call(this) || this;
4663
4666
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4664
4667
  }
@@ -4678,7 +4681,7 @@ var es = fn(function(e) {
4678
4681
  l && o.splice(0, l + 1);
4679
4682
  }
4680
4683
  }, t;
4681
- }(bn);
4684
+ }(yn);
4682
4685
  const _r = [], Er = {}, rs = (e, t = 0) => {
4683
4686
  if (_r.indexOf(e) == -1) {
4684
4687
  const r = new ts(t);
@@ -4696,7 +4699,7 @@ const ns = (e, t, r, n) => {
4696
4699
  return Rt === "before" ? `${i.value} ${s}` : `${s} ${i.value}`;
4697
4700
  };
4698
4701
  window.emWidgets = { topic: rs };
4699
- const je = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Us = {
4702
+ const je = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Gs = {
4700
4703
  AED: "د.إ",
4701
4704
  AFN: "؋",
4702
4705
  ALL: "L",
@@ -4894,7 +4897,7 @@ function ss(e, t, r) {
4894
4897
  }
4895
4898
  }
4896
4899
  function xr(e, t) {
4897
- an(e, t);
4900
+ ln(e, t);
4898
4901
  }
4899
4902
  function as(e) {
4900
4903
  _o({
@@ -4940,7 +4943,7 @@ const wr = {
4940
4943
  }
4941
4944
  };
4942
4945
  function us(e) {
4943
- Cn(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4946
+ Bn(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4944
4947
  }
4945
4948
  function Sr(e, t, r) {
4946
4949
  const n = e.slice();
@@ -5010,7 +5013,7 @@ function hs(e) {
5010
5013
  z(g, t, E), c && c.m(t, null), x(t, n), x(t, i);
5011
5014
  for (let m = 0; m < f.length; m += 1)
5012
5015
  f[m] && f[m].m(i, null);
5013
- e[24](i), x(t, o), p && p.m(t, null), a = Ln(
5016
+ e[24](i), x(t, o), p && p.m(t, null), a = In(
5014
5017
  t,
5015
5018
  /*div1_elementresize_handler*/
5016
5019
  e[26].bind(t)
@@ -5272,7 +5275,7 @@ function cs(e) {
5272
5275
  }
5273
5276
  function fs(e, t, r) {
5274
5277
  let n;
5275
- Mn(e, jo, (y) => r(6, n = y));
5278
+ An(e, jo, (y) => r(6, n = y));
5276
5279
  let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: u = "2" } = t, { methodtype: l = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: c = "" } = t, { translationurl: b = "" } = t, f, p = [], v = 0, _ = !0, g = 0, E = !1, m, T, L = window.navigator.userAgent;
5277
5280
  const P = (y) => {
5278
5281
  y.data && y.data.type === "PromotedPaymentMethods" && (r(4, p = y.data.promotedPaymentMethods), r(5, v = Math.floor((p.length - 1) / 2)));
@@ -5308,9 +5311,9 @@ function fs(e, t, r) {
5308
5311
  const V = 160 + 5, Xt = V * p.length;
5309
5312
  let lt;
5310
5313
  p.length % 2 === 1 ? lt = Math.floor(p.length / 2) : lt = Math.floor(p.length / 2) - 0.5;
5311
- let vn = T - Xt;
5312
- const _n = lt - v;
5313
- return `translateX(${vn / 2 + _n * V - 20}px)`;
5314
+ let En = T - Xt;
5315
+ const xn = lt - v;
5316
+ return `translateX(${En / 2 + xn * V - 20}px)`;
5314
5317
  }, oe = (y) => {
5315
5318
  g = y.touches[0].clientX, E = !0, m.classList.add("dragging");
5316
5319
  }, _e = (y) => {
@@ -5329,7 +5332,7 @@ function fs(e, t, r) {
5329
5332
  }, ee = (y) => {
5330
5333
  y === "next" && v < p.length - 1 ? r(5, v++, v) : y === "prev" && v > 0 && r(5, v--, v), r(2, m.style.transform = F(), m);
5331
5334
  };
5332
- Un(() => (ns(o, s, a, u), window.addEventListener("message", P), m && T > 0 && F(), () => {
5335
+ Fn(() => (ns(o, s, a, u), window.addEventListener("message", P), m && T > 0 && F(), () => {
5333
5336
  window.removeEventListener("message", P);
5334
5337
  }));
5335
5338
  const Ne = () => ee("prev"), ae = (y, I) => k(y, I);
@@ -5388,7 +5391,7 @@ function fs(e, t, r) {
5388
5391
  te
5389
5392
  ];
5390
5393
  }
5391
- class yn extends Yn {
5394
+ class _n extends Yn {
5392
5395
  constructor(t) {
5393
5396
  super(), zn(
5394
5397
  this,
@@ -5473,10 +5476,10 @@ class yn extends Yn {
5473
5476
  this.$$set({ translationurl: t }), U();
5474
5477
  }
5475
5478
  }
5476
- Zn(yn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5477
- const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5479
+ Zn(_n, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5480
+ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5478
5481
  __proto__: null,
5479
- default: yn
5482
+ default: _n
5480
5483
  }, Symbol.toStringTag, { value: "Module" }));
5481
5484
  export {
5482
5485
  ie as $,
@@ -5489,7 +5492,7 @@ export {
5489
5492
  O as G,
5490
5493
  nt as H,
5491
5494
  Qn as I,
5492
- $s as J,
5495
+ Us as J,
5493
5496
  ne as K,
5494
5497
  _s as L,
5495
5498
  je as M,
@@ -5499,34 +5502,35 @@ export {
5499
5502
  Fe as Q,
5500
5503
  $e as R,
5501
5504
  Yn as S,
5502
- Rs as T,
5505
+ Ds as T,
5503
5506
  ws as U,
5504
5507
  Ps as V,
5505
5508
  Z as W,
5506
5509
  Hs as X,
5507
- Us as Y,
5510
+ Gs as Y,
5508
5511
  qt as Z,
5509
- Is as _,
5510
- an as a,
5511
- Cs as a0,
5512
- As as a1,
5513
- Ln as a2,
5514
- Dt as a3,
5515
- Ls as a4,
5516
- Os as a5,
5517
- Ms as a6,
5518
- Ns as a7,
5519
- vs as a8,
5520
- Wn as a9,
5521
- Vn as aa,
5522
- Ds as ab,
5523
- Gs as ac,
5512
+ Rs as _,
5513
+ ln as a,
5514
+ As as a0,
5515
+ Bs as a1,
5516
+ Cs as a2,
5517
+ In as a3,
5518
+ Dt as a4,
5519
+ Ns as a5,
5520
+ Ls as a6,
5521
+ Ms as a7,
5522
+ Is as a8,
5523
+ vs as a9,
5524
+ Wn as aa,
5525
+ Vn as ab,
5526
+ $s as ac,
5527
+ Fs as ad,
5524
5528
  zn as b,
5525
- Cn as c,
5529
+ Bn as c,
5526
5530
  ms as d,
5527
5531
  D as e,
5528
5532
  U as f,
5529
- $r as g,
5533
+ Gr as g,
5530
5534
  ys as h,
5531
5535
  _o as i,
5532
5536
  bs as j,
@@ -5535,11 +5539,11 @@ export {
5535
5539
  H as m,
5536
5540
  G as n,
5537
5541
  C as o,
5538
- Mn as p,
5539
- Un as q,
5542
+ An as p,
5543
+ Fn as q,
5540
5544
  xs as r,
5541
5545
  Br as s,
5542
- Bs as t,
5546
+ Os as t,
5543
5547
  gs as u,
5544
5548
  Y as v,
5545
5549
  j as w,