@everymatrix/casino-tournaments-thumbnail-controller 1.76.3 → 1.76.4

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 (46) hide show
  1. package/components/{CasinoTournamentsThumbnail-DRbucqVi.js → CasinoTournamentsThumbnail-Bc--CoFr.js} +858 -892
  2. package/components/{CasinoTournamentsThumbnail-uI6apv_h.js → CasinoTournamentsThumbnail-DkKIM4pw.js} +844 -878
  3. package/components/CasinoTournamentsThumbnail-p9EHTztQ.cjs +6 -0
  4. package/components/{CasinoTournamentsThumbnailController-Bum_v86m.js → CasinoTournamentsThumbnailController-CTbAnla0.js} +323 -258
  5. package/components/CasinoTournamentsThumbnailController-CbvkX9jG.cjs +16 -0
  6. package/components/{CasinoTournamentsThumbnailController-yd-WZbJL.js → CasinoTournamentsThumbnailController-NqZC1FgH.js} +344 -279
  7. package/components/{CasinoTournamentsThumbnailDuration-DqM8QDXb.js → CasinoTournamentsThumbnailDuration-B_vBmHSH.js} +65 -65
  8. package/components/{CasinoTournamentsThumbnailDuration-BpulUcjo.cjs → CasinoTournamentsThumbnailDuration-C1FtYd6r.cjs} +1 -1
  9. package/components/{CasinoTournamentsThumbnailDuration-KmTYzO0U.js → CasinoTournamentsThumbnailDuration-ZZxthyPi.js} +65 -65
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-DcBTvroG.cjs → CasinoTournamentsThumbnailGamesSlider-CFUZKTBR.cjs} +1 -1
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-cAFxrIEC.js → CasinoTournamentsThumbnailGamesSlider-Cvorm8VZ.js} +88 -88
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-CDOuc7y9.js → CasinoTournamentsThumbnailGamesSlider-DxBwitF7.js} +88 -88
  13. package/components/{CasinoTournamentsThumbnailPrizes-BWO5mWgv.cjs → CasinoTournamentsThumbnailPrizes-BxL4G5lm.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailPrizes-DFfUKF7v.js → CasinoTournamentsThumbnailPrizes-CFRjJtza.js} +85 -85
  15. package/components/{CasinoTournamentsThumbnailPrizes-Dsf4LpR4.js → CasinoTournamentsThumbnailPrizes-CFX2aUmz.js} +85 -85
  16. package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
  17. package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
  18. package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
  21. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  22. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
  23. package/stencil/index-b2193545-BS7xFIk4.js +503 -0
  24. package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
  25. package/stencil/index-b2193545-rfNAj6ri.js +519 -0
  26. package/stencil/{ui-image-DBXtq7Sy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  27. package/stencil/{ui-image-BNRjOSaN.js → ui-image-CXqPvnQ2.js} +1 -1
  28. package/stencil/{ui-image-D9tkwepr.js → ui-image-DgbODkuX.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  32. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Bm97-wkj.js} +2 -2
  33. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  34. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-qO3reSlr.js} +2 -2
  35. package/stencil/{ui-skeleton-CKaouoPt.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
  36. package/stencil/{ui-skeleton-BecGfbnY.js → ui-skeleton-D8L-WY77.js} +2 -2
  37. package/stencil/{ui-skeleton-DXmvn9dE.js → ui-skeleton-DSebcnN1.js} +2 -2
  38. package/stencil/{ui-skeleton-ae35c6f2-BVAHFeog.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
  39. package/stencil/{ui-skeleton-ae35c6f2-8tswdmF8.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
  40. package/stencil/{ui-skeleton-ae35c6f2-kPD5RoB3.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
  41. package/components/CasinoTournamentsThumbnail-DZHxPcle.cjs +0 -19
  42. package/components/CasinoTournamentsThumbnailController-B_o9fbWC.cjs +0 -3
  43. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
  44. package/stencil/index-b2193545-CD_KQ0BB.js +0 -519
  45. package/stencil/index-b2193545-CrHhiaNt.js +0 -503
  46. package/stencil/index-b2193545-ngvz84TK.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var pr = Object.defineProperty, yr = Object.defineProperties;
2
- var _r = Object.getOwnPropertyDescriptors;
3
- var st = Object.getOwnPropertySymbols;
4
- var xr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable;
5
- var Pe = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
1
+ var yr = Object.defineProperty, _r = Object.defineProperties;
2
+ var vr = Object.getOwnPropertyDescriptors;
3
+ var at = Object.getOwnPropertySymbols;
4
+ var Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
5
+ var Re = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- xr.call(t, r) && Pe(e, r, t[r]);
8
- if (st)
9
- for (var r of st(t))
10
- Er.call(t, r) && Pe(e, r, t[r]);
7
+ Er.call(t, r) && Re(e, r, t[r]);
8
+ if (at)
9
+ for (var r of at(t))
10
+ xr.call(t, r) && Re(e, r, t[r]);
11
11
  return e;
12
- }, ot = (e, t) => yr(e, _r(t));
13
- var U = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
12
+ }, ut = (e, t) => _r(e, vr(t));
13
+ var U = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var lt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  o(r.next(l));
@@ -27,33 +27,33 @@ var ut = (e, t, r) => new Promise((n, i) => {
27
27
  }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
28
  o((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-skeleton-BecGfbnY.js";
31
- import "../stencil/ui-image-D9tkwepr.js";
30
+ import "../stencil/ui-skeleton-D8L-WY77.js";
31
+ import "../stencil/ui-image-DgbODkuX.js";
32
32
  function F() {
33
33
  }
34
- function Ot(e) {
34
+ function Mt(e) {
35
35
  return e();
36
36
  }
37
- function lt() {
37
+ function ht() {
38
38
  return /* @__PURE__ */ Object.create(null);
39
39
  }
40
- function z(e) {
41
- e.forEach(Ot);
40
+ function J(e) {
41
+ e.forEach(Mt);
42
42
  }
43
- function be(e) {
43
+ function ge(e) {
44
44
  return typeof e == "function";
45
45
  }
46
- function Pt(e, t) {
46
+ function Lt(e, t) {
47
47
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
48
48
  }
49
- let pe;
50
- function $e(e, t) {
51
- return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
49
+ let ye;
50
+ function Ve(e, t) {
51
+ return e === t ? !0 : (ye || (ye = document.createElement("a")), ye.href = t, e === ye.href);
52
52
  }
53
- function vr(e) {
53
+ function Sr(e) {
54
54
  return Object.keys(e).length === 0;
55
55
  }
56
- function Lt(e, ...t) {
56
+ function Rt(e, ...t) {
57
57
  if (e == null) {
58
58
  for (const n of t)
59
59
  n(void 0);
@@ -62,23 +62,23 @@ function Lt(e, ...t) {
62
62
  const r = e.subscribe(...t);
63
63
  return r.unsubscribe ? () => r.unsubscribe() : r;
64
64
  }
65
- function Sr(e, t, r) {
66
- e.$$.on_destroy.push(Lt(t, r));
65
+ function Tr(e, t, r) {
66
+ e.$$.on_destroy.push(Rt(t, r));
67
67
  }
68
- function ge(e) {
69
- return e && be(e.destroy) ? e.destroy : F;
68
+ function pe(e) {
69
+ return e && ge(e.destroy) ? e.destroy : F;
70
70
  }
71
- function A(e, t) {
71
+ function T(e, t) {
72
72
  e.appendChild(t);
73
73
  }
74
- function Tr(e, t, r) {
75
- const n = Ar(e);
74
+ function Ar(e, t, r) {
75
+ const n = Hr(e);
76
76
  if (!n.getElementById(t)) {
77
77
  const i = w("style");
78
- i.id = t, i.textContent = r, Hr(n, i);
78
+ i.id = t, i.textContent = r, Cr(n, i);
79
79
  }
80
80
  }
81
- function Ar(e) {
81
+ function Hr(e) {
82
82
  if (!e)
83
83
  return document;
84
84
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -88,27 +88,27 @@ function Ar(e) {
88
88
  t
89
89
  ) : e.ownerDocument;
90
90
  }
91
- function Hr(e, t) {
92
- return A(
91
+ function Cr(e, t) {
92
+ return T(
93
93
  /** @type {Document} */
94
94
  e.head || e,
95
95
  t
96
96
  ), t.sheet;
97
97
  }
98
- function O(e, t, r) {
98
+ function P(e, t, r) {
99
99
  e.insertBefore(t, r || null);
100
100
  }
101
101
  function I(e) {
102
102
  e.parentNode && e.parentNode.removeChild(e);
103
103
  }
104
- function Xi(e, t) {
104
+ function Zi(e, t) {
105
105
  for (let r = 0; r < e.length; r += 1)
106
106
  e[r] && e[r].d(t);
107
107
  }
108
108
  function w(e) {
109
109
  return document.createElement(e);
110
110
  }
111
- function Zi(e) {
111
+ function qi(e) {
112
112
  return document.createElementNS("http://www.w3.org/2000/svg", e);
113
113
  }
114
114
  function D(e) {
@@ -117,51 +117,51 @@ function D(e) {
117
117
  function $() {
118
118
  return D(" ");
119
119
  }
120
- function Cr() {
120
+ function wr() {
121
121
  return D("");
122
122
  }
123
- function te(e, t, r, n) {
123
+ function re(e, t, r, n) {
124
124
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
125
125
  }
126
126
  function b(e, t, r) {
127
127
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
128
128
  }
129
- function K(e, t, r) {
129
+ function ee(e, t, r) {
130
130
  const n = t.toLowerCase();
131
131
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : b(e, t, r);
132
132
  }
133
- function wr(e) {
133
+ function Br(e) {
134
134
  return Array.from(e.childNodes);
135
135
  }
136
136
  function G(e, t) {
137
137
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
138
138
  t);
139
139
  }
140
- function qi(e, t, r, n) {
140
+ function Qi(e, t, r, n) {
141
141
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
142
142
  }
143
- let ye;
144
- function Br() {
145
- if (ye === void 0) {
146
- ye = !1;
143
+ let _e;
144
+ function Ir() {
145
+ if (_e === void 0) {
146
+ _e = !1;
147
147
  try {
148
148
  typeof window != "undefined" && window.parent && window.parent.document;
149
149
  } catch (e) {
150
- ye = !0;
150
+ _e = !0;
151
151
  }
152
152
  }
153
- return ye;
153
+ return _e;
154
154
  }
155
- function Qi(e, t) {
155
+ function Yi(e, t) {
156
156
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
157
157
  const n = w("iframe");
158
158
  n.setAttribute(
159
159
  "style",
160
160
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
161
161
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
162
- const i = Br();
162
+ const i = Ir();
163
163
  let s;
164
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = te(
164
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = re(
165
165
  window,
166
166
  "message",
167
167
  /** @param {MessageEvent} event */
@@ -169,15 +169,15 @@ function Qi(e, t) {
169
169
  a.source === n.contentWindow && t();
170
170
  }
171
171
  )) : (n.src = "about:blank", n.onload = () => {
172
- s = te(n.contentWindow, "resize", t), t();
173
- }), A(e, n), () => {
172
+ s = re(n.contentWindow, "resize", t), t();
173
+ }), T(e, n), () => {
174
174
  (i || s && n.contentWindow) && s(), I(n);
175
175
  };
176
176
  }
177
- function Yi(e, t, r) {
177
+ function Ki(e, t, r) {
178
178
  e.classList.toggle(t, !!r);
179
179
  }
180
- function Ir(e) {
180
+ function Or(e) {
181
181
  const t = {};
182
182
  return e.childNodes.forEach(
183
183
  /** @param {Element} node */
@@ -186,89 +186,89 @@ function Ir(e) {
186
186
  }
187
187
  ), t;
188
188
  }
189
- let ce;
189
+ let me;
190
190
  function fe(e) {
191
- ce = e;
191
+ me = e;
192
192
  }
193
193
  function Nr() {
194
- if (!ce)
194
+ if (!me)
195
195
  throw new Error("Function called outside component initialization");
196
- return ce;
196
+ return me;
197
197
  }
198
- function Mr(e) {
198
+ function Pr(e) {
199
199
  Nr().$$.on_mount.push(e);
200
200
  }
201
- const Y = [], je = [];
202
- let ee = [];
203
- const ht = [], Or = /* @__PURE__ */ Promise.resolve();
204
- let Ve = !1;
205
- function Pr() {
206
- Ve || (Ve = !0, Or.then(C));
201
+ const K = [], ze = [];
202
+ let te = [];
203
+ const ct = [], Mr = /* @__PURE__ */ Promise.resolve();
204
+ let Je = !1;
205
+ function Lr() {
206
+ Je || (Je = !0, Mr.then(C));
207
207
  }
208
- function ze(e) {
209
- ee.push(e);
208
+ function We(e) {
209
+ te.push(e);
210
210
  }
211
- const Le = /* @__PURE__ */ new Set();
212
- let q = 0;
211
+ const De = /* @__PURE__ */ new Set();
212
+ let Q = 0;
213
213
  function C() {
214
- if (q !== 0)
214
+ if (Q !== 0)
215
215
  return;
216
- const e = ce;
216
+ const e = me;
217
217
  do {
218
218
  try {
219
- for (; q < Y.length; ) {
220
- const t = Y[q];
221
- q++, fe(t), Lr(t.$$);
219
+ for (; Q < K.length; ) {
220
+ const t = K[Q];
221
+ Q++, fe(t), Rr(t.$$);
222
222
  }
223
223
  } catch (t) {
224
- throw Y.length = 0, q = 0, t;
224
+ throw K.length = 0, Q = 0, t;
225
225
  }
226
- for (fe(null), Y.length = 0, q = 0; je.length; )
227
- je.pop()();
228
- for (let t = 0; t < ee.length; t += 1) {
229
- const r = ee[t];
230
- Le.has(r) || (Le.add(r), r());
226
+ for (fe(null), K.length = 0, Q = 0; ze.length; )
227
+ ze.pop()();
228
+ for (let t = 0; t < te.length; t += 1) {
229
+ const r = te[t];
230
+ De.has(r) || (De.add(r), r());
231
231
  }
232
- ee.length = 0;
233
- } while (Y.length);
234
- for (; ht.length; )
235
- ht.pop()();
236
- Ve = !1, Le.clear(), fe(e);
232
+ te.length = 0;
233
+ } while (K.length);
234
+ for (; ct.length; )
235
+ ct.pop()();
236
+ Je = !1, De.clear(), fe(e);
237
237
  }
238
- function Lr(e) {
238
+ function Rr(e) {
239
239
  if (e.fragment !== null) {
240
- e.update(), z(e.before_update);
240
+ e.update(), J(e.before_update);
241
241
  const t = e.dirty;
242
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
242
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
243
243
  }
244
244
  }
245
- function Rr(e) {
245
+ function Dr(e) {
246
246
  const t = [], r = [];
247
- ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
247
+ te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
248
248
  }
249
- const Dr = /* @__PURE__ */ new Set();
250
- function kr(e, t) {
251
- e && e.i && (Dr.delete(e), e.i(t));
249
+ const kr = /* @__PURE__ */ new Set();
250
+ function Ur(e, t) {
251
+ e && e.i && (kr.delete(e), e.i(t));
252
252
  }
253
- function Ki(e) {
253
+ function es(e) {
254
254
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
255
255
  }
256
- function Ur(e, t, r) {
256
+ function Fr(e, t, r) {
257
257
  const { fragment: n, after_update: i } = e.$$;
258
- n && n.m(t, r), ze(() => {
259
- const s = e.$$.on_mount.map(Ot).filter(be);
260
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
261
- }), i.forEach(ze);
258
+ n && n.m(t, r), We(() => {
259
+ const s = e.$$.on_mount.map(Mt).filter(ge);
260
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : J(s), e.$$.on_mount = [];
261
+ }), i.forEach(We);
262
262
  }
263
- function Fr(e, t) {
263
+ function Gr(e, t) {
264
264
  const r = e.$$;
265
- r.fragment !== null && (Rr(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
265
+ r.fragment !== null && (Dr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
266
266
  }
267
- function Gr(e, t) {
268
- e.$$.dirty[0] === -1 && (Y.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
267
+ function $r(e, t) {
268
+ e.$$.dirty[0] === -1 && (K.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
269
269
  }
270
- function $r(e, t, r, n, i, s, a = null, o = [-1]) {
271
- const l = ce;
270
+ function jr(e, t, r, n, i, s, a = null, o = [-1]) {
271
+ const l = me;
272
272
  fe(e);
273
273
  const u = e.$$ = {
274
274
  fragment: null,
@@ -277,7 +277,7 @@ function $r(e, t, r, n, i, s, a = null, o = [-1]) {
277
277
  props: s,
278
278
  update: F,
279
279
  not_equal: i,
280
- bound: lt(),
280
+ bound: ht(),
281
281
  // lifecycle
282
282
  on_mount: [],
283
283
  on_destroy: [],
@@ -286,28 +286,28 @@ function $r(e, t, r, n, i, s, a = null, o = [-1]) {
286
286
  after_update: [],
287
287
  context: new Map(t.context || (l ? l.$$.context : [])),
288
288
  // everything else
289
- callbacks: lt(),
289
+ callbacks: ht(),
290
290
  dirty: o,
291
291
  skip_bound: !1,
292
292
  root: t.target || l.$$.root
293
293
  };
294
294
  a && a(u.root);
295
295
  let h = !1;
296
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...v) => {
297
- const E = v.length ? v[0] : f;
298
- return u.ctx && i(u.ctx[c], u.ctx[c] = E) && (!u.skip_bound && u.bound[c] && u.bound[c](E), h && Gr(e, c)), f;
299
- }) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
296
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...x) => {
297
+ const E = x.length ? x[0] : c;
298
+ return u.ctx && i(u.ctx[f], u.ctx[f] = E) && (!u.skip_bound && u.bound[f] && u.bound[f](E), h && $r(e, f)), c;
299
+ }) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
300
300
  if (t.hydrate) {
301
- const c = wr(t.target);
302
- u.fragment && u.fragment.l(c), c.forEach(I);
301
+ const f = Br(t.target);
302
+ u.fragment && u.fragment.l(f), f.forEach(I);
303
303
  } else
304
304
  u.fragment && u.fragment.c();
305
- t.intro && kr(e.$$.fragment), Ur(e, t.target, t.anchor), C();
305
+ t.intro && Ur(e.$$.fragment), Fr(e, t.target, t.anchor), C();
306
306
  }
307
307
  fe(l);
308
308
  }
309
- let Rt;
310
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
309
+ let Dt;
310
+ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
311
311
  constructor(t, r, n) {
312
312
  super();
313
313
  /** The Svelte component constructor */
@@ -344,7 +344,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
344
344
  }
345
345
  }
346
346
  connectedCallback() {
347
- return ut(this, null, function* () {
347
+ return lt(this, null, function* () {
348
348
  if (this.$$cn = !0, !this.$$c) {
349
349
  let t = function(s) {
350
350
  return () => {
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
358
358
  * @param {HTMLElement} [anchor]
359
359
  */
360
360
  m: function(u, h) {
361
- O(u, a, h);
361
+ P(u, a, h);
362
362
  },
363
363
  d: function(u) {
364
364
  u && I(a);
@@ -368,18 +368,18 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
368
368
  };
369
369
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
370
370
  return;
371
- const r = {}, n = Ir(this);
371
+ const r = {}, n = Or(this);
372
372
  for (const s of this.$$s)
373
373
  s in n && (r[s] = [t(s)]);
374
374
  for (const s of this.attributes) {
375
375
  const a = this.$$g_p(s.name);
376
- a in this.$$d || (this.$$d[a] = xe(a, s.value, this.$$p_d, "toProp"));
376
+ a in this.$$d || (this.$$d[a] = Ee(a, s.value, this.$$p_d, "toProp"));
377
377
  }
378
378
  for (const s in this.$$p_d)
379
379
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
380
380
  this.$$c = new this.$$ctor({
381
381
  target: this.shadowRoot || this,
382
- props: ot(at({}, this.$$d), {
382
+ props: ut(ot({}, this.$$d), {
383
383
  $$slots: r,
384
384
  $$scope: {
385
385
  ctx: []
@@ -390,7 +390,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
390
390
  this.$$r = !0;
391
391
  for (const s in this.$$p_d)
392
392
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
393
- const a = xe(
393
+ const a = Ee(
394
394
  s,
395
395
  this.$$d[s],
396
396
  this.$$p_d,
@@ -414,7 +414,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
414
414
  // and setting attributes through setAttribute etc, this is helpful
415
415
  attributeChangedCallback(t, r, n) {
416
416
  var i;
417
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = xe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
417
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
418
418
  }
419
419
  disconnectedCallback() {
420
420
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -427,7 +427,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
427
427
  ) || t;
428
428
  }
429
429
  });
430
- function xe(e, t, r, n) {
430
+ function Ee(e, t, r, n) {
431
431
  var s;
432
432
  const i = (s = r[e]) == null ? void 0 : s.type;
433
433
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -457,8 +457,8 @@ function xe(e, t, r, n) {
457
457
  return t;
458
458
  }
459
459
  }
460
- function jr(e, t, r, n, i, s) {
461
- let a = class extends Rt {
460
+ function Vr(e, t, r, n, i, s) {
461
+ let a = class extends Dt {
462
462
  constructor() {
463
463
  super(e, r, i), this.$$p_d = t;
464
464
  }
@@ -475,7 +475,7 @@ function jr(e, t, r, n, i, s) {
475
475
  },
476
476
  set(l) {
477
477
  var u;
478
- l = xe(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
478
+ l = Ee(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
479
479
  }
480
480
  });
481
481
  }), n.forEach((o) => {
@@ -488,7 +488,7 @@ function jr(e, t, r, n, i, s) {
488
488
  }), e.element = /** @type {any} */
489
489
  a, a;
490
490
  }
491
- class Vr {
491
+ class zr {
492
492
  constructor() {
493
493
  /**
494
494
  * ### PRIVATE API
@@ -509,7 +509,7 @@ class Vr {
509
509
  }
510
510
  /** @returns {void} */
511
511
  $destroy() {
512
- Fr(this, 1), this.$destroy = F;
512
+ Gr(this, 1), this.$destroy = F;
513
513
  }
514
514
  /**
515
515
  * @template {Extract<keyof Events, string>} K
@@ -518,7 +518,7 @@ class Vr {
518
518
  * @returns {() => void}
519
519
  */
520
520
  $on(t, r) {
521
- if (!be(r))
521
+ if (!ge(r))
522
522
  return F;
523
523
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
524
524
  return n.push(r), () => {
@@ -531,117 +531,29 @@ class Vr {
531
531
  * @returns {void}
532
532
  */
533
533
  $set(t) {
534
- this.$$set && !vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
534
+ this.$$set && !Sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
535
535
  }
536
536
  }
537
- const zr = "4";
538
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zr);
539
- /*! *****************************************************************************
540
- Copyright (c) Microsoft Corporation.
541
-
542
- Permission to use, copy, modify, and/or distribute this software for any
543
- purpose with or without fee is hereby granted.
544
-
545
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
546
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
547
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
548
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
549
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
550
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
551
- PERFORMANCE OF THIS SOFTWARE.
552
- ***************************************************************************** */
553
- var Je = function(e, t) {
554
- return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
555
- r.__proto__ = n;
556
- } || function(r, n) {
557
- for (var i in n)
558
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
559
- }, Je(e, t);
560
- };
561
- function Ae(e, t) {
562
- if (typeof t != "function" && t !== null)
563
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
564
- Je(e, t);
565
- function r() {
566
- this.constructor = e;
567
- }
568
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
569
- }
570
- var S = function() {
571
- return S = Object.assign || function(t) {
572
- for (var r, n = 1, i = arguments.length; n < i; n++) {
573
- r = arguments[n];
574
- for (var s in r)
575
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
576
- }
577
- return t;
578
- }, S.apply(this, arguments);
579
- };
580
- function Jr(e, t) {
581
- var r = {};
582
- for (var n in e)
583
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
584
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
585
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
586
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
587
- return r;
588
- }
589
- function es(e) {
590
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
591
- if (r)
592
- return r.call(e);
593
- if (e && typeof e.length == "number")
594
- return {
595
- next: function() {
596
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
597
- }
598
- };
599
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
600
- }
601
- function ts(e, t) {
602
- var r = typeof Symbol == "function" && e[Symbol.iterator];
603
- if (!r)
604
- return e;
605
- var n = r.call(e), i, s = [], a;
606
- try {
607
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
608
- s.push(i.value);
609
- } catch (o) {
610
- a = { error: o };
611
- } finally {
612
- try {
613
- i && !i.done && (r = n.return) && r.call(n);
614
- } finally {
615
- if (a)
616
- throw a.error;
617
- }
618
- }
619
- return s;
620
- }
621
- function Re(e, t, r) {
622
- if (r || arguments.length === 2)
623
- for (var n = 0, i = t.length, s; n < i; n++)
624
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
625
- return e.concat(s || t);
626
- }
627
- const Q = [];
537
+ const Jr = "4";
538
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
539
+ const Y = [];
628
540
  function Wr(e, t) {
629
541
  return {
630
- subscribe: He(e, t).subscribe
542
+ subscribe: Ce(e, t).subscribe
631
543
  };
632
544
  }
633
- function He(e, t = F) {
545
+ function Ce(e, t = F) {
634
546
  let r;
635
547
  const n = /* @__PURE__ */ new Set();
636
548
  function i(o) {
637
- if (Pt(e, o) && (e = o, r)) {
638
- const l = !Q.length;
549
+ if (Lt(e, o) && (e = o, r)) {
550
+ const l = !Y.length;
639
551
  for (const u of n)
640
- u[1](), Q.push(u, e);
552
+ u[1](), Y.push(u, e);
641
553
  if (l) {
642
- for (let u = 0; u < Q.length; u += 2)
643
- Q[u][0](Q[u + 1]);
644
- Q.length = 0;
554
+ for (let u = 0; u < Y.length; u += 2)
555
+ Y[u][0](Y[u + 1]);
556
+ Y.length = 0;
645
557
  }
646
558
  }
647
559
  }
@@ -656,7 +568,7 @@ function He(e, t = F) {
656
568
  }
657
569
  return { set: i, update: s, subscribe: a };
658
570
  }
659
- function ae(e, t, r) {
571
+ function oe(e, t, r) {
660
572
  const n = !Array.isArray(e), i = n ? [e] : e;
661
573
  if (!i.every(Boolean))
662
574
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -664,31 +576,31 @@ function ae(e, t, r) {
664
576
  return Wr(r, (a, o) => {
665
577
  let l = !1;
666
578
  const u = [];
667
- let h = 0, c = F;
668
- const f = () => {
579
+ let h = 0, f = F;
580
+ const c = () => {
669
581
  if (h)
670
582
  return;
671
- c();
583
+ f();
672
584
  const E = t(n ? u[0] : u, a, o);
673
- s ? a(E) : c = be(E) ? E : F;
674
- }, v = i.map(
675
- (E, g) => Lt(
585
+ s ? a(E) : f = ge(E) ? E : F;
586
+ }, x = i.map(
587
+ (E, g) => Rt(
676
588
  E,
677
589
  (y) => {
678
- u[g] = y, h &= ~(1 << g), l && f();
590
+ u[g] = y, h &= ~(1 << g), l && c();
679
591
  },
680
592
  () => {
681
593
  h |= 1 << g;
682
594
  }
683
595
  )
684
596
  );
685
- return l = !0, f(), function() {
686
- z(v), c(), l = !1;
597
+ return l = !0, c(), function() {
598
+ J(x), f(), l = !1;
687
599
  };
688
600
  });
689
601
  }
690
602
  function Xr(e) {
691
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
603
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
692
604
  }
693
605
  var Zr = function(t) {
694
606
  return qr(t) && !Qr(t);
@@ -707,19 +619,19 @@ function en(e) {
707
619
  function tn(e) {
708
620
  return Array.isArray(e) ? [] : {};
709
621
  }
710
- function me(e, t) {
711
- return t.clone !== !1 && t.isMergeableObject(e) ? re(tn(e), e, t) : e;
622
+ function de(e, t) {
623
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(tn(e), e, t) : e;
712
624
  }
713
625
  function rn(e, t, r) {
714
626
  return e.concat(t).map(function(n) {
715
- return me(n, r);
627
+ return de(n, r);
716
628
  });
717
629
  }
718
630
  function nn(e, t) {
719
631
  if (!t.customMerge)
720
- return re;
632
+ return ne;
721
633
  var r = t.customMerge(e);
722
- return typeof r == "function" ? r : re;
634
+ return typeof r == "function" ? r : ne;
723
635
  }
724
636
  function sn(e) {
725
637
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -729,7 +641,7 @@ function sn(e) {
729
641
  function ft(e) {
730
642
  return Object.keys(e).concat(sn(e));
731
643
  }
732
- function Dt(e, t) {
644
+ function kt(e, t) {
733
645
  try {
734
646
  return t in e;
735
647
  } catch (r) {
@@ -737,32 +649,74 @@ function Dt(e, t) {
737
649
  }
738
650
  }
739
651
  function an(e, t) {
740
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
652
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
741
653
  }
742
654
  function on(e, t, r) {
743
655
  var n = {};
744
656
  return r.isMergeableObject(e) && ft(e).forEach(function(i) {
745
- n[i] = me(e[i], r);
657
+ n[i] = de(e[i], r);
746
658
  }), ft(t).forEach(function(i) {
747
- an(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = nn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
659
+ an(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = nn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
748
660
  }), n;
749
661
  }
750
- function re(e, t, r) {
751
- r = r || {}, r.arrayMerge = r.arrayMerge || rn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = me;
662
+ function ne(e, t, r) {
663
+ r = r || {}, r.arrayMerge = r.arrayMerge || rn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = de;
752
664
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
753
- return s ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : me(t, r);
665
+ return s ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : de(t, r);
754
666
  }
755
- re.all = function(t, r) {
667
+ ne.all = function(t, r) {
756
668
  if (!Array.isArray(t))
757
669
  throw new Error("first argument should be an array");
758
670
  return t.reduce(function(n, i) {
759
- return re(n, i, r);
671
+ return ne(n, i, r);
760
672
  }, {});
761
673
  };
762
- var un = re, ln = un;
674
+ var un = ne, ln = un;
763
675
  const hn = /* @__PURE__ */ Xr(ln);
764
- function De(e, t) {
765
- var r = t && t.cache ? t.cache : pn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : cn;
676
+ var Xe = function(e, t) {
677
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
678
+ r.__proto__ = n;
679
+ } || function(r, n) {
680
+ for (var i in n)
681
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
682
+ }, Xe(e, t);
683
+ };
684
+ function we(e, t) {
685
+ if (typeof t != "function" && t !== null)
686
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
687
+ Xe(e, t);
688
+ function r() {
689
+ this.constructor = e;
690
+ }
691
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
692
+ }
693
+ var j = function() {
694
+ return j = Object.assign || function(t) {
695
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
696
+ r = arguments[n];
697
+ for (var s in r)
698
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
699
+ }
700
+ return t;
701
+ }, j.apply(this, arguments);
702
+ };
703
+ function cn(e, t) {
704
+ var r = {};
705
+ for (var n in e)
706
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
707
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
708
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
709
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
710
+ return r;
711
+ }
712
+ function ke(e, t, r) {
713
+ if (r || arguments.length === 2)
714
+ for (var n = 0, i = t.length, s; n < i; n++)
715
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
716
+ return e.concat(s || Array.prototype.slice.call(t));
717
+ }
718
+ function Ue(e, t) {
719
+ var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : gn, i = t && t.strategy ? t.strategy : dn;
766
720
  return i(e, {
767
721
  cache: r,
768
722
  serializer: n
@@ -771,7 +725,7 @@ function De(e, t) {
771
725
  function fn(e) {
772
726
  return e == null || typeof e == "number" || typeof e == "boolean";
773
727
  }
774
- function kt(e, t, r, n) {
728
+ function mn(e, t, r, n) {
775
729
  var i = fn(n) ? n : r(n), s = t.get(i);
776
730
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
777
731
  }
@@ -779,22 +733,19 @@ function Ut(e, t, r) {
779
733
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
780
734
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
781
735
  }
782
- function tt(e, t, r, n, i) {
736
+ function Ft(e, t, r, n, i) {
783
737
  return r.bind(t, e, n, i);
784
738
  }
785
- function cn(e, t) {
786
- var r = e.length === 1 ? kt : Ut;
787
- return tt(e, this, r, t.cache.create(), t.serializer);
788
- }
789
- function mn(e, t) {
790
- return tt(e, this, Ut, t.cache.create(), t.serializer);
791
- }
792
739
  function dn(e, t) {
793
- return tt(e, this, kt, t.cache.create(), t.serializer);
740
+ var r = e.length === 1 ? mn : Ut;
741
+ return Ft(e, this, r, t.cache.create(), t.serializer);
742
+ }
743
+ function bn(e, t) {
744
+ return Ft(e, this, Ut, t.cache.create(), t.serializer);
794
745
  }
795
- var bn = function() {
746
+ var gn = function() {
796
747
  return JSON.stringify(arguments);
797
- }, gn = (
748
+ }, pn = (
798
749
  /** @class */
799
750
  function() {
800
751
  function e() {
@@ -806,62 +757,71 @@ var bn = function() {
806
757
  this.cache[t] = r;
807
758
  }, e;
808
759
  }()
809
- ), pn = {
760
+ ), yn = {
810
761
  create: function() {
811
- return new gn();
762
+ return new pn();
812
763
  }
813
- }, ke = {
814
- variadic: mn,
815
- monadic: dn
816
- }, p;
764
+ }, Fe = {
765
+ variadic: bn
766
+ }, Te = function() {
767
+ return Te = Object.assign || function(t) {
768
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
769
+ r = arguments[n];
770
+ for (var s in r)
771
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
772
+ }
773
+ return t;
774
+ }, Te.apply(this, arguments);
775
+ };
776
+ var p;
817
777
  (function(e) {
818
778
  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";
819
779
  })(p || (p = {}));
820
- var H;
780
+ var A;
821
781
  (function(e) {
822
782
  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";
823
- })(H || (H = {}));
824
- var ne;
783
+ })(A || (A = {}));
784
+ var ie;
825
785
  (function(e) {
826
786
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
827
- })(ne || (ne = {}));
828
- function ct(e) {
829
- return e.type === H.literal;
830
- }
831
- function yn(e) {
832
- return e.type === H.argument;
787
+ })(ie || (ie = {}));
788
+ function mt(e) {
789
+ return e.type === A.literal;
833
790
  }
834
- function Ft(e) {
835
- return e.type === H.number;
791
+ function _n(e) {
792
+ return e.type === A.argument;
836
793
  }
837
794
  function Gt(e) {
838
- return e.type === H.date;
795
+ return e.type === A.number;
839
796
  }
840
797
  function $t(e) {
841
- return e.type === H.time;
798
+ return e.type === A.date;
842
799
  }
843
800
  function jt(e) {
844
- return e.type === H.select;
801
+ return e.type === A.time;
845
802
  }
846
803
  function Vt(e) {
847
- return e.type === H.plural;
848
- }
849
- function _n(e) {
850
- return e.type === H.pound;
804
+ return e.type === A.select;
851
805
  }
852
806
  function zt(e) {
853
- return e.type === H.tag;
807
+ return e.type === A.plural;
808
+ }
809
+ function vn(e) {
810
+ return e.type === A.pound;
854
811
  }
855
812
  function Jt(e) {
856
- return !!(e && typeof e == "object" && e.type === ne.number);
813
+ return e.type === A.tag;
857
814
  }
858
- function We(e) {
859
- return !!(e && typeof e == "object" && e.type === ne.dateTime);
815
+ function Wt(e) {
816
+ return !!(e && typeof e == "object" && e.type === ie.number);
817
+ }
818
+ function Ze(e) {
819
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
860
820
  }
861
- var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, xn = /(?:[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;
862
- function En(e) {
821
+ var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, En = /(?:[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;
822
+ function xn(e) {
863
823
  var t = {};
864
- return e.replace(xn, function(r) {
824
+ return e.replace(En, function(r) {
865
825
  var n = r.length;
866
826
  switch (r[0]) {
867
827
  case "G":
@@ -950,36 +910,46 @@ function En(e) {
950
910
  return "";
951
911
  }), t;
952
912
  }
953
- var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
954
- function Sn(e) {
913
+ var H = function() {
914
+ return H = Object.assign || function(t) {
915
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
916
+ r = arguments[n];
917
+ for (var s in r)
918
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
919
+ }
920
+ return t;
921
+ }, H.apply(this, arguments);
922
+ };
923
+ var Sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
924
+ function Tn(e) {
955
925
  if (e.length === 0)
956
926
  throw new Error("Number skeleton cannot be empty");
957
- for (var t = e.split(vn).filter(function(f) {
958
- return f.length > 0;
927
+ for (var t = e.split(Sn).filter(function(c) {
928
+ return c.length > 0;
959
929
  }), r = [], n = 0, i = t; n < i.length; n++) {
960
930
  var s = i[n], a = s.split("/");
961
931
  if (a.length === 0)
962
932
  throw new Error("Invalid number skeleton");
963
933
  for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
964
- var c = h[u];
965
- if (c.length === 0)
934
+ var f = h[u];
935
+ if (f.length === 0)
966
936
  throw new Error("Invalid number skeleton");
967
937
  }
968
938
  r.push({ stem: o, options: l });
969
939
  }
970
940
  return r;
971
941
  }
972
- function Tn(e) {
942
+ function An(e) {
973
943
  return e.replace(/^(.*?)-/, "");
974
944
  }
975
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, An = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
976
- function dt(e) {
945
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
946
+ function bt(e) {
977
947
  var t = {};
978
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
948
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
979
949
  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)), "";
980
950
  }), t;
981
951
  }
982
- function qt(e) {
952
+ function Qt(e) {
983
953
  switch (e) {
984
954
  case "sign-auto":
985
955
  return {
@@ -1019,7 +989,7 @@ function qt(e) {
1019
989
  };
1020
990
  }
1021
991
  }
1022
- function Hn(e) {
992
+ function Cn(e) {
1023
993
  var t;
1024
994
  if (e[0] === "E" && e[1] === "E" ? (t = {
1025
995
  notation: "engineering"
@@ -1027,17 +997,17 @@ function Hn(e) {
1027
997
  notation: "scientific"
1028
998
  }, e = e.slice(1)), t) {
1029
999
  var r = e.slice(0, 2);
1030
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1000
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1031
1001
  throw new Error("Malformed concise eng/scientific notation");
1032
1002
  t.minimumIntegerDigits = e.length;
1033
1003
  }
1034
1004
  return t;
1035
1005
  }
1036
- function bt(e) {
1037
- var t = {}, r = qt(e);
1006
+ function gt(e) {
1007
+ var t = {}, r = Qt(e);
1038
1008
  return r || t;
1039
1009
  }
1040
- function Cn(e) {
1010
+ function wn(e) {
1041
1011
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1042
1012
  var i = n[r];
1043
1013
  switch (i.stem) {
@@ -1061,7 +1031,7 @@ function Cn(e) {
1061
1031
  continue;
1062
1032
  case "measure-unit":
1063
1033
  case "unit":
1064
- t.style = "unit", t.unit = Tn(i.options[0]);
1034
+ t.style = "unit", t.unit = An(i.options[0]);
1065
1035
  continue;
1066
1036
  case "compact-short":
1067
1037
  case "K":
@@ -1072,13 +1042,13 @@ function Cn(e) {
1072
1042
  t.notation = "compact", t.compactDisplay = "long";
1073
1043
  continue;
1074
1044
  case "scientific":
1075
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1076
- return S(S({}, l), bt(u));
1045
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1046
+ return H(H({}, l), gt(u));
1077
1047
  }, {}));
1078
1048
  continue;
1079
1049
  case "engineering":
1080
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1081
- return S(S({}, l), bt(u));
1050
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1051
+ return H(H({}, l), gt(u));
1082
1052
  }, {}));
1083
1053
  continue;
1084
1054
  case "notation-simple":
@@ -1123,45 +1093,45 @@ function Cn(e) {
1123
1093
  case "integer-width":
1124
1094
  if (i.options.length > 1)
1125
1095
  throw new RangeError("integer-width stems only accept a single optional option");
1126
- i.options[0].replace(An, function(l, u, h, c, f, v) {
1096
+ i.options[0].replace(Hn, function(l, u, h, f, c, x) {
1127
1097
  if (u)
1128
1098
  t.minimumIntegerDigits = h.length;
1129
1099
  else {
1130
- if (c && f)
1100
+ if (f && c)
1131
1101
  throw new Error("We currently do not support maximum integer digits");
1132
- if (v)
1102
+ if (x)
1133
1103
  throw new Error("We currently do not support exact integer digits");
1134
1104
  }
1135
1105
  return "";
1136
1106
  });
1137
1107
  continue;
1138
1108
  }
1139
- if (Zt.test(i.stem)) {
1109
+ if (qt.test(i.stem)) {
1140
1110
  t.minimumIntegerDigits = i.stem.length;
1141
1111
  continue;
1142
1112
  }
1143
- if (mt.test(i.stem)) {
1113
+ if (dt.test(i.stem)) {
1144
1114
  if (i.options.length > 1)
1145
1115
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1146
- i.stem.replace(mt, function(l, u, h, c, f, v) {
1147
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && v ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1116
+ i.stem.replace(dt, function(l, u, h, f, c, x) {
1117
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && x ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1148
1118
  });
1149
1119
  var s = i.options[0];
1150
- s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), dt(s)));
1120
+ s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), bt(s)));
1151
1121
  continue;
1152
1122
  }
1153
- if (Xt.test(i.stem)) {
1154
- t = S(S({}, t), dt(i.stem));
1123
+ if (Zt.test(i.stem)) {
1124
+ t = H(H({}, t), bt(i.stem));
1155
1125
  continue;
1156
1126
  }
1157
- var a = qt(i.stem);
1158
- a && (t = S(S({}, t), a));
1159
- var o = Hn(i.stem);
1160
- o && (t = S(S({}, t), o));
1127
+ var a = Qt(i.stem);
1128
+ a && (t = H(H({}, t), a));
1129
+ var o = Cn(i.stem);
1130
+ o && (t = H(H({}, t), o));
1161
1131
  }
1162
1132
  return t;
1163
1133
  }
1164
- var _e = {
1134
+ var ve = {
1165
1135
  "001": [
1166
1136
  "H",
1167
1137
  "h"
@@ -2576,13 +2546,13 @@ var _e = {
2576
2546
  "h"
2577
2547
  ]
2578
2548
  };
2579
- function wn(e, t) {
2549
+ function Bn(e, t) {
2580
2550
  for (var r = "", n = 0; n < e.length; n++) {
2581
2551
  var i = e.charAt(n);
2582
2552
  if (i === "j") {
2583
2553
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2584
2554
  s++, n++;
2585
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Bn(t);
2555
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = In(t);
2586
2556
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2587
2557
  r += l;
2588
2558
  for (; a-- > 0; )
@@ -2592,7 +2562,7 @@ function wn(e, t) {
2592
2562
  }
2593
2563
  return r;
2594
2564
  }
2595
- function Bn(e) {
2565
+ function In(e) {
2596
2566
  var t = e.hourCycle;
2597
2567
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2598
2568
  e.hourCycles && // @ts-ignore
@@ -2611,23 +2581,23 @@ function Bn(e) {
2611
2581
  }
2612
2582
  var r = e.language, n;
2613
2583
  r !== "root" && (n = e.maximize().region);
2614
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
2584
+ var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2615
2585
  return i[0];
2616
2586
  }
2617
- var Ue, In = new RegExp("^".concat(Wt.source, "*")), Nn = new RegExp("".concat(Wt.source, "*$"));
2618
- function x(e, t) {
2587
+ var Ge, On = new RegExp("^".concat(Xt.source, "*")), Nn = new RegExp("".concat(Xt.source, "*$"));
2588
+ function v(e, t) {
2619
2589
  return { start: e, end: t };
2620
2590
  }
2621
- var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, Pn = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Rn = !!String.prototype.trimStart, Dn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Un = kn ? Number.isSafeInteger : function(e) {
2591
+ var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Mn = !!String.fromCodePoint, Ln = !!Object.fromEntries, Rn = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Fn = Un ? Number.isSafeInteger : function(e) {
2622
2592
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2623
- }, Xe = !0;
2593
+ }, qe = !0;
2624
2594
  try {
2625
- var Fn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2626
- Xe = ((Ue = Fn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
2595
+ var Gn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
+ qe = ((Ge = Gn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2627
2597
  } catch (e) {
2628
- Xe = !1;
2598
+ qe = !1;
2629
2599
  }
2630
- var gt = Mn ? (
2600
+ var pt = Pn ? (
2631
2601
  // Native
2632
2602
  function(t, r, n) {
2633
2603
  return t.startsWith(r, n);
@@ -2637,7 +2607,7 @@ var gt = Mn ? (
2637
2607
  function(t, r, n) {
2638
2608
  return t.slice(n, n + r.length) === r;
2639
2609
  }
2640
- ), Ze = On ? String.fromCodePoint : (
2610
+ ), Qe = Mn ? String.fromCodePoint : (
2641
2611
  // IE11
2642
2612
  function() {
2643
2613
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2649,9 +2619,9 @@ var gt = Mn ? (
2649
2619
  }
2650
2620
  return n;
2651
2621
  }
2652
- ), pt = (
2622
+ ), yt = (
2653
2623
  // native
2654
- Pn ? Object.fromEntries : (
2624
+ Ln ? Object.fromEntries : (
2655
2625
  // Ponyfill
2656
2626
  function(t) {
2657
2627
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2661,7 +2631,7 @@ var gt = Mn ? (
2661
2631
  return r;
2662
2632
  }
2663
2633
  )
2664
- ), Qt = Ln ? (
2634
+ ), Yt = Rn ? (
2665
2635
  // Native
2666
2636
  function(t, r) {
2667
2637
  return t.codePointAt(r);
@@ -2675,7 +2645,7 @@ var gt = Mn ? (
2675
2645
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2676
2646
  }
2677
2647
  }
2678
- ), Gn = Rn ? (
2648
+ ), $n = Dn ? (
2679
2649
  // Native
2680
2650
  function(t) {
2681
2651
  return t.trimStart();
@@ -2683,9 +2653,9 @@ var gt = Mn ? (
2683
2653
  ) : (
2684
2654
  // Ponyfill
2685
2655
  function(t) {
2686
- return t.replace(In, "");
2656
+ return t.replace(On, "");
2687
2657
  }
2688
- ), $n = Dn ? (
2658
+ ), jn = kn ? (
2689
2659
  // Native
2690
2660
  function(t) {
2691
2661
  return t.trimEnd();
@@ -2696,29 +2666,29 @@ var gt = Mn ? (
2696
2666
  return t.replace(Nn, "");
2697
2667
  }
2698
2668
  );
2699
- function Yt(e, t) {
2669
+ function Kt(e, t) {
2700
2670
  return new RegExp(e, t);
2701
2671
  }
2702
- var qe;
2703
- if (Xe) {
2704
- var yt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2705
- qe = function(t, r) {
2672
+ var Ye;
2673
+ if (qe) {
2674
+ var _t = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2675
+ Ye = function(t, r) {
2706
2676
  var n;
2707
- yt.lastIndex = r;
2708
- var i = yt.exec(t);
2677
+ _t.lastIndex = r;
2678
+ var i = _t.exec(t);
2709
2679
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2710
2680
  };
2711
2681
  } else
2712
- qe = function(t, r) {
2682
+ Ye = function(t, r) {
2713
2683
  for (var n = []; ; ) {
2714
- var i = Qt(t, r);
2715
- if (i === void 0 || Kt(i) || Jn(i))
2684
+ var i = Yt(t, r);
2685
+ if (i === void 0 || er(i) || Wn(i))
2716
2686
  break;
2717
2687
  n.push(i), r += i >= 65536 ? 2 : 1;
2718
2688
  }
2719
- return Ze.apply(void 0, n);
2689
+ return Qe.apply(void 0, n);
2720
2690
  };
2721
- var jn = (
2691
+ var Vn = (
2722
2692
  /** @class */
2723
2693
  function() {
2724
2694
  function e(t, r) {
@@ -2742,14 +2712,14 @@ var jn = (
2742
2712
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2743
2713
  var o = this.clonePosition();
2744
2714
  this.bump(), i.push({
2745
- type: H.pound,
2746
- location: x(o, this.clonePosition())
2715
+ type: A.pound,
2716
+ location: v(o, this.clonePosition())
2747
2717
  });
2748
2718
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2749
2719
  if (n)
2750
2720
  break;
2751
- return this.error(p.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2752
- } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2721
+ return this.error(p.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2722
+ } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2753
2723
  var a = this.parseTag(t, r);
2754
2724
  if (a.err)
2755
2725
  return a;
@@ -2770,9 +2740,9 @@ var jn = (
2770
2740
  if (this.bumpSpace(), this.bumpIf("/>"))
2771
2741
  return {
2772
2742
  val: {
2773
- type: H.literal,
2743
+ type: A.literal,
2774
2744
  value: "<".concat(i, "/>"),
2775
- location: x(n, this.clonePosition())
2745
+ location: v(n, this.clonePosition())
2776
2746
  },
2777
2747
  err: null
2778
2748
  };
@@ -2782,25 +2752,25 @@ var jn = (
2782
2752
  return s;
2783
2753
  var a = s.val, o = this.clonePosition();
2784
2754
  if (this.bumpIf("</")) {
2785
- if (this.isEOF() || !Qe(this.char()))
2786
- return this.error(p.INVALID_TAG, x(o, this.clonePosition()));
2755
+ if (this.isEOF() || !Ke(this.char()))
2756
+ return this.error(p.INVALID_TAG, v(o, this.clonePosition()));
2787
2757
  var l = this.clonePosition(), u = this.parseTagName();
2788
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2758
+ return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2789
2759
  val: {
2790
- type: H.tag,
2760
+ type: A.tag,
2791
2761
  value: i,
2792
2762
  children: a,
2793
- location: x(n, this.clonePosition())
2763
+ location: v(n, this.clonePosition())
2794
2764
  },
2795
2765
  err: null
2796
- } : this.error(p.INVALID_TAG, x(o, this.clonePosition())));
2766
+ } : this.error(p.INVALID_TAG, v(o, this.clonePosition())));
2797
2767
  } else
2798
- return this.error(p.UNCLOSED_TAG, x(n, this.clonePosition()));
2768
+ return this.error(p.UNCLOSED_TAG, v(n, this.clonePosition()));
2799
2769
  } else
2800
- return this.error(p.INVALID_TAG, x(n, this.clonePosition()));
2770
+ return this.error(p.INVALID_TAG, v(n, this.clonePosition()));
2801
2771
  }, e.prototype.parseTagName = function() {
2802
2772
  var t = this.offset();
2803
- for (this.bump(); !this.isEOF() && zn(this.char()); )
2773
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
2804
2774
  this.bump();
2805
2775
  return this.message.slice(t, this.offset());
2806
2776
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2822,14 +2792,14 @@ var jn = (
2822
2792
  }
2823
2793
  break;
2824
2794
  }
2825
- var l = x(n, this.clonePosition());
2795
+ var l = v(n, this.clonePosition());
2826
2796
  return {
2827
- val: { type: H.literal, value: i, location: l },
2797
+ val: { type: A.literal, value: i, location: l },
2828
2798
  err: null
2829
2799
  };
2830
2800
  }, e.prototype.tryParseLeftAngleBracket = function() {
2831
2801
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2832
- !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
2802
+ !zn(this.peek() || 0)) ? (this.bump(), "<") : null;
2833
2803
  }, e.prototype.tryParseQuote = function(t) {
2834
2804
  if (this.isEOF() || this.char() !== 39)
2835
2805
  return null;
@@ -2863,49 +2833,49 @@ var jn = (
2863
2833
  r.push(n);
2864
2834
  this.bump();
2865
2835
  }
2866
- return Ze.apply(void 0, r);
2836
+ return Qe.apply(void 0, r);
2867
2837
  }, e.prototype.tryParseUnquoted = function(t, r) {
2868
2838
  if (this.isEOF())
2869
2839
  return null;
2870
2840
  var n = this.char();
2871
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
2841
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2872
2842
  }, e.prototype.parseArgument = function(t, r) {
2873
2843
  var n = this.clonePosition();
2874
2844
  if (this.bump(), this.bumpSpace(), this.isEOF())
2875
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2845
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2876
2846
  if (this.char() === 125)
2877
- return this.bump(), this.error(p.EMPTY_ARGUMENT, x(n, this.clonePosition()));
2847
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2878
2848
  var i = this.parseIdentifierIfPossible().value;
2879
2849
  if (!i)
2880
- return this.error(p.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2850
+ return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2881
2851
  if (this.bumpSpace(), this.isEOF())
2882
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
2852
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2883
2853
  switch (this.char()) {
2884
2854
  case 125:
2885
2855
  return this.bump(), {
2886
2856
  val: {
2887
- type: H.argument,
2857
+ type: A.argument,
2888
2858
  // value does not include the opening and closing braces.
2889
2859
  value: i,
2890
- location: x(n, this.clonePosition())
2860
+ location: v(n, this.clonePosition())
2891
2861
  },
2892
2862
  err: null
2893
2863
  };
2894
2864
  case 44:
2895
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2865
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2896
2866
  default:
2897
- return this.error(p.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
2867
+ return this.error(p.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2898
2868
  }
2899
2869
  }, e.prototype.parseIdentifierIfPossible = function() {
2900
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2870
+ var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
2901
2871
  this.bumpTo(i);
2902
- var s = this.clonePosition(), a = x(t, s);
2872
+ var s = this.clonePosition(), a = v(t, s);
2903
2873
  return { value: n, location: a };
2904
2874
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2905
2875
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2906
2876
  switch (o) {
2907
2877
  case "":
2908
- return this.error(p.EXPECT_ARGUMENT_TYPE, x(a, l));
2878
+ return this.error(p.EXPECT_ARGUMENT_TYPE, v(a, l));
2909
2879
  case "number":
2910
2880
  case "date":
2911
2881
  case "time": {
@@ -2913,47 +2883,47 @@ var jn = (
2913
2883
  var u = null;
2914
2884
  if (this.bumpIf(",")) {
2915
2885
  this.bumpSpace();
2916
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2917
- if (c.err)
2918
- return c;
2919
- var f = $n(c.val);
2920
- if (f.length === 0)
2921
- return this.error(p.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2922
- var v = x(h, this.clonePosition());
2923
- u = { style: f, styleLocation: v };
2886
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2887
+ if (f.err)
2888
+ return f;
2889
+ var c = jn(f.val);
2890
+ if (c.length === 0)
2891
+ return this.error(p.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2892
+ var x = v(h, this.clonePosition());
2893
+ u = { style: c, styleLocation: x };
2924
2894
  }
2925
2895
  var E = this.tryParseArgumentClose(i);
2926
2896
  if (E.err)
2927
2897
  return E;
2928
- var g = x(i, this.clonePosition());
2929
- if (u && gt(u == null ? void 0 : u.style, "::", 0)) {
2930
- var y = Gn(u.style.slice(2));
2898
+ var g = v(i, this.clonePosition());
2899
+ if (u && pt(u == null ? void 0 : u.style, "::", 0)) {
2900
+ var y = $n(u.style.slice(2));
2931
2901
  if (o === "number") {
2932
- var c = this.parseNumberSkeletonFromString(y, u.styleLocation);
2933
- return c.err ? c : {
2934
- val: { type: H.number, value: n, location: g, style: c.val },
2902
+ var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
2903
+ return f.err ? f : {
2904
+ val: { type: A.number, value: n, location: g, style: f.val },
2935
2905
  err: null
2936
2906
  };
2937
2907
  } else {
2938
2908
  if (y.length === 0)
2939
2909
  return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2940
- var T = y;
2941
- this.locale && (T = wn(y, this.locale));
2942
- var f = {
2943
- type: ne.dateTime,
2944
- pattern: T,
2910
+ var S = y;
2911
+ this.locale && (S = Bn(y, this.locale));
2912
+ var c = {
2913
+ type: ie.dateTime,
2914
+ pattern: S,
2945
2915
  location: u.styleLocation,
2946
- parsedOptions: this.shouldParseSkeletons ? En(T) : {}
2947
- }, d = o === "date" ? H.date : H.time;
2916
+ parsedOptions: this.shouldParseSkeletons ? xn(S) : {}
2917
+ }, d = o === "date" ? A.date : A.time;
2948
2918
  return {
2949
- val: { type: d, value: n, location: g, style: f },
2919
+ val: { type: d, value: n, location: g, style: c },
2950
2920
  err: null
2951
2921
  };
2952
2922
  }
2953
2923
  }
2954
2924
  return {
2955
2925
  val: {
2956
- type: o === "number" ? H.number : o === "date" ? H.date : H.time,
2926
+ type: o === "number" ? A.number : o === "date" ? A.date : A.time,
2957
2927
  value: n,
2958
2928
  location: g,
2959
2929
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2966,17 +2936,17 @@ var jn = (
2966
2936
  case "select": {
2967
2937
  var _ = this.clonePosition();
2968
2938
  if (this.bumpSpace(), !this.bumpIf(","))
2969
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, x(_, S({}, _)));
2939
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, Te({}, _)));
2970
2940
  this.bumpSpace();
2971
- var B = this.parseIdentifierIfPossible(), P = 0;
2941
+ var B = this.parseIdentifierIfPossible(), M = 0;
2972
2942
  if (o !== "select" && B.value === "offset") {
2973
2943
  if (!this.bumpIf(":"))
2974
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2944
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2975
2945
  this.bumpSpace();
2976
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2977
- if (c.err)
2978
- return c;
2979
- this.bumpSpace(), B = this.parseIdentifierIfPossible(), P = c.val;
2946
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2947
+ if (f.err)
2948
+ return f;
2949
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), M = f.val;
2980
2950
  }
2981
2951
  var k = this.tryParsePluralOrSelectOptions(t, o, r, B);
2982
2952
  if (k.err)
@@ -2984,21 +2954,21 @@ var jn = (
2984
2954
  var E = this.tryParseArgumentClose(i);
2985
2955
  if (E.err)
2986
2956
  return E;
2987
- var L = x(i, this.clonePosition());
2957
+ var L = v(i, this.clonePosition());
2988
2958
  return o === "select" ? {
2989
2959
  val: {
2990
- type: H.select,
2960
+ type: A.select,
2991
2961
  value: n,
2992
- options: pt(k.val),
2962
+ options: yt(k.val),
2993
2963
  location: L
2994
2964
  },
2995
2965
  err: null
2996
2966
  } : {
2997
2967
  val: {
2998
- type: H.plural,
2968
+ type: A.plural,
2999
2969
  value: n,
3000
- options: pt(k.val),
3001
- offset: P,
2970
+ options: yt(k.val),
2971
+ offset: M,
3002
2972
  pluralType: o === "plural" ? "cardinal" : "ordinal",
3003
2973
  location: L
3004
2974
  },
@@ -3006,10 +2976,10 @@ var jn = (
3006
2976
  };
3007
2977
  }
3008
2978
  default:
3009
- return this.error(p.INVALID_ARGUMENT_TYPE, x(a, l));
2979
+ return this.error(p.INVALID_ARGUMENT_TYPE, v(a, l));
3010
2980
  }
3011
2981
  }, e.prototype.tryParseArgumentClose = function(t) {
3012
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2982
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3013
2983
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3014
2984
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3015
2985
  var n = this.char();
@@ -3018,7 +2988,7 @@ var jn = (
3018
2988
  this.bump();
3019
2989
  var i = this.clonePosition();
3020
2990
  if (!this.bumpUntil("'"))
3021
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
2991
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3022
2992
  this.bump();
3023
2993
  break;
3024
2994
  }
@@ -3048,52 +3018,52 @@ var jn = (
3048
3018
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3049
3019
  var n = [];
3050
3020
  try {
3051
- n = Sn(t);
3021
+ n = Tn(t);
3052
3022
  } catch (i) {
3053
3023
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3054
3024
  }
3055
3025
  return {
3056
3026
  val: {
3057
- type: ne.number,
3027
+ type: ie.number,
3058
3028
  tokens: n,
3059
3029
  location: r,
3060
- parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
3030
+ parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
3061
3031
  },
3062
3032
  err: null
3063
3033
  };
3064
3034
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3065
3035
  for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3066
3036
  if (u.length === 0) {
3067
- var c = this.clonePosition();
3037
+ var f = this.clonePosition();
3068
3038
  if (r !== "select" && this.bumpIf("=")) {
3069
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3070
- if (f.err)
3071
- return f;
3072
- h = x(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3039
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3040
+ if (c.err)
3041
+ return c;
3042
+ h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3073
3043
  } else
3074
3044
  break;
3075
3045
  }
3076
3046
  if (l.has(u))
3077
3047
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3078
3048
  u === "other" && (a = !0), this.bumpSpace();
3079
- var v = this.clonePosition();
3049
+ var x = this.clonePosition();
3080
3050
  if (!this.bumpIf("{"))
3081
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3051
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3082
3052
  var E = this.parseMessage(t + 1, r, n);
3083
3053
  if (E.err)
3084
3054
  return E;
3085
- var g = this.tryParseArgumentClose(v);
3055
+ var g = this.tryParseArgumentClose(x);
3086
3056
  if (g.err)
3087
3057
  return g;
3088
3058
  o.push([
3089
3059
  u,
3090
3060
  {
3091
3061
  value: E.val,
3092
- location: x(v, this.clonePosition())
3062
+ location: v(x, this.clonePosition())
3093
3063
  }
3094
3064
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3095
3065
  }
3096
- return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3066
+ return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3097
3067
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3098
3068
  var n = 1, i = this.clonePosition();
3099
3069
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3104,8 +3074,8 @@ var jn = (
3104
3074
  else
3105
3075
  break;
3106
3076
  }
3107
- var l = x(i, this.clonePosition());
3108
- return s ? (a *= n, Un(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3077
+ var l = v(i, this.clonePosition());
3078
+ return s ? (a *= n, Fn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3109
3079
  }, e.prototype.offset = function() {
3110
3080
  return this.position.offset;
3111
3081
  }, e.prototype.isEOF = function() {
@@ -3120,7 +3090,7 @@ var jn = (
3120
3090
  var t = this.position.offset;
3121
3091
  if (t >= this.message.length)
3122
3092
  throw Error("out of bound");
3123
- var r = Qt(this.message, t);
3093
+ var r = Yt(this.message, t);
3124
3094
  if (r === void 0)
3125
3095
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3126
3096
  return r;
@@ -3139,7 +3109,7 @@ var jn = (
3139
3109
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3140
3110
  }
3141
3111
  }, e.prototype.bumpIf = function(t) {
3142
- if (gt(this.message, t, this.offset())) {
3112
+ if (pt(this.message, t, this.offset())) {
3143
3113
  for (var r = 0; r < t.length; r++)
3144
3114
  this.bump();
3145
3115
  return !0;
@@ -3161,7 +3131,7 @@ var jn = (
3161
3131
  break;
3162
3132
  }
3163
3133
  }, e.prototype.bumpSpace = function() {
3164
- for (; !this.isEOF() && Kt(this.char()); )
3134
+ for (; !this.isEOF() && er(this.char()); )
3165
3135
  this.bump();
3166
3136
  }, e.prototype.peek = function() {
3167
3137
  if (this.isEOF())
@@ -3171,47 +3141,47 @@ var jn = (
3171
3141
  }, e;
3172
3142
  }()
3173
3143
  );
3174
- function Qe(e) {
3144
+ function Ke(e) {
3175
3145
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3176
3146
  }
3177
- function Vn(e) {
3178
- return Qe(e) || e === 47;
3179
- }
3180
3147
  function zn(e) {
3148
+ return Ke(e) || e === 47;
3149
+ }
3150
+ function Jn(e) {
3181
3151
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3182
3152
  }
3183
- function Kt(e) {
3153
+ function er(e) {
3184
3154
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3185
3155
  }
3186
- function Jn(e) {
3156
+ function Wn(e) {
3187
3157
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3188
3158
  }
3189
- function Ye(e) {
3159
+ function et(e) {
3190
3160
  e.forEach(function(t) {
3191
- if (delete t.location, jt(t) || Vt(t))
3161
+ if (delete t.location, Vt(t) || zt(t))
3192
3162
  for (var r in t.options)
3193
- delete t.options[r].location, Ye(t.options[r].value);
3163
+ delete t.options[r].location, et(t.options[r].value);
3194
3164
  else
3195
- Ft(t) && Jt(t.style) || (Gt(t) || $t(t)) && We(t.style) ? delete t.style.location : zt(t) && Ye(t.children);
3165
+ Gt(t) && Wt(t.style) || ($t(t) || jt(t)) && Ze(t.style) ? delete t.style.location : Jt(t) && et(t.children);
3196
3166
  });
3197
3167
  }
3198
- function Wn(e, t) {
3199
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3200
- var r = new jn(e, t).parse();
3168
+ function Xn(e, t) {
3169
+ t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3170
+ var r = new Vn(e, t).parse();
3201
3171
  if (r.err) {
3202
3172
  var n = SyntaxError(p[r.err.kind]);
3203
3173
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3204
3174
  }
3205
- return t != null && t.captureLocation || Ye(r.val), r.val;
3175
+ return t != null && t.captureLocation || et(r.val), r.val;
3206
3176
  }
3207
- var ie;
3177
+ var se;
3208
3178
  (function(e) {
3209
3179
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3210
- })(ie || (ie = {}));
3211
- var Ce = (
3180
+ })(se || (se = {}));
3181
+ var Be = (
3212
3182
  /** @class */
3213
3183
  function(e) {
3214
- Ae(t, e);
3184
+ we(t, e);
3215
3185
  function t(r, n, i) {
3216
3186
  var s = e.call(this, r) || this;
3217
3187
  return s.code = n, s.originalMessage = i, s;
@@ -3220,48 +3190,48 @@ var Ce = (
3220
3190
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3221
3191
  }, t;
3222
3192
  }(Error)
3223
- ), _t = (
3193
+ ), vt = (
3224
3194
  /** @class */
3225
3195
  function(e) {
3226
- Ae(t, e);
3196
+ we(t, e);
3227
3197
  function t(r, n, i, s) {
3228
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ie.INVALID_VALUE, s) || this;
3198
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, s) || this;
3229
3199
  }
3230
3200
  return t;
3231
- }(Ce)
3232
- ), Xn = (
3201
+ }(Be)
3202
+ ), Zn = (
3233
3203
  /** @class */
3234
3204
  function(e) {
3235
- Ae(t, e);
3205
+ we(t, e);
3236
3206
  function t(r, n, i) {
3237
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ie.INVALID_VALUE, i) || this;
3207
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3238
3208
  }
3239
3209
  return t;
3240
- }(Ce)
3241
- ), Zn = (
3210
+ }(Be)
3211
+ ), qn = (
3242
3212
  /** @class */
3243
3213
  function(e) {
3244
- Ae(t, e);
3214
+ we(t, e);
3245
3215
  function t(r, n) {
3246
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ie.MISSING_VALUE, n) || this;
3216
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3247
3217
  }
3248
3218
  return t;
3249
- }(Ce)
3219
+ }(Be)
3250
3220
  ), R;
3251
3221
  (function(e) {
3252
3222
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3253
3223
  })(R || (R = {}));
3254
- function qn(e) {
3224
+ function Qn(e) {
3255
3225
  return e.length < 2 ? e : e.reduce(function(t, r) {
3256
3226
  var n = t[t.length - 1];
3257
3227
  return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
3258
3228
  }, []);
3259
3229
  }
3260
- function Qn(e) {
3230
+ function Yn(e) {
3261
3231
  return typeof e == "function";
3262
3232
  }
3263
- function Ee(e, t, r, n, i, s, a) {
3264
- if (e.length === 1 && ct(e[0]))
3233
+ function xe(e, t, r, n, i, s, a) {
3234
+ if (e.length === 1 && mt(e[0]))
3265
3235
  return [
3266
3236
  {
3267
3237
  type: R.literal,
@@ -3270,105 +3240,105 @@ function Ee(e, t, r, n, i, s, a) {
3270
3240
  ];
3271
3241
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3272
3242
  var h = u[l];
3273
- if (ct(h)) {
3243
+ if (mt(h)) {
3274
3244
  o.push({
3275
3245
  type: R.literal,
3276
3246
  value: h.value
3277
3247
  });
3278
3248
  continue;
3279
3249
  }
3280
- if (_n(h)) {
3250
+ if (vn(h)) {
3281
3251
  typeof s == "number" && o.push({
3282
3252
  type: R.literal,
3283
3253
  value: r.getNumberFormat(t).format(s)
3284
3254
  });
3285
3255
  continue;
3286
3256
  }
3287
- var c = h.value;
3288
- if (!(i && c in i))
3289
- throw new Zn(c, a);
3290
- var f = i[c];
3291
- if (yn(h)) {
3292
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3293
- type: typeof f == "string" ? R.literal : R.object,
3294
- value: f
3257
+ var f = h.value;
3258
+ if (!(i && f in i))
3259
+ throw new qn(f, a);
3260
+ var c = i[f];
3261
+ if (_n(h)) {
3262
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3263
+ type: typeof c == "string" ? R.literal : R.object,
3264
+ value: c
3295
3265
  });
3296
3266
  continue;
3297
3267
  }
3298
- if (Gt(h)) {
3299
- var v = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3268
+ if ($t(h)) {
3269
+ var x = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
3300
3270
  o.push({
3301
3271
  type: R.literal,
3302
- value: r.getDateTimeFormat(t, v).format(f)
3272
+ value: r.getDateTimeFormat(t, x).format(c)
3303
3273
  });
3304
3274
  continue;
3305
3275
  }
3306
- if ($t(h)) {
3307
- var v = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3276
+ if (jt(h)) {
3277
+ var x = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
3308
3278
  o.push({
3309
3279
  type: R.literal,
3310
- value: r.getDateTimeFormat(t, v).format(f)
3280
+ value: r.getDateTimeFormat(t, x).format(c)
3311
3281
  });
3312
3282
  continue;
3313
3283
  }
3314
- if (Ft(h)) {
3315
- var v = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
3316
- v && v.scale && (f = f * (v.scale || 1)), o.push({
3284
+ if (Gt(h)) {
3285
+ var x = typeof h.style == "string" ? n.number[h.style] : Wt(h.style) ? h.style.parsedOptions : void 0;
3286
+ x && x.scale && (c = c * (x.scale || 1)), o.push({
3317
3287
  type: R.literal,
3318
- value: r.getNumberFormat(t, v).format(f)
3288
+ value: r.getNumberFormat(t, x).format(c)
3319
3289
  });
3320
3290
  continue;
3321
3291
  }
3322
- if (zt(h)) {
3292
+ if (Jt(h)) {
3323
3293
  var E = h.children, g = h.value, y = i[g];
3324
- if (!Qn(y))
3325
- throw new Xn(g, "function", a);
3326
- var T = Ee(E, t, r, n, i, s), d = y(T.map(function(P) {
3327
- return P.value;
3294
+ if (!Yn(y))
3295
+ throw new Zn(g, "function", a);
3296
+ var S = xe(E, t, r, n, i, s), d = y(S.map(function(M) {
3297
+ return M.value;
3328
3298
  }));
3329
- Array.isArray(d) || (d = [d]), o.push.apply(o, d.map(function(P) {
3299
+ Array.isArray(d) || (d = [d]), o.push.apply(o, d.map(function(M) {
3330
3300
  return {
3331
- type: typeof P == "string" ? R.literal : R.object,
3332
- value: P
3301
+ type: typeof M == "string" ? R.literal : R.object,
3302
+ value: M
3333
3303
  };
3334
3304
  }));
3335
3305
  }
3336
- if (jt(h)) {
3337
- var _ = h.options[f] || h.options.other;
3306
+ if (Vt(h)) {
3307
+ var _ = h.options[c] || h.options.other;
3338
3308
  if (!_)
3339
- throw new _t(h.value, f, Object.keys(h.options), a);
3340
- o.push.apply(o, Ee(_.value, t, r, n, i));
3309
+ throw new vt(h.value, c, Object.keys(h.options), a);
3310
+ o.push.apply(o, xe(_.value, t, r, n, i));
3341
3311
  continue;
3342
3312
  }
3343
- if (Vt(h)) {
3344
- var _ = h.options["=".concat(f)];
3313
+ if (zt(h)) {
3314
+ var _ = h.options["=".concat(c)];
3345
3315
  if (!_) {
3346
3316
  if (!Intl.PluralRules)
3347
- throw new Ce(`Intl.PluralRules is not available in this environment.
3317
+ throw new Be(`Intl.PluralRules is not available in this environment.
3348
3318
  Try polyfilling it using "@formatjs/intl-pluralrules"
3349
- `, ie.MISSING_INTL_API, a);
3350
- var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3319
+ `, se.MISSING_INTL_API, a);
3320
+ var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3351
3321
  _ = h.options[B] || h.options.other;
3352
3322
  }
3353
3323
  if (!_)
3354
- throw new _t(h.value, f, Object.keys(h.options), a);
3355
- o.push.apply(o, Ee(_.value, t, r, n, i, f - (h.offset || 0)));
3324
+ throw new vt(h.value, c, Object.keys(h.options), a);
3325
+ o.push.apply(o, xe(_.value, t, r, n, i, c - (h.offset || 0)));
3356
3326
  continue;
3357
3327
  }
3358
3328
  }
3359
- return qn(o);
3329
+ return Qn(o);
3360
3330
  }
3361
- function Yn(e, t) {
3362
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3363
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3331
+ function Kn(e, t) {
3332
+ return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3333
+ return r[n] = j(j({}, e[n]), t[n] || {}), r;
3364
3334
  }, {})) : e;
3365
3335
  }
3366
- function Kn(e, t) {
3336
+ function ei(e, t) {
3367
3337
  return t ? Object.keys(e).reduce(function(r, n) {
3368
- return r[n] = Yn(e[n], t[n]), r;
3369
- }, S({}, e)) : e;
3338
+ return r[n] = Kn(e[n], t[n]), r;
3339
+ }, j({}, e)) : e;
3370
3340
  }
3371
- function Fe(e) {
3341
+ function $e(e) {
3372
3342
  return {
3373
3343
  create: function() {
3374
3344
  return {
@@ -3382,39 +3352,39 @@ function Fe(e) {
3382
3352
  }
3383
3353
  };
3384
3354
  }
3385
- function ei(e) {
3355
+ function ti(e) {
3386
3356
  return e === void 0 && (e = {
3387
3357
  number: {},
3388
3358
  dateTime: {},
3389
3359
  pluralRules: {}
3390
3360
  }), {
3391
- getNumberFormat: De(function() {
3361
+ getNumberFormat: Ue(function() {
3392
3362
  for (var t, r = [], n = 0; n < arguments.length; n++)
3393
3363
  r[n] = arguments[n];
3394
- return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3364
+ return new ((t = Intl.NumberFormat).bind.apply(t, ke([void 0], r, !1)))();
3395
3365
  }, {
3396
- cache: Fe(e.number),
3397
- strategy: ke.variadic
3366
+ cache: $e(e.number),
3367
+ strategy: Fe.variadic
3398
3368
  }),
3399
- getDateTimeFormat: De(function() {
3369
+ getDateTimeFormat: Ue(function() {
3400
3370
  for (var t, r = [], n = 0; n < arguments.length; n++)
3401
3371
  r[n] = arguments[n];
3402
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3372
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, ke([void 0], r, !1)))();
3403
3373
  }, {
3404
- cache: Fe(e.dateTime),
3405
- strategy: ke.variadic
3374
+ cache: $e(e.dateTime),
3375
+ strategy: Fe.variadic
3406
3376
  }),
3407
- getPluralRules: De(function() {
3377
+ getPluralRules: Ue(function() {
3408
3378
  for (var t, r = [], n = 0; n < arguments.length; n++)
3409
3379
  r[n] = arguments[n];
3410
- return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3380
+ return new ((t = Intl.PluralRules).bind.apply(t, ke([void 0], r, !1)))();
3411
3381
  }, {
3412
- cache: Fe(e.pluralRules),
3413
- strategy: ke.variadic
3382
+ cache: $e(e.pluralRules),
3383
+ strategy: Fe.variadic
3414
3384
  })
3415
3385
  };
3416
3386
  }
3417
- var ti = (
3387
+ var ri = (
3418
3388
  /** @class */
3419
3389
  function() {
3420
3390
  function e(t, r, n, i) {
@@ -3428,12 +3398,12 @@ var ti = (
3428
3398
  var u = s.formatToParts(l);
3429
3399
  if (u.length === 1)
3430
3400
  return u[0].value;
3431
- var h = u.reduce(function(c, f) {
3432
- return !c.length || f.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3401
+ var h = u.reduce(function(f, c) {
3402
+ return !f.length || c.type !== R.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3433
3403
  }, []);
3434
3404
  return h.length <= 1 ? h[0] || "" : h;
3435
3405
  }, this.formatToParts = function(l) {
3436
- return Ee(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3406
+ return xe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3437
3407
  }, this.resolvedOptions = function() {
3438
3408
  var l;
3439
3409
  return {
@@ -3446,13 +3416,13 @@ var ti = (
3446
3416
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3447
3417
  var a = i || {};
3448
3418
  a.formatters;
3449
- var o = Jr(a, ["formatters"]);
3450
- this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
3419
+ var o = cn(a, ["formatters"]);
3420
+ this.ast = e.__parse(t, j(j({}, o), { locale: this.resolvedLocale }));
3451
3421
  } else
3452
3422
  this.ast = t;
3453
3423
  if (!Array.isArray(this.ast))
3454
3424
  throw new TypeError("A message must be provided as a String or AST.");
3455
- this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3425
+ this.formats = ei(e.formats, n), this.formatters = i && i.formatters || ti(this.formatterCache);
3456
3426
  }
3457
3427
  return Object.defineProperty(e, "defaultLocale", {
3458
3428
  get: function() {
@@ -3465,7 +3435,7 @@ var ti = (
3465
3435
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3466
3436
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3467
3437
  }
3468
- }, e.__parse = Wn, e.formats = {
3438
+ }, e.__parse = Xn, e.formats = {
3469
3439
  number: {
3470
3440
  integer: {
3471
3441
  maximumFractionDigits: 0
@@ -3526,7 +3496,7 @@ var ti = (
3526
3496
  }, e;
3527
3497
  }()
3528
3498
  );
3529
- function ri(e, t) {
3499
+ function ni(e, t) {
3530
3500
  if (t == null)
3531
3501
  return;
3532
3502
  if (t in e)
@@ -3547,92 +3517,92 @@ function ri(e, t) {
3547
3517
  n = void 0;
3548
3518
  return n;
3549
3519
  }
3550
- const j = {}, ni = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), er = (e, t) => {
3520
+ const V = {}, ii = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), tr = (e, t) => {
3551
3521
  if (t == null)
3552
3522
  return;
3553
- if (t in j && e in j[t])
3554
- return j[t][e];
3555
- const r = we(t);
3523
+ if (t in V && e in V[t])
3524
+ return V[t][e];
3525
+ const r = Ie(t);
3556
3526
  for (let n = 0; n < r.length; n++) {
3557
- const i = r[n], s = si(i, e);
3527
+ const i = r[n], s = ai(i, e);
3558
3528
  if (s)
3559
- return ni(e, t, s);
3529
+ return ii(e, t, s);
3560
3530
  }
3561
3531
  };
3562
- let rt;
3563
- const oe = He({});
3564
- function ii(e) {
3565
- return rt[e] || null;
3532
+ let nt;
3533
+ const ue = Ce({});
3534
+ function si(e) {
3535
+ return nt[e] || null;
3566
3536
  }
3567
- function tr(e) {
3568
- return e in rt;
3537
+ function rr(e) {
3538
+ return e in nt;
3569
3539
  }
3570
- function si(e, t) {
3571
- if (!tr(e))
3540
+ function ai(e, t) {
3541
+ if (!rr(e))
3572
3542
  return null;
3573
- const r = ii(e);
3574
- return ri(r, t);
3543
+ const r = si(e);
3544
+ return ni(r, t);
3575
3545
  }
3576
- function ai(e) {
3546
+ function oi(e) {
3577
3547
  if (e == null)
3578
3548
  return;
3579
- const t = we(e);
3549
+ const t = Ie(e);
3580
3550
  for (let r = 0; r < t.length; r++) {
3581
3551
  const n = t[r];
3582
- if (tr(n))
3552
+ if (rr(n))
3583
3553
  return n;
3584
3554
  }
3585
3555
  }
3586
- function rr(e, ...t) {
3587
- delete j[e], oe.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3556
+ function nr(e, ...t) {
3557
+ delete V[e], ue.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3588
3558
  }
3589
- ae(
3590
- [oe],
3559
+ oe(
3560
+ [ue],
3591
3561
  ([e]) => Object.keys(e)
3592
3562
  );
3593
- oe.subscribe((e) => rt = e);
3594
- const ve = {};
3595
- function oi(e, t) {
3596
- ve[e].delete(t), ve[e].size === 0 && delete ve[e];
3563
+ ue.subscribe((e) => nt = e);
3564
+ const Se = {};
3565
+ function ui(e, t) {
3566
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3597
3567
  }
3598
- function nr(e) {
3599
- return ve[e];
3568
+ function ir(e) {
3569
+ return Se[e];
3600
3570
  }
3601
- function ui(e) {
3602
- return we(e).map((t) => {
3603
- const r = nr(t);
3571
+ function li(e) {
3572
+ return Ie(e).map((t) => {
3573
+ const r = ir(t);
3604
3574
  return [t, r ? [...r] : []];
3605
3575
  }).filter(([, t]) => t.length > 0);
3606
3576
  }
3607
- function Ke(e) {
3608
- return e == null ? !1 : we(e).some(
3577
+ function tt(e) {
3578
+ return e == null ? !1 : Ie(e).some(
3609
3579
  (t) => {
3610
3580
  var r;
3611
- return (r = nr(t)) == null ? void 0 : r.size;
3581
+ return (r = ir(t)) == null ? void 0 : r.size;
3612
3582
  }
3613
3583
  );
3614
3584
  }
3615
- function li(e, t) {
3585
+ function hi(e, t) {
3616
3586
  return Promise.all(
3617
- t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
3618
- ).then((n) => rr(e, ...n));
3619
- }
3620
- const he = {};
3621
- function ir(e) {
3622
- if (!Ke(e))
3623
- return e in he ? he[e] : Promise.resolve();
3624
- const t = ui(e);
3625
- return he[e] = Promise.all(
3587
+ t.map((n) => (ui(e, n), n().then((i) => i.default || i)))
3588
+ ).then((n) => nr(e, ...n));
3589
+ }
3590
+ const ce = {};
3591
+ function sr(e) {
3592
+ if (!tt(e))
3593
+ return e in ce ? ce[e] : Promise.resolve();
3594
+ const t = li(e);
3595
+ return ce[e] = Promise.all(
3626
3596
  t.map(
3627
- ([r, n]) => li(r, n)
3597
+ ([r, n]) => hi(r, n)
3628
3598
  )
3629
3599
  ).then(() => {
3630
- if (Ke(e))
3631
- return ir(e);
3632
- delete he[e];
3633
- }), he[e];
3600
+ if (tt(e))
3601
+ return sr(e);
3602
+ delete ce[e];
3603
+ }), ce[e];
3634
3604
  }
3635
- const hi = {
3605
+ const ci = {
3636
3606
  number: {
3637
3607
  scientific: { notation: "scientific" },
3638
3608
  engineering: { notation: "engineering" },
@@ -3664,175 +3634,175 @@ const hi = {
3664
3634
  }, fi = {
3665
3635
  fallbackLocale: null,
3666
3636
  loadingDelay: 200,
3667
- formats: hi,
3637
+ formats: ci,
3668
3638
  warnOnMissingMessages: !0,
3669
3639
  handleMissingMessage: void 0,
3670
3640
  ignoreTag: !0
3671
- }, ci = fi;
3672
- function se() {
3673
- return ci;
3674
- }
3675
- const Ge = He(!1);
3676
- var mi = Object.defineProperty, di = Object.defineProperties, bi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
3677
- for (var r in t)
3678
- gi.call(t, r) && Et(e, r, t[r]);
3679
- if (xt)
3680
- for (var r of xt(t))
3681
- pi.call(t, r) && Et(e, r, t[r]);
3641
+ }, mi = fi;
3642
+ function ae() {
3643
+ return mi;
3644
+ }
3645
+ const je = Ce(!1);
3646
+ var di = Object.defineProperty, bi = Object.defineProperties, gi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
3647
+ for (var r in t || (t = {}))
3648
+ pi.call(t, r) && xt(e, r, t[r]);
3649
+ if (Et)
3650
+ for (var r of Et(t))
3651
+ yi.call(t, r) && xt(e, r, t[r]);
3682
3652
  return e;
3683
- }, _i = (e, t) => di(e, bi(t));
3684
- let et;
3685
- const Se = He(null);
3686
- function vt(e) {
3653
+ }, vi = (e, t) => bi(e, gi(t));
3654
+ let rt;
3655
+ const Ae = Ce(null);
3656
+ function St(e) {
3687
3657
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3688
3658
  }
3689
- function we(e, t = se().fallbackLocale) {
3690
- const r = vt(e);
3691
- return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
3659
+ function Ie(e, t = ae().fallbackLocale) {
3660
+ const r = St(e);
3661
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3692
3662
  }
3693
- function W() {
3694
- return et != null ? et : void 0;
3663
+ function X() {
3664
+ return rt != null ? rt : void 0;
3695
3665
  }
3696
- Se.subscribe((e) => {
3697
- et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3666
+ Ae.subscribe((e) => {
3667
+ rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3698
3668
  });
3699
- const xi = (e) => {
3700
- if (e && ai(e) && Ke(e)) {
3701
- const { loadingDelay: t } = se();
3669
+ const Ei = (e) => {
3670
+ if (e && oi(e) && tt(e)) {
3671
+ const { loadingDelay: t } = ae();
3702
3672
  let r;
3703
- return typeof window != "undefined" && W() != null && t ? r = window.setTimeout(
3704
- () => Ge.set(!0),
3673
+ return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3674
+ () => je.set(!0),
3705
3675
  t
3706
- ) : Ge.set(!0), ir(e).then(() => {
3707
- Se.set(e);
3676
+ ) : je.set(!0), sr(e).then(() => {
3677
+ Ae.set(e);
3708
3678
  }).finally(() => {
3709
- clearTimeout(r), Ge.set(!1);
3679
+ clearTimeout(r), je.set(!1);
3710
3680
  });
3711
3681
  }
3712
- return Se.set(e);
3713
- }, V = _i(yi({}, Se), {
3714
- set: xi
3715
- }), Be = (e) => {
3682
+ return Ae.set(e);
3683
+ }, z = vi(_i({}, Ae), {
3684
+ set: Ei
3685
+ }), Oe = (e) => {
3716
3686
  const t = /* @__PURE__ */ Object.create(null);
3717
3687
  return (n) => {
3718
3688
  const i = JSON.stringify(n);
3719
3689
  return i in t ? t[i] : t[i] = e(n);
3720
3690
  };
3721
3691
  };
3722
- var Ei = Object.defineProperty, Te = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
3692
+ var xi = Object.defineProperty, He = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3723
3693
  for (var r in t || (t = {}))
3724
- sr.call(t, r) && St(e, r, t[r]);
3725
- if (Te)
3726
- for (var r of Te(t))
3727
- ar.call(t, r) && St(e, r, t[r]);
3694
+ ar.call(t, r) && Tt(e, r, t[r]);
3695
+ if (He)
3696
+ for (var r of He(t))
3697
+ or.call(t, r) && Tt(e, r, t[r]);
3728
3698
  return e;
3729
- }, ue = (e, t) => {
3699
+ }, le = (e, t) => {
3730
3700
  var r = {};
3731
3701
  for (var n in e)
3732
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3733
- if (e != null && Te)
3734
- for (var n of Te(e))
3735
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
3702
+ ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3703
+ if (e != null && He)
3704
+ for (var n of He(e))
3705
+ t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
3736
3706
  return r;
3737
3707
  };
3738
- const de = (e, t) => {
3739
- const { formats: r } = se();
3708
+ const be = (e, t) => {
3709
+ const { formats: r } = ae();
3740
3710
  if (e in r && t in r[e])
3741
3711
  return r[e][t];
3742
3712
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3743
- }, vi = Be(
3713
+ }, Si = Oe(
3744
3714
  (e) => {
3745
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3715
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3746
3716
  if (r == null)
3747
3717
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3748
- return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
3718
+ return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
3749
3719
  }
3750
- ), Si = Be(
3720
+ ), Ti = Oe(
3751
3721
  (e) => {
3752
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3722
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3753
3723
  if (r == null)
3754
3724
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3755
- return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
3725
+ return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
3756
3726
  }
3757
- ), Ti = Be(
3727
+ ), Ai = Oe(
3758
3728
  (e) => {
3759
- var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
3729
+ var t = e, { locale: r, format: n } = t, i = le(t, ["locale", "format"]);
3760
3730
  if (r == null)
3761
3731
  throw new Error(
3762
3732
  '[svelte-i18n] A "locale" must be set to format time values'
3763
3733
  );
3764
- return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
3734
+ return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
3765
3735
  }
3766
- ), Ai = (e = {}) => {
3736
+ ), Hi = (e = {}) => {
3767
3737
  var t = e, {
3768
- locale: r = W()
3769
- } = t, n = ue(t, [
3738
+ locale: r = X()
3739
+ } = t, n = le(t, [
3770
3740
  "locale"
3771
3741
  ]);
3772
- return vi(nt({ locale: r }, n));
3773
- }, Hi = (e = {}) => {
3742
+ return Si(it({ locale: r }, n));
3743
+ }, Ci = (e = {}) => {
3774
3744
  var t = e, {
3775
- locale: r = W()
3776
- } = t, n = ue(t, [
3745
+ locale: r = X()
3746
+ } = t, n = le(t, [
3777
3747
  "locale"
3778
3748
  ]);
3779
- return Si(nt({ locale: r }, n));
3780
- }, Ci = (e = {}) => {
3749
+ return Ti(it({ locale: r }, n));
3750
+ }, wi = (e = {}) => {
3781
3751
  var t = e, {
3782
- locale: r = W()
3783
- } = t, n = ue(t, [
3752
+ locale: r = X()
3753
+ } = t, n = le(t, [
3784
3754
  "locale"
3785
3755
  ]);
3786
- return Ti(nt({ locale: r }, n));
3787
- }, wi = Be(
3756
+ return Ai(it({ locale: r }, n));
3757
+ }, Bi = Oe(
3788
3758
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3789
- (e, t = W()) => new ti(e, t, se().formats, {
3790
- ignoreTag: se().ignoreTag
3759
+ (e, t = X()) => new ri(e, t, ae().formats, {
3760
+ ignoreTag: ae().ignoreTag
3791
3761
  })
3792
- ), Bi = (e, t = {}) => {
3762
+ ), Ii = (e, t = {}) => {
3793
3763
  var r, n, i, s;
3794
3764
  let a = t;
3795
3765
  typeof e == "object" && (a = e, e = a.id);
3796
3766
  const {
3797
3767
  values: o,
3798
- locale: l = W(),
3768
+ locale: l = X(),
3799
3769
  default: u
3800
3770
  } = a;
3801
3771
  if (l == null)
3802
3772
  throw new Error(
3803
3773
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3804
3774
  );
3805
- let h = er(e, l);
3775
+ let h = tr(e, l);
3806
3776
  if (!h)
3807
- h = (s = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3777
+ h = (s = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3808
3778
  else if (typeof h != "string")
3809
3779
  return console.warn(
3810
3780
  `[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.`
3811
3781
  ), h;
3812
3782
  if (!o)
3813
3783
  return h;
3814
- let c = h;
3784
+ let f = h;
3815
3785
  try {
3816
- c = wi(h, l).format(o);
3817
- } catch (f) {
3818
- f instanceof Error && console.warn(
3786
+ f = Bi(h, l).format(o);
3787
+ } catch (c) {
3788
+ c instanceof Error && console.warn(
3819
3789
  `[svelte-i18n] Message "${e}" has syntax error:`,
3820
- f.message
3790
+ c.message
3821
3791
  );
3822
3792
  }
3823
- return c;
3824
- }, Ii = (e, t) => Ci(t).format(e), Ni = (e, t) => Hi(t).format(e), Mi = (e, t) => Ai(t).format(e), Oi = (e, t = W()) => er(e, t), Pi = ae([V, oe], () => Bi);
3825
- ae([V], () => Ii);
3826
- ae([V], () => Ni);
3827
- ae([V], () => Mi);
3828
- ae([V, oe], () => Oi);
3829
- function Li(e, t) {
3793
+ return f;
3794
+ }, Oi = (e, t) => wi(t).format(e), Ni = (e, t) => Ci(t).format(e), Pi = (e, t) => Hi(t).format(e), Mi = (e, t = X()) => tr(e, t), Li = oe([z, ue], () => Ii);
3795
+ oe([z], () => Oi);
3796
+ oe([z], () => Ni);
3797
+ oe([z], () => Pi);
3798
+ oe([z, ue], () => Mi);
3799
+ function Ri(e, t) {
3830
3800
  if (e) {
3831
3801
  const r = document.createElement("style");
3832
3802
  r.innerHTML = t, e.appendChild(r);
3833
3803
  }
3834
3804
  }
3835
- function Ri(e, t) {
3805
+ function Di(e, t) {
3836
3806
  const r = new URL(t);
3837
3807
  fetch(r.href).then((n) => n.text()).then((n) => {
3838
3808
  const i = document.createElement("style");
@@ -3841,7 +3811,7 @@ function Ri(e, t) {
3841
3811
  console.error("There was an error while trying to load client styling from URL", n);
3842
3812
  });
3843
3813
  }
3844
- function Di(e, t, r) {
3814
+ function ki(e, t, r) {
3845
3815
  if (window.emMessageBus) {
3846
3816
  const n = document.createElement("style");
3847
3817
  window.emMessageBus.subscribe(t, (i) => {
@@ -3849,18 +3819,18 @@ function Di(e, t, r) {
3849
3819
  });
3850
3820
  }
3851
3821
  }
3852
- function ki({ withLocale: e, translations: t }) {
3853
- V.subscribe((r) => {
3854
- r == null && (oe.set(t), V.set(e));
3822
+ function Ui({ withLocale: e, translations: t }) {
3823
+ z.subscribe((r) => {
3824
+ r == null && (ue.set(t), z.set(e));
3855
3825
  });
3856
3826
  }
3857
- function Tt(e, t) {
3858
- rr(e, t);
3827
+ function At(e, t) {
3828
+ nr(e, t);
3859
3829
  }
3860
- function Ui(e) {
3861
- V.set(e);
3830
+ function Fi(e) {
3831
+ z.set(e);
3862
3832
  }
3863
- const At = {
3833
+ const Ht = {
3864
3834
  en: {
3865
3835
  enrolled: "Enrolled",
3866
3836
  scoreCriteria: "Score Criteria",
@@ -4192,53 +4162,53 @@ const At = {
4192
4162
  December: "December"
4193
4163
  }
4194
4164
  };
4195
- function Fi(e) {
4196
- Tr(e, "svelte-52u9sp", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{cursor:pointer;position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{cursor:pointer;font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4165
+ function Gi(e) {
4166
+ Ar(e, "svelte-52u9sp", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{cursor:pointer;position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emw--color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{cursor:pointer;font-size:18px;padding-bottom:10px;background-color:transparent}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4197
4167
  }
4198
- function Ht(e) {
4168
+ function Ct(e) {
4199
4169
  let t, r, n;
4200
4170
  return {
4201
4171
  c() {
4202
4172
  t = w("div"), t.innerHTML = '<ui-skeleton structure="rectangle" width="100%" height="300px"></ui-skeleton>', r = $(), n = w("div"), n.innerHTML = '<ui-skeleton structure="title" width="228px" class="Title" height="30px"></ui-skeleton> <ui-skeleton structure="text" width="120px" class="Date"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="20px" class="ScoreCriteria"></ui-skeleton> <ui-skeleton structure="text" width="128px" height="20px" class="Games"></ui-skeleton>', b(t, "class", "Skeleton CardImg"), b(n, "class", "Details"), b(n, "part", "Details");
4203
4173
  },
4204
4174
  m(i, s) {
4205
- O(i, t, s), O(i, r, s), O(i, n, s);
4175
+ P(i, t, s), P(i, r, s), P(i, n, s);
4206
4176
  },
4207
4177
  d(i) {
4208
4178
  i && (I(t), I(r), I(n));
4209
4179
  }
4210
4180
  };
4211
4181
  }
4212
- function Ct(e) {
4213
- let t, r, n, i, s, a, o, l, u, h, c = (
4182
+ function wt(e) {
4183
+ let t, r, n, i, s, a, o, l, u, h, f = (
4214
4184
  /*status*/
4215
- e[0] && wt(e)
4216
- ), f = (
4185
+ e[0] && Bt(e)
4186
+ ), c = (
4217
4187
  /*showenrolled*/
4218
- e[6] == "true" && Bt(e)
4188
+ e[6] == "true" && It(e)
4219
4189
  );
4220
- function v(d, _) {
4190
+ function x(d, _) {
4221
4191
  return (
4222
4192
  /*thumbnail*/
4223
- d[3] ? $i : Gi
4193
+ d[3] ? ji : $i
4224
4194
  );
4225
4195
  }
4226
- let E = v(e), g = E(e), y = (
4196
+ let E = x(e), g = E(e), y = (
4227
4197
  /*startdate*/
4228
4198
  e[2] && Nt(e)
4229
- ), T = (
4199
+ ), S = (
4230
4200
  /*isLoggedIn*/
4231
- e[11] && Mt(e)
4201
+ e[11] && Pt(e)
4232
4202
  );
4233
4203
  return {
4234
4204
  c() {
4235
- c && c.c(), t = $(), f && f.c(), r = $(), g.c(), n = $(), i = w("div"), s = w("div"), a = D(
4205
+ f && f.c(), t = $(), c && c.c(), r = $(), g.c(), n = $(), i = w("div"), s = w("div"), a = D(
4236
4206
  /*title*/
4237
4207
  e[1]
4238
- ), o = $(), y && y.c(), l = $(), T && T.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4208
+ ), o = $(), y && y.c(), l = $(), S && S.c(), b(s, "class", "Title"), b(s, "part", "Title"), b(i, "class", "Details"), b(i, "part", "Details");
4239
4209
  },
4240
4210
  m(d, _) {
4241
- c && c.m(d, _), O(d, t, _), f && f.m(d, _), O(d, r, _), g.m(d, _), O(d, n, _), O(d, i, _), A(i, s), A(s, a), A(i, o), y && y.m(i, null), A(i, l), T && T.m(i, null), u || (h = te(
4211
+ f && f.m(d, _), P(d, t, _), c && c.m(d, _), P(d, r, _), g.m(d, _), P(d, n, _), P(d, i, _), T(i, s), T(s, a), T(i, o), y && y.m(i, null), T(i, l), S && S.m(i, null), u || (h = re(
4242
4212
  s,
4243
4213
  "click",
4244
4214
  /*detailsAction*/
@@ -4247,22 +4217,22 @@ function Ct(e) {
4247
4217
  },
4248
4218
  p(d, _) {
4249
4219
  /*status*/
4250
- d[0] ? c ? c.p(d, _) : (c = wt(d), c.c(), c.m(t.parentNode, t)) : c && (c.d(1), c = null), /*showenrolled*/
4251
- d[6] == "true" ? f ? f.p(d, _) : (f = Bt(d), f.c(), f.m(r.parentNode, r)) : f && (f.d(1), f = null), E === (E = v(d)) && g ? g.p(d, _) : (g.d(1), g = E(d), g && (g.c(), g.m(n.parentNode, n))), _[0] & /*title*/
4220
+ d[0] ? f ? f.p(d, _) : (f = Bt(d), f.c(), f.m(t.parentNode, t)) : f && (f.d(1), f = null), /*showenrolled*/
4221
+ d[6] == "true" ? c ? c.p(d, _) : (c = It(d), c.c(), c.m(r.parentNode, r)) : c && (c.d(1), c = null), E === (E = x(d)) && g ? g.p(d, _) : (g.d(1), g = E(d), g && (g.c(), g.m(n.parentNode, n))), _[0] & /*title*/
4252
4222
  2 && G(
4253
4223
  a,
4254
4224
  /*title*/
4255
4225
  d[1]
4256
4226
  ), /*startdate*/
4257
4227
  d[2] ? y ? y.p(d, _) : (y = Nt(d), y.c(), y.m(i, l)) : y && (y.d(1), y = null), /*isLoggedIn*/
4258
- d[11] ? T ? T.p(d, _) : (T = Mt(d), T.c(), T.m(i, null)) : T && (T.d(1), T = null);
4228
+ d[11] ? S ? S.p(d, _) : (S = Pt(d), S.c(), S.m(i, null)) : S && (S.d(1), S = null);
4259
4229
  },
4260
4230
  d(d) {
4261
- d && (I(t), I(r), I(n), I(i)), c && c.d(d), f && f.d(d), g.d(d), y && y.d(), T && T.d(), u = !1, h();
4231
+ d && (I(t), I(r), I(n), I(i)), f && f.d(d), c && c.d(d), g.d(d), y && y.d(), S && S.d(), u = !1, h();
4262
4232
  }
4263
4233
  };
4264
4234
  }
4265
- function wt(e) {
4235
+ function Bt(e) {
4266
4236
  let t, r, n, i, s, a;
4267
4237
  return {
4268
4238
  c() {
@@ -4274,7 +4244,7 @@ function wt(e) {
4274
4244
  e[14]);
4275
4245
  },
4276
4246
  m(o, l) {
4277
- O(o, t, l), A(t, r), s || (a = ge(
4247
+ P(o, t, l), T(t, r), s || (a = pe(
4278
4248
  /*matchStatus*/
4279
4249
  e[17].call(null, t)
4280
4250
  ), s = !0);
@@ -4296,28 +4266,28 @@ function wt(e) {
4296
4266
  }
4297
4267
  };
4298
4268
  }
4299
- function Bt(e) {
4269
+ function It(e) {
4300
4270
  let t, r = (
4301
4271
  /*userenrolled*/
4302
- e[4] && It(e)
4272
+ e[4] && Ot(e)
4303
4273
  );
4304
4274
  return {
4305
4275
  c() {
4306
- r && r.c(), t = Cr();
4276
+ r && r.c(), t = wr();
4307
4277
  },
4308
4278
  m(n, i) {
4309
- r && r.m(n, i), O(n, t, i);
4279
+ r && r.m(n, i), P(n, t, i);
4310
4280
  },
4311
4281
  p(n, i) {
4312
4282
  /*userenrolled*/
4313
- n[4] ? r ? r.p(n, i) : (r = It(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4283
+ n[4] ? r ? r.p(n, i) : (r = Ot(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4314
4284
  },
4315
4285
  d(n) {
4316
4286
  n && I(t), r && r.d(n);
4317
4287
  }
4318
4288
  };
4319
4289
  }
4320
- function It(e) {
4290
+ function Ot(e) {
4321
4291
  let t, r = (
4322
4292
  /*$_*/
4323
4293
  e[15]("enrolled") + ""
@@ -4327,7 +4297,7 @@ function It(e) {
4327
4297
  t = w("div"), n = D(r), b(t, "class", "Enrolled"), b(t, "part", "Enrolled");
4328
4298
  },
4329
4299
  m(i, s) {
4330
- O(i, t, s), A(t, n);
4300
+ P(i, t, s), T(t, n);
4331
4301
  },
4332
4302
  p(i, s) {
4333
4303
  s[0] & /*$_*/
@@ -4339,23 +4309,23 @@ function It(e) {
4339
4309
  }
4340
4310
  };
4341
4311
  }
4342
- function Gi(e) {
4312
+ function $i(e) {
4343
4313
  let t, r, n, i, s, a, o;
4344
4314
  return {
4345
4315
  c() {
4346
- t = w("div"), r = w("ui-image"), $e(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || K(r, "src", n), K(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4316
+ t = w("div"), r = w("ui-image"), Ve(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || ee(r, "src", n), ee(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4347
4317
  (e[0] == "Closing" || /*status*/
4348
4318
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4349
4319
  (e[0] == "Closing" || /*status*/
4350
4320
  e[0] == "Closed" ? "CardImgFinished" : ""));
4351
4321
  },
4352
4322
  m(l, u) {
4353
- O(l, t, u), A(t, r), a || (o = [
4354
- ge(
4323
+ P(l, t, u), T(t, r), a || (o = [
4324
+ pe(
4355
4325
  /*matchStatus*/
4356
4326
  e[17].call(null, t)
4357
4327
  ),
4358
- te(
4328
+ re(
4359
4329
  t,
4360
4330
  "click",
4361
4331
  /*detailsAction*/
@@ -4373,28 +4343,28 @@ function Gi(e) {
4373
4343
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4374
4344
  },
4375
4345
  d(l) {
4376
- l && I(t), a = !1, z(o);
4346
+ l && I(t), a = !1, J(o);
4377
4347
  }
4378
4348
  };
4379
4349
  }
4380
- function $i(e) {
4350
+ function ji(e) {
4381
4351
  let t, r, n, i, s, a, o;
4382
4352
  return {
4383
4353
  c() {
4384
- t = w("div"), r = w("ui-image"), K(r, "class", "UIImage"), $e(r.src, n = /*thumbnail*/
4385
- e[3]) || K(r, "src", n), K(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4354
+ t = w("div"), r = w("ui-image"), ee(r, "class", "UIImage"), Ve(r.src, n = /*thumbnail*/
4355
+ e[3]) || ee(r, "src", n), ee(r, "alt", "icon"), b(t, "class", i = "CardImg " + /*status*/
4386
4356
  (e[0] == "Closing" || /*status*/
4387
4357
  e[0] == "Closed" ? "CardImgFinished" : "")), b(t, "part", s = "CardImg " + /*status*/
4388
4358
  (e[0] == "Closing" || /*status*/
4389
4359
  e[0] == "Closed" ? "CardImgFinished" : ""));
4390
4360
  },
4391
4361
  m(l, u) {
4392
- O(l, t, u), A(t, r), a || (o = [
4393
- ge(
4362
+ P(l, t, u), T(t, r), a || (o = [
4363
+ pe(
4394
4364
  /*matchStatus*/
4395
4365
  e[17].call(null, t)
4396
4366
  ),
4397
- te(
4367
+ re(
4398
4368
  t,
4399
4369
  "click",
4400
4370
  /*detailsAction*/
@@ -4404,8 +4374,8 @@ function $i(e) {
4404
4374
  },
4405
4375
  p(l, u) {
4406
4376
  u[0] & /*thumbnail*/
4407
- 8 && !$e(r.src, n = /*thumbnail*/
4408
- l[3]) && K(r, "src", n), u[0] & /*status*/
4377
+ 8 && !Ve(r.src, n = /*thumbnail*/
4378
+ l[3]) && ee(r, "src", n), u[0] & /*status*/
4409
4379
  1 && i !== (i = "CardImg " + /*status*/
4410
4380
  (l[0] == "Closing" || /*status*/
4411
4381
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "class", i), u[0] & /*status*/
@@ -4414,7 +4384,7 @@ function $i(e) {
4414
4384
  l[0] == "Closed" ? "CardImgFinished" : "")) && b(t, "part", s);
4415
4385
  },
4416
4386
  d(l) {
4417
- l && I(t), a = !1, z(o);
4387
+ l && I(t), a = !1, J(o);
4418
4388
  }
4419
4389
  };
4420
4390
  }
@@ -4428,7 +4398,7 @@ function Nt(e) {
4428
4398
  ), b(t, "class", "Date"), b(t, "part", "Date");
4429
4399
  },
4430
4400
  m(a, o) {
4431
- O(a, t, o), A(t, r), i || (s = ge(n = /*formatDate*/
4401
+ P(a, t, o), T(t, r), i || (s = pe(n = /*formatDate*/
4432
4402
  e[16].call(
4433
4403
  null,
4434
4404
  t,
@@ -4442,7 +4412,7 @@ function Nt(e) {
4442
4412
  r,
4443
4413
  /*shownDate*/
4444
4414
  a[10]
4445
- ), n && be(n.update) && o[0] & /*startdate*/
4415
+ ), n && ge(n.update) && o[0] & /*startdate*/
4446
4416
  4 && n.update.call(
4447
4417
  null,
4448
4418
  /*startdate*/
@@ -4454,20 +4424,20 @@ function Nt(e) {
4454
4424
  }
4455
4425
  };
4456
4426
  }
4457
- function Mt(e) {
4427
+ function Pt(e) {
4458
4428
  let t, r, n = (
4459
4429
  /*$_*/
4460
4430
  e[15]("scoreCriteria") + ""
4461
4431
  ), i, s, a, o, l, u = (
4462
4432
  /*$_*/
4463
4433
  e[15]("minbet") + ""
4464
- ), h, c, f, v, E, g, y, T = (
4434
+ ), h, f, c, x, E, g, y, S = (
4465
4435
  /*$_*/
4466
4436
  e[15]("seegames") + ""
4467
- ), d, _, B, P = (
4437
+ ), d, _, B, M = (
4468
4438
  /*$_*/
4469
4439
  e[15]("here") + ""
4470
- ), k, L, X, J;
4440
+ ), k, L, Z, W;
4471
4441
  return {
4472
4442
  c() {
4473
4443
  t = w("div"), r = w("p"), i = D(n), s = D(`:
@@ -4476,10 +4446,10 @@ function Mt(e) {
4476
4446
  /*showScoreCriteria*/
4477
4447
  e[13]
4478
4448
  ), l = D(`
4479
- (`), h = D(u), c = $(), f = D(
4449
+ (`), h = D(u), f = $(), c = D(
4480
4450
  /*minbetcount*/
4481
4451
  e[5]
4482
- ), v = D(")"), E = $(), g = w("div"), y = w("p"), d = D(T), _ = $(), B = w("a"), k = D(P), b(a, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4452
+ ), x = D(")"), E = $(), g = w("div"), y = w("p"), d = D(S), _ = $(), B = w("a"), k = D(M), b(a, "part", "ScoreCriteriaSpan"), b(r, "part", "ScoreCriteriaP"), b(t, "class", "ScoreCriteria"), b(t, "part", "ScoreCriteria"), b(B, "part", "GamesAnchor"), b(
4483
4453
  B,
4484
4454
  "href",
4485
4455
  /*gameurl*/
@@ -4487,61 +4457,61 @@ function Mt(e) {
4487
4457
  ), b(B, "target", L = /*keepbrowsercontext*/
4488
4458
  e[8] === "true" ? "_self" : "_blank"), b(y, "part", "GamesP"), b(g, "class", "Games"), b(g, "part", "Games");
4489
4459
  },
4490
- m(N, M) {
4491
- O(N, t, M), A(t, r), A(r, i), A(r, s), A(r, a), A(a, o), A(r, l), A(r, h), A(r, c), A(r, f), A(r, v), O(N, E, M), O(N, g, M), A(g, y), A(y, d), A(y, _), A(y, B), A(B, k), X || (J = [
4492
- ge(
4460
+ m(O, N) {
4461
+ P(O, t, N), T(t, r), T(r, i), T(r, s), T(r, a), T(a, o), T(r, l), T(r, h), T(r, f), T(r, c), T(r, x), P(O, E, N), P(O, g, N), T(g, y), T(y, d), T(y, _), T(y, B), T(B, k), Z || (W = [
4462
+ pe(
4493
4463
  /*matchScoreCriteria*/
4494
4464
  e[18].call(null, a)
4495
4465
  ),
4496
- te(
4466
+ re(
4497
4467
  B,
4498
4468
  "click",
4499
4469
  /*tournamentGamesClicked*/
4500
4470
  e[19]
4501
4471
  )
4502
- ], X = !0);
4472
+ ], Z = !0);
4503
4473
  },
4504
- p(N, M) {
4505
- M[0] & /*$_*/
4474
+ p(O, N) {
4475
+ N[0] & /*$_*/
4506
4476
  32768 && n !== (n = /*$_*/
4507
- N[15]("scoreCriteria") + "") && G(i, n), M[0] & /*showScoreCriteria*/
4477
+ O[15]("scoreCriteria") + "") && G(i, n), N[0] & /*showScoreCriteria*/
4508
4478
  8192 && G(
4509
4479
  o,
4510
4480
  /*showScoreCriteria*/
4511
- N[13]
4512
- ), M[0] & /*$_*/
4481
+ O[13]
4482
+ ), N[0] & /*$_*/
4513
4483
  32768 && u !== (u = /*$_*/
4514
- N[15]("minbet") + "") && G(h, u), M[0] & /*minbetcount*/
4484
+ O[15]("minbet") + "") && G(h, u), N[0] & /*minbetcount*/
4515
4485
  32 && G(
4516
- f,
4486
+ c,
4517
4487
  /*minbetcount*/
4518
- N[5]
4519
- ), M[0] & /*$_*/
4520
- 32768 && T !== (T = /*$_*/
4521
- N[15]("seegames") + "") && G(d, T), M[0] & /*$_*/
4522
- 32768 && P !== (P = /*$_*/
4523
- N[15]("here") + "") && G(k, P), M[0] & /*gameurl*/
4488
+ O[5]
4489
+ ), N[0] & /*$_*/
4490
+ 32768 && S !== (S = /*$_*/
4491
+ O[15]("seegames") + "") && G(d, S), N[0] & /*$_*/
4492
+ 32768 && M !== (M = /*$_*/
4493
+ O[15]("here") + "") && G(k, M), N[0] & /*gameurl*/
4524
4494
  128 && b(
4525
4495
  B,
4526
4496
  "href",
4527
4497
  /*gameurl*/
4528
- N[7]
4529
- ), M[0] & /*keepbrowsercontext*/
4498
+ O[7]
4499
+ ), N[0] & /*keepbrowsercontext*/
4530
4500
  256 && L !== (L = /*keepbrowsercontext*/
4531
- N[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4501
+ O[8] === "true" ? "_self" : "_blank") && b(B, "target", L);
4532
4502
  },
4533
- d(N) {
4534
- N && (I(t), I(E), I(g)), X = !1, z(J);
4503
+ d(O) {
4504
+ O && (I(t), I(E), I(g)), Z = !1, J(W);
4535
4505
  }
4536
4506
  };
4537
4507
  }
4538
- function ji(e) {
4508
+ function Vi(e) {
4539
4509
  let t, r, n, i = (
4540
4510
  /*title*/
4541
- e[1] === "undefined" && Ht()
4511
+ e[1] === "undefined" && Ct()
4542
4512
  ), s = (
4543
4513
  /*title*/
4544
- e[1] !== "undefined" && Ct(e)
4514
+ e[1] !== "undefined" && wt(e)
4545
4515
  );
4546
4516
  return {
4547
4517
  c() {
@@ -4549,12 +4519,12 @@ function ji(e) {
4549
4519
  e[1] === "undefined" ? "Loading" : ""}`), b(t, "part", "Thumbnail");
4550
4520
  },
4551
4521
  m(a, o) {
4552
- O(a, t, o), i && i.m(t, null), A(t, r), s && s.m(t, null), e[31](t);
4522
+ P(a, t, o), i && i.m(t, null), T(t, r), s && s.m(t, null), e[31](t);
4553
4523
  },
4554
4524
  p(a, o) {
4555
4525
  /*title*/
4556
- a[1] === "undefined" ? i || (i = Ht(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4557
- a[1] !== "undefined" ? s ? s.p(a, o) : (s = Ct(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4526
+ a[1] === "undefined" ? i || (i = Ct(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4527
+ a[1] !== "undefined" ? s ? s.p(a, o) : (s = wt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4558
4528
  2 && n !== (n = `Thumbnail ${/*title*/
4559
4529
  a[1] === "undefined" ? "Loading" : ""}`) && b(t, "class", n);
4560
4530
  },
@@ -4565,41 +4535,41 @@ function ji(e) {
4565
4535
  }
4566
4536
  };
4567
4537
  }
4568
- function Vi(e, t, r) {
4538
+ function zi(e, t, r) {
4569
4539
  let n;
4570
- Sr(e, Pi, (m) => r(15, n = m));
4571
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: c = "" } = t, { scorecriteria: f = "" } = t, { minbetcount: v = "" } = t, { showenrolled: E = "false" } = t, { detailsevent: g = "" } = t, { gameurl: y = "" } = t, { lang: T = "en" } = t, { keepbrowsercontext: d = "false" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: P = "" } = t, { mbsource: k } = t, L, X = "", J = !1, N = "", M = "", le = "";
4572
- ki({ withLocale: "en", translations: {} });
4573
- const ur = () => {
4574
- fetch(P).then((m) => m.json()).then((m) => {
4575
- Object.keys(m).forEach((Z) => {
4576
- Tt(Z, m[Z]);
4577
- }), o && Oe();
4540
+ Tr(e, Li, (m) => r(15, n = m));
4541
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: x = "" } = t, { showenrolled: E = "false" } = t, { detailsevent: g = "" } = t, { gameurl: y = "" } = t, { lang: S = "en" } = t, { keepbrowsercontext: d = "false" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: M = "" } = t, { mbsource: k } = t, L, Z = "", W = !1, O = "", N = "", he = "";
4542
+ Ui({ withLocale: "en", translations: {} });
4543
+ const lr = () => {
4544
+ fetch(M).then((m) => m.json()).then((m) => {
4545
+ Object.keys(m).forEach((q) => {
4546
+ At(q, m[q]);
4547
+ }), o && Le();
4578
4548
  }).catch((m) => {
4579
4549
  console.log(m);
4580
4550
  });
4581
4551
  };
4582
- Object.keys(At).forEach((m) => {
4583
- Tt(m, At[m]);
4552
+ Object.keys(Ht).forEach((m) => {
4553
+ At(m, Ht[m]);
4584
4554
  });
4585
- const it = (m) => {
4586
- m.data && (m.data && m.data.type == "SessionID" && r(11, J = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4587
- }, Ie = () => {
4555
+ const st = (m) => {
4556
+ m.data && (m.data && m.data.type == "SessionID" && r(11, W = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4557
+ }, Ne = () => {
4588
4558
  const m = { month: "long" };
4589
- let Z = new Date(o), mr = new Intl.DateTimeFormat("en", m).format(Z), dr = Z.getDate(), br = Z.toLocaleString("en-GB", {
4559
+ let q = new Date(o), dr = new Intl.DateTimeFormat("en", m).format(q), br = q.getDate(), gr = q.toLocaleString("en-GB", {
4590
4560
  hour: "numeric",
4591
4561
  minute: "numeric",
4592
4562
  hour12: !1
4593
4563
  });
4594
- const gr = () => n(l === "Running" ? "startedAt" : "startingAt");
4595
- r(10, X = `${dr} ` + n(`${mr}`) + ", " + gr() + ` ${br}`);
4596
- }, Ne = () => {
4597
- l == "Unstarted" && (r(12, N = n("scheduled")), r(14, le = "StatusUnstarted")), l == "Running" && (r(12, N = n("ongoing")), r(14, le = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, N = n("finished")), l == "Closed" && r(14, le = "StatusClosed"), l == "Closing" && r(14, le = "StatusClosing");
4564
+ const pr = () => n(l === "Running" ? "startedAt" : "startingAt");
4565
+ r(10, Z = `${br} ` + n(`${dr}`) + ", " + pr() + ` ${gr}`);
4566
+ }, Pe = () => {
4567
+ l == "Unstarted" && (r(12, O = n("scheduled")), r(14, he = "StatusUnstarted")), l == "Running" && (r(12, O = n("ongoing")), r(14, he = "StatusRunning")), (l == "Closed" || l == "Closing") && r(12, O = n("finished")), l == "Closed" && r(14, he = "StatusClosed"), l == "Closing" && r(14, he = "StatusClosing");
4598
4568
  }, Me = () => {
4599
- f == "BetCount" && r(13, M = n("betCount")), f == "MaxWinStakeRatio" && r(13, M = n("maxWinStakeRatio")), f == "WinStakeRatio" && r(13, M = n("winStakeRatio")), f == "Stake" && r(13, M = n("stake"));
4600
- }, lr = () => {
4601
- window.postMessage({ type: "tournamentGamesClicked", tourid: u }, window.location.href);
4569
+ c == "BetCount" && r(13, N = n("betCount")), c == "MaxWinStakeRatio" && r(13, N = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(13, N = n("winStakeRatio")), c == "Stake" && r(13, N = n("stake"));
4602
4570
  }, hr = () => {
4571
+ window.postMessage({ type: "tournamentGamesClicked", tourid: u }, window.location.href);
4572
+ }, cr = () => {
4603
4573
  g && window.postMessage(
4604
4574
  {
4605
4575
  type: g,
@@ -4609,75 +4579,75 @@ function Vi(e, t, r) {
4609
4579
  window.location.href
4610
4580
  );
4611
4581
  }, fr = () => {
4612
- i.length > 0 && i != "false" ? r(11, J = !0) : r(11, J = !1);
4582
+ i.length > 0 && i != "false" ? r(11, W = !0) : r(11, W = !1);
4613
4583
  };
4614
- Mr(() => (setTimeout(() => Oe(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", it, !1), () => {
4615
- window.removeEventListener("message", it);
4584
+ Pr(() => (setTimeout(() => Le(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", st, !1), () => {
4585
+ window.removeEventListener("message", st);
4616
4586
  }));
4617
- const Oe = () => {
4618
- Ui(T), Me(), Ne(), o && Ie();
4587
+ const Le = () => {
4588
+ Fi(S), Me(), Pe(), o && Ne();
4619
4589
  };
4620
- function cr(m) {
4621
- je[m ? "unshift" : "push"](() => {
4590
+ function mr(m) {
4591
+ ze[m ? "unshift" : "push"](() => {
4622
4592
  L = m, r(9, L);
4623
4593
  });
4624
4594
  }
4625
4595
  return e.$$set = (m) => {
4626
- "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(23, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, c = m.userenrolled), "scorecriteria" in m && r(24, f = m.scorecriteria), "minbetcount" in m && r(5, v = m.minbetcount), "showenrolled" in m && r(6, E = m.showenrolled), "detailsevent" in m && r(25, g = m.detailsevent), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(26, T = m.lang), "keepbrowsercontext" in m && r(8, d = m.keepbrowsercontext), "clientstyling" in m && r(27, _ = m.clientstyling), "clientstylingurl" in m && r(28, B = m.clientstylingurl), "translationurl" in m && r(29, P = m.translationurl), "mbsource" in m && r(30, k = m.mbsource);
4596
+ "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(23, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, f = m.userenrolled), "scorecriteria" in m && r(24, c = m.scorecriteria), "minbetcount" in m && r(5, x = m.minbetcount), "showenrolled" in m && r(6, E = m.showenrolled), "detailsevent" in m && r(25, g = m.detailsevent), "gameurl" in m && r(7, y = m.gameurl), "lang" in m && r(26, S = m.lang), "keepbrowsercontext" in m && r(8, d = m.keepbrowsercontext), "clientstyling" in m && r(27, _ = m.clientstyling), "clientstylingurl" in m && r(28, B = m.clientstylingurl), "translationurl" in m && r(29, M = m.translationurl), "mbsource" in m && r(30, k = m.mbsource);
4627
4597
  }, e.$$.update = () => {
4628
4598
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4629
- 134218240 && _ && L && Li(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4630
- 268435968 && B && L && Ri(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4631
- 1073742336 && k && L && Di(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4632
- 536870912 && P && ur(), e.$$.dirty[0] & /*session*/
4599
+ 134218240 && _ && L && Ri(L, _), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4600
+ 268435968 && B && L && Di(L, B), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4601
+ 1073742336 && k && L && ki(L, `${k}.Style`), e.$$.dirty[0] & /*translationurl*/
4602
+ 536870912 && M && lr(), e.$$.dirty[0] & /*session*/
4633
4603
  2097152 && i && fr(), e.$$.dirty[0] & /*status*/
4634
- 1 && l && Ne(), e.$$.dirty[0] & /*title, lang*/
4635
- 67108866 && a && T && Oe(), e.$$.dirty[0] & /*startdate*/
4636
- 4 && o && Ie(), e.$$.dirty[0] & /*scorecriteria*/
4637
- 16777216 && f && Me();
4604
+ 1 && l && Pe(), e.$$.dirty[0] & /*title, lang*/
4605
+ 67108866 && a && S && Le(), e.$$.dirty[0] & /*startdate*/
4606
+ 4 && o && Ne(), e.$$.dirty[0] & /*scorecriteria*/
4607
+ 16777216 && c && Me();
4638
4608
  }, [
4639
4609
  l,
4640
4610
  a,
4641
4611
  o,
4642
4612
  h,
4643
- c,
4644
- v,
4613
+ f,
4614
+ x,
4645
4615
  E,
4646
4616
  y,
4647
4617
  d,
4648
4618
  L,
4649
- X,
4650
- J,
4619
+ Z,
4620
+ W,
4621
+ O,
4651
4622
  N,
4652
- M,
4653
- le,
4623
+ he,
4654
4624
  n,
4655
- Ie,
4656
4625
  Ne,
4626
+ Pe,
4657
4627
  Me,
4658
- lr,
4659
4628
  hr,
4629
+ cr,
4660
4630
  i,
4661
4631
  s,
4662
4632
  u,
4663
- f,
4633
+ c,
4664
4634
  g,
4665
- T,
4635
+ S,
4666
4636
  _,
4667
4637
  B,
4668
- P,
4638
+ M,
4669
4639
  k,
4670
- cr
4640
+ mr
4671
4641
  ];
4672
4642
  }
4673
- class or extends Vr {
4643
+ class ur extends zr {
4674
4644
  constructor(t) {
4675
- super(), $r(
4645
+ super(), jr(
4676
4646
  this,
4677
4647
  t,
4648
+ zi,
4678
4649
  Vi,
4679
- ji,
4680
- Pt,
4650
+ Lt,
4681
4651
  {
4682
4652
  session: 21,
4683
4653
  userid: 22,
@@ -4699,7 +4669,7 @@ class or extends Vr {
4699
4669
  translationurl: 29,
4700
4670
  mbsource: 30
4701
4671
  },
4702
- Fi,
4672
+ Gi,
4703
4673
  [-1, -1]
4704
4674
  );
4705
4675
  }
@@ -4818,54 +4788,50 @@ class or extends Vr {
4818
4788
  this.$$set({ mbsource: t }), C();
4819
4789
  }
4820
4790
  }
4821
- jr(or, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4822
- const rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4791
+ Vr(ur, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4792
+ const ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4823
4793
  __proto__: null,
4824
- default: or
4794
+ default: ur
4825
4795
  }, Symbol.toStringTag, { value: "Module" }));
4826
4796
  export {
4827
- V as $,
4828
- be as A,
4829
- D as B,
4830
- G as C,
4831
- Pi as D,
4832
- te as E,
4833
- z as F,
4797
+ z as $,
4798
+ Li as A,
4799
+ Ri as B,
4800
+ Di as C,
4801
+ ki as D,
4802
+ Qi as E,
4803
+ es as F,
4834
4804
  Zi as G,
4835
- qi as H,
4836
- Ki as I,
4837
- Yi as J,
4838
- ze as K,
4839
- Qi as L,
4840
- Xi as M,
4841
- $e as N,
4842
- rs as O,
4843
- Vr as S,
4844
- es as _,
4845
- Re as a,
4846
- ts as b,
4847
- Ae as c,
4848
- oe as d,
4849
- rr as e,
4805
+ Ki as H,
4806
+ Yi as I,
4807
+ We as J,
4808
+ Ve as K,
4809
+ ts as L,
4810
+ zr as S,
4811
+ ue as a,
4812
+ nr as b,
4813
+ Vr as c,
4814
+ Ar as d,
4815
+ I as e,
4850
4816
  C as f,
4851
- jr as g,
4852
- Tr as h,
4853
- $r as i,
4854
- w as j,
4855
- $ as k,
4856
- K as l,
4857
- b as m,
4858
- O as n,
4859
- A as o,
4860
- F as p,
4861
- I as q,
4862
- Sr as r,
4863
- Pt as s,
4864
- Mr as t,
4865
- je as u,
4866
- Li as v,
4867
- Ri as w,
4868
- Di as x,
4869
- Cr as y,
4870
- ge as z
4817
+ ee as g,
4818
+ b as h,
4819
+ jr as i,
4820
+ P as j,
4821
+ T as k,
4822
+ w as l,
4823
+ $ as m,
4824
+ F as n,
4825
+ Tr as o,
4826
+ Pr as p,
4827
+ ze as q,
4828
+ wr as r,
4829
+ Lt as s,
4830
+ pe as t,
4831
+ G as u,
4832
+ D as v,
4833
+ J as w,
4834
+ re as x,
4835
+ ge as y,
4836
+ qi as z
4871
4837
  };