@everymatrix/cashier-page 1.69.104 → 1.69.123

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 (92) hide show
  1. package/components/CashierCarousel-Bmkxhtnm.cjs +23 -0
  2. package/components/{CashierCarousel-6PpXL5Qp.js → CashierCarousel-D_wSKCMs.js} +752 -716
  3. package/components/{CashierCarousel-CukH4aEC.js → CashierCarousel-U2ysEkZo.js} +668 -632
  4. package/components/{CashierError-BbxnJqdU.cjs → CashierError-Cwm9eY8c.cjs} +1 -1
  5. package/components/{CashierError-CfHBjTAV.js → CashierError-D2jZsClG.js} +2 -2
  6. package/components/{CashierError-DUp1jL7u.js → CashierError-ZLpQCZ7N.js} +2 -2
  7. package/components/{CashierHeader-DppgdJvh.js → CashierHeader-BCCA_87T.js} +1 -1
  8. package/components/{CashierHeader-BAQT942H.cjs → CashierHeader-D40gryOj.cjs} +1 -1
  9. package/components/{CashierHeader-mNIfX_8X.js → CashierHeader-DyFARvnF.js} +1 -1
  10. package/components/{CashierIframeRedirect-D16g3FOL.cjs → CashierIframeRedirect-BKExS9o2.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-CUNGOWqF.js → CashierIframeRedirect-BMGvaxHv.js} +3 -3
  12. package/components/{CashierIframeRedirect-OFn0nnKy.js → CashierIframeRedirect-Hz0t-XHA.js} +3 -3
  13. package/components/CashierMethodDetails-D0wpum5b.js +9564 -0
  14. package/components/CashierMethodDetails-FeiyXoHw.js +9523 -0
  15. package/components/CashierMethodDetails-ziUU0Tui.cjs +85 -0
  16. package/components/CashierMethodsList-CI_1-_NW.js +737 -0
  17. package/components/CashierMethodsList-PbOH7p79.cjs +1 -0
  18. package/components/CashierMethodsList-WQndorD0.js +725 -0
  19. package/components/CashierModal-Bm1ZHiKF.js +337 -0
  20. package/components/CashierModal-CZXS870r.cjs +1 -0
  21. package/components/CashierModal-DA9pYzjv.js +353 -0
  22. package/components/{CashierNotifications-TCeibGW7.cjs → CashierNotifications-AE1W98Am.cjs} +1 -1
  23. package/components/{CashierNotifications-B4mMHPzM.js → CashierNotifications-BKEjPFOe.js} +1 -1
  24. package/components/{CashierNotifications-C9N_cyjp.js → CashierNotifications-BhTVfc_q.js} +1 -1
  25. package/components/CashierPage-B2478cGI.cjs +1 -0
  26. package/components/CashierPage-Bu-Q7zGW.js +3202 -0
  27. package/components/CashierPage-DRqoyxvy.js +3202 -0
  28. package/components/{CashierReceiptPage-D3bSdrMR.js → CashierReceiptPage-BCdXtAQy.js} +687 -645
  29. package/components/CashierReceiptPage-BTnWWxrf.cjs +26 -0
  30. package/components/{CashierReceiptPage-nV_QGl-h.js → CashierReceiptPage-mprh7bxR.js} +722 -680
  31. package/components/{CashierSessionExpirationModal-Dex-iDiX.cjs → CashierSessionExpirationModal-CO21pLuC.cjs} +2 -2
  32. package/components/{CashierSessionExpirationModal-XOwOZhfl.js → CashierSessionExpirationModal-Cf9kV9t-.js} +62 -62
  33. package/components/{CashierSessionExpirationModal-DPlehL-t.js → CashierSessionExpirationModal-DmelwHmk.js} +89 -89
  34. package/components/{CashierSpinner-BQgydcZ_.js → CashierSpinner-BafoqXXx.js} +1 -1
  35. package/components/{CashierSpinner-CzYDxJhX.js → CashierSpinner-BoT5LgPd.js} +1 -1
  36. package/components/{CashierSpinner-DxJ8w6Oz.cjs → CashierSpinner-d2hvjlSo.cjs} +1 -1
  37. package/components/CashierStepUp-DAwEA9m8.js +1118 -0
  38. package/components/CashierStepUp-DHD1RjqN.js +1079 -0
  39. package/components/CashierStepUp-DPLCXGpo.cjs +1 -0
  40. package/components/{CashierTransactionHistory-BWy9gkLT.js → CashierTransactionHistory-BKgkxlMX.js} +6 -6
  41. package/components/{CashierTransactionHistory-BE1joO9K.js → CashierTransactionHistory-C8ds2Zwi.js} +6 -6
  42. package/components/{CashierTransactionHistory-TKDNzqMX.cjs → CashierTransactionHistory-CBn28kTC.cjs} +1 -1
  43. package/components/{CashierVerifications-Cz6thwea.js → CashierVerifications-B5x1jg3q.js} +9 -9
  44. package/components/{CashierVerifications-BC3_kyP4.cjs → CashierVerifications-Hi5EfxuQ.cjs} +1 -1
  45. package/components/{CashierVerifications-AUHQ5YBD.js → CashierVerifications-fksQOX8S.js} +9 -9
  46. package/components/{TxnStatusIcon-BhLc40xR.cjs → TxnStatusIcon-Bs5XHdDd.cjs} +1 -1
  47. package/components/{TxnStatusIcon-C9Qf16Sv.js → TxnStatusIcon-Ck-w1f1a.js} +1 -1
  48. package/components/{TxnStatusIcon-CllgBQ_-.js → TxnStatusIcon-ZhJG6FAv.js} +1 -1
  49. package/components/{TxnTypeIcons-D5s1NIcq.js → TxnTypeIcons-BJMvuKXL.js} +1 -1
  50. package/components/{TxnTypeIcons-DTmlDMr_.cjs → TxnTypeIcons-CPhGhukx.cjs} +1 -1
  51. package/components/{TxnTypeIcons-lLjMKCFg.js → TxnTypeIcons-OgWLkxli.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-B6BYeRne.js} +1 -1
  57. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-BOr4KAqq.js} +1 -1
  58. package/stencil/{index-97d17652-BhLhk_xz.cjs → index-97d17652-zTl06Vn9.cjs} +1 -1
  59. package/stencil/{index-b2193545-B8kMF2bI.cjs → index-b2193545-B5Q7rnAU.cjs} +1 -1
  60. package/stencil/{index-b2193545-BoSqyMpB.js → index-b2193545-CF_fVoFe.js} +1 -1
  61. package/stencil/{index-b2193545-D4dOaNlR.js → index-b2193545-DfttkCgg.js} +1 -1
  62. package/stencil/{ui-image-DIEeZy5u.js → ui-image-BsYHwNhO.js} +1 -1
  63. package/stencil/{ui-image-BWJXFWH1.js → ui-image-CNaRr0ax.js} +1 -1
  64. package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-IJc7Zz_R.cjs} +1 -1
  65. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  66. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  67. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-image_2-CmVho0dS.js} +14 -12
  69. package/stencil/ui-image_2-CyqE6j_W.cjs +55 -0
  70. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-image_2-Daq38JGa.js} +14 -12
  71. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-B9YTz-WD.js} +2 -2
  72. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-CQ-FgYMx.js} +2 -2
  73. package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
  74. package/stencil/ui-skeleton-ed169f8f-BEwquWmd.cjs +55 -0
  75. package/stencil/{ui-image_2-Bm97-wkj.js → ui-skeleton-ed169f8f-BMrkXoR5.js} +12 -14
  76. package/stencil/{ui-image_2-qO3reSlr.js → ui-skeleton-ed169f8f-BNn31z1X.js} +12 -14
  77. package/components/CashierCarousel-Cd1TzgE8.cjs +0 -23
  78. package/components/CashierMethodDetails-BYNgkyXG.js +0 -9006
  79. package/components/CashierMethodDetails-D6dPCYFG.cjs +0 -85
  80. package/components/CashierMethodDetails-DfoHgNtY.js +0 -9027
  81. package/components/CashierMethodsList-CuMP4TC9.cjs +0 -1
  82. package/components/CashierMethodsList-Di9Oe4JI.js +0 -691
  83. package/components/CashierMethodsList-mN4PR-DW.js +0 -703
  84. package/components/CashierModal-C19ykcBp.js +0 -237
  85. package/components/CashierModal-fzrJshmv.cjs +0 -1
  86. package/components/CashierModal-tHIgxmTG.js +0 -237
  87. package/components/CashierPage-Bz-x5NYC.js +0 -2832
  88. package/components/CashierPage-CKSxChJM.cjs +0 -1
  89. package/components/CashierPage-CS_ZG6Xb.js +0 -2832
  90. package/components/CashierReceiptPage-CiPr9s04.cjs +0 -26
  91. package/stencil/ui-image_2-DdFjzzNO.cjs +0 -55
  92. package/stencil/ui-skeleton-ae35c6f2-CKgUXOQC.cjs +0 -55
