@everymatrix/transaction-history-page 1.86.3 → 1.86.5

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 (47) hide show
  1. package/components/{CashierHeader-By-ZkyIi.js → CashierHeader-BFyz2NLb.js} +1128 -1124
  2. package/components/CashierHeader-CAoFBxgF.cjs +8 -0
  3. package/components/{CashierHeader-CCurG7a8.js → CashierHeader-v6psWccn.js} +1161 -1157
  4. package/components/{CashierPagination-Cg54YjxZ.js → CashierPagination-B4-b2Sun.js} +17 -17
  5. package/components/{CashierPagination-BHxYTLul.cjs → CashierPagination-Bo8w5_y7.cjs} +1 -1
  6. package/components/{CashierPagination-CzfjM0jo.js → CashierPagination-C10lvbcu.js} +17 -17
  7. package/components/{CashierTransactionHistory-BsYJ7aKB.js → CashierTransactionHistory-D4TzpIIS.js} +71 -71
  8. package/components/{CashierTransactionHistory-KWEtX8aW.js → CashierTransactionHistory-DFDnXTIN.js} +71 -71
  9. package/components/{CashierTransactionHistory-BAzMhiMg.cjs → CashierTransactionHistory-DRSHGj9M.cjs} +1 -1
  10. package/components/{EmptyStateIcon-C0-c-dVk.js → EmptyStateIcon-BlAIbV8W.js} +6 -6
  11. package/components/{EmptyStateIcon-NI6jGXLz.cjs → EmptyStateIcon-DFf90wao.cjs} +1 -1
  12. package/components/{EmptyStateIcon-Fu_y3-ev.js → EmptyStateIcon-DX-Hkj4E.js} +6 -6
  13. package/components/{Tooltip-DbdcoOmQ.cjs → Tooltip-D4t6rGXm.cjs} +1 -1
  14. package/components/{Tooltip-CJZGVSQQ.js → Tooltip-DHZE7MTD.js} +17 -17
  15. package/components/{Tooltip-DWBI0qrF.js → Tooltip-uS44xoL4.js} +17 -17
  16. package/components/{TransactionHistoryCalendar-CBgqAe0m.js → TransactionHistoryCalendar-CrCrGszb.js} +85 -85
  17. package/components/{TransactionHistoryCalendar-laJw--eo.cjs → TransactionHistoryCalendar-DktCAtq3.cjs} +1 -1
  18. package/components/{TransactionHistoryCalendar-E8_YYz_A.js → TransactionHistoryCalendar-nl38DTOT.js} +86 -86
  19. package/components/{TransactionHistoryPage-BQdpAkOu.js → TransactionHistoryPage-Cg0BeRfM.js} +54 -54
  20. package/components/{TransactionHistoryPage-DMUftqXQ.js → TransactionHistoryPage-Sn0NPhQ-.js} +55 -55
  21. package/components/{TransactionHistoryPage-D7timkfE.cjs → TransactionHistoryPage-Wli6Z-hQ.cjs} +1 -1
  22. package/components/{TxnStatusIcon-BvjnX-fG.cjs → TxnStatusIcon-CQHDRu0v.cjs} +1 -1
  23. package/components/{TxnStatusIcon-un-PeXhX.js → TxnStatusIcon-DIauQOQd.js} +19 -19
  24. package/components/{TxnStatusIcon-CU0Ei_JB.js → TxnStatusIcon-ydSy6slW.js} +19 -19
  25. package/components/{TxnTypeIcons-CgsuQptL.js → TxnTypeIcons-0CnPOJuX.js} +14 -14
  26. package/components/{TxnTypeIcons-WSvF7bIC.js → TxnTypeIcons-CJ_Vynj7.js} +14 -14
  27. package/components/{TxnTypeIcons-ClufZhuz.cjs → TxnTypeIcons-D_uOq9hJ.cjs} +1 -1
  28. package/es2015/transaction-history-page.cjs +1 -1
  29. package/es2015/transaction-history-page.js +1 -1
  30. package/esnext/transaction-history-page.js +1 -1
  31. package/package.json +1 -1
  32. package/stencil/index-97d17652-B6BYeRne.js +542 -0
  33. package/stencil/index-97d17652-BOr4KAqq.js +558 -0
  34. package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
  35. package/stencil/{ui-image-BDXyFHck.cjs → ui-image-BX-FBhad.cjs} +1 -1
  36. package/stencil/{ui-image-Cc8wLmDe.js → ui-image-CP8Lp7fB.js} +1 -1
  37. package/stencil/{ui-image-wH6lu7wS.js → ui-image-Ch-GHki1.js} +1 -1
  38. package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
  39. package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
  40. package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
  41. package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-CmVho0dS.js} +2 -2
  42. package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
  43. package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-Daq38JGa.js} +2 -2
  44. package/components/CashierHeader-8HSHZMVb.cjs +0 -21
  45. package/stencil/index-97d17652-DvplcHtm.js +0 -558
  46. package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
  47. package/stencil/index-97d17652-p-iQtjus.js +0 -542
@@ -1,60 +1,60 @@
1
1
  function T() {
2
2
  }
3
3
  const At = (e) => e;
