@everymatrix/casino-page-nd 1.51.0 → 1.52.1

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 (21) hide show
  1. package/components/{CasinoFavoritesSectionNd-DLh-M3H2.cjs → CasinoFavoritesSectionNd-DOM621Gf.cjs} +1 -1
  2. package/components/{CasinoFavoritesSectionNd-DOzgCl-u.js → CasinoFavoritesSectionNd-DcAkpPgr.js} +1 -1
  3. package/components/{CasinoGamesCategorySectionNd-CFmWbYEb.js → CasinoGamesCategorySectionNd-CW-zJgQ3.js} +2 -2
  4. package/components/CasinoGamesCategorySectionNd-DjQqXSZO.cjs +1 -0
  5. package/components/{CasinoLastPlayedSectionNd-CGVWXLY6.cjs → CasinoLastPlayedSectionNd-CGf-abk3.cjs} +1 -1
  6. package/components/{CasinoLastPlayedSectionNd-ByVrMcgx.js → CasinoLastPlayedSectionNd-DxnkShrw.js} +1 -1
  7. package/components/{CasinoMostPlayedSectionNd-Dfe8yQvV.cjs → CasinoMostPlayedSectionNd-DYaAEd2W.cjs} +1 -1
  8. package/components/{CasinoMostPlayedSectionNd-BUdGjzwY.js → CasinoMostPlayedSectionNd-DePNWg2S.js} +1 -1
  9. package/components/{CasinoMyGamesNd-x6SMPWre.cjs → CasinoMyGamesNd-DDnn6xTK.cjs} +1 -1
  10. package/components/{CasinoMyGamesNd-BZZ-lYdp.js → CasinoMyGamesNd-HwxjLY5k.js} +3 -3
  11. package/components/{CasinoPageNd-DAP0o9Q5.js → CasinoPageNd-DtGF74tZ.js} +4 -4
  12. package/components/{CasinoPageNd-C-wKagDJ.cjs → CasinoPageNd-OiDycZMJ.cjs} +1 -1
  13. package/components/{CasinoSearchNd-9S8N_prm.js → CasinoSearchNd-Bar7saDl.js} +1 -1
  14. package/components/{CasinoSearchNd-CSSN4BON.cjs → CasinoSearchNd-CZJkWPAF.cjs} +1 -1
  15. package/components/CasinoWinners-CSgsVlTu.cjs +1 -0
  16. package/components/{CasinoWinners-B8q6NbF7.js → CasinoWinners-dnaElXcd.js} +99 -94
  17. package/es2015/casino-page-nd.cjs +1 -1
  18. package/es2015/casino-page-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/components/CasinoGamesCategorySectionNd-BWwaYErG.cjs +0 -1
  21. package/components/CasinoWinners-C3qw75rG.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { I as Je, $ as Xe, S as Ye, i as Qe, f as y, c as $e, s as et, b as tt, e as W, d as D, C as ye, j as P, J as nt, o as it, l as rt, m as oe, p as te, q as O, E as ee, u as a, v as u, w as J, B as Be, M as st, P as H, F as Te, N as lt, r as V, A as Z, D as we } from "./CasinoCalendar-DOhm0UH1.js";
