@everymatrix/casino-tournaments-thumbnail-controller 1.86.2 → 1.86.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 (48) hide show
  1. package/components/{CasinoTournamentsThumbnail-J7Of-3j4.js → CasinoTournamentsThumbnail-BQPDlD-6.js} +665 -633
  2. package/components/CasinoTournamentsThumbnail-CSDNBS1u.cjs +18 -0
  3. package/components/{CasinoTournamentsThumbnail-Cm8ygS_j.js → CasinoTournamentsThumbnail-b84P5LC-.js} +668 -636
  4. package/components/CasinoTournamentsThumbnailController-B5oA7xOB.cjs +3 -0
  5. package/components/{CasinoTournamentsThumbnailController-yXv_8aa_.js → CasinoTournamentsThumbnailController-CHXnZMEK.js} +566 -615
  6. package/components/{CasinoTournamentsThumbnailController-DGTv-6Vg.js → CasinoTournamentsThumbnailController-Dk5ObYFQ.js} +522 -571
  7. package/components/{CasinoTournamentsThumbnailDuration-DMSfakAi.js → CasinoTournamentsThumbnailDuration-BRCX2YcD.js} +65 -65
  8. package/components/{CasinoTournamentsThumbnailDuration-IvKEkgj7.cjs → CasinoTournamentsThumbnailDuration-BmsYPOji.cjs} +1 -1
  9. package/components/{CasinoTournamentsThumbnailDuration-ShCMXlPG.js → CasinoTournamentsThumbnailDuration-DesoRPY7.js} +65 -65
  10. package/components/{CasinoTournamentsThumbnailGamesSlider-l7mPDvzQ.js → CasinoTournamentsThumbnailGamesSlider-BumjreGL.js} +88 -88
  11. package/components/{CasinoTournamentsThumbnailGamesSlider-C9n0GZT3.js → CasinoTournamentsThumbnailGamesSlider-CuFhSsUz.js} +88 -88
  12. package/components/{CasinoTournamentsThumbnailGamesSlider-HEUEl0MK.cjs → CasinoTournamentsThumbnailGamesSlider-DsUSEf8W.cjs} +1 -1
  13. package/components/{CasinoTournamentsThumbnailPrizes-CEvbFf9m.js → CasinoTournamentsThumbnailPrizes-BrDPw5rZ.js} +85 -85
  14. package/components/{CasinoTournamentsThumbnailPrizes-Ctx2j7e2.js → CasinoTournamentsThumbnailPrizes-CReAnTE_.js} +85 -85
  15. package/components/{CasinoTournamentsThumbnailPrizes-BRbgsA4Y.cjs → CasinoTournamentsThumbnailPrizes-DMD910A-.cjs} +1 -1
  16. package/es2015/casino-tournaments-thumbnail-controller.cjs +1 -1
  17. package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
  18. package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/index-97d17652-DvplcHtm.js +558 -0
  21. package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
  22. package/stencil/index-97d17652-p-iQtjus.js +542 -0
  23. package/stencil/index-b2193545-RI3PckwN.js +503 -0
  24. package/stencil/index-b2193545-qC7jkIQW.cjs +1 -0
  25. package/stencil/index-b2193545-w9rTFozR.js +519 -0
  26. package/stencil/{ui-image-O0NdjWCu.js → ui-image-2Wo8bNh1.js} +1 -1
  27. package/stencil/{ui-image-DUHLTRXs.cjs → ui-image-83gG286t.cjs} +1 -1
  28. package/stencil/{ui-image-Cs_BBOYl.js → ui-image-DLoBAw4w.js} +1 -1
  29. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
  30. package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
  31. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
  32. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
  33. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
  34. package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
  35. package/stencil/{ui-skeleton-i9jZ615T.js → ui-skeleton-BOZjVV7m.js} +2 -2
  36. package/stencil/{ui-skeleton-Yn79cPkz.js → ui-skeleton-Czz99elh.js} +2 -2
  37. package/stencil/{ui-skeleton-ed169f8f-UdVwF_E9.js → ui-skeleton-ed169f8f-DTd-f9E3.js} +1 -1
  38. package/stencil/{ui-skeleton-ed169f8f-BRUG1h6n.cjs → ui-skeleton-ed169f8f-DiR5y84l.cjs} +1 -1
  39. package/stencil/{ui-skeleton-ed169f8f-B-SERL0D.js → ui-skeleton-ed169f8f-F5Pn7BxE.js} +1 -1
  40. package/stencil/{ui-skeleton-B0E7XBJC.cjs → ui-skeleton-hbyf6ZV-.cjs} +1 -1
  41. package/components/CasinoTournamentsThumbnail-DgXXegVa.cjs +0 -5
  42. package/components/CasinoTournamentsThumbnailController-DD3a1bpc.cjs +0 -16
  43. package/stencil/index-97d17652-B6BYeRne.js +0 -542
  44. package/stencil/index-97d17652-BOr4KAqq.js +0 -558
  45. package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
  46. package/stencil/index-b2193545-BpG2toSK.js +0 -503
  47. package/stencil/index-b2193545-DfeVnolx.cjs +0 -1
  48. package/stencil/index-b2193545-DuA2iMSm.js +0 -519
