@everymatrix/casino-tournaments-page-controller 1.85.11 → 1.85.13
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/{CasinoTournamentsPageController-CSr6W-YW.cjs → CasinoTournamentsPageController-BnSJRdnF.cjs} +1 -1
- package/components/{CasinoTournamentsPageController-jXXFcYIo.js → CasinoTournamentsPageController-CAvg2dat.js} +2 -2
- package/components/{CasinoTournamentsPageController-D5dsobva.js → CasinoTournamentsPageController-Cg_csxMU.js} +2 -2
- package/components/{CasinoTournamentsThumbnailGames-Cmox0KpC.js → CasinoTournamentsThumbnailGames-BHvHUZ3J.js} +109 -104
- package/components/CasinoTournamentsThumbnailGames-BIWl4CR0.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailGames-D5lN2we4.js → CasinoTournamentsThumbnailGames-DK74jdMe.js} +193 -188
- package/components/{CasinoTournamentsThumbnailRule-qaDzvf6v.js → CasinoTournamentsThumbnailRule-Bybbj-bf.js} +22 -22
- package/components/{CasinoTournamentsThumbnailRule-Cnrh6Hf7.cjs → CasinoTournamentsThumbnailRule-OZp86xxO.cjs} +4 -4
- package/components/{CasinoTournamentsThumbnailRule-CGjcvCUG.js → CasinoTournamentsThumbnailRule-vLx3IKpe.js} +22 -22
- 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/components/CasinoTournamentsThumbnailGames-RKGkrmMM.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as J, a as fe, b as de, S as pe, i as he, s as be, f as R, e as _e, x as H, n as $, g as F, y as ue, k as o, l as W, m, q as y, p as z, v as we, u as ve, L as ye, w as Te, j as P, I as Ge, h as j, o as Z, r as q, t as D, B as ee, z as Ce, C as te, J as Pe, F as ke, G as Ee, H as Le, d as Ne, E as Be } from "./CasinoTournamentsDetails-CCZyFUZY.js";
|
|
2
2
|
import "../stencil/ui-image-O0NdjWCu.js";
|
|
3
3
|
function Me({ withLocale: a, translations: e }) {
|
|
4
|
-
|
|
5
|
-
t == null && (fe.set(e),
|
|
4
|
+
J.subscribe((t) => {
|
|
5
|
+
t == null && (fe.set(e), J.set(a));
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
8
|
function ae(a, e) {
|
|
9
9
|
de(a, e);
|
|
10
10
|
}
|
|
11
11
|
function Se(a) {
|
|
12
|
-
|
|
12
|
+
J.set(a);
|
|
13
13
|
}
|
|
14
14
|
const ne = {
|
|
15
15
|
en: {
|
|
@@ -23,7 +23,7 @@ const ne = {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
function Ae(a) {
|
|
26
|
-
_e(a, "svelte-
|
|
26
|
+
_e(a, "svelte-h1f7fe", "*,*::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 .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{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)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControlsArea.SinglePage{display:none}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;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;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
|
|
27
27
|
}
|
|
28
28
|
function se(a, e, t) {
|
|
29
29
|
const n = a.slice();
|
|
@@ -37,17 +37,17 @@ function ie(a) {
|
|
|
37
37
|
let e, t;
|
|
38
38
|
return {
|
|
39
39
|
c() {
|
|
40
|
-
e = y("div"), t = y("casino-tournaments-tab"),
|
|
40
|
+
e = y("div"), t = y("casino-tournaments-tab"), P(t, "part", "TournamentGames"), P(t, "tabs", "casino,sports"), P(t, "tab", "casino"), P(t, "tid", K), P(
|
|
41
41
|
t,
|
|
42
42
|
"clientstyling",
|
|
43
43
|
/*clientstyling*/
|
|
44
44
|
a[0]
|
|
45
|
-
),
|
|
45
|
+
), P(
|
|
46
46
|
t,
|
|
47
47
|
"clientstylingurl",
|
|
48
48
|
/*clientstylingurl*/
|
|
49
49
|
a[1]
|
|
50
|
-
),
|
|
50
|
+
), P(
|
|
51
51
|
t,
|
|
52
52
|
"mbsource",
|
|
53
53
|
/*mbsource*/
|
|
@@ -55,23 +55,23 @@ function ie(a) {
|
|
|
55
55
|
), o(e, "class", "GamesTabNav");
|
|
56
56
|
},
|
|
57
57
|
m(n, s) {
|
|
58
|
-
|
|
58
|
+
W(n, e, s), m(e, t);
|
|
59
59
|
},
|
|
60
60
|
p(n, s) {
|
|
61
61
|
s[0] & /*clientstyling*/
|
|
62
|
-
1 &&
|
|
62
|
+
1 && P(
|
|
63
63
|
t,
|
|
64
64
|
"clientstyling",
|
|
65
65
|
/*clientstyling*/
|
|
66
66
|
n[0]
|
|
67
67
|
), s[0] & /*clientstylingurl*/
|
|
68
|
-
2 &&
|
|
68
|
+
2 && P(
|
|
69
69
|
t,
|
|
70
70
|
"clientstylingurl",
|
|
71
71
|
/*clientstylingurl*/
|
|
72
72
|
n[1]
|
|
73
73
|
), s[0] & /*mbsource*/
|
|
74
|
-
4 &&
|
|
74
|
+
4 && P(
|
|
75
75
|
t,
|
|
76
76
|
"mbsource",
|
|
77
77
|
/*mbsource*/
|
|
@@ -79,7 +79,7 @@ function ie(a) {
|
|
|
79
79
|
);
|
|
80
80
|
},
|
|
81
81
|
d(n) {
|
|
82
|
-
n &&
|
|
82
|
+
n && F(e);
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
}
|
|
@@ -90,18 +90,18 @@ function ze(a) {
|
|
|
90
90
|
), n;
|
|
91
91
|
return {
|
|
92
92
|
c() {
|
|
93
|
-
e = y("div"), n =
|
|
93
|
+
e = y("div"), n = D(t), o(e, "class", "NoGames");
|
|
94
94
|
},
|
|
95
95
|
m(s, r) {
|
|
96
|
-
|
|
96
|
+
W(s, e, r), m(e, n);
|
|
97
97
|
},
|
|
98
98
|
p(s, r) {
|
|
99
99
|
r[0] & /*$_*/
|
|
100
100
|
8192 && t !== (t = /*$_*/
|
|
101
|
-
s[13]("noGamesAvailable") + "") &&
|
|
101
|
+
s[13]("noGamesAvailable") + "") && j(n, t);
|
|
102
102
|
},
|
|
103
103
|
d(s) {
|
|
104
|
-
s &&
|
|
104
|
+
s && F(e);
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
}
|
|
@@ -112,18 +112,18 @@ function Fe(a) {
|
|
|
112
112
|
), n;
|
|
113
113
|
return {
|
|
114
114
|
c() {
|
|
115
|
-
e = y("div"), n =
|
|
115
|
+
e = y("div"), n = D(t), o(e, "class", "NoGames");
|
|
116
116
|
},
|
|
117
117
|
m(s, r) {
|
|
118
|
-
|
|
118
|
+
W(s, e, r), m(e, n);
|
|
119
119
|
},
|
|
120
120
|
p(s, r) {
|
|
121
121
|
r[0] & /*$_*/
|
|
122
122
|
8192 && t !== (t = /*$_*/
|
|
123
|
-
s[13]("noMoreGames") + "") &&
|
|
123
|
+
s[13]("noMoreGames") + "") && j(n, t);
|
|
124
124
|
},
|
|
125
125
|
d(s) {
|
|
126
|
-
s &&
|
|
126
|
+
s && F(e);
|
|
127
127
|
}
|
|
128
128
|
};
|
|
129
129
|
}
|
|
@@ -134,23 +134,23 @@ function We(a) {
|
|
|
134
134
|
), n;
|
|
135
135
|
return {
|
|
136
136
|
c() {
|
|
137
|
-
e = y("div"), n =
|
|
137
|
+
e = y("div"), n = D(t), o(e, "class", "LoadingGames");
|
|
138
138
|
},
|
|
139
139
|
m(s, r) {
|
|
140
|
-
|
|
140
|
+
W(s, e, r), m(e, n);
|
|
141
141
|
},
|
|
142
142
|
p(s, r) {
|
|
143
143
|
r[0] & /*$_*/
|
|
144
144
|
8192 && t !== (t = /*$_*/
|
|
145
|
-
s[13]("loading") + "") &&
|
|
145
|
+
s[13]("loading") + "") && j(n, t);
|
|
146
146
|
},
|
|
147
147
|
d(s) {
|
|
148
|
-
s &&
|
|
148
|
+
s && F(e);
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
function je(a) {
|
|
153
|
-
let e, t =
|
|
153
|
+
let e, t = H(
|
|
154
154
|
/*casinoGames*/
|
|
155
155
|
a[8]
|
|
156
156
|
), n = [];
|
|
@@ -165,12 +165,12 @@ function je(a) {
|
|
|
165
165
|
m(s, r) {
|
|
166
166
|
for (let i = 0; i < n.length; i += 1)
|
|
167
167
|
n[i] && n[i].m(s, r);
|
|
168
|
-
|
|
168
|
+
W(s, e, r);
|
|
169
169
|
},
|
|
170
170
|
p(s, r) {
|
|
171
171
|
if (r[0] & /*gameClicked, casinoGames, $_*/
|
|
172
172
|
41216) {
|
|
173
|
-
t =
|
|
173
|
+
t = H(
|
|
174
174
|
/*casinoGames*/
|
|
175
175
|
s[8]
|
|
176
176
|
);
|
|
@@ -185,7 +185,7 @@ function je(a) {
|
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
d(s) {
|
|
188
|
-
s &&
|
|
188
|
+
s && F(e), ue(n, s);
|
|
189
189
|
}
|
|
190
190
|
};
|
|
191
191
|
}
|
|
@@ -193,18 +193,18 @@ function oe(a) {
|
|
|
193
193
|
let e, t, n = (
|
|
194
194
|
/*$_*/
|
|
195
195
|
a[13]("playNow") + ""
|
|
196
|
-
), s, r, i, g,
|
|
196
|
+
), s, r, i, g, p, C, E, h, c;
|
|
197
197
|
return {
|
|
198
198
|
c() {
|
|
199
|
-
e = y("div"), t = y("span"), s =
|
|
200
|
-
a[32].thumbnail) ||
|
|
201
|
-
a[32].name),
|
|
199
|
+
e = y("div"), t = y("span"), s = D(n), r = z(), i = y("ui-image"), E = z(), o(t, "class", "PlayNowButton"), te(i.src, g = /*item*/
|
|
200
|
+
a[32].thumbnail) || P(i, "src", g), P(i, "width", "132px"), P(i, "height", "100px"), P(i, "alt", p = /*item*/
|
|
201
|
+
a[32].name), P(i, "title", C = /*item*/
|
|
202
202
|
a[32].name), o(e, "class", "item"), o(e, "id", "g_" + /*idx*/
|
|
203
203
|
a[36]), o(e, "role", "button"), o(e, "tabindex", "0");
|
|
204
204
|
},
|
|
205
|
-
m(
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
m(_, d) {
|
|
206
|
+
W(_, e, d), m(e, t), m(t, s), m(e, r), m(e, i), m(e, E), h || (c = Z(e, "click", function() {
|
|
207
|
+
Pe(
|
|
208
208
|
/*gameClicked*/
|
|
209
209
|
a[15](
|
|
210
210
|
/*item*/
|
|
@@ -214,79 +214,84 @@ function oe(a) {
|
|
|
214
214
|
/*item*/
|
|
215
215
|
a[32]
|
|
216
216
|
).apply(this, arguments);
|
|
217
|
-
}),
|
|
217
|
+
}), h = !0);
|
|
218
218
|
},
|
|
219
|
-
p(
|
|
220
|
-
a =
|
|
219
|
+
p(_, d) {
|
|
220
|
+
a = _, d[0] & /*$_*/
|
|
221
221
|
8192 && n !== (n = /*$_*/
|
|
222
|
-
a[13]("playNow") + "") &&
|
|
222
|
+
a[13]("playNow") + "") && j(s, n), d[0] & /*casinoGames*/
|
|
223
223
|
256 && !te(i.src, g = /*item*/
|
|
224
|
-
a[32].thumbnail) &&
|
|
225
|
-
256 &&
|
|
226
|
-
a[32].name) &&
|
|
227
|
-
256 &&
|
|
228
|
-
a[32].name) &&
|
|
224
|
+
a[32].thumbnail) && P(i, "src", g), d[0] & /*casinoGames*/
|
|
225
|
+
256 && p !== (p = /*item*/
|
|
226
|
+
a[32].name) && P(i, "alt", p), d[0] & /*casinoGames*/
|
|
227
|
+
256 && C !== (C = /*item*/
|
|
228
|
+
a[32].name) && P(i, "title", C);
|
|
229
229
|
},
|
|
230
|
-
d(
|
|
231
|
-
|
|
230
|
+
d(_) {
|
|
231
|
+
_ && F(e), h = !1, c();
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
function De(a) {
|
|
236
|
-
let e, t, n, s, r, i, g,
|
|
236
|
+
let e, t, n, s, r, i, g, p = (
|
|
237
237
|
/*$_*/
|
|
238
238
|
a[13]("previous") + ""
|
|
239
|
-
),
|
|
239
|
+
), C, E, h, c, _, d, b = (
|
|
240
240
|
/*$_*/
|
|
241
241
|
a[13]("next") + ""
|
|
242
|
-
),
|
|
242
|
+
), w, L, f, B, S, u, k, v, M, T;
|
|
243
243
|
return {
|
|
244
244
|
c() {
|
|
245
|
-
e = y("div"), t = y("button"), n =
|
|
246
|
-
a[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(s, "class", "a"), o(s, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(s, "transform", "translate(19.246 -6.188) rotate(90)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "8"), o(n, "height", "13.992"), o(n, "viewBox", "0 0 8 13.992"), o(g, "class", "TournamentsPaginationControlsText"), o(t, "class",
|
|
247
|
-
a[10] ? "" : "Disabled")), t.disabled =
|
|
248
|
-
!a[10], o(
|
|
249
|
-
a[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(
|
|
250
|
-
a[11] ? "" : "Disabled")),
|
|
251
|
-
!a[11], o(e, "class", "TournamentsPaginationControlsArea"
|
|
245
|
+
e = y("div"), t = y("button"), n = q("svg"), s = q("path"), i = z(), g = y("span"), C = D(p), c = z(), _ = y("button"), d = y("span"), w = D(b), L = z(), f = q("svg"), B = q("path"), o(s, "fill", r = /*hasPreviousPage*/
|
|
246
|
+
a[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(s, "class", "a"), o(s, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(s, "transform", "translate(19.246 -6.188) rotate(90)"), o(n, "xmlns", "http://www.w3.org/2000/svg"), o(n, "width", "8"), o(n, "height", "13.992"), o(n, "viewBox", "0 0 8 13.992"), o(g, "class", "TournamentsPaginationControlsText"), o(t, "class", E = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
|
|
247
|
+
a[10] ? "" : "Disabled")), t.disabled = h = /*hasPreviousPage*/
|
|
248
|
+
!a[10], o(d, "class", "TournamentsPaginationControlsText"), o(B, "fill", S = /*hasNextPage*/
|
|
249
|
+
a[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), o(B, "class", "a"), o(B, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), o(B, "transform", "translate(-11.246 20.179) rotate(-90)"), o(f, "xmlns", "http://www.w3.org/2000/svg"), o(f, "width", "8"), o(f, "height", "13.992"), o(f, "viewBox", "0 0 8 13.992"), o(_, "class", u = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
|
|
250
|
+
a[11] ? "" : "Disabled")), _.disabled = k = /*hasNextPage*/
|
|
251
|
+
!a[11], o(e, "class", v = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
|
|
252
|
+
a[10] && !/*hasNextPage*/
|
|
253
|
+
a[11] ? "SinglePage" : ""));
|
|
252
254
|
},
|
|
253
|
-
m(
|
|
254
|
-
|
|
255
|
-
|
|
255
|
+
m(G, N) {
|
|
256
|
+
W(G, e, N), m(e, t), m(t, n), m(n, s), m(t, i), m(t, g), m(g, C), m(e, c), m(e, _), m(_, d), m(d, w), m(_, L), m(_, f), m(f, B), M || (T = [
|
|
257
|
+
Z(
|
|
256
258
|
t,
|
|
257
259
|
"click",
|
|
258
260
|
/*gotoPage*/
|
|
259
261
|
a[16].bind(this, -1)
|
|
260
262
|
),
|
|
261
|
-
|
|
262
|
-
|
|
263
|
+
Z(
|
|
264
|
+
_,
|
|
263
265
|
"click",
|
|
264
266
|
/*gotoPage*/
|
|
265
267
|
a[16].bind(this, 1)
|
|
266
268
|
)
|
|
267
|
-
],
|
|
269
|
+
], M = !0);
|
|
268
270
|
},
|
|
269
|
-
p(
|
|
270
|
-
|
|
271
|
+
p(G, N) {
|
|
272
|
+
N[0] & /*hasPreviousPage*/
|
|
271
273
|
1024 && r !== (r = /*hasPreviousPage*/
|
|
272
|
-
|
|
273
|
-
8192 &&
|
|
274
|
-
|
|
275
|
-
1024 &&
|
|
276
|
-
|
|
277
|
-
1024 &&
|
|
278
|
-
!
|
|
279
|
-
8192 &&
|
|
280
|
-
|
|
281
|
-
2048 &&
|
|
282
|
-
|
|
274
|
+
G[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(s, "fill", r), N[0] & /*$_*/
|
|
275
|
+
8192 && p !== (p = /*$_*/
|
|
276
|
+
G[13]("previous") + "") && j(C, p), N[0] & /*hasPreviousPage*/
|
|
277
|
+
1024 && E !== (E = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
|
|
278
|
+
G[10] ? "" : "Disabled")) && o(t, "class", E), N[0] & /*hasPreviousPage*/
|
|
279
|
+
1024 && h !== (h = /*hasPreviousPage*/
|
|
280
|
+
!G[10]) && (t.disabled = h), N[0] & /*$_*/
|
|
281
|
+
8192 && b !== (b = /*$_*/
|
|
282
|
+
G[13]("next") + "") && j(w, b), N[0] & /*hasNextPage*/
|
|
283
|
+
2048 && S !== (S = /*hasNextPage*/
|
|
284
|
+
G[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && o(B, "fill", S), N[0] & /*hasNextPage*/
|
|
283
285
|
2048 && u !== (u = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
|
|
284
|
-
|
|
286
|
+
G[11] ? "" : "Disabled")) && o(_, "class", u), N[0] & /*hasNextPage*/
|
|
285
287
|
2048 && k !== (k = /*hasNextPage*/
|
|
286
|
-
!
|
|
288
|
+
!G[11]) && (_.disabled = k), N[0] & /*hasPreviousPage, hasNextPage*/
|
|
289
|
+
3072 && v !== (v = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
|
|
290
|
+
G[10] && !/*hasNextPage*/
|
|
291
|
+
G[11] ? "SinglePage" : "")) && o(e, "class", v);
|
|
287
292
|
},
|
|
288
|
-
d(
|
|
289
|
-
|
|
293
|
+
d(G) {
|
|
294
|
+
G && F(e), M = !1, Ge(T);
|
|
290
295
|
}
|
|
291
296
|
};
|
|
292
297
|
}
|
|
@@ -300,36 +305,36 @@ function re(a) {
|
|
|
300
305
|
), i;
|
|
301
306
|
return {
|
|
302
307
|
c() {
|
|
303
|
-
e = y("li"), n =
|
|
308
|
+
e = y("li"), n = D(t), s = z(), i = D(r), o(e, "part", "li"), o(e, "class", "Market");
|
|
304
309
|
},
|
|
305
|
-
m(g,
|
|
306
|
-
|
|
310
|
+
m(g, p) {
|
|
311
|
+
W(g, e, p), m(e, n), m(e, s), m(e, i);
|
|
307
312
|
},
|
|
308
|
-
p(g,
|
|
309
|
-
|
|
313
|
+
p(g, p) {
|
|
314
|
+
p[0] & /*sportsRules*/
|
|
310
315
|
128 && t !== (t = /*item*/
|
|
311
|
-
g[32].rule + "") &&
|
|
316
|
+
g[32].rule + "") && j(n, t), p[0] & /*$_*/
|
|
312
317
|
8192 && r !== (r = /*$_*/
|
|
313
|
-
g[13]("contribution") + "") &&
|
|
318
|
+
g[13]("contribution") + "") && j(i, r);
|
|
314
319
|
},
|
|
315
320
|
d(g) {
|
|
316
|
-
g &&
|
|
321
|
+
g && F(e);
|
|
317
322
|
}
|
|
318
323
|
};
|
|
319
324
|
}
|
|
320
325
|
function Ie(a) {
|
|
321
|
-
var
|
|
322
|
-
let e, t, n, s, r, i, g,
|
|
326
|
+
var B, S;
|
|
327
|
+
let e, t, n, s, r, i, g, p, C, E, h, c = (
|
|
323
328
|
/*tournamentdetails*/
|
|
324
329
|
a[3] && /*tournamentdetails*/
|
|
325
|
-
((
|
|
326
|
-
((
|
|
330
|
+
((B = a[3].wallet) == null ? void 0 : B.sports) && /*tournamentdetails*/
|
|
331
|
+
((S = a[3].wallet) == null ? void 0 : S.casino) && ie(a)
|
|
327
332
|
);
|
|
328
|
-
function
|
|
329
|
-
var
|
|
333
|
+
function _(u, k) {
|
|
334
|
+
var v;
|
|
330
335
|
return (
|
|
331
336
|
/*casinoGames*/
|
|
332
|
-
(
|
|
337
|
+
(v = u[8]) != null && v.length ? je : (
|
|
333
338
|
/*isLoadingGames*/
|
|
334
339
|
u[12] ? We : (
|
|
335
340
|
/*noMoreGamesWhenPagination*/
|
|
@@ -338,20 +343,20 @@ function Ie(a) {
|
|
|
338
343
|
)
|
|
339
344
|
);
|
|
340
345
|
}
|
|
341
|
-
let
|
|
342
|
-
a[14] && De(a),
|
|
346
|
+
let d = _(a), b = d(a), w = !/*isMobileDevice*/
|
|
347
|
+
a[14] && De(a), L = H(
|
|
343
348
|
/*sportsRules*/
|
|
344
349
|
a[7]
|
|
345
|
-
),
|
|
346
|
-
for (let u = 0; u <
|
|
347
|
-
|
|
350
|
+
), f = [];
|
|
351
|
+
for (let u = 0; u < L.length; u += 1)
|
|
352
|
+
f[u] = re(se(a, L, u));
|
|
348
353
|
return {
|
|
349
354
|
c() {
|
|
350
|
-
e = y("div"),
|
|
351
|
-
for (let u = 0; u <
|
|
352
|
-
|
|
355
|
+
e = y("div"), c && c.c(), t = z(), n = y("div"), s = y("div"), r = y("div"), b.c(), i = z(), w && w.c(), p = z(), C = y("div"), E = y("ul");
|
|
356
|
+
for (let u = 0; u < f.length; u += 1)
|
|
357
|
+
f[u].c();
|
|
353
358
|
o(r, "class", "GameList items"), o(s, "class", g = "TabContent GamesContent " + /*activeTab*/
|
|
354
|
-
(a[6] != "casino" ? "hidden" : "")), o(
|
|
359
|
+
(a[6] != "casino" ? "hidden" : "")), o(E, "class", "SportsPage"), o(C, "class", h = "TabContent GamesContent " + /*activeTab*/
|
|
355
360
|
(a[6] != "sports" ? "hidden" : "")), o(n, "class", "GamesWrapper"), o(
|
|
356
361
|
e,
|
|
357
362
|
"class",
|
|
@@ -360,55 +365,55 @@ function Ie(a) {
|
|
|
360
365
|
);
|
|
361
366
|
},
|
|
362
367
|
m(u, k) {
|
|
363
|
-
|
|
364
|
-
for (let
|
|
365
|
-
|
|
368
|
+
W(u, e, k), c && c.m(e, null), m(e, t), m(e, n), m(n, s), m(s, r), b.m(r, null), a[19](r), m(s, i), w && w.m(s, null), m(n, p), m(n, C), m(C, E);
|
|
369
|
+
for (let v = 0; v < f.length; v += 1)
|
|
370
|
+
f[v] && f[v].m(E, null);
|
|
366
371
|
a[20](e);
|
|
367
372
|
},
|
|
368
373
|
p(u, k) {
|
|
369
|
-
var
|
|
374
|
+
var v, M;
|
|
370
375
|
if (/*tournamentdetails*/
|
|
371
376
|
u[3] && /*tournamentdetails*/
|
|
372
|
-
((
|
|
373
|
-
((
|
|
374
|
-
u[14] ||
|
|
377
|
+
((v = u[3].wallet) != null && v.sports) && /*tournamentdetails*/
|
|
378
|
+
((M = u[3].wallet) != null && M.casino) ? c ? c.p(u, k) : (c = ie(u), c.c(), c.m(e, t)) : c && (c.d(1), c = null), d === (d = _(u)) && b ? b.p(u, k) : (b.d(1), b = d(u), b && (b.c(), b.m(r, null))), /*isMobileDevice*/
|
|
379
|
+
u[14] || w.p(u, k), k[0] & /*activeTab*/
|
|
375
380
|
64 && g !== (g = "TabContent GamesContent " + /*activeTab*/
|
|
376
381
|
(u[6] != "casino" ? "hidden" : "")) && o(s, "class", g), k[0] & /*$_, sportsRules*/
|
|
377
382
|
8320) {
|
|
378
|
-
|
|
383
|
+
L = H(
|
|
379
384
|
/*sportsRules*/
|
|
380
385
|
u[7]
|
|
381
386
|
);
|
|
382
|
-
let
|
|
383
|
-
for (
|
|
384
|
-
const
|
|
385
|
-
|
|
387
|
+
let T;
|
|
388
|
+
for (T = 0; T < L.length; T += 1) {
|
|
389
|
+
const G = se(u, L, T);
|
|
390
|
+
f[T] ? f[T].p(G, k) : (f[T] = re(G), f[T].c(), f[T].m(E, null));
|
|
386
391
|
}
|
|
387
|
-
for (;
|
|
388
|
-
|
|
389
|
-
|
|
392
|
+
for (; T < f.length; T += 1)
|
|
393
|
+
f[T].d(1);
|
|
394
|
+
f.length = L.length;
|
|
390
395
|
}
|
|
391
396
|
k[0] & /*activeTab*/
|
|
392
|
-
64 &&
|
|
393
|
-
(u[6] != "sports" ? "hidden" : "")) && o(
|
|
397
|
+
64 && h !== (h = "TabContent GamesContent " + /*activeTab*/
|
|
398
|
+
(u[6] != "sports" ? "hidden" : "")) && o(C, "class", h);
|
|
394
399
|
},
|
|
395
400
|
i: $,
|
|
396
401
|
o: $,
|
|
397
402
|
d(u) {
|
|
398
|
-
u &&
|
|
403
|
+
u && F(e), c && c.d(), b.d(), a[19](null), w && w.d(), ue(f, u), a[20](null);
|
|
399
404
|
}
|
|
400
405
|
};
|
|
401
406
|
}
|
|
402
|
-
let
|
|
407
|
+
let K = "gameTab";
|
|
403
408
|
function Oe(a, e, t) {
|
|
404
409
|
let n;
|
|
405
410
|
we(a, Be, (l) => t(13, n = l));
|
|
406
|
-
let { clientstyling: s = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: i } = e, { translationurl: g } = e, { lang:
|
|
411
|
+
let { clientstyling: s = "" } = e, { clientstylingurl: r = "" } = e, { mbsource: i } = e, { translationurl: g } = e, { lang: p = "en" } = e, C = "casino", E = [], h = [], c, _ = window.navigator.userAgent, d, b, w, L = ve(_), f = !1;
|
|
407
412
|
Me({ withLocale: "en", translations: {} });
|
|
408
|
-
const
|
|
413
|
+
const B = () => {
|
|
409
414
|
fetch(g).then((l) => l.json()).then((l) => {
|
|
410
|
-
Object.keys(l).forEach((
|
|
411
|
-
ae(
|
|
415
|
+
Object.keys(l).forEach((A) => {
|
|
416
|
+
ae(A, l[A]);
|
|
412
417
|
});
|
|
413
418
|
}).catch((l) => {
|
|
414
419
|
console.log(l);
|
|
@@ -417,8 +422,8 @@ function Oe(a, e, t) {
|
|
|
417
422
|
Object.keys(ne).forEach((l) => {
|
|
418
423
|
ae(l, ne[l]);
|
|
419
424
|
});
|
|
420
|
-
const
|
|
421
|
-
Se(
|
|
425
|
+
const S = () => {
|
|
426
|
+
Se(p), setTimeout(
|
|
422
427
|
() => {
|
|
423
428
|
u();
|
|
424
429
|
},
|
|
@@ -446,120 +451,120 @@ function Oe(a, e, t) {
|
|
|
446
451
|
window.location.href
|
|
447
452
|
);
|
|
448
453
|
};
|
|
449
|
-
let
|
|
450
|
-
const
|
|
451
|
-
!
|
|
454
|
+
let v = !1, M = !1, T = !1;
|
|
455
|
+
const G = (l) => {
|
|
456
|
+
!v && l === -1 || !M && l === 1 || (t(12, T = !0), t(8, h = []), window.postMessage(
|
|
452
457
|
{
|
|
453
458
|
type: "TournamentsLoadMoreGames",
|
|
454
|
-
id:
|
|
459
|
+
id: c.id,
|
|
455
460
|
isNext: l > 0
|
|
456
461
|
},
|
|
457
462
|
window.location.href
|
|
458
463
|
));
|
|
459
|
-
},
|
|
460
|
-
var
|
|
461
|
-
t(8,
|
|
462
|
-
const l = (
|
|
464
|
+
}, N = () => {
|
|
465
|
+
var A, O, V, Y, x;
|
|
466
|
+
t(8, h = ((A = c.games) == null ? void 0 : A.items) || []), t(9, f = !1), t(10, v = !1), t(11, M = ((O = c.games) == null ? void 0 : O.total) > ((V = c.games) == null ? void 0 : V.items.length)), Q();
|
|
467
|
+
const l = (x = (Y = c.metadata) == null ? void 0 : Y.sports) == null ? void 0 : x.rules;
|
|
463
468
|
if (l) {
|
|
464
|
-
t(6,
|
|
469
|
+
t(6, C = c.wallet.casino ? "casino" : "sports");
|
|
465
470
|
try {
|
|
466
|
-
const
|
|
467
|
-
t(7,
|
|
468
|
-
} catch (
|
|
469
|
-
console.error("Error parsing tournament rules",
|
|
471
|
+
const U = JSON.parse(l);
|
|
472
|
+
t(7, E = U[p] || U["*"]);
|
|
473
|
+
} catch (U) {
|
|
474
|
+
console.error("Error parsing tournament rules", U);
|
|
470
475
|
}
|
|
471
476
|
}
|
|
472
|
-
},
|
|
473
|
-
var
|
|
477
|
+
}, X = (l) => {
|
|
478
|
+
var O;
|
|
474
479
|
if (!l.data || !l.data.type)
|
|
475
480
|
return;
|
|
476
|
-
const
|
|
481
|
+
const A = l.data.tid || "";
|
|
477
482
|
switch (l.data.type) {
|
|
478
483
|
case "TournamentsTabSwitch":
|
|
479
|
-
|
|
484
|
+
A === K && t(6, C = l.data.tab);
|
|
480
485
|
break;
|
|
481
486
|
case "TournamentsTabListenerLoaded":
|
|
482
487
|
u();
|
|
483
488
|
break;
|
|
484
489
|
case "TournamentsGamesUpdate":
|
|
485
|
-
t(3,
|
|
490
|
+
t(3, c = l.data.details), N();
|
|
486
491
|
break;
|
|
487
492
|
case "TournamentsLoadedMoreGames":
|
|
488
|
-
|
|
493
|
+
L ? (O = l.data.games) != null && O.items.length && (t(8, h = [...h, ...l.data.games.items]), Q()) : (t(12, T = !1), t(8, h = [...l.data.games.items]), t(11, M = l.data.hasNextPage), t(10, v = l.data.hasPreviousPage), t(9, f = !h.length));
|
|
489
494
|
break;
|
|
490
495
|
default:
|
|
491
496
|
console.warn(`Unhandled message type: ${l.data.type}`);
|
|
492
497
|
break;
|
|
493
498
|
}
|
|
494
499
|
};
|
|
495
|
-
let
|
|
496
|
-
const
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
+
let I;
|
|
501
|
+
const me = (l) => {
|
|
502
|
+
I = l == null ? void 0 : l.lastElementChild, !(!L || w || !l || !I) && (w = new IntersectionObserver((A) => {
|
|
503
|
+
A.forEach((O) => {
|
|
504
|
+
O.isIntersecting && (w.unobserve(I), window.postMessage(
|
|
500
505
|
{
|
|
501
506
|
type: "TournamentsLoadMoreGames",
|
|
502
|
-
id:
|
|
507
|
+
id: c.id,
|
|
503
508
|
isNext: !0
|
|
504
509
|
},
|
|
505
510
|
window.location.href
|
|
506
511
|
));
|
|
507
512
|
});
|
|
508
513
|
}));
|
|
509
|
-
},
|
|
510
|
-
!
|
|
514
|
+
}, Q = () => {
|
|
515
|
+
!L || !I || !w || !h.length || (w.unobserve(I), I = b.lastElementChild, w.observe(I));
|
|
511
516
|
};
|
|
512
|
-
ye(() =>
|
|
517
|
+
ye(() => L && w && w.disconnect()), Te(() => (window.postMessage(
|
|
513
518
|
{
|
|
514
519
|
type: "TournamentsGamesListenerLoaded",
|
|
515
|
-
gamesTabTid:
|
|
520
|
+
gamesTabTid: K
|
|
516
521
|
},
|
|
517
522
|
window.location.href
|
|
518
|
-
), window.addEventListener("message",
|
|
519
|
-
window.removeEventListener("message",
|
|
523
|
+
), window.addEventListener("message", X, !1), () => {
|
|
524
|
+
window.removeEventListener("message", X);
|
|
520
525
|
}));
|
|
521
|
-
function
|
|
526
|
+
function ce(l) {
|
|
522
527
|
ee[l ? "unshift" : "push"](() => {
|
|
523
|
-
|
|
528
|
+
b = l, t(5, b);
|
|
524
529
|
});
|
|
525
530
|
}
|
|
526
531
|
function ge(l) {
|
|
527
532
|
ee[l ? "unshift" : "push"](() => {
|
|
528
|
-
|
|
533
|
+
d = l, t(4, d);
|
|
529
534
|
});
|
|
530
535
|
}
|
|
531
536
|
return a.$$set = (l) => {
|
|
532
|
-
"clientstyling" in l && t(0, s = l.clientstyling), "clientstylingurl" in l && t(1, r = l.clientstylingurl), "mbsource" in l && t(2, i = l.mbsource), "translationurl" in l && t(17, g = l.translationurl), "lang" in l && t(18,
|
|
537
|
+
"clientstyling" in l && t(0, s = l.clientstyling), "clientstylingurl" in l && t(1, r = l.clientstylingurl), "mbsource" in l && t(2, i = l.mbsource), "translationurl" in l && t(17, g = l.translationurl), "lang" in l && t(18, p = l.lang);
|
|
533
538
|
}, a.$$.update = () => {
|
|
534
539
|
a.$$.dirty[0] & /*tournamentdetails*/
|
|
535
|
-
8 &&
|
|
536
|
-
262144 &&
|
|
537
|
-
131072 && g &&
|
|
538
|
-
17 && s &&
|
|
539
|
-
18 && r &&
|
|
540
|
-
20 && i &&
|
|
541
|
-
32 &&
|
|
540
|
+
8 && c && N(), a.$$.dirty[0] & /*lang*/
|
|
541
|
+
262144 && p && S(), a.$$.dirty[0] & /*translationurl*/
|
|
542
|
+
131072 && g && B(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
543
|
+
17 && s && d && ke(d, s), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
544
|
+
18 && r && d && Ee(d, r), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
545
|
+
20 && i && d && Le(d, `${i}.Style`), a.$$.dirty[0] & /*gameListEle*/
|
|
546
|
+
32 && b && me(b);
|
|
542
547
|
}, [
|
|
543
548
|
s,
|
|
544
549
|
r,
|
|
545
550
|
i,
|
|
546
|
-
|
|
547
|
-
p,
|
|
548
|
-
_,
|
|
549
|
-
G,
|
|
550
|
-
P,
|
|
551
|
-
b,
|
|
551
|
+
c,
|
|
552
552
|
d,
|
|
553
|
-
|
|
554
|
-
|
|
553
|
+
b,
|
|
554
|
+
C,
|
|
555
|
+
E,
|
|
556
|
+
h,
|
|
555
557
|
f,
|
|
558
|
+
v,
|
|
559
|
+
M,
|
|
560
|
+
T,
|
|
556
561
|
n,
|
|
557
|
-
E,
|
|
558
|
-
k,
|
|
559
562
|
L,
|
|
563
|
+
k,
|
|
564
|
+
G,
|
|
560
565
|
g,
|
|
561
|
-
|
|
562
|
-
|
|
566
|
+
p,
|
|
567
|
+
ce,
|
|
563
568
|
ge
|
|
564
569
|
];
|
|
565
570
|
}
|
|
@@ -586,31 +591,31 @@ class Re extends pe {
|
|
|
586
591
|
return this.$$.ctx[0];
|
|
587
592
|
}
|
|
588
593
|
set clientstyling(e) {
|
|
589
|
-
this.$$set({ clientstyling: e }),
|
|
594
|
+
this.$$set({ clientstyling: e }), R();
|
|
590
595
|
}
|
|
591
596
|
get clientstylingurl() {
|
|
592
597
|
return this.$$.ctx[1];
|
|
593
598
|
}
|
|
594
599
|
set clientstylingurl(e) {
|
|
595
|
-
this.$$set({ clientstylingurl: e }),
|
|
600
|
+
this.$$set({ clientstylingurl: e }), R();
|
|
596
601
|
}
|
|
597
602
|
get mbsource() {
|
|
598
603
|
return this.$$.ctx[2];
|
|
599
604
|
}
|
|
600
605
|
set mbsource(e) {
|
|
601
|
-
this.$$set({ mbsource: e }),
|
|
606
|
+
this.$$set({ mbsource: e }), R();
|
|
602
607
|
}
|
|
603
608
|
get translationurl() {
|
|
604
609
|
return this.$$.ctx[17];
|
|
605
610
|
}
|
|
606
611
|
set translationurl(e) {
|
|
607
|
-
this.$$set({ translationurl: e }),
|
|
612
|
+
this.$$set({ translationurl: e }), R();
|
|
608
613
|
}
|
|
609
614
|
get lang() {
|
|
610
615
|
return this.$$.ctx[18];
|
|
611
616
|
}
|
|
612
617
|
set lang(e) {
|
|
613
|
-
this.$$set({ lang: e }),
|
|
618
|
+
this.$$set({ lang: e }), R();
|
|
614
619
|
}
|
|
615
620
|
}
|
|
616
621
|
Ne(Re, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
|