@everymatrix/cashier-page 1.69.72 → 1.69.74

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 (57) hide show
  1. package/components/{CashierCarousel-B-m8nqex.js → CashierCarousel-BRCPA28j.js} +1482 -1427
  2. package/components/CashierCarousel-BrO7Jjq7.cjs +23 -0
  3. package/components/{CashierCarousel-DnI5W6hp.js → CashierCarousel-DIW7ewty.js} +1296 -1241
  4. package/components/{CashierError-DOpWzMyJ.js → CashierError-2l9bXeE4.js} +1 -1
  5. package/components/{CashierError-N1Qr99d5.cjs → CashierError-CDQHYcyq.cjs} +1 -1
  6. package/components/{CashierError-D22GtqQB.js → CashierError-CaZfsv_b.js} +1 -1
  7. package/components/{CashierHeader-CmEDuwOJ.js → CashierHeader-BIvpeMbT.js} +1 -1
  8. package/components/{CashierHeader-DXs9Ah9v.js → CashierHeader-CRdaTXXF.js} +1 -1
  9. package/components/{CashierHeader-CXwiLLh1.cjs → CashierHeader-CYloyBeJ.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-kLMLGs7A.js → CashierIframeRedirect-CYbcbdD6.js} +3 -3
  11. package/components/{CashierIframeRedirect-B2kiloKw.js → CashierIframeRedirect-Cdt_4X-f.js} +3 -3
  12. package/components/{CashierIframeRedirect-Druw4af5.cjs → CashierIframeRedirect-DHwRIV5D.cjs} +1 -1
  13. package/components/{CashierMethodDetails-CRQ8P8bV.js → CashierMethodDetails-BT13Tc4n.js} +176 -190
  14. package/components/{CashierMethodDetails-Lknd3kpa.js → CashierMethodDetails-CGNeyY7O.js} +94 -108
  15. package/components/{CashierMethodDetails-C6RzHCgL.cjs → CashierMethodDetails-DVRVYdKy.cjs} +4 -4
  16. package/components/{CashierMethodsList-B1KyZGDS.cjs → CashierMethodsList-6EbhYst-.cjs} +1 -1
  17. package/components/{CashierMethodsList-BJQTN7dq.js → CashierMethodsList-BDEjcFjv.js} +2 -2
  18. package/components/{CashierMethodsList-CuuAKxUd.js → CashierMethodsList-ntNcljad.js} +2 -2
  19. package/components/{CashierModal-CEHvzi-f.cjs → CashierModal-8fVxVksu.cjs} +1 -1
  20. package/components/{CashierModal-C-XX1mxG.js → CashierModal-Bf-5kofx.js} +1 -1
  21. package/components/{CashierModal-BcMr8tnR.js → CashierModal-DYVVV-kg.js} +1 -1
  22. package/components/{CashierNotifications-Bj4XZbWm.js → CashierNotifications-BW_5BkiD.js} +1 -1
  23. package/components/{CashierNotifications-BofR6pfu.js → CashierNotifications-C3_w1GoO.js} +1 -1
  24. package/components/{CashierNotifications-Bod69cph.cjs → CashierNotifications-DPPdTfhe.cjs} +1 -1
  25. package/components/{CashierPage-DwvuxJmq.js → CashierPage-CS_BUiwH.js} +474 -485
  26. package/components/{CashierPage-PFA2VFFI.js → CashierPage-Ch0abxAz.js} +474 -485
  27. package/components/CashierPage-DzI64NdZ.cjs +1 -0
  28. package/components/{CashierReceiptPage-DssBygTK.js → CashierReceiptPage-Aa2KcWhC.js} +2 -2
  29. package/components/{CashierReceiptPage-D284dILU.cjs → CashierReceiptPage-BEZ2T2Ab.cjs} +1 -1
  30. package/components/{CashierReceiptPage-OASvTL-E.js → CashierReceiptPage-aa3Bncnd.js} +2 -2
  31. package/components/{CashierSessionExpirationModal-ffm35VGn.js → CashierSessionExpirationModal-BSUYQz39.js} +3 -3
  32. package/components/{CashierSessionExpirationModal-B3STY-W8.js → CashierSessionExpirationModal-BwvYkwy8.js} +3 -3
  33. package/components/{CashierSessionExpirationModal-B1lWK4NK.cjs → CashierSessionExpirationModal-D6SuVioO.cjs} +1 -1
  34. package/components/{CashierSpinner-C8mV9Ucz.cjs → CashierSpinner-CmkhBExd.cjs} +1 -1
  35. package/components/{CashierSpinner-BOIsSBe8.js → CashierSpinner-DTePmdlJ.js} +1 -1
  36. package/components/{CashierSpinner-qQLpEqvb.js → CashierSpinner-DsjTlCAT.js} +1 -1
  37. package/components/CashierTransactionHistory-10cgDV9S.cjs +1 -0
  38. package/components/CashierTransactionHistory-DOVuINdq.js +1305 -0
  39. package/components/CashierTransactionHistory-DlkirC3E.js +1305 -0
  40. package/components/{CashierVerifications-BNCyPVEk.js → CashierVerifications-Cge7EK3x.js} +2 -2
  41. package/components/{CashierVerifications-DH7e6P8T.js → CashierVerifications-D5mOMn_I.js} +2 -2
  42. package/components/{CashierVerifications-BRHoGFYA.cjs → CashierVerifications-Dfjz9JO8.cjs} +1 -1
  43. package/components/{TxnStatusIcon-Cwe0ntJi.js → TxnStatusIcon-CacWIjyU.js} +1 -1
  44. package/components/{TxnStatusIcon-CF5l9Gy1.cjs → TxnStatusIcon-CluG8nB2.cjs} +1 -1
  45. package/components/{TxnStatusIcon-bb4sl5Yl.js → TxnStatusIcon-DEE4mf59.js} +1 -1
  46. package/components/{TxnTypeIcons-BBPDPD3O.js → TxnTypeIcons-CCHGRfM4.js} +1 -1
  47. package/components/{TxnTypeIcons-Bshbdrql.js → TxnTypeIcons-Dwq4VQE8.js} +1 -1
  48. package/components/{TxnTypeIcons-CucSNCu3.cjs → TxnTypeIcons-DzkNiw5U.cjs} +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-CMOXxexR.cjs +0 -23
  54. package/components/CashierPage-D_3Ph47L.cjs +0 -1
  55. package/components/CashierTransactionHistory-Ca9Dmfit.cjs +0 -1
  56. package/components/CashierTransactionHistory-Cr-JbkwO.js +0 -1305
  57. package/components/CashierTransactionHistory-DQkC7Iai.js +0 -1305
