@everymatrix/casino-tournaments-thumbnail 1.65.1 → 1.65.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/components/{CasinoTournamentsThumbnail-BK9nRZNz.js → CasinoTournamentsThumbnail-CaOt9UtO.js} +705 -707
  2. package/components/CasinoTournamentsThumbnail-FrytwrLA.cjs +19 -0
  3. package/components/{CasinoTournamentsThumbnail-CVhKm7LC.js → CasinoTournamentsThumbnail-yvPUnBTq.js} +725 -727
  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-BEnqZAxL.js → index-97d17652-ChRvzjAp.js} +186 -186
  9. package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-DKsTmN3Z.js} +175 -175
  10. package/stencil/index-97d17652-qWThG1U9.cjs +1 -0
  11. package/stencil/index-b2193545-C1ayEiG4.js +503 -0
  12. package/stencil/index-b2193545-CyidmLE0.cjs +1 -0
  13. package/stencil/index-b2193545-s3PsNboB.js +519 -0
  14. package/stencil/{ui-image-3hy4ZvUC.js → ui-image-ClXqMGwp.js} +1 -1
  15. package/stencil/{ui-image-DE8MJHCZ.cjs → ui-image-Db5QCSmt.cjs} +1 -1
  16. package/stencil/{ui-image-D0wxuPze.js → ui-image-YphrYZtA.js} +1 -1
  17. package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-B43lELFk.js} +1 -1
  18. package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-CRQDt62Z.cjs} +1 -1
  19. package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-DVcK_myk.js} +1 -1
  20. package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CyHaM9Na.cjs} +1 -1
  21. package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-Df0q0jE8.js} +2 -2
  22. package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-EP2dwjfi.js} +2 -2
  23. package/stencil/{ui-skeleton-1cb75d00-B-R8GbLJ.js → ui-skeleton-1cb75d00-U47XWOV2.js} +1 -1
  24. package/stencil/{ui-skeleton-1cb75d00-Dy30RNE6.js → ui-skeleton-1cb75d00-bf7NJcVF.js} +1 -1
  25. package/stencil/{ui-skeleton-1cb75d00-BTnhspbc.cjs → ui-skeleton-1cb75d00-nmwFu55Y.cjs} +1 -1
  26. package/stencil/{ui-skeleton-CVBjRUvi.js → ui-skeleton-DSlZCsjK.js} +2 -2
  27. package/stencil/{ui-skeleton-se83zfWh.cjs → ui-skeleton-DXCQ8Yoq.cjs} +1 -1
  28. package/stencil/{ui-skeleton-RkXNxPG1.js → ui-skeleton-P9Vv-0Vy.js} +2 -2
  29. package/components/CasinoTournamentsThumbnail-AcOm54GB.cjs +0 -6
  30. package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
  31. package/stencil/index-b2193545-BOMvxBzV.js +0 -519
  32. package/stencil/index-b2193545-CFn9dM-v.js +0 -503
  33. package/stencil/index-b2193545-DPygl1Qn.cjs +0 -1
