@everymatrix/cashier-page-nd 1.69.94 → 1.69.96

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 (61) hide show
  1. package/components/{CashierCarousel-BdYVF6QV.js → CashierCarousel-BJBoHcOi.js} +771 -771
  2. package/components/{CashierCarousel-P8JOEAdW.js → CashierCarousel-C-1lJxZx.js} +781 -781
  3. package/components/CashierCarousel-CnirEVww.cjs +23 -0
  4. package/components/{CashierError-Dc97Q3ia.js → CashierError-C-D4PFqm.js} +1 -1
  5. package/components/{CashierError-BHR0wCX8.cjs → CashierError-C8U_KORa.cjs} +1 -1
  6. package/components/{CashierError-CV3sSdTA.js → CashierError-DXtcdjdr.js} +1 -1
  7. package/components/{CashierHeader-Dq5rXKEy.cjs → CashierHeader-B0zyFjC3.cjs} +1 -1
  8. package/components/{CashierHeader-CNnGcxHX.js → CashierHeader-BwAbSpJS.js} +1 -1
  9. package/components/{CashierHeader-BvRwyGj-.js → CashierHeader-D_cWDFA7.js} +1 -1
  10. package/components/{CashierIframeRedirect-CyxYgQXl.js → CashierIframeRedirect-B1BJpKCB.js} +3 -3
  11. package/components/{CashierIframeRedirect-Tyfog0B-.js → CashierIframeRedirect-BHjA770O.js} +3 -3
  12. package/components/{CashierIframeRedirect-C7g6aYiD.cjs → CashierIframeRedirect-q6fWJWU-.cjs} +1 -1
  13. package/components/{CashierMethodDetails-BQQkicL5.js → CashierMethodDetails-BOgl_IX1.js} +524 -524
  14. package/components/{CashierMethodDetails-Cw3bppxA.js → CashierMethodDetails-CCf6IaU-.js} +504 -504
  15. package/components/{CashierMethodDetails-vl9WpFW-.cjs → CashierMethodDetails-Cq_ccC1E.cjs} +4 -4
  16. package/components/{CashierMethodsList-Bi29u-3T.js → CashierMethodsList-CZtLFkxq.js} +2 -2
  17. package/components/{CashierMethodsList-MWY8DbQT.cjs → CashierMethodsList-hGTvnNKE.cjs} +1 -1
  18. package/components/{CashierMethodsList-Dnurtmpq.js → CashierMethodsList-pBTAlRCN.js} +2 -2
  19. package/components/CashierModal-BepKrwPc.cjs +1 -0
  20. package/components/CashierModal-Bezw_q_p.js +237 -0
  21. package/components/CashierModal-BkWWCFGy.js +237 -0
  22. package/components/{CashierNotifications-C7E0y8oy.js → CashierNotifications-BKQ84v7D.js} +1 -1
  23. package/components/{CashierNotifications-CV5fK-_h.js → CashierNotifications-BLOBfSE-.js} +1 -1
  24. package/components/{CashierNotifications-B1_IvWSx.cjs → CashierNotifications-BiaTO8zv.cjs} +1 -1
  25. package/components/{CashierPage-CPBTVmCF.js → CashierPage-BVogJQJz.js} +673 -610
  26. package/components/{CashierPage-TX2t-xAH.js → CashierPage-C-qW-3WO.js} +672 -609
  27. package/components/CashierPage-_oClXFYx.cjs +1 -0
  28. package/components/CashierReceiptPage-BY8iDo7k.cjs +26 -0
  29. package/components/{CashierReceiptPage-CtOCAaLC.js → CashierReceiptPage-C4LnHWVS.js} +541 -564
  30. package/components/{CashierReceiptPage-C6wwbN8P.js → CashierReceiptPage-pX5ZB8GS.js} +535 -558
  31. package/components/{CashierSessionExpirationModal-CH7OH5eP.js → CashierSessionExpirationModal-DCwaZyoe.js} +148 -135
  32. package/components/{CashierSessionExpirationModal-DZ6cbZMo.js → CashierSessionExpirationModal-DROX_8ms.js} +173 -160
  33. package/components/CashierSessionExpirationModal-Diatc2g_.cjs +2 -0
  34. package/components/{CashierSpinner-CyPuIakf.js → CashierSpinner-B6hRv5UE.js} +1 -1
  35. package/components/{CashierSpinner-DN8Xti3l.js → CashierSpinner-D9V28sna.js} +1 -1
  36. package/components/{CashierSpinner-CL3BxNa3.cjs → CashierSpinner-vepcrAEk.cjs} +1 -1
  37. package/components/CashierTransactionHistory-CkMYM-iN.cjs +1 -0
  38. package/components/{CashierTransactionHistory-DUJ7uEPo.js → CashierTransactionHistory-D8zsi5NJ.js} +27 -27
  39. package/components/{CashierTransactionHistory-D7x8iV5o.js → CashierTransactionHistory-DW8O1MRc.js} +27 -27
  40. package/components/CashierVerifications-Bk77XvWp.cjs +1 -0
  41. package/components/{CashierVerifications-D98F06Sz.js → CashierVerifications-Clboalpm.js} +98 -98
  42. package/components/{CashierVerifications-dsnZ9UGl.js → CashierVerifications-Ct9t3u-_.js} +128 -128
  43. package/components/{TxnStatusIcon-Bjzryymo.js → TxnStatusIcon-BbwRTWeF.js} +1 -1
  44. package/components/{TxnStatusIcon-DKrjQDkn.cjs → TxnStatusIcon-DAT0GdaB.cjs} +1 -1
  45. package/components/{TxnStatusIcon-BnNOvKNP.js → TxnStatusIcon-YMvAqmkU.js} +1 -1
  46. package/components/{TxnTypeIcons-DUFNEYZT.cjs → TxnTypeIcons-B9WBEMaU.cjs} +1 -1
  47. package/components/{TxnTypeIcons-CdJDWKBc.js → TxnTypeIcons-CGI4ZYMR.js} +1 -1
  48. package/components/{TxnTypeIcons-CgvUMv-Q.js → TxnTypeIcons-DaU-Md0s.js} +1 -1
  49. package/es2015/cashier-page.cjs +1 -1
  50. package/es2015/cashier-page.js +1 -1
  51. package/esnext/cashier-page.js +1 -1
  52. package/package.json +1 -1
  53. package/components/CashierCarousel-HRUJt7XK.cjs +0 -23
  54. package/components/CashierModal-7LneBvzD.cjs +0 -1
  55. package/components/CashierModal-ChoubLYy.js +0 -268
  56. package/components/CashierModal-DCTbhFou.js +0 -268
  57. package/components/CashierPage-DOxt1V6T.cjs +0 -1
  58. package/components/CashierReceiptPage-BdQL3__D.cjs +0 -26
  59. package/components/CashierSessionExpirationModal-wp_kWVca.cjs +0 -2
  60. package/components/CashierTransactionHistory-DbJgP2OJ.cjs +0 -1
  61. package/components/CashierVerifications-BzbSPCl7.cjs +0 -1
