@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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as C, S as Z, i as I, s as j, f as _, b as B, n as F, d as T, p as b, e as k, q as d, g, r as w, t as P, h as u, k as R, o as O, l as N, m as q, u as U, x as V, y as W, z as D, c as G, $ as J } from "./CasinoTournamentsController-DZHPUFoo.js";
|
|
2
|
+
function M(l, e) {
|
|
3
|
+
C(l, e);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const H = {
|
|
6
6
|
en: {
|
|
7
7
|
prizes: "Prizes",
|
|
8
8
|
noprizes: "No available prizes",
|
|
@@ -59,206 +59,206 @@ const M = {
|
|
|
59
59
|
place: "place"
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
function
|
|
63
|
-
|
|
62
|
+
function K(l) {
|
|
63
|
+
B(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const i =
|
|
65
|
+
function x(l, e, t) {
|
|
66
|
+
const i = l.slice();
|
|
67
67
|
return i[12] = e[t], i[14] = t, i;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
let e, t =
|
|
69
|
+
function E(l) {
|
|
70
|
+
let e, t = N(
|
|
71
71
|
/*prizes*/
|
|
72
|
-
|
|
72
|
+
l[1]
|
|
73
73
|
), i = [];
|
|
74
74
|
for (let n = 0; n < t.length; n += 1)
|
|
75
|
-
i[n] =
|
|
76
|
-
let
|
|
77
|
-
return t.length || (
|
|
75
|
+
i[n] = L(x(l, t, n));
|
|
76
|
+
let r = null;
|
|
77
|
+
return t.length || (r = A(l)), {
|
|
78
78
|
c() {
|
|
79
79
|
e = g("div");
|
|
80
80
|
for (let n = 0; n < i.length; n += 1)
|
|
81
81
|
i[n].c();
|
|
82
|
-
|
|
82
|
+
r && r.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
83
83
|
},
|
|
84
84
|
m(n, c) {
|
|
85
|
-
|
|
85
|
+
k(n, e, c);
|
|
86
86
|
for (let s = 0; s < i.length; s += 1)
|
|
87
87
|
i[s] && i[s].m(e, null);
|
|
88
|
-
|
|
88
|
+
r && r.m(e, null);
|
|
89
89
|
},
|
|
90
90
|
p(n, c) {
|
|
91
91
|
if (c & /*prizes, $_*/
|
|
92
92
|
6) {
|
|
93
|
-
t =
|
|
93
|
+
t = N(
|
|
94
94
|
/*prizes*/
|
|
95
95
|
n[1]
|
|
96
96
|
);
|
|
97
97
|
let s;
|
|
98
98
|
for (s = 0; s < t.length; s += 1) {
|
|
99
|
-
const f =
|
|
100
|
-
i[s] ? i[s].p(f, c) : (i[s] =
|
|
99
|
+
const f = x(n, t, s);
|
|
100
|
+
i[s] ? i[s].p(f, c) : (i[s] = L(f), i[s].c(), i[s].m(e, null));
|
|
101
101
|
}
|
|
102
102
|
for (; s < i.length; s += 1)
|
|
103
103
|
i[s].d(1);
|
|
104
|
-
i.length = t.length, !t.length &&
|
|
104
|
+
i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = A(n), r.c(), r.m(e, null));
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(n) {
|
|
108
|
-
n &&
|
|
108
|
+
n && T(e), q(i, n), r && r.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function A(l) {
|
|
113
113
|
let e, t = (
|
|
114
114
|
/*$_*/
|
|
115
|
-
|
|
115
|
+
l[2]("noprizes") + ""
|
|
116
116
|
), i;
|
|
117
117
|
return {
|
|
118
118
|
c() {
|
|
119
|
-
e = g("p"), i =
|
|
119
|
+
e = g("p"), i = P(t);
|
|
120
120
|
},
|
|
121
|
-
m(
|
|
122
|
-
|
|
121
|
+
m(r, n) {
|
|
122
|
+
k(r, e, n), d(e, i);
|
|
123
123
|
},
|
|
124
|
-
p(
|
|
124
|
+
p(r, n) {
|
|
125
125
|
n & /*$_*/
|
|
126
126
|
4 && t !== (t = /*$_*/
|
|
127
|
-
|
|
127
|
+
r[2]("noprizes") + "") && b(i, t);
|
|
128
128
|
},
|
|
129
|
-
d(
|
|
130
|
-
|
|
129
|
+
d(r) {
|
|
130
|
+
r && T(e);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
let e, t, i,
|
|
134
|
+
function L(l) {
|
|
135
|
+
let e, t, i, r = (
|
|
136
136
|
/*prize*/
|
|
137
|
-
(
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
(l[12].count > 1 ? `${/*prize*/
|
|
138
|
+
l[12].rank}~${/*prize*/
|
|
139
|
+
l[12].rank + /*prize*/
|
|
140
|
+
l[12].count - 1}` : (
|
|
141
141
|
/*prize*/
|
|
142
|
-
|
|
142
|
+
l[12].rank
|
|
143
143
|
)) + ""
|
|
144
144
|
), n, c, s = (
|
|
145
145
|
/*$_*/
|
|
146
|
-
|
|
147
|
-
), f,
|
|
146
|
+
l[2]("place") + ""
|
|
147
|
+
), f, a, p = (
|
|
148
148
|
/*prize*/
|
|
149
|
-
|
|
150
|
-
), m,
|
|
149
|
+
l[12].name + ""
|
|
150
|
+
), m, v;
|
|
151
151
|
return {
|
|
152
152
|
c() {
|
|
153
|
-
e = g("div"), t = g("p"), i = g("span"), n =
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
e = g("div"), t = g("p"), i = g("span"), n = P(r), c = w(), f = P(s), a = P(": "), m = P(p), v = w(), u(i, "class", "PrizeRank"), u(i, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
|
|
154
|
+
l[14]), u(e, "part", "Prize Prize" + /*index*/
|
|
155
|
+
l[14]);
|
|
156
156
|
},
|
|
157
|
-
m(z,
|
|
158
|
-
|
|
157
|
+
m(z, h) {
|
|
158
|
+
k(z, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, a), d(t, m), d(e, v);
|
|
159
159
|
},
|
|
160
|
-
p(z,
|
|
161
|
-
|
|
162
|
-
2 &&
|
|
160
|
+
p(z, h) {
|
|
161
|
+
h & /*prizes*/
|
|
162
|
+
2 && r !== (r = /*prize*/
|
|
163
163
|
(z[12].count > 1 ? `${/*prize*/
|
|
164
164
|
z[12].rank}~${/*prize*/
|
|
165
165
|
z[12].rank + /*prize*/
|
|
166
166
|
z[12].count - 1}` : (
|
|
167
167
|
/*prize*/
|
|
168
168
|
z[12].rank
|
|
169
|
-
)) + "") && b(n,
|
|
169
|
+
)) + "") && b(n, r), h & /*$_*/
|
|
170
170
|
4 && s !== (s = /*$_*/
|
|
171
|
-
z[2]("place") + "") && b(f, s),
|
|
172
|
-
2 &&
|
|
173
|
-
z[12].name + "") && b(m,
|
|
171
|
+
z[2]("place") + "") && b(f, s), h & /*prizes*/
|
|
172
|
+
2 && p !== (p = /*prize*/
|
|
173
|
+
z[12].name + "") && b(m, p);
|
|
174
174
|
},
|
|
175
175
|
d(z) {
|
|
176
|
-
z &&
|
|
176
|
+
z && T(e);
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
function
|
|
181
|
-
let e, t, i,
|
|
180
|
+
function Q(l) {
|
|
181
|
+
let e, t, i, r, n, c = (
|
|
182
182
|
/*$_*/
|
|
183
|
-
|
|
184
|
-
), s, f,
|
|
183
|
+
l[2]("prizes") + ""
|
|
184
|
+
), s, f, a = (
|
|
185
185
|
/*prizes*/
|
|
186
|
-
|
|
186
|
+
l[1] && E(l)
|
|
187
187
|
);
|
|
188
188
|
return {
|
|
189
189
|
c() {
|
|
190
|
-
e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',
|
|
190
|
+
e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = w(), n = g("p"), s = P(c), f = w(), a && a.c(), u(i, "class", "TournamentPrizesIconWrapper"), u(i, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
|
|
191
191
|
},
|
|
192
|
-
m(
|
|
193
|
-
|
|
192
|
+
m(p, m) {
|
|
193
|
+
k(p, e, m), d(e, t), d(t, i), d(t, r), d(t, n), d(n, s), d(e, f), a && a.m(e, null), l[8](e);
|
|
194
194
|
},
|
|
195
|
-
p(
|
|
195
|
+
p(p, [m]) {
|
|
196
196
|
m & /*$_*/
|
|
197
197
|
4 && c !== (c = /*$_*/
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
p[2]("prizes") + "") && b(s, c), /*prizes*/
|
|
199
|
+
p[1] ? a ? a.p(p, m) : (a = E(p), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
|
|
200
200
|
},
|
|
201
201
|
i: F,
|
|
202
202
|
o: F,
|
|
203
|
-
d(
|
|
204
|
-
|
|
203
|
+
d(p) {
|
|
204
|
+
p && T(e), a && a.d(), l[8](null);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function X(l, e, t) {
|
|
209
209
|
let i;
|
|
210
|
-
|
|
211
|
-
let { tourid:
|
|
212
|
-
const
|
|
213
|
-
fetch(s).then((
|
|
214
|
-
Object.keys(
|
|
215
|
-
|
|
210
|
+
R(l, J, (o) => t(2, i = o));
|
|
211
|
+
let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, a, p, m;
|
|
212
|
+
const v = () => {
|
|
213
|
+
fetch(s).then((y) => y.json()).then((y) => {
|
|
214
|
+
Object.keys(y).forEach((S) => {
|
|
215
|
+
M(S, y[S]);
|
|
216
216
|
});
|
|
217
|
-
}).catch((
|
|
218
|
-
console.log(
|
|
217
|
+
}).catch((y) => {
|
|
218
|
+
console.log(y);
|
|
219
219
|
});
|
|
220
220
|
};
|
|
221
|
-
Object.keys(
|
|
222
|
-
|
|
221
|
+
Object.keys(H).forEach((o) => {
|
|
222
|
+
M(o, H[o]);
|
|
223
223
|
});
|
|
224
|
-
const
|
|
225
|
-
|
|
224
|
+
const z = (o) => {
|
|
225
|
+
o.data && o.data.type == `TournamentPrizes_${r}` && t(1, m = o.data.prizes);
|
|
226
226
|
};
|
|
227
|
-
|
|
228
|
-
window.removeEventListener("message",
|
|
227
|
+
O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
|
|
228
|
+
window.removeEventListener("message", z);
|
|
229
229
|
}));
|
|
230
|
-
function
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
function h(o) {
|
|
231
|
+
U[o ? "unshift" : "push"](() => {
|
|
232
|
+
a = o, t(0, a);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
return
|
|
236
|
-
"tourid" in
|
|
237
|
-
},
|
|
238
|
-
|
|
239
|
-
17 && n &&
|
|
240
|
-
33 && c &&
|
|
241
|
-
129 && f &&
|
|
242
|
-
64 && s &&
|
|
235
|
+
return l.$$set = (o) => {
|
|
236
|
+
"tourid" in o && t(3, r = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, s = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
|
|
237
|
+
}, l.$$.update = () => {
|
|
238
|
+
l.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
239
|
+
17 && n && a && V(a, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
240
|
+
33 && c && a && W(a, c), l.$$.dirty & /*mbsource, customStylingContainer*/
|
|
241
|
+
129 && f && a && D(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
|
|
242
|
+
64 && s && v();
|
|
243
243
|
}, [
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
a,
|
|
245
|
+
m,
|
|
246
246
|
i,
|
|
247
|
-
|
|
247
|
+
r,
|
|
248
248
|
n,
|
|
249
249
|
c,
|
|
250
250
|
s,
|
|
251
251
|
f,
|
|
252
|
-
|
|
252
|
+
h
|
|
253
253
|
];
|
|
254
254
|
}
|
|
255
|
-
class
|
|
255
|
+
class Y extends Z {
|
|
256
256
|
constructor(e) {
|
|
257
|
-
super(),
|
|
257
|
+
super(), I(
|
|
258
258
|
this,
|
|
259
259
|
e,
|
|
260
|
+
X,
|
|
260
261
|
Q,
|
|
261
|
-
K,
|
|
262
262
|
j,
|
|
263
263
|
{
|
|
264
264
|
tourid: 3,
|
|
@@ -267,7 +267,7 @@ class X extends C {
|
|
|
267
267
|
translationurl: 6,
|
|
268
268
|
mbsource: 7
|
|
269
269
|
},
|
|
270
|
-
|
|
270
|
+
K
|
|
271
271
|
);
|
|
272
272
|
}
|
|
273
273
|
get tourid() {
|
|
@@ -301,7 +301,7 @@ class X extends C {
|
|
|
301
301
|
this.$$set({ mbsource: e }), _();
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
G(Y, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
305
305
|
export {
|
|
306
|
-
|
|
306
|
+
Y as default
|
|
307
307
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-DQNDp9HR.cjs");function _(l,t){e.addMessages(l,t)}const P={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function S(l){e.append_styles(l,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function b(l,t,n){const i=l.slice();return i[12]=t[n],i[14]=n,i}function v(l){let t,n=e.ensure_array_like(l[1]),i=[];for(let r=0;r<n.length;r+=1)i[r]=T(b(l,n,r));let a=null;return n.length||(a=w(l)),{c(){t=e.element("div");for(let r=0;r<i.length;r+=1)i[r].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(r,c){e.insert(r,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(r,c){if(c&6){n=e.ensure_array_like(r[1]);let s;for(s=0;s<n.length;s+=1){const d=b(r,n,s);i[s]?i[s].p(d,c):(i[s]=T(d),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(r,c):n.length?a&&(a.d(1),a=null):(a=w(r),a.c(),a.m(t,null))}},d(r){r&&e.detach(t),e.destroy_each(i,r),a&&a.d()}}}function w(l){let t,n=l[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,r){e.insert(a,t,r),e.append(t,i)},p(a,r){r&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function T(l){let t,n,i,a=(l[12].count>1?`${l[12].rank}~${l[12].rank+l[12].count-1}`:l[12].rank)+"",r,c,s=l[2]("place")+"",d,o,u=l[12].name+"",f,z;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),r=e.text(a),c=e.space(),d=e.text(s),o=e.text(": "),f=e.text(u),z=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"+l[14]),e.attr(t,"part","Prize Prize"+l[14])},m(m,h){e.insert(m,t,h),e.append(t,n),e.append(n,i),e.append(i,r),e.append(n,c),e.append(n,d),e.append(n,o),e.append(n,f),e.append(t,z)},p(m,h){h&2&&a!==(a=(m[12].count>1?`${m[12].rank}~${m[12].rank+m[12].count-1}`:m[12].rank)+"")&&e.set_data(r,a),h&4&&s!==(s=m[2]("place")+"")&&e.set_data(d,s),h&2&&u!==(u=m[12].name+"")&&e.set_data(f,u)},d(m){m&&e.detach(t)}}}function F(l){let t,n,i,a,r,c=l[2]("prizes")+"",s,d,o=l[1]&&v(l);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),r=e.element("p"),s=e.text(c),d=e.space(),o&&o.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(r,"class","PrizesTitle"),e.attr(r,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(u,f){e.insert(u,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,r),e.append(r,s),e.append(t,d),o&&o.m(t,null),l[8](t)},p(u,[f]){f&4&&c!==(c=u[2]("prizes")+"")&&e.set_data(s,c),u[1]?o?o.p(u,f):(o=v(u),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},i:e.noop,o:e.noop,d(u){u&&e.detach(t),o&&o.d(),l[8](null)}}}function M(l,t,n){let i;e.component_subscribe(l,e.$format,p=>n(2,i=p));let{tourid:a=""}=t,{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,{mbsource:d}=t,o,u,f;const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(y=>{_(y,g[y])})}).catch(g=>{console.log(g)})};Object.keys(P).forEach(p=>{_(p,P[p])});const m=p=>{p.data&&p.data.type==`TournamentPrizes_${a}`&&n(1,f=p.data.prizes)};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",m,!1),()=>{window.removeEventListener("message",m)}));function h(p){e.binding_callbacks[p?"unshift":"push"](()=>{o=p,n(0,o)})}return l.$$set=p=>{"tourid"in p&&n(3,a=p.tourid),"clientstyling"in p&&n(4,r=p.clientstyling),"clientstylingurl"in p&&n(5,c=p.clientstylingurl),"translationurl"in p&&n(6,s=p.translationurl),"mbsource"in p&&n(7,d=p.mbsource)},l.$$.update=()=>{l.$$.dirty&17&&r&&o&&e.setClientStyling(o,r),l.$$.dirty&33&&c&&o&&e.setClientStylingURL(o,c),l.$$.dirty&129&&d&&o&&e.setStreamStyling(o,`${d}.Style`,u),l.$$.dirty&64&&s&&z()},[o,f,i,a,r,c,s,d,h]}class k extends e.SvelteComponent{constructor(t){super(),e.init(this,t,M,F,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6,mbsource:7},S)}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()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(k,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=k;
|