@everymatrix/casino-tournaments-thumbnail 1.76.1 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/components/{CasinoTournamentsThumbnail-CkdsDaG7.js → CasinoTournamentsThumbnail-Bh7oVm6s.js} +410 -408
  2. package/components/{CasinoTournamentsThumbnail-ChU682xs.js → CasinoTournamentsThumbnail-CLUqZEVg.js} +420 -418
  3. package/components/CasinoTournamentsThumbnail-S-uL5Qef.cjs +19 -0
  4. package/es2015/casino-tournaments-thumbnail.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  9. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  10. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  11. package/stencil/{index-b2193545-OH6E7v51.js → index-b2193545-CD_KQ0BB.js} +176 -176
  12. package/stencil/{index-b2193545-eoIiLcDl.js → index-b2193545-CrHhiaNt.js} +169 -169
  13. package/stencil/index-b2193545-ngvz84TK.cjs +1 -0
  14. package/stencil/{ui-image-CNrnXPP3.js → ui-image-BNRjOSaN.js} +1 -1
  15. package/stencil/{ui-image-CDGN3Ekj.js → ui-image-D9tkwepr.js} +1 -1
  16. package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-DBXtq7Sy.cjs} +1 -1
  17. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  18. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  19. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  20. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-CzFe50WB.js} +2 -2
  21. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  22. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-z5LhXZY2.js} +2 -2
  23. package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-BecGfbnY.js} +2 -2
  24. package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-CKaouoPt.cjs} +1 -1
  25. package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DXmvn9dE.js} +2 -2
  26. package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-8tswdmF8.js} +1 -1
  27. package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-BVAHFeog.js} +1 -1
  28. package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-kPD5RoB3.cjs} +1 -1
  29. package/components/CasinoTournamentsThumbnail-BrMObsmf.cjs +0 -19
  30. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  31. package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
@@ -1,30 +1,30 @@
1
- import "../stencil/ui-skeleton-C73UqtBQ.js";
2
- import "../stencil/ui-image-CNrnXPP3.js";
1
+ import "../stencil/ui-skeleton-DXmvn9dE.js";
2
+ import "../stencil/ui-image-BNRjOSaN.js";
3
3
  function U() {
4
4
  }
