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

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-CNr53zQh.js → CasinoTournamentsListController-BgWVx_DT.js} +806 -804
  2. package/components/{CasinoTournamentsListController-B91Lyqax.js → CasinoTournamentsListController-BhhEXTKk.js} +792 -790
  3. package/components/CasinoTournamentsListController-Sk8ZMe0p.cjs +28 -0
  4. package/components/{CasinoTournamentsThumbnail-dZ1sm6ym.js → CasinoTournamentsThumbnail-BdJELZaa.js} +11 -11
  5. package/components/{CasinoTournamentsThumbnail-siUGtR0g.cjs → CasinoTournamentsThumbnail-BjpxuKgO.cjs} +1 -1
  6. package/components/{CasinoTournamentsThumbnail-DJR17vOA.js → CasinoTournamentsThumbnail-CeGI0GWb.js} +11 -11
  7. package/components/{CasinoTournamentsThumbnailController-By0nIi_-.js → CasinoTournamentsThumbnailController-4ZzWHYvL.js} +325 -358
  8. package/components/{CasinoTournamentsThumbnailController-DClFnhM2.js → CasinoTournamentsThumbnailController-CmEybTus.js} +272 -271
  9. package/components/CasinoTournamentsThumbnailController-Lu773M6Y.cjs +3 -0
  10. package/components/{CasinoTournamentsThumbnailDuration-DY7DHyLw.cjs → CasinoTournamentsThumbnailDuration-Cagiakln.cjs} +1 -1
  11. package/components/{CasinoTournamentsThumbnailDuration-Dknze1IO.js → CasinoTournamentsThumbnailDuration-DZ6Drnpd.js} +6 -6
  12. package/components/{CasinoTournamentsThumbnailDuration-DNm3kZA6.js → CasinoTournamentsThumbnailDuration-MiZ0ds5J.js} +6 -6
  13. package/components/{CasinoTournamentsThumbnailGamesSlider-D_kUDgO5.cjs → CasinoTournamentsThumbnailGamesSlider-CKzzRNvd.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailGamesSlider-D45WQ2Dp.js → CasinoTournamentsThumbnailGamesSlider-DVsV66jH.js} +18 -18
  15. package/components/{CasinoTournamentsThumbnailGamesSlider-Cawyju7x.js → CasinoTournamentsThumbnailGamesSlider-DoYQSpmC.js} +18 -18
  16. package/components/{CasinoTournamentsThumbnailPrizes-2H2CQrq-.cjs → CasinoTournamentsThumbnailPrizes-BT6R1Bvt.cjs} +1 -1
  17. package/components/{CasinoTournamentsThumbnailPrizes-7u2QNaQE.js → CasinoTournamentsThumbnailPrizes-C6sI3YYB.js} +60 -60
  18. package/components/{CasinoTournamentsThumbnailPrizes-BcFwjh1i.js → CasinoTournamentsThumbnailPrizes-_9MUOFj1.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-BgKdDb-e.cjs +1 -0
  24. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  25. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  26. package/stencil/{index-b2193545-OH6E7v51.js → index-b2193545-CD_KQ0BB.js} +176 -176
  27. package/stencil/{index-b2193545-eoIiLcDl.js → index-b2193545-CrHhiaNt.js} +169 -169
  28. package/stencil/index-b2193545-ngvz84TK.cjs +1 -0
  29. package/stencil/{ui-image-CNrnXPP3.js → ui-image-BNRjOSaN.js} +1 -1
  30. package/stencil/{ui-image-CDGN3Ekj.js → ui-image-D9tkwepr.js} +1 -1
  31. package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-DBXtq7Sy.cjs} +1 -1
  32. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  33. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  34. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  35. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-CzFe50WB.js} +2 -2
  36. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  37. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-z5LhXZY2.js} +2 -2
  38. package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-BecGfbnY.js} +2 -2
  39. package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-CKaouoPt.cjs} +1 -1
  40. package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DXmvn9dE.js} +2 -2
  41. package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-8tswdmF8.js} +1 -1
  42. package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-BVAHFeog.js} +1 -1
  43. package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-kPD5RoB3.cjs} +1 -1
  44. package/components/CasinoTournamentsListController-Xh8cK8m7.cjs +0 -28
  45. package/components/CasinoTournamentsThumbnailController-D0OPXphy.cjs +0 -3
  46. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  47. package/stencil/index-b2193545-CF9C6kiu.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, 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);
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);
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(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)}");
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)}");
64
64
  }