@@ -1,7 +1,7 @@
1
- function M() {
1
+ function O() {
2
2
  }
3
3
  const It = (e) => e;
4
- function dn(e, t) {
4
+ function gn(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -15,10 +15,10 @@ function Sr(e) {
15
15
  function Wt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function W(e) {
18
+ function z(e) {
19
19
  e.forEach(Sr);
20
20
  }
21
- function de(e) {
21
+ function be(e) {
22
22
  return typeof e == "function";
23
23
  }
24
24
  function Tr(e, t) {
@@ -28,19 +28,19 @@ let Ie;
28
28
  function Xt(e, t) {
29
29
  return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
30
30
  }
31
- function mn(e) {
31
+ function yn(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
34
  function Hr(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
38
- return M;
38
+ return O;
39
39
  }
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function bn(e, t, r) {
43
+ function vn(e, t, r) {
44
44
  e.$$.on_destroy.push(Hr(t, r));
45
45
  }
46
46
  function ns(e, t, r, n) {
@@ -50,7 +50,7 @@ function ns(e, t, r, n) {
50
50
  }
51
51
  }
52
52
  function Pr(e, t, r, n) {
53
- return e[1] && n ? dn(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
+ return e[1] && n ? gn(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
55
  function is(e, t, r, n) {
56
56
  if (e[2] && n) {
@@ -85,22 +85,22 @@ function ss(e) {
85
85
  function as(e) {
86
86
  return e ?? "";
87
87
  }
88
- const Cr = typeof window < "u";
89
- let Rt = Cr ? () => window.performance.now() : () => Date.now(), Dt = Cr ? (e) => requestAnimationFrame(e) : M;
90
- const ue = /* @__PURE__ */ new Set();
91
- function Ar(e) {
92
- ue.forEach((t) => {
93
- t.c(e) || (ue.delete(t), t.f());
94
- }), ue.size !== 0 && Dt(Ar);
88
+ const Mr = typeof window < "u";
89
+ let Rt = Mr ? () => window.performance.now() : () => Date.now(), Dt = Mr ? (e) => requestAnimationFrame(e) : O;
90
+ const he = /* @__PURE__ */ new Set();
91
+ function Cr(e) {
92
+ he.forEach((t) => {
93
+ t.c(e) || (he.delete(t), t.f());
94
+ }), he.size !== 0 && Dt(Cr);
95
95
  }
96
96
  function $t(e) {
97
97
  let t;
98
- return ue.size === 0 && Dt(Ar), {
98
+ return he.size === 0 && Dt(Cr), {
99
99
  promise: new Promise((r) => {
100
- ue.add(t = { c: e, f: r });
100
+ he.add(t = { c: e, f: r });
101
101
  }),
102
102
  abort() {
103
- ue.delete(t);
103
+ he.delete(t);
104
104
  }
105
105
  };
106
106
  }
@@ -111,11 +111,11 @@ const us = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis :
111
111
  function x(e, t) {
112
112
  e.appendChild(t);
113
113
  }
114
- function gn(e, t, r) {
114
+ function _n(e, t, r) {
115
115
  const n = Ut(e);
116
116
  if (!n.getElementById(t)) {
117
117
  const i = H("style");
118
- i.id = t, i.textContent = r, Mr(n, i);
118
+ i.id = t, i.textContent = r, Ar(n, i);
119
119
  }
120
120
  }
121
121
  function Ut(e) {
@@ -128,21 +128,21 @@ function Ut(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function yn(e) {
131
+ function En(e) {
132
132
  const t = H("style");
133
- return t.textContent = "/* empty */", Mr(Ut(e), t), t.sheet;
133
+ return t.textContent = "/* empty */", Ar(Ut(e), t), t.sheet;
134
134
  }
135
- function Mr(e, t) {
135
+ function Ar(e, t) {
136
136
  return x(
137
137
  /** @type {Document} */
138
138
  e.head || e,
139
139
  t
140
140
  ), t.sheet;
141
141
  }
142
- function j(e, t, r) {
142
+ function X(e, t, r) {
143
143
  e.insertBefore(t, r || null);
144
144
  }
145
- function L(e) {
145
+ function D(e) {
146
146
  e.parentNode && e.parentNode.removeChild(e);
147
147
  }
148
148
  function zt(e, t) {
@@ -155,16 +155,16 @@ function H(e) {
155
155
  function ls(e) {
156
156
  return document.createElementNS("http://www.w3.org/2000/svg", e);
157
157
  }
158
- function $(e) {
158
+ function F(e) {
159
159
  return document.createTextNode(e);
160
160
  }
161
- function R() {
162
- return $(" ");
161
+ function U() {
162
+ return F(" ");
163
163
  }
164
164
  function hs() {
165
- return $("");
165
+ return F("");
166
166
  }
167
- function Z(e, t, r, n) {
167
+ function K(e, t, r, n) {
168
168
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
169
169
  }
170
170
  function cs(e) {
@@ -182,10 +182,10 @@ function fs(e, t, r) {
182
182
  function ps(e) {
183
183
  return e === "" ? null : +e;
184
184
  }
185
- function vn(e) {
185
+ function xn(e) {
186
186
  return Array.from(e.childNodes);
187
187
  }
188
- function k(e, t) {
188
+ function Z(e, t) {
189
189
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
190
190
  t);
191
191
  }
@@ -193,7 +193,7 @@ function ds(e, t) {
193
193
  e.value = t ?? "";
194
194
  }
195
195
  let Re;
196
- function _n() {
196
+ function wn() {
197
197
  if (Re === void 0) {
198
198
  Re = !1;
199
199
  try {
@@ -204,16 +204,16 @@ function _n() {
204
204
  }
205
205
  return Re;
206
206
  }
207
- function En(e, t) {
207
+ function Sn(e, t) {
208
208
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
209
209
  const n = H("iframe");
210
210
  n.setAttribute(
211
211
  "style",
212
212
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
213
213
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
214
- const i = _n();
214
+ const i = wn();
215
215
  let o;
216
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Z(
216
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = K(
217
217
  window,
218
218
  "message",
219
219
  /** @param {MessageEvent} event */
@@ -221,18 +221,18 @@ function En(e, t) {
221
221
  a.source === n.contentWindow && t();
222
222
  }
223
223
  )) : (n.src = "about:blank", n.onload = () => {
224
- o = Z(n.contentWindow, "resize", t), t();
224
+ o = K(n.contentWindow, "resize", t), t();
225
225
  }), x(e, n), () => {
226
- (i || o && n.contentWindow) && o(), L(n);
226
+ (i || o && n.contentWindow) && o(), D(n);
227
227
  };
228
228
  }
229
229
  function ms(e, t, r) {
230
230
  e.classList.toggle(t, !!r);
231
231
  }
232
- function xn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
232
+ function Tn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
233
233
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
234
234
  }
235
- function wn(e) {
235
+ function Hn(e) {
236
236
  const t = {};
237
237
  return e.childNodes.forEach(
238
238
  /** @param {Element} node */
@@ -243,28 +243,28 @@ function wn(e) {
243
243
  }
244
244
  const ze = /* @__PURE__ */ new Map();
245
245
  let Ze = 0;
246
- function Sn(e) {
246
+ function Pn(e) {
247
247
  let t = 5381, r = e.length;
248
248
  for (; r--; )
249
249
  t = (t << 5) - t ^ e.charCodeAt(r);
250
250
  return t >>> 0;
251
251
  }
252
- function Tn(e, t) {
253
- const r = { stylesheet: yn(t), rules: {} };
252
+ function Mn(e, t) {
253
+ const r = { stylesheet: En(t), rules: {} };
254
254
  return ze.set(e, r), r;
255
255
  }
256
256
  function Ye(e, t, r, n, i, o, a, s = 0) {
257
- const l = 16.666 / n;
258
- let u = `{
257
+ const u = 16.666 / n;
258
+ let l = `{
259
259
  `;
260
- for (let v = 0; v <= 1; v += l) {
261
- const E = t + (r - t) * o(v);
262
- u += v * 100 + `%{${a(E, 1 - E)}}
260
+ for (let v = 0; v <= 1; v += u) {
261
+ const _ = t + (r - t) * o(v);
262
+ l += v * 100 + `%{${a(_, 1 - _)}}
263
263
  `;
264
264
  }
265
- const h = u + `100% {${a(r, 1 - r)}}
266
- }`, d = `__svelte_${Sn(h)}_${s}`, c = Ut(e), { stylesheet: g, rules: f } = ze.get(c) || Tn(c, e);
267
- f[d] || (f[d] = !0, g.insertRule(`@keyframes ${d} ${h}`, g.cssRules.length));
265
+ const h = l + `100% {${a(r, 1 - r)}}
266
+ }`, d = `__svelte_${Pn(h)}_${s}`, c = Ut(e), { stylesheet: b, rules: f } = ze.get(c) || Mn(c, e);
267
+ f[d] || (f[d] = !0, b.insertRule(`@keyframes ${d} ${h}`, b.cssRules.length));
268
268
  const p = e.style.animation || "";
269
269
  return e.style.animation = `${p ? `${p}, ` : ""}${d} ${n}ms linear ${i}ms 1 both`, Ze += 1, d;
270
270
  }
@@ -273,13 +273,13 @@ function Je(e, t) {
273
273
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
274
274
  // remove all Svelte animations
275
275
  ), i = r.length - n.length;
276
- i && (e.style.animation = n.join(", "), Ze -= i, Ze || Hn());
276
+ i && (e.style.animation = n.join(", "), Ze -= i, Ze || Cn());
277
277
  }
278
- function Hn() {
278
+ function Cn() {
279
279
  Dt(() => {
280
280
  Ze || (ze.forEach((e) => {
281
281
  const { ownerNode: t } = e.stylesheet;
282
- t && L(t);
282
+ t && D(t);
283
283
  }), ze.clear());
284
284
  });
285
285
  }
@@ -292,59 +292,62 @@ function Br() {
292
292
  throw new Error("Function called outside component initialization");
293
293
  return He;
294
294
  }
295
- function Pn(e) {
295
+ function An(e) {
296
296
  Br().$$.on_mount.push(e);
297
297
  }
298
298
  function bs(e) {
299
299
  Br().$$.on_destroy.push(e);
300
300
  }
301
- const ae = [], Ke = [];
302
- let le = [];
303
- const Zt = [], Cn = /* @__PURE__ */ Promise.resolve();
301
+ const le = [], Ke = [];
302
+ let ce = [];
303
+ const Zt = [], Or = /* @__PURE__ */ Promise.resolve();
304
304
  let gt = !1;
305
- function An() {
306
- gt || (gt = !0, Cn.then(I));
305
+ function Lr() {
306
+ gt || (gt = !0, Or.then($));
307
+ }
308
+ function gs() {
309
+ return Lr(), Or;
307
310
  }
308
- function q(e) {
309
- le.push(e);
311
+ function re(e) {
312
+ ce.push(e);
310
313
  }
311
314
  const lt = /* @__PURE__ */ new Set();
312
- let oe = 0;
313
- function I() {
314
- if (oe !== 0)
315
+ let ae = 0;
316
+ function $() {
317
+ if (ae !== 0)
315
318
  return;
316
319
  const e = He;
317
320
  do {
318
321
  try {
319
- for (; oe < ae.length; ) {
320
- const t = ae[oe];
321
- oe++, Te(t), Mn(t.$$);
322
+ for (; ae < le.length; ) {
323
+ const t = le[ae];
324
+ ae++, Te(t), Bn(t.$$);
322
325
  }
323
326
  } catch (t) {
324
- throw ae.length = 0, oe = 0, t;
327
+ throw le.length = 0, ae = 0, t;
325
328
  }
326
- for (Te(null), ae.length = 0, oe = 0; Ke.length; )
329
+ for (Te(null), le.length = 0, ae = 0; Ke.length; )
327
330
  Ke.pop()();
328
- for (let t = 0; t < le.length; t += 1) {
329
- const r = le[t];
331
+ for (let t = 0; t < ce.length; t += 1) {
332
+ const r = ce[t];
330
333
  lt.has(r) || (lt.add(r), r());
331
334
  }
332
- le.length = 0;
333
- } while (ae.length);
335
+ ce.length = 0;
336
+ } while (le.length);
334
337
  for (; Zt.length; )
335
338
  Zt.pop()();
336
339
  gt = !1, lt.clear(), Te(e);
337
340
  }
338
- function Mn(e) {
341
+ function Bn(e) {
339
342
  if (e.fragment !== null) {
340
- e.update(), W(e.before_update);
343
+ e.update(), z(e.before_update);
341
344
  const t = e.dirty;
342
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(q);
345
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(re);
343
346
  }
344
347
  }
345
- function Bn(e) {
348
+ function On(e) {
346
349
  const t = [], r = [];
347
- le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
350
+ ce.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ce = t;
348
351
  }
349
352
  let Ee;
350
353
  function Gt() {
@@ -352,58 +355,58 @@ function Gt() {
352
355
  Ee = null;
353
356
  })), Ee;
354
357
  }
355
- function Q(e, t, r) {
356
- e.dispatchEvent(xn(`${t ? "intro" : "outro"}${r}`));
358
+ function te(e, t, r) {
359
+ e.dispatchEvent(Tn(`${t ? "intro" : "outro"}${r}`));
357
360
  }
358
361
  const je = /* @__PURE__ */ new Set();
359
- let F;
360
- function gs() {
361
- F = {
362
+ let W;
363
+ function ys() {
364
+ W = {
362
365
  r: 0,
363
366
  c: [],
364
- p: F
367
+ p: W
365
368
  // parent group
366
369
  };
367
370
  }
368
- function ys() {
369
- F.r || W(F.c), F = F.p;
371
+ function vs() {
372
+ W.r || z(W.c), W = W.p;
370
373
  }
371
- function On(e, t) {
374
+ function Nr(e, t) {
372
375
  e && e.i && (je.delete(e), e.i(t));
373
376
  }
374
- function vs(e, t, r, n) {
377
+ function _s(e, t, r, n) {
375
378
  if (e && e.o) {
376
379
  if (je.has(e))
377
380
  return;
378
- je.add(e), F.c.push(() => {
381
+ je.add(e), W.c.push(() => {
379
382
  je.delete(e), n && (r && e.d(1), n());
380
383
  }), e.o(t);
381
384
  } else
382
385
  n && n();
383
386
  }
384
387
  const Ft = { duration: 0 };
385
- function _s(e, t, r) {
388
+ function Es(e, t, r) {
386
389
  const n = { direction: "in" };
387
- let i = t(e, r, n), o = !1, a, s, l = 0;
388
- function u() {
390
+ let i = t(e, r, n), o = !1, a, s, u = 0;
391
+ function l() {
389
392
  a && Je(e, a);
390
393
  }
391
394
  function h() {
392
395
  const {
393
396
  delay: c = 0,
394
- duration: g = 300,
397
+ duration: b = 300,
395
398
  easing: f = It,
396
- tick: p = M,
399
+ tick: p = O,
397
400
  css: v
398
401
  } = i || Ft;
399
- v && (a = Ye(e, 0, 1, g, c, f, v, l++)), p(0, 1);
400
- const E = Rt() + c, y = E + g;
401
- s && s.abort(), o = !0, q(() => Q(e, !0, "start")), s = $t((_) => {
402
+ v && (a = Ye(e, 0, 1, b, c, f, v, u++)), p(0, 1);
403
+ const _ = Rt() + c, g = _ + b;
404
+ s && s.abort(), o = !0, re(() => te(e, !0, "start")), s = $t((E) => {
402
405
  if (o) {
403
- if (_ >= y)
404
- return p(1, 0), Q(e, !0, "end"), u(), o = !1;
405
- if (_ >= E) {
406
- const m = f((_ - E) / g);
406
+ if (E >= g)
407
+ return p(1, 0), te(e, !0, "end"), l(), o = !1;
408
+ if (E >= _) {
409
+ const m = f((E - _) / b);
407
410
  p(m, 1 - m);
408
411
  }
409
412
  }
@@ -413,57 +416,57 @@ function _s(e, t, r) {
413
416
  let d = !1;
414
417
  return {
415
418
  start() {
416
- d || (d = !0, Je(e), de(i) ? (i = i(n), Gt().then(h)) : h());
419
+ d || (d = !0, Je(e), be(i) ? (i = i(n), Gt().then(h)) : h());
417
420
  },
418
421
  invalidate() {
419
422
  d = !1;
420
423
  },
421
424
  end() {
422
- o && (u(), o = !1);
425
+ o && (l(), o = !1);
423
426
  }
424
427
  };
425
428
  }
426
- function Es(e, t, r) {
429
+ function xs(e, t, r) {
427
430
  const n = { direction: "out" };
428
431
  let i = t(e, r, n), o = !0, a;
429
- const s = F;
432
+ const s = W;
430
433
  s.r += 1;
431
- let l;
432
- function u() {
434
+ let u;
435
+ function l() {
433
436
  const {
434
437
  delay: h = 0,
435
438
  duration: d = 300,
436
439
  easing: c = It,
437
- tick: g = M,
440
+ tick: b = O,
438
441
  css: f
439
442
  } = i || Ft;
440
443
  f && (a = Ye(e, 1, 0, d, h, c, f));
441
444
  const p = Rt() + h, v = p + d;
442
- q(() => Q(e, !1, "start")), "inert" in e && (l = /** @type {HTMLElement} */
443
- e.inert, e.inert = !0), $t((E) => {
445
+ re(() => te(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
446
+ e.inert, e.inert = !0), $t((_) => {
444
447
  if (o) {
445
- if (E >= v)
446
- return g(0, 1), Q(e, !1, "end"), --s.r || W(s.c), !1;
447
- if (E >= p) {
448
- const y = c((E - p) / d);
449
- g(1 - y, y);
448
+ if (_ >= v)
449
+ return b(0, 1), te(e, !1, "end"), --s.r || z(s.c), !1;
450
+ if (_ >= p) {
451
+ const g = c((_ - p) / d);
452
+ b(1 - g, g);
450
453
  }
451
454
  }
452
455
  return o;
453
456
  });
454
457
  }
455
- return de(i) ? Gt().then(() => {
456
- i = i(n), u();
457
- }) : u(), {
458
+ return be(i) ? Gt().then(() => {
459
+ i = i(n), l();
460
+ }) : l(), {
458
461
  end(h) {
459
- h && "inert" in e && (e.inert = l), h && i.tick && i.tick(1, 0), o && (a && Je(e, a), o = !1);
462
+ h && "inert" in e && (e.inert = u), h && i.tick && i.tick(1, 0), o && (a && Je(e, a), o = !1);
460
463
  }
461
464
  };
462
465
  }
463
- function xs(e, t, r, n) {
464
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
466
+ function ws(e, t, r, n) {
467
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, h;
465
468
  function d() {
466
- u && Je(e, u);
469
+ l && Je(e, l);
467
470
  }
468
471
  function c(f, p) {
469
472
  const v = (
@@ -480,78 +483,108 @@ function xs(e, t, r, n) {
480
483
  group: f.group
481
484
  };
482
485
  }
483
- function g(f) {
486
+ function b(f) {
484
487
  const {
485
488
  delay: p = 0,
486
489
  duration: v = 300,
487
- easing: E = It,
488
- tick: y = M,
489
- css: _
490
+ easing: _ = It,
491
+ tick: g = O,
492
+ css: E
490
493
  } = o || Ft, m = {
491
494
  start: Rt() + p,
492
495
  b: f
493
496
  };
494
- f || (m.group = F, F.r += 1), "inert" in e && (f ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
495
- e.inert, e.inert = !0)), s || l ? l = m : (_ && (d(), u = Ye(e, a, f, v, p, E, _)), f && y(0, 1), s = c(m, v), q(() => Q(e, f, "start")), $t((T) => {
496
- if (l && T > l.start && (s = c(l, v), l = null, Q(e, s.b, "start"), _ && (d(), u = Ye(
497
+ f || (m.group = W, W.r += 1), "inert" in e && (f ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
498
+ e.inert, e.inert = !0)), s || u ? u = m : (E && (d(), l = Ye(e, a, f, v, p, _, E)), f && g(0, 1), s = c(m, v), re(() => te(e, f, "start")), $t((T) => {
499
+ if (u && T > u.start && (s = c(u, v), u = null, te(e, s.b, "start"), E && (d(), l = Ye(
497
500
  e,
498
501
  a,
499
502
  s.b,
500
503
  s.duration,
501
504
  0,
502
- E,
505
+ _,
503
506
  o.css
504
507
  ))), s) {
505
508
  if (T >= s.end)
506
- y(a = s.b, 1 - a), Q(e, s.b, "end"), l || (s.b ? d() : --s.group.r || W(s.group.c)), s = null;
509
+ g(a = s.b, 1 - a), te(e, s.b, "end"), u || (s.b ? d() : --s.group.r || z(s.group.c)), s = null;
507
510
  else if (T >= s.start) {
508
- const N = T - s.start;
509
- a = s.a + s.d * E(N / s.duration), y(a, 1 - a);
511
+ const L = T - s.start;
512
+ a = s.a + s.d * _(L / s.duration), g(a, 1 - a);
510
513
  }
511
514
  }
512
- return !!(s || l);
515
+ return !!(s || u);
513
516
  }));
514
517
  }
515
518
  return {
516
519
  run(f) {
517
- de(o) ? Gt().then(() => {
518
- o = o({ direction: f ? "in" : "out" }), g(f);
519
- }) : g(f);
520
+ be(o) ? Gt().then(() => {
521
+ o = o({ direction: f ? "in" : "out" }), b(f);
522
+ }) : b(f);
520
523
  },
521
524
  end() {
522
- d(), s = l = null;
525
+ d(), s = u = null;
523
526
  }
524
527
  };
525
528
  }
526
529
  function De(e) {
527
530
  return e?.length !== void 0 ? e : Array.from(e);
528
531
  }
529
- function ws(e) {
532
+ function Ss(e, t) {
533
+ e.d(1), t.delete(e.key);
534
+ }
535
+ function Ts(e, t, r, n, i, o, a, s, u, l, h, d) {
536
+ let c = e.length, b = o.length, f = c;
537
+ const p = {};
538
+ for (; f--; )
539
+ p[e[f].key] = f;
540
+ const v = [], _ = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), E = [];
541
+ for (f = b; f--; ) {
542
+ const P = d(i, o, f), B = r(P);
543
+ let N = a.get(B);
544
+ N ? E.push(() => N.p(P, t)) : (N = l(B, P), N.c()), _.set(B, v[f] = N), B in p && g.set(B, Math.abs(f - p[B]));
545
+ }
546
+ const m = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Set();
547
+ function L(P) {
548
+ Nr(P, 1), P.m(s, h), a.set(P.key, P), h = P.first, b--;
549
+ }
550
+ for (; c && b; ) {
551
+ const P = v[b - 1], B = e[c - 1], N = P.key, j = B.key;
552
+ P === B ? (h = P.first, c--, b--) : _.has(j) ? !a.has(N) || m.has(N) ? L(P) : T.has(j) ? c-- : g.get(N) > g.get(j) ? (T.add(N), L(P)) : (m.add(j), c--) : (u(B, a), c--);
553
+ }
554
+ for (; c--; ) {
555
+ const P = e[c];
556
+ _.has(P.key) || u(P, a);
557
+ }
558
+ for (; b; )
559
+ L(v[b - 1]);
560
+ return z(E), v;
561
+ }
562
+ function Hs(e) {
530
563
  e && e.c();
531
564
  }
532
565
  function Ln(e, t, r) {
533
566
  const { fragment: n, after_update: i } = e.$$;
534
- n && n.m(t, r), q(() => {
535
- const o = e.$$.on_mount.map(Sr).filter(de);
536
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
537
- }), i.forEach(q);
567
+ n && n.m(t, r), re(() => {
568
+ const o = e.$$.on_mount.map(Sr).filter(be);
569
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
570
+ }), i.forEach(re);
538
571
  }
539
572
  function Nn(e, t) {
540
573
  const r = e.$$;
541
- r.fragment !== null && (Bn(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
574
+ r.fragment !== null && (On(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
542
575
  }
543
576
  function In(e, t) {
544
- e.$$.dirty[0] === -1 && (ae.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
577
+ e.$$.dirty[0] === -1 && (le.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
545
578
  }
546
579
  function Rn(e, t, r, n, i, o, a = null, s = [-1]) {
547
- const l = He;
580
+ const u = He;
548
581
  Te(e);
549
- const u = e.$$ = {
582
+ const l = e.$$ = {
550
583
  fragment: null,
551
584
  ctx: [],
552
585
  // state
553
586
  props: o,
554
- update: M,
587
+ update: O,
555
588
  not_equal: i,
556
589
  bound: Wt(),
557
590
  // lifecycle
@@ -560,30 +593,30 @@ function Rn(e, t, r, n, i, o, a = null, s = [-1]) {
560
593
  on_disconnect: [],
561
594
  before_update: [],
562
595
  after_update: [],
563
- context: new Map(t.context || (l ? l.$$.context : [])),
596
+ context: new Map(t.context || (u ? u.$$.context : [])),
564
597
  // everything else
565
598
  callbacks: Wt(),
566
599
  dirty: s,
567
600
  skip_bound: !1,
568
- root: t.target || l.$$.root
601
+ root: t.target || u.$$.root
569
602
  };
570
- a && a(u.root);
603
+ a && a(l.root);
571
604
  let h = !1;
572
- if (u.ctx = r ? r(e, t.props || {}, (d, c, ...g) => {
573
- const f = g.length ? g[0] : c;
574
- return u.ctx && i(u.ctx[d], u.ctx[d] = f) && (!u.skip_bound && u.bound[d] && u.bound[d](f), h && In(e, d)), c;
575
- }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
605
+ if (l.ctx = r ? r(e, t.props || {}, (d, c, ...b) => {
606
+ const f = b.length ? b[0] : c;
607
+ return l.ctx && i(l.ctx[d], l.ctx[d] = f) && (!l.skip_bound && l.bound[d] && l.bound[d](f), h && In(e, d)), c;
608
+ }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
576
609
  if (t.hydrate) {
577
- const d = vn(t.target);
578
- u.fragment && u.fragment.l(d), d.forEach(L);
610
+ const d = xn(t.target);
611
+ l.fragment && l.fragment.l(d), d.forEach(D);
579
612
  } else
580
- u.fragment && u.fragment.c();
581
- t.intro && On(e.$$.fragment), Ln(e, t.target, t.anchor), I();
613
+ l.fragment && l.fragment.c();
614
+ t.intro && Nr(e.$$.fragment), Ln(e, t.target, t.anchor), $();
582
615
  }
583
- Te(l);
616
+ Te(u);
584
617
  }
585
- let Or;
586
- typeof HTMLElement == "function" && (Or = class extends HTMLElement {
618
+ let Ir;
619
+ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
587
620
  /** The Svelte component constructor */
588
621
  $$ctor;
589
622
  /** Slots */
@@ -631,18 +664,18 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
631
664
  * @param {HTMLElement} target
632
665
  * @param {HTMLElement} [anchor]
633
666
  */
634
- m: function(l, u) {
635
- j(l, o, u);
667
+ m: function(u, l) {
668
+ X(u, o, l);
636
669
  },
637
- d: function(l) {
638
- l && L(o);
670
+ d: function(u) {
671
+ u && D(o);
639
672
  }
640
673
  };
641
674
  };
642
675
  };
643
676
  if (await Promise.resolve(), !this.$$cn || this.$$c)
644
677
  return;
645
- const t = {}, r = wn(this);
678
+ const t = {}, r = Hn(this);
646
679
  for (const i of this.$$s)
647
680
  i in r && (t[i] = [e(i)]);
648
681
  for (const i of this.attributes) {
@@ -730,7 +763,7 @@ function ke(e, t, r, n) {
730
763
  }
731
764
  }
732
765
  function Dn(e, t, r, n, i, o) {
733
- let a = class extends Or {
766
+ let a = class extends Ir {
734
767
  constructor() {
735
768
  super(e, r, i), this.$$p_d = t;
736
769
  }
@@ -745,8 +778,8 @@ function Dn(e, t, r, n, i, o) {
745
778
  get() {
746
779
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
747
780
  },
748
- set(l) {
749
- l = ke(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
781
+ set(u) {
782
+ u = ke(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
750
783
  }
751
784
  });
752
785
  }), n.forEach((s) => {
@@ -777,7 +810,7 @@ class $n {
777
810
  $$set = void 0;
778
811
  /** @returns {void} */
779
812
  $destroy() {
780
- Nn(this, 1), this.$destroy = M;
813
+ Nn(this, 1), this.$destroy = O;
781
814
  }
782
815
  /**
783
816
  * @template {Extract<keyof Events, string>} K
@@ -786,8 +819,8 @@ class $n {
786
819
  * @returns {() => void}
787
820
  */
788
821
  $on(t, r) {
789
- if (!de(r))
790
- return M;
822
+ if (!be(r))
823
+ return O;
791
824
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
792
825
  return n.push(r), () => {
793
826
  const i = n.indexOf(r);
@@ -799,75 +832,75 @@ class $n {
799
832
  * @returns {void}
800
833
  */
801
834
  $set(t) {
802
- this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
835
+ this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
803
836
  }
804
837
  }
805
838
  const Un = "4";
806
839
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Un);
807
- const se = [];
840
+ const ue = [];
808
841
  function Gn(e, t) {
809
842
  return {
810
843
  subscribe: rt(e, t).subscribe
811
844
  };
812
845
  }
813
- function rt(e, t = M) {
846
+ function rt(e, t = O) {
814
847
  let r;
815
848
  const n = /* @__PURE__ */ new Set();
816
849
  function i(s) {
817
850
  if (Tr(e, s) && (e = s, r)) {
818
- const l = !se.length;
819
- for (const u of n)
820
- u[1](), se.push(u, e);
821
- if (l) {
822
- for (let u = 0; u < se.length; u += 2)
823
- se[u][0](se[u + 1]);
824
- se.length = 0;
851
+ const u = !ue.length;
852
+ for (const l of n)
853
+ l[1](), ue.push(l, e);
854
+ if (u) {
855
+ for (let l = 0; l < ue.length; l += 2)
856
+ ue[l][0](ue[l + 1]);
857
+ ue.length = 0;
825
858
  }
826
859
  }
827
860
  }
828
861
  function o(s) {
829
862
  i(s(e));
830
863
  }
831
- function a(s, l = M) {
832
- const u = [s, l];
833
- return n.add(u), n.size === 1 && (r = t(i, o) || M), s(e), () => {
834
- n.delete(u), n.size === 0 && r && (r(), r = null);
864
+ function a(s, u = O) {
865
+ const l = [s, u];
866
+ return n.add(l), n.size === 1 && (r = t(i, o) || O), s(e), () => {
867
+ n.delete(l), n.size === 0 && r && (r(), r = null);
835
868
  };
836
869
  }
837
870
  return { set: i, update: o, subscribe: a };
838
871
  }
839
- function me(e, t, r) {
872
+ function ge(e, t, r) {
840
873
  const n = !Array.isArray(e), i = n ? [e] : e;
841
874
  if (!i.every(Boolean))
842
875
  throw new Error("derived() expects stores as input, got a falsy value");
843
876
  const o = t.length < 2;
844
877
  return Gn(r, (a, s) => {
845
- let l = !1;
846
- const u = [];
847
- let h = 0, d = M;
878
+ let u = !1;
879
+ const l = [];
880
+ let h = 0, d = O;
848
881
  const c = () => {
849
882
  if (h)
850
883
  return;
851
884
  d();
852
- const f = t(n ? u[0] : u, a, s);
853
- o ? a(f) : d = de(f) ? f : M;
854
- }, g = i.map(
885
+ const f = t(n ? l[0] : l, a, s);
886
+ o ? a(f) : d = be(f) ? f : O;
887
+ }, b = i.map(
855
888
  (f, p) => Hr(
856
889
  f,
857
890
  (v) => {
858
- u[p] = v, h &= ~(1 << p), l && c();
891
+ l[p] = v, h &= ~(1 << p), u && c();
859
892
  },
860
893
  () => {
861
894
  h |= 1 << p;
862
895
  }
863
896
  )
864
897
  );
865
- return l = !0, c(), function() {
866
- W(g), d(), l = !1;
898
+ return u = !0, c(), function() {
899
+ z(b), d(), u = !1;
867
900
  };
868
901
  });
869
902
  }
870
- var Ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
903
+ var Ps = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
871
904
  function Fn(e) {
872
905
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
873
906
  }
@@ -889,7 +922,7 @@ function Zn(e) {
889
922
  return Array.isArray(e) ? [] : {};
890
923
  }
891
924
  function Pe(e, t) {
892
- return t.clone !== !1 && t.isMergeableObject(e) ? he(Zn(e), e, t) : e;
925
+ return t.clone !== !1 && t.isMergeableObject(e) ? fe(Zn(e), e, t) : e;
893
926
  }
894
927
  function Yn(e, t, r) {
895
928
  return e.concat(t).map(function(n) {
@@ -898,9 +931,9 @@ function Yn(e, t, r) {
898
931
  }
899
932
  function Jn(e, t) {
900
933
  if (!t.customMerge)
901
- return he;
934
+ return fe;
902
935
  var r = t.customMerge(e);
903
- return typeof r == "function" ? r : he;
936
+ return typeof r == "function" ? r : fe;
904
937
  }
905
938
  function Kn(e) {
906
939
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -910,7 +943,7 @@ function Kn(e) {
910
943
  function Yt(e) {
911
944
  return Object.keys(e).concat(Kn(e));
912
945
  }
913
- function Lr(e, t) {
946
+ function Rr(e, t) {
914
947
  try {
915
948
  return t in e;
916
949
  } catch {
@@ -918,29 +951,29 @@ function Lr(e, t) {
918
951
  }
919
952
  }
920
953
  function Qn(e, t) {
921
- return Lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
954
+ return Rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
922
955
  }
923
956
  function qn(e, t, r) {
924
957
  var n = {};
925
958
  return r.isMergeableObject(e) && Yt(e).forEach(function(i) {
926
959
  n[i] = Pe(e[i], r);
927
960
  }), Yt(t).forEach(function(i) {
928
- Qn(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Pe(t[i], r));
961
+ Qn(e, i) || (Rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Pe(t[i], r));
929
962
  }), n;
930
963
  }
931
- function he(e, t, r) {
964
+ function fe(e, t, r) {
932
965
  r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = Pe;
933
966
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
934
967
  return o ? n ? r.arrayMerge(e, t, r) : qn(e, t, r) : Pe(t, r);
935
968
  }
936
- he.all = function(t, r) {
969
+ fe.all = function(t, r) {
937
970
  if (!Array.isArray(t))
938
971
  throw new Error("first argument should be an array");
939
972
  return t.reduce(function(n, i) {
940
- return he(n, i, r);
973
+ return fe(n, i, r);
941
974
  }, {});
942
975
  };
943
- var ei = he, ti = ei;
976
+ var ei = fe, ti = ei;
944
977
  const ri = /* @__PURE__ */ Fn(ti);
945
978
  var yt = function(e, t) {
946
979
  return yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -959,15 +992,15 @@ function nt(e, t) {
959
992
  }
960
993
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
961
994
  }
962
- var G = function() {
963
- return G = Object.assign || function(t) {
995
+ var V = function() {
996
+ return V = Object.assign || function(t) {
964
997
  for (var r, n = 1, i = arguments.length; n < i; n++) {
965
998
  r = arguments[n];
966
999
  for (var o in r)
967
1000
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
968
1001
  }
969
1002
  return t;
970
- }, G.apply(this, arguments);
1003
+ }, V.apply(this, arguments);
971
1004
  };
972
1005
  function ni(e, t) {
973
1006
  var r = {};
@@ -998,19 +1031,19 @@ function oi(e, t, r, n) {
998
1031
  var i = ii(n) ? n : r(n), o = t.get(i);
999
1032
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1000
1033
  }
1001
- function Nr(e, t, r) {
1034
+ function Dr(e, t, r) {
1002
1035
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1003
1036
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1004
1037
  }
1005
- function Ir(e, t, r, n, i) {
1038
+ function $r(e, t, r, n, i) {
1006
1039
  return r.bind(t, e, n, i);
1007
1040
  }
1008
1041
  function si(e, t) {
1009
- var r = e.length === 1 ? oi : Nr;
1010
- return Ir(e, this, r, t.cache.create(), t.serializer);
1042
+ var r = e.length === 1 ? oi : Dr;
1043
+ return $r(e, this, r, t.cache.create(), t.serializer);
1011
1044
  }
1012
1045
  function ai(e, t) {
1013
- return Ir(e, this, Nr, t.cache.create(), t.serializer);
1046
+ return $r(e, this, Dr, t.cache.create(), t.serializer);
1014
1047
  }
1015
1048
  var ui = function() {
1016
1049
  return JSON.stringify(arguments);
@@ -1046,48 +1079,48 @@ var w;
1046
1079
  (function(e) {
1047
1080
  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
1081
  })(w || (w = {}));
1049
- var P;
1082
+ var M;
1050
1083
  (function(e) {
1051
1084
  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 ce;
1085
+ })(M || (M = {}));
1086
+ var pe;
1054
1087
  (function(e) {
1055
1088
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1056
- })(ce || (ce = {}));
1089
+ })(pe || (pe = {}));
1057
1090
  function Jt(e) {
1058
- return e.type === P.literal;
1091
+ return e.type === M.literal;
1059
1092
  }
1060
1093
  function ci(e) {
1061
- return e.type === P.argument;
1094
+ return e.type === M.argument;
1062
1095
  }
1063
- function Rr(e) {
1064
- return e.type === P.number;
1096
+ function Ur(e) {
1097
+ return e.type === M.number;
1065
1098
  }
1066
- function Dr(e) {
1067
- return e.type === P.date;
1099
+ function Gr(e) {
1100
+ return e.type === M.date;
1068
1101
  }
1069
- function $r(e) {
1070
- return e.type === P.time;
1102
+ function Fr(e) {
1103
+ return e.type === M.time;
1071
1104
  }
1072
- function Ur(e) {
1073
- return e.type === P.select;
1105
+ function jr(e) {
1106
+ return e.type === M.select;
1074
1107
  }
1075
- function Gr(e) {
1076
- return e.type === P.plural;
1108
+ function kr(e) {
1109
+ return e.type === M.plural;
1077
1110
  }
1078
1111
  function fi(e) {
1079
- return e.type === P.pound;
1112
+ return e.type === M.pound;
1080
1113
  }
1081
- function Fr(e) {
1082
- return e.type === P.tag;
1114
+ function Vr(e) {
1115
+ return e.type === M.tag;
1083
1116
  }
1084
- function jr(e) {
1085
- return !!(e && typeof e == "object" && e.type === ce.number);
1117
+ function Wr(e) {
1118
+ return !!(e && typeof e == "object" && e.type === pe.number);
1086
1119
  }
1087
1120
  function vt(e) {
1088
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
1121
+ return !!(e && typeof e == "object" && e.type === pe.dateTime);
1089
1122
  }
1090
- var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
1123
+ var Xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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
1124
  function di(e) {
1092
1125
  var t = {};
1093
1126
  return e.replace(pi, function(r) {
@@ -1199,26 +1232,26 @@ function bi(e) {
1199
1232
  var o = i[n], a = o.split("/");
1200
1233
  if (a.length === 0)
1201
1234
  throw new Error("Invalid number skeleton");
1202
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1203
- var d = h[u];
1235
+ for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1236
+ var d = h[l];
1204
1237
  if (d.length === 0)
1205
1238
  throw new Error("Invalid number skeleton");
1206
1239
  }
1207
- r.push({ stem: s, options: l });
1240
+ r.push({ stem: s, options: u });
1208
1241
  }
1209
1242
  return r;
1210
1243
  }
1211
1244
  function gi(e) {
1212
1245
  return e.replace(/^(.*?)-/, "");
1213
1246
  }
1214
- var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
1247
+ var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Zr = /^(0+)$/;
1215
1248
  function Qt(e) {
1216
1249
  var t = {};
1217
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vr, function(r, n, i) {
1250
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zr, function(r, n, i) {
1218
1251
  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
1252
  }), t;
1220
1253
  }
1221
- function Xr(e) {
1254
+ function Yr(e) {
1222
1255
  switch (e) {
1223
1256
  case "sign-auto":
1224
1257
  return {
@@ -1266,14 +1299,14 @@ function vi(e) {
1266
1299
  notation: "scientific"
1267
1300
  }, e = e.slice(1)), t) {
1268
1301
  var r = e.slice(0, 2);
1269
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
1302
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zr.test(e))
1270
1303
  throw new Error("Malformed concise eng/scientific notation");
1271
1304
  t.minimumIntegerDigits = e.length;
1272
1305
  }
1273
1306
  return t;
1274
1307
  }
1275
1308
  function qt(e) {
1276
- var t = {}, r = Xr(e);
1309
+ var t = {}, r = Yr(e);
1277
1310
  return r || t;
1278
1311
  }
1279
1312
  function _i(e) {
@@ -1311,13 +1344,13 @@ function _i(e) {
1311
1344
  t.notation = "compact", t.compactDisplay = "long";
1312
1345
  continue;
1313
1346
  case "scientific":
1314
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1315
- return A(A({}, l), qt(u));
1347
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1348
+ return A(A({}, u), qt(l));
1316
1349
  }, {}));
1317
1350
  continue;
1318
1351
  case "engineering":
1319
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1320
- return A(A({}, l), qt(u));
1352
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1353
+ return A(A({}, u), qt(l));
1321
1354
  }, {}));
1322
1355
  continue;
1323
1356
  case "notation-simple":
@@ -1362,38 +1395,38 @@ function _i(e) {
1362
1395
  case "integer-width":
1363
1396
  if (i.options.length > 1)
1364
1397
  throw new RangeError("integer-width stems only accept a single optional option");
1365
- i.options[0].replace(yi, function(l, u, h, d, c, g) {
1366
- if (u)
1398
+ i.options[0].replace(yi, function(u, l, h, d, c, b) {
1399
+ if (l)
1367
1400
  t.minimumIntegerDigits = h.length;
1368
1401
  else {
1369
1402
  if (d && c)
1370
1403
  throw new Error("We currently do not support maximum integer digits");
1371
- if (g)
1404
+ if (b)
1372
1405
  throw new Error("We currently do not support exact integer digits");
1373
1406
  }
1374
1407
  return "";
1375
1408
  });
1376
1409
  continue;
1377
1410
  }
1378
- if (Wr.test(i.stem)) {
1411
+ if (Zr.test(i.stem)) {
1379
1412
  t.minimumIntegerDigits = i.stem.length;
1380
1413
  continue;
1381
1414
  }
1382
1415
  if (Kt.test(i.stem)) {
1383
1416
  if (i.options.length > 1)
1384
1417
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1385
- i.stem.replace(Kt, function(l, u, h, d, c, g) {
1386
- return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1418
+ i.stem.replace(Kt, function(u, l, h, d, c, b) {
1419
+ return h === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1387
1420
  });
1388
1421
  var o = i.options[0];
1389
1422
  o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Qt(o)));
1390
1423
  continue;
1391
1424
  }
1392
- if (Vr.test(i.stem)) {
1425
+ if (zr.test(i.stem)) {
1393
1426
  t = A(A({}, t), Qt(i.stem));
1394
1427
  continue;
1395
1428
  }
1396
- var a = Xr(i.stem);
1429
+ var a = Yr(i.stem);
1397
1430
  a && (t = A(A({}, t), a));
1398
1431
  var s = vi(i.stem);
1399
1432
  s && (t = A(A({}, t), s));
@@ -2821,11 +2854,11 @@ function Ei(e, t) {
2821
2854
  if (i === "j") {
2822
2855
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2823
2856
  o++, n++;
2824
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = xi(t);
2825
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2826
- r += l;
2857
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = xi(t);
2858
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2859
+ r += u;
2827
2860
  for (; a-- > 0; )
2828
- r = u + r;
2861
+ r = l + r;
2829
2862
  } else
2830
2863
  i === "J" ? r += "H" : r += i;
2831
2864
  }
@@ -2853,15 +2886,15 @@ function xi(e) {
2853
2886
  var i = $e[n || ""] || $e[r || ""] || $e["".concat(r, "-001")] || $e["001"];
2854
2887
  return i[0];
2855
2888
  }
2856
- var pt, wi = new RegExp("^".concat(kr.source, "*")), Si = new RegExp("".concat(kr.source, "*$"));
2889
+ var pt, wi = new RegExp("^".concat(Xr.source, "*")), Si = new RegExp("".concat(Xr.source, "*$"));
2857
2890
  function S(e, t) {
2858
2891
  return { start: e, end: t };
2859
2892
  }
2860
- var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Pi = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Mi = !!String.prototype.trimEnd, Bi = !!Number.isSafeInteger, Oi = Bi ? Number.isSafeInteger : function(e) {
2893
+ var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Pi = !!Object.fromEntries, Mi = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Bi = !!Number.isSafeInteger, Oi = Bi ? Number.isSafeInteger : function(e) {
2861
2894
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2862
2895
  }, _t = !0;
2863
2896
  try {
2864
- var Li = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2897
+ var Li = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2865
2898
  _t = ((pt = Li.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2866
2899
  } catch {
2867
2900
  _t = !1;
@@ -2900,7 +2933,7 @@ var er = Ti ? (
2900
2933
  return r;
2901
2934
  }
2902
2935
  )
2903
- ), zr = Ci ? (
2936
+ ), Jr = Mi ? (
2904
2937
  // Native
2905
2938
  function(t, r) {
2906
2939
  return t.codePointAt(r);
@@ -2914,7 +2947,7 @@ var er = Ti ? (
2914
2947
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2915
2948
  }
2916
2949
  }
2917
- ), Ni = Ai ? (
2950
+ ), Ni = Ci ? (
2918
2951
  // Native
2919
2952
  function(t) {
2920
2953
  return t.trimStart();
@@ -2924,7 +2957,7 @@ var er = Ti ? (
2924
2957
  function(t) {
2925
2958
  return t.replace(wi, "");
2926
2959
  }
2927
- ), Ii = Mi ? (
2960
+ ), Ii = Ai ? (
2928
2961
  // Native
2929
2962
  function(t) {
2930
2963
  return t.trimEnd();
@@ -2935,12 +2968,12 @@ var er = Ti ? (
2935
2968
  return t.replace(Si, "");
2936
2969
  }
2937
2970
  );
2938
- function Zr(e, t) {
2971
+ function Kr(e, t) {
2939
2972
  return new RegExp(e, t);
2940
2973
  }
2941
2974
  var xt;
2942
2975
  if (_t) {
2943
- var rr = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2976
+ var rr = Kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2944
2977
  xt = function(t, r) {
2945
2978
  var n;
2946
2979
  rr.lastIndex = r;
@@ -2950,8 +2983,8 @@ if (_t) {
2950
2983
  } else
2951
2984
  xt = function(t, r) {
2952
2985
  for (var n = []; ; ) {
2953
- var i = zr(t, r);
2954
- if (i === void 0 || Yr(i) || Ui(i))
2986
+ var i = Jr(t, r);
2987
+ if (i === void 0 || Qr(i) || Ui(i))
2955
2988
  break;
2956
2989
  n.push(i), r += i >= 65536 ? 2 : 1;
2957
2990
  }
@@ -2981,7 +3014,7 @@ var Ri = (
2981
3014
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2982
3015
  var s = this.clonePosition();
2983
3016
  this.bump(), i.push({
2984
- type: P.pound,
3017
+ type: M.pound,
2985
3018
  location: S(s, this.clonePosition())
2986
3019
  });
2987
3020
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3009,7 +3042,7 @@ var Ri = (
3009
3042
  if (this.bumpSpace(), this.bumpIf("/>"))
3010
3043
  return {
3011
3044
  val: {
3012
- type: P.literal,
3045
+ type: M.literal,
3013
3046
  value: "<".concat(i, "/>"),
3014
3047
  location: S(n, this.clonePosition())
3015
3048
  },
@@ -3023,10 +3056,10 @@ var Ri = (
3023
3056
  if (this.bumpIf("</")) {
3024
3057
  if (this.isEOF() || !wt(this.char()))
3025
3058
  return this.error(w.INVALID_TAG, S(s, this.clonePosition()));
3026
- var l = this.clonePosition(), u = this.parseTagName();
3027
- return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, S(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3059
+ var u = this.clonePosition(), l = this.parseTagName();
3060
+ return i !== l ? this.error(w.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3028
3061
  val: {
3029
- type: P.tag,
3062
+ type: M.tag,
3030
3063
  value: i,
3031
3064
  children: a,
3032
3065
  location: S(n, this.clonePosition())
@@ -3061,9 +3094,9 @@ var Ri = (
3061
3094
  }
3062
3095
  break;
3063
3096
  }
3064
- var l = S(n, this.clonePosition());
3097
+ var u = S(n, this.clonePosition());
3065
3098
  return {
3066
- val: { type: P.literal, value: i, location: l },
3099
+ val: { type: M.literal, value: i, location: u },
3067
3100
  err: null
3068
3101
  };
3069
3102
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3123,7 +3156,7 @@ var Ri = (
3123
3156
  case 125:
3124
3157
  return this.bump(), {
3125
3158
  val: {
3126
- type: P.argument,
3159
+ type: M.argument,
3127
3160
  // value does not include the opening and closing braces.
3128
3161
  value: i,
3129
3162
  location: S(n, this.clonePosition())
@@ -3141,15 +3174,15 @@ var Ri = (
3141
3174
  var o = this.clonePosition(), a = S(t, o);
3142
3175
  return { value: n, location: a };
3143
3176
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3144
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3177
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3145
3178
  switch (s) {
3146
3179
  case "":
3147
- return this.error(w.EXPECT_ARGUMENT_TYPE, S(a, l));
3180
+ return this.error(w.EXPECT_ARGUMENT_TYPE, S(a, u));
3148
3181
  case "number":
3149
3182
  case "date":
3150
3183
  case "time": {
3151
3184
  this.bumpSpace();
3152
- var u = null;
3185
+ var l = null;
3153
3186
  if (this.bumpIf(",")) {
3154
3187
  this.bumpSpace();
3155
3188
  var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
@@ -3158,44 +3191,44 @@ var Ri = (
3158
3191
  var c = Ii(d.val);
3159
3192
  if (c.length === 0)
3160
3193
  return this.error(w.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3161
- var g = S(h, this.clonePosition());
3162
- u = { style: c, styleLocation: g };
3194
+ var b = S(h, this.clonePosition());
3195
+ l = { style: c, styleLocation: b };
3163
3196
  }
3164
3197
  var f = this.tryParseArgumentClose(i);
3165
3198
  if (f.err)
3166
3199
  return f;
3167
3200
  var p = S(i, this.clonePosition());
3168
- if (u && er(u?.style, "::", 0)) {
3169
- var v = Ni(u.style.slice(2));
3201
+ if (l && er(l?.style, "::", 0)) {
3202
+ var v = Ni(l.style.slice(2));
3170
3203
  if (s === "number") {
3171
- var d = this.parseNumberSkeletonFromString(v, u.styleLocation);
3204
+ var d = this.parseNumberSkeletonFromString(v, l.styleLocation);
3172
3205
  return d.err ? d : {
3173
- val: { type: P.number, value: n, location: p, style: d.val },
3206
+ val: { type: M.number, value: n, location: p, style: d.val },
3174
3207
  err: null
3175
3208
  };
3176
3209
  } else {
3177
3210
  if (v.length === 0)
3178
3211
  return this.error(w.EXPECT_DATE_TIME_SKELETON, p);
3179
- var E = v;
3180
- this.locale && (E = Ei(v, this.locale));
3212
+ var _ = v;
3213
+ this.locale && (_ = Ei(v, this.locale));
3181
3214
  var c = {
3182
- type: ce.dateTime,
3183
- pattern: E,
3184
- location: u.styleLocation,
3185
- parsedOptions: this.shouldParseSkeletons ? di(E) : {}
3186
- }, y = s === "date" ? P.date : P.time;
3215
+ type: pe.dateTime,
3216
+ pattern: _,
3217
+ location: l.styleLocation,
3218
+ parsedOptions: this.shouldParseSkeletons ? di(_) : {}
3219
+ }, g = s === "date" ? M.date : M.time;
3187
3220
  return {
3188
- val: { type: y, value: n, location: p, style: c },
3221
+ val: { type: g, value: n, location: p, style: c },
3189
3222
  err: null
3190
3223
  };
3191
3224
  }
3192
3225
  }
3193
3226
  return {
3194
3227
  val: {
3195
- type: s === "number" ? P.number : s === "date" ? P.date : P.time,
3228
+ type: s === "number" ? M.number : s === "date" ? M.date : M.time,
3196
3229
  value: n,
3197
3230
  location: p,
3198
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3231
+ style: (o = l?.style) !== null && o !== void 0 ? o : null
3199
3232
  },
3200
3233
  err: null
3201
3234
  };
@@ -3203,9 +3236,9 @@ var Ri = (
3203
3236
  case "plural":
3204
3237
  case "selectordinal":
3205
3238
  case "select": {
3206
- var _ = this.clonePosition();
3239
+ var E = this.clonePosition();
3207
3240
  if (this.bumpSpace(), !this.bumpIf(","))
3208
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, S(_, Qe({}, _)));
3241
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, S(E, Qe({}, E)));
3209
3242
  this.bumpSpace();
3210
3243
  var m = this.parseIdentifierIfPossible(), T = 0;
3211
3244
  if (s !== "select" && m.value === "offset") {
@@ -3217,35 +3250,35 @@ var Ri = (
3217
3250
  return d;
3218
3251
  this.bumpSpace(), m = this.parseIdentifierIfPossible(), T = d.val;
3219
3252
  }
3220
- var N = this.tryParsePluralOrSelectOptions(t, s, r, m);
3221
- if (N.err)
3222
- return N;
3253
+ var L = this.tryParsePluralOrSelectOptions(t, s, r, m);
3254
+ if (L.err)
3255
+ return L;
3223
3256
  var f = this.tryParseArgumentClose(i);
3224
3257
  if (f.err)
3225
3258
  return f;
3226
- var X = S(i, this.clonePosition());
3259
+ var P = S(i, this.clonePosition());
3227
3260
  return s === "select" ? {
3228
3261
  val: {
3229
- type: P.select,
3262
+ type: M.select,
3230
3263
  value: n,
3231
- options: tr(N.val),
3232
- location: X
3264
+ options: tr(L.val),
3265
+ location: P
3233
3266
  },
3234
3267
  err: null
3235
3268
  } : {
3236
3269
  val: {
3237
- type: P.plural,
3270
+ type: M.plural,
3238
3271
  value: n,
3239
- options: tr(N.val),
3272
+ options: tr(L.val),
3240
3273
  offset: T,
3241
3274
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3242
- location: X
3275
+ location: P
3243
3276
  },
3244
3277
  err: null
3245
3278
  };
3246
3279
  }
3247
3280
  default:
3248
- return this.error(w.INVALID_ARGUMENT_TYPE, S(a, l));
3281
+ return this.error(w.INVALID_ARGUMENT_TYPE, S(a, u));
3249
3282
  }
3250
3283
  }, e.prototype.tryParseArgumentClose = function(t) {
3251
3284
  return this.isEOF() || this.char() !== 125 ? this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3293,7 +3326,7 @@ var Ri = (
3293
3326
  }
3294
3327
  return {
3295
3328
  val: {
3296
- type: ce.number,
3329
+ type: pe.number,
3297
3330
  tokens: n,
3298
3331
  location: r,
3299
3332
  parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
@@ -3301,36 +3334,36 @@ var Ri = (
3301
3334
  err: null
3302
3335
  };
3303
3336
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3304
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3305
- if (u.length === 0) {
3337
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3338
+ if (l.length === 0) {
3306
3339
  var d = this.clonePosition();
3307
3340
  if (r !== "select" && this.bumpIf("=")) {
3308
3341
  var c = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3309
3342
  if (c.err)
3310
3343
  return c;
3311
- h = S(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3344
+ h = S(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3312
3345
  } else
3313
3346
  break;
3314
3347
  }
3315
- if (l.has(u))
3348
+ if (u.has(l))
3316
3349
  return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3317
- u === "other" && (a = !0), this.bumpSpace();
3318
- var g = this.clonePosition();
3350
+ l === "other" && (a = !0), this.bumpSpace();
3351
+ var b = this.clonePosition();
3319
3352
  if (!this.bumpIf("{"))
3320
3353
  return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3321
3354
  var f = this.parseMessage(t + 1, r, n);
3322
3355
  if (f.err)
3323
3356
  return f;
3324
- var p = this.tryParseArgumentClose(g);
3357
+ var p = this.tryParseArgumentClose(b);
3325
3358
  if (p.err)
3326
3359
  return p;
3327
3360
  s.push([
3328
- u,
3361
+ l,
3329
3362
  {
3330
3363
  value: f.val,
3331
- location: S(g, this.clonePosition())
3364
+ location: S(b, this.clonePosition())
3332
3365
  }
3333
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3366
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3334
3367
  }
3335
3368
  return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3336
3369
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3343,8 +3376,8 @@ var Ri = (
3343
3376
  else
3344
3377
  break;
3345
3378
  }
3346
- var l = S(i, this.clonePosition());
3347
- return o ? (a *= n, Oi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3379
+ var u = S(i, this.clonePosition());
3380
+ return o ? (a *= n, Oi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3348
3381
  }, e.prototype.offset = function() {
3349
3382
  return this.position.offset;
3350
3383
  }, e.prototype.isEOF = function() {
@@ -3359,7 +3392,7 @@ var Ri = (
3359
3392
  var t = this.position.offset;
3360
3393
  if (t >= this.message.length)
3361
3394
  throw Error("out of bound");
3362
- var r = zr(this.message, t);
3395
+ var r = Jr(this.message, t);
3363
3396
  if (r === void 0)
3364
3397
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3365
3398
  return r;
@@ -3400,7 +3433,7 @@ var Ri = (
3400
3433
  break;
3401
3434
  }
3402
3435
  }, e.prototype.bumpSpace = function() {
3403
- for (; !this.isEOF() && Yr(this.char()); )
3436
+ for (; !this.isEOF() && Qr(this.char()); )
3404
3437
  this.bump();
3405
3438
  }, e.prototype.peek = function() {
3406
3439
  if (this.isEOF())
@@ -3419,7 +3452,7 @@ function Di(e) {
3419
3452
  function $i(e) {
3420
3453
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3421
3454
  }
3422
- function Yr(e) {
3455
+ function Qr(e) {
3423
3456
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3424
3457
  }
3425
3458
  function Ui(e) {
@@ -3427,11 +3460,11 @@ function Ui(e) {
3427
3460
  }
3428
3461
  function St(e) {
3429
3462
  e.forEach(function(t) {
3430
- if (delete t.location, Ur(t) || Gr(t))
3463
+ if (delete t.location, jr(t) || kr(t))
3431
3464
  for (var r in t.options)
3432
3465
  delete t.options[r].location, St(t.options[r].value);
3433
3466
  else
3434
- Rr(t) && jr(t.style) || (Dr(t) || $r(t)) && vt(t.style) ? delete t.style.location : Fr(t) && St(t.children);
3467
+ Ur(t) && Wr(t.style) || (Gr(t) || Fr(t)) && vt(t.style) ? delete t.style.location : Vr(t) && St(t.children);
3435
3468
  });
3436
3469
  }
3437
3470
  function Gi(e, t) {
@@ -3443,10 +3476,10 @@ function Gi(e, t) {
3443
3476
  }
3444
3477
  return t?.captureLocation || St(r.val), r.val;
3445
3478
  }
3446
- var fe;
3479
+ var de;
3447
3480
  (function(e) {
3448
3481
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3449
- })(fe || (fe = {}));
3482
+ })(de || (de = {}));
3450
3483
  var it = (
3451
3484
  /** @class */
3452
3485
  function(e) {
@@ -3464,7 +3497,7 @@ var it = (
3464
3497
  function(e) {
3465
3498
  nt(t, e);
3466
3499
  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('", "'), '"'), fe.INVALID_VALUE, o) || this;
3500
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3468
3501
  }
3469
3502
  return t;
3470
3503
  }(it)
@@ -3473,7 +3506,7 @@ var it = (
3473
3506
  function(e) {
3474
3507
  nt(t, e);
3475
3508
  function t(r, n, i) {
3476
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3509
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3477
3510
  }
3478
3511
  return t;
3479
3512
  }(it)
@@ -3482,18 +3515,18 @@ var it = (
3482
3515
  function(e) {
3483
3516
  nt(t, e);
3484
3517
  function t(r, n) {
3485
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3518
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3486
3519
  }
3487
3520
  return t;
3488
3521
  }(it)
3489
- ), O;
3522
+ ), R;
3490
3523
  (function(e) {
3491
3524
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3492
- })(O || (O = {}));
3525
+ })(R || (R = {}));
3493
3526
  function ki(e) {
3494
3527
  return e.length < 2 ? e : e.reduce(function(t, r) {
3495
3528
  var n = t[t.length - 1];
3496
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3529
+ return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3497
3530
  }, []);
3498
3531
  }
3499
3532
  function Vi(e) {
@@ -3503,22 +3536,22 @@ function Ve(e, t, r, n, i, o, a) {
3503
3536
  if (e.length === 1 && Jt(e[0]))
3504
3537
  return [
3505
3538
  {
3506
- type: O.literal,
3539
+ type: R.literal,
3507
3540
  value: e[0].value
3508
3541
  }
3509
3542
  ];
3510
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3511
- var h = u[l];
3543
+ for (var s = [], u = 0, l = e; u < l.length; u++) {
3544
+ var h = l[u];
3512
3545
  if (Jt(h)) {
3513
3546
  s.push({
3514
- type: O.literal,
3547
+ type: R.literal,
3515
3548
  value: h.value
3516
3549
  });
3517
3550
  continue;
3518
3551
  }
3519
3552
  if (fi(h)) {
3520
3553
  typeof o == "number" && s.push({
3521
- type: O.literal,
3554
+ type: R.literal,
3522
3555
  value: r.getNumberFormat(t).format(o)
3523
3556
  });
3524
3557
  continue;
@@ -3529,83 +3562,83 @@ function Ve(e, t, r, n, i, o, a) {
3529
3562
  var c = i[d];
3530
3563
  if (ci(h)) {
3531
3564
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3532
- type: typeof c == "string" ? O.literal : O.object,
3565
+ type: typeof c == "string" ? R.literal : R.object,
3533
3566
  value: c
3534
3567
  });
3535
3568
  continue;
3536
3569
  }
3537
- if (Dr(h)) {
3538
- var g = typeof h.style == "string" ? n.date[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
3570
+ if (Gr(h)) {
3571
+ var b = typeof h.style == "string" ? n.date[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
3539
3572
  s.push({
3540
- type: O.literal,
3541
- value: r.getDateTimeFormat(t, g).format(c)
3573
+ type: R.literal,
3574
+ value: r.getDateTimeFormat(t, b).format(c)
3542
3575
  });
3543
3576
  continue;
3544
3577
  }
3545
- if ($r(h)) {
3546
- var g = typeof h.style == "string" ? n.time[h.style] : vt(h.style) ? h.style.parsedOptions : n.time.medium;
3578
+ if (Fr(h)) {
3579
+ var b = typeof h.style == "string" ? n.time[h.style] : vt(h.style) ? h.style.parsedOptions : n.time.medium;
3547
3580
  s.push({
3548
- type: O.literal,
3549
- value: r.getDateTimeFormat(t, g).format(c)
3581
+ type: R.literal,
3582
+ value: r.getDateTimeFormat(t, b).format(c)
3550
3583
  });
3551
3584
  continue;
3552
3585
  }
3553
- if (Rr(h)) {
3554
- var g = typeof h.style == "string" ? n.number[h.style] : jr(h.style) ? h.style.parsedOptions : void 0;
3555
- g && g.scale && (c = c * (g.scale || 1)), s.push({
3556
- type: O.literal,
3557
- value: r.getNumberFormat(t, g).format(c)
3586
+ if (Ur(h)) {
3587
+ var b = typeof h.style == "string" ? n.number[h.style] : Wr(h.style) ? h.style.parsedOptions : void 0;
3588
+ b && b.scale && (c = c * (b.scale || 1)), s.push({
3589
+ type: R.literal,
3590
+ value: r.getNumberFormat(t, b).format(c)
3558
3591
  });
3559
3592
  continue;
3560
3593
  }
3561
- if (Fr(h)) {
3594
+ if (Vr(h)) {
3562
3595
  var f = h.children, p = h.value, v = i[p];
3563
3596
  if (!Vi(v))
3564
3597
  throw new Fi(p, "function", a);
3565
- var E = Ve(f, t, r, n, i, o), y = v(E.map(function(T) {
3598
+ var _ = Ve(f, t, r, n, i, o), g = v(_.map(function(T) {
3566
3599
  return T.value;
3567
3600
  }));
3568
- Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(T) {
3601
+ Array.isArray(g) || (g = [g]), s.push.apply(s, g.map(function(T) {
3569
3602
  return {
3570
- type: typeof T == "string" ? O.literal : O.object,
3603
+ type: typeof T == "string" ? R.literal : R.object,
3571
3604
  value: T
3572
3605
  };
3573
3606
  }));
3574
3607
  }
3575
- if (Ur(h)) {
3576
- var _ = h.options[c] || h.options.other;
3577
- if (!_)
3608
+ if (jr(h)) {
3609
+ var E = h.options[c] || h.options.other;
3610
+ if (!E)
3578
3611
  throw new nr(h.value, c, Object.keys(h.options), a);
3579
- s.push.apply(s, Ve(_.value, t, r, n, i));
3612
+ s.push.apply(s, Ve(E.value, t, r, n, i));
3580
3613
  continue;
3581
3614
  }
3582
- if (Gr(h)) {
3583
- var _ = h.options["=".concat(c)];
3584
- if (!_) {
3615
+ if (kr(h)) {
3616
+ var E = h.options["=".concat(c)];
3617
+ if (!E) {
3585
3618
  if (!Intl.PluralRules)
3586
3619
  throw new it(`Intl.PluralRules is not available in this environment.
3587
3620
  Try polyfilling it using "@formatjs/intl-pluralrules"
3588
- `, fe.MISSING_INTL_API, a);
3621
+ `, de.MISSING_INTL_API, a);
3589
3622
  var m = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3590
- _ = h.options[m] || h.options.other;
3623
+ E = h.options[m] || h.options.other;
3591
3624
  }
3592
- if (!_)
3625
+ if (!E)
3593
3626
  throw new nr(h.value, c, Object.keys(h.options), a);
3594
- s.push.apply(s, Ve(_.value, t, r, n, i, c - (h.offset || 0)));
3627
+ s.push.apply(s, Ve(E.value, t, r, n, i, c - (h.offset || 0)));
3595
3628
  continue;
3596
3629
  }
3597
3630
  }
3598
3631
  return ki(s);
3599
3632
  }
3600
3633
  function Wi(e, t) {
3601
- return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3602
- return r[n] = G(G({}, e[n]), t[n] || {}), r;
3634
+ return t ? V(V(V({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3635
+ return r[n] = V(V({}, e[n]), t[n] || {}), r;
3603
3636
  }, {})) : e;
3604
3637
  }
3605
3638
  function Xi(e, t) {
3606
3639
  return t ? Object.keys(e).reduce(function(r, n) {
3607
3640
  return r[n] = Wi(e[n], t[n]), r;
3608
- }, G({}, e)) : e;
3641
+ }, V({}, e)) : e;
3609
3642
  }
3610
3643
  function dt(e) {
3611
3644
  return {
@@ -3653,7 +3686,7 @@ function zi(e) {
3653
3686
  })
3654
3687
  };
3655
3688
  }
3656
- var Jr = (
3689
+ var qr = (
3657
3690
  /** @class */
3658
3691
  function() {
3659
3692
  function e(t, r, n, i) {
@@ -3663,20 +3696,20 @@ var Jr = (
3663
3696
  number: {},
3664
3697
  dateTime: {},
3665
3698
  pluralRules: {}
3666
- }, this.format = function(l) {
3667
- var u = o.formatToParts(l);
3668
- if (u.length === 1)
3669
- return u[0].value;
3670
- var h = u.reduce(function(d, c) {
3671
- return !d.length || c.type !== O.literal || typeof d[d.length - 1] != "string" ? d.push(c.value) : d[d.length - 1] += c.value, d;
3699
+ }, this.format = function(u) {
3700
+ var l = o.formatToParts(u);
3701
+ if (l.length === 1)
3702
+ return l[0].value;
3703
+ var h = l.reduce(function(d, c) {
3704
+ return !d.length || c.type !== R.literal || typeof d[d.length - 1] != "string" ? d.push(c.value) : d[d.length - 1] += c.value, d;
3672
3705
  }, []);
3673
3706
  return h.length <= 1 ? h[0] || "" : h;
3674
- }, this.formatToParts = function(l) {
3675
- return Ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3707
+ }, this.formatToParts = function(u) {
3708
+ return Ve(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3676
3709
  }, this.resolvedOptions = function() {
3677
- var l;
3710
+ var u;
3678
3711
  return {
3679
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3712
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3680
3713
  };
3681
3714
  }, this.getAst = function() {
3682
3715
  return o.ast;
@@ -3686,7 +3719,7 @@ var Jr = (
3686
3719
  var a = i || {};
3687
3720
  a.formatters;
3688
3721
  var s = ni(a, ["formatters"]);
3689
- this.ast = e.__parse(t, G(G({}, s), { locale: this.resolvedLocale }));
3722
+ this.ast = e.__parse(t, V(V({}, s), { locale: this.resolvedLocale }));
3690
3723
  } else
3691
3724
  this.ast = t;
3692
3725
  if (!Array.isArray(this.ast))
@@ -3786,12 +3819,12 @@ function Zi(e, t) {
3786
3819
  n = void 0;
3787
3820
  return n;
3788
3821
  }
3789
- const z = {}, Yi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Kr = (e, t) => {
3822
+ const J = {}, Yi = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), en = (e, t) => {
3790
3823
  if (t == null)
3791
3824
  return;
3792
- if (t in z && e in z[t])
3793
- return z[t][e];
3794
- const r = Me(t);
3825
+ if (t in J && e in J[t])
3826
+ return J[t][e];
3827
+ const r = Ae(t);
3795
3828
  for (let n = 0; n < r.length; n++) {
3796
3829
  const i = r[n], o = Ki(i, e);
3797
3830
  if (o)
@@ -3799,15 +3832,15 @@ const z = {}, Yi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][
3799
3832
  }
3800
3833
  };
3801
3834
  let jt;
3802
- const Ae = rt({});
3835
+ const Ce = rt({});
3803
3836
  function Ji(e) {
3804
3837
  return jt[e] || null;
3805
3838
  }
3806
- function Qr(e) {
3839
+ function tn(e) {
3807
3840
  return e in jt;
3808
3841
  }
3809
3842
  function Ki(e, t) {
3810
- if (!Qr(e))
3843
+ if (!tn(e))
3811
3844
  return null;
3812
3845
  const r = Ji(e);
3813
3846
  return Zi(r, t);
@@ -3815,49 +3848,49 @@ function Ki(e, t) {
3815
3848
  function Qi(e) {
3816
3849
  if (e == null)
3817
3850
  return;
3818
- const t = Me(e);
3851
+ const t = Ae(e);
3819
3852
  for (let r = 0; r < t.length; r++) {
3820
3853
  const n = t[r];
3821
- if (Qr(n))
3854
+ if (tn(n))
3822
3855
  return n;
3823
3856
  }
3824
3857
  }
3825
- function qr(e, ...t) {
3826
- delete z[e], Ae.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3858
+ function rn(e, ...t) {
3859
+ delete J[e], Ce.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3827
3860
  }
3828
- me(
3829
- [Ae],
3861
+ ge(
3862
+ [Ce],
3830
3863
  ([e]) => Object.keys(e)
3831
3864
  );
3832
- Ae.subscribe((e) => jt = e);
3865
+ Ce.subscribe((e) => jt = e);
3833
3866
  const We = {};
3834
3867
  function qi(e, t) {
3835
3868
  We[e].delete(t), We[e].size === 0 && delete We[e];
3836
3869
  }
3837
- function en(e) {
3870
+ function nn(e) {
3838
3871
  return We[e];
3839
3872
  }
3840
3873
  function eo(e) {
3841
- return Me(e).map((t) => {
3842
- const r = en(t);
3874
+ return Ae(e).map((t) => {
3875
+ const r = nn(t);
3843
3876
  return [t, r ? [...r] : []];
3844
3877
  }).filter(([, t]) => t.length > 0);
3845
3878
  }
3846
3879
  function qe(e) {
3847
- return e == null ? !1 : Me(e).some(
3880
+ return e == null ? !1 : Ae(e).some(
3848
3881
  (t) => {
3849
3882
  var r;
3850
- return (r = en(t)) == null ? void 0 : r.size;
3883
+ return (r = nn(t)) == null ? void 0 : r.size;
3851
3884
  }
3852
3885
  );
3853
3886
  }
3854
3887
  function to(e, t) {
3855
3888
  return Promise.all(
3856
3889
  t.map((n) => (qi(e, n), n().then((i) => i.default || i)))
3857
- ).then((n) => qr(e, ...n));
3890
+ ).then((n) => rn(e, ...n));
3858
3891
  }
3859
3892
  const xe = {};
3860
- function tn(e) {
3893
+ function on(e) {
3861
3894
  if (!qe(e))
3862
3895
  return e in xe ? xe[e] : Promise.resolve();
3863
3896
  const t = eo(e);
@@ -3867,7 +3900,7 @@ function tn(e) {
3867
3900
  )
3868
3901
  ).then(() => {
3869
3902
  if (qe(e))
3870
- return tn(e);
3903
+ return on(e);
3871
3904
  delete xe[e];
3872
3905
  }), xe[e];
3873
3906
  }
@@ -3912,9 +3945,9 @@ const oo = {
3912
3945
  };
3913
3946
  function so({ locale: e, id: t }) {
3914
3947
  console.warn(
3915
- `[svelte-i18n] The message "${t}" was not found in "${Me(
3948
+ `[svelte-i18n] The message "${t}" was not found in "${Ae(
3916
3949
  e
3917
- ).join('", "')}".${qe(Y()) ? `
3950
+ ).join('", "')}".${qe(Q()) ? `
3918
3951
 
3919
3952
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3920
3953
  );
@@ -3927,7 +3960,7 @@ const ao = {
3927
3960
  handleMissingMessage: void 0,
3928
3961
  ignoreTag: !0
3929
3962
  }, we = ao;
3930
- function pe() {
3963
+ function me() {
3931
3964
  return we;
3932
3965
  }
3933
3966
  function uo(e) {
@@ -3935,7 +3968,7 @@ function uo(e) {
3935
3968
  let i = e.fallbackLocale;
3936
3969
  if (e.initialLocale)
3937
3970
  try {
3938
- Jr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3971
+ qr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3939
3972
  } catch {
3940
3973
  console.warn(
3941
3974
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
@@ -3943,7 +3976,7 @@ function uo(e) {
3943
3976
  }
3944
3977
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = so : console.warn(
3945
3978
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3946
- )), Object.assign(we, n, { initialLocale: i }), r && ("number" in r && Object.assign(we.formats.number, r.number), "date" in r && Object.assign(we.formats.date, r.date), "time" in r && Object.assign(we.formats.time, r.time)), ee.set(i);
3979
+ )), Object.assign(we, n, { initialLocale: i }), r && ("number" in r && Object.assign(we.formats.number, r.number), "date" in r && Object.assign(we.formats.date, r.date), "time" in r && Object.assign(we.formats.time, r.time)), ne.set(i);
3947
3980
  }
3948
3981
  const mt = rt(!1);
3949
3982
  var lo = Object.defineProperty, ho = Object.defineProperties, co = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, fo = Object.prototype.hasOwnProperty, po = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
@@ -3959,11 +3992,11 @@ const et = rt(null);
3959
3992
  function ar(e) {
3960
3993
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3961
3994
  }
3962
- function Me(e, t = pe().fallbackLocale) {
3995
+ function Ae(e, t = me().fallbackLocale) {
3963
3996
  const r = ar(e);
3964
3997
  return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
3965
3998
  }
3966
- function Y() {
3999
+ function Q() {
3967
4000
  return Tt ?? void 0;
3968
4001
  }
3969
4002
  et.subscribe((e) => {
@@ -3971,19 +4004,19 @@ et.subscribe((e) => {
3971
4004
  });
3972
4005
  const go = (e) => {
3973
4006
  if (e && Qi(e) && qe(e)) {
3974
- const { loadingDelay: t } = pe();
4007
+ const { loadingDelay: t } = me();
3975
4008
  let r;
3976
- return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
4009
+ return typeof window < "u" && Q() != null && t ? r = window.setTimeout(
3977
4010
  () => mt.set(!0),
3978
4011
  t
3979
- ) : mt.set(!0), tn(e).then(() => {
4012
+ ) : mt.set(!0), on(e).then(() => {
3980
4013
  et.set(e);
3981
4014
  }).finally(() => {
3982
4015
  clearTimeout(r), mt.set(!1);
3983
4016
  });
3984
4017
  }
3985
4018
  return et.set(e);
3986
- }, ee = bo(mo({}, et), {
4019
+ }, ne = bo(mo({}, et), {
3987
4020
  set: go
3988
4021
  }), ot = (e) => {
3989
4022
  const t = /* @__PURE__ */ Object.create(null);
@@ -3992,75 +4025,75 @@ const go = (e) => {
3992
4025
  return i in t ? t[i] : t[i] = e(n);
3993
4026
  };
3994
4027
  };
3995
- var yo = Object.defineProperty, tt = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
4028
+ var yo = Object.defineProperty, tt = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
3996
4029
  for (var r in t || (t = {}))
3997
- rn.call(t, r) && ur(e, r, t[r]);
4030
+ sn.call(t, r) && ur(e, r, t[r]);
3998
4031
  if (tt)
3999
4032
  for (var r of tt(t))
4000
- nn.call(t, r) && ur(e, r, t[r]);
4033
+ an.call(t, r) && ur(e, r, t[r]);
4001
4034
  return e;
4002
- }, be = (e, t) => {
4035
+ }, ye = (e, t) => {
4003
4036
  var r = {};
4004
4037
  for (var n in e)
4005
- rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4038
+ sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4006
4039
  if (e != null && tt)
4007
4040
  for (var n of tt(e))
4008
- t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
4041
+ t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4009
4042
  return r;
4010
4043
  };
4011
- const Ce = (e, t) => {
4012
- const { formats: r } = pe();
4044
+ const Me = (e, t) => {
4045
+ const { formats: r } = me();
4013
4046
  if (e in r && t in r[e])
4014
4047
  return r[e][t];
4015
4048
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4016
4049
  }, vo = ot(
4017
4050
  (e) => {
4018
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4051
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4019
4052
  if (r == null)
4020
4053
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4021
- return n && (i = Ce("number", n)), new Intl.NumberFormat(r, i);
4054
+ return n && (i = Me("number", n)), new Intl.NumberFormat(r, i);
4022
4055
  }
4023
4056
  ), _o = ot(
4024
4057
  (e) => {
4025
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4058
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4026
4059
  if (r == null)
4027
4060
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4028
- return n ? i = Ce("date", n) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(r, i);
4061
+ return n ? i = Me("date", n) : Object.keys(i).length === 0 && (i = Me("date", "short")), new Intl.DateTimeFormat(r, i);
4029
4062
  }
4030
4063
  ), Eo = ot(
4031
4064
  (e) => {
4032
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4065
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4033
4066
  if (r == null)
4034
4067
  throw new Error(
4035
4068
  '[svelte-i18n] A "locale" must be set to format time values'
4036
4069
  );
4037
- return n ? i = Ce("time", n) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(r, i);
4070
+ return n ? i = Me("time", n) : Object.keys(i).length === 0 && (i = Me("time", "short")), new Intl.DateTimeFormat(r, i);
4038
4071
  }
4039
4072
  ), xo = (e = {}) => {
4040
4073
  var t = e, {
4041
- locale: r = Y()
4042
- } = t, n = be(t, [
4074
+ locale: r = Q()
4075
+ } = t, n = ye(t, [
4043
4076
  "locale"
4044
4077
  ]);
4045
4078
  return vo(kt({ locale: r }, n));
4046
4079
  }, wo = (e = {}) => {
4047
4080
  var t = e, {
4048
- locale: r = Y()
4049
- } = t, n = be(t, [
4081
+ locale: r = Q()
4082
+ } = t, n = ye(t, [
4050
4083
  "locale"
4051
4084
  ]);
4052
4085
  return _o(kt({ locale: r }, n));
4053
4086
  }, So = (e = {}) => {
4054
4087
  var t = e, {
4055
- locale: r = Y()
4056
- } = t, n = be(t, [
4088
+ locale: r = Q()
4089
+ } = t, n = ye(t, [
4057
4090
  "locale"
4058
4091
  ]);
4059
4092
  return Eo(kt({ locale: r }, n));
4060
4093
  }, To = ot(
4061
4094
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4062
- (e, t = Y()) => new Jr(e, t, pe().formats, {
4063
- ignoreTag: pe().ignoreTag
4095
+ (e, t = Q()) => new qr(e, t, me().formats, {
4096
+ ignoreTag: me().ignoreTag
4064
4097
  })
4065
4098
  ), Ho = (e, t = {}) => {
4066
4099
  var r, n, i, o;
@@ -4068,16 +4101,16 @@ const Ce = (e, t) => {
4068
4101
  typeof e == "object" && (a = e, e = a.id);
4069
4102
  const {
4070
4103
  values: s,
4071
- locale: l = Y(),
4072
- default: u
4104
+ locale: u = Q(),
4105
+ default: l
4073
4106
  } = a;
4074
- if (l == null)
4107
+ if (u == null)
4075
4108
  throw new Error(
4076
4109
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4077
4110
  );
4078
- let h = Kr(e, l);
4111
+ let h = en(e, u);
4079
4112
  if (!h)
4080
- h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4113
+ h = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4081
4114
  else if (typeof h != "string")
4082
4115
  return console.warn(
4083
4116
  `[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.`
@@ -4086,7 +4119,7 @@ const Ce = (e, t) => {
4086
4119
  return h;
4087
4120
  let d = h;
4088
4121
  try {
4089
- d = To(h, l).format(s);
4122
+ d = To(h, u).format(s);
4090
4123
  } catch (c) {
4091
4124
  c instanceof Error && console.warn(
4092
4125
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4094,11 +4127,11 @@ const Ce = (e, t) => {
4094
4127
  );
4095
4128
  }
4096
4129
  return d;
4097
- }, Po = (e, t) => So(t).format(e), Co = (e, t) => wo(t).format(e), Ao = (e, t) => xo(t).format(e), Mo = (e, t = Y()) => Kr(e, t), Bo = me([ee, Ae], () => Ho);
4098
- me([ee], () => Po);
4099
- me([ee], () => Co);
4100
- me([ee], () => Ao);
4101
- me([ee, Ae], () => Mo);
4130
+ }, Po = (e, t) => So(t).format(e), Mo = (e, t) => wo(t).format(e), Co = (e, t) => xo(t).format(e), Ao = (e, t = Q()) => en(e, t), Bo = ge([ne, Ce], () => Ho);
4131
+ ge([ne], () => Po);
4132
+ ge([ne], () => Mo);
4133
+ ge([ne], () => Co);
4134
+ ge([ne, Ce], () => Ao);
4102
4135
  /*! *****************************************************************************
4103
4136
  Copyright (c) Microsoft Corporation.
4104
4137
 
@@ -4142,7 +4175,7 @@ function Pt(e) {
4142
4175
  };
4143
4176
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4144
4177
  }
4145
- function Ct(e, t) {
4178
+ function Mt(e, t) {
4146
4179
  var r = typeof Symbol == "function" && e[Symbol.iterator];
4147
4180
  if (!r)
4148
4181
  return e;
@@ -4162,22 +4195,22 @@ function Ct(e, t) {
4162
4195
  }
4163
4196
  return o;
4164
4197
  }
4165
- function At(e, t, r) {
4198
+ function Ct(e, t, r) {
4166
4199
  if (arguments.length === 2)
4167
4200
  for (var n = 0, i = t.length, o; n < i; n++)
4168
4201
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
4169
4202
  return e.concat(o || t);
4170
4203
  }
4171
- function V(e) {
4204
+ function Y(e) {
4172
4205
  return typeof e == "function";
4173
4206
  }
4174
- function on(e) {
4207
+ function un(e) {
4175
4208
  var t = function(n) {
4176
4209
  Error.call(n), n.stack = new Error().stack;
4177
4210
  }, r = e(t);
4178
4211
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4179
4212
  }
4180
- var bt = on(function(e) {
4213
+ var bt = un(function(e) {
4181
4214
  return function(r) {
4182
4215
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4183
4216
  ` + r.map(function(n, i) {
@@ -4186,7 +4219,7 @@ var bt = on(function(e) {
4186
4219
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4187
4220
  };
4188
4221
  });
4189
- function Mt(e, t) {
4222
+ function At(e, t) {
4190
4223
  if (e) {
4191
4224
  var r = e.indexOf(t);
4192
4225
  0 <= r && e.splice(r, 1);
@@ -4204,15 +4237,15 @@ var st = function() {
4204
4237
  if (a)
4205
4238
  if (this._parentage = null, Array.isArray(a))
4206
4239
  try {
4207
- for (var s = Pt(a), l = s.next(); !l.done; l = s.next()) {
4208
- var u = l.value;
4209
- u.remove(this);
4240
+ for (var s = Pt(a), u = s.next(); !u.done; u = s.next()) {
4241
+ var l = u.value;
4242
+ l.remove(this);
4210
4243
  }
4211
4244
  } catch (p) {
4212
4245
  t = { error: p };
4213
4246
  } finally {
4214
4247
  try {
4215
- l && !l.done && (r = s.return) && r.call(s);
4248
+ u && !u.done && (r = s.return) && r.call(s);
4216
4249
  } finally {
4217
4250
  if (t)
4218
4251
  throw t.error;
@@ -4221,7 +4254,7 @@ var st = function() {
4221
4254
  else
4222
4255
  a.remove(this);
4223
4256
  var h = this.initialTeardown;
4224
- if (V(h))
4257
+ if (Y(h))
4225
4258
  try {
4226
4259
  h();
4227
4260
  } catch (p) {
@@ -4231,19 +4264,19 @@ var st = function() {
4231
4264
  if (d) {
4232
4265
  this._finalizers = null;
4233
4266
  try {
4234
- for (var c = Pt(d), g = c.next(); !g.done; g = c.next()) {
4235
- var f = g.value;
4267
+ for (var c = Pt(d), b = c.next(); !b.done; b = c.next()) {
4268
+ var f = b.value;
4236
4269
  try {
4237
4270
  lr(f);
4238
4271
  } catch (p) {
4239
- o = o ?? [], p instanceof bt ? o = At(At([], Ct(o)), Ct(p.errors)) : o.push(p);
4272
+ o = o ?? [], p instanceof bt ? o = Ct(Ct([], Mt(o)), Mt(p.errors)) : o.push(p);
4240
4273
  }
4241
4274
  }
4242
4275
  } catch (p) {
4243
4276
  n = { error: p };
4244
4277
  } finally {
4245
4278
  try {
4246
- g && !g.done && (i = c.return) && i.call(c);
4279
+ b && !b.done && (i = c.return) && i.call(c);
4247
4280
  } finally {
4248
4281
  if (n)
4249
4282
  throw n.error;
@@ -4274,20 +4307,20 @@ var st = function() {
4274
4307
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4275
4308
  }, e.prototype._removeParent = function(t) {
4276
4309
  var r = this._parentage;
4277
- r === t ? this._parentage = null : Array.isArray(r) && Mt(r, t);
4310
+ r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
4278
4311
  }, e.prototype.remove = function(t) {
4279
4312
  var r = this._finalizers;
4280
- r && Mt(r, t), t instanceof e && t._removeParent(this);
4313
+ r && At(r, t), t instanceof e && t._removeParent(this);
4281
4314
  }, e.EMPTY = function() {
4282
4315
  var t = new e();
4283
4316
  return t.closed = !0, t;
4284
4317
  }(), e;
4285
- }(), sn = st.EMPTY;
4286
- function an(e) {
4287
- return e instanceof st || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
4318
+ }(), ln = st.EMPTY;
4319
+ function hn(e) {
4320
+ return e instanceof st || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
4288
4321
  }
4289
4322
  function lr(e) {
4290
- V(e) ? e() : e.unsubscribe();
4323
+ Y(e) ? e() : e.unsubscribe();
4291
4324
  }
4292
4325
  var Oo = {
4293
4326
  Promise: void 0
@@ -4295,7 +4328,7 @@ var Oo = {
4295
4328
  setTimeout: function(e, t) {
4296
4329
  for (var r = [], n = 2; n < arguments.length; n++)
4297
4330
  r[n - 2] = arguments[n];
4298
- return setTimeout.apply(void 0, At([e, t], Ct(r)));
4331
+ return setTimeout.apply(void 0, Ct([e, t], Mt(r)));
4299
4332
  },
4300
4333
  clearTimeout: function(e) {
4301
4334
  return clearTimeout(e);
@@ -4312,11 +4345,11 @@ function hr() {
4312
4345
  function Xe(e) {
4313
4346
  e();
4314
4347
  }
4315
- var un = function(e) {
4348
+ var cn = function(e) {
4316
4349
  Be(t, e);
4317
4350
  function t(r) {
4318
4351
  var n = e.call(this) || this;
4319
- return n.isStopped = !1, r ? (n.destination = r, an(r) && r.add(n)) : n.destination = Do, n;
4352
+ return n.isStopped = !1, r ? (n.destination = r, hn(r) && r.add(n)) : n.destination = Do, n;
4320
4353
  }
4321
4354
  return t.create = function(r, n, i) {
4322
4355
  return new Bt(r, n, i);
@@ -4378,14 +4411,14 @@ var un = function(e) {
4378
4411
  Be(t, e);
4379
4412
  function t(r, n, i) {
4380
4413
  var o = e.call(this) || this, a;
4381
- return V(r) || !r ? a = {
4414
+ return Y(r) || !r ? a = {
4382
4415
  next: r ?? void 0,
4383
4416
  error: n ?? void 0,
4384
4417
  complete: i ?? void 0
4385
4418
  } : a = r, o.destination = new Io(a), o;
4386
4419
  }
4387
4420
  return t;
4388
- }(un);
4421
+ }(cn);
4389
4422
  function Ue(e) {
4390
4423
  No(e);
4391
4424
  }
@@ -4420,8 +4453,8 @@ var cr = function() {
4420
4453
  }, e.prototype.subscribe = function(t, r, n) {
4421
4454
  var i = this, o = jo(t) ? t : new Bt(t, r, n);
4422
4455
  return Xe(function() {
4423
- var a = i, s = a.operator, l = a.source;
4424
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4456
+ var a = i, s = a.operator, u = a.source;
4457
+ o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4425
4458
  }), o;
4426
4459
  }, e.prototype._trySubscribe = function(t) {
4427
4460
  try {
@@ -4436,8 +4469,8 @@ var cr = function() {
4436
4469
  next: function(s) {
4437
4470
  try {
4438
4471
  t(s);
4439
- } catch (l) {
4440
- o(l), a.unsubscribe();
4472
+ } catch (u) {
4473
+ o(u), a.unsubscribe();
4441
4474
  }
4442
4475
  },
4443
4476
  error: o,
@@ -4475,16 +4508,16 @@ function fr(e) {
4475
4508
  return (t = e ?? Oo.Promise) !== null && t !== void 0 ? t : Promise;
4476
4509
  }
4477
4510
  function Fo(e) {
4478
- return e && V(e.next) && V(e.error) && V(e.complete);
4511
+ return e && Y(e.next) && Y(e.error) && Y(e.complete);
4479
4512
  }
4480
4513
  function jo(e) {
4481
- return e && e instanceof un || Fo(e) && an(e);
4514
+ return e && e instanceof cn || Fo(e) && hn(e);
4482
4515
  }
4483
- var ko = on(function(e) {
4516
+ var ko = un(function(e) {
4484
4517
  return function() {
4485
4518
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4486
4519
  };
4487
- }), ln = function(e) {
4520
+ }), fn = function(e) {
4488
4521
  Be(t, e);
4489
4522
  function t() {
4490
4523
  var r = e.call(this) || this;
@@ -4504,11 +4537,11 @@ var ko = on(function(e) {
4504
4537
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4505
4538
  try {
4506
4539
  for (var a = Pt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4507
- var l = s.value;
4508
- l.next(r);
4540
+ var u = s.value;
4541
+ u.next(r);
4509
4542
  }
4510
- } catch (u) {
4511
- i = { error: u };
4543
+ } catch (l) {
4544
+ i = { error: l };
4512
4545
  } finally {
4513
4546
  try {
4514
4547
  s && !s.done && (o = a.return) && o.call(a);
@@ -4552,8 +4585,8 @@ var ko = on(function(e) {
4552
4585
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4553
4586
  }, t.prototype._innerSubscribe = function(r) {
4554
4587
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4555
- return o || a ? sn : (this.currentObservers = null, s.push(r), new st(function() {
4556
- n.currentObservers = null, Mt(s, r);
4588
+ return o || a ? ln : (this.currentObservers = null, s.push(r), new st(function() {
4589
+ n.currentObservers = null, At(s, r);
4557
4590
  }));
4558
4591
  }, t.prototype._checkFinalizedStatuses = function(r) {
4559
4592
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
@@ -4581,37 +4614,37 @@ var ko = on(function(e) {
4581
4614
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4582
4615
  }, t.prototype._subscribe = function(r) {
4583
4616
  var n, i;
4584
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : sn;
4617
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ln;
4585
4618
  }, t;
4586
- }(ln), hn = {
4619
+ }(fn), pn = {
4587
4620
  now: function() {
4588
- return (hn.delegate || Date).now();
4621
+ return (pn.delegate || Date).now();
4589
4622
  },
4590
4623
  delegate: void 0
4591
4624
  }, Vo = function(e) {
4592
4625
  Be(t, e);
4593
4626
  function t(r, n, i) {
4594
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hn);
4627
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = pn);
4595
4628
  var o = e.call(this) || this;
4596
4629
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4597
4630
  }
4598
4631
  return t.prototype.next = function(r) {
4599
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
4600
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
4632
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
4633
+ i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4601
4634
  }, t.prototype._subscribe = function(r) {
4602
4635
  this._throwIfClosed(), this._trimBuffer();
4603
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
4604
- r.next(s[l]);
4636
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
4637
+ r.next(s[u]);
4605
4638
  return this._checkFinalizedStatuses(r), n;
4606
4639
  }, t.prototype._trimBuffer = function() {
4607
4640
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
4608
4641
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4609
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
4610
- u = h;
4611
- u && o.splice(0, u + 1);
4642
+ for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
4643
+ l = h;
4644
+ l && o.splice(0, l + 1);
4612
4645
  }
4613
4646
  }, t;
4614
- }(ln);
4647
+ }(fn);
4615
4648
  const dr = [], mr = {}, Wo = (e, t = 0) => {
4616
4649
  if (dr.indexOf(e) == -1) {
4617
4650
  const r = new Vo(t);
@@ -4625,11 +4658,11 @@ const Xo = (e, t, r, n) => {
4625
4658
  }, Ge = (e, t) => {
4626
4659
  if (!Nt)
4627
4660
  return new Intl.NumberFormat(Ot, { style: "currency", currency: t, currencyDisplay: Lt === "true" ? "symbol" : "code", maximumFractionDigits: Se, minimumFractionDigits: Se }).format(e);
4628
- const n = new Intl.NumberFormat(Ot, { style: "currency", currency: t, currencyDisplay: Lt === "true" ? "symbol" : "code", maximumFractionDigits: Se, minimumFractionDigits: Se }).formatToParts(e), i = n.find((l) => l.type === "currency"), a = n.filter((l) => l.type !== "currency").map((l) => l.value).join("");
4661
+ const n = new Intl.NumberFormat(Ot, { style: "currency", currency: t, currencyDisplay: Lt === "true" ? "symbol" : "code", maximumFractionDigits: Se, minimumFractionDigits: Se }).formatToParts(e), i = n.find((u) => u.type === "currency"), a = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4629
4662
  return Nt === "before" ? `${i.value} ${a}` : `${a} ${i.value}`;
4630
4663
  };
4631
4664
  window.emWidgets = { topic: Wo };
4632
- const Fe = (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)), Ts = {
4665
+ const Fe = (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)), Ms = {
4633
4666
  AED: "د.إ",
4634
4667
  AFN: "؋",
4635
4668
  ALL: "L",
@@ -4827,12 +4860,12 @@ function Yo(e, t, r) {
4827
4860
  }
4828
4861
  }
4829
4862
  function br(e, t) {
4830
- qr(e, t);
4863
+ rn(e, t);
4831
4864
  }
4832
4865
  function Jo(e) {
4833
4866
  uo({
4834
4867
  fallbackLocale: "en"
4835
- }), ee.set(e);
4868
+ }), ne.set(e);
4836
4869
  }
4837
4870
  const gr = {
4838
4871
  en: {
@@ -4873,7 +4906,7 @@ const gr = {
4873
4906
  }
4874
4907
  };
4875
4908
  function Ko(e) {
4876
- gn(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4909
+ _n(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4877
4910
  }
4878
4911
  function yr(e, t, r) {
4879
4912
  const n = e.slice();
@@ -4890,18 +4923,18 @@ function Qo(e) {
4890
4923
  ), n;
4891
4924
  return {
4892
4925
  c() {
4893
- t = H("p"), n = $(r), C(t, "class", "NoFavoritePaymentMethods");
4926
+ t = H("p"), n = F(r), C(t, "class", "NoFavoritePaymentMethods");
4894
4927
  },
4895
4928
  m(i, o) {
4896
- j(i, t, o), x(t, n);
4929
+ X(i, t, o), x(t, n);
4897
4930
  },
4898
4931
  p(i, o) {
4899
4932
  o[0] & /*$_*/
4900
4933
  64 && r !== (r = /*$_*/
4901
- i[6]("noFavoritePaymentMethods") + "") && k(n, r);
4934
+ i[6]("noFavoritePaymentMethods") + "") && Z(n, r);
4902
4935
  },
4903
4936
  d(i) {
4904
- i && L(t);
4937
+ i && D(t);
4905
4938
  }
4906
4939
  };
4907
4940
  }
@@ -4914,56 +4947,56 @@ function qo(e) {
4914
4947
  /*userAgent*/
4915
4948
  e[7]
4916
4949
  ) && /*promotedPaymentMethods*/
4917
- e[4].length > 1, s, l, u, h, d, c = r && _r(e), g = De(
4950
+ e[4].length > 1, s, u, l, h, d, c = r && _r(e), b = De(
4918
4951
  /*promotedPaymentMethods*/
4919
4952
  e[4]
4920
4953
  ), f = [];
4921
- for (let y = 0; y < g.length; y += 1)
4922
- f[y] = Er(vr(e, g, y));
4954
+ for (let g = 0; g < b.length; g += 1)
4955
+ f[g] = Er(vr(e, b, g));
4923
4956
  let p = a && xr(e), v = De(Array(
4924
4957
  /*promotedPaymentMethods*/
4925
4958
  e[4].length
4926
- )), E = [];
4927
- for (let y = 0; y < v.length; y += 1)
4928
- E[y] = wr(yr(e, v, y));
4959
+ )), _ = [];
4960
+ for (let g = 0; g < v.length; g += 1)
4961
+ _[g] = wr(yr(e, v, g));
4929
4962
  return {
4930
4963
  c() {
4931
- t = H("div"), c && c.c(), n = R(), i = H("div");
4932
- for (let y = 0; y < f.length; y += 1)
4933
- f[y].c();
4934
- o = R(), p && p.c(), l = R(), u = H("div");
4935
- for (let y = 0; y < E.length; y += 1)
4936
- E[y].c();
4937
- C(i, "class", "Carousel"), C(t, "class", "CarouselCardsContainer"), q(() => (
4964
+ t = H("div"), c && c.c(), n = U(), i = H("div");
4965
+ for (let g = 0; g < f.length; g += 1)
4966
+ f[g].c();
4967
+ o = U(), p && p.c(), u = U(), l = H("div");
4968
+ for (let g = 0; g < _.length; g += 1)
4969
+ _[g].c();
4970
+ C(i, "class", "Carousel"), C(t, "class", "CarouselCardsContainer"), re(() => (
4938
4971
  /*div1_elementresize_handler*/
4939
4972
  e[26].call(t)
4940
- )), C(u, "class", "VisualDotIndicator");
4973
+ )), C(l, "class", "VisualDotIndicator");
4941
4974
  },
4942
- m(y, _) {
4943
- j(y, t, _), c && c.m(t, null), x(t, n), x(t, i);
4975
+ m(g, E) {
4976
+ X(g, t, E), c && c.m(t, null), x(t, n), x(t, i);
4944
4977
  for (let m = 0; m < f.length; m += 1)
4945
4978
  f[m] && f[m].m(i, null);
4946
- e[24](i), x(t, o), p && p.m(t, null), s = En(
4979
+ e[24](i), x(t, o), p && p.m(t, null), s = Sn(
4947
4980
  t,
4948
4981
  /*div1_elementresize_handler*/
4949
4982
  e[26].bind(t)
4950
- ), j(y, l, _), j(y, u, _);
4951
- for (let m = 0; m < E.length; m += 1)
4952
- E[m] && E[m].m(u, null);
4983
+ ), X(g, u, E), X(g, l, E);
4984
+ for (let m = 0; m < _.length; m += 1)
4985
+ _[m] && _[m].m(l, null);
4953
4986
  h || (d = [
4954
- Z(
4987
+ K(
4955
4988
  i,
4956
4989
  "touchstart",
4957
4990
  /*handleTouchStart*/
4958
4991
  e[9]
4959
4992
  ),
4960
- Z(
4993
+ K(
4961
4994
  i,
4962
4995
  "touchmove",
4963
4996
  /*handleTouchMove*/
4964
4997
  e[10]
4965
4998
  ),
4966
- Z(
4999
+ K(
4967
5000
  i,
4968
5001
  "touchend",
4969
5002
  /*handleTouchEnd*/
@@ -4971,50 +5004,50 @@ function qo(e) {
4971
5004
  )
4972
5005
  ], h = !0);
4973
5006
  },
4974
- p(y, _) {
4975
- if (_[0] & /*promotedPaymentMethods*/
5007
+ p(g, E) {
5008
+ if (E[0] & /*promotedPaymentMethods*/
4976
5009
  16 && (r = !Fe(
4977
5010
  /*userAgent*/
4978
- y[7]
5011
+ g[7]
4979
5012
  ) && /*promotedPaymentMethods*/
4980
- y[4].length > 1), r ? c ? c.p(y, _) : (c = _r(y), c.c(), c.m(t, n)) : c && (c.d(1), c = null), _[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_, methodtype*/
5013
+ g[4].length > 1), r ? c ? c.p(g, E) : (c = _r(g), c.c(), c.m(t, n)) : c && (c.d(1), c = null), E[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_, methodtype*/
4981
5014
  369) {
4982
- g = De(
5015
+ b = De(
4983
5016
  /*promotedPaymentMethods*/
4984
- y[4]
5017
+ g[4]
4985
5018
  );
4986
5019
  let m;
4987
- for (m = 0; m < g.length; m += 1) {
4988
- const T = vr(y, g, m);
4989
- f[m] ? f[m].p(T, _) : (f[m] = Er(T), f[m].c(), f[m].m(i, null));
5020
+ for (m = 0; m < b.length; m += 1) {
5021
+ const T = vr(g, b, m);
5022
+ f[m] ? f[m].p(T, E) : (f[m] = Er(T), f[m].c(), f[m].m(i, null));
4990
5023
  }
4991
5024
  for (; m < f.length; m += 1)
4992
5025
  f[m].d(1);
4993
- f.length = g.length;
5026
+ f.length = b.length;
4994
5027
  }
4995
- if (_[0] & /*promotedPaymentMethods*/
5028
+ if (E[0] & /*promotedPaymentMethods*/
4996
5029
  16 && (a = !Fe(
4997
5030
  /*userAgent*/
4998
- y[7]
5031
+ g[7]
4999
5032
  ) && /*promotedPaymentMethods*/
5000
- y[4].length > 1), a ? p ? p.p(y, _) : (p = xr(y), p.c(), p.m(t, null)) : p && (p.d(1), p = null), _[0] & /*activeIndex, promotedPaymentMethods*/
5033
+ g[4].length > 1), a ? p ? p.p(g, E) : (p = xr(g), p.c(), p.m(t, null)) : p && (p.d(1), p = null), E[0] & /*activeIndex, promotedPaymentMethods*/
5001
5034
  48) {
5002
5035
  v = De(Array(
5003
5036
  /*promotedPaymentMethods*/
5004
- y[4].length
5037
+ g[4].length
5005
5038
  ));
5006
5039
  let m;
5007
5040
  for (m = 0; m < v.length; m += 1) {
5008
- const T = yr(y, v, m);
5009
- E[m] ? E[m].p(T, _) : (E[m] = wr(T), E[m].c(), E[m].m(u, null));
5041
+ const T = yr(g, v, m);
5042
+ _[m] ? _[m].p(T, E) : (_[m] = wr(T), _[m].c(), _[m].m(l, null));
5010
5043
  }
5011
- for (; m < E.length; m += 1)
5012
- E[m].d(1);
5013
- E.length = v.length;
5044
+ for (; m < _.length; m += 1)
5045
+ _[m].d(1);
5046
+ _.length = v.length;
5014
5047
  }
5015
5048
  },
5016
- d(y) {
5017
- y && (L(t), L(l), L(u)), c && c.d(), zt(f, y), e[24](null), p && p.d(), s(), zt(E, y), h = !1, W(d);
5049
+ d(g) {
5050
+ g && (D(t), D(u), D(l)), c && c.d(), zt(f, g), e[24](null), p && p.d(), s(), zt(_, g), h = !1, z(d);
5018
5051
  }
5019
5052
  };
5020
5053
  }
@@ -5025,46 +5058,46 @@ function _r(e) {
5025
5058
  t = H("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");
5026
5059
  },
5027
5060
  m(i, o) {
5028
- j(i, t, o), r || (n = Z(
5061
+ X(i, t, o), r || (n = K(
5029
5062
  t,
5030
5063
  "click",
5031
5064
  /*click_handler*/
5032
5065
  e[22]
5033
5066
  ), r = !0);
5034
5067
  },
5035
- p: M,
5068
+ p: O,
5036
5069
  d(i) {
5037
- i && L(t), r = !1, n();
5070
+ i && D(t), r = !1, n();
5038
5071
  }
5039
5072
  };
5040
5073
  }
5041
5074
  function Er(e) {
5042
- let t, r, n, i, o, a, s, l, u, h = (
5075
+ let t, r, n, i, o, a, s, u, l, h = (
5043
5076
  /*method*/
5044
5077
  (e[41].Label || /*method*/
5045
5078
  e[41].Name) + ""
5046
- ), d, c, g, f, p = (
5079
+ ), d, c, b, f, p = (
5047
5080
  /*$_*/
5048
5081
  e[6](`${/*methodtype*/
5049
5082
  e[0]}${/*method*/
5050
5083
  e[41].ProcessingTime}`) + ""
5051
- ), v, E, y, _, m, T = (
5084
+ ), v, _, g, E, m, T = (
5052
5085
  /*$_*/
5053
5086
  e[6]("generalMin") + ""
5054
- ), N, X, te = Ge(
5087
+ ), L, P, B = Ge(
5055
5088
  /*method*/
5056
5089
  e[41].DisplayCurrency.MinAmountLimit,
5057
5090
  /*method*/
5058
5091
  e[41].DisplayCurrency.Name
5059
- ) + "", ge, ye, D, re = (
5092
+ ) + "", N, j, G, ie = (
5060
5093
  /*$_*/
5061
5094
  e[6]("generalMax") + ""
5062
- ), ve, Oe, ne = Ge(
5095
+ ), ve, Oe, oe = Ge(
5063
5096
  /*method*/
5064
5097
  e[41].DisplayCurrency.MaxAmountLimit,
5065
5098
  /*method*/
5066
5099
  e[41].DisplayCurrency.Name
5067
- ) + "", J, Le, ie, _e, Ne;
5100
+ ) + "", q, Le, se, _e, Ne;
5068
5101
  function at() {
5069
5102
  return (
5070
5103
  /*click_handler_1*/
@@ -5078,50 +5111,50 @@ function Er(e) {
5078
5111
  }
5079
5112
  return {
5080
5113
  c() {
5081
- t = H("div"), r = H("div"), n = H("img"), a = R(), s = H("div"), l = H("div"), u = H("span"), d = $(h), c = R(), g = H("div"), f = H("span"), v = $(p), E = R(), y = H("div"), _ = H("span"), m = H("span"), N = $(T), X = R(), ge = $(te), ye = R(), D = H("span"), ve = $(re), Oe = R(), J = $(ne), Le = R(), Xt(n.src, i = /*method*/
5114
+ t = H("div"), r = H("div"), n = H("img"), a = U(), s = H("div"), u = H("div"), l = H("span"), d = F(h), c = U(), b = H("div"), f = H("span"), v = F(p), _ = U(), g = H("div"), E = H("span"), m = H("span"), L = F(T), P = U(), N = F(B), j = U(), G = H("span"), ve = F(ie), Oe = U(), q = F(oe), Le = U(), Xt(n.src, i = /*method*/
5082
5115
  e[41].LogoUrl) || C(n, "src", i), C(n, "alt", o = /*method*/
5083
- e[41].Label), C(r, "class", "MethodLogo"), C(l, "class", "MethodTitle"), C(g, "class", "MethodProcessingTime"), C(_, "class", "Limits"), C(y, "class", "MethodLimits"), C(s, "class", "MethodInfo"), C(t, "class", ie = `CarouselCardWrapper ${/*index*/
5116
+ e[41].Label), C(r, "class", "MethodLogo"), C(u, "class", "MethodTitle"), C(b, "class", "MethodProcessingTime"), C(E, "class", "Limits"), C(g, "class", "MethodLimits"), C(s, "class", "MethodInfo"), C(t, "class", se = `CarouselCardWrapper ${/*index*/
5084
5117
  e[40] === /*activeIndex*/
5085
5118
  e[5] ? "active" : ""}`);
5086
5119
  },
5087
- m(K, b) {
5088
- j(K, t, b), x(t, r), x(r, n), x(t, a), x(t, s), x(s, l), x(l, u), x(u, d), x(s, c), x(s, g), x(g, f), x(f, v), x(s, E), x(s, y), x(y, _), x(_, m), x(m, N), x(m, X), x(m, ge), x(_, ye), x(_, D), x(D, ve), x(D, Oe), x(D, J), x(t, Le), _e || (Ne = Z(t, "click", at), _e = !0);
5120
+ m(ee, y) {
5121
+ X(ee, t, y), x(t, r), x(r, n), x(t, a), x(t, s), x(s, u), x(u, l), x(l, d), x(s, c), x(s, b), x(b, f), x(f, v), x(s, _), x(s, g), x(g, E), x(E, m), x(m, L), x(m, P), x(m, N), x(E, j), x(E, G), x(G, ve), x(G, Oe), x(G, q), x(t, Le), _e || (Ne = K(t, "click", at), _e = !0);
5089
5122
  },
5090
- p(K, b) {
5091
- e = K, b[0] & /*promotedPaymentMethods*/
5123
+ p(ee, y) {
5124
+ e = ee, y[0] & /*promotedPaymentMethods*/
5092
5125
  16 && !Xt(n.src, i = /*method*/
5093
- e[41].LogoUrl) && C(n, "src", i), b[0] & /*promotedPaymentMethods*/
5126
+ e[41].LogoUrl) && C(n, "src", i), y[0] & /*promotedPaymentMethods*/
5094
5127
  16 && o !== (o = /*method*/
5095
- e[41].Label) && C(n, "alt", o), b[0] & /*promotedPaymentMethods*/
5128
+ e[41].Label) && C(n, "alt", o), y[0] & /*promotedPaymentMethods*/
5096
5129
  16 && h !== (h = /*method*/
5097
5130
  (e[41].Label || /*method*/
5098
- e[41].Name) + "") && k(d, h), b[0] & /*$_, methodtype, promotedPaymentMethods*/
5131
+ e[41].Name) + "") && Z(d, h), y[0] & /*$_, methodtype, promotedPaymentMethods*/
5099
5132
  81 && p !== (p = /*$_*/
5100
5133
  e[6](`${/*methodtype*/
5101
5134
  e[0]}${/*method*/
5102
- e[41].ProcessingTime}`) + "") && k(v, p), b[0] & /*$_*/
5135
+ e[41].ProcessingTime}`) + "") && Z(v, p), y[0] & /*$_*/
5103
5136
  64 && T !== (T = /*$_*/
5104
- e[6]("generalMin") + "") && k(N, T), b[0] & /*promotedPaymentMethods*/
5105
- 16 && te !== (te = Ge(
5137
+ e[6]("generalMin") + "") && Z(L, T), y[0] & /*promotedPaymentMethods*/
5138
+ 16 && B !== (B = Ge(
5106
5139
  /*method*/
5107
5140
  e[41].DisplayCurrency.MinAmountLimit,
5108
5141
  /*method*/
5109
5142
  e[41].DisplayCurrency.Name
5110
- ) + "") && k(ge, te), b[0] & /*$_*/
5111
- 64 && re !== (re = /*$_*/
5112
- e[6]("generalMax") + "") && k(ve, re), b[0] & /*promotedPaymentMethods*/
5113
- 16 && ne !== (ne = Ge(
5143
+ ) + "") && Z(N, B), y[0] & /*$_*/
5144
+ 64 && ie !== (ie = /*$_*/
5145
+ e[6]("generalMax") + "") && Z(ve, ie), y[0] & /*promotedPaymentMethods*/
5146
+ 16 && oe !== (oe = Ge(
5114
5147
  /*method*/
5115
5148
  e[41].DisplayCurrency.MaxAmountLimit,
5116
5149
  /*method*/
5117
5150
  e[41].DisplayCurrency.Name
5118
- ) + "") && k(J, ne), b[0] & /*activeIndex*/
5119
- 32 && ie !== (ie = `CarouselCardWrapper ${/*index*/
5151
+ ) + "") && Z(q, oe), y[0] & /*activeIndex*/
5152
+ 32 && se !== (se = `CarouselCardWrapper ${/*index*/
5120
5153
  e[40] === /*activeIndex*/
5121
- e[5] ? "active" : ""}`) && C(t, "class", ie);
5154
+ e[5] ? "active" : ""}`) && C(t, "class", se);
5122
5155
  },
5123
- d(K) {
5124
- K && L(t), _e = !1, Ne();
5156
+ d(ee) {
5157
+ ee && D(t), _e = !1, Ne();
5125
5158
  }
5126
5159
  };
5127
5160
  }
@@ -5132,16 +5165,16 @@ function xr(e) {
5132
5165
  t = H("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");
5133
5166
  },
5134
5167
  m(i, o) {
5135
- j(i, t, o), r || (n = Z(
5168
+ X(i, t, o), r || (n = K(
5136
5169
  t,
5137
5170
  "click",
5138
5171
  /*click_handler_2*/
5139
5172
  e[25]
5140
5173
  ), r = !0);
5141
5174
  },
5142
- p: M,
5175
+ p: O,
5143
5176
  d(i) {
5144
- i && L(t), r = !1, n();
5177
+ i && D(t), r = !1, n();
5145
5178
  }
5146
5179
  };
5147
5180
  }
@@ -5154,7 +5187,7 @@ function wr(e) {
5154
5187
  e[5] ? "active" : ""}`);
5155
5188
  },
5156
5189
  m(n, i) {
5157
- j(n, t, i);
5190
+ X(n, t, i);
5158
5191
  },
5159
5192
  p(n, i) {
5160
5193
  i[0] & /*activeIndex*/
@@ -5163,7 +5196,7 @@ function wr(e) {
5163
5196
  n[5] ? "active" : ""}`) && C(t, "class", r);
5164
5197
  },
5165
5198
  d(n) {
5166
- n && L(t);
5199
+ n && D(t);
5167
5200
  }
5168
5201
  };
5169
5202
  }
@@ -5171,7 +5204,7 @@ function es(e) {
5171
5204
  let t, r, n, i, o = (
5172
5205
  /*$_*/
5173
5206
  e[6]("carouselTitle") + ""
5174
- ), a, s, l, u = (
5207
+ ), a, s, u, l = (
5175
5208
  /*$_*/
5176
5209
  e[6]("carouselSubtitle") + ""
5177
5210
  ), h, d;
@@ -5181,147 +5214,147 @@ function es(e) {
5181
5214
  p[4].length > 0 ? qo : Qo
5182
5215
  );
5183
5216
  }
5184
- let g = c(e), f = g(e);
5217
+ let b = c(e), f = b(e);
5185
5218
  return {
5186
5219
  c() {
5187
- t = H("div"), r = H("div"), n = H("div"), i = H("h4"), a = $(o), s = R(), l = H("p"), h = $(u), d = R(), f.c(), C(n, "class", "CarouselHeader"), C(r, "class", "CashierCarouselWarpper");
5220
+ t = H("div"), r = H("div"), n = H("div"), i = H("h4"), a = F(o), s = U(), u = H("p"), h = F(l), d = U(), f.c(), C(n, "class", "CarouselHeader"), C(r, "class", "CashierCarouselWarpper");
5188
5221
  },
5189
5222
  m(p, v) {
5190
- j(p, t, v), x(t, r), x(r, n), x(n, i), x(i, a), x(n, s), x(n, l), x(l, h), x(r, d), f.m(r, null), e[27](t);
5223
+ X(p, t, v), x(t, r), x(r, n), x(n, i), x(i, a), x(n, s), x(n, u), x(u, h), x(r, d), f.m(r, null), e[27](t);
5191
5224
  },
5192
5225
  p(p, v) {
5193
5226
  v[0] & /*$_*/
5194
5227
  64 && o !== (o = /*$_*/
5195
- p[6]("carouselTitle") + "") && k(a, o), v[0] & /*$_*/
5196
- 64 && u !== (u = /*$_*/
5197
- p[6]("carouselSubtitle") + "") && k(h, u), g === (g = c(p)) && f ? f.p(p, v) : (f.d(1), f = g(p), f && (f.c(), f.m(r, null)));
5228
+ p[6]("carouselTitle") + "") && Z(a, o), v[0] & /*$_*/
5229
+ 64 && l !== (l = /*$_*/
5230
+ p[6]("carouselSubtitle") + "") && Z(h, l), b === (b = c(p)) && f ? f.p(p, v) : (f.d(1), f = b(p), f && (f.c(), f.m(r, null)));
5198
5231
  },
5199
- i: M,
5200
- o: M,
5232
+ i: O,
5233
+ o: O,
5201
5234
  d(p) {
5202
- p && L(t), f.d(), e[27](null);
5235
+ p && D(t), f.d(), e[27](null);
5203
5236
  }
5204
5237
  };
5205
5238
  }
5206
5239
  function ts(e, t, r) {
5207
5240
  let n;
5208
- bn(e, Bo, (b) => r(6, n = b));
5209
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: l = "2" } = t, { methodtype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: c = "" } = t, { translationurl: g = "" } = t, f, p = [], v = 0, E = !0, y = 0, _ = !1, m, T, N = window.navigator.userAgent;
5210
- const X = (b) => {
5211
- b.data && b.data.type === "PromotedPaymentMethods" && (r(4, p = b.data.promotedPaymentMethods), r(5, v = Math.floor((p.length - 1) / 2)));
5241
+ vn(e, Bo, (y) => r(6, n = y));
5242
+ let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: u = "2" } = t, { methodtype: l = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: c = "" } = t, { translationurl: b = "" } = t, f, p = [], v = 0, _ = !0, g = 0, E = !1, m, T, L = window.navigator.userAgent;
5243
+ const P = (y) => {
5244
+ y.data && y.data.type === "PromotedPaymentMethods" && (r(4, p = y.data.promotedPaymentMethods), r(5, v = Math.floor((p.length - 1) / 2)));
5212
5245
  };
5213
- Object.keys(gr).forEach((b) => {
5214
- br(b, gr[b]);
5246
+ Object.keys(gr).forEach((y) => {
5247
+ br(y, gr[y]);
5215
5248
  });
5216
- const te = () => {
5217
- let b = g;
5218
- if (b)
5219
- return fetch(b).then((B) => B.json()).then((B) => {
5220
- Object.keys(B).forEach((U) => {
5221
- br(U, B[U]);
5249
+ const B = () => {
5250
+ let y = b;
5251
+ if (y)
5252
+ return fetch(y).then((I) => I.json()).then((I) => {
5253
+ Object.keys(I).forEach((k) => {
5254
+ br(k, I[k]);
5222
5255
  });
5223
- }).catch((B) => {
5224
- console.log(B);
5256
+ }).catch((I) => {
5257
+ console.log(I);
5225
5258
  });
5226
- }, ge = () => {
5259
+ }, N = () => {
5227
5260
  Jo(i);
5228
- }, ye = (b, B) => {
5229
- r(5, v = B), r(2, m.style.transform = D(), m), b.Name, window.postMessage({ type: "SelectPayMeth", details: b }, window.location.href), dispatchEvent(new CustomEvent(
5261
+ }, j = (y, I) => {
5262
+ r(5, v = I), r(2, m.style.transform = G(), m), y.Name, window.postMessage({ type: "SelectPayMeth", details: y }, window.location.href), dispatchEvent(new CustomEvent(
5230
5263
  "selectPayMeth",
5231
5264
  {
5232
- detail: b,
5265
+ detail: y,
5233
5266
  bubbles: !0,
5234
5267
  cancelable: !0,
5235
5268
  composed: !0
5236
5269
  }
5237
5270
  ));
5238
- }, D = () => {
5271
+ }, G = () => {
5239
5272
  if (p.length == 1)
5240
5273
  return "translateX(0px)";
5241
- const U = 160 + 5, Vt = U * p.length;
5274
+ const k = 160 + 5, Vt = k * p.length;
5242
5275
  let ut;
5243
5276
  p.length % 2 === 1 ? ut = Math.floor(p.length / 2) : ut = Math.floor(p.length / 2) - 0.5;
5244
- let fn = T - Vt;
5245
- const pn = ut - v;
5246
- return `translateX(${fn / 2 + pn * U - 20}px)`;
5247
- }, re = (b) => {
5248
- y = b.touches[0].clientX, _ = !0, m.classList.add("dragging");
5249
- }, ve = (b) => {
5250
- if (!_)
5277
+ let mn = T - Vt;
5278
+ const bn = ut - v;
5279
+ return `translateX(${mn / 2 + bn * k - 20}px)`;
5280
+ }, ie = (y) => {
5281
+ g = y.touches[0].clientX, E = !0, m.classList.add("dragging");
5282
+ }, ve = (y) => {
5283
+ if (!E)
5251
5284
  return;
5252
- const B = b.touches[0].clientX;
5253
- Math.abs(B - y) > 10 && b.preventDefault();
5254
- }, Oe = (b) => {
5255
- if (!_)
5285
+ const I = y.touches[0].clientX;
5286
+ Math.abs(I - g) > 10 && y.preventDefault();
5287
+ }, Oe = (y) => {
5288
+ if (!E)
5256
5289
  return;
5257
- _ = !1, m.classList.remove("dragging");
5258
- const B = b.changedTouches[0].clientX, U = y - B;
5259
- Math.abs(U) > 50 && (U > 0 && v < p.length - 1 ? r(5, v++, v) : U < 0 && v > 0 && r(5, v--, v), r(2, m.style.transform = D(), m));
5260
- }, ne = () => {
5261
- E && (r(2, m.style.transform = D(), m), E = !1);
5262
- }, J = (b) => {
5263
- b === "next" && v < p.length - 1 ? r(5, v++, v) : b === "prev" && v > 0 && r(5, v--, v), r(2, m.style.transform = D(), m);
5290
+ E = !1, m.classList.remove("dragging");
5291
+ const I = y.changedTouches[0].clientX, k = g - I;
5292
+ Math.abs(k) > 50 && (k > 0 && v < p.length - 1 ? r(5, v++, v) : k < 0 && v > 0 && r(5, v--, v), r(2, m.style.transform = G(), m));
5293
+ }, oe = () => {
5294
+ _ && (r(2, m.style.transform = G(), m), _ = !1);
5295
+ }, q = (y) => {
5296
+ y === "next" && v < p.length - 1 ? r(5, v++, v) : y === "prev" && v > 0 && r(5, v--, v), r(2, m.style.transform = G(), m);
5264
5297
  };
5265
- Pn(() => (Xo(o, a, s, l), window.addEventListener("message", X), m && T > 0 && D(), () => {
5266
- window.removeEventListener("message", X);
5298
+ An(() => (Xo(o, a, s, u), window.addEventListener("message", P), m && T > 0 && G(), () => {
5299
+ window.removeEventListener("message", P);
5267
5300
  }));
5268
- const Le = () => J("prev"), ie = (b, B) => ye(b, B);
5269
- function _e(b) {
5270
- Ke[b ? "unshift" : "push"](() => {
5271
- m = b, r(2, m);
5301
+ const Le = () => q("prev"), se = (y, I) => j(y, I);
5302
+ function _e(y) {
5303
+ Ke[y ? "unshift" : "push"](() => {
5304
+ m = y, r(2, m);
5272
5305
  });
5273
5306
  }
5274
- const Ne = () => J("next");
5307
+ const Ne = () => q("next");
5275
5308
  function at() {
5276
5309
  T = this.clientWidth, r(3, T);
5277
5310
  }
5278
- function K(b) {
5279
- Ke[b ? "unshift" : "push"](() => {
5280
- f = b, r(1, f);
5311
+ function ee(y) {
5312
+ Ke[y ? "unshift" : "push"](() => {
5313
+ f = y, r(1, f);
5281
5314
  });
5282
5315
  }
5283
- return e.$$set = (b) => {
5284
- "lang" in b && r(13, i = b.lang), "local" in b && r(14, o = b.local), "currencysymbol" in b && r(15, a = b.currencysymbol), "currencyposition" in b && r(16, s = b.currencyposition), "currencydecimals" in b && r(17, l = b.currencydecimals), "methodtype" in b && r(0, u = b.methodtype), "clientstyling" in b && r(18, h = b.clientstyling), "clientstylingurl" in b && r(19, d = b.clientstylingurl), "mbsource" in b && r(20, c = b.mbsource), "translationurl" in b && r(21, g = b.translationurl);
5316
+ return e.$$set = (y) => {
5317
+ "lang" in y && r(13, i = y.lang), "local" in y && r(14, o = y.local), "currencysymbol" in y && r(15, a = y.currencysymbol), "currencyposition" in y && r(16, s = y.currencyposition), "currencydecimals" in y && r(17, u = y.currencydecimals), "methodtype" in y && r(0, l = y.methodtype), "clientstyling" in y && r(18, h = y.clientstyling), "clientstylingurl" in y && r(19, d = y.clientstylingurl), "mbsource" in y && r(20, c = y.mbsource), "translationurl" in y && r(21, b = y.translationurl);
5285
5318
  }, e.$$.update = () => {
5286
5319
  e.$$.dirty[0] & /*lang*/
5287
- 8192 && i && ge(), e.$$.dirty[0] & /*lang, translationurl*/
5288
- 2105344 && i && g && te(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
5289
- 12 && m && T && ne(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5320
+ 8192 && i && N(), e.$$.dirty[0] & /*lang, translationurl*/
5321
+ 2105344 && i && b && B(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
5322
+ 12 && m && T && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5290
5323
  262146 && h && f && zo(f, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5291
5324
  524290 && d && f && Zo(f, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5292
5325
  1048578 && c && f && Yo(f, `${c}.Style`);
5293
5326
  }, [
5294
- u,
5327
+ l,
5295
5328
  f,
5296
5329
  m,
5297
5330
  T,
5298
5331
  p,
5299
5332
  v,
5300
5333
  n,
5301
- N,
5302
- ye,
5303
- re,
5334
+ L,
5335
+ j,
5336
+ ie,
5304
5337
  ve,
5305
5338
  Oe,
5306
- J,
5339
+ q,
5307
5340
  i,
5308
5341
  o,
5309
5342
  a,
5310
5343
  s,
5311
- l,
5344
+ u,
5312
5345
  h,
5313
5346
  d,
5314
5347
  c,
5315
- g,
5348
+ b,
5316
5349
  Le,
5317
- ie,
5350
+ se,
5318
5351
  _e,
5319
5352
  Ne,
5320
5353
  at,
5321
- K
5354
+ ee
5322
5355
  ];
5323
5356
  }
5324
- class cn extends $n {
5357
+ class dn extends $n {
5325
5358
  constructor(t) {
5326
5359
  super(), Rn(
5327
5360
  this,
@@ -5349,132 +5382,135 @@ class cn extends $n {
5349
5382
  return this.$$.ctx[13];
5350
5383
  }
5351
5384
  set lang(t) {
5352
- this.$$set({ lang: t }), I();
5385
+ this.$$set({ lang: t }), $();
5353
5386
  }
5354
5387
  get local() {
5355
5388
  return this.$$.ctx[14];
5356
5389
  }
5357
5390
  set local(t) {
5358
- this.$$set({ local: t }), I();
5391
+ this.$$set({ local: t }), $();
5359
5392
  }
5360
5393
  get currencysymbol() {
5361
5394
  return this.$$.ctx[15];
5362
5395
  }
5363
5396
  set currencysymbol(t) {
5364
- this.$$set({ currencysymbol: t }), I();
5397
+ this.$$set({ currencysymbol: t }), $();
5365
5398
  }
5366
5399
  get currencyposition() {
5367
5400
  return this.$$.ctx[16];
5368
5401
  }
5369
5402
  set currencyposition(t) {
5370
- this.$$set({ currencyposition: t }), I();
5403
+ this.$$set({ currencyposition: t }), $();
5371
5404
  }
5372
5405
  get currencydecimals() {
5373
5406
  return this.$$.ctx[17];
5374
5407
  }
5375
5408
  set currencydecimals(t) {
5376
- this.$$set({ currencydecimals: t }), I();
5409
+ this.$$set({ currencydecimals: t }), $();
5377
5410
  }
5378
5411
  get methodtype() {
5379
5412
  return this.$$.ctx[0];
5380
5413
  }
5381
5414
  set methodtype(t) {
5382
- this.$$set({ methodtype: t }), I();
5415
+ this.$$set({ methodtype: t }), $();
5383
5416
  }
5384
5417
  get clientstyling() {
5385
5418
  return this.$$.ctx[18];
5386
5419
  }
5387
5420
  set clientstyling(t) {
5388
- this.$$set({ clientstyling: t }), I();
5421
+ this.$$set({ clientstyling: t }), $();
5389
5422
  }
5390
5423
  get clientstylingurl() {
5391
5424
  return this.$$.ctx[19];
5392
5425
  }
5393
5426
  set clientstylingurl(t) {
5394
- this.$$set({ clientstylingurl: t }), I();
5427
+ this.$$set({ clientstylingurl: t }), $();
5395
5428
  }
5396
5429
  get mbsource() {
5397
5430
  return this.$$.ctx[20];
5398
5431
  }
5399
5432
  set mbsource(t) {
5400
- this.$$set({ mbsource: t }), I();
5433
+ this.$$set({ mbsource: t }), $();
5401
5434
  }
5402
5435
  get translationurl() {
5403
5436
  return this.$$.ctx[21];
5404
5437
  }
5405
5438
  set translationurl(t) {
5406
- this.$$set({ translationurl: t }), I();
5439
+ this.$$set({ translationurl: t }), $();
5407
5440
  }
5408
5441
  }
5409
- Dn(cn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5410
- const Hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5442
+ Dn(dn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5443
+ const Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5411
5444
  __proto__: null,
5412
- default: cn
5445
+ default: dn
5413
5446
  }, Symbol.toStringTag, { value: "Module" }));
5414
5447
  export {
5415
- ee as $,
5448
+ ne as $,
5416
5449
  fs as A,
5417
5450
  zo as B,
5418
5451
  Zo as C,
5419
5452
  Yo as D,
5420
5453
  Dn as E,
5421
5454
  Bo as F,
5422
- M as G,
5455
+ O as G,
5423
5456
  rt as H,
5424
5457
  Fn as I,
5425
- Ss as J,
5426
- q as K,
5458
+ Ps as J,
5459
+ re as K,
5427
5460
  us as L,
5428
5461
  Fe as M,
5429
5462
  Xo as N,
5430
5463
  ps as O,
5431
- ls as P,
5432
- Ge as Q,
5464
+ Ge as P,
5465
+ ls as Q,
5433
5466
  De as R,
5434
5467
  $n as S,
5435
- zt as T,
5468
+ Ts as T,
5436
5469
  cs as U,
5437
5470
  ms as V,
5438
- W,
5471
+ z as W,
5439
5472
  ds as X,
5440
- Ts as Y,
5441
- gs as Z,
5442
- ys as _,
5443
- qr as a,
5444
- En as a0,
5445
- It as a1,
5446
- Es as a2,
5447
- _s as a3,
5448
- bs as a4,
5473
+ Ms as Y,
5474
+ zt as Z,
5475
+ Ss as _,
5476
+ rn as a,
5477
+ ys as a0,
5478
+ vs as a1,
5479
+ gs as a2,
5480
+ Sn as a3,
5481
+ It as a4,
5449
5482
  xs as a5,
5450
- as as a6,
5451
- Nn as a7,
5452
- Ln as a8,
5453
- ws as a9,
5454
- Hs as aa,
5483
+ Es as a6,
5484
+ bs as a7,
5485
+ ws as a8,
5486
+ as as a9,
5487
+ Nn as aa,
5488
+ Ln as ab,
5489
+ Hs as ac,
5490
+ Cs as ad,
5455
5491
  Rn as b,
5456
- gn as c,
5492
+ _n as c,
5457
5493
  ns as d,
5458
- L as e,
5459
- I as f,
5460
- On as g,
5494
+ D as e,
5495
+ $ as f,
5496
+ Nr as g,
5461
5497
  ss as h,
5462
5498
  uo as i,
5463
5499
  is as j,
5464
- j as k,
5500
+ X as k,
5465
5501
  x as l,
5466
5502
  H as m,
5467
- R as n,
5503
+ U as n,
5468
5504
  C as o,
5469
- bn as p,
5470
- Pn as q,
5505
+ vn as p,
5506
+ An as q,
5471
5507
  hs as r,
5472
5508
  Tr as s,
5473
- vs as t,
5509
+ _s as t,
5474
5510
  os as u,
5475
- k as v,
5476
- $ as w,
5477
- Z as x,
5511
+ Z as v,
5512
+ F as w,
5513
+ K as x,
5478
5514
  Ke as y,
5479
5515
  Xt as z
5480
5516
  };