@everymatrix/casino-my-games 1.61.1 → 1.62.1

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 (68) hide show
  1. package/components/{CasinoFavoritesSection-D8DWC0Xz.js → CasinoFavoritesSection-BQxHB8YR.js} +902 -861
  2. package/components/{CasinoFavoritesSection-ahL5hBzq.js → CasinoFavoritesSection-BzDkIMgs.js} +867 -826
  3. package/components/CasinoFavoritesSection-bvcGe9AZ.cjs +3 -0
  4. package/components/CasinoFilter-Cy9k7kho.js +1183 -0
  5. package/components/CasinoFilter-DOZwgh80.cjs +16 -0
  6. package/components/CasinoFilter-RKknXh97.js +1184 -0
  7. package/components/CasinoGameThumbnail-Cipkj3uO.js +4376 -0
  8. package/components/CasinoGameThumbnail-D8ZgFXza.cjs +47 -0
  9. package/components/CasinoGameThumbnail-DXsD5OR_.js +4360 -0
  10. package/components/CasinoGamesCategorySection-BF4YqN7L.cjs +1 -0
  11. package/components/{CasinoGamesCategorySection-CmJdBTJE.js → CasinoGamesCategorySection-DCYMjmoW.js} +1108 -1095
  12. package/components/{CasinoGamesCategorySection-WLzU_Kux.js → CasinoGamesCategorySection-DPVl2aL_.js} +697 -683
  13. package/components/{CasinoLastPlayedSection-D62lIQoQ.cjs → CasinoLastPlayedSection-CGRsmF5x.cjs} +1 -1
  14. package/components/{CasinoLastPlayedSection-aeuS1Jzl.js → CasinoLastPlayedSection-DDYLHXja.js} +21 -21
  15. package/components/{CasinoLastPlayedSection-iak7Ugd5.js → CasinoLastPlayedSection-fMEZ5gcj.js} +21 -21
  16. package/components/{CasinoMostPlayedSection-CWF-inx9.js → CasinoMostPlayedSection-DHnDudq9.js} +46 -46
  17. package/components/{CasinoMostPlayedSection-DvHJHgw8.cjs → CasinoMostPlayedSection-DQnCz6KR.cjs} +1 -1
  18. package/components/{CasinoMostPlayedSection-BLHBi7CP.js → CasinoMostPlayedSection-s2QCRMUf.js} +46 -46
  19. package/components/{CasinoMyGames-DfW21p9X.js → CasinoMyGames-7z7-J8sI.js} +21 -21
  20. package/components/{CasinoMyGames-BjR1VsKZ.cjs → CasinoMyGames-CfByNg9_.cjs} +1 -1
  21. package/components/{CasinoMyGames-BwawsHNL.js → CasinoMyGames-DmH-UwT5.js} +29 -29
  22. package/components/{CasinoSort-BbrBJz2u.js → CasinoSort-ByFDMGQ3.js} +13 -13
  23. package/components/{CasinoSort-CxV8D1_I.cjs → CasinoSort-XA4Z5PGE.cjs} +1 -1
  24. package/components/{CasinoSort-CiKQxbY-.js → CasinoSort-ZGi87fq3.js} +13 -13
  25. package/es2015/casino-my-games.cjs +1 -1
  26. package/es2015/casino-my-games.js +1 -1
  27. package/esnext/casino-my-games.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  30. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  31. package/stencil/index-97d17652-CCalHFFZ.js +558 -0
  32. package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
  33. package/stencil/index-97d17652-De_e2iwD.js +542 -0
  34. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
  35. package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
  36. package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
  37. package/stencil/ui-image-CxLeLi3r.cjs +1 -0
  38. package/stencil/ui-image-D12cpp7q.js +25 -0
  39. package/stencil/ui-image-jU_A8Cc1.js +7 -0
  40. package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
  41. package/stencil/{ui-skeleton-6d1c12ae-CKWpp1By.js → ui-image_2-BcBI-Hq7.js} +7 -5
  42. package/stencil/{ui-skeleton-6d1c12ae-Cy_R_9Cz.js → ui-image_2-CIsvIZfV.js} +7 -5
  43. package/components/CasinoFavoritesSection-CwYWFKps.cjs +0 -16
  44. package/components/CasinoFilter--1Im-Ajx.js +0 -1103
  45. package/components/CasinoFilter-C8l1GK9-.cjs +0 -3
  46. package/components/CasinoFilter-D2I9-b4o.js +0 -1102
  47. package/components/CasinoGameThumbnail-Cuc3hOb9.js +0 -3608
  48. package/components/CasinoGameThumbnail-DbVQmHkH.cjs +0 -39
  49. package/components/CasinoGameThumbnail-v_nBLCb9.js +0 -3592
  50. package/components/CasinoGamesCategorySection-Bh-4nKcu.cjs +0 -1
  51. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
  52. package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +0 -7
  53. package/stencil/index-b2193545-B5BzVbnP.cjs +0 -1
  54. package/stencil/index-b2193545-BranxwW4.js +0 -519
  55. package/stencil/index-b2193545-D-GB6w--.js +0 -503
  56. package/stencil/index-b7bbd57e-CQ75dRCG.js +0 -550
  57. package/stencil/index-b7bbd57e-Cacu08c5.js +0 -534
  58. package/stencil/index-b7bbd57e-DF6DA3M_.cjs +0 -1
  59. package/stencil/ui-image-38c3c15f-D8q8WO62.js +0 -39
  60. package/stencil/ui-image-38c3c15f-DHu3p_Um.cjs +0 -1
  61. package/stencil/ui-image-38c3c15f-DNKzX83k.js +0 -39
  62. package/stencil/ui-image-BWdEHrqs.js +0 -11
  63. package/stencil/ui-image-Cq69wjLL.js +0 -29
  64. package/stencil/ui-image-hWt-DWaG.cjs +0 -1
  65. package/stencil/ui-skeleton-6d1c12ae-DXSQpIKe.cjs +0 -73
  66. package/stencil/ui-skeleton-BMWABShx.js +0 -29
  67. package/stencil/ui-skeleton-CkUGY95J.js +0 -11
  68. package/stencil/ui-skeleton-DXc0L06e.cjs +0 -1
@@ -1,57 +1,57 @@
1
- var Gt = Object.defineProperty, Ft = Object.defineProperties;
2
- var jt = Object.getOwnPropertyDescriptors;
3
- var Fe = Object.getOwnPropertySymbols;
4
- var kt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
5
- var be = (e, t, r) => t in e ? Gt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
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
6
  for (var r in t || (t = {}))
7
- kt.call(t, r) && be(e, r, t[r]);
8
- if (Fe)
9
- for (var r of Fe(t))
10
- Vt.call(t, r) && be(e, r, t[r]);
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]);
11
11
  return e;
12
- }, ke = (e, t) => Ft(e, jt(t));
13
- var O = (e, t, r) => (be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ve = (e, t, r) => new Promise((n, i) => {
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) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  u(r.next(l));
18
- } catch (o) {
19
- i(o);
18
+ } catch (a) {
19
+ i(a);
20
20
  }
21
- }, a = (l) => {
21
+ }, o = (l) => {
22
22
  try {
23
23
  u(r.throw(l));
24
- } catch (o) {
25
- i(o);
24
+ } catch (a) {
25
+ i(a);
26
26
  }
27
- }, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
27
+ }, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
28
  u((r = r.apply(e, t)).next());
29
29
  });
30
30
  function N() {
31
31
  }