5
- function Ct(e) {
5
+ function Ht(e) {
6
6
  return e();
7
7
  }
8
- function nt() {
8
+ function rt() {
9
9
  return /* @__PURE__ */ Object.create(null);
10
10
  }
11
11
  function V(e) {
12
- e.forEach(Ct);
12
+ e.forEach(Ht);
13
13
  }
14
14
  function me(e) {
15
15
  return typeof e == "function";
16
16
  }
17
- function Bt(e, t) {
17
+ function Ct(e, t) {
18
18
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
19
19
  }
20
20
  let be;
21
21
  function Ue(e, t) {
22
22
  return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
23
23
  }
24
- function hr(e) {
24
+ function lr(e) {
25
25
  return Object.keys(e).length === 0;
26
26
  }
27
- function wt(e, ...t) {
27
+ function Bt(e, ...t) {
28
28
  if (e == null) {
29
29
  for (const n of t)
30
30
  n(void 0);
@@ -33,8 +33,8 @@ function wt(e, ...t) {
33
33
  const r = e.subscribe(...t);
34
34
  return r.unsubscribe ? () => r.unsubscribe() : r;
35
35
  }
36
- function cr(e, t, r) {
37
- e.$$.on_destroy.push(wt(t, r));
36
+ function hr(e, t, r) {
37
+ e.$$.on_destroy.push(Bt(t, r));
38
38
  }
39
39
  function de(e) {
40
40
  return e && me(e.destroy) ? e.destroy : U;
@@ -43,13 +43,13 @@ function A(e, t) {
43
43
  e.appendChild(t);
44
44
  }
45
45
  function fr(e, t, r) {
46
- const n = mr(e);
46
+ const n = cr(e);
47
47
  if (!n.getElementById(t)) {
48
48
  const i = w("style");
49
- i.id = t, i.textContent = r, dr(n, i);
49
+ i.id = t, i.textContent = r, mr(n, i);
50
50
  }
51
51
  }
52
- function mr(e) {
52
+ function cr(e) {
53
53
  if (!e)
54
54
  return document;
55
55
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -59,7 +59,7 @@ function mr(e) {
59
59
  t
60
60
  ) : e.ownerDocument;
61
61
  }
62
- function dr(e, t) {
62
+ function mr(e, t) {
63
63
  return A(
64
64
  /** @type {Document} */
65
65
  e.head || e,
@@ -81,10 +81,10 @@ function D(e) {
81
81
  function G() {
82
82
  return D(" ");
83
83
  }
84
- function br() {
84
+ function dr() {
85
85
  return D("");
86
86
  }
87
- function Ee(e, t, r, n) {
87
+ function ve(e, t, r, n) {
88
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
89
  }
90
90
  function b(e, t, r) {
@@ -94,14 +94,14 @@ function Y(e, t, r) {
94
94
  const n = t.toLowerCase();
95
95
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
96
96
  }
97
- function gr(e) {
97
+ function br(e) {
98
98
  return Array.from(e.childNodes);
99
99
  }
100
100
  function F(e, t) {
101
101
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
102
102
  t);
103
103
  }
104
- function pr(e) {
104
+ function gr(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -114,20 +114,20 @@ let he;
114
114
  function le(e) {
115
115
  he = e;
116
116
  }
117
- function yr() {
117
+ function pr() {
118
118
  if (!he)
119
119
  throw new Error("Function called outside component initialization");
120
120
  return he;
121
121
  }
122
- function _r(e) {
123
- yr().$$.on_mount.push(e);
122
+ function yr(e) {
123
+ pr().$$.on_mount.push(e);
124
124
  }
125
125
  const Q = [], Fe = [];
126
126
  let K = [];
127
- const it = [], vr = /* @__PURE__ */ Promise.resolve();
127
+ const nt = [], _r = /* @__PURE__ */ Promise.resolve();
128
128
  let Ge = !1;
129
129
  function xr() {
130
- Ge || (Ge = !0, vr.then(C));
130
+ Ge || (Ge = !0, _r.then(C));
131
131
  }
132
132
  function $e(e) {
133
133
  K.push(e);
@@ -155,8 +155,8 @@ function C() {
155
155
  }
156
156
  K.length = 0;
157
157
  } while (Q.length);
158
- for (; it.length; )
159
- it.pop()();
158
+ for (; nt.length; )
159
+ nt.pop()();
160
160
  Ge = !1, Me.clear(), le(e);
161
161
  }
162
162
  function Er(e) {
@@ -166,29 +166,29 @@ function Er(e) {
166
166
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
167
167
  }
168
168
  }
169
- function Sr(e) {
169
+ function vr(e) {
170
170
  const t = [], r = [];
171
171
  K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
172
172
  }
173
- const Tr = /* @__PURE__ */ new Set();
174
- function Ar(e, t) {
175
- e && e.i && (Tr.delete(e), e.i(t));
173
+ const Sr = /* @__PURE__ */ new Set();
174
+ function Tr(e, t) {
175
+ e && e.i && (Sr.delete(e), e.i(t));
176
176
  }
177
- function Hr(e, t, r) {
177
+ function Ar(e, t, r) {
178
178
  const { fragment: n, after_update: i } = e.$$;
179
179
  n && n.m(t, r), $e(() => {
180
- const s = e.$$.on_mount.map(Ct).filter(me);
180
+ const s = e.$$.on_mount.map(Ht).filter(me);
181
181
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : V(s), e.$$.on_mount = [];
182
182
  }), i.forEach($e);
183
183
  }
184
- function Cr(e, t) {
184
+ function Hr(e, t) {
185
185
  const r = e.$$;
186
- r.fragment !== null && (Sr(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
186
+ r.fragment !== null && (vr(r.after_update), V(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
- function Br(e, t) {
188
+ function Cr(e, t) {
189
189
  e.$$.dirty[0] === -1 && (Q.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
190
  }
191
- function wr(e, t, r, n, i, s, o = null, a = [-1]) {
191
+ function Br(e, t, r, n, i, s, o = null, a = [-1]) {
192
192
  const l = he;
193
193
  le(e);
194
194
  const u = e.$$ = {
@@ -198,7 +198,7 @@ function wr(e, t, r, n, i, s, o = null, a = [-1]) {
198
198
  props: s,
199
199
  update: U,
200
200
  not_equal: i,
201
- bound: nt(),
201
+ bound: rt(),
202
202
  // lifecycle
203
203
  on_mount: [],
204
204
  on_destroy: [],
@@ -207,28 +207,28 @@ function wr(e, t, r, n, i, s, o = null, a = [-1]) {
207
207
  after_update: [],
208
208
  context: new Map(t.context || (l ? l.$$.context : [])),
209
209
  // everything else
210
- callbacks: nt(),
210
+ callbacks: rt(),
211
211
  dirty: a,
212
212
  skip_bound: !1,
213
213
  root: t.target || l.$$.root
214
214
  };
215
215
  o && o(u.root);
216
216
  let h = !1;
217
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...E) => {
218
- const x = E.length ? E[0] : c;
219
- return u.ctx && i(u.ctx[f], u.ctx[f] = x) && (!u.skip_bound && u.bound[f] && u.bound[f](x), h && Br(e, f)), c;
220
- }) : [], u.update(), h = !0, V(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
217
+ if (u.ctx = r(e, t.props || {}, (c, f, ...v) => {
218
+ const E = v.length ? v[0] : f;
219
+ return u.ctx && i(u.ctx[c], u.ctx[c] = E) && (!u.skip_bound && u.bound[c] && u.bound[c](E), h && Cr(e, c)), f;
220
+ }), u.update(), h = !0, V(u.before_update), u.fragment = n(u.ctx), t.target) {
221
221
  if (t.hydrate) {
222
- const f = gr(t.target);
223
- u.fragment && u.fragment.l(f), f.forEach(N);
222
+ const c = br(t.target);
223
+ u.fragment && u.fragment.l(c), c.forEach(N);
224
224
  } else
225
225
  u.fragment && u.fragment.c();
226
- t.intro && Ar(e.$$.fragment), Hr(e, t.target, t.anchor), C();
226
+ t.intro && Tr(e.$$.fragment), Ar(e, t.target, t.anchor), C();
227
227
  }
228
228
  le(l);
229
229
  }
230
- let It;
231
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
230
+ let wt;
231
+ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
232
232
  /** The Svelte component constructor */
233
233
  $$ctor;
234
234
  /** Slots */
@@ -287,7 +287,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
287
287
  };
288
288
  if (await Promise.resolve(), !this.$$cn || this.$$c)
289
289
  return;
290
- const t = {}, r = pr(this);
290
+ const t = {}, r = gr(this);
291
291
  for (const i of this.$$s)
292
292
  i in r && (t[i] = [e(i)]);
293
293
  for (const i of this.attributes) {
@@ -374,8 +374,8 @@ function pe(e, t, r, n) {
374
374
  return t;
375
375
  }
376
376
  }
377
- function Ir(e, t, r, n, i, s) {
378
- let o = class extends It {
377
+ function wr(e, t, r, n, i, s) {
378
+ let o = class extends wt {
379
379
  constructor() {
380
380
  super(e, r, i), this.$$p_d = t;
381
381
  }
@@ -403,7 +403,7 @@ function Ir(e, t, r, n, i, s) {
403
403
  }), e.element = /** @type {any} */
404
404
  o, o;
405
405
  }
406
- class Nr {
406
+ class Ir {
407
407
  /**
408
408
  * ### PRIVATE API
409
409
  *
@@ -422,7 +422,7 @@ class Nr {
422
422
  $$set = void 0;
423
423
  /** @returns {void} */
424
424
  $destroy() {
425
- Cr(this, 1), this.$destroy = U;
425
+ Hr(this, 1), this.$destroy = U;
426
426
  }
427
427
  /**
428
428
  * @template {Extract<keyof Events, string>} K
@@ -444,13 +444,13 @@ class Nr {
444
444
  * @returns {void}
445
445
  */
446
446
  $set(t) {
447
- this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
+ this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
448
  }
449
449
  }
450
- const Mr = "4";
451
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mr);
450
+ const Nr = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
452
452
  const q = [];
453
- function Or(e, t) {
453
+ function Mr(e, t) {
454
454
  return {
455
455
  subscribe: Se(e, t).subscribe
456
456
  };
@@ -459,7 +459,7 @@ function Se(e, t = U) {
459
459
  let r;
460
460
  const n = /* @__PURE__ */ new Set();
461
461
  function i(a) {
462
- if (Bt(e, a) && (e = a, r)) {
462
+ if (Ct(e, a) && (e = a, r)) {
463
463
  const l = !q.length;
464
464
  for (const u of n)
465
465
  u[1](), q.push(u, e);
@@ -486,96 +486,96 @@ function ie(e, t, r) {
486
486
  if (!i.every(Boolean))
487
487
  throw new Error("derived() expects stores as input, got a falsy value");
488
488
  const s = t.length < 2;
489
- return Or(r, (o, a) => {
489
+ return Mr(r, (o, a) => {
490
490
  let l = !1;
491
491
  const u = [];
492
- let h = 0, f = U;
493
- const c = () => {
492
+ let h = 0, c = U;
493
+ const f = () => {
494
494
  if (h)
495
495
  return;
496
- f();
497
- const x = t(n ? u[0] : u, o, a);
498
- s ? o(x) : f = me(x) ? x : U;
499
- }, E = i.map(
500
- (x, g) => wt(
501
- x,
496
+ c();
497
+ const E = t(n ? u[0] : u, o, a);
498
+ s ? o(E) : c = me(E) ? E : U;
499
+ }, v = i.map(
500
+ (E, g) => Bt(
501
+ E,
502
502
  (y) => {
503
- u[g] = y, h &= ~(1 << g), l && c();
503
+ u[g] = y, h &= ~(1 << g), l && f();
504
504
  },
505
505
  () => {
506
506
  h |= 1 << g;
507
507
  }
508
508
  )
509
509
  );
510
- return l = !0, c(), function() {
511
- V(E), f(), l = !1;
510
+ return l = !0, f(), function() {
511
+ V(v), c(), l = !1;
512
512
  };
513
513
  });
514
514
  }
515
- function Pr(e) {
516
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
515
+ function Or(e) {
516
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
517
517
  }
518
- var Lr = function(t) {
519
- return Rr(t) && !Dr(t);
518
+ var Pr = function(t) {
519
+ return Lr(t) && !Rr(t);
520
520
  };
521
- function Rr(e) {
521
+ function Lr(e) {
522
522
  return !!e && typeof e == "object";
523
523
  }
524
- function Dr(e) {
524
+ function Rr(e) {
525
525
  var t = Object.prototype.toString.call(e);
526
- return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
526
+ return t === "[object RegExp]" || t === "[object Date]" || Ur(e);
527
527
  }
528
- var kr = typeof Symbol == "function" && Symbol.for, Ur = kr ? Symbol.for("react.element") : 60103;
529
- function Fr(e) {
530
- return e.$$typeof === Ur;
528
+ var Dr = typeof Symbol == "function" && Symbol.for, kr = Dr ? Symbol.for("react.element") : 60103;
529
+ function Ur(e) {
530
+ return e.$$typeof === kr;
531
531
  }
532
- function Gr(e) {
532
+ function Fr(e) {
533
533
  return Array.isArray(e) ? [] : {};
534
534
  }
535
- function ce(e, t) {
536
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Gr(e), e, t) : e;
535
+ function fe(e, t) {
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Fr(e), e, t) : e;
537
537
  }
538
- function $r(e, t, r) {
538
+ function Gr(e, t, r) {
539
539
  return e.concat(t).map(function(n) {
540
- return ce(n, r);
540
+ return fe(n, r);
541
541
  });
542
542
  }
543
- function jr(e, t) {
543
+ function $r(e, t) {
544
544
  if (!t.customMerge)
545
545
  return ee;
546
546
  var r = t.customMerge(e);
547
547
  return typeof r == "function" ? r : ee;
548
548
  }
549
- function Vr(e) {
549
+ function jr(e) {
550
550
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
551
551
  return Object.propertyIsEnumerable.call(e, t);
552
552
  }) : [];
553
553
  }
554
- function st(e) {
555
- return Object.keys(e).concat(Vr(e));
554
+ function it(e) {
555
+ return Object.keys(e).concat(jr(e));
556
556
  }
557
- function Nt(e, t) {
557
+ function It(e, t) {
558
558
  try {
559
559
  return t in e;
560
560
  } catch {
561
561
  return !1;
562
562
  }
563
563
  }
564
- function Jr(e, t) {
565
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
564
+ function Vr(e, t) {
565
+ return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
566
566
  }
567
- function zr(e, t, r) {
567
+ function Jr(e, t, r) {
568
568
  var n = {};
569
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
570
- n[i] = ce(e[i], r);
571
- }), st(t).forEach(function(i) {
572
- Jr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
569
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
570
+ n[i] = fe(e[i], r);
571
+ }), it(t).forEach(function(i) {
572
+ Vr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
573
573
  }), n;
574
574
  }
575
575
  function ee(e, t, r) {
576
- r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = ce;
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gr, r.isMergeableObject = r.isMergeableObject || Pr, r.cloneUnlessOtherwiseSpecified = fe;
577
577
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
578
- return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : ce(t, r);
578
+ return s ? n ? r.arrayMerge(e, t, r) : Jr(e, t, r) : fe(t, r);
579
579
  }
580
580
  ee.all = function(t, r) {
581
581
  if (!Array.isArray(t))
@@ -584,8 +584,8 @@ ee.all = function(t, r) {
584
584
  return ee(n, i, r);
585
585
  }, {});
586
586
  };
587
- var Wr = ee, Xr = Wr;
588
- const Zr = /* @__PURE__ */ Pr(Xr);
587
+ var zr = ee, Wr = zr;
588
+ const Xr = /* @__PURE__ */ Or(Wr);
589
589
  /*! *****************************************************************************
590
590
  Copyright (c) Microsoft Corporation.
591
591
 
@@ -627,7 +627,7 @@ var S = function() {
627
627
  return t;
628
628
  }, S.apply(this, arguments);
629
629
  };
630
- function qr(e, t) {
630
+ function Zr(e, t) {
631
631
  var r = {};
632
632
  for (var n in e)
633
633
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -643,55 +643,57 @@ function Oe(e, t, r) {
643
643
  return e.concat(s || t);
644
644
  }
645
645
  function Pe(e, t) {
646
- var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Yr;
646
+ var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : Qr;
647
647
  return i(e, {
648
648
  cache: r,
649
649
  serializer: n
650
650
  });
651
651
  }
652
- function Qr(e) {
652
+ function qr(e) {
653
653
  return e == null || typeof e == "number" || typeof e == "boolean";
654
654
  }
655
- function Mt(e, t, r, n) {
656
- var i = Qr(n) ? n : r(n), s = t.get(i);
655
+ function Nt(e, t, r, n) {
656
+ var i = qr(n) ? n : r(n), s = t.get(i);
657
657
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
658
658
  }
659
- function Ot(e, t, r) {
659
+ function Mt(e, t, r) {
660
660
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
661
661
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
662
662
  }
663
663
  function Ye(e, t, r, n, i) {
664
664
  return r.bind(t, e, n, i);
665
665
  }
666
- function Yr(e, t) {
667
- var r = e.length === 1 ? Mt : Ot;
666
+ function Qr(e, t) {
667
+ var r = e.length === 1 ? Nt : Mt;
668
668
  return Ye(e, this, r, t.cache.create(), t.serializer);
669
669
  }
670
- function Kr(e, t) {
671
- return Ye(e, this, Ot, t.cache.create(), t.serializer);
672
- }
673
- function en(e, t) {
670
+ function Yr(e, t) {
674
671
  return Ye(e, this, Mt, t.cache.create(), t.serializer);
675
672
  }
676
- var tn = function() {
677
- return JSON.stringify(arguments);
678
- };
679
- function Ke() {
680
- this.cache = /* @__PURE__ */ Object.create(null);
673
+ function Kr(e, t) {
674
+ return Ye(e, this, Nt, t.cache.create(), t.serializer);
681
675
  }
682
- Ke.prototype.get = function(e) {
683
- return this.cache[e];
684
- };
685
- Ke.prototype.set = function(e, t) {
686
- this.cache[e] = t;
687
- };
688
- var rn = {
676
+ var en = function() {
677
+ return JSON.stringify(arguments);
678
+ }, tn = (
679
+ /** @class */
680
+ function() {
681
+ function e() {
682
+ this.cache = /* @__PURE__ */ Object.create(null);
683
+ }
684
+ return e.prototype.get = function(t) {
685
+ return this.cache[t];
686
+ }, e.prototype.set = function(t, r) {
687
+ this.cache[t] = r;
688
+ }, e;
689
+ }()
690
+ ), rn = {
689
691
  create: function() {
690
- return new Ke();
692
+ return new tn();
691
693
  }
692
694
  }, Le = {
693
- variadic: Kr,
694
- monadic: en
695
+ variadic: Yr,
696
+ monadic: Kr
695
697
  }, p;
696
698
  (function(e) {
697
699
  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";
@@ -704,40 +706,40 @@ var te;
704
706
  (function(e) {
705
707
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
706
708
  })(te || (te = {}));
707
- function at(e) {
709
+ function st(e) {
708
710
  return e.type === H.literal;
709
711
  }
710
712
  function nn(e) {
711
713
  return e.type === H.argument;
712
714
  }
713
- function Pt(e) {
715
+ function Ot(e) {
714
716
  return e.type === H.number;
715
717
  }
716
- function Lt(e) {
718
+ function Pt(e) {
717
719
  return e.type === H.date;
718
720
  }
719
- function Rt(e) {
721
+ function Lt(e) {
720
722
  return e.type === H.time;
721
723
  }
722
- function Dt(e) {
724
+ function Rt(e) {
723
725
  return e.type === H.select;
724
726
  }
725
- function kt(e) {
727
+ function Dt(e) {
726
728
  return e.type === H.plural;
727
729
  }
728
730
  function sn(e) {
729
731
  return e.type === H.pound;
730
732
  }
731
- function Ut(e) {
733
+ function kt(e) {
732
734
  return e.type === H.tag;
733
735
  }
734
- function Ft(e) {
736
+ function Ut(e) {
735
737
  return !!(e && typeof e == "object" && e.type === te.number);
736
738
  }
737
739
  function Ve(e) {
738
740
  return !!(e && typeof e == "object" && e.type === te.dateTime);
739
741
  }
740
- var Gt = /[ \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;
742
+ var Ft = /[ \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;
741
743
  function on(e) {
742
744
  var t = {};
743
745
  return e.replace(an, function(r) {
@@ -833,15 +835,15 @@ var un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
833
835
  function ln(e) {
834
836
  if (e.length === 0)
835
837
  throw new Error("Number skeleton cannot be empty");
836
- for (var t = e.split(un).filter(function(c) {
837
- return c.length > 0;
838
+ for (var t = e.split(un).filter(function(f) {
839
+ return f.length > 0;
838
840
  }), r = [], n = 0, i = t; n < i.length; n++) {
839
841
  var s = i[n], o = s.split("/");
840
842
  if (o.length === 0)
841
843
  throw new Error("Invalid number skeleton");
842
844
  for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
843
- var f = h[u];
844
- if (f.length === 0)
845
+ var c = h[u];
846
+ if (c.length === 0)
845
847
  throw new Error("Invalid number skeleton");
846
848
  }
847
849
  r.push({ stem: a, options: l });
@@ -851,14 +853,14 @@ function ln(e) {
851
853
  function hn(e) {
852
854
  return e.replace(/^(.*?)-/, "");
853
855
  }
854
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
855
- function ut(e) {
856
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
857
+ function ot(e) {
856
858
  var t = {};
857
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
859
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
858
860
  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)), "";
859
861
  }), t;
860
862
  }
861
- function Vt(e) {
863
+ function jt(e) {
862
864
  switch (e) {
863
865
  case "sign-auto":
864
866
  return {
@@ -898,7 +900,7 @@ function Vt(e) {
898
900
  };
899
901
  }
900
902
  }
901
- function fn(e) {
903
+ function cn(e) {
902
904
  var t;
903
905
  if (e[0] === "E" && e[1] === "E" ? (t = {
904
906
  notation: "engineering"
@@ -906,14 +908,14 @@ function fn(e) {
906
908
  notation: "scientific"
907
909
  }, e = e.slice(1)), t) {
908
910
  var r = e.slice(0, 2);
909
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
911
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
910
912
  throw new Error("Malformed concise eng/scientific notation");
911
913
  t.minimumIntegerDigits = e.length;
912
914
  }
913
915
  return t;
914
916
  }
915
- function lt(e) {
916
- var t = {}, r = Vt(e);
917
+ function ut(e) {
918
+ var t = {}, r = jt(e);
917
919
  return r || t;
918
920
  }
919
921
  function mn(e) {
@@ -952,12 +954,12 @@ function mn(e) {
952
954
  continue;
953
955
  case "scientific":
954
956
  t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
955
- return S(S({}, l), lt(u));
957
+ return S(S({}, l), ut(u));
956
958
  }, {}));
957
959
  continue;
958
960
  case "engineering":
959
961
  t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
960
- return S(S({}, l), lt(u));
962
+ return S(S({}, l), ut(u));
961
963
  }, {}));
962
964
  continue;
963
965
  case "notation-simple":
@@ -1002,40 +1004,40 @@ function mn(e) {
1002
1004
  case "integer-width":
1003
1005
  if (i.options.length > 1)
1004
1006
  throw new RangeError("integer-width stems only accept a single optional option");
1005
- i.options[0].replace(cn, function(l, u, h, f, c, E) {
1007
+ i.options[0].replace(fn, function(l, u, h, c, f, v) {
1006
1008
  if (u)
1007
1009
  t.minimumIntegerDigits = h.length;
1008
1010
  else {
1009
- if (f && c)
1011
+ if (c && f)
1010
1012
  throw new Error("We currently do not support maximum integer digits");
1011
- if (E)
1013
+ if (v)
1012
1014
  throw new Error("We currently do not support exact integer digits");
1013
1015
  }
1014
1016
  return "";
1015
1017
  });
1016
1018
  continue;
1017
1019
  }
1018
- if (jt.test(i.stem)) {
1020
+ if ($t.test(i.stem)) {
1019
1021
  t.minimumIntegerDigits = i.stem.length;
1020
1022
  continue;
1021
1023
  }
1022
- if (ot.test(i.stem)) {
1024
+ if (at.test(i.stem)) {
1023
1025
  if (i.options.length > 1)
1024
1026
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1025
- i.stem.replace(ot, function(l, u, h, f, c, E) {
1026
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && E ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1027
+ i.stem.replace(at, function(l, u, h, c, f, v) {
1028
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1027
1029
  });
1028
1030
  var s = i.options[0];
1029
- s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), ut(s)));
1031
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), ot(s)));
1030
1032
  continue;
1031
1033
  }
1032
- if ($t.test(i.stem)) {
1033
- t = S(S({}, t), ut(i.stem));
1034
+ if (Gt.test(i.stem)) {
1035
+ t = S(S({}, t), ot(i.stem));
1034
1036
  continue;
1035
1037
  }
1036
- var o = Vt(i.stem);
1038
+ var o = jt(i.stem);
1037
1039
  o && (t = S(S({}, t), o));
1038
- var a = fn(i.stem);
1040
+ var a = cn(i.stem);
1039
1041
  a && (t = S(S({}, t), a));
1040
1042
  }
1041
1043
  return t;
@@ -2493,20 +2495,20 @@ function bn(e) {
2493
2495
  var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2494
2496
  return i[0];
2495
2497
  }
2496
- var Re, gn = new RegExp("^".concat(Gt.source, "*")), pn = new RegExp("".concat(Gt.source, "*$"));
2497
- function v(e, t) {
2498
+ var Re, gn = new RegExp("^".concat(Ft.source, "*")), pn = new RegExp("".concat(Ft.source, "*$"));
2499
+ function x(e, t) {
2498
2500
  return { start: e, end: t };
2499
2501
  }
2500
- var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, vn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, Sn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, An = Tn ? Number.isSafeInteger : function(e) {
2502
+ var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, xn = !!Object.fromEntries, En = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, Sn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, An = Tn ? Number.isSafeInteger : function(e) {
2501
2503
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2502
2504
  }, Je = !0;
2503
2505
  try {
2504
- var Hn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2506
+ var Hn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2505
2507
  Je = ((Re = Hn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
2506
2508
  } catch {
2507
2509
  Je = !1;
2508
2510
  }
2509
- var ht = yn ? (
2511
+ var lt = yn ? (
2510
2512
  // Native
2511
2513
  function(t, r, n) {
2512
2514
  return t.startsWith(r, n);
@@ -2528,9 +2530,9 @@ var ht = yn ? (
2528
2530
  }
2529
2531
  return n;
2530
2532
  }
2531
- ), ct = (
2533
+ ), ht = (
2532
2534
  // native
2533
- vn ? Object.fromEntries : (
2535
+ xn ? Object.fromEntries : (
2534
2536
  // Ponyfill
2535
2537
  function(t) {
2536
2538
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2540,7 +2542,7 @@ var ht = yn ? (
2540
2542
  return r;
2541
2543
  }
2542
2544
  )
2543
- ), Jt = xn ? (
2545
+ ), Vt = En ? (
2544
2546
  // Native
2545
2547
  function(t, r) {
2546
2548
  return t.codePointAt(r);
@@ -2554,7 +2556,7 @@ var ht = yn ? (
2554
2556
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2555
2557
  }
2556
2558
  }
2557
- ), Cn = En ? (
2559
+ ), Cn = vn ? (
2558
2560
  // Native
2559
2561
  function(t) {
2560
2562
  return t.trimStart();
@@ -2575,12 +2577,12 @@ var ht = yn ? (
2575
2577
  return t.replace(pn, "");
2576
2578
  }
2577
2579
  );
2578
- function zt(e, t) {
2580
+ function Jt(e, t) {
2579
2581
  return new RegExp(e, t);
2580
2582
  }
2581
2583
  var We;
2582
2584
  if (Je) {
2583
- var ft = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2585
+ var ft = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2584
2586
  We = function(t, r) {
2585
2587
  var n;
2586
2588
  ft.lastIndex = r;
@@ -2590,8 +2592,8 @@ if (Je) {
2590
2592
  } else
2591
2593
  We = function(t, r) {
2592
2594
  for (var n = []; ; ) {
2593
- var i = Jt(t, r);
2594
- if (i === void 0 || Wt(i) || Mn(i))
2595
+ var i = Vt(t, r);
2596
+ if (i === void 0 || zt(i) || Mn(i))
2595
2597
  break;
2596
2598
  n.push(i), r += i >= 65536 ? 2 : 1;
2597
2599
  }
@@ -2622,12 +2624,12 @@ var wn = (
2622
2624
  var a = this.clonePosition();
2623
2625
  this.bump(), i.push({
2624
2626
  type: H.pound,
2625
- location: v(a, this.clonePosition())
2627
+ location: x(a, this.clonePosition())
2626
2628
  });
2627
2629
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2628
2630
  if (n)
2629
2631
  break;
2630
- return this.error(p.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2632
+ return this.error(p.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2631
2633
  } else if (s === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
2632
2634
  var o = this.parseTag(t, r);
2633
2635
  if (o.err)
@@ -2651,7 +2653,7 @@ var wn = (
2651
2653
  val: {
2652
2654
  type: H.literal,
2653
2655
  value: "<".concat(i, "/>"),
2654
- location: v(n, this.clonePosition())
2656
+ location: x(n, this.clonePosition())
2655
2657
  },
2656
2658
  err: null
2657
2659
  };
@@ -2662,21 +2664,21 @@ var wn = (
2662
2664
  var o = s.val, a = this.clonePosition();
2663
2665
  if (this.bumpIf("</")) {
2664
2666
  if (this.isEOF() || !Xe(this.char()))
2665
- return this.error(p.INVALID_TAG, v(a, this.clonePosition()));
2667
+ return this.error(p.INVALID_TAG, x(a, this.clonePosition()));
2666
2668
  var l = this.clonePosition(), u = this.parseTagName();
2667
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2669
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2668
2670
  val: {
2669
2671
  type: H.tag,
2670
2672
  value: i,
2671
2673
  children: o,
2672
- location: v(n, this.clonePosition())
2674
+ location: x(n, this.clonePosition())
2673
2675
  },
2674
2676
  err: null
2675
- } : this.error(p.INVALID_TAG, v(a, this.clonePosition())));
2677
+ } : this.error(p.INVALID_TAG, x(a, this.clonePosition())));
2676
2678
  } else
2677
- return this.error(p.UNCLOSED_TAG, v(n, this.clonePosition()));
2679
+ return this.error(p.UNCLOSED_TAG, x(n, this.clonePosition()));
2678
2680
  } else
2679
- return this.error(p.INVALID_TAG, v(n, this.clonePosition()));
2681
+ return this.error(p.INVALID_TAG, x(n, this.clonePosition()));
2680
2682
  }, e.prototype.parseTagName = function() {
2681
2683
  var t = this.offset();
2682
2684
  for (this.bump(); !this.isEOF() && Nn(this.char()); )
@@ -2701,7 +2703,7 @@ var wn = (
2701
2703
  }
2702
2704
  break;
2703
2705
  }
2704
- var l = v(n, this.clonePosition());
2706
+ var l = x(n, this.clonePosition());
2705
2707
  return {
2706
2708
  val: { type: H.literal, value: i, location: l },
2707
2709
  err: null
@@ -2751,14 +2753,14 @@ var wn = (
2751
2753
  }, e.prototype.parseArgument = function(t, r) {
2752
2754
  var n = this.clonePosition();
2753
2755
  if (this.bump(), this.bumpSpace(), this.isEOF())
2754
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2756
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2755
2757
  if (this.char() === 125)
2756
- return this.bump(), this.error(p.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2758
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2757
2759
  var i = this.parseIdentifierIfPossible().value;
2758
2760
  if (!i)
2759
- return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2761
+ return this.error(p.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2760
2762
  if (this.bumpSpace(), this.isEOF())
2761
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2763
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2762
2764
  switch (this.char()) {
2763
2765
  case 125:
2764
2766
  return this.bump(), {
@@ -2766,25 +2768,25 @@ var wn = (
2766
2768
  type: H.argument,
2767
2769
  // value does not include the opening and closing braces.
2768
2770
  value: i,
2769
- location: v(n, this.clonePosition())
2771
+ location: x(n, this.clonePosition())
2770
2772
  },
2771
2773
  err: null
2772
2774
  };
2773
2775
  case 44:
2774
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2776
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2775
2777
  default:
2776
- return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2778
+ return this.error(p.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2777
2779
  }
2778
2780
  }, e.prototype.parseIdentifierIfPossible = function() {
2779
2781
  var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
2780
2782
  this.bumpTo(i);
2781
- var s = this.clonePosition(), o = v(t, s);
2783
+ var s = this.clonePosition(), o = x(t, s);
2782
2784
  return { value: n, location: o };
2783
2785
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2784
2786
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2785
2787
  switch (a) {
2786
2788
  case "":
2787
- return this.error(p.EXPECT_ARGUMENT_TYPE, v(o, l));
2789
+ return this.error(p.EXPECT_ARGUMENT_TYPE, x(o, l));
2788
2790
  case "number":
2789
2791
  case "date":
2790
2792
  case "time": {
@@ -2792,25 +2794,25 @@ var wn = (
2792
2794
  var u = null;
2793
2795
  if (this.bumpIf(",")) {
2794
2796
  this.bumpSpace();
2795
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2796
- if (f.err)
2797
- return f;
2798
- var c = Bn(f.val);
2799
- if (c.length === 0)
2800
- return this.error(p.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2801
- var E = v(h, this.clonePosition());
2802
- u = { style: c, styleLocation: E };
2797
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2798
+ if (c.err)
2799
+ return c;
2800
+ var f = Bn(c.val);
2801
+ if (f.length === 0)
2802
+ return this.error(p.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2803
+ var v = x(h, this.clonePosition());
2804
+ u = { style: f, styleLocation: v };
2803
2805
  }
2804
- var x = this.tryParseArgumentClose(i);
2805
- if (x.err)
2806
- return x;
2807
- var g = v(i, this.clonePosition());
2808
- if (u && ht(u?.style, "::", 0)) {
2806
+ var E = this.tryParseArgumentClose(i);
2807
+ if (E.err)
2808
+ return E;
2809
+ var g = x(i, this.clonePosition());
2810
+ if (u && lt(u?.style, "::", 0)) {
2809
2811
  var y = Cn(u.style.slice(2));
2810
2812
  if (a === "number") {
2811
- var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
2812
- return f.err ? f : {
2813
- val: { type: H.number, value: n, location: g, style: f.val },
2813
+ var c = this.parseNumberSkeletonFromString(y, u.styleLocation);
2814
+ return c.err ? c : {
2815
+ val: { type: H.number, value: n, location: g, style: c.val },
2814
2816
  err: null
2815
2817
  };
2816
2818
  } else {
@@ -2818,14 +2820,14 @@ var wn = (
2818
2820
  return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2819
2821
  var T = y;
2820
2822
  this.locale && (T = dn(y, this.locale));
2821
- var c = {
2823
+ var f = {
2822
2824
  type: te.dateTime,
2823
2825
  pattern: T,
2824
2826
  location: u.styleLocation,
2825
2827
  parsedOptions: this.shouldParseSkeletons ? on(T) : {}
2826
2828
  }, d = a === "date" ? H.date : H.time;
2827
2829
  return {
2828
- val: { type: d, value: n, location: g, style: c },
2830
+ val: { type: d, value: n, location: g, style: f },
2829
2831
  err: null
2830
2832
  };
2831
2833
  }
@@ -2845,30 +2847,30 @@ var wn = (
2845
2847
  case "select": {
2846
2848
  var _ = this.clonePosition();
2847
2849
  if (this.bumpSpace(), !this.bumpIf(","))
2848
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, S({}, _)));
2850
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, x(_, S({}, _)));
2849
2851
  this.bumpSpace();
2850
2852
  var B = this.parseIdentifierIfPossible(), P = 0;
2851
2853
  if (a !== "select" && B.value === "offset") {
2852
2854
  if (!this.bumpIf(":"))
2853
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2855
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2854
2856
  this.bumpSpace();
2855
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2856
- if (f.err)
2857
- return f;
2858
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), P = f.val;
2857
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2858
+ if (c.err)
2859
+ return c;
2860
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), P = c.val;
2859
2861
  }
2860
2862
  var k = this.tryParsePluralOrSelectOptions(t, a, r, B);
2861
2863
  if (k.err)
2862
2864
  return k;
2863
- var x = this.tryParseArgumentClose(i);
2864
- if (x.err)
2865
- return x;
2866
- var L = v(i, this.clonePosition());
2865
+ var E = this.tryParseArgumentClose(i);
2866
+ if (E.err)
2867
+ return E;
2868
+ var L = x(i, this.clonePosition());
2867
2869
  return a === "select" ? {
2868
2870
  val: {
2869
2871
  type: H.select,
2870
2872
  value: n,
2871
- options: ct(k.val),
2873
+ options: ht(k.val),
2872
2874
  location: L
2873
2875
  },
2874
2876
  err: null
@@ -2876,7 +2878,7 @@ var wn = (
2876
2878
  val: {
2877
2879
  type: H.plural,
2878
2880
  value: n,
2879
- options: ct(k.val),
2881
+ options: ht(k.val),
2880
2882
  offset: P,
2881
2883
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2882
2884
  location: L
@@ -2885,10 +2887,10 @@ var wn = (
2885
2887
  };
2886
2888
  }
2887
2889
  default:
2888
- return this.error(p.INVALID_ARGUMENT_TYPE, v(o, l));
2890
+ return this.error(p.INVALID_ARGUMENT_TYPE, x(o, l));
2889
2891
  }
2890
2892
  }, e.prototype.tryParseArgumentClose = function(t) {
2891
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2893
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2892
2894
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2893
2895
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2894
2896
  var n = this.char();
@@ -2897,7 +2899,7 @@ var wn = (
2897
2899
  this.bump();
2898
2900
  var i = this.clonePosition();
2899
2901
  if (!this.bumpUntil("'"))
2900
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2902
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
2901
2903
  this.bump();
2902
2904
  break;
2903
2905
  }
@@ -2943,36 +2945,36 @@ var wn = (
2943
2945
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2944
2946
  for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2945
2947
  if (u.length === 0) {
2946
- var f = this.clonePosition();
2948
+ var c = this.clonePosition();
2947
2949
  if (r !== "select" && this.bumpIf("=")) {
2948
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2949
- if (c.err)
2950
- return c;
2951
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
2950
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2951
+ if (f.err)
2952
+ return f;
2953
+ h = x(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2952
2954
  } else
2953
2955
  break;
2954
2956
  }
2955
2957
  if (l.has(u))
2956
2958
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2957
2959
  u === "other" && (o = !0), this.bumpSpace();
2958
- var E = this.clonePosition();
2960
+ var v = this.clonePosition();
2959
2961
  if (!this.bumpIf("{"))
2960
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
2961
- var x = this.parseMessage(t + 1, r, n);
2962
- if (x.err)
2963
- return x;
2964
- var g = this.tryParseArgumentClose(E);
2962
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
2963
+ var E = this.parseMessage(t + 1, r, n);
2964
+ if (E.err)
2965
+ return E;
2966
+ var g = this.tryParseArgumentClose(v);
2965
2967
  if (g.err)
2966
2968
  return g;
2967
2969
  a.push([
2968
2970
  u,
2969
2971
  {
2970
- value: x.val,
2971
- location: v(E, this.clonePosition())
2972
+ value: E.val,
2973
+ location: x(v, this.clonePosition())
2972
2974
  }
2973
2975
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2974
2976
  }
2975
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2977
+ return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2976
2978
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2977
2979
  var n = 1, i = this.clonePosition();
2978
2980
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2983,7 +2985,7 @@ var wn = (
2983
2985
  else
2984
2986
  break;
2985
2987
  }
2986
- var l = v(i, this.clonePosition());
2988
+ var l = x(i, this.clonePosition());
2987
2989
  return s ? (o *= n, An(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2988
2990
  }, e.prototype.offset = function() {
2989
2991
  return this.position.offset;
@@ -2999,7 +3001,7 @@ var wn = (
2999
3001
  var t = this.position.offset;
3000
3002
  if (t >= this.message.length)
3001
3003
  throw Error("out of bound");
3002
- var r = Jt(this.message, t);
3004
+ var r = Vt(this.message, t);
3003
3005
  if (r === void 0)
3004
3006
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3005
3007
  return r;
@@ -3018,7 +3020,7 @@ var wn = (
3018
3020
  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);
3019
3021
  }
3020
3022
  }, e.prototype.bumpIf = function(t) {
3021
- if (ht(this.message, t, this.offset())) {
3023
+ if (lt(this.message, t, this.offset())) {
3022
3024
  for (var r = 0; r < t.length; r++)
3023
3025
  this.bump();
3024
3026
  return !0;
@@ -3040,7 +3042,7 @@ var wn = (
3040
3042
  break;
3041
3043
  }
3042
3044
  }, e.prototype.bumpSpace = function() {
3043
- for (; !this.isEOF() && Wt(this.char()); )
3045
+ for (; !this.isEOF() && zt(this.char()); )
3044
3046
  this.bump();
3045
3047
  }, e.prototype.peek = function() {
3046
3048
  if (this.isEOF())
@@ -3059,7 +3061,7 @@ function In(e) {
3059
3061
  function Nn(e) {
3060
3062
  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;
3061
3063
  }
3062
- function Wt(e) {
3064
+ function zt(e) {
3063
3065
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3064
3066
  }
3065
3067
  function Mn(e) {
@@ -3067,11 +3069,11 @@ function Mn(e) {
3067
3069
  }
3068
3070
  function Ze(e) {
3069
3071
  e.forEach(function(t) {
3070
- if (delete t.location, Dt(t) || kt(t))
3072
+ if (delete t.location, Rt(t) || Dt(t))
3071
3073
  for (var r in t.options)
3072
3074
  delete t.options[r].location, Ze(t.options[r].value);
3073
3075
  else
3074
- Pt(t) && Ft(t.style) || (Lt(t) || Rt(t)) && Ve(t.style) ? delete t.style.location : Ut(t) && Ze(t.children);
3076
+ Ot(t) && Ut(t.style) || (Pt(t) || Lt(t)) && Ve(t.style) ? delete t.style.location : kt(t) && Ze(t.children);
3075
3077
  });
3076
3078
  }
3077
3079
  function On(e, t) {
@@ -3099,7 +3101,7 @@ var Ae = (
3099
3101
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3100
3102
  }, t;
3101
3103
  }(Error)
3102
- ), mt = (
3104
+ ), ct = (
3103
3105
  /** @class */
3104
3106
  function(e) {
3105
3107
  Te(t, e);
@@ -3140,7 +3142,7 @@ function Dn(e) {
3140
3142
  return typeof e == "function";
3141
3143
  }
3142
3144
  function ye(e, t, r, n, i, s, o) {
3143
- if (e.length === 1 && at(e[0]))
3145
+ if (e.length === 1 && st(e[0]))
3144
3146
  return [
3145
3147
  {
3146
3148
  type: R.literal,
@@ -3149,7 +3151,7 @@ function ye(e, t, r, n, i, s, o) {
3149
3151
  ];
3150
3152
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3151
3153
  var h = u[l];
3152
- if (at(h)) {
3154
+ if (st(h)) {
3153
3155
  a.push({
3154
3156
  type: R.literal,
3155
3157
  value: h.value
@@ -3163,46 +3165,46 @@ function ye(e, t, r, n, i, s, o) {
3163
3165
  });
3164
3166
  continue;
3165
3167
  }
3166
- var f = h.value;
3167
- if (!(i && f in i))
3168
- throw new Ln(f, o);
3169
- var c = i[f];
3168
+ var c = h.value;
3169
+ if (!(i && c in i))
3170
+ throw new Ln(c, o);
3171
+ var f = i[c];
3170
3172
  if (nn(h)) {
3171
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3172
- type: typeof c == "string" ? R.literal : R.object,
3173
- value: c
3173
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3174
+ type: typeof f == "string" ? R.literal : R.object,
3175
+ value: f
3174
3176
  });
3175
3177
  continue;
3176
3178
  }
3177
- if (Lt(h)) {
3178
- var E = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3179
+ if (Pt(h)) {
3180
+ var v = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3179
3181
  a.push({
3180
3182
  type: R.literal,
3181
- value: r.getDateTimeFormat(t, E).format(c)
3183
+ value: r.getDateTimeFormat(t, v).format(f)
3182
3184
  });
3183
3185
  continue;
3184
3186
  }
3185
- if (Rt(h)) {
3186
- var E = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3187
+ if (Lt(h)) {
3188
+ var v = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3187
3189
  a.push({
3188
3190
  type: R.literal,
3189
- value: r.getDateTimeFormat(t, E).format(c)
3191
+ value: r.getDateTimeFormat(t, v).format(f)
3190
3192
  });
3191
3193
  continue;
3192
3194
  }
3193
- if (Pt(h)) {
3194
- var E = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3195
- E && E.scale && (c = c * (E.scale || 1)), a.push({
3195
+ if (Ot(h)) {
3196
+ var v = typeof h.style == "string" ? n.number[h.style] : Ut(h.style) ? h.style.parsedOptions : void 0;
3197
+ v && v.scale && (f = f * (v.scale || 1)), a.push({
3196
3198
  type: R.literal,
3197
- value: r.getNumberFormat(t, E).format(c)
3199
+ value: r.getNumberFormat(t, v).format(f)
3198
3200
  });
3199
3201
  continue;
3200
3202
  }
3201
- if (Ut(h)) {
3202
- var x = h.children, g = h.value, y = i[g];
3203
+ if (kt(h)) {
3204
+ var E = h.children, g = h.value, y = i[g];
3203
3205
  if (!Dn(y))
3204
3206
  throw new Pn(g, "function", o);
3205
- var T = ye(x, t, r, n, i, s), d = y(T.map(function(P) {
3207
+ var T = ye(E, t, r, n, i, s), d = y(T.map(function(P) {
3206
3208
  return P.value;
3207
3209
  }));
3208
3210
  Array.isArray(d) || (d = [d]), a.push.apply(a, d.map(function(P) {
@@ -3212,26 +3214,26 @@ function ye(e, t, r, n, i, s, o) {
3212
3214
  };
3213
3215
  }));
3214
3216
  }
3215
- if (Dt(h)) {
3216
- var _ = h.options[c] || h.options.other;
3217
+ if (Rt(h)) {
3218
+ var _ = h.options[f] || h.options.other;
3217
3219
  if (!_)
3218
- throw new mt(h.value, c, Object.keys(h.options), o);
3220
+ throw new ct(h.value, f, Object.keys(h.options), o);
3219
3221
  a.push.apply(a, ye(_.value, t, r, n, i));
3220
3222
  continue;
3221
3223
  }
3222
- if (kt(h)) {
3223
- var _ = h.options["=".concat(c)];
3224
+ if (Dt(h)) {
3225
+ var _ = h.options["=".concat(f)];
3224
3226
  if (!_) {
3225
3227
  if (!Intl.PluralRules)
3226
3228
  throw new Ae(`Intl.PluralRules is not available in this environment.
3227
3229
  Try polyfilling it using "@formatjs/intl-pluralrules"
3228
3230
  `, re.MISSING_INTL_API, o);
3229
- var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3231
+ var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3230
3232
  _ = h.options[B] || h.options.other;
3231
3233
  }
3232
3234
  if (!_)
3233
- throw new mt(h.value, c, Object.keys(h.options), o);
3234
- a.push.apply(a, ye(_.value, t, r, n, i, c - (h.offset || 0)));
3235
+ throw new ct(h.value, f, Object.keys(h.options), o);
3236
+ a.push.apply(a, ye(_.value, t, r, n, i, f - (h.offset || 0)));
3235
3237
  continue;
3236
3238
  }
3237
3239
  }
@@ -3307,8 +3309,8 @@ var Gn = (
3307
3309
  var u = s.formatToParts(l);
3308
3310
  if (u.length === 1)
3309
3311
  return u[0].value;
3310
- var h = u.reduce(function(f, c) {
3311
- return !f.length || c.type !== R.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3312
+ var h = u.reduce(function(c, f) {
3313
+ return !c.length || f.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3312
3314
  }, []);
3313
3315
  return h.length <= 1 ? h[0] || "" : h;
3314
3316
  }, this.formatToParts = function(l) {
@@ -3325,7 +3327,7 @@ var Gn = (
3325
3327
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3326
3328
  var o = i || {};
3327
3329
  o.formatters;
3328
- var a = qr(o, ["formatters"]);
3330
+ var a = Zr(o, ["formatters"]);
3329
3331
  this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3330
3332
  } else
3331
3333
  this.ast = t;
@@ -3426,7 +3428,7 @@ function $n(e, t) {
3426
3428
  n = void 0;
3427
3429
  return n;
3428
3430
  }
3429
- const $ = {}, jn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Xt = (e, t) => {
3431
+ const $ = {}, jn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Wt = (e, t) => {
3430
3432
  if (t == null)
3431
3433
  return;
3432
3434
  if (t in $ && e in $[t])
@@ -3438,16 +3440,16 @@ const $ = {}, jn = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][
3438
3440
  return jn(e, t, s);
3439
3441
  }
3440
3442
  };
3441
- let et;
3443
+ let Ke;
3442
3444
  const se = Se({});
3443
3445
  function Vn(e) {
3444
- return et[e] || null;
3446
+ return Ke[e] || null;
3445
3447
  }
3446
- function Zt(e) {
3447
- return e in et;
3448
+ function Xt(e) {
3449
+ return e in Ke;
3448
3450
  }
3449
3451
  function Jn(e, t) {
3450
- if (!Zt(e))
3452
+ if (!Xt(e))
3451
3453
  return null;
3452
3454
  const r = Vn(e);
3453
3455
  return $n(r, t);
@@ -3458,28 +3460,28 @@ function zn(e) {
3458
3460
  const t = He(e);
3459
3461
  for (let r = 0; r < t.length; r++) {
3460
3462
  const n = t[r];
3461
- if (Zt(n))
3463
+ if (Xt(n))
3462
3464
  return n;
3463
3465
  }
3464
3466
  }
3465
- function qt(e, ...t) {
3466
- delete $[e], se.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3467
+ function Zt(e, ...t) {
3468
+ delete $[e], se.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
3467
3469
  }
3468
3470
  ie(
3469
3471
  [se],
3470
3472
  ([e]) => Object.keys(e)
3471
3473
  );
3472
- se.subscribe((e) => et = e);
3474
+ se.subscribe((e) => Ke = e);
3473
3475
  const _e = {};
3474
3476
  function Wn(e, t) {
3475
3477
  _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3476
3478
  }
3477
- function Qt(e) {
3479
+ function qt(e) {
3478
3480
  return _e[e];
3479
3481
  }
3480
3482
  function Xn(e) {
3481
3483
  return He(e).map((t) => {
3482
- const r = Qt(t);
3484
+ const r = qt(t);
3483
3485
  return [t, r ? [...r] : []];
3484
3486
  }).filter(([, t]) => t.length > 0);
3485
3487
  }
@@ -3487,17 +3489,17 @@ function qe(e) {
3487
3489
  return e == null ? !1 : He(e).some(
3488
3490
  (t) => {
3489
3491
  var r;
3490
- return (r = Qt(t)) == null ? void 0 : r.size;
3492
+ return (r = qt(t)) == null ? void 0 : r.size;
3491
3493
  }
3492
3494
  );
3493
3495
  }
3494
3496
  function Zn(e, t) {
3495
3497
  return Promise.all(
3496
3498
  t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3497
- ).then((n) => qt(e, ...n));
3499
+ ).then((n) => Zt(e, ...n));
3498
3500
  }
3499
3501
  const ue = {};
3500
- function Yt(e) {
3502
+ function Qt(e) {
3501
3503
  if (!qe(e))
3502
3504
  return e in ue ? ue[e] : Promise.resolve();
3503
3505
  const t = Xn(e);
@@ -3507,7 +3509,7 @@ function Yt(e) {
3507
3509
  )
3508
3510
  ).then(() => {
3509
3511
  if (qe(e))
3510
- return Yt(e);
3512
+ return Qt(e);
3511
3513
  delete ue[e];
3512
3514
  }), ue[e];
3513
3515
  }
@@ -3552,27 +3554,27 @@ function ne() {
3552
3554
  return Yn;
3553
3555
  }
3554
3556
  const ke = Se(!1);
3555
- var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
3556
- for (var r in t || (t = {}))
3557
- ri.call(t, r) && bt(e, r, t[r]);
3558
- if (dt)
3559
- for (var r of dt(t))
3560
- ni.call(t, r) && bt(e, r, t[r]);
3557
+ var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
3558
+ for (var r in t)
3559
+ ri.call(t, r) && dt(e, r, t[r]);
3560
+ if (mt)
3561
+ for (var r of mt(t))
3562
+ ni.call(t, r) && dt(e, r, t[r]);
3561
3563
  return e;
3562
3564
  }, si = (e, t) => ei(e, ti(t));
3563
3565
  let Qe;
3564
- const ve = Se(null);
3565
- function gt(e) {
3566
+ const xe = Se(null);
3567
+ function bt(e) {
3566
3568
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3567
3569
  }
3568
3570
  function He(e, t = ne().fallbackLocale) {
3569
- const r = gt(e);
3570
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3571
+ const r = bt(e);
3572
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3571
3573
  }
3572
3574
  function z() {
3573
3575
  return Qe ?? void 0;
3574
3576
  }
3575
- ve.subscribe((e) => {
3577
+ xe.subscribe((e) => {
3576
3578
  Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3577
3579
  });
3578
3580
  const ai = (e) => {
@@ -3582,14 +3584,14 @@ const ai = (e) => {
3582
3584
  return typeof window < "u" && z() != null && t ? r = window.setTimeout(
3583
3585
  () => ke.set(!0),
3584
3586
  t
3585
- ) : ke.set(!0), Yt(e).then(() => {
3586
- ve.set(e);
3587
+ ) : ke.set(!0), Qt(e).then(() => {
3588
+ xe.set(e);
3587
3589
  }).finally(() => {
3588
3590
  clearTimeout(r), ke.set(!1);
3589
3591
  });
3590
3592
  }
3591
- return ve.set(e);
3592
- }, j = si(ii({}, ve), {
3593
+ return xe.set(e);
3594
+ }, j = si(ii({}, xe), {
3593
3595
  set: ai
3594
3596
  }), Ce = (e) => {
3595
3597
  const t = /* @__PURE__ */ Object.create(null);
@@ -3598,23 +3600,23 @@ const ai = (e) => {
3598
3600
  return i in t ? t[i] : t[i] = e(n);
3599
3601
  };
3600
3602
  };
3601
- var oi = Object.defineProperty, xe = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
3603
+ var oi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
3602
3604
  for (var r in t || (t = {}))
3603
- Kt.call(t, r) && pt(e, r, t[r]);
3604
- if (xe)
3605
- for (var r of xe(t))
3606
- er.call(t, r) && pt(e, r, t[r]);
3605
+ Yt.call(t, r) && gt(e, r, t[r]);
3606
+ if (Ee)
3607
+ for (var r of Ee(t))
3608
+ Kt.call(t, r) && gt(e, r, t[r]);
3607
3609
  return e;
3608
3610
  }, ae = (e, t) => {
3609
3611
  var r = {};
3610
3612
  for (var n in e)
3611
- Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3612
- if (e != null && xe)
3613
- for (var n of xe(e))
3614
- t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3613
+ Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3614
+ if (e != null && Ee)
3615
+ for (var n of Ee(e))
3616
+ t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
3615
3617
  return r;
3616
3618
  };
3617
- const fe = (e, t) => {
3619
+ const ce = (e, t) => {
3618
3620
  const { formats: r } = ne();
3619
3621
  if (e in r && t in r[e])
3620
3622
  return r[e][t];
@@ -3624,14 +3626,14 @@ const fe = (e, t) => {
3624
3626
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3625
3627
  if (r == null)
3626
3628
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3627
- return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
3629
+ return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3628
3630
  }
3629
3631
  ), li = Ce(
3630
3632
  (e) => {
3631
3633
  var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3632
3634
  if (r == null)
3633
3635
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3634
- return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
3636
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3635
3637
  }
3636
3638
  ), hi = Ce(
3637
3639
  (e) => {
@@ -3640,29 +3642,29 @@ const fe = (e, t) => {
3640
3642
  throw new Error(
3641
3643
  '[svelte-i18n] A "locale" must be set to format time values'
3642
3644
  );
3643
- return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
3645
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3644
3646
  }
3645
- ), ci = (e = {}) => {
3647
+ ), fi = (e = {}) => {
3646
3648
  var t = e, {
3647
3649
  locale: r = z()
3648
3650
  } = t, n = ae(t, [
3649
3651
  "locale"
3650
3652
  ]);
3651
- return ui(tt({ locale: r }, n));
3652
- }, fi = (e = {}) => {
3653
+ return ui(et({ locale: r }, n));
3654
+ }, ci = (e = {}) => {
3653
3655
  var t = e, {
3654
3656
  locale: r = z()
3655
3657
  } = t, n = ae(t, [
3656
3658
  "locale"
3657
3659
  ]);
3658
- return li(tt({ locale: r }, n));
3660
+ return li(et({ locale: r }, n));
3659
3661
  }, mi = (e = {}) => {
3660
3662
  var t = e, {
3661
3663
  locale: r = z()
3662
3664
  } = t, n = ae(t, [
3663
3665
  "locale"
3664
3666
  ]);
3665
- return hi(tt({ locale: r }, n));
3667
+ return hi(et({ locale: r }, n));
3666
3668
  }, di = Ce(
3667
3669
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3668
3670
  (e, t = z()) => new Gn(e, t, ne().formats, {
@@ -3681,7 +3683,7 @@ const fe = (e, t) => {
3681
3683
  throw new Error(
3682
3684
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3683
3685
  );
3684
- let h = Xt(e, l);
3686
+ let h = Wt(e, l);
3685
3687
  if (!h)
3686
3688
  h = (s = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3687
3689
  else if (typeof h != "string")
@@ -3690,33 +3692,33 @@ const fe = (e, t) => {
3690
3692
  ), h;
3691
3693
  if (!a)
3692
3694
  return h;
3693
- let f = h;
3695
+ let c = h;
3694
3696
  try {
3695
- f = di(h, l).format(a);
3696
- } catch (c) {
3697
- c instanceof Error && console.warn(
3697
+ c = di(h, l).format(a);
3698
+ } catch (f) {
3699
+ f instanceof Error && console.warn(
3698
3700
  `[svelte-i18n] Message "${e}" has syntax error:`,
3699
- c.message
3701
+ f.message
3700
3702
  );
3701
3703
  }
3702
- return f;
3703
- }, gi = (e, t) => mi(t).format(e), pi = (e, t) => fi(t).format(e), yi = (e, t) => ci(t).format(e), _i = (e, t = z()) => Xt(e, t), vi = ie([j, se], () => bi);
3704
+ return c;
3705
+ }, gi = (e, t) => mi(t).format(e), pi = (e, t) => ci(t).format(e), yi = (e, t) => fi(t).format(e), _i = (e, t = z()) => Wt(e, t), xi = ie([j, se], () => bi);
3704
3706
  ie([j], () => gi);
3705
3707
  ie([j], () => pi);
3706
3708
  ie([j], () => yi);
3707
3709
  ie([j, se], () => _i);
3708
- function xi({ withLocale: e, translations: t }) {
3710
+ function Ei({ withLocale: e, translations: t }) {
3709
3711
  j.subscribe((r) => {
3710
3712
  r == null && (se.set(t), j.set(e));
3711
3713
  });
3712
3714
  }
3713
- function yt(e, t) {
3714
- qt(e, t);
3715
+ function pt(e, t) {
3716
+ Zt(e, t);
3715
3717
  }
3716
- function Ei(e) {
3718
+ function vi(e) {
3717
3719
  j.set(e);
3718
3720
  }
3719
- const _t = {
3721
+ const yt = {
3720
3722
  en: {
3721
3723
  enrolled: "Enrolled",
3722
3724
  scoreCriteria: "Score Criteria",
@@ -4074,7 +4076,7 @@ function Ai(e, t, r) {
4074
4076
  function Hi(e) {
4075
4077
  fr(e, "svelte-52u9sp", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{cursor:pointer;position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{cursor:pointer;font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4076
4078
  }
4077
- function vt(e) {
4079
+ function _t(e) {
4078
4080
  let t, r, n;
4079
4081
  return {
4080
4082
  c() {
@@ -4089,35 +4091,35 @@ function vt(e) {
4089
4091
  };
4090
4092
  }
4091
4093
  function xt(e) {
4092
- let t, r, n, i, s, o, a, l, u, h, f = (
4094
+ let t, r, n, i, s, o, a, l, u, h, c = (
4093
4095
  /*status*/
4094
4096
  e[0] && Et(e)
4095
- ), c = (
4097
+ ), f = (
4096
4098
  /*showenrolled*/
4097
- e[6] == "true" && St(e)
4099
+ e[6] == "true" && vt(e)
4098
4100
  );
4099
- function E(d, _) {
4101
+ function v(d, _) {
4100
4102
  return (
4101
4103
  /*thumbnail*/
4102
4104
  d[3] ? Bi : Ci
4103
4105
  );
4104
4106
  }
4105
- let x = E(e), g = x(e), y = (
4107
+ let E = v(e), g = E(e), y = (
4106
4108
  /*startdate*/
4107
- e[2] && At(e)
4109
+ e[2] && Tt(e)
4108
4110
  ), T = (
4109
4111
  /*isLoggedIn*/
4110
- e[11] && Ht(e)
4112
+ e[11] && At(e)
4111
4113
  );
4112
4114
  return {
4113
4115
  c() {
4114
- f && f.c(), t = G(), c && c.c(), r = G(), g.c(), n = G(), i = w("div"), s = w("div"), o = D(
4116
+ c && c.c(), t = G(), f && f.c(), r = G(), g.c(), n = G(), i = w("div"), s = w("div"), o = D(
4115
4117
  /*title*/
4116
4118
  e[1]
4117
4119
  ), a = G(), y && y.c(), l = G(), T && T.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4118
4120
  },
4119
4121
  m(d, _) {
4120
- f && f.m(d, _), O(d, t, _), c && c.m(d, _), O(d, r, _), g.m(d, _), O(d, n, _), O(d, i, _), A(i, s), A(s, o), A(i, a), y && y.m(i, null), A(i, l), T && T.m(i, null), u || (h = Ee(
4122
+ c && c.m(d, _), O(d, t, _), f && f.m(d, _), O(d, r, _), g.m(d, _), O(d, n, _), O(d, i, _), A(i, s), A(s, o), A(i, a), y && y.m(i, null), A(i, l), T && T.m(i, null), u || (h = ve(
4121
4123
  s,
4122
4124
  "click",
4123
4125
  /*detailsAction*/
@@ -4126,18 +4128,18 @@ function xt(e) {
4126
4128
  },
4127
4129
  p(d, _) {
4128
4130
  /*status*/
4129
- d[0] ? f ? f.p(d, _) : (f = Et(d), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), /*showenrolled*/
4130
- d[6] == "true" ? c ? c.p(d, _) : (c = St(d), c.c(), c.m(r.parentNode, r)) : c && (c.d(1), c = null), x === (x = E(d)) && g ? g.p(d, _) : (g.d(1), g = x(d), g && (g.c(), g.m(n.parentNode, n))), _[0] & /*title*/
4131
+ d[0] ? c ? c.p(d, _) : (c = Et(d), c.c(), c.m(t.parentNode, t)) : c && (c.d(1), c = null), /*showenrolled*/
4132
+ d[6] == "true" ? f ? f.p(d, _) : (f = vt(d), f.c(), f.m(r.parentNode, r)) : f && (f.d(1), f = null), E === (E = v(d)) && g ? g.p(d, _) : (g.d(1), g = E(d), g && (g.c(), g.m(n.parentNode, n))), _[0] & /*title*/
4131
4133
  2 && F(
4132
4134
  o,
4133
4135
  /*title*/
4134
4136
  d[1]
4135
4137
  ), /*startdate*/
4136
- d[2] ? y ? y.p(d, _) : (y = At(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4137
- d[11] ? T ? T.p(d, _) : (T = Ht(d), T.c(), T.m(i, null)) : T && (T.d(1), T = null);
4138
+ d[2] ? y ? y.p(d, _) : (y = Tt(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4139
+ d[11] ? T ? T.p(d, _) : (T = At(d), T.c(), T.m(i, null)) : T && (T.d(1), T = null);
4138
4140
  },
4139
4141
  d(d) {
4140
- d && (N(t), N(r), N(n), N(i)), f && f.d(d), c && c.d(d), g.d(d), y && y.d(), T && T.d(), u = !1, h();
4142
+ d && (N(t), N(r), N(n), N(i)), c && c.d(d), f && f.d(d), g.d(d), y && y.d(), T && T.d(), u = !1, h();
4141
4143
  }
4142
4144
  };
4143
4145
  }
@@ -4175,28 +4177,28 @@ function Et(e) {
4175
4177
  }
4176
4178
  };
4177
4179
  }
4178
- function St(e) {
4180
+ function vt(e) {
4179
4181
  let t, r = (
4180
4182
  /*userenrolled*/
4181
- e[4] && Tt(e)
4183
+ e[4] && St(e)
4182
4184
  );
4183
4185
  return {
4184
4186
  c() {
4185
- r && r.c(), t = br();
4187
+ r && r.c(), t = dr();
4186
4188
  },
4187
4189
  m(n, i) {
4188
4190
  r && r.m(n, i), O(n, t, i);
4189
4191
  },
4190
4192
  p(n, i) {
4191
4193
  /*userenrolled*/
4192
- n[4] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4194
+ n[4] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4193
4195
  },
4194
4196
  d(n) {
4195
4197
  n && N(t), r && r.d(n);
4196
4198
  }
4197
4199
  };
4198
4200
  }
4199
- function Tt(e) {
4201
+ function St(e) {
4200
4202
  let t, r = (
4201
4203
  /*$_*/
4202
4204
  e[15]("enrolled") + ""
@@ -4234,7 +4236,7 @@ function Ci(e) {
4234
4236
  /*matchStatus*/
4235
4237
  e[17].call(null, t)
4236
4238
  ),
4237
- Ee(
4239
+ ve(
4238
4240
  t,
4239
4241
  "click",
4240
4242
  /*detailsAction*/
@@ -4273,7 +4275,7 @@ function Bi(e) {
4273
4275
  /*matchStatus*/
4274
4276
  e[17].call(null, t)
4275
4277
  ),
4276
- Ee(
4278
+ ve(
4277
4279
  t,
4278
4280
  "click",
4279
4281
  /*detailsAction*/
@@ -4297,7 +4299,7 @@ function Bi(e) {
4297
4299
  }
4298
4300
  };
4299
4301
  }
4300
- function At(e) {
4302
+ function Tt(e) {
4301
4303
  let t, r, n, i, s;
4302
4304
  return {
4303
4305
  c() {
@@ -4333,14 +4335,14 @@ function At(e) {
4333
4335
  }
4334
4336
  };
4335
4337
  }
4336
- function Ht(e) {
4338
+ function At(e) {
4337
4339
  let t, r, n = (
4338
4340
  /*$_*/
4339
4341
  e[15]("scoreCriteria") + ""
4340
4342
  ), i, s, o, a, l, u = (
4341
4343
  /*$_*/
4342
4344
  e[15]("minbet") + ""
4343
- ), h, f, c, E, x, g, y, T = (
4345
+ ), h, c, f, v, E, g, y, T = (
4344
4346
  /*$_*/
4345
4347
  e[15]("seegames") + ""
4346
4348
  ), d, _, B, P = (
@@ -4355,10 +4357,10 @@ function Ht(e) {
4355
4357
  /*showScoreCriteria*/
4356
4358
  e[13]
4357
4359
  ), l = D(`
4358
- (`), h = D(u), f = G(), c = D(
4360
+ (`), h = D(u), c = G(), f = D(
4359
4361
  /*minbetcount*/
4360
4362
  e[5]
4361
- ), E = D(")"), x = G(), g = w("div"), y = w("p"), d = D(T), _ = G(), B = w("a"), k = D(P), b(o, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4363
+ ), v = D(")"), E = G(), g = w("div"), y = w("p"), d = D(T), _ = G(), B = w("a"), k = D(P), b(o, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4362
4364
  B,
4363
4365
  "href",
4364
4366
  /*gameurl*/
@@ -4367,12 +4369,12 @@ function Ht(e) {
4367
4369
  e[8] === "true" ? "_self" : "_blank"), b(y, "part", "GamesP"), b(g, "class", "Games"), b(g, "part", "Games");
4368
4370
  },
4369
4371
  m(I, M) {
4370
- O(I, t, M), A(t, r), A(r, i), A(r, s), A(r, o), A(o, a), A(r, l), A(r, h), A(r, f), A(r, c), A(r, E), O(I, x, M), O(I, g, M), A(g, y), A(y, d), A(y, _), A(y, B), A(B, k), W || (J = [
4372
+ O(I, t, M), A(t, r), A(r, i), A(r, s), A(r, o), A(o, a), A(r, l), A(r, h), A(r, c), A(r, f), A(r, v), O(I, E, M), O(I, g, M), A(g, y), A(y, d), A(y, _), A(y, B), A(B, k), W || (J = [
4371
4373
  de(
4372
4374
  /*matchScoreCriteria*/
4373
4375
  e[18].call(null, o)
4374
4376
  ),
4375
- Ee(
4377
+ ve(
4376
4378
  B,
4377
4379
  "click",
4378
4380
  /*tournamentGamesClicked*/
@@ -4392,7 +4394,7 @@ function Ht(e) {
4392
4394
  32768 && u !== (u = /*$_*/
4393
4395
  I[15]("minbet") + "") && F(h, u), M[0] & /*minbetcount*/
4394
4396
  32 && F(
4395
- c,
4397
+ f,
4396
4398
  /*minbetcount*/
4397
4399
  I[5]
4398
4400
  ), M[0] & /*$_*/
@@ -4410,14 +4412,14 @@ function Ht(e) {
4410
4412
  I[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4411
4413
  },
4412
4414
  d(I) {
4413
- I && (N(t), N(x), N(g)), W = !1, V(J);
4415
+ I && (N(t), N(E), N(g)), W = !1, V(J);
4414
4416
  }
4415
4417
  };
4416
4418
  }
4417
4419
  function wi(e) {
4418
4420
  let t, r, n, i = (
4419
4421
  /*title*/
4420
- e[1] === "undefined" && vt()
4422
+ e[1] === "undefined" && _t()
4421
4423
  ), s = (
4422
4424
  /*title*/
4423
4425
  e[1] !== "undefined" && xt(e)
@@ -4432,7 +4434,7 @@ function wi(e) {
4432
4434
  },
4433
4435
  p(o, a) {
4434
4436
  /*title*/
4435
- o[1] === "undefined" ? i || (i = vt(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4437
+ o[1] === "undefined" ? i || (i = _t(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4436
4438
  o[1] !== "undefined" ? s ? s.p(o, a) : (s = xt(o), s.c(), s.m(t, null)) : s && (s.d(1), s = null), a[0] & /*title*/
4437
4439
  2 && n !== (n = `Thumbnail ${/*title*/
4438
4440
  o[1] === "undefined" ? "Loading" : ""}`) && b(t, "class", n);
@@ -4446,39 +4448,39 @@ function wi(e) {
4446
4448
  }
4447
4449
  function Ii(e, t, r) {
4448
4450
  let n;
4449
- cr(e, vi, (m) => r(15, n = m));
4450
- let { session: i = "" } = t, { userid: s = "" } = t, { title: o = "" } = t, { startdate: a = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: E = "" } = t, { showenrolled: x = "false" } = t, { detailsevent: g = "" } = t, { gameurl: y = "" } = t, { lang: T = "en" } = t, { keepbrowsercontext: d = "false" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: P = "" } = t, { mbsource: k } = t, L, W = "", J = !1, I = "", M = "", oe = "";
4451
- xi({ withLocale: "en", translations: {} });
4452
- const tr = () => {
4451
+ hr(e, xi, (m) => r(15, n = m));
4452
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: o = "" } = t, { startdate: a = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: v = "" } = t, { showenrolled: E = "false" } = t, { detailsevent: g = "" } = t, { gameurl: y = "" } = t, { lang: T = "en" } = t, { keepbrowsercontext: d = "false" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: P = "" } = t, { mbsource: k } = t, L, W = "", J = !1, I = "", M = "", oe = "";
4453
+ Ei({ withLocale: "en", translations: {} });
4454
+ const er = () => {
4453
4455
  fetch(P).then((m) => m.json()).then((m) => {
4454
4456
  Object.keys(m).forEach((X) => {
4455
- yt(X, m[X]);
4457
+ pt(X, m[X]);
4456
4458
  }), a && Ne();
4457
4459
  }).catch((m) => {
4458
4460
  console.log(m);
4459
4461
  });
4460
4462
  };
4461
- Object.keys(_t).forEach((m) => {
4462
- yt(m, _t[m]);
4463
+ Object.keys(yt).forEach((m) => {
4464
+ pt(m, yt[m]);
4463
4465
  });
4464
- const rt = (m) => {
4466
+ const tt = (m) => {
4465
4467
  m.data && (m.data && m.data.type == "SessionID" && r(11, J = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4466
4468
  }, Be = () => {
4467
4469
  const m = { month: "long" };
4468
- let X = new Date(a), ar = new Intl.DateTimeFormat("en", m).format(X), or = X.getDate(), ur = X.toLocaleString("en-GB", {
4470
+ let X = new Date(a), sr = new Intl.DateTimeFormat("en", m).format(X), ar = X.getDate(), or = X.toLocaleString("en-GB", {
4469
4471
  hour: "numeric",
4470
4472
  minute: "numeric",
4471
4473
  hour12: !1
4472
4474
  });
4473
- const lr = () => n(l === "Running" ? "startedAt" : "startingAt");
4474
- r(10, W = `${or} ` + n(`${ar}`) + ", " + lr() + ` ${ur}`);
4475
+ const ur = () => n(l === "Running" ? "startedAt" : "startingAt");
4476
+ r(10, W = `${ar} ` + n(`${sr}`) + ", " + ur() + ` ${or}`);
4475
4477
  }, we = () => {
4476
4478
  l == "Unstarted" && (r(12, I = n("scheduled")), r(14, oe = "StatusUnstarted")), l == "Running" && (r(12, I = n("ongoing")), r(14, oe = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, I = n("finished")), l == "Closed" && r(14, oe = "StatusClosed"), l == "Closing" && r(14, oe = "StatusClosing");
4477
4479
  }, Ie = () => {
4478
- c == "BetCount" && r(13, M = n("betCount")), c == "MaxWinStakeRatio" && r(13, M = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(13, M = n("winStakeRatio")), c == "Stake" && r(13, M = n("stake"));
4479
- }, rr = () => {
4480
+ f == "BetCount" && r(13, M = n("betCount")), f == "MaxWinStakeRatio" && r(13, M = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(13, M = n("winStakeRatio")), f == "Stake" && r(13, M = n("stake"));
4481
+ }, tr = () => {
4480
4482
  window.postMessage({ type: "tournamentGamesClicked", tourid: u }, window.location.href);
4481
- }, nr = () => {
4483
+ }, rr = () => {
4482
4484
  g && window.postMessage(
4483
4485
  {
4484
4486
  type: g,
@@ -4487,41 +4489,41 @@ function Ii(e, t, r) {
4487
4489
  },
4488
4490
  window.location.href
4489
4491
  );
4490
- }, ir = () => {
4492
+ }, nr = () => {
4491
4493
  i.length > 0 && i != "false" ? r(11, J = !0) : r(11, J = !1);
4492
4494
  };
4493
- _r(() => (setTimeout(() => Ne(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", rt, !1), () => {
4494
- window.removeEventListener("message", rt);
4495
+ yr(() => (setTimeout(() => Ne(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", tt, !1), () => {
4496
+ window.removeEventListener("message", tt);
4495
4497
  }));
4496
4498
  const Ne = () => {
4497
- Ei(T), Ie(), we(), a && Be();
4499
+ vi(T), Ie(), we(), a && Be();
4498
4500
  };
4499
- function sr(m) {
4501
+ function ir(m) {
4500
4502
  Fe[m ? "unshift" : "push"](() => {
4501
4503
  L = m, r(9, L);
4502
4504
  });
4503
4505
  }
4504
4506
  return e.$$set = (m) => {
4505
- "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, o = m.title), "startdate" in m && r(2, a = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(23, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, f = m.userenrolled), "scorecriteria" in m && r(24, c = m.scorecriteria), "minbetcount" in m && r(5, E = m.minbetcount), "showenrolled" in m && r(6, x = m.showenrolled), "detailsevent" in m && r(25, g = m.detailsevent), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(26, T = m.lang), "keepbrowsercontext" in m && r(8, d = m.keepbrowsercontext), "clientstyling" in m && r(27, _ = m.clientstyling), "clientstylingurl" in m && r(28, B = m.clientstylingurl), "translationurl" in m && r(29, P = m.translationurl), "mbsource" in m && r(30, k = m.mbsource);
4507
+ "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, o = m.title), "startdate" in m && r(2, a = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(23, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, c = m.userenrolled), "scorecriteria" in m && r(24, f = m.scorecriteria), "minbetcount" in m && r(5, v = m.minbetcount), "showenrolled" in m && r(6, E = m.showenrolled), "detailsevent" in m && r(25, g = m.detailsevent), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(26, T = m.lang), "keepbrowsercontext" in m && r(8, d = m.keepbrowsercontext), "clientstyling" in m && r(27, _ = m.clientstyling), "clientstylingurl" in m && r(28, B = m.clientstylingurl), "translationurl" in m && r(29, P = m.translationurl), "mbsource" in m && r(30, k = m.mbsource);
4506
4508
  }, e.$$.update = () => {
4507
4509
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4508
4510
  134218240 && _ && L && Si(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4509
4511
  268435968 && B && L && Ti(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4510
4512
  1073742336 && k && L && Ai(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4511
- 536870912 && P && tr(), e.$$.dirty[0] & /*session*/
4512
- 2097152 && i && ir(), e.$$.dirty[0] & /*status*/
4513
+ 536870912 && P && er(), e.$$.dirty[0] & /*session*/
4514
+ 2097152 && i && nr(), e.$$.dirty[0] & /*status*/
4513
4515
  1 && l && we(), e.$$.dirty[0] & /*title, lang*/
4514
4516
  67108866 && o && T && Ne(), e.$$.dirty[0] & /*startdate*/
4515
4517
  4 && a && Be(), e.$$.dirty[0] & /*scorecriteria*/
4516
- 16777216 && c && Ie();
4518
+ 16777216 && f && Ie();
4517
4519
  }, [
4518
4520
  l,
4519
4521
  o,
4520
4522
  a,
4521
4523
  h,
4522
- f,
4524
+ c,
4525
+ v,
4523
4526
  E,
4524
- x,
4525
4527
  y,
4526
4528
  d,
4527
4529
  L,
@@ -4534,29 +4536,29 @@ function Ii(e, t, r) {
4534
4536
  Be,
4535
4537
  we,
4536
4538
  Ie,
4539
+ tr,
4537
4540
  rr,
4538
- nr,
4539
4541
  i,
4540
4542
  s,
4541
4543
  u,
4542
- c,
4544
+ f,
4543
4545
  g,
4544
4546
  T,
4545
4547
  _,
4546
4548
  B,
4547
4549
  P,
4548
4550
  k,
4549
- sr
4551
+ ir
4550
4552
  ];
4551
4553
  }
4552
- class Ni extends Nr {
4554
+ class Ni extends Ir {
4553
4555
  constructor(t) {
4554
- super(), wr(
4556
+ super(), Br(
4555
4557
  this,
4556
4558
  t,
4557
4559
  Ii,
4558
4560
  wi,
4559
- Bt,
4561
+ Ct,
4560
4562
  {
4561
4563
  session: 21,
4562
4564
  userid: 22,
@@ -4697,7 +4699,7 @@ class Ni extends Nr {
4697
4699
  this.$$set({ mbsource: t }), C();
4698
4700
  }
4699
4701
  }
4700
- Ir(Ni, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4702
+ wr(Ni, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4701
4703
  export {
4702
4704
  Ni as C
4703
4705
  };