@everymatrix/cashier-page-nd 1.69.100 → 1.69.101

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 (54) hide show
  1. package/components/{CashierCarousel-DI4ZiGUW.js → CashierCarousel-0-TUzFQ5.js} +1223 -1193
  2. package/components/{CashierCarousel-DPllBT4I.js → CashierCarousel-CRBCLPcB.js} +1330 -1300
  3. package/components/CashierCarousel-Cd1TzgE8.cjs +23 -0
  4. package/components/{CashierError-mZ4U2DYM.cjs → CashierError-BbxnJqdU.cjs} +1 -1
  5. package/components/{CashierError-CwNE0R9c.js → CashierError-D2nZjDUE.js} +1 -1
  6. package/components/{CashierError-D-g8_KGa.js → CashierError-DYOmnGqh.js} +1 -1
  7. package/components/{CashierHeader-C_lbS4fc.js → CashierHeader-B9IkEUQP.js} +1 -1
  8. package/components/{CashierHeader-CT57WdEJ.cjs → CashierHeader-BAQT942H.cjs} +1 -1
  9. package/components/{CashierHeader-BPzhydrl.js → CashierHeader-Dba455pk.js} +1 -1
  10. package/components/{CashierIframeRedirect-CeDqw2l3.js → CashierIframeRedirect-CFUgC0su.js} +3 -3
  11. package/components/{CashierIframeRedirect-DoYk-zh2.cjs → CashierIframeRedirect-D16g3FOL.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-DHenm_UM.js → CashierIframeRedirect-QwpR_0Td.js} +3 -3
  13. package/components/{CashierMethodDetails-CDTGfmz0.js → CashierMethodDetails-BqJQxCde.js} +652 -639
  14. package/components/{CashierMethodDetails-DpvWh3Qt.cjs → CashierMethodDetails-CjDvwD2R.cjs} +4 -4
  15. package/components/{CashierMethodDetails-W-tvCqe9.js → CashierMethodDetails-hDuUE2q1.js} +706 -693
  16. package/components/CashierMethodsList-B_dsEQAp.cjs +1 -0
  17. package/components/{CashierMethodsList-Dh1cfxlg.js → CashierMethodsList-CXVE5JbS.js} +4 -4
  18. package/components/{CashierMethodsList-BNtKeOEM.js → CashierMethodsList-CjbF2zaO.js} +21 -21
  19. package/components/{CashierModal-Ddp1MFMz.js → CashierModal-47vJ_rtl.js} +1 -1
  20. package/components/{CashierModal-B8hu-4OP.cjs → CashierModal-BTboXTha.cjs} +1 -1
  21. package/components/{CashierModal-B7h3rQ2M.js → CashierModal-ClFsEB_L.js} +1 -1
  22. package/components/{CashierNotifications-DmHIW3kg.js → CashierNotifications-BIvM0pFV.js} +1 -1
  23. package/components/{CashierNotifications-kcs8SAYe.js → CashierNotifications-CSffXV9M.js} +1 -1
  24. package/components/{CashierNotifications-DZLBPb30.cjs → CashierNotifications-TCeibGW7.cjs} +1 -1
  25. package/components/{CashierPage-BtGaFZiy.cjs → CashierPage-C3Jn3rg3.cjs} +1 -1
  26. package/components/{CashierPage-C-mlm4e0.js → CashierPage-CLbaf2Iz.js} +22 -11
  27. package/components/{CashierPage-3aLWC17J.js → CashierPage-rmaIxdRP.js} +22 -11
  28. package/components/{CashierReceiptPage-B9o-mt34.cjs → CashierReceiptPage-Bkrm1Xil.cjs} +2 -2
  29. package/components/{CashierReceiptPage-ByJb9tBQ.js → CashierReceiptPage-C2SGHVG7.js} +79 -78
  30. package/components/{CashierReceiptPage-B4BrTLth.js → CashierReceiptPage-_B7TyO5y.js} +82 -81
  31. package/components/{CashierSessionExpirationModal-ceh-lbPB.cjs → CashierSessionExpirationModal-BMKx8y51.cjs} +1 -1
  32. package/components/{CashierSessionExpirationModal-Y-SvF_eP.js → CashierSessionExpirationModal-Dagu84KY.js} +2 -2
  33. package/components/{CashierSessionExpirationModal-C4aPl-uX.js → CashierSessionExpirationModal-Dq1uRUyq.js} +2 -2
  34. package/components/{CashierSpinner-BxYscoQb.js → CashierSpinner-87PDkD7z.js} +1 -1
  35. package/components/{CashierSpinner-DllmzRdz.js → CashierSpinner-Crq-FOna.js} +1 -1
  36. package/components/{CashierSpinner-CZYefBCh.cjs → CashierSpinner-DxJ8w6Oz.cjs} +1 -1
  37. package/components/{CashierTransactionHistory-BhLqC-bi.cjs → CashierTransactionHistory-6Vlnfrwj.cjs} +1 -1
  38. package/components/{CashierTransactionHistory-nXM47V-w.js → CashierTransactionHistory-BRdVYnc4.js} +5 -5
  39. package/components/{CashierTransactionHistory-B30_Pb5v.js → CashierTransactionHistory-zVN56uVE.js} +5 -5
  40. package/components/{CashierVerifications-CA1yWsY-.js → CashierVerifications-CcweGxaW.js} +2 -2
  41. package/components/{CashierVerifications-BPtIEBVc.js → CashierVerifications-DgUWZR-h.js} +2 -2
  42. package/components/{CashierVerifications-eR8lz1E8.cjs → CashierVerifications-Dk2ymXv0.cjs} +1 -1
  43. package/components/{TxnStatusIcon-CoueyNg9.js → TxnStatusIcon-B6iUop70.js} +1 -1
  44. package/components/{TxnStatusIcon-Dnuid5-H.cjs → TxnStatusIcon-BhLc40xR.cjs} +1 -1
  45. package/components/{TxnStatusIcon-lYgITMVZ.js → TxnStatusIcon-DYZAMrI1.js} +1 -1
  46. package/components/{TxnTypeIcons-eeSaWVLc.cjs → TxnTypeIcons-DTmlDMr_.cjs} +1 -1
  47. package/components/{TxnTypeIcons-BjHhPdkp.js → TxnTypeIcons-DZP8LHlY.js} +1 -1
  48. package/components/{TxnTypeIcons-CIo2cKjj.js → TxnTypeIcons-Dbd2abfV.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-CLe2_81u.cjs +0 -23
  54. package/components/CashierMethodsList-Y2UxntHE.cjs +0 -1
@@ -1,7 +1,7 @@
1
- function B() {
1
+ function M() {
2
2
  }
3
- const Lt = (e) => e;
4
- function hn(e, t) {
3
+ const It = (e) => e;
4
+ function dn(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,50 +9,50 @@ function hn(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function xr(e) {
12
+ function Sr(e) {
13
13
  return e();
14
14
  }
15
- function kt() {
15
+ function Wt() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function k(e) {
19
- e.forEach(xr);
18
+ function W(e) {
19
+ e.forEach(Sr);
20
20
  }
21
21
  function de(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Er(e, t) {
24
+ function Tr(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let Ne;
28
- function Vt(e, t) {
29
- return e === t ? !0 : (Ne || (Ne = document.createElement("a")), Ne.href = t, e === Ne.href);
27
+ let Ie;
28
+ function Xt(e, t) {
29
+ return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
30
30
  }
31
- function fn(e) {
31
+ function mn(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function wr(e, ...t) {
34
+ function Hr(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
38
- return B;
38
+ return M;
39
39
  }
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function pn(e, t, r) {
44
- e.$$.on_destroy.push(wr(t, r));
43
+ function bn(e, t, r) {
44
+ e.$$.on_destroy.push(Hr(t, r));
45
45
  }
46
- function rs(e, t, r, n) {
46
+ function ns(e, t, r, n) {
47
47
  if (e) {
48
- const i = Sr(e, t, r, n);
48
+ const i = Pr(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Sr(e, t, r, n) {
53
- return e[1] && n ? hn(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function Pr(e, t, r, n) {
53
+ return e[1] && n ? dn(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function ns(e, t, r, n) {
55
+ function is(e, t, r, n) {
56
56
  if (e[2] && n) {
57
57
  const i = e[2](n(r));
58
58
  if (t.dirty === void 0)
@@ -67,13 +67,13 @@ function ns(e, t, r, n) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function is(e, t, r, n, i, o) {
70
+ function os(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const a = Sr(t, r, n, o);
72
+ const a = Pr(t, r, n, o);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function os(e) {
76
+ function ss(e) {
77
77
  if (e.ctx.length > 32) {
78
78
  const t = [], r = e.ctx.length / 32;
79
79
  for (let n = 0; n < r; n++)
@@ -82,20 +82,20 @@ function os(e) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- function ss(e) {
85
+ function as(e) {
86
86
  return e ?? "";
87
87
  }
88
- const Tr = typeof window < "u";
89
- let Nt = Tr ? () => window.performance.now() : () => Date.now(), It = Tr ? (e) => requestAnimationFrame(e) : B;
88
+ const Cr = typeof window < "u";
89
+ let Rt = Cr ? () => window.performance.now() : () => Date.now(), Dt = Cr ? (e) => requestAnimationFrame(e) : M;
90
90
  const ue = /* @__PURE__ */ new Set();
91
- function Pr(e) {
91
+ function Ar(e) {
92
92
  ue.forEach((t) => {
93
93
  t.c(e) || (ue.delete(t), t.f());
94
- }), ue.size !== 0 && It(Pr);
94
+ }), ue.size !== 0 && Dt(Ar);
95
95
  }
96
- function Rt(e) {
96
+ function $t(e) {
97
97
  let t;
98
- return ue.size === 0 && It(Pr), {
98
+ return ue.size === 0 && Dt(Ar), {
99
99
  promise: new Promise((r) => {
100
100
  ue.add(t = { c: e, f: r });
101
101
  }),
@@ -104,21 +104,21 @@ function Rt(e) {
104
104
  }
105
105
  };
106
106
  }
107
- const as = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
107
+ const us = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
108
108
  // @ts-ignore Node typings have this
109
109
  global
110
110
  );
111
- function E(e, t) {
111
+ function x(e, t) {
112
112
  e.appendChild(t);
113
113
  }
114
- function dn(e, t, r) {
115
- const n = $t(e);
114
+ function gn(e, t, r) {
115
+ const n = Ut(e);
116
116
  if (!n.getElementById(t)) {
117
- const i = T("style");
118
- i.id = t, i.textContent = r, Hr(n, i);
117
+ const i = H("style");
118
+ i.id = t, i.textContent = r, Mr(n, i);
119
119
  }
120
120
  }
121
- function $t(e) {
121
+ function Ut(e) {
122
122
  if (!e)
123
123
  return document;
124
124
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -128,40 +128,40 @@ function $t(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function mn(e) {
132
- const t = T("style");
133
- return t.textContent = "/* empty */", Hr($t(e), t), t.sheet;
131
+ function yn(e) {
132
+ const t = H("style");
133
+ return t.textContent = "/* empty */", Mr(Ut(e), t), t.sheet;
134
134
  }
135
- function Hr(e, t) {
136
- return E(
135
+ function Mr(e, t) {
136
+ return x(
137
137
  /** @type {Document} */
138
138
  e.head || e,
139
139
  t
140
140
  ), t.sheet;
141
141
  }
142
- function G(e, t, r) {
142
+ function j(e, t, r) {
143
143
  e.insertBefore(t, r || null);
144
144
  }
145
- function N(e) {
145
+ function L(e) {
146
146
  e.parentNode && e.parentNode.removeChild(e);
147
147
  }
148
- function Wt(e, t) {
148
+ function zt(e, t) {
149
149
  for (let r = 0; r < e.length; r += 1)
150
150
  e[r] && e[r].d(t);
151
151
  }
152
- function T(e) {
152
+ function H(e) {
153
153
  return document.createElement(e);
154
154
  }
155
- function us(e) {
155
+ function ls(e) {
156
156
  return document.createElementNS("http://www.w3.org/2000/svg", e);
157
157
  }
158
158
  function $(e) {
159
159
  return document.createTextNode(e);
160
160
  }
161
- function I() {
161
+ function R() {
162
162
  return $(" ");
163
163
  }
164
- function ls() {
164
+ function hs() {
165
165
  return $("");
166
166
  }
167
167
  function Z(e, t, r, n) {
@@ -172,46 +172,46 @@ function cs(e) {
172
172
  return t.preventDefault(), e.call(this, t);
173
173
  };
174
174
  }
175
- function M(e, t, r) {
175
+ function C(e, t, r) {
176
176
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
177
177
  }
178
- function hs(e, t, r) {
178
+ function fs(e, t, r) {
179
179
  const n = t.toLowerCase();
180
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : M(e, t, r);
180
+ 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);
181
181
  }
182
- function fs(e) {
182
+ function ps(e) {
183
183
  return e === "" ? null : +e;
184
184
  }
185
- function bn(e) {
185
+ function vn(e) {
186
186
  return Array.from(e.childNodes);
187
187
  }
188
- function F(e, t) {
188
+ function k(e, t) {
189
189
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
190
190
  t);
191
191
  }
192
- function ps(e, t) {
192
+ function ds(e, t) {
193
193
  e.value = t ?? "";
194
194
  }
195
- let Ie;
196
- function gn() {
197
- if (Ie === void 0) {
198
- Ie = !1;
195
+ let Re;
196
+ function _n() {
197
+ if (Re === void 0) {
198
+ Re = !1;
199
199
  try {
200
200
  typeof window < "u" && window.parent && window.parent.document;
201
201
  } catch {
202
- Ie = !0;
202
+ Re = !0;
203
203
  }
204
204
  }
205
- return Ie;
205
+ return Re;
206
206
  }
207
- function yn(e, t) {
207
+ function En(e, t) {
208
208
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
209
- const n = T("iframe");
209
+ const n = H("iframe");
210
210
  n.setAttribute(
211
211
  "style",
212
212
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
213
213
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
214
- const i = gn();
214
+ const i = _n();
215
215
  let o;
216
216
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Z(
217
217
  window,
@@ -222,17 +222,17 @@ function yn(e, t) {
222
222
  }
223
223
  )) : (n.src = "about:blank", n.onload = () => {
224
224
  o = Z(n.contentWindow, "resize", t), t();
225
- }), E(e, n), () => {
226
- (i || o && n.contentWindow) && o(), N(n);
225
+ }), x(e, n), () => {
226
+ (i || o && n.contentWindow) && o(), L(n);
227
227
  };
228
228
  }
229
- function ds(e, t, r) {
229
+ function ms(e, t, r) {
230
230
  e.classList.toggle(t, !!r);
231
231
  }
232
- function vn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
232
+ function xn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
233
233
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
234
234
  }
235
- function _n(e) {
235
+ function wn(e) {
236
236
  const t = {};
237
237
  return e.childNodes.forEach(
238
238
  /** @param {Element} node */
@@ -241,319 +241,319 @@ function _n(e) {
241
241
  }
242
242
  ), t;
243
243
  }
244
- const We = /* @__PURE__ */ new Map();
245
- let Xe = 0;
246
- function xn(e) {
244
+ const ze = /* @__PURE__ */ new Map();
245
+ let Ze = 0;
246
+ function Sn(e) {
247
247
  let t = 5381, r = e.length;
248
248
  for (; r--; )
249
249
  t = (t << 5) - t ^ e.charCodeAt(r);
250
250
  return t >>> 0;
251
251
  }
252
- function En(e, t) {
253
- const r = { stylesheet: mn(t), rules: {} };
254
- return We.set(e, r), r;
252
+ function Tn(e, t) {
253
+ const r = { stylesheet: yn(t), rules: {} };
254
+ return ze.set(e, r), r;
255
255
  }
256
- function ze(e, t, r, n, i, o, a, s = 0) {
256
+ function Ye(e, t, r, n, i, o, a, s = 0) {
257
257
  const l = 16.666 / n;
258
258
  let u = `{
259
259
  `;
260
- for (let _ = 0; _ <= 1; _ += l) {
261
- const x = t + (r - t) * o(_);
262
- u += _ * 100 + `%{${a(x, 1 - x)}}
260
+ for (let v = 0; v <= 1; v += l) {
261
+ const E = t + (r - t) * o(v);
262
+ u += v * 100 + `%{${a(E, 1 - E)}}
263
263
  `;
264
264
  }
265
- const c = u + `100% {${a(r, 1 - r)}}
266
- }`, f = `__svelte_${xn(c)}_${s}`, d = $t(e), { stylesheet: m, rules: h } = We.get(d) || En(d, e);
267
- h[f] || (h[f] = !0, m.insertRule(`@keyframes ${f} ${c}`, m.cssRules.length));
265
+ const h = u + `100% {${a(r, 1 - r)}}
266
+ }`, d = `__svelte_${Sn(h)}_${s}`, c = Ut(e), { stylesheet: g, rules: f } = ze.get(c) || Tn(c, e);
267
+ f[d] || (f[d] = !0, g.insertRule(`@keyframes ${d} ${h}`, g.cssRules.length));
268
268
  const p = e.style.animation || "";
269
- return e.style.animation = `${p ? `${p}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Xe += 1, f;
269
+ return e.style.animation = `${p ? `${p}, ` : ""}${d} ${n}ms linear ${i}ms 1 both`, Ze += 1, d;
270
270
  }
271
- function Ze(e, t) {
271
+ function Je(e, t) {
272
272
  const r = (e.style.animation || "").split(", "), n = r.filter(
273
273
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
274
274
  // remove all Svelte animations
275
275
  ), i = r.length - n.length;
276
- i && (e.style.animation = n.join(", "), Xe -= i, Xe || wn());
276
+ i && (e.style.animation = n.join(", "), Ze -= i, Ze || Hn());
277
277
  }
278
- function wn() {
279
- It(() => {
280
- Xe || (We.forEach((e) => {
278
+ function Hn() {
279
+ Dt(() => {
280
+ Ze || (ze.forEach((e) => {
281
281
  const { ownerNode: t } = e.stylesheet;
282
- t && N(t);
283
- }), We.clear());
282
+ t && L(t);
283
+ }), ze.clear());
284
284
  });
285
285
  }
286
- let Te;
287
- function Se(e) {
288
- Te = e;
286
+ let He;
287
+ function Te(e) {
288
+ He = e;
289
289
  }
290
- function Cr() {
291
- if (!Te)
290
+ function Br() {
291
+ if (!He)
292
292
  throw new Error("Function called outside component initialization");
293
- return Te;
293
+ return He;
294
294
  }
295
- function Sn(e) {
296
- Cr().$$.on_mount.push(e);
295
+ function Pn(e) {
296
+ Br().$$.on_mount.push(e);
297
297
  }
298
- function ms(e) {
299
- Cr().$$.on_destroy.push(e);
298
+ function bs(e) {
299
+ Br().$$.on_destroy.push(e);
300
300
  }
301
- const ae = [], Ye = [];
301
+ const ae = [], Ke = [];
302
302
  let le = [];
303
- const Xt = [], Tn = /* @__PURE__ */ Promise.resolve();
304
- let mt = !1;
305
- function Pn() {
306
- mt || (mt = !0, Tn.then(R));
303
+ const Zt = [], Cn = /* @__PURE__ */ Promise.resolve();
304
+ let gt = !1;
305
+ function An() {
306
+ gt || (gt = !0, Cn.then(I));
307
307
  }
308
308
  function q(e) {
309
309
  le.push(e);
310
310
  }
311
- const at = /* @__PURE__ */ new Set();
311
+ const lt = /* @__PURE__ */ new Set();
312
312
  let oe = 0;
313
- function R() {
313
+ function I() {
314
314
  if (oe !== 0)
315
315
  return;
316
- const e = Te;
316
+ const e = He;
317
317
  do {
318
318
  try {
319
319
  for (; oe < ae.length; ) {
320
320
  const t = ae[oe];
321
- oe++, Se(t), Hn(t.$$);
321
+ oe++, Te(t), Mn(t.$$);
322
322
  }
323
323
  } catch (t) {
324
324
  throw ae.length = 0, oe = 0, t;
325
325
  }
326
- for (Se(null), ae.length = 0, oe = 0; Ye.length; )
327
- Ye.pop()();
326
+ for (Te(null), ae.length = 0, oe = 0; Ke.length; )
327
+ Ke.pop()();
328
328
  for (let t = 0; t < le.length; t += 1) {
329
329
  const r = le[t];
330
- at.has(r) || (at.add(r), r());
330
+ lt.has(r) || (lt.add(r), r());
331
331
  }
332
332
  le.length = 0;
333
333
  } while (ae.length);
334
- for (; Xt.length; )
335
- Xt.pop()();
336
- mt = !1, at.clear(), Se(e);
334
+ for (; Zt.length; )
335
+ Zt.pop()();
336
+ gt = !1, lt.clear(), Te(e);
337
337
  }
338
- function Hn(e) {
338
+ function Mn(e) {
339
339
  if (e.fragment !== null) {
340
- e.update(), k(e.before_update);
340
+ e.update(), W(e.before_update);
341
341
  const t = e.dirty;
342
342
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(q);
343
343
  }
344
344
  }
345
- function Cn(e) {
345
+ function Bn(e) {
346
346
  const t = [], r = [];
347
347
  le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
348
348
  }
349
- let _e;
350
- function Dt() {
351
- return _e || (_e = Promise.resolve(), _e.then(() => {
352
- _e = null;
353
- })), _e;
349
+ let Ee;
350
+ function Gt() {
351
+ return Ee || (Ee = Promise.resolve(), Ee.then(() => {
352
+ Ee = null;
353
+ })), Ee;
354
354
  }
355
355
  function Q(e, t, r) {
356
- e.dispatchEvent(vn(`${t ? "intro" : "outro"}${r}`));
356
+ e.dispatchEvent(xn(`${t ? "intro" : "outro"}${r}`));
357
357
  }
358
- const Ge = /* @__PURE__ */ new Set();
359
- let U;
360
- function bs() {
361
- U = {
358
+ const je = /* @__PURE__ */ new Set();
359
+ let F;
360
+ function gs() {
361
+ F = {
362
362
  r: 0,
363
363
  c: [],
364
- p: U
364
+ p: F
365
365
  // parent group
366
366
  };
367
367
  }
368
- function gs() {
369
- U.r || k(U.c), U = U.p;
368
+ function ys() {
369
+ F.r || W(F.c), F = F.p;
370
370
  }
371
- function Mn(e, t) {
372
- e && e.i && (Ge.delete(e), e.i(t));
371
+ function On(e, t) {
372
+ e && e.i && (je.delete(e), e.i(t));
373
373
  }
374
- function ys(e, t, r, n) {
374
+ function vs(e, t, r, n) {
375
375
  if (e && e.o) {
376
- if (Ge.has(e))
376
+ if (je.has(e))
377
377
  return;
378
- Ge.add(e), U.c.push(() => {
379
- Ge.delete(e), n && (r && e.d(1), n());
378
+ je.add(e), F.c.push(() => {
379
+ je.delete(e), n && (r && e.d(1), n());
380
380
  }), e.o(t);
381
381
  } else
382
382
  n && n();
383
383
  }
384
- const Ut = { duration: 0 };
385
- function vs(e, t, r) {
384
+ const Ft = { duration: 0 };
385
+ function _s(e, t, r) {
386
386
  const n = { direction: "in" };
387
387
  let i = t(e, r, n), o = !1, a, s, l = 0;
388
388
  function u() {
389
- a && Ze(e, a);
389
+ a && Je(e, a);
390
390
  }
391
- function c() {
391
+ function h() {
392
392
  const {
393
- delay: d = 0,
394
- duration: m = 300,
395
- easing: h = Lt,
396
- tick: p = B,
397
- css: _
398
- } = i || Ut;
399
- _ && (a = ze(e, 0, 1, m, d, h, _, l++)), p(0, 1);
400
- const x = Nt() + d, y = x + m;
401
- s && s.abort(), o = !0, q(() => Q(e, !0, "start")), s = Rt((v) => {
393
+ delay: c = 0,
394
+ duration: g = 300,
395
+ easing: f = It,
396
+ tick: p = M,
397
+ css: v
398
+ } = i || Ft;
399
+ v && (a = Ye(e, 0, 1, g, c, f, v, l++)), p(0, 1);
400
+ const E = Rt() + c, y = E + g;
401
+ s && s.abort(), o = !0, q(() => Q(e, !0, "start")), s = $t((_) => {
402
402
  if (o) {
403
- if (v >= y)
403
+ if (_ >= y)
404
404
  return p(1, 0), Q(e, !0, "end"), u(), o = !1;
405
- if (v >= x) {
406
- const b = h((v - x) / m);
407
- p(b, 1 - b);
405
+ if (_ >= E) {
406
+ const m = f((_ - E) / g);
407
+ p(m, 1 - m);
408
408
  }
409
409
  }
410
410
  return o;
411
411
  });
412
412
  }
413
- let f = !1;
413
+ let d = !1;
414
414
  return {
415
415
  start() {
416
- f || (f = !0, Ze(e), de(i) ? (i = i(n), Dt().then(c)) : c());
416
+ d || (d = !0, Je(e), de(i) ? (i = i(n), Gt().then(h)) : h());
417
417
  },
418
418
  invalidate() {
419
- f = !1;
419
+ d = !1;
420
420
  },
421
421
  end() {
422
422
  o && (u(), o = !1);
423
423
  }
424
424
  };
425
425
  }
426
- function _s(e, t, r) {
426
+ function Es(e, t, r) {
427
427
  const n = { direction: "out" };
428
428
  let i = t(e, r, n), o = !0, a;
429
- const s = U;
429
+ const s = F;
430
430
  s.r += 1;
431
431
  let l;
432
432
  function u() {
433
433
  const {
434
- delay: c = 0,
435
- duration: f = 300,
436
- easing: d = Lt,
437
- tick: m = B,
438
- css: h
439
- } = i || Ut;
440
- h && (a = ze(e, 1, 0, f, c, d, h));
441
- const p = Nt() + c, _ = p + f;
434
+ delay: h = 0,
435
+ duration: d = 300,
436
+ easing: c = It,
437
+ tick: g = M,
438
+ css: f
439
+ } = i || Ft;
440
+ f && (a = Ye(e, 1, 0, d, h, c, f));
441
+ const p = Rt() + h, v = p + d;
442
442
  q(() => Q(e, !1, "start")), "inert" in e && (l = /** @type {HTMLElement} */
443
- e.inert, e.inert = !0), Rt((x) => {
443
+ e.inert, e.inert = !0), $t((E) => {
444
444
  if (o) {
445
- if (x >= _)
446
- return m(0, 1), Q(e, !1, "end"), --s.r || k(s.c), !1;
447
- if (x >= p) {
448
- const y = d((x - p) / f);
449
- m(1 - y, y);
445
+ if (E >= v)
446
+ return g(0, 1), Q(e, !1, "end"), --s.r || W(s.c), !1;
447
+ if (E >= p) {
448
+ const y = c((E - p) / d);
449
+ g(1 - y, y);
450
450
  }
451
451
  }
452
452
  return o;
453
453
  });
454
454
  }
455
- return de(i) ? Dt().then(() => {
455
+ return de(i) ? Gt().then(() => {
456
456
  i = i(n), u();
457
457
  }) : u(), {
458
- end(c) {
459
- c && "inert" in e && (e.inert = l), c && i.tick && i.tick(1, 0), o && (a && Ze(e, a), o = !1);
458
+ end(h) {
459
+ h && "inert" in e && (e.inert = l), h && i.tick && i.tick(1, 0), o && (a && Je(e, a), o = !1);
460
460
  }
461
461
  };
462
462
  }
463
463
  function xs(e, t, r, n) {
464
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, c;
465
- function f() {
466
- u && Ze(e, u);
464
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
465
+ function d() {
466
+ u && Je(e, u);
467
467
  }
468
- function d(h, p) {
469
- const _ = (
468
+ function c(f, p) {
469
+ const v = (
470
470
  /** @type {Program['d']} */
471
- h.b - a
471
+ f.b - a
472
472
  );
473
- return p *= Math.abs(_), {
473
+ return p *= Math.abs(v), {
474
474
  a,
475
- b: h.b,
476
- d: _,
475
+ b: f.b,
476
+ d: v,
477
477
  duration: p,
478
- start: h.start,
479
- end: h.start + p,
480
- group: h.group
478
+ start: f.start,
479
+ end: f.start + p,
480
+ group: f.group
481
481
  };
482
482
  }
483
- function m(h) {
483
+ function g(f) {
484
484
  const {
485
485
  delay: p = 0,
486
- duration: _ = 300,
487
- easing: x = Lt,
488
- tick: y = B,
489
- css: v
490
- } = o || Ut, b = {
491
- start: Nt() + p,
492
- b: h
486
+ duration: v = 300,
487
+ easing: E = It,
488
+ tick: y = M,
489
+ css: _
490
+ } = o || Ft, m = {
491
+ start: Rt() + p,
492
+ b: f
493
493
  };
494
- h || (b.group = U, U.r += 1), "inert" in e && (h ? c !== void 0 && (e.inert = c) : (c = /** @type {HTMLElement} */
495
- e.inert, e.inert = !0)), s || l ? l = b : (v && (f(), u = ze(e, a, h, _, p, x, v)), h && y(0, 1), s = d(b, _), q(() => Q(e, h, "start")), Rt((H) => {
496
- if (l && H > l.start && (s = d(l, _), l = null, Q(e, s.b, "start"), v && (f(), u = ze(
494
+ f || (m.group = F, F.r += 1), "inert" in e && (f ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
495
+ e.inert, e.inert = !0)), s || l ? l = m : (_ && (d(), u = Ye(e, a, f, v, p, E, _)), f && y(0, 1), s = c(m, v), q(() => Q(e, f, "start")), $t((T) => {
496
+ if (l && T > l.start && (s = c(l, v), l = null, Q(e, s.b, "start"), _ && (d(), u = Ye(
497
497
  e,
498
498
  a,
499
499
  s.b,
500
500
  s.duration,
501
501
  0,
502
- x,
502
+ E,
503
503
  o.css
504
504
  ))), s) {
505
- if (H >= s.end)
506
- y(a = s.b, 1 - a), Q(e, s.b, "end"), l || (s.b ? f() : --s.group.r || k(s.group.c)), s = null;
507
- else if (H >= s.start) {
508
- const L = H - s.start;
509
- a = s.a + s.d * x(L / s.duration), y(a, 1 - a);
505
+ if (T >= s.end)
506
+ y(a = s.b, 1 - a), Q(e, s.b, "end"), l || (s.b ? d() : --s.group.r || W(s.group.c)), s = null;
507
+ else if (T >= s.start) {
508
+ const N = T - s.start;
509
+ a = s.a + s.d * E(N / s.duration), y(a, 1 - a);
510
510
  }
511
511
  }
512
512
  return !!(s || l);
513
513
  }));
514
514
  }
515
515
  return {
516
- run(h) {
517
- de(o) ? Dt().then(() => {
518
- o = o({ direction: h ? "in" : "out" }), m(h);
519
- }) : m(h);
516
+ run(f) {
517
+ de(o) ? Gt().then(() => {
518
+ o = o({ direction: f ? "in" : "out" }), g(f);
519
+ }) : g(f);
520
520
  },
521
521
  end() {
522
- f(), s = l = null;
522
+ d(), s = l = null;
523
523
  }
524
524
  };
525
525
  }
526
- function Re(e) {
526
+ function De(e) {
527
527
  return e?.length !== void 0 ? e : Array.from(e);
528
528
  }
529
- function Es(e) {
529
+ function ws(e) {
530
530
  e && e.c();
531
531
  }
532
- function An(e, t, r) {
532
+ function Ln(e, t, r) {
533
533
  const { fragment: n, after_update: i } = e.$$;
534
534
  n && n.m(t, r), q(() => {
535
- const o = e.$$.on_mount.map(xr).filter(de);
536
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : k(o), e.$$.on_mount = [];
535
+ const o = e.$$.on_mount.map(Sr).filter(de);
536
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
537
537
  }), i.forEach(q);
538
538
  }
539
- function Bn(e, t) {
539
+ function Nn(e, t) {
540
540
  const r = e.$$;
541
- r.fragment !== null && (Cn(r.after_update), k(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
541
+ r.fragment !== null && (Bn(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
542
542
  }
543
- function On(e, t) {
544
- e.$$.dirty[0] === -1 && (ae.push(e), Pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
543
+ function In(e, t) {
544
+ e.$$.dirty[0] === -1 && (ae.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
545
545
  }
546
- function Ln(e, t, r, n, i, o, a = null, s = [-1]) {
547
- const l = Te;
548
- Se(e);
546
+ function Rn(e, t, r, n, i, o, a = null, s = [-1]) {
547
+ const l = He;
548
+ Te(e);
549
549
  const u = e.$$ = {
550
550
  fragment: null,
551
551
  ctx: [],
552
552
  // state
553
553
  props: o,
554
- update: B,
554
+ update: M,
555
555
  not_equal: i,
556
- bound: kt(),
556
+ bound: Wt(),
557
557
  // lifecycle
558
558
  on_mount: [],
559
559
  on_destroy: [],
@@ -562,28 +562,28 @@ function Ln(e, t, r, n, i, o, a = null, s = [-1]) {
562
562
  after_update: [],
563
563
  context: new Map(t.context || (l ? l.$$.context : [])),
564
564
  // everything else
565
- callbacks: kt(),
565
+ callbacks: Wt(),
566
566
  dirty: s,
567
567
  skip_bound: !1,
568
568
  root: t.target || l.$$.root
569
569
  };
570
570
  a && a(u.root);
571
- let c = !1;
572
- if (u.ctx = r ? r(e, t.props || {}, (f, d, ...m) => {
573
- const h = m.length ? m[0] : d;
574
- return u.ctx && i(u.ctx[f], u.ctx[f] = h) && (!u.skip_bound && u.bound[f] && u.bound[f](h), c && On(e, f)), d;
575
- }) : [], u.update(), c = !0, k(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
571
+ let h = !1;
572
+ if (u.ctx = r ? r(e, t.props || {}, (d, c, ...g) => {
573
+ const f = g.length ? g[0] : c;
574
+ return u.ctx && i(u.ctx[d], u.ctx[d] = f) && (!u.skip_bound && u.bound[d] && u.bound[d](f), h && In(e, d)), c;
575
+ }) : [], u.update(), h = !0, W(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
576
576
  if (t.hydrate) {
577
- const f = bn(t.target);
578
- u.fragment && u.fragment.l(f), f.forEach(N);
577
+ const d = vn(t.target);
578
+ u.fragment && u.fragment.l(d), d.forEach(L);
579
579
  } else
580
580
  u.fragment && u.fragment.c();
581
- t.intro && Mn(e.$$.fragment), An(e, t.target, t.anchor), R();
581
+ t.intro && On(e.$$.fragment), Ln(e, t.target, t.anchor), I();
582
582
  }
583
- Se(l);
583
+ Te(l);
584
584
  }
585
- let Mr;
586
- typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
585
+ let Or;
586
+ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
587
587
  /** The Svelte component constructor */
588
588
  $$ctor;
589
589
  /** Slots */
@@ -625,29 +625,29 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
625
625
  let o;
626
626
  return {
627
627
  c: function() {
628
- o = T("slot"), i !== "default" && M(o, "name", i);
628
+ o = H("slot"), i !== "default" && C(o, "name", i);
629
629
  },
630
630
  /**
631
631
  * @param {HTMLElement} target
632
632
  * @param {HTMLElement} [anchor]
633
633
  */
634
634
  m: function(l, u) {
635
- G(l, o, u);
635
+ j(l, o, u);
636
636
  },
637
637
  d: function(l) {
638
- l && N(o);
638
+ l && L(o);
639
639
  }
640
640
  };
641
641
  };
642
642
  };
643
643
  if (await Promise.resolve(), !this.$$cn || this.$$c)
644
644
  return;
645
- const t = {}, r = _n(this);
645
+ const t = {}, r = wn(this);
646
646
  for (const i of this.$$s)
647
647
  i in r && (t[i] = [e(i)]);
648
648
  for (const i of this.attributes) {
649
649
  const o = this.$$g_p(i.name);
650
- o in this.$$d || (this.$$d[o] = Fe(o, i.value, this.$$p_d, "toProp"));
650
+ o in this.$$d || (this.$$d[o] = ke(o, i.value, this.$$p_d, "toProp"));
651
651
  }
652
652
  for (const i in this.$$p_d)
653
653
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -665,7 +665,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
665
665
  this.$$r = !0;
666
666
  for (const i in this.$$p_d)
667
667
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
668
- const o = Fe(
668
+ const o = ke(
669
669
  i,
670
670
  this.$$d[i],
671
671
  this.$$p_d,
@@ -687,7 +687,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
687
687
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
688
688
  // and setting attributes through setAttribute etc, this is helpful
689
689
  attributeChangedCallback(e, t, r) {
690
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
690
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ke(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
691
691
  }
692
692
  disconnectedCallback() {
693
693
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -700,7 +700,7 @@ typeof HTMLElement == "function" && (Mr = class extends HTMLElement {
700
700
  ) || e;
701
701
  }
702
702
  });
703
- function Fe(e, t, r, n) {
703
+ function ke(e, t, r, n) {
704
704
  const i = r[e]?.type;
705
705
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
706
706
  return t;
@@ -729,8 +729,8 @@ function Fe(e, t, r, n) {
729
729
  return t;
730
730
  }
731
731
  }
732
- function Nn(e, t, r, n, i, o) {
733
- let a = class extends Mr {
732
+ function Dn(e, t, r, n, i, o) {
733
+ let a = class extends Or {
734
734
  constructor() {
735
735
  super(e, r, i), this.$$p_d = t;
736
736
  }
@@ -746,7 +746,7 @@ function Nn(e, t, r, n, i, o) {
746
746
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
747
747
  },
748
748
  set(l) {
749
- l = Fe(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
749
+ l = ke(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
750
750
  }
751
751
  });
752
752
  }), n.forEach((s) => {
@@ -758,7 +758,7 @@ function Nn(e, t, r, n, i, o) {
758
758
  }), e.element = /** @type {any} */
759
759
  a, a;
760
760
  }
761
- class In {
761
+ class $n {
762
762
  /**
763
763
  * ### PRIVATE API
764
764
  *
@@ -777,7 +777,7 @@ class In {
777
777
  $$set = void 0;
778
778
  /** @returns {void} */
779
779
  $destroy() {
780
- Bn(this, 1), this.$destroy = B;
780
+ Nn(this, 1), this.$destroy = M;
781
781
  }
782
782
  /**
783
783
  * @template {Extract<keyof Events, string>} K
@@ -787,7 +787,7 @@ class In {
787
787
  */
788
788
  $on(t, r) {
789
789
  if (!de(r))
790
- return B;
790
+ return M;
791
791
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
792
792
  return n.push(r), () => {
793
793
  const i = n.indexOf(r);
@@ -799,22 +799,22 @@ class In {
799
799
  * @returns {void}
800
800
  */
801
801
  $set(t) {
802
- this.$$set && !fn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
802
+ this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
803
803
  }
804
804
  }
805
- const Rn = "4";
806
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rn);
805
+ const Un = "4";
806
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Un);
807
807
  const se = [];
808
- function $n(e, t) {
808
+ function Gn(e, t) {
809
809
  return {
810
- subscribe: et(e, t).subscribe
810
+ subscribe: rt(e, t).subscribe
811
811
  };
812
812
  }
813
- function et(e, t = B) {
813
+ function rt(e, t = M) {
814
814
  let r;
815
815
  const n = /* @__PURE__ */ new Set();
816
816
  function i(s) {
817
- if (Er(e, s) && (e = s, r)) {
817
+ if (Tr(e, s) && (e = s, r)) {
818
818
  const l = !se.length;
819
819
  for (const u of n)
820
820
  u[1](), se.push(u, e);
@@ -828,9 +828,9 @@ function et(e, t = B) {
828
828
  function o(s) {
829
829
  i(s(e));
830
830
  }
831
- function a(s, l = B) {
831
+ function a(s, l = M) {
832
832
  const u = [s, l];
833
- return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
833
+ return n.add(u), n.size === 1 && (r = t(i, o) || M), s(e), () => {
834
834
  n.delete(u), n.size === 0 && r && (r(), r = null);
835
835
  };
836
836
  }
@@ -841,135 +841,135 @@ function me(e, t, r) {
841
841
  if (!i.every(Boolean))
842
842
  throw new Error("derived() expects stores as input, got a falsy value");
843
843
  const o = t.length < 2;
844
- return $n(r, (a, s) => {
844
+ return Gn(r, (a, s) => {
845
845
  let l = !1;
846
846
  const u = [];
847
- let c = 0, f = B;
848
- const d = () => {
849
- if (c)
847
+ let h = 0, d = M;
848
+ const c = () => {
849
+ if (h)
850
850
  return;
851
- f();
852
- const h = t(n ? u[0] : u, a, s);
853
- o ? a(h) : f = de(h) ? h : B;
854
- }, m = i.map(
855
- (h, p) => wr(
856
- h,
857
- (_) => {
858
- u[p] = _, c &= ~(1 << p), l && d();
851
+ d();
852
+ const f = t(n ? u[0] : u, a, s);
853
+ o ? a(f) : d = de(f) ? f : M;
854
+ }, g = i.map(
855
+ (f, p) => Hr(
856
+ f,
857
+ (v) => {
858
+ u[p] = v, h &= ~(1 << p), l && c();
859
859
  },
860
860
  () => {
861
- c |= 1 << p;
861
+ h |= 1 << p;
862
862
  }
863
863
  )
864
864
  );
865
- return l = !0, d(), function() {
866
- k(m), f(), l = !1;
865
+ return l = !0, c(), function() {
866
+ W(g), d(), l = !1;
867
867
  };
868
868
  });
869
869
  }
870
- var ws = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
871
- function Dn(e) {
870
+ var Ss = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
871
+ function Fn(e) {
872
872
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
873
873
  }
874
- var Un = function(t) {
875
- return Gn(t) && !Fn(t);
874
+ var jn = function(t) {
875
+ return kn(t) && !Vn(t);
876
876
  };
877
- function Gn(e) {
877
+ function kn(e) {
878
878
  return !!e && typeof e == "object";
879
879
  }
880
- function Fn(e) {
880
+ function Vn(e) {
881
881
  var t = Object.prototype.toString.call(e);
882
- return t === "[object RegExp]" || t === "[object Date]" || Vn(e);
882
+ return t === "[object RegExp]" || t === "[object Date]" || zn(e);
883
883
  }
884
- var jn = typeof Symbol == "function" && Symbol.for, kn = jn ? Symbol.for("react.element") : 60103;
885
- function Vn(e) {
886
- return e.$$typeof === kn;
884
+ var Wn = typeof Symbol == "function" && Symbol.for, Xn = Wn ? Symbol.for("react.element") : 60103;
885
+ function zn(e) {
886
+ return e.$$typeof === Xn;
887
887
  }
888
- function Wn(e) {
888
+ function Zn(e) {
889
889
  return Array.isArray(e) ? [] : {};
890
890
  }
891
891
  function Pe(e, t) {
892
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(Wn(e), e, t) : e;
892
+ return t.clone !== !1 && t.isMergeableObject(e) ? he(Zn(e), e, t) : e;
893
893
  }
894
- function Xn(e, t, r) {
894
+ function Yn(e, t, r) {
895
895
  return e.concat(t).map(function(n) {
896
896
  return Pe(n, r);
897
897
  });
898
898
  }
899
- function zn(e, t) {
899
+ function Jn(e, t) {
900
900
  if (!t.customMerge)
901
- return ce;
901
+ return he;
902
902
  var r = t.customMerge(e);
903
- return typeof r == "function" ? r : ce;
903
+ return typeof r == "function" ? r : he;
904
904
  }
905
- function Zn(e) {
905
+ function Kn(e) {
906
906
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
907
907
  return Object.propertyIsEnumerable.call(e, t);
908
908
  }) : [];
909
909
  }
910
- function zt(e) {
911
- return Object.keys(e).concat(Zn(e));
910
+ function Yt(e) {
911
+ return Object.keys(e).concat(Kn(e));
912
912
  }
913
- function Ar(e, t) {
913
+ function Lr(e, t) {
914
914
  try {
915
915
  return t in e;
916
916
  } catch {
917
917
  return !1;
918
918
  }
919
919
  }
920
- function Yn(e, t) {
921
- return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
920
+ function Qn(e, t) {
921
+ return Lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
922
922
  }
923
- function Jn(e, t, r) {
923
+ function qn(e, t, r) {
924
924
  var n = {};
925
- return r.isMergeableObject(e) && zt(e).forEach(function(i) {
925
+ return r.isMergeableObject(e) && Yt(e).forEach(function(i) {
926
926
  n[i] = Pe(e[i], r);
927
- }), zt(t).forEach(function(i) {
928
- Yn(e, i) || (Ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = Pe(t[i], r));
927
+ }), Yt(t).forEach(function(i) {
928
+ Qn(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Pe(t[i], r));
929
929
  }), n;
930
930
  }
931
- function ce(e, t, r) {
932
- r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Un, r.cloneUnlessOtherwiseSpecified = Pe;
931
+ function he(e, t, r) {
932
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || jn, r.cloneUnlessOtherwiseSpecified = Pe;
933
933
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
934
- return o ? n ? r.arrayMerge(e, t, r) : Jn(e, t, r) : Pe(t, r);
934
+ return o ? n ? r.arrayMerge(e, t, r) : qn(e, t, r) : Pe(t, r);
935
935
  }
936
- ce.all = function(t, r) {
936
+ he.all = function(t, r) {
937
937
  if (!Array.isArray(t))
938
938
  throw new Error("first argument should be an array");
939
939
  return t.reduce(function(n, i) {
940
- return ce(n, i, r);
940
+ return he(n, i, r);
941
941
  }, {});
942
942
  };
943
- var Kn = ce, Qn = Kn;
944
- const qn = /* @__PURE__ */ Dn(Qn);
945
- var bt = function(e, t) {
946
- return bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
943
+ var ei = he, ti = ei;
944
+ const ri = /* @__PURE__ */ Fn(ti);
945
+ var yt = function(e, t) {
946
+ return yt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
947
947
  r.__proto__ = n;
948
948
  } || function(r, n) {
949
949
  for (var i in n)
950
950
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
951
- }, bt(e, t);
951
+ }, yt(e, t);
952
952
  };
953
- function tt(e, t) {
953
+ function nt(e, t) {
954
954
  if (typeof t != "function" && t !== null)
955
955
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
956
- bt(e, t);
956
+ yt(e, t);
957
957
  function r() {
958
958
  this.constructor = e;
959
959
  }
960
960
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
961
961
  }
962
- var D = function() {
963
- return D = Object.assign || function(t) {
962
+ var G = function() {
963
+ return G = Object.assign || function(t) {
964
964
  for (var r, n = 1, i = arguments.length; n < i; n++) {
965
965
  r = arguments[n];
966
966
  for (var o in r)
967
967
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
968
968
  }
969
969
  return t;
970
- }, D.apply(this, arguments);
970
+ }, G.apply(this, arguments);
971
971
  };
972
- function ei(e, t) {
972
+ function ni(e, t) {
973
973
  var r = {};
974
974
  for (var n in e)
975
975
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -978,43 +978,43 @@ function ei(e, t) {
978
978
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
979
979
  return r;
980
980
  }
981
- function ut(e, t, r) {
981
+ function ht(e, t, r) {
982
982
  if (r || arguments.length === 2)
983
983
  for (var n = 0, i = t.length, o; n < i; n++)
984
984
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
985
985
  return e.concat(o || Array.prototype.slice.call(t));
986
986
  }
987
- function lt(e, t) {
988
- var r = t && t.cache ? t.cache : ai, n = t && t.serializer ? t.serializer : oi, i = t && t.strategy ? t.strategy : ni;
987
+ function ct(e, t) {
988
+ var r = t && t.cache ? t.cache : hi, n = t && t.serializer ? t.serializer : ui, i = t && t.strategy ? t.strategy : si;
989
989
  return i(e, {
990
990
  cache: r,
991
991
  serializer: n
992
992
  });
993
993
  }
994
- function ti(e) {
994
+ function ii(e) {
995
995
  return e == null || typeof e == "number" || typeof e == "boolean";
996
996
  }
997
- function ri(e, t, r, n) {
998
- var i = ti(n) ? n : r(n), o = t.get(i);
997
+ function oi(e, t, r, n) {
998
+ var i = ii(n) ? n : r(n), o = t.get(i);
999
999
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1000
1000
  }
1001
- function Br(e, t, r) {
1001
+ function Nr(e, t, r) {
1002
1002
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1003
1003
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1004
1004
  }
1005
- function Or(e, t, r, n, i) {
1005
+ function Ir(e, t, r, n, i) {
1006
1006
  return r.bind(t, e, n, i);
1007
1007
  }
1008
- function ni(e, t) {
1009
- var r = e.length === 1 ? ri : Br;
1010
- return Or(e, this, r, t.cache.create(), t.serializer);
1008
+ function si(e, t) {
1009
+ var r = e.length === 1 ? oi : Nr;
1010
+ return Ir(e, this, r, t.cache.create(), t.serializer);
1011
1011
  }
1012
- function ii(e, t) {
1013
- return Or(e, this, Br, t.cache.create(), t.serializer);
1012
+ function ai(e, t) {
1013
+ return Ir(e, this, Nr, t.cache.create(), t.serializer);
1014
1014
  }
1015
- var oi = function() {
1015
+ var ui = function() {
1016
1016
  return JSON.stringify(arguments);
1017
- }, si = (
1017
+ }, li = (
1018
1018
  /** @class */
1019
1019
  function() {
1020
1020
  function e() {
@@ -1026,71 +1026,71 @@ var oi = function() {
1026
1026
  this.cache[t] = r;
1027
1027
  }, e;
1028
1028
  }()
1029
- ), ai = {
1029
+ ), hi = {
1030
1030
  create: function() {
1031
- return new si();
1031
+ return new li();
1032
1032
  }
1033
- }, ct = {
1034
- variadic: ii
1035
- }, Je = function() {
1036
- return Je = Object.assign || function(t) {
1033
+ }, ft = {
1034
+ variadic: ai
1035
+ }, Qe = function() {
1036
+ return Qe = Object.assign || function(t) {
1037
1037
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1038
1038
  r = arguments[n];
1039
1039
  for (var o in r)
1040
1040
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1041
1041
  }
1042
1042
  return t;
1043
- }, Je.apply(this, arguments);
1043
+ }, Qe.apply(this, arguments);
1044
1044
  };
1045
1045
  var w;
1046
1046
  (function(e) {
1047
1047
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1048
1048
  })(w || (w = {}));
1049
- var C;
1049
+ var P;
1050
1050
  (function(e) {
1051
1051
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1052
- })(C || (C = {}));
1053
- var he;
1052
+ })(P || (P = {}));
1053
+ var ce;
1054
1054
  (function(e) {
1055
1055
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1056
- })(he || (he = {}));
1057
- function Zt(e) {
1058
- return e.type === C.literal;
1056
+ })(ce || (ce = {}));
1057
+ function Jt(e) {
1058
+ return e.type === P.literal;
1059
1059
  }
1060
- function ui(e) {
1061
- return e.type === C.argument;
1060
+ function ci(e) {
1061
+ return e.type === P.argument;
1062
1062
  }
1063
- function Lr(e) {
1064
- return e.type === C.number;
1063
+ function Rr(e) {
1064
+ return e.type === P.number;
1065
1065
  }
1066
- function Nr(e) {
1067
- return e.type === C.date;
1066
+ function Dr(e) {
1067
+ return e.type === P.date;
1068
1068
  }
1069
- function Ir(e) {
1070
- return e.type === C.time;
1069
+ function $r(e) {
1070
+ return e.type === P.time;
1071
1071
  }
1072
- function Rr(e) {
1073
- return e.type === C.select;
1072
+ function Ur(e) {
1073
+ return e.type === P.select;
1074
1074
  }
1075
- function $r(e) {
1076
- return e.type === C.plural;
1075
+ function Gr(e) {
1076
+ return e.type === P.plural;
1077
1077
  }
1078
- function li(e) {
1079
- return e.type === C.pound;
1078
+ function fi(e) {
1079
+ return e.type === P.pound;
1080
1080
  }
1081
- function Dr(e) {
1082
- return e.type === C.tag;
1081
+ function Fr(e) {
1082
+ return e.type === P.tag;
1083
1083
  }
1084
- function Ur(e) {
1085
- return !!(e && typeof e == "object" && e.type === he.number);
1084
+ function jr(e) {
1085
+ return !!(e && typeof e == "object" && e.type === ce.number);
1086
1086
  }
1087
- function gt(e) {
1088
- return !!(e && typeof e == "object" && e.type === he.dateTime);
1087
+ function vt(e) {
1088
+ return !!(e && typeof e == "object" && e.type === ce.dateTime);
1089
1089
  }
1090
- var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ci = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1091
- function hi(e) {
1090
+ var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1091
+ function di(e) {
1092
1092
  var t = {};
1093
- return e.replace(ci, function(r) {
1093
+ return e.replace(pi, function(r) {
1094
1094
  var n = r.length;
1095
1095
  switch (r[0]) {
1096
1096
  case "G":
@@ -1189,36 +1189,36 @@ var A = function() {
1189
1189
  return t;
1190
1190
  }, A.apply(this, arguments);
1191
1191
  };
1192
- var fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1193
- function pi(e) {
1192
+ var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1193
+ function bi(e) {
1194
1194
  if (e.length === 0)
1195
1195
  throw new Error("Number skeleton cannot be empty");
1196
- for (var t = e.split(fi).filter(function(d) {
1197
- return d.length > 0;
1196
+ for (var t = e.split(mi).filter(function(c) {
1197
+ return c.length > 0;
1198
1198
  }), r = [], n = 0, i = t; n < i.length; n++) {
1199
1199
  var o = i[n], a = o.split("/");
1200
1200
  if (a.length === 0)
1201
1201
  throw new Error("Invalid number skeleton");
1202
- for (var s = a[0], l = a.slice(1), u = 0, c = l; u < c.length; u++) {
1203
- var f = c[u];
1204
- if (f.length === 0)
1202
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1203
+ var d = h[u];
1204
+ if (d.length === 0)
1205
1205
  throw new Error("Invalid number skeleton");
1206
1206
  }
1207
1207
  r.push({ stem: s, options: l });
1208
1208
  }
1209
1209
  return r;
1210
1210
  }
1211
- function di(e) {
1211
+ function gi(e) {
1212
1212
  return e.replace(/^(.*?)-/, "");
1213
1213
  }
1214
- var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1215
- function Jt(e) {
1214
+ var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vr = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
1215
+ function Qt(e) {
1216
1216
  var t = {};
1217
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
1217
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vr, function(r, n, i) {
1218
1218
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1219
1219
  }), t;
1220
1220
  }
1221
- function kr(e) {
1221
+ function Xr(e) {
1222
1222
  switch (e) {
1223
1223
  case "sign-auto":
1224
1224
  return {
@@ -1258,7 +1258,7 @@ function kr(e) {
1258
1258
  };
1259
1259
  }
1260
1260
  }
1261
- function bi(e) {
1261
+ function vi(e) {
1262
1262
  var t;
1263
1263
  if (e[0] === "E" && e[1] === "E" ? (t = {
1264
1264
  notation: "engineering"
@@ -1266,17 +1266,17 @@ function bi(e) {
1266
1266
  notation: "scientific"
1267
1267
  }, e = e.slice(1)), t) {
1268
1268
  var r = e.slice(0, 2);
1269
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1269
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
1270
1270
  throw new Error("Malformed concise eng/scientific notation");
1271
1271
  t.minimumIntegerDigits = e.length;
1272
1272
  }
1273
1273
  return t;
1274
1274
  }
1275
- function Kt(e) {
1276
- var t = {}, r = kr(e);
1275
+ function qt(e) {
1276
+ var t = {}, r = Xr(e);
1277
1277
  return r || t;
1278
1278
  }
1279
- function gi(e) {
1279
+ function _i(e) {
1280
1280
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1281
1281
  var i = n[r];
1282
1282
  switch (i.stem) {
@@ -1300,7 +1300,7 @@ function gi(e) {
1300
1300
  continue;
1301
1301
  case "measure-unit":
1302
1302
  case "unit":
1303
- t.style = "unit", t.unit = di(i.options[0]);
1303
+ t.style = "unit", t.unit = gi(i.options[0]);
1304
1304
  continue;
1305
1305
  case "compact-short":
1306
1306
  case "K":
@@ -1312,12 +1312,12 @@ function gi(e) {
1312
1312
  continue;
1313
1313
  case "scientific":
1314
1314
  t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1315
- return A(A({}, l), Kt(u));
1315
+ return A(A({}, l), qt(u));
1316
1316
  }, {}));
1317
1317
  continue;
1318
1318
  case "engineering":
1319
1319
  t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1320
- return A(A({}, l), Kt(u));
1320
+ return A(A({}, l), qt(u));
1321
1321
  }, {}));
1322
1322
  continue;
1323
1323
  case "notation-simple":
@@ -1362,40 +1362,40 @@ function gi(e) {
1362
1362
  case "integer-width":
1363
1363
  if (i.options.length > 1)
1364
1364
  throw new RangeError("integer-width stems only accept a single optional option");
1365
- i.options[0].replace(mi, function(l, u, c, f, d, m) {
1365
+ i.options[0].replace(yi, function(l, u, h, d, c, g) {
1366
1366
  if (u)
1367
- t.minimumIntegerDigits = c.length;
1367
+ t.minimumIntegerDigits = h.length;
1368
1368
  else {
1369
- if (f && d)
1369
+ if (d && c)
1370
1370
  throw new Error("We currently do not support maximum integer digits");
1371
- if (m)
1371
+ if (g)
1372
1372
  throw new Error("We currently do not support exact integer digits");
1373
1373
  }
1374
1374
  return "";
1375
1375
  });
1376
1376
  continue;
1377
1377
  }
1378
- if (jr.test(i.stem)) {
1378
+ if (Wr.test(i.stem)) {
1379
1379
  t.minimumIntegerDigits = i.stem.length;
1380
1380
  continue;
1381
1381
  }
1382
- if (Yt.test(i.stem)) {
1382
+ if (Kt.test(i.stem)) {
1383
1383
  if (i.options.length > 1)
1384
1384
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1385
- i.stem.replace(Yt, function(l, u, c, f, d, m) {
1386
- return c === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && m ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1385
+ i.stem.replace(Kt, function(l, u, h, d, c, g) {
1386
+ return h === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1387
1387
  });
1388
1388
  var o = i.options[0];
1389
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Jt(o)));
1389
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Qt(o)));
1390
1390
  continue;
1391
1391
  }
1392
- if (Fr.test(i.stem)) {
1393
- t = A(A({}, t), Jt(i.stem));
1392
+ if (Vr.test(i.stem)) {
1393
+ t = A(A({}, t), Qt(i.stem));
1394
1394
  continue;
1395
1395
  }
1396
- var a = kr(i.stem);
1396
+ var a = Xr(i.stem);
1397
1397
  a && (t = A(A({}, t), a));
1398
- var s = bi(i.stem);
1398
+ var s = vi(i.stem);
1399
1399
  s && (t = A(A({}, t), s));
1400
1400
  }
1401
1401
  return t;
@@ -2815,13 +2815,13 @@ var $e = {
2815
2815
  "h"
2816
2816
  ]
2817
2817
  };
2818
- function yi(e, t) {
2818
+ function Ei(e, t) {
2819
2819
  for (var r = "", n = 0; n < e.length; n++) {
2820
2820
  var i = e.charAt(n);
2821
2821
  if (i === "j") {
2822
2822
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2823
2823
  o++, n++;
2824
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = vi(t);
2824
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = xi(t);
2825
2825
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2826
2826
  r += l;
2827
2827
  for (; a-- > 0; )
@@ -2831,7 +2831,7 @@ function yi(e, t) {
2831
2831
  }
2832
2832
  return r;
2833
2833
  }
2834
- function vi(e) {
2834
+ function xi(e) {
2835
2835
  var t = e.hourCycle;
2836
2836
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2837
2837
  e.hourCycles && // @ts-ignore
@@ -2853,20 +2853,20 @@ function vi(e) {
2853
2853
  var i = $e[n || ""] || $e[r || ""] || $e["".concat(r, "-001")] || $e["001"];
2854
2854
  return i[0];
2855
2855
  }
2856
- var ht, _i = new RegExp("^".concat(Gr.source, "*")), xi = new RegExp("".concat(Gr.source, "*$"));
2856
+ var pt, wi = new RegExp("^".concat(kr.source, "*")), Si = new RegExp("".concat(kr.source, "*$"));
2857
2857
  function S(e, t) {
2858
2858
  return { start: e, end: t };
2859
2859
  }
2860
- var Ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Si = !!Object.fromEntries, Ti = !!String.prototype.codePointAt, Pi = !!String.prototype.trimStart, Hi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Mi = Ci ? Number.isSafeInteger : function(e) {
2860
+ var Ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Pi = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Mi = !!String.prototype.trimEnd, Bi = !!Number.isSafeInteger, Oi = Bi ? Number.isSafeInteger : function(e) {
2861
2861
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2862
- }, yt = !0;
2862
+ }, _t = !0;
2863
2863
  try {
2864
- var Ai = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2865
- yt = ((ht = Ai.exec("a")) === null || ht === void 0 ? void 0 : ht[0]) === "a";
2864
+ var Li = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2865
+ _t = ((pt = Li.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2866
2866
  } catch {
2867
- yt = !1;
2867
+ _t = !1;
2868
2868
  }
2869
- var Qt = Ei ? (
2869
+ var er = Ti ? (
2870
2870
  // Native
2871
2871
  function(t, r, n) {
2872
2872
  return t.startsWith(r, n);
@@ -2876,7 +2876,7 @@ var Qt = Ei ? (
2876
2876
  function(t, r, n) {
2877
2877
  return t.slice(n, n + r.length) === r;
2878
2878
  }
2879
- ), vt = wi ? String.fromCodePoint : (
2879
+ ), Et = Hi ? String.fromCodePoint : (
2880
2880
  // IE11
2881
2881
  function() {
2882
2882
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2888,9 +2888,9 @@ var Qt = Ei ? (
2888
2888
  }
2889
2889
  return n;
2890
2890
  }
2891
- ), qt = (
2891
+ ), tr = (
2892
2892
  // native
2893
- Si ? Object.fromEntries : (
2893
+ Pi ? Object.fromEntries : (
2894
2894
  // Ponyfill
2895
2895
  function(t) {
2896
2896
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2900,7 +2900,7 @@ var Qt = Ei ? (
2900
2900
  return r;
2901
2901
  }
2902
2902
  )
2903
- ), Vr = Ti ? (
2903
+ ), zr = Ci ? (
2904
2904
  // Native
2905
2905
  function(t, r) {
2906
2906
  return t.codePointAt(r);
@@ -2914,7 +2914,7 @@ var Qt = Ei ? (
2914
2914
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2915
2915
  }
2916
2916
  }
2917
- ), Bi = Pi ? (
2917
+ ), Ni = Ai ? (
2918
2918
  // Native
2919
2919
  function(t) {
2920
2920
  return t.trimStart();
@@ -2922,9 +2922,9 @@ var Qt = Ei ? (
2922
2922
  ) : (
2923
2923
  // Ponyfill
2924
2924
  function(t) {
2925
- return t.replace(_i, "");
2925
+ return t.replace(wi, "");
2926
2926
  }
2927
- ), Oi = Hi ? (
2927
+ ), Ii = Mi ? (
2928
2928
  // Native
2929
2929
  function(t) {
2930
2930
  return t.trimEnd();
@@ -2932,32 +2932,32 @@ var Qt = Ei ? (
2932
2932
  ) : (
2933
2933
  // Ponyfill
2934
2934
  function(t) {
2935
- return t.replace(xi, "");
2935
+ return t.replace(Si, "");
2936
2936
  }
2937
2937
  );
2938
- function Wr(e, t) {
2938
+ function Zr(e, t) {
2939
2939
  return new RegExp(e, t);
2940
2940
  }
2941
- var _t;
2942
- if (yt) {
2943
- var er = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2944
- _t = function(t, r) {
2941
+ var xt;
2942
+ if (_t) {
2943
+ var rr = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2944
+ xt = function(t, r) {
2945
2945
  var n;
2946
- er.lastIndex = r;
2947
- var i = er.exec(t);
2946
+ rr.lastIndex = r;
2947
+ var i = rr.exec(t);
2948
2948
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2949
2949
  };
2950
2950
  } else
2951
- _t = function(t, r) {
2951
+ xt = function(t, r) {
2952
2952
  for (var n = []; ; ) {
2953
- var i = Vr(t, r);
2954
- if (i === void 0 || Xr(i) || Ri(i))
2953
+ var i = zr(t, r);
2954
+ if (i === void 0 || Yr(i) || Ui(i))
2955
2955
  break;
2956
2956
  n.push(i), r += i >= 65536 ? 2 : 1;
2957
2957
  }
2958
- return vt.apply(void 0, n);
2958
+ return Et.apply(void 0, n);
2959
2959
  };
2960
- var Li = (
2960
+ var Ri = (
2961
2961
  /** @class */
2962
2962
  function() {
2963
2963
  function e(t, r) {
@@ -2981,14 +2981,14 @@ var Li = (
2981
2981
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2982
2982
  var s = this.clonePosition();
2983
2983
  this.bump(), i.push({
2984
- type: C.pound,
2984
+ type: P.pound,
2985
2985
  location: S(s, this.clonePosition())
2986
2986
  });
2987
2987
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2988
2988
  if (n)
2989
2989
  break;
2990
2990
  return this.error(w.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
2991
- } else if (o === 60 && !this.ignoreTag && xt(this.peek() || 0)) {
2991
+ } else if (o === 60 && !this.ignoreTag && wt(this.peek() || 0)) {
2992
2992
  var a = this.parseTag(t, r);
2993
2993
  if (a.err)
2994
2994
  return a;
@@ -3009,7 +3009,7 @@ var Li = (
3009
3009
  if (this.bumpSpace(), this.bumpIf("/>"))
3010
3010
  return {
3011
3011
  val: {
3012
- type: C.literal,
3012
+ type: P.literal,
3013
3013
  value: "<".concat(i, "/>"),
3014
3014
  location: S(n, this.clonePosition())
3015
3015
  },
@@ -3021,12 +3021,12 @@ var Li = (
3021
3021
  return o;
3022
3022
  var a = o.val, s = this.clonePosition();
3023
3023
  if (this.bumpIf("</")) {
3024
- if (this.isEOF() || !xt(this.char()))
3024
+ if (this.isEOF() || !wt(this.char()))
3025
3025
  return this.error(w.INVALID_TAG, S(s, this.clonePosition()));
3026
3026
  var l = this.clonePosition(), u = this.parseTagName();
3027
3027
  return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, S(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3028
3028
  val: {
3029
- type: C.tag,
3029
+ type: P.tag,
3030
3030
  value: i,
3031
3031
  children: a,
3032
3032
  location: S(n, this.clonePosition())
@@ -3039,7 +3039,7 @@ var Li = (
3039
3039
  return this.error(w.INVALID_TAG, S(n, this.clonePosition()));
3040
3040
  }, e.prototype.parseTagName = function() {
3041
3041
  var t = this.offset();
3042
- for (this.bump(); !this.isEOF() && Ii(this.char()); )
3042
+ for (this.bump(); !this.isEOF() && $i(this.char()); )
3043
3043
  this.bump();
3044
3044
  return this.message.slice(t, this.offset());
3045
3045
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3063,12 +3063,12 @@ var Li = (
3063
3063
  }
3064
3064
  var l = S(n, this.clonePosition());
3065
3065
  return {
3066
- val: { type: C.literal, value: i, location: l },
3066
+ val: { type: P.literal, value: i, location: l },
3067
3067
  err: null
3068
3068
  };
3069
3069
  }, e.prototype.tryParseLeftAngleBracket = function() {
3070
3070
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3071
- !Ni(this.peek() || 0)) ? (this.bump(), "<") : null;
3071
+ !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3072
3072
  }, e.prototype.tryParseQuote = function(t) {
3073
3073
  if (this.isEOF() || this.char() !== 39)
3074
3074
  return null;
@@ -3102,12 +3102,12 @@ var Li = (
3102
3102
  r.push(n);
3103
3103
  this.bump();
3104
3104
  }
3105
- return vt.apply(void 0, r);
3105
+ return Et.apply(void 0, r);
3106
3106
  }, e.prototype.tryParseUnquoted = function(t, r) {
3107
3107
  if (this.isEOF())
3108
3108
  return null;
3109
3109
  var n = this.char();
3110
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), vt(n));
3110
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Et(n));
3111
3111
  }, e.prototype.parseArgument = function(t, r) {
3112
3112
  var n = this.clonePosition();
3113
3113
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3123,7 +3123,7 @@ var Li = (
3123
3123
  case 125:
3124
3124
  return this.bump(), {
3125
3125
  val: {
3126
- type: C.argument,
3126
+ type: P.argument,
3127
3127
  // value does not include the opening and closing braces.
3128
3128
  value: i,
3129
3129
  location: S(n, this.clonePosition())
@@ -3136,7 +3136,7 @@ var Li = (
3136
3136
  return this.error(w.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3137
3137
  }
3138
3138
  }, e.prototype.parseIdentifierIfPossible = function() {
3139
- var t = this.clonePosition(), r = this.offset(), n = _t(this.message, r), i = r + n.length;
3139
+ var t = this.clonePosition(), r = this.offset(), n = xt(this.message, r), i = r + n.length;
3140
3140
  this.bumpTo(i);
3141
3141
  var o = this.clonePosition(), a = S(t, o);
3142
3142
  return { value: n, location: a };
@@ -3152,47 +3152,47 @@ var Li = (
3152
3152
  var u = null;
3153
3153
  if (this.bumpIf(",")) {
3154
3154
  this.bumpSpace();
3155
- var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3156
- if (f.err)
3157
- return f;
3158
- var d = Oi(f.val);
3159
- if (d.length === 0)
3155
+ var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3156
+ if (d.err)
3157
+ return d;
3158
+ var c = Ii(d.val);
3159
+ if (c.length === 0)
3160
3160
  return this.error(w.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3161
- var m = S(c, this.clonePosition());
3162
- u = { style: d, styleLocation: m };
3161
+ var g = S(h, this.clonePosition());
3162
+ u = { style: c, styleLocation: g };
3163
3163
  }
3164
- var h = this.tryParseArgumentClose(i);
3165
- if (h.err)
3166
- return h;
3164
+ var f = this.tryParseArgumentClose(i);
3165
+ if (f.err)
3166
+ return f;
3167
3167
  var p = S(i, this.clonePosition());
3168
- if (u && Qt(u?.style, "::", 0)) {
3169
- var _ = Bi(u.style.slice(2));
3168
+ if (u && er(u?.style, "::", 0)) {
3169
+ var v = Ni(u.style.slice(2));
3170
3170
  if (s === "number") {
3171
- var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
3172
- return f.err ? f : {
3173
- val: { type: C.number, value: n, location: p, style: f.val },
3171
+ var d = this.parseNumberSkeletonFromString(v, u.styleLocation);
3172
+ return d.err ? d : {
3173
+ val: { type: P.number, value: n, location: p, style: d.val },
3174
3174
  err: null
3175
3175
  };
3176
3176
  } else {
3177
- if (_.length === 0)
3177
+ if (v.length === 0)
3178
3178
  return this.error(w.EXPECT_DATE_TIME_SKELETON, p);
3179
- var x = _;
3180
- this.locale && (x = yi(_, this.locale));
3181
- var d = {
3182
- type: he.dateTime,
3183
- pattern: x,
3179
+ var E = v;
3180
+ this.locale && (E = Ei(v, this.locale));
3181
+ var c = {
3182
+ type: ce.dateTime,
3183
+ pattern: E,
3184
3184
  location: u.styleLocation,
3185
- parsedOptions: this.shouldParseSkeletons ? hi(x) : {}
3186
- }, y = s === "date" ? C.date : C.time;
3185
+ parsedOptions: this.shouldParseSkeletons ? di(E) : {}
3186
+ }, y = s === "date" ? P.date : P.time;
3187
3187
  return {
3188
- val: { type: y, value: n, location: p, style: d },
3188
+ val: { type: y, value: n, location: p, style: c },
3189
3189
  err: null
3190
3190
  };
3191
3191
  }
3192
3192
  }
3193
3193
  return {
3194
3194
  val: {
3195
- type: s === "number" ? C.number : s === "date" ? C.date : C.time,
3195
+ type: s === "number" ? P.number : s === "date" ? P.date : P.time,
3196
3196
  value: n,
3197
3197
  location: p,
3198
3198
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3203,43 +3203,43 @@ var Li = (
3203
3203
  case "plural":
3204
3204
  case "selectordinal":
3205
3205
  case "select": {
3206
- var v = this.clonePosition();
3206
+ var _ = this.clonePosition();
3207
3207
  if (this.bumpSpace(), !this.bumpIf(","))
3208
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, S(v, Je({}, v)));
3208
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, S(_, Qe({}, _)));
3209
3209
  this.bumpSpace();
3210
- var b = this.parseIdentifierIfPossible(), H = 0;
3211
- if (s !== "select" && b.value === "offset") {
3210
+ var m = this.parseIdentifierIfPossible(), T = 0;
3211
+ if (s !== "select" && m.value === "offset") {
3212
3212
  if (!this.bumpIf(":"))
3213
3213
  return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3214
3214
  this.bumpSpace();
3215
- var f = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3216
- if (f.err)
3217
- return f;
3218
- this.bumpSpace(), b = this.parseIdentifierIfPossible(), H = f.val;
3215
+ var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3216
+ if (d.err)
3217
+ return d;
3218
+ this.bumpSpace(), m = this.parseIdentifierIfPossible(), T = d.val;
3219
3219
  }
3220
- var L = this.tryParsePluralOrSelectOptions(t, s, r, b);
3221
- if (L.err)
3222
- return L;
3223
- var h = this.tryParseArgumentClose(i);
3224
- if (h.err)
3225
- return h;
3226
- var J = S(i, this.clonePosition());
3220
+ var N = this.tryParsePluralOrSelectOptions(t, s, r, m);
3221
+ if (N.err)
3222
+ return N;
3223
+ var f = this.tryParseArgumentClose(i);
3224
+ if (f.err)
3225
+ return f;
3226
+ var X = S(i, this.clonePosition());
3227
3227
  return s === "select" ? {
3228
3228
  val: {
3229
- type: C.select,
3229
+ type: P.select,
3230
3230
  value: n,
3231
- options: qt(L.val),
3232
- location: J
3231
+ options: tr(N.val),
3232
+ location: X
3233
3233
  },
3234
3234
  err: null
3235
3235
  } : {
3236
3236
  val: {
3237
- type: C.plural,
3237
+ type: P.plural,
3238
3238
  value: n,
3239
- options: qt(L.val),
3240
- offset: H,
3239
+ options: tr(N.val),
3240
+ offset: T,
3241
3241
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3242
- location: J
3242
+ location: X
3243
3243
  },
3244
3244
  err: null
3245
3245
  };
@@ -3287,50 +3287,50 @@ var Li = (
3287
3287
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3288
3288
  var n = [];
3289
3289
  try {
3290
- n = pi(t);
3290
+ n = bi(t);
3291
3291
  } catch {
3292
3292
  return this.error(w.INVALID_NUMBER_SKELETON, r);
3293
3293
  }
3294
3294
  return {
3295
3295
  val: {
3296
- type: he.number,
3296
+ type: ce.number,
3297
3297
  tokens: n,
3298
3298
  location: r,
3299
- parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
3299
+ parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
3300
3300
  },
3301
3301
  err: null
3302
3302
  };
3303
3303
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3304
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3304
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3305
3305
  if (u.length === 0) {
3306
- var f = this.clonePosition();
3306
+ var d = this.clonePosition();
3307
3307
  if (r !== "select" && this.bumpIf("=")) {
3308
- var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3309
- if (d.err)
3310
- return d;
3311
- c = S(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3308
+ var c = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3309
+ if (c.err)
3310
+ return c;
3311
+ h = S(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3312
3312
  } else
3313
3313
  break;
3314
3314
  }
3315
3315
  if (l.has(u))
3316
- return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3316
+ return this.error(r === "select" ? w.DUPLICATE_SELECT_ARGUMENT_SELECTOR : w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3317
3317
  u === "other" && (a = !0), this.bumpSpace();
3318
- var m = this.clonePosition();
3318
+ var g = this.clonePosition();
3319
3319
  if (!this.bumpIf("{"))
3320
3320
  return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3321
- var h = this.parseMessage(t + 1, r, n);
3322
- if (h.err)
3323
- return h;
3324
- var p = this.tryParseArgumentClose(m);
3321
+ var f = this.parseMessage(t + 1, r, n);
3322
+ if (f.err)
3323
+ return f;
3324
+ var p = this.tryParseArgumentClose(g);
3325
3325
  if (p.err)
3326
3326
  return p;
3327
3327
  s.push([
3328
3328
  u,
3329
3329
  {
3330
- value: h.val,
3331
- location: S(m, this.clonePosition())
3330
+ value: f.val,
3331
+ location: S(g, this.clonePosition())
3332
3332
  }
3333
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3333
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3334
3334
  }
3335
3335
  return s.length === 0 ? this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR : w.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(w.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3336
3336
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3344,7 +3344,7 @@ var Li = (
3344
3344
  break;
3345
3345
  }
3346
3346
  var l = S(i, this.clonePosition());
3347
- return o ? (a *= n, Mi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3347
+ return o ? (a *= n, Oi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3348
3348
  }, e.prototype.offset = function() {
3349
3349
  return this.position.offset;
3350
3350
  }, e.prototype.isEOF = function() {
@@ -3359,7 +3359,7 @@ var Li = (
3359
3359
  var t = this.position.offset;
3360
3360
  if (t >= this.message.length)
3361
3361
  throw Error("out of bound");
3362
- var r = Vr(this.message, t);
3362
+ var r = zr(this.message, t);
3363
3363
  if (r === void 0)
3364
3364
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3365
3365
  return r;
@@ -3378,7 +3378,7 @@ var Li = (
3378
3378
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3379
3379
  }
3380
3380
  }, e.prototype.bumpIf = function(t) {
3381
- if (Qt(this.message, t, this.offset())) {
3381
+ if (er(this.message, t, this.offset())) {
3382
3382
  for (var r = 0; r < t.length; r++)
3383
3383
  this.bump();
3384
3384
  return !0;
@@ -3400,7 +3400,7 @@ var Li = (
3400
3400
  break;
3401
3401
  }
3402
3402
  }, e.prototype.bumpSpace = function() {
3403
- for (; !this.isEOF() && Xr(this.char()); )
3403
+ for (; !this.isEOF() && Yr(this.char()); )
3404
3404
  this.bump();
3405
3405
  }, e.prototype.peek = function() {
3406
3406
  if (this.isEOF())
@@ -3410,47 +3410,47 @@ var Li = (
3410
3410
  }, e;
3411
3411
  }()
3412
3412
  );
3413
- function xt(e) {
3413
+ function wt(e) {
3414
3414
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3415
3415
  }
3416
- function Ni(e) {
3417
- return xt(e) || e === 47;
3416
+ function Di(e) {
3417
+ return wt(e) || e === 47;
3418
3418
  }
3419
- function Ii(e) {
3419
+ function $i(e) {
3420
3420
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3421
3421
  }
3422
- function Xr(e) {
3422
+ function Yr(e) {
3423
3423
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3424
3424
  }
3425
- function Ri(e) {
3425
+ function Ui(e) {
3426
3426
  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;
3427
3427
  }
3428
- function Et(e) {
3428
+ function St(e) {
3429
3429
  e.forEach(function(t) {
3430
- if (delete t.location, Rr(t) || $r(t))
3430
+ if (delete t.location, Ur(t) || Gr(t))
3431
3431
  for (var r in t.options)
3432
- delete t.options[r].location, Et(t.options[r].value);
3432
+ delete t.options[r].location, St(t.options[r].value);
3433
3433
  else
3434
- Lr(t) && Ur(t.style) || (Nr(t) || Ir(t)) && gt(t.style) ? delete t.style.location : Dr(t) && Et(t.children);
3434
+ Rr(t) && jr(t.style) || (Dr(t) || $r(t)) && vt(t.style) ? delete t.style.location : Fr(t) && St(t.children);
3435
3435
  });
3436
3436
  }
3437
- function $i(e, t) {
3438
- t === void 0 && (t = {}), t = Je({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3439
- var r = new Li(e, t).parse();
3437
+ function Gi(e, t) {
3438
+ t === void 0 && (t = {}), t = Qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3439
+ var r = new Ri(e, t).parse();
3440
3440
  if (r.err) {
3441
3441
  var n = SyntaxError(w[r.err.kind]);
3442
3442
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3443
3443
  }
3444
- return t?.captureLocation || Et(r.val), r.val;
3444
+ return t?.captureLocation || St(r.val), r.val;
3445
3445
  }
3446
3446
  var fe;
3447
3447
  (function(e) {
3448
3448
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3449
3449
  })(fe || (fe = {}));
3450
- var rt = (
3450
+ var it = (
3451
3451
  /** @class */
3452
3452
  function(e) {
3453
- tt(t, e);
3453
+ nt(t, e);
3454
3454
  function t(r, n, i) {
3455
3455
  var o = e.call(this, r) || this;
3456
3456
  return o.code = n, o.originalMessage = i, o;
@@ -3459,48 +3459,48 @@ var rt = (
3459
3459
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3460
3460
  }, t;
3461
3461
  }(Error)
3462
- ), tr = (
3462
+ ), nr = (
3463
3463
  /** @class */
3464
3464
  function(e) {
3465
- tt(t, e);
3465
+ nt(t, e);
3466
3466
  function t(r, n, i, o) {
3467
3467
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3468
3468
  }
3469
3469
  return t;
3470
- }(rt)
3471
- ), Di = (
3470
+ }(it)
3471
+ ), Fi = (
3472
3472
  /** @class */
3473
3473
  function(e) {
3474
- tt(t, e);
3474
+ nt(t, e);
3475
3475
  function t(r, n, i) {
3476
3476
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3477
3477
  }
3478
3478
  return t;
3479
- }(rt)
3480
- ), Ui = (
3479
+ }(it)
3480
+ ), ji = (
3481
3481
  /** @class */
3482
3482
  function(e) {
3483
- tt(t, e);
3483
+ nt(t, e);
3484
3484
  function t(r, n) {
3485
3485
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3486
3486
  }
3487
3487
  return t;
3488
- }(rt)
3488
+ }(it)
3489
3489
  ), O;
3490
3490
  (function(e) {
3491
3491
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3492
3492
  })(O || (O = {}));
3493
- function Gi(e) {
3493
+ function ki(e) {
3494
3494
  return e.length < 2 ? e : e.reduce(function(t, r) {
3495
3495
  var n = t[t.length - 1];
3496
3496
  return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3497
3497
  }, []);
3498
3498
  }
3499
- function Fi(e) {
3499
+ function Vi(e) {
3500
3500
  return typeof e == "function";
3501
3501
  }
3502
- function je(e, t, r, n, i, o, a) {
3503
- if (e.length === 1 && Zt(e[0]))
3502
+ function Ve(e, t, r, n, i, o, a) {
3503
+ if (e.length === 1 && Jt(e[0]))
3504
3504
  return [
3505
3505
  {
3506
3506
  type: O.literal,
@@ -3508,106 +3508,106 @@ function je(e, t, r, n, i, o, a) {
3508
3508
  }
3509
3509
  ];
3510
3510
  for (var s = [], l = 0, u = e; l < u.length; l++) {
3511
- var c = u[l];
3512
- if (Zt(c)) {
3511
+ var h = u[l];
3512
+ if (Jt(h)) {
3513
3513
  s.push({
3514
3514
  type: O.literal,
3515
- value: c.value
3515
+ value: h.value
3516
3516
  });
3517
3517
  continue;
3518
3518
  }
3519
- if (li(c)) {
3519
+ if (fi(h)) {
3520
3520
  typeof o == "number" && s.push({
3521
3521
  type: O.literal,
3522
3522
  value: r.getNumberFormat(t).format(o)
3523
3523
  });
3524
3524
  continue;
3525
3525
  }
3526
- var f = c.value;
3527
- if (!(i && f in i))
3528
- throw new Ui(f, a);
3529
- var d = i[f];
3530
- if (ui(c)) {
3531
- (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3532
- type: typeof d == "string" ? O.literal : O.object,
3533
- value: d
3526
+ var d = h.value;
3527
+ if (!(i && d in i))
3528
+ throw new ji(d, a);
3529
+ var c = i[d];
3530
+ if (ci(h)) {
3531
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
3532
+ type: typeof c == "string" ? O.literal : O.object,
3533
+ value: c
3534
3534
  });
3535
3535
  continue;
3536
3536
  }
3537
- if (Nr(c)) {
3538
- var m = typeof c.style == "string" ? n.date[c.style] : gt(c.style) ? c.style.parsedOptions : void 0;
3537
+ if (Dr(h)) {
3538
+ var g = typeof h.style == "string" ? n.date[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
3539
3539
  s.push({
3540
3540
  type: O.literal,
3541
- value: r.getDateTimeFormat(t, m).format(d)
3541
+ value: r.getDateTimeFormat(t, g).format(c)
3542
3542
  });
3543
3543
  continue;
3544
3544
  }
3545
- if (Ir(c)) {
3546
- var m = typeof c.style == "string" ? n.time[c.style] : gt(c.style) ? c.style.parsedOptions : n.time.medium;
3545
+ if ($r(h)) {
3546
+ var g = typeof h.style == "string" ? n.time[h.style] : vt(h.style) ? h.style.parsedOptions : n.time.medium;
3547
3547
  s.push({
3548
3548
  type: O.literal,
3549
- value: r.getDateTimeFormat(t, m).format(d)
3549
+ value: r.getDateTimeFormat(t, g).format(c)
3550
3550
  });
3551
3551
  continue;
3552
3552
  }
3553
- if (Lr(c)) {
3554
- var m = typeof c.style == "string" ? n.number[c.style] : Ur(c.style) ? c.style.parsedOptions : void 0;
3555
- m && m.scale && (d = d * (m.scale || 1)), s.push({
3553
+ if (Rr(h)) {
3554
+ var g = typeof h.style == "string" ? n.number[h.style] : jr(h.style) ? h.style.parsedOptions : void 0;
3555
+ g && g.scale && (c = c * (g.scale || 1)), s.push({
3556
3556
  type: O.literal,
3557
- value: r.getNumberFormat(t, m).format(d)
3557
+ value: r.getNumberFormat(t, g).format(c)
3558
3558
  });
3559
3559
  continue;
3560
3560
  }
3561
- if (Dr(c)) {
3562
- var h = c.children, p = c.value, _ = i[p];
3563
- if (!Fi(_))
3564
- throw new Di(p, "function", a);
3565
- var x = je(h, t, r, n, i, o), y = _(x.map(function(H) {
3566
- return H.value;
3561
+ if (Fr(h)) {
3562
+ var f = h.children, p = h.value, v = i[p];
3563
+ if (!Vi(v))
3564
+ throw new Fi(p, "function", a);
3565
+ var E = Ve(f, t, r, n, i, o), y = v(E.map(function(T) {
3566
+ return T.value;
3567
3567
  }));
3568
- Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(H) {
3568
+ Array.isArray(y) || (y = [y]), s.push.apply(s, y.map(function(T) {
3569
3569
  return {
3570
- type: typeof H == "string" ? O.literal : O.object,
3571
- value: H
3570
+ type: typeof T == "string" ? O.literal : O.object,
3571
+ value: T
3572
3572
  };
3573
3573
  }));
3574
3574
  }
3575
- if (Rr(c)) {
3576
- var v = c.options[d] || c.options.other;
3577
- if (!v)
3578
- throw new tr(c.value, d, Object.keys(c.options), a);
3579
- s.push.apply(s, je(v.value, t, r, n, i));
3575
+ if (Ur(h)) {
3576
+ var _ = h.options[c] || h.options.other;
3577
+ if (!_)
3578
+ throw new nr(h.value, c, Object.keys(h.options), a);
3579
+ s.push.apply(s, Ve(_.value, t, r, n, i));
3580
3580
  continue;
3581
3581
  }
3582
- if ($r(c)) {
3583
- var v = c.options["=".concat(d)];
3584
- if (!v) {
3582
+ if (Gr(h)) {
3583
+ var _ = h.options["=".concat(c)];
3584
+ if (!_) {
3585
3585
  if (!Intl.PluralRules)
3586
- throw new rt(`Intl.PluralRules is not available in this environment.
3586
+ throw new it(`Intl.PluralRules is not available in this environment.
3587
3587
  Try polyfilling it using "@formatjs/intl-pluralrules"
3588
3588
  `, fe.MISSING_INTL_API, a);
3589
- var b = r.getPluralRules(t, { type: c.pluralType }).select(d - (c.offset || 0));
3590
- v = c.options[b] || c.options.other;
3589
+ var m = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3590
+ _ = h.options[m] || h.options.other;
3591
3591
  }
3592
- if (!v)
3593
- throw new tr(c.value, d, Object.keys(c.options), a);
3594
- s.push.apply(s, je(v.value, t, r, n, i, d - (c.offset || 0)));
3592
+ if (!_)
3593
+ throw new nr(h.value, c, Object.keys(h.options), a);
3594
+ s.push.apply(s, Ve(_.value, t, r, n, i, c - (h.offset || 0)));
3595
3595
  continue;
3596
3596
  }
3597
3597
  }
3598
- return Gi(s);
3598
+ return ki(s);
3599
3599
  }
3600
- function ji(e, t) {
3601
- return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3602
- return r[n] = D(D({}, e[n]), t[n] || {}), r;
3600
+ function Wi(e, t) {
3601
+ return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3602
+ return r[n] = G(G({}, e[n]), t[n] || {}), r;
3603
3603
  }, {})) : e;
3604
3604
  }
3605
- function ki(e, t) {
3605
+ function Xi(e, t) {
3606
3606
  return t ? Object.keys(e).reduce(function(r, n) {
3607
- return r[n] = ji(e[n], t[n]), r;
3608
- }, D({}, e)) : e;
3607
+ return r[n] = Wi(e[n], t[n]), r;
3608
+ }, G({}, e)) : e;
3609
3609
  }
3610
- function ft(e) {
3610
+ function dt(e) {
3611
3611
  return {
3612
3612
  create: function() {
3613
3613
  return {
@@ -3621,39 +3621,39 @@ function ft(e) {
3621
3621
  }
3622
3622
  };
3623
3623
  }
3624
- function Vi(e) {
3624
+ function zi(e) {
3625
3625
  return e === void 0 && (e = {
3626
3626
  number: {},
3627
3627
  dateTime: {},
3628
3628
  pluralRules: {}
3629
3629
  }), {
3630
- getNumberFormat: lt(function() {
3630
+ getNumberFormat: ct(function() {
3631
3631
  for (var t, r = [], n = 0; n < arguments.length; n++)
3632
3632
  r[n] = arguments[n];
3633
- return new ((t = Intl.NumberFormat).bind.apply(t, ut([void 0], r, !1)))();
3633
+ return new ((t = Intl.NumberFormat).bind.apply(t, ht([void 0], r, !1)))();
3634
3634
  }, {
3635
- cache: ft(e.number),
3636
- strategy: ct.variadic
3635
+ cache: dt(e.number),
3636
+ strategy: ft.variadic
3637
3637
  }),
3638
- getDateTimeFormat: lt(function() {
3638
+ getDateTimeFormat: ct(function() {
3639
3639
  for (var t, r = [], n = 0; n < arguments.length; n++)
3640
3640
  r[n] = arguments[n];
3641
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ut([void 0], r, !1)))();
3641
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ht([void 0], r, !1)))();
3642
3642
  }, {
3643
- cache: ft(e.dateTime),
3644
- strategy: ct.variadic
3643
+ cache: dt(e.dateTime),
3644
+ strategy: ft.variadic
3645
3645
  }),
3646
- getPluralRules: lt(function() {
3646
+ getPluralRules: ct(function() {
3647
3647
  for (var t, r = [], n = 0; n < arguments.length; n++)
3648
3648
  r[n] = arguments[n];
3649
- return new ((t = Intl.PluralRules).bind.apply(t, ut([void 0], r, !1)))();
3649
+ return new ((t = Intl.PluralRules).bind.apply(t, ht([void 0], r, !1)))();
3650
3650
  }, {
3651
- cache: ft(e.pluralRules),
3652
- strategy: ct.variadic
3651
+ cache: dt(e.pluralRules),
3652
+ strategy: ft.variadic
3653
3653
  })
3654
3654
  };
3655
3655
  }
3656
- var zr = (
3656
+ var Jr = (
3657
3657
  /** @class */
3658
3658
  function() {
3659
3659
  function e(t, r, n, i) {
@@ -3667,12 +3667,12 @@ var zr = (
3667
3667
  var u = o.formatToParts(l);
3668
3668
  if (u.length === 1)
3669
3669
  return u[0].value;
3670
- var c = u.reduce(function(f, d) {
3671
- return !f.length || d.type !== O.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3670
+ var h = u.reduce(function(d, c) {
3671
+ return !d.length || c.type !== O.literal || typeof d[d.length - 1] != "string" ? d.push(c.value) : d[d.length - 1] += c.value, d;
3672
3672
  }, []);
3673
- return c.length <= 1 ? c[0] || "" : c;
3673
+ return h.length <= 1 ? h[0] || "" : h;
3674
3674
  }, this.formatToParts = function(l) {
3675
- return je(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3675
+ return Ve(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3676
3676
  }, this.resolvedOptions = function() {
3677
3677
  var l;
3678
3678
  return {
@@ -3685,13 +3685,13 @@ var zr = (
3685
3685
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3686
3686
  var a = i || {};
3687
3687
  a.formatters;
3688
- var s = ei(a, ["formatters"]);
3689
- this.ast = e.__parse(t, D(D({}, s), { locale: this.resolvedLocale }));
3688
+ var s = ni(a, ["formatters"]);
3689
+ this.ast = e.__parse(t, G(G({}, s), { locale: this.resolvedLocale }));
3690
3690
  } else
3691
3691
  this.ast = t;
3692
3692
  if (!Array.isArray(this.ast))
3693
3693
  throw new TypeError("A message must be provided as a String or AST.");
3694
- this.formats = ki(e.formats, n), this.formatters = i && i.formatters || Vi(this.formatterCache);
3694
+ this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || zi(this.formatterCache);
3695
3695
  }
3696
3696
  return Object.defineProperty(e, "defaultLocale", {
3697
3697
  get: function() {
@@ -3704,7 +3704,7 @@ var zr = (
3704
3704
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3705
3705
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3706
3706
  }
3707
- }, e.__parse = $i, e.formats = {
3707
+ }, e.__parse = Gi, e.formats = {
3708
3708
  number: {
3709
3709
  integer: {
3710
3710
  maximumFractionDigits: 0
@@ -3765,7 +3765,7 @@ var zr = (
3765
3765
  }, e;
3766
3766
  }()
3767
3767
  );
3768
- function Wi(e, t) {
3768
+ function Zi(e, t) {
3769
3769
  if (t == null)
3770
3770
  return;
3771
3771
  if (t in e)
@@ -3786,101 +3786,101 @@ function Wi(e, t) {
3786
3786
  n = void 0;
3787
3787
  return n;
3788
3788
  }
3789
- const z = {}, Xi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Zr = (e, t) => {
3789
+ const z = {}, Yi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Kr = (e, t) => {
3790
3790
  if (t == null)
3791
3791
  return;
3792
3792
  if (t in z && e in z[t])
3793
3793
  return z[t][e];
3794
3794
  const r = Me(t);
3795
3795
  for (let n = 0; n < r.length; n++) {
3796
- const i = r[n], o = Zi(i, e);
3796
+ const i = r[n], o = Ki(i, e);
3797
3797
  if (o)
3798
- return Xi(e, t, o);
3798
+ return Yi(e, t, o);
3799
3799
  }
3800
3800
  };
3801
- let Gt;
3802
- const Ce = et({});
3803
- function zi(e) {
3804
- return Gt[e] || null;
3801
+ let jt;
3802
+ const Ae = rt({});
3803
+ function Ji(e) {
3804
+ return jt[e] || null;
3805
3805
  }
3806
- function Yr(e) {
3807
- return e in Gt;
3806
+ function Qr(e) {
3807
+ return e in jt;
3808
3808
  }
3809
- function Zi(e, t) {
3810
- if (!Yr(e))
3809
+ function Ki(e, t) {
3810
+ if (!Qr(e))
3811
3811
  return null;
3812
- const r = zi(e);
3813
- return Wi(r, t);
3812
+ const r = Ji(e);
3813
+ return Zi(r, t);
3814
3814
  }
3815
- function Yi(e) {
3815
+ function Qi(e) {
3816
3816
  if (e == null)
3817
3817
  return;
3818
3818
  const t = Me(e);
3819
3819
  for (let r = 0; r < t.length; r++) {
3820
3820
  const n = t[r];
3821
- if (Yr(n))
3821
+ if (Qr(n))
3822
3822
  return n;
3823
3823
  }
3824
3824
  }
3825
- function Jr(e, ...t) {
3826
- delete z[e], Ce.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
3825
+ function qr(e, ...t) {
3826
+ delete z[e], Ae.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3827
3827
  }
3828
3828
  me(
3829
- [Ce],
3829
+ [Ae],
3830
3830
  ([e]) => Object.keys(e)
3831
3831
  );
3832
- Ce.subscribe((e) => Gt = e);
3833
- const ke = {};
3834
- function Ji(e, t) {
3835
- ke[e].delete(t), ke[e].size === 0 && delete ke[e];
3832
+ Ae.subscribe((e) => jt = e);
3833
+ const We = {};
3834
+ function qi(e, t) {
3835
+ We[e].delete(t), We[e].size === 0 && delete We[e];
3836
3836
  }
3837
- function Kr(e) {
3838
- return ke[e];
3837
+ function en(e) {
3838
+ return We[e];
3839
3839
  }
3840
- function Ki(e) {
3840
+ function eo(e) {
3841
3841
  return Me(e).map((t) => {
3842
- const r = Kr(t);
3842
+ const r = en(t);
3843
3843
  return [t, r ? [...r] : []];
3844
3844
  }).filter(([, t]) => t.length > 0);
3845
3845
  }
3846
- function Ke(e) {
3846
+ function qe(e) {
3847
3847
  return e == null ? !1 : Me(e).some(
3848
3848
  (t) => {
3849
3849
  var r;
3850
- return (r = Kr(t)) == null ? void 0 : r.size;
3850
+ return (r = en(t)) == null ? void 0 : r.size;
3851
3851
  }
3852
3852
  );
3853
3853
  }
3854
- function Qi(e, t) {
3854
+ function to(e, t) {
3855
3855
  return Promise.all(
3856
- t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
3857
- ).then((n) => Jr(e, ...n));
3856
+ t.map((n) => (qi(e, n), n().then((i) => i.default || i)))
3857
+ ).then((n) => qr(e, ...n));
3858
3858
  }
3859
3859
  const xe = {};
3860
- function Qr(e) {
3861
- if (!Ke(e))
3860
+ function tn(e) {
3861
+ if (!qe(e))
3862
3862
  return e in xe ? xe[e] : Promise.resolve();
3863
- const t = Ki(e);
3863
+ const t = eo(e);
3864
3864
  return xe[e] = Promise.all(
3865
3865
  t.map(
3866
- ([r, n]) => Qi(r, n)
3866
+ ([r, n]) => to(r, n)
3867
3867
  )
3868
3868
  ).then(() => {
3869
- if (Ke(e))
3870
- return Qr(e);
3869
+ if (qe(e))
3870
+ return tn(e);
3871
3871
  delete xe[e];
3872
3872
  }), xe[e];
3873
3873
  }
3874
- var rr = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, to = (e, t) => {
3874
+ var ir = Object.getOwnPropertySymbols, ro = Object.prototype.hasOwnProperty, no = Object.prototype.propertyIsEnumerable, io = (e, t) => {
3875
3875
  var r = {};
3876
3876
  for (var n in e)
3877
- qi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3878
- if (e != null && rr)
3879
- for (var n of rr(e))
3880
- t.indexOf(n) < 0 && eo.call(e, n) && (r[n] = e[n]);
3877
+ ro.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3878
+ if (e != null && ir)
3879
+ for (var n of ir(e))
3880
+ t.indexOf(n) < 0 && no.call(e, n) && (r[n] = e[n]);
3881
3881
  return r;
3882
3882
  };
3883
- const ro = {
3883
+ const oo = {
3884
3884
  number: {
3885
3885
  scientific: { notation: "scientific" },
3886
3886
  engineering: { notation: "engineering" },
@@ -3910,159 +3910,159 @@ const ro = {
3910
3910
  }
3911
3911
  }
3912
3912
  };
3913
- function no({ locale: e, id: t }) {
3913
+ function so({ locale: e, id: t }) {
3914
3914
  console.warn(
3915
3915
  `[svelte-i18n] The message "${t}" was not found in "${Me(
3916
3916
  e
3917
- ).join('", "')}".${Ke(Y()) ? `
3917
+ ).join('", "')}".${qe(Y()) ? `
3918
3918
 
3919
3919
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3920
3920
  );
3921
3921
  }
3922
- const io = {
3922
+ const ao = {
3923
3923
  fallbackLocale: null,
3924
3924
  loadingDelay: 200,
3925
- formats: ro,
3925
+ formats: oo,
3926
3926
  warnOnMissingMessages: !0,
3927
3927
  handleMissingMessage: void 0,
3928
3928
  ignoreTag: !0
3929
- }, Ee = io;
3929
+ }, we = ao;
3930
3930
  function pe() {
3931
- return Ee;
3931
+ return we;
3932
3932
  }
3933
- function oo(e) {
3934
- const t = e, { formats: r } = t, n = to(t, ["formats"]);
3933
+ function uo(e) {
3934
+ const t = e, { formats: r } = t, n = io(t, ["formats"]);
3935
3935
  let i = e.fallbackLocale;
3936
3936
  if (e.initialLocale)
3937
3937
  try {
3938
- zr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3938
+ Jr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3939
3939
  } catch {
3940
3940
  console.warn(
3941
3941
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3942
3942
  );
3943
3943
  }
3944
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = no : console.warn(
3944
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = so : console.warn(
3945
3945
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3946
- )), 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)), ee.set(i);
3946
+ )), Object.assign(we, n, { initialLocale: i }), r && ("number" in r && Object.assign(we.formats.number, r.number), "date" in r && Object.assign(we.formats.date, r.date), "time" in r && Object.assign(we.formats.time, r.time)), ee.set(i);
3947
3947
  }
3948
- const pt = et(!1);
3949
- var so = Object.defineProperty, ao = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, nr = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, co = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ho = (e, t) => {
3948
+ const mt = rt(!1);
3949
+ var lo = Object.defineProperty, ho = Object.defineProperties, co = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, fo = Object.prototype.hasOwnProperty, po = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
3950
3950
  for (var r in t || (t = {}))
3951
- lo.call(t, r) && ir(e, r, t[r]);
3952
- if (nr)
3953
- for (var r of nr(t))
3954
- co.call(t, r) && ir(e, r, t[r]);
3951
+ fo.call(t, r) && sr(e, r, t[r]);
3952
+ if (or)
3953
+ for (var r of or(t))
3954
+ po.call(t, r) && sr(e, r, t[r]);
3955
3955
  return e;
3956
- }, fo = (e, t) => ao(e, uo(t));
3957
- let wt;
3958
- const Qe = et(null);
3959
- function or(e) {
3956
+ }, bo = (e, t) => ho(e, co(t));
3957
+ let Tt;
3958
+ const et = rt(null);
3959
+ function ar(e) {
3960
3960
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3961
3961
  }
3962
3962
  function Me(e, t = pe().fallbackLocale) {
3963
- const r = or(e);
3964
- return t ? [.../* @__PURE__ */ new Set([...r, ...or(t)])] : r;
3963
+ const r = ar(e);
3964
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
3965
3965
  }
3966
3966
  function Y() {
3967
- return wt ?? void 0;
3967
+ return Tt ?? void 0;
3968
3968
  }
3969
- Qe.subscribe((e) => {
3970
- wt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3969
+ et.subscribe((e) => {
3970
+ Tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3971
3971
  });
3972
- const po = (e) => {
3973
- if (e && Yi(e) && Ke(e)) {
3972
+ const go = (e) => {
3973
+ if (e && Qi(e) && qe(e)) {
3974
3974
  const { loadingDelay: t } = pe();
3975
3975
  let r;
3976
3976
  return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
3977
- () => pt.set(!0),
3977
+ () => mt.set(!0),
3978
3978
  t
3979
- ) : pt.set(!0), Qr(e).then(() => {
3980
- Qe.set(e);
3979
+ ) : mt.set(!0), tn(e).then(() => {
3980
+ et.set(e);
3981
3981
  }).finally(() => {
3982
- clearTimeout(r), pt.set(!1);
3982
+ clearTimeout(r), mt.set(!1);
3983
3983
  });
3984
3984
  }
3985
- return Qe.set(e);
3986
- }, ee = fo(ho({}, Qe), {
3987
- set: po
3988
- }), nt = (e) => {
3985
+ return et.set(e);
3986
+ }, ee = bo(mo({}, et), {
3987
+ set: go
3988
+ }), ot = (e) => {
3989
3989
  const t = /* @__PURE__ */ Object.create(null);
3990
3990
  return (n) => {
3991
3991
  const i = JSON.stringify(n);
3992
3992
  return i in t ? t[i] : t[i] = e(n);
3993
3993
  };
3994
3994
  };
3995
- var mo = Object.defineProperty, qe = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
3995
+ var yo = Object.defineProperty, tt = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, kt = (e, t) => {
3996
3996
  for (var r in t || (t = {}))
3997
- qr.call(t, r) && sr(e, r, t[r]);
3998
- if (qe)
3999
- for (var r of qe(t))
4000
- en.call(t, r) && sr(e, r, t[r]);
3997
+ rn.call(t, r) && ur(e, r, t[r]);
3998
+ if (tt)
3999
+ for (var r of tt(t))
4000
+ nn.call(t, r) && ur(e, r, t[r]);
4001
4001
  return e;
4002
4002
  }, be = (e, t) => {
4003
4003
  var r = {};
4004
4004
  for (var n in e)
4005
- qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4006
- if (e != null && qe)
4007
- for (var n of qe(e))
4008
- t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
4005
+ rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4006
+ if (e != null && tt)
4007
+ for (var n of tt(e))
4008
+ t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
4009
4009
  return r;
4010
4010
  };
4011
- const He = (e, t) => {
4011
+ const Ce = (e, t) => {
4012
4012
  const { formats: r } = pe();
4013
4013
  if (e in r && t in r[e])
4014
4014
  return r[e][t];
4015
4015
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4016
- }, bo = nt(
4016
+ }, vo = ot(
4017
4017
  (e) => {
4018
4018
  var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4019
4019
  if (r == null)
4020
4020
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4021
- return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4021
+ return n && (i = Ce("number", n)), new Intl.NumberFormat(r, i);
4022
4022
  }
4023
- ), go = nt(
4023
+ ), _o = ot(
4024
4024
  (e) => {
4025
4025
  var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4026
4026
  if (r == null)
4027
4027
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4028
- return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4028
+ return n ? i = Ce("date", n) : Object.keys(i).length === 0 && (i = Ce("date", "short")), new Intl.DateTimeFormat(r, i);
4029
4029
  }
4030
- ), yo = nt(
4030
+ ), Eo = ot(
4031
4031
  (e) => {
4032
4032
  var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4033
4033
  if (r == null)
4034
4034
  throw new Error(
4035
4035
  '[svelte-i18n] A "locale" must be set to format time values'
4036
4036
  );
4037
- return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4037
+ return n ? i = Ce("time", n) : Object.keys(i).length === 0 && (i = Ce("time", "short")), new Intl.DateTimeFormat(r, i);
4038
4038
  }
4039
- ), vo = (e = {}) => {
4039
+ ), xo = (e = {}) => {
4040
4040
  var t = e, {
4041
4041
  locale: r = Y()
4042
4042
  } = t, n = be(t, [
4043
4043
  "locale"
4044
4044
  ]);
4045
- return bo(Ft({ locale: r }, n));
4046
- }, _o = (e = {}) => {
4045
+ return vo(kt({ locale: r }, n));
4046
+ }, wo = (e = {}) => {
4047
4047
  var t = e, {
4048
4048
  locale: r = Y()
4049
4049
  } = t, n = be(t, [
4050
4050
  "locale"
4051
4051
  ]);
4052
- return go(Ft({ locale: r }, n));
4053
- }, xo = (e = {}) => {
4052
+ return _o(kt({ locale: r }, n));
4053
+ }, So = (e = {}) => {
4054
4054
  var t = e, {
4055
4055
  locale: r = Y()
4056
4056
  } = t, n = be(t, [
4057
4057
  "locale"
4058
4058
  ]);
4059
- return yo(Ft({ locale: r }, n));
4060
- }, Eo = nt(
4059
+ return Eo(kt({ locale: r }, n));
4060
+ }, To = ot(
4061
4061
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4062
- (e, t = Y()) => new zr(e, t, pe().formats, {
4062
+ (e, t = Y()) => new Jr(e, t, pe().formats, {
4063
4063
  ignoreTag: pe().ignoreTag
4064
4064
  })
4065
- ), wo = (e, t = {}) => {
4065
+ ), Ho = (e, t = {}) => {
4066
4066
  var r, n, i, o;
4067
4067
  let a = t;
4068
4068
  typeof e == "object" && (a = e, e = a.id);
@@ -4075,30 +4075,30 @@ const He = (e, t) => {
4075
4075
  throw new Error(
4076
4076
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4077
4077
  );
4078
- let c = Zr(e, l);
4079
- if (!c)
4080
- c = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4081
- else if (typeof c != "string")
4078
+ let h = Kr(e, l);
4079
+ if (!h)
4080
+ h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4081
+ else if (typeof h != "string")
4082
4082
  return console.warn(
4083
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4084
- ), c;
4083
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4084
+ ), h;
4085
4085
  if (!s)
4086
- return c;
4087
- let f = c;
4086
+ return h;
4087
+ let d = h;
4088
4088
  try {
4089
- f = Eo(c, l).format(s);
4090
- } catch (d) {
4091
- d instanceof Error && console.warn(
4089
+ d = To(h, l).format(s);
4090
+ } catch (c) {
4091
+ c instanceof Error && console.warn(
4092
4092
  `[svelte-i18n] Message "${e}" has syntax error:`,
4093
- d.message
4093
+ c.message
4094
4094
  );
4095
4095
  }
4096
- return f;
4097
- }, So = (e, t) => xo(t).format(e), To = (e, t) => _o(t).format(e), Po = (e, t) => vo(t).format(e), Ho = (e, t = Y()) => Zr(e, t), Co = me([ee, Ce], () => wo);
4098
- me([ee], () => So);
4099
- me([ee], () => To);
4096
+ return d;
4097
+ }, Po = (e, t) => So(t).format(e), Co = (e, t) => wo(t).format(e), Ao = (e, t) => xo(t).format(e), Mo = (e, t = Y()) => Kr(e, t), Bo = me([ee, Ae], () => Ho);
4100
4098
  me([ee], () => Po);
4101
- me([ee, Ce], () => Ho);
4099
+ me([ee], () => Co);
4100
+ me([ee], () => Ao);
4101
+ me([ee, Ae], () => Mo);
4102
4102
  /*! *****************************************************************************
4103
4103
  Copyright (c) Microsoft Corporation.
4104
4104
 
@@ -4113,24 +4113,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4113
4113
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4114
4114
  PERFORMANCE OF THIS SOFTWARE.
4115
4115
  ***************************************************************************** */
4116
- var St = function(e, t) {
4117
- return St = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4116
+ var Ht = function(e, t) {
4117
+ return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4118
4118
  r.__proto__ = n;
4119
4119
  } || function(r, n) {
4120
4120
  for (var i in n)
4121
4121
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
4122
- }, St(e, t);
4122
+ }, Ht(e, t);
4123
4123
  };
4124
- function Ae(e, t) {
4124
+ function Be(e, t) {
4125
4125
  if (typeof t != "function" && t !== null)
4126
4126
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4127
- St(e, t);
4127
+ Ht(e, t);
4128
4128
  function r() {
4129
4129
  this.constructor = e;
4130
4130
  }
4131
4131
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
4132
4132
  }
4133
- function Tt(e) {
4133
+ function Pt(e) {
4134
4134
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
4135
4135
  if (r)
4136
4136
  return r.call(e);
@@ -4142,7 +4142,7 @@ function Tt(e) {
4142
4142
  };
4143
4143
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4144
4144
  }
4145
- function Pt(e, t) {
4145
+ function Ct(e, t) {
4146
4146
  var r = typeof Symbol == "function" && e[Symbol.iterator];
4147
4147
  if (!r)
4148
4148
  return e;
@@ -4162,22 +4162,22 @@ function Pt(e, t) {
4162
4162
  }
4163
4163
  return o;
4164
4164
  }
4165
- function Ht(e, t, r) {
4165
+ function At(e, t, r) {
4166
4166
  if (arguments.length === 2)
4167
4167
  for (var n = 0, i = t.length, o; n < i; n++)
4168
4168
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
4169
4169
  return e.concat(o || t);
4170
4170
  }
4171
- function j(e) {
4171
+ function V(e) {
4172
4172
  return typeof e == "function";
4173
4173
  }
4174
- function tn(e) {
4174
+ function on(e) {
4175
4175
  var t = function(n) {
4176
4176
  Error.call(n), n.stack = new Error().stack;
4177
4177
  }, r = e(t);
4178
4178
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4179
4179
  }
4180
- var dt = tn(function(e) {
4180
+ var bt = on(function(e) {
4181
4181
  return function(r) {
4182
4182
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4183
4183
  ` + r.map(function(n, i) {
@@ -4186,13 +4186,13 @@ var dt = tn(function(e) {
4186
4186
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4187
4187
  };
4188
4188
  });
4189
- function Ct(e, t) {
4189
+ function Mt(e, t) {
4190
4190
  if (e) {
4191
4191
  var r = e.indexOf(t);
4192
4192
  0 <= r && e.splice(r, 1);
4193
4193
  }
4194
4194
  }
4195
- var it = function() {
4195
+ var st = function() {
4196
4196
  function e(t) {
4197
4197
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4198
4198
  }
@@ -4204,7 +4204,7 @@ var it = function() {
4204
4204
  if (a)
4205
4205
  if (this._parentage = null, Array.isArray(a))
4206
4206
  try {
4207
- for (var s = Tt(a), l = s.next(); !l.done; l = s.next()) {
4207
+ for (var s = Pt(a), l = s.next(); !l.done; l = s.next()) {
4208
4208
  var u = l.value;
4209
4209
  u.remove(this);
4210
4210
  }
@@ -4220,30 +4220,30 @@ var it = function() {
4220
4220
  }
4221
4221
  else
4222
4222
  a.remove(this);
4223
- var c = this.initialTeardown;
4224
- if (j(c))
4223
+ var h = this.initialTeardown;
4224
+ if (V(h))
4225
4225
  try {
4226
- c();
4226
+ h();
4227
4227
  } catch (p) {
4228
- o = p instanceof dt ? p.errors : [p];
4228
+ o = p instanceof bt ? p.errors : [p];
4229
4229
  }
4230
- var f = this._finalizers;
4231
- if (f) {
4230
+ var d = this._finalizers;
4231
+ if (d) {
4232
4232
  this._finalizers = null;
4233
4233
  try {
4234
- for (var d = Tt(f), m = d.next(); !m.done; m = d.next()) {
4235
- var h = m.value;
4234
+ for (var c = Pt(d), g = c.next(); !g.done; g = c.next()) {
4235
+ var f = g.value;
4236
4236
  try {
4237
- ar(h);
4237
+ lr(f);
4238
4238
  } catch (p) {
4239
- o = o ?? [], p instanceof dt ? o = Ht(Ht([], Pt(o)), Pt(p.errors)) : o.push(p);
4239
+ o = o ?? [], p instanceof bt ? o = At(At([], Ct(o)), Ct(p.errors)) : o.push(p);
4240
4240
  }
4241
4241
  }
4242
4242
  } catch (p) {
4243
4243
  n = { error: p };
4244
4244
  } finally {
4245
4245
  try {
4246
- m && !m.done && (i = d.return) && i.call(d);
4246
+ g && !g.done && (i = c.return) && i.call(c);
4247
4247
  } finally {
4248
4248
  if (n)
4249
4249
  throw n.error;
@@ -4251,13 +4251,13 @@ var it = function() {
4251
4251
  }
4252
4252
  }
4253
4253
  if (o)
4254
- throw new dt(o);
4254
+ throw new bt(o);
4255
4255
  }
4256
4256
  }, e.prototype.add = function(t) {
4257
4257
  var r;
4258
4258
  if (t && t !== this)
4259
4259
  if (this.closed)
4260
- ar(t);
4260
+ lr(t);
4261
4261
  else {
4262
4262
  if (t instanceof e) {
4263
4263
  if (t.closed || t._hasParent(this))
@@ -4274,52 +4274,52 @@ var it = function() {
4274
4274
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4275
4275
  }, e.prototype._removeParent = function(t) {
4276
4276
  var r = this._parentage;
4277
- r === t ? this._parentage = null : Array.isArray(r) && Ct(r, t);
4277
+ r === t ? this._parentage = null : Array.isArray(r) && Mt(r, t);
4278
4278
  }, e.prototype.remove = function(t) {
4279
4279
  var r = this._finalizers;
4280
- r && Ct(r, t), t instanceof e && t._removeParent(this);
4280
+ r && Mt(r, t), t instanceof e && t._removeParent(this);
4281
4281
  }, e.EMPTY = function() {
4282
4282
  var t = new e();
4283
4283
  return t.closed = !0, t;
4284
4284
  }(), e;
4285
- }(), rn = it.EMPTY;
4286
- function nn(e) {
4287
- return e instanceof it || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
4285
+ }(), sn = st.EMPTY;
4286
+ function an(e) {
4287
+ return e instanceof st || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
4288
4288
  }
4289
- function ar(e) {
4290
- j(e) ? e() : e.unsubscribe();
4289
+ function lr(e) {
4290
+ V(e) ? e() : e.unsubscribe();
4291
4291
  }
4292
- var Mo = {
4292
+ var Oo = {
4293
4293
  Promise: void 0
4294
- }, Ao = {
4294
+ }, Lo = {
4295
4295
  setTimeout: function(e, t) {
4296
4296
  for (var r = [], n = 2; n < arguments.length; n++)
4297
4297
  r[n - 2] = arguments[n];
4298
- return setTimeout.apply(void 0, Ht([e, t], Pt(r)));
4298
+ return setTimeout.apply(void 0, At([e, t], Ct(r)));
4299
4299
  },
4300
4300
  clearTimeout: function(e) {
4301
4301
  return clearTimeout(e);
4302
4302
  },
4303
4303
  delegate: void 0
4304
4304
  };
4305
- function Bo(e) {
4306
- Ao.setTimeout(function() {
4305
+ function No(e) {
4306
+ Lo.setTimeout(function() {
4307
4307
  throw e;
4308
4308
  });
4309
4309
  }
4310
- function ur() {
4310
+ function hr() {
4311
4311
  }
4312
- function Ve(e) {
4312
+ function Xe(e) {
4313
4313
  e();
4314
4314
  }
4315
- var on = function(e) {
4316
- Ae(t, e);
4315
+ var un = function(e) {
4316
+ Be(t, e);
4317
4317
  function t(r) {
4318
4318
  var n = e.call(this) || this;
4319
- return n.isStopped = !1, r ? (n.destination = r, nn(r) && r.add(n)) : n.destination = No, n;
4319
+ return n.isStopped = !1, r ? (n.destination = r, an(r) && r.add(n)) : n.destination = Do, n;
4320
4320
  }
4321
4321
  return t.create = function(r, n, i) {
4322
- return new Mt(r, n, i);
4322
+ return new Bt(r, n, i);
4323
4323
  }, t.prototype.next = function(r) {
4324
4324
  this.isStopped || this._next(r);
4325
4325
  }, t.prototype.error = function(r) {
@@ -4343,7 +4343,7 @@ var on = function(e) {
4343
4343
  this.unsubscribe();
4344
4344
  }
4345
4345
  }, t;
4346
- }(it), Oo = function() {
4346
+ }(st), Io = function() {
4347
4347
  function e(t) {
4348
4348
  this.partialObserver = t;
4349
4349
  }
@@ -4353,7 +4353,7 @@ var on = function(e) {
4353
4353
  try {
4354
4354
  r.next(t);
4355
4355
  } catch (n) {
4356
- De(n);
4356
+ Ue(n);
4357
4357
  }
4358
4358
  }, e.prototype.error = function(t) {
4359
4359
  var r = this.partialObserver;
@@ -4361,56 +4361,56 @@ var on = function(e) {
4361
4361
  try {
4362
4362
  r.error(t);
4363
4363
  } catch (n) {
4364
- De(n);
4364
+ Ue(n);
4365
4365
  }
4366
4366
  else
4367
- De(t);
4367
+ Ue(t);
4368
4368
  }, e.prototype.complete = function() {
4369
4369
  var t = this.partialObserver;
4370
4370
  if (t.complete)
4371
4371
  try {
4372
4372
  t.complete();
4373
4373
  } catch (r) {
4374
- De(r);
4374
+ Ue(r);
4375
4375
  }
4376
4376
  }, e;
4377
- }(), Mt = function(e) {
4378
- Ae(t, e);
4377
+ }(), Bt = function(e) {
4378
+ Be(t, e);
4379
4379
  function t(r, n, i) {
4380
4380
  var o = e.call(this) || this, a;
4381
- return j(r) || !r ? a = {
4381
+ return V(r) || !r ? a = {
4382
4382
  next: r ?? void 0,
4383
4383
  error: n ?? void 0,
4384
4384
  complete: i ?? void 0
4385
- } : a = r, o.destination = new Oo(a), o;
4385
+ } : a = r, o.destination = new Io(a), o;
4386
4386
  }
4387
4387
  return t;
4388
- }(on);
4389
- function De(e) {
4390
- Bo(e);
4388
+ }(un);
4389
+ function Ue(e) {
4390
+ No(e);
4391
4391
  }
4392
- function Lo(e) {
4392
+ function Ro(e) {
4393
4393
  throw e;
4394
4394
  }
4395
- var No = {
4395
+ var Do = {
4396
4396
  closed: !0,
4397
- next: ur,
4398
- error: Lo,
4399
- complete: ur
4400
- }, Io = function() {
4397
+ next: hr,
4398
+ error: Ro,
4399
+ complete: hr
4400
+ }, $o = function() {
4401
4401
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4402
4402
  }();
4403
- function Ro(e) {
4403
+ function Uo(e) {
4404
4404
  return e;
4405
4405
  }
4406
- function $o(e) {
4407
- return e.length === 0 ? Ro : e.length === 1 ? e[0] : function(r) {
4406
+ function Go(e) {
4407
+ return e.length === 0 ? Uo : e.length === 1 ? e[0] : function(r) {
4408
4408
  return e.reduce(function(n, i) {
4409
4409
  return i(n);
4410
4410
  }, r);
4411
4411
  };
4412
4412
  }
4413
- var lr = function() {
4413
+ var cr = function() {
4414
4414
  function e(t) {
4415
4415
  t && (this._subscribe = t);
4416
4416
  }
@@ -4418,8 +4418,8 @@ var lr = function() {
4418
4418
  var r = new e();
4419
4419
  return r.source = this, r.operator = t, r;
4420
4420
  }, e.prototype.subscribe = function(t, r, n) {
4421
- var i = this, o = Uo(t) ? t : new Mt(t, r, n);
4422
- return Ve(function() {
4421
+ var i = this, o = jo(t) ? t : new Bt(t, r, n);
4422
+ return Xe(function() {
4423
4423
  var a = i, s = a.operator, l = a.source;
4424
4424
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
4425
4425
  }), o;
@@ -4431,8 +4431,8 @@ var lr = function() {
4431
4431
  }
4432
4432
  }, e.prototype.forEach = function(t, r) {
4433
4433
  var n = this;
4434
- return r = cr(r), new r(function(i, o) {
4435
- var a = new Mt({
4434
+ return r = fr(r), new r(function(i, o) {
4435
+ var a = new Bt({
4436
4436
  next: function(s) {
4437
4437
  try {
4438
4438
  t(s);
@@ -4448,15 +4448,15 @@ var lr = function() {
4448
4448
  }, e.prototype._subscribe = function(t) {
4449
4449
  var r;
4450
4450
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4451
- }, e.prototype[Io] = function() {
4451
+ }, e.prototype[$o] = function() {
4452
4452
  return this;
4453
4453
  }, e.prototype.pipe = function() {
4454
4454
  for (var t = [], r = 0; r < arguments.length; r++)
4455
4455
  t[r] = arguments[r];
4456
- return $o(t)(this);
4456
+ return Go(t)(this);
4457
4457
  }, e.prototype.toPromise = function(t) {
4458
4458
  var r = this;
4459
- return t = cr(t), new t(function(n, i) {
4459
+ return t = fr(t), new t(function(n, i) {
4460
4460
  var o;
4461
4461
  r.subscribe(function(a) {
4462
4462
  return o = a;
@@ -4470,40 +4470,40 @@ var lr = function() {
4470
4470
  return new e(t);
4471
4471
  }, e;
4472
4472
  }();
4473
- function cr(e) {
4473
+ function fr(e) {
4474
4474
  var t;
4475
- return (t = e ?? Mo.Promise) !== null && t !== void 0 ? t : Promise;
4475
+ return (t = e ?? Oo.Promise) !== null && t !== void 0 ? t : Promise;
4476
4476
  }
4477
- function Do(e) {
4478
- return e && j(e.next) && j(e.error) && j(e.complete);
4477
+ function Fo(e) {
4478
+ return e && V(e.next) && V(e.error) && V(e.complete);
4479
4479
  }
4480
- function Uo(e) {
4481
- return e && e instanceof on || Do(e) && nn(e);
4480
+ function jo(e) {
4481
+ return e && e instanceof un || Fo(e) && an(e);
4482
4482
  }
4483
- var Go = tn(function(e) {
4483
+ var ko = on(function(e) {
4484
4484
  return function() {
4485
4485
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4486
4486
  };
4487
- }), sn = function(e) {
4488
- Ae(t, e);
4487
+ }), ln = function(e) {
4488
+ Be(t, e);
4489
4489
  function t() {
4490
4490
  var r = e.call(this) || this;
4491
4491
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4492
4492
  }
4493
4493
  return t.prototype.lift = function(r) {
4494
- var n = new hr(this, this);
4494
+ var n = new pr(this, this);
4495
4495
  return n.operator = r, n;
4496
4496
  }, t.prototype._throwIfClosed = function() {
4497
4497
  if (this.closed)
4498
- throw new Go();
4498
+ throw new ko();
4499
4499
  }, t.prototype.next = function(r) {
4500
4500
  var n = this;
4501
- Ve(function() {
4501
+ Xe(function() {
4502
4502
  var i, o;
4503
4503
  if (n._throwIfClosed(), !n.isStopped) {
4504
4504
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4505
4505
  try {
4506
- for (var a = Tt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4506
+ for (var a = Pt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4507
4507
  var l = s.value;
4508
4508
  l.next(r);
4509
4509
  }
@@ -4521,7 +4521,7 @@ var Go = tn(function(e) {
4521
4521
  });
4522
4522
  }, t.prototype.error = function(r) {
4523
4523
  var n = this;
4524
- Ve(function() {
4524
+ Xe(function() {
4525
4525
  if (n._throwIfClosed(), !n.isStopped) {
4526
4526
  n.hasError = n.isStopped = !0, n.thrownError = r;
4527
4527
  for (var i = n.observers; i.length; )
@@ -4530,7 +4530,7 @@ var Go = tn(function(e) {
4530
4530
  });
4531
4531
  }, t.prototype.complete = function() {
4532
4532
  var r = this;
4533
- Ve(function() {
4533
+ Xe(function() {
4534
4534
  if (r._throwIfClosed(), !r.isStopped) {
4535
4535
  r.isStopped = !0;
4536
4536
  for (var n = r.observers; n.length; )
@@ -4552,20 +4552,20 @@ var Go = tn(function(e) {
4552
4552
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4553
4553
  }, t.prototype._innerSubscribe = function(r) {
4554
4554
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4555
- return o || a ? rn : (this.currentObservers = null, s.push(r), new it(function() {
4556
- n.currentObservers = null, Ct(s, r);
4555
+ return o || a ? sn : (this.currentObservers = null, s.push(r), new st(function() {
4556
+ n.currentObservers = null, Mt(s, r);
4557
4557
  }));
4558
4558
  }, t.prototype._checkFinalizedStatuses = function(r) {
4559
4559
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
4560
4560
  i ? r.error(o) : a && r.complete();
4561
4561
  }, t.prototype.asObservable = function() {
4562
- var r = new lr();
4562
+ var r = new cr();
4563
4563
  return r.source = this, r;
4564
4564
  }, t.create = function(r, n) {
4565
- return new hr(r, n);
4565
+ return new pr(r, n);
4566
4566
  }, t;
4567
- }(lr), hr = function(e) {
4568
- Ae(t, e);
4567
+ }(cr), pr = function(e) {
4568
+ Be(t, e);
4569
4569
  function t(r, n) {
4570
4570
  var i = e.call(this) || this;
4571
4571
  return i.destination = r, i.source = n, i;
@@ -4581,17 +4581,17 @@ var Go = tn(function(e) {
4581
4581
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4582
4582
  }, t.prototype._subscribe = function(r) {
4583
4583
  var n, i;
4584
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rn;
4584
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : sn;
4585
4585
  }, t;
4586
- }(sn), an = {
4586
+ }(ln), hn = {
4587
4587
  now: function() {
4588
- return (an.delegate || Date).now();
4588
+ return (hn.delegate || Date).now();
4589
4589
  },
4590
4590
  delegate: void 0
4591
- }, Fo = function(e) {
4592
- Ae(t, e);
4591
+ }, Vo = function(e) {
4592
+ Be(t, e);
4593
4593
  function t(r, n, i) {
4594
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = an);
4594
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hn);
4595
4595
  var o = e.call(this) || this;
4596
4596
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4597
4597
  }
@@ -4606,30 +4606,30 @@ var Go = tn(function(e) {
4606
4606
  }, t.prototype._trimBuffer = function() {
4607
4607
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
4608
4608
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4609
- for (var l = i.now(), u = 0, c = 1; c < o.length && o[c] <= l; c += 2)
4610
- u = c;
4609
+ for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
4610
+ u = h;
4611
4611
  u && o.splice(0, u + 1);
4612
4612
  }
4613
4613
  }, t;
4614
- }(sn);
4615
- const fr = [], pr = {}, jo = (e, t = 0) => {
4616
- if (fr.indexOf(e) == -1) {
4617
- const r = new Fo(t);
4618
- pr[e] = r, fr.push(e);
4614
+ }(ln);
4615
+ const dr = [], mr = {}, Wo = (e, t = 0) => {
4616
+ if (dr.indexOf(e) == -1) {
4617
+ const r = new Vo(t);
4618
+ mr[e] = r, dr.push(e);
4619
4619
  }
4620
- return pr[e];
4620
+ return mr[e];
4621
4621
  };
4622
- let At = "en-UK", Bt = "true", we = 2, Ot = "";
4623
- const ko = (e, t, r, n) => {
4624
- At = e || "en-UK", Bt = t || "true", we = +n || 2, Ot = r || "";
4625
- }, Ue = (e, t) => {
4626
- if (!Ot)
4627
- return new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Bt === "true" ? "symbol" : "code", maximumFractionDigits: we, minimumFractionDigits: we }).format(e);
4628
- const n = new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Bt === "true" ? "symbol" : "code", maximumFractionDigits: we, minimumFractionDigits: we }).formatToParts(e), i = n.find((l) => l.type === "currency"), a = n.filter((l) => l.type !== "currency").map((l) => l.value).join("");
4629
- return Ot === "before" ? `${i.value} ${a}` : `${a} ${i.value}`;
4622
+ let Ot = "en-UK", Lt = "true", Se = 2, Nt = "";
4623
+ const Xo = (e, t, r, n) => {
4624
+ Ot = e || "en-UK", Lt = t || "true", Se = +n || 2, Nt = r || "";
4625
+ }, Ge = (e, t) => {
4626
+ if (!Nt)
4627
+ return new Intl.NumberFormat(Ot, { style: "currency", currency: t, currencyDisplay: Lt === "true" ? "symbol" : "code", maximumFractionDigits: Se, minimumFractionDigits: Se }).format(e);
4628
+ const n = new Intl.NumberFormat(Ot, { style: "currency", currency: t, currencyDisplay: Lt === "true" ? "symbol" : "code", maximumFractionDigits: Se, minimumFractionDigits: Se }).formatToParts(e), i = n.find((l) => l.type === "currency"), a = n.filter((l) => l.type !== "currency").map((l) => l.value).join("");
4629
+ return Nt === "before" ? `${i.value} ${a}` : `${a} ${i.value}`;
4630
4630
  };
4631
- window.emWidgets = { topic: jo };
4632
- const dr = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ss = {
4631
+ window.emWidgets = { topic: Wo };
4632
+ const Fe = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ts = {
4633
4633
  AED: "د.إ",
4634
4634
  AFN: "؋",
4635
4635
  ALL: "L",
@@ -4801,13 +4801,13 @@ const dr = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(
4801
4801
  ZAR: "R",
4802
4802
  ZWD: "Z$"
4803
4803
  };
4804
- function Vo(e, t) {
4804
+ function zo(e, t) {
4805
4805
  if (e) {
4806
4806
  const r = document.createElement("style");
4807
4807
  r.innerHTML = t, e.appendChild(r);
4808
4808
  }
4809
4809
  }
4810
- function Wo(e, t) {
4810
+ function Zo(e, t) {
4811
4811
  if (!e || !t)
4812
4812
  return;
4813
4813
  const r = new URL(t);
@@ -4818,7 +4818,7 @@ function Wo(e, t) {
4818
4818
  console.error("There was an error while trying to load client styling from URL", n);
4819
4819
  });
4820
4820
  }
4821
- function Xo(e, t, r) {
4821
+ function Yo(e, t, r) {
4822
4822
  if (window.emMessageBus) {
4823
4823
  const n = document.createElement("style");
4824
4824
  window.emMessageBus.subscribe(t, (i) => {
@@ -4826,21 +4826,24 @@ function Xo(e, t, r) {
4826
4826
  });
4827
4827
  }
4828
4828
  }
4829
- function mr(e, t) {
4830
- Jr(e, t);
4829
+ function br(e, t) {
4830
+ qr(e, t);
4831
4831
  }
4832
- function zo(e) {
4833
- oo({
4832
+ function Jo(e) {
4833
+ uo({
4834
4834
  fallbackLocale: "en"
4835
4835
  }), ee.set(e);
4836
4836
  }
4837
- const br = {
4837
+ const gr = {
4838
4838
  en: {
4839
4839
  generalMin: "Min",
4840
4840
  generalMax: "Max",
4841
4841
  error: "Error",
4842
4842
  noFavoritePaymentMethods: "No favorite payment methods available",
4843
- RealTime: "Instant Deposit",
4843
+ DepositRealTime: "Instant deposit",
4844
+ WithdrawRealTime: "Instant withdrawal",
4845
+ DepositVariable: "Variable",
4846
+ WithdrawVariable: "Variable",
4844
4847
  carouselTitle: "Favorite Methods",
4845
4848
  carouselSubtitle: "The most popular payment methods"
4846
4849
  },
@@ -4857,7 +4860,10 @@ const br = {
4857
4860
  generalMax: "Maks",
4858
4861
  error: "Hata",
4859
4862
  noFavoritePaymentMethods: "Favori ödeme yöntemi mevcut değil",
4860
- RealTime: "Anında Para Yatırma",
4863
+ DepositRealTime: "Anında para yatırma",
4864
+ WithdrawRealTime: "Anında para çekme",
4865
+ DepositVariable: "Değişken",
4866
+ WithdrawVariable: "Değişken",
4861
4867
  carouselTitle: "Favori Yöntemler",
4862
4868
  carouselSubtitle: "En popüler ödeme yöntemleri"
4863
4869
  },
@@ -4866,190 +4872,203 @@ const br = {
4866
4872
  generalMax: "Max"
4867
4873
  }
4868
4874
  };
4869
- function Zo(e) {
4870
- dn(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4875
+ function Ko(e) {
4876
+ gn(e, "svelte-u54bgm", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1);cursor:pointer}.VisualDotIndicator .Dot:hover{opacity:0.7;transform:scale(1.1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo{display:flex;justify-content:center;align-content:center;align-items:center;height:100%}.CarouselCardWrapper .MethodLogo img{height:40px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4871
4877
  }
4872
- function gr(e, t, r) {
4878
+ function yr(e, t, r) {
4873
4879
  const n = e.slice();
4874
4880
  return n[38] = t[r], n[40] = r, n;
4875
4881
  }
4876
- function yr(e, t, r) {
4882
+ function vr(e, t, r) {
4877
4883
  const n = e.slice();
4878
4884
  return n[41] = t[r], n[40] = r, n;
4879
4885
  }
4880
- function Yo(e) {
4886
+ function Qo(e) {
4881
4887
  let t, r = (
4882
4888
  /*$_*/
4883
- e[5]("noFavoritePaymentMethods") + ""
4889
+ e[6]("noFavoritePaymentMethods") + ""
4884
4890
  ), n;
4885
4891
  return {
4886
4892
  c() {
4887
- t = T("p"), n = $(r), M(t, "class", "NoFavoritePaymentMethods");
4893
+ t = H("p"), n = $(r), C(t, "class", "NoFavoritePaymentMethods");
4888
4894
  },
4889
4895
  m(i, o) {
4890
- G(i, t, o), E(t, n);
4896
+ j(i, t, o), x(t, n);
4891
4897
  },
4892
4898
  p(i, o) {
4893
4899
  o[0] & /*$_*/
4894
- 32 && r !== (r = /*$_*/
4895
- i[5]("noFavoritePaymentMethods") + "") && F(n, r);
4900
+ 64 && r !== (r = /*$_*/
4901
+ i[6]("noFavoritePaymentMethods") + "") && k(n, r);
4896
4902
  },
4897
4903
  d(i) {
4898
- i && N(t);
4904
+ i && L(t);
4899
4905
  }
4900
4906
  };
4901
4907
  }
4902
- function Jo(e) {
4903
- let t, r = !dr(
4908
+ function qo(e) {
4909
+ let t, r = !Fe(
4904
4910
  /*userAgent*/
4905
- e[6]
4906
- ), n, i, o, a = !dr(
4911
+ e[7]
4912
+ ) && /*promotedPaymentMethods*/
4913
+ e[4].length > 1, n, i, o, a = !Fe(
4907
4914
  /*userAgent*/
4908
- e[6]
4909
- ), s, l, u, c, f, d = r && Ko(e), m = Re(
4915
+ e[7]
4916
+ ) && /*promotedPaymentMethods*/
4917
+ e[4].length > 1, s, l, u, h, d, c = r && _r(e), g = De(
4910
4918
  /*promotedPaymentMethods*/
4911
- e[3]
4912
- ), h = [];
4913
- for (let y = 0; y < m.length; y += 1)
4914
- h[y] = vr(yr(e, m, y));
4915
- let p = a && Qo(e), _ = Re(Array(
4919
+ e[4]
4920
+ ), f = [];
4921
+ for (let y = 0; y < g.length; y += 1)
4922
+ f[y] = Er(vr(e, g, y));
4923
+ let p = a && xr(e), v = De(Array(
4916
4924
  /*promotedPaymentMethods*/
4917
- e[3].length
4918
- )), x = [];
4919
- for (let y = 0; y < _.length; y += 1)
4920
- x[y] = _r(gr(e, _, y));
4925
+ e[4].length
4926
+ )), E = [];
4927
+ for (let y = 0; y < v.length; y += 1)
4928
+ E[y] = wr(yr(e, v, y));
4921
4929
  return {
4922
4930
  c() {
4923
- t = T("div"), d && d.c(), n = I(), i = T("div");
4924
- for (let y = 0; y < h.length; y += 1)
4925
- h[y].c();
4926
- o = I(), p && p.c(), l = I(), u = T("div");
4927
- for (let y = 0; y < x.length; y += 1)
4928
- x[y].c();
4929
- M(i, "class", "Carousel"), M(t, "class", "CarouselCardsContainer"), q(() => (
4931
+ t = H("div"), c && c.c(), n = R(), i = H("div");
4932
+ for (let y = 0; y < f.length; y += 1)
4933
+ f[y].c();
4934
+ o = R(), p && p.c(), l = R(), u = H("div");
4935
+ for (let y = 0; y < E.length; y += 1)
4936
+ E[y].c();
4937
+ C(i, "class", "Carousel"), C(t, "class", "CarouselCardsContainer"), q(() => (
4930
4938
  /*div1_elementresize_handler*/
4931
- e[25].call(t)
4932
- )), M(u, "class", "VisualDotIndicator");
4939
+ e[26].call(t)
4940
+ )), C(u, "class", "VisualDotIndicator");
4933
4941
  },
4934
- m(y, v) {
4935
- G(y, t, v), d && d.m(t, null), E(t, n), E(t, i);
4936
- for (let b = 0; b < h.length; b += 1)
4937
- h[b] && h[b].m(i, null);
4938
- e[23](i), E(t, o), p && p.m(t, null), s = yn(
4942
+ m(y, _) {
4943
+ j(y, t, _), c && c.m(t, null), x(t, n), x(t, i);
4944
+ for (let m = 0; m < f.length; m += 1)
4945
+ f[m] && f[m].m(i, null);
4946
+ e[24](i), x(t, o), p && p.m(t, null), s = En(
4939
4947
  t,
4940
4948
  /*div1_elementresize_handler*/
4941
- e[25].bind(t)
4942
- ), G(y, l, v), G(y, u, v);
4943
- for (let b = 0; b < x.length; b += 1)
4944
- x[b] && x[b].m(u, null);
4945
- c || (f = [
4949
+ e[26].bind(t)
4950
+ ), j(y, l, _), j(y, u, _);
4951
+ for (let m = 0; m < E.length; m += 1)
4952
+ E[m] && E[m].m(u, null);
4953
+ h || (d = [
4946
4954
  Z(
4947
4955
  i,
4948
4956
  "touchstart",
4949
4957
  /*handleTouchStart*/
4950
- e[8]
4958
+ e[9]
4951
4959
  ),
4952
4960
  Z(
4953
4961
  i,
4954
4962
  "touchmove",
4955
4963
  /*handleTouchMove*/
4956
- e[9]
4964
+ e[10]
4957
4965
  ),
4958
4966
  Z(
4959
4967
  i,
4960
4968
  "touchend",
4961
4969
  /*handleTouchEnd*/
4962
- e[10]
4970
+ e[11]
4963
4971
  )
4964
- ], c = !0);
4972
+ ], h = !0);
4965
4973
  },
4966
- p(y, v) {
4967
- if (r && d.p(y, v), v[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4968
- 184) {
4969
- m = Re(
4974
+ p(y, _) {
4975
+ if (_[0] & /*promotedPaymentMethods*/
4976
+ 16 && (r = !Fe(
4977
+ /*userAgent*/
4978
+ y[7]
4979
+ ) && /*promotedPaymentMethods*/
4980
+ y[4].length > 1), r ? c ? c.p(y, _) : (c = _r(y), c.c(), c.m(t, n)) : c && (c.d(1), c = null), _[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_, methodtype*/
4981
+ 369) {
4982
+ g = De(
4970
4983
  /*promotedPaymentMethods*/
4971
- y[3]
4984
+ y[4]
4972
4985
  );
4973
- let b;
4974
- for (b = 0; b < m.length; b += 1) {
4975
- const H = yr(y, m, b);
4976
- h[b] ? h[b].p(H, v) : (h[b] = vr(H), h[b].c(), h[b].m(i, null));
4986
+ let m;
4987
+ for (m = 0; m < g.length; m += 1) {
4988
+ const T = vr(y, g, m);
4989
+ f[m] ? f[m].p(T, _) : (f[m] = Er(T), f[m].c(), f[m].m(i, null));
4977
4990
  }
4978
- for (; b < h.length; b += 1)
4979
- h[b].d(1);
4980
- h.length = m.length;
4991
+ for (; m < f.length; m += 1)
4992
+ f[m].d(1);
4993
+ f.length = g.length;
4981
4994
  }
4982
- if (a && p.p(y, v), v[0] & /*activeIndex, promotedPaymentMethods*/
4983
- 24) {
4984
- _ = Re(Array(
4995
+ if (_[0] & /*promotedPaymentMethods*/
4996
+ 16 && (a = !Fe(
4997
+ /*userAgent*/
4998
+ y[7]
4999
+ ) && /*promotedPaymentMethods*/
5000
+ y[4].length > 1), a ? p ? p.p(y, _) : (p = xr(y), p.c(), p.m(t, null)) : p && (p.d(1), p = null), _[0] & /*activeIndex, promotedPaymentMethods*/
5001
+ 48) {
5002
+ v = De(Array(
4985
5003
  /*promotedPaymentMethods*/
4986
- y[3].length
5004
+ y[4].length
4987
5005
  ));
4988
- let b;
4989
- for (b = 0; b < _.length; b += 1) {
4990
- const H = gr(y, _, b);
4991
- x[b] ? x[b].p(H, v) : (x[b] = _r(H), x[b].c(), x[b].m(u, null));
5006
+ let m;
5007
+ for (m = 0; m < v.length; m += 1) {
5008
+ const T = yr(y, v, m);
5009
+ E[m] ? E[m].p(T, _) : (E[m] = wr(T), E[m].c(), E[m].m(u, null));
4992
5010
  }
4993
- for (; b < x.length; b += 1)
4994
- x[b].d(1);
4995
- x.length = _.length;
5011
+ for (; m < E.length; m += 1)
5012
+ E[m].d(1);
5013
+ E.length = v.length;
4996
5014
  }
4997
5015
  },
4998
5016
  d(y) {
4999
- y && (N(t), N(l), N(u)), d && d.d(), Wt(h, y), e[23](null), p && p.d(), s(), Wt(x, y), c = !1, k(f);
5017
+ y && (L(t), L(l), L(u)), c && c.d(), zt(f, y), e[24](null), p && p.d(), s(), zt(E, y), h = !1, W(d);
5000
5018
  }
5001
5019
  };
5002
5020
  }
5003
- function Ko(e) {
5021
+ function _r(e) {
5004
5022
  let t, r, n;
5005
5023
  return {
5006
5024
  c() {
5007
- t = T("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', M(t, "class", "NavigationArrow Left");
5025
+ t = H("div"), t.innerHTML = '<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>', C(t, "class", "NavigationArrow Left");
5008
5026
  },
5009
5027
  m(i, o) {
5010
- G(i, t, o), r || (n = Z(
5028
+ j(i, t, o), r || (n = Z(
5011
5029
  t,
5012
5030
  "click",
5013
5031
  /*click_handler*/
5014
- e[21]
5032
+ e[22]
5015
5033
  ), r = !0);
5016
5034
  },
5017
- p: B,
5035
+ p: M,
5018
5036
  d(i) {
5019
- i && N(t), r = !1, n();
5037
+ i && L(t), r = !1, n();
5020
5038
  }
5021
5039
  };
5022
5040
  }
5023
- function vr(e) {
5024
- let t, r, n, i, o, a, s, l, u, c = (
5041
+ function Er(e) {
5042
+ let t, r, n, i, o, a, s, l, u, h = (
5025
5043
  /*method*/
5026
5044
  (e[41].Label || /*method*/
5027
5045
  e[41].Name) + ""
5028
- ), f, d, m, h, p = (
5046
+ ), d, c, g, f, p = (
5029
5047
  /*$_*/
5030
- e[5](`${/*method*/
5048
+ e[6](`${/*methodtype*/
5049
+ e[0]}${/*method*/
5031
5050
  e[41].ProcessingTime}`) + ""
5032
- ), _, x, y, v, b, H = (
5051
+ ), v, E, y, _, m, T = (
5033
5052
  /*$_*/
5034
- e[5]("generalMin") + ""
5035
- ), L, J, te = Ue(
5053
+ e[6]("generalMin") + ""
5054
+ ), N, X, te = Ge(
5036
5055
  /*method*/
5037
5056
  e[41].DisplayCurrency.MinAmountLimit,
5038
5057
  /*method*/
5039
5058
  e[41].DisplayCurrency.Name
5040
- ) + "", re, V, K, ne = (
5059
+ ) + "", ge, ye, D, re = (
5041
5060
  /*$_*/
5042
- e[5]("generalMax") + ""
5043
- ), ge, Be, W = Ue(
5061
+ e[6]("generalMax") + ""
5062
+ ), ve, Oe, ne = Ge(
5044
5063
  /*method*/
5045
5064
  e[41].DisplayCurrency.MaxAmountLimit,
5046
5065
  /*method*/
5047
5066
  e[41].DisplayCurrency.Name
5048
- ) + "", ye, Oe, ie, ve, Le;
5049
- function ot() {
5067
+ ) + "", J, Le, ie, _e, Ne;
5068
+ function at() {
5050
5069
  return (
5051
5070
  /*click_handler_1*/
5052
- e[22](
5071
+ e[23](
5053
5072
  /*method*/
5054
5073
  e[41],
5055
5074
  /*index*/
@@ -5059,392 +5078,403 @@ function vr(e) {
5059
5078
  }
5060
5079
  return {
5061
5080
  c() {
5062
- t = T("div"), r = T("div"), n = T("img"), a = I(), s = T("div"), l = T("div"), u = T("span"), f = $(c), d = I(), m = T("div"), h = T("span"), _ = $(p), x = I(), y = T("div"), v = T("span"), b = T("span"), L = $(H), J = I(), re = $(te), V = I(), K = T("span"), ge = $(ne), Be = I(), ye = $(W), Oe = I(), Vt(n.src, i = /*method*/
5063
- e[41].LogoUrl) || M(n, "src", i), M(n, "alt", o = /*method*/
5064
- e[41].Label), M(r, "class", "MethodLogo"), M(l, "class", "MethodTitle"), M(m, "class", "MethodProcessingTime"), M(v, "class", "Limits"), M(y, "class", "MethodLimits"), M(s, "class", "MethodInfo"), M(t, "class", ie = `CarouselCardWrapper ${/*index*/
5081
+ t = H("div"), r = H("div"), n = H("img"), a = R(), s = H("div"), l = H("div"), u = H("span"), d = $(h), c = R(), g = H("div"), f = H("span"), v = $(p), E = R(), y = H("div"), _ = H("span"), m = H("span"), N = $(T), X = R(), ge = $(te), ye = R(), D = H("span"), ve = $(re), Oe = R(), J = $(ne), Le = R(), Xt(n.src, i = /*method*/
5082
+ e[41].LogoUrl) || C(n, "src", i), C(n, "alt", o = /*method*/
5083
+ e[41].Label), C(r, "class", "MethodLogo"), C(l, "class", "MethodTitle"), C(g, "class", "MethodProcessingTime"), C(_, "class", "Limits"), C(y, "class", "MethodLimits"), C(s, "class", "MethodInfo"), C(t, "class", ie = `CarouselCardWrapper ${/*index*/
5065
5084
  e[40] === /*activeIndex*/
5066
- e[4] ? "active" : ""}`);
5085
+ e[5] ? "active" : ""}`);
5067
5086
  },
5068
- m(g, P) {
5069
- G(g, t, P), E(t, r), E(r, n), E(t, a), E(t, s), E(s, l), E(l, u), E(u, f), E(s, d), E(s, m), E(m, h), E(h, _), E(s, x), E(s, y), E(y, v), E(v, b), E(b, L), E(b, J), E(b, re), E(v, V), E(v, K), E(K, ge), E(K, Be), E(K, ye), E(t, Oe), ve || (Le = Z(t, "click", ot), ve = !0);
5087
+ m(K, b) {
5088
+ j(K, t, b), x(t, r), x(r, n), x(t, a), x(t, s), x(s, l), x(l, u), x(u, d), x(s, c), x(s, g), x(g, f), x(f, v), x(s, E), x(s, y), x(y, _), x(_, m), x(m, N), x(m, X), x(m, ge), x(_, ye), x(_, D), x(D, ve), x(D, Oe), x(D, J), x(t, Le), _e || (Ne = Z(t, "click", at), _e = !0);
5070
5089
  },
5071
- p(g, P) {
5072
- e = g, P[0] & /*promotedPaymentMethods*/
5073
- 8 && !Vt(n.src, i = /*method*/
5074
- e[41].LogoUrl) && M(n, "src", i), P[0] & /*promotedPaymentMethods*/
5075
- 8 && o !== (o = /*method*/
5076
- e[41].Label) && M(n, "alt", o), P[0] & /*promotedPaymentMethods*/
5077
- 8 && c !== (c = /*method*/
5090
+ p(K, b) {
5091
+ e = K, b[0] & /*promotedPaymentMethods*/
5092
+ 16 && !Xt(n.src, i = /*method*/
5093
+ e[41].LogoUrl) && C(n, "src", i), b[0] & /*promotedPaymentMethods*/
5094
+ 16 && o !== (o = /*method*/
5095
+ e[41].Label) && C(n, "alt", o), b[0] & /*promotedPaymentMethods*/
5096
+ 16 && h !== (h = /*method*/
5078
5097
  (e[41].Label || /*method*/
5079
- e[41].Name) + "") && F(f, c), P[0] & /*$_, promotedPaymentMethods*/
5080
- 40 && p !== (p = /*$_*/
5081
- e[5](`${/*method*/
5082
- e[41].ProcessingTime}`) + "") && F(_, p), P[0] & /*$_*/
5083
- 32 && H !== (H = /*$_*/
5084
- e[5]("generalMin") + "") && F(L, H), P[0] & /*promotedPaymentMethods*/
5085
- 8 && te !== (te = Ue(
5098
+ e[41].Name) + "") && k(d, h), b[0] & /*$_, methodtype, promotedPaymentMethods*/
5099
+ 81 && p !== (p = /*$_*/
5100
+ e[6](`${/*methodtype*/
5101
+ e[0]}${/*method*/
5102
+ e[41].ProcessingTime}`) + "") && k(v, p), b[0] & /*$_*/
5103
+ 64 && T !== (T = /*$_*/
5104
+ e[6]("generalMin") + "") && k(N, T), b[0] & /*promotedPaymentMethods*/
5105
+ 16 && te !== (te = Ge(
5086
5106
  /*method*/
5087
5107
  e[41].DisplayCurrency.MinAmountLimit,
5088
5108
  /*method*/
5089
5109
  e[41].DisplayCurrency.Name
5090
- ) + "") && F(re, te), P[0] & /*$_*/
5091
- 32 && ne !== (ne = /*$_*/
5092
- e[5]("generalMax") + "") && F(ge, ne), P[0] & /*promotedPaymentMethods*/
5093
- 8 && W !== (W = Ue(
5110
+ ) + "") && k(ge, te), b[0] & /*$_*/
5111
+ 64 && re !== (re = /*$_*/
5112
+ e[6]("generalMax") + "") && k(ve, re), b[0] & /*promotedPaymentMethods*/
5113
+ 16 && ne !== (ne = Ge(
5094
5114
  /*method*/
5095
5115
  e[41].DisplayCurrency.MaxAmountLimit,
5096
5116
  /*method*/
5097
5117
  e[41].DisplayCurrency.Name
5098
- ) + "") && F(ye, W), P[0] & /*activeIndex*/
5099
- 16 && ie !== (ie = `CarouselCardWrapper ${/*index*/
5118
+ ) + "") && k(J, ne), b[0] & /*activeIndex*/
5119
+ 32 && ie !== (ie = `CarouselCardWrapper ${/*index*/
5100
5120
  e[40] === /*activeIndex*/
5101
- e[4] ? "active" : ""}`) && M(t, "class", ie);
5121
+ e[5] ? "active" : ""}`) && C(t, "class", ie);
5102
5122
  },
5103
- d(g) {
5104
- g && N(t), ve = !1, Le();
5123
+ d(K) {
5124
+ K && L(t), _e = !1, Ne();
5105
5125
  }
5106
5126
  };
5107
5127
  }
5108
- function Qo(e) {
5128
+ function xr(e) {
5109
5129
  let t, r, n;
5110
5130
  return {
5111
5131
  c() {
5112
- t = T("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', M(t, "class", "NavigationArrow Right");
5132
+ t = H("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>', C(t, "class", "NavigationArrow Right");
5113
5133
  },
5114
5134
  m(i, o) {
5115
- G(i, t, o), r || (n = Z(
5135
+ j(i, t, o), r || (n = Z(
5116
5136
  t,
5117
5137
  "click",
5118
5138
  /*click_handler_2*/
5119
- e[24]
5139
+ e[25]
5120
5140
  ), r = !0);
5121
5141
  },
5122
- p: B,
5142
+ p: M,
5123
5143
  d(i) {
5124
- i && N(t), r = !1, n();
5144
+ i && L(t), r = !1, n();
5125
5145
  }
5126
5146
  };
5127
5147
  }
5128
- function _r(e) {
5148
+ function wr(e) {
5129
5149
  let t, r;
5130
5150
  return {
5131
5151
  c() {
5132
- t = T("div"), M(t, "class", r = `Dot ${/*index*/
5152
+ t = H("div"), C(t, "class", r = `Dot ${/*index*/
5133
5153
  e[40] === /*activeIndex*/
5134
- e[4] ? "active" : ""}`);
5154
+ e[5] ? "active" : ""}`);
5135
5155
  },
5136
5156
  m(n, i) {
5137
- G(n, t, i);
5157
+ j(n, t, i);
5138
5158
  },
5139
5159
  p(n, i) {
5140
5160
  i[0] & /*activeIndex*/
5141
- 16 && r !== (r = `Dot ${/*index*/
5161
+ 32 && r !== (r = `Dot ${/*index*/
5142
5162
  n[40] === /*activeIndex*/
5143
- n[4] ? "active" : ""}`) && M(t, "class", r);
5163
+ n[5] ? "active" : ""}`) && C(t, "class", r);
5144
5164
  },
5145
5165
  d(n) {
5146
- n && N(t);
5166
+ n && L(t);
5147
5167
  }
5148
5168
  };
5149
5169
  }
5150
- function qo(e) {
5170
+ function es(e) {
5151
5171
  let t, r, n, i, o = (
5152
5172
  /*$_*/
5153
- e[5]("carouselTitle") + ""
5173
+ e[6]("carouselTitle") + ""
5154
5174
  ), a, s, l, u = (
5155
5175
  /*$_*/
5156
- e[5]("carouselSubtitle") + ""
5157
- ), c, f;
5158
- function d(p, _) {
5176
+ e[6]("carouselSubtitle") + ""
5177
+ ), h, d;
5178
+ function c(p, v) {
5159
5179
  return (
5160
5180
  /*promotedPaymentMethods*/
5161
- p[3].length > 0 ? Jo : Yo
5181
+ p[4].length > 0 ? qo : Qo
5162
5182
  );
5163
5183
  }
5164
- let m = d(e), h = m(e);
5184
+ let g = c(e), f = g(e);
5165
5185
  return {
5166
5186
  c() {
5167
- t = T("div"), r = T("div"), n = T("div"), i = T("h4"), a = $(o), s = I(), l = T("p"), c = $(u), f = I(), h.c(), M(n, "class", "CarouselHeader"), M(r, "class", "CashierCarouselWarpper");
5187
+ t = H("div"), r = H("div"), n = H("div"), i = H("h4"), a = $(o), s = R(), l = H("p"), h = $(u), d = R(), f.c(), C(n, "class", "CarouselHeader"), C(r, "class", "CashierCarouselWarpper");
5168
5188
  },
5169
- m(p, _) {
5170
- G(p, t, _), E(t, r), E(r, n), E(n, i), E(i, a), E(n, s), E(n, l), E(l, c), E(r, f), h.m(r, null), e[26](t);
5189
+ m(p, v) {
5190
+ j(p, t, v), x(t, r), x(r, n), x(n, i), x(i, a), x(n, s), x(n, l), x(l, h), x(r, d), f.m(r, null), e[27](t);
5171
5191
  },
5172
- p(p, _) {
5173
- _[0] & /*$_*/
5174
- 32 && o !== (o = /*$_*/
5175
- p[5]("carouselTitle") + "") && F(a, o), _[0] & /*$_*/
5176
- 32 && u !== (u = /*$_*/
5177
- p[5]("carouselSubtitle") + "") && F(c, u), m === (m = d(p)) && h ? h.p(p, _) : (h.d(1), h = m(p), h && (h.c(), h.m(r, null)));
5192
+ p(p, v) {
5193
+ v[0] & /*$_*/
5194
+ 64 && o !== (o = /*$_*/
5195
+ p[6]("carouselTitle") + "") && k(a, o), v[0] & /*$_*/
5196
+ 64 && u !== (u = /*$_*/
5197
+ p[6]("carouselSubtitle") + "") && k(h, u), g === (g = c(p)) && f ? f.p(p, v) : (f.d(1), f = g(p), f && (f.c(), f.m(r, null)));
5178
5198
  },
5179
- i: B,
5180
- o: B,
5199
+ i: M,
5200
+ o: M,
5181
5201
  d(p) {
5182
- p && N(t), h.d(), e[26](null);
5202
+ p && L(t), f.d(), e[27](null);
5183
5203
  }
5184
5204
  };
5185
5205
  }
5186
- function es(e, t, r) {
5206
+ function ts(e, t, r) {
5187
5207
  let n;
5188
- pn(e, Co, (g) => r(5, n = g));
5189
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: l = "2" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: f = "" } = t, { translationurl: d = "" } = t, m, h = [], p = 0, _ = !0, x = 0, y = !1, v, b, H = window.navigator.userAgent;
5190
- const L = (g) => {
5191
- g.data && g.data.type === "PromotedPaymentMethods" && (r(3, h = g.data.promotedPaymentMethods), r(4, p = Math.floor((h.length - 1) / 2)));
5208
+ bn(e, Bo, (b) => r(6, n = b));
5209
+ let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: l = "2" } = t, { methodtype: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: c = "" } = t, { translationurl: g = "" } = t, f, p = [], v = 0, E = !0, y = 0, _ = !1, m, T, N = window.navigator.userAgent;
5210
+ const X = (b) => {
5211
+ b.data && b.data.type === "PromotedPaymentMethods" && (r(4, p = b.data.promotedPaymentMethods), r(5, v = Math.floor((p.length - 1) / 2)));
5192
5212
  };
5193
- Object.keys(br).forEach((g) => {
5194
- mr(g, br[g]);
5213
+ Object.keys(gr).forEach((b) => {
5214
+ br(b, gr[b]);
5195
5215
  });
5196
- const J = () => {
5197
- let g = d;
5198
- if (g)
5199
- return fetch(g).then((P) => P.json()).then((P) => {
5200
- Object.keys(P).forEach((X) => {
5201
- mr(X, P[X]);
5216
+ const te = () => {
5217
+ let b = g;
5218
+ if (b)
5219
+ return fetch(b).then((B) => B.json()).then((B) => {
5220
+ Object.keys(B).forEach((U) => {
5221
+ br(U, B[U]);
5202
5222
  });
5203
- }).catch((P) => {
5204
- console.log(P);
5223
+ }).catch((B) => {
5224
+ console.log(B);
5205
5225
  });
5206
- }, te = () => {
5207
- zo(i);
5208
- }, re = (g, P) => {
5209
- r(4, p = P), r(1, v.style.transform = V(), v), g.Name, window.postMessage({ type: "SelectPayMeth", details: g }, window.location.href), dispatchEvent(new CustomEvent(
5226
+ }, ge = () => {
5227
+ Jo(i);
5228
+ }, ye = (b, B) => {
5229
+ r(5, v = B), r(2, m.style.transform = D(), m), b.Name, window.postMessage({ type: "SelectPayMeth", details: b }, window.location.href), dispatchEvent(new CustomEvent(
5210
5230
  "selectPayMeth",
5211
5231
  {
5212
- detail: g,
5232
+ detail: b,
5213
5233
  bubbles: !0,
5214
5234
  cancelable: !0,
5215
5235
  composed: !0
5216
5236
  }
5217
5237
  ));
5218
- }, V = () => {
5219
- const jt = 165 * h.length;
5220
- let st;
5221
- h.length % 2 === 1 ? st = Math.floor(h.length / 2) : st = Math.floor(h.length / 2) - 0.5;
5222
- let ln = b - jt;
5223
- const cn = st - p;
5224
- return `translateX(${ln / 2 + cn * 165 - 20}px)`;
5225
- }, K = (g) => {
5226
- x = g.touches[0].clientX, y = !0, v.classList.add("dragging");
5227
- }, ne = (g) => {
5228
- if (!y)
5238
+ }, D = () => {
5239
+ if (p.length == 1)
5240
+ return "translateX(0px)";
5241
+ const U = 160 + 5, Vt = U * p.length;
5242
+ let ut;
5243
+ p.length % 2 === 1 ? ut = Math.floor(p.length / 2) : ut = Math.floor(p.length / 2) - 0.5;
5244
+ let fn = T - Vt;
5245
+ const pn = ut - v;
5246
+ return `translateX(${fn / 2 + pn * U - 20}px)`;
5247
+ }, re = (b) => {
5248
+ y = b.touches[0].clientX, _ = !0, m.classList.add("dragging");
5249
+ }, ve = (b) => {
5250
+ if (!_)
5229
5251
  return;
5230
- const P = g.touches[0].clientX;
5231
- Math.abs(P - x) > 10 && g.preventDefault();
5232
- }, ge = (g) => {
5233
- if (!y)
5252
+ const B = b.touches[0].clientX;
5253
+ Math.abs(B - y) > 10 && b.preventDefault();
5254
+ }, Oe = (b) => {
5255
+ if (!_)
5234
5256
  return;
5235
- y = !1, v.classList.remove("dragging");
5236
- const P = g.changedTouches[0].clientX, X = x - P;
5237
- Math.abs(X) > 50 && (X > 0 && p < h.length - 1 ? r(4, p++, p) : X < 0 && p > 0 && r(4, p--, p), r(1, v.style.transform = V(), v));
5238
- }, Be = () => {
5239
- _ && (r(1, v.style.transform = V(), v), _ = !1);
5240
- }, W = (g) => {
5241
- g === "next" && p < h.length - 1 ? r(4, p++, p) : g === "prev" && p > 0 && r(4, p--, p), r(1, v.style.transform = V(), v);
5257
+ _ = !1, m.classList.remove("dragging");
5258
+ const B = b.changedTouches[0].clientX, U = y - B;
5259
+ Math.abs(U) > 50 && (U > 0 && v < p.length - 1 ? r(5, v++, v) : U < 0 && v > 0 && r(5, v--, v), r(2, m.style.transform = D(), m));
5260
+ }, ne = () => {
5261
+ E && (r(2, m.style.transform = D(), m), E = !1);
5262
+ }, J = (b) => {
5263
+ b === "next" && v < p.length - 1 ? r(5, v++, v) : b === "prev" && v > 0 && r(5, v--, v), r(2, m.style.transform = D(), m);
5242
5264
  };
5243
- Sn(() => (ko(o, a, s, l), window.addEventListener("message", L), v && b > 0 && V(), () => {
5244
- window.removeEventListener("message", L);
5265
+ Pn(() => (Xo(o, a, s, l), window.addEventListener("message", X), m && T > 0 && D(), () => {
5266
+ window.removeEventListener("message", X);
5245
5267
  }));
5246
- const ye = () => W("prev"), Oe = (g, P) => re(g, P);
5247
- function ie(g) {
5248
- Ye[g ? "unshift" : "push"](() => {
5249
- v = g, r(1, v);
5268
+ const Le = () => J("prev"), ie = (b, B) => ye(b, B);
5269
+ function _e(b) {
5270
+ Ke[b ? "unshift" : "push"](() => {
5271
+ m = b, r(2, m);
5250
5272
  });
5251
5273
  }
5252
- const ve = () => W("next");
5253
- function Le() {
5254
- b = this.clientWidth, r(2, b);
5274
+ const Ne = () => J("next");
5275
+ function at() {
5276
+ T = this.clientWidth, r(3, T);
5255
5277
  }
5256
- function ot(g) {
5257
- Ye[g ? "unshift" : "push"](() => {
5258
- m = g, r(0, m);
5278
+ function K(b) {
5279
+ Ke[b ? "unshift" : "push"](() => {
5280
+ f = b, r(1, f);
5259
5281
  });
5260
5282
  }
5261
- return e.$$set = (g) => {
5262
- "lang" in g && r(12, i = g.lang), "local" in g && r(13, o = g.local), "currencysymbol" in g && r(14, a = g.currencysymbol), "currencyposition" in g && r(15, s = g.currencyposition), "currencydecimals" in g && r(16, l = g.currencydecimals), "clientstyling" in g && r(17, u = g.clientstyling), "clientstylingurl" in g && r(18, c = g.clientstylingurl), "mbsource" in g && r(19, f = g.mbsource), "translationurl" in g && r(20, d = g.translationurl);
5283
+ return e.$$set = (b) => {
5284
+ "lang" in b && r(13, i = b.lang), "local" in b && r(14, o = b.local), "currencysymbol" in b && r(15, a = b.currencysymbol), "currencyposition" in b && r(16, s = b.currencyposition), "currencydecimals" in b && r(17, l = b.currencydecimals), "methodtype" in b && r(0, u = b.methodtype), "clientstyling" in b && r(18, h = b.clientstyling), "clientstylingurl" in b && r(19, d = b.clientstylingurl), "mbsource" in b && r(20, c = b.mbsource), "translationurl" in b && r(21, g = b.translationurl);
5263
5285
  }, e.$$.update = () => {
5264
5286
  e.$$.dirty[0] & /*lang*/
5265
- 4096 && i && te(), e.$$.dirty[0] & /*lang, translationurl*/
5266
- 1052672 && i && d && J(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
5267
- 6 && v && b && Be(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5268
- 131073 && u && m && Vo(m, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5269
- 262145 && c && m && Wo(m, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5270
- 524289 && f && m && Xo(m, `${f}.Style`);
5287
+ 8192 && i && ge(), e.$$.dirty[0] & /*lang, translationurl*/
5288
+ 2105344 && i && g && te(), e.$$.dirty[0] & /*carouselContainer, carouselContainerWidth*/
5289
+ 12 && m && T && ne(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5290
+ 262146 && h && f && zo(f, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5291
+ 524290 && d && f && Zo(f, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5292
+ 1048578 && c && f && Yo(f, `${c}.Style`);
5271
5293
  }, [
5294
+ u,
5295
+ f,
5272
5296
  m,
5273
- v,
5274
- b,
5275
- h,
5297
+ T,
5276
5298
  p,
5299
+ v,
5277
5300
  n,
5278
- H,
5301
+ N,
5302
+ ye,
5279
5303
  re,
5280
- K,
5281
- ne,
5282
- ge,
5283
- W,
5304
+ ve,
5305
+ Oe,
5306
+ J,
5284
5307
  i,
5285
5308
  o,
5286
5309
  a,
5287
5310
  s,
5288
5311
  l,
5289
- u,
5290
- c,
5291
- f,
5312
+ h,
5292
5313
  d,
5293
- ye,
5294
- Oe,
5295
- ie,
5296
- ve,
5314
+ c,
5315
+ g,
5297
5316
  Le,
5298
- ot
5317
+ ie,
5318
+ _e,
5319
+ Ne,
5320
+ at,
5321
+ K
5299
5322
  ];
5300
5323
  }
5301
- class un extends In {
5324
+ class cn extends $n {
5302
5325
  constructor(t) {
5303
- super(), Ln(
5326
+ super(), Rn(
5304
5327
  this,
5305
5328
  t,
5329
+ ts,
5306
5330
  es,
5307
- qo,
5308
- Er,
5331
+ Tr,
5309
5332
  {
5310
- lang: 12,
5311
- local: 13,
5312
- currencysymbol: 14,
5313
- currencyposition: 15,
5314
- currencydecimals: 16,
5315
- clientstyling: 17,
5316
- clientstylingurl: 18,
5317
- mbsource: 19,
5318
- translationurl: 20
5333
+ lang: 13,
5334
+ local: 14,
5335
+ currencysymbol: 15,
5336
+ currencyposition: 16,
5337
+ currencydecimals: 17,
5338
+ methodtype: 0,
5339
+ clientstyling: 18,
5340
+ clientstylingurl: 19,
5341
+ mbsource: 20,
5342
+ translationurl: 21
5319
5343
  },
5320
- Zo,
5344
+ Ko,
5321
5345
  [-1, -1]
5322
5346
  );
5323
5347
  }
5324
5348
  get lang() {
5325
- return this.$$.ctx[12];
5349
+ return this.$$.ctx[13];
5326
5350
  }
5327
5351
  set lang(t) {
5328
- this.$$set({ lang: t }), R();
5352
+ this.$$set({ lang: t }), I();
5329
5353
  }
5330
5354
  get local() {
5331
- return this.$$.ctx[13];
5355
+ return this.$$.ctx[14];
5332
5356
  }
5333
5357
  set local(t) {
5334
- this.$$set({ local: t }), R();
5358
+ this.$$set({ local: t }), I();
5335
5359
  }
5336
5360
  get currencysymbol() {
5337
- return this.$$.ctx[14];
5361
+ return this.$$.ctx[15];
5338
5362
  }
5339
5363
  set currencysymbol(t) {
5340
- this.$$set({ currencysymbol: t }), R();
5364
+ this.$$set({ currencysymbol: t }), I();
5341
5365
  }
5342
5366
  get currencyposition() {
5343
- return this.$$.ctx[15];
5367
+ return this.$$.ctx[16];
5344
5368
  }
5345
5369
  set currencyposition(t) {
5346
- this.$$set({ currencyposition: t }), R();
5370
+ this.$$set({ currencyposition: t }), I();
5347
5371
  }
5348
5372
  get currencydecimals() {
5349
- return this.$$.ctx[16];
5373
+ return this.$$.ctx[17];
5350
5374
  }
5351
5375
  set currencydecimals(t) {
5352
- this.$$set({ currencydecimals: t }), R();
5376
+ this.$$set({ currencydecimals: t }), I();
5377
+ }
5378
+ get methodtype() {
5379
+ return this.$$.ctx[0];
5380
+ }
5381
+ set methodtype(t) {
5382
+ this.$$set({ methodtype: t }), I();
5353
5383
  }
5354
5384
  get clientstyling() {
5355
- return this.$$.ctx[17];
5385
+ return this.$$.ctx[18];
5356
5386
  }
5357
5387
  set clientstyling(t) {
5358
- this.$$set({ clientstyling: t }), R();
5388
+ this.$$set({ clientstyling: t }), I();
5359
5389
  }
5360
5390
  get clientstylingurl() {
5361
- return this.$$.ctx[18];
5391
+ return this.$$.ctx[19];
5362
5392
  }
5363
5393
  set clientstylingurl(t) {
5364
- this.$$set({ clientstylingurl: t }), R();
5394
+ this.$$set({ clientstylingurl: t }), I();
5365
5395
  }
5366
5396
  get mbsource() {
5367
- return this.$$.ctx[19];
5397
+ return this.$$.ctx[20];
5368
5398
  }
5369
5399
  set mbsource(t) {
5370
- this.$$set({ mbsource: t }), R();
5400
+ this.$$set({ mbsource: t }), I();
5371
5401
  }
5372
5402
  get translationurl() {
5373
- return this.$$.ctx[20];
5403
+ return this.$$.ctx[21];
5374
5404
  }
5375
5405
  set translationurl(t) {
5376
- this.$$set({ translationurl: t }), R();
5406
+ this.$$set({ translationurl: t }), I();
5377
5407
  }
5378
5408
  }
5379
- Nn(un, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5380
- const Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5409
+ Dn(cn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, methodtype: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5410
+ const Hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5381
5411
  __proto__: null,
5382
- default: un
5412
+ default: cn
5383
5413
  }, Symbol.toStringTag, { value: "Module" }));
5384
5414
  export {
5385
5415
  ee as $,
5386
- hs as A,
5387
- Vo as B,
5388
- Wo as C,
5389
- Xo as D,
5390
- Nn as E,
5391
- Co as F,
5392
- B as G,
5393
- et as H,
5394
- Dn as I,
5395
- ws as J,
5416
+ fs as A,
5417
+ zo as B,
5418
+ Zo as C,
5419
+ Yo as D,
5420
+ Dn as E,
5421
+ Bo as F,
5422
+ M as G,
5423
+ rt as H,
5424
+ Fn as I,
5425
+ Ss as J,
5396
5426
  q as K,
5397
- as as L,
5398
- dr as M,
5399
- ko as N,
5400
- fs as O,
5401
- us as P,
5402
- Ue as Q,
5403
- Re as R,
5404
- In as S,
5405
- Wt as T,
5427
+ us as L,
5428
+ Fe as M,
5429
+ Xo as N,
5430
+ ps as O,
5431
+ ls as P,
5432
+ Ge as Q,
5433
+ De as R,
5434
+ $n as S,
5435
+ zt as T,
5406
5436
  cs as U,
5407
- ds as V,
5408
- k as W,
5409
- ps as X,
5410
- Ss as Y,
5411
- bs as Z,
5412
- gs as _,
5413
- Jr as a,
5414
- yn as a0,
5415
- Lt as a1,
5416
- ms as a2,
5437
+ ms as V,
5438
+ W,
5439
+ ds as X,
5440
+ Ts as Y,
5441
+ gs as Z,
5442
+ ys as _,
5443
+ qr as a,
5444
+ En as a0,
5445
+ It as a1,
5446
+ bs as a2,
5417
5447
  xs as a3,
5418
- _s as a4,
5419
- vs as a5,
5420
- ss as a6,
5421
- Bn as a7,
5422
- An as a8,
5423
- Es as a9,
5424
- Ts as aa,
5425
- Ln as b,
5426
- dn as c,
5427
- rs as d,
5428
- N as e,
5429
- R as f,
5430
- Mn as g,
5431
- os as h,
5432
- oo as i,
5433
- ns as j,
5434
- G as k,
5435
- E as l,
5436
- T as m,
5437
- I as n,
5438
- M as o,
5439
- pn as p,
5440
- Sn as q,
5441
- ls as r,
5442
- Er as s,
5443
- ys as t,
5444
- is as u,
5445
- F as v,
5448
+ Es as a4,
5449
+ _s as a5,
5450
+ as as a6,
5451
+ Nn as a7,
5452
+ Ln as a8,
5453
+ ws as a9,
5454
+ Hs as aa,
5455
+ Rn as b,
5456
+ gn as c,
5457
+ ns as d,
5458
+ L as e,
5459
+ I as f,
5460
+ On as g,
5461
+ ss as h,
5462
+ uo as i,
5463
+ is as j,
5464
+ j as k,
5465
+ x as l,
5466
+ H as m,
5467
+ R as n,
5468
+ C as o,
5469
+ bn as p,
5470
+ Pn as q,
5471
+ hs as r,
5472
+ Tr as s,
5473
+ vs as t,
5474
+ os as u,
5475
+ k as v,
5446
5476
  $ as w,
5447
5477
  Z as x,
5448
- Ye as y,
5449
- Vt as z
5478
+ Ke as y,
5479
+ Xt as z
5450
5480
  };