@everymatrix/casino-tournaments-controller 1.45.0 → 1.45.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/components/{CasinoTournamentsController-BgoGP80M.cjs → CasinoTournamentsController-CQ5C1jDl.cjs} +7 -7
  2. package/components/{CasinoTournamentsController-BBv1Hyoc.js → CasinoTournamentsController-Cr8b4j7l.js} +332 -332
  3. package/components/CasinoTournamentsFilterController-BtuK-ddv.cjs +1 -0
  4. package/components/{CasinoTournamentsFilterController-BqjTkXsP.js → CasinoTournamentsFilterController-Chy_sE0V.js} +118 -118
  5. package/components/{CasinoTournamentsListController-nfyqtXdi.cjs → CasinoTournamentsListController-BinvLjvx.cjs} +3 -3
  6. package/components/{CasinoTournamentsListController-BHZPf1Di.js → CasinoTournamentsListController-DXHqP9An.js} +111 -111
  7. package/components/{CasinoTournamentsThumbnail-DdkzbUpk.js → CasinoTournamentsThumbnail-BFS6MlWH.js} +190 -190
  8. package/components/CasinoTournamentsThumbnail-CM3Rfdn3.cjs +4 -0
  9. package/components/CasinoTournamentsThumbnailController-C71hXcQP.cjs +1 -0
  10. package/components/CasinoTournamentsThumbnailController-NEf6XMRB.js +1405 -0
  11. package/components/CasinoTournamentsThumbnailDuration-CrS_PUCZ.cjs +1 -0
  12. package/components/CasinoTournamentsThumbnailDuration-bu3Mm2Ay.js +495 -0
  13. package/components/CasinoTournamentsThumbnailGamesSlider-DNrAc-zm.cjs +1 -0
  14. package/components/CasinoTournamentsThumbnailGamesSlider-_haSuIUI.js +438 -0
  15. package/components/CasinoTournamentsThumbnailPrizes-BRcfU1P4.js +310 -0
  16. package/components/CasinoTournamentsThumbnailPrizes-E5pafLaj.cjs +1 -0
  17. package/es2015/casino-tournaments-controller.cjs +1 -1
  18. package/es2015/casino-tournaments-controller.js +1 -1
  19. package/package.json +2 -2
  20. package/components/CasinoTournamentsFilterController-DRPLlsmH.cjs +0 -1
  21. package/components/CasinoTournamentsThumbnail-B5svaS7p.cjs +0 -4
  22. package/components/CasinoTournamentsThumbnailController-BnIRoSw0.cjs +0 -1
  23. package/components/CasinoTournamentsThumbnailController-DX_9tXvb.js +0 -1405
  24. package/components/CasinoTournamentsThumbnailDuration-BZyUIEUp.cjs +0 -1
  25. package/components/CasinoTournamentsThumbnailDuration-CVtlYaVM.js +0 -495
  26. package/components/CasinoTournamentsThumbnailGamesSlider-CPUoPnwu.js +0 -438
  27. package/components/CasinoTournamentsThumbnailGamesSlider-CuGCo4r6.cjs +0 -1
  28. package/components/CasinoTournamentsThumbnailPrizes-CPmYLRmC.cjs +0 -1
  29. package/components/CasinoTournamentsThumbnailPrizes-DD7Zhrne.js +0 -310
@@ -2,14 +2,14 @@ var In = Object.defineProperty, Ln = Object.defineProperties;
2
2
  var Nn = Object.getOwnPropertyDescriptors;
3
3
  var br = Object.getOwnPropertySymbols;
4
4
  var Mn = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable;
