@everymatrix/casino-tournaments-list-controller 1.67.3 → 1.68.0
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-CtInxe7N.js → CasinoTournamentsListController-916JL4F7.js} +1822 -1828
- package/components/CasinoTournamentsListController-CLH2CE8z.cjs +15 -0
- package/components/{CasinoTournamentsListController-B462E0qG.js → CasinoTournamentsListController-DZAcldSI.js} +1834 -1840
- package/components/{CasinoTournamentsThumbnail-ByXAPz4b.js → CasinoTournamentsThumbnail-CO-eYscS.js} +177 -185
- package/components/{CasinoTournamentsThumbnail-14EXKDty.cjs → CasinoTournamentsThumbnail-CPbOt4AY.cjs} +2 -2
- package/components/{CasinoTournamentsThumbnail-DfAXgn4t.js → CasinoTournamentsThumbnail-nwxK7LAX.js} +177 -185
- package/components/CasinoTournamentsThumbnailController-A_BKNTJR.cjs +16 -0
- package/components/{CasinoTournamentsThumbnailController-hECyfAwI.js → CasinoTournamentsThumbnailController-Bq1AssJj.js} +774 -673
- package/components/{CasinoTournamentsThumbnailController-CPyJp_n-.js → CasinoTournamentsThumbnailController-CKIWWza3.js} +800 -699
- package/components/{CasinoTournamentsThumbnailDuration-B0XmmYAV.js → CasinoTournamentsThumbnailDuration-CoD7UhLT.js} +147 -153
- package/components/{CasinoTournamentsThumbnailDuration-CgopDMJt.js → CasinoTournamentsThumbnailDuration-Cs4yX-Vh.js} +147 -153
- package/components/CasinoTournamentsThumbnailDuration-D96wnUeF.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-BsYSU3V2.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-DeZzlvbO.js +435 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-DyvJUNdJ.js +435 -0
- package/components/CasinoTournamentsThumbnailPrizes-8tONX9SA.cjs +1 -0
- package/components/CasinoTournamentsThumbnailPrizes-BJHbDTCY.js +307 -0
- package/components/CasinoTournamentsThumbnailPrizes-CuVL_zHr.js +307 -0
- 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/stencil/{index-97d17652-ChRvzjAp.js → index-97d17652-BEnqZAxL.js} +186 -186
- package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
- package/stencil/{index-97d17652-DKsTmN3Z.js → index-97d17652-WK_DbPS4.js} +175 -175
- package/stencil/index-b2193545-BOMvxBzV.js +519 -0
- package/stencil/index-b2193545-CFn9dM-v.js +503 -0
- package/stencil/index-b2193545-DPygl1Qn.cjs +1 -0
- package/stencil/{ui-image-ClXqMGwp.js → ui-image-3hy4ZvUC.js} +1 -1
- package/stencil/{ui-image-YphrYZtA.js → ui-image-D0wxuPze.js} +1 -1
- package/stencil/{ui-image-Db5QCSmt.cjs → ui-image-DE8MJHCZ.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-B43lELFk.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-CRQDt62Z.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-DVcK_myk.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
- package/stencil/{ui-image_2-Df0q0jE8.js → ui-image_2-B56t6kXT.js} +2 -2
- package/stencil/{ui-image_2-EP2dwjfi.js → ui-image_2-BncuYpLi.js} +2 -2
- package/stencil/{ui-image_2-CyHaM9Na.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-U47XWOV2.js → ui-skeleton-1cb75d00-B-R8GbLJ.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-nmwFu55Y.cjs → ui-skeleton-1cb75d00-BTnhspbc.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-bf7NJcVF.js → ui-skeleton-1cb75d00-Dy30RNE6.js} +1 -1
- package/stencil/{ui-skeleton-DSlZCsjK.js → ui-skeleton-CVBjRUvi.js} +2 -2
- package/stencil/{ui-skeleton-P9Vv-0Vy.js → ui-skeleton-RkXNxPG1.js} +2 -2
- package/stencil/{ui-skeleton-DXCQ8Yoq.cjs → ui-skeleton-se83zfWh.cjs} +1 -1
- package/components/CasinoTournamentsListController-DuFdroc_.cjs +0 -28
- package/components/CasinoTournamentsThumbnailController-qI0rc-Ej.cjs +0 -3
- package/components/CasinoTournamentsThumbnailDuration-CfNd-_JR.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-BuvDMzWR.js +0 -443
- package/components/CasinoTournamentsThumbnailGamesSlider-CIcdSmKi.js +0 -443
- package/components/CasinoTournamentsThumbnailGamesSlider-DuLodhfq.cjs +0 -1
- package/components/CasinoTournamentsThumbnailPrizes-BxVgCfCL.cjs +0 -1
- package/components/CasinoTournamentsThumbnailPrizes-CIhSfxTp.js +0 -315
- package/components/CasinoTournamentsThumbnailPrizes-Cgv1iFmY.js +0 -315
- package/stencil/index-97d17652-qWThG1U9.cjs +0 -1
- package/stencil/index-b2193545-C1ayEiG4.js +0 -503
- package/stencil/index-b2193545-CyidmLE0.cjs +0 -1
- package/stencil/index-b2193545-s3PsNboB.js +0 -519
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { b as C, S as L, i as Z, s as j, f as _, c as B, n as F, d as w, m as b, g as T, h as d, j as g, k as v, t as y, e as p, l as I, o as R, G as S, H as O, p as D, z as U, A as V, B as W, C as q, D as G } from "./CasinoTournamentsListController-DZAcldSI.js";
|
|
2
|
+
function N(l, e) {
|
|
3
|
+
C(l, e);
|
|
4
|
+
}
|
|
5
|
+
const M = {
|
|
6
|
+
en: {
|
|
7
|
+
prizes: "Prizes",
|
|
8
|
+
noprizes: "No available prizes",
|
|
9
|
+
place: "place"
|
|
10
|
+
},
|
|
11
|
+
hr: {
|
|
12
|
+
prizes: "Nagrade",
|
|
13
|
+
noprizes: "Nema dostupnih nagrada",
|
|
14
|
+
place: "mjesto"
|
|
15
|
+
},
|
|
16
|
+
"zh-hk": {
|
|
17
|
+
prizes: "獎品",
|
|
18
|
+
noprizes: "沒有可用的獎品",
|
|
19
|
+
place: "位置"
|
|
20
|
+
},
|
|
21
|
+
fr: {
|
|
22
|
+
prizes: "Prix",
|
|
23
|
+
noprizes: "Aucun prix disponible",
|
|
24
|
+
place: "place"
|
|
25
|
+
},
|
|
26
|
+
ro: {
|
|
27
|
+
prizes: "Premii",
|
|
28
|
+
noprizes: "Nu sunt disponibile premii",
|
|
29
|
+
place: "poziție"
|
|
30
|
+
},
|
|
31
|
+
tr: {
|
|
32
|
+
prizes: "Ödüller",
|
|
33
|
+
noprizes: "Mevcut ödül yok",
|
|
34
|
+
place: "yer"
|
|
35
|
+
},
|
|
36
|
+
el: {
|
|
37
|
+
prizes: "Έπαθλα",
|
|
38
|
+
noprizes: "Μη διαθέσιμα έπαθλα",
|
|
39
|
+
place: "θέση"
|
|
40
|
+
},
|
|
41
|
+
es: {
|
|
42
|
+
prizes: "Premios",
|
|
43
|
+
noprizes: "No hay premios disponibles",
|
|
44
|
+
place: "lugar"
|
|
45
|
+
},
|
|
46
|
+
hu: {
|
|
47
|
+
prizes: "Nyeremények",
|
|
48
|
+
noprizes: "Nincs elérhető nyeremény",
|
|
49
|
+
place: "helyezés"
|
|
50
|
+
},
|
|
51
|
+
pt: {
|
|
52
|
+
prizes: "Prêmios",
|
|
53
|
+
noprizes: "Não há prêmios disponíveis",
|
|
54
|
+
place: "place"
|
|
55
|
+
},
|
|
56
|
+
"en-us": {
|
|
57
|
+
prizes: "Prizes",
|
|
58
|
+
noprizes: "No available prizes",
|
|
59
|
+
place: "place"
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
function J(l) {
|
|
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
|
+
}
|
|
65
|
+
function H(l, e, t) {
|
|
66
|
+
const i = l.slice();
|
|
67
|
+
return i[12] = e[t], i[14] = t, i;
|
|
68
|
+
}
|
|
69
|
+
function A(l) {
|
|
70
|
+
let e, t = S(
|
|
71
|
+
/*prizes*/
|
|
72
|
+
l[1]
|
|
73
|
+
), i = [];
|
|
74
|
+
for (let n = 0; n < t.length; n += 1)
|
|
75
|
+
i[n] = x(H(l, t, n));
|
|
76
|
+
let r = null;
|
|
77
|
+
return t.length || (r = E(l)), {
|
|
78
|
+
c() {
|
|
79
|
+
e = g("div");
|
|
80
|
+
for (let n = 0; n < i.length; n += 1)
|
|
81
|
+
i[n].c();
|
|
82
|
+
r && r.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
|
|
83
|
+
},
|
|
84
|
+
m(n, c) {
|
|
85
|
+
T(n, e, c);
|
|
86
|
+
for (let s = 0; s < i.length; s += 1)
|
|
87
|
+
i[s] && i[s].m(e, null);
|
|
88
|
+
r && r.m(e, null);
|
|
89
|
+
},
|
|
90
|
+
p(n, c) {
|
|
91
|
+
if (c & /*prizes, $_*/
|
|
92
|
+
6) {
|
|
93
|
+
t = S(
|
|
94
|
+
/*prizes*/
|
|
95
|
+
n[1]
|
|
96
|
+
);
|
|
97
|
+
let s;
|
|
98
|
+
for (s = 0; s < t.length; s += 1) {
|
|
99
|
+
const f = H(n, t, s);
|
|
100
|
+
i[s] ? i[s].p(f, c) : (i[s] = x(f), i[s].c(), i[s].m(e, null));
|
|
101
|
+
}
|
|
102
|
+
for (; s < i.length; s += 1)
|
|
103
|
+
i[s].d(1);
|
|
104
|
+
i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = E(n), r.c(), r.m(e, null));
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
d(n) {
|
|
108
|
+
n && w(e), O(i, n), r && r.d();
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
function E(l) {
|
|
113
|
+
let e, t = (
|
|
114
|
+
/*$_*/
|
|
115
|
+
l[2]("noprizes") + ""
|
|
116
|
+
), i;
|
|
117
|
+
return {
|
|
118
|
+
c() {
|
|
119
|
+
e = g("p"), i = y(t);
|
|
120
|
+
},
|
|
121
|
+
m(r, n) {
|
|
122
|
+
T(r, e, n), d(e, i);
|
|
123
|
+
},
|
|
124
|
+
p(r, n) {
|
|
125
|
+
n & /*$_*/
|
|
126
|
+
4 && t !== (t = /*$_*/
|
|
127
|
+
r[2]("noprizes") + "") && b(i, t);
|
|
128
|
+
},
|
|
129
|
+
d(r) {
|
|
130
|
+
r && w(e);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
function x(l) {
|
|
135
|
+
let e, t, i, r = (
|
|
136
|
+
/*prize*/
|
|
137
|
+
(l[12].count > 1 ? `${/*prize*/
|
|
138
|
+
l[12].rank}~${/*prize*/
|
|
139
|
+
l[12].rank + /*prize*/
|
|
140
|
+
l[12].count - 1}` : (
|
|
141
|
+
/*prize*/
|
|
142
|
+
l[12].rank
|
|
143
|
+
)) + ""
|
|
144
|
+
), n, c, s = (
|
|
145
|
+
/*$_*/
|
|
146
|
+
l[2]("place") + ""
|
|
147
|
+
), f, o, u = (
|
|
148
|
+
/*prize*/
|
|
149
|
+
l[12].name + ""
|
|
150
|
+
), m, P;
|
|
151
|
+
return {
|
|
152
|
+
c() {
|
|
153
|
+
e = g("div"), t = g("p"), i = g("span"), n = y(r), c = v(), f = y(s), o = y(": "), m = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
|
|
154
|
+
l[14]), p(e, "part", "Prize Prize" + /*index*/
|
|
155
|
+
l[14]);
|
|
156
|
+
},
|
|
157
|
+
m(z, a) {
|
|
158
|
+
T(z, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, m), d(e, P);
|
|
159
|
+
},
|
|
160
|
+
p(z, a) {
|
|
161
|
+
a & /*prizes*/
|
|
162
|
+
2 && r !== (r = /*prize*/
|
|
163
|
+
(z[12].count > 1 ? `${/*prize*/
|
|
164
|
+
z[12].rank}~${/*prize*/
|
|
165
|
+
z[12].rank + /*prize*/
|
|
166
|
+
z[12].count - 1}` : (
|
|
167
|
+
/*prize*/
|
|
168
|
+
z[12].rank
|
|
169
|
+
)) + "") && b(n, r), a & /*$_*/
|
|
170
|
+
4 && s !== (s = /*$_*/
|
|
171
|
+
z[2]("place") + "") && b(f, s), a & /*prizes*/
|
|
172
|
+
2 && u !== (u = /*prize*/
|
|
173
|
+
z[12].name + "") && b(m, u);
|
|
174
|
+
},
|
|
175
|
+
d(z) {
|
|
176
|
+
z && w(e);
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
function K(l) {
|
|
181
|
+
let e, t, i, r, n, c = (
|
|
182
|
+
/*$_*/
|
|
183
|
+
l[2]("prizes") + ""
|
|
184
|
+
), s, f, o = (
|
|
185
|
+
/*prizes*/
|
|
186
|
+
l[1] && A(l)
|
|
187
|
+
);
|
|
188
|
+
return {
|
|
189
|
+
c() {
|
|
190
|
+
e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
|
|
191
|
+
},
|
|
192
|
+
m(u, m) {
|
|
193
|
+
T(u, e, m), d(e, t), d(t, i), d(t, r), d(t, n), d(n, s), d(e, f), o && o.m(e, null), l[8](e);
|
|
194
|
+
},
|
|
195
|
+
p(u, [m]) {
|
|
196
|
+
m & /*$_*/
|
|
197
|
+
4 && c !== (c = /*$_*/
|
|
198
|
+
u[2]("prizes") + "") && b(s, c), /*prizes*/
|
|
199
|
+
u[1] ? o ? o.p(u, m) : (o = A(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
|
|
200
|
+
},
|
|
201
|
+
i: F,
|
|
202
|
+
o: F,
|
|
203
|
+
d(u) {
|
|
204
|
+
u && w(e), o && o.d(), l[8](null);
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
function Q(l, e, t) {
|
|
209
|
+
let i;
|
|
210
|
+
I(l, G, (a) => t(2, i = a));
|
|
211
|
+
let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
|
|
212
|
+
const m = () => {
|
|
213
|
+
fetch(s).then((h) => h.json()).then((h) => {
|
|
214
|
+
Object.keys(h).forEach((k) => {
|
|
215
|
+
N(k, h[k]);
|
|
216
|
+
});
|
|
217
|
+
}).catch((h) => {
|
|
218
|
+
console.log(h);
|
|
219
|
+
});
|
|
220
|
+
};
|
|
221
|
+
Object.keys(M).forEach((a) => {
|
|
222
|
+
N(a, M[a]);
|
|
223
|
+
});
|
|
224
|
+
const P = (a) => {
|
|
225
|
+
a.data && a.data.type == `TournamentPrizes_${r}` && t(1, u = a.data.prizes);
|
|
226
|
+
};
|
|
227
|
+
R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
|
|
228
|
+
window.removeEventListener("message", P);
|
|
229
|
+
}));
|
|
230
|
+
function z(a) {
|
|
231
|
+
D[a ? "unshift" : "push"](() => {
|
|
232
|
+
o = a, t(0, o);
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
return l.$$set = (a) => {
|
|
236
|
+
"tourid" in a && t(3, r = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
|
|
237
|
+
}, l.$$.update = () => {
|
|
238
|
+
l.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
239
|
+
17 && n && o && U(o, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
240
|
+
33 && c && o && V(o, c), l.$$.dirty & /*mbsource, customStylingContainer*/
|
|
241
|
+
129 && f && o && W(o, `${f}.Style`), l.$$.dirty & /*translationurl*/
|
|
242
|
+
64 && s && m();
|
|
243
|
+
}, [
|
|
244
|
+
o,
|
|
245
|
+
u,
|
|
246
|
+
i,
|
|
247
|
+
r,
|
|
248
|
+
n,
|
|
249
|
+
c,
|
|
250
|
+
s,
|
|
251
|
+
f,
|
|
252
|
+
z
|
|
253
|
+
];
|
|
254
|
+
}
|
|
255
|
+
class X extends L {
|
|
256
|
+
constructor(e) {
|
|
257
|
+
super(), Z(
|
|
258
|
+
this,
|
|
259
|
+
e,
|
|
260
|
+
Q,
|
|
261
|
+
K,
|
|
262
|
+
j,
|
|
263
|
+
{
|
|
264
|
+
tourid: 3,
|
|
265
|
+
clientstyling: 4,
|
|
266
|
+
clientstylingurl: 5,
|
|
267
|
+
translationurl: 6,
|
|
268
|
+
mbsource: 7
|
|
269
|
+
},
|
|
270
|
+
J
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
get tourid() {
|
|
274
|
+
return this.$$.ctx[3];
|
|
275
|
+
}
|
|
276
|
+
set tourid(e) {
|
|
277
|
+
this.$$set({ tourid: e }), _();
|
|
278
|
+
}
|
|
279
|
+
get clientstyling() {
|
|
280
|
+
return this.$$.ctx[4];
|
|
281
|
+
}
|
|
282
|
+
set clientstyling(e) {
|
|
283
|
+
this.$$set({ clientstyling: e }), _();
|
|
284
|
+
}
|
|
285
|
+
get clientstylingurl() {
|
|
286
|
+
return this.$$.ctx[5];
|
|
287
|
+
}
|
|
288
|
+
set clientstylingurl(e) {
|
|
289
|
+
this.$$set({ clientstylingurl: e }), _();
|
|
290
|
+
}
|
|
291
|
+
get translationurl() {
|
|
292
|
+
return this.$$.ctx[6];
|
|
293
|
+
}
|
|
294
|
+
set translationurl(e) {
|
|
295
|
+
this.$$set({ translationurl: e }), _();
|
|
296
|
+
}
|
|
297
|
+
get mbsource() {
|
|
298
|
+
return this.$$.ctx[7];
|
|
299
|
+
}
|
|
300
|
+
set mbsource(e) {
|
|
301
|
+
this.$$set({ mbsource: e }), _();
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
q(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
305
|
+
export {
|
|
306
|
+
X as default
|
|
307
|
+
};
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { b as C, S as L, i as Z, s as j, f as _, c as B, n as F, d as w, m as b, g as T, h as d, j as g, k as v, t as y, e as p, l as I, o as R, G as S, H as O, p as D, z as U, A as V, B as W, C as q, D as G } from "./CasinoTournamentsListController-916JL4F7.js";
|
|
2
|
+
function N(l, e) {
|
|
3
|
+
C(l, e);
|
|
4
|
+
}
|
|
5
|
+
const M = {
|
|
6
|
+
en: {
|
|
7
|
+
prizes: "Prizes",
|
|
8
|
+
noprizes: "No available prizes",
|
|
9
|
+
place: "place"
|
|
10
|
+
},
|
|
11
|
+
hr: {
|
|
12
|
+
prizes: "Nagrade",
|
|
13
|
+
noprizes: "Nema dostupnih nagrada",
|
|
14
|
+
place: "mjesto"
|
|
15
|
+
},
|
|
16
|
+
"zh-hk": {
|
|
17
|
+
prizes: "獎品",
|
|
18
|
+
noprizes: "沒有可用的獎品",
|
|
19
|
+
place: "位置"
|
|
20
|
+
},
|
|
21
|
+
fr: {
|
|
22
|
+
prizes: "Prix",
|
|
23
|
+
noprizes: "Aucun prix disponible",
|
|
24
|
+
place: "place"
|
|
25
|
+
},
|
|
26
|
+
ro: {
|
|
27
|
+
prizes: "Premii",
|
|
28
|
+
noprizes: "Nu sunt disponibile premii",
|
|
29
|
+
place: "poziție"
|
|
30
|
+
},
|
|
31
|
+
tr: {
|
|
32
|
+
prizes: "Ödüller",
|
|
33
|
+
noprizes: "Mevcut ödül yok",
|
|
34
|
+
place: "yer"
|
|
35
|
+
},
|
|
36
|
+
el: {
|
|
37
|
+
prizes: "Έπαθλα",
|
|
38
|
+
noprizes: "Μη διαθέσιμα έπαθλα",
|
|
39
|
+
place: "θέση"
|
|
40
|
+
},
|
|
41
|
+
es: {
|
|
42
|
+
prizes: "Premios",
|
|
43
|
+
noprizes: "No hay premios disponibles",
|
|
44
|
+
place: "lugar"
|
|
45
|
+
},
|
|
46
|
+
hu: {
|
|
47
|
+
prizes: "Nyeremények",
|
|
48
|
+
noprizes: "Nincs elérhető nyeremény",
|
|
49
|
+
place: "helyezés"
|
|
50
|
+
},
|
|
51
|
+
pt: {
|
|
52
|
+
prizes: "Prêmios",
|
|
53
|
+
noprizes: "Não há prêmios disponíveis",
|
|
54
|
+
place: "place"
|
|
55
|
+
},
|
|
56
|
+
"en-us": {
|
|
57
|
+
prizes: "Prizes",
|
|
58
|
+
noprizes: "No available prizes",
|
|
59
|
+
place: "place"
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
function J(l) {
|
|
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
|
+
}
|
|
65
|
+
function H(l, e, t) {
|
|
66
|
+
const i = l.slice();
|
|
67
|
+
return i[12] = e[t], i[14] = t, i;
|
|
68
|
+
}
|
|
69
|
+
function A(l) {
|
|
70
|
+
let e, t = S(
|
|
71
|
+
/*prizes*/
|
|
72
|
+
l[1]
|
|
73
|
+
), i = [];
|
|
74
|
+
for (let n = 0; n < t.length; n += 1)
|
|
75
|
+
i[n] = x(H(l, t, n));
|
|
76
|
+
let r = null;
|
|
77
|
+
return t.length || (r = E(l)), {
|
|
78
|
+
c() {
|
|
79
|
+
e = g("div");
|
|
80
|
+
for (let n = 0; n < i.length; n += 1)
|
|
81
|
+
i[n].c();
|
|
82
|
+
r && r.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
|
|
83
|
+
},
|
|
84
|
+
m(n, c) {
|
|
85
|
+
T(n, e, c);
|
|
86
|
+
for (let s = 0; s < i.length; s += 1)
|
|
87
|
+
i[s] && i[s].m(e, null);
|
|
88
|
+
r && r.m(e, null);
|
|
89
|
+
},
|
|
90
|
+
p(n, c) {
|
|
91
|
+
if (c & /*prizes, $_*/
|
|
92
|
+
6) {
|
|
93
|
+
t = S(
|
|
94
|
+
/*prizes*/
|
|
95
|
+
n[1]
|
|
96
|
+
);
|
|
97
|
+
let s;
|
|
98
|
+
for (s = 0; s < t.length; s += 1) {
|
|
99
|
+
const f = H(n, t, s);
|
|
100
|
+
i[s] ? i[s].p(f, c) : (i[s] = x(f), i[s].c(), i[s].m(e, null));
|
|
101
|
+
}
|
|
102
|
+
for (; s < i.length; s += 1)
|
|
103
|
+
i[s].d(1);
|
|
104
|
+
i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = E(n), r.c(), r.m(e, null));
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
d(n) {
|
|
108
|
+
n && w(e), O(i, n), r && r.d();
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
function E(l) {
|
|
113
|
+
let e, t = (
|
|
114
|
+
/*$_*/
|
|
115
|
+
l[2]("noprizes") + ""
|
|
116
|
+
), i;
|
|
117
|
+
return {
|
|
118
|
+
c() {
|
|
119
|
+
e = g("p"), i = y(t);
|
|
120
|
+
},
|
|
121
|
+
m(r, n) {
|
|
122
|
+
T(r, e, n), d(e, i);
|
|
123
|
+
},
|
|
124
|
+
p(r, n) {
|
|
125
|
+
n & /*$_*/
|
|
126
|
+
4 && t !== (t = /*$_*/
|
|
127
|
+
r[2]("noprizes") + "") && b(i, t);
|
|
128
|
+
},
|
|
129
|
+
d(r) {
|
|
130
|
+
r && w(e);
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
function x(l) {
|
|
135
|
+
let e, t, i, r = (
|
|
136
|
+
/*prize*/
|
|
137
|
+
(l[12].count > 1 ? `${/*prize*/
|
|
138
|
+
l[12].rank}~${/*prize*/
|
|
139
|
+
l[12].rank + /*prize*/
|
|
140
|
+
l[12].count - 1}` : (
|
|
141
|
+
/*prize*/
|
|
142
|
+
l[12].rank
|
|
143
|
+
)) + ""
|
|
144
|
+
), n, c, s = (
|
|
145
|
+
/*$_*/
|
|
146
|
+
l[2]("place") + ""
|
|
147
|
+
), f, o, u = (
|
|
148
|
+
/*prize*/
|
|
149
|
+
l[12].name + ""
|
|
150
|
+
), m, P;
|
|
151
|
+
return {
|
|
152
|
+
c() {
|
|
153
|
+
e = g("div"), t = g("p"), i = g("span"), n = y(r), c = v(), f = y(s), o = y(": "), m = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
|
|
154
|
+
l[14]), p(e, "part", "Prize Prize" + /*index*/
|
|
155
|
+
l[14]);
|
|
156
|
+
},
|
|
157
|
+
m(z, a) {
|
|
158
|
+
T(z, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, m), d(e, P);
|
|
159
|
+
},
|
|
160
|
+
p(z, a) {
|
|
161
|
+
a & /*prizes*/
|
|
162
|
+
2 && r !== (r = /*prize*/
|
|
163
|
+
(z[12].count > 1 ? `${/*prize*/
|
|
164
|
+
z[12].rank}~${/*prize*/
|
|
165
|
+
z[12].rank + /*prize*/
|
|
166
|
+
z[12].count - 1}` : (
|
|
167
|
+
/*prize*/
|
|
168
|
+
z[12].rank
|
|
169
|
+
)) + "") && b(n, r), a & /*$_*/
|
|
170
|
+
4 && s !== (s = /*$_*/
|
|
171
|
+
z[2]("place") + "") && b(f, s), a & /*prizes*/
|
|
172
|
+
2 && u !== (u = /*prize*/
|
|
173
|
+
z[12].name + "") && b(m, u);
|
|
174
|
+
},
|
|
175
|
+
d(z) {
|
|
176
|
+
z && w(e);
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
function K(l) {
|
|
181
|
+
let e, t, i, r, n, c = (
|
|
182
|
+
/*$_*/
|
|
183
|
+
l[2]("prizes") + ""
|
|
184
|
+
), s, f, o = (
|
|
185
|
+
/*prizes*/
|
|
186
|
+
l[1] && A(l)
|
|
187
|
+
);
|
|
188
|
+
return {
|
|
189
|
+
c() {
|
|
190
|
+
e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
|
|
191
|
+
},
|
|
192
|
+
m(u, m) {
|
|
193
|
+
T(u, e, m), d(e, t), d(t, i), d(t, r), d(t, n), d(n, s), d(e, f), o && o.m(e, null), l[8](e);
|
|
194
|
+
},
|
|
195
|
+
p(u, [m]) {
|
|
196
|
+
m & /*$_*/
|
|
197
|
+
4 && c !== (c = /*$_*/
|
|
198
|
+
u[2]("prizes") + "") && b(s, c), /*prizes*/
|
|
199
|
+
u[1] ? o ? o.p(u, m) : (o = A(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
|
|
200
|
+
},
|
|
201
|
+
i: F,
|
|
202
|
+
o: F,
|
|
203
|
+
d(u) {
|
|
204
|
+
u && w(e), o && o.d(), l[8](null);
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
function Q(l, e, t) {
|
|
209
|
+
let i;
|
|
210
|
+
I(l, G, (a) => t(2, i = a));
|
|
211
|
+
let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
|
|
212
|
+
const m = () => {
|
|
213
|
+
fetch(s).then((h) => h.json()).then((h) => {
|
|
214
|
+
Object.keys(h).forEach((k) => {
|
|
215
|
+
N(k, h[k]);
|
|
216
|
+
});
|
|
217
|
+
}).catch((h) => {
|
|
218
|
+
console.log(h);
|
|
219
|
+
});
|
|
220
|
+
};
|
|
221
|
+
Object.keys(M).forEach((a) => {
|
|
222
|
+
N(a, M[a]);
|
|
223
|
+
});
|
|
224
|
+
const P = (a) => {
|
|
225
|
+
a.data && a.data.type == `TournamentPrizes_${r}` && t(1, u = a.data.prizes);
|
|
226
|
+
};
|
|
227
|
+
R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
|
|
228
|
+
window.removeEventListener("message", P);
|
|
229
|
+
}));
|
|
230
|
+
function z(a) {
|
|
231
|
+
D[a ? "unshift" : "push"](() => {
|
|
232
|
+
o = a, t(0, o);
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
return l.$$set = (a) => {
|
|
236
|
+
"tourid" in a && t(3, r = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
|
|
237
|
+
}, l.$$.update = () => {
|
|
238
|
+
l.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
239
|
+
17 && n && o && U(o, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
240
|
+
33 && c && o && V(o, c), l.$$.dirty & /*mbsource, customStylingContainer*/
|
|
241
|
+
129 && f && o && W(o, `${f}.Style`), l.$$.dirty & /*translationurl*/
|
|
242
|
+
64 && s && m();
|
|
243
|
+
}, [
|
|
244
|
+
o,
|
|
245
|
+
u,
|
|
246
|
+
i,
|
|
247
|
+
r,
|
|
248
|
+
n,
|
|
249
|
+
c,
|
|
250
|
+
s,
|
|
251
|
+
f,
|
|
252
|
+
z
|
|
253
|
+
];
|
|
254
|
+
}
|
|
255
|
+
class X extends L {
|
|
256
|
+
constructor(e) {
|
|
257
|
+
super(), Z(
|
|
258
|
+
this,
|
|
259
|
+
e,
|
|
260
|
+
Q,
|
|
261
|
+
K,
|
|
262
|
+
j,
|
|
263
|
+
{
|
|
264
|
+
tourid: 3,
|
|
265
|
+
clientstyling: 4,
|
|
266
|
+
clientstylingurl: 5,
|
|
267
|
+
translationurl: 6,
|
|
268
|
+
mbsource: 7
|
|
269
|
+
},
|
|
270
|
+
J
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
get tourid() {
|
|
274
|
+
return this.$$.ctx[3];
|
|
275
|
+
}
|
|
276
|
+
set tourid(e) {
|
|
277
|
+
this.$$set({ tourid: e }), _();
|
|
278
|
+
}
|
|
279
|
+
get clientstyling() {
|
|
280
|
+
return this.$$.ctx[4];
|
|
281
|
+
}
|
|
282
|
+
set clientstyling(e) {
|
|
283
|
+
this.$$set({ clientstyling: e }), _();
|
|
284
|
+
}
|
|
285
|
+
get clientstylingurl() {
|
|
286
|
+
return this.$$.ctx[5];
|
|
287
|
+
}
|
|
288
|
+
set clientstylingurl(e) {
|
|
289
|
+
this.$$set({ clientstylingurl: e }), _();
|
|
290
|
+
}
|
|
291
|
+
get translationurl() {
|
|
292
|
+
return this.$$.ctx[6];
|
|
293
|
+
}
|
|
294
|
+
set translationurl(e) {
|
|
295
|
+
this.$$set({ translationurl: e }), _();
|
|
296
|
+
}
|
|
297
|
+
get mbsource() {
|
|
298
|
+
return this.$$.ctx[7];
|
|
299
|
+
}
|
|
300
|
+
set mbsource(e) {
|
|
301
|
+
this.$$set({ mbsource: e }), _();
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
q(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
305
|
+
export {
|
|
306
|
+
X as default
|
|
307
|
+
};
|
|
@@ -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/CasinoTournamentsListController-
|
|
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/CasinoTournamentsListController-CLH2CE8z.cjs")).then(e=>e.CasinoTournamentsListController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-list-controller")&&customElements.define("casino-tournaments-list-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/CasinoTournamentsListController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-DZAcldSI.js").then((e) => e.L).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED