@everymatrix/casino-tournaments-controller 1.56.0 → 1.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsController-UUtBZIFh.js → CasinoTournamentsController--v7Db-nS.js} +628 -574
- package/components/{CasinoTournamentsController-CD_5uyUc.js → CasinoTournamentsController-B7T1o6MJ.js} +786 -732
- package/components/CasinoTournamentsController-CZ-9rz_b.cjs +27 -0
- package/components/{CasinoTournamentsFilterController-C6PNRuAN.js → CasinoTournamentsFilterController-D87dskAM.js} +20 -20
- package/components/{CasinoTournamentsFilterController-CDD660uA.cjs → CasinoTournamentsFilterController-NmQFysPE.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-C8EhVpC4.js → CasinoTournamentsFilterController-dCThVL3G.js} +22 -22
- package/components/{CasinoTournamentsListController-wgytIhYX.js → CasinoTournamentsListController-C0Tn6XLC.js} +1164 -1218
- package/components/{CasinoTournamentsListController-l8AH-AQy.js → CasinoTournamentsListController-CVKwStEk.js} +1164 -1218
- package/components/CasinoTournamentsListController-qLXWt65S.cjs +13 -0
- package/components/{CasinoTournamentsThumbnail-C1PdhLiD.js → CasinoTournamentsThumbnail-B6vVUkXU.js} +36 -36
- package/components/{CasinoTournamentsThumbnail-BVAQJY4f.cjs → CasinoTournamentsThumbnail-CutNBEY9.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-CfBfOQ6y.js → CasinoTournamentsThumbnail-Dh5yOBII.js} +41 -41
- package/components/{CasinoTournamentsThumbnailController-B5QfYW6Q.cjs → CasinoTournamentsThumbnailController-B4LzyUAt.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-neX5M-sd.js → CasinoTournamentsThumbnailController-Csobnf4h.js} +83 -78
- package/components/{CasinoTournamentsThumbnailController-DBjAq9-k.js → CasinoTournamentsThumbnailController-ImrFDGq7.js} +53 -48
- package/components/{CasinoTournamentsThumbnailDuration-CGgR5XoL.js → CasinoTournamentsThumbnailDuration-BIHBBD4m.js} +48 -44
- package/components/{CasinoTournamentsThumbnailDuration-sMRWK6Da.js → CasinoTournamentsThumbnailDuration-BOSDqPIP.js} +54 -50
- package/components/{CasinoTournamentsThumbnailDuration-DFP9BWRc.cjs → CasinoTournamentsThumbnailDuration-DLOov4TV.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-BUainTMh.js → CasinoTournamentsThumbnailGamesSlider-BKEUZ6M0.js} +38 -37
- package/components/{CasinoTournamentsThumbnailGamesSlider-CU3QiSRS.cjs → CasinoTournamentsThumbnailGamesSlider-Blv_3Sia.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Bcgbm6UZ.js → CasinoTournamentsThumbnailGamesSlider-C7uGGzGz.js} +56 -55
- package/components/{CasinoTournamentsThumbnailPrizes-Cb6ucU30.js → CasinoTournamentsThumbnailPrizes-BmPaa3r7.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-D5o6hcAd.cjs → CasinoTournamentsThumbnailPrizes-CdcFiTcf.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-pB7CeUbv.js → CasinoTournamentsThumbnailPrizes-Cgjahh7G.js} +15 -15
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsController-C1dCP4c5.cjs +0 -14
- package/components/CasinoTournamentsListController-fm8TCneo.cjs +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as be, S as ve, i as ke,
|
|
1
|
+
import { a as be, S as ve, i as ke, f as M, c as Ne, s as Se, b as Te, e as S, h as I, n as X, j as G, k as Fe, w as Me, l as x, m as z, d as c, G as C, D as Y, H as Pe, o as v, I as Be, r as L, q as Ee, C as te, t as Le, J as Z, p as He, F as je, u as D, $ as Ce } from "./CasinoTournamentsController-B7T1o6MJ.js";
|
|
2
2
|
function K(e, l) {
|
|
3
3
|
be(e, l);
|
|
4
4
|
}
|
|
@@ -35,14 +35,14 @@ const Q = {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
function ze(e) {
|
|
38
|
-
|
|
38
|
+
Te(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}");
|
|
39
39
|
}
|
|
40
40
|
function V(e, l, t) {
|
|
41
41
|
const a = e.slice();
|
|
42
42
|
return a[50] = l[t], a[52] = t, a;
|
|
43
43
|
}
|
|
44
44
|
function $(e) {
|
|
45
|
-
let l, t, a, d,
|
|
45
|
+
let l, t, a, d, h, p, y, r, w, _, f = x(
|
|
46
46
|
/*games*/
|
|
47
47
|
e[1]
|
|
48
48
|
), o = [];
|
|
@@ -50,7 +50,7 @@ function $(e) {
|
|
|
50
50
|
o[s] = ee(V(e, f, s));
|
|
51
51
|
return {
|
|
52
52
|
c() {
|
|
53
|
-
l = S("div"), t = S("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 = z(), d = S("main"),
|
|
53
|
+
l = S("div"), t = S("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 = z(), d = S("main"), h = S("div");
|
|
54
54
|
for (let s = 0; s < o.length; s += 1)
|
|
55
55
|
o[s].c();
|
|
56
56
|
y = z(), r = S("div"), r.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"), C(
|
|
@@ -58,7 +58,7 @@ function $(e) {
|
|
|
58
58
|
"disabled",
|
|
59
59
|
/*atStart*/
|
|
60
60
|
e[8]
|
|
61
|
-
), c(
|
|
61
|
+
), c(h, "class", "items"), c(h, "part", "items"), Y(h, "transform", "translateX(" + /*offset*/
|
|
62
62
|
e[2] + "px)"), Pe(() => (
|
|
63
63
|
/*main_elementresize_handler*/
|
|
64
64
|
e[28].call(d)
|
|
@@ -70,10 +70,10 @@ function $(e) {
|
|
|
70
70
|
), c(l, "class", "TournamentsGamesSlider"), c(l, "part", "TournamentsGamesSlider");
|
|
71
71
|
},
|
|
72
72
|
m(s, b) {
|
|
73
|
-
|
|
73
|
+
I(s, l, b), v(l, t), v(l, a), v(l, d), v(d, h);
|
|
74
74
|
for (let i = 0; i < o.length; i += 1)
|
|
75
|
-
o[i] && o[i].m(
|
|
76
|
-
e[27](
|
|
75
|
+
o[i] && o[i].m(h, null);
|
|
76
|
+
e[27](h), p = Be(
|
|
77
77
|
d,
|
|
78
78
|
/*main_elementresize_handler*/
|
|
79
79
|
e[28].bind(d)
|
|
@@ -108,14 +108,14 @@ function $(e) {
|
|
|
108
108
|
let i;
|
|
109
109
|
for (i = 0; i < f.length; i += 1) {
|
|
110
110
|
const k = V(s, f, i);
|
|
111
|
-
o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(
|
|
111
|
+
o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(h, null));
|
|
112
112
|
}
|
|
113
113
|
for (; i < o.length; i += 1)
|
|
114
114
|
o[i].d(1);
|
|
115
115
|
o.length = f.length;
|
|
116
116
|
}
|
|
117
117
|
b[0] & /*offset*/
|
|
118
|
-
4 && Y(
|
|
118
|
+
4 && Y(h, "transform", "translateX(" + /*offset*/
|
|
119
119
|
s[2] + "px)"), b[0] & /*atEnd*/
|
|
120
120
|
512 && C(
|
|
121
121
|
r,
|
|
@@ -125,7 +125,7 @@ function $(e) {
|
|
|
125
125
|
);
|
|
126
126
|
},
|
|
127
127
|
d(s) {
|
|
128
|
-
s &&
|
|
128
|
+
s && G(l), Ee(o, s), e[27](null), p(), e[30](null), w = !1, te(_);
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
}
|
|
@@ -133,7 +133,7 @@ function ee(e) {
|
|
|
133
133
|
let l, t, a = (
|
|
134
134
|
/*$_*/
|
|
135
135
|
e[10]("playNow") + ""
|
|
136
|
-
), d,
|
|
136
|
+
), d, h, p, y, r, w, _, f, o, s, b;
|
|
137
137
|
function i() {
|
|
138
138
|
return (
|
|
139
139
|
/*click_handler_1*/
|
|
@@ -154,7 +154,7 @@ function ee(e) {
|
|
|
154
154
|
}
|
|
155
155
|
return {
|
|
156
156
|
c() {
|
|
157
|
-
l = S("div"), t = S("span"), d =
|
|
157
|
+
l = S("div"), t = S("span"), d = Le(a), y = z(), r = S("img"), o = z(), c(t, "class", h = "PlayNowButton " + /*hover*/
|
|
158
158
|
(e[5] && /*hoverIndex*/
|
|
159
159
|
e[6] == /*i*/
|
|
160
160
|
e[52] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
|
|
@@ -165,8 +165,8 @@ function ee(e) {
|
|
|
165
165
|
e[50].name), c(r, "title", f = /*game*/
|
|
166
166
|
e[50].name), c(l, "class", "item"), c(l, "part", "item");
|
|
167
167
|
},
|
|
168
|
-
m(u,
|
|
169
|
-
|
|
168
|
+
m(u, m) {
|
|
169
|
+
I(u, l, m), v(l, t), v(t, d), v(l, y), v(l, r), v(l, o), s || (b = [
|
|
170
170
|
L(l, "click", i),
|
|
171
171
|
L(l, "mouseenter", k),
|
|
172
172
|
L(
|
|
@@ -177,27 +177,27 @@ function ee(e) {
|
|
|
177
177
|
)
|
|
178
178
|
], s = !0);
|
|
179
179
|
},
|
|
180
|
-
p(u,
|
|
181
|
-
e = u,
|
|
180
|
+
p(u, m) {
|
|
181
|
+
e = u, m[0] & /*$_*/
|
|
182
182
|
1024 && a !== (a = /*$_*/
|
|
183
|
-
e[10]("playNow") + "") &&
|
|
184
|
-
96 &&
|
|
183
|
+
e[10]("playNow") + "") && He(d, a), m[0] & /*hover, hoverIndex*/
|
|
184
|
+
96 && h !== (h = "PlayNowButton " + /*hover*/
|
|
185
185
|
(e[5] && /*hoverIndex*/
|
|
186
186
|
e[6] == /*i*/
|
|
187
|
-
e[52] ? "itemHover" : "")) && c(t, "class",
|
|
187
|
+
e[52] ? "itemHover" : "")) && c(t, "class", h), m[0] & /*hover, hoverIndex*/
|
|
188
188
|
96 && p !== (p = "PlayNowButton " + /*hover*/
|
|
189
189
|
(e[5] && /*hoverIndex*/
|
|
190
190
|
e[6] == /*i*/
|
|
191
|
-
e[52] ? "itemHover" : "")) && c(t, "part", p),
|
|
191
|
+
e[52] ? "itemHover" : "")) && c(t, "part", p), m[0] & /*games*/
|
|
192
192
|
2 && !Z(r.src, w = /*game*/
|
|
193
|
-
e[50].thumbnail) && c(r, "src", w),
|
|
193
|
+
e[50].thumbnail) && c(r, "src", w), m[0] & /*games*/
|
|
194
194
|
2 && _ !== (_ = /*game*/
|
|
195
|
-
e[50].name) && c(r, "alt", _),
|
|
195
|
+
e[50].name) && c(r, "alt", _), m[0] & /*games*/
|
|
196
196
|
2 && f !== (f = /*game*/
|
|
197
197
|
e[50].name) && c(r, "title", f);
|
|
198
198
|
},
|
|
199
199
|
d(u) {
|
|
200
|
-
u &&
|
|
200
|
+
u && G(l), s = !1, te(b);
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
203
|
}
|
|
@@ -212,7 +212,7 @@ function Ae(e) {
|
|
|
212
212
|
l = S("div"), t && t.c();
|
|
213
213
|
},
|
|
214
214
|
m(a, d) {
|
|
215
|
-
|
|
215
|
+
I(a, l, d), t && t.m(l, null), e[31](l);
|
|
216
216
|
},
|
|
217
217
|
p(a, d) {
|
|
218
218
|
/*games*/
|
|
@@ -222,15 +222,15 @@ function Ae(e) {
|
|
|
222
222
|
i: X,
|
|
223
223
|
o: X,
|
|
224
224
|
d(a) {
|
|
225
|
-
a &&
|
|
225
|
+
a && G(l), t && t.d(), e[31](null);
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
229
|
let Ue = 30;
|
|
230
|
-
function
|
|
231
|
-
let a, d,
|
|
232
|
-
|
|
233
|
-
let { tournamenturl: p = "" } = l, { scrollby: y = "3" } = l, { pagfactor: r = "175" } = l, { lang: w = "" } = l, { translationurl: _ = "" } = l, { clientstyling: f = "" } = l, { clientstylingurl: o = "" } = l, s, b = window.navigator.userAgent, i, k = [], u = 0,
|
|
230
|
+
function De(e, l, t) {
|
|
231
|
+
let a, d, h;
|
|
232
|
+
Fe(e, Ce, (n) => t(10, h = n));
|
|
233
|
+
let { tournamenturl: p = "" } = l, { scrollby: y = "3" } = l, { pagfactor: r = "175" } = l, { lang: w = "" } = l, { translationurl: _ = "" } = l, { clientstyling: f = "" } = l, { clientstylingurl: o = "" } = l, s, b = window.navigator.userAgent, i, k = [], u = 0, m, H = null, j = null, A = !1, U, P, B = 0, T;
|
|
234
234
|
const ne = () => {
|
|
235
235
|
fetch(_).then((g) => g.json()).then((g) => {
|
|
236
236
|
Object.keys(g).forEach((N) => {
|
|
@@ -251,11 +251,12 @@ function Ie(e, l, t) {
|
|
|
251
251
|
const g = le(n)[0];
|
|
252
252
|
H = g.clientX, j = g.clientY;
|
|
253
253
|
}, O = (n) => {
|
|
254
|
-
if (!H || !j)
|
|
254
|
+
if (!H || !j)
|
|
255
|
+
return;
|
|
255
256
|
let g = n.touches[0].clientX, N = n.touches[0].clientY, F = H - g, _e = j - N;
|
|
256
257
|
Math.abs(F) > Math.abs(_e) && (F > 0 ? E(1) : E(-1)), H = null, j = null;
|
|
257
258
|
}, E = (n) => {
|
|
258
|
-
n > 0 && !d ? (t(2, u -= i), t(2, u = u <
|
|
259
|
+
n > 0 && !d ? (t(2, u -= i), t(2, u = u < B ? B : u)) : n < 0 && !a && (t(2, u += i), t(2, u = u > 0 ? 0 : u));
|
|
259
260
|
}, R = (n) => {
|
|
260
261
|
window.postMessage(
|
|
261
262
|
{
|
|
@@ -268,15 +269,15 @@ function Ie(e, l, t) {
|
|
|
268
269
|
);
|
|
269
270
|
}, se = () => {
|
|
270
271
|
let n = new URL(p), g = new Headers();
|
|
271
|
-
n.searchParams.append("expand", "games"), n.searchParams.append("pagination", `games(limit=${Ue},offset=${u})`), n.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), n.searchParams.append("language", w), n.searchParams.append("platform",
|
|
272
|
+
n.searchParams.append("expand", "games"), n.searchParams.append("pagination", `games(limit=${Ue},offset=${u})`), n.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), n.searchParams.append("language", w), n.searchParams.append("platform", je(b)), fetch(n, { method: "GET", headers: g }).then((F) => F.json()).then((F) => {
|
|
272
273
|
t(1, k = F.item.games.items), F.item.games.total;
|
|
273
274
|
});
|
|
274
275
|
}, re = () => {
|
|
275
|
-
|
|
276
|
+
m.addEventListener("touchstart", J, { passive: !0 }), m.addEventListener("touchmove", O, { passive: !0 });
|
|
276
277
|
}, ae = () => {
|
|
277
278
|
setTimeout(
|
|
278
279
|
() => {
|
|
279
|
-
t(22,
|
|
280
|
+
t(22, B = (P.scrollWidth - P.clientWidth) * -1), t(16, r = new String(P.scrollWidth / k.length)), i = parseInt(y, 10) * parseFloat(r, 2).toFixed(2);
|
|
280
281
|
},
|
|
281
282
|
1e3
|
|
282
283
|
);
|
|
@@ -300,13 +301,13 @@ function Ie(e, l, t) {
|
|
|
300
301
|
}, ce = () => {
|
|
301
302
|
T > 0 && T < Math.floor((parseInt(y) + 1) * r) && t(15, y = Math.ceil(T / r).toString());
|
|
302
303
|
};
|
|
303
|
-
|
|
304
|
-
|
|
304
|
+
Me(() => (i = parseInt(y, 10) * parseInt(r, 10), () => {
|
|
305
|
+
m.removeEventListener("touchstart", J), m.removeEventListener("touchmove", O);
|
|
305
306
|
}));
|
|
306
|
-
const ue = () => E(-1), de = (n) => R(n),
|
|
307
|
+
const ue = () => E(-1), de = (n) => R(n), he = (n) => W(n), me = () => q();
|
|
307
308
|
function fe(n) {
|
|
308
|
-
|
|
309
|
-
|
|
309
|
+
D[n ? "unshift" : "push"](() => {
|
|
310
|
+
P = n, t(7, P);
|
|
310
311
|
});
|
|
311
312
|
}
|
|
312
313
|
function ge() {
|
|
@@ -314,12 +315,12 @@ function Ie(e, l, t) {
|
|
|
314
315
|
}
|
|
315
316
|
const pe = () => E(1);
|
|
316
317
|
function ye(n) {
|
|
317
|
-
|
|
318
|
-
|
|
318
|
+
D[n ? "unshift" : "push"](() => {
|
|
319
|
+
m = n, t(3, m);
|
|
319
320
|
});
|
|
320
321
|
}
|
|
321
322
|
function we(n) {
|
|
322
|
-
|
|
323
|
+
D[n ? "unshift" : "push"](() => {
|
|
323
324
|
s = n, t(0, s);
|
|
324
325
|
});
|
|
325
326
|
}
|
|
@@ -328,10 +329,10 @@ function Ie(e, l, t) {
|
|
|
328
329
|
}, e.$$.update = () => {
|
|
329
330
|
e.$$.dirty[0] & /*offset*/
|
|
330
331
|
4 && t(8, a = u === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
|
|
331
|
-
4194308 && t(9, d = u <=
|
|
332
|
+
4194308 && t(9, d = u <= B), e.$$.dirty[0] & /*sliderMainWidth*/
|
|
332
333
|
16 && T && ce(), e.$$.dirty[0] & /*tournamenturl*/
|
|
333
334
|
131072 && p && se(), e.$$.dirty[0] & /*slider*/
|
|
334
|
-
8 &&
|
|
335
|
+
8 && m && re(), e.$$.dirty[0] & /*translationurl*/
|
|
335
336
|
524288 && _ && ne(), e.$$.dirty[0] & /*games*/
|
|
336
337
|
2 && k.length && ae(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
337
338
|
1048577 && f && s && ie(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
@@ -340,14 +341,14 @@ function Ie(e, l, t) {
|
|
|
340
341
|
s,
|
|
341
342
|
k,
|
|
342
343
|
u,
|
|
343
|
-
|
|
344
|
+
m,
|
|
344
345
|
T,
|
|
345
346
|
A,
|
|
346
347
|
U,
|
|
347
|
-
|
|
348
|
+
P,
|
|
348
349
|
a,
|
|
349
350
|
d,
|
|
350
|
-
|
|
351
|
+
h,
|
|
351
352
|
W,
|
|
352
353
|
q,
|
|
353
354
|
E,
|
|
@@ -359,11 +360,11 @@ function Ie(e, l, t) {
|
|
|
359
360
|
_,
|
|
360
361
|
f,
|
|
361
362
|
o,
|
|
362
|
-
|
|
363
|
+
B,
|
|
363
364
|
ue,
|
|
364
365
|
de,
|
|
365
|
-
me,
|
|
366
366
|
he,
|
|
367
|
+
me,
|
|
367
368
|
fe,
|
|
368
369
|
ge,
|
|
369
370
|
pe,
|
|
@@ -371,14 +372,14 @@ function Ie(e, l, t) {
|
|
|
371
372
|
we
|
|
372
373
|
];
|
|
373
374
|
}
|
|
374
|
-
class
|
|
375
|
+
class Ie extends ve {
|
|
375
376
|
constructor(l) {
|
|
376
377
|
super(), ke(
|
|
377
378
|
this,
|
|
378
379
|
l,
|
|
379
|
-
|
|
380
|
+
De,
|
|
380
381
|
Ae,
|
|
381
|
-
|
|
382
|
+
Se,
|
|
382
383
|
{
|
|
383
384
|
tournamenturl: 17,
|
|
384
385
|
scrollby: 15,
|
|
@@ -435,7 +436,7 @@ class De extends ve {
|
|
|
435
436
|
this.$$set({ clientstylingurl: l }), M();
|
|
436
437
|
}
|
|
437
438
|
}
|
|
438
|
-
|
|
439
|
+
Ne(Ie, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
439
440
|
export {
|
|
440
|
-
|
|
441
|
+
Ie as default
|
|
441
442
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as A, S as Z, i as j,
|
|
1
|
+
import { a as A, S as Z, i as j, f as T, c as I, s as R, b as B, e as g, m as b, t as _, d as u, h as k, o as f, p as v, n as M, j as F, k as O, w as U, l as N, q, u as V, $ as W } from "./CasinoTournamentsController--v7Db-nS.js";
|
|
2
2
|
function H(l, e) {
|
|
3
3
|
A(l, e);
|
|
4
4
|
}
|
|
@@ -60,7 +60,7 @@ const S = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
function D(l) {
|
|
63
|
-
|
|
63
|
+
B(l, "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)}");
|
|
64
64
|
}
|
|
65
65
|
function E(l, e, t) {
|
|
66
66
|
const n = l.slice();
|
|
@@ -82,7 +82,7 @@ function L(l) {
|
|
|
82
82
|
r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
83
83
|
},
|
|
84
84
|
m(i, c) {
|
|
85
|
-
|
|
85
|
+
k(i, e, c);
|
|
86
86
|
for (let s = 0; s < n.length; s += 1)
|
|
87
87
|
n[s] && n[s].m(e, null);
|
|
88
88
|
r && r.m(e, null);
|
|
@@ -105,7 +105,7 @@ function L(l) {
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(i) {
|
|
108
|
-
i &&
|
|
108
|
+
i && F(e), q(n, i), r && r.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
@@ -119,7 +119,7 @@ function C(l) {
|
|
|
119
119
|
e = g("p"), n = _(t);
|
|
120
120
|
},
|
|
121
121
|
m(r, i) {
|
|
122
|
-
|
|
122
|
+
k(r, e, i), f(e, n);
|
|
123
123
|
},
|
|
124
124
|
p(r, i) {
|
|
125
125
|
i & /*$_*/
|
|
@@ -127,7 +127,7 @@ function C(l) {
|
|
|
127
127
|
r[2]("noprizes") + "") && v(n, t);
|
|
128
128
|
},
|
|
129
129
|
d(r) {
|
|
130
|
-
r &&
|
|
130
|
+
r && F(e);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
@@ -155,7 +155,7 @@ function x(l) {
|
|
|
155
155
|
l[15]);
|
|
156
156
|
},
|
|
157
157
|
m(h, y) {
|
|
158
|
-
|
|
158
|
+
k(h, e, y), f(e, t), f(t, n), f(n, i), f(t, c), f(t, p), f(t, o), f(t, z), f(e, w);
|
|
159
159
|
},
|
|
160
160
|
p(h, y) {
|
|
161
161
|
y & /*prizes*/
|
|
@@ -173,7 +173,7 @@ function x(l) {
|
|
|
173
173
|
h[13].name + "") && v(z, d);
|
|
174
174
|
},
|
|
175
175
|
d(h) {
|
|
176
|
-
h &&
|
|
176
|
+
h && F(e);
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
}
|
|
@@ -190,7 +190,7 @@ function G(l) {
|
|
|
190
190
|
e = g("div"), t = g("div"), n = g("span"), n.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>', r = b(), i = g("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
|
|
191
191
|
},
|
|
192
192
|
m(d, z) {
|
|
193
|
-
|
|
193
|
+
k(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, p), o && o.m(e, null), l[7](e);
|
|
194
194
|
},
|
|
195
195
|
p(d, [z]) {
|
|
196
196
|
z & /*$_*/
|
|
@@ -201,13 +201,13 @@ function G(l) {
|
|
|
201
201
|
i: M,
|
|
202
202
|
o: M,
|
|
203
203
|
d(d) {
|
|
204
|
-
d &&
|
|
204
|
+
d && F(e), o && o.d(), l[7](null);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
208
|
function J(l, e, t) {
|
|
209
209
|
let n;
|
|
210
|
-
|
|
210
|
+
O(l, W, (a) => t(2, n = a));
|
|
211
211
|
let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, p, o;
|
|
212
212
|
const d = () => {
|
|
213
213
|
fetch(s).then((m) => m.json()).then((m) => {
|
|
@@ -241,11 +241,11 @@ function J(l, e, t) {
|
|
|
241
241
|
);
|
|
242
242
|
});
|
|
243
243
|
};
|
|
244
|
-
|
|
244
|
+
U(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
|
|
245
245
|
window.removeEventListener("message", z);
|
|
246
246
|
}));
|
|
247
247
|
function y(a) {
|
|
248
|
-
|
|
248
|
+
V[a ? "unshift" : "push"](() => {
|
|
249
249
|
p = a, t(0, p);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
@@ -274,7 +274,7 @@ class K extends Z {
|
|
|
274
274
|
e,
|
|
275
275
|
J,
|
|
276
276
|
G,
|
|
277
|
-
|
|
277
|
+
R,
|
|
278
278
|
{
|
|
279
279
|
tourid: 3,
|
|
280
280
|
clientstyling: 4,
|
|
@@ -309,7 +309,7 @@ class K extends Z {
|
|
|
309
309
|
this.$$set({ translationurl: e }), T();
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
|
-
|
|
312
|
+
I(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
313
313
|
export {
|
|
314
314
|
K as default
|
|
315
315
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-CZ-9rz_b.cjs");function y(r,t){e.addMessages(r,t)}const P={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function F(r){e.append_styles(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)}")}function v(r,t,n){const i=r.slice();return i[13]=t[n],i[15]=n,i}function T(r){let t,n=e.ensure_array_like(r[1]),i=[];for(let l=0;l<n.length;l+=1)i[l]=w(v(r,n,l));let a=null;return n.length||(a=b(r)),{c(){t=e.element("div");for(let l=0;l<i.length;l+=1)i[l].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(l,c){e.insert(l,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(l,c){if(c&6){n=e.ensure_array_like(l[1]);let s;for(s=0;s<n.length;s+=1){const u=v(l,n,s);i[s]?i[s].p(u,c):(i[s]=w(u),i[s].c(),i[s].m(t,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length,!n.length&&a?a.p(l,c):n.length?a&&(a.d(1),a=null):(a=b(l),a.c(),a.m(t,null))}},d(l){l&&e.detach(t),e.destroy_each(i,l),a&&a.d()}}}function b(r){let t,n=r[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,l){e.insert(a,t,l),e.append(t,i)},p(a,l){l&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function w(r){let t,n,i,a=(r[13].count>1?`${r[13].rank}~${r[13].rank+r[13].count-1}`:r[13].rank)+"",l,c,s=r[2]("place")+"",u,p,d=r[13].name+"",f,_;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),l=e.text(a),c=e.space(),u=e.text(s),p=e.text(": "),f=e.text(d),_=e.space(),e.attr(i,"class","PrizeRank"),e.attr(i,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+r[15]),e.attr(t,"part","Prize Prize"+r[15])},m(h,z){e.insert(h,t,z),e.append(t,n),e.append(n,i),e.append(i,l),e.append(n,c),e.append(n,u),e.append(n,p),e.append(n,f),e.append(t,_)},p(h,z){z&2&&a!==(a=(h[13].count>1?`${h[13].rank}~${h[13].rank+h[13].count-1}`:h[13].rank)+"")&&e.set_data(l,a),z&4&&s!==(s=h[2]("place")+"")&&e.set_data(u,s),z&2&&d!==(d=h[13].name+"")&&e.set_data(f,d)},d(h){h&&e.detach(t)}}}function M(r){let t,n,i,a,l,c=r[2]("prizes")+"",s,u,p=r[1]&&T(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("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>',a=e.space(),l=e.element("p"),s=e.text(c),u=e.space(),p&&p.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(l,"class","PrizesTitle"),e.attr(l,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(d,f){e.insert(d,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,l),e.append(l,s),e.append(t,u),p&&p.m(t,null),r[7](t)},p(d,[f]){f&4&&c!==(c=d[2]("prizes")+"")&&e.set_data(s,c),d[1]?p?p.p(d,f):(p=T(d),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),p&&p.d(),r[7](null)}}}function N(r,t,n){let i;e.component_subscribe(r,e.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:l=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,u,p;const d=()=>{fetch(s).then(m=>m.json()).then(m=>{Object.keys(m).forEach(g=>{y(g,m[g])})}).catch(m=>{console.log(m)})};Object.keys(P).forEach(o=>{y(o,P[o])});const f=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,p=o.data.prizes)},_=()=>{let o=document.createElement("style");o.innerHTML=l,u.appendChild(o)},h=()=>{let o=new URL(c),m=document.createElement("style");fetch(o.href).then(g=>g.text()).then(g=>{m.innerHTML=g,setTimeout(()=>{u.appendChild(m)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",f,!1),()=>{window.removeEventListener("message",f)}));function z(o){e.binding_callbacks[o?"unshift":"push"](()=>{u=o,n(0,u)})}return r.$$set=o=>{"tourid"in o&&n(3,a=o.tourid),"clientstyling"in o&&n(4,l=o.clientstyling),"clientstylingurl"in o&&n(5,c=o.clientstylingurl),"translationurl"in o&&n(6,s=o.translationurl)},r.$$.update=()=>{r.$$.dirty&17&&u&&l&&_(),r.$$.dirty&33&&u&&c&&h(),r.$$.dirty&64&&s&&d()},[u,p,i,a,l,c,s,z]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,M,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6},F)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(k,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=k;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as A, S as Z, i as
|
|
1
|
+
import { a as A, S as Z, i as j, f as T, c as I, s as R, b as B, e as g, m as b, t as _, d as u, h as k, o as f, p as v, n as M, j as F, k as O, w as U, l as N, q, u as V, $ as W } from "./CasinoTournamentsController-B7T1o6MJ.js";
|
|
2
2
|
function H(l, e) {
|
|
3
3
|
A(l, e);
|
|
4
4
|
}
|
|
@@ -60,7 +60,7 @@ const S = {
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
function D(l) {
|
|
63
|
-
|
|
63
|
+
B(l, "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)}");
|
|
64
64
|
}
|
|
65
65
|
function E(l, e, t) {
|
|
66
66
|
const n = l.slice();
|
|
@@ -82,7 +82,7 @@ function L(l) {
|
|
|
82
82
|
r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
83
83
|
},
|
|
84
84
|
m(i, c) {
|
|
85
|
-
|
|
85
|
+
k(i, e, c);
|
|
86
86
|
for (let s = 0; s < n.length; s += 1)
|
|
87
87
|
n[s] && n[s].m(e, null);
|
|
88
88
|
r && r.m(e, null);
|
|
@@ -105,7 +105,7 @@ function L(l) {
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(i) {
|
|
108
|
-
i &&
|
|
108
|
+
i && F(e), q(n, i), r && r.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
@@ -119,7 +119,7 @@ function C(l) {
|
|
|
119
119
|
e = g("p"), n = _(t);
|
|
120
120
|
},
|
|
121
121
|
m(r, i) {
|
|
122
|
-
|
|
122
|
+
k(r, e, i), f(e, n);
|
|
123
123
|
},
|
|
124
124
|
p(r, i) {
|
|
125
125
|
i & /*$_*/
|
|
@@ -127,7 +127,7 @@ function C(l) {
|
|
|
127
127
|
r[2]("noprizes") + "") && v(n, t);
|
|
128
128
|
},
|
|
129
129
|
d(r) {
|
|
130
|
-
r &&
|
|
130
|
+
r && F(e);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
@@ -155,7 +155,7 @@ function x(l) {
|
|
|
155
155
|
l[15]);
|
|
156
156
|
},
|
|
157
157
|
m(h, y) {
|
|
158
|
-
|
|
158
|
+
k(h, e, y), f(e, t), f(t, n), f(n, i), f(t, c), f(t, p), f(t, o), f(t, z), f(e, w);
|
|
159
159
|
},
|
|
160
160
|
p(h, y) {
|
|
161
161
|
y & /*prizes*/
|
|
@@ -173,7 +173,7 @@ function x(l) {
|
|
|
173
173
|
h[13].name + "") && v(z, d);
|
|
174
174
|
},
|
|
175
175
|
d(h) {
|
|
176
|
-
h &&
|
|
176
|
+
h && F(e);
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
}
|
|
@@ -190,7 +190,7 @@ function G(l) {
|
|
|
190
190
|
e = g("div"), t = g("div"), n = g("span"), n.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>', r = b(), i = g("p"), s = _(c), p = b(), o && o.c(), u(n, "class", "TournamentPrizesIconWrapper"), u(n, "part", "TournamentPrizesIconWrapper"), u(i, "class", "PrizesTitle"), u(i, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
|
|
191
191
|
},
|
|
192
192
|
m(d, z) {
|
|
193
|
-
|
|
193
|
+
k(d, e, z), f(e, t), f(t, n), f(t, r), f(t, i), f(i, s), f(e, p), o && o.m(e, null), l[7](e);
|
|
194
194
|
},
|
|
195
195
|
p(d, [z]) {
|
|
196
196
|
z & /*$_*/
|
|
@@ -201,13 +201,13 @@ function G(l) {
|
|
|
201
201
|
i: M,
|
|
202
202
|
o: M,
|
|
203
203
|
d(d) {
|
|
204
|
-
d &&
|
|
204
|
+
d && F(e), o && o.d(), l[7](null);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
208
|
function J(l, e, t) {
|
|
209
209
|
let n;
|
|
210
|
-
|
|
210
|
+
O(l, W, (a) => t(2, n = a));
|
|
211
211
|
let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, p, o;
|
|
212
212
|
const d = () => {
|
|
213
213
|
fetch(s).then((m) => m.json()).then((m) => {
|
|
@@ -241,11 +241,11 @@ function J(l, e, t) {
|
|
|
241
241
|
);
|
|
242
242
|
});
|
|
243
243
|
};
|
|
244
|
-
|
|
244
|
+
U(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
|
|
245
245
|
window.removeEventListener("message", z);
|
|
246
246
|
}));
|
|
247
247
|
function y(a) {
|
|
248
|
-
|
|
248
|
+
V[a ? "unshift" : "push"](() => {
|
|
249
249
|
p = a, t(0, p);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
@@ -269,7 +269,7 @@ function J(l, e, t) {
|
|
|
269
269
|
}
|
|
270
270
|
class K extends Z {
|
|
271
271
|
constructor(e) {
|
|
272
|
-
super(),
|
|
272
|
+
super(), j(
|
|
273
273
|
this,
|
|
274
274
|
e,
|
|
275
275
|
J,
|
|
@@ -309,7 +309,7 @@ class K extends Z {
|
|
|
309
309
|
this.$$set({ translationurl: e }), T();
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
|
-
|
|
312
|
+
I(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
313
313
|
export {
|
|
314
314
|
K as default
|
|
315
315
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsController-CZ-9rz_b.cjs")).then(e=>e.CasinoTournamentsController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-controller")&&customElements.define("casino-tournaments-controller",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsController--v7Db-nS.js").then((e) => e.K).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-controller") && customElements.define("casino-tournaments-controller", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|