@everymatrix/cashier-page-nd 1.69.93 → 1.69.95

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 (55) hide show
  1. package/components/{CashierCarousel-BRCPA28j.js → CashierCarousel-DAykqaK7.js} +418 -416
  2. package/components/{CashierCarousel-BrO7Jjq7.cjs → CashierCarousel-Dw1AX3mG.cjs} +6 -6
  3. package/components/{CashierCarousel-DIW7ewty.js → CashierCarousel-xeoHL478.js} +418 -416
  4. package/components/{CashierError-2l9bXeE4.js → CashierError-BgmDWyZ2.js} +1 -1
  5. package/components/{CashierError-CDQHYcyq.cjs → CashierError-CC2chNNP.cjs} +1 -1
  6. package/components/{CashierError-CaZfsv_b.js → CashierError-GK6LplyM.js} +1 -1
  7. package/components/{CashierHeader-CRdaTXXF.js → CashierHeader-BUTbV5ls.js} +1 -1
  8. package/components/{CashierHeader-CYloyBeJ.cjs → CashierHeader-D-WS4BCK.cjs} +1 -1
  9. package/components/{CashierHeader-BIvpeMbT.js → CashierHeader-jxw5REBs.js} +1 -1
  10. package/components/{CashierIframeRedirect-Cdt_4X-f.js → CashierIframeRedirect-BFa8la1B.js} +3 -3
  11. package/components/{CashierIframeRedirect-DHwRIV5D.cjs → CashierIframeRedirect-CkF2udkG.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-CYbcbdD6.js → CashierIframeRedirect-DFHF2QxN.js} +3 -3
  13. package/components/{CashierMethodDetails-Du7CxbGJ.js → CashierMethodDetails-C1JZ8Y7b.js} +6 -6
  14. package/components/{CashierMethodDetails-DRPUe1Bm.js → CashierMethodDetails-CZUjywX6.js} +6 -6
  15. package/components/{CashierMethodDetails-BAPB4SHy.cjs → CashierMethodDetails-DrLQzFN-.cjs} +4 -4
  16. package/components/{CashierMethodsList-CMHpj096.js → CashierMethodsList-BsrYB5qD.js} +2 -2
  17. package/components/{CashierMethodsList-Xh15eLc2.cjs → CashierMethodsList-MCYslnJS.cjs} +1 -1
  18. package/components/{CashierMethodsList-BoIeAm8d.js → CashierMethodsList-PBswyJ2T.js} +2 -2
  19. package/components/{CashierModal-Bf-5kofx.js → CashierModal-CgMUCRZH.js} +36 -36
  20. package/components/CashierModal-DJjBfX7P.cjs +1 -0
  21. package/components/{CashierModal-DYVVV-kg.js → CashierModal-HnINXcY0.js} +36 -36
  22. package/components/{CashierNotifications-BW_5BkiD.js → CashierNotifications-BabXSzpa.js} +1 -1
  23. package/components/{CashierNotifications-DPPdTfhe.cjs → CashierNotifications-DzhVQr0v.cjs} +1 -1
  24. package/components/{CashierNotifications-C3_w1GoO.js → CashierNotifications-c0R2lzkJ.js} +1 -1
  25. package/components/CashierPage-19-mT4Vd.cjs +1 -0
  26. package/components/{CashierPage-CiJY4BIF.js → CashierPage-DL9PNUmp.js} +12 -12
  27. package/components/{CashierPage-ClTiAuuz.js → CashierPage-wgMi88T4.js} +12 -12
  28. package/components/{CashierReceiptPage-D9dp9Tet.js → CashierReceiptPage-BRyk7-x8.js} +541 -564
  29. package/components/CashierReceiptPage-DPKnUdho.cjs +26 -0
  30. package/components/{CashierReceiptPage-DmHVO6ao.js → CashierReceiptPage-Drubd_JK.js} +535 -558
  31. package/components/{CashierSessionExpirationModal-Y3axtBmH.js → CashierSessionExpirationModal--GStqbA0.js} +3 -3
  32. package/components/{CashierSessionExpirationModal-C3izvGJe.js → CashierSessionExpirationModal-DbLYFUoI.js} +3 -3
  33. package/components/{CashierSessionExpirationModal-f-K0e-yr.cjs → CashierSessionExpirationModal-Ry280vYg.cjs} +1 -1
  34. package/components/{CashierSpinner-DTePmdlJ.js → CashierSpinner-BOv1Uv2R.js} +1 -1
  35. package/components/{CashierSpinner-CmkhBExd.cjs → CashierSpinner-Bu3_RQVf.cjs} +1 -1
  36. package/components/{CashierSpinner-DsjTlCAT.js → CashierSpinner-TZ4oRzbQ.js} +1 -1
  37. package/components/{CashierTransactionHistory-CiIzKmPu.js → CashierTransactionHistory-CvNkQ1q9.js} +5 -5
  38. package/components/{CashierTransactionHistory-CZv5jipv.js → CashierTransactionHistory-D4lcvVf0.js} +5 -5
  39. package/components/{CashierTransactionHistory-C7UQWj4d.cjs → CashierTransactionHistory-DjciY8rT.cjs} +1 -1
  40. package/components/{CashierVerifications-BvGdHevi.cjs → CashierVerifications-BMVKuTGH.cjs} +1 -1
  41. package/components/{CashierVerifications-B1nKJ5sx.js → CashierVerifications-BeZISELs.js} +34 -34
  42. package/components/{CashierVerifications-C_CH5Fyg.js → CashierVerifications-CI7XZxhv.js} +34 -34
  43. package/components/{TxnStatusIcon-CacWIjyU.js → TxnStatusIcon-CSirdVWO.js} +1 -1
  44. package/components/{TxnStatusIcon-DEE4mf59.js → TxnStatusIcon-Dd3JJN8p.js} +1 -1
  45. package/components/{TxnStatusIcon-CluG8nB2.cjs → TxnStatusIcon-pHNTYXan.cjs} +1 -1
  46. package/components/{TxnTypeIcons-DzkNiw5U.cjs → TxnTypeIcons-B76CMssY.cjs} +1 -1
  47. package/components/{TxnTypeIcons-CCHGRfM4.js → TxnTypeIcons-BNxbLm76.js} +1 -1
  48. package/components/{TxnTypeIcons-Dwq4VQE8.js → TxnTypeIcons-DNPW1hkM.js} +1 -1
  49. package/es2015/cashier-page.cjs +1 -1
  50. package/es2015/cashier-page.js +1 -1
  51. package/esnext/cashier-page.js +1 -1
  52. package/package.json +1 -1
  53. package/components/CashierModal-8fVxVksu.cjs +0 -1
  54. package/components/CashierPage-DaYVzYw1.cjs +0 -1
  55. package/components/CashierReceiptPage-CAZB0908.cjs +0 -26