32
- function ot(e) {
32
+ function ht(e) {
33
33
  return e();
34
34
  }
35
- function Xe() {
35
+ function We() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function z(e) {
39
- e.forEach(ot);
38
+ function W(e) {
39
+ e.forEach(ht);
40
40
  }
41
- function Re(e) {
41
+ function De(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function ut(e, t) {
44
+ function lt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let re;
48
- function ai(e, t) {
49
- return e === t ? !0 : (re || (re = document.createElement("a")), re.href = t, e === re.href);
47
+ let se;
48
+ function hi(e, t) {
49
+ return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
50
50
  }
51
- function Xt(e) {
51
+ function Wt(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function ht(e, ...t) {
54
+ function ft(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function ht(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function oi(e, t, r) {
64
- e.$$.on_destroy.push(ht(t, r));
63
+ function li(e, t, r) {
64
+ e.$$.on_destroy.push(ft(t, r));
65
65
  }
66
- function zt(e, t) {
66
+ function Zt(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Wt(e, t, r) {
70
- const n = Zt(e);
69
+ function Qt(e, t, r) {
70
+ const n = qt(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = le("style");
73
- i.id = t, i.textContent = r, Qt(n, i);
72
+ const i = ne("style");
73
+ i.id = t, i.textContent = r, Jt(n, i);
74
74
  }
75
75
  }
76
- function Zt(e) {
76
+ function qt(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,62 +83,132 @@ function Zt(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Qt(e, t) {
87
- return zt(
86
+ function Jt(e, t) {
87
+ return Zt(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function $e(e, t, r) {
93
+ function me(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function he(e) {
96
+ function re(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function ui(e, t) {
99
+ function fi(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
- function le(e) {
103
+ function ne(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function hi(e) {
106
+ function Yt(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function lt(e) {
109
+ function ct(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function li() {
113
- return lt(" ");
112
+ function ci() {
113
+ return ct(" ");
114
114
  }
115
- function fi() {
116
- return lt("");
115
+ function mi() {
116
+ return ct("");
117
117
  }
118
- function ci(e, t, r, n) {
118
+ function gi(e, t, r, n) {
119
119
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
120
120
  }
121
- function Ue(e, t, r) {
121
+ function Ge(e, t, r) {
122
122
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
123
123
  }
124
124
  function g(e, t, r) {
125
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 : Ue(e, t, r);
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);
127
127
  }
128
- function qt(e) {
128
+ function Kt(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function mi(e, t) {
131
+ function di(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function gi(e, t) {
135
+ function bi(e, t) {
136
136
  e.value = t == null ? "" : t;
137
137
  }
138
- function di(e, t, r) {
138
+ function pi(e, t, r) {
139
139
  e.classList.toggle(t, !!r);
140
140
  }
141
- function Jt(e) {
141
+ class yi {
142
+ constructor(t = !1) {
143
+ /**
144
+ * @private
145
+ * @default false
146
+ */
147
+ S(this, "is_svg", !1);
148
+ /** parent for creating node */
149
+ S(this, "e");
150
+ /** html tag nodes */
151
+ S(this, "n");
152
+ /** target */
153
+ S(this, "t");
154
+ /** anchor */
155
+ S(this, "a");
156
+ this.is_svg = t, this.e = this.n = null;
157
+ }
158
+ /**
159
+ * @param {string} html
160
+ * @returns {void}
161
+ */
162
+ c(t) {
163
+ this.h(t);
164
+ }
165
+ /**
166
+ * @param {string} html
167
+ * @param {HTMLElement | SVGElement} target
168
+ * @param {HTMLElement | SVGElement} anchor
169
+ * @returns {void}
170
+ */
171
+ m(t, r, n = null) {
172
+ this.e || (this.is_svg ? this.e = Yt(
173
+ /** @type {keyof SVGElementTagNameMap} */
174
+ r.nodeName
175
+ ) : this.e = ne(
176
+ /** @type {keyof HTMLElementTagNameMap} */
177
+ r.nodeType === 11 ? "TEMPLATE" : r.nodeName
178
+ ), this.t = r.tagName !== "TEMPLATE" ? r : (
179
+ /** @type {HTMLTemplateElement} */
180
+ r.content
181
+ ), this.c(t)), this.i(n);
182
+ }
183
+ /**
184
+ * @param {string} html
185
+ * @returns {void}
186
+ */
187
+ h(t) {
188
+ this.e.innerHTML = t, this.n = Array.from(
189
+ this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
190
+ );
191
+ }
192
+ /**
193
+ * @returns {void} */
194
+ i(t) {
195
+ for (let r = 0; r < this.n.length; r += 1)
196
+ me(this.t, this.n[r], t);
197
+ }
198
+ /**
199
+ * @param {string} html
200
+ * @returns {void}
201
+ */
202
+ p(t) {
203
+ this.d(), this.h(t), this.i(this.a);
204
+ }
205
+ /**
206
+ * @returns {void} */
207
+ d() {
208
+ this.n.forEach(re);
209
+ }
210
+ }
211
+ function er(e) {
142
212
  const t = {};
143
213
  return e.childNodes.forEach(
144
214
  /** @param {Element} node */
@@ -147,134 +217,134 @@ function Jt(e) {
147
217
  }
148
218
  ), t;
149
219
  }
150
- let Y;
151
- function J(e) {
152
- Y = e;
220
+ let K;
221
+ function Y(e) {
222
+ K = e;
153
223
  }
154
- function ft() {
155
- if (!Y)
224
+ function mt() {
225
+ if (!K)
156
226
  throw new Error("Function called outside component initialization");
157
- return Y;
227
+ return K;
158
228
  }
159
- function Yt(e) {
160
- ft().$$.on_mount.push(e);
229
+ function tr(e) {
230
+ mt().$$.on_mount.push(e);
161
231
  }
162
- function bi(e) {
163
- ft().$$.on_destroy.push(e);
232
+ function Ei(e) {
233
+ mt().$$.on_destroy.push(e);
164
234
  }
165
- const G = [], Te = [];
166
- let F = [];
167
- const ze = [], ct = /* @__PURE__ */ Promise.resolve();
168
- let Se = !1;
169
- function mt() {
170
- Se || (Se = !0, ct.then(H));
235
+ const F = [], Ae = [];
236
+ let j = [];
237
+ const Ze = [], gt = /* @__PURE__ */ Promise.resolve();
238
+ let we = !1;
239
+ function dt() {
240
+ we || (we = !0, gt.then(H));
171
241
  }
172
- function pi() {
173
- return mt(), ct;
242
+ function vi() {
243
+ return dt(), gt;
174
244
  }
175
- function Be(e) {
176
- F.push(e);
245
+ function Pe(e) {
246
+ j.push(e);
177
247
  }
178
- const pe = /* @__PURE__ */ new Set();
179
- let U = 0;
248
+ const ve = /* @__PURE__ */ new Set();
249
+ let D = 0;
180
250
  function H() {
181
- if (U !== 0)
251
+ if (D !== 0)
182
252
  return;
183
- const e = Y;
253
+ const e = K;
184
254
  do {
185
255
  try {
186
- for (; U < G.length; ) {
187
- const t = G[U];
188
- U++, J(t), Kt(t.$$);
256
+ for (; D < F.length; ) {
257
+ const t = F[D];
258
+ D++, Y(t), rr(t.$$);
189
259
  }
190
260
  } catch (t) {
191
- throw G.length = 0, U = 0, t;
261
+ throw F.length = 0, D = 0, t;
192
262
  }
193
- for (J(null), G.length = 0, U = 0; Te.length; )
194
- Te.pop()();
195
- for (let t = 0; t < F.length; t += 1) {
196
- const r = F[t];
197
- pe.has(r) || (pe.add(r), r());
263
+ for (Y(null), F.length = 0, D = 0; Ae.length; )
264
+ Ae.pop()();
265
+ for (let t = 0; t < j.length; t += 1) {
266
+ const r = j[t];
267
+ ve.has(r) || (ve.add(r), r());
198
268
  }
199
- F.length = 0;
200
- } while (G.length);
201
- for (; ze.length; )
202
- ze.pop()();
203
- Se = !1, pe.clear(), J(e);
269
+ j.length = 0;
270
+ } while (F.length);
271
+ for (; Ze.length; )
272
+ Ze.pop()();
273
+ we = !1, ve.clear(), Y(e);
204
274
  }
205
- function Kt(e) {
275
+ function rr(e) {
206
276
  if (e.fragment !== null) {
207
- e.update(), z(e.before_update);
277
+ e.update(), W(e.before_update);
208
278
  const t = e.dirty;
209
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
279
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
210
280
  }
211
281
  }
212
- function er(e) {
282
+ function nr(e) {
213
283
  const t = [], r = [];
214
- F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
284
+ j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
215
285
  }
216
- const tr = /* @__PURE__ */ new Set();
217
- function gt(e, t) {
218
- e && e.i && (tr.delete(e), e.i(t));
286
+ const ir = /* @__PURE__ */ new Set();
287
+ function bt(e, t) {
288
+ e && e.i && (ir.delete(e), e.i(t));
219
289
  }
220
- function yi(e) {
290
+ function _i(e) {
221
291
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
222
292
  }
223
- function Ei(e, t) {
293
+ function xi(e, t) {
224
294
  e.d(1), t.delete(e.key);
225
295
  }
226
- function vi(e, t, r, n, i, s, a, u, l, o, h, m) {
296
+ function Hi(e, t, r, n, i, s, o, u, l, a, h, m) {
227
297
  let f = e.length, b = s.length, y = f;
228
298
  const _ = {};
229
299
  for (; y--; )
230
300
  _[e[y].key] = y;
231
- const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
301
+ const T = [], P = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), B = [];
232
302
  for (y = b; y--; ) {
233
303
  const c = m(i, s, y), L = r(c);
234
- let C = a.get(L);
235
- C ? S.push(() => C.p(c, t)) : (C = o(L, c), C.c()), w.set(L, T[y] = C), L in _ && A.set(L, Math.abs(y - _[L]));
304
+ let C = o.get(L);
305
+ 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]));
236
306
  }
237
- const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
307
+ const O = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
238
308
  function I(c) {
239
- gt(c, 1), c.m(u, h), a.set(c.key, c), h = c.first, b--;
309
+ bt(c, 1), c.m(u, h), o.set(c.key, c), h = c.first, b--;
240
310
  }
241
311
  for (; f && b; ) {
242
- const c = T[b - 1], L = e[f - 1], C = c.key, te = L.key;
243
- c === L ? (h = c.first, f--, b--) : w.has(te) ? !a.has(C) || P.has(C) ? I(c) : x.has(te) ? f-- : A.get(C) > A.get(te) ? (x.add(C), I(c)) : (P.add(te), f--) : (l(L, a), f--);
312
+ const c = T[b - 1], L = e[f - 1], C = c.key, ie = L.key;
313
+ c === L ? (h = c.first, f--, b--) : P.has(ie) ? !o.has(C) || O.has(C) ? I(c) : x.has(ie) ? f-- : w.get(C) > w.get(ie) ? (x.add(C), I(c)) : (O.add(ie), f--) : (l(L, o), f--);
244
314
  }
245
315
  for (; f--; ) {
246
316
  const c = e[f];
247
- w.has(c.key) || l(c, a);
317
+ P.has(c.key) || l(c, o);
248
318
  }
249
319
  for (; b; )
250
320
  I(T[b - 1]);
251
- return z(S), T;
321
+ return W(B), T;
252
322
  }
253
- function rr(e, t, r) {
323
+ function sr(e, t, r) {
254
324
  const { fragment: n, after_update: i } = e.$$;
255
- n && n.m(t, r), Be(() => {
256
- const s = e.$$.on_mount.map(ot).filter(Re);
257
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
258
- }), i.forEach(Be);
325
+ n && n.m(t, r), Pe(() => {
326
+ const s = e.$$.on_mount.map(ht).filter(De);
327
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : W(s), e.$$.on_mount = [];
328
+ }), i.forEach(Pe);
259
329
  }
260
- function nr(e, t) {
330
+ function or(e, t) {
261
331
  const r = e.$$;
262
- r.fragment !== null && (er(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
332
+ 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 = []);
263
333
  }
264
- function ir(e, t) {
265
- e.$$.dirty[0] === -1 && (G.push(e), mt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
334
+ function ar(e, t) {
335
+ e.$$.dirty[0] === -1 && (F.push(e), dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
266
336
  }
267
- function sr(e, t, r, n, i, s, a = null, u = [-1]) {
268
- const l = Y;
269
- J(e);
270
- const o = e.$$ = {
337
+ function ur(e, t, r, n, i, s, o = null, u = [-1]) {
338
+ const l = K;
339
+ Y(e);
340
+ const a = e.$$ = {
271
341
  fragment: null,
272
342
  ctx: [],
273
343
  // state
274
344
  props: s,
275
345
  update: N,
276
346
  not_equal: i,
277
- bound: Xe(),
347
+ bound: We(),
278
348
  // lifecycle
279
349
  on_mount: [],
280
350
  on_destroy: [],
@@ -283,48 +353,48 @@ function sr(e, t, r, n, i, s, a = null, u = [-1]) {
283
353
  after_update: [],
284
354
  context: new Map(t.context || (l ? l.$$.context : [])),
285
355
  // everything else
286
- callbacks: Xe(),
356
+ callbacks: We(),
287
357
  dirty: u,
288
358
  skip_bound: !1,
289
359
  root: t.target || l.$$.root
290
360
  };
291
- a && a(o.root);
361
+ o && o(a.root);
292
362
  let h = !1;
293
- if (o.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
363
+ if (a.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
294
364
  const y = b.length ? b[0] : f;
295
- return o.ctx && i(o.ctx[m], o.ctx[m] = y) && (!o.skip_bound && o.bound[m] && o.bound[m](y), h && ir(e, m)), f;
296
- }) : [], o.update(), h = !0, z(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
365
+ 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;
366
+ }) : [], a.update(), h = !0, W(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
297
367
  if (t.hydrate) {
298
- const m = qt(t.target);
299
- o.fragment && o.fragment.l(m), m.forEach(he);
368
+ const m = Kt(t.target);
369
+ a.fragment && a.fragment.l(m), m.forEach(re);
300
370
  } else
301
- o.fragment && o.fragment.c();
302
- t.intro && gt(e.$$.fragment), rr(e, t.target, t.anchor), H();
371
+ a.fragment && a.fragment.c();
372
+ t.intro && bt(e.$$.fragment), sr(e, t.target, t.anchor), H();
303
373
  }
304
- J(l);
374
+ Y(l);
305
375
  }
306
- let dt;
307
- typeof HTMLElement == "function" && (dt = class extends HTMLElement {
376
+ let pt;
377
+ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
308
378
  constructor(t, r, n) {
309
379
  super();
310
380
  /** The Svelte component constructor */
311
- O(this, "$$ctor");
381
+ S(this, "$$ctor");
312
382
  /** Slots */
313
- O(this, "$$s");
383
+ S(this, "$$s");
314
384
  /** The Svelte component instance */
315
- O(this, "$$c");
385
+ S(this, "$$c");
316
386
  /** Whether or not the custom element is connected */
317
- O(this, "$$cn", !1);
387
+ S(this, "$$cn", !1);
318
388
  /** Component props data */
319
- O(this, "$$d", {});
389
+ S(this, "$$d", {});
320
390
  /** `true` if currently in the process of reflecting component props back to attributes */
321
- O(this, "$$r", !1);
391
+ S(this, "$$r", !1);
322
392
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
323
- O(this, "$$p_d", {});
393
+ S(this, "$$p_d", {});
324
394
  /** @type {Record<string, Function[]>} Event listeners */
325
- O(this, "$$l", {});
395
+ S(this, "$$l", {});
326
396
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
327
- O(this, "$$l_u", /* @__PURE__ */ new Map());
397
+ S(this, "$$l_u", /* @__PURE__ */ new Map());
328
398
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
329
399
  }
330
400
  addEventListener(t, r, n) {
@@ -341,42 +411,42 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
341
411
  }
342
412
  }
343
413
  connectedCallback() {
344
- return Ve(this, null, function* () {
414
+ return ze(this, null, function* () {
345
415
  if (this.$$cn = !0, !this.$$c) {
346
416
  let t = function(s) {
347
417
  return () => {
348
- let a;
418
+ let o;
349
419
  return {
350
420
  c: function() {
351
- a = le("slot"), s !== "default" && Ue(a, "name", s);
421
+ o = ne("slot"), s !== "default" && Ge(o, "name", s);
352
422
  },
353
423
  /**
354
424
  * @param {HTMLElement} target
355
425
  * @param {HTMLElement} [anchor]
356
426
  */
357
- m: function(o, h) {
358
- $e(o, a, h);
427
+ m: function(a, h) {
428
+ me(a, o, h);
359
429
  },
360
- d: function(o) {
361
- o && he(a);
430
+ d: function(a) {
431
+ a && re(o);
362
432
  }
363
433
  };
364
434
  };
365
435
  };
366
436
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
367
437
  return;
368
- const r = {}, n = Jt(this);
438
+ const r = {}, n = er(this);
369
439
  for (const s of this.$$s)
370
440
  s in n && (r[s] = [t(s)]);
371
441
  for (const s of this.attributes) {
372
- const a = this.$$g_p(s.name);
373
- a in this.$$d || (this.$$d[a] = ie(a, s.value, this.$$p_d, "toProp"));
442
+ const o = this.$$g_p(s.name);
443
+ o in this.$$d || (this.$$d[o] = ae(o, s.value, this.$$p_d, "toProp"));
374
444
  }
375
445
  for (const s in this.$$p_d)
376
446
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
377
447
  this.$$c = new this.$$ctor({
378
448
  target: this.shadowRoot || this,
379
- props: ke(je({}, this.$$d), {
449
+ props: Xe(Ve({}, this.$$d), {
380
450
  $$slots: r,
381
451
  $$scope: {
382
452
  ctx: []
@@ -387,21 +457,21 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
387
457
  this.$$r = !0;
388
458
  for (const s in this.$$p_d)
389
459
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
390
- const a = ie(
460
+ const o = ae(
391
461
  s,
392
462
  this.$$d[s],
393
463
  this.$$p_d,
394
464
  "toAttribute"
395
465
  );
396
- a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
466
+ o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
397
467
  }
398
468
  this.$$r = !1;
399
469
  };
400
470
  this.$$c.$$.after_update.push(i), i();
401
471
  for (const s in this.$$l)
402
- for (const a of this.$$l[s]) {
403
- const u = this.$$c.$on(s, a);
404
- this.$$l_u.set(a, u);
472
+ for (const o of this.$$l[s]) {
473
+ const u = this.$$c.$on(s, o);
474
+ this.$$l_u.set(o, u);
405
475
  }
406
476
  this.$$l = {};
407
477
  }
@@ -411,7 +481,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
411
481
  // and setting attributes through setAttribute etc, this is helpful
412
482
  attributeChangedCallback(t, r, n) {
413
483
  var i;
414
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ie(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
484
+ 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] }));
415
485
  }
416
486
  disconnectedCallback() {
417
487
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -424,7 +494,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
424
494
  ) || t;
425
495
  }
426
496
  });
427
- function ie(e, t, r, n) {
497
+ function ae(e, t, r, n) {
428
498
  var s;
429
499
  const i = (s = r[e]) == null ? void 0 : s.type;
430
500
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -454,8 +524,8 @@ function ie(e, t, r, n) {
454
524
  return t;
455
525
  }
456
526
  }
457
- function ar(e, t, r, n, i, s) {
458
- let a = class extends dt {
527
+ function hr(e, t, r, n, i, s) {
528
+ let o = class extends pt {
459
529
  constructor() {
460
530
  super(e, r, i), this.$$p_d = t;
461
531
  }
@@ -466,26 +536,26 @@ function ar(e, t, r, n, i, s) {
466
536
  }
467
537
  };
468
538
  return Object.keys(t).forEach((u) => {
469
- Object.defineProperty(a.prototype, u, {
539
+ Object.defineProperty(o.prototype, u, {
470
540
  get() {
471
541
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
472
542
  },
473
543
  set(l) {
474
- var o;
475
- l = ie(u, l, t), this.$$d[u] = l, (o = this.$$c) == null || o.$set({ [u]: l });
544
+ var a;
545
+ l = ae(u, l, t), this.$$d[u] = l, (a = this.$$c) == null || a.$set({ [u]: l });
476
546
  }
477
547
  });
478
548
  }), n.forEach((u) => {
479
- Object.defineProperty(a.prototype, u, {
549
+ Object.defineProperty(o.prototype, u, {
480
550
  get() {
481
551
  var l;
482
552
  return (l = this.$$c) == null ? void 0 : l[u];
483
553
  }
484
554
  });
485
555
  }), e.element = /** @type {any} */
486
- a, a;
556
+ o, o;
487
557
  }
488
- class or {
558
+ class lr {
489
559
  constructor() {
490
560
  /**
491
561
  * ### PRIVATE API
@@ -494,7 +564,7 @@ class or {
494
564
  *
495
565
  * @type {any}
496
566
  */
497
- O(this, "$$");
567
+ S(this, "$$");
498
568
  /**
499
569
  * ### PRIVATE API
500
570
  *
@@ -502,11 +572,11 @@ class or {
502
572
  *
503
573
  * @type {any}
504
574
  */
505
- O(this, "$$set");
575
+ S(this, "$$set");
506
576
  }
507
577
  /** @returns {void} */
508
578
  $destroy() {
509
- nr(this, 1), this.$destroy = N;
579
+ or(this, 1), this.$destroy = N;
510
580
  }
511
581
  /**
512
582
  * @template {Extract<keyof Events, string>} K
@@ -515,7 +585,7 @@ class or {
515
585
  * @returns {() => void}
516
586
  */
517
587
  $on(t, r) {
518
- if (!Re(r))
588
+ if (!De(r))
519
589
  return N;
520
590
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
521
591
  return n.push(r), () => {
@@ -528,151 +598,63 @@ class or {
528
598
  * @returns {void}
529
599
  */
530
600
  $set(t) {
531
- this.$$set && !Xt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
532
- }
533
- }
534
- const ur = "4";
535
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ur);
536
- /*! *****************************************************************************
537
- Copyright (c) Microsoft Corporation.
538
-
539
- Permission to use, copy, modify, and/or distribute this software for any
540
- purpose with or without fee is hereby granted.
541
-
542
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
543
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
544
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
545
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
546
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
547
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
548
- PERFORMANCE OF THIS SOFTWARE.
549
- ***************************************************************************** */
550
- var Ae = function(e, t) {
551
- return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
552
- r.__proto__ = n;
553
- } || function(r, n) {
554
- for (var i in n)
555
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
556
- }, Ae(e, t);
557
- };
558
- function fe(e, t) {
559
- if (typeof t != "function" && t !== null)
560
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
561
- Ae(e, t);
562
- function r() {
563
- this.constructor = e;
601
+ this.$$set && !Wt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
564
602
  }
565
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
566
- }
567
- var E = function() {
568
- return E = Object.assign || function(t) {
569
- for (var r, n = 1, i = arguments.length; n < i; n++) {
570
- r = arguments[n];
571
- for (var s in r)
572
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
573
- }
574
- return t;
575
- }, E.apply(this, arguments);
576
- };
577
- function hr(e, t) {
578
- var r = {};
579
- for (var n in e)
580
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
581
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
582
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
583
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
584
- return r;
585
- }
586
- function _i(e) {
587
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
588
- if (r)
589
- return r.call(e);
590
- if (e && typeof e.length == "number")
591
- return {
592
- next: function() {
593
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
594
- }
595
- };
596
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
597
603
  }
598
- function xi(e, t) {
599
- var r = typeof Symbol == "function" && e[Symbol.iterator];
600
- if (!r)
601
- return e;
602
- var n = r.call(e), i, s = [], a;
603
- try {
604
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
605
- s.push(i.value);
606
- } catch (u) {
607
- a = { error: u };
608
- } finally {
609
- try {
610
- i && !i.done && (r = n.return) && r.call(n);
611
- } finally {
612
- if (a)
613
- throw a.error;
614
- }
615
- }
616
- return s;
617
- }
618
- function ye(e, t, r) {
619
- if (r || arguments.length === 2)
620
- for (var n = 0, i = t.length, s; n < i; n++)
621
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
622
- return e.concat(s || t);
623
- }
624
- const D = [];
625
- function lr(e, t) {
604
+ const fr = "4";
605
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
606
+ const G = [];
607
+ function cr(e, t) {
626
608
  return {
627
- subscribe: ce(e, t).subscribe
609
+ subscribe: ge(e, t).subscribe
628
610
  };
629
611
  }
630
- function ce(e, t = N) {
612
+ function ge(e, t = N) {
631
613
  let r;
632
614
  const n = /* @__PURE__ */ new Set();
633
615
  function i(u) {
634
- if (ut(e, u) && (e = u, r)) {
635
- const l = !D.length;
636
- for (const o of n)
637
- o[1](), D.push(o, e);
616
+ if (lt(e, u) && (e = u, r)) {
617
+ const l = !G.length;
618
+ for (const a of n)
619
+ a[1](), G.push(a, e);
638
620
  if (l) {
639
- for (let o = 0; o < D.length; o += 2)
640
- D[o][0](D[o + 1]);
641
- D.length = 0;
621
+ for (let a = 0; a < G.length; a += 2)
622
+ G[a][0](G[a + 1]);
623
+ G.length = 0;
642
624
  }
643
625
  }
644
626
  }
645
627
  function s(u) {
646
628
  i(u(e));
647
629
  }
648
- function a(u, l = N) {
649
- const o = [u, l];
650
- return n.add(o), n.size === 1 && (r = t(i, s) || N), u(e), () => {
651
- n.delete(o), n.size === 0 && r && (r(), r = null);
630
+ function o(u, l = N) {
631
+ const a = [u, l];
632
+ return n.add(a), n.size === 1 && (r = t(i, s) || N), u(e), () => {
633
+ n.delete(a), n.size === 0 && r && (r(), r = null);
652
634
  };
653
635
  }
654
- return { set: i, update: s, subscribe: a };
636
+ return { set: i, update: s, subscribe: o };
655
637
  }
656
- function W(e, t, r) {
638
+ function Z(e, t, r) {
657
639
  const n = !Array.isArray(e), i = n ? [e] : e;
658
640
  if (!i.every(Boolean))
659
641
  throw new Error("derived() expects stores as input, got a falsy value");
660
642
  const s = t.length < 2;
661
- return lr(r, (a, u) => {
643
+ return cr(r, (o, u) => {
662
644
  let l = !1;
663
- const o = [];
645
+ const a = [];
664
646
  let h = 0, m = N;
665
647
  const f = () => {
666
648
  if (h)
667
649
  return;
668
650
  m();
669
- const y = t(n ? o[0] : o, a, u);
670
- s ? a(y) : m = Re(y) ? y : N;
651
+ const y = t(n ? a[0] : a, o, u);
652
+ s ? o(y) : m = De(y) ? y : N;
671
653
  }, b = i.map(
672
- (y, _) => ht(
654
+ (y, _) => ft(
673
655
  y,
674
656
  (T) => {
675
- o[_] = T, h &= ~(1 << _), l && f();
657
+ a[_] = T, h &= ~(1 << _), l && f();
676
658
  },
677
659
  () => {
678
660
  h |= 1 << _;
@@ -680,115 +662,157 @@ function W(e, t, r) {
680
662
  )
681
663
  );
682
664
  return l = !0, f(), function() {
683
- z(b), m(), l = !1;
665
+ W(b), m(), l = !1;
684
666
  };
685
667
  });
686
668
  }
687
- function fr(e) {
669
+ function mr(e) {
688
670
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
689
671
  }
690
- var cr = function(t) {
691
- return mr(t) && !gr(t);
672
+ var gr = function(t) {
673
+ return dr(t) && !br(t);
692
674
  };
693
- function mr(e) {
675
+ function dr(e) {
694
676
  return !!e && typeof e == "object";
695
677
  }
696
- function gr(e) {
678
+ function br(e) {
697
679
  var t = Object.prototype.toString.call(e);
698
- return t === "[object RegExp]" || t === "[object Date]" || pr(e);
680
+ return t === "[object RegExp]" || t === "[object Date]" || Er(e);
699
681
  }
700
- var dr = typeof Symbol == "function" && Symbol.for, br = dr ? Symbol.for("react.element") : 60103;
701
- function pr(e) {
702
- return e.$$typeof === br;
682
+ var pr = typeof Symbol == "function" && Symbol.for, yr = pr ? Symbol.for("react.element") : 60103;
683
+ function Er(e) {
684
+ return e.$$typeof === yr;
703
685
  }
704
- function yr(e) {
686
+ function vr(e) {
705
687
  return Array.isArray(e) ? [] : {};
706
688
  }
707
- function K(e, t) {
708
- return t.clone !== !1 && t.isMergeableObject(e) ? j(yr(e), e, t) : e;
689
+ function ee(e, t) {
690
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(vr(e), e, t) : e;
709
691
  }
710
- function Er(e, t, r) {
692
+ function _r(e, t, r) {
711
693
  return e.concat(t).map(function(n) {
712
- return K(n, r);
694
+ return ee(n, r);
713
695
  });
714
696
  }
715
- function vr(e, t) {
697
+ function xr(e, t) {
716
698
  if (!t.customMerge)
717
- return j;
699
+ return k;
718
700
  var r = t.customMerge(e);
719
- return typeof r == "function" ? r : j;
701
+ return typeof r == "function" ? r : k;
720
702
  }
721
- function _r(e) {
703
+ function Hr(e) {
722
704
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
723
705
  return Object.propertyIsEnumerable.call(e, t);
724
706
  }) : [];
725
707
  }
726
- function We(e) {
727
- return Object.keys(e).concat(_r(e));
708
+ function Qe(e) {
709
+ return Object.keys(e).concat(Hr(e));
728
710
  }
729
- function bt(e, t) {
711
+ function yt(e, t) {
730
712
  try {
731
713
  return t in e;
732
714
  } catch (r) {
733
715
  return !1;
734
716
  }
735
717
  }
736
- function xr(e, t) {
737
- return bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
718
+ function Tr(e, t) {
719
+ return yt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
738
720
  }
739
- function Hr(e, t, r) {
721
+ function Sr(e, t, r) {
740
722
  var n = {};
741
- return r.isMergeableObject(e) && We(e).forEach(function(i) {
742
- n[i] = K(e[i], r);
743
- }), We(t).forEach(function(i) {
744
- xr(e, i) || (bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = vr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
723
+ return r.isMergeableObject(e) && Qe(e).forEach(function(i) {
724
+ n[i] = ee(e[i], r);
725
+ }), Qe(t).forEach(function(i) {
726
+ 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));
745
727
  }), n;
746
728
  }
747
- function j(e, t, r) {
748
- r = r || {}, r.arrayMerge = r.arrayMerge || Er, r.isMergeableObject = r.isMergeableObject || cr, r.cloneUnlessOtherwiseSpecified = K;
729
+ function k(e, t, r) {
730
+ r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || gr, r.cloneUnlessOtherwiseSpecified = ee;
749
731
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
750
- return s ? n ? r.arrayMerge(e, t, r) : Hr(e, t, r) : K(t, r);
732
+ return s ? n ? r.arrayMerge(e, t, r) : Sr(e, t, r) : ee(t, r);
751
733
  }
752
- j.all = function(t, r) {
734
+ k.all = function(t, r) {
753
735
  if (!Array.isArray(t))
754
736
  throw new Error("first argument should be an array");
755
737
  return t.reduce(function(n, i) {
756
- return j(n, i, r);
738
+ return k(n, i, r);
757
739
  }, {});
758
740
  };
759
- var Tr = j, Sr = Tr;
760
- const Br = /* @__PURE__ */ fr(Sr);
761
- function Ee(e, t) {
762
- var r = t && t.cache ? t.cache : Lr, n = t && t.serializer ? t.serializer : Nr, i = t && t.strategy ? t.strategy : Pr;
741
+ var Br = k, Ar = Br;
742
+ const wr = /* @__PURE__ */ mr(Ar);
743
+ var Oe = function(e, t) {
744
+ return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
745
+ r.__proto__ = n;
746
+ } || function(r, n) {
747
+ for (var i in n)
748
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
749
+ }, Oe(e, t);
750
+ };
751
+ function de(e, t) {
752
+ if (typeof t != "function" && t !== null)
753
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
754
+ Oe(e, t);
755
+ function r() {
756
+ this.constructor = e;
757
+ }
758
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
759
+ }
760
+ var M = function() {
761
+ return M = Object.assign || function(t) {
762
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
763
+ r = arguments[n];
764
+ for (var s in r)
765
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
766
+ }
767
+ return t;
768
+ }, M.apply(this, arguments);
769
+ };
770
+ function Pr(e, t) {
771
+ var r = {};
772
+ for (var n in e)
773
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
774
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
775
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
776
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
777
+ return r;
778
+ }
779
+ function _e(e, t, r) {
780
+ if (r || arguments.length === 2)
781
+ for (var n = 0, i = t.length, s; n < i; n++)
782
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
783
+ return e.concat(s || Array.prototype.slice.call(t));
784
+ }
785
+ function xe(e, t) {
786
+ var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Ir;
763
787
  return i(e, {
764
788
  cache: r,
765
789
  serializer: n
766
790
  });
767
791
  }
768
- function Ar(e) {
792
+ function Or(e) {
769
793
  return e == null || typeof e == "number" || typeof e == "boolean";
770
794
  }
771
- function wr(e, t, r, n) {
772
- var i = Ar(n) ? n : r(n), s = t.get(i);
795
+ function Nr(e, t, r, n) {
796
+ var i = Or(n) ? n : r(n), s = t.get(i);
773
797
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
774
798
  }
775
- function pt(e, t, r) {
799
+ function Et(e, t, r) {
776
800
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
777
801
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
778
802
  }
779
- function yt(e, t, r, n, i) {
803
+ function vt(e, t, r, n, i) {
780
804
  return r.bind(t, e, n, i);
781
805
  }
782
- function Pr(e, t) {
783
- var r = e.length === 1 ? wr : pt;
784
- return yt(e, this, r, t.cache.create(), t.serializer);
806
+ function Ir(e, t) {
807
+ var r = e.length === 1 ? Nr : Et;
808
+ return vt(e, this, r, t.cache.create(), t.serializer);
785
809
  }
786
- function Or(e, t) {
787
- return yt(e, this, pt, t.cache.create(), t.serializer);
810
+ function Lr(e, t) {
811
+ return vt(e, this, Et, t.cache.create(), t.serializer);
788
812
  }
789
- var Nr = function() {
813
+ var Cr = function() {
790
814
  return JSON.stringify(arguments);
791
- }, Ir = (
815
+ }, Mr = (
792
816
  /** @class */
793
817
  function() {
794
818
  function e() {
@@ -800,61 +824,71 @@ var Nr = function() {
800
824
  this.cache[t] = r;
801
825
  }, e;
802
826
  }()
803
- ), Lr = {
827
+ ), Rr = {
804
828
  create: function() {
805
- return new Ir();
829
+ return new Mr();
806
830
  }
807
- }, ve = {
808
- variadic: Or
809
- }, d;
831
+ }, He = {
832
+ variadic: Lr
833
+ }, le = function() {
834
+ return le = Object.assign || function(t) {
835
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
836
+ r = arguments[n];
837
+ for (var s in r)
838
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
839
+ }
840
+ return t;
841
+ }, le.apply(this, arguments);
842
+ };
843
+ var d;
810
844
  (function(e) {
811
845
  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";
812
846
  })(d || (d = {}));
813
- var v;
847
+ var E;
814
848
  (function(e) {
815
849
  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";
816
- })(v || (v = {}));
817
- var k;
850
+ })(E || (E = {}));
851
+ var V;
818
852
  (function(e) {
819
853
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
820
- })(k || (k = {}));
821
- function Ze(e) {
822
- return e.type === v.literal;
823
- }
824
- function Cr(e) {
825
- return e.type === v.argument;
826
- }
827
- function Et(e) {
828
- return e.type === v.number;
854
+ })(V || (V = {}));
855
+ function qe(e) {
856
+ return e.type === E.literal;
829
857
  }
830
- function vt(e) {
831
- return e.type === v.date;
858
+ function $r(e) {
859
+ return e.type === E.argument;
832
860
  }
833
861
  function _t(e) {
834
- return e.type === v.time;
862
+ return e.type === E.number;
835
863
  }
836
864
  function xt(e) {
837
- return e.type === v.select;
865
+ return e.type === E.date;
838
866
  }
839
867
  function Ht(e) {
840
- return e.type === v.plural;
841
- }
842
- function Mr(e) {
843
- return e.type === v.pound;
868
+ return e.type === E.time;
844
869
  }
845
870
  function Tt(e) {
846
- return e.type === v.tag;
871
+ return e.type === E.select;
847
872
  }
848
873
  function St(e) {
849
- return !!(e && typeof e == "object" && e.type === k.number);
874
+ return e.type === E.plural;
850
875
  }
851
- function we(e) {
852
- return !!(e && typeof e == "object" && e.type === k.dateTime);
876
+ function Ur(e) {
877
+ return e.type === E.pound;
853
878
  }
854
- var Bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rr = /(?:[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;
855
- function $r(e) {
879
+ function Bt(e) {
880
+ return e.type === E.tag;
881
+ }
882
+ function At(e) {
883
+ return !!(e && typeof e == "object" && e.type === V.number);
884
+ }
885
+ function Ne(e) {
886
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
887
+ }
888
+ 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;
889
+ function Gr(e) {
856
890
  var t = {};
857
- return e.replace(Rr, function(r) {
891
+ return e.replace(Dr, function(r) {
858
892
  var n = r.length;
859
893
  switch (r[0]) {
860
894
  case "G":
@@ -943,18 +977,28 @@ function $r(e) {
943
977
  return "";
944
978
  }), t;
945
979
  }
946
- var Ur = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
947
- function Dr(e) {
980
+ var v = function() {
981
+ return v = Object.assign || function(t) {
982
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
983
+ r = arguments[n];
984
+ for (var s in r)
985
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
986
+ }
987
+ return t;
988
+ }, v.apply(this, arguments);
989
+ };
990
+ var Fr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
991
+ function jr(e) {
948
992
  if (e.length === 0)
949
993
  throw new Error("Number skeleton cannot be empty");
950
- for (var t = e.split(Ur).filter(function(f) {
994
+ for (var t = e.split(Fr).filter(function(f) {
951
995
  return f.length > 0;
952
996
  }), r = [], n = 0, i = t; n < i.length; n++) {
953
- var s = i[n], a = s.split("/");
954
- if (a.length === 0)
997
+ var s = i[n], o = s.split("/");
998
+ if (o.length === 0)
955
999
  throw new Error("Invalid number skeleton");
956
- for (var u = a[0], l = a.slice(1), o = 0, h = l; o < h.length; o++) {
957
- var m = h[o];
1000
+ for (var u = o[0], l = o.slice(1), a = 0, h = l; a < h.length; a++) {
1001
+ var m = h[a];
958
1002
  if (m.length === 0)
959
1003
  throw new Error("Invalid number skeleton");
960
1004
  }
@@ -962,17 +1006,17 @@ function Dr(e) {
962
1006
  }
963
1007
  return r;
964
1008
  }
965
- function Gr(e) {
1009
+ function kr(e) {
966
1010
  return e.replace(/^(.*?)-/, "");
967
1011
  }
968
- var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, At = /^(@+)?(\+|#+)?[rs]?$/g, Fr = /(\*)(0+)|(#+)(0+)|(0+)/g, wt = /^(0+)$/;
969
- function qe(e) {
1012
+ var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Pt = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ot = /^(0+)$/;
1013
+ function Ye(e) {
970
1014
  var t = {};
971
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(At, function(r, n, i) {
1015
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Pt, function(r, n, i) {
972
1016
  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)), "";
973
1017
  }), t;
974
1018
  }
975
- function Pt(e) {
1019
+ function Nt(e) {
976
1020
  switch (e) {
977
1021
  case "sign-auto":
978
1022
  return {
@@ -1012,7 +1056,7 @@ function Pt(e) {
1012
1056
  };
1013
1057
  }
1014
1058
  }
1015
- function jr(e) {
1059
+ function Xr(e) {
1016
1060
  var t;
1017
1061
  if (e[0] === "E" && e[1] === "E" ? (t = {
1018
1062
  notation: "engineering"
@@ -1020,17 +1064,17 @@ function jr(e) {
1020
1064
  notation: "scientific"
1021
1065
  }, e = e.slice(1)), t) {
1022
1066
  var r = e.slice(0, 2);
1023
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wt.test(e))
1067
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ot.test(e))
1024
1068
  throw new Error("Malformed concise eng/scientific notation");
1025
1069
  t.minimumIntegerDigits = e.length;
1026
1070
  }
1027
1071
  return t;
1028
1072
  }
1029
- function Je(e) {
1030
- var t = {}, r = Pt(e);
1073
+ function Ke(e) {
1074
+ var t = {}, r = Nt(e);
1031
1075
  return r || t;
1032
1076
  }
1033
- function kr(e) {
1077
+ function zr(e) {
1034
1078
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1035
1079
  var i = n[r];
1036
1080
  switch (i.stem) {
@@ -1054,7 +1098,7 @@ function kr(e) {
1054
1098
  continue;
1055
1099
  case "measure-unit":
1056
1100
  case "unit":
1057
- t.style = "unit", t.unit = Gr(i.options[0]);
1101
+ t.style = "unit", t.unit = kr(i.options[0]);
1058
1102
  continue;
1059
1103
  case "compact-short":
1060
1104
  case "K":
@@ -1065,13 +1109,13 @@ function kr(e) {
1065
1109
  t.notation = "compact", t.compactDisplay = "long";
1066
1110
  continue;
1067
1111
  case "scientific":
1068
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
1069
- return E(E({}, l), Je(o));
1112
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
1113
+ return v(v({}, l), Ke(a));
1070
1114
  }, {}));
1071
1115
  continue;
1072
1116
  case "engineering":
1073
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
1074
- return E(E({}, l), Je(o));
1117
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1118
+ return v(v({}, l), Ke(a));
1075
1119
  }, {}));
1076
1120
  continue;
1077
1121
  case "notation-simple":
@@ -1116,8 +1160,8 @@ function kr(e) {
1116
1160
  case "integer-width":
1117
1161
  if (i.options.length > 1)
1118
1162
  throw new RangeError("integer-width stems only accept a single optional option");
1119
- i.options[0].replace(Fr, function(l, o, h, m, f, b) {
1120
- if (o)
1163
+ i.options[0].replace(Vr, function(l, a, h, m, f, b) {
1164
+ if (a)
1121
1165
  t.minimumIntegerDigits = h.length;
1122
1166
  else {
1123
1167
  if (m && f)
@@ -1129,32 +1173,32 @@ function kr(e) {
1129
1173
  });
1130
1174
  continue;
1131
1175
  }
1132
- if (wt.test(i.stem)) {
1176
+ if (Ot.test(i.stem)) {
1133
1177
  t.minimumIntegerDigits = i.stem.length;
1134
1178
  continue;
1135
1179
  }
1136
- if (Qe.test(i.stem)) {
1180
+ if (Je.test(i.stem)) {
1137
1181
  if (i.options.length > 1)
1138
1182
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1139
- i.stem.replace(Qe, function(l, o, h, m, f, b) {
1140
- 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), "";
1183
+ i.stem.replace(Je, function(l, a, h, m, f, b) {
1184
+ 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), "";
1141
1185
  });
1142
1186
  var s = i.options[0];
1143
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), qe(s)));
1187
+ s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ye(s)));
1144
1188
  continue;
1145
1189
  }
1146
- if (At.test(i.stem)) {
1147
- t = E(E({}, t), qe(i.stem));
1190
+ if (Pt.test(i.stem)) {
1191
+ t = v(v({}, t), Ye(i.stem));
1148
1192
  continue;
1149
1193
  }
1150
- var a = Pt(i.stem);
1151
- a && (t = E(E({}, t), a));
1152
- var u = jr(i.stem);
1153
- u && (t = E(E({}, t), u));
1194
+ var o = Nt(i.stem);
1195
+ o && (t = v(v({}, t), o));
1196
+ var u = Xr(i.stem);
1197
+ u && (t = v(v({}, t), u));
1154
1198
  }
1155
1199
  return t;
1156
1200
  }
1157
- var ne = {
1201
+ var oe = {
1158
1202
  "001": [
1159
1203
  "H",
1160
1204
  "h"
@@ -2569,23 +2613,23 @@ var ne = {
2569
2613
  "h"
2570
2614
  ]
2571
2615
  };
2572
- function Vr(e, t) {
2616
+ function Wr(e, t) {
2573
2617
  for (var r = "", n = 0; n < e.length; n++) {
2574
2618
  var i = e.charAt(n);
2575
2619
  if (i === "j") {
2576
2620
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2577
2621
  s++, n++;
2578
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Xr(t);
2579
- for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
2622
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = Zr(t);
2623
+ for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2580
2624
  r += l;
2581
- for (; a-- > 0; )
2582
- r = o + r;
2625
+ for (; o-- > 0; )
2626
+ r = a + r;
2583
2627
  } else
2584
2628
  i === "J" ? r += "H" : r += i;
2585
2629
  }
2586
2630
  return r;
2587
2631
  }
2588
- function Xr(e) {
2632
+ function Zr(e) {
2589
2633
  var t = e.hourCycle;
2590
2634
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2591
2635
  e.hourCycles && // @ts-ignore
@@ -2604,23 +2648,23 @@ function Xr(e) {
2604
2648
  }
2605
2649
  var r = e.language, n;
2606
2650
  r !== "root" && (n = e.maximize().region);
2607
- var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
2651
+ var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2608
2652
  return i[0];
2609
2653
  }
2610
- var _e, zr = new RegExp("^".concat(Bt.source, "*")), Wr = new RegExp("".concat(Bt.source, "*$"));
2654
+ var Te, Qr = new RegExp("^".concat(wt.source, "*")), qr = new RegExp("".concat(wt.source, "*$"));
2611
2655
  function p(e, t) {
2612
2656
  return { start: e, end: t };
2613
2657
  }
2614
- var Zr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qr = !!String.fromCodePoint, qr = !!Object.fromEntries, Jr = !!String.prototype.codePointAt, Yr = !!String.prototype.trimStart, Kr = !!String.prototype.trimEnd, en = !!Number.isSafeInteger, tn = en ? Number.isSafeInteger : function(e) {
2658
+ 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) {
2615
2659
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2616
- }, Pe = !0;
2660
+ }, Ie = !0;
2617
2661
  try {
2618
- var rn = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
- Pe = ((_e = rn.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
2662
+ var on = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2663
+ Ie = ((Te = on.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
2620
2664
  } catch (e) {
2621
- Pe = !1;
2665
+ Ie = !1;
2622
2666
  }
2623
- var Ye = Zr ? (
2667
+ var et = Jr ? (
2624
2668
  // Native
2625
2669
  function(t, r, n) {
2626
2670
  return t.startsWith(r, n);
@@ -2630,31 +2674,31 @@ var Ye = Zr ? (
2630
2674
  function(t, r, n) {
2631
2675
  return t.slice(n, n + r.length) === r;
2632
2676
  }
2633
- ), Oe = Qr ? String.fromCodePoint : (
2677
+ ), Le = Yr ? String.fromCodePoint : (
2634
2678
  // IE11
2635
2679
  function() {
2636
2680
  for (var t = [], r = 0; r < arguments.length; r++)
2637
2681
  t[r] = arguments[r];
2638
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
2639
- if (a = t[s++], a > 1114111)
2640
- throw RangeError(a + " is not a valid code point");
2641
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2682
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
2683
+ if (o = t[s++], o > 1114111)
2684
+ throw RangeError(o + " is not a valid code point");
2685
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2642
2686
  }
2643
2687
  return n;
2644
2688
  }
2645
- ), Ke = (
2689
+ ), tt = (
2646
2690
  // native
2647
- qr ? Object.fromEntries : (
2691
+ Kr ? Object.fromEntries : (
2648
2692
  // Ponyfill
2649
2693
  function(t) {
2650
2694
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2651
- var s = i[n], a = s[0], u = s[1];
2652
- r[a] = u;
2695
+ var s = i[n], o = s[0], u = s[1];
2696
+ r[o] = u;
2653
2697
  }
2654
2698
  return r;
2655
2699
  }
2656
2700
  )
2657
- ), Ot = Jr ? (
2701
+ ), It = en ? (
2658
2702
  // Native
2659
2703
  function(t, r) {
2660
2704
  return t.codePointAt(r);
@@ -2668,7 +2712,7 @@ var Ye = Zr ? (
2668
2712
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2669
2713
  }
2670
2714
  }
2671
- ), nn = Yr ? (
2715
+ ), an = tn ? (
2672
2716
  // Native
2673
2717
  function(t) {
2674
2718
  return t.trimStart();
@@ -2676,9 +2720,9 @@ var Ye = Zr ? (
2676
2720
  ) : (
2677
2721
  // Ponyfill
2678
2722
  function(t) {
2679
- return t.replace(zr, "");
2723
+ return t.replace(Qr, "");
2680
2724
  }
2681
- ), sn = Kr ? (
2725
+ ), un = rn ? (
2682
2726
  // Native
2683
2727
  function(t) {
2684
2728
  return t.trimEnd();
@@ -2686,32 +2730,32 @@ var Ye = Zr ? (
2686
2730
  ) : (
2687
2731
  // Ponyfill
2688
2732
  function(t) {
2689
- return t.replace(Wr, "");
2733
+ return t.replace(qr, "");
2690
2734
  }
2691
2735
  );
2692
- function Nt(e, t) {
2736
+ function Lt(e, t) {
2693
2737
  return new RegExp(e, t);
2694
2738
  }
2695
- var Ne;
2696
- if (Pe) {
2697
- var et = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2698
- Ne = function(t, r) {
2739
+ var Ce;
2740
+ if (Ie) {
2741
+ var rt = Lt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2742
+ Ce = function(t, r) {
2699
2743
  var n;
2700
- et.lastIndex = r;
2701
- var i = et.exec(t);
2744
+ rt.lastIndex = r;
2745
+ var i = rt.exec(t);
2702
2746
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2703
2747
  };
2704
2748
  } else
2705
- Ne = function(t, r) {
2749
+ Ce = function(t, r) {
2706
2750
  for (var n = []; ; ) {
2707
- var i = Ot(t, r);
2708
- if (i === void 0 || It(i) || hn(i))
2751
+ var i = It(t, r);
2752
+ if (i === void 0 || Ct(i) || cn(i))
2709
2753
  break;
2710
2754
  n.push(i), r += i >= 65536 ? 2 : 1;
2711
2755
  }
2712
- return Oe.apply(void 0, n);
2756
+ return Le.apply(void 0, n);
2713
2757
  };
2714
- var an = (
2758
+ var hn = (
2715
2759
  /** @class */
2716
2760
  function() {
2717
2761
  function e(t, r) {
@@ -2725,33 +2769,33 @@ var an = (
2725
2769
  for (var i = []; !this.isEOF(); ) {
2726
2770
  var s = this.char();
2727
2771
  if (s === 123) {
2728
- var a = this.parseArgument(t, n);
2729
- if (a.err)
2730
- return a;
2731
- i.push(a.val);
2772
+ var o = this.parseArgument(t, n);
2773
+ if (o.err)
2774
+ return o;
2775
+ i.push(o.val);
2732
2776
  } else {
2733
2777
  if (s === 125 && t > 0)
2734
2778
  break;
2735
2779
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2736
2780
  var u = this.clonePosition();
2737
2781
  this.bump(), i.push({
2738
- type: v.pound,
2782
+ type: E.pound,
2739
2783
  location: p(u, this.clonePosition())
2740
2784
  });
2741
2785
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2742
2786
  if (n)
2743
2787
  break;
2744
2788
  return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2745
- } else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
2746
- var a = this.parseTag(t, r);
2747
- if (a.err)
2748
- return a;
2749
- i.push(a.val);
2789
+ } else if (s === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
2790
+ var o = this.parseTag(t, r);
2791
+ if (o.err)
2792
+ return o;
2793
+ i.push(o.val);
2750
2794
  } else {
2751
- var a = this.parseLiteral(t, r);
2752
- if (a.err)
2753
- return a;
2754
- i.push(a.val);
2795
+ var o = this.parseLiteral(t, r);
2796
+ if (o.err)
2797
+ return o;
2798
+ i.push(o.val);
2755
2799
  }
2756
2800
  }
2757
2801
  }
@@ -2763,7 +2807,7 @@ var an = (
2763
2807
  if (this.bumpSpace(), this.bumpIf("/>"))
2764
2808
  return {
2765
2809
  val: {
2766
- type: v.literal,
2810
+ type: E.literal,
2767
2811
  value: "<".concat(i, "/>"),
2768
2812
  location: p(n, this.clonePosition())
2769
2813
  },
@@ -2773,16 +2817,16 @@ var an = (
2773
2817
  var s = this.parseMessage(t + 1, r, !0);
2774
2818
  if (s.err)
2775
2819
  return s;
2776
- var a = s.val, u = this.clonePosition();
2820
+ var o = s.val, u = this.clonePosition();
2777
2821
  if (this.bumpIf("</")) {
2778
- if (this.isEOF() || !Ie(this.char()))
2822
+ if (this.isEOF() || !Me(this.char()))
2779
2823
  return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
2780
- var l = this.clonePosition(), o = this.parseTagName();
2781
- return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2824
+ var l = this.clonePosition(), a = this.parseTagName();
2825
+ return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2782
2826
  val: {
2783
- type: v.tag,
2827
+ type: E.tag,
2784
2828
  value: i,
2785
- children: a,
2829
+ children: o,
2786
2830
  location: p(n, this.clonePosition())
2787
2831
  },
2788
2832
  err: null
@@ -2793,7 +2837,7 @@ var an = (
2793
2837
  return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
2794
2838
  }, e.prototype.parseTagName = function() {
2795
2839
  var t = this.offset();
2796
- for (this.bump(); !this.isEOF() && un(this.char()); )
2840
+ for (this.bump(); !this.isEOF() && fn(this.char()); )
2797
2841
  this.bump();
2798
2842
  return this.message.slice(t, this.offset());
2799
2843
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2803,9 +2847,9 @@ var an = (
2803
2847
  i += s;
2804
2848
  continue;
2805
2849
  }
2806
- var a = this.tryParseUnquoted(t, r);
2807
- if (a) {
2808
- i += a;
2850
+ var o = this.tryParseUnquoted(t, r);
2851
+ if (o) {
2852
+ i += o;
2809
2853
  continue;
2810
2854
  }
2811
2855
  var u = this.tryParseLeftAngleBracket();
@@ -2817,12 +2861,12 @@ var an = (
2817
2861
  }
2818
2862
  var l = p(n, this.clonePosition());
2819
2863
  return {
2820
- val: { type: v.literal, value: i, location: l },
2864
+ val: { type: E.literal, value: i, location: l },
2821
2865
  err: null
2822
2866
  };
2823
2867
  }, e.prototype.tryParseLeftAngleBracket = function() {
2824
2868
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2825
- !on(this.peek() || 0)) ? (this.bump(), "<") : null;
2869
+ !ln(this.peek() || 0)) ? (this.bump(), "<") : null;
2826
2870
  }, e.prototype.tryParseQuote = function(t) {
2827
2871
  if (this.isEOF() || this.char() !== 39)
2828
2872
  return null;
@@ -2856,12 +2900,12 @@ var an = (
2856
2900
  r.push(n);
2857
2901
  this.bump();
2858
2902
  }
2859
- return Oe.apply(void 0, r);
2903
+ return Le.apply(void 0, r);
2860
2904
  }, e.prototype.tryParseUnquoted = function(t, r) {
2861
2905
  if (this.isEOF())
2862
2906
  return null;
2863
2907
  var n = this.char();
2864
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
2908
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Le(n));
2865
2909
  }, e.prototype.parseArgument = function(t, r) {
2866
2910
  var n = this.clonePosition();
2867
2911
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2877,7 +2921,7 @@ var an = (
2877
2921
  case 125:
2878
2922
  return this.bump(), {
2879
2923
  val: {
2880
- type: v.argument,
2924
+ type: E.argument,
2881
2925
  // value does not include the opening and closing braces.
2882
2926
  value: i,
2883
2927
  location: p(n, this.clonePosition())
@@ -2890,66 +2934,66 @@ var an = (
2890
2934
  return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2891
2935
  }
2892
2936
  }, e.prototype.parseIdentifierIfPossible = function() {
2893
- var t = this.clonePosition(), r = this.offset(), n = Ne(this.message, r), i = r + n.length;
2937
+ var t = this.clonePosition(), r = this.offset(), n = Ce(this.message, r), i = r + n.length;
2894
2938
  this.bumpTo(i);
2895
- var s = this.clonePosition(), a = p(t, s);
2896
- return { value: n, location: a };
2939
+ var s = this.clonePosition(), o = p(t, s);
2940
+ return { value: n, location: o };
2897
2941
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2898
- var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2942
+ var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2899
2943
  switch (u) {
2900
2944
  case "":
2901
- return this.error(d.EXPECT_ARGUMENT_TYPE, p(a, l));
2945
+ return this.error(d.EXPECT_ARGUMENT_TYPE, p(o, l));
2902
2946
  case "number":
2903
2947
  case "date":
2904
2948
  case "time": {
2905
2949
  this.bumpSpace();
2906
- var o = null;
2950
+ var a = null;
2907
2951
  if (this.bumpIf(",")) {
2908
2952
  this.bumpSpace();
2909
2953
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2910
2954
  if (m.err)
2911
2955
  return m;
2912
- var f = sn(m.val);
2956
+ var f = un(m.val);
2913
2957
  if (f.length === 0)
2914
2958
  return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2915
2959
  var b = p(h, this.clonePosition());
2916
- o = { style: f, styleLocation: b };
2960
+ a = { style: f, styleLocation: b };
2917
2961
  }
2918
2962
  var y = this.tryParseArgumentClose(i);
2919
2963
  if (y.err)
2920
2964
  return y;
2921
2965
  var _ = p(i, this.clonePosition());
2922
- if (o && Ye(o == null ? void 0 : o.style, "::", 0)) {
2923
- var T = nn(o.style.slice(2));
2966
+ if (a && et(a == null ? void 0 : a.style, "::", 0)) {
2967
+ var T = an(a.style.slice(2));
2924
2968
  if (u === "number") {
2925
- var m = this.parseNumberSkeletonFromString(T, o.styleLocation);
2969
+ var m = this.parseNumberSkeletonFromString(T, a.styleLocation);
2926
2970
  return m.err ? m : {
2927
- val: { type: v.number, value: n, location: _, style: m.val },
2971
+ val: { type: E.number, value: n, location: _, style: m.val },
2928
2972
  err: null
2929
2973
  };
2930
2974
  } else {
2931
2975
  if (T.length === 0)
2932
2976
  return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2933
- var w = T;
2934
- this.locale && (w = Vr(T, this.locale));
2977
+ var P = T;
2978
+ this.locale && (P = Wr(T, this.locale));
2935
2979
  var f = {
2936
- type: k.dateTime,
2937
- pattern: w,
2938
- location: o.styleLocation,
2939
- parsedOptions: this.shouldParseSkeletons ? $r(w) : {}
2940
- }, A = u === "date" ? v.date : v.time;
2980
+ type: V.dateTime,
2981
+ pattern: P,
2982
+ location: a.styleLocation,
2983
+ parsedOptions: this.shouldParseSkeletons ? Gr(P) : {}
2984
+ }, w = u === "date" ? E.date : E.time;
2941
2985
  return {
2942
- val: { type: A, value: n, location: _, style: f },
2986
+ val: { type: w, value: n, location: _, style: f },
2943
2987
  err: null
2944
2988
  };
2945
2989
  }
2946
2990
  }
2947
2991
  return {
2948
2992
  val: {
2949
- type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2993
+ type: u === "number" ? E.number : u === "date" ? E.date : E.time,
2950
2994
  value: n,
2951
2995
  location: _,
2952
- style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
2996
+ style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
2953
2997
  },
2954
2998
  err: null
2955
2999
  };
@@ -2957,21 +3001,21 @@ var an = (
2957
3001
  case "plural":
2958
3002
  case "selectordinal":
2959
3003
  case "select": {
2960
- var S = this.clonePosition();
3004
+ var B = this.clonePosition();
2961
3005
  if (this.bumpSpace(), !this.bumpIf(","))
2962
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, E({}, S)));
3006
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, le({}, B)));
2963
3007
  this.bumpSpace();
2964
- var P = this.parseIdentifierIfPossible(), x = 0;
2965
- if (u !== "select" && P.value === "offset") {
3008
+ var O = this.parseIdentifierIfPossible(), x = 0;
3009
+ if (u !== "select" && O.value === "offset") {
2966
3010
  if (!this.bumpIf(":"))
2967
3011
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2968
3012
  this.bumpSpace();
2969
3013
  var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2970
3014
  if (m.err)
2971
3015
  return m;
2972
- this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
3016
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), x = m.val;
2973
3017
  }
2974
- var I = this.tryParsePluralOrSelectOptions(t, u, r, P);
3018
+ var I = this.tryParsePluralOrSelectOptions(t, u, r, O);
2975
3019
  if (I.err)
2976
3020
  return I;
2977
3021
  var y = this.tryParseArgumentClose(i);
@@ -2980,17 +3024,17 @@ var an = (
2980
3024
  var c = p(i, this.clonePosition());
2981
3025
  return u === "select" ? {
2982
3026
  val: {
2983
- type: v.select,
3027
+ type: E.select,
2984
3028
  value: n,
2985
- options: Ke(I.val),
3029
+ options: tt(I.val),
2986
3030
  location: c
2987
3031
  },
2988
3032
  err: null
2989
3033
  } : {
2990
3034
  val: {
2991
- type: v.plural,
3035
+ type: E.plural,
2992
3036
  value: n,
2993
- options: Ke(I.val),
3037
+ options: tt(I.val),
2994
3038
  offset: x,
2995
3039
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2996
3040
  location: c
@@ -2999,7 +3043,7 @@ var an = (
2999
3043
  };
3000
3044
  }
3001
3045
  default:
3002
- return this.error(d.INVALID_ARGUMENT_TYPE, p(a, l));
3046
+ return this.error(d.INVALID_ARGUMENT_TYPE, p(o, l));
3003
3047
  }
3004
3048
  }, e.prototype.tryParseArgumentClose = function(t) {
3005
3049
  return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3041,34 +3085,34 @@ var an = (
3041
3085
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3042
3086
  var n = [];
3043
3087
  try {
3044
- n = Dr(t);
3088
+ n = jr(t);
3045
3089
  } catch (i) {
3046
3090
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3047
3091
  }
3048
3092
  return {
3049
3093
  val: {
3050
- type: k.number,
3094
+ type: V.number,
3051
3095
  tokens: n,
3052
3096
  location: r,
3053
- parsedOptions: this.shouldParseSkeletons ? kr(n) : {}
3097
+ parsedOptions: this.shouldParseSkeletons ? zr(n) : {}
3054
3098
  },
3055
3099
  err: null
3056
3100
  };
3057
3101
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3058
- for (var s, a = !1, u = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
3059
- if (o.length === 0) {
3102
+ for (var s, o = !1, u = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
3103
+ if (a.length === 0) {
3060
3104
  var m = this.clonePosition();
3061
3105
  if (r !== "select" && this.bumpIf("=")) {
3062
3106
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3063
3107
  if (f.err)
3064
3108
  return f;
3065
- h = p(m, this.clonePosition()), o = this.message.slice(m.offset, this.offset());
3109
+ h = p(m, this.clonePosition()), a = this.message.slice(m.offset, this.offset());
3066
3110
  } else
3067
3111
  break;
3068
3112
  }
3069
- if (l.has(o))
3113
+ if (l.has(a))
3070
3114
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3071
- o === "other" && (a = !0), this.bumpSpace();
3115
+ a === "other" && (o = !0), this.bumpSpace();
3072
3116
  var b = this.clonePosition();
3073
3117
  if (!this.bumpIf("{"))
3074
3118
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
@@ -3079,26 +3123,26 @@ var an = (
3079
3123
  if (_.err)
3080
3124
  return _;
3081
3125
  u.push([
3082
- o,
3126
+ a,
3083
3127
  {
3084
3128
  value: y.val,
3085
3129
  location: p(b, this.clonePosition())
3086
3130
  }
3087
- ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
3131
+ ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3088
3132
  }
3089
- 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 && !a ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3133
+ 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 };
3090
3134
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3091
3135
  var n = 1, i = this.clonePosition();
3092
3136
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3093
- for (var s = !1, a = 0; !this.isEOF(); ) {
3137
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3094
3138
  var u = this.char();
3095
3139
  if (u >= 48 && u <= 57)
3096
- s = !0, a = a * 10 + (u - 48), this.bump();
3140
+ s = !0, o = o * 10 + (u - 48), this.bump();
3097
3141
  else
3098
3142
  break;
3099
3143
  }
3100
3144
  var l = p(i, this.clonePosition());
3101
- return s ? (a *= n, tn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3145
+ return s ? (o *= n, sn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3102
3146
  }, e.prototype.offset = function() {
3103
3147
  return this.position.offset;
3104
3148
  }, e.prototype.isEOF = function() {
@@ -3113,7 +3157,7 @@ var an = (
3113
3157
  var t = this.position.offset;
3114
3158
  if (t >= this.message.length)
3115
3159
  throw Error("out of bound");
3116
- var r = Ot(this.message, t);
3160
+ var r = It(this.message, t);
3117
3161
  if (r === void 0)
3118
3162
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3119
3163
  return r;
@@ -3132,7 +3176,7 @@ var an = (
3132
3176
  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);
3133
3177
  }
3134
3178
  }, e.prototype.bumpIf = function(t) {
3135
- if (Ye(this.message, t, this.offset())) {
3179
+ if (et(this.message, t, this.offset())) {
3136
3180
  for (var r = 0; r < t.length; r++)
3137
3181
  this.bump();
3138
3182
  return !0;
@@ -3154,7 +3198,7 @@ var an = (
3154
3198
  break;
3155
3199
  }
3156
3200
  }, e.prototype.bumpSpace = function() {
3157
- for (; !this.isEOF() && It(this.char()); )
3201
+ for (; !this.isEOF() && Ct(this.char()); )
3158
3202
  this.bump();
3159
3203
  }, e.prototype.peek = function() {
3160
3204
  if (this.isEOF())
@@ -3164,47 +3208,47 @@ var an = (
3164
3208
  }, e;
3165
3209
  }()
3166
3210
  );
3167
- function Ie(e) {
3211
+ function Me(e) {
3168
3212
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3169
3213
  }
3170
- function on(e) {
3171
- return Ie(e) || e === 47;
3214
+ function ln(e) {
3215
+ return Me(e) || e === 47;
3172
3216
  }
3173
- function un(e) {
3217
+ function fn(e) {
3174
3218
  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;
3175
3219
  }
3176
- function It(e) {
3220
+ function Ct(e) {
3177
3221
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3178
3222
  }
3179
- function hn(e) {
3223
+ function cn(e) {
3180
3224
  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;
3181
3225
  }
3182
- function Le(e) {
3226
+ function Re(e) {
3183
3227
  e.forEach(function(t) {
3184
- if (delete t.location, xt(t) || Ht(t))
3228
+ if (delete t.location, Tt(t) || St(t))
3185
3229
  for (var r in t.options)
3186
- delete t.options[r].location, Le(t.options[r].value);
3230
+ delete t.options[r].location, Re(t.options[r].value);
3187
3231
  else
3188
- Et(t) && St(t.style) || (vt(t) || _t(t)) && we(t.style) ? delete t.style.location : Tt(t) && Le(t.children);
3232
+ _t(t) && At(t.style) || (xt(t) || Ht(t)) && Ne(t.style) ? delete t.style.location : Bt(t) && Re(t.children);
3189
3233
  });
3190
3234
  }
3191
- function ln(e, t) {
3192
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3193
- var r = new an(e, t).parse();
3235
+ function mn(e, t) {
3236
+ t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3237
+ var r = new hn(e, t).parse();
3194
3238
  if (r.err) {
3195
3239
  var n = SyntaxError(d[r.err.kind]);
3196
3240
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3197
3241
  }
3198
- return t != null && t.captureLocation || Le(r.val), r.val;
3242
+ return t != null && t.captureLocation || Re(r.val), r.val;
3199
3243
  }
3200
- var V;
3244
+ var X;
3201
3245
  (function(e) {
3202
3246
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3203
- })(V || (V = {}));
3204
- var me = (
3247
+ })(X || (X = {}));
3248
+ var be = (
3205
3249
  /** @class */
3206
3250
  function(e) {
3207
- fe(t, e);
3251
+ de(t, e);
3208
3252
  function t(r, n, i) {
3209
3253
  var s = e.call(this, r) || this;
3210
3254
  return s.code = n, s.originalMessage = i, s;
@@ -3213,155 +3257,155 @@ var me = (
3213
3257
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3214
3258
  }, t;
3215
3259
  }(Error)
3216
- ), tt = (
3260
+ ), nt = (
3217
3261
  /** @class */
3218
3262
  function(e) {
3219
- fe(t, e);
3263
+ de(t, e);
3220
3264
  function t(r, n, i, s) {
3221
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3265
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3222
3266
  }
3223
3267
  return t;
3224
- }(me)
3225
- ), fn = (
3268
+ }(be)
3269
+ ), gn = (
3226
3270
  /** @class */
3227
3271
  function(e) {
3228
- fe(t, e);
3272
+ de(t, e);
3229
3273
  function t(r, n, i) {
3230
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3274
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3231
3275
  }
3232
3276
  return t;
3233
- }(me)
3234
- ), cn = (
3277
+ }(be)
3278
+ ), dn = (
3235
3279
  /** @class */
3236
3280
  function(e) {
3237
- fe(t, e);
3281
+ de(t, e);
3238
3282
  function t(r, n) {
3239
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3283
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3240
3284
  }
3241
3285
  return t;
3242
- }(me)
3243
- ), B;
3286
+ }(be)
3287
+ ), A;
3244
3288
  (function(e) {
3245
3289
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3246
- })(B || (B = {}));
3247
- function mn(e) {
3290
+ })(A || (A = {}));
3291
+ function bn(e) {
3248
3292
  return e.length < 2 ? e : e.reduce(function(t, r) {
3249
3293
  var n = t[t.length - 1];
3250
- return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3294
+ return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3251
3295
  }, []);
3252
3296
  }
3253
- function gn(e) {
3297
+ function pn(e) {
3254
3298
  return typeof e == "function";
3255
3299
  }
3256
- function se(e, t, r, n, i, s, a) {
3257
- if (e.length === 1 && Ze(e[0]))
3300
+ function ue(e, t, r, n, i, s, o) {
3301
+ if (e.length === 1 && qe(e[0]))
3258
3302
  return [
3259
3303
  {
3260
- type: B.literal,
3304
+ type: A.literal,
3261
3305
  value: e[0].value
3262
3306
  }
3263
3307
  ];
3264
- for (var u = [], l = 0, o = e; l < o.length; l++) {
3265
- var h = o[l];
3266
- if (Ze(h)) {
3308
+ for (var u = [], l = 0, a = e; l < a.length; l++) {
3309
+ var h = a[l];
3310
+ if (qe(h)) {
3267
3311
  u.push({
3268
- type: B.literal,
3312
+ type: A.literal,
3269
3313
  value: h.value
3270
3314
  });
3271
3315
  continue;
3272
3316
  }
3273
- if (Mr(h)) {
3317
+ if (Ur(h)) {
3274
3318
  typeof s == "number" && u.push({
3275
- type: B.literal,
3319
+ type: A.literal,
3276
3320
  value: r.getNumberFormat(t).format(s)
3277
3321
  });
3278
3322
  continue;
3279
3323
  }
3280
3324
  var m = h.value;
3281
3325
  if (!(i && m in i))
3282
- throw new cn(m, a);
3326
+ throw new dn(m, o);
3283
3327
  var f = i[m];
3284
- if (Cr(h)) {
3328
+ if ($r(h)) {
3285
3329
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
3286
- type: typeof f == "string" ? B.literal : B.object,
3330
+ type: typeof f == "string" ? A.literal : A.object,
3287
3331
  value: f
3288
3332
  });
3289
3333
  continue;
3290
3334
  }
3291
- if (vt(h)) {
3292
- var b = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
3335
+ if (xt(h)) {
3336
+ var b = typeof h.style == "string" ? n.date[h.style] : Ne(h.style) ? h.style.parsedOptions : void 0;
3293
3337
  u.push({
3294
- type: B.literal,
3338
+ type: A.literal,
3295
3339
  value: r.getDateTimeFormat(t, b).format(f)
3296
3340
  });
3297
3341
  continue;
3298
3342
  }
3299
- if (_t(h)) {
3300
- var b = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
3343
+ if (Ht(h)) {
3344
+ var b = typeof h.style == "string" ? n.time[h.style] : Ne(h.style) ? h.style.parsedOptions : n.time.medium;
3301
3345
  u.push({
3302
- type: B.literal,
3346
+ type: A.literal,
3303
3347
  value: r.getDateTimeFormat(t, b).format(f)
3304
3348
  });
3305
3349
  continue;
3306
3350
  }
3307
- if (Et(h)) {
3308
- var b = typeof h.style == "string" ? n.number[h.style] : St(h.style) ? h.style.parsedOptions : void 0;
3351
+ if (_t(h)) {
3352
+ var b = typeof h.style == "string" ? n.number[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
3309
3353
  b && b.scale && (f = f * (b.scale || 1)), u.push({
3310
- type: B.literal,
3354
+ type: A.literal,
3311
3355
  value: r.getNumberFormat(t, b).format(f)
3312
3356
  });
3313
3357
  continue;
3314
3358
  }
3315
- if (Tt(h)) {
3359
+ if (Bt(h)) {
3316
3360
  var y = h.children, _ = h.value, T = i[_];
3317
- if (!gn(T))
3318
- throw new fn(_, "function", a);
3319
- var w = se(y, t, r, n, i, s), A = T(w.map(function(x) {
3361
+ if (!pn(T))
3362
+ throw new gn(_, "function", o);
3363
+ var P = ue(y, t, r, n, i, s), w = T(P.map(function(x) {
3320
3364
  return x.value;
3321
3365
  }));
3322
- Array.isArray(A) || (A = [A]), u.push.apply(u, A.map(function(x) {
3366
+ Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(x) {
3323
3367
  return {
3324
- type: typeof x == "string" ? B.literal : B.object,
3368
+ type: typeof x == "string" ? A.literal : A.object,
3325
3369
  value: x
3326
3370
  };
3327
3371
  }));
3328
3372
  }
3329
- if (xt(h)) {
3330
- var S = h.options[f] || h.options.other;
3331
- if (!S)
3332
- throw new tt(h.value, f, Object.keys(h.options), a);
3333
- u.push.apply(u, se(S.value, t, r, n, i));
3373
+ if (Tt(h)) {
3374
+ var B = h.options[f] || h.options.other;
3375
+ if (!B)
3376
+ throw new nt(h.value, f, Object.keys(h.options), o);
3377
+ u.push.apply(u, ue(B.value, t, r, n, i));
3334
3378
  continue;
3335
3379
  }
3336
- if (Ht(h)) {
3337
- var S = h.options["=".concat(f)];
3338
- if (!S) {
3380
+ if (St(h)) {
3381
+ var B = h.options["=".concat(f)];
3382
+ if (!B) {
3339
3383
  if (!Intl.PluralRules)
3340
- throw new me(`Intl.PluralRules is not available in this environment.
3384
+ throw new be(`Intl.PluralRules is not available in this environment.
3341
3385
  Try polyfilling it using "@formatjs/intl-pluralrules"
3342
- `, V.MISSING_INTL_API, a);
3343
- var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3344
- S = h.options[P] || h.options.other;
3386
+ `, X.MISSING_INTL_API, o);
3387
+ var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3388
+ B = h.options[O] || h.options.other;
3345
3389
  }
3346
- if (!S)
3347
- throw new tt(h.value, f, Object.keys(h.options), a);
3348
- u.push.apply(u, se(S.value, t, r, n, i, f - (h.offset || 0)));
3390
+ if (!B)
3391
+ throw new nt(h.value, f, Object.keys(h.options), o);
3392
+ u.push.apply(u, ue(B.value, t, r, n, i, f - (h.offset || 0)));
3349
3393
  continue;
3350
3394
  }
3351
3395
  }
3352
- return mn(u);
3396
+ return bn(u);
3353
3397
  }
3354
- function dn(e, t) {
3355
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3356
- return r[n] = E(E({}, e[n]), t[n] || {}), r;
3398
+ function yn(e, t) {
3399
+ return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3400
+ return r[n] = M(M({}, e[n]), t[n] || {}), r;
3357
3401
  }, {})) : e;
3358
3402
  }
3359
- function bn(e, t) {
3403
+ function En(e, t) {
3360
3404
  return t ? Object.keys(e).reduce(function(r, n) {
3361
- return r[n] = dn(e[n], t[n]), r;
3362
- }, E({}, e)) : e;
3405
+ return r[n] = yn(e[n], t[n]), r;
3406
+ }, M({}, e)) : e;
3363
3407
  }
3364
- function xe(e) {
3408
+ function Se(e) {
3365
3409
  return {
3366
3410
  create: function() {
3367
3411
  return {
@@ -3375,39 +3419,39 @@ function xe(e) {
3375
3419
  }
3376
3420
  };
3377
3421
  }
3378
- function pn(e) {
3422
+ function vn(e) {
3379
3423
  return e === void 0 && (e = {
3380
3424
  number: {},
3381
3425
  dateTime: {},
3382
3426
  pluralRules: {}
3383
3427
  }), {
3384
- getNumberFormat: Ee(function() {
3428
+ getNumberFormat: xe(function() {
3385
3429
  for (var t, r = [], n = 0; n < arguments.length; n++)
3386
3430
  r[n] = arguments[n];
3387
- return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
3431
+ return new ((t = Intl.NumberFormat).bind.apply(t, _e([void 0], r, !1)))();
3388
3432
  }, {
3389
- cache: xe(e.number),
3390
- strategy: ve.variadic
3433
+ cache: Se(e.number),
3434
+ strategy: He.variadic
3391
3435
  }),
3392
- getDateTimeFormat: Ee(function() {
3436
+ getDateTimeFormat: xe(function() {
3393
3437
  for (var t, r = [], n = 0; n < arguments.length; n++)
3394
3438
  r[n] = arguments[n];
3395
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
3439
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, _e([void 0], r, !1)))();
3396
3440
  }, {
3397
- cache: xe(e.dateTime),
3398
- strategy: ve.variadic
3441
+ cache: Se(e.dateTime),
3442
+ strategy: He.variadic
3399
3443
  }),
3400
- getPluralRules: Ee(function() {
3444
+ getPluralRules: xe(function() {
3401
3445
  for (var t, r = [], n = 0; n < arguments.length; n++)
3402
3446
  r[n] = arguments[n];
3403
- return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
3447
+ return new ((t = Intl.PluralRules).bind.apply(t, _e([void 0], r, !1)))();
3404
3448
  }, {
3405
- cache: xe(e.pluralRules),
3406
- strategy: ve.variadic
3449
+ cache: Se(e.pluralRules),
3450
+ strategy: He.variadic
3407
3451
  })
3408
3452
  };
3409
3453
  }
3410
- var yn = (
3454
+ var _n = (
3411
3455
  /** @class */
3412
3456
  function() {
3413
3457
  function e(t, r, n, i) {
@@ -3418,15 +3462,15 @@ var yn = (
3418
3462
  dateTime: {},
3419
3463
  pluralRules: {}
3420
3464
  }, this.format = function(l) {
3421
- var o = s.formatToParts(l);
3422
- if (o.length === 1)
3423
- return o[0].value;
3424
- var h = o.reduce(function(m, f) {
3425
- return !m.length || f.type !== B.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3465
+ var a = s.formatToParts(l);
3466
+ if (a.length === 1)
3467
+ return a[0].value;
3468
+ var h = a.reduce(function(m, f) {
3469
+ return !m.length || f.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
3426
3470
  }, []);
3427
3471
  return h.length <= 1 ? h[0] || "" : h;
3428
3472
  }, this.formatToParts = function(l) {
3429
- return se(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3473
+ return ue(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3430
3474
  }, this.resolvedOptions = function() {
3431
3475
  var l;
3432
3476
  return {
@@ -3437,15 +3481,15 @@ var yn = (
3437
3481
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3438
3482
  if (this.message = t, !e.__parse)
3439
3483
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3440
- var a = i || {};
3441
- a.formatters;
3442
- var u = hr(a, ["formatters"]);
3443
- this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
3484
+ var o = i || {};
3485
+ o.formatters;
3486
+ var u = Pr(o, ["formatters"]);
3487
+ this.ast = e.__parse(t, M(M({}, u), { locale: this.resolvedLocale }));
3444
3488
  } else
3445
3489
  this.ast = t;
3446
3490
  if (!Array.isArray(this.ast))
3447
3491
  throw new TypeError("A message must be provided as a String or AST.");
3448
- this.formats = bn(e.formats, n), this.formatters = i && i.formatters || pn(this.formatterCache);
3492
+ this.formats = En(e.formats, n), this.formatters = i && i.formatters || vn(this.formatterCache);
3449
3493
  }
3450
3494
  return Object.defineProperty(e, "defaultLocale", {
3451
3495
  get: function() {
@@ -3458,7 +3502,7 @@ var yn = (
3458
3502
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3459
3503
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3460
3504
  }
3461
- }, e.__parse = ln, e.formats = {
3505
+ }, e.__parse = mn, e.formats = {
3462
3506
  number: {
3463
3507
  integer: {
3464
3508
  maximumFractionDigits: 0
@@ -3519,7 +3563,7 @@ var yn = (
3519
3563
  }, e;
3520
3564
  }()
3521
3565
  );
3522
- function En(e, t) {
3566
+ function xn(e, t) {
3523
3567
  if (t == null)
3524
3568
  return;
3525
3569
  if (t in e)
@@ -3540,92 +3584,92 @@ function En(e, t) {
3540
3584
  n = void 0;
3541
3585
  return n;
3542
3586
  }
3543
- const M = {}, vn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Lt = (e, t) => {
3587
+ const R = {}, Hn = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), Mt = (e, t) => {
3544
3588
  if (t == null)
3545
3589
  return;
3546
- if (t in M && e in M[t])
3547
- return M[t][e];
3548
- const r = ge(t);
3590
+ if (t in R && e in R[t])
3591
+ return R[t][e];
3592
+ const r = pe(t);
3549
3593
  for (let n = 0; n < r.length; n++) {
3550
- const i = r[n], s = xn(i, e);
3594
+ const i = r[n], s = Sn(i, e);
3551
3595
  if (s)
3552
- return vn(e, t, s);
3596
+ return Hn(e, t, s);
3553
3597
  }
3554
3598
  };
3555
- let De;
3556
- const Z = ce({});
3557
- function _n(e) {
3558
- return De[e] || null;
3599
+ let Fe;
3600
+ const Q = ge({});
3601
+ function Tn(e) {
3602
+ return Fe[e] || null;
3559
3603
  }
3560
- function Ct(e) {
3561
- return e in De;
3604
+ function Rt(e) {
3605
+ return e in Fe;
3562
3606
  }
3563
- function xn(e, t) {
3564
- if (!Ct(e))
3607
+ function Sn(e, t) {
3608
+ if (!Rt(e))
3565
3609
  return null;
3566
- const r = _n(e);
3567
- return En(r, t);
3610
+ const r = Tn(e);
3611
+ return xn(r, t);
3568
3612
  }
3569
- function Hn(e) {
3613
+ function Bn(e) {
3570
3614
  if (e == null)
3571
3615
  return;
3572
- const t = ge(e);
3616
+ const t = pe(e);
3573
3617
  for (let r = 0; r < t.length; r++) {
3574
3618
  const n = t[r];
3575
- if (Ct(n))
3619
+ if (Rt(n))
3576
3620
  return n;
3577
3621
  }
3578
3622
  }
3579
- function Tn(e, ...t) {
3580
- delete M[e], Z.update((r) => (r[e] = Br.all([r[e] || {}, ...t]), r));
3623
+ function An(e, ...t) {
3624
+ delete R[e], Q.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
3581
3625
  }
3582
- W(
3583
- [Z],
3626
+ Z(
3627
+ [Q],
3584
3628
  ([e]) => Object.keys(e)
3585
3629
  );
3586
- Z.subscribe((e) => De = e);
3587
- const ae = {};
3588
- function Sn(e, t) {
3589
- ae[e].delete(t), ae[e].size === 0 && delete ae[e];
3630
+ Q.subscribe((e) => Fe = e);
3631
+ const he = {};
3632
+ function wn(e, t) {
3633
+ he[e].delete(t), he[e].size === 0 && delete he[e];
3590
3634
  }
3591
- function Mt(e) {
3592
- return ae[e];
3635
+ function $t(e) {
3636
+ return he[e];
3593
3637
  }
3594
- function Bn(e) {
3595
- return ge(e).map((t) => {
3596
- const r = Mt(t);
3638
+ function Pn(e) {
3639
+ return pe(e).map((t) => {
3640
+ const r = $t(t);
3597
3641
  return [t, r ? [...r] : []];
3598
3642
  }).filter(([, t]) => t.length > 0);
3599
3643
  }
3600
- function Ce(e) {
3601
- return e == null ? !1 : ge(e).some(
3644
+ function $e(e) {
3645
+ return e == null ? !1 : pe(e).some(
3602
3646
  (t) => {
3603
3647
  var r;
3604
- return (r = Mt(t)) == null ? void 0 : r.size;
3648
+ return (r = $t(t)) == null ? void 0 : r.size;
3605
3649
  }
3606
3650
  );
3607
3651
  }
3608
- function An(e, t) {
3652
+ function On(e, t) {
3609
3653
  return Promise.all(
3610
- t.map((n) => (Sn(e, n), n().then((i) => i.default || i)))
3611
- ).then((n) => Tn(e, ...n));
3612
- }
3613
- const q = {};
3614
- function Rt(e) {
3615
- if (!Ce(e))
3616
- return e in q ? q[e] : Promise.resolve();
3617
- const t = Bn(e);
3618
- return q[e] = Promise.all(
3654
+ t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
3655
+ ).then((n) => An(e, ...n));
3656
+ }
3657
+ const J = {};
3658
+ function Ut(e) {
3659
+ if (!$e(e))
3660
+ return e in J ? J[e] : Promise.resolve();
3661
+ const t = Pn(e);
3662
+ return J[e] = Promise.all(
3619
3663
  t.map(
3620
- ([r, n]) => An(r, n)
3664
+ ([r, n]) => On(r, n)
3621
3665
  )
3622
3666
  ).then(() => {
3623
- if (Ce(e))
3624
- return Rt(e);
3625
- delete q[e];
3626
- }), q[e];
3667
+ if ($e(e))
3668
+ return Ut(e);
3669
+ delete J[e];
3670
+ }), J[e];
3627
3671
  }
3628
- const wn = {
3672
+ const Nn = {
3629
3673
  number: {
3630
3674
  scientific: { notation: "scientific" },
3631
3675
  engineering: { notation: "engineering" },
@@ -3654,150 +3698,150 @@ const wn = {
3654
3698
  timeZoneName: "short"
3655
3699
  }
3656
3700
  }
3657
- }, Pn = {
3701
+ }, In = {
3658
3702
  fallbackLocale: null,
3659
3703
  loadingDelay: 200,
3660
- formats: wn,
3704
+ formats: Nn,
3661
3705
  warnOnMissingMessages: !0,
3662
3706
  handleMissingMessage: void 0,
3663
3707
  ignoreTag: !0
3664
- }, On = Pn;
3665
- function X() {
3666
- return On;
3708
+ }, Ln = In;
3709
+ function z() {
3710
+ return Ln;
3667
3711
  }
3668
- const He = ce(!1);
3669
- var Nn = Object.defineProperty, In = Object.defineProperties, Ln = Object.getOwnPropertyDescriptors, rt = Object.getOwnPropertySymbols, Cn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rn = (e, t) => {
3712
+ const Be = ge(!1);
3713
+ 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) => {
3670
3714
  for (var r in t || (t = {}))
3671
- Cn.call(t, r) && nt(e, r, t[r]);
3672
- if (rt)
3673
- for (var r of rt(t))
3674
- Mn.call(t, r) && nt(e, r, t[r]);
3715
+ $n.call(t, r) && st(e, r, t[r]);
3716
+ if (it)
3717
+ for (var r of it(t))
3718
+ Un.call(t, r) && st(e, r, t[r]);
3675
3719
  return e;
3676
- }, $n = (e, t) => In(e, Ln(t));
3677
- let Me;
3678
- const oe = ce(null);
3679
- function it(e) {
3720
+ }, Gn = (e, t) => Mn(e, Rn(t));
3721
+ let Ue;
3722
+ const fe = ge(null);
3723
+ function ot(e) {
3680
3724
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3681
3725
  }
3682
- function ge(e, t = X().fallbackLocale) {
3683
- const r = it(e);
3684
- return t ? [.../* @__PURE__ */ new Set([...r, ...it(t)])] : r;
3726
+ function pe(e, t = z().fallbackLocale) {
3727
+ const r = ot(e);
3728
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ot(t)])] : r;
3685
3729
  }
3686
- function $() {
3687
- return Me != null ? Me : void 0;
3730
+ function U() {
3731
+ return Ue != null ? Ue : void 0;
3688
3732
  }
3689
- oe.subscribe((e) => {
3690
- Me = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3733
+ fe.subscribe((e) => {
3734
+ Ue = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3691
3735
  });
3692
- const Un = (e) => {
3693
- if (e && Hn(e) && Ce(e)) {
3694
- const { loadingDelay: t } = X();
3736
+ const Fn = (e) => {
3737
+ if (e && Bn(e) && $e(e)) {
3738
+ const { loadingDelay: t } = z();
3695
3739
  let r;
3696
- return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
3697
- () => He.set(!0),
3740
+ return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
3741
+ () => Be.set(!0),
3698
3742
  t
3699
- ) : He.set(!0), Rt(e).then(() => {
3700
- oe.set(e);
3743
+ ) : Be.set(!0), Ut(e).then(() => {
3744
+ fe.set(e);
3701
3745
  }).finally(() => {
3702
- clearTimeout(r), He.set(!1);
3746
+ clearTimeout(r), Be.set(!1);
3703
3747
  });
3704
3748
  }
3705
- return oe.set(e);
3706
- }, R = $n(Rn({}, oe), {
3707
- set: Un
3708
- }), de = (e) => {
3749
+ return fe.set(e);
3750
+ }, $ = Gn(Dn({}, fe), {
3751
+ set: Fn
3752
+ }), ye = (e) => {
3709
3753
  const t = /* @__PURE__ */ Object.create(null);
3710
3754
  return (n) => {
3711
3755
  const i = JSON.stringify(n);
3712
3756
  return i in t ? t[i] : t[i] = e(n);
3713
3757
  };
3714
3758
  };
3715
- var Dn = Object.defineProperty, ue = Object.getOwnPropertySymbols, $t = Object.prototype.hasOwnProperty, Ut = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3759
+ 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) => {
3716
3760
  for (var r in t || (t = {}))
3717
- $t.call(t, r) && st(e, r, t[r]);
3718
- if (ue)
3719
- for (var r of ue(t))
3720
- Ut.call(t, r) && st(e, r, t[r]);
3761
+ Dt.call(t, r) && at(e, r, t[r]);
3762
+ if (ce)
3763
+ for (var r of ce(t))
3764
+ Gt.call(t, r) && at(e, r, t[r]);
3721
3765
  return e;
3722
- }, Q = (e, t) => {
3766
+ }, q = (e, t) => {
3723
3767
  var r = {};
3724
3768
  for (var n in e)
3725
- $t.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3726
- if (e != null && ue)
3727
- for (var n of ue(e))
3728
- t.indexOf(n) < 0 && Ut.call(e, n) && (r[n] = e[n]);
3769
+ Dt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3770
+ if (e != null && ce)
3771
+ for (var n of ce(e))
3772
+ t.indexOf(n) < 0 && Gt.call(e, n) && (r[n] = e[n]);
3729
3773
  return r;
3730
3774
  };
3731
- const ee = (e, t) => {
3732
- const { formats: r } = X();
3775
+ const te = (e, t) => {
3776
+ const { formats: r } = z();
3733
3777
  if (e in r && t in r[e])
3734
3778
  return r[e][t];
3735
3779
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3736
- }, Gn = de(
3780
+ }, kn = ye(
3737
3781
  (e) => {
3738
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3782
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3739
3783
  if (r == null)
3740
3784
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3741
- return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3785
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3742
3786
  }
3743
- ), Fn = de(
3787
+ ), Vn = ye(
3744
3788
  (e) => {
3745
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3789
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3746
3790
  if (r == null)
3747
3791
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3748
- return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3792
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3749
3793
  }
3750
- ), jn = de(
3794
+ ), Xn = ye(
3751
3795
  (e) => {
3752
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3796
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3753
3797
  if (r == null)
3754
3798
  throw new Error(
3755
3799
  '[svelte-i18n] A "locale" must be set to format time values'
3756
3800
  );
3757
- return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3801
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3758
3802
  }
3759
- ), kn = (e = {}) => {
3803
+ ), zn = (e = {}) => {
3760
3804
  var t = e, {
3761
- locale: r = $()
3762
- } = t, n = Q(t, [
3805
+ locale: r = U()
3806
+ } = t, n = q(t, [
3763
3807
  "locale"
3764
3808
  ]);
3765
- return Gn(Ge({ locale: r }, n));
3766
- }, Vn = (e = {}) => {
3809
+ return kn(je({ locale: r }, n));
3810
+ }, Wn = (e = {}) => {
3767
3811
  var t = e, {
3768
- locale: r = $()
3769
- } = t, n = Q(t, [
3812
+ locale: r = U()
3813
+ } = t, n = q(t, [
3770
3814
  "locale"
3771
3815
  ]);
3772
- return Fn(Ge({ locale: r }, n));
3773
- }, Xn = (e = {}) => {
3816
+ return Vn(je({ locale: r }, n));
3817
+ }, Zn = (e = {}) => {
3774
3818
  var t = e, {
3775
- locale: r = $()
3776
- } = t, n = Q(t, [
3819
+ locale: r = U()
3820
+ } = t, n = q(t, [
3777
3821
  "locale"
3778
3822
  ]);
3779
- return jn(Ge({ locale: r }, n));
3780
- }, zn = de(
3823
+ return Xn(je({ locale: r }, n));
3824
+ }, Qn = ye(
3781
3825
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3782
- (e, t = $()) => new yn(e, t, X().formats, {
3783
- ignoreTag: X().ignoreTag
3826
+ (e, t = U()) => new _n(e, t, z().formats, {
3827
+ ignoreTag: z().ignoreTag
3784
3828
  })
3785
- ), Wn = (e, t = {}) => {
3829
+ ), qn = (e, t = {}) => {
3786
3830
  var r, n, i, s;
3787
- let a = t;
3788
- typeof e == "object" && (a = e, e = a.id);
3831
+ let o = t;
3832
+ typeof e == "object" && (o = e, e = o.id);
3789
3833
  const {
3790
3834
  values: u,
3791
- locale: l = $(),
3792
- default: o
3793
- } = a;
3835
+ locale: l = U(),
3836
+ default: a
3837
+ } = o;
3794
3838
  if (l == null)
3795
3839
  throw new Error(
3796
3840
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3797
3841
  );
3798
- let h = Lt(e, l);
3842
+ let h = Mt(e, l);
3799
3843
  if (!h)
3800
- h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3844
+ 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;
3801
3845
  else if (typeof h != "string")
3802
3846
  return console.warn(
3803
3847
  `[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.`
@@ -3806,7 +3850,7 @@ const ee = (e, t) => {
3806
3850
  return h;
3807
3851
  let m = h;
3808
3852
  try {
3809
- m = zn(h, l).format(u);
3853
+ m = Qn(h, l).format(u);
3810
3854
  } catch (f) {
3811
3855
  f instanceof Error && console.warn(
3812
3856
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3814,18 +3858,18 @@ const ee = (e, t) => {
3814
3858
  );
3815
3859
  }
3816
3860
  return m;
3817
- }, Zn = (e, t) => Xn(t).format(e), Qn = (e, t) => Vn(t).format(e), qn = (e, t) => kn(t).format(e), Jn = (e, t = $()) => Lt(e, t), Hi = W([R, Z], () => Wn);
3818
- W([R], () => Zn);
3819
- W([R], () => Qn);
3820
- W([R], () => qn);
3821
- W([R, Z], () => Jn);
3822
- function Yn(e, t) {
3861
+ }, 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), Ti = Z([$, Q], () => qn);
3862
+ Z([$], () => Jn);
3863
+ Z([$], () => Yn);
3864
+ Z([$], () => Kn);
3865
+ Z([$, Q], () => ei);
3866
+ function ti(e, t) {
3823
3867
  if (e) {
3824
3868
  const r = document.createElement("style");
3825
3869
  r.innerHTML = t, e.appendChild(r);
3826
3870
  }
3827
3871
  }
3828
- function Kn(e, t) {
3872
+ function ri(e, t) {
3829
3873
  const r = new URL(t);
3830
3874
  fetch(r.href).then((n) => n.text()).then((n) => {
3831
3875
  const i = document.createElement("style");
@@ -3834,7 +3878,7 @@ function Kn(e, t) {
3834
3878
  console.error("There was an error while trying to load client styling from URL", n);
3835
3879
  });
3836
3880
  }
3837
- function ei(e, t, r) {
3881
+ function ni(e, t, r) {
3838
3882
  if (window.emMessageBus) {
3839
3883
  const n = document.createElement("style");
3840
3884
  window.emMessageBus.subscribe(t, (i) => {
@@ -3842,9 +3886,9 @@ function ei(e, t, r) {
3842
3886
  });
3843
3887
  }
3844
3888
  }
3845
- function ti({ withLocale: e, translations: t }) {
3846
- R.subscribe((r) => {
3847
- r == null && (Z.set(t), R.set(e));
3889
+ function ii({ withLocale: e, translations: t }) {
3890
+ $.subscribe((r) => {
3891
+ r == null && (Q.set(t), $.set(e));
3848
3892
  });
3849
3893
  }
3850
3894
  if (typeof window != "undefined") {
@@ -3859,18 +3903,18 @@ if (typeof window != "undefined") {
3859
3903
  }
3860
3904
  };
3861
3905
  };
3862
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-WLzU_Kux.js").then(({ default: t }) => {
3906
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-DPVl2aL_.js").then(({ default: t }) => {
3863
3907
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
3864
3908
  });
3865
3909
  }
3866
- function ri(e) {
3867
- Wt(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))}");
3910
+ function si(e) {
3911
+ 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))}");
3868
3912
  }
3869
- function at(e) {
3913
+ function ut(e) {
3870
3914
  let t;
3871
3915
  return {
3872
3916
  c() {
3873
- t = le("casino-games-category-section"), g(
3917
+ t = ne("casino-games-category-section"), g(
3874
3918
  t,
3875
3919
  "session",
3876
3920
  /*session*/
@@ -3963,7 +4007,7 @@ function at(e) {
3963
4007
  );
3964
4008
  },
3965
4009
  m(r, n) {
3966
- $e(r, t, n);
4010
+ me(r, t, n);
3967
4011
  },
3968
4012
  p(r, n) {
3969
4013
  n & /*session*/
@@ -4077,57 +4121,57 @@ function at(e) {
4077
4121
  );
4078
4122
  },
4079
4123
  d(r) {
4080
- r && he(t);
4124
+ r && re(t);
4081
4125
  }
4082
4126
  };
4083
4127
  }
4084
- function ni(e) {
4128
+ function oi(e) {
4085
4129
  let t, r = (
4086
4130
  /*session*/
4087
- e[4] && at(e)
4131
+ e[4] && ut(e)
4088
4132
  );
4089
4133
  return {
4090
4134
  c() {
4091
- t = le("div"), r && r.c(), Ue(t, "class", "CasinoFavoritesSectionContainer");
4135
+ t = ne("div"), r && r.c(), Ge(t, "class", "CasinoFavoritesSectionContainer");
4092
4136
  },
4093
4137
  m(n, i) {
4094
- $e(n, t, i), r && r.m(t, null), e[19](t);
4138
+ me(n, t, i), r && r.m(t, null), e[19](t);
4095
4139
  },
4096
4140
  p(n, [i]) {
4097
4141
  /*session*/
4098
- n[4] ? r ? r.p(n, i) : (r = at(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4142
+ n[4] ? r ? r.p(n, i) : (r = ut(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4099
4143
  },
4100
4144
  i: N,
4101
4145
  o: N,
4102
4146
  d(n) {
4103
- n && he(t), r && r.d(), e[19](null);
4147
+ n && re(t), r && r.d(), e[19](null);
4104
4148
  }
4105
4149
  };
4106
4150
  }
4107
- function ii(e, t, r) {
4108
- let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
4109
- ti({ withLocale: "en", translations: {} }), Yt(() => () => {
4151
+ function ai(e, t, r) {
4152
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: o = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: P = "" } = t, { casinomygames: w = "false" } = t, { fetchviaevent: B = "true" } = t, { mbsource: O } = t, x;
4153
+ ii({ withLocale: "en", translations: {} }), tr(() => () => {
4110
4154
  });
4111
4155
  function I(c) {
4112
- Te[c ? "unshift" : "push"](() => {
4156
+ Ae[c ? "unshift" : "push"](() => {
4113
4157
  x = c, r(18, x);
4114
4158
  });
4115
4159
  }
4116
4160
  return e.$$set = (c) => {
4117
- "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, a = c.lang), "session" in c && r(4, u = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, o = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
4161
+ "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), "clientstyling" in c && r(6, a = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, P = c.favorites), "casinomygames" in c && r(15, w = c.casinomygames), "fetchviaevent" in c && r(16, B = c.fetchviaevent), "mbsource" in c && r(17, O = c.mbsource);
4118
4162
  }, e.$$.update = () => {
4119
4163
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4120
- 262208 && o && x && Yn(x, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4121
- 262272 && h && x && Kn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
4122
- 393216 && x && ei(x, `${P}.Style`);
4164
+ 262208 && a && x && ti(x, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4165
+ 262272 && h && x && ri(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
4166
+ 393216 && x && ni(x, `${O}.Style`);
4123
4167
  }, [
4124
4168
  n,
4125
4169
  i,
4126
4170
  s,
4127
- a,
4171
+ o,
4128
4172
  u,
4129
4173
  l,
4130
- o,
4174
+ a,
4131
4175
  h,
4132
4176
  m,
4133
4177
  f,
@@ -4135,22 +4179,22 @@ function ii(e, t, r) {
4135
4179
  y,
4136
4180
  _,
4137
4181
  T,
4138
- w,
4139
- A,
4140
- S,
4141
4182
  P,
4183
+ w,
4184
+ B,
4185
+ O,
4142
4186
  x,
4143
4187
  I
4144
4188
  ];
4145
4189
  }
4146
- class Dt extends or {
4190
+ class Ft extends lr {
4147
4191
  constructor(t) {
4148
- super(), sr(
4192
+ super(), ur(
4149
4193
  this,
4150
4194
  t,
4151
- ii,
4152
- ni,
4153
- ut,
4195
+ ai,
4196
+ oi,
4197
+ lt,
4154
4198
  {
4155
4199
  endpoint: 0,
4156
4200
  datasource: 1,
@@ -4171,7 +4215,7 @@ class Dt extends or {
4171
4215
  fetchviaevent: 16,
4172
4216
  mbsource: 17
4173
4217
  },
4174
- ri
4218
+ si
4175
4219
  );
4176
4220
  }
4177
4221
  get endpoint() {
@@ -4283,54 +4327,51 @@ class Dt extends or {
4283
4327
  this.$$set({ mbsource: t }), H();
4284
4328
  }
4285
4329
  }
4286
- ar(Dt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
4287
- const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4330
+ hr(Ft, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
4331
+ const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4288
4332
  __proto__: null,
4289
- default: Dt
4333
+ default: Ft
4290
4334
  }, Symbol.toStringTag, { value: "Module" }));
4291
4335
  export {
4292
- R as $,
4293
- gi as A,
4294
- ai as B,
4295
- g as C,
4296
- Yn as D,
4297
- Kn as E,
4298
- ei as F,
4299
- ar as G,
4300
- Hi as H,
4301
- di as I,
4302
- pi as J,
4303
- bi as K,
4304
- fi as L,
4305
- vi as M,
4306
- Ei as N,
4307
- Ti as O,
4308
- or as S,
4309
- _i as _,
4310
- ye as a,
4311
- xi as b,
4312
- fe as c,
4313
- Z as d,
4314
- Tn as e,
4336
+ $,
4337
+ ri as A,
4338
+ ni as B,
4339
+ hr as C,
4340
+ Ti as D,
4341
+ g as E,
4342
+ pi as F,
4343
+ mi as G,
4344
+ yi as H,
4345
+ vi as I,
4346
+ Ei as J,
4347
+ Hi as K,
4348
+ xi as L,
4349
+ Si as M,
4350
+ lr as S,
4351
+ Q as a,
4352
+ An as b,
4353
+ Qt as c,
4354
+ re as d,
4355
+ me as e,
4315
4356
  H as f,
4316
- Wt as g,
4317
- he as h,
4318
- sr as i,
4319
- $e as j,
4320
- le as k,
4321
- oi as l,
4322
- Te as m,
4357
+ ne as g,
4358
+ li as h,
4359
+ ur as i,
4360
+ Ae as j,
4361
+ di as k,
4362
+ Zt as l,
4363
+ Ge as m,
4323
4364
  N as n,
4324
- Yt as o,
4325
- mi as p,
4326
- zt as q,
4327
- Ue as r,
4328
- ut as s,
4329
- lt as t,
4330
- yi as u,
4331
- ui as v,
4332
- z as w,
4333
- ci as x,
4365
+ tr as o,
4366
+ _i as p,
4367
+ fi as q,
4368
+ W as r,
4369
+ lt as s,
4370
+ ct as t,
4371
+ gi as u,
4372
+ Yt as v,
4373
+ ci as w,
4374
+ bi as x,
4334
4375
  hi as y,
4335
- li as z
4376
+ ti as z
4336
4377
  };