@everymatrix/casino-tournaments-list-controller 1.74.3 → 1.74.4

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.
Files changed (47) hide show
  1. package/components/{CasinoTournamentsListController-BhhEXTKk.js → CasinoTournamentsListController-B91Lyqax.js} +790 -792
  2. package/components/{CasinoTournamentsListController-BgWVx_DT.js → CasinoTournamentsListController-CNr53zQh.js} +804 -806
  3. package/components/CasinoTournamentsListController-Xh8cK8m7.cjs +28 -0
  4. package/components/{CasinoTournamentsThumbnail-CeGI0GWb.js → CasinoTournamentsThumbnail-DJR17vOA.js} +11 -11
  5. package/components/{CasinoTournamentsThumbnail-BdJELZaa.js → CasinoTournamentsThumbnail-dZ1sm6ym.js} +11 -11
  6. package/components/{CasinoTournamentsThumbnail-BjpxuKgO.cjs → CasinoTournamentsThumbnail-siUGtR0g.cjs} +1 -1
  7. package/components/{CasinoTournamentsThumbnailController-4ZzWHYvL.js → CasinoTournamentsThumbnailController-By0nIi_-.js} +358 -325
  8. package/components/CasinoTournamentsThumbnailController-D0OPXphy.cjs +3 -0
  9. package/components/{CasinoTournamentsThumbnailController-CmEybTus.js → CasinoTournamentsThumbnailController-DClFnhM2.js} +271 -272
  10. package/components/{CasinoTournamentsThumbnailDuration-MiZ0ds5J.js → CasinoTournamentsThumbnailDuration-DNm3kZA6.js} +6 -6
  11. package/components/{CasinoTournamentsThumbnailDuration-Cagiakln.cjs → CasinoTournamentsThumbnailDuration-DY7DHyLw.cjs} +1 -1
  12. package/components/{CasinoTournamentsThumbnailDuration-DZ6Drnpd.js → CasinoTournamentsThumbnailDuration-Dknze1IO.js} +6 -6
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-DVsV66jH.js → CasinoTournamentsThumbnailGamesSlider-Cawyju7x.js} +18 -18
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-DoYQSpmC.js → CasinoTournamentsThumbnailGamesSlider-D45WQ2Dp.js} +18 -18
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-CKzzRNvd.cjs → CasinoTournamentsThumbnailGamesSlider-D_kUDgO5.cjs} +1 -1
  16. package/components/{CasinoTournamentsThumbnailPrizes-BT6R1Bvt.cjs → CasinoTournamentsThumbnailPrizes-2H2CQrq-.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailPrizes-C6sI3YYB.js → CasinoTournamentsThumbnailPrizes-7u2QNaQE.js} +60 -60
  18. package/components/{CasinoTournamentsThumbnailPrizes-_9MUOFj1.js → CasinoTournamentsThumbnailPrizes-BcFwjh1i.js} +60 -60
  19. package/es2015/casino-tournaments-list-controller.cjs +1 -1
  20. package/es2015/casino-tournaments-list-controller.js +1 -1
  21. package/esnext/casino-tournaments-list-controller.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
  24. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
  25. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  26. package/stencil/index-b2193545-CF9C6kiu.cjs +1 -0
  27. package/stencil/{index-b2193545-CD_KQ0BB.js → index-b2193545-OH6E7v51.js} +176 -176
  28. package/stencil/{index-b2193545-CrHhiaNt.js → index-b2193545-eoIiLcDl.js} +169 -169
  29. package/stencil/{ui-image-DBXtq7Sy.cjs → ui-image-CDCn_LHy.cjs} +1 -1
  30. package/stencil/{ui-image-D9tkwepr.js → ui-image-CDGN3Ekj.js} +1 -1
  31. package/stencil/{ui-image-BNRjOSaN.js → ui-image-CNrnXPP3.js} +1 -1
  32. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  33. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  34. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  35. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  36. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  37. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-_K8Pt3w9.js} +2 -2
  38. package/stencil/{ui-skeleton-DXmvn9dE.js → ui-skeleton-C73UqtBQ.js} +2 -2
  39. package/stencil/{ui-skeleton-CKaouoPt.cjs → ui-skeleton-Caiy-FEL.cjs} +1 -1
  40. package/stencil/{ui-skeleton-BecGfbnY.js → ui-skeleton-CzV3R1-p.js} +2 -2
  41. package/stencil/{ui-skeleton-ae35c6f2-kPD5RoB3.cjs → ui-skeleton-ae35c6f2-C9l5j8aK.cjs} +1 -1
  42. package/stencil/{ui-skeleton-ae35c6f2-BVAHFeog.js → ui-skeleton-ae35c6f2-CLOd38Ia.js} +1 -1
  43. package/stencil/{ui-skeleton-ae35c6f2-8tswdmF8.js → ui-skeleton-ae35c6f2-SCby2j53.js} +1 -1
  44. package/components/CasinoTournamentsListController-Sk8ZMe0p.cjs +0 -28
  45. package/components/CasinoTournamentsThumbnailController-Lu773M6Y.cjs +0 -3
  46. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
  47. package/stencil/index-b2193545-ngvz84TK.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { b as L, S as C, i as Z, f as _, c as j, s as I, d as B, e as g, g as v, t as y, h as p, j as w, k as d, p as b, n as F, l as T, m as R, o as O, J as S, N as D, x as U, y as V, z as W, A as q, D as J } from "./CasinoTournamentsListController-BgWVx_DT.js";
