@everymatrix/casino-my-games-nd 1.65.2 → 1.65.3

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 (45) hide show
  1. package/components/{CasinoFavoritesSectionNd-C_hn1qa8.js → CasinoFavoritesSectionNd-BKMHKW6c.js} +1209 -1175
  2. package/components/CasinoFavoritesSectionNd-CY3Vize2.cjs +16 -0
  3. package/components/{CasinoFavoritesSectionNd-CUWSzqA2.js → CasinoFavoritesSectionNd-JlHu35xX.js} +1202 -1168
  4. package/components/{CasinoFilter-BUhxN8Fo.js → CasinoFilter-CG43UnKV.js} +169 -233
  5. package/components/{CasinoFilter-B-SmGtl5.js → CasinoFilter-DD0Z4CHg.js} +250 -316
  6. package/components/CasinoFilter-DhPLAQDI.cjs +3 -0
  7. package/components/{CasinoGameThumbnailNd-Cwv8tD3P.js → CasinoGameThumbnailNd-Bjs53gU1.js} +672 -670
  8. package/components/CasinoGameThumbnailNd-CxuNGGMi.cjs +30 -0
  9. package/components/{CasinoGameThumbnailNd-D9yKP-xK.js → CasinoGameThumbnailNd-yRs70Kso.js} +671 -669
  10. package/components/{CasinoGamesCategorySectionNd-Cscu1eaa.js → CasinoGamesCategorySectionNd-Bp-RVLIM.js} +163 -164
  11. package/components/{CasinoGamesCategorySectionNd-BMdG9WnB.js → CasinoGamesCategorySectionNd-C3CjQKT6.js} +141 -142
  12. package/components/CasinoGamesCategorySectionNd-Kvz9b_3z.cjs +1 -0
  13. package/components/{CasinoLastPlayedSectionNd-NyGGYsDI.js → CasinoLastPlayedSectionNd-BPgyocA4.js} +30 -30
  14. package/components/{CasinoLastPlayedSectionNd-CCkZGekr.cjs → CasinoLastPlayedSectionNd-BiU9DHCW.cjs} +1 -1
  15. package/components/{CasinoLastPlayedSectionNd-hzlZwjHQ.js → CasinoLastPlayedSectionNd-DQr3wcpg.js} +30 -30
  16. package/components/{CasinoMostPlayedSectionNd-BPbNDMYr.js → CasinoMostPlayedSectionNd-BG719aVA.js} +51 -51
  17. package/components/{CasinoMostPlayedSectionNd-alYJNC2F.js → CasinoMostPlayedSectionNd-Cvm3Paz-.js} +51 -51
  18. package/components/{CasinoMostPlayedSectionNd-BIAUW09C.cjs → CasinoMostPlayedSectionNd-tXpXLY4Q.cjs} +1 -1
  19. package/components/{CasinoMyGamesNd-DvCMntUJ.cjs → CasinoMyGamesNd-BO7YORsl.cjs} +1 -1
  20. package/components/{CasinoMyGamesNd-Y1DHwrq-.js → CasinoMyGamesNd-D1URpj_y.js} +31 -31
  21. package/components/{CasinoMyGamesNd-HJ1gNNpC.js → CasinoMyGamesNd-DUJ_NxqV.js} +36 -36
  22. package/components/{CasinoSort-DEJaB5sO.js → CasinoSort-BwqQF_Xf.js} +22 -22
  23. package/components/{CasinoSort-CIwqbMpB.cjs → CasinoSort-CW_xQ2az.cjs} +1 -1
  24. package/components/{CasinoSort-YhGmWpnu.js → CasinoSort-CaFQ4b9G.js} +22 -22
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +1 -1
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/{index-97d17652-BEnqZAxL.js → index-97d17652-ChRvzjAp.js} +186 -186
  30. package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-DKsTmN3Z.js} +175 -175
  31. package/stencil/index-97d17652-qWThG1U9.cjs +1 -0
  32. package/stencil/{ui-image-CMb1eK44.cjs → ui-image-B2ynFkLT.cjs} +1 -1
  33. package/stencil/{ui-image-CQQDA5b0.js → ui-image-D7A7MInC.js} +1 -1
  34. package/stencil/{ui-image-CmwNU-jf.js → ui-image-D_Js9Evk.js} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-B43lELFk.js} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-CRQDt62Z.cjs} +1 -1
  37. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-DVcK_myk.js} +1 -1
  38. package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CyHaM9Na.cjs} +1 -1
  39. package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-Df0q0jE8.js} +2 -2
  40. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-EP2dwjfi.js} +2 -2
  41. package/components/CasinoFavoritesSectionNd-2g2-DoLq.cjs +0 -3
  42. package/components/CasinoFilter-D1AkUoIE.cjs +0 -16
  43. package/components/CasinoGameThumbnailNd-D9krDrQH.cjs +0 -30
  44. package/components/CasinoGamesCategorySectionNd-Dc3Ln7in.cjs +0 -1
  45. package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
@@ -1,79 +1,79 @@
1
- var jt = Object.defineProperty, kt = Object.defineProperties;
2
- var Vt = Object.getOwnPropertyDescriptors;
3
- var ke = Object.getOwnPropertySymbols;
4
- var Xt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
5
- var Ee = (e, t, r) => t in e ? jt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
6
- for (var r in t || (t = {}))
7
- Xt.call(t, r) && Ee(e, r, t[r]);
8
- if (ke)
9
- for (var r of ke(t))
10
- zt.call(t, r) && Ee(e, r, t[r]);
1
+ var Ft = Object.defineProperty, jt = Object.defineProperties;
2
+ var kt = Object.getOwnPropertyDescriptors;
3
+ var je = Object.getOwnPropertySymbols;
4
+ var Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
+ var pe = (e, t, n) => t in e ? Ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ke = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ Vt.call(t, n) && pe(e, n, t[n]);
8
+ if (je)
9
+ for (var n of je(t))
10
+ Xt.call(t, n) && pe(e, n, t[n]);
11
11
  return e;
