@everymatrix/tournament-details-page 0.0.1 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/components/{TournamentDetails-upe3WFia.cjs → TournamentDetails-AYkmST0l.cjs} +5 -5
  2. package/components/{TournamentDetails-CJVSWVXD.js → TournamentDetails-CIK1Vnx8.js} +684 -684
  3. package/components/{TournamentDetails-amGR_-Hv.js → TournamentDetails-glnpe9gf.js} +306 -306
  4. package/components/TournamentDetailsPage-85B_WTCl.cjs +63 -0
  5. package/components/{TournamentDetailsPage-DnknTo0Y.js → TournamentDetailsPage-D6daHDII.js} +117 -117
  6. package/components/{TournamentDetailsPage-BlWvqhbK.js → TournamentDetailsPage-DCB9anwm.js} +154 -154
  7. package/components/TournamentGames-0RUJ48Xu.js +362 -0
  8. package/components/TournamentGames-3qu_5rFn.cjs +26 -0
  9. package/components/TournamentGames-CDfNoeoq.js +335 -0
  10. package/components/TournamentLeaderboard-5oGHOpP6.js +794 -0
  11. package/components/TournamentLeaderboard-BUiKtCk5.cjs +36 -0
  12. package/components/TournamentLeaderboard-CF-QWN1C.js +810 -0
  13. package/es2015/tournament-details-page.cjs +1 -1
  14. package/es2015/tournament-details-page.js +1 -1
  15. package/esnext/tournament-details-page.js +1 -1
  16. package/package.json +1 -1
  17. package/components/TournamentDetailsPage-BsjnqhIP.cjs +0 -63
  18. package/components/TournamentGames-BqZd-C9h.js +0 -351
  19. package/components/TournamentGames-Cb2LP2tF.js +0 -324
  20. package/components/TournamentGames-D5Nyb0Nx.cjs +0 -26
  21. package/components/TournamentLeaderboard-BjmkrtNX.js +0 -800
  22. package/components/TournamentLeaderboard-C1tIH5FA.js +0 -784
  23. package/components/TournamentLeaderboard-DWYhqHPh.cjs +0 -36
@@ -1,4 +1,4 @@
1
- var Fe = (r, t, e) => new Promise((n, i) => {
1
+ var De = (r, t, e) => new Promise((n, i) => {
2
2
  var o = (u) => {
3
3
  try {
4
4
  l(e.next(u));
@@ -14,19 +14,19 @@ var Fe = (r, t, e) => new Promise((n, i) => {
14
14
  }, l = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
15
15
  l((e = e.apply(r, t)).next());
16
16
  });
17
- import { $ as ye, a as Rt, b as Ot, d as Ke, c as Bt, e as jt, p as F, u as At, s as R, f as Ze, o as It, g as $, i as E, h as T, j as Wt, k as Dt, l as Z, m as Ht, n as c, q as h, r as m, t as Ft, v as Zt, w as C, x as U, y as v, z as w, A as ne, B as g, C as Ut, D as q, E as Ue, F as Vt, G as A, H as zt, I as X } from "./TournamentDetails-CJVSWVXD.js";
17
+ import { $ as ye, a as Ot, b as Lt, d as Ke, c as Bt, e as jt, p as D, u as Ht, s as O, f as Fe, o as At, g as $, i as E, h as T, j as It, k as Wt, l as F, m as Vt, n as c, q as h, r as m, t as Dt, v as Ft, w as C, x as z, y as v, z as w, A as ne, B as g, C as zt, D as q, E as ze, F as Ut, G as H, H as Zt, I as X } from "./TournamentDetails-CIK1Vnx8.js";
18
18
  function Gt({ withLocale: r, translations: t }) {
19
19
  ye.subscribe((e) => {
20
- e == null && (Ot.set(t), ye.set(r));
20
+ e == null && (Lt.set(t), ye.set(r));
21
21
  });
22
22
  }
23
23
  function qt(r, t) {
24
- Rt(r, t);
24
+ Ot(r, t);
25
25
  }
26
26
  function Xt(r) {
27
27
  ye.set(r);
28
28
  }
29
- const Ve = {
29
+ const Ue = {
30
30
  en: {
31
31
  totalPrizes: "Total prizes",
32
32
  viewPrizes: "View Prizes",
@@ -147,7 +147,7 @@ function Ce(r, t, e) {
147
147
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
148
148
  return r.concat(o || t);
149
149
  }
150
- function I(r) {
150
+ function A(r) {
151
151
  return typeof r == "function";
152
152
  }
153
153
  function Qe(r) {
@@ -198,21 +198,21 @@ var se = function() {
198
198
  }
199
199
  else
200
200
  s.remove(this);
201
- var M = this.initialTeardown;
202
- if (I(M))
201
+ var k = this.initialTeardown;
202
+ if (A(k))
203
203
  try {
204
- M();
204
+ k();
205
205
  } catch (x) {
206
206
  o = x instanceof ge ? x.errors : [x];
207
207
  }
208
- var V = this._finalizers;
209
- if (V) {
208
+ var U = this._finalizers;
209
+ if (U) {
210
210
  this._finalizers = null;
211
211
  try {
212
- for (var z = we(V), d = z.next(); !d.done; d = z.next()) {
212
+ for (var Z = we(U), d = Z.next(); !d.done; d = Z.next()) {
213
213
  var Q = d.value;
214
214
  try {
215
- ze(Q);
215
+ Ze(Q);
216
216
  } catch (x) {
217
217
  o = o != null ? o : [], x instanceof ge ? o = Ce(Ce([], xe(o)), xe(x.errors)) : o.push(x);
218
218
  }
@@ -221,7 +221,7 @@ var se = function() {
221
221
  n = { error: x };
222
222
  } finally {
223
223
  try {
224
- d && !d.done && (i = z.return) && i.call(z);
224
+ d && !d.done && (i = Z.return) && i.call(Z);
225
225
  } finally {
226
226
  if (n) throw n.error;
227
227
  }
@@ -234,7 +234,7 @@ var se = function() {
234
234
  var e;
235
235
  if (t && t !== this)
236
236
  if (this.closed)
237
- ze(t);
237
+ Ze(t);
238
238
  else {
239
239
  if (t instanceof r) {
240
240
  if (t.closed || t._hasParent(this))
@@ -261,10 +261,10 @@ var se = function() {
261
261
  }(), r;
262
262
  }(), et = se.EMPTY;
263
263
  function tt(r) {
264
- return r instanceof se || r && "closed" in r && I(r.remove) && I(r.add) && I(r.unsubscribe);
264
+ return r instanceof se || r && "closed" in r && A(r.remove) && A(r.add) && A(r.unsubscribe);
265
265
  }
266
- function ze(r) {
267
- I(r) ? r() : r.unsubscribe();
266
+ function Ze(r) {
267
+ A(r) ? r() : r.unsubscribe();
268
268
  }
269
269
  var $t = {
270
270
  Promise: void 0
@@ -355,7 +355,7 @@ var rt = function(r) {
355
355
  K(t, r);
356
356
  function t(e, n, i) {
357
357
  var o = r.call(this) || this, s;
358
- return I(e) || !e ? s = {
358
+ return A(e) || !e ? s = {
359
359
  next: e != null ? e : void 0,
360
360
  error: n != null ? n : void 0,
361
361
  complete: i != null ? i : void 0
@@ -452,7 +452,7 @@ function Xe(r) {
452
452
  return (t = r != null ? r : $t.Promise) !== null && t !== void 0 ? t : Promise;
453
453
  }
454
454
  function nr(r) {
455
- return r && I(r.next) && I(r.error) && I(r.complete);
455
+ return r && A(r.next) && A(r.error) && A(r.complete);
456
456
  }
457
457
  function ir(r) {
458
458
  return r && r instanceof rt || nr(r) && tt(r);
@@ -582,8 +582,8 @@ var or = Qe(function(r) {
582
582
  }, t.prototype._trimBuffer = function() {
583
583
  var e = this, n = e._bufferSize, i = e._timestampProvider, o = e._buffer, s = e._infiniteTimeWindow, l = (s ? 1 : 2) * n;
584
584
  if (n < 1 / 0 && l < o.length && o.splice(0, o.length - l), !s) {
585
- for (var u = i.now(), y = 0, M = 1; M < o.length && o[M] <= u; M += 2)
586
- y = M;
585
+ for (var u = i.now(), y = 0, k = 1; k < o.length && o[k] <= u; k += 2)
586
+ y = k;
587
587
  y && o.splice(0, y + 1);
588
588
  }
589
589
  }, t;
@@ -599,7 +599,7 @@ window.emWidgets = { topic: ar };
599
599
  const lr = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
600
600
  String(Number.MAX_SAFE_INTEGER).length;
601
601
  Ke.extend(Bt);
602
- const Ye = (r) => Ke(r).format("MMMM D, HH:mm"), ur = () => typeof window == "undefined", cr = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.2075%202.87946H1.125C0.642%202.87946%200.25%203.27134%200.25%203.7542C0.25%203.7542%200.25%204.57383%200.25%205.50367C0.25%206.43177%200.618372%207.32138%201.2755%207.97743C1.93175%208.63436%202.82162%209.00262%203.75%209.00262H4.62062C5.23137%2010.0611%206.37412%2010.7521%207.65162%2010.7521H8.125V13.3763H7.25C6.5535%2013.3763%205.88587%2013.6527%205.39412%2014.1452C4.9015%2014.6368%204.625%2015.3042%204.625%2016.0005C4.625%2016.4344%204.625%2016.8639%204.625%2016.8639L5.5%2017.75H12.5C12.5%2017.75%2013.375%2017.6826%2013.375%2016.8639V16.0005C13.375%2015.3042%2013.0985%2014.6368%2012.6059%2014.1452C12.1141%2013.6527%2011.4465%2013.3763%2010.75%2013.3763H9.875V10.7521H10.3475C11.6259%2010.7521%2012.7678%2010.0611%2013.3794%209.00262H14.25C15.1784%209.00262%2016.0683%208.63436%2016.7245%207.97743C17.3816%207.32138%2017.75%206.43177%2017.75%205.50367V3.7542C17.75%203.27134%2017.358%202.87946%2016.875%202.87946H14.7916L15.1084%201.29619C15.1591%201.03901%2015.0926%200.772216%2014.9264%200.570152C14.7601%200.367213%2014.5116%200.25%2014.2491%200.25L3.74912%200.255246C3.48749%200.255246%203.239%200.373333%203.07275%200.575397C2.90737%200.778336%202.84087%201.04426%202.89162%201.30143L3.2075%202.87946ZM11.625%2016.0005H6.375C6.375%2015.7687%206.46687%2015.5457%206.63137%2015.3821C6.795%2015.2176%207.01813%2015.1258%207.25%2015.1258H10.75C10.9819%2015.1258%2011.205%2015.2176%2011.3686%2015.3821C11.5331%2015.5457%2011.625%2015.7687%2011.625%2016.0005ZM13.1825%201.99948L12.0642%207.59604C11.9006%208.41392%2011.1822%209.00262%2010.3475%209.00262H7.65162C6.81775%209.00262%206.09938%208.41392%205.93575%207.59604L4.8175%202.00384L13.1825%201.99948ZM3.5575%204.62893C3.10337%204.62893%202%204.62893%202%204.62893V5.50367C2%205.96728%202.18462%206.41253%202.51275%206.74055C2.84087%207.06858%203.28625%207.25315%203.75%207.25315H4.0825L3.5575%204.62893ZM14.4416%204.62893L13.9166%207.25315H14.25C14.7137%207.25315%2015.1591%207.06858%2015.4873%206.74055C15.8154%206.41253%2016%205.96728%2016%205.50367V4.62893H14.4416Z'%20fill='white'/%3e%3c/svg%3e", dr = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2030%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.551%204.16666C2.55684%204.17198%202.56317%204.1776%202.57004%204.18349C2.69809%204.29358%202.93213%204.43049%203.2938%204.56201C4.01028%204.82255%205.05531%204.99999%206.24992%204.99999C7.44453%204.99999%208.48956%204.82255%209.20604%204.56201C9.56771%204.43049%209.80175%204.29358%209.9298%204.18349C9.93666%204.1776%209.943%204.17198%209.94884%204.16666C9.943%204.16133%209.93666%204.15572%209.9298%204.14982C9.80175%204.03973%209.56771%203.90282%209.20604%203.77131C8.48956%203.51077%207.44453%203.33332%206.24992%203.33332C5.05531%203.33332%204.01028%203.51077%203.2938%203.77131C2.93213%203.90282%202.69809%204.03973%202.57004%204.14982C2.56317%204.15572%202.55684%204.16133%202.551%204.16666ZM9.99992%206.04163C9.92615%206.07193%209.85128%206.10081%209.77561%206.12833C8.83325%206.47101%207.58661%206.66666%206.24992%206.66666C4.91322%206.66666%203.66659%206.47101%202.72423%206.12833C2.64856%206.10081%202.57369%206.07193%202.49992%206.04163V7.86398C2.5121%207.87898%202.53366%207.90222%202.57004%207.93349C2.69809%208.04358%202.93213%208.18049%203.2938%208.31201C4.01028%208.57254%205.05531%208.74999%206.24992%208.74999C7.44453%208.74999%208.48956%208.57254%209.20604%208.31201C9.56771%208.18049%209.80175%208.04358%209.9298%207.93349C9.96618%207.90222%209.98774%207.87898%209.99992%207.86398V6.04163ZM9.99992%209.79163C9.92615%209.82193%209.85128%209.85081%209.77561%209.87833C8.83325%2010.221%207.58661%2010.4167%206.24992%2010.4167C4.91322%2010.4167%203.66659%2010.221%202.72423%209.87833C2.64856%209.85081%202.57369%209.82193%202.49992%209.79163V11.614C2.5121%2011.629%202.53366%2011.6522%202.57004%2011.6835C2.69809%2011.7936%202.93213%2011.9305%203.2938%2012.062C4.01028%2012.3225%205.05531%2012.5%206.24992%2012.5C7.10597%2012.5%207.89151%2012.4088%208.53614%2012.258C9.09478%2012.1273%209.50237%2011.9625%209.75771%2011.8062C9.83221%2011.6674%209.91307%2011.5324%209.99992%2011.4018V9.79163ZM11.6666%209.83557V4.16666C11.6666%203.60229%2011.3494%203.17239%2011.0163%202.88601C10.6805%202.59731%2010.2434%202.37508%209.77561%202.20498C8.83325%201.86231%207.58661%201.66666%206.24992%201.66666C4.91322%201.66666%203.66659%201.86231%202.72423%202.20498C2.25647%202.37508%201.8193%202.59731%201.4835%202.88601C1.15039%203.17239%200.833252%203.60229%200.833252%204.16666V15.4167C0.833252%2015.981%201.15039%2016.4109%201.4835%2016.6973C1.8193%2016.986%202.25647%2017.2082%202.72423%2017.3783C3.66659%2017.721%204.91322%2017.9167%206.24992%2017.9167C7.25171%2017.9167%208.19625%2017.8069%208.99817%2017.6112C9.42337%2017.5074%209.83222%2017.3738%2010.1963%2017.2062C11.1101%2018.3981%2012.5486%2019.1667%2014.1666%2019.1667C16.928%2019.1667%2019.1666%2016.9281%2019.1666%2014.1667C19.1666%2011.4052%2016.928%209.16666%2014.1666%209.16666C13.2559%209.16666%2012.402%209.41014%2011.6666%209.83557ZM9.16822%2014.2957C9.18087%2014.7953%209.2668%2015.2766%209.41565%2015.7294C9.19988%2015.8216%208.9295%2015.9124%208.60306%2015.992C7.94665%2016.1522%207.13633%2016.25%206.24992%2016.25C5.05531%2016.25%204.01028%2016.0725%203.2938%2015.812C2.93213%2015.6805%202.69809%2015.5436%202.57004%2015.4335C2.53366%2015.4022%202.5121%2015.379%202.49992%2015.364V13.5416C2.57369%2013.5719%202.64856%2013.6008%202.72423%2013.6283C3.66659%2013.971%204.91322%2014.1667%206.24992%2014.1667C7.21803%2014.1667%208.13221%2014.0641%208.9157%2013.8809C9.00426%2013.8602%209.09202%2013.8382%209.17876%2013.815C9.17069%2013.9312%209.16658%2014.0484%209.16658%2014.1667C9.16658%2014.2098%209.16713%2014.2528%209.16822%2014.2957ZM10.8333%2014.1667C10.8333%2016.0076%2012.3256%2017.5%2014.1666%2017.5C16.0075%2017.5%2017.4999%2016.0076%2017.4999%2014.1667C17.4999%2012.3257%2016.0075%2010.8333%2014.1666%2010.8333C12.3256%2010.8333%2010.8333%2012.3257%2010.8333%2014.1667Z'%20fill='white'/%3e%3c/svg%3e", fr = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.4167%203.33332C15.0986%203.33332%2018.0833%206.31809%2018.0833%209.99999C18.0833%2013.6819%2015.0986%2016.6667%2011.4167%2016.6667C9.32275%2016.6667%207.45468%2015.7023%206.23114%2014.1902C5.94163%2013.8325%205.4169%2013.7771%205.05913%2014.0666C4.70135%2014.3561%204.64602%2014.8809%204.93553%2015.2386C6.46191%2017.1249%208.79848%2018.3333%2011.4167%2018.3333C16.019%2018.3333%2019.75%2014.6024%2019.75%209.99999C19.75%205.39762%2016.019%201.66666%2011.4167%201.66666C7.13809%201.66666%203.61263%204.8911%203.13774%209.04253L3.08938%208.99416C2.76399%208.66867%202.23636%208.66859%201.91087%208.99398C1.58539%209.31937%201.58531%209.84701%201.9107%2010.1725L3.57687%2011.8392C3.73313%2011.9955%203.94507%2012.0833%204.16609%2012.0833C4.3871%2012.0834%204.59908%2011.9956%204.75538%2011.8393L6.42254%2010.1727C6.74803%209.84728%206.74811%209.31964%206.42272%208.99415C6.09733%208.66867%205.56969%208.66859%205.2442%208.99398L4.77099%209.46705C5.0425%206.03433%207.91416%203.33332%2011.4167%203.33332ZM11.4167%204.99999C10.9564%204.99999%2010.5833%205.37309%2010.5833%205.83332V9.554L8.45442%2010.9733C8.07148%2011.2286%207.968%2011.746%208.22329%2012.1289C8.47858%2012.5118%208.99598%2012.6153%209.37892%2012.36L11.8789%2010.6934C12.1107%2010.5388%2012.25%2010.2786%2012.25%209.99999V5.83332C12.25%205.37309%2011.8769%204.99999%2011.4167%204.99999Z'%20fill='white'/%3e%3c/svg%3e", pr = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.666748%202.00001C0.666748%201.07954%201.41294%200.333344%202.33341%200.333344C3.25389%200.333344%204.00008%201.07954%204.00008%202.00001C4.00008%202.92048%203.25389%203.66668%202.33341%203.66668C1.41294%203.66668%200.666748%202.92048%200.666748%202.00001ZM5.66675%202.00001C5.66675%201.53977%206.03984%201.16668%206.50008%201.16668H16.5001C16.9603%201.16668%2017.3334%201.53977%2017.3334%202.00001C17.3334%202.46025%2016.9603%202.83334%2016.5001%202.83334L6.50008%202.83334C6.03984%202.83334%205.66675%202.46025%205.66675%202.00001ZM0.666748%207.00001C0.666748%206.07954%201.41294%205.33334%202.33341%205.33334C3.25389%205.33334%204.00008%206.07954%204.00008%207.00001C4.00008%207.92048%203.25389%208.66668%202.33341%208.66668C1.41294%208.66668%200.666748%207.92048%200.666748%207.00001ZM5.66675%207.00001C5.66675%206.53977%206.03984%206.16668%206.50008%206.16668L16.5001%206.16668C16.9603%206.16668%2017.3334%206.53977%2017.3334%207.00001C17.3334%207.46025%2016.9603%207.83334%2016.5001%207.83334L6.50008%207.83334C6.03984%207.83334%205.66675%207.46025%205.66675%207.00001ZM0.666748%2012C0.666748%2011.0795%201.41294%2010.3333%202.33341%2010.3333C3.25389%2010.3333%204.00008%2011.0795%204.00008%2012C4.00008%2012.9205%203.25389%2013.6667%202.33341%2013.6667C1.41294%2013.6667%200.666748%2012.9205%200.666748%2012ZM5.66675%2012C5.66675%2011.5398%206.03984%2011.1667%206.50008%2011.1667L16.5001%2011.1667C16.9603%2011.1667%2017.3334%2011.5398%2017.3334%2012C17.3334%2012.4602%2016.9603%2012.8333%2016.5001%2012.8333L6.50008%2012.8333C6.03984%2012.8333%205.66675%2012.4602%205.66675%2012Z'%20fill='white'/%3e%3c/svg%3e", vr = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.3098%207.23828L5.84025%202.76374L1.3727%207.23828L0%205.8605L5.84025%200.000186443L11.6825%205.8605L10.3098%207.23828Z'%20fill='white'/%3e%3c/svg%3e", hr = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.37278%200L5.84236%204.47454L10.3099%200L11.6826%201.37778L5.84236%207.23809L7.72476e-05%201.37778L1.37278%200Z'%20fill='white'/%3e%3c/svg%3e";
602
+ const Ye = (r) => Ke(r).format("MMMM D, HH:mm"), ur = () => typeof window == "undefined", cr = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.3098%207.23828L5.84025%202.76374L1.3727%207.23828L0%205.8605L5.84025%200.000186443L11.6825%205.8605L10.3098%207.23828Z'%20fill='white'/%3e%3c/svg%3e", dr = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.37278%200L5.84236%204.47454L10.3099%200L11.6826%201.37778L5.84236%207.23809L7.72476e-05%201.37778L1.37278%200Z'%20fill='white'/%3e%3c/svg%3e", fr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.55556%204C6.32986%204%205.33333%204.96094%205.33333%206.14286V13.6429C5.33333%2014.8248%206.32986%2015.7857%207.55556%2015.7857H19.7778C21.0035%2015.7857%2022%2014.8248%2022%2013.6429V6.14286C22%204.96094%2021.0035%204%2019.7778%204H7.55556ZM13.6667%207.21429C15.2014%207.21429%2016.4444%208.41295%2016.4444%209.89286C16.4444%2011.3728%2015.2014%2012.5714%2013.6667%2012.5714C12.1319%2012.5714%2010.8889%2011.3728%2010.8889%209.89286C10.8889%208.41295%2012.1319%207.21429%2013.6667%207.21429ZM7.55556%208.01786V6.41071C7.55556%206.26339%207.68056%206.14286%207.83333%206.14286H9.5C9.65278%206.14286%209.78125%206.26339%209.76042%206.41071C9.63542%207.3817%208.83681%208.14844%207.83333%208.26897C7.68056%208.28571%207.55556%208.16518%207.55556%208.01786ZM7.55556%2011.7679C7.55556%2011.6205%207.68056%2011.4967%207.83333%2011.5167C8.84028%2011.6373%209.63542%2012.4074%209.76042%2013.375C9.77778%2013.5223%209.65278%2013.6429%209.5%2013.6429H7.83333C7.68056%2013.6429%207.55556%2013.5223%207.55556%2013.375V11.7679ZM19.5%208.26897C18.4931%208.14844%2017.6979%207.37835%2017.5729%206.41071C17.5556%206.26339%2017.6806%206.14286%2017.8333%206.14286H19.5C19.6528%206.14286%2019.7778%206.26339%2019.7778%206.41071V8.01786C19.7778%208.16518%2019.6528%208.28906%2019.5%208.26897ZM19.7778%2011.7679V13.375C19.7778%2013.5223%2019.6528%2013.6429%2019.5%2013.6429H17.8333C17.6806%2013.6429%2017.5521%2013.5223%2017.5729%2013.375C17.6979%2012.404%2018.4965%2011.6373%2019.5%2011.5167C19.6528%2011.5%2019.7778%2011.6205%2019.7778%2011.7679ZM3.66667%208.01786C3.66667%207.57254%203.29514%207.21429%202.83333%207.21429C2.37153%207.21429%202%207.57254%202%208.01786V16.8571C2%2018.0391%202.99653%2019%204.22222%2019H17.8333C18.2951%2019%2018.6667%2018.6417%2018.6667%2018.1964C18.6667%2017.7511%2018.2951%2017.3929%2017.8333%2017.3929H4.22222C3.91667%2017.3929%203.66667%2017.1518%203.66667%2016.8571V8.01786Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e", pr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%208.16216V8.23516C22%209.09516%2022%209.52616%2021.793%209.87816C21.586%2010.2302%2021.209%2010.4392%2020.457%2010.8582L19.664%2011.2982C20.21%209.45016%2020.393%207.46416%2020.46%205.76616L20.47%205.54516L20.472%205.49316C21.123%205.71916%2021.489%205.88816%2021.717%206.20416C22%206.59716%2022%207.11916%2022%208.16216ZM2%208.16216V8.23516C2%209.09516%202%209.52616%202.207%209.87816C2.414%2010.2302%202.791%2010.4392%203.543%2010.8582L4.337%2011.2982C3.79%209.45016%203.607%207.46416%203.54%205.76616L3.53%205.54516L3.529%205.49316C2.877%205.71916%202.511%205.88816%202.283%206.20416C2%206.59716%202%207.12016%202%208.16216Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.3774%202.34723C14.9305%202.11022%2013.4665%201.99415%2012.0004%202.00023C10.2174%202.00023%208.74737%202.15723%207.62337%202.34723C6.48437%202.53923%205.91537%202.63523%205.43937%203.22123C4.96437%203.80723%204.98937%204.44023%205.03937%205.70623C5.21237%2010.0542%206.15037%2015.4862%2011.2504%2015.9662V19.5002H9.82037C9.58928%2019.5004%209.36537%2019.5805%209.18671%2019.7271C9.00805%2019.8737%208.88567%2020.0776%208.84037%2020.3042L8.65037%2021.2502H6.00037C5.80146%2021.2502%205.61069%2021.3292%205.47004%2021.4699C5.32939%2021.6105%205.25037%2021.8013%205.25037%2022.0002C5.25037%2022.1991%205.32939%2022.3899%205.47004%2022.5306C5.61069%2022.6712%205.80146%2022.7502%206.00037%2022.7502H18.0004C18.1993%2022.7502%2018.3901%2022.6712%2018.5307%2022.5306C18.6714%2022.3899%2018.7504%2022.1991%2018.7504%2022.0002C18.7504%2021.8013%2018.6714%2021.6105%2018.5307%2021.4699C18.3901%2021.3292%2018.1993%2021.2502%2018.0004%2021.2502H15.3504L15.1604%2020.3042C15.1151%2020.0776%2014.9927%2019.8737%2014.814%2019.7271C14.6354%2019.5805%2014.4115%2019.5004%2014.1804%2019.5002H12.7504V15.9662C17.8504%2015.4862%2018.7894%2010.0552%2018.9614%205.70623C19.0114%204.44023%2019.0374%203.80623%2018.5614%203.22123C18.0854%202.63523%2017.5164%202.53923%2016.3774%202.34723ZM12.7874%205.80723C12.9244%205.864%2013.0416%205.96014%2013.124%206.08349C13.2064%206.20685%2013.2504%206.35187%2013.2504%206.50023V10.5002C13.2504%2010.6991%2013.1714%2010.8899%2013.0307%2011.0306C12.89%2011.1712%2012.6993%2011.2502%2012.5004%2011.2502C12.3015%2011.2502%2012.1107%2011.1712%2011.97%2011.0306C11.8294%2010.8899%2011.7504%2010.6991%2011.7504%2010.5002V8.31023L11.5304%208.53023C11.4617%208.60391%2011.3789%208.66302%2011.2869%208.70401C11.1949%208.745%2011.0956%208.76704%2010.9949%208.76882C10.8942%208.7706%2010.7942%208.75207%2010.7008%208.71435C10.6074%208.67663%2010.5226%208.62048%2010.4513%208.54926C10.3801%208.47805%2010.324%208.39321%2010.2862%208.29982C10.2485%208.20644%2010.23%208.10641%2010.2318%208.0057C10.2336%207.905%2010.2556%207.80569%2010.2966%207.71369C10.3376%207.62169%2010.3967%207.53889%2010.4704%207.47023L11.9704%205.97023C12.0752%205.86533%2012.2087%205.79387%2012.3542%205.76485C12.4996%205.73584%2012.6503%205.75059%2012.7874%205.80723Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e", vr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.3226%202.25641C14.3226%202.18841%2014.2954%202.12319%2014.247%202.0751C14.1986%202.02701%2014.133%202%2014.0645%202H6.83871C6.08584%202%205.3638%202.29716%204.83144%202.82611C4.29908%203.35506%204%204.07247%204%204.82051V19.1795C4%2019.9275%204.29908%2020.6449%204.83144%2021.1739C5.3638%2021.7028%206.08584%2022%206.83871%2022H17.1613C17.9142%2022%2018.6362%2021.7028%2019.1686%2021.1739C19.7009%2020.6449%2020%2019.9275%2020%2019.1795V9.07385C20%209.00584%2019.9728%208.94062%2019.9244%208.89254C19.876%208.84445%2019.8104%208.81744%2019.7419%208.81744H15.0968C14.8914%208.81744%2014.6945%208.73639%2014.5493%208.59213C14.4041%208.44787%2014.3226%208.25222%2014.3226%208.04821V2.25641ZM15.0968%2012.2564C15.3021%2012.2564%2015.499%2012.3375%2015.6442%2012.4817C15.7894%2012.626%2015.871%2012.8216%2015.871%2013.0256C15.871%2013.2297%2015.7894%2013.4253%2015.6442%2013.5696C15.499%2013.7138%2015.3021%2013.7949%2015.0968%2013.7949H8.90323C8.6979%2013.7949%208.50098%2013.7138%208.35579%2013.5696C8.2106%2013.4253%208.12903%2013.2297%208.12903%2013.0256C8.12903%2012.8216%208.2106%2012.626%208.35579%2012.4817C8.50098%2012.3375%208.6979%2012.2564%208.90323%2012.2564H15.0968ZM15.0968%2016.359C15.3021%2016.359%2015.499%2016.44%2015.6442%2016.5843C15.7894%2016.7285%2015.871%2016.9242%2015.871%2017.1282C15.871%2017.3322%2015.7894%2017.5279%2015.6442%2017.6721C15.499%2017.8164%2015.3021%2017.8974%2015.0968%2017.8974H8.90323C8.6979%2017.8974%208.50098%2017.8164%208.35579%2017.6721C8.2106%2017.5279%208.12903%2017.3322%208.12903%2017.1282C8.12903%2016.9242%208.2106%2016.7285%208.35579%2016.5843C8.50098%2016.44%208.6979%2016.359%208.90323%2016.359H15.0968Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20d='M15.75%202.82396C15.75%202.63996%2015.943%202.52296%2016.086%202.63796C16.2073%202.73596%2016.315%202.84996%2016.409%202.97996L19.422%207.17696C19.49%207.27296%2019.416%207.39696%2019.298%207.39696H16C15.9337%207.39696%2015.8701%207.37062%2015.8232%207.32373C15.7763%207.27685%2015.75%207.21326%2015.75%207.14696V2.82396Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e", hr = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.8421%2015.8636L17.5516%2017.4L16.8411%2018.5091L13.4211%2016.5455V12H14.8421V15.8636ZM21%2015.6364C21%2019.1545%2018.0347%2022%2014.3684%2022C12.5589%2022%2010.9295%2021.3091%209.73579%2020.1818H4.89474C3.84316%2020.1818%203%2019.3727%203%2018.3636V3.81818C3%203.33597%203.19962%202.87351%203.55496%202.53253C3.91029%202.19156%204.39222%202%204.89474%202H5.84211V8.36364L8.21053%207L10.5789%208.36364V2H16.2632C16.7657%202%2017.2476%202.19156%2017.6029%202.53253C17.9583%202.87351%2018.1579%203.33597%2018.1579%203.81818V10.4182C19.8726%2011.5727%2021%2013.4727%2021%2015.6364ZM19.1053%2015.6364C19.1053%2013.1273%2016.9832%2011.0909%2014.3684%2011.0909C11.7537%2011.0909%209.63158%2013.1273%209.63158%2015.6364C9.63158%2018.1455%2011.7537%2020.1818%2014.3684%2020.1818C16.9832%2020.1818%2019.1053%2018.1455%2019.1053%2015.6364Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e";
603
603
  if (typeof window != "undefined") {
604
604
  let r = function(t) {
605
605
  return function(...e) {
@@ -612,7 +612,7 @@ if (typeof window != "undefined") {
612
612
  }
613
613
  };
614
614
  };
615
- customElements.define = r(customElements.define), import("./TournamentLeaderboard-BjmkrtNX.js").then(({ default: t }) => {
615
+ customElements.define = r(customElements.define), import("./TournamentLeaderboard-CF-QWN1C.js").then(({ default: t }) => {
616
616
  !customElements.get("tournament-leaderboard") && customElements.define("tournament-leaderboard", t.element);
617
617
  });
618
618
  }
@@ -628,7 +628,7 @@ if (typeof window != "undefined") {
628
628
  }
629
629
  };
630
630
  };
631
- customElements.define = r(customElements.define), import("./TournamentDetails-CJVSWVXD.js").then((t) => t.T).then(({ default: t }) => {
631
+ customElements.define = r(customElements.define), import("./TournamentDetails-CIK1Vnx8.js").then((t) => t.T).then(({ default: t }) => {
632
632
  !customElements.get("tournament-details") && customElements.define("tournament-details", t.element);
633
633
  });
634
634
  }
@@ -644,8 +644,8 @@ if (typeof window != "undefined") {
644
644
  }
645
645
  };
646
646
  };
647
- customElements.define = r(customElements.define), import("./TournamentGames-BqZd-C9h.js").then(({ default: t }) => {
648
- !customElements.get("tournaments-list") && customElements.define("tournaments-list", t.element);
647
+ customElements.define = r(customElements.define), import("./TournamentGames-0RUJ48Xu.js").then(({ default: t }) => {
648
+ !customElements.get("tournament-games") && customElements.define("tournament-games", t.element);
649
649
  });
650
650
  }
651
651
  var mr = $('<span class="Spinner svelte-gxy8gu"></span>'), gr = $("<button><!></button>"), yr = $('<div class="TournamemntRulesContent svelte-gxy8gu"><div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img class="svelte-gxy8gu"/></div> <div class="svelte-gxy8gu"><!> <!> <!> <!> <!> <!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div></div>'), br = $('<div class="DetailsWrapper svelte-gxy8gu"><tournament-details></tournament-details> <!></div> <tournament-leaderboard></tournament-leaderboard> <div class="TournamentRulesWrapper svelte-gxy8gu"><button class="TournamentRulesHeader svelte-gxy8gu"><span class="TournamemntRulesTitle svelte-gxy8gu"> </span> <img alt="Icon" class="Icon svelte-gxy8gu"/></button> <!></div> <tournament-games></tournament-games>', 3), wr = $('<div class="SkeletonWrapper svelte-gxy8gu"><div class="Skeleton Details svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Leaderboard svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Rules svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Games svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div></div>'), xr = $('<div class="TournamentDetailsPageWrapper svelte-gxy8gu"><!> <!></div>');
@@ -653,10 +653,10 @@ const Cr = {
653
653
  hash: "svelte-gxy8gu",
654
654
  code: `.svelte-gxy8gu,
655
655
  .svelte-gxy8gu::before,
656
- .svelte-gxy8gu::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.SkeletonWrapper.svelte-gxy8gu {display:flex;flex-direction:column;justify-content:space-between;gap:6px;}.Skeleton.svelte-gxy8gu {width:100%;border-radius:6px;background-color:var(--emw-color-bg-elements, #4A4A4A);overflow:hidden;position:relative;&.Details {height:400px;}&.Leaderboard {height:400px;}&.Rules {height:150px;}&.Games {height:300px;}}.SkeletonShimmer.svelte-gxy8gu {width:100%;height:100%;background:linear-gradient(
656
+ .svelte-gxy8gu::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.SkeletonWrapper.svelte-gxy8gu {display:flex;flex-direction:column;justify-content:space-between;gap:6px;}.Skeleton.svelte-gxy8gu {width:100%;border-radius:6px;background-color:var(--emw-color-skeleton, #333232);overflow:hidden;position:relative;&.Details {height:400px;}&.Leaderboard {height:400px;}&.Rules {height:150px;}&.Games {height:300px;}}.SkeletonShimmer.svelte-gxy8gu {width:100%;height:100%;background:linear-gradient(
657
657
  90deg,
658
658
  transparent 0%,
659
- var(--emw-color-bg-secondary, #434343) 50%,
659
+ var(--emw-color-skeleton, #333232) 50%,
660
660
  transparent 100%
661
661
  );
662
662
  animation: svelte-gxy8gu-loading 1.5s infinite;transform:translateX(-100%);}
@@ -689,37 +689,37 @@ const Cr = {
689
689
  }
690
690
 
691
691
  @media (min-width: 1000px) {.ButtonPrimary.svelte-gxy8gu {display:block;width:300px;margin:auto;}
692
- }.TournamentRulesWrapper.svelte-gxy8gu {border:1px solid var(--emw-color-bg-secondary, #333232);border-radius:4px;overflow:hidden;.TournamentRulesHeader:where(.svelte-gxy8gu) {width:100%;padding:10px;background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-weight:500;font-size:14px;border:none;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:1rem;transition:background 0.2s;}.TournamentRulesHeader:where(.svelte-gxy8gu):hover {background:var(--emw-color-bg-elements, #4A4A4A)}.Icon:where(.svelte-gxy8gu) {width:15px;height:15px;}.TournamemntRulesContent:where(.svelte-gxy8gu) {background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-size:12px;font-weight:200;padding:10px;.TournamentRuleRow:where(.svelte-gxy8gu) {display:flex;gap:10px;margin:6px;.RuleText:where(.svelte-gxy8gu) {align-self:center;}}}}`
692
+ }.TournamentRulesWrapper.svelte-gxy8gu {border:1px solid var(--emw-color-bg-secondary, #333232);border-radius:4px;overflow:hidden;.TournamentRulesHeader:where(.svelte-gxy8gu) {width:100%;padding:10px;background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-weight:500;font-size:14px;border:none;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:1rem;transition:background 0.2s;}.TournamentRulesHeader:where(.svelte-gxy8gu):hover {background:var(--emw-color-bg-elements, #4A4A4A);}.TournamentRulesHeader:where(.svelte-gxy8gu):active {background-color:var(--emw-color-bg-secondary, #333232);}.Icon:where(.svelte-gxy8gu) {width:15px;height:15px;}.TournamemntRulesContent:where(.svelte-gxy8gu) {background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-size:12px;font-weight:200;padding:10px;.TournamentRuleRow:where(.svelte-gxy8gu) {display:flex;gap:10px;margin:6px;.RuleText:where(.svelte-gxy8gu) {align-self:center;}}}}`
693
693
  };
694
694
  function ot(r, t) {
695
- var Le, Re;
696
- Ht(t, !0), jt(r, Cr);
697
- const e = () => Ut(Vt, "$_", n), [n, i] = Dt(), o = F(t, "initialState"), s = F(t, "endpoint"), l = F(t, "language", 7, "en"), u = F(t, "session"), y = F(t, "tournamentid"), M = F(t, "gamesLimit", 7, 6), V = F(t, "platformProp", 7, null);
698
- Gt({ withLocale: "en", translations: {} }), Object.keys(Ve).forEach((a) => {
699
- qt(a, Ve[a]);
695
+ var Re, Oe;
696
+ Vt(t, !0), jt(r, Cr);
697
+ const e = () => zt(Ut, "$_", n), [n, i] = Wt(), o = D(t, "initialState"), s = D(t, "endpoint"), l = D(t, "language", 7, "en"), u = D(t, "session"), y = D(t, "tournamentid"), k = D(t, "gamesLimit", 7, 6), U = D(t, "platformProp", 7, null);
698
+ Gt({ withLocale: "en", translations: {} }), Object.keys(Ue).forEach((a) => {
699
+ qt(a, Ue[a]);
700
700
  });
701
- const z = () => {
701
+ const Z = () => {
702
702
  Xt(l());
703
703
  };
704
- At(() => {
705
- z();
704
+ Ht(() => {
705
+ Z();
706
706
  });
707
- let d = R(Ze(((Le = o()) == null ? void 0 : Le.tournament) || null)), Q = R(Ze([])), x = R(!1), Te = R(void 0), ae = R(!1), Me = R(!1), ke = R(""), ee = R(!1), Ee = R(void 0), J = R(!1);
708
- const te = ur() ? (Re = V()) != null ? Re : "dk" : lr(window.navigator.userAgent), st = () => Fe(this, null, function* () {
707
+ let d = O(Fe(((Re = o()) == null ? void 0 : Re.tournament) || null)), Q = O(Fe([])), x = O(!1), Te = O(void 0), ae = O(!1), ke = O(!1), Me = O(""), ee = O(!1), Ee = O(void 0), J = O(!1);
708
+ const te = ur() ? (Oe = U()) != null ? Oe : "dk" : lr(window.navigator.userAgent), st = () => De(this, null, function* () {
709
709
  C(x, !0);
710
710
  const a = new URL(`${s()}/v1/tournaments/${y()}`), _ = new Headers();
711
711
  u() && _.append("X-SessionId", u());
712
- const W = { method: "GET", headers: _ };
713
- a.searchParams.append("language", l()), a.searchParams.append("expand", "games"), a.searchParams.append("pagination", `games(limit=${M()},offset=0)`), a.searchParams.append("platform", te), fetch(a, W).then((f) => f.json()).then((f) => {
714
- var S, re, P, G, D;
715
- C(d, f == null ? void 0 : f.item, !0), C(Q, (re = (S = f == null ? void 0 : f.item) == null ? void 0 : S.games) == null ? void 0 : re.items, !0), C(Te, (G = (P = f == null ? void 0 : f.item) == null ? void 0 : P.games) == null ? void 0 : G.total, !0), C(Ee, (D = f == null ? void 0 : f.item) == null ? void 0 : D.metadata, !0);
712
+ const I = { method: "GET", headers: _ };
713
+ a.searchParams.append("language", l()), a.searchParams.append("expand", "games"), a.searchParams.append("pagination", `games(limit=${k()},offset=0)`), a.searchParams.append("platform", te), fetch(a, I).then((f) => f.json()).then((f) => {
714
+ var S, re, P, G, W;
715
+ C(d, f == null ? void 0 : f.item, !0), C(Q, (re = (S = f == null ? void 0 : f.item) == null ? void 0 : S.games) == null ? void 0 : re.items, !0), C(Te, (G = (P = f == null ? void 0 : f.item) == null ? void 0 : P.games) == null ? void 0 : G.total, !0), C(Ee, (W = f == null ? void 0 : f.item) == null ? void 0 : W.metadata, !0);
716
716
  }).catch((f) => console.log(f)).finally(() => {
717
717
  C(x, !1);
718
718
  });
719
719
  }), at = () => {
720
720
  fetch(`${s()}/tournaments/${c(d).id}`, { headers: { "X-SessionID": u() } }).then((a) => a.json()).then((a) => {
721
721
  var _;
722
- (_ = a == null ? void 0 : a.item) != null && _.playerEnrolled ? C(ee, !0) : (C(Me, !0), C(ke, a.errorMessage, !0));
722
+ (_ = a == null ? void 0 : a.item) != null && _.playerEnrolled ? C(ee, !0) : (C(ke, !0), C(Me, a.errorMessage, !0));
723
723
  }).catch((a) => console.log(a));
724
724
  }, lt = () => {
725
725
  C(ae, !0);
@@ -727,8 +727,8 @@ function ot(r, t) {
727
727
  a.searchParams.append("language", l()), a.searchParams.append("platform", te);
728
728
  const _ = new Headers();
729
729
  _.append("Content-Type", "application/json"), _.append("X-SessionID", u());
730
- let W = {};
731
- c(d).wallets && c(d).wallets.length > 0 && (W = {
730
+ let I = {};
731
+ c(d).wallets && c(d).wallets.length > 0 && (I = {
732
732
  language: l(),
733
733
  bonusCode: c(d).wallets[0].code,
734
734
  currency: c(d).baseCurrency,
@@ -737,17 +737,17 @@ function ot(r, t) {
737
737
  const f = {
738
738
  method: "PUT",
739
739
  headers: _,
740
- body: JSON.stringify(W)
740
+ body: JSON.stringify(I)
741
741
  };
742
742
  fetch(a, f).then((S) => S.json()).then((S) => {
743
743
  S && (S.success == !0 ? C(ee, !0) : S.errorMessage.match("VersionMismatchException") && at());
744
744
  }).catch((S) => {
745
- console.log(S), C(Me, !0), C(ke, S.errorMessage, !0);
745
+ console.log(S), C(ke, !0), C(Me, S.errorMessage, !0);
746
746
  }).finally(() => C(ae, !1));
747
747
  }, ut = () => {
748
748
  C(J, !c(J));
749
749
  };
750
- It(() => {
750
+ At(() => {
751
751
  o() || u() && y() && s() && st();
752
752
  });
753
753
  var ct = {
@@ -755,114 +755,114 @@ function ot(r, t) {
755
755
  return o();
756
756
  },
757
757
  set initialState(a) {
758
- o(a), Z();
758
+ o(a), F();
759
759
  },
760
760
  get endpoint() {
761
761
  return s();
762
762
  },
763
763
  set endpoint(a) {
764
- s(a), Z();
764
+ s(a), F();
765
765
  },
766
766
  get language() {
767
767
  return l();
768
768
  },
769
769
  set language(a = "en") {
770
- l(a), Z();
770
+ l(a), F();
771
771
  },
772
772
  get session() {
773
773
  return u();
774
774
  },
775
775
  set session(a) {
776
- u(a), Z();
776
+ u(a), F();
777
777
  },
778
778
  get tournamentid() {
779
779
  return y();
780
780
  },
781
781
  set tournamentid(a) {
782
- y(a), Z();
782
+ y(a), F();
783
783
  },
784
784
  get gamesLimit() {
785
- return M();
785
+ return k();
786
786
  },
787
787
  set gamesLimit(a = 6) {
788
- M(a), Z();
788
+ k(a), F();
789
789
  },
790
790
  get platformProp() {
791
- return V();
791
+ return U();
792
792
  },
793
793
  set platformProp(a = null) {
794
- V(a), Z();
794
+ U(a), F();
795
795
  }
796
796
  }, le = xr(), Pe = h(le);
797
797
  {
798
798
  var dt = (a) => {
799
- var _ = br(), W = U(_), f = h(W);
799
+ var _ = br(), I = z(_), f = h(I);
800
800
  v(() => w(f, "tournament", c(d))), v(() => w(f, "language", l())), v(() => w(f, "enrolled", c(d).playerEnrolled)), ne(f, 1, "svelte-gxy8gu");
801
801
  var S = m(f, 2);
802
802
  {
803
803
  var re = (B) => {
804
- var L = gr();
805
- L.__click = lt;
806
- var N = h(L);
804
+ var R = gr();
805
+ R.__click = lt;
806
+ var N = h(R);
807
807
  {
808
808
  var Y = (j) => {
809
- var H = mr();
810
- T(j, H);
809
+ var V = mr();
810
+ T(j, V);
811
811
  }, ce = (j) => {
812
- var H = zt();
813
- v((de) => Ue(H, de), [() => e()("joinButton")]), T(j, H);
812
+ var V = Zt();
813
+ v((de) => ze(V, de), [() => e()("joinButton")]), T(j, V);
814
814
  };
815
815
  E(N, (j) => {
816
816
  c(ae) ? j(Y) : j(ce, !1);
817
817
  });
818
818
  }
819
- g(L), v(() => {
820
- ne(L, 1, `ButtonPrimary ${c(d).playerEnrolled || c(ee) ? "Enrolled" : ""}`, "svelte-gxy8gu"), L.disabled = c(d).playerEnrolled || c(ee);
821
- }), T(B, L);
819
+ g(R), v(() => {
820
+ ne(R, 1, `ButtonPrimary ${c(d).playerEnrolled || c(ee) ? "Enrolled" : ""}`, "svelte-gxy8gu"), R.disabled = c(d).playerEnrolled || c(ee);
821
+ }), T(B, R);
822
822
  };
823
823
  E(S, (B) => {
824
824
  !c(d).playerEnrolled && c(d).state !== "Closed" && B(re);
825
825
  });
826
826
  }
827
- g(W);
828
- var P = m(W, 2);
827
+ g(I);
828
+ var P = m(I, 2);
829
829
  v(() => w(P, "endpoint", s())), v(() => w(P, "language", l())), v(() => w(P, "session", u())), v(() => w(P, "tournamentid", y())), v(() => w(P, "platform", te)), ne(P, 1, "svelte-gxy8gu");
830
- var G = m(P, 2), D = h(G);
831
- D.__click = ut;
832
- var ue = h(D), ht = h(ue, !0);
830
+ var G = m(P, 2), W = h(G);
831
+ W.__click = ut;
832
+ var ue = h(W), ht = h(ue, !0);
833
833
  g(ue);
834
834
  var mt = m(ue, 2);
835
- g(D);
836
- var gt = m(D, 2);
835
+ g(W);
836
+ var gt = m(W, 2);
837
837
  {
838
838
  var yt = (B) => {
839
- var L = yr(), N = h(L), Y = h(N), ce = h(Y);
839
+ var R = yr(), N = h(R), Y = h(N), ce = h(Y);
840
840
  g(Y);
841
- var j = m(Y, 2), H = h(j);
841
+ var j = m(Y, 2), V = h(j);
842
842
  {
843
843
  var de = (p) => {
844
- var b = X(), k = U(b);
845
- A(k, () => e()("scoreCriteriaType.mostRounds")), T(p, b);
844
+ var b = X(), M = z(b);
845
+ H(M, () => e()("scoreCriteriaType.mostRounds")), T(p, b);
846
846
  };
847
- E(H, (p) => {
847
+ E(V, (p) => {
848
848
  c(d).scoreCriteria == "BetCount" && p(de);
849
849
  });
850
850
  }
851
- var Oe = m(H, 2);
851
+ var Le = m(V, 2);
852
852
  {
853
853
  var bt = (p) => {
854
- var b = X(), k = U(b);
855
- A(k, () => e()("scoreCriteriaType.winStakeRatio")), T(p, b);
854
+ var b = X(), M = z(b);
855
+ H(M, () => e()("scoreCriteriaType.winStakeRatio")), T(p, b);
856
856
  };
857
- E(Oe, (p) => {
857
+ E(Le, (p) => {
858
858
  c(d).scoreCriteria == "WinStakeRatio" && p(bt);
859
859
  });
860
860
  }
861
- var Be = m(Oe, 2);
861
+ var Be = m(Le, 2);
862
862
  {
863
863
  var wt = (p) => {
864
- var b = X(), k = U(b);
865
- A(k, () => e()("scoreCriteriaType.maxWinStakeRatio")), T(p, b);
864
+ var b = X(), M = z(b);
865
+ H(M, () => e()("scoreCriteriaType.maxWinStakeRatio")), T(p, b);
866
866
  };
867
867
  E(Be, (p) => {
868
868
  c(d).scoreCriteria == "MaxWinStakeRatio" && p(wt);
@@ -871,28 +871,28 @@ function ot(r, t) {
871
871
  var je = m(Be, 2);
872
872
  {
873
873
  var xt = (p) => {
874
- var b = X(), k = U(b);
875
- A(k, () => e()("scoreCriteriaType.stake")), T(p, b);
874
+ var b = X(), M = z(b);
875
+ H(M, () => e()("scoreCriteriaType.stake")), T(p, b);
876
876
  };
877
877
  E(je, (p) => {
878
878
  c(d).scoreCriteria == "Stake" && p(xt);
879
879
  });
880
880
  }
881
- var Ae = m(je, 2);
881
+ var He = m(je, 2);
882
882
  {
883
883
  var Ct = (p) => {
884
- var b = X(), k = U(b);
885
- A(k, () => e()("scoreCriteriaType.win")), T(p, b);
884
+ var b = X(), M = z(b);
885
+ H(M, () => e()("scoreCriteriaType.win")), T(p, b);
886
886
  };
887
- E(Ae, (p) => {
887
+ E(He, (p) => {
888
888
  c(d).scoreCriteria == "Win" && p(Ct);
889
889
  });
890
890
  }
891
- var _t = m(Ae, 2);
891
+ var _t = m(He, 2);
892
892
  {
893
893
  var St = (p) => {
894
- var b = X(), k = U(b);
895
- A(k, () => e()("scoreCriteriaType.winBetCount")), T(p, b);
894
+ var b = X(), M = z(b);
895
+ H(M, () => e()("scoreCriteriaType.winBetCount")), T(p, b);
896
896
  };
897
897
  E(_t, (p) => {
898
898
  c(d).scoreCriteria == "WinBetCount" && p(St);
@@ -901,33 +901,33 @@ function ot(r, t) {
901
901
  g(j), g(N);
902
902
  var fe = m(N, 2), pe = h(fe), Tt = h(pe);
903
903
  g(pe);
904
- var Ie = m(pe, 2), Mt = h(Ie);
905
- A(Mt, () => e()("miniBetCount", { values: { betCount: c(d).minBetCount } })), g(Ie), g(fe);
906
- var ve = m(fe, 2), he = h(ve), kt = h(he);
904
+ var Ae = m(pe, 2), kt = h(Ae);
905
+ H(kt, () => e()("miniBetCount", { values: { betCount: c(d).minBetCount } })), g(Ae), g(fe);
906
+ var ve = m(fe, 2), he = h(ve), Mt = h(he);
907
907
  g(he);
908
- var We = m(he, 2), Et = h(We);
909
- A(Et, () => e()("timePeriod", {
908
+ var Ie = m(he, 2), Et = h(Ie);
909
+ H(Et, () => e()("timePeriod", {
910
910
  values: {
911
911
  startTime: Ye(c(d).startTime),
912
912
  endTime: Ye(c(d).endTime)
913
913
  }
914
- })), g(We), g(ve);
915
- var De = m(ve, 2), me = h(De), Pt = h(me);
914
+ })), g(Ie), g(ve);
915
+ var We = m(ve, 2), me = h(We), Pt = h(me);
916
916
  g(me);
917
- var He = m(me, 2), Lt = h(He);
918
- A(Lt, () => e()("terms", { values: { tcUrl: c(d).termsUrl || "#" } })), g(He), g(De), g(L), v(() => {
919
- q(ce, "src", cr), q(Tt, "src", dr), q(kt, "src", fr), q(Pt, "src", pr);
920
- }), T(B, L);
917
+ var Ve = m(me, 2), Rt = h(Ve);
918
+ H(Rt, () => e()("terms", { values: { tcUrl: c(d).termsUrl || "#" } })), g(Ve), g(We), g(R), v(() => {
919
+ q(ce, "src", pr), q(Tt, "src", fr), q(Mt, "src", hr), q(Pt, "src", vr);
920
+ }), T(B, R);
921
921
  };
922
922
  E(gt, (B) => {
923
923
  c(J) && B(yt);
924
924
  });
925
925
  }
926
926
  g(G);
927
- var O = m(G, 2);
928
- v(() => w(O, "endpoint", s())), v(() => w(O, "language", l())), v(() => w(O, "session", u())), v(() => w(O, "tournamentid", y())), v(() => w(O, "platform", te)), v(() => w(O, "initialGames", c(Q))), v(() => w(O, "totalGames", c(Te))), v(() => w(O, "tournamentMetadata", c(Ee))), ne(O, 1, "svelte-gxy8gu"), v(
927
+ var L = m(G, 2);
928
+ v(() => w(L, "endpoint", s())), v(() => w(L, "language", l())), v(() => w(L, "session", u())), v(() => w(L, "tournamentid", y())), v(() => w(L, "platform", te)), v(() => w(L, "initialGames", c(Q))), v(() => w(L, "totalGames", c(Te))), v(() => w(L, "tournamentMetadata", c(Ee) || {})), ne(L, 1, "svelte-gxy8gu"), v(
929
929
  (B) => {
930
- q(D, "aria-expanded", c(J)), Ue(ht, B), q(mt, "src", c(J) ? vr : hr);
930
+ q(W, "aria-expanded", c(J)), ze(ht, B), q(mt, "src", c(J) ? cr : dr);
931
931
  },
932
932
  [() => e()("rules")]
933
933
  ), T(a, _);
@@ -947,11 +947,11 @@ function ot(r, t) {
947
947
  });
948
948
  }
949
949
  g(le), T(r, le);
950
- var vt = Wt(ct);
950
+ var vt = It(ct);
951
951
  return i(), vt;
952
952
  }
953
- Ft(["click"]);
954
- Zt(
953
+ Dt(["click"]);
954
+ customElements.define("tournament-details-page", Ft(
955
955
  ot,
956
956
  {
957
957
  initialState: {},
@@ -964,8 +964,8 @@ Zt(
964
964
  },
965
965
  [],
966
966
  [],
967
- !0
968
- );
967
+ !1
968
+ ));
969
969
  const Tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
970
970
  __proto__: null,
971
971
  default: ot