@everymatrix/casino-lobby 1.61.0 → 1.62.0

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 (120) hide show
  1. package/components/{CasinoCalendar-DoAbSivX.js → CasinoCalendar-Ds_auLbt.js} +772 -744
  2. package/components/{CasinoCalendar-m598e8c0.js → CasinoCalendar-DwNK-Krf.js} +725 -697
  3. package/components/CasinoCalendar-mfnJr7FR.cjs +22 -0
  4. package/components/{CasinoCalendarDailyDetails-DwcDf4x5.js → CasinoCalendarDailyDetails-Bsp_M9tm.js} +49 -49
  5. package/components/{CasinoCalendarDailyDetails-B-xYqIE0.js → CasinoCalendarDailyDetails-C_XI9wqh.js} +49 -49
  6. package/components/{CasinoCalendarDailyDetails-ihh2Fdl-.cjs → CasinoCalendarDailyDetails-CfPB55Pq.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-Jx2wAoY3.js → CasinoCalendarDailyItem-BZFRiT1-.js} +33 -33
  8. package/components/{CasinoCalendarDailyItem-CVcykkiO.cjs → CasinoCalendarDailyItem-DKNNV9h9.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DD1zORXJ.js → CasinoCalendarDailyItem-DX4mmW--.js} +33 -33
  10. package/components/{CasinoCategoriesSlider-DE0uzQfF.js → CasinoCategoriesSlider-3nT06xt_.js} +70 -70
  11. package/components/CasinoCategoriesSlider-BcnId76H.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-DW81y1el.js → CasinoCategoriesSlider-BpGXCaMb.js} +71 -71
  13. package/components/{CasinoCollectionsProviders-CkxoIQMQ.js → CasinoCollectionsProviders-BGPURFbw.js} +44 -44
  14. package/components/{CasinoCollectionsProviders-tBs9i_s1.cjs → CasinoCollectionsProviders-By4Ga1uR.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-FTsSIZe7.js → CasinoCollectionsProviders-Dk4psn1e.js} +65 -65
  16. package/components/{CasinoFavoritesSection-CKWkFYb4.js → CasinoFavoritesSection-Bc0fMYjF.js} +23 -23
  17. package/components/{CasinoFavoritesSection-MnxoGd6P.js → CasinoFavoritesSection-C0CsEcw_.js} +23 -23
  18. package/components/{CasinoFavoritesSection-CtF6Vrcg.cjs → CasinoFavoritesSection-vRmZpBaX.cjs} +1 -1
  19. package/components/CasinoFilter-CAtpk4a4.js +645 -0
  20. package/components/CasinoFilter-CtjgbEie.js +646 -0
  21. package/components/CasinoFilter-dn8i37bN.cjs +1 -0
  22. package/components/{CasinoGamePage-BhfZPeFB.cjs → CasinoGamePage-ChuDdD-6.cjs} +6 -6
  23. package/components/{CasinoGamePage-B8-ifO-z.js → CasinoGamePage-DJvIg2Lf.js} +742 -742
  24. package/components/{CasinoGamePage-CLMVY2d0.js → CasinoGamePage-JBZLEvnG.js} +743 -743
  25. package/components/CasinoGameThumbnail-DjAdZZBA.js +1883 -0
  26. package/components/CasinoGameThumbnail-DrQpg0EE.js +1867 -0
  27. package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +38 -0
  28. package/components/{CasinoGamesCategorySection-CIfBLzjC.js → CasinoGamesCategorySection-Ch0WIANe.js} +1241 -1159
  29. package/components/CasinoGamesCategorySection-GOjPf7-0.cjs +1 -0
  30. package/components/CasinoGamesCategorySection-foSq_Gr6.js +3154 -0
  31. package/components/{CasinoJackpotBanner-CdD_15mU.js → CasinoJackpotBanner-B2CksgLI.js} +110 -110
  32. package/components/{CasinoJackpotBanner-C8HGJTlE.cjs → CasinoJackpotBanner-B_eZxp_D.cjs} +1 -1
  33. package/components/{CasinoJackpotBanner-B3ZF9rcH.js → CasinoJackpotBanner-Iq9Ey3dk.js} +110 -110
  34. package/components/{CasinoLastPlayedSection-Dxbzb-4o.js → CasinoLastPlayedSection-Bp4Lsv3s.js} +46 -46
  35. package/components/{CasinoLastPlayedSection-BPD5poPp.js → CasinoLastPlayedSection-DbANdFuL.js} +46 -46
  36. package/components/{CasinoLastPlayedSection-BKNOgkbn.cjs → CasinoLastPlayedSection-cmf92qRb.cjs} +1 -1
  37. package/components/{CasinoLobby-Bntp7e5i.js → CasinoLobby-B8ucHOFp.js} +243 -184
  38. package/components/CasinoLobby-CAeLQ5BE.cjs +1 -0
  39. package/components/{CasinoLobby-6kkVRa0v.js → CasinoLobby-siRHhGuy.js} +243 -184
  40. package/components/{CasinoModal-CX70u0Ty.cjs → CasinoModal-DGa_AIvk.cjs} +1 -1
  41. package/components/{CasinoModal-QtSV_GhN.js → CasinoModal-Pt4nHM76.js} +43 -43
  42. package/components/{CasinoModal-bTxbu9d4.js → CasinoModal-e0s3ToYA.js} +43 -43
  43. package/components/{CasinoMostPlayedSection-mgY7J84H.cjs → CasinoMostPlayedSection-Cxmg0Bai.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-B9_yeLMk.js → CasinoMostPlayedSection-Dk8rng9q.js} +44 -44
  45. package/components/{CasinoMostPlayedSection-D-VpqDyh.js → CasinoMostPlayedSection-DuO2XrE8.js} +44 -44
  46. package/components/{CasinoMyGames-CoK6Wgxp.cjs → CasinoMyGames-BXV5DJsV.cjs} +1 -1
  47. package/components/{CasinoMyGames-BQtk1EEq.js → CasinoMyGames-DDhJiodD.js} +51 -51
  48. package/components/{CasinoMyGames-BEUz5puH.js → CasinoMyGames-ZgZazIms.js} +47 -47
  49. package/components/CasinoPage-BfG57-mo.js +4071 -0
  50. package/components/CasinoPage-DlenCL5e.js +4052 -0
  51. package/components/CasinoPage-QkYfyrIK.cjs +1 -0
  52. package/components/{CasinoRandomGame-C7o1QBcd.js → CasinoRandomGame-C-KByRhW.js} +64 -64
  53. package/components/{CasinoRandomGame-DQXmOLue.js → CasinoRandomGame-CFxey-Hj.js} +66 -66
  54. package/components/{CasinoRandomGame-CpRxEK7p.cjs → CasinoRandomGame-Cs9kjDxc.cjs} +1 -1
  55. package/components/{CasinoSearch-DTglx2jN.js → CasinoSearch-BjnGir-z.js} +69 -69
  56. package/components/{CasinoSearch-D8oEWBOH.cjs → CasinoSearch-Ci-NvpMW.cjs} +1 -1
  57. package/components/{CasinoSearch-CTxffz7Z.js → CasinoSearch-Cwi_srKc.js} +69 -69
  58. package/components/{CasinoSlider-pPfml1-U.js → CasinoSlider-39QtmWWi.js} +89 -89
  59. package/components/{CasinoSlider-CGpDul3G.js → CasinoSlider-C7tccz8y.js} +80 -80
  60. package/components/{CasinoSlider-BU163_5n.cjs → CasinoSlider-DrdLTNh9.cjs} +1 -1
  61. package/components/{CasinoSort-BVq-FyEW.cjs → CasinoSort-Big21575.cjs} +1 -1
  62. package/components/{CasinoSort-DGdM4QXv.js → CasinoSort-BvuV6OEx.js} +103 -104
  63. package/components/{CasinoSort-BSaxbC32.js → CasinoSort-DgtkEGDb.js} +111 -110
  64. package/components/{CasinoWinners-i5RqXY4N.js → CasinoWinners-CAaxaJlt.js} +151 -151
  65. package/components/{CasinoWinners-BwwKfUuN.js → CasinoWinners-CUHNrZzd.js} +137 -137
  66. package/components/{CasinoWinners-CtwqFnag.cjs → CasinoWinners-YGc-x05i.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-CDwioZhT.cjs → GeneralAnimationLoading-DS00gkfg.cjs} +1 -1
  68. package/components/{GeneralAnimationLoading-BszAoL3H.js → GeneralAnimationLoading-DgYbDns-.js} +18 -18
  69. package/components/{GeneralAnimationLoading-Xq-D41Fg.js → GeneralAnimationLoading-GRiNTyhV.js} +18 -18
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-BUvMKyaw.js → casino-play-random-game-BXqbLgi6.js} +2 -2
  75. package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-C7EJAFXg.js} +2 -2
  76. package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-DjzHFI4S.cjs} +2 -2
  77. package/stencil/index-ab3202d6-CMLJROQf.cjs +1 -0
  78. package/stencil/index-ab3202d6-CqQYxn8J.js +575 -0
  79. package/stencil/index-ab3202d6-D5caeC50.js +559 -0
  80. package/stencil/index-b2193545-CJX9lIo2.js +519 -0
  81. package/stencil/index-b2193545-CbB5TWd2.js +503 -0
  82. package/stencil/index-b2193545-DQd_Uk3t.cjs +1 -0
  83. package/stencil/index-b7bbd57e-BO976FKE.js +534 -0
  84. package/stencil/index-b7bbd57e-CRts68dn.cjs +1 -0
  85. package/stencil/index-b7bbd57e-ChiHMF5W.js +550 -0
  86. package/stencil/{ui-image-38c3c15f--IPbitii.js → ui-image-38c3c15f-C4x7O9FA.js} +1 -1
  87. package/stencil/{ui-image-38c3c15f-Dv8v2u8d.cjs → ui-image-38c3c15f-DQqFo7p2.cjs} +1 -1
  88. package/stencil/{ui-image-38c3c15f-CQXMTl7T.js → ui-image-38c3c15f-DY2A0QkK.js} +1 -1
  89. package/stencil/{ui-image-DG3xEaHN.js → ui-image-CzWACXX6.js} +2 -2
  90. package/stencil/{ui-image-LuWVcxjH.cjs → ui-image-c5YAxRRi.cjs} +1 -1
  91. package/stencil/{ui-image-CV8AJ9cY.js → ui-image-shmNN3yX.js} +2 -2
  92. package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-6d1c12ae-C2t65ZQ6.cjs} +1 -1
  93. package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-6d1c12ae-CrQ3Yom_.js} +1 -1
  94. package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-6d1c12ae-D9cBvSa8.js} +1 -1
  95. package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-BEBLuDwu.js} +2 -2
  96. package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-D595e_7Y.cjs} +1 -1
  97. package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-Z7IcB7dJ.js} +2 -2
  98. package/components/CasinoCalendar-CR3NqEmo.cjs +0 -22
  99. package/components/CasinoCategoriesSlider-BqUXbvm-.cjs +0 -1
  100. package/components/CasinoFilter-C_1U3dc9.cjs +0 -1
  101. package/components/CasinoFilter-Cs9ZMDdP.js +0 -633
  102. package/components/CasinoFilter-D80YfaXW.js +0 -632
  103. package/components/CasinoGameThumbnail-C3GiNGVC.js +0 -1084
  104. package/components/CasinoGameThumbnail-D6vWUaB6.js +0 -1068
  105. package/components/CasinoGameThumbnail-p0ydxgWU.cjs +0 -30
  106. package/components/CasinoGamesCategorySection-BfmPSDQ9.cjs +0 -1
  107. package/components/CasinoGamesCategorySection-o-CZJ4iD.js +0 -3070
  108. package/components/CasinoLobby-BfVpgZO6.cjs +0 -1
  109. package/components/CasinoPage-CO6a5Btu.cjs +0 -1
  110. package/components/CasinoPage-CiONVvV8.js +0 -3758
  111. package/components/CasinoPage-DOSD686t.js +0 -3755
  112. package/stencil/index-ab3202d6-9zuW-dLG.js +0 -575
  113. package/stencil/index-ab3202d6-CGVciVSL.js +0 -559
  114. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +0 -1
  115. package/stencil/index-b2193545-CGYrx6SV.js +0 -503
  116. package/stencil/index-b2193545-DU7jU8hT.cjs +0 -1
  117. package/stencil/index-b2193545-k_uiu1dU.js +0 -519
  118. package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
  119. package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
  120. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { a as re, S as le, i as ce, s as me, f as l, b as ge, n as S, d as E, h as j, j as h, k as ue, o as ye, O as fe, C as be, r as T, E as n, p as de, P as he, J as Ne, K as we, L as Le, M as Me, Q as _e, N as ve } from "./CasinoCalendar-m598e8c0.js";
