@everymatrix/casino-favorites-section 1.59.0 → 1.59.2

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 (33) hide show
  1. package/components/{CasinoFavoritesSection-gQIOLBR9.js → CasinoFavoritesSection-Ciz30hqm.js} +480 -474
  2. package/components/CasinoFavoritesSection-D8aPFcjw.cjs +16 -0
  3. package/components/{CasinoFavoritesSection-DwpTIgCU.js → CasinoFavoritesSection-DoexdDPf.js} +491 -485
  4. package/components/CasinoFilter-Cpzlf2HZ.cjs +3 -0
  5. package/components/{CasinoFilter-E8WylmA9.js → CasinoFilter-DUtpkDVf.js} +380 -359
  6. package/components/{CasinoFilter-Dm-CGYIP.js → CasinoFilter-o2XFMcq_.js} +376 -357
  7. package/components/{CasinoGameThumbnail-FjeuUZSE.js → CasinoGameThumbnail-BNO7B2dU.js} +1552 -1536
  8. package/components/CasinoGameThumbnail-BrmzqKkM.cjs +47 -0
  9. package/components/{CasinoGameThumbnail-CJEssQfP.js → CasinoGameThumbnail-CRAURc_8.js} +1496 -1480
  10. package/components/{CasinoGamesCategorySection-Z8K9vsX7.js → CasinoGamesCategorySection-C169Up12.js} +425 -420
  11. package/components/{CasinoGamesCategorySection-CqKDTQ5r.js → CasinoGamesCategorySection-CErsB55i.js} +458 -453
  12. package/components/{CasinoGamesCategorySection-CJBbXQEd.cjs → CasinoGamesCategorySection-DrSmHjNq.cjs} +1 -1
  13. package/components/{CasinoSort-qUIoL1nv.js → CasinoSort-C9Ffwily.js} +99 -100
  14. package/components/{CasinoSort-DnoxvYBG.cjs → CasinoSort-CcAUUbVN.cjs} +1 -1
  15. package/components/{CasinoSort-DI4hcv26.js → CasinoSort-DcfKKfpD.js} +109 -108
  16. package/es2015/casino-favorites-section.cjs +1 -1
  17. package/es2015/casino-favorites-section.js +1 -1
  18. package/esnext/casino-favorites-section.js +1 -1
  19. package/package.json +3 -2
  20. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  21. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  22. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  23. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  24. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  25. package/stencil/ui-skeleton-C1buDKbo.cjs +1 -0
  26. package/stencil/ui-skeleton-C5gPr5Xv.js +11 -0
  27. package/stencil/ui-skeleton-M7HNQCk1.js +29 -0
  28. package/stencil/ui-skeleton-a642cced-BFJMszWG.js +122 -0
  29. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  30. package/stencil/ui-skeleton-a642cced-p8tGooXk.js +122 -0
  31. package/components/CasinoFavoritesSection-BK_aL3mw.cjs +0 -16
  32. package/components/CasinoFilter-B2vhxDAU.cjs +0 -3
  33. package/components/CasinoGameThumbnail-BS2o38U4.cjs +0 -47
@@ -1,28 +1,28 @@
1
1
  function N() {
2
2
  }
