@everymatrix/casino-tournaments-list-controller 1.98.11 → 1.98.13

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 (25) hide show
  1. package/components/{CasinoTournamentsListController-DU-wBQ6s.js → CasinoTournamentsListController-Cf0oW0Oe.js} +1 -1
  2. package/components/{CasinoTournamentsListController-8abNLUmc.js → CasinoTournamentsListController-tsNVvrbK.js} +1 -1
  3. package/components/{CasinoTournamentsListController-ChZCA8s1.cjs → CasinoTournamentsListController-vOqoDzBA.cjs} +1 -1
  4. package/components/{CasinoTournamentsThumbnail-CVJEECYo.js → CasinoTournamentsThumbnail-DIAeUyv2.js} +223 -155
  5. package/components/{CasinoTournamentsThumbnail-BV0LbN2E.cjs → CasinoTournamentsThumbnail-DQ4p54JY.cjs} +3 -3
  6. package/components/{CasinoTournamentsThumbnail-BeGvrf7Z.js → CasinoTournamentsThumbnail-SwYCgViR.js} +230 -162
  7. package/components/{CasinoTournamentsThumbnailController-dwBkEvek.js → CasinoTournamentsThumbnailController-BRnpl_Mf.js} +5 -5
  8. package/components/{CasinoTournamentsThumbnailController-BBhAWZSh.js → CasinoTournamentsThumbnailController-CQ0gp86n.js} +5 -5
  9. package/components/{CasinoTournamentsThumbnailController-B_t_k14i.cjs → CasinoTournamentsThumbnailController-DTJwQUnV.cjs} +2 -2
  10. package/components/CasinoTournamentsThumbnailDuration-CkyiL4UU.cjs +1 -0
  11. package/components/{CasinoTournamentsThumbnailDuration-BxMu7jwh.js → CasinoTournamentsThumbnailDuration-D6fM5hd7.js} +47 -31
  12. package/components/{CasinoTournamentsThumbnailDuration-Wzy7eqUi.js → CasinoTournamentsThumbnailDuration-DBnjtu3f.js} +58 -42
  13. package/components/CasinoTournamentsThumbnailGamesSlider-DnLxcrbn.cjs +1 -0
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-DFkBgWsW.js → CasinoTournamentsThumbnailGamesSlider-U7_5U42C.js} +8 -2
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-DXxAqj-s.js → CasinoTournamentsThumbnailGamesSlider-jiNcJNbp.js} +24 -18
  16. package/components/CasinoTournamentsThumbnailPrizes-7xA4VjF2.cjs +1 -0
  17. package/components/{CasinoTournamentsThumbnailPrizes-rl18zrEQ.js → CasinoTournamentsThumbnailPrizes-BKaV-mIU.js} +102 -92
  18. package/components/{CasinoTournamentsThumbnailPrizes-Cu_NWe7L.js → CasinoTournamentsThumbnailPrizes-BS3lQo68.js} +86 -76
  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/components/CasinoTournamentsThumbnailDuration-2R1e9PUS.cjs +0 -1
  24. package/components/CasinoTournamentsThumbnailGamesSlider-CPwAyf6P.cjs +0 -1
  25. package/components/CasinoTournamentsThumbnailPrizes-DUmdUpW_.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { b as L, S as Z, i as j, s as B, f as _, d as I, n as F, e as T, u as b, j as k, k as d, l as g, m as w, v as P, h as u, o as R, p as O, G as N, H as q, q as D, B as U, C as V, D as W, c as G, A as J } from "./CasinoTournamentsListController-DU-wBQ6s.js";
