@everymatrix/casino-tournaments-controller 1.76.11 → 1.76.13

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 (50) hide show
  1. package/components/CasinoTournamentsController-BP4GZVtU.cjs +27 -0
  2. package/components/{CasinoTournamentsController-tMeFrbKW.js → CasinoTournamentsController-BeFfFxE9.js} +987 -952
  3. package/components/{CasinoTournamentsController-hFqA47Pf.js → CasinoTournamentsController-LRYFaR-t.js} +913 -878
  4. package/components/{CasinoTournamentsFilterController-DkCuVRNa.js → CasinoTournamentsFilterController-BsEC-oQo.js} +1 -1
  5. package/components/{CasinoTournamentsFilterController-CUe1VOEy.cjs → CasinoTournamentsFilterController-DXK0XSxa.cjs} +1 -1
  6. package/components/{CasinoTournamentsFilterController-ilcB4XKI.js → CasinoTournamentsFilterController-DXxuTK6U.js} +1 -1
  7. package/components/{CasinoTournamentsListController-DgAKIalg.cjs → CasinoTournamentsListController-BNEV4LWf.cjs} +2 -2
  8. package/components/{CasinoTournamentsListController-DOzCPChZ.js → CasinoTournamentsListController-C0LGjwkY.js} +2 -2
  9. package/components/{CasinoTournamentsListController-H6H6XAXQ.js → CasinoTournamentsListController-CfUssFi-.js} +2 -2
  10. package/components/{CasinoTournamentsThumbnail-CZ8Us6iC.js → CasinoTournamentsThumbnail-B9JEdetg.js} +2 -2
  11. package/components/{CasinoTournamentsThumbnail-D1r9Cklu.cjs → CasinoTournamentsThumbnail-CsQHQ8xG.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnail-C0KSL4xR.js → CasinoTournamentsThumbnail-DaaNoGx-.js} +2 -2
  13. package/components/{CasinoTournamentsThumbnailController-BMwuSsTr.js → CasinoTournamentsThumbnailController-Cwhxc5Ya.js} +5 -5
  14. package/components/{CasinoTournamentsThumbnailController-CkfkunYG.cjs → CasinoTournamentsThumbnailController-D42lQnRg.cjs} +1 -1
  15. package/components/{CasinoTournamentsThumbnailController-Dr_HVN7T.js → CasinoTournamentsThumbnailController-DrFp803W.js} +5 -5
  16. package/components/{CasinoTournamentsThumbnailDuration-Dnm25Pha.cjs → CasinoTournamentsThumbnailDuration-B313qJLe.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailDuration-Q1TIVnAp.js → CasinoTournamentsThumbnailDuration-B4xI8aqp.js} +1 -1
  18. package/components/{CasinoTournamentsThumbnailDuration-B1mIT5c7.js → CasinoTournamentsThumbnailDuration-CFiANZ67.js} +1 -1
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-Bv12OfPF.js → CasinoTournamentsThumbnailGamesSlider-CscM2Myg.js} +1 -1
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-Dzc08v3x.js → CasinoTournamentsThumbnailGamesSlider-DETtvQAK.js} +1 -1
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-CMF4oOLY.cjs → CasinoTournamentsThumbnailGamesSlider-DthTO66j.cjs} +1 -1
  22. package/components/{CasinoTournamentsThumbnailPrizes-V2PfL4in.js → CasinoTournamentsThumbnailPrizes-BC1gIfM9.js} +1 -1
  23. package/components/{CasinoTournamentsThumbnailPrizes-DjwxNAEf.cjs → CasinoTournamentsThumbnailPrizes-CvNiFAlR.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-DYztH0ev.js → CasinoTournamentsThumbnailPrizes-DRNNbLKj.js} +1 -1
  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-242ac81a-BqeIndhr.js +554 -0
  30. package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
  31. package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
  32. package/stencil/ui-image-2ff23cd5-BHGIWJop.cjs +1 -0
  33. package/stencil/ui-image-2ff23cd5-D0rXudCW.js +86 -0
  34. package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +86 -0
  35. package/stencil/ui-image-CGQNKTif.js +7 -0
  36. package/stencil/ui-image-CYCsgzdt.cjs +1 -0
  37. package/stencil/ui-image-D4MrqmCW.js +25 -0
  38. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-B21W_djK.js} +2 -2
  39. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-CLk629jW.cjs} +1 -1
  40. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-VgK3B8gQ.js} +2 -2
  41. package/components/CasinoTournamentsController-BnE_iwzb.cjs +0 -27
  42. package/stencil/index-97d17652--F7PvMq9.js +0 -542
  43. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  44. package/stencil/index-97d17652-CCFHkzJw.js +0 -558
  45. package/stencil/ui-image-Bk8cIvcH.cjs +0 -1
  46. package/stencil/ui-image-CXqPvnQ2.js +0 -7
  47. package/stencil/ui-image-DgbODkuX.js +0 -25
  48. package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +0 -39
  49. package/stencil/ui-image-b7b48fe5-D6iig_uN.js +0 -39
  50. package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +0 -1
@@ -9,33 +9,33 @@ var Ft = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writ
9
9
  for (var r of vr(t))
10
10
  Rn.call(t, r) && Ft(e, r, t[r]);
11
11
  return e;
