@everymatrix/casino-my-games 1.77.18 → 1.77.20

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