@everymatrix/casino-tournaments-page-controller 1.76.3 → 1.76.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsDetails-CI9Jj7ok.js → CasinoTournamentsDetails-CV5jyv8g.js} +21 -21
- package/components/{CasinoTournamentsDetails-Dpas8Oa3.js → CasinoTournamentsDetails-_vnvzxd3.js} +21 -21
- package/components/CasinoTournamentsPageController-Czj_9f9q.cjs +37 -0
- package/components/{CasinoTournamentsPageController-BIb60qke.js → CasinoTournamentsPageController-DIjImG1k.js} +2712 -2677
- package/components/{CasinoTournamentsPageController-DrWaJk5P.js → CasinoTournamentsPageController-LRHk1OJ4.js} +2743 -2708
- package/components/{CasinoTournamentsRank-DP-cVYPO.js → CasinoTournamentsRank-BEjjLuf1.js} +35 -35
- package/components/{CasinoTournamentsRank-q82Dxoqr.js → CasinoTournamentsRank-CkgXfPdz.js} +35 -35
- package/components/{CasinoTournamentsTab-06D_e41f.js → CasinoTournamentsTab-BRIU3NDv.js} +36 -36
- package/components/{CasinoTournamentsTab-R3r2AHPH.cjs → CasinoTournamentsTab-BdBIehQV.cjs} +1 -1
- package/components/{CasinoTournamentsTab-gjYGj9YA.js → CasinoTournamentsTab-cAmru9Ol.js} +32 -32
- package/components/{CasinoTournamentsTable-D1RE_06q.cjs → CasinoTournamentsTable-3AOlf9hp.cjs} +1 -1
- package/components/{CasinoTournamentsTable-Ci48agje.js → CasinoTournamentsTable-D0-M8VIr.js} +84 -84
- package/components/{CasinoTournamentsTable-Dqppk9qx.js → CasinoTournamentsTable-RfAIxnuW.js} +84 -84
- package/components/{CasinoTournamentsThumbnail-DQp66K62.js → CasinoTournamentsThumbnail-CaIyyUlW.js} +39 -39
- package/components/{CasinoTournamentsThumbnail-UTaQ6XBt.js → CasinoTournamentsThumbnail-Cp_sIUHy.js} +39 -39
- package/components/{CasinoTournamentsThumbnail-CUbQFVZt.cjs → CasinoTournamentsThumbnail-D1JyrHrY.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-D35nG6XP.js → CasinoTournamentsThumbnailController-30_8iqch.js} +47 -47
- package/components/{CasinoTournamentsThumbnailController-Co2GBKG-.cjs → CasinoTournamentsThumbnailController-CjJaE6DJ.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-D2C4ybr1.js → CasinoTournamentsThumbnailController-wrPgna6T.js} +47 -47
- package/components/{CasinoTournamentsThumbnailDuration-CfINvPbc.js → CasinoTournamentsThumbnailDuration-BqNqjxsL.js} +65 -65
- package/components/{CasinoTournamentsThumbnailDuration-D7pJ3HDD.cjs → CasinoTournamentsThumbnailDuration-CMPeZsoj.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-egjrV7Ab.js → CasinoTournamentsThumbnailDuration-ZnRFP_h_.js} +65 -65
- package/components/{CasinoTournamentsThumbnailGames-B8X814e1.js → CasinoTournamentsThumbnailGames-BQSFsb7H.js} +54 -54
- package/components/{CasinoTournamentsThumbnailGames-DTot3kgc.cjs → CasinoTournamentsThumbnailGames-DS3GmPBl.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGames-ypNdyMoK.js → CasinoTournamentsThumbnailGames-Q4Gg_Pxp.js} +49 -49
- package/components/{CasinoTournamentsThumbnailGamesSlider-8B1qtm9V.js → CasinoTournamentsThumbnailGamesSlider-BAXfTifG.js} +34 -34
- package/components/{CasinoTournamentsThumbnailGamesSlider-oPbDMVkM.js → CasinoTournamentsThumbnailGamesSlider-CFd0JjFY.js} +34 -34
- package/components/{CasinoTournamentsThumbnailGamesSlider-kgkqO8gR.cjs → CasinoTournamentsThumbnailGamesSlider-DmOtGPsI.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-BOs0DK1z.cjs → CasinoTournamentsThumbnailPrizes-CgS9w2Aq.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CavQe9e7.js → CasinoTournamentsThumbnailPrizes-Dz4-wWGv.js} +31 -31
- package/components/{CasinoTournamentsThumbnailPrizes-Cckrc0am.js → CasinoTournamentsThumbnailPrizes-pZYtadAx.js} +31 -31
- package/components/{CasinoTournamentsThumbnailRule-KtxZtJkT.cjs → CasinoTournamentsThumbnailRule-BaJvRUJL.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailRule-_CDIwUgM.js → CasinoTournamentsThumbnailRule-BtlW7eqt.js} +22 -22
- package/components/{CasinoTournamentsThumbnailRule-zw73Q3DJ.js → CasinoTournamentsThumbnailRule-C2uFR1vt.js} +41 -41
- 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-97d17652-C7V2DWFg.js → index-97d17652--F7PvMq9.js} +176 -176
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-CCFHkzJw.js} +187 -187
- package/stencil/index-b2193545-BS7xFIk4.js +503 -0
- package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
- package/stencil/index-b2193545-rfNAj6ri.js +519 -0
- package/stencil/{ui-image-DBXtq7Sy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
- package/stencil/{ui-image-BNRjOSaN.js → ui-image-CXqPvnQ2.js} +1 -1
- package/stencil/{ui-image-D9tkwepr.js → ui-image-DgbODkuX.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-CKaouoPt.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
- package/stencil/{ui-skeleton-BecGfbnY.js → ui-skeleton-D8L-WY77.js} +2 -2
- package/stencil/{ui-skeleton-DXmvn9dE.js → ui-skeleton-DSebcnN1.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-8tswdmF8.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BVAHFeog.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-kPD5RoB3.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
- package/components/CasinoTournamentsPageController-Bq1SPg48.cjs +0 -37
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
- package/stencil/index-b2193545-CD_KQ0BB.js +0 -519
- package/stencil/index-b2193545-CrHhiaNt.js +0 -503
- package/stencil/index-b2193545-ngvz84TK.cjs +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { S as X, b as x,
|
|
2
|
-
import { $ as
|
|
3
|
-
import "../stencil/ui-image-
|
|
1
|
+
import { S as X, b as x, s as Q, f as A, d as V, x as M, n as R, e as C, y as J, j as b, k as S, l as h, p as w, o as z, u as Y, v as Z, h as g, g as W, t as O, w as $, z as ee, A as j, m as te, i as ae, C as ne, D as se, E as ie, c as le } from "./CasinoTournamentsDetails-CV5jyv8g.js";
|
|
2
|
+
import { $ as P, c as oe, a as re, i as ce, b as ue } from "./CasinoTournamentsPageController-DIjImG1k.js";
|
|
3
|
+
import "../stencil/ui-image-CXqPvnQ2.js";
|
|
4
4
|
function me({ withLocale: t, translations: e }) {
|
|
5
|
-
|
|
6
|
-
a == null && (oe.set(e),
|
|
5
|
+
P.subscribe((a) => {
|
|
6
|
+
a == null && (oe.set(e), P.set(t));
|
|
7
7
|
});
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function E(t, e) {
|
|
10
10
|
re(t, e);
|
|
11
11
|
}
|
|
12
12
|
function de(t) {
|
|
13
|
-
|
|
13
|
+
P.set(t);
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const F = {
|
|
16
16
|
en: {
|
|
17
17
|
loading: "Loading, please wait ...",
|
|
18
18
|
playNow: "Play Now",
|
|
@@ -23,21 +23,21 @@ const U = {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
function fe(t) {
|
|
26
|
-
|
|
26
|
+
V(t, "svelte-grpqez", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .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:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function U(t, e, a) {
|
|
29
29
|
const n = t.slice();
|
|
30
30
|
return n[20] = e[a], n;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function I(t, e, a) {
|
|
33
33
|
const n = t.slice();
|
|
34
34
|
return n[20] = e[a], n;
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function q(t) {
|
|
37
37
|
let e, a;
|
|
38
38
|
return {
|
|
39
39
|
c() {
|
|
40
|
-
e = w("div"), a = w("casino-tournaments-tab"), g(a, "part", "TournamentGames"), g(a, "tabs", "casino,sports"), g(a, "tab", "casino"), g(a, "tid",
|
|
40
|
+
e = w("div"), a = w("casino-tournaments-tab"), g(a, "part", "TournamentGames"), g(a, "tabs", "casino,sports"), g(a, "tab", "casino"), g(a, "tid", B), g(
|
|
41
41
|
a,
|
|
42
42
|
"clientstyling",
|
|
43
43
|
/*clientstyling*/
|
|
@@ -55,7 +55,7 @@ function I(t) {
|
|
|
55
55
|
), b(e, "class", "GamesTabNav");
|
|
56
56
|
},
|
|
57
57
|
m(n, s) {
|
|
58
|
-
|
|
58
|
+
S(n, e, s), h(e, a);
|
|
59
59
|
},
|
|
60
60
|
p(n, s) {
|
|
61
61
|
s & /*clientstyling*/
|
|
@@ -79,7 +79,7 @@ function I(t) {
|
|
|
79
79
|
);
|
|
80
80
|
},
|
|
81
81
|
d(n) {
|
|
82
|
-
n &&
|
|
82
|
+
n && C(e);
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
}
|
|
@@ -90,18 +90,18 @@ function ge(t) {
|
|
|
90
90
|
), n;
|
|
91
91
|
return {
|
|
92
92
|
c() {
|
|
93
|
-
e = w("div"), n =
|
|
93
|
+
e = w("div"), n = O(a), b(e, "class", "NoGames");
|
|
94
94
|
},
|
|
95
95
|
m(s, r) {
|
|
96
|
-
|
|
96
|
+
S(s, e, r), h(e, n);
|
|
97
97
|
},
|
|
98
98
|
p(s, r) {
|
|
99
99
|
r & /*$_*/
|
|
100
100
|
256 && a !== (a = /*$_*/
|
|
101
|
-
s[8]("noGamesAvailable") + "") &&
|
|
101
|
+
s[8]("noGamesAvailable") + "") && W(n, a);
|
|
102
102
|
},
|
|
103
103
|
d(s) {
|
|
104
|
-
s &&
|
|
104
|
+
s && C(e);
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
}
|
|
@@ -111,17 +111,17 @@ function pe(t) {
|
|
|
111
111
|
t[7]
|
|
112
112
|
), n = [];
|
|
113
113
|
for (let s = 0; s < a.length; s += 1)
|
|
114
|
-
n[s] = D(
|
|
114
|
+
n[s] = D(I(t, a, s));
|
|
115
115
|
return {
|
|
116
116
|
c() {
|
|
117
117
|
for (let s = 0; s < n.length; s += 1)
|
|
118
118
|
n[s].c();
|
|
119
|
-
e =
|
|
119
|
+
e = ee();
|
|
120
120
|
},
|
|
121
121
|
m(s, r) {
|
|
122
122
|
for (let i = 0; i < n.length; i += 1)
|
|
123
123
|
n[i] && n[i].m(s, r);
|
|
124
|
-
|
|
124
|
+
S(s, e, r);
|
|
125
125
|
},
|
|
126
126
|
p(s, r) {
|
|
127
127
|
if (r & /*gameClicked, casinoGames, $_*/
|
|
@@ -132,7 +132,7 @@ function pe(t) {
|
|
|
132
132
|
);
|
|
133
133
|
let i;
|
|
134
134
|
for (i = 0; i < a.length; i += 1) {
|
|
135
|
-
const u =
|
|
135
|
+
const u = I(s, a, i);
|
|
136
136
|
n[i] ? n[i].p(u, r) : (n[i] = D(u), n[i].c(), n[i].m(e.parentNode, e));
|
|
137
137
|
}
|
|
138
138
|
for (; i < n.length; i += 1)
|
|
@@ -141,7 +141,7 @@ function pe(t) {
|
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
d(s) {
|
|
144
|
-
s &&
|
|
144
|
+
s && C(e), J(n, s);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
}
|
|
@@ -152,14 +152,14 @@ function D(t) {
|
|
|
152
152
|
), s, r, i, u, m, _, G, d, y;
|
|
153
153
|
return {
|
|
154
154
|
c() {
|
|
155
|
-
e = w("div"), a = w("span"), s =
|
|
155
|
+
e = w("div"), a = w("span"), s = O(n), r = z(), i = w("ui-image"), G = z(), b(a, "class", "PlayNowButton"), j(i.src, u = /*item*/
|
|
156
156
|
t[20].thumbnail) || g(i, "src", u), g(i, "width", "132px"), g(i, "height", "100px"), g(i, "alt", m = /*item*/
|
|
157
157
|
t[20].name), g(i, "title", _ = /*item*/
|
|
158
158
|
t[20].name), b(e, "class", "item"), b(e, "role", "button"), b(e, "tabindex", "0");
|
|
159
159
|
},
|
|
160
160
|
m(v, c) {
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
S(v, e, c), h(e, a), h(a, s), h(e, r), h(e, i), h(e, G), d || (y = te(e, "click", function() {
|
|
162
|
+
ae(
|
|
163
163
|
/*gameClicked*/
|
|
164
164
|
t[10](
|
|
165
165
|
/*item*/
|
|
@@ -174,7 +174,7 @@ function D(t) {
|
|
|
174
174
|
p(v, c) {
|
|
175
175
|
t = v, c & /*$_*/
|
|
176
176
|
256 && n !== (n = /*$_*/
|
|
177
|
-
t[8]("playNow") + "") &&
|
|
177
|
+
t[8]("playNow") + "") && W(s, n), c & /*casinoGames*/
|
|
178
178
|
128 && !j(i.src, u = /*item*/
|
|
179
179
|
t[20].thumbnail) && g(i, "src", u), c & /*casinoGames*/
|
|
180
180
|
128 && m !== (m = /*item*/
|
|
@@ -183,7 +183,7 @@ function D(t) {
|
|
|
183
183
|
t[20].name) && g(i, "title", _);
|
|
184
184
|
},
|
|
185
185
|
d(v) {
|
|
186
|
-
v &&
|
|
186
|
+
v && C(e), d = !1, y();
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
}
|
|
@@ -197,20 +197,20 @@ function H(t) {
|
|
|
197
197
|
), i;
|
|
198
198
|
return {
|
|
199
199
|
c() {
|
|
200
|
-
e = w("li"), n =
|
|
200
|
+
e = w("li"), n = O(a), s = z(), i = O(r), b(e, "part", "li"), b(e, "class", "Market");
|
|
201
201
|
},
|
|
202
202
|
m(u, m) {
|
|
203
|
-
|
|
203
|
+
S(u, e, m), h(e, n), h(e, s), h(e, i);
|
|
204
204
|
},
|
|
205
205
|
p(u, m) {
|
|
206
206
|
m & /*sportsRules*/
|
|
207
207
|
64 && a !== (a = /*item*/
|
|
208
|
-
u[20].rule + "") &&
|
|
208
|
+
u[20].rule + "") && W(n, a), m & /*$_*/
|
|
209
209
|
256 && r !== (r = /*$_*/
|
|
210
|
-
u[8]("contribution") + "") &&
|
|
210
|
+
u[8]("contribution") + "") && W(i, r);
|
|
211
211
|
},
|
|
212
212
|
d(u) {
|
|
213
|
-
u &&
|
|
213
|
+
u && C(e);
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
}
|
|
@@ -219,7 +219,7 @@ function he(t) {
|
|
|
219
219
|
/*tournamentdetails*/
|
|
220
220
|
t[3] && /*tournamentdetails*/
|
|
221
221
|
t[3].wallet?.sports && /*tournamentdetails*/
|
|
222
|
-
t[3].wallet?.casino &&
|
|
222
|
+
t[3].wallet?.casino && q(t)
|
|
223
223
|
);
|
|
224
224
|
function y(o, T) {
|
|
225
225
|
return (
|
|
@@ -232,7 +232,7 @@ function he(t) {
|
|
|
232
232
|
t[6]
|
|
233
233
|
), p = [];
|
|
234
234
|
for (let o = 0; o < N.length; o += 1)
|
|
235
|
-
p[o] = H(
|
|
235
|
+
p[o] = H(U(t, N, o));
|
|
236
236
|
return {
|
|
237
237
|
c() {
|
|
238
238
|
e = w("div"), d && d.c(), a = z(), n = w("div"), s = w("div"), r = w("div"), c.c(), u = z(), m = w("div"), _ = w("ul");
|
|
@@ -246,7 +246,7 @@ function he(t) {
|
|
|
246
246
|
) ? "MobileClass" : "");
|
|
247
247
|
},
|
|
248
248
|
m(o, T) {
|
|
249
|
-
|
|
249
|
+
S(o, e, T), d && d.m(e, null), h(e, a), h(e, n), h(n, s), h(s, r), c.m(r, null), h(n, u), h(n, m), h(m, _);
|
|
250
250
|
for (let f = 0; f < p.length; f += 1)
|
|
251
251
|
p[f] && p[f].m(_, null);
|
|
252
252
|
t[13](e);
|
|
@@ -255,7 +255,7 @@ function he(t) {
|
|
|
255
255
|
if (/*tournamentdetails*/
|
|
256
256
|
o[3] && /*tournamentdetails*/
|
|
257
257
|
o[3].wallet?.sports && /*tournamentdetails*/
|
|
258
|
-
o[3].wallet?.casino ? d ? d.p(o, T) : (d =
|
|
258
|
+
o[3].wallet?.casino ? d ? d.p(o, T) : (d = q(o), d.c(), d.m(e, a)) : d && (d.d(1), d = null), v === (v = y(o)) && c ? c.p(o, T) : (c.d(1), c = v(o), c && (c.c(), c.m(r, null))), T & /*activeTab*/
|
|
259
259
|
32 && i !== (i = "TabContent GamesContent " + /*activeTab*/
|
|
260
260
|
(o[5] != "casino" ? "hidden" : "")) && b(s, "class", i), T & /*$_, sportsRules*/
|
|
261
261
|
320) {
|
|
@@ -265,7 +265,7 @@ function he(t) {
|
|
|
265
265
|
);
|
|
266
266
|
let f;
|
|
267
267
|
for (f = 0; f < N.length; f += 1) {
|
|
268
|
-
const L =
|
|
268
|
+
const L = U(o, N, f);
|
|
269
269
|
p[f] ? p[f].p(L, T) : (p[f] = H(L), p[f].c(), p[f].m(_, null));
|
|
270
270
|
}
|
|
271
271
|
for (; f < p.length; f += 1)
|
|
@@ -279,27 +279,27 @@ function he(t) {
|
|
|
279
279
|
i: R,
|
|
280
280
|
o: R,
|
|
281
281
|
d(o) {
|
|
282
|
-
o &&
|
|
282
|
+
o && C(e), d && d.d(), c.d(), J(p, o), t[13](null);
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
|
-
let
|
|
286
|
+
let B = "gameTab";
|
|
287
287
|
function be(t, e, a) {
|
|
288
288
|
let n;
|
|
289
|
-
|
|
289
|
+
Y(t, ue, (l) => a(8, n = l));
|
|
290
290
|
let { clientstyling: s = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: i } = e, { translationurl: u } = e, { lang: m = "en" } = e, _ = "casino", G = [], d = [], y, v = window.navigator.userAgent, c;
|
|
291
291
|
me({ withLocale: "en", translations: {} });
|
|
292
292
|
const N = () => {
|
|
293
293
|
fetch(u).then((l) => l.json()).then((l) => {
|
|
294
294
|
Object.keys(l).forEach((k) => {
|
|
295
|
-
|
|
295
|
+
E(k, l[k]);
|
|
296
296
|
});
|
|
297
297
|
}).catch((l) => {
|
|
298
298
|
console.log(l);
|
|
299
299
|
});
|
|
300
300
|
};
|
|
301
|
-
Object.keys(
|
|
302
|
-
|
|
301
|
+
Object.keys(F).forEach((l) => {
|
|
302
|
+
E(l, F[l]);
|
|
303
303
|
});
|
|
304
304
|
const p = () => {
|
|
305
305
|
de(m), setTimeout(
|
|
@@ -347,7 +347,7 @@ function be(t, e, a) {
|
|
|
347
347
|
const k = l.data.tid || "";
|
|
348
348
|
switch (l.data.type) {
|
|
349
349
|
case "TournamentsTabSwitch":
|
|
350
|
-
k ===
|
|
350
|
+
k === B && a(5, _ = l.data.tab);
|
|
351
351
|
break;
|
|
352
352
|
case "TournamentsTabListenerLoaded":
|
|
353
353
|
o();
|
|
@@ -360,17 +360,17 @@ function be(t, e, a) {
|
|
|
360
360
|
break;
|
|
361
361
|
}
|
|
362
362
|
};
|
|
363
|
-
|
|
363
|
+
Z(() => (window.postMessage(
|
|
364
364
|
{
|
|
365
365
|
type: "TournamentsGamesListenerLoaded",
|
|
366
|
-
gamesTabTid:
|
|
366
|
+
gamesTabTid: B
|
|
367
367
|
},
|
|
368
368
|
window.location.href
|
|
369
369
|
), window.addEventListener("message", L, !1), () => {
|
|
370
370
|
window.removeEventListener("message", L);
|
|
371
371
|
}));
|
|
372
372
|
function K(l) {
|
|
373
|
-
|
|
373
|
+
$[l ? "unshift" : "push"](() => {
|
|
374
374
|
c = l, a(4, c);
|
|
375
375
|
});
|
|
376
376
|
}
|
|
@@ -381,9 +381,9 @@ function be(t, e, a) {
|
|
|
381
381
|
8 && y && f(), t.$$.dirty & /*lang*/
|
|
382
382
|
4096 && m && p(), t.$$.dirty & /*translationurl*/
|
|
383
383
|
2048 && u && N(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
384
|
-
17 && s && c &&
|
|
385
|
-
18 && r && c &&
|
|
386
|
-
20 && i && c &&
|
|
384
|
+
17 && s && c && ne(c, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
385
|
+
18 && r && c && se(c, r), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
386
|
+
20 && i && c && ie(c, `${i}.Style`);
|
|
387
387
|
}, [
|
|
388
388
|
s,
|
|
389
389
|
r,
|
|
@@ -408,7 +408,7 @@ class _e extends X {
|
|
|
408
408
|
e,
|
|
409
409
|
be,
|
|
410
410
|
he,
|
|
411
|
-
|
|
411
|
+
Q,
|
|
412
412
|
{
|
|
413
413
|
clientstyling: 0,
|
|
414
414
|
clientstylingurl: 1,
|
|
@@ -450,7 +450,7 @@ class _e extends X {
|
|
|
450
450
|
this.$$set({ lang: e }), A();
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
|
-
|
|
453
|
+
le(_e, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
|
|
454
454
|
export {
|
|
455
455
|
_e as default
|
|
456
456
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-DVRJk4kX.cjs"),G=require("./CasinoTournamentsPageController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsDetails-DVRJk4kX.cjs"),G=require("./CasinoTournamentsPageController-Czj_9f9q.cjs");require("../stencil/ui-image-Bk8cIvcH.cjs");function j({withLocale:a,translations:t}){G.$locale.subscribe(n=>{n==null&&(G.$dictionary.set(t),G.$locale.set(a))})}function M(a,t){G.addMessages(a,t)}function F(a){G.$locale.set(a)}const z={en:{loading:"Loading, please wait ...",playNow:"Play Now",casino:"CASINO",sports:"SPORTSBOOK",contribution:"Contribution",noGamesAvailable:"No games have been configured yet!"}};function U(a){e.append_styles(a,"svelte-grpqez","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .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:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}")}function O(a,t,n){const s=a.slice();return s[20]=t[n],s}function P(a,t,n){const s=a.slice();return s[20]=t[n],s}function W(a){let t,n;return{c(){t=e.element("div"),n=e.element("casino-tournaments-tab"),e.set_custom_element_data(n,"part","TournamentGames"),e.set_custom_element_data(n,"tabs","casino,sports"),e.set_custom_element_data(n,"tab","casino"),e.set_custom_element_data(n,"tid",L),e.set_custom_element_data(n,"clientstyling",a[0]),e.set_custom_element_data(n,"clientstylingurl",a[1]),e.set_custom_element_data(n,"mbsource",a[2]),e.attr(t,"class","GamesTabNav")},m(s,l){e.insert(s,t,l),e.append(t,n)},p(s,l){l&1&&e.set_custom_element_data(n,"clientstyling",s[0]),l&2&&e.set_custom_element_data(n,"clientstylingurl",s[1]),l&4&&e.set_custom_element_data(n,"mbsource",s[2])},d(s){s&&e.detach(t)}}}function E(a){let t,n=a[8]("noGamesAvailable")+"",s;return{c(){t=e.element("div"),s=e.text(n),e.attr(t,"class","NoGames")},m(l,c){e.insert(l,t,c),e.append(t,s)},p(l,c){c&256&&n!==(n=l[8]("noGamesAvailable")+"")&&e.set_data(s,n)},d(l){l&&e.detach(t)}}}function I(a){let t,n=e.ensure_array_like(a[7]),s=[];for(let l=0;l<n.length;l+=1)s[l]=q(P(a,n,l));return{c(){for(let l=0;l<s.length;l+=1)s[l].c();t=e.empty()},m(l,c){for(let i=0;i<s.length;i+=1)s[i]&&s[i].m(l,c);e.insert(l,t,c)},p(l,c){if(c&1408){n=e.ensure_array_like(l[7]);let i;for(i=0;i<n.length;i+=1){const u=P(l,n,i);s[i]?s[i].p(u,c):(s[i]=q(u),s[i].c(),s[i].m(t.parentNode,t))}for(;i<s.length;i+=1)s[i].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l)}}}function q(a){let t,n,s=a[8]("playNow")+"",l,c,i,u,d,g,v,p,h;return{c(){t=e.element("div"),n=e.element("span"),l=e.text(s),c=e.space(),i=e.element("ui-image"),v=e.space(),e.attr(n,"class","PlayNowButton"),e.src_url_equal(i.src,u=a[20].thumbnail)||e.set_custom_element_data(i,"src",u),e.set_custom_element_data(i,"width","132px"),e.set_custom_element_data(i,"height","100px"),e.set_custom_element_data(i,"alt",d=a[20].name),e.set_custom_element_data(i,"title",g=a[20].name),e.attr(t,"class","item"),e.attr(t,"role","button"),e.attr(t,"tabindex","0")},m(b,m){e.insert(b,t,m),e.append(t,n),e.append(n,l),e.append(t,c),e.append(t,i),e.append(t,v),p||(h=e.listen(t,"click",function(){e.is_function(a[10](a[20]))&&a[10](a[20]).apply(this,arguments)}),p=!0)},p(b,m){a=b,m&256&&s!==(s=a[8]("playNow")+"")&&e.set_data(l,s),m&128&&!e.src_url_equal(i.src,u=a[20].thumbnail)&&e.set_custom_element_data(i,"src",u),m&128&&d!==(d=a[20].name)&&e.set_custom_element_data(i,"alt",d),m&128&&g!==(g=a[20].name)&&e.set_custom_element_data(i,"title",g)},d(b){b&&e.detach(t),p=!1,h()}}}function B(a){let t,n=a[20].rule+"",s,l,c=a[8]("contribution")+"",i;return{c(){t=e.element("li"),s=e.text(n),l=e.space(),i=e.text(c),e.attr(t,"part","li"),e.attr(t,"class","Market")},m(u,d){e.insert(u,t,d),e.append(t,s),e.append(t,l),e.append(t,i)},p(u,d){d&64&&n!==(n=u[20].rule+"")&&e.set_data(s,n),d&256&&c!==(c=u[8]("contribution")+"")&&e.set_data(i,c)},d(u){u&&e.detach(t)}}}function x(a){var k,N;let t,n,s,l,c,i,u,d,g,v,p=a[3]&&((k=a[3].wallet)==null?void 0:k.sports)&&((N=a[3].wallet)==null?void 0:N.casino)&&W(a);function h(r,y){var w;return(w=r[7])!=null&&w.length?I:E}let b=h(a),m=b(a),T=e.ensure_array_like(a[6]),f=[];for(let r=0;r<T.length;r+=1)f[r]=B(O(a,T,r));return{c(){t=e.element("div"),p&&p.c(),n=e.space(),s=e.element("div"),l=e.element("div"),c=e.element("div"),m.c(),u=e.space(),d=e.element("div"),g=e.element("ul");for(let r=0;r<f.length;r+=1)f[r].c();e.attr(c,"class","GameList items"),e.attr(l,"class",i="TabContent GamesContent "+(a[5]!="casino"?"hidden":"")),e.attr(g,"class","SportsPage"),e.attr(d,"class",v="TabContent GamesContent "+(a[5]!="sports"?"hidden":"")),e.attr(s,"class","GamesWrapper"),e.attr(t,"class",G.isMobile(a[9])?"MobileClass":"")},m(r,y){e.insert(r,t,y),p&&p.m(t,null),e.append(t,n),e.append(t,s),e.append(s,l),e.append(l,c),m.m(c,null),e.append(s,u),e.append(s,d),e.append(d,g);for(let w=0;w<f.length;w+=1)f[w]&&f[w].m(g,null);a[13](t)},p(r,[y]){var w,o;if(r[3]&&((w=r[3].wallet)!=null&&w.sports)&&((o=r[3].wallet)!=null&&o.casino)?p?p.p(r,y):(p=W(r),p.c(),p.m(t,n)):p&&(p.d(1),p=null),b===(b=h(r))&&m?m.p(r,y):(m.d(1),m=b(r),m&&(m.c(),m.m(c,null))),y&32&&i!==(i="TabContent GamesContent "+(r[5]!="casino"?"hidden":""))&&e.attr(l,"class",i),y&320){T=e.ensure_array_like(r[6]);let _;for(_=0;_<T.length;_+=1){const C=O(r,T,_);f[_]?f[_].p(C,y):(f[_]=B(C),f[_].c(),f[_].m(g,null))}for(;_<f.length;_+=1)f[_].d(1);f.length=T.length}y&32&&v!==(v="TabContent GamesContent "+(r[5]!="sports"?"hidden":""))&&e.attr(d,"class",v)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),p&&p.d(),m.d(),e.destroy_each(f,r),a[13](null)}}}let L="gameTab";function D(a,t,n){let s;e.component_subscribe(a,G.$format,o=>n(8,s=o));let{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{mbsource:i}=t,{translationurl:u}=t,{lang:d="en"}=t,g="casino",v=[],p=[],h,b=window.navigator.userAgent,m;j({withLocale:"en",translations:{}});const T=()=>{fetch(u).then(o=>o.json()).then(o=>{Object.keys(o).forEach(_=>{M(_,o[_])})}).catch(o=>{console.log(o)})};Object.keys(z).forEach(o=>{M(o,z[o])});const f=()=>{F(d),setTimeout(()=>{k()},10)},k=()=>{window.postMessage({type:"TournamentsTabsLocalize",tabTitleTranslations:{casino:s("casino"),sports:s("sports")}},window.location.href)},N=o=>{window.postMessage({type:"TournamentGameAction",gameId:o.id,name:o.name,launchUrl:o.launchUrl},window.location.href)},r=()=>{var _,C,A;n(7,p=((_=h.games)==null?void 0:_.items)||[]);const o=(A=(C=h.metadata)==null?void 0:C.sports)==null?void 0:A.rules;if(o){n(5,g=h.wallet.casino?"casino":"sports");try{const S=JSON.parse(o);n(6,v=S[d]||S["*"])}catch(S){console.error("Error parsing tournament rules",S)}}},y=o=>{if(!o.data||!o.data.type)return;const _=o.data.tid||"";switch(o.data.type){case"TournamentsTabSwitch":_===L&&n(5,g=o.data.tab);break;case"TournamentsTabListenerLoaded":k();break;case"TournamentsGamesUpdate":n(3,h=o.data.details),r();break;default:console.warn(`Unhandled message type: ${o.data.type}`);break}};e.onMount(()=>(window.postMessage({type:"TournamentsGamesListenerLoaded",gamesTabTid:L},window.location.href),window.addEventListener("message",y,!1),()=>{window.removeEventListener("message",y)}));function w(o){e.binding_callbacks[o?"unshift":"push"](()=>{m=o,n(4,m)})}return a.$$set=o=>{"clientstyling"in o&&n(0,l=o.clientstyling),"clientstylingurl"in o&&n(1,c=o.clientstylingurl),"mbsource"in o&&n(2,i=o.mbsource),"translationurl"in o&&n(11,u=o.translationurl),"lang"in o&&n(12,d=o.lang)},a.$$.update=()=>{a.$$.dirty&8&&h&&r(),a.$$.dirty&4096&&d&&f(),a.$$.dirty&2048&&u&&T(),a.$$.dirty&17&&l&&m&&e.setClientStyling(m,l),a.$$.dirty&18&&c&&m&&e.setClientStylingURL(m,c),a.$$.dirty&20&&i&&m&&e.setStreamStyling(m,`${i}.Style`)},[l,c,i,h,m,g,v,p,s,b,N,u,d,w]}class R extends e.SvelteComponent{constructor(t){super(),e.init(this,t,D,x,e.safe_not_equal,{clientstyling:0,clientstylingurl:1,mbsource:2,translationurl:11,lang:12},U)}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}}e.create_custom_element(R,{clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},lang:{}},[],[],!0);exports.default=R;
|