12
- }, Xe = (e, t) => kt(e, Vt(t));
13
- var S = (e, t, r) => (Ee(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ze = (e, t, r) => new Promise((n, i) => {
12
+ }, Ve = (e, t) => jt(e, kt(t));
13
+ var S = (e, t, n) => (pe(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var Xe = (e, t, n) => new Promise((r, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
- u(r.next(l));
18
- } catch (a) {
19
- i(a);
17
+ u(n.next(l));
18
+ } catch (o) {
19
+ i(o);
20
20
  }
21
- }, o = (l) => {
21
+ }, a = (l) => {
22
22
  try {
23
- u(r.throw(l));
24
- } catch (a) {
25
- i(a);
23
+ u(n.throw(l));
24
+ } catch (o) {
25
+ i(o);
26
26
  }
27
- }, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
- u((r = r.apply(e, t)).next());
27
+ }, u = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(s, a);
28
+ u((n = n.apply(e, t)).next());
29
29
  });
30
30
  function O() {
31
31
  }
32
- function ht(e) {
32
+ function ut(e) {
33
33
  return e();
34
34
  }
35
- function We() {
35
+ function ze() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function W(e) {
39
- e.forEach(ht);
38
+ function z(e) {
39
+ e.forEach(ut);
40
40
  }
41
- function De(e) {
41
+ function $e(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function lt(e, t) {
44
+ function ht(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let se;
48
- function hi(e, t) {
49
- return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
47
+ let ie;
48
+ function ui(e, t) {
49
+ return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
50
50
  }
51
- function Wt(e) {
51
+ function zt(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function ft(e, ...t) {
54
+ function lt(e, ...t) {
55
55
  if (e == null) {
56
- for (const n of t)
57
- n(void 0);
56
+ for (const r of t)
57
+ r(void 0);
58
58
  return O;
59
59
  }
60
- const r = e.subscribe(...t);
61
- return r.unsubscribe ? () => r.unsubscribe() : r;
60
+ const n = e.subscribe(...t);
61
+ return n.unsubscribe ? () => n.unsubscribe() : n;
62
62
  }
63
- function li(e, t, r) {
64
- e.$$.on_destroy.push(ft(t, r));
63
+ function hi(e, t, n) {
64
+ e.$$.on_destroy.push(lt(t, n));
65
65
  }
66
- function Zt(e, t) {
66
+ function Wt(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Qt(e, t, r) {
70
- const n = qt(e);
71
- if (!n.getElementById(t)) {
69
+ function Zt(e, t, n) {
70
+ const r = Qt(e);
71
+ if (!r.getElementById(t)) {
72
72
  const i = ne("style");
73
- i.id = t, i.textContent = r, Jt(n, i);
73
+ i.id = t, i.textContent = n, qt(r, i);
74
74
  }
75
75
  }
76
- function qt(e) {
76
+ function Qt(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,65 +83,65 @@ function qt(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Jt(e, t) {
87
- return Zt(
86
+ function qt(e, t) {
87
+ return Wt(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function me(e, t, r) {
94
- e.insertBefore(t, r || null);
93
+ function fe(e, t, n) {
94
+ e.insertBefore(t, n || null);
95
95
  }
96
- function re(e) {
96
+ function te(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function fi(e, t) {
100
- for (let r = 0; r < e.length; r += 1)
101
- e[r] && e[r].d(t);
99
+ function li(e, t) {
100
+ for (let n = 0; n < e.length; n += 1)
101
+ e[n] && e[n].d(t);
102
102
  }
103
103
  function ne(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Yt(e) {
106
+ function Jt(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function ct(e) {
109
+ function ft(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function ci() {
113
- return ct(" ");
112
+ function fi() {
113
+ return ft(" ");
114
114
  }
115
- function mi() {
116
- return ct("");
115
+ function ci() {
116
+ return ft("");
117
117
  }
118
- function gi(e, t, r, n) {
119
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
118
+ function mi(e, t, n, r) {
119
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
120
120
  }
121
- function Ge(e, t, r) {
122
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
121
+ function Ue(e, t, n) {
122
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
123
123
  }
124
- function g(e, t, r) {
125
- const n = t.toLowerCase();
126
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Ge(e, t, r);
124
+ function d(e, t, n) {
125
+ const r = t.toLowerCase();
126
+ r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Ue(e, t, n);
127
127
  }
128
- function Kt(e) {
128
+ function Yt(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
131
  function di(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function bi(e, t) {
135
+ function gi(e, t) {
136
136
  e.value = t == null ? "" : t;
137
137
  }
138
- function pi(e, t, r, n) {
139
- r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
138
+ function bi(e, t, n, r) {
139
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
140
140
  }
141
- function yi(e, t, r) {
142
- e.classList.toggle(t, !!r);
141
+ function pi(e, t, n) {
142
+ e.classList.toggle(t, !!n);
143
143
  }
144
- class Ei {
144
+ class yi {
145
145
  constructor(t = !1) {
146
146
  /**
147
147
  * @private
@@ -171,17 +171,17 @@ class Ei {
171
171
  * @param {HTMLElement | SVGElement} anchor
172
172
  * @returns {void}
173
173
  */
174
- m(t, r, n = null) {
175
- this.e || (this.is_svg ? this.e = Yt(
174
+ m(t, n, r = null) {
175
+ this.e || (this.is_svg ? this.e = Jt(
176
176
  /** @type {keyof SVGElementTagNameMap} */
177
- r.nodeName
177
+ n.nodeName
178
178
  ) : this.e = ne(
179
179
  /** @type {keyof HTMLElementTagNameMap} */
180
- r.nodeType === 11 ? "TEMPLATE" : r.nodeName
181
- ), this.t = r.tagName !== "TEMPLATE" ? r : (
180
+ n.nodeType === 11 ? "TEMPLATE" : n.nodeName
181
+ ), this.t = n.tagName !== "TEMPLATE" ? n : (
182
182
  /** @type {HTMLTemplateElement} */
183
- r.content
184
- ), this.c(t)), this.i(n);
183
+ n.content
184
+ ), this.c(t)), this.i(r);
185
185
  }
186
186
  /**
187
187
  * @param {string} html
@@ -195,8 +195,8 @@ class Ei {
195
195
  /**
196
196
  * @returns {void} */
197
197
  i(t) {
198
- for (let r = 0; r < this.n.length; r += 1)
199
- me(this.t, this.n[r], t);
198
+ for (let n = 0; n < this.n.length; n += 1)
199
+ fe(this.t, this.n[n], t);
200
200
  }
201
201
  /**
202
202
  * @param {string} html
@@ -208,146 +208,146 @@ class Ei {
208
208
  /**
209
209
  * @returns {void} */
210
210
  d() {
211
- this.n.forEach(re);
211
+ this.n.forEach(te);
212
212
  }
213
213
  }
214
- function er(e) {
214
+ function Kt(e) {
215
215
  const t = {};
216
216
  return e.childNodes.forEach(
217
217
  /** @param {Element} node */
218
- (r) => {
219
- t[r.slot || "default"] = !0;
218
+ (n) => {
219
+ t[n.slot || "default"] = !0;
220
220
  }
221
221
  ), t;
222
222
  }
223
- let K;
224
- function Y(e) {
225
- K = e;
223
+ let Y;
224
+ function J(e) {
225
+ Y = e;
226
226
  }
227
- function mt() {
228
- if (!K)
227
+ function ct() {
228
+ if (!Y)
229
229
  throw new Error("Function called outside component initialization");
230
- return K;
230
+ return Y;
231
231
  }
232
- function tr(e) {
233
- mt().$$.on_mount.push(e);
232
+ function en(e) {
233
+ ct().$$.on_mount.push(e);
234
234
  }
235
- function vi(e) {
236
- mt().$$.on_destroy.push(e);
235
+ function Ei(e) {
236
+ ct().$$.on_destroy.push(e);
237
237
  }
238
- const F = [], Ae = [];
239
- let j = [];
240
- const Ze = [], gt = /* @__PURE__ */ Promise.resolve();
241
- let we = !1;
238
+ const G = [], Se = [];
239
+ let F = [];
240
+ const We = [], mt = /* @__PURE__ */ Promise.resolve();
241
+ let Be = !1;
242
242
  function dt() {
243
- we || (we = !0, gt.then(H));
243
+ Be || (Be = !0, mt.then(H));
244
244
  }
245
245
  function _i() {
246
- return dt(), gt;
246
+ return dt(), mt;
247
247
  }
248
- function Pe(e) {
249
- j.push(e);
248
+ function Ae(e) {
249
+ F.push(e);
250
250
  }
251
- const ve = /* @__PURE__ */ new Set();
252
- let D = 0;
251
+ const ye = /* @__PURE__ */ new Set();
252
+ let U = 0;
253
253
  function H() {
254
- if (D !== 0)
254
+ if (U !== 0)
255
255
  return;
256
- const e = K;
256
+ const e = Y;
257
257
  do {
258
258
  try {
259
- for (; D < F.length; ) {
260
- const t = F[D];
261
- D++, Y(t), rr(t.$$);
259
+ for (; U < G.length; ) {
260
+ const t = G[U];
261
+ U++, J(t), tn(t.$$);
262
262
  }
263
263
  } catch (t) {
264
- throw F.length = 0, D = 0, t;
264
+ throw G.length = 0, U = 0, t;
265
265
  }
266
- for (Y(null), F.length = 0, D = 0; Ae.length; )
267
- Ae.pop()();
268
- for (let t = 0; t < j.length; t += 1) {
269
- const r = j[t];
270
- ve.has(r) || (ve.add(r), r());
266
+ for (J(null), G.length = 0, U = 0; Se.length; )
267
+ Se.pop()();
268
+ for (let t = 0; t < F.length; t += 1) {
269
+ const n = F[t];
270
+ ye.has(n) || (ye.add(n), n());
271
271
  }
272
- j.length = 0;
273
- } while (F.length);
274
- for (; Ze.length; )
275
- Ze.pop()();
276
- we = !1, ve.clear(), Y(e);
272
+ F.length = 0;
273
+ } while (G.length);
274
+ for (; We.length; )
275
+ We.pop()();
276
+ Be = !1, ye.clear(), J(e);
277
277
  }
278
- function rr(e) {
278
+ function tn(e) {
279
279
  if (e.fragment !== null) {
280
- e.update(), W(e.before_update);
280
+ e.update(), z(e.before_update);
281
281
  const t = e.dirty;
282
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
282
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
283
283
  }
284
284
  }
285
- function nr(e) {
286
- const t = [], r = [];
287
- j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
285
+ function nn(e) {
286
+ const t = [], n = [];
287
+ F.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), F = t;
288
288
  }
289
- const ir = /* @__PURE__ */ new Set();
290
- function bt(e, t) {
291
- e && e.i && (ir.delete(e), e.i(t));
289
+ const rn = /* @__PURE__ */ new Set();
290
+ function gt(e, t) {
291
+ e && e.i && (rn.delete(e), e.i(t));
292
292
  }
293
293
  function xi(e) {
294
294
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
295
295
  }
296
- function Hi(e, t) {
296
+ function vi(e, t) {
297
297
  e.d(1), t.delete(e.key);
298
298
  }
299
- function Ti(e, t, r, n, i, s, o, u, l, a, h, m) {
299
+ function Hi(e, t, n, r, i, s, a, u, l, o, h, m) {
300
300
  let f = e.length, b = s.length, y = f;
301
- const _ = {};
301
+ const x = {};
302
302
  for (; y--; )
303
- _[e[y].key] = y;
303
+ x[e[y].key] = y;
304
304
  const T = [], P = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), B = [];
305
305
  for (y = b; y--; ) {
306
- const c = m(i, s, y), L = r(c);
307
- let C = o.get(L);
308
- C ? B.push(() => C.p(c, t)) : (C = a(L, c), C.c()), P.set(L, T[y] = C), L in _ && w.set(L, Math.abs(y - _[L]));
306
+ const c = m(i, s, y), L = n(c);
307
+ let C = a.get(L);
308
+ C ? B.push(() => C.p(c, t)) : (C = o(L, c), C.c()), P.set(L, T[y] = C), L in x && w.set(L, Math.abs(y - x[L]));
309
309
  }
310
- const N = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
310
+ const N = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
311
311
  function I(c) {
312
- bt(c, 1), c.m(u, h), o.set(c.key, c), h = c.first, b--;
312
+ gt(c, 1), c.m(u, h), a.set(c.key, c), h = c.first, b--;
313
313
  }
314
314
  for (; f && b; ) {
315
- const c = T[b - 1], L = e[f - 1], C = c.key, ie = L.key;
316
- c === L ? (h = c.first, f--, b--) : P.has(ie) ? !o.has(C) || N.has(C) ? I(c) : x.has(ie) ? f-- : w.get(C) > w.get(ie) ? (x.add(C), I(c)) : (N.add(ie), f--) : (l(L, o), f--);
315
+ const c = T[b - 1], L = e[f - 1], C = c.key, re = L.key;
316
+ c === L ? (h = c.first, f--, b--) : P.has(re) ? !a.has(C) || N.has(C) ? I(c) : v.has(re) ? f-- : w.get(C) > w.get(re) ? (v.add(C), I(c)) : (N.add(re), f--) : (l(L, a), f--);
317
317
  }
318
318
  for (; f--; ) {
319
319
  const c = e[f];
320
- P.has(c.key) || l(c, o);
320
+ P.has(c.key) || l(c, a);
321
321
  }
322
322
  for (; b; )
323
323
  I(T[b - 1]);
324
- return W(B), T;
325
- }
326
- function sr(e, t, r) {
327
- const { fragment: n, after_update: i } = e.$$;
328
- n && n.m(t, r), Pe(() => {
329
- const s = e.$$.on_mount.map(ht).filter(De);
330
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
331
- }), i.forEach(Pe);
332
- }
333
- function or(e, t) {
334
- const r = e.$$;
335
- r.fragment !== null && (nr(r.after_update), W(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
336
- }
337
- function ar(e, t) {
338
- e.$$.dirty[0] === -1 && (F.push(e), dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
339
- }
340
- function ur(e, t, r, n, i, s, o = null, u = [-1]) {
341
- const l = K;
342
- Y(e);
343
- const a = e.$$ = {
324
+ return z(B), T;
325
+ }
326
+ function sn(e, t, n) {
327
+ const { fragment: r, after_update: i } = e.$$;
328
+ r && r.m(t, n), Ae(() => {
329
+ const s = e.$$.on_mount.map(ut).filter($e);
330
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
331
+ }), i.forEach(Ae);
332
+ }
333
+ function an(e, t) {
334
+ const n = e.$$;
335
+ n.fragment !== null && (nn(n.after_update), z(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
336
+ }
337
+ function on(e, t) {
338
+ e.$$.dirty[0] === -1 && (G.push(e), dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
339
+ }
340
+ function un(e, t, n, r, i, s, a = null, u = [-1]) {
341
+ const l = Y;
342
+ J(e);
343
+ const o = e.$$ = {
344
344
  fragment: null,
345
345
  ctx: [],
346
346
  // state
347
347
  props: s,
348
348
  update: O,
349
349
  not_equal: i,
350
- bound: We(),
350
+ bound: ze(),
351
351
  // lifecycle
352
352
  on_mount: [],
353
353
  on_destroy: [],
@@ -356,29 +356,29 @@ function ur(e, t, r, n, i, s, o = null, u = [-1]) {
356
356
  after_update: [],
357
357
  context: new Map(t.context || (l ? l.$$.context : [])),
358
358
  // everything else
359
- callbacks: We(),
359
+ callbacks: ze(),
360
360
  dirty: u,
361
361
  skip_bound: !1,
362
362
  root: t.target || l.$$.root
363
363
  };
364
- o && o(a.root);
364
+ a && a(o.root);
365
365
  let h = !1;
366
- if (a.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
366
+ if (o.ctx = n ? n(e, t.props || {}, (m, f, ...b) => {
367
367
  const y = b.length ? b[0] : f;
368
- return a.ctx && i(a.ctx[m], a.ctx[m] = y) && (!a.skip_bound && a.bound[m] && a.bound[m](y), h && ar(e, m)), f;
369
- }) : [], a.update(), h = !0, W(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
368
+ return o.ctx && i(o.ctx[m], o.ctx[m] = y) && (!o.skip_bound && o.bound[m] && o.bound[m](y), h && on(e, m)), f;
369
+ }) : [], o.update(), h = !0, z(o.before_update), o.fragment = r ? r(o.ctx) : !1, t.target) {
370
370
  if (t.hydrate) {
371
- const m = Kt(t.target);
372
- a.fragment && a.fragment.l(m), m.forEach(re);
371
+ const m = Yt(t.target);
372
+ o.fragment && o.fragment.l(m), m.forEach(te);
373
373
  } else
374
- a.fragment && a.fragment.c();
375
- t.intro && bt(e.$$.fragment), sr(e, t.target, t.anchor), H();
374
+ o.fragment && o.fragment.c();
375
+ t.intro && gt(e.$$.fragment), sn(e, t.target, t.anchor), H();
376
376
  }
377
- Y(l);
377
+ J(l);
378
378
  }
379
- let pt;
380
- typeof HTMLElement == "function" && (pt = class extends HTMLElement {
381
- constructor(t, r, n) {
379
+ let bt;
380
+ typeof HTMLElement == "function" && (bt = class extends HTMLElement {
381
+ constructor(t, n, r) {
382
382
  super();
383
383
  /** The Svelte component constructor */
384
384
  S(this, "$$ctor");
@@ -398,59 +398,59 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
398
398
  S(this, "$$l", {});
399
399
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
400
400
  S(this, "$$l_u", /* @__PURE__ */ new Map());
401
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
401
+ this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
402
402
  }
403
- addEventListener(t, r, n) {
404
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
405
- const i = this.$$c.$on(t, r);
406
- this.$$l_u.set(r, i);
403
+ addEventListener(t, n, r) {
404
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
405
+ const i = this.$$c.$on(t, n);
406
+ this.$$l_u.set(n, i);
407
407
  }
408
- super.addEventListener(t, r, n);
408
+ super.addEventListener(t, n, r);
409
409
  }
410
- removeEventListener(t, r, n) {
411
- if (super.removeEventListener(t, r, n), this.$$c) {
412
- const i = this.$$l_u.get(r);
413
- i && (i(), this.$$l_u.delete(r));
410
+ removeEventListener(t, n, r) {
411
+ if (super.removeEventListener(t, n, r), this.$$c) {
412
+ const i = this.$$l_u.get(n);
413
+ i && (i(), this.$$l_u.delete(n));
414
414
  }
415
415
  }
416
416
  connectedCallback() {
417
- return ze(this, null, function* () {
417
+ return Xe(this, null, function* () {
418
418
  if (this.$$cn = !0, !this.$$c) {
419
419
  let t = function(s) {
420
420
  return () => {
421
- let o;
421
+ let a;
422
422
  return {
423
423
  c: function() {
424
- o = ne("slot"), s !== "default" && Ge(o, "name", s);
424
+ a = ne("slot"), s !== "default" && Ue(a, "name", s);
425
425
  },
426
426
  /**
427
427
  * @param {HTMLElement} target
428
428
  * @param {HTMLElement} [anchor]
429
429
  */
430
- m: function(a, h) {
431
- me(a, o, h);
430
+ m: function(o, h) {
431
+ fe(o, a, h);
432
432
  },
433
- d: function(a) {
434
- a && re(o);
433
+ d: function(o) {
434
+ o && te(a);
435
435
  }
436
436
  };
437
437
  };
438
438
  };
439
439
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
440
440
  return;
441
- const r = {}, n = er(this);
441
+ const n = {}, r = Kt(this);
442
442
  for (const s of this.$$s)
443
- s in n && (r[s] = [t(s)]);
443
+ s in r && (n[s] = [t(s)]);
444
444
  for (const s of this.attributes) {
445
- const o = this.$$g_p(s.name);
446
- o in this.$$d || (this.$$d[o] = ae(o, s.value, this.$$p_d, "toProp"));
445
+ const a = this.$$g_p(s.name);
446
+ a in this.$$d || (this.$$d[a] = ae(a, s.value, this.$$p_d, "toProp"));
447
447
  }
448
448
  for (const s in this.$$p_d)
449
449
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
450
450
  this.$$c = new this.$$ctor({
451
451
  target: this.shadowRoot || this,
452
- props: Xe(Ve({}, this.$$d), {
453
- $$slots: r,
452
+ props: Ve(ke({}, this.$$d), {
453
+ $$slots: n,
454
454
  $$scope: {
455
455
  ctx: []
456
456
  }
@@ -460,21 +460,21 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
460
460
  this.$$r = !0;
461
461
  for (const s in this.$$p_d)
462
462
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
463
- const o = ae(
463
+ const a = ae(
464
464
  s,
465
465
  this.$$d[s],
466
466
  this.$$p_d,
467
467
  "toAttribute"
468
468
  );
469
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
469
+ a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
470
470
  }
471
471
  this.$$r = !1;
472
472
  };
473
473
  this.$$c.$$.after_update.push(i), i();
474
474
  for (const s in this.$$l)
475
- for (const o of this.$$l[s]) {
476
- const u = this.$$c.$on(s, o);
477
- this.$$l_u.set(o, u);
475
+ for (const a of this.$$l[s]) {
476
+ const u = this.$$c.$on(s, a);
477
+ this.$$l_u.set(a, u);
478
478
  }
479
479
  this.$$l = {};
480
480
  }
@@ -482,9 +482,9 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
482
482
  }
483
483
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
484
484
  // and setting attributes through setAttribute etc, this is helpful
485
- attributeChangedCallback(t, r, n) {
485
+ attributeChangedCallback(t, n, r) {
486
486
  var i;
487
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
487
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
488
488
  }
489
489
  disconnectedCallback() {
490
490
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -493,16 +493,16 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
493
493
  }
494
494
  $$g_p(t) {
495
495
  return Object.keys(this.$$p_d).find(
496
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
496
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
497
497
  ) || t;
498
498
  }
499
499
  });
500
- function ae(e, t, r, n) {
500
+ function ae(e, t, n, r) {
501
501
  var s;
502
- const i = (s = r[e]) == null ? void 0 : s.type;
503
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
502
+ const i = (s = n[e]) == null ? void 0 : s.type;
503
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
504
504
  return t;
505
- if (n === "toAttribute")
505
+ if (r === "toAttribute")
506
506
  switch (i) {
507
507
  case "Object":
508
508
  case "Array":
@@ -527,10 +527,10 @@ function ae(e, t, r, n) {
527
527
  return t;
528
528
  }
529
529
  }
530
- function hr(e, t, r, n, i, s) {
531
- let o = class extends pt {
530
+ function hn(e, t, n, r, i, s) {
531
+ let a = class extends bt {
532
532
  constructor() {
533
- super(e, r, i), this.$$p_d = t;
533
+ super(e, n, i), this.$$p_d = t;
534
534
  }
535
535
  static get observedAttributes() {
536
536
  return Object.keys(t).map(
@@ -539,26 +539,26 @@ function hr(e, t, r, n, i, s) {
539
539
  }
540
540
  };
541
541
  return Object.keys(t).forEach((u) => {
542
- Object.defineProperty(o.prototype, u, {
542
+ Object.defineProperty(a.prototype, u, {
543
543
  get() {
544
544
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
545
545
  },
546
546
  set(l) {
547
- var a;
548
- l = ae(u, l, t), this.$$d[u] = l, (a = this.$$c) == null || a.$set({ [u]: l });
547
+ var o;
548
+ l = ae(u, l, t), this.$$d[u] = l, (o = this.$$c) == null || o.$set({ [u]: l });
549
549
  }
550
550
  });
551
- }), n.forEach((u) => {
552
- Object.defineProperty(o.prototype, u, {
551
+ }), r.forEach((u) => {
552
+ Object.defineProperty(a.prototype, u, {
553
553
  get() {
554
554
  var l;
555
555
  return (l = this.$$c) == null ? void 0 : l[u];
556
556
  }
557
557
  });
558
558
  }), e.element = /** @type {any} */
559
- o, o;
559
+ a, a;
560
560
  }
561
- class lr {
561
+ class ln {
562
562
  constructor() {
563
563
  /**
564
564
  * ### PRIVATE API
@@ -579,7 +579,7 @@ class lr {
579
579
  }
580
580
  /** @returns {void} */
581
581
  $destroy() {
582
- or(this, 1), this.$destroy = O;
582
+ an(this, 1), this.$destroy = O;
583
583
  }
584
584
  /**
585
585
  * @template {Extract<keyof Events, string>} K
@@ -587,13 +587,13 @@ class lr {
587
587
  * @param {((e: Events[K]) => void) | null | undefined} callback
588
588
  * @returns {() => void}
589
589
  */
590
- $on(t, r) {
591
- if (!De(r))
590
+ $on(t, n) {
591
+ if (!$e(n))
592
592
  return O;
593
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
594
- return n.push(r), () => {
595
- const i = n.indexOf(r);
596
- i !== -1 && n.splice(i, 1);
593
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
594
+ return r.push(n), () => {
595
+ const i = r.indexOf(n);
596
+ i !== -1 && r.splice(i, 1);
597
597
  };
598
598
  }
599
599
  /**
@@ -601,221 +601,270 @@ class lr {
601
601
  * @returns {void}
602
602
  */
603
603
  $set(t) {
604
- this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
604
+ this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
605
605
  }
606
606
  }
607
- const fr = "4";
608
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
609
- const G = [];
610
- function cr(e, t) {
607
+ const fn = "4";
608
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
609
+ /*! *****************************************************************************
610
+ Copyright (c) Microsoft Corporation.
611
+
612
+ Permission to use, copy, modify, and/or distribute this software for any
613
+ purpose with or without fee is hereby granted.
614
+
615
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
616
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
617
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
618
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
619
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
620
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
621
+ PERFORMANCE OF THIS SOFTWARE.
622
+ ***************************************************************************** */
623
+ var we = function(e, t) {
624
+ return we = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
625
+ n.__proto__ = r;
626
+ } || function(n, r) {
627
+ for (var i in r)
628
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
629
+ }, we(e, t);
630
+ };
631
+ function ce(e, t) {
632
+ if (typeof t != "function" && t !== null)
633
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
634
+ we(e, t);
635
+ function n() {
636
+ this.constructor = e;
637
+ }
638
+ e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
639
+ }
640
+ var E = function() {
641
+ return E = Object.assign || function(t) {
642
+ for (var n, r = 1, i = arguments.length; r < i; r++) {
643
+ n = arguments[r];
644
+ for (var s in n)
645
+ Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
646
+ }
647
+ return t;
648
+ }, E.apply(this, arguments);
649
+ };
650
+ function cn(e, t) {
651
+ var n = {};
652
+ for (var r in e)
653
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
654
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
655
+ for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
656
+ t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
657
+ return n;
658
+ }
659
+ function Ti(e) {
660
+ var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
661
+ if (n)
662
+ return n.call(e);
663
+ if (e && typeof e.length == "number")
664
+ return {
665
+ next: function() {
666
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
667
+ }
668
+ };
669
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
670
+ }
671
+ function Si(e, t) {
672
+ var n = typeof Symbol == "function" && e[Symbol.iterator];
673
+ if (!n)
674
+ return e;
675
+ var r = n.call(e), i, s = [], a;
676
+ try {
677
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
678
+ s.push(i.value);
679
+ } catch (u) {
680
+ a = { error: u };
681
+ } finally {
682
+ try {
683
+ i && !i.done && (n = r.return) && n.call(r);
684
+ } finally {
685
+ if (a)
686
+ throw a.error;
687
+ }
688
+ }
689
+ return s;
690
+ }
691
+ function Ee(e, t, n) {
692
+ if (n || arguments.length === 2)
693
+ for (var r = 0, i = t.length, s; r < i; r++)
694
+ (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
695
+ return e.concat(s || t);
696
+ }
697
+ const D = [];
698
+ function mn(e, t) {
611
699
  return {
612
- subscribe: ge(e, t).subscribe
700
+ subscribe: me(e, t).subscribe
613
701
  };
614
702
  }
615
- function ge(e, t = O) {
616
- let r;
617
- const n = /* @__PURE__ */ new Set();
703
+ function me(e, t = O) {
704
+ let n;
705
+ const r = /* @__PURE__ */ new Set();
618
706
  function i(u) {
619
- if (lt(e, u) && (e = u, r)) {
620
- const l = !G.length;
621
- for (const a of n)
622
- a[1](), G.push(a, e);
707
+ if (ht(e, u) && (e = u, n)) {
708
+ const l = !D.length;
709
+ for (const o of r)
710
+ o[1](), D.push(o, e);
623
711
  if (l) {
624
- for (let a = 0; a < G.length; a += 2)
625
- G[a][0](G[a + 1]);
626
- G.length = 0;
712
+ for (let o = 0; o < D.length; o += 2)
713
+ D[o][0](D[o + 1]);
714
+ D.length = 0;
627
715
  }
628
716
  }
629
717
  }
630
718
  function s(u) {
631
719
  i(u(e));
632
720
  }
633
- function o(u, l = O) {
634
- const a = [u, l];
635
- return n.add(a), n.size === 1 && (r = t(i, s) || O), u(e), () => {
636
- n.delete(a), n.size === 0 && r && (r(), r = null);
721
+ function a(u, l = O) {
722
+ const o = [u, l];
723
+ return r.add(o), r.size === 1 && (n = t(i, s) || O), u(e), () => {
724
+ r.delete(o), r.size === 0 && n && (n(), n = null);
637
725
  };
638
726
  }
639
- return { set: i, update: s, subscribe: o };
727
+ return { set: i, update: s, subscribe: a };
640
728
  }
641
- function Z(e, t, r) {
642
- const n = !Array.isArray(e), i = n ? [e] : e;
729
+ function W(e, t, n) {
730
+ const r = !Array.isArray(e), i = r ? [e] : e;
643
731
  if (!i.every(Boolean))
644
732
  throw new Error("derived() expects stores as input, got a falsy value");
645
733
  const s = t.length < 2;
646
- return cr(r, (o, u) => {
734
+ return mn(n, (a, u) => {
647
735
  let l = !1;
648
- const a = [];
736
+ const o = [];
649
737
  let h = 0, m = O;
650
738
  const f = () => {
651
739
  if (h)
652
740
  return;
653
741
  m();
654
- const y = t(n ? a[0] : a, o, u);
655
- s ? o(y) : m = De(y) ? y : O;
742
+ const y = t(r ? o[0] : o, a, u);
743
+ s ? a(y) : m = $e(y) ? y : O;
656
744
  }, b = i.map(
657
- (y, _) => ft(
745
+ (y, x) => lt(
658
746
  y,
659
747
  (T) => {
660
- a[_] = T, h &= ~(1 << _), l && f();
748
+ o[x] = T, h &= ~(1 << x), l && f();
661
749
  },
662
750
  () => {
663
- h |= 1 << _;
751
+ h |= 1 << x;
664
752
  }
665
753
  )
666
754
  );
667
755
  return l = !0, f(), function() {
668
- W(b), m(), l = !1;
756
+ z(b), m(), l = !1;
669
757
  };
670
758
  });
671
759
  }
672
- function mr(e) {
673
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
760
+ function dn(e) {
761
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
674
762
  }
675
- var gr = function(t) {
676
- return dr(t) && !br(t);
763
+ var gn = function(t) {
764
+ return bn(t) && !pn(t);
677
765
  };
678
- function dr(e) {
766
+ function bn(e) {
679
767
  return !!e && typeof e == "object";
680
768
  }
681
- function br(e) {
769
+ function pn(e) {
682
770
  var t = Object.prototype.toString.call(e);
683
- return t === "[object RegExp]" || t === "[object Date]" || Er(e);
771
+ return t === "[object RegExp]" || t === "[object Date]" || _n(e);
684
772
  }
685
- var pr = typeof Symbol == "function" && Symbol.for, yr = pr ? Symbol.for("react.element") : 60103;
686
- function Er(e) {
687
- return e.$$typeof === yr;
773
+ var yn = typeof Symbol == "function" && Symbol.for, En = yn ? Symbol.for("react.element") : 60103;
774
+ function _n(e) {
775
+ return e.$$typeof === En;
688
776
  }
689
- function vr(e) {
777
+ function xn(e) {
690
778
  return Array.isArray(e) ? [] : {};
691
779
  }
692
- function ee(e, t) {
693
- return t.clone !== !1 && t.isMergeableObject(e) ? k(vr(e), e, t) : e;
780
+ function K(e, t) {
781
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(xn(e), e, t) : e;
694
782
  }
695
- function _r(e, t, r) {
696
- return e.concat(t).map(function(n) {
697
- return ee(n, r);
783
+ function vn(e, t, n) {
784
+ return e.concat(t).map(function(r) {
785
+ return K(r, n);
698
786
  });
699
787
  }
700
- function xr(e, t) {
788
+ function Hn(e, t) {
701
789
  if (!t.customMerge)
702
- return k;
703
- var r = t.customMerge(e);
704
- return typeof r == "function" ? r : k;
790
+ return j;
791
+ var n = t.customMerge(e);
792
+ return typeof n == "function" ? n : j;
705
793
  }
706
- function Hr(e) {
794
+ function Tn(e) {
707
795
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
708
796
  return Object.propertyIsEnumerable.call(e, t);
709
797
  }) : [];
710
798
  }
711
- function Qe(e) {
712
- return Object.keys(e).concat(Hr(e));
799
+ function Ze(e) {
800
+ return Object.keys(e).concat(Tn(e));
713
801
  }
714
- function yt(e, t) {
802
+ function pt(e, t) {
715
803
  try {
716
804
  return t in e;
717
- } catch (r) {
805
+ } catch (n) {
718
806
  return !1;
719
807
  }
720
808
  }
721
- function Tr(e, t) {
722
- return yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
809
+ function Sn(e, t) {
810
+ return pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
723
811
  }
724
- function Sr(e, t, r) {
725
- var n = {};
726
- return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
727
- n[i] = ee(e[i], r);
728
- }), Qe(t).forEach(function(i) {
729
- Tr(e, i) || (yt(e, i) && r.isMergeableObject(t[i]) ? n[i] = xr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
730
- }), n;
731
- }
732
- function k(e, t, r) {
733
- r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || gr, r.cloneUnlessOtherwiseSpecified = ee;
734
- var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
735
- return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : ee(t, r);
736
- }
737
- k.all = function(t, r) {
812
+ function Bn(e, t, n) {
813
+ var r = {};
814
+ return n.isMergeableObject(e) && Ze(e).forEach(function(i) {
815
+ r[i] = K(e[i], n);
816
+ }), Ze(t).forEach(function(i) {
817
+ Sn(e, i) || (pt(e, i) && n.isMergeableObject(t[i]) ? r[i] = Hn(i, n)(e[i], t[i], n) : r[i] = K(t[i], n));
818
+ }), r;
819
+ }
820
+ function j(e, t, n) {
821
+ n = n || {}, n.arrayMerge = n.arrayMerge || vn, n.isMergeableObject = n.isMergeableObject || gn, n.cloneUnlessOtherwiseSpecified = K;
822
+ var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
823
+ return s ? r ? n.arrayMerge(e, t, n) : Bn(e, t, n) : K(t, n);
824
+ }
825
+ j.all = function(t, n) {
738
826
  if (!Array.isArray(t))
739
827
  throw new Error("first argument should be an array");
740
- return t.reduce(function(n, i) {
741
- return k(n, i, r);
828
+ return t.reduce(function(r, i) {
829
+ return j(r, i, n);
742
830
  }, {});
743
831
  };
744
- var Br = k, Ar = Br;
745
- const wr = /* @__PURE__ */ mr(Ar);
746
- var Ne = function(e, t) {
747
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
748
- r.__proto__ = n;
749
- } || function(r, n) {
750
- for (var i in n)
751
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
752
- }, Ne(e, t);
753
- };
754
- function de(e, t) {
755
- if (typeof t != "function" && t !== null)
756
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
757
- Ne(e, t);
758
- function r() {
759
- this.constructor = e;
760
- }
761
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
762
- }
763
- var M = function() {
764
- return M = Object.assign || function(t) {
765
- for (var r, n = 1, i = arguments.length; n < i; n++) {
766
- r = arguments[n];
767
- for (var s in r)
768
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
769
- }
770
- return t;
771
- }, M.apply(this, arguments);
772
- };
773
- function Pr(e, t) {
774
- var r = {};
775
- for (var n in e)
776
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
777
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
778
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
779
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
780
- return r;
781
- }
782
- function _e(e, t, r) {
783
- if (r || arguments.length === 2)
784
- for (var n = 0, i = t.length, s; n < i; n++)
785
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
786
- return e.concat(s || Array.prototype.slice.call(t));
787
- }
788
- function xe(e, t) {
789
- var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Ir;
832
+ var An = j, wn = An;
833
+ const Pn = /* @__PURE__ */ dn(wn);
834
+ function _e(e, t) {
835
+ var n = t && t.cache ? t.cache : Rn, r = t && t.serializer ? t.serializer : Cn, i = t && t.strategy ? t.strategy : On;
790
836
  return i(e, {
791
- cache: r,
792
- serializer: n
837
+ cache: n,
838
+ serializer: r
793
839
  });
794
840
  }
795
- function Nr(e) {
841
+ function Nn(e) {
796
842
  return e == null || typeof e == "number" || typeof e == "boolean";
797
843
  }
798
- function Or(e, t, r, n) {
799
- var i = Nr(n) ? n : r(n), s = t.get(i);
800
- return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
844
+ function yt(e, t, n, r) {
845
+ var i = Nn(r) ? r : n(r), s = t.get(i);
846
+ return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
847
+ }
848
+ function Et(e, t, n) {
849
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
850
+ return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
801
851
  }
802
- function Et(e, t, r) {
803
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
804
- return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
852
+ function De(e, t, n, r, i) {
853
+ return n.bind(t, e, r, i);
805
854
  }
806
- function vt(e, t, r, n, i) {
807
- return r.bind(t, e, n, i);
855
+ function On(e, t) {
856
+ var n = e.length === 1 ? yt : Et;
857
+ return De(e, this, n, t.cache.create(), t.serializer);
808
858
  }
809
- function Ir(e, t) {
810
- var r = e.length === 1 ? Or : Et;
811
- return vt(e, this, r, t.cache.create(), t.serializer);
859
+ function In(e, t) {
860
+ return De(e, this, Et, t.cache.create(), t.serializer);
812
861
  }
813
- function Lr(e, t) {
814
- return vt(e, this, Et, t.cache.create(), t.serializer);
862
+ function Ln(e, t) {
863
+ return De(e, this, yt, t.cache.create(), t.serializer);
815
864
  }
816
- var Cr = function() {
865
+ var Cn = function() {
817
866
  return JSON.stringify(arguments);
818
- }, Mr = (
867
+ }, Mn = (
819
868
  /** @class */
820
869
  function() {
821
870
  function e() {
@@ -823,82 +872,73 @@ var Cr = function() {
823
872
  }
824
873
  return e.prototype.get = function(t) {
825
874
  return this.cache[t];
826
- }, e.prototype.set = function(t, r) {
827
- this.cache[t] = r;
875
+ }, e.prototype.set = function(t, n) {
876
+ this.cache[t] = n;
828
877
  }, e;
829
878
  }()
830
- ), Rr = {
879
+ ), Rn = {
831
880
  create: function() {
832
- return new Mr();
881
+ return new Mn();
833
882
  }
834
- }, He = {
835
- variadic: Lr
836
- }, le = function() {
837
- return le = Object.assign || function(t) {
838
- for (var r, n = 1, i = arguments.length; n < i; n++) {
839
- r = arguments[n];
840
- for (var s in r)
841
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
842
- }
843
- return t;
844
- }, le.apply(this, arguments);
845
- };
846
- var d;
883
+ }, xe = {
884
+ variadic: In,
885
+ monadic: Ln
886
+ }, g;
847
887
  (function(e) {
848
888
  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";
849
- })(d || (d = {}));
850
- var E;
889
+ })(g || (g = {}));
890
+ var _;
851
891
  (function(e) {
852
892
  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";
853
- })(E || (E = {}));
854
- var V;
893
+ })(_ || (_ = {}));
894
+ var k;
855
895
  (function(e) {
856
896
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
857
- })(V || (V = {}));
858
- function qe(e) {
859
- return e.type === E.literal;
897
+ })(k || (k = {}));
898
+ function Qe(e) {
899
+ return e.type === _.literal;
860
900
  }
861
- function $r(e) {
862
- return e.type === E.argument;
901
+ function $n(e) {
902
+ return e.type === _.argument;
863
903
  }
864
904
  function _t(e) {
865
- return e.type === E.number;
905
+ return e.type === _.number;
866
906
  }
867
907
  function xt(e) {
868
- return e.type === E.date;
908
+ return e.type === _.date;
909
+ }
910
+ function vt(e) {
911
+ return e.type === _.time;
869
912
  }
870
913
  function Ht(e) {
871
- return e.type === E.time;
914
+ return e.type === _.select;
872
915
  }
873
916
  function Tt(e) {
874
- return e.type === E.select;
917
+ return e.type === _.plural;
875
918
  }
876
- function St(e) {
877
- return e.type === E.plural;
919
+ function Un(e) {
920
+ return e.type === _.pound;
878
921
  }
879
- function Ur(e) {
880
- return e.type === E.pound;
922
+ function St(e) {
923
+ return e.type === _.tag;
881
924
  }
882
925
  function Bt(e) {
883
- return e.type === E.tag;
884
- }
885
- function At(e) {
886
- return !!(e && typeof e == "object" && e.type === V.number);
926
+ return !!(e && typeof e == "object" && e.type === k.number);
887
927
  }
888
- function Oe(e) {
889
- return !!(e && typeof e == "object" && e.type === V.dateTime);
928
+ function Pe(e) {
929
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
890
930
  }
891
- var wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
892
- function Gr(e) {
931
+ var At = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
932
+ function Gn(e) {
893
933
  var t = {};
894
- return e.replace(Dr, function(r) {
895
- var n = r.length;
896
- switch (r[0]) {
934
+ return e.replace(Dn, function(n) {
935
+ var r = n.length;
936
+ switch (n[0]) {
897
937
  case "G":
898
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
938
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
899
939
  break;
900
940
  case "y":
901
- t.year = n === 2 ? "2-digit" : "numeric";
941
+ t.year = r === 2 ? "2-digit" : "numeric";
902
942
  break;
903
943
  case "Y":
904
944
  case "u":
@@ -910,30 +950,30 @@ function Gr(e) {
910
950
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
911
951
  case "M":
912
952
  case "L":
913
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
953
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
914
954
  break;
915
955
  case "w":
916
956
  case "W":
917
957
  throw new RangeError("`w/W` (week) patterns are not supported");
918
958
  case "d":
919
- t.day = ["numeric", "2-digit"][n - 1];
959
+ t.day = ["numeric", "2-digit"][r - 1];
920
960
  break;
921
961
  case "D":
922
962
  case "F":
923
963
  case "g":
924
964
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
925
965
  case "E":
926
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
966
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
927
967
  break;
928
968
  case "e":
929
- if (n < 4)
969
+ if (r < 4)
930
970
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
931
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
971
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
932
972
  break;
933
973
  case "c":
934
- if (n < 4)
974
+ if (r < 4)
935
975
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
936
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
976
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
937
977
  break;
938
978
  case "a":
939
979
  t.hour12 = !0;
@@ -942,32 +982,32 @@ function Gr(e) {
942
982
  case "B":
943
983
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
944
984
  case "h":
945
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
985
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
946
986
  break;
947
987
  case "H":
948
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
988
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
949
989
  break;
950
990
  case "K":
951
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
991
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
952
992
  break;
953
993
  case "k":
954
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
994
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
955
995
  break;
956
996
  case "j":
957
997
  case "J":
958
998
  case "C":
959
999
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
960
1000
  case "m":
961
- t.minute = ["numeric", "2-digit"][n - 1];
1001
+ t.minute = ["numeric", "2-digit"][r - 1];
962
1002
  break;
963
1003
  case "s":
964
- t.second = ["numeric", "2-digit"][n - 1];
1004
+ t.second = ["numeric", "2-digit"][r - 1];
965
1005
  break;
966
1006
  case "S":
967
1007
  case "A":
968
1008
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
969
1009
  case "z":
970
- t.timeZoneName = n < 4 ? "short" : "long";
1010
+ t.timeZoneName = r < 4 ? "short" : "long";
971
1011
  break;
972
1012
  case "Z":
973
1013
  case "O":
@@ -980,46 +1020,36 @@ function Gr(e) {
980
1020
  return "";
981
1021
  }), t;
982
1022
  }
983
- var v = function() {
984
- return v = Object.assign || function(t) {
985
- for (var r, n = 1, i = arguments.length; n < i; n++) {
986
- r = arguments[n];
987
- for (var s in r)
988
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
989
- }
990
- return t;
991
- }, v.apply(this, arguments);
992
- };
993
- var Fr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
994
- function jr(e) {
1023
+ var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1024
+ function jn(e) {
995
1025
  if (e.length === 0)
996
1026
  throw new Error("Number skeleton cannot be empty");
997
- for (var t = e.split(Fr).filter(function(f) {
1027
+ for (var t = e.split(Fn).filter(function(f) {
998
1028
  return f.length > 0;
999
- }), r = [], n = 0, i = t; n < i.length; n++) {
1000
- var s = i[n], o = s.split("/");
1001
- if (o.length === 0)
1029
+ }), n = [], r = 0, i = t; r < i.length; r++) {
1030
+ var s = i[r], a = s.split("/");
1031
+ if (a.length === 0)
1002
1032
  throw new Error("Invalid number skeleton");
1003
- for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
1004
- var m = h[a];
1033
+ for (var u = a[0], l = a.slice(1), o = 0, h = l; o < h.length; o++) {
1034
+ var m = h[o];
1005
1035
  if (m.length === 0)
1006
1036
  throw new Error("Invalid number skeleton");
1007
1037
  }
1008
- r.push({ stem: u, options: l });
1038
+ n.push({ stem: u, options: l });
1009
1039
  }
1010
- return r;
1040
+ return n;
1011
1041
  }
1012
- function kr(e) {
1042
+ function kn(e) {
1013
1043
  return e.replace(/^(.*?)-/, "");
1014
1044
  }
1015
- var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Nt = /^(0+)$/;
1016
- function Ye(e) {
1045
+ var qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wt = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Pt = /^(0+)$/;
1046
+ function Je(e) {
1017
1047
  var t = {};
1018
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pt, function(r, n, i) {
1019
- 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)), "";
1048
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wt, function(n, r, i) {
1049
+ 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)), "";
1020
1050
  }), t;
1021
1051
  }
1022
- function Ot(e) {
1052
+ function Nt(e) {
1023
1053
  switch (e) {
1024
1054
  case "sign-auto":
1025
1055
  return {
@@ -1059,27 +1089,27 @@ function Ot(e) {
1059
1089
  };
1060
1090
  }
1061
1091
  }
1062
- function Xr(e) {
1092
+ function Xn(e) {
1063
1093
  var t;
1064
1094
  if (e[0] === "E" && e[1] === "E" ? (t = {
1065
1095
  notation: "engineering"
1066
1096
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1067
1097
  notation: "scientific"
1068
1098
  }, e = e.slice(1)), t) {
1069
- var r = e.slice(0, 2);
1070
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Nt.test(e))
1099
+ var n = e.slice(0, 2);
1100
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pt.test(e))
1071
1101
  throw new Error("Malformed concise eng/scientific notation");
1072
1102
  t.minimumIntegerDigits = e.length;
1073
1103
  }
1074
1104
  return t;
1075
1105
  }
1076
- function Ke(e) {
1077
- var t = {}, r = Ot(e);
1078
- return r || t;
1106
+ function Ye(e) {
1107
+ var t = {}, n = Nt(e);
1108
+ return n || t;
1079
1109
  }
1080
- function zr(e) {
1081
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1082
- var i = n[r];
1110
+ function zn(e) {
1111
+ for (var t = {}, n = 0, r = e; n < r.length; n++) {
1112
+ var i = r[n];
1083
1113
  switch (i.stem) {
1084
1114
  case "percent":
1085
1115
  case "%":
@@ -1101,7 +1131,7 @@ function zr(e) {
1101
1131
  continue;
1102
1132
  case "measure-unit":
1103
1133
  case "unit":
1104
- t.style = "unit", t.unit = kr(i.options[0]);
1134
+ t.style = "unit", t.unit = kn(i.options[0]);
1105
1135
  continue;
1106
1136
  case "compact-short":
1107
1137
  case "K":
@@ -1112,13 +1142,13 @@ function zr(e) {
1112
1142
  t.notation = "compact", t.compactDisplay = "long";
1113
1143
  continue;
1114
1144
  case "scientific":
1115
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
1116
- return v(v({}, l), Ke(a));
1145
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
1146
+ return E(E({}, l), Ye(o));
1117
1147
  }, {}));
1118
1148
  continue;
1119
1149
  case "engineering":
1120
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1121
- return v(v({}, l), Ke(a));
1150
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
1151
+ return E(E({}, l), Ye(o));
1122
1152
  }, {}));
1123
1153
  continue;
1124
1154
  case "notation-simple":
@@ -1163,8 +1193,8 @@ function zr(e) {
1163
1193
  case "integer-width":
1164
1194
  if (i.options.length > 1)
1165
1195
  throw new RangeError("integer-width stems only accept a single optional option");
1166
- i.options[0].replace(Vr, function(l, a, h, m, f, b) {
1167
- if (a)
1196
+ i.options[0].replace(Vn, function(l, o, h, m, f, b) {
1197
+ if (o)
1168
1198
  t.minimumIntegerDigits = h.length;
1169
1199
  else {
1170
1200
  if (m && f)
@@ -1176,32 +1206,32 @@ function zr(e) {
1176
1206
  });
1177
1207
  continue;
1178
1208
  }
1179
- if (Nt.test(i.stem)) {
1209
+ if (Pt.test(i.stem)) {
1180
1210
  t.minimumIntegerDigits = i.stem.length;
1181
1211
  continue;
1182
1212
  }
1183
- if (Je.test(i.stem)) {
1213
+ if (qe.test(i.stem)) {
1184
1214
  if (i.options.length > 1)
1185
1215
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1186
- i.stem.replace(Je, function(l, a, h, m, f, b) {
1187
- return h === "*" ? t.minimumFractionDigits = a.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1216
+ i.stem.replace(qe, function(l, o, h, m, f, b) {
1217
+ return h === "*" ? t.minimumFractionDigits = o.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1188
1218
  });
1189
1219
  var s = i.options[0];
1190
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ye(s)));
1220
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Je(s)));
1191
1221
  continue;
1192
1222
  }
1193
- if (Pt.test(i.stem)) {
1194
- t = v(v({}, t), Ye(i.stem));
1223
+ if (wt.test(i.stem)) {
1224
+ t = E(E({}, t), Je(i.stem));
1195
1225
  continue;
1196
1226
  }
1197
- var o = Ot(i.stem);
1198
- o && (t = v(v({}, t), o));
1199
- var u = Xr(i.stem);
1200
- u && (t = v(v({}, t), u));
1227
+ var a = Nt(i.stem);
1228
+ a && (t = E(E({}, t), a));
1229
+ var u = Xn(i.stem);
1230
+ u && (t = E(E({}, t), u));
1201
1231
  }
1202
1232
  return t;
1203
1233
  }
1204
- var oe = {
1234
+ var se = {
1205
1235
  "001": [
1206
1236
  "H",
1207
1237
  "h"
@@ -2616,23 +2646,23 @@ var oe = {
2616
2646
  "h"
2617
2647
  ]
2618
2648
  };
2619
- function Wr(e, t) {
2620
- for (var r = "", n = 0; n < e.length; n++) {
2621
- var i = e.charAt(n);
2649
+ function Wn(e, t) {
2650
+ for (var n = "", r = 0; r < e.length; r++) {
2651
+ var i = e.charAt(r);
2622
2652
  if (i === "j") {
2623
- for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2624
- s++, n++;
2625
- var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Zr(t);
2626
- for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2627
- r += l;
2628
- for (; o-- > 0; )
2629
- r = a + r;
2653
+ for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2654
+ s++, r++;
2655
+ var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Zn(t);
2656
+ for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
2657
+ n += l;
2658
+ for (; a-- > 0; )
2659
+ n = o + n;
2630
2660
  } else
2631
- i === "J" ? r += "H" : r += i;
2661
+ i === "J" ? n += "H" : n += i;
2632
2662
  }
2633
- return r;
2663
+ return n;
2634
2664
  }
2635
- function Zr(e) {
2665
+ function Zn(e) {
2636
2666
  var t = e.hourCycle;
2637
2667
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2638
2668
  e.hourCycles && // @ts-ignore
@@ -2649,73 +2679,73 @@ function Zr(e) {
2649
2679
  default:
2650
2680
  throw new Error("Invalid hourCycle");
2651
2681
  }
2652
- var r = e.language, n;
2653
- r !== "root" && (n = e.maximize().region);
2654
- var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2682
+ var n = e.language, r;
2683
+ n !== "root" && (r = e.maximize().region);
2684
+ var i = se[r || ""] || se[n || ""] || se["".concat(n, "-001")] || se["001"];
2655
2685
  return i[0];
2656
2686
  }
2657
- var Te, Qr = new RegExp("^".concat(wt.source, "*")), qr = new RegExp("".concat(wt.source, "*$"));
2687
+ var ve, Qn = new RegExp("^".concat(At.source, "*")), qn = new RegExp("".concat(At.source, "*$"));
2658
2688
  function p(e, t) {
2659
2689
  return { start: e, end: t };
2660
2690
  }
2661
- var Jr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
2691
+ var Jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, er = !!String.prototype.codePointAt, tr = !!String.prototype.trimStart, nr = !!String.prototype.trimEnd, rr = !!Number.isSafeInteger, ir = rr ? Number.isSafeInteger : function(e) {
2662
2692
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2663
- }, Ie = !0;
2693
+ }, Ne = !0;
2664
2694
  try {
2665
- var on = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2666
- Ie = ((Te = on.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
2695
+ var sr = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2696
+ Ne = ((ve = sr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2667
2697
  } catch (e) {
2668
- Ie = !1;
2698
+ Ne = !1;
2669
2699
  }
2670
- var et = Jr ? (
2700
+ var Ke = Jn ? (
2671
2701
  // Native
2672
- function(t, r, n) {
2673
- return t.startsWith(r, n);
2702
+ function(t, n, r) {
2703
+ return t.startsWith(n, r);
2674
2704
  }
2675
2705
  ) : (
2676
2706
  // For IE11
2677
- function(t, r, n) {
2678
- return t.slice(n, n + r.length) === r;
2707
+ function(t, n, r) {
2708
+ return t.slice(r, r + n.length) === n;
2679
2709
  }
2680
- ), Le = Yr ? String.fromCodePoint : (
2710
+ ), Oe = Yn ? String.fromCodePoint : (
2681
2711
  // IE11
2682
2712
  function() {
2683
- for (var t = [], r = 0; r < arguments.length; r++)
2684
- t[r] = arguments[r];
2685
- for (var n = "", i = t.length, s = 0, o; i > s; ) {
2686
- if (o = t[s++], o > 1114111)
2687
- throw RangeError(o + " is not a valid code point");
2688
- n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2713
+ for (var t = [], n = 0; n < arguments.length; n++)
2714
+ t[n] = arguments[n];
2715
+ for (var r = "", i = t.length, s = 0, a; i > s; ) {
2716
+ if (a = t[s++], a > 1114111)
2717
+ throw RangeError(a + " is not a valid code point");
2718
+ r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2689
2719
  }
2690
- return n;
2720
+ return r;
2691
2721
  }
2692
- ), tt = (
2722
+ ), et = (
2693
2723
  // native
2694
- Kr ? Object.fromEntries : (
2724
+ Kn ? Object.fromEntries : (
2695
2725
  // Ponyfill
2696
2726
  function(t) {
2697
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2698
- var s = i[n], o = s[0], u = s[1];
2699
- r[o] = u;
2727
+ for (var n = {}, r = 0, i = t; r < i.length; r++) {
2728
+ var s = i[r], a = s[0], u = s[1];
2729
+ n[a] = u;
2700
2730
  }
2701
- return r;
2731
+ return n;
2702
2732
  }
2703
2733
  )
2704
- ), It = en ? (
2734
+ ), Ot = er ? (
2705
2735
  // Native
2706
- function(t, r) {
2707
- return t.codePointAt(r);
2736
+ function(t, n) {
2737
+ return t.codePointAt(n);
2708
2738
  }
2709
2739
  ) : (
2710
2740
  // IE 11
2711
- function(t, r) {
2712
- var n = t.length;
2713
- if (!(r < 0 || r >= n)) {
2714
- var i = t.charCodeAt(r), s;
2715
- return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2741
+ function(t, n) {
2742
+ var r = t.length;
2743
+ if (!(n < 0 || n >= r)) {
2744
+ var i = t.charCodeAt(n), s;
2745
+ return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2716
2746
  }
2717
2747
  }
2718
- ), an = tn ? (
2748
+ ), ar = tr ? (
2719
2749
  // Native
2720
2750
  function(t) {
2721
2751
  return t.trimStart();
@@ -2723,9 +2753,9 @@ var et = Jr ? (
2723
2753
  ) : (
2724
2754
  // Ponyfill
2725
2755
  function(t) {
2726
- return t.replace(Qr, "");
2756
+ return t.replace(Qn, "");
2727
2757
  }
2728
- ), un = rn ? (
2758
+ ), or = nr ? (
2729
2759
  // Native
2730
2760
  function(t) {
2731
2761
  return t.trimEnd();
@@ -2733,126 +2763,126 @@ var et = Jr ? (
2733
2763
  ) : (
2734
2764
  // Ponyfill
2735
2765
  function(t) {
2736
- return t.replace(qr, "");
2766
+ return t.replace(qn, "");
2737
2767
  }
2738
2768
  );
2739
- function Lt(e, t) {
2769
+ function It(e, t) {
2740
2770
  return new RegExp(e, t);
2741
2771
  }
2742
- var Ce;
2743
- if (Ie) {
2744
- var rt = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2745
- Ce = function(t, r) {
2746
- var n;
2747
- rt.lastIndex = r;
2748
- var i = rt.exec(t);
2749
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2772
+ var Ie;
2773
+ if (Ne) {
2774
+ var tt = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2775
+ Ie = function(t, n) {
2776
+ var r;
2777
+ tt.lastIndex = n;
2778
+ var i = tt.exec(t);
2779
+ return (r = i[1]) !== null && r !== void 0 ? r : "";
2750
2780
  };
2751
2781
  } else
2752
- Ce = function(t, r) {
2753
- for (var n = []; ; ) {
2754
- var i = It(t, r);
2755
- if (i === void 0 || Ct(i) || cn(i))
2782
+ Ie = function(t, n) {
2783
+ for (var r = []; ; ) {
2784
+ var i = Ot(t, n);
2785
+ if (i === void 0 || Lt(i) || fr(i))
2756
2786
  break;
2757
- n.push(i), r += i >= 65536 ? 2 : 1;
2787
+ r.push(i), n += i >= 65536 ? 2 : 1;
2758
2788
  }
2759
- return Le.apply(void 0, n);
2789
+ return Oe.apply(void 0, r);
2760
2790
  };
2761
- var hn = (
2791
+ var ur = (
2762
2792
  /** @class */
2763
2793
  function() {
2764
- function e(t, r) {
2765
- 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;
2794
+ function e(t, n) {
2795
+ 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;
2766
2796
  }
2767
2797
  return e.prototype.parse = function() {
2768
2798
  if (this.offset() !== 0)
2769
2799
  throw Error("parser can only be used once");
2770
2800
  return this.parseMessage(0, "", !1);
2771
- }, e.prototype.parseMessage = function(t, r, n) {
2801
+ }, e.prototype.parseMessage = function(t, n, r) {
2772
2802
  for (var i = []; !this.isEOF(); ) {
2773
2803
  var s = this.char();
2774
2804
  if (s === 123) {
2775
- var o = this.parseArgument(t, n);
2776
- if (o.err)
2777
- return o;
2778
- i.push(o.val);
2805
+ var a = this.parseArgument(t, r);
2806
+ if (a.err)
2807
+ return a;
2808
+ i.push(a.val);
2779
2809
  } else {
2780
2810
  if (s === 125 && t > 0)
2781
2811
  break;
2782
- if (s === 35 && (r === "plural" || r === "selectordinal")) {
2812
+ if (s === 35 && (n === "plural" || n === "selectordinal")) {
2783
2813
  var u = this.clonePosition();
2784
2814
  this.bump(), i.push({
2785
- type: E.pound,
2815
+ type: _.pound,
2786
2816
  location: p(u, this.clonePosition())
2787
2817
  });
2788
2818
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2789
- if (n)
2819
+ if (r)
2790
2820
  break;
2791
- return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2792
- } else if (s === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
2793
- var o = this.parseTag(t, r);
2794
- if (o.err)
2795
- return o;
2796
- i.push(o.val);
2821
+ return this.error(g.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2822
+ } else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
2823
+ var a = this.parseTag(t, n);
2824
+ if (a.err)
2825
+ return a;
2826
+ i.push(a.val);
2797
2827
  } else {
2798
- var o = this.parseLiteral(t, r);
2799
- if (o.err)
2800
- return o;
2801
- i.push(o.val);
2828
+ var a = this.parseLiteral(t, n);
2829
+ if (a.err)
2830
+ return a;
2831
+ i.push(a.val);
2802
2832
  }
2803
2833
  }
2804
2834
  }
2805
2835
  return { val: i, err: null };
2806
- }, e.prototype.parseTag = function(t, r) {
2807
- var n = this.clonePosition();
2836
+ }, e.prototype.parseTag = function(t, n) {
2837
+ var r = this.clonePosition();
2808
2838
  this.bump();
2809
2839
  var i = this.parseTagName();
2810
2840
  if (this.bumpSpace(), this.bumpIf("/>"))
2811
2841
  return {
2812
2842
  val: {
2813
- type: E.literal,
2843
+ type: _.literal,
2814
2844
  value: "<".concat(i, "/>"),
2815
- location: p(n, this.clonePosition())
2845
+ location: p(r, this.clonePosition())
2816
2846
  },
2817
2847
  err: null
2818
2848
  };
2819
2849
  if (this.bumpIf(">")) {
2820
- var s = this.parseMessage(t + 1, r, !0);
2850
+ var s = this.parseMessage(t + 1, n, !0);
2821
2851
  if (s.err)
2822
2852
  return s;
2823
- var o = s.val, u = this.clonePosition();
2853
+ var a = s.val, u = this.clonePosition();
2824
2854
  if (this.bumpIf("</")) {
2825
- if (this.isEOF() || !Me(this.char()))
2826
- return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
2827
- var l = this.clonePosition(), a = this.parseTagName();
2828
- return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2855
+ if (this.isEOF() || !Le(this.char()))
2856
+ return this.error(g.INVALID_TAG, p(u, this.clonePosition()));
2857
+ var l = this.clonePosition(), o = this.parseTagName();
2858
+ return i !== o ? this.error(g.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2829
2859
  val: {
2830
- type: E.tag,
2860
+ type: _.tag,
2831
2861
  value: i,
2832
- children: o,
2833
- location: p(n, this.clonePosition())
2862
+ children: a,
2863
+ location: p(r, this.clonePosition())
2834
2864
  },
2835
2865
  err: null
2836
- } : this.error(d.INVALID_TAG, p(u, this.clonePosition())));
2866
+ } : this.error(g.INVALID_TAG, p(u, this.clonePosition())));
2837
2867
  } else
2838
- return this.error(d.UNCLOSED_TAG, p(n, this.clonePosition()));
2868
+ return this.error(g.UNCLOSED_TAG, p(r, this.clonePosition()));
2839
2869
  } else
2840
- return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
2870
+ return this.error(g.INVALID_TAG, p(r, this.clonePosition()));
2841
2871
  }, e.prototype.parseTagName = function() {
2842
2872
  var t = this.offset();
2843
- for (this.bump(); !this.isEOF() && fn(this.char()); )
2873
+ for (this.bump(); !this.isEOF() && lr(this.char()); )
2844
2874
  this.bump();
2845
2875
  return this.message.slice(t, this.offset());
2846
- }, e.prototype.parseLiteral = function(t, r) {
2847
- for (var n = this.clonePosition(), i = ""; ; ) {
2848
- var s = this.tryParseQuote(r);
2876
+ }, e.prototype.parseLiteral = function(t, n) {
2877
+ for (var r = this.clonePosition(), i = ""; ; ) {
2878
+ var s = this.tryParseQuote(n);
2849
2879
  if (s) {
2850
2880
  i += s;
2851
2881
  continue;
2852
2882
  }
2853
- var o = this.tryParseUnquoted(t, r);
2854
- if (o) {
2855
- i += o;
2883
+ var a = this.tryParseUnquoted(t, n);
2884
+ if (a) {
2885
+ i += a;
2856
2886
  continue;
2857
2887
  }
2858
2888
  var u = this.tryParseLeftAngleBracket();
@@ -2862,14 +2892,14 @@ var hn = (
2862
2892
  }
2863
2893
  break;
2864
2894
  }
2865
- var l = p(n, this.clonePosition());
2895
+ var l = p(r, this.clonePosition());
2866
2896
  return {
2867
- val: { type: E.literal, value: i, location: l },
2897
+ val: { type: _.literal, value: i, location: l },
2868
2898
  err: null
2869
2899
  };
2870
2900
  }, e.prototype.tryParseLeftAngleBracket = function() {
2871
2901
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2872
- !ln(this.peek() || 0)) ? (this.bump(), "<") : null;
2902
+ !hr(this.peek() || 0)) ? (this.bump(), "<") : null;
2873
2903
  }, e.prototype.tryParseQuote = function(t) {
2874
2904
  if (this.isEOF() || this.char() !== 39)
2875
2905
  return null;
@@ -2889,114 +2919,114 @@ var hn = (
2889
2919
  return null;
2890
2920
  }
2891
2921
  this.bump();
2892
- var r = [this.char()];
2922
+ var n = [this.char()];
2893
2923
  for (this.bump(); !this.isEOF(); ) {
2894
- var n = this.char();
2895
- if (n === 39)
2924
+ var r = this.char();
2925
+ if (r === 39)
2896
2926
  if (this.peek() === 39)
2897
- r.push(39), this.bump();
2927
+ n.push(39), this.bump();
2898
2928
  else {
2899
2929
  this.bump();
2900
2930
  break;
2901
2931
  }
2902
2932
  else
2903
- r.push(n);
2933
+ n.push(r);
2904
2934
  this.bump();
2905
2935
  }
2906
- return Le.apply(void 0, r);
2907
- }, e.prototype.tryParseUnquoted = function(t, r) {
2936
+ return Oe.apply(void 0, n);
2937
+ }, e.prototype.tryParseUnquoted = function(t, n) {
2908
2938
  if (this.isEOF())
2909
2939
  return null;
2910
- var n = this.char();
2911
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Le(n));
2912
- }, e.prototype.parseArgument = function(t, r) {
2913
- var n = this.clonePosition();
2940
+ var r = this.char();
2941
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Oe(r));
2942
+ }, e.prototype.parseArgument = function(t, n) {
2943
+ var r = this.clonePosition();
2914
2944
  if (this.bump(), this.bumpSpace(), this.isEOF())
2915
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2945
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
2916
2946
  if (this.char() === 125)
2917
- return this.bump(), this.error(d.EMPTY_ARGUMENT, p(n, this.clonePosition()));
2947
+ return this.bump(), this.error(g.EMPTY_ARGUMENT, p(r, this.clonePosition()));
2918
2948
  var i = this.parseIdentifierIfPossible().value;
2919
2949
  if (!i)
2920
- return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2950
+ return this.error(g.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
2921
2951
  if (this.bumpSpace(), this.isEOF())
2922
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
2952
+ return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
2923
2953
  switch (this.char()) {
2924
2954
  case 125:
2925
2955
  return this.bump(), {
2926
2956
  val: {
2927
- type: E.argument,
2957
+ type: _.argument,
2928
2958
  // value does not include the opening and closing braces.
2929
2959
  value: i,
2930
- location: p(n, this.clonePosition())
2960
+ location: p(r, this.clonePosition())
2931
2961
  },
2932
2962
  err: null
2933
2963
  };
2934
2964
  case 44:
2935
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2965
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
2936
2966
  default:
2937
- return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2967
+ return this.error(g.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
2938
2968
  }
2939
2969
  }, e.prototype.parseIdentifierIfPossible = function() {
2940
- var t = this.clonePosition(), r = this.offset(), n = Ce(this.message, r), i = r + n.length;
2970
+ var t = this.clonePosition(), n = this.offset(), r = Ie(this.message, n), i = n + r.length;
2941
2971
  this.bumpTo(i);
2942
- var s = this.clonePosition(), o = p(t, s);
2943
- return { value: n, location: o };
2944
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2945
- var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2972
+ var s = this.clonePosition(), a = p(t, s);
2973
+ return { value: r, location: a };
2974
+ }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
2975
+ var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2946
2976
  switch (u) {
2947
2977
  case "":
2948
- return this.error(d.EXPECT_ARGUMENT_TYPE, p(o, l));
2978
+ return this.error(g.EXPECT_ARGUMENT_TYPE, p(a, l));
2949
2979
  case "number":
2950
2980
  case "date":
2951
2981
  case "time": {
2952
2982
  this.bumpSpace();
2953
- var a = null;
2983
+ var o = null;
2954
2984
  if (this.bumpIf(",")) {
2955
2985
  this.bumpSpace();
2956
2986
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2957
2987
  if (m.err)
2958
2988
  return m;
2959
- var f = un(m.val);
2989
+ var f = or(m.val);
2960
2990
  if (f.length === 0)
2961
- return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2991
+ return this.error(g.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2962
2992
  var b = p(h, this.clonePosition());
2963
- a = { style: f, styleLocation: b };
2993
+ o = { style: f, styleLocation: b };
2964
2994
  }
2965
2995
  var y = this.tryParseArgumentClose(i);
2966
2996
  if (y.err)
2967
2997
  return y;
2968
- var _ = p(i, this.clonePosition());
2969
- if (a && et(a == null ? void 0 : a.style, "::", 0)) {
2970
- var T = an(a.style.slice(2));
2998
+ var x = p(i, this.clonePosition());
2999
+ if (o && Ke(o == null ? void 0 : o.style, "::", 0)) {
3000
+ var T = ar(o.style.slice(2));
2971
3001
  if (u === "number") {
2972
- var m = this.parseNumberSkeletonFromString(T, a.styleLocation);
3002
+ var m = this.parseNumberSkeletonFromString(T, o.styleLocation);
2973
3003
  return m.err ? m : {
2974
- val: { type: E.number, value: n, location: _, style: m.val },
3004
+ val: { type: _.number, value: r, location: x, style: m.val },
2975
3005
  err: null
2976
3006
  };
2977
3007
  } else {
2978
3008
  if (T.length === 0)
2979
- return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
3009
+ return this.error(g.EXPECT_DATE_TIME_SKELETON, x);
2980
3010
  var P = T;
2981
- this.locale && (P = Wr(T, this.locale));
3011
+ this.locale && (P = Wn(T, this.locale));
2982
3012
  var f = {
2983
- type: V.dateTime,
3013
+ type: k.dateTime,
2984
3014
  pattern: P,
2985
- location: a.styleLocation,
2986
- parsedOptions: this.shouldParseSkeletons ? Gr(P) : {}
2987
- }, w = u === "date" ? E.date : E.time;
3015
+ location: o.styleLocation,
3016
+ parsedOptions: this.shouldParseSkeletons ? Gn(P) : {}
3017
+ }, w = u === "date" ? _.date : _.time;
2988
3018
  return {
2989
- val: { type: w, value: n, location: _, style: f },
3019
+ val: { type: w, value: r, location: x, style: f },
2990
3020
  err: null
2991
3021
  };
2992
3022
  }
2993
3023
  }
2994
3024
  return {
2995
3025
  val: {
2996
- type: u === "number" ? E.number : u === "date" ? E.date : E.time,
2997
- value: n,
2998
- location: _,
2999
- style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
3026
+ type: u === "number" ? _.number : u === "date" ? _.date : _.time,
3027
+ value: r,
3028
+ location: x,
3029
+ style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
3000
3030
  },
3001
3031
  err: null
3002
3032
  };
@@ -3006,19 +3036,19 @@ var hn = (
3006
3036
  case "select": {
3007
3037
  var B = this.clonePosition();
3008
3038
  if (this.bumpSpace(), !this.bumpIf(","))
3009
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, le({}, B)));
3039
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, E({}, B)));
3010
3040
  this.bumpSpace();
3011
- var N = this.parseIdentifierIfPossible(), x = 0;
3041
+ var N = this.parseIdentifierIfPossible(), v = 0;
3012
3042
  if (u !== "select" && N.value === "offset") {
3013
3043
  if (!this.bumpIf(":"))
3014
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
3044
+ return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
3015
3045
  this.bumpSpace();
3016
- var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3046
+ var m = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3017
3047
  if (m.err)
3018
3048
  return m;
3019
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), x = m.val;
3049
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), v = m.val;
3020
3050
  }
3021
- var I = this.tryParsePluralOrSelectOptions(t, u, r, N);
3051
+ var I = this.tryParsePluralOrSelectOptions(t, u, n, N);
3022
3052
  if (I.err)
3023
3053
  return I;
3024
3054
  var y = this.tryParseArgumentClose(i);
@@ -3027,18 +3057,18 @@ var hn = (
3027
3057
  var c = p(i, this.clonePosition());
3028
3058
  return u === "select" ? {
3029
3059
  val: {
3030
- type: E.select,
3031
- value: n,
3032
- options: tt(I.val),
3060
+ type: _.select,
3061
+ value: r,
3062
+ options: et(I.val),
3033
3063
  location: c
3034
3064
  },
3035
3065
  err: null
3036
3066
  } : {
3037
3067
  val: {
3038
- type: E.plural,
3039
- value: n,
3040
- options: tt(I.val),
3041
- offset: x,
3068
+ type: _.plural,
3069
+ value: r,
3070
+ options: et(I.val),
3071
+ offset: v,
3042
3072
  pluralType: u === "plural" ? "cardinal" : "ordinal",
3043
3073
  location: c
3044
3074
  },
@@ -3046,19 +3076,19 @@ var hn = (
3046
3076
  };
3047
3077
  }
3048
3078
  default:
3049
- return this.error(d.INVALID_ARGUMENT_TYPE, p(o, l));
3079
+ return this.error(g.INVALID_ARGUMENT_TYPE, p(a, l));
3050
3080
  }
3051
3081
  }, e.prototype.tryParseArgumentClose = function(t) {
3052
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3082
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3053
3083
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3054
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3055
- var n = this.char();
3056
- switch (n) {
3084
+ for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3085
+ var r = this.char();
3086
+ switch (r) {
3057
3087
  case 39: {
3058
3088
  this.bump();
3059
3089
  var i = this.clonePosition();
3060
3090
  if (!this.bumpUntil("'"))
3061
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, p(i, this.clonePosition()));
3091
+ return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, p(i, this.clonePosition()));
3062
3092
  this.bump();
3063
3093
  break;
3064
3094
  }
@@ -3071,7 +3101,7 @@ var hn = (
3071
3101
  t -= 1;
3072
3102
  else
3073
3103
  return {
3074
- val: this.message.slice(r.offset, this.offset()),
3104
+ val: this.message.slice(n.offset, this.offset()),
3075
3105
  err: null
3076
3106
  };
3077
3107
  break;
@@ -3082,70 +3112,70 @@ var hn = (
3082
3112
  }
3083
3113
  }
3084
3114
  return {
3085
- val: this.message.slice(r.offset, this.offset()),
3115
+ val: this.message.slice(n.offset, this.offset()),
3086
3116
  err: null
3087
3117
  };
3088
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3089
- var n = [];
3118
+ }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3119
+ var r = [];
3090
3120
  try {
3091
- n = jr(t);
3121
+ r = jn(t);
3092
3122
  } catch (i) {
3093
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3123
+ return this.error(g.INVALID_NUMBER_SKELETON, n);
3094
3124
  }
3095
3125
  return {
3096
3126
  val: {
3097
- type: V.number,
3098
- tokens: n,
3099
- location: r,
3100
- parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
3127
+ type: k.number,
3128
+ tokens: r,
3129
+ location: n,
3130
+ parsedOptions: this.shouldParseSkeletons ? zn(r) : {}
3101
3131
  },
3102
3132
  err: null
3103
3133
  };
3104
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3105
- for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
3106
- if (a.length === 0) {
3134
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3135
+ for (var s, a = !1, u = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
3136
+ if (o.length === 0) {
3107
3137
  var m = this.clonePosition();
3108
- if (r !== "select" && this.bumpIf("=")) {
3109
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3138
+ if (n !== "select" && this.bumpIf("=")) {
3139
+ var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
3110
3140
  if (f.err)
3111
3141
  return f;
3112
- h = p(m, this.clonePosition()), a = this.message.slice(m.offset, this.offset());
3142
+ h = p(m, this.clonePosition()), o = this.message.slice(m.offset, this.offset());
3113
3143
  } else
3114
3144
  break;
3115
3145
  }
3116
- if (l.has(a))
3117
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3118
- a === "other" && (o = !0), this.bumpSpace();
3146
+ if (l.has(o))
3147
+ return this.error(n === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3148
+ o === "other" && (a = !0), this.bumpSpace();
3119
3149
  var b = this.clonePosition();
3120
3150
  if (!this.bumpIf("{"))
3121
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
3122
- var y = this.parseMessage(t + 1, r, n);
3151
+ return this.error(n === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
3152
+ var y = this.parseMessage(t + 1, n, r);
3123
3153
  if (y.err)
3124
3154
  return y;
3125
- var _ = this.tryParseArgumentClose(b);
3126
- if (_.err)
3127
- return _;
3155
+ var x = this.tryParseArgumentClose(b);
3156
+ if (x.err)
3157
+ return x;
3128
3158
  u.push([
3129
- a,
3159
+ o,
3130
3160
  {
3131
3161
  value: y.val,
3132
3162
  location: p(b, this.clonePosition())
3133
3163
  }
3134
- ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3164
+ ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
3135
3165
  }
3136
- return u.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3137
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3138
- var n = 1, i = this.clonePosition();
3139
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3140
- for (var s = !1, o = 0; !this.isEOF(); ) {
3166
+ return u.length === 0 ? this.error(n === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3167
+ }, e.prototype.tryParseDecimalInteger = function(t, n) {
3168
+ var r = 1, i = this.clonePosition();
3169
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3170
+ for (var s = !1, a = 0; !this.isEOF(); ) {
3141
3171
  var u = this.char();
3142
3172
  if (u >= 48 && u <= 57)
3143
- s = !0, o = o * 10 + (u - 48), this.bump();
3173
+ s = !0, a = a * 10 + (u - 48), this.bump();
3144
3174
  else
3145
3175
  break;
3146
3176
  }
3147
3177
  var l = p(i, this.clonePosition());
3148
- return s ? (o *= n, sn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3178
+ return s ? (a *= r, ir(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
3149
3179
  }, e.prototype.offset = function() {
3150
3180
  return this.position.offset;
3151
3181
  }, e.prototype.isEOF = function() {
@@ -3160,17 +3190,17 @@ var hn = (
3160
3190
  var t = this.position.offset;
3161
3191
  if (t >= this.message.length)
3162
3192
  throw Error("out of bound");
3163
- var r = It(this.message, t);
3164
- if (r === void 0)
3193
+ var n = Ot(this.message, t);
3194
+ if (n === void 0)
3165
3195
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3166
- return r;
3167
- }, e.prototype.error = function(t, r) {
3196
+ return n;
3197
+ }, e.prototype.error = function(t, n) {
3168
3198
  return {
3169
3199
  val: null,
3170
3200
  err: {
3171
3201
  kind: t,
3172
3202
  message: this.message,
3173
- location: r
3203
+ location: n
3174
3204
  }
3175
3205
  };
3176
3206
  }, e.prototype.bump = function() {
@@ -3179,82 +3209,82 @@ var hn = (
3179
3209
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3180
3210
  }
3181
3211
  }, e.prototype.bumpIf = function(t) {
3182
- if (et(this.message, t, this.offset())) {
3183
- for (var r = 0; r < t.length; r++)
3212
+ if (Ke(this.message, t, this.offset())) {
3213
+ for (var n = 0; n < t.length; n++)
3184
3214
  this.bump();
3185
3215
  return !0;
3186
3216
  }
3187
3217
  return !1;
3188
3218
  }, e.prototype.bumpUntil = function(t) {
3189
- var r = this.offset(), n = this.message.indexOf(t, r);
3190
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3219
+ var n = this.offset(), r = this.message.indexOf(t, n);
3220
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3191
3221
  }, e.prototype.bumpTo = function(t) {
3192
3222
  if (this.offset() > t)
3193
3223
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3194
3224
  for (t = Math.min(t, this.message.length); ; ) {
3195
- var r = this.offset();
3196
- if (r === t)
3225
+ var n = this.offset();
3226
+ if (n === t)
3197
3227
  break;
3198
- if (r > t)
3228
+ if (n > t)
3199
3229
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3200
3230
  if (this.bump(), this.isEOF())
3201
3231
  break;
3202
3232
  }
3203
3233
  }, e.prototype.bumpSpace = function() {
3204
- for (; !this.isEOF() && Ct(this.char()); )
3234
+ for (; !this.isEOF() && Lt(this.char()); )
3205
3235
  this.bump();
3206
3236
  }, e.prototype.peek = function() {
3207
3237
  if (this.isEOF())
3208
3238
  return null;
3209
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3210
- return n != null ? n : null;
3239
+ var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3240
+ return r != null ? r : null;
3211
3241
  }, e;
3212
3242
  }()
3213
3243
  );
3214
- function Me(e) {
3244
+ function Le(e) {
3215
3245
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3216
3246
  }
3217
- function ln(e) {
3218
- return Me(e) || e === 47;
3247
+ function hr(e) {
3248
+ return Le(e) || e === 47;
3219
3249
  }
3220
- function fn(e) {
3250
+ function lr(e) {
3221
3251
  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;
3222
3252
  }
3223
- function Ct(e) {
3253
+ function Lt(e) {
3224
3254
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3225
3255
  }
3226
- function cn(e) {
3256
+ function fr(e) {
3227
3257
  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;
3228
3258
  }
3229
- function Re(e) {
3259
+ function Ce(e) {
3230
3260
  e.forEach(function(t) {
3231
- if (delete t.location, Tt(t) || St(t))
3232
- for (var r in t.options)
3233
- delete t.options[r].location, Re(t.options[r].value);
3261
+ if (delete t.location, Ht(t) || Tt(t))
3262
+ for (var n in t.options)
3263
+ delete t.options[n].location, Ce(t.options[n].value);
3234
3264
  else
3235
- _t(t) && At(t.style) || (xt(t) || Ht(t)) && Oe(t.style) ? delete t.style.location : Bt(t) && Re(t.children);
3265
+ _t(t) && Bt(t.style) || (xt(t) || vt(t)) && Pe(t.style) ? delete t.style.location : St(t) && Ce(t.children);
3236
3266
  });
3237
3267
  }
3238
- function mn(e, t) {
3239
- t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3240
- var r = new hn(e, t).parse();
3241
- if (r.err) {
3242
- var n = SyntaxError(d[r.err.kind]);
3243
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3268
+ function cr(e, t) {
3269
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3270
+ var n = new ur(e, t).parse();
3271
+ if (n.err) {
3272
+ var r = SyntaxError(g[n.err.kind]);
3273
+ throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3244
3274
  }
3245
- return t != null && t.captureLocation || Re(r.val), r.val;
3275
+ return t != null && t.captureLocation || Ce(n.val), n.val;
3246
3276
  }
3247
- var X;
3277
+ var V;
3248
3278
  (function(e) {
3249
3279
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3250
- })(X || (X = {}));
3251
- var be = (
3280
+ })(V || (V = {}));
3281
+ var de = (
3252
3282
  /** @class */
3253
3283
  function(e) {
3254
- de(t, e);
3255
- function t(r, n, i) {
3256
- var s = e.call(this, r) || this;
3257
- return s.code = n, s.originalMessage = i, s;
3284
+ ce(t, e);
3285
+ function t(n, r, i) {
3286
+ var s = e.call(this, n) || this;
3287
+ return s.code = r, s.originalMessage = i, s;
3258
3288
  }
3259
3289
  return t.prototype.toString = function() {
3260
3290
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
@@ -3263,72 +3293,72 @@ var be = (
3263
3293
  ), nt = (
3264
3294
  /** @class */
3265
3295
  function(e) {
3266
- de(t, e);
3267
- function t(r, n, i, s) {
3268
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3296
+ ce(t, e);
3297
+ function t(n, r, i, s) {
3298
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3269
3299
  }
3270
3300
  return t;
3271
- }(be)
3272
- ), gn = (
3301
+ }(de)
3302
+ ), mr = (
3273
3303
  /** @class */
3274
3304
  function(e) {
3275
- de(t, e);
3276
- function t(r, n, i) {
3277
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3305
+ ce(t, e);
3306
+ function t(n, r, i) {
3307
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), V.INVALID_VALUE, i) || this;
3278
3308
  }
3279
3309
  return t;
3280
- }(be)
3281
- ), dn = (
3310
+ }(de)
3311
+ ), dr = (
3282
3312
  /** @class */
3283
3313
  function(e) {
3284
- de(t, e);
3285
- function t(r, n) {
3286
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3314
+ ce(t, e);
3315
+ function t(n, r) {
3316
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), V.MISSING_VALUE, r) || this;
3287
3317
  }
3288
3318
  return t;
3289
- }(be)
3319
+ }(de)
3290
3320
  ), A;
3291
3321
  (function(e) {
3292
3322
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3293
3323
  })(A || (A = {}));
3294
- function bn(e) {
3295
- return e.length < 2 ? e : e.reduce(function(t, r) {
3296
- var n = t[t.length - 1];
3297
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3324
+ function gr(e) {
3325
+ return e.length < 2 ? e : e.reduce(function(t, n) {
3326
+ var r = t[t.length - 1];
3327
+ return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
3298
3328
  }, []);
3299
3329
  }
3300
- function pn(e) {
3330
+ function br(e) {
3301
3331
  return typeof e == "function";
3302
3332
  }
3303
- function ue(e, t, r, n, i, s, o) {
3304
- if (e.length === 1 && qe(e[0]))
3333
+ function oe(e, t, n, r, i, s, a) {
3334
+ if (e.length === 1 && Qe(e[0]))
3305
3335
  return [
3306
3336
  {
3307
3337
  type: A.literal,
3308
3338
  value: e[0].value
3309
3339
  }
3310
3340
  ];
3311
- for (var u = [], l = 0, a = e; l < a.length; l++) {
3312
- var h = a[l];
3313
- if (qe(h)) {
3341
+ for (var u = [], l = 0, o = e; l < o.length; l++) {
3342
+ var h = o[l];
3343
+ if (Qe(h)) {
3314
3344
  u.push({
3315
3345
  type: A.literal,
3316
3346
  value: h.value
3317
3347
  });
3318
3348
  continue;
3319
3349
  }
3320
- if (Ur(h)) {
3350
+ if (Un(h)) {
3321
3351
  typeof s == "number" && u.push({
3322
3352
  type: A.literal,
3323
- value: r.getNumberFormat(t).format(s)
3353
+ value: n.getNumberFormat(t).format(s)
3324
3354
  });
3325
3355
  continue;
3326
3356
  }
3327
3357
  var m = h.value;
3328
3358
  if (!(i && m in i))
3329
- throw new dn(m, o);
3359
+ throw new dr(m, a);
3330
3360
  var f = i[m];
3331
- if ($r(h)) {
3361
+ if ($n(h)) {
3332
3362
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3333
3363
  type: typeof f == "string" ? A.literal : A.object,
3334
3364
  value: f
@@ -3336,144 +3366,144 @@ function ue(e, t, r, n, i, s, o) {
3336
3366
  continue;
3337
3367
  }
3338
3368
  if (xt(h)) {
3339
- var b = typeof h.style == "string" ? n.date[h.style] : Oe(h.style) ? h.style.parsedOptions : void 0;
3369
+ var b = typeof h.style == "string" ? r.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
3340
3370
  u.push({
3341
3371
  type: A.literal,
3342
- value: r.getDateTimeFormat(t, b).format(f)
3372
+ value: n.getDateTimeFormat(t, b).format(f)
3343
3373
  });
3344
3374
  continue;
3345
3375
  }
3346
- if (Ht(h)) {
3347
- var b = typeof h.style == "string" ? n.time[h.style] : Oe(h.style) ? h.style.parsedOptions : n.time.medium;
3376
+ if (vt(h)) {
3377
+ var b = typeof h.style == "string" ? r.time[h.style] : Pe(h.style) ? h.style.parsedOptions : r.time.medium;
3348
3378
  u.push({
3349
3379
  type: A.literal,
3350
- value: r.getDateTimeFormat(t, b).format(f)
3380
+ value: n.getDateTimeFormat(t, b).format(f)
3351
3381
  });
3352
3382
  continue;
3353
3383
  }
3354
3384
  if (_t(h)) {
3355
- var b = typeof h.style == "string" ? n.number[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
3385
+ var b = typeof h.style == "string" ? r.number[h.style] : Bt(h.style) ? h.style.parsedOptions : void 0;
3356
3386
  b && b.scale && (f = f * (b.scale || 1)), u.push({
3357
3387
  type: A.literal,
3358
- value: r.getNumberFormat(t, b).format(f)
3388
+ value: n.getNumberFormat(t, b).format(f)
3359
3389
  });
3360
3390
  continue;
3361
3391
  }
3362
- if (Bt(h)) {
3363
- var y = h.children, _ = h.value, T = i[_];
3364
- if (!pn(T))
3365
- throw new gn(_, "function", o);
3366
- var P = ue(y, t, r, n, i, s), w = T(P.map(function(x) {
3367
- return x.value;
3392
+ if (St(h)) {
3393
+ var y = h.children, x = h.value, T = i[x];
3394
+ if (!br(T))
3395
+ throw new mr(x, "function", a);
3396
+ var P = oe(y, t, n, r, i, s), w = T(P.map(function(v) {
3397
+ return v.value;
3368
3398
  }));
3369
- Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(x) {
3399
+ Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(v) {
3370
3400
  return {
3371
- type: typeof x == "string" ? A.literal : A.object,
3372
- value: x
3401
+ type: typeof v == "string" ? A.literal : A.object,
3402
+ value: v
3373
3403
  };
3374
3404
  }));
3375
3405
  }
3376
- if (Tt(h)) {
3406
+ if (Ht(h)) {
3377
3407
  var B = h.options[f] || h.options.other;
3378
3408
  if (!B)
3379
- throw new nt(h.value, f, Object.keys(h.options), o);
3380
- u.push.apply(u, ue(B.value, t, r, n, i));
3409
+ throw new nt(h.value, f, Object.keys(h.options), a);
3410
+ u.push.apply(u, oe(B.value, t, n, r, i));
3381
3411
  continue;
3382
3412
  }
3383
- if (St(h)) {
3413
+ if (Tt(h)) {
3384
3414
  var B = h.options["=".concat(f)];
3385
3415
  if (!B) {
3386
3416
  if (!Intl.PluralRules)
3387
- throw new be(`Intl.PluralRules is not available in this environment.
3417
+ throw new de(`Intl.PluralRules is not available in this environment.
3388
3418
  Try polyfilling it using "@formatjs/intl-pluralrules"
3389
- `, X.MISSING_INTL_API, o);
3390
- var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3419
+ `, V.MISSING_INTL_API, a);
3420
+ var N = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3391
3421
  B = h.options[N] || h.options.other;
3392
3422
  }
3393
3423
  if (!B)
3394
- throw new nt(h.value, f, Object.keys(h.options), o);
3395
- u.push.apply(u, ue(B.value, t, r, n, i, f - (h.offset || 0)));
3424
+ throw new nt(h.value, f, Object.keys(h.options), a);
3425
+ u.push.apply(u, oe(B.value, t, n, r, i, f - (h.offset || 0)));
3396
3426
  continue;
3397
3427
  }
3398
3428
  }
3399
- return bn(u);
3429
+ return gr(u);
3400
3430
  }
3401
- function yn(e, t) {
3402
- return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3403
- return r[n] = M(M({}, e[n]), t[n] || {}), r;
3431
+ function pr(e, t) {
3432
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3433
+ return n[r] = E(E({}, e[r]), t[r] || {}), n;
3404
3434
  }, {})) : e;
3405
3435
  }
3406
- function En(e, t) {
3407
- return t ? Object.keys(e).reduce(function(r, n) {
3408
- return r[n] = yn(e[n], t[n]), r;
3409
- }, M({}, e)) : e;
3436
+ function yr(e, t) {
3437
+ return t ? Object.keys(e).reduce(function(n, r) {
3438
+ return n[r] = pr(e[r], t[r]), n;
3439
+ }, E({}, e)) : e;
3410
3440
  }
3411
- function Se(e) {
3441
+ function He(e) {
3412
3442
  return {
3413
3443
  create: function() {
3414
3444
  return {
3415
3445
  get: function(t) {
3416
3446
  return e[t];
3417
3447
  },
3418
- set: function(t, r) {
3419
- e[t] = r;
3448
+ set: function(t, n) {
3449
+ e[t] = n;
3420
3450
  }
3421
3451
  };
3422
3452
  }
3423
3453
  };
3424
3454
  }
3425
- function vn(e) {
3455
+ function Er(e) {
3426
3456
  return e === void 0 && (e = {
3427
3457
  number: {},
3428
3458
  dateTime: {},
3429
3459
  pluralRules: {}
3430
3460
  }), {
3431
- getNumberFormat: xe(function() {
3432
- for (var t, r = [], n = 0; n < arguments.length; n++)
3433
- r[n] = arguments[n];
3434
- return new ((t = Intl.NumberFormat).bind.apply(t, _e([void 0], r, !1)))();
3461
+ getNumberFormat: _e(function() {
3462
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3463
+ n[r] = arguments[r];
3464
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], n, !1)))();
3435
3465
  }, {
3436
- cache: Se(e.number),
3437
- strategy: He.variadic
3466
+ cache: He(e.number),
3467
+ strategy: xe.variadic
3438
3468
  }),
3439
- getDateTimeFormat: xe(function() {
3440
- for (var t, r = [], n = 0; n < arguments.length; n++)
3441
- r[n] = arguments[n];
3442
- return new ((t = Intl.DateTimeFormat).bind.apply(t, _e([void 0], r, !1)))();
3469
+ getDateTimeFormat: _e(function() {
3470
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3471
+ n[r] = arguments[r];
3472
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], n, !1)))();
3443
3473
  }, {
3444
- cache: Se(e.dateTime),
3445
- strategy: He.variadic
3474
+ cache: He(e.dateTime),
3475
+ strategy: xe.variadic
3446
3476
  }),
3447
- getPluralRules: xe(function() {
3448
- for (var t, r = [], n = 0; n < arguments.length; n++)
3449
- r[n] = arguments[n];
3450
- return new ((t = Intl.PluralRules).bind.apply(t, _e([void 0], r, !1)))();
3477
+ getPluralRules: _e(function() {
3478
+ for (var t, n = [], r = 0; r < arguments.length; r++)
3479
+ n[r] = arguments[r];
3480
+ return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], n, !1)))();
3451
3481
  }, {
3452
- cache: Se(e.pluralRules),
3453
- strategy: He.variadic
3482
+ cache: He(e.pluralRules),
3483
+ strategy: xe.variadic
3454
3484
  })
3455
3485
  };
3456
3486
  }
3457
- var _n = (
3487
+ var _r = (
3458
3488
  /** @class */
3459
3489
  function() {
3460
- function e(t, r, n, i) {
3461
- r === void 0 && (r = e.defaultLocale);
3490
+ function e(t, n, r, i) {
3491
+ n === void 0 && (n = e.defaultLocale);
3462
3492
  var s = this;
3463
3493
  if (this.formatterCache = {
3464
3494
  number: {},
3465
3495
  dateTime: {},
3466
3496
  pluralRules: {}
3467
3497
  }, this.format = function(l) {
3468
- var a = s.formatToParts(l);
3469
- if (a.length === 1)
3470
- return a[0].value;
3471
- var h = a.reduce(function(m, f) {
3498
+ var o = s.formatToParts(l);
3499
+ if (o.length === 1)
3500
+ return o[0].value;
3501
+ var h = o.reduce(function(m, f) {
3472
3502
  return !m.length || f.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3473
3503
  }, []);
3474
3504
  return h.length <= 1 ? h[0] || "" : h;
3475
3505
  }, this.formatToParts = function(l) {
3476
- return ue(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3506
+ return oe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3477
3507
  }, this.resolvedOptions = function() {
3478
3508
  var l;
3479
3509
  return {
@@ -3481,18 +3511,18 @@ var _n = (
3481
3511
  };
3482
3512
  }, this.getAst = function() {
3483
3513
  return s.ast;
3484
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3514
+ }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3485
3515
  if (this.message = t, !e.__parse)
3486
3516
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3487
- var o = i || {};
3488
- o.formatters;
3489
- var u = Pr(o, ["formatters"]);
3490
- this.ast = e.__parse(t, M(M({}, u), { locale: this.resolvedLocale }));
3517
+ var a = i || {};
3518
+ a.formatters;
3519
+ var u = cn(a, ["formatters"]);
3520
+ this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3491
3521
  } else
3492
3522
  this.ast = t;
3493
3523
  if (!Array.isArray(this.ast))
3494
3524
  throw new TypeError("A message must be provided as a String or AST.");
3495
- this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
3525
+ this.formats = yr(e.formats, r), this.formatters = i && i.formatters || Er(this.formatterCache);
3496
3526
  }
3497
3527
  return Object.defineProperty(e, "defaultLocale", {
3498
3528
  get: function() {
@@ -3502,10 +3532,10 @@ var _n = (
3502
3532
  configurable: !0
3503
3533
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3504
3534
  if (typeof Intl.Locale != "undefined") {
3505
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3506
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3535
+ var n = Intl.NumberFormat.supportedLocalesOf(t);
3536
+ return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3507
3537
  }
3508
- }, e.__parse = mn, e.formats = {
3538
+ }, e.__parse = cr, e.formats = {
3509
3539
  number: {
3510
3540
  integer: {
3511
3541
  maximumFractionDigits: 0
@@ -3566,113 +3596,113 @@ var _n = (
3566
3596
  }, e;
3567
3597
  }()
3568
3598
  );
3569
- function xn(e, t) {
3599
+ function xr(e, t) {
3570
3600
  if (t == null)
3571
3601
  return;
3572
3602
  if (t in e)
3573
3603
  return e[t];
3574
- const r = t.split(".");
3575
- let n = e;
3576
- for (let i = 0; i < r.length; i++)
3577
- if (typeof n == "object") {
3604
+ const n = t.split(".");
3605
+ let r = e;
3606
+ for (let i = 0; i < n.length; i++)
3607
+ if (typeof r == "object") {
3578
3608
  if (i > 0) {
3579
- const s = r.slice(i, r.length).join(".");
3580
- if (s in n) {
3581
- n = n[s];
3609
+ const s = n.slice(i, n.length).join(".");
3610
+ if (s in r) {
3611
+ r = r[s];
3582
3612
  break;
3583
3613
  }
3584
3614
  }
3585
- n = n[r[i]];
3615
+ r = r[n[i]];
3586
3616
  } else
3587
- n = void 0;
3588
- return n;
3617
+ r = void 0;
3618
+ return r;
3589
3619
  }
3590
- const R = {}, Hn = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Mt = (e, t) => {
3620
+ const M = {}, vr = (e, t, n) => n && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = n), n), Ct = (e, t) => {
3591
3621
  if (t == null)
3592
3622
  return;
3593
- if (t in R && e in R[t])
3594
- return R[t][e];
3595
- const r = pe(t);
3596
- for (let n = 0; n < r.length; n++) {
3597
- const i = r[n], s = Sn(i, e);
3623
+ if (t in M && e in M[t])
3624
+ return M[t][e];
3625
+ const n = ge(t);
3626
+ for (let r = 0; r < n.length; r++) {
3627
+ const i = n[r], s = Tr(i, e);
3598
3628
  if (s)
3599
- return Hn(e, t, s);
3629
+ return vr(e, t, s);
3600
3630
  }
3601
3631
  };
3602
- let Fe;
3603
- const Q = ge({});
3604
- function Tn(e) {
3605
- return Fe[e] || null;
3632
+ let Ge;
3633
+ const Z = me({});
3634
+ function Hr(e) {
3635
+ return Ge[e] || null;
3606
3636
  }
3607
- function Rt(e) {
3608
- return e in Fe;
3637
+ function Mt(e) {
3638
+ return e in Ge;
3609
3639
  }
3610
- function Sn(e, t) {
3611
- if (!Rt(e))
3640
+ function Tr(e, t) {
3641
+ if (!Mt(e))
3612
3642
  return null;
3613
- const r = Tn(e);
3614
- return xn(r, t);
3643
+ const n = Hr(e);
3644
+ return xr(n, t);
3615
3645
  }
3616
- function Bn(e) {
3646
+ function Sr(e) {
3617
3647
  if (e == null)
3618
3648
  return;
3619
- const t = pe(e);
3620
- for (let r = 0; r < t.length; r++) {
3621
- const n = t[r];
3622
- if (Rt(n))
3623
- return n;
3649
+ const t = ge(e);
3650
+ for (let n = 0; n < t.length; n++) {
3651
+ const r = t[n];
3652
+ if (Mt(r))
3653
+ return r;
3624
3654
  }
3625
3655
  }
3626
- function An(e, ...t) {
3627
- delete R[e], Q.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
3656
+ function Br(e, ...t) {
3657
+ delete M[e], Z.update((n) => (n[e] = Pn.all([n[e] || {}, ...t]), n));
3628
3658
  }
3629
- Z(
3630
- [Q],
3659
+ W(
3660
+ [Z],
3631
3661
  ([e]) => Object.keys(e)
3632
3662
  );
3633
- Q.subscribe((e) => Fe = e);
3634
- const he = {};
3635
- function wn(e, t) {
3636
- he[e].delete(t), he[e].size === 0 && delete he[e];
3663
+ Z.subscribe((e) => Ge = e);
3664
+ const ue = {};
3665
+ function Ar(e, t) {
3666
+ ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3637
3667
  }
3638
- function $t(e) {
3639
- return he[e];
3668
+ function Rt(e) {
3669
+ return ue[e];
3640
3670
  }
3641
- function Pn(e) {
3642
- return pe(e).map((t) => {
3643
- const r = $t(t);
3644
- return [t, r ? [...r] : []];
3671
+ function wr(e) {
3672
+ return ge(e).map((t) => {
3673
+ const n = Rt(t);
3674
+ return [t, n ? [...n] : []];
3645
3675
  }).filter(([, t]) => t.length > 0);
3646
3676
  }
3647
- function $e(e) {
3648
- return e == null ? !1 : pe(e).some(
3677
+ function Me(e) {
3678
+ return e == null ? !1 : ge(e).some(
3649
3679
  (t) => {
3650
- var r;
3651
- return (r = $t(t)) == null ? void 0 : r.size;
3680
+ var n;
3681
+ return (n = Rt(t)) == null ? void 0 : n.size;
3652
3682
  }
3653
3683
  );
3654
3684
  }
3655
- function Nn(e, t) {
3685
+ function Pr(e, t) {
3656
3686
  return Promise.all(
3657
- t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
3658
- ).then((n) => An(e, ...n));
3659
- }
3660
- const J = {};
3661
- function Ut(e) {
3662
- if (!$e(e))
3663
- return e in J ? J[e] : Promise.resolve();
3664
- const t = Pn(e);
3665
- return J[e] = Promise.all(
3687
+ t.map((r) => (Ar(e, r), r().then((i) => i.default || i)))
3688
+ ).then((r) => Br(e, ...r));
3689
+ }
3690
+ const q = {};
3691
+ function $t(e) {
3692
+ if (!Me(e))
3693
+ return e in q ? q[e] : Promise.resolve();
3694
+ const t = wr(e);
3695
+ return q[e] = Promise.all(
3666
3696
  t.map(
3667
- ([r, n]) => Nn(r, n)
3697
+ ([n, r]) => Pr(n, r)
3668
3698
  )
3669
3699
  ).then(() => {
3670
- if ($e(e))
3671
- return Ut(e);
3672
- delete J[e];
3673
- }), J[e];
3700
+ if (Me(e))
3701
+ return $t(e);
3702
+ delete q[e];
3703
+ }), q[e];
3674
3704
  }
3675
- const On = {
3705
+ const Nr = {
3676
3706
  number: {
3677
3707
  scientific: { notation: "scientific" },
3678
3708
  engineering: { notation: "engineering" },
@@ -3701,150 +3731,150 @@ const On = {
3701
3731
  timeZoneName: "short"
3702
3732
  }
3703
3733
  }
3704
- }, In = {
3734
+ }, Or = {
3705
3735
  fallbackLocale: null,
3706
3736
  loadingDelay: 200,
3707
- formats: On,
3737
+ formats: Nr,
3708
3738
  warnOnMissingMessages: !0,
3709
3739
  handleMissingMessage: void 0,
3710
3740
  ignoreTag: !0
3711
- }, Ln = In;
3712
- function z() {
3713
- return Ln;
3714
- }
3715
- const Be = ge(!1);
3716
- var Cn = Object.defineProperty, Mn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, it = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3717
- for (var r in t || (t = {}))
3718
- $n.call(t, r) && st(e, r, t[r]);
3719
- if (it)
3720
- for (var r of it(t))
3721
- Un.call(t, r) && st(e, r, t[r]);
3741
+ }, Ir = Or;
3742
+ function X() {
3743
+ return Ir;
3744
+ }
3745
+ const Te = me(!1);
3746
+ var Lr = Object.defineProperty, Cr = Object.defineProperties, Mr = Object.getOwnPropertyDescriptors, rt = Object.getOwnPropertySymbols, Rr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, it = (e, t, n) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ur = (e, t) => {
3747
+ for (var n in t)
3748
+ Rr.call(t, n) && it(e, n, t[n]);
3749
+ if (rt)
3750
+ for (var n of rt(t))
3751
+ $r.call(t, n) && it(e, n, t[n]);
3722
3752
  return e;
3723
- }, Gn = (e, t) => Mn(e, Rn(t));
3724
- let Ue;
3725
- const fe = ge(null);
3726
- function ot(e) {
3727
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3753
+ }, Dr = (e, t) => Cr(e, Mr(t));
3754
+ let Re;
3755
+ const he = me(null);
3756
+ function st(e) {
3757
+ return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3728
3758
  }
3729
- function pe(e, t = z().fallbackLocale) {
3730
- const r = ot(e);
3731
- return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
3759
+ function ge(e, t = X().fallbackLocale) {
3760
+ const n = st(e);
3761
+ return t ? [.../* @__PURE__ */ new Set([...n, ...st(t)])] : n;
3732
3762
  }
3733
- function U() {
3734
- return Ue != null ? Ue : void 0;
3763
+ function $() {
3764
+ return Re != null ? Re : void 0;
3735
3765
  }
3736
- fe.subscribe((e) => {
3737
- Ue = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3766
+ he.subscribe((e) => {
3767
+ Re = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3738
3768
  });
3739
- const Fn = (e) => {
3740
- if (e && Bn(e) && $e(e)) {
3741
- const { loadingDelay: t } = z();
3742
- let r;
3743
- return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
3744
- () => Be.set(!0),
3769
+ const Gr = (e) => {
3770
+ if (e && Sr(e) && Me(e)) {
3771
+ const { loadingDelay: t } = X();
3772
+ let n;
3773
+ return typeof window != "undefined" && $() != null && t ? n = window.setTimeout(
3774
+ () => Te.set(!0),
3745
3775
  t
3746
- ) : Be.set(!0), Ut(e).then(() => {
3747
- fe.set(e);
3776
+ ) : Te.set(!0), $t(e).then(() => {
3777
+ he.set(e);
3748
3778
  }).finally(() => {
3749
- clearTimeout(r), Be.set(!1);
3779
+ clearTimeout(n), Te.set(!1);
3750
3780
  });
3751
3781
  }
3752
- return fe.set(e);
3753
- }, $ = Gn(Dn({}, fe), {
3754
- set: Fn
3755
- }), ye = (e) => {
3782
+ return he.set(e);
3783
+ }, R = Dr(Ur({}, he), {
3784
+ set: Gr
3785
+ }), be = (e) => {
3756
3786
  const t = /* @__PURE__ */ Object.create(null);
3757
- return (n) => {
3758
- const i = JSON.stringify(n);
3759
- return i in t ? t[i] : t[i] = e(n);
3787
+ return (r) => {
3788
+ const i = JSON.stringify(r);
3789
+ return i in t ? t[i] : t[i] = e(r);
3760
3790
  };
3761
3791
  };
3762
- var jn = Object.defineProperty, ce = Object.getOwnPropertySymbols, Dt = Object.prototype.hasOwnProperty, Gt = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
3763
- for (var r in t || (t = {}))
3764
- Dt.call(t, r) && at(e, r, t[r]);
3765
- if (ce)
3766
- for (var r of ce(t))
3767
- Gt.call(t, r) && at(e, r, t[r]);
3792
+ var Fr = Object.defineProperty, le = Object.getOwnPropertySymbols, Ut = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable, at = (e, t, n) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Fe = (e, t) => {
3793
+ for (var n in t || (t = {}))
3794
+ Ut.call(t, n) && at(e, n, t[n]);
3795
+ if (le)
3796
+ for (var n of le(t))
3797
+ Dt.call(t, n) && at(e, n, t[n]);
3768
3798
  return e;
3769
- }, q = (e, t) => {
3770
- var r = {};
3771
- for (var n in e)
3772
- Dt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3773
- if (e != null && ce)
3774
- for (var n of ce(e))
3775
- t.indexOf(n) < 0 && Gt.call(e, n) && (r[n] = e[n]);
3776
- return r;
3799
+ }, Q = (e, t) => {
3800
+ var n = {};
3801
+ for (var r in e)
3802
+ Ut.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3803
+ if (e != null && le)
3804
+ for (var r of le(e))
3805
+ t.indexOf(r) < 0 && Dt.call(e, r) && (n[r] = e[r]);
3806
+ return n;
3777
3807
  };
3778
- const te = (e, t) => {
3779
- const { formats: r } = z();
3780
- if (e in r && t in r[e])
3781
- return r[e][t];
3808
+ const ee = (e, t) => {
3809
+ const { formats: n } = X();
3810
+ if (e in n && t in n[e])
3811
+ return n[e][t];
3782
3812
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3783
- }, kn = ye(
3813
+ }, jr = be(
3784
3814
  (e) => {
3785
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3786
- if (r == null)
3815
+ var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
3816
+ if (n == null)
3787
3817
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3788
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3818
+ return r && (i = ee("number", r)), new Intl.NumberFormat(n, i);
3789
3819
  }
3790
- ), Vn = ye(
3820
+ ), kr = be(
3791
3821
  (e) => {
3792
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3793
- if (r == null)
3822
+ var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
3823
+ if (n == null)
3794
3824
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3795
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3825
+ return r ? i = ee("date", r) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(n, i);
3796
3826
  }
3797
- ), Xn = ye(
3827
+ ), Vr = be(
3798
3828
  (e) => {
3799
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3800
- if (r == null)
3829
+ var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
3830
+ if (n == null)
3801
3831
  throw new Error(
3802
3832
  '[svelte-i18n] A "locale" must be set to format time values'
3803
3833
  );
3804
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3834
+ return r ? i = ee("time", r) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(n, i);
3805
3835
  }
3806
- ), zn = (e = {}) => {
3836
+ ), Xr = (e = {}) => {
3807
3837
  var t = e, {
3808
- locale: r = U()
3809
- } = t, n = q(t, [
3838
+ locale: n = $()
3839
+ } = t, r = Q(t, [
3810
3840
  "locale"
3811
3841
  ]);
3812
- return kn(je({ locale: r }, n));
3813
- }, Wn = (e = {}) => {
3842
+ return jr(Fe({ locale: n }, r));
3843
+ }, zr = (e = {}) => {
3814
3844
  var t = e, {
3815
- locale: r = U()
3816
- } = t, n = q(t, [
3845
+ locale: n = $()
3846
+ } = t, r = Q(t, [
3817
3847
  "locale"
3818
3848
  ]);
3819
- return Vn(je({ locale: r }, n));
3820
- }, Zn = (e = {}) => {
3849
+ return kr(Fe({ locale: n }, r));
3850
+ }, Wr = (e = {}) => {
3821
3851
  var t = e, {
3822
- locale: r = U()
3823
- } = t, n = q(t, [
3852
+ locale: n = $()
3853
+ } = t, r = Q(t, [
3824
3854
  "locale"
3825
3855
  ]);
3826
- return Xn(je({ locale: r }, n));
3827
- }, Qn = ye(
3856
+ return Vr(Fe({ locale: n }, r));
3857
+ }, Zr = be(
3828
3858
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3829
- (e, t = U()) => new _n(e, t, z().formats, {
3830
- ignoreTag: z().ignoreTag
3859
+ (e, t = $()) => new _r(e, t, X().formats, {
3860
+ ignoreTag: X().ignoreTag
3831
3861
  })
3832
- ), qn = (e, t = {}) => {
3833
- var r, n, i, s;
3834
- let o = t;
3835
- typeof e == "object" && (o = e, e = o.id);
3862
+ ), Qr = (e, t = {}) => {
3863
+ var n, r, i, s;
3864
+ let a = t;
3865
+ typeof e == "object" && (a = e, e = a.id);
3836
3866
  const {
3837
3867
  values: u,
3838
- locale: l = U(),
3839
- default: a
3840
- } = o;
3868
+ locale: l = $(),
3869
+ default: o
3870
+ } = a;
3841
3871
  if (l == null)
3842
3872
  throw new Error(
3843
3873
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3844
3874
  );
3845
- let h = Mt(e, l);
3875
+ let h = Ct(e, l);
3846
3876
  if (!h)
3847
- h = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3877
+ h = (s = (i = (r = (n = X()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3848
3878
  else if (typeof h != "string")
3849
3879
  return console.warn(
3850
3880
  `[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.`
@@ -3853,7 +3883,7 @@ const te = (e, t) => {
3853
3883
  return h;
3854
3884
  let m = h;
3855
3885
  try {
3856
- m = Qn(h, l).format(u);
3886
+ m = Zr(h, l).format(u);
3857
3887
  } catch (f) {
3858
3888
  f instanceof Error && console.warn(
3859
3889
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3861,343 +3891,343 @@ const te = (e, t) => {
3861
3891
  );
3862
3892
  }
3863
3893
  return m;
3864
- }, Jn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = U()) => Mt(e, t), Si = Z([$, Q], () => qn);
3865
- Z([$], () => Jn);
3866
- Z([$], () => Yn);
3867
- Z([$], () => Kn);
3868
- Z([$, Q], () => ei);
3869
- function ti(e, t) {
3894
+ }, qr = (e, t) => Wr(t).format(e), Jr = (e, t) => zr(t).format(e), Yr = (e, t) => Xr(t).format(e), Kr = (e, t = $()) => Ct(e, t), Bi = W([R, Z], () => Qr);
3895
+ W([R], () => qr);
3896
+ W([R], () => Jr);
3897
+ W([R], () => Yr);
3898
+ W([R, Z], () => Kr);
3899
+ function ei(e, t) {
3870
3900
  if (e) {
3871
- const r = document.createElement("style");
3872
- r.innerHTML = t, e.appendChild(r);
3901
+ const n = document.createElement("style");
3902
+ n.innerHTML = t, e.appendChild(n);
3873
3903
  }
3874
3904
  }
3875
- function ri(e, t) {
3876
- const r = new URL(t);
3877
- fetch(r.href).then((n) => n.text()).then((n) => {
3905
+ function ti(e, t) {
3906
+ const n = new URL(t);
3907
+ fetch(n.href).then((r) => r.text()).then((r) => {
3878
3908
  const i = document.createElement("style");
3879
- i.innerHTML = n, e && e.appendChild(i);
3880
- }).catch((n) => {
3881
- console.error("There was an error while trying to load client styling from URL", n);
3909
+ i.innerHTML = r, e && e.appendChild(i);
3910
+ }).catch((r) => {
3911
+ console.error("There was an error while trying to load client styling from URL", r);
3882
3912
  });
3883
3913
  }
3884
- function ni(e, t, r) {
3914
+ function ni(e, t, n) {
3885
3915
  if (window.emMessageBus) {
3886
- const n = document.createElement("style");
3916
+ const r = document.createElement("style");
3887
3917
  window.emMessageBus.subscribe(t, (i) => {
3888
- n.innerHTML = i, e && e.appendChild(n);
3918
+ r.innerHTML = i, e && e.appendChild(r);
3889
3919
  });
3890
3920
  }
3891
3921
  }
3892
- function ii({ withLocale: e, translations: t }) {
3893
- $.subscribe((r) => {
3894
- r == null && (Q.set(t), $.set(e));
3922
+ function ri({ withLocale: e, translations: t }) {
3923
+ R.subscribe((n) => {
3924
+ n == null && (Z.set(t), R.set(e));
3895
3925
  });
3896
3926
  }
3897
3927
  if (typeof window != "undefined") {
3898
3928
  let e = function(t) {
3899
- return function(...r) {
3929
+ return function(...n) {
3900
3930
  try {
3901
- return t.apply(this, r);
3902
- } catch (n) {
3903
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3931
+ return t.apply(this, n);
3932
+ } catch (r) {
3933
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
3904
3934
  return !1;
3905
- throw n;
3935
+ throw r;
3906
3936
  }
3907
3937
  };
3908
3938
  };
3909
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-Cscu1eaa.js").then(({ default: t }) => {
3939
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-Bp-RVLIM.js").then(({ default: t }) => {
3910
3940
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
3911
3941
  });
3912
3942
  }
3913
- function si(e) {
3914
- Qt(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
3943
+ function ii(e) {
3944
+ Zt(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
3915
3945
  }
3916
- function ut(e) {
3946
+ function ot(e) {
3917
3947
  let t;
3918
3948
  return {
3919
3949
  c() {
3920
- t = ne("casino-games-category-section-nd"), g(
3950
+ t = ne("casino-games-category-section-nd"), d(
3921
3951
  t,
3922
3952
  "session",
3923
3953
  /*session*/
3924
3954
  e[4]
3925
- ), g(
3955
+ ), d(
3926
3956
  t,
3927
3957
  "userid",
3928
3958
  /*userid*/
3929
3959
  e[5]
3930
- ), g(
3960
+ ), d(
3931
3961
  t,
3932
3962
  "endpoint",
3933
3963
  /*endpoint*/
3934
3964
  e[0]
3935
- ), g(
3965
+ ), d(
3936
3966
  t,
3937
3967
  "datasource",
3938
3968
  /*datasource*/
3939
3969
  e[1]
3940
- ), g(
3970
+ ), d(
3941
3971
  t,
3942
3972
  "lang",
3943
3973
  /*lang*/
3944
3974
  e[3]
3945
- ), g(
3975
+ ), d(
3946
3976
  t,
3947
3977
  "currency",
3948
3978
  /*currency*/
3949
3979
  e[2]
3950
- ), g(
3980
+ ), d(
3951
3981
  t,
3952
3982
  "favorites",
3953
3983
  /*favorites*/
3954
3984
  e[15]
3955
- ), g(
3985
+ ), d(
3956
3986
  t,
3957
3987
  "fetchviaevent",
3958
3988
  /*fetchviaevent*/
3959
3989
  e[17]
3960
- ), g(t, "categoryid", "FAVORITES"), g(t, "class", "CategoryContainer"), g(
3990
+ ), d(t, "categoryid", "FAVORITES"), d(t, "class", "CategoryContainer"), d(
3961
3991
  t,
3962
3992
  "showgamename",
3963
3993
  /*showgamename*/
3964
3994
  e[12]
3965
- ), g(
3995
+ ), d(
3966
3996
  t,
3967
3997
  "clientstyling",
3968
3998
  /*clientstyling*/
3969
3999
  e[7]
3970
- ), g(
4000
+ ), d(
3971
4001
  t,
3972
4002
  "clientstylingurl",
3973
4003
  /*clientstylingurl*/
3974
4004
  e[8]
3975
- ), g(
4005
+ ), d(
3976
4006
  t,
3977
4007
  "livecasino",
3978
4008
  /*livecasino*/
3979
4009
  e[9]
3980
- ), g(
4010
+ ), d(
3981
4011
  t,
3982
4012
  "visiblegames",
3983
4013
  /*visiblegames*/
3984
4014
  e[14]
3985
- ), g(
4015
+ ), d(
3986
4016
  t,
3987
4017
  "gamepagemodalurl",
3988
4018
  /*gamepagemodalurl*/
3989
4019
  e[13]
3990
- ), g(
4020
+ ), d(
3991
4021
  t,
3992
4022
  "integratedgameframedesktop",
3993
4023
  /*integratedgameframedesktop*/
3994
4024
  e[11]
3995
- ), g(
4025
+ ), d(
3996
4026
  t,
3997
4027
  "integratedgameframemobile",
3998
4028
  /*integratedgameframemobile*/
3999
4029
  e[10]
4000
- ), g(
4030
+ ), d(
4001
4031
  t,
4002
4032
  "casinomygames",
4003
4033
  /*casinomygames*/
4004
4034
  e[16]
4005
- ), g(
4035
+ ), d(
4006
4036
  t,
4007
4037
  "mbsource",
4008
4038
  /*mbsource*/
4009
4039
  e[6]
4010
4040
  );
4011
4041
  },
4012
- m(r, n) {
4013
- me(r, t, n);
4042
+ m(n, r) {
4043
+ fe(n, t, r);
4014
4044
  },
4015
- p(r, n) {
4016
- n & /*session*/
4017
- 16 && g(
4045
+ p(n, r) {
4046
+ r & /*session*/
4047
+ 16 && d(
4018
4048
  t,
4019
4049
  "session",
4020
4050
  /*session*/
4021
- r[4]
4022
- ), n & /*userid*/
4023
- 32 && g(
4051
+ n[4]
4052
+ ), r & /*userid*/
4053
+ 32 && d(
4024
4054
  t,
4025
4055
  "userid",
4026
4056
  /*userid*/
4027
- r[5]
4028
- ), n & /*endpoint*/
4029
- 1 && g(
4057
+ n[5]
4058
+ ), r & /*endpoint*/
4059
+ 1 && d(
4030
4060
  t,
4031
4061
  "endpoint",
4032
4062
  /*endpoint*/
4033
- r[0]
4034
- ), n & /*datasource*/
4035
- 2 && g(
4063
+ n[0]
4064
+ ), r & /*datasource*/
4065
+ 2 && d(
4036
4066
  t,
4037
4067
  "datasource",
4038
4068
  /*datasource*/
4039
- r[1]
4040
- ), n & /*lang*/
4041
- 8 && g(
4069
+ n[1]
4070
+ ), r & /*lang*/
4071
+ 8 && d(
4042
4072
  t,
4043
4073
  "lang",
4044
4074
  /*lang*/
4045
- r[3]
4046
- ), n & /*currency*/
4047
- 4 && g(
4075
+ n[3]
4076
+ ), r & /*currency*/
4077
+ 4 && d(
4048
4078
  t,
4049
4079
  "currency",
4050
4080
  /*currency*/
4051
- r[2]
4052
- ), n & /*favorites*/
4053
- 32768 && g(
4081
+ n[2]
4082
+ ), r & /*favorites*/
4083
+ 32768 && d(
4054
4084
  t,
4055
4085
  "favorites",
4056
4086
  /*favorites*/
4057
- r[15]
4058
- ), n & /*fetchviaevent*/
4059
- 131072 && g(
4087
+ n[15]
4088
+ ), r & /*fetchviaevent*/
4089
+ 131072 && d(
4060
4090
  t,
4061
4091
  "fetchviaevent",
4062
4092
  /*fetchviaevent*/
4063
- r[17]
4064
- ), n & /*showgamename*/
4065
- 4096 && g(
4093
+ n[17]
4094
+ ), r & /*showgamename*/
4095
+ 4096 && d(
4066
4096
  t,
4067
4097
  "showgamename",
4068
4098
  /*showgamename*/
4069
- r[12]
4070
- ), n & /*clientstyling*/
4071
- 128 && g(
4099
+ n[12]
4100
+ ), r & /*clientstyling*/
4101
+ 128 && d(
4072
4102
  t,
4073
4103
  "clientstyling",
4074
4104
  /*clientstyling*/
4075
- r[7]
4076
- ), n & /*clientstylingurl*/
4077
- 256 && g(
4105
+ n[7]
4106
+ ), r & /*clientstylingurl*/
4107
+ 256 && d(
4078
4108
  t,
4079
4109
  "clientstylingurl",
4080
4110
  /*clientstylingurl*/
4081
- r[8]
4082
- ), n & /*livecasino*/
4083
- 512 && g(
4111
+ n[8]
4112
+ ), r & /*livecasino*/
4113
+ 512 && d(
4084
4114
  t,
4085
4115
  "livecasino",
4086
4116
  /*livecasino*/
4087
- r[9]
4088
- ), n & /*visiblegames*/
4089
- 16384 && g(
4117
+ n[9]
4118
+ ), r & /*visiblegames*/
4119
+ 16384 && d(
4090
4120
  t,
4091
4121
  "visiblegames",
4092
4122
  /*visiblegames*/
4093
- r[14]
4094
- ), n & /*gamepagemodalurl*/
4095
- 8192 && g(
4123
+ n[14]
4124
+ ), r & /*gamepagemodalurl*/
4125
+ 8192 && d(
4096
4126
  t,
4097
4127
  "gamepagemodalurl",
4098
4128
  /*gamepagemodalurl*/
4099
- r[13]
4100
- ), n & /*integratedgameframedesktop*/
4101
- 2048 && g(
4129
+ n[13]
4130
+ ), r & /*integratedgameframedesktop*/
4131
+ 2048 && d(
4102
4132
  t,
4103
4133
  "integratedgameframedesktop",
4104
4134
  /*integratedgameframedesktop*/
4105
- r[11]
4106
- ), n & /*integratedgameframemobile*/
4107
- 1024 && g(
4135
+ n[11]
4136
+ ), r & /*integratedgameframemobile*/
4137
+ 1024 && d(
4108
4138
  t,
4109
4139
  "integratedgameframemobile",
4110
4140
  /*integratedgameframemobile*/
4111
- r[10]
4112
- ), n & /*casinomygames*/
4113
- 65536 && g(
4141
+ n[10]
4142
+ ), r & /*casinomygames*/
4143
+ 65536 && d(
4114
4144
  t,
4115
4145
  "casinomygames",
4116
4146
  /*casinomygames*/
4117
- r[16]
4118
- ), n & /*mbsource*/
4119
- 64 && g(
4147
+ n[16]
4148
+ ), r & /*mbsource*/
4149
+ 64 && d(
4120
4150
  t,
4121
4151
  "mbsource",
4122
4152
  /*mbsource*/
4123
- r[6]
4153
+ n[6]
4124
4154
  );
4125
4155
  },
4126
- d(r) {
4127
- r && re(t);
4156
+ d(n) {
4157
+ n && te(t);
4128
4158
  }
4129
4159
  };
4130
4160
  }
4131
- function oi(e) {
4132
- let t, r = (
4161
+ function si(e) {
4162
+ let t, n = (
4133
4163
  /*session*/
4134
- e[4] && ut(e)
4164
+ e[4] && ot(e)
4135
4165
  );
4136
4166
  return {
4137
4167
  c() {
4138
- t = ne("div"), r && r.c(), Ge(t, "class", "CasinoFavoritesSectionContainer");
4168
+ t = ne("div"), n && n.c(), Ue(t, "class", "CasinoFavoritesSectionContainer");
4139
4169
  },
4140
- m(n, i) {
4141
- me(n, t, i), r && r.m(t, null), e[19](t);
4170
+ m(r, i) {
4171
+ fe(r, t, i), n && n.m(t, null), e[19](t);
4142
4172
  },
4143
- p(n, [i]) {
4173
+ p(r, [i]) {
4144
4174
  /*session*/
4145
- n[4] ? r ? r.p(n, i) : (r = ut(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4175
+ r[4] ? n ? n.p(r, i) : (n = ot(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
4146
4176
  },
4147
4177
  i: O,
4148
4178
  o: O,
4149
- d(n) {
4150
- n && re(t), r && r.d(), e[19](null);
4179
+ d(r) {
4180
+ r && te(t), n && n.d(), e[19](null);
4151
4181
  }
4152
4182
  };
4153
4183
  }
4154
- function ai(e, t, r) {
4155
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: o = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { mbsource: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: m = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: _ = "" } = t, { gamepagemodalurl: T = "false" } = t, { visiblegames: P = "" } = t, { favorites: w = "" } = t, { casinomygames: B = "false" } = t, { fetchviaevent: N = "true" } = t, x;
4156
- ii({ withLocale: "en", translations: {} }), tr(() => () => {
4184
+ function ai(e, t, n) {
4185
+ let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { mbsource: o } = t, { clientstyling: h = "" } = t, { clientstylingurl: m = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: x = "" } = t, { gamepagemodalurl: T = "false" } = t, { visiblegames: P = "" } = t, { favorites: w = "" } = t, { casinomygames: B = "false" } = t, { fetchviaevent: N = "true" } = t, v;
4186
+ ri({ withLocale: "en", translations: {} }), en(() => () => {
4157
4187
  });
4158
4188
  function I(c) {
4159
- Ae[c ? "unshift" : "push"](() => {
4160
- x = c, r(18, x);
4189
+ Se[c ? "unshift" : "push"](() => {
4190
+ v = c, n(18, v);
4161
4191
  });
4162
4192
  }
4163
4193
  return e.$$set = (c) => {
4164
- "endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, o = c.lang), "session" in c && r(4, u = c.session), "userid" in c && r(5, l = c.userid), "mbsource" in c && r(6, a = c.mbsource), "clientstyling" in c && r(7, h = c.clientstyling), "clientstylingurl" in c && r(8, m = c.clientstylingurl), "livecasino" in c && r(9, f = c.livecasino), "integratedgameframemobile" in c && r(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(11, y = c.integratedgameframedesktop), "showgamename" in c && r(12, _ = c.showgamename), "gamepagemodalurl" in c && r(13, T = c.gamepagemodalurl), "visiblegames" in c && r(14, P = c.visiblegames), "favorites" in c && r(15, w = c.favorites), "casinomygames" in c && r(16, B = c.casinomygames), "fetchviaevent" in c && r(17, N = c.fetchviaevent);
4194
+ "endpoint" in c && n(0, r = c.endpoint), "datasource" in c && n(1, i = c.datasource), "currency" in c && n(2, s = c.currency), "lang" in c && n(3, a = c.lang), "session" in c && n(4, u = c.session), "userid" in c && n(5, l = c.userid), "mbsource" in c && n(6, o = c.mbsource), "clientstyling" in c && n(7, h = c.clientstyling), "clientstylingurl" in c && n(8, m = c.clientstylingurl), "livecasino" in c && n(9, f = c.livecasino), "integratedgameframemobile" in c && n(10, b = c.integratedgameframemobile), "integratedgameframedesktop" in c && n(11, y = c.integratedgameframedesktop), "showgamename" in c && n(12, x = c.showgamename), "gamepagemodalurl" in c && n(13, T = c.gamepagemodalurl), "visiblegames" in c && n(14, P = c.visiblegames), "favorites" in c && n(15, w = c.favorites), "casinomygames" in c && n(16, B = c.casinomygames), "fetchviaevent" in c && n(17, N = c.fetchviaevent);
4165
4195
  }, e.$$.update = () => {
4166
4196
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4167
- 262272 && h && x && ti(x, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4168
- 262400 && m && x && ri(x, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4169
- 262208 && a && x && ni(x, `${a}.Style`);
4197
+ 262272 && h && v && ei(v, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4198
+ 262400 && m && v && ti(v, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4199
+ 262208 && o && v && ni(v, `${o}.Style`);
4170
4200
  }, [
4171
- n,
4201
+ r,
4172
4202
  i,
4173
4203
  s,
4174
- o,
4204
+ a,
4175
4205
  u,
4176
4206
  l,
4177
- a,
4207
+ o,
4178
4208
  h,
4179
4209
  m,
4180
4210
  f,
4181
4211
  b,
4182
4212
  y,
4183
- _,
4213
+ x,
4184
4214
  T,
4185
4215
  P,
4186
4216
  w,
4187
4217
  B,
4188
4218
  N,
4189
- x,
4219
+ v,
4190
4220
  I
4191
4221
  ];
4192
4222
  }
4193
- class Ft extends lr {
4223
+ class Gt extends ln {
4194
4224
  constructor(t) {
4195
- super(), ur(
4225
+ super(), un(
4196
4226
  this,
4197
4227
  t,
4198
4228
  ai,
4199
- oi,
4200
- lt,
4229
+ si,
4230
+ ht,
4201
4231
  {
4202
4232
  endpoint: 0,
4203
4233
  datasource: 1,
@@ -4218,7 +4248,7 @@ class Ft extends lr {
4218
4248
  casinomygames: 16,
4219
4249
  fetchviaevent: 17
4220
4250
  },
4221
- si
4251
+ ii
4222
4252
  );
4223
4253
  }
4224
4254
  get endpoint() {
@@ -4330,52 +4360,56 @@ class Ft extends lr {
4330
4360
  this.$$set({ fetchviaevent: t }), H();
4331
4361
  }
4332
4362
  }
4333
- hr(Ft, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
4334
- const Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4363
+ hn(Gt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
4364
+ const Ai = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4335
4365
  __proto__: null,
4336
- default: Ft
4366
+ default: Gt
4337
4367
  }, Symbol.toStringTag, { value: "Module" }));
4338
4368
  export {
4339
- $,
4340
- ri as A,
4341
- ni as B,
4342
- hr as C,
4343
- Si as D,
4344
- g as E,
4345
- yi as F,
4346
- mi as G,
4347
- Ei as H,
4369
+ R as $,
4370
+ mi as A,
4371
+ di as B,
4372
+ li as C,
4373
+ z as D,
4374
+ gi as E,
4375
+ Bi as F,
4376
+ ui as G,
4377
+ d as H,
4348
4378
  pi as I,
4349
- _i as J,
4350
- vi as K,
4351
- Ti as L,
4352
- Hi as M,
4353
- Bi as N,
4354
- lr as S,
4355
- Q as a,
4356
- An as b,
4357
- Qt as c,
4358
- re as d,
4359
- me as e,
4379
+ ci as J,
4380
+ yi as K,
4381
+ bi as L,
4382
+ _i as M,
4383
+ Ei as N,
4384
+ Hi as O,
4385
+ vi as P,
4386
+ Ai as Q,
4387
+ ln as S,
4388
+ Ti as _,
4389
+ Ee as a,
4390
+ Si as b,
4391
+ ce as c,
4392
+ Z as d,
4393
+ Br as e,
4360
4394
  H as f,
4361
- ne as g,
4362
- li as h,
4363
- ur as i,
4364
- Ae as j,
4365
- di as k,
4366
- Zt as l,
4367
- Ge as m,
4395
+ hn as g,
4396
+ Zt as h,
4397
+ un as i,
4398
+ ne as j,
4399
+ fe as k,
4400
+ te as l,
4401
+ hi as m,
4368
4402
  O as n,
4369
- tr as o,
4370
- xi as p,
4371
- fi as q,
4372
- W as r,
4373
- lt as s,
4374
- ct as t,
4375
- gi as u,
4376
- Yt as v,
4377
- ci as w,
4378
- bi as x,
4379
- hi as y,
4380
- ti as z
4403
+ en as o,
4404
+ Se as p,
4405
+ ei as q,
4406
+ ti as r,
4407
+ ht as s,
4408
+ ni as t,
4409
+ xi as u,
4410
+ Jt as v,
4411
+ fi as w,
4412
+ ft as x,
4413
+ Ue as y,
4414
+ Wt as z
4381
4415
  };