@everymatrix/casino-tournaments-controller 1.45.0 → 1.45.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-BgoGP80M.cjs → CasinoTournamentsController-CQ5C1jDl.cjs} +7 -7
- package/components/{CasinoTournamentsController-BBv1Hyoc.js → CasinoTournamentsController-Cr8b4j7l.js} +332 -332
- package/components/CasinoTournamentsFilterController-BtuK-ddv.cjs +1 -0
- package/components/{CasinoTournamentsFilterController-BqjTkXsP.js → CasinoTournamentsFilterController-Chy_sE0V.js} +118 -118
- package/components/{CasinoTournamentsListController-nfyqtXdi.cjs → CasinoTournamentsListController-BinvLjvx.cjs} +3 -3
- package/components/{CasinoTournamentsListController-BHZPf1Di.js → CasinoTournamentsListController-DXHqP9An.js} +111 -111
- package/components/{CasinoTournamentsThumbnail-DdkzbUpk.js → CasinoTournamentsThumbnail-BFS6MlWH.js} +190 -190
- package/components/CasinoTournamentsThumbnail-CM3Rfdn3.cjs +4 -0
- package/components/CasinoTournamentsThumbnailController-C71hXcQP.cjs +1 -0
- package/components/CasinoTournamentsThumbnailController-NEf6XMRB.js +1405 -0
- package/components/CasinoTournamentsThumbnailDuration-CrS_PUCZ.cjs +1 -0
- package/components/CasinoTournamentsThumbnailDuration-bu3Mm2Ay.js +495 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-DNrAc-zm.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-_haSuIUI.js +438 -0
- package/components/CasinoTournamentsThumbnailPrizes-BRcfU1P4.js +310 -0
- package/components/CasinoTournamentsThumbnailPrizes-E5pafLaj.cjs +1 -0
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/package.json +2 -2
- package/components/CasinoTournamentsFilterController-DRPLlsmH.cjs +0 -1
- package/components/CasinoTournamentsThumbnail-B5svaS7p.cjs +0 -4
- package/components/CasinoTournamentsThumbnailController-BnIRoSw0.cjs +0 -1
- package/components/CasinoTournamentsThumbnailController-DX_9tXvb.js +0 -1405
- package/components/CasinoTournamentsThumbnailDuration-BZyUIEUp.cjs +0 -1
- package/components/CasinoTournamentsThumbnailDuration-CVtlYaVM.js +0 -495
- package/components/CasinoTournamentsThumbnailGamesSlider-CPUoPnwu.js +0 -438
- package/components/CasinoTournamentsThumbnailGamesSlider-CuGCo4r6.cjs +0 -1
- package/components/CasinoTournamentsThumbnailPrizes-CPmYLRmC.cjs +0 -1
- package/components/CasinoTournamentsThumbnailPrizes-DD7Zhrne.js +0 -310
|
@@ -0,0 +1,310 @@
|
|
|
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 z, 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 H, q, u as V, $ as W } from "./CasinoTournamentsController-Cr8b4j7l.js";
|
|
2
|
+
function N(l, e) {
|
|
3
|
+
A(l, e);
|
|
4
|
+
}
|
|
5
|
+
const S = {
|
|
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
|
+
};
|
|
57
|
+
function D(l) {
|
|
58
|
+
B(l, "svelte-1t3fr3e", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emfe-w-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(--emfe-w-color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emfe-w-color-white, #FFFFFF)}");
|
|
59
|
+
}
|
|
60
|
+
function E(l, e, t) {
|
|
61
|
+
const n = l.slice();
|
|
62
|
+
return n[13] = e[t], n[15] = t, n;
|
|
63
|
+
}
|
|
64
|
+
function L(l) {
|
|
65
|
+
let e, t = H(
|
|
66
|
+
/*prizes*/
|
|
67
|
+
l[1]
|
|
68
|
+
), n = [];
|
|
69
|
+
for (let i = 0; i < t.length; i += 1)
|
|
70
|
+
n[i] = x(E(l, t, i));
|
|
71
|
+
let r = null;
|
|
72
|
+
return t.length || (r = C(l)), {
|
|
73
|
+
c() {
|
|
74
|
+
e = z("div");
|
|
75
|
+
for (let i = 0; i < n.length; i += 1)
|
|
76
|
+
n[i].c();
|
|
77
|
+
r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
78
|
+
},
|
|
79
|
+
m(i, c) {
|
|
80
|
+
k(i, e, c);
|
|
81
|
+
for (let s = 0; s < n.length; s += 1)
|
|
82
|
+
n[s] && n[s].m(e, null);
|
|
83
|
+
r && r.m(e, null);
|
|
84
|
+
},
|
|
85
|
+
p(i, c) {
|
|
86
|
+
if (c & /*prizes, $_*/
|
|
87
|
+
6) {
|
|
88
|
+
t = H(
|
|
89
|
+
/*prizes*/
|
|
90
|
+
i[1]
|
|
91
|
+
);
|
|
92
|
+
let s;
|
|
93
|
+
for (s = 0; s < t.length; s += 1) {
|
|
94
|
+
const p = E(i, t, s);
|
|
95
|
+
n[s] ? n[s].p(p, c) : (n[s] = x(p), n[s].c(), n[s].m(e, null));
|
|
96
|
+
}
|
|
97
|
+
for (; s < n.length; s += 1)
|
|
98
|
+
n[s].d(1);
|
|
99
|
+
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));
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
d(i) {
|
|
103
|
+
i && F(e), q(n, i), r && r.d();
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function C(l) {
|
|
108
|
+
let e, t = (
|
|
109
|
+
/*$_*/
|
|
110
|
+
l[2]("noprizes") + ""
|
|
111
|
+
), n;
|
|
112
|
+
return {
|
|
113
|
+
c() {
|
|
114
|
+
e = z("p"), n = _(t);
|
|
115
|
+
},
|
|
116
|
+
m(r, i) {
|
|
117
|
+
k(r, e, i), f(e, n);
|
|
118
|
+
},
|
|
119
|
+
p(r, i) {
|
|
120
|
+
i & /*$_*/
|
|
121
|
+
4 && t !== (t = /*$_*/
|
|
122
|
+
r[2]("noprizes") + "") && v(n, t);
|
|
123
|
+
},
|
|
124
|
+
d(r) {
|
|
125
|
+
r && F(e);
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
function x(l) {
|
|
130
|
+
let e, t, n, r = (
|
|
131
|
+
/*prize*/
|
|
132
|
+
(l[13].count > 1 ? `${/*prize*/
|
|
133
|
+
l[13].rank}~${/*prize*/
|
|
134
|
+
l[13].rank + /*prize*/
|
|
135
|
+
l[13].count - 1}` : (
|
|
136
|
+
/*prize*/
|
|
137
|
+
l[13].rank
|
|
138
|
+
)) + ""
|
|
139
|
+
), i, c, s = (
|
|
140
|
+
/*$_*/
|
|
141
|
+
l[2]("place") + ""
|
|
142
|
+
), p, o, d = (
|
|
143
|
+
/*prize*/
|
|
144
|
+
l[13].name + ""
|
|
145
|
+
), m, w;
|
|
146
|
+
return {
|
|
147
|
+
c() {
|
|
148
|
+
e = z("div"), t = z("p"), n = z("span"), i = _(r), c = b(), p = _(s), o = _(": "), m = _(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*/
|
|
149
|
+
l[15]), u(e, "part", "Prize Prize" + /*index*/
|
|
150
|
+
l[15]);
|
|
151
|
+
},
|
|
152
|
+
m(h, y) {
|
|
153
|
+
k(h, e, y), f(e, t), f(t, n), f(n, i), f(t, c), f(t, p), f(t, o), f(t, m), f(e, w);
|
|
154
|
+
},
|
|
155
|
+
p(h, y) {
|
|
156
|
+
y & /*prizes*/
|
|
157
|
+
2 && r !== (r = /*prize*/
|
|
158
|
+
(h[13].count > 1 ? `${/*prize*/
|
|
159
|
+
h[13].rank}~${/*prize*/
|
|
160
|
+
h[13].rank + /*prize*/
|
|
161
|
+
h[13].count - 1}` : (
|
|
162
|
+
/*prize*/
|
|
163
|
+
h[13].rank
|
|
164
|
+
)) + "") && v(i, r), y & /*$_*/
|
|
165
|
+
4 && s !== (s = /*$_*/
|
|
166
|
+
h[2]("place") + "") && v(p, s), y & /*prizes*/
|
|
167
|
+
2 && d !== (d = /*prize*/
|
|
168
|
+
h[13].name + "") && v(m, d);
|
|
169
|
+
},
|
|
170
|
+
d(h) {
|
|
171
|
+
h && F(e);
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
function G(l) {
|
|
176
|
+
let e, t, n, r, i, c = (
|
|
177
|
+
/*$_*/
|
|
178
|
+
l[2]("prizes") + ""
|
|
179
|
+
), s, p, o = (
|
|
180
|
+
/*prizes*/
|
|
181
|
+
l[1] && L(l)
|
|
182
|
+
);
|
|
183
|
+
return {
|
|
184
|
+
c() {
|
|
185
|
+
e = z("div"), t = z("div"), n = z("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(--emfe-w-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 = z("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");
|
|
186
|
+
},
|
|
187
|
+
m(d, m) {
|
|
188
|
+
k(d, e, m), 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);
|
|
189
|
+
},
|
|
190
|
+
p(d, [m]) {
|
|
191
|
+
m & /*$_*/
|
|
192
|
+
4 && c !== (c = /*$_*/
|
|
193
|
+
d[2]("prizes") + "") && v(s, c), /*prizes*/
|
|
194
|
+
d[1] ? o ? o.p(d, m) : (o = L(d), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
|
|
195
|
+
},
|
|
196
|
+
i: M,
|
|
197
|
+
o: M,
|
|
198
|
+
d(d) {
|
|
199
|
+
d && F(e), o && o.d(), l[7](null);
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
function J(l, e, t) {
|
|
204
|
+
let n;
|
|
205
|
+
O(l, W, (a) => t(2, n = a));
|
|
206
|
+
let { tourid: r = "" } = e, { clientstyling: i = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, p, o;
|
|
207
|
+
const d = () => {
|
|
208
|
+
fetch(s).then((g) => g.json()).then((g) => {
|
|
209
|
+
Object.keys(g).forEach((P) => {
|
|
210
|
+
N(P, g[P]);
|
|
211
|
+
});
|
|
212
|
+
}).catch((g) => {
|
|
213
|
+
console.log(g);
|
|
214
|
+
});
|
|
215
|
+
};
|
|
216
|
+
Object.keys(S).forEach((a) => {
|
|
217
|
+
N(a, S[a]);
|
|
218
|
+
});
|
|
219
|
+
const m = (a) => {
|
|
220
|
+
a.data && a.data.type == `TournamentPrizes_${r}` && t(1, o = a.data.prizes);
|
|
221
|
+
}, w = () => {
|
|
222
|
+
let a = document.createElement("style");
|
|
223
|
+
a.innerHTML = i, p.appendChild(a);
|
|
224
|
+
}, h = () => {
|
|
225
|
+
let a = new URL(c), g = document.createElement("style");
|
|
226
|
+
fetch(a.href).then((P) => P.text()).then((P) => {
|
|
227
|
+
g.innerHTML = P, setTimeout(
|
|
228
|
+
() => {
|
|
229
|
+
p.appendChild(g);
|
|
230
|
+
},
|
|
231
|
+
1
|
|
232
|
+
), setTimeout(
|
|
233
|
+
() => {
|
|
234
|
+
},
|
|
235
|
+
500
|
|
236
|
+
);
|
|
237
|
+
});
|
|
238
|
+
};
|
|
239
|
+
U(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", m, !1), () => {
|
|
240
|
+
window.removeEventListener("message", m);
|
|
241
|
+
}));
|
|
242
|
+
function y(a) {
|
|
243
|
+
V[a ? "unshift" : "push"](() => {
|
|
244
|
+
p = a, t(0, p);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
return l.$$set = (a) => {
|
|
248
|
+
"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);
|
|
249
|
+
}, l.$$.update = () => {
|
|
250
|
+
l.$$.dirty & /*customStylingContainer, clientstyling*/
|
|
251
|
+
17 && p && i && w(), l.$$.dirty & /*customStylingContainer, clientstylingurl*/
|
|
252
|
+
33 && p && c && h(), l.$$.dirty & /*translationurl*/
|
|
253
|
+
64 && s && d();
|
|
254
|
+
}, [
|
|
255
|
+
p,
|
|
256
|
+
o,
|
|
257
|
+
n,
|
|
258
|
+
r,
|
|
259
|
+
i,
|
|
260
|
+
c,
|
|
261
|
+
s,
|
|
262
|
+
y
|
|
263
|
+
];
|
|
264
|
+
}
|
|
265
|
+
class K extends Z {
|
|
266
|
+
constructor(e) {
|
|
267
|
+
super(), j(
|
|
268
|
+
this,
|
|
269
|
+
e,
|
|
270
|
+
J,
|
|
271
|
+
G,
|
|
272
|
+
R,
|
|
273
|
+
{
|
|
274
|
+
tourid: 3,
|
|
275
|
+
clientstyling: 4,
|
|
276
|
+
clientstylingurl: 5,
|
|
277
|
+
translationurl: 6
|
|
278
|
+
},
|
|
279
|
+
D
|
|
280
|
+
);
|
|
281
|
+
}
|
|
282
|
+
get tourid() {
|
|
283
|
+
return this.$$.ctx[3];
|
|
284
|
+
}
|
|
285
|
+
set tourid(e) {
|
|
286
|
+
this.$$set({ tourid: e }), T();
|
|
287
|
+
}
|
|
288
|
+
get clientstyling() {
|
|
289
|
+
return this.$$.ctx[4];
|
|
290
|
+
}
|
|
291
|
+
set clientstyling(e) {
|
|
292
|
+
this.$$set({ clientstyling: e }), T();
|
|
293
|
+
}
|
|
294
|
+
get clientstylingurl() {
|
|
295
|
+
return this.$$.ctx[5];
|
|
296
|
+
}
|
|
297
|
+
set clientstylingurl(e) {
|
|
298
|
+
this.$$set({ clientstylingurl: e }), T();
|
|
299
|
+
}
|
|
300
|
+
get translationurl() {
|
|
301
|
+
return this.$$.ctx[6];
|
|
302
|
+
}
|
|
303
|
+
set translationurl(e) {
|
|
304
|
+
this.$$set({ translationurl: e }), T();
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
I(K, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
308
|
+
export {
|
|
309
|
+
K as default
|
|
310
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-CQ5C1jDl.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"}};function F(r){e.append_styles(r,"svelte-1t3fr3e","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emfe-w-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(--emfe-w-color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emfe-w-color-white, #FFFFFF)}")}function T(r,t,n){const i=r.slice();return i[13]=t[n],i[15]=n,i}function v(r){let t,n=e.ensure_array_like(r[1]),i=[];for(let l=0;l<n.length;l+=1)i[l]=b(T(r,n,l));let a=null;return n.length||(a=w(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=T(l,n,s);i[s]?i[s].p(u,c):(i[s]=b(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=w(l),a.c(),a.m(t,null))}},d(l){l&&e.detach(t),e.destroy_each(i,l),a&&a.d()}}}function w(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 b(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+"",h,_;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(": "),h=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(f,g){e.insert(f,t,g),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,h),e.append(t,_)},p(f,g){g&2&&a!==(a=(f[13].count>1?`${f[13].rank}~${f[13].rank+f[13].count-1}`:f[13].rank)+"")&&e.set_data(l,a),g&4&&s!==(s=f[2]("place")+"")&&e.set_data(u,s),g&2&&d!==(d=f[13].name+"")&&e.set_data(h,d)},d(f){f&&e.detach(t)}}}function M(r){let t,n,i,a,l,c=r[2]("prizes")+"",s,u,p=r[1]&&v(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(--emfe-w-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,h){e.insert(d,t,h),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,[h]){h&4&&c!==(c=d[2]("prizes")+"")&&e.set_data(s,c),d[1]?p?p.p(d,h):(p=v(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 S(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(z=>{y(z,m[z])})}).catch(m=>{console.log(m)})};Object.keys(P).forEach(o=>{y(o,P[o])});const h=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)},f=()=>{let o=new URL(c),m=document.createElement("style");fetch(o.href).then(z=>z.text()).then(z=>{m.innerHTML=z,setTimeout(()=>{u.appendChild(m)},1),setTimeout(()=>{},500)})};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function g(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&&f(),r.$$.dirty&64&&s&&d()},[u,p,i,a,l,c,s,g]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,S,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 +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-CQ5C1jDl.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-Cr8b4j7l.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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everymatrix/casino-tournaments-controller",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "es2015/casino-tournaments-controller.cjs",
|
|
6
6
|
"module": "es2015/casino-tournaments-controller.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"./es2015/casino-tournaments-controller.cjs": "./es2015/casino-tournaments-controller.cjs"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
"files": [
|
|
15
15
|
"es2015/",
|
|
16
16
|
"components"
|
|
17
17
|
],
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-BgoGP80M.cjs");function T(l,t){e.addMessages(l,t)}const A={en:{tournaments:"Tournaments",all:"All",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished"},hr:{tournaments:"Turniri",all:"Svi",scheduled:"Planirani",ongoing:"U tijeku",finished:"Završeni"},"zh-hk":{tournaments:"錦標賽",all:"全部",scheduled:"預定的",ongoing:"進行中",finished:"完成的"},fr:{tournaments:"Tournois",all:"Tous",scheduled:"Programmé",ongoing:"En cours",finished:"Fini"},ro:{tournaments:"Turnee",all:"Toate",scheduled:"Programate",ongoing:"În curs",finished:"Finalizat"},tr:{tournaments:"Turnuvalar",all:"Hepsi",scheduled:"Planlanmış",ongoing:"Devam ediyor",finished:"Tamamlanmış"},el:{tournaments:"Τουρνουά",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα"},es:{tournaments:"Torneos",all:"Todos",scheduled:"Programado",ongoing:"En vivo",finished:"Finalizado"},hu:{tournaments:"Versenyek",all:"Mind",scheduled:"Ütemezés",ongoing:"Folyamatban",finished:"Befejezett"},pt:{tournaments:"Torneios",all:"Tudo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado"}};function H(l){e.append_styles(l,"svelte-1ne2lwv",".svelte-1ne2lwv.svelte-1ne2lwv,.svelte-1ne2lwv.svelte-1ne2lwv::before,.svelte-1ne2lwv.svelte-1ne2lwv::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul.svelte-1ne2lwv.svelte-1ne2lwv{display:flex;gap:10px;overflow-x:auto}ul.MobileClass.svelte-1ne2lwv.svelte-1ne2lwv{padding-top:21px}li.svelte-1ne2lwv.svelte-1ne2lwv:first-child{height:100%;position:realtive;padding:1em 0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emfe-w-color-white, #FFFFFF);opacity:1}li.MobileClass.svelte-1ne2lwv.svelte-1ne2lwv{position:absolute;left:10px;top:-15px;font-size:14px;height:auto}button.svelte-1ne2lwv.svelte-1ne2lwv{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emfe-w-color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF)}button.MobileClass.svelte-1ne2lwv.svelte-1ne2lwv{height:30px}button.svelte-1ne2lwv.svelte-1ne2lwv:hover{background-color:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);color:var(--emfe-w-color-black, #000000);cursor:pointer}.FiltersController.svelte-1ne2lwv.svelte-1ne2lwv{color:var(--emfe-w-color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass.svelte-1ne2lwv.svelte-1ne2lwv{justify-content:flex-start;margin-bottom:10px}.FiltersController.svelte-1ne2lwv .FilterButton.svelte-1ne2lwv{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController.svelte-1ne2lwv .FilterButton.MobileClass.svelte-1ne2lwv{font-size:10px}.FiltersController.svelte-1ne2lwv .Active.svelte-1ne2lwv{background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}.FiltersController.svelte-1ne2lwv .Active.svelte-1ne2lwv:hover{background-color:var(--emfe-w-color-gray-300, #58586B);border:1px solid var(--emfe-w-color-gray-300, #58586B)}")}function N(l,t,n){const i=l.slice();return i[22]=t[n],i[24]=n,i}function S(l){let t,n,i=l[4]("tournaments")+"",s,_,y,p=e.ensure_array_like(l[1]),a=[];for(let o=0;o<p.length;o+=1)a[o]=L(N(l,p,o));return{c(){t=e.element("ul"),n=e.element("li"),s=e.text(i),_=e.text(":"),y=e.space();for(let o=0;o<a.length;o+=1)a[o].c();e.attr(n,"class","FiltersTitle "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty")+" svelte-1ne2lwv"),e.attr(n,"part","FiltersTitle "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(t,"class","FiltersList "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty")+" svelte-1ne2lwv"),e.attr(t,"part","FiltersList "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty"))},m(o,b){e.insert(o,t,b),e.append(t,n),e.append(n,s),e.append(n,_),e.append(t,y);for(let f=0;f<a.length;f+=1)a[f]&&a[f].m(t,null)},p(o,b){if(b&16&&i!==(i=o[4]("tournaments")+"")&&e.set_data(s,i),b&126){p=e.ensure_array_like(o[1]);let f;for(f=0;f<p.length;f+=1){const c=N(o,p,f);a[f]?a[f].p(c,b):(a[f]=L(c),a[f].c(),a[f].m(t,null))}for(;f<a.length;f+=1)a[f].d(1);a.length=p.length}},d(o){o&&e.detach(t),e.destroy_each(a,o)}}}function E(l){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"d","M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"),e.attr(n,"class","svelte-1ne2lwv"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"width","16"),e.attr(t,"height","16"),e.attr(t,"fill","currentColor"),e.attr(t,"class","bi bi-check svelte-1ne2lwv"),e.attr(t,"part","bi bi-check"),e.attr(t,"viewBox","0 0 16 16")},m(i,s){e.insert(i,t,s),e.append(t,n)},d(i){i&&e.detach(t)}}}function z(l){let t=l[4]("scheduled")+"",n;return{c(){n=e.text(t)},m(i,s){e.insert(i,n,s)},p(i,s){s&16&&t!==(t=i[4]("scheduled")+"")&&e.set_data(n,t)},d(i){i&&e.detach(n)}}}function B(l){let t=l[4]("ongoing")+"",n;return{c(){n=e.text(t)},m(i,s){e.insert(i,n,s)},p(i,s){s&16&&t!==(t=i[4]("ongoing")+"")&&e.set_data(n,t)},d(i){i&&e.detach(n)}}}function O(l){let t=l[4]("finished")+"",n;return{c(){n=e.text(t)},m(i,s){e.insert(i,n,s)},p(i,s){s&16&&t!==(t=i[4]("finished")+"")&&e.set_data(n,t)},d(i){i&&e.detach(n)}}}function j(l){let t=l[4]("all")+"",n;return{c(){n=e.text(t)},m(i,s){e.insert(i,n,s)},p(i,s){s&16&&t!==(t=i[4]("all")+"")&&e.set_data(n,t)},d(i){i&&e.detach(n)}}}function L(l){let t,n,i,s,_,y,p,a,o,b,f,c,u=(l[2][l[24]]==1||l[3]&&l[24]==0)&&E(),h=l[22]=="Scheduled"&&z(l),g=l[22]=="Ongoing"&&B(l),v=l[22]=="Finished"&&O(l),m=l[22]=="All"&&j(l);function k(){return l[12](l[22],l[24])}return{c(){t=e.element("li"),n=e.element("button"),u&&u.c(),i=e.space(),s=e.element("div"),h&&h.c(),_=e.space(),g&&g.c(),y=e.space(),v&&v.c(),p=e.space(),m&&m.c(),b=e.space(),e.attr(s,"class","FilterButton "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty")+" svelte-1ne2lwv"),e.attr(s,"part","FilterButton "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(n,"class",a=(l[2][l[24]]==1||l[3]&&l[24]==0?"Active":"")+" "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty")+" svelte-1ne2lwv"),e.attr(n,"part",o=(l[2][l[24]]==1||l[3]&&l[24]==0?"Active":"")+" "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(t,"class","FiltersItem svelte-1ne2lwv"),e.attr(t,"part","FiltersItem")},m(M,F){e.insert(M,t,F),e.append(t,n),u&&u.m(n,null),e.append(n,i),e.append(n,s),h&&h.m(s,null),e.append(s,_),g&&g.m(s,null),e.append(s,y),v&&v.m(s,null),e.append(s,p),m&&m.m(s,null),e.append(t,b),f||(c=e.listen(t,"click",k),f=!0)},p(M,F){l=M,l[2][l[24]]==1||l[3]&&l[24]==0?u||(u=E(),u.c(),u.m(n,i)):u&&(u.d(1),u=null),l[22]=="Scheduled"?h?h.p(l,F):(h=z(l),h.c(),h.m(s,_)):h&&(h.d(1),h=null),l[22]=="Ongoing"?g?g.p(l,F):(g=B(l),g.c(),g.m(s,y)):g&&(g.d(1),g=null),l[22]=="Finished"?v?v.p(l,F):(v=O(l),v.c(),v.m(s,p)):v&&(v.d(1),v=null),l[22]=="All"?m?m.p(l,F):(m=j(l),m.c(),m.m(s,null)):m&&(m.d(1),m=null),F&12&&a!==(a=(l[2][l[24]]==1||l[3]&&l[24]==0?"Active":"")+" "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty")+" svelte-1ne2lwv")&&e.attr(n,"class",a),F&12&&o!==(o=(l[2][l[24]]==1||l[3]&&l[24]==0?"Active":"")+" "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty"))&&e.attr(n,"part",o)},d(M){M&&e.detach(t),u&&u.d(),h&&h.d(),g&&g.d(),v&&v.d(),m&&m.d(),f=!1,c()}}}function R(l){let t,n=l[1].length>0&&S(l);return{c(){t=e.element("div"),n&&n.c(),e.attr(t,"class","FiltersController "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty")+" svelte-1ne2lwv"),e.attr(t,"part","FiltersController "+(e.isMobile(l[5])?"MobileClass":"Non-MobileClass/empty"))},m(i,s){e.insert(i,t,s),n&&n.m(t,null),l[13](t)},p(i,[s]){i[1].length>0?n?n.p(i,s):(n=S(i),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:e.noop,o:e.noop,d(i){i&&e.detach(t),n&&n.d(),l[13](null)}}}function q(l,t,n){let i;e.component_subscribe(l,e.$format,r=>n(4,i=r));let{filters:s=""}=t,{activefilters:_=""}=t,{translationurl:y=""}=t,{clientstyling:p=""}=t,{clientstylingurl:a=""}=t,o,b=[],f=0,c=new Array(100),u=!0,h=window.navigator.userAgent;const g=()=>{fetch(y).then(d=>d.json()).then(d=>{Object.keys(d).forEach(w=>{T(w,d[w])})}).catch(d=>{console.log(d)})};Object.keys(A).forEach(r=>{T(r,A[r])});const v=(r,d)=>{if(d==0)n(3,u=!0),n(2,c=new Array(f)),window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else if(n(3,u=!1),c[d]==1?(n(2,c[d]=0,c),c.indexOf(1)==-1&&n(3,u=!0)):n(2,c[d]=1,c),c.indexOf(1)==-1)window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else{let w=[];for(let C=0;C<b.length;C++)c[C]==1&&w.push(b[C]);window.postMessage({type:"TournamentsFiltersSelected",filters:w},window.location.href)}},m=()=>{n(1,b=s.split(",")),f=b.length},k=()=>{let r=_.split(",");n(2,c=new Array(f)),r.indexOf("All")!=-1?n(3,u=!0):(n(3,u=!1),r.forEach(d=>{let w=b.indexOf(d);w>0&&n(2,c[w]=1,c)}))},M=()=>{let r=document.createElement("style");r.innerHTML=p,o.appendChild(r)},F=()=>{let r=new URL(a),d=document.createElement("style");fetch(r.href).then(w=>w.text()).then(w=>{d.innerHTML=w,setTimeout(()=>{o.appendChild(d)},1),setTimeout(()=>{},500)})},I=(r,d)=>v(r,d);function U(r){e.binding_callbacks[r?"unshift":"push"](()=>{o=r,n(0,o)})}return l.$$set=r=>{"filters"in r&&n(7,s=r.filters),"activefilters"in r&&n(8,_=r.activefilters),"translationurl"in r&&n(9,y=r.translationurl),"clientstyling"in r&&n(10,p=r.clientstyling),"clientstylingurl"in r&&n(11,a=r.clientstylingurl)},l.$$.update=()=>{l.$$.dirty&1025&&o&&p&&M(),l.$$.dirty&2049&&o&&a&&F(),l.$$.dirty&512&&y&&g(),l.$$.dirty&128&&s&&m(),l.$$.dirty&256&&_&&k()},[o,b,c,u,i,h,v,s,_,y,p,a,I,U]}class P extends e.SvelteComponent{constructor(t){super(),e.init(this,t,q,R,e.safe_not_equal,{filters:7,activefilters:8,translationurl:9,clientstyling:10,clientstylingurl:11},H)}get filters(){return this.$$.ctx[7]}set filters(t){this.$$set({filters:t}),e.flush()}get activefilters(){return this.$$.ctx[8]}set activefilters(t){this.$$set({activefilters:t}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}}e.create_custom_element(P,{filters:{},activefilters:{},translationurl:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=P;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-BgoGP80M.cjs");function x(i,t){e.addMessages(i,t)}function ee(i){e.$locale.set(i)}const E={en:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet count",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished",startingAt:"Starting at:",startedAt:"Started at:",startingAtWithTime:"Starts {startTime}",startedAtWithTime:"Started {startTime}",mostRounds:"Most Rounds",betCount:"Number of Bets",maxWinStakeRatio:"Max Win per Stake",winStakeRatio:"Total Win per Stake",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hr:{enrolled:"Upisan",scoreCriteria:"Kriterij rezultata",minbet:"Minimalan broj opklada",seegames:"Možete vidjeti igre",here:"ovdje",scheduled:"U tijeku",ongoing:"Završeno",finished:"Počinje u",startingAt:"Počinje u:",startedAt:"Počelo u:",startingAtWithTime:"Počinje {startTime}",startedAtWithTime:"Počelo {startTime}",mostRounds:"Najviše krugova",betCount:"Broj opklada",maxWinStakeRatio:"Maksimalni dobitak po ulogu",winStakeRatio:"Ukupni dobitak po ulogu",stake:"Ulog",January:"Siječanj",February:"Veljača",March:"Ožujak",April:"Travanj",May:"Svibanj",June:"Lipanj",July:"Srpanj",August:"Kolovoz",September:"Rujan",October:"Listopad",November:"Studeni",December:"Prosinac"},"zh-hk":{enrolled:"已註冊",scoreCriteria:"評分標準",minbet:"最小投注數:",seegames:"你可以看比賽",here:"這裡",scheduled:"預定的",ongoing:"進行中",finished:"完成的",startingAt:"開始於",startedAt:"大多數回合",mostRounds:"投注數",betCount:"投注计数",maxWinStakeRatio:"最大勝率",winStakeRatio:"勝率",stake:"Turnover",January:"一月",February:"二月",March:"行进",April:"四月",May:"可能",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},fr:{enrolled:"Inscrits",scoreCriteria:"Critères de notation",minbet:"nombre de paris minimum",seegames:"Vous pouvez voir les jeux",here:"ici",scheduled:"Programmé",ongoing:"En cours",finished:"Fini",startingAt:"À partir de:",startedAt:"Commencé à:",mostRounds:"Le plus grand nombre de tours",betCount:"Nombre de paris",maxWinStakeRatio:"Indice maximum du gain d'une mise",winStakeRatio:"Indice du gain d'une mise",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},ro:{enrolled:"Înscris",scoreCriteria:"Criterii de punctaj",minbet:"număr minim de pariuri",seegames:"Vezi jocurile",here:"aici",scheduled:"Programat",ongoing:"În curs",finished:"Finalizat",startingAt:"Începând de la",startedAt:"A inceput la:",mostRounds:"Cele mai multe runde",betCount:"Număr de pariuri",maxWinStakeRatio:"Pondere maximă a mizei din câștig",winStakeRatio:"Câștig Total per Miză",stake:"Turnover",January:"Ianuarie",February:"Februarie",March:"Martie",April:"Aprilie",May:"Mai",June:"Iunie",July:"Iulie",August:"August",September:"Septembrie",October:"Octombrie",November:"Noiembrie",December:"Decembrie"},tr:{enrolled:"Kayıtlı",scoreCriteria:"Puan Kriterleri",minbet:"minimum bahis sayısı",seegames:"Oyunları görebilirsiniz",here:"Burada",scheduled:"planlanmış",ongoing:"devam ediyor",finished:"Bitti",startingAt:"Buradan başlayarak:",startedAt:"Başlangıç:",mostRounds:"En Çok Tur",betCount:"Bahis Sayısı",maxWinStakeRatio:"Bahis Başına Maksimum Kazanç",winStakeRatio:"Bahis Başına Toplam Kazanç",stake:"Devir",January:"Ocak",February:"Şubat",March:"Mart",April:"Nisan",May:"Mayıs",June:"Haziran",July:"Temmuz",August:"Ağustos",September:"Eylül",October:"Ekim",November:"Kasım",December:"Aralık",startingAtWithTime:"{startTime} başlar",startedAtWithTime:"{startTime} başlatıldı"},el:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων",seegames:"Μπορείς να δεις τα παιχνίδια",here:"εδώ",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα",startingAt:"Αρχίζει στις:",startedAt:"Άρχισε στις:",startingAtWithTime:"Αρχίζει στις {startTime}",startedAtWithTime:"Άρχισε στις {startTime}",mostRounds:"Οι περισσότεροι γύροι",betCount:"Οι περισσότεροι γύροι",maxWinStakeRatio:"Μεγαλύτερο Κέρδος άνα Ποντάρισμα",winStakeRatio:"Συνολική Αναλογία Κερδών άνα Ποντάρισμα",stake:"Turnover",January:"Ιανουαρίου",February:"Φεβρουαρίου",March:"Μαρτίου",April:"Απριλίου",May:"Μαΐου",June:"Ιουνίου",July:"Ιουλίου",August:"Αυγούστου",September:"Σεπτεμβρίου",October:"Οκτωβρίου",November:"Νοεμβρίου",December:"Δεκεμβρίου"},es:{enrolled:"Participando",scoreCriteria:"Regla de puntos",minbet:"Apuesta mínima",seegames:"Puede ver los juegos aquí",here:"aquí",scheduled:"Programado",ongoing:"En Vivo",finished:"Finalizado",startingAt:"Iniciando en:",startedAt:"Inicio:",mostRounds:"Más rondas",betCount:"Número de Apuestas",maxWinStakeRatio:"Máxima Ganancia por Apuesta",winStakeRatio:"Total Ganancia por Apuestas",stake:"Turnover",January:"Enero",February:"Febrero",March:"Marzo",April:"April",May:"Mayo",June:"Junio",July:"Julio",August:"Agosto",September:"Septiembre",October:"Octubre",November:"Noviembre",December:"Diciembre"},pt:{enrolled:"Inscrito",scoreCriteria:"Critérios de pontuação",minbet:"Contagens de aposta mínima",seegames:"Você pode ver os jogos",here:"Aqui",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado",startingAt:"Começando às:",startedAt:"Começou às:",mostRounds:"Mais rodadas",betCount:"Contagem de Apostas",maxWinStakeRatio:"Rácio máximo de vitórias",winStakeRatio:"Rácio de Vitórias",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"},hu:{enrolled:"Feliratkozott",scoreCriteria:"Pontozási kritériumok",minbet:"Minimális tét",seegames:"Játékok megnézése",here:"itt",scheduled:"Ütemezés",ongoing:"Folyamatban lévő",finished:"Befejezett",startingAt:"Kezdődik",startedAt:"Started at:",mostRounds:"Legtöbb kör",betCount:"Számított tét",maxWinStakeRatio:"Maximális nyeremény tétenként",winStakeRatio:"Összes nyeremény tétenként",stake:"Turnover",January:"January",February:"February",March:"March",April:"April",May:"May",June:"June",July:"July",August:"August",September:"September",October:"October",November:"November",December:"December"}};function te(i){e.append_styles(i,"svelte-7aiybk",':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.svelte-7aiybk.svelte-7aiybk,.svelte-7aiybk.svelte-7aiybk::before,.svelte-7aiybk.svelte-7aiybk::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}a.svelte-7aiybk.svelte-7aiybk{color:var(--emfe-w-color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail.svelte-7aiybk.svelte-7aiybk{position:relative}.Thumbnail.svelte-7aiybk .CardImg.svelte-7aiybk{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail.svelte-7aiybk .CardImg.CardImgFinished.svelte-7aiybk{filter:grayscale(1)}.Thumbnail.svelte-7aiybk .Status.svelte-7aiybk{background:var(--emfe-w-color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail.svelte-7aiybk .Enrolled.svelte-7aiybk{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail.svelte-7aiybk .Details.svelte-7aiybk{padding:10px 20px 0}.Thumbnail.svelte-7aiybk .Details .Title.svelte-7aiybk{font-size:18px;padding-bottom:10px}.Thumbnail.svelte-7aiybk .Details .Date.svelte-7aiybk{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail.svelte-7aiybk .Details .ScoreCriteria.svelte-7aiybk{font-size:12px;padding-bottom:4px}.Thumbnail.svelte-7aiybk .Details .Games.svelte-7aiybk{font-size:12px}')}function P(i){let t,a,n,l,u,s;return{c(){t=e.element("div"),a=e.text(i[13]),e.attr(t,"class",n="Status "+i[15]+" svelte-7aiybk"),e.attr(t,"part",l="Status "+i[15])},m(o,b){e.insert(o,t,b),e.append(t,a),u||(s=e.action_destroyer(i[18].call(null,t)),u=!0)},p(o,b){b[0]&8192&&e.set_data(a,o[13]),b[0]&32768&&n!==(n="Status "+o[15]+" svelte-7aiybk")&&e.attr(t,"class",n),b[0]&32768&&l!==(l="Status "+o[15])&&e.attr(t,"part",l)},d(o){o&&e.detach(t),u=!1,s()}}}function L(i){let t,a=i[5]&&B(i);return{c(){a&&a.c(),t=e.empty()},m(n,l){a&&a.m(n,l),e.insert(n,t,l)},p(n,l){n[5]?a?a.p(n,l):(a=B(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function B(i){let t,a=i[16]("enrolled")+"",n;return{c(){t=e.element("div"),n=e.text(a),e.attr(t,"class","Enrolled svelte-7aiybk"),e.attr(t,"part","Enrolled")},m(l,u){e.insert(l,t,u),e.append(t,n)},p(l,u){u[0]&65536&&a!==(a=l[16]("enrolled")+"")&&e.set_data(n,a)},d(l){l&&e.detach(t)}}}function ae(i){let t,a,n,l,u;return{c(){t=e.element("div"),e.attr(t,"class",a="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")+" svelte-7aiybk"),e.attr(t,"part",n="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.set_style(t,"background-image","url('https://i.stack.imgur.com/y9DpT.jpg')")},m(s,o){e.insert(s,t,o),l||(u=e.action_destroyer(i[18].call(null,t)),l=!0)},p(s,o){o[0]&1&&a!==(a="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":"")+" svelte-7aiybk")&&e.attr(t,"class",a),o[0]&1&&n!==(n="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",n)},d(s){s&&e.detach(t),l=!1,u()}}}function ie(i){let t,a,n,l,u;return{c(){t=e.element("div"),e.attr(t,"class",a="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")+" svelte-7aiybk"),e.attr(t,"part",n="CardImg "+(i[0]=="Closing"||i[0]=="Closed"?"CardImgFinished":"")),e.set_style(t,"background-image","url('"+i[4]+"')")},m(s,o){e.insert(s,t,o),l||(u=e.action_destroyer(i[18].call(null,t)),l=!0)},p(s,o){o[0]&1&&a!==(a="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":"")+" svelte-7aiybk")&&e.attr(t,"class",a),o[0]&1&&n!==(n="CardImg "+(s[0]=="Closing"||s[0]=="Closed"?"CardImgFinished":""))&&e.attr(t,"part",n),o[0]&16&&e.set_style(t,"background-image","url('"+s[4]+"')")},d(s){s&&e.detach(t),l=!1,u()}}}function U(i){let t,a,n,l,u;return{c(){t=e.element("div"),a=e.text(i[11]),e.attr(t,"class","Date svelte-7aiybk"),e.attr(t,"part","Date")},m(s,o){e.insert(s,t,o),e.append(t,a),l||(u=e.action_destroyer(n=i[17].call(null,t,i[2])),l=!0)},p(s,o){o[0]&2048&&e.set_data(a,s[11]),n&&e.is_function(n.update)&&o[0]&4&&n.update.call(null,s[2])},d(s){s&&e.detach(t),l=!1,u()}}}function G(i){let t,a,n=i[16]("scoreCriteria")+"",l,u,s,o,b,S=i[16]("minbet")+"",g,f,C,T,y,c,m,d=i[16]("seegames")+"",p,D,k,A=i[16]("here")+"",j,M,w,R;return{c(){t=e.element("div"),a=e.element("p"),l=e.text(n),u=e.text(`:
|
|
2
|
-
|
|
3
|
-
`),s=e.element("span"),o=e.text(i[14]),b=e.text(`
|
|
4
|
-
(`),g=e.text(S),f=e.space(),C=e.text(i[6]),T=e.text(")"),y=e.space(),c=e.element("div"),m=e.element("p"),p=e.text(d),D=e.space(),k=e.element("a"),j=e.text(A),e.attr(s,"part","ScoreCriteriaSpan"),e.attr(s,"class","svelte-7aiybk"),e.attr(a,"part","ScoreCriteriaP"),e.attr(a,"class","svelte-7aiybk"),e.attr(t,"class","ScoreCriteria svelte-7aiybk"),e.attr(t,"part","ScoreCriteria"),e.attr(k,"part","GamesAnchor"),e.attr(k,"href",i[8]),e.attr(k,"target",M=i[9]==="true"?"_self":"_blank"),e.attr(k,"class","svelte-7aiybk"),e.attr(m,"part","GamesP"),e.attr(m,"class","svelte-7aiybk"),e.attr(c,"class","Games svelte-7aiybk"),e.attr(c,"part","Games")},m(h,_){e.insert(h,t,_),e.append(t,a),e.append(a,l),e.append(a,u),e.append(a,s),e.append(s,o),e.append(a,b),e.append(a,g),e.append(a,f),e.append(a,C),e.append(a,T),e.insert(h,y,_),e.insert(h,c,_),e.append(c,m),e.append(m,p),e.append(m,D),e.append(m,k),e.append(k,j),w||(R=[e.action_destroyer(i[19].call(null,s)),e.listen(k,"click",i[28])],w=!0)},p(h,_){_[0]&65536&&n!==(n=h[16]("scoreCriteria")+"")&&e.set_data(l,n),_[0]&16384&&e.set_data(o,h[14]),_[0]&65536&&S!==(S=h[16]("minbet")+"")&&e.set_data(g,S),_[0]&64&&e.set_data(C,h[6]),_[0]&65536&&d!==(d=h[16]("seegames")+"")&&e.set_data(p,d),_[0]&65536&&A!==(A=h[16]("here")+"")&&e.set_data(j,A),_[0]&256&&e.attr(k,"href",h[8]),_[0]&512&&M!==(M=h[9]==="true"?"_self":"_blank")&&e.attr(k,"target",M)},d(h){h&&(e.detach(t),e.detach(y),e.detach(c)),w=!1,e.run_all(R)}}}function re(i){let t,a,n,l,u,s,o,b,S,g=i[0]&&P(i),f=i[7]=="true"&&L(i);function C(d,p){return d[4]?ie:ae}let T=C(i),y=T(i),c=i[2]&&U(i),m=i[12]&&G(i);return{c(){t=e.element("div"),g&&g.c(),a=e.space(),f&&f.c(),n=e.space(),y.c(),l=e.space(),u=e.element("div"),s=e.element("div"),o=e.text(i[1]),b=e.space(),c&&c.c(),S=e.space(),m&&m.c(),e.attr(s,"class","Title svelte-7aiybk"),e.attr(s,"part","Title"),e.attr(u,"class","Details svelte-7aiybk"),e.attr(u,"part","Details"),e.attr(t,"class","Thumbnail svelte-7aiybk"),e.attr(t,"part","Thumbnail")},m(d,p){e.insert(d,t,p),g&&g.m(t,null),e.append(t,a),f&&f.m(t,null),e.append(t,n),y.m(t,null),e.append(t,l),e.append(t,u),e.append(u,s),e.append(s,o),e.append(u,b),c&&c.m(u,null),e.append(u,S),m&&m.m(u,null),i[29](t)},p(d,p){d[0]?g?g.p(d,p):(g=P(d),g.c(),g.m(t,a)):g&&(g.d(1),g=null),d[7]=="true"?f?f.p(d,p):(f=L(d),f.c(),f.m(t,n)):f&&(f.d(1),f=null),T===(T=C(d))&&y?y.p(d,p):(y.d(1),y=T(d),y&&(y.c(),y.m(t,l))),p[0]&2&&e.set_data(o,d[1]),d[2]?c?c.p(d,p):(c=U(d),c.c(),c.m(u,S)):c&&(c.d(1),c=null),d[12]?m?m.p(d,p):(m=G(d),m.c(),m.m(u,null)):m&&(m.d(1),m=null)},i:e.noop,o:e.noop,d(d){d&&e.detach(t),g&&g.d(),f&&f.d(),y.d(),c&&c.d(),m&&m.d(),i[29](null)}}}function ne(i,t,a){let n;e.component_subscribe(i,e.$format,r=>a(16,n=r));let{session:l=""}=t,{userid:u=""}=t,{title:s=""}=t,{startdate:o=""}=t,{status:b=""}=t,{tourid:S=""}=t,{thumbnail:g=""}=t,{userenrolled:f=""}=t,{scorecriteria:C=""}=t,{minbetcount:T=""}=t,{showenrolled:y="false"}=t,{gameurl:c=""}=t,{lang:m="en"}=t,{keepbrowsercontext:d="false"}=t,{clientstyling:p=""}=t,{clientstylingurl:D=""}=t,{translationurl:k=""}=t,A,j="",M=!1,w="",R="",h="";const _=()=>{fetch(k).then(v=>v.json()).then(v=>{Object.keys(v).forEach(J=>{x(J,v[J])})}).catch(v=>{console.log(v)})};Object.keys(E).forEach(r=>{x(r,E[r])});const N=r=>{r.data&&(r.data&&r.data.type=="SessionID"&&a(12,M=!0),r.data.type==`TournamentStatus_${S}`&&a(0,b=r.data.status))},z=()=>{const r={month:"long"};let v=new Date(o),J=new Intl.DateTimeFormat("en",r).format(v),Q=v.getDate(),X=v.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",hour12:!1});const $=()=>n(b==="Running"?"startedAt":"startingAt");a(11,j=`${Q} `+n(`${J}`)+", "+$()+` ${X}`)},F=()=>{b=="Unstarted"&&(a(13,w=n("scheduled")),a(15,h="StatusUnstarted")),b=="Running"&&(a(13,w=n("ongoing")),a(15,h="StatusRunning")),(b=="Closed"||b=="Closing")&&a(13,w=n("finished")),b=="Closed"&&a(15,h="StatusClosed"),b=="Closing"&&a(15,h="StatusClosing")},I=()=>{C=="BetCount"&&a(14,R=n("betCount")),C=="MaxWinStakeRatio"&&a(14,R=n("maxWinStakeRatio")),C=="WinStakeRatio"&&a(14,R=n("winStakeRatio")),C=="Stake"&&a(14,R=n("stake"))},O=(r,v)=>{window.postMessage({type:"tournamentGamesClicked",tourId:v},window.location.href)},H=()=>{l.length>0&&l!="false"?a(12,M=!0):a(12,M=!1)},V=()=>{let r=document.createElement("style");r.innerHTML=p,A.appendChild(r)},q=()=>{let r=new URL(D),v=document.createElement("style");fetch(r.href).then(J=>J.text()).then(J=>{v.innerHTML=J,setTimeout(()=>{A.appendChild(v)},1),setTimeout(()=>{},500)})};e.onMount(()=>(setTimeout(()=>W(),1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",N,!1),()=>{window.removeEventListener("message",N)}));const W=()=>{ee(m),I(),F(),o&&z()},Y=()=>O();function Z(r){e.binding_callbacks[r?"unshift":"push"](()=>{A=r,a(10,A)})}return i.$$set=r=>{"session"in r&&a(21,l=r.session),"userid"in r&&a(22,u=r.userid),"title"in r&&a(1,s=r.title),"startdate"in r&&a(2,o=r.startdate),"status"in r&&a(0,b=r.status),"tourid"in r&&a(3,S=r.tourid),"thumbnail"in r&&a(4,g=r.thumbnail),"userenrolled"in r&&a(5,f=r.userenrolled),"scorecriteria"in r&&a(23,C=r.scorecriteria),"minbetcount"in r&&a(6,T=r.minbetcount),"showenrolled"in r&&a(7,y=r.showenrolled),"gameurl"in r&&a(8,c=r.gameurl),"lang"in r&&a(24,m=r.lang),"keepbrowsercontext"in r&&a(9,d=r.keepbrowsercontext),"clientstyling"in r&&a(25,p=r.clientstyling),"clientstylingurl"in r&&a(26,D=r.clientstylingurl),"translationurl"in r&&a(27,k=r.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&33555456&&A&&p&&V(),i.$$.dirty[0]&67109888&&A&&D&&q(),i.$$.dirty[0]&134217728&&k&&_(),i.$$.dirty[0]&2097152&&l&&H(),i.$$.dirty[0]&1&&b&&F(),i.$$.dirty[0]&16777218&&s&&m&&W(),i.$$.dirty[0]&4&&o&&z(),i.$$.dirty[0]&8388608&&C&&I()},[b,s,o,S,g,f,T,y,c,d,A,j,M,w,R,h,n,z,F,I,O,l,u,C,m,p,D,k,Y,Z]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ne,re,e.safe_not_equal,{session:21,userid:22,title:1,startdate:2,status:0,tourid:3,thumbnail:4,userenrolled:5,scorecriteria:23,minbetcount:6,showenrolled:7,gameurl:8,lang:24,keepbrowsercontext:9,clientstyling:25,clientstylingurl:26,translationurl:27},te,[-1,-1])}get session(){return this.$$.ctx[21]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[22]}set userid(t){this.$$set({userid:t}),e.flush()}get title(){return this.$$.ctx[1]}set title(t){this.$$set({title:t}),e.flush()}get startdate(){return this.$$.ctx[2]}set startdate(t){this.$$set({startdate:t}),e.flush()}get status(){return this.$$.ctx[0]}set status(t){this.$$set({status:t}),e.flush()}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get thumbnail(){return this.$$.ctx[4]}set thumbnail(t){this.$$set({thumbnail:t}),e.flush()}get userenrolled(){return this.$$.ctx[5]}set userenrolled(t){this.$$set({userenrolled:t}),e.flush()}get scorecriteria(){return this.$$.ctx[23]}set scorecriteria(t){this.$$set({scorecriteria:t}),e.flush()}get minbetcount(){return this.$$.ctx[6]}set minbetcount(t){this.$$set({minbetcount:t}),e.flush()}get showenrolled(){return this.$$.ctx[7]}set showenrolled(t){this.$$set({showenrolled:t}),e.flush()}get gameurl(){return this.$$.ctx[8]}set gameurl(t){this.$$set({gameurl:t}),e.flush()}get lang(){return this.$$.ctx[24]}set lang(t){this.$$set({lang:t}),e.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),e.flush()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(K,{session:{},userid:{},title:{},startdate:{},status:{},tourid:{},thumbnail:{},userenrolled:{},scorecriteria:{},minbetcount:{},showenrolled:{},gameurl:{},lang:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=K;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var X=(n,t,i)=>new Promise((s,r)=>{var l=d=>{try{m(i.next(d))}catch(f){r(f)}},a=d=>{try{m(i.throw(d))}catch(f){r(f)}},m=d=>d.done?s(d.value):Promise.resolve(d.value).then(l,a);m((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-BgoGP80M.cjs");function Ie({withLocale:n,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function _e(n,t){e.addMessages(n,t)}const he={en:{login:"Log in",register:"Register",details:"Details",enrolled:"Enrolled",join:"Join",joinerror:"An error occurred while registering in the tournament, please try again."},hr:{login:"Prijava",register:"Registracija",details:"Detalji",enrolled:"Upisan",join:"Pridruži se",joinerror:"Došlo je do pogreške prilikom registracije na turnir, molimo pokušajte ponovno."},"zh-hk":{login:"登錄",register:"登記",details:"細節",enrolled:"已註冊",join:"加入",joinerror:"加入錦標賽時出錯,請重試"},fr:{login:"Connexion",register:"Enregistre",details:"Détails",enrolled:"Inscrits",join:"Rejoignez",joinerror:"Une erreur s'est produite lors de l'inscription au tournoi"},ro:{login:"Autentificare",register:"Înregistrare",details:"Detalii",enrolled:"Înscris",join:"Participă",joinerror:"A apărut o eroare la înregistrarea în turneu, te rugăm să încerci din nou."},tr:{login:"Giriş yapmak",register:"Kayıt olmak",details:"Detaylar",enrolled:"Katıldın",join:"Katılmak",joinerror:"Turnuvaya kayıt olurken bir hata oluştu, lütfen tekrar deneyin."},el:{login:"Είσοδος",register:"Εγγραφή",details:"Λεπτομέρειες",enrolled:"Εγγεγραμμένος",join:"Συμμετοχή",joinerror:"Παρουσιάστηκε σφάλμα κατά τη διαδικασία εγγραφής στο τουρνουά, παρακαλούμε δοκιμάστε ξανά."},es:{login:"Iniciar sesión",register:"Regístrate",details:"Detalles",enrolled:"Participando",join:"Unirse",joinerror:"Ha ocurrido un error mientras se registra en el Torneo"},hu:{login:"Bejelentkezés",register:"Regisztráció",details:"Adatok",enrolled:"Feliratkozott",join:"Csatlakozás",joinerror:"Hiba történt a versenyre való regisztráció során, kérjük próbálja újra."},pt:{login:"Entrar",register:"Registro",details:"Detalhes",enrolled:"Inscrito",join:"Junte-se",joinerror:"Ocorreu um erro ao entrar no torneio"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnail-B5svaS7p.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail")&&customElements.define("casino-tournaments-thumbnail",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailDuration-BZyUIEUp.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-duration")&&customElements.define("casino-tournaments-thumbnail-duration",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailPrizes-CPmYLRmC.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-prizes")&&customElements.define("casino-tournaments-thumbnail-prizes",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailGamesSlider-CuGCo4r6.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-games-slider")&&customElements.define("casino-tournaments-thumbnail-games-slider",t.element)})}function xe(n){e.append_styles(n,"svelte-m5izi2",'.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2,.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2::before,.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}button.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{cursor:pointer}.TournamentCard.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{position:relative;background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF);border:solid 1px #30313c;gap:20px;display:flex;flex-direction:column;padding-bottom:20px;margin:0 auto}.CardFullSize.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{width:100%}.CardMaxWidth.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{max-width:600px}.TournamentButtons.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{display:flex;justify-content:center;gap:20px;margin:0 20px}.TournamentButtons.svelte-m5izi2 button.svelte-m5izi2.svelte-m5izi2{cursor:pointer}.LoginButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:15px}.LoginButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.RegisterButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:50%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px}.RegisterButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.DetailsButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:40%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.DetailsLargeButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:50px;border:solid var(--emfe-w-color-white, #FFFFFF) 1px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;font-size:14px}.DetailsLargeButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.EnrolledButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-contrast, #07072A);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-green, #48952a);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;font-size:14px;cursor:default}.JoinButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{background:var(--emfe-w-color-green, #48952a);width:60%;height:50px;text-align:center;color:var(--emfe-w-color-white, #FFFFFF);border:solid var(--emfe-w-color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px}.JoinButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:hover{opacity:0.7}.JoinButton.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2:disabled{cursor:default;opacity:0.7}.JoinButtonFullSize.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{width:100%}.ErrorText.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{margin:0 20px;color:red;font-size:14px;font-weight:bold}.ph-item.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{position:relative;display:flex;flex-wrap:wrap;margin-bottom:30px;padding:30px 15px 15px 15px;overflow:hidden;direction:ltr;background-color:var(--emfe-w-color-contrast, #07072A);border:1px solid var(--emfe-w-color-footer-bg, #212529);border-radius:2px}.ph-item.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2,.ph-item.svelte-m5izi2 .svelte-m5izi2.svelte-m5izi2,.ph-item.svelte-m5izi2 .svelte-m5izi2.svelte-m5izi2::after,.ph-item.svelte-m5izi2 .svelte-m5izi2.svelte-m5izi2::before{box-sizing:border-box}.ph-item.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2::before{position:absolute;top:0;right:0;bottom:0;left:50%;z-index:1;width:500%;margin-left:-250%;background:linear-gradient(to right, rgba(var(--emfe-w-color-contrast, #07072A), 0) 46%, rgba(var(--emfe-w-color-contrast, #07072A), 0.35) 50%, rgba(var(--emfe-w-color-contrast, #07072A), 0) 54%) 50% 50%;animation:svelte-m5izi2-phAnimation 0.8s linear infinite;content:" ";pointer-events:none}.ph-item.svelte-m5izi2>.svelte-m5izi2.svelte-m5izi2{display:flex;flex:1 1 auto;flex-flow:column;margin-bottom:15px;padding-right:15px;padding-left:15px}.ph-row.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{display:flex;flex-wrap:wrap;margin-top:-7.5px}.ph-row.svelte-m5izi2 div.svelte-m5izi2.svelte-m5izi2{height:10px;margin-top:7.5px;background-color:var(--emfe-w-color-gray-100, #E6E6E6)}.ph-row.svelte-m5izi2 .big.svelte-m5izi2.svelte-m5izi2{height:20px}.ph-row.svelte-m5izi2 .empty.svelte-m5izi2.svelte-m5izi2{background-color:rgba(var(--emfe-w-color-contrast, #07072A), 0)}.ph-col-4.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{flex:0 0 33.3333333333%}.ph-col-6.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{flex:0 0 50%}.ph-col-8.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{flex:0 0 66.6666666667%}.ph-col-12.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{flex:0 0 100%}[class*=ph-col].svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{direction:ltr}[class*=ph-col].svelte-m5izi2>.svelte-m5izi2+.ph-row.svelte-m5izi2{margin-top:0}[class*=ph-col].svelte-m5izi2>.svelte-m5izi2+.svelte-m5izi2{margin-top:7.5px}.ph-picture.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{width:100%;height:120px;background-color:var(--emfe-w-color-gray-100, #E6E6E6)}@keyframes svelte-m5izi2-phAnimation{0%{transform:translate3d(-30%, 0, 0)}100%{transform:translate3d(30%, 0, 0)}}svg.spinner.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{width:40px;height:40px;x:0px;y:0px;viewBox:0 0 40 40}svg.spinner.svelte-m5izi2 circle.svelte-m5izi2.svelte-m5izi2{fill:transparent;stroke:var(--emfe-w-color-contrast, #07072A);stroke-width:4;stroke-linecap:round;stroke-dasharray:125.6;-webkit-transform-origin:20px 20px 0;-moz-transform-origin:20px 20px 0;-ms-transform-origin:20px 20px 0;-o-transform-origin:20px 20px 0;transform-origin:20px 20px 0;-webkit-animation:svelte-m5izi2-spinner 2s linear infinite;-moz-animation:svelte-m5izi2-spinner 2s linear infinite;-ms-animation:svelte-m5izi2-spinner 2s linear infinite;-o-animation:svelte-m5izi2-spinner 2s linear infinite;animation:svelte-m5izi2-spinner 2s linear infinite}@-webkit-keyframes svelte-m5izi2-spinner{0%{-webkit-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-webkit-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-webkit-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-moz-keyframes svelte-m5izi2-spinner{0%{-moz-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-moz-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-moz-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-ms-keyframes svelte-m5izi2-spinner{0%{-ms-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-ms-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-ms-transform:rotate(1080deg);stroke-dashoffset:26.4}}@-o-keyframes svelte-m5izi2-spinner{0%{-o-transform:rotate(0deg);stroke-dashoffset:26.4}50%{-o-transform:rotate(720deg);stroke-dashoffset:125.6}100%{-o-transform:rotate(1080deg);stroke-dashoffset:26.4}}@keyframes svelte-m5izi2-spinner{0%{transform:rotate(0deg);stroke-dashoffset:26.4}50%{transform:rotate(720deg);stroke-dashoffset:125.6}100%{transform:rotate(1080deg);stroke-dashoffset:26.4}}@-webkit-keyframes svelte-m5izi2-fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@keyframes svelte-m5izi2-fadein{0%{opacity:0}40%{opacity:0}100%{opacity:1}}@-webkit-keyframes svelte-m5izi2-fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}@keyframes svelte-m5izi2-fadeout{0%{opacity:1}40%{opacity:0}100%{opacity:0}}.elementToFadeIn.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{-webkit-animation:svelte-m5izi2-fadein 2s linear forwards;animation:svelte-m5izi2-fadein 2s linear forwards}.elementToFadeOut.svelte-m5izi2.svelte-m5izi2.svelte-m5izi2{-webkit-animation:svelte-m5izi2-fadeout 0.1s ease-out forwards;animation:svelte-m5izi2-fadeout 0.1s ease-out forwards}')}function Je(n){let t,i,s,r,l,a,m,d,f,c=n[14]&&ge(n);function p(u,_){if(!u[14])return qe;if(u[23]!="Closed"&&u[23]!="Closing")return He;if(u[3]=="true")return Ue}let b=p(n),z=b&&b(n),g=(n[17]||n[19])&&we(n),v=n[4]=="true"&&be(n);return{c(){t=e.element("div"),i=e.element("casino-tournaments-thumbnail"),s=e.space(),c&&c.c(),r=e.space(),l=e.element("div"),z&&z.c(),a=e.space(),g&&g.c(),m=e.space(),v&&v.c(),e.set_custom_element_data(i,"session",n[0]),e.set_custom_element_data(i,"userid",n[1]),e.set_custom_element_data(i,"title",n[20]),e.set_custom_element_data(i,"status",n[23]),e.set_custom_element_data(i,"startdate",n[21]),e.set_custom_element_data(i,"tourid",n[24]),e.set_custom_element_data(i,"scorecriteria",n[27]),e.set_custom_element_data(i,"minbetcount",n[28]),e.set_custom_element_data(i,"thumbnail",n[25]),e.set_custom_element_data(i,"showenrolled",n[5]),e.set_custom_element_data(i,"gameurl",n[30]),e.set_custom_element_data(i,"userenrolled",n[26]),e.set_custom_element_data(i,"clientstyling",n[10]),e.set_custom_element_data(i,"clientstylingurl",n[11]),e.set_custom_element_data(i,"translationurl",n[12]),e.set_custom_element_data(i,"lang",n[8]),e.set_custom_element_data(i,"keepbrowsercontext",n[9]),e.set_custom_element_data(i,"exportparts","Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing"),e.set_custom_element_data(i,"class","svelte-m5izi2"),e.attr(l,"class","TournamentButtons svelte-m5izi2"),e.attr(l,"part","TournamentButtons"),e.attr(t,"class",d="TournamentCard "+(n[6]?"CardMaxWidth":"")+(n[7]?"CardFullSize":"")+" "+(n[31]?"elementToFadeOut":"elementToFadeIn")+" svelte-m5izi2"),e.attr(t,"part",f="TournamentCard "+(n[6]?"CardMaxWidth":"")+(n[7]?"CardFullSize":"")+" "+(n[31]?"elementToFadeOut":"elementToFadeIn")+" "+(n[31]?"elementToFadeOut":"elementToFadeIn"))},m(u,_){e.insert(u,t,_),e.append(t,i),e.append(t,s),c&&c.m(t,null),e.append(t,r),e.append(t,l),z&&z.m(l,null),e.append(t,a),g&&g.m(t,null),e.append(t,m),v&&v.m(t,null)},p(u,_){_[0]&1&&e.set_custom_element_data(i,"session",u[0]),_[0]&2&&e.set_custom_element_data(i,"userid",u[1]),_[0]&1048576&&e.set_custom_element_data(i,"title",u[20]),_[0]&8388608&&e.set_custom_element_data(i,"status",u[23]),_[0]&2097152&&e.set_custom_element_data(i,"startdate",u[21]),_[0]&16777216&&e.set_custom_element_data(i,"tourid",u[24]),_[0]&134217728&&e.set_custom_element_data(i,"scorecriteria",u[27]),_[0]&268435456&&e.set_custom_element_data(i,"minbetcount",u[28]),_[0]&33554432&&e.set_custom_element_data(i,"thumbnail",u[25]),_[0]&32&&e.set_custom_element_data(i,"showenrolled",u[5]),_[0]&1073741824&&e.set_custom_element_data(i,"gameurl",u[30]),_[0]&67108864&&e.set_custom_element_data(i,"userenrolled",u[26]),_[0]&1024&&e.set_custom_element_data(i,"clientstyling",u[10]),_[0]&2048&&e.set_custom_element_data(i,"clientstylingurl",u[11]),_[0]&4096&&e.set_custom_element_data(i,"translationurl",u[12]),_[0]&256&&e.set_custom_element_data(i,"lang",u[8]),_[0]&512&&e.set_custom_element_data(i,"keepbrowsercontext",u[9]),u[14]?c?c.p(u,_):(c=ge(u),c.c(),c.m(t,r)):c&&(c.d(1),c=null),b===(b=p(u))&&z?z.p(u,_):(z&&z.d(1),z=b&&b(u),z&&(z.c(),z.m(l,null))),u[17]||u[19]?g?g.p(u,_):(g=we(u),g.c(),g.m(t,m)):g&&(g.d(1),g=null),u[4]=="true"?v?v.p(u,_):(v=be(u),v.c(),v.m(t,null)):v&&(v.d(1),v=null),_[0]&192|_[1]&1&&d!==(d="TournamentCard "+(u[6]?"CardMaxWidth":"")+(u[7]?"CardFullSize":"")+" "+(u[31]?"elementToFadeOut":"elementToFadeIn")+" svelte-m5izi2")&&e.attr(t,"class",d),_[0]&192|_[1]&1&&f!==(f="TournamentCard "+(u[6]?"CardMaxWidth":"")+(u[7]?"CardFullSize":"")+" "+(u[31]?"elementToFadeOut":"elementToFadeIn")+" "+(u[31]?"elementToFadeOut":"elementToFadeIn"))&&e.attr(t,"part",f)},d(u){u&&e.detach(t),c&&c.d(),z&&z.d(),g&&g.d(),v&&v.d()}}}function Re(n){let t,i,s,r;return{c(){t=e.element("div"),i=e.element("div"),i.innerHTML='<div class="ph-col-12 svelte-m5izi2" part="ph-col-12"><div class="ph-picture svelte-m5izi2" part="ph-picture"></div> <div class="ph-row svelte-m5izi2" part="ph-row"><div class="ph-col-6 big svelte-m5izi2" part="ph-col-6 big"></div> <div class="ph-col-4 empty big svelte-m5izi2" part="ph-col-4 empty big"></div> <div class="ph-col-4 svelte-m5izi2" part="ph-col-4"></div> <div class="ph-col-8 empty svelte-m5izi2" part="ph-col-8 empty"></div> <div class="ph-col-6 svelte-m5izi2" part="ph-col-6"></div> <div class="ph-col-6 empty svelte-m5izi2" part="ph-col-6 empty"></div> <div class="ph-col-12 svelte-m5izi2" part="ph-col-12"></div></div></div>',e.attr(i,"class","ph-item svelte-m5izi2"),e.attr(i,"part","ph-item"),e.attr(t,"class",s="TournamentCard "+(n[6]?"CardMaxWidth":"")+(n[7]?"CardFullSize":"")+" "+(n[31]?"elementToFadeOut":"elementToFadeIn")+" svelte-m5izi2"),e.attr(t,"part",r="TournamentCard "+(n[6]?"CardMaxWidth":"")+(n[7]?"CardFullSize":"")+" "+(n[31]?"elementToFadeOut":"elementToFadeIn")+" "+(n[31]?"elementToFadeOut":"elementToFadeIn"))},m(l,a){e.insert(l,t,a),e.append(t,i)},p(l,a){a[0]&192|a[1]&1&&s!==(s="TournamentCard "+(l[6]?"CardMaxWidth":"")+(l[7]?"CardFullSize":"")+" "+(l[31]?"elementToFadeOut":"elementToFadeIn")+" svelte-m5izi2")&&e.attr(t,"class",s),a[0]&192|a[1]&1&&r!==(r="TournamentCard "+(l[6]?"CardMaxWidth":"")+(l[7]?"CardFullSize":"")+" "+(l[31]?"elementToFadeOut":"elementToFadeIn")+" "+(l[31]?"elementToFadeOut":"elementToFadeIn"))&&e.attr(t,"part",r)},d(l){l&&e.detach(t)}}}function ge(n){let t,i,s=n[24]&&pe(n);return{c(){s&&s.c(),t=e.space(),i=e.element("casino-tournaments-thumbnail-duration"),e.set_custom_element_data(i,"clientstyling",n[10]),e.set_custom_element_data(i,"clientstylingurl",n[11]),e.set_custom_element_data(i,"translationurl",n[12]),e.set_custom_element_data(i,"status",n[23]),e.set_custom_element_data(i,"startdate",n[21]),e.set_custom_element_data(i,"lang",n[8]),e.set_custom_element_data(i,"enddate",n[22]),e.set_custom_element_data(i,"exportparts","TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill"),e.set_custom_element_data(i,"class","svelte-m5izi2")},m(r,l){s&&s.m(r,l),e.insert(r,t,l),e.insert(r,i,l)},p(r,l){r[24]?s?s.p(r,l):(s=pe(r),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),l[0]&1024&&e.set_custom_element_data(i,"clientstyling",r[10]),l[0]&2048&&e.set_custom_element_data(i,"clientstylingurl",r[11]),l[0]&4096&&e.set_custom_element_data(i,"translationurl",r[12]),l[0]&8388608&&e.set_custom_element_data(i,"status",r[23]),l[0]&2097152&&e.set_custom_element_data(i,"startdate",r[21]),l[0]&256&&e.set_custom_element_data(i,"lang",r[8]),l[0]&4194304&&e.set_custom_element_data(i,"enddate",r[22])},d(r){r&&(e.detach(t),e.detach(i)),s&&s.d(r)}}}function pe(n){let t,i,s,r;return{c(){t=e.element("casino-tournaments-thumbnail-prizes"),e.set_custom_element_data(t,"tourid",n[24]),e.set_custom_element_data(t,"clientstyling",n[10]),e.set_custom_element_data(t,"clientstylingurl",n[11]),e.set_custom_element_data(t,"translationurl",n[12]),e.set_custom_element_data(t,"exportparts","TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank, TournamentPrizesIconSection, TournamentPrizesIconWrapper"),e.set_custom_element_data(t,"class","svelte-m5izi2")},m(l,a){e.insert(l,t,a),s||(r=e.action_destroyer(i=n[37].call(null,t,n[24])),s=!0)},p(l,a){a[0]&16777216&&e.set_custom_element_data(t,"tourid",l[24]),a[0]&1024&&e.set_custom_element_data(t,"clientstyling",l[10]),a[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",l[11]),a[0]&4096&&e.set_custom_element_data(t,"translationurl",l[12]),i&&e.is_function(i.update)&&a[0]&16777216&&i.update.call(null,l[24])},d(l){l&&e.detach(t),s=!1,r()}}}function Ue(n){let t,i=n[32]("details")+"",s,r,l;return{c(){t=e.element("button"),s=e.text(i),e.attr(t,"class","DetailsLargeButton svelte-m5izi2"),e.attr(t,"part","DetailsLargeButton")},m(a,m){e.insert(a,t,m),e.append(t,s),r||(l=e.listen(t,"click",n[51]),r=!0)},p(a,m){m[1]&2&&i!==(i=a[32]("details")+"")&&e.set_data(s,i)},d(a){a&&e.detach(t),r=!1,l()}}}function He(n){let t,i,s=n[3]=="true"&&ve(n);function r(m,d){return m[26]?We:Ne}let l=r(n),a=l(n);return{c(){s&&s.c(),t=e.space(),a.c(),i=e.empty()},m(m,d){s&&s.m(m,d),e.insert(m,t,d),a.m(m,d),e.insert(m,i,d)},p(m,d){m[3]=="true"?s?s.p(m,d):(s=ve(m),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),l===(l=r(m))&&a?a.p(m,d):(a.d(1),a=l(m),a&&(a.c(),a.m(i.parentNode,i)))},d(m){m&&(e.detach(t),e.detach(i)),s&&s.d(m),a.d(m)}}}function qe(n){let t,i=n[32]("login")+"",s,r,l,a=n[32]("register")+"",m,d,f;return{c(){t=e.element("button"),s=e.text(i),r=e.space(),l=e.element("button"),m=e.text(a),e.attr(t,"class","LoginButton svelte-m5izi2"),e.attr(t,"part","LoginButton"),e.attr(l,"class","RegisterButton svelte-m5izi2"),e.attr(l,"part","RegisterButton")},m(c,p){e.insert(c,t,p),e.append(t,s),e.insert(c,r,p),e.insert(c,l,p),e.append(l,m),d||(f=[e.listen(t,"click",n[47]),e.listen(l,"click",n[48])],d=!0)},p(c,p){p[1]&2&&i!==(i=c[32]("login")+"")&&e.set_data(s,i),p[1]&2&&a!==(a=c[32]("register")+"")&&e.set_data(m,a)},d(c){c&&(e.detach(t),e.detach(r),e.detach(l)),d=!1,e.run_all(f)}}}function ve(n){let t,i=n[32]("details")+"",s,r,l;return{c(){t=e.element("button"),s=e.text(i),e.attr(t,"class","DetailsButton svelte-m5izi2"),e.attr(t,"part","DetailsButton")},m(a,m){e.insert(a,t,m),e.append(t,s),r||(l=e.listen(t,"click",n[49]),r=!0)},p(a,m){m[1]&2&&i!==(i=a[32]("details")+"")&&e.set_data(s,i)},d(a){a&&e.detach(t),r=!1,l()}}}function Ne(n){let t,i,s,r,l;function a(f,c){return f[16]==!0?Ke:Ge}let m=a(n),d=m(n);return{c(){t=e.element("button"),d.c(),e.attr(t,"class",i="JoinButton "+(n[7]?"JoinButtonFullSize":"")+" svelte-m5izi2"),e.attr(t,"part",s="JoinButton "+(n[7]?"JoinButtonFullSize":"")),t.disabled=n[17]},m(f,c){e.insert(f,t,c),d.m(t,null),r||(l=e.listen(t,"click",n[50]),r=!0)},p(f,c){m===(m=a(f))&&d?d.p(f,c):(d.d(1),d=m(f),d&&(d.c(),d.m(t,null))),c[0]&128&&i!==(i="JoinButton "+(f[7]?"JoinButtonFullSize":"")+" svelte-m5izi2")&&e.attr(t,"class",i),c[0]&128&&s!==(s="JoinButton "+(f[7]?"JoinButtonFullSize":""))&&e.attr(t,"part",s),c[0]&131072&&(t.disabled=f[17])},d(f){f&&e.detach(t),d.d(),r=!1,l()}}}function We(n){let t,i=n[3]=="true"&&ze(n);return{c(){i&&i.c(),t=e.empty()},m(s,r){i&&i.m(s,r),e.insert(s,t,r)},p(s,r){s[3]=="true"?i?i.p(s,r):(i=ze(s),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(s){s&&e.detach(t),i&&i.d(s)}}}function Ge(n){let t,i=n[32]("join")+"",s,r,l,a,m,d,f,c;return{c(){t=e.element("span"),s=e.text(i),r=e.space(),l=e.svg_element("svg"),a=e.svg_element("defs"),m=e.svg_element("style"),d=e.text(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),f=e.svg_element("g"),c=e.svg_element("path"),e.attr(t,"part","JoinButtonSpan"),e.attr(t,"class","svelte-m5izi2"),e.attr(m,"class","svelte-m5izi2"),e.attr(a,"class","svelte-m5izi2"),e.attr(c,"class","a svelte-m5izi2"),e.attr(c,"part","a JoinButtonSvgA"),e.attr(c,"d","M13,0,10.636,2.364l8.948,8.948H0v3.377H19.584l-8.948,8.948L13,26,26,13Z"),e.attr(c,"transform","translate(26 26) rotate(180)"),e.attr(f,"transform","translate(26 26) rotate(180)"),e.attr(f,"class","svelte-m5izi2"),e.attr(l,"part","JoinButtonSvg"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","26"),e.attr(l,"height","26"),e.attr(l,"viewBox","0 0 26 26"),e.attr(l,"class","svelte-m5izi2")},m(p,b){e.insert(p,t,b),e.append(t,s),e.insert(p,r,b),e.insert(p,l,b),e.append(l,a),e.append(a,m),e.append(m,d),e.append(l,f),e.append(f,c)},p(p,b){b[1]&2&&i!==(i=p[32]("join")+"")&&e.set_data(s,i)},d(p){p&&(e.detach(t),e.detach(r),e.detach(l))}}}function Ke(n){let t,i;return{c(){t=e.svg_element("svg"),i=e.svg_element("circle"),e.attr(i,"cx","20"),e.attr(i,"cy","20"),e.attr(i,"r","18"),e.attr(i,"class","svelte-m5izi2"),e.attr(t,"class","spinner svelte-m5izi2"),e.attr(t,"part","spinner")},m(s,r){e.insert(s,t,r),e.append(t,i)},p:e.noop,d(s){s&&e.detach(t)}}}function ze(n){let t,i=n[32]("enrolled")+"",s;return{c(){t=e.element("button"),s=e.text(i),e.attr(t,"class","EnrolledButton svelte-m5izi2"),e.attr(t,"part","EnrolledButton"),t.disabled=!0},m(r,l){e.insert(r,t,l),e.append(t,s)},p(r,l){l[1]&2&&i!==(i=r[32]("enrolled")+"")&&e.set_data(s,i)},d(r){r&&e.detach(t)}}}function we(n){let t,i=n[32]("joinerror")+"",s,r,l;return{c(){t=e.element("span"),s=e.text(i),r=e.space(),l=e.text(n[18]),e.attr(t,"class","ErrorText svelte-m5izi2"),e.attr(t,"part","ErrorText")},m(a,m){e.insert(a,t,m),e.append(t,s),e.append(t,r),e.append(t,l)},p(a,m){m[1]&2&&i!==(i=a[32]("joinerror")+"")&&e.set_data(s,i),m[0]&262144&&e.set_data(l,a[18])},d(a){a&&e.detach(t)}}}function be(n){let t;return{c(){t=e.element("casino-tournaments-thumbnail-games-slider"),e.set_custom_element_data(t,"clientstyling",n[10]),e.set_custom_element_data(t,"clientstylingurl",n[11]),e.set_custom_element_data(t,"translationurl",n[12]),e.set_custom_element_data(t,"tournamenturl",n[2]),e.set_custom_element_data(t,"lang",n[8]),e.set_custom_element_data(t,"scrollby","2"),e.set_custom_element_data(t,"exportparts","TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton"),e.set_custom_element_data(t,"class","svelte-m5izi2")},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&1024&&e.set_custom_element_data(t,"clientstyling",i[10]),s[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",i[11]),s[0]&4096&&e.set_custom_element_data(t,"translationurl",i[12]),s[0]&4&&e.set_custom_element_data(t,"tournamenturl",i[2]),s[0]&256&&e.set_custom_element_data(t,"lang",i[8])},d(i){i&&e.detach(t)}}}function Xe(n){let t;function i(l,a){if(l[15])return Re;if(l[20])return Je}let s=i(n),r=s&&s(n);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","svelte-m5izi2")},m(l,a){e.insert(l,t,a),r&&r.m(t,null),n[52](t)},p(l,a){s===(s=i(l))&&r?r.p(l,a):(r&&r.d(1),r=s&&s(l),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),r&&r.d(),n[52](null)}}}function Ve(n,t,i){let s;e.component_subscribe(n,e.$format,o=>i(32,s=o));let{session:r=""}=t,{userid:l=""}=t,{tournamenturl:a=""}=t,{touridx:m}=t,{endpoint:d=""}=t,{showdetails:f=""}=t,{showslider:c=""}=t,{showenrolled:p=""}=t,{maxwidth:b=""}=t,{fullsize:z=""}=t,{lang:g=""}=t,{loginevent:v=""}=t,{registerevent:u=""}=t,{loginurl:_=""}=t,{registerurl:E=""}=t,{currency:R=""}=t,{keepbrowsercontext:V="false"}=t,{clientstyling:D=""}=t,{clientstylingurl:M=""}=t,{translationurl:P=""}=t,{tournamentinfo:O}=t,F,C=!1,A="",S=!0,Z=window.navigator.userAgent,L=!1,I=!1,Q="There was an error while trying to join the tournament",U=!1,Y,$,ee,B,k,te,H,ie,ne,se=[],q=[],le="#",N,x=!1;Ie({withLocale:"en",translations:{}});const ke=()=>{fetch(P).then(h=>h.json()).then(h=>{Object.keys(h).forEach(w=>{_e(w,h[w])})}).catch(h=>{console.log(h)})};Object.keys(he).forEach(o=>{_e(o,he[o])});const re=o=>{Fe(o),G(o),de(this,k)},oe=o=>{if(o.data&&o.data.type=="UserSessionID"&&(i(14,C=!0),A=o.data.session),o.data.type=="UpdateTournamentView"){let h=o.data.tournamentData;if(k&&k!=h.id)return;re(h)}if(o.data&&o.data.type==`UpdateSingleTournament_${m}`){let h=o.data.tournamentData,w=m<4?m*100:Math.random()*300+300;i(31,x=m==1),setTimeout(()=>{i(31,x=!0),i(24,k=h.id),re(h)},w),setTimeout(()=>{i(31,x=!1)},w+200)}},Fe=o=>{o.state!=B&&(i(23,B=o.state),window.postMessage({type:`TournamentStatus_${k}`,status:B},window.location.href))},ae=()=>{v&&(window.postMessage({type:v,transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"TournamentsThumbnailController"})),_&&(window.location=_)},me=()=>{u&&(window.postMessage({type:u,transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"TournamentsThumbnailController"})),E&&(window.location=E)},W=o=>{window.postMessage({type:"TournamentDetailsClicked",tournamentId:o,showLeaderboard:!0},window.location.href)},ue=(o,h)=>X(this,null,function*(){var fe;i(17,I=!1),i(19,U=!1),window.postMessage({type:"TournamentJoinRequest",tournamentId:o},window.location.href),i(16,L=!0);let w=new URL(`${d}/v1/bonus/claim`),J=new Headers,T={};w.searchParams.append("language",g),w.searchParams.append("platform",e.getDevice(Z)),J.append("Content-Type","application/json"),J.append("X-SessionID",A),h&&h.length>=1&&(T={language:g,bonusCode:h[0].code,currency:R,type:"tournament"});let Le={method:"PUT",headers:J,body:JSON.stringify(T)};const ce=()=>{i(16,L=!1),i(26,H=!0)},K=y=>{i(16,L=!1),y&&i(18,Q=y),i(17,I=!0)},j=yield X(this,null,function*(){let y;try{y=yield fetch(w,Le),y=yield y.json()}catch(Qe){K()}return y});if(j)if(j.success==!0)ce();else if(j.errorMessage.match("VersionMismatchException")){let y;y=yield fetch(`${d}/tournaments/${k}`,{headers:{"X-SessionID":r}}),y=yield y.json(),(fe=y==null?void 0:y.item)!=null&&fe.playerEnrolled?ce():(K(j.errorMessage),i(19,U=!0),i(17,I=!1))}else K(j.errorMessage)}),de=(o,h)=>{window.postMessage({type:`TournamentPrizes_${h}`,prizes:se},window.location.href)},G=o=>{o&&(i(20,Y=o.nameOrTitle||""),i(21,$=o.startTime),i(22,ee=o.endTime),i(23,B=o.state),i(24,k=o.id),i(25,te=o.thumbnail),i(26,H=o.playerEnrolled==="true"||o.playerEnrolled==!0||!1),i(27,ie=o.scoreCriteria),i(28,ne=o.minBetCount),se=o.prizes,i(29,q=o.wallets||[]),i(30,le=o.termsUrl||"#"))},Te=o=>{i(15,S=!0);let h=new URL(o),w=new Headers;h.searchParams.append("language",g),h.searchParams.append("platform",e.getDevice(Z)),C&&w.append("X-SessionID",A),fetch(h,{method:"GET",headers:w}).then(T=>T.json()).then(T=>{i(15,S=!1),G(T.item)})},Ce=()=>{r.length>0&&r!="false"?(A=r,i(14,C=!0)):i(14,C=!1)},Se=()=>{if(O){G(O);return}i(15,S=!0),Te(a)},Be=()=>{let o=document.createElement("style");o.innerHTML=D,F.appendChild(o)},je=()=>{let o=new URL(M),h=document.createElement("style");fetch(o.href).then(w=>w.text()).then(w=>{h.innerHTML=w,setTimeout(()=>{F.appendChild(h)},1),setTimeout(()=>{},500)})};e.onMount(()=>(i(15,S=!1),window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",oe,!1),()=>{window.removeEventListener("message",oe)}));const Ee=()=>ae(),De=()=>me(),Me=()=>W(k),Pe=()=>ue(k,q),Oe=()=>W(k);function Ae(o){e.binding_callbacks[o?"unshift":"push"](()=>{F=o,i(13,F)})}return n.$$set=o=>{"session"in o&&i(0,r=o.session),"userid"in o&&i(1,l=o.userid),"tournamenturl"in o&&i(2,a=o.tournamenturl),"touridx"in o&&i(38,m=o.touridx),"endpoint"in o&&i(39,d=o.endpoint),"showdetails"in o&&i(3,f=o.showdetails),"showslider"in o&&i(4,c=o.showslider),"showenrolled"in o&&i(5,p=o.showenrolled),"maxwidth"in o&&i(6,b=o.maxwidth),"fullsize"in o&&i(7,z=o.fullsize),"lang"in o&&i(8,g=o.lang),"loginevent"in o&&i(40,v=o.loginevent),"registerevent"in o&&i(41,u=o.registerevent),"loginurl"in o&&i(42,_=o.loginurl),"registerurl"in o&&i(43,E=o.registerurl),"currency"in o&&i(44,R=o.currency),"keepbrowsercontext"in o&&i(9,V=o.keepbrowsercontext),"clientstyling"in o&&i(10,D=o.clientstyling),"clientstylingurl"in o&&i(11,M=o.clientstylingurl),"translationurl"in o&&i(12,P=o.translationurl),"tournamentinfo"in o&&i(45,O=o.tournamentinfo)},n.$$.update=()=>{n.$$.dirty[0]&9216&&F&&D&&Be(),n.$$.dirty[0]&10240&&F&&M&&je(),n.$$.dirty[0]&4096&&P&&ke(),n.$$.dirty[0]&1&&r&&Ce(),n.$$.dirty[0]&260&&i(46,N=a&&g),n.$$.dirty[1]&32768&&N&&Se()},[r,l,a,f,c,p,b,z,g,V,D,M,P,F,C,S,L,I,Q,U,Y,$,ee,B,k,te,H,ie,ne,q,le,x,s,ae,me,W,ue,de,m,d,v,u,_,E,R,O,N,Ee,De,Me,Pe,Oe,Ae]}class ye extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ve,Xe,e.safe_not_equal,{session:0,userid:1,tournamenturl:2,touridx:38,endpoint:39,showdetails:3,showslider:4,showenrolled:5,maxwidth:6,fullsize:7,lang:8,loginevent:40,registerevent:41,loginurl:42,registerurl:43,currency:44,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,tournamentinfo:45},xe,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get tournamenturl(){return this.$$.ctx[2]}set tournamenturl(t){this.$$set({tournamenturl:t}),e.flush()}get touridx(){return this.$$.ctx[38]}set touridx(t){this.$$set({touridx:t}),e.flush()}get endpoint(){return this.$$.ctx[39]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get showdetails(){return this.$$.ctx[3]}set showdetails(t){this.$$set({showdetails:t}),e.flush()}get showslider(){return this.$$.ctx[4]}set showslider(t){this.$$set({showslider:t}),e.flush()}get showenrolled(){return this.$$.ctx[5]}set showenrolled(t){this.$$set({showenrolled:t}),e.flush()}get maxwidth(){return this.$$.ctx[6]}set maxwidth(t){this.$$set({maxwidth:t}),e.flush()}get fullsize(){return this.$$.ctx[7]}set fullsize(t){this.$$set({fullsize:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get loginevent(){return this.$$.ctx[40]}set loginevent(t){this.$$set({loginevent:t}),e.flush()}get registerevent(){return this.$$.ctx[41]}set registerevent(t){this.$$set({registerevent:t}),e.flush()}get loginurl(){return this.$$.ctx[42]}set loginurl(t){this.$$set({loginurl:t}),e.flush()}get registerurl(){return this.$$.ctx[43]}set registerurl(t){this.$$set({registerurl:t}),e.flush()}get currency(){return this.$$.ctx[44]}set currency(t){this.$$set({currency:t}),e.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get tournamentinfo(){return this.$$.ctx[45]}set tournamentinfo(t){this.$$set({tournamentinfo:t}),e.flush()}}e.create_custom_element(ye,{session:{},userid:{},tournamenturl:{},touridx:{},endpoint:{},showdetails:{},showslider:{},showenrolled:{},maxwidth:{},fullsize:{},lang:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},tournamentinfo:{}},[],[],!0);exports.default=ye;
|