2
- function _e(n, e) {
1
+ import { I as Je, $ as Xe, S as Ye, i as Qe, f as y, c as $e, s as et, b as tt, e as W, d as D, C as ye, j as P, J as nt, o as it, l as rt, m as oe, p as te, q as O, E as ee, u as a, v as u, w as J, B as Be, M as st, P as H, F as Te, N as lt, r as V, A as q, D as _e } from "./CasinoCalendar-DOhm0UH1.js";
2
+ function we(n, e) {
3
3
  Je(n, e);
4
4
  }
5
5
  function ot(n) {
@@ -130,37 +130,37 @@ function Ce(n, e, t) {
130
130
  return r[73] = e[t], r;
131
131
  }
132
132
  function ct(n) {
133
- let e, t, r, s, l, o, f, m, C, G, S, v, w, z, T, E, A, j, x, M = te(
133
+ let e, t, r, s, l, o, f, d, C, G, x, v, _, z, T, E, A, j, S, M = te(
134
134
  /*tabs*/
135
135
  n[17]
136
136
  ), g = [];
137
137
  for (let c = 0; c < M.length; c += 1)
138
- g[c] = xe(Ce(n, M, c));
138
+ g[c] = Se(Ce(n, M, c));
139
139
  function I(c, b) {
140
140
  return (
141
141
  /*isLoadingDelayed*/
142
142
  c[18] ? ft : dt
143
143
  );
144
144
  }
145
- let L = I(n), _ = L(n);
145
+ let L = I(n), w = L(n);
146
146
  return {
147
147
  c() {
148
148
  e = W("div"), t = W("div"), r = W("div");
149
149
  for (let c = 0; c < g.length; c += 1)
150
150
  g[c].c();
151
- s = O(), l = W("div"), o = W("button"), f = ee("svg"), m = ee("path"), G = O(), S = W("button"), v = ee("svg"), w = ee("path"), E = O(), _.c(), a(r, "class", "WinnerButtonsContainer"), a(m, "style", C = /*numberOfVisibleSlides*/
151
+ s = O(), l = W("div"), o = W("button"), f = ee("svg"), d = ee("path"), G = O(), x = W("button"), v = ee("svg"), _ = ee("path"), E = O(), w.c(), a(r, "class", "WinnerButtonsContainer"), a(d, "style", C = /*numberOfVisibleSlides*/
152
152
  n[12] >= /*winners*/
153
- n[11].length ? "fill:#F6F6F62E" : ""), a(m, "id", "Path_36"), a(m, "data-name", "Path 36"), a(m, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(m, "transform", "translate(14.656 0) rotate(90)"), a(m, "fill", "#fff"), a(f, "id", "Component_46_2"), a(f, "data-name", "Component 46 – 2"), a(f, "xmlns", "http://www.w3.org/2000/svg"), a(f, "width", "15"), a(f, "height", "15"), a(f, "viewBox", "0 0 16 24.656"), a(o, "class", "SliderButton"), a(w, "style", z = /*numberOfVisibleSlides*/
153
+ n[11].length ? "fill:#F6F6F62E" : ""), a(d, "id", "Path_36"), a(d, "data-name", "Path 36"), a(d, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(d, "transform", "translate(14.656 0) rotate(90)"), a(d, "fill", "#fff"), a(f, "id", "Component_46_2"), a(f, "data-name", "Component 46 – 2"), a(f, "xmlns", "http://www.w3.org/2000/svg"), a(f, "width", "15"), a(f, "height", "15"), a(f, "viewBox", "0 0 16 24.656"), a(o, "class", "SliderButton"), a(_, "style", z = /*numberOfVisibleSlides*/
154
154
  n[12] >= /*winners*/
155
- n[11].length ? "fill:#F6F6F62E" : ""), a(w, "id", "Path_36"), a(w, "data-name", "Path 36"), a(w, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(w, "transform", "translate(0 24.656) rotate(-90)"), a(w, "fill", "#fff"), a(v, "id", "Component_46_2"), a(v, "data-name", "Component 46 – 2"), a(v, "xmlns", "http://www.w3.org/2000/svg"), a(v, "width", "15"), a(v, "height", "15"), a(v, "viewBox", "0 0 16 24.656"), a(S, "class", "SliderButton"), a(l, "class", T = "ButtonsContainer " + /*enableautoscroll*/
155
+ n[11].length ? "fill:#F6F6F62E" : ""), a(_, "id", "Path_36"), a(_, "data-name", "Path 36"), a(_, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), a(_, "transform", "translate(0 24.656) rotate(-90)"), a(_, "fill", "#fff"), a(v, "id", "Component_46_2"), a(v, "data-name", "Component 46 – 2"), a(v, "xmlns", "http://www.w3.org/2000/svg"), a(v, "width", "15"), a(v, "height", "15"), a(v, "viewBox", "0 0 16 24.656"), a(x, "class", "SliderButton"), a(l, "class", T = "ButtonsContainer " + /*enableautoscroll*/
156
156
  (n[6] == "true" ? "ButtonsContainerNone" : "")), a(t, "class", "WinnersHeader"), a(e, "class", A = "CasinoWinners " + /*mobile*/
157
157
  (n[13] ? "Mobile" : ""));
158
158
  },
159
159
  m(c, b) {
160
160
  D(c, e, b), u(e, t), u(t, r);
161
- for (let d = 0; d < g.length; d += 1)
162
- g[d] && g[d].m(r, null);
163
- u(t, s), u(t, l), u(l, o), u(o, f), u(f, m), u(l, G), u(l, S), u(S, v), u(v, w), u(e, E), _.m(e, null), j || (x = [
161
+ for (let m = 0; m < g.length; m += 1)
162
+ g[m] && g[m].m(r, null);
163
+ u(t, s), u(t, l), u(l, o), u(o, f), u(f, d), u(l, G), u(l, x), u(x, v), u(v, _), u(e, E), w.m(e, null), j || (S = [
164
164
  J(
165
165
  o,
166
166
  "click",
@@ -168,7 +168,7 @@ function ct(n) {
168
168
  n[43]
169
169
  ),
170
170
  J(
171
- S,
171
+ x,
172
172
  "click",
173
173
  /*click_handler_3*/
174
174
  n[44]
@@ -182,29 +182,29 @@ function ct(n) {
182
182
  /*tabs*/
183
183
  c[17]
184
184
  );
185
- let d;
186
- for (d = 0; d < M.length; d += 1) {
187
- const h = Ce(c, M, d);
188
- g[d] ? g[d].p(h, b) : (g[d] = xe(h), g[d].c(), g[d].m(r, null));
185
+ let m;
186
+ for (m = 0; m < M.length; m += 1) {
187
+ const h = Ce(c, M, m);
188
+ g[m] ? g[m].p(h, b) : (g[m] = Se(h), g[m].c(), g[m].m(r, null));
189
189
  }
190
- for (; d < g.length; d += 1)
191
- g[d].d(1);
190
+ for (; m < g.length; m += 1)
191
+ g[m].d(1);
192
192
  g.length = M.length;
193
193
  }
194
194
  b[0] & /*numberOfVisibleSlides, winners*/
195
195
  6144 && C !== (C = /*numberOfVisibleSlides*/
196
196
  c[12] >= /*winners*/
197
- c[11].length ? "fill:#F6F6F62E" : "") && a(m, "style", C), b[0] & /*numberOfVisibleSlides, winners*/
197
+ c[11].length ? "fill:#F6F6F62E" : "") && a(d, "style", C), b[0] & /*numberOfVisibleSlides, winners*/
198
198
  6144 && z !== (z = /*numberOfVisibleSlides*/
199
199
  c[12] >= /*winners*/
200
- c[11].length ? "fill:#F6F6F62E" : "") && a(w, "style", z), b[0] & /*enableautoscroll*/
200
+ c[11].length ? "fill:#F6F6F62E" : "") && a(_, "style", z), b[0] & /*enableautoscroll*/
201
201
  64 && T !== (T = "ButtonsContainer " + /*enableautoscroll*/
202
- (c[6] == "true" ? "ButtonsContainerNone" : "")) && a(l, "class", T), L === (L = I(c)) && _ ? _.p(c, b) : (_.d(1), _ = L(c), _ && (_.c(), _.m(e, null))), b[0] & /*mobile*/
202
+ (c[6] == "true" ? "ButtonsContainerNone" : "")) && a(l, "class", T), L === (L = I(c)) && w ? w.p(c, b) : (w.d(1), w = L(c), w && (w.c(), w.m(e, null))), b[0] & /*mobile*/
203
203
  8192 && A !== (A = "CasinoWinners " + /*mobile*/
204
204
  (c[13] ? "Mobile" : "")) && a(e, "class", A);
205
205
  },
206
206
  d(c) {
207
- c && P(e), Be(g, c), _.d(), j = !1, st(x);
207
+ c && P(e), Be(g, c), w.d(), j = !1, st(S);
208
208
  }
209
209
  };
210
210
  }
@@ -269,27 +269,32 @@ function ke(n) {
269
269
  };
270
270
  }
271
271
  function Me(n) {
272
- let e, t, r, s, l;
272
+ let e, t = (
273
+ /*$_*/
274
+ n[20]("recentWinners") + ""
275
+ ), r, s, l, o;
273
276
  return {
274
277
  c() {
275
- e = W("button"), t = V("Recent Winners"), a(e, "class", r = "WinnersButton " + /*winnersType*/
278
+ e = W("button"), r = V(t), a(e, "class", s = "WinnersButton " + /*winnersType*/
276
279
  (n[10] == "recent" ? "Active" : ""));
277
280
  },
278
- m(o, f) {
279
- D(o, e, f), u(e, t), s || (l = J(
281
+ m(f, d) {
282
+ D(f, e, d), u(e, r), l || (o = J(
280
283
  e,
281
284
  "click",
282
285
  /*click_handler*/
283
286
  n[41]
284
- ), s = !0);
287
+ ), l = !0);
285
288
  },
286
- p(o, f) {
287
- f[0] & /*winnersType*/
288
- 1024 && r !== (r = "WinnersButton " + /*winnersType*/
289
- (o[10] == "recent" ? "Active" : "")) && a(e, "class", r);
289
+ p(f, d) {
290
+ d[0] & /*$_*/
291
+ 1048576 && t !== (t = /*$_*/
292
+ f[20]("recentWinners") + "") && q(r, t), d[0] & /*winnersType*/
293
+ 1024 && s !== (s = "WinnersButton " + /*winnersType*/
294
+ (f[10] == "recent" ? "Active" : "")) && a(e, "class", s);
290
295
  },
291
- d(o) {
292
- o && P(e), s = !1, l();
296
+ d(f) {
297
+ f && P(e), l = !1, o();
293
298
  }
294
299
  };
295
300
  }
@@ -304,28 +309,28 @@ function Fe(n) {
304
309
  (n[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
305
310
  (n[1] == "false" ? "Off" : ""));
306
311
  },
307
- m(m, C) {
308
- D(m, e, C), u(e, r), u(e, s), o || (f = J(
312
+ m(d, C) {
313
+ D(d, e, C), u(e, r), u(e, s), o || (f = J(
309
314
  e,
310
315
  "click",
311
316
  /*click_handler_1*/
312
317
  n[42]
313
318
  ), o = !0);
314
319
  },
315
- p(m, C) {
320
+ p(d, C) {
316
321
  C[0] & /*$_*/
317
322
  1048576 && t !== (t = /*$_*/
318
- m[20]("topWinners") + "") && Z(r, t), C[0] & /*winnersType, istopavailable*/
323
+ d[20]("topWinners") + "") && q(r, t), C[0] & /*winnersType, istopavailable*/
319
324
  1026 && l !== (l = "WinnersButton " + /*winnersType*/
320
- (m[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
321
- (m[1] == "false" ? "Off" : "")) && a(e, "class", l);
325
+ (d[10] == "top" ? "Active" : "") + " " + /*istopavailable*/
326
+ (d[1] == "false" ? "Off" : "")) && a(e, "class", l);
322
327
  },
323
- d(m) {
324
- m && P(e), o = !1, f();
328
+ d(d) {
329
+ d && P(e), o = !1, f();
325
330
  }
326
331
  };
327
332
  }
328
- function xe(n) {
333
+ function Se(n) {
329
334
  let e, t, r = (
330
335
  /*tab*/
331
336
  n[73] == "recent" && ke(n)
@@ -356,7 +361,7 @@ function dt(n) {
356
361
  n[11]
357
362
  ), r = [];
358
363
  for (let s = 0; s < t.length; s += 1)
359
- r[s] = Se(ve(n, t, s));
364
+ r[s] = xe(ve(n, t, s));
360
365
  return {
361
366
  c() {
362
367
  e = W("div");
@@ -380,7 +385,7 @@ function dt(n) {
380
385
  let o;
381
386
  for (o = 0; o < t.length; o += 1) {
382
387
  const f = ve(s, t, o);
383
- r[o] ? r[o].p(f, l) : (r[o] = Se(f), r[o].c(), r[o].m(e, null));
388
+ r[o] ? r[o].p(f, l) : (r[o] = xe(f), r[o].c(), r[o].m(e, null));
384
389
  }
385
390
  for (; o < r.length; o += 1)
386
391
  r[o].d(1);
@@ -431,23 +436,23 @@ function ft(n) {
431
436
  }
432
437
  };
433
438
  }
434
- function Se(n) {
435
- let e, t, r, s, l, o, f, m = (
439
+ function xe(n) {
440
+ let e, t, r, s, l, o, f, d = (
436
441
  /*winner*/
437
442
  n[70].gameName + ""
438
- ), C, G, S, v = (
443
+ ), C, G, x, v = (
439
444
  /*maskUsername*/
440
445
  n[22](
441
446
  /*winner*/
442
447
  n[70].username
443
448
  ) + ""
444
- ), w, z, T, E = (
449
+ ), _, z, T, E = (
445
450
  /*$_*/
446
451
  n[20]("won") + ""
447
- ), A, j, x, M = (
452
+ ), A, j, S, M = (
448
453
  /*winner*/
449
454
  n[70].specifiedCurrencyAmount.toFixed(2) + ""
450
- ), g, I, L, _ = (
455
+ ), g, I, L, w = (
451
456
  /*isLoggedIn*/
452
457
  (n[7] ? (
453
458
  /*usercurrency*/
@@ -456,7 +461,7 @@ function Se(n) {
456
461
  /*defaultcurrency*/
457
462
  n[2]
458
463
  )) + ""
459
- ), c, b, d, h, F;
464
+ ), c, b, m, h, F;
460
465
  function ne() {
461
466
  return (
462
467
  /*click_handler_4*/
@@ -469,42 +474,42 @@ function Se(n) {
469
474
  return {
470
475
  c() {
471
476
  var R, k, U, B;
472
- e = W("div"), t = W("div"), r = W("img"), o = O(), f = W("p"), C = V(m), G = O(), S = W("p"), w = V(v), z = O(), T = W("p"), A = V(E), j = O(), x = W("p"), g = V(M), I = O(), L = W("span"), c = V(_), b = O(), we(r.src, s = /*winner*/
477
+ e = W("div"), t = W("div"), r = W("img"), o = O(), f = W("p"), C = V(d), G = O(), x = W("p"), _ = V(v), z = O(), T = W("p"), A = V(E), j = O(), S = W("p"), g = V(M), I = O(), L = W("span"), c = V(w), b = O(), _e(r.src, s = /*winner*/
473
478
  (k = (R = n[70]) == null ? void 0 : R.gameModel) == null ? void 0 : k.thumbnail) || a(r, "src", s), a(r, "alt", l = /*winner*/
474
- (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail), a(r, "class", "WinnersImage"), a(T, "class", "WinnerUsername"), a(t, "class", "WinnerCard"), a(e, "class", d = "CardWrapper " + /*addAnimation*/
479
+ (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail), a(r, "class", "WinnersImage"), a(T, "class", "WinnerUsername"), a(t, "class", "WinnerCard"), a(e, "class", m = "CardWrapper " + /*addAnimation*/
475
480
  (n[16] ? "CardWrapperAnimation" : ""));
476
481
  },
477
482
  m(R, k) {
478
- D(R, e, k), u(e, t), u(t, r), u(t, o), u(t, f), u(f, C), u(t, G), u(t, S), u(S, w), u(t, z), u(t, T), u(T, A), u(t, j), u(t, x), u(x, g), u(x, I), u(x, L), u(L, c), u(e, b), n[46](e), h || (F = J(r, "click", ne), h = !0);
483
+ D(R, e, k), u(e, t), u(t, r), u(t, o), u(t, f), u(f, C), u(t, G), u(t, x), u(x, _), u(t, z), u(t, T), u(T, A), u(t, j), u(t, S), u(S, g), u(S, I), u(S, L), u(L, c), u(e, b), n[46](e), h || (F = J(r, "click", ne), h = !0);
479
484
  },
480
485
  p(R, k) {
481
- var U, B, q, K;
486
+ var U, B, K, Z;
482
487
  n = R, k[0] & /*winners*/
483
- 2048 && !we(r.src, s = /*winner*/
488
+ 2048 && !_e(r.src, s = /*winner*/
484
489
  (B = (U = n[70]) == null ? void 0 : U.gameModel) == null ? void 0 : B.thumbnail) && a(r, "src", s), k[0] & /*winners*/
485
490
  2048 && l !== (l = /*winner*/
486
- (K = (q = n[70]) == null ? void 0 : q.gameModel) == null ? void 0 : K.thumbnail) && a(r, "alt", l), k[0] & /*winners*/
487
- 2048 && m !== (m = /*winner*/
488
- n[70].gameName + "") && Z(C, m), k[0] & /*winners*/
491
+ (Z = (K = n[70]) == null ? void 0 : K.gameModel) == null ? void 0 : Z.thumbnail) && a(r, "alt", l), k[0] & /*winners*/
492
+ 2048 && d !== (d = /*winner*/
493
+ n[70].gameName + "") && q(C, d), k[0] & /*winners*/
489
494
  2048 && v !== (v = /*maskUsername*/
490
495
  n[22](
491
496
  /*winner*/
492
497
  n[70].username
493
- ) + "") && Z(w, v), k[0] & /*$_*/
498
+ ) + "") && q(_, v), k[0] & /*$_*/
494
499
  1048576 && E !== (E = /*$_*/
495
- n[20]("won") + "") && Z(A, E), k[0] & /*winners*/
500
+ n[20]("won") + "") && q(A, E), k[0] & /*winners*/
496
501
  2048 && M !== (M = /*winner*/
497
- n[70].specifiedCurrencyAmount.toFixed(2) + "") && Z(g, M), k[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
498
- 140 && _ !== (_ = /*isLoggedIn*/
502
+ n[70].specifiedCurrencyAmount.toFixed(2) + "") && q(g, M), k[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
503
+ 140 && w !== (w = /*isLoggedIn*/
499
504
  (n[7] ? (
500
505
  /*usercurrency*/
501
506
  n[3]
502
507
  ) : (
503
508
  /*defaultcurrency*/
504
509
  n[2]
505
- )) + "") && Z(c, _), k[0] & /*addAnimation*/
506
- 65536 && d !== (d = "CardWrapper " + /*addAnimation*/
507
- (n[16] ? "CardWrapperAnimation" : "")) && a(e, "class", d);
510
+ )) + "") && q(c, w), k[0] & /*addAnimation*/
511
+ 65536 && m !== (m = "CardWrapper " + /*addAnimation*/
512
+ (n[16] ? "CardWrapperAnimation" : "")) && a(e, "class", m);
508
513
  },
509
514
  d(R) {
510
515
  R && P(e), n[46](null), h = !1, F();
@@ -541,33 +546,33 @@ function mt(n) {
541
546
  function gt(n, e, t) {
542
547
  let r;
543
548
  nt(n, lt, (i) => t(20, r = i));
544
- let { endpoint: s = "" } = e, { session: l = "" } = e, { userid: o = "" } = e, { periodrecent: f = "Today" } = e, { periodtop: m = "Last7Days" } = e, { numberusersrecent: C = "20" } = e, { numberuserstop: G = "20" } = e, { amountlimit: S = "1" } = e, { vendorCategory: v = "All" } = e, { lang: w = "en" } = e, { isrecentavailable: z = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: E = "" } = e, { usercurrency: A = "" } = e, { clientstyling: j = "" } = e, { clientstylingurl: x = "" } = e, { enableautoscroll: M = "" } = e, { tabsorder: g = "" } = e, { translationurl: I = "" } = e, { winnersdatasources: L = "" } = e, { hascustomstyling: _ = "false" } = e, c, b, d = [], h = 0, F = 0, ne = window.navigator.userAgent, R, k, U, B, q = !0, K = !1, ae = !1, ce, X, ie, Y, ue = [], re = !1, Q, de = 0;
549
+ let { endpoint: s = "" } = e, { session: l = "" } = e, { userid: o = "" } = e, { periodrecent: f = "Today" } = e, { periodtop: d = "Last7Days" } = e, { numberusersrecent: C = "20" } = e, { numberuserstop: G = "20" } = e, { amountlimit: x = "1" } = e, { vendorCategory: v = "All" } = e, { lang: _ = "en" } = e, { isrecentavailable: z = "true" } = e, { istopavailable: T = "true" } = e, { defaultcurrency: E = "" } = e, { usercurrency: A = "" } = e, { clientstyling: j = "" } = e, { clientstylingurl: S = "" } = e, { enableautoscroll: M = "" } = e, { tabsorder: g = "" } = e, { translationurl: I = "" } = e, { winnersdatasources: L = "" } = e, { hascustomstyling: w = "false" } = e, c, b, m = [], h = 0, F = 0, ne = window.navigator.userAgent, R, k, U, B, K = !0, Z = !1, ae = !1, ce, X, ie, Y, ue = [], re = !1, Q, de = 0;
545
550
  const Ae = () => {
546
551
  let i = new URL(I);
547
552
  fetch(i.href).then((p) => p.json()).then((p) => {
548
553
  Object.keys(p).forEach((N) => {
549
- _e(N, p[N]);
554
+ we(N, p[N]);
550
555
  });
551
556
  }).catch((p) => {
552
557
  console.log(p);
553
558
  });
554
559
  };
555
560
  Object.keys(We).forEach((i) => {
556
- _e(i, We[i]);
561
+ we(i, We[i]);
557
562
  });
558
563
  const fe = () => {
559
564
  ue = L.split(",").map(function(p) {
560
565
  return p.trim();
561
566
  });
562
567
  const i = new URL(`${s}/v1/casino/${b}-winners`);
563
- t(18, re = !0), i.searchParams.append("limit", b == "recent" ? C : G), i.searchParams.append("specifiedCurrency", Y), i.searchParams.append("period", b == "recent" ? f : m), i.searchParams.append("language", w), i.searchParams.append("amountLimit", S), i.searchParams.append("vendorCategory", v), ue.forEach((p) => {
568
+ t(18, re = !0), i.searchParams.append("limit", b == "recent" ? C : G), i.searchParams.append("specifiedCurrency", Y), i.searchParams.append("period", b == "recent" ? f : d), i.searchParams.append("language", _), i.searchParams.append("amountLimit", x), i.searchParams.append("vendorCategory", v), ue.forEach((p) => {
564
569
  i.searchParams.append("dataSource", p);
565
570
  }), setTimeout(
566
571
  () => {
567
572
  fetch(i.href).then((p) => p.json()).then((p) => {
568
- t(11, d = []), t(11, d = p.items.map((N) => N)), t(18, re = !1), setTimeout(
573
+ t(11, m = []), t(11, m = p.items.map((N) => N)), t(18, re = !1), setTimeout(
569
574
  () => {
570
- Ee(), ge(), M == "true" && (clearInterval(X), Le()), t(14, q = !1);
575
+ Ee(), ge(), M == "true" && (clearInterval(X), Le()), t(14, K = !1);
571
576
  },
572
577
  5
573
578
  );
@@ -576,7 +581,7 @@ function gt(n, e, t) {
576
581
  1e3
577
582
  );
578
583
  }, se = (i) => {
579
- b !== i && (t(11, d = []), t(10, b = i), fe());
584
+ b !== i && (t(11, m = []), t(10, b = i), fe());
580
585
  }, je = (i) => i.slice(0, 2) + i.slice(2, -2).replace(/./g, "*") + i.slice(-2), me = (i, p, N, $) => {
581
586
  window.postMessage(
582
587
  {
@@ -614,15 +619,15 @@ function gt(n, e, t) {
614
619
  }, Ee = () => {
615
620
  de = Q.offsetWidth, t(12, F = Math.round(c.offsetWidth / de));
616
621
  }, pe = () => {
617
- if (F >= d.length) return;
618
- const i = d.length;
622
+ if (F >= m.length) return;
623
+ const i = m.length;
619
624
  h === 0 ? h = i - F : h - F < 0 ? h = 0 : h = h - F, he();
620
625
  }, le = () => {
621
- if (F >= d.length) return;
622
- const i = d.length;
626
+ if (F >= m.length) return;
627
+ const i = m.length;
623
628
  M == "true" && (h === i - F ? h = 0 : h++), M == "false" && (h === i - F ? h = 0 : i - F < h + F ? h = i - F : h += F), he();
624
629
  }, Ne = () => {
625
- ot(w);
630
+ ot(_);
626
631
  }, ze = () => {
627
632
  t(7, k = !0), U = o;
628
633
  }, be = () => {
@@ -631,7 +636,7 @@ function gt(n, e, t) {
631
636
  let i = document.createElement("style");
632
637
  i.innerHTML = j, B.appendChild(i);
633
638
  }, Oe = () => {
634
- let i = new URL(x), p = document.createElement("style");
639
+ let i = new URL(S), p = document.createElement("style");
635
640
  fetch(i.href).then((N) => N.text()).then((N) => {
636
641
  p.innerHTML = N, setTimeout(
637
642
  () => {
@@ -642,12 +647,12 @@ function gt(n, e, t) {
642
647
  () => {
643
648
  },
644
649
  500
645
- ), t(15, K = !1);
650
+ ), t(15, Z = !1);
646
651
  });
647
652
  }, De = () => {
648
- _ === "true" && (!j && !x && B && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !j && x && t(15, K = !0));
653
+ w === "true" && (!j && !S && B && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !j && S && t(15, Z = !0));
649
654
  }, Pe = () => {
650
- t(17, ie = g.split(",")), t(10, b = ie[0]), be(), t(14, q = !1);
655
+ t(17, ie = g.split(",")), t(10, b = ie[0]), be(), t(14, K = !1);
651
656
  };
652
657
  it(() => (t(13, R = rt(ne)), () => {
653
658
  clearInterval(X);
@@ -669,37 +674,37 @@ function gt(n, e, t) {
669
674
  });
670
675
  }
671
676
  return n.$$set = (i) => {
672
- "endpoint" in i && t(26, s = i.endpoint), "session" in i && t(27, l = i.session), "userid" in i && t(28, o = i.userid), "periodrecent" in i && t(29, f = i.periodrecent), "periodtop" in i && t(30, m = i.periodtop), "numberusersrecent" in i && t(31, C = i.numberusersrecent), "numberuserstop" in i && t(32, G = i.numberuserstop), "amountlimit" in i && t(33, S = i.amountlimit), "vendorCategory" in i && t(34, v = i.vendorCategory), "lang" in i && t(35, w = i.lang), "isrecentavailable" in i && t(0, z = i.isrecentavailable), "istopavailable" in i && t(1, T = i.istopavailable), "defaultcurrency" in i && t(2, E = i.defaultcurrency), "usercurrency" in i && t(3, A = i.usercurrency), "clientstyling" in i && t(4, j = i.clientstyling), "clientstylingurl" in i && t(5, x = i.clientstylingurl), "enableautoscroll" in i && t(6, M = i.enableautoscroll), "tabsorder" in i && t(36, g = i.tabsorder), "translationurl" in i && t(37, I = i.translationurl), "winnersdatasources" in i && t(38, L = i.winnersdatasources), "hascustomstyling" in i && t(39, _ = i.hascustomstyling);
677
+ "endpoint" in i && t(26, s = i.endpoint), "session" in i && t(27, l = i.session), "userid" in i && t(28, o = i.userid), "periodrecent" in i && t(29, f = i.periodrecent), "periodtop" in i && t(30, d = i.periodtop), "numberusersrecent" in i && t(31, C = i.numberusersrecent), "numberuserstop" in i && t(32, G = i.numberuserstop), "amountlimit" in i && t(33, x = i.amountlimit), "vendorCategory" in i && t(34, v = i.vendorCategory), "lang" in i && t(35, _ = i.lang), "isrecentavailable" in i && t(0, z = i.isrecentavailable), "istopavailable" in i && t(1, T = i.istopavailable), "defaultcurrency" in i && t(2, E = i.defaultcurrency), "usercurrency" in i && t(3, A = i.usercurrency), "clientstyling" in i && t(4, j = i.clientstyling), "clientstylingurl" in i && t(5, S = i.clientstylingurl), "enableautoscroll" in i && t(6, M = i.enableautoscroll), "tabsorder" in i && t(36, g = i.tabsorder), "translationurl" in i && t(37, I = i.translationurl), "winnersdatasources" in i && t(38, L = i.winnersdatasources), "hascustomstyling" in i && t(39, w = i.hascustomstyling);
673
678
  }, n.$$.update = () => {
674
679
  n.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop*/
675
680
  1610612739 | n.$$.dirty[1] & /*numberusersrecent, numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
676
- 63 && z && T && f && m && C && G && S && v && w && g && Pe(), n.$$.dirty[0] & /*session*/
681
+ 63 && z && T && f && d && C && G && x && v && _ && g && Pe(), n.$$.dirty[0] & /*session*/
677
682
  134217728 && l && ze(), n.$$.dirty[0] & /*isLoggedIn, usercurrency, defaultcurrency*/
678
683
  140 && k && (A || E) && be(), n.$$.dirty[0] & /*endpoint*/
679
684
  67108864 | n.$$.dirty[1] & /*winnersdatasources, currency*/
680
685
  640 && s && L && Y && fe(), n.$$.dirty[1] & /*lang*/
681
- 16 && w && Ne(), n.$$.dirty[1] & /*translationurl*/
686
+ 16 && _ && Ne(), n.$$.dirty[1] & /*translationurl*/
682
687
  64 && I && Ae(), n.$$.dirty[1] & /*hascustomstyling*/
683
- 256 && _ && De(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
688
+ 256 && w && De(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
684
689
  272 && j && B && Re(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
685
- 288 && x && B && Oe();
690
+ 288 && S && B && Oe();
686
691
  }, [
687
692
  z,
688
693
  T,
689
694
  E,
690
695
  A,
691
696
  j,
692
- x,
697
+ S,
693
698
  M,
694
699
  k,
695
700
  B,
696
701
  c,
697
702
  b,
698
- d,
703
+ m,
699
704
  F,
700
705
  R,
701
- q,
702
706
  K,
707
+ Z,
703
708
  ae,
704
709
  ie,
705
710
  re,
@@ -714,16 +719,16 @@ function gt(n, e, t) {
714
719
  l,
715
720
  o,
716
721
  f,
717
- m,
722
+ d,
718
723
  C,
719
724
  G,
720
- S,
725
+ x,
721
726
  v,
722
- w,
727
+ _,
723
728
  g,
724
729
  I,
725
730
  L,
726
- _,
731
+ w,
727
732
  Y,
728
733
  Ge,
729
734
  Ie,
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoPageNd-C-wKagDJ.cjs")).then(({default:t})=>{!customElements.get("casino-page-nd")&&customElements.define("casino-page-nd",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoPageNd-OiDycZMJ.cjs")).then(({default:t})=>{!customElements.get("casino-page-nd")&&customElements.define("casino-page-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoPageNd-DAP0o9Q5.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoPageNd-DtGF74tZ.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-page-nd") && customElements.define("casino-page-nd", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-page-nd",
3
- "version": "1.51.0",
3
+ "version": "1.52.1",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-page-nd.cjs",
6
6
  "module": "es2015/casino-page-nd.js",