@@ -1,8 +1,8 @@
1
- import { b as C, S as L, i as Z, s as j, f as _, d as B, n as F, e as w, u as b, j as T, k as d, l as g, m as v, v as y, h as p, o as I, p as R, F as S, G as O, q, B as D, C as U, D as V, c as W, A as G } from "./CasinoTournamentsThumbnail-J7Of-3j4.js";
2
- function N(l, e) {
3
- C(l, e);
1
+ import { e as C, S as L, i as I, f as _, g as Z, s as j, h as B, j as g, k as v, B as y, m as p, n as w, o as d, C as b, p as F, q as T, r as R, t as O, u as q, I as S, M as D, v as U, w as V, x as W, D as G } from "./CasinoTournamentsThumbnail-b84P5LC-.js";
2
+ function M(r, e) {
3
+ C(r, e);
4
4
  }
5
- const M = {
5
+ const N = {
6
6
  en: {
7
7
  prizes: "Prizes",
8
8
  noprizes: "No available prizes",
@@ -59,33 +59,33 @@ const M = {
59
59
  place: "place"
60
60
  }
61
61
  };
62
- function J(l) {
63
- B(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
62
+ function J(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 A(l) {
69
+ function x(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] = x(H(l, t, n));
76
- let r = null;
77
- return t.length || (r = E(l)), {
75
+ i[n] = A(H(r, t, n));
76
+ let s = null;
77
+ return t.length || (s = 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
+ s && s.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
83
83
  },
84
84
  m(n, c) {
85
- T(n, e, c);
86
- for (let s = 0; s < i.length; s += 1)
87
- i[s] && i[s].m(e, null);
88
- r && r.m(e, null);
85
+ w(n, e, c);
86
+ for (let l = 0; l < i.length; l += 1)
87
+ i[l] && i[l].m(e, null);
88
+ s && s.m(e, null);
89
89
  },
90
90
  p(n, c) {
91
91
  if (c & /*prizes, $_*/
@@ -94,167 +94,167 @@ function A(l) {
94
94
  /*prizes*/
95
95
  n[1]
96
96
  );
97
- let s;
98
- for (s = 0; s < t.length; s += 1) {
99
- const f = H(n, t, s);
100
- i[s] ? i[s].p(f, c) : (i[s] = x(f), i[s].c(), i[s].m(e, null));
97
+ let l;
98
+ for (l = 0; l < t.length; l += 1) {
99
+ const f = H(n, t, l);
100
+ i[l] ? i[l].p(f, c) : (i[l] = A(f), i[l].c(), i[l].m(e, null));
101
101
  }
102
- for (; s < i.length; s += 1)
103
- i[s].d(1);
104
- i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = E(n), r.c(), r.m(e, null));
102
+ for (; l < i.length; l += 1)
103
+ i[l].d(1);
104
+ i.length = t.length, !t.length && s ? s.p(n, c) : t.length ? s && (s.d(1), s = null) : (s = E(n), s.c(), s.m(e, null));
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && w(e), O(i, n), r && r.d();
108
+ n && T(e), D(i, n), s && s.d();
109
109
  }
110
110
  };
111
111
  }
112
- function E(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
- T(r, e, n), d(e, i);
121
+ m(s, n) {
122
+ w(s, e, n), d(e, i);
123
123
  },
124
- p(r, n) {
124
+ p(s, n) {
125
125
  n & /*$_*/
126
126
  4 && t !== (t = /*$_*/
127
- r[2]("noprizes") + "") && b(i, t);
127
+ s[2]("noprizes") + "") && b(i, t);
128
128
  },
129
- d(r) {
130
- r && w(e);
129
+ d(s) {
130
+ s && T(e);
131
131
  }
132
132
  };
133
133
  }
134
- function x(l) {
135
- let e, t, i, r = (
134
+ function A(r) {
135
+ let e, t, i, s = (
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
- ), n, c, s = (
144
+ ), n, c, l = (
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
  ), z, 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(": "), z = 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(s), c = v(), f = y(l), o = y(": "), z = 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(m, a) {
158
- T(m, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, z), d(e, P);
158
+ w(m, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, z), d(e, P);
159
159
  },
160
160
  p(m, a) {
161
161
  a & /*prizes*/
162
- 2 && r !== (r = /*prize*/
162
+ 2 && s !== (s = /*prize*/
163
163
  (m[12].count > 1 ? `${/*prize*/
164
164
  m[12].rank}~${/*prize*/
165
165
  m[12].rank + /*prize*/
166
166
  m[12].count - 1}` : (
167
167
  /*prize*/
168
168
  m[12].rank
169
- )) + "") && b(n, r), a & /*$_*/
170
- 4 && s !== (s = /*$_*/
171
- m[2]("place") + "") && b(f, s), a & /*prizes*/
169
+ )) + "") && b(n, s), a & /*$_*/
170
+ 4 && l !== (l = /*$_*/
171
+ m[2]("place") + "") && b(f, l), a & /*prizes*/
172
172
  2 && u !== (u = /*prize*/
173
173
  m[12].name + "") && b(z, u);
174
174
  },
175
175
  d(m) {
176
- m && w(e);
176
+ m && T(e);
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, s, n, c = (
182
182
  /*$_*/
183
- l[2]("prizes") + ""
184
- ), s, f, o = (
183
+ r[2]("prizes") + ""
184
+ ), l, f, o = (
185
185
  /*prizes*/
186
- l[1] && A(l)
186
+ r[1] && x(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>', s = v(), n = g("p"), l = 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, z) {
193
- T(u, e, z), 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, z), d(e, t), d(t, i), d(t, s), d(t, n), d(n, l), d(e, f), o && o.m(e, null), r[8](e);
194
194
  },
195
195
  p(u, [z]) {
196
196
  z & /*$_*/
197
197
  4 && c !== (c = /*$_*/
198
- u[2]("prizes") + "") && b(s, c), /*prizes*/
199
- u[1] ? o ? o.p(u, z) : (o = A(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
198
+ u[2]("prizes") + "") && b(l, c), /*prizes*/
199
+ u[1] ? o ? o.p(u, z) : (o = x(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 && w(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
- I(l, G, (a) => t(2, i = a));
211
- let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
210
+ R(r, G, (a) => t(2, i = a));
211
+ let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: l = "" } = e, { mbsource: f } = e, o, u;
212
212
  const z = () => {
213
- fetch(s).then((h) => h.json()).then((h) => {
213
+ fetch(l).then((h) => h.json()).then((h) => {
214
214
  Object.keys(h).forEach((k) => {
215
- N(k, h[k]);
215
+ M(k, h[k]);
216
216
  });
217
217
  }).catch((h) => {
218
218
  console.log(h);
219
219
  });
220
220
  };
221
- Object.keys(M).forEach((a) => {
222
- N(a, M[a]);
221
+ Object.keys(N).forEach((a) => {
222
+ M(a, N[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_${s}` && t(1, u = a.data.prizes);
226
226
  };
227
- R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
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 m(a) {
231
- q[a ? "unshift" : "push"](() => {
231
+ U[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 && D(o, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
- 33 && c && o && U(o, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
- 129 && f && o && V(o, `${f}.Style`), l.$$.dirty & /*translationurl*/
242
- 64 && s && z();
235
+ return r.$$set = (a) => {
236
+ "tourid" in a && t(3, s = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, l = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
237
+ }, r.$$.update = () => {
238
+ r.$$.dirty & /*clientstyling, customStylingContainer*/
239
+ 17 && n && o && V(o, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
+ 33 && c && o && W(o, c), r.$$.dirty & /*mbsource, customStylingContainer*/
241
+ 129 && f && o && q(o, `${f}.Style`), r.$$.dirty & /*translationurl*/
242
+ 64 && l && z();
243
243
  }, [
244
244
  o,
245
245
  u,
246
246
  i,
247
- r,
247
+ s,
248
248
  n,
249
249
  c,
250
- s,
250
+ l,
251
251
  f,
252
252
  m
253
253
  ];
254
254
  }
255
255
  class X extends L {
256
256
  constructor(e) {
257
- super(), Z(
257
+ super(), I(
258
258
  this,
259
259
  e,
260
260
  Q,
@@ -301,7 +301,7 @@ class X extends L {
301
301
  this.$$set({ mbsource: e }), _();
302
302
  }
303
303
  }
304
- W(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
304
+ Z(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
305
305
  export {
306
306
  X as default
307
307
  };
@@ -1,8 +1,8 @@
1
- import { b as C, S as L, i as Z, s as j, f as _, d as B, n as F, e as w, u as b, j as T, k as d, l as g, m as v, v as y, h as p, o as I, p as R, F as S, G as O, q, B as D, C as U, D as V, c as W, A as G } from "./CasinoTournamentsThumbnail-Cm8ygS_j.js";
2
- function N(l, e) {
3
- C(l, e);
1
+ import { e as C, S as L, i as I, g as _, f as Z, s as j, h as B, j as g, k as v, B as y, m as p, n as w, o as d, C as b, p as F, q as T, r as R, t as O, u as q, I as S, M as D, v as U, w as V, x as W, D as G } from "./CasinoTournamentsThumbnail-BQPDlD-6.js";
2
+ function M(r, e) {
3
+ C(r, e);
4
4
  }
5
- const M = {
5
+ const N = {
6
6
  en: {
7
7
  prizes: "Prizes",
8
8
  noprizes: "No available prizes",
@@ -59,33 +59,33 @@ const M = {
59
59
  place: "place"
60
60
  }
61
61
  };
62
- function J(l) {
63
- B(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
62
+ function J(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 A(l) {
69
+ function x(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] = x(H(l, t, n));
76
- let r = null;
77
- return t.length || (r = E(l)), {
75
+ i[n] = A(H(r, t, n));
76
+ let s = null;
77
+ return t.length || (s = 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
+ s && s.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
83
83
  },
84
84
  m(n, c) {
85
- T(n, e, c);
86
- for (let s = 0; s < i.length; s += 1)
87
- i[s] && i[s].m(e, null);
88
- r && r.m(e, null);
85
+ w(n, e, c);
86
+ for (let l = 0; l < i.length; l += 1)
87
+ i[l] && i[l].m(e, null);
88
+ s && s.m(e, null);
89
89
  },
90
90
  p(n, c) {
91
91
  if (c & /*prizes, $_*/
@@ -94,167 +94,167 @@ function A(l) {
94
94
  /*prizes*/
95
95
  n[1]
96
96
  );
97
- let s;
98
- for (s = 0; s < t.length; s += 1) {
99
- const f = H(n, t, s);
100
- i[s] ? i[s].p(f, c) : (i[s] = x(f), i[s].c(), i[s].m(e, null));
97
+ let l;
98
+ for (l = 0; l < t.length; l += 1) {
99
+ const f = H(n, t, l);
100
+ i[l] ? i[l].p(f, c) : (i[l] = A(f), i[l].c(), i[l].m(e, null));
101
101
  }
102
- for (; s < i.length; s += 1)
103
- i[s].d(1);
104
- i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = E(n), r.c(), r.m(e, null));
102
+ for (; l < i.length; l += 1)
103
+ i[l].d(1);
104
+ i.length = t.length, !t.length && s ? s.p(n, c) : t.length ? s && (s.d(1), s = null) : (s = E(n), s.c(), s.m(e, null));
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && w(e), O(i, n), r && r.d();
108
+ n && T(e), D(i, n), s && s.d();
109
109
  }
110
110
  };
111
111
  }
112
- function E(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
- T(r, e, n), d(e, i);
121
+ m(s, n) {
122
+ w(s, e, n), d(e, i);
123
123
  },
124
- p(r, n) {
124
+ p(s, n) {
125
125
  n & /*$_*/
126
126
  4 && t !== (t = /*$_*/
127
- r[2]("noprizes") + "") && b(i, t);
127
+ s[2]("noprizes") + "") && b(i, t);
128
128
  },
129
- d(r) {
130
- r && w(e);
129
+ d(s) {
130
+ s && T(e);
131
131
  }
132
132
  };
133
133
  }
134
- function x(l) {
135
- let e, t, i, r = (
134
+ function A(r) {
135
+ let e, t, i, s = (
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
- ), n, c, s = (
144
+ ), n, c, l = (
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
  ), z, 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(": "), z = 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(s), c = v(), f = y(l), o = y(": "), z = 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(m, a) {
158
- T(m, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, z), d(e, P);
158
+ w(m, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, z), d(e, P);
159
159
  },
160
160
  p(m, a) {
161
161
  a & /*prizes*/
162
- 2 && r !== (r = /*prize*/
162
+ 2 && s !== (s = /*prize*/
163
163
  (m[12].count > 1 ? `${/*prize*/
164
164
  m[12].rank}~${/*prize*/
165
165
  m[12].rank + /*prize*/
166
166
  m[12].count - 1}` : (
167
167
  /*prize*/
168
168
  m[12].rank
169
- )) + "") && b(n, r), a & /*$_*/
170
- 4 && s !== (s = /*$_*/
171
- m[2]("place") + "") && b(f, s), a & /*prizes*/
169
+ )) + "") && b(n, s), a & /*$_*/
170
+ 4 && l !== (l = /*$_*/
171
+ m[2]("place") + "") && b(f, l), a & /*prizes*/
172
172
  2 && u !== (u = /*prize*/
173
173
  m[12].name + "") && b(z, u);
174
174
  },
175
175
  d(m) {
176
- m && w(e);
176
+ m && T(e);
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, s, n, c = (
182
182
  /*$_*/
183
- l[2]("prizes") + ""
184
- ), s, f, o = (
183
+ r[2]("prizes") + ""
184
+ ), l, f, o = (
185
185
  /*prizes*/
186
- l[1] && A(l)
186
+ r[1] && x(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>', s = v(), n = g("p"), l = 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, z) {
193
- T(u, e, z), 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, z), d(e, t), d(t, i), d(t, s), d(t, n), d(n, l), d(e, f), o && o.m(e, null), r[8](e);
194
194
  },
195
195
  p(u, [z]) {
196
196
  z & /*$_*/
197
197
  4 && c !== (c = /*$_*/
198
- u[2]("prizes") + "") && b(s, c), /*prizes*/
199
- u[1] ? o ? o.p(u, z) : (o = A(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
198
+ u[2]("prizes") + "") && b(l, c), /*prizes*/
199
+ u[1] ? o ? o.p(u, z) : (o = x(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 && w(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
- I(l, G, (a) => t(2, i = a));
211
- let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
210
+ R(r, G, (a) => t(2, i = a));
211
+ let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: l = "" } = e, { mbsource: f } = e, o, u;
212
212
  const z = () => {
213
- fetch(s).then((h) => h.json()).then((h) => {
213
+ fetch(l).then((h) => h.json()).then((h) => {
214
214
  Object.keys(h).forEach((k) => {
215
- N(k, h[k]);
215
+ M(k, h[k]);
216
216
  });
217
217
  }).catch((h) => {
218
218
  console.log(h);
219
219
  });
220
220
  };
221
- Object.keys(M).forEach((a) => {
222
- N(a, M[a]);
221
+ Object.keys(N).forEach((a) => {
222
+ M(a, N[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_${s}` && t(1, u = a.data.prizes);
226
226
  };
227
- R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
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 m(a) {
231
- q[a ? "unshift" : "push"](() => {
231
+ U[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 && D(o, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
- 33 && c && o && U(o, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
- 129 && f && o && V(o, `${f}.Style`), l.$$.dirty & /*translationurl*/
242
- 64 && s && z();
235
+ return r.$$set = (a) => {
236
+ "tourid" in a && t(3, s = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, l = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
237
+ }, r.$$.update = () => {
238
+ r.$$.dirty & /*clientstyling, customStylingContainer*/
239
+ 17 && n && o && V(o, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
+ 33 && c && o && W(o, c), r.$$.dirty & /*mbsource, customStylingContainer*/
241
+ 129 && f && o && q(o, `${f}.Style`), r.$$.dirty & /*translationurl*/
242
+ 64 && l && z();
243
243
  }, [
244
244
  o,
245
245
  u,
246
246
  i,
247
- r,
247
+ s,
248
248
  n,
249
249
  c,
250
- s,
250
+ l,
251
251
  f,
252
252
  m
253
253
  ];
254
254
  }
255
255
  class X extends L {
256
256
  constructor(e) {
257
- super(), Z(
257
+ super(), I(
258
258
  this,
259
259
  e,
260
260
  Q,
@@ -301,7 +301,7 @@ class X extends L {
301
301
  this.$$set({ mbsource: e }), _();
302
302
  }
303
303
  }
304
- W(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
304
+ Z(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
305
305
  export {
306
306
  X as default
307
307
  };