@@ -1,7 +1,7 @@
1
- function C() {
1
+ function B() {
2
2
  }
3
- const At = (e) => e;
4
- function rn(e, t) {
3
+ const Bt = (e) => e;
4
+ function sn(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,50 +9,50 @@ function rn(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function mr(e) {
12
+ function yr(e) {
13
13
  return e();
14
14
  }
15
- function Dt() {
15
+ function Ft() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function X(e) {
19
- e.forEach(mr);
18
+ function V(e) {
19
+ e.forEach(yr);
20
20
  }
21
21
  function pe(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function br(e, t) {
24
+ function vr(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let Ce;
28
- function Ut(e, t) {
29
- return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
27
+ let Le;
28
+ function Gt(e, t) {
29
+ return e === t ? !0 : (Le || (Le = document.createElement("a")), Le.href = t, e === Le.href);
30
30
  }
31
- function nn(e) {
31
+ function an(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function gr(e, ...t) {
34
+ function _r(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
38
- return C;
38
+ return B;
39
39
  }
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function on(e, t, r) {
44
- e.$$.on_destroy.push(gr(t, r));
43
+ function un(e, t, r) {
44
+ e.$$.on_destroy.push(_r(t, r));
45
45
  }
46
- function Vo(e, t, r, n) {
46
+ function Ko(e, t, r, n) {
47
47
  if (e) {
48
- const i = yr(e, t, r, n);
48
+ const i = Er(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function yr(e, t, r, n) {
53
- return e[1] && n ? rn(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function Er(e, t, r, n) {
53
+ return e[1] && n ? sn(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function Xo(e, t, r, n) {
55
+ function Qo(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 Xo(e, t, r, n) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function Wo(e, t, r, n, i, o) {
70
+ function qo(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const a = yr(t, r, n, o);
72
+ const a = Er(t, r, n, o);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function zo(e) {
76
+ function es(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,43 +82,43 @@ function zo(e) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- function Zo(e) {
85
+ function ts(e) {
86
86
  return e ?? "";
87
87
  }
88
- const vr = typeof window < "u";
89
- let Bt = vr ? () => window.performance.now() : () => Date.now(), Ot = vr ? (e) => requestAnimationFrame(e) : C;
90
- const oe = /* @__PURE__ */ new Set();
91
- function _r(e) {
92
- oe.forEach((t) => {
93
- t.c(e) || (oe.delete(t), t.f());
94
- }), oe.size !== 0 && Ot(_r);
88
+ const xr = typeof window < "u";
89
+ let Ot = xr ? () => window.performance.now() : () => Date.now(), Lt = xr ? (e) => requestAnimationFrame(e) : B;
90
+ const se = /* @__PURE__ */ new Set();
91
+ function Sr(e) {
92
+ se.forEach((t) => {
93
+ t.c(e) || (se.delete(t), t.f());
94
+ }), se.size !== 0 && Lt(Sr);
95
95
  }
96
- function Ct(e) {
96
+ function Nt(e) {
97
97
  let t;
98
- return oe.size === 0 && Ot(_r), {
98
+ return se.size === 0 && Lt(Sr), {
99
99
  promise: new Promise((r) => {
100
- oe.add(t = { c: e, f: r });
100
+ se.add(t = { c: e, f: r });
101
101
  }),
102
102
  abort() {
103
- oe.delete(t);
103
+ se.delete(t);
104
104
  }
105
105
  };
106
106
  }
107
- const Yo = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
107
+ const rs = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
108
108
  // @ts-ignore Node typings have this
109
109
  global
110
110
  );
111
111
  function E(e, t) {
112
112
  e.appendChild(t);
113
113
  }
114
- function sn(e, t, r) {
115
- const n = Lt(e);
114
+ function ln(e, t, r) {
115
+ const n = It(e);
116
116
  if (!n.getElementById(t)) {
117
117
  const i = T("style");
118
- i.id = t, i.textContent = r, Er(n, i);
118
+ i.id = t, i.textContent = r, wr(n, i);
119
119
  }
120
120
  }
121
- function Lt(e) {
121
+ function It(e) {
122
122
  if (!e)
123
123
  return document;
124
124
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -128,92 +128,92 @@ function Lt(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function an(e) {
131
+ function hn(e) {
132
132
  const t = T("style");
133
- return t.textContent = "/* empty */", Er(Lt(e), t), t.sheet;
133
+ return t.textContent = "/* empty */", wr(It(e), t), t.sheet;
134
134
  }
135
- function Er(e, t) {
135
+ function wr(e, t) {
136
136
  return E(
137
137
  /** @type {Document} */
138
138
  e.head || e,
139
139
  t
140
140
  ), t.sheet;
141
141
  }
142
- function z(e, t, r) {
142
+ function F(e, t, r) {
143
143
  e.insertBefore(t, r || null);
144
144
  }
145
- function D(e) {
145
+ function L(e) {
146
146
  e.parentNode && e.parentNode.removeChild(e);
147
147
  }
148
- function Ft(e, t) {
148
+ function jt(e, t) {
149
149
  for (let r = 0; r < e.length; r += 1)
150
150
  e[r] && e[r].d(t);
151
151
  }
152
152
  function T(e) {
153
153
  return document.createElement(e);
154
154
  }
155
- function Jo(e) {
155
+ function ns(e) {
156
156
  return document.createElementNS("http://www.w3.org/2000/svg", e);
157
157
  }
158
158
  function N(e) {
159
159
  return document.createTextNode(e);
160
160
  }
161
- function j() {
161
+ function $() {
162
162
  return N(" ");
163
163
  }
164
- function Ko() {
164
+ function is() {
165
165
  return N("");
166
166
  }
167
- function se(e, t, r, n) {
167
+ function Z(e, t, r, n) {
168
168
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
169
169
  }
170
- function Qo(e) {
170
+ function os(e) {
171
171
  return function(t) {
172
172
  return t.preventDefault(), e.call(this, t);
173
173
  };
174
174
  }
175
- function H(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 qo(e, t, r) {
178
+ function ss(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 : H(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 es(e) {
182
+ function as(e) {
183
183
  return e === "" ? null : +e;
184
184
  }
185
- function un(e) {
185
+ function cn(e) {
186
186
  return Array.from(e.childNodes);
187
187
  }
188
- function k(e, t) {
188
+ function j(e, t) {
189
189
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
190
190
  t);
191
191
  }
192
- function ts(e, t) {
192
+ function us(e, t) {
193
193
  e.value = t ?? "";
194
194
  }
195
- let Le;
196
- function ln() {
197
- if (Le === void 0) {
198
- Le = !1;
195
+ let Ne;
196
+ function fn() {
197
+ if (Ne === void 0) {
198
+ Ne = !1;
199
199
  try {
200
200
  typeof window < "u" && window.parent && window.parent.document;
201
201
  } catch {
202
- Le = !0;
202
+ Ne = !0;
203
203
  }
204
204
  }
205
- return Le;
205
+ return Ne;
206
206
  }
207
- function rs(e, t) {
207
+ function ls(e, t) {
208
208
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
209
209
  const n = T("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 = ln();
214
+ const i = fn();
215
215
  let o;
216
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = se(
216
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Z(
217
217
  window,
218
218
  "message",
219
219
  /** @param {MessageEvent} event */
@@ -221,18 +221,18 @@ function rs(e, t) {
221
221
  a.source === n.contentWindow && t();
222
222
  }
223
223
  )) : (n.src = "about:blank", n.onload = () => {
224
- o = se(n.contentWindow, "resize", t), t();
224
+ o = Z(n.contentWindow, "resize", t), t();
225
225
  }), E(e, n), () => {
226
- (i || o && n.contentWindow) && o(), D(n);
226
+ (i || o && n.contentWindow) && o(), L(n);
227
227
  };
228
228
  }
229
- function ns(e, t, r) {
229
+ function hs(e, t, r) {
230
230
  e.classList.toggle(t, !!r);
231
231
  }
232
- function hn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
232
+ function pn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
233
233
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
234
234
  }
235
- function cn(e) {
235
+ function dn(e) {
236
236
  const t = {};
237
237
  return e.childNodes.forEach(
238
238
  /** @param {Element} node */
@@ -241,349 +241,349 @@ function cn(e) {
241
241
  }
242
242
  ), t;
243
243
  }
244
- const ke = /* @__PURE__ */ new Map();
245
- let Ve = 0;
246
- function fn(e) {
244
+ const Ve = /* @__PURE__ */ new Map();
245
+ let Xe = 0;
246
+ function mn(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 pn(e, t) {
253
- const r = { stylesheet: an(t), rules: {} };
254
- return ke.set(e, r), r;
252
+ function bn(e, t) {
253
+ const r = { stylesheet: hn(t), rules: {} };
254
+ return Ve.set(e, r), r;
255
255
  }
256
- function Xe(e, t, r, n, i, o, a, s = 0) {
257
- const h = 16.666 / n;
256
+ function We(e, t, r, n, i, o, a, s = 0) {
257
+ const u = 16.666 / n;
258
258
  let l = `{
259
259
  `;
260
- for (let y = 0; y <= 1; y += h) {
261
- const x = t + (r - t) * o(y);
262
- l += y * 100 + `%{${a(x, 1 - x)}}
260
+ for (let v = 0; v <= 1; v += u) {
261
+ const g = t + (r - t) * o(v);
262
+ l += v * 100 + `%{${a(g, 1 - g)}}
263
263
  `;
264
264
  }
265
- const u = l + `100% {${a(r, 1 - r)}}
266
- }`, f = `__svelte_${fn(u)}_${s}`, c = Lt(e), { stylesheet: m, rules: p } = ke.get(c) || pn(c, e);
267
- p[f] || (p[f] = !0, m.insertRule(`@keyframes ${f} ${u}`, m.cssRules.length));
268
- const d = e.style.animation || "";
269
- return e.style.animation = `${d ? `${d}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Ve += 1, f;
265
+ const h = l + `100% {${a(r, 1 - r)}}
266
+ }`, c = `__svelte_${mn(h)}_${s}`, p = It(e), { stylesheet: b, rules: d } = Ve.get(p) || bn(p, e);
267
+ d[c] || (d[c] = !0, b.insertRule(`@keyframes ${c} ${h}`, b.cssRules.length));
268
+ const f = e.style.animation || "";
269
+ return e.style.animation = `${f ? `${f}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Xe += 1, c;
270
270
  }
271
- function We(e, t) {
271
+ function ze(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(", "), Ve -= i, Ve || dn());
276
+ i && (e.style.animation = n.join(", "), Xe -= i, Xe || gn());
277
277
  }
278
- function dn() {
279
- Ot(() => {
280
- Ve || (ke.forEach((e) => {
278
+ function gn() {
279
+ Lt(() => {
280
+ Xe || (Ve.forEach((e) => {
281
281
  const { ownerNode: t } = e.stylesheet;
282
- t && D(t);
283
- }), ke.clear());
282
+ t && L(t);
283
+ }), Ve.clear());
284
284
  });
285
285
  }
286
286
  let Se;
287
287
  function xe(e) {
288
288
  Se = e;
289
289
  }
290
- function xr() {
290
+ function Tr() {
291
291
  if (!Se)
292
292
  throw new Error("Function called outside component initialization");
293
293
  return Se;
294
294
  }
295
- function mn(e) {
296
- xr().$$.on_mount.push(e);
295
+ function yn(e) {
296
+ Tr().$$.on_mount.push(e);
297
297
  }
298
- function is(e) {
299
- xr().$$.on_destroy.push(e);
298
+ function cs(e) {
299
+ Tr().$$.on_destroy.push(e);
300
300
  }
301
- const ie = [], ze = [];
301
+ const oe = [], Ze = [];
302
302
  let ae = [];
303
- const Gt = [], bn = /* @__PURE__ */ Promise.resolve();
304
- let ct = !1;
305
- function gn() {
306
- ct || (ct = !0, bn.then(R));
303
+ const kt = [], vn = /* @__PURE__ */ Promise.resolve();
304
+ let pt = !1;
305
+ function _n() {
306
+ pt || (pt = !0, vn.then(R));
307
307
  }
308
308
  function ue(e) {
309
309
  ae.push(e);
310
310
  }
311
- const nt = /* @__PURE__ */ new Set();
312
- let re = 0;
311
+ const ot = /* @__PURE__ */ new Set();
312
+ let ne = 0;
313
313
  function R() {
314
- if (re !== 0)
314
+ if (ne !== 0)
315
315
  return;
316
316
  const e = Se;
317
317
  do {
318
318
  try {
319
- for (; re < ie.length; ) {
320
- const t = ie[re];
321
- re++, xe(t), yn(t.$$);
319
+ for (; ne < oe.length; ) {
320
+ const t = oe[ne];
321
+ ne++, xe(t), En(t.$$);
322
322
  }
323
323
  } catch (t) {
324
- throw ie.length = 0, re = 0, t;
324
+ throw oe.length = 0, ne = 0, t;
325
325
  }
326
- for (xe(null), ie.length = 0, re = 0; ze.length; )
327
- ze.pop()();
326
+ for (xe(null), oe.length = 0, ne = 0; Ze.length; )
327
+ Ze.pop()();
328
328
  for (let t = 0; t < ae.length; t += 1) {
329
329
  const r = ae[t];
330
- nt.has(r) || (nt.add(r), r());
330
+ ot.has(r) || (ot.add(r), r());
331
331
  }
332
332
  ae.length = 0;
333
- } while (ie.length);
334
- for (; Gt.length; )
335
- Gt.pop()();
336
- ct = !1, nt.clear(), xe(e);
333
+ } while (oe.length);
334
+ for (; kt.length; )
335
+ kt.pop()();
336
+ pt = !1, ot.clear(), xe(e);
337
337
  }
338
- function yn(e) {
338
+ function En(e) {
339
339
  if (e.fragment !== null) {
340
- e.update(), X(e.before_update);
340
+ e.update(), V(e.before_update);
341
341
  const t = e.dirty;
342
342
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ue);
343
343
  }
344
344
  }
345
- function vn(e) {
345
+ function xn(e) {
346
346
  const t = [], r = [];
347
347
  ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ae = t;
348
348
  }
349
349
  let ye;
350
- function Nt() {
350
+ function Rt() {
351
351
  return ye || (ye = Promise.resolve(), ye.then(() => {
352
352
  ye = null;
353
353
  })), ye;
354
354
  }
355
- function J(e, t, r) {
356
- e.dispatchEvent(hn(`${t ? "intro" : "outro"}${r}`));
355
+ function K(e, t, r) {
356
+ e.dispatchEvent(pn(`${t ? "intro" : "outro"}${r}`));
357
357
  }
358
- const De = /* @__PURE__ */ new Set();
359
- let G;
360
- function os() {
361
- G = {
358
+ const Ue = /* @__PURE__ */ new Set();
359
+ let U;
360
+ function fs() {
361
+ U = {
362
362
  r: 0,
363
363
  c: [],
364
- p: G
364
+ p: U
365
365
  // parent group
366
366
  };
367
367
  }
368
- function ss() {
369
- G.r || X(G.c), G = G.p;
368
+ function ps() {
369
+ U.r || V(U.c), U = U.p;
370
370
  }
371
- function _n(e, t) {
372
- e && e.i && (De.delete(e), e.i(t));
371
+ function Sn(e, t) {
372
+ e && e.i && (Ue.delete(e), e.i(t));
373
373
  }
374
- function as(e, t, r, n) {
374
+ function ds(e, t, r, n) {
375
375
  if (e && e.o) {
376
- if (De.has(e))
376
+ if (Ue.has(e))
377
377
  return;
378
- De.add(e), G.c.push(() => {
379
- De.delete(e), n && (r && e.d(1), n());
378
+ Ue.add(e), U.c.push(() => {
379
+ Ue.delete(e), n && (r && e.d(1), n());
380
380
  }), e.o(t);
381
381
  } else
382
382
  n && n();
383
383
  }
384
- const It = { duration: 0 };
385
- function us(e, t, r) {
384
+ const $t = { duration: 0 };
385
+ function ms(e, t, r) {
386
386
  const n = { direction: "in" };
387
- let i = t(e, r, n), o = !1, a, s, h = 0;
387
+ let i = t(e, r, n), o = !1, a, s, u = 0;
388
388
  function l() {
389
- a && We(e, a);
389
+ a && ze(e, a);
390
390
  }
391
- function u() {
391
+ function h() {
392
392
  const {
393
- delay: c = 0,
394
- duration: m = 300,
395
- easing: p = At,
396
- tick: d = C,
397
- css: y
398
- } = i || It;
399
- y && (a = Xe(e, 0, 1, m, c, p, y, h++)), d(0, 1);
400
- const x = Bt() + c, S = x + m;
401
- s && s.abort(), o = !0, ue(() => J(e, !0, "start")), s = Ct((g) => {
393
+ delay: p = 0,
394
+ duration: b = 300,
395
+ easing: d = Bt,
396
+ tick: f = B,
397
+ css: v
398
+ } = i || $t;
399
+ v && (a = We(e, 0, 1, b, p, d, v, u++)), f(0, 1);
400
+ const g = Ot() + p, _ = g + b;
401
+ s && s.abort(), o = !0, ue(() => K(e, !0, "start")), s = Nt((m) => {
402
402
  if (o) {
403
- if (g >= S)
404
- return d(1, 0), J(e, !0, "end"), l(), o = !1;
405
- if (g >= x) {
406
- const M = p((g - x) / m);
407
- d(M, 1 - M);
403
+ if (m >= _)
404
+ return f(1, 0), K(e, !0, "end"), l(), o = !1;
405
+ if (m >= g) {
406
+ const H = d((m - g) / b);
407
+ f(H, 1 - H);
408
408
  }
409
409
  }
410
410
  return o;
411
411
  });
412
412
  }
413
- let f = !1;
413
+ let c = !1;
414
414
  return {
415
415
  start() {
416
- f || (f = !0, We(e), pe(i) ? (i = i(n), Nt().then(u)) : u());
416
+ c || (c = !0, ze(e), pe(i) ? (i = i(n), Rt().then(h)) : h());
417
417
  },
418
418
  invalidate() {
419
- f = !1;
419
+ c = !1;
420
420
  },
421
421
  end() {
422
422
  o && (l(), o = !1);
423
423
  }
424
424
  };
425
425
  }
426
- function ls(e, t, r) {
426
+ function bs(e, t, r) {
427
427
  const n = { direction: "out" };
428
428
  let i = t(e, r, n), o = !0, a;
429
- const s = G;
429
+ const s = U;
430
430
  s.r += 1;
431
- let h;
431
+ let u;
432
432
  function l() {
433
433
  const {
434
- delay: u = 0,
435
- duration: f = 300,
436
- easing: c = At,
437
- tick: m = C,
438
- css: p
439
- } = i || It;
440
- p && (a = Xe(e, 1, 0, f, u, c, p));
441
- const d = Bt() + u, y = d + f;
442
- ue(() => J(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
443
- e.inert, e.inert = !0), Ct((x) => {
434
+ delay: h = 0,
435
+ duration: c = 300,
436
+ easing: p = Bt,
437
+ tick: b = B,
438
+ css: d
439
+ } = i || $t;
440
+ d && (a = We(e, 1, 0, c, h, p, d));
441
+ const f = Ot() + h, v = f + c;
442
+ ue(() => K(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
443
+ e.inert, e.inert = !0), Nt((g) => {
444
444
  if (o) {
445
- if (x >= y)
446
- return m(0, 1), J(e, !1, "end"), --s.r || X(s.c), !1;
447
- if (x >= d) {
448
- const S = c((x - d) / f);
449
- m(1 - S, S);
445
+ if (g >= v)
446
+ return b(0, 1), K(e, !1, "end"), --s.r || V(s.c), !1;
447
+ if (g >= f) {
448
+ const _ = p((g - f) / c);
449
+ b(1 - _, _);
450
450
  }
451
451
  }
452
452
  return o;
453
453
  });
454
454
  }
455
- return pe(i) ? Nt().then(() => {
455
+ return pe(i) ? Rt().then(() => {
456
456
  i = i(n), l();
457
457
  }) : l(), {
458
- end(u) {
459
- u && "inert" in e && (e.inert = h), u && i.tick && i.tick(1, 0), o && (a && We(e, a), o = !1);
458
+ end(h) {
459
+ h && "inert" in e && (e.inert = u), h && i.tick && i.tick(1, 0), o && (a && ze(e, a), o = !1);
460
460
  }
461
461
  };
462
462
  }
463
- function hs(e, t, r, n) {
464
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, h = null, l = null, u;
465
- function f() {
466
- l && We(e, l);
463
+ function gs(e, t, r, n) {
464
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, h;
465
+ function c() {
466
+ l && ze(e, l);
467
467
  }
468
- function c(p, d) {
469
- const y = (
468
+ function p(d, f) {
469
+ const v = (
470
470
  /** @type {Program['d']} */
471
- p.b - a
471
+ d.b - a
472
472
  );
473
- return d *= Math.abs(y), {
473
+ return f *= Math.abs(v), {
474
474
  a,
475
- b: p.b,
476
- d: y,
477
- duration: d,
478
- start: p.start,
479
- end: p.start + d,
480
- group: p.group
475
+ b: d.b,
476
+ d: v,
477
+ duration: f,
478
+ start: d.start,
479
+ end: d.start + f,
480
+ group: d.group
481
481
  };
482
482
  }
483
- function m(p) {
483
+ function b(d) {
484
484
  const {
485
- delay: d = 0,
486
- duration: y = 300,
487
- easing: x = At,
488
- tick: S = C,
489
- css: g
490
- } = o || It, M = {
491
- start: Bt() + d,
492
- b: p
485
+ delay: f = 0,
486
+ duration: v = 300,
487
+ easing: g = Bt,
488
+ tick: _ = B,
489
+ css: m
490
+ } = o || $t, H = {
491
+ start: Ot() + f,
492
+ b: d
493
493
  };
494
- p || (M.group = G, G.r += 1), "inert" in e && (p ? u !== void 0 && (e.inert = u) : (u = /** @type {HTMLElement} */
495
- e.inert, e.inert = !0)), s || h ? h = M : (g && (f(), l = Xe(e, a, p, y, d, x, g)), p && S(0, 1), s = c(M, y), ue(() => J(e, p, "start")), Ct((A) => {
496
- if (h && A > h.start && (s = c(h, y), h = null, J(e, s.b, "start"), g && (f(), l = Xe(
494
+ d || (H.group = U, U.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
495
+ e.inert, e.inert = !0)), s || u ? u = H : (m && (c(), l = We(e, a, d, v, f, g, m)), d && _(0, 1), s = p(H, v), ue(() => K(e, d, "start")), Nt((A) => {
496
+ if (u && A > u.start && (s = p(u, v), u = null, K(e, s.b, "start"), m && (c(), l = We(
497
497
  e,
498
498
  a,
499
499
  s.b,
500
500
  s.duration,
501
501
  0,
502
- x,
502
+ g,
503
503
  o.css
504
504
  ))), s) {
505
505
  if (A >= s.end)
506
- S(a = s.b, 1 - a), J(e, s.b, "end"), h || (s.b ? f() : --s.group.r || X(s.group.c)), s = null;
506
+ _(a = s.b, 1 - a), K(e, s.b, "end"), u || (s.b ? c() : --s.group.r || V(s.group.c)), s = null;
507
507
  else if (A >= s.start) {
508
508
  const I = A - s.start;
509
- a = s.a + s.d * x(I / s.duration), S(a, 1 - a);
509
+ a = s.a + s.d * g(I / s.duration), _(a, 1 - a);
510
510
  }
511
511
  }
512
- return !!(s || h);
512
+ return !!(s || u);
513
513
  }));
514
514
  }
515
515
  return {
516
- run(p) {
517
- pe(o) ? Nt().then(() => {
518
- o = o({ direction: p ? "in" : "out" }), m(p);
519
- }) : m(p);
516
+ run(d) {
517
+ pe(o) ? Rt().then(() => {
518
+ o = o({ direction: d ? "in" : "out" }), b(d);
519
+ }) : b(d);
520
520
  },
521
521
  end() {
522
- f(), s = h = null;
522
+ c(), s = u = null;
523
523
  }
524
524
  };
525
525
  }
526
- function Ne(e) {
526
+ function Ie(e) {
527
527
  return e?.length !== void 0 ? e : Array.from(e);
528
528
  }
529
- function cs(e) {
529
+ function ys(e) {
530
530
  e && e.c();
531
531
  }
532
- function En(e, t, r) {
532
+ function wn(e, t, r) {
533
533
  const { fragment: n, after_update: i } = e.$$;
534
534
  n && n.m(t, r), ue(() => {
535
- const o = e.$$.on_mount.map(mr).filter(pe);
536
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
535
+ const o = e.$$.on_mount.map(yr).filter(pe);
536
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : V(o), e.$$.on_mount = [];
537
537
  }), i.forEach(ue);
538
538
  }
539
- function xn(e, t) {
539
+ function Tn(e, t) {
540
540
  const r = e.$$;
541
- r.fragment !== null && (vn(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
541
+ r.fragment !== null && (xn(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
542
542
  }
543
- function Sn(e, t) {
544
- e.$$.dirty[0] === -1 && (ie.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
543
+ function Hn(e, t) {
544
+ e.$$.dirty[0] === -1 && (oe.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
545
545
  }
546
- function wn(e, t, r, n, i, o, a = null, s = [-1]) {
547
- const h = Se;
546
+ function Pn(e, t, r, n, i, o, a = null, s = [-1]) {
547
+ const u = Se;
548
548
  xe(e);
549
549
  const l = e.$$ = {
550
550
  fragment: null,
551
551
  ctx: [],
552
552
  // state
553
553
  props: o,
554
- update: C,
554
+ update: B,
555
555
  not_equal: i,
556
- bound: Dt(),
556
+ bound: Ft(),
557
557
  // lifecycle
558
558
  on_mount: [],
559
559
  on_destroy: [],
560
560
  on_disconnect: [],
561
561
  before_update: [],
562
562
  after_update: [],
563
- context: new Map(t.context || (h ? h.$$.context : [])),
563
+ context: new Map(t.context || (u ? u.$$.context : [])),
564
564
  // everything else
565
- callbacks: Dt(),
565
+ callbacks: Ft(),
566
566
  dirty: s,
567
567
  skip_bound: !1,
568
- root: t.target || h.$$.root
568
+ root: t.target || u.$$.root
569
569
  };
570
570
  a && a(l.root);
571
- let u = !1;
572
- if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
573
- const p = m.length ? m[0] : c;
574
- return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), u && Sn(e, f)), c;
575
- }) : [], l.update(), u = !0, X(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
571
+ let h = !1;
572
+ if (l.ctx = r ? r(e, t.props || {}, (c, p, ...b) => {
573
+ const d = b.length ? b[0] : p;
574
+ return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && Hn(e, c)), p;
575
+ }) : [], l.update(), h = !0, V(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
576
576
  if (t.hydrate) {
577
- const f = un(t.target);
578
- l.fragment && l.fragment.l(f), f.forEach(D);
577
+ const c = cn(t.target);
578
+ l.fragment && l.fragment.l(c), c.forEach(L);
579
579
  } else
580
580
  l.fragment && l.fragment.c();
581
- t.intro && _n(e.$$.fragment), En(e, t.target, t.anchor), R();
581
+ t.intro && Sn(e.$$.fragment), wn(e, t.target, t.anchor), R();
582
582
  }
583
- xe(h);
583
+ xe(u);
584
584
  }
585
- let Sr;
586
- typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
585
+ let Hr;
586
+ typeof HTMLElement == "function" && (Hr = class extends HTMLElement {
587
587
  /** The Svelte component constructor */
588
588
  $$ctor;
589
589
  /** Slots */
@@ -625,29 +625,29 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
625
625
  let o;
626
626
  return {
627
627
  c: function() {
628
- o = T("slot"), i !== "default" && H(o, "name", i);
628
+ o = T("slot"), i !== "default" && C(o, "name", i);
629
629
  },
630
630
  /**
631
631
  * @param {HTMLElement} target
632
632
  * @param {HTMLElement} [anchor]
633
633
  */
634
- m: function(h, l) {
635
- z(h, o, l);
634
+ m: function(u, l) {
635
+ F(u, o, l);
636
636
  },
637
- d: function(h) {
638
- h && D(o);
637
+ d: function(u) {
638
+ u && 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 = cn(this);
645
+ const t = {}, r = dn(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] = Ue(o, i.value, this.$$p_d, "toProp"));
650
+ o in this.$$d || (this.$$d[o] = Fe(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" && (Sr = 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 = Ue(
668
+ const o = Fe(
669
669
  i,
670
670
  this.$$d[i],
671
671
  this.$$p_d,
@@ -687,7 +687,7 @@ typeof HTMLElement == "function" && (Sr = 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] = Ue(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
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] }));
691
691
  }
692
692
  disconnectedCallback() {
693
693
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -700,7 +700,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
700
700
  ) || e;
701
701
  }
702
702
  });
703
- function Ue(e, t, r, n) {
703
+ function Fe(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 Ue(e, t, r, n) {
729
729
  return t;
730
730
  }
731
731
  }
732
- function Tn(e, t, r, n, i, o) {
733
- let a = class extends Sr {
732
+ function Cn(e, t, r, n, i, o) {
733
+ let a = class extends Hr {
734
734
  constructor() {
735
735
  super(e, r, i), this.$$p_d = t;
736
736
  }
@@ -745,8 +745,8 @@ function Tn(e, t, r, n, i, o) {
745
745
  get() {
746
746
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
747
747
  },
748
- set(h) {
749
- h = Ue(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
748
+ set(u) {
749
+ u = Fe(s, u, t), this.$$d[s] = u, this.$$c?.$set({ [s]: u });
750
750
  }
751
751
  });
752
752
  }), n.forEach((s) => {
@@ -758,7 +758,7 @@ function Tn(e, t, r, n, i, o) {
758
758
  }), e.element = /** @type {any} */
759
759
  a, a;
760
760
  }
761
- class Pn {
761
+ class Mn {
762
762
  /**
763
763
  * ### PRIVATE API
764
764
  *
@@ -777,7 +777,7 @@ class Pn {
777
777
  $$set = void 0;
778
778
  /** @returns {void} */
779
779
  $destroy() {
780
- xn(this, 1), this.$destroy = C;
780
+ Tn(this, 1), this.$destroy = B;
781
781
  }
782
782
  /**
783
783
  * @template {Extract<keyof Events, string>} K
@@ -787,7 +787,7 @@ class Pn {
787
787
  */
788
788
  $on(t, r) {
789
789
  if (!pe(r))
790
- return C;
790
+ return B;
791
791
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
792
792
  return n.push(r), () => {
793
793
  const i = n.indexOf(r);
@@ -799,38 +799,38 @@ class Pn {
799
799
  * @returns {void}
800
800
  */
801
801
  $set(t) {
802
- this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
802
+ this.$$set && !an(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
803
803
  }
804
804
  }
805
- const Hn = "4";
806
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
807
- const ne = [];
808
- function Mn(e, t) {
805
+ const An = "4";
806
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(An);
807
+ const ie = [];
808
+ function Bn(e, t) {
809
809
  return {
810
- subscribe: Qe(e, t).subscribe
810
+ subscribe: qe(e, t).subscribe
811
811
  };
812
812
  }
813
- function Qe(e, t = C) {
813
+ function qe(e, t = B) {
814
814
  let r;
815
815
  const n = /* @__PURE__ */ new Set();
816
816
  function i(s) {
817
- if (br(e, s) && (e = s, r)) {
818
- const h = !ne.length;
817
+ if (vr(e, s) && (e = s, r)) {
818
+ const u = !ie.length;
819
819
  for (const l of n)
820
- l[1](), ne.push(l, e);
821
- if (h) {
822
- for (let l = 0; l < ne.length; l += 2)
823
- ne[l][0](ne[l + 1]);
824
- ne.length = 0;
820
+ l[1](), ie.push(l, e);
821
+ if (u) {
822
+ for (let l = 0; l < ie.length; l += 2)
823
+ ie[l][0](ie[l + 1]);
824
+ ie.length = 0;
825
825
  }
826
826
  }
827
827
  }
828
828
  function o(s) {
829
829
  i(s(e));
830
830
  }
831
- function a(s, h = C) {
832
- const l = [s, h];
833
- return n.add(l), n.size === 1 && (r = t(i, o) || C), s(e), () => {
831
+ function a(s, u = B) {
832
+ const l = [s, u];
833
+ return n.add(l), n.size === 1 && (r = t(i, o) || B), s(e), () => {
834
834
  n.delete(l), n.size === 0 && r && (r(), r = null);
835
835
  };
836
836
  }
@@ -841,97 +841,97 @@ function de(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 Mn(r, (a, s) => {
845
- let h = !1;
844
+ return Bn(r, (a, s) => {
845
+ let u = !1;
846
846
  const l = [];
847
- let u = 0, f = C;
848
- const c = () => {
849
- if (u)
847
+ let h = 0, c = B;
848
+ const p = () => {
849
+ if (h)
850
850
  return;
851
- f();
852
- const p = t(n ? l[0] : l, a, s);
853
- o ? a(p) : f = pe(p) ? p : C;
854
- }, m = i.map(
855
- (p, d) => gr(
856
- p,
857
- (y) => {
858
- l[d] = y, u &= ~(1 << d), h && c();
851
+ c();
852
+ const d = t(n ? l[0] : l, a, s);
853
+ o ? a(d) : c = pe(d) ? d : B;
854
+ }, b = i.map(
855
+ (d, f) => _r(
856
+ d,
857
+ (v) => {
858
+ l[f] = v, h &= ~(1 << f), u && p();
859
859
  },
860
860
  () => {
861
- u |= 1 << d;
861
+ h |= 1 << f;
862
862
  }
863
863
  )
864
864
  );
865
- return h = !0, c(), function() {
866
- X(m), f(), h = !1;
865
+ return u = !0, p(), function() {
866
+ V(b), c(), u = !1;
867
867
  };
868
868
  });
869
869
  }
870
- var fs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
871
- function An(e) {
870
+ var vs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
871
+ function On(e) {
872
872
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
873
873
  }
874
- var Bn = function(t) {
875
- return On(t) && !Cn(t);
874
+ var Ln = function(t) {
875
+ return Nn(t) && !In(t);
876
876
  };
877
- function On(e) {
877
+ function Nn(e) {
878
878
  return !!e && typeof e == "object";
879
879
  }
880
- function Cn(e) {
880
+ function In(e) {
881
881
  var t = Object.prototype.toString.call(e);
882
- return t === "[object RegExp]" || t === "[object Date]" || In(e);
882
+ return t === "[object RegExp]" || t === "[object Date]" || Dn(e);
883
883
  }
884
- var Ln = typeof Symbol == "function" && Symbol.for, Nn = Ln ? Symbol.for("react.element") : 60103;
885
- function In(e) {
886
- return e.$$typeof === Nn;
884
+ var Rn = typeof Symbol == "function" && Symbol.for, $n = Rn ? Symbol.for("react.element") : 60103;
885
+ function Dn(e) {
886
+ return e.$$typeof === $n;
887
887
  }
888
- function $n(e) {
888
+ function Un(e) {
889
889
  return Array.isArray(e) ? [] : {};
890
890
  }
891
891
  function we(e, t) {
892
- return t.clone !== !1 && t.isMergeableObject(e) ? le($n(e), e, t) : e;
892
+ return t.clone !== !1 && t.isMergeableObject(e) ? le(Un(e), e, t) : e;
893
893
  }
894
- function Rn(e, t, r) {
894
+ function Fn(e, t, r) {
895
895
  return e.concat(t).map(function(n) {
896
896
  return we(n, r);
897
897
  });
898
898
  }
899
- function Dn(e, t) {
899
+ function Gn(e, t) {
900
900
  if (!t.customMerge)
901
901
  return le;
902
902
  var r = t.customMerge(e);
903
903
  return typeof r == "function" ? r : le;
904
904
  }
905
- function Un(e) {
905
+ function jn(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 jt(e) {
911
- return Object.keys(e).concat(Un(e));
910
+ function Vt(e) {
911
+ return Object.keys(e).concat(jn(e));
912
912
  }
913
- function wr(e, t) {
913
+ function Pr(e, t) {
914
914
  try {
915
915
  return t in e;
916
916
  } catch {
917
917
  return !1;
918
918
  }
919
919
  }
920
- function Fn(e, t) {
921
- return wr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
920
+ function kn(e, t) {
921
+ return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
922
922
  }
923
- function Gn(e, t, r) {
923
+ function Vn(e, t, r) {
924
924
  var n = {};
925
- return r.isMergeableObject(e) && jt(e).forEach(function(i) {
925
+ return r.isMergeableObject(e) && Vt(e).forEach(function(i) {
926
926
  n[i] = we(e[i], r);
927
- }), jt(t).forEach(function(i) {
928
- Fn(e, i) || (wr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Dn(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
927
+ }), Vt(t).forEach(function(i) {
928
+ kn(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
929
929
  }), n;
930
930
  }
931
931
  function le(e, t, r) {
932
- r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = we;
932
+ r = r || {}, r.arrayMerge = r.arrayMerge || Fn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = we;
933
933
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
934
- return o ? n ? r.arrayMerge(e, t, r) : Gn(e, t, r) : we(t, r);
934
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : we(t, r);
935
935
  }
936
936
  le.all = function(t, r) {
937
937
  if (!Array.isArray(t))
@@ -940,36 +940,36 @@ le.all = function(t, r) {
940
940
  return le(n, i, r);
941
941
  }, {});
942
942
  };
943
- var jn = le, kn = jn;
944
- const Vn = /* @__PURE__ */ An(kn);
945
- var ft = function(e, t) {
946
- return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
943
+ var Xn = le, Wn = Xn;
944
+ const zn = /* @__PURE__ */ On(Wn);
945
+ var dt = function(e, t) {
946
+ return dt = 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
- }, ft(e, t);
951
+ }, dt(e, t);
952
952
  };
953
- function qe(e, t) {
953
+ function et(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
- ft(e, t);
956
+ dt(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 F = function() {
963
- return F = Object.assign || function(t) {
962
+ var D = function() {
963
+ return D = 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
- }, F.apply(this, arguments);
970
+ }, D.apply(this, arguments);
971
971
  };
972
- function Xn(e, t) {
972
+ function Zn(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 Xn(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 it(e, t, r) {
981
+ function st(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 ot(e, t) {
988
- var r = t && t.cache ? t.cache : Qn, n = t && t.serializer ? t.serializer : Jn, i = t && t.strategy ? t.strategy : Zn;
987
+ function at(e, t) {
988
+ var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Kn;
989
989
  return i(e, {
990
990
  cache: r,
991
991
  serializer: n
992
992
  });
993
993
  }
994
- function Wn(e) {
994
+ function Yn(e) {
995
995
  return e == null || typeof e == "number" || typeof e == "boolean";
996
996
  }
997
- function zn(e, t, r, n) {
998
- var i = Wn(n) ? n : r(n), o = t.get(i);
997
+ function Jn(e, t, r, n) {
998
+ var i = Yn(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 Tr(e, t, r) {
1001
+ function Cr(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 Pr(e, t, r, n, i) {
1005
+ function Mr(e, t, r, n, i) {
1006
1006
  return r.bind(t, e, n, i);
1007
1007
  }
1008
- function Zn(e, t) {
1009
- var r = e.length === 1 ? zn : Tr;
1010
- return Pr(e, this, r, t.cache.create(), t.serializer);
1008
+ function Kn(e, t) {
1009
+ var r = e.length === 1 ? Jn : Cr;
1010
+ return Mr(e, this, r, t.cache.create(), t.serializer);
1011
1011
  }
1012
- function Yn(e, t) {
1013
- return Pr(e, this, Tr, t.cache.create(), t.serializer);
1012
+ function Qn(e, t) {
1013
+ return Mr(e, this, Cr, t.cache.create(), t.serializer);
1014
1014
  }
1015
- var Jn = function() {
1015
+ var qn = function() {
1016
1016
  return JSON.stringify(arguments);
1017
- }, Kn = (
1017
+ }, ei = (
1018
1018
  /** @class */
1019
1019
  function() {
1020
1020
  function e() {
@@ -1026,71 +1026,71 @@ var Jn = function() {
1026
1026
  this.cache[t] = r;
1027
1027
  }, e;
1028
1028
  }()
1029
- ), Qn = {
1029
+ ), ti = {
1030
1030
  create: function() {
1031
- return new Kn();
1031
+ return new ei();
1032
1032
  }
1033
- }, st = {
1034
- variadic: Yn
1035
- }, Ze = function() {
1036
- return Ze = Object.assign || function(t) {
1033
+ }, ut = {
1034
+ variadic: Qn
1035
+ }, Ye = function() {
1036
+ return Ye = 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
- }, Ze.apply(this, arguments);
1043
+ }, Ye.apply(this, arguments);
1044
1044
  };
1045
- var v;
1045
+ var x;
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
- })(v || (v = {}));
1049
- var w;
1048
+ })(x || (x = {}));
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
- })(w || (w = {}));
1052
+ })(P || (P = {}));
1053
1053
  var he;
1054
1054
  (function(e) {
1055
1055
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1056
1056
  })(he || (he = {}));
1057
- function kt(e) {
1058
- return e.type === w.literal;
1059
- }
1060
- function qn(e) {
1061
- return e.type === w.argument;
1062
- }
1063
- function Hr(e) {
1064
- return e.type === w.number;
1057
+ function Xt(e) {
1058
+ return e.type === P.literal;
1065
1059
  }
1066
- function Mr(e) {
1067
- return e.type === w.date;
1060
+ function ri(e) {
1061
+ return e.type === P.argument;
1068
1062
  }
1069
1063
  function Ar(e) {
1070
- return e.type === w.time;
1064
+ return e.type === P.number;
1071
1065
  }
1072
1066
  function Br(e) {
1073
- return e.type === w.select;
1067
+ return e.type === P.date;
1074
1068
  }
1075
1069
  function Or(e) {
1076
- return e.type === w.plural;
1070
+ return e.type === P.time;
1071
+ }
1072
+ function Lr(e) {
1073
+ return e.type === P.select;
1077
1074
  }
1078
- function ei(e) {
1079
- return e.type === w.pound;
1075
+ function Nr(e) {
1076
+ return e.type === P.plural;
1080
1077
  }
1081
- function Cr(e) {
1082
- return e.type === w.tag;
1078
+ function ni(e) {
1079
+ return e.type === P.pound;
1083
1080
  }
1084
- function Lr(e) {
1081
+ function Ir(e) {
1082
+ return e.type === P.tag;
1083
+ }
1084
+ function Rr(e) {
1085
1085
  return !!(e && typeof e == "object" && e.type === he.number);
1086
1086
  }
1087
- function pt(e) {
1087
+ function mt(e) {
1088
1088
  return !!(e && typeof e == "object" && e.type === he.dateTime);
1089
1089
  }
1090
- var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[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 ri(e) {
1090
+ var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1091
+ function oi(e) {
1092
1092
  var t = {};
1093
- return e.replace(ti, function(r) {
1093
+ return e.replace(ii, function(r) {
1094
1094
  var n = r.length;
1095
1095
  switch (r[0]) {
1096
1096
  case "G":
@@ -1179,46 +1179,46 @@ function ri(e) {
1179
1179
  return "";
1180
1180
  }), t;
1181
1181
  }
1182
- var P = function() {
1183
- return P = Object.assign || function(t) {
1182
+ var M = function() {
1183
+ return M = Object.assign || function(t) {
1184
1184
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1185
1185
  r = arguments[n];
1186
1186
  for (var o in r)
1187
1187
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1188
1188
  }
1189
1189
  return t;
1190
- }, P.apply(this, arguments);
1190
+ }, M.apply(this, arguments);
1191
1191
  };
1192
- var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1193
- function ii(e) {
1192
+ var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1193
+ function ai(e) {
1194
1194
  if (e.length === 0)
1195
1195
  throw new Error("Number skeleton cannot be empty");
1196
- for (var t = e.split(ni).filter(function(c) {
1197
- return c.length > 0;
1196
+ for (var t = e.split(si).filter(function(p) {
1197
+ return p.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], h = a.slice(1), l = 0, u = h; l < u.length; l++) {
1203
- var f = u[l];
1204
- if (f.length === 0)
1202
+ for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1203
+ var c = h[l];
1204
+ if (c.length === 0)
1205
1205
  throw new Error("Invalid number skeleton");
1206
1206
  }
1207
- r.push({ stem: s, options: h });
1207
+ r.push({ stem: s, options: u });
1208
1208
  }
1209
1209
  return r;
1210
1210
  }
1211
- function oi(e) {
1211
+ function ui(e) {
1212
1212
  return e.replace(/^(.*?)-/, "");
1213
1213
  }
1214
- var Vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ir = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, $r = /^(0+)$/;
1215
- function Xt(e) {
1214
+ var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dr = /^(@+)?(\+|#+)?[rs]?$/g, li = /(\*)(0+)|(#+)(0+)|(0+)/g, Ur = /^(0+)$/;
1215
+ function zt(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(Ir, function(r, n, i) {
1217
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dr, 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 Rr(e) {
1221
+ function Fr(e) {
1222
1222
  switch (e) {
1223
1223
  case "sign-auto":
1224
1224
  return {
@@ -1258,7 +1258,7 @@ function Rr(e) {
1258
1258
  };
1259
1259
  }
1260
1260
  }
1261
- function ai(e) {
1261
+ function hi(e) {
1262
1262
  var t;
1263
1263
  if (e[0] === "E" && e[1] === "E" ? (t = {
1264
1264
  notation: "engineering"
@@ -1266,17 +1266,17 @@ function ai(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)), !$r.test(e))
1269
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ur.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 Wt(e) {
1276
- var t = {}, r = Rr(e);
1275
+ function Zt(e) {
1276
+ var t = {}, r = Fr(e);
1277
1277
  return r || t;
1278
1278
  }
1279
- function ui(e) {
1279
+ function ci(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 ui(e) {
1300
1300
  continue;
1301
1301
  case "measure-unit":
1302
1302
  case "unit":
1303
- t.style = "unit", t.unit = oi(i.options[0]);
1303
+ t.style = "unit", t.unit = ui(i.options[0]);
1304
1304
  continue;
1305
1305
  case "compact-short":
1306
1306
  case "K":
@@ -1311,13 +1311,13 @@ function ui(e) {
1311
1311
  t.notation = "compact", t.compactDisplay = "long";
1312
1312
  continue;
1313
1313
  case "scientific":
1314
- t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
1315
- return P(P({}, h), Wt(l));
1314
+ t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1315
+ return M(M({}, u), Zt(l));
1316
1316
  }, {}));
1317
1317
  continue;
1318
1318
  case "engineering":
1319
- t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
1320
- return P(P({}, h), Wt(l));
1319
+ t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1320
+ return M(M({}, u), Zt(l));
1321
1321
  }, {}));
1322
1322
  continue;
1323
1323
  case "notation-simple":
@@ -1362,45 +1362,45 @@ function ui(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(si, function(h, l, u, f, c, m) {
1365
+ i.options[0].replace(li, function(u, l, h, c, p, b) {
1366
1366
  if (l)
1367
- t.minimumIntegerDigits = u.length;
1367
+ t.minimumIntegerDigits = h.length;
1368
1368
  else {
1369
- if (f && c)
1369
+ if (c && p)
1370
1370
  throw new Error("We currently do not support maximum integer digits");
1371
- if (m)
1371
+ if (b)
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 ($r.test(i.stem)) {
1378
+ if (Ur.test(i.stem)) {
1379
1379
  t.minimumIntegerDigits = i.stem.length;
1380
1380
  continue;
1381
1381
  }
1382
- if (Vt.test(i.stem)) {
1382
+ if (Wt.test(i.stem)) {
1383
1383
  if (i.options.length > 1)
1384
1384
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1385
- i.stem.replace(Vt, function(h, l, u, f, c, m) {
1386
- return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1385
+ i.stem.replace(Wt, function(u, l, h, c, p, b) {
1386
+ return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && b ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1387
1387
  });
1388
1388
  var o = i.options[0];
1389
- o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Xt(o)));
1389
+ o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), zt(o)));
1390
1390
  continue;
1391
1391
  }
1392
- if (Ir.test(i.stem)) {
1393
- t = P(P({}, t), Xt(i.stem));
1392
+ if (Dr.test(i.stem)) {
1393
+ t = M(M({}, t), zt(i.stem));
1394
1394
  continue;
1395
1395
  }
1396
- var a = Rr(i.stem);
1397
- a && (t = P(P({}, t), a));
1398
- var s = ai(i.stem);
1399
- s && (t = P(P({}, t), s));
1396
+ var a = Fr(i.stem);
1397
+ a && (t = M(M({}, t), a));
1398
+ var s = hi(i.stem);
1399
+ s && (t = M(M({}, t), s));
1400
1400
  }
1401
1401
  return t;
1402
1402
  }
1403
- var Ie = {
1403
+ var Re = {
1404
1404
  "001": [
1405
1405
  "H",
1406
1406
  "h"
@@ -2815,15 +2815,15 @@ var Ie = {
2815
2815
  "h"
2816
2816
  ]
2817
2817
  };
2818
- function li(e, t) {
2818
+ function fi(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), h = "a", l = hi(t);
2824
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = pi(t);
2825
2825
  for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2826
- r += h;
2826
+ r += u;
2827
2827
  for (; a-- > 0; )
2828
2828
  r = l + r;
2829
2829
  } else
@@ -2831,7 +2831,7 @@ function li(e, t) {
2831
2831
  }
2832
2832
  return r;
2833
2833
  }
2834
- function hi(e) {
2834
+ function pi(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
@@ -2850,23 +2850,23 @@ function hi(e) {
2850
2850
  }
2851
2851
  var r = e.language, n;
2852
2852
  r !== "root" && (n = e.maximize().region);
2853
- var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
2853
+ var i = Re[n || ""] || Re[r || ""] || Re["".concat(r, "-001")] || Re["001"];
2854
2854
  return i[0];
2855
2855
  }
2856
- var at, ci = new RegExp("^".concat(Nr.source, "*")), fi = new RegExp("".concat(Nr.source, "*$"));
2857
- function _(e, t) {
2856
+ var lt, di = new RegExp("^".concat($r.source, "*")), mi = new RegExp("".concat($r.source, "*$"));
2857
+ function S(e, t) {
2858
2858
  return { start: e, end: t };
2859
2859
  }
2860
- var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, mi = !!Object.fromEntries, bi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, _i = vi ? Number.isSafeInteger : function(e) {
2860
+ var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, Si = xi ? Number.isSafeInteger : function(e) {
2861
2861
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2862
- }, dt = !0;
2862
+ }, bt = !0;
2863
2863
  try {
2864
- var Ei = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2865
- dt = ((at = Ei.exec("a")) === null || at === void 0 ? void 0 : at[0]) === "a";
2864
+ var wi = jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2865
+ bt = ((lt = wi.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2866
2866
  } catch {
2867
- dt = !1;
2867
+ bt = !1;
2868
2868
  }
2869
- var zt = pi ? (
2869
+ var Yt = bi ? (
2870
2870
  // Native
2871
2871
  function(t, r, n) {
2872
2872
  return t.startsWith(r, n);
@@ -2876,7 +2876,7 @@ var zt = pi ? (
2876
2876
  function(t, r, n) {
2877
2877
  return t.slice(n, n + r.length) === r;
2878
2878
  }
2879
- ), mt = di ? String.fromCodePoint : (
2879
+ ), gt = gi ? String.fromCodePoint : (
2880
2880
  // IE11
2881
2881
  function() {
2882
2882
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2888,9 +2888,9 @@ var zt = pi ? (
2888
2888
  }
2889
2889
  return n;
2890
2890
  }
2891
- ), Zt = (
2891
+ ), Jt = (
2892
2892
  // native
2893
- mi ? Object.fromEntries : (
2893
+ yi ? 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 zt = pi ? (
2900
2900
  return r;
2901
2901
  }
2902
2902
  )
2903
- ), Dr = bi ? (
2903
+ ), Gr = vi ? (
2904
2904
  // Native
2905
2905
  function(t, r) {
2906
2906
  return t.codePointAt(r);
@@ -2914,7 +2914,7 @@ var zt = pi ? (
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
- ), xi = gi ? (
2917
+ ), Ti = _i ? (
2918
2918
  // Native
2919
2919
  function(t) {
2920
2920
  return t.trimStart();
@@ -2922,9 +2922,9 @@ var zt = pi ? (
2922
2922
  ) : (
2923
2923
  // Ponyfill
2924
2924
  function(t) {
2925
- return t.replace(ci, "");
2925
+ return t.replace(di, "");
2926
2926
  }
2927
- ), Si = yi ? (
2927
+ ), Hi = Ei ? (
2928
2928
  // Native
2929
2929
  function(t) {
2930
2930
  return t.trimEnd();
@@ -2932,32 +2932,32 @@ var zt = pi ? (
2932
2932
  ) : (
2933
2933
  // Ponyfill
2934
2934
  function(t) {
2935
- return t.replace(fi, "");
2935
+ return t.replace(mi, "");
2936
2936
  }
2937
2937
  );
2938
- function Ur(e, t) {
2938
+ function jr(e, t) {
2939
2939
  return new RegExp(e, t);
2940
2940
  }
2941
- var bt;
2942
- if (dt) {
2943
- var Yt = Ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2944
- bt = function(t, r) {
2941
+ var yt;
2942
+ if (bt) {
2943
+ var Kt = jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2944
+ yt = function(t, r) {
2945
2945
  var n;
2946
- Yt.lastIndex = r;
2947
- var i = Yt.exec(t);
2946
+ Kt.lastIndex = r;
2947
+ var i = Kt.exec(t);
2948
2948
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2949
2949
  };
2950
2950
  } else
2951
- bt = function(t, r) {
2951
+ yt = function(t, r) {
2952
2952
  for (var n = []; ; ) {
2953
- var i = Dr(t, r);
2954
- if (i === void 0 || Fr(i) || Hi(i))
2953
+ var i = Gr(t, r);
2954
+ if (i === void 0 || kr(i) || Ai(i))
2955
2955
  break;
2956
2956
  n.push(i), r += i >= 65536 ? 2 : 1;
2957
2957
  }
2958
- return mt.apply(void 0, n);
2958
+ return gt.apply(void 0, n);
2959
2959
  };
2960
- var wi = (
2960
+ var Pi = (
2961
2961
  /** @class */
2962
2962
  function() {
2963
2963
  function e(t, r) {
@@ -2981,14 +2981,14 @@ var wi = (
2981
2981
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2982
2982
  var s = this.clonePosition();
2983
2983
  this.bump(), i.push({
2984
- type: w.pound,
2985
- location: _(s, this.clonePosition())
2984
+ type: P.pound,
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
- return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2991
- } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
2990
+ return this.error(x.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
2991
+ } else if (o === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
2992
2992
  var a = this.parseTag(t, r);
2993
2993
  if (a.err)
2994
2994
  return a;
@@ -3009,9 +3009,9 @@ var wi = (
3009
3009
  if (this.bumpSpace(), this.bumpIf("/>"))
3010
3010
  return {
3011
3011
  val: {
3012
- type: w.literal,
3012
+ type: P.literal,
3013
3013
  value: "<".concat(i, "/>"),
3014
- location: _(n, this.clonePosition())
3014
+ location: S(n, this.clonePosition())
3015
3015
  },
3016
3016
  err: null
3017
3017
  };
@@ -3021,25 +3021,25 @@ var wi = (
3021
3021
  return o;
3022
3022
  var a = o.val, s = this.clonePosition();
3023
3023
  if (this.bumpIf("</")) {
3024
- if (this.isEOF() || !gt(this.char()))
3025
- return this.error(v.INVALID_TAG, _(s, this.clonePosition()));
3026
- var h = this.clonePosition(), l = this.parseTagName();
3027
- return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3024
+ if (this.isEOF() || !vt(this.char()))
3025
+ return this.error(x.INVALID_TAG, S(s, this.clonePosition()));
3026
+ var u = this.clonePosition(), l = this.parseTagName();
3027
+ return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, S(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3028
3028
  val: {
3029
- type: w.tag,
3029
+ type: P.tag,
3030
3030
  value: i,
3031
3031
  children: a,
3032
- location: _(n, this.clonePosition())
3032
+ location: S(n, this.clonePosition())
3033
3033
  },
3034
3034
  err: null
3035
- } : this.error(v.INVALID_TAG, _(s, this.clonePosition())));
3035
+ } : this.error(x.INVALID_TAG, S(s, this.clonePosition())));
3036
3036
  } else
3037
- return this.error(v.UNCLOSED_TAG, _(n, this.clonePosition()));
3037
+ return this.error(x.UNCLOSED_TAG, S(n, this.clonePosition()));
3038
3038
  } else
3039
- return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
3039
+ return this.error(x.INVALID_TAG, S(n, this.clonePosition()));
3040
3040
  }, e.prototype.parseTagName = function() {
3041
3041
  var t = this.offset();
3042
- for (this.bump(); !this.isEOF() && Pi(this.char()); )
3042
+ for (this.bump(); !this.isEOF() && Mi(this.char()); )
3043
3043
  this.bump();
3044
3044
  return this.message.slice(t, this.offset());
3045
3045
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3061,14 +3061,14 @@ var wi = (
3061
3061
  }
3062
3062
  break;
3063
3063
  }
3064
- var h = _(n, this.clonePosition());
3064
+ var u = S(n, this.clonePosition());
3065
3065
  return {
3066
- val: { type: w.literal, value: i, location: h },
3066
+ val: { type: P.literal, value: i, location: u },
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
- !Ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3071
+ !Ci(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,49 +3102,49 @@ var wi = (
3102
3102
  r.push(n);
3103
3103
  this.bump();
3104
3104
  }
3105
- return mt.apply(void 0, r);
3105
+ return gt.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(), mt(n));
3110
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), gt(n));
3111
3111
  }, e.prototype.parseArgument = function(t, r) {
3112
3112
  var n = this.clonePosition();
3113
3113
  if (this.bump(), this.bumpSpace(), this.isEOF())
3114
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3114
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3115
3115
  if (this.char() === 125)
3116
- return this.bump(), this.error(v.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3116
+ return this.bump(), this.error(x.EMPTY_ARGUMENT, S(n, this.clonePosition()));
3117
3117
  var i = this.parseIdentifierIfPossible().value;
3118
3118
  if (!i)
3119
- return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3119
+ return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3120
3120
  if (this.bumpSpace(), this.isEOF())
3121
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3121
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition()));
3122
3122
  switch (this.char()) {
3123
3123
  case 125:
3124
3124
  return this.bump(), {
3125
3125
  val: {
3126
- type: w.argument,
3126
+ type: P.argument,
3127
3127
  // value does not include the opening and closing braces.
3128
3128
  value: i,
3129
- location: _(n, this.clonePosition())
3129
+ location: S(n, this.clonePosition())
3130
3130
  },
3131
3131
  err: null
3132
3132
  };
3133
3133
  case 44:
3134
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3134
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3135
3135
  default:
3136
- return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3136
+ return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
3137
3137
  }
3138
3138
  }, e.prototype.parseIdentifierIfPossible = function() {
3139
- var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
3139
+ var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
3140
3140
  this.bumpTo(i);
3141
- var o = this.clonePosition(), a = _(t, o);
3141
+ var o = this.clonePosition(), a = S(t, o);
3142
3142
  return { value: n, location: a };
3143
3143
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3144
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3144
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3145
3145
  switch (s) {
3146
3146
  case "":
3147
- return this.error(v.EXPECT_ARGUMENT_TYPE, _(a, h));
3147
+ return this.error(x.EXPECT_ARGUMENT_TYPE, S(a, u));
3148
3148
  case "number":
3149
3149
  case "date":
3150
3150
  case "time": {
@@ -3152,49 +3152,49 @@ var wi = (
3152
3152
  var l = null;
3153
3153
  if (this.bumpIf(",")) {
3154
3154
  this.bumpSpace();
3155
- var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3156
- if (f.err)
3157
- return f;
3158
- var c = Si(f.val);
3159
- if (c.length === 0)
3160
- return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3161
- var m = _(u, this.clonePosition());
3162
- l = { style: c, styleLocation: m };
3155
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3156
+ if (c.err)
3157
+ return c;
3158
+ var p = Hi(c.val);
3159
+ if (p.length === 0)
3160
+ return this.error(x.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
3161
+ var b = S(h, this.clonePosition());
3162
+ l = { style: p, styleLocation: b };
3163
3163
  }
3164
- var p = this.tryParseArgumentClose(i);
3165
- if (p.err)
3166
- return p;
3167
- var d = _(i, this.clonePosition());
3168
- if (l && zt(l?.style, "::", 0)) {
3169
- var y = xi(l.style.slice(2));
3164
+ var d = this.tryParseArgumentClose(i);
3165
+ if (d.err)
3166
+ return d;
3167
+ var f = S(i, this.clonePosition());
3168
+ if (l && Yt(l?.style, "::", 0)) {
3169
+ var v = Ti(l.style.slice(2));
3170
3170
  if (s === "number") {
3171
- var f = this.parseNumberSkeletonFromString(y, l.styleLocation);
3172
- return f.err ? f : {
3173
- val: { type: w.number, value: n, location: d, style: f.val },
3171
+ var c = this.parseNumberSkeletonFromString(v, l.styleLocation);
3172
+ return c.err ? c : {
3173
+ val: { type: P.number, value: n, location: f, style: c.val },
3174
3174
  err: null
3175
3175
  };
3176
3176
  } else {
3177
- if (y.length === 0)
3178
- return this.error(v.EXPECT_DATE_TIME_SKELETON, d);
3179
- var x = y;
3180
- this.locale && (x = li(y, this.locale));
3181
- var c = {
3177
+ if (v.length === 0)
3178
+ return this.error(x.EXPECT_DATE_TIME_SKELETON, f);
3179
+ var g = v;
3180
+ this.locale && (g = fi(v, this.locale));
3181
+ var p = {
3182
3182
  type: he.dateTime,
3183
- pattern: x,
3183
+ pattern: g,
3184
3184
  location: l.styleLocation,
3185
- parsedOptions: this.shouldParseSkeletons ? ri(x) : {}
3186
- }, S = s === "date" ? w.date : w.time;
3185
+ parsedOptions: this.shouldParseSkeletons ? oi(g) : {}
3186
+ }, _ = s === "date" ? P.date : P.time;
3187
3187
  return {
3188
- val: { type: S, value: n, location: d, style: c },
3188
+ val: { type: _, value: n, location: f, style: p },
3189
3189
  err: null
3190
3190
  };
3191
3191
  }
3192
3192
  }
3193
3193
  return {
3194
3194
  val: {
3195
- type: s === "number" ? w.number : s === "date" ? w.date : w.time,
3195
+ type: s === "number" ? P.number : s === "date" ? P.date : P.time,
3196
3196
  value: n,
3197
- location: d,
3197
+ location: f,
3198
3198
  style: (o = l?.style) !== null && o !== void 0 ? o : null
3199
3199
  },
3200
3200
  err: null
@@ -3203,52 +3203,52 @@ var wi = (
3203
3203
  case "plural":
3204
3204
  case "selectordinal":
3205
3205
  case "select": {
3206
- var g = this.clonePosition();
3206
+ var m = this.clonePosition();
3207
3207
  if (this.bumpSpace(), !this.bumpIf(","))
3208
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(g, Ze({}, g)));
3208
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, S(m, Ye({}, m)));
3209
3209
  this.bumpSpace();
3210
- var M = this.parseIdentifierIfPossible(), A = 0;
3211
- if (s !== "select" && M.value === "offset") {
3210
+ var H = this.parseIdentifierIfPossible(), A = 0;
3211
+ if (s !== "select" && H.value === "offset") {
3212
3212
  if (!this.bumpIf(":"))
3213
- return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3213
+ return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
3214
3214
  this.bumpSpace();
3215
- var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3216
- if (f.err)
3217
- return f;
3218
- this.bumpSpace(), M = this.parseIdentifierIfPossible(), A = f.val;
3215
+ var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3216
+ if (c.err)
3217
+ return c;
3218
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), A = c.val;
3219
3219
  }
3220
- var I = this.tryParsePluralOrSelectOptions(t, s, r, M);
3220
+ var I = this.tryParsePluralOrSelectOptions(t, s, r, H);
3221
3221
  if (I.err)
3222
3222
  return I;
3223
- var p = this.tryParseArgumentClose(i);
3224
- if (p.err)
3225
- return p;
3226
- var U = _(i, this.clonePosition());
3223
+ var d = this.tryParseArgumentClose(i);
3224
+ if (d.err)
3225
+ return d;
3226
+ var G = S(i, this.clonePosition());
3227
3227
  return s === "select" ? {
3228
3228
  val: {
3229
- type: w.select,
3229
+ type: P.select,
3230
3230
  value: n,
3231
- options: Zt(I.val),
3232
- location: U
3231
+ options: Jt(I.val),
3232
+ location: G
3233
3233
  },
3234
3234
  err: null
3235
3235
  } : {
3236
3236
  val: {
3237
- type: w.plural,
3237
+ type: P.plural,
3238
3238
  value: n,
3239
- options: Zt(I.val),
3239
+ options: Jt(I.val),
3240
3240
  offset: A,
3241
3241
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3242
- location: U
3242
+ location: G
3243
3243
  },
3244
3244
  err: null
3245
3245
  };
3246
3246
  }
3247
3247
  default:
3248
- return this.error(v.INVALID_ARGUMENT_TYPE, _(a, h));
3248
+ return this.error(x.INVALID_ARGUMENT_TYPE, S(a, u));
3249
3249
  }
3250
3250
  }, e.prototype.tryParseArgumentClose = function(t) {
3251
- return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3251
+ return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3252
3252
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3253
3253
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3254
3254
  var n = this.char();
@@ -3257,7 +3257,7 @@ var wi = (
3257
3257
  this.bump();
3258
3258
  var i = this.clonePosition();
3259
3259
  if (!this.bumpUntil("'"))
3260
- return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3260
+ return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, S(i, this.clonePosition()));
3261
3261
  this.bump();
3262
3262
  break;
3263
3263
  }
@@ -3287,52 +3287,52 @@ var wi = (
3287
3287
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3288
3288
  var n = [];
3289
3289
  try {
3290
- n = ii(t);
3290
+ n = ai(t);
3291
3291
  } catch {
3292
- return this.error(v.INVALID_NUMBER_SKELETON, r);
3292
+ return this.error(x.INVALID_NUMBER_SKELETON, r);
3293
3293
  }
3294
3294
  return {
3295
3295
  val: {
3296
3296
  type: he.number,
3297
3297
  tokens: n,
3298
3298
  location: r,
3299
- parsedOptions: this.shouldParseSkeletons ? ui(n) : {}
3299
+ parsedOptions: this.shouldParseSkeletons ? ci(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 = [], h = /* @__PURE__ */ new Set(), l = i.value, u = i.location; ; ) {
3304
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3305
3305
  if (l.length === 0) {
3306
- var f = this.clonePosition();
3306
+ var c = this.clonePosition();
3307
3307
  if (r !== "select" && this.bumpIf("=")) {
3308
- var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3309
- if (c.err)
3310
- return c;
3311
- u = _(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3308
+ var p = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3309
+ if (p.err)
3310
+ return p;
3311
+ h = S(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3312
3312
  } else
3313
3313
  break;
3314
3314
  }
3315
- if (h.has(l))
3316
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3315
+ if (u.has(l))
3316
+ return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3317
3317
  l === "other" && (a = !0), this.bumpSpace();
3318
- var m = this.clonePosition();
3318
+ var b = this.clonePosition();
3319
3319
  if (!this.bumpIf("{"))
3320
- return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3321
- var p = this.parseMessage(t + 1, r, n);
3322
- if (p.err)
3323
- return p;
3324
- var d = this.tryParseArgumentClose(m);
3320
+ return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
3321
+ var d = this.parseMessage(t + 1, r, n);
3325
3322
  if (d.err)
3326
3323
  return d;
3324
+ var f = this.tryParseArgumentClose(b);
3325
+ if (f.err)
3326
+ return f;
3327
3327
  s.push([
3328
3328
  l,
3329
3329
  {
3330
- value: p.val,
3331
- location: _(m, this.clonePosition())
3330
+ value: d.val,
3331
+ location: S(b, this.clonePosition())
3332
3332
  }
3333
- ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3333
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3334
3334
  }
3335
- return s.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3335
+ return s.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(x.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3336
3336
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3337
3337
  var n = 1, i = this.clonePosition();
3338
3338
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3343,8 +3343,8 @@ var wi = (
3343
3343
  else
3344
3344
  break;
3345
3345
  }
3346
- var h = _(i, this.clonePosition());
3347
- return o ? (a *= n, _i(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3346
+ var u = S(i, this.clonePosition());
3347
+ return o ? (a *= n, Si(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3348
3348
  }, e.prototype.offset = function() {
3349
3349
  return this.position.offset;
3350
3350
  }, e.prototype.isEOF = function() {
@@ -3359,7 +3359,7 @@ var wi = (
3359
3359
  var t = this.position.offset;
3360
3360
  if (t >= this.message.length)
3361
3361
  throw Error("out of bound");
3362
- var r = Dr(this.message, t);
3362
+ var r = Gr(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 wi = (
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 (zt(this.message, t, this.offset())) {
3381
+ if (Yt(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 wi = (
3400
3400
  break;
3401
3401
  }
3402
3402
  }, e.prototype.bumpSpace = function() {
3403
- for (; !this.isEOF() && Fr(this.char()); )
3403
+ for (; !this.isEOF() && kr(this.char()); )
3404
3404
  this.bump();
3405
3405
  }, e.prototype.peek = function() {
3406
3406
  if (this.isEOF())
@@ -3410,47 +3410,47 @@ var wi = (
3410
3410
  }, e;
3411
3411
  }()
3412
3412
  );
3413
- function gt(e) {
3413
+ function vt(e) {
3414
3414
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3415
3415
  }
3416
- function Ti(e) {
3417
- return gt(e) || e === 47;
3416
+ function Ci(e) {
3417
+ return vt(e) || e === 47;
3418
3418
  }
3419
- function Pi(e) {
3419
+ function Mi(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 Fr(e) {
3422
+ function kr(e) {
3423
3423
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3424
3424
  }
3425
- function Hi(e) {
3425
+ function Ai(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 yt(e) {
3428
+ function _t(e) {
3429
3429
  e.forEach(function(t) {
3430
- if (delete t.location, Br(t) || Or(t))
3430
+ if (delete t.location, Lr(t) || Nr(t))
3431
3431
  for (var r in t.options)
3432
- delete t.options[r].location, yt(t.options[r].value);
3432
+ delete t.options[r].location, _t(t.options[r].value);
3433
3433
  else
3434
- Hr(t) && Lr(t.style) || (Mr(t) || Ar(t)) && pt(t.style) ? delete t.style.location : Cr(t) && yt(t.children);
3434
+ Ar(t) && Rr(t.style) || (Br(t) || Or(t)) && mt(t.style) ? delete t.style.location : Ir(t) && _t(t.children);
3435
3435
  });
3436
3436
  }
3437
- function Mi(e, t) {
3438
- t === void 0 && (t = {}), t = Ze({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3439
- var r = new wi(e, t).parse();
3437
+ function Bi(e, t) {
3438
+ t === void 0 && (t = {}), t = Ye({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3439
+ var r = new Pi(e, t).parse();
3440
3440
  if (r.err) {
3441
- var n = SyntaxError(v[r.err.kind]);
3441
+ var n = SyntaxError(x[r.err.kind]);
3442
3442
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3443
3443
  }
3444
- return t?.captureLocation || yt(r.val), r.val;
3444
+ return t?.captureLocation || _t(r.val), r.val;
3445
3445
  }
3446
3446
  var ce;
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
  })(ce || (ce = {}));
3450
- var et = (
3450
+ var tt = (
3451
3451
  /** @class */
3452
3452
  function(e) {
3453
- qe(t, e);
3453
+ et(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,155 +3459,155 @@ var et = (
3459
3459
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3460
3460
  }, t;
3461
3461
  }(Error)
3462
- ), Jt = (
3462
+ ), Qt = (
3463
3463
  /** @class */
3464
3464
  function(e) {
3465
- qe(t, e);
3465
+ et(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('", "'), '"'), ce.INVALID_VALUE, o) || this;
3468
3468
  }
3469
3469
  return t;
3470
- }(et)
3471
- ), Ai = (
3470
+ }(tt)
3471
+ ), Oi = (
3472
3472
  /** @class */
3473
3473
  function(e) {
3474
- qe(t, e);
3474
+ et(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), ce.INVALID_VALUE, i) || this;
3477
3477
  }
3478
3478
  return t;
3479
- }(et)
3480
- ), Bi = (
3479
+ }(tt)
3480
+ ), Li = (
3481
3481
  /** @class */
3482
3482
  function(e) {
3483
- qe(t, e);
3483
+ et(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, '"'), ce.MISSING_VALUE, n) || this;
3486
3486
  }
3487
3487
  return t;
3488
- }(et)
3488
+ }(tt)
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 Oi(e) {
3493
+ function Ni(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 Ci(e) {
3499
+ function Ii(e) {
3500
3500
  return typeof e == "function";
3501
3501
  }
3502
- function Fe(e, t, r, n, i, o, a) {
3503
- if (e.length === 1 && kt(e[0]))
3502
+ function Ge(e, t, r, n, i, o, a) {
3503
+ if (e.length === 1 && Xt(e[0]))
3504
3504
  return [
3505
3505
  {
3506
3506
  type: O.literal,
3507
3507
  value: e[0].value
3508
3508
  }
3509
3509
  ];
3510
- for (var s = [], h = 0, l = e; h < l.length; h++) {
3511
- var u = l[h];
3512
- if (kt(u)) {
3510
+ for (var s = [], u = 0, l = e; u < l.length; u++) {
3511
+ var h = l[u];
3512
+ if (Xt(h)) {
3513
3513
  s.push({
3514
3514
  type: O.literal,
3515
- value: u.value
3515
+ value: h.value
3516
3516
  });
3517
3517
  continue;
3518
3518
  }
3519
- if (ei(u)) {
3519
+ if (ni(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 = u.value;
3527
- if (!(i && f in i))
3528
- throw new Bi(f, a);
3529
- var c = i[f];
3530
- if (qn(u)) {
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
3526
+ var c = h.value;
3527
+ if (!(i && c in i))
3528
+ throw new Li(c, a);
3529
+ var p = i[c];
3530
+ if (ri(h)) {
3531
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
3532
+ type: typeof p == "string" ? O.literal : O.object,
3533
+ value: p
3534
3534
  });
3535
3535
  continue;
3536
3536
  }
3537
- if (Mr(u)) {
3538
- var m = typeof u.style == "string" ? n.date[u.style] : pt(u.style) ? u.style.parsedOptions : void 0;
3537
+ if (Br(h)) {
3538
+ var b = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3539
3539
  s.push({
3540
3540
  type: O.literal,
3541
- value: r.getDateTimeFormat(t, m).format(c)
3541
+ value: r.getDateTimeFormat(t, b).format(p)
3542
3542
  });
3543
3543
  continue;
3544
3544
  }
3545
- if (Ar(u)) {
3546
- var m = typeof u.style == "string" ? n.time[u.style] : pt(u.style) ? u.style.parsedOptions : n.time.medium;
3545
+ if (Or(h)) {
3546
+ var b = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3547
3547
  s.push({
3548
3548
  type: O.literal,
3549
- value: r.getDateTimeFormat(t, m).format(c)
3549
+ value: r.getDateTimeFormat(t, b).format(p)
3550
3550
  });
3551
3551
  continue;
3552
3552
  }
3553
- if (Hr(u)) {
3554
- var m = typeof u.style == "string" ? n.number[u.style] : Lr(u.style) ? u.style.parsedOptions : void 0;
3555
- m && m.scale && (c = c * (m.scale || 1)), s.push({
3553
+ if (Ar(h)) {
3554
+ var b = typeof h.style == "string" ? n.number[h.style] : Rr(h.style) ? h.style.parsedOptions : void 0;
3555
+ b && b.scale && (p = p * (b.scale || 1)), s.push({
3556
3556
  type: O.literal,
3557
- value: r.getNumberFormat(t, m).format(c)
3557
+ value: r.getNumberFormat(t, b).format(p)
3558
3558
  });
3559
3559
  continue;
3560
3560
  }
3561
- if (Cr(u)) {
3562
- var p = u.children, d = u.value, y = i[d];
3563
- if (!Ci(y))
3564
- throw new Ai(d, "function", a);
3565
- var x = Fe(p, t, r, n, i, o), S = y(x.map(function(A) {
3561
+ if (Ir(h)) {
3562
+ var d = h.children, f = h.value, v = i[f];
3563
+ if (!Ii(v))
3564
+ throw new Oi(f, "function", a);
3565
+ var g = Ge(d, t, r, n, i, o), _ = v(g.map(function(A) {
3566
3566
  return A.value;
3567
3567
  }));
3568
- Array.isArray(S) || (S = [S]), s.push.apply(s, S.map(function(A) {
3568
+ Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(A) {
3569
3569
  return {
3570
3570
  type: typeof A == "string" ? O.literal : O.object,
3571
3571
  value: A
3572
3572
  };
3573
3573
  }));
3574
3574
  }
3575
- if (Br(u)) {
3576
- var g = u.options[c] || u.options.other;
3577
- if (!g)
3578
- throw new Jt(u.value, c, Object.keys(u.options), a);
3579
- s.push.apply(s, Fe(g.value, t, r, n, i));
3575
+ if (Lr(h)) {
3576
+ var m = h.options[p] || h.options.other;
3577
+ if (!m)
3578
+ throw new Qt(h.value, p, Object.keys(h.options), a);
3579
+ s.push.apply(s, Ge(m.value, t, r, n, i));
3580
3580
  continue;
3581
3581
  }
3582
- if (Or(u)) {
3583
- var g = u.options["=".concat(c)];
3584
- if (!g) {
3582
+ if (Nr(h)) {
3583
+ var m = h.options["=".concat(p)];
3584
+ if (!m) {
3585
3585
  if (!Intl.PluralRules)
3586
- throw new et(`Intl.PluralRules is not available in this environment.
3586
+ throw new tt(`Intl.PluralRules is not available in this environment.
3587
3587
  Try polyfilling it using "@formatjs/intl-pluralrules"
3588
3588
  `, ce.MISSING_INTL_API, a);
3589
- var M = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3590
- g = u.options[M] || u.options.other;
3589
+ var H = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3590
+ m = h.options[H] || h.options.other;
3591
3591
  }
3592
- if (!g)
3593
- throw new Jt(u.value, c, Object.keys(u.options), a);
3594
- s.push.apply(s, Fe(g.value, t, r, n, i, c - (u.offset || 0)));
3592
+ if (!m)
3593
+ throw new Qt(h.value, p, Object.keys(h.options), a);
3594
+ s.push.apply(s, Ge(m.value, t, r, n, i, p - (h.offset || 0)));
3595
3595
  continue;
3596
3596
  }
3597
3597
  }
3598
- return Oi(s);
3598
+ return Ni(s);
3599
3599
  }
3600
- function Li(e, t) {
3601
- return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3602
- return r[n] = F(F({}, e[n]), t[n] || {}), r;
3600
+ function Ri(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;
3603
3603
  }, {})) : e;
3604
3604
  }
3605
- function Ni(e, t) {
3605
+ function $i(e, t) {
3606
3606
  return t ? Object.keys(e).reduce(function(r, n) {
3607
- return r[n] = Li(e[n], t[n]), r;
3608
- }, F({}, e)) : e;
3607
+ return r[n] = Ri(e[n], t[n]), r;
3608
+ }, D({}, e)) : e;
3609
3609
  }
3610
- function ut(e) {
3610
+ function ht(e) {
3611
3611
  return {
3612
3612
  create: function() {
3613
3613
  return {
@@ -3621,39 +3621,39 @@ function ut(e) {
3621
3621
  }
3622
3622
  };
3623
3623
  }
3624
- function Ii(e) {
3624
+ function Di(e) {
3625
3625
  return e === void 0 && (e = {
3626
3626
  number: {},
3627
3627
  dateTime: {},
3628
3628
  pluralRules: {}
3629
3629
  }), {
3630
- getNumberFormat: ot(function() {
3630
+ getNumberFormat: at(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, it([void 0], r, !1)))();
3633
+ return new ((t = Intl.NumberFormat).bind.apply(t, st([void 0], r, !1)))();
3634
3634
  }, {
3635
- cache: ut(e.number),
3636
- strategy: st.variadic
3635
+ cache: ht(e.number),
3636
+ strategy: ut.variadic
3637
3637
  }),
3638
- getDateTimeFormat: ot(function() {
3638
+ getDateTimeFormat: at(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, it([void 0], r, !1)))();
3641
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, st([void 0], r, !1)))();
3642
3642
  }, {
3643
- cache: ut(e.dateTime),
3644
- strategy: st.variadic
3643
+ cache: ht(e.dateTime),
3644
+ strategy: ut.variadic
3645
3645
  }),
3646
- getPluralRules: ot(function() {
3646
+ getPluralRules: at(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, it([void 0], r, !1)))();
3649
+ return new ((t = Intl.PluralRules).bind.apply(t, st([void 0], r, !1)))();
3650
3650
  }, {
3651
- cache: ut(e.pluralRules),
3652
- strategy: st.variadic
3651
+ cache: ht(e.pluralRules),
3652
+ strategy: ut.variadic
3653
3653
  })
3654
3654
  };
3655
3655
  }
3656
- var Gr = (
3656
+ var Vr = (
3657
3657
  /** @class */
3658
3658
  function() {
3659
3659
  function e(t, r, n, i) {
@@ -3663,20 +3663,20 @@ var Gr = (
3663
3663
  number: {},
3664
3664
  dateTime: {},
3665
3665
  pluralRules: {}
3666
- }, this.format = function(h) {
3667
- var l = o.formatToParts(h);
3666
+ }, this.format = function(u) {
3667
+ var l = o.formatToParts(u);
3668
3668
  if (l.length === 1)
3669
3669
  return l[0].value;
3670
- var u = l.reduce(function(f, c) {
3671
- return !f.length || c.type !== O.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3670
+ var h = l.reduce(function(c, p) {
3671
+ return !c.length || p.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3672
3672
  }, []);
3673
- return u.length <= 1 ? u[0] || "" : u;
3674
- }, this.formatToParts = function(h) {
3675
- return Fe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3673
+ return h.length <= 1 ? h[0] || "" : h;
3674
+ }, this.formatToParts = function(u) {
3675
+ return Ge(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3676
3676
  }, this.resolvedOptions = function() {
3677
- var h;
3677
+ var u;
3678
3678
  return {
3679
- locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3679
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3680
3680
  };
3681
3681
  }, this.getAst = function() {
3682
3682
  return o.ast;
@@ -3685,13 +3685,13 @@ var Gr = (
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 = Xn(a, ["formatters"]);
3689
- this.ast = e.__parse(t, F(F({}, s), { locale: this.resolvedLocale }));
3688
+ var s = Zn(a, ["formatters"]);
3689
+ this.ast = e.__parse(t, D(D({}, 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 = Ni(e.formats, n), this.formatters = i && i.formatters || Ii(this.formatterCache);
3694
+ this.formats = $i(e.formats, n), this.formatters = i && i.formatters || Di(this.formatterCache);
3695
3695
  }
3696
3696
  return Object.defineProperty(e, "defaultLocale", {
3697
3697
  get: function() {
@@ -3704,7 +3704,7 @@ var Gr = (
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 = Mi, e.formats = {
3707
+ }, e.__parse = Bi, e.formats = {
3708
3708
  number: {
3709
3709
  integer: {
3710
3710
  maximumFractionDigits: 0
@@ -3765,7 +3765,7 @@ var Gr = (
3765
3765
  }, e;
3766
3766
  }()
3767
3767
  );
3768
- function $i(e, t) {
3768
+ function Ui(e, t) {
3769
3769
  if (t == null)
3770
3770
  return;
3771
3771
  if (t in e)
@@ -3786,101 +3786,101 @@ function $i(e, t) {
3786
3786
  n = void 0;
3787
3787
  return n;
3788
3788
  }
3789
- const W = {}, Ri = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), jr = (e, t) => {
3789
+ const z = {}, Fi = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Xr = (e, t) => {
3790
3790
  if (t == null)
3791
3791
  return;
3792
- if (t in W && e in W[t])
3793
- return W[t][e];
3794
- const r = He(t);
3792
+ if (t in z && e in z[t])
3793
+ return z[t][e];
3794
+ const r = Pe(t);
3795
3795
  for (let n = 0; n < r.length; n++) {
3796
- const i = r[n], o = Ui(i, e);
3796
+ const i = r[n], o = ji(i, e);
3797
3797
  if (o)
3798
- return Ri(e, t, o);
3798
+ return Fi(e, t, o);
3799
3799
  }
3800
3800
  };
3801
- let $t;
3802
- const Pe = Qe({});
3803
- function Di(e) {
3804
- return $t[e] || null;
3801
+ let Dt;
3802
+ const He = qe({});
3803
+ function Gi(e) {
3804
+ return Dt[e] || null;
3805
3805
  }
3806
- function kr(e) {
3807
- return e in $t;
3806
+ function Wr(e) {
3807
+ return e in Dt;
3808
3808
  }
3809
- function Ui(e, t) {
3810
- if (!kr(e))
3809
+ function ji(e, t) {
3810
+ if (!Wr(e))
3811
3811
  return null;
3812
- const r = Di(e);
3813
- return $i(r, t);
3812
+ const r = Gi(e);
3813
+ return Ui(r, t);
3814
3814
  }
3815
- function Fi(e) {
3815
+ function ki(e) {
3816
3816
  if (e == null)
3817
3817
  return;
3818
- const t = He(e);
3818
+ const t = Pe(e);
3819
3819
  for (let r = 0; r < t.length; r++) {
3820
3820
  const n = t[r];
3821
- if (kr(n))
3821
+ if (Wr(n))
3822
3822
  return n;
3823
3823
  }
3824
3824
  }
3825
- function Vr(e, ...t) {
3826
- delete W[e], Pe.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
3825
+ function zr(e, ...t) {
3826
+ delete z[e], He.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
3827
3827
  }
3828
3828
  de(
3829
- [Pe],
3829
+ [He],
3830
3830
  ([e]) => Object.keys(e)
3831
3831
  );
3832
- Pe.subscribe((e) => $t = e);
3833
- const Ge = {};
3834
- function Gi(e, t) {
3835
- Ge[e].delete(t), Ge[e].size === 0 && delete Ge[e];
3832
+ He.subscribe((e) => Dt = e);
3833
+ const je = {};
3834
+ function Vi(e, t) {
3835
+ je[e].delete(t), je[e].size === 0 && delete je[e];
3836
3836
  }
3837
- function Xr(e) {
3838
- return Ge[e];
3837
+ function Zr(e) {
3838
+ return je[e];
3839
3839
  }
3840
- function ji(e) {
3841
- return He(e).map((t) => {
3842
- const r = Xr(t);
3840
+ function Xi(e) {
3841
+ return Pe(e).map((t) => {
3842
+ const r = Zr(t);
3843
3843
  return [t, r ? [...r] : []];
3844
3844
  }).filter(([, t]) => t.length > 0);
3845
3845
  }
3846
- function Ye(e) {
3847
- return e == null ? !1 : He(e).some(
3846
+ function Je(e) {
3847
+ return e == null ? !1 : Pe(e).some(
3848
3848
  (t) => {
3849
3849
  var r;
3850
- return (r = Xr(t)) == null ? void 0 : r.size;
3850
+ return (r = Zr(t)) == null ? void 0 : r.size;
3851
3851
  }
3852
3852
  );
3853
3853
  }
3854
- function ki(e, t) {
3854
+ function Wi(e, t) {
3855
3855
  return Promise.all(
3856
- t.map((n) => (Gi(e, n), n().then((i) => i.default || i)))
3857
- ).then((n) => Vr(e, ...n));
3856
+ t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
3857
+ ).then((n) => zr(e, ...n));
3858
3858
  }
3859
3859
  const ve = {};
3860
- function Wr(e) {
3861
- if (!Ye(e))
3860
+ function Yr(e) {
3861
+ if (!Je(e))
3862
3862
  return e in ve ? ve[e] : Promise.resolve();
3863
- const t = ji(e);
3863
+ const t = Xi(e);
3864
3864
  return ve[e] = Promise.all(
3865
3865
  t.map(
3866
- ([r, n]) => ki(r, n)
3866
+ ([r, n]) => Wi(r, n)
3867
3867
  )
3868
3868
  ).then(() => {
3869
- if (Ye(e))
3870
- return Wr(e);
3869
+ if (Je(e))
3870
+ return Yr(e);
3871
3871
  delete ve[e];
3872
3872
  }), ve[e];
3873
3873
  }
3874
- var Kt = Object.getOwnPropertySymbols, Vi = Object.prototype.hasOwnProperty, Xi = Object.prototype.propertyIsEnumerable, Wi = (e, t) => {
3874
+ var qt = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Yi = (e, t) => {
3875
3875
  var r = {};
3876
3876
  for (var n in e)
3877
- Vi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3878
- if (e != null && Kt)
3879
- for (var n of Kt(e))
3880
- t.indexOf(n) < 0 && Xi.call(e, n) && (r[n] = e[n]);
3877
+ zi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3878
+ if (e != null && qt)
3879
+ for (var n of qt(e))
3880
+ t.indexOf(n) < 0 && Zi.call(e, n) && (r[n] = e[n]);
3881
3881
  return r;
3882
3882
  };
3883
- const zi = {
3883
+ const Ji = {
3884
3884
  number: {
3885
3885
  scientific: { notation: "scientific" },
3886
3886
  engineering: { notation: "engineering" },
@@ -3910,102 +3910,102 @@ const zi = {
3910
3910
  }
3911
3911
  }
3912
3912
  };
3913
- function Zi({ locale: e, id: t }) {
3913
+ function Ki({ locale: e, id: t }) {
3914
3914
  console.warn(
3915
- `[svelte-i18n] The message "${t}" was not found in "${He(
3915
+ `[svelte-i18n] The message "${t}" was not found in "${Pe(
3916
3916
  e
3917
- ).join('", "')}".${Ye(Z()) ? `
3917
+ ).join('", "')}".${Je(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 Yi = {
3922
+ const Qi = {
3923
3923
  fallbackLocale: null,
3924
3924
  loadingDelay: 200,
3925
- formats: zi,
3925
+ formats: Ji,
3926
3926
  warnOnMissingMessages: !0,
3927
3927
  handleMissingMessage: void 0,
3928
3928
  ignoreTag: !0
3929
- }, _e = Yi;
3929
+ }, _e = Qi;
3930
3930
  function fe() {
3931
3931
  return _e;
3932
3932
  }
3933
- function Ji(e) {
3934
- const t = e, { formats: r } = t, n = Wi(t, ["formats"]);
3933
+ function qi(e) {
3934
+ const t = e, { formats: r } = t, n = Yi(t, ["formats"]);
3935
3935
  let i = e.fallbackLocale;
3936
3936
  if (e.initialLocale)
3937
3937
  try {
3938
- Gr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3938
+ Vr.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 = Zi : console.warn(
3944
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ki : console.warn(
3945
3945
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3946
- )), Object.assign(_e, n, { initialLocale: i }), r && ("number" in r && Object.assign(_e.formats.number, r.number), "date" in r && Object.assign(_e.formats.date, r.date), "time" in r && Object.assign(_e.formats.time, r.time)), K.set(i);
3946
+ )), Object.assign(_e, n, { initialLocale: i }), r && ("number" in r && Object.assign(_e.formats.number, r.number), "date" in r && Object.assign(_e.formats.date, r.date), "time" in r && Object.assign(_e.formats.time, r.time)), Q.set(i);
3947
3947
  }
3948
- const lt = Qe(!1);
3949
- var Ki = Object.defineProperty, Qi = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? Ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
3948
+ const ct = qe(!1);
3949
+ var eo = Object.defineProperty, to = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, io = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oo = (e, t) => {
3950
3950
  for (var r in t || (t = {}))
3951
- eo.call(t, r) && qt(e, r, t[r]);
3952
- if (Qt)
3953
- for (var r of Qt(t))
3954
- to.call(t, r) && qt(e, r, t[r]);
3951
+ no.call(t, r) && tr(e, r, t[r]);
3952
+ if (er)
3953
+ for (var r of er(t))
3954
+ io.call(t, r) && tr(e, r, t[r]);
3955
3955
  return e;
3956
- }, no = (e, t) => Qi(e, qi(t));
3957
- let vt;
3958
- const Je = Qe(null);
3959
- function er(e) {
3956
+ }, so = (e, t) => to(e, ro(t));
3957
+ let Et;
3958
+ const Ke = qe(null);
3959
+ function rr(e) {
3960
3960
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3961
3961
  }
3962
- function He(e, t = fe().fallbackLocale) {
3963
- const r = er(e);
3964
- return t ? [.../* @__PURE__ */ new Set([...r, ...er(t)])] : r;
3962
+ function Pe(e, t = fe().fallbackLocale) {
3963
+ const r = rr(e);
3964
+ return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
3965
3965
  }
3966
- function Z() {
3967
- return vt ?? void 0;
3966
+ function Y() {
3967
+ return Et ?? void 0;
3968
3968
  }
3969
- Je.subscribe((e) => {
3970
- vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3969
+ Ke.subscribe((e) => {
3970
+ Et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3971
3971
  });
3972
- const io = (e) => {
3973
- if (e && Fi(e) && Ye(e)) {
3972
+ const ao = (e) => {
3973
+ if (e && ki(e) && Je(e)) {
3974
3974
  const { loadingDelay: t } = fe();
3975
3975
  let r;
3976
- return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
3977
- () => lt.set(!0),
3976
+ return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
3977
+ () => ct.set(!0),
3978
3978
  t
3979
- ) : lt.set(!0), Wr(e).then(() => {
3980
- Je.set(e);
3979
+ ) : ct.set(!0), Yr(e).then(() => {
3980
+ Ke.set(e);
3981
3981
  }).finally(() => {
3982
- clearTimeout(r), lt.set(!1);
3982
+ clearTimeout(r), ct.set(!1);
3983
3983
  });
3984
3984
  }
3985
- return Je.set(e);
3986
- }, K = no(ro({}, Je), {
3987
- set: io
3988
- }), tt = (e) => {
3985
+ return Ke.set(e);
3986
+ }, Q = so(oo({}, Ke), {
3987
+ set: ao
3988
+ }), rt = (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 oo = Object.defineProperty, Ke = Object.getOwnPropertySymbols, zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
3995
+ var uo = Object.defineProperty, Qe = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
3996
3996
  for (var r in t || (t = {}))
3997
- zr.call(t, r) && tr(e, r, t[r]);
3998
- if (Ke)
3999
- for (var r of Ke(t))
4000
- Zr.call(t, r) && tr(e, r, t[r]);
3997
+ Jr.call(t, r) && nr(e, r, t[r]);
3998
+ if (Qe)
3999
+ for (var r of Qe(t))
4000
+ Kr.call(t, r) && nr(e, r, t[r]);
4001
4001
  return e;
4002
4002
  }, me = (e, t) => {
4003
4003
  var r = {};
4004
4004
  for (var n in e)
4005
- zr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4006
- if (e != null && Ke)
4007
- for (var n of Ke(e))
4008
- t.indexOf(n) < 0 && Zr.call(e, n) && (r[n] = e[n]);
4005
+ Jr.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 && Kr.call(e, n) && (r[n] = e[n]);
4009
4009
  return r;
4010
4010
  };
4011
4011
  const Te = (e, t) => {
@@ -4013,21 +4013,21 @@ const Te = (e, t) => {
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
- }, so = tt(
4016
+ }, lo = rt(
4017
4017
  (e) => {
4018
4018
  var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4019
4019
  if (r == null)
4020
4020
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4021
4021
  return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4022
4022
  }
4023
- ), ao = tt(
4023
+ ), ho = rt(
4024
4024
  (e) => {
4025
4025
  var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4026
4026
  if (r == null)
4027
4027
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4028
4028
  return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4029
4029
  }
4030
- ), uo = tt(
4030
+ ), co = rt(
4031
4031
  (e) => {
4032
4032
  var t = e, { locale: r, format: n } = t, i = me(t, ["locale", "format"]);
4033
4033
  if (r == null)
@@ -4036,69 +4036,69 @@ const Te = (e, t) => {
4036
4036
  );
4037
4037
  return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4038
4038
  }
4039
- ), lo = (e = {}) => {
4039
+ ), fo = (e = {}) => {
4040
4040
  var t = e, {
4041
- locale: r = Z()
4041
+ locale: r = Y()
4042
4042
  } = t, n = me(t, [
4043
4043
  "locale"
4044
4044
  ]);
4045
- return so(Rt({ locale: r }, n));
4046
- }, ho = (e = {}) => {
4045
+ return lo(Ut({ locale: r }, n));
4046
+ }, po = (e = {}) => {
4047
4047
  var t = e, {
4048
- locale: r = Z()
4048
+ locale: r = Y()
4049
4049
  } = t, n = me(t, [
4050
4050
  "locale"
4051
4051
  ]);
4052
- return ao(Rt({ locale: r }, n));
4053
- }, co = (e = {}) => {
4052
+ return ho(Ut({ locale: r }, n));
4053
+ }, mo = (e = {}) => {
4054
4054
  var t = e, {
4055
- locale: r = Z()
4055
+ locale: r = Y()
4056
4056
  } = t, n = me(t, [
4057
4057
  "locale"
4058
4058
  ]);
4059
- return uo(Rt({ locale: r }, n));
4060
- }, fo = tt(
4059
+ return co(Ut({ locale: r }, n));
4060
+ }, bo = rt(
4061
4061
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4062
- (e, t = Z()) => new Gr(e, t, fe().formats, {
4062
+ (e, t = Y()) => new Vr(e, t, fe().formats, {
4063
4063
  ignoreTag: fe().ignoreTag
4064
4064
  })
4065
- ), po = (e, t = {}) => {
4065
+ ), go = (e, t = {}) => {
4066
4066
  var r, n, i, o;
4067
4067
  let a = t;
4068
4068
  typeof e == "object" && (a = e, e = a.id);
4069
4069
  const {
4070
4070
  values: s,
4071
- locale: h = Z(),
4071
+ locale: u = Y(),
4072
4072
  default: l
4073
4073
  } = a;
4074
- if (h == null)
4074
+ if (u == null)
4075
4075
  throw new Error(
4076
4076
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4077
4077
  );
4078
- let u = jr(e, h);
4079
- if (!u)
4080
- u = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4081
- else if (typeof u != "string")
4078
+ let h = Xr(e, u);
4079
+ if (!h)
4080
+ h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4081
+ else if (typeof h != "string")
4082
4082
  return console.warn(
4083
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4084
- ), u;
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 u;
4087
- let f = u;
4086
+ return h;
4087
+ let c = h;
4088
4088
  try {
4089
- f = fo(u, h).format(s);
4090
- } catch (c) {
4091
- c instanceof Error && console.warn(
4089
+ c = bo(h, u).format(s);
4090
+ } catch (p) {
4091
+ p instanceof Error && console.warn(
4092
4092
  `[svelte-i18n] Message "${e}" has syntax error:`,
4093
- c.message
4093
+ p.message
4094
4094
  );
4095
4095
  }
4096
- return f;
4097
- }, mo = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => lo(t).format(e), yo = (e, t = Z()) => jr(e, t), vo = de([K, Pe], () => po);
4098
- de([K], () => mo);
4099
- de([K], () => bo);
4100
- de([K], () => go);
4101
- de([K, Pe], () => yo);
4096
+ return c;
4097
+ }, yo = (e, t) => mo(t).format(e), vo = (e, t) => po(t).format(e), _o = (e, t) => fo(t).format(e), Eo = (e, t = Y()) => Xr(e, t), xo = de([Q, He], () => go);
4098
+ de([Q], () => yo);
4099
+ de([Q], () => vo);
4100
+ de([Q], () => _o);
4101
+ de([Q, He], () => Eo);
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 _t = function(e, t) {
4117
- return _t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4116
+ var xt = function(e, t) {
4117
+ return xt = 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
- }, _t(e, t);
4122
+ }, xt(e, t);
4123
4123
  };
4124
- function Me(e, t) {
4124
+ function Ce(e, t) {
4125
4125
  if (typeof t != "function" && t !== null)
4126
4126
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4127
- _t(e, t);
4127
+ xt(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 Et(e) {
4133
+ function St(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 Et(e) {
4142
4142
  };
4143
4143
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4144
4144
  }
4145
- function xt(e, t) {
4145
+ function wt(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 xt(e, t) {
4162
4162
  }
4163
4163
  return o;
4164
4164
  }
4165
- function St(e, t, r) {
4165
+ function Tt(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 V(e) {
4171
+ function k(e) {
4172
4172
  return typeof e == "function";
4173
4173
  }
4174
- function Yr(e) {
4174
+ function Qr(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 ht = Yr(function(e) {
4180
+ var ft = Qr(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 ht = Yr(function(e) {
4186
4186
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4187
4187
  };
4188
4188
  });
4189
- function wt(e, t) {
4189
+ function Ht(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 rt = function() {
4195
+ var nt = function() {
4196
4196
  function e(t) {
4197
4197
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4198
4198
  }
@@ -4204,15 +4204,15 @@ var rt = function() {
4204
4204
  if (a)
4205
4205
  if (this._parentage = null, Array.isArray(a))
4206
4206
  try {
4207
- for (var s = Et(a), h = s.next(); !h.done; h = s.next()) {
4208
- var l = h.value;
4207
+ for (var s = St(a), u = s.next(); !u.done; u = s.next()) {
4208
+ var l = u.value;
4209
4209
  l.remove(this);
4210
4210
  }
4211
- } catch (d) {
4212
- t = { error: d };
4211
+ } catch (f) {
4212
+ t = { error: f };
4213
4213
  } finally {
4214
4214
  try {
4215
- h && !h.done && (r = s.return) && r.call(s);
4215
+ u && !u.done && (r = s.return) && r.call(s);
4216
4216
  } finally {
4217
4217
  if (t)
4218
4218
  throw t.error;
@@ -4220,30 +4220,30 @@ var rt = function() {
4220
4220
  }
4221
4221
  else
4222
4222
  a.remove(this);
4223
- var u = this.initialTeardown;
4224
- if (V(u))
4223
+ var h = this.initialTeardown;
4224
+ if (k(h))
4225
4225
  try {
4226
- u();
4227
- } catch (d) {
4228
- o = d instanceof ht ? d.errors : [d];
4226
+ h();
4227
+ } catch (f) {
4228
+ o = f instanceof ft ? f.errors : [f];
4229
4229
  }
4230
- var f = this._finalizers;
4231
- if (f) {
4230
+ var c = this._finalizers;
4231
+ if (c) {
4232
4232
  this._finalizers = null;
4233
4233
  try {
4234
- for (var c = Et(f), m = c.next(); !m.done; m = c.next()) {
4235
- var p = m.value;
4234
+ for (var p = St(c), b = p.next(); !b.done; b = p.next()) {
4235
+ var d = b.value;
4236
4236
  try {
4237
- rr(p);
4238
- } catch (d) {
4239
- o = o ?? [], d instanceof ht ? o = St(St([], xt(o)), xt(d.errors)) : o.push(d);
4237
+ ir(d);
4238
+ } catch (f) {
4239
+ o = o ?? [], f instanceof ft ? o = Tt(Tt([], wt(o)), wt(f.errors)) : o.push(f);
4240
4240
  }
4241
4241
  }
4242
- } catch (d) {
4243
- n = { error: d };
4242
+ } catch (f) {
4243
+ n = { error: f };
4244
4244
  } finally {
4245
4245
  try {
4246
- m && !m.done && (i = c.return) && i.call(c);
4246
+ b && !b.done && (i = p.return) && i.call(p);
4247
4247
  } finally {
4248
4248
  if (n)
4249
4249
  throw n.error;
@@ -4251,13 +4251,13 @@ var rt = function() {
4251
4251
  }
4252
4252
  }
4253
4253
  if (o)
4254
- throw new ht(o);
4254
+ throw new ft(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
- rr(t);
4260
+ ir(t);
4261
4261
  else {
4262
4262
  if (t instanceof e) {
4263
4263
  if (t.closed || t._hasParent(this))
@@ -4274,52 +4274,52 @@ var rt = 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) && wt(r, t);
4277
+ r === t ? this._parentage = null : Array.isArray(r) && Ht(r, t);
4278
4278
  }, e.prototype.remove = function(t) {
4279
4279
  var r = this._finalizers;
4280
- r && wt(r, t), t instanceof e && t._removeParent(this);
4280
+ r && Ht(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
- }(), Jr = rt.EMPTY;
4286
- function Kr(e) {
4287
- return e instanceof rt || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
4285
+ }(), qr = nt.EMPTY;
4286
+ function en(e) {
4287
+ return e instanceof nt || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
4288
4288
  }
4289
- function rr(e) {
4290
- V(e) ? e() : e.unsubscribe();
4289
+ function ir(e) {
4290
+ k(e) ? e() : e.unsubscribe();
4291
4291
  }
4292
- var _o = {
4292
+ var So = {
4293
4293
  Promise: void 0
4294
- }, Eo = {
4294
+ }, wo = {
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, St([e, t], xt(r)));
4298
+ return setTimeout.apply(void 0, Tt([e, t], wt(r)));
4299
4299
  },
4300
4300
  clearTimeout: function(e) {
4301
4301
  return clearTimeout(e);
4302
4302
  },
4303
4303
  delegate: void 0
4304
4304
  };
4305
- function xo(e) {
4306
- Eo.setTimeout(function() {
4305
+ function To(e) {
4306
+ wo.setTimeout(function() {
4307
4307
  throw e;
4308
4308
  });
4309
4309
  }
4310
- function nr() {
4310
+ function or() {
4311
4311
  }
4312
- function je(e) {
4312
+ function ke(e) {
4313
4313
  e();
4314
4314
  }
4315
- var Qr = function(e) {
4316
- Me(t, e);
4315
+ var tn = function(e) {
4316
+ Ce(t, e);
4317
4317
  function t(r) {
4318
4318
  var n = e.call(this) || this;
4319
- return n.isStopped = !1, r ? (n.destination = r, Kr(r) && r.add(n)) : n.destination = To, n;
4319
+ return n.isStopped = !1, r ? (n.destination = r, en(r) && r.add(n)) : n.destination = Co, n;
4320
4320
  }
4321
4321
  return t.create = function(r, n, i) {
4322
- return new Tt(r, n, i);
4322
+ return new Pt(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 Qr = function(e) {
4343
4343
  this.unsubscribe();
4344
4344
  }
4345
4345
  }, t;
4346
- }(rt), So = function() {
4346
+ }(nt), Ho = function() {
4347
4347
  function e(t) {
4348
4348
  this.partialObserver = t;
4349
4349
  }
@@ -4374,43 +4374,43 @@ var Qr = function(e) {
4374
4374
  $e(r);
4375
4375
  }
4376
4376
  }, e;
4377
- }(), Tt = function(e) {
4378
- Me(t, e);
4377
+ }(), Pt = function(e) {
4378
+ Ce(t, e);
4379
4379
  function t(r, n, i) {
4380
4380
  var o = e.call(this) || this, a;
4381
- return V(r) || !r ? a = {
4381
+ return k(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 So(a), o;
4385
+ } : a = r, o.destination = new Ho(a), o;
4386
4386
  }
4387
4387
  return t;
4388
- }(Qr);
4388
+ }(tn);
4389
4389
  function $e(e) {
4390
- xo(e);
4390
+ To(e);
4391
4391
  }
4392
- function wo(e) {
4392
+ function Po(e) {
4393
4393
  throw e;
4394
4394
  }
4395
- var To = {
4395
+ var Co = {
4396
4396
  closed: !0,
4397
- next: nr,
4398
- error: wo,
4399
- complete: nr
4400
- }, Po = function() {
4397
+ next: or,
4398
+ error: Po,
4399
+ complete: or
4400
+ }, Mo = function() {
4401
4401
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4402
4402
  }();
4403
- function Ho(e) {
4403
+ function Ao(e) {
4404
4404
  return e;
4405
4405
  }
4406
- function Mo(e) {
4407
- return e.length === 0 ? Ho : e.length === 1 ? e[0] : function(r) {
4406
+ function Bo(e) {
4407
+ return e.length === 0 ? Ao : 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 ir = function() {
4413
+ var sr = function() {
4414
4414
  function e(t) {
4415
4415
  t && (this._subscribe = t);
4416
4416
  }
@@ -4418,10 +4418,10 @@ var ir = 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 = Bo(t) ? t : new Tt(t, r, n);
4422
- return je(function() {
4423
- var a = i, s = a.operator, h = a.source;
4424
- o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
4421
+ var i = this, o = Lo(t) ? t : new Pt(t, r, n);
4422
+ return ke(function() {
4423
+ var a = i, s = a.operator, u = a.source;
4424
+ o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4425
4425
  }), o;
4426
4426
  }, e.prototype._trySubscribe = function(t) {
4427
4427
  try {
@@ -4431,13 +4431,13 @@ var ir = function() {
4431
4431
  }
4432
4432
  }, e.prototype.forEach = function(t, r) {
4433
4433
  var n = this;
4434
- return r = or(r), new r(function(i, o) {
4435
- var a = new Tt({
4434
+ return r = ar(r), new r(function(i, o) {
4435
+ var a = new Pt({
4436
4436
  next: function(s) {
4437
4437
  try {
4438
4438
  t(s);
4439
- } catch (h) {
4440
- o(h), a.unsubscribe();
4439
+ } catch (u) {
4440
+ o(u), a.unsubscribe();
4441
4441
  }
4442
4442
  },
4443
4443
  error: o,
@@ -4448,15 +4448,15 @@ var ir = 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[Po] = function() {
4451
+ }, e.prototype[Mo] = 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 Mo(t)(this);
4456
+ return Bo(t)(this);
4457
4457
  }, e.prototype.toPromise = function(t) {
4458
4458
  var r = this;
4459
- return t = or(t), new t(function(n, i) {
4459
+ return t = ar(t), new t(function(n, i) {
4460
4460
  var o;
4461
4461
  r.subscribe(function(a) {
4462
4462
  return o = a;
@@ -4470,42 +4470,42 @@ var ir = function() {
4470
4470
  return new e(t);
4471
4471
  }, e;
4472
4472
  }();
4473
- function or(e) {
4473
+ function ar(e) {
4474
4474
  var t;
4475
- return (t = e ?? _o.Promise) !== null && t !== void 0 ? t : Promise;
4475
+ return (t = e ?? So.Promise) !== null && t !== void 0 ? t : Promise;
4476
4476
  }
4477
- function Ao(e) {
4478
- return e && V(e.next) && V(e.error) && V(e.complete);
4477
+ function Oo(e) {
4478
+ return e && k(e.next) && k(e.error) && k(e.complete);
4479
4479
  }
4480
- function Bo(e) {
4481
- return e && e instanceof Qr || Ao(e) && Kr(e);
4480
+ function Lo(e) {
4481
+ return e && e instanceof tn || Oo(e) && en(e);
4482
4482
  }
4483
- var Oo = Yr(function(e) {
4483
+ var No = Qr(function(e) {
4484
4484
  return function() {
4485
4485
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4486
4486
  };
4487
- }), qr = function(e) {
4488
- Me(t, e);
4487
+ }), rn = function(e) {
4488
+ Ce(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 sr(this, this);
4494
+ var n = new ur(this, this);
4495
4495
  return n.operator = r, n;
4496
4496
  }, t.prototype._throwIfClosed = function() {
4497
4497
  if (this.closed)
4498
- throw new Oo();
4498
+ throw new No();
4499
4499
  }, t.prototype.next = function(r) {
4500
4500
  var n = this;
4501
- je(function() {
4501
+ ke(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 = Et(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4507
- var h = s.value;
4508
- h.next(r);
4506
+ for (var a = St(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4507
+ var u = s.value;
4508
+ u.next(r);
4509
4509
  }
4510
4510
  } catch (l) {
4511
4511
  i = { error: l };
@@ -4521,7 +4521,7 @@ var Oo = Yr(function(e) {
4521
4521
  });
4522
4522
  }, t.prototype.error = function(r) {
4523
4523
  var n = this;
4524
- je(function() {
4524
+ ke(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 Oo = Yr(function(e) {
4530
4530
  });
4531
4531
  }, t.prototype.complete = function() {
4532
4532
  var r = this;
4533
- je(function() {
4533
+ ke(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 Oo = Yr(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 ? Jr : (this.currentObservers = null, s.push(r), new rt(function() {
4556
- n.currentObservers = null, wt(s, r);
4555
+ return o || a ? qr : (this.currentObservers = null, s.push(r), new nt(function() {
4556
+ n.currentObservers = null, Ht(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 ir();
4562
+ var r = new sr();
4563
4563
  return r.source = this, r;
4564
4564
  }, t.create = function(r, n) {
4565
- return new sr(r, n);
4565
+ return new ur(r, n);
4566
4566
  }, t;
4567
- }(ir), sr = function(e) {
4568
- Me(t, e);
4567
+ }(sr), ur = function(e) {
4568
+ Ce(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,55 +4581,55 @@ var Oo = Yr(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 : Jr;
4584
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qr;
4585
4585
  }, t;
4586
- }(qr), en = {
4586
+ }(rn), nn = {
4587
4587
  now: function() {
4588
- return (en.delegate || Date).now();
4588
+ return (nn.delegate || Date).now();
4589
4589
  },
4590
4590
  delegate: void 0
4591
- }, Co = function(e) {
4592
- Me(t, e);
4591
+ }, Io = function(e) {
4592
+ Ce(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 = en);
4594
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nn);
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
  }
4598
4598
  return t.prototype.next = function(r) {
4599
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, h = n._windowTime;
4600
- i || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
4599
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
4600
+ i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4601
4601
  }, t.prototype._subscribe = function(r) {
4602
4602
  this._throwIfClosed(), this._trimBuffer();
4603
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
4604
- r.next(s[h]);
4603
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
4604
+ r.next(s[u]);
4605
4605
  return this._checkFinalizedStatuses(r), n;
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 h = i.now(), l = 0, u = 1; u < o.length && o[u] <= h; u += 2)
4610
- l = u;
4609
+ for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
4610
+ l = h;
4611
4611
  l && o.splice(0, l + 1);
4612
4612
  }
4613
4613
  }, t;
4614
- }(qr);
4615
- const ar = [], ur = {}, Lo = (e, t = 0) => {
4616
- if (ar.indexOf(e) == -1) {
4617
- const r = new Co(t);
4618
- ur[e] = r, ar.push(e);
4614
+ }(rn);
4615
+ const lr = [], hr = {}, Ro = (e, t = 0) => {
4616
+ if (lr.indexOf(e) == -1) {
4617
+ const r = new Io(t);
4618
+ hr[e] = r, lr.push(e);
4619
4619
  }
4620
- return ur[e];
4620
+ return hr[e];
4621
4621
  };
4622
- let Pt = "en-UK", Ht = "true", Ee = 2, Mt = "";
4623
- const No = (e, t, r, n) => {
4624
- Pt = e || "en-UK", Ht = t || "true", Ee = +n || 2, Mt = r || "";
4625
- }, Re = (e, t) => {
4626
- if (!Mt)
4627
- return new Intl.NumberFormat(Pt, { style: "currency", currency: t, currencyDisplay: Ht === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).format(e);
4628
- const n = new Intl.NumberFormat(Pt, { style: "currency", currency: t, currencyDisplay: Ht === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).formatToParts(e), i = n.find((h) => h.type === "currency"), a = n.filter((h) => h.type !== "currency").map((h) => h.value).join("");
4629
- return Mt === "before" ? `${i.value} ${a}` : `${a} ${i.value}`;
4622
+ let Ct = "en-UK", Mt = "true", Ee = 2, At = "";
4623
+ const $o = (e, t, r, n) => {
4624
+ Ct = e || "en-UK", Mt = t || "true", Ee = +n || 2, At = r || "";
4625
+ }, De = (e, t) => {
4626
+ if (!At)
4627
+ return new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).format(e);
4628
+ const n = new Intl.NumberFormat(Ct, { style: "currency", currency: t, currencyDisplay: Mt === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).formatToParts(e), i = n.find((u) => u.type === "currency"), a = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4629
+ return At === "before" ? `${i.value} ${a}` : `${a} ${i.value}`;
4630
4630
  };
4631
- window.emWidgets = { topic: Lo };
4632
- const ps = (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)), ds = {
4631
+ window.emWidgets = { topic: Ro };
4632
+ const cr = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), _s = {
4633
4633
  AED: "د.إ",
4634
4634
  AFN: "؋",
4635
4635
  ALL: "L",
@@ -4801,13 +4801,13 @@ const ps = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(
4801
4801
  ZAR: "R",
4802
4802
  ZWD: "Z$"
4803
4803
  };
4804
- function Io(e, t) {
4804
+ function Do(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 $o(e, t) {
4810
+ function Uo(e, t) {
4811
4811
  const r = new URL(t);
4812
4812
  fetch(r.href).then((n) => n.text()).then((n) => {
4813
4813
  const i = document.createElement("style");
@@ -4816,7 +4816,7 @@ function $o(e, t) {
4816
4816
  console.error("There was an error while trying to load client styling from URL", n);
4817
4817
  });
4818
4818
  }
4819
- function Ro(e, t, r) {
4819
+ function Fo(e, t, r) {
4820
4820
  if (window.emMessageBus) {
4821
4821
  const n = document.createElement("style");
4822
4822
  window.emMessageBus.subscribe(t, (i) => {
@@ -4824,15 +4824,15 @@ function Ro(e, t, r) {
4824
4824
  });
4825
4825
  }
4826
4826
  }
4827
- function lr(e, t) {
4828
- Vr(e, t);
4827
+ function fr(e, t) {
4828
+ zr(e, t);
4829
4829
  }
4830
- function Do(e) {
4831
- Ji({
4830
+ function Go(e) {
4831
+ qi({
4832
4832
  fallbackLocale: "en"
4833
- }), K.set(e);
4833
+ }), Q.set(e);
4834
4834
  }
4835
- const hr = {
4835
+ const pr = {
4836
4836
  en: {
4837
4837
  generalMin: "Min",
4838
4838
  generalMax: "Max",
@@ -4864,514 +4864,569 @@ const hr = {
4864
4864
  generalMax: "Max"
4865
4865
  }
4866
4866
  };
4867
- function Uo(e) {
4868
- sn(e, "svelte-3gmpvf", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.Carousel{display:flex;gap:10px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #F9C405);height:10px;width:10px;opacity:0.5}.VisualDotIndicator .Dot.active{opacity:1;width:30px}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:36px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #F9C405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4867
+ function jo(e) {
4868
+ ln(e, "svelte-1eizeoy", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-around;align-items:center}.Carousel{display:flex;gap:10px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #F9C405);height:10px;width:10px;opacity:0.5}.VisualDotIndicator .Dot.active{opacity:1;width:30px}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:36px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #F9C405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4869
4869
  }
4870
- function cr(e, t, r) {
4870
+ function dr(e, t, r) {
4871
4871
  const n = e.slice();
4872
- return n[32] = t[r], n[34] = r, n;
4872
+ return n[36] = t[r], n[38] = r, n;
4873
4873
  }
4874
- function fr(e, t, r) {
4874
+ function mr(e, t, r) {
4875
4875
  const n = e.slice();
4876
- return n[35] = t[r], n[34] = r, n;
4876
+ return n[39] = t[r], n[38] = r, n;
4877
4877
  }
4878
- function Fo(e) {
4878
+ function ko(e) {
4879
4879
  let t, r = (
4880
4880
  /*$_*/
4881
4881
  e[4]("noFavoritePaymentMethods") + ""
4882
4882
  ), n;
4883
4883
  return {
4884
4884
  c() {
4885
- t = T("p"), n = N(r), H(t, "class", "NoFavoritePaymentMethods");
4885
+ t = T("p"), n = N(r), C(t, "class", "NoFavoritePaymentMethods");
4886
4886
  },
4887
4887
  m(i, o) {
4888
- z(i, t, o), E(t, n);
4888
+ F(i, t, o), E(t, n);
4889
4889
  },
4890
4890
  p(i, o) {
4891
4891
  o[0] & /*$_*/
4892
4892
  16 && r !== (r = /*$_*/
4893
- i[4]("noFavoritePaymentMethods") + "") && k(n, r);
4893
+ i[4]("noFavoritePaymentMethods") + "") && j(n, r);
4894
4894
  },
4895
4895
  d(i) {
4896
- i && D(t);
4896
+ i && L(t);
4897
4897
  }
4898
4898
  };
4899
4899
  }
4900
- function Go(e) {
4901
- let t, r, n, i, o, a = Ne(
4900
+ function Vo(e) {
4901
+ let t, r = !cr(
4902
+ /*userAgent*/
4903
+ e[5]
4904
+ ), n, i, o, a = !cr(
4905
+ /*userAgent*/
4906
+ e[5]
4907
+ ), s, u, l, h, c = r && Xo(e), p = Ie(
4902
4908
  /*promotedPaymentMethods*/
4903
4909
  e[2]
4904
- ), s = [];
4905
- for (let u = 0; u < a.length; u += 1)
4906
- s[u] = pr(fr(e, a, u));
4907
- let h = Ne(Array(
4910
+ ), b = [];
4911
+ for (let g = 0; g < p.length; g += 1)
4912
+ b[g] = br(mr(e, p, g));
4913
+ let d = a && Wo(e), f = Ie(Array(
4908
4914
  /*promotedPaymentMethods*/
4909
4915
  e[2].length
4910
- )), l = [];
4911
- for (let u = 0; u < h.length; u += 1)
4912
- l[u] = dr(cr(e, h, u));
4916
+ )), v = [];
4917
+ for (let g = 0; g < f.length; g += 1)
4918
+ v[g] = gr(dr(e, f, g));
4913
4919
  return {
4914
4920
  c() {
4915
- t = T("div");
4916
- for (let u = 0; u < s.length; u += 1)
4917
- s[u].c();
4918
- r = j(), n = T("div");
4919
- for (let u = 0; u < l.length; u += 1)
4920
- l[u].c();
4921
- H(t, "class", "Carousel"), H(n, "class", "VisualDotIndicator");
4921
+ t = T("div"), c && c.c(), n = $(), i = T("div");
4922
+ for (let g = 0; g < b.length; g += 1)
4923
+ b[g].c();
4924
+ o = $(), d && d.c(), s = $(), u = T("div");
4925
+ for (let g = 0; g < v.length; g += 1)
4926
+ v[g].c();
4927
+ C(i, "class", "Carousel"), C(t, "class", "CarouselCardsContainer"), C(u, "class", "VisualDotIndicator");
4922
4928
  },
4923
- m(u, f) {
4924
- z(u, t, f);
4925
- for (let c = 0; c < s.length; c += 1)
4926
- s[c] && s[c].m(t, null);
4927
- e[19](t), z(u, r, f), z(u, n, f);
4928
- for (let c = 0; c < l.length; c += 1)
4929
- l[c] && l[c].m(n, null);
4930
- i || (o = [
4931
- se(
4932
- t,
4929
+ m(g, _) {
4930
+ F(g, t, _), c && c.m(t, null), E(t, n), E(t, i);
4931
+ for (let m = 0; m < b.length; m += 1)
4932
+ b[m] && b[m].m(i, null);
4933
+ e[22](i), E(t, o), d && d.m(t, null), F(g, s, _), F(g, u, _);
4934
+ for (let m = 0; m < v.length; m += 1)
4935
+ v[m] && v[m].m(u, null);
4936
+ l || (h = [
4937
+ Z(
4938
+ i,
4933
4939
  "touchstart",
4934
4940
  /*handleTouchStart*/
4935
- e[6]
4941
+ e[7]
4936
4942
  ),
4937
- se(
4938
- t,
4943
+ Z(
4944
+ i,
4939
4945
  "touchmove",
4940
4946
  /*handleTouchMove*/
4941
- e[7]
4947
+ e[8]
4942
4948
  ),
4943
- se(
4944
- t,
4949
+ Z(
4950
+ i,
4945
4951
  "touchend",
4946
4952
  /*handleTouchEnd*/
4947
- e[8]
4953
+ e[9]
4948
4954
  )
4949
- ], i = !0);
4955
+ ], l = !0);
4950
4956
  },
4951
- p(u, f) {
4952
- if (f[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4953
- 60) {
4954
- a = Ne(
4957
+ p(g, _) {
4958
+ if (r && c.p(g, _), _[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4959
+ 92) {
4960
+ p = Ie(
4955
4961
  /*promotedPaymentMethods*/
4956
- u[2]
4962
+ g[2]
4957
4963
  );
4958
- let c;
4959
- for (c = 0; c < a.length; c += 1) {
4960
- const m = fr(u, a, c);
4961
- s[c] ? s[c].p(m, f) : (s[c] = pr(m), s[c].c(), s[c].m(t, null));
4964
+ let m;
4965
+ for (m = 0; m < p.length; m += 1) {
4966
+ const H = mr(g, p, m);
4967
+ b[m] ? b[m].p(H, _) : (b[m] = br(H), b[m].c(), b[m].m(i, null));
4962
4968
  }
4963
- for (; c < s.length; c += 1)
4964
- s[c].d(1);
4965
- s.length = a.length;
4969
+ for (; m < b.length; m += 1)
4970
+ b[m].d(1);
4971
+ b.length = p.length;
4966
4972
  }
4967
- if (f[0] & /*activeIndex, promotedPaymentMethods*/
4973
+ if (a && d.p(g, _), _[0] & /*activeIndex, promotedPaymentMethods*/
4968
4974
  12) {
4969
- h = Ne(Array(
4975
+ f = Ie(Array(
4970
4976
  /*promotedPaymentMethods*/
4971
- u[2].length
4977
+ g[2].length
4972
4978
  ));
4973
- let c;
4974
- for (c = 0; c < h.length; c += 1) {
4975
- const m = cr(u, h, c);
4976
- l[c] ? l[c].p(m, f) : (l[c] = dr(m), l[c].c(), l[c].m(n, null));
4979
+ let m;
4980
+ for (m = 0; m < f.length; m += 1) {
4981
+ const H = dr(g, f, m);
4982
+ v[m] ? v[m].p(H, _) : (v[m] = gr(H), v[m].c(), v[m].m(u, null));
4977
4983
  }
4978
- for (; c < l.length; c += 1)
4979
- l[c].d(1);
4980
- l.length = h.length;
4984
+ for (; m < v.length; m += 1)
4985
+ v[m].d(1);
4986
+ v.length = f.length;
4981
4987
  }
4982
4988
  },
4983
- d(u) {
4984
- u && (D(t), D(r), D(n)), Ft(s, u), e[19](null), Ft(l, u), i = !1, X(o);
4989
+ d(g) {
4990
+ g && (L(t), L(s), L(u)), c && c.d(), jt(b, g), e[22](null), d && d.d(), jt(v, g), l = !1, V(h);
4985
4991
  }
4986
4992
  };
4987
4993
  }
4988
- function pr(e) {
4989
- let t, r, n, i, o, a, s, h, l, u = (
4994
+ function Xo(e) {
4995
+ let t, r, n;
4996
+ return {
4997
+ c() {
4998
+ t = T("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z" fill="white" fill-opacity="0.6"></path></svg>', C(t, "class", "NavigationArrow");
4999
+ },
5000
+ m(i, o) {
5001
+ F(i, t, o), r || (n = Z(
5002
+ t,
5003
+ "click",
5004
+ /*click_handler*/
5005
+ e[20]
5006
+ ), r = !0);
5007
+ },
5008
+ p: B,
5009
+ d(i) {
5010
+ i && L(t), r = !1, n();
5011
+ }
5012
+ };
5013
+ }
5014
+ function br(e) {
5015
+ let t, r, n, i, o, a, s, u, l, h = (
4990
5016
  /*method*/
4991
- (e[35].Label || /*method*/
4992
- e[35].Name) + ""
4993
- ), f, c, m, p, d = (
5017
+ (e[39].Label || /*method*/
5018
+ e[39].Name) + ""
5019
+ ), c, p, b, d, f = (
4994
5020
  /*$_*/
4995
5021
  e[4](`${/*method*/
4996
- e[35].ProcessingTime}`) + ""
4997
- ), y, x, S, g, M = (
5022
+ e[39].ProcessingTime}`) + ""
5023
+ ), v, g, _, m, H = (
4998
5024
  /*$_*/
4999
5025
  e[4]("generalMin") + ""
5000
- ), A, I, U = Re(
5026
+ ), A, I, G = De(
5001
5027
  /*method*/
5002
- e[35].DisplayCurrency.MinAmountLimit,
5028
+ e[39].DisplayCurrency.MinAmountLimit,
5003
5029
  /*method*/
5004
- e[35].DisplayCurrency.Name
5005
- ) + "", Y, Ae, Q = (
5030
+ e[39].DisplayCurrency.Name
5031
+ ) + "", q, X, ee = (
5006
5032
  /*$_*/
5007
5033
  e[4]("generalMax") + ""
5008
- ), be, Be, q = Re(
5034
+ ), be, Me, te = De(
5009
5035
  /*method*/
5010
- e[35].DisplayCurrency.MaxAmountLimit,
5036
+ e[39].DisplayCurrency.MaxAmountLimit,
5011
5037
  /*method*/
5012
- e[35].DisplayCurrency.Name
5013
- ) + "", ge, Oe, b, B, $;
5014
- function ee() {
5038
+ e[39].DisplayCurrency.Name
5039
+ ) + "", J, Ae, re, ge, Be;
5040
+ function it() {
5015
5041
  return (
5016
- /*click_handler*/
5017
- e[18](
5042
+ /*click_handler_1*/
5043
+ e[21](
5018
5044
  /*method*/
5019
- e[35]
5045
+ e[39],
5046
+ /*index*/
5047
+ e[38]
5020
5048
  )
5021
5049
  );
5022
5050
  }
5023
5051
  return {
5024
5052
  c() {
5025
- t = T("div"), r = T("div"), n = T("img"), a = j(), s = T("div"), h = T("div"), l = T("span"), f = N(u), c = j(), m = T("div"), p = T("span"), y = N(d), x = j(), S = T("div"), g = T("span"), A = N(M), I = j(), Y = N(U), Ae = N(" / "), be = N(Q), Be = j(), ge = N(q), Oe = j(), Ut(n.src, i = /*method*/
5026
- e[35].LogoUrl) || H(n, "src", i), H(n, "alt", o = /*method*/
5027
- e[35].Label), H(r, "class", "MethodLogo"), H(h, "class", "MethodTitle"), H(m, "class", "MethodProcessingTime"), H(g, "class", "Limits"), H(S, "class", "MethodLimits"), H(s, "class", "MethodInfo"), H(t, "class", b = `CarouselCardWrapper ${/*index*/
5028
- e[34] === /*activeIndex*/
5053
+ t = T("div"), r = T("div"), n = T("img"), a = $(), s = T("div"), u = T("div"), l = T("span"), c = N(h), p = $(), b = T("div"), d = T("span"), v = N(f), g = $(), _ = T("div"), m = T("span"), A = N(H), I = $(), q = N(G), X = N(" / "), be = N(ee), Me = $(), J = N(te), Ae = $(), Gt(n.src, i = /*method*/
5054
+ e[39].LogoUrl) || C(n, "src", i), C(n, "alt", o = /*method*/
5055
+ e[39].Label), C(r, "class", "MethodLogo"), C(u, "class", "MethodTitle"), C(b, "class", "MethodProcessingTime"), C(m, "class", "Limits"), C(_, "class", "MethodLimits"), C(s, "class", "MethodInfo"), C(t, "class", re = `CarouselCardWrapper ${/*index*/
5056
+ e[38] === /*activeIndex*/
5029
5057
  e[3] ? "active" : ""}`);
5030
5058
  },
5031
- m(te, L) {
5032
- z(te, t, L), E(t, r), E(r, n), E(t, a), E(t, s), E(s, h), E(h, l), E(l, f), E(s, c), E(s, m), E(m, p), E(p, y), E(s, x), E(s, S), E(S, g), E(g, A), E(g, I), E(g, Y), E(g, Ae), E(g, be), E(g, Be), E(g, ge), E(t, Oe), B || ($ = se(t, "click", ee), B = !0);
5059
+ m(y, w) {
5060
+ F(y, t, w), E(t, r), E(r, n), E(t, a), E(t, s), E(s, u), E(u, l), E(l, c), E(s, p), E(s, b), E(b, d), E(d, v), E(s, g), E(s, _), E(_, m), E(m, A), E(m, I), E(m, q), E(m, X), E(m, be), E(m, Me), E(m, J), E(t, Ae), ge || (Be = Z(t, "click", it), ge = !0);
5033
5061
  },
5034
- p(te, L) {
5035
- e = te, L[0] & /*promotedPaymentMethods*/
5036
- 4 && !Ut(n.src, i = /*method*/
5037
- e[35].LogoUrl) && H(n, "src", i), L[0] & /*promotedPaymentMethods*/
5062
+ p(y, w) {
5063
+ e = y, w[0] & /*promotedPaymentMethods*/
5064
+ 4 && !Gt(n.src, i = /*method*/
5065
+ e[39].LogoUrl) && C(n, "src", i), w[0] & /*promotedPaymentMethods*/
5038
5066
  4 && o !== (o = /*method*/
5039
- e[35].Label) && H(n, "alt", o), L[0] & /*promotedPaymentMethods*/
5040
- 4 && u !== (u = /*method*/
5041
- (e[35].Label || /*method*/
5042
- e[35].Name) + "") && k(f, u), L[0] & /*$_, promotedPaymentMethods*/
5043
- 20 && d !== (d = /*$_*/
5067
+ e[39].Label) && C(n, "alt", o), w[0] & /*promotedPaymentMethods*/
5068
+ 4 && h !== (h = /*method*/
5069
+ (e[39].Label || /*method*/
5070
+ e[39].Name) + "") && j(c, h), w[0] & /*$_, promotedPaymentMethods*/
5071
+ 20 && f !== (f = /*$_*/
5044
5072
  e[4](`${/*method*/
5045
- e[35].ProcessingTime}`) + "") && k(y, d), L[0] & /*$_*/
5046
- 16 && M !== (M = /*$_*/
5047
- e[4]("generalMin") + "") && k(A, M), L[0] & /*promotedPaymentMethods*/
5048
- 4 && U !== (U = Re(
5073
+ e[39].ProcessingTime}`) + "") && j(v, f), w[0] & /*$_*/
5074
+ 16 && H !== (H = /*$_*/
5075
+ e[4]("generalMin") + "") && j(A, H), w[0] & /*promotedPaymentMethods*/
5076
+ 4 && G !== (G = De(
5049
5077
  /*method*/
5050
- e[35].DisplayCurrency.MinAmountLimit,
5078
+ e[39].DisplayCurrency.MinAmountLimit,
5051
5079
  /*method*/
5052
- e[35].DisplayCurrency.Name
5053
- ) + "") && k(Y, U), L[0] & /*$_*/
5054
- 16 && Q !== (Q = /*$_*/
5055
- e[4]("generalMax") + "") && k(be, Q), L[0] & /*promotedPaymentMethods*/
5056
- 4 && q !== (q = Re(
5080
+ e[39].DisplayCurrency.Name
5081
+ ) + "") && j(q, G), w[0] & /*$_*/
5082
+ 16 && ee !== (ee = /*$_*/
5083
+ e[4]("generalMax") + "") && j(be, ee), w[0] & /*promotedPaymentMethods*/
5084
+ 4 && te !== (te = De(
5057
5085
  /*method*/
5058
- e[35].DisplayCurrency.MaxAmountLimit,
5086
+ e[39].DisplayCurrency.MaxAmountLimit,
5059
5087
  /*method*/
5060
- e[35].DisplayCurrency.Name
5061
- ) + "") && k(ge, q), L[0] & /*activeIndex*/
5062
- 8 && b !== (b = `CarouselCardWrapper ${/*index*/
5063
- e[34] === /*activeIndex*/
5064
- e[3] ? "active" : ""}`) && H(t, "class", b);
5088
+ e[39].DisplayCurrency.Name
5089
+ ) + "") && j(J, te), w[0] & /*activeIndex*/
5090
+ 8 && re !== (re = `CarouselCardWrapper ${/*index*/
5091
+ e[38] === /*activeIndex*/
5092
+ e[3] ? "active" : ""}`) && C(t, "class", re);
5093
+ },
5094
+ d(y) {
5095
+ y && L(t), ge = !1, Be();
5096
+ }
5097
+ };
5098
+ }
5099
+ function Wo(e) {
5100
+ let t, r, n;
5101
+ return {
5102
+ c() {
5103
+ t = T("div"), t.innerHTML = '<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z" fill="white" fill-opacity="0.6"></path></svg>', C(t, "class", "NavigationArrow");
5065
5104
  },
5066
- d(te) {
5067
- te && D(t), B = !1, $();
5105
+ m(i, o) {
5106
+ F(i, t, o), r || (n = Z(
5107
+ t,
5108
+ "click",
5109
+ /*click_handler_2*/
5110
+ e[23]
5111
+ ), r = !0);
5112
+ },
5113
+ p: B,
5114
+ d(i) {
5115
+ i && L(t), r = !1, n();
5068
5116
  }
5069
5117
  };
5070
5118
  }
5071
- function dr(e) {
5119
+ function gr(e) {
5072
5120
  let t, r;
5073
5121
  return {
5074
5122
  c() {
5075
- t = T("div"), H(t, "class", r = `Dot ${/*index*/
5076
- e[34] === /*activeIndex*/
5123
+ t = T("div"), C(t, "class", r = `Dot ${/*index*/
5124
+ e[38] === /*activeIndex*/
5077
5125
  e[3] ? "active" : ""}`);
5078
5126
  },
5079
5127
  m(n, i) {
5080
- z(n, t, i);
5128
+ F(n, t, i);
5081
5129
  },
5082
5130
  p(n, i) {
5083
5131
  i[0] & /*activeIndex*/
5084
5132
  8 && r !== (r = `Dot ${/*index*/
5085
- n[34] === /*activeIndex*/
5086
- n[3] ? "active" : ""}`) && H(t, "class", r);
5133
+ n[38] === /*activeIndex*/
5134
+ n[3] ? "active" : ""}`) && C(t, "class", r);
5087
5135
  },
5088
5136
  d(n) {
5089
- n && D(t);
5137
+ n && L(t);
5090
5138
  }
5091
5139
  };
5092
5140
  }
5093
- function jo(e) {
5141
+ function zo(e) {
5094
5142
  let t, r, n, i, o = (
5095
5143
  /*$_*/
5096
5144
  e[4]("carouselTitle") + ""
5097
- ), a, s, h, l = (
5145
+ ), a, s, u, l = (
5098
5146
  /*$_*/
5099
5147
  e[4]("carouselSubtitle") + ""
5100
- ), u, f;
5101
- function c(d, y) {
5148
+ ), h, c;
5149
+ function p(f, v) {
5102
5150
  return (
5103
5151
  /*promotedPaymentMethods*/
5104
- d[2].length > 0 ? Go : Fo
5152
+ f[2].length > 0 ? Vo : ko
5105
5153
  );
5106
5154
  }
5107
- let m = c(e), p = m(e);
5155
+ let b = p(e), d = b(e);
5108
5156
  return {
5109
5157
  c() {
5110
- t = T("div"), r = T("div"), n = T("div"), i = T("h4"), a = N(o), s = j(), h = T("p"), u = N(l), f = j(), p.c(), H(n, "class", "CarouselHeader"), H(r, "class", "CashierCarouselWarpper");
5158
+ t = T("div"), r = T("div"), n = T("div"), i = T("h4"), a = N(o), s = $(), u = T("p"), h = N(l), c = $(), d.c(), C(n, "class", "CarouselHeader"), C(r, "class", "CashierCarouselWarpper");
5111
5159
  },
5112
- m(d, y) {
5113
- z(d, t, y), E(t, r), E(r, n), E(n, i), E(i, a), E(n, s), E(n, h), E(h, u), E(r, f), p.m(r, null), e[20](t);
5160
+ m(f, v) {
5161
+ F(f, t, v), E(t, r), E(r, n), E(n, i), E(i, a), E(n, s), E(n, u), E(u, h), E(r, c), d.m(r, null), e[24](t);
5114
5162
  },
5115
- p(d, y) {
5116
- y[0] & /*$_*/
5163
+ p(f, v) {
5164
+ v[0] & /*$_*/
5117
5165
  16 && o !== (o = /*$_*/
5118
- d[4]("carouselTitle") + "") && k(a, o), y[0] & /*$_*/
5166
+ f[4]("carouselTitle") + "") && j(a, o), v[0] & /*$_*/
5119
5167
  16 && l !== (l = /*$_*/
5120
- d[4]("carouselSubtitle") + "") && k(u, l), m === (m = c(d)) && p ? p.p(d, y) : (p.d(1), p = m(d), p && (p.c(), p.m(r, null)));
5168
+ f[4]("carouselSubtitle") + "") && j(h, l), b === (b = p(f)) && d ? d.p(f, v) : (d.d(1), d = b(f), d && (d.c(), d.m(r, null)));
5121
5169
  },
5122
- i: C,
5123
- o: C,
5124
- d(d) {
5125
- d && D(t), p.d(), e[20](null);
5170
+ i: B,
5171
+ o: B,
5172
+ d(f) {
5173
+ f && L(t), d.d(), e[24](null);
5126
5174
  }
5127
5175
  };
5128
5176
  }
5129
- function ko(e, t, r) {
5177
+ function Zo(e, t, r) {
5130
5178
  let n;
5131
- on(e, vo, (b) => r(4, n = b));
5132
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: h = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: f = "" } = t, { translationurl: c = "" } = t, m, p = [], d = 0, y = !0, x = 0, S = !1, g;
5133
- const M = (b) => {
5134
- b.data && b.data.type === "PromotedPaymentMethods" && (r(2, p = b.data.promotedPaymentMethods), r(3, d = Math.floor((p.length - 1) / 2)));
5179
+ un(e, xo, (y) => r(4, n = y));
5180
+ let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: a = "true" } = t, { currencyposition: s = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c = "" } = t, { translationurl: p = "" } = t, b, d = [], f = 0, v = !0, g = 0, _ = !1, m, H = window.navigator.userAgent;
5181
+ const A = (y) => {
5182
+ y.data && y.data.type === "PromotedPaymentMethods" && (r(2, d = y.data.promotedPaymentMethods), r(3, f = Math.floor((d.length - 1) / 2)));
5135
5183
  };
5136
- Object.keys(hr).forEach((b) => {
5137
- lr(b, hr[b]);
5184
+ Object.keys(pr).forEach((y) => {
5185
+ fr(y, pr[y]);
5138
5186
  });
5139
- const A = () => {
5140
- let b = c;
5141
- if (b)
5142
- return fetch(b).then((B) => B.json()).then((B) => {
5143
- Object.keys(B).forEach(($) => {
5144
- lr($, B[$]);
5187
+ const I = () => {
5188
+ let y = p;
5189
+ if (y)
5190
+ return fetch(y).then((w) => w.json()).then((w) => {
5191
+ Object.keys(w).forEach((W) => {
5192
+ fr(W, w[W]);
5145
5193
  });
5146
- }).catch((B) => {
5147
- console.log(B);
5194
+ }).catch((w) => {
5195
+ console.log(w);
5148
5196
  });
5149
- }, I = () => {
5150
- Do(i);
5151
- }, U = (b) => {
5152
- b.Name, window.postMessage({ type: "SelectPayMeth", details: b }, window.location.href), dispatchEvent(new CustomEvent(
5197
+ }, G = () => {
5198
+ Go(i);
5199
+ }, q = (y, w) => {
5200
+ r(3, f = w), r(1, m.style.transform = X(), m), y.Name, window.postMessage({ type: "SelectPayMeth", details: y }, window.location.href), dispatchEvent(new CustomEvent(
5153
5201
  "selectPayMeth",
5154
5202
  {
5155
- detail: b,
5203
+ detail: y,
5156
5204
  bubbles: !0,
5157
5205
  cancelable: !0,
5158
5206
  composed: !0
5159
5207
  }
5160
5208
  ));
5161
- }, Y = () => {
5162
- let ee;
5163
- return p.length % 2 === 1 ? ee = Math.floor(p.length / 2) : ee = p.length / 2 - 0.5, `translateX(${(ee - d) * 165}px)`;
5164
- }, Ae = (b) => {
5165
- x = b.touches[0].clientX, S = !0, g.classList.add("dragging");
5166
- }, Q = (b) => {
5167
- if (!S)
5209
+ }, X = () => {
5210
+ let Oe;
5211
+ return d.length % 2 === 1 ? Oe = Math.floor(d.length / 2) : Oe = d.length / 2 - 0.5, `translateX(${(Oe - f) * 165}px)`;
5212
+ }, ee = (y) => {
5213
+ g = y.touches[0].clientX, _ = !0, m.classList.add("dragging");
5214
+ }, be = (y) => {
5215
+ if (!_)
5168
5216
  return;
5169
- const B = b.touches[0].clientX;
5170
- Math.abs(B - x) > 10 && b.preventDefault();
5171
- }, be = (b) => {
5172
- if (!S)
5217
+ const w = y.touches[0].clientX;
5218
+ Math.abs(w - g) > 10 && y.preventDefault();
5219
+ }, Me = (y) => {
5220
+ if (!_)
5173
5221
  return;
5174
- S = !1, g.classList.remove("dragging");
5175
- const B = b.changedTouches[0].clientX, $ = x - B;
5176
- Math.abs($) > 50 && ($ > 0 && d < p.length - 1 ? r(3, d++, d) : $ < 0 && d > 0 && r(3, d--, d), r(1, g.style.transform = Y(), g));
5177
- }, Be = () => {
5178
- y && (r(1, g.style.transform = Y(), g), y = !1);
5222
+ _ = !1, m.classList.remove("dragging");
5223
+ const w = y.changedTouches[0].clientX, W = g - w;
5224
+ Math.abs(W) > 50 && (W > 0 && f < d.length - 1 ? r(3, f++, f) : W < 0 && f > 0 && r(3, f--, f), r(1, m.style.transform = X(), m));
5225
+ }, te = () => {
5226
+ v && (r(1, m.style.transform = X(), m), v = !1);
5227
+ }, J = (y) => {
5228
+ y === "next" && f < d.length - 1 ? r(3, f++, f) : y === "prev" && f > 0 && r(3, f--, f), r(1, m.style.transform = X(), m);
5179
5229
  };
5180
- mn(() => (No(o, a, s, h), window.addEventListener("message", M), g && Y(), () => {
5181
- window.removeEventListener("message", M);
5230
+ yn(() => ($o(o, a, s, u), window.addEventListener("message", A), m && X(), () => {
5231
+ window.removeEventListener("message", A);
5182
5232
  }));
5183
- const q = (b) => U(b);
5184
- function ge(b) {
5185
- ze[b ? "unshift" : "push"](() => {
5186
- g = b, r(1, g);
5233
+ const Ae = () => J("prev"), re = (y, w) => q(y, w);
5234
+ function ge(y) {
5235
+ Ze[y ? "unshift" : "push"](() => {
5236
+ m = y, r(1, m);
5187
5237
  });
5188
5238
  }
5189
- function Oe(b) {
5190
- ze[b ? "unshift" : "push"](() => {
5191
- m = b, r(0, m);
5239
+ const Be = () => J("next");
5240
+ function it(y) {
5241
+ Ze[y ? "unshift" : "push"](() => {
5242
+ b = y, r(0, b);
5192
5243
  });
5193
5244
  }
5194
- return e.$$set = (b) => {
5195
- "lang" in b && r(9, i = b.lang), "local" in b && r(10, o = b.local), "currencysymbol" in b && r(11, a = b.currencysymbol), "currencyposition" in b && r(12, s = b.currencyposition), "currencydecimals" in b && r(13, h = b.currencydecimals), "clientstyling" in b && r(14, l = b.clientstyling), "clientstylingurl" in b && r(15, u = b.clientstylingurl), "mbsource" in b && r(16, f = b.mbsource), "translationurl" in b && r(17, c = b.translationurl);
5245
+ return e.$$set = (y) => {
5246
+ "lang" in y && r(11, i = y.lang), "local" in y && r(12, o = y.local), "currencysymbol" in y && r(13, a = y.currencysymbol), "currencyposition" in y && r(14, s = y.currencyposition), "currencydecimals" in y && r(15, u = y.currencydecimals), "clientstyling" in y && r(16, l = y.clientstyling), "clientstylingurl" in y && r(17, h = y.clientstylingurl), "mbsource" in y && r(18, c = y.mbsource), "translationurl" in y && r(19, p = y.translationurl);
5196
5247
  }, e.$$.update = () => {
5197
5248
  e.$$.dirty[0] & /*lang*/
5198
- 512 && i && I(), e.$$.dirty[0] & /*lang, translationurl*/
5199
- 131584 && i && c && A(), e.$$.dirty[0] & /*carouselContainer*/
5200
- 2 && g && Be(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5201
- 16385 && l && m && Io(m, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5202
- 32769 && u && m && $o(m, u), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5203
- 65537 && f && m && Ro(m, `${f}.Style`);
5249
+ 2048 && i && G(), e.$$.dirty[0] & /*lang, translationurl*/
5250
+ 526336 && i && p && I(), e.$$.dirty[0] & /*carouselContainer*/
5251
+ 2 && m && te(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5252
+ 65537 && l && b && Do(b, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5253
+ 131073 && h && b && Uo(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5254
+ 262145 && c && b && Fo(b, `${c}.Style`);
5204
5255
  }, [
5256
+ b,
5205
5257
  m,
5206
- g,
5207
- p,
5208
5258
  d,
5259
+ f,
5209
5260
  n,
5210
- U,
5211
- Ae,
5212
- Q,
5261
+ H,
5262
+ q,
5263
+ ee,
5213
5264
  be,
5265
+ Me,
5266
+ J,
5214
5267
  i,
5215
5268
  o,
5216
5269
  a,
5217
5270
  s,
5218
- h,
5219
- l,
5220
5271
  u,
5221
- f,
5272
+ l,
5273
+ h,
5222
5274
  c,
5223
- q,
5275
+ p,
5276
+ Ae,
5277
+ re,
5224
5278
  ge,
5225
- Oe
5279
+ Be,
5280
+ it
5226
5281
  ];
5227
5282
  }
5228
- class tn extends Pn {
5283
+ class on extends Mn {
5229
5284
  constructor(t) {
5230
- super(), wn(
5285
+ super(), Pn(
5231
5286
  this,
5232
5287
  t,
5233
- ko,
5234
- jo,
5235
- br,
5288
+ Zo,
5289
+ zo,
5290
+ vr,
5236
5291
  {
5237
- lang: 9,
5238
- local: 10,
5239
- currencysymbol: 11,
5240
- currencyposition: 12,
5241
- currencydecimals: 13,
5242
- clientstyling: 14,
5243
- clientstylingurl: 15,
5244
- mbsource: 16,
5245
- translationurl: 17
5292
+ lang: 11,
5293
+ local: 12,
5294
+ currencysymbol: 13,
5295
+ currencyposition: 14,
5296
+ currencydecimals: 15,
5297
+ clientstyling: 16,
5298
+ clientstylingurl: 17,
5299
+ mbsource: 18,
5300
+ translationurl: 19
5246
5301
  },
5247
- Uo,
5302
+ jo,
5248
5303
  [-1, -1]
5249
5304
  );
5250
5305
  }
5251
5306
  get lang() {
5252
- return this.$$.ctx[9];
5307
+ return this.$$.ctx[11];
5253
5308
  }
5254
5309
  set lang(t) {
5255
5310
  this.$$set({ lang: t }), R();
5256
5311
  }
5257
5312
  get local() {
5258
- return this.$$.ctx[10];
5313
+ return this.$$.ctx[12];
5259
5314
  }
5260
5315
  set local(t) {
5261
5316
  this.$$set({ local: t }), R();
5262
5317
  }
5263
5318
  get currencysymbol() {
5264
- return this.$$.ctx[11];
5319
+ return this.$$.ctx[13];
5265
5320
  }
5266
5321
  set currencysymbol(t) {
5267
5322
  this.$$set({ currencysymbol: t }), R();
5268
5323
  }
5269
5324
  get currencyposition() {
5270
- return this.$$.ctx[12];
5325
+ return this.$$.ctx[14];
5271
5326
  }
5272
5327
  set currencyposition(t) {
5273
5328
  this.$$set({ currencyposition: t }), R();
5274
5329
  }
5275
5330
  get currencydecimals() {
5276
- return this.$$.ctx[13];
5331
+ return this.$$.ctx[15];
5277
5332
  }
5278
5333
  set currencydecimals(t) {
5279
5334
  this.$$set({ currencydecimals: t }), R();
5280
5335
  }
5281
5336
  get clientstyling() {
5282
- return this.$$.ctx[14];
5337
+ return this.$$.ctx[16];
5283
5338
  }
5284
5339
  set clientstyling(t) {
5285
5340
  this.$$set({ clientstyling: t }), R();
5286
5341
  }
5287
5342
  get clientstylingurl() {
5288
- return this.$$.ctx[15];
5343
+ return this.$$.ctx[17];
5289
5344
  }
5290
5345
  set clientstylingurl(t) {
5291
5346
  this.$$set({ clientstylingurl: t }), R();
5292
5347
  }
5293
5348
  get mbsource() {
5294
- return this.$$.ctx[16];
5349
+ return this.$$.ctx[18];
5295
5350
  }
5296
5351
  set mbsource(t) {
5297
5352
  this.$$set({ mbsource: t }), R();
5298
5353
  }
5299
5354
  get translationurl() {
5300
- return this.$$.ctx[17];
5355
+ return this.$$.ctx[19];
5301
5356
  }
5302
5357
  set translationurl(t) {
5303
5358
  this.$$set({ translationurl: t }), R();
5304
5359
  }
5305
5360
  }
5306
- Tn(tn, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5307
- const ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5361
+ Cn(on, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5362
+ const Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5308
5363
  __proto__: null,
5309
- default: tn
5364
+ default: on
5310
5365
  }, Symbol.toStringTag, { value: "Module" }));
5311
5366
  export {
5312
- K as $,
5313
- qo as A,
5314
- Io as B,
5315
- $o as C,
5316
- Ro as D,
5317
- Tn as E,
5318
- vo as F,
5319
- C as G,
5320
- Qe as H,
5321
- An as I,
5322
- fs as J,
5367
+ Q as $,
5368
+ ss as A,
5369
+ Do as B,
5370
+ Uo as C,
5371
+ Fo as D,
5372
+ Cn as E,
5373
+ xo as F,
5374
+ B as G,
5375
+ qe as H,
5376
+ On as I,
5377
+ vs as J,
5323
5378
  ue as K,
5324
- Yo as L,
5325
- ps as M,
5326
- No as N,
5327
- es as O,
5328
- Jo as P,
5329
- Re as Q,
5330
- Ne as R,
5331
- Pn as S,
5332
- Ft as T,
5333
- Qo as U,
5334
- ns as V,
5335
- X as W,
5336
- ts as X,
5337
- ds as Y,
5338
- At as Z,
5339
- os as _,
5340
- Vr as a,
5341
- ss as a0,
5342
- hs as a1,
5343
- rs as a2,
5344
- is as a3,
5345
- ls as a4,
5346
- us as a5,
5347
- Zo as a6,
5348
- xn as a7,
5349
- En as a8,
5350
- cs as a9,
5351
- ms as aa,
5352
- wn as b,
5353
- sn as c,
5354
- Vo as d,
5355
- D as e,
5379
+ rs as L,
5380
+ cr as M,
5381
+ $o as N,
5382
+ as as O,
5383
+ ns as P,
5384
+ De as Q,
5385
+ Ie as R,
5386
+ Mn as S,
5387
+ jt as T,
5388
+ os as U,
5389
+ hs as V,
5390
+ V as W,
5391
+ us as X,
5392
+ _s as Y,
5393
+ Bt as Z,
5394
+ fs as _,
5395
+ zr as a,
5396
+ ps as a0,
5397
+ gs as a1,
5398
+ ls as a2,
5399
+ cs as a3,
5400
+ bs as a4,
5401
+ ms as a5,
5402
+ ts as a6,
5403
+ Tn as a7,
5404
+ wn as a8,
5405
+ ys as a9,
5406
+ Es as aa,
5407
+ Pn as b,
5408
+ ln as c,
5409
+ Ko as d,
5410
+ L as e,
5356
5411
  R as f,
5357
- _n as g,
5358
- zo as h,
5359
- Ji as i,
5360
- Xo as j,
5361
- z as k,
5412
+ Sn as g,
5413
+ es as h,
5414
+ qi as i,
5415
+ Qo as j,
5416
+ F as k,
5362
5417
  E as l,
5363
5418
  T as m,
5364
- j as n,
5365
- H as o,
5366
- on as p,
5367
- mn as q,
5368
- Ko as r,
5369
- br as s,
5370
- as as t,
5371
- Wo as u,
5372
- k as v,
5419
+ $ as n,
5420
+ C as o,
5421
+ un as p,
5422
+ yn as q,
5423
+ is as r,
5424
+ vr as s,
5425
+ ds as t,
5426
+ qo as u,
5427
+ j as v,
5373
5428
  N as w,
5374
- se as x,
5375
- ze as y,
5376
- Ut as z
5429
+ Z as x,
5430
+ Ze as y,
5431
+ Gt as z
5377
5432
  };