@everymatrix/casino-tournaments-thumbnail 1.66.2 → 1.67.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-LcJEuWUZ.js → CasinoTournamentsThumbnail-BL73vTxZ.js} +700 -702
  2. package/components/{CasinoTournamentsThumbnail-C4ZApuHe.js → CasinoTournamentsThumbnail-BR0OBOd-.js} +723 -725
  3. package/components/CasinoTournamentsThumbnail-P5sNYJVC.cjs +19 -0
  4. package/es2015/casino-tournaments-thumbnail.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/{index-97d17652-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-DCHi9Fyd.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 k() {
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 de(e) {
14
+ function me(e) {
15
15
  return typeof e == "function";
16
16
  }
17
- function Bt(e, t) {
17
+ function Ct(e, t) {
18
18
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
19
19
  }
20
- let ge;
21
- function Fe(e, t) {
22
- return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
20
+ let be;
21
+ function ke(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 be(e) {
40
- return e && de(e.destroy) ? e.destroy : k;
39
+ function de(e) {
40
+ return e && me(e.destroy) ? e.destroy : k;
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 w(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 fe;
114
- function he(e) {
115
- fe = e;
113
+ let he;
114
+ function le(e) {
115
+ he = e;
116
116
  }
117
- function yr() {
118
- if (!fe)
117
+ function pr() {
118
+ if (!he)
119
119
  throw new Error("Function called outside component initialization");
120
- return fe;
120
+ return he;
121
121
  }
122
- function _r(e) {
123
- yr().$$.on_mount.push(e);
122
+ function yr(e) {
123
+ pr().$$.on_mount.push(e);
124
124
  }
125
- const Q = [], Ge = [];
126
- let K = [];
127
- const it = [], Er = /* @__PURE__ */ Promise.resolve();
128
- let $e = !1;
129
- function vr() {
130
- $e || ($e = !0, Er.then(w));
125
+ const q = [], Ue = [];
126
+ let Y = [];
127
+ const nt = [], _r = /* @__PURE__ */ Promise.resolve();
128
+ let Fe = !1;
129
+ function xr() {
130
+ Fe || (Fe = !0, _r.then(I));
131
131
  }
132
- function je(e) {
133
- K.push(e);
132
+ function Ge(e) {
133
+ Y.push(e);
134
134
  }
135
- const Pe = /* @__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 = fe;
140
+ const e = he;
141
141
  do {
142
142
  try {
143
- for (; Z < Q.length; ) {
144
- const t = Q[Z];
145
- Z++, he(t), xr(t.$$);
143
+ for (; X < q.length; ) {
144
+ const t = q[X];
145
+ X++, le(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 (he(null), Q.length = 0, Z = 0; Ge.length; )
151
- Ge.pop()();
152
- for (let t = 0; t < K.length; t += 1) {
153
- const r = K[t];
154
- Pe.has(r) || (Pe.add(r), r());
150
+ for (le(null), q.length = 0, X = 0; Ue.length; )
151
+ Ue.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
- $e = !1, Pe.clear(), he(e);
156
+ Y.length = 0;
157
+ } while (q.length);
158
+ for (; nt.length; )
159
+ nt.pop()();
160
+ Fe = !1, Ne.clear(), le(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(je);
166
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
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), je(() => {
180
- const s = e.$$.on_mount.map(Ct).filter(de);
181
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
182
- }), i.forEach(je);
179
+ n && n.m(t, r), Ge(() => {
180
+ const s = e.$$.on_mount.map(Ht).filter(me);
181
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
182
+ }), i.forEach(Ge);
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, o = null, a = [-1]) {
192
- const l = fe;
193
- he(e);
191
+ function Br(e, t, r, n, i, s, o = null, a = [-1]) {
192
+ const l = he;
193
+ le(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, o = null, a = [-1]) {
198
198
  props: s,
199
199
  update: k,
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, o = null, a = [-1]) {
207
207
  after_update: [],
208
208
  context: new Map(t.context || (l ? l.$$.context : [])),
209
209
  // everything else
210
- callbacks: nt(),
210
+ callbacks: rt(),
211
211
  dirty: a,
212
212
  skip_bound: !1,
213
213
  root: t.target || l.$$.root
214
214
  };
215
215
  o && o(u.root);
216
216
  let h = !1;
217
- if (u.ctx = r ? r(e, t.props || {}, (m, f, ...g) => {
217
+ if (u.ctx = r(e, t.props || {}, (m, f, ...g) => {
218
218
  const b = g.length ? g[0] : f;
219
- return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), h && Br(e, m)), 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[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), h && Cr(e, m)), f;
220
+ }), u.update(), h = !0, ne(u.before_update), u.fragment = n(u.ctx), t.target) {
221
221
  if (t.hydrate) {
222
- const m = gr(t.target);
223
- u.fragment && u.fragment.l(m), m.forEach(I);
222
+ const m = br(t.target);
223
+ u.fragment && u.fragment.l(m), m.forEach(w);
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
- he(l);
228
+ le(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 && w(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 && a in this.$$c ? this.$$c[a] : this.$$d[a];
392
392
  },
393
393
  set(l) {
394
- l = ye(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
394
+ l = pe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
395
395
  }
396
396
  });
397
397
  }), n.forEach((a) => {
@@ -403,7 +403,7 @@ function Ir(e, t, r, n, i, s) {
403
403
  }), e.element = /** @type {any} */
404
404
  o, o;
405
405
  }
406
- class Nr {
406
+ class wr {
407
407
  /**
408
408
  * ### PRIVATE API
409
409
  *
@@ -422,7 +422,7 @@ class Nr {
422
422
  $$set = void 0;
423
423
  /** @returns {void} */
424
424
  $destroy() {
425
- Cr(this, 1), this.$destroy = k;
425
+ Hr(this, 1), this.$destroy = k;
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 (!de(r))
434
+ if (!me(r))
435
435
  return k;
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 Nr = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
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 = k) {
458
+ function ve(e, t = k) {
459
459
  let r;
460
460
  const n = /* @__PURE__ */ new Set();
461
461
  function i(a) {
462
- if (Bt(e, a) && (e = a, r)) {
463
- const l = !q.length;
462
+ if (Ct(e, a) && (e = a, 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 = k) {
481
481
  }
482
482
  return { set: i, update: s, subscribe: o };
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, (o, a) => {
489
+ return Or(r, (o, a) => {
490
490
  let l = !1;
491
491
  const u = [];
492
492
  let h = 0, m = k;
@@ -495,9 +495,9 @@ function se(e, t, r) {
495
495
  return;
496
496
  m();
497
497
  const b = t(n ? u[0] : u, o, a);
498
- s ? o(b) : m = de(b) ? b : k;
498
+ s ? o(b) : m = me(b) ? b : k;
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,112 +508,126 @@ function se(e, t, r) {
508
508
  )
509
509
  );
510
510
  return l = !0, f(), function() {
511
- ie(g), m(), l = !1;
511
+ ne(g), m(), 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 Lr = function(t) {
519
- return Rr(t) && !Dr(t);
518
+ var Mr = function(t) {
519
+ return Lr(t) && !Rr(t);
520
520
  };
521
- function Rr(e) {
521
+ function Lr(e) {
522
522
  return !!e && typeof e == "object";
523
523
  }
524
- function Dr(e) {
524
+ function Rr(e) {
525
525
  var t = Object.prototype.toString.call(e);
526
- return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
526
+ return t === "[object RegExp]" || t === "[object Date]" || Ur(e);
527
527
  }
528
- var kr = typeof Symbol == "function" && Symbol.for, Ur = kr ? Symbol.for("react.element") : 60103;
529
- function Fr(e) {
530
- return e.$$typeof === Ur;
528
+ var Dr = typeof Symbol == "function" && Symbol.for, kr = Dr ? Symbol.for("react.element") : 60103;
529
+ function Ur(e) {
530
+ return e.$$typeof === kr;
531
531
  }
532
- function Gr(e) {
532
+ function Fr(e) {
533
533
  return Array.isArray(e) ? [] : {};
534
534
  }
535
- function ce(e, t) {
536
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Gr(e), e, t) : e;
535
+ function fe(e, t) {
536
+ return t.clone !== !1 && t.isMergeableObject(e) ? 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 ce(n, r);
540
+ return fe(n, r);
541
541
  });
542
542
  }
543
- function jr(e, t) {
543
+ function $r(e, t) {
544
544
  if (!t.customMerge)
545
- 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
- function Nt(e, t) {
557
+ function wt(e, t) {
558
558
  try {
559
559
  return t in e;
560
560
  } catch {
561
561
  return !1;
562
562
  }
563
563
  }
564
- function Jr(e, t) {
565
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
564
+ function Vr(e, t) {
565
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
566
566
  }
567
- function zr(e, t, r) {
567
+ function Jr(e, t, r) {
568
568
  var n = {};
569
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
570
- n[i] = ce(e[i], r);
571
- }), st(t).forEach(function(i) {
572
- Jr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
569
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
570
+ n[i] = fe(e[i], r);
571
+ }), it(t).forEach(function(i) {
572
+ Vr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = fe(t[i], r));
573
573
  }), n;
574
574
  }
575
- function ee(e, t, r) {
576
- r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = ce;
575
+ function K(e, t, r) {
576
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gr, r.isMergeableObject = r.isMergeableObject || Mr, r.cloneUnlessOtherwiseSpecified = fe;
577
577
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
578
- return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : ce(t, r);
578
+ return s ? n ? r.arrayMerge(e, t, r) : Jr(e, t, r) : fe(t, r);
579
579
  }
580
- 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 Ve = function(e, t) {
590
- return Ve = 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 $e = function(e, t) {
604
+ return $e = 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
- }, Ve(e, t);
609
+ }, $e(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
- Ve(e, t);
614
+ $e(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 Me(e, t, r) {
626
- if (r || arguments.length === 2)
639
+ function Oe(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 Le(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 Pe(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 Nt(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 ? Nt : 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, Nt, 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
+ }, Me = {
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 Lt(e) {
711
- return e.type === S.date;
722
+ return e.type === T.time;
712
723
  }
713
724
  function Rt(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 Je(e) {
732
- return !!(e && typeof e == "object" && e.type === te.dateTime);
739
+ function je(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], o = 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, m, f, g) {
1007
+ i.options[0].replace(fn, function(l, u, h, m, 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, m, f, g) {
1027
+ i.stem.replace(at, function(l, u, h, m, f, g) {
1030
1028
  return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.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 o = Vt(i.stem);
1041
- o && (t = T(T({}, t), o));
1042
- var a = mn(i.stem);
1043
- a && (t = T(T({}, t), a));
1038
+ var o = jt(i.stem);
1039
+ o && (t = E(E({}, t), o));
1040
+ var a = cn(i.stem);
1041
+ a && (t = E(E({}, t), a));
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 o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = gn(t);
2466
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = bn(t);
2469
2467
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2470
2468
  r += l;
2471
2469
  for (; o-- > 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 De, pn = new RegExp("^".concat(Gt.source, "*")), yn = new RegExp("".concat(Gt.source, "*$"));
2501
- function E(e, t) {
2498
+ var Le, 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
- }, ze = !0;
2504
+ }, Ve = !0;
2507
2505
  try {
2508
- var Cn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2509
- ze = ((De = Cn.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
2506
+ var Hn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2507
+ Ve = ((Le = Hn.exec("a")) === null || Le === void 0 ? void 0 : Le[0]) === "a";
2510
2508
  } catch {
2511
- ze = !1;
2509
+ Ve = !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
- ), We = En ? String.fromCodePoint : (
2521
+ ), Je = _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 Xe;
2586
- if (ze) {
2587
- var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2588
- Xe = function(t, r) {
2583
+ var ze;
2584
+ if (Ve) {
2585
+ var ft = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2586
+ ze = 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
- Xe = function(t, r) {
2593
+ ze = 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 We.apply(void 0, n);
2600
+ return Je.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 a = this.clonePosition();
2627
2625
  this.bump(), i.push({
2628
- type: S.pound,
2629
- location: E(a, this.clonePosition())
2626
+ type: T.pound,
2627
+ location: x(a, 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 && Ze(this.peek() || 0)) {
2632
+ return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2633
+ } else if (s === 60 && !this.ignoreTag && We(this.peek() || 0)) {
2636
2634
  var o = this.parseTag(t, r);
2637
2635
  if (o.err)
2638
2636
  return o;
@@ -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 o = s.val, a = this.clonePosition();
2667
2665
  if (this.bumpIf("</")) {
2668
- if (this.isEOF() || !Ze(this.char()))
2669
- return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
2666
+ if (this.isEOF() || !We(this.char()))
2667
+ return this.error(_.INVALID_TAG, x(a, 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: o,
2676
- location: E(n, this.clonePosition())
2674
+ location: x(n, this.clonePosition())
2677
2675
  },
2678
2676
  err: null
2679
- } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
2677
+ } : this.error(_.INVALID_TAG, x(a, 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() && Nn(this.char()); )
2687
2685
  this.bump();
2688
2686
  return this.message.slice(t, this.offset());
2689
2687
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2705,14 +2703,14 @@ 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() {
2714
2712
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2715
- !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2713
+ !wn(this.peek() || 0)) ? (this.bump(), "<") : null;
2716
2714
  }, e.prototype.tryParseQuote = function(t) {
2717
2715
  if (this.isEOF() || this.char() !== 39)
2718
2716
  return null;
@@ -2746,49 +2744,49 @@ var In = (
2746
2744
  r.push(n);
2747
2745
  this.bump();
2748
2746
  }
2749
- return We.apply(void 0, r);
2747
+ return Je.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(), We(n));
2752
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(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 = Xe(this.message, r), i = r + n.length;
2781
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2784
2782
  this.bumpTo(i);
2785
- var s = this.clonePosition(), o = E(t, s);
2783
+ var s = this.clonePosition(), o = x(t, s);
2786
2784
  return { value: n, location: o };
2787
2785
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2788
2786
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2789
2787
  switch (a) {
2790
2788
  case "":
2791
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(o, l));
2789
+ return this.error(_.EXPECT_ARGUMENT_TYPE, x(o, 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(), m = this.parseSimpleArgStyleIfPossible();
2800
2798
  if (m.err)
2801
2799
  return m;
2802
- var f = wn(m.val);
2800
+ var f = Bn(m.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 (a === "number") {
2815
2813
  var m = this.parseNumberSkeletonFromString(d, u.styleLocation);
2816
2814
  return m.err ? m : {
2817
- val: { type: S.number, value: n, location: y, style: m.val },
2815
+ val: { type: T.number, value: n, location: y, style: m.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 = a === "date" ? S.date : S.time;
2827
+ parsedOptions: this.shouldParseSkeletons ? on(v) : {}
2828
+ }, P = a === "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: a === "number" ? S.number : a === "date" ? S.date : S.time,
2837
+ type: a === "number" ? T.number : a === "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
@@ -2849,12 +2847,12 @@ var In = (
2849
2847
  case "select": {
2850
2848
  var N = 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(N, E({}, N)));
2853
2851
  this.bumpSpace();
2854
2852
  var A = this.parseIdentifierIfPossible(), H = 0;
2855
2853
  if (a !== "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 m = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2860
2858
  if (m.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 D = E(i, this.clonePosition());
2868
+ var D = x(i, this.clonePosition());
2871
2869
  return a === "select" ? {
2872
2870
  val: {
2873
- type: S.select,
2871
+ type: T.select,
2874
2872
  value: n,
2875
- options: ft(U.val),
2873
+ options: ht(U.val),
2876
2874
  location: D
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(U.val),
2881
+ options: ht(U.val),
2884
2882
  offset: H,
2885
2883
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2886
2884
  location: D
@@ -2889,10 +2887,10 @@ var In = (
2889
2887
  };
2890
2888
  }
2891
2889
  default:
2892
- return this.error(_.INVALID_ARGUMENT_TYPE, E(o, l));
2890
+ return this.error(_.INVALID_ARGUMENT_TYPE, x(o, 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(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
2953
+ h = x(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
2956
2954
  } else
2957
2955
  break;
2958
2956
  }
@@ -2961,7 +2959,7 @@ var In = (
2961
2959
  u === "other" && (o = !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 a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2977
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, 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 ? (o *= n, Hn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
2988
+ var l = x(i, this.clonePosition());
2989
+ return s ? (o *= n, An(o) ? { val: o, 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 Ze(e) {
3055
+ function We(e) {
3058
3056
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3059
3057
  }
3060
- function Nn(e) {
3061
- return Ze(e) || e === 47;
3058
+ function wn(e) {
3059
+ return We(e) || e === 47;
3062
3060
  }
3063
- function On(e) {
3061
+ function Nn(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 qe(e) {
3070
+ function Xe(e) {
3073
3071
  e.forEach(function(t) {
3074
- if (delete t.location, Dt(t) || kt(t))
3072
+ if (delete t.location, Rt(t) || Dt(t))
3075
3073
  for (var r in t.options)
3076
- delete t.options[r].location, qe(t.options[r].value);
3074
+ delete t.options[r].location, Xe(t.options[r].value);
3077
3075
  else
3078
- Mt(t) && Ft(t.style) || (Lt(t) || Rt(t)) && Je(t.style) ? delete t.style.location : Ut(t) && qe(t.children);
3076
+ Pt(t) && Ut(t.style) || (Mt(t) || Lt(t)) && je(t.style) ? delete t.style.location : kt(t) && Xe(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 || qe(r.val), r.val;
3086
+ return t?.captureLocation || Xe(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
- ), Ln = (
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
- ), Rn = (
3121
+ }(Te)
3122
+ ), Ln = (
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
  ), M;
3134
3132
  (function(e) {
3135
3133
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3136
3134
  })(M || (M = {}));
3137
- function Dn(e) {
3135
+ function Rn(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 !== M.literal || r.type !== M.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, o) {
3147
- if (e.length === 1 && at(e[0]))
3144
+ function ye(e, t, r, n, i, s, o) {
3145
+ if (e.length === 1 && st(e[0]))
3148
3146
  return [
3149
3147
  {
3150
3148
  type: M.literal,
@@ -3153,14 +3151,14 @@ function _e(e, t, r, n, i, s, o) {
3153
3151
  ];
3154
3152
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3155
3153
  var h = u[l];
3156
- if (at(h)) {
3154
+ if (st(h)) {
3157
3155
  a.push({
3158
3156
  type: M.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" && a.push({
3165
3163
  type: M.literal,
3166
3164
  value: r.getNumberFormat(t).format(s)
@@ -3169,44 +3167,44 @@ function _e(e, t, r, n, i, s, o) {
3169
3167
  }
3170
3168
  var m = h.value;
3171
3169
  if (!(i && m in i))
3172
- throw new Rn(m, o);
3170
+ throw new Ln(m, o);
3173
3171
  var f = i[m];
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) : ""), a.push({
3176
3174
  type: typeof f == "string" ? M.literal : M.object,
3177
3175
  value: f
3178
3176
  });
3179
3177
  continue;
3180
3178
  }
3181
- if (Lt(h)) {
3182
- var g = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
3179
+ if (Mt(h)) {
3180
+ var g = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3183
3181
  a.push({
3184
3182
  type: M.literal,
3185
3183
  value: r.getDateTimeFormat(t, g).format(f)
3186
3184
  });
3187
3185
  continue;
3188
3186
  }
3189
- if (Rt(h)) {
3190
- var g = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
3187
+ if (Lt(h)) {
3188
+ var g = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3191
3189
  a.push({
3192
3190
  type: M.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)), a.push({
3200
3198
  type: M.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 Ln(y, "function", o);
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", o);
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]), a.push.apply(a, P.map(function(H) {
@@ -3216,42 +3214,42 @@ function _e(e, t, r, n, i, s, o) {
3216
3214
  };
3217
3215
  }));
3218
3216
  }
3219
- if (Dt(h)) {
3217
+ if (Rt(h)) {
3220
3218
  var N = h.options[f] || h.options.other;
3221
3219
  if (!N)
3222
- throw new mt(h.value, f, Object.keys(h.options), o);
3223
- a.push.apply(a, _e(N.value, t, r, n, i));
3220
+ throw new ct(h.value, f, Object.keys(h.options), o);
3221
+ a.push.apply(a, ye(N.value, t, r, n, i));
3224
3222
  continue;
3225
3223
  }
3226
- if (kt(h)) {
3224
+ if (Dt(h)) {
3227
3225
  var N = h.options["=".concat(f)];
3228
3226
  if (!N) {
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, o);
3230
+ `, te.MISSING_INTL_API, o);
3233
3231
  var A = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3234
3232
  N = h.options[A] || h.options.other;
3235
3233
  }
3236
3234
  if (!N)
3237
- throw new mt(h.value, f, Object.keys(h.options), o);
3238
- a.push.apply(a, _e(N.value, t, r, n, i, f - (h.offset || 0)));
3235
+ throw new ct(h.value, f, Object.keys(h.options), o);
3236
+ a.push.apply(a, ye(N.value, t, r, n, i, f - (h.offset || 0)));
3239
3237
  continue;
3240
3238
  }
3241
3239
  }
3242
- return Dn(a);
3240
+ return Rn(a);
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 ke(e) {
3252
+ function Re(e) {
3255
3253
  return {
3256
3254
  create: function() {
3257
3255
  return {
@@ -3265,39 +3263,39 @@ function ke(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: Le(function() {
3272
+ getNumberFormat: Pe(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, Me([void 0], r, !1)))();
3275
+ return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3278
3276
  }, {
3279
- cache: ke(e.number),
3280
- strategy: Re.variadic
3277
+ cache: Re(e.number),
3278
+ strategy: Me.variadic
3281
3279
  }),
3282
- getDateTimeFormat: Le(function() {
3280
+ getDateTimeFormat: Pe(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, Me([void 0], r, !1)))();
3283
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3286
3284
  }, {
3287
- cache: ke(e.dateTime),
3288
- strategy: Re.variadic
3285
+ cache: Re(e.dateTime),
3286
+ strategy: Me.variadic
3289
3287
  }),
3290
- getPluralRules: Le(function() {
3288
+ getPluralRules: Pe(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, Me([void 0], r, !1)))();
3291
+ return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3294
3292
  }, {
3295
- cache: ke(e.pluralRules),
3296
- strategy: Re.variadic
3293
+ cache: Re(e.pluralRules),
3294
+ strategy: Me.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 o = i || {};
3331
3329
  o.formatters;
3332
- var a = qr(o, ["formatters"]);
3333
- this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3330
+ var a = Zr(o, ["formatters"]);
3331
+ this.ast = e.__parse(t, E(E({}, a), { 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 z = {}, Vn = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Xt = (e, t) => {
3431
+ const J = {}, jn = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), Wt = (e, t) => {
3434
3432
  if (t == null)
3435
3433
  return;
3436
- if (t in z && e in z[t])
3437
- return z[t][e];
3438
- const r = Ce(t);
3434
+ if (t in J && e in J[t])
3435
+ return J[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 Ke;
3446
- const ae = Te({});
3447
- function Jn(e) {
3448
- return Ke[e] || null;
3443
+ let Ye;
3444
+ const se = ve({});
3445
+ function Vn(e) {
3446
+ return Ye[e] || null;
3449
3447
  }
3450
- function Zt(e) {
3451
- return e in Ke;
3448
+ function Xt(e) {
3449
+ return e in Ye;
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 z[e], ae.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3467
+ function Zt(e, ...t) {
3468
+ delete J[e], se.update((r) => (r[e] = Xr.all([r[e] || {}, ...t]), r));
3471
3469
  }
3472
- se(
3473
- [ae],
3470
+ ie(
3471
+ [se],
3474
3472
  ([e]) => Object.keys(e)
3475
3473
  );
3476
- ae.subscribe((e) => Ke = e);
3477
- const Ee = {};
3478
- function Xn(e, t) {
3479
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3474
+ se.subscribe((e) => Ye = 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 Ze(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 le = {};
3504
- function Yt(e) {
3505
- if (!Qe(e))
3506
- return e in le ? le[e] : Promise.resolve();
3507
- const t = Zn(e);
3508
- return le[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 ue = {};
3502
+ function Qt(e) {
3503
+ if (!Ze(e))
3504
+ return e in ue ? ue[e] : Promise.resolve();
3505
+ const t = Xn(e);
3506
+ return ue[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 le[e];
3516
- }), le[e];
3511
+ if (Ze(e))
3512
+ return Qt(e);
3513
+ delete ue[e];
3514
+ }), ue[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 Ue = 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 De = 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 Ye;
3568
- const xe = Te(null);
3569
- function gt(e) {
3564
+ }, si = (e, t) => ei(e, ti(t));
3565
+ let qe;
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 Ye ?? void 0;
3574
+ function W() {
3575
+ return qe ?? void 0;
3578
3576
  }
3579
3577
  xe.subscribe((e) => {
3580
- Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3578
+ qe = 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) && Ze(e)) {
3582
+ const { loadingDelay: t } = re();
3585
3583
  let r;
3586
- return typeof window < "u" && X() != null && t ? r = window.setTimeout(
3587
- () => Ue.set(!0),
3584
+ return typeof window < "u" && W() != null && t ? r = window.setTimeout(
3585
+ () => De.set(!0),
3588
3586
  t
3589
- ) : Ue.set(!0), Yt(e).then(() => {
3587
+ ) : De.set(!0), Qt(e).then(() => {
3590
3588
  xe.set(e);
3591
3589
  }).finally(() => {
3592
- clearTimeout(r), Ue.set(!1);
3590
+ clearTimeout(r), De.set(!1);
3593
3591
  });
3594
3592
  }
3595
3593
  return xe.set(e);
3596
- }, W = ai(si({}, xe), {
3597
- set: oi
3598
- }), Be = (e) => {
3594
+ }, z = 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, et = (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, Ke = (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 me = (e, t) => {
3622
- const { formats: r } = ne();
3619
+ const ce = (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 = me("number", n)), new Intl.NumberFormat(r, i);
3629
+ return n && (i = ce("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 = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3636
+ return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
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 = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3645
+ return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
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(et({ locale: r }, n));
3656
- }, mi = (e = {}) => {
3653
+ return ui(Ke({ 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(et({ locale: r }, n));
3663
- }, di = (e = {}) => {
3660
+ return li(Ke({ 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(et({ locale: r }, n));
3670
- }, bi = Be(
3667
+ return hi(Ke({ 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 o = t;
3678
3676
  typeof e == "object" && (o = e, e = o.id);
3679
3677
  const {
3680
3678
  values: a,
3681
- locale: l = X(),
3679
+ locale: l = W(),
3682
3680
  default: u
3683
3681
  } = o;
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 me = (e, t) => {
3696
3694
  return h;
3697
3695
  let m = h;
3698
3696
  try {
3699
- m = bi(h, l).format(a);
3697
+ m = di(h, l).format(a);
3700
3698
  } catch (f) {
3701
3699
  f instanceof Error && console.warn(
3702
3700
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3704,23 +3702,23 @@ const me = (e, t) => {
3704
3702
  );
3705
3703
  }
3706
3704
  return m;
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([W, ae], () => gi);
3708
- se([W], () => pi);
3709
- se([W], () => yi);
3710
- se([W], () => _i);
3711
- se([W, ae], () => Ei);
3712
- function xi({ withLocale: e, translations: t }) {
3713
- W.subscribe((r) => {
3714
- r == null && (ae.set(t), W.set(e));
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([z, se], () => bi);
3706
+ ie([z], () => gi);
3707
+ ie([z], () => pi);
3708
+ ie([z], () => yi);
3709
+ ie([z, se], () => _i);
3710
+ function Ei({ withLocale: e, translations: t }) {
3711
+ z.subscribe((r) => {
3712
+ r == null && (se.set(t), z.set(e));
3715
3713
  });
3716
3714
  }
3717
- function yt(e, t) {
3718
- qt(e, t);
3715
+ function pt(e, t) {
3716
+ Zt(e, t);
3719
3717
  }
3720
- function Si(e) {
3721
- W.set(e);
3718
+ function vi(e) {
3719
+ z.set(e);
3722
3720
  }
3723
- const _t = {
3721
+ const yt = {
3724
3722
  en: {
3725
3723
  enrolled: "Enrolled",
3726
3724
  scoreCriteria: "Score Criteria",
@@ -4052,10 +4050,10 @@ const _t = {
4052
4050
  December: "December"
4053
4051
  }
4054
4052
  };
4055
- function Ti(e) {
4056
- fr(e, "svelte-1bncdcr", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{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}');
4053
+ function Si(e) {
4054
+ hr(e, "svelte-1bncdcr", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{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}');
4057
4055
  }
4058
- function Et(e) {
4056
+ function _t(e) {
4059
4057
  let t, r, n;
4060
4058
  return {
4061
4059
  c() {
@@ -4065,30 +4063,30 @@ function Et(e) {
4065
4063
  O(i, t, s), O(i, r, s), O(i, n, s);
4066
4064
  },
4067
4065
  d(i) {
4068
- i && (I(t), I(r), I(n));
4066
+ i && (w(t), w(r), w(n));
4069
4067
  }
4070
4068
  };
4071
4069
  }
4072
- function vt(e) {
4070
+ function xt(e) {
4073
4071
  let t, r, n, i, s, o, a, l, u = (
4074
4072
  /*status*/
4075
- e[0] && xt(e)
4073
+ e[0] && Et(e)
4076
4074
  ), h = (
4077
4075
  /*showenrolled*/
4078
- e[7] == "true" && St(e)
4076
+ e[7] == "true" && vt(e)
4079
4077
  );
4080
4078
  function m(d, v) {
4081
4079
  return (
4082
4080
  /*thumbnail*/
4083
- d[4] ? Hi : Ai
4081
+ d[4] ? Ai : Ti
4084
4082
  );
4085
4083
  }
4086
4084
  let f = m(e), g = f(e), b = (
4087
4085
  /*startdate*/
4088
- e[2] && At(e)
4086
+ e[2] && Tt(e)
4089
4087
  ), y = (
4090
4088
  /*isLoggedIn*/
4091
- e[12] && Ht(e)
4089
+ e[12] && At(e)
4092
4090
  );
4093
4091
  return {
4094
4092
  c() {
@@ -4098,26 +4096,26 @@ function vt(e) {
4098
4096
  ), a = $(), b && b.c(), l = $(), y && y.c(), p(s, "class", "Title"), p(s, "part", "Title"), p(i, "class", "Details"), p(i, "part", "Details");
4099
4097
  },
4100
4098
  m(d, v) {
4101
- 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, o), x(i, a), b && b.m(i, null), x(i, l), y && y.m(i, null);
4099
+ 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, o), S(i, a), b && b.m(i, null), S(i, l), y && y.m(i, null);
4102
4100
  },
4103
4101
  p(d, v) {
4104
4102
  /*status*/
4105
- d[0] ? u ? u.p(d, v) : (u = xt(d), u.c(), u.m(t.parentNode, t)) : u && (u.d(1), u = null), /*showenrolled*/
4106
- 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 = m(d)) && g ? g.p(d, v) : (g.d(1), g = f(d), g && (g.c(), g.m(n.parentNode, n))), v[0] & /*title*/
4103
+ d[0] ? u ? u.p(d, v) : (u = Et(d), u.c(), u.m(t.parentNode, t)) : u && (u.d(1), u = null), /*showenrolled*/
4104
+ 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 = m(d)) && g ? g.p(d, v) : (g.d(1), g = f(d), g && (g.c(), g.m(n.parentNode, n))), v[0] & /*title*/
4107
4105
  2 && G(
4108
4106
  o,
4109
4107
  /*title*/
4110
4108
  d[1]
4111
4109
  ), /*startdate*/
4112
- d[2] ? b ? b.p(d, v) : (b = At(d), b.c(), b.m(i, l)) : b && (b.d(1), b = null), /*isLoggedIn*/
4113
- d[12] ? y ? y.p(d, v) : (y = Ht(d), y.c(), y.m(i, null)) : y && (y.d(1), y = null);
4110
+ d[2] ? b ? b.p(d, v) : (b = Tt(d), b.c(), b.m(i, l)) : b && (b.d(1), b = null), /*isLoggedIn*/
4111
+ d[12] ? y ? y.p(d, v) : (y = At(d), y.c(), y.m(i, null)) : y && (y.d(1), y = null);
4114
4112
  },
4115
4113
  d(d) {
4116
- 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();
4114
+ d && (w(t), w(r), w(n), w(i)), u && u.d(d), h && h.d(d), g.d(d), b && b.d(), y && y.d();
4117
4115
  }
4118
4116
  };
4119
4117
  }
4120
- function xt(e) {
4118
+ function Et(e) {
4121
4119
  let t, r, n, i, s, o;
4122
4120
  return {
4123
4121
  c() {
@@ -4129,7 +4127,7 @@ function xt(e) {
4129
4127
  e[15]);
4130
4128
  },
4131
4129
  m(a, l) {
4132
- O(a, t, l), x(t, r), s || (o = be(
4130
+ O(a, t, l), S(t, r), s || (o = de(
4133
4131
  /*matchStatus*/
4134
4132
  e[18].call(null, t)
4135
4133
  ), s = !0);
@@ -4147,32 +4145,32 @@ function xt(e) {
4147
4145
  a[15]) && p(t, "part", i);
4148
4146
  },
4149
4147
  d(a) {
4150
- a && I(t), s = !1, o();
4148
+ a && w(t), s = !1, o();
4151
4149
  }
4152
4150
  };
4153
4151
  }
4154
- function St(e) {
4152
+ function vt(e) {
4155
4153
  let t, r = (
4156
4154
  /*userenrolled*/
4157
- e[5] && Tt(e)
4155
+ e[5] && St(e)
4158
4156
  );
4159
4157
  return {
4160
4158
  c() {
4161
- r && r.c(), t = dr();
4159
+ r && r.c(), t = mr();
4162
4160
  },
4163
4161
  m(n, i) {
4164
4162
  r && r.m(n, i), O(n, t, i);
4165
4163
  },
4166
4164
  p(n, i) {
4167
4165
  /*userenrolled*/
4168
- n[5] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4166
+ n[5] ? r ? r.p(n, i) : (r = St(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4169
4167
  },
4170
4168
  d(n) {
4171
- n && I(t), r && r.d(n);
4169
+ n && w(t), r && r.d(n);
4172
4170
  }
4173
4171
  };
4174
4172
  }
4175
- function Tt(e) {
4173
+ function St(e) {
4176
4174
  let t, r = (
4177
4175
  /*$_*/
4178
4176
  e[16]("enrolled") + ""
@@ -4182,7 +4180,7 @@ function Tt(e) {
4182
4180
  t = B("div"), n = L(r), p(t, "class", "Enrolled"), p(t, "part", "Enrolled");
4183
4181
  },
4184
4182
  m(i, s) {
4185
- O(i, t, s), x(t, n);
4183
+ O(i, t, s), S(t, n);
4186
4184
  },
4187
4185
  p(i, s) {
4188
4186
  s[0] & /*$_*/
@@ -4190,22 +4188,22 @@ function Tt(e) {
4190
4188
  i[16]("enrolled") + "") && G(n, r);
4191
4189
  },
4192
4190
  d(i) {
4193
- i && I(t);
4191
+ i && w(t);
4194
4192
  }
4195
4193
  };
4196
4194
  }
4197
- function Ai(e) {
4195
+ function Ti(e) {
4198
4196
  let t, r, n, i, s, o, a;
4199
4197
  return {
4200
4198
  c() {
4201
- t = B("div"), r = B("ui-image"), Fe(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Y(r, "src", n), Y(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4199
+ t = B("div"), r = B("ui-image"), ke(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || Q(r, "src", n), Q(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4202
4200
  (e[0] == "Closing" || /*status*/
4203
4201
  e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4204
4202
  (e[0] == "Closing" || /*status*/
4205
4203
  e[0] == "Closed" ? "CardImgFinished" : ""));
4206
4204
  },
4207
4205
  m(l, u) {
4208
- O(l, t, u), x(t, r), o || (a = be(
4206
+ O(l, t, u), S(t, r), o || (a = de(
4209
4207
  /*matchStatus*/
4210
4208
  e[18].call(null, t)
4211
4209
  ), o = !0);
@@ -4220,31 +4218,31 @@ function Ai(e) {
4220
4218
  l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4221
4219
  },
4222
4220
  d(l) {
4223
- l && I(t), o = !1, a();
4221
+ l && w(t), o = !1, a();
4224
4222
  }
4225
4223
  };
4226
4224
  }
4227
- function Hi(e) {
4225
+ function Ai(e) {
4228
4226
  let t, r, n, i, s, o, a;
4229
4227
  return {
4230
4228
  c() {
4231
- t = B("div"), r = B("ui-image"), Y(r, "class", "UIImage"), Fe(r.src, n = /*thumbnail*/
4232
- e[4]) || Y(r, "src", n), Y(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4229
+ t = B("div"), r = B("ui-image"), Q(r, "class", "UIImage"), ke(r.src, n = /*thumbnail*/
4230
+ e[4]) || Q(r, "src", n), Q(r, "alt", "icon"), p(t, "class", i = "CardImg " + /*status*/
4233
4231
  (e[0] == "Closing" || /*status*/
4234
4232
  e[0] == "Closed" ? "CardImgFinished" : "")), p(t, "part", s = "CardImg " + /*status*/
4235
4233
  (e[0] == "Closing" || /*status*/
4236
4234
  e[0] == "Closed" ? "CardImgFinished" : ""));
4237
4235
  },
4238
4236
  m(l, u) {
4239
- O(l, t, u), x(t, r), o || (a = be(
4237
+ O(l, t, u), S(t, r), o || (a = de(
4240
4238
  /*matchStatus*/
4241
4239
  e[18].call(null, t)
4242
4240
  ), o = !0);
4243
4241
  },
4244
4242
  p(l, u) {
4245
4243
  u[0] & /*thumbnail*/
4246
- 16 && !Fe(r.src, n = /*thumbnail*/
4247
- l[4]) && Y(r, "src", n), u[0] & /*status*/
4244
+ 16 && !ke(r.src, n = /*thumbnail*/
4245
+ l[4]) && Q(r, "src", n), u[0] & /*status*/
4248
4246
  1 && i !== (i = "CardImg " + /*status*/
4249
4247
  (l[0] == "Closing" || /*status*/
4250
4248
  l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "class", i), u[0] & /*status*/
@@ -4253,11 +4251,11 @@ function Hi(e) {
4253
4251
  l[0] == "Closed" ? "CardImgFinished" : "")) && p(t, "part", s);
4254
4252
  },
4255
4253
  d(l) {
4256
- l && I(t), o = !1, a();
4254
+ l && w(t), o = !1, a();
4257
4255
  }
4258
4256
  };
4259
4257
  }
4260
- function At(e) {
4258
+ function Tt(e) {
4261
4259
  let t, r, n, i, s;
4262
4260
  return {
4263
4261
  c() {
@@ -4267,7 +4265,7 @@ function At(e) {
4267
4265
  ), p(t, "class", "Date"), p(t, "part", "Date");
4268
4266
  },
4269
4267
  m(o, a) {
4270
- O(o, t, a), x(t, r), i || (s = be(n = /*formatDate*/
4268
+ O(o, t, a), S(t, r), i || (s = de(n = /*formatDate*/
4271
4269
  e[17].call(
4272
4270
  null,
4273
4271
  t,
@@ -4281,7 +4279,7 @@ function At(e) {
4281
4279
  r,
4282
4280
  /*shownDate*/
4283
4281
  o[11]
4284
- ), n && de(n.update) && a[0] & /*startdate*/
4282
+ ), n && me(n.update) && a[0] & /*startdate*/
4285
4283
  4 && n.update.call(
4286
4284
  null,
4287
4285
  /*startdate*/
@@ -4289,11 +4287,11 @@ function At(e) {
4289
4287
  );
4290
4288
  },
4291
4289
  d(o) {
4292
- o && I(t), i = !1, s();
4290
+ o && w(t), i = !1, s();
4293
4291
  }
4294
4292
  };
4295
4293
  }
4296
- function Ht(e) {
4294
+ function At(e) {
4297
4295
  let t, r, n = (
4298
4296
  /*$_*/
4299
4297
  e[16]("scoreCriteria") + ""
@@ -4306,7 +4304,7 @@ function Ht(e) {
4306
4304
  ), P, N, A, H = (
4307
4305
  /*$_*/
4308
4306
  e[16]("here") + ""
4309
- ), U, D, V, J;
4307
+ ), U, D, j, V;
4310
4308
  return {
4311
4309
  c() {
4312
4310
  t = B("div"), r = B("p"), i = L(n), s = L(`:
@@ -4327,18 +4325,18 @@ function Ht(e) {
4327
4325
  e[9] === "true" ? "_self" : "_blank"), p(d, "part", "GamesP"), p(y, "class", "Games"), p(y, "part", "Games");
4328
4326
  },
4329
4327
  m(C, R) {
4330
- O(C, t, R), x(t, r), x(r, i), x(r, s), x(r, o), x(o, a), x(r, l), x(r, h), x(r, m), x(r, f), x(r, g), O(C, b, R), O(C, y, R), x(y, d), x(d, P), x(d, N), x(d, A), x(A, U), V || (J = [
4331
- be(
4328
+ O(C, t, R), S(t, r), S(r, i), S(r, s), S(r, o), S(o, a), S(r, l), S(r, h), S(r, m), S(r, f), S(r, g), O(C, b, R), O(C, y, R), S(y, d), S(d, P), S(d, N), S(d, A), S(A, U), j || (V = [
4329
+ de(
4332
4330
  /*matchScoreCriteria*/
4333
4331
  e[19].call(null, o)
4334
4332
  ),
4335
- br(
4333
+ dr(
4336
4334
  A,
4337
4335
  "click",
4338
4336
  /*click_handler*/
4339
4337
  e[28]
4340
4338
  )
4341
- ], V = !0);
4339
+ ], j = !0);
4342
4340
  },
4343
4341
  p(C, R) {
4344
4342
  R[0] & /*$_*/
@@ -4370,17 +4368,17 @@ function Ht(e) {
4370
4368
  C[9] === "true" ? "_self" : "_blank") && p(A, "target", D);
4371
4369
  },
4372
4370
  d(C) {
4373
- C && (I(t), I(b), I(y)), V = !1, ie(J);
4371
+ C && (w(t), w(b), w(y)), j = !1, ne(V);
4374
4372
  }
4375
4373
  };
4376
4374
  }
4377
- function Ci(e) {
4375
+ function Hi(e) {
4378
4376
  let t, r, n, i = (
4379
4377
  /*title*/
4380
- e[1] === "undefined" && Et()
4378
+ e[1] === "undefined" && _t()
4381
4379
  ), s = (
4382
4380
  /*title*/
4383
- e[1] !== "undefined" && vt(e)
4381
+ e[1] !== "undefined" && xt(e)
4384
4382
  );
4385
4383
  return {
4386
4384
  c() {
@@ -4388,65 +4386,65 @@ function Ci(e) {
4388
4386
  e[1] === "undefined" ? "Loading" : ""}`), p(t, "part", "Thumbnail");
4389
4387
  },
4390
4388
  m(o, a) {
4391
- O(o, t, a), i && i.m(t, null), x(t, r), s && s.m(t, null), e[29](t);
4389
+ O(o, t, a), i && i.m(t, null), S(t, r), s && s.m(t, null), e[29](t);
4392
4390
  },
4393
4391
  p(o, a) {
4394
4392
  /*title*/
4395
- o[1] === "undefined" ? i || (i = Et(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4396
- o[1] !== "undefined" ? s ? s.p(o, a) : (s = vt(o), s.c(), s.m(t, null)) : s && (s.d(1), s = null), a[0] & /*title*/
4393
+ o[1] === "undefined" ? i || (i = _t(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4394
+ o[1] !== "undefined" ? s ? s.p(o, a) : (s = xt(o), s.c(), s.m(t, null)) : s && (s.d(1), s = null), a[0] & /*title*/
4397
4395
  2 && n !== (n = `Thumbnail ${/*title*/
4398
4396
  o[1] === "undefined" ? "Loading" : ""}`) && p(t, "class", n);
4399
4397
  },
4400
4398
  i: k,
4401
4399
  o: k,
4402
4400
  d(o) {
4403
- o && I(t), i && i.d(), s && s.d(), e[29](null);
4401
+ o && w(t), i && i.d(), s && s.d(), e[29](null);
4404
4402
  }
4405
4403
  };
4406
4404
  }
4407
- function Bi(e, t, r) {
4405
+ function Ci(e, t, r) {
4408
4406
  let n;
4409
- hr(e, vi, (c) => r(16, n = c));
4410
- let { session: i = "" } = t, { userid: s = "" } = t, { title: o = "" } = t, { startdate: a = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: m = "" } = 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, U = "", D = !1, V = "", J = "", C = "";
4411
- xi({ withLocale: "en", translations: {} });
4407
+ lr(e, xi, (c) => r(16, n = c));
4408
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: o = "" } = t, { startdate: a = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: m = "" } = 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, U = "", D = !1, j = "", V = "", C = "";
4409
+ Ei({ withLocale: "en", translations: {} });
4412
4410
  const R = () => {
4413
4411
  fetch(A).then((c) => c.json()).then((c) => {
4414
4412
  Object.keys(c).forEach((F) => {
4415
- yt(F, c[F]);
4416
- }), a && Oe();
4413
+ pt(F, c[F]);
4414
+ }), a && we();
4417
4415
  }).catch((c) => {
4418
4416
  console.log(c);
4419
4417
  });
4420
4418
  };
4421
- Object.keys(_t).forEach((c) => {
4422
- yt(c, _t[c]);
4419
+ Object.keys(yt).forEach((c) => {
4420
+ pt(c, yt[c]);
4423
4421
  });
4424
- const tt = (c) => {
4422
+ const et = (c) => {
4425
4423
  c.data && (c.data && c.data.type == "SessionID" && r(12, D = !0), c.data.type == `TournamentStatus_${u}` && r(0, l = c.data.status));
4426
- }, we = () => {
4424
+ }, Ce = () => {
4427
4425
  const c = { month: "long" };
4428
- let F = new Date(a), ue = new Intl.DateTimeFormat("en", c).format(F), ar = F.getDate(), or = F.toLocaleString("en-GB", {
4426
+ let F = new Date(a), oe = new Intl.DateTimeFormat("en", c).format(F), sr = F.getDate(), ar = F.toLocaleString("en-GB", {
4429
4427
  hour: "numeric",
4430
4428
  minute: "numeric",
4431
4429
  hour12: !1
4432
4430
  });
4433
- const ur = () => n(l === "Running" ? "startedAt" : "startingAt");
4434
- r(11, U = `${ar} ` + n(`${ue}`) + ", " + ur() + ` ${or}`);
4431
+ const or = () => n(l === "Running" ? "startedAt" : "startingAt");
4432
+ r(11, U = `${sr} ` + n(`${oe}`) + ", " + or() + ` ${ar}`);
4433
+ }, Be = () => {
4434
+ 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");
4435
4435
  }, Ie = () => {
4436
- 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");
4437
- }, Ne = () => {
4438
- 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"));
4439
- }, rt = (c, F) => {
4436
+ 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"));
4437
+ }, tt = (c, F) => {
4440
4438
  window.postMessage({ type: "tournamentGamesClicked", tourId: F }, window.location.href);
4441
- }, tr = () => {
4439
+ }, er = () => {
4442
4440
  i.length > 0 && i != "false" ? r(12, D = !0) : r(12, D = !1);
4443
- }, rr = () => {
4441
+ }, tr = () => {
4444
4442
  let c = document.createElement("style");
4445
4443
  c.innerHTML = P, H.appendChild(c);
4446
- }, nr = () => {
4444
+ }, rr = () => {
4447
4445
  let c = new URL(N), F = document.createElement("style");
4448
- fetch(c.href).then((ue) => ue.text()).then((ue) => {
4449
- F.innerHTML = ue, setTimeout(
4446
+ fetch(c.href).then((oe) => oe.text()).then((oe) => {
4447
+ F.innerHTML = oe, setTimeout(
4450
4448
  () => {
4451
4449
  H.appendChild(F);
4452
4450
  },
@@ -4458,14 +4456,14 @@ function Bi(e, t, r) {
4458
4456
  );
4459
4457
  });
4460
4458
  };
4461
- _r(() => (setTimeout(() => Oe(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", tt, !1), () => {
4462
- window.removeEventListener("message", tt);
4459
+ yr(() => (setTimeout(() => we(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", et, !1), () => {
4460
+ window.removeEventListener("message", et);
4463
4461
  }));
4464
- const Oe = () => {
4465
- Si(d), Ne(), Ie(), a && we();
4466
- }, ir = () => rt();
4467
- function sr(c) {
4468
- Ge[c ? "unshift" : "push"](() => {
4462
+ const we = () => {
4463
+ vi(d), Ie(), Be(), a && Ce();
4464
+ }, nr = () => tt();
4465
+ function ir(c) {
4466
+ Ue[c ? "unshift" : "push"](() => {
4469
4467
  H = c, r(10, H);
4470
4468
  });
4471
4469
  }
@@ -4473,14 +4471,14 @@ function Bi(e, t, r) {
4473
4471
  "session" in c && r(21, i = c.session), "userid" in c && r(22, s = c.userid), "title" in c && r(1, o = c.title), "startdate" in c && r(2, a = c.startdate), "status" in c && r(0, l = c.status), "tourid" in c && r(3, u = c.tourid), "thumbnail" in c && r(4, h = c.thumbnail), "userenrolled" in c && r(5, m = c.userenrolled), "scorecriteria" in c && r(23, f = c.scorecriteria), "minbetcount" in c && r(6, g = c.minbetcount), "showenrolled" in c && r(7, b = c.showenrolled), "gameurl" in c && r(8, y = c.gameurl), "lang" in c && r(24, d = c.lang), "keepbrowsercontext" in c && r(9, v = c.keepbrowsercontext), "clientstyling" in c && r(25, P = c.clientstyling), "clientstylingurl" in c && r(26, N = c.clientstylingurl), "translationurl" in c && r(27, A = c.translationurl);
4474
4472
  }, e.$$.update = () => {
4475
4473
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4476
- 33555456 && H && P && rr(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4477
- 67109888 && H && N && nr(), e.$$.dirty[0] & /*translationurl*/
4474
+ 33555456 && H && P && tr(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4475
+ 67109888 && H && N && rr(), e.$$.dirty[0] & /*translationurl*/
4478
4476
  134217728 && A && R(), e.$$.dirty[0] & /*session*/
4479
- 2097152 && i && tr(), e.$$.dirty[0] & /*status*/
4480
- 1 && l && Ie(), e.$$.dirty[0] & /*title, lang*/
4481
- 16777218 && o && d && Oe(), e.$$.dirty[0] & /*startdate*/
4482
- 4 && a && we(), e.$$.dirty[0] & /*scorecriteria*/
4483
- 8388608 && f && Ne();
4477
+ 2097152 && i && er(), e.$$.dirty[0] & /*status*/
4478
+ 1 && l && Be(), e.$$.dirty[0] & /*title, lang*/
4479
+ 16777218 && o && d && we(), e.$$.dirty[0] & /*startdate*/
4480
+ 4 && a && Ce(), e.$$.dirty[0] & /*scorecriteria*/
4481
+ 8388608 && f && Ie();
4484
4482
  }, [
4485
4483
  l,
4486
4484
  o,
@@ -4495,14 +4493,14 @@ function Bi(e, t, r) {
4495
4493
  H,
4496
4494
  U,
4497
4495
  D,
4496
+ j,
4498
4497
  V,
4499
- J,
4500
4498
  C,
4501
4499
  n,
4502
- we,
4500
+ Ce,
4501
+ Be,
4503
4502
  Ie,
4504
- Ne,
4505
- rt,
4503
+ tt,
4506
4504
  i,
4507
4505
  s,
4508
4506
  f,
@@ -4510,18 +4508,18 @@ function Bi(e, t, r) {
4510
4508
  P,
4511
4509
  N,
4512
4510
  A,
4513
- ir,
4514
- sr
4511
+ nr,
4512
+ ir
4515
4513
  ];
4516
4514
  }
4517
- class wi extends Nr {
4515
+ class Bi extends wr {
4518
4516
  constructor(t) {
4519
- super(), wr(
4517
+ super(), Br(
4520
4518
  this,
4521
4519
  t,
4522
- Bi,
4523
4520
  Ci,
4524
- Bt,
4521
+ Hi,
4522
+ Ct,
4525
4523
  {
4526
4524
  session: 21,
4527
4525
  userid: 22,
@@ -4541,7 +4539,7 @@ class wi extends Nr {
4541
4539
  clientstylingurl: 26,
4542
4540
  translationurl: 27
4543
4541
  },
4544
- Ti,
4542
+ Si,
4545
4543
  [-1, -1]
4546
4544
  );
4547
4545
  }
@@ -4549,106 +4547,106 @@ class wi extends Nr {
4549
4547
  return this.$$.ctx[21];
4550
4548
  }
4551
4549
  set session(t) {
4552
- this.$$set({ session: t }), w();
4550
+ this.$$set({ session: t }), I();
4553
4551
  }
4554
4552
  get userid() {
4555
4553
  return this.$$.ctx[22];
4556
4554
  }
4557
4555
  set userid(t) {
4558
- this.$$set({ userid: t }), w();
4556
+ this.$$set({ userid: t }), I();
4559
4557
  }
4560
4558
  get title() {
4561
4559
  return this.$$.ctx[1];
4562
4560
  }
4563
4561
  set title(t) {
4564
- this.$$set({ title: t }), w();
4562
+ this.$$set({ title: t }), I();
4565
4563
  }
4566
4564
  get startdate() {
4567
4565
  return this.$$.ctx[2];
4568
4566
  }
4569
4567
  set startdate(t) {
4570
- this.$$set({ startdate: t }), w();
4568
+ this.$$set({ startdate: t }), I();
4571
4569
  }
4572
4570
  get status() {
4573
4571
  return this.$$.ctx[0];
4574
4572
  }
4575
4573
  set status(t) {
4576
- this.$$set({ status: t }), w();
4574
+ this.$$set({ status: t }), I();
4577
4575
  }
4578
4576
  get tourid() {
4579
4577
  return this.$$.ctx[3];
4580
4578
  }
4581
4579
  set tourid(t) {
4582
- this.$$set({ tourid: t }), w();
4580
+ this.$$set({ tourid: t }), I();
4583
4581
  }
4584
4582
  get thumbnail() {
4585
4583
  return this.$$.ctx[4];
4586
4584
  }
4587
4585
  set thumbnail(t) {
4588
- this.$$set({ thumbnail: t }), w();
4586
+ this.$$set({ thumbnail: t }), I();
4589
4587
  }
4590
4588
  get userenrolled() {
4591
4589
  return this.$$.ctx[5];
4592
4590
  }
4593
4591
  set userenrolled(t) {
4594
- this.$$set({ userenrolled: t }), w();
4592
+ this.$$set({ userenrolled: t }), I();
4595
4593
  }
4596
4594
  get scorecriteria() {
4597
4595
  return this.$$.ctx[23];
4598
4596
  }
4599
4597
  set scorecriteria(t) {
4600
- this.$$set({ scorecriteria: t }), w();
4598
+ this.$$set({ scorecriteria: t }), I();
4601
4599
  }
4602
4600
  get minbetcount() {
4603
4601
  return this.$$.ctx[6];
4604
4602
  }
4605
4603
  set minbetcount(t) {
4606
- this.$$set({ minbetcount: t }), w();
4604
+ this.$$set({ minbetcount: t }), I();
4607
4605
  }
4608
4606
  get showenrolled() {
4609
4607
  return this.$$.ctx[7];
4610
4608
  }
4611
4609
  set showenrolled(t) {
4612
- this.$$set({ showenrolled: t }), w();
4610
+ this.$$set({ showenrolled: t }), I();
4613
4611
  }
4614
4612
  get gameurl() {
4615
4613
  return this.$$.ctx[8];
4616
4614
  }
4617
4615
  set gameurl(t) {
4618
- this.$$set({ gameurl: t }), w();
4616
+ this.$$set({ gameurl: t }), I();
4619
4617
  }
4620
4618
  get lang() {
4621
4619
  return this.$$.ctx[24];
4622
4620
  }
4623
4621
  set lang(t) {
4624
- this.$$set({ lang: t }), w();
4622
+ this.$$set({ lang: t }), I();
4625
4623
  }
4626
4624
  get keepbrowsercontext() {
4627
4625
  return this.$$.ctx[9];
4628
4626
  }
4629
4627
  set keepbrowsercontext(t) {
4630
- this.$$set({ keepbrowsercontext: t }), w();
4628
+ this.$$set({ keepbrowsercontext: t }), I();
4631
4629
  }
4632
4630
  get clientstyling() {
4633
4631
  return this.$$.ctx[25];
4634
4632
  }
4635
4633
  set clientstyling(t) {
4636
- this.$$set({ clientstyling: t }), w();
4634
+ this.$$set({ clientstyling: t }), I();
4637
4635
  }
4638
4636
  get clientstylingurl() {
4639
4637
  return this.$$.ctx[26];
4640
4638
  }
4641
4639
  set clientstylingurl(t) {
4642
- this.$$set({ clientstylingurl: t }), w();
4640
+ this.$$set({ clientstylingurl: t }), I();
4643
4641
  }
4644
4642
  get translationurl() {
4645
4643
  return this.$$.ctx[27];
4646
4644
  }
4647
4645
  set translationurl(t) {
4648
- this.$$set({ translationurl: t }), w();
4646
+ this.$$set({ translationurl: t }), I();
4649
4647
  }
4650
4648
  }
4651
- Ir(wi, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4649
+ Ir(Bi, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4652
4650
  export {
4653
- wi as C
4651
+ Bi as C
4654
4652
  };