65
- function H(r, e, t) {
66
- const i = r.slice();
65
+ function H(l, e, t) {
66
+ const i = l.slice();
67
67
  return i[12] = e[t], i[14] = t, i;
68
68
  }
69
- function A(r) {
69
+ function x(l) {
70
70
  let e, t = S(
71
71
  /*prizes*/
72
- r[1]
72
+ l[1]
73
73
  ), i = [];
74
74
  for (let n = 0; n < t.length; n += 1)
75
- i[n] = x(H(r, t, n));
76
- let l = null;
77
- return t.length || (l = E(r)), {
75
+ i[n] = E(H(l, t, n));
76
+ let r = null;
77
+ return t.length || (r = A(l)), {
78
78
  c() {
79
79
  e = g("div");
80
80
  for (let n = 0; n < i.length; n += 1)
81
81
  i[n].c();
82
- l && l.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
82
+ r && r.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
- l && l.m(e, null);
88
+ r && r.m(e, null);
89
89
  },
90
90
  p(n, c) {
91
91
  if (c & /*prizes, $_*/
@@ -97,76 +97,76 @@ function A(r) {
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] = x(f), i[s].c(), i[s].m(e, null));
100
+ i[s] ? i[s].p(f, c) : (i[s] = E(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 && l ? l.p(n, c) : t.length ? l && (l.d(1), l = null) : (l = E(n), l.c(), l.m(e, null));
104
+ i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = A(n), r.c(), r.m(e, null));
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && T(e), U(i, n), l && l.d();
108
+ n && T(e), D(i, n), r && r.d();
109
109
  }
110
110
  };
111
111
  }
112
- function E(r) {
112
+ function A(l) {
113
113
  let e, t = (
114
114
  /*$_*/
115
- r[2]("noprizes") + ""
115
+ l[2]("noprizes") + ""
116
116
  ), i;
117
117
  return {
118
118
  c() {
119
119
  e = g("p"), i = y(t);
120
120
  },
121
- m(l, n) {
122
- w(l, e, n), d(e, i);
121
+ m(r, n) {
122
+ w(r, e, n), d(e, i);
123
123
  },
124
- p(l, n) {
124
+ p(r, n) {
125
125
  n & /*$_*/
126
126
  4 && t !== (t = /*$_*/
127
- l[2]("noprizes") + "") && b(i, t);
127
+ r[2]("noprizes") + "") && b(i, t);
128
128
  },
129
- d(l) {
130
- l && T(e);
129
+ d(r) {
130
+ r && T(e);
131
131
  }
132
132
  };
133
133
  }
134
- function x(r) {
135
- let e, t, i, l = (
134
+ function E(l) {
135
+ let e, t, i, r = (
136
136
  /*prize*/
137
- (r[12].count > 1 ? `${/*prize*/
138
- r[12].rank}~${/*prize*/
139
- r[12].rank + /*prize*/
140
- r[12].count - 1}` : (
137
+ (l[12].count > 1 ? `${/*prize*/
138
+ l[12].rank}~${/*prize*/
139
+ l[12].rank + /*prize*/
140
+ l[12].count - 1}` : (
141
141
  /*prize*/
142
- r[12].rank
142
+ l[12].rank
143
143
  )) + ""
144
144
  ), n, c, s = (
145
145
  /*$_*/
146
- r[2]("place") + ""
146
+ l[2]("place") + ""
147
147
  ), f, o, u = (
148
148
  /*prize*/
149
- r[12].name + ""
149
+ l[12].name + ""
150
150
  ), m, P;
151
151
  return {
152
152
  c() {
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]);
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]);
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 && l !== (l = /*prize*/
162
+ 2 && r !== (r = /*prize*/
163
163
  (z[12].count > 1 ? `${/*prize*/
164
164
  z[12].rank}~${/*prize*/
165
165
  z[12].rank + /*prize*/
166
166
  z[12].count - 1}` : (
167
167
  /*prize*/
168
168
  z[12].rank
169
- )) + "") && b(n, l), a & /*$_*/
169
+ )) + "") && b(n, r), 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 x(r) {
177
177
  }
178
178
  };
179
179
  }
180
- function K(r) {
181
- let e, t, i, l, n, c = (
180
+ function K(l) {
181
+ let e, t, i, r, n, c = (
182
182
  /*$_*/
183
- r[2]("prizes") + ""
183
+ l[2]("prizes") + ""
184
184
  ), s, f, o = (
185
185
  /*prizes*/
186
- r[1] && A(r)
186
+ l[1] && x(l)
187
187
  );
188
188
  return {
189
189
  c() {
190
- e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', 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");
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");
191
191
  },
192
192
  m(u, m) {
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);
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);
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 = A(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
199
+ u[1] ? o ? o.p(u, m) : (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 && T(e), o && o.d(), r[8](null);
204
+ u && T(e), o && o.d(), l[8](null);
205
205
  }
206
206
  };
207
207
  }
208
- function Q(r, e, t) {
208
+ function Q(l, e, t) {
209
209
  let i;
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;
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;
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(r, e, t) {
222
222
  N(a, M[a]);
223
223
  });
224
224
  const P = (a) => {
225
- a.data && a.data.type == `TournamentPrizes_${l}` && t(1, u = a.data.prizes);
225
+ a.data && a.data.type == `TournamentPrizes_${r}` && 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
- V[a ? "unshift" : "push"](() => {
231
+ U[a ? "unshift" : "push"](() => {
232
232
  o = a, t(0, o);
233
233
  });
234
234
  }
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*/
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*/
242
242
  64 && s && m();
243
243
  }, [
244
244
  o,
245
245
  u,
246
246
  i,
247
- l,
247
+ r,
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, 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);
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);
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(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)}");
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)}");
64
64
  }
65
- function H(r, e, t) {
66
- const i = r.slice();
65
+ function H(l, e, t) {
66
+ const i = l.slice();
67
67
  return i[12] = e[t], i[14] = t, i;
68
68
  }
69
- function A(r) {
69
+ function x(l) {
70
70
  let e, t = S(
71
71
  /*prizes*/
72
- r[1]
72
+ l[1]
73
73
  ), i = [];
74
74
  for (let n = 0; n < t.length; n += 1)
75
- i[n] = x(H(r, t, n));
76
- let l = null;
77
- return t.length || (l = E(r)), {
75
+ i[n] = E(H(l, t, n));
76
+ let r = null;
77
+ return t.length || (r = A(l)), {
78
78
  c() {
79
79
  e = g("div");
80
80
  for (let n = 0; n < i.length; n += 1)
81
81
  i[n].c();
82
- l && l.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
82
+ r && r.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
- l && l.m(e, null);
88
+ r && r.m(e, null);
89
89
  },
90
90
  p(n, c) {
91
91
  if (c & /*prizes, $_*/
@@ -97,76 +97,76 @@ function A(r) {
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] = x(f), i[s].c(), i[s].m(e, null));
100
+ i[s] ? i[s].p(f, c) : (i[s] = E(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 && l ? l.p(n, c) : t.length ? l && (l.d(1), l = null) : (l = E(n), l.c(), l.m(e, null));
104
+ i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = A(n), r.c(), r.m(e, null));
105
105
  }
106
106
  },
107
107
  d(n) {
108
- n && T(e), U(i, n), l && l.d();
108
+ n && T(e), D(i, n), r && r.d();
109
109
  }
110
110
  };
111
111
  }
112
- function E(r) {
112
+ function A(l) {
113
113
  let e, t = (
114
114
  /*$_*/
115
- r[2]("noprizes") + ""
115
+ l[2]("noprizes") + ""
116
116
  ), i;
117
117
  return {
118
118
  c() {
119
119
  e = g("p"), i = y(t);
120
120
  },
121
- m(l, n) {
122
- w(l, e, n), d(e, i);
121
+ m(r, n) {
122
+ w(r, e, n), d(e, i);
123
123
  },
124
- p(l, n) {
124
+ p(r, n) {
125
125
  n & /*$_*/
126
126
  4 && t !== (t = /*$_*/
127
- l[2]("noprizes") + "") && b(i, t);
127
+ r[2]("noprizes") + "") && b(i, t);
128
128
  },
129
- d(l) {
130
- l && T(e);
129
+ d(r) {
130
+ r && T(e);
131
131
  }
132
132
  };
133
133
  }
134
- function x(r) {
135
- let e, t, i, l = (
134
+ function E(l) {
135
+ let e, t, i, r = (
136
136
  /*prize*/
137
- (r[12].count > 1 ? `${/*prize*/
138
- r[12].rank}~${/*prize*/
139
- r[12].rank + /*prize*/
140
- r[12].count - 1}` : (
137
+ (l[12].count > 1 ? `${/*prize*/
138
+ l[12].rank}~${/*prize*/
139
+ l[12].rank + /*prize*/
140
+ l[12].count - 1}` : (
141
141
  /*prize*/
142
- r[12].rank
142
+ l[12].rank
143
143
  )) + ""
144
144
  ), n, c, s = (
145
145
  /*$_*/
146
- r[2]("place") + ""
146
+ l[2]("place") + ""
147
147
  ), f, o, u = (
148
148
  /*prize*/
149
- r[12].name + ""
149
+ l[12].name + ""
150
150
  ), m, P;
151
151
  return {
152
152
  c() {
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]);
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]);
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 && l !== (l = /*prize*/
162
+ 2 && r !== (r = /*prize*/
163
163
  (z[12].count > 1 ? `${/*prize*/
164
164
  z[12].rank}~${/*prize*/
165
165
  z[12].rank + /*prize*/
166
166
  z[12].count - 1}` : (
167
167
  /*prize*/
168
168
  z[12].rank
169
- )) + "") && b(n, l), a & /*$_*/
169
+ )) + "") && b(n, r), 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 x(r) {
177
177
  }
178
178
  };
179
179
  }
180
- function K(r) {
181
- let e, t, i, l, n, c = (
180
+ function K(l) {
181
+ let e, t, i, r, n, c = (
182
182
  /*$_*/
183
- r[2]("prizes") + ""
183
+ l[2]("prizes") + ""
184
184
  ), s, f, o = (
185
185
  /*prizes*/
186
- r[1] && A(r)
186
+ l[1] && x(l)
187
187
  );
188
188
  return {
189
189
  c() {
190
- e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', 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");
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");
191
191
  },
192
192
  m(u, m) {
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);
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);
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 = A(u), o.c(), o.m(e, null)) : o && (o.d(1), o = null);
199
+ u[1] ? o ? o.p(u, m) : (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 && T(e), o && o.d(), r[8](null);
204
+ u && T(e), o && o.d(), l[8](null);
205
205
  }
206
206
  };
207
207
  }
208
- function Q(r, e, t) {
208
+ function Q(l, e, t) {
209
209
  let i;
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;
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;
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(r, e, t) {
222
222
  N(a, M[a]);
223
223
  });
224
224
  const P = (a) => {
225
- a.data && a.data.type == `TournamentPrizes_${l}` && t(1, u = a.data.prizes);
225
+ a.data && a.data.type == `TournamentPrizes_${r}` && 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
- V[a ? "unshift" : "push"](() => {
231
+ U[a ? "unshift" : "push"](() => {
232
232
  o = a, t(0, o);
233
233
  });
234
234
  }
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*/
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*/
242
242
  64 && s && m();
243
243
  }, [
244
244
  o,
245
245
  u,
246
246
  i,
247
- l,
247
+ r,
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-Xh8cK8m7.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-Sk8ZMe0p.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-CNr53zQh.js").then((e) => e.O).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-BgWVx_DT.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-B91Lyqax.js";
1
+ import { O as s } from "../components/CasinoTournamentsListController-BhhEXTKk.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.2",
3
+ "version": "1.74.3",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-list-controller.cjs",
6
6
  "module": "esnext/casino-tournaments-list-controller.js",
@@ -0,0 +1 @@
1
+ "use strict";var T=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch(c){r(c)}},l=a=>{try{o(n.throw(a))}catch(c){r(c)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const he="ui-image",ve={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var ge=Object.defineProperty,ye=(e,t)=>{for(var n in t)ge(e,n,{get:t[n],enumerable:!0})},z=new WeakMap,E=e=>z.get(e),me=(e,t)=>z.set(t.$lazyInstance$=e,t),Se=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],z.set(e,n)},q=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),C=new Map,Ee=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=C.get(r);if(i)return i[s];{const l=o=>(C.set(r,o),o[s]);switch(r){case"ui-image_2":return Promise.resolve().then(()=>require("./ui-image_2-Ha_4GYwN.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(C.set(r,l),l[s]),k)},A=new Map,ke="{visibility:hidden}.hydrated{visibility:inherit}",J="slot-fb{display:contents}slot-fb[hidden]{display:none}",w=typeof window!="undefined"?window:{},m=w.document||{head:{}},v={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},K=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,W=[],Z=[],xe=(e,t)=>n=>{e.push(n),j||(j=!0,v.$flags$&4?B(U):v.raf(U))},M=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},U=()=>{M(W),M(Z),(j=W.length>0)&&v.raf(U)},B=e=>K().then(e),Te=xe(Z),R={},F=e=>(e=typeof e,e==="object"||e==="function");function N(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Pe={};ye(Pe,{err:()=>V,map:()=>Le,ok:()=>I,unwrap:()=>Ae,unwrapErr:()=>_e});var I=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function Le(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>I(s)):I(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Ae=e=>{if(e.isOk)return e.value;throw e.value},_e=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},we=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!F(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?D(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=D(e,null);return c.$attrs$=t,o.length>0&&(c.$children$=o),c.$key$=r,c},D=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},te={},Oe=e=>e&&e.$tag$===te,Ce=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,je=e=>E(e).$hostElement$,Ue=(e,t,n)=>{const s=v.ce(t,n);return e.dispatchEvent(s),s},X=new WeakMap,Ie=(e,t,n)=>{let s=A.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,A.set(e,s)},De=(e,t,n)=>{var s;const r=se(t),i=A.get(r);if(e=e.nodeType===11?e:m,i)if(typeof i=="string"){e=e.head||e;let l=X.get(e),o;if(l||X.set(e,l=new Set),!l.has(r)){{o=m.createElement("style"),o.innerHTML=i;const a=(s=v.$nonce$)!=null?s:N(m);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=J),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},ze=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);De(n.getRootNode(),t),s()},se=(e,t)=>"sc-"+e.$tagName$,G=(e,t,n,s,r,i)=>{if(n!==s){let l=q(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,c=Q(n),$=Q(s);a.remove(...c.filter(f=>f&&!$.includes(f))),a.add(...$.filter(f=>f&&!c.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):q(w,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(ne);t=t.replace(Fe,""),n&&v.rel(e,t,n,a),s&&v.ael(e,t,s,a)}}else{const a=F(s);if(l||a&&s!==null)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=c)&&(e[t]=c)}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Be=/\s/,Q=e=>e?e.split(Be):[],ne="Capture",Fe=new RegExp(ne+"$"),re=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||R,i=t.$attrs$||R;for(const l of Y(Object.keys(r)))l in i||G(s,l,r[l],void 0,n,t.$flags$);for(const l of Y(Object.keys(i)))G(s,l,r[l],i[l],n,t.$flags$)};function Y(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var le,ae=!1,_=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;if(r.$text$!==null)l=r.$elm$=m.createTextNode(r.$text$);else if(l=r.$elm$=m.createElement(r.$tag$),re(null,r,ae),r.$children$)for(i=0;i<r.$children$.length;++i)o=_(e,r,i),o&&l.appendChild(o);return l["s-hn"]=le,l},ie=(e,t,n,s,r,i)=>{let l=e,o;for(;r<=i;++r)s[r]&&(o=_(null,n,r),o&&(s[r].$elm$=o,L(l,o,t)))},oe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;ce(r),i&&i.remove()}}},He=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,c=t.length-1,$=t[0],f=t[c],u=s.length-1,d=s[0],p=s[u],h,g;for(;i<=c&&l<=u;)if($==null)$=t[++i];else if(f==null)f=t[--c];else if(d==null)d=s[++l];else if(p==null)p=s[--u];else if(P($,d,r))b($,d,r),$=t[++i],d=s[++l];else if(P(f,p,r))b(f,p,r),f=t[--c],p=s[--u];else if(P($,p,r))b($,p,r),L(e,$.$elm$,f.$elm$.nextSibling),$=t[++i],p=s[--u];else if(P(f,d,r))b(f,d,r),L(e,f.$elm$,$.$elm$),f=t[--c],d=s[++l];else{for(o=-1,a=i;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===d.$key$){o=a;break}o>=0?(g=t[o],g.$tag$!==d.$tag$?h=_(t&&t[l],n,o):(b(g,d,r),t[o]=void 0,h=g.$elm$),d=s[++l]):(h=_(t&&t[l],n,l),d=s[++l]),h&&L($.$elm$.parentNode,h,$.$elm$)}i>c?ie(e,s[u+1]==null?null:s[u+1].$elm$,n,s,l,u):l>u&&oe(t,i,c)},P=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,b=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$text$;l===null?(re(e,t,ae),r!==null&&i!==null?He(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ie(s,null,t,i,0,i.length-1)):r!==null&&oe(r,0,r.length-1)):e.$text$!==l&&(s.data=l)},ce=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ce)},L=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),qe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||D(null,null),i=Oe(t)?t:ee(null,null,t);if(le=s.tagName,n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=r.$elm$=s,b(r,i,n)},$e=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return $e(e,e.$ancestorComponent$),Te(()=>We(e,t))},We=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return s(),Me(i,()=>Xe(e,r,t))},Me=(e,t)=>Re(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Re=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Xe=(e,t,n)=>T(exports,null,function*(){var s;const r=e.$hostElement$,i=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&ze(e);const o=S("render",e.$cmpMeta$.$tagName$);Ge(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],c=()=>Qe(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),Ge=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,qe(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Qe=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ue(n),Ye(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&B(()=>H(e,!1)),e.$flags$&=-517},fe=e=>{ue(m.documentElement),B(()=>Ue(w,"appload",{detail:{namespace:he}}))},Ye=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},ue=e=>{var t;return e.classList.add((t=ve.hydratedSelectorName)!=null?t:"hydrated")},Je=(e,t)=>E(e).$instanceValues$.get(t),Ke=(e,t,n,s)=>{const r=E(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(o&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(u=>{try{a[u](n,l,t)}catch(d){k(d,i)}})}(o&18)===2&&H(r,!1)}},de=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Je(this,o)},set(c){Ke(this,o,c,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,c,$){v.jmp(()=>{var f;const u=o.get(a);if(this.hasOwnProperty(u))$=this[u],delete this[u];else{if(i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==$)return;if(u==null){const d=E(this),p=d==null?void 0:d.$flags$;if(p&&!(p&8)&&p&128&&$!==c){const h=d.$lazyInstance$,g=(f=t.$watchers$)==null?void 0:f[a];g==null||g.forEach(y=>{h[y]!=null&&h[y].call(h,$,c,a)})}return}}this[u]=$===null&&typeof this[u]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,c])=>c[0]&15).map(([a,c])=>{const $=c[1]||a;return o.set($,a),$})]))}}return e},Ze=(e,t,n,s)=>T(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=Ee(n);if(a&&"then"in a){const $=we();r=yield a,$()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,de(r,n,2),r.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const c=se(n);if(!A.has(c)){const $=S("registerStyles",n.$tagName$);Ie(c,a,!!(n.$flags$&1)),$()}}}const i=t.$ancestorComponent$,l=()=>H(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),Ne=e=>{},Ve=e=>{if(!(v.$flags$&1)){const t=E(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Ne());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){$e(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Ze(e,t,n)}s()}},et=e=>{},tt=e=>T(exports,null,function*(){if(!(v.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>et())}}),st=(e,t={})=>{var n;const s=S(),r=[],i=t.exclude||[],l=w.customElements,o=m.head,a=o.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let f,u=!0;Object.assign(v,t),v.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(p=>{p[1].map(h=>{var g;const y={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};y.$flags$&4&&(d=!0),y.$members$=h[2],y.$watchers$=(g=h[4])!=null?g:{};const x=y.$tagName$,pe=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,Se(O,y)}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?$.push(this):v.jmp(()=>Ve(this))}disconnectedCallback(){v.jmp(()=>tt(this))}componentOnReady(){return E(this).$onReadyPromise$}};y.$lazyBundleId$=p[0],!i.includes(x)&&!l.get(x)&&(r.push(x),l.define(x,de(pe,y,1)))})}),r.length>0&&(d&&(c.textContent+=J),c.textContent+=r.sort()+ke,c.innerHTML.length)){c.setAttribute("data-styles","");const p=(n=v.$nonce$)!=null?n:N(m);p!=null&&c.setAttribute("nonce",p),o.insertBefore(c,a?a.nextSibling:o.firstChild)}u=!1,$.length?$.map(p=>p.connectedCallback()):v.jmp(()=>f=setTimeout(fe,30)),s()};exports.Host=te;exports.bootstrapLazy=st;exports.getElement=je;exports.h=ee;exports.promiseResolve=K;exports.registerInstance=me;