@everymatrix/casino-tournaments-controller 1.77.26 → 1.77.28

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 (56) hide show
  1. package/components/{CasinoTournamentsController-C0FF_73d.js → CasinoTournamentsController-4NKECleo.js} +1040 -1019
  2. package/components/{CasinoTournamentsController-r2__8NnX.js → CasinoTournamentsController-BzIkU4gG.js} +1133 -1112
  3. package/components/CasinoTournamentsController-CrJx0DPU.cjs +27 -0
  4. package/components/{CasinoTournamentsFilterController-C8xCBoW1.js → CasinoTournamentsFilterController-BJXo5lw5.js} +24 -24
  5. package/components/{CasinoTournamentsFilterController-D5J5YSd3.cjs → CasinoTournamentsFilterController-BXjEmlhu.cjs} +1 -1
  6. package/components/{CasinoTournamentsFilterController-BRdMVqnq.js → CasinoTournamentsFilterController-DysKLY6Z.js} +26 -26
  7. package/components/{CasinoTournamentsListController-dDb1r5RO.js → CasinoTournamentsListController-MrwaY3wY.js} +24 -24
  8. package/components/{CasinoTournamentsListController-CjosXm8y.cjs → CasinoTournamentsListController-Uk8QxEgk.cjs} +2 -2
  9. package/components/{CasinoTournamentsListController-C8qEbH_h.js → CasinoTournamentsListController-wNHGuTtf.js} +24 -24
  10. package/components/{CasinoTournamentsThumbnail-CY3bHA6V.js → CasinoTournamentsThumbnail-4wDa9P2j.js} +50 -50
  11. package/components/{CasinoTournamentsThumbnail-IzQdl2z_.js → CasinoTournamentsThumbnail-DmKiqEFq.js} +50 -50
  12. package/components/{CasinoTournamentsThumbnail-DVXhaI87.cjs → CasinoTournamentsThumbnail-o6xGY9Hg.cjs} +1 -1
  13. package/components/{CasinoTournamentsThumbnailController-39EXur7e.js → CasinoTournamentsThumbnailController-BfRaVAGD.js} +63 -63
  14. package/components/{CasinoTournamentsThumbnailController-CvrguUk6.cjs → CasinoTournamentsThumbnailController-BljsiLuu.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-D5dMwBIp.js → CasinoTournamentsThumbnailController-CnPLSoTa.js} +62 -62
  16. package/components/{CasinoTournamentsThumbnailDuration-fWJJJEG-.js → CasinoTournamentsThumbnailDuration-AVw5FRJW.js} +56 -56
  17. package/components/{CasinoTournamentsThumbnailDuration-BR3W7l9Q.js → CasinoTournamentsThumbnailDuration-DLvmvlHx.js} +58 -58
  18. package/components/{CasinoTournamentsThumbnailDuration-Bq-UCQ0o.cjs → CasinoTournamentsThumbnailDuration-cimzh7sh.cjs} +1 -1
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-CcEiIzwA.js → CasinoTournamentsThumbnailGamesSlider-Cx97lciL.js} +56 -56
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-DqYn0GTs.cjs → CasinoTournamentsThumbnailGamesSlider-P-Oevb1q.cjs} +1 -1
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-CrH9TJGf.js → CasinoTournamentsThumbnailGamesSlider-YvcZWj2f.js} +60 -60
  22. package/components/{CasinoTournamentsThumbnailPrizes-DK_nbsIT.cjs → CasinoTournamentsThumbnailPrizes-C2JT80WO.cjs} +1 -1
  23. package/components/{CasinoTournamentsThumbnailPrizes-C7G0zqzv.js → CasinoTournamentsThumbnailPrizes-CTD53TLN.js} +38 -38
  24. package/components/{CasinoTournamentsThumbnailPrizes-BfBSjosy.js → CasinoTournamentsThumbnailPrizes-CtV_9-Sf.js} +37 -37
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  30. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  31. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  32. package/stencil/index-b2193545-BS7xFIk4.js +503 -0
  33. package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
  34. package/stencil/index-b2193545-rfNAj6ri.js +519 -0
  35. package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  36. package/stencil/{ui-image-CNrnXPP3.js → ui-image-CXqPvnQ2.js} +1 -1
  37. package/stencil/{ui-image-CDGN3Ekj.js → ui-image-DgbODkuX.js} +1 -1
  38. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  39. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  40. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  41. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  42. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  43. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  44. package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
  45. package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-D8L-WY77.js} +2 -2
  46. package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DSebcnN1.js} +2 -2
  47. package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
  48. package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
  49. package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
  50. package/components/CasinoTournamentsController-Co_0SmUO.cjs +0 -27
  51. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  52. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  53. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  54. package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
  55. package/stencil/index-b2193545-OH6E7v51.js +0 -519
  56. package/stencil/index-b2193545-eoIiLcDl.js +0 -503
