@everymatrix/casino-tournaments-controller 1.54.0 → 1.54.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsController-BRHh1Qjt.js → CasinoTournamentsController-B6mh3T8V.js} +1170 -1211
- package/components/{CasinoTournamentsFilterController-DLpCI6AW.js → CasinoTournamentsFilterController-crq752J3.js} +1 -1
- package/components/{CasinoTournamentsListController-CkqQPCZb.js → CasinoTournamentsListController-BHaCpLNs.js} +12 -12
- package/components/{CasinoTournamentsThumbnail-BmY3slCQ.js → CasinoTournamentsThumbnail-BpY5tzvh.js} +1 -1
- package/components/{CasinoTournamentsThumbnailController-BM-oOy9w.js → CasinoTournamentsThumbnailController-CmauHmt0.js} +369 -386
- package/components/{CasinoTournamentsThumbnailDuration-U4e250jT.js → CasinoTournamentsThumbnailDuration-Bl9YXTWz.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-yRwAgdKd.js → CasinoTournamentsThumbnailGamesSlider-7LdDhi2Q.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CxecGedD.js → CasinoTournamentsThumbnailPrizes-nDu0SMUv.js} +1 -1
- package/esnext/casino-tournaments-controller.js +14 -0
- package/package.json +10 -12
- package/components/CasinoTournamentsController-C_KNfkit.cjs +0 -14
- package/components/CasinoTournamentsFilterController-pSaDVRpk.cjs +0 -1
- package/components/CasinoTournamentsListController-CKXsySHE.cjs +0 -13
- package/components/CasinoTournamentsThumbnail-CTilgcJR.cjs +0 -4
- package/components/CasinoTournamentsThumbnailController-D7yd4p3c.cjs +0 -1
- package/components/CasinoTournamentsThumbnailDuration-YauqtylV.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-Vv2VY9lf.cjs +0 -1
- package/components/CasinoTournamentsThumbnailPrizes-BrpTWmKe.cjs +0 -1
- package/es2015/casino-tournaments-controller.cjs +0 -1
- package/es2015/casino-tournaments-controller.js +0 -16
|
@@ -1,32 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} catch (h) {
|
|
6
|
-
o(h);
|
|
7
|
-
}
|
|
8
|
-
}, l = (d) => {
|
|
9
|
-
try {
|
|
10
|
-
u(t.throw(d));
|
|
11
|
-
} catch (h) {
|
|
12
|
-
o(h);
|
|
13
|
-
}
|
|
14
|
-
}, u = (d) => d.done ? r(d.value) : Promise.resolve(d.value).then(i, l);
|
|
15
|
-
u((t = t.apply(n, e)).next());
|
|
16
|
-
});
|
|
17
|
-
import { z as se, E as Qe, a as Ye, S as $e, i as et, f as k, c as tt, s as nt, b as rt, e as z, h as _, n as le, j as y, k as it, w as ot, F as Ee, u as st, m as S, y as a, d as c, o as b, A as lt, B as at, t as D, p as M, $ as ut, r as R, x as Pe, C as ft, v as L } from "./CasinoTournamentsController-BRHh1Qjt.js";
|
|
18
|
-
function dt({ withLocale: n, translations: e }) {
|
|
19
|
-
se.subscribe((t) => {
|
|
20
|
-
t == null && (Qe.set(e), se.set(n));
|
|
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-B6mh3T8V.js";
|
|
2
|
+
function ut({ withLocale: n, translations: e }) {
|
|
3
|
+
oe.subscribe((t) => {
|
|
4
|
+
t == null && (Ve.set(e), oe.set(n));
|
|
21
5
|
});
|
|
22
6
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
7
|
+
function Ce(n, e) {
|
|
8
|
+
Ze(n, e);
|
|
25
9
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
10
|
+
function ft(n) {
|
|
11
|
+
oe.set(n);
|
|
28
12
|
}
|
|
29
|
-
const
|
|
13
|
+
const Ee = {
|
|
30
14
|
en: {
|
|
31
15
|
login: "Log in",
|
|
32
16
|
register: "Register",
|
|
@@ -116,7 +100,7 @@ const Be = {
|
|
|
116
100
|
joinerror: "An error occurred while registering in the tournament, please try again."
|
|
117
101
|
}
|
|
118
102
|
};
|
|
119
|
-
if (typeof window
|
|
103
|
+
if (typeof window < "u") {
|
|
120
104
|
let n = function(e) {
|
|
121
105
|
return function(...t) {
|
|
122
106
|
try {
|
|
@@ -128,11 +112,11 @@ if (typeof window != "undefined") {
|
|
|
128
112
|
}
|
|
129
113
|
};
|
|
130
114
|
};
|
|
131
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-
|
|
115
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnail-BpY5tzvh.js").then(({ default: e }) => {
|
|
132
116
|
!customElements.get("casino-tournaments-thumbnail") && customElements.define("casino-tournaments-thumbnail", e.element);
|
|
133
117
|
});
|
|
134
118
|
}
|
|
135
|
-
if (typeof window
|
|
119
|
+
if (typeof window < "u") {
|
|
136
120
|
let n = function(e) {
|
|
137
121
|
return function(...t) {
|
|
138
122
|
try {
|
|
@@ -144,14 +128,14 @@ if (typeof window != "undefined") {
|
|
|
144
128
|
}
|
|
145
129
|
};
|
|
146
130
|
};
|
|
147
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-
|
|
131
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailDuration-Bl9YXTWz.js").then(({ default: e }) => {
|
|
148
132
|
!customElements.get("casino-tournaments-thumbnail-duration") && customElements.define(
|
|
149
133
|
"casino-tournaments-thumbnail-duration",
|
|
150
134
|
e.element
|
|
151
135
|
);
|
|
152
136
|
});
|
|
153
137
|
}
|
|
154
|
-
if (typeof window
|
|
138
|
+
if (typeof window < "u") {
|
|
155
139
|
let n = function(e) {
|
|
156
140
|
return function(...t) {
|
|
157
141
|
try {
|
|
@@ -163,11 +147,11 @@ if (typeof window != "undefined") {
|
|
|
163
147
|
}
|
|
164
148
|
};
|
|
165
149
|
};
|
|
166
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-
|
|
150
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailPrizes-nDu0SMUv.js").then(({ default: e }) => {
|
|
167
151
|
!customElements.get("casino-tournaments-thumbnail-prizes") && customElements.define("casino-tournaments-thumbnail-prizes", e.element);
|
|
168
152
|
});
|
|
169
153
|
}
|
|
170
|
-
if (typeof window
|
|
154
|
+
if (typeof window < "u") {
|
|
171
155
|
let n = function(e) {
|
|
172
156
|
return function(...t) {
|
|
173
157
|
try {
|
|
@@ -179,7 +163,7 @@ if (typeof window != "undefined") {
|
|
|
179
163
|
}
|
|
180
164
|
};
|
|
181
165
|
};
|
|
182
|
-
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-
|
|
166
|
+
customElements.define = n(customElements.define), import("./CasinoTournamentsThumbnailGamesSlider-7LdDhi2Q.js").then(
|
|
183
167
|
({ default: e }) => {
|
|
184
168
|
!customElements.get("casino-tournaments-thumbnail-games-slider") && customElements.define(
|
|
185
169
|
"casino-tournaments-thumbnail-games-slider",
|
|
@@ -188,420 +172,420 @@ if (typeof window != "undefined") {
|
|
|
188
172
|
}
|
|
189
173
|
);
|
|
190
174
|
}
|
|
191
|
-
function
|
|
192
|
-
|
|
175
|
+
function dt(n) {
|
|
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}');
|
|
193
177
|
}
|
|
194
|
-
function
|
|
195
|
-
let e, t, r,
|
|
178
|
+
function ct(n) {
|
|
179
|
+
let e, t, r, s, i, a, u, m, h, c = (
|
|
196
180
|
/*isLoggedIn*/
|
|
197
|
-
n[14] &&
|
|
181
|
+
n[14] && je(n)
|
|
198
182
|
);
|
|
199
183
|
function F(f, g) {
|
|
200
184
|
if (!/*isLoggedIn*/
|
|
201
|
-
f[14]) return
|
|
185
|
+
f[14]) return pt;
|
|
202
186
|
if (
|
|
203
187
|
/*status*/
|
|
204
188
|
f[23] != "Closed" && /*status*/
|
|
205
189
|
f[23] != "Closing"
|
|
206
|
-
) return
|
|
190
|
+
) return ht;
|
|
207
191
|
if (
|
|
208
192
|
/*showdetails*/
|
|
209
193
|
f[3] == "true"
|
|
210
|
-
) return
|
|
194
|
+
) return gt;
|
|
211
195
|
}
|
|
212
196
|
let E = F(n), v = E && E(n), w = (
|
|
213
197
|
/*errorJoin*/
|
|
214
198
|
(n[17] || /*errorJoinConcurrently*/
|
|
215
|
-
n[19]) &&
|
|
199
|
+
n[19]) && Me(n)
|
|
216
200
|
), T = (
|
|
217
201
|
/*showslider*/
|
|
218
|
-
n[4] == "true" &&
|
|
202
|
+
n[4] == "true" && Ae(n)
|
|
219
203
|
);
|
|
220
204
|
return {
|
|
221
205
|
c() {
|
|
222
|
-
e = z("div"), t = z("casino-tournaments-thumbnail"), r = S(),
|
|
206
|
+
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(
|
|
223
207
|
t,
|
|
224
208
|
"session",
|
|
225
209
|
/*session*/
|
|
226
210
|
n[0]
|
|
227
|
-
),
|
|
211
|
+
), l(
|
|
228
212
|
t,
|
|
229
213
|
"userid",
|
|
230
214
|
/*userid*/
|
|
231
215
|
n[1]
|
|
232
|
-
),
|
|
216
|
+
), l(
|
|
233
217
|
t,
|
|
234
218
|
"title",
|
|
235
219
|
/*title*/
|
|
236
220
|
n[20]
|
|
237
|
-
),
|
|
221
|
+
), l(
|
|
238
222
|
t,
|
|
239
223
|
"status",
|
|
240
224
|
/*status*/
|
|
241
225
|
n[23]
|
|
242
|
-
),
|
|
226
|
+
), l(
|
|
243
227
|
t,
|
|
244
228
|
"startdate",
|
|
245
229
|
/*startdate*/
|
|
246
230
|
n[21]
|
|
247
|
-
),
|
|
231
|
+
), l(
|
|
248
232
|
t,
|
|
249
233
|
"tourid",
|
|
250
234
|
/*tourid*/
|
|
251
235
|
n[24]
|
|
252
|
-
),
|
|
236
|
+
), l(
|
|
253
237
|
t,
|
|
254
238
|
"scorecriteria",
|
|
255
239
|
/*scorecriteria*/
|
|
256
240
|
n[27]
|
|
257
|
-
),
|
|
241
|
+
), l(
|
|
258
242
|
t,
|
|
259
243
|
"minbetcount",
|
|
260
244
|
/*minbetcount*/
|
|
261
245
|
n[28]
|
|
262
|
-
),
|
|
246
|
+
), l(
|
|
263
247
|
t,
|
|
264
248
|
"thumbnail",
|
|
265
249
|
/*thumbnail*/
|
|
266
250
|
n[25]
|
|
267
|
-
),
|
|
251
|
+
), l(
|
|
268
252
|
t,
|
|
269
253
|
"showenrolled",
|
|
270
254
|
/*showenrolled*/
|
|
271
255
|
n[5]
|
|
272
|
-
),
|
|
256
|
+
), l(
|
|
273
257
|
t,
|
|
274
258
|
"gameurl",
|
|
275
259
|
/*gameurl*/
|
|
276
260
|
n[30]
|
|
277
|
-
),
|
|
261
|
+
), l(
|
|
278
262
|
t,
|
|
279
263
|
"userenrolled",
|
|
280
264
|
/*userenrolled*/
|
|
281
265
|
n[26]
|
|
282
|
-
),
|
|
266
|
+
), l(
|
|
283
267
|
t,
|
|
284
268
|
"clientstyling",
|
|
285
269
|
/*clientstyling*/
|
|
286
270
|
n[10]
|
|
287
|
-
),
|
|
271
|
+
), l(
|
|
288
272
|
t,
|
|
289
273
|
"clientstylingurl",
|
|
290
274
|
/*clientstylingurl*/
|
|
291
275
|
n[11]
|
|
292
|
-
),
|
|
276
|
+
), l(
|
|
293
277
|
t,
|
|
294
278
|
"translationurl",
|
|
295
279
|
/*translationurl*/
|
|
296
280
|
n[12]
|
|
297
|
-
),
|
|
281
|
+
), l(
|
|
298
282
|
t,
|
|
299
283
|
"lang",
|
|
300
284
|
/*lang*/
|
|
301
285
|
n[8]
|
|
302
|
-
),
|
|
286
|
+
), l(
|
|
303
287
|
t,
|
|
304
288
|
"keepbrowsercontext",
|
|
305
289
|
/*keepbrowsercontext*/
|
|
306
290
|
n[9]
|
|
307
|
-
),
|
|
291
|
+
), l(t, "exportparts", "Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"), d(i, "class", "TournamentButtons"), d(i, "part", "TournamentButtons"), d(e, "class", m = "TournamentCard " + /*maxwidth*/
|
|
308
292
|
(n[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
309
293
|
(n[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
310
|
-
(n[31] ? "elementToFadeOut" : "elementToFadeIn")),
|
|
294
|
+
(n[31] ? "elementToFadeOut" : "elementToFadeIn")), d(e, "part", h = "TournamentCard " + /*maxwidth*/
|
|
311
295
|
(n[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
312
296
|
(n[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
313
297
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
|
|
314
298
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
315
299
|
},
|
|
316
300
|
m(f, g) {
|
|
317
|
-
_(f, e, g), b(e, t), b(e, r),
|
|
301
|
+
_(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);
|
|
318
302
|
},
|
|
319
303
|
p(f, g) {
|
|
320
304
|
g[0] & /*session*/
|
|
321
|
-
1 &&
|
|
305
|
+
1 && l(
|
|
322
306
|
t,
|
|
323
307
|
"session",
|
|
324
308
|
/*session*/
|
|
325
309
|
f[0]
|
|
326
310
|
), g[0] & /*userid*/
|
|
327
|
-
2 &&
|
|
311
|
+
2 && l(
|
|
328
312
|
t,
|
|
329
313
|
"userid",
|
|
330
314
|
/*userid*/
|
|
331
315
|
f[1]
|
|
332
316
|
), g[0] & /*title*/
|
|
333
|
-
1048576 &&
|
|
317
|
+
1048576 && l(
|
|
334
318
|
t,
|
|
335
319
|
"title",
|
|
336
320
|
/*title*/
|
|
337
321
|
f[20]
|
|
338
322
|
), g[0] & /*status*/
|
|
339
|
-
8388608 &&
|
|
323
|
+
8388608 && l(
|
|
340
324
|
t,
|
|
341
325
|
"status",
|
|
342
326
|
/*status*/
|
|
343
327
|
f[23]
|
|
344
328
|
), g[0] & /*startdate*/
|
|
345
|
-
2097152 &&
|
|
329
|
+
2097152 && l(
|
|
346
330
|
t,
|
|
347
331
|
"startdate",
|
|
348
332
|
/*startdate*/
|
|
349
333
|
f[21]
|
|
350
334
|
), g[0] & /*tourid*/
|
|
351
|
-
16777216 &&
|
|
335
|
+
16777216 && l(
|
|
352
336
|
t,
|
|
353
337
|
"tourid",
|
|
354
338
|
/*tourid*/
|
|
355
339
|
f[24]
|
|
356
340
|
), g[0] & /*scorecriteria*/
|
|
357
|
-
134217728 &&
|
|
341
|
+
134217728 && l(
|
|
358
342
|
t,
|
|
359
343
|
"scorecriteria",
|
|
360
344
|
/*scorecriteria*/
|
|
361
345
|
f[27]
|
|
362
346
|
), g[0] & /*minbetcount*/
|
|
363
|
-
268435456 &&
|
|
347
|
+
268435456 && l(
|
|
364
348
|
t,
|
|
365
349
|
"minbetcount",
|
|
366
350
|
/*minbetcount*/
|
|
367
351
|
f[28]
|
|
368
352
|
), g[0] & /*thumbnail*/
|
|
369
|
-
33554432 &&
|
|
353
|
+
33554432 && l(
|
|
370
354
|
t,
|
|
371
355
|
"thumbnail",
|
|
372
356
|
/*thumbnail*/
|
|
373
357
|
f[25]
|
|
374
358
|
), g[0] & /*showenrolled*/
|
|
375
|
-
32 &&
|
|
359
|
+
32 && l(
|
|
376
360
|
t,
|
|
377
361
|
"showenrolled",
|
|
378
362
|
/*showenrolled*/
|
|
379
363
|
f[5]
|
|
380
364
|
), g[0] & /*gameurl*/
|
|
381
|
-
1073741824 &&
|
|
365
|
+
1073741824 && l(
|
|
382
366
|
t,
|
|
383
367
|
"gameurl",
|
|
384
368
|
/*gameurl*/
|
|
385
369
|
f[30]
|
|
386
370
|
), g[0] & /*userenrolled*/
|
|
387
|
-
67108864 &&
|
|
371
|
+
67108864 && l(
|
|
388
372
|
t,
|
|
389
373
|
"userenrolled",
|
|
390
374
|
/*userenrolled*/
|
|
391
375
|
f[26]
|
|
392
376
|
), g[0] & /*clientstyling*/
|
|
393
|
-
1024 &&
|
|
377
|
+
1024 && l(
|
|
394
378
|
t,
|
|
395
379
|
"clientstyling",
|
|
396
380
|
/*clientstyling*/
|
|
397
381
|
f[10]
|
|
398
382
|
), g[0] & /*clientstylingurl*/
|
|
399
|
-
2048 &&
|
|
383
|
+
2048 && l(
|
|
400
384
|
t,
|
|
401
385
|
"clientstylingurl",
|
|
402
386
|
/*clientstylingurl*/
|
|
403
387
|
f[11]
|
|
404
388
|
), g[0] & /*translationurl*/
|
|
405
|
-
4096 &&
|
|
389
|
+
4096 && l(
|
|
406
390
|
t,
|
|
407
391
|
"translationurl",
|
|
408
392
|
/*translationurl*/
|
|
409
393
|
f[12]
|
|
410
394
|
), g[0] & /*lang*/
|
|
411
|
-
256 &&
|
|
395
|
+
256 && l(
|
|
412
396
|
t,
|
|
413
397
|
"lang",
|
|
414
398
|
/*lang*/
|
|
415
399
|
f[8]
|
|
416
400
|
), g[0] & /*keepbrowsercontext*/
|
|
417
|
-
512 &&
|
|
401
|
+
512 && l(
|
|
418
402
|
t,
|
|
419
403
|
"keepbrowsercontext",
|
|
420
404
|
/*keepbrowsercontext*/
|
|
421
405
|
f[9]
|
|
422
406
|
), /*isLoggedIn*/
|
|
423
|
-
f[14] ?
|
|
407
|
+
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*/
|
|
424
408
|
f[17] || /*errorJoinConcurrently*/
|
|
425
|
-
f[19] ? w ? w.p(f, g) : (w =
|
|
426
|
-
f[4] == "true" ? T ? T.p(f, g) : (T =
|
|
409
|
+
f[19] ? w ? w.p(f, g) : (w = Me(f), w.c(), w.m(e, u)) : w && (w.d(1), w = null), /*showslider*/
|
|
410
|
+
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*/
|
|
427
411
|
192 | g[1] & /*isChanging*/
|
|
428
|
-
1 &&
|
|
412
|
+
1 && m !== (m = "TournamentCard " + /*maxwidth*/
|
|
429
413
|
(f[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
430
414
|
(f[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
431
|
-
(f[31] ? "elementToFadeOut" : "elementToFadeIn")) &&
|
|
415
|
+
(f[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "class", m), g[0] & /*maxwidth, fullsize*/
|
|
432
416
|
192 | g[1] & /*isChanging*/
|
|
433
417
|
1 && h !== (h = "TournamentCard " + /*maxwidth*/
|
|
434
418
|
(f[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
435
419
|
(f[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
436
420
|
(f[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
|
|
437
|
-
(f[31] ? "elementToFadeOut" : "elementToFadeIn")) &&
|
|
421
|
+
(f[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "part", h);
|
|
438
422
|
},
|
|
439
423
|
d(f) {
|
|
440
|
-
f &&
|
|
424
|
+
f && k(e), c && c.d(), v && v.d(), w && w.d(), T && T.d();
|
|
441
425
|
}
|
|
442
426
|
};
|
|
443
427
|
}
|
|
444
|
-
function
|
|
445
|
-
let e, t, r,
|
|
428
|
+
function mt(n) {
|
|
429
|
+
let e, t, r, s;
|
|
446
430
|
return {
|
|
447
431
|
c() {
|
|
448
|
-
e = z("div"), t = z("div"), t.innerHTML = '<div class="ph-col-12" part="ph-col-12"><div class="ph-picture" part="ph-picture"></div> <div class="ph-row" part="ph-row"><div class="ph-col-6 big" part="ph-col-6 big"></div> <div class="ph-col-4 empty big" part="ph-col-4 empty big"></div> <div class="ph-col-4" part="ph-col-4"></div> <div class="ph-col-8 empty" part="ph-col-8 empty"></div> <div class="ph-col-6" part="ph-col-6"></div> <div class="ph-col-6 empty" part="ph-col-6 empty"></div> <div class="ph-col-12" part="ph-col-12"></div></div></div>',
|
|
432
|
+
e = z("div"), t = z("div"), t.innerHTML = '<div class="ph-col-12" part="ph-col-12"><div class="ph-picture" part="ph-picture"></div> <div class="ph-row" part="ph-row"><div class="ph-col-6 big" part="ph-col-6 big"></div> <div class="ph-col-4 empty big" part="ph-col-4 empty big"></div> <div class="ph-col-4" part="ph-col-4"></div> <div class="ph-col-8 empty" part="ph-col-8 empty"></div> <div class="ph-col-6" part="ph-col-6"></div> <div class="ph-col-6 empty" part="ph-col-6 empty"></div> <div class="ph-col-12" part="ph-col-12"></div></div></div>', d(t, "class", "ph-item"), d(t, "part", "ph-item"), d(e, "class", r = "TournamentCard " + /*maxwidth*/
|
|
449
433
|
(n[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
450
434
|
(n[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
451
|
-
(n[31] ? "elementToFadeOut" : "elementToFadeIn")),
|
|
435
|
+
(n[31] ? "elementToFadeOut" : "elementToFadeIn")), d(e, "part", s = "TournamentCard " + /*maxwidth*/
|
|
452
436
|
(n[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
453
437
|
(n[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
454
438
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
|
|
455
439
|
(n[31] ? "elementToFadeOut" : "elementToFadeIn"));
|
|
456
440
|
},
|
|
457
|
-
m(i,
|
|
458
|
-
_(i, e,
|
|
441
|
+
m(i, a) {
|
|
442
|
+
_(i, e, a), b(e, t);
|
|
459
443
|
},
|
|
460
|
-
p(i,
|
|
461
|
-
|
|
462
|
-
192 |
|
|
444
|
+
p(i, a) {
|
|
445
|
+
a[0] & /*maxwidth, fullsize*/
|
|
446
|
+
192 | a[1] & /*isChanging*/
|
|
463
447
|
1 && r !== (r = "TournamentCard " + /*maxwidth*/
|
|
464
448
|
(i[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
465
449
|
(i[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
466
|
-
(i[31] ? "elementToFadeOut" : "elementToFadeIn")) &&
|
|
467
|
-
192 |
|
|
468
|
-
1 &&
|
|
450
|
+
(i[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "class", r), a[0] & /*maxwidth, fullsize*/
|
|
451
|
+
192 | a[1] & /*isChanging*/
|
|
452
|
+
1 && s !== (s = "TournamentCard " + /*maxwidth*/
|
|
469
453
|
(i[6] ? "CardMaxWidth" : "") + /*fullsize*/
|
|
470
454
|
(i[7] ? "CardFullSize" : "") + " " + /*isChanging*/
|
|
471
455
|
(i[31] ? "elementToFadeOut" : "elementToFadeIn") + " " + /*isChanging*/
|
|
472
|
-
(i[31] ? "elementToFadeOut" : "elementToFadeIn")) &&
|
|
456
|
+
(i[31] ? "elementToFadeOut" : "elementToFadeIn")) && d(e, "part", s);
|
|
473
457
|
},
|
|
474
458
|
d(i) {
|
|
475
|
-
i &&
|
|
459
|
+
i && k(e);
|
|
476
460
|
}
|
|
477
461
|
};
|
|
478
462
|
}
|
|
479
|
-
function
|
|
463
|
+
function je(n) {
|
|
480
464
|
let e, t, r = (
|
|
481
465
|
/*tourid*/
|
|
482
|
-
n[24] &&
|
|
466
|
+
n[24] && Be(n)
|
|
483
467
|
);
|
|
484
468
|
return {
|
|
485
469
|
c() {
|
|
486
|
-
r && r.c(), e = S(), t = z("casino-tournaments-thumbnail-duration"),
|
|
470
|
+
r && r.c(), e = S(), t = z("casino-tournaments-thumbnail-duration"), l(
|
|
487
471
|
t,
|
|
488
472
|
"clientstyling",
|
|
489
473
|
/*clientstyling*/
|
|
490
474
|
n[10]
|
|
491
|
-
),
|
|
475
|
+
), l(
|
|
492
476
|
t,
|
|
493
477
|
"clientstylingurl",
|
|
494
478
|
/*clientstylingurl*/
|
|
495
479
|
n[11]
|
|
496
|
-
),
|
|
480
|
+
), l(
|
|
497
481
|
t,
|
|
498
482
|
"translationurl",
|
|
499
483
|
/*translationurl*/
|
|
500
484
|
n[12]
|
|
501
|
-
),
|
|
485
|
+
), l(
|
|
502
486
|
t,
|
|
503
487
|
"status",
|
|
504
488
|
/*status*/
|
|
505
489
|
n[23]
|
|
506
|
-
),
|
|
490
|
+
), l(
|
|
507
491
|
t,
|
|
508
492
|
"startdate",
|
|
509
493
|
/*startdate*/
|
|
510
494
|
n[21]
|
|
511
|
-
),
|
|
495
|
+
), l(
|
|
512
496
|
t,
|
|
513
497
|
"lang",
|
|
514
498
|
/*lang*/
|
|
515
499
|
n[8]
|
|
516
|
-
),
|
|
500
|
+
), l(
|
|
517
501
|
t,
|
|
518
502
|
"enddate",
|
|
519
503
|
/*enddate*/
|
|
520
504
|
n[22]
|
|
521
|
-
),
|
|
505
|
+
), l(t, "exportparts", "TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill");
|
|
522
506
|
},
|
|
523
|
-
m(
|
|
524
|
-
r && r.m(
|
|
507
|
+
m(s, i) {
|
|
508
|
+
r && r.m(s, i), _(s, e, i), _(s, t, i);
|
|
525
509
|
},
|
|
526
|
-
p(
|
|
510
|
+
p(s, i) {
|
|
527
511
|
/*tourid*/
|
|
528
|
-
|
|
529
|
-
1024 &&
|
|
512
|
+
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
|
+
1024 && l(
|
|
530
514
|
t,
|
|
531
515
|
"clientstyling",
|
|
532
516
|
/*clientstyling*/
|
|
533
|
-
|
|
517
|
+
s[10]
|
|
534
518
|
), i[0] & /*clientstylingurl*/
|
|
535
|
-
2048 &&
|
|
519
|
+
2048 && l(
|
|
536
520
|
t,
|
|
537
521
|
"clientstylingurl",
|
|
538
522
|
/*clientstylingurl*/
|
|
539
|
-
|
|
523
|
+
s[11]
|
|
540
524
|
), i[0] & /*translationurl*/
|
|
541
|
-
4096 &&
|
|
525
|
+
4096 && l(
|
|
542
526
|
t,
|
|
543
527
|
"translationurl",
|
|
544
528
|
/*translationurl*/
|
|
545
|
-
|
|
529
|
+
s[12]
|
|
546
530
|
), i[0] & /*status*/
|
|
547
|
-
8388608 &&
|
|
531
|
+
8388608 && l(
|
|
548
532
|
t,
|
|
549
533
|
"status",
|
|
550
534
|
/*status*/
|
|
551
|
-
|
|
535
|
+
s[23]
|
|
552
536
|
), i[0] & /*startdate*/
|
|
553
|
-
2097152 &&
|
|
537
|
+
2097152 && l(
|
|
554
538
|
t,
|
|
555
539
|
"startdate",
|
|
556
540
|
/*startdate*/
|
|
557
|
-
|
|
541
|
+
s[21]
|
|
558
542
|
), i[0] & /*lang*/
|
|
559
|
-
256 &&
|
|
543
|
+
256 && l(
|
|
560
544
|
t,
|
|
561
545
|
"lang",
|
|
562
546
|
/*lang*/
|
|
563
|
-
|
|
547
|
+
s[8]
|
|
564
548
|
), i[0] & /*enddate*/
|
|
565
|
-
4194304 &&
|
|
549
|
+
4194304 && l(
|
|
566
550
|
t,
|
|
567
551
|
"enddate",
|
|
568
552
|
/*enddate*/
|
|
569
|
-
|
|
553
|
+
s[22]
|
|
570
554
|
);
|
|
571
555
|
},
|
|
572
|
-
d(
|
|
573
|
-
|
|
556
|
+
d(s) {
|
|
557
|
+
s && (k(e), k(t)), r && r.d(s);
|
|
574
558
|
}
|
|
575
559
|
};
|
|
576
560
|
}
|
|
577
|
-
function
|
|
578
|
-
let e, t, r,
|
|
561
|
+
function Be(n) {
|
|
562
|
+
let e, t, r, s;
|
|
579
563
|
return {
|
|
580
564
|
c() {
|
|
581
|
-
e = z("casino-tournaments-thumbnail-prizes"),
|
|
565
|
+
e = z("casino-tournaments-thumbnail-prizes"), l(
|
|
582
566
|
e,
|
|
583
567
|
"tourid",
|
|
584
568
|
/*tourid*/
|
|
585
569
|
n[24]
|
|
586
|
-
),
|
|
570
|
+
), l(
|
|
587
571
|
e,
|
|
588
572
|
"clientstyling",
|
|
589
573
|
/*clientstyling*/
|
|
590
574
|
n[10]
|
|
591
|
-
),
|
|
575
|
+
), l(
|
|
592
576
|
e,
|
|
593
577
|
"clientstylingurl",
|
|
594
578
|
/*clientstylingurl*/
|
|
595
579
|
n[11]
|
|
596
|
-
),
|
|
580
|
+
), l(
|
|
597
581
|
e,
|
|
598
582
|
"translationurl",
|
|
599
583
|
/*translationurl*/
|
|
600
584
|
n[12]
|
|
601
|
-
),
|
|
585
|
+
), l(e, "exportparts", "TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper");
|
|
602
586
|
},
|
|
603
|
-
m(i,
|
|
604
|
-
_(i, e,
|
|
587
|
+
m(i, a) {
|
|
588
|
+
_(i, e, a), r || (s = ot(t = /*sendTournamentPrizes*/
|
|
605
589
|
n[37].call(
|
|
606
590
|
null,
|
|
607
591
|
e,
|
|
@@ -609,32 +593,32 @@ function De(n) {
|
|
|
609
593
|
n[24]
|
|
610
594
|
)), r = !0);
|
|
611
595
|
},
|
|
612
|
-
p(i,
|
|
613
|
-
|
|
614
|
-
16777216 &&
|
|
596
|
+
p(i, a) {
|
|
597
|
+
a[0] & /*tourid*/
|
|
598
|
+
16777216 && l(
|
|
615
599
|
e,
|
|
616
600
|
"tourid",
|
|
617
601
|
/*tourid*/
|
|
618
602
|
i[24]
|
|
619
|
-
),
|
|
620
|
-
1024 &&
|
|
603
|
+
), a[0] & /*clientstyling*/
|
|
604
|
+
1024 && l(
|
|
621
605
|
e,
|
|
622
606
|
"clientstyling",
|
|
623
607
|
/*clientstyling*/
|
|
624
608
|
i[10]
|
|
625
|
-
),
|
|
626
|
-
2048 &&
|
|
609
|
+
), a[0] & /*clientstylingurl*/
|
|
610
|
+
2048 && l(
|
|
627
611
|
e,
|
|
628
612
|
"clientstylingurl",
|
|
629
613
|
/*clientstylingurl*/
|
|
630
614
|
i[11]
|
|
631
|
-
),
|
|
632
|
-
4096 &&
|
|
615
|
+
), a[0] & /*translationurl*/
|
|
616
|
+
4096 && l(
|
|
633
617
|
e,
|
|
634
618
|
"translationurl",
|
|
635
619
|
/*translationurl*/
|
|
636
620
|
i[12]
|
|
637
|
-
), t &&
|
|
621
|
+
), t && st(t.update) && a[0] & /*tourid*/
|
|
638
622
|
16777216 && t.update.call(
|
|
639
623
|
null,
|
|
640
624
|
/*tourid*/
|
|
@@ -642,79 +626,79 @@ function De(n) {
|
|
|
642
626
|
);
|
|
643
627
|
},
|
|
644
628
|
d(i) {
|
|
645
|
-
i &&
|
|
629
|
+
i && k(e), r = !1, s();
|
|
646
630
|
}
|
|
647
631
|
};
|
|
648
632
|
}
|
|
649
|
-
function
|
|
633
|
+
function gt(n) {
|
|
650
634
|
let e, t = (
|
|
651
635
|
/*$_*/
|
|
652
636
|
n[32]("details") + ""
|
|
653
|
-
), r,
|
|
637
|
+
), r, s, i;
|
|
654
638
|
return {
|
|
655
639
|
c() {
|
|
656
|
-
e = z("button"), r = D(t),
|
|
640
|
+
e = z("button"), r = D(t), d(e, "class", "DetailsLargeButton"), d(e, "part", "DetailsLargeButton");
|
|
657
641
|
},
|
|
658
|
-
m(
|
|
659
|
-
_(
|
|
642
|
+
m(a, u) {
|
|
643
|
+
_(a, e, u), b(e, r), s || (i = R(
|
|
660
644
|
e,
|
|
661
645
|
"click",
|
|
662
646
|
/*click_handler_4*/
|
|
663
647
|
n[51]
|
|
664
|
-
),
|
|
648
|
+
), s = !0);
|
|
665
649
|
},
|
|
666
|
-
p(
|
|
650
|
+
p(a, u) {
|
|
667
651
|
u[1] & /*$_*/
|
|
668
652
|
2 && t !== (t = /*$_*/
|
|
669
|
-
|
|
653
|
+
a[32]("details") + "") && M(r, t);
|
|
670
654
|
},
|
|
671
|
-
d(
|
|
672
|
-
|
|
655
|
+
d(a) {
|
|
656
|
+
a && k(e), s = !1, i();
|
|
673
657
|
}
|
|
674
658
|
};
|
|
675
659
|
}
|
|
676
|
-
function
|
|
660
|
+
function ht(n) {
|
|
677
661
|
let e, t, r = (
|
|
678
662
|
/*showdetails*/
|
|
679
|
-
n[3] == "true" &&
|
|
663
|
+
n[3] == "true" && Se(n)
|
|
680
664
|
);
|
|
681
|
-
function
|
|
665
|
+
function s(u, m) {
|
|
682
666
|
return (
|
|
683
667
|
/*userenrolled*/
|
|
684
|
-
u[26] ?
|
|
668
|
+
u[26] ? bt : wt
|
|
685
669
|
);
|
|
686
670
|
}
|
|
687
|
-
let i =
|
|
671
|
+
let i = s(n), a = i(n);
|
|
688
672
|
return {
|
|
689
673
|
c() {
|
|
690
|
-
r && r.c(), e = S(),
|
|
674
|
+
r && r.c(), e = S(), a.c(), t = Le();
|
|
691
675
|
},
|
|
692
|
-
m(u,
|
|
693
|
-
r && r.m(u,
|
|
676
|
+
m(u, m) {
|
|
677
|
+
r && r.m(u, m), _(u, e, m), a.m(u, m), _(u, t, m);
|
|
694
678
|
},
|
|
695
|
-
p(u,
|
|
679
|
+
p(u, m) {
|
|
696
680
|
/*showdetails*/
|
|
697
|
-
u[3] == "true" ? r ? r.p(u,
|
|
681
|
+
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)));
|
|
698
682
|
},
|
|
699
683
|
d(u) {
|
|
700
|
-
u && (
|
|
684
|
+
u && (k(e), k(t)), r && r.d(u), a.d(u);
|
|
701
685
|
}
|
|
702
686
|
};
|
|
703
687
|
}
|
|
704
|
-
function
|
|
688
|
+
function pt(n) {
|
|
705
689
|
let e, t = (
|
|
706
690
|
/*$_*/
|
|
707
691
|
n[32]("login") + ""
|
|
708
|
-
), r,
|
|
692
|
+
), r, s, i, a = (
|
|
709
693
|
/*$_*/
|
|
710
694
|
n[32]("register") + ""
|
|
711
|
-
), u,
|
|
695
|
+
), u, m, h;
|
|
712
696
|
return {
|
|
713
697
|
c() {
|
|
714
|
-
e = z("button"), r = D(t),
|
|
698
|
+
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");
|
|
715
699
|
},
|
|
716
|
-
m(
|
|
717
|
-
_(
|
|
700
|
+
m(c, F) {
|
|
701
|
+
_(c, e, F), b(e, r), _(c, s, F), _(c, i, F), b(i, u), m || (h = [
|
|
718
702
|
R(
|
|
719
703
|
e,
|
|
720
704
|
"click",
|
|
@@ -727,117 +711,117 @@ function bt(n) {
|
|
|
727
711
|
/*click_handler_1*/
|
|
728
712
|
n[48]
|
|
729
713
|
)
|
|
730
|
-
],
|
|
714
|
+
], m = !0);
|
|
731
715
|
},
|
|
732
|
-
p(
|
|
716
|
+
p(c, F) {
|
|
733
717
|
F[1] & /*$_*/
|
|
734
718
|
2 && t !== (t = /*$_*/
|
|
735
|
-
|
|
736
|
-
2 &&
|
|
737
|
-
|
|
719
|
+
c[32]("login") + "") && M(r, t), F[1] & /*$_*/
|
|
720
|
+
2 && a !== (a = /*$_*/
|
|
721
|
+
c[32]("register") + "") && M(u, a);
|
|
738
722
|
},
|
|
739
|
-
d(
|
|
740
|
-
|
|
723
|
+
d(c) {
|
|
724
|
+
c && (k(e), k(s), k(i)), m = !1, at(h);
|
|
741
725
|
}
|
|
742
726
|
};
|
|
743
727
|
}
|
|
744
|
-
function
|
|
728
|
+
function Se(n) {
|
|
745
729
|
let e, t = (
|
|
746
730
|
/*$_*/
|
|
747
731
|
n[32]("details") + ""
|
|
748
|
-
), r,
|
|
732
|
+
), r, s, i;
|
|
749
733
|
return {
|
|
750
734
|
c() {
|
|
751
|
-
e = z("button"), r = D(t),
|
|
735
|
+
e = z("button"), r = D(t), d(e, "class", "DetailsButton"), d(e, "part", "DetailsButton");
|
|
752
736
|
},
|
|
753
|
-
m(
|
|
754
|
-
_(
|
|
737
|
+
m(a, u) {
|
|
738
|
+
_(a, e, u), b(e, r), s || (i = R(
|
|
755
739
|
e,
|
|
756
740
|
"click",
|
|
757
741
|
/*click_handler_2*/
|
|
758
742
|
n[49]
|
|
759
|
-
),
|
|
743
|
+
), s = !0);
|
|
760
744
|
},
|
|
761
|
-
p(
|
|
745
|
+
p(a, u) {
|
|
762
746
|
u[1] & /*$_*/
|
|
763
747
|
2 && t !== (t = /*$_*/
|
|
764
|
-
|
|
748
|
+
a[32]("details") + "") && M(r, t);
|
|
765
749
|
},
|
|
766
|
-
d(
|
|
767
|
-
|
|
750
|
+
d(a) {
|
|
751
|
+
a && k(e), s = !1, i();
|
|
768
752
|
}
|
|
769
753
|
};
|
|
770
754
|
}
|
|
771
|
-
function
|
|
772
|
-
let e, t, r,
|
|
773
|
-
function
|
|
755
|
+
function wt(n) {
|
|
756
|
+
let e, t, r, s, i;
|
|
757
|
+
function a(h, c) {
|
|
774
758
|
return (
|
|
775
759
|
/*joinButtonLoading*/
|
|
776
|
-
h[16] == !0 ?
|
|
760
|
+
h[16] == !0 ? kt : _t
|
|
777
761
|
);
|
|
778
762
|
}
|
|
779
|
-
let u =
|
|
763
|
+
let u = a(n), m = u(n);
|
|
780
764
|
return {
|
|
781
765
|
c() {
|
|
782
|
-
e = z("button"),
|
|
783
|
-
(n[7] ? "JoinButtonFullSize" : "")),
|
|
766
|
+
e = z("button"), m.c(), d(e, "class", t = "JoinButton " + /*fullsize*/
|
|
767
|
+
(n[7] ? "JoinButtonFullSize" : "")), d(e, "part", r = "JoinButton " + /*fullsize*/
|
|
784
768
|
(n[7] ? "JoinButtonFullSize" : "")), e.disabled = /*errorJoin*/
|
|
785
769
|
n[17];
|
|
786
770
|
},
|
|
787
|
-
m(h,
|
|
788
|
-
_(h, e,
|
|
771
|
+
m(h, c) {
|
|
772
|
+
_(h, e, c), m.m(e, null), s || (i = R(
|
|
789
773
|
e,
|
|
790
774
|
"click",
|
|
791
775
|
/*click_handler_3*/
|
|
792
776
|
n[50]
|
|
793
|
-
),
|
|
777
|
+
), s = !0);
|
|
794
778
|
},
|
|
795
|
-
p(h,
|
|
796
|
-
u === (u =
|
|
779
|
+
p(h, c) {
|
|
780
|
+
u === (u = a(h)) && m ? m.p(h, c) : (m.d(1), m = u(h), m && (m.c(), m.m(e, null))), c[0] & /*fullsize*/
|
|
797
781
|
128 && t !== (t = "JoinButton " + /*fullsize*/
|
|
798
|
-
(h[7] ? "JoinButtonFullSize" : "")) &&
|
|
782
|
+
(h[7] ? "JoinButtonFullSize" : "")) && d(e, "class", t), c[0] & /*fullsize*/
|
|
799
783
|
128 && r !== (r = "JoinButton " + /*fullsize*/
|
|
800
|
-
(h[7] ? "JoinButtonFullSize" : "")) &&
|
|
784
|
+
(h[7] ? "JoinButtonFullSize" : "")) && d(e, "part", r), c[0] & /*errorJoin*/
|
|
801
785
|
131072 && (e.disabled = /*errorJoin*/
|
|
802
786
|
h[17]);
|
|
803
787
|
},
|
|
804
788
|
d(h) {
|
|
805
|
-
h &&
|
|
789
|
+
h && k(e), m.d(), s = !1, i();
|
|
806
790
|
}
|
|
807
791
|
};
|
|
808
792
|
}
|
|
809
|
-
function
|
|
793
|
+
function bt(n) {
|
|
810
794
|
let e, t = (
|
|
811
795
|
/*showdetails*/
|
|
812
|
-
n[3] == "true" &&
|
|
796
|
+
n[3] == "true" && De(n)
|
|
813
797
|
);
|
|
814
798
|
return {
|
|
815
799
|
c() {
|
|
816
|
-
t && t.c(), e =
|
|
800
|
+
t && t.c(), e = Le();
|
|
817
801
|
},
|
|
818
|
-
m(r,
|
|
819
|
-
t && t.m(r,
|
|
802
|
+
m(r, s) {
|
|
803
|
+
t && t.m(r, s), _(r, e, s);
|
|
820
804
|
},
|
|
821
|
-
p(r,
|
|
805
|
+
p(r, s) {
|
|
822
806
|
/*showdetails*/
|
|
823
|
-
r[3] == "true" ? t ? t.p(r,
|
|
807
|
+
r[3] == "true" ? t ? t.p(r, s) : (t = De(r), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
824
808
|
},
|
|
825
809
|
d(r) {
|
|
826
|
-
r &&
|
|
810
|
+
r && k(e), t && t.d(r);
|
|
827
811
|
}
|
|
828
812
|
};
|
|
829
813
|
}
|
|
830
|
-
function
|
|
814
|
+
function _t(n) {
|
|
831
815
|
let e, t = (
|
|
832
816
|
/*$_*/
|
|
833
817
|
n[32]("join") + ""
|
|
834
|
-
), r,
|
|
818
|
+
), r, s, i, a, u, m, h, c;
|
|
835
819
|
return {
|
|
836
820
|
c() {
|
|
837
|
-
e = z("span"), r = D(t),
|
|
821
|
+
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");
|
|
838
822
|
},
|
|
839
823
|
m(F, E) {
|
|
840
|
-
_(F, e, E), b(e, r), _(F,
|
|
824
|
+
_(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);
|
|
841
825
|
},
|
|
842
826
|
p(F, E) {
|
|
843
827
|
E[1] & /*$_*/
|
|
@@ -845,138 +829,138 @@ function kt(n) {
|
|
|
845
829
|
F[32]("join") + "") && M(r, t);
|
|
846
830
|
},
|
|
847
831
|
d(F) {
|
|
848
|
-
F && (
|
|
832
|
+
F && (k(e), k(s), k(i));
|
|
849
833
|
}
|
|
850
834
|
};
|
|
851
835
|
}
|
|
852
|
-
function
|
|
836
|
+
function kt(n) {
|
|
853
837
|
let e, t;
|
|
854
838
|
return {
|
|
855
839
|
c() {
|
|
856
|
-
e = L("svg"), t = L("circle"),
|
|
840
|
+
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");
|
|
857
841
|
},
|
|
858
|
-
m(r,
|
|
859
|
-
_(r, e,
|
|
842
|
+
m(r, s) {
|
|
843
|
+
_(r, e, s), b(e, t);
|
|
860
844
|
},
|
|
861
|
-
p:
|
|
845
|
+
p: se,
|
|
862
846
|
d(r) {
|
|
863
|
-
r &&
|
|
847
|
+
r && k(e);
|
|
864
848
|
}
|
|
865
849
|
};
|
|
866
850
|
}
|
|
867
|
-
function
|
|
851
|
+
function De(n) {
|
|
868
852
|
let e, t = (
|
|
869
853
|
/*$_*/
|
|
870
854
|
n[32]("enrolled") + ""
|
|
871
855
|
), r;
|
|
872
856
|
return {
|
|
873
857
|
c() {
|
|
874
|
-
e = z("button"), r = D(t),
|
|
858
|
+
e = z("button"), r = D(t), d(e, "class", "EnrolledButton"), d(e, "part", "EnrolledButton"), e.disabled = !0;
|
|
875
859
|
},
|
|
876
|
-
m(
|
|
877
|
-
_(
|
|
860
|
+
m(s, i) {
|
|
861
|
+
_(s, e, i), b(e, r);
|
|
878
862
|
},
|
|
879
|
-
p(
|
|
863
|
+
p(s, i) {
|
|
880
864
|
i[1] & /*$_*/
|
|
881
865
|
2 && t !== (t = /*$_*/
|
|
882
|
-
|
|
866
|
+
s[32]("enrolled") + "") && M(r, t);
|
|
883
867
|
},
|
|
884
|
-
d(
|
|
885
|
-
|
|
868
|
+
d(s) {
|
|
869
|
+
s && k(e);
|
|
886
870
|
}
|
|
887
871
|
};
|
|
888
872
|
}
|
|
889
|
-
function
|
|
873
|
+
function Me(n) {
|
|
890
874
|
let e, t = (
|
|
891
875
|
/*$_*/
|
|
892
876
|
n[32]("joinerror") + ""
|
|
893
|
-
), r,
|
|
877
|
+
), r, s, i;
|
|
894
878
|
return {
|
|
895
879
|
c() {
|
|
896
|
-
e = z("span"), r = D(t),
|
|
880
|
+
e = z("span"), r = D(t), s = S(), i = D(
|
|
897
881
|
/*errorJoinText*/
|
|
898
882
|
n[18]
|
|
899
|
-
),
|
|
883
|
+
), d(e, "class", "ErrorText"), d(e, "part", "ErrorText");
|
|
900
884
|
},
|
|
901
|
-
m(
|
|
902
|
-
_(
|
|
885
|
+
m(a, u) {
|
|
886
|
+
_(a, e, u), b(e, r), b(e, s), b(e, i);
|
|
903
887
|
},
|
|
904
|
-
p(
|
|
888
|
+
p(a, u) {
|
|
905
889
|
u[1] & /*$_*/
|
|
906
890
|
2 && t !== (t = /*$_*/
|
|
907
|
-
|
|
891
|
+
a[32]("joinerror") + "") && M(r, t), u[0] & /*errorJoinText*/
|
|
908
892
|
262144 && M(
|
|
909
893
|
i,
|
|
910
894
|
/*errorJoinText*/
|
|
911
|
-
|
|
895
|
+
a[18]
|
|
912
896
|
);
|
|
913
897
|
},
|
|
914
|
-
d(
|
|
915
|
-
|
|
898
|
+
d(a) {
|
|
899
|
+
a && k(e);
|
|
916
900
|
}
|
|
917
901
|
};
|
|
918
902
|
}
|
|
919
|
-
function
|
|
903
|
+
function Ae(n) {
|
|
920
904
|
let e;
|
|
921
905
|
return {
|
|
922
906
|
c() {
|
|
923
|
-
e = z("casino-tournaments-thumbnail-games-slider"),
|
|
907
|
+
e = z("casino-tournaments-thumbnail-games-slider"), l(
|
|
924
908
|
e,
|
|
925
909
|
"clientstyling",
|
|
926
910
|
/*clientstyling*/
|
|
927
911
|
n[10]
|
|
928
|
-
),
|
|
912
|
+
), l(
|
|
929
913
|
e,
|
|
930
914
|
"clientstylingurl",
|
|
931
915
|
/*clientstylingurl*/
|
|
932
916
|
n[11]
|
|
933
|
-
),
|
|
917
|
+
), l(
|
|
934
918
|
e,
|
|
935
919
|
"translationurl",
|
|
936
920
|
/*translationurl*/
|
|
937
921
|
n[12]
|
|
938
|
-
),
|
|
922
|
+
), l(
|
|
939
923
|
e,
|
|
940
924
|
"tournamenturl",
|
|
941
925
|
/*tournamenturl*/
|
|
942
926
|
n[2]
|
|
943
|
-
),
|
|
927
|
+
), l(
|
|
944
928
|
e,
|
|
945
929
|
"lang",
|
|
946
930
|
/*lang*/
|
|
947
931
|
n[8]
|
|
948
|
-
),
|
|
932
|
+
), l(e, "scrollby", "2"), l(e, "exportparts", "TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton");
|
|
949
933
|
},
|
|
950
934
|
m(t, r) {
|
|
951
935
|
_(t, e, r);
|
|
952
936
|
},
|
|
953
937
|
p(t, r) {
|
|
954
938
|
r[0] & /*clientstyling*/
|
|
955
|
-
1024 &&
|
|
939
|
+
1024 && l(
|
|
956
940
|
e,
|
|
957
941
|
"clientstyling",
|
|
958
942
|
/*clientstyling*/
|
|
959
943
|
t[10]
|
|
960
944
|
), r[0] & /*clientstylingurl*/
|
|
961
|
-
2048 &&
|
|
945
|
+
2048 && l(
|
|
962
946
|
e,
|
|
963
947
|
"clientstylingurl",
|
|
964
948
|
/*clientstylingurl*/
|
|
965
949
|
t[11]
|
|
966
950
|
), r[0] & /*translationurl*/
|
|
967
|
-
4096 &&
|
|
951
|
+
4096 && l(
|
|
968
952
|
e,
|
|
969
953
|
"translationurl",
|
|
970
954
|
/*translationurl*/
|
|
971
955
|
t[12]
|
|
972
956
|
), r[0] & /*tournamenturl*/
|
|
973
|
-
4 &&
|
|
957
|
+
4 && l(
|
|
974
958
|
e,
|
|
975
959
|
"tournamenturl",
|
|
976
960
|
/*tournamenturl*/
|
|
977
961
|
t[2]
|
|
978
962
|
), r[0] & /*lang*/
|
|
979
|
-
256 &&
|
|
963
|
+
256 && l(
|
|
980
964
|
e,
|
|
981
965
|
"lang",
|
|
982
966
|
/*lang*/
|
|
@@ -984,71 +968,71 @@ function Oe(n) {
|
|
|
984
968
|
);
|
|
985
969
|
},
|
|
986
970
|
d(t) {
|
|
987
|
-
t &&
|
|
971
|
+
t && k(e);
|
|
988
972
|
}
|
|
989
973
|
};
|
|
990
974
|
}
|
|
991
|
-
function
|
|
975
|
+
function yt(n) {
|
|
992
976
|
let e;
|
|
993
|
-
function t(i,
|
|
977
|
+
function t(i, a) {
|
|
994
978
|
if (
|
|
995
979
|
/*isLoading*/
|
|
996
980
|
i[15]
|
|
997
|
-
) return
|
|
981
|
+
) return mt;
|
|
998
982
|
if (
|
|
999
983
|
/*title*/
|
|
1000
984
|
i[20]
|
|
1001
|
-
) return
|
|
985
|
+
) return ct;
|
|
1002
986
|
}
|
|
1003
|
-
let r = t(n),
|
|
987
|
+
let r = t(n), s = r && r(n);
|
|
1004
988
|
return {
|
|
1005
989
|
c() {
|
|
1006
|
-
e = z("div"),
|
|
990
|
+
e = z("div"), s && s.c();
|
|
1007
991
|
},
|
|
1008
|
-
m(i,
|
|
1009
|
-
_(i, e,
|
|
992
|
+
m(i, a) {
|
|
993
|
+
_(i, e, a), s && s.m(e, null), n[52](e);
|
|
1010
994
|
},
|
|
1011
|
-
p(i,
|
|
1012
|
-
r === (r = t(i)) &&
|
|
995
|
+
p(i, a) {
|
|
996
|
+
r === (r = t(i)) && s ? s.p(i, a) : (s && s.d(1), s = r && r(i), s && (s.c(), s.m(e, null)));
|
|
1013
997
|
},
|
|
1014
|
-
i:
|
|
1015
|
-
o:
|
|
998
|
+
i: se,
|
|
999
|
+
o: se,
|
|
1016
1000
|
d(i) {
|
|
1017
|
-
i &&
|
|
1001
|
+
i && k(e), s && s.d(), n[52](null);
|
|
1018
1002
|
}
|
|
1019
1003
|
};
|
|
1020
1004
|
}
|
|
1021
|
-
function
|
|
1005
|
+
function Ft(n, e, t) {
|
|
1022
1006
|
let r;
|
|
1023
|
-
|
|
1024
|
-
let { session:
|
|
1025
|
-
|
|
1026
|
-
const
|
|
1007
|
+
nt(n, lt, (o) => t(32, r = o));
|
|
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, B, me, $, ge, he, pe = [], ee = [], we = "#", te, V = !1;
|
|
1009
|
+
ut({ withLocale: "en", translations: {} });
|
|
1010
|
+
const Oe = () => {
|
|
1027
1011
|
fetch(W).then((p) => p.json()).then((p) => {
|
|
1028
1012
|
Object.keys(p).forEach((C) => {
|
|
1029
|
-
|
|
1013
|
+
Ce(C, p[C]);
|
|
1030
1014
|
});
|
|
1031
1015
|
}).catch((p) => {
|
|
1032
1016
|
console.log(p);
|
|
1033
1017
|
});
|
|
1034
1018
|
};
|
|
1035
|
-
Object.keys(
|
|
1036
|
-
|
|
1019
|
+
Object.keys(Ee).forEach((o) => {
|
|
1020
|
+
Ce(o, Ee[o]);
|
|
1037
1021
|
});
|
|
1038
|
-
const
|
|
1039
|
-
|
|
1040
|
-
},
|
|
1041
|
-
if (
|
|
1042
|
-
let p =
|
|
1022
|
+
const be = (o) => {
|
|
1023
|
+
Pe(o), re(o), Te(this, B);
|
|
1024
|
+
}, _e = (o) => {
|
|
1025
|
+
if (o.data && o.data.type == "UserSessionID" && (t(14, P = !0), G = o.data.session), o.data.type == "UpdateTournamentView") {
|
|
1026
|
+
let p = o.data.tournamentData;
|
|
1043
1027
|
if (B && B != p.id)
|
|
1044
1028
|
return;
|
|
1045
|
-
|
|
1029
|
+
be(p);
|
|
1046
1030
|
}
|
|
1047
|
-
if (
|
|
1048
|
-
let p =
|
|
1031
|
+
if (o.data && o.data.type == `UpdateSingleTournament_${u}`) {
|
|
1032
|
+
let p = o.data.tournamentData, C = u < 4 ? u * 100 : Math.random() * 300 + 300;
|
|
1049
1033
|
t(31, V = u == 1), setTimeout(
|
|
1050
1034
|
() => {
|
|
1051
|
-
t(31, V = !0), t(24, B = p.id),
|
|
1035
|
+
t(31, V = !0), t(24, B = p.id), be(p);
|
|
1052
1036
|
},
|
|
1053
1037
|
C
|
|
1054
1038
|
), setTimeout(
|
|
@@ -1058,8 +1042,8 @@ function vt(n, e, t) {
|
|
|
1058
1042
|
C + 200
|
|
1059
1043
|
);
|
|
1060
1044
|
}
|
|
1061
|
-
},
|
|
1062
|
-
|
|
1045
|
+
}, Pe = (o) => {
|
|
1046
|
+
o.state != x && (t(23, x = o.state), window.postMessage(
|
|
1063
1047
|
{
|
|
1064
1048
|
type: `TournamentStatus_${B}`,
|
|
1065
1049
|
status: x
|
|
@@ -1070,7 +1054,7 @@ function vt(n, e, t) {
|
|
|
1070
1054
|
T && (window.postMessage({ type: T, transition: "Login" }, window.location.href), typeof gtag == "function" && gtag("event", "OpenLoginModal", {
|
|
1071
1055
|
context: "TournamentsThumbnailController"
|
|
1072
1056
|
})), g && (window.location = g);
|
|
1073
|
-
},
|
|
1057
|
+
}, ye = () => {
|
|
1074
1058
|
f && (window.postMessage(
|
|
1075
1059
|
{
|
|
1076
1060
|
type: f,
|
|
@@ -1080,87 +1064,86 @@ function vt(n, e, t) {
|
|
|
1080
1064
|
), typeof gtag == "function" && gtag("event", "OpenRegisterModal", {
|
|
1081
1065
|
context: "TournamentsThumbnailController"
|
|
1082
1066
|
})), U && (window.location = U);
|
|
1083
|
-
}, ne = (
|
|
1067
|
+
}, ne = (o) => {
|
|
1084
1068
|
window.postMessage(
|
|
1085
1069
|
{
|
|
1086
1070
|
type: "TournamentDetailsClicked",
|
|
1087
|
-
tournamentId:
|
|
1071
|
+
tournamentId: o,
|
|
1088
1072
|
showLeaderboard: !0
|
|
1089
1073
|
},
|
|
1090
1074
|
window.location.href
|
|
1091
1075
|
);
|
|
1092
|
-
},
|
|
1093
|
-
var Ce;
|
|
1076
|
+
}, Fe = async (o, p) => {
|
|
1094
1077
|
t(17, X = !1), t(19, Y = !1), window.postMessage(
|
|
1095
1078
|
{
|
|
1096
1079
|
type: "TournamentJoinRequest",
|
|
1097
|
-
tournamentId:
|
|
1080
|
+
tournamentId: o
|
|
1098
1081
|
},
|
|
1099
1082
|
window.location.href
|
|
1100
1083
|
), t(16, K = !0);
|
|
1101
|
-
let C = new URL(`${
|
|
1102
|
-
C.searchParams.append("language", w), C.searchParams.append("platform",
|
|
1084
|
+
let C = new URL(`${m}/v1/bonus/claim`), Z = new Headers(), O = {};
|
|
1085
|
+
C.searchParams.append("language", w), C.searchParams.append("platform", ze(ae)), Z.append("Content-Type", "application/json"), Z.append("X-SessionID", G), p && p.length >= 1 && (O = {
|
|
1103
1086
|
language: w,
|
|
1104
1087
|
bonusCode: p[0].code,
|
|
1105
1088
|
currency: Q,
|
|
1106
1089
|
type: "tournament"
|
|
1107
1090
|
});
|
|
1108
|
-
let
|
|
1091
|
+
let Xe = {
|
|
1109
1092
|
method: "PUT",
|
|
1110
1093
|
headers: Z,
|
|
1111
1094
|
body: JSON.stringify(O)
|
|
1112
1095
|
};
|
|
1113
|
-
const
|
|
1096
|
+
const ve = () => {
|
|
1114
1097
|
t(16, K = !1), t(26, $ = !0);
|
|
1115
1098
|
}, ie = (j) => {
|
|
1116
|
-
t(16, K = !1), j && t(18,
|
|
1117
|
-
}, J =
|
|
1099
|
+
t(16, K = !1), j && t(18, ue = j), t(17, X = !0);
|
|
1100
|
+
}, J = await (async () => {
|
|
1118
1101
|
let j;
|
|
1119
1102
|
try {
|
|
1120
|
-
j =
|
|
1121
|
-
} catch
|
|
1103
|
+
j = await fetch(C, Xe), j = await j.json();
|
|
1104
|
+
} catch {
|
|
1122
1105
|
ie();
|
|
1123
1106
|
}
|
|
1124
1107
|
return j;
|
|
1125
|
-
});
|
|
1108
|
+
})();
|
|
1126
1109
|
if (J)
|
|
1127
1110
|
if (J.success == !0)
|
|
1128
|
-
|
|
1111
|
+
ve();
|
|
1129
1112
|
else if (J.errorMessage.match("VersionMismatchException")) {
|
|
1130
1113
|
let j;
|
|
1131
|
-
j =
|
|
1114
|
+
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));
|
|
1132
1115
|
} else
|
|
1133
1116
|
ie(J.errorMessage);
|
|
1134
|
-
}
|
|
1117
|
+
}, Te = (o, p) => {
|
|
1135
1118
|
window.postMessage(
|
|
1136
1119
|
{
|
|
1137
1120
|
type: `TournamentPrizes_${p}`,
|
|
1138
|
-
prizes:
|
|
1121
|
+
prizes: pe
|
|
1139
1122
|
},
|
|
1140
1123
|
window.location.href
|
|
1141
1124
|
);
|
|
1142
|
-
}, re = (
|
|
1143
|
-
|
|
1144
|
-
},
|
|
1125
|
+
}, 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, 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
|
+
}, Ie = (o) => {
|
|
1145
1128
|
t(15, I = !0);
|
|
1146
|
-
let p = new URL(
|
|
1147
|
-
p.searchParams.append("language", w), p.searchParams.append("platform",
|
|
1129
|
+
let p = new URL(o), C = new Headers();
|
|
1130
|
+
p.searchParams.append("language", w), p.searchParams.append("platform", ze(ae)), P && C.append("X-SessionID", G), fetch(p, { method: "GET", headers: C }).then((O) => O.json()).then((O) => {
|
|
1148
1131
|
t(15, I = !1), re(O.item);
|
|
1149
1132
|
});
|
|
1150
|
-
},
|
|
1151
|
-
|
|
1152
|
-
},
|
|
1133
|
+
}, xe = () => {
|
|
1134
|
+
s.length > 0 && s != "false" ? (G = s, t(14, P = !0)) : t(14, P = !1);
|
|
1135
|
+
}, Je = () => {
|
|
1153
1136
|
if (q) {
|
|
1154
1137
|
re(q);
|
|
1155
1138
|
return;
|
|
1156
1139
|
}
|
|
1157
|
-
t(15, I = !0),
|
|
1158
|
-
},
|
|
1159
|
-
let
|
|
1160
|
-
|
|
1161
|
-
},
|
|
1162
|
-
let
|
|
1163
|
-
fetch(
|
|
1140
|
+
t(15, I = !0), Ie(a);
|
|
1141
|
+
}, Re = () => {
|
|
1142
|
+
let o = document.createElement("style");
|
|
1143
|
+
o.innerHTML = H, A.appendChild(o);
|
|
1144
|
+
}, Ue = () => {
|
|
1145
|
+
let o = new URL(N), p = document.createElement("style");
|
|
1146
|
+
fetch(o.href).then((C) => C.text()).then((C) => {
|
|
1164
1147
|
p.innerHTML = C, setTimeout(
|
|
1165
1148
|
() => {
|
|
1166
1149
|
A.appendChild(p);
|
|
@@ -1173,37 +1156,37 @@ function vt(n, e, t) {
|
|
|
1173
1156
|
);
|
|
1174
1157
|
});
|
|
1175
1158
|
};
|
|
1176
|
-
|
|
1177
|
-
window.removeEventListener("message",
|
|
1159
|
+
rt(() => (t(15, I = !1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", _e, !1), () => {
|
|
1160
|
+
window.removeEventListener("message", _e);
|
|
1178
1161
|
}));
|
|
1179
|
-
const
|
|
1180
|
-
function
|
|
1181
|
-
|
|
1182
|
-
A =
|
|
1162
|
+
const He = () => ke(), Ne = () => ye(), We = () => ne(B), qe = () => Fe(B, ee), Ge = () => ne(B);
|
|
1163
|
+
function Ke(o) {
|
|
1164
|
+
it[o ? "unshift" : "push"](() => {
|
|
1165
|
+
A = o, t(13, A);
|
|
1183
1166
|
});
|
|
1184
1167
|
}
|
|
1185
|
-
return n.$$set = (
|
|
1186
|
-
"session" in
|
|
1168
|
+
return n.$$set = (o) => {
|
|
1169
|
+
"session" in o && t(0, s = o.session), "userid" in o && t(1, i = o.userid), "tournamenturl" in o && t(2, a = o.tournamenturl), "touridx" in o && t(38, u = o.touridx), "endpoint" in o && t(39, m = o.endpoint), "showdetails" in o && t(3, h = o.showdetails), "showslider" in o && t(4, c = o.showslider), "showenrolled" in o && t(5, F = o.showenrolled), "maxwidth" in o && t(6, E = o.maxwidth), "fullsize" in o && t(7, v = o.fullsize), "lang" in o && t(8, w = o.lang), "loginevent" in o && t(40, T = o.loginevent), "registerevent" in o && t(41, f = o.registerevent), "loginurl" in o && t(42, g = o.loginurl), "registerurl" in o && t(43, U = o.registerurl), "currency" in o && t(44, Q = o.currency), "keepbrowsercontext" in o && t(9, le = o.keepbrowsercontext), "clientstyling" in o && t(10, H = o.clientstyling), "clientstylingurl" in o && t(11, N = o.clientstylingurl), "translationurl" in o && t(12, W = o.translationurl), "tournamentinfo" in o && t(45, q = o.tournamentinfo);
|
|
1187
1170
|
}, n.$$.update = () => {
|
|
1188
1171
|
n.$$.dirty[0] & /*lang*/
|
|
1189
|
-
256 && w &&
|
|
1190
|
-
9216 && A && H &&
|
|
1191
|
-
10240 && A && N &&
|
|
1192
|
-
4096 && W &&
|
|
1193
|
-
1 &&
|
|
1194
|
-
260 && t(46, te =
|
|
1195
|
-
32768 && te &&
|
|
1172
|
+
256 && w && ft(w), n.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
1173
|
+
9216 && A && H && Re(), n.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
1174
|
+
10240 && A && N && Ue(), n.$$.dirty[0] & /*translationurl*/
|
|
1175
|
+
4096 && W && Oe(), n.$$.dirty[0] & /*session*/
|
|
1176
|
+
1 && s && xe(), n.$$.dirty[0] & /*tournamenturl, lang*/
|
|
1177
|
+
260 && t(46, te = a && w), n.$$.dirty[1] & /*initialParameters*/
|
|
1178
|
+
32768 && te && Je();
|
|
1196
1179
|
}, [
|
|
1197
|
-
|
|
1180
|
+
s,
|
|
1198
1181
|
i,
|
|
1199
|
-
|
|
1182
|
+
a,
|
|
1200
1183
|
h,
|
|
1201
|
-
|
|
1184
|
+
c,
|
|
1202
1185
|
F,
|
|
1203
1186
|
E,
|
|
1204
1187
|
v,
|
|
1205
1188
|
w,
|
|
1206
|
-
|
|
1189
|
+
le,
|
|
1207
1190
|
H,
|
|
1208
1191
|
N,
|
|
1209
1192
|
W,
|
|
@@ -1212,28 +1195,28 @@ function vt(n, e, t) {
|
|
|
1212
1195
|
I,
|
|
1213
1196
|
K,
|
|
1214
1197
|
X,
|
|
1215
|
-
|
|
1198
|
+
ue,
|
|
1216
1199
|
Y,
|
|
1200
|
+
fe,
|
|
1217
1201
|
de,
|
|
1218
1202
|
ce,
|
|
1219
|
-
me,
|
|
1220
1203
|
x,
|
|
1221
1204
|
B,
|
|
1222
|
-
|
|
1205
|
+
me,
|
|
1223
1206
|
$,
|
|
1207
|
+
ge,
|
|
1224
1208
|
he,
|
|
1225
|
-
pe,
|
|
1226
1209
|
ee,
|
|
1227
|
-
|
|
1210
|
+
we,
|
|
1228
1211
|
V,
|
|
1229
1212
|
r,
|
|
1230
1213
|
ke,
|
|
1231
|
-
|
|
1214
|
+
ye,
|
|
1232
1215
|
ne,
|
|
1216
|
+
Fe,
|
|
1233
1217
|
Te,
|
|
1234
|
-
ve,
|
|
1235
1218
|
u,
|
|
1236
|
-
|
|
1219
|
+
m,
|
|
1237
1220
|
T,
|
|
1238
1221
|
f,
|
|
1239
1222
|
g,
|
|
@@ -1241,22 +1224,22 @@ function vt(n, e, t) {
|
|
|
1241
1224
|
Q,
|
|
1242
1225
|
q,
|
|
1243
1226
|
te,
|
|
1227
|
+
He,
|
|
1228
|
+
Ne,
|
|
1244
1229
|
We,
|
|
1245
1230
|
qe,
|
|
1246
1231
|
Ge,
|
|
1247
|
-
Ke
|
|
1248
|
-
Xe,
|
|
1249
|
-
Ve
|
|
1232
|
+
Ke
|
|
1250
1233
|
];
|
|
1251
1234
|
}
|
|
1252
|
-
class
|
|
1235
|
+
class Tt extends Qe {
|
|
1253
1236
|
constructor(e) {
|
|
1254
|
-
super(),
|
|
1237
|
+
super(), Ye(
|
|
1255
1238
|
this,
|
|
1256
1239
|
e,
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1240
|
+
Ft,
|
|
1241
|
+
yt,
|
|
1242
|
+
et,
|
|
1260
1243
|
{
|
|
1261
1244
|
session: 0,
|
|
1262
1245
|
userid: 1,
|
|
@@ -1280,7 +1263,7 @@ class zt extends $e {
|
|
|
1280
1263
|
translationurl: 12,
|
|
1281
1264
|
tournamentinfo: 45
|
|
1282
1265
|
},
|
|
1283
|
-
|
|
1266
|
+
dt,
|
|
1284
1267
|
[-1, -1, -1]
|
|
1285
1268
|
);
|
|
1286
1269
|
}
|
|
@@ -1288,130 +1271,130 @@ class zt extends $e {
|
|
|
1288
1271
|
return this.$$.ctx[0];
|
|
1289
1272
|
}
|
|
1290
1273
|
set session(e) {
|
|
1291
|
-
this.$$set({ session: e }),
|
|
1274
|
+
this.$$set({ session: e }), y();
|
|
1292
1275
|
}
|
|
1293
1276
|
get userid() {
|
|
1294
1277
|
return this.$$.ctx[1];
|
|
1295
1278
|
}
|
|
1296
1279
|
set userid(e) {
|
|
1297
|
-
this.$$set({ userid: e }),
|
|
1280
|
+
this.$$set({ userid: e }), y();
|
|
1298
1281
|
}
|
|
1299
1282
|
get tournamenturl() {
|
|
1300
1283
|
return this.$$.ctx[2];
|
|
1301
1284
|
}
|
|
1302
1285
|
set tournamenturl(e) {
|
|
1303
|
-
this.$$set({ tournamenturl: e }),
|
|
1286
|
+
this.$$set({ tournamenturl: e }), y();
|
|
1304
1287
|
}
|
|
1305
1288
|
get touridx() {
|
|
1306
1289
|
return this.$$.ctx[38];
|
|
1307
1290
|
}
|
|
1308
1291
|
set touridx(e) {
|
|
1309
|
-
this.$$set({ touridx: e }),
|
|
1292
|
+
this.$$set({ touridx: e }), y();
|
|
1310
1293
|
}
|
|
1311
1294
|
get endpoint() {
|
|
1312
1295
|
return this.$$.ctx[39];
|
|
1313
1296
|
}
|
|
1314
1297
|
set endpoint(e) {
|
|
1315
|
-
this.$$set({ endpoint: e }),
|
|
1298
|
+
this.$$set({ endpoint: e }), y();
|
|
1316
1299
|
}
|
|
1317
1300
|
get showdetails() {
|
|
1318
1301
|
return this.$$.ctx[3];
|
|
1319
1302
|
}
|
|
1320
1303
|
set showdetails(e) {
|
|
1321
|
-
this.$$set({ showdetails: e }),
|
|
1304
|
+
this.$$set({ showdetails: e }), y();
|
|
1322
1305
|
}
|
|
1323
1306
|
get showslider() {
|
|
1324
1307
|
return this.$$.ctx[4];
|
|
1325
1308
|
}
|
|
1326
1309
|
set showslider(e) {
|
|
1327
|
-
this.$$set({ showslider: e }),
|
|
1310
|
+
this.$$set({ showslider: e }), y();
|
|
1328
1311
|
}
|
|
1329
1312
|
get showenrolled() {
|
|
1330
1313
|
return this.$$.ctx[5];
|
|
1331
1314
|
}
|
|
1332
1315
|
set showenrolled(e) {
|
|
1333
|
-
this.$$set({ showenrolled: e }),
|
|
1316
|
+
this.$$set({ showenrolled: e }), y();
|
|
1334
1317
|
}
|
|
1335
1318
|
get maxwidth() {
|
|
1336
1319
|
return this.$$.ctx[6];
|
|
1337
1320
|
}
|
|
1338
1321
|
set maxwidth(e) {
|
|
1339
|
-
this.$$set({ maxwidth: e }),
|
|
1322
|
+
this.$$set({ maxwidth: e }), y();
|
|
1340
1323
|
}
|
|
1341
1324
|
get fullsize() {
|
|
1342
1325
|
return this.$$.ctx[7];
|
|
1343
1326
|
}
|
|
1344
1327
|
set fullsize(e) {
|
|
1345
|
-
this.$$set({ fullsize: e }),
|
|
1328
|
+
this.$$set({ fullsize: e }), y();
|
|
1346
1329
|
}
|
|
1347
1330
|
get lang() {
|
|
1348
1331
|
return this.$$.ctx[8];
|
|
1349
1332
|
}
|
|
1350
1333
|
set lang(e) {
|
|
1351
|
-
this.$$set({ lang: e }),
|
|
1334
|
+
this.$$set({ lang: e }), y();
|
|
1352
1335
|
}
|
|
1353
1336
|
get loginevent() {
|
|
1354
1337
|
return this.$$.ctx[40];
|
|
1355
1338
|
}
|
|
1356
1339
|
set loginevent(e) {
|
|
1357
|
-
this.$$set({ loginevent: e }),
|
|
1340
|
+
this.$$set({ loginevent: e }), y();
|
|
1358
1341
|
}
|
|
1359
1342
|
get registerevent() {
|
|
1360
1343
|
return this.$$.ctx[41];
|
|
1361
1344
|
}
|
|
1362
1345
|
set registerevent(e) {
|
|
1363
|
-
this.$$set({ registerevent: e }),
|
|
1346
|
+
this.$$set({ registerevent: e }), y();
|
|
1364
1347
|
}
|
|
1365
1348
|
get loginurl() {
|
|
1366
1349
|
return this.$$.ctx[42];
|
|
1367
1350
|
}
|
|
1368
1351
|
set loginurl(e) {
|
|
1369
|
-
this.$$set({ loginurl: e }),
|
|
1352
|
+
this.$$set({ loginurl: e }), y();
|
|
1370
1353
|
}
|
|
1371
1354
|
get registerurl() {
|
|
1372
1355
|
return this.$$.ctx[43];
|
|
1373
1356
|
}
|
|
1374
1357
|
set registerurl(e) {
|
|
1375
|
-
this.$$set({ registerurl: e }),
|
|
1358
|
+
this.$$set({ registerurl: e }), y();
|
|
1376
1359
|
}
|
|
1377
1360
|
get currency() {
|
|
1378
1361
|
return this.$$.ctx[44];
|
|
1379
1362
|
}
|
|
1380
1363
|
set currency(e) {
|
|
1381
|
-
this.$$set({ currency: e }),
|
|
1364
|
+
this.$$set({ currency: e }), y();
|
|
1382
1365
|
}
|
|
1383
1366
|
get keepbrowsercontext() {
|
|
1384
1367
|
return this.$$.ctx[9];
|
|
1385
1368
|
}
|
|
1386
1369
|
set keepbrowsercontext(e) {
|
|
1387
|
-
this.$$set({ keepbrowsercontext: e }),
|
|
1370
|
+
this.$$set({ keepbrowsercontext: e }), y();
|
|
1388
1371
|
}
|
|
1389
1372
|
get clientstyling() {
|
|
1390
1373
|
return this.$$.ctx[10];
|
|
1391
1374
|
}
|
|
1392
1375
|
set clientstyling(e) {
|
|
1393
|
-
this.$$set({ clientstyling: e }),
|
|
1376
|
+
this.$$set({ clientstyling: e }), y();
|
|
1394
1377
|
}
|
|
1395
1378
|
get clientstylingurl() {
|
|
1396
1379
|
return this.$$.ctx[11];
|
|
1397
1380
|
}
|
|
1398
1381
|
set clientstylingurl(e) {
|
|
1399
|
-
this.$$set({ clientstylingurl: e }),
|
|
1382
|
+
this.$$set({ clientstylingurl: e }), y();
|
|
1400
1383
|
}
|
|
1401
1384
|
get translationurl() {
|
|
1402
1385
|
return this.$$.ctx[12];
|
|
1403
1386
|
}
|
|
1404
1387
|
set translationurl(e) {
|
|
1405
|
-
this.$$set({ translationurl: e }),
|
|
1388
|
+
this.$$set({ translationurl: e }), y();
|
|
1406
1389
|
}
|
|
1407
1390
|
get tournamentinfo() {
|
|
1408
1391
|
return this.$$.ctx[45];
|
|
1409
1392
|
}
|
|
1410
1393
|
set tournamentinfo(e) {
|
|
1411
|
-
this.$$set({ tournamentinfo: e }),
|
|
1394
|
+
this.$$set({ tournamentinfo: e }), y();
|
|
1412
1395
|
}
|
|
1413
1396
|
}
|
|
1414
|
-
|
|
1397
|
+
$e(Tt, { session: {}, userid: {}, tournamenturl: {}, touridx: {}, endpoint: {}, showdetails: {}, showslider: {}, showenrolled: {}, maxwidth: {}, fullsize: {}, lang: {}, loginevent: {}, registerevent: {}, loginurl: {}, registerurl: {}, currency: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tournamentinfo: {} }, [], [], !0);
|
|
1415
1398
|
export {
|
|
1416
|
-
|
|
1399
|
+
Tt as default
|
|
1417
1400
|
};
|