@everymatrix/casino-tournaments-list-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/CasinoTournamentsListController-C-bVKhDo.cjs +28 -0
- package/components/{CasinoTournamentsListController-Be9H9tuV.js → CasinoTournamentsListController-ClNoaguG.js} +2206 -2230
- package/components/{CasinoTournamentsListController-biY7QiD5.js → CasinoTournamentsListController-DKc3JGbs.js} +2154 -2178
- package/components/{CasinoTournamentsThumbnail-SkT9VJbu.cjs → CasinoTournamentsThumbnail-CdyLHB3q.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-JVqrwB6W.js → CasinoTournamentsThumbnail-D8e-nXOD.js} +26 -26
- package/components/{CasinoTournamentsThumbnail-DB9S5Fny.js → CasinoTournamentsThumbnail-IxiD4b-e.js} +26 -26
- package/components/{CasinoTournamentsThumbnailController-qOaEDVyk.js → CasinoTournamentsThumbnailController-BcYNLikE.js} +361 -333
- package/components/{CasinoTournamentsThumbnailController-DMScLtGY.js → CasinoTournamentsThumbnailController-D49NZQP2.js} +438 -410
- package/components/CasinoTournamentsThumbnailController-DY-Ayiwy.cjs +3 -0
- package/components/{CasinoTournamentsThumbnailDuration-BrH76kr7.js → CasinoTournamentsThumbnailDuration-BLgft2Tq.js} +43 -39
- package/components/{CasinoTournamentsThumbnailDuration-MghJsKBF.cjs → CasinoTournamentsThumbnailDuration-DAU985Oj.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-kT7eIls_.js → CasinoTournamentsThumbnailDuration-uc0cz4mz.js} +43 -39
- package/components/{CasinoTournamentsThumbnailGamesSlider-L13reqxM.cjs → CasinoTournamentsThumbnailGamesSlider-BYiStSlZ.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-C1s05Puk.js → CasinoTournamentsThumbnailGamesSlider-CMh0bAxQ.js} +40 -39
- package/components/{CasinoTournamentsThumbnailGamesSlider-DXjEb31T.js → CasinoTournamentsThumbnailGamesSlider-DyN75Aab.js} +40 -39
- package/components/{CasinoTournamentsThumbnailPrizes-CqHeg4IE.js → CasinoTournamentsThumbnailPrizes-BP5XEe6I.js} +43 -43
- package/components/{CasinoTournamentsThumbnailPrizes-o3k0uvpO.js → CasinoTournamentsThumbnailPrizes-DbXoL6RT.js} +43 -43
- package/components/{CasinoTournamentsThumbnailPrizes-PGRcOqE8.cjs → CasinoTournamentsThumbnailPrizes-DqgnwAS4.cjs} +1 -1
- package/es2015/casino-tournaments-list-controller.cjs +1 -1
- package/es2015/casino-tournaments-list-controller.js +1 -1
- package/esnext/casino-tournaments-list-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsListController-BYc-oNXJ.cjs +0 -15
- package/components/CasinoTournamentsThumbnailController-Ya6dWlsm.cjs +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as be, S as ve, i as ke,
|
|
2
|
-
import { g as Ce } from "./CasinoTournamentsThumbnailController-
|
|
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 D, n as R, l as G, m as Fe, o as Me, F as X, d as z, g as c, G as C, x as Y, H as Pe, j as v, I as Be, u as L, J as Ee, v as te, t as Le, K, k as He, w as I, y as je } from "./CasinoTournamentsListController-DKc3JGbs.js";
|
|
2
|
+
import { g as Ce } from "./CasinoTournamentsThumbnailController-D49NZQP2.js";
|
|
3
3
|
function Z(e, l) {
|
|
4
4
|
be(e, l);
|
|
5
5
|
}
|
|
@@ -36,14 +36,14 @@ const Q = {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
function ze(e) {
|
|
39
|
-
|
|
39
|
+
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}");
|
|
40
40
|
}
|
|
41
41
|
function V(e, l, t) {
|
|
42
42
|
const a = e.slice();
|
|
43
43
|
return a[50] = l[t], a[52] = t, a;
|
|
44
44
|
}
|
|
45
45
|
function $(e) {
|
|
46
|
-
let l, t, a,
|
|
46
|
+
let l, t, a, m, d, p, y, r, w, _, f = X(
|
|
47
47
|
/*games*/
|
|
48
48
|
e[1]
|
|
49
49
|
), o = [];
|
|
@@ -51,7 +51,7 @@ function $(e) {
|
|
|
51
51
|
o[s] = ee(V(e, f, s));
|
|
52
52
|
return {
|
|
53
53
|
c() {
|
|
54
|
-
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(),
|
|
54
|
+
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(), m = S("main"), d = S("div");
|
|
55
55
|
for (let s = 0; s < o.length; s += 1)
|
|
56
56
|
o[s].c();
|
|
57
57
|
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(
|
|
@@ -59,10 +59,10 @@ function $(e) {
|
|
|
59
59
|
"disabled",
|
|
60
60
|
/*atStart*/
|
|
61
61
|
e[8]
|
|
62
|
-
), c(
|
|
63
|
-
e[2] + "px)"),
|
|
62
|
+
), c(d, "class", "items"), c(d, "part", "items"), Y(d, "transform", "translateX(" + /*offset*/
|
|
63
|
+
e[2] + "px)"), Pe(() => (
|
|
64
64
|
/*main_elementresize_handler*/
|
|
65
|
-
e[28].call(
|
|
65
|
+
e[28].call(m)
|
|
66
66
|
)), c(r, "class", "SliderNavButton"), c(r, "part", "SliderNavButton"), C(
|
|
67
67
|
r,
|
|
68
68
|
"disabled",
|
|
@@ -71,13 +71,13 @@ function $(e) {
|
|
|
71
71
|
), c(l, "class", "TournamentsGamesSlider"), c(l, "part", "TournamentsGamesSlider");
|
|
72
72
|
},
|
|
73
73
|
m(s, b) {
|
|
74
|
-
|
|
74
|
+
D(s, l, b), v(l, t), v(l, a), v(l, m), v(m, d);
|
|
75
75
|
for (let i = 0; i < o.length; i += 1)
|
|
76
|
-
o[i] && o[i].m(
|
|
77
|
-
e[27](
|
|
78
|
-
|
|
76
|
+
o[i] && o[i].m(d, null);
|
|
77
|
+
e[27](d), p = Be(
|
|
78
|
+
m,
|
|
79
79
|
/*main_elementresize_handler*/
|
|
80
|
-
e[28].bind(
|
|
80
|
+
e[28].bind(m)
|
|
81
81
|
), v(l, y), v(l, r), e[30](l), w || (_ = [
|
|
82
82
|
L(
|
|
83
83
|
t,
|
|
@@ -109,14 +109,14 @@ function $(e) {
|
|
|
109
109
|
let i;
|
|
110
110
|
for (i = 0; i < f.length; i += 1) {
|
|
111
111
|
const k = V(s, f, i);
|
|
112
|
-
o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(
|
|
112
|
+
o[i] ? o[i].p(k, b) : (o[i] = ee(k), o[i].c(), o[i].m(d, null));
|
|
113
113
|
}
|
|
114
114
|
for (; i < o.length; i += 1)
|
|
115
115
|
o[i].d(1);
|
|
116
116
|
o.length = f.length;
|
|
117
117
|
}
|
|
118
118
|
b[0] & /*offset*/
|
|
119
|
-
4 && Y(
|
|
119
|
+
4 && Y(d, "transform", "translateX(" + /*offset*/
|
|
120
120
|
s[2] + "px)"), b[0] & /*atEnd*/
|
|
121
121
|
512 && C(
|
|
122
122
|
r,
|
|
@@ -126,7 +126,7 @@ function $(e) {
|
|
|
126
126
|
);
|
|
127
127
|
},
|
|
128
128
|
d(s) {
|
|
129
|
-
s &&
|
|
129
|
+
s && G(l), Ee(o, s), e[27](null), p(), e[30](null), w = !1, te(_);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
}
|
|
@@ -134,7 +134,7 @@ function ee(e) {
|
|
|
134
134
|
let l, t, a = (
|
|
135
135
|
/*$_*/
|
|
136
136
|
e[10]("playNow") + ""
|
|
137
|
-
),
|
|
137
|
+
), m, d, p, y, r, w, _, f, o, s, b;
|
|
138
138
|
function i() {
|
|
139
139
|
return (
|
|
140
140
|
/*click_handler_1*/
|
|
@@ -155,7 +155,7 @@ function ee(e) {
|
|
|
155
155
|
}
|
|
156
156
|
return {
|
|
157
157
|
c() {
|
|
158
|
-
l = S("div"), t = S("span"),
|
|
158
|
+
l = S("div"), t = S("span"), m = Le(a), y = z(), r = S("img"), o = z(), c(t, "class", d = "PlayNowButton " + /*hover*/
|
|
159
159
|
(e[5] && /*hoverIndex*/
|
|
160
160
|
e[6] == /*i*/
|
|
161
161
|
e[52] ? "itemHover" : "")), c(t, "part", p = "PlayNowButton " + /*hover*/
|
|
@@ -167,7 +167,7 @@ function ee(e) {
|
|
|
167
167
|
e[50].name), c(l, "class", "item"), c(l, "part", "item");
|
|
168
168
|
},
|
|
169
169
|
m(u, h) {
|
|
170
|
-
|
|
170
|
+
D(u, l, h), v(l, t), v(t, m), v(l, y), v(l, r), v(l, o), s || (b = [
|
|
171
171
|
L(l, "click", i),
|
|
172
172
|
L(l, "mouseenter", k),
|
|
173
173
|
L(
|
|
@@ -181,11 +181,11 @@ function ee(e) {
|
|
|
181
181
|
p(u, h) {
|
|
182
182
|
e = u, h[0] & /*$_*/
|
|
183
183
|
1024 && a !== (a = /*$_*/
|
|
184
|
-
e[10]("playNow") + "") &&
|
|
185
|
-
96 &&
|
|
184
|
+
e[10]("playNow") + "") && He(m, a), h[0] & /*hover, hoverIndex*/
|
|
185
|
+
96 && d !== (d = "PlayNowButton " + /*hover*/
|
|
186
186
|
(e[5] && /*hoverIndex*/
|
|
187
187
|
e[6] == /*i*/
|
|
188
|
-
e[52] ? "itemHover" : "")) && c(t, "class",
|
|
188
|
+
e[52] ? "itemHover" : "")) && c(t, "class", d), h[0] & /*hover, hoverIndex*/
|
|
189
189
|
96 && p !== (p = "PlayNowButton " + /*hover*/
|
|
190
190
|
(e[5] && /*hoverIndex*/
|
|
191
191
|
e[6] == /*i*/
|
|
@@ -198,7 +198,7 @@ function ee(e) {
|
|
|
198
198
|
e[50].name) && c(r, "title", f);
|
|
199
199
|
},
|
|
200
200
|
d(u) {
|
|
201
|
-
u &&
|
|
201
|
+
u && G(l), s = !1, te(b);
|
|
202
202
|
}
|
|
203
203
|
};
|
|
204
204
|
}
|
|
@@ -212,25 +212,25 @@ function Ae(e) {
|
|
|
212
212
|
c() {
|
|
213
213
|
l = S("div"), t && t.c();
|
|
214
214
|
},
|
|
215
|
-
m(a,
|
|
216
|
-
|
|
215
|
+
m(a, m) {
|
|
216
|
+
D(a, l, m), t && t.m(l, null), e[31](l);
|
|
217
217
|
},
|
|
218
|
-
p(a,
|
|
218
|
+
p(a, m) {
|
|
219
219
|
/*games*/
|
|
220
220
|
a[1] && /*games*/
|
|
221
|
-
a[1].length > 0 ? t ? t.p(a,
|
|
221
|
+
a[1].length > 0 ? t ? t.p(a, m) : (t = $(a), t.c(), t.m(l, null)) : t && (t.d(1), t = null);
|
|
222
222
|
},
|
|
223
223
|
i: R,
|
|
224
224
|
o: R,
|
|
225
225
|
d(a) {
|
|
226
|
-
a &&
|
|
226
|
+
a && G(l), t && t.d(), e[31](null);
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
230
|
let Ue = 30;
|
|
231
231
|
function Ie(e, l, t) {
|
|
232
|
-
let a,
|
|
233
|
-
|
|
232
|
+
let a, m, d;
|
|
233
|
+
Fe(e, je, (n) => t(10, d = n));
|
|
234
234
|
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, h, H = null, j = null, A = !1, U, P, B = 0, T;
|
|
235
235
|
const ne = () => {
|
|
236
236
|
fetch(_).then((g) => g.json()).then((g) => {
|
|
@@ -252,11 +252,12 @@ function Ie(e, l, t) {
|
|
|
252
252
|
const g = le(n)[0];
|
|
253
253
|
H = g.clientX, j = g.clientY;
|
|
254
254
|
}, J = (n) => {
|
|
255
|
-
if (!H || !j)
|
|
255
|
+
if (!H || !j)
|
|
256
|
+
return;
|
|
256
257
|
let g = n.touches[0].clientX, N = n.touches[0].clientY, F = H - g, _e = j - N;
|
|
257
258
|
Math.abs(F) > Math.abs(_e) && (F > 0 ? E(1) : E(-1)), H = null, j = null;
|
|
258
259
|
}, E = (n) => {
|
|
259
|
-
n > 0 && !
|
|
260
|
+
n > 0 && !m ? (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));
|
|
260
261
|
}, O = (n) => {
|
|
261
262
|
window.postMessage(
|
|
262
263
|
{
|
|
@@ -301,10 +302,10 @@ function Ie(e, l, t) {
|
|
|
301
302
|
}, ce = () => {
|
|
302
303
|
T > 0 && T < Math.floor((parseInt(y) + 1) * r) && t(15, y = Math.ceil(T / r).toString());
|
|
303
304
|
};
|
|
304
|
-
|
|
305
|
+
Me(() => (i = parseInt(y, 10) * parseInt(r, 10), () => {
|
|
305
306
|
h.removeEventListener("touchstart", x), h.removeEventListener("touchmove", J);
|
|
306
307
|
}));
|
|
307
|
-
const ue = () => E(-1),
|
|
308
|
+
const ue = () => E(-1), me = (n) => O(n), de = (n) => W(n), he = () => q();
|
|
308
309
|
function fe(n) {
|
|
309
310
|
I[n ? "unshift" : "push"](() => {
|
|
310
311
|
P = n, t(7, P);
|
|
@@ -329,7 +330,7 @@ function Ie(e, l, t) {
|
|
|
329
330
|
}, e.$$.update = () => {
|
|
330
331
|
e.$$.dirty[0] & /*offset*/
|
|
331
332
|
4 && t(8, a = u === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
|
|
332
|
-
4194308 && t(9,
|
|
333
|
+
4194308 && t(9, m = u <= B), e.$$.dirty[0] & /*sliderMainWidth*/
|
|
333
334
|
16 && T && ce(), e.$$.dirty[0] & /*tournamenturl*/
|
|
334
335
|
131072 && p && se(), e.$$.dirty[0] & /*slider*/
|
|
335
336
|
8 && h && re(), e.$$.dirty[0] & /*translationurl*/
|
|
@@ -347,8 +348,8 @@ function Ie(e, l, t) {
|
|
|
347
348
|
U,
|
|
348
349
|
P,
|
|
349
350
|
a,
|
|
350
|
-
d,
|
|
351
351
|
m,
|
|
352
|
+
d,
|
|
352
353
|
W,
|
|
353
354
|
q,
|
|
354
355
|
E,
|
|
@@ -362,8 +363,8 @@ function Ie(e, l, t) {
|
|
|
362
363
|
o,
|
|
363
364
|
B,
|
|
364
365
|
ue,
|
|
365
|
-
de,
|
|
366
366
|
me,
|
|
367
|
+
de,
|
|
367
368
|
he,
|
|
368
369
|
fe,
|
|
369
370
|
ge,
|
|
@@ -379,7 +380,7 @@ class De extends ve {
|
|
|
379
380
|
l,
|
|
380
381
|
Ie,
|
|
381
382
|
Ae,
|
|
382
|
-
|
|
383
|
+
Se,
|
|
383
384
|
{
|
|
384
385
|
tournamenturl: 17,
|
|
385
386
|
scrollby: 15,
|
|
@@ -436,7 +437,7 @@ class De extends ve {
|
|
|
436
437
|
this.$$set({ clientstylingurl: l }), M();
|
|
437
438
|
}
|
|
438
439
|
}
|
|
439
|
-
|
|
440
|
+
Ne(De, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
440
441
|
export {
|
|
441
442
|
De as default
|
|
442
443
|
};
|
|
@@ -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, d as b, t as _, g as u, h as k, j as f, k as v, n as M, l as F, m as O, o as U, F as N, J as V, w as W, y as q } from "./CasinoTournamentsListController-ClNoaguG.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();
|
|
@@ -72,17 +72,17 @@ function L(l) {
|
|
|
72
72
|
l[1]
|
|
73
73
|
), n = [];
|
|
74
74
|
for (let i = 0; i < t.length; i += 1)
|
|
75
|
-
n[i] =
|
|
75
|
+
n[i] = x(E(l, t, i));
|
|
76
76
|
let r = null;
|
|
77
|
-
return t.length || (r =
|
|
77
|
+
return t.length || (r = C(l)), {
|
|
78
78
|
c() {
|
|
79
|
-
e =
|
|
79
|
+
e = g("div");
|
|
80
80
|
for (let i = 0; i < n.length; i += 1)
|
|
81
81
|
n[i].c();
|
|
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);
|
|
@@ -97,29 +97,29 @@ function L(l) {
|
|
|
97
97
|
let s;
|
|
98
98
|
for (s = 0; s < t.length; s += 1) {
|
|
99
99
|
const p = E(i, t, s);
|
|
100
|
-
n[s] ? n[s].p(p, c) : (n[s] =
|
|
100
|
+
n[s] ? n[s].p(p, c) : (n[s] = x(p), n[s].c(), n[s].m(e, null));
|
|
101
101
|
}
|
|
102
102
|
for (; s < n.length; s += 1)
|
|
103
103
|
n[s].d(1);
|
|
104
|
-
n.length = t.length, !t.length && r ? r.p(i, c) : t.length ? r && (r.d(1), r = null) : (r =
|
|
104
|
+
n.length = t.length, !t.length && r ? r.p(i, c) : t.length ? r && (r.d(1), r = null) : (r = C(i), r.c(), r.m(e, null));
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(i) {
|
|
108
|
-
i &&
|
|
108
|
+
i && F(e), V(n, i), r && r.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function C(l) {
|
|
113
113
|
let e, t = (
|
|
114
114
|
/*$_*/
|
|
115
115
|
l[2]("noprizes") + ""
|
|
116
116
|
), n;
|
|
117
117
|
return {
|
|
118
118
|
c() {
|
|
119
|
-
e =
|
|
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,11 +127,11 @@ function x(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
|
}
|
|
134
|
-
function
|
|
134
|
+
function x(l) {
|
|
135
135
|
let e, t, n, r = (
|
|
136
136
|
/*prize*/
|
|
137
137
|
(l[13].count > 1 ? `${/*prize*/
|
|
@@ -147,15 +147,15 @@ function C(l) {
|
|
|
147
147
|
), p, o, d = (
|
|
148
148
|
/*prize*/
|
|
149
149
|
l[13].name + ""
|
|
150
|
-
), z,
|
|
150
|
+
), z, w;
|
|
151
151
|
return {
|
|
152
152
|
c() {
|
|
153
|
-
e =
|
|
153
|
+
e = g("div"), t = g("p"), n = g("span"), i = _(r), c = b(), p = _(s), o = _(": "), z = _(d), w = b(), u(n, "class", "PrizeRank"), u(n, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
|
|
154
154
|
l[15]), u(e, "part", "Prize Prize" + /*index*/
|
|
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,11 +173,11 @@ function C(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
|
}
|
|
180
|
-
function
|
|
180
|
+
function J(l) {
|
|
181
181
|
let e, t, n, r, i, c = (
|
|
182
182
|
/*$_*/
|
|
183
183
|
l[2]("prizes") + ""
|
|
@@ -187,10 +187,10 @@ function G(l) {
|
|
|
187
187
|
);
|
|
188
188
|
return {
|
|
189
189
|
c() {
|
|
190
|
-
e =
|
|
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,21 +201,21 @@ 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
|
-
function
|
|
208
|
+
function G(l, e, t) {
|
|
209
209
|
let n;
|
|
210
|
-
|
|
210
|
+
O(l, q, (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
|
-
fetch(s).then((
|
|
214
|
-
Object.keys(
|
|
215
|
-
H(P,
|
|
213
|
+
fetch(s).then((m) => m.json()).then((m) => {
|
|
214
|
+
Object.keys(m).forEach((P) => {
|
|
215
|
+
H(P, m[P]);
|
|
216
216
|
});
|
|
217
|
-
}).catch((
|
|
218
|
-
console.log(
|
|
217
|
+
}).catch((m) => {
|
|
218
|
+
console.log(m);
|
|
219
219
|
});
|
|
220
220
|
};
|
|
221
221
|
Object.keys(S).forEach((a) => {
|
|
@@ -223,15 +223,15 @@ function J(l, e, t) {
|
|
|
223
223
|
});
|
|
224
224
|
const z = (a) => {
|
|
225
225
|
a.data && a.data.type == `TournamentPrizes_${r}` && t(1, o = a.data.prizes);
|
|
226
|
-
},
|
|
226
|
+
}, w = () => {
|
|
227
227
|
let a = document.createElement("style");
|
|
228
228
|
a.innerHTML = i, p.appendChild(a);
|
|
229
229
|
}, h = () => {
|
|
230
|
-
let a = new URL(c),
|
|
230
|
+
let a = new URL(c), m = document.createElement("style");
|
|
231
231
|
fetch(a.href).then((P) => P.text()).then((P) => {
|
|
232
|
-
|
|
232
|
+
m.innerHTML = P, setTimeout(
|
|
233
233
|
() => {
|
|
234
|
-
p.appendChild(
|
|
234
|
+
p.appendChild(m);
|
|
235
235
|
},
|
|
236
236
|
1
|
|
237
237
|
), setTimeout(
|
|
@@ -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
|
+
W[a ? "unshift" : "push"](() => {
|
|
249
249
|
p = a, t(0, p);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
@@ -253,7 +253,7 @@ function J(l, e, t) {
|
|
|
253
253
|
"tourid" in a && t(3, r = a.tourid), "clientstyling" in a && t(4, i = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl);
|
|
254
254
|
}, l.$$.update = () => {
|
|
255
255
|
l.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
256
|
-
17 && p && i &&
|
|
256
|
+
17 && p && i && w(), l.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
257
257
|
33 && p && c && h(), l.$$.dirty & /*translationurl*/
|
|
258
258
|
64 && s && d();
|
|
259
259
|
}, [
|
|
@@ -272,9 +272,9 @@ class K extends Z {
|
|
|
272
272
|
super(), j(
|
|
273
273
|
this,
|
|
274
274
|
e,
|
|
275
|
-
J,
|
|
276
275
|
G,
|
|
277
|
-
|
|
276
|
+
J,
|
|
277
|
+
R,
|
|
278
278
|
{
|
|
279
279
|
tourid: 3,
|
|
280
280
|
clientstyling: 4,
|
|
@@ -288,28 +288,28 @@ class K extends Z {
|
|
|
288
288
|
return this.$$.ctx[3];
|
|
289
289
|
}
|
|
290
290
|
set tourid(e) {
|
|
291
|
-
this.$$set({ tourid: e }),
|
|
291
|
+
this.$$set({ tourid: e }), T();
|
|
292
292
|
}
|
|
293
293
|
get clientstyling() {
|
|
294
294
|
return this.$$.ctx[4];
|
|
295
295
|
}
|
|
296
296
|
set clientstyling(e) {
|
|
297
|
-
this.$$set({ clientstyling: e }),
|
|
297
|
+
this.$$set({ clientstyling: e }), T();
|
|
298
298
|
}
|
|
299
299
|
get clientstylingurl() {
|
|
300
300
|
return this.$$.ctx[5];
|
|
301
301
|
}
|
|
302
302
|
set clientstylingurl(e) {
|
|
303
|
-
this.$$set({ clientstylingurl: e }),
|
|
303
|
+
this.$$set({ clientstylingurl: e }), T();
|
|
304
304
|
}
|
|
305
305
|
get translationurl() {
|
|
306
306
|
return this.$$.ctx[6];
|
|
307
307
|
}
|
|
308
308
|
set translationurl(e) {
|
|
309
|
-
this.$$set({ translationurl: e }),
|
|
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
|
};
|