@everymatrix/casino-tournaments-controller 1.98.7 → 1.98.9

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 (30) hide show
  1. package/components/{CasinoTournamentsController-BlMiKPl2.js → CasinoTournamentsController-DDIFwLvv.js} +16 -2
  2. package/components/{CasinoTournamentsController-DFUVNRKB.cjs → CasinoTournamentsController-Djg5TJwL.cjs} +7 -7
  3. package/components/{CasinoTournamentsController--KxuMfhK.js → CasinoTournamentsController-uVAvlLtx.js} +16 -2
  4. package/components/CasinoTournamentsFilterController-CiG7B3jD.cjs +1 -0
  5. package/components/{CasinoTournamentsFilterController-De7rBZBg.js → CasinoTournamentsFilterController-Cyva9Ssb.js} +37 -23
  6. package/components/{CasinoTournamentsFilterController-Co7Y3A0Q.js → CasinoTournamentsFilterController-E9UAdTqn.js} +37 -23
  7. package/components/{CasinoTournamentsListController-BHm42kDT.js → CasinoTournamentsListController-Cnv2AgTN.js} +8 -2
  8. package/components/{CasinoTournamentsListController-D7ag5sAX.js → CasinoTournamentsListController-CtN9in9F.js} +8 -2
  9. package/components/{CasinoTournamentsListController-BW-f92Xs.cjs → CasinoTournamentsListController-nSKsEYr7.cjs} +5 -5
  10. package/components/{CasinoTournamentsThumbnail-CiiTQcPc.js → CasinoTournamentsThumbnail-4hpN3i3a.js} +1 -1
  11. package/components/{CasinoTournamentsThumbnail-3SmFFZga.cjs → CasinoTournamentsThumbnail-CxU_KQgU.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnail-K7Zj-Z65.js → CasinoTournamentsThumbnail-OI2PWgEn.js} +1 -1
  13. package/components/{CasinoTournamentsThumbnailController-CTYS-dAC.js → CasinoTournamentsThumbnailController-CM59fUz7.js} +204 -188
  14. package/components/CasinoTournamentsThumbnailController-CzYPc5fm.cjs +1 -0
  15. package/components/{CasinoTournamentsThumbnailController-BHg7vStj.js → CasinoTournamentsThumbnailController-DH5vJLNV.js} +194 -178
  16. package/components/{CasinoTournamentsThumbnailDuration-B6iNTWo6.cjs → CasinoTournamentsThumbnailDuration-C8nZqhIE.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailDuration-Dq-wZoR7.js → CasinoTournamentsThumbnailDuration-DDYoyc9g.js} +1 -1
  18. package/components/{CasinoTournamentsThumbnailDuration-tvwJ0S7o.js → CasinoTournamentsThumbnailDuration-Dj3LwXcs.js} +1 -1
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-BwVnrgSx.cjs → CasinoTournamentsThumbnailGamesSlider-ByzjH9Jr.cjs} +1 -1
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-Dg8g4DuL.js → CasinoTournamentsThumbnailGamesSlider-LnT75KCe.js} +1 -1
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-Bh-GHMfS.js → CasinoTournamentsThumbnailGamesSlider-og8zVTIG.js} +1 -1
  22. package/components/{CasinoTournamentsThumbnailPrizes-gy7cQt16.js → CasinoTournamentsThumbnailPrizes-C4qdTdYS.js} +1 -1
  23. package/components/{CasinoTournamentsThumbnailPrizes-DR0w4OcV.cjs → CasinoTournamentsThumbnailPrizes-DQhyaShl.cjs} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-DZ4suPGn.js → CasinoTournamentsThumbnailPrizes-DSMl-Ced.js} +1 -1
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
  29. package/components/CasinoTournamentsFilterController-D9bf2WMQ.cjs +0 -1
  30. package/components/CasinoTournamentsThumbnailController-B86yGkIM.cjs +0 -1
@@ -1,13 +1,13 @@
1
- import { C as ue, D as Xe, a as Ve, S as Ze, i as Qe, s as Ye, f as _, b as $e, n as $, d as w, B as o, h as g, e as b, q as T, g as F, r as B, k as et, o as tt, E as je, u as nt, A as fe, F as rt, p as D, t as C, G as it, v as J, H as me, w as L, x as ot, y as st, z as lt, c as at, $ as ut } from "./CasinoTournamentsController--KxuMfhK.js";
1
+ import { C as ue, D as Qe, a as Xe, S as Ve, i as Ze, s as Ye, f as y, b as $e, n as $, d as w, B as o, h as g, e as b, q as T, g as F, r as B, k as et, o as tt, E as Ee, u as nt, A as fe, F as rt, p as D, t as C, G as it, v as R, H as de, w as L, x as ot, y as st, z as lt, c as at, $ as ut } from "./CasinoTournamentsController-uVAvlLtx.js";
2
2
  function ft({ withLocale: r, translations: e }) {
3
3
  ue.subscribe((t) => {
4
- t == null && (Xe.set(e), ue.set(r));
4
+ t == null && (Qe.set(e), ue.set(r));
5
5
  });
6
6
  }
7
7
  function Ce(r, e) {
8
- Ve(r, e);
8
+ Xe(r, e);
9
9
  }
10
- function mt(r) {
10
+ function dt(r) {
11
11
  ue.set(r);
12
12
  }
13
13
  const De = {
@@ -91,6 +91,22 @@ const De = {
91
91
  join: "Junte-se",
92
92
  joinerror: "Ocorreu um erro ao entrar no torneio"
93
93
  },
94
+ ru: {
95
+ login: "Войти",
96
+ register: "Регистрация",
97
+ details: "Подробности",
98
+ enrolled: "Записан",
99
+ join: "Участвовать",
100
+ joinerror: "Произошла ошибка при регистрации на турнир, пожалуйста, попробуйте снова."
101
+ },
102
+ az: {
103
+ login: "Daxil ol",
104
+ register: "Qeydiyyat",
105
+ details: "Ətraflı",
106
+ enrolled: "Qeydiyyatdan keçib",
107
+ join: "Qoşul",
108
+ joinerror: "Turnirə qeydiyyat zamanı xəta baş verdi, zəhmət olmasa yenidən cəhd edin."
109
+ },
94
110
  "en-us": {
95
111
  login: "Log in",
96
112
  register: "Register",
@@ -112,7 +128,7 @@ if (typeof window < "u") {
112
128
  }
113
129
  };
114
130
  };
115
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-CiiTQcPc.js").then(({ default: e }) => {
131
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-4hpN3i3a.js").then(({ default: e }) => {
116
132
  !customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
117
133
  });
118
134
  }
@@ -128,7 +144,7 @@ if (typeof window < "u") {
128
144
  }
129
145
  };
130
146
  };
131
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-tvwJ0S7o.js").then(({ default: e }) => {
147
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-Dj3LwXcs.js").then(({ default: e }) => {
132
148
  !customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
133
149
  "casino-tournaments-thumbnail-duration",
134
150
  e.element
@@ -147,7 +163,7 @@ if (typeof window < "u") {
147
163
  }
148
164
  };
149
165
  };
150
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-DZ4suPGn.js").then(({ default: e }) => {
166
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-DSMl-Ced.js").then(({ default: e }) => {
151
167
  !customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
152
168
  });
153
169
  }
@@ -163,7 +179,7 @@ if (typeof window < "u") {
163
179
  }
164
180
  };
165
181
  };