12
- }, _r = (e, t) => Ln(e, Nn(t));
13
- var he = (e, t, r) => (Ft(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ne = (e, t, r) => new Promise((n, i) => {
15
- var o = (f) => {
12
+ }, Er = (e, t) => Ln(e, Nn(t));
13
+ var fe = (e, t, r) => (Ft(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Le = (e, t, r) => new Promise((n, i) => {
15
+ var o = (h) => {
16
16
  try {
17
- a(r.next(f));
18
- } catch (l) {
19
- i(l);
17
+ a(r.next(h));
18
+ } catch (u) {
19
+ i(u);
20
20
  }
21
- }, s = (f) => {
21
+ }, s = (h) => {
22
22
  try {
23
- a(r.throw(f));
24
- } catch (l) {
25
- i(l);
23
+ a(r.throw(h));
24
+ } catch (u) {
25
+ i(u);
26
26
  }
27
- }, a = (f) => f.done ? n(f.value) : Promise.resolve(f.value).then(o, s);
27
+ }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function fe() {
30
+ function ce() {
31
31
  }
32
32
  function qr(e) {
33
33
  return e();
34
34
  }
35
- function Er() {
35
+ function _r() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ht(e) {
38
+ function ft(e) {
39
39
  e.forEach(qr);
40
40
  }
41
41
  function Ht(e) {
@@ -45,7 +45,7 @@ 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 Ps(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
51
  function Dn(e) {
@@ -55,7 +55,7 @@ function Jr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return fe;
58
+ return ce;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -63,10 +63,10 @@ function Jr(e, ...t) {
63
63
  function Fn(e, t, r) {
64
64
  e.$$.on_destroy.push(Jr(t, r));
65
65
  }
66
- function Bs(e) {
67
- return e && Ht(e.destroy) ? e.destroy : fe;
66
+ function Os(e) {
67
+ return e && Ht(e.destroy) ? e.destroy : ce;
68
68
  }
69
- function te(e, t) {
69
+ function K(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
72
  function Un(e, t, r) {
@@ -87,55 +87,55 @@ function Gn(e) {
87
87
  ) : e.ownerDocument;
88
88
  }
89
89
  function jn(e, t) {
90
- return te(
90
+ return K(
91
91
  /** @type {Document} */
92
92
  e.head || e,
93
93
  t
94
94
  ), t.sheet;
95
95
  }
96
- function ce(e, t, r) {
96
+ function ue(e, t, r) {
97
97
  e.insertBefore(t, r || null);
98
98
  }
99
- function re(e) {
99
+ function ee(e) {
100
100
  e.parentNode && e.parentNode.removeChild(e);
101
101
  }
102
- function Os(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 Me(e) {
112
+ function Pe(e) {
113
113
  return document.createTextNode(e);
114
114
  }
115
115
  function qt() {
116
- return Me(" ");
116
+ return Pe(" ");
117
117
  }
118
118
  function $n() {
119
- return Me("");
119
+ return Pe("");
120
120
  }
121
121
  function Zt(e, t, r, n) {
122
122
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
123
123
  }
124
- function F(e, t, r) {
124
+ function U(e, t, r) {
125
125
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
126
126
  }
127
127
  function x(e, t, r) {
128
128
  const n = t.toLowerCase();
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 : F(e, t, r);
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
131
  function kn(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function st(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 Is(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;
@@ -150,7 +150,7 @@ function Vn() {
150
150
  }
151
151
  return gt;
152
152
  }
153
- function Ls(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(
@@ -168,11 +168,11 @@ function Ls(e, t) {
168
168
  }
169
169
  )) : (n.src = "about:blank", n.onload = () => {
170
170
  o = Zt(n.contentWindow, "resize", t), t();
171
- }), te(e, n), () => {
172
- (i || o && n.contentWindow) && o(), re(n);
171
+ }), K(e, n), () => {
172
+ (i || o && n.contentWindow) && o(), ee(n);
173
173
  };
174
174
  }
175
- function Ns(e, t, r) {
175
+ function Ms(e, t, r) {
176
176
  e.classList.toggle(t, !!r);
177
177
  }
178
178
  function Xn(e) {
@@ -184,148 +184,148 @@ function Xn(e) {
184
184
  }
185
185
  ), t;
186
186
  }
187
- let at;
188
- function ot(e) {
189
- at = e;
187
+ let ut;
188
+ function at(e) {
189
+ ut = e;
190
190
  }
191
191
  function zn() {
192
- if (!at)
192
+ if (!ut)
193
193
  throw new Error("Function called outside component initialization");
194
- return at;
194
+ return ut;
195
195
  }
196
196
  function Wn(e) {
197
197
  zn().$$.on_mount.push(e);
198
198
  }
199
- const $e = [], Jt = [];
200
- let ke = [];
199
+ const Ve = [], Jt = [];
200
+ let Xe = [];
201
201
  const xr = [], qn = /* @__PURE__ */ Promise.resolve();
202
202
  let Qt = !1;
203
203
  function Zn() {
204
- Qt || (Qt = !0, qn.then(N));
204
+ Qt || (Qt = !0, qn.then(M));
205
205
  }
206
206
  function Yt(e) {
207
- ke.push(e);
207
+ Xe.push(e);
208
208
  }
209
209
  const Ut = /* @__PURE__ */ new Set();
210
- let Ge = 0;
211
- function N() {
212
- if (Ge !== 0)
210
+ let $e = 0;
211
+ function M() {
212
+ if ($e !== 0)
213
213
  return;
214
- const e = at;
214
+ const e = ut;
215
215
  do {
216
216
  try {
217
- for (; Ge < $e.length; ) {
218
- const t = $e[Ge];
219
- Ge++, ot(t), Jn(t.$$);
217
+ for (; $e < Ve.length; ) {
218
+ const t = Ve[$e];
219
+ $e++, at(t), Jn(t.$$);
220
220
  }
221
221
  } catch (t) {
222
- throw $e.length = 0, Ge = 0, t;
222
+ throw Ve.length = 0, $e = 0, t;
223
223
  }
224
- for (ot(null), $e.length = 0, Ge = 0; Jt.length; )
224
+ for (at(null), Ve.length = 0, $e = 0; Jt.length; )
225
225
  Jt.pop()();
226
- for (let t = 0; t < ke.length; t += 1) {
227
- const r = ke[t];
226
+ for (let t = 0; t < Xe.length; t += 1) {
227
+ const r = Xe[t];
228
228
  Ut.has(r) || (Ut.add(r), r());
229
229
  }
230
- ke.length = 0;
231
- } while ($e.length);
230
+ Xe.length = 0;
231
+ } while (Ve.length);
232
232
  for (; xr.length; )
233
233
  xr.pop()();
234
- Qt = !1, Ut.clear(), ot(e);
234
+ Qt = !1, Ut.clear(), at(e);
235
235
  }
236
236
  function Jn(e) {
237
237
  if (e.fragment !== null) {
238
- e.update(), ht(e.before_update);
238
+ e.update(), ft(e.before_update);
239
239
  const t = e.dirty;
240
240
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Yt);
241
241
  }
242
242
  }
243
243
  function Qn(e) {
244
244
  const t = [], r = [];
245
- ke.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ke = t;
245
+ Xe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Xe = t;
246
246
  }
247
247
  const Yn = /* @__PURE__ */ new Set();
248
248
  function Kn(e, t) {
249
249
  e && e.i && (Yn.delete(e), e.i(t));
250
250
  }
251
- function Ms(e) {
251
+ function Rs(e) {
252
252
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
253
253
  }
254
254
  function ei(e, t, r) {
255
255
  const { fragment: n, after_update: i } = e.$$;
256
256
  n && n.m(t, r), Yt(() => {
257
257
  const o = e.$$.on_mount.map(qr).filter(Ht);
258
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ht(o), e.$$.on_mount = [];
258
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ft(o), e.$$.on_mount = [];
259
259
  }), i.forEach(Yt);
260
260
  }
261
261
  function ti(e, t) {
262
262
  const r = e.$$;
263
- r.fragment !== null && (Qn(r.after_update), ht(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
265
  function ri(e, t) {
266
- e.$$.dirty[0] === -1 && ($e.push(e), Zn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
266
+ e.$$.dirty[0] === -1 && (Ve.push(e), Zn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
267
267
  }
268
268
  function ni(e, t, r, n, i, o, s = null, a = [-1]) {
269
- const f = at;
270
- ot(e);
271
- const l = e.$$ = {
269
+ const h = ut;
270
+ at(e);
271
+ const u = e.$$ = {
272
272
  fragment: null,
273
273
  ctx: [],
274
274
  // state
275
275
  props: o,
276
- update: fe,
276
+ update: ce,
277
277
  not_equal: i,
278
- bound: Er(),
278
+ bound: _r(),
279
279
  // lifecycle
280
280
  on_mount: [],
281
281
  on_destroy: [],
282
282
  on_disconnect: [],
283
283
  before_update: [],
284
284
  after_update: [],
285
- context: new Map(t.context || (f ? f.$$.context : [])),
285
+ context: new Map(t.context || (h ? h.$$.context : [])),
286
286
  // everything else
287
- callbacks: Er(),
287
+ callbacks: _r(),
288
288
  dirty: a,
289
289
  skip_bound: !1,
290
- root: t.target || f.$$.root
290
+ root: t.target || h.$$.root
291
291
  };
292
- s && s(l.root);
292
+ s && s(u.root);
293
293
  let c = !1;
294
- if (l.ctx = r ? r(e, t.props || {}, (d, p, ...E) => {
295
- const B = E.length ? E[0] : p;
296
- return l.ctx && i(l.ctx[d], l.ctx[d] = B) && (!l.skip_bound && l.bound[d] && l.bound[d](B), c && ri(e, d)), p;
297
- }) : [], l.update(), c = !0, ht(l.before_update), l.fragment = n ? n(l.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
299
  const d = kn(t.target);
300
- l.fragment && l.fragment.l(d), d.forEach(re);
300
+ u.fragment && u.fragment.l(d), d.forEach(ee);
301
301
  } else
302
- l.fragment && l.fragment.c();
303
- t.intro && Kn(e.$$.fragment), ei(e, t.target, t.anchor), N();
302
+ u.fragment && u.fragment.c();
303
+ t.intro && Kn(e.$$.fragment), ei(e, t.target, t.anchor), M();
304
304
  }
305
- ot(f);
305
+ at(h);
306
306
  }
307
307
  let Qr;
308
308
  typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
309
309
  constructor(t, r, n) {
310
310
  super();
311
311
  /** The Svelte component constructor */
312
- he(this, "$$ctor");
312
+ fe(this, "$$ctor");
313
313
  /** Slots */
314
- he(this, "$$s");
314
+ fe(this, "$$s");
315
315
  /** The Svelte component instance */
316
- he(this, "$$c");
316
+ fe(this, "$$c");
317
317
  /** Whether or not the custom element is connected */
318
- he(this, "$$cn", !1);
318
+ fe(this, "$$cn", !1);
319
319
  /** Component props data */
320
- he(this, "$$d", {});
320
+ fe(this, "$$d", {});
321
321
  /** `true` if currently in the process of reflecting component props back to attributes */
322
- he(this, "$$r", !1);
322
+ fe(this, "$$r", !1);
323
323
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
324
- he(this, "$$p_d", {});
324
+ fe(this, "$$p_d", {});
325
325
  /** @type {Record<string, Function[]>} Event listeners */
326
- he(this, "$$l", {});
326
+ fe(this, "$$l", {});
327
327
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
328
- he(this, "$$l_u", /* @__PURE__ */ new Map());
328
+ fe(this, "$$l_u", /* @__PURE__ */ new Map());
329
329
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
330
330
  }
331
331
  addEventListener(t, r, n) {
@@ -342,24 +342,24 @@ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
342
342
  }
343
343
  }
344
344
  connectedCallback() {
345
- return Ne(this, null, function* () {
345
+ return Le(this, null, function* () {
346
346
  if (this.$$cn = !0, !this.$$c) {
347
347
  let t = function(o) {
348
348
  return () => {
349
349
  let s;
350
350
  return {
351
351
  c: function() {
352
- s = X("slot"), o !== "default" && F(s, "name", o);
352
+ s = X("slot"), o !== "default" && U(s, "name", o);
353
353
  },
354
354
  /**
355
355
  * @param {HTMLElement} target
356
356
  * @param {HTMLElement} [anchor]
357
357
  */
358
- m: function(l, c) {
359
- ce(l, s, c);
358
+ m: function(u, c) {
359
+ ue(u, s, c);
360
360
  },
361
- d: function(l) {
362
- l && re(s);
361
+ d: function(u) {
362
+ u && ee(s);
363
363
  }
364
364
  };
365
365
  };
@@ -371,13 +371,13 @@ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
371
371
  o in n && (r[o] = [t(o)]);
372
372
  for (const o of this.attributes) {
373
373
  const s = this.$$g_p(o.name);
374
- s in this.$$d || (this.$$d[s] = _t(s, o.value, this.$$p_d, "toProp"));
374
+ s in this.$$d || (this.$$d[s] = Et(s, o.value, this.$$p_d, "toProp"));
375
375
  }
376
376
  for (const o in this.$$p_d)
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: _r(yr({}, this.$$d), {
380
+ props: Er(yr({}, this.$$d), {
381
381
  $$slots: r,
382
382
  $$scope: {
383
383
  ctx: []
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
388
388
  this.$$r = !0;
389
389
  for (const o in this.$$p_d)
390
390
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
391
- const s = _t(
391
+ const s = Et(
392
392
  o,
393
393
  this.$$d[o],
394
394
  this.$$p_d,
@@ -412,7 +412,7 @@ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
412
412
  // and setting attributes through setAttribute etc, this is helpful
413
413
  attributeChangedCallback(t, r, n) {
414
414
  var i;
415
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = _t(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
415
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Et(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
416
416
  }
417
417
  disconnectedCallback() {
418
418
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -425,7 +425,7 @@ typeof HTMLElement == "function" && (Qr = class extends HTMLElement {
425
425
  ) || t;
426
426
  }
427
427
  });
428
- function _t(e, t, r, n) {
428
+ function Et(e, t, r, n) {
429
429
  var o;
430
430
  const i = (o = r[e]) == null ? void 0 : o.type;
431
431
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -471,16 +471,16 @@ function ii(e, t, r, n, i, o) {
471
471
  get() {
472
472
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
473
473
  },
474
- set(f) {
475
- var l;
476
- f = _t(a, f, t), this.$$d[a] = f, (l = this.$$c) == null || l.$set({ [a]: f });
474
+ set(h) {
475
+ var u;
476
+ h = Et(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
477
477
  }
478
478
  });
479
479
  }), n.forEach((a) => {
480
480
  Object.defineProperty(s.prototype, a, {
481
481
  get() {
482
- var f;
483
- return (f = this.$$c) == null ? void 0 : f[a];
482
+ var h;
483
+ return (h = this.$$c) == null ? void 0 : h[a];
484
484
  }
485
485
  });
486
486
  }), e.element = /** @type {any} */
@@ -495,7 +495,7 @@ class oi {
495
495
  *
496
496
  * @type {any}
497
497
  */
498
- he(this, "$$");
498
+ fe(this, "$$");
499
499
  /**
500
500
  * ### PRIVATE API
501
501
  *
@@ -503,11 +503,11 @@ class oi {
503
503
  *
504
504
  * @type {any}
505
505
  */
506
- he(this, "$$set");
506
+ fe(this, "$$set");
507
507
  }
508
508
  /** @returns {void} */
509
509
  $destroy() {
510
- ti(this, 1), this.$destroy = fe;
510
+ ti(this, 1), this.$destroy = ce;
511
511
  }
512
512
  /**
513
513
  * @template {Extract<keyof Events, string>} K
@@ -517,7 +517,7 @@ class oi {
517
517
  */
518
518
  $on(t, r) {
519
519
  if (!Ht(r))
520
- return fe;
520
+ return ce;
521
521
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
522
522
  return n.push(r), () => {
523
523
  const i = n.indexOf(r);
@@ -556,7 +556,7 @@ var Kt = function(e, t) {
556
556
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
557
557
  }, Kt(e, t);
558
558
  };
559
- function ft(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
562
  Kt(e, t);
@@ -603,7 +603,7 @@ function rr(e, t, r) {
603
603
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
604
604
  return e.concat(o || t);
605
605
  }
606
- function we(e) {
606
+ function Te(e) {
607
607
  return typeof e == "function";
608
608
  }
609
609
  function Yr(e) {
@@ -639,15 +639,15 @@ var Pt = function() {
639
639
  if (s)
640
640
  if (this._parentage = null, Array.isArray(s))
641
641
  try {
642
- for (var a = er(s), f = a.next(); !f.done; f = a.next()) {
643
- var l = f.value;
644
- l.remove(this);
642
+ for (var a = er(s), h = a.next(); !h.done; h = a.next()) {
643
+ var u = h.value;
644
+ u.remove(this);
645
645
  }
646
646
  } catch (H) {
647
647
  t = { error: H };
648
648
  } finally {
649
649
  try {
650
- f && !f.done && (r = a.return) && r.call(a);
650
+ h && !h.done && (r = a.return) && r.call(a);
651
651
  } finally {
652
652
  if (t)
653
653
  throw t.error;
@@ -656,7 +656,7 @@ var Pt = function() {
656
656
  else
657
657
  s.remove(this);
658
658
  var c = this.initialTeardown;
659
- if (we(c))
659
+ if (Te(c))
660
660
  try {
661
661
  c();
662
662
  } catch (H) {
@@ -666,10 +666,10 @@ var Pt = function() {
666
666
  if (d) {
667
667
  this._finalizers = null;
668
668
  try {
669
- for (var p = er(d), E = p.next(); !E.done; E = p.next()) {
670
- var B = E.value;
669
+ for (var m = er(d), _ = m.next(); !_.done; _ = m.next()) {
670
+ var C = _.value;
671
671
  try {
672
- wr(B);
672
+ wr(C);
673
673
  } catch (H) {
674
674
  o = o != null ? o : [], H instanceof Gt ? o = rr(rr([], tr(o)), tr(H.errors)) : o.push(H);
675
675
  }
@@ -678,7 +678,7 @@ var Pt = function() {
678
678
  n = { error: H };
679
679
  } finally {
680
680
  try {
681
- E && !E.done && (i = p.return) && i.call(p);
681
+ _ && !_.done && (i = m.return) && i.call(m);
682
682
  } finally {
683
683
  if (n)
684
684
  throw n.error;
@@ -719,10 +719,10 @@ var Pt = function() {
719
719
  }(), e;
720
720
  }(), Kr = Pt.EMPTY;
721
721
  function en(e) {
722
- return e instanceof Pt || e && "closed" in e && we(e.remove) && we(e.add) && we(e.unsubscribe);
722
+ return e instanceof Pt || e && "closed" in e && Te(e.remove) && Te(e.add) && Te(e.unsubscribe);
723
723
  }
724
724
  function wr(e) {
725
- we(e) ? e() : e.unsubscribe();
725
+ Te(e) ? e() : e.unsubscribe();
726
726
  }
727
727
  var ai = {
728
728
  Promise: void 0
@@ -744,11 +744,11 @@ function li(e) {
744
744
  }
745
745
  function Tr() {
746
746
  }
747
- function Et(e) {
747
+ function _t(e) {
748
748
  e();
749
749
  }
750
750
  var tn = function(e) {
751
- ft(t, e);
751
+ ct(t, e);
752
752
  function t(r) {
753
753
  var n = e.call(this) || this;
754
754
  return n.isStopped = !1, r ? (n.destination = r, en(r) && r.add(n)) : n.destination = ci, n;
@@ -810,10 +810,10 @@ var tn = function(e) {
810
810
  }
811
811
  }, e;
812
812
  }(), ir = function(e) {
813
- ft(t, e);
813
+ ct(t, e);
814
814
  function t(r, n, i) {
815
815
  var o = e.call(this) || this, s;
816
- return we(r) || !r ? s = {
816
+ return Te(r) || !r ? s = {
817
817
  next: r != null ? r : void 0,
818
818
  error: n != null ? n : void 0,
819
819
  complete: i != null ? i : void 0
@@ -854,9 +854,9 @@ var Sr = function() {
854
854
  return r.source = this, r.operator = t, r;
855
855
  }, e.prototype.subscribe = function(t, r, n) {
856
856
  var i = this, o = gi(t) ? t : new ir(t, r, n);
857
- return Et(function() {
858
- var s = i, a = s.operator, f = s.source;
859
- o.add(a ? a.call(o, f) : f ? i._subscribe(o) : i._trySubscribe(o));
857
+ return _t(function() {
858
+ var s = i, a = s.operator, h = s.source;
859
+ o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
860
860
  }), o;
861
861
  }, e.prototype._trySubscribe = function(t) {
862
862
  try {
@@ -871,8 +871,8 @@ var Sr = function() {
871
871
  next: function(a) {
872
872
  try {
873
873
  t(a);
874
- } catch (f) {
875
- o(f), s.unsubscribe();
874
+ } catch (h) {
875
+ o(h), s.unsubscribe();
876
876
  }
877
877
  },
878
878
  error: o,
@@ -910,7 +910,7 @@ function Ar(e) {
910
910
  return (t = e != null ? e : ai.Promise) !== null && t !== void 0 ? t : Promise;
911
911
  }
912
912
  function bi(e) {
913
- return e && we(e.next) && we(e.error) && we(e.complete);
913
+ return e && Te(e.next) && Te(e.error) && Te(e.complete);
914
914
  }
915
915
  function gi(e) {
916
916
  return e && e instanceof tn || bi(e) && en(e);
@@ -920,7 +920,7 @@ var vi = Yr(function(e) {
920
920
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
921
921
  };
922
922
  }), rn = function(e) {
923
- ft(t, e);
923
+ ct(t, e);
924
924
  function t() {
925
925
  var r = e.call(this) || this;
926
926
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -933,17 +933,17 @@ var vi = Yr(function(e) {
933
933
  throw new vi();
934
934
  }, t.prototype.next = function(r) {
935
935
  var n = this;
936
- Et(function() {
936
+ _t(function() {
937
937
  var i, o;
938
938
  if (n._throwIfClosed(), !n.isStopped) {
939
939
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
940
940
  try {
941
941
  for (var s = er(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
942
- var f = a.value;
943
- f.next(r);
942
+ var h = a.value;
943
+ h.next(r);
944
944
  }
945
- } catch (l) {
946
- i = { error: l };
945
+ } catch (u) {
946
+ i = { error: u };
947
947
  } finally {
948
948
  try {
949
949
  a && !a.done && (o = s.return) && o.call(s);
@@ -956,7 +956,7 @@ var vi = Yr(function(e) {
956
956
  });
957
957
  }, t.prototype.error = function(r) {
958
958
  var n = this;
959
- Et(function() {
959
+ _t(function() {
960
960
  if (n._throwIfClosed(), !n.isStopped) {
961
961
  n.hasError = n.isStopped = !0, n.thrownError = r;
962
962
  for (var i = n.observers; i.length; )
@@ -965,7 +965,7 @@ var vi = Yr(function(e) {
965
965
  });
966
966
  }, t.prototype.complete = function() {
967
967
  var r = this;
968
- Et(function() {
968
+ _t(function() {
969
969
  if (r._throwIfClosed(), !r.isStopped) {
970
970
  r.isStopped = !0;
971
971
  for (var n = r.observers; n.length; )
@@ -1000,7 +1000,7 @@ var vi = Yr(function(e) {
1000
1000
  return new Hr(r, n);
1001
1001
  }, t;
1002
1002
  }(Sr), Hr = function(e) {
1003
- ft(t, e);
1003
+ ct(t, e);
1004
1004
  function t(r, n) {
1005
1005
  var i = e.call(this) || this;
1006
1006
  return i.destination = r, i.source = n, i;
@@ -1024,95 +1024,95 @@ var vi = Yr(function(e) {
1024
1024
  },
1025
1025
  delegate: void 0
1026
1026
  }, yi = function(e) {
1027
- ft(t, e);
1027
+ ct(t, e);
1028
1028
  function t(r, n, i) {
1029
1029
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nn);
1030
1030
  var o = e.call(this) || this;
1031
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;
1032
1032
  }
1033
1033
  return t.prototype.next = function(r) {
1034
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, f = n._windowTime;
1035
- i || (o.push(r), !s && o.push(a.now() + f)), this._trimBuffer(), e.prototype.next.call(this, r);
1034
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
1035
+ i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1036
1036
  }, t.prototype._subscribe = function(r) {
1037
1037
  this._throwIfClosed(), this._trimBuffer();
1038
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), f = 0; f < a.length && !r.closed; f += o ? 1 : 2)
1039
- r.next(a[f]);
1038
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
1039
+ r.next(a[h]);
1040
1040
  return this._checkFinalizedStatuses(r), n;
1041
1041
  }, t.prototype._trimBuffer = function() {
1042
1042
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1043
1043
  if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1044
- for (var f = i.now(), l = 0, c = 1; c < o.length && o[c] <= f; c += 2)
1045
- l = c;
1046
- l && o.splice(0, l + 1);
1044
+ for (var h = i.now(), u = 0, c = 1; c < o.length && o[c] <= h; c += 2)
1045
+ u = c;
1046
+ u && o.splice(0, u + 1);
1047
1047
  }
1048
1048
  }, t;
1049
1049
  }(rn);
1050
- const Pr = [], Br = {}, _i = (e, t = 0) => {
1050
+ const Pr = [], Br = {}, Ei = (e, t = 0) => {
1051
1051
  if (Pr.indexOf(e) == -1) {
1052
1052
  const r = new yi(t);
1053
1053
  Br[e] = r, Pr.push(e);
1054
1054
  }
1055
1055
  return Br[e];
1056
- }, je = [];
1057
- function Ei(e, t) {
1056
+ }, ke = [];
1057
+ function _i(e, t) {
1058
1058
  return {
1059
1059
  subscribe: Bt(e, t).subscribe
1060
1060
  };
1061
1061
  }
1062
- function Bt(e, t = fe) {
1062
+ function Bt(e, t = ce) {
1063
1063
  let r;
1064
1064
  const n = /* @__PURE__ */ new Set();
1065
1065
  function i(a) {
1066
1066
  if (Zr(e, a) && (e = a, r)) {
1067
- const f = !je.length;
1068
- for (const l of n)
1069
- l[1](), je.push(l, e);
1070
- if (f) {
1071
- for (let l = 0; l < je.length; l += 2)
1072
- je[l][0](je[l + 1]);
1073
- je.length = 0;
1067
+ const h = !ke.length;
1068
+ for (const u of n)
1069
+ u[1](), ke.push(u, e);
1070
+ if (h) {
1071
+ for (let u = 0; u < ke.length; u += 2)
1072
+ ke[u][0](ke[u + 1]);
1073
+ ke.length = 0;
1074
1074
  }
1075
1075
  }
1076
1076
  }
1077
1077
  function o(a) {
1078
1078
  i(a(e));
1079
1079
  }
1080
- function s(a, f = fe) {
1081
- const l = [a, f];
1082
- return n.add(l), n.size === 1 && (r = t(i, o) || fe), a(e), () => {
1083
- n.delete(l), n.size === 0 && r && (r(), r = null);
1080
+ function s(a, h = ce) {
1081
+ const u = [a, h];
1082
+ return n.add(u), n.size === 1 && (r = t(i, o) || ce), a(e), () => {
1083
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1084
1084
  };
1085
1085
  }
1086
1086
  return { set: i, update: o, subscribe: s };
1087
1087
  }
1088
- function qe(e, t, r) {
1088
+ function Qe(e, t, r) {
1089
1089
  const n = !Array.isArray(e), i = n ? [e] : e;
1090
1090
  if (!i.every(Boolean))
1091
1091
  throw new Error("derived() expects stores as input, got a falsy value");
1092
1092
  const o = t.length < 2;
1093
- return Ei(r, (s, a) => {
1094
- let f = !1;
1095
- const l = [];
1096
- let c = 0, d = fe;
1097
- const p = () => {
1093
+ return _i(r, (s, a) => {
1094
+ let h = !1;
1095
+ const u = [];
1096
+ let c = 0, d = ce;
1097
+ const m = () => {
1098
1098
  if (c)
1099
1099
  return;
1100
1100
  d();
1101
- const B = t(n ? l[0] : l, s, a);
1102
- o ? s(B) : d = Ht(B) ? B : fe;
1103
- }, E = i.map(
1104
- (B, H) => Jr(
1105
- B,
1106
- (Y) => {
1107
- l[H] = Y, c &= ~(1 << H), f && p();
1101
+ const C = t(n ? u[0] : u, s, a);
1102
+ o ? s(C) : d = Ht(C) ? C : ce;
1103
+ }, _ = i.map(
1104
+ (C, H) => Jr(
1105
+ C,
1106
+ (te) => {
1107
+ u[H] = te, c &= ~(1 << H), h && m();
1108
1108
  },
1109
1109
  () => {
1110
1110
  c |= 1 << H;
1111
1111
  }
1112
1112
  )
1113
1113
  );
1114
- return f = !0, p(), function() {
1115
- ht(E), d(), f = !1;
1114
+ return h = !0, m(), function() {
1115
+ ft(_), d(), h = !1;
1116
1116
  };
1117
1117
  });
1118
1118
  }
@@ -1137,19 +1137,19 @@ function Bi(e) {
1137
1137
  function Oi(e) {
1138
1138
  return Array.isArray(e) ? [] : {};
1139
1139
  }
1140
- function ut(e, t) {
1141
- return t.clone !== !1 && t.isMergeableObject(e) ? Ve(Oi(e), e, t) : e;
1140
+ function lt(e, t) {
1141
+ return t.clone !== !1 && t.isMergeableObject(e) ? We(Oi(e), e, t) : e;
1142
1142
  }
1143
1143
  function Ci(e, t, r) {
1144
1144
  return e.concat(t).map(function(n) {
1145
- return ut(n, r);
1145
+ return lt(n, r);
1146
1146
  });
1147
1147
  }
1148
1148
  function Ii(e, t) {
1149
1149
  if (!t.customMerge)
1150
- return Ve;
1150
+ return We;
1151
1151
  var r = t.customMerge(e);
1152
- return typeof r == "function" ? r : Ve;
1152
+ return typeof r == "function" ? r : We;
1153
1153
  }
1154
1154
  function Li(e) {
1155
1155
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -1172,24 +1172,24 @@ function Ni(e, t) {
1172
1172
  function Mi(e, t, r) {
1173
1173
  var n = {};
1174
1174
  return r.isMergeableObject(e) && Or(e).forEach(function(i) {
1175
- n[i] = ut(e[i], r);
1175
+ n[i] = lt(e[i], r);
1176
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] = ut(t[i], r));
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));
1178
1178
  }), n;
1179
1179
  }
1180
- function Ve(e, t, r) {
1181
- r = r || {}, r.arrayMerge = r.arrayMerge || Ci, r.isMergeableObject = r.isMergeableObject || Ti, r.cloneUnlessOtherwiseSpecified = ut;
1180
+ function We(e, t, r) {
1181
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ci, r.isMergeableObject = r.isMergeableObject || Ti, r.cloneUnlessOtherwiseSpecified = lt;
1182
1182
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1183
- return o ? n ? r.arrayMerge(e, t, r) : Mi(e, t, r) : ut(t, r);
1183
+ return o ? n ? r.arrayMerge(e, t, r) : Mi(e, t, r) : lt(t, r);
1184
1184
  }
1185
- Ve.all = function(t, r) {
1185
+ We.all = function(t, r) {
1186
1186
  if (!Array.isArray(t))
1187
1187
  throw new Error("first argument should be an array");
1188
1188
  return t.reduce(function(n, i) {
1189
- return Ve(n, i, r);
1189
+ return We(n, i, r);
1190
1190
  }, {});
1191
1191
  };
1192
- var Ri = Ve, Di = Ri;
1192
+ var Ri = We, Di = Ri;
1193
1193
  const Fi = /* @__PURE__ */ wi(Di);
1194
1194
  var or = function(e, t) {
1195
1195
  return or = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -1208,15 +1208,15 @@ function Ot(e, t) {
1208
1208
  }
1209
1209
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1210
1210
  }
1211
- var ge = function() {
1212
- return ge = Object.assign || function(t) {
1211
+ var ye = function() {
1212
+ return ye = Object.assign || function(t) {
1213
1213
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1214
1214
  r = arguments[n];
1215
1215
  for (var o in r)
1216
1216
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1217
1217
  }
1218
1218
  return t;
1219
- }, ge.apply(this, arguments);
1219
+ }, ye.apply(this, arguments);
1220
1220
  };
1221
1221
  function Ui(e, t) {
1222
1222
  var r = {};
@@ -1295,46 +1295,46 @@ var S;
1295
1295
  (function(e) {
1296
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";
1297
1297
  })(S || (S = {}));
1298
- var M;
1298
+ var R;
1299
1299
  (function(e) {
1300
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";
1301
- })(M || (M = {}));
1302
- var Xe;
1301
+ })(R || (R = {}));
1302
+ var qe;
1303
1303
  (function(e) {
1304
1304
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1305
- })(Xe || (Xe = {}));
1305
+ })(qe || (qe = {}));
1306
1306
  function Cr(e) {
1307
- return e.type === M.literal;
1307
+ return e.type === R.literal;
1308
1308
  }
1309
1309
  function Wi(e) {
1310
- return e.type === M.argument;
1310
+ return e.type === R.argument;
1311
1311
  }
1312
1312
  function un(e) {
1313
- return e.type === M.number;
1313
+ return e.type === R.number;
1314
1314
  }
1315
1315
  function ln(e) {
1316
- return e.type === M.date;
1316
+ return e.type === R.date;
1317
1317
  }
1318
1318
  function hn(e) {
1319
- return e.type === M.time;
1319
+ return e.type === R.time;
1320
1320
  }
1321
1321
  function fn(e) {
1322
- return e.type === M.select;
1322
+ return e.type === R.select;
1323
1323
  }
1324
1324
  function cn(e) {
1325
- return e.type === M.plural;
1325
+ return e.type === R.plural;
1326
1326
  }
1327
1327
  function qi(e) {
1328
- return e.type === M.pound;
1328
+ return e.type === R.pound;
1329
1329
  }
1330
1330
  function dn(e) {
1331
- return e.type === M.tag;
1331
+ return e.type === R.tag;
1332
1332
  }
1333
1333
  function pn(e) {
1334
- return !!(e && typeof e == "object" && e.type === Xe.number);
1334
+ return !!(e && typeof e == "object" && e.type === qe.number);
1335
1335
  }
1336
1336
  function sr(e) {
1337
- return !!(e && typeof e == "object" && e.type === Xe.dateTime);
1337
+ return !!(e && typeof e == "object" && e.type === qe.dateTime);
1338
1338
  }
1339
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
1340
  function Ji(e) {
@@ -1428,32 +1428,32 @@ function Ji(e) {
1428
1428
  return "";
1429
1429
  }), t;
1430
1430
  }
1431
- var R = function() {
1432
- return R = Object.assign || function(t) {
1431
+ var F = function() {
1432
+ return F = Object.assign || function(t) {
1433
1433
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1434
1434
  r = arguments[n];
1435
1435
  for (var o in r)
1436
1436
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1437
1437
  }
1438
1438
  return t;
1439
- }, R.apply(this, arguments);
1439
+ }, F.apply(this, arguments);
1440
1440
  };
1441
1441
  var Qi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1442
1442
  function Yi(e) {
1443
1443
  if (e.length === 0)
1444
1444
  throw new Error("Number skeleton cannot be empty");
1445
- for (var t = e.split(Qi).filter(function(p) {
1446
- return p.length > 0;
1445
+ for (var t = e.split(Qi).filter(function(m) {
1446
+ return m.length > 0;
1447
1447
  }), r = [], n = 0, i = t; n < i.length; n++) {
1448
1448
  var o = i[n], s = o.split("/");
1449
1449
  if (s.length === 0)
1450
1450
  throw new Error("Invalid number skeleton");
1451
- for (var a = s[0], f = s.slice(1), l = 0, c = f; l < c.length; l++) {
1452
- var d = c[l];
1451
+ for (var a = s[0], h = s.slice(1), u = 0, c = h; u < c.length; u++) {
1452
+ var d = c[u];
1453
1453
  if (d.length === 0)
1454
1454
  throw new Error("Invalid number skeleton");
1455
1455
  }
1456
- r.push({ stem: a, options: f });
1456
+ r.push({ stem: a, options: h });
1457
1457
  }
1458
1458
  return r;
1459
1459
  }
@@ -1560,13 +1560,13 @@ function ro(e) {
1560
1560
  t.notation = "compact", t.compactDisplay = "long";
1561
1561
  continue;
1562
1562
  case "scientific":
1563
- t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(f, l) {
1564
- return R(R({}, f), Nr(l));
1563
+ t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1564
+ return F(F({}, h), Nr(u));
1565
1565
  }, {}));
1566
1566
  continue;
1567
1567
  case "engineering":
1568
- t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(f, l) {
1569
- return R(R({}, f), Nr(l));
1568
+ t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1569
+ return F(F({}, h), Nr(u));
1570
1570
  }, {}));
1571
1571
  continue;
1572
1572
  case "notation-simple":
@@ -1611,13 +1611,13 @@ function ro(e) {
1611
1611
  case "integer-width":
1612
1612
  if (i.options.length > 1)
1613
1613
  throw new RangeError("integer-width stems only accept a single optional option");
1614
- i.options[0].replace(eo, function(f, l, c, d, p, E) {
1615
- if (l)
1614
+ i.options[0].replace(eo, function(h, u, c, d, m, _) {
1615
+ if (u)
1616
1616
  t.minimumIntegerDigits = c.length;
1617
1617
  else {
1618
- if (d && p)
1618
+ if (d && m)
1619
1619
  throw new Error("We currently do not support maximum integer digits");
1620
- if (E)
1620
+ if (_)
1621
1621
  throw new Error("We currently do not support exact integer digits");
1622
1622
  }
1623
1623
  return "";
@@ -1631,21 +1631,21 @@ function ro(e) {
1631
1631
  if (Ir.test(i.stem)) {
1632
1632
  if (i.options.length > 1)
1633
1633
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1634
- i.stem.replace(Ir, function(f, l, c, d, p, E) {
1635
- return c === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && E ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + E.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.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), "";
1636
1636
  });
1637
1637
  var o = i.options[0];
1638
- o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), Lr(o)));
1638
+ o === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = F(F({}, t), Lr(o)));
1639
1639
  continue;
1640
1640
  }
1641
1641
  if (bn.test(i.stem)) {
1642
- t = R(R({}, t), Lr(i.stem));
1642
+ t = F(F({}, t), Lr(i.stem));
1643
1643
  continue;
1644
1644
  }
1645
1645
  var s = vn(i.stem);
1646
- s && (t = R(R({}, t), s));
1646
+ s && (t = F(F({}, t), s));
1647
1647
  var a = to(i.stem);
1648
- a && (t = R(R({}, t), a));
1648
+ a && (t = F(F({}, t), a));
1649
1649
  }
1650
1650
  return t;
1651
1651
  }
@@ -3070,11 +3070,11 @@ function no(e, t) {
3070
3070
  if (i === "j") {
3071
3071
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3072
3072
  o++, n++;
3073
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), f = "a", l = io(t);
3074
- for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3075
- r += f;
3073
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = io(t);
3074
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3075
+ r += h;
3076
3076
  for (; s-- > 0; )
3077
- r = l + r;
3077
+ r = u + r;
3078
3078
  } else
3079
3079
  i === "J" ? r += "H" : r += i;
3080
3080
  }
@@ -3110,7 +3110,7 @@ var ao = !!String.prototype.startsWith && "_a".startsWith("a", 1), uo = !!String
3110
3110
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3111
3111
  }, ar = !0;
3112
3112
  try {
3113
- var bo = _n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
+ var bo = En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3114
3114
  ar = ((Vt = bo.exec("a")) === null || Vt === void 0 ? void 0 : Vt[0]) === "a";
3115
3115
  } catch (e) {
3116
3116
  ar = !1;
@@ -3184,12 +3184,12 @@ var Mr = ao ? (
3184
3184
  return t.replace(so, "");
3185
3185
  }
3186
3186
  );
3187
- function _n(e, t) {
3187
+ function En(e, t) {
3188
3188
  return new RegExp(e, t);
3189
3189
  }
3190
3190
  var lr;
3191
3191
  if (ar) {
3192
- var Dr = _n("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3192
+ var Dr = En("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3193
3193
  lr = function(t, r) {
3194
3194
  var n;
3195
3195
  Dr.lastIndex = r;
@@ -3200,7 +3200,7 @@ if (ar) {
3200
3200
  lr = function(t, r) {
3201
3201
  for (var n = []; ; ) {
3202
3202
  var i = yn(t, r);
3203
- if (i === void 0 || En(i) || xo(i))
3203
+ if (i === void 0 || _n(i) || xo(i))
3204
3204
  break;
3205
3205
  n.push(i), r += i >= 65536 ? 2 : 1;
3206
3206
  }
@@ -3230,7 +3230,7 @@ var yo = (
3230
3230
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3231
3231
  var a = this.clonePosition();
3232
3232
  this.bump(), i.push({
3233
- type: M.pound,
3233
+ type: R.pound,
3234
3234
  location: A(a, this.clonePosition())
3235
3235
  });
3236
3236
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3258,7 +3258,7 @@ var yo = (
3258
3258
  if (this.bumpSpace(), this.bumpIf("/>"))
3259
3259
  return {
3260
3260
  val: {
3261
- type: M.literal,
3261
+ type: R.literal,
3262
3262
  value: "<".concat(i, "/>"),
3263
3263
  location: A(n, this.clonePosition())
3264
3264
  },
@@ -3272,10 +3272,10 @@ var yo = (
3272
3272
  if (this.bumpIf("</")) {
3273
3273
  if (this.isEOF() || !hr(this.char()))
3274
3274
  return this.error(S.INVALID_TAG, A(a, this.clonePosition()));
3275
- var f = this.clonePosition(), l = this.parseTagName();
3276
- return i !== l ? this.error(S.UNMATCHED_CLOSING_TAG, A(f, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3275
+ var h = this.clonePosition(), u = this.parseTagName();
3276
+ return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, A(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3277
3277
  val: {
3278
- type: M.tag,
3278
+ type: R.tag,
3279
3279
  value: i,
3280
3280
  children: s,
3281
3281
  location: A(n, this.clonePosition())
@@ -3288,7 +3288,7 @@ var yo = (
3288
3288
  return this.error(S.INVALID_TAG, A(n, this.clonePosition()));
3289
3289
  }, e.prototype.parseTagName = function() {
3290
3290
  var t = this.offset();
3291
- for (this.bump(); !this.isEOF() && Eo(this.char()); )
3291
+ for (this.bump(); !this.isEOF() && _o(this.char()); )
3292
3292
  this.bump();
3293
3293
  return this.message.slice(t, this.offset());
3294
3294
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3310,14 +3310,14 @@ var yo = (
3310
3310
  }
3311
3311
  break;
3312
3312
  }
3313
- var f = A(n, this.clonePosition());
3313
+ var h = A(n, this.clonePosition());
3314
3314
  return {
3315
- val: { type: M.literal, value: i, location: f },
3315
+ val: { type: R.literal, value: i, location: h },
3316
3316
  err: null
3317
3317
  };
3318
3318
  }, e.prototype.tryParseLeftAngleBracket = function() {
3319
3319
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3320
- !_o(this.peek() || 0)) ? (this.bump(), "<") : null;
3320
+ !Eo(this.peek() || 0)) ? (this.bump(), "<") : null;
3321
3321
  }, e.prototype.tryParseQuote = function(t) {
3322
3322
  if (this.isEOF() || this.char() !== 39)
3323
3323
  return null;
@@ -3372,7 +3372,7 @@ var yo = (
3372
3372
  case 125:
3373
3373
  return this.bump(), {
3374
3374
  val: {
3375
- type: M.argument,
3375
+ type: R.argument,
3376
3376
  // value does not include the opening and closing braces.
3377
3377
  value: i,
3378
3378
  location: A(n, this.clonePosition())
@@ -3390,61 +3390,61 @@ var yo = (
3390
3390
  var o = this.clonePosition(), s = A(t, o);
3391
3391
  return { value: n, location: s };
3392
3392
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3393
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, f = this.clonePosition();
3393
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3394
3394
  switch (a) {
3395
3395
  case "":
3396
- return this.error(S.EXPECT_ARGUMENT_TYPE, A(s, f));
3396
+ return this.error(S.EXPECT_ARGUMENT_TYPE, A(s, h));
3397
3397
  case "number":
3398
3398
  case "date":
3399
3399
  case "time": {
3400
3400
  this.bumpSpace();
3401
- var l = null;
3401
+ var u = null;
3402
3402
  if (this.bumpIf(",")) {
3403
3403
  this.bumpSpace();
3404
3404
  var c = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3405
3405
  if (d.err)
3406
3406
  return d;
3407
- var p = vo(d.val);
3408
- if (p.length === 0)
3407
+ var m = vo(d.val);
3408
+ if (m.length === 0)
3409
3409
  return this.error(S.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
3410
- var E = A(c, this.clonePosition());
3411
- l = { style: p, styleLocation: E };
3410
+ var _ = A(c, this.clonePosition());
3411
+ u = { style: m, styleLocation: _ };
3412
3412
  }
3413
- var B = this.tryParseArgumentClose(i);
3414
- if (B.err)
3415
- return B;
3413
+ var C = this.tryParseArgumentClose(i);
3414
+ if (C.err)
3415
+ return C;
3416
3416
  var H = A(i, this.clonePosition());
3417
- if (l && Mr(l == null ? void 0 : l.style, "::", 0)) {
3418
- var Y = go(l.style.slice(2));
3417
+ if (u && Mr(u == null ? void 0 : u.style, "::", 0)) {
3418
+ var te = go(u.style.slice(2));
3419
3419
  if (a === "number") {
3420
- var d = this.parseNumberSkeletonFromString(Y, l.styleLocation);
3420
+ var d = this.parseNumberSkeletonFromString(te, u.styleLocation);
3421
3421
  return d.err ? d : {
3422
- val: { type: M.number, value: n, location: H, style: d.val },
3422
+ val: { type: R.number, value: n, location: H, style: d.val },
3423
3423
  err: null
3424
3424
  };
3425
3425
  } else {
3426
- if (Y.length === 0)
3426
+ if (te.length === 0)
3427
3427
  return this.error(S.EXPECT_DATE_TIME_SKELETON, H);
3428
- var de = Y;
3429
- this.locale && (de = no(Y, this.locale));
3430
- var p = {
3431
- type: Xe.dateTime,
3428
+ var de = te;
3429
+ this.locale && (de = no(te, this.locale));
3430
+ var m = {
3431
+ type: qe.dateTime,
3432
3432
  pattern: de,
3433
- location: l.styleLocation,
3433
+ location: u.styleLocation,
3434
3434
  parsedOptions: this.shouldParseSkeletons ? Ji(de) : {}
3435
- }, ne = a === "date" ? M.date : M.time;
3435
+ }, ne = a === "date" ? R.date : R.time;
3436
3436
  return {
3437
- val: { type: ne, value: n, location: H, style: p },
3437
+ val: { type: ne, value: n, location: H, style: m },
3438
3438
  err: null
3439
3439
  };
3440
3440
  }
3441
3441
  }
3442
3442
  return {
3443
3443
  val: {
3444
- type: a === "number" ? M.number : a === "date" ? M.date : M.time,
3444
+ type: a === "number" ? R.number : a === "date" ? R.date : R.time,
3445
3445
  value: n,
3446
3446
  location: H,
3447
- style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3447
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3448
3448
  },
3449
3449
  err: null
3450
3450
  };
@@ -3452,49 +3452,49 @@ var yo = (
3452
3452
  case "plural":
3453
3453
  case "selectordinal":
3454
3454
  case "select": {
3455
- var I = this.clonePosition();
3455
+ var L = this.clonePosition();
3456
3456
  if (this.bumpSpace(), !this.bumpIf(","))
3457
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, A(I, Tt({}, I)));
3457
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, A(L, Tt({}, L)));
3458
3458
  this.bumpSpace();
3459
- var j = this.parseIdentifierIfPossible(), q = 0;
3460
- if (a !== "select" && j.value === "offset") {
3459
+ var $ = this.parseIdentifierIfPossible(), q = 0;
3460
+ if (a !== "select" && $.value === "offset") {
3461
3461
  if (!this.bumpIf(":"))
3462
3462
  return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
3463
3463
  this.bumpSpace();
3464
3464
  var d = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3465
3465
  if (d.err)
3466
3466
  return d;
3467
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), q = d.val;
3467
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), q = d.val;
3468
3468
  }
3469
- var le = this.tryParsePluralOrSelectOptions(t, a, r, j);
3469
+ var le = this.tryParsePluralOrSelectOptions(t, a, r, $);
3470
3470
  if (le.err)
3471
3471
  return le;
3472
- var B = this.tryParseArgumentClose(i);
3473
- if (B.err)
3474
- return B;
3475
- var be = A(i, this.clonePosition());
3472
+ var C = this.tryParseArgumentClose(i);
3473
+ if (C.err)
3474
+ return C;
3475
+ var ge = A(i, this.clonePosition());
3476
3476
  return a === "select" ? {
3477
3477
  val: {
3478
- type: M.select,
3478
+ type: R.select,
3479
3479
  value: n,
3480
3480
  options: Rr(le.val),
3481
- location: be
3481
+ location: ge
3482
3482
  },
3483
3483
  err: null
3484
3484
  } : {
3485
3485
  val: {
3486
- type: M.plural,
3486
+ type: R.plural,
3487
3487
  value: n,
3488
3488
  options: Rr(le.val),
3489
3489
  offset: q,
3490
3490
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3491
- location: be
3491
+ location: ge
3492
3492
  },
3493
3493
  err: null
3494
3494
  };
3495
3495
  }
3496
3496
  default:
3497
- return this.error(S.INVALID_ARGUMENT_TYPE, A(s, f));
3497
+ return this.error(S.INVALID_ARGUMENT_TYPE, A(s, h));
3498
3498
  }
3499
3499
  }, e.prototype.tryParseArgumentClose = function(t) {
3500
3500
  return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3542,7 +3542,7 @@ var yo = (
3542
3542
  }
3543
3543
  return {
3544
3544
  val: {
3545
- type: Xe.number,
3545
+ type: qe.number,
3546
3546
  tokens: n,
3547
3547
  location: r,
3548
3548
  parsedOptions: this.shouldParseSkeletons ? ro(n) : {}
@@ -3550,36 +3550,36 @@ var yo = (
3550
3550
  err: null
3551
3551
  };
3552
3552
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3553
- for (var o, s = !1, a = [], f = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
3554
- if (l.length === 0) {
3553
+ for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, c = i.location; ; ) {
3554
+ if (u.length === 0) {
3555
3555
  var d = this.clonePosition();
3556
3556
  if (r !== "select" && this.bumpIf("=")) {
3557
- var p = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3558
- if (p.err)
3559
- return p;
3560
- c = A(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3557
+ var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3558
+ if (m.err)
3559
+ return m;
3560
+ c = A(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
3561
3561
  } else
3562
3562
  break;
3563
3563
  }
3564
- if (f.has(l))
3564
+ if (h.has(u))
3565
3565
  return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3566
- l === "other" && (s = !0), this.bumpSpace();
3567
- var E = this.clonePosition();
3566
+ u === "other" && (s = !0), this.bumpSpace();
3567
+ var _ = this.clonePosition();
3568
3568
  if (!this.bumpIf("{"))
3569
3569
  return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
3570
- var B = this.parseMessage(t + 1, r, n);
3571
- if (B.err)
3572
- return B;
3573
- var H = this.tryParseArgumentClose(E);
3570
+ var C = this.parseMessage(t + 1, r, n);
3571
+ if (C.err)
3572
+ return C;
3573
+ var H = this.tryParseArgumentClose(_);
3574
3574
  if (H.err)
3575
3575
  return H;
3576
3576
  a.push([
3577
- l,
3577
+ u,
3578
3578
  {
3579
- value: B.val,
3580
- location: A(E, this.clonePosition())
3579
+ value: C.val,
3580
+ location: A(_, this.clonePosition())
3581
3581
  }
3582
- ]), f.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
3582
+ ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3583
3583
  }
3584
3584
  return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3585
3585
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3592,8 +3592,8 @@ var yo = (
3592
3592
  else
3593
3593
  break;
3594
3594
  }
3595
- var f = A(i, this.clonePosition());
3596
- return o ? (s *= n, mo(s) ? { val: s, err: null } : this.error(r, f)) : this.error(t, f);
3595
+ var h = A(i, this.clonePosition());
3596
+ return o ? (s *= n, mo(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3597
3597
  }, e.prototype.offset = function() {
3598
3598
  return this.position.offset;
3599
3599
  }, e.prototype.isEOF = function() {
@@ -3649,7 +3649,7 @@ var yo = (
3649
3649
  break;
3650
3650
  }
3651
3651
  }, e.prototype.bumpSpace = function() {
3652
- for (; !this.isEOF() && En(this.char()); )
3652
+ for (; !this.isEOF() && _n(this.char()); )
3653
3653
  this.bump();
3654
3654
  }, e.prototype.peek = function() {
3655
3655
  if (this.isEOF())
@@ -3662,13 +3662,13 @@ var yo = (
3662
3662
  function hr(e) {
3663
3663
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3664
3664
  }
3665
- function _o(e) {
3665
+ function Eo(e) {
3666
3666
  return hr(e) || e === 47;
3667
3667
  }
3668
- function Eo(e) {
3668
+ function _o(e) {
3669
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;
3670
3670
  }
3671
- function En(e) {
3671
+ function _n(e) {
3672
3672
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3673
3673
  }
3674
3674
  function xo(e) {
@@ -3692,10 +3692,10 @@ function wo(e, t) {
3692
3692
  }
3693
3693
  return t != null && t.captureLocation || fr(r.val), r.val;
3694
3694
  }
3695
- var ze;
3695
+ var Ze;
3696
3696
  (function(e) {
3697
3697
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3698
- })(ze || (ze = {}));
3698
+ })(Ze || (Ze = {}));
3699
3699
  var Ct = (
3700
3700
  /** @class */
3701
3701
  function(e) {
@@ -3713,7 +3713,7 @@ var Ct = (
3713
3713
  function(e) {
3714
3714
  Ot(t, e);
3715
3715
  function t(r, n, i, o) {
3716
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ze.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;
3717
3717
  }
3718
3718
  return t;
3719
3719
  }(Ct)
@@ -3722,7 +3722,7 @@ var Ct = (
3722
3722
  function(e) {
3723
3723
  Ot(t, e);
3724
3724
  function t(r, n, i) {
3725
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ze.INVALID_VALUE, i) || this;
3725
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ze.INVALID_VALUE, i) || this;
3726
3726
  }
3727
3727
  return t;
3728
3728
  }(Ct)
@@ -3731,18 +3731,18 @@ var Ct = (
3731
3731
  function(e) {
3732
3732
  Ot(t, e);
3733
3733
  function t(r, n) {
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;
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;
3735
3735
  }
3736
3736
  return t;
3737
3737
  }(Ct)
3738
- ), Q;
3738
+ ), Y;
3739
3739
  (function(e) {
3740
3740
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3741
- })(Q || (Q = {}));
3741
+ })(Y || (Y = {}));
3742
3742
  function Ao(e) {
3743
3743
  return e.length < 2 ? e : e.reduce(function(t, r) {
3744
3744
  var n = t[t.length - 1];
3745
- return !n || n.type !== Q.literal || r.type !== Q.literal ? t.push(r) : n.value += r.value, t;
3745
+ return !n || n.type !== Y.literal || r.type !== Y.literal ? t.push(r) : n.value += r.value, t;
3746
3746
  }, []);
3747
3747
  }
3748
3748
  function Ho(e) {
@@ -3752,22 +3752,22 @@ function xt(e, t, r, n, i, o, s) {
3752
3752
  if (e.length === 1 && Cr(e[0]))
3753
3753
  return [
3754
3754
  {
3755
- type: Q.literal,
3755
+ type: Y.literal,
3756
3756
  value: e[0].value
3757
3757
  }
3758
3758
  ];
3759
- for (var a = [], f = 0, l = e; f < l.length; f++) {
3760
- var c = l[f];
3759
+ for (var a = [], h = 0, u = e; h < u.length; h++) {
3760
+ var c = u[h];
3761
3761
  if (Cr(c)) {
3762
3762
  a.push({
3763
- type: Q.literal,
3763
+ type: Y.literal,
3764
3764
  value: c.value
3765
3765
  });
3766
3766
  continue;
3767
3767
  }
3768
3768
  if (qi(c)) {
3769
3769
  typeof o == "number" && a.push({
3770
- type: Q.literal,
3770
+ type: Y.literal,
3771
3771
  value: r.getNumberFormat(t).format(o)
3772
3772
  });
3773
3773
  continue;
@@ -3775,86 +3775,86 @@ function xt(e, t, r, n, i, o, s) {
3775
3775
  var d = c.value;
3776
3776
  if (!(i && d in i))
3777
3777
  throw new So(d, s);
3778
- var p = i[d];
3778
+ var m = i[d];
3779
3779
  if (Wi(c)) {
3780
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3781
- type: typeof p == "string" ? Q.literal : Q.object,
3782
- value: p
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
3783
3783
  });
3784
3784
  continue;
3785
3785
  }
3786
3786
  if (ln(c)) {
3787
- var E = typeof c.style == "string" ? n.date[c.style] : sr(c.style) ? c.style.parsedOptions : void 0;
3787
+ var _ = typeof c.style == "string" ? n.date[c.style] : sr(c.style) ? c.style.parsedOptions : void 0;
3788
3788
  a.push({
3789
- type: Q.literal,
3790
- value: r.getDateTimeFormat(t, E).format(p)
3789
+ type: Y.literal,
3790
+ value: r.getDateTimeFormat(t, _).format(m)
3791
3791
  });
3792
3792
  continue;
3793
3793
  }
3794
3794
  if (hn(c)) {
3795
- var E = typeof c.style == "string" ? n.time[c.style] : sr(c.style) ? c.style.parsedOptions : n.time.medium;
3795
+ var _ = typeof c.style == "string" ? n.time[c.style] : sr(c.style) ? c.style.parsedOptions : n.time.medium;
3796
3796
  a.push({
3797
- type: Q.literal,
3798
- value: r.getDateTimeFormat(t, E).format(p)
3797
+ type: Y.literal,
3798
+ value: r.getDateTimeFormat(t, _).format(m)
3799
3799
  });
3800
3800
  continue;
3801
3801
  }
3802
3802
  if (un(c)) {
3803
- var E = typeof c.style == "string" ? n.number[c.style] : pn(c.style) ? c.style.parsedOptions : void 0;
3804
- E && E.scale && (p = p * (E.scale || 1)), a.push({
3805
- type: Q.literal,
3806
- value: r.getNumberFormat(t, E).format(p)
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({
3805
+ type: Y.literal,
3806
+ value: r.getNumberFormat(t, _).format(m)
3807
3807
  });
3808
3808
  continue;
3809
3809
  }
3810
3810
  if (dn(c)) {
3811
- var B = c.children, H = c.value, Y = i[H];
3812
- if (!Ho(Y))
3811
+ var C = c.children, H = c.value, te = i[H];
3812
+ if (!Ho(te))
3813
3813
  throw new To(H, "function", s);
3814
- var de = xt(B, t, r, n, i, o), ne = Y(de.map(function(q) {
3814
+ var de = xt(C, t, r, n, i, o), ne = te(de.map(function(q) {
3815
3815
  return q.value;
3816
3816
  }));
3817
3817
  Array.isArray(ne) || (ne = [ne]), a.push.apply(a, ne.map(function(q) {
3818
3818
  return {
3819
- type: typeof q == "string" ? Q.literal : Q.object,
3819
+ type: typeof q == "string" ? Y.literal : Y.object,
3820
3820
  value: q
3821
3821
  };
3822
3822
  }));
3823
3823
  }
3824
3824
  if (fn(c)) {
3825
- var I = c.options[p] || c.options.other;
3826
- if (!I)
3827
- throw new Fr(c.value, p, Object.keys(c.options), s);
3828
- a.push.apply(a, xt(I.value, t, r, n, i));
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));
3829
3829
  continue;
3830
3830
  }
3831
3831
  if (cn(c)) {
3832
- var I = c.options["=".concat(p)];
3833
- if (!I) {
3832
+ var L = c.options["=".concat(m)];
3833
+ if (!L) {
3834
3834
  if (!Intl.PluralRules)
3835
3835
  throw new Ct(`Intl.PluralRules is not available in this environment.
3836
3836
  Try polyfilling it using "@formatjs/intl-pluralrules"
3837
- `, ze.MISSING_INTL_API, s);
3838
- var j = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3839
- I = c.options[j] || 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;
3840
3840
  }
3841
- if (!I)
3842
- throw new Fr(c.value, p, Object.keys(c.options), s);
3843
- a.push.apply(a, xt(I.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)));
3844
3844
  continue;
3845
3845
  }
3846
3846
  }
3847
3847
  return Ao(a);
3848
3848
  }
3849
3849
  function Po(e, t) {
3850
- return t ? ge(ge(ge({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3851
- return r[n] = ge(ge({}, e[n]), t[n] || {}), r;
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;
3852
3852
  }, {})) : e;
3853
3853
  }
3854
3854
  function Bo(e, t) {
3855
3855
  return t ? Object.keys(e).reduce(function(r, n) {
3856
3856
  return r[n] = Po(e[n], t[n]), r;
3857
- }, ge({}, e)) : e;
3857
+ }, ye({}, e)) : e;
3858
3858
  }
3859
3859
  function Xt(e) {
3860
3860
  return {
@@ -3912,20 +3912,20 @@ var Co = (
3912
3912
  number: {},
3913
3913
  dateTime: {},
3914
3914
  pluralRules: {}
3915
- }, this.format = function(f) {
3916
- var l = o.formatToParts(f);
3917
- if (l.length === 1)
3918
- return l[0].value;
3919
- var c = l.reduce(function(d, p) {
3920
- return !d.length || p.type !== Q.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
3915
+ }, this.format = function(h) {
3916
+ var u = o.formatToParts(h);
3917
+ if (u.length === 1)
3918
+ return u[0].value;
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;
3921
3921
  }, []);
3922
3922
  return c.length <= 1 ? c[0] || "" : c;
3923
- }, this.formatToParts = function(f) {
3924
- return xt(o.ast, o.locales, o.formatters, o.formats, f, void 0, o.message);
3923
+ }, this.formatToParts = function(h) {
3924
+ return xt(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3925
3925
  }, this.resolvedOptions = function() {
3926
- var f;
3926
+ var h;
3927
3927
  return {
3928
- locale: ((f = o.resolvedLocale) === null || f === void 0 ? void 0 : f.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3928
+ locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3929
3929
  };
3930
3930
  }, this.getAst = function() {
3931
3931
  return o.ast;
@@ -3935,7 +3935,7 @@ var Co = (
3935
3935
  var s = i || {};
3936
3936
  s.formatters;
3937
3937
  var a = Ui(s, ["formatters"]);
3938
- this.ast = e.__parse(t, ge(ge({}, a), { locale: this.resolvedLocale }));
3938
+ this.ast = e.__parse(t, ye(ye({}, a), { locale: this.resolvedLocale }));
3939
3939
  } else
3940
3940
  this.ast = t;
3941
3941
  if (!Array.isArray(this.ast))
@@ -4048,7 +4048,7 @@ const He = {}, Lo = (e, t, r) => r && (t in He || (He[t] = {}), e in He[t] || (H
4048
4048
  }
4049
4049
  };
4050
4050
  let mr;
4051
- const Ze = Bt({});
4051
+ const Ye = Bt({});
4052
4052
  function No(e) {
4053
4053
  return mr[e] || null;
4054
4054
  }
@@ -4072,13 +4072,13 @@ function Ro(e) {
4072
4072
  }
4073
4073
  }
4074
4074
  function Tn(e, ...t) {
4075
- delete He[e], Ze.update((r) => (r[e] = Fi.all([r[e] || {}, ...t]), r));
4075
+ delete He[e], Ye.update((r) => (r[e] = Fi.all([r[e] || {}, ...t]), r));
4076
4076
  }
4077
- qe(
4078
- [Ze],
4077
+ Qe(
4078
+ [Ye],
4079
4079
  ([e]) => Object.keys(e)
4080
4080
  );
4081
- Ze.subscribe((e) => mr = e);
4081
+ Ye.subscribe((e) => mr = e);
4082
4082
  const wt = {};
4083
4083
  function Do(e, t) {
4084
4084
  wt[e].delete(t), wt[e].size === 0 && delete wt[e];
@@ -4105,20 +4105,20 @@ function Uo(e, t) {
4105
4105
  t.map((n) => (Do(e, n), n().then((i) => i.default || i)))
4106
4106
  ).then((n) => Tn(e, ...n));
4107
4107
  }
4108
- const it = {};
4108
+ const st = {};
4109
4109
  function An(e) {
4110
4110
  if (!cr(e))
4111
- return e in it ? it[e] : Promise.resolve();
4111
+ return e in st ? st[e] : Promise.resolve();
4112
4112
  const t = Fo(e);
4113
- return it[e] = Promise.all(
4113
+ return st[e] = Promise.all(
4114
4114
  t.map(
4115
4115
  ([r, n]) => Uo(r, n)
4116
4116
  )
4117
4117
  ).then(() => {
4118
4118
  if (cr(e))
4119
4119
  return An(e);
4120
- delete it[e];
4121
- }), it[e];
4120
+ delete st[e];
4121
+ }), st[e];
4122
4122
  }
4123
4123
  const Go = {
4124
4124
  number: {
@@ -4157,7 +4157,7 @@ const Go = {
4157
4157
  handleMissingMessage: void 0,
4158
4158
  ignoreTag: !0
4159
4159
  }, $o = jo;
4160
- function We() {
4160
+ function Je() {
4161
4161
  return $o;
4162
4162
  }
4163
4163
  const zt = Bt(!1);
@@ -4174,11 +4174,11 @@ const St = Bt(null);
4174
4174
  function jr(e) {
4175
4175
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4176
4176
  }
4177
- function It(e, t = We().fallbackLocale) {
4177
+ function It(e, t = Je().fallbackLocale) {
4178
4178
  const r = jr(e);
4179
4179
  return t ? [.../* @__PURE__ */ new Set([...r, ...jr(t)])] : r;
4180
4180
  }
4181
- function Re() {
4181
+ function Ne() {
4182
4182
  return dr != null ? dr : void 0;
4183
4183
  }
4184
4184
  St.subscribe((e) => {
@@ -4186,9 +4186,9 @@ St.subscribe((e) => {
4186
4186
  });
4187
4187
  const Jo = (e) => {
4188
4188
  if (e && Ro(e) && cr(e)) {
4189
- const { loadingDelay: t } = We();
4189
+ const { loadingDelay: t } = Je();
4190
4190
  let r;
4191
- return typeof window != "undefined" && Re() != null && t ? r = window.setTimeout(
4191
+ return typeof window != "undefined" && Ne() != null && t ? r = window.setTimeout(
4192
4192
  () => zt.set(!0),
4193
4193
  t
4194
4194
  ) : zt.set(!0), An(e).then(() => {
@@ -4198,7 +4198,7 @@ const Jo = (e) => {
4198
4198
  });
4199
4199
  }
4200
4200
  return St.set(e);
4201
- }, Pe = Zo(qo({}, St), {
4201
+ }, Be = Zo(qo({}, St), {
4202
4202
  set: Jo
4203
4203
  }), Lt = (e) => {
4204
4204
  const t = /* @__PURE__ */ Object.create(null);
@@ -4214,7 +4214,7 @@ var Qo = Object.defineProperty, At = Object.getOwnPropertySymbols, Hn = Object.p
4214
4214
  for (var r of At(t))
4215
4215
  Pn.call(t, r) && $r(e, r, t[r]);
4216
4216
  return e;
4217
- }, Je = (e, t) => {
4217
+ }, Ke = (e, t) => {
4218
4218
  var r = {};
4219
4219
  for (var n in e)
4220
4220
  Hn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -4223,59 +4223,59 @@ var Qo = Object.defineProperty, At = Object.getOwnPropertySymbols, Hn = Object.p
4223
4223
  t.indexOf(n) < 0 && Pn.call(e, n) && (r[n] = e[n]);
4224
4224
  return r;
4225
4225
  };
4226
- const lt = (e, t) => {
4227
- const { formats: r } = We();
4226
+ const ht = (e, t) => {
4227
+ const { formats: r } = Je();
4228
4228
  if (e in r && t in r[e])
4229
4229
  return r[e][t];
4230
4230
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4231
4231
  }, Yo = Lt(
4232
4232
  (e) => {
4233
- var t = e, { locale: r, format: n } = t, i = Je(t, ["locale", "format"]);
4233
+ var t = e, { locale: r, format: n } = t, i = Ke(t, ["locale", "format"]);
4234
4234
  if (r == null)
4235
4235
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4236
- return n && (i = lt("number", n)), new Intl.NumberFormat(r, i);
4236
+ return n && (i = ht("number", n)), new Intl.NumberFormat(r, i);
4237
4237
  }
4238
4238
  ), Ko = Lt(
4239
4239
  (e) => {
4240
- var t = e, { locale: r, format: n } = t, i = Je(t, ["locale", "format"]);
4240
+ var t = e, { locale: r, format: n } = t, i = Ke(t, ["locale", "format"]);
4241
4241
  if (r == null)
4242
4242
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4243
- return n ? i = lt("date", n) : Object.keys(i).length === 0 && (i = lt("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);
4244
4244
  }
4245
4245
  ), es = Lt(
4246
4246
  (e) => {
4247
- var t = e, { locale: r, format: n } = t, i = Je(t, ["locale", "format"]);
4247
+ var t = e, { locale: r, format: n } = t, i = Ke(t, ["locale", "format"]);
4248
4248
  if (r == null)
4249
4249
  throw new Error(
4250
4250
  '[svelte-i18n] A "locale" must be set to format time values'
4251
4251
  );
4252
- return n ? i = lt("time", n) : Object.keys(i).length === 0 && (i = lt("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);
4253
4253
  }
4254
4254
  ), ts = (e = {}) => {
4255
4255
  var t = e, {
4256
- locale: r = Re()
4257
- } = t, n = Je(t, [
4256
+ locale: r = Ne()
4257
+ } = t, n = Ke(t, [
4258
4258
  "locale"
4259
4259
  ]);
4260
4260
  return Yo(br({ locale: r }, n));
4261
4261
  }, rs = (e = {}) => {
4262
4262
  var t = e, {
4263
- locale: r = Re()
4264
- } = t, n = Je(t, [
4263
+ locale: r = Ne()
4264
+ } = t, n = Ke(t, [
4265
4265
  "locale"
4266
4266
  ]);
4267
4267
  return Ko(br({ locale: r }, n));
4268
4268
  }, ns = (e = {}) => {
4269
4269
  var t = e, {
4270
- locale: r = Re()
4271
- } = t, n = Je(t, [
4270
+ locale: r = Ne()
4271
+ } = t, n = Ke(t, [
4272
4272
  "locale"
4273
4273
  ]);
4274
4274
  return es(br({ locale: r }, n));
4275
4275
  }, is = Lt(
4276
4276
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4277
- (e, t = Re()) => new Co(e, t, We().formats, {
4278
- ignoreTag: We().ignoreTag
4277
+ (e, t = Ne()) => new Co(e, t, Je().formats, {
4278
+ ignoreTag: Je().ignoreTag
4279
4279
  })
4280
4280
  ), os = (e, t = {}) => {
4281
4281
  var r, n, i, o;
@@ -4283,16 +4283,16 @@ const lt = (e, t) => {
4283
4283
  typeof e == "object" && (s = e, e = s.id);
4284
4284
  const {
4285
4285
  values: a,
4286
- locale: f = Re(),
4287
- default: l
4286
+ locale: h = Ne(),
4287
+ default: u
4288
4288
  } = s;
4289
- if (f == null)
4289
+ if (h == null)
4290
4290
  throw new Error(
4291
4291
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4292
4292
  );
4293
- let c = xn(e, f);
4293
+ let c = xn(e, h);
4294
4294
  if (!c)
4295
- c = (o = (i = (n = (r = We()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: f, id: e, defaultValue: l })) != null ? i : l) != 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;
4296
4296
  else if (typeof c != "string")
4297
4297
  return console.warn(
4298
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.`
@@ -4301,98 +4301,109 @@ const lt = (e, t) => {
4301
4301
  return c;
4302
4302
  let d = c;
4303
4303
  try {
4304
- d = is(c, f).format(a);
4305
- } catch (p) {
4306
- p instanceof Error && console.warn(
4304
+ d = is(c, h).format(a);
4305
+ } catch (m) {
4306
+ m instanceof Error && console.warn(
4307
4307
  `[svelte-i18n] Message "${e}" has syntax error:`,
4308
- p.message
4308
+ m.message
4309
4309
  );
4310
4310
  }
4311
4311
  return d;
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 = Re()) => xn(e, t), hs = qe([Pe, Ze], () => os);
4313
- qe([Pe], () => ss);
4314
- qe([Pe], () => as);
4315
- qe([Pe], () => us);
4316
- qe([Pe, Ze], () => ls);
4317
- window.emWidgets = { topic: _i };
4318
- const Rs = (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";
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);
4317
+ window.emWidgets = { topic: Ei };
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
4319
  function cs({ withLocale: e, translations: t }) {
4320
- Pe.subscribe((r) => {
4321
- r == null && (Ze.set(t), Pe.set(e));
4320
+ Be.subscribe((r) => {
4321
+ r == null && (Ye.set(t), Be.set(e));
4322
4322
  });
4323
4323
  }
4324
4324
  function Wt(e, t) {
4325
4325
  Tn(e, t);
4326
4326
  }
4327
4327
  function kr(e) {
4328
- Pe.set(e);
4328
+ Be.set(e);
4329
4329
  }
4330
4330
  const Vr = {
4331
4331
  en: {
4332
4332
  500: "500 - Internal server error",
4333
4333
  showMore: "Show more",
4334
4334
  loading: "Loading, please wait ...",
4335
- noTournaments: "No tournaments found"
4335
+ noTournaments: "No tournaments found",
4336
+ fetchError: "An error has occurred when fetching the tournaments"
4336
4337
  },
4337
4338
  hr: {
4338
4339
  500: "500 - Interna pogreška poslužitelja",
4339
4340
  showMore: "Prikaži više",
4340
4341
  loading: "Učitavanje, molimo pričekajte ...",
4341
- noTournaments: "Nema pronađenih turnira"
4342
+ noTournaments: "Nema pronađenih turnira",
4343
+ fetchError: "Došlo je do pogreške prilikom dohvaćanja turnira"
4342
4344
  },
4343
4345
  "zh-hk": {
4344
4346
  500: "500內部服務器錯誤",
4345
4347
  showMore: "顯示更多",
4346
4348
  loading: "加載請稍候 ...",
4347
- noTournaments: "沒有找到比賽"
4349
+ noTournaments: "沒有找到比賽",
4350
+ fetchError: "擷取比賽資料時發生錯誤"
4348
4351
  },
4349
4352
  fr: {
4350
4353
  500: "500 - erreur de serveur interne",
4351
4354
  showMore: "Afficher plus",
4352
4355
  loading: "Chargement , veuillez patienter ...",
4353
- noTournaments: "Aucun tournoi trouvé"
4356
+ noTournaments: "Aucun tournoi trouvé",
4357
+ fetchError: "Une erreur est survenue lors de la récupération des tournois"
4354
4358
  },
4355
4359
  ro: {
4356
4360
  500: "500 - Internal server error",
4357
4361
  showMore: "Mai mult",
4358
4362
  loading: "Se încarcă, asteptati ...",
4359
- noTournaments: "Niciun turneu gasit"
4363
+ noTournaments: "Niciun turneu gasit",
4364
+ fetchError: "A apărut o eroare la preluarea turneelor"
4360
4365
  },
4361
4366
  tr: {
4362
4367
  500: "500 - Dahili sunucu hatası",
4363
4368
  showMore: "Daha fazla göster",
4364
4369
  loading: "Yükleniyor, lütfen bekleyin ...",
4365
- noTournaments: "Turnuva bulunamadı"
4370
+ noTournaments: "Turnuva bulunamadı",
4371
+ fetchError: "Turnuvalar alınırken bir hata oluştu"
4366
4372
  },
4367
4373
  el: {
4368
4374
  500: "500 - Σφάλμα Διακομιστή",
4369
4375
  showMore: "Περισσότερα",
4370
4376
  loading: "Φορτώνει, παρακαλούμε περιμένετε ...",
4371
- noTournaments: "Δεν βρέθηκαν τουρνουά"
4377
+ noTournaments: "Δεν βρέθηκαν τουρνουά",
4378
+ fetchError: "Παρουσιάστηκε σφάλμα κατά την ανάκτηση των τουρνουά"
4372
4379
  },
4373
4380
  es: {
4374
4381
  500: "500 - Error servidor interno",
4375
4382
  showMore: "Mostrar más",
4376
4383
  loading: "Cargando …",
4377
- noTournaments: "No se encontraron Torneos"
4384
+ noTournaments: "No se encontraron Torneos",
4385
+ fetchError: "Se produjo un error al obtener los torneos"
4378
4386
  },
4379
4387
  hu: {
4380
4388
  500: "500 - Belső szerver hiba",
4381
4389
  showMore: "Mutass többet",
4382
4390
  loading: "Betöltés, kérjük várjon...",
4383
- noTournaments: "Verseny nem található"
4391
+ noTournaments: "Verseny nem található",
4392
+ fetchError: "Hiba történt a versenyek lekérdezésekor"
4384
4393
  },
4385
4394
  pt: {
4386
4395
  500: "Erro 500 - Erro interno do servidor",
4387
4396
  showMore: "Ver mais",
4388
4397
  loading: "Carregando, por favor espere ...",
4389
- noTournaments: "Nenhum torneio encontrado"
4398
+ noTournaments: "Nenhum torneio encontrado",
4399
+ fetchError: "Ocorreu um erro ao buscar os torneios"
4390
4400
  },
4391
4401
  "en-us": {
4392
4402
  500: "500 - Internal server error",
4393
4403
  showMore: "Show more",
4394
4404
  loading: "Loading, please wait ...",
4395
- noTournaments: "No tournaments found"
4405
+ noTournaments: "No tournaments found",
4406
+ fetchError: "An error has occurred when fetching the tournaments"
4396
4407
  }
4397
4408
  };
4398
4409
  var pr = { exports: {} };
@@ -4403,27 +4414,27 @@ var pr = { exports: {} };
4403
4414
  */
4404
4415
  (function(e, t) {
4405
4416
  (function(r) {
4406
- var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, s = r.XDomainRequest, a = r.ActiveXObject, f = r.EventSource, l = r.document, c = r.Promise, d = r.fetch, p = r.Response, E = r.TextDecoder, B = r.TextEncoder, H = r.AbortController;
4407
- if (typeof window != "undefined" && typeof l != "undefined" && !("readyState" in l) && l.body == null && (l.readyState = "loading", window.addEventListener("load", function(h) {
4408
- l.readyState = "complete";
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;
4418
+ if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(l) {
4419
+ u.readyState = "complete";
4409
4420
  }, !1)), o == null && a != null && (o = function() {
4410
4421
  return new a("Microsoft.XMLHTTP");
4411
- }), Object.create == null && (Object.create = function(h) {
4422
+ }), Object.create == null && (Object.create = function(l) {
4412
4423
  function b() {
4413
4424
  }
4414
- return b.prototype = h, new b();
4425
+ return b.prototype = l, new b();
4415
4426
  }), Date.now || (Date.now = function() {
4416
4427
  return (/* @__PURE__ */ new Date()).getTime();
4417
4428
  }), H == null) {
4418
- var Y = d;
4419
- d = function(h, b) {
4429
+ var te = d;
4430
+ d = function(l, b) {
4420
4431
  var g = b.signal;
4421
- return Y(h, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(m) {
4422
- 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();
4423
4434
  return g._reader = y, g._aborted && g._reader.cancel(), {
4424
- status: m.status,
4425
- statusText: m.statusText,
4426
- headers: m.headers,
4435
+ status: p.status,
4436
+ statusText: p.statusText,
4437
+ headers: p.headers,
4427
4438
  body: {
4428
4439
  getReader: function() {
4429
4440
  return y;
@@ -4443,120 +4454,120 @@ var pr = { exports: {} };
4443
4454
  function de() {
4444
4455
  this.bitsNeeded = 0, this.codePoint = 0;
4445
4456
  }
4446
- de.prototype.decode = function(h) {
4447
- function b(P, O, u) {
4448
- if (u === 1)
4449
- return P >= 128 >> O && P << O <= 2047;
4450
- if (u === 2)
4451
- return P >= 2048 >> O && P << O <= 55295 || P >= 57344 >> O && P << O <= 65535;
4452
- if (u === 3)
4453
- return P >= 65536 >> O && P << O <= 1114111;
4457
+ de.prototype.decode = function(l) {
4458
+ function b(P, I, E) {
4459
+ if (E === 1)
4460
+ return P >= 128 >> I && P << I <= 2047;
4461
+ if (E === 2)
4462
+ return P >= 2048 >> I && P << I <= 55295 || P >= 57344 >> I && P << I <= 65535;
4463
+ if (E === 3)
4464
+ return P >= 65536 >> I && P << I <= 1114111;
4454
4465
  throw new Error();
4455
4466
  }
4456
- function g(P, O) {
4467
+ function g(P, I) {
4457
4468
  if (P === 6 * 1)
4458
- return O >> 6 > 15 ? 3 : O > 31 ? 2 : 1;
4469
+ return I >> 6 > 15 ? 3 : I > 31 ? 2 : 1;
4459
4470
  if (P === 6 * 2)
4460
- return O > 15 ? 3 : 2;
4471
+ return I > 15 ? 3 : 2;
4461
4472
  if (P === 6 * 3)
4462
4473
  return 3;
4463
4474
  throw new Error();
4464
4475
  }
4465
- for (var m = 65533, y = "", v = this.bitsNeeded, w = this.codePoint, L = 0; L < h.length; L += 1) {
4466
- var T = h[L];
4467
- 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))));
4468
4479
  }
4469
4480
  return this.bitsNeeded = v, this.codePoint = w, y;
4470
4481
  };
4471
4482
  var ne = function() {
4472
4483
  try {
4473
- return new E().decode(new B().encode("test"), { stream: !0 }) === "test";
4474
- } catch (h) {
4475
- console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + h);
4484
+ return new _().decode(new C().encode("test"), { stream: !0 }) === "test";
4485
+ } catch (l) {
4486
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + l);
4476
4487
  }
4477
4488
  return !1;
4478
4489
  };
4479
- (E == null || B == null || !ne()) && (E = de);
4480
- var I = function() {
4490
+ (_ == null || C == null || !ne()) && (_ = de);
4491
+ var L = function() {
4481
4492
  };
4482
- function j(h) {
4483
- this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = I, this.onload = I, this.onerror = I, this.onreadystatechange = I, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = I;
4493
+ function $(l) {
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;
4484
4495
  }
4485
- j.prototype.open = function(h, b) {
4496
+ $.prototype.open = function(l, b) {
4486
4497
  this._abort(!0);
4487
- var g = this, m = this._xhr, y = 1, v = 0;
4488
- this._abort = function(u) {
4489
- g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, m.onload = I, m.onerror = I, m.onabort = I, m.onprogress = I, m.onreadystatechange = I, m.abort(), v !== 0 && (i(v), v = 0), u || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4498
+ var g = this, p = this._xhr, y = 1, v = 0;
4499
+ this._abort = function(E) {
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;
4490
4501
  };
4491
4502
  var w = function() {
4492
4503
  if (y === 1) {
4493
- var u = 0, _ = "", C = void 0;
4494
- if ("contentType" in m)
4495
- u = 200, _ = "OK", C = m.contentType;
4504
+ var E = 0, f = "", B = void 0;
4505
+ if ("contentType" in p)
4506
+ E = 200, f = "OK", B = p.contentType;
4496
4507
  else
4497
4508
  try {
4498
- u = m.status, _ = m.statusText, C = m.getResponseHeader("Content-Type");
4509
+ E = p.status, f = p.statusText, B = p.getResponseHeader("Content-Type");
4499
4510
  } catch (D) {
4500
- u = 0, _ = "", C = void 0;
4511
+ E = 0, f = "", B = void 0;
4501
4512
  }
4502
- u !== 0 && (y = 2, g.readyState = 2, g.status = u, g.statusText = _, g._contentType = C, g.onreadystatechange());
4513
+ E !== 0 && (y = 2, g.readyState = 2, g.status = E, g.statusText = f, g._contentType = B, g.onreadystatechange());
4503
4514
  }
4504
- }, L = function() {
4515
+ }, N = function() {
4505
4516
  if (w(), y === 2 || y === 3) {
4506
4517
  y = 3;
4507
- var u = "";
4518
+ var E = "";
4508
4519
  try {
4509
- u = m.responseText;
4510
- } catch (_) {
4520
+ E = p.responseText;
4521
+ } catch (f) {
4511
4522
  }
4512
- g.readyState = 3, g.responseText = u, g.onprogress();
4523
+ g.readyState = 3, g.responseText = E, g.onprogress();
4513
4524
  }
4514
- }, T = function(u, _) {
4515
- if ((_ == null || _.preventDefault == null) && (_ = {
4516
- preventDefault: I
4517
- }), L(), y === 1 || y === 2 || y === 3) {
4518
- if (y = 4, v !== 0 && (i(v), v = 0), g.readyState = 4, u === "load")
4519
- g.onload(_);
4520
- else if (u === "error")
4521
- g.onerror(_);
4522
- else if (u === "abort")
4523
- g.onabort(_);
4525
+ }, T = function(E, f) {
4526
+ if ((f == null || f.preventDefault == null) && (f = {
4527
+ preventDefault: L
4528
+ }), N(), y === 1 || y === 2 || y === 3) {
4529
+ if (y = 4, v !== 0 && (i(v), v = 0), g.readyState = 4, E === "load")
4530
+ g.onload(f);
4531
+ else if (E === "error")
4532
+ g.onerror(f);
4533
+ else if (E === "abort")
4534
+ g.onabort(f);
4524
4535
  else
4525
4536
  throw new TypeError();
4526
4537
  g.onreadystatechange();
4527
4538
  }
4528
- }, P = function(u) {
4529
- m != null && (m.readyState === 4 ? (!("onload" in m) || !("onerror" in m) || !("onabort" in m)) && T(m.responseText === "" ? "error" : "load", u) : m.readyState === 3 ? "onprogress" in m || L() : m.readyState === 2 && w());
4530
- }, O = 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() {
4531
4542
  v = n(function() {
4532
- O();
4533
- }, 500), m.readyState === 3 && L();
4543
+ I();
4544
+ }, 500), p.readyState === 3 && N();
4534
4545
  };
4535
- "onload" in m && (m.onload = function(u) {
4536
- T("load", u);
4537
- }), "onerror" in m && (m.onerror = function(u) {
4538
- T("error", u);
4539
- }), "onabort" in m && (m.onabort = function(u) {
4540
- T("abort", u);
4541
- }), "onprogress" in m && (m.onprogress = L), "onreadystatechange" in m && (m.onreadystatechange = function(u) {
4542
- P(u);
4543
- }), ("contentType" in m || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), m.open(h, b, !0), "readyState" in m && (v = n(function() {
4544
- O();
4546
+ "onload" in p && (p.onload = function(E) {
4547
+ T("load", E);
4548
+ }), "onerror" in p && (p.onerror = function(E) {
4549
+ T("error", E);
4550
+ }), "onabort" in p && (p.onabort = function(E) {
4551
+ T("abort", E);
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();
4545
4556
  }, 0));
4546
- }, j.prototype.abort = function() {
4557
+ }, $.prototype.abort = function() {
4547
4558
  this._abort(!1);
4548
- }, j.prototype.getResponseHeader = function(h) {
4559
+ }, $.prototype.getResponseHeader = function(l) {
4549
4560
  return this._contentType;
4550
- }, j.prototype.setRequestHeader = function(h, b) {
4561
+ }, $.prototype.setRequestHeader = function(l, b) {
4551
4562
  var g = this._xhr;
4552
- "setRequestHeader" in g && g.setRequestHeader(h, b);
4553
- }, j.prototype.getAllResponseHeaders = function() {
4563
+ "setRequestHeader" in g && g.setRequestHeader(l, b);
4564
+ }, $.prototype.getAllResponseHeaders = function() {
4554
4565
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4555
- }, j.prototype.send = function() {
4556
- if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && l != null && l.readyState != null && l.readyState !== "complete") {
4557
- var h = this;
4558
- h._sendTimeout = n(function() {
4559
- h._sendTimeout = 0, h.send();
4566
+ }, $.prototype.send = function() {
4567
+ if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4568
+ var l = this;
4569
+ l._sendTimeout = n(function() {
4570
+ l._sendTimeout = 0, l.send();
4560
4571
  }, 4);
4561
4572
  return;
4562
4573
  }
@@ -4568,275 +4579,275 @@ var pr = { exports: {} };
4568
4579
  throw g;
4569
4580
  }
4570
4581
  };
4571
- function q(h) {
4572
- return h.replace(/[A-Z]/g, function(b) {
4582
+ function q(l) {
4583
+ return l.replace(/[A-Z]/g, function(b) {
4573
4584
  return String.fromCharCode(b.charCodeAt(0) + 32);
4574
4585
  });
4575
4586
  }
4576
- function le(h) {
4577
- for (var b = /* @__PURE__ */ Object.create(null), g = h.split(`\r
4578
- `), m = 0; m < g.length; m += 1) {
4579
- var y = g[m], v = y.split(": "), w = v.shift(), L = v.join(": ");
4580
- b[q(w)] = L;
4587
+ function le(l) {
4588
+ for (var b = /* @__PURE__ */ Object.create(null), g = l.split(`\r
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;
4581
4592
  }
4582
4593
  this._map = b;
4583
4594
  }
4584
- le.prototype.get = function(h) {
4585
- return this._map[q(h)];
4595
+ le.prototype.get = function(l) {
4596
+ return this._map[q(l)];
4586
4597
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4587
- function be() {
4598
+ function ge() {
4588
4599
  }
4589
- be.prototype.open = function(h, b, g, m, y, v, w) {
4590
- h.open("GET", y);
4591
- var L = 0;
4592
- h.onprogress = function() {
4593
- var P = h.responseText, O = P.slice(L);
4594
- L += O.length, g(O);
4595
- }, h.onerror = function(P) {
4596
- P.preventDefault(), m(new Error("NetworkError"));
4597
- }, h.onload = function() {
4598
- m(null);
4599
- }, h.onabort = function() {
4600
- m(null);
4601
- }, h.onreadystatechange = function() {
4602
- if (h.readyState === o.HEADERS_RECEIVED) {
4603
- var P = h.status, O = h.statusText, u = h.getResponseHeader("Content-Type"), _ = h.getAllResponseHeaders();
4604
- b(P, O, u, new le(_));
4600
+ ge.prototype.open = function(l, b, g, p, y, v, w) {
4601
+ l.open("GET", y);
4602
+ var N = 0;
4603
+ l.onprogress = function() {
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"));
4608
+ }, l.onload = function() {
4609
+ p(null);
4610
+ }, l.onabort = function() {
4611
+ p(null);
4612
+ }, l.onreadystatechange = function() {
4613
+ if (l.readyState === o.HEADERS_RECEIVED) {
4614
+ var P = l.status, I = l.statusText, E = l.getResponseHeader("Content-Type"), f = l.getAllResponseHeaders();
4615
+ b(P, I, E, new le(f));
4605
4616
  }
4606
- }, h.withCredentials = v;
4617
+ }, l.withCredentials = v;
4607
4618
  for (var T in w)
4608
- Object.prototype.hasOwnProperty.call(w, T) && h.setRequestHeader(T, w[T]);
4609
- return h.send(), h;
4619
+ Object.prototype.hasOwnProperty.call(w, T) && l.setRequestHeader(T, w[T]);
4620
+ return l.send(), l;
4610
4621
  };
4611
- function De(h) {
4612
- this._headers = h;
4622
+ function Me(l) {
4623
+ this._headers = l;
4613
4624
  }
4614
- De.prototype.get = function(h) {
4615
- return this._headers.get(h);
4625
+ Me.prototype.get = function(l) {
4626
+ return this._headers.get(l);
4616
4627
  };
4617
- function Fe() {
4628
+ function Re() {
4618
4629
  }
4619
- Fe.prototype.open = function(h, b, g, m, y, v, w) {
4620
- var L = null, T = new H(), P = T.signal, O = new E();
4630
+ Re.prototype.open = function(l, b, g, p, y, v, w) {
4631
+ var N = null, T = new H(), P = T.signal, I = new _();
4621
4632
  return d(y, {
4622
4633
  headers: w,
4623
4634
  credentials: v ? "include" : "same-origin",
4624
4635
  signal: P,
4625
4636
  cache: "no-store"
4626
- }).then(function(u) {
4627
- return L = u.body.getReader(), b(u.status, u.statusText, u.headers.get("Content-Type"), new De(u.headers)), new c(function(_, C) {
4637
+ }).then(function(E) {
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) {
4628
4639
  var D = function() {
4629
- L.read().then(function(W) {
4630
- if (W.done)
4631
- _(void 0);
4640
+ N.read().then(function(O) {
4641
+ if (O.done)
4642
+ f(void 0);
4632
4643
  else {
4633
- var U = O.decode(W.value, { stream: !0 });
4634
- g(U), D();
4644
+ var k = I.decode(O.value, { stream: !0 });
4645
+ g(k), D();
4635
4646
  }
4636
- }).catch(function(W) {
4637
- C(W);
4647
+ }).catch(function(O) {
4648
+ B(O);
4638
4649
  });
4639
4650
  };
4640
4651
  D();
4641
4652
  });
4642
- }).catch(function(u) {
4643
- if (u.name !== "AbortError")
4644
- return u;
4645
- }).then(function(u) {
4646
- m(u);
4653
+ }).catch(function(E) {
4654
+ if (E.name !== "AbortError")
4655
+ return E;
4656
+ }).then(function(E) {
4657
+ p(E);
4647
4658
  }), {
4648
4659
  abort: function() {
4649
- L != null && L.cancel(), T.abort();
4660
+ N != null && N.cancel(), T.abort();
4650
4661
  }
4651
4662
  };
4652
4663
  };
4653
- function ve() {
4664
+ function Ee() {
4654
4665
  this._listeners = /* @__PURE__ */ Object.create(null);
4655
4666
  }
4656
- function Be(h) {
4667
+ function De(l) {
4657
4668
  n(function() {
4658
- throw h;
4669
+ throw l;
4659
4670
  }, 0);
4660
4671
  }
4661
- ve.prototype.dispatchEvent = function(h) {
4662
- h.target = this;
4663
- var b = this._listeners[h.type];
4672
+ Ee.prototype.dispatchEvent = function(l) {
4673
+ l.target = this;
4674
+ var b = this._listeners[l.type];
4664
4675
  if (b != null)
4665
- for (var g = b.length, m = 0; m < g; m += 1) {
4666
- var y = b[m];
4676
+ for (var g = b.length, p = 0; p < g; p += 1) {
4677
+ var y = b[p];
4667
4678
  try {
4668
- typeof y.handleEvent == "function" ? y.handleEvent(h) : y.call(this, h);
4679
+ typeof y.handleEvent == "function" ? y.handleEvent(l) : y.call(this, l);
4669
4680
  } catch (v) {
4670
- Be(v);
4681
+ De(v);
4671
4682
  }
4672
4683
  }
4673
- }, ve.prototype.addEventListener = function(h, b) {
4674
- h = String(h);
4675
- var g = this._listeners, m = g[h];
4676
- m == null && (m = [], g[h] = m);
4677
- for (var y = !1, v = 0; v < m.length; v += 1)
4678
- m[v] === b && (y = !0);
4679
- y || m.push(b);
4680
- }, ve.prototype.removeEventListener = function(h, b) {
4681
- h = String(h);
4682
- var g = this._listeners, m = g[h];
4683
- if (m != null) {
4684
- for (var y = [], v = 0; v < m.length; v += 1)
4685
- m[v] !== b && y.push(m[v]);
4686
- y.length === 0 ? delete g[h] : g[h] = y;
4684
+ }, Ee.prototype.addEventListener = function(l, b) {
4685
+ l = String(l);
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) {
4692
+ l = String(l);
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]);
4697
+ y.length === 0 ? delete g[l] : g[l] = y;
4687
4698
  }
4688
4699
  };
4689
- function K(h) {
4690
- this.type = h, this.target = void 0;
4700
+ function pe(l) {
4701
+ this.type = l, this.target = void 0;
4691
4702
  }
4692
- function ct(h, b) {
4693
- K.call(this, h), this.data = b.data, this.lastEventId = b.lastEventId;
4703
+ function ve(l, b) {
4704
+ pe.call(this, l), this.data = b.data, this.lastEventId = b.lastEventId;
4694
4705
  }
4695
- ct.prototype = Object.create(K.prototype);
4696
- function Oe(h, b) {
4697
- K.call(this, h), 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;
4698
4709
  }
4699
- Oe.prototype = Object.create(K.prototype);
4700
- function Qe(h, b) {
4701
- K.call(this, h), this.error = b.error;
4710
+ et.prototype = Object.create(pe.prototype);
4711
+ function Fe(l, b) {
4712
+ pe.call(this, l), this.error = b.error;
4702
4713
  }
4703
- Qe.prototype = Object.create(K.prototype);
4704
- var Ce = -1, ie = 0, z = 1, pe = 2, Te = -1, $ = 0, Se = 1, Ae = 2, dt = 3, me = /^text\/event\-stream(;.*)?$/i, Ye = 1e3, pt = 18e6, Ke = function(h, b) {
4705
- var g = h == null ? b : parseInt(h, 10);
4706
- return g !== g && (g = b), et(g);
4707
- }, et = function(h) {
4708
- return Math.min(Math.max(h, Ye), pt);
4709
- }, ye = function(h, b, g) {
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) {
4716
+ var g = l == null ? b : parseInt(l, 10);
4717
+ return g !== g && (g = b), rt(g);
4718
+ }, rt = function(l) {
4719
+ return Math.min(Math.max(l, be), tt);
4720
+ }, Se = function(l, b, g) {
4710
4721
  try {
4711
- typeof b == "function" && b.call(h, g);
4712
- } catch (m) {
4713
- Be(m);
4722
+ typeof b == "function" && b.call(l, g);
4723
+ } catch (p) {
4724
+ De(p);
4714
4725
  }
4715
4726
  };
4716
- function oe(h, b) {
4717
- ve.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, h, b);
4727
+ function re(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);
4718
4729
  }
4719
- function tt() {
4730
+ function Nt() {
4720
4731
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4721
4732
  }
4722
- var Nt = d != null && p != null && "body" in p.prototype;
4723
- function Mt(h, b, g) {
4733
+ var nt = d != null && m != null && "body" in m.prototype;
4734
+ function Mt(l, b, g) {
4724
4735
  b = String(b);
4725
- var m = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = et(1e3), w = Ke(g.heartbeatTimeout, 45e3), L = "", T = v, P = !1, O = 0, u = g.headers || {}, _ = g.Transport, C = Nt && _ == null ? void 0 : new j(_ != null ? new _() : tt()), D = _ != null && typeof _ != "string" ? new _() : C == null ? new Fe() : new be(), W = void 0, U = 0, se = Ce, Ie = "", ee = "", _e = "", mt = "", Z = $, Rt = 0, Le = 0, On = function(k, G, ae, ue) {
4726
- if (se === ie)
4727
- if (k === 200 && ae != null && me.test(ae)) {
4728
- se = z, P = Date.now(), T = v, h.readyState = z;
4729
- var J = new Oe("open", {
4730
- status: k,
4731
- statusText: G,
4732
- headers: ue
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) {
4737
+ if (W === he)
4738
+ if (V === 200 && se != null && dt.test(se)) {
4739
+ W = me, P = Date.now(), T = v, l.readyState = me;
4740
+ var Q = new et("open", {
4741
+ status: V,
4742
+ statusText: j,
4743
+ headers: ae
4733
4744
  });
4734
- h.dispatchEvent(J), ye(h, h.onopen, J);
4745
+ l.dispatchEvent(Q), Se(l, l.onopen, Q);
4735
4746
  } else {
4736
- var V = "";
4737
- k !== 200 ? (G && (G = G.replace(/\s+/g, " ")), V = "EventSource's response has a status " + k + " " + G + " that is not 200. Aborting the connection.") : V = "EventSource's response has a Content-Type specifying an unsupported type: " + (ae == null ? "-" : ae.replace(/\s+/g, " ")) + ". Aborting the connection.", Dt();
4738
- var J = new Oe("error", {
4739
- status: k,
4740
- statusText: G,
4741
- headers: ue
4747
+ var z = "";
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", {
4750
+ status: V,
4751
+ statusText: j,
4752
+ headers: ae
4742
4753
  });
4743
- h.dispatchEvent(J), ye(h, h.onerror, J), console.error(V);
4754
+ l.dispatchEvent(Q), Se(l, l.onerror, Q), console.error(z);
4744
4755
  }
4745
- }, Cn = function(k) {
4746
- if (se === z) {
4747
- for (var G = -1, ae = 0; ae < k.length; ae += 1) {
4748
- var ue = k.charCodeAt(ae);
4749
- (ue === 10 || ue === 13) && (G = ae);
4756
+ }, Cn = function(V) {
4757
+ if (W === me) {
4758
+ for (var j = -1, se = 0; se < V.length; se += 1) {
4759
+ var ae = V.charCodeAt(se);
4760
+ (ae === 10 || ae === 13) && (j = se);
4750
4761
  }
4751
- var J = (G !== -1 ? mt : "") + k.slice(0, G + 1);
4752
- mt = (G === -1 ? mt : "") + k.slice(G + 1), k !== "" && (P = Date.now(), O += k.length);
4753
- for (var V = 0; V < J.length; V += 1) {
4754
- var ue = J.charCodeAt(V);
4755
- if (Z === Te && ue === 10)
4756
- Z = $;
4757
- else if (Z === Te && (Z = $), ue === 13 || ue === 10) {
4758
- if (Z !== $) {
4759
- Z === Se && (Le = V + 1);
4760
- var Ee = J.slice(Rt, Le - 1), xe = J.slice(Le + (Le < V && J.charCodeAt(Le) === 32 ? 1 : 0), V);
4761
- Ee === "data" ? (Ie += `
4762
- `, Ie += xe) : Ee === "id" ? ee = xe : Ee === "event" ? _e = xe : Ee === "retry" ? (v = Ke(xe, v), T = v) : Ee === "heartbeatTimeout" && (w = Ke(xe, w), U !== 0 && (i(U), U = n(function() {
4763
- nt();
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);
4764
+ for (var z = 0; z < Q.length; z += 1) {
4765
+ var ae = Q.charCodeAt(z);
4766
+ if (J === _e && ae === 10)
4767
+ J = ie;
4768
+ else if (J === _e && (J = ie), ae === 13 || ae === 10) {
4769
+ if (J !== ie) {
4770
+ J === oe && (Ie = z + 1);
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();
4764
4775
  }, w)));
4765
4776
  }
4766
- if (Z === $) {
4767
- if (Ie !== "") {
4768
- L = ee, _e === "" && (_e = "message");
4769
- var Ue = new ct(_e, {
4770
- data: Ie.slice(1),
4771
- lastEventId: ee
4777
+ if (J === ie) {
4778
+ if (Ae !== "") {
4779
+ N = it, G === "" && (G = "message");
4780
+ var je = new ve(G, {
4781
+ data: Ae.slice(1),
4782
+ lastEventId: it
4772
4783
  });
4773
- if (h.dispatchEvent(Ue), _e === "open" ? ye(h, h.onopen, Ue) : _e === "message" ? ye(h, h.onmessage, Ue) : _e === "error" && ye(h, h.onerror, Ue), se === pe)
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)
4774
4785
  return;
4775
4786
  }
4776
- Ie = "", _e = "";
4787
+ Ae = "", G = "";
4777
4788
  }
4778
- Z = ue === 13 ? Te : $;
4789
+ J = ae === 13 ? _e : ie;
4779
4790
  } else
4780
- Z === $ && (Rt = V, Z = Se), Z === Se ? ue === 58 && (Le = V + 1, Z = Ae) : Z === Ae && (Z = dt);
4791
+ J === ie && (Rt = z, J = oe), J === oe ? ae === 58 && (Ie = z + 1, J = Oe) : J === Oe && (J = Ce);
4781
4792
  }
4782
4793
  }
4783
- }, gr = function(k) {
4784
- if (se === z || se === ie) {
4785
- se = Ce, U !== 0 && (i(U), U = 0), U = n(function() {
4786
- nt();
4787
- }, T), T = et(Math.min(v * 16, T * 2)), h.readyState = ie;
4788
- var G = new Qe("error", { error: k });
4789
- h.dispatchEvent(G), ye(h, h.onerror, G), k != null && console.error(k);
4794
+ }, gr = function(V) {
4795
+ if (W === me || W === he) {
4796
+ W = Ue, k !== 0 && (i(k), k = 0), k = n(function() {
4797
+ ot();
4798
+ }, T), T = rt(Math.min(v * 16, T * 2)), l.readyState = he;
4799
+ var j = new Fe("error", { error: V });
4800
+ l.dispatchEvent(j), Se(l, l.onerror, j), V != null && console.error(V);
4790
4801
  }
4791
4802
  }, Dt = function() {
4792
- se = pe, W != null && (W.abort(), W = void 0), U !== 0 && (i(U), U = 0), h.readyState = pe;
4793
- }, nt = function() {
4794
- if (U = 0, se !== Ce) {
4795
- if (!P && W != null)
4796
- gr(new Error("No activity within " + w + " milliseconds. " + (se === ie ? "No response received." : O + " chars received.") + " Reconnecting.")), W != null && (W.abort(), W = void 0);
4803
+ W = Z, O != null && (O.abort(), O = void 0), k !== 0 && (i(k), k = 0), l.readyState = Z;
4804
+ }, ot = function() {
4805
+ if (k = 0, W !== Ue) {
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);
4797
4808
  else {
4798
- var k = Math.max((P || Date.now()) + w - Date.now(), 1);
4799
- P = !1, U = n(function() {
4800
- nt();
4801
- }, k);
4809
+ var V = Math.max((P || Date.now()) + w - Date.now(), 1);
4810
+ P = !1, k = n(function() {
4811
+ ot();
4812
+ }, V);
4802
4813
  }
4803
4814
  return;
4804
4815
  }
4805
- P = !1, O = 0, U = n(function() {
4806
- nt();
4807
- }, w), se = ie, Ie = "", _e = "", ee = L, mt = "", Rt = 0, Le = 0, Z = $;
4808
- var G = b;
4809
- if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && L !== "") {
4810
- var ae = b.indexOf("?");
4811
- G = ae === -1 ? b : b.slice(0, ae + 1) + b.slice(ae + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(xe, Ue) {
4812
- return Ue === y ? "" : xe;
4813
- }), G += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(L);
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;
4819
+ var j = b;
4820
+ if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && N !== "") {
4821
+ var se = b.indexOf("?");
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);
4814
4825
  }
4815
- var ue = h.withCredentials, J = {};
4816
- J.Accept = "text/event-stream";
4817
- var V = h.headers;
4818
- if (V != null)
4819
- for (var Ee in V)
4820
- Object.prototype.hasOwnProperty.call(V, Ee) && (J[Ee] = V[Ee]);
4826
+ var ae = l.withCredentials, Q = {};
4827
+ Q.Accept = "text/event-stream";
4828
+ var z = l.headers;
4829
+ if (z != null)
4830
+ for (var xe in z)
4831
+ Object.prototype.hasOwnProperty.call(z, xe) && (Q[xe] = z[xe]);
4821
4832
  try {
4822
- W = D.open(C, On, Cn, gr, G, ue, J);
4823
- } catch (xe) {
4824
- throw Dt(), xe;
4833
+ O = D.open(B, On, Cn, gr, j, ae, Q);
4834
+ } catch (we) {
4835
+ throw Dt(), we;
4825
4836
  }
4826
4837
  };
4827
- h.url = b, h.readyState = ie, h.withCredentials = m, h.headers = u, h._close = Dt, nt();
4838
+ l.url = b, l.readyState = he, l.withCredentials = p, l.headers = E, l._close = Dt, ot();
4828
4839
  }
4829
- oe.prototype = Object.create(ve.prototype), oe.prototype.CONNECTING = ie, oe.prototype.OPEN = z, oe.prototype.CLOSED = pe, oe.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() {
4830
4841
  this._close();
4831
- }, oe.CONNECTING = ie, oe.OPEN = z, oe.CLOSED = pe, oe.prototype.withCredentials = void 0;
4832
- var rt = f;
4833
- o != null && (f == null || !("withCredentials" in f.prototype)) && (rt = oe), function(h) {
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) {
4834
4845
  {
4835
- var b = h(t);
4846
+ var b = l(t);
4836
4847
  b !== void 0 && (e.exports = b);
4837
4848
  }
4838
- }(function(h) {
4839
- h.EventSourcePolyfill = oe, h.NativeEventSource = f, h.EventSource = rt;
4849
+ }(function(l) {
4850
+ l.EventSourcePolyfill = re, l.NativeEventSource = h, l.EventSource = pt;
4840
4851
  });
4841
4852
  })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : xi : globalThis);
4842
4853
  })(pr, pr.exports);
@@ -4876,7 +4887,7 @@ if (typeof window != "undefined") {
4876
4887
  }
4877
4888
  };
4878
4889
  };
4879
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-DkCuVRNa.js").then(({ default: t }) => {
4890
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-BsEC-oQo.js").then(({ default: t }) => {
4880
4891
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4881
4892
  });
4882
4893
  }
@@ -4892,7 +4903,7 @@ if (typeof window != "undefined") {
4892
4903
  }
4893
4904
  };
4894
4905
  };
4895
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-DOzCPChZ.js").then(({ default: t }) => {
4906
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-C0LGjwkY.js").then(({ default: t }) => {
4896
4907
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4897
4908
  });
4898
4909
  }
@@ -4903,60 +4914,60 @@ function gs(e) {
4903
4914
  function vs(e) {
4904
4915
  let t, r, n, i, o, s, a = (
4905
4916
  /*filtersLoaded*/
4906
- e[20] && zr(e)
4917
+ e[21] && zr(e)
4907
4918
  );
4908
- function f(p, E) {
4919
+ function h(m, _) {
4909
4920
  return (
4910
4921
  /*tournamentsNumber*/
4911
- p[21] == 0 ? Es : _s
4922
+ m[22] == 0 ? _s : Es
4912
4923
  );
4913
4924
  }
4914
- let l = f(e), c = l(e), d = !/*allTournamentsShown*/
4915
- e[22] && Wr(e);
4925
+ let u = h(e), c = u(e), d = !/*allTournamentsShown*/
4926
+ e[23] && Wr(e);
4916
4927
  return {
4917
4928
  c() {
4918
- t = X("div"), r = X("div"), n = X("div"), a && a.c(), i = qt(), o = X("div"), c.c(), s = qt(), d && d.c(), F(n, "class", "FirstRow"), F(n, "part", "FirstRow"), F(o, "class", "SecondRow"), F(o, "part", "SecondRow"), F(r, "class", "Tournaments"), F(r, "part", "Tournaments"), F(t, "class", "TournamentsWrapper"), F(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");
4919
4930
  },
4920
- m(p, E) {
4921
- ce(p, t, E), te(t, r), te(r, n), a && a.m(n, null), te(r, i), te(r, o), c.m(o, null), te(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);
4922
4933
  },
4923
- p(p, E) {
4934
+ p(m, _) {
4924
4935
  /*filtersLoaded*/
4925
- p[20] ? a ? a.p(p, E) : (a = zr(p), a.c(), a.m(n, null)) : a && (a.d(1), a = null), l === (l = f(p)) && c ? c.p(p, E) : (c.d(1), c = l(p), c && (c.c(), c.m(o, null))), /*allTournamentsShown*/
4926
- p[22] ? d && (d.d(1), d = null) : d ? d.p(p, E) : (d = Wr(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));
4927
4938
  },
4928
- d(p) {
4929
- p && re(t), a && a.d(), c.d(), d && d.d();
4939
+ d(m) {
4940
+ m && ee(t), a && a.d(), c.d(), d && d.d();
4930
4941
  }
4931
4942
  };
4932
4943
  }
4933
4944
  function ys(e) {
4934
4945
  let t, r = (
4935
4946
  /*$_*/
4936
- e[23]("500") + ""
4947
+ e[24]("500") + ""
4937
4948
  ), n, i, o, s;
4938
4949
  return {
4939
4950
  c() {
4940
- t = X("p"), n = Me(r), i = qt(), o = X("p"), s = Me(
4951
+ t = X("p"), n = Pe(r), i = qt(), o = X("p"), s = Pe(
4941
4952
  /*error*/
4942
- e[18]
4953
+ e[19]
4943
4954
  );
4944
4955
  },
4945
- m(a, f) {
4946
- ce(a, t, f), te(t, n), ce(a, i, f), ce(a, o, f), te(o, s);
4956
+ m(a, h) {
4957
+ ue(a, t, h), K(t, n), ue(a, i, h), ue(a, o, h), K(o, s);
4947
4958
  },
4948
- p(a, f) {
4949
- f[0] & /*$_*/
4950
- 8388608 && r !== (r = /*$_*/
4951
- a[23]("500") + "") && st(n, r), f[0] & /*error*/
4952
- 262144 && st(
4959
+ p(a, h) {
4960
+ h[0] & /*$_*/
4961
+ 16777216 && r !== (r = /*$_*/
4962
+ a[24]("500") + "") && ze(n, r), h[0] & /*error*/
4963
+ 524288 && ze(
4953
4964
  s,
4954
4965
  /*error*/
4955
- a[18]
4966
+ a[19]
4956
4967
  );
4957
4968
  },
4958
4969
  d(a) {
4959
- a && (re(t), re(i), re(o));
4970
+ a && (ee(t), ee(i), ee(o));
4960
4971
  }
4961
4972
  };
4962
4973
  }
@@ -4984,7 +4995,7 @@ function zr(e) {
4984
4995
  "mbsource",
4985
4996
  /*mbsource*/
4986
4997
  e[15]
4987
- ), x(t, "filters", Ss), x(
4998
+ ), x(t, "filters", As), x(
4988
4999
  t,
4989
5000
  "activefilters",
4990
5001
  /*filters*/
@@ -4992,7 +5003,7 @@ function zr(e) {
4992
5003
  ), x(t, "exportparts", "FiltersController, MobileClass, Non-MobileClass/empty, Active, FilterButton, bi, bi-check, FiltersList, FiltersTitle, FiltersItem");
4993
5004
  },
4994
5005
  m(r, n) {
4995
- ce(r, t, n);
5006
+ ue(r, t, n);
4996
5007
  },
4997
5008
  p(r, n) {
4998
5009
  n[0] & /*clientstyling*/
@@ -5028,11 +5039,11 @@ function zr(e) {
5028
5039
  );
5029
5040
  },
5030
5041
  d(r) {
5031
- r && re(t);
5042
+ r && ee(t);
5032
5043
  }
5033
5044
  };
5034
5045
  }
5035
- function _s(e) {
5046
+ function Es(e) {
5036
5047
  let t;
5037
5048
  return {
5038
5049
  c() {
@@ -5117,7 +5128,7 @@ function _s(e) {
5117
5128
  TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonSpan, JoinButtonSvg, JoinButtonSvgA, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, TournamentList, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper`);
5118
5129
  },
5119
5130
  m(r, n) {
5120
- ce(r, t, n);
5131
+ ue(r, t, n);
5121
5132
  },
5122
5133
  p(r, n) {
5123
5134
  n[0] & /*clientstyling*/
@@ -5213,16 +5224,19 @@ function _s(e) {
5213
5224
  );
5214
5225
  },
5215
5226
  d(r) {
5216
- r && re(t);
5227
+ r && ee(t);
5217
5228
  }
5218
5229
  };
5219
5230
  }
5220
- function Es(e) {
5231
+ function _s(e) {
5221
5232
  let t;
5222
5233
  function r(o, s) {
5223
5234
  return (
5224
5235
  /*isLoading*/
5225
- o[19] ? ws : xs
5236
+ o[20] ? Ts : (
5237
+ /*hasFetchErrors*/
5238
+ o[18] ? ws : xs
5239
+ )
5226
5240
  );
5227
5241
  }
5228
5242
  let n = r(e), i = n(e);
@@ -5231,88 +5245,110 @@ function Es(e) {
5231
5245
  i.c(), t = $n();
5232
5246
  },
5233
5247
  m(o, s) {
5234
- i.m(o, s), ce(o, t, s);
5248
+ i.m(o, s), ue(o, t, s);
5235
5249
  },
5236
5250
  p(o, s) {
5237
5251
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
5238
5252
  },
5239
5253
  d(o) {
5240
- o && re(t), i.d(o);
5254
+ o && ee(t), i.d(o);
5241
5255
  }
5242
5256
  };
5243
5257
  }
5244
5258
  function xs(e) {
5245
5259
  let t, r = (
5246
5260
  /*$_*/
5247
- e[23]("noTournaments") + ""
5261
+ e[24]("noTournaments") + ""
5248
5262
  ), n;
5249
5263
  return {
5250
5264
  c() {
5251
- t = X("p"), n = Me(r), F(t, "class", "NoTournaments"), F(t, "part", "NoTournaments");
5265
+ t = X("p"), n = Pe(r), U(t, "class", "NoTournaments"), U(t, "part", "NoTournaments");
5252
5266
  },
5253
5267
  m(i, o) {
5254
- ce(i, t, o), te(t, n);
5268
+ ue(i, t, o), K(t, n);
5255
5269
  },
5256
5270
  p(i, o) {
5257
5271
  o[0] & /*$_*/
5258
- 8388608 && r !== (r = /*$_*/
5259
- i[23]("noTournaments") + "") && st(n, r);
5272
+ 16777216 && r !== (r = /*$_*/
5273
+ i[24]("noTournaments") + "") && ze(n, r);
5260
5274
  },
5261
5275
  d(i) {
5262
- i && re(t);
5276
+ i && ee(t);
5263
5277
  }
5264
5278
  };
5265
5279
  }
5266
5280
  function ws(e) {
5267
5281
  let t, r = (
5268
5282
  /*$_*/
5269
- e[23]("loading") + ""
5283
+ e[24]("fetchError") + ""
5284
+ ), n;
5285
+ return {
5286
+ c() {
5287
+ t = X("p"), n = Pe(r), U(t, "class", "FetchErrorMessage");
5288
+ },
5289
+ m(i, o) {
5290
+ ue(i, t, o), K(t, n);
5291
+ },
5292
+ p(i, o) {
5293
+ o[0] & /*$_*/
5294
+ 16777216 && r !== (r = /*$_*/
5295
+ i[24]("fetchError") + "") && ze(n, r);
5296
+ },
5297
+ d(i) {
5298
+ i && ee(t);
5299
+ }
5300
+ };
5301
+ }
5302
+ function Ts(e) {
5303
+ let t, r = (
5304
+ /*$_*/
5305
+ e[24]("loading") + ""
5270
5306
  ), n;
5271
5307
  return {
5272
5308
  c() {
5273
- t = X("p"), n = Me(r), F(t, "class", "LoadingMessage"), F(t, "part", "LoadingMessage");
5309
+ t = X("p"), n = Pe(r), U(t, "class", "LoadingMessage"), U(t, "part", "LoadingMessage");
5274
5310
  },
5275
5311
  m(i, o) {
5276
- ce(i, t, o), te(t, n);
5312
+ ue(i, t, o), K(t, n);
5277
5313
  },
5278
5314
  p(i, o) {
5279
5315
  o[0] & /*$_*/
5280
- 8388608 && r !== (r = /*$_*/
5281
- i[23]("loading") + "") && st(n, r);
5316
+ 16777216 && r !== (r = /*$_*/
5317
+ i[24]("loading") + "") && ze(n, r);
5282
5318
  },
5283
5319
  d(i) {
5284
- i && re(t);
5320
+ i && ee(t);
5285
5321
  }
5286
5322
  };
5287
5323
  }
5288
5324
  function Wr(e) {
5289
5325
  let t, r, n, i = (
5290
5326
  /*$_*/
5291
- e[23]("showMore") + ""
5327
+ e[24]("showMore") + ""
5292
5328
  ), o, s, a;
5293
5329
  return {
5294
5330
  c() {
5295
- t = X("div"), r = X("div"), n = X("button"), o = Me(i), F(n, "class", "ShowMoreButton"), F(n, "part", "ShowMoreButton"), F(n, "title", "Show More"), F(r, "class", "CenterButton"), F(r, "part", "CenterButton"), F(t, "class", "ThirdRow"), F(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");
5296
5332
  },
5297
- m(f, l) {
5298
- ce(f, t, l), te(t, r), te(r, n), te(n, o), s || (a = Zt(
5333
+ m(h, u) {
5334
+ ue(h, t, u), K(t, r), K(r, n), K(n, o), s || (a = Zt(
5299
5335
  n,
5300
5336
  "click",
5301
5337
  /*click_handler*/
5302
- e[33]
5338
+ e[34]
5303
5339
  ), s = !0);
5304
5340
  },
5305
- p(f, l) {
5306
- l[0] & /*$_*/
5307
- 8388608 && i !== (i = /*$_*/
5308
- f[23]("showMore") + "") && st(o, i);
5341
+ p(h, u) {
5342
+ u[0] & /*$_*/
5343
+ 16777216 && i !== (i = /*$_*/
5344
+ h[24]("showMore") + "") && ze(o, i);
5309
5345
  },
5310
- d(f) {
5311
- f && re(t), s = !1, a();
5346
+ d(h) {
5347
+ h && ee(t), s = !1, a();
5312
5348
  }
5313
5349
  };
5314
5350
  }
5315
- function Ts(e) {
5351
+ function Ss(e) {
5316
5352
  let t;
5317
5353
  function r(o, s) {
5318
5354
  return (
@@ -5326,212 +5362,211 @@ function Ts(e) {
5326
5362
  t = X("div"), i.c();
5327
5363
  },
5328
5364
  m(o, s) {
5329
- ce(o, t, s), i.m(t, null), e[34](t);
5365
+ ue(o, t, s), i.m(t, null), e[35](t);
5330
5366
  },
5331
5367
  p(o, s) {
5332
5368
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
5333
5369
  },
5334
- i: fe,
5335
- o: fe,
5370
+ i: ce,
5371
+ o: ce,
5336
5372
  d(o) {
5337
- o && re(t), i.d(), e[34](null);
5373
+ o && ee(t), i.d(), e[35](null);
5338
5374
  }
5339
5375
  };
5340
5376
  }
5341
- let Ss = "All,Scheduled,Ongoing,Finished";
5342
- function As(e, t, r) {
5377
+ let As = "All,Scheduled,Ongoing,Finished";
5378
+ function Hs(e, t, r) {
5343
5379
  let n;
5344
- Fn(e, hs, (u) => r(23, n = u));
5345
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: f = "" } = t, { numberoftournaments: l = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: p = "" } = t, { registerevent: E = "" } = t, { loginurl: B = "" } = t, { registerurl: H = "" } = t, { currency: Y = "EUR" } = t, { keepbrowsercontext: de = "false" } = t, { sorttype: ne = "" } = t, { sortorder: I = "" } = t, { starttimeafter: j = "" } = t, { showanonymoustournaments: q = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: be = "" } = t, { delaybeforeload: De = 1e3 } = t, Fe = !1, ve = "", Be = !1, K = "", ct = window.navigator.userAgent, Oe = !0, Qe = !1, Ce = !1, { mbsource: ie } = t, z, pe = 0, Te = !1, $ = 6, Se = !0, Ae = [], dt, me, Ye = !1, pt;
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;
5346
5382
  cs({ withLocale: "en", translations: {} });
5347
- const Ke = () => {
5348
- fetch(f).then((_) => _.json()).then((_) => {
5349
- pt = _, Object.keys(_).forEach((C) => {
5350
- Wt(C, _[C]);
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]);
5351
5387
  });
5352
- }).catch((_) => {
5353
- console.log(_);
5388
+ }).catch((B) => {
5389
+ console.log(B);
5354
5390
  });
5355
- }, et = (u) => {
5356
- u && Object.keys(u).forEach((_) => {
5357
- Wt(_, u[_]);
5391
+ }, Se = (f) => {
5392
+ f && Object.keys(f).forEach((B) => {
5393
+ Wt(B, f[B]);
5358
5394
  });
5359
5395
  };
5360
- Object.keys(Vr).forEach((u) => {
5361
- Wt(u, Vr[u]);
5396
+ Object.keys(Vr).forEach((f) => {
5397
+ Wt(f, Vr[f]);
5362
5398
  });
5363
- const ye = (u) => {
5364
- u.data && u.data.type === "UserSessionID" && (Be = !0, r(31, K = u.data.session), u.data.userid, tt(s, 0, $)), u.data && u.data.type === "TournamentsFiltersSelected" && (Ae = u.data.filters, tt(s, 0, $)), u.data && u.data.type === "TournamentThumbnailMounted" && et(pt);
5365
- }, oe = (u) => u == "Scheduled" ? "Unstarted" : u == "Ongoing" ? "Running" : "Closing|Closed", tt = (u, _, C) => Ne(this, null, function* () {
5366
- r(19, Oe = !0), r(21, pe = 0);
5367
- const D = yield rt(u, _, C);
5368
- setTimeout(
5369
- () => {
5370
- window.postMessage(
5371
- {
5372
- type: "TournamentList",
5373
- tournamentList: D.items
5374
- },
5375
- window.location.href
5376
- );
5377
- },
5399
+ const re = (f) => {
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(
5405
+ () => window.postMessage(
5406
+ {
5407
+ type: "TournamentList",
5408
+ tournamentList: O.items
5409
+ },
5410
+ window.location.href
5411
+ ),
5378
5412
  50
5379
- ), r(19, Oe = !1);
5380
- }), Nt = (u, _, C) => Ne(this, null, function* () {
5381
- const D = yield rt(u, _, C);
5382
- window.postMessage(
5413
+ ), r(20, Fe = !1);
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(
5383
5417
  {
5384
5418
  type: "TournamentListShowMore",
5385
- tournamentList: D.items
5419
+ tournamentList: O.items
5386
5420
  },
5387
5421
  window.location.href
5388
5422
  );
5389
- }), Mt = () => {
5390
- const u = /* @__PURE__ */ new Date();
5391
- return j ? u.setDate(u.getDate() - Number(j)) : u.setMonth(u.getMonth() - 1), u.toISOString().substring(0, 10);
5392
- }, rt = (u, _, C) => Ne(this, null, function* () {
5393
- let D = new URL(`${u}/v1/tournaments`), W = new Headers();
5394
- D.searchParams.append("pagination", `offset=${_},limit=${C}`), D.searchParams.append("sortField", "StartTime"), D.searchParams.append("sortOrder", I || "desc"), D.searchParams.append("language", a);
5395
- const U = { StartTimeAfter: Mt() };
5396
- !Xr(i) && q === "false" && (U.tags = "no-role-set"), Ae.length > 0 && Ae[0] != "All" && (U.state = Ae.map((ee) => oe(ee)).join("|"));
5397
- const se = Object.keys(U).map((ee) => `${ee}=${U[ee]}`).join(",");
5398
- return D.searchParams.append("filter", se), D.searchParams.append("platform", fs(ct)), ne && D.searchParams.append("sortType", ne), Be && W.append("X-SessionID", K), fetch(D, {
5423
+ }), pt = () => {
5424
+ const f = /* @__PURE__ */ new Date();
5425
+ return $ ? f.setDate(f.getDate() - Number($)) : f.setMonth(f.getMonth() - 1), f.toISOString().substring(0, 10);
5426
+ }, l = (f, B, D) => Le(this, null, function* () {
5427
+ const O = new URL(`${f}/v1/tournaments`), k = new Headers();
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("|"));
5431
+ const Ae = Object.keys(W).map((G) => `${G}=${W[G]}`).join(",");
5432
+ return O.searchParams.append("filter", Ae), ne && O.searchParams.append("sortType", ne), pe && k.append("X-SessionID", ve), fetch(O, {
5399
5433
  method: "GET",
5400
- headers: W,
5434
+ headers: k,
5401
5435
  cache: "no-cache"
5402
- }).then((ee) => ee.json()).then((ee) => (dt = D.searchParams.toString(), r(21, pe = ee.total), $ >= pe ? r(22, Se = !0) : r(22, Se = !1), Ce || b(), ee));
5403
- }), h = (u) => {
5404
- if (u.type != "message")
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));
5437
+ }), b = (f) => {
5438
+ if (f.type != "message")
5405
5439
  return;
5406
- let _ = u.data;
5407
- if (_)
5440
+ let B = f.data;
5441
+ if (B)
5408
5442
  try {
5409
- let C = JSON.parse(_);
5410
- if (!C || !C.item)
5443
+ let D = JSON.parse(B);
5444
+ if (!D || !D.item)
5411
5445
  return;
5412
- let D = C.item;
5413
- C.messageType == "TournamentUpdate" && window.postMessage(
5446
+ let O = D.item;
5447
+ D.messageType == "TournamentUpdate" && window.postMessage(
5414
5448
  {
5415
5449
  type: "UpdateTournamentView",
5416
- tournamentData: D
5450
+ tournamentData: O
5417
5451
  },
5418
5452
  window.location.href
5419
- ), C.messageType == "TournamentRemove" && window.postMessage(
5453
+ ), D.messageType == "TournamentRemove" && window.postMessage(
5420
5454
  {
5421
5455
  type: "TournamentList",
5422
- tournamentList: C.items
5456
+ tournamentList: D.items
5423
5457
  },
5424
5458
  window.location.href
5425
5459
  );
5426
- } catch (C) {
5427
- console.error(C);
5460
+ } catch (D) {
5461
+ console.error(D);
5428
5462
  }
5429
- }, b = () => {
5430
- Ce = !0, setTimeout(
5463
+ }, g = () => {
5464
+ he = !0, setTimeout(
5431
5465
  () => {
5432
- Ce = !1;
5466
+ he = !1;
5433
5467
  },
5434
5468
  1e3
5435
- ), me && (me.removeEventListener("message", h), me.close());
5436
- let u = `${s}/v1/tournaments/updates?${dt}`;
5437
- me = new ds.EventSourcePolyfill(
5438
- u,
5469
+ ), be && (be.removeEventListener("message", b), be.close());
5470
+ let f = `${s}/v1/tournaments/updates?${dt}`;
5471
+ be = new ds.EventSourcePolyfill(
5472
+ f,
5439
5473
  {
5440
5474
  headers: {
5441
5475
  accept: "text/event-stream",
5442
5476
  "X-SessionId": i
5443
5477
  }
5444
5478
  }
5445
- ), typeof me != "undefined" && me.addEventListener("message", h);
5446
- }, g = () => Ne(this, null, function* () {
5447
- let u = $;
5448
- const _ = parseInt(c, 10);
5449
- $ += _, window.postMessage(
5479
+ ), typeof be != "undefined" && be.addEventListener("message", b);
5480
+ }, p = () => Le(this, null, function* () {
5481
+ let f = oe;
5482
+ const B = parseInt(c, 10);
5483
+ oe += B, window.postMessage(
5450
5484
  {
5451
5485
  type: "TournamentsPagination",
5452
5486
  offset: 0,
5453
- limit: $
5487
+ limit: oe
5454
5488
  },
5455
5489
  window.location.href
5456
- ), yield Nt(s, u, _), $ >= pe && r(22, Se = !0);
5457
- }), m = () => (s || (r(18, ve = "Endpoint is missing! Please provide a valid endpointURL."), r(17, Fe = !0), console.error(ve)), Fe), y = () => {
5458
- if (!Te)
5490
+ ), yield Mt(s, f, B), oe >= _e && r(23, Oe = !0);
5491
+ }), y = () => (s || (r(19, De = "Endpoint is missing! Please provide a valid endpointURL."), r(17, Re = !0), console.error(De)), Re), v = () => {
5492
+ if (!ie)
5459
5493
  return !1;
5460
- m() || ($ = parseInt(l, 10), kr(a), tt(s, 0, $));
5461
- }, v = () => {
5462
- kr(a);
5494
+ y() || (oe = parseInt(u, 10), kr(a), nt(s, 0, oe));
5463
5495
  }, w = () => {
5464
- Ae = d.split(","), r(20, Qe = !0);
5465
- }, L = () => {
5466
- Xr(i) ? (Be = !0, r(31, K = i)) : (Be = !1, r(31, K = ""));
5467
- }, T = () => Ne(this, null, function* () {
5468
- Ye || (Ye = !0, yield y(), Ye = !1);
5496
+ kr(a);
5497
+ }, N = () => {
5498
+ Ce = d.split(","), r(21, Ue = !0);
5499
+ }, T = () => {
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);
5469
5503
  });
5470
5504
  Wn(() => (setTimeout(
5471
5505
  () => {
5472
- r(32, Te = !0);
5506
+ r(33, ie = !0);
5473
5507
  },
5474
- De
5475
- ), window.addEventListener("message", ye, !1), () => {
5476
- window.removeEventListener("message", ye), me && (me.removeEventListener("message", h), me.close());
5508
+ Me
5509
+ ), window.addEventListener("message", re, !1), () => {
5510
+ window.removeEventListener("message", re), be && (be.removeEventListener("message", b), be.close());
5477
5511
  }));
5478
- const P = () => g();
5479
- function O(u) {
5480
- Jt[u ? "unshift" : "push"](() => {
5481
- z = u, r(16, z);
5512
+ const I = () => p();
5513
+ function E(f) {
5514
+ Jt[f ? "unshift" : "push"](() => {
5515
+ Z = f, r(16, Z);
5482
5516
  });
5483
5517
  }
5484
- return e.$$set = (u) => {
5485
- "session" in u && r(0, i = u.session), "userid" in u && r(1, o = u.userid), "endpoint" in u && r(2, s = u.endpoint), "lang" in u && r(3, a = u.lang), "translationurl" in u && r(4, f = u.translationurl), "numberoftournaments" in u && r(5, l = u.numberoftournaments), "showmorestep" in u && r(25, c = u.showmorestep), "filters" in u && r(6, d = u.filters), "loginevent" in u && r(7, p = u.loginevent), "registerevent" in u && r(8, E = u.registerevent), "loginurl" in u && r(9, B = u.loginurl), "registerurl" in u && r(10, H = u.registerurl), "currency" in u && r(11, Y = u.currency), "keepbrowsercontext" in u && r(12, de = u.keepbrowsercontext), "sorttype" in u && r(26, ne = u.sorttype), "sortorder" in u && r(27, I = u.sortorder), "starttimeafter" in u && r(28, j = u.starttimeafter), "showanonymoustournaments" in u && r(29, q = u.showanonymoustournaments), "clientstyling" in u && r(13, le = u.clientstyling), "clientstylingurl" in u && r(14, be = u.clientstylingurl), "delaybeforeload" in u && r(30, De = u.delaybeforeload), "mbsource" in u && r(15, ie = u.mbsource);
5518
+ return e.$$set = (f) => {
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);
5486
5520
  }, e.$$.update = () => {
5487
5521
  e.$$.dirty[0] & /*userid*/
5488
5522
  2, e.$$.dirty[0] & /*filters*/
5489
- 64 && d && w(), e.$$.dirty[0] & /*lang*/
5490
- 8 && a && v(), e.$$.dirty[0] & /*translationurl*/
5491
- 16 && f && Ke(), e.$$.dirty[1] & /*isMounted*/
5492
- 2 && Te && y(), e.$$.dirty[0] & /*session*/
5493
- 1 && (i === "" || i) && L(), e.$$.dirty[1] & /*sessionID*/
5494
- 1 && (K === "" || K) && T(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5495
- 570425388 && s && l && c && a && q && T(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5496
- 73728 && le && z && ps(z, le), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5497
- 81920 && be && z && ms(z, be), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5498
- 98304 && ie && z && bs(z, `${ie}.Style`);
5523
+ 64 && d && N(), e.$$.dirty[0] & /*lang*/
5524
+ 8 && a && w(), e.$$.dirty[0] & /*translationurl*/
5525
+ 16 && h && rt(), e.$$.dirty[1] & /*isMounted*/
5526
+ 4 && ie && v(), e.$$.dirty[0] & /*session*/
5527
+ 1 && (i === "" || i) && T(), e.$$.dirty[1] & /*sessionID*/
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`);
5499
5533
  }, [
5500
5534
  i,
5501
5535
  o,
5502
5536
  s,
5503
5537
  a,
5504
- f,
5505
- l,
5538
+ h,
5539
+ u,
5506
5540
  d,
5507
- p,
5508
- E,
5509
- B,
5541
+ m,
5542
+ _,
5543
+ C,
5510
5544
  H,
5511
- Y,
5545
+ te,
5512
5546
  de,
5513
5547
  le,
5514
- be,
5515
- ie,
5516
- z,
5548
+ ge,
5549
+ me,
5550
+ Z,
5551
+ Re,
5552
+ Ee,
5553
+ De,
5517
5554
  Fe,
5518
- ve,
5555
+ Ue,
5556
+ _e,
5519
5557
  Oe,
5520
- Qe,
5521
- pe,
5522
- Se,
5523
5558
  n,
5524
- g,
5559
+ p,
5525
5560
  c,
5526
5561
  ne,
5527
- I,
5528
- j,
5562
+ L,
5563
+ $,
5529
5564
  q,
5530
- De,
5531
- K,
5532
- Te,
5533
- P,
5534
- O
5565
+ Me,
5566
+ ve,
5567
+ ie,
5568
+ I,
5569
+ E
5535
5570
  ];
5536
5571
  }
5537
5572
  class Bn extends oi {
@@ -5539,8 +5574,8 @@ class Bn extends oi {
5539
5574
  super(), ni(
5540
5575
  this,
5541
5576
  t,
5542
- As,
5543
- Ts,
5577
+ Hs,
5578
+ Ss,
5544
5579
  Zr,
5545
5580
  {
5546
5581
  session: 0,
@@ -5549,7 +5584,7 @@ class Bn extends oi {
5549
5584
  lang: 3,
5550
5585
  translationurl: 4,
5551
5586
  numberoftournaments: 5,
5552
- showmorestep: 25,
5587
+ showmorestep: 26,
5553
5588
  filters: 6,
5554
5589
  loginevent: 7,
5555
5590
  registerevent: 8,
@@ -5557,13 +5592,13 @@ class Bn extends oi {
5557
5592
  registerurl: 10,
5558
5593
  currency: 11,
5559
5594
  keepbrowsercontext: 12,
5560
- sorttype: 26,
5561
- sortorder: 27,
5562
- starttimeafter: 28,
5563
- showanonymoustournaments: 29,
5595
+ sorttype: 27,
5596
+ sortorder: 28,
5597
+ starttimeafter: 29,
5598
+ showanonymoustournaments: 30,
5564
5599
  clientstyling: 13,
5565
5600
  clientstylingurl: 14,
5566
- delaybeforeload: 30,
5601
+ delaybeforeload: 31,
5567
5602
  mbsource: 15
5568
5603
  },
5569
5604
  gs,
@@ -5574,137 +5609,137 @@ class Bn extends oi {
5574
5609
  return this.$$.ctx[0];
5575
5610
  }
5576
5611
  set session(t) {
5577
- this.$$set({ session: t }), N();
5612
+ this.$$set({ session: t }), M();
5578
5613
  }
5579
5614
  get userid() {
5580
5615
  return this.$$.ctx[1];
5581
5616
  }
5582
5617
  set userid(t) {
5583
- this.$$set({ userid: t }), N();
5618
+ this.$$set({ userid: t }), M();
5584
5619
  }
5585
5620
  get endpoint() {
5586
5621
  return this.$$.ctx[2];
5587
5622
  }
5588
5623
  set endpoint(t) {
5589
- this.$$set({ endpoint: t }), N();
5624
+ this.$$set({ endpoint: t }), M();
5590
5625
  }
5591
5626
  get lang() {
5592
5627
  return this.$$.ctx[3];
5593
5628
  }
5594
5629
  set lang(t) {
5595
- this.$$set({ lang: t }), N();
5630
+ this.$$set({ lang: t }), M();
5596
5631
  }
5597
5632
  get translationurl() {
5598
5633
  return this.$$.ctx[4];
5599
5634
  }
5600
5635
  set translationurl(t) {
5601
- this.$$set({ translationurl: t }), N();
5636
+ this.$$set({ translationurl: t }), M();
5602
5637
  }
5603
5638
  get numberoftournaments() {
5604
5639
  return this.$$.ctx[5];
5605
5640
  }
5606
5641
  set numberoftournaments(t) {
5607
- this.$$set({ numberoftournaments: t }), N();
5642
+ this.$$set({ numberoftournaments: t }), M();
5608
5643
  }
5609
5644
  get showmorestep() {
5610
- return this.$$.ctx[25];
5645
+ return this.$$.ctx[26];
5611
5646
  }
5612
5647
  set showmorestep(t) {
5613
- this.$$set({ showmorestep: t }), N();
5648
+ this.$$set({ showmorestep: t }), M();
5614
5649
  }
5615
5650
  get filters() {
5616
5651
  return this.$$.ctx[6];
5617
5652
  }
5618
5653
  set filters(t) {
5619
- this.$$set({ filters: t }), N();
5654
+ this.$$set({ filters: t }), M();
5620
5655
  }
5621
5656
  get loginevent() {
5622
5657
  return this.$$.ctx[7];
5623
5658
  }
5624
5659
  set loginevent(t) {
5625
- this.$$set({ loginevent: t }), N();
5660
+ this.$$set({ loginevent: t }), M();
5626
5661
  }
5627
5662
  get registerevent() {
5628
5663
  return this.$$.ctx[8];
5629
5664
  }
5630
5665
  set registerevent(t) {
5631
- this.$$set({ registerevent: t }), N();
5666
+ this.$$set({ registerevent: t }), M();
5632
5667
  }
5633
5668
  get loginurl() {
5634
5669
  return this.$$.ctx[9];
5635
5670
  }
5636
5671
  set loginurl(t) {
5637
- this.$$set({ loginurl: t }), N();
5672
+ this.$$set({ loginurl: t }), M();
5638
5673
  }
5639
5674
  get registerurl() {
5640
5675
  return this.$$.ctx[10];
5641
5676
  }
5642
5677
  set registerurl(t) {
5643
- this.$$set({ registerurl: t }), N();
5678
+ this.$$set({ registerurl: t }), M();
5644
5679
  }
5645
5680
  get currency() {
5646
5681
  return this.$$.ctx[11];
5647
5682
  }
5648
5683
  set currency(t) {
5649
- this.$$set({ currency: t }), N();
5684
+ this.$$set({ currency: t }), M();
5650
5685
  }
5651
5686
  get keepbrowsercontext() {
5652
5687
  return this.$$.ctx[12];
5653
5688
  }
5654
5689
  set keepbrowsercontext(t) {
5655
- this.$$set({ keepbrowsercontext: t }), N();
5690
+ this.$$set({ keepbrowsercontext: t }), M();
5656
5691
  }
5657
5692
  get sorttype() {
5658
- return this.$$.ctx[26];
5693
+ return this.$$.ctx[27];
5659
5694
  }
5660
5695
  set sorttype(t) {
5661
- this.$$set({ sorttype: t }), N();
5696
+ this.$$set({ sorttype: t }), M();
5662
5697
  }
5663
5698
  get sortorder() {
5664
- return this.$$.ctx[27];
5699
+ return this.$$.ctx[28];
5665
5700
  }
5666
5701
  set sortorder(t) {
5667
- this.$$set({ sortorder: t }), N();
5702
+ this.$$set({ sortorder: t }), M();
5668
5703
  }
5669
5704
  get starttimeafter() {
5670
- return this.$$.ctx[28];
5705
+ return this.$$.ctx[29];
5671
5706
  }
5672
5707
  set starttimeafter(t) {
5673
- this.$$set({ starttimeafter: t }), N();
5708
+ this.$$set({ starttimeafter: t }), M();
5674
5709
  }
5675
5710
  get showanonymoustournaments() {
5676
- return this.$$.ctx[29];
5711
+ return this.$$.ctx[30];
5677
5712
  }
5678
5713
  set showanonymoustournaments(t) {
5679
- this.$$set({ showanonymoustournaments: t }), N();
5714
+ this.$$set({ showanonymoustournaments: t }), M();
5680
5715
  }
5681
5716
  get clientstyling() {
5682
5717
  return this.$$.ctx[13];
5683
5718
  }
5684
5719
  set clientstyling(t) {
5685
- this.$$set({ clientstyling: t }), N();
5720
+ this.$$set({ clientstyling: t }), M();
5686
5721
  }
5687
5722
  get clientstylingurl() {
5688
5723
  return this.$$.ctx[14];
5689
5724
  }
5690
5725
  set clientstylingurl(t) {
5691
- this.$$set({ clientstylingurl: t }), N();
5726
+ this.$$set({ clientstylingurl: t }), M();
5692
5727
  }
5693
5728
  get delaybeforeload() {
5694
- return this.$$.ctx[30];
5729
+ return this.$$.ctx[31];
5695
5730
  }
5696
5731
  set delaybeforeload(t) {
5697
- this.$$set({ delaybeforeload: t }), N();
5732
+ this.$$set({ delaybeforeload: t }), M();
5698
5733
  }
5699
5734
  get mbsource() {
5700
5735
  return this.$$.ctx[15];
5701
5736
  }
5702
5737
  set mbsource(t) {
5703
- this.$$set({ mbsource: t }), N();
5738
+ this.$$set({ mbsource: t }), M();
5704
5739
  }
5705
5740
  }
5706
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);
5707
- const Ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5742
+ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5708
5743
  __proto__: null,
5709
5744
  default: Bn
5710
5745
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5712,41 +5747,41 @@ export {
5712
5747
  hs as $,
5713
5748
  $n as A,
5714
5749
  x as B,
5715
- Pe as C,
5716
- Ze as D,
5717
- Bs as E,
5718
- ht as F,
5719
- Ps as G,
5750
+ Be as C,
5751
+ Ye as D,
5752
+ Os as E,
5753
+ ft as F,
5754
+ Bs as G,
5720
5755
  Ht as H,
5721
5756
  fs as I,
5722
- Is as J,
5723
- Ns as K,
5724
- Ls as L,
5757
+ Ls as J,
5758
+ Ms as K,
5759
+ Ns as L,
5725
5760
  Yt as M,
5726
- Ds as N,
5761
+ Fs as N,
5727
5762
  oi as S,
5728
5763
  Tn as a,
5729
5764
  Un as b,
5730
- ce as c,
5731
- re as d,
5765
+ ue as c,
5766
+ ee as d,
5732
5767
  X as e,
5733
- N as f,
5734
- F as g,
5735
- Rs as h,
5768
+ M as f,
5769
+ U as g,
5770
+ Ds as h,
5736
5771
  ni as i,
5737
5772
  Fn as j,
5738
- Ms as k,
5739
- Os as l,
5740
- st as m,
5741
- fe as n,
5773
+ Rs as k,
5774
+ Cs as l,
5775
+ ze as m,
5776
+ ce as n,
5742
5777
  Wn as o,
5743
- te as p,
5778
+ K as p,
5744
5779
  qt as q,
5745
5780
  Jt as r,
5746
5781
  Zr as s,
5747
- Me as t,
5782
+ Pe as t,
5748
5783
  Zt as u,
5749
- Cs as v,
5784
+ Is as v,
5750
5785
  ps as w,
5751
5786
  ms as x,
5752
5787
  bs as y,