5
- var Rt = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vr = (e, t) => {
5
+ var Rt = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gr = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
7
  Mn.call(t, r) && Rt(e, r, t[r]);
8
8
  if (br)
9
9
  for (var r of br(t))
10
10
  Rn.call(t, r) && Rt(e, r, t[r]);
11
11
  return e;
12
- }, gr = (e, t) => Ln(e, Nn(t));
12
+ }, vr = (e, t) => Ln(e, Nn(t));
13
13
  var fe = (e, t, r) => Rt(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var Le = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
@@ -73,7 +73,7 @@ function Un(e, t, r) {
73
73
  const n = Gn(e);
74
74
  if (!n.getElementById(t)) {
75
75
  const i = z("style");
76
- i.id = t, i.textContent = r, kn(n, i);
76
+ i.id = t, i.textContent = r, jn(n, i);
77
77
  }
78
78
  }
79
79
  function Gn(e) {
@@ -85,7 +85,7 @@ function Gn(e) {
85
85
  t
86
86
  ) : e.ownerDocument;
87
87
  }
88
- function kn(e, t) {
88
+ function jn(e, t) {
89
89
  return re(
90
90
  /** @type {Document} */
91
91
  e.head || e,
@@ -114,20 +114,20 @@ function Ne(e) {
114
114
  function zt() {
115
115
  return Ne(" ");
116
116
  }
117
- function jn() {
117
+ function $n() {
118
118
  return Ne("");
119
119
  }
120
120
  function Wt(e, t, r, n) {
121
121
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
122
122
  }
123
- function F(e, t, r) {
123
+ function U(e, t, r) {
124
124
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
125
125
  }
126
- function w(e, t, r) {
126
+ function A(e, t, r) {
127
127
  const n = t.toLowerCase();
128
- 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);
128
+ 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);
129
129
  }
130
- function $n(e) {
130
+ function kn(e) {
131
131
  return Array.from(e.childNodes);
132
132
  }
133
133
  function st(e, t) {
@@ -194,38 +194,38 @@ function zn() {
194
194
  function Wn(e) {
195
195
  zn().$$.on_mount.push(e);
196
196
  }
197
- const je = [], qt = [];
198
- let $e = [];
197
+ const $e = [], qt = [];
198
+ let ke = [];
199
199
  const Er = [], qn = /* @__PURE__ */ Promise.resolve();
200
200
  let Zt = !1;
201
201
  function Zn() {
202
- Zt || (Zt = !0, qn.then(U));
202
+ Zt || (Zt = !0, qn.then(F));
203
203
  }
204
204
  function Jt(e) {
205
- $e.push(e);
205
+ ke.push(e);
206
206
  }
207
207
  const Dt = /* @__PURE__ */ new Set();
208
208
  let Ge = 0;
209
- function U() {
209
+ function F() {
210
210
  if (Ge !== 0)
211
211
  return;
212
212
  const e = at;
213
213
  do {
214
214
  try {
215
- for (; Ge < je.length; ) {
216
- const t = je[Ge];
215
+ for (; Ge < $e.length; ) {
216
+ const t = $e[Ge];
217
217
  Ge++, ot(t), Jn(t.$$);
218
218
  }
219
219
  } catch (t) {
220
- throw je.length = 0, Ge = 0, t;
220
+ throw $e.length = 0, Ge = 0, t;
221
221
  }
222
- for (ot(null), je.length = 0, Ge = 0; qt.length; ) qt.pop()();
223
- for (let t = 0; t < $e.length; t += 1) {
224
- const r = $e[t];
222
+ for (ot(null), $e.length = 0, Ge = 0; qt.length; ) qt.pop()();
223
+ for (let t = 0; t < ke.length; t += 1) {
224
+ const r = ke[t];
225
225
  Dt.has(r) || (Dt.add(r), r());
226
226
  }
227
- $e.length = 0;
228
- } while (je.length);
227
+ ke.length = 0;
228
+ } while ($e.length);
229
229
  for (; Er.length; )
230
230
  Er.pop()();
231
231
  Zt = !1, Dt.clear(), ot(e);
@@ -239,7 +239,7 @@ function Jn(e) {
239
239
  }
240
240
  function Qn(e) {
241
241
  const t = [], r = [];
242
- $e.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), $e = t;
242
+ ke.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ke = t;
243
243
  }
244
244
  const Yn = /* @__PURE__ */ new Set();
245
245
  function Kn(e, t) {
@@ -260,7 +260,7 @@ function ti(e, t) {
260
260
  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 = []);
261
261
  }
262
262
  function ri(e, t) {
263
- e.$$.dirty[0] === -1 && (je.push(e), Zn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
263
+ e.$$.dirty[0] === -1 && ($e.push(e), Zn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
264
264
  }
265
265
  function ni(e, t, r, n, i, o, s = null, a = [-1]) {
266
266
  const l = at;
@@ -293,11 +293,11 @@ function ni(e, t, r, n, i, o, s = null, a = [-1]) {
293
293
  return u.ctx && i(u.ctx[d], u.ctx[d] = O) && (!u.skip_bound && u.bound[d] && u.bound[d](O), c && ri(e, d)), m;
294
294
  }) : [], u.update(), c = !0, ht(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
295
295
  if (t.hydrate) {
296
- const d = $n(t.target);
296
+ const d = kn(t.target);
297
297
  u.fragment && u.fragment.l(d), d.forEach(ne);
298
298
  } else
299
299
  u.fragment && u.fragment.c();
300
- t.intro && Kn(e.$$.fragment), ei(e, t.target, t.anchor), U();
300
+ t.intro && Kn(e.$$.fragment), ei(e, t.target, t.anchor), F();
301
301
  }
302
302
  ot(l);
303
303
  }
@@ -346,7 +346,7 @@ typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
346
346
  let s;
347
347
  return {
348
348
  c: function() {
349
- s = z("slot"), o !== "default" && F(s, "name", o);
349
+ s = z("slot"), o !== "default" && U(s, "name", o);
350
350
  },
351
351
  /**
352
352
  * @param {HTMLElement} target
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (Zr = class extends HTMLElement {
374
374
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
375
375
  this.$$c = new this.$$ctor({
376
376
  target: this.shadowRoot || this,
377
- props: gr(vr({}, this.$$d), {
377
+ props: vr(gr({}, this.$$d), {
378
378
  $$slots: r,
379
379
  $$scope: {
380
380
  ctx: []
@@ -788,7 +788,7 @@ var hi = function() {
788
788
  try {
789
789
  r.next(t);
790
790
  } catch (n) {
791
- vt(n);
791
+ gt(n);
792
792
  }
793
793
  }, e.prototype.error = function(t) {
794
794
  var r = this.partialObserver;
@@ -796,17 +796,17 @@ var hi = function() {
796
796
  try {
797
797
  r.error(t);
798
798
  } catch (n) {
799
- vt(n);
799
+ gt(n);
800
800
  }
801
801
  else
802
- vt(t);
802
+ gt(t);
803
803
  }, e.prototype.complete = function() {
804
804
  var t = this.partialObserver;
805
805
  if (t.complete)
806
806
  try {
807
807
  t.complete();
808
808
  } catch (r) {
809
- vt(r);
809
+ gt(r);
810
810
  }
811
811
  }, e;
812
812
  }(), tr = function(e) {
@@ -833,7 +833,7 @@ var hi = function() {
833
833
  }
834
834
  return t;
835
835
  }(tn);
836
- function vt(e) {
836
+ function gt(e) {
837
837
  ui(e);
838
838
  }
839
839
  function fi(e) {
@@ -865,7 +865,7 @@ var wr = function() {
865
865
  var r = new e();
866
866
  return r.source = this, r.operator = t, r;
867
867
  }, e.prototype.subscribe = function(t, r, n) {
868
- var i = this, o = vi(t) ? t : new tr(t, r, n);
868
+ var i = this, o = gi(t) ? t : new tr(t, r, n);
869
869
  return Et(function() {
870
870
  var s = i, a = s.operator, l = s.source;
871
871
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -924,10 +924,10 @@ function Tr(e) {
924
924
  function bi(e) {
925
925
  return e && xe(e.next) && xe(e.error) && xe(e.complete);
926
926
  }
927
- function vi(e) {
927
+ function gi(e) {
928
928
  return e && e instanceof tn || bi(e) && Yr(e);
929
929
  }
930
- var gi = Jr(function(e) {
930
+ var vi = Jr(function(e) {
931
931
  return function() {
932
932
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
933
933
  };
@@ -942,7 +942,7 @@ var gi = Jr(function(e) {
942
942
  return n.operator = r, n;
943
943
  }, t.prototype._throwIfClosed = function() {
944
944
  if (this.closed)
945
- throw new gi();
945
+ throw new vi();
946
946
  }, t.prototype.next = function(r) {
947
947
  var n = this;
948
948
  Et(function() {
@@ -1064,7 +1064,7 @@ const Ar = [], Hr = {}, Ei = (e, t = 0) => {
1064
1064
  Hr[e] = r, Ar.push(e);
1065
1065
  }
1066
1066
  return Hr[e];
1067
- }, ke = [];
1067
+ }, je = [];
1068
1068
  function _i(e, t) {
1069
1069
  return {
1070
1070
  subscribe: Ht(e, t).subscribe
@@ -1075,13 +1075,13 @@ function Ht(e, t = ce) {
1075
1075
  const n = /* @__PURE__ */ new Set();
1076
1076
  function i(a) {
1077
1077
  if (Wr(e, a) && (e = a, r)) {
1078
- const l = !ke.length;
1078
+ const l = !je.length;
1079
1079
  for (const u of n)
1080
- u[1](), ke.push(u, e);
1080
+ u[1](), je.push(u, e);
1081
1081
  if (l) {
1082
- for (let u = 0; u < ke.length; u += 2)
1083
- ke[u][0](ke[u + 1]);
1084
- ke.length = 0;
1082
+ for (let u = 0; u < je.length; u += 2)
1083
+ je[u][0](je[u + 1]);
1084
+ je.length = 0;
1085
1085
  }
1086
1086
  }
1087
1087
  }
@@ -1202,10 +1202,10 @@ Xe.all = function(t, r) {
1202
1202
  };
1203
1203
  var Ri = Xe, Di = Ri;
1204
1204
  const Fi = /* @__PURE__ */ wi(Di);
1205
- var A;
1205
+ var S;
1206
1206
  (function(e) {
1207
1207
  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";
1208
- })(A || (A = {}));
1208
+ })(S || (S = {}));
1209
1209
  var D;
1210
1210
  (function(e) {
1211
1211
  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";
@@ -1247,10 +1247,10 @@ function cn(e) {
1247
1247
  function rr(e) {
1248
1248
  return !!(e && typeof e == "object" && e.type === ze.dateTime);
1249
1249
  }
1250
- var dn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ki = /(?:[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;
1251
- function ji(e) {
1250
+ var dn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ji = /(?:[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;
1251
+ function $i(e) {
1252
1252
  var t = {};
1253
- return e.replace(ki, function(r) {
1253
+ return e.replace(ji, function(r) {
1254
1254
  var n = r.length;
1255
1255
  switch (r[0]) {
1256
1256
  case "G":
@@ -1339,11 +1339,11 @@ function ji(e) {
1339
1339
  return "";
1340
1340
  }), t;
1341
1341
  }
1342
- var $i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1342
+ var ki = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
1343
  function Vi(e) {
1344
1344
  if (e.length === 0)
1345
1345
  throw new Error("Number skeleton cannot be empty");
1346
- for (var t = e.split($i).filter(function(m) {
1346
+ for (var t = e.split(ki).filter(function(m) {
1347
1347
  return m.length > 0;
1348
1348
  }), r = [], n = 0, i = t; n < i.length; n++) {
1349
1349
  var o = i[n], s = o.split("/");
@@ -1550,7 +1550,7 @@ function qi(e) {
1550
1550
  }
1551
1551
  return t;
1552
1552
  }
1553
- var gt = {
1553
+ var vt = {
1554
1554
  "001": [
1555
1555
  "H",
1556
1556
  "h"
@@ -2993,7 +2993,7 @@ function Ji(e) {
2993
2993
  }
2994
2994
  var r = e.language, n;
2995
2995
  r !== "root" && (n = e.maximize().region);
2996
- var i = gt[n || ""] || gt[r || ""] || gt["".concat(r, "-001")] || gt["001"];
2996
+ var i = vt[n || ""] || vt[r || ""] || vt["".concat(r, "-001")] || vt["001"];
2997
2997
  return i[0];
2998
2998
  }
2999
2999
  var Gt, Qi = new RegExp("^".concat(dn.source, "*")), Yi = new RegExp("".concat(dn.source, "*$"));
@@ -3004,7 +3004,7 @@ var Ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), eo = !!String
3004
3004
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3005
3005
  }, nr = !0;
3006
3006
  try {
3007
- var ao = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3007
+ var ao = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3008
3008
  nr = ((Gt = ao.exec("a")) === null || Gt === void 0 ? void 0 : Gt[0]) === "a";
3009
3009
  } catch (e) {
3010
3010
  nr = !1;
@@ -3043,7 +3043,7 @@ var Lr = Ki ? (
3043
3043
  return r;
3044
3044
  }
3045
3045
  )
3046
- ), vn = ro ? (
3046
+ ), gn = ro ? (
3047
3047
  // Native
3048
3048
  function(t, r) {
3049
3049
  return t.codePointAt(r);
@@ -3078,12 +3078,12 @@ var Lr = Ki ? (
3078
3078
  return t.replace(Yi, "");
3079
3079
  }
3080
3080
  );
3081
- function gn(e, t) {
3081
+ function vn(e, t) {
3082
3082
  return new RegExp(e, t);
3083
3083
  }
3084
3084
  var or;
3085
3085
  if (nr) {
3086
- var Mr = gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3086
+ var Mr = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3087
3087
  or = function(t, r) {
3088
3088
  var n;
3089
3089
  Mr.lastIndex = r;
@@ -3093,7 +3093,7 @@ if (nr) {
3093
3093
  } else
3094
3094
  or = function(t, r) {
3095
3095
  for (var n = []; ; ) {
3096
- var i = vn(t, r);
3096
+ var i = gn(t, r);
3097
3097
  if (i === void 0 || yn(i) || po(i))
3098
3098
  break;
3099
3099
  n.push(i), r += i >= 65536 ? 2 : 1;
@@ -3130,7 +3130,7 @@ var ho = (
3130
3130
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3131
3131
  if (n)
3132
3132
  break;
3133
- return this.error(A.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
3133
+ return this.error(S.UNMATCHED_CLOSING_TAG, H(this.clonePosition(), this.clonePosition()));
3134
3134
  } else if (o === 60 && !this.ignoreTag && sr(this.peek() || 0)) {
3135
3135
  var s = this.parseTag(t, r);
3136
3136
  if (s.err)
@@ -3165,9 +3165,9 @@ var ho = (
3165
3165
  var s = o.val, a = this.clonePosition();
3166
3166
  if (this.bumpIf("</")) {
3167
3167
  if (this.isEOF() || !sr(this.char()))
3168
- return this.error(A.INVALID_TAG, H(a, this.clonePosition()));
3168
+ return this.error(S.INVALID_TAG, H(a, this.clonePosition()));
3169
3169
  var l = this.clonePosition(), u = this.parseTagName();
3170
- return i !== u ? this.error(A.UNMATCHED_CLOSING_TAG, H(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3170
+ return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, H(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3171
3171
  val: {
3172
3172
  type: D.tag,
3173
3173
  value: i,
@@ -3175,11 +3175,11 @@ var ho = (
3175
3175
  location: H(n, this.clonePosition())
3176
3176
  },
3177
3177
  err: null
3178
- } : this.error(A.INVALID_TAG, H(a, this.clonePosition())));
3178
+ } : this.error(S.INVALID_TAG, H(a, this.clonePosition())));
3179
3179
  } else
3180
- return this.error(A.UNCLOSED_TAG, H(n, this.clonePosition()));
3180
+ return this.error(S.UNCLOSED_TAG, H(n, this.clonePosition()));
3181
3181
  } else
3182
- return this.error(A.INVALID_TAG, H(n, this.clonePosition()));
3182
+ return this.error(S.INVALID_TAG, H(n, this.clonePosition()));
3183
3183
  }, e.prototype.parseTagName = function() {
3184
3184
  var t = this.offset();
3185
3185
  for (this.bump(); !this.isEOF() && co(this.char()); )
@@ -3254,14 +3254,14 @@ var ho = (
3254
3254
  }, e.prototype.parseArgument = function(t, r) {
3255
3255
  var n = this.clonePosition();
3256
3256
  if (this.bump(), this.bumpSpace(), this.isEOF())
3257
- return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
3257
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
3258
3258
  if (this.char() === 125)
3259
- return this.bump(), this.error(A.EMPTY_ARGUMENT, H(n, this.clonePosition()));
3259
+ return this.bump(), this.error(S.EMPTY_ARGUMENT, H(n, this.clonePosition()));
3260
3260
  var i = this.parseIdentifierIfPossible().value;
3261
3261
  if (!i)
3262
- return this.error(A.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3262
+ return this.error(S.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3263
3263
  if (this.bumpSpace(), this.isEOF())
3264
- return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
3264
+ return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition()));
3265
3265
  switch (this.char()) {
3266
3266
  case 125:
3267
3267
  return this.bump(), {
@@ -3274,9 +3274,9 @@ var ho = (
3274
3274
  err: null
3275
3275
  };
3276
3276
  case 44:
3277
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3277
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, H(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3278
3278
  default:
3279
- return this.error(A.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3279
+ return this.error(S.MALFORMED_ARGUMENT, H(n, this.clonePosition()));
3280
3280
  }
3281
3281
  }, e.prototype.parseIdentifierIfPossible = function() {
3282
3282
  var t = this.clonePosition(), r = this.offset(), n = or(this.message, r), i = r + n.length;
@@ -3287,7 +3287,7 @@ var ho = (
3287
3287
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3288
3288
  switch (a) {
3289
3289
  case "":
3290
- return this.error(A.EXPECT_ARGUMENT_TYPE, H(s, l));
3290
+ return this.error(S.EXPECT_ARGUMENT_TYPE, H(s, l));
3291
3291
  case "number":
3292
3292
  case "date":
3293
3293
  case "time": {
@@ -3300,7 +3300,7 @@ var ho = (
3300
3300
  return d;
3301
3301
  var m = lo(d.val);
3302
3302
  if (m.length === 0)
3303
- return this.error(A.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3303
+ return this.error(S.EXPECT_ARGUMENT_STYLE, H(this.clonePosition(), this.clonePosition()));
3304
3304
  var _ = H(c, this.clonePosition());
3305
3305
  u = { style: m, styleLocation: _ };
3306
3306
  }
@@ -3318,14 +3318,14 @@ var ho = (
3318
3318
  };
3319
3319
  } else {
3320
3320
  if (ee.length === 0)
3321
- return this.error(A.EXPECT_DATE_TIME_SKELETON, B);
3321
+ return this.error(S.EXPECT_DATE_TIME_SKELETON, B);
3322
3322
  var pe = ee;
3323
3323
  this.locale && (pe = Zi(ee, this.locale));
3324
3324
  var m = {
3325
3325
  type: ze.dateTime,
3326
3326
  pattern: pe,
3327
3327
  location: u.styleLocation,
3328
- parsedOptions: this.shouldParseSkeletons ? ji(pe) : {}
3328
+ parsedOptions: this.shouldParseSkeletons ? $i(pe) : {}
3329
3329
  }, ie = a === "date" ? D.date : D.time;
3330
3330
  return {
3331
3331
  val: { type: ie, value: n, location: B, style: m },
@@ -3348,31 +3348,31 @@ var ho = (
3348
3348
  case "select": {
3349
3349
  var M = this.clonePosition();
3350
3350
  if (this.bumpSpace(), !this.bumpIf(","))
3351
- return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, H(M, P({}, M)));
3351
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, H(M, P({}, M)));
3352
3352
  this.bumpSpace();
3353
- var j = this.parseIdentifierIfPossible(), Z = 0;
3354
- if (a !== "select" && j.value === "offset") {
3353
+ var $ = this.parseIdentifierIfPossible(), Z = 0;
3354
+ if (a !== "select" && $.value === "offset") {
3355
3355
  if (!this.bumpIf(":"))
3356
- return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
3356
+ return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H(this.clonePosition(), this.clonePosition()));
3357
3357
  this.bumpSpace();
3358
- var d = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3358
+ var d = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3359
3359
  if (d.err)
3360
3360
  return d;
3361
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), Z = d.val;
3361
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), Z = d.val;
3362
3362
  }
3363
- var le = this.tryParsePluralOrSelectOptions(t, a, r, j);
3363
+ var le = this.tryParsePluralOrSelectOptions(t, a, r, $);
3364
3364
  if (le.err)
3365
3365
  return le;
3366
3366
  var O = this.tryParseArgumentClose(i);
3367
3367
  if (O.err)
3368
3368
  return O;
3369
- var ve = H(i, this.clonePosition());
3369
+ var ge = H(i, this.clonePosition());
3370
3370
  return a === "select" ? {
3371
3371
  val: {
3372
3372
  type: D.select,
3373
3373
  value: n,
3374
3374
  options: Nr(le.val),
3375
- location: ve
3375
+ location: ge
3376
3376
  },
3377
3377
  err: null
3378
3378
  } : {
@@ -3382,16 +3382,16 @@ var ho = (
3382
3382
  options: Nr(le.val),
3383
3383
  offset: Z,
3384
3384
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3385
- location: ve
3385
+ location: ge
3386
3386
  },
3387
3387
  err: null
3388
3388
  };
3389
3389
  }
3390
3390
  default:
3391
- return this.error(A.INVALID_ARGUMENT_TYPE, H(s, l));
3391
+ return this.error(S.INVALID_ARGUMENT_TYPE, H(s, l));
3392
3392
  }
3393
3393
  }, e.prototype.tryParseArgumentClose = function(t) {
3394
- return this.isEOF() || this.char() !== 125 ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3394
+ return this.isEOF() || this.char() !== 125 ? this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE, H(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3395
3395
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3396
3396
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3397
3397
  var n = this.char();
@@ -3400,7 +3400,7 @@ var ho = (
3400
3400
  this.bump();
3401
3401
  var i = this.clonePosition();
3402
3402
  if (!this.bumpUntil("'"))
3403
- return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(i, this.clonePosition()));
3403
+ return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, H(i, this.clonePosition()));
3404
3404
  this.bump();
3405
3405
  break;
3406
3406
  }
@@ -3432,7 +3432,7 @@ var ho = (
3432
3432
  try {
3433
3433
  n = Vi(t);
3434
3434
  } catch (i) {
3435
- return this.error(A.INVALID_NUMBER_SKELETON, r);
3435
+ return this.error(S.INVALID_NUMBER_SKELETON, r);
3436
3436
  }
3437
3437
  return {
3438
3438
  val: {
@@ -3448,7 +3448,7 @@ var ho = (
3448
3448
  if (u.length === 0) {
3449
3449
  var d = this.clonePosition();
3450
3450
  if (r !== "select" && this.bumpIf("=")) {
3451
- var m = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
3451
+ var m = this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR, S.INVALID_PLURAL_ARGUMENT_SELECTOR);
3452
3452
  if (m.err)
3453
3453
  return m;
3454
3454
  c = H(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
@@ -3456,11 +3456,11 @@ var ho = (
3456
3456
  break;
3457
3457
  }
3458
3458
  if (l.has(u))
3459
- return this.error(r === "select" ? A.DUPLICATE_SELECT_ARGUMENT_SELECTOR : A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3459
+ return this.error(r === "select" ? S.DUPLICATE_SELECT_ARGUMENT_SELECTOR : S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
3460
3460
  u === "other" && (s = !0), this.bumpSpace();
3461
3461
  var _ = this.clonePosition();
3462
3462
  if (!this.bumpIf("{"))
3463
- return this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
3463
+ return this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, H(this.clonePosition(), this.clonePosition()));
3464
3464
  var O = this.parseMessage(t + 1, r, n);
3465
3465
  if (O.err)
3466
3466
  return O;
@@ -3475,7 +3475,7 @@ var ho = (
3475
3475
  }
3476
3476
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, c = o.location;
3477
3477
  }
3478
- return a.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(A.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3478
+ return a.length === 0 ? this.error(r === "select" ? S.EXPECT_SELECT_ARGUMENT_SELECTOR : S.EXPECT_PLURAL_ARGUMENT_SELECTOR, H(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(S.MISSING_OTHER_CLAUSE, H(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3479
3479
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3480
3480
  var n = 1, i = this.clonePosition();
3481
3481
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3502,7 +3502,7 @@ var ho = (
3502
3502
  var t = this.position.offset;
3503
3503
  if (t >= this.message.length)
3504
3504
  throw Error("out of bound");
3505
- var r = vn(this.message, t);
3505
+ var r = gn(this.message, t);
3506
3506
  if (r === void 0)
3507
3507
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3508
3508
  return r;
@@ -3580,13 +3580,13 @@ function mo(e, t) {
3580
3580
  t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3581
3581
  var r = new ho(e, t).parse();
3582
3582
  if (r.err) {
3583
- var n = SyntaxError(A[r.err.kind]);
3583
+ var n = SyntaxError(S[r.err.kind]);
3584
3584
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3585
3585
  }
3586
3586
  return t != null && t.captureLocation || ar(r.val), r.val;
3587
3587
  }
3588
- function kt(e, t) {
3589
- var r = t && t.cache ? t.cache : _o, n = t && t.serializer ? t.serializer : Eo, i = t && t.strategy ? t.strategy : vo;
3588
+ function jt(e, t) {
3589
+ var r = t && t.cache ? t.cache : _o, n = t && t.serializer ? t.serializer : Eo, i = t && t.strategy ? t.strategy : go;
3590
3590
  return i(e, {
3591
3591
  cache: r,
3592
3592
  serializer: n
@@ -3606,11 +3606,11 @@ function _n(e, t, r) {
3606
3606
  function fr(e, t, r, n, i) {
3607
3607
  return r.bind(t, e, n, i);
3608
3608
  }
3609
- function vo(e, t) {
3609
+ function go(e, t) {
3610
3610
  var r = e.length === 1 ? En : _n;
3611
3611
  return fr(e, this, r, t.cache.create(), t.serializer);
3612
3612
  }
3613
- function go(e, t) {
3613
+ function vo(e, t) {
3614
3614
  return fr(e, this, _n, t.cache.create(), t.serializer);
3615
3615
  }
3616
3616
  function yo(e, t) {
@@ -3632,8 +3632,8 @@ var _o = {
3632
3632
  create: function() {
3633
3633
  return new cr();
3634
3634
  }
3635
- }, jt = {
3636
- variadic: go,
3635
+ }, $t = {
3636
+ variadic: vo,
3637
3637
  monadic: yo
3638
3638
  }, We;
3639
3639
  (function(e) {
@@ -3778,8 +3778,8 @@ function _t(e, t, r, n, i, o, s) {
3778
3778
  throw new Bt(`Intl.PluralRules is not available in this environment.
3779
3779
  Try polyfilling it using "@formatjs/intl-pluralrules"
3780
3780
  `, We.MISSING_INTL_API, s);
3781
- var j = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3782
- M = c.options[j] || c.options.other;
3781
+ var $ = r.getPluralRules(t, { type: c.pluralType }).select(m - (c.offset || 0));
3782
+ M = c.options[$] || c.options.other;
3783
3783
  }
3784
3784
  if (!M)
3785
3785
  throw new Rr(c.value, m, Object.keys(c.options), s);
@@ -3799,7 +3799,7 @@ function Ho(e, t) {
3799
3799
  return r[n] = Ao(e[n], t[n]), r;
3800
3800
  }, P({}, e)) : e;
3801
3801
  }
3802
- function $t(e) {
3802
+ function kt(e) {
3803
3803
  return {
3804
3804
  create: function() {
3805
3805
  return {
@@ -3819,29 +3819,29 @@ function Bo(e) {
3819
3819
  dateTime: {},
3820
3820
  pluralRules: {}
3821
3821
  }), {
3822
- getNumberFormat: kt(function() {
3822
+ getNumberFormat: jt(function() {
3823
3823
  for (var t, r = [], n = 0; n < arguments.length; n++)
3824
3824
  r[n] = arguments[n];
3825
3825
  return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
3826
3826
  }, {
3827
- cache: $t(e.number),
3828
- strategy: jt.variadic
3827
+ cache: kt(e.number),
3828
+ strategy: $t.variadic
3829
3829
  }),
3830
- getDateTimeFormat: kt(function() {
3830
+ getDateTimeFormat: jt(function() {
3831
3831
  for (var t, r = [], n = 0; n < arguments.length; n++)
3832
3832
  r[n] = arguments[n];
3833
3833
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
3834
3834
  }, {
3835
- cache: $t(e.dateTime),
3836
- strategy: jt.variadic
3835
+ cache: kt(e.dateTime),
3836
+ strategy: $t.variadic
3837
3837
  }),
3838
- getPluralRules: kt(function() {
3838
+ getPluralRules: jt(function() {
3839
3839
  for (var t, r = [], n = 0; n < arguments.length; n++)
3840
3840
  r[n] = arguments[n];
3841
3841
  return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
3842
3842
  }, {
3843
- cache: $t(e.pluralRules),
3844
- strategy: jt.variadic
3843
+ cache: kt(e.pluralRules),
3844
+ strategy: $t.variadic
3845
3845
  })
3846
3846
  };
3847
3847
  }
@@ -4103,14 +4103,14 @@ function qe() {
4103
4103
  return Go;
4104
4104
  }
4105
4105
  const Vt = Ht(!1);
4106
- var ko = Object.defineProperty, jo = Object.defineProperties, $o = Object.getOwnPropertyDescriptors, Dr = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Xo = Object.prototype.propertyIsEnumerable, Fr = (e, t, r) => t in e ? ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zo = (e, t) => {
4106
+ var jo = Object.defineProperty, $o = Object.defineProperties, ko = Object.getOwnPropertyDescriptors, Dr = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Xo = Object.prototype.propertyIsEnumerable, Fr = (e, t, r) => t in e ? jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zo = (e, t) => {
4107
4107
  for (var r in t || (t = {}))
4108
4108
  Vo.call(t, r) && Fr(e, r, t[r]);
4109
4109
  if (Dr)
4110
4110
  for (var r of Dr(t))
4111
4111
  Xo.call(t, r) && Fr(e, r, t[r]);
4112
4112
  return e;
4113
- }, Wo = (e, t) => jo(e, $o(t));
4113
+ }, Wo = (e, t) => $o(e, ko(t));
4114
4114
  let lr;
4115
4115
  const wt = Ht(null);
4116
4116
  function Ur(e) {
@@ -4266,10 +4266,10 @@ function hs({ withLocale: e, translations: t }) {
4266
4266
  function Xt(e, t) {
4267
4267
  Tn(e, t);
4268
4268
  }
4269
- function kr(e) {
4269
+ function jr(e) {
4270
4270
  He.set(e);
4271
4271
  }
4272
- const jr = {
4272
+ const $r = {
4273
4273
  en: {
4274
4274
  500: "500 - Internal server error",
4275
4275
  showMore: "Show more",
@@ -4353,10 +4353,10 @@ var hr = { exports: {} };
4353
4353
  }), B == null) {
4354
4354
  var ee = d;
4355
4355
  d = function(h, b) {
4356
- var v = b.signal;
4356
+ var g = b.signal;
4357
4357
  return ee(h, { headers: b.headers, credentials: b.credentials, cache: b.cache }).then(function(p) {
4358
4358
  var y = p.body.getReader();
4359
- return v._reader = y, v._aborted && v._reader.cancel(), {
4359
+ return g._reader = y, g._aborted && g._reader.cancel(), {
4360
4360
  status: p.status,
4361
4361
  statusText: p.statusText,
4362
4362
  headers: p.headers,
@@ -4389,7 +4389,7 @@ var hr = { exports: {} };
4389
4389
  return C >= 65536 >> L && C << L <= 1114111;
4390
4390
  throw new Error();
4391
4391
  }
4392
- function v(C, L) {
4392
+ function g(C, L) {
4393
4393
  if (C === 6 * 1)
4394
4394
  return L >> 6 > 15 ? 3 : L > 31 ? 2 : 1;
4395
4395
  if (C === 6 * 2)
@@ -4398,11 +4398,11 @@ var hr = { exports: {} };
4398
4398
  return 3;
4399
4399
  throw new Error();
4400
4400
  }
4401
- for (var p = 65533, y = "", g = this.bitsNeeded, x = this.codePoint, R = 0; R < h.length; R += 1) {
4402
- var T = h[R];
4403
- g !== 0 && (T < 128 || T > 191 || !b(x << 6 | T & 63, g - 6, v(g, x))) && (g = 0, x = p, y += String.fromCharCode(x)), g === 0 ? (T >= 0 && T <= 127 ? (g = 0, x = T) : T >= 192 && T <= 223 ? (g = 6 * 1, x = T & 31) : T >= 224 && T <= 239 ? (g = 6 * 2, x = T & 15) : T >= 240 && T <= 247 ? (g = 6 * 3, x = T & 7) : (g = 0, x = p), g !== 0 && !b(x, g, v(g, x)) && (g = 0, x = p)) : (g -= 6, x = x << 6 | T & 63), g === 0 && (x <= 65535 ? y += String.fromCharCode(x) : (y += String.fromCharCode(55296 + (x - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (x - 65535 - 1 & 1023))));
4401
+ for (var p = 65533, y = "", v = this.bitsNeeded, x = this.codePoint, R = 0; R < h.length; R += 1) {
4402
+ var w = h[R];
4403
+ v !== 0 && (w < 128 || w > 191 || !b(x << 6 | w & 63, v - 6, g(v, x))) && (v = 0, x = p, y += String.fromCharCode(x)), v === 0 ? (w >= 0 && w <= 127 ? (v = 0, x = w) : w >= 192 && w <= 223 ? (v = 6 * 1, x = w & 31) : w >= 224 && w <= 239 ? (v = 6 * 2, x = w & 15) : w >= 240 && w <= 247 ? (v = 6 * 3, x = w & 7) : (v = 0, x = p), v !== 0 && !b(x, v, g(v, x)) && (v = 0, x = p)) : (v -= 6, x = x << 6 | w & 63), v === 0 && (x <= 65535 ? y += String.fromCharCode(x) : (y += String.fromCharCode(55296 + (x - 65535 - 1 >> 10)), y += String.fromCharCode(56320 + (x - 65535 - 1 & 1023))));
4404
4404
  }
4405
- return this.bitsNeeded = g, this.codePoint = x, y;
4405
+ return this.bitsNeeded = v, this.codePoint = x, y;
4406
4406
  };
4407
4407
  var ie = function() {
4408
4408
  try {
@@ -4415,27 +4415,27 @@ var hr = { exports: {} };
4415
4415
  (_ == null || O == null || !ie()) && (_ = pe);
4416
4416
  var M = function() {
4417
4417
  };
4418
- function j(h) {
4418
+ function $(h) {
4419
4419
  this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = M, this.onload = M, this.onerror = M, this.onreadystatechange = M, this._contentType = "", this._xhr = h, this._sendTimeout = 0, this._abort = M;
4420
4420
  }
4421
- j.prototype.open = function(h, b) {
4421
+ $.prototype.open = function(h, b) {
4422
4422
  this._abort(!0);
4423
- var v = this, p = this._xhr, y = 1, g = 0;
4423
+ var g = this, p = this._xhr, y = 1, v = 0;
4424
4424
  this._abort = function(E) {
4425
- v._sendTimeout !== 0 && (i(v._sendTimeout), v._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, p.onload = M, p.onerror = M, p.onabort = M, p.onprogress = M, p.onreadystatechange = M, p.abort(), g !== 0 && (i(g), g = 0), E || (v.readyState = 4, v.onabort(null), v.onreadystatechange())), y = 0;
4425
+ g._sendTimeout !== 0 && (i(g._sendTimeout), g._sendTimeout = 0), (y === 1 || y === 2 || y === 3) && (y = 4, p.onload = M, p.onerror = M, p.onabort = M, p.onprogress = M, p.onreadystatechange = M, p.abort(), v !== 0 && (i(v), v = 0), E || (g.readyState = 4, g.onabort(null), g.onreadystatechange())), y = 0;
4426
4426
  };
4427
4427
  var x = function() {
4428
4428
  if (y === 1) {
4429
- var E = 0, f = "", S = void 0;
4429
+ var E = 0, f = "", T = void 0;
4430
4430
  if ("contentType" in p)
4431
- E = 200, f = "OK", S = p.contentType;
4431
+ E = 200, f = "OK", T = p.contentType;
4432
4432
  else
4433
4433
  try {
4434
- E = p.status, f = p.statusText, S = p.getResponseHeader("Content-Type");
4434
+ E = p.status, f = p.statusText, T = p.getResponseHeader("Content-Type");
4435
4435
  } catch (N) {
4436
- E = 0, f = "", S = void 0;
4436
+ E = 0, f = "", T = void 0;
4437
4437
  }
4438
- E !== 0 && (y = 2, v.readyState = 2, v.status = E, v.statusText = f, v._contentType = S, v.onreadystatechange());
4438
+ E !== 0 && (y = 2, g.readyState = 2, g.status = E, g.statusText = f, g._contentType = T, g.onreadystatechange());
4439
4439
  }
4440
4440
  }, R = function() {
4441
4441
  if (x(), y === 2 || y === 3) {
@@ -4445,50 +4445,50 @@ var hr = { exports: {} };
4445
4445
  E = p.responseText;
4446
4446
  } catch (f) {
4447
4447
  }
4448
- v.readyState = 3, v.responseText = E, v.onprogress();
4448
+ g.readyState = 3, g.responseText = E, g.onprogress();
4449
4449
  }
4450
- }, T = function(E, f) {
4450
+ }, w = function(E, f) {
4451
4451
  if ((f == null || f.preventDefault == null) && (f = {
4452
4452
  preventDefault: M
4453
4453
  }), R(), y === 1 || y === 2 || y === 3) {
4454
- if (y = 4, g !== 0 && (i(g), g = 0), v.readyState = 4, E === "load")
4455
- v.onload(f);
4454
+ if (y = 4, v !== 0 && (i(v), v = 0), g.readyState = 4, E === "load")
4455
+ g.onload(f);
4456
4456
  else if (E === "error")
4457
- v.onerror(f);
4457
+ g.onerror(f);
4458
4458
  else if (E === "abort")
4459
- v.onabort(f);
4459
+ g.onabort(f);
4460
4460
  else
4461
4461
  throw new TypeError();
4462
- v.onreadystatechange();
4462
+ g.onreadystatechange();
4463
4463
  }
4464
4464
  }, C = function(E) {
4465
- 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 || R() : p.readyState === 2 && x());
4465
+ p != null && (p.readyState === 4 ? (!("onload" in p) || !("onerror" in p) || !("onabort" in p)) && w(p.responseText === "" ? "error" : "load", E) : p.readyState === 3 ? "onprogress" in p || R() : p.readyState === 2 && x());
4466
4466
  }, L = function() {
4467
- g = n(function() {
4467
+ v = n(function() {
4468
4468
  L();
4469
4469
  }, 500), p.readyState === 3 && R();
4470
4470
  };
4471
4471
  "onload" in p && (p.onload = function(E) {
4472
- T("load", E);
4472
+ w("load", E);
4473
4473
  }), "onerror" in p && (p.onerror = function(E) {
4474
- T("error", E);
4474
+ w("error", E);
4475
4475
  }), "onabort" in p && (p.onabort = function(E) {
4476
- T("abort", E);
4476
+ w("abort", E);
4477
4477
  }), "onprogress" in p && (p.onprogress = R), "onreadystatechange" in p && (p.onreadystatechange = function(E) {
4478
4478
  C(E);
4479
- }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(h, b, !0), "readyState" in p && (g = n(function() {
4479
+ }), ("contentType" in p || !("ontimeout" in o.prototype)) && (b += (b.indexOf("?") === -1 ? "?" : "&") + "padding=true"), p.open(h, b, !0), "readyState" in p && (v = n(function() {
4480
4480
  L();
4481
4481
  }, 0));
4482
- }, j.prototype.abort = function() {
4482
+ }, $.prototype.abort = function() {
4483
4483
  this._abort(!1);
4484
- }, j.prototype.getResponseHeader = function(h) {
4484
+ }, $.prototype.getResponseHeader = function(h) {
4485
4485
  return this._contentType;
4486
- }, j.prototype.setRequestHeader = function(h, b) {
4487
- var v = this._xhr;
4488
- "setRequestHeader" in v && v.setRequestHeader(h, b);
4489
- }, j.prototype.getAllResponseHeaders = function() {
4486
+ }, $.prototype.setRequestHeader = function(h, b) {
4487
+ var g = this._xhr;
4488
+ "setRequestHeader" in g && g.setRequestHeader(h, b);
4489
+ }, $.prototype.getAllResponseHeaders = function() {
4490
4490
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
4491
- }, j.prototype.send = function() {
4491
+ }, $.prototype.send = function() {
4492
4492
  if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
4493
4493
  var h = this;
4494
4494
  h._sendTimeout = n(function() {
@@ -4500,8 +4500,8 @@ var hr = { exports: {} };
4500
4500
  "withCredentials" in b && (b.withCredentials = this.withCredentials);
4501
4501
  try {
4502
4502
  b.send(void 0);
4503
- } catch (v) {
4504
- throw v;
4503
+ } catch (g) {
4504
+ throw g;
4505
4505
  }
4506
4506
  };
4507
4507
  function Z(h) {
@@ -4510,9 +4510,9 @@ var hr = { exports: {} };
4510
4510
  });
4511
4511
  }
4512
4512
  function le(h) {
4513
- for (var b = /* @__PURE__ */ Object.create(null), v = h.split(`\r
4514
- `), p = 0; p < v.length; p += 1) {
4515
- var y = v[p], g = y.split(": "), x = g.shift(), R = g.join(": ");
4513
+ for (var b = /* @__PURE__ */ Object.create(null), g = h.split(`\r
4514
+ `), p = 0; p < g.length; p += 1) {
4515
+ var y = g[p], v = y.split(": "), x = v.shift(), R = v.join(": ");
4516
4516
  b[Z(x)] = R;
4517
4517
  }
4518
4518
  this._map = b;
@@ -4520,14 +4520,14 @@ var hr = { exports: {} };
4520
4520
  le.prototype.get = function(h) {
4521
4521
  return this._map[Z(h)];
4522
4522
  }, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
4523
- function ve() {
4523
+ function ge() {
4524
4524
  }
4525
- ve.prototype.open = function(h, b, v, p, y, g, x) {
4525
+ ge.prototype.open = function(h, b, g, p, y, v, x) {
4526
4526
  h.open("GET", y);
4527
4527
  var R = 0;
4528
4528
  h.onprogress = function() {
4529
4529
  var C = h.responseText, L = C.slice(R);
4530
- R += L.length, v(L);
4530
+ R += L.length, g(L);
4531
4531
  }, h.onerror = function(C) {
4532
4532
  C.preventDefault(), p(new Error("NetworkError"));
4533
4533
  }, h.onload = function() {
@@ -4539,9 +4539,9 @@ var hr = { exports: {} };
4539
4539
  var C = h.status, L = h.statusText, E = h.getResponseHeader("Content-Type"), f = h.getAllResponseHeaders();
4540
4540
  b(C, L, E, new le(f));
4541
4541
  }
4542
- }, h.withCredentials = g;
4543
- for (var T in x)
4544
- Object.prototype.hasOwnProperty.call(x, T) && h.setRequestHeader(T, x[T]);
4542
+ }, h.withCredentials = v;
4543
+ for (var w in x)
4544
+ Object.prototype.hasOwnProperty.call(x, w) && h.setRequestHeader(w, x[w]);
4545
4545
  return h.send(), h;
4546
4546
  };
4547
4547
  function Re(h) {
@@ -4552,25 +4552,25 @@ var hr = { exports: {} };
4552
4552
  };
4553
4553
  function Be() {
4554
4554
  }
4555
- Be.prototype.open = function(h, b, v, p, y, g, x) {
4556
- var R = null, T = new B(), C = T.signal, L = new _();
4555
+ Be.prototype.open = function(h, b, g, p, y, v, x) {
4556
+ var R = null, w = new B(), C = w.signal, L = new _();
4557
4557
  return d(y, {
4558
4558
  headers: x,
4559
- credentials: g ? "include" : "same-origin",
4559
+ credentials: v ? "include" : "same-origin",
4560
4560
  signal: C,
4561
4561
  cache: "no-store"
4562
4562
  }).then(function(E) {
4563
- return R = E.body.getReader(), b(E.status, E.statusText, E.headers.get("Content-Type"), new Re(E.headers)), new c(function(f, S) {
4563
+ return R = E.body.getReader(), b(E.status, E.statusText, E.headers.get("Content-Type"), new Re(E.headers)), new c(function(f, T) {
4564
4564
  var N = function() {
4565
4565
  R.read().then(function(I) {
4566
4566
  if (I.done)
4567
4567
  f(void 0);
4568
4568
  else {
4569
- var $ = L.decode(I.value, { stream: !0 });
4570
- v($), N();
4569
+ var k = L.decode(I.value, { stream: !0 });
4570
+ g(k), N();
4571
4571
  }
4572
4572
  }).catch(function(I) {
4573
- S(I);
4573
+ T(I);
4574
4574
  });
4575
4575
  };
4576
4576
  N();
@@ -4582,7 +4582,7 @@ var hr = { exports: {} };
4582
4582
  p(E);
4583
4583
  }), {
4584
4584
  abort: function() {
4585
- R != null && R.cancel(), T.abort();
4585
+ R != null && R.cancel(), w.abort();
4586
4586
  }
4587
4587
  };
4588
4588
  };
@@ -4598,28 +4598,28 @@ var hr = { exports: {} };
4598
4598
  h.target = this;
4599
4599
  var b = this._listeners[h.type];
4600
4600
  if (b != null)
4601
- for (var v = b.length, p = 0; p < v; p += 1) {
4601
+ for (var g = b.length, p = 0; p < g; p += 1) {
4602
4602
  var y = b[p];
4603
4603
  try {
4604
4604
  typeof y.handleEvent == "function" ? y.handleEvent(h) : y.call(this, h);
4605
- } catch (g) {
4606
- Pe(g);
4605
+ } catch (v) {
4606
+ Pe(v);
4607
4607
  }
4608
4608
  }
4609
4609
  }, me.prototype.addEventListener = function(h, b) {
4610
4610
  h = String(h);
4611
- var v = this._listeners, p = v[h];
4612
- p == null && (p = [], v[h] = p);
4613
- for (var y = !1, g = 0; g < p.length; g += 1)
4614
- p[g] === b && (y = !0);
4611
+ var g = this._listeners, p = g[h];
4612
+ p == null && (p = [], g[h] = p);
4613
+ for (var y = !1, v = 0; v < p.length; v += 1)
4614
+ p[v] === b && (y = !0);
4615
4615
  y || p.push(b);
4616
4616
  }, me.prototype.removeEventListener = function(h, b) {
4617
4617
  h = String(h);
4618
- var v = this._listeners, p = v[h];
4618
+ var g = this._listeners, p = g[h];
4619
4619
  if (p != null) {
4620
- for (var y = [], g = 0; g < p.length; g += 1)
4621
- p[g] !== b && y.push(p[g]);
4622
- y.length === 0 ? delete v[h] : v[h] = y;
4620
+ for (var y = [], v = 0; v < p.length; v += 1)
4621
+ p[v] !== b && y.push(p[v]);
4622
+ y.length === 0 ? delete g[h] : g[h] = y;
4623
4623
  }
4624
4624
  };
4625
4625
  function te(h) {
@@ -4637,14 +4637,14 @@ var hr = { exports: {} };
4637
4637
  te.call(this, h), this.error = b.error;
4638
4638
  }
4639
4639
  Ye.prototype = Object.create(te.prototype);
4640
- var Oe = -1, W = 0, he = 1, ge = 2, oe = -1, se = 0, ye = 1, Ke = 2, be = 3, et = /^text\/event\-stream(;.*)?$/i, ct = 1e3, Ot = 18e6, tt = function(h, b) {
4641
- var v = h == null ? b : parseInt(h, 10);
4642
- return v !== v && (v = b), De(v);
4640
+ var Oe = -1, W = 0, he = 1, ve = 2, oe = -1, se = 0, ye = 1, Ke = 2, be = 3, et = /^text\/event\-stream(;.*)?$/i, ct = 1e3, Ot = 18e6, tt = function(h, b) {
4641
+ var g = h == null ? b : parseInt(h, 10);
4642
+ return g !== g && (g = b), De(g);
4643
4643
  }, De = function(h) {
4644
4644
  return Math.min(Math.max(h, ct), Ot);
4645
- }, Te = function(h, b, v) {
4645
+ }, Te = function(h, b, g) {
4646
4646
  try {
4647
- typeof b == "function" && b.call(h, v);
4647
+ typeof b == "function" && b.call(h, g);
4648
4648
  } catch (p) {
4649
4649
  Pe(p);
4650
4650
  }
@@ -4656,36 +4656,36 @@ var hr = { exports: {} };
4656
4656
  return o != null && "withCredentials" in o.prototype || s == null ? new o() : new s();
4657
4657
  }
4658
4658
  var Lt = d != null && m != null && "body" in m.prototype;
4659
- function dt(h, b, v) {
4659
+ function dt(h, b, g) {
4660
4660
  b = String(b);
4661
- var p = !!v.withCredentials, y = v.lastEventIdQueryParameterName || "lastEventId", g = De(1e3), x = tt(v.heartbeatTimeout, 45e3), R = "", T = g, C = !1, L = 0, E = v.headers || {}, f = v.Transport, S = Lt && f == null ? void 0 : new j(f != null ? new f() : It()), N = f != null && typeof f != "string" ? new f() : S == null ? new Be() : new ve(), I = void 0, $ = 0, q = Oe, Se = "", rt = "", G = "", pt = "", Q = se, Nt = 0, Ie = 0, Cn = function(V, k, ae, ue) {
4661
+ var p = !!g.withCredentials, y = g.lastEventIdQueryParameterName || "lastEventId", v = De(1e3), x = tt(g.heartbeatTimeout, 45e3), R = "", w = v, C = !1, L = 0, E = g.headers || {}, f = g.Transport, T = Lt && f == null ? void 0 : new $(f != null ? new f() : It()), N = f != null && typeof f != "string" ? new f() : T == null ? new Be() : new ge(), I = void 0, k = 0, q = Oe, Se = "", rt = "", G = "", pt = "", Q = se, Nt = 0, Ie = 0, Cn = function(V, j, ae, ue) {
4662
4662
  if (q === W)
4663
4663
  if (V === 200 && ae != null && et.test(ae)) {
4664
- q = he, C = Date.now(), T = g, h.readyState = he;
4664
+ q = he, C = Date.now(), w = v, h.readyState = he;
4665
4665
  var Y = new Ce("open", {
4666
4666
  status: V,
4667
- statusText: k,
4667
+ statusText: j,
4668
4668
  headers: ue
4669
4669
  });
4670
4670
  h.dispatchEvent(Y), Te(h, h.onopen, Y);
4671
4671
  } else {
4672
4672
  var X = "";
4673
- V !== 200 ? (k && (k = k.replace(/\s+/g, " ")), X = "EventSource's response has a status " + V + " " + k + " that is not 200. Aborting the connection.") : X = "EventSource's response has a Content-Type specifying an unsupported type: " + (ae == null ? "-" : ae.replace(/\s+/g, " ")) + ". Aborting the connection.", Mt();
4673
+ V !== 200 ? (j && (j = j.replace(/\s+/g, " ")), X = "EventSource's response has a status " + V + " " + j + " that is not 200. Aborting the connection.") : X = "EventSource's response has a Content-Type specifying an unsupported type: " + (ae == null ? "-" : ae.replace(/\s+/g, " ")) + ". Aborting the connection.", Mt();
4674
4674
  var Y = new Ce("error", {
4675
4675
  status: V,
4676
- statusText: k,
4676
+ statusText: j,
4677
4677
  headers: ue
4678
4678
  });
4679
4679
  h.dispatchEvent(Y), Te(h, h.onerror, Y), console.error(X);
4680
4680
  }
4681
4681
  }, On = function(V) {
4682
4682
  if (q === he) {
4683
- for (var k = -1, ae = 0; ae < V.length; ae += 1) {
4683
+ for (var j = -1, ae = 0; ae < V.length; ae += 1) {
4684
4684
  var ue = V.charCodeAt(ae);
4685
- (ue === 10 || ue === 13) && (k = ae);
4685
+ (ue === 10 || ue === 13) && (j = ae);
4686
4686
  }
4687
- var Y = (k !== -1 ? pt : "") + V.slice(0, k + 1);
4688
- pt = (k === -1 ? pt : "") + V.slice(k + 1), V !== "" && (C = Date.now(), L += V.length);
4687
+ var Y = (j !== -1 ? pt : "") + V.slice(0, j + 1);
4688
+ pt = (j === -1 ? pt : "") + V.slice(j + 1), V !== "" && (C = Date.now(), L += V.length);
4689
4689
  for (var X = 0; X < Y.length; X += 1) {
4690
4690
  var ue = Y.charCodeAt(X);
4691
4691
  if (Q === oe && ue === 10)
@@ -4695,7 +4695,7 @@ var hr = { exports: {} };
4695
4695
  Q === ye && (Ie = X + 1);
4696
4696
  var Ee = Y.slice(Nt, Ie - 1), _e = Y.slice(Ie + (Ie < X && Y.charCodeAt(Ie) === 32 ? 1 : 0), X);
4697
4697
  Ee === "data" ? (Se += `
4698
- `, Se += _e) : Ee === "id" ? rt = _e : Ee === "event" ? G = _e : Ee === "retry" ? (g = tt(_e, g), T = g) : Ee === "heartbeatTimeout" && (x = tt(_e, x), $ !== 0 && (i($), $ = n(function() {
4698
+ `, Se += _e) : Ee === "id" ? rt = _e : Ee === "event" ? G = _e : Ee === "retry" ? (v = tt(_e, v), w = v) : Ee === "heartbeatTimeout" && (x = tt(_e, x), k !== 0 && (i(k), k = n(function() {
4699
4699
  nt();
4700
4700
  }, x)));
4701
4701
  }
@@ -4706,7 +4706,7 @@ var hr = { exports: {} };
4706
4706
  data: Se.slice(1),
4707
4707
  lastEventId: rt
4708
4708
  });
4709
- if (h.dispatchEvent(Ue), G === "open" ? Te(h, h.onopen, Ue) : G === "message" ? Te(h, h.onmessage, Ue) : G === "error" && Te(h, h.onerror, Ue), q === ge)
4709
+ if (h.dispatchEvent(Ue), G === "open" ? Te(h, h.onopen, Ue) : G === "message" ? Te(h, h.onmessage, Ue) : G === "error" && Te(h, h.onerror, Ue), q === ve)
4710
4710
  return;
4711
4711
  }
4712
4712
  Se = "", G = "";
@@ -4718,35 +4718,35 @@ var hr = { exports: {} };
4718
4718
  }
4719
4719
  }, mr = function(V) {
4720
4720
  if (q === he || q === W) {
4721
- q = Oe, $ !== 0 && (i($), $ = 0), $ = n(function() {
4721
+ q = Oe, k !== 0 && (i(k), k = 0), k = n(function() {
4722
4722
  nt();
4723
- }, T), T = De(Math.min(g * 16, T * 2)), h.readyState = W;
4724
- var k = new Ye("error", { error: V });
4725
- h.dispatchEvent(k), Te(h, h.onerror, k), V != null && console.error(V);
4723
+ }, w), w = De(Math.min(v * 16, w * 2)), h.readyState = W;
4724
+ var j = new Ye("error", { error: V });
4725
+ h.dispatchEvent(j), Te(h, h.onerror, j), V != null && console.error(V);
4726
4726
  }
4727
4727
  }, Mt = function() {
4728
- q = ge, I != null && (I.abort(), I = void 0), $ !== 0 && (i($), $ = 0), h.readyState = ge;
4728
+ q = ve, I != null && (I.abort(), I = void 0), k !== 0 && (i(k), k = 0), h.readyState = ve;
4729
4729
  }, nt = function() {
4730
- if ($ = 0, q !== Oe) {
4730
+ if (k = 0, q !== Oe) {
4731
4731
  if (!C && I != null)
4732
4732
  mr(new Error("No activity within " + x + " milliseconds. " + (q === W ? "No response received." : L + " chars received.") + " Reconnecting.")), I != null && (I.abort(), I = void 0);
4733
4733
  else {
4734
4734
  var V = Math.max((C || Date.now()) + x - Date.now(), 1);
4735
- C = !1, $ = n(function() {
4735
+ C = !1, k = n(function() {
4736
4736
  nt();
4737
4737
  }, V);
4738
4738
  }
4739
4739
  return;
4740
4740
  }
4741
- C = !1, L = 0, $ = n(function() {
4741
+ C = !1, L = 0, k = n(function() {
4742
4742
  nt();
4743
4743
  }, x), q = W, Se = "", G = "", rt = R, pt = "", Nt = 0, Ie = 0, Q = se;
4744
- var k = b;
4744
+ var j = b;
4745
4745
  if (b.slice(0, 5) !== "data:" && b.slice(0, 5) !== "blob:" && R !== "") {
4746
4746
  var ae = b.indexOf("?");
4747
- k = ae === -1 ? b : b.slice(0, ae + 1) + b.slice(ae + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(_e, Ue) {
4747
+ j = ae === -1 ? b : b.slice(0, ae + 1) + b.slice(ae + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(_e, Ue) {
4748
4748
  return Ue === y ? "" : _e;
4749
- }), k += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(R);
4749
+ }), j += (b.indexOf("?") === -1 ? "?" : "&") + y + "=" + encodeURIComponent(R);
4750
4750
  }
4751
4751
  var ue = h.withCredentials, Y = {};
4752
4752
  Y.Accept = "text/event-stream";
@@ -4755,16 +4755,16 @@ var hr = { exports: {} };
4755
4755
  for (var Ee in X)
4756
4756
  Object.prototype.hasOwnProperty.call(X, Ee) && (Y[Ee] = X[Ee]);
4757
4757
  try {
4758
- I = N.open(S, Cn, On, mr, k, ue, Y);
4758
+ I = N.open(T, Cn, On, mr, j, ue, Y);
4759
4759
  } catch (_e) {
4760
4760
  throw Mt(), _e;
4761
4761
  }
4762
4762
  };
4763
4763
  h.url = b, h.readyState = W, h.withCredentials = p, h.headers = E, h._close = Mt, nt();
4764
4764
  }
4765
- J.prototype = Object.create(me.prototype), J.prototype.CONNECTING = W, J.prototype.OPEN = he, J.prototype.CLOSED = ge, J.prototype.close = function() {
4765
+ J.prototype = Object.create(me.prototype), J.prototype.CONNECTING = W, J.prototype.OPEN = he, J.prototype.CLOSED = ve, J.prototype.close = function() {
4766
4766
  this._close();
4767
- }, J.CONNECTING = W, J.OPEN = he, J.CLOSED = ge, J.prototype.withCredentials = void 0;
4767
+ }, J.CONNECTING = W, J.OPEN = he, J.CLOSED = ve, J.prototype.withCredentials = void 0;
4768
4768
  var Fe = l;
4769
4769
  o != null && (l == null || !("withCredentials" in l.prototype)) && (Fe = J), function(h) {
4770
4770
  {
@@ -4789,7 +4789,7 @@ if (typeof window != "undefined") {
4789
4789
  }
4790
4790
  };
4791
4791
  };
4792
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-BqjTkXsP.js").then(({ default: t }) => {
4792
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-Chy_sE0V.js").then(({ default: t }) => {
4793
4793
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4794
4794
  });
4795
4795
  }
@@ -4805,13 +4805,13 @@ if (typeof window != "undefined") {
4805
4805
  }
4806
4806
  };
4807
4807
  };
4808
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-BHZPf1Di.js").then(({ default: t }) => {
4808
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-DXHqP9An.js").then(({ default: t }) => {
4809
4809
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4810
4810
  });
4811
4811
  }
4812
- const $r = (e) => e.length > 0 && e != "false";
4812
+ const kr = (e) => e.length > 0 && e != "false";
4813
4813
  function cs(e) {
4814
- Un(e, "svelte-1kat7pb", ".svelte-1kat7pb.svelte-1kat7pb,.svelte-1kat7pb.svelte-1kat7pb::before,.svelte-1kat7pb.svelte-1kat7pb::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton.svelte-1kat7pb.svelte-1kat7pb{background:var(--emfe-w-color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton.svelte-1kat7pb.svelte-1kat7pb:hover{opacity:0.7}.TournamentsWrapper.svelte-1kat7pb.svelte-1kat7pb{min-height:100vh;background:var(--emfe-w-color-contrast, #07072A);overflow-x:hidden}.Tournaments.svelte-1kat7pb.svelte-1kat7pb{color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments.svelte-1kat7pb.svelte-1kat7pb{padding:24px 2.4%}}.Tournaments.svelte-1kat7pb .FirstRow.svelte-1kat7pb{width:100%;margin:0 auto}.Tournaments.svelte-1kat7pb .SecondRow.svelte-1kat7pb{margin:0 auto;width:100%}.Tournaments.svelte-1kat7pb .ThirdRow.svelte-1kat7pb{display:flex;flex-direction:column;justify-content:center}.Tournaments.svelte-1kat7pb .ThirdRow .CenterButton.svelte-1kat7pb{padding-top:20px;width:100%;display:flex;justify-content:center}");
4814
+ Un(e, "svelte-197w647", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emfe-w-color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emfe-w-color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emfe-w-color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}");
4815
4815
  }
4816
4816
  function ds(e) {
4817
4817
  let t, r, n, i, o, s, a = (
@@ -4828,7 +4828,7 @@ function ds(e) {
4828
4828
  e[20] && Xr(e);
4829
4829
  return {
4830
4830
  c() {
4831
- t = z("div"), r = z("div"), n = z("div"), a && a.c(), i = zt(), o = z("div"), c.c(), s = zt(), d && d.c(), F(n, "class", "FirstRow svelte-1kat7pb"), F(n, "part", "FirstRow"), F(o, "class", "SecondRow svelte-1kat7pb"), F(o, "part", "SecondRow"), F(r, "class", "Tournaments svelte-1kat7pb"), F(r, "part", "Tournaments"), F(t, "class", "TournamentsWrapper svelte-1kat7pb"), F(t, "part", "TournamentsWrapper");
4831
+ t = z("div"), r = z("div"), n = z("div"), a && a.c(), i = zt(), o = z("div"), c.c(), s = zt(), d && d.c(), U(n, "class", "FirstRow"), U(n, "part", "FirstRow"), U(o, "class", "SecondRow"), U(o, "part", "SecondRow"), U(r, "class", "Tournaments"), U(r, "part", "Tournaments"), U(t, "class", "TournamentsWrapper"), U(t, "part", "TournamentsWrapper");
4832
4832
  },
4833
4833
  m(m, _) {
4834
4834
  de(m, t, _), re(t, r), re(r, n), a && a.m(n, null), re(r, i), re(r, o), c.m(o, null), re(r, s), d && d.m(r, null);
@@ -4853,7 +4853,7 @@ function ps(e) {
4853
4853
  t = z("p"), n = Ne(r), i = zt(), o = z("p"), s = Ne(
4854
4854
  /*error*/
4855
4855
  e[16]
4856
- ), F(t, "class", "svelte-1kat7pb"), F(o, "class", "svelte-1kat7pb");
4856
+ );
4857
4857
  },
4858
4858
  m(a, l) {
4859
4859
  de(a, t, l), re(t, n), de(a, i, l), de(a, o, l), re(o, s);
@@ -4877,41 +4877,41 @@ function Vr(e) {
4877
4877
  let t;
4878
4878
  return {
4879
4879
  c() {
4880
- t = z("casino-tournaments-filter-controller"), w(
4880
+ t = z("casino-tournaments-filter-controller"), A(
4881
4881
  t,
4882
4882
  "clientstyling",
4883
4883
  /*clientstyling*/
4884
4884
  e[12]
4885
- ), w(
4885
+ ), A(
4886
4886
  t,
4887
4887
  "clientstylingurl",
4888
4888
  /*clientstylingurl*/
4889
4889
  e[13]
4890
- ), w(t, "filters", Es), w(
4890
+ ), A(t, "filters", Es), A(
4891
4891
  t,
4892
4892
  "activefilters",
4893
4893
  /*filters*/
4894
4894
  e[5]
4895
- ), w(t, "exportparts", "FiltersController, MobileClass, Non-MobileClass/empty, Active, FilterButton, bi, bi-check, FiltersList, FiltersTitle, FiltersItem"), w(t, "class", "svelte-1kat7pb");
4895
+ ), A(t, "exportparts", "FiltersController, MobileClass, Non-MobileClass/empty, Active, FilterButton, bi, bi-check, FiltersList, FiltersTitle, FiltersItem");
4896
4896
  },
4897
4897
  m(r, n) {
4898
4898
  de(r, t, n);
4899
4899
  },
4900
4900
  p(r, n) {
4901
4901
  n[0] & /*clientstyling*/
4902
- 4096 && w(
4902
+ 4096 && A(
4903
4903
  t,
4904
4904
  "clientstyling",
4905
4905
  /*clientstyling*/
4906
4906
  r[12]
4907
4907
  ), n[0] & /*clientstylingurl*/
4908
- 8192 && w(
4908
+ 8192 && A(
4909
4909
  t,
4910
4910
  "clientstylingurl",
4911
4911
  /*clientstylingurl*/
4912
4912
  r[13]
4913
4913
  ), n[0] & /*filters*/
4914
- 32 && w(
4914
+ 32 && A(
4915
4915
  t,
4916
4916
  "activefilters",
4917
4917
  /*filters*/
@@ -4927,154 +4927,154 @@ function ms(e) {
4927
4927
  let t;
4928
4928
  return {
4929
4929
  c() {
4930
- t = z("casino-tournaments-list-controller"), w(
4930
+ t = z("casino-tournaments-list-controller"), A(
4931
4931
  t,
4932
4932
  "clientstyling",
4933
4933
  /*clientstyling*/
4934
4934
  e[12]
4935
- ), w(
4935
+ ), A(
4936
4936
  t,
4937
4937
  "clientstylingurl",
4938
4938
  /*clientstylingurl*/
4939
4939
  e[13]
4940
- ), w(
4940
+ ), A(
4941
4941
  t,
4942
4942
  "userid",
4943
4943
  /*userid*/
4944
4944
  e[1]
4945
- ), w(
4945
+ ), A(
4946
4946
  t,
4947
4947
  "numberoftournaments",
4948
4948
  /*numberoftournaments*/
4949
4949
  e[4]
4950
- ), w(
4950
+ ), A(
4951
4951
  t,
4952
4952
  "loginurl",
4953
4953
  /*loginurl*/
4954
4954
  e[8]
4955
- ), w(
4955
+ ), A(
4956
4956
  t,
4957
4957
  "loginevent",
4958
4958
  /*loginevent*/
4959
4959
  e[6]
4960
- ), w(
4960
+ ), A(
4961
4961
  t,
4962
4962
  "registerurl",
4963
4963
  /*registerurl*/
4964
4964
  e[9]
4965
- ), w(
4965
+ ), A(
4966
4966
  t,
4967
4967
  "registerevent",
4968
4968
  /*registerevent*/
4969
4969
  e[7]
4970
- ), w(
4970
+ ), A(
4971
4971
  t,
4972
4972
  "lang",
4973
4973
  /*lang*/
4974
4974
  e[3]
4975
- ), w(
4975
+ ), A(
4976
4976
  t,
4977
4977
  "currency",
4978
4978
  /*currency*/
4979
4979
  e[10]
4980
- ), w(
4980
+ ), A(
4981
4981
  t,
4982
4982
  "keepbrowsercontext",
4983
4983
  /*keepbrowsercontext*/
4984
4984
  e[11]
4985
- ), w(
4985
+ ), A(
4986
4986
  t,
4987
4987
  "session",
4988
4988
  /*session*/
4989
4989
  e[0]
4990
- ), w(
4990
+ ), A(
4991
4991
  t,
4992
4992
  "endpoint",
4993
4993
  /*endpoint*/
4994
4994
  e[2]
4995
- ), w(t, "exportparts", `Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
4995
+ ), A(t, "exportparts", `Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
4996
4996
  TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill,
4997
4997
  TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton
4998
- 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`), w(t, "class", "svelte-1kat7pb");
4998
+ 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`);
4999
4999
  },
5000
5000
  m(r, n) {
5001
5001
  de(r, t, n);
5002
5002
  },
5003
5003
  p(r, n) {
5004
5004
  n[0] & /*clientstyling*/
5005
- 4096 && w(
5005
+ 4096 && A(
5006
5006
  t,
5007
5007
  "clientstyling",
5008
5008
  /*clientstyling*/
5009
5009
  r[12]
5010
5010
  ), n[0] & /*clientstylingurl*/
5011
- 8192 && w(
5011
+ 8192 && A(
5012
5012
  t,
5013
5013
  "clientstylingurl",
5014
5014
  /*clientstylingurl*/
5015
5015
  r[13]
5016
5016
  ), n[0] & /*userid*/
5017
- 2 && w(
5017
+ 2 && A(
5018
5018
  t,
5019
5019
  "userid",
5020
5020
  /*userid*/
5021
5021
  r[1]
5022
5022
  ), n[0] & /*numberoftournaments*/
5023
- 16 && w(
5023
+ 16 && A(
5024
5024
  t,
5025
5025
  "numberoftournaments",
5026
5026
  /*numberoftournaments*/
5027
5027
  r[4]
5028
5028
  ), n[0] & /*loginurl*/
5029
- 256 && w(
5029
+ 256 && A(
5030
5030
  t,
5031
5031
  "loginurl",
5032
5032
  /*loginurl*/
5033
5033
  r[8]
5034
5034
  ), n[0] & /*loginevent*/
5035
- 64 && w(
5035
+ 64 && A(
5036
5036
  t,
5037
5037
  "loginevent",
5038
5038
  /*loginevent*/
5039
5039
  r[6]
5040
5040
  ), n[0] & /*registerurl*/
5041
- 512 && w(
5041
+ 512 && A(
5042
5042
  t,
5043
5043
  "registerurl",
5044
5044
  /*registerurl*/
5045
5045
  r[9]
5046
5046
  ), n[0] & /*registerevent*/
5047
- 128 && w(
5047
+ 128 && A(
5048
5048
  t,
5049
5049
  "registerevent",
5050
5050
  /*registerevent*/
5051
5051
  r[7]
5052
5052
  ), n[0] & /*lang*/
5053
- 8 && w(
5053
+ 8 && A(
5054
5054
  t,
5055
5055
  "lang",
5056
5056
  /*lang*/
5057
5057
  r[3]
5058
5058
  ), n[0] & /*currency*/
5059
- 1024 && w(
5059
+ 1024 && A(
5060
5060
  t,
5061
5061
  "currency",
5062
5062
  /*currency*/
5063
5063
  r[10]
5064
5064
  ), n[0] & /*keepbrowsercontext*/
5065
- 2048 && w(
5065
+ 2048 && A(
5066
5066
  t,
5067
5067
  "keepbrowsercontext",
5068
5068
  /*keepbrowsercontext*/
5069
5069
  r[11]
5070
5070
  ), n[0] & /*session*/
5071
- 1 && w(
5071
+ 1 && A(
5072
5072
  t,
5073
5073
  "session",
5074
5074
  /*session*/
5075
5075
  r[0]
5076
5076
  ), n[0] & /*endpoint*/
5077
- 4 && w(
5077
+ 4 && A(
5078
5078
  t,
5079
5079
  "endpoint",
5080
5080
  /*endpoint*/
@@ -5091,13 +5091,13 @@ function bs(e) {
5091
5091
  function r(o, s) {
5092
5092
  return (
5093
5093
  /*isLoading*/
5094
- o[17] ? gs : vs
5094
+ o[17] ? vs : gs
5095
5095
  );
5096
5096
  }
5097
5097
  let n = r(e), i = n(e);
5098
5098
  return {
5099
5099
  c() {
5100
- i.c(), t = jn();
5100
+ i.c(), t = $n();
5101
5101
  },
5102
5102
  m(o, s) {
5103
5103
  i.m(o, s), de(o, t, s);
@@ -5110,14 +5110,14 @@ function bs(e) {
5110
5110
  }
5111
5111
  };
5112
5112
  }
5113
- function vs(e) {
5113
+ function gs(e) {
5114
5114
  let t, r = (
5115
5115
  /*$_*/
5116
5116
  e[21]("noTournaments") + ""
5117
5117
  ), n;
5118
5118
  return {
5119
5119
  c() {
5120
- t = z("p"), n = Ne(r), F(t, "class", "NoTournaments svelte-1kat7pb"), F(t, "part", "NoTournaments");
5120
+ t = z("p"), n = Ne(r), U(t, "class", "NoTournaments"), U(t, "part", "NoTournaments");
5121
5121
  },
5122
5122
  m(i, o) {
5123
5123
  de(i, t, o), re(t, n);
@@ -5132,14 +5132,14 @@ function vs(e) {
5132
5132
  }
5133
5133
  };
5134
5134
  }
5135
- function gs(e) {
5135
+ function vs(e) {
5136
5136
  let t, r = (
5137
5137
  /*$_*/
5138
5138
  e[21]("loading") + ""
5139
5139
  ), n;
5140
5140
  return {
5141
5141
  c() {
5142
- t = z("p"), n = Ne(r), F(t, "class", "LoadingMessage svelte-1kat7pb"), F(t, "part", "LoadingMessage");
5142
+ t = z("p"), n = Ne(r), U(t, "class", "LoadingMessage"), U(t, "part", "LoadingMessage");
5143
5143
  },
5144
5144
  m(i, o) {
5145
5145
  de(i, t, o), re(t, n);
@@ -5161,7 +5161,7 @@ function Xr(e) {
5161
5161
  ), o, s, a;
5162
5162
  return {
5163
5163
  c() {
5164
- t = z("div"), r = z("div"), n = z("button"), o = Ne(i), F(n, "class", "ShowMoreButton svelte-1kat7pb"), F(n, "part", "ShowMoreButton"), F(n, "title", "Show More"), F(r, "class", "CenterButton svelte-1kat7pb"), F(r, "part", "CenterButton"), F(t, "class", "ThirdRow svelte-1kat7pb"), F(t, "part", "ThirdRow");
5164
+ t = z("div"), r = z("div"), n = z("button"), o = Ne(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");
5165
5165
  },
5166
5166
  m(l, u) {
5167
5167
  de(l, t, u), re(t, r), re(r, n), re(n, o), s || (a = Wt(
@@ -5192,7 +5192,7 @@ function ys(e) {
5192
5192
  let n = r(e), i = n(e);
5193
5193
  return {
5194
5194
  c() {
5195
- t = z("div"), i.c(), F(t, "class", "svelte-1kat7pb");
5195
+ t = z("div"), i.c();
5196
5196
  },
5197
5197
  m(o, s) {
5198
5198
  de(o, t, s), i.m(t, null), e[33](t);
@@ -5211,29 +5211,29 @@ let Es = "All,Scheduled,Ongoing,Finished";
5211
5211
  function _s(e, t, r) {
5212
5212
  let n;
5213
5213
  Fn(e, us, (f) => r(21, n = f));
5214
- let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: l = "" } = t, { numberoftournaments: u = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: m = "" } = t, { registerevent: _ = "" } = t, { loginurl: O = "" } = t, { registerurl: B = "" } = t, { currency: ee = "EUR" } = t, { keepbrowsercontext: pe = "false" } = t, { sorttype: ie = "" } = t, { sortorder: M = "" } = t, { starttimeafter: j = "" } = t, { showanonymoustournaments: Z = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: ve = "" } = t, { delaybeforeload: Re = 1e3 } = t, Be = !1, me = "", Pe = !1, te = "", ft = window.navigator.userAgent, Ce = !0, Ye = !1, Oe = !1, W, he = 0, ge = !1, oe = 6, se = !0, ye = [], Ke, be, et = !1, ct;
5214
+ let { session: i = "" } = t, { userid: o = "" } = t, { endpoint: s = "" } = t, { lang: a = "en" } = t, { translationurl: l = "" } = t, { numberoftournaments: u = "6" } = t, { showmorestep: c = "2" } = t, { filters: d = "All" } = t, { loginevent: m = "" } = t, { registerevent: _ = "" } = t, { loginurl: O = "" } = t, { registerurl: B = "" } = t, { currency: ee = "EUR" } = t, { keepbrowsercontext: pe = "false" } = t, { sorttype: ie = "" } = t, { sortorder: M = "" } = t, { starttimeafter: $ = "" } = t, { showanonymoustournaments: Z = "true" } = t, { clientstyling: le = "" } = t, { clientstylingurl: ge = "" } = t, { delaybeforeload: Re = 1e3 } = t, Be = !1, me = "", Pe = !1, te = "", ft = window.navigator.userAgent, Ce = !0, Ye = !1, Oe = !1, W, he = 0, ve = !1, oe = 6, se = !0, ye = [], Ke, be, et = !1, ct;
5215
5215
  hs({ withLocale: "en", translations: {} });
5216
5216
  const Ot = () => {
5217
- fetch(l).then((S) => S.json()).then((S) => {
5218
- ct = S, Object.keys(S).forEach((N) => {
5219
- Xt(N, S[N]);
5217
+ fetch(l).then((T) => T.json()).then((T) => {
5218
+ ct = T, Object.keys(T).forEach((N) => {
5219
+ Xt(N, T[N]);
5220
5220
  });
5221
- }).catch((S) => {
5222
- console.log(S);
5221
+ }).catch((T) => {
5222
+ console.log(T);
5223
5223
  });
5224
5224
  }, tt = (f) => {
5225
- f && Object.keys(f).forEach((S) => {
5226
- Xt(S, f[S]);
5225
+ f && Object.keys(f).forEach((T) => {
5226
+ Xt(T, f[T]);
5227
5227
  });
5228
5228
  };
5229
- Object.keys(jr).forEach((f) => {
5230
- Xt(f, jr[f]);
5229
+ Object.keys($r).forEach((f) => {
5230
+ Xt(f, $r[f]);
5231
5231
  });
5232
5232
  const De = (f) => {
5233
5233
  f.data && f.data.type === "UserSessionID" && (Pe = !0, r(30, te = f.data.session), f.data.userid, J(s, 0, oe)), f.data && f.data.type === "TournamentsFiltersSelected" && (ye = f.data.filters, J(s, 0, oe)), f.data && f.data.type === "TournamentThumbnailMounted" && tt(ct);
5234
- }, Te = (f) => f == "Scheduled" ? "Unstarted" : f == "Ongoing" ? "Running" : "Closing|Closed", J = (f, S, N) => Le(this, null, function* () {
5234
+ }, Te = (f) => f == "Scheduled" ? "Unstarted" : f == "Ongoing" ? "Running" : "Closing|Closed", J = (f, T, N) => Le(this, null, function* () {
5235
5235
  r(17, Ce = !0), r(19, he = 0);
5236
- const I = yield dt(f, S, N);
5236
+ const I = yield dt(f, T, N);
5237
5237
  setTimeout(
5238
5238
  () => {
5239
5239
  window.postMessage(
@@ -5246,8 +5246,8 @@ function _s(e, t, r) {
5246
5246
  },
5247
5247
  50
5248
5248
  ), r(17, Ce = !1);
5249
- }), It = (f, S, N) => Le(this, null, function* () {
5250
- const I = yield dt(f, S, N);
5249
+ }), It = (f, T, N) => Le(this, null, function* () {
5250
+ const I = yield dt(f, T, N);
5251
5251
  window.postMessage(
5252
5252
  {
5253
5253
  type: "TournamentListShowMore",
@@ -5257,25 +5257,25 @@ function _s(e, t, r) {
5257
5257
  );
5258
5258
  }), Lt = () => {
5259
5259
  const f = /* @__PURE__ */ new Date();
5260
- return j ? f.setDate(f.getDate() - Number(j)) : f.setMonth(f.getMonth() - 1), f.toISOString().substring(0, 10);
5261
- }, dt = (f, S, N) => Le(this, null, function* () {
5262
- let I = new URL(`${f}/v1/tournaments`), $ = new Headers();
5263
- I.searchParams.append("pagination", `offset=${S},limit=${N}`), I.searchParams.append("sortField", "StartTime"), I.searchParams.append("sortOrder", M || "desc"), I.searchParams.append("language", a);
5260
+ return $ ? f.setDate(f.getDate() - Number($)) : f.setMonth(f.getMonth() - 1), f.toISOString().substring(0, 10);
5261
+ }, dt = (f, T, N) => Le(this, null, function* () {
5262
+ let I = new URL(`${f}/v1/tournaments`), k = new Headers();
5263
+ I.searchParams.append("pagination", `offset=${T},limit=${N}`), I.searchParams.append("sortField", "StartTime"), I.searchParams.append("sortOrder", M || "desc"), I.searchParams.append("language", a);
5264
5264
  const q = { StartTimeAfter: Lt() };
5265
- !$r(i) && Z === "false" && (q.tags = "no-role-set"), ye.length > 0 && ye[0] != "All" && (q.state = ye.map((G) => Te(G)).join("|"));
5265
+ !kr(i) && Z === "false" && (q.tags = "no-role-set"), ye.length > 0 && ye[0] != "All" && (q.state = ye.map((G) => Te(G)).join("|"));
5266
5266
  const Se = Object.keys(q).map((G) => `${G}=${q[G]}`).join(",");
5267
- return I.searchParams.append("filter", Se), I.searchParams.append("platform", ls(ft)), ie && I.searchParams.append("sortType", ie), Pe && $.append("X-SessionID", te), fetch(I, {
5267
+ return I.searchParams.append("filter", Se), I.searchParams.append("platform", ls(ft)), ie && I.searchParams.append("sortType", ie), Pe && k.append("X-SessionID", te), fetch(I, {
5268
5268
  method: "GET",
5269
- headers: $,
5269
+ headers: k,
5270
5270
  cache: "no-cache"
5271
5271
  }).then((G) => G.json()).then((G) => (Ke = I.searchParams.toString(), r(19, he = G.total), oe >= he ? r(20, se = !0) : r(20, se = !1), Oe || h(), G));
5272
5272
  }), Fe = (f) => {
5273
5273
  if (f.type != "message")
5274
5274
  return;
5275
- let S = f.data;
5276
- if (S)
5275
+ let T = f.data;
5276
+ if (T)
5277
5277
  try {
5278
- let N = JSON.parse(S);
5278
+ let N = JSON.parse(T);
5279
5279
  if (!N || !N.item)
5280
5280
  return;
5281
5281
  let I = N.item;
@@ -5314,35 +5314,35 @@ function _s(e, t, r) {
5314
5314
  ), typeof be != "undefined" && be.addEventListener("message", Fe);
5315
5315
  }, b = () => Le(this, null, function* () {
5316
5316
  let f = oe;
5317
- const S = parseInt(c, 10);
5318
- oe += S, window.postMessage(
5317
+ const T = parseInt(c, 10);
5318
+ oe += T, window.postMessage(
5319
5319
  {
5320
5320
  type: "TournamentsPagination",
5321
5321
  offset: 0,
5322
5322
  limit: oe
5323
5323
  },
5324
5324
  window.location.href
5325
- ), yield It(s, f, S), oe >= he && r(20, se = !0);
5326
- }), v = () => (s || (r(16, me = "Endpoint is missing! Please provide a valid endpointURL."), r(15, Be = !0), console.error(me)), (!a || a.length != 2) && (r(16, me = "Language is missing! Please provide a valid language (alpha2code)"), r(15, Be = !0), console.error(me)), Be), p = () => {
5327
- if (!ge) return !1;
5328
- v() || (oe = parseInt(u, 10), kr(a), J(s, 0, oe));
5325
+ ), yield It(s, f, T), oe >= he && r(20, se = !0);
5326
+ }), g = () => (s || (r(16, me = "Endpoint is missing! Please provide a valid endpointURL."), r(15, Be = !0), console.error(me)), (!a || a.length != 2) && (r(16, me = "Language is missing! Please provide a valid language (alpha2code)"), r(15, Be = !0), console.error(me)), Be), p = () => {
5327
+ if (!ve) return !1;
5328
+ g() || (oe = parseInt(u, 10), jr(a), J(s, 0, oe));
5329
5329
  }, y = () => {
5330
- kr(a);
5331
- }, g = () => {
5330
+ jr(a);
5331
+ }, v = () => {
5332
5332
  ye = d.split(","), r(18, Ye = !0);
5333
5333
  }, x = () => {
5334
- $r(i) ? (Pe = !0, r(30, te = i)) : (Pe = !1, r(30, te = ""));
5334
+ kr(i) ? (Pe = !0, r(30, te = i)) : (Pe = !1, r(30, te = ""));
5335
5335
  }, R = () => Le(this, null, function* () {
5336
5336
  et || (et = !0, yield p(), et = !1);
5337
- }), T = () => {
5337
+ }), w = () => {
5338
5338
  let f = document.createElement("style");
5339
5339
  f.innerHTML = le, W.appendChild(f);
5340
5340
  }, C = () => {
5341
- let f = new URL(ve), S = document.createElement("style");
5341
+ let f = new URL(ge), T = document.createElement("style");
5342
5342
  fetch(f.href).then((N) => N.text()).then((N) => {
5343
- S.innerHTML = N, setTimeout(
5343
+ T.innerHTML = N, setTimeout(
5344
5344
  () => {
5345
- W.appendChild(S);
5345
+ W.appendChild(T);
5346
5346
  },
5347
5347
  1
5348
5348
  ), setTimeout(
@@ -5354,7 +5354,7 @@ function _s(e, t, r) {
5354
5354
  };
5355
5355
  Wn(() => (setTimeout(
5356
5356
  () => {
5357
- r(31, ge = !0);
5357
+ r(31, ve = !0);
5358
5358
  },
5359
5359
  Re
5360
5360
  ), window.addEventListener("message", De, !1), () => {
@@ -5367,16 +5367,16 @@ function _s(e, t, r) {
5367
5367
  });
5368
5368
  }
5369
5369
  return e.$$set = (f) => {
5370
- "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(23, l = f.translationurl), "numberoftournaments" in f && r(4, u = f.numberoftournaments), "showmorestep" in f && r(24, c = f.showmorestep), "filters" in f && r(5, d = f.filters), "loginevent" in f && r(6, m = f.loginevent), "registerevent" in f && r(7, _ = f.registerevent), "loginurl" in f && r(8, O = f.loginurl), "registerurl" in f && r(9, B = f.registerurl), "currency" in f && r(10, ee = f.currency), "keepbrowsercontext" in f && r(11, pe = f.keepbrowsercontext), "sorttype" in f && r(25, ie = f.sorttype), "sortorder" in f && r(26, M = f.sortorder), "starttimeafter" in f && r(27, j = f.starttimeafter), "showanonymoustournaments" in f && r(28, Z = f.showanonymoustournaments), "clientstyling" in f && r(12, le = f.clientstyling), "clientstylingurl" in f && r(13, ve = f.clientstylingurl), "delaybeforeload" in f && r(29, Re = f.delaybeforeload);
5370
+ "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(23, l = f.translationurl), "numberoftournaments" in f && r(4, u = f.numberoftournaments), "showmorestep" in f && r(24, c = f.showmorestep), "filters" in f && r(5, d = f.filters), "loginevent" in f && r(6, m = f.loginevent), "registerevent" in f && r(7, _ = f.registerevent), "loginurl" in f && r(8, O = f.loginurl), "registerurl" in f && r(9, B = f.registerurl), "currency" in f && r(10, ee = f.currency), "keepbrowsercontext" in f && r(11, pe = f.keepbrowsercontext), "sorttype" in f && r(25, ie = f.sorttype), "sortorder" in f && r(26, M = f.sortorder), "starttimeafter" in f && r(27, $ = f.starttimeafter), "showanonymoustournaments" in f && r(28, Z = f.showanonymoustournaments), "clientstyling" in f && r(12, le = f.clientstyling), "clientstylingurl" in f && r(13, ge = f.clientstylingurl), "delaybeforeload" in f && r(29, Re = f.delaybeforeload);
5371
5371
  }, e.$$.update = () => {
5372
5372
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
5373
- 20480 && W && le && T(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
5374
- 24576 && W && ve && C(), e.$$.dirty[0] & /*userid*/
5373
+ 20480 && W && le && w(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
5374
+ 24576 && W && ge && C(), e.$$.dirty[0] & /*userid*/
5375
5375
  2, e.$$.dirty[0] & /*filters*/
5376
- 32 && d && g(), e.$$.dirty[0] & /*lang*/
5376
+ 32 && d && v(), e.$$.dirty[0] & /*lang*/
5377
5377
  8 && a && y(), e.$$.dirty[0] & /*translationurl*/
5378
5378
  8388608 && l && Ot(), e.$$.dirty[1] & /*isMounted*/
5379
- 1 && ge && p(), e.$$.dirty[0] & /*session*/
5379
+ 1 && ve && p(), e.$$.dirty[0] & /*session*/
5380
5380
  1 && (i === "" || i) && x(), e.$$.dirty[0] & /*sessionID*/
5381
5381
  1073741824 && (te === "" || te) && R(), e.$$.dirty[0] & /*endpoint, numberoftournaments, showmorestep, lang, showanonymoustournaments*/
5382
5382
  285212700 && s && u && c && a && Z && R();
@@ -5394,7 +5394,7 @@ function _s(e, t, r) {
5394
5394
  ee,
5395
5395
  pe,
5396
5396
  le,
5397
- ve,
5397
+ ge,
5398
5398
  W,
5399
5399
  Be,
5400
5400
  me,
@@ -5408,11 +5408,11 @@ function _s(e, t, r) {
5408
5408
  c,
5409
5409
  ie,
5410
5410
  M,
5411
- j,
5411
+ $,
5412
5412
  Z,
5413
5413
  Re,
5414
5414
  te,
5415
- ge,
5415
+ ve,
5416
5416
  L,
5417
5417
  E
5418
5418
  ];
@@ -5456,127 +5456,127 @@ class Pn extends oi {
5456
5456
  return this.$$.ctx[0];
5457
5457
  }
5458
5458
  set session(t) {
5459
- this.$$set({ session: t }), U();
5459
+ this.$$set({ session: t }), F();
5460
5460
  }
5461
5461
  get userid() {
5462
5462
  return this.$$.ctx[1];
5463
5463
  }
5464
5464
  set userid(t) {
5465
- this.$$set({ userid: t }), U();
5465
+ this.$$set({ userid: t }), F();
5466
5466
  }
5467
5467
  get endpoint() {
5468
5468
  return this.$$.ctx[2];
5469
5469
  }
5470
5470
  set endpoint(t) {
5471
- this.$$set({ endpoint: t }), U();
5471
+ this.$$set({ endpoint: t }), F();
5472
5472
  }
5473
5473
  get lang() {
5474
5474
  return this.$$.ctx[3];
5475
5475
  }
5476
5476
  set lang(t) {
5477
- this.$$set({ lang: t }), U();
5477
+ this.$$set({ lang: t }), F();
5478
5478
  }
5479
5479
  get translationurl() {
5480
5480
  return this.$$.ctx[23];
5481
5481
  }
5482
5482
  set translationurl(t) {
5483
- this.$$set({ translationurl: t }), U();
5483
+ this.$$set({ translationurl: t }), F();
5484
5484
  }
5485
5485
  get numberoftournaments() {
5486
5486
  return this.$$.ctx[4];
5487
5487
  }
5488
5488
  set numberoftournaments(t) {
5489
- this.$$set({ numberoftournaments: t }), U();
5489
+ this.$$set({ numberoftournaments: t }), F();
5490
5490
  }
5491
5491
  get showmorestep() {
5492
5492
  return this.$$.ctx[24];
5493
5493
  }
5494
5494
  set showmorestep(t) {
5495
- this.$$set({ showmorestep: t }), U();
5495
+ this.$$set({ showmorestep: t }), F();
5496
5496
  }
5497
5497
  get filters() {
5498
5498
  return this.$$.ctx[5];
5499
5499
  }
5500
5500
  set filters(t) {
5501
- this.$$set({ filters: t }), U();
5501
+ this.$$set({ filters: t }), F();
5502
5502
  }
5503
5503
  get loginevent() {
5504
5504
  return this.$$.ctx[6];
5505
5505
  }
5506
5506
  set loginevent(t) {
5507
- this.$$set({ loginevent: t }), U();
5507
+ this.$$set({ loginevent: t }), F();
5508
5508
  }
5509
5509
  get registerevent() {
5510
5510
  return this.$$.ctx[7];
5511
5511
  }
5512
5512
  set registerevent(t) {
5513
- this.$$set({ registerevent: t }), U();
5513
+ this.$$set({ registerevent: t }), F();
5514
5514
  }
5515
5515
  get loginurl() {
5516
5516
  return this.$$.ctx[8];
5517
5517
  }
5518
5518
  set loginurl(t) {
5519
- this.$$set({ loginurl: t }), U();
5519
+ this.$$set({ loginurl: t }), F();
5520
5520
  }
5521
5521
  get registerurl() {
5522
5522
  return this.$$.ctx[9];
5523
5523
  }
5524
5524
  set registerurl(t) {
5525
- this.$$set({ registerurl: t }), U();
5525
+ this.$$set({ registerurl: t }), F();
5526
5526
  }
5527
5527
  get currency() {
5528
5528
  return this.$$.ctx[10];
5529
5529
  }
5530
5530
  set currency(t) {
5531
- this.$$set({ currency: t }), U();
5531
+ this.$$set({ currency: t }), F();
5532
5532
  }
5533
5533
  get keepbrowsercontext() {
5534
5534
  return this.$$.ctx[11];
5535
5535
  }
5536
5536
  set keepbrowsercontext(t) {
5537
- this.$$set({ keepbrowsercontext: t }), U();
5537
+ this.$$set({ keepbrowsercontext: t }), F();
5538
5538
  }
5539
5539
  get sorttype() {
5540
5540
  return this.$$.ctx[25];
5541
5541
  }
5542
5542
  set sorttype(t) {
5543
- this.$$set({ sorttype: t }), U();
5543
+ this.$$set({ sorttype: t }), F();
5544
5544
  }
5545
5545
  get sortorder() {
5546
5546
  return this.$$.ctx[26];
5547
5547
  }
5548
5548
  set sortorder(t) {
5549
- this.$$set({ sortorder: t }), U();
5549
+ this.$$set({ sortorder: t }), F();
5550
5550
  }
5551
5551
  get starttimeafter() {
5552
5552
  return this.$$.ctx[27];
5553
5553
  }
5554
5554
  set starttimeafter(t) {
5555
- this.$$set({ starttimeafter: t }), U();
5555
+ this.$$set({ starttimeafter: t }), F();
5556
5556
  }
5557
5557
  get showanonymoustournaments() {
5558
5558
  return this.$$.ctx[28];
5559
5559
  }
5560
5560
  set showanonymoustournaments(t) {
5561
- this.$$set({ showanonymoustournaments: t }), U();
5561
+ this.$$set({ showanonymoustournaments: t }), F();
5562
5562
  }
5563
5563
  get clientstyling() {
5564
5564
  return this.$$.ctx[12];
5565
5565
  }
5566
5566
  set clientstyling(t) {
5567
- this.$$set({ clientstyling: t }), U();
5567
+ this.$$set({ clientstyling: t }), F();
5568
5568
  }
5569
5569
  get clientstylingurl() {
5570
5570
  return this.$$.ctx[13];
5571
5571
  }
5572
5572
  set clientstylingurl(t) {
5573
- this.$$set({ clientstylingurl: t }), U();
5573
+ this.$$set({ clientstylingurl: t }), F();
5574
5574
  }
5575
5575
  get delaybeforeload() {
5576
5576
  return this.$$.ctx[29];
5577
5577
  }
5578
5578
  set delaybeforeload(t) {
5579
- this.$$set({ delaybeforeload: t }), U();
5579
+ this.$$set({ delaybeforeload: t }), F();
5580
5580
  }
5581
5581
  }
5582
5582
  ii(Pn, { session: {}, userid: {}, endpoint: {}, lang: {}, translationurl: {}, numberoftournaments: {}, showmorestep: {}, filters: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, sorttype: {}, sortorder: {}, starttimeafter: {}, showanonymoustournaments: {}, clientstyling: {}, clientstylingurl: {}, delaybeforeload: {} }, [], [], !0);
@@ -5601,9 +5601,9 @@ export {
5601
5601
  Tn as a,
5602
5602
  Un as b,
5603
5603
  ii as c,
5604
- F as d,
5604
+ U as d,
5605
5605
  z as e,
5606
- U as f,
5606
+ F as f,
5607
5607
  Os as g,
5608
5608
  de as h,
5609
5609
  ni as i,
@@ -5621,7 +5621,7 @@ export {
5621
5621
  qt as u,
5622
5622
  As as v,
5623
5623
  Wn as w,
5624
- jn as x,
5625
- w as y,
5624
+ $n as x,
5625
+ A as y,
5626
5626
  He as z
5627
5627
  };