3
- function tt(e) {
3
+ function nt(e) {
4
4
  return e();
5
5
  }
6
- function De() {
6
+ function Fe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function X(e) {
10
- e.forEach(tt);
10
+ e.forEach(nt);
11
11
  }
12
- function Me(e) {
12
+ function le(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function rt(e, t) {
15
+ function it(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let ne;
19
- function Qn(e, t) {
19
+ function qn(e, t) {
20
20
  return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
21
21
  }
22
- function It(e) {
22
+ function Ct(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function nt(e, ...t) {
25
+ function st(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,23 @@ function nt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function qn(e, t, r) {
35
- e.$$.on_destroy.push(nt(t, r));
34
+ function Jn(e, t, r) {
35
+ e.$$.on_destroy.push(st(t, r));
36
36
  }
37
- function Lt(e, t) {
37
+ function Yn(e) {
38
+ return e && le(e.destroy) ? e.destroy : N;
39
+ }
40
+ function Mt(e, t) {
38
41
  e.appendChild(t);
39
42
  }
40
- function Ct(e, t, r) {
41
- const n = Mt(e);
43
+ function Rt(e, t, r) {
44
+ const n = $t(e);
42
45
  if (!n.getElementById(t)) {
43
46
  const i = te("style");
44
- i.id = t, i.textContent = r, Rt(n, i);
47
+ i.id = t, i.textContent = r, Ut(n, i);
45
48
  }
46
49
  }
47
- function Mt(e) {
50
+ function $t(e) {
48
51
  if (!e)
49
52
  return document;
50
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,39 +57,39 @@ function Mt(e) {
54
57
  t
55
58
  ) : e.ownerDocument;
56
59
  }
57
- function Rt(e, t) {
58
- return Lt(
60
+ function Ut(e, t) {
61
+ return Mt(
59
62
  /** @type {Document} */
60
63
  e.head || e,
61
64
  t
62
65
  ), t.sheet;
63
66
  }
64
- function le(e, t, r) {
67
+ function fe(e, t, r) {
65
68
  e.insertBefore(t, r || null);
66
69
  }
67
70
  function ee(e) {
68
71
  e.parentNode && e.parentNode.removeChild(e);
69
72
  }
70
- function Jn(e, t) {
73
+ function Kn(e, t) {
71
74
  for (let r = 0; r < e.length; r += 1)
72
75
  e[r] && e[r].d(t);
73
76
  }
74
77
  function te(e) {
75
78
  return document.createElement(e);
76
79
  }
77
- function $t(e) {
80
+ function Dt(e) {
78
81
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
82
  }
80
- function it(e) {
83
+ function at(e) {
81
84
  return document.createTextNode(e);
82
85
  }
83
- function Yn() {
84
- return it(" ");
86
+ function ei() {
87
+ return at(" ");
85
88
  }
86
- function Kn() {
87
- return it("");
89
+ function ti() {
90
+ return at("");
88
91
  }
89
- function ei(e, t, r, n) {
92
+ function ri(e, t, r, n) {
90
93
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
91
94
  }
92
95
  function Re(e, t, r) {
@@ -96,20 +99,20 @@ function g(e, t, r) {
96
99
  const n = t.toLowerCase();
97
100
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Re(e, t, r);
98
101
  }
99
- function Ut(e) {
102
+ function Gt(e) {
100
103
  return Array.from(e.childNodes);
101
104
  }
102
- function ti(e, t) {
105
+ function ni(e, t) {
103
106
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
107
  t);
105
108
  }
106
- function ri(e, t) {
109
+ function ii(e, t) {
107
110
  e.value = t ?? "";
108
111
  }
109
- function ni(e, t, r) {
112
+ function si(e, t, r) {
110
113
  e.classList.toggle(t, !!r);
111
114
  }
112
- class ii {
115
+ class ai {
113
116
  /**
114
117
  * @private
115
118
  * @default false
@@ -140,7 +143,7 @@ class ii {
140
143
  * @returns {void}
141
144
  */
142
145
  m(t, r, n = null) {
143
- this.e || (this.is_svg ? this.e = $t(
146
+ this.e || (this.is_svg ? this.e = Dt(
144
147
  /** @type {keyof SVGElementTagNameMap} */
145
148
  r.nodeName
146
149
  ) : this.e = te(
@@ -164,7 +167,7 @@ class ii {
164
167
  * @returns {void} */
165
168
  i(t) {
166
169
  for (let r = 0; r < this.n.length; r += 1)
167
- le(this.t, this.n[r], t);
170
+ fe(this.t, this.n[r], t);
168
171
  }
169
172
  /**
170
173
  * @param {string} html
@@ -179,7 +182,7 @@ class ii {
179
182
  this.n.forEach(ee);
180
183
  }
181
184
  }
182
- function Dt(e) {
185
+ function Ft(e) {
183
186
  const t = {};
184
187
  return e.childNodes.forEach(
185
188
  /** @param {Element} node */
@@ -192,28 +195,28 @@ let J;
192
195
  function q(e) {
193
196
  J = e;
194
197
  }
195
- function Gt() {
198
+ function jt() {
196
199
  if (!J)
197
200
  throw new Error("Function called outside component initialization");
198
201
  return J;
199
202
  }
200
- function Ft(e) {
201
- Gt().$$.on_mount.push(e);
203
+ function kt(e) {
204
+ jt().$$.on_mount.push(e);
202
205
  }
203
- const D = [], He = [];
206
+ const D = [], Te = [];
204
207
  let G = [];
205
- const Ge = [], st = /* @__PURE__ */ Promise.resolve();
206
- let Te = !1;
207
- function at() {
208
- Te || (Te = !0, st.then(H));
208
+ const je = [], ot = /* @__PURE__ */ Promise.resolve();
209
+ let Se = !1;
210
+ function ut() {
211
+ Se || (Se = !0, ot.then(H));
209
212
  }
210
- function si() {
211
- return at(), st;
213
+ function oi() {
214
+ return ut(), ot;
212
215
  }
213
- function Se(e) {
216
+ function Be(e) {
214
217
  G.push(e);
215
218
  }
216
- const be = /* @__PURE__ */ new Set();
219
+ const pe = /* @__PURE__ */ new Set();
217
220
  let $ = 0;
218
221
  function H() {
219
222
  if ($ !== 0)
@@ -223,45 +226,45 @@ function H() {
223
226
  try {
224
227
  for (; $ < D.length; ) {
225
228
  const t = D[$];
226
- $++, q(t), jt(t.$$);
229
+ $++, q(t), Vt(t.$$);
227
230
  }
228
231
  } catch (t) {
229
232
  throw D.length = 0, $ = 0, t;
230
233
  }
231
- for (q(null), D.length = 0, $ = 0; He.length; )
232
- He.pop()();
234
+ for (q(null), D.length = 0, $ = 0; Te.length; )
235
+ Te.pop()();
233
236
  for (let t = 0; t < G.length; t += 1) {
234
237
  const r = G[t];
235
- be.has(r) || (be.add(r), r());
238
+ pe.has(r) || (pe.add(r), r());
236
239
  }
237
240
  G.length = 0;
238
241
  } while (D.length);
239
- for (; Ge.length; )
240
- Ge.pop()();
241
- Te = !1, be.clear(), q(e);
242
+ for (; je.length; )
243
+ je.pop()();
244
+ Se = !1, pe.clear(), q(e);
242
245
  }
243
- function jt(e) {
246
+ function Vt(e) {
244
247
  if (e.fragment !== null) {
245
248
  e.update(), X(e.before_update);
246
249
  const t = e.dirty;
247
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
250
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
248
251
  }
249
252
  }
250
- function kt(e) {
253
+ function Xt(e) {
251
254
  const t = [], r = [];
252
255
  G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
253
256
  }
254
- const Vt = /* @__PURE__ */ new Set();
255
- function ot(e, t) {
256
- e && e.i && (Vt.delete(e), e.i(t));
257
+ const zt = /* @__PURE__ */ new Set();
258
+ function ht(e, t) {
259
+ e && e.i && (zt.delete(e), e.i(t));
257
260
  }
258
- function ai(e) {
261
+ function ui(e) {
259
262
  return e?.length !== void 0 ? e : Array.from(e);
260
263
  }
261
- function oi(e, t) {
264
+ function hi(e, t) {
262
265
  e.d(1), t.delete(e.key);
263
266
  }
264
- function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
267
+ function li(e, t, r, n, i, s, a, o, l, u, h, m) {
265
268
  let f = e.length, b = s.length, y = f;
266
269
  const _ = {};
267
270
  for (; y--; )
@@ -274,7 +277,7 @@ function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
274
277
  }
275
278
  const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
276
279
  function O(c) {
277
- ot(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
280
+ ht(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
278
281
  }
279
282
  for (; f && b; ) {
280
283
  const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
@@ -288,21 +291,21 @@ function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
288
291
  O(T[b - 1]);
289
292
  return X(S), T;
290
293
  }
291
- function Xt(e, t, r) {
294
+ function Wt(e, t, r) {
292
295
  const { fragment: n, after_update: i } = e.$$;
293
- n && n.m(t, r), Se(() => {
294
- const s = e.$$.on_mount.map(tt).filter(Me);
296
+ n && n.m(t, r), Be(() => {
297
+ const s = e.$$.on_mount.map(nt).filter(le);
295
298
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
296
- }), i.forEach(Se);
299
+ }), i.forEach(Be);
297
300
  }
298
- function Wt(e, t) {
301
+ function Zt(e, t) {
299
302
  const r = e.$$;
300
- r.fragment !== null && (kt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
303
+ r.fragment !== null && (Xt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
301
304
  }
302
- function zt(e, t) {
303
- e.$$.dirty[0] === -1 && (D.push(e), at(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
305
+ function Qt(e, t) {
306
+ e.$$.dirty[0] === -1 && (D.push(e), ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
304
307
  }
305
- function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
308
+ function qt(e, t, r, n, i, s, a = null, o = [-1]) {
306
309
  const l = J;
307
310
  q(e);
308
311
  const u = e.$$ = {
@@ -312,7 +315,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
312
315
  props: s,
313
316
  update: N,
314
317
  not_equal: i,
315
- bound: De(),
318
+ bound: Fe(),
316
319
  // lifecycle
317
320
  on_mount: [],
318
321
  on_destroy: [],
@@ -321,7 +324,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
321
324
  after_update: [],
322
325
  context: new Map(t.context || (l ? l.$$.context : [])),
323
326
  // everything else
324
- callbacks: De(),
327
+ callbacks: Fe(),
325
328
  dirty: o,
326
329
  skip_bound: !1,
327
330
  root: t.target || l.$$.root
@@ -330,19 +333,19 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
330
333
  let h = !1;
331
334
  if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
332
335
  const y = b.length ? b[0] : f;
333
- return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && zt(e, m)), f;
336
+ return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && Qt(e, m)), f;
334
337
  }) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
335
338
  if (t.hydrate) {
336
- const m = Ut(t.target);
339
+ const m = Gt(t.target);
337
340
  u.fragment && u.fragment.l(m), m.forEach(ee);
338
341
  } else
339
342
  u.fragment && u.fragment.c();
340
- t.intro && ot(e.$$.fragment), Xt(e, t.target, t.anchor), H();
343
+ t.intro && ht(e.$$.fragment), Wt(e, t.target, t.anchor), H();
341
344
  }
342
345
  q(l);
343
346
  }
344
- let ut;
345
- typeof HTMLElement == "function" && (ut = class extends HTMLElement {
347
+ let lt;
348
+ typeof HTMLElement == "function" && (lt = class extends HTMLElement {
346
349
  /** The Svelte component constructor */
347
350
  $$ctor;
348
351
  /** Slots */
@@ -391,7 +394,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
391
394
  * @param {HTMLElement} [anchor]
392
395
  */
393
396
  m: function(l, u) {
394
- le(l, s, u);
397
+ fe(l, s, u);
395
398
  },
396
399
  d: function(l) {
397
400
  l && ee(s);
@@ -401,7 +404,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
401
404
  };
402
405
  if (await Promise.resolve(), !this.$$cn || this.$$c)
403
406
  return;
404
- const t = {}, r = Dt(this);
407
+ const t = {}, r = Ft(this);
405
408
  for (const i of this.$$s)
406
409
  i in r && (t[i] = [e(i)]);
407
410
  for (const i of this.attributes) {
@@ -488,8 +491,8 @@ function se(e, t, r, n) {
488
491
  return t;
489
492
  }
490
493
  }
491
- function Qt(e, t, r, n, i, s) {
492
- let a = class extends ut {
494
+ function Jt(e, t, r, n, i, s) {
495
+ let a = class extends lt {
493
496
  constructor() {
494
497
  super(e, r, i), this.$$p_d = t;
495
498
  }
@@ -517,7 +520,7 @@ function Qt(e, t, r, n, i, s) {
517
520
  }), e.element = /** @type {any} */
518
521
  a, a;
519
522
  }
520
- class qt {
523
+ class Yt {
521
524
  /**
522
525
  * ### PRIVATE API
523
526
  *
@@ -536,7 +539,7 @@ class qt {
536
539
  $$set = void 0;
537
540
  /** @returns {void} */
538
541
  $destroy() {
539
- Wt(this, 1), this.$destroy = N;
542
+ Zt(this, 1), this.$destroy = N;
540
543
  }
541
544
  /**
542
545
  * @template {Extract<keyof Events, string>} K
@@ -545,7 +548,7 @@ class qt {
545
548
  * @returns {() => void}
546
549
  */
547
550
  $on(t, r) {
548
- if (!Me(r))
551
+ if (!le(r))
549
552
  return N;
550
553
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
551
554
  return n.push(r), () => {
@@ -558,22 +561,22 @@ class qt {
558
561
  * @returns {void}
559
562
  */
560
563
  $set(t) {
561
- this.$$set && !It(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);
562
565
  }
563
566
  }
564
- const Jt = "4";
565
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jt);
567
+ const Kt = "4";
568
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
566
569
  const U = [];
567
- function Yt(e, t) {
570
+ function er(e, t) {
568
571
  return {
569
- subscribe: fe(e, t).subscribe
572
+ subscribe: ce(e, t).subscribe
570
573
  };
571
574
  }
572
- function fe(e, t = N) {
575
+ function ce(e, t = N) {
573
576
  let r;
574
577
  const n = /* @__PURE__ */ new Set();
575
578
  function i(o) {
576
- if (rt(e, o) && (e = o, r)) {
579
+ if (it(e, o) && (e = o, r)) {
577
580
  const l = !U.length;
578
581
  for (const u of n)
579
582
  u[1](), U.push(u, e);
@@ -595,12 +598,12 @@ function fe(e, t = N) {
595
598
  }
596
599
  return { set: i, update: s, subscribe: a };
597
600
  }
598
- function W(e, t, r) {
601
+ function z(e, t, r) {
599
602
  const n = !Array.isArray(e), i = n ? [e] : e;
600
603
  if (!i.every(Boolean))
601
604
  throw new Error("derived() expects stores as input, got a falsy value");
602
605
  const s = t.length < 2;
603
- return Yt(r, (a, o) => {
606
+ return er(r, (a, o) => {
604
607
  let l = !1;
605
608
  const u = [];
606
609
  let h = 0, m = N;
@@ -609,9 +612,9 @@ function W(e, t, r) {
609
612
  return;
610
613
  m();
611
614
  const y = t(n ? u[0] : u, a, o);
612
- s ? a(y) : m = Me(y) ? y : N;
615
+ s ? a(y) : m = le(y) ? y : N;
613
616
  }, b = i.map(
614
- (y, _) => nt(
617
+ (y, _) => st(
615
618
  y,
616
619
  (T) => {
617
620
  u[_] = T, h &= ~(1 << _), l && f();
@@ -626,70 +629,70 @@ function W(e, t, r) {
626
629
  };
627
630
  });
628
631
  }
629
- function Kt(e) {
632
+ function tr(e) {
630
633
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
631
634
  }
632
- var er = function(t) {
633
- return tr(t) && !rr(t);
635
+ var rr = function(t) {
636
+ return nr(t) && !ir(t);
634
637
  };
635
- function tr(e) {
638
+ function nr(e) {
636
639
  return !!e && typeof e == "object";
637
640
  }
638
- function rr(e) {
641
+ function ir(e) {
639
642
  var t = Object.prototype.toString.call(e);
640
- return t === "[object RegExp]" || t === "[object Date]" || sr(e);
643
+ return t === "[object RegExp]" || t === "[object Date]" || or(e);
641
644
  }
642
- var nr = typeof Symbol == "function" && Symbol.for, ir = nr ? Symbol.for("react.element") : 60103;
643
- function sr(e) {
644
- return e.$$typeof === ir;
645
+ var sr = typeof Symbol == "function" && Symbol.for, ar = sr ? Symbol.for("react.element") : 60103;
646
+ function or(e) {
647
+ return e.$$typeof === ar;
645
648
  }
646
- function ar(e) {
649
+ function ur(e) {
647
650
  return Array.isArray(e) ? [] : {};
648
651
  }
649
652
  function Y(e, t) {
650
- return t.clone !== !1 && t.isMergeableObject(e) ? F(ar(e), e, t) : e;
653
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
651
654
  }
652
- function or(e, t, r) {
655
+ function hr(e, t, r) {
653
656
  return e.concat(t).map(function(n) {
654
657
  return Y(n, r);
655
658
  });
656
659
  }
657
- function ur(e, t) {
660
+ function lr(e, t) {
658
661
  if (!t.customMerge)
659
662
  return F;
660
663
  var r = t.customMerge(e);
661
664
  return typeof r == "function" ? r : F;
662
665
  }
663
- function hr(e) {
666
+ function fr(e) {
664
667
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
665
668
  return Object.propertyIsEnumerable.call(e, t);
666
669
  }) : [];
667
670
  }
668
- function Fe(e) {
669
- return Object.keys(e).concat(hr(e));
671
+ function ke(e) {
672
+ return Object.keys(e).concat(fr(e));
670
673
  }
671
- function ht(e, t) {
674
+ function ft(e, t) {
672
675
  try {
673
676
  return t in e;
674
677
  } catch {
675
678
  return !1;
676
679
  }
677
680
  }
678
- function lr(e, t) {
679
- return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
681
+ function cr(e, t) {
682
+ return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
680
683
  }
681
- function fr(e, t, r) {
684
+ function mr(e, t, r) {
682
685
  var n = {};
683
- return r.isMergeableObject(e) && Fe(e).forEach(function(i) {
686
+ return r.isMergeableObject(e) && ke(e).forEach(function(i) {
684
687
  n[i] = Y(e[i], r);
685
- }), Fe(t).forEach(function(i) {
686
- lr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = ur(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
688
+ }), ke(t).forEach(function(i) {
689
+ cr(e, i) || (ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
687
690
  }), n;
688
691
  }
689
692
  function F(e, t, r) {
690
- r = r || {}, r.arrayMerge = r.arrayMerge || or, r.isMergeableObject = r.isMergeableObject || er, r.cloneUnlessOtherwiseSpecified = Y;
693
+ r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = Y;
691
694
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
692
- return s ? n ? r.arrayMerge(e, t, r) : fr(e, t, r) : Y(t, r);
695
+ return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : Y(t, r);
693
696
  }
694
697
  F.all = function(t, r) {
695
698
  if (!Array.isArray(t))
@@ -698,8 +701,8 @@ F.all = function(t, r) {
698
701
  return F(n, i, r);
699
702
  }, {});
700
703
  };
701
- var cr = F, mr = cr;
702
- const gr = /* @__PURE__ */ Kt(mr);
704
+ var gr = F, dr = gr;
705
+ const br = /* @__PURE__ */ tr(dr);
703
706
  /*! *****************************************************************************
704
707
  Copyright (c) Microsoft Corporation.
705
708
 
@@ -714,18 +717,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
714
717
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
715
718
  PERFORMANCE OF THIS SOFTWARE.
716
719
  ***************************************************************************** */
717
- var Be = function(e, t) {
718
- return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
720
+ var Ae = function(e, t) {
721
+ return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
719
722
  r.__proto__ = n;
720
723
  } || function(r, n) {
721
724
  for (var i in n)
722
725
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
723
- }, Be(e, t);
726
+ }, Ae(e, t);
724
727
  };
725
- function ce(e, t) {
728
+ function me(e, t) {
726
729
  if (typeof t != "function" && t !== null)
727
730
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
728
- Be(e, t);
731
+ Ae(e, t);
729
732
  function r() {
730
733
  this.constructor = e;
731
734
  }
@@ -741,7 +744,7 @@ var E = function() {
741
744
  return t;
742
745
  }, E.apply(this, arguments);
743
746
  };
744
- function dr(e, t) {
747
+ function pr(e, t) {
745
748
  var r = {};
746
749
  for (var n in e)
747
750
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -750,7 +753,7 @@ function dr(e, t) {
750
753
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
751
754
  return r;
752
755
  }
753
- function hi(e) {
756
+ function fi(e) {
754
757
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
755
758
  if (r)
756
759
  return r.call(e);
@@ -762,7 +765,7 @@ function hi(e) {
762
765
  };
763
766
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
764
767
  }
765
- function li(e, t) {
768
+ function ci(e, t) {
766
769
  var r = typeof Symbol == "function" && e[Symbol.iterator];
767
770
  if (!r)
768
771
  return e;
@@ -782,60 +785,62 @@ function li(e, t) {
782
785
  }
783
786
  return s;
784
787
  }
785
- function pe(e, t, r) {
788
+ function ye(e, t, r) {
786
789
  if (r || arguments.length === 2)
787
790
  for (var n = 0, i = t.length, s; n < i; n++)
788
791
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
789
792
  return e.concat(s || t);
790
793
  }
791
- function ye(e, t) {
792
- var r = t && t.cache ? t.cache : xr, n = t && t.serializer ? t.serializer : vr, i = t && t.strategy ? t.strategy : yr;
794
+ function Ee(e, t) {
795
+ var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : Er;
793
796
  return i(e, {
794
797
  cache: r,
795
798
  serializer: n
796
799
  });
797
800
  }
798
- function br(e) {
801
+ function yr(e) {
799
802
  return e == null || typeof e == "number" || typeof e == "boolean";
800
803
  }
801
- function pr(e, t, r, n) {
802
- var i = br(n) ? n : r(n), s = t.get(i);
804
+ function ct(e, t, r, n) {
805
+ var i = yr(n) ? n : r(n), s = t.get(i);
803
806
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
804
807
  }
805
- function lt(e, t, r) {
808
+ function mt(e, t, r) {
806
809
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
807
810
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
808
811
  }
809
- function ft(e, t, r, n, i) {
812
+ function $e(e, t, r, n, i) {
810
813
  return r.bind(t, e, n, i);
811
814
  }
812
- function yr(e, t) {
813
- var r = e.length === 1 ? pr : lt;
814
- return ft(e, this, r, t.cache.create(), t.serializer);
815
- }
816
815
  function Er(e, t) {
817
- return ft(e, this, lt, t.cache.create(), t.serializer);
816
+ var r = e.length === 1 ? ct : mt;
817
+ return $e(e, this, r, t.cache.create(), t.serializer);
818
818
  }
819
- var vr = function() {
819
+ function vr(e, t) {
820
+ return $e(e, this, mt, t.cache.create(), t.serializer);
821
+ }
822
+ function _r(e, t) {
823
+ return $e(e, this, ct, t.cache.create(), t.serializer);
824
+ }
825
+ var xr = function() {
820
826
  return JSON.stringify(arguments);
821
- }, _r = (
822
- /** @class */
823
- function() {
824
- function e() {
825
- this.cache = /* @__PURE__ */ Object.create(null);
826
- }
827
- return e.prototype.get = function(t) {
828
- return this.cache[t];
829
- }, e.prototype.set = function(t, r) {
830
- this.cache[t] = r;
831
- }, e;
832
- }()
833
- ), xr = {
827
+ };
828
+ function Ue() {
829
+ this.cache = /* @__PURE__ */ Object.create(null);
830
+ }
831
+ Ue.prototype.get = function(e) {
832
+ return this.cache[e];
833
+ };
834
+ Ue.prototype.set = function(e, t) {
835
+ this.cache[e] = t;
836
+ };
837
+ var Hr = {
834
838
  create: function() {
835
- return new _r();
839
+ return new Ue();
836
840
  }
837
- }, Ee = {
838
- variadic: Er
841
+ }, ve = {
842
+ variadic: vr,
843
+ monadic: _r
839
844
  }, d;
840
845
  (function(e) {
841
846
  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";
@@ -848,43 +853,43 @@ var j;
848
853
  (function(e) {
849
854
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
850
855
  })(j || (j = {}));
851
- function je(e) {
856
+ function Ve(e) {
852
857
  return e.type === v.literal;
853
858
  }
854
- function Hr(e) {
859
+ function Tr(e) {
855
860
  return e.type === v.argument;
856
861
  }
857
- function ct(e) {
862
+ function gt(e) {
858
863
  return e.type === v.number;
859
864
  }
860
- function mt(e) {
865
+ function dt(e) {
861
866
  return e.type === v.date;
862
867
  }
863
- function gt(e) {
868
+ function bt(e) {
864
869
  return e.type === v.time;
865
870
  }
866
- function dt(e) {
871
+ function pt(e) {
867
872
  return e.type === v.select;
868
873
  }
869
- function bt(e) {
874
+ function yt(e) {
870
875
  return e.type === v.plural;
871
876
  }
872
- function Tr(e) {
877
+ function Sr(e) {
873
878
  return e.type === v.pound;
874
879
  }
875
- function pt(e) {
880
+ function Et(e) {
876
881
  return e.type === v.tag;
877
882
  }
878
- function yt(e) {
883
+ function vt(e) {
879
884
  return !!(e && typeof e == "object" && e.type === j.number);
880
885
  }
881
- function Ae(e) {
886
+ function we(e) {
882
887
  return !!(e && typeof e == "object" && e.type === j.dateTime);
883
888
  }
884
- var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sr = /(?:[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;
885
- function Br(e) {
889
+ var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[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;
890
+ function Ar(e) {
886
891
  var t = {};
887
- return e.replace(Sr, function(r) {
892
+ return e.replace(Br, function(r) {
888
893
  var n = r.length;
889
894
  switch (r[0]) {
890
895
  case "G":
@@ -973,11 +978,11 @@ function Br(e) {
973
978
  return "";
974
979
  }), t;
975
980
  }
976
- var Ar = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
977
- function wr(e) {
981
+ var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
982
+ function Pr(e) {
978
983
  if (e.length === 0)
979
984
  throw new Error("Number skeleton cannot be empty");
980
- for (var t = e.split(Ar).filter(function(f) {
985
+ for (var t = e.split(wr).filter(function(f) {
981
986
  return f.length > 0;
982
987
  }), r = [], n = 0, i = t; n < i.length; n++) {
983
988
  var s = i[n], a = s.split("/");
@@ -992,17 +997,17 @@ function wr(e) {
992
997
  }
993
998
  return r;
994
999
  }
995
- function Pr(e) {
1000
+ function Nr(e) {
996
1001
  return e.replace(/^(.*?)-/, "");
997
1002
  }
998
- var ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Nr = /(\*)(0+)|(#+)(0+)|(0+)/g, _t = /^(0+)$/;
999
- function Ve(e) {
1003
+ var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
1004
+ function ze(e) {
1000
1005
  var t = {};
1001
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
1006
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
1002
1007
  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)), "";
1003
1008
  }), t;
1004
1009
  }
1005
- function xt(e) {
1010
+ function Tt(e) {
1006
1011
  switch (e) {
1007
1012
  case "sign-auto":
1008
1013
  return {
@@ -1042,7 +1047,7 @@ function xt(e) {
1042
1047
  };
1043
1048
  }
1044
1049
  }
1045
- function Or(e) {
1050
+ function Ir(e) {
1046
1051
  var t;
1047
1052
  if (e[0] === "E" && e[1] === "E" ? (t = {
1048
1053
  notation: "engineering"
@@ -1050,17 +1055,17 @@ function Or(e) {
1050
1055
  notation: "scientific"
1051
1056
  }, e = e.slice(1)), t) {
1052
1057
  var r = e.slice(0, 2);
1053
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_t.test(e))
1058
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ht.test(e))
1054
1059
  throw new Error("Malformed concise eng/scientific notation");
1055
1060
  t.minimumIntegerDigits = e.length;
1056
1061
  }
1057
1062
  return t;
1058
1063
  }
1059
- function Xe(e) {
1060
- var t = {}, r = xt(e);
1064
+ function We(e) {
1065
+ var t = {}, r = Tt(e);
1061
1066
  return r || t;
1062
1067
  }
1063
- function Ir(e) {
1068
+ function Lr(e) {
1064
1069
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1065
1070
  var i = n[r];
1066
1071
  switch (i.stem) {
@@ -1084,7 +1089,7 @@ function Ir(e) {
1084
1089
  continue;
1085
1090
  case "measure-unit":
1086
1091
  case "unit":
1087
- t.style = "unit", t.unit = Pr(i.options[0]);
1092
+ t.style = "unit", t.unit = Nr(i.options[0]);
1088
1093
  continue;
1089
1094
  case "compact-short":
1090
1095
  case "K":
@@ -1096,12 +1101,12 @@ function Ir(e) {
1096
1101
  continue;
1097
1102
  case "scientific":
1098
1103
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1099
- return E(E({}, l), Xe(u));
1104
+ return E(E({}, l), We(u));
1100
1105
  }, {}));
1101
1106
  continue;
1102
1107
  case "engineering":
1103
1108
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1104
- return E(E({}, l), Xe(u));
1109
+ return E(E({}, l), We(u));
1105
1110
  }, {}));
1106
1111
  continue;
1107
1112
  case "notation-simple":
@@ -1146,7 +1151,7 @@ function Ir(e) {
1146
1151
  case "integer-width":
1147
1152
  if (i.options.length > 1)
1148
1153
  throw new RangeError("integer-width stems only accept a single optional option");
1149
- i.options[0].replace(Nr, function(l, u, h, m, f, b) {
1154
+ i.options[0].replace(Or, function(l, u, h, m, f, b) {
1150
1155
  if (u)
1151
1156
  t.minimumIntegerDigits = h.length;
1152
1157
  else {
@@ -1159,27 +1164,27 @@ function Ir(e) {
1159
1164
  });
1160
1165
  continue;
1161
1166
  }
1162
- if (_t.test(i.stem)) {
1167
+ if (Ht.test(i.stem)) {
1163
1168
  t.minimumIntegerDigits = i.stem.length;
1164
1169
  continue;
1165
1170
  }
1166
- if (ke.test(i.stem)) {
1171
+ if (Xe.test(i.stem)) {
1167
1172
  if (i.options.length > 1)
1168
1173
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1169
- i.stem.replace(ke, function(l, u, h, m, f, b) {
1174
+ i.stem.replace(Xe, function(l, u, h, m, f, b) {
1170
1175
  return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1171
1176
  });
1172
1177
  var s = i.options[0];
1173
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), Ve(s)));
1178
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
1174
1179
  continue;
1175
1180
  }
1176
- if (vt.test(i.stem)) {
1177
- t = E(E({}, t), Ve(i.stem));
1181
+ if (xt.test(i.stem)) {
1182
+ t = E(E({}, t), ze(i.stem));
1178
1183
  continue;
1179
1184
  }
1180
- var a = xt(i.stem);
1185
+ var a = Tt(i.stem);
1181
1186
  a && (t = E(E({}, t), a));
1182
- var o = Or(i.stem);
1187
+ var o = Ir(i.stem);
1183
1188
  o && (t = E(E({}, t), o));
1184
1189
  }
1185
1190
  return t;
@@ -2599,13 +2604,13 @@ var ie = {
2599
2604
  "h"
2600
2605
  ]
2601
2606
  };
2602
- function Lr(e, t) {
2607
+ function Cr(e, t) {
2603
2608
  for (var r = "", n = 0; n < e.length; n++) {
2604
2609
  var i = e.charAt(n);
2605
2610
  if (i === "j") {
2606
2611
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2607
2612
  s++, n++;
2608
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Cr(t);
2613
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
2609
2614
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2610
2615
  r += l;
2611
2616
  for (; a-- > 0; )
@@ -2615,7 +2620,7 @@ function Lr(e, t) {
2615
2620
  }
2616
2621
  return r;
2617
2622
  }
2618
- function Cr(e) {
2623
+ function Mr(e) {
2619
2624
  var t = e.hourCycle;
2620
2625
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2621
2626
  e.hourCycles && // @ts-ignore
@@ -2637,20 +2642,20 @@ function Cr(e) {
2637
2642
  var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
2638
2643
  return i[0];
2639
2644
  }
2640
- var ve, Mr = new RegExp("^".concat(Et.source, "*")), Rr = new RegExp("".concat(Et.source, "*$"));
2645
+ var _e, Rr = new RegExp("^".concat(_t.source, "*")), $r = new RegExp("".concat(_t.source, "*$"));
2641
2646
  function p(e, t) {
2642
2647
  return { start: e, end: t };
2643
2648
  }
2644
- var $r = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ur = !!String.fromCodePoint, Dr = !!Object.fromEntries, Gr = !!String.prototype.codePointAt, Fr = !!String.prototype.trimStart, jr = !!String.prototype.trimEnd, kr = !!Number.isSafeInteger, Vr = kr ? Number.isSafeInteger : function(e) {
2649
+ var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Vr = !!Number.isSafeInteger, Xr = Vr ? Number.isSafeInteger : function(e) {
2645
2650
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2646
- }, we = !0;
2651
+ }, Pe = !0;
2647
2652
  try {
2648
- var Xr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2649
- we = ((ve = Xr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2653
+ var zr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2654
+ Pe = ((_e = zr.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
2650
2655
  } catch {
2651
- we = !1;
2656
+ Pe = !1;
2652
2657
  }
2653
- var We = $r ? (
2658
+ var Ze = Ur ? (
2654
2659
  // Native
2655
2660
  function(t, r, n) {
2656
2661
  return t.startsWith(r, n);
@@ -2660,7 +2665,7 @@ var We = $r ? (
2660
2665
  function(t, r, n) {
2661
2666
  return t.slice(n, n + r.length) === r;
2662
2667
  }
2663
- ), Pe = Ur ? String.fromCodePoint : (
2668
+ ), Ne = Dr ? String.fromCodePoint : (
2664
2669
  // IE11
2665
2670
  function() {
2666
2671
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2672,9 +2677,9 @@ var We = $r ? (
2672
2677
  }
2673
2678
  return n;
2674
2679
  }
2675
- ), ze = (
2680
+ ), Qe = (
2676
2681
  // native
2677
- Dr ? Object.fromEntries : (
2682
+ Gr ? Object.fromEntries : (
2678
2683
  // Ponyfill
2679
2684
  function(t) {
2680
2685
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2684,7 +2689,7 @@ var We = $r ? (
2684
2689
  return r;
2685
2690
  }
2686
2691
  )
2687
- ), Ht = Gr ? (
2692
+ ), St = Fr ? (
2688
2693
  // Native
2689
2694
  function(t, r) {
2690
2695
  return t.codePointAt(r);
@@ -2698,7 +2703,7 @@ var We = $r ? (
2698
2703
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2699
2704
  }
2700
2705
  }
2701
- ), Wr = Fr ? (
2706
+ ), Wr = jr ? (
2702
2707
  // Native
2703
2708
  function(t) {
2704
2709
  return t.trimStart();
@@ -2706,9 +2711,9 @@ var We = $r ? (
2706
2711
  ) : (
2707
2712
  // Ponyfill
2708
2713
  function(t) {
2709
- return t.replace(Mr, "");
2714
+ return t.replace(Rr, "");
2710
2715
  }
2711
- ), zr = jr ? (
2716
+ ), Zr = kr ? (
2712
2717
  // Native
2713
2718
  function(t) {
2714
2719
  return t.trimEnd();
@@ -2716,32 +2721,32 @@ var We = $r ? (
2716
2721
  ) : (
2717
2722
  // Ponyfill
2718
2723
  function(t) {
2719
- return t.replace(Rr, "");
2724
+ return t.replace($r, "");
2720
2725
  }
2721
2726
  );
2722
- function Tt(e, t) {
2727
+ function Bt(e, t) {
2723
2728
  return new RegExp(e, t);
2724
2729
  }
2725
- var Ne;
2726
- if (we) {
2727
- var Ze = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2728
- Ne = function(t, r) {
2730
+ var Oe;
2731
+ if (Pe) {
2732
+ var qe = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2733
+ Oe = function(t, r) {
2729
2734
  var n;
2730
- Ze.lastIndex = r;
2731
- var i = Ze.exec(t);
2735
+ qe.lastIndex = r;
2736
+ var i = qe.exec(t);
2732
2737
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2733
2738
  };
2734
2739
  } else
2735
- Ne = function(t, r) {
2740
+ Oe = function(t, r) {
2736
2741
  for (var n = []; ; ) {
2737
- var i = Ht(t, r);
2738
- if (i === void 0 || St(i) || Jr(i))
2742
+ var i = St(t, r);
2743
+ if (i === void 0 || At(i) || Yr(i))
2739
2744
  break;
2740
2745
  n.push(i), r += i >= 65536 ? 2 : 1;
2741
2746
  }
2742
- return Pe.apply(void 0, n);
2747
+ return Ne.apply(void 0, n);
2743
2748
  };
2744
- var Zr = (
2749
+ var Qr = (
2745
2750
  /** @class */
2746
2751
  function() {
2747
2752
  function e(t, r) {
@@ -2772,7 +2777,7 @@ var Zr = (
2772
2777
  if (n)
2773
2778
  break;
2774
2779
  return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2775
- } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2780
+ } else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
2776
2781
  var a = this.parseTag(t, r);
2777
2782
  if (a.err)
2778
2783
  return a;
@@ -2805,7 +2810,7 @@ var Zr = (
2805
2810
  return s;
2806
2811
  var a = s.val, o = this.clonePosition();
2807
2812
  if (this.bumpIf("</")) {
2808
- if (this.isEOF() || !Oe(this.char()))
2813
+ if (this.isEOF() || !Ie(this.char()))
2809
2814
  return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
2810
2815
  var l = this.clonePosition(), u = this.parseTagName();
2811
2816
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2823,7 +2828,7 @@ var Zr = (
2823
2828
  return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
2824
2829
  }, e.prototype.parseTagName = function() {
2825
2830
  var t = this.offset();
2826
- for (this.bump(); !this.isEOF() && qr(this.char()); )
2831
+ for (this.bump(); !this.isEOF() && Jr(this.char()); )
2827
2832
  this.bump();
2828
2833
  return this.message.slice(t, this.offset());
2829
2834
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2852,7 +2857,7 @@ var Zr = (
2852
2857
  };
2853
2858
  }, e.prototype.tryParseLeftAngleBracket = function() {
2854
2859
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2855
- !Qr(this.peek() || 0)) ? (this.bump(), "<") : null;
2860
+ !qr(this.peek() || 0)) ? (this.bump(), "<") : null;
2856
2861
  }, e.prototype.tryParseQuote = function(t) {
2857
2862
  if (this.isEOF() || this.char() !== 39)
2858
2863
  return null;
@@ -2886,12 +2891,12 @@ var Zr = (
2886
2891
  r.push(n);
2887
2892
  this.bump();
2888
2893
  }
2889
- return Pe.apply(void 0, r);
2894
+ return Ne.apply(void 0, r);
2890
2895
  }, e.prototype.tryParseUnquoted = function(t, r) {
2891
2896
  if (this.isEOF())
2892
2897
  return null;
2893
2898
  var n = this.char();
2894
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Pe(n));
2899
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ne(n));
2895
2900
  }, e.prototype.parseArgument = function(t, r) {
2896
2901
  var n = this.clonePosition();
2897
2902
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2920,7 +2925,7 @@ var Zr = (
2920
2925
  return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2921
2926
  }
2922
2927
  }, e.prototype.parseIdentifierIfPossible = function() {
2923
- var t = this.clonePosition(), r = this.offset(), n = Ne(this.message, r), i = r + n.length;
2928
+ var t = this.clonePosition(), r = this.offset(), n = Oe(this.message, r), i = r + n.length;
2924
2929
  this.bumpTo(i);
2925
2930
  var s = this.clonePosition(), a = p(t, s);
2926
2931
  return { value: n, location: a };
@@ -2939,7 +2944,7 @@ var Zr = (
2939
2944
  var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
2940
2945
  if (m.err)
2941
2946
  return m;
2942
- var f = zr(m.val);
2947
+ var f = Zr(m.val);
2943
2948
  if (f.length === 0)
2944
2949
  return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2945
2950
  var b = p(h, this.clonePosition());
@@ -2949,7 +2954,7 @@ var Zr = (
2949
2954
  if (y.err)
2950
2955
  return y;
2951
2956
  var _ = p(i, this.clonePosition());
2952
- if (u && We(u?.style, "::", 0)) {
2957
+ if (u && Ze(u?.style, "::", 0)) {
2953
2958
  var T = Wr(u.style.slice(2));
2954
2959
  if (o === "number") {
2955
2960
  var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
@@ -2961,12 +2966,12 @@ var Zr = (
2961
2966
  if (T.length === 0)
2962
2967
  return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2963
2968
  var w = T;
2964
- this.locale && (w = Lr(T, this.locale));
2969
+ this.locale && (w = Cr(T, this.locale));
2965
2970
  var f = {
2966
2971
  type: j.dateTime,
2967
2972
  pattern: w,
2968
2973
  location: u.styleLocation,
2969
- parsedOptions: this.shouldParseSkeletons ? Br(w) : {}
2974
+ parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
2970
2975
  }, A = o === "date" ? v.date : v.time;
2971
2976
  return {
2972
2977
  val: { type: A, value: n, location: _, style: f },
@@ -3012,7 +3017,7 @@ var Zr = (
3012
3017
  val: {
3013
3018
  type: v.select,
3014
3019
  value: n,
3015
- options: ze(O.val),
3020
+ options: Qe(O.val),
3016
3021
  location: c
3017
3022
  },
3018
3023
  err: null
@@ -3020,7 +3025,7 @@ var Zr = (
3020
3025
  val: {
3021
3026
  type: v.plural,
3022
3027
  value: n,
3023
- options: ze(O.val),
3028
+ options: Qe(O.val),
3024
3029
  offset: x,
3025
3030
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3026
3031
  location: c
@@ -3071,7 +3076,7 @@ var Zr = (
3071
3076
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3072
3077
  var n = [];
3073
3078
  try {
3074
- n = wr(t);
3079
+ n = Pr(t);
3075
3080
  } catch {
3076
3081
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3077
3082
  }
@@ -3080,7 +3085,7 @@ var Zr = (
3080
3085
  type: j.number,
3081
3086
  tokens: n,
3082
3087
  location: r,
3083
- parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
3088
+ parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
3084
3089
  },
3085
3090
  err: null
3086
3091
  };
@@ -3128,7 +3133,7 @@ var Zr = (
3128
3133
  break;
3129
3134
  }
3130
3135
  var l = p(i, this.clonePosition());
3131
- return s ? (a *= n, Vr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3136
+ return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3132
3137
  }, e.prototype.offset = function() {
3133
3138
  return this.position.offset;
3134
3139
  }, e.prototype.isEOF = function() {
@@ -3143,7 +3148,7 @@ var Zr = (
3143
3148
  var t = this.position.offset;
3144
3149
  if (t >= this.message.length)
3145
3150
  throw Error("out of bound");
3146
- var r = Ht(this.message, t);
3151
+ var r = St(this.message, t);
3147
3152
  if (r === void 0)
3148
3153
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3149
3154
  return r;
@@ -3162,7 +3167,7 @@ var Zr = (
3162
3167
  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);
3163
3168
  }
3164
3169
  }, e.prototype.bumpIf = function(t) {
3165
- if (We(this.message, t, this.offset())) {
3170
+ if (Ze(this.message, t, this.offset())) {
3166
3171
  for (var r = 0; r < t.length; r++)
3167
3172
  this.bump();
3168
3173
  return !0;
@@ -3184,7 +3189,7 @@ var Zr = (
3184
3189
  break;
3185
3190
  }
3186
3191
  }, e.prototype.bumpSpace = function() {
3187
- for (; !this.isEOF() && St(this.char()); )
3192
+ for (; !this.isEOF() && At(this.char()); )
3188
3193
  this.bump();
3189
3194
  }, e.prototype.peek = function() {
3190
3195
  if (this.isEOF())
@@ -3194,47 +3199,47 @@ var Zr = (
3194
3199
  }, e;
3195
3200
  }()
3196
3201
  );
3197
- function Oe(e) {
3202
+ function Ie(e) {
3198
3203
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3199
3204
  }
3200
- function Qr(e) {
3201
- return Oe(e) || e === 47;
3202
- }
3203
3205
  function qr(e) {
3206
+ return Ie(e) || e === 47;
3207
+ }
3208
+ function Jr(e) {
3204
3209
  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;
3205
3210
  }
3206
- function St(e) {
3211
+ function At(e) {
3207
3212
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3208
3213
  }
3209
- function Jr(e) {
3214
+ function Yr(e) {
3210
3215
  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;
3211
3216
  }
3212
- function Ie(e) {
3217
+ function Le(e) {
3213
3218
  e.forEach(function(t) {
3214
- if (delete t.location, dt(t) || bt(t))
3219
+ if (delete t.location, pt(t) || yt(t))
3215
3220
  for (var r in t.options)
3216
- delete t.options[r].location, Ie(t.options[r].value);
3221
+ delete t.options[r].location, Le(t.options[r].value);
3217
3222
  else
3218
- ct(t) && yt(t.style) || (mt(t) || gt(t)) && Ae(t.style) ? delete t.style.location : pt(t) && Ie(t.children);
3223
+ gt(t) && vt(t.style) || (dt(t) || bt(t)) && we(t.style) ? delete t.style.location : Et(t) && Le(t.children);
3219
3224
  });
3220
3225
  }
3221
- function Yr(e, t) {
3226
+ function Kr(e, t) {
3222
3227
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3223
- var r = new Zr(e, t).parse();
3228
+ var r = new Qr(e, t).parse();
3224
3229
  if (r.err) {
3225
3230
  var n = SyntaxError(d[r.err.kind]);
3226
3231
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3227
3232
  }
3228
- return t?.captureLocation || Ie(r.val), r.val;
3233
+ return t?.captureLocation || Le(r.val), r.val;
3229
3234
  }
3230
3235
  var k;
3231
3236
  (function(e) {
3232
3237
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3233
3238
  })(k || (k = {}));
3234
- var me = (
3239
+ var ge = (
3235
3240
  /** @class */
3236
3241
  function(e) {
3237
- ce(t, e);
3242
+ me(t, e);
3238
3243
  function t(r, n, i) {
3239
3244
  var s = e.call(this, r) || this;
3240
3245
  return s.code = n, s.originalMessage = i, s;
@@ -3243,48 +3248,48 @@ var me = (
3243
3248
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3244
3249
  }, t;
3245
3250
  }(Error)
3246
- ), Qe = (
3251
+ ), Je = (
3247
3252
  /** @class */
3248
3253
  function(e) {
3249
- ce(t, e);
3254
+ me(t, e);
3250
3255
  function t(r, n, i, s) {
3251
3256
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
3252
3257
  }
3253
3258
  return t;
3254
- }(me)
3255
- ), Kr = (
3259
+ }(ge)
3260
+ ), en = (
3256
3261
  /** @class */
3257
3262
  function(e) {
3258
- ce(t, e);
3263
+ me(t, e);
3259
3264
  function t(r, n, i) {
3260
3265
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3261
3266
  }
3262
3267
  return t;
3263
- }(me)
3264
- ), en = (
3268
+ }(ge)
3269
+ ), tn = (
3265
3270
  /** @class */
3266
3271
  function(e) {
3267
- ce(t, e);
3272
+ me(t, e);
3268
3273
  function t(r, n) {
3269
3274
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3270
3275
  }
3271
3276
  return t;
3272
- }(me)
3277
+ }(ge)
3273
3278
  ), B;
3274
3279
  (function(e) {
3275
3280
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3276
3281
  })(B || (B = {}));
3277
- function tn(e) {
3282
+ function rn(e) {
3278
3283
  return e.length < 2 ? e : e.reduce(function(t, r) {
3279
3284
  var n = t[t.length - 1];
3280
3285
  return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
3281
3286
  }, []);
3282
3287
  }
3283
- function rn(e) {
3288
+ function nn(e) {
3284
3289
  return typeof e == "function";
3285
3290
  }
3286
3291
  function ae(e, t, r, n, i, s, a) {
3287
- if (e.length === 1 && je(e[0]))
3292
+ if (e.length === 1 && Ve(e[0]))
3288
3293
  return [
3289
3294
  {
3290
3295
  type: B.literal,
@@ -3293,14 +3298,14 @@ function ae(e, t, r, n, i, s, a) {
3293
3298
  ];
3294
3299
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3295
3300
  var h = u[l];
3296
- if (je(h)) {
3301
+ if (Ve(h)) {
3297
3302
  o.push({
3298
3303
  type: B.literal,
3299
3304
  value: h.value
3300
3305
  });
3301
3306
  continue;
3302
3307
  }
3303
- if (Tr(h)) {
3308
+ if (Sr(h)) {
3304
3309
  typeof s == "number" && o.push({
3305
3310
  type: B.literal,
3306
3311
  value: r.getNumberFormat(t).format(s)
@@ -3309,43 +3314,43 @@ function ae(e, t, r, n, i, s, a) {
3309
3314
  }
3310
3315
  var m = h.value;
3311
3316
  if (!(i && m in i))
3312
- throw new en(m, a);
3317
+ throw new tn(m, a);
3313
3318
  var f = i[m];
3314
- if (Hr(h)) {
3319
+ if (Tr(h)) {
3315
3320
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3316
3321
  type: typeof f == "string" ? B.literal : B.object,
3317
3322
  value: f
3318
3323
  });
3319
3324
  continue;
3320
3325
  }
3321
- if (mt(h)) {
3322
- var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
3326
+ if (dt(h)) {
3327
+ var b = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
3323
3328
  o.push({
3324
3329
  type: B.literal,
3325
3330
  value: r.getDateTimeFormat(t, b).format(f)
3326
3331
  });
3327
3332
  continue;
3328
3333
  }
3329
- if (gt(h)) {
3330
- var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
3334
+ if (bt(h)) {
3335
+ var b = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
3331
3336
  o.push({
3332
3337
  type: B.literal,
3333
3338
  value: r.getDateTimeFormat(t, b).format(f)
3334
3339
  });
3335
3340
  continue;
3336
3341
  }
3337
- if (ct(h)) {
3338
- var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
3342
+ if (gt(h)) {
3343
+ var b = typeof h.style == "string" ? n.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
3339
3344
  b && b.scale && (f = f * (b.scale || 1)), o.push({
3340
3345
  type: B.literal,
3341
3346
  value: r.getNumberFormat(t, b).format(f)
3342
3347
  });
3343
3348
  continue;
3344
3349
  }
3345
- if (pt(h)) {
3350
+ if (Et(h)) {
3346
3351
  var y = h.children, _ = h.value, T = i[_];
3347
- if (!rn(T))
3348
- throw new Kr(_, "function", a);
3352
+ if (!nn(T))
3353
+ throw new en(_, "function", a);
3349
3354
  var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
3350
3355
  return x.value;
3351
3356
  }));
@@ -3356,42 +3361,42 @@ function ae(e, t, r, n, i, s, a) {
3356
3361
  };
3357
3362
  }));
3358
3363
  }
3359
- if (dt(h)) {
3364
+ if (pt(h)) {
3360
3365
  var S = h.options[f] || h.options.other;
3361
3366
  if (!S)
3362
- throw new Qe(h.value, f, Object.keys(h.options), a);
3367
+ throw new Je(h.value, f, Object.keys(h.options), a);
3363
3368
  o.push.apply(o, ae(S.value, t, r, n, i));
3364
3369
  continue;
3365
3370
  }
3366
- if (bt(h)) {
3371
+ if (yt(h)) {
3367
3372
  var S = h.options["=".concat(f)];
3368
3373
  if (!S) {
3369
3374
  if (!Intl.PluralRules)
3370
- throw new me(`Intl.PluralRules is not available in this environment.
3375
+ throw new ge(`Intl.PluralRules is not available in this environment.
3371
3376
  Try polyfilling it using "@formatjs/intl-pluralrules"
3372
3377
  `, k.MISSING_INTL_API, a);
3373
3378
  var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3374
3379
  S = h.options[P] || h.options.other;
3375
3380
  }
3376
3381
  if (!S)
3377
- throw new Qe(h.value, f, Object.keys(h.options), a);
3382
+ throw new Je(h.value, f, Object.keys(h.options), a);
3378
3383
  o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
3379
3384
  continue;
3380
3385
  }
3381
3386
  }
3382
- return tn(o);
3387
+ return rn(o);
3383
3388
  }
3384
- function nn(e, t) {
3389
+ function sn(e, t) {
3385
3390
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3386
3391
  return r[n] = E(E({}, e[n]), t[n] || {}), r;
3387
3392
  }, {})) : e;
3388
3393
  }
3389
- function sn(e, t) {
3394
+ function an(e, t) {
3390
3395
  return t ? Object.keys(e).reduce(function(r, n) {
3391
- return r[n] = nn(e[n], t[n]), r;
3396
+ return r[n] = sn(e[n], t[n]), r;
3392
3397
  }, E({}, e)) : e;
3393
3398
  }
3394
- function _e(e) {
3399
+ function xe(e) {
3395
3400
  return {
3396
3401
  create: function() {
3397
3402
  return {
@@ -3405,39 +3410,39 @@ function _e(e) {
3405
3410
  }
3406
3411
  };
3407
3412
  }
3408
- function an(e) {
3413
+ function on(e) {
3409
3414
  return e === void 0 && (e = {
3410
3415
  number: {},
3411
3416
  dateTime: {},
3412
3417
  pluralRules: {}
3413
3418
  }), {
3414
- getNumberFormat: ye(function() {
3419
+ getNumberFormat: Ee(function() {
3415
3420
  for (var t, r = [], n = 0; n < arguments.length; n++)
3416
3421
  r[n] = arguments[n];
3417
- return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
3422
+ return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
3418
3423
  }, {
3419
- cache: _e(e.number),
3420
- strategy: Ee.variadic
3424
+ cache: xe(e.number),
3425
+ strategy: ve.variadic
3421
3426
  }),
3422
- getDateTimeFormat: ye(function() {
3427
+ getDateTimeFormat: Ee(function() {
3423
3428
  for (var t, r = [], n = 0; n < arguments.length; n++)
3424
3429
  r[n] = arguments[n];
3425
- return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
3430
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
3426
3431
  }, {
3427
- cache: _e(e.dateTime),
3428
- strategy: Ee.variadic
3432
+ cache: xe(e.dateTime),
3433
+ strategy: ve.variadic
3429
3434
  }),
3430
- getPluralRules: ye(function() {
3435
+ getPluralRules: Ee(function() {
3431
3436
  for (var t, r = [], n = 0; n < arguments.length; n++)
3432
3437
  r[n] = arguments[n];
3433
- return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
3438
+ return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
3434
3439
  }, {
3435
- cache: _e(e.pluralRules),
3436
- strategy: Ee.variadic
3440
+ cache: xe(e.pluralRules),
3441
+ strategy: ve.variadic
3437
3442
  })
3438
3443
  };
3439
3444
  }
3440
- var on = (
3445
+ var un = (
3441
3446
  /** @class */
3442
3447
  function() {
3443
3448
  function e(t, r, n, i) {
@@ -3469,13 +3474,13 @@ var on = (
3469
3474
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3470
3475
  var a = i || {};
3471
3476
  a.formatters;
3472
- var o = dr(a, ["formatters"]);
3477
+ var o = pr(a, ["formatters"]);
3473
3478
  this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3474
3479
  } else
3475
3480
  this.ast = t;
3476
3481
  if (!Array.isArray(this.ast))
3477
3482
  throw new TypeError("A message must be provided as a String or AST.");
3478
- this.formats = sn(e.formats, n), this.formatters = i && i.formatters || an(this.formatterCache);
3483
+ this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
3479
3484
  }
3480
3485
  return Object.defineProperty(e, "defaultLocale", {
3481
3486
  get: function() {
@@ -3488,7 +3493,7 @@ var on = (
3488
3493
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3489
3494
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3490
3495
  }
3491
- }, e.__parse = Yr, e.formats = {
3496
+ }, e.__parse = Kr, e.formats = {
3492
3497
  number: {
3493
3498
  integer: {
3494
3499
  maximumFractionDigits: 0
@@ -3549,7 +3554,7 @@ var on = (
3549
3554
  }, e;
3550
3555
  }()
3551
3556
  );
3552
- function un(e, t) {
3557
+ function hn(e, t) {
3553
3558
  if (t == null)
3554
3559
  return;
3555
3560
  if (t in e)
@@ -3570,92 +3575,92 @@ function un(e, t) {
3570
3575
  n = void 0;
3571
3576
  return n;
3572
3577
  }
3573
- const C = {}, hn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Bt = (e, t) => {
3578
+ const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), wt = (e, t) => {
3574
3579
  if (t == null)
3575
3580
  return;
3576
3581
  if (t in C && e in C[t])
3577
3582
  return C[t][e];
3578
- const r = ge(t);
3583
+ const r = de(t);
3579
3584
  for (let n = 0; n < r.length; n++) {
3580
- const i = r[n], s = fn(i, e);
3585
+ const i = r[n], s = cn(i, e);
3581
3586
  if (s)
3582
- return hn(e, t, s);
3587
+ return ln(e, t, s);
3583
3588
  }
3584
3589
  };
3585
- let $e;
3586
- const z = fe({});
3587
- function ln(e) {
3588
- return $e[e] || null;
3590
+ let De;
3591
+ const W = ce({});
3592
+ function fn(e) {
3593
+ return De[e] || null;
3589
3594
  }
3590
- function At(e) {
3591
- return e in $e;
3595
+ function Pt(e) {
3596
+ return e in De;
3592
3597
  }
3593
- function fn(e, t) {
3594
- if (!At(e))
3598
+ function cn(e, t) {
3599
+ if (!Pt(e))
3595
3600
  return null;
3596
- const r = ln(e);
3597
- return un(r, t);
3601
+ const r = fn(e);
3602
+ return hn(r, t);
3598
3603
  }
3599
- function cn(e) {
3604
+ function mn(e) {
3600
3605
  if (e == null)
3601
3606
  return;
3602
- const t = ge(e);
3607
+ const t = de(e);
3603
3608
  for (let r = 0; r < t.length; r++) {
3604
3609
  const n = t[r];
3605
- if (At(n))
3610
+ if (Pt(n))
3606
3611
  return n;
3607
3612
  }
3608
3613
  }
3609
- function mn(e, ...t) {
3610
- delete C[e], z.update((r) => (r[e] = gr.all([r[e] || {}, ...t]), r));
3614
+ function gn(e, ...t) {
3615
+ delete C[e], W.update((r) => (r[e] = br.all([r[e] || {}, ...t]), r));
3611
3616
  }
3612
- W(
3613
- [z],
3617
+ z(
3618
+ [W],
3614
3619
  ([e]) => Object.keys(e)
3615
3620
  );
3616
- z.subscribe((e) => $e = e);
3621
+ W.subscribe((e) => De = e);
3617
3622
  const oe = {};
3618
- function gn(e, t) {
3623
+ function dn(e, t) {
3619
3624
  oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3620
3625
  }
3621
- function wt(e) {
3626
+ function Nt(e) {
3622
3627
  return oe[e];
3623
3628
  }
3624
- function dn(e) {
3625
- return ge(e).map((t) => {
3626
- const r = wt(t);
3629
+ function bn(e) {
3630
+ return de(e).map((t) => {
3631
+ const r = Nt(t);
3627
3632
  return [t, r ? [...r] : []];
3628
3633
  }).filter(([, t]) => t.length > 0);
3629
3634
  }
3630
- function Le(e) {
3631
- return e == null ? !1 : ge(e).some(
3635
+ function Ce(e) {
3636
+ return e == null ? !1 : de(e).some(
3632
3637
  (t) => {
3633
3638
  var r;
3634
- return (r = wt(t)) == null ? void 0 : r.size;
3639
+ return (r = Nt(t)) == null ? void 0 : r.size;
3635
3640
  }
3636
3641
  );
3637
3642
  }
3638
- function bn(e, t) {
3643
+ function pn(e, t) {
3639
3644
  return Promise.all(
3640
- t.map((n) => (gn(e, n), n().then((i) => i.default || i)))
3641
- ).then((n) => mn(e, ...n));
3645
+ t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
3646
+ ).then((n) => gn(e, ...n));
3642
3647
  }
3643
3648
  const Q = {};
3644
- function Pt(e) {
3645
- if (!Le(e))
3649
+ function Ot(e) {
3650
+ if (!Ce(e))
3646
3651
  return e in Q ? Q[e] : Promise.resolve();
3647
- const t = dn(e);
3652
+ const t = bn(e);
3648
3653
  return Q[e] = Promise.all(
3649
3654
  t.map(
3650
- ([r, n]) => bn(r, n)
3655
+ ([r, n]) => pn(r, n)
3651
3656
  )
3652
3657
  ).then(() => {
3653
- if (Le(e))
3654
- return Pt(e);
3658
+ if (Ce(e))
3659
+ return Ot(e);
3655
3660
  delete Q[e];
3656
3661
  }), Q[e];
3657
3662
  }
3658
- const pn = {
3663
+ const yn = {
3659
3664
  number: {
3660
3665
  scientific: { notation: "scientific" },
3661
3666
  engineering: { notation: "engineering" },
@@ -3684,78 +3689,78 @@ const pn = {
3684
3689
  timeZoneName: "short"
3685
3690
  }
3686
3691
  }
3687
- }, yn = {
3692
+ }, En = {
3688
3693
  fallbackLocale: null,
3689
3694
  loadingDelay: 200,
3690
- formats: pn,
3695
+ formats: yn,
3691
3696
  warnOnMissingMessages: !0,
3692
3697
  handleMissingMessage: void 0,
3693
3698
  ignoreTag: !0
3694
- }, En = yn;
3699
+ }, vn = En;
3695
3700
  function V() {
3696
- return En;
3701
+ return vn;
3697
3702
  }
3698
- const xe = fe(!1);
3699
- var vn = Object.defineProperty, _n = Object.defineProperties, xn = Object.getOwnPropertyDescriptors, qe = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Je = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
3703
+ const He = ce(!1);
3704
+ var _n = Object.defineProperty, xn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
3700
3705
  for (var r in t || (t = {}))
3701
- Hn.call(t, r) && Je(e, r, t[r]);
3702
- if (qe)
3703
- for (var r of qe(t))
3704
- Tn.call(t, r) && Je(e, r, t[r]);
3706
+ Tn.call(t, r) && Ke(e, r, t[r]);
3707
+ if (Ye)
3708
+ for (var r of Ye(t))
3709
+ Sn.call(t, r) && Ke(e, r, t[r]);
3705
3710
  return e;
3706
- }, Bn = (e, t) => _n(e, xn(t));
3707
- let Ce;
3708
- const ue = fe(null);
3709
- function Ye(e) {
3711
+ }, An = (e, t) => xn(e, Hn(t));
3712
+ let Me;
3713
+ const ue = ce(null);
3714
+ function et(e) {
3710
3715
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3711
3716
  }
3712
- function ge(e, t = V().fallbackLocale) {
3713
- const r = Ye(e);
3714
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ye(t)])] : r;
3717
+ function de(e, t = V().fallbackLocale) {
3718
+ const r = et(e);
3719
+ return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
3715
3720
  }
3716
3721
  function R() {
3717
- return Ce ?? void 0;
3722
+ return Me ?? void 0;
3718
3723
  }
3719
3724
  ue.subscribe((e) => {
3720
- Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3725
+ Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3721
3726
  });
3722
- const An = (e) => {
3723
- if (e && cn(e) && Le(e)) {
3727
+ const wn = (e) => {
3728
+ if (e && mn(e) && Ce(e)) {
3724
3729
  const { loadingDelay: t } = V();
3725
3730
  let r;
3726
3731
  return typeof window < "u" && R() != null && t ? r = window.setTimeout(
3727
- () => xe.set(!0),
3732
+ () => He.set(!0),
3728
3733
  t
3729
- ) : xe.set(!0), Pt(e).then(() => {
3734
+ ) : He.set(!0), Ot(e).then(() => {
3730
3735
  ue.set(e);
3731
3736
  }).finally(() => {
3732
- clearTimeout(r), xe.set(!1);
3737
+ clearTimeout(r), He.set(!1);
3733
3738
  });
3734
3739
  }
3735
3740
  return ue.set(e);
3736
- }, M = Bn(Sn({}, ue), {
3737
- set: An
3738
- }), de = (e) => {
3741
+ }, M = An(Bn({}, ue), {
3742
+ set: wn
3743
+ }), be = (e) => {
3739
3744
  const t = /* @__PURE__ */ Object.create(null);
3740
3745
  return (n) => {
3741
3746
  const i = JSON.stringify(n);
3742
3747
  return i in t ? t[i] : t[i] = e(n);
3743
3748
  };
3744
3749
  };
3745
- var wn = Object.defineProperty, he = Object.getOwnPropertySymbols, Nt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
3750
+ var Pn = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3746
3751
  for (var r in t || (t = {}))
3747
- Nt.call(t, r) && Ke(e, r, t[r]);
3752
+ It.call(t, r) && tt(e, r, t[r]);
3748
3753
  if (he)
3749
3754
  for (var r of he(t))
3750
- Ot.call(t, r) && Ke(e, r, t[r]);
3755
+ Lt.call(t, r) && tt(e, r, t[r]);
3751
3756
  return e;
3752
3757
  }, Z = (e, t) => {
3753
3758
  var r = {};
3754
3759
  for (var n in e)
3755
- Nt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3760
+ It.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3756
3761
  if (e != null && he)
3757
3762
  for (var n of he(e))
3758
- t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
3763
+ t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
3759
3764
  return r;
3760
3765
  };
3761
3766
  const K = (e, t) => {
@@ -3763,21 +3768,21 @@ const K = (e, t) => {
3763
3768
  if (e in r && t in r[e])
3764
3769
  return r[e][t];
3765
3770
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3766
- }, Pn = de(
3771
+ }, Nn = be(
3767
3772
  (e) => {
3768
3773
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3769
3774
  if (r == null)
3770
3775
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3771
3776
  return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3772
3777
  }
3773
- ), Nn = de(
3778
+ ), On = be(
3774
3779
  (e) => {
3775
3780
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3776
3781
  if (r == null)
3777
3782
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3778
3783
  return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3779
3784
  }
3780
- ), On = de(
3785
+ ), In = be(
3781
3786
  (e) => {
3782
3787
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3783
3788
  if (r == null)
@@ -3786,33 +3791,33 @@ const K = (e, t) => {
3786
3791
  );
3787
3792
  return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3788
3793
  }
3789
- ), In = (e = {}) => {
3794
+ ), Ln = (e = {}) => {
3790
3795
  var t = e, {
3791
3796
  locale: r = R()
3792
3797
  } = t, n = Z(t, [
3793
3798
  "locale"
3794
3799
  ]);
3795
- return Pn(Ue({ locale: r }, n));
3796
- }, Ln = (e = {}) => {
3800
+ return Nn(Ge({ locale: r }, n));
3801
+ }, Cn = (e = {}) => {
3797
3802
  var t = e, {
3798
3803
  locale: r = R()
3799
3804
  } = t, n = Z(t, [
3800
3805
  "locale"
3801
3806
  ]);
3802
- return Nn(Ue({ locale: r }, n));
3803
- }, Cn = (e = {}) => {
3807
+ return On(Ge({ locale: r }, n));
3808
+ }, Mn = (e = {}) => {
3804
3809
  var t = e, {
3805
3810
  locale: r = R()
3806
3811
  } = t, n = Z(t, [
3807
3812
  "locale"
3808
3813
  ]);
3809
- return On(Ue({ locale: r }, n));
3810
- }, Mn = de(
3814
+ return In(Ge({ locale: r }, n));
3815
+ }, Rn = be(
3811
3816
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3812
- (e, t = R()) => new on(e, t, V().formats, {
3817
+ (e, t = R()) => new un(e, t, V().formats, {
3813
3818
  ignoreTag: V().ignoreTag
3814
3819
  })
3815
- ), Rn = (e, t = {}) => {
3820
+ ), $n = (e, t = {}) => {
3816
3821
  var r, n, i, s;
3817
3822
  let a = t;
3818
3823
  typeof e == "object" && (a = e, e = a.id);
@@ -3825,7 +3830,7 @@ const K = (e, t) => {
3825
3830
  throw new Error(
3826
3831
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3827
3832
  );
3828
- let h = Bt(e, l);
3833
+ let h = wt(e, l);
3829
3834
  if (!h)
3830
3835
  h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3831
3836
  else if (typeof h != "string")
@@ -3836,7 +3841,7 @@ const K = (e, t) => {
3836
3841
  return h;
3837
3842
  let m = h;
3838
3843
  try {
3839
- m = Mn(h, l).format(o);
3844
+ m = Rn(h, l).format(o);
3840
3845
  } catch (f) {
3841
3846
  f instanceof Error && console.warn(
3842
3847
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3844,23 +3849,23 @@ const K = (e, t) => {
3844
3849
  );
3845
3850
  }
3846
3851
  return m;
3847
- }, $n = (e, t) => Cn(t).format(e), Un = (e, t) => Ln(t).format(e), Dn = (e, t) => In(t).format(e), Gn = (e, t = R()) => Bt(e, t), fi = W([M, z], () => Rn);
3848
- W([M], () => $n);
3849
- W([M], () => Un);
3850
- W([M], () => Dn);
3851
- W([M, z], () => Gn);
3852
- function Fn({ withLocale: e, translations: t }) {
3852
+ }, Un = (e, t) => Mn(t).format(e), Dn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Fn = (e, t = R()) => wt(e, t), mi = z([M, W], () => $n);
3853
+ z([M], () => Un);
3854
+ z([M], () => Dn);
3855
+ z([M], () => Gn);
3856
+ z([M, W], () => Fn);
3857
+ function jn({ withLocale: e, translations: t }) {
3853
3858
  M.subscribe((r) => {
3854
- r == null && (z.set(t), M.set(e));
3859
+ r == null && (W.set(t), M.set(e));
3855
3860
  });
3856
3861
  }
3857
- function jn(e, t) {
3862
+ function kn(e, t) {
3858
3863
  if (e) {
3859
3864
  const r = document.createElement("style");
3860
3865
  r.innerHTML = t, e.appendChild(r);
3861
3866
  }
3862
3867
  }
3863
- function kn(e, t) {
3868
+ function Vn(e, t) {
3864
3869
  const r = new URL(t);
3865
3870
  fetch(r.href).then((n) => n.text()).then((n) => {
3866
3871
  const i = document.createElement("style");
@@ -3869,7 +3874,7 @@ function kn(e, t) {
3869
3874
  console.error("There was an error while trying to load client styling from URL", n);
3870
3875
  });
3871
3876
  }
3872
- function Vn(e, t, r) {
3877
+ function Xn(e, t, r) {
3873
3878
  if (window.emMessageBus) {
3874
3879
  const n = document.createElement("style");
3875
3880
  window.emMessageBus.subscribe(t, (i) => {
@@ -3889,14 +3894,14 @@ if (typeof window < "u") {
3889
3894
  }
3890
3895
  };
3891
3896
  };
3892
- customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-Z8K9vsX7.js").then(({ default: t }) => {
3897
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-C169Up12.js").then(({ default: t }) => {
3893
3898
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
3894
3899
  });
3895
3900
  }
3896
- function Xn(e) {
3897
- Ct(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))}");
3901
+ function zn(e) {
3902
+ 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))}");
3898
3903
  }
3899
- function et(e) {
3904
+ function rt(e) {
3900
3905
  let t;
3901
3906
  return {
3902
3907
  c() {
@@ -3993,7 +3998,7 @@ function et(e) {
3993
3998
  );
3994
3999
  },
3995
4000
  m(r, n) {
3996
- le(r, t, n);
4001
+ fe(r, t, n);
3997
4002
  },
3998
4003
  p(r, n) {
3999
4004
  n & /*session*/
@@ -4114,18 +4119,18 @@ function et(e) {
4114
4119
  function Wn(e) {
4115
4120
  let t, r = (
4116
4121
  /*session*/
4117
- e[4] && et(e)
4122
+ e[4] && rt(e)
4118
4123
  );
4119
4124
  return {
4120
4125
  c() {
4121
4126
  t = te("div"), r && r.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
4122
4127
  },
4123
4128
  m(n, i) {
4124
- le(n, t, i), r && r.m(t, null), e[19](t);
4129
+ fe(n, t, i), r && r.m(t, null), e[19](t);
4125
4130
  },
4126
4131
  p(n, [i]) {
4127
4132
  /*session*/
4128
- n[4] ? r ? r.p(n, i) : (r = et(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4133
+ n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4129
4134
  },
4130
4135
  i: N,
4131
4136
  o: N,
@@ -4134,12 +4139,12 @@ function Wn(e) {
4134
4139
  }
4135
4140
  };
4136
4141
  }
4137
- function zn(e, t, r) {
4142
+ function Zn(e, t, r) {
4138
4143
  let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
4139
- Fn({ withLocale: "en", translations: {} }), Ft(() => () => {
4144
+ jn({ withLocale: "en", translations: {} }), kt(() => () => {
4140
4145
  });
4141
4146
  function O(c) {
4142
- He[c ? "unshift" : "push"](() => {
4147
+ Te[c ? "unshift" : "push"](() => {
4143
4148
  x = c, r(18, x);
4144
4149
  });
4145
4150
  }
@@ -4147,9 +4152,9 @@ function zn(e, t, r) {
4147
4152
  "endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
4148
4153
  }, e.$$.update = () => {
4149
4154
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4150
- 262208 && u && x && jn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4151
- 262272 && h && x && kn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
4152
- 393216 && x && Vn(x, `${P}.Style`);
4155
+ 262208 && u && x && kn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4156
+ 262272 && h && x && Vn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
4157
+ 393216 && x && Xn(x, `${P}.Style`);
4153
4158
  }, [
4154
4159
  n,
4155
4160
  i,
@@ -4173,14 +4178,14 @@ function zn(e, t, r) {
4173
4178
  O
4174
4179
  ];
4175
4180
  }
4176
- class Zn extends qt {
4181
+ class Qn extends Yt {
4177
4182
  constructor(t) {
4178
- super(), Zt(
4183
+ super(), qt(
4179
4184
  this,
4180
4185
  t,
4181
- zn,
4186
+ Zn,
4182
4187
  Wn,
4183
- rt,
4188
+ it,
4184
4189
  {
4185
4190
  endpoint: 0,
4186
4191
  datasource: 1,
@@ -4201,7 +4206,7 @@ class Zn extends qt {
4201
4206
  fetchviaevent: 16,
4202
4207
  mbsource: 17
4203
4208
  },
4204
- Xn
4209
+ zn
4205
4210
  );
4206
4211
  }
4207
4212
  get endpoint() {
@@ -4313,50 +4318,51 @@ class Zn extends qt {
4313
4318
  this.$$set({ mbsource: t }), H();
4314
4319
  }
4315
4320
  }
4316
- Qt(Zn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
4321
+ Jt(Qn, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
4317
4322
  export {
4318
4323
  M as $,
4319
4324
  ri as A,
4320
- Qn as B,
4321
- jn as C,
4322
- kn as D,
4323
- Vn as E,
4324
- Qt as F,
4325
- fi as G,
4326
- ni as H,
4327
- Kn as I,
4328
- ii as J,
4329
- si as K,
4330
- ui as L,
4331
- g as M,
4332
- oi as N,
4333
- Zn as O,
4334
- qt as S,
4335
- hi as _,
4336
- pe as a,
4337
- li as b,
4338
- ce as c,
4339
- z as d,
4340
- mn as e,
4325
+ ni as B,
4326
+ Kn as C,
4327
+ X as D,
4328
+ ii as E,
4329
+ mi as F,
4330
+ qn as G,
4331
+ si as H,
4332
+ Yn as I,
4333
+ g as J,
4334
+ ti as K,
4335
+ ai as L,
4336
+ oi as M,
4337
+ li as N,
4338
+ hi as O,
4339
+ Qn as P,
4340
+ Yt as S,
4341
+ fi as _,
4342
+ ye as a,
4343
+ ci as b,
4344
+ me as c,
4345
+ W as d,
4346
+ gn as e,
4341
4347
  H as f,
4342
- Ct as g,
4343
- ee as h,
4344
- Zt as i,
4345
- le as j,
4346
- te as k,
4347
- qn as l,
4348
- He as m,
4348
+ Jt as g,
4349
+ Rt as h,
4350
+ qt as i,
4351
+ te as j,
4352
+ fe as k,
4353
+ ee as l,
4354
+ Jn as m,
4349
4355
  N as n,
4350
- Ft as o,
4351
- ti as p,
4352
- Lt as q,
4353
- Re as r,
4354
- rt as s,
4355
- it as t,
4356
- ai as u,
4357
- Jn as v,
4358
- X as w,
4359
- ei as x,
4360
- $t as y,
4361
- Yn as z
4356
+ kt as o,
4357
+ Vn as p,
4358
+ Te as q,
4359
+ kn as r,
4360
+ it as s,
4361
+ Xn as t,
4362
+ ui as u,
4363
+ Dt as v,
4364
+ ei as w,
4365
+ at as x,
4366
+ Re as y,
4367
+ Mt as z
4362
4368
  };