@@ -1,16 +1,16 @@
1
- var On = Object.defineProperty, In = Object.defineProperties;
2
- var Ln = Object.getOwnPropertyDescriptors;
3
- var br = Object.getOwnPropertySymbols;
4
- var Nn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable;
5
- var Rt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gr = (e, t) => {
1
+ var In = Object.defineProperty, Ln = Object.defineProperties;
2
+ var Nn = Object.getOwnPropertyDescriptors;
3
+ var vr = Object.getOwnPropertySymbols;
4
+ var Mn = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable;
5
+ var Ft = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yr = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Nn.call(t, r) && Rt(e, r, t[r]);
8
- if (br)
9
- for (var r of br(t))
10
- Mn.call(t, r) && Rt(e, r, t[r]);
7
+ Mn.call(t, r) && Ft(e, r, t[r]);
8
+ if (vr)
9
+ for (var r of vr(t))
10
+ Rn.call(t, r) && Ft(e, r, t[r]);
11
11
  return e;
12
- }, vr = (e, t) => In(e, Ln(t));
13
- var fe = (e, t, r) => (Rt(e, typeof t != "symbol" ? t + "" : t, r), r);
12
+ }, Er = (e, t) => Ln(e, Nn(t));
13
+ var fe = (e, t, r) => (Ft(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Le = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
@@ -29,29 +29,29 @@ var Le = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function ce() {
31
31
  }
32
- function zr(e) {
32
+ function qr(e) {
33
33
  return e();
34
34
  }
35
- function yr() {
35
+ function _r() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ct(e) {
39
- e.forEach(zr);
38
+ function ft(e) {
39
+ e.forEach(qr);
40
40
  }
41
- function At(e) {
41
+ function Ht(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Wr(e, t) {
44
+ function Zr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let bt;
48
- function Hs(e, t) {
48
+ function Bs(e, t) {
49
49
  return e === t ? !0 : (bt || (bt = document.createElement("a")), bt.href = t, e === bt.href);
50
50
  }
51
- function Rn(e) {
51
+ function Dn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function qr(e, ...t) {
54
+ function Jr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,23 +60,23 @@ function qr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Dn(e, t, r) {
64
- e.$$.on_destroy.push(qr(t, r));
63
+ function Fn(e, t, r) {
64
+ e.$$.on_destroy.push(Jr(t, r));
65
65
  }
66
- function Bs(e) {
67
- return e && At(e.destroy) ? e.destroy : ce;
66
+ function Os(e) {
67
+ return e && Ht(e.destroy) ? e.destroy : ce;
68
68
  }
69
69
  function K(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
- function Fn(e, t, r) {
73
- const n = Un(e);
72
+ function Un(e, t, r) {
73
+ const n = Gn(e);
74
74
  if (!n.getElementById(t)) {
75
75
  const i = X("style");
76
- i.id = t, i.textContent = r, Gn(n, i);
76
+ i.id = t, i.textContent = r, jn(n, i);
77
77
  }
78
78
  }
79
- function Un(e) {
79
+ function Gn(e) {
80
80
  if (!e)
81
81
  return document;
82
82
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -86,7 +86,7 @@ function Un(e) {
86
86
  t
87
87
  ) : e.ownerDocument;
88
88
  }
89
- function Gn(e, t) {
89
+ function jn(e, t) {
90
90
  return K(
91
91
  /** @type {Document} */
92
92
  e.head || e,
@@ -99,26 +99,26 @@ function ue(e, t, r) {
99
99
  function ee(e) {
100
100
  e.parentNode && e.parentNode.removeChild(e);
101
101
  }
102
- function Ps(e, t) {
102
+ function Cs(e, t) {
103
103
  for (let r = 0; r < e.length; r += 1)
104
104
  e[r] && e[r].d(t);
105
105
  }
106
106
  function X(e) {
107
107
  return document.createElement(e);
108
108
  }
109
- function Cs(e) {
109
+ function Is(e) {
110
110
  return document.createElementNS("http://www.w3.org/2000/svg", e);
111
111
  }
112
- function Be(e) {
112
+ function Pe(e) {
113
113
  return document.createTextNode(e);
114
114
  }
115
- function zt() {
116
- return Be(" ");
115
+ function qt() {
116
+ return Pe(" ");
117
117
  }
118
- function jn() {
119
- return Be("");
118
+ function $n() {
119
+ return Pe("");
120
120
  }
121
- function Wt(e, t, r, n) {
121
+ function Zt(e, t, r, n) {
122
122
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
123
123
  }
124
124
  function U(e, t, r) {
@@ -128,18 +128,18 @@ function x(e, t, r) {
128
128
  const n = t.toLowerCase();
129
129
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : U(e, t, r);
130
130
  }
131
- function $n(e) {
131
+ function kn(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function We(e, t) {
134
+ function ze(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function Os(e, t, r, n) {
138
+ function Ls(e, t, r, n) {
139
139
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
140
140
  }
141
141
  let gt;
142
- function kn() {
142
+ function Vn() {
143
143
  if (gt === void 0) {
144
144
  gt = !1;
145
145
  try {
@@ -150,16 +150,16 @@ function kn() {
150
150
  }
151
151
  return gt;
152
152
  }
153
- function Is(e, t) {
153
+ function Ns(e, t) {
154
154
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
155
155
  const n = X("iframe");
156
156
  n.setAttribute(
157
157
  "style",
158
158
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
159
159
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
160
- const i = kn();
160
+ const i = Vn();
161
161
  let o;
162
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Wt(
162
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Zt(
163
163
  window,
164
164
  "message",
165
165
  /** @param {MessageEvent} event */
@@ -167,15 +167,15 @@ function Is(e, t) {
167
167
  s.source === n.contentWindow && t();
168
168
  }
169
169
  )) : (n.src = "about:blank", n.onload = () => {
170
- o = Wt(n.contentWindow, "resize", t), t();
170
+ o = Zt(n.contentWindow, "resize", t), t();
171
171
  }), K(e, n), () => {
172
172
  (i || o && n.contentWindow) && o(), ee(n);
173
173
  };
174
174
  }
175
- function Ls(e, t, r) {
175
+ function Ms(e, t, r) {
176
176
  e.classList.toggle(t, !!r);
177
177
  }
178
- function Vn(e) {
178
+ function Xn(e) {
179
179
  const t = {};
180
180
  return e.childNodes.forEach(
181
181
  /** @param {Element} node */
@@ -184,90 +184,90 @@ function Vn(e) {
184
184
  }
185
185
  ), t;
186
186
  }
187
- let lt;
188
- function ut(e) {
189
- lt = e;
187
+ let ut;
188
+ function at(e) {
189
+ ut = e;
190
190
  }
191
- function Xn() {
192
- if (!lt)
191
+ function zn() {
192
+ if (!ut)
193
193
  throw new Error("Function called outside component initialization");
194
- return lt;
194
+ return ut;
195
195
  }
196
- function zn(e) {
197
- Xn().$$.on_mount.push(e);
196
+ function Wn(e) {
197
+ zn().$$.on_mount.push(e);
198
198
  }
199
- const Ve = [], qt = [];
199
+ const Ve = [], Jt = [];
200
200
  let Xe = [];
201
- const Er = [], Wn = /* @__PURE__ */ Promise.resolve();
202
- let Zt = !1;
203
- function qn() {
204
- Zt || (Zt = !0, Wn.then(R));
201
+ const xr = [], qn = /* @__PURE__ */ Promise.resolve();
202
+ let Qt = !1;
203
+ function Zn() {
204
+ Qt || (Qt = !0, qn.then(M));
205
205
  }
206
- function Jt(e) {
206
+ function Yt(e) {
207
207
  Xe.push(e);
208
208
  }
209
- const Dt = /* @__PURE__ */ new Set();
209
+ const Ut = /* @__PURE__ */ new Set();
210
210
  let $e = 0;
211
- function R() {
211
+ function M() {
212
212
  if ($e !== 0)
213
213
  return;
214
- const e = lt;
214
+ const e = ut;
215
215
  do {
216
216
  try {
217
217
  for (; $e < Ve.length; ) {
218
218
  const t = Ve[$e];
219
- $e++, ut(t), Zn(t.$$);
219
+ $e++, at(t), Jn(t.$$);
220
220
  }
221
221
  } catch (t) {
222
222
  throw Ve.length = 0, $e = 0, t;
223
223
  }
224
- for (ut(null), Ve.length = 0, $e = 0; qt.length; )
225
- qt.pop()();
224
+ for (at(null), Ve.length = 0, $e = 0; Jt.length; )
225
+ Jt.pop()();
226
226
  for (let t = 0; t < Xe.length; t += 1) {
227
227
  const r = Xe[t];
228
- Dt.has(r) || (Dt.add(r), r());
228
+ Ut.has(r) || (Ut.add(r), r());
229
229
  }
230
230
  Xe.length = 0;
231
231
  } while (Ve.length);
232
- for (; Er.length; )
233
- Er.pop()();
234
- Zt = !1, Dt.clear(), ut(e);
232
+ for (; xr.length; )
233
+ xr.pop()();
234
+ Qt = !1, Ut.clear(), at(e);
235
235
  }
236
- function Zn(e) {
236
+ function Jn(e) {
237
237
  if (e.fragment !== null) {
238
- e.update(), ct(e.before_update);
238
+ e.update(), ft(e.before_update);
239
239
  const t = e.dirty;
240
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Jt);
240
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Yt);
241
241
  }
242
242
  }
243
- function Jn(e) {
243
+ function Qn(e) {
244
244
  const t = [], r = [];
245
245
  Xe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Xe = t;
246
246
  }
247
- const Qn = /* @__PURE__ */ new Set();
248
- function Yn(e, t) {
249
- e && e.i && (Qn.delete(e), e.i(t));
247
+ const Yn = /* @__PURE__ */ new Set();
248
+ function Kn(e, t) {
249
+ e && e.i && (Yn.delete(e), e.i(t));
250
250
  }
251
- function Ns(e) {
251
+ function Rs(e) {
252
252
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
253
253
  }
254
- function Kn(e, t, r) {
254
+ function ei(e, t, r) {
255
255
  const { fragment: n, after_update: i } = e.$$;
256
- n && n.m(t, r), Jt(() => {
257
- const o = e.$$.on_mount.map(zr).filter(At);
258
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ct(o), e.$$.on_mount = [];
259
- }), i.forEach(Jt);
256
+ n && n.m(t, r), Yt(() => {
257
+ const o = e.$$.on_mount.map(qr).filter(Ht);
258
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ft(o), e.$$.on_mount = [];
259
+ }), i.forEach(Yt);
260
260
  }
261
- function ei(e, t) {
261
+ function ti(e, t) {
262
262
  const r = e.$$;
263
- r.fragment !== null && (Jn(r.after_update), ct(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
263
+ r.fragment !== null && (Qn(r.after_update), ft(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
264
264
  }
265
- function ti(e, t) {
266
- e.$$.dirty[0] === -1 && (Ve.push(e), qn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
265
+ function ri(e, t) {
266
+ e.$$.dirty[0] === -1 && (Ve.push(e), Zn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
267
267
  }
268
- function ri(e, t, r, n, i, o, s = null, a = [-1]) {
269
- const h = lt;
270
- ut(e);
268
+ function ni(e, t, r, n, i, o, s = null, a = [-1]) {
269
+ const h = ut;
270
+ at(e);
271
271
  const u = e.$$ = {
272
272
  fragment: null,
273
273
  ctx: [],
@@ -275,7 +275,7 @@ function ri(e, t, r, n, i, o, s = null, a = [-1]) {
275
275
  props: o,
276
276
  update: ce,
277
277
  not_equal: i,
278
- bound: yr(),
278
+ bound: _r(),
279
279
  // lifecycle
280
280
  on_mount: [],
281
281
  on_destroy: [],
@@ -284,28 +284,28 @@ function ri(e, t, r, n, i, o, s = null, a = [-1]) {
284
284
  after_update: [],
285
285
  context: new Map(t.context || (h ? h.$$.context : [])),
286
286
  // everything else
287
- callbacks: yr(),
287
+ callbacks: _r(),
288
288
  dirty: a,
289
289
  skip_bound: !1,
290
290
  root: t.target || h.$$.root
291
291
  };
292
292
  s && s(u.root);
293
293
  let c = !1;
294
- if (u.ctx = r ? r(e, t.props || {}, (d, p, ..._) => {
295
- const I = _.length ? _[0] : p;
296
- return u.ctx && i(u.ctx[d], u.ctx[d] = I) && (!u.skip_bound && u.bound[d] && u.bound[d](I), c && ti(e, d)), p;
297
- }) : [], u.update(), c = !0, ct(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
294
+ if (u.ctx = r ? r(e, t.props || {}, (d, m, ..._) => {
295
+ const C = _.length ? _[0] : m;
296
+ return u.ctx && i(u.ctx[d], u.ctx[d] = C) && (!u.skip_bound && u.bound[d] && u.bound[d](C), c && ri(e, d)), m;
297
+ }) : [], u.update(), c = !0, ft(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
298
298
  if (t.hydrate) {
299
- const d = $n(t.target);
299
+ const d = kn(t.target);
300
300
  u.fragment && u.fragment.l(d), d.forEach(ee);
301
301
  } else
302
302
  u.fragment && u.fragment.c();
303
- t.intro && Yn(e.$$.fragment), Kn(e, t.target, t.anchor), R();
303
+ t.intro && Kn(e.$$.fragment), ei(e, t.target, t.anchor), M();
304
304
  }
305
- ut(h);
305
+ at(h);
306
306
  }
307
- let Zr;
308
- typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
307
+ let Qr;
308
+ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
309
309
  constructor(t, r, n) {
310
310
  super();
311
311
  /** The Svelte component constructor */
@@ -366,7 +366,7 @@ typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
366
366
  };
367
367
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
368
368
  return;
369
- const r = {}, n = Vn(this);
369
+ const r = {}, n = Xn(this);
370
370
  for (const o of this.$$s)
371
371
  o in n && (r[o] = [t(o)]);
372
372
  for (const o of this.attributes) {
@@ -377,7 +377,7 @@ typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
377
377
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
378
378
  this.$$c = new this.$$ctor({
379
379
  target: this.shadowRoot || this,
380
- props: vr(gr({}, this.$$d), {
380
+ props: Er(yr({}, this.$$d), {
381
381
  $$slots: r,
382
382
  $$scope: {
383
383
  ctx: []
@@ -455,8 +455,8 @@ function Et(e, t, r, n) {
455
455
  return t;
456
456
  }
457
457
  }
458
- function ni(e, t, r, n, i, o) {
459
- let s = class extends Zr {
458
+ function ii(e, t, r, n, i, o) {
459
+ let s = class extends Qr {
460
460
  constructor() {
461
461
  super(e, r, i), this.$$p_d = t;
462
462
  }
@@ -486,7 +486,7 @@ function ni(e, t, r, n, i, o) {
486
486
  }), e.element = /** @type {any} */
487
487
  s, s;
488
488
  }
489
- class ii {
489
+ class oi {
490
490
  constructor() {
491
491
  /**
492
492
  * ### PRIVATE API
@@ -507,7 +507,7 @@ class ii {
507
507
  }
508
508
  /** @returns {void} */
509
509
  $destroy() {
510
- ei(this, 1), this.$destroy = ce;
510
+ ti(this, 1), this.$destroy = ce;
511
511
  }
512
512
  /**
513
513
  * @template {Extract<keyof Events, string>} K
@@ -516,7 +516,7 @@ class ii {
516
516
  * @returns {() => void}
517
517
  */
518
518
  $on(t, r) {
519
- if (!At(r))
519
+ if (!Ht(r))
520
520
  return ce;
521
521
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
522
522
  return n.push(r), () => {
@@ -529,11 +529,11 @@ class ii {
529
529
  * @returns {void}
530
530
  */
531
531
  $set(t) {
532
- this.$$set && !Rn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
532
+ this.$$set && !Dn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
533
533
  }
534
534
  }
535
- const oi = "4";
536
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(oi);
535
+ const si = "4";
536
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(si);
537
537
  /*! *****************************************************************************
538
538
  Copyright (c) Microsoft Corporation.
539
539
 
@@ -548,43 +548,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
548
548
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
549
549
  PERFORMANCE OF THIS SOFTWARE.
550
550
  ***************************************************************************** */
551
- var Qt = function(e, t) {
552
- return Qt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
551
+ var Kt = function(e, t) {
552
+ return Kt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
553
553
  r.__proto__ = n;
554
554
  } || function(r, n) {
555
555
  for (var i in n)
556
556
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
557
- }, Qt(e, t);
557
+ }, Kt(e, t);
558
558
  };
559
- function Te(e, t) {
559
+ function ct(e, t) {
560
560
  if (typeof t != "function" && t !== null)
561
561
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
562
- Qt(e, t);
562
+ Kt(e, t);
563
563
  function r() {
564
564
  this.constructor = e;
565
565
  }
566
566
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
567
567
  }
568
- var C = function() {
569
- return C = Object.assign || function(t) {
570
- for (var r, n = 1, i = arguments.length; n < i; n++) {
571
- r = arguments[n];
572
- for (var o in r)
573
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
574
- }
575
- return t;
576
- }, C.apply(this, arguments);
577
- };
578
- function si(e, t) {
579
- var r = {};
580
- for (var n in e)
581
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
582
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
583
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
584
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
585
- return r;
586
- }
587
- function Yt(e) {
568
+ function er(e) {
588
569
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
589
570
  if (r)
590
571
  return r.call(e);
@@ -596,7 +577,7 @@ function Yt(e) {
596
577
  };
597
578
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
598
579
  }
599
- function Kt(e, t) {
580
+ function tr(e, t) {
600
581
  var r = typeof Symbol == "function" && e[Symbol.iterator];
601
582
  if (!r)
602
583
  return e;
@@ -616,22 +597,22 @@ function Kt(e, t) {
616
597
  }
617
598
  return o;
618
599
  }
619
- function ze(e, t, r) {
620
- if (r || arguments.length === 2)
600
+ function rr(e, t, r) {
601
+ if (arguments.length === 2)
621
602
  for (var n = 0, i = t.length, o; n < i; n++)
622
603
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
623
604
  return e.concat(o || t);
624
605
  }
625
- function we(e) {
606
+ function Te(e) {
626
607
  return typeof e == "function";
627
608
  }
628
- function Jr(e) {
609
+ function Yr(e) {
629
610
  var t = function(n) {
630
611
  Error.call(n), n.stack = new Error().stack;
631
612
  }, r = e(t);
632
613
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
633
614
  }
634
- var Ft = Jr(function(e) {
615
+ var Gt = Yr(function(e) {
635
616
  return function(r) {
636
617
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
637
618
  ` + r.map(function(n, i) {
@@ -640,13 +621,13 @@ var Ft = Jr(function(e) {
640
621
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
641
622
  };
642
623
  });
643
- function er(e, t) {
624
+ function nr(e, t) {
644
625
  if (e) {
645
626
  var r = e.indexOf(t);
646
627
  0 <= r && e.splice(r, 1);
647
628
  }
648
629
  }
649
- var Ht = function() {
630
+ var Pt = function() {
650
631
  function e(t) {
651
632
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
652
633
  }
@@ -658,7 +639,7 @@ var Ht = function() {
658
639
  if (s)
659
640
  if (this._parentage = null, Array.isArray(s))
660
641
  try {
661
- for (var a = Yt(s), h = a.next(); !h.done; h = a.next()) {
642
+ for (var a = er(s), h = a.next(); !h.done; h = a.next()) {
662
643
  var u = h.value;
663
644
  u.remove(this);
664
645
  }
@@ -675,29 +656,29 @@ var Ht = function() {
675
656
  else
676
657
  s.remove(this);
677
658
  var c = this.initialTeardown;
678
- if (we(c))
659
+ if (Te(c))
679
660
  try {
680
661
  c();
681
662
  } catch (H) {
682
- o = H instanceof Ft ? H.errors : [H];
663
+ o = H instanceof Gt ? H.errors : [H];
683
664
  }
684
665
  var d = this._finalizers;
685
666
  if (d) {
686
667
  this._finalizers = null;
687
668
  try {
688
- for (var p = Yt(d), _ = p.next(); !_.done; _ = p.next()) {
689
- var I = _.value;
669
+ for (var m = er(d), _ = m.next(); !_.done; _ = m.next()) {
670
+ var C = _.value;
690
671
  try {
691
- _r(I);
672
+ wr(C);
692
673
  } catch (H) {
693
- o = o != null ? o : [], H instanceof Ft ? o = ze(ze([], Kt(o)), Kt(H.errors)) : o.push(H);
674
+ o = o != null ? o : [], H instanceof Gt ? o = rr(rr([], tr(o)), tr(H.errors)) : o.push(H);
694
675
  }
695
676
  }
696
677
  } catch (H) {
697
678
  n = { error: H };
698
679
  } finally {
699
680
  try {
700
- _ && !_.done && (i = p.return) && i.call(p);
681
+ _ && !_.done && (i = m.return) && i.call(m);
701
682
  } finally {
702
683
  if (n)
703
684
  throw n.error;
@@ -705,13 +686,13 @@ var Ht = function() {
705
686
  }
706
687
  }
707
688
  if (o)
708
- throw new Ft(o);
689
+ throw new Gt(o);
709
690
  }
710
691
  }, e.prototype.add = function(t) {
711
692
  var r;
712
693
  if (t && t !== this)
713
694
  if (this.closed)
714
- _r(t);
695
+ wr(t);
715
696
  else {
716
697
  if (t instanceof e) {
717
698
  if (t.closed || t._hasParent(this))
@@ -728,56 +709,52 @@ var Ht = function() {
728
709
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
729
710
  }, e.prototype._removeParent = function(t) {
730
711
  var r = this._parentage;
731
- r === t ? this._parentage = null : Array.isArray(r) && er(r, t);
712
+ r === t ? this._parentage = null : Array.isArray(r) && nr(r, t);
732
713
  }, e.prototype.remove = function(t) {
733
714
  var r = this._finalizers;
734
- r && er(r, t), t instanceof e && t._removeParent(this);
715
+ r && nr(r, t), t instanceof e && t._removeParent(this);
735
716
  }, e.EMPTY = function() {
736
717
  var t = new e();
737
718
  return t.closed = !0, t;
738
719
  }(), e;
739
- }(), Qr = Ht.EMPTY;
740
- function Yr(e) {
741
- return e instanceof Ht || e && "closed" in e && we(e.remove) && we(e.add) && we(e.unsubscribe);
742
- }
743
- function _r(e) {
744
- we(e) ? e() : e.unsubscribe();
745
- }
746
- var Kr = {
747
- onUnhandledError: null,
748
- onStoppedNotification: null,
749
- Promise: void 0,
750
- useDeprecatedSynchronousErrorHandling: !1,
751
- useDeprecatedNextContext: !1
752
- }, ai = {
720
+ }(), Kr = Pt.EMPTY;
721
+ function en(e) {
722
+ return e instanceof Pt || e && "closed" in e && Te(e.remove) && Te(e.add) && Te(e.unsubscribe);
723
+ }
724
+ function wr(e) {
725
+ Te(e) ? e() : e.unsubscribe();
726
+ }
727
+ var ai = {
728
+ Promise: void 0
729
+ }, ui = {
753
730
  setTimeout: function(e, t) {
754
731
  for (var r = [], n = 2; n < arguments.length; n++)
755
732
  r[n - 2] = arguments[n];
756
- return setTimeout.apply(void 0, ze([e, t], Kt(r)));
733
+ return setTimeout.apply(void 0, rr([e, t], tr(r)));
757
734
  },
758
735
  clearTimeout: function(e) {
759
736
  return clearTimeout(e);
760
737
  },
761
738
  delegate: void 0
762
739
  };
763
- function ui(e) {
764
- ai.setTimeout(function() {
740
+ function li(e) {
741
+ ui.setTimeout(function() {
765
742
  throw e;
766
743
  });
767
744
  }
768
- function xr() {
745
+ function Tr() {
769
746
  }
770
747
  function _t(e) {
771
748
  e();
772
749
  }
773
- var en = function(e) {
774
- Te(t, e);
750
+ var tn = function(e) {
751
+ ct(t, e);
775
752
  function t(r) {
776
753
  var n = e.call(this) || this;
777
- return n.isStopped = !1, r ? (n.destination = r, Yr(r) && r.add(n)) : n.destination = ci, n;
754
+ return n.isStopped = !1, r ? (n.destination = r, en(r) && r.add(n)) : n.destination = ci, n;
778
755
  }
779
756
  return t.create = function(r, n, i) {
780
- return new tr(r, n, i);
757
+ return new ir(r, n, i);
781
758
  }, t.prototype.next = function(r) {
782
759
  this.isStopped || this._next(r);
783
760
  }, t.prototype.error = function(r) {
@@ -801,11 +778,7 @@ var en = function(e) {
801
778
  this.unsubscribe();
802
779
  }
803
780
  }, t;
804
- }(Ht), li = Function.prototype.bind;
805
- function Ut(e, t) {
806
- return li.call(e, t);
807
- }
808
- var hi = function() {
781
+ }(Pt), hi = function() {
809
782
  function e(t) {
810
783
  this.partialObserver = t;
811
784
  }
@@ -836,55 +809,43 @@ var hi = function() {
836
809
  vt(r);
837
810
  }
838
811
  }, e;
839
- }(), tr = function(e) {
840
- Te(t, e);
812
+ }(), ir = function(e) {
813
+ ct(t, e);
841
814
  function t(r, n, i) {
842
815
  var o = e.call(this) || this, s;
843
- if (we(r) || !r)
844
- s = {
845
- next: r != null ? r : void 0,
846
- error: n != null ? n : void 0,
847
- complete: i != null ? i : void 0
848
- };
849
- else {
850
- var a;
851
- o && Kr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
852
- return o.unsubscribe();
853
- }, s = {
854
- next: r.next && Ut(r.next, a),
855
- error: r.error && Ut(r.error, a),
856
- complete: r.complete && Ut(r.complete, a)
857
- }) : s = r;
858
- }
859
- return o.destination = new hi(s), o;
816
+ return Te(r) || !r ? s = {
817
+ next: r != null ? r : void 0,
818
+ error: n != null ? n : void 0,
819
+ complete: i != null ? i : void 0
820
+ } : s = r, o.destination = new hi(s), o;
860
821
  }
861
822
  return t;
862
- }(en);
823
+ }(tn);
863
824
  function vt(e) {
864
- ui(e);
825
+ li(e);
865
826
  }
866
827
  function fi(e) {
867
828
  throw e;
868
829
  }
869
830
  var ci = {
870
831
  closed: !0,
871
- next: xr,
832
+ next: Tr,
872
833
  error: fi,
873
- complete: xr
834
+ complete: Tr
874
835
  }, di = function() {
875
836
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
876
837
  }();
877
- function mi(e) {
838
+ function pi(e) {
878
839
  return e;
879
840
  }
880
- function pi(e) {
881
- return e.length === 0 ? mi : e.length === 1 ? e[0] : function(r) {
841
+ function mi(e) {
842
+ return e.length === 0 ? pi : e.length === 1 ? e[0] : function(r) {
882
843
  return e.reduce(function(n, i) {
883
844
  return i(n);
884
845
  }, r);
885
846
  };
886
847
  }
887
- var wr = function() {
848
+ var Sr = function() {
888
849
  function e(t) {
889
850
  t && (this._subscribe = t);
890
851
  }
@@ -892,7 +853,7 @@ var wr = function() {
892
853
  var r = new e();
893
854
  return r.source = this, r.operator = t, r;
894
855
  }, e.prototype.subscribe = function(t, r, n) {
895
- var i = this, o = gi(t) ? t : new tr(t, r, n);
856
+ var i = this, o = gi(t) ? t : new ir(t, r, n);
896
857
  return _t(function() {
897
858
  var s = i, a = s.operator, h = s.source;
898
859
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -905,8 +866,8 @@ var wr = function() {
905
866
  }
906
867
  }, e.prototype.forEach = function(t, r) {
907
868
  var n = this;
908
- return r = Tr(r), new r(function(i, o) {
909
- var s = new tr({
869
+ return r = Ar(r), new r(function(i, o) {
870
+ var s = new ir({
910
871
  next: function(a) {
911
872
  try {
912
873
  t(a);
@@ -927,10 +888,10 @@ var wr = function() {
927
888
  }, e.prototype.pipe = function() {
928
889
  for (var t = [], r = 0; r < arguments.length; r++)
929
890
  t[r] = arguments[r];
930
- return pi(t)(this);
891
+ return mi(t)(this);
931
892
  }, e.prototype.toPromise = function(t) {
932
893
  var r = this;
933
- return t = Tr(t), new t(function(n, i) {
894
+ return t = Ar(t), new t(function(n, i) {
934
895
  var o;
935
896
  r.subscribe(function(s) {
936
897
  return o = s;
@@ -944,28 +905,28 @@ var wr = function() {
944
905
  return new e(t);
945
906
  }, e;
946
907
  }();
947
- function Tr(e) {
908
+ function Ar(e) {
948
909
  var t;
949
- return (t = e != null ? e : Kr.Promise) !== null && t !== void 0 ? t : Promise;
910
+ return (t = e != null ? e : ai.Promise) !== null && t !== void 0 ? t : Promise;
950
911
  }
951
912
  function bi(e) {
952
- return e && we(e.next) && we(e.error) && we(e.complete);
913
+ return e && Te(e.next) && Te(e.error) && Te(e.complete);
953
914
  }
954
915
  function gi(e) {
955
- return e && e instanceof en || bi(e) && Yr(e);
916
+ return e && e instanceof tn || bi(e) && en(e);
956
917
  }
957
- var vi = Jr(function(e) {
918
+ var vi = Yr(function(e) {
958
919
  return function() {
959
920
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
960
921
  };
961
- }), tn = function(e) {
962
- Te(t, e);
922
+ }), rn = function(e) {
923
+ ct(t, e);
963
924
  function t() {
964
925
  var r = e.call(this) || this;
965
926
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
966
927
  }
967
928
  return t.prototype.lift = function(r) {
968
- var n = new Sr(this, this);
929
+ var n = new Hr(this, this);
969
930
  return n.operator = r, n;
970
931
  }, t.prototype._throwIfClosed = function() {
971
932
  if (this.closed)
@@ -977,7 +938,7 @@ var vi = Jr(function(e) {
977
938
  if (n._throwIfClosed(), !n.isStopped) {
978
939
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
979
940
  try {
980
- for (var s = Yt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
941
+ for (var s = er(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
981
942
  var h = a.value;
982
943
  h.next(r);
983
944
  }
@@ -1026,20 +987,20 @@ var vi = Jr(function(e) {
1026
987
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1027
988
  }, t.prototype._innerSubscribe = function(r) {
1028
989
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1029
- return o || s ? Qr : (this.currentObservers = null, a.push(r), new Ht(function() {
1030
- n.currentObservers = null, er(a, r);
990
+ return o || s ? Kr : (this.currentObservers = null, a.push(r), new Pt(function() {
991
+ n.currentObservers = null, nr(a, r);
1031
992
  }));
1032
993
  }, t.prototype._checkFinalizedStatuses = function(r) {
1033
994
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1034
995
  i ? r.error(o) : s && r.complete();
1035
996
  }, t.prototype.asObservable = function() {
1036
- var r = new wr();
997
+ var r = new Sr();
1037
998
  return r.source = this, r;
1038
999
  }, t.create = function(r, n) {
1039
- return new Sr(r, n);
1000
+ return new Hr(r, n);
1040
1001
  }, t;
1041
- }(wr), Sr = function(e) {
1042
- Te(t, e);
1002
+ }(Sr), Hr = function(e) {
1003
+ ct(t, e);
1043
1004
  function t(r, n) {
1044
1005
  var i = e.call(this) || this;
1045
1006
  return i.destination = r, i.source = n, i;
@@ -1055,17 +1016,17 @@ var vi = Jr(function(e) {
1055
1016
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1056
1017
  }, t.prototype._subscribe = function(r) {
1057
1018
  var n, i;
1058
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qr;
1019
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kr;
1059
1020
  }, t;
1060
- }(tn), rn = {
1021
+ }(rn), nn = {
1061
1022
  now: function() {
1062
- return (rn.delegate || Date).now();
1023
+ return (nn.delegate || Date).now();
1063
1024
  },
1064
1025
  delegate: void 0
1065
1026
  }, yi = function(e) {
1066
- Te(t, e);
1027
+ ct(t, e);
1067
1028
  function t(r, n, i) {
1068
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rn);
1029
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nn);
1069
1030
  var o = e.call(this) || this;
1070
1031
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1071
1032
  }
@@ -1085,13 +1046,13 @@ var vi = Jr(function(e) {
1085
1046
  u && o.splice(0, u + 1);
1086
1047
  }
1087
1048
  }, t;
1088
- }(tn);
1089
- const Ar = [], Hr = {}, Ei = (e, t = 0) => {
1090
- if (Ar.indexOf(e) == -1) {
1049
+ }(rn);
1050
+ const Pr = [], Br = {}, Ei = (e, t = 0) => {
1051
+ if (Pr.indexOf(e) == -1) {
1091
1052
  const r = new yi(t);
1092
- Hr[e] = r, Ar.push(e);
1053
+ Br[e] = r, Pr.push(e);
1093
1054
  }
1094
- return Hr[e];
1055
+ return Br[e];
1095
1056
  }, ke = [];
1096
1057
  function _i(e, t) {
1097
1058
  return {
@@ -1102,7 +1063,7 @@ function Bt(e, t = ce) {
1102
1063
  let r;
1103
1064
  const n = /* @__PURE__ */ new Set();
1104
1065
  function i(a) {
1105
- if (Wr(e, a) && (e = a, r)) {
1066
+ if (Zr(e, a) && (e = a, r)) {
1106
1067
  const h = !ke.length;
1107
1068
  for (const u of n)
1108
1069
  u[1](), ke.push(u, e);
@@ -1124,7 +1085,7 @@ function Bt(e, t = ce) {
1124
1085
  }
1125
1086
  return { set: i, update: o, subscribe: s };
1126
1087
  }
1127
- function Ye(e, t, r) {
1088
+ function Qe(e, t, r) {
1128
1089
  const n = !Array.isArray(e), i = n ? [e] : e;
1129
1090
  if (!i.every(Boolean))
1130
1091
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1133,25 +1094,25 @@ function Ye(e, t, r) {
1133
1094
  let h = !1;
1134
1095
  const u = [];
1135
1096
  let c = 0, d = ce;
1136
- const p = () => {
1097
+ const m = () => {
1137
1098
  if (c)
1138
1099
  return;
1139
1100
  d();
1140
- const I = t(n ? u[0] : u, s, a);
1141
- o ? s(I) : d = At(I) ? I : ce;
1101
+ const C = t(n ? u[0] : u, s, a);
1102
+ o ? s(C) : d = Ht(C) ? C : ce;
1142
1103
  }, _ = i.map(
1143
- (I, H) => qr(
1144
- I,
1104
+ (C, H) => Jr(
1105
+ C,
1145
1106
  (te) => {
1146
- u[H] = te, c &= ~(1 << H), h && p();
1107
+ u[H] = te, c &= ~(1 << H), h && m();
1147
1108
  },
1148
1109
  () => {
1149
1110
  c |= 1 << H;
1150
1111
  }
1151
1112
  )
1152
1113
  );
1153
- return h = !0, p(), function() {
1154
- ct(_), d(), h = !1;
1114
+ return h = !0, m(), function() {
1115
+ ft(_), d(), h = !1;
1155
1116
  };
1156
1117
  });
1157
1118
  }
@@ -1167,38 +1128,38 @@ function Si(e) {
1167
1128
  }
1168
1129
  function Ai(e) {
1169
1130
  var t = Object.prototype.toString.call(e);
1170
- return t === "[object RegExp]" || t === "[object Date]" || Pi(e);
1131
+ return t === "[object RegExp]" || t === "[object Date]" || Bi(e);
1171
1132
  }
1172
- var Hi = typeof Symbol == "function" && Symbol.for, Bi = Hi ? Symbol.for("react.element") : 60103;
1173
- function Pi(e) {
1174
- return e.$$typeof === Bi;
1133
+ var Hi = typeof Symbol == "function" && Symbol.for, Pi = Hi ? Symbol.for("react.element") : 60103;
1134
+ function Bi(e) {
1135
+ return e.$$typeof === Pi;
1175
1136
  }
1176
- function Ci(e) {
1137
+ function Oi(e) {
1177
1138
  return Array.isArray(e) ? [] : {};
1178
1139
  }
1179
- function ht(e, t) {
1180
- return t.clone !== !1 && t.isMergeableObject(e) ? qe(Ci(e), e, t) : e;
1140
+ function lt(e, t) {
1141
+ return t.clone !== !1 && t.isMergeableObject(e) ? We(Oi(e), e, t) : e;
1181
1142
  }
1182
- function Oi(e, t, r) {
1143
+ function Ci(e, t, r) {
1183
1144
  return e.concat(t).map(function(n) {
1184
- return ht(n, r);
1145
+ return lt(n, r);
1185
1146
  });
1186
1147
  }
1187
1148
  function Ii(e, t) {
1188
1149
  if (!t.customMerge)
1189
- return qe;
1150
+ return We;
1190
1151
  var r = t.customMerge(e);
1191
- return typeof r == "function" ? r : qe;
1152
+ return typeof r == "function" ? r : We;
1192
1153
  }
1193
1154
  function Li(e) {
1194
1155
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1195
1156
  return Object.propertyIsEnumerable.call(e, t);
1196
1157
  }) : [];
1197
1158
  }
1198
- function Br(e) {
1159
+ function Or(e) {
1199
1160
  return Object.keys(e).concat(Li(e));
1200
1161
  }
1201
- function nn(e, t) {
1162
+ function on(e, t) {
1202
1163
  try {
1203
1164
  return t in e;
1204
1165
  } catch (r) {
@@ -1206,129 +1167,179 @@ function nn(e, t) {
1206
1167
  }
1207
1168
  }
1208
1169
  function Ni(e, t) {
1209
- return nn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1170
+ return on(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1210
1171
  }
1211
1172
  function Mi(e, t, r) {
1212
1173
  var n = {};
1213
- return r.isMergeableObject(e) && Br(e).forEach(function(i) {
1214
- n[i] = ht(e[i], r);
1215
- }), Br(t).forEach(function(i) {
1216
- Ni(e, i) || (nn(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ii(i, r)(e[i], t[i], r) : n[i] = ht(t[i], r));
1174
+ return r.isMergeableObject(e) && Or(e).forEach(function(i) {
1175
+ n[i] = lt(e[i], r);
1176
+ }), Or(t).forEach(function(i) {
1177
+ Ni(e, i) || (on(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ii(i, r)(e[i], t[i], r) : n[i] = lt(t[i], r));
1217
1178
  }), n;
1218
1179
  }
1219
- function qe(e, t, r) {
1220
- r = r || {}, r.arrayMerge = r.arrayMerge || Oi, r.isMergeableObject = r.isMergeableObject || Ti, r.cloneUnlessOtherwiseSpecified = ht;
1180
+ function We(e, t, r) {
1181
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ci, r.isMergeableObject = r.isMergeableObject || Ti, r.cloneUnlessOtherwiseSpecified = lt;
1221
1182
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1222
- return o ? n ? r.arrayMerge(e, t, r) : Mi(e, t, r) : ht(t, r);
1183
+ return o ? n ? r.arrayMerge(e, t, r) : Mi(e, t, r) : lt(t, r);
1223
1184
  }
1224
- qe.all = function(t, r) {
1185
+ We.all = function(t, r) {
1225
1186
  if (!Array.isArray(t))
1226
1187
  throw new Error("first argument should be an array");
1227
1188
  return t.reduce(function(n, i) {
1228
- return qe(n, i, r);
1189
+ return We(n, i, r);
1229
1190
  }, {});
1230
1191
  };
1231
- var Ri = qe, Di = Ri;
1192
+ var Ri = We, Di = Ri;
1232
1193
  const Fi = /* @__PURE__ */ wi(Di);
1233
- function Gt(e, t) {
1234
- var r = t && t.cache ? t.cache : Vi, n = t && t.serializer ? t.serializer : ki, i = t && t.strategy ? t.strategy : Gi;
1194
+ var or = function(e, t) {
1195
+ return or = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1196
+ r.__proto__ = n;
1197
+ } || function(r, n) {
1198
+ for (var i in n)
1199
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1200
+ }, or(e, t);
1201
+ };
1202
+ function Ot(e, t) {
1203
+ if (typeof t != "function" && t !== null)
1204
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1205
+ or(e, t);
1206
+ function r() {
1207
+ this.constructor = e;
1208
+ }
1209
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1210
+ }
1211
+ var ye = function() {
1212
+ return ye = Object.assign || function(t) {
1213
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1214
+ r = arguments[n];
1215
+ for (var o in r)
1216
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1217
+ }
1218
+ return t;
1219
+ }, ye.apply(this, arguments);
1220
+ };
1221
+ function Ui(e, t) {
1222
+ var r = {};
1223
+ for (var n in e)
1224
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1225
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1226
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1227
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1228
+ return r;
1229
+ }
1230
+ function jt(e, t, r) {
1231
+ if (r || arguments.length === 2)
1232
+ for (var n = 0, i = t.length, o; n < i; n++)
1233
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1234
+ return e.concat(o || Array.prototype.slice.call(t));
1235
+ }
1236
+ function $t(e, t) {
1237
+ var r = t && t.cache ? t.cache : zi, n = t && t.serializer ? t.serializer : Vi, i = t && t.strategy ? t.strategy : $i;
1235
1238
  return i(e, {
1236
1239
  cache: r,
1237
1240
  serializer: n
1238
1241
  });
1239
1242
  }
1240
- function Ui(e) {
1243
+ function Gi(e) {
1241
1244
  return e == null || typeof e == "number" || typeof e == "boolean";
1242
1245
  }
1243
- function on(e, t, r, n) {
1244
- var i = Ui(n) ? n : r(n), o = t.get(i);
1246
+ function ji(e, t, r, n) {
1247
+ var i = Gi(n) ? n : r(n), o = t.get(i);
1245
1248
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1246
1249
  }
1247
1250
  function sn(e, t, r) {
1248
1251
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1249
1252
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1250
1253
  }
1251
- function fr(e, t, r, n, i) {
1254
+ function an(e, t, r, n, i) {
1252
1255
  return r.bind(t, e, n, i);
1253
1256
  }
1254
- function Gi(e, t) {
1255
- var r = e.length === 1 ? on : sn;
1256
- return fr(e, this, r, t.cache.create(), t.serializer);
1257
- }
1258
- function ji(e, t) {
1259
- return fr(e, this, sn, t.cache.create(), t.serializer);
1260
- }
1261
1257
  function $i(e, t) {
1262
- return fr(e, this, on, t.cache.create(), t.serializer);
1258
+ var r = e.length === 1 ? ji : sn;
1259
+ return an(e, this, r, t.cache.create(), t.serializer);
1263
1260
  }
1264
- var ki = function() {
1265
- return JSON.stringify(arguments);
1266
- };
1267
- function cr() {
1268
- this.cache = /* @__PURE__ */ Object.create(null);
1261
+ function ki(e, t) {
1262
+ return an(e, this, sn, t.cache.create(), t.serializer);
1269
1263
  }
1270
- cr.prototype.get = function(e) {
1271
- return this.cache[e];
1272
- };
1273
- cr.prototype.set = function(e, t) {
1274
- this.cache[e] = t;
1275
- };
1276
- var Vi = {
1264
+ var Vi = function() {
1265
+ return JSON.stringify(arguments);
1266
+ }, Xi = (
1267
+ /** @class */
1268
+ function() {
1269
+ function e() {
1270
+ this.cache = /* @__PURE__ */ Object.create(null);
1271
+ }
1272
+ return e.prototype.get = function(t) {
1273
+ return this.cache[t];
1274
+ }, e.prototype.set = function(t, r) {
1275
+ this.cache[t] = r;
1276
+ }, e;
1277
+ }()
1278
+ ), zi = {
1277
1279
  create: function() {
1278
- return new cr();
1280
+ return new Xi();
1279
1281
  }
1280
- }, jt = {
1281
- variadic: ji,
1282
- monadic: $i
1283
- }, S;
1282
+ }, kt = {
1283
+ variadic: ki
1284
+ }, Tt = function() {
1285
+ return Tt = Object.assign || function(t) {
1286
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1287
+ r = arguments[n];
1288
+ for (var o in r)
1289
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1290
+ }
1291
+ return t;
1292
+ }, Tt.apply(this, arguments);
1293
+ };
1294
+ var S;
1284
1295
  (function(e) {
1285
1296
  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";
1286
1297
  })(S || (S = {}));
1287
- var D;
1298
+ var R;
1288
1299
  (function(e) {
1289
1300
  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";
1290
- })(D || (D = {}));
1291
- var Ze;
1301
+ })(R || (R = {}));
1302
+ var qe;
1292
1303
  (function(e) {
1293
1304
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1294
- })(Ze || (Ze = {}));
1295
- function Pr(e) {
1296
- return e.type === D.literal;
1297
- }
1298
- function Xi(e) {
1299
- return e.type === D.argument;
1305
+ })(qe || (qe = {}));
1306
+ function Cr(e) {
1307
+ return e.type === R.literal;
1300
1308
  }
1301
- function an(e) {
1302
- return e.type === D.number;
1309
+ function Wi(e) {
1310
+ return e.type === R.argument;
1303
1311
  }
1304
1312
  function un(e) {
1305
- return e.type === D.date;
1313
+ return e.type === R.number;
1306
1314
  }
1307
1315
  function ln(e) {
1308
- return e.type === D.time;
1316
+ return e.type === R.date;
1309
1317
  }
1310
1318
  function hn(e) {
1311
- return e.type === D.select;
1319
+ return e.type === R.time;
1312
1320
  }
1313
1321
  function fn(e) {
1314
- return e.type === D.plural;
1315
- }
1316
- function zi(e) {
1317
- return e.type === D.pound;
1322
+ return e.type === R.select;
1318
1323
  }
1319
1324
  function cn(e) {
1320
- return e.type === D.tag;
1325
+ return e.type === R.plural;
1326
+ }
1327
+ function qi(e) {
1328
+ return e.type === R.pound;
1321
1329
  }
1322
1330
  function dn(e) {
1323
- return !!(e && typeof e == "object" && e.type === Ze.number);
1331
+ return e.type === R.tag;
1324
1332
  }
1325
- function rr(e) {
1326
- return !!(e && typeof e == "object" && e.type === Ze.dateTime);
1333
+ function pn(e) {
1334
+ return !!(e && typeof e == "object" && e.type === qe.number);
1327
1335
  }
1328
- var mn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wi = /(?:[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;
1329
- function qi(e) {
1336
+ function sr(e) {
1337
+ return !!(e && typeof e == "object" && e.type === qe.dateTime);
1338
+ }
1339
+ var mn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zi = /(?:[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;
1340
+ function Ji(e) {
1330
1341
  var t = {};
1331
- return e.replace(Wi, function(r) {
1342
+ return e.replace(Zi, function(r) {
1332
1343
  var n = r.length;
1333
1344
  switch (r[0]) {
1334
1345
  case "G":
@@ -1417,12 +1428,22 @@ function qi(e) {
1417
1428
  return "";
1418
1429
  }), t;
1419
1430
  }
1420
- var Zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1421
- function Ji(e) {
1431
+ var F = function() {
1432
+ return F = Object.assign || function(t) {
1433
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1434
+ r = arguments[n];
1435
+ for (var o in r)
1436
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1437
+ }
1438
+ return t;
1439
+ }, F.apply(this, arguments);
1440
+ };
1441
+ var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1442
+ function Yi(e) {
1422
1443
  if (e.length === 0)
1423
1444
  throw new Error("Number skeleton cannot be empty");
1424
- for (var t = e.split(Zi).filter(function(p) {
1425
- return p.length > 0;
1445
+ for (var t = e.split(Qi).filter(function(m) {
1446
+ return m.length > 0;
1426
1447
  }), r = [], n = 0, i = t; n < i.length; n++) {
1427
1448
  var o = i[n], s = o.split("/");
1428
1449
  if (s.length === 0)
@@ -1436,17 +1457,17 @@ function Ji(e) {
1436
1457
  }
1437
1458
  return r;
1438
1459
  }
1439
- function Qi(e) {
1460
+ function Ki(e) {
1440
1461
  return e.replace(/^(.*?)-/, "");
1441
1462
  }
1442
- var Cr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, Yi = /(\*)(0+)|(#+)(0+)|(0+)/g, bn = /^(0+)$/;
1443
- function Or(e) {
1463
+ var Ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, bn = /^(@+)?(\+|#+)?[rs]?$/g, eo = /(\*)(0+)|(#+)(0+)|(0+)/g, gn = /^(0+)$/;
1464
+ function Lr(e) {
1444
1465
  var t = {};
1445
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(r, n, i) {
1466
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(bn, function(r, n, i) {
1446
1467
  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)), "";
1447
1468
  }), t;
1448
1469
  }
1449
- function gn(e) {
1470
+ function vn(e) {
1450
1471
  switch (e) {
1451
1472
  case "sign-auto":
1452
1473
  return {
@@ -1486,7 +1507,7 @@ function gn(e) {
1486
1507
  };
1487
1508
  }
1488
1509
  }
1489
- function Ki(e) {
1510
+ function to(e) {
1490
1511
  var t;
1491
1512
  if (e[0] === "E" && e[1] === "E" ? (t = {
1492
1513
  notation: "engineering"
@@ -1494,17 +1515,17 @@ function Ki(e) {
1494
1515
  notation: "scientific"
1495
1516
  }, e = e.slice(1)), t) {
1496
1517
  var r = e.slice(0, 2);
1497
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !bn.test(e))
1518
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gn.test(e))
1498
1519
  throw new Error("Malformed concise eng/scientific notation");
1499
1520
  t.minimumIntegerDigits = e.length;
1500
1521
  }
1501
1522
  return t;
1502
1523
  }
1503
- function Ir(e) {
1504
- var t = {}, r = gn(e);
1524
+ function Nr(e) {
1525
+ var t = {}, r = vn(e);
1505
1526
  return r || t;
1506
1527
  }
1507
- function eo(e) {
1528
+ function ro(e) {
1508
1529
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1509
1530
  var i = n[r];
1510
1531
  switch (i.stem) {
@@ -1528,7 +1549,7 @@ function eo(e) {
1528
1549
  continue;
1529
1550
  case "measure-unit":
1530
1551
  case "unit":
1531
- t.style = "unit", t.unit = Qi(i.options[0]);
1552
+ t.style = "unit", t.unit = Ki(i.options[0]);
1532
1553
  continue;
1533
1554
  case "compact-short":
1534
1555
  case "K":
@@ -1539,13 +1560,13 @@ function eo(e) {
1539
1560
  t.notation = "compact", t.compactDisplay = "long";
1540
1561
  continue;
1541
1562
  case "scientific":
1542
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1543
- return C(C({}, h), Ir(u));
1563
+ t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1564
+ return F(F({}, h), Nr(u));
1544
1565
  }, {}));
1545
1566
  continue;
1546
1567
  case "engineering":
1547
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1548
- return C(C({}, h), Ir(u));
1568
+ t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1569
+ return F(F({}, h), Nr(u));
1549
1570
  }, {}));
1550
1571
  continue;
1551
1572
  case "notation-simple":
@@ -1590,11 +1611,11 @@ function eo(e) {
1590
1611
  case "integer-width":
1591
1612
  if (i.options.length > 1)
1592
1613
  throw new RangeError("integer-width stems only accept a single optional option");
1593
- i.options[0].replace(Yi, function(h, u, c, d, p, _) {
1614
+ i.options[0].replace(eo, function(h, u, c, d, m, _) {
1594
1615
  if (u)
1595
1616
  t.minimumIntegerDigits = c.length;
1596
1617
  else {
1597
- if (d && p)
1618
+ if (d && m)
1598
1619
  throw new Error("We currently do not support maximum integer digits");
1599
1620
  if (_)
1600
1621
  throw new Error("We currently do not support exact integer digits");
@@ -1603,28 +1624,28 @@ function eo(e) {
1603
1624
  });
1604
1625
  continue;
1605
1626
  }
1606
- if (bn.test(i.stem)) {
1627
+ if (gn.test(i.stem)) {
1607
1628
  t.minimumIntegerDigits = i.stem.length;
1608
1629
  continue;
1609
1630
  }
1610
- if (Cr.test(i.stem)) {
1631
+ if (Ir.test(i.stem)) {
1611
1632
  if (i.options.length > 1)
1612
1633
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1613
- i.stem.replace(Cr, function(h, u, c, d, p, _) {
1614
- return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1634
+ i.stem.replace(Ir, function(h, u, c, d, m, _) {
1635
+ return c === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : m && _ ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1615
1636
  });
1616
1637
  var o = i.options[0];
1617
- o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Or(o)));
1638
+ o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), Lr(o)));
1618
1639
  continue;
1619
1640
  }
1620
- if (pn.test(i.stem)) {
1621
- t = C(C({}, t), Or(i.stem));
1641
+ if (bn.test(i.stem)) {
1642
+ t = F(F({}, t), Lr(i.stem));
1622
1643
  continue;
1623
1644
  }
1624
- var s = gn(i.stem);
1625
- s && (t = C(C({}, t), s));
1626
- var a = Ki(i.stem);
1627
- a && (t = C(C({}, t), a));
1645
+ var s = vn(i.stem);
1646
+ s && (t = F(F({}, t), s));
1647
+ var a = to(i.stem);
1648
+ a && (t = F(F({}, t), a));
1628
1649
  }
1629
1650
  return t;
1630
1651
  }
@@ -3043,13 +3064,13 @@ var yt = {
3043
3064
  "h"
3044
3065
  ]
3045
3066
  };
3046
- function to(e, t) {
3067
+ function no(e, t) {
3047
3068
  for (var r = "", n = 0; n < e.length; n++) {
3048
3069
  var i = e.charAt(n);
3049
3070
  if (i === "j") {
3050
3071
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3051
3072
  o++, n++;
3052
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ro(t);
3073
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = io(t);
3053
3074
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3054
3075
  r += h;
3055
3076
  for (; s-- > 0; )
@@ -3059,7 +3080,7 @@ function to(e, t) {
3059
3080
  }
3060
3081
  return r;
3061
3082
  }
3062
- function ro(e) {
3083
+ function io(e) {
3063
3084
  var t = e.hourCycle;
3064
3085
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3065
3086
  e.hourCycles && // @ts-ignore
@@ -3081,20 +3102,20 @@ function ro(e) {
3081
3102
  var i = yt[n || ""] || yt[r || ""] || yt["".concat(r, "-001")] || yt["001"];
3082
3103
  return i[0];
3083
3104
  }
3084
- var $t, no = new RegExp("^".concat(mn.source, "*")), io = new RegExp("".concat(mn.source, "*$"));
3105
+ var Vt, oo = new RegExp("^".concat(mn.source, "*")), so = new RegExp("".concat(mn.source, "*$"));
3085
3106
  function A(e, t) {
3086
3107
  return { start: e, end: t };
3087
3108
  }
3088
- var oo = !!String.prototype.startsWith && "_a".startsWith("a", 1), so = !!String.fromCodePoint, ao = !!Object.fromEntries, uo = !!String.prototype.codePointAt, lo = !!String.prototype.trimStart, ho = !!String.prototype.trimEnd, fo = !!Number.isSafeInteger, co = fo ? Number.isSafeInteger : function(e) {
3109
+ var ao = !!String.prototype.startsWith && "_a".startsWith("a", 1), uo = !!String.fromCodePoint, lo = !!Object.fromEntries, ho = !!String.prototype.codePointAt, fo = !!String.prototype.trimStart, co = !!String.prototype.trimEnd, po = !!Number.isSafeInteger, mo = po ? Number.isSafeInteger : function(e) {
3089
3110
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3090
- }, nr = !0;
3111
+ }, ar = !0;
3091
3112
  try {
3092
- var mo = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3093
- nr = (($t = mo.exec("a")) === null || $t === void 0 ? void 0 : $t[0]) === "a";
3113
+ var bo = En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
+ ar = ((Vt = bo.exec("a")) === null || Vt === void 0 ? void 0 : Vt[0]) === "a";
3094
3115
  } catch (e) {
3095
- nr = !1;
3116
+ ar = !1;
3096
3117
  }
3097
- var Lr = oo ? (
3118
+ var Mr = ao ? (
3098
3119
  // Native
3099
3120
  function(t, r, n) {
3100
3121
  return t.startsWith(r, n);
@@ -3104,7 +3125,7 @@ var Lr = oo ? (
3104
3125
  function(t, r, n) {
3105
3126
  return t.slice(n, n + r.length) === r;
3106
3127
  }
3107
- ), ir = so ? String.fromCodePoint : (
3128
+ ), ur = uo ? String.fromCodePoint : (
3108
3129
  // IE11
3109
3130
  function() {
3110
3131
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3116,9 +3137,9 @@ var Lr = oo ? (
3116
3137
  }
3117
3138
  return n;
3118
3139
  }
3119
- ), Nr = (
3140
+ ), Rr = (
3120
3141
  // native
3121
- ao ? Object.fromEntries : (
3142
+ lo ? Object.fromEntries : (
3122
3143
  // Ponyfill
3123
3144
  function(t) {
3124
3145
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3128,7 +3149,7 @@ var Lr = oo ? (
3128
3149
  return r;
3129
3150
  }
3130
3151
  )
3131
- ), vn = uo ? (
3152
+ ), yn = ho ? (
3132
3153
  // Native
3133
3154
  function(t, r) {
3134
3155
  return t.codePointAt(r);
@@ -3142,7 +3163,7 @@ var Lr = oo ? (
3142
3163
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3143
3164
  }
3144
3165
  }
3145
- ), po = lo ? (
3166
+ ), go = fo ? (
3146
3167
  // Native
3147
3168
  function(t) {
3148
3169
  return t.trimStart();
@@ -3150,9 +3171,9 @@ var Lr = oo ? (
3150
3171
  ) : (
3151
3172
  // Ponyfill
3152
3173
  function(t) {
3153
- return t.replace(no, "");
3174
+ return t.replace(oo, "");
3154
3175
  }
3155
- ), bo = ho ? (
3176
+ ), vo = co ? (
3156
3177
  // Native
3157
3178
  function(t) {
3158
3179
  return t.trimEnd();
@@ -3160,32 +3181,32 @@ var Lr = oo ? (
3160
3181
  ) : (
3161
3182
  // Ponyfill
3162
3183
  function(t) {
3163
- return t.replace(io, "");
3184
+ return t.replace(so, "");
3164
3185
  }
3165
3186
  );
3166
- function yn(e, t) {
3187
+ function En(e, t) {
3167
3188
  return new RegExp(e, t);
3168
3189
  }
3169
- var or;
3170
- if (nr) {
3171
- var Mr = yn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3172
- or = function(t, r) {
3190
+ var lr;
3191
+ if (ar) {
3192
+ var Dr = En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3193
+ lr = function(t, r) {
3173
3194
  var n;
3174
- Mr.lastIndex = r;
3175
- var i = Mr.exec(t);
3195
+ Dr.lastIndex = r;
3196
+ var i = Dr.exec(t);
3176
3197
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3177
3198
  };
3178
3199
  } else
3179
- or = function(t, r) {
3200
+ lr = function(t, r) {
3180
3201
  for (var n = []; ; ) {
3181
- var i = vn(t, r);
3182
- if (i === void 0 || En(i) || Eo(i))
3202
+ var i = yn(t, r);
3203
+ if (i === void 0 || _n(i) || xo(i))
3183
3204
  break;
3184
3205
  n.push(i), r += i >= 65536 ? 2 : 1;
3185
3206
  }
3186
- return ir.apply(void 0, n);
3207
+ return ur.apply(void 0, n);
3187
3208
  };
3188
- var go = (
3209
+ var yo = (
3189
3210
  /** @class */
3190
3211
  function() {
3191
3212
  function e(t, r) {
@@ -3209,14 +3230,14 @@ var go = (
3209
3230
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3210
3231
  var a = this.clonePosition();
3211
3232
  this.bump(), i.push({
3212
- type: D.pound,
3233
+ type: R.pound,
3213
3234
  location: A(a, this.clonePosition())
3214
3235
  });
3215
3236
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3216
3237
  if (n)
3217
3238
  break;
3218
3239
  return this.error(S.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
3219
- } else if (o === 60 && !this.ignoreTag && sr(this.peek() || 0)) {
3240
+ } else if (o === 60 && !this.ignoreTag && hr(this.peek() || 0)) {
3220
3241
  var s = this.parseTag(t, r);
3221
3242
  if (s.err)
3222
3243
  return s;
@@ -3237,7 +3258,7 @@ var go = (
3237
3258
  if (this.bumpSpace(), this.bumpIf("/>"))
3238
3259
  return {
3239
3260
  val: {
3240
- type: D.literal,
3261
+ type: R.literal,
3241
3262
  value: "<".concat(i, "/>"),
3242
3263
  location: A(n, this.clonePosition())
3243
3264
  },
@@ -3249,12 +3270,12 @@ var go = (
3249
3270
  return o;
3250
3271
  var s = o.val, a = this.clonePosition();
3251
3272
  if (this.bumpIf("</")) {
3252
- if (this.isEOF() || !sr(this.char()))
3273
+ if (this.isEOF() || !hr(this.char()))
3253
3274
  return this.error(S.INVALID_TAG, A(a, this.clonePosition()));
3254
3275
  var h = this.clonePosition(), u = this.parseTagName();
3255
3276
  return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, A(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3256
3277
  val: {
3257
- type: D.tag,
3278
+ type: R.tag,
3258
3279
  value: i,
3259
3280
  children: s,
3260
3281
  location: A(n, this.clonePosition())
@@ -3267,7 +3288,7 @@ var go = (
3267
3288
  return this.error(S.INVALID_TAG, A(n, this.clonePosition()));
3268
3289
  }, e.prototype.parseTagName = function() {
3269
3290
  var t = this.offset();
3270
- for (this.bump(); !this.isEOF() && yo(this.char()); )
3291
+ for (this.bump(); !this.isEOF() && _o(this.char()); )
3271
3292
  this.bump();
3272
3293
  return this.message.slice(t, this.offset());
3273
3294
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3291,12 +3312,12 @@ var go = (
3291
3312
  }
3292
3313
  var h = A(n, this.clonePosition());
3293
3314
  return {
3294
- val: { type: D.literal, value: i, location: h },
3315
+ val: { type: R.literal, value: i, location: h },
3295
3316
  err: null
3296
3317
  };
3297
3318
  }, e.prototype.tryParseLeftAngleBracket = function() {
3298
3319
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3299
- !vo(this.peek() || 0)) ? (this.bump(), "<") : null;
3320
+ !Eo(this.peek() || 0)) ? (this.bump(), "<") : null;
3300
3321
  }, e.prototype.tryParseQuote = function(t) {
3301
3322
  if (this.isEOF() || this.char() !== 39)
3302
3323
  return null;
@@ -3330,12 +3351,12 @@ var go = (
3330
3351
  r.push(n);
3331
3352
  this.bump();
3332
3353
  }
3333
- return ir.apply(void 0, r);
3354
+ return ur.apply(void 0, r);
3334
3355
  }, e.prototype.tryParseUnquoted = function(t, r) {
3335
3356
  if (this.isEOF())
3336
3357
  return null;
3337
3358
  var n = this.char();
3338
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ir(n));
3359
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ur(n));
3339
3360
  }, e.prototype.parseArgument = function(t, r) {
3340
3361
  var n = this.clonePosition();
3341
3362
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3351,7 +3372,7 @@ var go = (
3351
3372
  case 125:
3352
3373
  return this.bump(), {
3353
3374
  val: {
3354
- type: D.argument,
3375
+ type: R.argument,
3355
3376
  // value does not include the opening and closing braces.
3356
3377
  value: i,
3357
3378
  location: A(n, this.clonePosition())
@@ -3364,7 +3385,7 @@ var go = (
3364
3385
  return this.error(S.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
3365
3386
  }
3366
3387
  }, e.prototype.parseIdentifierIfPossible = function() {
3367
- var t = this.clonePosition(), r = this.offset(), n = or(this.message, r), i = r + n.length;
3388
+ var t = this.clonePosition(), r = this.offset(), n = lr(this.message, r), i = r + n.length;
3368
3389
  this.bumpTo(i);
3369
3390
  var o = this.clonePosition(), s = A(t, o);
3370
3391
  return { value: n, location: s };
@@ -3383,44 +3404,44 @@ var go = (
3383
3404
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3384
3405
  if (d.err)
3385
3406
  return d;
3386
- var p = bo(d.val);
3387
- if (p.length === 0)
3407
+ var m = vo(d.val);
3408
+ if (m.length === 0)
3388
3409
  return this.error(S.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
3389
3410
  var _ = A(c, this.clonePosition());
3390
- u = { style: p, styleLocation: _ };
3411
+ u = { style: m, styleLocation: _ };
3391
3412
  }
3392
- var I = this.tryParseArgumentClose(i);
3393
- if (I.err)
3394
- return I;
3413
+ var C = this.tryParseArgumentClose(i);
3414
+ if (C.err)
3415
+ return C;
3395
3416
  var H = A(i, this.clonePosition());
3396
- if (u && Lr(u == null ? void 0 : u.style, "::", 0)) {
3397
- var te = po(u.style.slice(2));
3417
+ if (u && Mr(u == null ? void 0 : u.style, "::", 0)) {
3418
+ var te = go(u.style.slice(2));
3398
3419
  if (a === "number") {
3399
3420
  var d = this.parseNumberSkeletonFromString(te, u.styleLocation);
3400
3421
  return d.err ? d : {
3401
- val: { type: D.number, value: n, location: H, style: d.val },
3422
+ val: { type: R.number, value: n, location: H, style: d.val },
3402
3423
  err: null
3403
3424
  };
3404
3425
  } else {
3405
3426
  if (te.length === 0)
3406
3427
  return this.error(S.EXPECT_DATE_TIME_SKELETON, H);
3407
3428
  var de = te;
3408
- this.locale && (de = to(te, this.locale));
3409
- var p = {
3410
- type: Ze.dateTime,
3429
+ this.locale && (de = no(te, this.locale));
3430
+ var m = {
3431
+ type: qe.dateTime,
3411
3432
  pattern: de,
3412
3433
  location: u.styleLocation,
3413
- parsedOptions: this.shouldParseSkeletons ? qi(de) : {}
3414
- }, ne = a === "date" ? D.date : D.time;
3434
+ parsedOptions: this.shouldParseSkeletons ? Ji(de) : {}
3435
+ }, ne = a === "date" ? R.date : R.time;
3415
3436
  return {
3416
- val: { type: ne, value: n, location: H, style: p },
3437
+ val: { type: ne, value: n, location: H, style: m },
3417
3438
  err: null
3418
3439
  };
3419
3440
  }
3420
3441
  }
3421
3442
  return {
3422
3443
  val: {
3423
- type: a === "number" ? D.number : a === "date" ? D.date : D.time,
3444
+ type: a === "number" ? R.number : a === "date" ? R.date : R.time,
3424
3445
  value: n,
3425
3446
  location: H,
3426
3447
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3431,9 +3452,9 @@ var go = (
3431
3452
  case "plural":
3432
3453
  case "selectordinal":
3433
3454
  case "select": {
3434
- var N = this.clonePosition();
3455
+ var L = this.clonePosition();
3435
3456
  if (this.bumpSpace(), !this.bumpIf(","))
3436
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, A(N, C({}, N)));
3457
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, A(L, Tt({}, L)));
3437
3458
  this.bumpSpace();
3438
3459
  var $ = this.parseIdentifierIfPossible(), q = 0;
3439
3460
  if (a !== "select" && $.value === "offset") {
@@ -3448,23 +3469,23 @@ var go = (
3448
3469
  var le = this.tryParsePluralOrSelectOptions(t, a, r, $);
3449
3470
  if (le.err)
3450
3471
  return le;
3451
- var I = this.tryParseArgumentClose(i);
3452
- if (I.err)
3453
- return I;
3472
+ var C = this.tryParseArgumentClose(i);
3473
+ if (C.err)
3474
+ return C;
3454
3475
  var ge = A(i, this.clonePosition());
3455
3476
  return a === "select" ? {
3456
3477
  val: {
3457
- type: D.select,
3478
+ type: R.select,
3458
3479
  value: n,
3459
- options: Nr(le.val),
3480
+ options: Rr(le.val),
3460
3481
  location: ge
3461
3482
  },
3462
3483
  err: null
3463
3484
  } : {
3464
3485
  val: {
3465
- type: D.plural,
3486
+ type: R.plural,
3466
3487
  value: n,
3467
- options: Nr(le.val),
3488
+ options: Rr(le.val),
3468
3489
  offset: q,
3469
3490
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3470
3491
  location: ge
@@ -3515,16 +3536,16 @@ var go = (
3515
3536
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3516
3537
  var n = [];
3517
3538
  try {
3518
- n = Ji(t);
3539
+ n = Yi(t);
3519
3540
  } catch (i) {
3520
3541
  return this.error(S.INVALID_NUMBER_SKELETON, r);
3521
3542
  }
3522
3543
  return {
3523
3544
  val: {
3524
- type: Ze.number,
3545
+ type: qe.number,
3525
3546
  tokens: n,
3526
3547
  location: r,
3527
- parsedOptions: this.shouldParseSkeletons ? eo(n) : {}
3548
+ parsedOptions: this.shouldParseSkeletons ? ro(n) : {}
3528
3549
  },
3529
3550
  err: null
3530
3551
  };
@@ -3533,9 +3554,9 @@ var go = (
3533
3554
  if (u.length === 0) {
3534
3555
  var d = this.clonePosition();
3535
3556
  if (r !== "select" && this.bumpIf("=")) {
3536
- var p = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3537
- if (p.err)
3538
- return p;
3557
+ var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3558
+ if (m.err)
3559
+ return m;
3539
3560
  c = A(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3540
3561
  } else
3541
3562
  break;
@@ -3546,16 +3567,16 @@ var go = (
3546
3567
  var _ = this.clonePosition();
3547
3568
  if (!this.bumpIf("{"))
3548
3569
  return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3549
- var I = this.parseMessage(t + 1, r, n);
3550
- if (I.err)
3551
- return I;
3570
+ var C = this.parseMessage(t + 1, r, n);
3571
+ if (C.err)
3572
+ return C;
3552
3573
  var H = this.tryParseArgumentClose(_);
3553
3574
  if (H.err)
3554
3575
  return H;
3555
3576
  a.push([
3556
3577
  u,
3557
3578
  {
3558
- value: I.val,
3579
+ value: C.val,
3559
3580
  location: A(_, this.clonePosition())
3560
3581
  }
3561
3582
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
@@ -3572,7 +3593,7 @@ var go = (
3572
3593
  break;
3573
3594
  }
3574
3595
  var h = A(i, this.clonePosition());
3575
- return o ? (s *= n, co(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3596
+ return o ? (s *= n, mo(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3576
3597
  }, e.prototype.offset = function() {
3577
3598
  return this.position.offset;
3578
3599
  }, e.prototype.isEOF = function() {
@@ -3587,7 +3608,7 @@ var go = (
3587
3608
  var t = this.position.offset;
3588
3609
  if (t >= this.message.length)
3589
3610
  throw Error("out of bound");
3590
- var r = vn(this.message, t);
3611
+ var r = yn(this.message, t);
3591
3612
  if (r === void 0)
3592
3613
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3593
3614
  return r;
@@ -3606,7 +3627,7 @@ var go = (
3606
3627
  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);
3607
3628
  }
3608
3629
  }, e.prototype.bumpIf = function(t) {
3609
- if (Lr(this.message, t, this.offset())) {
3630
+ if (Mr(this.message, t, this.offset())) {
3610
3631
  for (var r = 0; r < t.length; r++)
3611
3632
  this.bump();
3612
3633
  return !0;
@@ -3628,7 +3649,7 @@ var go = (
3628
3649
  break;
3629
3650
  }
3630
3651
  }, e.prototype.bumpSpace = function() {
3631
- for (; !this.isEOF() && En(this.char()); )
3652
+ for (; !this.isEOF() && _n(this.char()); )
3632
3653
  this.bump();
3633
3654
  }, e.prototype.peek = function() {
3634
3655
  if (this.isEOF())
@@ -3638,47 +3659,47 @@ var go = (
3638
3659
  }, e;
3639
3660
  }()
3640
3661
  );
3641
- function sr(e) {
3662
+ function hr(e) {
3642
3663
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3643
3664
  }
3644
- function vo(e) {
3645
- return sr(e) || e === 47;
3665
+ function Eo(e) {
3666
+ return hr(e) || e === 47;
3646
3667
  }
3647
- function yo(e) {
3668
+ function _o(e) {
3648
3669
  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;
3649
3670
  }
3650
- function En(e) {
3671
+ function _n(e) {
3651
3672
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3652
3673
  }
3653
- function Eo(e) {
3674
+ function xo(e) {
3654
3675
  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;
3655
3676
  }
3656
- function ar(e) {
3677
+ function fr(e) {
3657
3678
  e.forEach(function(t) {
3658
- if (delete t.location, hn(t) || fn(t))
3679
+ if (delete t.location, fn(t) || cn(t))
3659
3680
  for (var r in t.options)
3660
- delete t.options[r].location, ar(t.options[r].value);
3681
+ delete t.options[r].location, fr(t.options[r].value);
3661
3682
  else
3662
- an(t) && dn(t.style) || (un(t) || ln(t)) && rr(t.style) ? delete t.style.location : cn(t) && ar(t.children);
3683
+ un(t) && pn(t.style) || (ln(t) || hn(t)) && sr(t.style) ? delete t.style.location : dn(t) && fr(t.children);
3663
3684
  });
3664
3685
  }
3665
- function _o(e, t) {
3666
- t === void 0 && (t = {}), t = C({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3667
- var r = new go(e, t).parse();
3686
+ function wo(e, t) {
3687
+ t === void 0 && (t = {}), t = Tt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3688
+ var r = new yo(e, t).parse();
3668
3689
  if (r.err) {
3669
3690
  var n = SyntaxError(S[r.err.kind]);
3670
3691
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3671
3692
  }
3672
- return t != null && t.captureLocation || ar(r.val), r.val;
3693
+ return t != null && t.captureLocation || fr(r.val), r.val;
3673
3694
  }
3674
- var Je;
3695
+ var Ze;
3675
3696
  (function(e) {
3676
3697
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3677
- })(Je || (Je = {}));
3678
- var Pt = (
3698
+ })(Ze || (Ze = {}));
3699
+ var Ct = (
3679
3700
  /** @class */
3680
3701
  function(e) {
3681
- Te(t, e);
3702
+ Ot(t, e);
3682
3703
  function t(r, n, i) {
3683
3704
  var o = e.call(this, r) || this;
3684
3705
  return o.code = n, o.originalMessage = i, o;
@@ -3687,48 +3708,48 @@ var Pt = (
3687
3708
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3688
3709
  }, t;
3689
3710
  }(Error)
3690
- ), Rr = (
3711
+ ), Fr = (
3691
3712
  /** @class */
3692
3713
  function(e) {
3693
- Te(t, e);
3714
+ Ot(t, e);
3694
3715
  function t(r, n, i, o) {
3695
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Je.INVALID_VALUE, o) || this;
3716
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ze.INVALID_VALUE, o) || this;
3696
3717
  }
3697
3718
  return t;
3698
- }(Pt)
3699
- ), xo = (
3719
+ }(Ct)
3720
+ ), To = (
3700
3721
  /** @class */
3701
3722
  function(e) {
3702
- Te(t, e);
3723
+ Ot(t, e);
3703
3724
  function t(r, n, i) {
3704
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Je.INVALID_VALUE, i) || this;
3725
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ze.INVALID_VALUE, i) || this;
3705
3726
  }
3706
3727
  return t;
3707
- }(Pt)
3708
- ), wo = (
3728
+ }(Ct)
3729
+ ), So = (
3709
3730
  /** @class */
3710
3731
  function(e) {
3711
- Te(t, e);
3732
+ Ot(t, e);
3712
3733
  function t(r, n) {
3713
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Je.MISSING_VALUE, n) || this;
3734
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ze.MISSING_VALUE, n) || this;
3714
3735
  }
3715
3736
  return t;
3716
- }(Pt)
3737
+ }(Ct)
3717
3738
  ), Y;
3718
3739
  (function(e) {
3719
3740
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3720
3741
  })(Y || (Y = {}));
3721
- function To(e) {
3742
+ function Ao(e) {
3722
3743
  return e.length < 2 ? e : e.reduce(function(t, r) {
3723
3744
  var n = t[t.length - 1];
3724
3745
  return !n || n.type !== Y.literal || r.type !== Y.literal ? t.push(r) : n.value += r.value, t;
3725
3746
  }, []);
3726
3747
  }
3727
- function So(e) {
3748
+ function Ho(e) {
3728
3749
  return typeof e == "function";
3729
3750
  }
3730
3751
  function xt(e, t, r, n, i, o, s) {
3731
- if (e.length === 1 && Pr(e[0]))
3752
+ if (e.length === 1 && Cr(e[0]))
3732
3753
  return [
3733
3754
  {
3734
3755
  type: Y.literal,
@@ -3737,14 +3758,14 @@ function xt(e, t, r, n, i, o, s) {
3737
3758
  ];
3738
3759
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3739
3760
  var c = u[h];
3740
- if (Pr(c)) {
3761
+ if (Cr(c)) {
3741
3762
  a.push({
3742
3763
  type: Y.literal,
3743
3764
  value: c.value
3744
3765
  });
3745
3766
  continue;
3746
3767
  }
3747
- if (zi(c)) {
3768
+ if (qi(c)) {
3748
3769
  typeof o == "number" && a.push({
3749
3770
  type: Y.literal,
3750
3771
  value: r.getNumberFormat(t).format(o)
@@ -3753,44 +3774,44 @@ function xt(e, t, r, n, i, o, s) {
3753
3774
  }
3754
3775
  var d = c.value;
3755
3776
  if (!(i && d in i))
3756
- throw new wo(d, s);
3757
- var p = i[d];
3758
- if (Xi(c)) {
3759
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3760
- type: typeof p == "string" ? Y.literal : Y.object,
3761
- value: p
3777
+ throw new So(d, s);
3778
+ var m = i[d];
3779
+ if (Wi(c)) {
3780
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3781
+ type: typeof m == "string" ? Y.literal : Y.object,
3782
+ value: m
3762
3783
  });
3763
3784
  continue;
3764
3785
  }
3765
- if (un(c)) {
3766
- var _ = typeof c.style == "string" ? n.date[c.style] : rr(c.style) ? c.style.parsedOptions : void 0;
3786
+ if (ln(c)) {
3787
+ var _ = typeof c.style == "string" ? n.date[c.style] : sr(c.style) ? c.style.parsedOptions : void 0;
3767
3788
  a.push({
3768
3789
  type: Y.literal,
3769
- value: r.getDateTimeFormat(t, _).format(p)
3790
+ value: r.getDateTimeFormat(t, _).format(m)
3770
3791
  });
3771
3792
  continue;
3772
3793
  }
3773
- if (ln(c)) {
3774
- var _ = typeof c.style == "string" ? n.time[c.style] : rr(c.style) ? c.style.parsedOptions : n.time.medium;
3794
+ if (hn(c)) {
3795
+ var _ = typeof c.style == "string" ? n.time[c.style] : sr(c.style) ? c.style.parsedOptions : n.time.medium;
3775
3796
  a.push({
3776
3797
  type: Y.literal,
3777
- value: r.getDateTimeFormat(t, _).format(p)
3798
+ value: r.getDateTimeFormat(t, _).format(m)
3778
3799
  });
3779
3800
  continue;
3780
3801
  }
3781
- if (an(c)) {
3782
- var _ = typeof c.style == "string" ? n.number[c.style] : dn(c.style) ? c.style.parsedOptions : void 0;
3783
- _ && _.scale && (p = p * (_.scale || 1)), a.push({
3802
+ if (un(c)) {
3803
+ var _ = typeof c.style == "string" ? n.number[c.style] : pn(c.style) ? c.style.parsedOptions : void 0;
3804
+ _ && _.scale && (m = m * (_.scale || 1)), a.push({
3784
3805
  type: Y.literal,
3785
- value: r.getNumberFormat(t, _).format(p)
3806
+ value: r.getNumberFormat(t, _).format(m)
3786
3807
  });
3787
3808
  continue;
3788
3809
  }
3789
- if (cn(c)) {
3790
- var I = c.children, H = c.value, te = i[H];
3791
- if (!So(te))
3792
- throw new xo(H, "function", s);
3793
- var de = xt(I, t, r, n, i, o), ne = te(de.map(function(q) {
3810
+ if (dn(c)) {
3811
+ var C = c.children, H = c.value, te = i[H];
3812
+ if (!Ho(te))
3813
+ throw new To(H, "function", s);
3814
+ var de = xt(C, t, r, n, i, o), ne = te(de.map(function(q) {
3794
3815
  return q.value;
3795
3816
  }));
3796
3817
  Array.isArray(ne) || (ne = [ne]), a.push.apply(a, ne.map(function(q) {
@@ -3800,42 +3821,42 @@ function xt(e, t, r, n, i, o, s) {
3800
3821
  };
3801
3822
  }));
3802
3823
  }
3803
- if (hn(c)) {
3804
- var N = c.options[p] || c.options.other;
3805
- if (!N)
3806
- throw new Rr(c.value, p, Object.keys(c.options), s);
3807
- a.push.apply(a, xt(N.value, t, r, n, i));
3824
+ if (fn(c)) {
3825
+ var L = c.options[m] || c.options.other;
3826
+ if (!L)
3827
+ throw new Fr(c.value, m, Object.keys(c.options), s);
3828
+ a.push.apply(a, xt(L.value, t, r, n, i));
3808
3829
  continue;
3809
3830
  }
3810
- if (fn(c)) {
3811
- var N = c.options["=".concat(p)];
3812
- if (!N) {
3831
+ if (cn(c)) {
3832
+ var L = c.options["=".concat(m)];
3833
+ if (!L) {
3813
3834
  if (!Intl.PluralRules)
3814
- throw new Pt(`Intl.PluralRules is not available in this environment.
3835
+ throw new Ct(`Intl.PluralRules is not available in this environment.
3815
3836
  Try polyfilling it using "@formatjs/intl-pluralrules"
3816
- `, Je.MISSING_INTL_API, s);
3817
- var $ = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3818
- N = c.options[$] || c.options.other;
3837
+ `, Ze.MISSING_INTL_API, s);
3838
+ var $ = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3839
+ L = c.options[$] || c.options.other;
3819
3840
  }
3820
- if (!N)
3821
- throw new Rr(c.value, p, Object.keys(c.options), s);
3822
- a.push.apply(a, xt(N.value, t, r, n, i, p - (c.offset || 0)));
3841
+ if (!L)
3842
+ throw new Fr(c.value, m, Object.keys(c.options), s);
3843
+ a.push.apply(a, xt(L.value, t, r, n, i, m - (c.offset || 0)));
3823
3844
  continue;
3824
3845
  }
3825
3846
  }
3826
- return To(a);
3847
+ return Ao(a);
3827
3848
  }
3828
- function Ao(e, t) {
3829
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3830
- return r[n] = C(C({}, e[n]), t[n] || {}), r;
3849
+ function Po(e, t) {
3850
+ return t ? ye(ye(ye({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3851
+ return r[n] = ye(ye({}, e[n]), t[n] || {}), r;
3831
3852
  }, {})) : e;
3832
3853
  }
3833
- function Ho(e, t) {
3854
+ function Bo(e, t) {
3834
3855
  return t ? Object.keys(e).reduce(function(r, n) {
3835
- return r[n] = Ao(e[n], t[n]), r;
3836
- }, C({}, e)) : e;
3856
+ return r[n] = Po(e[n], t[n]), r;
3857
+ }, ye({}, e)) : e;
3837
3858
  }
3838
- function kt(e) {
3859
+ function Xt(e) {
3839
3860
  return {
3840
3861
  create: function() {
3841
3862
  return {
@@ -3849,39 +3870,39 @@ function kt(e) {
3849
3870
  }
3850
3871
  };
3851
3872
  }
3852
- function Bo(e) {
3873
+ function Oo(e) {
3853
3874
  return e === void 0 && (e = {
3854
3875
  number: {},
3855
3876
  dateTime: {},
3856
3877
  pluralRules: {}
3857
3878
  }), {
3858
- getNumberFormat: Gt(function() {
3879
+ getNumberFormat: $t(function() {
3859
3880
  for (var t, r = [], n = 0; n < arguments.length; n++)
3860
3881
  r[n] = arguments[n];
3861
- return new ((t = Intl.NumberFormat).bind.apply(t, ze([void 0], r, !1)))();
3882
+ return new ((t = Intl.NumberFormat).bind.apply(t, jt([void 0], r, !1)))();
3862
3883
  }, {
3863
- cache: kt(e.number),
3864
- strategy: jt.variadic
3884
+ cache: Xt(e.number),
3885
+ strategy: kt.variadic
3865
3886
  }),
3866
- getDateTimeFormat: Gt(function() {
3887
+ getDateTimeFormat: $t(function() {
3867
3888
  for (var t, r = [], n = 0; n < arguments.length; n++)
3868
3889
  r[n] = arguments[n];
3869
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ze([void 0], r, !1)))();
3890
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, jt([void 0], r, !1)))();
3870
3891
  }, {
3871
- cache: kt(e.dateTime),
3872
- strategy: jt.variadic
3892
+ cache: Xt(e.dateTime),
3893
+ strategy: kt.variadic
3873
3894
  }),
3874
- getPluralRules: Gt(function() {
3895
+ getPluralRules: $t(function() {
3875
3896
  for (var t, r = [], n = 0; n < arguments.length; n++)
3876
3897
  r[n] = arguments[n];
3877
- return new ((t = Intl.PluralRules).bind.apply(t, ze([void 0], r, !1)))();
3898
+ return new ((t = Intl.PluralRules).bind.apply(t, jt([void 0], r, !1)))();
3878
3899
  }, {
3879
- cache: kt(e.pluralRules),
3880
- strategy: jt.variadic
3900
+ cache: Xt(e.pluralRules),
3901
+ strategy: kt.variadic
3881
3902
  })
3882
3903
  };
3883
3904
  }
3884
- var Po = (
3905
+ var Co = (
3885
3906
  /** @class */
3886
3907
  function() {
3887
3908
  function e(t, r, n, i) {
@@ -3895,8 +3916,8 @@ var Po = (
3895
3916
  var u = o.formatToParts(h);
3896
3917
  if (u.length === 1)
3897
3918
  return u[0].value;
3898
- var c = u.reduce(function(d, p) {
3899
- return !d.length || p.type !== Y.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3919
+ var c = u.reduce(function(d, m) {
3920
+ return !d.length || m.type !== Y.literal || typeof d[d.length - 1] != "string" ? d.push(m.value) : d[d.length - 1] += m.value, d;
3900
3921
  }, []);
3901
3922
  return c.length <= 1 ? c[0] || "" : c;
3902
3923
  }, this.formatToParts = function(h) {
@@ -3913,13 +3934,13 @@ var Po = (
3913
3934
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3914
3935
  var s = i || {};
3915
3936
  s.formatters;
3916
- var a = si(s, ["formatters"]);
3917
- this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3937
+ var a = Ui(s, ["formatters"]);
3938
+ this.ast = e.__parse(t, ye(ye({}, a), { locale: this.resolvedLocale }));
3918
3939
  } else
3919
3940
  this.ast = t;
3920
3941
  if (!Array.isArray(this.ast))
3921
3942
  throw new TypeError("A message must be provided as a String or AST.");
3922
- this.formats = Ho(e.formats, n), this.formatters = i && i.formatters || Bo(this.formatterCache);
3943
+ this.formats = Bo(e.formats, n), this.formatters = i && i.formatters || Oo(this.formatterCache);
3923
3944
  }
3924
3945
  return Object.defineProperty(e, "defaultLocale", {
3925
3946
  get: function() {
@@ -3932,7 +3953,7 @@ var Po = (
3932
3953
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3933
3954
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3934
3955
  }
3935
- }, e.__parse = _o, e.formats = {
3956
+ }, e.__parse = wo, e.formats = {
3936
3957
  number: {
3937
3958
  integer: {
3938
3959
  maximumFractionDigits: 0
@@ -3993,7 +4014,7 @@ var Po = (
3993
4014
  }, e;
3994
4015
  }()
3995
4016
  );
3996
- function Co(e, t) {
4017
+ function Io(e, t) {
3997
4018
  if (t == null)
3998
4019
  return;
3999
4020
  if (t in e)
@@ -4014,92 +4035,92 @@ function Co(e, t) {
4014
4035
  n = void 0;
4015
4036
  return n;
4016
4037
  }
4017
- const He = {}, Oo = (e, t, r) => r && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = r), r), _n = (e, t) => {
4038
+ const He = {}, Lo = (e, t, r) => r && (t in He || (He[t] = {}), e in He[t] || (He[t][e] = r), r), xn = (e, t) => {
4018
4039
  if (t == null)
4019
4040
  return;
4020
4041
  if (t in He && e in He[t])
4021
4042
  return He[t][e];
4022
- const r = Ct(t);
4043
+ const r = It(t);
4023
4044
  for (let n = 0; n < r.length; n++) {
4024
- const i = r[n], o = Lo(i, e);
4045
+ const i = r[n], o = Mo(i, e);
4025
4046
  if (o)
4026
- return Oo(e, t, o);
4047
+ return Lo(e, t, o);
4027
4048
  }
4028
4049
  };
4029
- let dr;
4030
- const Ke = Bt({});
4031
- function Io(e) {
4032
- return dr[e] || null;
4050
+ let mr;
4051
+ const Ye = Bt({});
4052
+ function No(e) {
4053
+ return mr[e] || null;
4033
4054
  }
4034
- function xn(e) {
4035
- return e in dr;
4055
+ function wn(e) {
4056
+ return e in mr;
4036
4057
  }
4037
- function Lo(e, t) {
4038
- if (!xn(e))
4058
+ function Mo(e, t) {
4059
+ if (!wn(e))
4039
4060
  return null;
4040
- const r = Io(e);
4041
- return Co(r, t);
4061
+ const r = No(e);
4062
+ return Io(r, t);
4042
4063
  }
4043
- function No(e) {
4064
+ function Ro(e) {
4044
4065
  if (e == null)
4045
4066
  return;
4046
- const t = Ct(e);
4067
+ const t = It(e);
4047
4068
  for (let r = 0; r < t.length; r++) {
4048
4069
  const n = t[r];
4049
- if (xn(n))
4070
+ if (wn(n))
4050
4071
  return n;
4051
4072
  }
4052
4073
  }
4053
- function wn(e, ...t) {
4054
- delete He[e], Ke.update((r) => (r[e] = Fi.all([r[e] || {}, ...t]), r));
4074
+ function Tn(e, ...t) {
4075
+ delete He[e], Ye.update((r) => (r[e] = Fi.all([r[e] || {}, ...t]), r));
4055
4076
  }
4056
- Ye(
4057
- [Ke],
4077
+ Qe(
4078
+ [Ye],
4058
4079
  ([e]) => Object.keys(e)
4059
4080
  );
4060
- Ke.subscribe((e) => dr = e);
4081
+ Ye.subscribe((e) => mr = e);
4061
4082
  const wt = {};
4062
- function Mo(e, t) {
4083
+ function Do(e, t) {
4063
4084
  wt[e].delete(t), wt[e].size === 0 && delete wt[e];
4064
4085
  }
4065
- function Tn(e) {
4086
+ function Sn(e) {
4066
4087
  return wt[e];
4067
4088
  }
4068
- function Ro(e) {
4069
- return Ct(e).map((t) => {
4070
- const r = Tn(t);
4089
+ function Fo(e) {
4090
+ return It(e).map((t) => {
4091
+ const r = Sn(t);
4071
4092
  return [t, r ? [...r] : []];
4072
4093
  }).filter(([, t]) => t.length > 0);
4073
4094
  }
4074
- function ur(e) {
4075
- return e == null ? !1 : Ct(e).some(
4095
+ function cr(e) {
4096
+ return e == null ? !1 : It(e).some(
4076
4097
  (t) => {
4077
4098
  var r;
4078
- return (r = Tn(t)) == null ? void 0 : r.size;
4099
+ return (r = Sn(t)) == null ? void 0 : r.size;
4079
4100
  }
4080
4101
  );
4081
4102
  }
4082
- function Do(e, t) {
4103
+ function Uo(e, t) {
4083
4104
  return Promise.all(
4084
- t.map((n) => (Mo(e, n), n().then((i) => i.default || i)))
4085
- ).then((n) => wn(e, ...n));
4086
- }
4087
- const at = {};
4088
- function Sn(e) {
4089
- if (!ur(e))
4090
- return e in at ? at[e] : Promise.resolve();
4091
- const t = Ro(e);
4092
- return at[e] = Promise.all(
4105
+ t.map((n) => (Do(e, n), n().then((i) => i.default || i)))
4106
+ ).then((n) => Tn(e, ...n));
4107
+ }
4108
+ const st = {};
4109
+ function An(e) {
4110
+ if (!cr(e))
4111
+ return e in st ? st[e] : Promise.resolve();
4112
+ const t = Fo(e);
4113
+ return st[e] = Promise.all(
4093
4114
  t.map(
4094
- ([r, n]) => Do(r, n)
4115
+ ([r, n]) => Uo(r, n)
4095
4116
  )
4096
4117
  ).then(() => {
4097
- if (ur(e))
4098
- return Sn(e);
4099
- delete at[e];
4100
- }), at[e];
4118
+ if (cr(e))
4119
+ return An(e);
4120
+ delete st[e];
4121
+ }), st[e];
4101
4122
  }
4102
- const Fo = {
4123
+ const Go = {
4103
4124
  number: {
4104
4125
  scientific: { notation: "scientific" },
4105
4126
  engineering: { notation: "engineering" },
@@ -4128,135 +4149,135 @@ const Fo = {
4128
4149
  timeZoneName: "short"
4129
4150
  }
4130
4151
  }
4131
- }, Uo = {
4152
+ }, jo = {
4132
4153
  fallbackLocale: null,
4133
4154
  loadingDelay: 200,
4134
- formats: Fo,
4155
+ formats: Go,
4135
4156
  warnOnMissingMessages: !0,
4136
4157
  handleMissingMessage: void 0,
4137
4158
  ignoreTag: !0
4138
- }, Go = Uo;
4139
- function Qe() {
4140
- return Go;
4159
+ }, $o = jo;
4160
+ function Je() {
4161
+ return $o;
4141
4162
  }
4142
- const Vt = Bt(!1);
4143
- var jo = Object.defineProperty, $o = Object.defineProperties, ko = Object.getOwnPropertyDescriptors, Dr = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Xo = Object.prototype.propertyIsEnumerable, Fr = (e, t, r) => t in e ? jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zo = (e, t) => {
4163
+ const zt = Bt(!1);
4164
+ var ko = Object.defineProperty, Vo = Object.defineProperties, Xo = Object.getOwnPropertyDescriptors, Ur = Object.getOwnPropertySymbols, zo = Object.prototype.hasOwnProperty, Wo = Object.prototype.propertyIsEnumerable, Gr = (e, t, r) => t in e ? ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qo = (e, t) => {
4144
4165
  for (var r in t || (t = {}))
4145
- Vo.call(t, r) && Fr(e, r, t[r]);
4146
- if (Dr)
4147
- for (var r of Dr(t))
4148
- Xo.call(t, r) && Fr(e, r, t[r]);
4166
+ zo.call(t, r) && Gr(e, r, t[r]);
4167
+ if (Ur)
4168
+ for (var r of Ur(t))
4169
+ Wo.call(t, r) && Gr(e, r, t[r]);
4149
4170
  return e;
4150
- }, Wo = (e, t) => $o(e, ko(t));
4151
- let lr;
4152
- const Tt = Bt(null);
4153
- function Ur(e) {
4171
+ }, Zo = (e, t) => Vo(e, Xo(t));
4172
+ let dr;
4173
+ const St = Bt(null);
4174
+ function jr(e) {
4154
4175
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4155
4176
  }
4156
- function Ct(e, t = Qe().fallbackLocale) {
4157
- const r = Ur(e);
4158
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ur(t)])] : r;
4177
+ function It(e, t = Je().fallbackLocale) {
4178
+ const r = jr(e);
4179
+ return t ? [.../* @__PURE__ */ new Set([...r, ...jr(t)])] : r;
4159
4180
  }
4160
4181
  function Ne() {
4161
- return lr != null ? lr : void 0;
4182
+ return dr != null ? dr : void 0;
4162
4183
  }
4163
- Tt.subscribe((e) => {
4164
- lr = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4184
+ St.subscribe((e) => {
4185
+ dr = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4165
4186
  });
4166
- const qo = (e) => {
4167
- if (e && No(e) && ur(e)) {
4168
- const { loadingDelay: t } = Qe();
4187
+ const Jo = (e) => {
4188
+ if (e && Ro(e) && cr(e)) {
4189
+ const { loadingDelay: t } = Je();
4169
4190
  let r;
4170
4191
  return typeof window != "undefined" && Ne() != null && t ? r = window.setTimeout(
4171
- () => Vt.set(!0),
4192
+ () => zt.set(!0),
4172
4193
  t
4173
- ) : Vt.set(!0), Sn(e).then(() => {
4174
- Tt.set(e);
4194
+ ) : zt.set(!0), An(e).then(() => {
4195
+ St.set(e);
4175
4196
  }).finally(() => {
4176
- clearTimeout(r), Vt.set(!1);
4197
+ clearTimeout(r), zt.set(!1);
4177
4198
  });
4178
4199
  }
4179
- return Tt.set(e);
4180
- }, Pe = Wo(zo({}, Tt), {
4181
- set: qo
4182
- }), Ot = (e) => {
4200
+ return St.set(e);
4201
+ }, Be = Zo(qo({}, St), {
4202
+ set: Jo
4203
+ }), Lt = (e) => {
4183
4204
  const t = /* @__PURE__ */ Object.create(null);
4184
4205
  return (n) => {
4185
4206
  const i = JSON.stringify(n);
4186
4207
  return i in t ? t[i] : t[i] = e(n);
4187
4208
  };
4188
4209
  };
4189
- var Zo = Object.defineProperty, St = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Gr = (e, t, r) => t in e ? Zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mr = (e, t) => {
4210
+ var Qo = Object.defineProperty, At = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, $r = (e, t, r) => t in e ? Qo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, br = (e, t) => {
4190
4211
  for (var r in t || (t = {}))
4191
- An.call(t, r) && Gr(e, r, t[r]);
4192
- if (St)
4193
- for (var r of St(t))
4194
- Hn.call(t, r) && Gr(e, r, t[r]);
4212
+ Hn.call(t, r) && $r(e, r, t[r]);
4213
+ if (At)
4214
+ for (var r of At(t))
4215
+ Pn.call(t, r) && $r(e, r, t[r]);
4195
4216
  return e;
4196
- }, et = (e, t) => {
4217
+ }, Ke = (e, t) => {
4197
4218
  var r = {};
4198
4219
  for (var n in e)
4199
- An.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4200
- if (e != null && St)
4201
- for (var n of St(e))
4202
- t.indexOf(n) < 0 && Hn.call(e, n) && (r[n] = e[n]);
4220
+ Hn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4221
+ if (e != null && At)
4222
+ for (var n of At(e))
4223
+ t.indexOf(n) < 0 && Pn.call(e, n) && (r[n] = e[n]);
4203
4224
  return r;
4204
4225
  };
4205
- const ft = (e, t) => {
4206
- const { formats: r } = Qe();
4226
+ const ht = (e, t) => {
4227
+ const { formats: r } = Je();
4207
4228
  if (e in r && t in r[e])
4208
4229
  return r[e][t];
4209
4230
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4210
- }, Jo = Ot(
4231
+ }, Yo = Lt(
4211
4232
  (e) => {
4212
- var t = e, { locale: r, format: n } = t, i = et(t, ["locale", "format"]);
4233
+ var t = e, { locale: r, format: n } = t, i = Ke(t, ["locale", "format"]);
4213
4234
  if (r == null)
4214
4235
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4215
- return n && (i = ft("number", n)), new Intl.NumberFormat(r, i);
4236
+ return n && (i = ht("number", n)), new Intl.NumberFormat(r, i);
4216
4237
  }
4217
- ), Qo = Ot(
4238
+ ), Ko = Lt(
4218
4239
  (e) => {
4219
- var t = e, { locale: r, format: n } = t, i = et(t, ["locale", "format"]);
4240
+ var t = e, { locale: r, format: n } = t, i = Ke(t, ["locale", "format"]);
4220
4241
  if (r == null)
4221
4242
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4222
- return n ? i = ft("date", n) : Object.keys(i).length === 0 && (i = ft("date", "short")), new Intl.DateTimeFormat(r, i);
4243
+ return n ? i = ht("date", n) : Object.keys(i).length === 0 && (i = ht("date", "short")), new Intl.DateTimeFormat(r, i);
4223
4244
  }
4224
- ), Yo = Ot(
4245
+ ), es = Lt(
4225
4246
  (e) => {
4226
- var t = e, { locale: r, format: n } = t, i = et(t, ["locale", "format"]);
4247
+ var t = e, { locale: r, format: n } = t, i = Ke(t, ["locale", "format"]);
4227
4248
  if (r == null)
4228
4249
  throw new Error(
4229
4250
  '[svelte-i18n] A "locale" must be set to format time values'
4230
4251
  );
4231
- return n ? i = ft("time", n) : Object.keys(i).length === 0 && (i = ft("time", "short")), new Intl.DateTimeFormat(r, i);
4252
+ return n ? i = ht("time", n) : Object.keys(i).length === 0 && (i = ht("time", "short")), new Intl.DateTimeFormat(r, i);
4232
4253
  }
4233
- ), Ko = (e = {}) => {
4254
+ ), ts = (e = {}) => {
4234
4255
  var t = e, {
4235
4256
  locale: r = Ne()
4236
- } = t, n = et(t, [
4257
+ } = t, n = Ke(t, [
4237
4258
  "locale"
4238
4259
  ]);
4239
- return Jo(mr({ locale: r }, n));
4240
- }, es = (e = {}) => {
4260
+ return Yo(br({ locale: r }, n));
4261
+ }, rs = (e = {}) => {
4241
4262
  var t = e, {
4242
4263
  locale: r = Ne()
4243
- } = t, n = et(t, [
4264
+ } = t, n = Ke(t, [
4244
4265
  "locale"
4245
4266
  ]);
4246
- return Qo(mr({ locale: r }, n));
4247
- }, ts = (e = {}) => {
4267
+ return Ko(br({ locale: r }, n));
4268
+ }, ns = (e = {}) => {
4248
4269
  var t = e, {
4249
4270
  locale: r = Ne()
4250
- } = t, n = et(t, [
4271
+ } = t, n = Ke(t, [
4251
4272
  "locale"
4252
4273
  ]);
4253
- return Yo(mr({ locale: r }, n));
4254
- }, rs = Ot(
4274
+ return es(br({ locale: r }, n));
4275
+ }, is = Lt(
4255
4276
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4256
- (e, t = Ne()) => new Po(e, t, Qe().formats, {
4257
- ignoreTag: Qe().ignoreTag
4277
+ (e, t = Ne()) => new Co(e, t, Je().formats, {
4278
+ ignoreTag: Je().ignoreTag
4258
4279
  })
4259
- ), ns = (e, t = {}) => {
4280
+ ), os = (e, t = {}) => {
4260
4281
  var r, n, i, o;
4261
4282
  let s = t;
4262
4283
  typeof e == "object" && (s = e, e = s.id);
@@ -4269,9 +4290,9 @@ const ft = (e, t) => {
4269
4290
  throw new Error(
4270
4291
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4271
4292
  );
4272
- let c = _n(e, h);
4293
+ let c = xn(e, h);
4273
4294
  if (!c)
4274
- c = (o = (i = (n = (r = Qe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4295
+ c = (o = (i = (n = (r = Je()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4275
4296
  else if (typeof c != "string")
4276
4297
  return console.warn(
4277
4298
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4280,33 +4301,33 @@ const ft = (e, t) => {
4280
4301
  return c;
4281
4302
  let d = c;
4282
4303
  try {
4283
- d = rs(c, h).format(a);
4284
- } catch (p) {
4285
- p instanceof Error && console.warn(
4304
+ d = is(c, h).format(a);
4305
+ } catch (m) {
4306
+ m instanceof Error && console.warn(
4286
4307
  `[svelte-i18n] Message "${e}" has syntax error:`,
4287
- p.message
4308
+ m.message
4288
4309
  );
4289
4310
  }
4290
4311
  return d;
4291
- }, is = (e, t) => ts(t).format(e), os = (e, t) => es(t).format(e), ss = (e, t) => Ko(t).format(e), as = (e, t = Ne()) => _n(e, t), us = Ye([Pe, Ke], () => ns);
4292
- Ye([Pe], () => is);
4293
- Ye([Pe], () => os);
4294
- Ye([Pe], () => ss);
4295
- Ye([Pe, Ke], () => as);
4312
+ }, ss = (e, t) => ns(t).format(e), as = (e, t) => rs(t).format(e), us = (e, t) => ts(t).format(e), ls = (e, t = Ne()) => xn(e, t), hs = Qe([Be, Ye], () => os);
4313
+ Qe([Be], () => ss);
4314
+ Qe([Be], () => as);
4315
+ Qe([Be], () => us);
4316
+ Qe([Be, Ye], () => ls);
4296
4317
  window.emWidgets = { topic: Ei };
4297
- const Ms = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), ls = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4298
- function hs({ withLocale: e, translations: t }) {
4299
- Pe.subscribe((r) => {
4300
- r == null && (Ke.set(t), Pe.set(e));
4318
+ const Ds = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), fs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4319
+ function cs({ withLocale: e, translations: t }) {
4320
+ Be.subscribe((r) => {
4321
+ r == null && (Ye.set(t), Be.set(e));
4301
4322
  });
4302
4323
  }
4303
- function Xt(e, t) {
4304
- wn(e, t);
4324
+ function Wt(e, t) {
4325
+ Tn(e, t);
4305
4326
  }
4306
- function jr(e) {
4307
- Pe.set(e);
4327
+ function kr(e) {
4328
+ Be.set(e);
4308
4329
  }
4309
- const $r = {
4330
+ const Vr = {
4310
4331
  en: {
4311
4332
  500: "500 - Internal server error",
4312
4333
  showMore: "Show more",
@@ -4385,7 +4406,7 @@ const $r = {
4385
4406
  fetchError: "An error has occurred when fetching the tournaments"
4386
4407
  }
4387
4408
  };
4388
- var hr = { exports: {} };
4409
+ var pr = { exports: {} };
4389
4410
  /** @license
4390
4411
  * eventsource.js
4391
4412
  * Available under MIT License (MIT)
@@ -4393,7 +4414,7 @@ var hr = { exports: {} };
4393
4414
  */
4394
4415
  (function(e, t) {
4395
4416
  (function(r) {
4396
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, h = r.EventSource, u = r.document, c = r.Promise, d = r.fetch, p = r.Response, _ = r.TextDecoder, I = r.TextEncoder, H = r.AbortController;
4417
+ var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, h = r.EventSource, u = r.document, c = r.Promise, d = r.fetch, m = r.Response, _ = r.TextDecoder, C = r.TextEncoder, H = r.AbortController;
4397
4418
  if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(l) {
4398
4419
  u.readyState = "complete";
4399
4420
  }, !1)), o == null && a != null && (o = function() {
@@ -4408,12 +4429,12 @@ var hr = { exports: {} };
4408
4429
  var te = d;
4409
4430
  d = function(l, b) {
4410
4431
  var g = b.signal;
4411
- return te(l, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(m) {
4412
- var y = m.body.getReader();
4432
+ return te(l, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(p) {
4433
+ var y = p.body.getReader();
4413
4434
  return g._reader = y, g._aborted && g._reader.cancel(), {
4414
- status: m.status,
4415
- statusText: m.statusText,
4416
- headers: m.headers,
4435
+ status: p.status,
4436
+ statusText: p.statusText,
4437
+ headers: p.headers,
4417
4438
  body: {
4418
4439
  getReader: function() {
4419
4440
  return y;
@@ -4434,77 +4455,77 @@ var hr = { exports: {} };
4434
4455
  this.bitsNeeded = 0, this.codePoint = 0;
4435
4456
  }
4436
4457
  de.prototype.decode = function(l) {
4437
- function b(B, L, E) {
4458
+ function b(P, I, E) {
4438
4459
  if (E === 1)
4439
- return B >= 128 >> L && B << L <= 2047;
4460
+ return P >= 128 >> I && P << I <= 2047;
4440
4461
  if (E === 2)
4441
- return B >= 2048 >> L && B << L <= 55295 || B >= 57344 >> L && B << L <= 65535;
4462
+ return P >= 2048 >> I && P << I <= 55295 || P >= 57344 >> I && P << I <= 65535;
4442
4463
  if (E === 3)
4443
- return B >= 65536 >> L && B << L <= 1114111;
4464
+ return P >= 65536 >> I && P << I <= 1114111;
4444
4465
  throw new Error();
4445
4466
  }
4446
- function g(B, L) {
4447
- if (B === 6 * 1)
4448
- return L >> 6 > 15 ? 3 : L > 31 ? 2 : 1;
4449
- if (B === 6 * 2)
4450
- return L > 15 ? 3 : 2;
4451
- if (B === 6 * 3)
4467
+ function g(P, I) {
4468
+ if (P === 6 * 1)
4469
+ return I >> 6 > 15 ? 3 : I > 31 ? 2 : 1;
4470
+ if (P === 6 * 2)
4471
+ return I > 15 ? 3 : 2;
4472
+ if (P === 6 * 3)
4452
4473
  return 3;
4453
4474
  throw new Error();
4454
4475
  }
4455
- for (var m = 65533, y = "", v = this.bitsNeeded, w = this.codePoint, M = 0; M < l.length; M += 1) {
4456
- var T = l[M];
4457
- v !== 0 && (T < 128 || T > 191 || !b(w << 6 | T & 63, v - 6, g(v, w))) && (v = 0, w = m, y += String.fromCharCode(w)), v === 0 ? (T >= 0 && T <= 127 ? (v = 0, w = T) : T >= 192 && T <= 223 ? (v = 6 * 1, w = T & 31) : T >= 224 && T <= 239 ? (v = 6 * 2, w = T & 15) : T >= 240 && T <= 247 ? (v = 6 * 3, w = T & 7) : (v = 0, w = m), v !== 0 && !b(w, v, g(v, w)) && (v = 0, w = m)) : (v -= 6, w = w << 6 | T & 63), v === 0 && (w <= 65535 ? y += String.fromCharCode(w) : (y += String.fromCharCode(55296 + (w - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (w - 65535 - 1 & 1023))));
4476
+ for (var p = 65533, y = "", v = this.bitsNeeded, w = this.codePoint, N = 0; N < l.length; N += 1) {
4477
+ var T = l[N];
4478
+ v !== 0 && (T < 128 || T > 191 || !b(w << 6 | T & 63, v - 6, g(v, w))) && (v = 0, w = p, y += String.fromCharCode(w)), v === 0 ? (T >= 0 && T <= 127 ? (v = 0, w = T) : T >= 192 && T <= 223 ? (v = 6 * 1, w = T & 31) : T >= 224 && T <= 239 ? (v = 6 * 2, w = T & 15) : T >= 240 && T <= 247 ? (v = 6 * 3, w = T & 7) : (v = 0, w = p), v !== 0 && !b(w, v, g(v, w)) && (v = 0, w = p)) : (v -= 6, w = w << 6 | T & 63), v === 0 && (w <= 65535 ? y += String.fromCharCode(w) : (y += String.fromCharCode(55296 + (w - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (w - 65535 - 1 & 1023))));
4458
4479
  }
4459
4480
  return this.bitsNeeded = v, this.codePoint = w, y;
4460
4481
  };
4461
4482
  var ne = function() {
4462
4483
  try {
4463
- return new _().decode(new I().encode("test"), { stream: !0 }) === "test";
4484
+ return new _().decode(new C().encode("test"), { stream: !0 }) === "test";
4464
4485
  } catch (l) {
4465
4486
  console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + l);
4466
4487
  }
4467
4488
  return !1;
4468
4489
  };
4469
- (_ == null || I == null || !ne()) && (_ = de);
4470
- var N = function() {
4490
+ (_ == null || C == null || !ne()) && (_ = de);
4491
+ var L = function() {
4471
4492
  };
4472
4493
  function $(l) {
4473
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = N, this.onload = N, this.onerror = N, this.onreadystatechange = N, this._contentType = "", this._xhr = l, this._sendTimeout = 0, this._abort = N;
4494
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = L, this.onload = L, this.onerror = L, this.onreadystatechange = L, this._contentType = "", this._xhr = l, this._sendTimeout = 0, this._abort = L;
4474
4495
  }
4475
4496
  $.prototype.open = function(l, b) {
4476
4497
  this._abort(!0);
4477
- var g = this, m = this._xhr, y = 1, v = 0;
4498
+ var g = this, p = this._xhr, y = 1, v = 0;
4478
4499
  this._abort = function(E) {
4479
- g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, m.onload = N, m.onerror = N, m.onabort = N, m.onprogress = N, m.onreadystatechange = N, m.abort(), v !== 0 && (i(v), v = 0), E || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4500
+ g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, p.onload = L, p.onerror = L, p.onabort = L, p.onprogress = L, p.onreadystatechange = L, p.abort(), v !== 0 && (i(v), v = 0), E || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4480
4501
  };
4481
4502
  var w = function() {
4482
4503
  if (y === 1) {
4483
- var E = 0, f = "", P = void 0;
4484
- if ("contentType" in m)
4485
- E = 200, f = "OK", P = m.contentType;
4504
+ var E = 0, f = "", B = void 0;
4505
+ if ("contentType" in p)
4506
+ E = 200, f = "OK", B = p.contentType;
4486
4507
  else
4487
4508
  try {
4488
- E = m.status, f = m.statusText, P = m.getResponseHeader("Content-Type");
4489
- } catch (F) {
4490
- E = 0, f = "", P = void 0;
4509
+ E = p.status, f = p.statusText, B = p.getResponseHeader("Content-Type");
4510
+ } catch (D) {
4511
+ E = 0, f = "", B = void 0;
4491
4512
  }
4492
- E !== 0 && (y = 2, g.readyState = 2, g.status = E, g.statusText = f, g._contentType = P, g.onreadystatechange());
4513
+ E !== 0 && (y = 2, g.readyState = 2, g.status = E, g.statusText = f, g._contentType = B, g.onreadystatechange());
4493
4514
  }
4494
- }, M = function() {
4515
+ }, N = function() {
4495
4516
  if (w(), y === 2 || y === 3) {
4496
4517
  y = 3;
4497
4518
  var E = "";
4498
4519
  try {
4499
- E = m.responseText;
4520
+ E = p.responseText;
4500
4521
  } catch (f) {
4501
4522
  }
4502
4523
  g.readyState = 3, g.responseText = E, g.onprogress();
4503
4524
  }
4504
4525
  }, T = function(E, f) {
4505
4526
  if ((f == null || f.preventDefault == null) && (f = {
4506
- preventDefault: N
4507
- }), M(), y === 1 || y === 2 || y === 3) {
4527
+ preventDefault: L
4528
+ }), N(), y === 1 || y === 2 || y === 3) {
4508
4529
  if (y = 4, v !== 0 && (i(v), v = 0), g.readyState = 4, E === "load")
4509
4530
  g.onload(f);
4510
4531
  else if (E === "error")
@@ -4515,23 +4536,23 @@ var hr = { exports: {} };
4515
4536
  throw new TypeError();
4516
4537
  g.onreadystatechange();
4517
4538
  }
4518
- }, B = function(E) {
4519
- m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && T(m.responseText === "" ? "error" : "load", E) : m.readyState === 3 ? "onprogress" in m || M() : m.readyState === 2 && w());
4520
- }, L = function() {
4539
+ }, P = function(E) {
4540
+ p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && T(p.responseText === "" ? "error" : "load", E) : p.readyState === 3 ? "onprogress" in p || N() : p.readyState === 2 && w());
4541
+ }, I = function() {
4521
4542
  v = n(function() {
4522
- L();
4523
- }, 500), m.readyState === 3 && M();
4543
+ I();
4544
+ }, 500), p.readyState === 3 && N();
4524
4545
  };
4525
- "onload" in m && (m.onload = function(E) {
4546
+ "onload" in p && (p.onload = function(E) {
4526
4547
  T("load", E);
4527
- }), "onerror" in m && (m.onerror = function(E) {
4548
+ }), "onerror" in p && (p.onerror = function(E) {
4528
4549
  T("error", E);
4529
- }), "onabort" in m && (m.onabort = function(E) {
4550
+ }), "onabort" in p && (p.onabort = function(E) {
4530
4551
  T("abort", E);
4531
- }), "onprogress" in m && (m.onprogress = M), "onreadystatechange" in m && (m.onreadystatechange = function(E) {
4532
- B(E);
4533
- }), ("contentType" in m || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(l, b, !0), "readyState" in m && (v = n(function() {
4534
- L();
4552
+ }), "onprogress" in p && (p.onprogress = N), "onreadystatechange" in p && (p.onreadystatechange = function(E) {
4553
+ P(E);
4554
+ }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(l, b, !0), "readyState" in p && (v = n(function() {
4555
+ I();
4535
4556
  }, 0));
4536
4557
  }, $.prototype.abort = function() {
4537
4558
  this._abort(!1);
@@ -4565,9 +4586,9 @@ var hr = { exports: {} };
4565
4586
  }
4566
4587
  function le(l) {
4567
4588
  for (var b = /* @__PURE__ */ Object.create(null), g = l.split(`\r
4568
- `), m = 0; m < g.length; m += 1) {
4569
- var y = g[m], v = y.split(": "), w = v.shift(), M = v.join(": ");
4570
- b[q(w)] = M;
4589
+ `), p = 0; p < g.length; p += 1) {
4590
+ var y = g[p], v = y.split(": "), w = v.shift(), N = v.join(": ");
4591
+ b[q(w)] = N;
4571
4592
  }
4572
4593
  this._map = b;
4573
4594
  }
@@ -4576,22 +4597,22 @@ var hr = { exports: {} };
4576
4597
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4577
4598
  function ge() {
4578
4599
  }
4579
- ge.prototype.open = function(l, b, g, m, y, v, w) {
4600
+ ge.prototype.open = function(l, b, g, p, y, v, w) {
4580
4601
  l.open("GET", y);
4581
- var M = 0;
4602
+ var N = 0;
4582
4603
  l.onprogress = function() {
4583
- var B = l.responseText, L = B.slice(M);
4584
- M += L.length, g(L);
4585
- }, l.onerror = function(B) {
4586
- B.preventDefault(), m(new Error("NetworkError"));
4604
+ var P = l.responseText, I = P.slice(N);
4605
+ N += I.length, g(I);
4606
+ }, l.onerror = function(P) {
4607
+ P.preventDefault(), p(new Error("NetworkError"));
4587
4608
  }, l.onload = function() {
4588
- m(null);
4609
+ p(null);
4589
4610
  }, l.onabort = function() {
4590
- m(null);
4611
+ p(null);
4591
4612
  }, l.onreadystatechange = function() {
4592
4613
  if (l.readyState === o.HEADERS_RECEIVED) {
4593
- var B = l.status, L = l.statusText, E = l.getResponseHeader("Content-Type"), f = l.getAllResponseHeaders();
4594
- b(B, L, E, new le(f));
4614
+ var P = l.status, I = l.statusText, E = l.getResponseHeader("Content-Type"), f = l.getAllResponseHeaders();
4615
+ b(P, I, E, new le(f));
4595
4616
  }
4596
4617
  }, l.withCredentials = v;
4597
4618
  for (var T in w)
@@ -4606,41 +4627,41 @@ var hr = { exports: {} };
4606
4627
  };
4607
4628
  function Re() {
4608
4629
  }
4609
- Re.prototype.open = function(l, b, g, m, y, v, w) {
4610
- var M = null, T = new H(), B = T.signal, L = new _();
4630
+ Re.prototype.open = function(l, b, g, p, y, v, w) {
4631
+ var N = null, T = new H(), P = T.signal, I = new _();
4611
4632
  return d(y, {
4612
4633
  headers: w,
4613
4634
  credentials: v ? "include" : "same-origin",
4614
- signal: B,
4635
+ signal: P,
4615
4636
  cache: "no-store"
4616
4637
  }).then(function(E) {
4617
- return M = E.body.getReader(), b(E.status, E.statusText, E.headers.get("Content-Type"), new Me(E.headers)), new c(function(f, P) {
4618
- var F = function() {
4619
- M.read().then(function(O) {
4638
+ return N = E.body.getReader(), b(E.status, E.statusText, E.headers.get("Content-Type"), new Me(E.headers)), new c(function(f, B) {
4639
+ var D = function() {
4640
+ N.read().then(function(O) {
4620
4641
  if (O.done)
4621
4642
  f(void 0);
4622
4643
  else {
4623
- var k = L.decode(O.value, { stream: !0 });
4624
- g(k), F();
4644
+ var k = I.decode(O.value, { stream: !0 });
4645
+ g(k), D();
4625
4646
  }
4626
4647
  }).catch(function(O) {
4627
- P(O);
4648
+ B(O);
4628
4649
  });
4629
4650
  };
4630
- F();
4651
+ D();
4631
4652
  });
4632
4653
  }).catch(function(E) {
4633
4654
  if (E.name !== "AbortError")
4634
4655
  return E;
4635
4656
  }).then(function(E) {
4636
- m(E);
4657
+ p(E);
4637
4658
  }), {
4638
4659
  abort: function() {
4639
- M != null && M.cancel(), T.abort();
4660
+ N != null && N.cancel(), T.abort();
4640
4661
  }
4641
4662
  };
4642
4663
  };
4643
- function ye() {
4664
+ function Ee() {
4644
4665
  this._listeners = /* @__PURE__ */ Object.create(null);
4645
4666
  }
4646
4667
  function De(l) {
@@ -4648,75 +4669,75 @@ var hr = { exports: {} };
4648
4669
  throw l;
4649
4670
  }, 0);
4650
4671
  }
4651
- ye.prototype.dispatchEvent = function(l) {
4672
+ Ee.prototype.dispatchEvent = function(l) {
4652
4673
  l.target = this;
4653
4674
  var b = this._listeners[l.type];
4654
4675
  if (b != null)
4655
- for (var g = b.length, m = 0; m < g; m += 1) {
4656
- var y = b[m];
4676
+ for (var g = b.length, p = 0; p < g; p += 1) {
4677
+ var y = b[p];
4657
4678
  try {
4658
4679
  typeof y.handleEvent == "function" ? y.handleEvent(l) : y.call(this, l);
4659
4680
  } catch (v) {
4660
4681
  De(v);
4661
4682
  }
4662
4683
  }
4663
- }, ye.prototype.addEventListener = function(l, b) {
4684
+ }, Ee.prototype.addEventListener = function(l, b) {
4664
4685
  l = String(l);
4665
- var g = this._listeners, m = g[l];
4666
- m == null && (m = [], g[l] = m);
4667
- for (var y = !1, v = 0; v < m.length; v += 1)
4668
- m[v] === b && (y = !0);
4669
- y || m.push(b);
4670
- }, ye.prototype.removeEventListener = function(l, b) {
4686
+ var g = this._listeners, p = g[l];
4687
+ p == null && (p = [], g[l] = p);
4688
+ for (var y = !1, v = 0; v < p.length; v += 1)
4689
+ p[v] === b && (y = !0);
4690
+ y || p.push(b);
4691
+ }, Ee.prototype.removeEventListener = function(l, b) {
4671
4692
  l = String(l);
4672
- var g = this._listeners, m = g[l];
4673
- if (m != null) {
4674
- for (var y = [], v = 0; v < m.length; v += 1)
4675
- m[v] !== b && y.push(m[v]);
4693
+ var g = this._listeners, p = g[l];
4694
+ if (p != null) {
4695
+ for (var y = [], v = 0; v < p.length; v += 1)
4696
+ p[v] !== b && y.push(p[v]);
4676
4697
  y.length === 0 ? delete g[l] : g[l] = y;
4677
4698
  }
4678
4699
  };
4679
- function me(l) {
4700
+ function pe(l) {
4680
4701
  this.type = l, this.target = void 0;
4681
4702
  }
4682
4703
  function ve(l, b) {
4683
- me.call(this, l), this.data = b.data, this.lastEventId = b.lastEventId;
4704
+ pe.call(this, l), this.data = b.data, this.lastEventId = b.lastEventId;
4684
4705
  }
4685
- ve.prototype = Object.create(me.prototype);
4686
- function tt(l, b) {
4687
- me.call(this, l), this.status = b.status, this.statusText = b.statusText, this.headers = b.headers;
4706
+ ve.prototype = Object.create(pe.prototype);
4707
+ function et(l, b) {
4708
+ pe.call(this, l), this.status = b.status, this.statusText = b.statusText, this.headers = b.headers;
4688
4709
  }
4689
- tt.prototype = Object.create(me.prototype);
4710
+ et.prototype = Object.create(pe.prototype);
4690
4711
  function Fe(l, b) {
4691
- me.call(this, l), this.error = b.error;
4712
+ pe.call(this, l), this.error = b.error;
4692
4713
  }
4693
- Fe.prototype = Object.create(me.prototype);
4694
- var Ue = -1, he = 0, pe = 1, Z = 2, Ee = -1, ie = 0, oe = 1, Ce = 2, Oe = 3, dt = /^text\/event\-stream(;.*)?$/i, be = 1e3, rt = 18e6, Ge = function(l, b) {
4714
+ Fe.prototype = Object.create(pe.prototype);
4715
+ var Ue = -1, he = 0, me = 1, Z = 2, _e = -1, ie = 0, oe = 1, Oe = 2, Ce = 3, dt = /^text\/event\-stream(;.*)?$/i, be = 1e3, tt = 18e6, Ge = function(l, b) {
4695
4716
  var g = l == null ? b : parseInt(l, 10);
4696
- return g !== g && (g = b), nt(g);
4697
- }, nt = function(l) {
4698
- return Math.min(Math.max(l, be), rt);
4717
+ return g !== g && (g = b), rt(g);
4718
+ }, rt = function(l) {
4719
+ return Math.min(Math.max(l, be), tt);
4699
4720
  }, Se = function(l, b, g) {
4700
4721
  try {
4701
4722
  typeof b == "function" && b.call(l, g);
4702
- } catch (m) {
4703
- De(m);
4723
+ } catch (p) {
4724
+ De(p);
4704
4725
  }
4705
4726
  };
4706
4727
  function re(l, b) {
4707
- ye.call(this), b = b || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Lt(this, l, b);
4728
+ Ee.call(this), b = b || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Mt(this, l, b);
4708
4729
  }
4709
- function It() {
4730
+ function Nt() {
4710
4731
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4711
4732
  }
4712
- var it = d != null && p != null && "body" in p.prototype;
4713
- function Lt(l, b, g) {
4733
+ var nt = d != null && m != null && "body" in m.prototype;
4734
+ function Mt(l, b, g) {
4714
4735
  b = String(b);
4715
- var m = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = nt(1e3), w = Ge(g.heartbeatTimeout, 45e3), M = "", T = v, B = !1, L = 0, E = g.headers || {}, f = g.Transport, P = it && f == null ? void 0 : new $(f != null ? new f() : It()), F = f != null && typeof f != "string" ? new f() : P == null ? new Re() : new ge(), O = void 0, k = 0, W = Ue, Ae = "", ot = "", G = "", pt = "", J = ie, Nt = 0, Ie = 0, Pn = function(V, j, se, ae) {
4736
+ var p = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = rt(1e3), w = Ge(g.heartbeatTimeout, 45e3), N = "", T = v, P = !1, I = 0, E = g.headers || {}, f = g.Transport, B = nt && f == null ? void 0 : new $(f != null ? new f() : Nt()), D = f != null && typeof f != "string" ? new f() : B == null ? new Re() : new ge(), O = void 0, k = 0, W = Ue, Ae = "", it = "", G = "", mt = "", J = ie, Rt = 0, Ie = 0, On = function(V, j, se, ae) {
4716
4737
  if (W === he)
4717
4738
  if (V === 200 && se != null && dt.test(se)) {
4718
- W = pe, B = Date.now(), T = v, l.readyState = pe;
4719
- var Q = new tt("open", {
4739
+ W = me, P = Date.now(), T = v, l.readyState = me;
4740
+ var Q = new et("open", {
4720
4741
  status: V,
4721
4742
  statusText: j,
4722
4743
  headers: ae
@@ -4724,8 +4745,8 @@ var hr = { exports: {} };
4724
4745
  l.dispatchEvent(Q), Se(l, l.onopen, Q);
4725
4746
  } else {
4726
4747
  var z = "";
4727
- V !== 200 ? (j && (j = j.replace(/\s+/g, " ")), z = "EventSource's response has a status " + V + " " + j + " that is not 200. Aborting the connection.") : z = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Mt();
4728
- var Q = new tt("error", {
4748
+ V !== 200 ? (j && (j = j.replace(/\s+/g, " ")), z = "EventSource's response has a status " + V + " " + j + " that is not 200. Aborting the connection.") : z = "EventSource's response has a Content-Type specifying an unsupported type: " + (se == null ? "-" : se.replace(/\s+/g, " ")) + ". Aborting the connection.", Dt();
4749
+ var Q = new et("error", {
4729
4750
  status: V,
4730
4751
  statusText: j,
4731
4752
  headers: ae
@@ -4733,111 +4754,111 @@ var hr = { exports: {} };
4733
4754
  l.dispatchEvent(Q), Se(l, l.onerror, Q), console.error(z);
4734
4755
  }
4735
4756
  }, Cn = function(V) {
4736
- if (W === pe) {
4757
+ if (W === me) {
4737
4758
  for (var j = -1, se = 0; se < V.length; se += 1) {
4738
4759
  var ae = V.charCodeAt(se);
4739
4760
  (ae === 10 || ae === 13) && (j = se);
4740
4761
  }
4741
- var Q = (j !== -1 ? pt : "") + V.slice(0, j + 1);
4742
- pt = (j === -1 ? pt : "") + V.slice(j + 1), V !== "" && (B = Date.now(), L += V.length);
4762
+ var Q = (j !== -1 ? mt : "") + V.slice(0, j + 1);
4763
+ mt = (j === -1 ? mt : "") + V.slice(j + 1), V !== "" && (P = Date.now(), I += V.length);
4743
4764
  for (var z = 0; z < Q.length; z += 1) {
4744
4765
  var ae = Q.charCodeAt(z);
4745
- if (J === Ee && ae === 10)
4766
+ if (J === _e && ae === 10)
4746
4767
  J = ie;
4747
- else if (J === Ee && (J = ie), ae === 13 || ae === 10) {
4768
+ else if (J === _e && (J = ie), ae === 13 || ae === 10) {
4748
4769
  if (J !== ie) {
4749
4770
  J === oe && (Ie = z + 1);
4750
- var _e = Q.slice(Nt, Ie - 1), xe = Q.slice(Ie + (Ie < z && Q.charCodeAt(Ie) === 32 ? 1 : 0), z);
4751
- _e === "data" ? (Ae += `
4752
- `, Ae += xe) : _e === "id" ? ot = xe : _e === "event" ? G = xe : _e === "retry" ? (v = Ge(xe, v), T = v) : _e === "heartbeatTimeout" && (w = Ge(xe, w), k !== 0 && (i(k), k = n(function() {
4753
- st();
4771
+ var xe = Q.slice(Rt, Ie - 1), we = Q.slice(Ie + (Ie < z && Q.charCodeAt(Ie) === 32 ? 1 : 0), z);
4772
+ xe === "data" ? (Ae += `
4773
+ `, Ae += we) : xe === "id" ? it = we : xe === "event" ? G = we : xe === "retry" ? (v = Ge(we, v), T = v) : xe === "heartbeatTimeout" && (w = Ge(we, w), k !== 0 && (i(k), k = n(function() {
4774
+ ot();
4754
4775
  }, w)));
4755
4776
  }
4756
4777
  if (J === ie) {
4757
4778
  if (Ae !== "") {
4758
- M = ot, G === "" && (G = "message");
4779
+ N = it, G === "" && (G = "message");
4759
4780
  var je = new ve(G, {
4760
4781
  data: Ae.slice(1),
4761
- lastEventId: ot
4782
+ lastEventId: it
4762
4783
  });
4763
4784
  if (l.dispatchEvent(je), G === "open" ? Se(l, l.onopen, je) : G === "message" ? Se(l, l.onmessage, je) : G === "error" && Se(l, l.onerror, je), W === Z)
4764
4785
  return;
4765
4786
  }
4766
4787
  Ae = "", G = "";
4767
4788
  }
4768
- J = ae === 13 ? Ee : ie;
4789
+ J = ae === 13 ? _e : ie;
4769
4790
  } else
4770
- J === ie && (Nt = z, J = oe), J === oe ? ae === 58 && (Ie = z + 1, J = Ce) : J === Ce && (J = Oe);
4791
+ J === ie && (Rt = z, J = oe), J === oe ? ae === 58 && (Ie = z + 1, J = Oe) : J === Oe && (J = Ce);
4771
4792
  }
4772
4793
  }
4773
- }, pr = function(V) {
4774
- if (W === pe || W === he) {
4794
+ }, gr = function(V) {
4795
+ if (W === me || W === he) {
4775
4796
  W = Ue, k !== 0 && (i(k), k = 0), k = n(function() {
4776
- st();
4777
- }, T), T = nt(Math.min(v * 16, T * 2)), l.readyState = he;
4797
+ ot();
4798
+ }, T), T = rt(Math.min(v * 16, T * 2)), l.readyState = he;
4778
4799
  var j = new Fe("error", { error: V });
4779
4800
  l.dispatchEvent(j), Se(l, l.onerror, j), V != null && console.error(V);
4780
4801
  }
4781
- }, Mt = function() {
4802
+ }, Dt = function() {
4782
4803
  W = Z, O != null && (O.abort(), O = void 0), k !== 0 && (i(k), k = 0), l.readyState = Z;
4783
- }, st = function() {
4804
+ }, ot = function() {
4784
4805
  if (k = 0, W !== Ue) {
4785
- if (!B && O != null)
4786
- pr(new Error("No activity within " + w + " milliseconds. " + (W === he ? "No response received." : L + " chars received.") + " Reconnecting.")), O != null && (O.abort(), O = void 0);
4806
+ if (!P && O != null)
4807
+ gr(new Error("No activity within " + w + " milliseconds. " + (W === he ? "No response received." : I + " chars received.") + " Reconnecting.")), O != null && (O.abort(), O = void 0);
4787
4808
  else {
4788
- var V = Math.max((B || Date.now()) + w - Date.now(), 1);
4789
- B = !1, k = n(function() {
4790
- st();
4809
+ var V = Math.max((P || Date.now()) + w - Date.now(), 1);
4810
+ P = !1, k = n(function() {
4811
+ ot();
4791
4812
  }, V);
4792
4813
  }
4793
4814
  return;
4794
4815
  }
4795
- B = !1, L = 0, k = n(function() {
4796
- st();
4797
- }, w), W = he, Ae = "", G = "", ot = M, pt = "", Nt = 0, Ie = 0, J = ie;
4816
+ P = !1, I = 0, k = n(function() {
4817
+ ot();
4818
+ }, w), W = he, Ae = "", G = "", it = N, mt = "", Rt = 0, Ie = 0, J = ie;
4798
4819
  var j = b;
4799
- if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && M !== "") {
4820
+ if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && N !== "") {
4800
4821
  var se = b.indexOf("?");
4801
- j = se === -1 ? b : b.slice(0, se + 1) + b.slice(se + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, je) {
4802
- return je === y ? "" : xe;
4803
- }), j += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(M);
4822
+ j = se === -1 ? b : b.slice(0, se + 1) + b.slice(se + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(we, je) {
4823
+ return je === y ? "" : we;
4824
+ }), j += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(N);
4804
4825
  }
4805
4826
  var ae = l.withCredentials, Q = {};
4806
4827
  Q.Accept = "text/event-stream";
4807
4828
  var z = l.headers;
4808
4829
  if (z != null)
4809
- for (var _e in z)
4810
- Object.prototype.hasOwnProperty.call(z, _e) && (Q[_e] = z[_e]);
4830
+ for (var xe in z)
4831
+ Object.prototype.hasOwnProperty.call(z, xe) && (Q[xe] = z[xe]);
4811
4832
  try {
4812
- O = F.open(P, Pn, Cn, pr, j, ae, Q);
4813
- } catch (xe) {
4814
- throw Mt(), xe;
4833
+ O = D.open(B, On, Cn, gr, j, ae, Q);
4834
+ } catch (we) {
4835
+ throw Dt(), we;
4815
4836
  }
4816
4837
  };
4817
- l.url = b, l.readyState = he, l.withCredentials = m, l.headers = E, l._close = Mt, st();
4838
+ l.url = b, l.readyState = he, l.withCredentials = p, l.headers = E, l._close = Dt, ot();
4818
4839
  }
4819
- re.prototype = Object.create(ye.prototype), re.prototype.CONNECTING = he, re.prototype.OPEN = pe, re.prototype.CLOSED = Z, re.prototype.close = function() {
4840
+ re.prototype = Object.create(Ee.prototype), re.prototype.CONNECTING = he, re.prototype.OPEN = me, re.prototype.CLOSED = Z, re.prototype.close = function() {
4820
4841
  this._close();
4821
- }, re.CONNECTING = he, re.OPEN = pe, re.CLOSED = Z, re.prototype.withCredentials = void 0;
4822
- var mt = h;
4823
- o != null && (h == null || !("withCredentials" in h.prototype)) && (mt = re), function(l) {
4842
+ }, re.CONNECTING = he, re.OPEN = me, re.CLOSED = Z, re.prototype.withCredentials = void 0;
4843
+ var pt = h;
4844
+ o != null && (h == null || !("withCredentials" in h.prototype)) && (pt = re), function(l) {
4824
4845
  {
4825
4846
  var b = l(t);
4826
4847
  b !== void 0 && (e.exports = b);
4827
4848
  }
4828
4849
  }(function(l) {
4829
- l.EventSourcePolyfill = re, l.NativeEventSource = h, l.EventSource = mt;
4850
+ l.EventSourcePolyfill = re, l.NativeEventSource = h, l.EventSource = pt;
4830
4851
  });
4831
4852
  })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : xi : globalThis);
4832
- })(hr, hr.exports);
4833
- var fs = hr.exports;
4834
- function cs(e, t) {
4853
+ })(pr, pr.exports);
4854
+ var ds = pr.exports;
4855
+ function ps(e, t) {
4835
4856
  if (e) {
4836
4857
  const r = document.createElement("style");
4837
4858
  r.innerHTML = t, e.appendChild(r);
4838
4859
  }
4839
4860
  }
4840
- function ds(e, t) {
4861
+ function ms(e, t) {
4841
4862
  const r = new URL(t);
4842
4863
  fetch(r.href).then((n) => n.text()).then((n) => {
4843
4864
  const i = document.createElement("style");
@@ -4846,7 +4867,7 @@ function ds(e, t) {
4846
4867
  console.error("There was an error while trying to load client styling from URL", n);
4847
4868
  });
4848
4869
  }
4849
- function ms(e, t, r) {
4870
+ function bs(e, t, r) {
4850
4871
  if (window.emMessageBus) {
4851
4872
  const n = document.createElement("style");
4852
4873
  window.emMessageBus.subscribe(t, (i) => {
@@ -4866,7 +4887,7 @@ if (typeof window != "undefined") {
4866
4887
  }
4867
4888
  };
4868
4889
  };
4869
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-BRdMVqnq.js").then(({ default: t }) => {
4890
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-DysKLY6Z.js").then(({ default: t }) => {
4870
4891
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4871
4892
  });
4872
4893
  }
@@ -4882,52 +4903,52 @@ if (typeof window != "undefined") {
4882
4903
  }
4883
4904
  };
4884
4905
  };
4885
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-dDb1r5RO.js").then(({ default: t }) => {
4906
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-MrwaY3wY.js").then(({ default: t }) => {
4886
4907
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4887
4908
  });
4888
4909
  }
4889
- const kr = (e) => e.length > 0 && e != "false";
4890
- function ps(e) {
4891
- Fn(e, "svelte-v0e19m", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emw--color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emw--color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}");
4910
+ const Xr = (e) => e.length > 0 && e != "false";
4911
+ function gs(e) {
4912
+ Un(e, "svelte-v0e19m", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emw--color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emw--color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}");
4892
4913
  }
4893
- function bs(e) {
4914
+ function vs(e) {
4894
4915
  let t, r, n, i, o, s, a = (
4895
4916
  /*filtersLoaded*/
4896
- e[21] && Vr(e)
4917
+ e[21] && zr(e)
4897
4918
  );
4898
- function h(p, _) {
4919
+ function h(m, _) {
4899
4920
  return (
4900
4921
  /*tournamentsNumber*/
4901
- p[22] == 0 ? ys : vs
4922
+ m[22] == 0 ? _s : Es
4902
4923
  );
4903
4924
  }
4904
4925
  let u = h(e), c = u(e), d = !/*allTournamentsShown*/
4905
- e[23] && Xr(e);
4926
+ e[23] && Wr(e);
4906
4927
  return {
4907
4928
  c() {
4908
- t = X("div"), r = X("div"), n = X("div"), a && a.c(), i = zt(), o = X("div"), c.c(), s = zt(), d && d.c(), U(n, "class", "FirstRow"), U(n, "part", "FirstRow"), U(o, "class", "SecondRow"), U(o, "part", "SecondRow"), U(r, "class", "Tournaments"), U(r, "part", "Tournaments"), U(t, "class", "TournamentsWrapper"), U(t, "part", "TournamentsWrapper");
4929
+ t = X("div"), r = X("div"), n = X("div"), a && a.c(), i = qt(), o = X("div"), c.c(), s = qt(), d && d.c(), U(n, "class", "FirstRow"), U(n, "part", "FirstRow"), U(o, "class", "SecondRow"), U(o, "part", "SecondRow"), U(r, "class", "Tournaments"), U(r, "part", "Tournaments"), U(t, "class", "TournamentsWrapper"), U(t, "part", "TournamentsWrapper");
4909
4930
  },
4910
- m(p, _) {
4911
- ue(p, t, _), K(t, r), K(r, n), a && a.m(n, null), K(r, i), K(r, o), c.m(o, null), K(r, s), d && d.m(r, null);
4931
+ m(m, _) {
4932
+ ue(m, t, _), K(t, r), K(r, n), a && a.m(n, null), K(r, i), K(r, o), c.m(o, null), K(r, s), d && d.m(r, null);
4912
4933
  },
4913
- p(p, _) {
4934
+ p(m, _) {
4914
4935
  /*filtersLoaded*/
4915
- p[21] ? a ? a.p(p, _) : (a = Vr(p), a.c(), a.m(n, null)) : a && (a.d(1), a = null), u === (u = h(p)) && c ? c.p(p, _) : (c.d(1), c = u(p), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4916
- p[23] ? d && (d.d(1), d = null) : d ? d.p(p, _) : (d = Xr(p), d.c(), d.m(r, null));
4936
+ m[21] ? a ? a.p(m, _) : (a = zr(m), a.c(), a.m(n, null)) : a && (a.d(1), a = null), u === (u = h(m)) && c ? c.p(m, _) : (c.d(1), c = u(m), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4937
+ m[23] ? d && (d.d(1), d = null) : d ? d.p(m, _) : (d = Wr(m), d.c(), d.m(r, null));
4917
4938
  },
4918
- d(p) {
4919
- p && ee(t), a && a.d(), c.d(), d && d.d();
4939
+ d(m) {
4940
+ m && ee(t), a && a.d(), c.d(), d && d.d();
4920
4941
  }
4921
4942
  };
4922
4943
  }
4923
- function gs(e) {
4944
+ function ys(e) {
4924
4945
  let t, r = (
4925
4946
  /*$_*/
4926
4947
  e[24]("500") + ""
4927
4948
  ), n, i, o, s;
4928
4949
  return {
4929
4950
  c() {
4930
- t = X("p"), n = Be(r), i = zt(), o = X("p"), s = Be(
4951
+ t = X("p"), n = Pe(r), i = qt(), o = X("p"), s = Pe(
4931
4952
  /*error*/
4932
4953
  e[19]
4933
4954
  );
@@ -4938,8 +4959,8 @@ function gs(e) {
4938
4959
  p(a, h) {
4939
4960
  h[0] & /*$_*/
4940
4961
  16777216 && r !== (r = /*$_*/
4941
- a[24]("500") + "") && We(n, r), h[0] & /*error*/
4942
- 524288 && We(
4962
+ a[24]("500") + "") && ze(n, r), h[0] & /*error*/
4963
+ 524288 && ze(
4943
4964
  s,
4944
4965
  /*error*/
4945
4966
  a[19]
@@ -4950,7 +4971,7 @@ function gs(e) {
4950
4971
  }
4951
4972
  };
4952
4973
  }
4953
- function Vr(e) {
4974
+ function zr(e) {
4954
4975
  let t;
4955
4976
  return {
4956
4977
  c() {
@@ -4974,7 +4995,7 @@ function Vr(e) {
4974
4995
  "mbsource",
4975
4996
  /*mbsource*/
4976
4997
  e[15]
4977
- ), x(t, "filters", Ts), x(
4998
+ ), x(t, "filters", As), x(
4978
4999
  t,
4979
5000
  "activefilters",
4980
5001
  /*filters*/
@@ -5022,7 +5043,7 @@ function Vr(e) {
5022
5043
  }
5023
5044
  };
5024
5045
  }
5025
- function vs(e) {
5046
+ function Es(e) {
5026
5047
  let t;
5027
5048
  return {
5028
5049
  c() {
@@ -5207,21 +5228,21 @@ function vs(e) {
5207
5228
  }
5208
5229
  };
5209
5230
  }
5210
- function ys(e) {
5231
+ function _s(e) {
5211
5232
  let t;
5212
5233
  function r(o, s) {
5213
5234
  return (
5214
5235
  /*isLoading*/
5215
- o[20] ? xs : (
5236
+ o[20] ? Ts : (
5216
5237
  /*hasFetchErrors*/
5217
- o[18] ? _s : Es
5238
+ o[18] ? ws : xs
5218
5239
  )
5219
5240
  );
5220
5241
  }
5221
5242
  let n = r(e), i = n(e);
5222
5243
  return {
5223
5244
  c() {
5224
- i.c(), t = jn();
5245
+ i.c(), t = $n();
5225
5246
  },
5226
5247
  m(o, s) {
5227
5248
  i.m(o, s), ue(o, t, s);
@@ -5234,14 +5255,14 @@ function ys(e) {
5234
5255
  }
5235
5256
  };
5236
5257
  }
5237
- function Es(e) {
5258
+ function xs(e) {
5238
5259
  let t, r = (
5239
5260
  /*$_*/
5240
5261
  e[24]("noTournaments") + ""
5241
5262
  ), n;
5242
5263
  return {
5243
5264
  c() {
5244
- t = X("p"), n = Be(r), U(t, "class", "NoTournaments"), U(t, "part", "NoTournaments");
5265
+ t = X("p"), n = Pe(r), U(t, "class", "NoTournaments"), U(t, "part", "NoTournaments");
5245
5266
  },
5246
5267
  m(i, o) {
5247
5268
  ue(i, t, o), K(t, n);
@@ -5249,21 +5270,21 @@ function Es(e) {
5249
5270
  p(i, o) {
5250
5271
  o[0] & /*$_*/
5251
5272
  16777216 && r !== (r = /*$_*/
5252
- i[24]("noTournaments") + "") && We(n, r);
5273
+ i[24]("noTournaments") + "") && ze(n, r);
5253
5274
  },
5254
5275
  d(i) {
5255
5276
  i && ee(t);
5256
5277
  }
5257
5278
  };
5258
5279
  }
5259
- function _s(e) {
5280
+ function ws(e) {
5260
5281
  let t, r = (
5261
5282
  /*$_*/
5262
5283
  e[24]("fetchError") + ""
5263
5284
  ), n;
5264
5285
  return {
5265
5286
  c() {
5266
- t = X("p"), n = Be(r), U(t, "class", "FetchErrorMessage");
5287
+ t = X("p"), n = Pe(r), U(t, "class", "FetchErrorMessage");
5267
5288
  },
5268
5289
  m(i, o) {
5269
5290
  ue(i, t, o), K(t, n);
@@ -5271,21 +5292,21 @@ function _s(e) {
5271
5292
  p(i, o) {
5272
5293
  o[0] & /*$_*/
5273
5294
  16777216 && r !== (r = /*$_*/
5274
- i[24]("fetchError") + "") && We(n, r);
5295
+ i[24]("fetchError") + "") && ze(n, r);
5275
5296
  },
5276
5297
  d(i) {
5277
5298
  i && ee(t);
5278
5299
  }
5279
5300
  };
5280
5301
  }
5281
- function xs(e) {
5302
+ function Ts(e) {
5282
5303
  let t, r = (
5283
5304
  /*$_*/
5284
5305
  e[24]("loading") + ""
5285
5306
  ), n;
5286
5307
  return {
5287
5308
  c() {
5288
- t = X("p"), n = Be(r), U(t, "class", "LoadingMessage"), U(t, "part", "LoadingMessage");
5309
+ t = X("p"), n = Pe(r), U(t, "class", "LoadingMessage"), U(t, "part", "LoadingMessage");
5289
5310
  },
5290
5311
  m(i, o) {
5291
5312
  ue(i, t, o), K(t, n);
@@ -5293,24 +5314,24 @@ function xs(e) {
5293
5314
  p(i, o) {
5294
5315
  o[0] & /*$_*/
5295
5316
  16777216 && r !== (r = /*$_*/
5296
- i[24]("loading") + "") && We(n, r);
5317
+ i[24]("loading") + "") && ze(n, r);
5297
5318
  },
5298
5319
  d(i) {
5299
5320
  i && ee(t);
5300
5321
  }
5301
5322
  };
5302
5323
  }
5303
- function Xr(e) {
5324
+ function Wr(e) {
5304
5325
  let t, r, n, i = (
5305
5326
  /*$_*/
5306
5327
  e[24]("showMore") + ""
5307
5328
  ), o, s, a;
5308
5329
  return {
5309
5330
  c() {
5310
- t = X("div"), r = X("div"), n = X("button"), o = Be(i), U(n, "class", "ShowMoreButton"), U(n, "part", "ShowMoreButton"), U(n, "title", "Show More"), U(r, "class", "CenterButton"), U(r, "part", "CenterButton"), U(t, "class", "ThirdRow"), U(t, "part", "ThirdRow");
5331
+ t = X("div"), r = X("div"), n = X("button"), o = Pe(i), U(n, "class", "ShowMoreButton"), U(n, "part", "ShowMoreButton"), U(n, "title", "Show More"), U(r, "class", "CenterButton"), U(r, "part", "CenterButton"), U(t, "class", "ThirdRow"), U(t, "part", "ThirdRow");
5311
5332
  },
5312
5333
  m(h, u) {
5313
- ue(h, t, u), K(t, r), K(r, n), K(n, o), s || (a = Wt(
5334
+ ue(h, t, u), K(t, r), K(r, n), K(n, o), s || (a = Zt(
5314
5335
  n,
5315
5336
  "click",
5316
5337
  /*click_handler*/
@@ -5320,19 +5341,19 @@ function Xr(e) {
5320
5341
  p(h, u) {
5321
5342
  u[0] & /*$_*/
5322
5343
  16777216 && i !== (i = /*$_*/
5323
- h[24]("showMore") + "") && We(o, i);
5344
+ h[24]("showMore") + "") && ze(o, i);
5324
5345
  },
5325
5346
  d(h) {
5326
5347
  h && ee(t), s = !1, a();
5327
5348
  }
5328
5349
  };
5329
5350
  }
5330
- function ws(e) {
5351
+ function Ss(e) {
5331
5352
  let t;
5332
5353
  function r(o, s) {
5333
5354
  return (
5334
5355
  /*hasErrors*/
5335
- o[17] ? gs : bs
5356
+ o[17] ? ys : vs
5336
5357
  );
5337
5358
  }
5338
5359
  let n = r(e), i = n(e);
@@ -5353,34 +5374,34 @@ function ws(e) {
5353
5374
  }
5354
5375
  };
5355
5376
  }
5356
- let Ts = "All,Scheduled,Ongoing,Finished";
5357
- function Ss(e, t, r) {
5377
+ let As = "All,Scheduled,Ongoing,Finished";
5378
+ function Hs(e, t, r) {
5358
5379
  let n;
5359
- Dn(e, us, (f) => r(24, n = f));
5360
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: h = "" } = t, { numberoftournaments: u = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: p = "" } = t, { registerevent: _ = "" } = t, { loginurl: I = "" } = t, { registerurl: H = "" } = t, { currency: te = "EUR" } = t, { keepbrowsercontext: de = "false" } = t, { sorttype: ne = "" } = t, { sortorder: N = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: q = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: ge = "" } = t, { delaybeforeload: Me = 1e3 } = t, Re = !1, ye = !1, De = "", me = !1, ve = "", tt = window.navigator.userAgent, Fe = !0, Ue = !1, he = !1, { mbsource: pe } = t, Z, Ee = 0, ie = !1, oe = 6, Ce = !0, Oe = [], dt, be, rt = !1, Ge;
5361
- hs({ withLocale: "en", translations: {} });
5362
- const nt = () => {
5363
- fetch(h).then((P) => P.json()).then((P) => {
5364
- Ge = P, Object.keys(P).forEach((F) => {
5365
- Xt(F, P[F]);
5380
+ Fn(e, hs, (f) => r(24, n = f));
5381
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: h = "" } = t, { numberoftournaments: u = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: m = "" } = t, { registerevent: _ = "" } = t, { loginurl: C = "" } = t, { registerurl: H = "" } = t, { currency: te = "EUR" } = t, { keepbrowsercontext: de = "false" } = t, { sorttype: ne = "" } = t, { sortorder: L = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: q = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: ge = "" } = t, { delaybeforeload: Me = 1e3 } = t, Re = !1, Ee = !1, De = "", pe = !1, ve = "", et = window.navigator.userAgent, Fe = !0, Ue = !1, he = !1, { mbsource: me } = t, Z, _e = 0, ie = !1, oe = 6, Oe = !0, Ce = [], dt, be, tt = !1, Ge;
5382
+ cs({ withLocale: "en", translations: {} });
5383
+ const rt = () => {
5384
+ fetch(h).then((B) => B.json()).then((B) => {
5385
+ Ge = B, Object.keys(B).forEach((D) => {
5386
+ Wt(D, B[D]);
5366
5387
  });
5367
- }).catch((P) => {
5368
- console.log(P);
5388
+ }).catch((B) => {
5389
+ console.log(B);
5369
5390
  });
5370
5391
  }, Se = (f) => {
5371
- f && Object.keys(f).forEach((P) => {
5372
- Xt(P, f[P]);
5392
+ f && Object.keys(f).forEach((B) => {
5393
+ Wt(B, f[B]);
5373
5394
  });
5374
5395
  };
5375
- Object.keys($r).forEach((f) => {
5376
- Xt(f, $r[f]);
5396
+ Object.keys(Vr).forEach((f) => {
5397
+ Wt(f, Vr[f]);
5377
5398
  });
5378
5399
  const re = (f) => {
5379
- f.data && f.data.type === "UserSessionID" && (me = !0, r(32, ve = f.data.session), f.data.userid, it(s, 0, oe)), f.data && f.data.type === "TournamentsFiltersSelected" && (Oe = f.data.filters, it(s, 0, oe)), f.data && f.data.type === "TournamentThumbnailMounted" && Se(Ge);
5380
- }, It = (f) => f == "Scheduled" ? "Unstarted" : f == "Ongoing" ? "Running" : "Closing|Closed", it = (f, P, F) => Le(this, null, function* () {
5381
- r(20, Fe = !0), r(22, Ee = 0);
5382
- const O = yield l(f, P, F);
5383
- O === null ? r(18, ye = !0) : setTimeout(
5400
+ f.data && f.data.type === "UserSessionID" && (pe = !0, r(32, ve = f.data.session), f.data.userid, nt(s, 0, oe)), f.data && f.data.type === "TournamentsFiltersSelected" && (Ce = f.data.filters, nt(s, 0, oe)), f.data && f.data.type === "TournamentThumbnailMounted" && Se(Ge);
5401
+ }, Nt = (f) => f == "Scheduled" ? "Unstarted" : f == "Ongoing" ? "Running" : "Closing|Closed", nt = (f, B, D) => Le(this, null, function* () {
5402
+ r(20, Fe = !0), r(22, _e = 0);
5403
+ const O = yield l(f, B, D);
5404
+ O === null ? r(18, Ee = !0) : setTimeout(
5384
5405
  () => window.postMessage(
5385
5406
  {
5386
5407
  type: "TournamentList",
@@ -5390,54 +5411,54 @@ function Ss(e, t, r) {
5390
5411
  ),
5391
5412
  50
5392
5413
  ), r(20, Fe = !1);
5393
- }), Lt = (f, P, F) => Le(this, null, function* () {
5394
- const O = yield l(f, P, F);
5395
- O === null ? r(18, ye = !0) : window.postMessage(
5414
+ }), Mt = (f, B, D) => Le(this, null, function* () {
5415
+ const O = yield l(f, B, D);
5416
+ O === null ? r(18, Ee = !0) : window.postMessage(
5396
5417
  {
5397
5418
  type: "TournamentListShowMore",
5398
5419
  tournamentList: O.items
5399
5420
  },
5400
5421
  window.location.href
5401
5422
  );
5402
- }), mt = () => {
5423
+ }), pt = () => {
5403
5424
  const f = /* @__PURE__ */ new Date();
5404
5425
  return $ ? f.setDate(f.getDate() - Number($)) : f.setMonth(f.getMonth() - 1), f.toISOString().substring(0, 10);
5405
- }, l = (f, P, F) => Le(this, null, function* () {
5426
+ }, l = (f, B, D) => Le(this, null, function* () {
5406
5427
  const O = new URL(`${f}/v1/tournaments`), k = new Headers();
5407
- O.searchParams.append("pagination", `offset=${P},limit=${F}`), O.searchParams.append("sortField", "StartTime"), O.searchParams.append("sortOrder", N || "desc"), O.searchParams.append("language", a), O.searchParams.append("platform", ls(tt));
5408
- const W = { StartTimeAfter: mt() };
5409
- !kr(i) && q === "false" && (W.tags = "no-role-set"), Oe.length > 0 && Oe[0] != "All" && (W.state = Oe.map((G) => It(G)).join("|"));
5428
+ O.searchParams.append("pagination", `offset=${B},limit=${D}`), O.searchParams.append("sortField", "StartTime"), O.searchParams.append("sortOrder", L || "desc"), O.searchParams.append("language", a), O.searchParams.append("platform", fs(et));
5429
+ const W = { StartTimeAfter: pt() };
5430
+ !Xr(i) && q === "false" && (W.tags = "no-role-set"), Ce.length > 0 && Ce[0] != "All" && (W.state = Ce.map((G) => Nt(G)).join("|"));
5410
5431
  const Ae = Object.keys(W).map((G) => `${G}=${W[G]}`).join(",");
5411
- return O.searchParams.append("filter", Ae), ne && O.searchParams.append("sortType", ne), me && k.append("X-SessionID", ve), fetch(O, {
5432
+ return O.searchParams.append("filter", Ae), ne && O.searchParams.append("sortType", ne), pe && k.append("X-SessionID", ve), fetch(O, {
5412
5433
  method: "GET",
5413
5434
  headers: k,
5414
5435
  cache: "no-cache"
5415
- }).then((G) => G.ok ? G.json() : null).then((G) => G === null ? null : (dt = O.searchParams.toString(), r(22, Ee = G.total), oe >= Ee ? r(23, Ce = !0) : r(23, Ce = !1), he || g(), G));
5436
+ }).then((G) => G.ok ? G.json() : null).then((G) => G === null ? null : (dt = O.searchParams.toString(), r(22, _e = G.total), oe >= _e ? r(23, Oe = !0) : r(23, Oe = !1), he || g(), G));
5416
5437
  }), b = (f) => {
5417
5438
  if (f.type != "message")
5418
5439
  return;
5419
- let P = f.data;
5420
- if (P)
5440
+ let B = f.data;
5441
+ if (B)
5421
5442
  try {
5422
- let F = JSON.parse(P);
5423
- if (!F || !F.item)
5443
+ let D = JSON.parse(B);
5444
+ if (!D || !D.item)
5424
5445
  return;
5425
- let O = F.item;
5426
- F.messageType == "TournamentUpdate" && window.postMessage(
5446
+ let O = D.item;
5447
+ D.messageType == "TournamentUpdate" && window.postMessage(
5427
5448
  {
5428
5449
  type: "UpdateTournamentView",
5429
5450
  tournamentData: O
5430
5451
  },
5431
5452
  window.location.href
5432
- ), F.messageType == "TournamentRemove" && window.postMessage(
5453
+ ), D.messageType == "TournamentRemove" && window.postMessage(
5433
5454
  {
5434
5455
  type: "TournamentList",
5435
- tournamentList: F.items
5456
+ tournamentList: D.items
5436
5457
  },
5437
5458
  window.location.href
5438
5459
  );
5439
- } catch (F) {
5440
- console.error(F);
5460
+ } catch (D) {
5461
+ console.error(D);
5441
5462
  }
5442
5463
  }, g = () => {
5443
5464
  he = !0, setTimeout(
@@ -5447,7 +5468,7 @@ function Ss(e, t, r) {
5447
5468
  1e3
5448
5469
  ), be && (be.removeEventListener("message", b), be.close());
5449
5470
  let f = `${s}/v1/tournaments/updates?${dt}`;
5450
- be = new fs.EventSourcePolyfill(
5471
+ be = new ds.EventSourcePolyfill(
5451
5472
  f,
5452
5473
  {
5453
5474
  headers: {
@@ -5456,31 +5477,31 @@ function Ss(e, t, r) {
5456
5477
  }
5457
5478
  }
5458
5479
  ), typeof be != "undefined" && be.addEventListener("message", b);
5459
- }, m = () => Le(this, null, function* () {
5480
+ }, p = () => Le(this, null, function* () {
5460
5481
  let f = oe;
5461
- const P = parseInt(c, 10);
5462
- oe += P, window.postMessage(
5482
+ const B = parseInt(c, 10);
5483
+ oe += B, window.postMessage(
5463
5484
  {
5464
5485
  type: "TournamentsPagination",
5465
5486
  offset: 0,
5466
5487
  limit: oe
5467
5488
  },
5468
5489
  window.location.href
5469
- ), yield Lt(s, f, P), oe >= Ee && r(23, Ce = !0);
5490
+ ), yield Mt(s, f, B), oe >= _e && r(23, Oe = !0);
5470
5491
  }), y = () => (s || (r(19, De = "Endpoint is missing! Please provide a valid endpointURL."), r(17, Re = !0), console.error(De)), Re), v = () => {
5471
5492
  if (!ie)
5472
5493
  return !1;
5473
- y() || (oe = parseInt(u, 10), jr(a), it(s, 0, oe));
5494
+ y() || (oe = parseInt(u, 10), kr(a), nt(s, 0, oe));
5474
5495
  }, w = () => {
5475
- jr(a);
5476
- }, M = () => {
5477
- Oe = d.split(","), r(21, Ue = !0);
5496
+ kr(a);
5497
+ }, N = () => {
5498
+ Ce = d.split(","), r(21, Ue = !0);
5478
5499
  }, T = () => {
5479
- kr(i) ? (me = !0, r(32, ve = i)) : (me = !1, r(32, ve = ""));
5480
- }, B = () => Le(this, null, function* () {
5481
- rt || (rt = !0, yield v(), rt = !1);
5500
+ Xr(i) ? (pe = !0, r(32, ve = i)) : (pe = !1, r(32, ve = ""));
5501
+ }, P = () => Le(this, null, function* () {
5502
+ tt || (tt = !0, yield v(), tt = !1);
5482
5503
  });
5483
- zn(() => (setTimeout(
5504
+ Wn(() => (setTimeout(
5484
5505
  () => {
5485
5506
  r(33, ie = !0);
5486
5507
  },
@@ -5488,27 +5509,27 @@ function Ss(e, t, r) {
5488
5509
  ), window.addEventListener("message", re, !1), () => {
5489
5510
  window.removeEventListener("message", re), be && (be.removeEventListener("message", b), be.close());
5490
5511
  }));
5491
- const L = () => m();
5512
+ const I = () => p();
5492
5513
  function E(f) {
5493
- qt[f ? "unshift" : "push"](() => {
5514
+ Jt[f ? "unshift" : "push"](() => {
5494
5515
  Z = f, r(16, Z);
5495
5516
  });
5496
5517
  }
5497
5518
  return e.$$set = (f) => {
5498
- "session" in f && r(0, i = f.session), "userid" in f && r(1, o = f.userid), "endpoint" in f && r(2, s = f.endpoint), "lang" in f && r(3, a = f.lang), "translationurl" in f && r(4, h = f.translationurl), "numberoftournaments" in f && r(5, u = f.numberoftournaments), "showmorestep" in f && r(26, c = f.showmorestep), "filters" in f && r(6, d = f.filters), "loginevent" in f && r(7, p = f.loginevent), "registerevent" in f && r(8, _ = f.registerevent), "loginurl" in f && r(9, I = f.loginurl), "registerurl" in f && r(10, H = f.registerurl), "currency" in f && r(11, te = f.currency), "keepbrowsercontext" in f && r(12, de = f.keepbrowsercontext), "sorttype" in f && r(27, ne = f.sorttype), "sortorder" in f && r(28, N = f.sortorder), "starttimeafter" in f && r(29, $ = f.starttimeafter), "showanonymoustournaments" in f && r(30, q = f.showanonymoustournaments), "clientstyling" in f && r(13, le = f.clientstyling), "clientstylingurl" in f && r(14, ge = f.clientstylingurl), "delaybeforeload" in f && r(31, Me = f.delaybeforeload), "mbsource" in f && r(15, pe = f.mbsource);
5519
+ "session" in f && r(0, i = f.session), "userid" in f && r(1, o = f.userid), "endpoint" in f && r(2, s = f.endpoint), "lang" in f && r(3, a = f.lang), "translationurl" in f && r(4, h = f.translationurl), "numberoftournaments" in f && r(5, u = f.numberoftournaments), "showmorestep" in f && r(26, c = f.showmorestep), "filters" in f && r(6, d = f.filters), "loginevent" in f && r(7, m = f.loginevent), "registerevent" in f && r(8, _ = f.registerevent), "loginurl" in f && r(9, C = f.loginurl), "registerurl" in f && r(10, H = f.registerurl), "currency" in f && r(11, te = f.currency), "keepbrowsercontext" in f && r(12, de = f.keepbrowsercontext), "sorttype" in f && r(27, ne = f.sorttype), "sortorder" in f && r(28, L = f.sortorder), "starttimeafter" in f && r(29, $ = f.starttimeafter), "showanonymoustournaments" in f && r(30, q = f.showanonymoustournaments), "clientstyling" in f && r(13, le = f.clientstyling), "clientstylingurl" in f && r(14, ge = f.clientstylingurl), "delaybeforeload" in f && r(31, Me = f.delaybeforeload), "mbsource" in f && r(15, me = f.mbsource);
5499
5520
  }, e.$$.update = () => {
5500
5521
  e.$$.dirty[0] & /*userid*/
5501
5522
  2, e.$$.dirty[0] & /*filters*/
5502
- 64 && d && M(), e.$$.dirty[0] & /*lang*/
5523
+ 64 && d && N(), e.$$.dirty[0] & /*lang*/
5503
5524
  8 && a && w(), e.$$.dirty[0] & /*translationurl*/
5504
- 16 && h && nt(), e.$$.dirty[1] & /*isMounted*/
5525
+ 16 && h && rt(), e.$$.dirty[1] & /*isMounted*/
5505
5526
  4 && ie && v(), e.$$.dirty[0] & /*session*/
5506
5527
  1 && (i === "" || i) && T(), e.$$.dirty[1] & /*sessionID*/
5507
- 2 && (ve === "" || ve) && B(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5508
- 1140850732 && s && u && c && a && q && B(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5509
- 73728 && le && Z && cs(Z, le), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5510
- 81920 && ge && Z && ds(Z, ge), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5511
- 98304 && pe && Z && ms(Z, `${pe}.Style`);
5528
+ 2 && (ve === "" || ve) && P(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5529
+ 1140850732 && s && u && c && a && q && P(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5530
+ 73728 && le && Z && ps(Z, le), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5531
+ 81920 && ge && Z && ms(Z, ge), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5532
+ 98304 && me && Z && bs(Z, `${me}.Style`);
5512
5533
  }, [
5513
5534
  i,
5514
5535
  o,
@@ -5517,45 +5538,45 @@ function Ss(e, t, r) {
5517
5538
  h,
5518
5539
  u,
5519
5540
  d,
5520
- p,
5541
+ m,
5521
5542
  _,
5522
- I,
5543
+ C,
5523
5544
  H,
5524
5545
  te,
5525
5546
  de,
5526
5547
  le,
5527
5548
  ge,
5528
- pe,
5549
+ me,
5529
5550
  Z,
5530
5551
  Re,
5531
- ye,
5552
+ Ee,
5532
5553
  De,
5533
5554
  Fe,
5534
5555
  Ue,
5535
- Ee,
5536
- Ce,
5556
+ _e,
5557
+ Oe,
5537
5558
  n,
5538
- m,
5559
+ p,
5539
5560
  c,
5540
5561
  ne,
5541
- N,
5562
+ L,
5542
5563
  $,
5543
5564
  q,
5544
5565
  Me,
5545
5566
  ve,
5546
5567
  ie,
5547
- L,
5568
+ I,
5548
5569
  E
5549
5570
  ];
5550
5571
  }
5551
- class Bn extends ii {
5572
+ class Bn extends oi {
5552
5573
  constructor(t) {
5553
- super(), ri(
5574
+ super(), ni(
5554
5575
  this,
5555
5576
  t,
5577
+ Hs,
5556
5578
  Ss,
5557
- ws,
5558
- Wr,
5579
+ Zr,
5559
5580
  {
5560
5581
  session: 0,
5561
5582
  userid: 1,
@@ -5580,7 +5601,7 @@ class Bn extends ii {
5580
5601
  delaybeforeload: 31,
5581
5602
  mbsource: 15
5582
5603
  },
5583
- ps,
5604
+ gs,
5584
5605
  [-1, -1, -1]
5585
5606
  );
5586
5607
  }
@@ -5588,181 +5609,181 @@ class Bn extends ii {
5588
5609
  return this.$$.ctx[0];
5589
5610
  }
5590
5611
  set session(t) {
5591
- this.$$set({ session: t }), R();
5612
+ this.$$set({ session: t }), M();
5592
5613
  }
5593
5614
  get userid() {
5594
5615
  return this.$$.ctx[1];
5595
5616
  }
5596
5617
  set userid(t) {
5597
- this.$$set({ userid: t }), R();
5618
+ this.$$set({ userid: t }), M();
5598
5619
  }
5599
5620
  get endpoint() {
5600
5621
  return this.$$.ctx[2];
5601
5622
  }
5602
5623
  set endpoint(t) {
5603
- this.$$set({ endpoint: t }), R();
5624
+ this.$$set({ endpoint: t }), M();
5604
5625
  }
5605
5626
  get lang() {
5606
5627
  return this.$$.ctx[3];
5607
5628
  }
5608
5629
  set lang(t) {
5609
- this.$$set({ lang: t }), R();
5630
+ this.$$set({ lang: t }), M();
5610
5631
  }
5611
5632
  get translationurl() {
5612
5633
  return this.$$.ctx[4];
5613
5634
  }
5614
5635
  set translationurl(t) {
5615
- this.$$set({ translationurl: t }), R();
5636
+ this.$$set({ translationurl: t }), M();
5616
5637
  }
5617
5638
  get numberoftournaments() {
5618
5639
  return this.$$.ctx[5];
5619
5640
  }
5620
5641
  set numberoftournaments(t) {
5621
- this.$$set({ numberoftournaments: t }), R();
5642
+ this.$$set({ numberoftournaments: t }), M();
5622
5643
  }
5623
5644
  get showmorestep() {
5624
5645
  return this.$$.ctx[26];
5625
5646
  }
5626
5647
  set showmorestep(t) {
5627
- this.$$set({ showmorestep: t }), R();
5648
+ this.$$set({ showmorestep: t }), M();
5628
5649
  }
5629
5650
  get filters() {
5630
5651
  return this.$$.ctx[6];
5631
5652
  }
5632
5653
  set filters(t) {
5633
- this.$$set({ filters: t }), R();
5654
+ this.$$set({ filters: t }), M();
5634
5655
  }
5635
5656
  get loginevent() {
5636
5657
  return this.$$.ctx[7];
5637
5658
  }
5638
5659
  set loginevent(t) {
5639
- this.$$set({ loginevent: t }), R();
5660
+ this.$$set({ loginevent: t }), M();
5640
5661
  }
5641
5662
  get registerevent() {
5642
5663
  return this.$$.ctx[8];
5643
5664
  }
5644
5665
  set registerevent(t) {
5645
- this.$$set({ registerevent: t }), R();
5666
+ this.$$set({ registerevent: t }), M();
5646
5667
  }
5647
5668
  get loginurl() {
5648
5669
  return this.$$.ctx[9];
5649
5670
  }
5650
5671
  set loginurl(t) {
5651
- this.$$set({ loginurl: t }), R();
5672
+ this.$$set({ loginurl: t }), M();
5652
5673
  }
5653
5674
  get registerurl() {
5654
5675
  return this.$$.ctx[10];
5655
5676
  }
5656
5677
  set registerurl(t) {
5657
- this.$$set({ registerurl: t }), R();
5678
+ this.$$set({ registerurl: t }), M();
5658
5679
  }
5659
5680
  get currency() {
5660
5681
  return this.$$.ctx[11];
5661
5682
  }
5662
5683
  set currency(t) {
5663
- this.$$set({ currency: t }), R();
5684
+ this.$$set({ currency: t }), M();
5664
5685
  }
5665
5686
  get keepbrowsercontext() {
5666
5687
  return this.$$.ctx[12];
5667
5688
  }
5668
5689
  set keepbrowsercontext(t) {
5669
- this.$$set({ keepbrowsercontext: t }), R();
5690
+ this.$$set({ keepbrowsercontext: t }), M();
5670
5691
  }
5671
5692
  get sorttype() {
5672
5693
  return this.$$.ctx[27];
5673
5694
  }
5674
5695
  set sorttype(t) {
5675
- this.$$set({ sorttype: t }), R();
5696
+ this.$$set({ sorttype: t }), M();
5676
5697
  }
5677
5698
  get sortorder() {
5678
5699
  return this.$$.ctx[28];
5679
5700
  }
5680
5701
  set sortorder(t) {
5681
- this.$$set({ sortorder: t }), R();
5702
+ this.$$set({ sortorder: t }), M();
5682
5703
  }
5683
5704
  get starttimeafter() {
5684
5705
  return this.$$.ctx[29];
5685
5706
  }
5686
5707
  set starttimeafter(t) {
5687
- this.$$set({ starttimeafter: t }), R();
5708
+ this.$$set({ starttimeafter: t }), M();
5688
5709
  }
5689
5710
  get showanonymoustournaments() {
5690
5711
  return this.$$.ctx[30];
5691
5712
  }
5692
5713
  set showanonymoustournaments(t) {
5693
- this.$$set({ showanonymoustournaments: t }), R();
5714
+ this.$$set({ showanonymoustournaments: t }), M();
5694
5715
  }
5695
5716
  get clientstyling() {
5696
5717
  return this.$$.ctx[13];
5697
5718
  }
5698
5719
  set clientstyling(t) {
5699
- this.$$set({ clientstyling: t }), R();
5720
+ this.$$set({ clientstyling: t }), M();
5700
5721
  }
5701
5722
  get clientstylingurl() {
5702
5723
  return this.$$.ctx[14];
5703
5724
  }
5704
5725
  set clientstylingurl(t) {
5705
- this.$$set({ clientstylingurl: t }), R();
5726
+ this.$$set({ clientstylingurl: t }), M();
5706
5727
  }
5707
5728
  get delaybeforeload() {
5708
5729
  return this.$$.ctx[31];
5709
5730
  }
5710
5731
  set delaybeforeload(t) {
5711
- this.$$set({ delaybeforeload: t }), R();
5732
+ this.$$set({ delaybeforeload: t }), M();
5712
5733
  }
5713
5734
  get mbsource() {
5714
5735
  return this.$$.ctx[15];
5715
5736
  }
5716
5737
  set mbsource(t) {
5717
- this.$$set({ mbsource: t }), R();
5738
+ this.$$set({ mbsource: t }), M();
5718
5739
  }
5719
5740
  }
5720
- ni(Bn, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {}, mbsource: {} }, [], [], !0);
5721
- const Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5741
+ ii(Bn, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {}, mbsource: {} }, [], [], !0);
5742
+ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5722
5743
  __proto__: null,
5723
5744
  default: Bn
5724
5745
  }, Symbol.toStringTag, { value: "Module" }));
5725
5746
  export {
5726
- us as $,
5727
- jn as A,
5747
+ hs as $,
5748
+ $n as A,
5728
5749
  x as B,
5729
- Pe as C,
5730
- Ke as D,
5731
- Bs as E,
5732
- ct as F,
5733
- At as G,
5734
- Hs as H,
5735
- ls as I,
5736
- Os as J,
5737
- Ls as K,
5738
- Jt as L,
5739
- Is as M,
5740
- Rs as N,
5741
- ii as S,
5742
- wn as a,
5743
- Fn as b,
5744
- ni as c,
5745
- U as d,
5750
+ Be as C,
5751
+ Ye as D,
5752
+ ft as E,
5753
+ Os as F,
5754
+ Bs as G,
5755
+ Ht as H,
5756
+ fs as I,
5757
+ Ls as J,
5758
+ Ms as K,
5759
+ Ns as L,
5760
+ Yt as M,
5761
+ Fs as N,
5762
+ oi as S,
5763
+ Tn as a,
5764
+ Un as b,
5765
+ ue as c,
5766
+ ee as d,
5746
5767
  X as e,
5747
- R as f,
5748
- Ms as g,
5749
- ue as h,
5750
- ri as i,
5751
- ee as j,
5752
- Dn as k,
5753
- ds as l,
5754
- ms as m,
5768
+ M as f,
5769
+ U as g,
5770
+ Ds as h,
5771
+ ni as i,
5772
+ Fn as j,
5773
+ Rs as k,
5774
+ Cs as l,
5775
+ ze as m,
5755
5776
  ce as n,
5756
- zn as o,
5757
- Ns as p,
5758
- zt as q,
5759
- K as r,
5760
- Wr as s,
5761
- Be as t,
5762
- We as u,
5763
- Ps as v,
5764
- Wt as w,
5765
- qt as x,
5766
- cs as y,
5767
- Cs as z
5777
+ Wn as o,
5778
+ K as p,
5779
+ qt as q,
5780
+ Jt as r,
5781
+ Zr as s,
5782
+ Pe as t,
5783
+ Zt as u,
5784
+ Is as v,
5785
+ ps as w,
5786
+ ms as x,
5787
+ bs as y,
5788
+ ii as z
5768
5789
  };