@@ -1,30 +1,30 @@
1
- import "../stencil/ui-skeleton-RkXNxPG1.js";
2
- import "../stencil/ui-image-D0wxuPze.js";
1
+ import "../stencil/ui-skeleton-P9Vv-0Vy.js";
2
+ import "../stencil/ui-image-YphrYZtA.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
- function ie(e) {
12
- e.forEach(Ct);
11
+ function ne(e) {
12
+ e.forEach(Ht);
13
13
  }
14
- function me(e) {
14
+ function ce(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
- let ge;
21
- function Ue(e, t) {
22
- return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
20
+ let be;
21
+ function De(e, t) {
22
+ return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
23
23
  }
24
- function lr(e) {
24
+ function ur(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,23 +33,23 @@ function wt(e, ...t) {
33
33
  const r = e.subscribe(...t);
34
34
  return r.unsubscribe ? () => r.unsubscribe() : r;
35
35
  }
36
- function hr(e, t, r) {
37
- e.$$.on_destroy.push(wt(t, r));
36
+ function lr(e, t, r) {
37
+ e.$$.on_destroy.push(Bt(t, r));
38
38
  }
39
- function de(e) {
40
- return e && me(e.destroy) ? e.destroy : U;
39
+ function me(e) {
40
+ return e && ce(e.destroy) ? e.destroy : U;
41
41
  }
42
- function x(e, t) {
42
+ function S(e, t) {
43
43
  e.appendChild(t);
44
44
  }
45
- function fr(e, t, r) {
46
- const n = cr(e);
45
+ function hr(e, t, r) {
46
+ const n = fr(e);
47
47
  if (!n.getElementById(t)) {
48
48
  const i = B("style");
49
- i.id = t, i.textContent = r, mr(n, i);
49
+ i.id = t, i.textContent = r, cr(n, i);
50
50
  }
51
51
  }
52
- function cr(e) {
52
+ function fr(e) {
53
53
  if (!e)
54
54
  return document;
55
55
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -59,8 +59,8 @@ function cr(e) {
59
59
  t
60
60
  ) : e.ownerDocument;
61
61
  }
62
- function mr(e, t) {
63
- return x(
62
+ function cr(e, t) {
63
+ return S(
64
64
  /** @type {Document} */
65
65
  e.head || e,
66
66
  t
@@ -69,7 +69,7 @@ function mr(e, t) {
69
69
  function O(e, t, r) {
70
70
  e.insertBefore(t, r || null);
71
71
  }
72
- function I(e) {
72
+ function N(e) {
73
73
  e.parentNode && e.parentNode.removeChild(e);
74
74
  }
75
75
  function B(e) {
@@ -81,27 +81,27 @@ function L(e) {
81
81
  function $() {
82
82
  return L(" ");
83
83
  }
84
- function dr() {
84
+ function mr() {
85
85
  return L("");
86
86
  }
87
- function br(e, t, r, n) {
87
+ function dr(e, t, r, n) {
88
88
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
89
89
  }
90
90
  function p(e, t, r) {
91
91
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
92
92
  }
93
- function Y(e, t, r) {
93
+ function Q(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 : p(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 G(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 */
@@ -110,87 +110,87 @@ function pr(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let he;
114
- function le(e) {
115
- he = e;
113
+ let le;
114
+ function ue(e) {
115
+ le = e;
116
116
  }
117
- function yr() {
118
- if (!he)
117
+ function pr() {
118
+ if (!le)
119
119
  throw new Error("Function called outside component initialization");
120
- return he;
120
+ return le;
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
- const Q = [], Fe = [];
126
- let K = [];
127
- const it = [], Er = /* @__PURE__ */ Promise.resolve();
128
- let Ge = !1;
129
- function vr() {
130
- Ge || (Ge = !0, Er.then(w));
125
+ const q = [], ke = [];
126
+ let Y = [];
127
+ const nt = [], _r = /* @__PURE__ */ Promise.resolve();
128
+ let Ue = !1;
129
+ function xr() {
130
+ Ue || (Ue = !0, _r.then(I));
131
131
  }
132
- function $e(e) {
133
- K.push(e);
132
+ function Fe(e) {
133
+ Y.push(e);
134
134
  }
135
- const Oe = /* @__PURE__ */ new Set();
136
- let Z = 0;
137
- function w() {
138
- if (Z !== 0)
135
+ const Ne = /* @__PURE__ */ new Set();
136
+ let X = 0;
137
+ function I() {
138
+ if (X !== 0)
139
139
  return;
140
- const e = he;
140
+ const e = le;
141
141
  do {
142
142
  try {
143
- for (; Z < Q.length; ) {
144
- const t = Q[Z];
145
- Z++, le(t), xr(t.$$);
143
+ for (; X < q.length; ) {
144
+ const t = q[X];
145
+ X++, ue(t), Er(t.$$);
146
146
  }
147
147
  } catch (t) {
148
- throw Q.length = 0, Z = 0, t;
148
+ throw q.length = 0, X = 0, t;
149
149
  }
150
- for (le(null), Q.length = 0, Z = 0; Fe.length; )
151
- Fe.pop()();
152
- for (let t = 0; t < K.length; t += 1) {
153
- const r = K[t];
154
- Oe.has(r) || (Oe.add(r), r());
150
+ for (ue(null), q.length = 0, X = 0; ke.length; )
151
+ ke.pop()();
152
+ for (let t = 0; t < Y.length; t += 1) {
153
+ const r = Y[t];
154
+ Ne.has(r) || (Ne.add(r), r());
155
155
  }
156
- K.length = 0;
157
- } while (Q.length);
158
- for (; it.length; )
159
- it.pop()();
160
- Ge = !1, Oe.clear(), le(e);
156
+ Y.length = 0;
157
+ } while (q.length);
158
+ for (; nt.length; )
159
+ nt.pop()();
160
+ Ue = !1, Ne.clear(), ue(e);
161
161
  }
162
- function xr(e) {
162
+ function Er(e) {
163
163
  if (e.fragment !== null) {
164
- e.update(), ie(e.before_update);
164
+ e.update(), ne(e.before_update);
165
165
  const t = e.dirty;
166
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Fe);
167
167
  }
168
168
  }
169
- function Sr(e) {
169
+ function vr(e) {
170
170
  const t = [], r = [];
171
- K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
171
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = 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
- n && n.m(t, r), $e(() => {
180
- const s = e.$$.on_mount.map(Ct).filter(me);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
182
- }), i.forEach($e);
179
+ n && n.m(t, r), Fe(() => {
180
+ const s = e.$$.on_mount.map(Ht).filter(ce);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
182
+ }), i.forEach(Fe);
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), ie(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), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
187
  }
188
- function Br(e, t) {
189
- e.$$.dirty[0] === -1 && (Q.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
188
+ function Cr(e, t) {
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, a = null, o = [-1]) {
192
- const l = he;
193
- le(e);
191
+ function Br(e, t, r, n, i, s, a = null, o = [-1]) {
192
+ const l = le;
193
+ ue(e);
194
194
  const u = e.$$ = {
195
195
  fragment: null,
196
196
  ctx: [],
@@ -198,7 +198,7 @@ function wr(e, t, r, n, i, s, a = null, o = [-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,25 +207,25 @@ function wr(e, t, r, n, i, s, a = null, o = [-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: o,
212
212
  skip_bound: !1,
213
213
  root: t.target || l.$$.root
214
214
  };
215
215
  a && a(u.root);
216
216
  let h = !1;
217
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
217
+ if (u.ctx = r(e, t.props || {}, (c, f, ...g) => {
218
218
  const b = g.length ? g[0] : f;
219
- return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && Br(e, c)), f;
220
- }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
219
+ return u.ctx && i(u.ctx[c], u.ctx[c] = b) && (!u.skip_bound && u.bound[c] && u.bound[c](b), h && Cr(e, c)), f;
220
+ }), u.update(), h = !0, ne(u.before_update), u.fragment = n(u.ctx), t.target) {
221
221
  if (t.hydrate) {
222
- const c = gr(t.target);
223
- u.fragment && u.fragment.l(c), c.forEach(I);
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), w();
226
+ t.intro && Tr(e.$$.fragment), Ar(e, t.target, t.anchor), I();
227
227
  }
228
- le(l);
228
+ ue(l);
229
229
  }
230
230
  let It;
231
231
  typeof HTMLElement == "function" && (It = class extends HTMLElement {
@@ -280,19 +280,19 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
280
280
  O(l, s, u);
281
281
  },
282
282
  d: function(l) {
283
- l && I(s);
283
+ l && N(s);
284
284
  }
285
285
  };
286
286
  };
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) {
294
294
  const s = this.$$g_p(i.name);
295
- s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
295
+ s in this.$$d || (this.$$d[s] = pe(s, i.value, this.$$p_d, "toProp"));
296
296
  }
297
297
  for (const i in this.$$p_d)
298
298
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
310
310
  this.$$r = !0;
311
311
  for (const i in this.$$p_d)
312
312
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
313
- const s = ye(
313
+ const s = pe(
314
314
  i,
315
315
  this.$$d[i],
316
316
  this.$$p_d,
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
332
332
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
333
333
  // and setting attributes through setAttribute etc, this is helpful
334
334
  attributeChangedCallback(e, t, r) {
335
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
335
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = pe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
336
336
  }
337
337
  disconnectedCallback() {
338
338
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -345,7 +345,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
345
345
  ) || e;
346
346
  }
347
347
  });
348
- function ye(e, t, r, n) {
348
+ function pe(e, t, r, n) {
349
349
  const i = r[e]?.type;
350
350
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
351
351
  return t;
@@ -391,7 +391,7 @@ function Ir(e, t, r, n, i, s) {
391
391
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
392
392
  },
393
393
  set(l) {
394
- l = ye(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
394
+ l = pe(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
395
395
  }
396
396
  });
397
397
  }), n.forEach((o) => {
@@ -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
@@ -431,7 +431,7 @@ class Nr {
431
431
  * @returns {() => void}
432
432
  */
433
433
  $on(t, r) {
434
- if (!me(r))
434
+ if (!ce(r))
435
435
  return U;
436
436
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
437
437
  return n.push(r), () => {
@@ -444,29 +444,29 @@ class Nr {
444
444
  * @returns {void}
445
445
  */
446
446
  $set(t) {
447
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
447
+ this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
448
  }
449
449
  }
450
- const Or = "4";
451
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
452
- const q = [];
453
- function Pr(e, t) {
450
+ const wr = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
452
+ const Z = [];
453
+ function Or(e, t) {
454
454
  return {
455
- subscribe: Te(e, t).subscribe
455
+ subscribe: ve(e, t).subscribe
456
456
  };
457
457
  }
458
- function Te(e, t = U) {
458
+ function ve(e, t = U) {
459
459
  let r;
460
460
  const n = /* @__PURE__ */ new Set();
461
461
  function i(o) {
462
- if (Bt(e, o) && (e = o, r)) {
463
- const l = !q.length;
462
+ if (Ct(e, o) && (e = o, r)) {
463
+ const l = !Z.length;
464
464
  for (const u of n)
465
- u[1](), q.push(u, e);
465
+ u[1](), Z.push(u, e);
466
466
  if (l) {
467
- for (let u = 0; u < q.length; u += 2)
468
- q[u][0](q[u + 1]);
469
- q.length = 0;
467
+ for (let u = 0; u < Z.length; u += 2)
468
+ Z[u][0](Z[u + 1]);
469
+ Z.length = 0;
470
470
  }
471
471
  }
472
472
  }
@@ -481,12 +481,12 @@ function Te(e, t = U) {
481
481
  }
482
482
  return { set: i, update: s, subscribe: a };
483
483
  }
484
- function se(e, t, r) {
484
+ function ie(e, t, r) {
485
485
  const n = !Array.isArray(e), i = n ? [e] : e;
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 Pr(r, (a, o) => {
489
+ return Or(r, (a, o) => {
490
490
  let l = !1;
491
491
  const u = [];
492
492
  let h = 0, c = U;
@@ -495,9 +495,9 @@ function se(e, t, r) {
495
495
  return;
496
496
  c();
497
497
  const b = t(n ? u[0] : u, a, o);
498
- s ? a(b) : c = me(b) ? b : U;
498
+ s ? a(b) : c = ce(b) ? b : U;
499
499
  }, g = i.map(
500
- (b, y) => wt(
500
+ (b, y) => Bt(
501
501
  b,
502
502
  (d) => {
503
503
  u[y] = d, h &= ~(1 << y), l && f();
@@ -508,51 +508,51 @@ function se(e, t, r) {
508
508
  )
509
509
  );
510
510
  return l = !0, f(), function() {
511
- ie(g), c(), l = !1;
511
+ ne(g), c(), l = !1;
512
512
  };
513
513
  });
514
514
  }
515
- function Mr(e) {
516
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
515
+ function Pr(e) {
516
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
517
517
  }
518
- var Rr = function(t) {
519
- return Lr(t) && !Dr(t);
518
+ var Mr = function(t) {
519
+ return Rr(t) && !Lr(t);
520
520
  };
521
- function Lr(e) {
521
+ function Rr(e) {
522
522
  return !!e && typeof e == "object";
523
523
  }
524
- function Dr(e) {
524
+ function Lr(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 fe(e, t) {
536
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Gr(e), e, t) : e;
535
+ function he(e, t) {
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(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 fe(n, r);
540
+ return he(n, r);
541
541
  });
542
542
  }
543
- function jr(e, t) {
543
+ function $r(e, t) {
544
544
  if (!t.customMerge)
545
- return ee;
545
+ return K;
546
546
  var r = t.customMerge(e);
547
- return typeof r == "function" ? r : ee;
547
+ return typeof r == "function" ? r : K;
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
557
  function Nt(e, t) {
558
558
  try {
@@ -561,59 +561,73 @@ function Nt(e, t) {
561
561
  return !1;
562
562
  }
563
563
  }
564
- function Jr(e, t) {
564
+ function Vr(e, t) {
565
565
  return Nt(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] = fe(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] = fe(t[i], r));
569
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
570
+ n[i] = he(e[i], r);
571
+ }), it(t).forEach(function(i) {
572
+ Vr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
573
573
  }), n;
574
574
  }
575
- function ee(e, t, r) {
576
- r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = fe;
575
+ function K(e, t, r) {
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gr, r.isMergeableObject = r.isMergeableObject || Mr, r.cloneUnlessOtherwiseSpecified = he;
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) : fe(t, r);
578
+ return s ? n ? r.arrayMerge(e, t, r) : Jr(e, t, r) : he(t, r);
579
579
  }
580
- ee.all = function(t, r) {
580
+ K.all = function(t, r) {
581
581
  if (!Array.isArray(t))
582
582
  throw new Error("first argument should be an array");
583
583
  return t.reduce(function(n, i) {
584
- return ee(n, i, r);
584
+ return K(n, i, r);
585
585
  }, {});
586
586
  };
587
- var Wr = ee, Xr = Wr;
588
- const Zr = /* @__PURE__ */ Mr(Xr);
589
- var je = function(e, t) {
590
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
587
+ var zr = K, Wr = zr;
588
+ const Xr = /* @__PURE__ */ Pr(Wr);
589
+ /*! *****************************************************************************
590
+ Copyright (c) Microsoft Corporation.
591
+
592
+ Permission to use, copy, modify, and/or distribute this software for any
593
+ purpose with or without fee is hereby granted.
594
+
595
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
596
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
597
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
598
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
599
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
600
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
601
+ PERFORMANCE OF THIS SOFTWARE.
602
+ ***************************************************************************** */
603
+ var Ge = function(e, t) {
604
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
591
605
  r.__proto__ = n;
592
606
  } || function(r, n) {
593
607
  for (var i in n)
594
608
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
595
- }, je(e, t);
609
+ }, Ge(e, t);
596
610
  };
597
- function Ae(e, t) {
611
+ function Se(e, t) {
598
612
  if (typeof t != "function" && t !== null)
599
613
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
600
- je(e, t);
614
+ Ge(e, t);
601
615
  function r() {
602
616
  this.constructor = e;
603
617
  }
604
618
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
605
619
  }
606
- var j = function() {
607
- return j = Object.assign || function(t) {
620
+ var E = function() {
621
+ return E = Object.assign || function(t) {
608
622
  for (var r, n = 1, i = arguments.length; n < i; n++) {
609
623
  r = arguments[n];
610
624
  for (var s in r)
611
625
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
612
626
  }
613
627
  return t;
614
- }, j.apply(this, arguments);
628
+ }, E.apply(this, arguments);
615
629
  };
616
- function qr(e, t) {
630
+ function Zr(e, t) {
617
631
  var r = {};
618
632
  for (var n in e)
619
633
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -622,43 +636,46 @@ function qr(e, t) {
622
636
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
623
637
  return r;
624
638
  }
625
- function Pe(e, t, r) {
626
- if (r || arguments.length === 2)
639
+ function we(e, t, r) {
640
+ if (arguments.length === 2)
627
641
  for (var n = 0, i = t.length, s; n < i; n++)
628
642
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
629
- return e.concat(s || Array.prototype.slice.call(t));
643
+ return e.concat(s || t);
630
644
  }
631
- function Me(e, t) {
632
- var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Kr;
645
+ function Oe(e, t) {
646
+ var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : Qr;
633
647
  return i(e, {
634
648
  cache: r,
635
649
  serializer: n
636
650
  });
637
651
  }
638
- function Qr(e) {
652
+ function qr(e) {
639
653
  return e == null || typeof e == "number" || typeof e == "boolean";
640
654
  }
641
- function Yr(e, t, r, n) {
642
- var i = Qr(n) ? n : r(n), s = t.get(i);
655
+ function wt(e, t, r, n) {
656
+ var i = qr(n) ? n : r(n), s = t.get(i);
643
657
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
644
658
  }
645
659
  function Ot(e, t, r) {
646
660
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
647
661
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
648
662
  }
649
- function Pt(e, t, r, n, i) {
663
+ function qe(e, t, r, n, i) {
650
664
  return r.bind(t, e, n, i);
651
665
  }
652
- function Kr(e, t) {
653
- var r = e.length === 1 ? Yr : Ot;
654
- return Pt(e, this, r, t.cache.create(), t.serializer);
666
+ function Qr(e, t) {
667
+ var r = e.length === 1 ? wt : Ot;
668
+ return qe(e, this, r, t.cache.create(), t.serializer);
655
669
  }
656
- function en(e, t) {
657
- return Pt(e, this, Ot, t.cache.create(), t.serializer);
670
+ function Yr(e, t) {
671
+ return qe(e, this, Ot, t.cache.create(), t.serializer);
658
672
  }
659
- var tn = function() {
673
+ function Kr(e, t) {
674
+ return qe(e, this, wt, t.cache.create(), t.serializer);
675
+ }
676
+ var en = function() {
660
677
  return JSON.stringify(arguments);
661
- }, rn = (
678
+ }, tn = (
662
679
  /** @class */
663
680
  function() {
664
681
  function e() {
@@ -670,71 +687,62 @@ var tn = function() {
670
687
  this.cache[t] = r;
671
688
  }, e;
672
689
  }()
673
- ), nn = {
690
+ ), rn = {
674
691
  create: function() {
675
- return new rn();
692
+ return new tn();
676
693
  }
677
- }, Re = {
678
- variadic: en
679
- }, ve = function() {
680
- return ve = Object.assign || function(t) {
681
- for (var r, n = 1, i = arguments.length; n < i; n++) {
682
- r = arguments[n];
683
- for (var s in r)
684
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
685
- }
686
- return t;
687
- }, ve.apply(this, arguments);
688
- };
689
- var _;
694
+ }, Pe = {
695
+ variadic: Yr,
696
+ monadic: Kr
697
+ }, _;
690
698
  (function(e) {
691
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";
692
700
  })(_ || (_ = {}));
693
- var S;
701
+ var T;
694
702
  (function(e) {
695
703
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
696
- })(S || (S = {}));
697
- var te;
704
+ })(T || (T = {}));
705
+ var ee;
698
706
  (function(e) {
699
707
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
700
- })(te || (te = {}));
701
- function at(e) {
702
- return e.type === S.literal;
708
+ })(ee || (ee = {}));
709
+ function st(e) {
710
+ return e.type === T.literal;
703
711
  }
704
- function sn(e) {
705
- return e.type === S.argument;
712
+ function nn(e) {
713
+ return e.type === T.argument;
714
+ }
715
+ function Pt(e) {
716
+ return e.type === T.number;
706
717
  }
707
718
  function Mt(e) {
708
- return e.type === S.number;
719
+ return e.type === T.date;
709
720
  }
710
721
  function Rt(e) {
711
- return e.type === S.date;
722
+ return e.type === T.time;
712
723
  }
713
724
  function Lt(e) {
714
- return e.type === S.time;
725
+ return e.type === T.select;
715
726
  }
716
727
  function Dt(e) {
717
- return e.type === S.select;
728
+ return e.type === T.plural;
718
729
  }
719
- function kt(e) {
720
- return e.type === S.plural;
730
+ function sn(e) {
731
+ return e.type === T.pound;
721
732
  }
722
- function an(e) {
723
- return e.type === S.pound;
733
+ function kt(e) {
734
+ return e.type === T.tag;
724
735
  }
725
736
  function Ut(e) {
726
- return e.type === S.tag;
737
+ return !!(e && typeof e == "object" && e.type === ee.number);
727
738
  }
728
- function Ft(e) {
729
- return !!(e && typeof e == "object" && e.type === te.number);
730
- }
731
- function Ve(e) {
732
- return !!(e && typeof e == "object" && e.type === te.dateTime);
739
+ function $e(e) {
740
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
733
741
  }
734
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
735
- function un(e) {
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;
743
+ function on(e) {
736
744
  var t = {};
737
- return e.replace(on, function(r) {
745
+ return e.replace(an, function(r) {
738
746
  var n = r.length;
739
747
  switch (r[0]) {
740
748
  case "G":
@@ -823,21 +831,11 @@ function un(e) {
823
831
  return "";
824
832
  }), t;
825
833
  }
826
- var T = function() {
827
- return T = Object.assign || function(t) {
828
- for (var r, n = 1, i = arguments.length; n < i; n++) {
829
- r = arguments[n];
830
- for (var s in r)
831
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
832
- }
833
- return t;
834
- }, T.apply(this, arguments);
835
- };
836
- var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
- function hn(e) {
834
+ var un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
835
+ function ln(e) {
838
836
  if (e.length === 0)
839
837
  throw new Error("Number skeleton cannot be empty");
840
- for (var t = e.split(ln).filter(function(f) {
838
+ for (var t = e.split(un).filter(function(f) {
841
839
  return f.length > 0;
842
840
  }), r = [], n = 0, i = t; n < i.length; n++) {
843
841
  var s = i[n], a = s.split("/");
@@ -852,17 +850,17 @@ function hn(e) {
852
850
  }
853
851
  return r;
854
852
  }
855
- function fn(e) {
853
+ function hn(e) {
856
854
  return e.replace(/^(.*?)-/, "");
857
855
  }
858
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
859
- function ut(e) {
856
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
857
+ function ot(e) {
860
858
  var t = {};
861
- 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) {
862
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)), "";
863
861
  }), t;
864
862
  }
865
- function Vt(e) {
863
+ function jt(e) {
866
864
  switch (e) {
867
865
  case "sign-auto":
868
866
  return {
@@ -902,7 +900,7 @@ function Vt(e) {
902
900
  };
903
901
  }
904
902
  }
905
- function mn(e) {
903
+ function cn(e) {
906
904
  var t;
907
905
  if (e[0] === "E" && e[1] === "E" ? (t = {
908
906
  notation: "engineering"
@@ -910,17 +908,17 @@ function mn(e) {
910
908
  notation: "scientific"
911
909
  }, e = e.slice(1)), t) {
912
910
  var r = e.slice(0, 2);
913
- 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))
914
912
  throw new Error("Malformed concise eng/scientific notation");
915
913
  t.minimumIntegerDigits = e.length;
916
914
  }
917
915
  return t;
918
916
  }
919
- function lt(e) {
920
- var t = {}, r = Vt(e);
917
+ function ut(e) {
918
+ var t = {}, r = jt(e);
921
919
  return r || t;
922
920
  }
923
- function dn(e) {
921
+ function mn(e) {
924
922
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
925
923
  var i = n[r];
926
924
  switch (i.stem) {
@@ -944,7 +942,7 @@ function dn(e) {
944
942
  continue;
945
943
  case "measure-unit":
946
944
  case "unit":
947
- t.style = "unit", t.unit = fn(i.options[0]);
945
+ t.style = "unit", t.unit = hn(i.options[0]);
948
946
  continue;
949
947
  case "compact-short":
950
948
  case "K":
@@ -955,13 +953,13 @@ function dn(e) {
955
953
  t.notation = "compact", t.compactDisplay = "long";
956
954
  continue;
957
955
  case "scientific":
958
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
959
- return T(T({}, l), lt(u));
956
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
957
+ return E(E({}, l), ut(u));
960
958
  }, {}));
961
959
  continue;
962
960
  case "engineering":
963
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
964
- return T(T({}, l), lt(u));
961
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
962
+ return E(E({}, l), ut(u));
965
963
  }, {}));
966
964
  continue;
967
965
  case "notation-simple":
@@ -1006,7 +1004,7 @@ function dn(e) {
1006
1004
  case "integer-width":
1007
1005
  if (i.options.length > 1)
1008
1006
  throw new RangeError("integer-width stems only accept a single optional option");
1009
- i.options[0].replace(cn, function(l, u, h, c, f, g) {
1007
+ i.options[0].replace(fn, function(l, u, h, c, f, g) {
1010
1008
  if (u)
1011
1009
  t.minimumIntegerDigits = h.length;
1012
1010
  else {
@@ -1019,32 +1017,32 @@ function dn(e) {
1019
1017
  });
1020
1018
  continue;
1021
1019
  }
1022
- if (jt.test(i.stem)) {
1020
+ if ($t.test(i.stem)) {
1023
1021
  t.minimumIntegerDigits = i.stem.length;
1024
1022
  continue;
1025
1023
  }
1026
- if (ot.test(i.stem)) {
1024
+ if (at.test(i.stem)) {
1027
1025
  if (i.options.length > 1)
1028
1026
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1029
- i.stem.replace(ot, function(l, u, h, c, f, g) {
1027
+ i.stem.replace(at, function(l, u, h, c, f, g) {
1030
1028
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1031
1029
  });
1032
1030
  var s = i.options[0];
1033
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), ut(s)));
1031
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ot(s)));
1034
1032
  continue;
1035
1033
  }
1036
- if ($t.test(i.stem)) {
1037
- t = T(T({}, t), ut(i.stem));
1034
+ if (Gt.test(i.stem)) {
1035
+ t = E(E({}, t), ot(i.stem));
1038
1036
  continue;
1039
1037
  }
1040
- var a = Vt(i.stem);
1041
- a && (t = T(T({}, t), a));
1042
- var o = mn(i.stem);
1043
- o && (t = T(T({}, t), o));
1038
+ var a = jt(i.stem);
1039
+ a && (t = E(E({}, t), a));
1040
+ var o = cn(i.stem);
1041
+ o && (t = E(E({}, t), o));
1044
1042
  }
1045
1043
  return t;
1046
1044
  }
1047
- var pe = {
1045
+ var ge = {
1048
1046
  "001": [
1049
1047
  "H",
1050
1048
  "h"
@@ -2459,13 +2457,13 @@ var pe = {
2459
2457
  "h"
2460
2458
  ]
2461
2459
  };
2462
- function bn(e, t) {
2460
+ function dn(e, t) {
2463
2461
  for (var r = "", n = 0; n < e.length; n++) {
2464
2462
  var i = e.charAt(n);
2465
2463
  if (i === "j") {
2466
2464
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2467
2465
  s++, n++;
2468
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = gn(t);
2466
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = bn(t);
2469
2467
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2470
2468
  r += l;
2471
2469
  for (; a-- > 0; )
@@ -2475,7 +2473,7 @@ function bn(e, t) {
2475
2473
  }
2476
2474
  return r;
2477
2475
  }
2478
- function gn(e) {
2476
+ function bn(e) {
2479
2477
  var t = e.hourCycle;
2480
2478
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2481
2479
  e.hourCycles && // @ts-ignore
@@ -2494,23 +2492,23 @@ function gn(e) {
2494
2492
  }
2495
2493
  var r = e.language, n;
2496
2494
  r !== "root" && (n = e.maximize().region);
2497
- var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
2495
+ var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2498
2496
  return i[0];
2499
2497
  }
2500
- var Le, pn = new RegExp("^".concat(Gt.source, "*")), yn = new RegExp("".concat(Gt.source, "*$"));
2501
- function E(e, t) {
2498
+ var Me, gn = new RegExp("^".concat(Ft.source, "*")), pn = new RegExp("".concat(Ft.source, "*$"));
2499
+ function x(e, t) {
2502
2500
  return { start: e, end: t };
2503
2501
  }
2504
- var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, vn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Hn = An ? 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) {
2505
2503
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2506
- }, Je = !0;
2504
+ }, je = !0;
2507
2505
  try {
2508
- var Cn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2509
- Je = ((Le = Cn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2506
+ var Hn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2507
+ je = ((Me = Hn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2510
2508
  } catch {
2511
- Je = !1;
2509
+ je = !1;
2512
2510
  }
2513
- var ht = _n ? (
2511
+ var lt = yn ? (
2514
2512
  // Native
2515
2513
  function(t, r, n) {
2516
2514
  return t.startsWith(r, n);
@@ -2520,7 +2518,7 @@ var ht = _n ? (
2520
2518
  function(t, r, n) {
2521
2519
  return t.slice(n, n + r.length) === r;
2522
2520
  }
2523
- ), ze = En ? String.fromCodePoint : (
2521
+ ), Ve = _n ? String.fromCodePoint : (
2524
2522
  // IE11
2525
2523
  function() {
2526
2524
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2532,9 +2530,9 @@ var ht = _n ? (
2532
2530
  }
2533
2531
  return n;
2534
2532
  }
2535
- ), ft = (
2533
+ ), ht = (
2536
2534
  // native
2537
- vn ? Object.fromEntries : (
2535
+ xn ? Object.fromEntries : (
2538
2536
  // Ponyfill
2539
2537
  function(t) {
2540
2538
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2544,7 +2542,7 @@ var ht = _n ? (
2544
2542
  return r;
2545
2543
  }
2546
2544
  )
2547
- ), Jt = xn ? (
2545
+ ), Vt = En ? (
2548
2546
  // Native
2549
2547
  function(t, r) {
2550
2548
  return t.codePointAt(r);
@@ -2558,7 +2556,7 @@ var ht = _n ? (
2558
2556
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2559
2557
  }
2560
2558
  }
2561
- ), Bn = Sn ? (
2559
+ ), Cn = vn ? (
2562
2560
  // Native
2563
2561
  function(t) {
2564
2562
  return t.trimStart();
@@ -2566,9 +2564,9 @@ var ht = _n ? (
2566
2564
  ) : (
2567
2565
  // Ponyfill
2568
2566
  function(t) {
2569
- return t.replace(pn, "");
2567
+ return t.replace(gn, "");
2570
2568
  }
2571
- ), wn = Tn ? (
2569
+ ), Bn = Sn ? (
2572
2570
  // Native
2573
2571
  function(t) {
2574
2572
  return t.trimEnd();
@@ -2576,30 +2574,30 @@ var ht = _n ? (
2576
2574
  ) : (
2577
2575
  // Ponyfill
2578
2576
  function(t) {
2579
- return t.replace(yn, "");
2577
+ return t.replace(pn, "");
2580
2578
  }
2581
2579
  );
2582
- function zt(e, t) {
2580
+ function Jt(e, t) {
2583
2581
  return new RegExp(e, t);
2584
2582
  }
2585
- var We;
2586
- if (Je) {
2587
- var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2588
- We = function(t, r) {
2583
+ var Je;
2584
+ if (je) {
2585
+ var ft = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2586
+ Je = function(t, r) {
2589
2587
  var n;
2590
- ct.lastIndex = r;
2591
- var i = ct.exec(t);
2588
+ ft.lastIndex = r;
2589
+ var i = ft.exec(t);
2592
2590
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2593
2591
  };
2594
2592
  } else
2595
- We = function(t, r) {
2593
+ Je = function(t, r) {
2596
2594
  for (var n = []; ; ) {
2597
- var i = Jt(t, r);
2598
- if (i === void 0 || Wt(i) || Pn(i))
2595
+ var i = Vt(t, r);
2596
+ if (i === void 0 || zt(i) || On(i))
2599
2597
  break;
2600
2598
  n.push(i), r += i >= 65536 ? 2 : 1;
2601
2599
  }
2602
- return ze.apply(void 0, n);
2600
+ return Ve.apply(void 0, n);
2603
2601
  };
2604
2602
  var In = (
2605
2603
  /** @class */
@@ -2625,14 +2623,14 @@ var In = (
2625
2623
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2626
2624
  var o = this.clonePosition();
2627
2625
  this.bump(), i.push({
2628
- type: S.pound,
2629
- location: E(o, this.clonePosition())
2626
+ type: T.pound,
2627
+ location: x(o, this.clonePosition())
2630
2628
  });
2631
2629
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2632
2630
  if (n)
2633
2631
  break;
2634
- return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2635
- } else if (s === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
2632
+ return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2633
+ } else if (s === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
2636
2634
  var a = this.parseTag(t, r);
2637
2635
  if (a.err)
2638
2636
  return a;
@@ -2653,9 +2651,9 @@ var In = (
2653
2651
  if (this.bumpSpace(), this.bumpIf("/>"))
2654
2652
  return {
2655
2653
  val: {
2656
- type: S.literal,
2654
+ type: T.literal,
2657
2655
  value: "<".concat(i, "/>"),
2658
- location: E(n, this.clonePosition())
2656
+ location: x(n, this.clonePosition())
2659
2657
  },
2660
2658
  err: null
2661
2659
  };
@@ -2665,25 +2663,25 @@ var In = (
2665
2663
  return s;
2666
2664
  var a = s.val, o = this.clonePosition();
2667
2665
  if (this.bumpIf("</")) {
2668
- if (this.isEOF() || !Xe(this.char()))
2669
- return this.error(_.INVALID_TAG, E(o, this.clonePosition()));
2666
+ if (this.isEOF() || !ze(this.char()))
2667
+ return this.error(_.INVALID_TAG, x(o, this.clonePosition()));
2670
2668
  var l = this.clonePosition(), u = this.parseTagName();
2671
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2669
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2672
2670
  val: {
2673
- type: S.tag,
2671
+ type: T.tag,
2674
2672
  value: i,
2675
2673
  children: a,
2676
- location: E(n, this.clonePosition())
2674
+ location: x(n, this.clonePosition())
2677
2675
  },
2678
2676
  err: null
2679
- } : this.error(_.INVALID_TAG, E(o, this.clonePosition())));
2677
+ } : this.error(_.INVALID_TAG, x(o, this.clonePosition())));
2680
2678
  } else
2681
- return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
2679
+ return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
2682
2680
  } else
2683
- return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
2681
+ return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
2684
2682
  }, e.prototype.parseTagName = function() {
2685
2683
  var t = this.offset();
2686
- for (this.bump(); !this.isEOF() && On(this.char()); )
2684
+ for (this.bump(); !this.isEOF() && wn(this.char()); )
2687
2685
  this.bump();
2688
2686
  return this.message.slice(t, this.offset());
2689
2687
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2705,9 +2703,9 @@ var In = (
2705
2703
  }
2706
2704
  break;
2707
2705
  }
2708
- var l = E(n, this.clonePosition());
2706
+ var l = x(n, this.clonePosition());
2709
2707
  return {
2710
- val: { type: S.literal, value: i, location: l },
2708
+ val: { type: T.literal, value: i, location: l },
2711
2709
  err: null
2712
2710
  };
2713
2711
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2746,49 +2744,49 @@ var In = (
2746
2744
  r.push(n);
2747
2745
  this.bump();
2748
2746
  }
2749
- return ze.apply(void 0, r);
2747
+ return Ve.apply(void 0, r);
2750
2748
  }, e.prototype.tryParseUnquoted = function(t, r) {
2751
2749
  if (this.isEOF())
2752
2750
  return null;
2753
2751
  var n = this.char();
2754
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
2752
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
2755
2753
  }, e.prototype.parseArgument = function(t, r) {
2756
2754
  var n = this.clonePosition();
2757
2755
  if (this.bump(), this.bumpSpace(), this.isEOF())
2758
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2756
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2759
2757
  if (this.char() === 125)
2760
- return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
2758
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2761
2759
  var i = this.parseIdentifierIfPossible().value;
2762
2760
  if (!i)
2763
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2761
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2764
2762
  if (this.bumpSpace(), this.isEOF())
2765
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
2763
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2766
2764
  switch (this.char()) {
2767
2765
  case 125:
2768
2766
  return this.bump(), {
2769
2767
  val: {
2770
- type: S.argument,
2768
+ type: T.argument,
2771
2769
  // value does not include the opening and closing braces.
2772
2770
  value: i,
2773
- location: E(n, this.clonePosition())
2771
+ location: x(n, this.clonePosition())
2774
2772
  },
2775
2773
  err: null
2776
2774
  };
2777
2775
  case 44:
2778
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2776
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2779
2777
  default:
2780
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
2778
+ return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2781
2779
  }
2782
2780
  }, e.prototype.parseIdentifierIfPossible = function() {
2783
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
2781
+ var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
2784
2782
  this.bumpTo(i);
2785
- var s = this.clonePosition(), a = E(t, s);
2783
+ var s = this.clonePosition(), a = x(t, s);
2786
2784
  return { value: n, location: a };
2787
2785
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2788
2786
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2789
2787
  switch (o) {
2790
2788
  case "":
2791
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, l));
2789
+ return this.error(_.EXPECT_ARGUMENT_TYPE, x(a, l));
2792
2790
  case "number":
2793
2791
  case "date":
2794
2792
  case "time": {
@@ -2799,35 +2797,35 @@ var In = (
2799
2797
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2800
2798
  if (c.err)
2801
2799
  return c;
2802
- var f = wn(c.val);
2800
+ var f = Bn(c.val);
2803
2801
  if (f.length === 0)
2804
- return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
2805
- var g = E(h, this.clonePosition());
2802
+ return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2803
+ var g = x(h, this.clonePosition());
2806
2804
  u = { style: f, styleLocation: g };
2807
2805
  }
2808
2806
  var b = this.tryParseArgumentClose(i);
2809
2807
  if (b.err)
2810
2808
  return b;
2811
- var y = E(i, this.clonePosition());
2812
- if (u && ht(u?.style, "::", 0)) {
2813
- var d = Bn(u.style.slice(2));
2809
+ var y = x(i, this.clonePosition());
2810
+ if (u && lt(u?.style, "::", 0)) {
2811
+ var d = Cn(u.style.slice(2));
2814
2812
  if (o === "number") {
2815
2813
  var c = this.parseNumberSkeletonFromString(d, u.styleLocation);
2816
2814
  return c.err ? c : {
2817
- val: { type: S.number, value: n, location: y, style: c.val },
2815
+ val: { type: T.number, value: n, location: y, style: c.val },
2818
2816
  err: null
2819
2817
  };
2820
2818
  } else {
2821
2819
  if (d.length === 0)
2822
2820
  return this.error(_.EXPECT_DATE_TIME_SKELETON, y);
2823
2821
  var v = d;
2824
- this.locale && (v = bn(d, this.locale));
2822
+ this.locale && (v = dn(d, this.locale));
2825
2823
  var f = {
2826
- type: te.dateTime,
2824
+ type: ee.dateTime,
2827
2825
  pattern: v,
2828
2826
  location: u.styleLocation,
2829
- parsedOptions: this.shouldParseSkeletons ? un(v) : {}
2830
- }, P = o === "date" ? S.date : S.time;
2827
+ parsedOptions: this.shouldParseSkeletons ? on(v) : {}
2828
+ }, P = o === "date" ? T.date : T.time;
2831
2829
  return {
2832
2830
  val: { type: P, value: n, location: y, style: f },
2833
2831
  err: null
@@ -2836,7 +2834,7 @@ var In = (
2836
2834
  }
2837
2835
  return {
2838
2836
  val: {
2839
- type: o === "number" ? S.number : o === "date" ? S.date : S.time,
2837
+ type: o === "number" ? T.number : o === "date" ? T.date : T.time,
2840
2838
  value: n,
2841
2839
  location: y,
2842
2840
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2847,14 +2845,14 @@ var In = (
2847
2845
  case "plural":
2848
2846
  case "selectordinal":
2849
2847
  case "select": {
2850
- var N = this.clonePosition();
2848
+ var w = this.clonePosition();
2851
2849
  if (this.bumpSpace(), !this.bumpIf(","))
2852
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(N, ve({}, N)));
2850
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(w, E({}, w)));
2853
2851
  this.bumpSpace();
2854
2852
  var A = this.parseIdentifierIfPossible(), H = 0;
2855
2853
  if (o !== "select" && A.value === "offset") {
2856
2854
  if (!this.bumpIf(":"))
2857
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
2855
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2858
2856
  this.bumpSpace();
2859
2857
  var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2860
2858
  if (c.err)
@@ -2867,20 +2865,20 @@ var In = (
2867
2865
  var b = this.tryParseArgumentClose(i);
2868
2866
  if (b.err)
2869
2867
  return b;
2870
- var k = E(i, this.clonePosition());
2868
+ var k = x(i, this.clonePosition());
2871
2869
  return o === "select" ? {
2872
2870
  val: {
2873
- type: S.select,
2871
+ type: T.select,
2874
2872
  value: n,
2875
- options: ft(F.val),
2873
+ options: ht(F.val),
2876
2874
  location: k
2877
2875
  },
2878
2876
  err: null
2879
2877
  } : {
2880
2878
  val: {
2881
- type: S.plural,
2879
+ type: T.plural,
2882
2880
  value: n,
2883
- options: ft(F.val),
2881
+ options: ht(F.val),
2884
2882
  offset: H,
2885
2883
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2886
2884
  location: k
@@ -2889,10 +2887,10 @@ var In = (
2889
2887
  };
2890
2888
  }
2891
2889
  default:
2892
- return this.error(_.INVALID_ARGUMENT_TYPE, E(a, l));
2890
+ return this.error(_.INVALID_ARGUMENT_TYPE, x(a, l));
2893
2891
  }
2894
2892
  }, e.prototype.tryParseArgumentClose = function(t) {
2895
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2893
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2896
2894
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2897
2895
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2898
2896
  var n = this.char();
@@ -2901,7 +2899,7 @@ var In = (
2901
2899
  this.bump();
2902
2900
  var i = this.clonePosition();
2903
2901
  if (!this.bumpUntil("'"))
2904
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
2902
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
2905
2903
  this.bump();
2906
2904
  break;
2907
2905
  }
@@ -2931,16 +2929,16 @@ var In = (
2931
2929
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2932
2930
  var n = [];
2933
2931
  try {
2934
- n = hn(t);
2932
+ n = ln(t);
2935
2933
  } catch {
2936
2934
  return this.error(_.INVALID_NUMBER_SKELETON, r);
2937
2935
  }
2938
2936
  return {
2939
2937
  val: {
2940
- type: te.number,
2938
+ type: ee.number,
2941
2939
  tokens: n,
2942
2940
  location: r,
2943
- parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
2941
+ parsedOptions: this.shouldParseSkeletons ? mn(n) : {}
2944
2942
  },
2945
2943
  err: null
2946
2944
  };
@@ -2952,7 +2950,7 @@ var In = (
2952
2950
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
2953
2951
  if (f.err)
2954
2952
  return f;
2955
- h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2953
+ h = x(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2956
2954
  } else
2957
2955
  break;
2958
2956
  }
@@ -2961,7 +2959,7 @@ var In = (
2961
2959
  u === "other" && (a = !0), this.bumpSpace();
2962
2960
  var g = this.clonePosition();
2963
2961
  if (!this.bumpIf("{"))
2964
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
2962
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
2965
2963
  var b = this.parseMessage(t + 1, r, n);
2966
2964
  if (b.err)
2967
2965
  return b;
@@ -2972,11 +2970,11 @@ var In = (
2972
2970
  u,
2973
2971
  {
2974
2972
  value: b.val,
2975
- location: E(g, this.clonePosition())
2973
+ location: x(g, this.clonePosition())
2976
2974
  }
2977
2975
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2978
2976
  }
2979
- return o.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2977
+ return o.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2980
2978
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2981
2979
  var n = 1, i = this.clonePosition();
2982
2980
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2987,8 +2985,8 @@ var In = (
2987
2985
  else
2988
2986
  break;
2989
2987
  }
2990
- var l = E(i, this.clonePosition());
2991
- return s ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2988
+ var l = x(i, this.clonePosition());
2989
+ return s ? (a *= n, An(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2992
2990
  }, e.prototype.offset = function() {
2993
2991
  return this.position.offset;
2994
2992
  }, e.prototype.isEOF = function() {
@@ -3003,7 +3001,7 @@ var In = (
3003
3001
  var t = this.position.offset;
3004
3002
  if (t >= this.message.length)
3005
3003
  throw Error("out of bound");
3006
- var r = Jt(this.message, t);
3004
+ var r = Vt(this.message, t);
3007
3005
  if (r === void 0)
3008
3006
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3009
3007
  return r;
@@ -3022,7 +3020,7 @@ var In = (
3022
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);
3023
3021
  }
3024
3022
  }, e.prototype.bumpIf = function(t) {
3025
- if (ht(this.message, t, this.offset())) {
3023
+ if (lt(this.message, t, this.offset())) {
3026
3024
  for (var r = 0; r < t.length; r++)
3027
3025
  this.bump();
3028
3026
  return !0;
@@ -3044,7 +3042,7 @@ var In = (
3044
3042
  break;
3045
3043
  }
3046
3044
  }, e.prototype.bumpSpace = function() {
3047
- for (; !this.isEOF() && Wt(this.char()); )
3045
+ for (; !this.isEOF() && zt(this.char()); )
3048
3046
  this.bump();
3049
3047
  }, e.prototype.peek = function() {
3050
3048
  if (this.isEOF())
@@ -3054,47 +3052,47 @@ var In = (
3054
3052
  }, e;
3055
3053
  }()
3056
3054
  );
3057
- function Xe(e) {
3055
+ function ze(e) {
3058
3056
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3059
3057
  }
3060
3058
  function Nn(e) {
3061
- return Xe(e) || e === 47;
3059
+ return ze(e) || e === 47;
3062
3060
  }
3063
- function On(e) {
3061
+ function wn(e) {
3064
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;
3065
3063
  }
3066
- function Wt(e) {
3064
+ function zt(e) {
3067
3065
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3068
3066
  }
3069
- function Pn(e) {
3067
+ function On(e) {
3070
3068
  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;
3071
3069
  }
3072
- function Ze(e) {
3070
+ function We(e) {
3073
3071
  e.forEach(function(t) {
3074
- if (delete t.location, Dt(t) || kt(t))
3072
+ if (delete t.location, Lt(t) || Dt(t))
3075
3073
  for (var r in t.options)
3076
- delete t.options[r].location, Ze(t.options[r].value);
3074
+ delete t.options[r].location, We(t.options[r].value);
3077
3075
  else
3078
- Mt(t) && Ft(t.style) || (Rt(t) || Lt(t)) && Ve(t.style) ? delete t.style.location : Ut(t) && Ze(t.children);
3076
+ Pt(t) && Ut(t.style) || (Mt(t) || Rt(t)) && $e(t.style) ? delete t.style.location : kt(t) && We(t.children);
3079
3077
  });
3080
3078
  }
3081
- function Mn(e, t) {
3082
- t === void 0 && (t = {}), t = ve({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3079
+ function Pn(e, t) {
3080
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3083
3081
  var r = new In(e, t).parse();
3084
3082
  if (r.err) {
3085
3083
  var n = SyntaxError(_[r.err.kind]);
3086
3084
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3087
3085
  }
3088
- return t?.captureLocation || Ze(r.val), r.val;
3086
+ return t?.captureLocation || We(r.val), r.val;
3089
3087
  }
3090
- var re;
3088
+ var te;
3091
3089
  (function(e) {
3092
3090
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3093
- })(re || (re = {}));
3094
- var He = (
3091
+ })(te || (te = {}));
3092
+ var Te = (
3095
3093
  /** @class */
3096
3094
  function(e) {
3097
- Ae(t, e);
3095
+ Se(t, e);
3098
3096
  function t(r, n, i) {
3099
3097
  var s = e.call(this, r) || this;
3100
3098
  return s.code = n, s.originalMessage = i, s;
@@ -3103,48 +3101,48 @@ var He = (
3103
3101
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3104
3102
  }, t;
3105
3103
  }(Error)
3106
- ), mt = (
3104
+ ), ct = (
3107
3105
  /** @class */
3108
3106
  function(e) {
3109
- Ae(t, e);
3107
+ Se(t, e);
3110
3108
  function t(r, n, i, s) {
3111
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, s) || this;
3109
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3112
3110
  }
3113
3111
  return t;
3114
- }(He)
3115
- ), Rn = (
3112
+ }(Te)
3113
+ ), Mn = (
3116
3114
  /** @class */
3117
3115
  function(e) {
3118
- Ae(t, e);
3116
+ Se(t, e);
3119
3117
  function t(r, n, i) {
3120
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3118
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3121
3119
  }
3122
3120
  return t;
3123
- }(He)
3124
- ), Ln = (
3121
+ }(Te)
3122
+ ), Rn = (
3125
3123
  /** @class */
3126
3124
  function(e) {
3127
- Ae(t, e);
3125
+ Se(t, e);
3128
3126
  function t(r, n) {
3129
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3127
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3130
3128
  }
3131
3129
  return t;
3132
- }(He)
3130
+ }(Te)
3133
3131
  ), R;
3134
3132
  (function(e) {
3135
3133
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3136
3134
  })(R || (R = {}));
3137
- function Dn(e) {
3135
+ function Ln(e) {
3138
3136
  return e.length < 2 ? e : e.reduce(function(t, r) {
3139
3137
  var n = t[t.length - 1];
3140
3138
  return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3141
3139
  }, []);
3142
3140
  }
3143
- function kn(e) {
3141
+ function Dn(e) {
3144
3142
  return typeof e == "function";
3145
3143
  }
3146
- function _e(e, t, r, n, i, s, a) {
3147
- if (e.length === 1 && at(e[0]))
3144
+ function ye(e, t, r, n, i, s, a) {
3145
+ if (e.length === 1 && st(e[0]))
3148
3146
  return [
3149
3147
  {
3150
3148
  type: R.literal,
@@ -3153,14 +3151,14 @@ function _e(e, t, r, n, i, s, a) {
3153
3151
  ];
3154
3152
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3155
3153
  var h = u[l];
3156
- if (at(h)) {
3154
+ if (st(h)) {
3157
3155
  o.push({
3158
3156
  type: R.literal,
3159
3157
  value: h.value
3160
3158
  });
3161
3159
  continue;
3162
3160
  }
3163
- if (an(h)) {
3161
+ if (sn(h)) {
3164
3162
  typeof s == "number" && o.push({
3165
3163
  type: R.literal,
3166
3164
  value: r.getNumberFormat(t).format(s)
@@ -3169,44 +3167,44 @@ function _e(e, t, r, n, i, s, a) {
3169
3167
  }
3170
3168
  var c = h.value;
3171
3169
  if (!(i && c in i))
3172
- throw new Ln(c, a);
3170
+ throw new Rn(c, a);
3173
3171
  var f = i[c];
3174
- if (sn(h)) {
3172
+ if (nn(h)) {
3175
3173
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3176
3174
  type: typeof f == "string" ? R.literal : R.object,
3177
3175
  value: f
3178
3176
  });
3179
3177
  continue;
3180
3178
  }
3181
- if (Rt(h)) {
3182
- var g = typeof h.style == "string" ? n.date[h.style] : Ve(h.style) ? h.style.parsedOptions : void 0;
3179
+ if (Mt(h)) {
3180
+ var g = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3183
3181
  o.push({
3184
3182
  type: R.literal,
3185
3183
  value: r.getDateTimeFormat(t, g).format(f)
3186
3184
  });
3187
3185
  continue;
3188
3186
  }
3189
- if (Lt(h)) {
3190
- var g = typeof h.style == "string" ? n.time[h.style] : Ve(h.style) ? h.style.parsedOptions : n.time.medium;
3187
+ if (Rt(h)) {
3188
+ var g = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3191
3189
  o.push({
3192
3190
  type: R.literal,
3193
3191
  value: r.getDateTimeFormat(t, g).format(f)
3194
3192
  });
3195
3193
  continue;
3196
3194
  }
3197
- if (Mt(h)) {
3198
- var g = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3195
+ if (Pt(h)) {
3196
+ var g = typeof h.style == "string" ? n.number[h.style] : Ut(h.style) ? h.style.parsedOptions : void 0;
3199
3197
  g && g.scale && (f = f * (g.scale || 1)), o.push({
3200
3198
  type: R.literal,
3201
3199
  value: r.getNumberFormat(t, g).format(f)
3202
3200
  });
3203
3201
  continue;
3204
3202
  }
3205
- if (Ut(h)) {
3203
+ if (kt(h)) {
3206
3204
  var b = h.children, y = h.value, d = i[y];
3207
- if (!kn(d))
3208
- throw new Rn(y, "function", a);
3209
- var v = _e(b, t, r, n, i, s), P = d(v.map(function(H) {
3205
+ if (!Dn(d))
3206
+ throw new Mn(y, "function", a);
3207
+ var v = ye(b, t, r, n, i, s), P = d(v.map(function(H) {
3210
3208
  return H.value;
3211
3209
  }));
3212
3210
  Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(H) {
@@ -3216,42 +3214,42 @@ function _e(e, t, r, n, i, s, a) {
3216
3214
  };
3217
3215
  }));
3218
3216
  }
3219
- if (Dt(h)) {
3220
- var N = h.options[f] || h.options.other;
3221
- if (!N)
3222
- throw new mt(h.value, f, Object.keys(h.options), a);
3223
- o.push.apply(o, _e(N.value, t, r, n, i));
3217
+ if (Lt(h)) {
3218
+ var w = h.options[f] || h.options.other;
3219
+ if (!w)
3220
+ throw new ct(h.value, f, Object.keys(h.options), a);
3221
+ o.push.apply(o, ye(w.value, t, r, n, i));
3224
3222
  continue;
3225
3223
  }
3226
- if (kt(h)) {
3227
- var N = h.options["=".concat(f)];
3228
- if (!N) {
3224
+ if (Dt(h)) {
3225
+ var w = h.options["=".concat(f)];
3226
+ if (!w) {
3229
3227
  if (!Intl.PluralRules)
3230
- throw new He(`Intl.PluralRules is not available in this environment.
3228
+ throw new Te(`Intl.PluralRules is not available in this environment.
3231
3229
  Try polyfilling it using "@formatjs/intl-pluralrules"
3232
- `, re.MISSING_INTL_API, a);
3230
+ `, te.MISSING_INTL_API, a);
3233
3231
  var A = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3234
- N = h.options[A] || h.options.other;
3232
+ w = h.options[A] || h.options.other;
3235
3233
  }
3236
- if (!N)
3237
- throw new mt(h.value, f, Object.keys(h.options), a);
3238
- o.push.apply(o, _e(N.value, t, r, n, i, f - (h.offset || 0)));
3234
+ if (!w)
3235
+ throw new ct(h.value, f, Object.keys(h.options), a);
3236
+ o.push.apply(o, ye(w.value, t, r, n, i, f - (h.offset || 0)));
3239
3237
  continue;
3240
3238
  }
3241
3239
  }
3242
- return Dn(o);
3240
+ return Ln(o);
3243
3241
  }
3244
- function Un(e, t) {
3245
- return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3246
- return r[n] = j(j({}, e[n]), t[n] || {}), r;
3242
+ function kn(e, t) {
3243
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3244
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3247
3245
  }, {})) : e;
3248
3246
  }
3249
- function Fn(e, t) {
3247
+ function Un(e, t) {
3250
3248
  return t ? Object.keys(e).reduce(function(r, n) {
3251
- return r[n] = Un(e[n], t[n]), r;
3252
- }, j({}, e)) : e;
3249
+ return r[n] = kn(e[n], t[n]), r;
3250
+ }, E({}, e)) : e;
3253
3251
  }
3254
- function De(e) {
3252
+ function Re(e) {
3255
3253
  return {
3256
3254
  create: function() {
3257
3255
  return {
@@ -3265,39 +3263,39 @@ function De(e) {
3265
3263
  }
3266
3264
  };
3267
3265
  }
3268
- function Gn(e) {
3266
+ function Fn(e) {
3269
3267
  return e === void 0 && (e = {
3270
3268
  number: {},
3271
3269
  dateTime: {},
3272
3270
  pluralRules: {}
3273
3271
  }), {
3274
- getNumberFormat: Me(function() {
3272
+ getNumberFormat: Oe(function() {
3275
3273
  for (var t, r = [], n = 0; n < arguments.length; n++)
3276
3274
  r[n] = arguments[n];
3277
- return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3275
+ return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3278
3276
  }, {
3279
- cache: De(e.number),
3280
- strategy: Re.variadic
3277
+ cache: Re(e.number),
3278
+ strategy: Pe.variadic
3281
3279
  }),
3282
- getDateTimeFormat: Me(function() {
3280
+ getDateTimeFormat: Oe(function() {
3283
3281
  for (var t, r = [], n = 0; n < arguments.length; n++)
3284
3282
  r[n] = arguments[n];
3285
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3283
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3286
3284
  }, {
3287
- cache: De(e.dateTime),
3288
- strategy: Re.variadic
3285
+ cache: Re(e.dateTime),
3286
+ strategy: Pe.variadic
3289
3287
  }),
3290
- getPluralRules: Me(function() {
3288
+ getPluralRules: Oe(function() {
3291
3289
  for (var t, r = [], n = 0; n < arguments.length; n++)
3292
3290
  r[n] = arguments[n];
3293
- return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3291
+ return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3294
3292
  }, {
3295
- cache: De(e.pluralRules),
3296
- strategy: Re.variadic
3293
+ cache: Re(e.pluralRules),
3294
+ strategy: Pe.variadic
3297
3295
  })
3298
3296
  };
3299
3297
  }
3300
- var $n = (
3298
+ var Gn = (
3301
3299
  /** @class */
3302
3300
  function() {
3303
3301
  function e(t, r, n, i) {
@@ -3316,7 +3314,7 @@ var $n = (
3316
3314
  }, []);
3317
3315
  return h.length <= 1 ? h[0] || "" : h;
3318
3316
  }, this.formatToParts = function(l) {
3319
- return _e(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3317
+ return ye(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3320
3318
  }, this.resolvedOptions = function() {
3321
3319
  var l;
3322
3320
  return {
@@ -3329,13 +3327,13 @@ var $n = (
3329
3327
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3330
3328
  var a = i || {};
3331
3329
  a.formatters;
3332
- var o = qr(a, ["formatters"]);
3333
- this.ast = e.__parse(t, j(j({}, o), { locale: this.resolvedLocale }));
3330
+ var o = Zr(a, ["formatters"]);
3331
+ this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
3334
3332
  } else
3335
3333
  this.ast = t;
3336
3334
  if (!Array.isArray(this.ast))
3337
3335
  throw new TypeError("A message must be provided as a String or AST.");
3338
- this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || Gn(this.formatterCache);
3336
+ this.formats = Un(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3339
3337
  }
3340
3338
  return Object.defineProperty(e, "defaultLocale", {
3341
3339
  get: function() {
@@ -3348,7 +3346,7 @@ var $n = (
3348
3346
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3349
3347
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3350
3348
  }
3351
- }, e.__parse = Mn, e.formats = {
3349
+ }, e.__parse = Pn, e.formats = {
3352
3350
  number: {
3353
3351
  integer: {
3354
3352
  maximumFractionDigits: 0
@@ -3409,7 +3407,7 @@ var $n = (
3409
3407
  }, e;
3410
3408
  }()
3411
3409
  );
3412
- function jn(e, t) {
3410
+ function $n(e, t) {
3413
3411
  if (t == null)
3414
3412
  return;
3415
3413
  if (t in e)
@@ -3430,92 +3428,92 @@ function jn(e, t) {
3430
3428
  n = void 0;
3431
3429
  return n;
3432
3430
  }
3433
- const W = {}, Vn = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Xt = (e, t) => {
3431
+ const z = {}, jn = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Wt = (e, t) => {
3434
3432
  if (t == null)
3435
3433
  return;
3436
- if (t in W && e in W[t])
3437
- return W[t][e];
3438
- const r = Ce(t);
3434
+ if (t in z && e in z[t])
3435
+ return z[t][e];
3436
+ const r = Ae(t);
3439
3437
  for (let n = 0; n < r.length; n++) {
3440
- const i = r[n], s = zn(i, e);
3438
+ const i = r[n], s = Jn(i, e);
3441
3439
  if (s)
3442
- return Vn(e, t, s);
3440
+ return jn(e, t, s);
3443
3441
  }
3444
3442
  };
3445
- let Ye;
3446
- const be = Te({});
3447
- function Jn(e) {
3448
- return Ye[e] || null;
3443
+ let Qe;
3444
+ const de = ve({});
3445
+ function Vn(e) {
3446
+ return Qe[e] || null;
3449
3447
  }
3450
- function Zt(e) {
3451
- return e in Ye;
3448
+ function Xt(e) {
3449
+ return e in Qe;
3452
3450
  }
3453
- function zn(e, t) {
3454
- if (!Zt(e))
3451
+ function Jn(e, t) {
3452
+ if (!Xt(e))
3455
3453
  return null;
3456
- const r = Jn(e);
3457
- return jn(r, t);
3454
+ const r = Vn(e);
3455
+ return $n(r, t);
3458
3456
  }
3459
- function Wn(e) {
3457
+ function zn(e) {
3460
3458
  if (e == null)
3461
3459
  return;
3462
- const t = Ce(e);
3460
+ const t = Ae(e);
3463
3461
  for (let r = 0; r < t.length; r++) {
3464
3462
  const n = t[r];
3465
- if (Zt(n))
3463
+ if (Xt(n))
3466
3464
  return n;
3467
3465
  }
3468
3466
  }
3469
- function qt(e, ...t) {
3470
- delete W[e], be.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3467
+ function Zt(e, ...t) {
3468
+ delete z[e], de.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
3471
3469
  }
3472
- se(
3473
- [be],
3470
+ ie(
3471
+ [de],
3474
3472
  ([e]) => Object.keys(e)
3475
3473
  );
3476
- be.subscribe((e) => Ye = e);
3477
- const Ee = {};
3478
- function Xn(e, t) {
3479
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3474
+ de.subscribe((e) => Qe = e);
3475
+ const _e = {};
3476
+ function Wn(e, t) {
3477
+ _e[e].delete(t), _e[e].size === 0 && delete _e[e];
3480
3478
  }
3481
- function Qt(e) {
3482
- return Ee[e];
3479
+ function qt(e) {
3480
+ return _e[e];
3483
3481
  }
3484
- function Zn(e) {
3485
- return Ce(e).map((t) => {
3486
- const r = Qt(t);
3482
+ function Xn(e) {
3483
+ return Ae(e).map((t) => {
3484
+ const r = qt(t);
3487
3485
  return [t, r ? [...r] : []];
3488
3486
  }).filter(([, t]) => t.length > 0);
3489
3487
  }
3490
- function qe(e) {
3491
- return e == null ? !1 : Ce(e).some(
3488
+ function Xe(e) {
3489
+ return e == null ? !1 : Ae(e).some(
3492
3490
  (t) => {
3493
3491
  var r;
3494
- return (r = Qt(t)) == null ? void 0 : r.size;
3492
+ return (r = qt(t)) == null ? void 0 : r.size;
3495
3493
  }
3496
3494
  );
3497
3495
  }
3498
- function qn(e, t) {
3496
+ function Zn(e, t) {
3499
3497
  return Promise.all(
3500
- t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
3501
- ).then((n) => qt(e, ...n));
3502
- }
3503
- const ue = {};
3504
- function Yt(e) {
3505
- if (!qe(e))
3506
- return e in ue ? ue[e] : Promise.resolve();
3507
- const t = Zn(e);
3508
- return ue[e] = Promise.all(
3498
+ t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3499
+ ).then((n) => Zt(e, ...n));
3500
+ }
3501
+ const oe = {};
3502
+ function Qt(e) {
3503
+ if (!Xe(e))
3504
+ return e in oe ? oe[e] : Promise.resolve();
3505
+ const t = Xn(e);
3506
+ return oe[e] = Promise.all(
3509
3507
  t.map(
3510
- ([r, n]) => qn(r, n)
3508
+ ([r, n]) => Zn(r, n)
3511
3509
  )
3512
3510
  ).then(() => {
3513
- if (qe(e))
3514
- return Yt(e);
3515
- delete ue[e];
3516
- }), ue[e];
3511
+ if (Xe(e))
3512
+ return Qt(e);
3513
+ delete oe[e];
3514
+ }), oe[e];
3517
3515
  }
3518
- const Qn = {
3516
+ const qn = {
3519
3517
  number: {
3520
3518
  scientific: { notation: "scientific" },
3521
3519
  engineering: { notation: "engineering" },
@@ -3544,150 +3542,150 @@ const Qn = {
3544
3542
  timeZoneName: "short"
3545
3543
  }
3546
3544
  }
3547
- }, Yn = {
3545
+ }, Qn = {
3548
3546
  fallbackLocale: null,
3549
3547
  loadingDelay: 200,
3550
- formats: Qn,
3548
+ formats: qn,
3551
3549
  warnOnMissingMessages: !0,
3552
3550
  handleMissingMessage: void 0,
3553
3551
  ignoreTag: !0
3554
- }, Kn = Yn;
3555
- function ne() {
3556
- return Kn;
3557
- }
3558
- const ke = Te(!1);
3559
- var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
3560
- for (var r in t || (t = {}))
3561
- ni.call(t, r) && bt(e, r, t[r]);
3562
- if (dt)
3563
- for (var r of dt(t))
3564
- ii.call(t, r) && bt(e, r, t[r]);
3552
+ }, Yn = Qn;
3553
+ function re() {
3554
+ return Yn;
3555
+ }
3556
+ const Le = ve(!1);
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]);
3565
3563
  return e;
3566
- }, ai = (e, t) => ti(e, ri(t));
3567
- let Qe;
3568
- const xe = Te(null);
3569
- function gt(e) {
3564
+ }, si = (e, t) => ei(e, ti(t));
3565
+ let Ze;
3566
+ const xe = ve(null);
3567
+ function bt(e) {
3570
3568
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3571
3569
  }
3572
- function Ce(e, t = ne().fallbackLocale) {
3573
- const r = gt(e);
3574
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3570
+ function Ae(e, t = re().fallbackLocale) {
3571
+ const r = bt(e);
3572
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3575
3573
  }
3576
- function X() {
3577
- return Qe ?? void 0;
3574
+ function W() {
3575
+ return Ze ?? void 0;
3578
3576
  }
3579
3577
  xe.subscribe((e) => {
3580
- Qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3578
+ Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3581
3579
  });
3582
- const oi = (e) => {
3583
- if (e && Wn(e) && qe(e)) {
3584
- const { loadingDelay: t } = ne();
3580
+ const ai = (e) => {
3581
+ if (e && zn(e) && Xe(e)) {
3582
+ const { loadingDelay: t } = re();
3585
3583
  let r;
3586
- return typeof window < "u" && X() != null && t ? r = window.setTimeout(
3587
- () => ke.set(!0),
3584
+ return typeof window < "u" && W() != null && t ? r = window.setTimeout(
3585
+ () => Le.set(!0),
3588
3586
  t
3589
- ) : ke.set(!0), Yt(e).then(() => {
3587
+ ) : Le.set(!0), Qt(e).then(() => {
3590
3588
  xe.set(e);
3591
3589
  }).finally(() => {
3592
- clearTimeout(r), ke.set(!1);
3590
+ clearTimeout(r), Le.set(!1);
3593
3591
  });
3594
3592
  }
3595
3593
  return xe.set(e);
3596
- }, ae = ai(si({}, xe), {
3597
- set: oi
3598
- }), Be = (e) => {
3594
+ }, se = si(ii({}, xe), {
3595
+ set: ai
3596
+ }), He = (e) => {
3599
3597
  const t = /* @__PURE__ */ Object.create(null);
3600
3598
  return (n) => {
3601
3599
  const i = JSON.stringify(n);
3602
3600
  return i in t ? t[i] : t[i] = e(n);
3603
3601
  };
3604
3602
  };
3605
- var ui = Object.defineProperty, Se = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (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, Ye = (e, t) => {
3606
3604
  for (var r in t || (t = {}))
3607
- Kt.call(t, r) && pt(e, r, t[r]);
3608
- if (Se)
3609
- for (var r of Se(t))
3610
- 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]);
3611
3609
  return e;
3612
- }, oe = (e, t) => {
3610
+ }, ae = (e, t) => {
3613
3611
  var r = {};
3614
3612
  for (var n in e)
3615
- Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3616
- if (e != null && Se)
3617
- for (var n of Se(e))
3618
- 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]);
3619
3617
  return r;
3620
3618
  };
3621
- const ce = (e, t) => {
3622
- const { formats: r } = ne();
3619
+ const fe = (e, t) => {
3620
+ const { formats: r } = re();
3623
3621
  if (e in r && t in r[e])
3624
3622
  return r[e][t];
3625
3623
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3626
- }, li = Be(
3624
+ }, ui = He(
3627
3625
  (e) => {
3628
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3626
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3629
3627
  if (r == null)
3630
3628
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3631
- return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
3629
+ return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
3632
3630
  }
3633
- ), hi = Be(
3631
+ ), li = He(
3634
3632
  (e) => {
3635
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3633
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3636
3634
  if (r == null)
3637
3635
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3638
- return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
3636
+ return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
3639
3637
  }
3640
- ), fi = Be(
3638
+ ), hi = He(
3641
3639
  (e) => {
3642
- var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
3640
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3643
3641
  if (r == null)
3644
3642
  throw new Error(
3645
3643
  '[svelte-i18n] A "locale" must be set to format time values'
3646
3644
  );
3647
- return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
3645
+ return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
3648
3646
  }
3649
- ), ci = (e = {}) => {
3647
+ ), fi = (e = {}) => {
3650
3648
  var t = e, {
3651
- locale: r = X()
3652
- } = t, n = oe(t, [
3649
+ locale: r = W()
3650
+ } = t, n = ae(t, [
3653
3651
  "locale"
3654
3652
  ]);
3655
- return li(Ke({ locale: r }, n));
3656
- }, mi = (e = {}) => {
3653
+ return ui(Ye({ locale: r }, n));
3654
+ }, ci = (e = {}) => {
3657
3655
  var t = e, {
3658
- locale: r = X()
3659
- } = t, n = oe(t, [
3656
+ locale: r = W()
3657
+ } = t, n = ae(t, [
3660
3658
  "locale"
3661
3659
  ]);
3662
- return hi(Ke({ locale: r }, n));
3663
- }, di = (e = {}) => {
3660
+ return li(Ye({ locale: r }, n));
3661
+ }, mi = (e = {}) => {
3664
3662
  var t = e, {
3665
- locale: r = X()
3666
- } = t, n = oe(t, [
3663
+ locale: r = W()
3664
+ } = t, n = ae(t, [
3667
3665
  "locale"
3668
3666
  ]);
3669
- return fi(Ke({ locale: r }, n));
3670
- }, bi = Be(
3667
+ return hi(Ye({ locale: r }, n));
3668
+ }, di = He(
3671
3669
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3672
- (e, t = X()) => new $n(e, t, ne().formats, {
3673
- ignoreTag: ne().ignoreTag
3670
+ (e, t = W()) => new Gn(e, t, re().formats, {
3671
+ ignoreTag: re().ignoreTag
3674
3672
  })
3675
- ), gi = (e, t = {}) => {
3673
+ ), bi = (e, t = {}) => {
3676
3674
  var r, n, i, s;
3677
3675
  let a = t;
3678
3676
  typeof e == "object" && (a = e, e = a.id);
3679
3677
  const {
3680
3678
  values: o,
3681
- locale: l = X(),
3679
+ locale: l = W(),
3682
3680
  default: u
3683
3681
  } = a;
3684
3682
  if (l == null)
3685
3683
  throw new Error(
3686
3684
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3687
3685
  );
3688
- let h = Xt(e, l);
3686
+ let h = Wt(e, l);
3689
3687
  if (!h)
3690
- 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;
3688
+ h = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3691
3689
  else if (typeof h != "string")
3692
3690
  return console.warn(
3693
3691
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3696,7 +3694,7 @@ const ce = (e, t) => {
3696
3694
  return h;
3697
3695
  let c = h;
3698
3696
  try {
3699
- c = bi(h, l).format(o);
3697
+ c = di(h, l).format(o);
3700
3698
  } catch (f) {
3701
3699
  f instanceof Error && console.warn(
3702
3700
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3704,18 +3702,18 @@ const ce = (e, t) => {
3704
3702
  );
3705
3703
  }
3706
3704
  return c;
3707
- }, pi = (e, t) => di(t).format(e), yi = (e, t) => mi(t).format(e), _i = (e, t) => ci(t).format(e), Ei = (e, t = X()) => Xt(e, t), vi = se([ae, be], () => gi);
3708
- se([ae], () => pi);
3709
- se([ae], () => yi);
3710
- se([ae], () => _i);
3711
- se([ae, be], () => Ei);
3712
- function yt(e, t) {
3713
- qt(e, t);
3714
- }
3715
- function xi(e) {
3716
- ae.set(e);
3717
- }
3718
- const _t = {
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 = W()) => Wt(e, t), xi = ie([se, de], () => bi);
3706
+ ie([se], () => gi);
3707
+ ie([se], () => pi);
3708
+ ie([se], () => yi);
3709
+ ie([se, de], () => _i);
3710
+ function pt(e, t) {
3711
+ Zt(e, t);
3712
+ }
3713
+ function Ei(e) {
3714
+ se.set(e);
3715
+ }
3716
+ const yt = {
3719
3717
  en: {
3720
3718
  enrolled: "Enrolled",
3721
3719
  scoreCriteria: "Score Criteria",
@@ -4047,10 +4045,10 @@ const _t = {
4047
4045
  December: "December"
4048
4046
  }
4049
4047
  };
4050
- function Si(e) {
4051
- fr(e, "svelte-1ymu8a4", ':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}.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{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{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}');
4048
+ function vi(e) {
4049
+ hr(e, "svelte-1ymu8a4", ':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}.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{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{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}');
4052
4050
  }
4053
- function Et(e) {
4051
+ function _t(e) {
4054
4052
  let t, r, n;
4055
4053
  return {
4056
4054
  c() {
@@ -4060,30 +4058,30 @@ function Et(e) {
4060
4058
  O(i, t, s), O(i, r, s), O(i, n, s);
4061
4059
  },
4062
4060
  d(i) {
4063
- i && (I(t), I(r), I(n));
4061
+ i && (N(t), N(r), N(n));
4064
4062
  }
4065
4063
  };
4066
4064
  }
4067
- function vt(e) {
4065
+ function xt(e) {
4068
4066
  let t, r, n, i, s, a, o, l, u = (
4069
4067
  /*status*/
4070
- e[0] && xt(e)
4068
+ e[0] && Et(e)
4071
4069
  ), h = (
4072
4070
  /*showenrolled*/
4073
- e[7] == "true" && St(e)
4071
+ e[7] == "true" && vt(e)
4074
4072
  );
4075
4073
  function c(d, v) {
4076
4074
  return (
4077
4075
  /*thumbnail*/
4078
- d[4] ? Ai : Ti
4076
+ d[4] ? Ti : Si
4079
4077
  );
4080
4078
  }
4081
4079
  let f = c(e), g = f(e), b = (
4082
4080
  /*startdate*/
4083
- e[2] && At(e)
4081
+ e[2] && Tt(e)
4084
4082
  ), y = (
4085
4083
  /*isLoggedIn*/
4086
- e[12] && Ht(e)
4084
+ e[12] && At(e)
4087
4085
  );
4088
4086
  return {
4089
4087
  c() {
@@ -4093,26 +4091,26 @@ function vt(e) {
4093
4091
  ), o = $(), b && b.c(), l = $(), y && y.c(), p(s, "class", "Title"), p(s, "part", "Title"), p(i, "class", "Details"), p(i, "part", "Details");
4094
4092
  },
4095
4093
  m(d, v) {
4096
- u && u.m(d, v), O(d, t, v), h && h.m(d, v), O(d, r, v), g.m(d, v), O(d, n, v), O(d, i, v), x(i, s), x(s, a), x(i, o), b && b.m(i, null), x(i, l), y && y.m(i, null);
4094
+ u && u.m(d, v), O(d, t, v), h && h.m(d, v), O(d, r, v), g.m(d, v), O(d, n, v), O(d, i, v), S(i, s), S(s, a), S(i, o), b && b.m(i, null), S(i, l), y && y.m(i, null);
4097
4095
  },
4098
4096
  p(d, v) {
4099
4097
  /*status*/
4100
- d[0] ? u ? u.p(d, v) : (u = xt(d), u.c(), u.m(t.parentNode, t)) : u && (u.d(1), u = null), /*showenrolled*/
4101
- d[7] == "true" ? h ? h.p(d, v) : (h = St(d), h.c(), h.m(r.parentNode, r)) : h && (h.d(1), h = null), f === (f = c(d)) && g ? g.p(d, v) : (g.d(1), g = f(d), g && (g.c(), g.m(n.parentNode, n))), v[0] & /*title*/
4098
+ d[0] ? u ? u.p(d, v) : (u = Et(d), u.c(), u.m(t.parentNode, t)) : u && (u.d(1), u = null), /*showenrolled*/
4099
+ d[7] == "true" ? h ? h.p(d, v) : (h = vt(d), h.c(), h.m(r.parentNode, r)) : h && (h.d(1), h = null), f === (f = c(d)) && g ? g.p(d, v) : (g.d(1), g = f(d), g && (g.c(), g.m(n.parentNode, n))), v[0] & /*title*/
4102
4100
  2 && G(
4103
4101
  a,
4104
4102
  /*title*/
4105
4103
  d[1]
4106
4104
  ), /*startdate*/
4107
- d[2] ? b ? b.p(d, v) : (b = At(d), b.c(), b.m(i, l)) : b && (b.d(1), b = null), /*isLoggedIn*/
4108
- d[12] ? y ? y.p(d, v) : (y = Ht(d), y.c(), y.m(i, null)) : y && (y.d(1), y = null);
4105
+ d[2] ? b ? b.p(d, v) : (b = Tt(d), b.c(), b.m(i, l)) : b && (b.d(1), b = null), /*isLoggedIn*/
4106
+ d[12] ? y ? y.p(d, v) : (y = At(d), y.c(), y.m(i, null)) : y && (y.d(1), y = null);
4109
4107
  },
4110
4108
  d(d) {
4111
- d && (I(t), I(r), I(n), I(i)), u && u.d(d), h && h.d(d), g.d(d), b && b.d(), y && y.d();
4109
+ d && (N(t), N(r), N(n), N(i)), u && u.d(d), h && h.d(d), g.d(d), b && b.d(), y && y.d();
4112
4110
  }
4113
4111
  };
4114
4112
  }
4115
- function xt(e) {
4113
+ function Et(e) {
4116
4114
  let t, r, n, i, s, a;
4117
4115
  return {
4118
4116
  c() {
@@ -4124,7 +4122,7 @@ function xt(e) {
4124
4122
  e[15]);
4125
4123
  },
4126
4124
  m(o, l) {
4127
- O(o, t, l), x(t, r), s || (a = de(
4125
+ O(o, t, l), S(t, r), s || (a = me(
4128
4126
  /*matchStatus*/
4129
4127
  e[18].call(null, t)
4130
4128
  ), s = !0);
@@ -4142,32 +4140,32 @@ function xt(e) {
4142
4140
  o[15]) && p(t, "part", i);
4143
4141
  },
4144
4142
  d(o) {
4145
- o && I(t), s = !1, a();
4143
+ o && N(t), s = !1, a();
4146
4144
  }
4147
4145
  };
4148
4146
  }
4149
- function St(e) {
4147
+ function vt(e) {
4150
4148
  let t, r = (
4151
4149
  /*userenrolled*/
4152
- e[5] && Tt(e)
4150
+ e[5] && St(e)
4153
4151
  );
4154
4152
  return {
4155
4153
  c() {
4156
- r && r.c(), t = dr();
4154
+ r && r.c(), t = mr();
4157
4155
  },
4158
4156
  m(n, i) {
4159
4157
  r && r.m(n, i), O(n, t, i);
4160
4158
  },
4161
4159
  p(n, i) {
4162
4160
  /*userenrolled*/
4163
- n[5] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4161
+ n[5] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4164
4162
  },
4165
4163
  d(n) {
4166
- n && I(t), r && r.d(n);
4164
+ n && N(t), r && r.d(n);
4167
4165
  }
4168
4166
  };
4169
4167
  }
4170
- function Tt(e) {
4168
+ function St(e) {
4171
4169
  let t, r = (
4172
4170
  /*$_*/
4173
4171
  e[16]("enrolled") + ""
@@ -4177,7 +4175,7 @@ function Tt(e) {
4177
4175
  t = B("div"), n = L(r), p(t, "class", "Enrolled"), p(t, "part", "Enrolled");
4178
4176
  },
4179
4177
  m(i, s) {
4180
- O(i, t, s), x(t, n);
4178
+ O(i, t, s), S(t, n);
4181
4179
  },
4182
4180
  p(i, s) {
4183
4181
  s[0] & /*$_*/
@@ -4185,22 +4183,22 @@ function Tt(e) {
4185
4183
  i[16]("enrolled") + "") && G(n, r);
4186
4184
  },
4187
4185
  d(i) {
4188
- i && I(t);
4186
+ i && N(t);
4189
4187
  }
4190
4188
  };
4191
4189
  }
4192
- function Ti(e) {
4190
+ function Si(e) {
4193
4191
  let t, r, n, i, s, a, o;
4194
4192
  return {
4195
4193
  c() {
4196
- t = B("div"), r = B("ui-image"), Ue(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Y(r, "src", n), Y(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4194
+ t = B("div"), r = B("ui-image"), De(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Q(r, "src", n), Q(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4197
4195
  (e[0] == "Closing" || /*status*/
4198
4196
  e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4199
4197
  (e[0] == "Closing" || /*status*/
4200
4198
  e[0] == "Closed" ? "CardImgFinished" : ""));
4201
4199
  },
4202
4200
  m(l, u) {
4203
- O(l, t, u), x(t, r), a || (o = de(
4201
+ O(l, t, u), S(t, r), a || (o = me(
4204
4202
  /*matchStatus*/
4205
4203
  e[18].call(null, t)
4206
4204
  ), a = !0);
@@ -4215,31 +4213,31 @@ function Ti(e) {
4215
4213
  l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4216
4214
  },
4217
4215
  d(l) {
4218
- l && I(t), a = !1, o();
4216
+ l && N(t), a = !1, o();
4219
4217
  }
4220
4218
  };
4221
4219
  }
4222
- function Ai(e) {
4220
+ function Ti(e) {
4223
4221
  let t, r, n, i, s, a, o;
4224
4222
  return {
4225
4223
  c() {
4226
- t = B("div"), r = B("ui-image"), Y(r, "class", "UIImage"), Ue(r.src, n = /*thumbnail*/
4227
- e[4]) || Y(r, "src", n), Y(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4224
+ t = B("div"), r = B("ui-image"), Q(r, "class", "UIImage"), De(r.src, n = /*thumbnail*/
4225
+ e[4]) || Q(r, "src", n), Q(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4228
4226
  (e[0] == "Closing" || /*status*/
4229
4227
  e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4230
4228
  (e[0] == "Closing" || /*status*/
4231
4229
  e[0] == "Closed" ? "CardImgFinished" : ""));
4232
4230
  },
4233
4231
  m(l, u) {
4234
- O(l, t, u), x(t, r), a || (o = de(
4232
+ O(l, t, u), S(t, r), a || (o = me(
4235
4233
  /*matchStatus*/
4236
4234
  e[18].call(null, t)
4237
4235
  ), a = !0);
4238
4236
  },
4239
4237
  p(l, u) {
4240
4238
  u[0] & /*thumbnail*/
4241
- 16 && !Ue(r.src, n = /*thumbnail*/
4242
- l[4]) && Y(r, "src", n), u[0] & /*status*/
4239
+ 16 && !De(r.src, n = /*thumbnail*/
4240
+ l[4]) && Q(r, "src", n), u[0] & /*status*/
4243
4241
  1 && i !== (i = "CardImg " + /*status*/
4244
4242
  (l[0] == "Closing" || /*status*/
4245
4243
  l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "class", i), u[0] & /*status*/
@@ -4248,11 +4246,11 @@ function Ai(e) {
4248
4246
  l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4249
4247
  },
4250
4248
  d(l) {
4251
- l && I(t), a = !1, o();
4249
+ l && N(t), a = !1, o();
4252
4250
  }
4253
4251
  };
4254
4252
  }
4255
- function At(e) {
4253
+ function Tt(e) {
4256
4254
  let t, r, n, i, s;
4257
4255
  return {
4258
4256
  c() {
@@ -4262,7 +4260,7 @@ function At(e) {
4262
4260
  ), p(t, "class", "Date"), p(t, "part", "Date");
4263
4261
  },
4264
4262
  m(a, o) {
4265
- O(a, t, o), x(t, r), i || (s = de(n = /*formatDate*/
4263
+ O(a, t, o), S(t, r), i || (s = me(n = /*formatDate*/
4266
4264
  e[17].call(
4267
4265
  null,
4268
4266
  t,
@@ -4276,7 +4274,7 @@ function At(e) {
4276
4274
  r,
4277
4275
  /*shownDate*/
4278
4276
  a[11]
4279
- ), n && me(n.update) && o[0] & /*startdate*/
4277
+ ), n && ce(n.update) && o[0] & /*startdate*/
4280
4278
  4 && n.update.call(
4281
4279
  null,
4282
4280
  /*startdate*/
@@ -4284,11 +4282,11 @@ function At(e) {
4284
4282
  );
4285
4283
  },
4286
4284
  d(a) {
4287
- a && I(t), i = !1, s();
4285
+ a && N(t), i = !1, s();
4288
4286
  }
4289
4287
  };
4290
4288
  }
4291
- function Ht(e) {
4289
+ function At(e) {
4292
4290
  let t, r, n = (
4293
4291
  /*$_*/
4294
4292
  e[16]("scoreCriteria") + ""
@@ -4298,10 +4296,10 @@ function Ht(e) {
4298
4296
  ), h, c, f, g, b, y, d, v = (
4299
4297
  /*$_*/
4300
4298
  e[16]("seegames") + ""
4301
- ), P, N, A, H = (
4299
+ ), P, w, A, H = (
4302
4300
  /*$_*/
4303
4301
  e[16]("here") + ""
4304
- ), F, k, V, J;
4302
+ ), F, k, j, V;
4305
4303
  return {
4306
4304
  c() {
4307
4305
  t = B("div"), r = B("p"), i = L(n), s = L(`:
@@ -4313,7 +4311,7 @@ function Ht(e) {
4313
4311
  (`), h = L(u), c = $(), f = L(
4314
4312
  /*minbetcount*/
4315
4313
  e[6]
4316
- ), g = L(")"), b = $(), y = B("div"), d = B("p"), P = L(v), N = $(), A = B("a"), F = L(H), p(a, "part", "ScoreCriteriaSpan"), p(r, "part", "ScoreCriteriaP"), p(t, "class", "ScoreCriteria"), p(t, "part", "ScoreCriteria"), p(A, "part", "GamesAnchor"), p(
4314
+ ), g = L(")"), b = $(), y = B("div"), d = B("p"), P = L(v), w = $(), A = B("a"), F = L(H), p(a, "part", "ScoreCriteriaSpan"), p(r, "part", "ScoreCriteriaP"), p(t, "class", "ScoreCriteria"), p(t, "part", "ScoreCriteria"), p(A, "part", "GamesAnchor"), p(
4317
4315
  A,
4318
4316
  "href",
4319
4317
  /*gameurl*/
@@ -4322,18 +4320,18 @@ function Ht(e) {
4322
4320
  e[9] === "true" ? "_self" : "_blank"), p(d, "part", "GamesP"), p(y, "class", "Games"), p(y, "part", "Games");
4323
4321
  },
4324
4322
  m(C, D) {
4325
- O(C, t, D), x(t, r), x(r, i), x(r, s), x(r, a), x(a, o), x(r, l), x(r, h), x(r, c), x(r, f), x(r, g), O(C, b, D), O(C, y, D), x(y, d), x(d, P), x(d, N), x(d, A), x(A, F), V || (J = [
4326
- de(
4323
+ O(C, t, D), S(t, r), S(r, i), S(r, s), S(r, a), S(a, o), S(r, l), S(r, h), S(r, c), S(r, f), S(r, g), O(C, b, D), O(C, y, D), S(y, d), S(d, P), S(d, w), S(d, A), S(A, F), j || (V = [
4324
+ me(
4327
4325
  /*matchScoreCriteria*/
4328
4326
  e[19].call(null, a)
4329
4327
  ),
4330
- br(
4328
+ dr(
4331
4329
  A,
4332
4330
  "click",
4333
4331
  /*click_handler*/
4334
4332
  e[28]
4335
4333
  )
4336
- ], V = !0);
4334
+ ], j = !0);
4337
4335
  },
4338
4336
  p(C, D) {
4339
4337
  D[0] & /*$_*/
@@ -4365,17 +4363,17 @@ function Ht(e) {
4365
4363
  C[9] === "true" ? "_self" : "_blank") && p(A, "target", k);
4366
4364
  },
4367
4365
  d(C) {
4368
- C && (I(t), I(b), I(y)), V = !1, ie(J);
4366
+ C && (N(t), N(b), N(y)), j = !1, ne(V);
4369
4367
  }
4370
4368
  };
4371
4369
  }
4372
- function Hi(e) {
4370
+ function Ai(e) {
4373
4371
  let t, r, n, i = (
4374
4372
  /*title*/
4375
- e[1] === "undefined" && Et()
4373
+ e[1] === "undefined" && _t()
4376
4374
  ), s = (
4377
4375
  /*title*/
4378
- e[1] !== "undefined" && vt(e)
4376
+ e[1] !== "undefined" && xt(e)
4379
4377
  );
4380
4378
  return {
4381
4379
  c() {
@@ -4383,64 +4381,64 @@ function Hi(e) {
4383
4381
  e[1] === "undefined" ? "Loading" : ""}`), p(t, "part", "Thumbnail");
4384
4382
  },
4385
4383
  m(a, o) {
4386
- O(a, t, o), i && i.m(t, null), x(t, r), s && s.m(t, null), e[29](t);
4384
+ O(a, t, o), i && i.m(t, null), S(t, r), s && s.m(t, null), e[29](t);
4387
4385
  },
4388
4386
  p(a, o) {
4389
4387
  /*title*/
4390
- a[1] === "undefined" ? i || (i = Et(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4391
- a[1] !== "undefined" ? s ? s.p(a, o) : (s = vt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4388
+ a[1] === "undefined" ? i || (i = _t(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4389
+ a[1] !== "undefined" ? s ? s.p(a, o) : (s = xt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4392
4390
  2 && n !== (n = `Thumbnail ${/*title*/
4393
4391
  a[1] === "undefined" ? "Loading" : ""}`) && p(t, "class", n);
4394
4392
  },
4395
4393
  i: U,
4396
4394
  o: U,
4397
4395
  d(a) {
4398
- a && I(t), i && i.d(), s && s.d(), e[29](null);
4396
+ a && N(t), i && i.d(), s && s.d(), e[29](null);
4399
4397
  }
4400
4398
  };
4401
4399
  }
4402
- function Ci(e, t, r) {
4400
+ function Hi(e, t, r) {
4403
4401
  let n;
4404
- hr(e, vi, (m) => r(16, n = m));
4405
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: g = "" } = t, { showenrolled: b = "false" } = t, { gameurl: y = "" } = t, { lang: d = "en" } = t, { keepbrowsercontext: v = "false" } = t, { clientstyling: P = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: A = "" } = t, H, F = "", k = !1, V = "", J = "", C = "";
4402
+ lr(e, xi, (m) => r(16, n = m));
4403
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: g = "" } = t, { showenrolled: b = "false" } = t, { gameurl: y = "" } = t, { lang: d = "en" } = t, { keepbrowsercontext: v = "false" } = t, { clientstyling: P = "" } = t, { clientstylingurl: w = "" } = t, { translationurl: A = "" } = t, H, F = "", k = !1, j = "", V = "", C = "";
4406
4404
  const D = () => {
4407
4405
  fetch(A).then((M) => M.json()).then((M) => {
4408
- Object.keys(M).forEach((z) => {
4409
- yt(z, M[z]);
4406
+ Object.keys(M).forEach((J) => {
4407
+ pt(J, M[J]);
4410
4408
  });
4411
4409
  }).catch((M) => {
4412
4410
  console.log(M);
4413
4411
  });
4414
4412
  };
4415
- Object.keys(_t).forEach((m) => {
4416
- yt(m, _t[m]);
4413
+ Object.keys(yt).forEach((m) => {
4414
+ pt(m, yt[m]);
4417
4415
  });
4418
- const et = (m) => {
4416
+ const Ke = (m) => {
4419
4417
  m.data && (m.data && m.data.type == "SessionID" && r(12, k = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4420
- }, we = () => {
4418
+ }, Ce = () => {
4421
4419
  const m = { month: "long" };
4422
- let M = new Date(o), z = new Intl.DateTimeFormat("en", m).format(M), ar = M.getDate(), or = M.toLocaleString("en-GB", {
4420
+ let M = new Date(o), J = new Intl.DateTimeFormat("en", m).format(M), sr = M.getDate(), ar = M.toLocaleString("en-GB", {
4423
4421
  hour: "numeric",
4424
4422
  minute: "numeric",
4425
4423
  hour12: !1
4426
4424
  });
4427
- const ur = () => n(l === "Running" ? "startedAt" : "startingAt");
4428
- r(11, F = `${ar} ` + n(`${z}`) + ", " + ur() + ` ${or}`);
4425
+ const or = () => n(l === "Running" ? "startedAt" : "startingAt");
4426
+ r(11, F = `${sr} ` + n(`${J}`) + ", " + or() + ` ${ar}`);
4427
+ }, Be = () => {
4428
+ l == "Unstarted" && (r(13, j = n("scheduled")), r(15, C = "StatusUnstarted")), l == "Running" && (r(13, j = n("ongoing")), r(15, C = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, j = n("finished")), l == "Closed" && r(15, C = "StatusClosed"), l == "Closing" && r(15, C = "StatusClosing");
4429
4429
  }, Ie = () => {
4430
- l == "Unstarted" && (r(13, V = n("scheduled")), r(15, C = "StatusUnstarted")), l == "Running" && (r(13, V = n("ongoing")), r(15, C = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, V = n("finished")), l == "Closed" && r(15, C = "StatusClosed"), l == "Closing" && r(15, C = "StatusClosing");
4431
- }, Ne = () => {
4432
- f == "BetCount" && r(14, J = n("betCount")), f == "MaxWinStakeRatio" && r(14, J = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(14, J = n("winStakeRatio")), f == "Stake" && r(14, J = n("stake"));
4433
- }, tt = (m, M) => {
4430
+ f == "BetCount" && r(14, V = n("betCount")), f == "MaxWinStakeRatio" && r(14, V = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(14, V = n("winStakeRatio")), f == "Stake" && r(14, V = n("stake"));
4431
+ }, et = (m, M) => {
4434
4432
  window.postMessage({ type: "tournamentGamesClicked", tourId: M }, window.location.href);
4435
- }, tr = () => {
4433
+ }, er = () => {
4436
4434
  i.length > 0 && i != "false" ? r(12, k = !0) : r(12, k = !1);
4437
- }, rr = () => {
4435
+ }, tr = () => {
4438
4436
  let m = document.createElement("style");
4439
4437
  m.innerHTML = P, H.appendChild(m);
4440
- }, nr = () => {
4441
- let m = new URL(N), M = document.createElement("style");
4442
- fetch(m.href).then((z) => z.text()).then((z) => {
4443
- M.innerHTML = z, setTimeout(
4438
+ }, rr = () => {
4439
+ let m = new URL(w), M = document.createElement("style");
4440
+ fetch(m.href).then((J) => J.text()).then((J) => {
4441
+ M.innerHTML = J, setTimeout(
4444
4442
  () => {
4445
4443
  H.appendChild(M);
4446
4444
  },
@@ -4452,29 +4450,29 @@ function Ci(e, t, r) {
4452
4450
  );
4453
4451
  });
4454
4452
  };
4455
- _r(() => (setTimeout(() => rt(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", et, !1), () => {
4456
- window.removeEventListener("message", et);
4453
+ yr(() => (setTimeout(() => tt(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Ke, !1), () => {
4454
+ window.removeEventListener("message", Ke);
4457
4455
  }));
4458
- const rt = () => {
4459
- xi(d), Ne(), Ie(), o && we();
4460
- }, ir = () => tt();
4461
- function sr(m) {
4462
- Fe[m ? "unshift" : "push"](() => {
4456
+ const tt = () => {
4457
+ Ei(d), Ie(), Be(), o && Ce();
4458
+ }, nr = () => et();
4459
+ function ir(m) {
4460
+ ke[m ? "unshift" : "push"](() => {
4463
4461
  H = m, r(10, H);
4464
4462
  });
4465
4463
  }
4466
4464
  return e.$$set = (m) => {
4467
- "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(3, u = m.tourid), "thumbnail" in m && r(4, h = m.thumbnail), "userenrolled" in m && r(5, c = m.userenrolled), "scorecriteria" in m && r(23, f = m.scorecriteria), "minbetcount" in m && r(6, g = m.minbetcount), "showenrolled" in m && r(7, b = m.showenrolled), "gameurl" in m && r(8, y = m.gameurl), "lang" in m && r(24, d = m.lang), "keepbrowsercontext" in m && r(9, v = m.keepbrowsercontext), "clientstyling" in m && r(25, P = m.clientstyling), "clientstylingurl" in m && r(26, N = m.clientstylingurl), "translationurl" in m && r(27, A = m.translationurl);
4465
+ "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(3, u = m.tourid), "thumbnail" in m && r(4, h = m.thumbnail), "userenrolled" in m && r(5, c = m.userenrolled), "scorecriteria" in m && r(23, f = m.scorecriteria), "minbetcount" in m && r(6, g = m.minbetcount), "showenrolled" in m && r(7, b = m.showenrolled), "gameurl" in m && r(8, y = m.gameurl), "lang" in m && r(24, d = m.lang), "keepbrowsercontext" in m && r(9, v = m.keepbrowsercontext), "clientstyling" in m && r(25, P = m.clientstyling), "clientstylingurl" in m && r(26, w = m.clientstylingurl), "translationurl" in m && r(27, A = m.translationurl);
4468
4466
  }, e.$$.update = () => {
4469
4467
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4470
- 33555456 && H && P && rr(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4471
- 67109888 && H && N && nr(), e.$$.dirty[0] & /*translationurl*/
4468
+ 33555456 && H && P && tr(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4469
+ 67109888 && H && w && rr(), e.$$.dirty[0] & /*translationurl*/
4472
4470
  134217728 && A && D(), e.$$.dirty[0] & /*session*/
4473
- 2097152 && i && tr(), e.$$.dirty[0] & /*status*/
4474
- 1 && l && Ie(), e.$$.dirty[0] & /*title, lang*/
4475
- 16777218 && a && d && rt(), e.$$.dirty[0] & /*startdate*/
4476
- 4 && o && we(), e.$$.dirty[0] & /*scorecriteria*/
4477
- 8388608 && f && Ne();
4471
+ 2097152 && i && er(), e.$$.dirty[0] & /*status*/
4472
+ 1 && l && Be(), e.$$.dirty[0] & /*title, lang*/
4473
+ 16777218 && a && d && tt(), e.$$.dirty[0] & /*startdate*/
4474
+ 4 && o && Ce(), e.$$.dirty[0] & /*scorecriteria*/
4475
+ 8388608 && f && Ie();
4478
4476
  }, [
4479
4477
  l,
4480
4478
  a,
@@ -4489,33 +4487,33 @@ function Ci(e, t, r) {
4489
4487
  H,
4490
4488
  F,
4491
4489
  k,
4490
+ j,
4492
4491
  V,
4493
- J,
4494
4492
  C,
4495
4493
  n,
4496
- we,
4494
+ Ce,
4495
+ Be,
4497
4496
  Ie,
4498
- Ne,
4499
- tt,
4497
+ et,
4500
4498
  i,
4501
4499
  s,
4502
4500
  f,
4503
4501
  d,
4504
4502
  P,
4505
- N,
4503
+ w,
4506
4504
  A,
4507
- ir,
4508
- sr
4505
+ nr,
4506
+ ir
4509
4507
  ];
4510
4508
  }
4511
- class Bi extends Nr {
4509
+ class Ci extends Nr {
4512
4510
  constructor(t) {
4513
- super(), wr(
4511
+ super(), Br(
4514
4512
  this,
4515
4513
  t,
4516
- Ci,
4517
4514
  Hi,
4518
- Bt,
4515
+ Ai,
4516
+ Ct,
4519
4517
  {
4520
4518
  session: 21,
4521
4519
  userid: 22,
@@ -4535,7 +4533,7 @@ class Bi extends Nr {
4535
4533
  clientstylingurl: 26,
4536
4534
  translationurl: 27
4537
4535
  },
4538
- Si,
4536
+ vi,
4539
4537
  [-1, -1]
4540
4538
  );
4541
4539
  }
@@ -4543,106 +4541,106 @@ class Bi extends Nr {
4543
4541
  return this.$$.ctx[21];
4544
4542
  }
4545
4543
  set session(t) {
4546
- this.$$set({ session: t }), w();
4544
+ this.$$set({ session: t }), I();
4547
4545
  }
4548
4546
  get userid() {
4549
4547
  return this.$$.ctx[22];
4550
4548
  }
4551
4549
  set userid(t) {
4552
- this.$$set({ userid: t }), w();
4550
+ this.$$set({ userid: t }), I();
4553
4551
  }
4554
4552
  get title() {
4555
4553
  return this.$$.ctx[1];
4556
4554
  }
4557
4555
  set title(t) {
4558
- this.$$set({ title: t }), w();
4556
+ this.$$set({ title: t }), I();
4559
4557
  }
4560
4558
  get startdate() {
4561
4559
  return this.$$.ctx[2];
4562
4560
  }
4563
4561
  set startdate(t) {
4564
- this.$$set({ startdate: t }), w();
4562
+ this.$$set({ startdate: t }), I();
4565
4563
  }
4566
4564
  get status() {
4567
4565
  return this.$$.ctx[0];
4568
4566
  }
4569
4567
  set status(t) {
4570
- this.$$set({ status: t }), w();
4568
+ this.$$set({ status: t }), I();
4571
4569
  }
4572
4570
  get tourid() {
4573
4571
  return this.$$.ctx[3];
4574
4572
  }
4575
4573
  set tourid(t) {
4576
- this.$$set({ tourid: t }), w();
4574
+ this.$$set({ tourid: t }), I();
4577
4575
  }
4578
4576
  get thumbnail() {
4579
4577
  return this.$$.ctx[4];
4580
4578
  }
4581
4579
  set thumbnail(t) {
4582
- this.$$set({ thumbnail: t }), w();
4580
+ this.$$set({ thumbnail: t }), I();
4583
4581
  }
4584
4582
  get userenrolled() {
4585
4583
  return this.$$.ctx[5];
4586
4584
  }
4587
4585
  set userenrolled(t) {
4588
- this.$$set({ userenrolled: t }), w();
4586
+ this.$$set({ userenrolled: t }), I();
4589
4587
  }
4590
4588
  get scorecriteria() {
4591
4589
  return this.$$.ctx[23];
4592
4590
  }
4593
4591
  set scorecriteria(t) {
4594
- this.$$set({ scorecriteria: t }), w();
4592
+ this.$$set({ scorecriteria: t }), I();
4595
4593
  }
4596
4594
  get minbetcount() {
4597
4595
  return this.$$.ctx[6];
4598
4596
  }
4599
4597
  set minbetcount(t) {
4600
- this.$$set({ minbetcount: t }), w();
4598
+ this.$$set({ minbetcount: t }), I();
4601
4599
  }
4602
4600
  get showenrolled() {
4603
4601
  return this.$$.ctx[7];
4604
4602
  }
4605
4603
  set showenrolled(t) {
4606
- this.$$set({ showenrolled: t }), w();
4604
+ this.$$set({ showenrolled: t }), I();
4607
4605
  }
4608
4606
  get gameurl() {
4609
4607
  return this.$$.ctx[8];
4610
4608
  }
4611
4609
  set gameurl(t) {
4612
- this.$$set({ gameurl: t }), w();
4610
+ this.$$set({ gameurl: t }), I();
4613
4611
  }
4614
4612
  get lang() {
4615
4613
  return this.$$.ctx[24];
4616
4614
  }
4617
4615
  set lang(t) {
4618
- this.$$set({ lang: t }), w();
4616
+ this.$$set({ lang: t }), I();
4619
4617
  }
4620
4618
  get keepbrowsercontext() {
4621
4619
  return this.$$.ctx[9];
4622
4620
  }
4623
4621
  set keepbrowsercontext(t) {
4624
- this.$$set({ keepbrowsercontext: t }), w();
4622
+ this.$$set({ keepbrowsercontext: t }), I();
4625
4623
  }
4626
4624
  get clientstyling() {
4627
4625
  return this.$$.ctx[25];
4628
4626
  }
4629
4627
  set clientstyling(t) {
4630
- this.$$set({ clientstyling: t }), w();
4628
+ this.$$set({ clientstyling: t }), I();
4631
4629
  }
4632
4630
  get clientstylingurl() {
4633
4631
  return this.$$.ctx[26];
4634
4632
  }
4635
4633
  set clientstylingurl(t) {
4636
- this.$$set({ clientstylingurl: t }), w();
4634
+ this.$$set({ clientstylingurl: t }), I();
4637
4635
  }
4638
4636
  get translationurl() {
4639
4637
  return this.$$.ctx[27];
4640
4638
  }
4641
4639
  set translationurl(t) {
4642
- this.$$set({ translationurl: t }), w();
4640
+ this.$$set({ translationurl: t }), I();
4643
4641
  }
4644
4642
  }
4645
- Ir(Bi, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4643
+ Ir(Ci, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4646
4644
  export {
4647
- Bi as C
4645
+ Ci as C
4648
4646
  };