2
- function Z(i, e) {
3
- re(i, e);
1
+ import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as E, G as S, j, k as fe, o as be, l as de, O as he, P as we, q as Ne, r as Le, m as Me, H as n, y as T, z as _e, Q as ve, J as Ce } from "./CasinoCalendar-DwNK-Krf.js";
2
+ function x(i, e) {
3
+ le(i, e);
4
4
  }
5
- const x = {
5
+ const p = {
6
6
  en: {
7
7
  lobbyName: "Lobby",
8
8
  myGamesName: "My games"
@@ -88,14 +88,14 @@ if (typeof window != "undefined") {
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-CGpDul3G.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-C7tccz8y.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
95
- function Ce(i) {
96
- ge(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
97
- }
98
95
  function Ge(i) {
96
+ ye(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
97
+ }
98
+ function ke(i) {
99
99
  let e, t, r, c;
100
100
  return {
101
101
  c() {
@@ -172,7 +172,7 @@ function Ge(i) {
172
172
  ), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
173
173
  },
174
174
  m(a, o) {
175
- j(a, e, o), de(e, t), r || (c = he(
175
+ E(a, e, o), _e(e, t), r || (c = ve(
176
176
  /*sendSliderData*/
177
177
  i[17].call(null, t)
178
178
  ), r = !0);
@@ -265,48 +265,48 @@ function Ge(i) {
265
265
  );
266
266
  },
267
267
  d(a) {
268
- a && E(e), r = !1, c();
268
+ a && j(e), r = !1, c();
269
269
  }
270
270
  };
271
271
  }
272
- function ke(i) {
272
+ function Se(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
276
  e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
277
277
  },
278
278
  m(t, r) {
279
- j(t, e, r);
279
+ E(t, e, r);
280
280
  },
281
281
  p: S,
282
282
  d(t) {
283
- t && E(e);
283
+ t && j(e);
284
284
  }
285
285
  };
286
286
  }
287
- function Se(i) {
287
+ function Ee(i) {
288
288
  let e;
289
289
  return {
290
290
  c() {
291
291
  e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
292
292
  },
293
293
  m(t, r) {
294
- j(t, e, r);
294
+ E(t, e, r);
295
295
  },
296
296
  p: S,
297
297
  d(t) {
298
- t && E(e);
298
+ t && j(e);
299
299
  }
300
300
  };
301
301
  }
302
- function Ee(i) {
302
+ function je(i) {
303
303
  let e;
304
304
  function t(a, o) {
305
305
  return (
306
306
  /*isLoading*/
307
- a[13] || je || Pe ? Se : (
307
+ a[13] || Pe || Fe ? Ee : (
308
308
  /*hasErrors*/
309
- a[15] ? ke : Ge
309
+ a[15] ? Se : ke
310
310
  )
311
311
  );
312
312
  }
@@ -316,7 +316,7 @@ function Ee(i) {
316
316
  e = h("div"), c.c();
317
317
  },
318
318
  m(a, o) {
319
- j(a, e, o), c.m(e, null), i[27](e);
319
+ E(a, e, o), c.m(e, null), i[27](e);
320
320
  },
321
321
  p(a, o) {
322
322
  r === (r = t(a)) && c ? c.p(a, o) : (c.d(1), c = r(a), c && (c.c(), c.m(e, null)));
@@ -324,48 +324,48 @@ function Ee(i) {
324
324
  i: S,
325
325
  o: S,
326
326
  d(a) {
327
- a && E(e), c.d(), i[27](null);
327
+ a && j(e), c.d(), i[27](null);
328
328
  }
329
329
  };
330
330
  }
331
- let O = "CasinoSliderData", je = !1, Pe = !1;
332
- function Fe(i, e, t) {
331
+ let O = "CasinoSliderData", Pe = !1, Fe = !1;
332
+ function Ae(i, e, t) {
333
333
  let r;
334
- ue(i, ve, (s) => t(33, r = s));
335
- let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: I = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
336
- const $ = () => {
334
+ fe(i, Ce, (s) => t(33, r = s));
335
+ let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: B = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: q = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: z = "" } = e, { lobbyiconimage: H = "" } = e, { mygamesiconimage: Y = "" } = e, { mbsource: P } = e, J, Q, K, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, F = !1;
336
+ const ee = () => {
337
337
  fetch(G).then((m) => m.json()).then((m) => {
338
338
  Object.keys(m).forEach((k) => {
339
- Z(k, m[k]);
339
+ x(k, m[k]);
340
340
  });
341
341
  }).catch((m) => {
342
342
  console.log(m);
343
343
  });
344
344
  };
345
- Object.keys(x).forEach((s) => {
346
- Z(s, x[s]);
345
+ Object.keys(p).forEach((s) => {
346
+ x(s, p[s]);
347
347
  });
348
- const ee = () => {
349
- V == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
348
+ const te = () => {
349
+ W == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
350
350
  // @ts-ignore
351
351
  id: "MYGAMES",
352
- name: J,
352
+ name: Q,
353
353
  href: "",
354
354
  games: []
355
- }), _e(), V = !0, t(26, F = !0), A();
356
- }, te = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), se = () => {
357
- if (J = r("myGamesName"), K = r("lobbyName"), !te()) {
358
- let s = new URL(`${c}/v1/casino/groups/${a}`);
359
- s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", fe(p)), fetch(s).then((m) => m.json()).then(
355
+ }), he(), W = !0, t(26, F = !0), A();
356
+ }, se = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
357
+ if (Q = r("myGamesName"), K = r("lobbyName"), !se()) {
358
+ let s = new URL(`${c}/v2/casino/groups/${a}`);
359
+ s.searchParams.append("language", o), s.searchParams.append("platform", we($)), s.searchParams.append("fields", "id,name,games(href)"), fetch(s).then((m) => m.json()).then(
360
360
  (m) => {
361
- let k = C.split(","), ne = m.items.filter((X) => {
361
+ let k = C.split(","), oe = m.items.filter((Z) => {
362
362
  let D = !1;
363
- if (X.games.total > 0 && (D = !0, C))
364
- for (let oe of k)
365
- X.flags == oe && (D = !1);
363
+ if (Z.games.total > 0 && (D = !0, C))
364
+ for (let re of k)
365
+ Z.flags == re && (D = !1);
366
366
  return D;
367
367
  });
368
- d = [], d = d.concat(ne), d.unshift({
368
+ d = [], d = d.concat(oe), d.unshift({
369
369
  // @ts-ignore
370
370
  id: "LOBBY",
371
371
  name: K,
@@ -380,7 +380,7 @@ function Fe(i, e, t) {
380
380
  t(15, f = !0), console.error("There was an error while fetching the categories", m);
381
381
  });
382
382
  }
383
- }, ie = () => {
383
+ }, ae = () => {
384
384
  let s = u.split("$");
385
385
  t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
386
386
  }, A = () => {
@@ -392,29 +392,29 @@ function Fe(i, e, t) {
392
392
  },
393
393
  window.location.href
394
394
  );
395
- }, W = (s) => {
395
+ }, X = (s) => {
396
396
  s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
397
397
  };
398
- ye(() => (window.addEventListener("message", W, !1), () => {
399
- window.removeEventListener("message", W);
398
+ be(() => (window.addEventListener("message", X, !1), () => {
399
+ window.emMessageBus && J && J.unsubscribe(), window.removeEventListener("message", X);
400
400
  }));
401
- function ae(s) {
402
- be[s ? "unshift" : "push"](() => {
401
+ function ne(s) {
402
+ Ne[s ? "unshift" : "push"](() => {
403
403
  g = s, t(14, g);
404
404
  });
405
405
  }
406
406
  return i.$$set = (s) => {
407
- "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, I = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
407
+ "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, w = s.session), "mostplayed" in s && t(20, N = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, B = s.sessioncheck), "location" in s && t(7, I = s.location), "showsubgroups" in s && t(8, q = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, z = s.categoriesicon), "lobbyiconimage" in s && t(10, H = s.lobbyiconimage), "mygamesiconimage" in s && t(11, Y = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
408
408
  }, i.$$.update = () => {
409
409
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
410
- 14 && c && a && o && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
- 7872514 && c && N && (w || L || M) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
- 67641345 && !y && u && (!N || F) && ie(), i.$$.dirty[0] & /*translationurl*/
413
- 33554432 && G && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
414
- 16400 && _ && g && Ne(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
415
- 16416 && v && g && we(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
- 20480 && g && Le(g, `${P}.Style`);
417
- }, t(16, Q = 0), [
410
+ 14 && c && a && o && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
+ 7872514 && c && w && (N || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
+ 67641345 && !y && u && (!w || F) && ae(), i.$$.dirty[0] & /*translationurl*/
413
+ 33554432 && G && ee(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
414
+ 16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
415
+ 16416 && v && g && de(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
+ 20480 && g && Me(g, `${P}.Style`);
417
+ }, t(16, V = 0), [
418
418
  u,
419
419
  c,
420
420
  a,
@@ -422,37 +422,37 @@ function Fe(i, e, t) {
422
422
  _,
423
423
  v,
424
424
  U,
425
- B,
426
- Y,
425
+ I,
427
426
  q,
428
427
  z,
429
428
  H,
429
+ Y,
430
430
  P,
431
431
  y,
432
432
  g,
433
433
  f,
434
- Q,
434
+ V,
435
435
  A,
436
436
  R,
437
- N,
438
437
  w,
438
+ N,
439
439
  L,
440
440
  M,
441
- I,
441
+ B,
442
442
  C,
443
443
  G,
444
444
  F,
445
- ae
445
+ ne
446
446
  ];
447
447
  }
448
- class Ae extends le {
448
+ class De extends ce {
449
449
  constructor(e) {
450
- super(), ce(
450
+ super(), me(
451
451
  this,
452
452
  e,
453
- Fe,
454
- Ee,
455
- me,
453
+ Ae,
454
+ je,
455
+ ue,
456
456
  {
457
457
  endpoint: 1,
458
458
  datasource: 2,
@@ -476,7 +476,7 @@ class Ae extends le {
476
476
  mygamesiconimage: 11,
477
477
  mbsource: 12
478
478
  },
479
- Ce,
479
+ Ge,
480
480
  [-1, -1]
481
481
  );
482
482
  }
@@ -607,7 +607,7 @@ class Ae extends le {
607
607
  this.$$set({ mbsource: e }), l();
608
608
  }
609
609
  }
610
- Me(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
610
+ ge(De, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
611
611
  export {
612
- Ae as default
612
+ De as default
613
613
  };
@@ -1,5 +1,5 @@
1
- import { a as we, $ as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as H, d as T, h as F, j as _, k as Me, o as je, l as xe, C as ee, r as w, v as z, w as ce, m as q, p as h, q as U, B as O, R as Te, A, I, D as N, E as j, T as Fe, J as Oe, K as Be, L as He, M as ze, N as Ae } from "./CasinoCalendar-m598e8c0.js";
2
- import "../stencil/ui-image-CV8AJ9cY.js";
1
+ import { a as we, $ as Se, S as ke, i as Ge, f as M, c as Pe, s as Le, b as Me, e as _, d as F, G as z, j as T, k as je, o as xe, l as Fe, p as Te, q as ee, r as He, m as Oe, v as A, x as q, w as H, y as w, z as h, E as U, F as ce, A as B, R as ze, M as I, J as Ae, H as j, I as N, T as Be } from "./CasinoCalendar-DwNK-Krf.js";
2
+ import "../stencil/ui-image-shmNN3yX.js";
3
3
  function te(t, e) {
4
4
  we(t, e);
5
5
  }
@@ -104,7 +104,7 @@ const ie = {
104
104
  }
105
105
  };
106
106
  function Ee(t) {
107
- Le(t, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
107
+ Me(t, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
108
108
  }
109
109
  function oe(t, e, i) {
110
110
  const n = t.slice();
@@ -128,7 +128,7 @@ function Re(t) {
128
128
  /*numberOfSlides*/
129
129
  t[7] > /*numberOfVisibleSlides*/
130
130
  t[8] && ne(t)
131
- ), m = z(
131
+ ), m = A(
132
132
  /*gameCategories*/
133
133
  t[3]
134
134
  ), a = [];
@@ -136,7 +136,7 @@ function Re(t) {
136
136
  a[c] = se(oe(t, m, c));
137
137
  return {
138
138
  c() {
139
- e = _("div"), i = _("div"), n = _("p"), r = U(l), d = O(), s && s.c(), C = O(), v = _("div");
139
+ e = _("div"), i = _("div"), n = _("p"), r = q(l), d = H(), s && s.c(), C = H(), v = _("div");
140
140
  for (let c = 0; c < a.length; c += 1)
141
141
  a[c].c();
142
142
  w(n, "class", "Title"), w(i, "class", "CategoriesHeader"), w(v, "class", "CategoriesSlider"), w(e, "class", k = "CasinoCollectionsProviders " + /*mobile*/
@@ -158,11 +158,11 @@ function Re(t) {
158
158
  ) : (
159
159
  /*$_*/
160
160
  c[10]("collections")
161
- )) + "") && q(r, l), /*numberOfSlides*/
161
+ )) + "") && U(r, l), /*numberOfSlides*/
162
162
  c[7] > /*numberOfVisibleSlides*/
163
163
  c[8] ? s ? s.p(c, g) : (s = ne(c), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
164
164
  24590) {
165
- m = z(
165
+ m = A(
166
166
  /*gameCategories*/
167
167
  c[3]
168
168
  );
@@ -194,7 +194,7 @@ function Ie(t) {
194
194
  m(i, n) {
195
195
  F(i, e, n);
196
196
  },
197
- p: H,
197
+ p: z,
198
198
  d(i) {
199
199
  i && T(e);
200
200
  }
@@ -204,17 +204,17 @@ function ne(t) {
204
204
  let e, i, n, l, r, d;
205
205
  return {
206
206
  c() {
207
- e = _("div"), i = _("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = O(), l = _("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', w(e, "class", "ButtonsContainer");
207
+ e = _("div"), i = _("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = H(), l = _("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', w(e, "class", "ButtonsContainer");
208
208
  },
209
209
  m(C, v) {
210
210
  F(C, e, v), h(e, i), h(e, n), h(e, l), r || (d = [
211
- A(
211
+ B(
212
212
  i,
213
213
  "click",
214
214
  /*sliderScrollLeft*/
215
215
  t[11]
216
216
  ),
217
- A(
217
+ B(
218
218
  l,
219
219
  "click",
220
220
  /*sliderScrollRight*/
@@ -222,9 +222,9 @@ function ne(t) {
222
222
  )
223
223
  ], r = !0);
224
224
  },
225
- p: H,
225
+ p: z,
226
226
  d(C) {
227
- C && T(e), r = !1, Te(d);
227
+ C && T(e), r = !1, ze(d);
228
228
  }
229
229
  };
230
230
  }
@@ -235,7 +235,7 @@ function qe(t) {
235
235
  ), n;
236
236
  return {
237
237
  c() {
238
- e = _("p"), n = U(i), w(e, "class", "CategorySlideTitle");
238
+ e = _("p"), n = q(i), w(e, "class", "CategorySlideTitle");
239
239
  },
240
240
  m(l, r) {
241
241
  F(l, e, r), h(e, n);
@@ -243,7 +243,7 @@ function qe(t) {
243
243
  p(l, r) {
244
244
  r[0] & /*gameCategories*/
245
245
  8 && i !== (i = /*category*/
246
- l[41].name + "") && q(n, i);
246
+ l[41].name + "") && U(n, i);
247
247
  },
248
248
  d(l) {
249
249
  l && T(e);
@@ -280,7 +280,7 @@ function re(t) {
280
280
  ), n, l;
281
281
  return {
282
282
  c() {
283
- e = _("p"), n = U(i), w(e, "title", l = /*game*/
283
+ e = _("p"), n = q(i), w(e, "title", l = /*game*/
284
284
  t[44].name);
285
285
  },
286
286
  m(r, d) {
@@ -289,7 +289,7 @@ function re(t) {
289
289
  p(r, d) {
290
290
  d[0] & /*gameCategories*/
291
291
  8 && i !== (i = /*game*/
292
- r[44].name + "") && q(n, i), d[0] & /*gameCategories*/
292
+ r[44].name + "") && U(n, i), d[0] & /*gameCategories*/
293
293
  8 && l !== (l = /*game*/
294
294
  r[44].name) && w(e, "title", l);
295
295
  },
@@ -315,12 +315,12 @@ function ae(t) {
315
315
  );
316
316
  return {
317
317
  c() {
318
- e = _("div"), i = _("ui-image"), r = O(), s && s.c(), d = O(), j(i, "imgClass", "CategorySlideGameImage"), N(i.src, n = /*game*/
318
+ e = _("div"), i = _("ui-image"), r = H(), s && s.c(), d = H(), j(i, "imgClass", "CategorySlideGameImage"), N(i.src, n = /*game*/
319
319
  t[44].defaultThumbnail) || j(i, "src", n), j(i, "alt", l = /*game*/
320
320
  t[44].name), w(e, "class", "CategorySlideGames");
321
321
  },
322
322
  m(m, a) {
323
- F(m, e, a), h(e, i), h(e, r), s && s.m(e, null), h(e, d), C || (v = A(i, "click", Fe(k)), C = !0);
323
+ F(m, e, a), h(e, i), h(e, r), s && s.m(e, null), h(e, d), C || (v = B(i, "click", Be(k)), C = !0);
324
324
  },
325
325
  p(m, a) {
326
326
  t = m, a[0] & /*gameCategories*/
@@ -349,7 +349,7 @@ function se(t) {
349
349
  )
350
350
  return qe;
351
351
  }
352
- let m = s(t), a = m && m(t), c = z(
352
+ let m = s(t), a = m && m(t), c = A(
353
353
  /*category*/
354
354
  t[41].games
355
355
  ), g = [];
@@ -367,10 +367,10 @@ function se(t) {
367
367
  return {
368
368
  c() {
369
369
  var u, f;
370
- e = _("div"), i = _("div"), n = _("div"), a && a.c(), l = O(), r = _("div");
370
+ e = _("div"), i = _("div"), n = _("div"), a && a.c(), l = H(), r = _("div");
371
371
  for (let b = 0; b < g.length; b += 1)
372
372
  g[b].c();
373
- C = O(), w(n, "class", "CategorySlideTopContainer"), w(r, "class", "CategorySlideGameContainer"), w(i, "class", d = "CategorySlide " + /*category*/
373
+ C = H(), w(n, "class", "CategorySlideTopContainer"), w(r, "class", "CategorySlideGameContainer"), w(i, "class", d = "CategorySlide " + /*category*/
374
374
  (((u = t[41]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), I(i, "background-image", "url(" + /*category*/
375
375
  ((f = t[41]) == null ? void 0 : f.background) + ")"), I(i, "background-size", "cover"), w(e, "class", "CategoriesSliderWrapper Animation");
376
376
  },
@@ -378,20 +378,20 @@ function se(t) {
378
378
  F(u, e, f), h(e, i), h(i, n), a && a.m(n, null), h(i, l), h(i, r);
379
379
  for (let b = 0; b < g.length; b += 1)
380
380
  g[b] && g[b].m(r, null);
381
- h(e, C), v || (k = A(i, "click", p), v = !0);
381
+ h(e, C), v || (k = B(i, "click", p), v = !0);
382
382
  },
383
383
  p(u, f) {
384
384
  var b, P;
385
385
  if (t = u, m === (m = s(t)) && a ? a.p(t, f) : (a && a.d(1), a = m && m(t), a && (a.c(), a.m(n, null))), f[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
386
386
  8204) {
387
- c = z(
387
+ c = A(
388
388
  /*category*/
389
389
  t[41].games
390
390
  );
391
391
  let S;
392
392
  for (S = 0; S < c.length; S += 1) {
393
- const B = le(t, c, S);
394
- g[S] ? g[S].p(B, f) : (g[S] = ae(B), g[S].c(), g[S].m(r, null));
393
+ const O = le(t, c, S);
394
+ g[S] ? g[S].p(O, f) : (g[S] = ae(O), g[S].c(), g[S].m(r, null));
395
395
  }
396
396
  for (; S < g.length; S += 1)
397
397
  g[S].d(1);
@@ -427,8 +427,8 @@ function Ve(t) {
427
427
  p(r, d) {
428
428
  n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
429
429
  },
430
- i: H,
431
- o: H,
430
+ i: z,
431
+ o: z,
432
432
  d(r) {
433
433
  r && T(e), l.d(), t[26](null);
434
434
  }
@@ -436,8 +436,8 @@ function Ve(t) {
436
436
  }
437
437
  function We(t, e, i) {
438
438
  let n;
439
- Me(t, Ae, (o) => i(10, n = o));
440
- let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: v = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, f = 0, b = 0, P = 0, S, B, V = 0, E = 50, R = !1, L, de = window.navigator.userAgent, W;
439
+ je(t, Ae, (o) => i(10, n = o));
440
+ let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: v = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, f = 0, b = 0, P = 0, S, O, V = 0, E = 50, R = !1, L, de = window.navigator.userAgent, W;
441
441
  const ge = () => {
442
442
  fetch(m).then((y) => y.json()).then((y) => {
443
443
  Object.keys(y).forEach((x) => {
@@ -470,19 +470,19 @@ function We(t, e, i) {
470
470
  }, ue = () => {
471
471
  const o = L.getRootNode().host;
472
472
  o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
473
- }, K = (o) => {
473
+ }, J = (o) => {
474
474
  var y;
475
- B = [...u.children], B.forEach((x, G) => {
475
+ O = [...u.children], O.forEach((x, G) => {
476
476
  x.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
477
- }), S = (y = B[0]) == null ? void 0 : y.getBoundingClientRect().width, me();
477
+ }), S = (y = O[0]) == null ? void 0 : y.getBoundingClientRect().width, me();
478
478
  }, me = () => {
479
479
  i(8, P = Math.floor(u.clientWidth / S));
480
- }, J = () => {
481
- K(f);
480
+ }, K = () => {
481
+ J(f);
482
482
  }, fe = () => {
483
- f === 0 ? f = b - P : f - P < -1 ? f = 0 : f--, J();
483
+ f === 0 ? f = b - P : f - P < -1 ? f = 0 : f--, K();
484
484
  }, pe = () => {
485
- f === b - P ? f = 0 : b - P < f + 1 ? f = b - P : f++, J();
485
+ f === b - P ? f = 0 : b - P < f + 1 ? f = b - P : f++, K();
486
486
  }, Z = (o, y, x, G) => {
487
487
  window.postMessage(
488
488
  {
@@ -508,7 +508,7 @@ function We(t, e, i) {
508
508
  }, he = () => {
509
509
  Ne(d);
510
510
  };
511
- je(() => (i(9, W = xe(de)), () => {
511
+ xe(() => (i(9, W = Te(de)), () => {
512
512
  }));
513
513
  const ve = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), be = (o) => X(o.id);
514
514
  function _e(o) {
@@ -526,11 +526,11 @@ function We(t, e, i) {
526
526
  }, t.$$.update = () => {
527
527
  t.$$.dirty[0] & /*endpoint, datasource, lang*/
528
528
  229376 && l && r && d && D(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
529
- 24 && g && u && K(), t.$$.dirty[0] & /*lang*/
529
+ 24 && g && u && J(), t.$$.dirty[0] & /*lang*/
530
530
  131072 && d && he(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
531
- 262176 && k && L && Oe(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
532
- 524320 && s && L && Be(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
533
- 2097184 && L && He(L, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
531
+ 262176 && k && L && He(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
532
+ 524320 && s && L && Fe(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
533
+ 2097184 && L && Oe(L, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
534
534
  1048576 && m && ge(), t.$$.dirty[0] & /*paginationrequired*/
535
535
  4194304 && R && D();
536
536
  }, [
@@ -570,7 +570,7 @@ class De extends ke {
570
570
  e,
571
571
  We,
572
572
  Ve,
573
- Pe,
573
+ Le,
574
574
  {
575
575
  endpoint: 15,
576
576
  datasource: 16,
@@ -648,7 +648,7 @@ class De extends ke {
648
648
  this.$$set({ mbsource: e }), M();
649
649
  }
650
650
  }
651
- ze(De, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
651
+ Pe(De, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
652
652
  export {
653
653
  De as default
654
654
  };