2
- function M(l, e) {
3
- L(l, e);
1
+ import { b as L, S as Z, i as j, s as B, f as _, c as I, n as F, d as k, t as b, h as T, j as d, k as g, l as w, u as P, g as p, m as R, o as O, G as M, H as D, p as U, z as V, A as W, B as q, C as G, D as J } from "./CasinoTournamentsListController-tsNVvrbK.js";
2
+ function N(r, e) {
3
+ L(r, e);
4
4
  }
5
5
  const H = {
6
6
  en: {
@@ -57,69 +57,79 @@ const H = {
57
57
  prizes: "Prizes",
58
58
  noprizes: "No available prizes",
59
59
  place: "place"
60
+ },
61
+ ru: {
62
+ prizes: "Призы",
63
+ noprizes: "Нет доступных призов",
64
+ place: "место"
65
+ },
66
+ az: {
67
+ prizes: "Mükafatlar",
68
+ noprizes: "Mövcud mükafat yoxdur",
69
+ place: "yer"
60
70
  }
61
71
  };
62
- function K(l) {
63
- I(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)}");
72
+ function K(r) {
73
+ I(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
74
  }
65
- function A(l, e, t) {
66
- const i = l.slice();
75
+ function x(r, e, t) {
76
+ const i = r.slice();
67
77
  return i[12] = e[t], i[14] = t, i;
68
78
  }
69
- function E(l) {
70
- let e, t = N(
79
+ function A(r) {
80
+ let e, t = M(
71
81
  /*prizes*/
72
- l[1]
82
+ r[1]
73
83
  ), i = [];
74
84
  for (let n = 0; n < t.length; n += 1)
75
- i[n] = C(A(l, t, n));
85
+ i[n] = C(x(r, t, n));
76
86
  let s = null;
77
- return t.length || (s = x(l)), {
87
+ return t.length || (s = E(r)), {
78
88
  c() {
79
89
  e = g("div");
80
90
  for (let n = 0; n < i.length; n += 1)
81
91
  i[n].c();
82
- s && s.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
92
+ s && s.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
83
93
  },
84
94
  m(n, c) {
85
- k(n, e, c);
86
- for (let r = 0; r < i.length; r += 1)
87
- i[r] && i[r].m(e, null);
95
+ T(n, e, c);
96
+ for (let l = 0; l < i.length; l += 1)
97
+ i[l] && i[l].m(e, null);
88
98
  s && s.m(e, null);
89
99
  },
90
100
  p(n, c) {
91
101
  if (c & /*prizes, $_*/
92
102
  6) {
93
- t = N(
103
+ t = M(
94
104
  /*prizes*/
95
105
  n[1]
96
106
  );
97
- let r;
98
- for (r = 0; r < t.length; r += 1) {
99
- const f = A(n, t, r);
100
- i[r] ? i[r].p(f, c) : (i[r] = C(f), i[r].c(), i[r].m(e, null));
107
+ let l;
108
+ for (l = 0; l < t.length; l += 1) {
109
+ const z = x(n, t, l);
110
+ i[l] ? i[l].p(z, c) : (i[l] = C(z), i[l].c(), i[l].m(e, null));
101
111
  }
102
- for (; r < i.length; r += 1)
103
- i[r].d(1);
104
- i.length = t.length, !t.length && s ? s.p(n, c) : t.length ? s && (s.d(1), s = null) : (s = x(n), s.c(), s.m(e, null));
112
+ for (; l < i.length; l += 1)
113
+ i[l].d(1);
114
+ 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
115
  }
106
116
  },
107
117
  d(n) {
108
- n && T(e), q(i, n), s && s.d();
118
+ n && k(e), D(i, n), s && s.d();
109
119
  }
110
120
  };
111
121
  }
112
- function x(l) {
122
+ function E(r) {
113
123
  let e, t = (
114
124
  /*$_*/
115
- l[2]("noprizes") + ""
125
+ r[2]("noprizes") + ""
116
126
  ), i;
117
127
  return {
118
128
  c() {
119
129
  e = g("p"), i = P(t);
120
130
  },
121
131
  m(s, n) {
122
- k(s, e, n), d(e, i);
132
+ T(s, e, n), d(e, i);
123
133
  },
124
134
  p(s, n) {
125
135
  n & /*$_*/
@@ -127,128 +137,128 @@ function x(l) {
127
137
  s[2]("noprizes") + "") && b(i, t);
128
138
  },
129
139
  d(s) {
130
- s && T(e);
140
+ s && k(e);
131
141
  }
132
142
  };
133
143
  }
134
- function C(l) {
144
+ function C(r) {
135
145
  let e, t, i, s = (
136
146
  /*prize*/
137
- (l[12].count > 1 ? `${/*prize*/
138
- l[12].rank}~${/*prize*/
139
- l[12].rank + /*prize*/
140
- l[12].count - 1}` : (
147
+ (r[12].count > 1 ? `${/*prize*/
148
+ r[12].rank}~${/*prize*/
149
+ r[12].rank + /*prize*/
150
+ r[12].count - 1}` : (
141
151
  /*prize*/
142
- l[12].rank
152
+ r[12].rank
143
153
  )) + ""
144
- ), n, c, r = (
154
+ ), n, c, l = (
145
155
  /*$_*/
146
- l[2]("place") + ""
147
- ), f, a, p = (
156
+ r[2]("place") + ""
157
+ ), z, a, u = (
148
158
  /*prize*/
149
- l[12].name + ""
150
- ), z, v;
159
+ r[12].name + ""
160
+ ), m, v;
151
161
  return {
152
162
  c() {
153
- e = g("div"), t = g("p"), i = g("span"), n = P(s), c = w(), f = P(r), a = P(": "), z = 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]);
163
+ e = g("div"), t = g("p"), i = g("span"), n = P(s), c = w(), z = P(l), a = P(": "), m = P(u), v = w(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
164
+ r[14]), p(e, "part", "Prize Prize" + /*index*/
165
+ r[14]);
156
166
  },
157
- m(m, h) {
158
- k(m, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, a), d(t, z), d(e, v);
167
+ m(f, h) {
168
+ T(f, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, z), d(t, a), d(t, m), d(e, v);
159
169
  },
160
- p(m, h) {
170
+ p(f, h) {
161
171
  h & /*prizes*/
162
172
  2 && s !== (s = /*prize*/
163
- (m[12].count > 1 ? `${/*prize*/
164
- m[12].rank}~${/*prize*/
165
- m[12].rank + /*prize*/
166
- m[12].count - 1}` : (
173
+ (f[12].count > 1 ? `${/*prize*/
174
+ f[12].rank}~${/*prize*/
175
+ f[12].rank + /*prize*/
176
+ f[12].count - 1}` : (
167
177
  /*prize*/
168
- m[12].rank
178
+ f[12].rank
169
179
  )) + "") && b(n, s), h & /*$_*/
170
- 4 && r !== (r = /*$_*/
171
- m[2]("place") + "") && b(f, r), h & /*prizes*/
172
- 2 && p !== (p = /*prize*/
173
- m[12].name + "") && b(z, p);
180
+ 4 && l !== (l = /*$_*/
181
+ f[2]("place") + "") && b(z, l), h & /*prizes*/
182
+ 2 && u !== (u = /*prize*/
183
+ f[12].name + "") && b(m, u);
174
184
  },
175
- d(m) {
176
- m && T(e);
185
+ d(f) {
186
+ f && k(e);
177
187
  }
178
188
  };
179
189
  }
180
- function Q(l) {
190
+ function Q(r) {
181
191
  let e, t, i, s, n, c = (
182
192
  /*$_*/
183
- l[2]("prizes") + ""
184
- ), r, f, a = (
193
+ r[2]("prizes") + ""
194
+ ), l, z, a = (
185
195
  /*prizes*/
186
- l[1] && E(l)
196
+ r[1] && A(r)
187
197
  );
188
198
  return {
189
199
  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>', s = w(), n = g("p"), r = 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");
200
+ 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 = w(), n = g("p"), l = P(c), z = w(), a && a.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
201
  },
192
- m(p, z) {
193
- k(p, e, z), d(e, t), d(t, i), d(t, s), d(t, n), d(n, r), d(e, f), a && a.m(e, null), l[8](e);
202
+ m(u, m) {
203
+ T(u, e, m), d(e, t), d(t, i), d(t, s), d(t, n), d(n, l), d(e, z), a && a.m(e, null), r[8](e);
194
204
  },
195
- p(p, [z]) {
196
- z & /*$_*/
205
+ p(u, [m]) {
206
+ m & /*$_*/
197
207
  4 && c !== (c = /*$_*/
198
- p[2]("prizes") + "") && b(r, c), /*prizes*/
199
- p[1] ? a ? a.p(p, z) : (a = E(p), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
208
+ u[2]("prizes") + "") && b(l, c), /*prizes*/
209
+ u[1] ? a ? a.p(u, m) : (a = A(u), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
200
210
  },
201
211
  i: F,
202
212
  o: F,
203
- d(p) {
204
- p && T(e), a && a.d(), l[8](null);
213
+ d(u) {
214
+ u && k(e), a && a.d(), r[8](null);
205
215
  }
206
216
  };
207
217
  }
208
- function X(l, e, t) {
218
+ function X(r, e, t) {
209
219
  let i;
210
- R(l, J, (o) => t(2, i = o));
211
- let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: r = "" } = e, { mbsource: f } = e, a, p, z;
220
+ R(r, J, (o) => t(2, i = o));
221
+ let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: l = "" } = e, { mbsource: z } = e, a, u, m;
212
222
  const v = () => {
213
- fetch(r).then((y) => y.json()).then((y) => {
223
+ fetch(l).then((y) => y.json()).then((y) => {
214
224
  Object.keys(y).forEach((S) => {
215
- M(S, y[S]);
225
+ N(S, y[S]);
216
226
  });
217
227
  }).catch((y) => {
218
228
  console.log(y);
219
229
  });
220
230
  };
221
231
  Object.keys(H).forEach((o) => {
222
- M(o, H[o]);
232
+ N(o, H[o]);
223
233
  });
224
- const m = (o) => {
225
- o.data && o.data.type == `TournamentPrizes_${s}` && t(1, z = o.data.prizes);
234
+ const f = (o) => {
235
+ o.data && o.data.type == `TournamentPrizes_${s}` && t(1, m = o.data.prizes);
226
236
  };
227
- O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", m, !1), () => {
228
- window.removeEventListener("message", m);
237
+ O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", f, !1), () => {
238
+ window.removeEventListener("message", f);
229
239
  }));
230
240
  function h(o) {
231
- D[o ? "unshift" : "push"](() => {
241
+ U[o ? "unshift" : "push"](() => {
232
242
  a = o, t(0, a);
233
243
  });
234
244
  }
235
- return l.$$set = (o) => {
236
- "tourid" in o && t(3, s = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, r = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
237
- }, l.$$.update = () => {
238
- l.$$.dirty & /*clientstyling, customStylingContainer*/
239
- 17 && n && a && U(a, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
240
- 33 && c && a && V(a, c), l.$$.dirty & /*mbsource, customStylingContainer*/
241
- 129 && f && a && W(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
242
- 64 && r && v();
245
+ return r.$$set = (o) => {
246
+ "tourid" in o && t(3, s = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, l = o.translationurl), "mbsource" in o && t(7, z = o.mbsource);
247
+ }, r.$$.update = () => {
248
+ r.$$.dirty & /*clientstyling, customStylingContainer*/
249
+ 17 && n && a && V(a, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
250
+ 33 && c && a && W(a, c), r.$$.dirty & /*mbsource, customStylingContainer*/
251
+ 129 && z && a && q(a, `${z}.Style`, u), r.$$.dirty & /*translationurl*/
252
+ 64 && l && v();
243
253
  }, [
244
254
  a,
245
- z,
255
+ m,
246
256
  i,
247
257
  s,
248
258
  n,
249
259
  c,
250
- r,
251
- f,
260
+ l,
261
+ z,
252
262
  h
253
263
  ];
254
264
  }
@@ -1,6 +1,6 @@
1
- import { b as L, S as Z, i as j, s as B, f as _, c as I, n as F, d as T, t as b, h as k, j as d, k as g, l as w, u as P, g as u, m as R, o as O, G as N, H as D, p as U, z as V, A as W, B as q, C as G, D as J } from "./CasinoTournamentsListController-8abNLUmc.js";
2
- function M(l, e) {
3
- L(l, e);
1
+ import { b as L, S as Z, i as j, s as B, f as _, d as I, n as F, e as k, u as b, j as T, k as d, l as g, m as w, v as P, h as p, o as R, p as O, G as M, H as q, q as D, B as U, C as V, D as W, c as G, A as J } from "./CasinoTournamentsListController-Cf0oW0Oe.js";
2
+ function N(r, e) {
3
+ L(r, e);
4
4
  }
5
5
  const H = {
6
6
  en: {
@@ -57,69 +57,79 @@ const H = {
57
57
  prizes: "Prizes",
58
58
  noprizes: "No available prizes",
59
59
  place: "place"
60
+ },
61
+ ru: {
62
+ prizes: "Призы",
63
+ noprizes: "Нет доступных призов",
64
+ place: "место"
65
+ },
66
+ az: {
67
+ prizes: "Mükafatlar",
68
+ noprizes: "Mövcud mükafat yoxdur",
69
+ place: "yer"
60
70
  }
61
71
  };
62
- function K(l) {
63
- I(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)}");
72
+ function K(r) {
73
+ I(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
74
  }
65
- function A(l, e, t) {
66
- const i = l.slice();
75
+ function x(r, e, t) {
76
+ const i = r.slice();
67
77
  return i[12] = e[t], i[14] = t, i;
68
78
  }
69
- function E(l) {
70
- let e, t = N(
79
+ function A(r) {
80
+ let e, t = M(
71
81
  /*prizes*/
72
- l[1]
82
+ r[1]
73
83
  ), i = [];
74
84
  for (let n = 0; n < t.length; n += 1)
75
- i[n] = C(A(l, t, n));
85
+ i[n] = C(x(r, t, n));
76
86
  let s = null;
77
- return t.length || (s = x(l)), {
87
+ return t.length || (s = E(r)), {
78
88
  c() {
79
89
  e = g("div");
80
90
  for (let n = 0; n < i.length; n += 1)
81
91
  i[n].c();
82
- s && s.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
92
+ s && s.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
83
93
  },
84
94
  m(n, c) {
85
- k(n, e, c);
86
- for (let r = 0; r < i.length; r += 1)
87
- i[r] && i[r].m(e, null);
95
+ T(n, e, c);
96
+ for (let l = 0; l < i.length; l += 1)
97
+ i[l] && i[l].m(e, null);
88
98
  s && s.m(e, null);
89
99
  },
90
100
  p(n, c) {
91
101
  if (c & /*prizes, $_*/
92
102
  6) {
93
- t = N(
103
+ t = M(
94
104
  /*prizes*/
95
105
  n[1]
96
106
  );
97
- let r;
98
- for (r = 0; r < t.length; r += 1) {
99
- const f = A(n, t, r);
100
- i[r] ? i[r].p(f, c) : (i[r] = C(f), i[r].c(), i[r].m(e, null));
107
+ let l;
108
+ for (l = 0; l < t.length; l += 1) {
109
+ const f = x(n, t, l);
110
+ i[l] ? i[l].p(f, c) : (i[l] = C(f), i[l].c(), i[l].m(e, null));
101
111
  }
102
- for (; r < i.length; r += 1)
103
- i[r].d(1);
104
- i.length = t.length, !t.length && s ? s.p(n, c) : t.length ? s && (s.d(1), s = null) : (s = x(n), s.c(), s.m(e, null));
112
+ for (; l < i.length; l += 1)
113
+ i[l].d(1);
114
+ 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
115
  }
106
116
  },
107
117
  d(n) {
108
- n && T(e), D(i, n), s && s.d();
118
+ n && k(e), q(i, n), s && s.d();
109
119
  }
110
120
  };
111
121
  }
112
- function x(l) {
122
+ function E(r) {
113
123
  let e, t = (
114
124
  /*$_*/
115
- l[2]("noprizes") + ""
125
+ r[2]("noprizes") + ""
116
126
  ), i;
117
127
  return {
118
128
  c() {
119
129
  e = g("p"), i = P(t);
120
130
  },
121
131
  m(s, n) {
122
- k(s, e, n), d(e, i);
132
+ T(s, e, n), d(e, i);
123
133
  },
124
134
  p(s, n) {
125
135
  n & /*$_*/
@@ -127,35 +137,35 @@ function x(l) {
127
137
  s[2]("noprizes") + "") && b(i, t);
128
138
  },
129
139
  d(s) {
130
- s && T(e);
140
+ s && k(e);
131
141
  }
132
142
  };
133
143
  }
134
- function C(l) {
144
+ function C(r) {
135
145
  let e, t, i, s = (
136
146
  /*prize*/
137
- (l[12].count > 1 ? `${/*prize*/
138
- l[12].rank}~${/*prize*/
139
- l[12].rank + /*prize*/
140
- l[12].count - 1}` : (
147
+ (r[12].count > 1 ? `${/*prize*/
148
+ r[12].rank}~${/*prize*/
149
+ r[12].rank + /*prize*/
150
+ r[12].count - 1}` : (
141
151
  /*prize*/
142
- l[12].rank
152
+ r[12].rank
143
153
  )) + ""
144
- ), n, c, r = (
154
+ ), n, c, l = (
145
155
  /*$_*/
146
- l[2]("place") + ""
147
- ), f, a, p = (
156
+ r[2]("place") + ""
157
+ ), f, a, u = (
148
158
  /*prize*/
149
- l[12].name + ""
159
+ r[12].name + ""
150
160
  ), m, v;
151
161
  return {
152
162
  c() {
153
- e = g("div"), t = g("p"), i = g("span"), n = P(s), c = w(), f = P(r), 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]);
163
+ e = g("div"), t = g("p"), i = g("span"), n = P(s), c = w(), f = P(l), a = P(": "), m = P(u), v = w(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
164
+ r[14]), p(e, "part", "Prize Prize" + /*index*/
165
+ r[14]);
156
166
  },
157
167
  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);
168
+ T(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
169
  },
160
170
  p(z, h) {
161
171
  h & /*prizes*/
@@ -167,59 +177,59 @@ function C(l) {
167
177
  /*prize*/
168
178
  z[12].rank
169
179
  )) + "") && b(n, s), h & /*$_*/
170
- 4 && r !== (r = /*$_*/
171
- z[2]("place") + "") && b(f, r), h & /*prizes*/
172
- 2 && p !== (p = /*prize*/
173
- z[12].name + "") && b(m, p);
180
+ 4 && l !== (l = /*$_*/
181
+ z[2]("place") + "") && b(f, l), h & /*prizes*/
182
+ 2 && u !== (u = /*prize*/
183
+ z[12].name + "") && b(m, u);
174
184
  },
175
185
  d(z) {
176
- z && T(e);
186
+ z && k(e);
177
187
  }
178
188
  };
179
189
  }
180
- function Q(l) {
190
+ function Q(r) {
181
191
  let e, t, i, s, n, c = (
182
192
  /*$_*/
183
- l[2]("prizes") + ""
184
- ), r, f, a = (
193
+ r[2]("prizes") + ""
194
+ ), l, f, a = (
185
195
  /*prizes*/
186
- l[1] && E(l)
196
+ r[1] && A(r)
187
197
  );
188
198
  return {
189
199
  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>', s = w(), n = g("p"), r = 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");
200
+ 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 = w(), n = g("p"), l = P(c), f = w(), a && a.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
201
  },
192
- m(p, m) {
193
- k(p, e, m), d(e, t), d(t, i), d(t, s), d(t, n), d(n, r), d(e, f), a && a.m(e, null), l[8](e);
202
+ m(u, m) {
203
+ T(u, e, m), d(e, t), d(t, i), d(t, s), d(t, n), d(n, l), d(e, f), a && a.m(e, null), r[8](e);
194
204
  },
195
- p(p, [m]) {
205
+ p(u, [m]) {
196
206
  m & /*$_*/
197
207
  4 && c !== (c = /*$_*/
198
- p[2]("prizes") + "") && b(r, 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);
208
+ u[2]("prizes") + "") && b(l, c), /*prizes*/
209
+ u[1] ? a ? a.p(u, m) : (a = A(u), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
200
210
  },
201
211
  i: F,
202
212
  o: F,
203
- d(p) {
204
- p && T(e), a && a.d(), l[8](null);
213
+ d(u) {
214
+ u && k(e), a && a.d(), r[8](null);
205
215
  }
206
216
  };
207
217
  }
208
- function X(l, e, t) {
218
+ function X(r, e, t) {
209
219
  let i;
210
- R(l, J, (o) => t(2, i = o));
211
- let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: r = "" } = e, { mbsource: f } = e, a, p, m;
220
+ R(r, J, (o) => t(2, i = o));
221
+ let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: l = "" } = e, { mbsource: f } = e, a, u, m;
212
222
  const v = () => {
213
- fetch(r).then((y) => y.json()).then((y) => {
223
+ fetch(l).then((y) => y.json()).then((y) => {
214
224
  Object.keys(y).forEach((S) => {
215
- M(S, y[S]);
225
+ N(S, y[S]);
216
226
  });
217
227
  }).catch((y) => {
218
228
  console.log(y);
219
229
  });
220
230
  };
221
231
  Object.keys(H).forEach((o) => {
222
- M(o, H[o]);
232
+ N(o, H[o]);
223
233
  });
224
234
  const z = (o) => {
225
235
  o.data && o.data.type == `TournamentPrizes_${s}` && t(1, m = o.data.prizes);
@@ -228,18 +238,18 @@ function X(l, e, t) {
228
238
  window.removeEventListener("message", z);
229
239
  }));
230
240
  function h(o) {
231
- U[o ? "unshift" : "push"](() => {
241
+ D[o ? "unshift" : "push"](() => {
232
242
  a = o, t(0, a);
233
243
  });
234
244
  }
235
- return l.$$set = (o) => {
236
- "tourid" in o && t(3, s = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, r = 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 && q(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
242
- 64 && r && v();
245
+ return r.$$set = (o) => {
246
+ "tourid" in o && t(3, s = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, l = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
247
+ }, r.$$.update = () => {
248
+ r.$$.dirty & /*clientstyling, customStylingContainer*/
249
+ 17 && n && a && U(a, n), r.$$.dirty & /*clientstylingurl, customStylingContainer*/
250
+ 33 && c && a && V(a, c), r.$$.dirty & /*mbsource, customStylingContainer*/
251
+ 129 && f && a && W(a, `${f}.Style`, u), r.$$.dirty & /*translationurl*/
252
+ 64 && l && v();
243
253
  }, [
244
254
  a,
245
255
  m,
@@ -247,7 +257,7 @@ function X(l, e, t) {
247
257
  s,
248
258
  n,
249
259
  c,
250
- r,
260
+ l,
251
261
  f,
252
262
  h
253
263
  ];
@@ -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-ChZCA8s1.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-vOqoDzBA.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-8abNLUmc.js").then((e) => e.L).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-tsNVvrbK.js").then((e) => e.L).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 { L as s } from "../components/CasinoTournamentsListController-DU-wBQ6s.js";
1
+ import { L as s } from "../components/CasinoTournamentsListController-Cf0oW0Oe.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.98.11",
3
+ "version": "1.98.13",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-list-controller.cjs",
6
6
  "module": "esnext/casino-tournaments-list-controller.js",