@everymatrix/casino-tournaments-controller 1.98.8 → 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.
- package/components/{CasinoTournamentsController-BlMiKPl2.js → CasinoTournamentsController-DDIFwLvv.js} +16 -2
- package/components/{CasinoTournamentsController-DFUVNRKB.cjs → CasinoTournamentsController-Djg5TJwL.cjs} +7 -7
- package/components/{CasinoTournamentsController--KxuMfhK.js → CasinoTournamentsController-uVAvlLtx.js} +16 -2
- package/components/CasinoTournamentsFilterController-CiG7B3jD.cjs +1 -0
- package/components/{CasinoTournamentsFilterController-De7rBZBg.js → CasinoTournamentsFilterController-Cyva9Ssb.js} +37 -23
- package/components/{CasinoTournamentsFilterController-Co7Y3A0Q.js → CasinoTournamentsFilterController-E9UAdTqn.js} +37 -23
- package/components/{CasinoTournamentsListController-BHm42kDT.js → CasinoTournamentsListController-Cnv2AgTN.js} +8 -2
- package/components/{CasinoTournamentsListController-D7ag5sAX.js → CasinoTournamentsListController-CtN9in9F.js} +8 -2
- package/components/{CasinoTournamentsListController-BW-f92Xs.cjs → CasinoTournamentsListController-nSKsEYr7.cjs} +5 -5
- package/components/{CasinoTournamentsThumbnail-CiiTQcPc.js → CasinoTournamentsThumbnail-4hpN3i3a.js} +1 -1
- package/components/{CasinoTournamentsThumbnail-3SmFFZga.cjs → CasinoTournamentsThumbnail-CxU_KQgU.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-K7Zj-Z65.js → CasinoTournamentsThumbnail-OI2PWgEn.js} +1 -1
- package/components/{CasinoTournamentsThumbnailController-CTYS-dAC.js → CasinoTournamentsThumbnailController-CM59fUz7.js} +204 -188
- package/components/CasinoTournamentsThumbnailController-CzYPc5fm.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailController-BHg7vStj.js → CasinoTournamentsThumbnailController-DH5vJLNV.js} +194 -178
- package/components/{CasinoTournamentsThumbnailDuration-B6iNTWo6.cjs → CasinoTournamentsThumbnailDuration-C8nZqhIE.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-Dq-wZoR7.js → CasinoTournamentsThumbnailDuration-DDYoyc9g.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-tvwJ0S7o.js → CasinoTournamentsThumbnailDuration-Dj3LwXcs.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-BwVnrgSx.cjs → CasinoTournamentsThumbnailGamesSlider-ByzjH9Jr.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Dg8g4DuL.js → CasinoTournamentsThumbnailGamesSlider-LnT75KCe.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Bh-GHMfS.js → CasinoTournamentsThumbnailGamesSlider-og8zVTIG.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-gy7cQt16.js → CasinoTournamentsThumbnailPrizes-C4qdTdYS.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DR0w4OcV.cjs → CasinoTournamentsThumbnailPrizes-DQhyaShl.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DZ4suPGn.js → CasinoTournamentsThumbnailPrizes-DSMl-Ced.js} +1 -1
- 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/CasinoTournamentsFilterController-D9bf2WMQ.cjs +0 -1
- package/components/CasinoTournamentsThumbnailController-B86yGkIM.cjs +0 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
var ue = (r, e, t) => new Promise((n, o) => {
|
|
2
|
-
var l = (
|
|
2
|
+
var l = (d) => {
|
|
3
3
|
try {
|
|
4
|
-
f(t.next(
|
|
4
|
+
f(t.next(d));
|
|
5
5
|
} catch (p) {
|
|
6
6
|
o(p);
|
|
7
7
|
}
|
|
8
|
-
}, u = (
|
|
8
|
+
}, u = (d) => {
|
|
9
9
|
try {
|
|
10
|
-
f(t.throw(
|
|
10
|
+
f(t.throw(d));
|
|
11
11
|
} catch (p) {
|
|
12
12
|
o(p);
|
|
13
13
|
}
|
|
14
|
-
}, f = (
|
|
14
|
+
}, f = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(l, u);
|
|
15
15
|
f((t = t.apply(r, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { C as fe, D as
|
|
18
|
-
function
|
|
17
|
+
import { C as fe, D as Ve, a as Ze, S as Ye, i as $e, s as et, f as y, b as tt, n as $, d as w, B as s, g, c as b, p as T, e as F, q as B, j as nt, o as rt, E as De, r as it, A as de, F as ot, m as D, t as C, G as st, u as R, H as me, v as L, w as lt, x as at, y as ut, z as ft, $ as dt } from "./CasinoTournamentsController-DDIFwLvv.js";
|
|
18
|
+
function mt({ withLocale: r, translations: e }) {
|
|
19
19
|
fe.subscribe((t) => {
|
|
20
|
-
t == null && (
|
|
20
|
+
t == null && (Ve.set(e), fe.set(r));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
function Le(r, e) {
|
|
24
|
-
|
|
24
|
+
Ze(r, e);
|
|
25
25
|
}
|
|
26
26
|
function ct(r) {
|
|
27
27
|
fe.set(r);
|
|
@@ -107,6 +107,22 @@ const Pe = {
|
|
|
107
107
|
join: "Junte-se",
|
|
108
108
|
joinerror: "Ocorreu um erro ao entrar no torneio"
|
|
109
109
|
},
|
|
110
|
+
ru: {
|
|
111
|
+
login: "Войти",
|
|
112
|
+
register: "Регистрация",
|
|
113
|
+
details: "Подробности",
|
|
114
|
+
enrolled: "Записан",
|
|
115
|
+
join: "Участвовать",
|
|
116
|
+
joinerror: "Произошла ошибка при регистрации на турнир, пожалуйста, попробуйте снова."
|
|
117
|
+
},
|
|
118
|
+
az: {
|
|
119
|
+
login: "Daxil ol",
|
|
120
|
+
register: "Qeydiyyat",
|
|
121
|
+
details: "Ətraflı",
|
|
122
|
+
enrolled: "Qeydiyyatdan keçib",
|
|
123
|
+
join: "Qoşul",
|
|
124
|
+
joinerror: "Turnirə qeydiyyat zamanı xəta baş verdi, zəhmət olmasa yenidən cəhd edin."
|
|
125
|
+
},
|
|
110
126
|
"en-us": {
|
|
111
127
|
login: "Log in",
|
|
112
128
|
register: "Register",
|
|
@@ -128,7 +144,7 @@ if (typeof window != "undefined") {
|
|
|
128
144
|
}
|
|
129
145
|
};
|
|
130
146
|
};
|
|
131
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
147
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnail-OI2PWgEn.js").then(({ default: e }) => {
|
|
132
148
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
|
|
133
149
|
});
|
|
134
150
|
}
|
|
@@ -144,7 +160,7 @@ if (typeof window != "undefined") {
|
|
|
144
160
|
}
|
|
145
161
|
};
|
|
146
162
|
};
|
|
147
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
163
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailDuration-DDYoyc9g.js").then(({ default: e }) => {
|
|
148
164
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
149
165
|
"casino-tournaments-thumbnail-duration",
|
|
150
166
|
e.element
|
|
@@ -163,7 +179,7 @@ if (typeof window != "undefined") {
|
|
|
163
179
|
}
|
|
164
180
|
};
|
|
165
181
|
};
|
|
166
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
182
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailPrizes-C4qdTdYS.js").then(({ default: e }) => {
|
|
167
183
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
|
|
168
184
|
});
|
|
169
185
|
}
|
|
@@ -179,7 +195,7 @@ if (typeof window != "undefined") {
|
|
|
179
195
|
}
|
|
180
196
|
};
|
|
181
197
|
};
|
|
182
|
-
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
198
|
+
customElements.define = r(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-og8zVTIG.js").then(
|
|
183
199
|
({ default: e }) => {
|
|
184
200
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
185
201
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -192,7 +208,7 @@ function gt(r) {
|
|
|
192
208
|
tt(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}');
|
|
193
209
|
}
|
|
194
210
|
function ht(r) {
|
|
195
|
-
let e, t, n, o, l, u, f,
|
|
211
|
+
let e, t, n, o, l, u, f, d = (
|
|
196
212
|
/*tourid*/
|
|
197
213
|
r[26] && Me(r)
|
|
198
214
|
);
|
|
@@ -212,17 +228,17 @@ function ht(r) {
|
|
|
212
228
|
)
|
|
213
229
|
return wt;
|
|
214
230
|
}
|
|
215
|
-
let h = p(r), a = h && h(r),
|
|
231
|
+
let h = p(r), a = h && h(r), m = (
|
|
216
232
|
/*errorJoin*/
|
|
217
233
|
(r[19] || /*errorJoinConcurrently*/
|
|
218
|
-
r[21]) &&
|
|
234
|
+
r[21]) && Ie(r)
|
|
219
235
|
), v = (
|
|
220
236
|
/*showslider*/
|
|
221
|
-
r[4] == "true" &&
|
|
237
|
+
r[4] == "true" && Oe(r)
|
|
222
238
|
);
|
|
223
239
|
return {
|
|
224
240
|
c() {
|
|
225
|
-
|
|
241
|
+
d && d.c(), e = B(), t = F("casino-tournaments-thumbnail-duration"), n = B(), o = F("div"), a && a.c(), l = B(), m && m.c(), u = B(), v && v.c(), f = de(), s(
|
|
226
242
|
t,
|
|
227
243
|
"clientstyling",
|
|
228
244
|
/*clientstyling*/
|
|
@@ -265,11 +281,11 @@ function ht(r) {
|
|
|
265
281
|
), s(t, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"), g(o, "class", "TournamentButtons"), g(o, "part", "TournamentButtons");
|
|
266
282
|
},
|
|
267
283
|
m(c, k) {
|
|
268
|
-
|
|
284
|
+
d && d.m(c, k), b(c, e, k), b(c, t, k), b(c, n, k), b(c, o, k), a && a.m(o, null), b(c, l, k), m && m.m(c, k), b(c, u, k), v && v.m(c, k), b(c, f, k);
|
|
269
285
|
},
|
|
270
286
|
p(c, k) {
|
|
271
287
|
/*tourid*/
|
|
272
|
-
c[26] ?
|
|
288
|
+
c[26] ? d ? d.p(c, k) : (d = Me(c), d.c(), d.m(e.parentNode, e)) : d && (d.d(1), d = null), k[0] & /*clientstyling*/
|
|
273
289
|
2048 && s(
|
|
274
290
|
t,
|
|
275
291
|
"clientstyling",
|
|
@@ -319,11 +335,11 @@ function ht(r) {
|
|
|
319
335
|
c[24]
|
|
320
336
|
), h === (h = p(c)) && a ? a.p(c, k) : (a && a.d(1), a = h && h(c), a && (a.c(), a.m(o, null))), /*errorJoin*/
|
|
321
337
|
c[19] || /*errorJoinConcurrently*/
|
|
322
|
-
c[21] ?
|
|
323
|
-
c[4] == "true" ? v ? v.p(c, k) : (v =
|
|
338
|
+
c[21] ? m ? m.p(c, k) : (m = Ie(c), m.c(), m.m(u.parentNode, u)) : m && (m.d(1), m = null), /*showslider*/
|
|
339
|
+
c[4] == "true" ? v ? v.p(c, k) : (v = Oe(c), v.c(), v.m(f.parentNode, f)) : v && (v.d(1), v = null);
|
|
324
340
|
},
|
|
325
341
|
d(c) {
|
|
326
|
-
c && (w(e), w(t), w(n), w(o), w(l), w(u), w(f)),
|
|
342
|
+
c && (w(e), w(t), w(n), w(o), w(l), w(u), w(f)), d && d.d(c), a && a.d(), m && m.d(c), v && v.d(c);
|
|
327
343
|
}
|
|
328
344
|
};
|
|
329
345
|
}
|
|
@@ -413,7 +429,7 @@ function Me(r) {
|
|
|
413
429
|
"translationurl",
|
|
414
430
|
/*translationurl*/
|
|
415
431
|
l[13]
|
|
416
|
-
), t &&
|
|
432
|
+
), t && me(t.update) && u[0] & /*tourid*/
|
|
417
433
|
67108864 && t.update.call(
|
|
418
434
|
null,
|
|
419
435
|
/*tourid*/
|
|
@@ -435,8 +451,8 @@ function wt(r) {
|
|
|
435
451
|
e = F("button"), n = C(t), g(e, "class", "DetailsLargeButton"), g(e, "part", "DetailsLargeButton");
|
|
436
452
|
},
|
|
437
453
|
m(u, f) {
|
|
438
|
-
b(u, e, f), T(e, n), o || (l =
|
|
439
|
-
|
|
454
|
+
b(u, e, f), T(e, n), o || (l = R(e, "click", function() {
|
|
455
|
+
me(
|
|
440
456
|
/*detailsAction*/
|
|
441
457
|
r[37].bind(
|
|
442
458
|
this,
|
|
@@ -465,23 +481,23 @@ function bt(r) {
|
|
|
465
481
|
/*showdetails*/
|
|
466
482
|
r[3] == "true" && Ae(r)
|
|
467
483
|
);
|
|
468
|
-
function o(f,
|
|
484
|
+
function o(f, d) {
|
|
469
485
|
return (
|
|
470
486
|
/*userenrolled*/
|
|
471
|
-
f[28] ?
|
|
487
|
+
f[28] ? _t : yt
|
|
472
488
|
);
|
|
473
489
|
}
|
|
474
490
|
let l = o(r), u = l(r);
|
|
475
491
|
return {
|
|
476
492
|
c() {
|
|
477
|
-
n && n.c(), e = B(), u.c(), t =
|
|
493
|
+
n && n.c(), e = B(), u.c(), t = de();
|
|
478
494
|
},
|
|
479
|
-
m(f,
|
|
480
|
-
n && n.m(f,
|
|
495
|
+
m(f, d) {
|
|
496
|
+
n && n.m(f, d), b(f, e, d), u.m(f, d), b(f, t, d);
|
|
481
497
|
},
|
|
482
|
-
p(f,
|
|
498
|
+
p(f, d) {
|
|
483
499
|
/*showdetails*/
|
|
484
|
-
f[3] == "true" ? n ? n.p(f,
|
|
500
|
+
f[3] == "true" ? n ? n.p(f, d) : (n = Ae(f), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), l === (l = o(f)) && u ? u.p(f, d) : (u.d(1), u = l(f), u && (u.c(), u.m(t.parentNode, t)));
|
|
485
501
|
},
|
|
486
502
|
d(f) {
|
|
487
503
|
f && (w(e), w(t)), n && n.d(f), u.d(f);
|
|
@@ -495,26 +511,26 @@ function kt(r) {
|
|
|
495
511
|
), n, o, l, u = (
|
|
496
512
|
/*$_*/
|
|
497
513
|
r[34]("register") + ""
|
|
498
|
-
), f,
|
|
514
|
+
), f, d, p;
|
|
499
515
|
return {
|
|
500
516
|
c() {
|
|
501
517
|
e = F("button"), n = C(t), o = B(), l = F("button"), f = C(u), g(e, "class", "LoginButton"), g(e, "part", "LoginButton"), g(l, "class", "RegisterButton"), g(l, "part", "RegisterButton");
|
|
502
518
|
},
|
|
503
519
|
m(h, a) {
|
|
504
|
-
b(h, e, a), T(e, n), b(h, o, a), b(h, l, a), T(l, f),
|
|
505
|
-
|
|
520
|
+
b(h, e, a), T(e, n), b(h, o, a), b(h, l, a), T(l, f), d || (p = [
|
|
521
|
+
R(
|
|
506
522
|
e,
|
|
507
523
|
"click",
|
|
508
524
|
/*loginAction*/
|
|
509
525
|
r[35]
|
|
510
526
|
),
|
|
511
|
-
|
|
527
|
+
R(
|
|
512
528
|
l,
|
|
513
529
|
"click",
|
|
514
530
|
/*registerAction*/
|
|
515
531
|
r[36]
|
|
516
532
|
)
|
|
517
|
-
],
|
|
533
|
+
], d = !0);
|
|
518
534
|
},
|
|
519
535
|
p(h, a) {
|
|
520
536
|
a[1] & /*$_*/
|
|
@@ -524,7 +540,7 @@ function kt(r) {
|
|
|
524
540
|
h[34]("register") + "") && D(f, u);
|
|
525
541
|
},
|
|
526
542
|
d(h) {
|
|
527
|
-
h && (w(e), w(o), w(l)),
|
|
543
|
+
h && (w(e), w(o), w(l)), d = !1, st(p);
|
|
528
544
|
}
|
|
529
545
|
};
|
|
530
546
|
}
|
|
@@ -538,8 +554,8 @@ function Ae(r) {
|
|
|
538
554
|
e = F("button"), n = C(t), g(e, "class", "DetailsButton"), g(e, "part", "DetailsButton");
|
|
539
555
|
},
|
|
540
556
|
m(u, f) {
|
|
541
|
-
b(u, e, f), T(e, n), o || (l =
|
|
542
|
-
|
|
557
|
+
b(u, e, f), T(e, n), o || (l = R(e, "click", function() {
|
|
558
|
+
me(
|
|
543
559
|
/*detailsAction*/
|
|
544
560
|
r[37].bind(
|
|
545
561
|
this,
|
|
@@ -563,7 +579,7 @@ function Ae(r) {
|
|
|
563
579
|
}
|
|
564
580
|
};
|
|
565
581
|
}
|
|
566
|
-
function
|
|
582
|
+
function yt(r) {
|
|
567
583
|
let e, t, n, o, l;
|
|
568
584
|
function u(p, h) {
|
|
569
585
|
return (
|
|
@@ -571,16 +587,16 @@ function _t(r) {
|
|
|
571
587
|
p[18] == !0 ? Ft : Tt
|
|
572
588
|
);
|
|
573
589
|
}
|
|
574
|
-
let f = u(r),
|
|
590
|
+
let f = u(r), d = f(r);
|
|
575
591
|
return {
|
|
576
592
|
c() {
|
|
577
|
-
e = F("button"),
|
|
593
|
+
e = F("button"), d.c(), g(e, "class", t = "JoinButton " + /*fullsize*/
|
|
578
594
|
(r[7] ? "JoinButtonFullSize" : "")), g(e, "part", n = "JoinButton " + /*fullsize*/
|
|
579
595
|
(r[7] ? "JoinButtonFullSize" : "")), e.disabled = /*errorJoin*/
|
|
580
596
|
r[19];
|
|
581
597
|
},
|
|
582
598
|
m(p, h) {
|
|
583
|
-
b(p, e, h),
|
|
599
|
+
b(p, e, h), d.m(e, null), o || (l = R(
|
|
584
600
|
e,
|
|
585
601
|
"click",
|
|
586
602
|
/*click_handler*/
|
|
@@ -588,7 +604,7 @@ function _t(r) {
|
|
|
588
604
|
), o = !0);
|
|
589
605
|
},
|
|
590
606
|
p(p, h) {
|
|
591
|
-
f === (f = u(p)) &&
|
|
607
|
+
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*/
|
|
592
608
|
128 && t !== (t = "JoinButton " + /*fullsize*/
|
|
593
609
|
(p[7] ? "JoinButtonFullSize" : "")) && g(e, "class", t), h[0] & /*fullsize*/
|
|
594
610
|
128 && n !== (n = "JoinButton " + /*fullsize*/
|
|
@@ -597,25 +613,25 @@ function _t(r) {
|
|
|
597
613
|
p[19]);
|
|
598
614
|
},
|
|
599
615
|
d(p) {
|
|
600
|
-
p && w(e),
|
|
616
|
+
p && w(e), d.d(), o = !1, l();
|
|
601
617
|
}
|
|
602
618
|
};
|
|
603
619
|
}
|
|
604
|
-
function
|
|
620
|
+
function _t(r) {
|
|
605
621
|
let e, t = (
|
|
606
622
|
/*showdetails*/
|
|
607
|
-
r[3] == "true" &&
|
|
623
|
+
r[3] == "true" && xe(r)
|
|
608
624
|
);
|
|
609
625
|
return {
|
|
610
626
|
c() {
|
|
611
|
-
t && t.c(), e =
|
|
627
|
+
t && t.c(), e = de();
|
|
612
628
|
},
|
|
613
629
|
m(n, o) {
|
|
614
630
|
t && t.m(n, o), b(n, e, o);
|
|
615
631
|
},
|
|
616
632
|
p(n, o) {
|
|
617
633
|
/*showdetails*/
|
|
618
|
-
n[3] == "true" ? t ? t.p(n, o) : (t =
|
|
634
|
+
n[3] == "true" ? t ? t.p(n, o) : (t = xe(n), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
619
635
|
},
|
|
620
636
|
d(n) {
|
|
621
637
|
n && w(e), t && t.d(n);
|
|
@@ -626,16 +642,16 @@ function Tt(r) {
|
|
|
626
642
|
let e, t = (
|
|
627
643
|
/*$_*/
|
|
628
644
|
r[34]("join") + ""
|
|
629
|
-
), n, o, l, u, f,
|
|
645
|
+
), n, o, l, u, f, d, p, h;
|
|
630
646
|
return {
|
|
631
647
|
c() {
|
|
632
|
-
e = F("span"), n = C(t), o = B(), l = L("svg"), u = L("defs"), f = L("style"),
|
|
648
|
+
e = F("span"), n = C(t), o = 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");
|
|
633
649
|
},
|
|
634
|
-
m(a,
|
|
635
|
-
b(a, e,
|
|
650
|
+
m(a, m) {
|
|
651
|
+
b(a, e, m), T(e, n), b(a, o, m), b(a, l, m), T(l, u), T(u, f), T(f, d), T(l, p), T(p, h);
|
|
636
652
|
},
|
|
637
|
-
p(a,
|
|
638
|
-
|
|
653
|
+
p(a, m) {
|
|
654
|
+
m[1] & /*$_*/
|
|
639
655
|
8 && t !== (t = /*$_*/
|
|
640
656
|
a[34]("join") + "") && D(n, t);
|
|
641
657
|
},
|
|
@@ -659,7 +675,7 @@ function Ft(r) {
|
|
|
659
675
|
}
|
|
660
676
|
};
|
|
661
677
|
}
|
|
662
|
-
function
|
|
678
|
+
function xe(r) {
|
|
663
679
|
let e, t = (
|
|
664
680
|
/*$_*/
|
|
665
681
|
r[34]("enrolled") + ""
|
|
@@ -681,7 +697,7 @@ function Ie(r) {
|
|
|
681
697
|
}
|
|
682
698
|
};
|
|
683
699
|
}
|
|
684
|
-
function
|
|
700
|
+
function Ie(r) {
|
|
685
701
|
let e, t = (
|
|
686
702
|
/*$_*/
|
|
687
703
|
r[34]("joinerror") + ""
|
|
@@ -711,10 +727,10 @@ function Oe(r) {
|
|
|
711
727
|
}
|
|
712
728
|
};
|
|
713
729
|
}
|
|
714
|
-
function
|
|
730
|
+
function Oe(r) {
|
|
715
731
|
let e, t, n = (
|
|
716
732
|
/*isLoading*/
|
|
717
|
-
r[17] &&
|
|
733
|
+
r[17] && Re()
|
|
718
734
|
);
|
|
719
735
|
return {
|
|
720
736
|
c() {
|
|
@@ -755,7 +771,7 @@ function Re(r) {
|
|
|
755
771
|
},
|
|
756
772
|
p(o, l) {
|
|
757
773
|
/*isLoading*/
|
|
758
|
-
o[17] ? n || (n =
|
|
774
|
+
o[17] ? n || (n = Re(), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), l[0] & /*clientstyling*/
|
|
759
775
|
2048 && s(
|
|
760
776
|
t,
|
|
761
777
|
"clientstyling",
|
|
@@ -798,7 +814,7 @@ function Re(r) {
|
|
|
798
814
|
}
|
|
799
815
|
};
|
|
800
816
|
}
|
|
801
|
-
function
|
|
817
|
+
function Re(r) {
|
|
802
818
|
let e;
|
|
803
819
|
return {
|
|
804
820
|
c() {
|
|
@@ -814,13 +830,13 @@ function Je(r) {
|
|
|
814
830
|
}
|
|
815
831
|
function vt(r) {
|
|
816
832
|
let e, t, n, o, l, u, f;
|
|
817
|
-
function
|
|
833
|
+
function d(a, m) {
|
|
818
834
|
return (
|
|
819
835
|
/*isLoading*/
|
|
820
836
|
a[17] ? pt : ht
|
|
821
837
|
);
|
|
822
838
|
}
|
|
823
|
-
let p =
|
|
839
|
+
let p = d(r), h = p(r);
|
|
824
840
|
return {
|
|
825
841
|
c() {
|
|
826
842
|
e = F("div"), t = F("div"), n = F("casino-tournaments-thumbnail"), o = B(), h.c(), s(
|
|
@@ -928,136 +944,136 @@ function vt(r) {
|
|
|
928
944
|
(r[33] ? "elementToFadeOut" : "elementToFadeIn")), g(e, "class", f = `${/*isLoading*/
|
|
929
945
|
r[17] ? "Loading" : ""}`);
|
|
930
946
|
},
|
|
931
|
-
m(a,
|
|
932
|
-
b(a, e,
|
|
947
|
+
m(a, m) {
|
|
948
|
+
b(a, e, m), T(e, t), T(t, n), T(t, o), h.m(t, null), r[51](e);
|
|
933
949
|
},
|
|
934
|
-
p(a,
|
|
935
|
-
|
|
950
|
+
p(a, m) {
|
|
951
|
+
m[0] & /*detailsevent*/
|
|
936
952
|
512 && s(
|
|
937
953
|
n,
|
|
938
954
|
"detailsevent",
|
|
939
955
|
/*detailsevent*/
|
|
940
956
|
a[9]
|
|
941
|
-
),
|
|
957
|
+
), m[0] & /*userid*/
|
|
942
958
|
2 && s(
|
|
943
959
|
n,
|
|
944
960
|
"userid",
|
|
945
961
|
/*userid*/
|
|
946
962
|
a[1]
|
|
947
|
-
),
|
|
963
|
+
), m[0] & /*title*/
|
|
948
964
|
4194304 && s(
|
|
949
965
|
n,
|
|
950
966
|
"title",
|
|
951
967
|
/*title*/
|
|
952
968
|
a[22]
|
|
953
|
-
),
|
|
969
|
+
), m[0] & /*status*/
|
|
954
970
|
33554432 && s(
|
|
955
971
|
n,
|
|
956
972
|
"status",
|
|
957
973
|
/*status*/
|
|
958
974
|
a[25]
|
|
959
|
-
),
|
|
975
|
+
), m[0] & /*startdate*/
|
|
960
976
|
8388608 && s(
|
|
961
977
|
n,
|
|
962
978
|
"startdate",
|
|
963
979
|
/*startdate*/
|
|
964
980
|
a[23]
|
|
965
|
-
),
|
|
981
|
+
), m[0] & /*tourid*/
|
|
966
982
|
67108864 && s(
|
|
967
983
|
n,
|
|
968
984
|
"tourid",
|
|
969
985
|
/*tourid*/
|
|
970
986
|
a[26]
|
|
971
|
-
),
|
|
987
|
+
), m[0] & /*scorecriteria*/
|
|
972
988
|
536870912 && s(
|
|
973
989
|
n,
|
|
974
990
|
"scorecriteria",
|
|
975
991
|
/*scorecriteria*/
|
|
976
992
|
a[29]
|
|
977
|
-
),
|
|
993
|
+
), m[0] & /*minbetcount*/
|
|
978
994
|
1073741824 && s(
|
|
979
995
|
n,
|
|
980
996
|
"minbetcount",
|
|
981
997
|
/*minbetcount*/
|
|
982
998
|
a[30]
|
|
983
|
-
),
|
|
999
|
+
), m[0] & /*thumbnail*/
|
|
984
1000
|
134217728 && s(
|
|
985
1001
|
n,
|
|
986
1002
|
"thumbnail",
|
|
987
1003
|
/*thumbnail*/
|
|
988
1004
|
a[27]
|
|
989
|
-
),
|
|
1005
|
+
), m[0] & /*showenrolled*/
|
|
990
1006
|
32 && s(
|
|
991
1007
|
n,
|
|
992
1008
|
"showenrolled",
|
|
993
1009
|
/*showenrolled*/
|
|
994
1010
|
a[5]
|
|
995
|
-
),
|
|
1011
|
+
), m[1] & /*gameurl*/
|
|
996
1012
|
2 && s(
|
|
997
1013
|
n,
|
|
998
1014
|
"gameurl",
|
|
999
1015
|
/*gameurl*/
|
|
1000
1016
|
a[32]
|
|
1001
|
-
),
|
|
1017
|
+
), m[0] & /*betcountmode*/
|
|
1002
1018
|
1 && s(
|
|
1003
1019
|
n,
|
|
1004
1020
|
"betcountmode",
|
|
1005
1021
|
/*betcountmode*/
|
|
1006
1022
|
a[0]
|
|
1007
|
-
),
|
|
1023
|
+
), m[0] & /*mbsource*/
|
|
1008
1024
|
16384 && s(
|
|
1009
1025
|
n,
|
|
1010
1026
|
"mbsource",
|
|
1011
1027
|
/*mbsource*/
|
|
1012
1028
|
a[14]
|
|
1013
|
-
),
|
|
1029
|
+
), m[0] & /*userenrolled*/
|
|
1014
1030
|
268435456 && s(
|
|
1015
1031
|
n,
|
|
1016
1032
|
"userenrolled",
|
|
1017
1033
|
/*userenrolled*/
|
|
1018
1034
|
a[28]
|
|
1019
|
-
),
|
|
1035
|
+
), m[0] & /*clientstyling*/
|
|
1020
1036
|
2048 && s(
|
|
1021
1037
|
n,
|
|
1022
1038
|
"clientstyling",
|
|
1023
1039
|
/*clientstyling*/
|
|
1024
1040
|
a[11]
|
|
1025
|
-
),
|
|
1041
|
+
), m[0] & /*clientstylingurl*/
|
|
1026
1042
|
4096 && s(
|
|
1027
1043
|
n,
|
|
1028
1044
|
"clientstylingurl",
|
|
1029
1045
|
/*clientstylingurl*/
|
|
1030
1046
|
a[12]
|
|
1031
|
-
),
|
|
1047
|
+
), m[0] & /*translationurl*/
|
|
1032
1048
|
8192 && s(
|
|
1033
1049
|
n,
|
|
1034
1050
|
"translationurl",
|
|
1035
1051
|
/*translationurl*/
|
|
1036
1052
|
a[13]
|
|
1037
|
-
),
|
|
1053
|
+
), m[0] & /*lang*/
|
|
1038
1054
|
256 && s(
|
|
1039
1055
|
n,
|
|
1040
1056
|
"lang",
|
|
1041
1057
|
/*lang*/
|
|
1042
1058
|
a[8]
|
|
1043
|
-
),
|
|
1059
|
+
), m[0] & /*keepbrowsercontext*/
|
|
1044
1060
|
1024 && s(
|
|
1045
1061
|
n,
|
|
1046
1062
|
"keepbrowsercontext",
|
|
1047
1063
|
/*keepbrowsercontext*/
|
|
1048
1064
|
a[10]
|
|
1049
|
-
), p === (p =
|
|
1050
|
-
192 |
|
|
1065
|
+
), 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*/
|
|
1066
|
+
192 | m[1] & /*isChanging*/
|
|
1051
1067
|
4 && l !== (l = "TournamentCard " + /*maxwidth*/
|
|
1052
1068
|
(a[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
1053
1069
|
(a[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
1054
|
-
(a[33] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "class", l),
|
|
1055
|
-
192 |
|
|
1070
|
+
(a[33] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "class", l), m[0] & /*maxwidth, fullsize*/
|
|
1071
|
+
192 | m[1] & /*isChanging*/
|
|
1056
1072
|
4 && u !== (u = "TournamentCard " + /*maxwidth*/
|
|
1057
1073
|
(a[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
1058
1074
|
(a[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
1059
1075
|
(a[33] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
|
|
1060
|
-
(a[33] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "part", u),
|
|
1076
|
+
(a[33] ? "elementToFadeOut" : "elementToFadeIn")) && g(t, "part", u), m[0] & /*isLoading*/
|
|
1061
1077
|
131072 && f !== (f = `${/*isLoading*/
|
|
1062
1078
|
a[17] ? "Loading" : ""}`) && g(e, "class", f);
|
|
1063
1079
|
},
|
|
@@ -1070,35 +1086,35 @@ function vt(r) {
|
|
|
1070
1086
|
}
|
|
1071
1087
|
function zt(r, e, t) {
|
|
1072
1088
|
let n;
|
|
1073
|
-
nt(r,
|
|
1074
|
-
let { session: o = "" } = e, { userid: l = "" } = e, { tournamenturl: u = "" } = e, { touridx: f } = e, { endpoint:
|
|
1075
|
-
|
|
1089
|
+
nt(r, dt, (i) => t(34, n = i));
|
|
1090
|
+
let { session: o = "" } = 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: J = "" } = e, { detailsevent: ce = "" } = e, { loginurl: U = "" } = e, { registerurl: H = "" } = e, { currency: ee = "" } = e, { keepbrowsercontext: ge = "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, Je, M = !1, X = "", A = !0, he = window.navigator.userAgent, V = !1, Z = !1, pe = "There was an error while trying to join the tournament", ne = !1, re, we, be, x, E, ke, ie, ye, _e, Te = [], oe = [], Fe = "#", Y = !1;
|
|
1091
|
+
mt({ withLocale: "en", translations: {} });
|
|
1076
1092
|
const Ue = () => {
|
|
1077
|
-
fetch(
|
|
1078
|
-
Object.keys(
|
|
1079
|
-
Le(S,
|
|
1093
|
+
fetch(G).then((_) => _.json()).then((_) => {
|
|
1094
|
+
Object.keys(_).forEach((S) => {
|
|
1095
|
+
Le(S, _[S]);
|
|
1080
1096
|
});
|
|
1081
|
-
}).catch((
|
|
1082
|
-
console.log(
|
|
1097
|
+
}).catch((_) => {
|
|
1098
|
+
console.log(_);
|
|
1083
1099
|
});
|
|
1084
1100
|
};
|
|
1085
1101
|
Object.keys(Pe).forEach((i) => {
|
|
1086
1102
|
Le(i, Pe[i]);
|
|
1087
1103
|
});
|
|
1088
1104
|
const ve = (i) => {
|
|
1089
|
-
He(i), se(i), Be(this,
|
|
1105
|
+
He(i), se(i), Be(this, E);
|
|
1090
1106
|
}, ze = (i) => {
|
|
1091
|
-
if (i.data && i.data.type == "UserSessionID" && (t(16, M = !0),
|
|
1092
|
-
let
|
|
1093
|
-
if (
|
|
1107
|
+
if (i.data && i.data.type == "UserSessionID" && (t(16, M = !0), X = i.data.session, je(d)), i.data.type == "UpdateTournamentView") {
|
|
1108
|
+
let _ = i.data.tournamentData;
|
|
1109
|
+
if (E && E != _.id)
|
|
1094
1110
|
return;
|
|
1095
|
-
ve(
|
|
1111
|
+
ve(_);
|
|
1096
1112
|
}
|
|
1097
1113
|
if (i.data && i.data.type == `UpdateSingleTournament_${f}`) {
|
|
1098
|
-
let
|
|
1114
|
+
let _ = i.data.tournamentData, S = f < 4 ? f * 100 : Math.random() * 300 + 300;
|
|
1099
1115
|
t(33, Y = f == 1), setTimeout(
|
|
1100
1116
|
() => {
|
|
1101
|
-
t(33, Y = !0), t(26,
|
|
1117
|
+
t(33, Y = !0), t(26, E = _.id), ve(_);
|
|
1102
1118
|
},
|
|
1103
1119
|
S
|
|
1104
1120
|
), setTimeout(
|
|
@@ -1109,10 +1125,10 @@ function zt(r, e, t) {
|
|
|
1109
1125
|
);
|
|
1110
1126
|
}
|
|
1111
1127
|
}, He = (i) => {
|
|
1112
|
-
i.state !=
|
|
1128
|
+
i.state != x && (t(25, x = i.state), window.postMessage(
|
|
1113
1129
|
{
|
|
1114
|
-
type: `TournamentStatus_${
|
|
1115
|
-
status:
|
|
1130
|
+
type: `TournamentStatus_${E}`,
|
|
1131
|
+
status: x
|
|
1116
1132
|
},
|
|
1117
1133
|
window.location.href
|
|
1118
1134
|
));
|
|
@@ -1120,17 +1136,17 @@ function zt(r, e, t) {
|
|
|
1120
1136
|
k && (window.postMessage({ type: k, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
|
|
1121
1137
|
context: "TournamentsThumbnailController"
|
|
1122
1138
|
})), U && (window.location = U);
|
|
1123
|
-
},
|
|
1124
|
-
|
|
1139
|
+
}, qe = () => {
|
|
1140
|
+
J && (window.postMessage(
|
|
1125
1141
|
{
|
|
1126
|
-
type:
|
|
1142
|
+
type: J,
|
|
1127
1143
|
transition: "Register"
|
|
1128
1144
|
},
|
|
1129
1145
|
window.location.href
|
|
1130
1146
|
), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
|
|
1131
1147
|
context: "TournamentsThumbnailController"
|
|
1132
1148
|
})), H && (window.location = H);
|
|
1133
|
-
},
|
|
1149
|
+
}, Ge = (i) => {
|
|
1134
1150
|
window.postMessage(
|
|
1135
1151
|
{
|
|
1136
1152
|
type: "TournamentDetailsClicked",
|
|
@@ -1139,148 +1155,148 @@ function zt(r, e, t) {
|
|
|
1139
1155
|
},
|
|
1140
1156
|
window.location.href
|
|
1141
1157
|
);
|
|
1142
|
-
}, Se = (i,
|
|
1158
|
+
}, Se = (i, _) => ue(this, null, function* () {
|
|
1143
1159
|
var Ce;
|
|
1144
|
-
t(19,
|
|
1160
|
+
t(19, Z = !1), t(21, ne = !1), window.postMessage(
|
|
1145
1161
|
{
|
|
1146
1162
|
type: "TournamentJoinRequest",
|
|
1147
1163
|
tournamentId: i
|
|
1148
1164
|
},
|
|
1149
1165
|
window.location.href
|
|
1150
|
-
), t(18,
|
|
1151
|
-
let S = new URL(`${
|
|
1152
|
-
S.searchParams.append("language", c), S.searchParams.append("platform", De(he)), P.append("Content-Type", "application/json"), P.append("X-SessionID",
|
|
1166
|
+
), t(18, V = !0);
|
|
1167
|
+
let S = new URL(`${d}/v1/bonus/claim`), P = new Headers(), le = {};
|
|
1168
|
+
S.searchParams.append("language", c), S.searchParams.append("platform", De(he)), P.append("Content-Type", "application/json"), P.append("X-SessionID", X), _ && _.length >= 1 && (le = {
|
|
1153
1169
|
language: c,
|
|
1154
|
-
bonusCode:
|
|
1170
|
+
bonusCode: _[0].code,
|
|
1155
1171
|
currency: ee,
|
|
1156
1172
|
type: "tournament"
|
|
1157
1173
|
});
|
|
1158
|
-
let
|
|
1174
|
+
let I = {
|
|
1159
1175
|
method: "PUT",
|
|
1160
1176
|
headers: P,
|
|
1161
1177
|
body: JSON.stringify(le)
|
|
1162
1178
|
};
|
|
1163
|
-
const
|
|
1164
|
-
t(18,
|
|
1179
|
+
const Ee = () => {
|
|
1180
|
+
t(18, V = !1), t(28, ie = !0);
|
|
1165
1181
|
}, ae = (z) => {
|
|
1166
|
-
t(18,
|
|
1167
|
-
},
|
|
1182
|
+
t(18, V = !1), z && t(20, pe = z), t(19, Z = !0);
|
|
1183
|
+
}, O = yield ue(this, null, function* () {
|
|
1168
1184
|
let z;
|
|
1169
1185
|
try {
|
|
1170
|
-
z = yield fetch(S,
|
|
1171
|
-
} catch (
|
|
1186
|
+
z = yield fetch(S, I), z = yield z.json();
|
|
1187
|
+
} catch (jt) {
|
|
1172
1188
|
ae();
|
|
1173
1189
|
}
|
|
1174
1190
|
return z;
|
|
1175
1191
|
});
|
|
1176
|
-
if (
|
|
1177
|
-
if (
|
|
1178
|
-
|
|
1179
|
-
else if (
|
|
1192
|
+
if (O)
|
|
1193
|
+
if (O.success == !0)
|
|
1194
|
+
Ee();
|
|
1195
|
+
else if (O.errorMessage.match("VersionMismatchException")) {
|
|
1180
1196
|
let z;
|
|
1181
|
-
z = yield fetch(`${
|
|
1197
|
+
z = yield fetch(`${d}/tournaments/${E}`, { headers: { "X-SessionID": o } }), z = yield z.json(), (Ce = z == null ? void 0 : z.item) != null && Ce.playerEnrolled ? Ee() : (ae(O.errorMessage), t(21, ne = !0), t(19, Z = !1));
|
|
1182
1198
|
} else
|
|
1183
|
-
ae(
|
|
1184
|
-
}), Be = (i,
|
|
1199
|
+
ae(O.errorMessage);
|
|
1200
|
+
}), Be = (i, _) => {
|
|
1185
1201
|
window.postMessage(
|
|
1186
1202
|
{
|
|
1187
|
-
type: `TournamentPrizes_${
|
|
1203
|
+
type: `TournamentPrizes_${_}`,
|
|
1188
1204
|
prizes: Te
|
|
1189
1205
|
},
|
|
1190
1206
|
window.location.href
|
|
1191
1207
|
);
|
|
1192
1208
|
}, se = (i) => {
|
|
1193
|
-
i && (t(22, re = i.nameOrTitle || ""), t(23, we = i.startTime), t(24, be = i.endTime), t(25,
|
|
1194
|
-
},
|
|
1209
|
+
i && (t(22, re = i.nameOrTitle || ""), t(23, we = i.startTime), t(24, be = i.endTime), t(25, x = i.state), t(26, E = i.id), t(27, ke = i.thumbnail), t(28, ie = i.playerEnrolled === "true" || i.playerEnrolled == !0 || !1), t(29, ye = i.scoreCriteria), t(0, Q = i.betCountMode || "minBetCount"), t(30, _e = i[Q]), Te = i.prizes, t(31, oe = i.wallets || []), t(32, Fe = i.termsUrl || "#"));
|
|
1210
|
+
}, je = (i) => {
|
|
1195
1211
|
t(17, A = !0);
|
|
1196
|
-
const
|
|
1197
|
-
S.searchParams.append("language", c), S.searchParams.append("platform", De(he)), M && P.append("X-SessionID",
|
|
1198
|
-
se(
|
|
1212
|
+
const _ = i ? `${i}/v1/tournaments/${te}` : u, S = new URL(_), P = new Headers();
|
|
1213
|
+
S.searchParams.append("language", c), S.searchParams.append("platform", De(he)), M && P.append("X-SessionID", X), fetch(S, { method: "GET", headers: P }).then((I) => I.json()).then((I) => {
|
|
1214
|
+
se(I.item);
|
|
1199
1215
|
}).finally(() => {
|
|
1200
1216
|
t(17, A = !1);
|
|
1201
1217
|
});
|
|
1202
1218
|
}, We = () => {
|
|
1203
|
-
t(16, M = (o == null ? void 0 : o.length) > 10), M && (
|
|
1219
|
+
t(16, M = (o == null ? void 0 : o.length) > 10), M && (X = o);
|
|
1204
1220
|
}, Ke = () => {
|
|
1205
1221
|
if (W) {
|
|
1206
1222
|
se(W);
|
|
1207
1223
|
return;
|
|
1208
1224
|
}
|
|
1209
|
-
t(17, A = !0),
|
|
1225
|
+
t(17, A = !0), je(d);
|
|
1210
1226
|
};
|
|
1211
1227
|
rt(() => (t(17, A = !re), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", ze, !1), () => {
|
|
1212
1228
|
window.removeEventListener("message", ze);
|
|
1213
1229
|
}));
|
|
1214
|
-
const
|
|
1215
|
-
function
|
|
1230
|
+
const Qe = () => Se(E, oe);
|
|
1231
|
+
function Xe(i) {
|
|
1216
1232
|
it[i ? "unshift" : "push"](() => {
|
|
1217
|
-
|
|
1233
|
+
j = i, t(15, j);
|
|
1218
1234
|
});
|
|
1219
1235
|
}
|
|
1220
1236
|
return r.$$set = (i) => {
|
|
1221
|
-
"session" in i && t(40, o = 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,
|
|
1237
|
+
"session" in i && t(40, o = 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, J = i.registerevent), "detailsevent" in i && t(9, ce = 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, ge = 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);
|
|
1222
1238
|
}, r.$$.update = () => {
|
|
1223
1239
|
r.$$.dirty[0] & /*lang*/
|
|
1224
1240
|
256 && c && ct(c), r.$$.dirty[0] & /*translationurl*/
|
|
1225
|
-
8192 &&
|
|
1241
|
+
8192 && G && Ue(), r.$$.dirty[1] & /*session*/
|
|
1226
1242
|
512 && o && We(), r.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1227
1243
|
260 && u && c && Ke(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1228
|
-
34816 && N &&
|
|
1229
|
-
36864 &&
|
|
1230
|
-
49152 && K &&
|
|
1244
|
+
34816 && N && j && lt(j, N), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1245
|
+
36864 && q && j && at(j, q), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1246
|
+
49152 && K && j && ut(j, `${K}.Style`, Je);
|
|
1231
1247
|
}, [
|
|
1232
|
-
|
|
1248
|
+
Q,
|
|
1233
1249
|
l,
|
|
1234
1250
|
u,
|
|
1235
1251
|
p,
|
|
1236
1252
|
h,
|
|
1237
1253
|
a,
|
|
1238
|
-
|
|
1254
|
+
m,
|
|
1239
1255
|
v,
|
|
1240
1256
|
c,
|
|
1241
1257
|
ce,
|
|
1242
1258
|
ge,
|
|
1243
1259
|
N,
|
|
1244
|
-
G,
|
|
1245
1260
|
q,
|
|
1261
|
+
G,
|
|
1246
1262
|
K,
|
|
1247
|
-
|
|
1263
|
+
j,
|
|
1248
1264
|
M,
|
|
1249
1265
|
A,
|
|
1266
|
+
V,
|
|
1250
1267
|
Z,
|
|
1251
|
-
Q,
|
|
1252
1268
|
pe,
|
|
1253
1269
|
ne,
|
|
1254
1270
|
re,
|
|
1255
1271
|
we,
|
|
1256
1272
|
be,
|
|
1257
|
-
|
|
1258
|
-
|
|
1273
|
+
x,
|
|
1274
|
+
E,
|
|
1259
1275
|
ke,
|
|
1260
1276
|
ie,
|
|
1261
|
-
_e,
|
|
1262
1277
|
ye,
|
|
1278
|
+
_e,
|
|
1263
1279
|
oe,
|
|
1264
1280
|
Fe,
|
|
1265
1281
|
Y,
|
|
1266
1282
|
n,
|
|
1267
1283
|
Ne,
|
|
1268
|
-
Ge,
|
|
1269
1284
|
qe,
|
|
1285
|
+
Ge,
|
|
1270
1286
|
Se,
|
|
1271
1287
|
Be,
|
|
1272
1288
|
o,
|
|
1273
1289
|
f,
|
|
1274
|
-
|
|
1290
|
+
d,
|
|
1275
1291
|
k,
|
|
1276
|
-
|
|
1292
|
+
J,
|
|
1277
1293
|
U,
|
|
1278
1294
|
H,
|
|
1279
1295
|
ee,
|
|
1280
1296
|
W,
|
|
1281
1297
|
te,
|
|
1282
|
-
|
|
1283
|
-
|
|
1298
|
+
Qe,
|
|
1299
|
+
Xe
|
|
1284
1300
|
];
|
|
1285
1301
|
}
|
|
1286
1302
|
class St extends Ye {
|
|
@@ -1326,151 +1342,151 @@ class St extends Ye {
|
|
|
1326
1342
|
return this.$$.ctx[40];
|
|
1327
1343
|
}
|
|
1328
1344
|
set session(e) {
|
|
1329
|
-
this.$$set({ session: e }),
|
|
1345
|
+
this.$$set({ session: e }), y();
|
|
1330
1346
|
}
|
|
1331
1347
|
get userid() {
|
|
1332
1348
|
return this.$$.ctx[1];
|
|
1333
1349
|
}
|
|
1334
1350
|
set userid(e) {
|
|
1335
|
-
this.$$set({ userid: e }),
|
|
1351
|
+
this.$$set({ userid: e }), y();
|
|
1336
1352
|
}
|
|
1337
1353
|
get tournamenturl() {
|
|
1338
1354
|
return this.$$.ctx[2];
|
|
1339
1355
|
}
|
|
1340
1356
|
set tournamenturl(e) {
|
|
1341
|
-
this.$$set({ tournamenturl: e }),
|
|
1357
|
+
this.$$set({ tournamenturl: e }), y();
|
|
1342
1358
|
}
|
|
1343
1359
|
get touridx() {
|
|
1344
1360
|
return this.$$.ctx[41];
|
|
1345
1361
|
}
|
|
1346
1362
|
set touridx(e) {
|
|
1347
|
-
this.$$set({ touridx: e }),
|
|
1363
|
+
this.$$set({ touridx: e }), y();
|
|
1348
1364
|
}
|
|
1349
1365
|
get endpoint() {
|
|
1350
1366
|
return this.$$.ctx[42];
|
|
1351
1367
|
}
|
|
1352
1368
|
set endpoint(e) {
|
|
1353
|
-
this.$$set({ endpoint: e }),
|
|
1369
|
+
this.$$set({ endpoint: e }), y();
|
|
1354
1370
|
}
|
|
1355
1371
|
get showdetails() {
|
|
1356
1372
|
return this.$$.ctx[3];
|
|
1357
1373
|
}
|
|
1358
1374
|
set showdetails(e) {
|
|
1359
|
-
this.$$set({ showdetails: e }),
|
|
1375
|
+
this.$$set({ showdetails: e }), y();
|
|
1360
1376
|
}
|
|
1361
1377
|
get showslider() {
|
|
1362
1378
|
return this.$$.ctx[4];
|
|
1363
1379
|
}
|
|
1364
1380
|
set showslider(e) {
|
|
1365
|
-
this.$$set({ showslider: e }),
|
|
1381
|
+
this.$$set({ showslider: e }), y();
|
|
1366
1382
|
}
|
|
1367
1383
|
get showenrolled() {
|
|
1368
1384
|
return this.$$.ctx[5];
|
|
1369
1385
|
}
|
|
1370
1386
|
set showenrolled(e) {
|
|
1371
|
-
this.$$set({ showenrolled: e }),
|
|
1387
|
+
this.$$set({ showenrolled: e }), y();
|
|
1372
1388
|
}
|
|
1373
1389
|
get maxwidth() {
|
|
1374
1390
|
return this.$$.ctx[6];
|
|
1375
1391
|
}
|
|
1376
1392
|
set maxwidth(e) {
|
|
1377
|
-
this.$$set({ maxwidth: e }),
|
|
1393
|
+
this.$$set({ maxwidth: e }), y();
|
|
1378
1394
|
}
|
|
1379
1395
|
get fullsize() {
|
|
1380
1396
|
return this.$$.ctx[7];
|
|
1381
1397
|
}
|
|
1382
1398
|
set fullsize(e) {
|
|
1383
|
-
this.$$set({ fullsize: e }),
|
|
1399
|
+
this.$$set({ fullsize: e }), y();
|
|
1384
1400
|
}
|
|
1385
1401
|
get lang() {
|
|
1386
1402
|
return this.$$.ctx[8];
|
|
1387
1403
|
}
|
|
1388
1404
|
set lang(e) {
|
|
1389
|
-
this.$$set({ lang: e }),
|
|
1405
|
+
this.$$set({ lang: e }), y();
|
|
1390
1406
|
}
|
|
1391
1407
|
get loginevent() {
|
|
1392
1408
|
return this.$$.ctx[43];
|
|
1393
1409
|
}
|
|
1394
1410
|
set loginevent(e) {
|
|
1395
|
-
this.$$set({ loginevent: e }),
|
|
1411
|
+
this.$$set({ loginevent: e }), y();
|
|
1396
1412
|
}
|
|
1397
1413
|
get registerevent() {
|
|
1398
1414
|
return this.$$.ctx[44];
|
|
1399
1415
|
}
|
|
1400
1416
|
set registerevent(e) {
|
|
1401
|
-
this.$$set({ registerevent: e }),
|
|
1417
|
+
this.$$set({ registerevent: e }), y();
|
|
1402
1418
|
}
|
|
1403
1419
|
get detailsevent() {
|
|
1404
1420
|
return this.$$.ctx[9];
|
|
1405
1421
|
}
|
|
1406
1422
|
set detailsevent(e) {
|
|
1407
|
-
this.$$set({ detailsevent: e }),
|
|
1423
|
+
this.$$set({ detailsevent: e }), y();
|
|
1408
1424
|
}
|
|
1409
1425
|
get loginurl() {
|
|
1410
1426
|
return this.$$.ctx[45];
|
|
1411
1427
|
}
|
|
1412
1428
|
set loginurl(e) {
|
|
1413
|
-
this.$$set({ loginurl: e }),
|
|
1429
|
+
this.$$set({ loginurl: e }), y();
|
|
1414
1430
|
}
|
|
1415
1431
|
get registerurl() {
|
|
1416
1432
|
return this.$$.ctx[46];
|
|
1417
1433
|
}
|
|
1418
1434
|
set registerurl(e) {
|
|
1419
|
-
this.$$set({ registerurl: e }),
|
|
1435
|
+
this.$$set({ registerurl: e }), y();
|
|
1420
1436
|
}
|
|
1421
1437
|
get currency() {
|
|
1422
1438
|
return this.$$.ctx[47];
|
|
1423
1439
|
}
|
|
1424
1440
|
set currency(e) {
|
|
1425
|
-
this.$$set({ currency: e }),
|
|
1441
|
+
this.$$set({ currency: e }), y();
|
|
1426
1442
|
}
|
|
1427
1443
|
get keepbrowsercontext() {
|
|
1428
1444
|
return this.$$.ctx[10];
|
|
1429
1445
|
}
|
|
1430
1446
|
set keepbrowsercontext(e) {
|
|
1431
|
-
this.$$set({ keepbrowsercontext: e }),
|
|
1447
|
+
this.$$set({ keepbrowsercontext: e }), y();
|
|
1432
1448
|
}
|
|
1433
1449
|
get clientstyling() {
|
|
1434
1450
|
return this.$$.ctx[11];
|
|
1435
1451
|
}
|
|
1436
1452
|
set clientstyling(e) {
|
|
1437
|
-
this.$$set({ clientstyling: e }),
|
|
1453
|
+
this.$$set({ clientstyling: e }), y();
|
|
1438
1454
|
}
|
|
1439
1455
|
get clientstylingurl() {
|
|
1440
1456
|
return this.$$.ctx[12];
|
|
1441
1457
|
}
|
|
1442
1458
|
set clientstylingurl(e) {
|
|
1443
|
-
this.$$set({ clientstylingurl: e }),
|
|
1459
|
+
this.$$set({ clientstylingurl: e }), y();
|
|
1444
1460
|
}
|
|
1445
1461
|
get translationurl() {
|
|
1446
1462
|
return this.$$.ctx[13];
|
|
1447
1463
|
}
|
|
1448
1464
|
set translationurl(e) {
|
|
1449
|
-
this.$$set({ translationurl: e }),
|
|
1465
|
+
this.$$set({ translationurl: e }), y();
|
|
1450
1466
|
}
|
|
1451
1467
|
get tournamentinfo() {
|
|
1452
1468
|
return this.$$.ctx[48];
|
|
1453
1469
|
}
|
|
1454
1470
|
set tournamentinfo(e) {
|
|
1455
|
-
this.$$set({ tournamentinfo: e }),
|
|
1471
|
+
this.$$set({ tournamentinfo: e }), y();
|
|
1456
1472
|
}
|
|
1457
1473
|
get mbsource() {
|
|
1458
1474
|
return this.$$.ctx[14];
|
|
1459
1475
|
}
|
|
1460
1476
|
set mbsource(e) {
|
|
1461
|
-
this.$$set({ mbsource: e }),
|
|
1477
|
+
this.$$set({ mbsource: e }), y();
|
|
1462
1478
|
}
|
|
1463
1479
|
get tournamentid() {
|
|
1464
1480
|
return this.$$.ctx[49];
|
|
1465
1481
|
}
|
|
1466
1482
|
set tournamentid(e) {
|
|
1467
|
-
this.$$set({ tournamentid: e }),
|
|
1483
|
+
this.$$set({ tournamentid: e }), y();
|
|
1468
1484
|
}
|
|
1469
1485
|
get betcountmode() {
|
|
1470
1486
|
return this.$$.ctx[0];
|
|
1471
1487
|
}
|
|
1472
1488
|
set betcountmode(e) {
|
|
1473
|
-
this.$$set({ betcountmode: e }),
|
|
1489
|
+
this.$$set({ betcountmode: e }), y();
|
|
1474
1490
|
}
|
|
1475
1491
|
}
|
|
1476
1492
|
ft(St, { 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);
|