@everymatrix/casino-lobby 1.94.20 → 1.94.21

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 (45) hide show
  1. package/components/{CasinoCalendar-wema5m1L.js → CasinoCalendar-BSSrHXNQ.js} +35 -35
  2. package/components/{CasinoCalendar-DiGa7WOB.js → CasinoCalendar-BjySUHyZ.js} +35 -35
  3. package/components/{CasinoCalendarDailyDetails-DaL1s4RB.js → CasinoCalendarDailyDetails-BoDKzZAL.js} +21 -21
  4. package/components/{CasinoCalendarDailyDetails-B78-hZrg.js → CasinoCalendarDailyDetails-DhX-usiB.js} +34 -34
  5. package/components/{CasinoCalendarDailyItem-CKLi-qk3.js → CasinoCalendarDailyItem-CA5M4JX2.js} +36 -36
  6. package/components/{CasinoCalendarDailyItem-BsriuRI8.js → CasinoCalendarDailyItem-CMjiC6kY.js} +36 -36
  7. package/components/{CasinoCategoriesSlider-Iuvnu1yi.js → CasinoCategoriesSlider-DEc0M4Jn.js} +19 -19
  8. package/components/{CasinoCategoriesSlider-BAEkLZ0a.js → CasinoCategoriesSlider-DmIIvJxr.js} +19 -19
  9. package/components/{CasinoCollectionsProviders-06lJHA-8.js → CasinoCollectionsProviders-Bk2Q_dKh.js} +76 -76
  10. package/components/{CasinoCollectionsProviders-b1UyeEfY.js → CasinoCollectionsProviders-CmZnRhGO.js} +65 -65
  11. package/components/{CasinoFavoritesSection-gL0wYg3v.js → CasinoFavoritesSection-B5IloH92.js} +34 -34
  12. package/components/{CasinoFavoritesSection-BfLobvVM.js → CasinoFavoritesSection-NizzPczK.js} +34 -34
  13. package/components/{CasinoFilter-BdBt4Qeo.js → CasinoFilter-C4hPyQNk.js} +80 -80
  14. package/components/{CasinoFilter-BUlBYglD.js → CasinoFilter-UrtcDtAa.js} +79 -79
  15. package/components/{CasinoGameThumbnail-C1HOULby.js → CasinoGameThumbnail-Cu4ldhfo.js} +41 -41
  16. package/components/{CasinoGameThumbnail-DQNWwhYO.js → CasinoGameThumbnail-DkOf6fv3.js} +41 -41
  17. package/components/{CasinoGamesCategorySection-DzL6ClvR.js → CasinoGamesCategorySection-C6V4Owht.js} +4 -4
  18. package/components/{CasinoGamesCategorySection-BsJoa-RE.js → CasinoGamesCategorySection-xB7lSgTz.js} +4 -4
  19. package/components/{CasinoJackpotBanner-DK02E4Sv.js → CasinoJackpotBanner-Czp2f53o.js} +79 -79
  20. package/components/{CasinoJackpotBanner-B9qX5ktZ.js → CasinoJackpotBanner-g0vrCtzB.js} +90 -90
  21. package/components/{CasinoLastPlayedSection-Bxhbdeg0.js → CasinoLastPlayedSection-BeXbhcJS.js} +41 -41
  22. package/components/{CasinoLastPlayedSection-CN4xtkfy.js → CasinoLastPlayedSection-DIOQytk1.js} +41 -41
  23. package/components/{CasinoLobby-CDOhHuQr.js → CasinoLobby-CmAf2BJ4.js} +59 -59
  24. package/components/{CasinoLobby-BQYyPma8.js → CasinoLobby-DlkT0ycq.js} +59 -59
  25. package/components/{CasinoMostPlayedSection-BuDxxWXc.js → CasinoMostPlayedSection-BdNavRAR.js} +41 -41
  26. package/components/{CasinoMostPlayedSection-xRqqFbB7.js → CasinoMostPlayedSection-CsYfyBz6.js} +41 -41
  27. package/components/{CasinoMyGames-CWYRptxX.js → CasinoMyGames-DXHLKn-b.js} +25 -25
  28. package/components/{CasinoMyGames-BHLUBVSx.js → CasinoMyGames-DquSH-8S.js} +23 -23
  29. package/components/{CasinoPage-C4ZeYvz2.js → CasinoPage-6DlUJdNB.js} +292 -292
  30. package/components/{CasinoPage-CBj_iE-2.js → CasinoPage-BMNjtSeY.js} +10 -10
  31. package/components/{CasinoRandomGame-Dv6CwM7x.js → CasinoRandomGame-CZbhowv3.js} +80 -80
  32. package/components/{CasinoRandomGame-BukwpxIJ.js → CasinoRandomGame-CmSz_YAA.js} +80 -80
  33. package/components/{CasinoSearch-D6tEGZOG.js → CasinoSearch-DaPqNPP0.js} +46 -46
  34. package/components/{CasinoSearch--OaOk05f.js → CasinoSearch-YX2fRFUd.js} +46 -46
  35. package/components/{CasinoSlider-CCcpCTws.js → CasinoSlider-BtDxtbI7.js} +70 -70
  36. package/components/{CasinoSlider-CC8wtxbN.js → CasinoSlider-C2_jk1q5.js} +74 -74
  37. package/components/{CasinoSort-Bb1Gdwb6.js → CasinoSort-8w8Vz2RT.js} +58 -58
  38. package/components/{CasinoSort-DrC7Ps-6.js → CasinoSort-k10aVq_3.js} +36 -36
  39. package/components/{CasinoWinners-BuAQ_2Ui.js → CasinoWinners-CYwfUKUr.js} +106 -106
  40. package/components/{CasinoWinners-DqHxxM8I.js → CasinoWinners-Ck4zkyiP.js} +112 -112
  41. package/components/{GeneralAnimationLoading-DARF2mD5.js → GeneralAnimationLoading-CULwno4n.js} +9 -9
  42. package/components/{GeneralAnimationLoading-CsDYexjL.js → GeneralAnimationLoading-XCOgxsu9.js} +5 -5
  43. package/es2015/casino-lobby.js +1 -1
  44. package/esnext/casino-lobby.js +1 -1
  45. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { d as ee, b as te, S as se, y as ae, M as ne, t as l, f as ie, E as Q, p as A, z as E, e as B, q as P, g as L, k as oe, G as le, u as re, h as me, R as ge, Z as ce, Q as n, N as ue, O as de, P as fe, l as he, a as ye } from "./CasinoLobby-BQYyPma8.js";