2
- function N(l, e) {
3
- L(l, e);
1
+ import { b as L, S as C, i as Z, f as _, c as j, s as I, d as B, e as g, g as v, t as y, h as p, j as w, k as d, r as b, n as F, l as T, m as R, o as O, p as q, q as D, J as S, N as U, z as V, A as W, D as J } from "./CasinoTournamentsListController-CNr53zQh.js";
2
+ function N(r, e) {
3
+ L(r, e);
4
4
  }
5
5
  const M = {
6
6
  en: {
@@ -59,33 +59,33 @@ const M = {
59
59
  place: "place"
60
60
  }
61
61
  };
62
- function G(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)}");
62
+ function G(r) {
63
+ B(r, "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 H(l, e, t) {
66
- const i = l.slice();
65
+ function H(r, e, t) {
66
+ const i = r.slice();
67
67
  return i[12] = e[t], i[14] = t, i;
68
68
  }
69
- function x(l) {
69
+ function A(r) {
70
70
  let e, t = S(
71
71
  /*prizes*/
72
- l[1]
72
+ r[1]
73
73
  ), i = [];
74
74
  for (let n = 0; n < t.length; n += 1)
75
- i[n] = E(H(l, t, n));
76
- let r = null;
77
- return t.length || (r = A(l)), {
75
+ i[n] = x(H(r, t, n));
76
+ let l = null;
77
+ return t.length || (l = E(r)), {
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
- r && r.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
82
+ l && l.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
83
83
  },
84
84
  m(n, c) {
85
85
  w(n, e, c);
86
86
  for (let s = 0; s < i.length; s += 1)
87
87
  i[s] && i[s].m(e, null);
88
- r && r.m(e, null);
88
+ l && l.m(e, null);
89
89
  },
90
90
  p(n, c) {
91
91
  if (c & /*prizes, $_*/
@@ -97,76 +97,76 @@ function x(l) {
97
97
  let s;
98
98
  for (s = 0; s < t.length; s += 1) {
99
99
  const f = H(n, t, s);
100
- i[s] ? i[s].p(f, c) : (i[s] = E(f), i[s].c(), i[s].m(e, null));
100
+ i[s] ? i[s].p(f, c) : (i[s] = x(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 && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = A(n), r.c(), r.m(e, null));
104
+ i.length = t.length, !t.length && l ? l.p(n, c) : t.length ? l && (l.d(1), l = null) : (l = E(n), l.c(), l.m(e, null));
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && T(e), D(i, n), r && r.d();
108
+ n && T(e), U(i, n), l && l.d();
109
109
  }
110
110
  };
111
111
  }
112
- function A(l) {
112
+ function E(r) {
113
113
  let e, t = (
114
114
  /*$_*/
115
- l[2]("noprizes") + ""
115
+ r[2]("noprizes") + ""
116
116
  ), i;
117
117
  return {
118
118
  c() {
119
119
  e = g("p"), i = y(t);
120
120
  },
121
- m(r, n) {
122
- w(r, e, n), d(e, i);
121
+ m(l, n) {
122
+ w(l, e, n), d(e, i);
123
123
  },
124
- p(r, n) {
124
+ p(l, n) {
125
125
  n & /*$_*/
126
126
  4 && t !== (t = /*$_*/
127
- r[2]("noprizes") + "") && b(i, t);
127
+ l[2]("noprizes") + "") && b(i, t);
128
128
  },
129
- d(r) {
130
- r && T(e);
129
+ d(l) {
130
+ l && T(e);
131
131
  }
132
132
  };
133
133
  }
134
- function E(l) {
135
- let e, t, i, r = (
134
+ function x(r) {
135
+ let e, t, i, l = (
136
136
  /*prize*/
137
- (l[12].count > 1 ? `${/*prize*/
138
- l[12].rank}~${/*prize*/
139
- l[12].rank + /*prize*/
140
- l[12].count - 1}` : (
137
+ (r[12].count > 1 ? `${/*prize*/
138
+ r[12].rank}~${/*prize*/
139
+ r[12].rank + /*prize*/
140
+ r[12].count - 1}` : (
141
141
  /*prize*/
142
- l[12].rank
142
+ r[12].rank
143
143
  )) + ""
144
144
  ), n, c, s = (
145
145
  /*$_*/
146
- l[2]("place") + ""
146
+ r[2]("place") + ""
147
147
  ), f, o, u = (
148
148
  /*prize*/
149
- l[12].name + ""
149
+ r[12].name + ""
150
150
  ), m, P;
151
151
  return {
152
152
  c() {
153
- e = g("div"), t = g("p"), i = g("span"), n = y(r), c = v(), f = y(s), o = y(": "), m = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
154
- l[14]), p(e, "part", "Prize Prize" + /*index*/
155
- l[14]);
153
+ e = g("div"), t = g("p"), i = g("span"), n = y(l), c = v(), f = y(s), o = y(": "), m = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
154
+ r[14]), p(e, "part", "Prize Prize" + /*index*/
155
+ r[14]);
156
156
  },
157
157
  m(z, a) {
158
158
  w(z, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, m), d(e, P);
159
159
  },
160
160
  p(z, a) {
161
161
  a & /*prizes*/
162
- 2 && r !== (r = /*prize*/
162
+ 2 && l !== (l = /*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, r), a & /*$_*/
169
+ )) + "") && b(n, l), a & /*$_*/
170
170
  4 && s !== (s = /*$_*/
171
171
  z[2]("place") + "") && b(f, s), a & /*prizes*/
172
172
  2 && u !== (u = /*prize*/
@@ -177,38 +177,38 @@ function E(l) {
177
177
  }
178
178
  };
179
179
  }
180
- function K(l) {
181
- let e, t, i, r, n, c = (
180
+ function K(r) {
181
+ let e, t, i, l, n, c = (
182
182
  /*$_*/
183
- l[2]("prizes") + ""
183
+ r[2]("prizes") + ""
184
184
  ), s, f, o = (
185
185
  /*prizes*/
186
- l[1] && x(l)
186
+ r[1] && A(r)
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>', r = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
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>', l = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
191
191
  },
192
192
  m(u, m) {
193
- w(u, e, m), d(e, t), d(t, i), d(t, r), d(t, n), d(n, s), d(e, f), o && o.m(e, null), l[8](e);
193
+ w(u, e, m), d(e, t), d(t, i), d(t, l), d(t, n), d(n, s), d(e, f), o && o.m(e, null), r[8](e);
194
194
  },
195
195
  p(u, [m]) {
196
196
  m & /*$_*/
197
197
  4 && c !== (c = /*$_*/
198
198
  u[2]("prizes") + "") && b(s, c), /*prizes*/
199
- u[1] ? o ? o.p(u, m) : (o = x(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
199
+ u[1] ? o ? o.p(u, m) : (o = A(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
200
200
  },
201
201
  i: F,
202
202
  o: F,
203
203
  d(u) {
204
- u && T(e), o && o.d(), l[8](null);
204
+ u && T(e), o && o.d(), r[8](null);
205
205
  }
206
206
  };
207
207
  }
208
- function Q(l, e, t) {
208
+ function Q(r, e, t) {
209
209
  let i;
210
- R(l, J, (a) => t(2, i = a));
211
- let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
210
+ R(r, J, (a) => t(2, i = a));
211
+ let { tourid: l = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
212
212
  const m = () => {
213
213
  fetch(s).then((h) => h.json()).then((h) => {
214
214
  Object.keys(h).forEach((k) => {
@@ -222,29 +222,29 @@ function Q(l, e, t) {
222
222
  N(a, M[a]);
223
223
  });
224
224
  const P = (a) => {
225
- a.data && a.data.type == `TournamentPrizes_${r}` && t(1, u = a.data.prizes);
225
+ a.data && a.data.type == `TournamentPrizes_${l}` && t(1, u = a.data.prizes);
226
226
  };
227
227
  O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
228
228
  window.removeEventListener("message", P);
229
229
  }));
230
230
  function z(a) {
231
- U[a ? "unshift" : "push"](() => {
231
+ V[a ? "unshift" : "push"](() => {
232
232
  o = a, t(0, o);
233
233
  });
234
234
  }
235
- return l.$$set = (a) => {
236
- "tourid" in a && t(3, r = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
237
- }, l.$$.update = () => {
238
- l.$$.dirty & /*clientstyling, customStylingContainer*/
239
- 17 && n && o && V(o, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
- 33 && c && o && W(o, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
- 129 && f && o && q(o, `${f}.Style`), l.$$.dirty & /*translationurl*/
235
+ return r.$$set = (a) => {
236
+ "tourid" in a && t(3, l = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
237
+ }, r.$$.update = () => {
238
+ r.$$.dirty & /*clientstyling, customStylingContainer*/
239
+ 17 && n && o && W(o, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
+ 33 && c && o && q(o, c), r.$$.dirty & /*mbsource, customStylingContainer*/
241
+ 129 && f && o && D(o, `${f}.Style`), r.$$.dirty & /*translationurl*/
242
242
  64 && s && m();
243
243
  }, [
244
244
  o,
245
245
  u,
246
246
  i,
247
- r,
247
+ l,
248
248
  n,
249
249
  c,
250
250
  s,
@@ -1,6 +1,6 @@
1
- import { b as L, S as C, i as Z, f as _, c as j, s as I, d as B, e as g, g as v, t as y, h as p, j as w, k as d, p as b, n as F, l as T, m as R, o as O, J as S, N as D, x as U, y as V, z as W, A as q, D as J } from "./CasinoTournamentsListController-BhhEXTKk.js";
2
- function N(l, e) {
3
- L(l, e);
1
+ import { b as L, S as C, i as Z, f as _, c as j, s as I, d as B, e as g, g as v, t as y, h as p, j as w, k as d, r as b, n as F, l as T, m as R, o as O, p as q, q as D, J as S, N as U, z as V, A as W, D as J } from "./CasinoTournamentsListController-B91Lyqax.js";
2
+ function N(r, e) {
3
+ L(r, e);
4
4
  }
5
5
  const M = {
6
6
  en: {
@@ -59,33 +59,33 @@ const M = {
59
59
  place: "place"
60
60
  }
61
61
  };
62
- function G(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)}");
62
+ function G(r) {
63
+ B(r, "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 H(l, e, t) {
66
- const i = l.slice();
65
+ function H(r, e, t) {
66
+ const i = r.slice();
67
67
  return i[12] = e[t], i[14] = t, i;
68
68
  }
69
- function x(l) {
69
+ function A(r) {
70
70
  let e, t = S(
71
71
  /*prizes*/
72
- l[1]
72
+ r[1]
73
73
  ), i = [];
74
74
  for (let n = 0; n < t.length; n += 1)
75
- i[n] = E(H(l, t, n));
76
- let r = null;
77
- return t.length || (r = A(l)), {
75
+ i[n] = x(H(r, t, n));
76
+ let l = null;
77
+ return t.length || (l = E(r)), {
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
- r && r.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
82
+ l && l.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
83
83
  },
84
84
  m(n, c) {
85
85
  w(n, e, c);
86
86
  for (let s = 0; s < i.length; s += 1)
87
87
  i[s] && i[s].m(e, null);
88
- r && r.m(e, null);
88
+ l && l.m(e, null);
89
89
  },
90
90
  p(n, c) {
91
91
  if (c & /*prizes, $_*/
@@ -97,76 +97,76 @@ function x(l) {
97
97
  let s;
98
98
  for (s = 0; s < t.length; s += 1) {
99
99
  const f = H(n, t, s);
100
- i[s] ? i[s].p(f, c) : (i[s] = E(f), i[s].c(), i[s].m(e, null));
100
+ i[s] ? i[s].p(f, c) : (i[s] = x(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 && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = A(n), r.c(), r.m(e, null));
104
+ i.length = t.length, !t.length && l ? l.p(n, c) : t.length ? l && (l.d(1), l = null) : (l = E(n), l.c(), l.m(e, null));
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && T(e), D(i, n), r && r.d();
108
+ n && T(e), U(i, n), l && l.d();
109
109
  }
110
110
  };
111
111
  }
112
- function A(l) {
112
+ function E(r) {
113
113
  let e, t = (
114
114
  /*$_*/
115
- l[2]("noprizes") + ""
115
+ r[2]("noprizes") + ""
116
116
  ), i;
117
117
  return {
118
118
  c() {
119
119
  e = g("p"), i = y(t);
120
120
  },
121
- m(r, n) {
122
- w(r, e, n), d(e, i);
121
+ m(l, n) {
122
+ w(l, e, n), d(e, i);
123
123
  },
124
- p(r, n) {
124
+ p(l, n) {
125
125
  n & /*$_*/
126
126
  4 && t !== (t = /*$_*/
127
- r[2]("noprizes") + "") && b(i, t);
127
+ l[2]("noprizes") + "") && b(i, t);
128
128
  },
129
- d(r) {
130
- r && T(e);
129
+ d(l) {
130
+ l && T(e);
131
131
  }
132
132
  };
133
133
  }
134
- function E(l) {
135
- let e, t, i, r = (
134
+ function x(r) {
135
+ let e, t, i, l = (
136
136
  /*prize*/
137
- (l[12].count > 1 ? `${/*prize*/
138
- l[12].rank}~${/*prize*/
139
- l[12].rank + /*prize*/
140
- l[12].count - 1}` : (
137
+ (r[12].count > 1 ? `${/*prize*/
138
+ r[12].rank}~${/*prize*/
139
+ r[12].rank + /*prize*/
140
+ r[12].count - 1}` : (
141
141
  /*prize*/
142
- l[12].rank
142
+ r[12].rank
143
143
  )) + ""
144
144
  ), n, c, s = (
145
145
  /*$_*/
146
- l[2]("place") + ""
146
+ r[2]("place") + ""
147
147
  ), f, o, u = (
148
148
  /*prize*/
149
- l[12].name + ""
149
+ r[12].name + ""
150
150
  ), m, P;
151
151
  return {
152
152
  c() {
153
- e = g("div"), t = g("p"), i = g("span"), n = y(r), c = v(), f = y(s), o = y(": "), m = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
154
- l[14]), p(e, "part", "Prize Prize" + /*index*/
155
- l[14]);
153
+ e = g("div"), t = g("p"), i = g("span"), n = y(l), c = v(), f = y(s), o = y(": "), m = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
154
+ r[14]), p(e, "part", "Prize Prize" + /*index*/
155
+ r[14]);
156
156
  },
157
157
  m(z, a) {
158
158
  w(z, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, m), d(e, P);
159
159
  },
160
160
  p(z, a) {
161
161
  a & /*prizes*/
162
- 2 && r !== (r = /*prize*/
162
+ 2 && l !== (l = /*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, r), a & /*$_*/
169
+ )) + "") && b(n, l), a & /*$_*/
170
170
  4 && s !== (s = /*$_*/
171
171
  z[2]("place") + "") && b(f, s), a & /*prizes*/
172
172
  2 && u !== (u = /*prize*/
@@ -177,38 +177,38 @@ function E(l) {
177
177
  }
178
178
  };
179
179
  }
180
- function K(l) {
181
- let e, t, i, r, n, c = (
180
+ function K(r) {
181
+ let e, t, i, l, n, c = (
182
182
  /*$_*/
183
- l[2]("prizes") + ""
183
+ r[2]("prizes") + ""
184
184
  ), s, f, o = (
185
185
  /*prizes*/
186
- l[1] && x(l)
186
+ r[1] && A(r)
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>', r = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
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>', l = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
191
191
  },
192
192
  m(u, m) {
193
- w(u, e, m), d(e, t), d(t, i), d(t, r), d(t, n), d(n, s), d(e, f), o && o.m(e, null), l[8](e);
193
+ w(u, e, m), d(e, t), d(t, i), d(t, l), d(t, n), d(n, s), d(e, f), o && o.m(e, null), r[8](e);
194
194
  },
195
195
  p(u, [m]) {
196
196
  m & /*$_*/
197
197
  4 && c !== (c = /*$_*/
198
198
  u[2]("prizes") + "") && b(s, c), /*prizes*/
199
- u[1] ? o ? o.p(u, m) : (o = x(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
199
+ u[1] ? o ? o.p(u, m) : (o = A(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
200
200
  },
201
201
  i: F,
202
202
  o: F,
203
203
  d(u) {
204
- u && T(e), o && o.d(), l[8](null);
204
+ u && T(e), o && o.d(), r[8](null);
205
205
  }
206
206
  };
207
207
  }
208
- function Q(l, e, t) {
208
+ function Q(r, e, t) {
209
209
  let i;
210
- R(l, J, (a) => t(2, i = a));
211
- let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
210
+ R(r, J, (a) => t(2, i = a));
211
+ let { tourid: l = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
212
212
  const m = () => {
213
213
  fetch(s).then((h) => h.json()).then((h) => {
214
214
  Object.keys(h).forEach((k) => {
@@ -222,29 +222,29 @@ function Q(l, e, t) {
222
222
  N(a, M[a]);
223
223
  });
224
224
  const P = (a) => {
225
- a.data && a.data.type == `TournamentPrizes_${r}` && t(1, u = a.data.prizes);
225
+ a.data && a.data.type == `TournamentPrizes_${l}` && t(1, u = a.data.prizes);
226
226
  };
227
227
  O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
228
228
  window.removeEventListener("message", P);
229
229
  }));
230
230
  function z(a) {
231
- U[a ? "unshift" : "push"](() => {
231
+ V[a ? "unshift" : "push"](() => {
232
232
  o = a, t(0, o);
233
233
  });
234
234
  }
235
- return l.$$set = (a) => {
236
- "tourid" in a && t(3, r = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
237
- }, l.$$.update = () => {
238
- l.$$.dirty & /*clientstyling, customStylingContainer*/
239
- 17 && n && o && V(o, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
- 33 && c && o && W(o, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
- 129 && f && o && q(o, `${f}.Style`), l.$$.dirty & /*translationurl*/
235
+ return r.$$set = (a) => {
236
+ "tourid" in a && t(3, l = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
237
+ }, r.$$.update = () => {
238
+ r.$$.dirty & /*clientstyling, customStylingContainer*/
239
+ 17 && n && o && W(o, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
+ 33 && c && o && q(o, c), r.$$.dirty & /*mbsource, customStylingContainer*/
241
+ 129 && f && o && D(o, `${f}.Style`), r.$$.dirty & /*translationurl*/
242
242
  64 && s && m();
243
243
  }, [
244
244
  o,
245
245
  u,
246
246
  i,
247
- r,
247
+ l,
248
248
  n,
249
249
  c,
250
250
  s,
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsListController-Sk8ZMe0p.cjs")).then(e=>e.CasinoTournamentsListController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-list-controller")&&customElements.define("casino-tournaments-list-controller",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsListController-Xh8cK8m7.cjs")).then(e=>e.CasinoTournamentsListController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-list-controller")&&customElements.define("casino-tournaments-list-controller",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-BgWVx_DT.js").then((e) => e.O).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-CNr53zQh.js").then((e) => e.O).then(({ default: e }) => {
14
14
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { O as s } from "../components/CasinoTournamentsListController-BhhEXTKk.js";
1
+ import { O as s } from "../components/CasinoTournamentsListController-B91Lyqax.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-list-controller",
3
- "version": "1.74.3",
3
+ "version": "1.74.4",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-list-controller.cjs",
6
6
  "module": "esnext/casino-tournaments-list-controller.js",