@everymatrix/casino-tournaments-page-controller 1.76.13 → 1.76.14
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/{CasinoTournamentsDetails-_vnvzxd3.js → CasinoTournamentsDetails-BsekkKcF.js} +22 -22
- package/components/{CasinoTournamentsDetails-CV5jyv8g.js → CasinoTournamentsDetails-DPKqCPr7.js} +22 -22
- package/components/{CasinoTournamentsPageController-DMdMY9Vi.js → CasinoTournamentsPageController-BP_JP9AJ.js} +1768 -1789
- package/components/{CasinoTournamentsPageController-Dsb8-UEB.js → CasinoTournamentsPageController-CXrbknSM.js} +1741 -1762
- package/components/CasinoTournamentsPageController-CoRQD4Cn.cjs +37 -0
- package/components/{CasinoTournamentsRank-CkgXfPdz.js → CasinoTournamentsRank-CNnWcewC.js} +35 -35
- package/components/{CasinoTournamentsRank-BEjjLuf1.js → CasinoTournamentsRank-Cc5pidJ-.js} +35 -35
- package/components/{CasinoTournamentsTab-bd-U1Rb1.js → CasinoTournamentsTab-Cex3FPId.js} +32 -32
- package/components/{CasinoTournamentsTab-C_xEtEil.js → CasinoTournamentsTab-CnWDO397.js} +36 -36
- package/components/{CasinoTournamentsTab-BIXhJ3NF.cjs → CasinoTournamentsTab-DlMd4A9G.cjs} +1 -1
- package/components/{CasinoTournamentsTable-BBmNgY3x.cjs → CasinoTournamentsTable-DAPiv3gN.cjs} +1 -1
- package/components/{CasinoTournamentsTable-BsHVIgo2.js → CasinoTournamentsTable-DsF5kNIF.js} +82 -82
- package/components/{CasinoTournamentsTable-ha__mxMr.js → CasinoTournamentsTable-mD9bnrGJ.js} +82 -82
- package/components/{CasinoTournamentsThumbnail-CqKnBmZF.cjs → CasinoTournamentsThumbnail-CHPxtXT7.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-fNIrEt3V.js → CasinoTournamentsThumbnail-CMR06rqe.js} +41 -41
- package/components/{CasinoTournamentsThumbnail-Bx7cVDnx.js → CasinoTournamentsThumbnail-PC91FAhs.js} +41 -41
- package/components/{CasinoTournamentsThumbnailController-gjY_KsUB.js → CasinoTournamentsThumbnailController-B3H52-Iz.js} +47 -47
- package/components/{CasinoTournamentsThumbnailController-x0c6veQr.cjs → CasinoTournamentsThumbnailController-BOzLqf6P.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-D1AzCJq9.js → CasinoTournamentsThumbnailController-DJW6oBvz.js} +47 -47
- package/components/{CasinoTournamentsThumbnailDuration-2KkYx84B.js → CasinoTournamentsThumbnailDuration-CTvYvnnz.js} +65 -65
- package/components/{CasinoTournamentsThumbnailDuration-CMk_NXkN.js → CasinoTournamentsThumbnailDuration-CdqMK28O.js} +65 -65
- package/components/{CasinoTournamentsThumbnailDuration-y1kiKyET.cjs → CasinoTournamentsThumbnailDuration-DR5YU5Yf.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGames-C0Kbnp82.js → CasinoTournamentsThumbnailGames-BZ_IE5kr.js} +53 -53
- package/components/{CasinoTournamentsThumbnailGames-B8_yRh5K.cjs → CasinoTournamentsThumbnailGames-Bd6yQOkn.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGames-Bd38l5xj.js → CasinoTournamentsThumbnailGames-DqJZqp2H.js} +48 -48
- package/components/{CasinoTournamentsThumbnailGamesSlider-BBk56Bf9.js → CasinoTournamentsThumbnailGamesSlider-79ov2BPF.js} +36 -36
- package/components/{CasinoTournamentsThumbnailGamesSlider-ClWPp7xQ.js → CasinoTournamentsThumbnailGamesSlider-BhRJp6F5.js} +36 -36
- package/components/{CasinoTournamentsThumbnailGamesSlider-rHTSVIz-.cjs → CasinoTournamentsThumbnailGamesSlider-IaZAaNgB.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-D_kIzimu.js → CasinoTournamentsThumbnailPrizes-CEd-B8A0.js} +31 -31
- package/components/{CasinoTournamentsThumbnailPrizes-4xmGd5pI.js → CasinoTournamentsThumbnailPrizes-CzfhPtR7.js} +31 -31
- package/components/{CasinoTournamentsThumbnailPrizes-D_8gZNIg.cjs → CasinoTournamentsThumbnailPrizes-DQ14Mc3G.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailRule-UGr69Ib1.js → CasinoTournamentsThumbnailRule-9wvFJM1N.js} +56 -56
- package/components/{CasinoTournamentsThumbnailRule-Bfpu60Xr.cjs → CasinoTournamentsThumbnailRule-CSpmm2TJ.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailRule-DUCfeK0b.js → CasinoTournamentsThumbnailRule-pkSwGK74.js} +52 -52
- package/es2015/casino-tournaments-page-controller.cjs +1 -1
- package/es2015/casino-tournaments-page-controller.js +1 -1
- package/esnext/casino-tournaments-page-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
- package/stencil/index-242ac81a-Czg480dJ.js +554 -0
- package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
- package/stencil/index-b2193545-CF9C6kiu.cjs +1 -0
- package/stencil/index-b2193545-OH6E7v51.js +519 -0
- package/stencil/index-b2193545-eoIiLcDl.js +503 -0
- package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
- package/stencil/{ui-image-CGQNKTif.js → ui-image-CuqYoTW7.js} +1 -1
- package/stencil/{ui-image-D4MrqmCW.js → ui-image-xymWfIBJ.js} +1 -1
- package/stencil/{ui-image-CYCsgzdt.cjs → ui-image-zZU_KZOy.cjs} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
- package/stencil/{ui-skeleton-DSebcnN1.js → ui-skeleton-C73UqtBQ.js} +2 -2
- package/stencil/{ui-skeleton-B0BB970e.cjs → ui-skeleton-Caiy-FEL.cjs} +1 -1
- package/stencil/{ui-skeleton-D8L-WY77.js → ui-skeleton-CzV3R1-p.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-DDiK5zGt.cjs → ui-skeleton-ae35c6f2-C9l5j8aK.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CcPx4a2P.js → ui-skeleton-ae35c6f2-CLOd38Ia.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BH4D8vHD.js → ui-skeleton-ae35c6f2-SCby2j53.js} +1 -1
- package/components/CasinoTournamentsPageController-JwfnCvwg.cjs +0 -37
- package/stencil/index-242ac81a-BqeIndhr.js +0 -554
- package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
- package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
- package/stencil/index-b2193545-BS7xFIk4.js +0 -503
- package/stencil/index-b2193545-BTdVi7--.cjs +0 -1
- package/stencil/index-b2193545-rfNAj6ri.js +0 -519
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as _e, b as be,
|
|
2
|
-
import { a as
|
|
1
|
+
import { S as _e, b as be, f as T, c as ve, a as ke, d as Ne, g as N, l as G, n as R, q as W, u as Se, v as Te, w as Fe, x as Pe, A as Y, e as C, j as c, G as L, F as Z, H as Be, m as b, I as Me, o as z, C as Ee, r as ne, t as je, D as K, p as ze, y as U, z as Ae } from "./CasinoTournamentsDetails-DPKqCPr7.js";
|
|
2
|
+
import { a as He, g as Le, b as Ce } from "./CasinoTournamentsPageController-BP_JP9AJ.js";
|
|
3
3
|
function Q(e, n) {
|
|
4
|
-
|
|
4
|
+
He(e, n);
|
|
5
5
|
}
|
|
6
6
|
const V = {
|
|
7
7
|
en: {
|
|
@@ -36,7 +36,7 @@ const V = {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
function De(e) {
|
|
39
|
-
|
|
39
|
+
Ne(e, "svelte-xgd67c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}");
|
|
40
40
|
}
|
|
41
41
|
function $(e, n, t) {
|
|
42
42
|
const a = e.slice();
|
|
@@ -54,16 +54,16 @@ function ee(e) {
|
|
|
54
54
|
n = N("div"), t = N("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = C(), d = N("main"), h = N("div");
|
|
55
55
|
for (let r = 0; r < i.length; r += 1)
|
|
56
56
|
i[r].c();
|
|
57
|
-
y = C(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"),
|
|
57
|
+
y = C(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', c(t, "class", "SliderNavButton"), c(t, "part", "SliderNavButton"), L(
|
|
58
58
|
t,
|
|
59
59
|
"disabled",
|
|
60
60
|
/*atStart*/
|
|
61
61
|
e[8]
|
|
62
62
|
), c(h, "class", "items"), c(h, "part", "items"), Z(h, "transform", "translateX(" + /*offset*/
|
|
63
|
-
e[2] + "px)"),
|
|
63
|
+
e[2] + "px)"), Be(() => (
|
|
64
64
|
/*main_elementresize_handler*/
|
|
65
65
|
e[29].call(d)
|
|
66
|
-
)), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"),
|
|
66
|
+
)), c(s, "class", "SliderNavButton"), c(s, "part", "SliderNavButton"), L(
|
|
67
67
|
s,
|
|
68
68
|
"disabled",
|
|
69
69
|
/*atEnd*/
|
|
@@ -71,21 +71,21 @@ function ee(e) {
|
|
|
71
71
|
), c(n, "class", "TournamentsGamesSlider"), c(n, "part", "TournamentsGamesSlider");
|
|
72
72
|
},
|
|
73
73
|
m(r, m) {
|
|
74
|
-
|
|
74
|
+
G(r, n, m), b(n, t), b(n, a), b(n, d), b(d, h);
|
|
75
75
|
for (let u = 0; u < i.length; u += 1)
|
|
76
76
|
i[u] && i[u].m(h, null);
|
|
77
|
-
e[28](h), p =
|
|
77
|
+
e[28](h), p = Me(
|
|
78
78
|
d,
|
|
79
79
|
/*main_elementresize_handler*/
|
|
80
80
|
e[29].bind(d)
|
|
81
81
|
), b(n, y), b(n, s), e[31](n), w || (_ = [
|
|
82
|
-
|
|
82
|
+
z(
|
|
83
83
|
t,
|
|
84
84
|
"click",
|
|
85
85
|
/*click_handler*/
|
|
86
86
|
e[24]
|
|
87
87
|
),
|
|
88
|
-
|
|
88
|
+
z(
|
|
89
89
|
s,
|
|
90
90
|
"click",
|
|
91
91
|
/*click_handler_2*/
|
|
@@ -95,7 +95,7 @@ function ee(e) {
|
|
|
95
95
|
},
|
|
96
96
|
p(r, m) {
|
|
97
97
|
if (m[0] & /*atStart*/
|
|
98
|
-
256 &&
|
|
98
|
+
256 && L(
|
|
99
99
|
t,
|
|
100
100
|
"disabled",
|
|
101
101
|
/*atStart*/
|
|
@@ -118,7 +118,7 @@ function ee(e) {
|
|
|
118
118
|
m[0] & /*offset*/
|
|
119
119
|
4 && Z(h, "transform", "translateX(" + /*offset*/
|
|
120
120
|
r[2] + "px)"), m[0] & /*atEnd*/
|
|
121
|
-
512 &&
|
|
121
|
+
512 && L(
|
|
122
122
|
s,
|
|
123
123
|
"disabled",
|
|
124
124
|
/*atEnd*/
|
|
@@ -126,7 +126,7 @@ function ee(e) {
|
|
|
126
126
|
);
|
|
127
127
|
},
|
|
128
128
|
d(r) {
|
|
129
|
-
r &&
|
|
129
|
+
r && W(n), Ee(i, r), e[28](null), p(), e[31](null), w = !1, ne(_);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
}
|
|
@@ -155,7 +155,7 @@ function te(e) {
|
|
|
155
155
|
}
|
|
156
156
|
return {
|
|
157
157
|
c() {
|
|
158
|
-
n = N("div"), t = N("span"), d =
|
|
158
|
+
n = N("div"), t = N("span"), d = je(a), y = C(), s = N("img"), i = C(), c(t, "class", h = "PlayNowButton " + /*hover*/
|
|
159
159
|
(e[5] && /*hoverIndex*/
|
|
160
160
|
e[6] == /*i*/
|
|
161
161
|
e[51] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
|
|
@@ -167,10 +167,10 @@ function te(e) {
|
|
|
167
167
|
e[49].name), c(n, "class", "item"), c(n, "part", "item");
|
|
168
168
|
},
|
|
169
169
|
m(v, o) {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
G(v, n, o), b(n, t), b(t, d), b(n, y), b(n, s), b(n, i), r || (m = [
|
|
171
|
+
z(n, "click", u),
|
|
172
|
+
z(n, "mouseenter", k),
|
|
173
|
+
z(
|
|
174
174
|
n,
|
|
175
175
|
"mouseleave",
|
|
176
176
|
/*mouseleave_handler*/
|
|
@@ -181,7 +181,7 @@ function te(e) {
|
|
|
181
181
|
p(v, o) {
|
|
182
182
|
e = v, o[0] & /*$_*/
|
|
183
183
|
1024 && a !== (a = /*$_*/
|
|
184
|
-
e[10]("playNow") + "") &&
|
|
184
|
+
e[10]("playNow") + "") && ze(d, a), o[0] & /*hover, hoverIndex*/
|
|
185
185
|
96 && h !== (h = "PlayNowButton " + /*hover*/
|
|
186
186
|
(e[5] && /*hoverIndex*/
|
|
187
187
|
e[6] == /*i*/
|
|
@@ -198,7 +198,7 @@ function te(e) {
|
|
|
198
198
|
e[49].name) && c(s, "title", g);
|
|
199
199
|
},
|
|
200
200
|
d(v) {
|
|
201
|
-
v &&
|
|
201
|
+
v && W(n), r = !1, ne(m);
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
}
|
|
@@ -213,7 +213,7 @@ function Ie(e) {
|
|
|
213
213
|
n = N("div"), t && t.c();
|
|
214
214
|
},
|
|
215
215
|
m(a, d) {
|
|
216
|
-
|
|
216
|
+
G(a, n, d), t && t.m(n, null), e[32](n);
|
|
217
217
|
},
|
|
218
218
|
p(a, d) {
|
|
219
219
|
/*games*/
|
|
@@ -223,15 +223,15 @@ function Ie(e) {
|
|
|
223
223
|
i: R,
|
|
224
224
|
o: R,
|
|
225
225
|
d(a) {
|
|
226
|
-
a &&
|
|
226
|
+
a && W(n), t && t.d(), e[32](null);
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
let Ue = 30;
|
|
231
231
|
function Ge(e, n, t) {
|
|
232
232
|
let a, d, h;
|
|
233
|
-
|
|
234
|
-
let { tournamenturl: p = "" } = n, { scrollby: y = "3" } = n, { pagfactor: s = "175" } = n, { lang: w = "" } = n, { translationurl: _ = "" } = n, { clientstyling: g = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, m, u = window.navigator.userAgent, k, v = [], o = 0, S,
|
|
233
|
+
Se(e, Ce, (l) => t(10, h = l));
|
|
234
|
+
let { tournamenturl: p = "" } = n, { scrollby: y = "3" } = n, { pagfactor: s = "175" } = n, { lang: w = "" } = n, { translationurl: _ = "" } = n, { clientstyling: g = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, m, u = window.navigator.userAgent, k, v = [], o = 0, S, A = null, H = null, D = !1, I, B, M = 0, F;
|
|
235
235
|
const le = () => {
|
|
236
236
|
fetch(_).then((f) => f.json()).then((f) => {
|
|
237
237
|
Object.keys(f).forEach((j) => {
|
|
@@ -250,12 +250,12 @@ function Ge(e, n, t) {
|
|
|
250
250
|
t(5, D = !1), t(6, I = -1);
|
|
251
251
|
}, se = (l) => l.touches || l.originalEvent.touches, O = (l) => {
|
|
252
252
|
const f = se(l)[0];
|
|
253
|
-
|
|
253
|
+
A = f.clientX, H = f.clientY;
|
|
254
254
|
}, X = (l) => {
|
|
255
|
-
if (!
|
|
255
|
+
if (!A || !H)
|
|
256
256
|
return;
|
|
257
|
-
let f = l.touches[0].clientX, j = l.touches[0].clientY, P =
|
|
258
|
-
Math.abs(P) > Math.abs(we) && (P > 0 ? E(1) : E(-1)),
|
|
257
|
+
let f = l.touches[0].clientX, j = l.touches[0].clientY, P = A - f, we = H - j;
|
|
258
|
+
Math.abs(P) > Math.abs(we) && (P > 0 ? E(1) : E(-1)), A = null, H = null;
|
|
259
259
|
}, E = (l) => {
|
|
260
260
|
l > 0 && !d ? (t(2, o -= k), t(2, o = o < M ? M : o)) : l < 0 && !a && (t(2, o += k), t(2, o = o > 0 ? 0 : o));
|
|
261
261
|
}, J = (l) => {
|
|
@@ -270,7 +270,7 @@ function Ge(e, n, t) {
|
|
|
270
270
|
);
|
|
271
271
|
}, re = () => {
|
|
272
272
|
let l = new URL(p), f = new Headers();
|
|
273
|
-
l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ue},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform",
|
|
273
|
+
l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ue},offset=${o})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", w), l.searchParams.append("platform", Le(u)), fetch(l, { method: "GET", headers: f }).then((P) => P.json()).then((P) => {
|
|
274
274
|
t(1, v = P.item.games.items), P.item.games.total;
|
|
275
275
|
});
|
|
276
276
|
}, ae = () => {
|
|
@@ -285,7 +285,7 @@ function Ge(e, n, t) {
|
|
|
285
285
|
}, oe = () => {
|
|
286
286
|
F > 0 && F < Math.floor((parseInt(y) + 1) * s) && t(15, y = Math.ceil(F / s).toString());
|
|
287
287
|
};
|
|
288
|
-
|
|
288
|
+
Te(() => (k = parseInt(y, 10) * parseInt(s, 10), () => {
|
|
289
289
|
S.removeEventListener("touchstart", O), S.removeEventListener("touchmove", X);
|
|
290
290
|
}));
|
|
291
291
|
const ce = () => E(-1), ue = (l) => J(l), me = (l) => q(l), de = () => x();
|
|
@@ -319,9 +319,9 @@ function Ge(e, n, t) {
|
|
|
319
319
|
8 && S && ae(), e.$$.dirty[0] & /*translationurl*/
|
|
320
320
|
524288 && _ && le(), e.$$.dirty[0] & /*games*/
|
|
321
321
|
2 && v.length && ie(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
322
|
-
1048577 && g && m &&
|
|
323
|
-
2097153 && i && m &&
|
|
324
|
-
4194305 && r && m &&
|
|
322
|
+
1048577 && g && m && Ae(m, g), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
323
|
+
2097153 && i && m && Fe(m, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
324
|
+
4194305 && r && m && Pe(m, `${r}.Style`);
|
|
325
325
|
}, t(2, o = 0), [
|
|
326
326
|
m,
|
|
327
327
|
v,
|
|
@@ -365,7 +365,7 @@ class We extends _e {
|
|
|
365
365
|
n,
|
|
366
366
|
Ge,
|
|
367
367
|
Ie,
|
|
368
|
-
|
|
368
|
+
ke,
|
|
369
369
|
{
|
|
370
370
|
tournamenturl: 17,
|
|
371
371
|
scrollby: 15,
|
|
@@ -429,7 +429,7 @@ class We extends _e {
|
|
|
429
429
|
this.$$set({ mbsource: n }), T();
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
|
|
432
|
+
ve(We, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
433
433
|
export {
|
|
434
434
|
We as default
|
|
435
435
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-DVRJk4kX.cjs"),L=require("./CasinoTournamentsPageController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-DVRJk4kX.cjs"),L=require("./CasinoTournamentsPageController-CoRQD4Cn.cjs");function U(t,l){L.addMessages(t,l)}const I={en:{playNow:"Play now"},hr:{playNow:"Započni sada"},"zh-hk":{playNow:"现在播放"},fr:{playNow:"Joue maintenant"},ro:{playNow:"Joaca acum"},tr:{playNow:"Şimdi oyna"},el:{playNow:"Παίξε τώρα"},es:{playNow:"Jugar Ya"},pt:{playNow:"Jogue agora"},"en-us":{playNow:"Play now"}};function ie(t){e.append_styles(t,"svelte-xgd67c","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}")}function W(t,l,n){const i=t.slice();return i[49]=l[n],i[51]=n,i}function G(t){let l,n,i,d,h,p,y,a,_,w,g=e.ensure_array_like(t[1]),o=[];for(let s=0;s<g.length;s+=1)o[s]=O(W(t,g,s));return{c(){l=e.element("div"),n=e.element("div"),n.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>',i=e.space(),d=e.element("main"),h=e.element("div");for(let s=0;s<o.length;s+=1)o[s].c();y=e.space(),a=e.element("div"),a.innerHTML='<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>',e.attr(n,"class","SliderNavButton"),e.attr(n,"part","SliderNavButton"),e.toggle_class(n,"disabled",t[8]),e.attr(h,"class","items"),e.attr(h,"part","items"),e.set_style(h,"transform","translateX("+t[2]+"px)"),e.add_render_callback(()=>t[29].call(d)),e.attr(a,"class","SliderNavButton"),e.attr(a,"part","SliderNavButton"),e.toggle_class(a,"disabled",t[9]),e.attr(l,"class","TournamentsGamesSlider"),e.attr(l,"part","TournamentsGamesSlider")},m(s,m){e.insert(s,l,m),e.append(l,n),e.append(l,i),e.append(l,d),e.append(d,h);for(let u=0;u<o.length;u+=1)o[u]&&o[u].m(h,null);t[28](h),p=e.add_iframe_resize_listener(d,t[29].bind(d)),e.append(l,y),e.append(l,a),t[31](l),_||(w=[e.listen(n,"click",t[24]),e.listen(a,"click",t[30])],_=!0)},p(s,m){if(m[0]&256&&e.toggle_class(n,"disabled",s[8]),m[0]&23650){g=e.ensure_array_like(s[1]);let u;for(u=0;u<g.length;u+=1){const v=W(s,g,u);o[u]?o[u].p(v,m):(o[u]=O(v),o[u].c(),o[u].m(h,null))}for(;u<o.length;u+=1)o[u].d(1);o.length=g.length}m[0]&4&&e.set_style(h,"transform","translateX("+s[2]+"px)"),m[0]&512&&e.toggle_class(a,"disabled",s[9])},d(s){s&&e.detach(l),e.destroy_each(o,s),t[28](null),p(),t[31](null),_=!1,e.run_all(w)}}}function O(t){let l,n,i=t[10]("playNow")+"",d,h,p,y,a,_,w,g,o,s,m;function u(){return t[25](t[49])}function v(){return t[26](t[51])}return{c(){l=e.element("div"),n=e.element("span"),d=e.text(i),y=e.space(),a=e.element("img"),o=e.space(),e.attr(n,"class",h="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":"")),e.attr(n,"part",p="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":"")),e.src_url_equal(a.src,_=t[49].thumbnail)||e.attr(a,"src",_),e.attr(a,"width","132px"),e.attr(a,"height","100px"),e.attr(a,"alt",w=t[49].name),e.attr(a,"title",g=t[49].name),e.attr(l,"class","item"),e.attr(l,"part","item")},m(b,c){e.insert(b,l,c),e.append(l,n),e.append(n,d),e.append(l,y),e.append(l,a),e.append(l,o),s||(m=[e.listen(l,"click",u),e.listen(l,"mouseenter",v),e.listen(l,"mouseleave",t[27])],s=!0)},p(b,c){t=b,c[0]&1024&&i!==(i=t[10]("playNow")+"")&&e.set_data(d,i),c[0]&96&&h!==(h="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":""))&&e.attr(n,"class",h),c[0]&96&&p!==(p="PlayNowButton "+(t[5]&&t[6]==t[51]?"itemHover":""))&&e.attr(n,"part",p),c[0]&2&&!e.src_url_equal(a.src,_=t[49].thumbnail)&&e.attr(a,"src",_),c[0]&2&&w!==(w=t[49].name)&&e.attr(a,"alt",w),c[0]&2&&g!==(g=t[49].name)&&e.attr(a,"title",g)},d(b){b&&e.detach(l),s=!1,e.run_all(m)}}}function oe(t){let l,n=t[1]&&t[1].length>0&&G(t);return{c(){l=e.element("div"),n&&n.c()},m(i,d){e.insert(i,l,d),n&&n.m(l,null),t[32](l)},p(i,d){i[1]&&i[1].length>0?n?n.p(i,d):(n=G(i),n.c(),n.m(l,null)):n&&(n.d(1),n=null)},i:e.noop,o:e.noop,d(i){i&&e.detach(l),n&&n.d(),t[32](null)}}}let ce=30;function ue(t,l,n){let i,d,h;e.component_subscribe(t,L.$format,r=>n(10,h=r));let{tournamenturl:p=""}=l,{scrollby:y="3"}=l,{pagfactor:a="175"}=l,{lang:_=""}=l,{translationurl:w=""}=l,{clientstyling:g=""}=l,{clientstylingurl:o=""}=l,{mbsource:s}=l,m,u=window.navigator.userAgent,v,b=[],c=0,k,B=null,E=null,j=!1,C,T,P=0,N;const J=()=>{fetch(w).then(f=>f.json()).then(f=>{Object.keys(f).forEach(M=>{U(M,f[M])})}).catch(f=>{console.log(f)})};Object.keys(I).forEach(r=>{U(r,I[r])});const z=r=>{n(5,j=!0),n(6,C=r)},A=()=>{n(5,j=!1),n(6,C=-1)},R=r=>r.touches||r.originalEvent.touches,H=r=>{const f=R(r)[0];B=f.clientX,E=f.clientY},q=r=>{if(!B||!E)return;let f=r.touches[0].clientX,M=r.touches[0].clientY,S=B-f,se=E-M;Math.abs(S)>Math.abs(se)&&(S>0?F(1):F(-1)),B=null,E=null},F=r=>{r>0&&!d?(n(2,c-=v),n(2,c=c<P?P:c)):r<0&&!i&&(n(2,c+=v),n(2,c=c>0?0:c))},D=r=>{window.postMessage({type:"TournamentGameAction",gameId:r.id,name:r.name,launchUrl:r.launchUrl},window.location.href)},x=()=>{let r=new URL(p),f=new Headers;r.searchParams.append("expand","games"),r.searchParams.append("pagination",`games(limit=${ce},offset=${c})`),r.searchParams.append("fields","games(id,name,thumbnail,launchUrl)"),r.searchParams.append("language",_),r.searchParams.append("platform",L.getDevice(u)),fetch(r,{method:"GET",headers:f}).then(S=>S.json()).then(S=>{n(1,b=S.item.games.items),S.item.games.total})},Y=()=>{k.addEventListener("touchstart",H,{passive:!0}),k.addEventListener("touchmove",q,{passive:!0})},Z=()=>{setTimeout(()=>{n(23,P=(T.scrollWidth-T.clientWidth)*-1),n(16,a=new String(T.scrollWidth/b.length)),v=parseInt(y,10)*parseFloat(a,2).toFixed(2)},1e3)},K=()=>{N>0&&N<Math.floor((parseInt(y)+1)*a)&&n(15,y=Math.ceil(N/a).toString())};e.onMount(()=>(v=parseInt(y,10)*parseInt(a,10),()=>{k.removeEventListener("touchstart",H),k.removeEventListener("touchmove",q)}));const Q=()=>F(-1),V=r=>D(r),$=r=>z(r),ee=()=>A();function te(r){e.binding_callbacks[r?"unshift":"push"](()=>{T=r,n(7,T)})}function ne(){N=this.clientWidth,n(4,N)}const le=()=>F(1);function re(r){e.binding_callbacks[r?"unshift":"push"](()=>{k=r,n(3,k)})}function ae(r){e.binding_callbacks[r?"unshift":"push"](()=>{m=r,n(0,m)})}return t.$$set=r=>{"tournamenturl"in r&&n(17,p=r.tournamenturl),"scrollby"in r&&n(15,y=r.scrollby),"pagfactor"in r&&n(16,a=r.pagfactor),"lang"in r&&n(18,_=r.lang),"translationurl"in r&&n(19,w=r.translationurl),"clientstyling"in r&&n(20,g=r.clientstyling),"clientstylingurl"in r&&n(21,o=r.clientstylingurl),"mbsource"in r&&n(22,s=r.mbsource)},t.$$.update=()=>{t.$$.dirty[0]&4&&n(8,i=c===0),t.$$.dirty[0]&8388612&&n(9,d=c<=P),t.$$.dirty[0]&16&&N&&K(),t.$$.dirty[0]&131072&&p&&x(),t.$$.dirty[0]&8&&k&&Y(),t.$$.dirty[0]&524288&&w&&J(),t.$$.dirty[0]&2&&b.length&&Z(),t.$$.dirty[0]&1048577&&g&&m&&e.setClientStyling(m,g),t.$$.dirty[0]&2097153&&o&&m&&e.setClientStylingURL(m,o),t.$$.dirty[0]&4194305&&s&&m&&e.setStreamStyling(m,`${s}.Style`)},n(2,c=0),[m,b,c,k,N,j,C,T,i,d,h,z,A,F,D,y,a,p,_,w,g,o,s,P,Q,V,$,ee,te,ne,le,re,ae]}class X extends e.SvelteComponent{constructor(l){super(),e.init(this,l,ue,oe,e.safe_not_equal,{tournamenturl:17,scrollby:15,pagfactor:16,lang:18,translationurl:19,clientstyling:20,clientstylingurl:21,mbsource:22},ie,[-1,-1])}get tournamenturl(){return this.$$.ctx[17]}set tournamenturl(l){this.$$set({tournamenturl:l}),e.flush()}get scrollby(){return this.$$.ctx[15]}set scrollby(l){this.$$set({scrollby:l}),e.flush()}get pagfactor(){return this.$$.ctx[16]}set pagfactor(l){this.$$set({pagfactor:l}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(l){this.$$set({lang:l}),e.flush()}get translationurl(){return this.$$.ctx[19]}set translationurl(l){this.$$set({translationurl:l}),e.flush()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(l){this.$$set({clientstyling:l}),e.flush()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(l){this.$$set({clientstylingurl:l}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(l){this.$$set({mbsource:l}),e.flush()}}e.create_custom_element(X,{tournamenturl:{},scrollby:{},pagfactor:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=X;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as C, b as L,
|
|
2
|
-
import { a as
|
|
1
|
+
import { S as C, b as L, f as _, c as Z, a as j, d as I, g, e as v, t as y, j as p, l as w, m as d, p as b, n as F, q as T, u as B, v as R, w as O, x as q, A as S, C as U, y as V, z as W } from "./CasinoTournamentsDetails-DPKqCPr7.js";
|
|
2
|
+
import { a as D, b as G } from "./CasinoTournamentsPageController-BP_JP9AJ.js";
|
|
3
3
|
function N(r, e) {
|
|
4
|
-
|
|
4
|
+
D(r, e);
|
|
5
5
|
}
|
|
6
6
|
const M = {
|
|
7
7
|
en: {
|
|
@@ -61,21 +61,21 @@ const M = {
|
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
function J(r) {
|
|
64
|
-
|
|
64
|
+
I(r, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function H(r, e, t) {
|
|
67
67
|
const i = r.slice();
|
|
68
68
|
return i[12] = e[t], i[14] = t, i;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function x(r) {
|
|
71
71
|
let e, t = S(
|
|
72
72
|
/*prizes*/
|
|
73
73
|
r[1]
|
|
74
74
|
), i = [];
|
|
75
75
|
for (let n = 0; n < t.length; n += 1)
|
|
76
|
-
i[n] =
|
|
76
|
+
i[n] = E(H(r, t, n));
|
|
77
77
|
let l = null;
|
|
78
|
-
return t.length || (l =
|
|
78
|
+
return t.length || (l = A(r)), {
|
|
79
79
|
c() {
|
|
80
80
|
e = g("div");
|
|
81
81
|
for (let n = 0; n < i.length; n += 1)
|
|
@@ -83,7 +83,7 @@ function H(r) {
|
|
|
83
83
|
l && l.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
|
|
84
84
|
},
|
|
85
85
|
m(n, c) {
|
|
86
|
-
|
|
86
|
+
w(n, e, c);
|
|
87
87
|
for (let s = 0; s < i.length; s += 1)
|
|
88
88
|
i[s] && i[s].m(e, null);
|
|
89
89
|
l && l.m(e, null);
|
|
@@ -97,20 +97,20 @@ function H(r) {
|
|
|
97
97
|
);
|
|
98
98
|
let s;
|
|
99
99
|
for (s = 0; s < t.length; s += 1) {
|
|
100
|
-
const f =
|
|
101
|
-
i[s] ? i[s].p(f, c) : (i[s] =
|
|
100
|
+
const f = H(n, t, s);
|
|
101
|
+
i[s] ? i[s].p(f, c) : (i[s] = E(f), i[s].c(), i[s].m(e, null));
|
|
102
102
|
}
|
|
103
103
|
for (; s < i.length; s += 1)
|
|
104
104
|
i[s].d(1);
|
|
105
|
-
i.length = t.length, !t.length && l ? l.p(n, c) : t.length ? l && (l.d(1), l = null) : (l =
|
|
105
|
+
i.length = t.length, !t.length && l ? l.p(n, c) : t.length ? l && (l.d(1), l = null) : (l = A(n), l.c(), l.m(e, null));
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
d(n) {
|
|
109
|
-
n &&
|
|
109
|
+
n && T(e), U(i, n), l && l.d();
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function A(r) {
|
|
114
114
|
let e, t = (
|
|
115
115
|
/*$_*/
|
|
116
116
|
r[2]("noprizes") + ""
|
|
@@ -120,7 +120,7 @@ function x(r) {
|
|
|
120
120
|
e = g("p"), i = y(t);
|
|
121
121
|
},
|
|
122
122
|
m(l, n) {
|
|
123
|
-
|
|
123
|
+
w(l, e, n), d(e, i);
|
|
124
124
|
},
|
|
125
125
|
p(l, n) {
|
|
126
126
|
n & /*$_*/
|
|
@@ -128,11 +128,11 @@ function x(r) {
|
|
|
128
128
|
l[2]("noprizes") + "") && b(i, t);
|
|
129
129
|
},
|
|
130
130
|
d(l) {
|
|
131
|
-
l &&
|
|
131
|
+
l && T(e);
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function E(r) {
|
|
136
136
|
let e, t, i, l = (
|
|
137
137
|
/*prize*/
|
|
138
138
|
(r[12].count > 1 ? `${/*prize*/
|
|
@@ -156,7 +156,7 @@ function A(r) {
|
|
|
156
156
|
r[14]);
|
|
157
157
|
},
|
|
158
158
|
m(m, a) {
|
|
159
|
-
|
|
159
|
+
w(m, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, z), d(e, P);
|
|
160
160
|
},
|
|
161
161
|
p(m, a) {
|
|
162
162
|
a & /*prizes*/
|
|
@@ -174,7 +174,7 @@ function A(r) {
|
|
|
174
174
|
m[12].name + "") && b(z, u);
|
|
175
175
|
},
|
|
176
176
|
d(m) {
|
|
177
|
-
m &&
|
|
177
|
+
m && T(e);
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
}
|
|
@@ -184,31 +184,31 @@ function K(r) {
|
|
|
184
184
|
r[2]("prizes") + ""
|
|
185
185
|
), s, f, o = (
|
|
186
186
|
/*prizes*/
|
|
187
|
-
r[1] &&
|
|
187
|
+
r[1] && x(r)
|
|
188
188
|
);
|
|
189
189
|
return {
|
|
190
190
|
c() {
|
|
191
191
|
e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', l = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
|
|
192
192
|
},
|
|
193
193
|
m(u, z) {
|
|
194
|
-
|
|
194
|
+
w(u, e, z), d(e, t), d(t, i), d(t, l), d(t, n), d(n, s), d(e, f), o && o.m(e, null), r[8](e);
|
|
195
195
|
},
|
|
196
196
|
p(u, [z]) {
|
|
197
197
|
z & /*$_*/
|
|
198
198
|
4 && c !== (c = /*$_*/
|
|
199
199
|
u[2]("prizes") + "") && b(s, c), /*prizes*/
|
|
200
|
-
u[1] ? o ? o.p(u, z) : (o =
|
|
200
|
+
u[1] ? o ? o.p(u, z) : (o = x(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
|
|
201
201
|
},
|
|
202
202
|
i: F,
|
|
203
203
|
o: F,
|
|
204
204
|
d(u) {
|
|
205
|
-
u &&
|
|
205
|
+
u && T(e), o && o.d(), r[8](null);
|
|
206
206
|
}
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
209
|
function Q(r, e, t) {
|
|
210
210
|
let i;
|
|
211
|
-
|
|
211
|
+
B(r, G, (a) => t(2, i = a));
|
|
212
212
|
let { tourid: l = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
|
|
213
213
|
const z = () => {
|
|
214
214
|
fetch(s).then((h) => h.json()).then((h) => {
|
|
@@ -225,11 +225,11 @@ function Q(r, e, t) {
|
|
|
225
225
|
const P = (a) => {
|
|
226
226
|
a.data && a.data.type == `TournamentPrizes_${l}` && t(1, u = a.data.prizes);
|
|
227
227
|
};
|
|
228
|
-
|
|
228
|
+
R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
|
|
229
229
|
window.removeEventListener("message", P);
|
|
230
230
|
}));
|
|
231
231
|
function m(a) {
|
|
232
|
-
|
|
232
|
+
V[a ? "unshift" : "push"](() => {
|
|
233
233
|
o = a, t(0, o);
|
|
234
234
|
});
|
|
235
235
|
}
|
|
@@ -237,9 +237,9 @@ function Q(r, e, t) {
|
|
|
237
237
|
"tourid" in a && t(3, l = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
|
|
238
238
|
}, r.$$.update = () => {
|
|
239
239
|
r.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
240
|
-
17 && n && o &&
|
|
241
|
-
33 && c && o &&
|
|
242
|
-
129 && f && o &&
|
|
240
|
+
17 && n && o && W(o, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
241
|
+
33 && c && o && O(o, c), r.$$.dirty & /*mbsource, customStylingContainer*/
|
|
242
|
+
129 && f && o && q(o, `${f}.Style`), r.$$.dirty & /*translationurl*/
|
|
243
243
|
64 && s && z();
|
|
244
244
|
}, [
|
|
245
245
|
o,
|
|
@@ -260,7 +260,7 @@ class X extends C {
|
|
|
260
260
|
e,
|
|
261
261
|
Q,
|
|
262
262
|
K,
|
|
263
|
-
|
|
263
|
+
j,
|
|
264
264
|
{
|
|
265
265
|
tourid: 3,
|
|
266
266
|
clientstyling: 4,
|
|
@@ -302,7 +302,7 @@ class X extends C {
|
|
|
302
302
|
this.$$set({ mbsource: e }), _();
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
|
|
305
|
+
Z(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
306
306
|
export {
|
|
307
307
|
X as default
|
|
308
308
|
};
|