2
- import "./CasinoPage-C4ZeYvz2.js";
3
- function Y(a, e) {
1
+ import { a as ee, v as te, S as se, i as ae, s as ne, f as l, b as ie, n as Y, d as A, c as E, m as K, e as P, k as M, g as oe, o as le, h as re, j as me, E as ge, F as ce, l as n, p as ue, q as de, r as fe, t as he, $ as ye } from "./CasinoLobby-CmAf2BJ4.js";
2
+ import "./CasinoPage-BMNjtSeY.js";
3
+ function B(a, e) {
4
4
  ee(a, e);
5
5
  }
6
6
  function be(a) {
7
7
  te.set(a);
8
8
  }
9
- const Z = {
9
+ const H = {
10
10
  en: {
11
11
  noGames: "No games in most played"
12
12
  },
@@ -291,17 +291,17 @@ function _e(a) {
291
291
  }
292
292
  };
293
293
  }
294
- function Ge(a) {
294
+ function ke(a) {
295
295
  let e, s = (
296
296
  /*$_*/
297
297
  a[21]("noGames") + ""
298
298
  ), i;
299
299
  return {
300
300
  c() {
301
- e = P("p"), i = ce(s), L(e, "class", "SearchLoading");
301
+ e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
302
302
  },
303
303
  m(m, r) {
304
- E(m, e, r), B(e, i);
304
+ E(m, e, r), K(e, i);
305
305
  },
306
306
  p(m, r) {
307
307
  r[0] & /*$_*/
@@ -313,55 +313,55 @@ function Ge(a) {
313
313
  }
314
314
  };
315
315
  }
316
- function ke(a) {
316
+ function we(a) {
317
317
  let e, s;
318
318
  function i(g, c) {
319
319
  return (
320
320
  /*mostPlayedEmpty*/
321
- g[20] ? Ge : _e
321
+ g[20] ? ke : _e
322
322
  );
323
323
  }
324
324
  let m = i(a), r = m(a);
325
325
  return {
326
326
  c() {
327
- e = P("div"), s = P("div"), r.c(), L(s, "class", "casino-most-played-section"), L(e, "class", "CasinoGamesCategorySectionContainer");
327
+ e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
328
328
  },
329
329
  m(g, c) {
330
- E(g, e, c), B(e, s), r.m(s, null), a[24](e);
330
+ E(g, e, c), K(e, s), r.m(s, null), a[24](e);
331
331
  },
332
332
  p(g, c) {
333
333
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
334
334
  },
335
- i: Q,
336
- o: Q,
335
+ i: Y,
336
+ o: Y,
337
337
  d(g) {
338
338
  g && A(e), r.d(), a[24](null);
339
339
  }
340
340
  };
341
341
  }
342
- function we(a, e, s) {
342
+ function Ge(a, e, s) {
343
343
  let i;
344
344
  oe(a, ye, (t) => s(21, i = t));
345
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: O = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: M = "10" } = e, { fetchviaevent: z = "true" } = e, H = window.navigator.userAgent;
346
- const K = () => {
347
- fetch(w).then((o) => o.json()).then((o) => {
345
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: q = "true" } = e, Q = window.navigator.userAgent;
346
+ const V = () => {
347
+ fetch(G).then((o) => o.json()).then((o) => {
348
348
  Object.keys(o).forEach((d) => {
349
- Y(d, o[d]);
349
+ B(d, o[d]);
350
350
  });
351
351
  }).catch((o) => {
352
352
  console.log(o);
353
353
  });
354
354
  };
355
- Object.keys(Z).forEach((t) => {
356
- Y(t, Z[t]);
355
+ Object.keys(H).forEach((t) => {
356
+ B(t, H[t]);
357
357
  });
358
- let N = [], q, I = !1, u, V;
359
- const W = (t) => {
358
+ let N = [], z, I = !1, u, W;
359
+ const X = (t) => {
360
360
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
361
361
  t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
362
362
  let d = t.device;
363
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = k ? o : o.href, new Promise((f, y) => {
364
- fetch(q).then((h) => h.json()).then((h) => {
363
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = w ? o : o.href, new Promise((f, y) => {
364
+ fetch(z).then((h) => h.json()).then((h) => {
365
365
  h.items = h.items.filter(($) => {
366
366
  let J = !0;
367
367
  return $.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
@@ -370,17 +370,17 @@ function we(a, e, s) {
370
370
  console.error(h), y(h);
371
371
  });
372
372
  });
373
- }, X = () => {
374
- W({
373
+ }, Z = () => {
374
+ X({
375
375
  limit: 100,
376
- device: re(H),
377
- rounds: M
376
+ device: re(Q),
377
+ rounds: L
378
378
  }).then((t) => {
379
379
  if (t.count > 0) {
380
380
  let o = [];
381
381
  t.items.forEach((d) => {
382
382
  let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
383
- f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
383
+ f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
384
384
  }), Promise.all(o).then((d) => {
385
385
  N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
386
386
  });
@@ -398,40 +398,40 @@ function we(a, e, s) {
398
398
  });
399
399
  }
400
400
  return a.$$set = (t) => {
401
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, O = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, w = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, M = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
401
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, G = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, q = t.fetchviaevent);
402
402
  }, a.$$.update = () => {
403
403
  a.$$.dirty[0] & /*endpoint, userid, lang*/
404
- 41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
404
+ 41 && m && b && c && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
405
405
  524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
- 524544 && G && u && de(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
- 524352 && v && u && fe(u, `${v}.Style`, V), a.$$.dirty[0] & /*translationurl*/
408
- 65536 && w && K(), a.$$.dirty[0] & /*lang*/
406
+ 524544 && k && u && de(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
+ 524352 && v && u && fe(u, `${v}.Style`, W), a.$$.dirty[0] & /*translationurl*/
408
+ 65536 && G && V(), a.$$.dirty[0] & /*lang*/
409
409
  8 && c && p();
410
410
  }, [
411
411
  m,
412
412
  r,
413
413
  g,
414
414
  c,
415
- O,
415
+ F,
416
416
  b,
417
417
  v,
418
418
  _,
419
- G,
420
419
  k,
421
- F,
420
+ w,
421
+ O,
422
422
  D,
423
423
  R,
424
424
  T,
425
425
  S,
426
426
  U,
427
- w,
427
+ G,
428
428
  j,
429
- z,
429
+ q,
430
430
  u,
431
431
  I,
432
432
  i,
433
433
  C,
434
- M,
434
+ L,
435
435
  x
436
436
  ];
437
437
  }
@@ -440,8 +440,8 @@ class Ne extends se {
440
440
  super(), ae(
441
441
  this,
442
442
  e,
443
+ Ge,
443
444
  we,
444
- ke,
445
445
  ne,
446
446
  {
447
447
  endpoint: 0,
@@ -1,12 +1,12 @@
1
- import { d as ee, b as te, S as se, y as ae, M as ne, t as l, f as ie, E as Q, p as A, z as E, e as B, q as P, g as L, k as oe, G as le, u as re, h as me, R as ge, Z as ce, Q as n, N as ue, O as de, P as fe, l as he, a as ye } from "./CasinoLobby-CDOhHuQr.js";
2
- import "./CasinoPage-CBj_iE-2.js";
3
- function Y(a, e) {
1
+ import { a as ee, v as te, S as se, i as ae, s as ne, f as l, b as ie, n as Y, d as A, e as E, p as K, g as P, l as M, h as oe, o as le, j as re, k as me, E as ge, F as ce, m as n, q as ue, r as de, t as fe, c as he, $ as ye } from "./CasinoLobby-DlkT0ycq.js";
2
+ import "./CasinoPage-6DlUJdNB.js";
3
+ function B(a, e) {
4
4
  ee(a, e);
5
5
  }
6
6
  function be(a) {
7
7
  te.set(a);
8
8
  }
9
- const Z = {
9
+ const H = {
10
10
  en: {
11
11
  noGames: "No games in most played"
12
12
  },
@@ -291,17 +291,17 @@ function _e(a) {
291
291
  }
292
292
  };
293
293
  }
294
- function Ge(a) {
294
+ function ke(a) {
295
295
  let e, s = (
296
296
  /*$_*/
297
297
  a[21]("noGames") + ""
298
298
  ), i;
299
299
  return {
300
300
  c() {
301
- e = P("p"), i = ce(s), L(e, "class", "SearchLoading");
301
+ e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
302
302
  },
303
303
  m(m, r) {
304
- E(m, e, r), B(e, i);
304
+ E(m, e, r), K(e, i);
305
305
  },
306
306
  p(m, r) {
307
307
  r[0] & /*$_*/
@@ -313,55 +313,55 @@ function Ge(a) {
313
313
  }
314
314
  };
315
315
  }
316
- function ke(a) {
316
+ function we(a) {
317
317
  let e, s;
318
318
  function i(g, c) {
319
319
  return (
320
320
  /*mostPlayedEmpty*/
321
- g[20] ? Ge : _e
321
+ g[20] ? ke : _e
322
322
  );
323
323
  }
324
324
  let m = i(a), r = m(a);
325
325
  return {
326
326
  c() {
327
- e = P("div"), s = P("div"), r.c(), L(s, "class", "casino-most-played-section"), L(e, "class", "CasinoGamesCategorySectionContainer");
327
+ e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
328
328
  },
329
329
  m(g, c) {
330
- E(g, e, c), B(e, s), r.m(s, null), a[24](e);
330
+ E(g, e, c), K(e, s), r.m(s, null), a[24](e);
331
331
  },
332
332
  p(g, c) {
333
333
  m === (m = i(g)) && r ? r.p(g, c) : (r.d(1), r = m(g), r && (r.c(), r.m(s, null)));
334
334
  },
335
- i: Q,
336
- o: Q,
335
+ i: Y,
336
+ o: Y,
337
337
  d(g) {
338
338
  g && A(e), r.d(), a[24](null);
339
339
  }
340
340
  };
341
341
  }
342
- function we(a, e, s) {
342
+ function Ge(a, e, s) {
343
343
  let i;
344
344
  oe(a, ye, (t) => s(21, i = t));
345
- let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: O = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: w = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: M = "10" } = e, { fetchviaevent: z = "true" } = e, H = window.navigator.userAgent;
346
- const K = () => {
347
- fetch(w).then((o) => o.json()).then((o) => {
345
+ let { endpoint: m = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: _ = "" } = e, { clientstylingurl: k = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: S } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: C = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: q = "true" } = e, Q = window.navigator.userAgent;
346
+ const V = () => {
347
+ fetch(G).then((o) => o.json()).then((o) => {
348
348
  Object.keys(o).forEach((d) => {
349
- Y(d, o[d]);
349
+ B(d, o[d]);
350
350
  });
351
351
  }).catch((o) => {
352
352
  console.log(o);
353
353
  });
354
354
  };
355
- Object.keys(Z).forEach((t) => {
356
- Y(t, Z[t]);
355
+ Object.keys(H).forEach((t) => {
356
+ B(t, H[t]);
357
357
  });
358
- let N = [], q, I = !1, u, V;
359
- const W = (t) => {
358
+ let N = [], z, I = !1, u, W;
359
+ const X = (t) => {
360
360
  let o = new URL(`${m}/v1/player/${b}/games/most-played`);
361
361
  t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", C);
362
362
  let d = t.device;
363
- return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), q = k ? o : o.href, new Promise((f, y) => {
364
- fetch(q).then((h) => h.json()).then((h) => {
363
+ return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = w ? o : o.href, new Promise((f, y) => {
364
+ fetch(z).then((h) => h.json()).then((h) => {
365
365
  h.items = h.items.filter(($) => {
366
366
  let J = !0;
367
367
  return $.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
@@ -370,17 +370,17 @@ function we(a, e, s) {
370
370
  console.error(h), y(h);
371
371
  });
372
372
  });
373
- }, X = () => {
374
- W({
373
+ }, Z = () => {
374
+ X({
375
375
  limit: 100,
376
- device: re(H),
377
- rounds: M
376
+ device: re(Q),
377
+ rounds: L
378
378
  }).then((t) => {
379
379
  if (t.count > 0) {
380
380
  let o = [];
381
381
  t.items.forEach((d) => {
382
382
  let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
383
- f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
383
+ f.searchParams.append("datasource", r), w ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
384
384
  }), Promise.all(o).then((d) => {
385
385
  N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(S))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
386
386
  });
@@ -398,40 +398,40 @@ function we(a, e, s) {
398
398
  });
399
399
  }
400
400
  return a.$$set = (t) => {
401
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, O = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, w = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, M = t.mostplayedrounds), "fetchviaevent" in t && s(18, z = t.fetchviaevent);
401
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, k = t.clientstylingurl), "livecasino" in t && s(9, w = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, S = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, G = t.translationurl), "casinomygames" in t && s(17, j = t.casinomygames), "mostplayedperiod" in t && s(22, C = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, q = t.fetchviaevent);
402
402
  }, a.$$.update = () => {
403
403
  a.$$.dirty[0] & /*endpoint, userid, lang*/
404
- 41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
404
+ 41 && m && b && c && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
405
405
  524416 && _ && u && ue(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
406
- 524544 && G && u && de(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
- 524352 && v && u && fe(u, `${v}.Style`, V), a.$$.dirty[0] & /*translationurl*/
408
- 65536 && w && K(), a.$$.dirty[0] & /*lang*/
406
+ 524544 && k && u && de(u, k), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
407
+ 524352 && v && u && fe(u, `${v}.Style`, W), a.$$.dirty[0] & /*translationurl*/
408
+ 65536 && G && V(), a.$$.dirty[0] & /*lang*/
409
409
  8 && c && p();
410
410
  }, [
411
411
  m,
412
412
  r,
413
413
  g,
414
414
  c,
415
- O,
415
+ F,
416
416
  b,
417
417
  v,
418
418
  _,
419
- G,
420
419
  k,
421
- F,
420
+ w,
421
+ O,
422
422
  D,
423
423
  R,
424
424
  T,
425
425
  S,
426
426
  U,
427
- w,
427
+ G,
428
428
  j,
429
- z,
429
+ q,
430
430
  u,
431
431
  I,
432
432
  i,
433
433
  C,
434
- M,
434
+ L,
435
435
  x
436
436
  ];
437
437
  }
@@ -440,8 +440,8 @@ class Ne extends se {
440
440
  super(), ae(
441
441
  this,
442
442
  e,
443
+ Ge,
443
444
  we,
444
- ke,
445
445
  ne,
446
446
  {
447
447
  endpoint: 0,
@@ -1,4 +1,4 @@
1
- import { b as U, $ as he, d as ve, S as be, y as pe, M as Pe, t as g, f as _e, E as ee, p as F, z as G, q as _, k as Me, G as we, A as ke, h as Fe, s as ae, o as Ge, Q as a, a0 as E, g as M, e as b, V as C, r as Le, R as T, D as I, Z as A, N as Ce, O as Ee, P as Ae, l as Be, a as Oe } from "./CasinoLobby-CDOhHuQr.js";
1
+ import { v as U, w as he, a as ve, S as be, i as pe, s as Pe, f as g, b as _e, n as ee, d as F, c as G, e as _, g as Me, o as we, A as ke, j as Fe, I as ae, Z as Ge, l as a, H as E, k as M, m as b, C, D as Le, E as z, M as R, F as A, p as Ce, q as Ee, r as Ae, t as Be, $ as Oe } from "./CasinoLobby-CmAf2BJ4.js";
2
2
  function je({ withLocale: t, translations: e }) {
3
3
  U.subscribe((n) => {
4
4
  n == null && (he.set(e), U.set(t));
@@ -114,7 +114,7 @@ if (typeof window != "undefined") {
114
114
  }
115
115
  };
116
116
  };
117
- customElements.define = t(customElements.define), import("./CasinoFavoritesSection-gL0wYg3v.js").then(({ default: e }) => {
117
+ customElements.define = t(customElements.define), import("./CasinoFavoritesSection-NizzPczK.js").then(({ default: e }) => {
118
118
  !customElements.get("casino-favorites-section") && customElements.define("casino-favorites-section", e.element);
119
119
  });
120
120
  }
@@ -130,7 +130,7 @@ if (typeof window != "undefined") {
130
130
  }
131
131
  };
132
132
  };
133
- customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-Bxhbdeg0.js").then(({ default: e }) => {
133
+ customElements.define = t(customElements.define), import("./CasinoLastPlayedSection-BeXbhcJS.js").then(({ default: e }) => {
134
134
  !customElements.get("casino-last-played-section") && customElements.define("casino-last-played-section", e.element);
135
135
  });
136
136
  }
@@ -146,7 +146,7 @@ if (typeof window != "undefined") {
146
146
  }
147
147
  };
148
148
  };
149
- customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-xRqqFbB7.js").then(({ default: e }) => {
149
+ customElements.define = t(customElements.define), import("./CasinoMostPlayedSection-BdNavRAR.js").then(({ default: e }) => {
150
150
  !customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", e.element);
151
151
  });
152
152
  }
@@ -912,7 +912,7 @@ function le(t) {
912
912
  (t[15] == "false" ? "Off" : ""));
913
913
  },
914
914
  m(v, c) {
915
- G(v, e, c), b(e, d), b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), m || (P = I(
915
+ G(v, e, c), b(e, d), b(e, u), b(e, f), b(f, l), b(f, y), b(f, i), m || (P = R(
916
916
  e,
917
917
  "click",
918
918
  /*click_handler*/
@@ -922,8 +922,8 @@ function le(t) {
922
922
  p(v, c) {
923
923
  c[1] & /*$_*/
924
924
  1 && n !== (n = /*$_*/
925
- v[31]("favorites") + "") && T(d, n), c[0] & /*favoritesCount*/
926
- 1073741824 && T(
925
+ v[31]("favorites") + "") && z(d, n), c[0] & /*favoritesCount*/
926
+ 1073741824 && z(
927
927
  y,
928
928
  /*favoritesCount*/
929
929
  v[30]
@@ -949,7 +949,7 @@ function ne(t) {
949
949
  (t[16] == "false" ? "Off" : ""));
950
950
  },
951
951
  m(y, i) {
952
- G(y, e, i), b(e, d), f || (l = I(
952
+ G(y, e, i), b(e, d), f || (l = R(
953
953
  e,
954
954
  "click",
955
955
  /*click_handler_1*/
@@ -959,7 +959,7 @@ function ne(t) {
959
959
  p(y, i) {
960
960
  i[1] & /*$_*/
961
961
  1 && n !== (n = /*$_*/
962
- y[31]("mostPlayed") + "") && T(d, n), i[0] & /*gamesType, mostplayed*/
962
+ y[31]("mostPlayed") + "") && z(d, n), i[0] & /*gamesType, mostplayed*/
963
963
  134283264 && u !== (u = "MyGamesButton " + /*gamesType*/
964
964
  (y[27] == "MostPlayed" ? "Active" : "") + " " + /*mostplayed*/
965
965
  (y[16] == "false" ? "Off" : "")) && M(e, "class", u);
@@ -981,7 +981,7 @@ function oe(t) {
981
981
  (t[17] == "false" ? "Off" : ""));
982
982
  },
983
983
  m(i, p) {
984
- G(i, e, p), b(e, d), b(e, u), l || (y = I(
984
+ G(i, e, p), b(e, d), b(e, u), l || (y = R(
985
985
  e,
986
986
  "click",
987
987
  /*click_handler_2*/
@@ -991,7 +991,7 @@ function oe(t) {
991
991
  p(i, p) {
992
992
  p[1] & /*$_*/
993
993
  1 && n !== (n = /*$_*/
994
- i[31]("recentlyPlayed") + "") && T(d, n), p[0] & /*gamesType, lastplayed*/
994
+ i[31]("recentlyPlayed") + "") && z(d, n), p[0] & /*gamesType, lastplayed*/
995
995
  134348800 && f !== (f = "MyGamesButton " + /*gamesType*/
996
996
  (i[27] == "LastPlayed" ? "Active" : "") + " " + /*lastplayed*/
997
997
  (i[17] == "false" ? "Off" : "")) && M(e, "class", f);
@@ -1057,10 +1057,10 @@ function Ne(t) {
1057
1057
  }
1058
1058
  };
1059
1059
  }
1060
- function ze(t, e, n) {
1060
+ function Te(t, e, n) {
1061
1061
  let d;
1062
1062
  Me(t, Oe, (r) => n(31, d = r));
1063
- let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: P = "" } = e, { livecasino: v = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: s = "" } = e, { showgamename: o = "" } = e, { integratedgameframedesktop: h = "" } = e, { integratedgameframemobile: B = "" } = e, { translationurl: D = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: V = "false" } = e, { lastplayedperiod: Z = "Last30Days" } = e, { mostplayedperiod: J = "Last30Days" } = e, { lastplayedorder: Q = "" } = e, { lastplayedlimit: K = "" } = e, { lastplayedunique: W = "true" } = e, { mostplayedrounds: X = "" } = e, { mbsource: H } = e, me = window.navigator.userAgent, de, w, N = "", Y = !1, L = ["", "", ""], R = "0";
1063
+ let { userid: u = "" } = e, { session: f = "" } = e, { endpoint: l = "" } = e, { datasource: y = "" } = e, { lang: i = "" } = e, { currency: p = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: P = "" } = e, { livecasino: v = "" } = e, { visiblegames: c = "" } = e, { gamepagemodalurl: s = "" } = e, { showgamename: o = "" } = e, { integratedgameframedesktop: h = "" } = e, { integratedgameframemobile: B = "" } = e, { translationurl: D = "" } = e, { favorites: O = "false" } = e, { mostplayed: j = "false" } = e, { lastplayed: S = "false" } = e, { casinomygames: Z = "false" } = e, { lastplayedperiod: J = "Last30Days" } = e, { mostplayedperiod: V = "Last30Days" } = e, { lastplayedorder: K = "" } = e, { lastplayedlimit: Q = "" } = e, { lastplayedunique: W = "true" } = e, { mostplayedrounds: X = "" } = e, { mbsource: H } = e, me = window.navigator.userAgent, de, w, N = "", Y = !1, L = ["", "", ""], I = "0";
1064
1064
  je({ withLocale: "en", translations: {} });
1065
1065
  const fe = () => {
1066
1066
  fetch(D).then((k) => k.json()).then((k) => {
@@ -1074,7 +1074,7 @@ function ze(t, e, n) {
1074
1074
  Object.keys(se).forEach((r) => {
1075
1075
  te(r, se[r]);
1076
1076
  });
1077
- const z = (r) => {
1077
+ const T = (r) => {
1078
1078
  N !== r && n(27, N = r);
1079
1079
  }, x = () => {
1080
1080
  n(27, N = O === "true" ? "Favorites" : j === "true" ? "MostPlayed" : S === "true" ? "LastPlayed" : ""), n(29, L[0] = O === "true" ? "Favorites" : "", L), n(29, L[1] = j === "true" ? "MostPlayed" : "", L), n(29, L[2] = S === "true" ? "LastPlayed" : "", L), Se(i);
@@ -1083,21 +1083,21 @@ function ze(t, e, n) {
1083
1083
  if (r.data)
1084
1084
  switch (r.data.type) {
1085
1085
  case "UpdateFavoritesCount":
1086
- r.data.favoriteGamesLength !== void 0 ? n(30, R = r.data.favoriteGamesLength) : n(30, R = (q = (k = r.data.listOfFavoritesGames) == null ? void 0 : k.length) != null ? q : 0);
1086
+ r.data.favoriteGamesLength !== void 0 ? n(30, I = r.data.favoriteGamesLength) : n(30, I = (q = (k = r.data.listOfFavoritesGames) == null ? void 0 : k.length) != null ? q : 0);
1087
1087
  break;
1088
1088
  }
1089
1089
  };
1090
1090
  we(() => (window.addEventListener("message", $, !1), n(28, Y = ke(me)), () => {
1091
1091
  window.removeEventListener("message", $);
1092
1092
  }));
1093
- const ue = () => z("Favorites"), ye = () => z("MostPlayed"), ge = () => z("LastPlayed");
1093
+ const ue = () => T("Favorites"), ye = () => T("MostPlayed"), ge = () => T("LastPlayed");
1094
1094
  function ce(r) {
1095
1095
  Fe[r ? "unshift" : "push"](() => {
1096
1096
  w = r, n(26, w);
1097
1097
  });
1098
1098
  }
1099
1099
  return t.$$set = (r) => {
1100
- "userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "clientstyling" in r && n(6, m = r.clientstyling), "clientstylingurl" in r && n(7, P = r.clientstylingurl), "livecasino" in r && n(8, v = r.livecasino), "visiblegames" in r && n(9, c = r.visiblegames), "gamepagemodalurl" in r && n(10, s = r.gamepagemodalurl), "showgamename" in r && n(11, o = r.showgamename), "integratedgameframedesktop" in r && n(12, h = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(13, B = r.integratedgameframemobile), "translationurl" in r && n(14, D = r.translationurl), "favorites" in r && n(15, O = r.favorites), "mostplayed" in r && n(16, j = r.mostplayed), "lastplayed" in r && n(17, S = r.lastplayed), "casinomygames" in r && n(18, V = r.casinomygames), "lastplayedperiod" in r && n(19, Z = r.lastplayedperiod), "mostplayedperiod" in r && n(20, J = r.mostplayedperiod), "lastplayedorder" in r && n(21, Q = r.lastplayedorder), "lastplayedlimit" in r && n(22, K = r.lastplayedlimit), "lastplayedunique" in r && n(23, W = r.lastplayedunique), "mostplayedrounds" in r && n(24, X = r.mostplayedrounds), "mbsource" in r && n(25, H = r.mbsource);
1100
+ "userid" in r && n(0, u = r.userid), "session" in r && n(1, f = r.session), "endpoint" in r && n(2, l = r.endpoint), "datasource" in r && n(3, y = r.datasource), "lang" in r && n(4, i = r.lang), "currency" in r && n(5, p = r.currency), "clientstyling" in r && n(6, m = r.clientstyling), "clientstylingurl" in r && n(7, P = r.clientstylingurl), "livecasino" in r && n(8, v = r.livecasino), "visiblegames" in r && n(9, c = r.visiblegames), "gamepagemodalurl" in r && n(10, s = r.gamepagemodalurl), "showgamename" in r && n(11, o = r.showgamename), "integratedgameframedesktop" in r && n(12, h = r.integratedgameframedesktop), "integratedgameframemobile" in r && n(13, B = r.integratedgameframemobile), "translationurl" in r && n(14, D = r.translationurl), "favorites" in r && n(15, O = r.favorites), "mostplayed" in r && n(16, j = r.mostplayed), "lastplayed" in r && n(17, S = r.lastplayed), "casinomygames" in r && n(18, Z = r.casinomygames), "lastplayedperiod" in r && n(19, J = r.lastplayedperiod), "mostplayedperiod" in r && n(20, V = r.mostplayedperiod), "lastplayedorder" in r && n(21, K = r.lastplayedorder), "lastplayedlimit" in r && n(22, Q = r.lastplayedlimit), "lastplayedunique" in r && n(23, W = r.lastplayedunique), "mostplayedrounds" in r && n(24, X = r.mostplayedrounds), "mbsource" in r && n(25, H = r.mbsource);
1101
1101
  }, t.$$.update = () => {
1102
1102
  t.$$.dirty[0] & /*endpoint, datasource, lang*/
1103
1103
  28 && l && y && i && x(), t.$$.dirty[0] & /*favorites, mostplayed, lastplayed*/
@@ -1125,11 +1125,11 @@ function ze(t, e, n) {
1125
1125
  O,
1126
1126
  j,
1127
1127
  S,
1128
- V,
1129
1128
  Z,
1130
1129
  J,
1131
- Q,
1130
+ V,
1132
1131
  K,
1132
+ Q,
1133
1133
  W,
1134
1134
  X,
1135
1135
  H,
@@ -1137,21 +1137,21 @@ function ze(t, e, n) {
1137
1137
  N,
1138
1138
  Y,
1139
1139
  L,
1140
- R,
1140
+ I,
1141
1141
  d,
1142
- z,
1142
+ T,
1143
1143
  ue,
1144
1144
  ye,
1145
1145
  ge,
1146
1146
  ce
1147
1147
  ];
1148
1148
  }
1149
- class Te extends be {
1149
+ class ze extends be {
1150
1150
  constructor(e) {
1151
1151
  super(), pe(
1152
1152
  this,
1153
1153
  e,
1154
- ze,
1154
+ Te,
1155
1155
  Ne,
1156
1156
  Pe,
1157
1157
  {
@@ -1343,7 +1343,7 @@ class Te extends be {
1343
1343
  this.$$set({ mbsource: e }), g();
1344
1344
  }
1345
1345
  }
1346
- Be(Te, { userid: {}, session: {}, endpoint: {}, datasource: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, visiblegames: {}, gamepagemodalurl: {}, showgamename: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, translationurl: {}, favorites: {}, mostplayed: {}, lastplayed: {}, casinomygames: {}, lastplayedperiod: {}, mostplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, lastplayedunique: {}, mostplayedrounds: {}, mbsource: {} }, [], [], !0);
1346
+ Be(ze, { userid: {}, session: {}, endpoint: {}, datasource: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, visiblegames: {}, gamepagemodalurl: {}, showgamename: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, translationurl: {}, favorites: {}, mostplayed: {}, lastplayed: {}, casinomygames: {}, lastplayedperiod: {}, mostplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, lastplayedunique: {}, mostplayedrounds: {}, mbsource: {} }, [], [], !0);
1347
1347
  export {
1348
- Te as default
1348
+ ze as default
1349
1349
  };