@everymatrix/cashier-page 1.77.24 → 1.77.26

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 (80) hide show
  1. package/components/{CashierCarousel-D9RhCULN.js → CashierCarousel-8hy7C-Hc.js} +970 -991
  2. package/components/CashierCarousel-CMHHOrjm.cjs +23 -0
  3. package/components/{CashierCarousel-C-jIotRi.js → CashierCarousel-CTAl631F.js} +1141 -1162
  4. package/components/{CashierError-DFUpmwPW.js → CashierError-B-mGufxN.js} +29 -29
  5. package/components/{CashierError-gMoSUhpw.js → CashierError-BpvGGYHk.js} +32 -32
  6. package/components/{CashierError-am916cR_.cjs → CashierError-DXU0vohJ.cjs} +1 -1
  7. package/components/{CashierHeader-Z4vR_fbH.js → CashierHeader-BbPVdDSy.js} +49 -49
  8. package/components/{CashierHeader-B3IckLiD.cjs → CashierHeader-Ch27ai33.cjs} +1 -1
  9. package/components/{CashierHeader-CK_NVBvX.js → CashierHeader-Dt53rt72.js} +50 -50
  10. package/components/{CashierIframeRedirect-CdQkuIPa.cjs → CashierIframeRedirect-C_lzvCiQ.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-Cae_sEXq.js → CashierIframeRedirect-DDwa62_J.js} +32 -32
  12. package/components/{CashierIframeRedirect-Cs3dAZqE.js → CashierIframeRedirect-DFqk8jV8.js} +42 -42
  13. package/components/{CashierMethodDetails-khwdIxvu.js → CashierMethodDetails-BswSN85a.js} +522 -522
  14. package/components/{CashierMethodDetails-DWh8sNEJ.js → CashierMethodDetails-CGu0vT5f.js} +180 -180
  15. package/components/{CashierMethodDetails-f2nVnAEu.cjs → CashierMethodDetails-DEqy0Axp.cjs} +2 -2
  16. package/components/{CashierMethodsList-DXkNlgio.js → CashierMethodsList-D9pQQPn8.js} +39 -39
  17. package/components/{CashierMethodsList-DeCIPW3N.cjs → CashierMethodsList-DfTNLel1.cjs} +1 -1
  18. package/components/{CashierMethodsList-CZkxXZST.js → CashierMethodsList-wKjHJTnI.js} +38 -38
  19. package/components/{CashierModal-By3PyyVz.js → CashierModal-C4wQBswd.js} +36 -36
  20. package/components/{CashierModal-pKGYmx2d.js → CashierModal-DJYOMvm6.js} +37 -37
  21. package/components/{CashierModal-D2cxw8Kv.cjs → CashierModal-Nya61zKi.cjs} +1 -1
  22. package/components/{CashierNotifications-Cot8tKyV.js → CashierNotifications-CuIRG1fU.js} +33 -33
  23. package/components/{CashierNotifications-64xrf21d.js → CashierNotifications-D3DnlGgu.js} +34 -34
  24. package/components/{CashierNotifications-o1UTpxCw.cjs → CashierNotifications-U6wVwYzB.cjs} +1 -1
  25. package/components/{CashierPage-D537sTlX.js → CashierPage-BRGPiScz.js} +115 -115
  26. package/components/{CashierPage-CDVatUXZ.js → CashierPage-CeQNpD59.js} +138 -138
  27. package/components/{CashierPage-CJxWyfnl.cjs → CashierPage-Cntnp_3f.cjs} +1 -1
  28. package/components/{CashierReceiptPage-ZjlpnjxZ.js → CashierReceiptPage-BJ33QbnV.js} +85 -85
  29. package/components/{CashierReceiptPage-DJVOcSy_.js → CashierReceiptPage-ClJPgidb.js} +88 -88
  30. package/components/{CashierReceiptPage-vffilP0r.cjs → CashierReceiptPage-KWljug_9.cjs} +1 -1
  31. package/components/{CashierSessionExpirationModal-BfRG-VY2.js → CashierSessionExpirationModal-BV2HUMWf.js} +59 -50
  32. package/components/{CashierSessionExpirationModal-BCfqE6Qk.js → CashierSessionExpirationModal-CvGVtyf5.js} +118 -109
  33. package/components/{CashierSessionExpirationModal-BgZuMP6W.cjs → CashierSessionExpirationModal-DITljBPL.cjs} +2 -2
  34. package/components/{CashierSpinner-fUvoz21a.js → CashierSpinner-BSlrvjni.js} +16 -16
  35. package/components/{CashierSpinner-CIpXwm9I.js → CashierSpinner-C175vtkA.js} +16 -16
  36. package/components/{CashierSpinner-DOCzNsD8.cjs → CashierSpinner-msj_XpO-.cjs} +1 -1
  37. package/components/{CashierTransactionHistory-C_77nNRF.cjs → CashierTransactionHistory-CfOZEGn-.cjs} +1 -1
  38. package/components/{CashierTransactionHistory-DLBclLcC.js → CashierTransactionHistory-Cv2FL_zi.js} +104 -104
  39. package/components/{CashierTransactionHistory-CHPwXvGA.js → CashierTransactionHistory-DFs4bnVj.js} +61 -61
  40. package/components/{CashierVerifications-B-e9bu7a.js → CashierVerifications-Bl-okfn_.js} +75 -75
  41. package/components/{CashierVerifications-D1I7kgbX.cjs → CashierVerifications-C7-keFiS.cjs} +1 -1
  42. package/components/{CashierVerifications-DAfJTpBE.js → CashierVerifications-DdisN2u9.js} +36 -36
  43. package/components/{TxnStatusIcon-C5YEVJGC.js → TxnStatusIcon-DLuaaRoA.js} +19 -19
  44. package/components/{TxnStatusIcon-Dx4SpBKR.cjs → TxnStatusIcon-Dfxg1kzJ.cjs} +1 -1
  45. package/components/{TxnStatusIcon-Cdbn57Qc.js → TxnStatusIcon-mzkkoROK.js} +19 -19
  46. package/components/{TxnTypeIcons-DaYTcY0u.js → TxnTypeIcons-CHAbo_FI.js} +14 -14
  47. package/components/{TxnTypeIcons-Dl8aWDV4.js → TxnTypeIcons-D3fc1OY6.js} +14 -14
  48. package/components/{TxnTypeIcons-D-p9WLvQ.cjs → TxnTypeIcons-DIvNxsdh.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/stencil/index-97d17652-BD-QREJe.js +558 -0
  54. package/stencil/index-97d17652-DJqGt8q2.js +542 -0
  55. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  56. package/stencil/index-b2193545-BhpttWPO.cjs +1 -0
  57. package/stencil/index-b2193545-DWKmtYUG.js +503 -0
  58. package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
  59. package/stencil/{ui-image-BWJXFWH1.js → ui-image-4dZyD9yF.js} +1 -1
  60. package/stencil/{ui-image-DIEeZy5u.js → ui-image-6u7OR3Eo.js} +1 -1
  61. package/stencil/{ui-image-ByEXiBzx.cjs → ui-image-CER01gdl.cjs} +1 -1
  62. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  63. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  64. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  65. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  66. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  67. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-_K8Pt3w9.js} +2 -2
  68. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
  69. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
  70. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
  71. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
  72. package/stencil/{ui-skeleton-ae35c6f2-CKgUXOQC.cjs → ui-skeleton-ae35c6f2-D-MGUxCy.cjs} +1 -1
  73. package/stencil/{ui-skeleton-_yJvAdAL.cjs → ui-skeleton-gIFE_2eg.cjs} +1 -1
  74. package/components/CashierCarousel-DXPbv83E.cjs +0 -23
  75. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  76. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  77. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
  78. package/stencil/index-b2193545-B8kMF2bI.cjs +0 -1
  79. package/stencil/index-b2193545-BoSqyMpB.js +0 -519
  80. package/stencil/index-b2193545-D4dOaNlR.js +0 -503
@@ -1,35 +1,35 @@
1
- var ln = Object.defineProperty, hn = Object.defineProperties;
2
- var cn = Object.getOwnPropertyDescriptors;
3
- var Gt = Object.getOwnPropertySymbols;
4
- var fn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable;
5
- var it = (e, t, r) => t in e ? ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
1
+ var un = Object.defineProperty, ln = Object.defineProperties;
2
+ var hn = Object.getOwnPropertyDescriptors;
3
+ var Dt = Object.getOwnPropertySymbols;
4
+ var cn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable;
5
+ var rt = (e, t, r) => t in e ? un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fn.call(t, r) && it(e, r, t[r]);
8
- if (Gt)
9
- for (var r of Gt(t))
10
- pn.call(t, r) && it(e, r, t[r]);
7
+ cn.call(t, r) && rt(e, r, t[r]);
8
+ if (Dt)
9
+ for (var r of Dt(t))
10
+ fn.call(t, r) && rt(e, r, t[r]);
11
11
  return e;
