@everymatrix/casino-tournaments-controller 1.87.26 → 1.87.27
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-CnAIq520.js → CasinoTournamentsController-C9T28zEr.js} +1381 -1352
- package/components/CasinoTournamentsController-DQNDp9HR.cjs +27 -0
- package/components/{CasinoTournamentsController-BLxMNjdf.js → CasinoTournamentsController-DZHPUFoo.js} +1329 -1301
- package/components/{CasinoTournamentsFilterController-DthxSaAP.cjs → CasinoTournamentsFilterController-Bi5ABz6A.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-DTU_2gg8.js → CasinoTournamentsFilterController-ByO79eyB.js} +105 -105
- package/components/{CasinoTournamentsFilterController-CQQlddU7.js → CasinoTournamentsFilterController-CDvezs-D.js} +103 -103
- package/components/{CasinoTournamentsListController-CTyy6QGc.cjs → CasinoTournamentsListController-B5AHWoiQ.cjs} +5 -5
- package/components/{CasinoTournamentsListController-B44Sd_Xd.js → CasinoTournamentsListController-CYyjAv5V.js} +434 -434
- package/components/{CasinoTournamentsListController-D8Mce-Ba.js → CasinoTournamentsListController-D1Q3oNPH.js} +434 -434
- package/components/CasinoTournamentsThumbnail-BJPotmwg.cjs +3 -0
- package/components/{CasinoTournamentsThumbnail-C8m2-yzp.js → CasinoTournamentsThumbnail-BYKG7BsJ.js} +148 -148
- package/components/{CasinoTournamentsThumbnail-CvUCJuL_.js → CasinoTournamentsThumbnail-DmG-fM0f.js} +148 -148
- package/components/{CasinoTournamentsThumbnailController-DRIgHZK4.js → CasinoTournamentsThumbnailController-B4DgkNpX.js} +63 -63
- package/components/{CasinoTournamentsThumbnailController-AwtNpbCC.cjs → CasinoTournamentsThumbnailController-DvWCmf2R.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-DOhlVFj-.js → CasinoTournamentsThumbnailController-Fj4xURf5.js} +64 -64
- package/components/{CasinoTournamentsThumbnailDuration-BBDiU1hp.js → CasinoTournamentsThumbnailDuration-BMMU0ZJo.js} +112 -112
- package/components/CasinoTournamentsThumbnailDuration-CXGu4tqo.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailDuration-B1oKgcSP.js → CasinoTournamentsThumbnailDuration-DFufp6Vu.js} +112 -112
- package/components/CasinoTournamentsThumbnailGamesSlider-CQECbxUh.js +434 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-D_kKdnqN.js +434 -0
- package/components/CasinoTournamentsThumbnailGamesSlider-Dode2Q67.cjs +1 -0
- package/components/{CasinoTournamentsThumbnailPrizes-Om5Riw3x.js → CasinoTournamentsThumbnailPrizes-D-GYVO90.js} +104 -104
- package/components/{CasinoTournamentsThumbnailPrizes-BUXbwFNF.cjs → CasinoTournamentsThumbnailPrizes-DIvLHGtT.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-CJpsQ6IH.js → CasinoTournamentsThumbnailPrizes-fRbY2GFR.js} +104 -104
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/{app-globals-0f993ce5-B6nNHmA4.js → app-globals-0f993ce5-Cgk0KVAu.js} +2 -2
- package/stencil/{index-b2193545-DfeVnolx.cjs → index-b2193545-BB6id_PQ.cjs} +1 -1
- package/stencil/{index-b2193545-DuA2iMSm.js → index-b2193545-Dg04r8Mf.js} +1 -1
- package/stencil/{index-b2193545-BpG2toSK.js → index-b2193545-oPMLiBVn.js} +1 -1
- package/stencil/{ui-image-O0NdjWCu.js → ui-image-BiEqrTjD.js} +4 -4
- package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DyN7Fe9v.js} +1 -1
- package/stencil/ui-image-GKGnzjWQ.cjs +1 -0
- package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-CCeXOW4G.js} +3 -3
- package/stencil/ui-skeleton-CImpq9cv.cjs +1 -0
- package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-DGlqF493.js} +3 -3
- package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-B7StGL8M.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-CLXtOZ1A.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-Dc_jq3n7.js} +1 -1
- package/components/CasinoTournamentsController-DgQHHIEF.cjs +0 -27
- package/components/CasinoTournamentsThumbnail-DrL4ipPE.cjs +0 -3
- package/components/CasinoTournamentsThumbnailDuration-D8Fw1T6T.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-BwHrytSr.cjs +0 -1
- package/components/CasinoTournamentsThumbnailGamesSlider-CCZ61DSI.js +0 -434
- package/components/CasinoTournamentsThumbnailGamesSlider-DyDWiEwW.js +0 -434
- package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
- package/stencil/ui-image-DUHLTRXs.cjs +0 -1
- package/stencil/ui-skeleton-B0E7XBJC.cjs +0 -1
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
import { a as be, S as ve, i as ke, s as Ne, f as T, b as Se, n as Y, d as W, c as q, e as N, j as Te, o as Fe, k as K, l as Me, G as le, K as C, J as Z, p as v, L as Pe, u as z, q as I, g as o, M as Be, E as Ee, r as G, m as je, I as Q, t as Le, w as ze, x as Ae, y as He, z as Ce, $ as Ie } from "./CasinoTournamentsController-C9T28zEr.js";
|
|
2
|
+
function V(e, n) {
|
|
3
|
+
be(e, n);
|
|
4
|
+
}
|
|
5
|
+
const $ = {
|
|
6
|
+
en: {
|
|
7
|
+
playNow: "Play now"
|
|
8
|
+
},
|
|
9
|
+
hr: {
|
|
10
|
+
playNow: "Započni sada"
|
|
11
|
+
},
|
|
12
|
+
"zh-hk": {
|
|
13
|
+
playNow: "现在播放"
|
|
14
|
+
},
|
|
15
|
+
fr: {
|
|
16
|
+
playNow: "Joue maintenant"
|
|
17
|
+
},
|
|
18
|
+
ro: {
|
|
19
|
+
playNow: "Joaca acum"
|
|
20
|
+
},
|
|
21
|
+
tr: {
|
|
22
|
+
playNow: "Şimdi oyna"
|
|
23
|
+
},
|
|
24
|
+
el: {
|
|
25
|
+
playNow: "Παίξε τώρα"
|
|
26
|
+
},
|
|
27
|
+
es: {
|
|
28
|
+
playNow: "Jugar Ya"
|
|
29
|
+
},
|
|
30
|
+
pt: {
|
|
31
|
+
playNow: "Jogue agora"
|
|
32
|
+
},
|
|
33
|
+
"en-us": {
|
|
34
|
+
playNow: "Play now"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
function Ue(e) {
|
|
38
|
+
Se(e, "svelte-xgd67c", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentsGamesSlider{background:var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:center}.disabled{color:var(--emw--color-contrast, #07072A)}.SliderNavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}.SliderNavButton svg{width:20px}.NavButton{background:var(--emw--color-contrast, #07072A);border:0px;width:25px;display:flex;align-items:center;justify-content:center}main{width:95%;overflow:hidden}.items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px)}.item{min-width:119px;height:96px;margin:0 4px;background-color:var(--emw--color-secondary, #FD2839);color:white;display:flex;justify-content:center;align-items:center;font-weight:bold;font-size:10rem;user-select:none;overflow:hidden}.PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:0.7rem;cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.itemHover{opacity:1}.items .item:first-child{margin-left:0}.items .item:last-child{margin-right:0}");
|
|
39
|
+
}
|
|
40
|
+
function ee(e, n, t) {
|
|
41
|
+
const a = e.slice();
|
|
42
|
+
return a[49] = n[t], a[51] = t, a;
|
|
43
|
+
}
|
|
44
|
+
function te(e) {
|
|
45
|
+
let n, t, a, m, d, y, w, s, _, b, h = K(
|
|
46
|
+
/*games*/
|
|
47
|
+
e[1]
|
|
48
|
+
), i = [];
|
|
49
|
+
for (let r = 0; r < h.length; r += 1)
|
|
50
|
+
i[r] = ne(ee(e, h, r));
|
|
51
|
+
return {
|
|
52
|
+
c() {
|
|
53
|
+
n = N("div"), t = N("div"), t.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', a = I(), m = N("main"), d = N("div");
|
|
54
|
+
for (let r = 0; r < i.length; r += 1)
|
|
55
|
+
i[r].c();
|
|
56
|
+
w = I(), s = N("div"), s.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg>', o(t, "class", "SliderNavButton"), o(t, "part", "SliderNavButton"), C(
|
|
57
|
+
t,
|
|
58
|
+
"disabled",
|
|
59
|
+
/*atStart*/
|
|
60
|
+
e[8]
|
|
61
|
+
), o(d, "class", "items"), o(d, "part", "items"), Z(d, "transform", "translateX(" + /*offset*/
|
|
62
|
+
e[2] + "px)"), Be(() => (
|
|
63
|
+
/*main_elementresize_handler*/
|
|
64
|
+
e[29].call(m)
|
|
65
|
+
)), o(s, "class", "SliderNavButton"), o(s, "part", "SliderNavButton"), C(
|
|
66
|
+
s,
|
|
67
|
+
"disabled",
|
|
68
|
+
/*atEnd*/
|
|
69
|
+
e[9]
|
|
70
|
+
), o(n, "class", "TournamentsGamesSlider"), o(n, "part", "TournamentsGamesSlider");
|
|
71
|
+
},
|
|
72
|
+
m(r, u) {
|
|
73
|
+
q(r, n, u), v(n, t), v(n, a), v(n, m), v(m, d);
|
|
74
|
+
for (let c = 0; c < i.length; c += 1)
|
|
75
|
+
i[c] && i[c].m(d, null);
|
|
76
|
+
e[28](d), y = Pe(
|
|
77
|
+
m,
|
|
78
|
+
/*main_elementresize_handler*/
|
|
79
|
+
e[29].bind(m)
|
|
80
|
+
), v(n, w), v(n, s), e[31](n), _ || (b = [
|
|
81
|
+
z(
|
|
82
|
+
t,
|
|
83
|
+
"click",
|
|
84
|
+
/*click_handler*/
|
|
85
|
+
e[24]
|
|
86
|
+
),
|
|
87
|
+
z(
|
|
88
|
+
s,
|
|
89
|
+
"click",
|
|
90
|
+
/*click_handler_2*/
|
|
91
|
+
e[30]
|
|
92
|
+
)
|
|
93
|
+
], _ = !0);
|
|
94
|
+
},
|
|
95
|
+
p(r, u) {
|
|
96
|
+
if (u[0] & /*atStart*/
|
|
97
|
+
256 && C(
|
|
98
|
+
t,
|
|
99
|
+
"disabled",
|
|
100
|
+
/*atStart*/
|
|
101
|
+
r[8]
|
|
102
|
+
), u[0] & /*gameClicked, games, enter, leave, hover, hoverIndex, $_*/
|
|
103
|
+
23650) {
|
|
104
|
+
h = K(
|
|
105
|
+
/*games*/
|
|
106
|
+
r[1]
|
|
107
|
+
);
|
|
108
|
+
let c;
|
|
109
|
+
for (c = 0; c < h.length; c += 1) {
|
|
110
|
+
const P = ee(r, h, c);
|
|
111
|
+
i[c] ? i[c].p(P, u) : (i[c] = ne(P), i[c].c(), i[c].m(d, null));
|
|
112
|
+
}
|
|
113
|
+
for (; c < i.length; c += 1)
|
|
114
|
+
i[c].d(1);
|
|
115
|
+
i.length = h.length;
|
|
116
|
+
}
|
|
117
|
+
u[0] & /*offset*/
|
|
118
|
+
4 && Z(d, "transform", "translateX(" + /*offset*/
|
|
119
|
+
r[2] + "px)"), u[0] & /*atEnd*/
|
|
120
|
+
512 && C(
|
|
121
|
+
s,
|
|
122
|
+
"disabled",
|
|
123
|
+
/*atEnd*/
|
|
124
|
+
r[9]
|
|
125
|
+
);
|
|
126
|
+
},
|
|
127
|
+
d(r) {
|
|
128
|
+
r && W(n), Me(i, r), e[28](null), y(), e[31](null), _ = !1, le(b);
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function ne(e) {
|
|
133
|
+
let n, t, a = (
|
|
134
|
+
/*$_*/
|
|
135
|
+
e[10]("playNow") + ""
|
|
136
|
+
), m, d, y, w, s, _, b, h, i, r, u;
|
|
137
|
+
function c() {
|
|
138
|
+
return (
|
|
139
|
+
/*click_handler_1*/
|
|
140
|
+
e[25](
|
|
141
|
+
/*game*/
|
|
142
|
+
e[49]
|
|
143
|
+
)
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
function P() {
|
|
147
|
+
return (
|
|
148
|
+
/*mouseenter_handler*/
|
|
149
|
+
e[26](
|
|
150
|
+
/*i*/
|
|
151
|
+
e[51]
|
|
152
|
+
)
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
return {
|
|
156
|
+
c() {
|
|
157
|
+
n = N("div"), t = N("span"), m = Le(a), w = I(), s = N("img"), i = I(), o(t, "class", d = "PlayNowButton " + /*hover*/
|
|
158
|
+
(e[5] && /*hoverIndex*/
|
|
159
|
+
e[6] == /*i*/
|
|
160
|
+
e[51] ? "itemHover" : "")), o(t, "part", y = "PlayNowButton " + /*hover*/
|
|
161
|
+
(e[5] && /*hoverIndex*/
|
|
162
|
+
e[6] == /*i*/
|
|
163
|
+
e[51] ? "itemHover" : "")), Q(s.src, _ = /*game*/
|
|
164
|
+
e[49].thumbnail) || o(s, "src", _), o(s, "width", "132px"), o(s, "height", "100px"), o(s, "alt", b = /*game*/
|
|
165
|
+
e[49].name), o(s, "title", h = /*game*/
|
|
166
|
+
e[49].name), o(n, "class", "item"), o(n, "part", "item");
|
|
167
|
+
},
|
|
168
|
+
m(k, g) {
|
|
169
|
+
q(k, n, g), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
|
|
170
|
+
z(n, "click", c),
|
|
171
|
+
z(n, "mouseenter", P),
|
|
172
|
+
z(
|
|
173
|
+
n,
|
|
174
|
+
"mouseleave",
|
|
175
|
+
/*mouseleave_handler*/
|
|
176
|
+
e[27]
|
|
177
|
+
)
|
|
178
|
+
], r = !0);
|
|
179
|
+
},
|
|
180
|
+
p(k, g) {
|
|
181
|
+
e = k, g[0] & /*$_*/
|
|
182
|
+
1024 && a !== (a = /*$_*/
|
|
183
|
+
e[10]("playNow") + "") && je(m, a), g[0] & /*hover, hoverIndex*/
|
|
184
|
+
96 && d !== (d = "PlayNowButton " + /*hover*/
|
|
185
|
+
(e[5] && /*hoverIndex*/
|
|
186
|
+
e[6] == /*i*/
|
|
187
|
+
e[51] ? "itemHover" : "")) && o(t, "class", d), g[0] & /*hover, hoverIndex*/
|
|
188
|
+
96 && y !== (y = "PlayNowButton " + /*hover*/
|
|
189
|
+
(e[5] && /*hoverIndex*/
|
|
190
|
+
e[6] == /*i*/
|
|
191
|
+
e[51] ? "itemHover" : "")) && o(t, "part", y), g[0] & /*games*/
|
|
192
|
+
2 && !Q(s.src, _ = /*game*/
|
|
193
|
+
e[49].thumbnail) && o(s, "src", _), g[0] & /*games*/
|
|
194
|
+
2 && b !== (b = /*game*/
|
|
195
|
+
e[49].name) && o(s, "alt", b), g[0] & /*games*/
|
|
196
|
+
2 && h !== (h = /*game*/
|
|
197
|
+
e[49].name) && o(s, "title", h);
|
|
198
|
+
},
|
|
199
|
+
d(k) {
|
|
200
|
+
k && W(n), r = !1, le(u);
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
function De(e) {
|
|
205
|
+
let n, t = (
|
|
206
|
+
/*games*/
|
|
207
|
+
e[1] && /*games*/
|
|
208
|
+
e[1].length > 0 && te(e)
|
|
209
|
+
);
|
|
210
|
+
return {
|
|
211
|
+
c() {
|
|
212
|
+
n = N("div"), t && t.c();
|
|
213
|
+
},
|
|
214
|
+
m(a, m) {
|
|
215
|
+
q(a, n, m), t && t.m(n, null), e[32](n);
|
|
216
|
+
},
|
|
217
|
+
p(a, m) {
|
|
218
|
+
/*games*/
|
|
219
|
+
a[1] && /*games*/
|
|
220
|
+
a[1].length > 0 ? t ? t.p(a, m) : (t = te(a), t.c(), t.m(n, null)) : t && (t.d(1), t = null);
|
|
221
|
+
},
|
|
222
|
+
i: Y,
|
|
223
|
+
o: Y,
|
|
224
|
+
d(a) {
|
|
225
|
+
a && W(n), t && t.d(), e[32](null);
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
let Ge = 30;
|
|
230
|
+
function We(e, n, t) {
|
|
231
|
+
let a, m, d;
|
|
232
|
+
Te(e, Ie, (l) => t(10, d = l));
|
|
233
|
+
let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, g = [], f = 0, S, A = null, H = null, U = !1, D, B, E = 0, F;
|
|
234
|
+
const se = () => {
|
|
235
|
+
fetch(b).then((p) => p.json()).then((p) => {
|
|
236
|
+
Object.keys(p).forEach((L) => {
|
|
237
|
+
V(L, p[L]);
|
|
238
|
+
});
|
|
239
|
+
}).catch((p) => {
|
|
240
|
+
console.log(p);
|
|
241
|
+
});
|
|
242
|
+
};
|
|
243
|
+
Object.keys($).forEach((l) => {
|
|
244
|
+
V(l, $[l]);
|
|
245
|
+
});
|
|
246
|
+
const x = (l) => {
|
|
247
|
+
t(5, U = !0), t(6, D = l);
|
|
248
|
+
}, J = () => {
|
|
249
|
+
t(5, U = !1), t(6, D = -1);
|
|
250
|
+
}, re = (l) => l.touches || l.originalEvent.touches, O = (l) => {
|
|
251
|
+
const p = re(l)[0];
|
|
252
|
+
A = p.clientX, H = p.clientY;
|
|
253
|
+
}, X = (l) => {
|
|
254
|
+
if (!A || !H)
|
|
255
|
+
return;
|
|
256
|
+
let p = l.touches[0].clientX, L = l.touches[0].clientY, M = A - p, _e = H - L;
|
|
257
|
+
Math.abs(M) > Math.abs(_e) && (M > 0 ? j(1) : j(-1)), A = null, H = null;
|
|
258
|
+
}, j = (l) => {
|
|
259
|
+
l > 0 && !m ? (t(2, f -= k), t(2, f = f < E ? E : f)) : l < 0 && !a && (t(2, f += k), t(2, f = f > 0 ? 0 : f));
|
|
260
|
+
}, R = (l) => {
|
|
261
|
+
window.postMessage(
|
|
262
|
+
{
|
|
263
|
+
type: "TournamentGameAction",
|
|
264
|
+
gameId: l.id,
|
|
265
|
+
name: l.name,
|
|
266
|
+
launchUrl: l.launchUrl
|
|
267
|
+
},
|
|
268
|
+
window.location.href
|
|
269
|
+
);
|
|
270
|
+
}, ae = () => {
|
|
271
|
+
let l = new URL(y), p = new Headers();
|
|
272
|
+
l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ge},offset=${f})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", _), l.searchParams.append("platform", Ee(P)), fetch(l, { method: "GET", headers: p }).then((M) => M.json()).then((M) => {
|
|
273
|
+
t(1, g = M.item.games.items), M.item.games.total;
|
|
274
|
+
});
|
|
275
|
+
}, ie = () => {
|
|
276
|
+
S.addEventListener("touchstart", O, { passive: !0 }), S.addEventListener("touchmove", X, { passive: !0 });
|
|
277
|
+
}, oe = () => {
|
|
278
|
+
setTimeout(
|
|
279
|
+
() => {
|
|
280
|
+
t(23, E = (B.scrollWidth - B.clientWidth) * -1), t(16, s = new String(B.scrollWidth / g.length)), k = parseInt(w, 10) * parseFloat(s, 2).toFixed(2);
|
|
281
|
+
},
|
|
282
|
+
1e3
|
|
283
|
+
);
|
|
284
|
+
}, ce = () => {
|
|
285
|
+
F > 0 && F < Math.floor((parseInt(w) + 1) * s) && t(15, w = Math.ceil(F / s).toString());
|
|
286
|
+
};
|
|
287
|
+
Fe(() => (k = parseInt(w, 10) * parseInt(s, 10), () => {
|
|
288
|
+
S.removeEventListener("touchstart", O), S.removeEventListener("touchmove", X);
|
|
289
|
+
}));
|
|
290
|
+
const ue = () => j(-1), me = (l) => R(l), de = (l) => x(l), he = () => J();
|
|
291
|
+
function ge(l) {
|
|
292
|
+
G[l ? "unshift" : "push"](() => {
|
|
293
|
+
B = l, t(7, B);
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
function fe() {
|
|
297
|
+
F = this.clientWidth, t(4, F);
|
|
298
|
+
}
|
|
299
|
+
const pe = () => j(1);
|
|
300
|
+
function ye(l) {
|
|
301
|
+
G[l ? "unshift" : "push"](() => {
|
|
302
|
+
S = l, t(3, S);
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
function we(l) {
|
|
306
|
+
G[l ? "unshift" : "push"](() => {
|
|
307
|
+
u = l, t(0, u);
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
return e.$$set = (l) => {
|
|
311
|
+
"tournamenturl" in l && t(17, y = l.tournamenturl), "scrollby" in l && t(15, w = l.scrollby), "pagfactor" in l && t(16, s = l.pagfactor), "lang" in l && t(18, _ = l.lang), "translationurl" in l && t(19, b = l.translationurl), "clientstyling" in l && t(20, h = l.clientstyling), "clientstylingurl" in l && t(21, i = l.clientstylingurl), "mbsource" in l && t(22, r = l.mbsource);
|
|
312
|
+
}, e.$$.update = () => {
|
|
313
|
+
e.$$.dirty[0] & /*offset*/
|
|
314
|
+
4 && t(8, a = f === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
|
|
315
|
+
8388612 && t(9, m = f <= E), e.$$.dirty[0] & /*sliderMainWidth*/
|
|
316
|
+
16 && F && ce(), e.$$.dirty[0] & /*tournamenturl*/
|
|
317
|
+
131072 && y && ae(), e.$$.dirty[0] & /*slider*/
|
|
318
|
+
8 && S && ie(), e.$$.dirty[0] & /*translationurl*/
|
|
319
|
+
524288 && b && se(), e.$$.dirty[0] & /*games*/
|
|
320
|
+
2 && g.length && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
321
|
+
1048577 && h && u && ze(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
322
|
+
2097153 && i && u && Ae(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
323
|
+
4194305 && r && u && He(u, `${r}.Style`, c);
|
|
324
|
+
}, t(2, f = 0), [
|
|
325
|
+
u,
|
|
326
|
+
g,
|
|
327
|
+
f,
|
|
328
|
+
S,
|
|
329
|
+
F,
|
|
330
|
+
U,
|
|
331
|
+
D,
|
|
332
|
+
B,
|
|
333
|
+
a,
|
|
334
|
+
m,
|
|
335
|
+
d,
|
|
336
|
+
x,
|
|
337
|
+
J,
|
|
338
|
+
j,
|
|
339
|
+
R,
|
|
340
|
+
w,
|
|
341
|
+
s,
|
|
342
|
+
y,
|
|
343
|
+
_,
|
|
344
|
+
b,
|
|
345
|
+
h,
|
|
346
|
+
i,
|
|
347
|
+
r,
|
|
348
|
+
E,
|
|
349
|
+
ue,
|
|
350
|
+
me,
|
|
351
|
+
de,
|
|
352
|
+
he,
|
|
353
|
+
ge,
|
|
354
|
+
fe,
|
|
355
|
+
pe,
|
|
356
|
+
ye,
|
|
357
|
+
we
|
|
358
|
+
];
|
|
359
|
+
}
|
|
360
|
+
class qe extends ve {
|
|
361
|
+
constructor(n) {
|
|
362
|
+
super(), ke(
|
|
363
|
+
this,
|
|
364
|
+
n,
|
|
365
|
+
We,
|
|
366
|
+
De,
|
|
367
|
+
Ne,
|
|
368
|
+
{
|
|
369
|
+
tournamenturl: 17,
|
|
370
|
+
scrollby: 15,
|
|
371
|
+
pagfactor: 16,
|
|
372
|
+
lang: 18,
|
|
373
|
+
translationurl: 19,
|
|
374
|
+
clientstyling: 20,
|
|
375
|
+
clientstylingurl: 21,
|
|
376
|
+
mbsource: 22
|
|
377
|
+
},
|
|
378
|
+
Ue,
|
|
379
|
+
[-1, -1]
|
|
380
|
+
);
|
|
381
|
+
}
|
|
382
|
+
get tournamenturl() {
|
|
383
|
+
return this.$$.ctx[17];
|
|
384
|
+
}
|
|
385
|
+
set tournamenturl(n) {
|
|
386
|
+
this.$$set({ tournamenturl: n }), T();
|
|
387
|
+
}
|
|
388
|
+
get scrollby() {
|
|
389
|
+
return this.$$.ctx[15];
|
|
390
|
+
}
|
|
391
|
+
set scrollby(n) {
|
|
392
|
+
this.$$set({ scrollby: n }), T();
|
|
393
|
+
}
|
|
394
|
+
get pagfactor() {
|
|
395
|
+
return this.$$.ctx[16];
|
|
396
|
+
}
|
|
397
|
+
set pagfactor(n) {
|
|
398
|
+
this.$$set({ pagfactor: n }), T();
|
|
399
|
+
}
|
|
400
|
+
get lang() {
|
|
401
|
+
return this.$$.ctx[18];
|
|
402
|
+
}
|
|
403
|
+
set lang(n) {
|
|
404
|
+
this.$$set({ lang: n }), T();
|
|
405
|
+
}
|
|
406
|
+
get translationurl() {
|
|
407
|
+
return this.$$.ctx[19];
|
|
408
|
+
}
|
|
409
|
+
set translationurl(n) {
|
|
410
|
+
this.$$set({ translationurl: n }), T();
|
|
411
|
+
}
|
|
412
|
+
get clientstyling() {
|
|
413
|
+
return this.$$.ctx[20];
|
|
414
|
+
}
|
|
415
|
+
set clientstyling(n) {
|
|
416
|
+
this.$$set({ clientstyling: n }), T();
|
|
417
|
+
}
|
|
418
|
+
get clientstylingurl() {
|
|
419
|
+
return this.$$.ctx[21];
|
|
420
|
+
}
|
|
421
|
+
set clientstylingurl(n) {
|
|
422
|
+
this.$$set({ clientstylingurl: n }), T();
|
|
423
|
+
}
|
|
424
|
+
get mbsource() {
|
|
425
|
+
return this.$$.ctx[22];
|
|
426
|
+
}
|
|
427
|
+
set mbsource(n) {
|
|
428
|
+
this.$$set({ mbsource: n }), T();
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
Ce(qe, { tournamenturl: {}, scrollby: {}, pagfactor: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
432
|
+
export {
|
|
433
|
+
qe as default
|
|
434
|
+
};
|