@@ -10,7 +10,7 @@ var st = (e, t, r) => t in e ? fn(e, t, { enumerable: !0, configurable: !0, writ
10
10
  bn.call(t, r) && st(e, r, t[r]);
11
11
  return e;
12
12
  }, Vt = (e, t) => pn(e, dn(t));
13
- var N = (e, t, r) => (st(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var $ = (e, t, r) => (st(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Xt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
@@ -44,23 +44,23 @@ function Sr(e) {
44
44
  function Wt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function X(e) {
47
+ function z(e) {
48
48
  e.forEach(Sr);
49
49
  }
50
- function de(e) {
50
+ function be(e) {
51
51
  return typeof e == "function";
52
52
  }
53
53
  function Tr(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let Ne;
56
+ let Ie;
57
57
  function zt(e, t) {
58
- return e === t ? !0 : (Ne || (Ne = document.createElement("a")), Ne.href = t, e === Ne.href);
58
+ return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
59
59
  }
60
60
  function yn(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Hr(e, ...t) {
63
+ function Pr(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
@@ -70,18 +70,18 @@ function Hr(e, ...t) {
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
72
  function vn(e, t, r) {
73
- e.$$.on_destroy.push(Hr(t, r));
73
+ e.$$.on_destroy.push(Pr(t, r));
74
74
  }
75
75
  function ls(e, t, r, n) {
76
76
  if (e) {
77
- const i = Pr(e, t, r, n);
77
+ const i = Hr(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Pr(e, t, r, n) {
81
+ function Hr(e, t, r, n) {
82
82
  return e[1] && n ? gn(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function hs(e, t, r, n) {
84
+ function cs(e, t, r, n) {
85
85
  if (e[2] && n) {
86
86
  const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
@@ -96,9 +96,9 @@ function hs(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function cs(e, t, r, n, i, o) {
99
+ function hs(e, t, r, n, i, o) {
100
100
  if (i) {
101
- const s = Pr(t, r, n, o);
101
+ const s = Hr(t, r, n, o);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
@@ -116,20 +116,20 @@ function ps(e) {
116
116
  }
117
117
  const Cr = typeof window != "undefined";
118
118
  let Nt = Cr ? () => window.performance.now() : () => Date.now(), It = Cr ? (e) => requestAnimationFrame(e) : B;
119
- const ae = /* @__PURE__ */ new Set();
119
+ const le = /* @__PURE__ */ new Set();
120
120
  function Mr(e) {
121
- ae.forEach((t) => {
122
- t.c(e) || (ae.delete(t), t.f());
123
- }), ae.size !== 0 && It(Mr);
121
+ le.forEach((t) => {
122
+ t.c(e) || (le.delete(t), t.f());
123
+ }), le.size !== 0 && It(Mr);
124
124
  }
125
125
  function Rt(e) {
126
126
  let t;
127
- return ae.size === 0 && It(Mr), {
127
+ return le.size === 0 && It(Mr), {
128
128
  promise: new Promise((r) => {
129
- ae.add(t = { c: e, f: r });
129
+ le.add(t = { c: e, f: r });
130
130
  }),
131
131
  abort() {
132
- ae.delete(t);
132
+ le.delete(t);
133
133
  }
134
134
  };
135
135
  }
@@ -137,13 +137,13 @@ const ds = typeof window != "undefined" ? window : typeof globalThis != "undefin
137
137
  // @ts-ignore Node typings have this
138
138
  global
139
139
  );
140
- function E(e, t) {
140
+ function _(e, t) {
141
141
  e.appendChild(t);
142
142
  }
143
143
  function _n(e, t, r) {
144
144
  const n = $t(e);
145
145
  if (!n.getElementById(t)) {
146
- const i = T("style");
146
+ const i = S("style");
147
147
  i.id = t, i.textContent = r, Ar(n, i);
148
148
  }
149
149
  }
@@ -157,41 +157,41 @@ function $t(e) {
157
157
  t
158
158
  ) : e.ownerDocument;
159
159
  }
160
- function En(e) {
161
- const t = T("style");
160
+ function xn(e) {
161
+ const t = S("style");
162
162
  return t.textContent = "/* empty */", Ar($t(e), t), t.sheet;
163
163
  }
164
164
  function Ar(e, t) {
165
- return E(
165
+ return _(
166
166
  /** @type {Document} */
167
167
  e.head || e,
168
168
  t
169
169
  ), t.sheet;
170
170
  }
171
- function G(e, t, r) {
171
+ function k(e, t, r) {
172
172
  e.insertBefore(t, r || null);
173
173
  }
174
- function L(e) {
174
+ function I(e) {
175
175
  e.parentNode && e.parentNode.removeChild(e);
176
176
  }
177
177
  function Zt(e, t) {
178
178
  for (let r = 0; r < e.length; r += 1)
179
179
  e[r] && e[r].d(t);
180
180
  }
181
- function T(e) {
181
+ function S(e) {
182
182
  return document.createElement(e);
183
183
  }
184
184
  function ms(e) {
185
185
  return document.createElementNS("http://www.w3.org/2000/svg", e);
186
186
  }
187
- function I(e) {
187
+ function G(e) {
188
188
  return document.createTextNode(e);
189
189
  }
190
190
  function D() {
191
- return I(" ");
191
+ return G(" ");
192
192
  }
193
193
  function bs() {
194
- return I("");
194
+ return G("");
195
195
  }
196
196
  function Y(e, t, r, n) {
197
197
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -201,41 +201,41 @@ function gs(e) {
201
201
  return t.preventDefault(), e.call(this, t);
202
202
  };
203
203
  }
204
- function C(e, t, r) {
204
+ function H(e, t, r) {
205
205
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
206
206
  }
207
207
  function ys(e, t, r) {
208
208
  const n = t.toLowerCase();
209
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
209
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
210
210
  }
211
211
  function vs(e) {
212
212
  return e === "" ? null : +e;
213
213
  }
214
- function xn(e) {
214
+ function En(e) {
215
215
  return Array.from(e.childNodes);
216
216
  }
217
- function k(e, t) {
217
+ function X(e, t) {
218
218
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
219
219
  t);
220
220
  }
221
221
  function _s(e, t) {
222
222
  e.value = t == null ? "" : t;
223
223
  }
224
- let Ie;
224
+ let Re;
225
225
  function wn() {
226
- if (Ie === void 0) {
227
- Ie = !1;
226
+ if (Re === void 0) {
227
+ Re = !1;
228
228
  try {
229
229
  typeof window != "undefined" && window.parent && window.parent.document;
230
230
  } catch (e) {
231
- Ie = !0;
231
+ Re = !0;
232
232
  }
233
233
  }
234
- return Ie;
234
+ return Re;
235
235
  }
236
- function Es(e, t) {
236
+ function xs(e, t) {
237
237
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
238
- const n = T("iframe");
238
+ const n = S("iframe");
239
239
  n.setAttribute(
240
240
  "style",
241
241
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
@@ -251,11 +251,11 @@ function Es(e, t) {
251
251
  }
252
252
  )) : (n.src = "about:blank", n.onload = () => {
253
253
  o = Y(n.contentWindow, "resize", t), t();
254
- }), E(e, n), () => {
255
- (i || o && n.contentWindow) && o(), L(n);
254
+ }), _(e, n), () => {
255
+ (i || o && n.contentWindow) && o(), I(n);
256
256
  };
257
257
  }
258
- function xs(e, t, r) {
258
+ function Es(e, t, r) {
259
259
  e.classList.toggle(t, !!r);
260
260
  }
261
261
  function Sn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
@@ -270,56 +270,56 @@ function Tn(e) {
270
270
  }
271
271
  ), t;
272
272
  }
273
- const Xe = /* @__PURE__ */ new Map();
274
- let We = 0;
275
- function Hn(e) {
273
+ const We = /* @__PURE__ */ new Map();
274
+ let ze = 0;
275
+ function Pn(e) {
276
276
  let t = 5381, r = e.length;
277
277
  for (; r--; )
278
278
  t = (t << 5) - t ^ e.charCodeAt(r);
279
279
  return t >>> 0;
280
280
  }
281
- function Pn(e, t) {
282
- const r = { stylesheet: En(t), rules: {} };
283
- return Xe.set(e, r), r;
281
+ function Hn(e, t) {
282
+ const r = { stylesheet: xn(t), rules: {} };
283
+ return We.set(e, r), r;
284
284
  }
285
- function ze(e, t, r, n, i, o, s, a = 0) {
285
+ function Ze(e, t, r, n, i, o, s, a = 0) {
286
286
  const u = 16.666 / n;
287
287
  let l = `{
288
288
  `;
289
- for (let v = 0; v <= 1; v += u) {
290
- const g = t + (r - t) * o(v);
291
- l += v * 100 + `%{${s(g, 1 - g)}}
289
+ for (let y = 0; y <= 1; y += u) {
290
+ const g = t + (r - t) * o(y);
291
+ l += y * 100 + `%{${s(g, 1 - g)}}
292
292
  `;
293
293
  }
294
- const h = l + `100% {${s(r, 1 - r)}}
295
- }`, c = `__svelte_${Hn(h)}_${a}`, p = $t(e), { stylesheet: b, rules: d } = Xe.get(p) || Pn(p, e);
296
- d[c] || (d[c] = !0, b.insertRule(`@keyframes ${c} ${h}`, b.cssRules.length));
294
+ const c = l + `100% {${s(r, 1 - r)}}
295
+ }`, h = `__svelte_${Pn(c)}_${a}`, p = $t(e), { stylesheet: m, rules: d } = We.get(p) || Hn(p, e);
296
+ d[h] || (d[h] = !0, m.insertRule(`@keyframes ${h} ${c}`, m.cssRules.length));
297
297
  const f = e.style.animation || "";
298
- return e.style.animation = `${f ? `${f}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, We += 1, c;
298
+ return e.style.animation = `${f ? `${f}, ` : ""}${h} ${n}ms linear ${i}ms 1 both`, ze += 1, h;
299
299
  }
300
- function Ze(e, t) {
300
+ function Ye(e, t) {
301
301
  const r = (e.style.animation || "").split(", "), n = r.filter(
302
302
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
303
303
  // remove all Svelte animations
304
304
  ), i = r.length - n.length;
305
- i && (e.style.animation = n.join(", "), We -= i, We || Cn());
305
+ i && (e.style.animation = n.join(", "), ze -= i, ze || Cn());
306
306
  }
307
307
  function Cn() {
308
308
  It(() => {
309
- We || (Xe.forEach((e) => {
309
+ ze || (We.forEach((e) => {
310
310
  const { ownerNode: t } = e.stylesheet;
311
- t && L(t);
312
- }), Xe.clear());
311
+ t && I(t);
312
+ }), We.clear());
313
313
  });
314
314
  }
315
- let Se;
316
- function we(e) {
317
- Se = e;
315
+ let He;
316
+ function Pe(e) {
317
+ He = e;
318
318
  }
319
319
  function Br() {
320
- if (!Se)
320
+ if (!He)
321
321
  throw new Error("Function called outside component initialization");
322
- return Se;
322
+ return He;
323
323
  }
324
324
  function Mn(e) {
325
325
  Br().$$.on_mount.push(e);
@@ -327,125 +327,125 @@ function Mn(e) {
327
327
  function ws(e) {
328
328
  Br().$$.on_destroy.push(e);
329
329
  }
330
- const se = [], Ye = [];
331
- let ue = [];
330
+ const ue = [], Je = [];
331
+ let ce = [];
332
332
  const Yt = [], An = /* @__PURE__ */ Promise.resolve();
333
333
  let mt = !1;
334
334
  function Bn() {
335
- mt || (mt = !0, An.then($));
335
+ mt || (mt = !0, An.then(U));
336
336
  }
337
- function le(e) {
338
- ue.push(e);
337
+ function he(e) {
338
+ ce.push(e);
339
339
  }
340
340
  const at = /* @__PURE__ */ new Set();
341
- let ie = 0;
342
- function $() {
343
- if (ie !== 0)
341
+ let se = 0;
342
+ function U() {
343
+ if (se !== 0)
344
344
  return;
345
- const e = Se;
345
+ const e = He;
346
346
  do {
347
347
  try {
348
- for (; ie < se.length; ) {
349
- const t = se[ie];
350
- ie++, we(t), On(t.$$);
348
+ for (; se < ue.length; ) {
349
+ const t = ue[se];
350
+ se++, Pe(t), On(t.$$);
351
351
  }
352
352
  } catch (t) {
353
- throw se.length = 0, ie = 0, t;
353
+ throw ue.length = 0, se = 0, t;
354
354
  }
355
- for (we(null), se.length = 0, ie = 0; Ye.length; )
356
- Ye.pop()();
357
- for (let t = 0; t < ue.length; t += 1) {
358
- const r = ue[t];
355
+ for (Pe(null), ue.length = 0, se = 0; Je.length; )
356
+ Je.pop()();
357
+ for (let t = 0; t < ce.length; t += 1) {
358
+ const r = ce[t];
359
359
  at.has(r) || (at.add(r), r());
360
360
  }
361
- ue.length = 0;
362
- } while (se.length);
361
+ ce.length = 0;
362
+ } while (ue.length);
363
363
  for (; Yt.length; )
364
364
  Yt.pop()();
365
- mt = !1, at.clear(), we(e);
365
+ mt = !1, at.clear(), Pe(e);
366
366
  }
367
367
  function On(e) {
368
368
  if (e.fragment !== null) {
369
- e.update(), X(e.before_update);
369
+ e.update(), z(e.before_update);
370
370
  const t = e.dirty;
371
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(le);
371
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
372
372
  }
373
373
  }
374
374
  function Ln(e) {
375
375
  const t = [], r = [];
376
- ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
376
+ ce.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ce = t;
377
377
  }
378
- let ve;
378
+ let Ee;
379
379
  function Dt() {
380
- return ve || (ve = Promise.resolve(), ve.then(() => {
381
- ve = null;
382
- })), ve;
380
+ return Ee || (Ee = Promise.resolve(), Ee.then(() => {
381
+ Ee = null;
382
+ })), Ee;
383
383
  }
384
- function Q(e, t, r) {
384
+ function ee(e, t, r) {
385
385
  e.dispatchEvent(Sn(`${t ? "intro" : "outro"}${r}`));
386
386
  }
387
387
  const Fe = /* @__PURE__ */ new Set();
388
- let F;
388
+ let j;
389
389
  function Ss() {
390
- F = {
390
+ j = {
391
391
  r: 0,
392
392
  c: [],
393
- p: F
393
+ p: j
394
394
  // parent group
395
395
  };
396
396
  }
397
397
  function Ts() {
398
- F.r || X(F.c), F = F.p;
398
+ j.r || z(j.c), j = j.p;
399
399
  }
400
400
  function Nn(e, t) {
401
401
  e && e.i && (Fe.delete(e), e.i(t));
402
402
  }
403
- function Hs(e, t, r, n) {
403
+ function Ps(e, t, r, n) {
404
404
  if (e && e.o) {
405
405
  if (Fe.has(e))
406
406
  return;
407
- Fe.add(e), F.c.push(() => {
407
+ Fe.add(e), j.c.push(() => {
408
408
  Fe.delete(e), n && (r && e.d(1), n());
409
409
  }), e.o(t);
410
410
  } else
411
411
  n && n();
412
412
  }
413
413
  const Ut = { duration: 0 };
414
- function Ps(e, t, r) {
414
+ function Hs(e, t, r) {
415
415
  const n = { direction: "in" };
416
416
  let i = t(e, r, n), o = !1, s, a, u = 0;
417
417
  function l() {
418
- s && Ze(e, s);
418
+ s && Ye(e, s);
419
419
  }
420
- function h() {
420
+ function c() {
421
421
  const {
422
422
  delay: p = 0,
423
- duration: b = 300,
423
+ duration: m = 300,
424
424
  easing: d = Lt,
425
425
  tick: f = B,
426
- css: v
426
+ css: y
427
427
  } = i || Ut;
428
- v && (s = ze(e, 0, 1, b, p, d, v, u++)), f(0, 1);
429
- const g = Nt() + p, _ = g + b;
430
- a && a.abort(), o = !0, le(() => Q(e, !0, "start")), a = Rt((m) => {
428
+ y && (s = Ze(e, 0, 1, m, p, d, y, u++)), f(0, 1);
429
+ const g = Nt() + p, x = g + m;
430
+ a && a.abort(), o = !0, he(() => ee(e, !0, "start")), a = Rt((b) => {
431
431
  if (o) {
432
- if (m >= _)
433
- return f(1, 0), Q(e, !0, "end"), l(), o = !1;
434
- if (m >= g) {
435
- const H = d((m - g) / b);
436
- f(H, 1 - H);
432
+ if (b >= x)
433
+ return f(1, 0), ee(e, !0, "end"), l(), o = !1;
434
+ if (b >= g) {
435
+ const T = d((b - g) / m);
436
+ f(T, 1 - T);
437
437
  }
438
438
  }
439
439
  return o;
440
440
  });
441
441
  }
442
- let c = !1;
442
+ let h = !1;
443
443
  return {
444
444
  start() {
445
- c || (c = !0, Ze(e), de(i) ? (i = i(n), Dt().then(h)) : h());
445
+ h || (h = !0, Ye(e), be(i) ? (i = i(n), Dt().then(c)) : c());
446
446
  },
447
447
  invalidate() {
448
- c = !1;
448
+ h = !1;
449
449
  },
450
450
  end() {
451
451
  o && (l(), o = !1);
@@ -455,74 +455,74 @@ function Ps(e, t, r) {
455
455
  function Cs(e, t, r) {
456
456
  const n = { direction: "out" };
457
457
  let i = t(e, r, n), o = !0, s;
458
- const a = F;
458
+ const a = j;
459
459
  a.r += 1;
460
460
  let u;
461
461
  function l() {
462
462
  const {
463
- delay: h = 0,
464
- duration: c = 300,
463
+ delay: c = 0,
464
+ duration: h = 300,
465
465
  easing: p = Lt,
466
- tick: b = B,
466
+ tick: m = B,
467
467
  css: d
468
468
  } = i || Ut;
469
- d && (s = ze(e, 1, 0, c, h, p, d));
470
- const f = Nt() + h, v = f + c;
471
- le(() => Q(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
469
+ d && (s = Ze(e, 1, 0, h, c, p, d));
470
+ const f = Nt() + c, y = f + h;
471
+ he(() => ee(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
472
472
  e.inert, e.inert = !0), Rt((g) => {
473
473
  if (o) {
474
- if (g >= v)
475
- return b(0, 1), Q(e, !1, "end"), --a.r || X(a.c), !1;
474
+ if (g >= y)
475
+ return m(0, 1), ee(e, !1, "end"), --a.r || z(a.c), !1;
476
476
  if (g >= f) {
477
- const _ = p((g - f) / c);
478
- b(1 - _, _);
477
+ const x = p((g - f) / h);
478
+ m(1 - x, x);
479
479
  }
480
480
  }
481
481
  return o;
482
482
  });
483
483
  }
484
- return de(i) ? Dt().then(() => {
484
+ return be(i) ? Dt().then(() => {
485
485
  i = i(n), l();
486
486
  }) : l(), {
487
- end(h) {
488
- h && "inert" in e && (e.inert = u), h && i.tick && i.tick(1, 0), o && (s && Ze(e, s), o = !1);
487
+ end(c) {
488
+ c && "inert" in e && (e.inert = u), c && i.tick && i.tick(1, 0), o && (s && Ye(e, s), o = !1);
489
489
  }
490
490
  };
491
491
  }
492
492
  function Ms(e, t, r, n) {
493
- let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
494
- function c() {
495
- l && Ze(e, l);
493
+ let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, c;
494
+ function h() {
495
+ l && Ye(e, l);
496
496
  }
497
497
  function p(d, f) {
498
- const v = (
498
+ const y = (
499
499
  /** @type {Program['d']} */
500
500
  d.b - s
501
501
  );
502
- return f *= Math.abs(v), {
502
+ return f *= Math.abs(y), {
503
503
  a: s,
504
504
  b: d.b,
505
- d: v,
505
+ d: y,
506
506
  duration: f,
507
507
  start: d.start,
508
508
  end: d.start + f,
509
509
  group: d.group
510
510
  };
511
511
  }
512
- function b(d) {
512
+ function m(d) {
513
513
  const {
514
514
  delay: f = 0,
515
- duration: v = 300,
515
+ duration: y = 300,
516
516
  easing: g = Lt,
517
- tick: _ = B,
518
- css: m
519
- } = o || Ut, H = {
517
+ tick: x = B,
518
+ css: b
519
+ } = o || Ut, T = {
520
520
  start: Nt() + f,
521
521
  b: d
522
522
  };
523
- d || (H.group = F, F.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
524
- e.inert, e.inert = !0)), a || u ? u = H : (m && (c(), l = ze(e, s, d, v, f, g, m)), d && _(0, 1), a = p(H, v), le(() => Q(e, d, "start")), Rt((A) => {
525
- if (u && A > u.start && (a = p(u, v), u = null, Q(e, a.b, "start"), m && (c(), l = ze(
523
+ d || (T.group = j, j.r += 1), "inert" in e && (d ? c !== void 0 && (e.inert = c) : (c = /** @type {HTMLElement} */
524
+ e.inert, e.inert = !0)), a || u ? u = T : (b && (h(), l = Ze(e, s, d, y, f, g, b)), d && x(0, 1), a = p(T, y), he(() => ee(e, d, "start")), Rt((M) => {
525
+ if (u && M > u.start && (a = p(u, y), u = null, ee(e, a.b, "start"), b && (h(), l = Ze(
526
526
  e,
527
527
  s,
528
528
  a.b,
@@ -531,11 +531,11 @@ function Ms(e, t, r, n) {
531
531
  g,
532
532
  o.css
533
533
  ))), a) {
534
- if (A >= a.end)
535
- _(s = a.b, 1 - s), Q(e, a.b, "end"), u || (a.b ? c() : --a.group.r || X(a.group.c)), a = null;
536
- else if (A >= a.start) {
537
- const R = A - a.start;
538
- s = a.a + a.d * g(R / a.duration), _(s, 1 - s);
534
+ if (M >= a.end)
535
+ x(s = a.b, 1 - s), ee(e, a.b, "end"), u || (a.b ? h() : --a.group.r || z(a.group.c)), a = null;
536
+ else if (M >= a.start) {
537
+ const R = M - a.start;
538
+ s = a.a + a.d * g(R / a.duration), x(s, 1 - s);
539
539
  }
540
540
  }
541
541
  return !!(a || u);
@@ -543,16 +543,16 @@ function Ms(e, t, r, n) {
543
543
  }
544
544
  return {
545
545
  run(d) {
546
- de(o) ? Dt().then(() => {
547
- o = o({ direction: d ? "in" : "out" }), b(d);
548
- }) : b(d);
546
+ be(o) ? Dt().then(() => {
547
+ o = o({ direction: d ? "in" : "out" }), m(d);
548
+ }) : m(d);
549
549
  },
550
550
  end() {
551
- c(), a = u = null;
551
+ h(), a = u = null;
552
552
  }
553
553
  };
554
554
  }
555
- function Re(e) {
555
+ function $e(e) {
556
556
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
557
557
  }
558
558
  function As(e) {
@@ -560,21 +560,21 @@ function As(e) {
560
560
  }
561
561
  function In(e, t, r) {
562
562
  const { fragment: n, after_update: i } = e.$$;
563
- n && n.m(t, r), le(() => {
564
- const o = e.$$.on_mount.map(Sr).filter(de);
565
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
566
- }), i.forEach(le);
563
+ n && n.m(t, r), he(() => {
564
+ const o = e.$$.on_mount.map(Sr).filter(be);
565
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
566
+ }), i.forEach(he);
567
567
  }
568
568
  function Rn(e, t) {
569
569
  const r = e.$$;
570
- r.fragment !== null && (Ln(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
570
+ r.fragment !== null && (Ln(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
571
571
  }
572
572
  function $n(e, t) {
573
- e.$$.dirty[0] === -1 && (se.push(e), Bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
573
+ e.$$.dirty[0] === -1 && (ue.push(e), Bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
574
574
  }
575
575
  function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
576
- const u = Se;
577
- we(e);
576
+ const u = He;
577
+ Pe(e);
578
578
  const l = e.$$ = {
579
579
  fragment: null,
580
580
  ctx: [],
@@ -597,42 +597,42 @@ function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
597
597
  root: t.target || u.$$.root
598
598
  };
599
599
  s && s(l.root);
600
- let h = !1;
601
- if (l.ctx = r ? r(e, t.props || {}, (c, p, ...b) => {
602
- const d = b.length ? b[0] : p;
603
- return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && $n(e, c)), p;
604
- }) : [], l.update(), h = !0, X(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
600
+ let c = !1;
601
+ if (l.ctx = r ? r(e, t.props || {}, (h, p, ...m) => {
602
+ const d = m.length ? m[0] : p;
603
+ return l.ctx && i(l.ctx[h], l.ctx[h] = d) && (!l.skip_bound && l.bound[h] && l.bound[h](d), c && $n(e, h)), p;
604
+ }) : [], l.update(), c = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
605
605
  if (t.hydrate) {
606
- const c = xn(t.target);
607
- l.fragment && l.fragment.l(c), c.forEach(L);
606
+ const h = En(t.target);
607
+ l.fragment && l.fragment.l(h), h.forEach(I);
608
608
  } else
609
609
  l.fragment && l.fragment.c();
610
- t.intro && Nn(e.$$.fragment), In(e, t.target, t.anchor), $();
610
+ t.intro && Nn(e.$$.fragment), In(e, t.target, t.anchor), U();
611
611
  }
612
- we(u);
612
+ Pe(u);
613
613
  }
614
614
  let Or;
615
615
  typeof HTMLElement == "function" && (Or = class extends HTMLElement {
616
616
  constructor(t, r, n) {
617
617
  super();
618
618
  /** The Svelte component constructor */
619
- N(this, "$$ctor");
619
+ $(this, "$$ctor");
620
620
  /** Slots */
621
- N(this, "$$s");
621
+ $(this, "$$s");
622
622
  /** The Svelte component instance */
623
- N(this, "$$c");
623
+ $(this, "$$c");
624
624
  /** Whether or not the custom element is connected */
625
- N(this, "$$cn", !1);
625
+ $(this, "$$cn", !1);
626
626
  /** Component props data */
627
- N(this, "$$d", {});
627
+ $(this, "$$d", {});
628
628
  /** `true` if currently in the process of reflecting component props back to attributes */
629
- N(this, "$$r", !1);
629
+ $(this, "$$r", !1);
630
630
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
631
- N(this, "$$p_d", {});
631
+ $(this, "$$p_d", {});
632
632
  /** @type {Record<string, Function[]>} Event listeners */
633
- N(this, "$$l", {});
633
+ $(this, "$$l", {});
634
634
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
635
- N(this, "$$l_u", /* @__PURE__ */ new Map());
635
+ $(this, "$$l_u", /* @__PURE__ */ new Map());
636
636
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
637
637
  }
638
638
  addEventListener(t, r, n) {
@@ -656,17 +656,17 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
656
656
  let s;
657
657
  return {
658
658
  c: function() {
659
- s = T("slot"), o !== "default" && C(s, "name", o);
659
+ s = S("slot"), o !== "default" && H(s, "name", o);
660
660
  },
661
661
  /**
662
662
  * @param {HTMLElement} target
663
663
  * @param {HTMLElement} [anchor]
664
664
  */
665
- m: function(l, h) {
666
- G(l, s, h);
665
+ m: function(l, c) {
666
+ k(l, s, c);
667
667
  },
668
668
  d: function(l) {
669
- l && L(s);
669
+ l && I(s);
670
670
  }
671
671
  };
672
672
  };
@@ -678,7 +678,7 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
678
678
  o in n && (r[o] = [t(o)]);
679
679
  for (const o of this.attributes) {
680
680
  const s = this.$$g_p(o.name);
681
- s in this.$$d || (this.$$d[s] = Ge(s, o.value, this.$$p_d, "toProp"));
681
+ s in this.$$d || (this.$$d[s] = je(s, o.value, this.$$p_d, "toProp"));
682
682
  }
683
683
  for (const o in this.$$p_d)
684
684
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
@@ -695,7 +695,7 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
695
695
  this.$$r = !0;
696
696
  for (const o in this.$$p_d)
697
697
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
698
- const s = Ge(
698
+ const s = je(
699
699
  o,
700
700
  this.$$d[o],
701
701
  this.$$p_d,
@@ -719,7 +719,7 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
719
719
  // and setting attributes through setAttribute etc, this is helpful
720
720
  attributeChangedCallback(t, r, n) {
721
721
  var i;
722
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
722
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = je(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
723
723
  }
724
724
  disconnectedCallback() {
725
725
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -732,7 +732,7 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
732
732
  ) || t;
733
733
  }
734
734
  });
735
- function Ge(e, t, r, n) {
735
+ function je(e, t, r, n) {
736
736
  var o;
737
737
  const i = (o = r[e]) == null ? void 0 : o.type;
738
738
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -780,7 +780,7 @@ function Un(e, t, r, n, i, o) {
780
780
  },
781
781
  set(u) {
782
782
  var l;
783
- u = Ge(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
783
+ u = je(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
784
784
  }
785
785
  });
786
786
  }), n.forEach((a) => {
@@ -793,7 +793,7 @@ function Un(e, t, r, n, i, o) {
793
793
  }), e.element = /** @type {any} */
794
794
  s, s;
795
795
  }
796
- class Fn {
796
+ class Gn {
797
797
  constructor() {
798
798
  /**
799
799
  * ### PRIVATE API
@@ -802,7 +802,7 @@ class Fn {
802
802
  *
803
803
  * @type {any}
804
804
  */
805
- N(this, "$$");
805
+ $(this, "$$");
806
806
  /**
807
807
  * ### PRIVATE API
808
808
  *
@@ -810,7 +810,7 @@ class Fn {
810
810
  *
811
811
  * @type {any}
812
812
  */
813
- N(this, "$$set");
813
+ $(this, "$$set");
814
814
  }
815
815
  /** @returns {void} */
816
816
  $destroy() {
@@ -823,7 +823,7 @@ class Fn {
823
823
  * @returns {() => void}
824
824
  */
825
825
  $on(t, r) {
826
- if (!de(r))
826
+ if (!be(r))
827
827
  return B;
828
828
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
829
829
  return n.push(r), () => {
@@ -839,26 +839,26 @@ class Fn {
839
839
  this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
840
840
  }
841
841
  }
842
- const Gn = "4";
843
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
844
- const oe = [];
842
+ const Fn = "4";
843
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fn);
844
+ const ae = [];
845
845
  function jn(e, t) {
846
846
  return {
847
- subscribe: et(e, t).subscribe
847
+ subscribe: tt(e, t).subscribe
848
848
  };
849
849
  }
850
- function et(e, t = B) {
850
+ function tt(e, t = B) {
851
851
  let r;
852
852
  const n = /* @__PURE__ */ new Set();
853
853
  function i(a) {
854
854
  if (Tr(e, a) && (e = a, r)) {
855
- const u = !oe.length;
855
+ const u = !ae.length;
856
856
  for (const l of n)
857
- l[1](), oe.push(l, e);
857
+ l[1](), ae.push(l, e);
858
858
  if (u) {
859
- for (let l = 0; l < oe.length; l += 2)
860
- oe[l][0](oe[l + 1]);
861
- oe.length = 0;
859
+ for (let l = 0; l < ae.length; l += 2)
860
+ ae[l][0](ae[l + 1]);
861
+ ae.length = 0;
862
862
  }
863
863
  }
864
864
  }
@@ -873,7 +873,7 @@ function et(e, t = B) {
873
873
  }
874
874
  return { set: i, update: o, subscribe: s };
875
875
  }
876
- function me(e, t, r) {
876
+ function ge(e, t, r) {
877
877
  const n = !Array.isArray(e), i = n ? [e] : e;
878
878
  if (!i.every(Boolean))
879
879
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -881,26 +881,26 @@ function me(e, t, r) {
881
881
  return jn(r, (s, a) => {
882
882
  let u = !1;
883
883
  const l = [];
884
- let h = 0, c = B;
884
+ let c = 0, h = B;
885
885
  const p = () => {
886
- if (h)
886
+ if (c)
887
887
  return;
888
- c();
888
+ h();
889
889
  const d = t(n ? l[0] : l, s, a);
890
- o ? s(d) : c = de(d) ? d : B;
891
- }, b = i.map(
892
- (d, f) => Hr(
890
+ o ? s(d) : h = be(d) ? d : B;
891
+ }, m = i.map(
892
+ (d, f) => Pr(
893
893
  d,
894
- (v) => {
895
- l[f] = v, h &= ~(1 << f), u && p();
894
+ (y) => {
895
+ l[f] = y, c &= ~(1 << f), u && p();
896
896
  },
897
897
  () => {
898
- h |= 1 << f;
898
+ c |= 1 << f;
899
899
  }
900
900
  )
901
901
  );
902
902
  return u = !0, p(), function() {
903
- X(b), c(), u = !1;
903
+ z(m), h(), u = !1;
904
904
  };
905
905
  });
906
906
  }
@@ -925,19 +925,19 @@ function Yn(e) {
925
925
  function Jn(e) {
926
926
  return Array.isArray(e) ? [] : {};
927
927
  }
928
- function Te(e, t) {
929
- return t.clone !== !1 && t.isMergeableObject(e) ? he(Jn(e), e, t) : e;
928
+ function Ce(e, t) {
929
+ return t.clone !== !1 && t.isMergeableObject(e) ? fe(Jn(e), e, t) : e;
930
930
  }
931
931
  function Kn(e, t, r) {
932
932
  return e.concat(t).map(function(n) {
933
- return Te(n, r);
933
+ return Ce(n, r);
934
934
  });
935
935
  }
936
936
  function Qn(e, t) {
937
937
  if (!t.customMerge)
938
- return he;
938
+ return fe;
939
939
  var r = t.customMerge(e);
940
- return typeof r == "function" ? r : he;
940
+ return typeof r == "function" ? r : fe;
941
941
  }
942
942
  function qn(e) {
943
943
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -960,24 +960,24 @@ function ei(e, t) {
960
960
  function ti(e, t, r) {
961
961
  var n = {};
962
962
  return r.isMergeableObject(e) && Jt(e).forEach(function(i) {
963
- n[i] = Te(e[i], r);
963
+ n[i] = Ce(e[i], r);
964
964
  }), Jt(t).forEach(function(i) {
965
- ei(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
965
+ ei(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = Ce(t[i], r));
966
966
  }), n;
967
967
  }
968
- function he(e, t, r) {
969
- r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Vn, r.cloneUnlessOtherwiseSpecified = Te;
968
+ function fe(e, t, r) {
969
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Vn, r.cloneUnlessOtherwiseSpecified = Ce;
970
970
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
971
- return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : Te(t, r);
971
+ return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : Ce(t, r);
972
972
  }
973
- he.all = function(t, r) {
973
+ fe.all = function(t, r) {
974
974
  if (!Array.isArray(t))
975
975
  throw new Error("first argument should be an array");
976
976
  return t.reduce(function(n, i) {
977
- return he(n, i, r);
977
+ return fe(n, i, r);
978
978
  }, {});
979
979
  };
980
- var ri = he, ni = ri;
980
+ var ri = fe, ni = ri;
981
981
  const ii = /* @__PURE__ */ kn(ni);
982
982
  var bt = function(e, t) {
983
983
  return bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -987,7 +987,7 @@ var bt = function(e, t) {
987
987
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
988
988
  }, bt(e, t);
989
989
  };
990
- function tt(e, t) {
990
+ function rt(e, t) {
991
991
  if (typeof t != "function" && t !== null)
992
992
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
993
993
  bt(e, t);
@@ -996,15 +996,15 @@ function tt(e, t) {
996
996
  }
997
997
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
998
998
  }
999
- var U = function() {
1000
- return U = Object.assign || function(t) {
999
+ var F = function() {
1000
+ return F = Object.assign || function(t) {
1001
1001
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1002
1002
  r = arguments[n];
1003
1003
  for (var o in r)
1004
1004
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1005
1005
  }
1006
1006
  return t;
1007
- }, U.apply(this, arguments);
1007
+ }, F.apply(this, arguments);
1008
1008
  };
1009
1009
  function oi(e, t) {
1010
1010
  var r = {};
@@ -1022,7 +1022,7 @@ function ut(e, t, r) {
1022
1022
  return e.concat(o || Array.prototype.slice.call(t));
1023
1023
  }
1024
1024
  function lt(e, t) {
1025
- var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : ui;
1025
+ var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : ui;
1026
1026
  return i(e, {
1027
1027
  cache: r,
1028
1028
  serializer: n
@@ -1049,9 +1049,9 @@ function ui(e, t) {
1049
1049
  function li(e, t) {
1050
1050
  return Ir(e, this, Nr, t.cache.create(), t.serializer);
1051
1051
  }
1052
- var hi = function() {
1052
+ var ci = function() {
1053
1053
  return JSON.stringify(arguments);
1054
- }, ci = (
1054
+ }, hi = (
1055
1055
  /** @class */
1056
1056
  function() {
1057
1057
  function e() {
@@ -1065,32 +1065,32 @@ var hi = function() {
1065
1065
  }()
1066
1066
  ), fi = {
1067
1067
  create: function() {
1068
- return new ci();
1068
+ return new hi();
1069
1069
  }
1070
- }, ht = {
1070
+ }, ct = {
1071
1071
  variadic: li
1072
- }, Je = function() {
1073
- return Je = Object.assign || function(t) {
1072
+ }, Ke = function() {
1073
+ return Ke = Object.assign || function(t) {
1074
1074
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1075
1075
  r = arguments[n];
1076
1076
  for (var o in r)
1077
1077
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1078
1078
  }
1079
1079
  return t;
1080
- }, Je.apply(this, arguments);
1080
+ }, Ke.apply(this, arguments);
1081
1081
  };
1082
- var x;
1082
+ var E;
1083
1083
  (function(e) {
1084
1084
  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";
1085
- })(x || (x = {}));
1085
+ })(E || (E = {}));
1086
1086
  var P;
1087
1087
  (function(e) {
1088
1088
  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";
1089
1089
  })(P || (P = {}));
1090
- var ce;
1090
+ var pe;
1091
1091
  (function(e) {
1092
1092
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1093
- })(ce || (ce = {}));
1093
+ })(pe || (pe = {}));
1094
1094
  function Kt(e) {
1095
1095
  return e.type === P.literal;
1096
1096
  }
@@ -1109,20 +1109,20 @@ function Dr(e) {
1109
1109
  function Ur(e) {
1110
1110
  return e.type === P.select;
1111
1111
  }
1112
- function Fr(e) {
1112
+ function Gr(e) {
1113
1113
  return e.type === P.plural;
1114
1114
  }
1115
1115
  function di(e) {
1116
1116
  return e.type === P.pound;
1117
1117
  }
1118
- function Gr(e) {
1118
+ function Fr(e) {
1119
1119
  return e.type === P.tag;
1120
1120
  }
1121
1121
  function jr(e) {
1122
- return !!(e && typeof e == "object" && e.type === ce.number);
1122
+ return !!(e && typeof e == "object" && e.type === pe.number);
1123
1123
  }
1124
1124
  function gt(e) {
1125
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
1125
+ return !!(e && typeof e == "object" && e.type === pe.dateTime);
1126
1126
  }
1127
1127
  var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mi = /(?:[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;
1128
1128
  function bi(e) {
@@ -1216,15 +1216,15 @@ function bi(e) {
1216
1216
  return "";
1217
1217
  }), t;
1218
1218
  }
1219
- var M = function() {
1220
- return M = Object.assign || function(t) {
1219
+ var C = function() {
1220
+ return C = Object.assign || function(t) {
1221
1221
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1222
1222
  r = arguments[n];
1223
1223
  for (var o in r)
1224
1224
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1225
1225
  }
1226
1226
  return t;
1227
- }, M.apply(this, arguments);
1227
+ }, C.apply(this, arguments);
1228
1228
  };
1229
1229
  var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1230
1230
  function yi(e) {
@@ -1236,9 +1236,9 @@ function yi(e) {
1236
1236
  var o = i[n], s = o.split("/");
1237
1237
  if (s.length === 0)
1238
1238
  throw new Error("Invalid number skeleton");
1239
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1240
- var c = h[l];
1241
- if (c.length === 0)
1239
+ for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
1240
+ var h = c[l];
1241
+ if (h.length === 0)
1242
1242
  throw new Error("Invalid number skeleton");
1243
1243
  }
1244
1244
  r.push({ stem: a, options: u });
@@ -1295,7 +1295,7 @@ function Wr(e) {
1295
1295
  };
1296
1296
  }
1297
1297
  }
1298
- function Ei(e) {
1298
+ function xi(e) {
1299
1299
  var t;
1300
1300
  if (e[0] === "E" && e[1] === "E" ? (t = {
1301
1301
  notation: "engineering"
@@ -1313,7 +1313,7 @@ function er(e) {
1313
1313
  var t = {}, r = Wr(e);
1314
1314
  return r || t;
1315
1315
  }
1316
- function xi(e) {
1316
+ function Ei(e) {
1317
1317
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1318
1318
  var i = n[r];
1319
1319
  switch (i.stem) {
@@ -1348,13 +1348,13 @@ function xi(e) {
1348
1348
  t.notation = "compact", t.compactDisplay = "long";
1349
1349
  continue;
1350
1350
  case "scientific":
1351
- t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1352
- return M(M({}, u), er(l));
1351
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1352
+ return C(C({}, u), er(l));
1353
1353
  }, {}));
1354
1354
  continue;
1355
1355
  case "engineering":
1356
- t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1357
- return M(M({}, u), er(l));
1356
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1357
+ return C(C({}, u), er(l));
1358
1358
  }, {}));
1359
1359
  continue;
1360
1360
  case "notation-simple":
@@ -1399,13 +1399,13 @@ function xi(e) {
1399
1399
  case "integer-width":
1400
1400
  if (i.options.length > 1)
1401
1401
  throw new RangeError("integer-width stems only accept a single optional option");
1402
- i.options[0].replace(_i, function(u, l, h, c, p, b) {
1402
+ i.options[0].replace(_i, function(u, l, c, h, p, m) {
1403
1403
  if (l)
1404
- t.minimumIntegerDigits = h.length;
1404
+ t.minimumIntegerDigits = c.length;
1405
1405
  else {
1406
- if (c && p)
1406
+ if (h && p)
1407
1407
  throw new Error("We currently do not support maximum integer digits");
1408
- if (b)
1408
+ if (m)
1409
1409
  throw new Error("We currently do not support exact integer digits");
1410
1410
  }
1411
1411
  return "";
@@ -1419,25 +1419,25 @@ function xi(e) {
1419
1419
  if (Qt.test(i.stem)) {
1420
1420
  if (i.options.length > 1)
1421
1421
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1422
- i.stem.replace(Qt, function(u, l, h, c, p, b) {
1423
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && b ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1422
+ i.stem.replace(Qt, function(u, l, c, h, p, m) {
1423
+ return c === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1424
1424
  });
1425
1425
  var o = i.options[0];
1426
- o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), qt(o)));
1426
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), qt(o)));
1427
1427
  continue;
1428
1428
  }
1429
1429
  if (Vr.test(i.stem)) {
1430
- t = M(M({}, t), qt(i.stem));
1430
+ t = C(C({}, t), qt(i.stem));
1431
1431
  continue;
1432
1432
  }
1433
1433
  var s = Wr(i.stem);
1434
- s && (t = M(M({}, t), s));
1435
- var a = Ei(i.stem);
1436
- a && (t = M(M({}, t), a));
1434
+ s && (t = C(C({}, t), s));
1435
+ var a = xi(i.stem);
1436
+ a && (t = C(C({}, t), a));
1437
1437
  }
1438
1438
  return t;
1439
1439
  }
1440
- var $e = {
1440
+ var De = {
1441
1441
  "001": [
1442
1442
  "H",
1443
1443
  "h"
@@ -2887,23 +2887,23 @@ function Si(e) {
2887
2887
  }
2888
2888
  var r = e.language, n;
2889
2889
  r !== "root" && (n = e.maximize().region);
2890
- var i = $e[n || ""] || $e[r || ""] || $e["".concat(r, "-001")] || $e["001"];
2890
+ var i = De[n || ""] || De[r || ""] || De["".concat(r, "-001")] || De["001"];
2891
2891
  return i[0];
2892
2892
  }
2893
- var ct, Ti = new RegExp("^".concat(kr.source, "*")), Hi = new RegExp("".concat(kr.source, "*$"));
2893
+ var ht, Ti = new RegExp("^".concat(kr.source, "*")), Pi = new RegExp("".concat(kr.source, "*$"));
2894
2894
  function w(e, t) {
2895
2895
  return { start: e, end: t };
2896
2896
  }
2897
- var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Mi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Ni = Li ? Number.isSafeInteger : function(e) {
2897
+ var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Mi = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Ni = Li ? Number.isSafeInteger : function(e) {
2898
2898
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2899
2899
  }, yt = !0;
2900
2900
  try {
2901
2901
  var Ii = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2902
- yt = ((ct = Ii.exec("a")) === null || ct === void 0 ? void 0 : ct[0]) === "a";
2902
+ yt = ((ht = Ii.exec("a")) === null || ht === void 0 ? void 0 : ht[0]) === "a";
2903
2903
  } catch (e) {
2904
2904
  yt = !1;
2905
2905
  }
2906
- var tr = Pi ? (
2906
+ var tr = Hi ? (
2907
2907
  // Native
2908
2908
  function(t, r, n) {
2909
2909
  return t.startsWith(r, n);
@@ -2969,7 +2969,7 @@ var tr = Pi ? (
2969
2969
  ) : (
2970
2970
  // Ponyfill
2971
2971
  function(t) {
2972
- return t.replace(Hi, "");
2972
+ return t.replace(Pi, "");
2973
2973
  }
2974
2974
  );
2975
2975
  function Zr(e, t) {
@@ -2988,7 +2988,7 @@ if (yt) {
2988
2988
  _t = function(t, r) {
2989
2989
  for (var n = []; ; ) {
2990
2990
  var i = zr(t, r);
2991
- if (i === void 0 || Yr(i) || Gi(i))
2991
+ if (i === void 0 || Yr(i) || Fi(i))
2992
2992
  break;
2993
2993
  n.push(i), r += i >= 65536 ? 2 : 1;
2994
2994
  }
@@ -3024,8 +3024,8 @@ var Di = (
3024
3024
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3025
3025
  if (n)
3026
3026
  break;
3027
- return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3028
- } else if (o === 60 && !this.ignoreTag && Et(this.peek() || 0)) {
3027
+ return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3028
+ } else if (o === 60 && !this.ignoreTag && xt(this.peek() || 0)) {
3029
3029
  var s = this.parseTag(t, r);
3030
3030
  if (s.err)
3031
3031
  return s;
@@ -3058,10 +3058,10 @@ var Di = (
3058
3058
  return o;
3059
3059
  var s = o.val, a = this.clonePosition();
3060
3060
  if (this.bumpIf("</")) {
3061
- if (this.isEOF() || !Et(this.char()))
3062
- return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3061
+ if (this.isEOF() || !xt(this.char()))
3062
+ return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3063
3063
  var u = this.clonePosition(), l = this.parseTagName();
3064
- return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3064
+ return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3065
3065
  val: {
3066
3066
  type: P.tag,
3067
3067
  value: i,
@@ -3069,14 +3069,14 @@ var Di = (
3069
3069
  location: w(n, this.clonePosition())
3070
3070
  },
3071
3071
  err: null
3072
- } : this.error(x.INVALID_TAG, w(a, this.clonePosition())));
3072
+ } : this.error(E.INVALID_TAG, w(a, this.clonePosition())));
3073
3073
  } else
3074
- return this.error(x.UNCLOSED_TAG, w(n, this.clonePosition()));
3074
+ return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
3075
3075
  } else
3076
- return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
3076
+ return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3077
3077
  }, e.prototype.parseTagName = function() {
3078
3078
  var t = this.offset();
3079
- for (this.bump(); !this.isEOF() && Fi(this.char()); )
3079
+ for (this.bump(); !this.isEOF() && Gi(this.char()); )
3080
3080
  this.bump();
3081
3081
  return this.message.slice(t, this.offset());
3082
3082
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3148,14 +3148,14 @@ var Di = (
3148
3148
  }, e.prototype.parseArgument = function(t, r) {
3149
3149
  var n = this.clonePosition();
3150
3150
  if (this.bump(), this.bumpSpace(), this.isEOF())
3151
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3151
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3152
3152
  if (this.char() === 125)
3153
- return this.bump(), this.error(x.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3153
+ return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
3154
3154
  var i = this.parseIdentifierIfPossible().value;
3155
3155
  if (!i)
3156
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3156
+ return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3157
3157
  if (this.bumpSpace(), this.isEOF())
3158
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3158
+ return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
3159
3159
  switch (this.char()) {
3160
3160
  case 125:
3161
3161
  return this.bump(), {
@@ -3168,9 +3168,9 @@ var Di = (
3168
3168
  err: null
3169
3169
  };
3170
3170
  case 44:
3171
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3171
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3172
3172
  default:
3173
- return this.error(x.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3173
+ return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3174
3174
  }
3175
3175
  }, e.prototype.parseIdentifierIfPossible = function() {
3176
3176
  var t = this.clonePosition(), r = this.offset(), n = _t(this.message, r), i = r + n.length;
@@ -3181,7 +3181,7 @@ var Di = (
3181
3181
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3182
3182
  switch (a) {
3183
3183
  case "":
3184
- return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, u));
3184
+ return this.error(E.EXPECT_ARGUMENT_TYPE, w(s, u));
3185
3185
  case "number":
3186
3186
  case "date":
3187
3187
  case "time": {
@@ -3189,40 +3189,40 @@ var Di = (
3189
3189
  var l = null;
3190
3190
  if (this.bumpIf(",")) {
3191
3191
  this.bumpSpace();
3192
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3193
- if (c.err)
3194
- return c;
3195
- var p = $i(c.val);
3192
+ var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3193
+ if (h.err)
3194
+ return h;
3195
+ var p = $i(h.val);
3196
3196
  if (p.length === 0)
3197
- return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3198
- var b = w(h, this.clonePosition());
3199
- l = { style: p, styleLocation: b };
3197
+ return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3198
+ var m = w(c, this.clonePosition());
3199
+ l = { style: p, styleLocation: m };
3200
3200
  }
3201
3201
  var d = this.tryParseArgumentClose(i);
3202
3202
  if (d.err)
3203
3203
  return d;
3204
3204
  var f = w(i, this.clonePosition());
3205
3205
  if (l && tr(l == null ? void 0 : l.style, "::", 0)) {
3206
- var v = Ri(l.style.slice(2));
3206
+ var y = Ri(l.style.slice(2));
3207
3207
  if (a === "number") {
3208
- var c = this.parseNumberSkeletonFromString(v, l.styleLocation);
3209
- return c.err ? c : {
3210
- val: { type: P.number, value: n, location: f, style: c.val },
3208
+ var h = this.parseNumberSkeletonFromString(y, l.styleLocation);
3209
+ return h.err ? h : {
3210
+ val: { type: P.number, value: n, location: f, style: h.val },
3211
3211
  err: null
3212
3212
  };
3213
3213
  } else {
3214
- if (v.length === 0)
3215
- return this.error(x.EXPECT_DATE_TIME_SKELETON, f);
3216
- var g = v;
3217
- this.locale && (g = wi(v, this.locale));
3214
+ if (y.length === 0)
3215
+ return this.error(E.EXPECT_DATE_TIME_SKELETON, f);
3216
+ var g = y;
3217
+ this.locale && (g = wi(y, this.locale));
3218
3218
  var p = {
3219
- type: ce.dateTime,
3219
+ type: pe.dateTime,
3220
3220
  pattern: g,
3221
3221
  location: l.styleLocation,
3222
3222
  parsedOptions: this.shouldParseSkeletons ? bi(g) : {}
3223
- }, _ = a === "date" ? P.date : P.time;
3223
+ }, x = a === "date" ? P.date : P.time;
3224
3224
  return {
3225
- val: { type: _, value: n, location: f, style: p },
3225
+ val: { type: x, value: n, location: f, style: p },
3226
3226
  err: null
3227
3227
  };
3228
3228
  }
@@ -3240,33 +3240,33 @@ var Di = (
3240
3240
  case "plural":
3241
3241
  case "selectordinal":
3242
3242
  case "select": {
3243
- var m = this.clonePosition();
3243
+ var b = this.clonePosition();
3244
3244
  if (this.bumpSpace(), !this.bumpIf(","))
3245
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(m, Je({}, m)));
3245
+ return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, Ke({}, b)));
3246
3246
  this.bumpSpace();
3247
- var H = this.parseIdentifierIfPossible(), A = 0;
3248
- if (a !== "select" && H.value === "offset") {
3247
+ var T = this.parseIdentifierIfPossible(), M = 0;
3248
+ if (a !== "select" && T.value === "offset") {
3249
3249
  if (!this.bumpIf(":"))
3250
- return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3250
+ return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3251
3251
  this.bumpSpace();
3252
- var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3253
- if (c.err)
3254
- return c;
3255
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), A = c.val;
3252
+ var h = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3253
+ if (h.err)
3254
+ return h;
3255
+ this.bumpSpace(), T = this.parseIdentifierIfPossible(), M = h.val;
3256
3256
  }
3257
- var R = this.tryParsePluralOrSelectOptions(t, a, r, H);
3257
+ var R = this.tryParsePluralOrSelectOptions(t, a, r, T);
3258
3258
  if (R.err)
3259
3259
  return R;
3260
3260
  var d = this.tryParseArgumentClose(i);
3261
3261
  if (d.err)
3262
3262
  return d;
3263
- var j = w(i, this.clonePosition());
3263
+ var K = w(i, this.clonePosition());
3264
3264
  return a === "select" ? {
3265
3265
  val: {
3266
3266
  type: P.select,
3267
3267
  value: n,
3268
3268
  options: rr(R.val),
3269
- location: j
3269
+ location: K
3270
3270
  },
3271
3271
  err: null
3272
3272
  } : {
@@ -3274,18 +3274,18 @@ var Di = (
3274
3274
  type: P.plural,
3275
3275
  value: n,
3276
3276
  options: rr(R.val),
3277
- offset: A,
3277
+ offset: M,
3278
3278
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3279
- location: j
3279
+ location: K
3280
3280
  },
3281
3281
  err: null
3282
3282
  };
3283
3283
  }
3284
3284
  default:
3285
- return this.error(x.INVALID_ARGUMENT_TYPE, w(s, u));
3285
+ return this.error(E.INVALID_ARGUMENT_TYPE, w(s, u));
3286
3286
  }
3287
3287
  }, e.prototype.tryParseArgumentClose = function(t) {
3288
- return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3288
+ return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3289
3289
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3290
3290
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3291
3291
  var n = this.char();
@@ -3294,7 +3294,7 @@ var Di = (
3294
3294
  this.bump();
3295
3295
  var i = this.clonePosition();
3296
3296
  if (!this.bumpUntil("'"))
3297
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3297
+ return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
3298
3298
  this.bump();
3299
3299
  break;
3300
3300
  }
@@ -3326,50 +3326,50 @@ var Di = (
3326
3326
  try {
3327
3327
  n = yi(t);
3328
3328
  } catch (i) {
3329
- return this.error(x.INVALID_NUMBER_SKELETON, r);
3329
+ return this.error(E.INVALID_NUMBER_SKELETON, r);
3330
3330
  }
3331
3331
  return {
3332
3332
  val: {
3333
- type: ce.number,
3333
+ type: pe.number,
3334
3334
  tokens: n,
3335
3335
  location: r,
3336
- parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
3336
+ parsedOptions: this.shouldParseSkeletons ? Ei(n) : {}
3337
3337
  },
3338
3338
  err: null
3339
3339
  };
3340
3340
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3341
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3341
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3342
3342
  if (l.length === 0) {
3343
- var c = this.clonePosition();
3343
+ var h = this.clonePosition();
3344
3344
  if (r !== "select" && this.bumpIf("=")) {
3345
- var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3345
+ var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
3346
3346
  if (p.err)
3347
3347
  return p;
3348
- h = w(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3348
+ c = w(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3349
3349
  } else
3350
3350
  break;
3351
3351
  }
3352
3352
  if (u.has(l))
3353
- return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3353
+ return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3354
3354
  l === "other" && (s = !0), this.bumpSpace();
3355
- var b = this.clonePosition();
3355
+ var m = this.clonePosition();
3356
3356
  if (!this.bumpIf("{"))
3357
- return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3357
+ return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3358
3358
  var d = this.parseMessage(t + 1, r, n);
3359
3359
  if (d.err)
3360
3360
  return d;
3361
- var f = this.tryParseArgumentClose(b);
3361
+ var f = this.tryParseArgumentClose(m);
3362
3362
  if (f.err)
3363
3363
  return f;
3364
3364
  a.push([
3365
3365
  l,
3366
3366
  {
3367
3367
  value: d.val,
3368
- location: w(b, this.clonePosition())
3368
+ location: w(m, this.clonePosition())
3369
3369
  }
3370
- ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3370
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3371
3371
  }
3372
- return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3372
+ return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(E.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3373
3373
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3374
3374
  var n = 1, i = this.clonePosition();
3375
3375
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3447,47 +3447,47 @@ var Di = (
3447
3447
  }, e;
3448
3448
  }()
3449
3449
  );
3450
- function Et(e) {
3450
+ function xt(e) {
3451
3451
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3452
3452
  }
3453
3453
  function Ui(e) {
3454
- return Et(e) || e === 47;
3454
+ return xt(e) || e === 47;
3455
3455
  }
3456
- function Fi(e) {
3456
+ function Gi(e) {
3457
3457
  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;
3458
3458
  }
3459
3459
  function Yr(e) {
3460
3460
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3461
3461
  }
3462
- function Gi(e) {
3462
+ function Fi(e) {
3463
3463
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3464
3464
  }
3465
- function xt(e) {
3465
+ function Et(e) {
3466
3466
  e.forEach(function(t) {
3467
- if (delete t.location, Ur(t) || Fr(t))
3467
+ if (delete t.location, Ur(t) || Gr(t))
3468
3468
  for (var r in t.options)
3469
- delete t.options[r].location, xt(t.options[r].value);
3469
+ delete t.options[r].location, Et(t.options[r].value);
3470
3470
  else
3471
- Rr(t) && jr(t.style) || ($r(t) || Dr(t)) && gt(t.style) ? delete t.style.location : Gr(t) && xt(t.children);
3471
+ Rr(t) && jr(t.style) || ($r(t) || Dr(t)) && gt(t.style) ? delete t.style.location : Fr(t) && Et(t.children);
3472
3472
  });
3473
3473
  }
3474
3474
  function ji(e, t) {
3475
- t === void 0 && (t = {}), t = Je({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3475
+ t === void 0 && (t = {}), t = Ke({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3476
3476
  var r = new Di(e, t).parse();
3477
3477
  if (r.err) {
3478
- var n = SyntaxError(x[r.err.kind]);
3478
+ var n = SyntaxError(E[r.err.kind]);
3479
3479
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3480
3480
  }
3481
- return t != null && t.captureLocation || xt(r.val), r.val;
3481
+ return t != null && t.captureLocation || Et(r.val), r.val;
3482
3482
  }
3483
- var fe;
3483
+ var de;
3484
3484
  (function(e) {
3485
3485
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3486
- })(fe || (fe = {}));
3487
- var rt = (
3486
+ })(de || (de = {}));
3487
+ var nt = (
3488
3488
  /** @class */
3489
3489
  function(e) {
3490
- tt(t, e);
3490
+ rt(t, e);
3491
3491
  function t(r, n, i) {
3492
3492
  var o = e.call(this, r) || this;
3493
3493
  return o.code = n, o.originalMessage = i, o;
@@ -3499,150 +3499,150 @@ var rt = (
3499
3499
  ), ir = (
3500
3500
  /** @class */
3501
3501
  function(e) {
3502
- tt(t, e);
3502
+ rt(t, e);
3503
3503
  function t(r, n, i, o) {
3504
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3504
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3505
3505
  }
3506
3506
  return t;
3507
- }(rt)
3507
+ }(nt)
3508
3508
  ), ki = (
3509
3509
  /** @class */
3510
3510
  function(e) {
3511
- tt(t, e);
3511
+ rt(t, e);
3512
3512
  function t(r, n, i) {
3513
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3513
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3514
3514
  }
3515
3515
  return t;
3516
- }(rt)
3516
+ }(nt)
3517
3517
  ), Vi = (
3518
3518
  /** @class */
3519
3519
  function(e) {
3520
- tt(t, e);
3520
+ rt(t, e);
3521
3521
  function t(r, n) {
3522
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3522
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3523
3523
  }
3524
3524
  return t;
3525
- }(rt)
3526
- ), O;
3525
+ }(nt)
3526
+ ), L;
3527
3527
  (function(e) {
3528
3528
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3529
- })(O || (O = {}));
3529
+ })(L || (L = {}));
3530
3530
  function Xi(e) {
3531
3531
  return e.length < 2 ? e : e.reduce(function(t, r) {
3532
3532
  var n = t[t.length - 1];
3533
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3533
+ return !n || n.type !== L.literal || r.type !== L.literal ? t.push(r) : n.value += r.value, t;
3534
3534
  }, []);
3535
3535
  }
3536
3536
  function Wi(e) {
3537
3537
  return typeof e == "function";
3538
3538
  }
3539
- function je(e, t, r, n, i, o, s) {
3539
+ function ke(e, t, r, n, i, o, s) {
3540
3540
  if (e.length === 1 && Kt(e[0]))
3541
3541
  return [
3542
3542
  {
3543
- type: O.literal,
3543
+ type: L.literal,
3544
3544
  value: e[0].value
3545
3545
  }
3546
3546
  ];
3547
3547
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3548
- var h = l[u];
3549
- if (Kt(h)) {
3548
+ var c = l[u];
3549
+ if (Kt(c)) {
3550
3550
  a.push({
3551
- type: O.literal,
3552
- value: h.value
3551
+ type: L.literal,
3552
+ value: c.value
3553
3553
  });
3554
3554
  continue;
3555
3555
  }
3556
- if (di(h)) {
3556
+ if (di(c)) {
3557
3557
  typeof o == "number" && a.push({
3558
- type: O.literal,
3558
+ type: L.literal,
3559
3559
  value: r.getNumberFormat(t).format(o)
3560
3560
  });
3561
3561
  continue;
3562
3562
  }
3563
- var c = h.value;
3564
- if (!(i && c in i))
3565
- throw new Vi(c, s);
3566
- var p = i[c];
3567
- if (pi(h)) {
3563
+ var h = c.value;
3564
+ if (!(i && h in i))
3565
+ throw new Vi(h, s);
3566
+ var p = i[h];
3567
+ if (pi(c)) {
3568
3568
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3569
- type: typeof p == "string" ? O.literal : O.object,
3569
+ type: typeof p == "string" ? L.literal : L.object,
3570
3570
  value: p
3571
3571
  });
3572
3572
  continue;
3573
3573
  }
3574
- if ($r(h)) {
3575
- var b = typeof h.style == "string" ? n.date[h.style] : gt(h.style) ? h.style.parsedOptions : void 0;
3574
+ if ($r(c)) {
3575
+ var m = typeof c.style == "string" ? n.date[c.style] : gt(c.style) ? c.style.parsedOptions : void 0;
3576
3576
  a.push({
3577
- type: O.literal,
3578
- value: r.getDateTimeFormat(t, b).format(p)
3577
+ type: L.literal,
3578
+ value: r.getDateTimeFormat(t, m).format(p)
3579
3579
  });
3580
3580
  continue;
3581
3581
  }
3582
- if (Dr(h)) {
3583
- var b = typeof h.style == "string" ? n.time[h.style] : gt(h.style) ? h.style.parsedOptions : n.time.medium;
3582
+ if (Dr(c)) {
3583
+ var m = typeof c.style == "string" ? n.time[c.style] : gt(c.style) ? c.style.parsedOptions : n.time.medium;
3584
3584
  a.push({
3585
- type: O.literal,
3586
- value: r.getDateTimeFormat(t, b).format(p)
3585
+ type: L.literal,
3586
+ value: r.getDateTimeFormat(t, m).format(p)
3587
3587
  });
3588
3588
  continue;
3589
3589
  }
3590
- if (Rr(h)) {
3591
- var b = typeof h.style == "string" ? n.number[h.style] : jr(h.style) ? h.style.parsedOptions : void 0;
3592
- b && b.scale && (p = p * (b.scale || 1)), a.push({
3593
- type: O.literal,
3594
- value: r.getNumberFormat(t, b).format(p)
3590
+ if (Rr(c)) {
3591
+ var m = typeof c.style == "string" ? n.number[c.style] : jr(c.style) ? c.style.parsedOptions : void 0;
3592
+ m && m.scale && (p = p * (m.scale || 1)), a.push({
3593
+ type: L.literal,
3594
+ value: r.getNumberFormat(t, m).format(p)
3595
3595
  });
3596
3596
  continue;
3597
3597
  }
3598
- if (Gr(h)) {
3599
- var d = h.children, f = h.value, v = i[f];
3600
- if (!Wi(v))
3598
+ if (Fr(c)) {
3599
+ var d = c.children, f = c.value, y = i[f];
3600
+ if (!Wi(y))
3601
3601
  throw new ki(f, "function", s);
3602
- var g = je(d, t, r, n, i, o), _ = v(g.map(function(A) {
3603
- return A.value;
3602
+ var g = ke(d, t, r, n, i, o), x = y(g.map(function(M) {
3603
+ return M.value;
3604
3604
  }));
3605
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(A) {
3605
+ Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(M) {
3606
3606
  return {
3607
- type: typeof A == "string" ? O.literal : O.object,
3608
- value: A
3607
+ type: typeof M == "string" ? L.literal : L.object,
3608
+ value: M
3609
3609
  };
3610
3610
  }));
3611
3611
  }
3612
- if (Ur(h)) {
3613
- var m = h.options[p] || h.options.other;
3614
- if (!m)
3615
- throw new ir(h.value, p, Object.keys(h.options), s);
3616
- a.push.apply(a, je(m.value, t, r, n, i));
3612
+ if (Ur(c)) {
3613
+ var b = c.options[p] || c.options.other;
3614
+ if (!b)
3615
+ throw new ir(c.value, p, Object.keys(c.options), s);
3616
+ a.push.apply(a, ke(b.value, t, r, n, i));
3617
3617
  continue;
3618
3618
  }
3619
- if (Fr(h)) {
3620
- var m = h.options["=".concat(p)];
3621
- if (!m) {
3619
+ if (Gr(c)) {
3620
+ var b = c.options["=".concat(p)];
3621
+ if (!b) {
3622
3622
  if (!Intl.PluralRules)
3623
- throw new rt(`Intl.PluralRules is not available in this environment.
3623
+ throw new nt(`Intl.PluralRules is not available in this environment.
3624
3624
  Try polyfilling it using "@formatjs/intl-pluralrules"
3625
- `, fe.MISSING_INTL_API, s);
3626
- var H = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3627
- m = h.options[H] || h.options.other;
3625
+ `, de.MISSING_INTL_API, s);
3626
+ var T = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3627
+ b = c.options[T] || c.options.other;
3628
3628
  }
3629
- if (!m)
3630
- throw new ir(h.value, p, Object.keys(h.options), s);
3631
- a.push.apply(a, je(m.value, t, r, n, i, p - (h.offset || 0)));
3629
+ if (!b)
3630
+ throw new ir(c.value, p, Object.keys(c.options), s);
3631
+ a.push.apply(a, ke(b.value, t, r, n, i, p - (c.offset || 0)));
3632
3632
  continue;
3633
3633
  }
3634
3634
  }
3635
3635
  return Xi(a);
3636
3636
  }
3637
3637
  function zi(e, t) {
3638
- return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3639
- return r[n] = U(U({}, e[n]), t[n] || {}), r;
3638
+ return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3639
+ return r[n] = F(F({}, e[n]), t[n] || {}), r;
3640
3640
  }, {})) : e;
3641
3641
  }
3642
3642
  function Zi(e, t) {
3643
3643
  return t ? Object.keys(e).reduce(function(r, n) {
3644
3644
  return r[n] = zi(e[n], t[n]), r;
3645
- }, U({}, e)) : e;
3645
+ }, F({}, e)) : e;
3646
3646
  }
3647
3647
  function ft(e) {
3648
3648
  return {
@@ -3670,7 +3670,7 @@ function Yi(e) {
3670
3670
  return new ((t = Intl.NumberFormat).bind.apply(t, ut([void 0], r, !1)))();
3671
3671
  }, {
3672
3672
  cache: ft(e.number),
3673
- strategy: ht.variadic
3673
+ strategy: ct.variadic
3674
3674
  }),
3675
3675
  getDateTimeFormat: lt(function() {
3676
3676
  for (var t, r = [], n = 0; n < arguments.length; n++)
@@ -3678,7 +3678,7 @@ function Yi(e) {
3678
3678
  return new ((t = Intl.DateTimeFormat).bind.apply(t, ut([void 0], r, !1)))();
3679
3679
  }, {
3680
3680
  cache: ft(e.dateTime),
3681
- strategy: ht.variadic
3681
+ strategy: ct.variadic
3682
3682
  }),
3683
3683
  getPluralRules: lt(function() {
3684
3684
  for (var t, r = [], n = 0; n < arguments.length; n++)
@@ -3686,7 +3686,7 @@ function Yi(e) {
3686
3686
  return new ((t = Intl.PluralRules).bind.apply(t, ut([void 0], r, !1)))();
3687
3687
  }, {
3688
3688
  cache: ft(e.pluralRules),
3689
- strategy: ht.variadic
3689
+ strategy: ct.variadic
3690
3690
  })
3691
3691
  };
3692
3692
  }
@@ -3704,12 +3704,12 @@ var Jr = (
3704
3704
  var l = o.formatToParts(u);
3705
3705
  if (l.length === 1)
3706
3706
  return l[0].value;
3707
- var h = l.reduce(function(c, p) {
3708
- return !c.length || p.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3707
+ var c = l.reduce(function(h, p) {
3708
+ return !h.length || p.type !== L.literal || typeof h[h.length - 1] != "string" ? h.push(p.value) : h[h.length - 1] += p.value, h;
3709
3709
  }, []);
3710
- return h.length <= 1 ? h[0] || "" : h;
3710
+ return c.length <= 1 ? c[0] || "" : c;
3711
3711
  }, this.formatToParts = function(u) {
3712
- return je(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3712
+ return ke(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3713
3713
  }, this.resolvedOptions = function() {
3714
3714
  var u;
3715
3715
  return {
@@ -3723,7 +3723,7 @@ var Jr = (
3723
3723
  var s = i || {};
3724
3724
  s.formatters;
3725
3725
  var a = oi(s, ["formatters"]);
3726
- this.ast = e.__parse(t, U(U({}, a), { locale: this.resolvedLocale }));
3726
+ this.ast = e.__parse(t, F(F({}, a), { locale: this.resolvedLocale }));
3727
3727
  } else
3728
3728
  this.ast = t;
3729
3729
  if (!Array.isArray(this.ast))
@@ -3828,20 +3828,20 @@ const Z = {}, Ki = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][
3828
3828
  return;
3829
3829
  if (t in Z && e in Z[t])
3830
3830
  return Z[t][e];
3831
- const r = Ce(t);
3831
+ const r = Be(t);
3832
3832
  for (let n = 0; n < r.length; n++) {
3833
3833
  const i = r[n], o = qi(i, e);
3834
3834
  if (o)
3835
3835
  return Ki(e, t, o);
3836
3836
  }
3837
3837
  };
3838
- let Ft;
3839
- const Pe = et({});
3838
+ let Gt;
3839
+ const Ae = tt({});
3840
3840
  function Qi(e) {
3841
- return Ft[e] || null;
3841
+ return Gt[e] || null;
3842
3842
  }
3843
3843
  function Qr(e) {
3844
- return e in Ft;
3844
+ return e in Gt;
3845
3845
  }
3846
3846
  function qi(e, t) {
3847
3847
  if (!Qr(e))
@@ -3852,7 +3852,7 @@ function qi(e, t) {
3852
3852
  function eo(e) {
3853
3853
  if (e == null)
3854
3854
  return;
3855
- const t = Ce(e);
3855
+ const t = Be(e);
3856
3856
  for (let r = 0; r < t.length; r++) {
3857
3857
  const n = t[r];
3858
3858
  if (Qr(n))
@@ -3860,28 +3860,28 @@ function eo(e) {
3860
3860
  }
3861
3861
  }
3862
3862
  function qr(e, ...t) {
3863
- delete Z[e], Pe.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
3863
+ delete Z[e], Ae.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
3864
3864
  }
3865
- me(
3866
- [Pe],
3865
+ ge(
3866
+ [Ae],
3867
3867
  ([e]) => Object.keys(e)
3868
3868
  );
3869
- Pe.subscribe((e) => Ft = e);
3870
- const ke = {};
3869
+ Ae.subscribe((e) => Gt = e);
3870
+ const Ve = {};
3871
3871
  function to(e, t) {
3872
- ke[e].delete(t), ke[e].size === 0 && delete ke[e];
3872
+ Ve[e].delete(t), Ve[e].size === 0 && delete Ve[e];
3873
3873
  }
3874
3874
  function en(e) {
3875
- return ke[e];
3875
+ return Ve[e];
3876
3876
  }
3877
3877
  function ro(e) {
3878
- return Ce(e).map((t) => {
3878
+ return Be(e).map((t) => {
3879
3879
  const r = en(t);
3880
3880
  return [t, r ? [...r] : []];
3881
3881
  }).filter(([, t]) => t.length > 0);
3882
3882
  }
3883
- function Ke(e) {
3884
- return e == null ? !1 : Ce(e).some(
3883
+ function Qe(e) {
3884
+ return e == null ? !1 : Be(e).some(
3885
3885
  (t) => {
3886
3886
  var r;
3887
3887
  return (r = en(t)) == null ? void 0 : r.size;
@@ -3893,20 +3893,20 @@ function no(e, t) {
3893
3893
  t.map((n) => (to(e, n), n().then((i) => i.default || i)))
3894
3894
  ).then((n) => qr(e, ...n));
3895
3895
  }
3896
- const _e = {};
3896
+ const we = {};
3897
3897
  function tn(e) {
3898
- if (!Ke(e))
3899
- return e in _e ? _e[e] : Promise.resolve();
3898
+ if (!Qe(e))
3899
+ return e in we ? we[e] : Promise.resolve();
3900
3900
  const t = ro(e);
3901
- return _e[e] = Promise.all(
3901
+ return we[e] = Promise.all(
3902
3902
  t.map(
3903
3903
  ([r, n]) => no(r, n)
3904
3904
  )
3905
3905
  ).then(() => {
3906
- if (Ke(e))
3906
+ if (Qe(e))
3907
3907
  return tn(e);
3908
- delete _e[e];
3909
- }), _e[e];
3908
+ delete we[e];
3909
+ }), we[e];
3910
3910
  }
3911
3911
  var or = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, so = (e, t) => {
3912
3912
  var r = {};
@@ -3949,9 +3949,9 @@ const ao = {
3949
3949
  };
3950
3950
  function uo({ locale: e, id: t }) {
3951
3951
  console.warn(
3952
- `[svelte-i18n] The message "${t}" was not found in "${Ce(
3952
+ `[svelte-i18n] The message "${t}" was not found in "${Be(
3953
3953
  e
3954
- ).join('", "')}".${Ke(J()) ? `
3954
+ ).join('", "')}".${Qe(J()) ? `
3955
3955
 
3956
3956
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3957
3957
  );
@@ -3963,11 +3963,11 @@ const lo = {
3963
3963
  warnOnMissingMessages: !0,
3964
3964
  handleMissingMessage: void 0,
3965
3965
  ignoreTag: !0
3966
- }, Ee = lo;
3967
- function pe() {
3968
- return Ee;
3966
+ }, Se = lo;
3967
+ function me() {
3968
+ return Se;
3969
3969
  }
3970
- function ho(e) {
3970
+ function co(e) {
3971
3971
  const t = e, { formats: r } = t, n = so(t, ["formats"]);
3972
3972
  let i = e.fallbackLocale;
3973
3973
  if (e.initialLocale)
@@ -3980,10 +3980,10 @@ function ho(e) {
3980
3980
  }
3981
3981
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = uo : console.warn(
3982
3982
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3983
- )), Object.assign(Ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ee.formats.number, r.number), "date" in r && Object.assign(Ee.formats.date, r.date), "time" in r && Object.assign(Ee.formats.time, r.time)), q.set(i);
3983
+ )), Object.assign(Se, n, { initialLocale: i }), r && ("number" in r && Object.assign(Se.formats.number, r.number), "date" in r && Object.assign(Se.formats.date, r.date), "time" in r && Object.assign(Se.formats.time, r.time)), te.set(i);
3984
3984
  }
3985
- const pt = et(!1);
3986
- var co = Object.defineProperty, fo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, sr = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
3985
+ const pt = tt(!1);
3986
+ var ho = Object.defineProperty, fo = Object.defineProperties, po = Object.getOwnPropertyDescriptors, sr = Object.getOwnPropertySymbols, mo = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
3987
3987
  for (var r in t || (t = {}))
3988
3988
  mo.call(t, r) && ar(e, r, t[r]);
3989
3989
  if (sr)
@@ -3992,112 +3992,112 @@ var co = Object.defineProperty, fo = Object.defineProperties, po = Object.getOwn
3992
3992
  return e;
3993
3993
  }, yo = (e, t) => fo(e, po(t));
3994
3994
  let wt;
3995
- const Qe = et(null);
3995
+ const qe = tt(null);
3996
3996
  function ur(e) {
3997
3997
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3998
3998
  }
3999
- function Ce(e, t = pe().fallbackLocale) {
3999
+ function Be(e, t = me().fallbackLocale) {
4000
4000
  const r = ur(e);
4001
4001
  return t ? [.../* @__PURE__ */ new Set([...r, ...ur(t)])] : r;
4002
4002
  }
4003
4003
  function J() {
4004
4004
  return wt != null ? wt : void 0;
4005
4005
  }
4006
- Qe.subscribe((e) => {
4006
+ qe.subscribe((e) => {
4007
4007
  wt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4008
4008
  });
4009
4009
  const vo = (e) => {
4010
- if (e && eo(e) && Ke(e)) {
4011
- const { loadingDelay: t } = pe();
4010
+ if (e && eo(e) && Qe(e)) {
4011
+ const { loadingDelay: t } = me();
4012
4012
  let r;
4013
4013
  return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
4014
4014
  () => pt.set(!0),
4015
4015
  t
4016
4016
  ) : pt.set(!0), tn(e).then(() => {
4017
- Qe.set(e);
4017
+ qe.set(e);
4018
4018
  }).finally(() => {
4019
4019
  clearTimeout(r), pt.set(!1);
4020
4020
  });
4021
4021
  }
4022
- return Qe.set(e);
4023
- }, q = yo(go({}, Qe), {
4022
+ return qe.set(e);
4023
+ }, te = yo(go({}, qe), {
4024
4024
  set: vo
4025
- }), nt = (e) => {
4025
+ }), it = (e) => {
4026
4026
  const t = /* @__PURE__ */ Object.create(null);
4027
4027
  return (n) => {
4028
4028
  const i = JSON.stringify(n);
4029
4029
  return i in t ? t[i] : t[i] = e(n);
4030
4030
  };
4031
4031
  };
4032
- var _o = Object.defineProperty, qe = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
4032
+ var _o = Object.defineProperty, et = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, lr = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
4033
4033
  for (var r in t || (t = {}))
4034
4034
  rn.call(t, r) && lr(e, r, t[r]);
4035
- if (qe)
4036
- for (var r of qe(t))
4035
+ if (et)
4036
+ for (var r of et(t))
4037
4037
  nn.call(t, r) && lr(e, r, t[r]);
4038
4038
  return e;
4039
- }, be = (e, t) => {
4039
+ }, ye = (e, t) => {
4040
4040
  var r = {};
4041
4041
  for (var n in e)
4042
4042
  rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4043
- if (e != null && qe)
4044
- for (var n of qe(e))
4043
+ if (e != null && et)
4044
+ for (var n of et(e))
4045
4045
  t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
4046
4046
  return r;
4047
4047
  };
4048
- const He = (e, t) => {
4049
- const { formats: r } = pe();
4048
+ const Me = (e, t) => {
4049
+ const { formats: r } = me();
4050
4050
  if (e in r && t in r[e])
4051
4051
  return r[e][t];
4052
4052
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4053
- }, Eo = nt(
4053
+ }, xo = it(
4054
4054
  (e) => {
4055
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4055
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4056
4056
  if (r == null)
4057
4057
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4058
- return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4058
+ return n && (i = Me("number", n)), new Intl.NumberFormat(r, i);
4059
4059
  }
4060
- ), xo = nt(
4060
+ ), Eo = it(
4061
4061
  (e) => {
4062
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4062
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4063
4063
  if (r == null)
4064
4064
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4065
- return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4065
+ return n ? i = Me("date", n) : Object.keys(i).length === 0 && (i = Me("date", "short")), new Intl.DateTimeFormat(r, i);
4066
4066
  }
4067
- ), wo = nt(
4067
+ ), wo = it(
4068
4068
  (e) => {
4069
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4069
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4070
4070
  if (r == null)
4071
4071
  throw new Error(
4072
4072
  '[svelte-i18n] A "locale" must be set to format time values'
4073
4073
  );
4074
- return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4074
+ return n ? i = Me("time", n) : Object.keys(i).length === 0 && (i = Me("time", "short")), new Intl.DateTimeFormat(r, i);
4075
4075
  }
4076
4076
  ), So = (e = {}) => {
4077
4077
  var t = e, {
4078
4078
  locale: r = J()
4079
- } = t, n = be(t, [
4079
+ } = t, n = ye(t, [
4080
4080
  "locale"
4081
4081
  ]);
4082
- return Eo(Gt({ locale: r }, n));
4082
+ return xo(Ft({ locale: r }, n));
4083
4083
  }, To = (e = {}) => {
4084
4084
  var t = e, {
4085
4085
  locale: r = J()
4086
- } = t, n = be(t, [
4086
+ } = t, n = ye(t, [
4087
4087
  "locale"
4088
4088
  ]);
4089
- return xo(Gt({ locale: r }, n));
4090
- }, Ho = (e = {}) => {
4089
+ return Eo(Ft({ locale: r }, n));
4090
+ }, Po = (e = {}) => {
4091
4091
  var t = e, {
4092
4092
  locale: r = J()
4093
- } = t, n = be(t, [
4093
+ } = t, n = ye(t, [
4094
4094
  "locale"
4095
4095
  ]);
4096
- return wo(Gt({ locale: r }, n));
4097
- }, Po = nt(
4096
+ return wo(Ft({ locale: r }, n));
4097
+ }, Ho = it(
4098
4098
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4099
- (e, t = J()) => new Jr(e, t, pe().formats, {
4100
- ignoreTag: pe().ignoreTag
4099
+ (e, t = J()) => new Jr(e, t, me().formats, {
4100
+ ignoreTag: me().ignoreTag
4101
4101
  })
4102
4102
  ), Co = (e, t = {}) => {
4103
4103
  var r, n, i, o;
@@ -4112,30 +4112,30 @@ const He = (e, t) => {
4112
4112
  throw new Error(
4113
4113
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4114
4114
  );
4115
- let h = Kr(e, u);
4116
- if (!h)
4117
- h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4118
- else if (typeof h != "string")
4115
+ let c = Kr(e, u);
4116
+ if (!c)
4117
+ c = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4118
+ else if (typeof c != "string")
4119
4119
  return console.warn(
4120
- `[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.`
4121
- ), h;
4120
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4121
+ ), c;
4122
4122
  if (!a)
4123
- return h;
4124
- let c = h;
4123
+ return c;
4124
+ let h = c;
4125
4125
  try {
4126
- c = Po(h, u).format(a);
4126
+ h = Ho(c, u).format(a);
4127
4127
  } catch (p) {
4128
4128
  p instanceof Error && console.warn(
4129
4129
  `[svelte-i18n] Message "${e}" has syntax error:`,
4130
4130
  p.message
4131
4131
  );
4132
4132
  }
4133
- return c;
4134
- }, Mo = (e, t) => Ho(t).format(e), Ao = (e, t) => To(t).format(e), Bo = (e, t) => So(t).format(e), Oo = (e, t = J()) => Kr(e, t), Lo = me([q, Pe], () => Co);
4135
- me([q], () => Mo);
4136
- me([q], () => Ao);
4137
- me([q], () => Bo);
4138
- me([q, Pe], () => Oo);
4133
+ return h;
4134
+ }, Mo = (e, t) => Po(t).format(e), Ao = (e, t) => To(t).format(e), Bo = (e, t) => So(t).format(e), Oo = (e, t = J()) => Kr(e, t), Lo = ge([te, Ae], () => Co);
4135
+ ge([te], () => Mo);
4136
+ ge([te], () => Ao);
4137
+ ge([te], () => Bo);
4138
+ ge([te, Ae], () => Oo);
4139
4139
  /*! *****************************************************************************
4140
4140
  Copyright (c) Microsoft Corporation.
4141
4141
 
@@ -4158,7 +4158,7 @@ var St = function(e, t) {
4158
4158
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
4159
4159
  }, St(e, t);
4160
4160
  };
4161
- function Me(e, t) {
4161
+ function Oe(e, t) {
4162
4162
  if (typeof t != "function" && t !== null)
4163
4163
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4164
4164
  St(e, t);
@@ -4179,7 +4179,7 @@ function Tt(e) {
4179
4179
  };
4180
4180
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4181
4181
  }
4182
- function Ht(e, t) {
4182
+ function Pt(e, t) {
4183
4183
  var r = typeof Symbol == "function" && e[Symbol.iterator];
4184
4184
  if (!r)
4185
4185
  return e;
@@ -4199,13 +4199,13 @@ function Ht(e, t) {
4199
4199
  }
4200
4200
  return o;
4201
4201
  }
4202
- function Pt(e, t, r) {
4202
+ function Ht(e, t, r) {
4203
4203
  if (arguments.length === 2)
4204
4204
  for (var n = 0, i = t.length, o; n < i; n++)
4205
4205
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
4206
4206
  return e.concat(o || t);
4207
4207
  }
4208
- function V(e) {
4208
+ function W(e) {
4209
4209
  return typeof e == "function";
4210
4210
  }
4211
4211
  function on(e) {
@@ -4229,7 +4229,7 @@ function Ct(e, t) {
4229
4229
  0 <= r && e.splice(r, 1);
4230
4230
  }
4231
4231
  }
4232
- var it = function() {
4232
+ var ot = function() {
4233
4233
  function e(t) {
4234
4234
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4235
4235
  }
@@ -4257,30 +4257,30 @@ var it = function() {
4257
4257
  }
4258
4258
  else
4259
4259
  s.remove(this);
4260
- var h = this.initialTeardown;
4261
- if (V(h))
4260
+ var c = this.initialTeardown;
4261
+ if (W(c))
4262
4262
  try {
4263
- h();
4263
+ c();
4264
4264
  } catch (f) {
4265
4265
  o = f instanceof dt ? f.errors : [f];
4266
4266
  }
4267
- var c = this._finalizers;
4268
- if (c) {
4267
+ var h = this._finalizers;
4268
+ if (h) {
4269
4269
  this._finalizers = null;
4270
4270
  try {
4271
- for (var p = Tt(c), b = p.next(); !b.done; b = p.next()) {
4272
- var d = b.value;
4271
+ for (var p = Tt(h), m = p.next(); !m.done; m = p.next()) {
4272
+ var d = m.value;
4273
4273
  try {
4274
- hr(d);
4274
+ cr(d);
4275
4275
  } catch (f) {
4276
- o = o != null ? o : [], f instanceof dt ? o = Pt(Pt([], Ht(o)), Ht(f.errors)) : o.push(f);
4276
+ o = o != null ? o : [], f instanceof dt ? o = Ht(Ht([], Pt(o)), Pt(f.errors)) : o.push(f);
4277
4277
  }
4278
4278
  }
4279
4279
  } catch (f) {
4280
4280
  n = { error: f };
4281
4281
  } finally {
4282
4282
  try {
4283
- b && !b.done && (i = p.return) && i.call(p);
4283
+ m && !m.done && (i = p.return) && i.call(p);
4284
4284
  } finally {
4285
4285
  if (n)
4286
4286
  throw n.error;
@@ -4294,7 +4294,7 @@ var it = function() {
4294
4294
  var r;
4295
4295
  if (t && t !== this)
4296
4296
  if (this.closed)
4297
- hr(t);
4297
+ cr(t);
4298
4298
  else {
4299
4299
  if (t instanceof e) {
4300
4300
  if (t.closed || t._hasParent(this))
@@ -4319,12 +4319,12 @@ var it = function() {
4319
4319
  var t = new e();
4320
4320
  return t.closed = !0, t;
4321
4321
  }(), e;
4322
- }(), sn = it.EMPTY;
4322
+ }(), sn = ot.EMPTY;
4323
4323
  function an(e) {
4324
- return e instanceof it || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
4324
+ return e instanceof ot || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
4325
4325
  }
4326
- function hr(e) {
4327
- V(e) ? e() : e.unsubscribe();
4326
+ function cr(e) {
4327
+ W(e) ? e() : e.unsubscribe();
4328
4328
  }
4329
4329
  var No = {
4330
4330
  Promise: void 0
@@ -4332,7 +4332,7 @@ var No = {
4332
4332
  setTimeout: function(e, t) {
4333
4333
  for (var r = [], n = 2; n < arguments.length; n++)
4334
4334
  r[n - 2] = arguments[n];
4335
- return setTimeout.apply(void 0, Pt([e, t], Ht(r)));
4335
+ return setTimeout.apply(void 0, Ht([e, t], Pt(r)));
4336
4336
  },
4337
4337
  clearTimeout: function(e) {
4338
4338
  return clearTimeout(e);
@@ -4344,13 +4344,13 @@ function Ro(e) {
4344
4344
  throw e;
4345
4345
  });
4346
4346
  }
4347
- function cr() {
4347
+ function hr() {
4348
4348
  }
4349
- function Ve(e) {
4349
+ function Xe(e) {
4350
4350
  e();
4351
4351
  }
4352
4352
  var un = function(e) {
4353
- Me(t, e);
4353
+ Oe(t, e);
4354
4354
  function t(r) {
4355
4355
  var n = e.call(this) || this;
4356
4356
  return n.isStopped = !1, r ? (n.destination = r, an(r) && r.add(n)) : n.destination = Uo, n;
@@ -4380,7 +4380,7 @@ var un = function(e) {
4380
4380
  this.unsubscribe();
4381
4381
  }
4382
4382
  }, t;
4383
- }(it), $o = function() {
4383
+ }(ot), $o = function() {
4384
4384
  function e(t) {
4385
4385
  this.partialObserver = t;
4386
4386
  }
@@ -4390,7 +4390,7 @@ var un = function(e) {
4390
4390
  try {
4391
4391
  r.next(t);
4392
4392
  } catch (n) {
4393
- De(n);
4393
+ Ue(n);
4394
4394
  }
4395
4395
  }, e.prototype.error = function(t) {
4396
4396
  var r = this.partialObserver;
@@ -4398,24 +4398,24 @@ var un = function(e) {
4398
4398
  try {
4399
4399
  r.error(t);
4400
4400
  } catch (n) {
4401
- De(n);
4401
+ Ue(n);
4402
4402
  }
4403
4403
  else
4404
- De(t);
4404
+ Ue(t);
4405
4405
  }, e.prototype.complete = function() {
4406
4406
  var t = this.partialObserver;
4407
4407
  if (t.complete)
4408
4408
  try {
4409
4409
  t.complete();
4410
4410
  } catch (r) {
4411
- De(r);
4411
+ Ue(r);
4412
4412
  }
4413
4413
  }, e;
4414
4414
  }(), Mt = function(e) {
4415
- Me(t, e);
4415
+ Oe(t, e);
4416
4416
  function t(r, n, i) {
4417
4417
  var o = e.call(this) || this, s;
4418
- return V(r) || !r ? s = {
4418
+ return W(r) || !r ? s = {
4419
4419
  next: r != null ? r : void 0,
4420
4420
  error: n != null ? n : void 0,
4421
4421
  complete: i != null ? i : void 0
@@ -4423,7 +4423,7 @@ var un = function(e) {
4423
4423
  }
4424
4424
  return t;
4425
4425
  }(un);
4426
- function De(e) {
4426
+ function Ue(e) {
4427
4427
  Ro(e);
4428
4428
  }
4429
4429
  function Do(e) {
@@ -4431,17 +4431,17 @@ function Do(e) {
4431
4431
  }
4432
4432
  var Uo = {
4433
4433
  closed: !0,
4434
- next: cr,
4434
+ next: hr,
4435
4435
  error: Do,
4436
- complete: cr
4437
- }, Fo = function() {
4436
+ complete: hr
4437
+ }, Go = function() {
4438
4438
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4439
4439
  }();
4440
- function Go(e) {
4440
+ function Fo(e) {
4441
4441
  return e;
4442
4442
  }
4443
4443
  function jo(e) {
4444
- return e.length === 0 ? Go : e.length === 1 ? e[0] : function(r) {
4444
+ return e.length === 0 ? Fo : e.length === 1 ? e[0] : function(r) {
4445
4445
  return e.reduce(function(n, i) {
4446
4446
  return i(n);
4447
4447
  }, r);
@@ -4456,7 +4456,7 @@ var fr = function() {
4456
4456
  return r.source = this, r.operator = t, r;
4457
4457
  }, e.prototype.subscribe = function(t, r, n) {
4458
4458
  var i = this, o = Vo(t) ? t : new Mt(t, r, n);
4459
- return Ve(function() {
4459
+ return Xe(function() {
4460
4460
  var s = i, a = s.operator, u = s.source;
4461
4461
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4462
4462
  }), o;
@@ -4485,7 +4485,7 @@ var fr = function() {
4485
4485
  }, e.prototype._subscribe = function(t) {
4486
4486
  var r;
4487
4487
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4488
- }, e.prototype[Fo] = function() {
4488
+ }, e.prototype[Go] = function() {
4489
4489
  return this;
4490
4490
  }, e.prototype.pipe = function() {
4491
4491
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -4512,7 +4512,7 @@ function pr(e) {
4512
4512
  return (t = e != null ? e : No.Promise) !== null && t !== void 0 ? t : Promise;
4513
4513
  }
4514
4514
  function ko(e) {
4515
- return e && V(e.next) && V(e.error) && V(e.complete);
4515
+ return e && W(e.next) && W(e.error) && W(e.complete);
4516
4516
  }
4517
4517
  function Vo(e) {
4518
4518
  return e && e instanceof un || ko(e) && an(e);
@@ -4522,7 +4522,7 @@ var Xo = on(function(e) {
4522
4522
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4523
4523
  };
4524
4524
  }), ln = function(e) {
4525
- Me(t, e);
4525
+ Oe(t, e);
4526
4526
  function t() {
4527
4527
  var r = e.call(this) || this;
4528
4528
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -4535,7 +4535,7 @@ var Xo = on(function(e) {
4535
4535
  throw new Xo();
4536
4536
  }, t.prototype.next = function(r) {
4537
4537
  var n = this;
4538
- Ve(function() {
4538
+ Xe(function() {
4539
4539
  var i, o;
4540
4540
  if (n._throwIfClosed(), !n.isStopped) {
4541
4541
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
@@ -4558,7 +4558,7 @@ var Xo = on(function(e) {
4558
4558
  });
4559
4559
  }, t.prototype.error = function(r) {
4560
4560
  var n = this;
4561
- Ve(function() {
4561
+ Xe(function() {
4562
4562
  if (n._throwIfClosed(), !n.isStopped) {
4563
4563
  n.hasError = n.isStopped = !0, n.thrownError = r;
4564
4564
  for (var i = n.observers; i.length; )
@@ -4567,7 +4567,7 @@ var Xo = on(function(e) {
4567
4567
  });
4568
4568
  }, t.prototype.complete = function() {
4569
4569
  var r = this;
4570
- Ve(function() {
4570
+ Xe(function() {
4571
4571
  if (r._throwIfClosed(), !r.isStopped) {
4572
4572
  r.isStopped = !0;
4573
4573
  for (var n = r.observers; n.length; )
@@ -4589,7 +4589,7 @@ var Xo = on(function(e) {
4589
4589
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4590
4590
  }, t.prototype._innerSubscribe = function(r) {
4591
4591
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4592
- return o || s ? sn : (this.currentObservers = null, a.push(r), new it(function() {
4592
+ return o || s ? sn : (this.currentObservers = null, a.push(r), new ot(function() {
4593
4593
  n.currentObservers = null, Ct(a, r);
4594
4594
  }));
4595
4595
  }, t.prototype._checkFinalizedStatuses = function(r) {
@@ -4602,7 +4602,7 @@ var Xo = on(function(e) {
4602
4602
  return new dr(r, n);
4603
4603
  }, t;
4604
4604
  }(fr), dr = function(e) {
4605
- Me(t, e);
4605
+ Oe(t, e);
4606
4606
  function t(r, n) {
4607
4607
  var i = e.call(this) || this;
4608
4608
  return i.destination = r, i.source = n, i;
@@ -4620,15 +4620,15 @@ var Xo = on(function(e) {
4620
4620
  var n, i;
4621
4621
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : sn;
4622
4622
  }, t;
4623
- }(ln), hn = {
4623
+ }(ln), cn = {
4624
4624
  now: function() {
4625
- return (hn.delegate || Date).now();
4625
+ return (cn.delegate || Date).now();
4626
4626
  },
4627
4627
  delegate: void 0
4628
4628
  }, Wo = function(e) {
4629
- Me(t, e);
4629
+ Oe(t, e);
4630
4630
  function t(r, n, i) {
4631
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hn);
4631
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = cn);
4632
4632
  var o = e.call(this) || this;
4633
4633
  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;
4634
4634
  }
@@ -4643,8 +4643,8 @@ var Xo = on(function(e) {
4643
4643
  }, t.prototype._trimBuffer = function() {
4644
4644
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4645
4645
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4646
- for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
4647
- l = h;
4646
+ for (var u = i.now(), l = 0, c = 1; c < o.length && o[c] <= u; c += 2)
4647
+ l = c;
4648
4648
  l && o.splice(0, l + 1);
4649
4649
  }
4650
4650
  }, t;
@@ -4656,13 +4656,13 @@ const mr = [], br = {}, zo = (e, t = 0) => {
4656
4656
  }
4657
4657
  return br[e];
4658
4658
  };
4659
- let At = "en-UK", Bt = "true", xe = 2, Ot = "";
4659
+ let At = "en-UK", Bt = "true", Te = 2, Ot = "";
4660
4660
  const Zo = (e, t, r, n) => {
4661
- At = e || "en-UK", Bt = t || "true", xe = +n || 2, Ot = r || "";
4662
- }, Ue = (e, t) => {
4661
+ At = e || "en-UK", Bt = t || "true", Te = +n || 2, Ot = r || "";
4662
+ }, Ge = (e, t) => {
4663
4663
  if (!Ot)
4664
- return new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Bt === "true" ? "symbol" : "code", maximumFractionDigits: xe, minimumFractionDigits: xe }).format(e);
4665
- const n = new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Bt === "true" ? "symbol" : "code", maximumFractionDigits: xe, minimumFractionDigits: xe }).formatToParts(e), i = n.find((u) => u.type === "currency"), s = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4664
+ return new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Bt === "true" ? "symbol" : "code", maximumFractionDigits: Te, minimumFractionDigits: Te }).format(e);
4665
+ const n = new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Bt === "true" ? "symbol" : "code", maximumFractionDigits: Te, minimumFractionDigits: Te }).formatToParts(e), i = n.find((u) => u.type === "currency"), s = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4666
4666
  return Ot === "before" ? `${i.value} ${s}` : `${s} ${i.value}`;
4667
4667
  };
4668
4668
  window.emWidgets = { topic: zo };
@@ -4867,9 +4867,9 @@ function yr(e, t) {
4867
4867
  qr(e, t);
4868
4868
  }
4869
4869
  function Qo(e) {
4870
- ho({
4870
+ co({
4871
4871
  fallbackLocale: "en"
4872
- }), q.set(e);
4872
+ }), te.set(e);
4873
4873
  }
4874
4874
  const vr = {
4875
4875
  en: {
@@ -4904,13 +4904,13 @@ const vr = {
4904
4904
  }
4905
4905
  };
4906
4906
  function qo(e) {
4907
- _n(e, "svelte-pikg1s", '*,*::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{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));width:50px;height:220px;z-index:20;display:flex}.NavigationArrow svg{align-self:center}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-around;align-items:center;overflow:hidden}.Carousel{display:flex;gap:10px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #F9C405);height:10px;width:10px;opacity:0.5}.VisualDotIndicator .Dot.active{opacity:1;width:30px}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:36px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #F9C405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4907
+ _n(e, "svelte-7crrr6", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4908
4908
  }
4909
4909
  function _r(e, t, r) {
4910
4910
  const n = e.slice();
4911
4911
  return n[36] = t[r], n[38] = r, n;
4912
4912
  }
4913
- function Er(e, t, r) {
4913
+ function xr(e, t, r) {
4914
4914
  const n = e.slice();
4915
4915
  return n[39] = t[r], n[38] = r, n;
4916
4916
  }
@@ -4921,18 +4921,18 @@ function es(e) {
4921
4921
  ), n;
4922
4922
  return {
4923
4923
  c() {
4924
- t = T("p"), n = I(r), C(t, "class", "NoFavoritePaymentMethods");
4924
+ t = S("p"), n = G(r), H(t, "class", "NoFavoritePaymentMethods");
4925
4925
  },
4926
4926
  m(i, o) {
4927
- G(i, t, o), E(t, n);
4927
+ k(i, t, o), _(t, n);
4928
4928
  },
4929
4929
  p(i, o) {
4930
4930
  o[0] & /*$_*/
4931
4931
  16 && r !== (r = /*$_*/
4932
- i[4]("noFavoritePaymentMethods") + "") && k(n, r);
4932
+ i[4]("noFavoritePaymentMethods") + "") && X(n, r);
4933
4933
  },
4934
4934
  d(i) {
4935
- i && L(t);
4935
+ i && I(t);
4936
4936
  }
4937
4937
  };
4938
4938
  }
@@ -4943,36 +4943,36 @@ function ts(e) {
4943
4943
  ), n, i, o, s = !gr(
4944
4944
  /*userAgent*/
4945
4945
  e[5]
4946
- ), a, u, l, h, c = r && rs(e), p = Re(
4946
+ ), a, u, l, c, h = r && rs(e), p = $e(
4947
4947
  /*promotedPaymentMethods*/
4948
4948
  e[2]
4949
- ), b = [];
4949
+ ), m = [];
4950
4950
  for (let g = 0; g < p.length; g += 1)
4951
- b[g] = xr(Er(e, p, g));
4952
- let d = s && ns(e), f = Re(Array(
4951
+ m[g] = Er(xr(e, p, g));
4952
+ let d = s && ns(e), f = $e(Array(
4953
4953
  /*promotedPaymentMethods*/
4954
4954
  e[2].length
4955
- )), v = [];
4955
+ )), y = [];
4956
4956
  for (let g = 0; g < f.length; g += 1)
4957
- v[g] = wr(_r(e, f, g));
4957
+ y[g] = wr(_r(e, f, g));
4958
4958
  return {
4959
4959
  c() {
4960
- t = T("div"), c && c.c(), n = D(), i = T("div");
4961
- for (let g = 0; g < b.length; g += 1)
4962
- b[g].c();
4963
- o = D(), d && d.c(), a = D(), u = T("div");
4964
- for (let g = 0; g < v.length; g += 1)
4965
- v[g].c();
4966
- C(i, "class", "Carousel"), C(t, "class", "CarouselCardsContainer"), C(u, "class", "VisualDotIndicator");
4960
+ t = S("div"), h && h.c(), n = D(), i = S("div");
4961
+ for (let g = 0; g < m.length; g += 1)
4962
+ m[g].c();
4963
+ o = D(), d && d.c(), a = D(), u = S("div");
4964
+ for (let g = 0; g < y.length; g += 1)
4965
+ y[g].c();
4966
+ H(i, "class", "Carousel"), H(t, "class", "CarouselCardsContainer"), H(u, "class", "VisualDotIndicator");
4967
4967
  },
4968
- m(g, _) {
4969
- G(g, t, _), c && c.m(t, null), E(t, n), E(t, i);
4970
- for (let m = 0; m < b.length; m += 1)
4971
- b[m] && b[m].m(i, null);
4972
- e[22](i), E(t, o), d && d.m(t, null), G(g, a, _), G(g, u, _);
4973
- for (let m = 0; m < v.length; m += 1)
4974
- v[m] && v[m].m(u, null);
4975
- l || (h = [
4968
+ m(g, x) {
4969
+ k(g, t, x), h && h.m(t, null), _(t, n), _(t, i);
4970
+ for (let b = 0; b < m.length; b += 1)
4971
+ m[b] && m[b].m(i, null);
4972
+ e[22](i), _(t, o), d && d.m(t, null), k(g, a, x), k(g, u, x);
4973
+ for (let b = 0; b < y.length; b += 1)
4974
+ y[b] && y[b].m(u, null);
4975
+ l || (c = [
4976
4976
  Y(
4977
4977
  i,
4978
4978
  "touchstart",
@@ -4993,40 +4993,40 @@ function ts(e) {
4993
4993
  )
4994
4994
  ], l = !0);
4995
4995
  },
4996
- p(g, _) {
4997
- if (r && c.p(g, _), _[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4996
+ p(g, x) {
4997
+ if (r && h.p(g, x), x[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4998
4998
  92) {
4999
- p = Re(
4999
+ p = $e(
5000
5000
  /*promotedPaymentMethods*/
5001
5001
  g[2]
5002
5002
  );
5003
- let m;
5004
- for (m = 0; m < p.length; m += 1) {
5005
- const H = Er(g, p, m);
5006
- b[m] ? b[m].p(H, _) : (b[m] = xr(H), b[m].c(), b[m].m(i, null));
5003
+ let b;
5004
+ for (b = 0; b < p.length; b += 1) {
5005
+ const T = xr(g, p, b);
5006
+ m[b] ? m[b].p(T, x) : (m[b] = Er(T), m[b].c(), m[b].m(i, null));
5007
5007
  }
5008
- for (; m < b.length; m += 1)
5009
- b[m].d(1);
5010
- b.length = p.length;
5008
+ for (; b < m.length; b += 1)
5009
+ m[b].d(1);
5010
+ m.length = p.length;
5011
5011
  }
5012
- if (s && d.p(g, _), _[0] & /*activeIndex, promotedPaymentMethods*/
5012
+ if (s && d.p(g, x), x[0] & /*activeIndex, promotedPaymentMethods*/
5013
5013
  12) {
5014
- f = Re(Array(
5014
+ f = $e(Array(
5015
5015
  /*promotedPaymentMethods*/
5016
5016
  g[2].length
5017
5017
  ));
5018
- let m;
5019
- for (m = 0; m < f.length; m += 1) {
5020
- const H = _r(g, f, m);
5021
- v[m] ? v[m].p(H, _) : (v[m] = wr(H), v[m].c(), v[m].m(u, null));
5018
+ let b;
5019
+ for (b = 0; b < f.length; b += 1) {
5020
+ const T = _r(g, f, b);
5021
+ y[b] ? y[b].p(T, x) : (y[b] = wr(T), y[b].c(), y[b].m(u, null));
5022
5022
  }
5023
- for (; m < v.length; m += 1)
5024
- v[m].d(1);
5025
- v.length = f.length;
5023
+ for (; b < y.length; b += 1)
5024
+ y[b].d(1);
5025
+ y.length = f.length;
5026
5026
  }
5027
5027
  },
5028
5028
  d(g) {
5029
- g && (L(t), L(a), L(u)), c && c.d(), Zt(b, g), e[22](null), d && d.d(), Zt(v, g), l = !1, X(h);
5029
+ g && (I(t), I(a), I(u)), h && h.d(), Zt(m, g), e[22](null), d && d.d(), Zt(y, g), l = !1, z(c);
5030
5030
  }
5031
5031
  };
5032
5032
  }
@@ -5034,10 +5034,10 @@ function rs(e) {
5034
5034
  let t, r, n;
5035
5035
  return {
5036
5036
  c() {
5037
- t = T("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z" fill="white" fill-opacity="0.6"></path></svg>', C(t, "class", "NavigationArrow");
5037
+ t = S("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>', H(t, "class", "NavigationArrow Left");
5038
5038
  },
5039
5039
  m(i, o) {
5040
- G(i, t, o), r || (n = Y(
5040
+ k(i, t, o), r || (n = Y(
5041
5041
  t,
5042
5042
  "click",
5043
5043
  /*click_handler*/
@@ -5046,37 +5046,37 @@ function rs(e) {
5046
5046
  },
5047
5047
  p: B,
5048
5048
  d(i) {
5049
- i && L(t), r = !1, n();
5049
+ i && I(t), r = !1, n();
5050
5050
  }
5051
5051
  };
5052
5052
  }
5053
- function xr(e) {
5054
- let t, r, n, i, o, s, a, u, l, h = (
5053
+ function Er(e) {
5054
+ let t, r, n, i, o, s, a, u, l, c = (
5055
5055
  /*method*/
5056
5056
  (e[39].Label || /*method*/
5057
5057
  e[39].Name) + ""
5058
- ), c, p, b, d, f = (
5058
+ ), h, p, m, d, f = (
5059
5059
  /*$_*/
5060
5060
  e[4](`${/*method*/
5061
5061
  e[39].ProcessingTime}`) + ""
5062
- ), v, g, _, m, H = (
5062
+ ), y, g, x, b, T, M = (
5063
5063
  /*$_*/
5064
5064
  e[4]("generalMin") + ""
5065
- ), A, R, j = Ue(
5065
+ ), R, K, Q = Ge(
5066
5066
  /*method*/
5067
5067
  e[39].DisplayCurrency.MinAmountLimit,
5068
5068
  /*method*/
5069
5069
  e[39].DisplayCurrency.Name
5070
- ) + "", ee, W, te = (
5070
+ ) + "", V, Le, q, re = (
5071
5071
  /*$_*/
5072
5072
  e[4]("generalMax") + ""
5073
- ), ge, Ae, re = Ue(
5073
+ ), ve, ne, ie = Ge(
5074
5074
  /*method*/
5075
5075
  e[39].DisplayCurrency.MaxAmountLimit,
5076
5076
  /*method*/
5077
5077
  e[39].DisplayCurrency.Name
5078
- ) + "", K, Be, ne, ye, Oe;
5079
- function ot() {
5078
+ ) + "", _e, Ne, oe, xe, v;
5079
+ function A() {
5080
5080
  return (
5081
5081
  /*click_handler_1*/
5082
5082
  e[21](
@@ -5089,49 +5089,49 @@ function xr(e) {
5089
5089
  }
5090
5090
  return {
5091
5091
  c() {
5092
- t = T("div"), r = T("div"), n = T("img"), s = D(), a = T("div"), u = T("div"), l = T("span"), c = I(h), p = D(), b = T("div"), d = T("span"), v = I(f), g = D(), _ = T("div"), m = T("span"), A = I(H), R = D(), ee = I(j), W = I(" / "), ge = I(te), Ae = D(), K = I(re), Be = D(), zt(n.src, i = /*method*/
5093
- e[39].LogoUrl) || C(n, "src", i), C(n, "alt", o = /*method*/
5094
- e[39].Label), C(r, "class", "MethodLogo"), C(u, "class", "MethodTitle"), C(b, "class", "MethodProcessingTime"), C(m, "class", "Limits"), C(_, "class", "MethodLimits"), C(a, "class", "MethodInfo"), C(t, "class", ne = `CarouselCardWrapper ${/*index*/
5092
+ t = S("div"), r = S("div"), n = S("img"), s = D(), a = S("div"), u = S("div"), l = S("span"), h = G(c), p = D(), m = S("div"), d = S("span"), y = G(f), g = D(), x = S("div"), b = S("span"), T = S("span"), R = G(M), K = D(), V = G(Q), Le = D(), q = S("span"), ve = G(re), ne = D(), _e = G(ie), Ne = D(), zt(n.src, i = /*method*/
5093
+ e[39].LogoUrl) || H(n, "src", i), H(n, "alt", o = /*method*/
5094
+ e[39].Label), H(r, "class", "MethodLogo"), H(u, "class", "MethodTitle"), H(m, "class", "MethodProcessingTime"), H(b, "class", "Limits"), H(x, "class", "MethodLimits"), H(a, "class", "MethodInfo"), H(t, "class", oe = `CarouselCardWrapper ${/*index*/
5095
5095
  e[38] === /*activeIndex*/
5096
5096
  e[3] ? "active" : ""}`);
5097
5097
  },
5098
- m(y, S) {
5099
- G(y, t, S), E(t, r), E(r, n), E(t, s), E(t, a), E(a, u), E(u, l), E(l, c), E(a, p), E(a, b), E(b, d), E(d, v), E(a, g), E(a, _), E(_, m), E(m, A), E(m, R), E(m, ee), E(m, W), E(m, ge), E(m, Ae), E(m, K), E(t, Be), ye || (Oe = Y(t, "click", ot), ye = !0);
5098
+ m(N, O) {
5099
+ k(N, t, O), _(t, r), _(r, n), _(t, s), _(t, a), _(a, u), _(u, l), _(l, h), _(a, p), _(a, m), _(m, d), _(d, y), _(a, g), _(a, x), _(x, b), _(b, T), _(T, R), _(T, K), _(T, V), _(b, Le), _(b, q), _(q, ve), _(q, ne), _(q, _e), _(t, Ne), xe || (v = Y(t, "click", A), xe = !0);
5100
5100
  },
5101
- p(y, S) {
5102
- e = y, S[0] & /*promotedPaymentMethods*/
5101
+ p(N, O) {
5102
+ e = N, O[0] & /*promotedPaymentMethods*/
5103
5103
  4 && !zt(n.src, i = /*method*/
5104
- e[39].LogoUrl) && C(n, "src", i), S[0] & /*promotedPaymentMethods*/
5104
+ e[39].LogoUrl) && H(n, "src", i), O[0] & /*promotedPaymentMethods*/
5105
5105
  4 && o !== (o = /*method*/
5106
- e[39].Label) && C(n, "alt", o), S[0] & /*promotedPaymentMethods*/
5107
- 4 && h !== (h = /*method*/
5106
+ e[39].Label) && H(n, "alt", o), O[0] & /*promotedPaymentMethods*/
5107
+ 4 && c !== (c = /*method*/
5108
5108
  (e[39].Label || /*method*/
5109
- e[39].Name) + "") && k(c, h), S[0] & /*$_, promotedPaymentMethods*/
5109
+ e[39].Name) + "") && X(h, c), O[0] & /*$_, promotedPaymentMethods*/
5110
5110
  20 && f !== (f = /*$_*/
5111
5111
  e[4](`${/*method*/
5112
- e[39].ProcessingTime}`) + "") && k(v, f), S[0] & /*$_*/
5113
- 16 && H !== (H = /*$_*/
5114
- e[4]("generalMin") + "") && k(A, H), S[0] & /*promotedPaymentMethods*/
5115
- 4 && j !== (j = Ue(
5112
+ e[39].ProcessingTime}`) + "") && X(y, f), O[0] & /*$_*/
5113
+ 16 && M !== (M = /*$_*/
5114
+ e[4]("generalMin") + "") && X(R, M), O[0] & /*promotedPaymentMethods*/
5115
+ 4 && Q !== (Q = Ge(
5116
5116
  /*method*/
5117
5117
  e[39].DisplayCurrency.MinAmountLimit,
5118
5118
  /*method*/
5119
5119
  e[39].DisplayCurrency.Name
5120
- ) + "") && k(ee, j), S[0] & /*$_*/
5121
- 16 && te !== (te = /*$_*/
5122
- e[4]("generalMax") + "") && k(ge, te), S[0] & /*promotedPaymentMethods*/
5123
- 4 && re !== (re = Ue(
5120
+ ) + "") && X(V, Q), O[0] & /*$_*/
5121
+ 16 && re !== (re = /*$_*/
5122
+ e[4]("generalMax") + "") && X(ve, re), O[0] & /*promotedPaymentMethods*/
5123
+ 4 && ie !== (ie = Ge(
5124
5124
  /*method*/
5125
5125
  e[39].DisplayCurrency.MaxAmountLimit,
5126
5126
  /*method*/
5127
5127
  e[39].DisplayCurrency.Name
5128
- ) + "") && k(K, re), S[0] & /*activeIndex*/
5129
- 8 && ne !== (ne = `CarouselCardWrapper ${/*index*/
5128
+ ) + "") && X(_e, ie), O[0] & /*activeIndex*/
5129
+ 8 && oe !== (oe = `CarouselCardWrapper ${/*index*/
5130
5130
  e[38] === /*activeIndex*/
5131
- e[3] ? "active" : ""}`) && C(t, "class", ne);
5131
+ e[3] ? "active" : ""}`) && H(t, "class", oe);
5132
5132
  },
5133
- d(y) {
5134
- y && L(t), ye = !1, Oe();
5133
+ d(N) {
5134
+ N && I(t), xe = !1, v();
5135
5135
  }
5136
5136
  };
5137
5137
  }
@@ -5139,10 +5139,10 @@ function ns(e) {
5139
5139
  let t, r, n;
5140
5140
  return {
5141
5141
  c() {
5142
- t = T("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z" fill="white" fill-opacity="0.6"></path></svg>', C(t, "class", "NavigationArrow");
5142
+ t = S("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>', H(t, "class", "NavigationArrow Right");
5143
5143
  },
5144
5144
  m(i, o) {
5145
- G(i, t, o), r || (n = Y(
5145
+ k(i, t, o), r || (n = Y(
5146
5146
  t,
5147
5147
  "click",
5148
5148
  /*click_handler_2*/
@@ -5151,7 +5151,7 @@ function ns(e) {
5151
5151
  },
5152
5152
  p: B,
5153
5153
  d(i) {
5154
- i && L(t), r = !1, n();
5154
+ i && I(t), r = !1, n();
5155
5155
  }
5156
5156
  };
5157
5157
  }
@@ -5159,21 +5159,21 @@ function wr(e) {
5159
5159
  let t, r;
5160
5160
  return {
5161
5161
  c() {
5162
- t = T("div"), C(t, "class", r = `Dot ${/*index*/
5162
+ t = S("div"), H(t, "class", r = `Dot ${/*index*/
5163
5163
  e[38] === /*activeIndex*/
5164
5164
  e[3] ? "active" : ""}`);
5165
5165
  },
5166
5166
  m(n, i) {
5167
- G(n, t, i);
5167
+ k(n, t, i);
5168
5168
  },
5169
5169
  p(n, i) {
5170
5170
  i[0] & /*activeIndex*/
5171
5171
  8 && r !== (r = `Dot ${/*index*/
5172
5172
  n[38] === /*activeIndex*/
5173
- n[3] ? "active" : ""}`) && C(t, "class", r);
5173
+ n[3] ? "active" : ""}`) && H(t, "class", r);
5174
5174
  },
5175
5175
  d(n) {
5176
- n && L(t);
5176
+ n && I(t);
5177
5177
  }
5178
5178
  };
5179
5179
  }
@@ -5184,142 +5184,142 @@ function is(e) {
5184
5184
  ), s, a, u, l = (
5185
5185
  /*$_*/
5186
5186
  e[4]("carouselSubtitle") + ""
5187
- ), h, c;
5188
- function p(f, v) {
5187
+ ), c, h;
5188
+ function p(f, y) {
5189
5189
  return (
5190
5190
  /*promotedPaymentMethods*/
5191
5191
  f[2].length > 0 ? ts : es
5192
5192
  );
5193
5193
  }
5194
- let b = p(e), d = b(e);
5194
+ let m = p(e), d = m(e);
5195
5195
  return {
5196
5196
  c() {
5197
- t = T("div"), r = T("div"), n = T("div"), i = T("h4"), s = I(o), a = D(), u = T("p"), h = I(l), c = D(), d.c(), C(n, "class", "CarouselHeader"), C(r, "class", "CashierCarouselWarpper");
5197
+ t = S("div"), r = S("div"), n = S("div"), i = S("h4"), s = G(o), a = D(), u = S("p"), c = G(l), h = D(), d.c(), H(n, "class", "CarouselHeader"), H(r, "class", "CashierCarouselWarpper");
5198
5198
  },
5199
- m(f, v) {
5200
- G(f, t, v), E(t, r), E(r, n), E(n, i), E(i, s), E(n, a), E(n, u), E(u, h), E(r, c), d.m(r, null), e[24](t);
5199
+ m(f, y) {
5200
+ k(f, t, y), _(t, r), _(r, n), _(n, i), _(i, s), _(n, a), _(n, u), _(u, c), _(r, h), d.m(r, null), e[24](t);
5201
5201
  },
5202
- p(f, v) {
5203
- v[0] & /*$_*/
5202
+ p(f, y) {
5203
+ y[0] & /*$_*/
5204
5204
  16 && o !== (o = /*$_*/
5205
- f[4]("carouselTitle") + "") && k(s, o), v[0] & /*$_*/
5205
+ f[4]("carouselTitle") + "") && X(s, o), y[0] & /*$_*/
5206
5206
  16 && l !== (l = /*$_*/
5207
- f[4]("carouselSubtitle") + "") && k(h, l), b === (b = p(f)) && d ? d.p(f, v) : (d.d(1), d = b(f), d && (d.c(), d.m(r, null)));
5207
+ f[4]("carouselSubtitle") + "") && X(c, l), m === (m = p(f)) && d ? d.p(f, y) : (d.d(1), d = m(f), d && (d.c(), d.m(r, null)));
5208
5208
  },
5209
5209
  i: B,
5210
5210
  o: B,
5211
5211
  d(f) {
5212
- f && L(t), d.d(), e[24](null);
5212
+ f && I(t), d.d(), e[24](null);
5213
5213
  }
5214
5214
  };
5215
5215
  }
5216
5216
  function os(e, t, r) {
5217
5217
  let n;
5218
- vn(e, Lo, (y) => r(4, n = y));
5219
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c = "" } = t, { translationurl: p = "" } = t, b, d = [], f = 0, v = !0, g = 0, _ = !1, m, H = window.navigator.userAgent;
5220
- const A = (y) => {
5221
- y.data && y.data.type === "PromotedPaymentMethods" && (r(2, d = y.data.promotedPaymentMethods), r(3, f = Math.floor((d.length - 1) / 2)));
5218
+ vn(e, Lo, (v) => r(4, n = v));
5219
+ let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h = "" } = t, { translationurl: p = "" } = t, m, d = [], f = 0, y = !0, g = 0, x = !1, b, T = window.navigator.userAgent;
5220
+ const M = (v) => {
5221
+ v.data && v.data.type === "PromotedPaymentMethods" && (r(2, d = v.data.promotedPaymentMethods), r(3, f = Math.floor((d.length - 1) / 2)));
5222
5222
  };
5223
- Object.keys(vr).forEach((y) => {
5224
- yr(y, vr[y]);
5223
+ Object.keys(vr).forEach((v) => {
5224
+ yr(v, vr[v]);
5225
5225
  });
5226
5226
  const R = () => {
5227
- let y = p;
5228
- if (y)
5229
- return fetch(y).then((S) => S.json()).then((S) => {
5230
- Object.keys(S).forEach((z) => {
5231
- yr(z, S[z]);
5227
+ let v = p;
5228
+ if (v)
5229
+ return fetch(v).then((A) => A.json()).then((A) => {
5230
+ Object.keys(A).forEach((N) => {
5231
+ yr(N, A[N]);
5232
5232
  });
5233
- }).catch((S) => {
5234
- console.log(S);
5233
+ }).catch((A) => {
5234
+ console.log(A);
5235
5235
  });
5236
- }, j = () => {
5236
+ }, K = () => {
5237
5237
  Qo(i);
5238
- }, ee = (y, S) => {
5239
- r(3, f = S), r(1, m.style.transform = W(), m), y.Name, window.postMessage({ type: "SelectPayMeth", details: y }, window.location.href), dispatchEvent(new CustomEvent(
5238
+ }, Q = (v, A) => {
5239
+ r(3, f = A), r(1, b.style.transform = V(), b), v.Name, window.postMessage({ type: "SelectPayMeth", details: v }, window.location.href), dispatchEvent(new CustomEvent(
5240
5240
  "selectPayMeth",
5241
5241
  {
5242
- detail: y,
5242
+ detail: v,
5243
5243
  bubbles: !0,
5244
5244
  cancelable: !0,
5245
5245
  composed: !0
5246
5246
  }
5247
5247
  ));
5248
- }, W = () => {
5249
- let Le;
5250
- return d.length % 2 === 1 ? Le = Math.floor(d.length / 2) : Le = d.length / 2 - 0.5, `translateX(${(Le - f) * 165}px)`;
5251
- }, te = (y) => {
5252
- g = y.touches[0].clientX, _ = !0, m.classList.add("dragging");
5253
- }, ge = (y) => {
5254
- if (!_)
5248
+ }, V = () => {
5249
+ let O;
5250
+ return d.length % 2 === 1 ? O = Math.floor(d.length / 2) : O = d.length / 2 - 0.5, `translateX(${(O - f) * 165}px)`;
5251
+ }, Le = (v) => {
5252
+ g = v.touches[0].clientX, x = !0, b.classList.add("dragging");
5253
+ }, q = (v) => {
5254
+ if (!x)
5255
5255
  return;
5256
- const S = y.touches[0].clientX;
5257
- Math.abs(S - g) > 10 && y.preventDefault();
5258
- }, Ae = (y) => {
5259
- if (!_)
5256
+ const A = v.touches[0].clientX;
5257
+ Math.abs(A - g) > 10 && v.preventDefault();
5258
+ }, re = (v) => {
5259
+ if (!x)
5260
5260
  return;
5261
- _ = !1, m.classList.remove("dragging");
5262
- const S = y.changedTouches[0].clientX, z = g - S;
5263
- Math.abs(z) > 50 && (z > 0 && f < d.length - 1 ? r(3, f++, f) : z < 0 && f > 0 && r(3, f--, f), r(1, m.style.transform = W(), m));
5264
- }, re = () => {
5265
- v && (r(1, m.style.transform = W(), m), v = !1);
5266
- }, K = (y) => {
5267
- y === "next" && f < d.length - 1 ? r(3, f++, f) : y === "prev" && f > 0 && r(3, f--, f), r(1, m.style.transform = W(), m);
5261
+ x = !1, b.classList.remove("dragging");
5262
+ const A = v.changedTouches[0].clientX, N = g - A;
5263
+ Math.abs(N) > 50 && (N > 0 && f < d.length - 1 ? r(3, f++, f) : N < 0 && f > 0 && r(3, f--, f), r(1, b.style.transform = V(), b));
5264
+ }, ve = () => {
5265
+ y && (r(1, b.style.transform = V(), b), y = !1);
5266
+ }, ne = (v) => {
5267
+ v === "next" && f < d.length - 1 ? r(3, f++, f) : v === "prev" && f > 0 && r(3, f--, f), r(1, b.style.transform = V(), b);
5268
5268
  };
5269
- Mn(() => (Zo(o, s, a, u), window.addEventListener("message", A), m && W(), () => {
5270
- window.removeEventListener("message", A);
5269
+ Mn(() => (Zo(o, s, a, u), window.addEventListener("message", M), b && V(), () => {
5270
+ window.removeEventListener("message", M);
5271
5271
  }));
5272
- const Be = () => K("prev"), ne = (y, S) => ee(y, S);
5273
- function ye(y) {
5274
- Ye[y ? "unshift" : "push"](() => {
5275
- m = y, r(1, m);
5272
+ const ie = () => ne("prev"), _e = (v, A) => Q(v, A);
5273
+ function Ne(v) {
5274
+ Je[v ? "unshift" : "push"](() => {
5275
+ b = v, r(1, b);
5276
5276
  });
5277
5277
  }
5278
- const Oe = () => K("next");
5279
- function ot(y) {
5280
- Ye[y ? "unshift" : "push"](() => {
5281
- b = y, r(0, b);
5278
+ const oe = () => ne("next");
5279
+ function xe(v) {
5280
+ Je[v ? "unshift" : "push"](() => {
5281
+ m = v, r(0, m);
5282
5282
  });
5283
5283
  }
5284
- return e.$$set = (y) => {
5285
- "lang" in y && r(11, i = y.lang), "local" in y && r(12, o = y.local), "currencysymbol" in y && r(13, s = y.currencysymbol), "currencyposition" in y && r(14, a = y.currencyposition), "currencydecimals" in y && r(15, u = y.currencydecimals), "clientstyling" in y && r(16, l = y.clientstyling), "clientstylingurl" in y && r(17, h = y.clientstylingurl), "mbsource" in y && r(18, c = y.mbsource), "translationurl" in y && r(19, p = y.translationurl);
5284
+ return e.$$set = (v) => {
5285
+ "lang" in v && r(11, i = v.lang), "local" in v && r(12, o = v.local), "currencysymbol" in v && r(13, s = v.currencysymbol), "currencyposition" in v && r(14, a = v.currencyposition), "currencydecimals" in v && r(15, u = v.currencydecimals), "clientstyling" in v && r(16, l = v.clientstyling), "clientstylingurl" in v && r(17, c = v.clientstylingurl), "mbsource" in v && r(18, h = v.mbsource), "translationurl" in v && r(19, p = v.translationurl);
5286
5286
  }, e.$$.update = () => {
5287
5287
  e.$$.dirty[0] & /*lang*/
5288
- 2048 && i && j(), e.$$.dirty[0] & /*lang, translationurl*/
5288
+ 2048 && i && K(), e.$$.dirty[0] & /*lang, translationurl*/
5289
5289
  526336 && i && p && R(), e.$$.dirty[0] & /*carouselContainer*/
5290
- 2 && m && re(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5291
- 65537 && l && b && Yo(b, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5292
- 131073 && h && b && Jo(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5293
- 262145 && c && b && Ko(b, `${c}.Style`);
5290
+ 2 && b && ve(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5291
+ 65537 && l && m && Yo(m, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5292
+ 131073 && c && m && Jo(m, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5293
+ 262145 && h && m && Ko(m, `${h}.Style`);
5294
5294
  }, [
5295
- b,
5296
5295
  m,
5296
+ b,
5297
5297
  d,
5298
5298
  f,
5299
5299
  n,
5300
- H,
5301
- ee,
5302
- te,
5303
- ge,
5304
- Ae,
5305
- K,
5300
+ T,
5301
+ Q,
5302
+ Le,
5303
+ q,
5304
+ re,
5305
+ ne,
5306
5306
  i,
5307
5307
  o,
5308
5308
  s,
5309
5309
  a,
5310
5310
  u,
5311
5311
  l,
5312
- h,
5313
5312
  c,
5313
+ h,
5314
5314
  p,
5315
- Be,
5316
- ne,
5317
- ye,
5318
- Oe,
5319
- ot
5315
+ ie,
5316
+ _e,
5317
+ Ne,
5318
+ oe,
5319
+ xe
5320
5320
  ];
5321
5321
  }
5322
- class cn extends Fn {
5322
+ class hn extends Gn {
5323
5323
  constructor(t) {
5324
5324
  super(), Dn(
5325
5325
  this,
@@ -5346,64 +5346,64 @@ class cn extends Fn {
5346
5346
  return this.$$.ctx[11];
5347
5347
  }
5348
5348
  set lang(t) {
5349
- this.$$set({ lang: t }), $();
5349
+ this.$$set({ lang: t }), U();
5350
5350
  }
5351
5351
  get local() {
5352
5352
  return this.$$.ctx[12];
5353
5353
  }
5354
5354
  set local(t) {
5355
- this.$$set({ local: t }), $();
5355
+ this.$$set({ local: t }), U();
5356
5356
  }
5357
5357
  get currencysymbol() {
5358
5358
  return this.$$.ctx[13];
5359
5359
  }
5360
5360
  set currencysymbol(t) {
5361
- this.$$set({ currencysymbol: t }), $();
5361
+ this.$$set({ currencysymbol: t }), U();
5362
5362
  }
5363
5363
  get currencyposition() {
5364
5364
  return this.$$.ctx[14];
5365
5365
  }
5366
5366
  set currencyposition(t) {
5367
- this.$$set({ currencyposition: t }), $();
5367
+ this.$$set({ currencyposition: t }), U();
5368
5368
  }
5369
5369
  get currencydecimals() {
5370
5370
  return this.$$.ctx[15];
5371
5371
  }
5372
5372
  set currencydecimals(t) {
5373
- this.$$set({ currencydecimals: t }), $();
5373
+ this.$$set({ currencydecimals: t }), U();
5374
5374
  }
5375
5375
  get clientstyling() {
5376
5376
  return this.$$.ctx[16];
5377
5377
  }
5378
5378
  set clientstyling(t) {
5379
- this.$$set({ clientstyling: t }), $();
5379
+ this.$$set({ clientstyling: t }), U();
5380
5380
  }
5381
5381
  get clientstylingurl() {
5382
5382
  return this.$$.ctx[17];
5383
5383
  }
5384
5384
  set clientstylingurl(t) {
5385
- this.$$set({ clientstylingurl: t }), $();
5385
+ this.$$set({ clientstylingurl: t }), U();
5386
5386
  }
5387
5387
  get mbsource() {
5388
5388
  return this.$$.ctx[18];
5389
5389
  }
5390
5390
  set mbsource(t) {
5391
- this.$$set({ mbsource: t }), $();
5391
+ this.$$set({ mbsource: t }), U();
5392
5392
  }
5393
5393
  get translationurl() {
5394
5394
  return this.$$.ctx[19];
5395
5395
  }
5396
5396
  set translationurl(t) {
5397
- this.$$set({ translationurl: t }), $();
5397
+ this.$$set({ translationurl: t }), U();
5398
5398
  }
5399
5399
  }
5400
- Un(cn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5400
+ Un(hn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5401
5401
  const Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5402
5402
  __proto__: null,
5403
- default: cn
5403
+ default: hn
5404
5404
  }, Symbol.toStringTag, { value: "Module" }));
5405
5405
  export {
5406
- q as $,
5406
+ te as $,
5407
5407
  ys as A,
5408
5408
  Yo as B,
5409
5409
  Jo as C,
@@ -5411,33 +5411,33 @@ export {
5411
5411
  Un as E,
5412
5412
  Lo as F,
5413
5413
  B as G,
5414
- et as H,
5414
+ tt as H,
5415
5415
  kn as I,
5416
5416
  Bs as J,
5417
- le as K,
5417
+ he as K,
5418
5418
  ds as L,
5419
5419
  gr as M,
5420
5420
  Zo as N,
5421
5421
  vs as O,
5422
5422
  ms as P,
5423
- Ue as Q,
5424
- Re as R,
5425
- Fn as S,
5423
+ Ge as Q,
5424
+ $e as R,
5425
+ Gn as S,
5426
5426
  Zt as T,
5427
5427
  gs as U,
5428
- xs as V,
5429
- X as W,
5428
+ Es as V,
5429
+ z as W,
5430
5430
  _s as X,
5431
5431
  Os as Y,
5432
- Lt as Z,
5433
- Ss as _,
5432
+ Ss as Z,
5433
+ Ts as _,
5434
5434
  qr as a,
5435
- Ts as a0,
5436
- Ms as a1,
5437
- Es as a2,
5438
- ws as a3,
5435
+ xs as a0,
5436
+ Lt as a1,
5437
+ ws as a2,
5438
+ Ms as a3,
5439
5439
  Cs as a4,
5440
- Ps as a5,
5440
+ Hs as a5,
5441
5441
  ps as a6,
5442
5442
  Rn as a7,
5443
5443
  In as a8,
@@ -5446,26 +5446,26 @@ export {
5446
5446
  Dn as b,
5447
5447
  _n as c,
5448
5448
  ls as d,
5449
- L as e,
5450
- $ as f,
5449
+ I as e,
5450
+ U as f,
5451
5451
  Nn as g,
5452
5452
  fs as h,
5453
- ho as i,
5454
- hs as j,
5455
- G as k,
5456
- E as l,
5457
- T as m,
5453
+ co as i,
5454
+ cs as j,
5455
+ k,
5456
+ _ as l,
5457
+ S as m,
5458
5458
  D as n,
5459
- C as o,
5459
+ H as o,
5460
5460
  vn as p,
5461
5461
  Mn as q,
5462
5462
  bs as r,
5463
5463
  Tr as s,
5464
- Hs as t,
5465
- cs as u,
5466
- k as v,
5467
- I as w,
5464
+ Ps as t,
5465
+ hs as u,
5466
+ X as v,
5467
+ G as w,
5468
5468
  Y as x,
5469
- Ye as y,
5469
+ Je as y,
5470
5470
  zt as z
5471
5471
  };