@everymatrix/casino-tournaments-controller 1.61.1 → 1.62.0
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.
- package/components/{CasinoTournamentsController-D6vZoeoj.js → CasinoTournamentsController--v7Db-nS.js} +574 -552
- package/components/{CasinoTournamentsController-Cf2DQVn2.js → CasinoTournamentsController-B7T1o6MJ.js} +735 -713
- package/components/CasinoTournamentsController-CZ-9rz_b.cjs +27 -0
- package/components/{CasinoTournamentsFilterController-CdMh8n3B.js → CasinoTournamentsFilterController-D87dskAM.js} +20 -20
- package/components/{CasinoTournamentsFilterController-BtN_XgvH.cjs → CasinoTournamentsFilterController-NmQFysPE.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-Tx9mruBX.js → CasinoTournamentsFilterController-dCThVL3G.js} +22 -22
- package/components/{CasinoTournamentsListController-EAJbvzEx.js → CasinoTournamentsListController-C0Tn6XLC.js} +21 -21
- package/components/{CasinoTournamentsListController-DZqBQlj6.js → CasinoTournamentsListController-CVKwStEk.js} +21 -21
- package/components/{CasinoTournamentsListController-CYBH9J8C.cjs → CasinoTournamentsListController-qLXWt65S.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnail-zYhefJ1_.js → CasinoTournamentsThumbnail-B6vVUkXU.js} +36 -36
- package/components/{CasinoTournamentsThumbnail-DU9HLE4D.cjs → CasinoTournamentsThumbnail-CutNBEY9.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-C8RmbAI-.js → CasinoTournamentsThumbnail-Dh5yOBII.js} +41 -41
- package/components/{CasinoTournamentsThumbnailController-CRzezmPu.cjs → CasinoTournamentsThumbnailController-B4LzyUAt.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-CmkBRABp.js → CasinoTournamentsThumbnailController-Csobnf4h.js} +73 -73
- package/components/{CasinoTournamentsThumbnailController-DDD5ArFE.js → CasinoTournamentsThumbnailController-ImrFDGq7.js} +43 -43
- package/components/{CasinoTournamentsThumbnailDuration-BHrVYN85.js → CasinoTournamentsThumbnailDuration-BIHBBD4m.js} +40 -40
- package/components/{CasinoTournamentsThumbnailDuration-Dm-htkCW.js → CasinoTournamentsThumbnailDuration-BOSDqPIP.js} +46 -46
- package/components/{CasinoTournamentsThumbnailDuration-BEMD3bKM.cjs → CasinoTournamentsThumbnailDuration-DLOov4TV.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-t0ZbTDnq.js → CasinoTournamentsThumbnailGamesSlider-BKEUZ6M0.js} +37 -37
- package/components/{CasinoTournamentsThumbnailGamesSlider-D8RrwqTu.cjs → CasinoTournamentsThumbnailGamesSlider-Blv_3Sia.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-FbfeqM_U.js → CasinoTournamentsThumbnailGamesSlider-C7uGGzGz.js} +54 -54
- package/components/{CasinoTournamentsThumbnailPrizes-DK71Uz6a.js → CasinoTournamentsThumbnailPrizes-BmPaa3r7.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-ChVRuO0C.cjs → CasinoTournamentsThumbnailPrizes-CdcFiTcf.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DsKcbeBA.js → CasinoTournamentsThumbnailPrizes-Cgjahh7G.js} +15 -15
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsController-Cs0Zwt7u.cjs +0 -27
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z as oe, E as Ve, a as Ze, S as Qe, i as Ye,
|
|
1
|
+
import { z as oe, E as Ve, a as Ze, S as Qe, i as Ye, f as y, c as $e, s as et, b as tt, e as z, h as _, n as se, j as k, k as nt, w as rt, F as ze, u as it, m as S, y as l, d, o as b, A as ot, B as st, t as D, p as M, $ as lt, r as R, x as Le, C as at, v as L } from "./CasinoTournamentsController-B7T1o6MJ.js";
|
|
2
2
|
function ut({ withLocale: n, translations: e }) {
|
|
3
3
|
oe.subscribe((t) => {
|
|
4
4
|
t == null && (Ve.set(e), oe.set(n));
|
|
@@ -112,7 +112,7 @@ if (typeof window < "u") {
|
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
115
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-B6vVUkXU.js").then(({ default: e }) => {
|
|
116
116
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
|
|
117
117
|
});
|
|
118
118
|
}
|
|
@@ -128,7 +128,7 @@ if (typeof window < "u") {
|
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
131
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-BIHBBD4m.js").then(({ default: e }) => {
|
|
132
132
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
133
133
|
"casino-tournaments-thumbnail-duration",
|
|
134
134
|
e.element
|
|
@@ -147,7 +147,7 @@ if (typeof window < "u") {
|
|
|
147
147
|
}
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
150
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-Cgjahh7G.js").then(({ default: e }) => {
|
|
151
151
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
|
|
152
152
|
});
|
|
153
153
|
}
|
|
@@ -163,7 +163,7 @@ if (typeof window < "u") {
|
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
166
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-C7uGGzGz.js").then(
|
|
167
167
|
({ default: e }) => {
|
|
168
168
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
169
169
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -173,12 +173,12 @@ if (typeof window < "u") {
|
|
|
173
173
|
);
|
|
174
174
|
}
|
|
175
175
|
function dt(n) {
|
|
176
|
-
|
|
176
|
+
tt(n, "svelte-1kmemyq", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}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
177
|
}
|
|
178
178
|
function ct(n) {
|
|
179
179
|
let e, t, r, s, i, a, u, m, h, c = (
|
|
180
180
|
/*isLoggedIn*/
|
|
181
|
-
n[14] &&
|
|
181
|
+
n[14] && je(n)
|
|
182
182
|
);
|
|
183
183
|
function F(f, g) {
|
|
184
184
|
if (!/*isLoggedIn*/
|
|
@@ -206,7 +206,7 @@ function ct(n) {
|
|
|
206
206
|
);
|
|
207
207
|
return {
|
|
208
208
|
c() {
|
|
209
|
-
e = z("div"), t = z("casino-tournaments-thumbnail"), r =
|
|
209
|
+
e = z("div"), t = z("casino-tournaments-thumbnail"), r = S(), c && c.c(), s = S(), i = z("div"), v && v.c(), a = S(), w && w.c(), u = S(), T && T.c(), l(
|
|
210
210
|
t,
|
|
211
211
|
"session",
|
|
212
212
|
/*session*/
|
|
@@ -301,7 +301,7 @@ function ct(n) {
|
|
|
301
301
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
302
302
|
},
|
|
303
303
|
m(f, g) {
|
|
304
|
-
|
|
304
|
+
_(f, e, g), b(e, t), b(e, r), c && c.m(e, null), b(e, s), b(e, i), v && v.m(i, null), b(e, a), w && w.m(e, null), b(e, u), T && T.m(e, null);
|
|
305
305
|
},
|
|
306
306
|
p(f, g) {
|
|
307
307
|
g[0] & /*session*/
|
|
@@ -407,7 +407,7 @@ function ct(n) {
|
|
|
407
407
|
/*keepbrowsercontext*/
|
|
408
408
|
f[9]
|
|
409
409
|
), /*isLoggedIn*/
|
|
410
|
-
f[14] ? c ? c.p(f, g) : (c =
|
|
410
|
+
f[14] ? c ? c.p(f, g) : (c = je(f), c.c(), c.m(e, s)) : c && (c.d(1), c = null), E === (E = F(f)) && v ? v.p(f, g) : (v && v.d(1), v = E && E(f), v && (v.c(), v.m(i, null))), /*errorJoin*/
|
|
411
411
|
f[17] || /*errorJoinConcurrently*/
|
|
412
412
|
f[19] ? w ? w.p(f, g) : (w = Me(f), w.c(), w.m(e, u)) : w && (w.d(1), w = null), /*showslider*/
|
|
413
413
|
f[4] == "true" ? T ? T.p(f, g) : (T = Ae(f), T.c(), T.m(e, null)) : T && (T.d(1), T = null), g[0] & /*maxwidth, fullsize*/
|
|
@@ -424,7 +424,7 @@ function ct(n) {
|
|
|
424
424
|
(f[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "part", h);
|
|
425
425
|
},
|
|
426
426
|
d(f) {
|
|
427
|
-
f &&
|
|
427
|
+
f && k(e), c && c.d(), v && v.d(), w && w.d(), T && T.d();
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
430
|
}
|
|
@@ -442,7 +442,7 @@ function mt(n) {
|
|
|
442
442
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
443
443
|
},
|
|
444
444
|
m(i, a) {
|
|
445
|
-
|
|
445
|
+
_(i, e, a), b(e, t);
|
|
446
446
|
},
|
|
447
447
|
p(i, a) {
|
|
448
448
|
a[0] & /*maxwidth, fullsize*/
|
|
@@ -459,18 +459,18 @@ function mt(n) {
|
|
|
459
459
|
(i[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "part", s);
|
|
460
460
|
},
|
|
461
461
|
d(i) {
|
|
462
|
-
i &&
|
|
462
|
+
i && k(e);
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function je(n) {
|
|
467
467
|
let e, t, r = (
|
|
468
468
|
/*tourid*/
|
|
469
|
-
n[24] &&
|
|
469
|
+
n[24] && Be(n)
|
|
470
470
|
);
|
|
471
471
|
return {
|
|
472
472
|
c() {
|
|
473
|
-
r && r.c(), e =
|
|
473
|
+
r && r.c(), e = S(), t = z("casino-tournaments-thumbnail-duration"), l(
|
|
474
474
|
t,
|
|
475
475
|
"clientstyling",
|
|
476
476
|
/*clientstyling*/
|
|
@@ -508,11 +508,11 @@ function Be(n) {
|
|
|
508
508
|
), l(t, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill");
|
|
509
509
|
},
|
|
510
510
|
m(s, i) {
|
|
511
|
-
r && r.m(s, i),
|
|
511
|
+
r && r.m(s, i), _(s, e, i), _(s, t, i);
|
|
512
512
|
},
|
|
513
513
|
p(s, i) {
|
|
514
514
|
/*tourid*/
|
|
515
|
-
s[24] ? r ? r.p(s, i) : (r =
|
|
515
|
+
s[24] ? r ? r.p(s, i) : (r = Be(s), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), i[0] & /*clientstyling*/
|
|
516
516
|
1024 && l(
|
|
517
517
|
t,
|
|
518
518
|
"clientstyling",
|
|
@@ -557,11 +557,11 @@ function Be(n) {
|
|
|
557
557
|
);
|
|
558
558
|
},
|
|
559
559
|
d(s) {
|
|
560
|
-
s && (
|
|
560
|
+
s && (k(e), k(t)), r && r.d(s);
|
|
561
561
|
}
|
|
562
562
|
};
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function Be(n) {
|
|
565
565
|
let e, t, r, s;
|
|
566
566
|
return {
|
|
567
567
|
c() {
|
|
@@ -588,7 +588,7 @@ function Se(n) {
|
|
|
588
588
|
), l(e, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
|
|
589
589
|
},
|
|
590
590
|
m(i, a) {
|
|
591
|
-
|
|
591
|
+
_(i, e, a), r || (s = ot(t = /*sendTournamentPrizes*/
|
|
592
592
|
n[37].call(
|
|
593
593
|
null,
|
|
594
594
|
e,
|
|
@@ -629,7 +629,7 @@ function Se(n) {
|
|
|
629
629
|
);
|
|
630
630
|
},
|
|
631
631
|
d(i) {
|
|
632
|
-
i &&
|
|
632
|
+
i && k(e), r = !1, s();
|
|
633
633
|
}
|
|
634
634
|
};
|
|
635
635
|
}
|
|
@@ -643,7 +643,7 @@ function gt(n) {
|
|
|
643
643
|
e = z("button"), r = D(t), d(e, "class", "DetailsLargeButton"), d(e, "part", "DetailsLargeButton");
|
|
644
644
|
},
|
|
645
645
|
m(a, u) {
|
|
646
|
-
|
|
646
|
+
_(a, e, u), b(e, r), s || (i = R(
|
|
647
647
|
e,
|
|
648
648
|
"click",
|
|
649
649
|
/*click_handler_4*/
|
|
@@ -656,14 +656,14 @@ function gt(n) {
|
|
|
656
656
|
a[32]("details") + "") && M(r, t);
|
|
657
657
|
},
|
|
658
658
|
d(a) {
|
|
659
|
-
a &&
|
|
659
|
+
a && k(e), s = !1, i();
|
|
660
660
|
}
|
|
661
661
|
};
|
|
662
662
|
}
|
|
663
663
|
function ht(n) {
|
|
664
664
|
let e, t, r = (
|
|
665
665
|
/*showdetails*/
|
|
666
|
-
n[3] == "true" &&
|
|
666
|
+
n[3] == "true" && Se(n)
|
|
667
667
|
);
|
|
668
668
|
function s(u, m) {
|
|
669
669
|
return (
|
|
@@ -674,17 +674,17 @@ function ht(n) {
|
|
|
674
674
|
let i = s(n), a = i(n);
|
|
675
675
|
return {
|
|
676
676
|
c() {
|
|
677
|
-
r && r.c(), e =
|
|
677
|
+
r && r.c(), e = S(), a.c(), t = Le();
|
|
678
678
|
},
|
|
679
679
|
m(u, m) {
|
|
680
|
-
r && r.m(u, m),
|
|
680
|
+
r && r.m(u, m), _(u, e, m), a.m(u, m), _(u, t, m);
|
|
681
681
|
},
|
|
682
682
|
p(u, m) {
|
|
683
683
|
/*showdetails*/
|
|
684
|
-
u[3] == "true" ? r ? r.p(u, m) : (r =
|
|
684
|
+
u[3] == "true" ? r ? r.p(u, m) : (r = Se(u), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null), i === (i = s(u)) && a ? a.p(u, m) : (a.d(1), a = i(u), a && (a.c(), a.m(t.parentNode, t)));
|
|
685
685
|
},
|
|
686
686
|
d(u) {
|
|
687
|
-
u && (
|
|
687
|
+
u && (k(e), k(t)), r && r.d(u), a.d(u);
|
|
688
688
|
}
|
|
689
689
|
};
|
|
690
690
|
}
|
|
@@ -698,10 +698,10 @@ function pt(n) {
|
|
|
698
698
|
), u, m, h;
|
|
699
699
|
return {
|
|
700
700
|
c() {
|
|
701
|
-
e = z("button"), r = D(t), s =
|
|
701
|
+
e = z("button"), r = D(t), s = S(), i = z("button"), u = D(a), d(e, "class", "LoginButton"), d(e, "part", "LoginButton"), d(i, "class", "RegisterButton"), d(i, "part", "RegisterButton");
|
|
702
702
|
},
|
|
703
703
|
m(c, F) {
|
|
704
|
-
|
|
704
|
+
_(c, e, F), b(e, r), _(c, s, F), _(c, i, F), b(i, u), m || (h = [
|
|
705
705
|
R(
|
|
706
706
|
e,
|
|
707
707
|
"click",
|
|
@@ -724,11 +724,11 @@ function pt(n) {
|
|
|
724
724
|
c[32]("register") + "") && M(u, a);
|
|
725
725
|
},
|
|
726
726
|
d(c) {
|
|
727
|
-
c && (
|
|
727
|
+
c && (k(e), k(s), k(i)), m = !1, at(h);
|
|
728
728
|
}
|
|
729
729
|
};
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function Se(n) {
|
|
732
732
|
let e, t = (
|
|
733
733
|
/*$_*/
|
|
734
734
|
n[32]("details") + ""
|
|
@@ -738,7 +738,7 @@ function je(n) {
|
|
|
738
738
|
e = z("button"), r = D(t), d(e, "class", "DetailsButton"), d(e, "part", "DetailsButton");
|
|
739
739
|
},
|
|
740
740
|
m(a, u) {
|
|
741
|
-
|
|
741
|
+
_(a, e, u), b(e, r), s || (i = R(
|
|
742
742
|
e,
|
|
743
743
|
"click",
|
|
744
744
|
/*click_handler_2*/
|
|
@@ -751,7 +751,7 @@ function je(n) {
|
|
|
751
751
|
a[32]("details") + "") && M(r, t);
|
|
752
752
|
},
|
|
753
753
|
d(a) {
|
|
754
|
-
a &&
|
|
754
|
+
a && k(e), s = !1, i();
|
|
755
755
|
}
|
|
756
756
|
};
|
|
757
757
|
}
|
|
@@ -772,7 +772,7 @@ function wt(n) {
|
|
|
772
772
|
n[17];
|
|
773
773
|
},
|
|
774
774
|
m(h, c) {
|
|
775
|
-
|
|
775
|
+
_(h, e, c), m.m(e, null), s || (i = R(
|
|
776
776
|
e,
|
|
777
777
|
"click",
|
|
778
778
|
/*click_handler_3*/
|
|
@@ -789,7 +789,7 @@ function wt(n) {
|
|
|
789
789
|
h[17]);
|
|
790
790
|
},
|
|
791
791
|
d(h) {
|
|
792
|
-
h &&
|
|
792
|
+
h && k(e), m.d(), s = !1, i();
|
|
793
793
|
}
|
|
794
794
|
};
|
|
795
795
|
}
|
|
@@ -803,14 +803,14 @@ function bt(n) {
|
|
|
803
803
|
t && t.c(), e = Le();
|
|
804
804
|
},
|
|
805
805
|
m(r, s) {
|
|
806
|
-
t && t.m(r, s),
|
|
806
|
+
t && t.m(r, s), _(r, e, s);
|
|
807
807
|
},
|
|
808
808
|
p(r, s) {
|
|
809
809
|
/*showdetails*/
|
|
810
810
|
r[3] == "true" ? t ? t.p(r, s) : (t = De(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
811
811
|
},
|
|
812
812
|
d(r) {
|
|
813
|
-
r &&
|
|
813
|
+
r && k(e), t && t.d(r);
|
|
814
814
|
}
|
|
815
815
|
};
|
|
816
816
|
}
|
|
@@ -821,10 +821,10 @@ function _t(n) {
|
|
|
821
821
|
), r, s, i, a, u, m, h, c;
|
|
822
822
|
return {
|
|
823
823
|
c() {
|
|
824
|
-
e = z("span"), r = D(t), s =
|
|
824
|
+
e = z("span"), r = D(t), s = S(), i = L("svg"), a = L("defs"), u = L("style"), m = D(".a{fill:var(--emw--color-white, #FFFFFF);}"), h = L("g"), c = L("path"), d(e, "part", "JoinButtonSpan"), d(c, "class", "a"), d(c, "part", "a JoinButtonSvgA"), d(c, "d", "M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"), d(c, "transform", "translate(26 26) rotate(180)"), d(h, "transform", "translate(26 26) rotate(180)"), d(i, "part", "JoinButtonSvg"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "26"), d(i, "height", "26"), d(i, "viewBox", "0 0 26 26");
|
|
825
825
|
},
|
|
826
826
|
m(F, E) {
|
|
827
|
-
|
|
827
|
+
_(F, e, E), b(e, r), _(F, s, E), _(F, i, E), b(i, a), b(a, u), b(u, m), b(i, h), b(h, c);
|
|
828
828
|
},
|
|
829
829
|
p(F, E) {
|
|
830
830
|
E[1] & /*$_*/
|
|
@@ -832,7 +832,7 @@ function _t(n) {
|
|
|
832
832
|
F[32]("join") + "") && M(r, t);
|
|
833
833
|
},
|
|
834
834
|
d(F) {
|
|
835
|
-
F && (
|
|
835
|
+
F && (k(e), k(s), k(i));
|
|
836
836
|
}
|
|
837
837
|
};
|
|
838
838
|
}
|
|
@@ -843,11 +843,11 @@ function kt(n) {
|
|
|
843
843
|
e = L("svg"), t = L("circle"), d(t, "cx", "20"), d(t, "cy", "20"), d(t, "r", "18"), d(e, "class", "spinner"), d(e, "part", "spinner");
|
|
844
844
|
},
|
|
845
845
|
m(r, s) {
|
|
846
|
-
|
|
846
|
+
_(r, e, s), b(e, t);
|
|
847
847
|
},
|
|
848
848
|
p: se,
|
|
849
849
|
d(r) {
|
|
850
|
-
r &&
|
|
850
|
+
r && k(e);
|
|
851
851
|
}
|
|
852
852
|
};
|
|
853
853
|
}
|
|
@@ -861,7 +861,7 @@ function De(n) {
|
|
|
861
861
|
e = z("button"), r = D(t), d(e, "class", "EnrolledButton"), d(e, "part", "EnrolledButton"), e.disabled = !0;
|
|
862
862
|
},
|
|
863
863
|
m(s, i) {
|
|
864
|
-
|
|
864
|
+
_(s, e, i), b(e, r);
|
|
865
865
|
},
|
|
866
866
|
p(s, i) {
|
|
867
867
|
i[1] & /*$_*/
|
|
@@ -869,7 +869,7 @@ function De(n) {
|
|
|
869
869
|
s[32]("enrolled") + "") && M(r, t);
|
|
870
870
|
},
|
|
871
871
|
d(s) {
|
|
872
|
-
s &&
|
|
872
|
+
s && k(e);
|
|
873
873
|
}
|
|
874
874
|
};
|
|
875
875
|
}
|
|
@@ -880,13 +880,13 @@ function Me(n) {
|
|
|
880
880
|
), r, s, i;
|
|
881
881
|
return {
|
|
882
882
|
c() {
|
|
883
|
-
e = z("span"), r = D(t), s =
|
|
883
|
+
e = z("span"), r = D(t), s = S(), i = D(
|
|
884
884
|
/*errorJoinText*/
|
|
885
885
|
n[18]
|
|
886
886
|
), d(e, "class", "ErrorText"), d(e, "part", "ErrorText");
|
|
887
887
|
},
|
|
888
888
|
m(a, u) {
|
|
889
|
-
|
|
889
|
+
_(a, e, u), b(e, r), b(e, s), b(e, i);
|
|
890
890
|
},
|
|
891
891
|
p(a, u) {
|
|
892
892
|
u[1] & /*$_*/
|
|
@@ -899,7 +899,7 @@ function Me(n) {
|
|
|
899
899
|
);
|
|
900
900
|
},
|
|
901
901
|
d(a) {
|
|
902
|
-
a &&
|
|
902
|
+
a && k(e);
|
|
903
903
|
}
|
|
904
904
|
};
|
|
905
905
|
}
|
|
@@ -935,7 +935,7 @@ function Ae(n) {
|
|
|
935
935
|
), l(e, "scrollby", "2"), l(e, "exportparts", "TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton");
|
|
936
936
|
},
|
|
937
937
|
m(t, r) {
|
|
938
|
-
|
|
938
|
+
_(t, e, r);
|
|
939
939
|
},
|
|
940
940
|
p(t, r) {
|
|
941
941
|
r[0] & /*clientstyling*/
|
|
@@ -971,7 +971,7 @@ function Ae(n) {
|
|
|
971
971
|
);
|
|
972
972
|
},
|
|
973
973
|
d(t) {
|
|
974
|
-
t &&
|
|
974
|
+
t && k(e);
|
|
975
975
|
}
|
|
976
976
|
};
|
|
977
977
|
}
|
|
@@ -995,7 +995,7 @@ function yt(n) {
|
|
|
995
995
|
e = z("div"), s && s.c();
|
|
996
996
|
},
|
|
997
997
|
m(i, a) {
|
|
998
|
-
|
|
998
|
+
_(i, e, a), s && s.m(e, null), n[52](e);
|
|
999
999
|
},
|
|
1000
1000
|
p(i, a) {
|
|
1001
1001
|
r === (r = t(i)) && s ? s.p(i, a) : (s && s.d(1), s = r && r(i), s && (s.c(), s.m(e, null)));
|
|
@@ -1003,14 +1003,14 @@ function yt(n) {
|
|
|
1003
1003
|
i: se,
|
|
1004
1004
|
o: se,
|
|
1005
1005
|
d(i) {
|
|
1006
|
-
i &&
|
|
1006
|
+
i && k(e), s && s.d(), n[52](null);
|
|
1007
1007
|
}
|
|
1008
1008
|
};
|
|
1009
1009
|
}
|
|
1010
1010
|
function Ft(n, e, t) {
|
|
1011
1011
|
let r;
|
|
1012
|
-
|
|
1013
|
-
let { session: s = "" } = e, { userid: i = "" } = e, { tournamenturl: a = "" } = e, { touridx: u } = e, { endpoint: m = "" } = e, { showdetails: h = "" } = e, { showslider: c = "" } = e, { showenrolled: F = "" } = e, { maxwidth: E = "" } = e, { fullsize: v = "" } = e, { lang: w = "" } = e, { loginevent: T = "" } = e, { registerevent: f = "" } = e, { loginurl: g = "" } = e, { registerurl: U = "" } = e, { currency: Q = "" } = e, { keepbrowsercontext: le = "false" } = e, { clientstyling: H = "" } = e, { clientstylingurl: N = "" } = e, { translationurl: W = "" } = e, { tournamentinfo: q } = e, A, P = !1, G = "", I = !0, ae = window.navigator.userAgent, K = !1, X = !1, ue = "There was an error while trying to join the tournament", Y = !1, fe, de, ce, x,
|
|
1012
|
+
nt(n, lt, (o) => t(32, r = o));
|
|
1013
|
+
let { session: s = "" } = e, { userid: i = "" } = e, { tournamenturl: a = "" } = e, { touridx: u } = e, { endpoint: m = "" } = e, { showdetails: h = "" } = e, { showslider: c = "" } = e, { showenrolled: F = "" } = e, { maxwidth: E = "" } = e, { fullsize: v = "" } = e, { lang: w = "" } = e, { loginevent: T = "" } = e, { registerevent: f = "" } = e, { loginurl: g = "" } = e, { registerurl: U = "" } = e, { currency: Q = "" } = e, { keepbrowsercontext: le = "false" } = e, { clientstyling: H = "" } = e, { clientstylingurl: N = "" } = e, { translationurl: W = "" } = e, { tournamentinfo: q } = e, A, P = !1, G = "", I = !0, ae = window.navigator.userAgent, K = !1, X = !1, ue = "There was an error while trying to join the tournament", Y = !1, fe, de, ce, x, B, me, $, ge, he, pe = [], ee = [], we = "#", te, V = !1;
|
|
1014
1014
|
ut({ withLocale: "en", translations: {} });
|
|
1015
1015
|
const Oe = () => {
|
|
1016
1016
|
fetch(W).then((p) => p.json()).then((p) => {
|
|
@@ -1025,11 +1025,11 @@ function Ft(n, e, t) {
|
|
|
1025
1025
|
Ce(o, Ee[o]);
|
|
1026
1026
|
});
|
|
1027
1027
|
const be = (o) => {
|
|
1028
|
-
Pe(o), re(o), Te(this,
|
|
1028
|
+
Pe(o), re(o), Te(this, B);
|
|
1029
1029
|
}, _e = (o) => {
|
|
1030
1030
|
if (o.data && o.data.type == "UserSessionID" && (t(14, P = !0), G = o.data.session), o.data.type == "UpdateTournamentView") {
|
|
1031
1031
|
let p = o.data.tournamentData;
|
|
1032
|
-
if (
|
|
1032
|
+
if (B && B != p.id)
|
|
1033
1033
|
return;
|
|
1034
1034
|
be(p);
|
|
1035
1035
|
}
|
|
@@ -1037,7 +1037,7 @@ function Ft(n, e, t) {
|
|
|
1037
1037
|
let p = o.data.tournamentData, C = u < 4 ? u * 100 : Math.random() * 300 + 300;
|
|
1038
1038
|
t(31, V = u == 1), setTimeout(
|
|
1039
1039
|
() => {
|
|
1040
|
-
t(31, V = !0), t(24,
|
|
1040
|
+
t(31, V = !0), t(24, B = p.id), be(p);
|
|
1041
1041
|
},
|
|
1042
1042
|
C
|
|
1043
1043
|
), setTimeout(
|
|
@@ -1050,7 +1050,7 @@ function Ft(n, e, t) {
|
|
|
1050
1050
|
}, Pe = (o) => {
|
|
1051
1051
|
o.state != x && (t(23, x = o.state), window.postMessage(
|
|
1052
1052
|
{
|
|
1053
|
-
type: `TournamentStatus_${
|
|
1053
|
+
type: `TournamentStatus_${B}`,
|
|
1054
1054
|
status: x
|
|
1055
1055
|
},
|
|
1056
1056
|
window.location.href
|
|
@@ -1100,23 +1100,23 @@ function Ft(n, e, t) {
|
|
|
1100
1100
|
};
|
|
1101
1101
|
const ve = () => {
|
|
1102
1102
|
t(16, K = !1), t(26, $ = !0);
|
|
1103
|
-
}, ie = (
|
|
1104
|
-
t(16, K = !1),
|
|
1103
|
+
}, ie = (j) => {
|
|
1104
|
+
t(16, K = !1), j && t(18, ue = j), t(17, X = !0);
|
|
1105
1105
|
}, J = await (async () => {
|
|
1106
|
-
let
|
|
1106
|
+
let j;
|
|
1107
1107
|
try {
|
|
1108
|
-
|
|
1108
|
+
j = await fetch(C, Xe), j = await j.json();
|
|
1109
1109
|
} catch {
|
|
1110
1110
|
ie();
|
|
1111
1111
|
}
|
|
1112
|
-
return
|
|
1112
|
+
return j;
|
|
1113
1113
|
})();
|
|
1114
1114
|
if (J)
|
|
1115
1115
|
if (J.success == !0)
|
|
1116
1116
|
ve();
|
|
1117
1117
|
else if (J.errorMessage.match("VersionMismatchException")) {
|
|
1118
|
-
let
|
|
1119
|
-
|
|
1118
|
+
let j;
|
|
1119
|
+
j = await fetch(`${m}/tournaments/${B}`, { headers: { "X-SessionID": s } }), j = await j.json(), j?.item?.playerEnrolled ? ve() : (ie(J.errorMessage), t(19, Y = !0), t(17, X = !1));
|
|
1120
1120
|
} else
|
|
1121
1121
|
ie(J.errorMessage);
|
|
1122
1122
|
}, Te = (o, p) => {
|
|
@@ -1128,7 +1128,7 @@ function Ft(n, e, t) {
|
|
|
1128
1128
|
window.location.href
|
|
1129
1129
|
);
|
|
1130
1130
|
}, re = (o) => {
|
|
1131
|
-
o && (t(20, fe = o.nameOrTitle || ""), t(21, de = o.startTime), t(22, ce = o.endTime), t(23, x = o.state), t(24,
|
|
1131
|
+
o && (t(20, fe = o.nameOrTitle || ""), t(21, de = o.startTime), t(22, ce = o.endTime), t(23, x = o.state), t(24, B = o.id), t(25, me = o.thumbnail), t(26, $ = o.playerEnrolled === "true" || o.playerEnrolled == !0 || !1), t(27, ge = o.scoreCriteria), t(28, he = o.minBetCount), pe = o.prizes, t(29, ee = o.wallets || []), t(30, we = o.termsUrl || "#"));
|
|
1132
1132
|
}, Ie = (o) => {
|
|
1133
1133
|
t(15, I = !0);
|
|
1134
1134
|
let p = new URL(o), C = new Headers();
|
|
@@ -1161,12 +1161,12 @@ function Ft(n, e, t) {
|
|
|
1161
1161
|
);
|
|
1162
1162
|
});
|
|
1163
1163
|
};
|
|
1164
|
-
|
|
1164
|
+
rt(() => (t(15, I = !1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", _e, !1), () => {
|
|
1165
1165
|
window.removeEventListener("message", _e);
|
|
1166
1166
|
}));
|
|
1167
|
-
const He = () => ke(), Ne = () => ye(), We = () => ne(
|
|
1167
|
+
const He = () => ke(), Ne = () => ye(), We = () => ne(B), qe = () => Fe(B, ee), Ge = () => ne(B);
|
|
1168
1168
|
function Ke(o) {
|
|
1169
|
-
|
|
1169
|
+
it[o ? "unshift" : "push"](() => {
|
|
1170
1170
|
A = o, t(13, A);
|
|
1171
1171
|
});
|
|
1172
1172
|
}
|
|
@@ -1206,7 +1206,7 @@ function Ft(n, e, t) {
|
|
|
1206
1206
|
de,
|
|
1207
1207
|
ce,
|
|
1208
1208
|
x,
|
|
1209
|
-
|
|
1209
|
+
B,
|
|
1210
1210
|
me,
|
|
1211
1211
|
$,
|
|
1212
1212
|
ge,
|
|
@@ -1244,7 +1244,7 @@ class Tt extends Qe {
|
|
|
1244
1244
|
e,
|
|
1245
1245
|
Ft,
|
|
1246
1246
|
yt,
|
|
1247
|
-
|
|
1247
|
+
et,
|
|
1248
1248
|
{
|
|
1249
1249
|
session: 0,
|
|
1250
1250
|
userid: 1,
|
|
@@ -1399,7 +1399,7 @@ class Tt extends Qe {
|
|
|
1399
1399
|
this.$$set({ tournamentinfo: e }), y();
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
|
-
|
|
1402
|
+
$e(Tt, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
|
|
1403
1403
|
export {
|
|
1404
1404
|
Tt as default
|
|
1405
1405
|
};
|