@everymatrix/casino-tournaments-controller 1.56.0 → 1.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsController-UUtBZIFh.js → CasinoTournamentsController--v7Db-nS.js} +628 -574
- package/components/{CasinoTournamentsController-CD_5uyUc.js → CasinoTournamentsController-B7T1o6MJ.js} +786 -732
- package/components/CasinoTournamentsController-CZ-9rz_b.cjs +27 -0
- package/components/{CasinoTournamentsFilterController-C6PNRuAN.js → CasinoTournamentsFilterController-D87dskAM.js} +20 -20
- package/components/{CasinoTournamentsFilterController-CDD660uA.cjs → CasinoTournamentsFilterController-NmQFysPE.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-C8EhVpC4.js → CasinoTournamentsFilterController-dCThVL3G.js} +22 -22
- package/components/{CasinoTournamentsListController-wgytIhYX.js → CasinoTournamentsListController-C0Tn6XLC.js} +1164 -1218
- package/components/{CasinoTournamentsListController-l8AH-AQy.js → CasinoTournamentsListController-CVKwStEk.js} +1164 -1218
- package/components/CasinoTournamentsListController-qLXWt65S.cjs +13 -0
- package/components/{CasinoTournamentsThumbnail-C1PdhLiD.js → CasinoTournamentsThumbnail-B6vVUkXU.js} +36 -36
- package/components/{CasinoTournamentsThumbnail-BVAQJY4f.cjs → CasinoTournamentsThumbnail-CutNBEY9.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-CfBfOQ6y.js → CasinoTournamentsThumbnail-Dh5yOBII.js} +41 -41
- package/components/{CasinoTournamentsThumbnailController-B5QfYW6Q.cjs → CasinoTournamentsThumbnailController-B4LzyUAt.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-neX5M-sd.js → CasinoTournamentsThumbnailController-Csobnf4h.js} +83 -78
- package/components/{CasinoTournamentsThumbnailController-DBjAq9-k.js → CasinoTournamentsThumbnailController-ImrFDGq7.js} +53 -48
- package/components/{CasinoTournamentsThumbnailDuration-CGgR5XoL.js → CasinoTournamentsThumbnailDuration-BIHBBD4m.js} +48 -44
- package/components/{CasinoTournamentsThumbnailDuration-sMRWK6Da.js → CasinoTournamentsThumbnailDuration-BOSDqPIP.js} +54 -50
- package/components/{CasinoTournamentsThumbnailDuration-DFP9BWRc.cjs → CasinoTournamentsThumbnailDuration-DLOov4TV.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-BUainTMh.js → CasinoTournamentsThumbnailGamesSlider-BKEUZ6M0.js} +38 -37
- package/components/{CasinoTournamentsThumbnailGamesSlider-CU3QiSRS.cjs → CasinoTournamentsThumbnailGamesSlider-Blv_3Sia.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Bcgbm6UZ.js → CasinoTournamentsThumbnailGamesSlider-C7uGGzGz.js} +56 -55
- package/components/{CasinoTournamentsThumbnailPrizes-Cb6ucU30.js → CasinoTournamentsThumbnailPrizes-BmPaa3r7.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-D5o6hcAd.cjs → CasinoTournamentsThumbnailPrizes-CdcFiTcf.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-pB7CeUbv.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-C1dCP4c5.cjs +0 -14
- package/components/CasinoTournamentsListController-fm8TCneo.cjs +0 -13
|
@@ -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,25 +173,28 @@ 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*/
|
|
185
|
-
f[14])
|
|
185
|
+
f[14])
|
|
186
|
+
return pt;
|
|
186
187
|
if (
|
|
187
188
|
/*status*/
|
|
188
189
|
f[23] != "Closed" && /*status*/
|
|
189
190
|
f[23] != "Closing"
|
|
190
|
-
)
|
|
191
|
+
)
|
|
192
|
+
return ht;
|
|
191
193
|
if (
|
|
192
194
|
/*showdetails*/
|
|
193
195
|
f[3] == "true"
|
|
194
|
-
)
|
|
196
|
+
)
|
|
197
|
+
return gt;
|
|
195
198
|
}
|
|
196
199
|
let E = F(n), v = E && E(n), w = (
|
|
197
200
|
/*errorJoin*/
|
|
@@ -203,7 +206,7 @@ function ct(n) {
|
|
|
203
206
|
);
|
|
204
207
|
return {
|
|
205
208
|
c() {
|
|
206
|
-
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(
|
|
207
210
|
t,
|
|
208
211
|
"session",
|
|
209
212
|
/*session*/
|
|
@@ -298,7 +301,7 @@ function ct(n) {
|
|
|
298
301
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
299
302
|
},
|
|
300
303
|
m(f, g) {
|
|
301
|
-
|
|
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);
|
|
302
305
|
},
|
|
303
306
|
p(f, g) {
|
|
304
307
|
g[0] & /*session*/
|
|
@@ -404,7 +407,7 @@ function ct(n) {
|
|
|
404
407
|
/*keepbrowsercontext*/
|
|
405
408
|
f[9]
|
|
406
409
|
), /*isLoggedIn*/
|
|
407
|
-
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*/
|
|
408
411
|
f[17] || /*errorJoinConcurrently*/
|
|
409
412
|
f[19] ? w ? w.p(f, g) : (w = Me(f), w.c(), w.m(e, u)) : w && (w.d(1), w = null), /*showslider*/
|
|
410
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*/
|
|
@@ -421,7 +424,7 @@ function ct(n) {
|
|
|
421
424
|
(f[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "part", h);
|
|
422
425
|
},
|
|
423
426
|
d(f) {
|
|
424
|
-
f &&
|
|
427
|
+
f && k(e), c && c.d(), v && v.d(), w && w.d(), T && T.d();
|
|
425
428
|
}
|
|
426
429
|
};
|
|
427
430
|
}
|
|
@@ -439,7 +442,7 @@ function mt(n) {
|
|
|
439
442
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
440
443
|
},
|
|
441
444
|
m(i, a) {
|
|
442
|
-
|
|
445
|
+
_(i, e, a), b(e, t);
|
|
443
446
|
},
|
|
444
447
|
p(i, a) {
|
|
445
448
|
a[0] & /*maxwidth, fullsize*/
|
|
@@ -456,18 +459,18 @@ function mt(n) {
|
|
|
456
459
|
(i[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "part", s);
|
|
457
460
|
},
|
|
458
461
|
d(i) {
|
|
459
|
-
i &&
|
|
462
|
+
i && k(e);
|
|
460
463
|
}
|
|
461
464
|
};
|
|
462
465
|
}
|
|
463
|
-
function
|
|
466
|
+
function je(n) {
|
|
464
467
|
let e, t, r = (
|
|
465
468
|
/*tourid*/
|
|
466
|
-
n[24] &&
|
|
469
|
+
n[24] && Be(n)
|
|
467
470
|
);
|
|
468
471
|
return {
|
|
469
472
|
c() {
|
|
470
|
-
r && r.c(), e =
|
|
473
|
+
r && r.c(), e = S(), t = z("casino-tournaments-thumbnail-duration"), l(
|
|
471
474
|
t,
|
|
472
475
|
"clientstyling",
|
|
473
476
|
/*clientstyling*/
|
|
@@ -505,11 +508,11 @@ function Be(n) {
|
|
|
505
508
|
), l(t, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill");
|
|
506
509
|
},
|
|
507
510
|
m(s, i) {
|
|
508
|
-
r && r.m(s, i),
|
|
511
|
+
r && r.m(s, i), _(s, e, i), _(s, t, i);
|
|
509
512
|
},
|
|
510
513
|
p(s, i) {
|
|
511
514
|
/*tourid*/
|
|
512
|
-
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*/
|
|
513
516
|
1024 && l(
|
|
514
517
|
t,
|
|
515
518
|
"clientstyling",
|
|
@@ -554,11 +557,11 @@ function Be(n) {
|
|
|
554
557
|
);
|
|
555
558
|
},
|
|
556
559
|
d(s) {
|
|
557
|
-
s && (
|
|
560
|
+
s && (k(e), k(t)), r && r.d(s);
|
|
558
561
|
}
|
|
559
562
|
};
|
|
560
563
|
}
|
|
561
|
-
function
|
|
564
|
+
function Be(n) {
|
|
562
565
|
let e, t, r, s;
|
|
563
566
|
return {
|
|
564
567
|
c() {
|
|
@@ -585,7 +588,7 @@ function Se(n) {
|
|
|
585
588
|
), l(e, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
|
|
586
589
|
},
|
|
587
590
|
m(i, a) {
|
|
588
|
-
|
|
591
|
+
_(i, e, a), r || (s = ot(t = /*sendTournamentPrizes*/
|
|
589
592
|
n[37].call(
|
|
590
593
|
null,
|
|
591
594
|
e,
|
|
@@ -626,7 +629,7 @@ function Se(n) {
|
|
|
626
629
|
);
|
|
627
630
|
},
|
|
628
631
|
d(i) {
|
|
629
|
-
i &&
|
|
632
|
+
i && k(e), r = !1, s();
|
|
630
633
|
}
|
|
631
634
|
};
|
|
632
635
|
}
|
|
@@ -640,7 +643,7 @@ function gt(n) {
|
|
|
640
643
|
e = z("button"), r = D(t), d(e, "class", "DetailsLargeButton"), d(e, "part", "DetailsLargeButton");
|
|
641
644
|
},
|
|
642
645
|
m(a, u) {
|
|
643
|
-
|
|
646
|
+
_(a, e, u), b(e, r), s || (i = R(
|
|
644
647
|
e,
|
|
645
648
|
"click",
|
|
646
649
|
/*click_handler_4*/
|
|
@@ -653,14 +656,14 @@ function gt(n) {
|
|
|
653
656
|
a[32]("details") + "") && M(r, t);
|
|
654
657
|
},
|
|
655
658
|
d(a) {
|
|
656
|
-
a &&
|
|
659
|
+
a && k(e), s = !1, i();
|
|
657
660
|
}
|
|
658
661
|
};
|
|
659
662
|
}
|
|
660
663
|
function ht(n) {
|
|
661
664
|
let e, t, r = (
|
|
662
665
|
/*showdetails*/
|
|
663
|
-
n[3] == "true" &&
|
|
666
|
+
n[3] == "true" && Se(n)
|
|
664
667
|
);
|
|
665
668
|
function s(u, m) {
|
|
666
669
|
return (
|
|
@@ -671,17 +674,17 @@ function ht(n) {
|
|
|
671
674
|
let i = s(n), a = i(n);
|
|
672
675
|
return {
|
|
673
676
|
c() {
|
|
674
|
-
r && r.c(), e =
|
|
677
|
+
r && r.c(), e = S(), a.c(), t = Le();
|
|
675
678
|
},
|
|
676
679
|
m(u, m) {
|
|
677
|
-
r && r.m(u, m),
|
|
680
|
+
r && r.m(u, m), _(u, e, m), a.m(u, m), _(u, t, m);
|
|
678
681
|
},
|
|
679
682
|
p(u, m) {
|
|
680
683
|
/*showdetails*/
|
|
681
|
-
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)));
|
|
682
685
|
},
|
|
683
686
|
d(u) {
|
|
684
|
-
u && (
|
|
687
|
+
u && (k(e), k(t)), r && r.d(u), a.d(u);
|
|
685
688
|
}
|
|
686
689
|
};
|
|
687
690
|
}
|
|
@@ -695,10 +698,10 @@ function pt(n) {
|
|
|
695
698
|
), u, m, h;
|
|
696
699
|
return {
|
|
697
700
|
c() {
|
|
698
|
-
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");
|
|
699
702
|
},
|
|
700
703
|
m(c, F) {
|
|
701
|
-
|
|
704
|
+
_(c, e, F), b(e, r), _(c, s, F), _(c, i, F), b(i, u), m || (h = [
|
|
702
705
|
R(
|
|
703
706
|
e,
|
|
704
707
|
"click",
|
|
@@ -721,11 +724,11 @@ function pt(n) {
|
|
|
721
724
|
c[32]("register") + "") && M(u, a);
|
|
722
725
|
},
|
|
723
726
|
d(c) {
|
|
724
|
-
c && (
|
|
727
|
+
c && (k(e), k(s), k(i)), m = !1, at(h);
|
|
725
728
|
}
|
|
726
729
|
};
|
|
727
730
|
}
|
|
728
|
-
function
|
|
731
|
+
function Se(n) {
|
|
729
732
|
let e, t = (
|
|
730
733
|
/*$_*/
|
|
731
734
|
n[32]("details") + ""
|
|
@@ -735,7 +738,7 @@ function je(n) {
|
|
|
735
738
|
e = z("button"), r = D(t), d(e, "class", "DetailsButton"), d(e, "part", "DetailsButton");
|
|
736
739
|
},
|
|
737
740
|
m(a, u) {
|
|
738
|
-
|
|
741
|
+
_(a, e, u), b(e, r), s || (i = R(
|
|
739
742
|
e,
|
|
740
743
|
"click",
|
|
741
744
|
/*click_handler_2*/
|
|
@@ -748,7 +751,7 @@ function je(n) {
|
|
|
748
751
|
a[32]("details") + "") && M(r, t);
|
|
749
752
|
},
|
|
750
753
|
d(a) {
|
|
751
|
-
a &&
|
|
754
|
+
a && k(e), s = !1, i();
|
|
752
755
|
}
|
|
753
756
|
};
|
|
754
757
|
}
|
|
@@ -769,7 +772,7 @@ function wt(n) {
|
|
|
769
772
|
n[17];
|
|
770
773
|
},
|
|
771
774
|
m(h, c) {
|
|
772
|
-
|
|
775
|
+
_(h, e, c), m.m(e, null), s || (i = R(
|
|
773
776
|
e,
|
|
774
777
|
"click",
|
|
775
778
|
/*click_handler_3*/
|
|
@@ -786,7 +789,7 @@ function wt(n) {
|
|
|
786
789
|
h[17]);
|
|
787
790
|
},
|
|
788
791
|
d(h) {
|
|
789
|
-
h &&
|
|
792
|
+
h && k(e), m.d(), s = !1, i();
|
|
790
793
|
}
|
|
791
794
|
};
|
|
792
795
|
}
|
|
@@ -800,14 +803,14 @@ function bt(n) {
|
|
|
800
803
|
t && t.c(), e = Le();
|
|
801
804
|
},
|
|
802
805
|
m(r, s) {
|
|
803
|
-
t && t.m(r, s),
|
|
806
|
+
t && t.m(r, s), _(r, e, s);
|
|
804
807
|
},
|
|
805
808
|
p(r, s) {
|
|
806
809
|
/*showdetails*/
|
|
807
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);
|
|
808
811
|
},
|
|
809
812
|
d(r) {
|
|
810
|
-
r &&
|
|
813
|
+
r && k(e), t && t.d(r);
|
|
811
814
|
}
|
|
812
815
|
};
|
|
813
816
|
}
|
|
@@ -818,10 +821,10 @@ function _t(n) {
|
|
|
818
821
|
), r, s, i, a, u, m, h, c;
|
|
819
822
|
return {
|
|
820
823
|
c() {
|
|
821
|
-
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");
|
|
822
825
|
},
|
|
823
826
|
m(F, E) {
|
|
824
|
-
|
|
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);
|
|
825
828
|
},
|
|
826
829
|
p(F, E) {
|
|
827
830
|
E[1] & /*$_*/
|
|
@@ -829,7 +832,7 @@ function _t(n) {
|
|
|
829
832
|
F[32]("join") + "") && M(r, t);
|
|
830
833
|
},
|
|
831
834
|
d(F) {
|
|
832
|
-
F && (
|
|
835
|
+
F && (k(e), k(s), k(i));
|
|
833
836
|
}
|
|
834
837
|
};
|
|
835
838
|
}
|
|
@@ -840,11 +843,11 @@ function kt(n) {
|
|
|
840
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");
|
|
841
844
|
},
|
|
842
845
|
m(r, s) {
|
|
843
|
-
|
|
846
|
+
_(r, e, s), b(e, t);
|
|
844
847
|
},
|
|
845
848
|
p: se,
|
|
846
849
|
d(r) {
|
|
847
|
-
r &&
|
|
850
|
+
r && k(e);
|
|
848
851
|
}
|
|
849
852
|
};
|
|
850
853
|
}
|
|
@@ -858,7 +861,7 @@ function De(n) {
|
|
|
858
861
|
e = z("button"), r = D(t), d(e, "class", "EnrolledButton"), d(e, "part", "EnrolledButton"), e.disabled = !0;
|
|
859
862
|
},
|
|
860
863
|
m(s, i) {
|
|
861
|
-
|
|
864
|
+
_(s, e, i), b(e, r);
|
|
862
865
|
},
|
|
863
866
|
p(s, i) {
|
|
864
867
|
i[1] & /*$_*/
|
|
@@ -866,7 +869,7 @@ function De(n) {
|
|
|
866
869
|
s[32]("enrolled") + "") && M(r, t);
|
|
867
870
|
},
|
|
868
871
|
d(s) {
|
|
869
|
-
s &&
|
|
872
|
+
s && k(e);
|
|
870
873
|
}
|
|
871
874
|
};
|
|
872
875
|
}
|
|
@@ -877,13 +880,13 @@ function Me(n) {
|
|
|
877
880
|
), r, s, i;
|
|
878
881
|
return {
|
|
879
882
|
c() {
|
|
880
|
-
e = z("span"), r = D(t), s =
|
|
883
|
+
e = z("span"), r = D(t), s = S(), i = D(
|
|
881
884
|
/*errorJoinText*/
|
|
882
885
|
n[18]
|
|
883
886
|
), d(e, "class", "ErrorText"), d(e, "part", "ErrorText");
|
|
884
887
|
},
|
|
885
888
|
m(a, u) {
|
|
886
|
-
|
|
889
|
+
_(a, e, u), b(e, r), b(e, s), b(e, i);
|
|
887
890
|
},
|
|
888
891
|
p(a, u) {
|
|
889
892
|
u[1] & /*$_*/
|
|
@@ -896,7 +899,7 @@ function Me(n) {
|
|
|
896
899
|
);
|
|
897
900
|
},
|
|
898
901
|
d(a) {
|
|
899
|
-
a &&
|
|
902
|
+
a && k(e);
|
|
900
903
|
}
|
|
901
904
|
};
|
|
902
905
|
}
|
|
@@ -932,7 +935,7 @@ function Ae(n) {
|
|
|
932
935
|
), l(e, "scrollby", "2"), l(e, "exportparts", "TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton");
|
|
933
936
|
},
|
|
934
937
|
m(t, r) {
|
|
935
|
-
|
|
938
|
+
_(t, e, r);
|
|
936
939
|
},
|
|
937
940
|
p(t, r) {
|
|
938
941
|
r[0] & /*clientstyling*/
|
|
@@ -968,7 +971,7 @@ function Ae(n) {
|
|
|
968
971
|
);
|
|
969
972
|
},
|
|
970
973
|
d(t) {
|
|
971
|
-
t &&
|
|
974
|
+
t && k(e);
|
|
972
975
|
}
|
|
973
976
|
};
|
|
974
977
|
}
|
|
@@ -978,11 +981,13 @@ function yt(n) {
|
|
|
978
981
|
if (
|
|
979
982
|
/*isLoading*/
|
|
980
983
|
i[15]
|
|
981
|
-
)
|
|
984
|
+
)
|
|
985
|
+
return mt;
|
|
982
986
|
if (
|
|
983
987
|
/*title*/
|
|
984
988
|
i[20]
|
|
985
|
-
)
|
|
989
|
+
)
|
|
990
|
+
return ct;
|
|
986
991
|
}
|
|
987
992
|
let r = t(n), s = r && r(n);
|
|
988
993
|
return {
|
|
@@ -990,7 +995,7 @@ function yt(n) {
|
|
|
990
995
|
e = z("div"), s && s.c();
|
|
991
996
|
},
|
|
992
997
|
m(i, a) {
|
|
993
|
-
|
|
998
|
+
_(i, e, a), s && s.m(e, null), n[52](e);
|
|
994
999
|
},
|
|
995
1000
|
p(i, a) {
|
|
996
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)));
|
|
@@ -998,14 +1003,14 @@ function yt(n) {
|
|
|
998
1003
|
i: se,
|
|
999
1004
|
o: se,
|
|
1000
1005
|
d(i) {
|
|
1001
|
-
i &&
|
|
1006
|
+
i && k(e), s && s.d(), n[52](null);
|
|
1002
1007
|
}
|
|
1003
1008
|
};
|
|
1004
1009
|
}
|
|
1005
1010
|
function Ft(n, e, t) {
|
|
1006
1011
|
let r;
|
|
1007
|
-
|
|
1008
|
-
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;
|
|
1009
1014
|
ut({ withLocale: "en", translations: {} });
|
|
1010
1015
|
const Oe = () => {
|
|
1011
1016
|
fetch(W).then((p) => p.json()).then((p) => {
|
|
@@ -1020,11 +1025,11 @@ function Ft(n, e, t) {
|
|
|
1020
1025
|
Ce(o, Ee[o]);
|
|
1021
1026
|
});
|
|
1022
1027
|
const be = (o) => {
|
|
1023
|
-
Pe(o), re(o), Te(this,
|
|
1028
|
+
Pe(o), re(o), Te(this, B);
|
|
1024
1029
|
}, _e = (o) => {
|
|
1025
1030
|
if (o.data && o.data.type == "UserSessionID" && (t(14, P = !0), G = o.data.session), o.data.type == "UpdateTournamentView") {
|
|
1026
1031
|
let p = o.data.tournamentData;
|
|
1027
|
-
if (
|
|
1032
|
+
if (B && B != p.id)
|
|
1028
1033
|
return;
|
|
1029
1034
|
be(p);
|
|
1030
1035
|
}
|
|
@@ -1032,7 +1037,7 @@ function Ft(n, e, t) {
|
|
|
1032
1037
|
let p = o.data.tournamentData, C = u < 4 ? u * 100 : Math.random() * 300 + 300;
|
|
1033
1038
|
t(31, V = u == 1), setTimeout(
|
|
1034
1039
|
() => {
|
|
1035
|
-
t(31, V = !0), t(24,
|
|
1040
|
+
t(31, V = !0), t(24, B = p.id), be(p);
|
|
1036
1041
|
},
|
|
1037
1042
|
C
|
|
1038
1043
|
), setTimeout(
|
|
@@ -1045,7 +1050,7 @@ function Ft(n, e, t) {
|
|
|
1045
1050
|
}, Pe = (o) => {
|
|
1046
1051
|
o.state != x && (t(23, x = o.state), window.postMessage(
|
|
1047
1052
|
{
|
|
1048
|
-
type: `TournamentStatus_${
|
|
1053
|
+
type: `TournamentStatus_${B}`,
|
|
1049
1054
|
status: x
|
|
1050
1055
|
},
|
|
1051
1056
|
window.location.href
|
|
@@ -1095,23 +1100,23 @@ function Ft(n, e, t) {
|
|
|
1095
1100
|
};
|
|
1096
1101
|
const ve = () => {
|
|
1097
1102
|
t(16, K = !1), t(26, $ = !0);
|
|
1098
|
-
}, ie = (
|
|
1099
|
-
t(16, K = !1),
|
|
1103
|
+
}, ie = (j) => {
|
|
1104
|
+
t(16, K = !1), j && t(18, ue = j), t(17, X = !0);
|
|
1100
1105
|
}, J = await (async () => {
|
|
1101
|
-
let
|
|
1106
|
+
let j;
|
|
1102
1107
|
try {
|
|
1103
|
-
|
|
1108
|
+
j = await fetch(C, Xe), j = await j.json();
|
|
1104
1109
|
} catch {
|
|
1105
1110
|
ie();
|
|
1106
1111
|
}
|
|
1107
|
-
return
|
|
1112
|
+
return j;
|
|
1108
1113
|
})();
|
|
1109
1114
|
if (J)
|
|
1110
1115
|
if (J.success == !0)
|
|
1111
1116
|
ve();
|
|
1112
1117
|
else if (J.errorMessage.match("VersionMismatchException")) {
|
|
1113
|
-
let
|
|
1114
|
-
|
|
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));
|
|
1115
1120
|
} else
|
|
1116
1121
|
ie(J.errorMessage);
|
|
1117
1122
|
}, Te = (o, p) => {
|
|
@@ -1123,7 +1128,7 @@ function Ft(n, e, t) {
|
|
|
1123
1128
|
window.location.href
|
|
1124
1129
|
);
|
|
1125
1130
|
}, re = (o) => {
|
|
1126
|
-
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 || "#"));
|
|
1127
1132
|
}, Ie = (o) => {
|
|
1128
1133
|
t(15, I = !0);
|
|
1129
1134
|
let p = new URL(o), C = new Headers();
|
|
@@ -1156,12 +1161,12 @@ function Ft(n, e, t) {
|
|
|
1156
1161
|
);
|
|
1157
1162
|
});
|
|
1158
1163
|
};
|
|
1159
|
-
|
|
1164
|
+
rt(() => (t(15, I = !1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", _e, !1), () => {
|
|
1160
1165
|
window.removeEventListener("message", _e);
|
|
1161
1166
|
}));
|
|
1162
|
-
const He = () => ke(), Ne = () => ye(), We = () => ne(
|
|
1167
|
+
const He = () => ke(), Ne = () => ye(), We = () => ne(B), qe = () => Fe(B, ee), Ge = () => ne(B);
|
|
1163
1168
|
function Ke(o) {
|
|
1164
|
-
|
|
1169
|
+
it[o ? "unshift" : "push"](() => {
|
|
1165
1170
|
A = o, t(13, A);
|
|
1166
1171
|
});
|
|
1167
1172
|
}
|
|
@@ -1201,7 +1206,7 @@ function Ft(n, e, t) {
|
|
|
1201
1206
|
de,
|
|
1202
1207
|
ce,
|
|
1203
1208
|
x,
|
|
1204
|
-
|
|
1209
|
+
B,
|
|
1205
1210
|
me,
|
|
1206
1211
|
$,
|
|
1207
1212
|
ge,
|
|
@@ -1239,7 +1244,7 @@ class Tt extends Qe {
|
|
|
1239
1244
|
e,
|
|
1240
1245
|
Ft,
|
|
1241
1246
|
yt,
|
|
1242
|
-
|
|
1247
|
+
et,
|
|
1243
1248
|
{
|
|
1244
1249
|
session: 0,
|
|
1245
1250
|
userid: 1,
|
|
@@ -1394,7 +1399,7 @@ class Tt extends Qe {
|
|
|
1394
1399
|
this.$$set({ tournamentinfo: e }), y();
|
|
1395
1400
|
}
|
|
1396
1401
|
}
|
|
1397
|
-
|
|
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);
|
|
1398
1403
|
export {
|
|
1399
1404
|
Tt as default
|
|
1400
1405
|
};
|