4
- function En(e, t) {
5
- for (const n in t)
6
- e[n] = t[n];
4
+ function Er(e, t) {
5
+ for (const r in t)
6
+ e[r] = t[r];
7
7
  return (
8
8
  /** @type {T & S} */
9
9
  e
10
10
  );
11
11
  }
12
- function Ct(e) {
12
+ function Ot(e) {
13
13
  return e();
14
14
  }
15
15
  function it() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
- function I(e) {
19
- e.forEach(Ct);
18
+ function M(e) {
19
+ e.forEach(Ot);
20
20
  }
21
- function se(e) {
21
+ function oe(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function Ot(e, t) {
24
+ function Pt(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
- let he;
28
- function Wi(e, t) {
29
- return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
27
+ let le;
28
+ function Zi(e, t) {
29
+ return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
30
30
  }
31
- function vn(e) {
31
+ function xr(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Pt(e, ...t) {
34
+ function Ct(e, ...t) {
35
35
  if (e == null) {
36
- for (const r of t)
37
- r(void 0);
36
+ for (const n of t)
37
+ n(void 0);
38
38
  return T;
39
39
  }
40
- const n = e.subscribe(...t);
41
- return n.unsubscribe ? () => n.unsubscribe() : n;
40
+ const r = e.subscribe(...t);
41
+ return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function Hn(e, t, n) {
44
- e.$$.on_destroy.push(Pt(t, n));
43
+ function vr(e, t, r) {
44
+ e.$$.on_destroy.push(Ct(t, r));
45
45
  }
46
- function Se(e, t, n, r) {
46
+ function Oe(e, t, r, n) {
47
47
  if (e) {
48
- const i = Lt(e, t, n, r);
48
+ const i = Lt(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Lt(e, t, n, r) {
53
- return e[1] && r ? En(n.ctx.slice(), e[1](r(t))) : n.ctx;
52
+ function Lt(e, t, r, n) {
53
+ return e[1] && n ? Er(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
- function Ae(e, t, n, r) {
56
- if (e[2] && r) {
57
- const i = e[2](r(n));
55
+ function Pe(e, t, r, n) {
56
+ if (e[2] && n) {
57
+ const i = e[2](n(r));
58
58
  if (t.dirty === void 0)
59
59
  return i;
60
60
  if (typeof i == "object") {
@@ -67,54 +67,54 @@ function Ae(e, t, n, r) {
67
67
  }
68
68
  return t.dirty;
69
69
  }
70
- function Ce(e, t, n, r, i, s) {
70
+ function Ce(e, t, r, n, i, s) {
71
71
  if (i) {
72
- const a = Lt(t, n, r, s);
72
+ const a = Lt(t, r, n, s);
73
73
  e.p(a, i);
74
74
  }
75
75
  }
76
- function Oe(e) {
76
+ function Le(e) {
77
77
  if (e.ctx.length > 32) {
78
- const t = [], n = e.ctx.length / 32;
79
- for (let r = 0; r < n; r++)
80
- t[r] = -1;
78
+ const t = [], r = e.ctx.length / 32;
79
+ for (let n = 0; n < r; n++)
80
+ t[n] = -1;
81
81
  return t;
82
82
  }
83
83
  return -1;
84
84
  }
85
- function Zi(e) {
85
+ function Qi(e) {
86
86
  return e ?? "";
87
87
  }
88
88
  const Nt = typeof window < "u";
89
- let It = Nt ? () => window.performance.now() : () => Date.now(), qe = Nt ? (e) => requestAnimationFrame(e) : T;
90
- const j = /* @__PURE__ */ new Set();
89
+ let It = Nt ? () => window.performance.now() : () => Date.now(), Ye = Nt ? (e) => requestAnimationFrame(e) : T;
90
+ const k = /* @__PURE__ */ new Set();
91
91
  function Mt(e) {
92
- j.forEach((t) => {
93
- t.c(e) || (j.delete(t), t.f());
94
- }), j.size !== 0 && qe(Mt);
92
+ k.forEach((t) => {
93
+ t.c(e) || (k.delete(t), t.f());
94
+ }), k.size !== 0 && Ye(Mt);
95
95
  }
96
96
  function $t(e) {
97
97
  let t;
98
- return j.size === 0 && qe(Mt), {
99
- promise: new Promise((n) => {
100
- j.add(t = { c: e, f: n });
98
+ return k.size === 0 && Ye(Mt), {
99
+ promise: new Promise((r) => {
100
+ k.add(t = { c: e, f: r });
101
101
  }),
102
102
  abort() {
103
- j.delete(t);
103
+ k.delete(t);
104
104
  }
105
105
  };
106
106
  }
107
- function ge(e, t) {
107
+ function be(e, t) {
108
108
  e.appendChild(t);
109
109
  }
110
- function wn(e, t, n) {
111
- const r = Je(e);
112
- if (!r.getElementById(t)) {
113
- const i = $("style");
114
- i.id = t, i.textContent = n, Rt(r, i);
110
+ function Hr(e, t, r) {
111
+ const n = Ke(e);
112
+ if (!n.getElementById(t)) {
113
+ const i = R("style");
114
+ i.id = t, i.textContent = r, Rt(n, i);
115
115
  }
116
116
  }
117
- function Je(e) {
117
+ function Ke(e) {
118
118
  if (!e)
119
119
  return document;
120
120
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -124,241 +124,241 @@ function Je(e) {
124
124
  t
125
125
  ) : e.ownerDocument;
126
126
  }
127
- function Tn(e) {
128
- const t = $("style");
129
- return t.textContent = "/* empty */", Rt(Je(e), t), t.sheet;
127
+ function wr(e) {
128
+ const t = R("style");
129
+ return t.textContent = "/* empty */", Rt(Ke(e), t), t.sheet;
130
130
  }
131
131
  function Rt(e, t) {
132
- return ge(
132
+ return be(
133
133
  /** @type {Document} */
134
134
  e.head || e,
135
135
  t
136
136
  ), t.sheet;
137
137
  }
138
- function M(e, t, n) {
139
- e.insertBefore(t, n || null);
138
+ function $(e, t, r) {
139
+ e.insertBefore(t, r || null);
140
140
  }
141
- function O(e) {
141
+ function C(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
- function Qi(e, t) {
145
- for (let n = 0; n < e.length; n += 1)
146
- e[n] && e[n].d(t);
144
+ function qi(e, t) {
145
+ for (let r = 0; r < e.length; r += 1)
146
+ e[r] && e[r].d(t);
147
147
  }
148
- function $(e) {
148
+ function R(e) {
149
149
  return document.createElement(e);
150
150
  }
151
- function qi(e) {
151
+ function Ji(e) {
152
152
  return document.createElementNS("http://www.w3.org/2000/svg", e);
153
153
  }
154
- function Ye(e) {
154
+ function et(e) {
155
155
  return document.createTextNode(e);
156
156
  }
157
157
  function st() {
158
- return Ye(" ");
158
+ return et(" ");
159
159
  }
160
160
  function Ut() {
161
- return Ye("");
161
+ return et("");
162
162
  }
163
- function Dt(e, t, n, r) {
164
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
163
+ function Dt(e, t, r, n) {
164
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
165
165
  }
166
- function Z(e, t, n) {
167
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
166
+ function Q(e, t, r) {
167
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
168
168
  }
169
- function Ji(e, t, n) {
170
- const r = t.toLowerCase();
171
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Z(e, t, n);
169
+ function Yi(e, t, r) {
170
+ const n = t.toLowerCase();
171
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Q(e, t, r);
172
172
  }
173
- function Bn(e) {
173
+ function Tr(e) {
174
174
  return Array.from(e.childNodes);
175
175
  }
176
- function Sn(e, t) {
176
+ function Br(e, t) {
177
177
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
178
178
  t);
179
179
  }
180
- function Yi(e, t, n, r) {
181
- n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
180
+ function Ki(e, t, r, n) {
181
+ r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
182
182
  }
183
- function Ki(e, t, n) {
184
- e.classList.toggle(t, !!n);
183
+ function es(e, t, r) {
184
+ e.classList.toggle(t, !!r);
185
185
  }
186
- function An(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
187
- return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
186
+ function Sr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
187
+ return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
188
188
  }
189
- function Cn(e) {
189
+ function Ar(e) {
190
190
  const t = {};
191
191
  return e.childNodes.forEach(
192
192
  /** @param {Element} node */
193
- (n) => {
194
- t[n.slot || "default"] = !0;
193
+ (r) => {
194
+ t[r.slot || "default"] = !0;
195
195
  }
196
196
  ), t;
197
197
  }
198
- const be = /* @__PURE__ */ new Map();
199
- let _e = 0;
200
- function On(e) {
201
- let t = 5381, n = e.length;
202
- for (; n--; )
203
- t = (t << 5) - t ^ e.charCodeAt(n);
198
+ const _e = /* @__PURE__ */ new Map();
199
+ let ye = 0;
200
+ function Or(e) {
201
+ let t = 5381, r = e.length;
202
+ for (; r--; )
203
+ t = (t << 5) - t ^ e.charCodeAt(r);
204
204
  return t >>> 0;
205
205
  }
206
- function Pn(e, t) {
207
- const n = { stylesheet: Tn(t), rules: {} };
208
- return be.set(e, n), n;
206
+ function Pr(e, t) {
207
+ const r = { stylesheet: wr(t), rules: {} };
208
+ return _e.set(e, r), r;
209
209
  }
210
- function Gt(e, t, n, r, i, s, a, o = 0) {
211
- const l = 16.666 / r;
210
+ function Gt(e, t, r, n, i, s, a, o = 0) {
211
+ const l = 16.666 / n;
212
212
  let u = `{
213
213
  `;
214
214
  for (let E = 0; E <= 1; E += l) {
215
- const v = t + (n - t) * s(E);
215
+ const v = t + (r - t) * s(E);
216
216
  u += E * 100 + `%{${a(v, 1 - v)}}
217
217
  `;
218
218
  }
219
- const h = u + `100% {${a(n, 1 - n)}}
220
- }`, f = `__svelte_${On(h)}_${o}`, m = Je(e), { stylesheet: d, rules: c } = be.get(m) || Pn(m, e);
221
- c[f] || (c[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
222
- const p = e.style.animation || "";
223
- return e.style.animation = `${p ? `${p}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, _e += 1, f;
224
- }
225
- function De(e, t) {
226
- const n = (e.style.animation || "").split(", "), r = n.filter(
219
+ const h = u + `100% {${a(r, 1 - r)}}
220
+ }`, f = `__svelte_${Or(h)}_${o}`, m = Ke(e), { stylesheet: p, rules: c } = _e.get(m) || Pr(m, e);
221
+ c[f] || (c[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
222
+ const d = e.style.animation || "";
223
+ return e.style.animation = `${d ? `${d}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, ye += 1, f;
224
+ }
225
+ function Fe(e, t) {
226
+ const r = (e.style.animation || "").split(", "), n = r.filter(
227
227
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
228
228
  // remove all Svelte animations
229
- ), i = n.length - r.length;
230
- i && (e.style.animation = r.join(", "), _e -= i, _e || Ln());
229
+ ), i = r.length - n.length;
230
+ i && (e.style.animation = n.join(", "), ye -= i, ye || Cr());
231
231
  }
232
- function Ln() {
233
- qe(() => {
234
- _e || (be.forEach((e) => {
232
+ function Cr() {
233
+ Ye(() => {
234
+ ye || (_e.forEach((e) => {
235
235
  const { ownerNode: t } = e.stylesheet;
236
- t && O(t);
237
- }), be.clear());
236
+ t && C(t);
237
+ }), _e.clear());
238
238
  });
239
239
  }
240
- let te;
241
- function ee(e) {
242
- te = e;
240
+ let re;
241
+ function te(e) {
242
+ re = e;
243
243
  }
244
- function Nn() {
245
- if (!te)
244
+ function Lr() {
245
+ if (!re)
246
246
  throw new Error("Function called outside component initialization");
247
- return te;
247
+ return re;
248
248
  }
249
- function In(e) {
250
- Nn().$$.on_mount.push(e);
249
+ function Nr(e) {
250
+ Lr().$$.on_mount.push(e);
251
251
  }
252
- const F = [], Ge = [];
253
- let k = [];
252
+ const j = [], je = [];
253
+ let V = [];
254
254
  const ot = [], Ft = /* @__PURE__ */ Promise.resolve();
255
- let Fe = !1;
255
+ let ke = !1;
256
256
  function jt() {
257
- Fe || (Fe = !0, Ft.then(A));
257
+ ke || (ke = !0, Ft.then(A));
258
258
  }
259
- function es() {
259
+ function ts() {
260
260
  return jt(), Ft;
261
261
  }
262
262
  function ne(e) {
263
- k.push(e);
263
+ V.push(e);
264
264
  }
265
- const Pe = /* @__PURE__ */ new Set();
266
- let D = 0;
265
+ const Ne = /* @__PURE__ */ new Set();
266
+ let G = 0;
267
267
  function A() {
268
- if (D !== 0)
268
+ if (G !== 0)
269
269
  return;
270
- const e = te;
270
+ const e = re;
271
271
  do {
272
272
  try {
273
- for (; D < F.length; ) {
274
- const t = F[D];
275
- D++, ee(t), Mn(t.$$);
273
+ for (; G < j.length; ) {
274
+ const t = j[G];
275
+ G++, te(t), Ir(t.$$);
276
276
  }
277
277
  } catch (t) {
278
- throw F.length = 0, D = 0, t;
278
+ throw j.length = 0, G = 0, t;
279
279
  }
280
- for (ee(null), F.length = 0, D = 0; Ge.length; )
281
- Ge.pop()();
282
- for (let t = 0; t < k.length; t += 1) {
283
- const n = k[t];
284
- Pe.has(n) || (Pe.add(n), n());
280
+ for (te(null), j.length = 0, G = 0; je.length; )
281
+ je.pop()();
282
+ for (let t = 0; t < V.length; t += 1) {
283
+ const r = V[t];
284
+ Ne.has(r) || (Ne.add(r), r());
285
285
  }
286
- k.length = 0;
287
- } while (F.length);
286
+ V.length = 0;
287
+ } while (j.length);
288
288
  for (; ot.length; )
289
289
  ot.pop()();
290
- Fe = !1, Pe.clear(), ee(e);
290
+ ke = !1, Ne.clear(), te(e);
291
291
  }
292
- function Mn(e) {
292
+ function Ir(e) {
293
293
  if (e.fragment !== null) {
294
- e.update(), I(e.before_update);
294
+ e.update(), M(e.before_update);
295
295
  const t = e.dirty;
296
296
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ne);
297
297
  }
298
298
  }
299
- function $n(e) {
300
- const t = [], n = [];
301
- k.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), k = t;
299
+ function Mr(e) {
300
+ const t = [], r = [];
301
+ V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
302
302
  }
303
- let J;
303
+ let Y;
304
304
  function kt() {
305
- return J || (J = Promise.resolve(), J.then(() => {
306
- J = null;
307
- })), J;
305
+ return Y || (Y = Promise.resolve(), Y.then(() => {
306
+ Y = null;
307
+ })), Y;
308
308
  }
309
- function ye(e, t, n) {
310
- e.dispatchEvent(An(`${t ? "intro" : "outro"}${n}`));
309
+ function Ee(e, t, r) {
310
+ e.dispatchEvent(Sr(`${t ? "intro" : "outro"}${r}`));
311
311
  }
312
- const fe = /* @__PURE__ */ new Set();
313
- let P;
314
- function ts() {
315
- P = {
312
+ const ce = /* @__PURE__ */ new Set();
313
+ let L;
314
+ function rs() {
315
+ L = {
316
316
  r: 0,
317
317
  c: [],
318
- p: P
318
+ p: L
319
319
  // parent group
320
320
  };
321
321
  }
322
322
  function ns() {
323
- P.r || I(P.c), P = P.p;
323
+ L.r || M(L.c), L = L.p;
324
324
  }
325
- function ce(e, t) {
326
- e && e.i && (fe.delete(e), e.i(t));
325
+ function me(e, t) {
326
+ e && e.i && (ce.delete(e), e.i(t));
327
327
  }
328
- function Le(e, t, n, r) {
328
+ function Ie(e, t, r, n) {
329
329
  if (e && e.o) {
330
- if (fe.has(e))
330
+ if (ce.has(e))
331
331
  return;
332
- fe.add(e), P.c.push(() => {
333
- fe.delete(e), r && (n && e.d(1), r());
332
+ ce.add(e), L.c.push(() => {
333
+ ce.delete(e), n && (r && e.d(1), n());
334
334
  }), e.o(t);
335
335
  } else
336
- r && r();
336
+ n && n();
337
337
  }
338
338
  const Vt = { duration: 0 };
339
- function rs(e, t, n) {
340
- const r = { direction: "in" };
341
- let i = t(e, n, r), s = !1, a, o, l = 0;
339
+ function is(e, t, r) {
340
+ const n = { direction: "in" };
341
+ let i = t(e, r, n), s = !1, a, o, l = 0;
342
342
  function u() {
343
- a && De(e, a);
343
+ a && Fe(e, a);
344
344
  }
345
345
  function h() {
346
346
  const {
347
347
  delay: m = 0,
348
- duration: d = 300,
348
+ duration: p = 300,
349
349
  easing: c = At,
350
- tick: p = T,
350
+ tick: d = T,
351
351
  css: E
352
352
  } = i || Vt;
353
- E && (a = Gt(e, 0, 1, d, m, c, E, l++)), p(0, 1);
354
- const v = It() + m, B = v + d;
355
- o && o.abort(), s = !0, ne(() => ye(e, !0, "start")), o = $t((H) => {
353
+ E && (a = Gt(e, 0, 1, p, m, c, E, l++)), d(0, 1);
354
+ const v = It() + m, B = v + p;
355
+ o && o.abort(), s = !0, ne(() => Ee(e, !0, "start")), o = $t((H) => {
356
356
  if (s) {
357
357
  if (H >= B)
358
- return p(1, 0), ye(e, !0, "end"), u(), s = !1;
358
+ return d(1, 0), Ee(e, !0, "end"), u(), s = !1;
359
359
  if (H >= v) {
360
- const S = c((H - v) / d);
361
- p(S, 1 - S);
360
+ const S = c((H - v) / p);
361
+ d(S, 1 - S);
362
362
  }
363
363
  }
364
364
  return s;
@@ -367,7 +367,7 @@ function rs(e, t, n) {
367
367
  let f = !1;
368
368
  return {
369
369
  start() {
370
- f || (f = !0, De(e), se(i) ? (i = i(r), kt().then(h)) : h());
370
+ f || (f = !0, Fe(e), oe(i) ? (i = i(n), kt().then(h)) : h());
371
371
  },
372
372
  invalidate() {
373
373
  f = !1;
@@ -377,10 +377,10 @@ function rs(e, t, n) {
377
377
  }
378
378
  };
379
379
  }
380
- function is(e, t, n) {
381
- const r = { direction: "out" };
382
- let i = t(e, n, r), s = !0, a;
383
- const o = P;
380
+ function ss(e, t, r) {
381
+ const n = { direction: "out" };
382
+ let i = t(e, r, n), s = !0, a;
383
+ const o = L;
384
384
  o.r += 1;
385
385
  let l;
386
386
  function u() {
@@ -388,55 +388,55 @@ function is(e, t, n) {
388
388
  delay: h = 0,
389
389
  duration: f = 300,
390
390
  easing: m = At,
391
- tick: d = T,
391
+ tick: p = T,
392
392
  css: c
393
393
  } = i || Vt;
394
394
  c && (a = Gt(e, 1, 0, f, h, m, c));
395
- const p = It() + h, E = p + f;
396
- ne(() => ye(e, !1, "start")), "inert" in e && (l = /** @type {HTMLElement} */
395
+ const d = It() + h, E = d + f;
396
+ ne(() => Ee(e, !1, "start")), "inert" in e && (l = /** @type {HTMLElement} */
397
397
  e.inert, e.inert = !0), $t((v) => {
398
398
  if (s) {
399
399
  if (v >= E)
400
- return d(0, 1), ye(e, !1, "end"), --o.r || I(o.c), !1;
401
- if (v >= p) {
402
- const B = m((v - p) / f);
403
- d(1 - B, B);
400
+ return p(0, 1), Ee(e, !1, "end"), --o.r || M(o.c), !1;
401
+ if (v >= d) {
402
+ const B = m((v - d) / f);
403
+ p(1 - B, B);
404
404
  }
405
405
  }
406
406
  return s;
407
407
  });
408
408
  }
409
- return se(i) ? kt().then(() => {
410
- i = i(r), u();
409
+ return oe(i) ? kt().then(() => {
410
+ i = i(n), u();
411
411
  }) : u(), {
412
412
  end(h) {
413
- h && "inert" in e && (e.inert = l), h && i.tick && i.tick(1, 0), s && (a && De(e, a), s = !1);
413
+ h && "inert" in e && (e.inert = l), h && i.tick && i.tick(1, 0), s && (a && Fe(e, a), s = !1);
414
414
  }
415
415
  };
416
416
  }
417
- function ss(e) {
417
+ function os(e) {
418
418
  return e?.length !== void 0 ? e : Array.from(e);
419
419
  }
420
- function os(e) {
420
+ function as(e) {
421
421
  e && e.c();
422
422
  }
423
- function Rn(e, t, n) {
424
- const { fragment: r, after_update: i } = e.$$;
425
- r && r.m(t, n), ne(() => {
426
- const s = e.$$.on_mount.map(Ct).filter(se);
427
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : I(s), e.$$.on_mount = [];
423
+ function $r(e, t, r) {
424
+ const { fragment: n, after_update: i } = e.$$;
425
+ n && n.m(t, r), ne(() => {
426
+ const s = e.$$.on_mount.map(Ot).filter(oe);
427
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : M(s), e.$$.on_mount = [];
428
428
  }), i.forEach(ne);
429
429
  }
430
- function Un(e, t) {
431
- const n = e.$$;
432
- n.fragment !== null && ($n(n.after_update), I(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
430
+ function Rr(e, t) {
431
+ const r = e.$$;
432
+ r.fragment !== null && (Mr(r.after_update), M(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
433
433
  }
434
- function Dn(e, t) {
435
- e.$$.dirty[0] === -1 && (F.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
434
+ function Ur(e, t) {
435
+ e.$$.dirty[0] === -1 && (j.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
436
436
  }
437
- function Gn(e, t, n, r, i, s, a = null, o = [-1]) {
438
- const l = te;
439
- ee(e);
437
+ function Dr(e, t, r, n, i, s, a = null, o = [-1]) {
438
+ const l = re;
439
+ te(e);
440
440
  const u = e.$$ = {
441
441
  fragment: null,
442
442
  ctx: [],
@@ -460,18 +460,18 @@ function Gn(e, t, n, r, i, s, a = null, o = [-1]) {
460
460
  };
461
461
  a && a(u.root);
462
462
  let h = !1;
463
- if (u.ctx = n ? n(e, t.props || {}, (f, m, ...d) => {
464
- const c = d.length ? d[0] : m;
465
- return u.ctx && i(u.ctx[f], u.ctx[f] = c) && (!u.skip_bound && u.bound[f] && u.bound[f](c), h && Dn(e, f)), m;
466
- }) : [], u.update(), h = !0, I(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
463
+ if (u.ctx = r ? r(e, t.props || {}, (f, m, ...p) => {
464
+ const c = p.length ? p[0] : m;
465
+ return u.ctx && i(u.ctx[f], u.ctx[f] = c) && (!u.skip_bound && u.bound[f] && u.bound[f](c), h && Ur(e, f)), m;
466
+ }) : [], u.update(), h = !0, M(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
467
467
  if (t.hydrate) {
468
- const f = Bn(t.target);
469
- u.fragment && u.fragment.l(f), f.forEach(O);
468
+ const f = Tr(t.target);
469
+ u.fragment && u.fragment.l(f), f.forEach(C);
470
470
  } else
471
471
  u.fragment && u.fragment.c();
472
- t.intro && ce(e.$$.fragment), Rn(e, t.target, t.anchor), A();
472
+ t.intro && me(e.$$.fragment), $r(e, t.target, t.anchor), A();
473
473
  }
474
- ee(l);
474
+ te(l);
475
475
  }
476
476
  let Xt;
477
477
  typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
@@ -493,20 +493,20 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
493
493
  $$l = {};
494
494
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
495
495
  $$l_u = /* @__PURE__ */ new Map();
496
- constructor(e, t, n) {
497
- super(), this.$$ctor = e, this.$$s = t, n && this.attachShadow({ mode: "open" });
496
+ constructor(e, t, r) {
497
+ super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
498
498
  }
499
- addEventListener(e, t, n) {
499
+ addEventListener(e, t, r) {
500
500
  if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
501
- const r = this.$$c.$on(e, t);
502
- this.$$l_u.set(t, r);
501
+ const n = this.$$c.$on(e, t);
502
+ this.$$l_u.set(t, n);
503
503
  }
504
- super.addEventListener(e, t, n);
504
+ super.addEventListener(e, t, r);
505
505
  }
506
- removeEventListener(e, t, n) {
507
- if (super.removeEventListener(e, t, n), this.$$c) {
508
- const r = this.$$l_u.get(t);
509
- r && (r(), this.$$l_u.delete(t));
506
+ removeEventListener(e, t, r) {
507
+ if (super.removeEventListener(e, t, r), this.$$c) {
508
+ const n = this.$$l_u.get(t);
509
+ n && (n(), this.$$l_u.delete(t));
510
510
  }
511
511
  }
512
512
  async connectedCallback() {
@@ -516,29 +516,29 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
516
516
  let s;
517
517
  return {
518
518
  c: function() {
519
- s = $("slot"), i !== "default" && Z(s, "name", i);
519
+ s = R("slot"), i !== "default" && Q(s, "name", i);
520
520
  },
521
521
  /**
522
522
  * @param {HTMLElement} target
523
523
  * @param {HTMLElement} [anchor]
524
524
  */
525
525
  m: function(l, u) {
526
- M(l, s, u);
526
+ $(l, s, u);
527
527
  },
528
528
  d: function(l) {
529
- l && O(s);
529
+ l && C(s);
530
530
  }
531
531
  };
532
532
  };
533
533
  };
534
534
  if (await Promise.resolve(), !this.$$cn || this.$$c)
535
535
  return;
536
- const t = {}, n = Cn(this);
536
+ const t = {}, r = Ar(this);
537
537
  for (const i of this.$$s)
538
- i in n && (t[i] = [e(i)]);
538
+ i in r && (t[i] = [e(i)]);
539
539
  for (const i of this.attributes) {
540
540
  const s = this.$$g_p(i.name);
541
- s in this.$$d || (this.$$d[s] = me(s, i.value, this.$$p_d, "toProp"));
541
+ s in this.$$d || (this.$$d[s] = pe(s, i.value, this.$$p_d, "toProp"));
542
542
  }
543
543
  for (const i in this.$$p_d)
544
544
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -552,11 +552,11 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
552
552
  }
553
553
  }
554
554
  });
555
- const r = () => {
555
+ const n = () => {
556
556
  this.$$r = !0;
557
557
  for (const i in this.$$p_d)
558
558
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
559
- const s = me(
559
+ const s = pe(
560
560
  i,
561
561
  this.$$d[i],
562
562
  this.$$p_d,
@@ -566,7 +566,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
566
566
  }
567
567
  this.$$r = !1;
568
568
  };
569
- this.$$c.$$.after_update.push(r), r();
569
+ this.$$c.$$.after_update.push(n), n();
570
570
  for (const i in this.$$l)
571
571
  for (const s of this.$$l[i]) {
572
572
  const a = this.$$c.$on(i, s);
@@ -577,8 +577,8 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
577
577
  }
578
578
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
579
579
  // and setting attributes through setAttribute etc, this is helpful
580
- attributeChangedCallback(e, t, n) {
581
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = me(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
580
+ attributeChangedCallback(e, t, r) {
581
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
582
582
  }
583
583
  disconnectedCallback() {
584
584
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -591,11 +591,11 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
591
591
  ) || e;
592
592
  }
593
593
  });
594
- function me(e, t, n, r) {
595
- const i = n[e]?.type;
596
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
594
+ function pe(e, t, r, n) {
595
+ const i = r[e]?.type;
596
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
597
597
  return t;
598
- if (r === "toAttribute")
598
+ if (n === "toAttribute")
599
599
  switch (i) {
600
600
  case "Object":
601
601
  case "Array":
@@ -620,10 +620,10 @@ function me(e, t, n, r) {
620
620
  return t;
621
621
  }
622
622
  }
623
- function Fn(e, t, n, r, i, s) {
623
+ function Gr(e, t, r, n, i, s) {
624
624
  let a = class extends Xt {
625
625
  constructor() {
626
- super(e, n, i), this.$$p_d = t;
626
+ super(e, r, i), this.$$p_d = t;
627
627
  }
628
628
  static get observedAttributes() {
629
629
  return Object.keys(t).map(
@@ -637,10 +637,10 @@ function Fn(e, t, n, r, i, s) {
637
637
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
638
638
  },
639
639
  set(l) {
640
- l = me(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
640
+ l = pe(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
641
641
  }
642
642
  });
643
- }), r.forEach((o) => {
643
+ }), n.forEach((o) => {
644
644
  Object.defineProperty(a.prototype, o, {
645
645
  get() {
646
646
  return this.$$c?.[o];
@@ -649,7 +649,7 @@ function Fn(e, t, n, r, i, s) {
649
649
  }), e.element = /** @type {any} */
650
650
  a, a;
651
651
  }
652
- class jn {
652
+ class Fr {
653
653
  /**
654
654
  * ### PRIVATE API
655
655
  *
@@ -668,7 +668,7 @@ class jn {
668
668
  $$set = void 0;
669
669
  /** @returns {void} */
670
670
  $destroy() {
671
- Un(this, 1), this.$destroy = T;
671
+ Rr(this, 1), this.$destroy = T;
672
672
  }
673
673
  /**
674
674
  * @template {Extract<keyof Events, string>} K
@@ -676,13 +676,13 @@ class jn {
676
676
  * @param {((e: Events[K]) => void) | null | undefined} callback
677
677
  * @returns {() => void}
678
678
  */
679
- $on(t, n) {
680
- if (!se(n))
679
+ $on(t, r) {
680
+ if (!oe(r))
681
681
  return T;
682
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
683
- return r.push(n), () => {
684
- const i = r.indexOf(n);
685
- i !== -1 && r.splice(i, 1);
682
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
683
+ return n.push(r), () => {
684
+ const i = n.indexOf(r);
685
+ i !== -1 && n.splice(i, 1);
686
686
  };
687
687
  }
688
688
  /**
@@ -690,54 +690,54 @@ class jn {
690
690
  * @returns {void}
691
691
  */
692
692
  $set(t) {
693
- this.$$set && !vn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
693
+ this.$$set && !xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
694
694
  }
695
695
  }
696
- const kn = "4";
697
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kn);
698
- function Vn(e, t) {
696
+ const jr = "4";
697
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
698
+ function kr(e, t) {
699
699
  if (e) {
700
- const n = document.createElement("style");
701
- n.innerHTML = t, e.appendChild(n);
700
+ const r = document.createElement("style");
701
+ r.innerHTML = t, e.appendChild(r);
702
702
  }
703
703
  }
704
- function Xn(e, t) {
704
+ function Vr(e, t) {
705
705
  if (!e || !t)
706
706
  return;
707
- const n = new URL(t);
708
- fetch(n.href).then((r) => r.text()).then((r) => {
707
+ const r = new URL(t);
708
+ fetch(r.href).then((n) => n.text()).then((n) => {
709
709
  const i = document.createElement("style");
710
- i.innerHTML = r, e && e.appendChild(i);
711
- }).catch((r) => {
712
- console.error("There was an error while trying to load client styling from URL", r);
710
+ i.innerHTML = n, e && e.appendChild(i);
711
+ }).catch((n) => {
712
+ console.error("There was an error while trying to load client styling from URL", n);
713
713
  });
714
714
  }
715
- function zn(e, t, n) {
715
+ function Xr(e, t, r) {
716
716
  if (window.emMessageBus) {
717
- const r = document.createElement("style");
717
+ const n = document.createElement("style");
718
718
  window.emMessageBus.subscribe(t, (i) => {
719
- r.innerHTML = i, e && e.appendChild(r);
719
+ n.innerHTML = i, e && e.appendChild(n);
720
720
  });
721
721
  }
722
722
  }
723
- const G = [];
724
- function Wn(e, t) {
723
+ const F = [];
724
+ function zr(e, t) {
725
725
  return {
726
- subscribe: He(e, t).subscribe
726
+ subscribe: Te(e, t).subscribe
727
727
  };
728
728
  }
729
- function He(e, t = T) {
730
- let n;
731
- const r = /* @__PURE__ */ new Set();
729
+ function Te(e, t = T) {
730
+ let r;
731
+ const n = /* @__PURE__ */ new Set();
732
732
  function i(o) {
733
- if (Ot(e, o) && (e = o, n)) {
734
- const l = !G.length;
735
- for (const u of r)
736
- u[1](), G.push(u, e);
733
+ if (Pt(e, o) && (e = o, r)) {
734
+ const l = !F.length;
735
+ for (const u of n)
736
+ u[1](), F.push(u, e);
737
737
  if (l) {
738
- for (let u = 0; u < G.length; u += 2)
739
- G[u][0](G[u + 1]);
740
- G.length = 0;
738
+ for (let u = 0; u < F.length; u += 2)
739
+ F[u][0](F[u + 1]);
740
+ F.length = 0;
741
741
  }
742
742
  }
743
743
  }
@@ -746,18 +746,18 @@ function He(e, t = T) {
746
746
  }
747
747
  function a(o, l = T) {
748
748
  const u = [o, l];
749
- return r.add(u), r.size === 1 && (n = t(i, s) || T), o(e), () => {
750
- r.delete(u), r.size === 0 && n && (n(), n = null);
749
+ return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
750
+ n.delete(u), n.size === 0 && r && (r(), r = null);
751
751
  };
752
752
  }
753
753
  return { set: i, update: s, subscribe: a };
754
754
  }
755
- function Q(e, t, n) {
756
- const r = !Array.isArray(e), i = r ? [e] : e;
755
+ function q(e, t, r) {
756
+ const n = !Array.isArray(e), i = n ? [e] : e;
757
757
  if (!i.every(Boolean))
758
758
  throw new Error("derived() expects stores as input, got a falsy value");
759
759
  const s = t.length < 2;
760
- return Wn(n, (a, o) => {
760
+ return zr(r, (a, o) => {
761
761
  let l = !1;
762
762
  const u = [];
763
763
  let h = 0, f = T;
@@ -765,66 +765,66 @@ function Q(e, t, n) {
765
765
  if (h)
766
766
  return;
767
767
  f();
768
- const c = t(r ? u[0] : u, a, o);
769
- s ? a(c) : f = se(c) ? c : T;
770
- }, d = i.map(
771
- (c, p) => Pt(
768
+ const c = t(n ? u[0] : u, a, o);
769
+ s ? a(c) : f = oe(c) ? c : T;
770
+ }, p = i.map(
771
+ (c, d) => Ct(
772
772
  c,
773
773
  (E) => {
774
- u[p] = E, h &= ~(1 << p), l && m();
774
+ u[d] = E, h &= ~(1 << d), l && m();
775
775
  },
776
776
  () => {
777
- h |= 1 << p;
777
+ h |= 1 << d;
778
778
  }
779
779
  )
780
780
  );
781
781
  return l = !0, m(), function() {
782
- I(d), f(), l = !1;
782
+ M(p), f(), l = !1;
783
783
  };
784
784
  });
785
785
  }
786
- var as = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
787
- function Zn(e) {
786
+ var us = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
787
+ function Wr(e) {
788
788
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
789
789
  }
790
- var Qn = function(t) {
791
- return qn(t) && !Jn(t);
790
+ var Zr = function(t) {
791
+ return Qr(t) && !qr(t);
792
792
  };
793
- function qn(e) {
793
+ function Qr(e) {
794
794
  return !!e && typeof e == "object";
795
795
  }
796
- function Jn(e) {
796
+ function qr(e) {
797
797
  var t = Object.prototype.toString.call(e);
798
- return t === "[object RegExp]" || t === "[object Date]" || er(e);
798
+ return t === "[object RegExp]" || t === "[object Date]" || Kr(e);
799
799
  }
800
- var Yn = typeof Symbol == "function" && Symbol.for, Kn = Yn ? Symbol.for("react.element") : 60103;
801
- function er(e) {
802
- return e.$$typeof === Kn;
800
+ var Jr = typeof Symbol == "function" && Symbol.for, Yr = Jr ? Symbol.for("react.element") : 60103;
801
+ function Kr(e) {
802
+ return e.$$typeof === Yr;
803
803
  }
804
- function tr(e) {
804
+ function en(e) {
805
805
  return Array.isArray(e) ? [] : {};
806
806
  }
807
- function re(e, t) {
808
- return t.clone !== !1 && t.isMergeableObject(e) ? V(tr(e), e, t) : e;
807
+ function ie(e, t) {
808
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(en(e), e, t) : e;
809
809
  }
810
- function nr(e, t, n) {
811
- return e.concat(t).map(function(r) {
812
- return re(r, n);
810
+ function tn(e, t, r) {
811
+ return e.concat(t).map(function(n) {
812
+ return ie(n, r);
813
813
  });
814
814
  }
815
- function rr(e, t) {
815
+ function rn(e, t) {
816
816
  if (!t.customMerge)
817
- return V;
818
- var n = t.customMerge(e);
819
- return typeof n == "function" ? n : V;
817
+ return X;
818
+ var r = t.customMerge(e);
819
+ return typeof r == "function" ? r : X;
820
820
  }
821
- function ir(e) {
821
+ function nn(e) {
822
822
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
823
823
  return Object.propertyIsEnumerable.call(e, t);
824
824
  }) : [];
825
825
  }
826
826
  function at(e) {
827
- return Object.keys(e).concat(ir(e));
827
+ return Object.keys(e).concat(nn(e));
828
828
  }
829
829
  function zt(e, t) {
830
830
  try {
@@ -833,193 +833,187 @@ function zt(e, t) {
833
833
  return !1;
834
834
  }
835
835
  }
836
- function sr(e, t) {
836
+ function sn(e, t) {
837
837
  return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
838
838
  }
839
- function or(e, t, n) {
840
- var r = {};
841
- return n.isMergeableObject(e) && at(e).forEach(function(i) {
842
- r[i] = re(e[i], n);
839
+ function on(e, t, r) {
840
+ var n = {};
841
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
842
+ n[i] = ie(e[i], r);
843
843
  }), at(t).forEach(function(i) {
844
- sr(e, i) || (zt(e, i) && n.isMergeableObject(t[i]) ? r[i] = rr(i, n)(e[i], t[i], n) : r[i] = re(t[i], n));
845
- }), r;
844
+ sn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
845
+ }), n;
846
846
  }
847
- function V(e, t, n) {
848
- n = n || {}, n.arrayMerge = n.arrayMerge || nr, n.isMergeableObject = n.isMergeableObject || Qn, n.cloneUnlessOtherwiseSpecified = re;
849
- var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
850
- return s ? r ? n.arrayMerge(e, t, n) : or(e, t, n) : re(t, n);
847
+ function X(e, t, r) {
848
+ r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = ie;
849
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
850
+ return s ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : ie(t, r);
851
851
  }
852
- V.all = function(t, n) {
852
+ X.all = function(t, r) {
853
853
  if (!Array.isArray(t))
854
854
  throw new Error("first argument should be an array");
855
- return t.reduce(function(r, i) {
856
- return V(r, i, n);
855
+ return t.reduce(function(n, i) {
856
+ return X(n, i, r);
857
857
  }, {});
858
858
  };
859
- var ar = V, ur = ar;
860
- const hr = /* @__PURE__ */ Zn(ur);
861
- /*! *****************************************************************************
862
- Copyright (c) Microsoft Corporation.
863
-
864
- Permission to use, copy, modify, and/or distribute this software for any
865
- purpose with or without fee is hereby granted.
866
-
867
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
868
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
869
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
870
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
871
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
872
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
873
- PERFORMANCE OF THIS SOFTWARE.
874
- ***************************************************************************** */
875
- var je = function(e, t) {
876
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
877
- n.__proto__ = r;
878
- } || function(n, r) {
879
- for (var i in r)
880
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
881
- }, je(e, t);
859
+ var an = X, un = an;
860
+ const hn = /* @__PURE__ */ Wr(un);
861
+ var Ve = function(e, t) {
862
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
863
+ r.__proto__ = n;
864
+ } || function(r, n) {
865
+ for (var i in n)
866
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
867
+ }, Ve(e, t);
882
868
  };
883
- function we(e, t) {
869
+ function Be(e, t) {
884
870
  if (typeof t != "function" && t !== null)
885
871
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
886
- je(e, t);
887
- function n() {
872
+ Ve(e, t);
873
+ function r() {
888
874
  this.constructor = e;
889
875
  }
890
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
891
- }
892
- var y = function() {
893
- return y = Object.assign || function(t) {
894
- for (var n, r = 1, i = arguments.length; r < i; r++) {
895
- n = arguments[r];
896
- for (var s in n)
897
- Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
876
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
877
+ }
878
+ var O = function() {
879
+ return O = Object.assign || function(t) {
880
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
881
+ r = arguments[n];
882
+ for (var s in r)
883
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
898
884
  }
899
885
  return t;
900
- }, y.apply(this, arguments);
886
+ }, O.apply(this, arguments);
901
887
  };
902
- function lr(e, t) {
903
- var n = {};
904
- for (var r in e)
905
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
888
+ function ln(e, t) {
889
+ var r = {};
890
+ for (var n in e)
891
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
906
892
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
907
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
908
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
909
- return n;
893
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
894
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
895
+ return r;
910
896
  }
911
- function Ne(e, t, n) {
912
- if (arguments.length === 2)
913
- for (var r = 0, i = t.length, s; r < i; r++)
914
- (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
915
- return e.concat(s || t);
897
+ function Me(e, t, r) {
898
+ if (r || arguments.length === 2)
899
+ for (var n = 0, i = t.length, s; n < i; n++)
900
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
901
+ return e.concat(s || Array.prototype.slice.call(t));
916
902
  }
917
- function Ie(e, t) {
918
- var n = t && t.cache ? t.cache : gr, r = t && t.serializer ? t.serializer : pr, i = t && t.strategy ? t.strategy : cr;
903
+ function $e(e, t) {
904
+ var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : mn;
919
905
  return i(e, {
920
- cache: n,
921
- serializer: r
906
+ cache: r,
907
+ serializer: n
922
908
  });
923
909
  }
924
- function fr(e) {
910
+ function fn(e) {
925
911
  return e == null || typeof e == "number" || typeof e == "boolean";
926
912
  }
927
- function Wt(e, t, n, r) {
928
- var i = fr(r) ? r : n(r), s = t.get(i);
929
- return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
913
+ function cn(e, t, r, n) {
914
+ var i = fn(n) ? n : r(n), s = t.get(i);
915
+ return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
930
916
  }
931
- function Zt(e, t, n) {
932
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
933
- return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
917
+ function Wt(e, t, r) {
918
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
919
+ return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
934
920
  }
935
- function Ke(e, t, n, r, i) {
936
- return n.bind(t, e, r, i);
921
+ function Zt(e, t, r, n, i) {
922
+ return r.bind(t, e, n, i);
937
923
  }
938
- function cr(e, t) {
939
- var n = e.length === 1 ? Wt : Zt;
940
- return Ke(e, this, n, t.cache.create(), t.serializer);
924
+ function mn(e, t) {
925
+ var r = e.length === 1 ? cn : Wt;
926
+ return Zt(e, this, r, t.cache.create(), t.serializer);
941
927
  }
942
- function mr(e, t) {
943
- return Ke(e, this, Zt, t.cache.create(), t.serializer);
928
+ function pn(e, t) {
929
+ return Zt(e, this, Wt, t.cache.create(), t.serializer);
944
930
  }
945
- function dr(e, t) {
946
- return Ke(e, this, Wt, t.cache.create(), t.serializer);
947
- }
948
- var pr = function() {
931
+ var dn = function() {
949
932
  return JSON.stringify(arguments);
950
- };
951
- function et() {
952
- this.cache = /* @__PURE__ */ Object.create(null);
953
- }
954
- et.prototype.get = function(e) {
955
- return this.cache[e];
956
- };
957
- et.prototype.set = function(e, t) {
958
- this.cache[e] = t;
959
- };
960
- var gr = {
933
+ }, gn = (
934
+ /** @class */
935
+ function() {
936
+ function e() {
937
+ this.cache = /* @__PURE__ */ Object.create(null);
938
+ }
939
+ return e.prototype.get = function(t) {
940
+ return this.cache[t];
941
+ }, e.prototype.set = function(t, r) {
942
+ this.cache[t] = r;
943
+ }, e;
944
+ }()
945
+ ), bn = {
961
946
  create: function() {
962
- return new et();
947
+ return new gn();
963
948
  }
964
- }, Me = {
965
- variadic: mr,
966
- monadic: dr
967
- }, g;
949
+ }, Re = {
950
+ variadic: pn
951
+ }, xe = function() {
952
+ return xe = Object.assign || function(t) {
953
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
954
+ r = arguments[n];
955
+ for (var s in r)
956
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
957
+ }
958
+ return t;
959
+ }, xe.apply(this, arguments);
960
+ };
961
+ var g;
968
962
  (function(e) {
969
963
  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";
970
964
  })(g || (g = {}));
971
- var x;
965
+ var y;
972
966
  (function(e) {
973
967
  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";
974
- })(x || (x = {}));
975
- var X;
968
+ })(y || (y = {}));
969
+ var z;
976
970
  (function(e) {
977
971
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
978
- })(X || (X = {}));
972
+ })(z || (z = {}));
979
973
  function ut(e) {
980
- return e.type === x.literal;
974
+ return e.type === y.literal;
981
975
  }
982
- function br(e) {
983
- return e.type === x.argument;
976
+ function _n(e) {
977
+ return e.type === y.argument;
984
978
  }
985
979
  function Qt(e) {
986
- return e.type === x.number;
980
+ return e.type === y.number;
987
981
  }
988
982
  function qt(e) {
989
- return e.type === x.date;
983
+ return e.type === y.date;
990
984
  }
991
985
  function Jt(e) {
992
- return e.type === x.time;
986
+ return e.type === y.time;
993
987
  }
994
988
  function Yt(e) {
995
- return e.type === x.select;
989
+ return e.type === y.select;
996
990
  }
997
991
  function Kt(e) {
998
- return e.type === x.plural;
992
+ return e.type === y.plural;
999
993
  }
1000
- function _r(e) {
1001
- return e.type === x.pound;
994
+ function yn(e) {
995
+ return e.type === y.pound;
1002
996
  }
1003
- function en(e) {
1004
- return e.type === x.tag;
997
+ function er(e) {
998
+ return e.type === y.tag;
1005
999
  }
1006
- function tn(e) {
1007
- return !!(e && typeof e == "object" && e.type === X.number);
1000
+ function tr(e) {
1001
+ return !!(e && typeof e == "object" && e.type === z.number);
1008
1002
  }
1009
- function ke(e) {
1010
- return !!(e && typeof e == "object" && e.type === X.dateTime);
1003
+ function Xe(e) {
1004
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1011
1005
  }
1012
- var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yr = /(?:[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;
1013
- function xr(e) {
1006
+ var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
1007
+ function xn(e) {
1014
1008
  var t = {};
1015
- return e.replace(yr, function(n) {
1016
- var r = n.length;
1017
- switch (n[0]) {
1009
+ return e.replace(En, function(r) {
1010
+ var n = r.length;
1011
+ switch (r[0]) {
1018
1012
  case "G":
1019
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1013
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1020
1014
  break;
1021
1015
  case "y":
1022
- t.year = r === 2 ? "2-digit" : "numeric";
1016
+ t.year = n === 2 ? "2-digit" : "numeric";
1023
1017
  break;
1024
1018
  case "Y":
1025
1019
  case "u":
@@ -1031,30 +1025,30 @@ function xr(e) {
1031
1025
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1032
1026
  case "M":
1033
1027
  case "L":
1034
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1028
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1035
1029
  break;
1036
1030
  case "w":
1037
1031
  case "W":
1038
1032
  throw new RangeError("`w/W` (week) patterns are not supported");
1039
1033
  case "d":
1040
- t.day = ["numeric", "2-digit"][r - 1];
1034
+ t.day = ["numeric", "2-digit"][n - 1];
1041
1035
  break;
1042
1036
  case "D":
1043
1037
  case "F":
1044
1038
  case "g":
1045
1039
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1046
1040
  case "E":
1047
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1041
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1048
1042
  break;
1049
1043
  case "e":
1050
- if (r < 4)
1044
+ if (n < 4)
1051
1045
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1052
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1046
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1053
1047
  break;
1054
1048
  case "c":
1055
- if (r < 4)
1049
+ if (n < 4)
1056
1050
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1057
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1051
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1058
1052
  break;
1059
1053
  case "a":
1060
1054
  t.hour12 = !0;
@@ -1063,32 +1057,32 @@ function xr(e) {
1063
1057
  case "B":
1064
1058
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1065
1059
  case "h":
1066
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1060
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1067
1061
  break;
1068
1062
  case "H":
1069
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1063
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1070
1064
  break;
1071
1065
  case "K":
1072
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1066
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1073
1067
  break;
1074
1068
  case "k":
1075
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1069
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1076
1070
  break;
1077
1071
  case "j":
1078
1072
  case "J":
1079
1073
  case "C":
1080
1074
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1081
1075
  case "m":
1082
- t.minute = ["numeric", "2-digit"][r - 1];
1076
+ t.minute = ["numeric", "2-digit"][n - 1];
1083
1077
  break;
1084
1078
  case "s":
1085
- t.second = ["numeric", "2-digit"][r - 1];
1079
+ t.second = ["numeric", "2-digit"][n - 1];
1086
1080
  break;
1087
1081
  case "S":
1088
1082
  case "A":
1089
1083
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1090
1084
  case "z":
1091
- t.timeZoneName = r < 4 ? "short" : "long";
1085
+ t.timeZoneName = n < 4 ? "short" : "long";
1092
1086
  break;
1093
1087
  case "Z":
1094
1088
  case "O":
@@ -1101,14 +1095,24 @@ function xr(e) {
1101
1095
  return "";
1102
1096
  }), t;
1103
1097
  }
1104
- var Er = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1105
- function vr(e) {
1098
+ var x = function() {
1099
+ return x = Object.assign || function(t) {
1100
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1101
+ r = arguments[n];
1102
+ for (var s in r)
1103
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1104
+ }
1105
+ return t;
1106
+ }, x.apply(this, arguments);
1107
+ };
1108
+ var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1109
+ function Hn(e) {
1106
1110
  if (e.length === 0)
1107
1111
  throw new Error("Number skeleton cannot be empty");
1108
- for (var t = e.split(Er).filter(function(m) {
1112
+ for (var t = e.split(vn).filter(function(m) {
1109
1113
  return m.length > 0;
1110
- }), n = [], r = 0, i = t; r < i.length; r++) {
1111
- var s = i[r], a = s.split("/");
1114
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1115
+ var s = i[n], a = s.split("/");
1112
1116
  if (a.length === 0)
1113
1117
  throw new Error("Invalid number skeleton");
1114
1118
  for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
@@ -1116,21 +1120,21 @@ function vr(e) {
1116
1120
  if (f.length === 0)
1117
1121
  throw new Error("Invalid number skeleton");
1118
1122
  }
1119
- n.push({ stem: o, options: l });
1123
+ r.push({ stem: o, options: l });
1120
1124
  }
1121
- return n;
1125
+ return r;
1122
1126
  }
1123
- function Hr(e) {
1127
+ function wn(e) {
1124
1128
  return e.replace(/^(.*?)-/, "");
1125
1129
  }
1126
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rn = /^(@+)?(\+|#+)?[rs]?$/g, wr = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
1130
+ var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Tn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1127
1131
  function lt(e) {
1128
1132
  var t = {};
1129
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rn, function(n, r, i) {
1130
- return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1133
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1134
+ 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)), "";
1131
1135
  }), t;
1132
1136
  }
1133
- function on(e) {
1137
+ function sr(e) {
1134
1138
  switch (e) {
1135
1139
  case "sign-auto":
1136
1140
  return {
@@ -1170,27 +1174,27 @@ function on(e) {
1170
1174
  };
1171
1175
  }
1172
1176
  }
1173
- function Tr(e) {
1177
+ function Bn(e) {
1174
1178
  var t;
1175
1179
  if (e[0] === "E" && e[1] === "E" ? (t = {
1176
1180
  notation: "engineering"
1177
1181
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1178
1182
  notation: "scientific"
1179
1183
  }, e = e.slice(1)), t) {
1180
- var n = e.slice(0, 2);
1181
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sn.test(e))
1184
+ var r = e.slice(0, 2);
1185
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1182
1186
  throw new Error("Malformed concise eng/scientific notation");
1183
1187
  t.minimumIntegerDigits = e.length;
1184
1188
  }
1185
1189
  return t;
1186
1190
  }
1187
1191
  function ft(e) {
1188
- var t = {}, n = on(e);
1189
- return n || t;
1192
+ var t = {}, r = sr(e);
1193
+ return r || t;
1190
1194
  }
1191
- function Br(e) {
1192
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
1193
- var i = r[n];
1195
+ function Sn(e) {
1196
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1197
+ var i = n[r];
1194
1198
  switch (i.stem) {
1195
1199
  case "percent":
1196
1200
  case "%":
@@ -1212,7 +1216,7 @@ function Br(e) {
1212
1216
  continue;
1213
1217
  case "measure-unit":
1214
1218
  case "unit":
1215
- t.style = "unit", t.unit = Hr(i.options[0]);
1219
+ t.style = "unit", t.unit = wn(i.options[0]);
1216
1220
  continue;
1217
1221
  case "compact-short":
1218
1222
  case "K":
@@ -1223,13 +1227,13 @@ function Br(e) {
1223
1227
  t.notation = "compact", t.compactDisplay = "long";
1224
1228
  continue;
1225
1229
  case "scientific":
1226
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1227
- return y(y({}, l), ft(u));
1230
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1231
+ return x(x({}, l), ft(u));
1228
1232
  }, {}));
1229
1233
  continue;
1230
1234
  case "engineering":
1231
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1232
- return y(y({}, l), ft(u));
1235
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1236
+ return x(x({}, l), ft(u));
1233
1237
  }, {}));
1234
1238
  continue;
1235
1239
  case "notation-simple":
@@ -1274,45 +1278,45 @@ function Br(e) {
1274
1278
  case "integer-width":
1275
1279
  if (i.options.length > 1)
1276
1280
  throw new RangeError("integer-width stems only accept a single optional option");
1277
- i.options[0].replace(wr, function(l, u, h, f, m, d) {
1281
+ i.options[0].replace(Tn, function(l, u, h, f, m, p) {
1278
1282
  if (u)
1279
1283
  t.minimumIntegerDigits = h.length;
1280
1284
  else {
1281
1285
  if (f && m)
1282
1286
  throw new Error("We currently do not support maximum integer digits");
1283
- if (d)
1287
+ if (p)
1284
1288
  throw new Error("We currently do not support exact integer digits");
1285
1289
  }
1286
1290
  return "";
1287
1291
  });
1288
1292
  continue;
1289
1293
  }
1290
- if (sn.test(i.stem)) {
1294
+ if (ir.test(i.stem)) {
1291
1295
  t.minimumIntegerDigits = i.stem.length;
1292
1296
  continue;
1293
1297
  }
1294
1298
  if (ht.test(i.stem)) {
1295
1299
  if (i.options.length > 1)
1296
1300
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1297
- i.stem.replace(ht, function(l, u, h, f, m, d) {
1298
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1301
+ i.stem.replace(ht, function(l, u, h, f, m, p) {
1302
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && p ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1299
1303
  });
1300
1304
  var s = i.options[0];
1301
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), lt(s)));
1305
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), lt(s)));
1302
1306
  continue;
1303
1307
  }
1304
- if (rn.test(i.stem)) {
1305
- t = y(y({}, t), lt(i.stem));
1308
+ if (nr.test(i.stem)) {
1309
+ t = x(x({}, t), lt(i.stem));
1306
1310
  continue;
1307
1311
  }
1308
- var a = on(i.stem);
1309
- a && (t = y(y({}, t), a));
1310
- var o = Tr(i.stem);
1311
- o && (t = y(y({}, t), o));
1312
+ var a = sr(i.stem);
1313
+ a && (t = x(x({}, t), a));
1314
+ var o = Bn(i.stem);
1315
+ o && (t = x(x({}, t), o));
1312
1316
  }
1313
1317
  return t;
1314
1318
  }
1315
- var le = {
1319
+ var fe = {
1316
1320
  "001": [
1317
1321
  "H",
1318
1322
  "h"
@@ -2727,23 +2731,23 @@ var le = {
2727
2731
  "h"
2728
2732
  ]
2729
2733
  };
2730
- function Sr(e, t) {
2731
- for (var n = "", r = 0; r < e.length; r++) {
2732
- var i = e.charAt(r);
2734
+ function An(e, t) {
2735
+ for (var r = "", n = 0; n < e.length; n++) {
2736
+ var i = e.charAt(n);
2733
2737
  if (i === "j") {
2734
- for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2735
- s++, r++;
2736
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Ar(t);
2738
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2739
+ s++, n++;
2740
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = On(t);
2737
2741
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2738
- n += l;
2742
+ r += l;
2739
2743
  for (; a-- > 0; )
2740
- n = u + n;
2744
+ r = u + r;
2741
2745
  } else
2742
- i === "J" ? n += "H" : n += i;
2746
+ i === "J" ? r += "H" : r += i;
2743
2747
  }
2744
- return n;
2748
+ return r;
2745
2749
  }
2746
- function Ar(e) {
2750
+ function On(e) {
2747
2751
  var t = e.hourCycle;
2748
2752
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2749
2753
  e.hourCycles && // @ts-ignore
@@ -2760,73 +2764,73 @@ function Ar(e) {
2760
2764
  default:
2761
2765
  throw new Error("Invalid hourCycle");
2762
2766
  }
2763
- var n = e.language, r;
2764
- n !== "root" && (r = e.maximize().region);
2765
- var i = le[r || ""] || le[n || ""] || le["".concat(n, "-001")] || le["001"];
2767
+ var r = e.language, n;
2768
+ r !== "root" && (n = e.maximize().region);
2769
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2766
2770
  return i[0];
2767
2771
  }
2768
- var $e, Cr = new RegExp("^".concat(nn.source, "*")), Or = new RegExp("".concat(nn.source, "*$"));
2772
+ var Ue, Pn = new RegExp("^".concat(rr.source, "*")), Cn = new RegExp("".concat(rr.source, "*$"));
2769
2773
  function b(e, t) {
2770
2774
  return { start: e, end: t };
2771
2775
  }
2772
- var Pr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Lr = !!String.fromCodePoint, Nr = !!Object.fromEntries, Ir = !!String.prototype.codePointAt, Mr = !!String.prototype.trimStart, $r = !!String.prototype.trimEnd, Rr = !!Number.isSafeInteger, Ur = Rr ? Number.isSafeInteger : function(e) {
2776
+ var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, In = !!Object.fromEntries, Mn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
2773
2777
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2774
- }, Ve = !0;
2778
+ }, ze = !0;
2775
2779
  try {
2776
- var Dr = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2777
- Ve = (($e = Dr.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
2780
+ var Gn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2781
+ ze = ((Ue = Gn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2778
2782
  } catch {
2779
- Ve = !1;
2783
+ ze = !1;
2780
2784
  }
2781
- var ct = Pr ? (
2785
+ var ct = Ln ? (
2782
2786
  // Native
2783
- function(t, n, r) {
2784
- return t.startsWith(n, r);
2787
+ function(t, r, n) {
2788
+ return t.startsWith(r, n);
2785
2789
  }
2786
2790
  ) : (
2787
2791
  // For IE11
2788
- function(t, n, r) {
2789
- return t.slice(r, r + n.length) === n;
2792
+ function(t, r, n) {
2793
+ return t.slice(n, n + r.length) === r;
2790
2794
  }
2791
- ), Xe = Lr ? String.fromCodePoint : (
2795
+ ), We = Nn ? String.fromCodePoint : (
2792
2796
  // IE11
2793
2797
  function() {
2794
- for (var t = [], n = 0; n < arguments.length; n++)
2795
- t[n] = arguments[n];
2796
- for (var r = "", i = t.length, s = 0, a; i > s; ) {
2798
+ for (var t = [], r = 0; r < arguments.length; r++)
2799
+ t[r] = arguments[r];
2800
+ for (var n = "", i = t.length, s = 0, a; i > s; ) {
2797
2801
  if (a = t[s++], a > 1114111)
2798
2802
  throw RangeError(a + " is not a valid code point");
2799
- r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2803
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2800
2804
  }
2801
- return r;
2805
+ return n;
2802
2806
  }
2803
2807
  ), mt = (
2804
2808
  // native
2805
- Nr ? Object.fromEntries : (
2809
+ In ? Object.fromEntries : (
2806
2810
  // Ponyfill
2807
2811
  function(t) {
2808
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
2809
- var s = i[r], a = s[0], o = s[1];
2810
- n[a] = o;
2812
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2813
+ var s = i[n], a = s[0], o = s[1];
2814
+ r[a] = o;
2811
2815
  }
2812
- return n;
2816
+ return r;
2813
2817
  }
2814
2818
  )
2815
- ), an = Ir ? (
2819
+ ), or = Mn ? (
2816
2820
  // Native
2817
- function(t, n) {
2818
- return t.codePointAt(n);
2821
+ function(t, r) {
2822
+ return t.codePointAt(r);
2819
2823
  }
2820
2824
  ) : (
2821
2825
  // IE 11
2822
- function(t, n) {
2823
- var r = t.length;
2824
- if (!(n < 0 || n >= r)) {
2825
- var i = t.charCodeAt(n), s;
2826
- return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2826
+ function(t, r) {
2827
+ var n = t.length;
2828
+ if (!(r < 0 || r >= n)) {
2829
+ var i = t.charCodeAt(r), s;
2830
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2827
2831
  }
2828
2832
  }
2829
- ), Gr = Mr ? (
2833
+ ), Fn = $n ? (
2830
2834
  // Native
2831
2835
  function(t) {
2832
2836
  return t.trimStart();
@@ -2834,9 +2838,9 @@ var ct = Pr ? (
2834
2838
  ) : (
2835
2839
  // Ponyfill
2836
2840
  function(t) {
2837
- return t.replace(Cr, "");
2841
+ return t.replace(Pn, "");
2838
2842
  }
2839
- ), Fr = $r ? (
2843
+ ), jn = Rn ? (
2840
2844
  // Native
2841
2845
  function(t) {
2842
2846
  return t.trimEnd();
@@ -2844,69 +2848,69 @@ var ct = Pr ? (
2844
2848
  ) : (
2845
2849
  // Ponyfill
2846
2850
  function(t) {
2847
- return t.replace(Or, "");
2851
+ return t.replace(Cn, "");
2848
2852
  }
2849
2853
  );
2850
- function un(e, t) {
2854
+ function ar(e, t) {
2851
2855
  return new RegExp(e, t);
2852
2856
  }
2853
- var ze;
2854
- if (Ve) {
2855
- var dt = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2856
- ze = function(t, n) {
2857
- var r;
2858
- dt.lastIndex = n;
2859
- var i = dt.exec(t);
2860
- return (r = i[1]) !== null && r !== void 0 ? r : "";
2857
+ var Ze;
2858
+ if (ze) {
2859
+ var pt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2860
+ Ze = function(t, r) {
2861
+ var n;
2862
+ pt.lastIndex = r;
2863
+ var i = pt.exec(t);
2864
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2861
2865
  };
2862
2866
  } else
2863
- ze = function(t, n) {
2864
- for (var r = []; ; ) {
2865
- var i = an(t, n);
2866
- if (i === void 0 || hn(i) || Xr(i))
2867
+ Ze = function(t, r) {
2868
+ for (var n = []; ; ) {
2869
+ var i = or(t, r);
2870
+ if (i === void 0 || ur(i) || zn(i))
2867
2871
  break;
2868
- r.push(i), n += i >= 65536 ? 2 : 1;
2872
+ n.push(i), r += i >= 65536 ? 2 : 1;
2869
2873
  }
2870
- return Xe.apply(void 0, r);
2874
+ return We.apply(void 0, n);
2871
2875
  };
2872
- var jr = (
2876
+ var kn = (
2873
2877
  /** @class */
2874
2878
  function() {
2875
- function e(t, n) {
2876
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
2879
+ function e(t, r) {
2880
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2877
2881
  }
2878
2882
  return e.prototype.parse = function() {
2879
2883
  if (this.offset() !== 0)
2880
2884
  throw Error("parser can only be used once");
2881
2885
  return this.parseMessage(0, "", !1);
2882
- }, e.prototype.parseMessage = function(t, n, r) {
2886
+ }, e.prototype.parseMessage = function(t, r, n) {
2883
2887
  for (var i = []; !this.isEOF(); ) {
2884
2888
  var s = this.char();
2885
2889
  if (s === 123) {
2886
- var a = this.parseArgument(t, r);
2890
+ var a = this.parseArgument(t, n);
2887
2891
  if (a.err)
2888
2892
  return a;
2889
2893
  i.push(a.val);
2890
2894
  } else {
2891
2895
  if (s === 125 && t > 0)
2892
2896
  break;
2893
- if (s === 35 && (n === "plural" || n === "selectordinal")) {
2897
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
2894
2898
  var o = this.clonePosition();
2895
2899
  this.bump(), i.push({
2896
- type: x.pound,
2900
+ type: y.pound,
2897
2901
  location: b(o, this.clonePosition())
2898
2902
  });
2899
2903
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2900
- if (r)
2904
+ if (n)
2901
2905
  break;
2902
2906
  return this.error(g.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2903
- } else if (s === 60 && !this.ignoreTag && We(this.peek() || 0)) {
2904
- var a = this.parseTag(t, n);
2907
+ } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2908
+ var a = this.parseTag(t, r);
2905
2909
  if (a.err)
2906
2910
  return a;
2907
2911
  i.push(a.val);
2908
2912
  } else {
2909
- var a = this.parseLiteral(t, n);
2913
+ var a = this.parseLiteral(t, r);
2910
2914
  if (a.err)
2911
2915
  return a;
2912
2916
  i.push(a.val);
@@ -2914,54 +2918,54 @@ var jr = (
2914
2918
  }
2915
2919
  }
2916
2920
  return { val: i, err: null };
2917
- }, e.prototype.parseTag = function(t, n) {
2918
- var r = this.clonePosition();
2921
+ }, e.prototype.parseTag = function(t, r) {
2922
+ var n = this.clonePosition();
2919
2923
  this.bump();
2920
2924
  var i = this.parseTagName();
2921
2925
  if (this.bumpSpace(), this.bumpIf("/>"))
2922
2926
  return {
2923
2927
  val: {
2924
- type: x.literal,
2928
+ type: y.literal,
2925
2929
  value: "<".concat(i, "/>"),
2926
- location: b(r, this.clonePosition())
2930
+ location: b(n, this.clonePosition())
2927
2931
  },
2928
2932
  err: null
2929
2933
  };
2930
2934
  if (this.bumpIf(">")) {
2931
- var s = this.parseMessage(t + 1, n, !0);
2935
+ var s = this.parseMessage(t + 1, r, !0);
2932
2936
  if (s.err)
2933
2937
  return s;
2934
2938
  var a = s.val, o = this.clonePosition();
2935
2939
  if (this.bumpIf("</")) {
2936
- if (this.isEOF() || !We(this.char()))
2940
+ if (this.isEOF() || !Qe(this.char()))
2937
2941
  return this.error(g.INVALID_TAG, b(o, this.clonePosition()));
2938
2942
  var l = this.clonePosition(), u = this.parseTagName();
2939
2943
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2940
2944
  val: {
2941
- type: x.tag,
2945
+ type: y.tag,
2942
2946
  value: i,
2943
2947
  children: a,
2944
- location: b(r, this.clonePosition())
2948
+ location: b(n, this.clonePosition())
2945
2949
  },
2946
2950
  err: null
2947
2951
  } : this.error(g.INVALID_TAG, b(o, this.clonePosition())));
2948
2952
  } else
2949
- return this.error(g.UNCLOSED_TAG, b(r, this.clonePosition()));
2953
+ return this.error(g.UNCLOSED_TAG, b(n, this.clonePosition()));
2950
2954
  } else
2951
- return this.error(g.INVALID_TAG, b(r, this.clonePosition()));
2955
+ return this.error(g.INVALID_TAG, b(n, this.clonePosition()));
2952
2956
  }, e.prototype.parseTagName = function() {
2953
2957
  var t = this.offset();
2954
- for (this.bump(); !this.isEOF() && Vr(this.char()); )
2958
+ for (this.bump(); !this.isEOF() && Xn(this.char()); )
2955
2959
  this.bump();
2956
2960
  return this.message.slice(t, this.offset());
2957
- }, e.prototype.parseLiteral = function(t, n) {
2958
- for (var r = this.clonePosition(), i = ""; ; ) {
2959
- var s = this.tryParseQuote(n);
2961
+ }, e.prototype.parseLiteral = function(t, r) {
2962
+ for (var n = this.clonePosition(), i = ""; ; ) {
2963
+ var s = this.tryParseQuote(r);
2960
2964
  if (s) {
2961
2965
  i += s;
2962
2966
  continue;
2963
2967
  }
2964
- var a = this.tryParseUnquoted(t, n);
2968
+ var a = this.tryParseUnquoted(t, r);
2965
2969
  if (a) {
2966
2970
  i += a;
2967
2971
  continue;
@@ -2973,14 +2977,14 @@ var jr = (
2973
2977
  }
2974
2978
  break;
2975
2979
  }
2976
- var l = b(r, this.clonePosition());
2980
+ var l = b(n, this.clonePosition());
2977
2981
  return {
2978
- val: { type: x.literal, value: i, location: l },
2982
+ val: { type: y.literal, value: i, location: l },
2979
2983
  err: null
2980
2984
  };
2981
2985
  }, e.prototype.tryParseLeftAngleBracket = function() {
2982
2986
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2983
- !kr(this.peek() || 0)) ? (this.bump(), "<") : null;
2987
+ !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
2984
2988
  }, e.prototype.tryParseQuote = function(t) {
2985
2989
  if (this.isEOF() || this.char() !== 39)
2986
2990
  return null;
@@ -3000,59 +3004,59 @@ var jr = (
3000
3004
  return null;
3001
3005
  }
3002
3006
  this.bump();
3003
- var n = [this.char()];
3007
+ var r = [this.char()];
3004
3008
  for (this.bump(); !this.isEOF(); ) {
3005
- var r = this.char();
3006
- if (r === 39)
3009
+ var n = this.char();
3010
+ if (n === 39)
3007
3011
  if (this.peek() === 39)
3008
- n.push(39), this.bump();
3012
+ r.push(39), this.bump();
3009
3013
  else {
3010
3014
  this.bump();
3011
3015
  break;
3012
3016
  }
3013
3017
  else
3014
- n.push(r);
3018
+ r.push(n);
3015
3019
  this.bump();
3016
3020
  }
3017
- return Xe.apply(void 0, n);
3018
- }, e.prototype.tryParseUnquoted = function(t, n) {
3021
+ return We.apply(void 0, r);
3022
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3019
3023
  if (this.isEOF())
3020
3024
  return null;
3021
- var r = this.char();
3022
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Xe(r));
3023
- }, e.prototype.parseArgument = function(t, n) {
3024
- var r = this.clonePosition();
3025
+ var n = this.char();
3026
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3027
+ }, e.prototype.parseArgument = function(t, r) {
3028
+ var n = this.clonePosition();
3025
3029
  if (this.bump(), this.bumpSpace(), this.isEOF())
3026
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, b(r, this.clonePosition()));
3030
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3027
3031
  if (this.char() === 125)
3028
- return this.bump(), this.error(g.EMPTY_ARGUMENT, b(r, this.clonePosition()));
3032
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3029
3033
  var i = this.parseIdentifierIfPossible().value;
3030
3034
  if (!i)
3031
- return this.error(g.MALFORMED_ARGUMENT, b(r, this.clonePosition()));
3035
+ return this.error(g.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3032
3036
  if (this.bumpSpace(), this.isEOF())
3033
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, b(r, this.clonePosition()));
3037
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3034
3038
  switch (this.char()) {
3035
3039
  case 125:
3036
3040
  return this.bump(), {
3037
3041
  val: {
3038
- type: x.argument,
3042
+ type: y.argument,
3039
3043
  // value does not include the opening and closing braces.
3040
3044
  value: i,
3041
- location: b(r, this.clonePosition())
3045
+ location: b(n, this.clonePosition())
3042
3046
  },
3043
3047
  err: null
3044
3048
  };
3045
3049
  case 44:
3046
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, b(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3050
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3047
3051
  default:
3048
- return this.error(g.MALFORMED_ARGUMENT, b(r, this.clonePosition()));
3052
+ return this.error(g.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3049
3053
  }
3050
3054
  }, e.prototype.parseIdentifierIfPossible = function() {
3051
- var t = this.clonePosition(), n = this.offset(), r = ze(this.message, n), i = n + r.length;
3055
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3052
3056
  this.bumpTo(i);
3053
3057
  var s = this.clonePosition(), a = b(t, s);
3054
- return { value: r, location: a };
3055
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3058
+ return { value: n, location: a };
3059
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3056
3060
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3057
3061
  switch (o) {
3058
3062
  case "":
@@ -3067,46 +3071,46 @@ var jr = (
3067
3071
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3068
3072
  if (f.err)
3069
3073
  return f;
3070
- var m = Fr(f.val);
3074
+ var m = jn(f.val);
3071
3075
  if (m.length === 0)
3072
3076
  return this.error(g.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3073
- var d = b(h, this.clonePosition());
3074
- u = { style: m, styleLocation: d };
3077
+ var p = b(h, this.clonePosition());
3078
+ u = { style: m, styleLocation: p };
3075
3079
  }
3076
3080
  var c = this.tryParseArgumentClose(i);
3077
3081
  if (c.err)
3078
3082
  return c;
3079
- var p = b(i, this.clonePosition());
3083
+ var d = b(i, this.clonePosition());
3080
3084
  if (u && ct(u?.style, "::", 0)) {
3081
- var E = Gr(u.style.slice(2));
3085
+ var E = Fn(u.style.slice(2));
3082
3086
  if (o === "number") {
3083
3087
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3084
3088
  return f.err ? f : {
3085
- val: { type: x.number, value: r, location: p, style: f.val },
3089
+ val: { type: y.number, value: n, location: d, style: f.val },
3086
3090
  err: null
3087
3091
  };
3088
3092
  } else {
3089
3093
  if (E.length === 0)
3090
- return this.error(g.EXPECT_DATE_TIME_SKELETON, p);
3094
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3091
3095
  var v = E;
3092
- this.locale && (v = Sr(E, this.locale));
3096
+ this.locale && (v = An(E, this.locale));
3093
3097
  var m = {
3094
- type: X.dateTime,
3098
+ type: z.dateTime,
3095
3099
  pattern: v,
3096
3100
  location: u.styleLocation,
3097
- parsedOptions: this.shouldParseSkeletons ? xr(v) : {}
3098
- }, B = o === "date" ? x.date : x.time;
3101
+ parsedOptions: this.shouldParseSkeletons ? xn(v) : {}
3102
+ }, B = o === "date" ? y.date : y.time;
3099
3103
  return {
3100
- val: { type: B, value: r, location: p, style: m },
3104
+ val: { type: B, value: n, location: d, style: m },
3101
3105
  err: null
3102
3106
  };
3103
3107
  }
3104
3108
  }
3105
3109
  return {
3106
3110
  val: {
3107
- type: o === "number" ? x.number : o === "date" ? x.date : x.time,
3108
- value: r,
3109
- location: p,
3111
+ type: o === "number" ? y.number : o === "date" ? y.date : y.time,
3112
+ value: n,
3113
+ location: d,
3110
3114
  style: (s = u?.style) !== null && s !== void 0 ? s : null
3111
3115
  },
3112
3116
  err: null
@@ -3117,9 +3121,9 @@ var jr = (
3117
3121
  case "select": {
3118
3122
  var H = this.clonePosition();
3119
3123
  if (this.bumpSpace(), !this.bumpIf(","))
3120
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
3124
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, xe({}, H)));
3121
3125
  this.bumpSpace();
3122
- var S = this.parseIdentifierIfPossible(), C = 0;
3126
+ var S = this.parseIdentifierIfPossible(), P = 0;
3123
3127
  if (o !== "select" && S.value === "offset") {
3124
3128
  if (!this.bumpIf(":"))
3125
3129
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3127,31 +3131,31 @@ var jr = (
3127
3131
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3128
3132
  if (f.err)
3129
3133
  return f;
3130
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), C = f.val;
3134
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), P = f.val;
3131
3135
  }
3132
- var U = this.tryParsePluralOrSelectOptions(t, o, n, S);
3133
- if (U.err)
3134
- return U;
3136
+ var D = this.tryParsePluralOrSelectOptions(t, o, r, S);
3137
+ if (D.err)
3138
+ return D;
3135
3139
  var c = this.tryParseArgumentClose(i);
3136
3140
  if (c.err)
3137
3141
  return c;
3138
- var ue = b(i, this.clonePosition());
3142
+ var he = b(i, this.clonePosition());
3139
3143
  return o === "select" ? {
3140
3144
  val: {
3141
- type: x.select,
3142
- value: r,
3143
- options: mt(U.val),
3144
- location: ue
3145
+ type: y.select,
3146
+ value: n,
3147
+ options: mt(D.val),
3148
+ location: he
3145
3149
  },
3146
3150
  err: null
3147
3151
  } : {
3148
3152
  val: {
3149
- type: x.plural,
3150
- value: r,
3151
- options: mt(U.val),
3152
- offset: C,
3153
+ type: y.plural,
3154
+ value: n,
3155
+ options: mt(D.val),
3156
+ offset: P,
3153
3157
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3154
- location: ue
3158
+ location: he
3155
3159
  },
3156
3160
  err: null
3157
3161
  };
@@ -3162,9 +3166,9 @@ var jr = (
3162
3166
  }, e.prototype.tryParseArgumentClose = function(t) {
3163
3167
  return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3164
3168
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3165
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3166
- var r = this.char();
3167
- switch (r) {
3169
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3170
+ var n = this.char();
3171
+ switch (n) {
3168
3172
  case 39: {
3169
3173
  this.bump();
3170
3174
  var i = this.clonePosition();
@@ -3182,7 +3186,7 @@ var jr = (
3182
3186
  t -= 1;
3183
3187
  else
3184
3188
  return {
3185
- val: this.message.slice(n.offset, this.offset()),
3189
+ val: this.message.slice(r.offset, this.offset()),
3186
3190
  err: null
3187
3191
  };
3188
3192
  break;
@@ -3193,30 +3197,30 @@ var jr = (
3193
3197
  }
3194
3198
  }
3195
3199
  return {
3196
- val: this.message.slice(n.offset, this.offset()),
3200
+ val: this.message.slice(r.offset, this.offset()),
3197
3201
  err: null
3198
3202
  };
3199
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3200
- var r = [];
3203
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3204
+ var n = [];
3201
3205
  try {
3202
- r = vr(t);
3206
+ n = Hn(t);
3203
3207
  } catch {
3204
- return this.error(g.INVALID_NUMBER_SKELETON, n);
3208
+ return this.error(g.INVALID_NUMBER_SKELETON, r);
3205
3209
  }
3206
3210
  return {
3207
3211
  val: {
3208
- type: X.number,
3209
- tokens: r,
3210
- location: n,
3211
- parsedOptions: this.shouldParseSkeletons ? Br(r) : {}
3212
+ type: z.number,
3213
+ tokens: n,
3214
+ location: r,
3215
+ parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
3212
3216
  },
3213
3217
  err: null
3214
3218
  };
3215
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3219
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3216
3220
  for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3217
3221
  if (u.length === 0) {
3218
3222
  var f = this.clonePosition();
3219
- if (n !== "select" && this.bumpIf("=")) {
3223
+ if (r !== "select" && this.bumpIf("=")) {
3220
3224
  var m = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3221
3225
  if (m.err)
3222
3226
  return m;
@@ -3225,29 +3229,29 @@ var jr = (
3225
3229
  break;
3226
3230
  }
3227
3231
  if (l.has(u))
3228
- return this.error(n === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3232
+ return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3229
3233
  u === "other" && (a = !0), this.bumpSpace();
3230
- var d = this.clonePosition();
3234
+ var p = this.clonePosition();
3231
3235
  if (!this.bumpIf("{"))
3232
- return this.error(n === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3233
- var c = this.parseMessage(t + 1, n, r);
3236
+ return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3237
+ var c = this.parseMessage(t + 1, r, n);
3234
3238
  if (c.err)
3235
3239
  return c;
3236
- var p = this.tryParseArgumentClose(d);
3237
- if (p.err)
3238
- return p;
3240
+ var d = this.tryParseArgumentClose(p);
3241
+ if (d.err)
3242
+ return d;
3239
3243
  o.push([
3240
3244
  u,
3241
3245
  {
3242
3246
  value: c.val,
3243
- location: b(d, this.clonePosition())
3247
+ location: b(p, this.clonePosition())
3244
3248
  }
3245
3249
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3246
3250
  }
3247
- return o.length === 0 ? this.error(n === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3248
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3249
- var r = 1, i = this.clonePosition();
3250
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3251
+ return o.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3252
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3253
+ var n = 1, i = this.clonePosition();
3254
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3251
3255
  for (var s = !1, a = 0; !this.isEOF(); ) {
3252
3256
  var o = this.char();
3253
3257
  if (o >= 48 && o <= 57)
@@ -3256,7 +3260,7 @@ var jr = (
3256
3260
  break;
3257
3261
  }
3258
3262
  var l = b(i, this.clonePosition());
3259
- return s ? (a *= r, Ur(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3263
+ return s ? (a *= n, Dn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3260
3264
  }, e.prototype.offset = function() {
3261
3265
  return this.position.offset;
3262
3266
  }, e.prototype.isEOF = function() {
@@ -3271,17 +3275,17 @@ var jr = (
3271
3275
  var t = this.position.offset;
3272
3276
  if (t >= this.message.length)
3273
3277
  throw Error("out of bound");
3274
- var n = an(this.message, t);
3275
- if (n === void 0)
3278
+ var r = or(this.message, t);
3279
+ if (r === void 0)
3276
3280
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3277
- return n;
3278
- }, e.prototype.error = function(t, n) {
3281
+ return r;
3282
+ }, e.prototype.error = function(t, r) {
3279
3283
  return {
3280
3284
  val: null,
3281
3285
  err: {
3282
3286
  kind: t,
3283
3287
  message: this.message,
3284
- location: n
3288
+ location: r
3285
3289
  }
3286
3290
  };
3287
3291
  }, e.prototype.bump = function() {
@@ -3291,127 +3295,127 @@ var jr = (
3291
3295
  }
3292
3296
  }, e.prototype.bumpIf = function(t) {
3293
3297
  if (ct(this.message, t, this.offset())) {
3294
- for (var n = 0; n < t.length; n++)
3298
+ for (var r = 0; r < t.length; r++)
3295
3299
  this.bump();
3296
3300
  return !0;
3297
3301
  }
3298
3302
  return !1;
3299
3303
  }, e.prototype.bumpUntil = function(t) {
3300
- var n = this.offset(), r = this.message.indexOf(t, n);
3301
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3304
+ var r = this.offset(), n = this.message.indexOf(t, r);
3305
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3302
3306
  }, e.prototype.bumpTo = function(t) {
3303
3307
  if (this.offset() > t)
3304
3308
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3305
3309
  for (t = Math.min(t, this.message.length); ; ) {
3306
- var n = this.offset();
3307
- if (n === t)
3310
+ var r = this.offset();
3311
+ if (r === t)
3308
3312
  break;
3309
- if (n > t)
3313
+ if (r > t)
3310
3314
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3311
3315
  if (this.bump(), this.isEOF())
3312
3316
  break;
3313
3317
  }
3314
3318
  }, e.prototype.bumpSpace = function() {
3315
- for (; !this.isEOF() && hn(this.char()); )
3319
+ for (; !this.isEOF() && ur(this.char()); )
3316
3320
  this.bump();
3317
3321
  }, e.prototype.peek = function() {
3318
3322
  if (this.isEOF())
3319
3323
  return null;
3320
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3321
- return r ?? null;
3324
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3325
+ return n ?? null;
3322
3326
  }, e;
3323
3327
  }()
3324
3328
  );
3325
- function We(e) {
3329
+ function Qe(e) {
3326
3330
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3327
3331
  }
3328
- function kr(e) {
3329
- return We(e) || e === 47;
3332
+ function Vn(e) {
3333
+ return Qe(e) || e === 47;
3330
3334
  }
3331
- function Vr(e) {
3335
+ function Xn(e) {
3332
3336
  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;
3333
3337
  }
3334
- function hn(e) {
3338
+ function ur(e) {
3335
3339
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3336
3340
  }
3337
- function Xr(e) {
3341
+ function zn(e) {
3338
3342
  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;
3339
3343
  }
3340
- function Ze(e) {
3344
+ function qe(e) {
3341
3345
  e.forEach(function(t) {
3342
3346
  if (delete t.location, Yt(t) || Kt(t))
3343
- for (var n in t.options)
3344
- delete t.options[n].location, Ze(t.options[n].value);
3347
+ for (var r in t.options)
3348
+ delete t.options[r].location, qe(t.options[r].value);
3345
3349
  else
3346
- Qt(t) && tn(t.style) || (qt(t) || Jt(t)) && ke(t.style) ? delete t.style.location : en(t) && Ze(t.children);
3350
+ Qt(t) && tr(t.style) || (qt(t) || Jt(t)) && Xe(t.style) ? delete t.style.location : er(t) && qe(t.children);
3347
3351
  });
3348
3352
  }
3349
- function zr(e, t) {
3350
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3351
- var n = new jr(e, t).parse();
3352
- if (n.err) {
3353
- var r = SyntaxError(g[n.err.kind]);
3354
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3353
+ function Wn(e, t) {
3354
+ t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3355
+ var r = new kn(e, t).parse();
3356
+ if (r.err) {
3357
+ var n = SyntaxError(g[r.err.kind]);
3358
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3355
3359
  }
3356
- return t?.captureLocation || Ze(n.val), n.val;
3360
+ return t?.captureLocation || qe(r.val), r.val;
3357
3361
  }
3358
- var z;
3362
+ var W;
3359
3363
  (function(e) {
3360
3364
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3361
- })(z || (z = {}));
3362
- var Te = (
3365
+ })(W || (W = {}));
3366
+ var Se = (
3363
3367
  /** @class */
3364
3368
  function(e) {
3365
- we(t, e);
3366
- function t(n, r, i) {
3367
- var s = e.call(this, n) || this;
3368
- return s.code = r, s.originalMessage = i, s;
3369
+ Be(t, e);
3370
+ function t(r, n, i) {
3371
+ var s = e.call(this, r) || this;
3372
+ return s.code = n, s.originalMessage = i, s;
3369
3373
  }
3370
3374
  return t.prototype.toString = function() {
3371
3375
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3372
3376
  }, t;
3373
3377
  }(Error)
3374
- ), pt = (
3378
+ ), dt = (
3375
3379
  /** @class */
3376
3380
  function(e) {
3377
- we(t, e);
3378
- function t(n, r, i, s) {
3379
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, s) || this;
3381
+ Be(t, e);
3382
+ function t(r, n, i, s) {
3383
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, s) || this;
3380
3384
  }
3381
3385
  return t;
3382
- }(Te)
3383
- ), Wr = (
3386
+ }(Se)
3387
+ ), Zn = (
3384
3388
  /** @class */
3385
3389
  function(e) {
3386
- we(t, e);
3387
- function t(n, r, i) {
3388
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), z.INVALID_VALUE, i) || this;
3390
+ Be(t, e);
3391
+ function t(r, n, i) {
3392
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3389
3393
  }
3390
3394
  return t;
3391
- }(Te)
3392
- ), Zr = (
3395
+ }(Se)
3396
+ ), Qn = (
3393
3397
  /** @class */
3394
3398
  function(e) {
3395
- we(t, e);
3396
- function t(n, r) {
3397
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), z.MISSING_VALUE, r) || this;
3399
+ Be(t, e);
3400
+ function t(r, n) {
3401
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3398
3402
  }
3399
3403
  return t;
3400
- }(Te)
3404
+ }(Se)
3401
3405
  ), w;
3402
3406
  (function(e) {
3403
3407
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3404
3408
  })(w || (w = {}));
3405
- function Qr(e) {
3406
- return e.length < 2 ? e : e.reduce(function(t, n) {
3407
- var r = t[t.length - 1];
3408
- return !r || r.type !== w.literal || n.type !== w.literal ? t.push(n) : r.value += n.value, t;
3409
+ function qn(e) {
3410
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3411
+ var n = t[t.length - 1];
3412
+ return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3409
3413
  }, []);
3410
3414
  }
3411
- function qr(e) {
3415
+ function Jn(e) {
3412
3416
  return typeof e == "function";
3413
3417
  }
3414
- function de(e, t, n, r, i, s, a) {
3418
+ function de(e, t, r, n, i, s, a) {
3415
3419
  if (e.length === 1 && ut(e[0]))
3416
3420
  return [
3417
3421
  {
@@ -3428,18 +3432,18 @@ function de(e, t, n, r, i, s, a) {
3428
3432
  });
3429
3433
  continue;
3430
3434
  }
3431
- if (_r(h)) {
3435
+ if (yn(h)) {
3432
3436
  typeof s == "number" && o.push({
3433
3437
  type: w.literal,
3434
- value: n.getNumberFormat(t).format(s)
3438
+ value: r.getNumberFormat(t).format(s)
3435
3439
  });
3436
3440
  continue;
3437
3441
  }
3438
3442
  var f = h.value;
3439
3443
  if (!(i && f in i))
3440
- throw new Zr(f, a);
3444
+ throw new Qn(f, a);
3441
3445
  var m = i[f];
3442
- if (br(h)) {
3446
+ if (_n(h)) {
3443
3447
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3444
3448
  type: typeof m == "string" ? w.literal : w.object,
3445
3449
  value: m
@@ -3447,129 +3451,129 @@ function de(e, t, n, r, i, s, a) {
3447
3451
  continue;
3448
3452
  }
3449
3453
  if (qt(h)) {
3450
- var d = typeof h.style == "string" ? r.date[h.style] : ke(h.style) ? h.style.parsedOptions : void 0;
3454
+ var p = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3451
3455
  o.push({
3452
3456
  type: w.literal,
3453
- value: n.getDateTimeFormat(t, d).format(m)
3457
+ value: r.getDateTimeFormat(t, p).format(m)
3454
3458
  });
3455
3459
  continue;
3456
3460
  }
3457
3461
  if (Jt(h)) {
3458
- var d = typeof h.style == "string" ? r.time[h.style] : ke(h.style) ? h.style.parsedOptions : r.time.medium;
3462
+ var p = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3459
3463
  o.push({
3460
3464
  type: w.literal,
3461
- value: n.getDateTimeFormat(t, d).format(m)
3465
+ value: r.getDateTimeFormat(t, p).format(m)
3462
3466
  });
3463
3467
  continue;
3464
3468
  }
3465
3469
  if (Qt(h)) {
3466
- var d = typeof h.style == "string" ? r.number[h.style] : tn(h.style) ? h.style.parsedOptions : void 0;
3467
- d && d.scale && (m = m * (d.scale || 1)), o.push({
3470
+ var p = typeof h.style == "string" ? n.number[h.style] : tr(h.style) ? h.style.parsedOptions : void 0;
3471
+ p && p.scale && (m = m * (p.scale || 1)), o.push({
3468
3472
  type: w.literal,
3469
- value: n.getNumberFormat(t, d).format(m)
3473
+ value: r.getNumberFormat(t, p).format(m)
3470
3474
  });
3471
3475
  continue;
3472
3476
  }
3473
- if (en(h)) {
3474
- var c = h.children, p = h.value, E = i[p];
3475
- if (!qr(E))
3476
- throw new Wr(p, "function", a);
3477
- var v = de(c, t, n, r, i, s), B = E(v.map(function(C) {
3478
- return C.value;
3477
+ if (er(h)) {
3478
+ var c = h.children, d = h.value, E = i[d];
3479
+ if (!Jn(E))
3480
+ throw new Zn(d, "function", a);
3481
+ var v = de(c, t, r, n, i, s), B = E(v.map(function(P) {
3482
+ return P.value;
3479
3483
  }));
3480
- Array.isArray(B) || (B = [B]), o.push.apply(o, B.map(function(C) {
3484
+ Array.isArray(B) || (B = [B]), o.push.apply(o, B.map(function(P) {
3481
3485
  return {
3482
- type: typeof C == "string" ? w.literal : w.object,
3483
- value: C
3486
+ type: typeof P == "string" ? w.literal : w.object,
3487
+ value: P
3484
3488
  };
3485
3489
  }));
3486
3490
  }
3487
3491
  if (Yt(h)) {
3488
3492
  var H = h.options[m] || h.options.other;
3489
3493
  if (!H)
3490
- throw new pt(h.value, m, Object.keys(h.options), a);
3491
- o.push.apply(o, de(H.value, t, n, r, i));
3494
+ throw new dt(h.value, m, Object.keys(h.options), a);
3495
+ o.push.apply(o, de(H.value, t, r, n, i));
3492
3496
  continue;
3493
3497
  }
3494
3498
  if (Kt(h)) {
3495
3499
  var H = h.options["=".concat(m)];
3496
3500
  if (!H) {
3497
3501
  if (!Intl.PluralRules)
3498
- throw new Te(`Intl.PluralRules is not available in this environment.
3502
+ throw new Se(`Intl.PluralRules is not available in this environment.
3499
3503
  Try polyfilling it using "@formatjs/intl-pluralrules"
3500
- `, z.MISSING_INTL_API, a);
3501
- var S = n.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3504
+ `, W.MISSING_INTL_API, a);
3505
+ var S = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3502
3506
  H = h.options[S] || h.options.other;
3503
3507
  }
3504
3508
  if (!H)
3505
- throw new pt(h.value, m, Object.keys(h.options), a);
3506
- o.push.apply(o, de(H.value, t, n, r, i, m - (h.offset || 0)));
3509
+ throw new dt(h.value, m, Object.keys(h.options), a);
3510
+ o.push.apply(o, de(H.value, t, r, n, i, m - (h.offset || 0)));
3507
3511
  continue;
3508
3512
  }
3509
3513
  }
3510
- return Qr(o);
3514
+ return qn(o);
3511
3515
  }
3512
- function Jr(e, t) {
3513
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3514
- return n[r] = y(y({}, e[r]), t[r] || {}), n;
3516
+ function Yn(e, t) {
3517
+ return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3518
+ return r[n] = O(O({}, e[n]), t[n] || {}), r;
3515
3519
  }, {})) : e;
3516
3520
  }
3517
- function Yr(e, t) {
3518
- return t ? Object.keys(e).reduce(function(n, r) {
3519
- return n[r] = Jr(e[r], t[r]), n;
3520
- }, y({}, e)) : e;
3521
+ function Kn(e, t) {
3522
+ return t ? Object.keys(e).reduce(function(r, n) {
3523
+ return r[n] = Yn(e[n], t[n]), r;
3524
+ }, O({}, e)) : e;
3521
3525
  }
3522
- function Re(e) {
3526
+ function De(e) {
3523
3527
  return {
3524
3528
  create: function() {
3525
3529
  return {
3526
3530
  get: function(t) {
3527
3531
  return e[t];
3528
3532
  },
3529
- set: function(t, n) {
3530
- e[t] = n;
3533
+ set: function(t, r) {
3534
+ e[t] = r;
3531
3535
  }
3532
3536
  };
3533
3537
  }
3534
3538
  };
3535
3539
  }
3536
- function Kr(e) {
3540
+ function ei(e) {
3537
3541
  return e === void 0 && (e = {
3538
3542
  number: {},
3539
3543
  dateTime: {},
3540
3544
  pluralRules: {}
3541
3545
  }), {
3542
- getNumberFormat: Ie(function() {
3543
- for (var t, n = [], r = 0; r < arguments.length; r++)
3544
- n[r] = arguments[r];
3545
- return new ((t = Intl.NumberFormat).bind.apply(t, Ne([void 0], n, !1)))();
3546
+ getNumberFormat: $e(function() {
3547
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3548
+ r[n] = arguments[n];
3549
+ return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
3546
3550
  }, {
3547
- cache: Re(e.number),
3548
- strategy: Me.variadic
3551
+ cache: De(e.number),
3552
+ strategy: Re.variadic
3549
3553
  }),
3550
- getDateTimeFormat: Ie(function() {
3551
- for (var t, n = [], r = 0; r < arguments.length; r++)
3552
- n[r] = arguments[r];
3553
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ne([void 0], n, !1)))();
3554
+ getDateTimeFormat: $e(function() {
3555
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3556
+ r[n] = arguments[n];
3557
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
3554
3558
  }, {
3555
- cache: Re(e.dateTime),
3556
- strategy: Me.variadic
3559
+ cache: De(e.dateTime),
3560
+ strategy: Re.variadic
3557
3561
  }),
3558
- getPluralRules: Ie(function() {
3559
- for (var t, n = [], r = 0; r < arguments.length; r++)
3560
- n[r] = arguments[r];
3561
- return new ((t = Intl.PluralRules).bind.apply(t, Ne([void 0], n, !1)))();
3562
+ getPluralRules: $e(function() {
3563
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3564
+ r[n] = arguments[n];
3565
+ return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
3562
3566
  }, {
3563
- cache: Re(e.pluralRules),
3564
- strategy: Me.variadic
3567
+ cache: De(e.pluralRules),
3568
+ strategy: Re.variadic
3565
3569
  })
3566
3570
  };
3567
3571
  }
3568
- var ln = (
3572
+ var hr = (
3569
3573
  /** @class */
3570
3574
  function() {
3571
- function e(t, n, r, i) {
3572
- n === void 0 && (n = e.defaultLocale);
3575
+ function e(t, r, n, i) {
3576
+ r === void 0 && (r = e.defaultLocale);
3573
3577
  var s = this;
3574
3578
  if (this.formatterCache = {
3575
3579
  number: {},
@@ -3592,18 +3596,18 @@ var ln = (
3592
3596
  };
3593
3597
  }, this.getAst = function() {
3594
3598
  return s.ast;
3595
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3599
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3596
3600
  if (this.message = t, !e.__parse)
3597
3601
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3598
3602
  var a = i || {};
3599
3603
  a.formatters;
3600
- var o = lr(a, ["formatters"]);
3601
- this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3604
+ var o = ln(a, ["formatters"]);
3605
+ this.ast = e.__parse(t, O(O({}, o), { locale: this.resolvedLocale }));
3602
3606
  } else
3603
3607
  this.ast = t;
3604
3608
  if (!Array.isArray(this.ast))
3605
3609
  throw new TypeError("A message must be provided as a String or AST.");
3606
- this.formats = Yr(e.formats, r), this.formatters = i && i.formatters || Kr(this.formatterCache);
3610
+ this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3607
3611
  }
3608
3612
  return Object.defineProperty(e, "defaultLocale", {
3609
3613
  get: function() {
@@ -3613,10 +3617,10 @@ var ln = (
3613
3617
  configurable: !0
3614
3618
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3615
3619
  if (!(typeof Intl.Locale > "u")) {
3616
- var n = Intl.NumberFormat.supportedLocalesOf(t);
3617
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3620
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3621
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3618
3622
  }
3619
- }, e.__parse = zr, e.formats = {
3623
+ }, e.__parse = Wn, e.formats = {
3620
3624
  number: {
3621
3625
  integer: {
3622
3626
  maximumFractionDigits: 0
@@ -3677,122 +3681,122 @@ var ln = (
3677
3681
  }, e;
3678
3682
  }()
3679
3683
  );
3680
- function ei(e, t) {
3684
+ function ti(e, t) {
3681
3685
  if (t == null)
3682
3686
  return;
3683
3687
  if (t in e)
3684
3688
  return e[t];
3685
- const n = t.split(".");
3686
- let r = e;
3687
- for (let i = 0; i < n.length; i++)
3688
- if (typeof r == "object") {
3689
+ const r = t.split(".");
3690
+ let n = e;
3691
+ for (let i = 0; i < r.length; i++)
3692
+ if (typeof n == "object") {
3689
3693
  if (i > 0) {
3690
- const s = n.slice(i, n.length).join(".");
3691
- if (s in r) {
3692
- r = r[s];
3694
+ const s = r.slice(i, r.length).join(".");
3695
+ if (s in n) {
3696
+ n = n[s];
3693
3697
  break;
3694
3698
  }
3695
3699
  }
3696
- r = r[n[i]];
3700
+ n = n[r[i]];
3697
3701
  } else
3698
- r = void 0;
3699
- return r;
3702
+ n = void 0;
3703
+ return n;
3700
3704
  }
3701
- const L = {}, ti = (e, t, n) => n && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = n), n), fn = (e, t) => {
3705
+ const N = {}, ri = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), lr = (e, t) => {
3702
3706
  if (t == null)
3703
3707
  return;
3704
- if (t in L && e in L[t])
3705
- return L[t][e];
3706
- const n = ae(t);
3707
- for (let r = 0; r < n.length; r++) {
3708
- const i = n[r], s = ri(i, e);
3708
+ if (t in N && e in N[t])
3709
+ return N[t][e];
3710
+ const r = ue(t);
3711
+ for (let n = 0; n < r.length; n++) {
3712
+ const i = r[n], s = ii(i, e);
3709
3713
  if (s)
3710
- return ti(e, t, s);
3714
+ return ri(e, t, s);
3711
3715
  }
3712
3716
  };
3713
3717
  let tt;
3714
- const oe = He({});
3718
+ const ae = Te({});
3715
3719
  function ni(e) {
3716
3720
  return tt[e] || null;
3717
3721
  }
3718
- function cn(e) {
3722
+ function fr(e) {
3719
3723
  return e in tt;
3720
3724
  }
3721
- function ri(e, t) {
3722
- if (!cn(e))
3725
+ function ii(e, t) {
3726
+ if (!fr(e))
3723
3727
  return null;
3724
- const n = ni(e);
3725
- return ei(n, t);
3728
+ const r = ni(e);
3729
+ return ti(r, t);
3726
3730
  }
3727
- function ii(e) {
3731
+ function si(e) {
3728
3732
  if (e == null)
3729
3733
  return;
3730
- const t = ae(e);
3731
- for (let n = 0; n < t.length; n++) {
3732
- const r = t[n];
3733
- if (cn(r))
3734
- return r;
3734
+ const t = ue(e);
3735
+ for (let r = 0; r < t.length; r++) {
3736
+ const n = t[r];
3737
+ if (fr(n))
3738
+ return n;
3735
3739
  }
3736
3740
  }
3737
- function mn(e, ...t) {
3738
- delete L[e], oe.update((n) => (n[e] = hr.all([n[e] || {}, ...t]), n));
3741
+ function cr(e, ...t) {
3742
+ delete N[e], ae.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3739
3743
  }
3740
- Q(
3741
- [oe],
3744
+ q(
3745
+ [ae],
3742
3746
  ([e]) => Object.keys(e)
3743
3747
  );
3744
- oe.subscribe((e) => tt = e);
3745
- const pe = {};
3746
- function si(e, t) {
3747
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3748
- }
3749
- function dn(e) {
3750
- return pe[e];
3751
- }
3752
- function oi(e) {
3753
- return ae(e).map((t) => {
3754
- const n = dn(t);
3755
- return [t, n ? [...n] : []];
3748
+ ae.subscribe((e) => tt = e);
3749
+ const ge = {};
3750
+ function oi(e, t) {
3751
+ ge[e].delete(t), ge[e].size === 0 && delete ge[e];
3752
+ }
3753
+ function mr(e) {
3754
+ return ge[e];
3755
+ }
3756
+ function ai(e) {
3757
+ return ue(e).map((t) => {
3758
+ const r = mr(t);
3759
+ return [t, r ? [...r] : []];
3756
3760
  }).filter(([, t]) => t.length > 0);
3757
3761
  }
3758
- function xe(e) {
3759
- return e == null ? !1 : ae(e).some(
3762
+ function ve(e) {
3763
+ return e == null ? !1 : ue(e).some(
3760
3764
  (t) => {
3761
- var n;
3762
- return (n = dn(t)) == null ? void 0 : n.size;
3765
+ var r;
3766
+ return (r = mr(t)) == null ? void 0 : r.size;
3763
3767
  }
3764
3768
  );
3765
3769
  }
3766
- function ai(e, t) {
3770
+ function ui(e, t) {
3767
3771
  return Promise.all(
3768
- t.map((r) => (si(e, r), r().then((i) => i.default || i)))
3769
- ).then((r) => mn(e, ...r));
3770
- }
3771
- const Y = {};
3772
- function pn(e) {
3773
- if (!xe(e))
3774
- return e in Y ? Y[e] : Promise.resolve();
3775
- const t = oi(e);
3776
- return Y[e] = Promise.all(
3772
+ t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
3773
+ ).then((n) => cr(e, ...n));
3774
+ }
3775
+ const K = {};
3776
+ function pr(e) {
3777
+ if (!ve(e))
3778
+ return e in K ? K[e] : Promise.resolve();
3779
+ const t = ai(e);
3780
+ return K[e] = Promise.all(
3777
3781
  t.map(
3778
- ([n, r]) => ai(n, r)
3782
+ ([r, n]) => ui(r, n)
3779
3783
  )
3780
3784
  ).then(() => {
3781
- if (xe(e))
3782
- return pn(e);
3783
- delete Y[e];
3784
- }), Y[e];
3785
+ if (ve(e))
3786
+ return pr(e);
3787
+ delete K[e];
3788
+ }), K[e];
3785
3789
  }
3786
- var gt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, li = (e, t) => {
3787
- var n = {};
3788
- for (var r in e)
3789
- ui.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3790
+ var gt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, fi = (e, t) => {
3791
+ var r = {};
3792
+ for (var n in e)
3793
+ hi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3790
3794
  if (e != null && gt)
3791
- for (var r of gt(e))
3792
- t.indexOf(r) < 0 && hi.call(e, r) && (n[r] = e[r]);
3793
- return n;
3795
+ for (var n of gt(e))
3796
+ t.indexOf(n) < 0 && li.call(e, n) && (r[n] = e[n]);
3797
+ return r;
3794
3798
  };
3795
- const fi = {
3799
+ const ci = {
3796
3800
  number: {
3797
3801
  scientific: { notation: "scientific" },
3798
3802
  engineering: { notation: "engineering" },
@@ -3822,174 +3826,174 @@ const fi = {
3822
3826
  }
3823
3827
  }
3824
3828
  };
3825
- function ci({ locale: e, id: t }) {
3829
+ function mi({ locale: e, id: t }) {
3826
3830
  console.warn(
3827
- `[svelte-i18n] The message "${t}" was not found in "${ae(
3831
+ `[svelte-i18n] The message "${t}" was not found in "${ue(
3828
3832
  e
3829
- ).join('", "')}".${xe(N()) ? `
3833
+ ).join('", "')}".${ve(I()) ? `
3830
3834
 
3831
3835
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3832
3836
  );
3833
3837
  }
3834
- const mi = {
3838
+ const pi = {
3835
3839
  fallbackLocale: null,
3836
3840
  loadingDelay: 200,
3837
- formats: fi,
3841
+ formats: ci,
3838
3842
  warnOnMissingMessages: !0,
3839
3843
  handleMissingMessage: void 0,
3840
3844
  ignoreTag: !0
3841
- }, K = mi;
3842
- function W() {
3843
- return K;
3845
+ }, ee = pi;
3846
+ function Z() {
3847
+ return ee;
3844
3848
  }
3845
3849
  function di(e) {
3846
- const t = e, { formats: n } = t, r = li(t, ["formats"]);
3850
+ const t = e, { formats: r } = t, n = fi(t, ["formats"]);
3847
3851
  let i = e.fallbackLocale;
3848
3852
  if (e.initialLocale)
3849
3853
  try {
3850
- ln.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3854
+ hr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3851
3855
  } catch {
3852
3856
  console.warn(
3853
3857
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3854
3858
  );
3855
3859
  }
3856
- return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = ci : console.warn(
3860
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = mi : console.warn(
3857
3861
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3858
- )), Object.assign(K, r, { initialLocale: i }), n && ("number" in n && Object.assign(K.formats.number, n.number), "date" in n && Object.assign(K.formats.date, n.date), "time" in n && Object.assign(K.formats.time, n.time)), R.set(i);
3862
+ )), 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)), U.set(i);
3859
3863
  }
3860
- const Ue = He(!1);
3861
- var pi = Object.defineProperty, gi = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, _i = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, _t = (e, t, n) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xi = (e, t) => {
3862
- for (var n in t || (t = {}))
3863
- _i.call(t, n) && _t(e, n, t[n]);
3864
+ const Ge = Te(!1);
3865
+ var gi = Object.defineProperty, bi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xi = (e, t) => {
3866
+ for (var r in t || (t = {}))
3867
+ yi.call(t, r) && _t(e, r, t[r]);
3864
3868
  if (bt)
3865
- for (var n of bt(t))
3866
- yi.call(t, n) && _t(e, n, t[n]);
3869
+ for (var r of bt(t))
3870
+ Ei.call(t, r) && _t(e, r, t[r]);
3867
3871
  return e;
3868
- }, Ei = (e, t) => gi(e, bi(t));
3869
- let Qe;
3870
- const Ee = He(null);
3872
+ }, vi = (e, t) => bi(e, _i(t));
3873
+ let Je;
3874
+ const He = Te(null);
3871
3875
  function yt(e) {
3872
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3876
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3873
3877
  }
3874
- function ae(e, t = W().fallbackLocale) {
3875
- const n = yt(e);
3876
- return t ? [.../* @__PURE__ */ new Set([...n, ...yt(t)])] : n;
3878
+ function ue(e, t = Z().fallbackLocale) {
3879
+ const r = yt(e);
3880
+ return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
3877
3881
  }
3878
- function N() {
3879
- return Qe ?? void 0;
3882
+ function I() {
3883
+ return Je ?? void 0;
3880
3884
  }
3881
- Ee.subscribe((e) => {
3882
- Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3885
+ He.subscribe((e) => {
3886
+ Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3883
3887
  });
3884
- const vi = (e) => {
3885
- if (e && ii(e) && xe(e)) {
3886
- const { loadingDelay: t } = W();
3887
- let n;
3888
- return typeof window < "u" && N() != null && t ? n = window.setTimeout(
3889
- () => Ue.set(!0),
3888
+ const Hi = (e) => {
3889
+ if (e && si(e) && ve(e)) {
3890
+ const { loadingDelay: t } = Z();
3891
+ let r;
3892
+ return typeof window < "u" && I() != null && t ? r = window.setTimeout(
3893
+ () => Ge.set(!0),
3890
3894
  t
3891
- ) : Ue.set(!0), pn(e).then(() => {
3892
- Ee.set(e);
3895
+ ) : Ge.set(!0), pr(e).then(() => {
3896
+ He.set(e);
3893
3897
  }).finally(() => {
3894
- clearTimeout(n), Ue.set(!1);
3898
+ clearTimeout(r), Ge.set(!1);
3895
3899
  });
3896
3900
  }
3897
- return Ee.set(e);
3898
- }, R = Ei(xi({}, Ee), {
3899
- set: vi
3900
- }), Be = (e) => {
3901
+ return He.set(e);
3902
+ }, U = vi(xi({}, He), {
3903
+ set: Hi
3904
+ }), Ae = (e) => {
3901
3905
  const t = /* @__PURE__ */ Object.create(null);
3902
- return (r) => {
3903
- const i = JSON.stringify(r);
3904
- return i in t ? t[i] : t[i] = e(r);
3906
+ return (n) => {
3907
+ const i = JSON.stringify(n);
3908
+ return i in t ? t[i] : t[i] = e(n);
3905
3909
  };
3906
3910
  };
3907
- var Hi = Object.defineProperty, ve = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, xt = (e, t, n) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, nt = (e, t) => {
3908
- for (var n in t || (t = {}))
3909
- gn.call(t, n) && xt(e, n, t[n]);
3910
- if (ve)
3911
- for (var n of ve(t))
3912
- bn.call(t, n) && xt(e, n, t[n]);
3911
+ var wi = Object.defineProperty, we = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
3912
+ for (var r in t || (t = {}))
3913
+ dr.call(t, r) && Et(e, r, t[r]);
3914
+ if (we)
3915
+ for (var r of we(t))
3916
+ gr.call(t, r) && Et(e, r, t[r]);
3913
3917
  return e;
3914
- }, q = (e, t) => {
3915
- var n = {};
3916
- for (var r in e)
3917
- gn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3918
- if (e != null && ve)
3919
- for (var r of ve(e))
3920
- t.indexOf(r) < 0 && bn.call(e, r) && (n[r] = e[r]);
3921
- return n;
3918
+ }, J = (e, t) => {
3919
+ var r = {};
3920
+ for (var n in e)
3921
+ dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3922
+ if (e != null && we)
3923
+ for (var n of we(e))
3924
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3925
+ return r;
3922
3926
  };
3923
- const ie = (e, t) => {
3924
- const { formats: n } = W();
3925
- if (e in n && t in n[e])
3926
- return n[e][t];
3927
+ const se = (e, t) => {
3928
+ const { formats: r } = Z();
3929
+ if (e in r && t in r[e])
3930
+ return r[e][t];
3927
3931
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3928
- }, wi = Be(
3932
+ }, Ti = Ae(
3929
3933
  (e) => {
3930
- var t = e, { locale: n, format: r } = t, i = q(t, ["locale", "format"]);
3931
- if (n == null)
3934
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3935
+ if (r == null)
3932
3936
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3933
- return r && (i = ie("number", r)), new Intl.NumberFormat(n, i);
3937
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
3934
3938
  }
3935
- ), Ti = Be(
3939
+ ), Bi = Ae(
3936
3940
  (e) => {
3937
- var t = e, { locale: n, format: r } = t, i = q(t, ["locale", "format"]);
3938
- if (n == null)
3941
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3942
+ if (r == null)
3939
3943
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3940
- return r ? i = ie("date", r) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(n, i);
3944
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
3941
3945
  }
3942
- ), Bi = Be(
3946
+ ), Si = Ae(
3943
3947
  (e) => {
3944
- var t = e, { locale: n, format: r } = t, i = q(t, ["locale", "format"]);
3945
- if (n == null)
3948
+ var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3949
+ if (r == null)
3946
3950
  throw new Error(
3947
3951
  '[svelte-i18n] A "locale" must be set to format time values'
3948
3952
  );
3949
- return r ? i = ie("time", r) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(n, i);
3953
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
3950
3954
  }
3951
- ), Si = (e = {}) => {
3955
+ ), Ai = (e = {}) => {
3952
3956
  var t = e, {
3953
- locale: n = N()
3954
- } = t, r = q(t, [
3957
+ locale: r = I()
3958
+ } = t, n = J(t, [
3955
3959
  "locale"
3956
3960
  ]);
3957
- return wi(nt({ locale: n }, r));
3958
- }, Ai = (e = {}) => {
3961
+ return Ti(rt({ locale: r }, n));
3962
+ }, Oi = (e = {}) => {
3959
3963
  var t = e, {
3960
- locale: n = N()
3961
- } = t, r = q(t, [
3964
+ locale: r = I()
3965
+ } = t, n = J(t, [
3962
3966
  "locale"
3963
3967
  ]);
3964
- return Ti(nt({ locale: n }, r));
3965
- }, Ci = (e = {}) => {
3968
+ return Bi(rt({ locale: r }, n));
3969
+ }, Pi = (e = {}) => {
3966
3970
  var t = e, {
3967
- locale: n = N()
3968
- } = t, r = q(t, [
3971
+ locale: r = I()
3972
+ } = t, n = J(t, [
3969
3973
  "locale"
3970
3974
  ]);
3971
- return Bi(nt({ locale: n }, r));
3972
- }, Oi = Be(
3975
+ return Si(rt({ locale: r }, n));
3976
+ }, Ci = Ae(
3973
3977
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3974
- (e, t = N()) => new ln(e, t, W().formats, {
3975
- ignoreTag: W().ignoreTag
3978
+ (e, t = I()) => new hr(e, t, Z().formats, {
3979
+ ignoreTag: Z().ignoreTag
3976
3980
  })
3977
- ), Pi = (e, t = {}) => {
3978
- var n, r, i, s;
3981
+ ), Li = (e, t = {}) => {
3982
+ var r, n, i, s;
3979
3983
  let a = t;
3980
3984
  typeof e == "object" && (a = e, e = a.id);
3981
3985
  const {
3982
3986
  values: o,
3983
- locale: l = N(),
3987
+ locale: l = I(),
3984
3988
  default: u
3985
3989
  } = a;
3986
3990
  if (l == null)
3987
3991
  throw new Error(
3988
3992
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3989
3993
  );
3990
- let h = fn(e, l);
3994
+ let h = lr(e, l);
3991
3995
  if (!h)
3992
- h = (s = (i = (r = (n = W()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3996
+ h = (s = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3993
3997
  else if (typeof h != "string")
3994
3998
  return console.warn(
3995
3999
  `[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.`
@@ -3998,7 +4002,7 @@ const ie = (e, t) => {
3998
4002
  return h;
3999
4003
  let f = h;
4000
4004
  try {
4001
- f = Oi(h, l).format(o);
4005
+ f = Ci(h, l).format(o);
4002
4006
  } catch (m) {
4003
4007
  m instanceof Error && console.warn(
4004
4008
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4006,18 +4010,18 @@ const ie = (e, t) => {
4006
4010
  );
4007
4011
  }
4008
4012
  return f;
4009
- }, Li = (e, t) => Ci(t).format(e), Ni = (e, t) => Ai(t).format(e), Ii = (e, t) => Si(t).format(e), Mi = (e, t = N()) => fn(e, t), $i = Q([R, oe], () => Pi);
4010
- Q([R], () => Li);
4011
- Q([R], () => Ni);
4012
- Q([R], () => Ii);
4013
- Q([R, oe], () => Mi);
4014
- function Et(e, t) {
4015
- mn(e, t);
4016
- }
4017
- function Ri(e) {
4013
+ }, Ni = (e, t) => Pi(t).format(e), Ii = (e, t) => Oi(t).format(e), Mi = (e, t) => Ai(t).format(e), $i = (e, t = I()) => lr(e, t), Ri = q([U, ae], () => Li);
4014
+ q([U], () => Ni);
4015
+ q([U], () => Ii);
4016
+ q([U], () => Mi);
4017
+ q([U, ae], () => $i);
4018
+ function xt(e, t) {
4019
+ cr(e, t);
4020
+ }
4021
+ function Ui(e) {
4018
4022
  di({
4019
4023
  fallbackLocale: "en"
4020
- }), R.set(e);
4024
+ }), U.set(e);
4021
4025
  }
4022
4026
  const vt = {
4023
4027
  en: {
@@ -4035,284 +4039,284 @@ const vt = {
4035
4039
  }
4036
4040
  }
4037
4041
  };
4038
- function Ui(e) {
4039
- wn(e, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
4042
+ function Di(e) {
4043
+ Hr(e, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer;fill:var(--emw--color-primary, #F9C405)}");
4040
4044
  }
4041
- const Di = (e) => ({}), Ht = (e) => ({}), Gi = (e) => ({}), wt = (e) => ({}), Fi = (e) => ({}), Tt = (e) => ({});
4045
+ const Gi = (e) => ({}), Ht = (e) => ({}), Fi = (e) => ({}), wt = (e) => ({}), ji = (e) => ({}), Tt = (e) => ({});
4042
4046
  function Bt(e) {
4043
- let t, n, r;
4047
+ let t, r, n;
4044
4048
  return {
4045
4049
  c() {
4046
- t = $("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', Z(t, "class", "CashierHeaderLeftButton");
4050
+ t = R("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z"></path></svg>', Q(t, "class", "CashierHeaderLeftButton");
4047
4051
  },
4048
4052
  m(i, s) {
4049
- M(i, t, s), n || (r = Dt(
4053
+ $(i, t, s), r || (n = Dt(
4050
4054
  t,
4051
4055
  "click",
4052
4056
  /*back*/
4053
4057
  e[6]
4054
- ), n = !0);
4058
+ ), r = !0);
4055
4059
  },
4056
4060
  p: T,
4057
4061
  d(i) {
4058
- i && O(t), n = !1, r();
4062
+ i && C(t), r = !1, n();
4059
4063
  }
4060
4064
  };
4061
4065
  }
4062
- function ji(e) {
4063
- let t, n = (
4066
+ function ki(e) {
4067
+ let t, r = (
4064
4068
  /*backButton*/
4065
4069
  e[1] && Bt(e)
4066
4070
  );
4067
4071
  return {
4068
4072
  c() {
4069
- n && n.c(), t = Ut();
4073
+ r && r.c(), t = Ut();
4070
4074
  },
4071
- m(r, i) {
4072
- n && n.m(r, i), M(r, t, i);
4075
+ m(n, i) {
4076
+ r && r.m(n, i), $(n, t, i);
4073
4077
  },
4074
- p(r, i) {
4078
+ p(n, i) {
4075
4079
  /*backButton*/
4076
- r[1] ? n ? n.p(r, i) : (n = Bt(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4080
+ n[1] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4077
4081
  },
4078
- d(r) {
4079
- r && O(t), n && n.d(r);
4082
+ d(n) {
4083
+ n && C(t), r && r.d(n);
4080
4084
  }
4081
4085
  };
4082
4086
  }
4083
- function ki(e) {
4084
- let t, n = (
4087
+ function Vi(e) {
4088
+ let t, r = (
4085
4089
  /*$_*/
4086
4090
  e[4](
4087
4091
  /*titleText*/
4088
4092
  e[2]
4089
4093
  ) + ""
4090
- ), r;
4094
+ ), n;
4091
4095
  return {
4092
4096
  c() {
4093
- t = $("span"), r = Ye(n), Z(t, "class", "CashierHeaderTitle");
4097
+ t = R("span"), n = et(r), Q(t, "class", "CashierHeaderTitle");
4094
4098
  },
4095
4099
  m(i, s) {
4096
- M(i, t, s), ge(t, r);
4100
+ $(i, t, s), be(t, n);
4097
4101
  },
4098
4102
  p(i, s) {
4099
4103
  s & /*$_, titleText*/
4100
- 20 && n !== (n = /*$_*/
4104
+ 20 && r !== (r = /*$_*/
4101
4105
  i[4](
4102
4106
  /*titleText*/
4103
4107
  i[2]
4104
- ) + "") && Sn(r, n);
4108
+ ) + "") && Br(n, r);
4105
4109
  },
4106
4110
  d(i) {
4107
- i && O(t);
4111
+ i && C(t);
4108
4112
  }
4109
4113
  };
4110
4114
  }
4111
4115
  function St(e) {
4112
- let t, n, r;
4116
+ let t, r, n;
4113
4117
  return {
4114
4118
  c() {
4115
- t = $("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', Z(t, "class", "CashierHeaderRightButton");
4119
+ t = R("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"></path></svg>', Q(t, "class", "CashierHeaderRightButton");
4116
4120
  },
4117
4121
  m(i, s) {
4118
- M(i, t, s), n || (r = Dt(
4122
+ $(i, t, s), r || (n = Dt(
4119
4123
  t,
4120
4124
  "click",
4121
4125
  /*close*/
4122
4126
  e[5]
4123
- ), n = !0);
4127
+ ), r = !0);
4124
4128
  },
4125
4129
  p: T,
4126
4130
  d(i) {
4127
- i && O(t), n = !1, r();
4131
+ i && C(t), r = !1, n();
4128
4132
  }
4129
4133
  };
4130
4134
  }
4131
- function Vi(e) {
4132
- let t, n = (
4135
+ function Xi(e) {
4136
+ let t, r = (
4133
4137
  /*closeButton*/
4134
4138
  e[3] && St(e)
4135
4139
  );
4136
4140
  return {
4137
4141
  c() {
4138
- n && n.c(), t = Ut();
4142
+ r && r.c(), t = Ut();
4139
4143
  },
4140
- m(r, i) {
4141
- n && n.m(r, i), M(r, t, i);
4144
+ m(n, i) {
4145
+ r && r.m(n, i), $(n, t, i);
4142
4146
  },
4143
- p(r, i) {
4147
+ p(n, i) {
4144
4148
  /*closeButton*/
4145
- r[3] ? n ? n.p(r, i) : (n = St(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
4149
+ n[3] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4146
4150
  },
4147
- d(r) {
4148
- r && O(t), n && n.d(r);
4151
+ d(n) {
4152
+ n && C(t), r && r.d(n);
4149
4153
  }
4150
4154
  };
4151
4155
  }
4152
- function Xi(e) {
4153
- let t, n, r, i;
4156
+ function zi(e) {
4157
+ let t, r, n, i;
4154
4158
  const s = (
4155
4159
  /*#slots*/
4156
4160
  e[16].leftButton
4157
- ), a = Se(
4161
+ ), a = Oe(
4158
4162
  s,
4159
4163
  e,
4160
4164
  /*$$scope*/
4161
4165
  e[15],
4162
4166
  Tt
4163
- ), o = a || ji(e), l = (
4167
+ ), o = a || ki(e), l = (
4164
4168
  /*#slots*/
4165
4169
  e[16].title
4166
- ), u = Se(
4170
+ ), u = Oe(
4167
4171
  l,
4168
4172
  e,
4169
4173
  /*$$scope*/
4170
4174
  e[15],
4171
4175
  wt
4172
- ), h = u || ki(e), f = (
4176
+ ), h = u || Vi(e), f = (
4173
4177
  /*#slots*/
4174
4178
  e[16].rightButton
4175
- ), m = Se(
4179
+ ), m = Oe(
4176
4180
  f,
4177
4181
  e,
4178
4182
  /*$$scope*/
4179
4183
  e[15],
4180
4184
  Ht
4181
- ), d = m || Vi(e);
4185
+ ), p = m || Xi(e);
4182
4186
  return {
4183
4187
  c() {
4184
- t = $("div"), o && o.c(), n = st(), h && h.c(), r = st(), d && d.c(), Z(t, "class", "CashierHeader");
4188
+ t = R("div"), o && o.c(), r = st(), h && h.c(), n = st(), p && p.c(), Q(t, "class", "CashierHeader");
4185
4189
  },
4186
- m(c, p) {
4187
- M(c, t, p), o && o.m(t, null), ge(t, n), h && h.m(t, null), ge(t, r), d && d.m(t, null), e[17](t), i = !0;
4190
+ m(c, d) {
4191
+ $(c, t, d), o && o.m(t, null), be(t, r), h && h.m(t, null), be(t, n), p && p.m(t, null), e[17](t), i = !0;
4188
4192
  },
4189
- p(c, [p]) {
4190
- a ? a.p && (!i || p & /*$$scope*/
4193
+ p(c, [d]) {
4194
+ a ? a.p && (!i || d & /*$$scope*/
4191
4195
  32768) && Ce(
4192
4196
  a,
4193
4197
  s,
4194
4198
  c,
4195
4199
  /*$$scope*/
4196
4200
  c[15],
4197
- i ? Ae(
4201
+ i ? Pe(
4198
4202
  s,
4199
4203
  /*$$scope*/
4200
4204
  c[15],
4201
- p,
4202
- Fi
4203
- ) : Oe(
4205
+ d,
4206
+ ji
4207
+ ) : Le(
4204
4208
  /*$$scope*/
4205
4209
  c[15]
4206
4210
  ),
4207
4211
  Tt
4208
- ) : o && o.p && (!i || p & /*backButton*/
4209
- 2) && o.p(c, i ? p : -1), u ? u.p && (!i || p & /*$$scope*/
4212
+ ) : o && o.p && (!i || d & /*backButton*/
4213
+ 2) && o.p(c, i ? d : -1), u ? u.p && (!i || d & /*$$scope*/
4210
4214
  32768) && Ce(
4211
4215
  u,
4212
4216
  l,
4213
4217
  c,
4214
4218
  /*$$scope*/
4215
4219
  c[15],
4216
- i ? Ae(
4220
+ i ? Pe(
4217
4221
  l,
4218
4222
  /*$$scope*/
4219
4223
  c[15],
4220
- p,
4221
- Gi
4222
- ) : Oe(
4224
+ d,
4225
+ Fi
4226
+ ) : Le(
4223
4227
  /*$$scope*/
4224
4228
  c[15]
4225
4229
  ),
4226
4230
  wt
4227
- ) : h && h.p && (!i || p & /*$_, titleText*/
4228
- 20) && h.p(c, i ? p : -1), m ? m.p && (!i || p & /*$$scope*/
4231
+ ) : h && h.p && (!i || d & /*$_, titleText*/
4232
+ 20) && h.p(c, i ? d : -1), m ? m.p && (!i || d & /*$$scope*/
4229
4233
  32768) && Ce(
4230
4234
  m,
4231
4235
  f,
4232
4236
  c,
4233
4237
  /*$$scope*/
4234
4238
  c[15],
4235
- i ? Ae(
4239
+ i ? Pe(
4236
4240
  f,
4237
4241
  /*$$scope*/
4238
4242
  c[15],
4239
- p,
4240
- Di
4241
- ) : Oe(
4243
+ d,
4244
+ Gi
4245
+ ) : Le(
4242
4246
  /*$$scope*/
4243
4247
  c[15]
4244
4248
  ),
4245
4249
  Ht
4246
- ) : d && d.p && (!i || p & /*closeButton*/
4247
- 8) && d.p(c, i ? p : -1);
4250
+ ) : p && p.p && (!i || d & /*closeButton*/
4251
+ 8) && p.p(c, i ? d : -1);
4248
4252
  },
4249
4253
  i(c) {
4250
- i || (ce(o, c), ce(h, c), ce(d, c), i = !0);
4254
+ i || (me(o, c), me(h, c), me(p, c), i = !0);
4251
4255
  },
4252
4256
  o(c) {
4253
- Le(o, c), Le(h, c), Le(d, c), i = !1;
4257
+ Ie(o, c), Ie(h, c), Ie(p, c), i = !1;
4254
4258
  },
4255
4259
  d(c) {
4256
- c && O(t), o && o.d(c), h && h.d(c), d && d.d(c), e[17](null);
4260
+ c && C(t), o && o.d(c), h && h.d(c), p && p.d(c), e[17](null);
4257
4261
  }
4258
4262
  };
4259
4263
  }
4260
- function zi(e, t, n) {
4261
- let r;
4262
- Hn(e, $i, (_) => n(4, r = _));
4263
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: d = "" } = t, c, p = !1, E, v = !1;
4264
+ function Wi(e, t, r) {
4265
+ let n;
4266
+ vr(e, Ri, (_) => r(4, n = _));
4267
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: p = "" } = t, c, d = !1, E, v = !1;
4264
4268
  const B = () => {
4265
4269
  fetch(l).then((_) => _.json()).then((_) => {
4266
- Object.keys(_).forEach((rt) => {
4267
- Et(rt, _[rt]);
4270
+ Object.keys(_).forEach((nt) => {
4271
+ xt(nt, _[nt]);
4268
4272
  });
4269
4273
  }).catch((_) => {
4270
4274
  console.log(_);
4271
4275
  });
4272
4276
  };
4273
4277
  Object.keys(vt).forEach((_) => {
4274
- Et(_, vt[_]);
4278
+ xt(_, vt[_]);
4275
4279
  });
4276
4280
  const H = () => {
4277
- Ri(f);
4281
+ Ui(f);
4278
4282
  }, S = () => {
4279
4283
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4280
- }, C = () => {
4284
+ }, P = () => {
4281
4285
  window.postMessage({ type: "BackCashier" }, window.location.href);
4282
- }, U = () => {
4283
- n(1, p = !!u && u !== "false");
4284
- }, ue = () => {
4285
- n(3, v = !!m && m !== "false");
4286
- }, yn = () => {
4287
- n(2, E = h || "header.general");
4286
+ }, D = () => {
4287
+ r(1, d = !!u && u !== "false");
4288
+ }, he = () => {
4289
+ r(3, v = !!m && m !== "false");
4290
+ }, _r = () => {
4291
+ r(2, E = h || "header.general");
4288
4292
  };
4289
- In(() => () => {
4293
+ Nr(() => () => {
4290
4294
  });
4291
- function xn(_) {
4292
- Ge[_ ? "unshift" : "push"](() => {
4293
- c = _, n(0, c);
4295
+ function yr(_) {
4296
+ je[_ ? "unshift" : "push"](() => {
4297
+ c = _, r(0, c);
4294
4298
  });
4295
4299
  }
4296
4300
  return e.$$set = (_) => {
4297
- "clientstyling" in _ && n(7, a = _.clientstyling), "clientstylingurl" in _ && n(8, o = _.clientstylingurl), "translationurl" in _ && n(9, l = _.translationurl), "showbackbutton" in _ && n(10, u = _.showbackbutton), "title" in _ && n(11, h = _.title), "lang" in _ && n(12, f = _.lang), "showclosebutton" in _ && n(13, m = _.showclosebutton), "mbsource" in _ && n(14, d = _.mbsource), "$$scope" in _ && n(15, s = _.$$scope);
4301
+ "clientstyling" in _ && r(7, a = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, u = _.showbackbutton), "title" in _ && r(11, h = _.title), "lang" in _ && r(12, f = _.lang), "showclosebutton" in _ && r(13, m = _.showclosebutton), "mbsource" in _ && r(14, p = _.mbsource), "$$scope" in _ && r(15, s = _.$$scope);
4298
4302
  }, e.$$.update = () => {
4299
4303
  e.$$.dirty & /*lang*/
4300
4304
  4096 && f && H(), e.$$.dirty & /*lang, title*/
4301
- 6144 && f && h && yn(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4302
- 129 && a && c && Vn(c, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4303
- 257 && o && c && Xn(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4304
- 16385 && d && c && zn(c, `${d}.Style`), e.$$.dirty & /*lang, translationurl*/
4305
+ 6144 && f && h && _r(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4306
+ 129 && a && c && kr(c, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4307
+ 257 && o && c && Vr(c, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4308
+ 16385 && p && c && Xr(c, `${p}.Style`), e.$$.dirty & /*lang, translationurl*/
4305
4309
  4608 && f && l && B(), e.$$.dirty & /*showbackbutton*/
4306
- 1024 && u && U(), e.$$.dirty & /*showclosebutton*/
4307
- 8192 && m && ue();
4310
+ 1024 && u && D(), e.$$.dirty & /*showclosebutton*/
4311
+ 8192 && m && he();
4308
4312
  }, [
4309
4313
  c,
4310
- p,
4314
+ d,
4311
4315
  E,
4312
4316
  v,
4313
- r,
4317
+ n,
4314
4318
  S,
4315
- C,
4319
+ P,
4316
4320
  a,
4317
4321
  o,
4318
4322
  l,
@@ -4320,20 +4324,20 @@ function zi(e, t, n) {
4320
4324
  h,
4321
4325
  f,
4322
4326
  m,
4323
- d,
4327
+ p,
4324
4328
  s,
4325
4329
  i,
4326
- xn
4330
+ yr
4327
4331
  ];
4328
4332
  }
4329
- class _n extends jn {
4333
+ class br extends Fr {
4330
4334
  constructor(t) {
4331
- super(), Gn(
4335
+ super(), Dr(
4332
4336
  this,
4333
4337
  t,
4338
+ Wi,
4334
4339
  zi,
4335
- Xi,
4336
- Ot,
4340
+ Pt,
4337
4341
  {
4338
4342
  clientstyling: 7,
4339
4343
  clientstylingurl: 8,
@@ -4344,7 +4348,7 @@ class _n extends jn {
4344
4348
  showclosebutton: 13,
4345
4349
  mbsource: 14
4346
4350
  },
4347
- Ui
4351
+ Di
4348
4352
  );
4349
4353
  }
4350
4354
  get clientstyling() {
@@ -4396,61 +4400,61 @@ class _n extends jn {
4396
4400
  this.$$set({ mbsource: t }), A();
4397
4401
  }
4398
4402
  }
4399
- Fn(_n, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4400
- const us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4403
+ Gr(br, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4404
+ const hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4401
4405
  __proto__: null,
4402
- default: _n
4406
+ default: br
4403
4407
  }, Symbol.toStringTag, { value: "Module" }));
4404
4408
  export {
4405
- R as $,
4406
- Zn as A,
4409
+ U as $,
4410
+ us as A,
4407
4411
  At as B,
4408
- di as C,
4409
- mn as D,
4410
- Le as E,
4411
- ns as F,
4412
- ce as G,
4413
- Hn as H,
4414
- ts as I,
4415
- Ji as J,
4416
- ne as K,
4417
- rs as L,
4412
+ cr as C,
4413
+ di as D,
4414
+ Ie as E,
4415
+ me as F,
4416
+ rs as G,
4417
+ ns as H,
4418
+ vr as I,
4419
+ Yi as J,
4420
+ ss as K,
4421
+ ne as L,
4418
4422
  is as M,
4419
4423
  Ut as N,
4420
- $i as O,
4424
+ Qi as O,
4421
4425
  Zi as P,
4422
- Wi as Q,
4423
- os as R,
4424
- jn as S,
4425
- Rn as T,
4426
- Un as U,
4427
- Yi as V,
4428
- es as W,
4429
- us as X,
4430
- wn as a,
4431
- $ as b,
4432
- Fn as c,
4433
- qi as d,
4434
- ss as e,
4426
+ Rr as Q,
4427
+ $r as R,
4428
+ Fr as S,
4429
+ as as T,
4430
+ Ri as U,
4431
+ Ki as V,
4432
+ ts as W,
4433
+ hs as X,
4434
+ Hr as a,
4435
+ qi as b,
4436
+ $ as c,
4437
+ C as d,
4438
+ os as e,
4435
4439
  A as f,
4436
- st as g,
4437
- Z as h,
4438
- Gn as i,
4439
- M as j,
4440
- ge as k,
4440
+ be as g,
4441
+ R as h,
4442
+ Dr as i,
4443
+ Ji as j,
4444
+ st as k,
4441
4445
  Dt as l,
4442
- O as m,
4446
+ Q as m,
4443
4447
  T as n,
4444
- Qi as o,
4445
- In as p,
4446
- zn as q,
4447
- I as r,
4448
- Ot as s,
4449
- Ye as t,
4450
- Ki as u,
4451
- Sn as v,
4452
- Ge as w,
4453
- Vn as x,
4454
- Xn as y,
4455
- as as z
4448
+ Nr as o,
4449
+ Br as p,
4450
+ et as q,
4451
+ M as r,
4452
+ Pt as s,
4453
+ es as t,
4454
+ je as u,
4455
+ kr as v,
4456
+ Vr as w,
4457
+ Xr as x,
4458
+ Gr as y,
4459
+ Wr as z
4456
4460
  };