@@ -12,7 +12,7 @@ function sn(e, t) {
12
12
  function yr(e) {
13
13
  return e();
14
14
  }
15
- function Ft() {
15
+ function Gt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function V(e) {
@@ -25,7 +25,7 @@ function vr(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
27
  let Le;
28
- function Gt(e, t) {
28
+ function Ft(e, t) {
29
29
  return e === t ? !0 : (Le || (Le = document.createElement("a")), Le.href = t, e === Le.href);
30
30
  }
31
31
  function an(e) {
@@ -45,11 +45,11 @@ function un(e, t, r) {
45
45
  }
46
46
  function Ko(e, t, r, n) {
47
47
  if (e) {
48
- const i = Er(e, t, r, n);
48
+ const i = xr(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Er(e, t, r, n) {
52
+ function xr(e, t, r, n) {
53
53
  return e[1] && n ? sn(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
55
  function Qo(e, t, r, n) {
@@ -69,7 +69,7 @@ function Qo(e, t, r, n) {
69
69
  }
70
70
  function qo(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const a = Er(t, r, n, o);
72
+ const a = xr(t, r, n, o);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
@@ -85,17 +85,17 @@ function es(e) {
85
85
  function ts(e) {
86
86
  return e ?? "";
87
87
  }
88
- const xr = typeof window < "u";
89
- let Ot = xr ? () => window.performance.now() : () => Date.now(), Lt = xr ? (e) => requestAnimationFrame(e) : B;
88
+ const Er = typeof window < "u";
89
+ let Ot = Er ? () => window.performance.now() : () => Date.now(), Lt = Er ? (e) => requestAnimationFrame(e) : B;
90
90
  const se = /* @__PURE__ */ new Set();
91
- function Sr(e) {
91
+ function wr(e) {
92
92
  se.forEach((t) => {
93
93
  t.c(e) || (se.delete(t), t.f());
94
- }), se.size !== 0 && Lt(Sr);
94
+ }), se.size !== 0 && Lt(wr);
95
95
  }
96
96
  function Nt(e) {
97
97
  let t;
98
- return se.size === 0 && Lt(Sr), {
98
+ return se.size === 0 && Lt(wr), {
99
99
  promise: new Promise((r) => {
100
100
  se.add(t = { c: e, f: r });
101
101
  }),
@@ -108,14 +108,14 @@ const rs = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis :
108
108
  // @ts-ignore Node typings have this
109
109
  global
110
110
  );
111
- function E(e, t) {
111
+ function x(e, t) {
112
112
  e.appendChild(t);
113
113
  }
114
114
  function ln(e, t, r) {
115
115
  const n = It(e);
116
116
  if (!n.getElementById(t)) {
117
117
  const i = T("style");
118
- i.id = t, i.textContent = r, wr(n, i);
118
+ i.id = t, i.textContent = r, Sr(n, i);
119
119
  }
120
120
  }
121
121
  function It(e) {
@@ -128,18 +128,18 @@ function It(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function hn(e) {
131
+ function cn(e) {
132
132
  const t = T("style");
133
- return t.textContent = "/* empty */", wr(It(e), t), t.sheet;
133
+ return t.textContent = "/* empty */", Sr(It(e), t), t.sheet;
134
134
  }
135
- function wr(e, t) {
136
- return E(
135
+ function Sr(e, t) {
136
+ return x(
137
137
  /** @type {Document} */
138
138
  e.head || e,
139
139
  t
140
140
  ), t.sheet;
141
141
  }
142
- function F(e, t, r) {
142
+ function G(e, t, r) {
143
143
  e.insertBefore(t, r || null);
144
144
  }
145
145
  function L(e) {
@@ -182,7 +182,7 @@ function ss(e, t, r) {
182
182
  function as(e) {
183
183
  return e === "" ? null : +e;
184
184
  }
185
- function cn(e) {
185
+ function hn(e) {
186
186
  return Array.from(e.childNodes);
187
187
  }
188
188
  function j(e, t) {
@@ -222,11 +222,11 @@ function ls(e, t) {
222
222
  }
223
223
  )) : (n.src = "about:blank", n.onload = () => {
224
224
  o = Z(n.contentWindow, "resize", t), t();
225
- }), E(e, n), () => {
225
+ }), x(e, n), () => {
226
226
  (i || o && n.contentWindow) && o(), L(n);
227
227
  };
228
228
  }
229
- function hs(e, t, r) {
229
+ function cs(e, t, r) {
230
230
  e.classList.toggle(t, !!r);
231
231
  }
232
232
  function pn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
@@ -250,7 +250,7 @@ function mn(e) {
250
250
  return t >>> 0;
251
251
  }
252
252
  function bn(e, t) {
253
- const r = { stylesheet: hn(t), rules: {} };
253
+ const r = { stylesheet: cn(t), rules: {} };
254
254
  return Ve.set(e, r), r;
255
255
  }
256
256
  function We(e, t, r, n, i, o, a, s = 0) {
@@ -262,11 +262,11 @@ function We(e, t, r, n, i, o, a, s = 0) {
262
262
  l += v * 100 + `%{${a(g, 1 - g)}}
263
263
  `;
264
264
  }
265
- const h = l + `100% {${a(r, 1 - r)}}
266
- }`, c = `__svelte_${mn(h)}_${s}`, p = It(e), { stylesheet: b, rules: d } = Ve.get(p) || bn(p, e);
267
- d[c] || (d[c] = !0, b.insertRule(`@keyframes ${c} ${h}`, b.cssRules.length));
265
+ const c = l + `100% {${a(r, 1 - r)}}
266
+ }`, h = `__svelte_${mn(c)}_${s}`, p = It(e), { stylesheet: b, rules: d } = Ve.get(p) || bn(p, e);
267
+ d[h] || (d[h] = !0, b.insertRule(`@keyframes ${h} ${c}`, b.cssRules.length));
268
268
  const f = e.style.animation || "";
269
- return e.style.animation = `${f ? `${f}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Xe += 1, c;
269
+ return e.style.animation = `${f ? `${f}, ` : ""}${h} ${n}ms linear ${i}ms 1 both`, Xe += 1, h;
270
270
  }
271
271
  function ze(e, t) {
272
272
  const r = (e.style.animation || "").split(", "), n = r.filter(
@@ -283,19 +283,19 @@ function gn() {
283
283
  }), Ve.clear());
284
284
  });
285
285
  }
286
- let Se;
287
- function xe(e) {
288
- Se = e;
286
+ let we;
287
+ function Ee(e) {
288
+ we = e;
289
289
  }
290
290
  function Tr() {
291
- if (!Se)
291
+ if (!we)
292
292
  throw new Error("Function called outside component initialization");
293
- return Se;
293
+ return we;
294
294
  }
295
295
  function yn(e) {
296
296
  Tr().$$.on_mount.push(e);
297
297
  }
298
- function cs(e) {
298
+ function hs(e) {
299
299
  Tr().$$.on_destroy.push(e);
300
300
  }
301
301
  const oe = [], Ze = [];
@@ -313,17 +313,17 @@ let ne = 0;
313
313
  function R() {
314
314
  if (ne !== 0)
315
315
  return;
316
- const e = Se;
316
+ const e = we;
317
317
  do {
318
318
  try {
319
319
  for (; ne < oe.length; ) {
320
320
  const t = oe[ne];
321
- ne++, xe(t), En(t.$$);
321
+ ne++, Ee(t), xn(t.$$);
322
322
  }
323
323
  } catch (t) {
324
324
  throw oe.length = 0, ne = 0, t;
325
325
  }
326
- for (xe(null), oe.length = 0, ne = 0; Ze.length; )
326
+ for (Ee(null), oe.length = 0, ne = 0; Ze.length; )
327
327
  Ze.pop()();
328
328
  for (let t = 0; t < ae.length; t += 1) {
329
329
  const r = ae[t];
@@ -333,16 +333,16 @@ function R() {
333
333
  } while (oe.length);
334
334
  for (; kt.length; )
335
335
  kt.pop()();
336
- pt = !1, ot.clear(), xe(e);
336
+ pt = !1, ot.clear(), Ee(e);
337
337
  }
338
- function En(e) {
338
+ function xn(e) {
339
339
  if (e.fragment !== null) {
340
340
  e.update(), V(e.before_update);
341
341
  const t = e.dirty;
342
342
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ue);
343
343
  }
344
344
  }
345
- function xn(e) {
345
+ function En(e) {
346
346
  const t = [], r = [];
347
347
  ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
348
348
  }
@@ -368,7 +368,7 @@ function fs() {
368
368
  function ps() {
369
369
  U.r || V(U.c), U = U.p;
370
370
  }
371
- function Sn(e, t) {
371
+ function wn(e, t) {
372
372
  e && e.i && (Ue.delete(e), e.i(t));
373
373
  }
374
374
  function ds(e, t, r, n) {
@@ -388,7 +388,7 @@ function ms(e, t, r) {
388
388
  function l() {
389
389
  a && ze(e, a);
390
390
  }
391
- function h() {
391
+ function c() {
392
392
  const {
393
393
  delay: p = 0,
394
394
  duration: b = 300,
@@ -403,20 +403,20 @@ function ms(e, t, r) {
403
403
  if (m >= _)
404
404
  return f(1, 0), K(e, !0, "end"), l(), o = !1;
405
405
  if (m >= g) {
406
- const H = d((m - g) / b);
407
- f(H, 1 - H);
406
+ const P = d((m - g) / b);
407
+ f(P, 1 - P);
408
408
  }
409
409
  }
410
410
  return o;
411
411
  });
412
412
  }
413
- let c = !1;
413
+ let h = !1;
414
414
  return {
415
415
  start() {
416
- c || (c = !0, ze(e), pe(i) ? (i = i(n), Rt().then(h)) : h());
416
+ h || (h = !0, ze(e), pe(i) ? (i = i(n), Rt().then(c)) : c());
417
417
  },
418
418
  invalidate() {
419
- c = !1;
419
+ h = !1;
420
420
  },
421
421
  end() {
422
422
  o && (l(), o = !1);
@@ -431,21 +431,21 @@ function bs(e, t, r) {
431
431
  let u;
432
432
  function l() {
433
433
  const {
434
- delay: h = 0,
435
- duration: c = 300,
434
+ delay: c = 0,
435
+ duration: h = 300,
436
436
  easing: p = Bt,
437
437
  tick: b = B,
438
438
  css: d
439
439
  } = i || $t;
440
- d && (a = We(e, 1, 0, c, h, p, d));
441
- const f = Ot() + h, v = f + c;
440
+ d && (a = We(e, 1, 0, h, c, p, d));
441
+ const f = Ot() + c, v = f + h;
442
442
  ue(() => K(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
443
443
  e.inert, e.inert = !0), Nt((g) => {
444
444
  if (o) {
445
445
  if (g >= v)
446
446
  return b(0, 1), K(e, !1, "end"), --s.r || V(s.c), !1;
447
447
  if (g >= f) {
448
- const _ = p((g - f) / c);
448
+ const _ = p((g - f) / h);
449
449
  b(1 - _, _);
450
450
  }
451
451
  }
@@ -455,14 +455,14 @@ function bs(e, t, r) {
455
455
  return pe(i) ? Rt().then(() => {
456
456
  i = i(n), l();
457
457
  }) : l(), {
458
- end(h) {
459
- h && "inert" in e && (e.inert = u), h && i.tick && i.tick(1, 0), o && (a && ze(e, a), o = !1);
458
+ end(c) {
459
+ c && "inert" in e && (e.inert = u), c && i.tick && i.tick(1, 0), o && (a && ze(e, a), o = !1);
460
460
  }
461
461
  };
462
462
  }
463
463
  function gs(e, t, r, n) {
464
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, h;
465
- function c() {
464
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, c;
465
+ function h() {
466
466
  l && ze(e, l);
467
467
  }
468
468
  function p(d, f) {
@@ -487,13 +487,13 @@ function gs(e, t, r, n) {
487
487
  easing: g = Bt,
488
488
  tick: _ = B,
489
489
  css: m
490
- } = o || $t, H = {
490
+ } = o || $t, P = {
491
491
  start: Ot() + f,
492
492
  b: d
493
493
  };
494
- d || (H.group = U, U.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
495
- e.inert, e.inert = !0)), s || u ? u = H : (m && (c(), l = We(e, a, d, v, f, g, m)), d && _(0, 1), s = p(H, v), ue(() => K(e, d, "start")), Nt((A) => {
496
- if (u && A > u.start && (s = p(u, v), u = null, K(e, s.b, "start"), m && (c(), l = We(
494
+ d || (P.group = U, U.r += 1), "inert" in e && (d ? c !== void 0 && (e.inert = c) : (c = /** @type {HTMLElement} */
495
+ e.inert, e.inert = !0)), s || u ? u = P : (m && (h(), l = We(e, a, d, v, f, g, m)), d && _(0, 1), s = p(P, v), ue(() => K(e, d, "start")), Nt((A) => {
496
+ if (u && A > u.start && (s = p(u, v), u = null, K(e, s.b, "start"), m && (h(), l = We(
497
497
  e,
498
498
  a,
499
499
  s.b,
@@ -503,7 +503,7 @@ function gs(e, t, r, n) {
503
503
  o.css
504
504
  ))), s) {
505
505
  if (A >= s.end)
506
- _(a = s.b, 1 - a), K(e, s.b, "end"), u || (s.b ? c() : --s.group.r || V(s.group.c)), s = null;
506
+ _(a = s.b, 1 - a), K(e, s.b, "end"), u || (s.b ? h() : --s.group.r || V(s.group.c)), s = null;
507
507
  else if (A >= s.start) {
508
508
  const I = A - s.start;
509
509
  a = s.a + s.d * g(I / s.duration), _(a, 1 - a);
@@ -519,7 +519,7 @@ function gs(e, t, r, n) {
519
519
  }) : b(d);
520
520
  },
521
521
  end() {
522
- c(), s = u = null;
522
+ h(), s = u = null;
523
523
  }
524
524
  };
525
525
  }
@@ -529,7 +529,7 @@ function Ie(e) {
529
529
  function ys(e) {
530
530
  e && e.c();
531
531
  }
532
- function wn(e, t, r) {
532
+ function Sn(e, t, r) {
533
533
  const { fragment: n, after_update: i } = e.$$;
534
534
  n && n.m(t, r), ue(() => {
535
535
  const o = e.$$.on_mount.map(yr).filter(pe);
@@ -538,14 +538,14 @@ function wn(e, t, r) {
538
538
  }
539
539
  function Tn(e, t) {
540
540
  const r = e.$$;
541
- r.fragment !== null && (xn(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
541
+ r.fragment !== null && (En(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
542
542
  }
543
- function Hn(e, t) {
543
+ function Pn(e, t) {
544
544
  e.$$.dirty[0] === -1 && (oe.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
545
545
  }
546
- function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
547
- const u = Se;
548
- xe(e);
546
+ function Hn(e, t, r, n, i, o, a = null, s = [-1]) {
547
+ const u = we;
548
+ Ee(e);
549
549
  const l = e.$$ = {
550
550
  fragment: null,
551
551
  ctx: [],
@@ -553,7 +553,7 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
553
553
  props: o,
554
554
  update: B,
555
555
  not_equal: i,
556
- bound: Ft(),
556
+ bound: Gt(),
557
557
  // lifecycle
558
558
  on_mount: [],
559
559
  on_destroy: [],
@@ -562,28 +562,28 @@ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
562
562
  after_update: [],
563
563
  context: new Map(t.context || (u ? u.$$.context : [])),
564
564
  // everything else
565
- callbacks: Ft(),
565
+ callbacks: Gt(),
566
566
  dirty: s,
567
567
  skip_bound: !1,
568
568
  root: t.target || u.$$.root
569
569
  };
570
570
  a && a(l.root);
571
- let h = !1;
572
- if (l.ctx = r ? r(e, t.props || {}, (c, p, ...b) => {
571
+ let c = !1;
572
+ if (l.ctx = r ? r(e, t.props || {}, (h, p, ...b) => {
573
573
  const d = b.length ? b[0] : p;
574
- return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && Hn(e, c)), p;
575
- }) : [], l.update(), h = !0, V(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
574
+ return l.ctx && i(l.ctx[h], l.ctx[h] = d) && (!l.skip_bound && l.bound[h] && l.bound[h](d), c && Pn(e, h)), p;
575
+ }) : [], l.update(), c = !0, V(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
576
576
  if (t.hydrate) {
577
- const c = cn(t.target);
578
- l.fragment && l.fragment.l(c), c.forEach(L);
577
+ const h = hn(t.target);
578
+ l.fragment && l.fragment.l(h), h.forEach(L);
579
579
  } else
580
580
  l.fragment && l.fragment.c();
581
- t.intro && Sn(e.$$.fragment), wn(e, t.target, t.anchor), R();
581
+ t.intro && wn(e.$$.fragment), Sn(e, t.target, t.anchor), R();
582
582
  }
583
- xe(u);
583
+ Ee(u);
584
584
  }
585
- let Hr;
586
- typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
585
+ let Pr;
586
+ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
587
587
  /** The Svelte component constructor */
588
588
  $$ctor;
589
589
  /** Slots */
@@ -632,7 +632,7 @@ typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
632
632
  * @param {HTMLElement} [anchor]
633
633
  */
634
634
  m: function(u, l) {
635
- F(u, o, l);
635
+ G(u, o, l);
636
636
  },
637
637
  d: function(u) {
638
638
  u && L(o);
@@ -647,7 +647,7 @@ typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
647
647
  i in r && (t[i] = [e(i)]);
648
648
  for (const i of this.attributes) {
649
649
  const o = this.$$g_p(i.name);
650
- o in this.$$d || (this.$$d[o] = Fe(o, i.value, this.$$p_d, "toProp"));
650
+ o in this.$$d || (this.$$d[o] = Ge(o, i.value, this.$$p_d, "toProp"));
651
651
  }
652
652
  for (const i in this.$$p_d)
653
653
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -665,7 +665,7 @@ typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
665
665
  this.$$r = !0;
666
666
  for (const i in this.$$p_d)
667
667
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
668
- const o = Fe(
668
+ const o = Ge(
669
669
  i,
670
670
  this.$$d[i],
671
671
  this.$$p_d,
@@ -687,7 +687,7 @@ typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
687
687
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
688
688
  // and setting attributes through setAttribute etc, this is helpful
689
689
  attributeChangedCallback(e, t, r) {
690
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
690
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
691
691
  }
692
692
  disconnectedCallback() {
693
693
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -700,7 +700,7 @@ typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
700
700
  ) || e;
701
701
  }
702
702
  });
703
- function Fe(e, t, r, n) {
703
+ function Ge(e, t, r, n) {
704
704
  const i = r[e]?.type;
705
705
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
706
706
  return t;
@@ -730,7 +730,7 @@ function Fe(e, t, r, n) {
730
730
  }
731
731
  }
732
732
  function Cn(e, t, r, n, i, o) {
733
- let a = class extends Hr {
733
+ let a = class extends Pr {
734
734
  constructor() {
735
735
  super(e, r, i), this.$$p_d = t;
736
736
  }
@@ -746,7 +746,7 @@ function Cn(e, t, r, n, i, o) {
746
746
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
747
747
  },
748
748
  set(u) {
749
- u = Fe(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
749
+ u = Ge(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
750
750
  }
751
751
  });
752
752
  }), n.forEach((s) => {
@@ -844,26 +844,26 @@ function de(e, t, r) {
844
844
  return Bn(r, (a, s) => {
845
845
  let u = !1;
846
846
  const l = [];
847
- let h = 0, c = B;
847
+ let c = 0, h = B;
848
848
  const p = () => {
849
- if (h)
849
+ if (c)
850
850
  return;
851
- c();
851
+ h();
852
852
  const d = t(n ? l[0] : l, a, s);
853
- o ? a(d) : c = pe(d) ? d : B;
853
+ o ? a(d) : h = pe(d) ? d : B;
854
854
  }, b = i.map(
855
855
  (d, f) => _r(
856
856
  d,
857
857
  (v) => {
858
- l[f] = v, h &= ~(1 << f), u && p();
858
+ l[f] = v, c &= ~(1 << f), u && p();
859
859
  },
860
860
  () => {
861
- h |= 1 << f;
861
+ c |= 1 << f;
862
862
  }
863
863
  )
864
864
  );
865
865
  return u = !0, p(), function() {
866
- V(b), c(), u = !1;
866
+ V(b), h(), u = !1;
867
867
  };
868
868
  });
869
869
  }
@@ -888,15 +888,15 @@ function Dn(e) {
888
888
  function Un(e) {
889
889
  return Array.isArray(e) ? [] : {};
890
890
  }
891
- function we(e, t) {
891
+ function Se(e, t) {
892
892
  return t.clone !== !1 && t.isMergeableObject(e) ? le(Un(e), e, t) : e;
893
893
  }
894
- function Fn(e, t, r) {
894
+ function Gn(e, t, r) {
895
895
  return e.concat(t).map(function(n) {
896
- return we(n, r);
896
+ return Se(n, r);
897
897
  });
898
898
  }
899
- function Gn(e, t) {
899
+ function Fn(e, t) {
900
900
  if (!t.customMerge)
901
901
  return le;
902
902
  var r = t.customMerge(e);
@@ -910,7 +910,7 @@ function jn(e) {
910
910
  function Vt(e) {
911
911
  return Object.keys(e).concat(jn(e));
912
912
  }
913
- function Pr(e, t) {
913
+ function Hr(e, t) {
914
914
  try {
915
915
  return t in e;
916
916
  } catch {
@@ -918,20 +918,20 @@ function Pr(e, t) {
918
918
  }
919
919
  }
920
920
  function kn(e, t) {
921
- return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
921
+ return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
922
922
  }
923
923
  function Vn(e, t, r) {
924
924
  var n = {};
925
925
  return r.isMergeableObject(e) && Vt(e).forEach(function(i) {
926
- n[i] = we(e[i], r);
926
+ n[i] = Se(e[i], r);
927
927
  }), Vt(t).forEach(function(i) {
928
- kn(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
928
+ kn(e, i) || (Hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
929
929
  }), n;
930
930
  }
931
931
  function le(e, t, r) {
932
- r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = we;
932
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = Se;
933
933
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
934
- return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : we(t, r);
934
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : Se(t, r);
935
935
  }
936
936
  le.all = function(t, r) {
937
937
  if (!Array.isArray(t))
@@ -1042,50 +1042,50 @@ var qn = function() {
1042
1042
  return t;
1043
1043
  }, Ye.apply(this, arguments);
1044
1044
  };
1045
- var x;
1045
+ var E;
1046
1046
  (function(e) {
1047
1047
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1048
- })(x || (x = {}));
1049
- var P;
1048
+ })(E || (E = {}));
1049
+ var H;
1050
1050
  (function(e) {
1051
1051
  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";
1052
- })(P || (P = {}));
1053
- var he;
1052
+ })(H || (H = {}));
1053
+ var ce;
1054
1054
  (function(e) {
1055
1055
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1056
- })(he || (he = {}));
1056
+ })(ce || (ce = {}));
1057
1057
  function Xt(e) {
1058
- return e.type === P.literal;
1058
+ return e.type === H.literal;
1059
1059
  }
1060
1060
  function ri(e) {
1061
- return e.type === P.argument;
1061
+ return e.type === H.argument;
1062
1062
  }
1063
1063
  function Ar(e) {
1064
- return e.type === P.number;
1064
+ return e.type === H.number;
1065
1065
  }
1066
1066
  function Br(e) {
1067
- return e.type === P.date;
1067
+ return e.type === H.date;
1068
1068
  }
1069
1069
  function Or(e) {
1070
- return e.type === P.time;
1070
+ return e.type === H.time;
1071
1071
  }
1072
1072
  function Lr(e) {
1073
- return e.type === P.select;
1073
+ return e.type === H.select;
1074
1074
  }
1075
1075
  function Nr(e) {
1076
- return e.type === P.plural;
1076
+ return e.type === H.plural;
1077
1077
  }
1078
1078
  function ni(e) {
1079
- return e.type === P.pound;
1079
+ return e.type === H.pound;
1080
1080
  }
1081
1081
  function Ir(e) {
1082
- return e.type === P.tag;
1082
+ return e.type === H.tag;
1083
1083
  }
1084
1084
  function Rr(e) {
1085
- return !!(e && typeof e == "object" && e.type === he.number);
1085
+ return !!(e && typeof e == "object" && e.type === ce.number);
1086
1086
  }
1087
1087
  function mt(e) {
1088
- return !!(e && typeof e == "object" && e.type === he.dateTime);
1088
+ return !!(e && typeof e == "object" && e.type === ce.dateTime);
1089
1089
  }
1090
1090
  var $r = /[ \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;
1091
1091
  function oi(e) {
@@ -1199,9 +1199,9 @@ function ai(e) {
1199
1199
  var o = i[n], a = o.split("/");
1200
1200
  if (a.length === 0)
1201
1201
  throw new Error("Invalid number skeleton");
1202
- for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1203
- var c = h[l];
1204
- if (c.length === 0)
1202
+ for (var s = a[0], u = a.slice(1), l = 0, c = u; l < c.length; l++) {
1203
+ var h = c[l];
1204
+ if (h.length === 0)
1205
1205
  throw new Error("Invalid number skeleton");
1206
1206
  }
1207
1207
  r.push({ stem: s, options: u });
@@ -1218,7 +1218,7 @@ function zt(e) {
1218
1218
  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)), "";
1219
1219
  }), t;
1220
1220
  }
1221
- function Fr(e) {
1221
+ function Gr(e) {
1222
1222
  switch (e) {
1223
1223
  case "sign-auto":
1224
1224
  return {
@@ -1258,7 +1258,7 @@ function Fr(e) {
1258
1258
  };
1259
1259
  }
1260
1260
  }
1261
- function hi(e) {
1261
+ function ci(e) {
1262
1262
  var t;
1263
1263
  if (e[0] === "E" && e[1] === "E" ? (t = {
1264
1264
  notation: "engineering"
@@ -1273,10 +1273,10 @@ function hi(e) {
1273
1273
  return t;
1274
1274
  }
1275
1275
  function Zt(e) {
1276
- var t = {}, r = Fr(e);
1276
+ var t = {}, r = Gr(e);
1277
1277
  return r || t;
1278
1278
  }
1279
- function ci(e) {
1279
+ function hi(e) {
1280
1280
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1281
1281
  var i = n[r];
1282
1282
  switch (i.stem) {
@@ -1362,11 +1362,11 @@ function ci(e) {
1362
1362
  case "integer-width":
1363
1363
  if (i.options.length > 1)
1364
1364
  throw new RangeError("integer-width stems only accept a single optional option");
1365
- i.options[0].replace(li, function(u, l, h, c, p, b) {
1365
+ i.options[0].replace(li, function(u, l, c, h, p, b) {
1366
1366
  if (l)
1367
- t.minimumIntegerDigits = h.length;
1367
+ t.minimumIntegerDigits = c.length;
1368
1368
  else {
1369
- if (c && p)
1369
+ if (h && p)
1370
1370
  throw new Error("We currently do not support maximum integer digits");
1371
1371
  if (b)
1372
1372
  throw new Error("We currently do not support exact integer digits");
@@ -1382,8 +1382,8 @@ function ci(e) {
1382
1382
  if (Wt.test(i.stem)) {
1383
1383
  if (i.options.length > 1)
1384
1384
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1385
- i.stem.replace(Wt, function(u, l, h, c, p, b) {
1386
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && b ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1385
+ i.stem.replace(Wt, function(u, l, c, h, p, b) {
1386
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : p && b ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1387
1387
  });
1388
1388
  var o = i.options[0];
1389
1389
  o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), zt(o)));
@@ -1393,9 +1393,9 @@ function ci(e) {
1393
1393
  t = M(M({}, t), zt(i.stem));
1394
1394
  continue;
1395
1395
  }
1396
- var a = Fr(i.stem);
1396
+ var a = Gr(i.stem);
1397
1397
  a && (t = M(M({}, t), a));
1398
- var s = hi(i.stem);
1398
+ var s = ci(i.stem);
1399
1399
  s && (t = M(M({}, t), s));
1400
1400
  }
1401
1401
  return t;
@@ -2854,15 +2854,15 @@ function pi(e) {
2854
2854
  return i[0];
2855
2855
  }
2856
2856
  var lt, di = new RegExp("^".concat($r.source, "*")), mi = new RegExp("".concat($r.source, "*$"));
2857
- function S(e, t) {
2857
+ function w(e, t) {
2858
2858
  return { start: e, end: t };
2859
2859
  }
2860
- var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, Si = xi ? Number.isSafeInteger : function(e) {
2860
+ var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, xi = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, wi = Ei ? Number.isSafeInteger : function(e) {
2861
2861
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2862
2862
  }, bt = !0;
2863
2863
  try {
2864
- var wi = jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2865
- bt = ((lt = wi.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2864
+ var Si = jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2865
+ bt = ((lt = Si.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2866
2866
  } catch {
2867
2867
  bt = !1;
2868
2868
  }
@@ -2900,7 +2900,7 @@ var Yt = bi ? (
2900
2900
  return r;
2901
2901
  }
2902
2902
  )
2903
- ), Gr = vi ? (
2903
+ ), Fr = vi ? (
2904
2904
  // Native
2905
2905
  function(t, r) {
2906
2906
  return t.codePointAt(r);
@@ -2924,7 +2924,7 @@ var Yt = bi ? (
2924
2924
  function(t) {
2925
2925
  return t.replace(di, "");
2926
2926
  }
2927
- ), Hi = Ei ? (
2927
+ ), Pi = xi ? (
2928
2928
  // Native
2929
2929
  function(t) {
2930
2930
  return t.trimEnd();
@@ -2950,14 +2950,14 @@ if (bt) {
2950
2950
  } else
2951
2951
  yt = function(t, r) {
2952
2952
  for (var n = []; ; ) {
2953
- var i = Gr(t, r);
2953
+ var i = Fr(t, r);
2954
2954
  if (i === void 0 || kr(i) || Ai(i))
2955
2955
  break;
2956
2956
  n.push(i), r += i >= 65536 ? 2 : 1;
2957
2957
  }
2958
2958
  return gt.apply(void 0, n);
2959
2959
  };
2960
- var Pi = (
2960
+ var Hi = (
2961
2961
  /** @class */
2962
2962
  function() {
2963
2963
  function e(t, r) {
@@ -2981,13 +2981,13 @@ var Pi = (
2981
2981
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2982
2982
  var s = this.clonePosition();
2983
2983
  this.bump(), i.push({
2984
- type: P.pound,
2985
- location: S(s, this.clonePosition())
2984
+ type: H.pound,
2985
+ location: w(s, this.clonePosition())
2986
2986
  });
2987
2987
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2988
2988
  if (n)
2989
2989
  break;
2990
- return this.error(x.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
2990
+ return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
2991
2991
  } else if (o === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
2992
2992
  var a = this.parseTag(t, r);
2993
2993
  if (a.err)
@@ -3009,9 +3009,9 @@ var Pi = (
3009
3009
  if (this.bumpSpace(), this.bumpIf("/>"))
3010
3010
  return {
3011
3011
  val: {
3012
- type: P.literal,
3012
+ type: H.literal,
3013
3013
  value: "<".concat(i, "/>"),
3014
- location: S(n, this.clonePosition())
3014
+ location: w(n, this.clonePosition())
3015
3015
  },
3016
3016
  err: null
3017
3017
  };
@@ -3022,21 +3022,21 @@ var Pi = (
3022
3022
  var a = o.val, s = this.clonePosition();
3023
3023
  if (this.bumpIf("</")) {
3024
3024
  if (this.isEOF() || !vt(this.char()))
3025
- return this.error(x.INVALID_TAG, S(s, this.clonePosition()));
3025
+ return this.error(E.INVALID_TAG, w(s, this.clonePosition()));
3026
3026
  var u = this.clonePosition(), l = this.parseTagName();
3027
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3027
+ return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3028
3028
  val: {
3029
- type: P.tag,
3029
+ type: H.tag,
3030
3030
  value: i,
3031
3031
  children: a,
3032
- location: S(n, this.clonePosition())
3032
+ location: w(n, this.clonePosition())
3033
3033
  },
3034
3034
  err: null
3035
- } : this.error(x.INVALID_TAG, S(s, this.clonePosition())));
3035
+ } : this.error(E.INVALID_TAG, w(s, this.clonePosition())));
3036
3036
  } else
3037
- return this.error(x.UNCLOSED_TAG, S(n, this.clonePosition()));
3037
+ return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3038
3038
  } else
3039
- return this.error(x.INVALID_TAG, S(n, this.clonePosition()));
3039
+ return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3040
3040
  }, e.prototype.parseTagName = function() {
3041
3041
  var t = this.offset();
3042
3042
  for (this.bump(); !this.isEOF() && Mi(this.char()); )
@@ -3061,9 +3061,9 @@ var Pi = (
3061
3061
  }
3062
3062
  break;
3063
3063
  }
3064
- var u = S(n, this.clonePosition());
3064
+ var u = w(n, this.clonePosition());
3065
3065
  return {
3066
- val: { type: P.literal, value: i, location: u },
3066
+ val: { type: H.literal, value: i, location: u },
3067
3067
  err: null
3068
3068
  };
3069
3069
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3111,40 +3111,40 @@ var Pi = (
3111
3111
  }, e.prototype.parseArgument = function(t, r) {
3112
3112
  var n = this.clonePosition();
3113
3113
  if (this.bump(), this.bumpSpace(), this.isEOF())
3114
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3114
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3115
3115
  if (this.char() === 125)
3116
- return this.bump(), this.error(x.EMPTY_ARGUMENT, S(n, this.clonePosition()));
3116
+ return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3117
3117
  var i = this.parseIdentifierIfPossible().value;
3118
3118
  if (!i)
3119
- return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3119
+ return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3120
3120
  if (this.bumpSpace(), this.isEOF())
3121
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3121
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3122
3122
  switch (this.char()) {
3123
3123
  case 125:
3124
3124
  return this.bump(), {
3125
3125
  val: {
3126
- type: P.argument,
3126
+ type: H.argument,
3127
3127
  // value does not include the opening and closing braces.
3128
3128
  value: i,
3129
- location: S(n, this.clonePosition())
3129
+ location: w(n, this.clonePosition())
3130
3130
  },
3131
3131
  err: null
3132
3132
  };
3133
3133
  case 44:
3134
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3134
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3135
3135
  default:
3136
- return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3136
+ return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3137
3137
  }
3138
3138
  }, e.prototype.parseIdentifierIfPossible = function() {
3139
3139
  var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
3140
3140
  this.bumpTo(i);
3141
- var o = this.clonePosition(), a = S(t, o);
3141
+ var o = this.clonePosition(), a = w(t, o);
3142
3142
  return { value: n, location: a };
3143
3143
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3144
3144
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3145
3145
  switch (s) {
3146
3146
  case "":
3147
- return this.error(x.EXPECT_ARGUMENT_TYPE, S(a, u));
3147
+ return this.error(E.EXPECT_ARGUMENT_TYPE, w(a, u));
3148
3148
  case "number":
3149
3149
  case "date":
3150
3150
  case "time": {
@@ -3152,38 +3152,38 @@ var Pi = (
3152
3152
  var l = null;
3153
3153
  if (this.bumpIf(",")) {
3154
3154
  this.bumpSpace();
3155
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3156
- if (c.err)
3157
- return c;
3158
- var p = Hi(c.val);
3155
+ var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3156
+ if (h.err)
3157
+ return h;
3158
+ var p = Pi(h.val);
3159
3159
  if (p.length === 0)
3160
- return this.error(x.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3161
- var b = S(h, this.clonePosition());
3160
+ return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3161
+ var b = w(c, this.clonePosition());
3162
3162
  l = { style: p, styleLocation: b };
3163
3163
  }
3164
3164
  var d = this.tryParseArgumentClose(i);
3165
3165
  if (d.err)
3166
3166
  return d;
3167
- var f = S(i, this.clonePosition());
3167
+ var f = w(i, this.clonePosition());
3168
3168
  if (l && Yt(l?.style, "::", 0)) {
3169
3169
  var v = Ti(l.style.slice(2));
3170
3170
  if (s === "number") {
3171
- var c = this.parseNumberSkeletonFromString(v, l.styleLocation);
3172
- return c.err ? c : {
3173
- val: { type: P.number, value: n, location: f, style: c.val },
3171
+ var h = this.parseNumberSkeletonFromString(v, l.styleLocation);
3172
+ return h.err ? h : {
3173
+ val: { type: H.number, value: n, location: f, style: h.val },
3174
3174
  err: null
3175
3175
  };
3176
3176
  } else {
3177
3177
  if (v.length === 0)
3178
- return this.error(x.EXPECT_DATE_TIME_SKELETON, f);
3178
+ return this.error(E.EXPECT_DATE_TIME_SKELETON, f);
3179
3179
  var g = v;
3180
3180
  this.locale && (g = fi(v, this.locale));
3181
3181
  var p = {
3182
- type: he.dateTime,
3182
+ type: ce.dateTime,
3183
3183
  pattern: g,
3184
3184
  location: l.styleLocation,
3185
3185
  parsedOptions: this.shouldParseSkeletons ? oi(g) : {}
3186
- }, _ = s === "date" ? P.date : P.time;
3186
+ }, _ = s === "date" ? H.date : H.time;
3187
3187
  return {
3188
3188
  val: { type: _, value: n, location: f, style: p },
3189
3189
  err: null
@@ -3192,7 +3192,7 @@ var Pi = (
3192
3192
  }
3193
3193
  return {
3194
3194
  val: {
3195
- type: s === "number" ? P.number : s === "date" ? P.date : P.time,
3195
+ type: s === "number" ? H.number : s === "date" ? H.date : H.time,
3196
3196
  value: n,
3197
3197
  location: f,
3198
3198
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -3205,50 +3205,50 @@ var Pi = (
3205
3205
  case "select": {
3206
3206
  var m = this.clonePosition();
3207
3207
  if (this.bumpSpace(), !this.bumpIf(","))
3208
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, S(m, Ye({}, m)));
3208
+ return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(m, Ye({}, m)));
3209
3209
  this.bumpSpace();
3210
- var H = this.parseIdentifierIfPossible(), A = 0;
3211
- if (s !== "select" && H.value === "offset") {
3210
+ var P = this.parseIdentifierIfPossible(), A = 0;
3211
+ if (s !== "select" && P.value === "offset") {
3212
3212
  if (!this.bumpIf(":"))
3213
- return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3213
+ return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3214
3214
  this.bumpSpace();
3215
- var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3216
- if (c.err)
3217
- return c;
3218
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), A = c.val;
3215
+ var h = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3216
+ if (h.err)
3217
+ return h;
3218
+ this.bumpSpace(), P = this.parseIdentifierIfPossible(), A = h.val;
3219
3219
  }
3220
- var I = this.tryParsePluralOrSelectOptions(t, s, r, H);
3220
+ var I = this.tryParsePluralOrSelectOptions(t, s, r, P);
3221
3221
  if (I.err)
3222
3222
  return I;
3223
3223
  var d = this.tryParseArgumentClose(i);
3224
3224
  if (d.err)
3225
3225
  return d;
3226
- var G = S(i, this.clonePosition());
3226
+ var F = w(i, this.clonePosition());
3227
3227
  return s === "select" ? {
3228
3228
  val: {
3229
- type: P.select,
3229
+ type: H.select,
3230
3230
  value: n,
3231
3231
  options: Jt(I.val),
3232
- location: G
3232
+ location: F
3233
3233
  },
3234
3234
  err: null
3235
3235
  } : {
3236
3236
  val: {
3237
- type: P.plural,
3237
+ type: H.plural,
3238
3238
  value: n,
3239
3239
  options: Jt(I.val),
3240
3240
  offset: A,
3241
3241
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3242
- location: G
3242
+ location: F
3243
3243
  },
3244
3244
  err: null
3245
3245
  };
3246
3246
  }
3247
3247
  default:
3248
- return this.error(x.INVALID_ARGUMENT_TYPE, S(a, u));
3248
+ return this.error(E.INVALID_ARGUMENT_TYPE, w(a, u));
3249
3249
  }
3250
3250
  }, e.prototype.tryParseArgumentClose = function(t) {
3251
- return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3251
+ return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3252
3252
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3253
3253
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3254
3254
  var n = this.char();
@@ -3257,7 +3257,7 @@ var Pi = (
3257
3257
  this.bump();
3258
3258
  var i = this.clonePosition();
3259
3259
  if (!this.bumpUntil("'"))
3260
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
3260
+ return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3261
3261
  this.bump();
3262
3262
  break;
3263
3263
  }
@@ -3289,35 +3289,35 @@ var Pi = (
3289
3289
  try {
3290
3290
  n = ai(t);
3291
3291
  } catch {
3292
- return this.error(x.INVALID_NUMBER_SKELETON, r);
3292
+ return this.error(E.INVALID_NUMBER_SKELETON, r);
3293
3293
  }
3294
3294
  return {
3295
3295
  val: {
3296
- type: he.number,
3296
+ type: ce.number,
3297
3297
  tokens: n,
3298
3298
  location: r,
3299
- parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
3299
+ parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
3300
3300
  },
3301
3301
  err: null
3302
3302
  };
3303
3303
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3304
- for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3304
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3305
3305
  if (l.length === 0) {
3306
- var c = this.clonePosition();
3306
+ var h = this.clonePosition();
3307
3307
  if (r !== "select" && this.bumpIf("=")) {
3308
- var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3308
+ var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3309
3309
  if (p.err)
3310
3310
  return p;
3311
- h = S(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3311
+ c = w(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3312
3312
  } else
3313
3313
  break;
3314
3314
  }
3315
3315
  if (u.has(l))
3316
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3316
+ return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3317
3317
  l === "other" && (a = !0), this.bumpSpace();
3318
3318
  var b = this.clonePosition();
3319
3319
  if (!this.bumpIf("{"))
3320
- return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3320
+ return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3321
3321
  var d = this.parseMessage(t + 1, r, n);
3322
3322
  if (d.err)
3323
3323
  return d;
@@ -3328,11 +3328,11 @@ var Pi = (
3328
3328
  l,
3329
3329
  {
3330
3330
  value: d.val,
3331
- location: S(b, this.clonePosition())
3331
+ location: w(b, this.clonePosition())
3332
3332
  }
3333
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3333
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3334
3334
  }
3335
- return s.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(x.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3335
+ return s.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(E.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3336
3336
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3337
3337
  var n = 1, i = this.clonePosition();
3338
3338
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3343,8 +3343,8 @@ var Pi = (
3343
3343
  else
3344
3344
  break;
3345
3345
  }
3346
- var u = S(i, this.clonePosition());
3347
- return o ? (a *= n, Si(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3346
+ var u = w(i, this.clonePosition());
3347
+ return o ? (a *= n, wi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3348
3348
  }, e.prototype.offset = function() {
3349
3349
  return this.position.offset;
3350
3350
  }, e.prototype.isEOF = function() {
@@ -3359,7 +3359,7 @@ var Pi = (
3359
3359
  var t = this.position.offset;
3360
3360
  if (t >= this.message.length)
3361
3361
  throw Error("out of bound");
3362
- var r = Gr(this.message, t);
3362
+ var r = Fr(this.message, t);
3363
3363
  if (r === void 0)
3364
3364
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3365
3365
  return r;
@@ -3436,17 +3436,17 @@ function _t(e) {
3436
3436
  }
3437
3437
  function Bi(e, t) {
3438
3438
  t === void 0 && (t = {}), t = Ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3439
- var r = new Pi(e, t).parse();
3439
+ var r = new Hi(e, t).parse();
3440
3440
  if (r.err) {
3441
- var n = SyntaxError(x[r.err.kind]);
3441
+ var n = SyntaxError(E[r.err.kind]);
3442
3442
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3443
3443
  }
3444
3444
  return t?.captureLocation || _t(r.val), r.val;
3445
3445
  }
3446
- var ce;
3446
+ var he;
3447
3447
  (function(e) {
3448
3448
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3449
- })(ce || (ce = {}));
3449
+ })(he || (he = {}));
3450
3450
  var tt = (
3451
3451
  /** @class */
3452
3452
  function(e) {
@@ -3464,7 +3464,7 @@ var tt = (
3464
3464
  function(e) {
3465
3465
  et(t, e);
3466
3466
  function t(r, n, i, o) {
3467
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3467
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3468
3468
  }
3469
3469
  return t;
3470
3470
  }(tt)
@@ -3473,7 +3473,7 @@ var tt = (
3473
3473
  function(e) {
3474
3474
  et(t, e);
3475
3475
  function t(r, n, i) {
3476
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3476
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), he.INVALID_VALUE, i) || this;
3477
3477
  }
3478
3478
  return t;
3479
3479
  }(tt)
@@ -3482,7 +3482,7 @@ var tt = (
3482
3482
  function(e) {
3483
3483
  et(t, e);
3484
3484
  function t(r, n) {
3485
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3485
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3486
3486
  }
3487
3487
  return t;
3488
3488
  }(tt)
@@ -3499,7 +3499,7 @@ function Ni(e) {
3499
3499
  function Ii(e) {
3500
3500
  return typeof e == "function";
3501
3501
  }
3502
- function Ge(e, t, r, n, i, o, a) {
3502
+ function Fe(e, t, r, n, i, o, a) {
3503
3503
  if (e.length === 1 && Xt(e[0]))
3504
3504
  return [
3505
3505
  {
@@ -3508,61 +3508,61 @@ function Ge(e, t, r, n, i, o, a) {
3508
3508
  }
3509
3509
  ];
3510
3510
  for (var s = [], u = 0, l = e; u < l.length; u++) {
3511
- var h = l[u];
3512
- if (Xt(h)) {
3511
+ var c = l[u];
3512
+ if (Xt(c)) {
3513
3513
  s.push({
3514
3514
  type: O.literal,
3515
- value: h.value
3515
+ value: c.value
3516
3516
  });
3517
3517
  continue;
3518
3518
  }
3519
- if (ni(h)) {
3519
+ if (ni(c)) {
3520
3520
  typeof o == "number" && s.push({
3521
3521
  type: O.literal,
3522
3522
  value: r.getNumberFormat(t).format(o)
3523
3523
  });
3524
3524
  continue;
3525
3525
  }
3526
- var c = h.value;
3527
- if (!(i && c in i))
3528
- throw new Li(c, a);
3529
- var p = i[c];
3530
- if (ri(h)) {
3526
+ var h = c.value;
3527
+ if (!(i && h in i))
3528
+ throw new Li(h, a);
3529
+ var p = i[h];
3530
+ if (ri(c)) {
3531
3531
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
3532
3532
  type: typeof p == "string" ? O.literal : O.object,
3533
3533
  value: p
3534
3534
  });
3535
3535
  continue;
3536
3536
  }
3537
- if (Br(h)) {
3538
- var b = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3537
+ if (Br(c)) {
3538
+ var b = typeof c.style == "string" ? n.date[c.style] : mt(c.style) ? c.style.parsedOptions : void 0;
3539
3539
  s.push({
3540
3540
  type: O.literal,
3541
3541
  value: r.getDateTimeFormat(t, b).format(p)
3542
3542
  });
3543
3543
  continue;
3544
3544
  }
3545
- if (Or(h)) {
3546
- var b = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3545
+ if (Or(c)) {
3546
+ var b = typeof c.style == "string" ? n.time[c.style] : mt(c.style) ? c.style.parsedOptions : n.time.medium;
3547
3547
  s.push({
3548
3548
  type: O.literal,
3549
3549
  value: r.getDateTimeFormat(t, b).format(p)
3550
3550
  });
3551
3551
  continue;
3552
3552
  }
3553
- if (Ar(h)) {
3554
- var b = typeof h.style == "string" ? n.number[h.style] : Rr(h.style) ? h.style.parsedOptions : void 0;
3553
+ if (Ar(c)) {
3554
+ var b = typeof c.style == "string" ? n.number[c.style] : Rr(c.style) ? c.style.parsedOptions : void 0;
3555
3555
  b && b.scale && (p = p * (b.scale || 1)), s.push({
3556
3556
  type: O.literal,
3557
3557
  value: r.getNumberFormat(t, b).format(p)
3558
3558
  });
3559
3559
  continue;
3560
3560
  }
3561
- if (Ir(h)) {
3562
- var d = h.children, f = h.value, v = i[f];
3561
+ if (Ir(c)) {
3562
+ var d = c.children, f = c.value, v = i[f];
3563
3563
  if (!Ii(v))
3564
3564
  throw new Oi(f, "function", a);
3565
- var g = Ge(d, t, r, n, i, o), _ = v(g.map(function(A) {
3565
+ var g = Fe(d, t, r, n, i, o), _ = v(g.map(function(A) {
3566
3566
  return A.value;
3567
3567
  }));
3568
3568
  Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(A) {
@@ -3572,26 +3572,26 @@ function Ge(e, t, r, n, i, o, a) {
3572
3572
  };
3573
3573
  }));
3574
3574
  }
3575
- if (Lr(h)) {
3576
- var m = h.options[p] || h.options.other;
3575
+ if (Lr(c)) {
3576
+ var m = c.options[p] || c.options.other;
3577
3577
  if (!m)
3578
- throw new Qt(h.value, p, Object.keys(h.options), a);
3579
- s.push.apply(s, Ge(m.value, t, r, n, i));
3578
+ throw new Qt(c.value, p, Object.keys(c.options), a);
3579
+ s.push.apply(s, Fe(m.value, t, r, n, i));
3580
3580
  continue;
3581
3581
  }
3582
- if (Nr(h)) {
3583
- var m = h.options["=".concat(p)];
3582
+ if (Nr(c)) {
3583
+ var m = c.options["=".concat(p)];
3584
3584
  if (!m) {
3585
3585
  if (!Intl.PluralRules)
3586
3586
  throw new tt(`Intl.PluralRules is not available in this environment.
3587
3587
  Try polyfilling it using "@formatjs/intl-pluralrules"
3588
- `, ce.MISSING_INTL_API, a);
3589
- var H = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3590
- m = h.options[H] || h.options.other;
3588
+ `, he.MISSING_INTL_API, a);
3589
+ var P = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3590
+ m = c.options[P] || c.options.other;
3591
3591
  }
3592
3592
  if (!m)
3593
- throw new Qt(h.value, p, Object.keys(h.options), a);
3594
- s.push.apply(s, Ge(m.value, t, r, n, i, p - (h.offset || 0)));
3593
+ throw new Qt(c.value, p, Object.keys(c.options), a);
3594
+ s.push.apply(s, Fe(m.value, t, r, n, i, p - (c.offset || 0)));
3595
3595
  continue;
3596
3596
  }
3597
3597
  }
@@ -3607,7 +3607,7 @@ function $i(e, t) {
3607
3607
  return r[n] = Ri(e[n], t[n]), r;
3608
3608
  }, D({}, e)) : e;
3609
3609
  }
3610
- function ht(e) {
3610
+ function ct(e) {
3611
3611
  return {
3612
3612
  create: function() {
3613
3613
  return {
@@ -3632,7 +3632,7 @@ function Di(e) {
3632
3632
  r[n] = arguments[n];
3633
3633
  return new ((t = Intl.NumberFormat).bind.apply(t, st([void 0], r, !1)))();
3634
3634
  }, {
3635
- cache: ht(e.number),
3635
+ cache: ct(e.number),
3636
3636
  strategy: ut.variadic
3637
3637
  }),
3638
3638
  getDateTimeFormat: at(function() {
@@ -3640,7 +3640,7 @@ function Di(e) {
3640
3640
  r[n] = arguments[n];
3641
3641
  return new ((t = Intl.DateTimeFormat).bind.apply(t, st([void 0], r, !1)))();
3642
3642
  }, {
3643
- cache: ht(e.dateTime),
3643
+ cache: ct(e.dateTime),
3644
3644
  strategy: ut.variadic
3645
3645
  }),
3646
3646
  getPluralRules: at(function() {
@@ -3648,7 +3648,7 @@ function Di(e) {
3648
3648
  r[n] = arguments[n];
3649
3649
  return new ((t = Intl.PluralRules).bind.apply(t, st([void 0], r, !1)))();
3650
3650
  }, {
3651
- cache: ht(e.pluralRules),
3651
+ cache: ct(e.pluralRules),
3652
3652
  strategy: ut.variadic
3653
3653
  })
3654
3654
  };
@@ -3667,12 +3667,12 @@ var Vr = (
3667
3667
  var l = o.formatToParts(u);
3668
3668
  if (l.length === 1)
3669
3669
  return l[0].value;
3670
- var h = l.reduce(function(c, p) {
3671
- return !c.length || p.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3670
+ var c = l.reduce(function(h, p) {
3671
+ return !h.length || p.type !== O.literal || typeof h[h.length - 1] != "string" ? h.push(p.value) : h[h.length - 1] += p.value, h;
3672
3672
  }, []);
3673
- return h.length <= 1 ? h[0] || "" : h;
3673
+ return c.length <= 1 ? c[0] || "" : c;
3674
3674
  }, this.formatToParts = function(u) {
3675
- return Ge(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3675
+ return Fe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3676
3676
  }, this.resolvedOptions = function() {
3677
3677
  var u;
3678
3678
  return {
@@ -3786,21 +3786,21 @@ function Ui(e, t) {
3786
3786
  n = void 0;
3787
3787
  return n;
3788
3788
  }
3789
- const z = {}, Fi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Xr = (e, t) => {
3789
+ const z = {}, Gi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Xr = (e, t) => {
3790
3790
  if (t == null)
3791
3791
  return;
3792
3792
  if (t in z && e in z[t])
3793
3793
  return z[t][e];
3794
- const r = Pe(t);
3794
+ const r = He(t);
3795
3795
  for (let n = 0; n < r.length; n++) {
3796
3796
  const i = r[n], o = ji(i, e);
3797
3797
  if (o)
3798
- return Fi(e, t, o);
3798
+ return Gi(e, t, o);
3799
3799
  }
3800
3800
  };
3801
3801
  let Dt;
3802
- const He = qe({});
3803
- function Gi(e) {
3802
+ const Pe = qe({});
3803
+ function Fi(e) {
3804
3804
  return Dt[e] || null;
3805
3805
  }
3806
3806
  function Wr(e) {
@@ -3809,13 +3809,13 @@ function Wr(e) {
3809
3809
  function ji(e, t) {
3810
3810
  if (!Wr(e))
3811
3811
  return null;
3812
- const r = Gi(e);
3812
+ const r = Fi(e);
3813
3813
  return Ui(r, t);
3814
3814
  }
3815
3815
  function ki(e) {
3816
3816
  if (e == null)
3817
3817
  return;
3818
- const t = Pe(e);
3818
+ const t = He(e);
3819
3819
  for (let r = 0; r < t.length; r++) {
3820
3820
  const n = t[r];
3821
3821
  if (Wr(n))
@@ -3823,13 +3823,13 @@ function ki(e) {
3823
3823
  }
3824
3824
  }
3825
3825
  function zr(e, ...t) {
3826
- delete z[e], He.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
3826
+ delete z[e], Pe.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
3827
3827
  }
3828
3828
  de(
3829
- [He],
3829
+ [Pe],
3830
3830
  ([e]) => Object.keys(e)
3831
3831
  );
3832
- He.subscribe((e) => Dt = e);
3832
+ Pe.subscribe((e) => Dt = e);
3833
3833
  const je = {};
3834
3834
  function Vi(e, t) {
3835
3835
  je[e].delete(t), je[e].size === 0 && delete je[e];
@@ -3838,13 +3838,13 @@ function Zr(e) {
3838
3838
  return je[e];
3839
3839
  }
3840
3840
  function Xi(e) {
3841
- return Pe(e).map((t) => {
3841
+ return He(e).map((t) => {
3842
3842
  const r = Zr(t);
3843
3843
  return [t, r ? [...r] : []];
3844
3844
  }).filter(([, t]) => t.length > 0);
3845
3845
  }
3846
3846
  function Je(e) {
3847
- return e == null ? !1 : Pe(e).some(
3847
+ return e == null ? !1 : He(e).some(
3848
3848
  (t) => {
3849
3849
  var r;
3850
3850
  return (r = Zr(t)) == null ? void 0 : r.size;
@@ -3912,7 +3912,7 @@ const Ji = {
3912
3912
  };
3913
3913
  function Ki({ locale: e, id: t }) {
3914
3914
  console.warn(
3915
- `[svelte-i18n] The message "${t}" was not found in "${Pe(
3915
+ `[svelte-i18n] The message "${t}" was not found in "${He(
3916
3916
  e
3917
3917
  ).join('", "')}".${Je(Y()) ? `
3918
3918
 
@@ -3945,7 +3945,7 @@ function qi(e) {
3945
3945
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3946
3946
  )), Object.assign(_e, n, { initialLocale: i }), r && ("number" in r && Object.assign(_e.formats.number, r.number), "date" in r && Object.assign(_e.formats.date, r.date), "time" in r && Object.assign(_e.formats.time, r.time)), Q.set(i);
3947
3947
  }
3948
- const ct = qe(!1);
3948
+ const ht = qe(!1);
3949
3949
  var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
3950
3950
  for (var r in t || (t = {}))
3951
3951
  no.call(t, r) && tr(e, r, t[r]);
@@ -3954,32 +3954,32 @@ var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwn
3954
3954
  io.call(t, r) && tr(e, r, t[r]);
3955
3955
  return e;
3956
3956
  }, so = (e, t) => to(e, ro(t));
3957
- let Et;
3957
+ let xt;
3958
3958
  const Ke = qe(null);
3959
3959
  function rr(e) {
3960
3960
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3961
3961
  }
3962
- function Pe(e, t = fe().fallbackLocale) {
3962
+ function He(e, t = fe().fallbackLocale) {
3963
3963
  const r = rr(e);
3964
3964
  return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
3965
3965
  }
3966
3966
  function Y() {
3967
- return Et ?? void 0;
3967
+ return xt ?? void 0;
3968
3968
  }
3969
3969
  Ke.subscribe((e) => {
3970
- Et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3970
+ xt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3971
3971
  });
3972
3972
  const ao = (e) => {
3973
3973
  if (e && ki(e) && Je(e)) {
3974
3974
  const { loadingDelay: t } = fe();
3975
3975
  let r;
3976
3976
  return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
3977
- () => ct.set(!0),
3977
+ () => ht.set(!0),
3978
3978
  t
3979
- ) : ct.set(!0), Yr(e).then(() => {
3979
+ ) : ht.set(!0), Yr(e).then(() => {
3980
3980
  Ke.set(e);
3981
3981
  }).finally(() => {
3982
- clearTimeout(r), ct.set(!1);
3982
+ clearTimeout(r), ht.set(!1);
3983
3983
  });
3984
3984
  }
3985
3985
  return Ke.set(e);
@@ -4020,14 +4020,14 @@ const Te = (e, t) => {
4020
4020
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4021
4021
  return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4022
4022
  }
4023
- ), ho = rt(
4023
+ ), co = rt(
4024
4024
  (e) => {
4025
4025
  var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4026
4026
  if (r == null)
4027
4027
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4028
4028
  return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4029
4029
  }
4030
- ), co = rt(
4030
+ ), ho = rt(
4031
4031
  (e) => {
4032
4032
  var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4033
4033
  if (r == null)
@@ -4049,14 +4049,14 @@ const Te = (e, t) => {
4049
4049
  } = t, n = me(t, [
4050
4050
  "locale"
4051
4051
  ]);
4052
- return ho(Ut({ locale: r }, n));
4052
+ return co(Ut({ locale: r }, n));
4053
4053
  }, mo = (e = {}) => {
4054
4054
  var t = e, {
4055
4055
  locale: r = Y()
4056
4056
  } = t, n = me(t, [
4057
4057
  "locale"
4058
4058
  ]);
4059
- return co(Ut({ locale: r }, n));
4059
+ return ho(Ut({ locale: r }, n));
4060
4060
  }, bo = rt(
4061
4061
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4062
4062
  (e, t = Y()) => new Vr(e, t, fe().formats, {
@@ -4075,30 +4075,30 @@ const Te = (e, t) => {
4075
4075
  throw new Error(
4076
4076
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4077
4077
  );
4078
- let h = Xr(e, u);
4079
- if (!h)
4080
- h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4081
- else if (typeof h != "string")
4078
+ let c = Xr(e, u);
4079
+ if (!c)
4080
+ c = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4081
+ else if (typeof c != "string")
4082
4082
  return console.warn(
4083
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4084
- ), h;
4083
+ `[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.`
4084
+ ), c;
4085
4085
  if (!s)
4086
- return h;
4087
- let c = h;
4086
+ return c;
4087
+ let h = c;
4088
4088
  try {
4089
- c = bo(h, u).format(s);
4089
+ h = bo(c, u).format(s);
4090
4090
  } catch (p) {
4091
4091
  p instanceof Error && console.warn(
4092
4092
  `[svelte-i18n] Message "${e}" has syntax error:`,
4093
4093
  p.message
4094
4094
  );
4095
4095
  }
4096
- return c;
4097
- }, yo = (e, t) => mo(t).format(e), vo = (e, t) => po(t).format(e), _o = (e, t) => fo(t).format(e), Eo = (e, t = Y()) => Xr(e, t), xo = de([Q, He], () => go);
4096
+ return h;
4097
+ }, yo = (e, t) => mo(t).format(e), vo = (e, t) => po(t).format(e), _o = (e, t) => fo(t).format(e), xo = (e, t = Y()) => Xr(e, t), Eo = de([Q, Pe], () => go);
4098
4098
  de([Q], () => yo);
4099
4099
  de([Q], () => vo);
4100
4100
  de([Q], () => _o);
4101
- de([Q, He], () => Eo);
4101
+ de([Q, Pe], () => xo);
4102
4102
  /*! *****************************************************************************
4103
4103
  Copyright (c) Microsoft Corporation.
4104
4104
 
@@ -4113,24 +4113,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4113
4113
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4114
4114
  PERFORMANCE OF THIS SOFTWARE.
4115
4115
  ***************************************************************************** */
4116
- var xt = function(e, t) {
4117
- return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4116
+ var Et = function(e, t) {
4117
+ return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4118
4118
  r.__proto__ = n;
4119
4119
  } || function(r, n) {
4120
4120
  for (var i in n)
4121
4121
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
4122
- }, xt(e, t);
4122
+ }, Et(e, t);
4123
4123
  };
4124
4124
  function Ce(e, t) {
4125
4125
  if (typeof t != "function" && t !== null)
4126
4126
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4127
- xt(e, t);
4127
+ Et(e, t);
4128
4128
  function r() {
4129
4129
  this.constructor = e;
4130
4130
  }
4131
4131
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
4132
4132
  }
4133
- function St(e) {
4133
+ function wt(e) {
4134
4134
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
4135
4135
  if (r)
4136
4136
  return r.call(e);
@@ -4142,7 +4142,7 @@ function St(e) {
4142
4142
  };
4143
4143
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4144
4144
  }
4145
- function wt(e, t) {
4145
+ function St(e, t) {
4146
4146
  var r = typeof Symbol == "function" && e[Symbol.iterator];
4147
4147
  if (!r)
4148
4148
  return e;
@@ -4186,7 +4186,7 @@ var ft = Qr(function(e) {
4186
4186
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4187
4187
  };
4188
4188
  });
4189
- function Ht(e, t) {
4189
+ function Pt(e, t) {
4190
4190
  if (e) {
4191
4191
  var r = e.indexOf(t);
4192
4192
  0 <= r && e.splice(r, 1);
@@ -4204,7 +4204,7 @@ var nt = function() {
4204
4204
  if (a)
4205
4205
  if (this._parentage = null, Array.isArray(a))
4206
4206
  try {
4207
- for (var s = St(a), u = s.next(); !u.done; u = s.next()) {
4207
+ for (var s = wt(a), u = s.next(); !u.done; u = s.next()) {
4208
4208
  var l = u.value;
4209
4209
  l.remove(this);
4210
4210
  }
@@ -4220,23 +4220,23 @@ var nt = function() {
4220
4220
  }
4221
4221
  else
4222
4222
  a.remove(this);
4223
- var h = this.initialTeardown;
4224
- if (k(h))
4223
+ var c = this.initialTeardown;
4224
+ if (k(c))
4225
4225
  try {
4226
- h();
4226
+ c();
4227
4227
  } catch (f) {
4228
4228
  o = f instanceof ft ? f.errors : [f];
4229
4229
  }
4230
- var c = this._finalizers;
4231
- if (c) {
4230
+ var h = this._finalizers;
4231
+ if (h) {
4232
4232
  this._finalizers = null;
4233
4233
  try {
4234
- for (var p = St(c), b = p.next(); !b.done; b = p.next()) {
4234
+ for (var p = wt(h), b = p.next(); !b.done; b = p.next()) {
4235
4235
  var d = b.value;
4236
4236
  try {
4237
4237
  ir(d);
4238
4238
  } catch (f) {
4239
- o = o ?? [], f instanceof ft ? o = Tt(Tt([], wt(o)), wt(f.errors)) : o.push(f);
4239
+ o = o ?? [], f instanceof ft ? o = Tt(Tt([], St(o)), St(f.errors)) : o.push(f);
4240
4240
  }
4241
4241
  }
4242
4242
  } catch (f) {
@@ -4274,10 +4274,10 @@ var nt = function() {
4274
4274
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4275
4275
  }, e.prototype._removeParent = function(t) {
4276
4276
  var r = this._parentage;
4277
- r === t ? this._parentage = null : Array.isArray(r) && Ht(r, t);
4277
+ r === t ? this._parentage = null : Array.isArray(r) && Pt(r, t);
4278
4278
  }, e.prototype.remove = function(t) {
4279
4279
  var r = this._finalizers;
4280
- r && Ht(r, t), t instanceof e && t._removeParent(this);
4280
+ r && Pt(r, t), t instanceof e && t._removeParent(this);
4281
4281
  }, e.EMPTY = function() {
4282
4282
  var t = new e();
4283
4283
  return t.closed = !0, t;
@@ -4289,13 +4289,13 @@ function en(e) {
4289
4289
  function ir(e) {
4290
4290
  k(e) ? e() : e.unsubscribe();
4291
4291
  }
4292
- var So = {
4292
+ var wo = {
4293
4293
  Promise: void 0
4294
- }, wo = {
4294
+ }, So = {
4295
4295
  setTimeout: function(e, t) {
4296
4296
  for (var r = [], n = 2; n < arguments.length; n++)
4297
4297
  r[n - 2] = arguments[n];
4298
- return setTimeout.apply(void 0, Tt([e, t], wt(r)));
4298
+ return setTimeout.apply(void 0, Tt([e, t], St(r)));
4299
4299
  },
4300
4300
  clearTimeout: function(e) {
4301
4301
  return clearTimeout(e);
@@ -4303,7 +4303,7 @@ var So = {
4303
4303
  delegate: void 0
4304
4304
  };
4305
4305
  function To(e) {
4306
- wo.setTimeout(function() {
4306
+ So.setTimeout(function() {
4307
4307
  throw e;
4308
4308
  });
4309
4309
  }
@@ -4319,7 +4319,7 @@ var tn = function(e) {
4319
4319
  return n.isStopped = !1, r ? (n.destination = r, en(r) && r.add(n)) : n.destination = Co, n;
4320
4320
  }
4321
4321
  return t.create = function(r, n, i) {
4322
- return new Pt(r, n, i);
4322
+ return new Ht(r, n, i);
4323
4323
  }, t.prototype.next = function(r) {
4324
4324
  this.isStopped || this._next(r);
4325
4325
  }, t.prototype.error = function(r) {
@@ -4343,7 +4343,7 @@ var tn = function(e) {
4343
4343
  this.unsubscribe();
4344
4344
  }
4345
4345
  }, t;
4346
- }(nt), Ho = function() {
4346
+ }(nt), Po = function() {
4347
4347
  function e(t) {
4348
4348
  this.partialObserver = t;
4349
4349
  }
@@ -4374,7 +4374,7 @@ var tn = function(e) {
4374
4374
  $e(r);
4375
4375
  }
4376
4376
  }, e;
4377
- }(), Pt = function(e) {
4377
+ }(), Ht = function(e) {
4378
4378
  Ce(t, e);
4379
4379
  function t(r, n, i) {
4380
4380
  var o = e.call(this) || this, a;
@@ -4382,20 +4382,20 @@ var tn = function(e) {
4382
4382
  next: r ?? void 0,
4383
4383
  error: n ?? void 0,
4384
4384
  complete: i ?? void 0
4385
- } : a = r, o.destination = new Ho(a), o;
4385
+ } : a = r, o.destination = new Po(a), o;
4386
4386
  }
4387
4387
  return t;
4388
4388
  }(tn);
4389
4389
  function $e(e) {
4390
4390
  To(e);
4391
4391
  }
4392
- function Po(e) {
4392
+ function Ho(e) {
4393
4393
  throw e;
4394
4394
  }
4395
4395
  var Co = {
4396
4396
  closed: !0,
4397
4397
  next: or,
4398
- error: Po,
4398
+ error: Ho,
4399
4399
  complete: or
4400
4400
  }, Mo = function() {
4401
4401
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
@@ -4418,7 +4418,7 @@ var sr = function() {
4418
4418
  var r = new e();
4419
4419
  return r.source = this, r.operator = t, r;
4420
4420
  }, e.prototype.subscribe = function(t, r, n) {
4421
- var i = this, o = Lo(t) ? t : new Pt(t, r, n);
4421
+ var i = this, o = Lo(t) ? t : new Ht(t, r, n);
4422
4422
  return ke(function() {
4423
4423
  var a = i, s = a.operator, u = a.source;
4424
4424
  o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -4432,7 +4432,7 @@ var sr = function() {
4432
4432
  }, e.prototype.forEach = function(t, r) {
4433
4433
  var n = this;
4434
4434
  return r = ar(r), new r(function(i, o) {
4435
- var a = new Pt({
4435
+ var a = new Ht({
4436
4436
  next: function(s) {
4437
4437
  try {
4438
4438
  t(s);
@@ -4472,7 +4472,7 @@ var sr = function() {
4472
4472
  }();
4473
4473
  function ar(e) {
4474
4474
  var t;
4475
- return (t = e ?? So.Promise) !== null && t !== void 0 ? t : Promise;
4475
+ return (t = e ?? wo.Promise) !== null && t !== void 0 ? t : Promise;
4476
4476
  }
4477
4477
  function Oo(e) {
4478
4478
  return e && k(e.next) && k(e.error) && k(e.complete);
@@ -4503,7 +4503,7 @@ var No = Qr(function(e) {
4503
4503
  if (n._throwIfClosed(), !n.isStopped) {
4504
4504
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4505
4505
  try {
4506
- for (var a = St(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4506
+ for (var a = wt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4507
4507
  var u = s.value;
4508
4508
  u.next(r);
4509
4509
  }
@@ -4553,7 +4553,7 @@ var No = Qr(function(e) {
4553
4553
  }, t.prototype._innerSubscribe = function(r) {
4554
4554
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4555
4555
  return o || a ? qr : (this.currentObservers = null, s.push(r), new nt(function() {
4556
- n.currentObservers = null, Ht(s, r);
4556
+ n.currentObservers = null, Pt(s, r);
4557
4557
  }));
4558
4558
  }, t.prototype._checkFinalizedStatuses = function(r) {
4559
4559
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
@@ -4606,30 +4606,30 @@ var No = Qr(function(e) {
4606
4606
  }, t.prototype._trimBuffer = function() {
4607
4607
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
4608
4608
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4609
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
4610
- l = h;
4609
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
4610
+ l = c;
4611
4611
  l && o.splice(0, l + 1);
4612
4612
  }
4613
4613
  }, t;
4614
4614
  }(rn);
4615
- const lr = [], hr = {}, Ro = (e, t = 0) => {
4615
+ const lr = [], cr = {}, Ro = (e, t = 0) => {
4616
4616
  if (lr.indexOf(e) == -1) {
4617
4617
  const r = new Io(t);
4618
- hr[e] = r, lr.push(e);
4618
+ cr[e] = r, lr.push(e);
4619
4619
  }
4620
- return hr[e];
4620
+ return cr[e];
4621
4621
  };
4622
- let Ct = "en-UK", Mt = "true", Ee = 2, At = "";
4622
+ let Ct = "en-UK", Mt = "true", xe = 2, At = "";
4623
4623
  const $o = (e, t, r, n) => {
4624
- Ct = e || "en-UK", Mt = t || "true", Ee = +n || 2, At = r || "";
4624
+ Ct = e || "en-UK", Mt = t || "true", xe = +n || 2, At = r || "";
4625
4625
  }, De = (e, t) => {
4626
4626
  if (!At)
4627
- return new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).format(e);
4628
- const n = new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).formatToParts(e), i = n.find((u) => u.type === "currency"), a = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4627
+ return new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: xe, minimumFractionDigits: xe }).format(e);
4628
+ const n = new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: xe, minimumFractionDigits: xe }).formatToParts(e), i = n.find((u) => u.type === "currency"), a = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4629
4629
  return At === "before" ? `${i.value} ${a}` : `${a} ${i.value}`;
4630
4630
  };
4631
4631
  window.emWidgets = { topic: Ro };
4632
- const cr = (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)), _s = {
4632
+ const hr = (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)), _s = {
4633
4633
  AED: "د.إ",
4634
4634
  AFN: "؋",
4635
4635
  ALL: "L",
@@ -4808,6 +4808,8 @@ function Do(e, t) {
4808
4808
  }
4809
4809
  }
4810
4810
  function Uo(e, t) {
4811
+ if (!e || !t)
4812
+ return;
4811
4813
  const r = new URL(t);
4812
4814
  fetch(r.href).then((n) => n.text()).then((n) => {
4813
4815
  const i = document.createElement("style");
@@ -4816,7 +4818,7 @@ function Uo(e, t) {
4816
4818
  console.error("There was an error while trying to load client styling from URL", n);
4817
4819
  });
4818
4820
  }
4819
- function Fo(e, t, r) {
4821
+ function Go(e, t, r) {
4820
4822
  if (window.emMessageBus) {
4821
4823
  const n = document.createElement("style");
4822
4824
  window.emMessageBus.subscribe(t, (i) => {
@@ -4827,7 +4829,7 @@ function Fo(e, t, r) {
4827
4829
  function fr(e, t) {
4828
4830
  zr(e, t);
4829
4831
  }
4830
- function Go(e) {
4832
+ function Fo(e) {
4831
4833
  qi({
4832
4834
  fallbackLocale: "en"
4833
4835
  }), Q.set(e);
@@ -4865,7 +4867,7 @@ const pr = {
4865
4867
  }
4866
4868
  };
4867
4869
  function jo(e) {
4868
- ln(e, "svelte-1eizeoy", '*,*::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}.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-around;align-items:center}.Carousel{display:flex;gap:10px;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}.VisualDotIndicator .Dot.active{opacity:1;width:30px}.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}.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 img{height:36px;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{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4870
+ ln(e, "svelte-juc8w8", '*,*::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}.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{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4869
4871
  }
4870
4872
  function dr(e, t, r) {
4871
4873
  const n = e.slice();
@@ -4885,7 +4887,7 @@ function ko(e) {
4885
4887
  t = T("p"), n = N(r), C(t, "class", "NoFavoritePaymentMethods");
4886
4888
  },
4887
4889
  m(i, o) {
4888
- F(i, t, o), E(t, n);
4890
+ G(i, t, o), x(t, n);
4889
4891
  },
4890
4892
  p(i, o) {
4891
4893
  o[0] & /*$_*/
@@ -4898,13 +4900,13 @@ function ko(e) {
4898
4900
  };
4899
4901
  }
4900
4902
  function Vo(e) {
4901
- let t, r = !cr(
4903
+ let t, r = !hr(
4902
4904
  /*userAgent*/
4903
4905
  e[5]
4904
- ), n, i, o, a = !cr(
4906
+ ), n, i, o, a = !hr(
4905
4907
  /*userAgent*/
4906
4908
  e[5]
4907
- ), s, u, l, h, c = r && Xo(e), p = Ie(
4909
+ ), s, u, l, c, h = r && Xo(e), p = Ie(
4908
4910
  /*promotedPaymentMethods*/
4909
4911
  e[2]
4910
4912
  ), b = [];
@@ -4918,7 +4920,7 @@ function Vo(e) {
4918
4920
  v[g] = gr(dr(e, f, g));
4919
4921
  return {
4920
4922
  c() {
4921
- t = T("div"), c && c.c(), n = $(), i = T("div");
4923
+ t = T("div"), h && h.c(), n = $(), i = T("div");
4922
4924
  for (let g = 0; g < b.length; g += 1)
4923
4925
  b[g].c();
4924
4926
  o = $(), d && d.c(), s = $(), u = T("div");
@@ -4927,13 +4929,13 @@ function Vo(e) {
4927
4929
  C(i, "class", "Carousel"), C(t, "class", "CarouselCardsContainer"), C(u, "class", "VisualDotIndicator");
4928
4930
  },
4929
4931
  m(g, _) {
4930
- F(g, t, _), c && c.m(t, null), E(t, n), E(t, i);
4932
+ G(g, t, _), h && h.m(t, null), x(t, n), x(t, i);
4931
4933
  for (let m = 0; m < b.length; m += 1)
4932
4934
  b[m] && b[m].m(i, null);
4933
- e[22](i), E(t, o), d && d.m(t, null), F(g, s, _), F(g, u, _);
4935
+ e[22](i), x(t, o), d && d.m(t, null), G(g, s, _), G(g, u, _);
4934
4936
  for (let m = 0; m < v.length; m += 1)
4935
4937
  v[m] && v[m].m(u, null);
4936
- l || (h = [
4938
+ l || (c = [
4937
4939
  Z(
4938
4940
  i,
4939
4941
  "touchstart",
@@ -4955,7 +4957,7 @@ function Vo(e) {
4955
4957
  ], l = !0);
4956
4958
  },
4957
4959
  p(g, _) {
4958
- if (r && c.p(g, _), _[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4960
+ if (r && h.p(g, _), _[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4959
4961
  92) {
4960
4962
  p = Ie(
4961
4963
  /*promotedPaymentMethods*/
@@ -4963,8 +4965,8 @@ function Vo(e) {
4963
4965
  );
4964
4966
  let m;
4965
4967
  for (m = 0; m < p.length; m += 1) {
4966
- const H = mr(g, p, m);
4967
- b[m] ? b[m].p(H, _) : (b[m] = br(H), b[m].c(), b[m].m(i, null));
4968
+ const P = mr(g, p, m);
4969
+ b[m] ? b[m].p(P, _) : (b[m] = br(P), b[m].c(), b[m].m(i, null));
4968
4970
  }
4969
4971
  for (; m < b.length; m += 1)
4970
4972
  b[m].d(1);
@@ -4978,8 +4980,8 @@ function Vo(e) {
4978
4980
  ));
4979
4981
  let m;
4980
4982
  for (m = 0; m < f.length; m += 1) {
4981
- const H = dr(g, f, m);
4982
- v[m] ? v[m].p(H, _) : (v[m] = gr(H), v[m].c(), v[m].m(u, null));
4983
+ const P = dr(g, f, m);
4984
+ v[m] ? v[m].p(P, _) : (v[m] = gr(P), v[m].c(), v[m].m(u, null));
4983
4985
  }
4984
4986
  for (; m < v.length; m += 1)
4985
4987
  v[m].d(1);
@@ -4987,7 +4989,7 @@ function Vo(e) {
4987
4989
  }
4988
4990
  },
4989
4991
  d(g) {
4990
- g && (L(t), L(s), L(u)), c && c.d(), jt(b, g), e[22](null), d && d.d(), jt(v, g), l = !1, V(h);
4992
+ g && (L(t), L(s), L(u)), h && h.d(), jt(b, g), e[22](null), d && d.d(), jt(v, g), l = !1, V(c);
4991
4993
  }
4992
4994
  };
4993
4995
  }
@@ -4995,10 +4997,10 @@ function Xo(e) {
4995
4997
  let t, r, n;
4996
4998
  return {
4997
4999
  c() {
4998
- t = T("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="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" fill="white" fill-opacity="0.6"></path></svg>', C(t, "class", "NavigationArrow");
5000
+ t = T("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>', C(t, "class", "NavigationArrow Left");
4999
5001
  },
5000
5002
  m(i, o) {
5001
- F(i, t, o), r || (n = Z(
5003
+ G(i, t, o), r || (n = Z(
5002
5004
  t,
5003
5005
  "click",
5004
5006
  /*click_handler*/
@@ -5012,18 +5014,18 @@ function Xo(e) {
5012
5014
  };
5013
5015
  }
5014
5016
  function br(e) {
5015
- let t, r, n, i, o, a, s, u, l, h = (
5017
+ let t, r, n, i, o, a, s, u, l, c = (
5016
5018
  /*method*/
5017
5019
  (e[39].Label || /*method*/
5018
5020
  e[39].Name) + ""
5019
- ), c, p, b, d, f = (
5021
+ ), h, p, b, d, f = (
5020
5022
  /*$_*/
5021
5023
  e[4](`${/*method*/
5022
5024
  e[39].ProcessingTime}`) + ""
5023
- ), v, g, _, m, H = (
5025
+ ), v, g, _, m, P = (
5024
5026
  /*$_*/
5025
5027
  e[4]("generalMin") + ""
5026
- ), A, I, G = De(
5028
+ ), A, I, F = De(
5027
5029
  /*method*/
5028
5030
  e[39].DisplayCurrency.MinAmountLimit,
5029
5031
  /*method*/
@@ -5050,43 +5052,43 @@ function br(e) {
5050
5052
  }
5051
5053
  return {
5052
5054
  c() {
5053
- t = T("div"), r = T("div"), n = T("img"), a = $(), s = T("div"), u = T("div"), l = T("span"), c = N(h), p = $(), b = T("div"), d = T("span"), v = N(f), g = $(), _ = T("div"), m = T("span"), A = N(H), I = $(), q = N(G), X = N(" / "), be = N(ee), Me = $(), J = N(te), Ae = $(), Gt(n.src, i = /*method*/
5055
+ t = T("div"), r = T("div"), n = T("img"), a = $(), s = T("div"), u = T("div"), l = T("span"), h = N(c), p = $(), b = T("div"), d = T("span"), v = N(f), g = $(), _ = T("div"), m = T("span"), A = N(P), I = $(), q = N(F), X = N(" / "), be = N(ee), Me = $(), J = N(te), Ae = $(), Ft(n.src, i = /*method*/
5054
5056
  e[39].LogoUrl) || C(n, "src", i), C(n, "alt", o = /*method*/
5055
5057
  e[39].Label), C(r, "class", "MethodLogo"), C(u, "class", "MethodTitle"), C(b, "class", "MethodProcessingTime"), C(m, "class", "Limits"), C(_, "class", "MethodLimits"), C(s, "class", "MethodInfo"), C(t, "class", re = `CarouselCardWrapper ${/*index*/
5056
5058
  e[38] === /*activeIndex*/
5057
5059
  e[3] ? "active" : ""}`);
5058
5060
  },
5059
- m(y, w) {
5060
- F(y, t, w), E(t, r), E(r, n), E(t, a), E(t, s), E(s, u), E(u, l), E(l, c), E(s, p), E(s, b), E(b, d), E(d, v), E(s, g), E(s, _), E(_, m), E(m, A), E(m, I), E(m, q), E(m, X), E(m, be), E(m, Me), E(m, J), E(t, Ae), ge || (Be = Z(t, "click", it), ge = !0);
5061
+ m(y, S) {
5062
+ G(y, t, S), x(t, r), x(r, n), x(t, a), x(t, s), x(s, u), x(u, l), x(l, h), x(s, p), x(s, b), x(b, d), x(d, v), x(s, g), x(s, _), x(_, m), x(m, A), x(m, I), x(m, q), x(m, X), x(m, be), x(m, Me), x(m, J), x(t, Ae), ge || (Be = Z(t, "click", it), ge = !0);
5061
5063
  },
5062
- p(y, w) {
5063
- e = y, w[0] & /*promotedPaymentMethods*/
5064
- 4 && !Gt(n.src, i = /*method*/
5065
- e[39].LogoUrl) && C(n, "src", i), w[0] & /*promotedPaymentMethods*/
5064
+ p(y, S) {
5065
+ e = y, S[0] & /*promotedPaymentMethods*/
5066
+ 4 && !Ft(n.src, i = /*method*/
5067
+ e[39].LogoUrl) && C(n, "src", i), S[0] & /*promotedPaymentMethods*/
5066
5068
  4 && o !== (o = /*method*/
5067
- e[39].Label) && C(n, "alt", o), w[0] & /*promotedPaymentMethods*/
5068
- 4 && h !== (h = /*method*/
5069
+ e[39].Label) && C(n, "alt", o), S[0] & /*promotedPaymentMethods*/
5070
+ 4 && c !== (c = /*method*/
5069
5071
  (e[39].Label || /*method*/
5070
- e[39].Name) + "") && j(c, h), w[0] & /*$_, promotedPaymentMethods*/
5072
+ e[39].Name) + "") && j(h, c), S[0] & /*$_, promotedPaymentMethods*/
5071
5073
  20 && f !== (f = /*$_*/
5072
5074
  e[4](`${/*method*/
5073
- e[39].ProcessingTime}`) + "") && j(v, f), w[0] & /*$_*/
5074
- 16 && H !== (H = /*$_*/
5075
- e[4]("generalMin") + "") && j(A, H), w[0] & /*promotedPaymentMethods*/
5076
- 4 && G !== (G = De(
5075
+ e[39].ProcessingTime}`) + "") && j(v, f), S[0] & /*$_*/
5076
+ 16 && P !== (P = /*$_*/
5077
+ e[4]("generalMin") + "") && j(A, P), S[0] & /*promotedPaymentMethods*/
5078
+ 4 && F !== (F = De(
5077
5079
  /*method*/
5078
5080
  e[39].DisplayCurrency.MinAmountLimit,
5079
5081
  /*method*/
5080
5082
  e[39].DisplayCurrency.Name
5081
- ) + "") && j(q, G), w[0] & /*$_*/
5083
+ ) + "") && j(q, F), S[0] & /*$_*/
5082
5084
  16 && ee !== (ee = /*$_*/
5083
- e[4]("generalMax") + "") && j(be, ee), w[0] & /*promotedPaymentMethods*/
5085
+ e[4]("generalMax") + "") && j(be, ee), S[0] & /*promotedPaymentMethods*/
5084
5086
  4 && te !== (te = De(
5085
5087
  /*method*/
5086
5088
  e[39].DisplayCurrency.MaxAmountLimit,
5087
5089
  /*method*/
5088
5090
  e[39].DisplayCurrency.Name
5089
- ) + "") && j(J, te), w[0] & /*activeIndex*/
5091
+ ) + "") && j(J, te), S[0] & /*activeIndex*/
5090
5092
  8 && re !== (re = `CarouselCardWrapper ${/*index*/
5091
5093
  e[38] === /*activeIndex*/
5092
5094
  e[3] ? "active" : ""}`) && C(t, "class", re);
@@ -5100,10 +5102,10 @@ function Wo(e) {
5100
5102
  let t, r, n;
5101
5103
  return {
5102
5104
  c() {
5103
- t = T("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" fill="white" fill-opacity="0.6"></path></svg>', C(t, "class", "NavigationArrow");
5105
+ t = T("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>', C(t, "class", "NavigationArrow Right");
5104
5106
  },
5105
5107
  m(i, o) {
5106
- F(i, t, o), r || (n = Z(
5108
+ G(i, t, o), r || (n = Z(
5107
5109
  t,
5108
5110
  "click",
5109
5111
  /*click_handler_2*/
@@ -5125,7 +5127,7 @@ function gr(e) {
5125
5127
  e[3] ? "active" : ""}`);
5126
5128
  },
5127
5129
  m(n, i) {
5128
- F(n, t, i);
5130
+ G(n, t, i);
5129
5131
  },
5130
5132
  p(n, i) {
5131
5133
  i[0] & /*activeIndex*/
@@ -5145,7 +5147,7 @@ function zo(e) {
5145
5147
  ), a, s, u, l = (
5146
5148
  /*$_*/
5147
5149
  e[4]("carouselSubtitle") + ""
5148
- ), h, c;
5150
+ ), c, h;
5149
5151
  function p(f, v) {
5150
5152
  return (
5151
5153
  /*promotedPaymentMethods*/
@@ -5155,17 +5157,17 @@ function zo(e) {
5155
5157
  let b = p(e), d = b(e);
5156
5158
  return {
5157
5159
  c() {
5158
- t = T("div"), r = T("div"), n = T("div"), i = T("h4"), a = N(o), s = $(), u = T("p"), h = N(l), c = $(), d.c(), C(n, "class", "CarouselHeader"), C(r, "class", "CashierCarouselWarpper");
5160
+ t = T("div"), r = T("div"), n = T("div"), i = T("h4"), a = N(o), s = $(), u = T("p"), c = N(l), h = $(), d.c(), C(n, "class", "CarouselHeader"), C(r, "class", "CashierCarouselWarpper");
5159
5161
  },
5160
5162
  m(f, v) {
5161
- F(f, t, v), E(t, r), E(r, n), E(n, i), E(i, a), E(n, s), E(n, u), E(u, h), E(r, c), d.m(r, null), e[24](t);
5163
+ G(f, t, v), x(t, r), x(r, n), x(n, i), x(i, a), x(n, s), x(n, u), x(u, c), x(r, h), d.m(r, null), e[24](t);
5162
5164
  },
5163
5165
  p(f, v) {
5164
5166
  v[0] & /*$_*/
5165
5167
  16 && o !== (o = /*$_*/
5166
5168
  f[4]("carouselTitle") + "") && j(a, o), v[0] & /*$_*/
5167
5169
  16 && l !== (l = /*$_*/
5168
- f[4]("carouselSubtitle") + "") && j(h, l), b === (b = p(f)) && d ? d.p(f, v) : (d.d(1), d = b(f), d && (d.c(), d.m(r, null)));
5170
+ f[4]("carouselSubtitle") + "") && j(c, l), b === (b = p(f)) && d ? d.p(f, v) : (d.d(1), d = b(f), d && (d.c(), d.m(r, null)));
5169
5171
  },
5170
5172
  i: B,
5171
5173
  o: B,
@@ -5176,8 +5178,8 @@ function zo(e) {
5176
5178
  }
5177
5179
  function Zo(e, t, r) {
5178
5180
  let n;
5179
- un(e, xo, (y) => r(4, n = y));
5180
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c = "" } = t, { translationurl: p = "" } = t, b, d = [], f = 0, v = !0, g = 0, _ = !1, m, H = window.navigator.userAgent;
5181
+ un(e, Eo, (y) => r(4, n = y));
5182
+ let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h = "" } = t, { translationurl: p = "" } = t, b, d = [], f = 0, v = !0, g = 0, _ = !1, m, P = window.navigator.userAgent;
5181
5183
  const A = (y) => {
5182
5184
  y.data && y.data.type === "PromotedPaymentMethods" && (r(2, d = y.data.promotedPaymentMethods), r(3, f = Math.floor((d.length - 1) / 2)));
5183
5185
  };
@@ -5187,17 +5189,17 @@ function Zo(e, t, r) {
5187
5189
  const I = () => {
5188
5190
  let y = p;
5189
5191
  if (y)
5190
- return fetch(y).then((w) => w.json()).then((w) => {
5191
- Object.keys(w).forEach((W) => {
5192
- fr(W, w[W]);
5192
+ return fetch(y).then((S) => S.json()).then((S) => {
5193
+ Object.keys(S).forEach((W) => {
5194
+ fr(W, S[W]);
5193
5195
  });
5194
- }).catch((w) => {
5195
- console.log(w);
5196
+ }).catch((S) => {
5197
+ console.log(S);
5196
5198
  });
5197
- }, G = () => {
5198
- Go(i);
5199
- }, q = (y, w) => {
5200
- r(3, f = w), r(1, m.style.transform = X(), m), y.Name, window.postMessage({ type: "SelectPayMeth", details: y }, window.location.href), dispatchEvent(new CustomEvent(
5199
+ }, F = () => {
5200
+ Fo(i);
5201
+ }, q = (y, S) => {
5202
+ r(3, f = S), r(1, m.style.transform = X(), m), y.Name, window.postMessage({ type: "SelectPayMeth", details: y }, window.location.href), dispatchEvent(new CustomEvent(
5201
5203
  "selectPayMeth",
5202
5204
  {
5203
5205
  detail: y,
@@ -5214,13 +5216,13 @@ function Zo(e, t, r) {
5214
5216
  }, be = (y) => {
5215
5217
  if (!_)
5216
5218
  return;
5217
- const w = y.touches[0].clientX;
5218
- Math.abs(w - g) > 10 && y.preventDefault();
5219
+ const S = y.touches[0].clientX;
5220
+ Math.abs(S - g) > 10 && y.preventDefault();
5219
5221
  }, Me = (y) => {
5220
5222
  if (!_)
5221
5223
  return;
5222
5224
  _ = !1, m.classList.remove("dragging");
5223
- const w = y.changedTouches[0].clientX, W = g - w;
5225
+ const S = y.changedTouches[0].clientX, W = g - S;
5224
5226
  Math.abs(W) > 50 && (W > 0 && f < d.length - 1 ? r(3, f++, f) : W < 0 && f > 0 && r(3, f--, f), r(1, m.style.transform = X(), m));
5225
5227
  }, te = () => {
5226
5228
  v && (r(1, m.style.transform = X(), m), v = !1);
@@ -5230,7 +5232,7 @@ function Zo(e, t, r) {
5230
5232
  yn(() => ($o(o, a, s, u), window.addEventListener("message", A), m && X(), () => {
5231
5233
  window.removeEventListener("message", A);
5232
5234
  }));
5233
- const Ae = () => J("prev"), re = (y, w) => q(y, w);
5235
+ const Ae = () => J("prev"), re = (y, S) => q(y, S);
5234
5236
  function ge(y) {
5235
5237
  Ze[y ? "unshift" : "push"](() => {
5236
5238
  m = y, r(1, m);
@@ -5243,22 +5245,22 @@ function Zo(e, t, r) {
5243
5245
  });
5244
5246
  }
5245
5247
  return e.$$set = (y) => {
5246
- "lang" in y && r(11, i = y.lang), "local" in y && r(12, o = y.local), "currencysymbol" in y && r(13, a = y.currencysymbol), "currencyposition" in y && r(14, s = y.currencyposition), "currencydecimals" in y && r(15, u = y.currencydecimals), "clientstyling" in y && r(16, l = y.clientstyling), "clientstylingurl" in y && r(17, h = y.clientstylingurl), "mbsource" in y && r(18, c = y.mbsource), "translationurl" in y && r(19, p = y.translationurl);
5248
+ "lang" in y && r(11, i = y.lang), "local" in y && r(12, o = y.local), "currencysymbol" in y && r(13, a = y.currencysymbol), "currencyposition" in y && r(14, s = y.currencyposition), "currencydecimals" in y && r(15, u = y.currencydecimals), "clientstyling" in y && r(16, l = y.clientstyling), "clientstylingurl" in y && r(17, c = y.clientstylingurl), "mbsource" in y && r(18, h = y.mbsource), "translationurl" in y && r(19, p = y.translationurl);
5247
5249
  }, e.$$.update = () => {
5248
5250
  e.$$.dirty[0] & /*lang*/
5249
- 2048 && i && G(), e.$$.dirty[0] & /*lang, translationurl*/
5251
+ 2048 && i && F(), e.$$.dirty[0] & /*lang, translationurl*/
5250
5252
  526336 && i && p && I(), e.$$.dirty[0] & /*carouselContainer*/
5251
5253
  2 && m && te(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5252
5254
  65537 && l && b && Do(b, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5253
- 131073 && h && b && Uo(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5254
- 262145 && c && b && Fo(b, `${c}.Style`);
5255
+ 131073 && c && b && Uo(b, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5256
+ 262145 && h && b && Go(b, `${h}.Style`);
5255
5257
  }, [
5256
5258
  b,
5257
5259
  m,
5258
5260
  d,
5259
5261
  f,
5260
5262
  n,
5261
- H,
5263
+ P,
5262
5264
  q,
5263
5265
  ee,
5264
5266
  be,
@@ -5270,8 +5272,8 @@ function Zo(e, t, r) {
5270
5272
  s,
5271
5273
  u,
5272
5274
  l,
5273
- h,
5274
5275
  c,
5276
+ h,
5275
5277
  p,
5276
5278
  Ae,
5277
5279
  re,
@@ -5282,7 +5284,7 @@ function Zo(e, t, r) {
5282
5284
  }
5283
5285
  class on extends Mn {
5284
5286
  constructor(t) {
5285
- super(), Pn(
5287
+ super(), Hn(
5286
5288
  this,
5287
5289
  t,
5288
5290
  Zo,
@@ -5359,7 +5361,7 @@ class on extends Mn {
5359
5361
  }
5360
5362
  }
5361
5363
  Cn(on, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5362
- const Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5364
+ const xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5363
5365
  __proto__: null,
5364
5366
  default: on
5365
5367
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5368,16 +5370,16 @@ export {
5368
5370
  ss as A,
5369
5371
  Do as B,
5370
5372
  Uo as C,
5371
- Fo as D,
5373
+ Go as D,
5372
5374
  Cn as E,
5373
- xo as F,
5375
+ Eo as F,
5374
5376
  B as G,
5375
5377
  qe as H,
5376
5378
  On as I,
5377
5379
  vs as J,
5378
5380
  ue as K,
5379
5381
  rs as L,
5380
- cr as M,
5382
+ hr as M,
5381
5383
  $o as N,
5382
5384
  as as O,
5383
5385
  ns as P,
@@ -5386,7 +5388,7 @@ export {
5386
5388
  Mn as S,
5387
5389
  jt as T,
5388
5390
  os as U,
5389
- hs as V,
5391
+ cs as V,
5390
5392
  V as W,
5391
5393
  us as X,
5392
5394
  _s as Y,
@@ -5396,25 +5398,25 @@ export {
5396
5398
  ps as a0,
5397
5399
  gs as a1,
5398
5400
  ls as a2,
5399
- cs as a3,
5401
+ hs as a3,
5400
5402
  bs as a4,
5401
5403
  ms as a5,
5402
5404
  ts as a6,
5403
5405
  Tn as a7,
5404
- wn as a8,
5406
+ Sn as a8,
5405
5407
  ys as a9,
5406
- Es as aa,
5407
- Pn as b,
5408
+ xs as aa,
5409
+ Hn as b,
5408
5410
  ln as c,
5409
5411
  Ko as d,
5410
5412
  L as e,
5411
5413
  R as f,
5412
- Sn as g,
5414
+ wn as g,
5413
5415
  es as h,
5414
5416
  qi as i,
5415
5417
  Qo as j,
5416
- F as k,
5417
- E as l,
5418
+ G as k,
5419
+ x as l,
5418
5420
  T as m,
5419
5421
  $ as n,
5420
5422
  C as o,
@@ -5428,5 +5430,5 @@ export {
5428
5430
  N as w,
5429
5431
  Z as x,
5430
5432
  Ze as y,
5431
- Gt as z
5433
+ Ft as z
5432
5434
  };