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