12
- }, jt = (e, t) => hn(e, cn(t));
13
- var $ = (e, t, r) => (it(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var kt = (e, t, r) => new Promise((n, i) => {
12
+ }, Gt = (e, t) => ln(e, hn(t));
13
+ var $ = (e, t, r) => (rt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ft = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
- a(r.next(u));
17
+ s(r.next(u));
18
18
  } catch (l) {
19
19
  i(l);
20
20
  }
21
- }, s = (u) => {
21
+ }, a = (u) => {
22
22
  try {
23
- a(r.throw(u));
23
+ s(r.throw(u));
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, s = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, a);
28
+ s((r = r.apply(e, t)).next());
29
29
  });
30
30
  function I() {
31
31
  }
32
- const Bt = (e) => e;
32
+ const Pt = (e) => e;
33
33
  function dn(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
@@ -38,29 +38,29 @@ function dn(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function xr(e) {
41
+ function vr(e) {
42
42
  return e();
43
43
  }
44
- function Vt() {
44
+ function jt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function z(e) {
48
- e.forEach(xr);
47
+ function W(e) {
48
+ e.forEach(vr);
49
49
  }
50
- function de(e) {
50
+ function me(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Er(e, t) {
53
+ function _r(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
56
  let Ie;
57
- function Xt(e, t) {
57
+ function kt(e, t) {
58
58
  return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
59
59
  }
60
- function mn(e) {
60
+ function pn(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function wr(e, ...t) {
63
+ function xr(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
@@ -69,40 +69,40 @@ function wr(e, ...t) {
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function bn(e, t, r) {
73
- e.$$.on_destroy.push(wr(t, r));
72
+ function mn(e, t, r) {
73
+ e.$$.on_destroy.push(xr(t, r));
74
74
  }
75
- function rs(e, t, r, n) {
75
+ function es(e, t, r, n) {
76
76
  if (e) {
77
- const i = Sr(e, t, r, n);
77
+ const i = Er(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Sr(e, t, r, n) {
81
+ function Er(e, t, r, n) {
82
82
  return e[1] && n ? dn(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function ns(e, t, r, n) {
84
+ function ts(e, t, r, n) {
85
85
  if (e[2] && n) {
86
86
  const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
88
88
  return i;
89
89
  if (typeof i == "object") {
90
- const o = [], s = Math.max(t.dirty.length, i.length);
91
- for (let a = 0; a < s; a += 1)
92
- o[a] = t.dirty[a] | i[a];
90
+ const o = [], a = Math.max(t.dirty.length, i.length);
91
+ for (let s = 0; s < a; s += 1)
92
+ o[s] = t.dirty[s] | i[s];
93
93
  return o;
94
94
  }
95
95
  return t.dirty | i;
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function is(e, t, r, n, i, o) {
99
+ function rs(e, t, r, n, i, o) {
100
100
  if (i) {
101
- const s = Sr(t, r, n, o);
102
- e.p(s, i);
101
+ const a = Er(t, r, n, o);
102
+ e.p(a, i);
103
103
  }
104
104
  }
105
- function os(e) {
105
+ function ns(e) {
106
106
  if (e.ctx.length > 32) {
107
107
  const t = [], r = e.ctx.length / 32;
108
108
  for (let n = 0; n < r; n++)
@@ -111,20 +111,20 @@ function os(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- function ss(e) {
114
+ function is(e) {
115
115
  return e == null ? "" : e;
116
116
  }
117
- const Tr = typeof window != "undefined";
118
- let Ct = Tr ? () => window.performance.now() : () => Date.now(), It = Tr ? (e) => requestAnimationFrame(e) : I;
117
+ const wr = typeof window != "undefined";
118
+ let At = wr ? () => window.performance.now() : () => Date.now(), Mt = wr ? (e) => requestAnimationFrame(e) : I;
119
119
  const se = /* @__PURE__ */ new Set();
120
- function Hr(e) {
120
+ function Sr(e) {
121
121
  se.forEach((t) => {
122
122
  t.c(e) || (se.delete(t), t.f());
123
- }), se.size !== 0 && It(Hr);
123
+ }), se.size !== 0 && Mt(Sr);
124
124
  }
125
- function Lt(e) {
125
+ function Bt(e) {
126
126
  let t;
127
- return se.size === 0 && It(Hr), {
127
+ return se.size === 0 && Mt(Sr), {
128
128
  promise: new Promise((r) => {
129
129
  se.add(t = { c: e, f: r });
130
130
  }),
@@ -133,21 +133,21 @@ function Lt(e) {
133
133
  }
134
134
  };
135
135
  }
136
- const as = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
136
+ const os = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
137
137
  // @ts-ignore Node typings have this
138
138
  global
139
139
  );
140
- function T(e, t) {
140
+ function H(e, t) {
141
141
  e.appendChild(t);
142
142
  }
143
- function gn(e, t, r) {
144
- const n = Nt(e);
143
+ function bn(e, t, r) {
144
+ const n = Ct(e);
145
145
  if (!n.getElementById(t)) {
146
- const i = P("style");
147
- i.id = t, i.textContent = r, Pr(n, i);
146
+ const i = A("style");
147
+ i.id = t, i.textContent = r, Tr(n, i);
148
148
  }
149
149
  }
150
- function Nt(e) {
150
+ function Ct(e) {
151
151
  if (!e)
152
152
  return document;
153
153
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -157,12 +157,12 @@ function Nt(e) {
157
157
  t
158
158
  ) : e.ownerDocument;
159
159
  }
160
- function yn(e) {
161
- const t = P("style");
162
- return t.textContent = "/* empty */", Pr(Nt(e), t), t.sheet;
160
+ function gn(e) {
161
+ const t = A("style");
162
+ return t.textContent = "/* empty */", Tr(Ct(e), t), t.sheet;
163
163
  }
164
- function Pr(e, t) {
165
- return T(
164
+ function Tr(e, t) {
165
+ return H(
166
166
  /** @type {Document} */
167
167
  e.head || e,
168
168
  t
@@ -174,58 +174,58 @@ function F(e, t, r) {
174
174
  function L(e) {
175
175
  e.parentNode && e.parentNode.removeChild(e);
176
176
  }
177
- function Wt(e, t) {
177
+ function Vt(e, t) {
178
178
  for (let r = 0; r < e.length; r += 1)
179
179
  e[r] && e[r].d(t);
180
180
  }
181
- function P(e) {
181
+ function A(e) {
182
182
  return document.createElement(e);
183
183
  }
184
- function us(e) {
184
+ function ss(e) {
185
185
  return document.createElementNS("http://www.w3.org/2000/svg", e);
186
186
  }
187
187
  function R(e) {
188
188
  return document.createTextNode(e);
189
189
  }
190
- function V() {
190
+ function k() {
191
191
  return R(" ");
192
192
  }
193
- function ls() {
193
+ function as() {
194
194
  return R("");
195
195
  }
196
196
  function ae(e, t, r, n) {
197
197
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
198
198
  }
199
- function hs(e) {
199
+ function us(e) {
200
200
  return function(t) {
201
201
  return t.preventDefault(), e.call(this, t);
202
202
  };
203
203
  }
204
- function O(e, t, r) {
204
+ function M(e, t, r) {
205
205
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
206
206
  }
207
- function cs(e, t, r) {
207
+ function ls(e, t, r) {
208
208
  const n = t.toLowerCase();
209
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : O(e, t, r);
209
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : M(e, t, r);
210
210
  }
211
- function fs(e) {
211
+ function hs(e) {
212
212
  return e === "" ? null : +e;
213
213
  }
214
- function vn(e) {
214
+ function yn(e) {
215
215
  return Array.from(e.childNodes);
216
216
  }
217
- function X(e, t) {
217
+ function V(e, t) {
218
218
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
219
219
  t);
220
220
  }
221
- function ps(e, t) {
221
+ function cs(e, t) {
222
222
  e.value = t == null ? "" : t;
223
223
  }
224
- function ds(e, t, r, n) {
224
+ function fs(e, t, r, n) {
225
225
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
226
226
  }
227
227
  let Le;
228
- function _n() {
228
+ function vn() {
229
229
  if (Le === void 0) {
230
230
  Le = !1;
231
231
  try {
@@ -236,35 +236,35 @@ function _n() {
236
236
  }
237
237
  return Le;
238
238
  }
239
- function ms(e, t) {
239
+ function ds(e, t) {
240
240
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
241
- const n = P("iframe");
241
+ const n = A("iframe");
242
242
  n.setAttribute(
243
243
  "style",
244
244
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
245
245
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
246
- const i = _n();
246
+ const i = vn();
247
247
  let o;
248
248
  return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = ae(
249
249
  window,
250
250
  "message",
251
251
  /** @param {MessageEvent} event */
252
- (s) => {
253
- s.source === n.contentWindow && t();
252
+ (a) => {
253
+ a.source === n.contentWindow && t();
254
254
  }
255
255
  )) : (n.src = "about:blank", n.onload = () => {
256
256
  o = ae(n.contentWindow, "resize", t), t();
257
- }), T(e, n), () => {
257
+ }), H(e, n), () => {
258
258
  (i || o && n.contentWindow) && o(), L(n);
259
259
  };
260
260
  }
261
- function bs(e, t, r) {
261
+ function ps(e, t, r) {
262
262
  e.classList.toggle(t, !!r);
263
263
  }
264
- function xn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
264
+ function _n(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
265
265
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
266
266
  }
267
- function En(e) {
267
+ function xn(e) {
268
268
  const t = {};
269
269
  return e.childNodes.forEach(
270
270
  /** @param {Element} node */
@@ -275,168 +275,168 @@ function En(e) {
275
275
  }
276
276
  const Ve = /* @__PURE__ */ new Map();
277
277
  let Xe = 0;
278
- function wn(e) {
278
+ function En(e) {
279
279
  let t = 5381, r = e.length;
280
280
  for (; r--; )
281
281
  t = (t << 5) - t ^ e.charCodeAt(r);
282
282
  return t >>> 0;
283
283
  }
284
- function Sn(e, t) {
285
- const r = { stylesheet: yn(t), rules: {} };
284
+ function wn(e, t) {
285
+ const r = { stylesheet: gn(t), rules: {} };
286
286
  return Ve.set(e, r), r;
287
287
  }
288
- function We(e, t, r, n, i, o, s, a = 0) {
288
+ function We(e, t, r, n, i, o, a, s = 0) {
289
289
  const u = 16.666 / n;
290
290
  let l = `{
291
291
  `;
292
292
  for (let v = 0; v <= 1; v += u) {
293
293
  const E = t + (r - t) * o(v);
294
- l += v * 100 + `%{${s(E, 1 - E)}}
294
+ l += v * 100 + `%{${a(E, 1 - E)}}
295
295
  `;
296
296
  }
297
- const h = l + `100% {${s(r, 1 - r)}}
298
- }`, c = `__svelte_${wn(h)}_${a}`, f = Nt(e), { stylesheet: b, rules: m } = Ve.get(f) || Sn(f, e);
297
+ const h = l + `100% {${a(r, 1 - r)}}
298
+ }`, c = `__svelte_${En(h)}_${s}`, f = Ct(e), { stylesheet: b, rules: m } = Ve.get(f) || wn(f, e);
299
299
  m[c] || (m[c] = !0, b.insertRule(`@keyframes ${c} ${h}`, b.cssRules.length));
300
- const d = e.style.animation || "";
301
- return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Xe += 1, c;
300
+ const p = e.style.animation || "";
301
+ return e.style.animation = `${p ? `${p}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Xe += 1, c;
302
302
  }
303
303
  function ze(e, t) {
304
304
  const r = (e.style.animation || "").split(", "), n = r.filter(
305
305
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
306
306
  // remove all Svelte animations
307
307
  ), i = r.length - n.length;
308
- i && (e.style.animation = n.join(", "), Xe -= i, Xe || Tn());
308
+ i && (e.style.animation = n.join(", "), Xe -= i, Xe || Sn());
309
309
  }
310
- function Tn() {
311
- It(() => {
310
+ function Sn() {
311
+ Mt(() => {
312
312
  Xe || (Ve.forEach((e) => {
313
313
  const { ownerNode: t } = e.stylesheet;
314
314
  t && L(t);
315
315
  }), Ve.clear());
316
316
  });
317
317
  }
318
- let Se;
319
- function we(e) {
320
- Se = e;
318
+ let Te;
319
+ function Se(e) {
320
+ Te = e;
321
321
  }
322
- function Ar() {
323
- if (!Se)
322
+ function Hr() {
323
+ if (!Te)
324
324
  throw new Error("Function called outside component initialization");
325
- return Se;
325
+ return Te;
326
326
  }
327
- function Hn(e) {
328
- Ar().$$.on_mount.push(e);
327
+ function Tn(e) {
328
+ Hr().$$.on_mount.push(e);
329
329
  }
330
- function gs(e) {
331
- Ar().$$.on_destroy.push(e);
330
+ function ms(e) {
331
+ Hr().$$.on_destroy.push(e);
332
332
  }
333
333
  const oe = [], Ze = [];
334
334
  let ue = [];
335
- const zt = [], Pn = /* @__PURE__ */ Promise.resolve();
336
- let pt = !1;
337
- function An() {
338
- pt || (pt = !0, Pn.then(U));
335
+ const Xt = [], Hn = /* @__PURE__ */ Promise.resolve();
336
+ let ct = !1;
337
+ function Pn() {
338
+ ct || (ct = !0, Hn.then(U));
339
339
  }
340
- function le(e) {
340
+ function he(e) {
341
341
  ue.push(e);
342
342
  }
343
- const ot = /* @__PURE__ */ new Set();
343
+ const nt = /* @__PURE__ */ new Set();
344
344
  let ne = 0;
345
345
  function U() {
346
346
  if (ne !== 0)
347
347
  return;
348
- const e = Se;
348
+ const e = Te;
349
349
  do {
350
350
  try {
351
351
  for (; ne < oe.length; ) {
352
352
  const t = oe[ne];
353
- ne++, we(t), On(t.$$);
353
+ ne++, Se(t), An(t.$$);
354
354
  }
355
355
  } catch (t) {
356
356
  throw oe.length = 0, ne = 0, t;
357
357
  }
358
- for (we(null), oe.length = 0, ne = 0; Ze.length; )
358
+ for (Se(null), oe.length = 0, ne = 0; Ze.length; )
359
359
  Ze.pop()();
360
360
  for (let t = 0; t < ue.length; t += 1) {
361
361
  const r = ue[t];
362
- ot.has(r) || (ot.add(r), r());
362
+ nt.has(r) || (nt.add(r), r());
363
363
  }
364
364
  ue.length = 0;
365
365
  } while (oe.length);
366
- for (; zt.length; )
367
- zt.pop()();
368
- pt = !1, ot.clear(), we(e);
366
+ for (; Xt.length; )
367
+ Xt.pop()();
368
+ ct = !1, nt.clear(), Se(e);
369
369
  }
370
- function On(e) {
370
+ function An(e) {
371
371
  if (e.fragment !== null) {
372
- e.update(), z(e.before_update);
372
+ e.update(), W(e.before_update);
373
373
  const t = e.dirty;
374
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(le);
374
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
375
375
  }
376
376
  }
377
377
  function Mn(e) {
378
378
  const t = [], r = [];
379
379
  ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
380
380
  }
381
- let ve;
382
- function $t() {
383
- return ve || (ve = Promise.resolve(), ve.then(() => {
384
- ve = null;
385
- })), ve;
381
+ let _e;
382
+ function Ot() {
383
+ return _e || (_e = Promise.resolve(), _e.then(() => {
384
+ _e = null;
385
+ })), _e;
386
386
  }
387
387
  function q(e, t, r) {
388
- e.dispatchEvent(xn(`${t ? "intro" : "outro"}${r}`));
388
+ e.dispatchEvent(_n(`${t ? "intro" : "outro"}${r}`));
389
389
  }
390
390
  const Ue = /* @__PURE__ */ new Set();
391
- let k;
392
- function ys() {
393
- k = {
391
+ let j;
392
+ function bs() {
393
+ j = {
394
394
  r: 0,
395
395
  c: [],
396
- p: k
396
+ p: j
397
397
  // parent group
398
398
  };
399
399
  }
400
- function vs() {
401
- k.r || z(k.c), k = k.p;
400
+ function gs() {
401
+ j.r || W(j.c), j = j.p;
402
402
  }
403
403
  function Bn(e, t) {
404
404
  e && e.i && (Ue.delete(e), e.i(t));
405
405
  }
406
- function _s(e, t, r, n) {
406
+ function ys(e, t, r, n) {
407
407
  if (e && e.o) {
408
408
  if (Ue.has(e))
409
409
  return;
410
- Ue.add(e), k.c.push(() => {
410
+ Ue.add(e), j.c.push(() => {
411
411
  Ue.delete(e), n && (r && e.d(1), n());
412
412
  }), e.o(t);
413
413
  } else
414
414
  n && n();
415
415
  }
416
- const Rt = { duration: 0 };
417
- function xs(e, t, r) {
416
+ const It = { duration: 0 };
417
+ function vs(e, t, r) {
418
418
  const n = { direction: "in" };
419
- let i = t(e, r, n), o = !1, s, a, u = 0;
419
+ let i = t(e, r, n), o = !1, a, s, u = 0;
420
420
  function l() {
421
- s && ze(e, s);
421
+ a && ze(e, a);
422
422
  }
423
423
  function h() {
424
424
  const {
425
425
  delay: f = 0,
426
426
  duration: b = 300,
427
- easing: m = Bt,
428
- tick: d = I,
427
+ easing: m = Pt,
428
+ tick: p = I,
429
429
  css: v
430
- } = i || Rt;
431
- v && (s = We(e, 0, 1, b, f, m, v, u++)), d(0, 1);
432
- const E = Ct() + f, _ = E + b;
433
- a && a.abort(), o = !0, le(() => q(e, !0, "start")), a = Lt((p) => {
430
+ } = i || It;
431
+ v && (a = We(e, 0, 1, b, f, m, v, u++)), p(0, 1);
432
+ const E = At() + f, _ = E + b;
433
+ s && s.abort(), o = !0, he(() => q(e, !0, "start")), s = Bt((d) => {
434
434
  if (o) {
435
- if (p >= _)
436
- return d(1, 0), q(e, !0, "end"), l(), o = !1;
437
- if (p >= E) {
438
- const S = m((p - E) / b);
439
- d(S, 1 - S);
435
+ if (d >= _)
436
+ return p(1, 0), q(e, !0, "end"), l(), o = !1;
437
+ if (d >= E) {
438
+ const S = m((d - E) / b);
439
+ p(S, 1 - S);
440
440
  }
441
441
  }
442
442
  return o;
@@ -445,7 +445,7 @@ function xs(e, t, r) {
445
445
  let c = !1;
446
446
  return {
447
447
  start() {
448
- c || (c = !0, ze(e), de(i) ? (i = i(n), $t().then(h)) : h());
448
+ c || (c = !0, ze(e), me(i) ? (i = i(n), Ot().then(h)) : h());
449
449
  },
450
450
  invalidate() {
451
451
  c = !1;
@@ -455,129 +455,129 @@ function xs(e, t, r) {
455
455
  }
456
456
  };
457
457
  }
458
- function Es(e, t, r) {
458
+ function _s(e, t, r) {
459
459
  const n = { direction: "out" };
460
- let i = t(e, r, n), o = !0, s;
461
- const a = k;
462
- a.r += 1;
460
+ let i = t(e, r, n), o = !0, a;
461
+ const s = j;
462
+ s.r += 1;
463
463
  let u;
464
464
  function l() {
465
465
  const {
466
466
  delay: h = 0,
467
467
  duration: c = 300,
468
- easing: f = Bt,
468
+ easing: f = Pt,
469
469
  tick: b = I,
470
470
  css: m
471
- } = i || Rt;
472
- m && (s = We(e, 1, 0, c, h, f, m));
473
- const d = Ct() + h, v = d + c;
474
- le(() => q(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
475
- e.inert, e.inert = !0), Lt((E) => {
471
+ } = i || It;
472
+ m && (a = We(e, 1, 0, c, h, f, m));
473
+ const p = At() + h, v = p + c;
474
+ he(() => q(e, !1, "start")), "inert" in e && (u = /** @type {HTMLElement} */
475
+ e.inert, e.inert = !0), Bt((E) => {
476
476
  if (o) {
477
477
  if (E >= v)
478
- return b(0, 1), q(e, !1, "end"), --a.r || z(a.c), !1;
479
- if (E >= d) {
480
- const _ = f((E - d) / c);
478
+ return b(0, 1), q(e, !1, "end"), --s.r || W(s.c), !1;
479
+ if (E >= p) {
480
+ const _ = f((E - p) / c);
481
481
  b(1 - _, _);
482
482
  }
483
483
  }
484
484
  return o;
485
485
  });
486
486
  }
487
- return de(i) ? $t().then(() => {
487
+ return me(i) ? Ot().then(() => {
488
488
  i = i(n), l();
489
489
  }) : l(), {
490
490
  end(h) {
491
- h && "inert" in e && (e.inert = u), h && i.tick && i.tick(1, 0), o && (s && ze(e, s), o = !1);
491
+ h && "inert" in e && (e.inert = u), h && i.tick && i.tick(1, 0), o && (a && ze(e, a), o = !1);
492
492
  }
493
493
  };
494
494
  }
495
- function ws(e, t, r, n) {
496
- let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
495
+ function xs(e, t, r, n) {
496
+ let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, u = null, l = null, h;
497
497
  function c() {
498
498
  l && ze(e, l);
499
499
  }
500
- function f(m, d) {
500
+ function f(m, p) {
501
501
  const v = (
502
502
  /** @type {Program['d']} */
503
- m.b - s
503
+ m.b - a
504
504
  );
505
- return d *= Math.abs(v), {
506
- a: s,
505
+ return p *= Math.abs(v), {
506
+ a,
507
507
  b: m.b,
508
508
  d: v,
509
- duration: d,
509
+ duration: p,
510
510
  start: m.start,
511
- end: m.start + d,
511
+ end: m.start + p,
512
512
  group: m.group
513
513
  };
514
514
  }
515
515
  function b(m) {
516
516
  const {
517
- delay: d = 0,
517
+ delay: p = 0,
518
518
  duration: v = 300,
519
- easing: E = Bt,
519
+ easing: E = Pt,
520
520
  tick: _ = I,
521
- css: p
522
- } = o || Rt, S = {
523
- start: Ct() + d,
521
+ css: d
522
+ } = o || It, S = {
523
+ start: At() + p,
524
524
  b: m
525
525
  };
526
- m || (S.group = k, k.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
527
- e.inert, e.inert = !0)), a || u ? u = S : (p && (c(), l = We(e, s, m, v, d, E, p)), m && _(0, 1), a = f(S, v), le(() => q(e, m, "start")), Lt((y) => {
528
- if (u && y > u.start && (a = f(u, v), u = null, q(e, a.b, "start"), p && (c(), l = We(
526
+ m || (S.group = j, j.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
527
+ e.inert, e.inert = !0)), s || u ? u = S : (d && (c(), l = We(e, a, m, v, p, E, d)), m && _(0, 1), s = f(S, v), he(() => q(e, m, "start")), Bt((y) => {
528
+ if (u && y > u.start && (s = f(u, v), u = null, q(e, s.b, "start"), d && (c(), l = We(
529
529
  e,
530
- s,
531
- a.b,
532
- a.duration,
530
+ a,
531
+ s.b,
532
+ s.duration,
533
533
  0,
534
534
  E,
535
535
  o.css
536
- ))), a) {
537
- if (y >= a.end)
538
- _(s = a.b, 1 - s), q(e, a.b, "end"), u || (a.b ? c() : --a.group.r || z(a.group.c)), a = null;
539
- else if (y >= a.start) {
540
- const M = y - a.start;
541
- s = a.a + a.d * E(M / a.duration), _(s, 1 - s);
536
+ ))), s) {
537
+ if (y >= s.end)
538
+ _(a = s.b, 1 - a), q(e, s.b, "end"), u || (s.b ? c() : --s.group.r || W(s.group.c)), s = null;
539
+ else if (y >= s.start) {
540
+ const B = y - s.start;
541
+ a = s.a + s.d * E(B / s.duration), _(a, 1 - a);
542
542
  }
543
543
  }
544
- return !!(a || u);
544
+ return !!(s || u);
545
545
  }));
546
546
  }
547
547
  return {
548
548
  run(m) {
549
- de(o) ? $t().then(() => {
549
+ me(o) ? Ot().then(() => {
550
550
  o = o({ direction: m ? "in" : "out" }), b(m);
551
551
  }) : b(m);
552
552
  },
553
553
  end() {
554
- c(), a = u = null;
554
+ c(), s = u = null;
555
555
  }
556
556
  };
557
557
  }
558
558
  function Ne(e) {
559
559
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
560
560
  }
561
- function Ss(e) {
561
+ function Es(e) {
562
562
  e && e.c();
563
563
  }
564
564
  function Cn(e, t, r) {
565
565
  const { fragment: n, after_update: i } = e.$$;
566
- n && n.m(t, r), le(() => {
567
- const o = e.$$.on_mount.map(xr).filter(de);
568
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
569
- }), i.forEach(le);
566
+ n && n.m(t, r), he(() => {
567
+ const o = e.$$.on_mount.map(vr).filter(me);
568
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : W(o), e.$$.on_mount = [];
569
+ }), i.forEach(he);
570
570
  }
571
- function In(e, t) {
571
+ function On(e, t) {
572
572
  const r = e.$$;
573
- r.fragment !== null && (Mn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
573
+ r.fragment !== null && (Mn(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
574
574
  }
575
- function Ln(e, t) {
576
- e.$$.dirty[0] === -1 && (oe.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
575
+ function In(e, t) {
576
+ e.$$.dirty[0] === -1 && (oe.push(e), Pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
577
577
  }
578
- function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
579
- const u = Se;
580
- we(e);
578
+ function Ln(e, t, r, n, i, o, a = null, s = [-1]) {
579
+ const u = Te;
580
+ Se(e);
581
581
  const l = e.$$ = {
582
582
  fragment: null,
583
583
  ctx: [],
@@ -585,7 +585,7 @@ function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
585
585
  props: o,
586
586
  update: I,
587
587
  not_equal: i,
588
- bound: Vt(),
588
+ bound: jt(),
589
589
  // lifecycle
590
590
  on_mount: [],
591
591
  on_destroy: [],
@@ -594,28 +594,28 @@ function Nn(e, t, r, n, i, o, s = null, a = [-1]) {
594
594
  after_update: [],
595
595
  context: new Map(t.context || (u ? u.$$.context : [])),
596
596
  // everything else
597
- callbacks: Vt(),
598
- dirty: a,
597
+ callbacks: jt(),
598
+ dirty: s,
599
599
  skip_bound: !1,
600
600
  root: t.target || u.$$.root
601
601
  };
602
- s && s(l.root);
602
+ a && a(l.root);
603
603
  let h = !1;
604
604
  if (l.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
605
605
  const m = b.length ? b[0] : f;
606
- return l.ctx && i(l.ctx[c], l.ctx[c] = m) && (!l.skip_bound && l.bound[c] && l.bound[c](m), h && Ln(e, c)), f;
607
- }) : [], l.update(), h = !0, z(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
606
+ return l.ctx && i(l.ctx[c], l.ctx[c] = m) && (!l.skip_bound && l.bound[c] && l.bound[c](m), h && In(e, c)), f;
607
+ }) : [], l.update(), h = !0, W(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
608
608
  if (t.hydrate) {
609
- const c = vn(t.target);
609
+ const c = yn(t.target);
610
610
  l.fragment && l.fragment.l(c), c.forEach(L);
611
611
  } else
612
612
  l.fragment && l.fragment.c();
613
613
  t.intro && Bn(e.$$.fragment), Cn(e, t.target, t.anchor), U();
614
614
  }
615
- we(u);
615
+ Se(u);
616
616
  }
617
- let Or;
618
- typeof HTMLElement == "function" && (Or = class extends HTMLElement {
617
+ let Pr;
618
+ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
619
619
  constructor(t, r, n) {
620
620
  super();
621
621
  /** The Svelte component constructor */
@@ -652,42 +652,42 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
652
652
  }
653
653
  }
654
654
  connectedCallback() {
655
- return kt(this, null, function* () {
655
+ return Ft(this, null, function* () {
656
656
  if (this.$$cn = !0, !this.$$c) {
657
657
  let t = function(o) {
658
658
  return () => {
659
- let s;
659
+ let a;
660
660
  return {
661
661
  c: function() {
662
- s = P("slot"), o !== "default" && O(s, "name", o);
662
+ a = A("slot"), o !== "default" && M(a, "name", o);
663
663
  },
664
664
  /**
665
665
  * @param {HTMLElement} target
666
666
  * @param {HTMLElement} [anchor]
667
667
  */
668
668
  m: function(l, h) {
669
- F(l, s, h);
669
+ F(l, a, h);
670
670
  },
671
671
  d: function(l) {
672
- l && L(s);
672
+ l && L(a);
673
673
  }
674
674
  };
675
675
  };
676
676
  };
677
677
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
678
678
  return;
679
- const r = {}, n = En(this);
679
+ const r = {}, n = xn(this);
680
680
  for (const o of this.$$s)
681
681
  o in n && (r[o] = [t(o)]);
682
682
  for (const o of this.attributes) {
683
- const s = this.$$g_p(o.name);
684
- s in this.$$d || (this.$$d[s] = Ge(s, o.value, this.$$p_d, "toProp"));
683
+ const a = this.$$g_p(o.name);
684
+ a in this.$$d || (this.$$d[a] = Ge(a, o.value, this.$$p_d, "toProp"));
685
685
  }
686
686
  for (const o in this.$$p_d)
687
687
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
688
688
  this.$$c = new this.$$ctor({
689
689
  target: this.shadowRoot || this,
690
- props: jt(Ft({}, this.$$d), {
690
+ props: Gt(Ut({}, this.$$d), {
691
691
  $$slots: r,
692
692
  $$scope: {
693
693
  ctx: []
@@ -698,21 +698,21 @@ typeof HTMLElement == "function" && (Or = class extends HTMLElement {
698
698
  this.$$r = !0;
699
699
  for (const o in this.$$p_d)
700
700
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
701
- const s = Ge(
701
+ const a = Ge(
702
702
  o,
703
703
  this.$$d[o],
704
704
  this.$$p_d,
705
705
  "toAttribute"
706
706
  );
707
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
707
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
708
708
  }
709
709
  this.$$r = !1;
710
710
  };
711
711
  this.$$c.$$.after_update.push(i), i();
712
712
  for (const o in this.$$l)
713
- for (const s of this.$$l[o]) {
714
- const a = this.$$c.$on(o, s);
715
- this.$$l_u.set(s, a);
713
+ for (const a of this.$$l[o]) {
714
+ const s = this.$$c.$on(o, a);
715
+ this.$$l_u.set(a, s);
716
716
  }
717
717
  this.$$l = {};
718
718
  }
@@ -765,38 +765,38 @@ function Ge(e, t, r, n) {
765
765
  return t;
766
766
  }
767
767
  }
768
- function $n(e, t, r, n, i, o) {
769
- let s = class extends Or {
768
+ function Nn(e, t, r, n, i, o) {
769
+ let a = class extends Pr {
770
770
  constructor() {
771
771
  super(e, r, i), this.$$p_d = t;
772
772
  }
773
773
  static get observedAttributes() {
774
774
  return Object.keys(t).map(
775
- (a) => (t[a].attribute || a).toLowerCase()
775
+ (s) => (t[s].attribute || s).toLowerCase()
776
776
  );
777
777
  }
778
778
  };
779
- return Object.keys(t).forEach((a) => {
780
- Object.defineProperty(s.prototype, a, {
779
+ return Object.keys(t).forEach((s) => {
780
+ Object.defineProperty(a.prototype, s, {
781
781
  get() {
782
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
782
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
783
783
  },
784
784
  set(u) {
785
785
  var l;
786
- u = Ge(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
786
+ u = Ge(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
787
787
  }
788
788
  });
789
- }), n.forEach((a) => {
790
- Object.defineProperty(s.prototype, a, {
789
+ }), n.forEach((s) => {
790
+ Object.defineProperty(a.prototype, s, {
791
791
  get() {
792
792
  var u;
793
- return (u = this.$$c) == null ? void 0 : u[a];
793
+ return (u = this.$$c) == null ? void 0 : u[s];
794
794
  }
795
795
  });
796
796
  }), e.element = /** @type {any} */
797
- s, s;
797
+ a, a;
798
798
  }
799
- class Rn {
799
+ class $n {
800
800
  constructor() {
801
801
  /**
802
802
  * ### PRIVATE API
@@ -817,7 +817,7 @@ class Rn {
817
817
  }
818
818
  /** @returns {void} */
819
819
  $destroy() {
820
- In(this, 1), this.$destroy = I;
820
+ On(this, 1), this.$destroy = I;
821
821
  }
822
822
  /**
823
823
  * @template {Extract<keyof Events, string>} K
@@ -826,7 +826,7 @@ class Rn {
826
826
  * @returns {() => void}
827
827
  */
828
828
  $on(t, r) {
829
- if (!de(r))
829
+ if (!me(r))
830
830
  return I;
831
831
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
832
832
  return n.push(r), () => {
@@ -839,22 +839,22 @@ class Rn {
839
839
  * @returns {void}
840
840
  */
841
841
  $set(t) {
842
- this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
842
+ this.$$set && !pn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
843
843
  }
844
844
  }
845
- const Dn = "4";
846
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dn);
845
+ const Rn = "4";
846
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rn);
847
847
  const ie = [];
848
- function Un(e, t) {
848
+ function Dn(e, t) {
849
849
  return {
850
- subscribe: Ke(e, t).subscribe
850
+ subscribe: Je(e, t).subscribe
851
851
  };
852
852
  }
853
- function Ke(e, t = I) {
853
+ function Je(e, t = I) {
854
854
  let r;
855
855
  const n = /* @__PURE__ */ new Set();
856
- function i(a) {
857
- if (Er(e, a) && (e = a, r)) {
856
+ function i(s) {
857
+ if (_r(e, s) && (e = s, r)) {
858
858
  const u = !ie.length;
859
859
  for (const l of n)
860
860
  l[1](), ie.push(l, e);
@@ -865,23 +865,23 @@ function Ke(e, t = I) {
865
865
  }
866
866
  }
867
867
  }
868
- function o(a) {
869
- i(a(e));
868
+ function o(s) {
869
+ i(s(e));
870
870
  }
871
- function s(a, u = I) {
872
- const l = [a, u];
873
- return n.add(l), n.size === 1 && (r = t(i, o) || I), a(e), () => {
871
+ function a(s, u = I) {
872
+ const l = [s, u];
873
+ return n.add(l), n.size === 1 && (r = t(i, o) || I), s(e), () => {
874
874
  n.delete(l), n.size === 0 && r && (r(), r = null);
875
875
  };
876
876
  }
877
- return { set: i, update: o, subscribe: s };
877
+ return { set: i, update: o, subscribe: a };
878
878
  }
879
- function me(e, t, r) {
879
+ function be(e, t, r) {
880
880
  const n = !Array.isArray(e), i = n ? [e] : e;
881
881
  if (!i.every(Boolean))
882
882
  throw new Error("derived() expects stores as input, got a falsy value");
883
883
  const o = t.length < 2;
884
- return Un(r, (s, a) => {
884
+ return Dn(r, (a, s) => {
885
885
  let u = !1;
886
886
  const l = [];
887
887
  let h = 0, c = I;
@@ -889,127 +889,141 @@ function me(e, t, r) {
889
889
  if (h)
890
890
  return;
891
891
  c();
892
- const m = t(n ? l[0] : l, s, a);
893
- o ? s(m) : c = de(m) ? m : I;
892
+ const m = t(n ? l[0] : l, a, s);
893
+ o ? a(m) : c = me(m) ? m : I;
894
894
  }, b = i.map(
895
- (m, d) => wr(
895
+ (m, p) => xr(
896
896
  m,
897
897
  (v) => {
898
- l[d] = v, h &= ~(1 << d), u && f();
898
+ l[p] = v, h &= ~(1 << p), u && f();
899
899
  },
900
900
  () => {
901
- h |= 1 << d;
901
+ h |= 1 << p;
902
902
  }
903
903
  )
904
904
  );
905
905
  return u = !0, f(), function() {
906
- z(b), c(), u = !1;
906
+ W(b), c(), u = !1;
907
907
  };
908
908
  });
909
909
  }
910
- var Ts = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
911
- function Gn(e) {
910
+ var ws = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
911
+ function Un(e) {
912
912
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
913
913
  }
914
- var Fn = function(t) {
915
- return jn(t) && !kn(t);
914
+ var Gn = function(t) {
915
+ return Fn(t) && !jn(t);
916
916
  };
917
- function jn(e) {
917
+ function Fn(e) {
918
918
  return !!e && typeof e == "object";
919
919
  }
920
- function kn(e) {
920
+ function jn(e) {
921
921
  var t = Object.prototype.toString.call(e);
922
- return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
922
+ return t === "[object RegExp]" || t === "[object Date]" || Xn(e);
923
923
  }
924
- var Vn = typeof Symbol == "function" && Symbol.for, Xn = Vn ? Symbol.for("react.element") : 60103;
925
- function Wn(e) {
926
- return e.$$typeof === Xn;
924
+ var kn = typeof Symbol == "function" && Symbol.for, Vn = kn ? Symbol.for("react.element") : 60103;
925
+ function Xn(e) {
926
+ return e.$$typeof === Vn;
927
927
  }
928
- function zn(e) {
928
+ function Wn(e) {
929
929
  return Array.isArray(e) ? [] : {};
930
930
  }
931
- function Te(e, t) {
932
- return t.clone !== !1 && t.isMergeableObject(e) ? he(zn(e), e, t) : e;
931
+ function He(e, t) {
932
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Wn(e), e, t) : e;
933
933
  }
934
- function Zn(e, t, r) {
934
+ function zn(e, t, r) {
935
935
  return e.concat(t).map(function(n) {
936
- return Te(n, r);
936
+ return He(n, r);
937
937
  });
938
938
  }
939
- function Qn(e, t) {
939
+ function Zn(e, t) {
940
940
  if (!t.customMerge)
941
- return he;
941
+ return ce;
942
942
  var r = t.customMerge(e);
943
- return typeof r == "function" ? r : he;
943
+ return typeof r == "function" ? r : ce;
944
944
  }
945
- function Yn(e) {
945
+ function Qn(e) {
946
946
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
947
947
  return Object.propertyIsEnumerable.call(e, t);
948
948
  }) : [];
949
949
  }
950
- function Zt(e) {
951
- return Object.keys(e).concat(Yn(e));
950
+ function Wt(e) {
951
+ return Object.keys(e).concat(Qn(e));
952
952
  }
953
- function Mr(e, t) {
953
+ function Ar(e, t) {
954
954
  try {
955
955
  return t in e;
956
956
  } catch (r) {
957
957
  return !1;
958
958
  }
959
959
  }
960
- function qn(e, t) {
961
- return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
960
+ function Yn(e, t) {
961
+ return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
962
962
  }
963
- function Jn(e, t, r) {
963
+ function qn(e, t, r) {
964
964
  var n = {};
965
- return r.isMergeableObject(e) && Zt(e).forEach(function(i) {
966
- n[i] = Te(e[i], r);
967
- }), Zt(t).forEach(function(i) {
968
- qn(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qn(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
965
+ return r.isMergeableObject(e) && Wt(e).forEach(function(i) {
966
+ n[i] = He(e[i], r);
967
+ }), Wt(t).forEach(function(i) {
968
+ Yn(e, i) || (Ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zn(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
969
969
  }), n;
970
970
  }
971
- function he(e, t, r) {
972
- r = r || {}, r.arrayMerge = r.arrayMerge || Zn, r.isMergeableObject = r.isMergeableObject || Fn, r.cloneUnlessOtherwiseSpecified = Te;
971
+ function ce(e, t, r) {
972
+ r = r || {}, r.arrayMerge = r.arrayMerge || zn, r.isMergeableObject = r.isMergeableObject || Gn, r.cloneUnlessOtherwiseSpecified = He;
973
973
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
974
- return o ? n ? r.arrayMerge(e, t, r) : Jn(e, t, r) : Te(t, r);
974
+ return o ? n ? r.arrayMerge(e, t, r) : qn(e, t, r) : He(t, r);
975
975
  }
976
- he.all = function(t, r) {
976
+ ce.all = function(t, r) {
977
977
  if (!Array.isArray(t))
978
978
  throw new Error("first argument should be an array");
979
979
  return t.reduce(function(n, i) {
980
- return he(n, i, r);
980
+ return ce(n, i, r);
981
981
  }, {});
982
982
  };
983
- var Kn = he, ei = Kn;
984
- const ti = /* @__PURE__ */ Gn(ei);
985
- var dt = function(e, t) {
986
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
983
+ var Jn = ce, Kn = Jn;
984
+ const ei = /* @__PURE__ */ Un(Kn);
985
+ /*! *****************************************************************************
986
+ Copyright (c) Microsoft Corporation.
987
+
988
+ Permission to use, copy, modify, and/or distribute this software for any
989
+ purpose with or without fee is hereby granted.
990
+
991
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
992
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
993
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
994
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
995
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
996
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
997
+ PERFORMANCE OF THIS SOFTWARE.
998
+ ***************************************************************************** */
999
+ var ft = function(e, t) {
1000
+ return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
987
1001
  r.__proto__ = n;
988
1002
  } || function(r, n) {
989
1003
  for (var i in n)
990
1004
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
991
- }, dt(e, t);
1005
+ }, ft(e, t);
992
1006
  };
993
- function et(e, t) {
1007
+ function z(e, t) {
994
1008
  if (typeof t != "function" && t !== null)
995
1009
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
996
- dt(e, t);
1010
+ ft(e, t);
997
1011
  function r() {
998
1012
  this.constructor = e;
999
1013
  }
1000
1014
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1001
1015
  }
1002
- var j = function() {
1003
- return j = Object.assign || function(t) {
1016
+ var T = function() {
1017
+ return T = Object.assign || function(t) {
1004
1018
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1005
1019
  r = arguments[n];
1006
1020
  for (var o in r)
1007
1021
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1008
1022
  }
1009
1023
  return t;
1010
- }, j.apply(this, arguments);
1024
+ }, T.apply(this, arguments);
1011
1025
  };
1012
- function ri(e, t) {
1026
+ function ti(e, t) {
1013
1027
  var r = {};
1014
1028
  for (var n in e)
1015
1029
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1018,119 +1032,143 @@ function ri(e, t) {
1018
1032
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1019
1033
  return r;
1020
1034
  }
1021
- function st(e, t, r) {
1035
+ function dt(e) {
1036
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
1037
+ if (r)
1038
+ return r.call(e);
1039
+ if (e && typeof e.length == "number")
1040
+ return {
1041
+ next: function() {
1042
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
1043
+ }
1044
+ };
1045
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
1046
+ }
1047
+ function pt(e, t) {
1048
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
1049
+ if (!r)
1050
+ return e;
1051
+ var n = r.call(e), i, o = [], a;
1052
+ try {
1053
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
1054
+ o.push(i.value);
1055
+ } catch (s) {
1056
+ a = { error: s };
1057
+ } finally {
1058
+ try {
1059
+ i && !i.done && (r = n.return) && r.call(n);
1060
+ } finally {
1061
+ if (a)
1062
+ throw a.error;
1063
+ }
1064
+ }
1065
+ return o;
1066
+ }
1067
+ function le(e, t, r) {
1022
1068
  if (r || arguments.length === 2)
1023
1069
  for (var n = 0, i = t.length, o; n < i; n++)
1024
1070
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1025
- return e.concat(o || Array.prototype.slice.call(t));
1071
+ return e.concat(o || t);
1026
1072
  }
1027
- function at(e, t) {
1028
- var r = t && t.cache ? t.cache : li, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : oi;
1073
+ function it(e, t) {
1074
+ var r = t && t.cache ? t.cache : ai, n = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : ni;
1029
1075
  return i(e, {
1030
1076
  cache: r,
1031
1077
  serializer: n
1032
1078
  });
1033
1079
  }
1034
- function ni(e) {
1080
+ function ri(e) {
1035
1081
  return e == null || typeof e == "number" || typeof e == "boolean";
1036
1082
  }
1037
- function ii(e, t, r, n) {
1038
- var i = ni(n) ? n : r(n), o = t.get(i);
1083
+ function Mr(e, t, r, n) {
1084
+ var i = ri(n) ? n : r(n), o = t.get(i);
1039
1085
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1040
1086
  }
1041
1087
  function Br(e, t, r) {
1042
1088
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1043
1089
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1044
1090
  }
1045
- function Cr(e, t, r, n, i) {
1091
+ function Lt(e, t, r, n, i) {
1046
1092
  return r.bind(t, e, n, i);
1047
1093
  }
1048
- function oi(e, t) {
1049
- var r = e.length === 1 ? ii : Br;
1050
- return Cr(e, this, r, t.cache.create(), t.serializer);
1094
+ function ni(e, t) {
1095
+ var r = e.length === 1 ? Mr : Br;
1096
+ return Lt(e, this, r, t.cache.create(), t.serializer);
1051
1097
  }
1052
- function si(e, t) {
1053
- return Cr(e, this, Br, t.cache.create(), t.serializer);
1098
+ function ii(e, t) {
1099
+ return Lt(e, this, Br, t.cache.create(), t.serializer);
1054
1100
  }
1055
- var ai = function() {
1101
+ function oi(e, t) {
1102
+ return Lt(e, this, Mr, t.cache.create(), t.serializer);
1103
+ }
1104
+ var si = function() {
1056
1105
  return JSON.stringify(arguments);
1057
- }, ui = (
1058
- /** @class */
1059
- function() {
1060
- function e() {
1061
- this.cache = /* @__PURE__ */ Object.create(null);
1062
- }
1063
- return e.prototype.get = function(t) {
1064
- return this.cache[t];
1065
- }, e.prototype.set = function(t, r) {
1066
- this.cache[t] = r;
1067
- }, e;
1068
- }()
1069
- ), li = {
1106
+ };
1107
+ function Nt() {
1108
+ this.cache = /* @__PURE__ */ Object.create(null);
1109
+ }
1110
+ Nt.prototype.get = function(e) {
1111
+ return this.cache[e];
1112
+ };
1113
+ Nt.prototype.set = function(e, t) {
1114
+ this.cache[e] = t;
1115
+ };
1116
+ var ai = {
1070
1117
  create: function() {
1071
- return new ui();
1118
+ return new Nt();
1072
1119
  }
1073
- }, ut = {
1074
- variadic: si
1075
- }, Qe = function() {
1076
- return Qe = Object.assign || function(t) {
1077
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1078
- r = arguments[n];
1079
- for (var o in r)
1080
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1081
- }
1082
- return t;
1083
- }, Qe.apply(this, arguments);
1084
- };
1085
- var x;
1120
+ }, ot = {
1121
+ variadic: ii,
1122
+ monadic: oi
1123
+ }, x;
1086
1124
  (function(e) {
1087
1125
  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";
1088
1126
  })(x || (x = {}));
1089
- var H;
1127
+ var P;
1090
1128
  (function(e) {
1091
1129
  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";
1092
- })(H || (H = {}));
1093
- var ce;
1130
+ })(P || (P = {}));
1131
+ var fe;
1094
1132
  (function(e) {
1095
1133
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1096
- })(ce || (ce = {}));
1097
- function Qt(e) {
1098
- return e.type === H.literal;
1134
+ })(fe || (fe = {}));
1135
+ function zt(e) {
1136
+ return e.type === P.literal;
1137
+ }
1138
+ function ui(e) {
1139
+ return e.type === P.argument;
1099
1140
  }
1100
- function hi(e) {
1101
- return e.type === H.argument;
1141
+ function Cr(e) {
1142
+ return e.type === P.number;
1143
+ }
1144
+ function Or(e) {
1145
+ return e.type === P.date;
1102
1146
  }
1103
1147
  function Ir(e) {
1104
- return e.type === H.number;
1148
+ return e.type === P.time;
1105
1149
  }
1106
1150
  function Lr(e) {
1107
- return e.type === H.date;
1151
+ return e.type === P.select;
1108
1152
  }
1109
1153
  function Nr(e) {
1110
- return e.type === H.time;
1154
+ return e.type === P.plural;
1155
+ }
1156
+ function li(e) {
1157
+ return e.type === P.pound;
1111
1158
  }
1112
1159
  function $r(e) {
1113
- return e.type === H.select;
1160
+ return e.type === P.tag;
1114
1161
  }
1115
1162
  function Rr(e) {
1116
- return e.type === H.plural;
1117
- }
1118
- function ci(e) {
1119
- return e.type === H.pound;
1120
- }
1121
- function Dr(e) {
1122
- return e.type === H.tag;
1123
- }
1124
- function Ur(e) {
1125
- return !!(e && typeof e == "object" && e.type === ce.number);
1163
+ return !!(e && typeof e == "object" && e.type === fe.number);
1126
1164
  }
1127
1165
  function mt(e) {
1128
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
1166
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
1129
1167
  }
1130
- var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
1131
- function pi(e) {
1168
+ var Dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hi = /(?:[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;
1169
+ function ci(e) {
1132
1170
  var t = {};
1133
- return e.replace(fi, function(r) {
1171
+ return e.replace(hi, function(r) {
1134
1172
  var n = r.length;
1135
1173
  switch (r[0]) {
1136
1174
  case "G":
@@ -1219,46 +1257,36 @@ function pi(e) {
1219
1257
  return "";
1220
1258
  }), t;
1221
1259
  }
1222
- var A = function() {
1223
- return A = Object.assign || function(t) {
1224
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1225
- r = arguments[n];
1226
- for (var o in r)
1227
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1228
- }
1229
- return t;
1230
- }, A.apply(this, arguments);
1231
- };
1232
- var di = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1233
- function mi(e) {
1260
+ var fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1261
+ function di(e) {
1234
1262
  if (e.length === 0)
1235
1263
  throw new Error("Number skeleton cannot be empty");
1236
- for (var t = e.split(di).filter(function(f) {
1264
+ for (var t = e.split(fi).filter(function(f) {
1237
1265
  return f.length > 0;
1238
1266
  }), r = [], n = 0, i = t; n < i.length; n++) {
1239
- var o = i[n], s = o.split("/");
1240
- if (s.length === 0)
1267
+ var o = i[n], a = o.split("/");
1268
+ if (a.length === 0)
1241
1269
  throw new Error("Invalid number skeleton");
1242
- for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1270
+ for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1243
1271
  var c = h[l];
1244
1272
  if (c.length === 0)
1245
1273
  throw new Error("Invalid number skeleton");
1246
1274
  }
1247
- r.push({ stem: a, options: u });
1275
+ r.push({ stem: s, options: u });
1248
1276
  }
1249
1277
  return r;
1250
1278
  }
1251
- function bi(e) {
1279
+ function pi(e) {
1252
1280
  return e.replace(/^(.*?)-/, "");
1253
1281
  }
1254
- var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, gi = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1255
- function qt(e) {
1282
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1283
+ function Qt(e) {
1256
1284
  var t = {};
1257
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
1285
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(r, n, i) {
1258
1286
  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)), "";
1259
1287
  }), t;
1260
1288
  }
1261
- function kr(e) {
1289
+ function Fr(e) {
1262
1290
  switch (e) {
1263
1291
  case "sign-auto":
1264
1292
  return {
@@ -1298,7 +1326,7 @@ function kr(e) {
1298
1326
  };
1299
1327
  }
1300
1328
  }
1301
- function yi(e) {
1329
+ function bi(e) {
1302
1330
  var t;
1303
1331
  if (e[0] === "E" && e[1] === "E" ? (t = {
1304
1332
  notation: "engineering"
@@ -1306,17 +1334,17 @@ function yi(e) {
1306
1334
  notation: "scientific"
1307
1335
  }, e = e.slice(1)), t) {
1308
1336
  var r = e.slice(0, 2);
1309
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1337
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1310
1338
  throw new Error("Malformed concise eng/scientific notation");
1311
1339
  t.minimumIntegerDigits = e.length;
1312
1340
  }
1313
1341
  return t;
1314
1342
  }
1315
- function Jt(e) {
1316
- var t = {}, r = kr(e);
1343
+ function Yt(e) {
1344
+ var t = {}, r = Fr(e);
1317
1345
  return r || t;
1318
1346
  }
1319
- function vi(e) {
1347
+ function gi(e) {
1320
1348
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1321
1349
  var i = n[r];
1322
1350
  switch (i.stem) {
@@ -1340,7 +1368,7 @@ function vi(e) {
1340
1368
  continue;
1341
1369
  case "measure-unit":
1342
1370
  case "unit":
1343
- t.style = "unit", t.unit = bi(i.options[0]);
1371
+ t.style = "unit", t.unit = pi(i.options[0]);
1344
1372
  continue;
1345
1373
  case "compact-short":
1346
1374
  case "K":
@@ -1351,13 +1379,13 @@ function vi(e) {
1351
1379
  t.notation = "compact", t.compactDisplay = "long";
1352
1380
  continue;
1353
1381
  case "scientific":
1354
- t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1355
- return A(A({}, u), Jt(l));
1382
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1383
+ return T(T({}, u), Yt(l));
1356
1384
  }, {}));
1357
1385
  continue;
1358
1386
  case "engineering":
1359
- t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1360
- return A(A({}, u), Jt(l));
1387
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1388
+ return T(T({}, u), Yt(l));
1361
1389
  }, {}));
1362
1390
  continue;
1363
1391
  case "notation-simple":
@@ -1402,7 +1430,7 @@ function vi(e) {
1402
1430
  case "integer-width":
1403
1431
  if (i.options.length > 1)
1404
1432
  throw new RangeError("integer-width stems only accept a single optional option");
1405
- i.options[0].replace(gi, function(u, l, h, c, f, b) {
1433
+ i.options[0].replace(mi, function(u, l, h, c, f, b) {
1406
1434
  if (l)
1407
1435
  t.minimumIntegerDigits = h.length;
1408
1436
  else {
@@ -1415,28 +1443,28 @@ function vi(e) {
1415
1443
  });
1416
1444
  continue;
1417
1445
  }
1418
- if (jr.test(i.stem)) {
1446
+ if (Gr.test(i.stem)) {
1419
1447
  t.minimumIntegerDigits = i.stem.length;
1420
1448
  continue;
1421
1449
  }
1422
- if (Yt.test(i.stem)) {
1450
+ if (Zt.test(i.stem)) {
1423
1451
  if (i.options.length > 1)
1424
1452
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1425
- i.stem.replace(Yt, function(u, l, h, c, f, b) {
1453
+ i.stem.replace(Zt, function(u, l, h, c, f, b) {
1426
1454
  return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1427
1455
  });
1428
1456
  var o = i.options[0];
1429
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), qt(o)));
1457
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Qt(o)));
1430
1458
  continue;
1431
1459
  }
1432
- if (Fr.test(i.stem)) {
1433
- t = A(A({}, t), qt(i.stem));
1460
+ if (Ur.test(i.stem)) {
1461
+ t = T(T({}, t), Qt(i.stem));
1434
1462
  continue;
1435
1463
  }
1436
- var s = kr(i.stem);
1437
- s && (t = A(A({}, t), s));
1438
- var a = yi(i.stem);
1439
- a && (t = A(A({}, t), a));
1464
+ var a = Fr(i.stem);
1465
+ a && (t = T(T({}, t), a));
1466
+ var s = bi(i.stem);
1467
+ s && (t = T(T({}, t), s));
1440
1468
  }
1441
1469
  return t;
1442
1470
  }
@@ -2855,23 +2883,23 @@ var $e = {
2855
2883
  "h"
2856
2884
  ]
2857
2885
  };
2858
- function _i(e, t) {
2886
+ function yi(e, t) {
2859
2887
  for (var r = "", n = 0; n < e.length; n++) {
2860
2888
  var i = e.charAt(n);
2861
2889
  if (i === "j") {
2862
2890
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2863
2891
  o++, n++;
2864
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = xi(t);
2865
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2892
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = vi(t);
2893
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
2866
2894
  r += u;
2867
- for (; s-- > 0; )
2895
+ for (; a-- > 0; )
2868
2896
  r = l + r;
2869
2897
  } else
2870
2898
  i === "J" ? r += "H" : r += i;
2871
2899
  }
2872
2900
  return r;
2873
2901
  }
2874
- function xi(e) {
2902
+ function vi(e) {
2875
2903
  var t = e.hourCycle;
2876
2904
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2877
2905
  e.hourCycles && // @ts-ignore
@@ -2893,20 +2921,20 @@ function xi(e) {
2893
2921
  var i = $e[n || ""] || $e[r || ""] || $e["".concat(r, "-001")] || $e["001"];
2894
2922
  return i[0];
2895
2923
  }
2896
- var lt, Ei = new RegExp("^".concat(Gr.source, "*")), wi = new RegExp("".concat(Gr.source, "*$"));
2924
+ var st, _i = new RegExp("^".concat(Dr.source, "*")), xi = new RegExp("".concat(Dr.source, "*$"));
2897
2925
  function w(e, t) {
2898
2926
  return { start: e, end: t };
2899
2927
  }
2900
- var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ti = !!String.fromCodePoint, Hi = !!Object.fromEntries, Pi = !!String.prototype.codePointAt, Ai = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Bi = Mi ? Number.isSafeInteger : function(e) {
2928
+ var Ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), wi = !!String.fromCodePoint, Si = !!Object.fromEntries, Ti = !!String.prototype.codePointAt, Hi = !!String.prototype.trimStart, Pi = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Mi = Ai ? Number.isSafeInteger : function(e) {
2901
2929
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2902
2930
  }, bt = !0;
2903
2931
  try {
2904
- var Ci = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2905
- bt = ((lt = Ci.exec("a")) === null || lt === void 0 ? void 0 : lt[0]) === "a";
2932
+ var Bi = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2933
+ bt = ((st = Bi.exec("a")) === null || st === void 0 ? void 0 : st[0]) === "a";
2906
2934
  } catch (e) {
2907
2935
  bt = !1;
2908
2936
  }
2909
- var Kt = Si ? (
2937
+ var qt = Ei ? (
2910
2938
  // Native
2911
2939
  function(t, r, n) {
2912
2940
  return t.startsWith(r, n);
@@ -2916,31 +2944,31 @@ var Kt = Si ? (
2916
2944
  function(t, r, n) {
2917
2945
  return t.slice(n, n + r.length) === r;
2918
2946
  }
2919
- ), gt = Ti ? String.fromCodePoint : (
2947
+ ), gt = wi ? String.fromCodePoint : (
2920
2948
  // IE11
2921
2949
  function() {
2922
2950
  for (var t = [], r = 0; r < arguments.length; r++)
2923
2951
  t[r] = arguments[r];
2924
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
2925
- if (s = t[o++], s > 1114111)
2926
- throw RangeError(s + " is not a valid code point");
2927
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2952
+ for (var n = "", i = t.length, o = 0, a; i > o; ) {
2953
+ if (a = t[o++], a > 1114111)
2954
+ throw RangeError(a + " is not a valid code point");
2955
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2928
2956
  }
2929
2957
  return n;
2930
2958
  }
2931
- ), er = (
2959
+ ), Jt = (
2932
2960
  // native
2933
- Hi ? Object.fromEntries : (
2961
+ Si ? Object.fromEntries : (
2934
2962
  // Ponyfill
2935
2963
  function(t) {
2936
2964
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2937
- var o = i[n], s = o[0], a = o[1];
2938
- r[s] = a;
2965
+ var o = i[n], a = o[0], s = o[1];
2966
+ r[a] = s;
2939
2967
  }
2940
2968
  return r;
2941
2969
  }
2942
2970
  )
2943
- ), Vr = Pi ? (
2971
+ ), jr = Ti ? (
2944
2972
  // Native
2945
2973
  function(t, r) {
2946
2974
  return t.codePointAt(r);
@@ -2954,7 +2982,7 @@ var Kt = Si ? (
2954
2982
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2955
2983
  }
2956
2984
  }
2957
- ), Ii = Ai ? (
2985
+ ), Ci = Hi ? (
2958
2986
  // Native
2959
2987
  function(t) {
2960
2988
  return t.trimStart();
@@ -2962,9 +2990,9 @@ var Kt = Si ? (
2962
2990
  ) : (
2963
2991
  // Ponyfill
2964
2992
  function(t) {
2965
- return t.replace(Ei, "");
2993
+ return t.replace(_i, "");
2966
2994
  }
2967
- ), Li = Oi ? (
2995
+ ), Oi = Pi ? (
2968
2996
  // Native
2969
2997
  function(t) {
2970
2998
  return t.trimEnd();
@@ -2972,32 +3000,32 @@ var Kt = Si ? (
2972
3000
  ) : (
2973
3001
  // Ponyfill
2974
3002
  function(t) {
2975
- return t.replace(wi, "");
3003
+ return t.replace(xi, "");
2976
3004
  }
2977
3005
  );
2978
- function Xr(e, t) {
3006
+ function kr(e, t) {
2979
3007
  return new RegExp(e, t);
2980
3008
  }
2981
3009
  var yt;
2982
3010
  if (bt) {
2983
- var tr = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3011
+ var Kt = kr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2984
3012
  yt = function(t, r) {
2985
3013
  var n;
2986
- tr.lastIndex = r;
2987
- var i = tr.exec(t);
3014
+ Kt.lastIndex = r;
3015
+ var i = Kt.exec(t);
2988
3016
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2989
3017
  };
2990
3018
  } else
2991
3019
  yt = function(t, r) {
2992
3020
  for (var n = []; ; ) {
2993
- var i = Vr(t, r);
2994
- if (i === void 0 || Wr(i) || Di(i))
3021
+ var i = jr(t, r);
3022
+ if (i === void 0 || Vr(i) || $i(i))
2995
3023
  break;
2996
3024
  n.push(i), r += i >= 65536 ? 2 : 1;
2997
3025
  }
2998
3026
  return gt.apply(void 0, n);
2999
3027
  };
3000
- var Ni = (
3028
+ var Ii = (
3001
3029
  /** @class */
3002
3030
  function() {
3003
3031
  function e(t, r) {
@@ -3011,33 +3039,33 @@ var Ni = (
3011
3039
  for (var i = []; !this.isEOF(); ) {
3012
3040
  var o = this.char();
3013
3041
  if (o === 123) {
3014
- var s = this.parseArgument(t, n);
3015
- if (s.err)
3016
- return s;
3017
- i.push(s.val);
3042
+ var a = this.parseArgument(t, n);
3043
+ if (a.err)
3044
+ return a;
3045
+ i.push(a.val);
3018
3046
  } else {
3019
3047
  if (o === 125 && t > 0)
3020
3048
  break;
3021
3049
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3022
- var a = this.clonePosition();
3050
+ var s = this.clonePosition();
3023
3051
  this.bump(), i.push({
3024
- type: H.pound,
3025
- location: w(a, this.clonePosition())
3052
+ type: P.pound,
3053
+ location: w(s, this.clonePosition())
3026
3054
  });
3027
3055
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3028
3056
  if (n)
3029
3057
  break;
3030
3058
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3031
3059
  } else if (o === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
3032
- var s = this.parseTag(t, r);
3033
- if (s.err)
3034
- return s;
3035
- i.push(s.val);
3060
+ var a = this.parseTag(t, r);
3061
+ if (a.err)
3062
+ return a;
3063
+ i.push(a.val);
3036
3064
  } else {
3037
- var s = this.parseLiteral(t, r);
3038
- if (s.err)
3039
- return s;
3040
- i.push(s.val);
3065
+ var a = this.parseLiteral(t, r);
3066
+ if (a.err)
3067
+ return a;
3068
+ i.push(a.val);
3041
3069
  }
3042
3070
  }
3043
3071
  }
@@ -3049,7 +3077,7 @@ var Ni = (
3049
3077
  if (this.bumpSpace(), this.bumpIf("/>"))
3050
3078
  return {
3051
3079
  val: {
3052
- type: H.literal,
3080
+ type: P.literal,
3053
3081
  value: "<".concat(i, "/>"),
3054
3082
  location: w(n, this.clonePosition())
3055
3083
  },
@@ -3059,27 +3087,27 @@ var Ni = (
3059
3087
  var o = this.parseMessage(t + 1, r, !0);
3060
3088
  if (o.err)
3061
3089
  return o;
3062
- var s = o.val, a = this.clonePosition();
3090
+ var a = o.val, s = this.clonePosition();
3063
3091
  if (this.bumpIf("</")) {
3064
3092
  if (this.isEOF() || !vt(this.char()))
3065
- return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3093
+ return this.error(x.INVALID_TAG, w(s, this.clonePosition()));
3066
3094
  var u = this.clonePosition(), l = this.parseTagName();
3067
3095
  return i !== l ? this.error(x.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3068
3096
  val: {
3069
- type: H.tag,
3097
+ type: P.tag,
3070
3098
  value: i,
3071
- children: s,
3099
+ children: a,
3072
3100
  location: w(n, this.clonePosition())
3073
3101
  },
3074
3102
  err: null
3075
- } : this.error(x.INVALID_TAG, w(a, this.clonePosition())));
3103
+ } : this.error(x.INVALID_TAG, w(s, this.clonePosition())));
3076
3104
  } else
3077
3105
  return this.error(x.UNCLOSED_TAG, w(n, this.clonePosition()));
3078
3106
  } else
3079
3107
  return this.error(x.INVALID_TAG, w(n, this.clonePosition()));
3080
3108
  }, e.prototype.parseTagName = function() {
3081
3109
  var t = this.offset();
3082
- for (this.bump(); !this.isEOF() && Ri(this.char()); )
3110
+ for (this.bump(); !this.isEOF() && Ni(this.char()); )
3083
3111
  this.bump();
3084
3112
  return this.message.slice(t, this.offset());
3085
3113
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3089,26 +3117,26 @@ var Ni = (
3089
3117
  i += o;
3090
3118
  continue;
3091
3119
  }
3092
- var s = this.tryParseUnquoted(t, r);
3093
- if (s) {
3094
- i += s;
3095
- continue;
3096
- }
3097
- var a = this.tryParseLeftAngleBracket();
3120
+ var a = this.tryParseUnquoted(t, r);
3098
3121
  if (a) {
3099
3122
  i += a;
3100
3123
  continue;
3101
3124
  }
3125
+ var s = this.tryParseLeftAngleBracket();
3126
+ if (s) {
3127
+ i += s;
3128
+ continue;
3129
+ }
3102
3130
  break;
3103
3131
  }
3104
3132
  var u = w(n, this.clonePosition());
3105
3133
  return {
3106
- val: { type: H.literal, value: i, location: u },
3134
+ val: { type: P.literal, value: i, location: u },
3107
3135
  err: null
3108
3136
  };
3109
3137
  }, e.prototype.tryParseLeftAngleBracket = function() {
3110
3138
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3111
- !$i(this.peek() || 0)) ? (this.bump(), "<") : null;
3139
+ !Li(this.peek() || 0)) ? (this.bump(), "<") : null;
3112
3140
  }, e.prototype.tryParseQuote = function(t) {
3113
3141
  if (this.isEOF() || this.char() !== 39)
3114
3142
  return null;
@@ -3163,7 +3191,7 @@ var Ni = (
3163
3191
  case 125:
3164
3192
  return this.bump(), {
3165
3193
  val: {
3166
- type: H.argument,
3194
+ type: P.argument,
3167
3195
  // value does not include the opening and closing braces.
3168
3196
  value: i,
3169
3197
  location: w(n, this.clonePosition())
@@ -3178,13 +3206,13 @@ var Ni = (
3178
3206
  }, e.prototype.parseIdentifierIfPossible = function() {
3179
3207
  var t = this.clonePosition(), r = this.offset(), n = yt(this.message, r), i = r + n.length;
3180
3208
  this.bumpTo(i);
3181
- var o = this.clonePosition(), s = w(t, o);
3182
- return { value: n, location: s };
3209
+ var o = this.clonePosition(), a = w(t, o);
3210
+ return { value: n, location: a };
3183
3211
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3184
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3185
- switch (a) {
3212
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3213
+ switch (s) {
3186
3214
  case "":
3187
- return this.error(x.EXPECT_ARGUMENT_TYPE, w(s, u));
3215
+ return this.error(x.EXPECT_ARGUMENT_TYPE, w(a, u));
3188
3216
  case "number":
3189
3217
  case "date":
3190
3218
  case "time": {
@@ -3195,7 +3223,7 @@ var Ni = (
3195
3223
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3196
3224
  if (c.err)
3197
3225
  return c;
3198
- var f = Li(c.val);
3226
+ var f = Oi(c.val);
3199
3227
  if (f.length === 0)
3200
3228
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3201
3229
  var b = w(h, this.clonePosition());
@@ -3204,37 +3232,37 @@ var Ni = (
3204
3232
  var m = this.tryParseArgumentClose(i);
3205
3233
  if (m.err)
3206
3234
  return m;
3207
- var d = w(i, this.clonePosition());
3208
- if (l && Kt(l == null ? void 0 : l.style, "::", 0)) {
3209
- var v = Ii(l.style.slice(2));
3210
- if (a === "number") {
3235
+ var p = w(i, this.clonePosition());
3236
+ if (l && qt(l == null ? void 0 : l.style, "::", 0)) {
3237
+ var v = Ci(l.style.slice(2));
3238
+ if (s === "number") {
3211
3239
  var c = this.parseNumberSkeletonFromString(v, l.styleLocation);
3212
3240
  return c.err ? c : {
3213
- val: { type: H.number, value: n, location: d, style: c.val },
3241
+ val: { type: P.number, value: n, location: p, style: c.val },
3214
3242
  err: null
3215
3243
  };
3216
3244
  } else {
3217
3245
  if (v.length === 0)
3218
- return this.error(x.EXPECT_DATE_TIME_SKELETON, d);
3246
+ return this.error(x.EXPECT_DATE_TIME_SKELETON, p);
3219
3247
  var E = v;
3220
- this.locale && (E = _i(v, this.locale));
3248
+ this.locale && (E = yi(v, this.locale));
3221
3249
  var f = {
3222
- type: ce.dateTime,
3250
+ type: fe.dateTime,
3223
3251
  pattern: E,
3224
3252
  location: l.styleLocation,
3225
- parsedOptions: this.shouldParseSkeletons ? pi(E) : {}
3226
- }, _ = a === "date" ? H.date : H.time;
3253
+ parsedOptions: this.shouldParseSkeletons ? ci(E) : {}
3254
+ }, _ = s === "date" ? P.date : P.time;
3227
3255
  return {
3228
- val: { type: _, value: n, location: d, style: f },
3256
+ val: { type: _, value: n, location: p, style: f },
3229
3257
  err: null
3230
3258
  };
3231
3259
  }
3232
3260
  }
3233
3261
  return {
3234
3262
  val: {
3235
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3263
+ type: s === "number" ? P.number : s === "date" ? P.date : P.time,
3236
3264
  value: n,
3237
- location: d,
3265
+ location: p,
3238
3266
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3239
3267
  },
3240
3268
  err: null
@@ -3243,12 +3271,12 @@ var Ni = (
3243
3271
  case "plural":
3244
3272
  case "selectordinal":
3245
3273
  case "select": {
3246
- var p = this.clonePosition();
3274
+ var d = this.clonePosition();
3247
3275
  if (this.bumpSpace(), !this.bumpIf(","))
3248
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(p, Qe({}, p)));
3276
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, w(d, T({}, d)));
3249
3277
  this.bumpSpace();
3250
3278
  var S = this.parseIdentifierIfPossible(), y = 0;
3251
- if (a !== "select" && S.value === "offset") {
3279
+ if (s !== "select" && S.value === "offset") {
3252
3280
  if (!this.bumpIf(":"))
3253
3281
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3254
3282
  this.bumpSpace();
@@ -3257,35 +3285,35 @@ var Ni = (
3257
3285
  return c;
3258
3286
  this.bumpSpace(), S = this.parseIdentifierIfPossible(), y = c.val;
3259
3287
  }
3260
- var M = this.tryParsePluralOrSelectOptions(t, a, r, S);
3261
- if (M.err)
3262
- return M;
3288
+ var B = this.tryParsePluralOrSelectOptions(t, s, r, S);
3289
+ if (B.err)
3290
+ return B;
3263
3291
  var m = this.tryParseArgumentClose(i);
3264
3292
  if (m.err)
3265
3293
  return m;
3266
3294
  var G = w(i, this.clonePosition());
3267
- return a === "select" ? {
3295
+ return s === "select" ? {
3268
3296
  val: {
3269
- type: H.select,
3297
+ type: P.select,
3270
3298
  value: n,
3271
- options: er(M.val),
3299
+ options: Jt(B.val),
3272
3300
  location: G
3273
3301
  },
3274
3302
  err: null
3275
3303
  } : {
3276
3304
  val: {
3277
- type: H.plural,
3305
+ type: P.plural,
3278
3306
  value: n,
3279
- options: er(M.val),
3307
+ options: Jt(B.val),
3280
3308
  offset: y,
3281
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3309
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3282
3310
  location: G
3283
3311
  },
3284
3312
  err: null
3285
3313
  };
3286
3314
  }
3287
3315
  default:
3288
- return this.error(x.INVALID_ARGUMENT_TYPE, w(s, u));
3316
+ return this.error(x.INVALID_ARGUMENT_TYPE, w(a, u));
3289
3317
  }
3290
3318
  }, e.prototype.tryParseArgumentClose = function(t) {
3291
3319
  return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3327,21 +3355,21 @@ var Ni = (
3327
3355
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3328
3356
  var n = [];
3329
3357
  try {
3330
- n = mi(t);
3358
+ n = di(t);
3331
3359
  } catch (i) {
3332
3360
  return this.error(x.INVALID_NUMBER_SKELETON, r);
3333
3361
  }
3334
3362
  return {
3335
3363
  val: {
3336
- type: ce.number,
3364
+ type: fe.number,
3337
3365
  tokens: n,
3338
3366
  location: r,
3339
- parsedOptions: this.shouldParseSkeletons ? vi(n) : {}
3367
+ parsedOptions: this.shouldParseSkeletons ? gi(n) : {}
3340
3368
  },
3341
3369
  err: null
3342
3370
  };
3343
3371
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3344
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3372
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3345
3373
  if (l.length === 0) {
3346
3374
  var c = this.clonePosition();
3347
3375
  if (r !== "select" && this.bumpIf("=")) {
@@ -3354,17 +3382,17 @@ var Ni = (
3354
3382
  }
3355
3383
  if (u.has(l))
3356
3384
  return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3357
- l === "other" && (s = !0), this.bumpSpace();
3385
+ l === "other" && (a = !0), this.bumpSpace();
3358
3386
  var b = this.clonePosition();
3359
3387
  if (!this.bumpIf("{"))
3360
3388
  return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3361
3389
  var m = this.parseMessage(t + 1, r, n);
3362
3390
  if (m.err)
3363
3391
  return m;
3364
- var d = this.tryParseArgumentClose(b);
3365
- if (d.err)
3366
- return d;
3367
- a.push([
3392
+ var p = this.tryParseArgumentClose(b);
3393
+ if (p.err)
3394
+ return p;
3395
+ s.push([
3368
3396
  l,
3369
3397
  {
3370
3398
  value: m.val,
@@ -3372,19 +3400,19 @@ var Ni = (
3372
3400
  }
3373
3401
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3374
3402
  }
3375
- return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3403
+ return s.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(x.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3376
3404
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3377
3405
  var n = 1, i = this.clonePosition();
3378
3406
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3379
- for (var o = !1, s = 0; !this.isEOF(); ) {
3380
- var a = this.char();
3381
- if (a >= 48 && a <= 57)
3382
- o = !0, s = s * 10 + (a - 48), this.bump();
3407
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3408
+ var s = this.char();
3409
+ if (s >= 48 && s <= 57)
3410
+ o = !0, a = a * 10 + (s - 48), this.bump();
3383
3411
  else
3384
3412
  break;
3385
3413
  }
3386
3414
  var u = w(i, this.clonePosition());
3387
- return o ? (s *= n, Bi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3415
+ return o ? (a *= n, Mi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3388
3416
  }, e.prototype.offset = function() {
3389
3417
  return this.position.offset;
3390
3418
  }, e.prototype.isEOF = function() {
@@ -3399,7 +3427,7 @@ var Ni = (
3399
3427
  var t = this.position.offset;
3400
3428
  if (t >= this.message.length)
3401
3429
  throw Error("out of bound");
3402
- var r = Vr(this.message, t);
3430
+ var r = jr(this.message, t);
3403
3431
  if (r === void 0)
3404
3432
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3405
3433
  return r;
@@ -3418,7 +3446,7 @@ var Ni = (
3418
3446
  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);
3419
3447
  }
3420
3448
  }, e.prototype.bumpIf = function(t) {
3421
- if (Kt(this.message, t, this.offset())) {
3449
+ if (qt(this.message, t, this.offset())) {
3422
3450
  for (var r = 0; r < t.length; r++)
3423
3451
  this.bump();
3424
3452
  return !0;
@@ -3440,7 +3468,7 @@ var Ni = (
3440
3468
  break;
3441
3469
  }
3442
3470
  }, e.prototype.bumpSpace = function() {
3443
- for (; !this.isEOF() && Wr(this.char()); )
3471
+ for (; !this.isEOF() && Vr(this.char()); )
3444
3472
  this.bump();
3445
3473
  }, e.prototype.peek = function() {
3446
3474
  if (this.isEOF())
@@ -3453,44 +3481,44 @@ var Ni = (
3453
3481
  function vt(e) {
3454
3482
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3455
3483
  }
3456
- function $i(e) {
3484
+ function Li(e) {
3457
3485
  return vt(e) || e === 47;
3458
3486
  }
3459
- function Ri(e) {
3487
+ function Ni(e) {
3460
3488
  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;
3461
3489
  }
3462
- function Wr(e) {
3490
+ function Vr(e) {
3463
3491
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3464
3492
  }
3465
- function Di(e) {
3493
+ function $i(e) {
3466
3494
  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;
3467
3495
  }
3468
3496
  function _t(e) {
3469
3497
  e.forEach(function(t) {
3470
- if (delete t.location, $r(t) || Rr(t))
3498
+ if (delete t.location, Lr(t) || Nr(t))
3471
3499
  for (var r in t.options)
3472
3500
  delete t.options[r].location, _t(t.options[r].value);
3473
3501
  else
3474
- Ir(t) && Ur(t.style) || (Lr(t) || Nr(t)) && mt(t.style) ? delete t.style.location : Dr(t) && _t(t.children);
3502
+ Cr(t) && Rr(t.style) || (Or(t) || Ir(t)) && mt(t.style) ? delete t.style.location : $r(t) && _t(t.children);
3475
3503
  });
3476
3504
  }
3477
- function Ui(e, t) {
3478
- t === void 0 && (t = {}), t = Qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3479
- var r = new Ni(e, t).parse();
3505
+ function Ri(e, t) {
3506
+ t === void 0 && (t = {}), t = T({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3507
+ var r = new Ii(e, t).parse();
3480
3508
  if (r.err) {
3481
3509
  var n = SyntaxError(x[r.err.kind]);
3482
3510
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3483
3511
  }
3484
3512
  return t != null && t.captureLocation || _t(r.val), r.val;
3485
3513
  }
3486
- var fe;
3514
+ var de;
3487
3515
  (function(e) {
3488
3516
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3489
- })(fe || (fe = {}));
3490
- var tt = (
3517
+ })(de || (de = {}));
3518
+ var Ke = (
3491
3519
  /** @class */
3492
3520
  function(e) {
3493
- et(t, e);
3521
+ z(t, e);
3494
3522
  function t(r, n, i) {
3495
3523
  var o = e.call(this, r) || this;
3496
3524
  return o.code = n, o.originalMessage = i, o;
@@ -3499,155 +3527,155 @@ var tt = (
3499
3527
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3500
3528
  }, t;
3501
3529
  }(Error)
3502
- ), rr = (
3530
+ ), er = (
3503
3531
  /** @class */
3504
3532
  function(e) {
3505
- et(t, e);
3533
+ z(t, e);
3506
3534
  function t(r, n, i, o) {
3507
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3535
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3508
3536
  }
3509
3537
  return t;
3510
- }(tt)
3511
- ), Gi = (
3538
+ }(Ke)
3539
+ ), Di = (
3512
3540
  /** @class */
3513
3541
  function(e) {
3514
- et(t, e);
3542
+ z(t, e);
3515
3543
  function t(r, n, i) {
3516
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3544
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3517
3545
  }
3518
3546
  return t;
3519
- }(tt)
3520
- ), Fi = (
3547
+ }(Ke)
3548
+ ), Ui = (
3521
3549
  /** @class */
3522
3550
  function(e) {
3523
- et(t, e);
3551
+ z(t, e);
3524
3552
  function t(r, n) {
3525
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3553
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3526
3554
  }
3527
3555
  return t;
3528
- }(tt)
3529
- ), C;
3556
+ }(Ke)
3557
+ ), O;
3530
3558
  (function(e) {
3531
3559
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3532
- })(C || (C = {}));
3533
- function ji(e) {
3560
+ })(O || (O = {}));
3561
+ function Gi(e) {
3534
3562
  return e.length < 2 ? e : e.reduce(function(t, r) {
3535
3563
  var n = t[t.length - 1];
3536
- return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3564
+ return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3537
3565
  }, []);
3538
3566
  }
3539
- function ki(e) {
3567
+ function Fi(e) {
3540
3568
  return typeof e == "function";
3541
3569
  }
3542
- function Fe(e, t, r, n, i, o, s) {
3543
- if (e.length === 1 && Qt(e[0]))
3570
+ function Fe(e, t, r, n, i, o, a) {
3571
+ if (e.length === 1 && zt(e[0]))
3544
3572
  return [
3545
3573
  {
3546
- type: C.literal,
3574
+ type: O.literal,
3547
3575
  value: e[0].value
3548
3576
  }
3549
3577
  ];
3550
- for (var a = [], u = 0, l = e; u < l.length; u++) {
3578
+ for (var s = [], u = 0, l = e; u < l.length; u++) {
3551
3579
  var h = l[u];
3552
- if (Qt(h)) {
3553
- a.push({
3554
- type: C.literal,
3580
+ if (zt(h)) {
3581
+ s.push({
3582
+ type: O.literal,
3555
3583
  value: h.value
3556
3584
  });
3557
3585
  continue;
3558
3586
  }
3559
- if (ci(h)) {
3560
- typeof o == "number" && a.push({
3561
- type: C.literal,
3587
+ if (li(h)) {
3588
+ typeof o == "number" && s.push({
3589
+ type: O.literal,
3562
3590
  value: r.getNumberFormat(t).format(o)
3563
3591
  });
3564
3592
  continue;
3565
3593
  }
3566
3594
  var c = h.value;
3567
3595
  if (!(i && c in i))
3568
- throw new Fi(c, s);
3596
+ throw new Ui(c, a);
3569
3597
  var f = i[c];
3570
- if (hi(h)) {
3571
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3572
- type: typeof f == "string" ? C.literal : C.object,
3598
+ if (ui(h)) {
3599
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3600
+ type: typeof f == "string" ? O.literal : O.object,
3573
3601
  value: f
3574
3602
  });
3575
3603
  continue;
3576
3604
  }
3577
- if (Lr(h)) {
3605
+ if (Or(h)) {
3578
3606
  var b = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3579
- a.push({
3580
- type: C.literal,
3607
+ s.push({
3608
+ type: O.literal,
3581
3609
  value: r.getDateTimeFormat(t, b).format(f)
3582
3610
  });
3583
3611
  continue;
3584
3612
  }
3585
- if (Nr(h)) {
3613
+ if (Ir(h)) {
3586
3614
  var b = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3587
- a.push({
3588
- type: C.literal,
3615
+ s.push({
3616
+ type: O.literal,
3589
3617
  value: r.getDateTimeFormat(t, b).format(f)
3590
3618
  });
3591
3619
  continue;
3592
3620
  }
3593
- if (Ir(h)) {
3594
- var b = typeof h.style == "string" ? n.number[h.style] : Ur(h.style) ? h.style.parsedOptions : void 0;
3595
- b && b.scale && (f = f * (b.scale || 1)), a.push({
3596
- type: C.literal,
3621
+ if (Cr(h)) {
3622
+ var b = typeof h.style == "string" ? n.number[h.style] : Rr(h.style) ? h.style.parsedOptions : void 0;
3623
+ b && b.scale && (f = f * (b.scale || 1)), s.push({
3624
+ type: O.literal,
3597
3625
  value: r.getNumberFormat(t, b).format(f)
3598
3626
  });
3599
3627
  continue;
3600
3628
  }
3601
- if (Dr(h)) {
3602
- var m = h.children, d = h.value, v = i[d];
3603
- if (!ki(v))
3604
- throw new Gi(d, "function", s);
3629
+ if ($r(h)) {
3630
+ var m = h.children, p = h.value, v = i[p];
3631
+ if (!Fi(v))
3632
+ throw new Di(p, "function", a);
3605
3633
  var E = Fe(m, t, r, n, i, o), _ = v(E.map(function(y) {
3606
3634
  return y.value;
3607
3635
  }));
3608
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(y) {
3636
+ Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(y) {
3609
3637
  return {
3610
- type: typeof y == "string" ? C.literal : C.object,
3638
+ type: typeof y == "string" ? O.literal : O.object,
3611
3639
  value: y
3612
3640
  };
3613
3641
  }));
3614
3642
  }
3615
- if ($r(h)) {
3616
- var p = h.options[f] || h.options.other;
3617
- if (!p)
3618
- throw new rr(h.value, f, Object.keys(h.options), s);
3619
- a.push.apply(a, Fe(p.value, t, r, n, i));
3643
+ if (Lr(h)) {
3644
+ var d = h.options[f] || h.options.other;
3645
+ if (!d)
3646
+ throw new er(h.value, f, Object.keys(h.options), a);
3647
+ s.push.apply(s, Fe(d.value, t, r, n, i));
3620
3648
  continue;
3621
3649
  }
3622
- if (Rr(h)) {
3623
- var p = h.options["=".concat(f)];
3624
- if (!p) {
3650
+ if (Nr(h)) {
3651
+ var d = h.options["=".concat(f)];
3652
+ if (!d) {
3625
3653
  if (!Intl.PluralRules)
3626
- throw new tt(`Intl.PluralRules is not available in this environment.
3654
+ throw new Ke(`Intl.PluralRules is not available in this environment.
3627
3655
  Try polyfilling it using "@formatjs/intl-pluralrules"
3628
- `, fe.MISSING_INTL_API, s);
3656
+ `, de.MISSING_INTL_API, a);
3629
3657
  var S = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3630
- p = h.options[S] || h.options.other;
3658
+ d = h.options[S] || h.options.other;
3631
3659
  }
3632
- if (!p)
3633
- throw new rr(h.value, f, Object.keys(h.options), s);
3634
- a.push.apply(a, Fe(p.value, t, r, n, i, f - (h.offset || 0)));
3660
+ if (!d)
3661
+ throw new er(h.value, f, Object.keys(h.options), a);
3662
+ s.push.apply(s, Fe(d.value, t, r, n, i, f - (h.offset || 0)));
3635
3663
  continue;
3636
3664
  }
3637
3665
  }
3638
- return ji(a);
3666
+ return Gi(s);
3639
3667
  }
3640
- function Vi(e, t) {
3641
- return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3642
- return r[n] = j(j({}, e[n]), t[n] || {}), r;
3668
+ function ji(e, t) {
3669
+ return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3670
+ return r[n] = T(T({}, e[n]), t[n] || {}), r;
3643
3671
  }, {})) : e;
3644
3672
  }
3645
- function Xi(e, t) {
3673
+ function ki(e, t) {
3646
3674
  return t ? Object.keys(e).reduce(function(r, n) {
3647
- return r[n] = Vi(e[n], t[n]), r;
3648
- }, j({}, e)) : e;
3675
+ return r[n] = ji(e[n], t[n]), r;
3676
+ }, T({}, e)) : e;
3649
3677
  }
3650
- function ht(e) {
3678
+ function at(e) {
3651
3679
  return {
3652
3680
  create: function() {
3653
3681
  return {
@@ -3661,39 +3689,39 @@ function ht(e) {
3661
3689
  }
3662
3690
  };
3663
3691
  }
3664
- function Wi(e) {
3692
+ function Vi(e) {
3665
3693
  return e === void 0 && (e = {
3666
3694
  number: {},
3667
3695
  dateTime: {},
3668
3696
  pluralRules: {}
3669
3697
  }), {
3670
- getNumberFormat: at(function() {
3698
+ getNumberFormat: it(function() {
3671
3699
  for (var t, r = [], n = 0; n < arguments.length; n++)
3672
3700
  r[n] = arguments[n];
3673
- return new ((t = Intl.NumberFormat).bind.apply(t, st([void 0], r, !1)))();
3701
+ return new ((t = Intl.NumberFormat).bind.apply(t, le([void 0], r, !1)))();
3674
3702
  }, {
3675
- cache: ht(e.number),
3676
- strategy: ut.variadic
3703
+ cache: at(e.number),
3704
+ strategy: ot.variadic
3677
3705
  }),
3678
- getDateTimeFormat: at(function() {
3706
+ getDateTimeFormat: it(function() {
3679
3707
  for (var t, r = [], n = 0; n < arguments.length; n++)
3680
3708
  r[n] = arguments[n];
3681
- return new ((t = Intl.DateTimeFormat).bind.apply(t, st([void 0], r, !1)))();
3709
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, le([void 0], r, !1)))();
3682
3710
  }, {
3683
- cache: ht(e.dateTime),
3684
- strategy: ut.variadic
3711
+ cache: at(e.dateTime),
3712
+ strategy: ot.variadic
3685
3713
  }),
3686
- getPluralRules: at(function() {
3714
+ getPluralRules: it(function() {
3687
3715
  for (var t, r = [], n = 0; n < arguments.length; n++)
3688
3716
  r[n] = arguments[n];
3689
- return new ((t = Intl.PluralRules).bind.apply(t, st([void 0], r, !1)))();
3717
+ return new ((t = Intl.PluralRules).bind.apply(t, le([void 0], r, !1)))();
3690
3718
  }, {
3691
- cache: ht(e.pluralRules),
3692
- strategy: ut.variadic
3719
+ cache: at(e.pluralRules),
3720
+ strategy: ot.variadic
3693
3721
  })
3694
3722
  };
3695
3723
  }
3696
- var zr = (
3724
+ var Xr = (
3697
3725
  /** @class */
3698
3726
  function() {
3699
3727
  function e(t, r, n, i) {
@@ -3708,7 +3736,7 @@ var zr = (
3708
3736
  if (l.length === 1)
3709
3737
  return l[0].value;
3710
3738
  var h = l.reduce(function(c, f) {
3711
- return !c.length || f.type !== C.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3739
+ return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3712
3740
  }, []);
3713
3741
  return h.length <= 1 ? h[0] || "" : h;
3714
3742
  }, this.formatToParts = function(u) {
@@ -3723,15 +3751,15 @@ var zr = (
3723
3751
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3724
3752
  if (this.message = t, !e.__parse)
3725
3753
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3726
- var s = i || {};
3727
- s.formatters;
3728
- var a = ri(s, ["formatters"]);
3729
- this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3754
+ var a = i || {};
3755
+ a.formatters;
3756
+ var s = ti(a, ["formatters"]);
3757
+ this.ast = e.__parse(t, T(T({}, s), { locale: this.resolvedLocale }));
3730
3758
  } else
3731
3759
  this.ast = t;
3732
3760
  if (!Array.isArray(this.ast))
3733
3761
  throw new TypeError("A message must be provided as a String or AST.");
3734
- this.formats = Xi(e.formats, n), this.formatters = i && i.formatters || Wi(this.formatterCache);
3762
+ this.formats = ki(e.formats, n), this.formatters = i && i.formatters || Vi(this.formatterCache);
3735
3763
  }
3736
3764
  return Object.defineProperty(e, "defaultLocale", {
3737
3765
  get: function() {
@@ -3744,7 +3772,7 @@ var zr = (
3744
3772
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3745
3773
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3746
3774
  }
3747
- }, e.__parse = Ui, e.formats = {
3775
+ }, e.__parse = Ri, e.formats = {
3748
3776
  number: {
3749
3777
  integer: {
3750
3778
  maximumFractionDigits: 0
@@ -3805,7 +3833,7 @@ var zr = (
3805
3833
  }, e;
3806
3834
  }()
3807
3835
  );
3808
- function zi(e, t) {
3836
+ function Xi(e, t) {
3809
3837
  if (t == null)
3810
3838
  return;
3811
3839
  if (t in e)
@@ -3826,101 +3854,101 @@ function zi(e, t) {
3826
3854
  n = void 0;
3827
3855
  return n;
3828
3856
  }
3829
- const Z = {}, Zi = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), Zr = (e, t) => {
3857
+ const Z = {}, Wi = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), Wr = (e, t) => {
3830
3858
  if (t == null)
3831
3859
  return;
3832
3860
  if (t in Z && e in Z[t])
3833
3861
  return Z[t][e];
3834
- const r = Ae(t);
3862
+ const r = Me(t);
3835
3863
  for (let n = 0; n < r.length; n++) {
3836
- const i = r[n], o = Yi(i, e);
3864
+ const i = r[n], o = Zi(i, e);
3837
3865
  if (o)
3838
- return Zi(e, t, o);
3866
+ return Wi(e, t, o);
3839
3867
  }
3840
3868
  };
3841
- let Dt;
3842
- const Pe = Ke({});
3843
- function Qi(e) {
3844
- return Dt[e] || null;
3869
+ let $t;
3870
+ const Ae = Je({});
3871
+ function zi(e) {
3872
+ return $t[e] || null;
3845
3873
  }
3846
- function Qr(e) {
3847
- return e in Dt;
3874
+ function zr(e) {
3875
+ return e in $t;
3848
3876
  }
3849
- function Yi(e, t) {
3850
- if (!Qr(e))
3877
+ function Zi(e, t) {
3878
+ if (!zr(e))
3851
3879
  return null;
3852
- const r = Qi(e);
3853
- return zi(r, t);
3880
+ const r = zi(e);
3881
+ return Xi(r, t);
3854
3882
  }
3855
- function qi(e) {
3883
+ function Qi(e) {
3856
3884
  if (e == null)
3857
3885
  return;
3858
- const t = Ae(e);
3886
+ const t = Me(e);
3859
3887
  for (let r = 0; r < t.length; r++) {
3860
3888
  const n = t[r];
3861
- if (Qr(n))
3889
+ if (zr(n))
3862
3890
  return n;
3863
3891
  }
3864
3892
  }
3865
- function Yr(e, ...t) {
3866
- delete Z[e], Pe.update((r) => (r[e] = ti.all([r[e] || {}, ...t]), r));
3893
+ function Zr(e, ...t) {
3894
+ delete Z[e], Ae.update((r) => (r[e] = ei.all([r[e] || {}, ...t]), r));
3867
3895
  }
3868
- me(
3869
- [Pe],
3896
+ be(
3897
+ [Ae],
3870
3898
  ([e]) => Object.keys(e)
3871
3899
  );
3872
- Pe.subscribe((e) => Dt = e);
3900
+ Ae.subscribe((e) => $t = e);
3873
3901
  const je = {};
3874
- function Ji(e, t) {
3902
+ function Yi(e, t) {
3875
3903
  je[e].delete(t), je[e].size === 0 && delete je[e];
3876
3904
  }
3877
- function qr(e) {
3905
+ function Qr(e) {
3878
3906
  return je[e];
3879
3907
  }
3880
- function Ki(e) {
3881
- return Ae(e).map((t) => {
3882
- const r = qr(t);
3908
+ function qi(e) {
3909
+ return Me(e).map((t) => {
3910
+ const r = Qr(t);
3883
3911
  return [t, r ? [...r] : []];
3884
3912
  }).filter(([, t]) => t.length > 0);
3885
3913
  }
3886
- function Ye(e) {
3887
- return e == null ? !1 : Ae(e).some(
3914
+ function Qe(e) {
3915
+ return e == null ? !1 : Me(e).some(
3888
3916
  (t) => {
3889
3917
  var r;
3890
- return (r = qr(t)) == null ? void 0 : r.size;
3918
+ return (r = Qr(t)) == null ? void 0 : r.size;
3891
3919
  }
3892
3920
  );
3893
3921
  }
3894
- function eo(e, t) {
3922
+ function Ji(e, t) {
3895
3923
  return Promise.all(
3896
- t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
3897
- ).then((n) => Yr(e, ...n));
3898
- }
3899
- const _e = {};
3900
- function Jr(e) {
3901
- if (!Ye(e))
3902
- return e in _e ? _e[e] : Promise.resolve();
3903
- const t = Ki(e);
3904
- return _e[e] = Promise.all(
3924
+ t.map((n) => (Yi(e, n), n().then((i) => i.default || i)))
3925
+ ).then((n) => Zr(e, ...n));
3926
+ }
3927
+ const xe = {};
3928
+ function Yr(e) {
3929
+ if (!Qe(e))
3930
+ return e in xe ? xe[e] : Promise.resolve();
3931
+ const t = qi(e);
3932
+ return xe[e] = Promise.all(
3905
3933
  t.map(
3906
- ([r, n]) => eo(r, n)
3934
+ ([r, n]) => Ji(r, n)
3907
3935
  )
3908
3936
  ).then(() => {
3909
- if (Ye(e))
3910
- return Jr(e);
3911
- delete _e[e];
3912
- }), _e[e];
3937
+ if (Qe(e))
3938
+ return Yr(e);
3939
+ delete xe[e];
3940
+ }), xe[e];
3913
3941
  }
3914
- var nr = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, no = (e, t) => {
3942
+ var tr = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, to = (e, t) => {
3915
3943
  var r = {};
3916
3944
  for (var n in e)
3917
- to.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3918
- if (e != null && nr)
3919
- for (var n of nr(e))
3920
- t.indexOf(n) < 0 && ro.call(e, n) && (r[n] = e[n]);
3945
+ Ki.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3946
+ if (e != null && tr)
3947
+ for (var n of tr(e))
3948
+ t.indexOf(n) < 0 && eo.call(e, n) && (r[n] = e[n]);
3921
3949
  return r;
3922
3950
  };
3923
- const io = {
3951
+ const ro = {
3924
3952
  number: {
3925
3953
  scientific: { notation: "scientific" },
3926
3954
  engineering: { notation: "engineering" },
@@ -3950,183 +3978,183 @@ const io = {
3950
3978
  }
3951
3979
  }
3952
3980
  };
3953
- function oo({ locale: e, id: t }) {
3981
+ function no({ locale: e, id: t }) {
3954
3982
  console.warn(
3955
- `[svelte-i18n] The message "${t}" was not found in "${Ae(
3983
+ `[svelte-i18n] The message "${t}" was not found in "${Me(
3956
3984
  e
3957
- ).join('", "')}".${Ye(Q()) ? `
3985
+ ).join('", "')}".${Qe(Q()) ? `
3958
3986
 
3959
3987
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3960
3988
  );
3961
3989
  }
3962
- const so = {
3990
+ const io = {
3963
3991
  fallbackLocale: null,
3964
3992
  loadingDelay: 200,
3965
- formats: io,
3993
+ formats: ro,
3966
3994
  warnOnMissingMessages: !0,
3967
3995
  handleMissingMessage: void 0,
3968
3996
  ignoreTag: !0
3969
- }, xe = so;
3997
+ }, Ee = io;
3970
3998
  function pe() {
3971
- return xe;
3999
+ return Ee;
3972
4000
  }
3973
- function ao(e) {
3974
- const t = e, { formats: r } = t, n = no(t, ["formats"]);
4001
+ function oo(e) {
4002
+ const t = e, { formats: r } = t, n = to(t, ["formats"]);
3975
4003
  let i = e.fallbackLocale;
3976
4004
  if (e.initialLocale)
3977
4005
  try {
3978
- zr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
4006
+ Xr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3979
4007
  } catch (o) {
3980
4008
  console.warn(
3981
4009
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3982
4010
  );
3983
4011
  }
3984
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = oo : console.warn(
4012
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = no : console.warn(
3985
4013
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3986
- )), Object.assign(xe, n, { initialLocale: i }), r && ("number" in r && Object.assign(xe.formats.number, r.number), "date" in r && Object.assign(xe.formats.date, r.date), "time" in r && Object.assign(xe.formats.time, r.time)), J.set(i);
4014
+ )), Object.assign(Ee, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ee.formats.number, r.number), "date" in r && Object.assign(Ee.formats.date, r.date), "time" in r && Object.assign(Ee.formats.time, r.time)), J.set(i);
3987
4015
  }
3988
- const ct = Ke(!1);
3989
- var uo = Object.defineProperty, lo = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, ir = Object.getOwnPropertySymbols, co = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
4016
+ const ut = Je(!1);
4017
+ var so = Object.defineProperty, ao = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, ho = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
3990
4018
  for (var r in t || (t = {}))
3991
- co.call(t, r) && or(e, r, t[r]);
3992
- if (ir)
3993
- for (var r of ir(t))
3994
- fo.call(t, r) && or(e, r, t[r]);
4019
+ lo.call(t, r) && nr(e, r, t[r]);
4020
+ if (rr)
4021
+ for (var r of rr(t))
4022
+ ho.call(t, r) && nr(e, r, t[r]);
3995
4023
  return e;
3996
- }, mo = (e, t) => lo(e, ho(t));
4024
+ }, fo = (e, t) => ao(e, uo(t));
3997
4025
  let xt;
3998
- const qe = Ke(null);
3999
- function sr(e) {
4026
+ const Ye = Je(null);
4027
+ function ir(e) {
4000
4028
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4001
4029
  }
4002
- function Ae(e, t = pe().fallbackLocale) {
4003
- const r = sr(e);
4004
- return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
4030
+ function Me(e, t = pe().fallbackLocale) {
4031
+ const r = ir(e);
4032
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
4005
4033
  }
4006
4034
  function Q() {
4007
4035
  return xt != null ? xt : void 0;
4008
4036
  }
4009
- qe.subscribe((e) => {
4037
+ Ye.subscribe((e) => {
4010
4038
  xt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4011
4039
  });
4012
- const bo = (e) => {
4013
- if (e && qi(e) && Ye(e)) {
4040
+ const po = (e) => {
4041
+ if (e && Qi(e) && Qe(e)) {
4014
4042
  const { loadingDelay: t } = pe();
4015
4043
  let r;
4016
4044
  return typeof window != "undefined" && Q() != null && t ? r = window.setTimeout(
4017
- () => ct.set(!0),
4045
+ () => ut.set(!0),
4018
4046
  t
4019
- ) : ct.set(!0), Jr(e).then(() => {
4020
- qe.set(e);
4047
+ ) : ut.set(!0), Yr(e).then(() => {
4048
+ Ye.set(e);
4021
4049
  }).finally(() => {
4022
- clearTimeout(r), ct.set(!1);
4050
+ clearTimeout(r), ut.set(!1);
4023
4051
  });
4024
4052
  }
4025
- return qe.set(e);
4026
- }, J = mo(po({}, qe), {
4027
- set: bo
4028
- }), rt = (e) => {
4053
+ return Ye.set(e);
4054
+ }, J = fo(co({}, Ye), {
4055
+ set: po
4056
+ }), et = (e) => {
4029
4057
  const t = /* @__PURE__ */ Object.create(null);
4030
4058
  return (n) => {
4031
4059
  const i = JSON.stringify(n);
4032
4060
  return i in t ? t[i] : t[i] = e(n);
4033
4061
  };
4034
4062
  };
4035
- var go = Object.defineProperty, Je = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
4063
+ var mo = Object.defineProperty, qe = Object.getOwnPropertySymbols, qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
4036
4064
  for (var r in t || (t = {}))
4037
- Kr.call(t, r) && ar(e, r, t[r]);
4038
- if (Je)
4039
- for (var r of Je(t))
4040
- en.call(t, r) && ar(e, r, t[r]);
4065
+ qr.call(t, r) && or(e, r, t[r]);
4066
+ if (qe)
4067
+ for (var r of qe(t))
4068
+ Jr.call(t, r) && or(e, r, t[r]);
4041
4069
  return e;
4042
- }, be = (e, t) => {
4070
+ }, ge = (e, t) => {
4043
4071
  var r = {};
4044
4072
  for (var n in e)
4045
- Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4046
- if (e != null && Je)
4047
- for (var n of Je(e))
4048
- t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
4073
+ qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4074
+ if (e != null && qe)
4075
+ for (var n of qe(e))
4076
+ t.indexOf(n) < 0 && Jr.call(e, n) && (r[n] = e[n]);
4049
4077
  return r;
4050
4078
  };
4051
- const He = (e, t) => {
4079
+ const Pe = (e, t) => {
4052
4080
  const { formats: r } = pe();
4053
4081
  if (e in r && t in r[e])
4054
4082
  return r[e][t];
4055
4083
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4056
- }, yo = rt(
4084
+ }, bo = et(
4057
4085
  (e) => {
4058
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4086
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4059
4087
  if (r == null)
4060
4088
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4061
- return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
4089
+ return n && (i = Pe("number", n)), new Intl.NumberFormat(r, i);
4062
4090
  }
4063
- ), vo = rt(
4091
+ ), go = et(
4064
4092
  (e) => {
4065
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4093
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4066
4094
  if (r == null)
4067
4095
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4068
- return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
4096
+ return n ? i = Pe("date", n) : Object.keys(i).length === 0 && (i = Pe("date", "short")), new Intl.DateTimeFormat(r, i);
4069
4097
  }
4070
- ), _o = rt(
4098
+ ), yo = et(
4071
4099
  (e) => {
4072
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
4100
+ var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
4073
4101
  if (r == null)
4074
4102
  throw new Error(
4075
4103
  '[svelte-i18n] A "locale" must be set to format time values'
4076
4104
  );
4077
- return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
4105
+ return n ? i = Pe("time", n) : Object.keys(i).length === 0 && (i = Pe("time", "short")), new Intl.DateTimeFormat(r, i);
4078
4106
  }
4079
- ), xo = (e = {}) => {
4107
+ ), vo = (e = {}) => {
4080
4108
  var t = e, {
4081
4109
  locale: r = Q()
4082
- } = t, n = be(t, [
4110
+ } = t, n = ge(t, [
4083
4111
  "locale"
4084
4112
  ]);
4085
- return yo(Ut({ locale: r }, n));
4086
- }, Eo = (e = {}) => {
4113
+ return bo(Rt({ locale: r }, n));
4114
+ }, _o = (e = {}) => {
4087
4115
  var t = e, {
4088
4116
  locale: r = Q()
4089
- } = t, n = be(t, [
4117
+ } = t, n = ge(t, [
4090
4118
  "locale"
4091
4119
  ]);
4092
- return vo(Ut({ locale: r }, n));
4093
- }, wo = (e = {}) => {
4120
+ return go(Rt({ locale: r }, n));
4121
+ }, xo = (e = {}) => {
4094
4122
  var t = e, {
4095
4123
  locale: r = Q()
4096
- } = t, n = be(t, [
4124
+ } = t, n = ge(t, [
4097
4125
  "locale"
4098
4126
  ]);
4099
- return _o(Ut({ locale: r }, n));
4100
- }, So = rt(
4127
+ return yo(Rt({ locale: r }, n));
4128
+ }, Eo = et(
4101
4129
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4102
- (e, t = Q()) => new zr(e, t, pe().formats, {
4130
+ (e, t = Q()) => new Xr(e, t, pe().formats, {
4103
4131
  ignoreTag: pe().ignoreTag
4104
4132
  })
4105
- ), To = (e, t = {}) => {
4133
+ ), wo = (e, t = {}) => {
4106
4134
  var r, n, i, o;
4107
- let s = t;
4108
- typeof e == "object" && (s = e, e = s.id);
4135
+ let a = t;
4136
+ typeof e == "object" && (a = e, e = a.id);
4109
4137
  const {
4110
- values: a,
4138
+ values: s,
4111
4139
  locale: u = Q(),
4112
4140
  default: l
4113
- } = s;
4141
+ } = a;
4114
4142
  if (u == null)
4115
4143
  throw new Error(
4116
4144
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4117
4145
  );
4118
- let h = Zr(e, u);
4146
+ let h = Wr(e, u);
4119
4147
  if (!h)
4120
4148
  h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4121
4149
  else if (typeof h != "string")
4122
4150
  return console.warn(
4123
4151
  `[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.`
4124
4152
  ), h;
4125
- if (!a)
4153
+ if (!s)
4126
4154
  return h;
4127
4155
  let c = h;
4128
4156
  try {
4129
- c = So(h, u).format(a);
4157
+ c = Eo(h, u).format(s);
4130
4158
  } catch (f) {
4131
4159
  f instanceof Error && console.warn(
4132
4160
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4134,90 +4162,21 @@ const He = (e, t) => {
4134
4162
  );
4135
4163
  }
4136
4164
  return c;
4137
- }, Ho = (e, t) => wo(t).format(e), Po = (e, t) => Eo(t).format(e), Ao = (e, t) => xo(t).format(e), Oo = (e, t = Q()) => Zr(e, t), Mo = me([J, Pe], () => To);
4138
- me([J], () => Ho);
4139
- me([J], () => Po);
4140
- me([J], () => Ao);
4141
- me([J, Pe], () => Oo);
4142
- /*! *****************************************************************************
4143
- Copyright (c) Microsoft Corporation.
4144
-
4145
- Permission to use, copy, modify, and/or distribute this software for any
4146
- purpose with or without fee is hereby granted.
4147
-
4148
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
4149
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4150
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
4151
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4152
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4153
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4154
- PERFORMANCE OF THIS SOFTWARE.
4155
- ***************************************************************************** */
4156
- var Et = function(e, t) {
4157
- return Et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
4158
- r.__proto__ = n;
4159
- } || function(r, n) {
4160
- for (var i in n)
4161
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
4162
- }, Et(e, t);
4163
- };
4164
- function Oe(e, t) {
4165
- if (typeof t != "function" && t !== null)
4166
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4167
- Et(e, t);
4168
- function r() {
4169
- this.constructor = e;
4170
- }
4171
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
4172
- }
4173
- function wt(e) {
4174
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
4175
- if (r)
4176
- return r.call(e);
4177
- if (e && typeof e.length == "number")
4178
- return {
4179
- next: function() {
4180
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
4181
- }
4182
- };
4183
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4184
- }
4185
- function St(e, t) {
4186
- var r = typeof Symbol == "function" && e[Symbol.iterator];
4187
- if (!r)
4188
- return e;
4189
- var n = r.call(e), i, o = [], s;
4190
- try {
4191
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
4192
- o.push(i.value);
4193
- } catch (a) {
4194
- s = { error: a };
4195
- } finally {
4196
- try {
4197
- i && !i.done && (r = n.return) && r.call(n);
4198
- } finally {
4199
- if (s)
4200
- throw s.error;
4201
- }
4202
- }
4203
- return o;
4204
- }
4205
- function Tt(e, t, r) {
4206
- if (arguments.length === 2)
4207
- for (var n = 0, i = t.length, o; n < i; n++)
4208
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
4209
- return e.concat(o || t);
4210
- }
4211
- function W(e) {
4165
+ }, So = (e, t) => xo(t).format(e), To = (e, t) => _o(t).format(e), Ho = (e, t) => vo(t).format(e), Po = (e, t = Q()) => Wr(e, t), Ao = be([J, Ae], () => wo);
4166
+ be([J], () => So);
4167
+ be([J], () => To);
4168
+ be([J], () => Ho);
4169
+ be([J, Ae], () => Po);
4170
+ function X(e) {
4212
4171
  return typeof e == "function";
4213
4172
  }
4214
- function tn(e) {
4173
+ function Kr(e) {
4215
4174
  var t = function(n) {
4216
4175
  Error.call(n), n.stack = new Error().stack;
4217
4176
  }, r = e(t);
4218
4177
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4219
4178
  }
4220
- var ft = tn(function(e) {
4179
+ var lt = Kr(function(e) {
4221
4180
  return function(r) {
4222
4181
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4223
4182
  ` + r.map(function(n, i) {
@@ -4226,13 +4185,13 @@ var ft = tn(function(e) {
4226
4185
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4227
4186
  };
4228
4187
  });
4229
- function Ht(e, t) {
4188
+ function Et(e, t) {
4230
4189
  if (e) {
4231
4190
  var r = e.indexOf(t);
4232
4191
  0 <= r && e.splice(r, 1);
4233
4192
  }
4234
4193
  }
4235
- var nt = function() {
4194
+ var tt = function() {
4236
4195
  function e(t) {
4237
4196
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4238
4197
  }
@@ -4240,47 +4199,47 @@ var nt = function() {
4240
4199
  var t, r, n, i, o;
4241
4200
  if (!this.closed) {
4242
4201
  this.closed = !0;
4243
- var s = this._parentage;
4244
- if (s)
4245
- if (this._parentage = null, Array.isArray(s))
4202
+ var a = this._parentage;
4203
+ if (a)
4204
+ if (this._parentage = null, Array.isArray(a))
4246
4205
  try {
4247
- for (var a = wt(s), u = a.next(); !u.done; u = a.next()) {
4206
+ for (var s = dt(a), u = s.next(); !u.done; u = s.next()) {
4248
4207
  var l = u.value;
4249
4208
  l.remove(this);
4250
4209
  }
4251
- } catch (d) {
4252
- t = { error: d };
4210
+ } catch (p) {
4211
+ t = { error: p };
4253
4212
  } finally {
4254
4213
  try {
4255
- u && !u.done && (r = a.return) && r.call(a);
4214
+ u && !u.done && (r = s.return) && r.call(s);
4256
4215
  } finally {
4257
4216
  if (t)
4258
4217
  throw t.error;
4259
4218
  }
4260
4219
  }
4261
4220
  else
4262
- s.remove(this);
4221
+ a.remove(this);
4263
4222
  var h = this.initialTeardown;
4264
- if (W(h))
4223
+ if (X(h))
4265
4224
  try {
4266
4225
  h();
4267
- } catch (d) {
4268
- o = d instanceof ft ? d.errors : [d];
4226
+ } catch (p) {
4227
+ o = p instanceof lt ? p.errors : [p];
4269
4228
  }
4270
4229
  var c = this._finalizers;
4271
4230
  if (c) {
4272
4231
  this._finalizers = null;
4273
4232
  try {
4274
- for (var f = wt(c), b = f.next(); !b.done; b = f.next()) {
4233
+ for (var f = dt(c), b = f.next(); !b.done; b = f.next()) {
4275
4234
  var m = b.value;
4276
4235
  try {
4277
- ur(m);
4278
- } catch (d) {
4279
- o = o != null ? o : [], d instanceof ft ? o = Tt(Tt([], St(o)), St(d.errors)) : o.push(d);
4236
+ sr(m);
4237
+ } catch (p) {
4238
+ o = o != null ? o : [], p instanceof lt ? o = le(le([], pt(o)), pt(p.errors)) : o.push(p);
4280
4239
  }
4281
4240
  }
4282
- } catch (d) {
4283
- n = { error: d };
4241
+ } catch (p) {
4242
+ n = { error: p };
4284
4243
  } finally {
4285
4244
  try {
4286
4245
  b && !b.done && (i = f.return) && i.call(f);
@@ -4291,13 +4250,13 @@ var nt = function() {
4291
4250
  }
4292
4251
  }
4293
4252
  if (o)
4294
- throw new ft(o);
4253
+ throw new lt(o);
4295
4254
  }
4296
4255
  }, e.prototype.add = function(t) {
4297
4256
  var r;
4298
4257
  if (t && t !== this)
4299
4258
  if (this.closed)
4300
- ur(t);
4259
+ sr(t);
4301
4260
  else {
4302
4261
  if (t instanceof e) {
4303
4262
  if (t.closed || t._hasParent(this))
@@ -4314,52 +4273,56 @@ var nt = function() {
4314
4273
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4315
4274
  }, e.prototype._removeParent = function(t) {
4316
4275
  var r = this._parentage;
4317
- r === t ? this._parentage = null : Array.isArray(r) && Ht(r, t);
4276
+ r === t ? this._parentage = null : Array.isArray(r) && Et(r, t);
4318
4277
  }, e.prototype.remove = function(t) {
4319
4278
  var r = this._finalizers;
4320
- r && Ht(r, t), t instanceof e && t._removeParent(this);
4279
+ r && Et(r, t), t instanceof e && t._removeParent(this);
4321
4280
  }, e.EMPTY = function() {
4322
4281
  var t = new e();
4323
4282
  return t.closed = !0, t;
4324
4283
  }(), e;
4325
- }(), rn = nt.EMPTY;
4326
- function nn(e) {
4327
- return e instanceof nt || e && "closed" in e && W(e.remove) && W(e.add) && W(e.unsubscribe);
4328
- }
4329
- function ur(e) {
4330
- W(e) ? e() : e.unsubscribe();
4284
+ }(), en = tt.EMPTY;
4285
+ function tn(e) {
4286
+ return e instanceof tt || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
4331
4287
  }
4332
- var Bo = {
4333
- Promise: void 0
4334
- }, Co = {
4288
+ function sr(e) {
4289
+ X(e) ? e() : e.unsubscribe();
4290
+ }
4291
+ var rn = {
4292
+ onUnhandledError: null,
4293
+ onStoppedNotification: null,
4294
+ Promise: void 0,
4295
+ useDeprecatedSynchronousErrorHandling: !1,
4296
+ useDeprecatedNextContext: !1
4297
+ }, Mo = {
4335
4298
  setTimeout: function(e, t) {
4336
4299
  for (var r = [], n = 2; n < arguments.length; n++)
4337
4300
  r[n - 2] = arguments[n];
4338
- return setTimeout.apply(void 0, Tt([e, t], St(r)));
4301
+ return setTimeout.apply(void 0, le([e, t], pt(r)));
4339
4302
  },
4340
4303
  clearTimeout: function(e) {
4341
4304
  return clearTimeout(e);
4342
4305
  },
4343
4306
  delegate: void 0
4344
4307
  };
4345
- function Io(e) {
4346
- Co.setTimeout(function() {
4308
+ function Bo(e) {
4309
+ Mo.setTimeout(function() {
4347
4310
  throw e;
4348
4311
  });
4349
4312
  }
4350
- function lr() {
4313
+ function ar() {
4351
4314
  }
4352
4315
  function ke(e) {
4353
4316
  e();
4354
4317
  }
4355
- var on = function(e) {
4356
- Oe(t, e);
4318
+ var nn = function(e) {
4319
+ z(t, e);
4357
4320
  function t(r) {
4358
4321
  var n = e.call(this) || this;
4359
- return n.isStopped = !1, r ? (n.destination = r, nn(r) && r.add(n)) : n.destination = $o, n;
4322
+ return n.isStopped = !1, r ? (n.destination = r, tn(r) && r.add(n)) : n.destination = Lo, n;
4360
4323
  }
4361
4324
  return t.create = function(r, n, i) {
4362
- return new Pt(r, n, i);
4325
+ return new wt(r, n, i);
4363
4326
  }, t.prototype.next = function(r) {
4364
4327
  this.isStopped || this._next(r);
4365
4328
  }, t.prototype.error = function(r) {
@@ -4383,7 +4346,11 @@ var on = function(e) {
4383
4346
  this.unsubscribe();
4384
4347
  }
4385
4348
  }, t;
4386
- }(nt), Lo = function() {
4349
+ }(tt), Co = Function.prototype.bind;
4350
+ function ht(e, t) {
4351
+ return Co.call(e, t);
4352
+ }
4353
+ var Oo = function() {
4387
4354
  function e(t) {
4388
4355
  this.partialObserver = t;
4389
4356
  }
@@ -4414,43 +4381,55 @@ var on = function(e) {
4414
4381
  Re(r);
4415
4382
  }
4416
4383
  }, e;
4417
- }(), Pt = function(e) {
4418
- Oe(t, e);
4384
+ }(), wt = function(e) {
4385
+ z(t, e);
4419
4386
  function t(r, n, i) {
4420
- var o = e.call(this) || this, s;
4421
- return W(r) || !r ? s = {
4422
- next: r != null ? r : void 0,
4423
- error: n != null ? n : void 0,
4424
- complete: i != null ? i : void 0
4425
- } : s = r, o.destination = new Lo(s), o;
4387
+ var o = e.call(this) || this, a;
4388
+ if (X(r) || !r)
4389
+ a = {
4390
+ next: r != null ? r : void 0,
4391
+ error: n != null ? n : void 0,
4392
+ complete: i != null ? i : void 0
4393
+ };
4394
+ else {
4395
+ var s;
4396
+ o && rn.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
4397
+ return o.unsubscribe();
4398
+ }, a = {
4399
+ next: r.next && ht(r.next, s),
4400
+ error: r.error && ht(r.error, s),
4401
+ complete: r.complete && ht(r.complete, s)
4402
+ }) : a = r;
4403
+ }
4404
+ return o.destination = new Oo(a), o;
4426
4405
  }
4427
4406
  return t;
4428
- }(on);
4407
+ }(nn);
4429
4408
  function Re(e) {
4430
- Io(e);
4409
+ Bo(e);
4431
4410
  }
4432
- function No(e) {
4411
+ function Io(e) {
4433
4412
  throw e;
4434
4413
  }
4435
- var $o = {
4414
+ var Lo = {
4436
4415
  closed: !0,
4437
- next: lr,
4438
- error: No,
4439
- complete: lr
4440
- }, Ro = function() {
4416
+ next: ar,
4417
+ error: Io,
4418
+ complete: ar
4419
+ }, No = function() {
4441
4420
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4442
4421
  }();
4443
- function Do(e) {
4422
+ function $o(e) {
4444
4423
  return e;
4445
4424
  }
4446
- function Uo(e) {
4447
- return e.length === 0 ? Do : e.length === 1 ? e[0] : function(r) {
4425
+ function Ro(e) {
4426
+ return e.length === 0 ? $o : e.length === 1 ? e[0] : function(r) {
4448
4427
  return e.reduce(function(n, i) {
4449
4428
  return i(n);
4450
4429
  }, r);
4451
4430
  };
4452
4431
  }
4453
- var hr = function() {
4432
+ var ur = function() {
4454
4433
  function e(t) {
4455
4434
  t && (this._subscribe = t);
4456
4435
  }
@@ -4458,10 +4437,10 @@ var hr = function() {
4458
4437
  var r = new e();
4459
4438
  return r.source = this, r.operator = t, r;
4460
4439
  }, e.prototype.subscribe = function(t, r, n) {
4461
- var i = this, o = Fo(t) ? t : new Pt(t, r, n);
4440
+ var i = this, o = Uo(t) ? t : new wt(t, r, n);
4462
4441
  return ke(function() {
4463
- var s = i, a = s.operator, u = s.source;
4464
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4442
+ var a = i, s = a.operator, u = a.source;
4443
+ o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
4465
4444
  }), o;
4466
4445
  }, e.prototype._trySubscribe = function(t) {
4467
4446
  try {
@@ -4471,37 +4450,37 @@ var hr = function() {
4471
4450
  }
4472
4451
  }, e.prototype.forEach = function(t, r) {
4473
4452
  var n = this;
4474
- return r = cr(r), new r(function(i, o) {
4475
- var s = new Pt({
4476
- next: function(a) {
4453
+ return r = lr(r), new r(function(i, o) {
4454
+ var a = new wt({
4455
+ next: function(s) {
4477
4456
  try {
4478
- t(a);
4457
+ t(s);
4479
4458
  } catch (u) {
4480
- o(u), s.unsubscribe();
4459
+ o(u), a.unsubscribe();
4481
4460
  }
4482
4461
  },
4483
4462
  error: o,
4484
4463
  complete: i
4485
4464
  });
4486
- n.subscribe(s);
4465
+ n.subscribe(a);
4487
4466
  });
4488
4467
  }, e.prototype._subscribe = function(t) {
4489
4468
  var r;
4490
4469
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4491
- }, e.prototype[Ro] = function() {
4470
+ }, e.prototype[No] = function() {
4492
4471
  return this;
4493
4472
  }, e.prototype.pipe = function() {
4494
4473
  for (var t = [], r = 0; r < arguments.length; r++)
4495
4474
  t[r] = arguments[r];
4496
- return Uo(t)(this);
4475
+ return Ro(t)(this);
4497
4476
  }, e.prototype.toPromise = function(t) {
4498
4477
  var r = this;
4499
- return t = cr(t), new t(function(n, i) {
4478
+ return t = lr(t), new t(function(n, i) {
4500
4479
  var o;
4501
- r.subscribe(function(s) {
4502
- return o = s;
4503
- }, function(s) {
4504
- return i(s);
4480
+ r.subscribe(function(a) {
4481
+ return o = a;
4482
+ }, function(a) {
4483
+ return i(a);
4505
4484
  }, function() {
4506
4485
  return n(o);
4507
4486
  });
@@ -4510,32 +4489,32 @@ var hr = function() {
4510
4489
  return new e(t);
4511
4490
  }, e;
4512
4491
  }();
4513
- function cr(e) {
4492
+ function lr(e) {
4514
4493
  var t;
4515
- return (t = e != null ? e : Bo.Promise) !== null && t !== void 0 ? t : Promise;
4494
+ return (t = e != null ? e : rn.Promise) !== null && t !== void 0 ? t : Promise;
4516
4495
  }
4517
- function Go(e) {
4518
- return e && W(e.next) && W(e.error) && W(e.complete);
4496
+ function Do(e) {
4497
+ return e && X(e.next) && X(e.error) && X(e.complete);
4519
4498
  }
4520
- function Fo(e) {
4521
- return e && e instanceof on || Go(e) && nn(e);
4499
+ function Uo(e) {
4500
+ return e && e instanceof nn || Do(e) && tn(e);
4522
4501
  }
4523
- var jo = tn(function(e) {
4502
+ var Go = Kr(function(e) {
4524
4503
  return function() {
4525
4504
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4526
4505
  };
4527
- }), sn = function(e) {
4528
- Oe(t, e);
4506
+ }), on = function(e) {
4507
+ z(t, e);
4529
4508
  function t() {
4530
4509
  var r = e.call(this) || this;
4531
4510
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4532
4511
  }
4533
4512
  return t.prototype.lift = function(r) {
4534
- var n = new fr(this, this);
4513
+ var n = new hr(this, this);
4535
4514
  return n.operator = r, n;
4536
4515
  }, t.prototype._throwIfClosed = function() {
4537
4516
  if (this.closed)
4538
- throw new jo();
4517
+ throw new Go();
4539
4518
  }, t.prototype.next = function(r) {
4540
4519
  var n = this;
4541
4520
  ke(function() {
@@ -4543,15 +4522,15 @@ var jo = tn(function(e) {
4543
4522
  if (n._throwIfClosed(), !n.isStopped) {
4544
4523
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4545
4524
  try {
4546
- for (var s = wt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4547
- var u = a.value;
4525
+ for (var a = dt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
4526
+ var u = s.value;
4548
4527
  u.next(r);
4549
4528
  }
4550
4529
  } catch (l) {
4551
4530
  i = { error: l };
4552
4531
  } finally {
4553
4532
  try {
4554
- a && !a.done && (o = s.return) && o.call(s);
4533
+ s && !s.done && (o = a.return) && o.call(a);
4555
4534
  } finally {
4556
4535
  if (i)
4557
4536
  throw i.error;
@@ -4591,21 +4570,21 @@ var jo = tn(function(e) {
4591
4570
  }, t.prototype._subscribe = function(r) {
4592
4571
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4593
4572
  }, t.prototype._innerSubscribe = function(r) {
4594
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4595
- return o || s ? rn : (this.currentObservers = null, a.push(r), new nt(function() {
4596
- n.currentObservers = null, Ht(a, r);
4573
+ var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
4574
+ return o || a ? en : (this.currentObservers = null, s.push(r), new tt(function() {
4575
+ n.currentObservers = null, Et(s, r);
4597
4576
  }));
4598
4577
  }, t.prototype._checkFinalizedStatuses = function(r) {
4599
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4600
- i ? r.error(o) : s && r.complete();
4578
+ var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
4579
+ i ? r.error(o) : a && r.complete();
4601
4580
  }, t.prototype.asObservable = function() {
4602
- var r = new hr();
4581
+ var r = new ur();
4603
4582
  return r.source = this, r;
4604
4583
  }, t.create = function(r, n) {
4605
- return new fr(r, n);
4584
+ return new hr(r, n);
4606
4585
  }, t;
4607
- }(hr), fr = function(e) {
4608
- Oe(t, e);
4586
+ }(ur), hr = function(e) {
4587
+ z(t, e);
4609
4588
  function t(r, n) {
4610
4589
  var i = e.call(this) || this;
4611
4590
  return i.destination = r, i.source = n, i;
@@ -4621,62 +4600,62 @@ var jo = tn(function(e) {
4621
4600
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4622
4601
  }, t.prototype._subscribe = function(r) {
4623
4602
  var n, i;
4624
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rn;
4603
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : en;
4625
4604
  }, t;
4626
- }(sn), an = {
4605
+ }(on), sn = {
4627
4606
  now: function() {
4628
- return (an.delegate || Date).now();
4607
+ return (sn.delegate || Date).now();
4629
4608
  },
4630
4609
  delegate: void 0
4631
- }, ko = function(e) {
4632
- Oe(t, e);
4610
+ }, Fo = function(e) {
4611
+ z(t, e);
4633
4612
  function t(r, n, i) {
4634
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = an);
4613
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sn);
4635
4614
  var o = e.call(this) || this;
4636
4615
  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;
4637
4616
  }
4638
4617
  return t.prototype.next = function(r) {
4639
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
4640
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4618
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
4619
+ i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
4641
4620
  }, t.prototype._subscribe = function(r) {
4642
4621
  this._throwIfClosed(), this._trimBuffer();
4643
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
4644
- r.next(a[u]);
4622
+ 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)
4623
+ r.next(s[u]);
4645
4624
  return this._checkFinalizedStatuses(r), n;
4646
4625
  }, t.prototype._trimBuffer = function() {
4647
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4648
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4626
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
4627
+ if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
4649
4628
  for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
4650
4629
  l = h;
4651
4630
  l && o.splice(0, l + 1);
4652
4631
  }
4653
4632
  }, t;
4654
- }(sn);
4655
- const pr = [], dr = {}, Vo = (e, t = 0) => {
4656
- if (pr.indexOf(e) == -1) {
4657
- const r = new ko(t);
4658
- dr[e] = r, pr.push(e);
4633
+ }(on);
4634
+ const cr = [], fr = {}, jo = (e, t = 0) => {
4635
+ if (cr.indexOf(e) == -1) {
4636
+ const r = new Fo(t);
4637
+ fr[e] = r, cr.push(e);
4659
4638
  }
4660
- return dr[e];
4639
+ return fr[e];
4661
4640
  };
4662
- let At = "en-UK", Ot = "true", Ee = 2, Mt = "";
4663
- const Xo = (e, t, r, n) => {
4664
- At = e || "en-UK", Ot = t || "true", Ee = +n || 2, Mt = r || "";
4641
+ let St = "en-UK", Tt = "true", we = 2, Ht = "";
4642
+ const ko = (e, t, r, n) => {
4643
+ St = e || "en-UK", Tt = t || "true", we = +n || 2, Ht = r || "";
4665
4644
  }, De = (e, t) => {
4666
- if (!Mt)
4667
- return new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Ot === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).format(e);
4668
- const n = new Intl.NumberFormat(At, { style: "currency", currency: t, currencyDisplay: Ot === "true" ? "symbol" : "code", maximumFractionDigits: Ee, minimumFractionDigits: Ee }).formatToParts(e), i = n.find((u) => u.type === "currency"), s = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4669
- return Mt === "before" ? `${i.value} ${s}` : `${s} ${i.value}`;
4645
+ if (!Ht)
4646
+ return new Intl.NumberFormat(St, { style: "currency", currency: t, currencyDisplay: Tt === "true" ? "symbol" : "code", maximumFractionDigits: we, minimumFractionDigits: we }).format(e);
4647
+ const n = new Intl.NumberFormat(St, { style: "currency", currency: t, currencyDisplay: Tt === "true" ? "symbol" : "code", maximumFractionDigits: we, minimumFractionDigits: we }).formatToParts(e), i = n.find((u) => u.type === "currency"), a = n.filter((u) => u.type !== "currency").map((u) => u.value).join("");
4648
+ return Ht === "before" ? `${i.value} ${a}` : `${a} ${i.value}`;
4670
4649
  };
4671
- window.emWidgets = { topic: Vo };
4672
- const Hs = (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));
4673
- function Wo(e, t) {
4650
+ window.emWidgets = { topic: jo };
4651
+ const Ss = (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));
4652
+ function Vo(e, t) {
4674
4653
  if (e) {
4675
4654
  const r = document.createElement("style");
4676
4655
  r.innerHTML = t, e.appendChild(r);
4677
4656
  }
4678
4657
  }
4679
- function zo(e, t) {
4658
+ function Xo(e, t) {
4680
4659
  const r = new URL(t);
4681
4660
  fetch(r.href).then((n) => n.text()).then((n) => {
4682
4661
  const i = document.createElement("style");
@@ -4685,7 +4664,7 @@ function zo(e, t) {
4685
4664
  console.error("There was an error while trying to load client styling from URL", n);
4686
4665
  });
4687
4666
  }
4688
- function Zo(e, t, r) {
4667
+ function Wo(e, t, r) {
4689
4668
  if (window.emMessageBus) {
4690
4669
  const n = document.createElement("style");
4691
4670
  window.emMessageBus.subscribe(t, (i) => {
@@ -4693,15 +4672,15 @@ function Zo(e, t, r) {
4693
4672
  });
4694
4673
  }
4695
4674
  }
4696
- function mr(e, t) {
4697
- Yr(e, t);
4675
+ function dr(e, t) {
4676
+ Zr(e, t);
4698
4677
  }
4699
- function Qo(e) {
4700
- ao({
4678
+ function zo(e) {
4679
+ oo({
4701
4680
  fallbackLocale: "en"
4702
4681
  }), J.set(e);
4703
4682
  }
4704
- const br = {
4683
+ const pr = {
4705
4684
  en: {
4706
4685
  generalMin: "Min",
4707
4686
  generalMax: "Max",
@@ -4733,73 +4712,73 @@ const br = {
4733
4712
  generalMax: "Max"
4734
4713
  }
4735
4714
  };
4736
- function Yo(e) {
4737
- gn(e, "svelte-19lknjo", '*,*::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}.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)}');
4715
+ function Zo(e) {
4716
+ bn(e, "svelte-19lknjo", '*,*::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}.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)}');
4738
4717
  }
4739
- function gr(e, t, r) {
4718
+ function mr(e, t, r) {
4740
4719
  const n = e.slice();
4741
4720
  return n[32] = t[r], n[34] = r, n;
4742
4721
  }
4743
- function yr(e, t, r) {
4722
+ function br(e, t, r) {
4744
4723
  const n = e.slice();
4745
4724
  return n[35] = t[r], n[34] = r, n;
4746
4725
  }
4747
- function qo(e) {
4726
+ function Qo(e) {
4748
4727
  let t, r = (
4749
4728
  /*$_*/
4750
4729
  e[4]("noPaymentMethods") + ""
4751
4730
  ), n;
4752
4731
  return {
4753
4732
  c() {
4754
- t = P("p"), n = R(r);
4733
+ t = A("p"), n = R(r);
4755
4734
  },
4756
4735
  m(i, o) {
4757
- F(i, t, o), T(t, n);
4736
+ F(i, t, o), H(t, n);
4758
4737
  },
4759
4738
  p(i, o) {
4760
4739
  o[0] & /*$_*/
4761
4740
  16 && r !== (r = /*$_*/
4762
- i[4]("noPaymentMethods") + "") && X(n, r);
4741
+ i[4]("noPaymentMethods") + "") && V(n, r);
4763
4742
  },
4764
4743
  d(i) {
4765
4744
  i && L(t);
4766
4745
  }
4767
4746
  };
4768
4747
  }
4769
- function Jo(e) {
4748
+ function Yo(e) {
4770
4749
  let t, r, n = (
4771
4750
  /*$_*/
4772
4751
  e[4]("carouselTitle") + ""
4773
- ), i, o, s, a = (
4752
+ ), i, o, a, s = (
4774
4753
  /*$_*/
4775
4754
  e[4]("carouselSubtitle") + ""
4776
- ), u, l, h, c, f, b, m, d = Ne(
4755
+ ), u, l, h, c, f, b, m, p = Ne(
4777
4756
  /*promotedPaymentMethods*/
4778
4757
  e[2]
4779
4758
  ), v = [];
4780
- for (let p = 0; p < d.length; p += 1)
4781
- v[p] = vr(yr(e, d, p));
4759
+ for (let d = 0; d < p.length; d += 1)
4760
+ v[d] = gr(br(e, p, d));
4782
4761
  let E = Ne(Array(
4783
4762
  /*promotedPaymentMethods*/
4784
4763
  e[2].length
4785
4764
  )), _ = [];
4786
- for (let p = 0; p < E.length; p += 1)
4787
- _[p] = _r(gr(e, E, p));
4765
+ for (let d = 0; d < E.length; d += 1)
4766
+ _[d] = yr(mr(e, E, d));
4788
4767
  return {
4789
4768
  c() {
4790
- t = P("div"), r = P("h4"), i = R(n), o = V(), s = P("p"), u = R(a), l = V(), h = P("div");
4791
- for (let p = 0; p < v.length; p += 1)
4792
- v[p].c();
4793
- c = V(), f = P("div");
4794
- for (let p = 0; p < _.length; p += 1)
4795
- _[p].c();
4796
- O(t, "class", "CarouselHeader"), O(h, "class", "Carousel"), O(f, "class", "VisualDotIndicator");
4769
+ t = A("div"), r = A("h4"), i = R(n), o = k(), a = A("p"), u = R(s), l = k(), h = A("div");
4770
+ for (let d = 0; d < v.length; d += 1)
4771
+ v[d].c();
4772
+ c = k(), f = A("div");
4773
+ for (let d = 0; d < _.length; d += 1)
4774
+ _[d].c();
4775
+ M(t, "class", "CarouselHeader"), M(h, "class", "Carousel"), M(f, "class", "VisualDotIndicator");
4797
4776
  },
4798
- m(p, S) {
4799
- F(p, t, S), T(t, r), T(r, i), T(t, o), T(t, s), T(s, u), F(p, l, S), F(p, h, S);
4777
+ m(d, S) {
4778
+ F(d, t, S), H(t, r), H(r, i), H(t, o), H(t, a), H(a, u), F(d, l, S), F(d, h, S);
4800
4779
  for (let y = 0; y < v.length; y += 1)
4801
4780
  v[y] && v[y].m(h, null);
4802
- e[19](h), F(p, c, S), F(p, f, S);
4781
+ e[19](h), F(d, c, S), F(d, f, S);
4803
4782
  for (let y = 0; y < _.length; y += 1)
4804
4783
  _[y] && _[y].m(f, null);
4805
4784
  b || (m = [
@@ -4823,73 +4802,73 @@ function Jo(e) {
4823
4802
  )
4824
4803
  ], b = !0);
4825
4804
  },
4826
- p(p, S) {
4805
+ p(d, S) {
4827
4806
  if (S[0] & /*$_*/
4828
4807
  16 && n !== (n = /*$_*/
4829
- p[4]("carouselTitle") + "") && X(i, n), S[0] & /*$_*/
4830
- 16 && a !== (a = /*$_*/
4831
- p[4]("carouselSubtitle") + "") && X(u, a), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4808
+ d[4]("carouselTitle") + "") && V(i, n), S[0] & /*$_*/
4809
+ 16 && s !== (s = /*$_*/
4810
+ d[4]("carouselSubtitle") + "") && V(u, s), S[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4832
4811
  60) {
4833
- d = Ne(
4812
+ p = Ne(
4834
4813
  /*promotedPaymentMethods*/
4835
- p[2]
4814
+ d[2]
4836
4815
  );
4837
4816
  let y;
4838
- for (y = 0; y < d.length; y += 1) {
4839
- const M = yr(p, d, y);
4840
- v[y] ? v[y].p(M, S) : (v[y] = vr(M), v[y].c(), v[y].m(h, null));
4817
+ for (y = 0; y < p.length; y += 1) {
4818
+ const B = br(d, p, y);
4819
+ v[y] ? v[y].p(B, S) : (v[y] = gr(B), v[y].c(), v[y].m(h, null));
4841
4820
  }
4842
4821
  for (; y < v.length; y += 1)
4843
4822
  v[y].d(1);
4844
- v.length = d.length;
4823
+ v.length = p.length;
4845
4824
  }
4846
4825
  if (S[0] & /*activeIndex, promotedPaymentMethods*/
4847
4826
  12) {
4848
4827
  E = Ne(Array(
4849
4828
  /*promotedPaymentMethods*/
4850
- p[2].length
4829
+ d[2].length
4851
4830
  ));
4852
4831
  let y;
4853
4832
  for (y = 0; y < E.length; y += 1) {
4854
- const M = gr(p, E, y);
4855
- _[y] ? _[y].p(M, S) : (_[y] = _r(M), _[y].c(), _[y].m(f, null));
4833
+ const B = mr(d, E, y);
4834
+ _[y] ? _[y].p(B, S) : (_[y] = yr(B), _[y].c(), _[y].m(f, null));
4856
4835
  }
4857
4836
  for (; y < _.length; y += 1)
4858
4837
  _[y].d(1);
4859
4838
  _.length = E.length;
4860
4839
  }
4861
4840
  },
4862
- d(p) {
4863
- p && (L(t), L(l), L(h), L(c), L(f)), Wt(v, p), e[19](null), Wt(_, p), b = !1, z(m);
4841
+ d(d) {
4842
+ d && (L(t), L(l), L(h), L(c), L(f)), Vt(v, d), e[19](null), Vt(_, d), b = !1, W(m);
4864
4843
  }
4865
4844
  };
4866
4845
  }
4867
- function vr(e) {
4868
- let t, r, n, i, o, s, a, u, l, h = (
4846
+ function gr(e) {
4847
+ let t, r, n, i, o, a, s, u, l, h = (
4869
4848
  /*method*/
4870
4849
  (e[35].Label || /*method*/
4871
4850
  e[35].Name) + ""
4872
- ), c, f, b, m, d = (
4851
+ ), c, f, b, m, p = (
4873
4852
  /*$_*/
4874
4853
  e[4](`${/*method*/
4875
4854
  e[35].ProcessingTime}`) + ""
4876
- ), v, E, _, p, S = (
4855
+ ), v, E, _, d, S = (
4877
4856
  /*$_*/
4878
4857
  e[4]("generalMin") + ""
4879
- ), y, M, G = De(
4858
+ ), y, B, G = De(
4880
4859
  /*method*/
4881
4860
  e[35].DisplayCurrency.MinAmountLimit,
4882
4861
  /*method*/
4883
4862
  e[35].DisplayCurrency.Name
4884
- ) + "", Y, Me, K = (
4863
+ ) + "", Y, Be, K = (
4885
4864
  /*$_*/
4886
4865
  e[4]("generalMax") + ""
4887
- ), ge, Be, ee = De(
4866
+ ), ye, Ce, ee = De(
4888
4867
  /*method*/
4889
4868
  e[35].DisplayCurrency.MaxAmountLimit,
4890
4869
  /*method*/
4891
4870
  e[35].DisplayCurrency.Name
4892
- ) + "", ye, Ce, g, B, D;
4871
+ ) + "", ve, Oe, g, C, D;
4893
4872
  function te() {
4894
4873
  return (
4895
4874
  /*click_handler*/
@@ -4901,57 +4880,57 @@ function vr(e) {
4901
4880
  }
4902
4881
  return {
4903
4882
  c() {
4904
- t = P("div"), r = P("div"), n = P("img"), s = V(), a = P("div"), u = P("div"), l = P("span"), c = R(h), f = V(), b = P("div"), m = P("span"), v = R(d), E = V(), _ = P("div"), p = P("span"), y = R(S), M = V(), Y = R(G), Me = R(" / "), ge = R(K), Be = V(), ye = R(ee), Ce = V(), Xt(n.src, i = /*method*/
4905
- e[35].LogoUrl) || O(n, "src", i), O(n, "alt", o = /*method*/
4906
- e[35].Label), O(r, "class", "MethodLogo"), O(u, "class", "MethodTitle"), O(b, "class", "MethodProcessingTime"), O(p, "class", "Limits"), O(_, "class", "MethodLimits"), O(a, "class", "MethodInfo"), O(t, "class", g = `CarouselCardWrapper ${/*index*/
4883
+ t = A("div"), r = A("div"), n = A("img"), a = k(), s = A("div"), u = A("div"), l = A("span"), c = R(h), f = k(), b = A("div"), m = A("span"), v = R(p), E = k(), _ = A("div"), d = A("span"), y = R(S), B = k(), Y = R(G), Be = R(" / "), ye = R(K), Ce = k(), ve = R(ee), Oe = k(), kt(n.src, i = /*method*/
4884
+ e[35].LogoUrl) || M(n, "src", i), M(n, "alt", o = /*method*/
4885
+ e[35].Label), M(r, "class", "MethodLogo"), M(u, "class", "MethodTitle"), M(b, "class", "MethodProcessingTime"), M(d, "class", "Limits"), M(_, "class", "MethodLimits"), M(s, "class", "MethodInfo"), M(t, "class", g = `CarouselCardWrapper ${/*index*/
4907
4886
  e[34] === /*activeIndex*/
4908
4887
  e[3] ? "active" : ""}`);
4909
4888
  },
4910
4889
  m(re, N) {
4911
- F(re, t, N), T(t, r), T(r, n), T(t, s), T(t, a), T(a, u), T(u, l), T(l, c), T(a, f), T(a, b), T(b, m), T(m, v), T(a, E), T(a, _), T(_, p), T(p, y), T(p, M), T(p, Y), T(p, Me), T(p, ge), T(p, Be), T(p, ye), T(t, Ce), B || (D = ae(t, "click", te), B = !0);
4890
+ F(re, t, N), H(t, r), H(r, n), H(t, a), H(t, s), H(s, u), H(u, l), H(l, c), H(s, f), H(s, b), H(b, m), H(m, v), H(s, E), H(s, _), H(_, d), H(d, y), H(d, B), H(d, Y), H(d, Be), H(d, ye), H(d, Ce), H(d, ve), H(t, Oe), C || (D = ae(t, "click", te), C = !0);
4912
4891
  },
4913
4892
  p(re, N) {
4914
4893
  e = re, N[0] & /*promotedPaymentMethods*/
4915
- 4 && !Xt(n.src, i = /*method*/
4916
- e[35].LogoUrl) && O(n, "src", i), N[0] & /*promotedPaymentMethods*/
4894
+ 4 && !kt(n.src, i = /*method*/
4895
+ e[35].LogoUrl) && M(n, "src", i), N[0] & /*promotedPaymentMethods*/
4917
4896
  4 && o !== (o = /*method*/
4918
- e[35].Label) && O(n, "alt", o), N[0] & /*promotedPaymentMethods*/
4897
+ e[35].Label) && M(n, "alt", o), N[0] & /*promotedPaymentMethods*/
4919
4898
  4 && h !== (h = /*method*/
4920
4899
  (e[35].Label || /*method*/
4921
- e[35].Name) + "") && X(c, h), N[0] & /*$_, promotedPaymentMethods*/
4922
- 20 && d !== (d = /*$_*/
4900
+ e[35].Name) + "") && V(c, h), N[0] & /*$_, promotedPaymentMethods*/
4901
+ 20 && p !== (p = /*$_*/
4923
4902
  e[4](`${/*method*/
4924
- e[35].ProcessingTime}`) + "") && X(v, d), N[0] & /*$_*/
4903
+ e[35].ProcessingTime}`) + "") && V(v, p), N[0] & /*$_*/
4925
4904
  16 && S !== (S = /*$_*/
4926
- e[4]("generalMin") + "") && X(y, S), N[0] & /*promotedPaymentMethods*/
4905
+ e[4]("generalMin") + "") && V(y, S), N[0] & /*promotedPaymentMethods*/
4927
4906
  4 && G !== (G = De(
4928
4907
  /*method*/
4929
4908
  e[35].DisplayCurrency.MinAmountLimit,
4930
4909
  /*method*/
4931
4910
  e[35].DisplayCurrency.Name
4932
- ) + "") && X(Y, G), N[0] & /*$_*/
4911
+ ) + "") && V(Y, G), N[0] & /*$_*/
4933
4912
  16 && K !== (K = /*$_*/
4934
- e[4]("generalMax") + "") && X(ge, K), N[0] & /*promotedPaymentMethods*/
4913
+ e[4]("generalMax") + "") && V(ye, K), N[0] & /*promotedPaymentMethods*/
4935
4914
  4 && ee !== (ee = De(
4936
4915
  /*method*/
4937
4916
  e[35].DisplayCurrency.MaxAmountLimit,
4938
4917
  /*method*/
4939
4918
  e[35].DisplayCurrency.Name
4940
- ) + "") && X(ye, ee), N[0] & /*activeIndex*/
4919
+ ) + "") && V(ve, ee), N[0] & /*activeIndex*/
4941
4920
  8 && g !== (g = `CarouselCardWrapper ${/*index*/
4942
4921
  e[34] === /*activeIndex*/
4943
- e[3] ? "active" : ""}`) && O(t, "class", g);
4922
+ e[3] ? "active" : ""}`) && M(t, "class", g);
4944
4923
  },
4945
4924
  d(re) {
4946
- re && L(t), B = !1, D();
4925
+ re && L(t), C = !1, D();
4947
4926
  }
4948
4927
  };
4949
4928
  }
4950
- function _r(e) {
4929
+ function yr(e) {
4951
4930
  let t, r;
4952
4931
  return {
4953
4932
  c() {
4954
- t = P("div"), O(t, "class", r = `Dot ${/*index*/
4933
+ t = A("div"), M(t, "class", r = `Dot ${/*index*/
4955
4934
  e[34] === /*activeIndex*/
4956
4935
  e[3] ? "active" : ""}`);
4957
4936
  },
@@ -4962,61 +4941,61 @@ function _r(e) {
4962
4941
  i[0] & /*activeIndex*/
4963
4942
  8 && r !== (r = `Dot ${/*index*/
4964
4943
  n[34] === /*activeIndex*/
4965
- n[3] ? "active" : ""}`) && O(t, "class", r);
4944
+ n[3] ? "active" : ""}`) && M(t, "class", r);
4966
4945
  },
4967
4946
  d(n) {
4968
4947
  n && L(t);
4969
4948
  }
4970
4949
  };
4971
4950
  }
4972
- function Ko(e) {
4951
+ function qo(e) {
4973
4952
  let t, r;
4974
- function n(s, a) {
4953
+ function n(a, s) {
4975
4954
  return (
4976
4955
  /*promotedPaymentMethods*/
4977
- s[2].length > 0 ? Jo : qo
4956
+ a[2].length > 0 ? Yo : Qo
4978
4957
  );
4979
4958
  }
4980
4959
  let i = n(e), o = i(e);
4981
4960
  return {
4982
4961
  c() {
4983
- t = P("div"), r = P("div"), o.c(), O(r, "class", "CashierCarouselWarpper");
4962
+ t = A("div"), r = A("div"), o.c(), M(r, "class", "CashierCarouselWarpper");
4984
4963
  },
4985
- m(s, a) {
4986
- F(s, t, a), T(t, r), o.m(r, null), e[20](t);
4964
+ m(a, s) {
4965
+ F(a, t, s), H(t, r), o.m(r, null), e[20](t);
4987
4966
  },
4988
- p(s, a) {
4989
- i === (i = n(s)) && o ? o.p(s, a) : (o.d(1), o = i(s), o && (o.c(), o.m(r, null)));
4967
+ p(a, s) {
4968
+ i === (i = n(a)) && o ? o.p(a, s) : (o.d(1), o = i(a), o && (o.c(), o.m(r, null)));
4990
4969
  },
4991
4970
  i: I,
4992
4971
  o: I,
4993
- d(s) {
4994
- s && L(t), o.d(), e[20](null);
4972
+ d(a) {
4973
+ a && L(t), o.d(), e[20](null);
4995
4974
  }
4996
4975
  };
4997
4976
  }
4998
- function es(e, t, r) {
4977
+ function Jo(e, t, r) {
4999
4978
  let n;
5000
- bn(e, Mo, (g) => r(4, n = g));
5001
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: u = "2" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c = "" } = t, { translationurl: f = "" } = t, b, m = [], d = 0, v = !0, E = 0, _ = !1, p;
4979
+ mn(e, Ao, (g) => r(4, n = g));
4980
+ 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: f = "" } = t, b, m = [], p = 0, v = !0, E = 0, _ = !1, d;
5002
4981
  const S = (g) => {
5003
- g.data && g.data.type === "PromotedPaymentMethods" && (r(2, m = g.data.promotedPaymentMethods), r(3, d = Math.floor(m.length / 2)));
4982
+ g.data && g.data.type === "PromotedPaymentMethods" && (r(2, m = g.data.promotedPaymentMethods), r(3, p = Math.floor(m.length / 2)));
5004
4983
  };
5005
- Object.keys(br).forEach((g) => {
5006
- mr(g, br[g]);
4984
+ Object.keys(pr).forEach((g) => {
4985
+ dr(g, pr[g]);
5007
4986
  });
5008
4987
  const y = () => {
5009
4988
  let g = f;
5010
4989
  if (g)
5011
- return fetch(g).then((B) => B.json()).then((B) => {
5012
- Object.keys(B).forEach((D) => {
5013
- mr(D, B[D]);
4990
+ return fetch(g).then((C) => C.json()).then((C) => {
4991
+ Object.keys(C).forEach((D) => {
4992
+ dr(D, C[D]);
5014
4993
  });
5015
- }).catch((B) => {
5016
- console.log(B);
4994
+ }).catch((C) => {
4995
+ console.log(C);
5017
4996
  });
5018
- }, M = () => {
5019
- Qo(i);
4997
+ }, B = () => {
4998
+ zo(i);
5020
4999
  }, G = (g) => {
5021
5000
  g.Name, window.postMessage({ type: "SelectPayMeth", details: g }, window.location.href), dispatchEvent(new CustomEvent(
5022
5001
  "selectPayMeth",
@@ -5029,79 +5008,79 @@ function es(e, t, r) {
5029
5008
  ));
5030
5009
  }, Y = () => {
5031
5010
  let te;
5032
- return m.length % 2 === 1 ? te = Math.floor(m.length / 2) : te = m.length / 2 - 0.5, `translateX(${(te - d) * 165}px)`;
5033
- }, Me = (g) => {
5034
- E = g.touches[0].clientX, _ = !0, p.classList.add("dragging");
5011
+ return m.length % 2 === 1 ? te = Math.floor(m.length / 2) : te = m.length / 2 - 0.5, `translateX(${(te - p) * 165}px)`;
5012
+ }, Be = (g) => {
5013
+ E = g.touches[0].clientX, _ = !0, d.classList.add("dragging");
5035
5014
  }, K = (g) => {
5036
5015
  if (!_)
5037
5016
  return;
5038
- const B = g.touches[0].clientX;
5039
- Math.abs(B - E) > 10 && g.preventDefault();
5040
- }, ge = (g) => {
5017
+ const C = g.touches[0].clientX;
5018
+ Math.abs(C - E) > 10 && g.preventDefault();
5019
+ }, ye = (g) => {
5041
5020
  if (!_)
5042
5021
  return;
5043
- _ = !1, p.classList.remove("dragging");
5044
- const B = g.changedTouches[0].clientX, D = E - B;
5045
- Math.abs(D) > 50 && (D > 0 && d < m.length - 1 ? r(3, d++, d) : D < 0 && d > 0 && r(3, d--, d), r(1, p.style.transform = Y(), p));
5046
- }, Be = () => {
5047
- v && (r(1, p.style.transform = Y(), p), v = !1);
5022
+ _ = !1, d.classList.remove("dragging");
5023
+ const C = g.changedTouches[0].clientX, D = E - C;
5024
+ Math.abs(D) > 50 && (D > 0 && p < m.length - 1 ? r(3, p++, p) : D < 0 && p > 0 && r(3, p--, p), r(1, d.style.transform = Y(), d));
5025
+ }, Ce = () => {
5026
+ v && (r(1, d.style.transform = Y(), d), v = !1);
5048
5027
  };
5049
- Hn(() => (Xo(o, s, a, u), window.addEventListener("message", S), p && Y(), () => {
5028
+ Tn(() => (ko(o, a, s, u), window.addEventListener("message", S), d && Y(), () => {
5050
5029
  window.removeEventListener("message", S);
5051
5030
  }));
5052
5031
  const ee = (g) => G(g);
5053
- function ye(g) {
5032
+ function ve(g) {
5054
5033
  Ze[g ? "unshift" : "push"](() => {
5055
- p = g, r(1, p);
5034
+ d = g, r(1, d);
5056
5035
  });
5057
5036
  }
5058
- function Ce(g) {
5037
+ function Oe(g) {
5059
5038
  Ze[g ? "unshift" : "push"](() => {
5060
5039
  b = g, r(0, b);
5061
5040
  });
5062
5041
  }
5063
5042
  return e.$$set = (g) => {
5064
- "lang" in g && r(9, i = g.lang), "local" in g && r(10, o = g.local), "currencysymbol" in g && r(11, s = g.currencysymbol), "currencyposition" in g && r(12, a = g.currencyposition), "currencydecimals" in g && r(13, u = g.currencydecimals), "clientstyling" in g && r(14, l = g.clientstyling), "clientstylingurl" in g && r(15, h = g.clientstylingurl), "mbsource" in g && r(16, c = g.mbsource), "translationurl" in g && r(17, f = g.translationurl);
5043
+ "lang" in g && r(9, i = g.lang), "local" in g && r(10, o = g.local), "currencysymbol" in g && r(11, a = g.currencysymbol), "currencyposition" in g && r(12, s = g.currencyposition), "currencydecimals" in g && r(13, u = g.currencydecimals), "clientstyling" in g && r(14, l = g.clientstyling), "clientstylingurl" in g && r(15, h = g.clientstylingurl), "mbsource" in g && r(16, c = g.mbsource), "translationurl" in g && r(17, f = g.translationurl);
5065
5044
  }, e.$$.update = () => {
5066
5045
  e.$$.dirty[0] & /*lang*/
5067
- 512 && i && M(), e.$$.dirty[0] & /*lang, translationurl*/
5046
+ 512 && i && B(), e.$$.dirty[0] & /*lang, translationurl*/
5068
5047
  131584 && i && f && y(), e.$$.dirty[0] & /*carouselContainer*/
5069
- 2 && p && Be(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5070
- 16385 && l && b && Wo(b, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5071
- 32769 && h && b && zo(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5072
- 65537 && c && b && Zo(b, `${c}.Style`);
5048
+ 2 && d && Ce(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5049
+ 16385 && l && b && Vo(b, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5050
+ 32769 && h && b && Xo(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5051
+ 65537 && c && b && Wo(b, `${c}.Style`);
5073
5052
  }, [
5074
5053
  b,
5075
- p,
5076
- m,
5077
5054
  d,
5055
+ m,
5056
+ p,
5078
5057
  n,
5079
5058
  G,
5080
- Me,
5059
+ Be,
5081
5060
  K,
5082
- ge,
5061
+ ye,
5083
5062
  i,
5084
5063
  o,
5085
- s,
5086
5064
  a,
5065
+ s,
5087
5066
  u,
5088
5067
  l,
5089
5068
  h,
5090
5069
  c,
5091
5070
  f,
5092
5071
  ee,
5093
- ye,
5094
- Ce
5072
+ ve,
5073
+ Oe
5095
5074
  ];
5096
5075
  }
5097
- class un extends Rn {
5076
+ class an extends $n {
5098
5077
  constructor(t) {
5099
- super(), Nn(
5078
+ super(), Ln(
5100
5079
  this,
5101
5080
  t,
5102
- es,
5103
- Ko,
5104
- Er,
5081
+ Jo,
5082
+ qo,
5083
+ _r,
5105
5084
  {
5106
5085
  lang: 9,
5107
5086
  local: 10,
@@ -5113,7 +5092,7 @@ class un extends Rn {
5113
5092
  mbsource: 16,
5114
5093
  translationurl: 17
5115
5094
  },
5116
- Yo,
5095
+ Zo,
5117
5096
  [-1, -1]
5118
5097
  );
5119
5098
  }
@@ -5172,75 +5151,75 @@ class un extends Rn {
5172
5151
  this.$$set({ translationurl: t }), U();
5173
5152
  }
5174
5153
  }
5175
- $n(un, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5176
- const Ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5154
+ Nn(an, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5155
+ const Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5177
5156
  __proto__: null,
5178
- default: un
5157
+ default: an
5179
5158
  }, Symbol.toStringTag, { value: "Module" }));
5180
5159
  export {
5181
5160
  J as $,
5182
- Xt as A,
5183
- cs as B,
5184
- ae as C,
5185
- Wo as D,
5186
- zo as E,
5187
- Zo as F,
5188
- $n as G,
5189
- Mo as H,
5161
+ V as A,
5162
+ ae as B,
5163
+ bs as C,
5164
+ Ze as D,
5165
+ Vo as E,
5166
+ kt as F,
5167
+ ls as G,
5168
+ Ao as H,
5190
5169
  I,
5191
- Ke as J,
5192
- Gn as K,
5193
- Ts as L,
5194
- le as M,
5195
- as as N,
5196
- Hs as O,
5197
- Xo as P,
5198
- fs as Q,
5199
- bs as R,
5200
- Rn as S,
5201
- De as T,
5202
- Ne as U,
5203
- Wt as V,
5204
- hs as W,
5205
- z as X,
5206
- ps as Y,
5207
- us as Z,
5208
- ds as _,
5209
- Yr as a,
5210
- Bt as a0,
5211
- ws as a1,
5212
- ms as a2,
5213
- gs as a3,
5214
- Es as a4,
5215
- xs as a5,
5216
- ss as a6,
5217
- In as a7,
5170
+ Je as J,
5171
+ ws as K,
5172
+ Un as L,
5173
+ he as M,
5174
+ os as N,
5175
+ ps as O,
5176
+ Ss as P,
5177
+ hs as Q,
5178
+ Ne as R,
5179
+ $n as S,
5180
+ us as T,
5181
+ Vt as U,
5182
+ W as V,
5183
+ cs as W,
5184
+ De as X,
5185
+ ko as Y,
5186
+ ss as Z,
5187
+ fs as _,
5188
+ Zr as a,
5189
+ Pt as a0,
5190
+ ds as a1,
5191
+ xs as a2,
5192
+ ms as a3,
5193
+ vs as a4,
5194
+ _s as a5,
5195
+ is as a6,
5196
+ Es as a7,
5218
5197
  Cn as a8,
5219
- Ss as a9,
5220
- Ps as aa,
5221
- Nn as b,
5222
- gn as c,
5223
- rs as d,
5224
- L as e,
5198
+ On as a9,
5199
+ Ts as aa,
5200
+ Ln as b,
5201
+ Nn as c,
5202
+ bn as d,
5203
+ es as e,
5225
5204
  U as f,
5226
- Bn as g,
5227
- os as h,
5228
- ao as i,
5229
- ns as j,
5230
- ys as k,
5231
- vs as l,
5232
- F as m,
5233
- T as n,
5234
- P as o,
5235
- V as p,
5236
- O as q,
5237
- bn as r,
5238
- Er as s,
5239
- _s as t,
5240
- is as u,
5241
- Hn as v,
5242
- ls as w,
5243
- X as x,
5244
- R as y,
5245
- Ze as z
5205
+ A as g,
5206
+ k as h,
5207
+ oo as i,
5208
+ M as j,
5209
+ F as k,
5210
+ H as l,
5211
+ ns as m,
5212
+ ts as n,
5213
+ ys as o,
5214
+ gs as p,
5215
+ L as q,
5216
+ mn as r,
5217
+ _r as s,
5218
+ Bn as t,
5219
+ rs as u,
5220
+ Tn as v,
5221
+ Xo as w,
5222
+ Wo as x,
5223
+ as as y,
5224
+ R as z
5246
5225
  };