166
- customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-Dg8g4DuL.js").then(
182
+ customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-LnT75KCe.js").then(
167
183
  ({ default: e }) => {
168
184
  !customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
169
185
  "casino-tournaments-thumbnail-games-slider",
@@ -172,11 +188,11 @@ if (typeof window < "u") {
172
188
  }
173
189
  );
174
190
  }
175
- function dt(r) {
191
+ function mt(r) {
176
192
  $e(r, "svelte-1oqyfnf", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Loading .TournamentCard{background-color:transparent}.Loading .TournamentButtons,.Loading .TournamentPrizes,.Loading .TournamentsGamesSlider{width:100%;display:block;margin:0}.Loading .TournamentButtons .SkeletonRectangle.Skeleton,.Loading .TournamentPrizes .SkeletonRectangle.Skeleton,.Loading .TournamentsGamesSlider .SkeletonRectangle.Skeleton{width:100%}button{cursor:pointer}.TournamentCard{position:relative;background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize{width:100%}.CardMaxWidth{max-width:600px}.TournamentButtons{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons button{cursor:pointer}.LoginButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton:hover{opacity:0.7}.RegisterButton{background:var(--emw--color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton:hover{opacity:0.7}.DetailsButton{background:var(--emw--color-contrast, #07072A);width:40%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton:hover{opacity:0.7}.DetailsLargeButton{background:var(--emw--color-contrast, #07072A);width:100%;height:50px;border:solid var(--emw--color-white, #FFFFFF) 1px;text-align:center;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton:hover{opacity:0.7}.EnrolledButton{background:var(--emw--color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton{background:var(--emw--color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton:hover{opacity:0.7}.JoinButton:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize{width:100%}.ErrorText{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emw--color-contrast, #07072A);border:1px solid var(--emw--color-footer-bg, #212529);border-radius:2px}.ph-item,.ph-item *,.ph-item ::after,.ph-item ::before{box-sizing:border-box}.ph-item::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emw--color-contrast, #07072A), 0) 46%, rgba(var(--emw--color-contrast, #07072A), 0.35) 50%, rgba(var(--emw--color-contrast, #07072A), 0) 54%) 50% 50%;animation:phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item>*{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row div{height:10px;margin-top:7.5px;background-color:var(--emw--color-gray-100, #E6E6E6)}.ph-row .big,.ph-row.big div{height:20px}.ph-row .empty{background-color:rgba(var(--emw--color-contrast, #07072A), 0)}.ph-col-2{flex:0 0 16.6666666667%}.ph-col-4{flex:0 0 33.3333333333%}.ph-col-6{flex:0 0 50%}.ph-col-8{flex:0 0 66.6666666667%}.ph-col-10{flex:0 0 83.3333333333%}.ph-col-12{flex:0 0 100%}[class*=ph-col]{direction:ltr}[class*=ph-col]>*+.ph-row{margin-top:0}[class*=ph-col]>*+*{margin-top:7.5px}.ph-avatar{position:relative;width:100%;min-width:60px;overflow:hidden;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.ph-avatar::before{display:block;padding-top:100%;content:" "}.ph-picture{width:100%;height:120px;background-color:var(--emw--color-gray-100, #E6E6E6)}@keyframes phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner circle{fill:transparent;stroke:var(--emw--color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:spinner 2s linear infinite;-moz-animation:spinner 2s linear infinite;-ms-animation:spinner 2s linear infinite;-o-animation:spinner 2s linear infinite;animation:spinner 2s linear infinite}@-webkit-keyframes spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn{-webkit-animation:fadein 2s linear forwards;animation:fadein 2s linear forwards}.elementToFadeOut{-webkit-animation:fadeout 0.1s ease-out forwards;animation:fadeout 0.1s ease-out forwards}');
177
193
  }
178
194
  function ct(r) {
179
- let e, t, n, s, l, u, f, d = (
195
+ let e, t, n, s, l, u, f, m = (
180
196
  /*tourid*/
181
197
  r[26] && Le(r)
182
198
  );
@@ -196,17 +212,17 @@ function ct(r) {
196
212
  )
197
213
  return ht;
198
214
  }
199
- let h = p(r), a = h && h(r), m = (
215
+ let h = p(r), a = h && h(r), d = (
200
216
  /*errorJoin*/
201
217
  (r[19] || /*errorJoinConcurrently*/
202
218
  r[21]) && Ae(r)
203
219
  ), v = (
204
220
  /*showslider*/
205
- r[4] == "true" && Ie(r)
221
+ r[4] == "true" && xe(r)
206
222
  );
207
223
  return {
208
224
  c() {
209
- d && d.c(), e = B(), t = F("casino-tournaments-thumbnail-duration"), n = B(), s = F("div"), a && a.c(), l = B(), m && m.c(), u = B(), v && v.c(), f = fe(), o(
225
+ m && m.c(), e = B(), t = F("casino-tournaments-thumbnail-duration"), n = B(), s = F("div"), a && a.c(), l = B(), d && d.c(), u = B(), v && v.c(), f = fe(), o(
210
226
  t,
211
227
  "clientstyling",
212
228
  /*clientstyling*/
@@ -249,11 +265,11 @@ function ct(r) {
249
265
  ), o(t, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"), g(s, "class", "TournamentButtons"), g(s, "part", "TournamentButtons");
250
266
  },
251
267
  m(c, k) {
252
- d && d.m(c, k), b(c, e, k), b(c, t, k), b(c, n, k), b(c, s, k), a && a.m(s, null), b(c, l, k), m && m.m(c, k), b(c, u, k), v && v.m(c, k), b(c, f, k);
268
+ m && m.m(c, k), b(c, e, k), b(c, t, k), b(c, n, k), b(c, s, k), a && a.m(s, null), b(c, l, k), d && d.m(c, k), b(c, u, k), v && v.m(c, k), b(c, f, k);
253
269
  },
254
270
  p(c, k) {
255
271
  /*tourid*/
256
- c[26] ? d ? d.p(c, k) : (d = Le(c), d.c(), d.m(e.parentNode, e)) : d && (d.d(1), d = null), k[0] & /*clientstyling*/
272
+ c[26] ? m ? m.p(c, k) : (m = Le(c), m.c(), m.m(e.parentNode, e)) : m && (m.d(1), m = null), k[0] & /*clientstyling*/
257
273
  2048 && o(
258
274
  t,
259
275
  "clientstyling",
@@ -303,11 +319,11 @@ function ct(r) {
303
319
  c[24]
304
320
  ), h === (h = p(c)) && a ? a.p(c, k) : (a && a.d(1), a = h && h(c), a && (a.c(), a.m(s, null))), /*errorJoin*/
305
321
  c[19] || /*errorJoinConcurrently*/
306
- c[21] ? m ? m.p(c, k) : (m = Ae(c), m.c(), m.m(u.parentNode, u)) : m && (m.d(1), m = null), /*showslider*/
307
- c[4] == "true" ? v ? v.p(c, k) : (v = Ie(c), v.c(), v.m(f.parentNode, f)) : v && (v.d(1), v = null);
322
+ c[21] ? d ? d.p(c, k) : (d = Ae(c), d.c(), d.m(u.parentNode, u)) : d && (d.d(1), d = null), /*showslider*/
323
+ c[4] == "true" ? v ? v.p(c, k) : (v = xe(c), v.c(), v.m(f.parentNode, f)) : v && (v.d(1), v = null);
308
324
  },
309
325
  d(c) {
310
- c && (w(e), w(t), w(n), w(s), w(l), w(u), w(f)), d && d.d(c), a && a.d(), m && m.d(c), v && v.d(c);
326
+ c && (w(e), w(t), w(n), w(s), w(l), w(u), w(f)), m && m.d(c), a && a.d(), d && d.d(c), v && v.d(c);
311
327
  }
312
328
  };
313
329
  }
@@ -397,7 +413,7 @@ function Le(r) {
397
413
  "translationurl",
398
414
  /*translationurl*/
399
415
  l[13]
400
- ), t && me(t.update) && u[0] & /*tourid*/
416
+ ), t && de(t.update) && u[0] & /*tourid*/
401
417
  67108864 && t.update.call(
402
418
  null,
403
419
  /*tourid*/
@@ -419,8 +435,8 @@ function ht(r) {
419
435
  e = F("button"), n = C(t), g(e, "class", "DetailsLargeButton"), g(e, "part", "DetailsLargeButton");
420
436
  },
421
437
  m(u, f) {
422
- b(u, e, f), T(e, n), s || (l = J(e, "click", function() {
423
- me(
438
+ b(u, e, f), T(e, n), s || (l = R(e, "click", function() {
439
+ de(
424
440
  /*detailsAction*/
425
441
  r[37].bind(
426
442
  this,
@@ -449,7 +465,7 @@ function pt(r) {
449
465
  /*showdetails*/
450
466
  r[3] == "true" && Pe(r)
451
467
  );
452
- function s(f, d) {
468
+ function s(f, m) {
453
469
  return (
454
470
  /*userenrolled*/
455
471
  f[28] ? kt : bt
@@ -460,12 +476,12 @@ function pt(r) {
460
476
  c() {
461
477
  n && n.c(), e = B(), u.c(), t = fe();
462
478
  },
463
- m(f, d) {
464
- n && n.m(f, d), b(f, e, d), u.m(f, d), b(f, t, d);
479
+ m(f, m) {
480
+ n && n.m(f, m), b(f, e, m), u.m(f, m), b(f, t, m);
465
481
  },
466
- p(f, d) {
482
+ p(f, m) {
467
483
  /*showdetails*/
468
- f[3] == "true" ? n ? n.p(f, d) : (n = Pe(f), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), l === (l = s(f)) && u ? u.p(f, d) : (u.d(1), u = l(f), u && (u.c(), u.m(t.parentNode, t)));
484
+ f[3] == "true" ? n ? n.p(f, m) : (n = Pe(f), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), l === (l = s(f)) && u ? u.p(f, m) : (u.d(1), u = l(f), u && (u.c(), u.m(t.parentNode, t)));
469
485
  },
470
486
  d(f) {
471
487
  f && (w(e), w(t)), n && n.d(f), u.d(f);
@@ -479,26 +495,26 @@ function wt(r) {
479
495
  ), n, s, l, u = (
480
496
  /*$_*/
481
497
  r[34]("register") + ""
482
- ), f, d, p;
498
+ ), f, m, p;
483
499
  return {
484
500
  c() {
485
501
  e = F("button"), n = C(t), s = B(), l = F("button"), f = C(u), g(e, "class", "LoginButton"), g(e, "part", "LoginButton"), g(l, "class", "RegisterButton"), g(l, "part", "RegisterButton");
486
502
  },
487
503
  m(h, a) {
488
- b(h, e, a), T(e, n), b(h, s, a), b(h, l, a), T(l, f), d || (p = [
489
- J(
504
+ b(h, e, a), T(e, n), b(h, s, a), b(h, l, a), T(l, f), m || (p = [
505
+ R(
490
506
  e,
491
507
  "click",
492
508
  /*loginAction*/
493
509
  r[35]
494
510
  ),
495
- J(
511
+ R(
496
512
  l,
497
513
  "click",
498
514
  /*registerAction*/
499
515
  r[36]
500
516
  )
501
- ], d = !0);
517
+ ], m = !0);
502
518
  },
503
519
  p(h, a) {
504
520
  a[1] & /*$_*/
@@ -508,7 +524,7 @@ function wt(r) {
508
524
  h[34]("register") + "") && D(f, u);
509
525
  },
510
526
  d(h) {
511
- h && (w(e), w(s), w(l)), d = !1, it(p);
527
+ h && (w(e), w(s), w(l)), m = !1, it(p);
512
528
  }
513
529
  };
514
530
  }
@@ -522,8 +538,8 @@ function Pe(r) {
522
538
  e = F("button"), n = C(t), g(e, "class", "DetailsButton"), g(e, "part", "DetailsButton");
523
539
  },
524
540
  m(u, f) {
525
- b(u, e, f), T(e, n), s || (l = J(e, "click", function() {
526
- me(
541
+ b(u, e, f), T(e, n), s || (l = R(e, "click", function() {
542
+ de(
527
543
  /*detailsAction*/
528
544
  r[37].bind(
529
545
  this,
@@ -552,19 +568,19 @@ function bt(r) {
552
568
  function u(p, h) {
553
569
  return (
554
570
  /*joinButtonLoading*/
555
- p[18] == !0 ? yt : _t
571
+ p[18] == !0 ? _t : yt
556
572
  );
557
573
  }
558
- let f = u(r), d = f(r);
574
+ let f = u(r), m = f(r);
559
575
  return {
560
576
  c() {
561
- e = F("button"), d.c(), g(e, "class", t = "JoinButton " + /*fullsize*/
577
+ e = F("button"), m.c(), g(e, "class", t = "JoinButton " + /*fullsize*/
562
578
  (r[7] ? "JoinButtonFullSize" : "")), g(e, "part", n = "JoinButton " + /*fullsize*/
563
579
  (r[7] ? "JoinButtonFullSize" : "")), e.disabled = /*errorJoin*/
564
580
  r[19];
565
581
  },
566
582
  m(p, h) {
567
- b(p, e, h), d.m(e, null), s || (l = J(
583
+ b(p, e, h), m.m(e, null), s || (l = R(
568
584
  e,
569
585
  "click",
570
586
  /*click_handler*/
@@ -572,7 +588,7 @@ function bt(r) {
572
588
  ), s = !0);
573
589
  },
574
590
  p(p, h) {
575
- f === (f = u(p)) && d ? d.p(p, h) : (d.d(1), d = f(p), d && (d.c(), d.m(e, null))), h[0] & /*fullsize*/
591
+ f === (f = u(p)) && m ? m.p(p, h) : (m.d(1), m = f(p), m && (m.c(), m.m(e, null))), h[0] & /*fullsize*/
576
592
  128 && t !== (t = "JoinButton " + /*fullsize*/
577
593
  (p[7] ? "JoinButtonFullSize" : "")) && g(e, "class", t), h[0] & /*fullsize*/
578
594
  128 && n !== (n = "JoinButton " + /*fullsize*/
@@ -581,7 +597,7 @@ function bt(r) {
581
597
  p[19]);
582
598
  },
583
599
  d(p) {
584
- p && w(e), d.d(), s = !1, l();
600
+ p && w(e), m.d(), s = !1, l();
585
601
  }
586
602
  };
587
603
  }
@@ -606,20 +622,20 @@ function kt(r) {
606
622
  }
607
623
  };
608
624
  }
609
- function _t(r) {
625
+ function yt(r) {
610
626
  let e, t = (
611
627
  /*$_*/
612
628
  r[34]("join") + ""
613
- ), n, s, l, u, f, d, p, h;
629
+ ), n, s, l, u, f, m, p, h;
614
630
  return {
615
631
  c() {
616
- e = F("span"), n = C(t), s = B(), l = L("svg"), u = L("defs"), f = L("style"), d = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), p = L("g"), h = L("path"), g(e, "part", "JoinButtonSpan"), g(h, "class", "a"), g(h, "part", "a JoinButtonSvgA"), g(h, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), g(h, "transform", "translate(26 26) rotate(180)"), g(p, "transform", "translate(26 26) rotate(180)"), g(l, "part", "JoinButtonSvg"), g(l, "xmlns", "http://www.w3.org/2000/svg"), g(l, "width", "26"), g(l, "height", "26"), g(l, "viewBox", "0 0 26 26");
632
+ e = F("span"), n = C(t), s = B(), l = L("svg"), u = L("defs"), f = L("style"), m = C(".a{fill:var(--emw--color-white, #FFFFFF);}"), p = L("g"), h = L("path"), g(e, "part", "JoinButtonSpan"), g(h, "class", "a"), g(h, "part", "a JoinButtonSvgA"), g(h, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), g(h, "transform", "translate(26 26) rotate(180)"), g(p, "transform", "translate(26 26) rotate(180)"), g(l, "part", "JoinButtonSvg"), g(l, "xmlns", "http://www.w3.org/2000/svg"), g(l, "width", "26"), g(l, "height", "26"), g(l, "viewBox", "0 0 26 26");
617
633
  },
618
- m(a, m) {
619
- b(a, e, m), T(e, n), b(a, s, m), b(a, l, m), T(l, u), T(u, f), T(f, d), T(l, p), T(p, h);
634
+ m(a, d) {
635
+ b(a, e, d), T(e, n), b(a, s, d), b(a, l, d), T(l, u), T(u, f), T(f, m), T(l, p), T(p, h);
620
636
  },
621
- p(a, m) {
622
- m[1] & /*$_*/
637
+ p(a, d) {
638
+ d[1] & /*$_*/
623
639
  8 && t !== (t = /*$_*/
624
640
  a[34]("join") + "") && D(n, t);
625
641
  },
@@ -628,7 +644,7 @@ function _t(r) {
628
644
  }
629
645
  };
630
646
  }
631
- function yt(r) {
647
+ function _t(r) {
632
648
  let e, t;
633
649
  return {
634
650
  c() {
@@ -695,10 +711,10 @@ function Ae(r) {
695
711
  }
696
712
  };
697
713
  }
698
- function Ie(r) {
714
+ function xe(r) {
699
715
  let e, t, n = (
700
716
  /*isLoading*/
701
- r[17] && Oe()
717
+ r[17] && Ie()
702
718
  );
703
719
  return {
704
720
  c() {
@@ -739,7 +755,7 @@ function Ie(r) {
739
755
  },
740
756
  p(s, l) {
741
757
  /*isLoading*/
742
- s[17] ? n || (n = Oe(), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), l[0] & /*clientstyling*/
758
+ s[17] ? n || (n = Ie(), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), l[0] & /*clientstyling*/
743
759
  2048 && o(
744
760
  t,
745
761
  "clientstyling",
@@ -782,7 +798,7 @@ function Ie(r) {
782
798
  }
783
799
  };
784
800
  }
785
- function Oe(r) {
801
+ function Ie(r) {
786
802
  let e;
787
803
  return {
788
804
  c() {
@@ -798,13 +814,13 @@ function Oe(r) {
798
814
  }
799
815
  function Tt(r) {
800
816
  let e, t, n, s, l, u, f;
801
- function d(a, m) {
817
+ function m(a, d) {
802
818
  return (
803
819
  /*isLoading*/
804
820
  a[17] ? gt : ct
805
821
  );
806
822
  }
807
- let p = d(r), h = p(r);
823
+ let p = m(r), h = p(r);
808
824
  return {
809
825
  c() {
810
826
  e = F("div"), t = F("div"), n = F("casino-tournaments-thumbnail"), s = B(), h.c(), o(
@@ -912,136 +928,136 @@ function Tt(r) {
912
928
  (r[33] ? "elementToFadeOut" : "elementToFadeIn")), g(e, "class", f = `${/*isLoading*/
913
929
  r[17] ? "Loading" : ""}`);
914
930
  },
915
- m(a, m) {
916
- b(a, e, m), T(e, t), T(t, n), T(t, s), h.m(t, null), r[51](e);
931
+ m(a, d) {
932
+ b(a, e, d), T(e, t), T(t, n), T(t, s), h.m(t, null), r[51](e);
917
933
  },
918
- p(a, m) {
919
- m[0] & /*detailsevent*/
934
+ p(a, d) {
935
+ d[0] & /*detailsevent*/
920
936
  512 && o(
921
937
  n,
922
938
  "detailsevent",
923
939
  /*detailsevent*/
924
940
  a[9]
925
- ), m[0] & /*userid*/
941
+ ), d[0] & /*userid*/
926
942
  2 && o(
927
943
  n,
928
944
  "userid",
929
945
  /*userid*/
930
946
  a[1]
931
- ), m[0] & /*title*/
947
+ ), d[0] & /*title*/
932
948
  4194304 && o(
933
949
  n,
934
950
  "title",
935
951
  /*title*/
936
952
  a[22]
937
- ), m[0] & /*status*/
953
+ ), d[0] & /*status*/
938
954
  33554432 && o(
939
955
  n,
940
956
  "status",
941
957
  /*status*/
942
958
  a[25]
943
- ), m[0] & /*startdate*/
959
+ ), d[0] & /*startdate*/
944
960
  8388608 && o(
945
961
  n,
946
962
  "startdate",
947
963
  /*startdate*/
948
964
  a[23]
949
- ), m[0] & /*tourid*/
965
+ ), d[0] & /*tourid*/
950
966
  67108864 && o(
951
967
  n,
952
968
  "tourid",
953
969
  /*tourid*/
954
970
  a[26]
955
- ), m[0] & /*scorecriteria*/
971
+ ), d[0] & /*scorecriteria*/
956
972
  536870912 && o(
957
973
  n,
958
974
  "scorecriteria",
959
975
  /*scorecriteria*/
960
976
  a[29]
961
- ), m[0] & /*minbetcount*/
977
+ ), d[0] & /*minbetcount*/
962
978
  1073741824 && o(
963
979
  n,
964
980
  "minbetcount",
965
981
  /*minbetcount*/
966
982
  a[30]
967
- ), m[0] & /*thumbnail*/
983
+ ), d[0] & /*thumbnail*/
968
984
  134217728 && o(
969
985
  n,
970
986
  "thumbnail",
971
987
  /*thumbnail*/
972
988
  a[27]
973
- ), m[0] & /*showenrolled*/
989
+ ), d[0] & /*showenrolled*/
974
990
  32 && o(
975
991
  n,
976
992
  "showenrolled",
977
993
  /*showenrolled*/
978
994
  a[5]
979
- ), m[1] & /*gameurl*/
995
+ ), d[1] & /*gameurl*/
980
996
  2 && o(
981
997
  n,
982
998
  "gameurl",
983
999
  /*gameurl*/
984
1000
  a[32]
985
- ), m[0] & /*betcountmode*/
1001
+ ), d[0] & /*betcountmode*/
986
1002
  1 && o(
987
1003
  n,
988
1004
  "betcountmode",
989
1005
  /*betcountmode*/
990
1006
  a[0]
991
- ), m[0] & /*mbsource*/
1007
+ ), d[0] & /*mbsource*/
992
1008
  16384 && o(
993
1009
  n,
994
1010
  "mbsource",
995
1011
  /*mbsource*/
996
1012
  a[14]
997
- ), m[0] & /*userenrolled*/
1013
+ ), d[0] & /*userenrolled*/
998
1014
  268435456 && o(
999
1015
  n,
1000
1016
  "userenrolled",
1001
1017
  /*userenrolled*/
1002
1018
  a[28]
1003
- ), m[0] & /*clientstyling*/
1019
+ ), d[0] & /*clientstyling*/
1004
1020
  2048 && o(
1005
1021
  n,
1006
1022
  "clientstyling",
1007
1023
  /*clientstyling*/
1008
1024
  a[11]
1009
- ), m[0] & /*clientstylingurl*/
1025
+ ), d[0] & /*clientstylingurl*/
1010
1026
  4096 && o(
1011
1027
  n,
1012
1028
  "clientstylingurl",
1013
1029
  /*clientstylingurl*/
1014
1030
  a[12]
1015
- ), m[0] & /*translationurl*/
1031
+ ), d[0] & /*translationurl*/
1016
1032
  8192 && o(
1017
1033
  n,
1018
1034
  "translationurl",
1019
1035
  /*translationurl*/
1020
1036
  a[13]
1021
- ), m[0] & /*lang*/
1037
+ ), d[0] & /*lang*/
1022
1038
  256 && o(
1023
1039
  n,
1024
1040
  "lang",
1025
1041
  /*lang*/
1026
1042
  a[8]
1027
- ), m[0] & /*keepbrowsercontext*/
1043
+ ), d[0] & /*keepbrowsercontext*/
1028
1044
  1024 && o(
1029
1045
  n,
1030
1046
  "keepbrowsercontext",
1031
1047
  /*keepbrowsercontext*/
1032
1048
  a[10]
1033
- ), p === (p = d(a)) && h ? h.p(a, m) : (h.d(1), h = p(a), h && (h.c(), h.m(t, null))), m[0] & /*maxwidth, fullsize*/
1034
- 192 | m[1] & /*isChanging*/
1049
+ ), p === (p = m(a)) && h ? h.p(a, d) : (h.d(1), h = p(a), h && (h.c(), h.m(t, null))), d[0] & /*maxwidth, fullsize*/
1050
+ 192 | d[1] & /*isChanging*/
1035
1051
  4 && l !== (l = "TournamentCard " + /*maxwidth*/
1036
1052
  (a[6] ? "CardMaxWidth" : "") + /*fullsize*/
1037
1053
  (a[7] ? "CardFullSize" : "") + " " + /*isChanging*/
1038
- (a[33] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "class", l), m[0] & /*maxwidth, fullsize*/
1039
- 192 | m[1] & /*isChanging*/
1054
+ (a[33] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "class", l), d[0] & /*maxwidth, fullsize*/
1055
+ 192 | d[1] & /*isChanging*/
1040
1056
  4 && u !== (u = "TournamentCard " + /*maxwidth*/
1041
1057
  (a[6] ? "CardMaxWidth" : "") + /*fullsize*/
1042
1058
  (a[7] ? "CardFullSize" : "") + " " + /*isChanging*/
1043
1059
  (a[33] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
1044
- (a[33] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "part", u), m[0] & /*isLoading*/
1060
+ (a[33] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "part", u), d[0] & /*isLoading*/
1045
1061
  131072 && f !== (f = `${/*isLoading*/
1046
1062
  a[17] ? "Loading" : ""}`) && g(e, "class", f);
1047
1063
  },
@@ -1055,34 +1071,34 @@ function Tt(r) {
1055
1071
  function Ft(r, e, t) {
1056
1072
  let n;
1057
1073
  et(r, ut, (i) => t(34, n = i));
1058
- let { session: s = "" } = e, { userid: l = "" } = e, { tournamenturl: u = "" } = e, { touridx: f } = e, { endpoint: d = "" } = e, { showdetails: p = "" } = e, { showslider: h = "" } = e, { showenrolled: a = "" } = e, { maxwidth: m = "" } = e, { fullsize: v = "" } = e, { lang: c = "" } = e, { loginevent: k = "" } = e, { registerevent: x = "" } = e, { detailsevent: de = "" } = e, { loginurl: U = "" } = e, { registerurl: H = "" } = e, { currency: ee = "" } = e, { keepbrowsercontext: ce = "false" } = e, { clientstyling: N = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: q = "" } = e, { tournamentinfo: W } = e, { mbsource: K } = e, { tournamentid: te } = e, { betcountmode: X = "minBetCount" } = e, E, Re, M = !1, V = "", A = !0, ge = window.navigator.userAgent, Z = !1, Q = !1, he = "There was an error while trying to join the tournament", ne = !1, re, pe, we, I, j, be, ie, ke, _e, ye = [], oe = [], Te = "#", Y = !1;
1074
+ let { session: s = "" } = e, { userid: l = "" } = e, { tournamenturl: u = "" } = e, { touridx: f } = e, { endpoint: m = "" } = e, { showdetails: p = "" } = e, { showslider: h = "" } = e, { showenrolled: a = "" } = e, { maxwidth: d = "" } = e, { fullsize: v = "" } = e, { lang: c = "" } = e, { loginevent: k = "" } = e, { registerevent: J = "" } = e, { detailsevent: me = "" } = e, { loginurl: U = "" } = e, { registerurl: H = "" } = e, { currency: ee = "" } = e, { keepbrowsercontext: ce = "false" } = e, { clientstyling: N = "" } = e, { clientstylingurl: q = "" } = e, { translationurl: G = "" } = e, { tournamentinfo: W } = e, { mbsource: K } = e, { tournamentid: te } = e, { betcountmode: Q = "minBetCount" } = e, j, Oe, M = !1, X = "", A = !0, ge = window.navigator.userAgent, V = !1, Z = !1, he = "There was an error while trying to join the tournament", ne = !1, re, pe, we, x, E, be, ie, ke, ye, _e = [], oe = [], Te = "#", Y = !1;
1059
1075
  ft({ withLocale: "en", translations: {} });
1060
- const Je = () => {
1061
- fetch(q).then((y) => y.json()).then((y) => {
1062
- Object.keys(y).forEach((z) => {
1063
- Ce(z, y[z]);
1076
+ const Re = () => {
1077
+ fetch(G).then((_) => _.json()).then((_) => {
1078
+ Object.keys(_).forEach((z) => {
1079
+ Ce(z, _[z]);
1064
1080
  });
1065
- }).catch((y) => {
1066
- console.log(y);
1081
+ }).catch((_) => {
1082
+ console.log(_);
1067
1083
  });
1068
1084
  };
1069
1085
  Object.keys(De).forEach((i) => {
1070
1086
  Ce(i, De[i]);
1071
1087
  });
1072
1088
  const Fe = (i) => {
1073
- xe(i), se(i), Se(this, j);
1089
+ Je(i), se(i), Se(this, E);
1074
1090
  }, ve = (i) => {
1075
- if (i.data && i.data.type == "UserSessionID" && (t(16, M = !0), V = i.data.session, Be(d)), i.data.type == "UpdateTournamentView") {
1076
- let y = i.data.tournamentData;
1077
- if (j && j != y.id)
1091
+ if (i.data && i.data.type == "UserSessionID" && (t(16, M = !0), X = i.data.session, Be(m)), i.data.type == "UpdateTournamentView") {
1092
+ let _ = i.data.tournamentData;
1093
+ if (E && E != _.id)
1078
1094
  return;
1079
- Fe(y);
1095
+ Fe(_);
1080
1096
  }
1081
1097
  if (i.data && i.data.type == `UpdateSingleTournament_${f}`) {
1082
- let y = i.data.tournamentData, z = f < 4 ? f * 100 : Math.random() * 300 + 300;
1098
+ let _ = i.data.tournamentData, z = f < 4 ? f * 100 : Math.random() * 300 + 300;
1083
1099
  t(33, Y = f == 1), setTimeout(
1084
1100
  () => {
1085
- t(33, Y = !0), t(26, j = y.id), Fe(y);
1101
+ t(33, Y = !0), t(26, E = _.id), Fe(_);
1086
1102
  },
1087
1103
  z
1088
1104
  ), setTimeout(
@@ -1092,11 +1108,11 @@ function Ft(r, e, t) {
1092
1108
  z + 200
1093
1109
  );
1094
1110
  }
1095
- }, xe = (i) => {
1096
- i.state != I && (t(25, I = i.state), window.postMessage(
1111
+ }, Je = (i) => {
1112
+ i.state != x && (t(25, x = i.state), window.postMessage(
1097
1113
  {
1098
- type: `TournamentStatus_${j}`,
1099
- status: I
1114
+ type: `TournamentStatus_${E}`,
1115
+ status: x
1100
1116
  },
1101
1117
  window.location.href
1102
1118
  ));
@@ -1105,9 +1121,9 @@ function Ft(r, e, t) {
1105
1121
  context: "TournamentsThumbnailController"
1106
1122
  })), U && (window.location = U);
1107
1123
  }, He = () => {
1108
- x && (window.postMessage(
1124
+ J && (window.postMessage(
1109
1125
  {
1110
- type: x,
1126
+ type: J,
1111
1127
  transition: "Register"
1112
1128
  },
1113
1129
  window.location.href
@@ -1123,126 +1139,126 @@ function Ft(r, e, t) {
1123
1139
  },
1124
1140
  window.location.href
1125
1141
  );
1126
- }, ze = async (i, y) => {
1127
- t(19, Q = !1), t(21, ne = !1), window.postMessage(
1142
+ }, ze = async (i, _) => {
1143
+ t(19, Z = !1), t(21, ne = !1), window.postMessage(
1128
1144
  {
1129
1145
  type: "TournamentJoinRequest",
1130
1146
  tournamentId: i
1131
1147
  },
1132
1148
  window.location.href
1133
- ), t(18, Z = !0);
1134
- let z = new URL(`${d}/v1/bonus/claim`), P = new Headers(), le = {};
1135
- z.searchParams.append("language", c), z.searchParams.append("platform", je(ge)), P.append("Content-Type", "application/json"), P.append("X-SessionID", V), y && y.length >= 1 && (le = {
1149
+ ), t(18, V = !0);
1150
+ let z = new URL(`${m}/v1/bonus/claim`), P = new Headers(), le = {};
1151
+ z.searchParams.append("language", c), z.searchParams.append("platform", Ee(ge)), P.append("Content-Type", "application/json"), P.append("X-SessionID", X), _ && _.length >= 1 && (le = {
1136
1152
  language: c,
1137
- bonusCode: y[0].code,
1153
+ bonusCode: _[0].code,
1138
1154
  currency: ee,
1139
1155
  type: "tournament"
1140
1156
  });
1141
- let O = {
1157
+ let I = {
1142
1158
  method: "PUT",
1143
1159
  headers: P,
1144
1160
  body: JSON.stringify(le)
1145
1161
  };
1146
- const Ee = () => {
1147
- t(18, Z = !1), t(28, ie = !0);
1162
+ const je = () => {
1163
+ t(18, V = !1), t(28, ie = !0);
1148
1164
  }, ae = (S) => {
1149
- t(18, Z = !1), S && t(20, he = S), t(19, Q = !0);
1150
- }, R = await (async () => {
1165
+ t(18, V = !1), S && t(20, he = S), t(19, Z = !0);
1166
+ }, O = await (async () => {
1151
1167
  let S;
1152
1168
  try {
1153
- S = await fetch(z, O), S = await S.json();
1169
+ S = await fetch(z, I), S = await S.json();
1154
1170
  } catch {
1155
1171
  ae();
1156
1172
  }
1157
1173
  return S;
1158
1174
  })();
1159
- if (R)
1160
- if (R.success == !0)
1161
- Ee();
1162
- else if (R.errorMessage.match("VersionMismatchException")) {
1175
+ if (O)
1176
+ if (O.success == !0)
1177
+ je();
1178
+ else if (O.errorMessage.match("VersionMismatchException")) {
1163
1179
  let S;
1164
- S = await fetch(`${d}/tournaments/${j}`, { headers: { "X-SessionID": s } }), S = await S.json(), S?.item?.playerEnrolled ? Ee() : (ae(R.errorMessage), t(21, ne = !0), t(19, Q = !1));
1180
+ S = await fetch(`${m}/tournaments/${E}`, { headers: { "X-SessionID": s } }), S = await S.json(), S?.item?.playerEnrolled ? je() : (ae(O.errorMessage), t(21, ne = !0), t(19, Z = !1));
1165
1181
  } else
1166
- ae(R.errorMessage);
1167
- }, Se = (i, y) => {
1182
+ ae(O.errorMessage);
1183
+ }, Se = (i, _) => {
1168
1184
  window.postMessage(
1169
1185
  {
1170
- type: `TournamentPrizes_${y}`,
1171
- prizes: ye
1186
+ type: `TournamentPrizes_${_}`,
1187
+ prizes: _e
1172
1188
  },
1173
1189
  window.location.href
1174
1190
  );
1175
1191
  }, se = (i) => {
1176
- i && (t(22, re = i.nameOrTitle || ""), t(23, pe = i.startTime), t(24, we = i.endTime), t(25, I = i.state), t(26, j = i.id), t(27, be = i.thumbnail), t(28, ie = i.playerEnrolled === "true" || i.playerEnrolled == !0 || !1), t(29, ke = i.scoreCriteria), t(0, X = i.betCountMode || "minBetCount"), t(30, _e = i[X]), ye = i.prizes, t(31, oe = i.wallets || []), t(32, Te = i.termsUrl || "#"));
1192
+ i && (t(22, re = i.nameOrTitle || ""), t(23, pe = i.startTime), t(24, we = i.endTime), t(25, x = i.state), t(26, E = i.id), t(27, be = i.thumbnail), t(28, ie = i.playerEnrolled === "true" || i.playerEnrolled == !0 || !1), t(29, ke = i.scoreCriteria), t(0, Q = i.betCountMode || "minBetCount"), t(30, ye = i[Q]), _e = i.prizes, t(31, oe = i.wallets || []), t(32, Te = i.termsUrl || "#"));
1177
1193
  }, Be = (i) => {
1178
1194
  t(17, A = !0);
1179
- const y = i ? `${i}/v1/tournaments/${te}` : u, z = new URL(y), P = new Headers();
1180
- z.searchParams.append("language", c), z.searchParams.append("platform", je(ge)), M && P.append("X-SessionID", V), fetch(z, { method: "GET", headers: P }).then((O) => O.json()).then((O) => {
1181
- se(O.item);
1195
+ const _ = i ? `${i}/v1/tournaments/${te}` : u, z = new URL(_), P = new Headers();
1196
+ z.searchParams.append("language", c), z.searchParams.append("platform", Ee(ge)), M && P.append("X-SessionID", X), fetch(z, { method: "GET", headers: P }).then((I) => I.json()).then((I) => {
1197
+ se(I.item);
1182
1198
  }).finally(() => {
1183
1199
  t(17, A = !1);
1184
1200
  });
1185
- }, Ge = () => {
1186
- t(16, M = s?.length > 10), M && (V = s);
1187
1201
  }, qe = () => {
1202
+ t(16, M = s?.length > 10), M && (X = s);
1203
+ }, Ge = () => {
1188
1204
  if (W) {
1189
1205
  se(W);
1190
1206
  return;
1191
1207
  }
1192
- t(17, A = !0), Be(d);
1208
+ t(17, A = !0), Be(m);
1193
1209
  };
1194
1210
  tt(() => (t(17, A = !re), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", ve, !1), () => {
1195
1211
  window.removeEventListener("message", ve);
1196
1212
  }));
1197
- const We = () => ze(j, oe);
1213
+ const We = () => ze(E, oe);
1198
1214
  function Ke(i) {
1199
1215
  nt[i ? "unshift" : "push"](() => {
1200
- E = i, t(15, E);
1216
+ j = i, t(15, j);
1201
1217
  });
1202
1218
  }
1203
1219
  return r.$$set = (i) => {
1204
- "session" in i && t(40, s = i.session), "userid" in i && t(1, l = i.userid), "tournamenturl" in i && t(2, u = i.tournamenturl), "touridx" in i && t(41, f = i.touridx), "endpoint" in i && t(42, d = i.endpoint), "showdetails" in i && t(3, p = i.showdetails), "showslider" in i && t(4, h = i.showslider), "showenrolled" in i && t(5, a = i.showenrolled), "maxwidth" in i && t(6, m = i.maxwidth), "fullsize" in i && t(7, v = i.fullsize), "lang" in i && t(8, c = i.lang), "loginevent" in i && t(43, k = i.loginevent), "registerevent" in i && t(44, x = i.registerevent), "detailsevent" in i && t(9, de = i.detailsevent), "loginurl" in i && t(45, U = i.loginurl), "registerurl" in i && t(46, H = i.registerurl), "currency" in i && t(47, ee = i.currency), "keepbrowsercontext" in i && t(10, ce = i.keepbrowsercontext), "clientstyling" in i && t(11, N = i.clientstyling), "clientstylingurl" in i && t(12, G = i.clientstylingurl), "translationurl" in i && t(13, q = i.translationurl), "tournamentinfo" in i && t(48, W = i.tournamentinfo), "mbsource" in i && t(14, K = i.mbsource), "tournamentid" in i && t(49, te = i.tournamentid), "betcountmode" in i && t(0, X = i.betcountmode);
1220
+ "session" in i && t(40, s = i.session), "userid" in i && t(1, l = i.userid), "tournamenturl" in i && t(2, u = i.tournamenturl), "touridx" in i && t(41, f = i.touridx), "endpoint" in i && t(42, m = i.endpoint), "showdetails" in i && t(3, p = i.showdetails), "showslider" in i && t(4, h = i.showslider), "showenrolled" in i && t(5, a = i.showenrolled), "maxwidth" in i && t(6, d = i.maxwidth), "fullsize" in i && t(7, v = i.fullsize), "lang" in i && t(8, c = i.lang), "loginevent" in i && t(43, k = i.loginevent), "registerevent" in i && t(44, J = i.registerevent), "detailsevent" in i && t(9, me = i.detailsevent), "loginurl" in i && t(45, U = i.loginurl), "registerurl" in i && t(46, H = i.registerurl), "currency" in i && t(47, ee = i.currency), "keepbrowsercontext" in i && t(10, ce = i.keepbrowsercontext), "clientstyling" in i && t(11, N = i.clientstyling), "clientstylingurl" in i && t(12, q = i.clientstylingurl), "translationurl" in i && t(13, G = i.translationurl), "tournamentinfo" in i && t(48, W = i.tournamentinfo), "mbsource" in i && t(14, K = i.mbsource), "tournamentid" in i && t(49, te = i.tournamentid), "betcountmode" in i && t(0, Q = i.betcountmode);
1205
1221
  }, r.$$.update = () => {
1206
1222
  r.$$.dirty[0] & /*lang*/
1207
- 256 && c && mt(c), r.$$.dirty[0] & /*translationurl*/
1208
- 8192 && q && Je(), r.$$.dirty[1] & /*session*/
1209
- 512 && s && Ge(), r.$$.dirty[0] & /*tournamenturl, lang*/
1210
- 260 && u && c && qe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1211
- 34816 && N && E && ot(E, N), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1212
- 36864 && G && E && st(E, G), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1213
- 49152 && K && E && lt(E, `${K}.Style`, Re);
1223
+ 256 && c && dt(c), r.$$.dirty[0] & /*translationurl*/
1224
+ 8192 && G && Re(), r.$$.dirty[1] & /*session*/
1225
+ 512 && s && qe(), r.$$.dirty[0] & /*tournamenturl, lang*/
1226
+ 260 && u && c && Ge(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1227
+ 34816 && N && j && ot(j, N), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1228
+ 36864 && q && j && st(j, q), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
1229
+ 49152 && K && j && lt(j, `${K}.Style`, Oe);
1214
1230
  }, [
1215
- X,
1231
+ Q,
1216
1232
  l,
1217
1233
  u,
1218
1234
  p,
1219
1235
  h,
1220
1236
  a,
1221
- m,
1237
+ d,
1222
1238
  v,
1223
1239
  c,
1224
- de,
1240
+ me,
1225
1241
  ce,
1226
1242
  N,
1227
- G,
1228
1243
  q,
1244
+ G,
1229
1245
  K,
1230
- E,
1246
+ j,
1231
1247
  M,
1232
1248
  A,
1249
+ V,
1233
1250
  Z,
1234
- Q,
1235
1251
  he,
1236
1252
  ne,
1237
1253
  re,
1238
1254
  pe,
1239
1255
  we,
1240
- I,
1241
- j,
1256
+ x,
1257
+ E,
1242
1258
  be,
1243
1259
  ie,
1244
1260
  ke,
1245
- _e,
1261
+ ye,
1246
1262
  oe,
1247
1263
  Te,
1248
1264
  Y,
@@ -1254,9 +1270,9 @@ function Ft(r, e, t) {
1254
1270
  Se,
1255
1271
  s,
1256
1272
  f,
1257
- d,
1273
+ m,
1258
1274
  k,
1259
- x,
1275
+ J,
1260
1276
  U,
1261
1277
  H,
1262
1278
  ee,
@@ -1266,9 +1282,9 @@ function Ft(r, e, t) {
1266
1282
  Ke
1267
1283
  ];
1268
1284
  }
1269
- class vt extends Ze {
1285
+ class vt extends Ve {
1270
1286
  constructor(e) {
1271
- super(), Qe(
1287
+ super(), Ze(
1272
1288
  this,
1273
1289
  e,
1274
1290
  Ft,
@@ -1301,7 +1317,7 @@ class vt extends Ze {
1301
1317
  tournamentid: 49,
1302
1318
  betcountmode: 0
1303
1319
  },
1304
- dt,
1320
+ mt,
1305
1321
  [-1, -1, -1]
1306
1322
  );
1307
1323
  }
@@ -1309,151 +1325,151 @@ class vt extends Ze {
1309
1325
  return this.$$.ctx[40];
1310
1326
  }
1311
1327
  set session(e) {
1312
- this.$$set({ session: e }), _();
1328
+ this.$$set({ session: e }), y();
1313
1329
  }
1314
1330
  get userid() {
1315
1331
  return this.$$.ctx[1];
1316
1332
  }
1317
1333
  set userid(e) {
1318
- this.$$set({ userid: e }), _();
1334
+ this.$$set({ userid: e }), y();
1319
1335
  }
1320
1336
  get tournamenturl() {
1321
1337
  return this.$$.ctx[2];
1322
1338
  }
1323
1339
  set tournamenturl(e) {
1324
- this.$$set({ tournamenturl: e }), _();
1340
+ this.$$set({ tournamenturl: e }), y();
1325
1341
  }
1326
1342
  get touridx() {
1327
1343
  return this.$$.ctx[41];
1328
1344
  }
1329
1345
  set touridx(e) {
1330
- this.$$set({ touridx: e }), _();
1346
+ this.$$set({ touridx: e }), y();
1331
1347
  }
1332
1348
  get endpoint() {
1333
1349
  return this.$$.ctx[42];
1334
1350
  }
1335
1351
  set endpoint(e) {
1336
- this.$$set({ endpoint: e }), _();
1352
+ this.$$set({ endpoint: e }), y();
1337
1353
  }
1338
1354
  get showdetails() {
1339
1355
  return this.$$.ctx[3];
1340
1356
  }
1341
1357
  set showdetails(e) {
1342
- this.$$set({ showdetails: e }), _();
1358
+ this.$$set({ showdetails: e }), y();
1343
1359
  }
1344
1360
  get showslider() {
1345
1361
  return this.$$.ctx[4];
1346
1362
  }
1347
1363
  set showslider(e) {
1348
- this.$$set({ showslider: e }), _();
1364
+ this.$$set({ showslider: e }), y();
1349
1365
  }
1350
1366
  get showenrolled() {
1351
1367
  return this.$$.ctx[5];
1352
1368
  }
1353
1369
  set showenrolled(e) {
1354
- this.$$set({ showenrolled: e }), _();
1370
+ this.$$set({ showenrolled: e }), y();
1355
1371
  }
1356
1372
  get maxwidth() {
1357
1373
  return this.$$.ctx[6];
1358
1374
  }
1359
1375
  set maxwidth(e) {
1360
- this.$$set({ maxwidth: e }), _();
1376
+ this.$$set({ maxwidth: e }), y();
1361
1377
  }
1362
1378
  get fullsize() {
1363
1379
  return this.$$.ctx[7];
1364
1380
  }
1365
1381
  set fullsize(e) {
1366
- this.$$set({ fullsize: e }), _();
1382
+ this.$$set({ fullsize: e }), y();
1367
1383
  }
1368
1384
  get lang() {
1369
1385
  return this.$$.ctx[8];
1370
1386
  }
1371
1387
  set lang(e) {
1372
- this.$$set({ lang: e }), _();
1388
+ this.$$set({ lang: e }), y();
1373
1389
  }
1374
1390
  get loginevent() {
1375
1391
  return this.$$.ctx[43];
1376
1392
  }
1377
1393
  set loginevent(e) {
1378
- this.$$set({ loginevent: e }), _();
1394
+ this.$$set({ loginevent: e }), y();
1379
1395
  }
1380
1396
  get registerevent() {
1381
1397
  return this.$$.ctx[44];
1382
1398
  }
1383
1399
  set registerevent(e) {
1384
- this.$$set({ registerevent: e }), _();
1400
+ this.$$set({ registerevent: e }), y();
1385
1401
  }
1386
1402
  get detailsevent() {
1387
1403
  return this.$$.ctx[9];
1388
1404
  }
1389
1405
  set detailsevent(e) {
1390
- this.$$set({ detailsevent: e }), _();
1406
+ this.$$set({ detailsevent: e }), y();
1391
1407
  }
1392
1408
  get loginurl() {
1393
1409
  return this.$$.ctx[45];
1394
1410
  }
1395
1411
  set loginurl(e) {
1396
- this.$$set({ loginurl: e }), _();
1412
+ this.$$set({ loginurl: e }), y();
1397
1413
  }
1398
1414
  get registerurl() {
1399
1415
  return this.$$.ctx[46];
1400
1416
  }
1401
1417
  set registerurl(e) {
1402
- this.$$set({ registerurl: e }), _();
1418
+ this.$$set({ registerurl: e }), y();
1403
1419
  }
1404
1420
  get currency() {
1405
1421
  return this.$$.ctx[47];
1406
1422
  }
1407
1423
  set currency(e) {
1408
- this.$$set({ currency: e }), _();
1424
+ this.$$set({ currency: e }), y();
1409
1425
  }
1410
1426
  get keepbrowsercontext() {
1411
1427
  return this.$$.ctx[10];
1412
1428
  }
1413
1429
  set keepbrowsercontext(e) {
1414
- this.$$set({ keepbrowsercontext: e }), _();
1430
+ this.$$set({ keepbrowsercontext: e }), y();
1415
1431
  }
1416
1432
  get clientstyling() {
1417
1433
  return this.$$.ctx[11];
1418
1434
  }
1419
1435
  set clientstyling(e) {
1420
- this.$$set({ clientstyling: e }), _();
1436
+ this.$$set({ clientstyling: e }), y();
1421
1437
  }
1422
1438
  get clientstylingurl() {
1423
1439
  return this.$$.ctx[12];
1424
1440
  }
1425
1441
  set clientstylingurl(e) {
1426
- this.$$set({ clientstylingurl: e }), _();
1442
+ this.$$set({ clientstylingurl: e }), y();
1427
1443
  }
1428
1444
  get translationurl() {
1429
1445
  return this.$$.ctx[13];
1430
1446
  }
1431
1447
  set translationurl(e) {
1432
- this.$$set({ translationurl: e }), _();
1448
+ this.$$set({ translationurl: e }), y();
1433
1449
  }
1434
1450
  get tournamentinfo() {
1435
1451
  return this.$$.ctx[48];
1436
1452
  }
1437
1453
  set tournamentinfo(e) {
1438
- this.$$set({ tournamentinfo: e }), _();
1454
+ this.$$set({ tournamentinfo: e }), y();
1439
1455
  }
1440
1456
  get mbsource() {
1441
1457
  return this.$$.ctx[14];
1442
1458
  }
1443
1459
  set mbsource(e) {
1444
- this.$$set({ mbsource: e }), _();
1460
+ this.$$set({ mbsource: e }), y();
1445
1461
  }
1446
1462
  get tournamentid() {
1447
1463
  return this.$$.ctx[49];
1448
1464
  }
1449
1465
  set tournamentid(e) {
1450
- this.$$set({ tournamentid: e }), _();
1466
+ this.$$set({ tournamentid: e }), y();
1451
1467
  }
1452
1468
  get betcountmode() {
1453
1469
  return this.$$.ctx[0];
1454
1470
  }
1455
1471
  set betcountmode(e) {
1456
- this.$$set({ betcountmode: e }), _();
1472
+ this.$$set({ betcountmode: e }), y();
1457
1473
  }
1458
1474
  }
1459
1475
  at(vt, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, detailsevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {}, mbsource: {}, tournamentid: {}, betcountmode: {} }, [], [], !0);