@everymatrix/casino-lobby-nd 1.86.27 → 1.86.29

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 (82) hide show
  1. package/components/{CasinoCategoriesSliderNd-BMOiOP3e.js → CasinoCategoriesSliderNd-CYM9lBln.js} +121 -111
  2. package/components/CasinoCategoriesSliderNd-DBT3mJuN.cjs +1 -0
  3. package/components/{CasinoCategoriesSliderNd-DeSo3_ci.js → CasinoCategoriesSliderNd-PGr5JLa9.js} +121 -111
  4. package/components/{CasinoFavoritesSectionNd-Dc-waved.js → CasinoFavoritesSectionNd-DGuI7vv-.js} +1 -1
  5. package/components/{CasinoFavoritesSectionNd-CeZwJQlo.js → CasinoFavoritesSectionNd-Dkr1AEUN.js} +1 -1
  6. package/components/{CasinoFavoritesSectionNd-Br8usYs6.cjs → CasinoFavoritesSectionNd-hXvCZTpa.cjs} +1 -1
  7. package/components/{CasinoGameThumbnailNd-DAD-lxUr.cjs → CasinoGameThumbnailNd-B3YLjhL0.cjs} +1 -1
  8. package/components/{CasinoGameThumbnailNd-BAd7k375.js → CasinoGameThumbnailNd-BHmnT1YP.js} +1 -1
  9. package/components/{CasinoGameThumbnailNd-BQLFFKpf.js → CasinoGameThumbnailNd-BeuhY7JE.js} +1 -1
  10. package/components/{CasinoGamesCategorySectionNd-BUi_mE6L.js → CasinoGamesCategorySectionNd-BP4qlKAp.js} +482 -472
  11. package/components/CasinoGamesCategorySectionNd-Cx3FwGbu.cjs +1 -0
  12. package/components/{CasinoGamesCategorySectionNd-BZUZuPif.js → CasinoGamesCategorySectionNd-VErpwn5K.js} +417 -407
  13. package/components/{CasinoLastPlayedSectionNd-D45Onxtu.js → CasinoLastPlayedSectionNd-BrmZAhna.js} +78 -76
  14. package/components/{CasinoLastPlayedSectionNd-D9NYBYbs.js → CasinoLastPlayedSectionNd-CE5eF5-n.js} +78 -76
  15. package/components/CasinoLastPlayedSectionNd-Cp6uc2NB.cjs +1 -0
  16. package/components/{CasinoLobbyNd-h3PxZqOs.js → CasinoLobbyNd-BySz_QBM.js} +510 -472
  17. package/components/{CasinoLobbyNd-UFFoXQpU.js → CasinoLobbyNd-C37GOR-K.js} +509 -471
  18. package/components/CasinoLobbyNd-Dlc8s9Ha.cjs +1 -0
  19. package/components/{CasinoMostPlayedSectionNd-CGX659dW.js → CasinoMostPlayedSectionNd-B-OLAj2j.js} +99 -97
  20. package/components/{CasinoMostPlayedSectionNd-BYywrO85.js → CasinoMostPlayedSectionNd-BL9tCoJE.js} +99 -97
  21. package/components/CasinoMostPlayedSectionNd-mf0deuWY.cjs +1 -0
  22. package/components/{CasinoMyGamesNd-DWzALcli.cjs → CasinoMyGamesNd-LtH-yy0q.cjs} +1 -1
  23. package/components/{CasinoMyGamesNd-DKZVHIAQ.js → CasinoMyGamesNd-dwl3MCFY.js} +4 -4
  24. package/components/{CasinoMyGamesNd-B82SmmsK.js → CasinoMyGamesNd-jLeBIbJe.js} +4 -4
  25. package/components/{CasinoPageNd-Bl3NCUr3.js → CasinoPageNd-BpFngQKS.js} +946 -916
  26. package/components/{CasinoPageNd-Czrfxwcz.js → CasinoPageNd-DA2C6Y_f.js} +1165 -1135
  27. package/components/CasinoPageNd-DkuXKxda.cjs +1 -0
  28. package/components/{CasinoSearchNd-Dl5sxHTH.js → CasinoSearchNd-BIekTM5J.js} +3 -3
  29. package/components/{CasinoSearchNd-By4NHFFz.cjs → CasinoSearchNd-BwfY1VcC.cjs} +1 -1
  30. package/components/{CasinoSearchNd-D17QyiCX.js → CasinoSearchNd-C5K922ZY.js} +3 -3
  31. package/components/{CasinoWinners-CHUWzNfH.js → CasinoWinners-BCHAHTw2.js} +1 -1
  32. package/components/{CasinoWinners-B7m4PoT2.js → CasinoWinners-DDW1LWFm.js} +1 -1
  33. package/components/{CasinoWinners-DaKT4nkh.cjs → CasinoWinners-DMOSATQK.cjs} +1 -1
  34. package/es2015/casino-lobby-nd.cjs +1 -1
  35. package/es2015/casino-lobby-nd.js +1 -1
  36. package/esnext/casino-lobby-nd.js +1 -1
  37. package/lazy/{casino-categories-slider-nd-BEI52pTY.cjs → casino-categories-slider-nd-C-2yCB_4.cjs} +1 -1
  38. package/lazy/{casino-categories-slider-nd-B4179VDP.js → casino-categories-slider-nd-DT6Lxawp.js} +1 -1
  39. package/lazy/{casino-categories-slider-nd-BheBGAy4.js → casino-categories-slider-nd-DsGzJEJz.js} +1 -1
  40. package/lazy/{casino-favorites-section-nd-DYj9UYL1.cjs → casino-favorites-section-nd-CFnccK6v.cjs} +1 -1
  41. package/lazy/{casino-favorites-section-nd-6nm0Fo6j.js → casino-favorites-section-nd-D_1Nubhp.js} +1 -1
  42. package/lazy/{casino-favorites-section-nd-B3oRzYS6.js → casino-favorites-section-nd-WuGWKRsi.js} +1 -1
  43. package/lazy/{casino-game-thumbnail-nd-CzT8H_By.js → casino-game-thumbnail-nd-CEZiMfBg.js} +1 -1
  44. package/lazy/{casino-game-thumbnail-nd-D-Le9Wgd.cjs → casino-game-thumbnail-nd-Tn_yguyo.cjs} +1 -1
  45. package/lazy/{casino-game-thumbnail-nd-Dd_lJGtT.js → casino-game-thumbnail-nd-eUlQLn0K.js} +1 -1
  46. package/lazy/{casino-games-category-section-nd-BUV9_ScD.js → casino-games-category-section-nd-BB938ewD.js} +1 -1
  47. package/lazy/{casino-games-category-section-nd-CHDJ_tlT.js → casino-games-category-section-nd-CcvZwPIk.js} +1 -1
  48. package/lazy/{casino-games-category-section-nd-BZ-uSTXz.cjs → casino-games-category-section-nd-DDzE6fsE.cjs} +1 -1
  49. package/lazy/{casino-last-played-section-nd-Bw1qW0NQ.js → casino-last-played-section-nd-BP9xVAAf.js} +1 -1
  50. package/lazy/{casino-last-played-section-nd-BafCGFHu.js → casino-last-played-section-nd-Dv1_1ogL.js} +1 -1
  51. package/lazy/{casino-last-played-section-nd-DuBaIXSl.cjs → casino-last-played-section-nd-Dwv1oCJN.cjs} +1 -1
  52. package/lazy/{casino-most-played-section-nd-BPKaBq3t.js → casino-most-played-section-nd-5fOH3fyo.js} +1 -1
  53. package/lazy/{casino-most-played-section-nd-CT5sHxKa.js → casino-most-played-section-nd-BW1B74CC.js} +1 -1
  54. package/lazy/{casino-most-played-section-nd-b-uX5v5G.cjs → casino-most-played-section-nd-CqYE0gyC.cjs} +1 -1
  55. package/lazy/{casino-my-games-nd-DYnD7g4z.cjs → casino-my-games-nd-DgKBeYuO.cjs} +1 -1
  56. package/lazy/{casino-my-games-nd-gMuZYysa.js → casino-my-games-nd-myC3Cabo.js} +1 -1
  57. package/lazy/{casino-my-games-nd-rSHZj2z2.js → casino-my-games-nd-uXEYon3u.js} +1 -1
  58. package/lazy/{casino-page-nd-CdT25T8L.js → casino-page-nd-CL7qIU6j.js} +1 -1
  59. package/lazy/{casino-page-nd-Bjk8xvEp.js → casino-page-nd-s9Ur6IiF.js} +1 -1
  60. package/lazy/{casino-page-nd-C9W-sguE.cjs → casino-page-nd-uOovopx6.cjs} +1 -1
  61. package/lazy/{casino-play-random-game-CWiaE6SD.js → casino-play-random-game-BAWUP39M.js} +1 -1
  62. package/lazy/{casino-play-random-game-BgvQt_9c.js → casino-play-random-game-CoZa7Ts_.js} +1 -1
  63. package/lazy/{casino-play-random-game-BlG2E9dd.cjs → casino-play-random-game-DeHBe5wA.cjs} +1 -1
  64. package/lazy/{casino-search-nd-B6UIB4za.cjs → casino-search-nd-3igTA3uv.cjs} +1 -1
  65. package/lazy/{casino-search-nd-D6c1hJoq.js → casino-search-nd-DsiQ0wIN.js} +1 -1
  66. package/lazy/{casino-search-nd-CUEeed2C.js → casino-search-nd-nJ2Ghskg.js} +1 -1
  67. package/lazy/{casino-winners-D2qdUeeC.js → casino-winners-BBZElN9o.js} +1 -1
  68. package/lazy/{casino-winners-hLC0cKGP.cjs → casino-winners-Cky-4Rf-.cjs} +1 -1
  69. package/lazy/{casino-winners-CTC59BNb.js → casino-winners-ICvuU3z4.js} +1 -1
  70. package/package.json +1 -1
  71. package/stencil/{casino-play-random-game-Cy_f5K43.cjs → casino-play-random-game-CgVzX6ft.cjs} +1 -1
  72. package/stencil/{casino-play-random-game-BgPgrR13.js → casino-play-random-game-DXVh75QU.js} +2 -2
  73. package/stencil/{casino-play-random-game-BiGMkSw_.js → casino-play-random-game-xNh3lCLn.js} +2 -2
  74. package/stencil/{casino-play-random-game_2-NeDOlhPe.js → casino-play-random-game_2-86oqD2c-.js} +78 -73
  75. package/stencil/{casino-play-random-game_2-D-e9crBu.js → casino-play-random-game_2-CpRfDfPV.js} +78 -73
  76. package/stencil/{casino-play-random-game_2-BZDqAOHM.cjs → casino-play-random-game_2-Dh2ixYRd.cjs} +3 -3
  77. package/components/CasinoCategoriesSliderNd-GEoAAgOy.cjs +0 -1
  78. package/components/CasinoGamesCategorySectionNd-3v-yd4rd.cjs +0 -1
  79. package/components/CasinoLastPlayedSectionNd-BL6_cFBk.cjs +0 -1
  80. package/components/CasinoLobbyNd-m9hrx1Pg.cjs +0 -1
  81. package/components/CasinoMostPlayedSectionNd-C-ERDX04.cjs +0 -1
  82. package/components/CasinoPageNd-N-kw10JC.cjs +0 -1
@@ -1,9 +1,9 @@
1
- import { a as le, S as ce, i as me, f as r, s as ge, K as ue, b as ye, n as k, d as j, h as q, j as L, r as T, k as be, o as fe, M as de, C as he, E as o, p as Ne, L as Le, H as _e, I as we, J as Me, N as ve } from "./CasinoCalendar-Dbwxw-To.js";
1
+ import { a as me, S as ge, i as ue, f as r, s as ye, K as be, b as fe, n as j, d as q, h as T, j as L, r as P, k as he, o as de, M as Ne, C as we, E as o, p as Le, L as _e, H as Me, I as ve, J as Ce, N as Se } from "./CasinoCalendar-Dbwxw-To.js";
2
2
  import "../lazy/casino-slider-nd-kD9D1Ghu.js";
3
- function Ce(i, e) {
4
- le(i, e);
3
+ function Ge(i, e) {
4
+ me(i, e);
5
5
  }
6
- const Se = {
6
+ const ke = {
7
7
  en: {
8
8
  lobbyName: "Lobby",
9
9
  myGamesName: "My games"
@@ -77,13 +77,13 @@ const Se = {
77
77
  myGamesName: "My games"
78
78
  }
79
79
  };
80
- function Ge(i, e, t) {
80
+ function je(i, e, t) {
81
81
  window.emMessageBus && window.emMessageBus.subscribe(i, t);
82
82
  }
83
- function ke(i) {
84
- ye(i, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
83
+ function qe(i) {
84
+ fe(i, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
85
85
  }
86
- function je(i) {
86
+ function Te(i) {
87
87
  let e, t;
88
88
  return {
89
89
  c() {
@@ -102,7 +102,7 @@ function je(i) {
102
102
  "endpoint",
103
103
  /*endpoint*/
104
104
  i[1]
105
- ), o(t, "identity", F), o(
105
+ ), o(t, "identity", O), o(
106
106
  t,
107
107
  "favoritesnumber",
108
108
  /*numberOfFavoredGames*/
@@ -157,10 +157,10 @@ function je(i) {
157
157
  "mbsource",
158
158
  /*mbsource*/
159
159
  i[4]
160
- ), o(t, "class", "svelte-ciaihq"), T(e, "class", "CasinoCategoriesContainer svelte-ciaihq");
160
+ ), o(t, "class", "svelte-ciaihq"), P(e, "class", "CasinoCategoriesContainer svelte-ciaihq");
161
161
  },
162
162
  m(n, a) {
163
- q(n, e, a), Ne(e, t);
163
+ T(n, e, a), Le(e, t);
164
164
  },
165
165
  p(n, a) {
166
166
  a[0] & /*lang*/
@@ -250,194 +250,197 @@ function je(i) {
250
250
  );
251
251
  },
252
252
  d(n) {
253
- n && j(e);
253
+ n && q(e);
254
254
  }
255
255
  };
256
256
  }
257
- function qe(i) {
257
+ function Pe(i) {
258
258
  let e;
259
259
  return {
260
260
  c() {
261
- e = L("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-ciaihq");
261
+ e = L("p"), e.textContent = "500 Error - Internal Server Error.", P(e, "class", "SearchLoading svelte-ciaihq");
262
262
  },
263
263
  m(t, n) {
264
- q(t, e, n);
264
+ T(t, e, n);
265
265
  },
266
- p: k,
266
+ p: j,
267
267
  d(t) {
268
- t && j(e);
268
+ t && q(e);
269
269
  }
270
270
  };
271
271
  }
272
- function Te(i) {
272
+ function ze(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
- e = L("div"), T(e, "class", "CasinoCategoriesLoading svelte-ciaihq");
276
+ e = L("div"), P(e, "class", "CasinoCategoriesLoading svelte-ciaihq");
277
277
  },
278
278
  m(t, n) {
279
- q(t, e, n);
279
+ T(t, e, n);
280
280
  },
281
- p: k,
281
+ p: j,
282
282
  d(t) {
283
- t && j(e);
283
+ t && q(e);
284
284
  }
285
285
  };
286
286
  }
287
- function Pe(i) {
287
+ function Ee(i) {
288
288
  let e;
289
- function t(l, m) {
289
+ function t(l, c) {
290
290
  return (
291
291
  /*isLoading*/
292
- l[13] || Ee || Ae ? Te : (
292
+ l[13] || Fe || Ae ? ze : (
293
293
  /*hasErrors*/
294
- l[15] ? qe : je
294
+ l[15] ? Pe : Te
295
295
  )
296
296
  );
297
297
  }
298
298
  let n = t(i), a = n(i);
299
299
  return {
300
300
  c() {
301
- e = L("div"), a.c(), T(e, "class", "svelte-ciaihq");
301
+ e = L("div"), a.c(), P(e, "class", "svelte-ciaihq");
302
302
  },
303
- m(l, m) {
304
- q(l, e, m), a.m(e, null), i[26](e);
303
+ m(l, c) {
304
+ T(l, e, c), a.m(e, null), i[27](e);
305
305
  },
306
- p(l, m) {
307
- n === (n = t(l)) && a ? a.p(l, m) : (a.d(1), a = n(l), a && (a.c(), a.m(e, null)));
306
+ p(l, c) {
307
+ n === (n = t(l)) && a ? a.p(l, c) : (a.d(1), a = n(l), a && (a.c(), a.m(e, null)));
308
308
  },
309
- i: k,
310
- o: k,
309
+ i: j,
310
+ o: j,
311
311
  d(l) {
312
- l && j(e), a.d(), i[26](null);
312
+ l && q(e), a.d(), i[27](null);
313
313
  }
314
314
  };
315
315
  }
316
- let F = "CasinoSliderData", Ee = !1, Ae = !1;
317
- function Fe(i, e, t) {
316
+ let O = "CasinoSliderData", Fe = !1, Ae = !1;
317
+ function Oe(i, e, t) {
318
318
  let n;
319
- be(i, Le, (s) => t(32, n = s));
320
- let { endpoint: a = "" } = e, { datasource: l = "" } = e, { lang: m = "" } = e, { userid: O = "" } = e, { session: _ = "" } = e, { mostplayed: w = "" } = e, { lastplayed: M = "false" } = e, { favorites: v = "" } = e, { mbsource: f } = e, { clientstyling: C = "" } = e, { clientstylingurl: S = "" } = e, { activecategory: u = "" } = e, { actionevent: B = "" } = e, { sessioncheck: D = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: R = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: N = "" } = e, { categoriesicon: U = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, Y, x, y = !0, d, h = [], b = !1, Z = window.navigator.userAgent, g, p, J, K = !1, P = !1;
321
- const E = (s) => {
322
- Object.keys(s).forEach((c) => {
323
- Ce(c, s[c]);
319
+ he(i, _e, (s) => t(33, n = s));
320
+ let { endpoint: a = "" } = e, { datasource: l = "" } = e, { lang: c = "" } = e, { userid: B = "" } = e, { session: _ = "" } = e, { mostplayed: M = "" } = e, { lastplayed: v = "false" } = e, { favorites: C = "" } = e, { mbsource: h } = e, { clientstyling: S = "" } = e, { clientstylingurl: G = "" } = e, { activecategory: u = "" } = e, { actionevent: D = "" } = e, { sessioncheck: I = "" } = e, { location: R = "secondaryMenu" } = e, { showsubgroups: U = "false" } = e, { filteredcategories: k = "" } = e, { translationurl: w = "" } = e, { categoriesicon: x = "" } = e, { lobbyiconimage: H = "" } = e, { mygamesiconimage: Y = "" } = e, { customizecategoryicon: z = "false" } = e, J, K, y = !0, d, N = [], b = !1, $ = window.navigator.userAgent, g, ee, Q, V = !1, E = !1;
321
+ const F = (s) => {
322
+ Object.keys(s).forEach((m) => {
323
+ Ge(m, s[m]);
324
324
  });
325
- }, $ = () => {
326
- fetch(N).then((c) => c.json()).then((c) => {
327
- E(c);
328
- }).catch((c) => {
329
- console.log(c);
325
+ }, te = () => {
326
+ fetch(w).then((m) => m.json()).then((m) => {
327
+ F(m);
328
+ }).catch((m) => {
329
+ console.log(m);
330
330
  });
331
331
  };
332
- E(Se);
333
- const ee = () => {
334
- K == !1 && (v == "true" || w == "true" || M == "true") && h.splice(1, 0, {
332
+ F(ke);
333
+ const se = () => {
334
+ V == !1 && (C == "true" || M == "true" || v == "true") && N.splice(1, 0, {
335
335
  // @ts-ignore
336
336
  id: "MYGAMES",
337
- name: Y,
337
+ name: J,
338
338
  href: "",
339
339
  games: []
340
- }), ve(), K = !0, t(25, P = !0), Q();
341
- }, te = () => (a || (d = "Endpoint is missing! Please provide a valid endpointURL.", t(15, b = !0), t(13, y = !1), console.error(d)), l || (d = "Datasource is missing! Please provide a valid datasource.", t(15, b = !0), t(13, y = !1), console.error(d)), (!m || m.length < 2) && (d = "Language is missing! Please provide a valid language (alpha2code)", t(15, b = !0), t(13, y = !1), console.error(d)), b), se = () => {
342
- if (Y = n("myGamesName"), x = n("lobbyName"), !te()) {
340
+ }), Se(), V = !0, t(26, E = !0), W();
341
+ }, ie = () => (a || (d = "Endpoint is missing! Please provide a valid endpointURL.", t(15, b = !0), t(13, y = !1), console.error(d)), l || (d = "Datasource is missing! Please provide a valid datasource.", t(15, b = !0), t(13, y = !1), console.error(d)), (!c || c.length < 2) && (d = "Language is missing! Please provide a valid language (alpha2code)", t(15, b = !0), t(13, y = !1), console.error(d)), b), ae = () => {
342
+ if (J = n("myGamesName"), K = n("lobbyName"), !ie()) {
343
343
  let s = new URL(`${a}/v2/casino/groups/${l}`);
344
- s.searchParams.append("language", m), s.searchParams.append("platform", de(Z)), s.searchParams.append("fields", "id,name,games(href),flags"), fetch(s).then((c) => c.json()).then(
345
- (c) => {
346
- let ne = G.split(","), oe = c.items.filter((W) => {
344
+ s.searchParams.append("language", c), s.searchParams.append("platform", Ne($));
345
+ let m = "id,name,games(href),flags";
346
+ z === "true" && (m += ",icon"), s.searchParams.append("fields", m), fetch(s).then((f) => f.json()).then(
347
+ (f) => {
348
+ let re = k.split(","), le = f.items.filter((Z) => {
347
349
  let A = !1;
348
- if (W.games.total > 0 && (A = !0, G))
349
- for (let re of ne)
350
- W.flags == re && (A = !1);
350
+ if (Z.games.total > 0 && (A = !0, k))
351
+ for (let ce of re)
352
+ Z.flags == ce && (A = !1);
351
353
  return A;
352
354
  });
353
- h = [], h = h.concat(oe), h.unshift({
355
+ N = [], N = N.concat(le), N.unshift({
354
356
  // @ts-ignore
355
357
  id: "LOBBY",
356
- name: x,
358
+ name: K,
357
359
  href: "",
358
360
  games: []
359
361
  }), t(13, y = !1);
360
362
  },
361
- (c) => {
362
- t(15, b = !0), console.error("There was an error while fetching the categories", c);
363
+ (f) => {
364
+ t(15, b = !0), console.error("There was an error while fetching the categories", f);
363
365
  }
364
- ).catch((c) => {
365
- t(15, b = !0), console.error("There was an error while fetching the categories", c);
366
+ ).catch((f) => {
367
+ t(15, b = !0), console.error("There was an error while fetching the categories", f);
366
368
  });
367
369
  }
368
- }, ie = () => {
370
+ }, ne = () => {
369
371
  let s = u.split("$");
370
372
  t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
371
- }, Q = () => {
373
+ }, W = () => {
372
374
  window.postMessage(
373
375
  {
374
376
  type: "SliderData",
375
- identity: F,
376
- data: h
377
+ identity: O,
378
+ data: N
377
379
  },
378
380
  window.location.href
379
381
  );
380
- }, V = (s) => {
381
- s.data && s.data.type == "SliderMounted" && s.data.identity == F && Q();
382
+ }, X = (s) => {
383
+ s.data && s.data.type == "SliderMounted" && s.data.identity == O && W();
382
384
  };
383
- fe(() => (window.addEventListener("message", V), () => {
384
- window.removeEventListener("message", V);
385
+ de(() => (window.addEventListener("message", X), () => {
386
+ window.removeEventListener("message", X);
385
387
  }));
386
- function ae(s) {
387
- he[s ? "unshift" : "push"](() => {
388
+ function oe(s) {
389
+ we[s ? "unshift" : "push"](() => {
388
390
  g = s, t(14, g);
389
391
  });
390
392
  }
391
393
  return i.$$set = (s) => {
392
- "endpoint" in s && t(1, a = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, m = s.lang), "userid" in s && t(17, O = s.userid), "session" in s && t(18, _ = s.session), "mostplayed" in s && t(19, w = s.mostplayed), "lastplayed" in s && t(20, M = s.lastplayed), "favorites" in s && t(21, v = s.favorites), "mbsource" in s && t(4, f = s.mbsource), "clientstyling" in s && t(5, C = s.clientstyling), "clientstylingurl" in s && t(6, S = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(7, B = s.actionevent), "sessioncheck" in s && t(22, D = s.sessioncheck), "location" in s && t(8, I = s.location), "showsubgroups" in s && t(9, R = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, N = s.translationurl), "categoriesicon" in s && t(10, U = s.categoriesicon), "lobbyiconimage" in s && t(11, z = s.lobbyiconimage), "mygamesiconimage" in s && t(12, H = s.mygamesiconimage);
394
+ "endpoint" in s && t(1, a = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, c = s.lang), "userid" in s && t(17, B = s.userid), "session" in s && t(18, _ = s.session), "mostplayed" in s && t(19, M = s.mostplayed), "lastplayed" in s && t(20, v = s.lastplayed), "favorites" in s && t(21, C = s.favorites), "mbsource" in s && t(4, h = s.mbsource), "clientstyling" in s && t(5, S = s.clientstyling), "clientstylingurl" in s && t(6, G = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(7, D = s.actionevent), "sessioncheck" in s && t(22, I = s.sessioncheck), "location" in s && t(8, R = s.location), "showsubgroups" in s && t(9, U = s.showsubgroups), "filteredcategories" in s && t(23, k = s.filteredcategories), "translationurl" in s && t(24, w = s.translationurl), "categoriesicon" in s && t(10, x = s.categoriesicon), "lobbyiconimage" in s && t(11, H = s.lobbyiconimage), "mygamesiconimage" in s && t(12, Y = s.mygamesiconimage), "customizecategoryicon" in s && t(25, z = s.customizecategoryicon);
393
395
  }, i.$$.update = () => {
394
396
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
395
- 14 && a && l && m && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
396
- 3940354 && a && _ && (w || M || v) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
397
- 33824769 && !y && u && (!_ || P) && ie(), i.$$.dirty[0] & /*translationurl*/
398
- 16777216 && N && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
399
- 16416 && C && g && _e(g, C), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
400
- 16448 && S && g && we(g, S), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
401
- 16400 && f && g && Me(g, `${f}.Style`), i.$$.dirty[0] & /*mbsource, translationurl*/
402
- 16777232 && f && !N && Ge(`${f}.Translation`, p, E);
403
- }, t(16, J = 0), [
397
+ 14 && a && l && c && ae(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
398
+ 3940354 && a && _ && (M || v || C) && !y && se(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
399
+ 67379201 && !y && u && (!_ || E) && ne(), i.$$.dirty[0] & /*translationurl*/
400
+ 16777216 && w && te(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
401
+ 16416 && S && g && Me(g, S), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
402
+ 16448 && G && g && ve(g, G), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
403
+ 16400 && h && g && Ce(g, `${h}.Style`), i.$$.dirty[0] & /*mbsource, translationurl*/
404
+ 16777232 && h && !w && je(`${h}.Translation`, ee, F);
405
+ }, t(16, Q = 0), [
404
406
  u,
405
407
  a,
406
408
  l,
407
- m,
408
- f,
409
- C,
409
+ c,
410
+ h,
410
411
  S,
411
- B,
412
- I,
412
+ G,
413
+ D,
413
414
  R,
414
415
  U,
415
- z,
416
+ x,
416
417
  H,
418
+ Y,
417
419
  y,
418
420
  g,
419
421
  b,
420
- J,
421
- O,
422
+ Q,
423
+ B,
422
424
  _,
423
- w,
424
425
  M,
425
426
  v,
426
- D,
427
- G,
428
- N,
429
- P,
430
- ae
427
+ C,
428
+ I,
429
+ k,
430
+ w,
431
+ z,
432
+ E,
433
+ oe
431
434
  ];
432
435
  }
433
- class X extends ce {
436
+ class p extends ge {
434
437
  constructor(e) {
435
- super(), me(
438
+ super(), ue(
436
439
  this,
437
440
  e,
438
- Fe,
439
- Pe,
440
- ge,
441
+ Oe,
442
+ Ee,
443
+ ye,
441
444
  {
442
445
  endpoint: 1,
443
446
  datasource: 2,
@@ -459,9 +462,10 @@ class X extends ce {
459
462
  translationurl: 24,
460
463
  categoriesicon: 10,
461
464
  lobbyiconimage: 11,
462
- mygamesiconimage: 12
465
+ mygamesiconimage: 12,
466
+ customizecategoryicon: 25
463
467
  },
464
- ke,
468
+ qe,
465
469
  [-1, -1]
466
470
  );
467
471
  }
@@ -591,13 +595,19 @@ class X extends ce {
591
595
  set mygamesiconimage(e) {
592
596
  this.$$set({ mygamesiconimage: e }), r();
593
597
  }
598
+ get customizecategoryicon() {
599
+ return this.$$.ctx[25];
600
+ }
601
+ set customizecategoryicon(e) {
602
+ this.$$set({ customizecategoryicon: e }), r();
603
+ }
594
604
  }
595
- ue(X, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
596
- const De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
605
+ be(p, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
606
+ const Ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
597
607
  __proto__: null,
598
- default: X
608
+ default: p
599
609
  }, Symbol.toStringTag, { value: "Module" }));
600
610
  export {
601
- De as C,
602
- Ge as g
611
+ Ie as C,
612
+ je as g
603
613
  };
@@ -0,0 +1 @@
1
+ "use strict";const t=require("./CasinoCalendar-CaDbhEtZ.cjs");require("../lazy/casino-slider-nd-B2JQrllu.cjs");function ne(a,e){t.addMessages(a,e)}const oe={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};function K(a,e,s){window.emMessageBus&&window.emMessageBus.subscribe(a,s)}function le(a){t.append_styles(a,"svelte-ciaihq",".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}")}function ce(a){let e,s;return{c(){e=t.element("div"),s=t.element("casino-slider-nd"),t.set_custom_element_data(s,"lang",a[3]),t.set_custom_element_data(s,"datasource",a[2]),t.set_custom_element_data(s,"endpoint",a[1]),t.set_custom_element_data(s,"identity",j),t.set_custom_element_data(s,"favoritesnumber",a[16]),t.set_custom_element_data(s,"showsubgroups",a[9]),t.set_custom_element_data(s,"clientstyling",a[5]),t.set_custom_element_data(s,"clientstylingurl",a[6]),t.set_custom_element_data(s,"activeindex",a[0]),t.set_custom_element_data(s,"actionevent",a[7]),t.set_custom_element_data(s,"location",a[8]),t.set_custom_element_data(s,"categoriesicon",a[10]),t.set_custom_element_data(s,"lobbyiconimage",a[11]),t.set_custom_element_data(s,"mygamesiconimage",a[12]),t.set_custom_element_data(s,"mbsource",a[4]),t.set_custom_element_data(s,"class","svelte-ciaihq"),t.attr(e,"class","CasinoCategoriesContainer svelte-ciaihq")},m(o,n){t.insert(o,e,n),t.append(e,s)},p(o,n){n[0]&8&&t.set_custom_element_data(s,"lang",o[3]),n[0]&4&&t.set_custom_element_data(s,"datasource",o[2]),n[0]&2&&t.set_custom_element_data(s,"endpoint",o[1]),n[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",o[16]),n[0]&512&&t.set_custom_element_data(s,"showsubgroups",o[9]),n[0]&32&&t.set_custom_element_data(s,"clientstyling",o[5]),n[0]&64&&t.set_custom_element_data(s,"clientstylingurl",o[6]),n[0]&1&&t.set_custom_element_data(s,"activeindex",o[0]),n[0]&128&&t.set_custom_element_data(s,"actionevent",o[7]),n[0]&256&&t.set_custom_element_data(s,"location",o[8]),n[0]&1024&&t.set_custom_element_data(s,"categoriesicon",o[10]),n[0]&2048&&t.set_custom_element_data(s,"lobbyiconimage",o[11]),n[0]&4096&&t.set_custom_element_data(s,"mygamesiconimage",o[12]),n[0]&16&&t.set_custom_element_data(s,"mbsource",o[4])},d(o){o&&t.detach(e)}}}function re(a){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-ciaihq")},m(s,o){t.insert(s,e,o)},p:t.noop,d(s){s&&t.detach(e)}}}function me(a){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-ciaihq")},m(s,o){t.insert(s,e,o)},p:t.noop,d(s){s&&t.detach(e)}}}function ue(a){let e;function s(l,c){return l[13]||ge||ye?me:l[15]?re:ce}let o=s(a),n=o(a);return{c(){e=t.element("div"),n.c(),t.attr(e,"class","svelte-ciaihq")},m(l,c){t.insert(l,e,c),n.m(e,null),a[27](e)},p(l,c){o===(o=s(l))&&n?n.p(l,c):(n.d(1),n=o(l),n&&(n.c(),n.m(e,null)))},i:t.noop,o:t.noop,d(l){l&&t.detach(e),n.d(),a[27](null)}}}let j="CasinoSliderData",ge=!1,ye=!1;function fe(a,e,s){let o;t.component_subscribe(a,t.$format,i=>s(33,o=i));let{endpoint:n=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{userid:P=""}=e,{session:N=""}=e,{mostplayed:w=""}=e,{lastplayed:L="false"}=e,{favorites:M=""}=e,{mbsource:d}=e,{clientstyling:v=""}=e,{clientstylingurl:C=""}=e,{activecategory:u=""}=e,{actionevent:z=""}=e,{sessioncheck:F=""}=e,{location:A="secondaryMenu"}=e,{showsubgroups:E="false"}=e,{filteredcategories:S=""}=e,{translationurl:_=""}=e,{categoriesicon:O=""}=e,{lobbyiconimage:B=""}=e,{mygamesiconimage:D=""}=e,{customizecategoryicon:G="false"}=e,R,U,g=!0,h,b=[],y=!1,V=window.navigator.userAgent,m,W,I,Y=!1,k=!1;const q=i=>{Object.keys(i).forEach(r=>{ne(r,i[r])})},X=()=>{fetch(_).then(r=>r.json()).then(r=>{q(r)}).catch(r=>{console.log(r)})};q(oe);const Z=()=>{Y==!1&&(M=="true"||w=="true"||L=="true")&&b.splice(1,0,{id:"MYGAMES",name:R,href:"",games:[]}),t.tick(),Y=!0,s(26,k=!0),x()},p=()=>(n||(h="Endpoint is missing! Please provide a valid endpointURL.",s(15,y=!0),s(13,g=!1),console.error(h)),l||(h="Datasource is missing! Please provide a valid datasource.",s(15,y=!0),s(13,g=!1),console.error(h)),(!c||c.length<2)&&(h="Language is missing! Please provide a valid language (alpha2code)",s(15,y=!0),s(13,g=!1),console.error(h)),y),$=()=>{if(R=o("myGamesName"),U=o("lobbyName"),!p()){let i=new URL(`${n}/v2/casino/groups/${l}`);i.searchParams.append("language",c),i.searchParams.append("platform",t.getDevice(V));let r="id,name,games(href),flags";G==="true"&&(r+=",icon"),i.searchParams.append("fields",r),fetch(i).then(f=>f.json()).then(f=>{let se=S.split(","),ie=f.items.filter(J=>{let T=!1;if(J.games.total>0&&(T=!0,S))for(let ae of se)J.flags==ae&&(T=!1);return T});b=[],b=b.concat(ie),b.unshift({id:"LOBBY",name:U,href:"",games:[]}),s(13,g=!1)},f=>{s(15,y=!0),console.error("There was an error while fetching the categories",f)}).catch(f=>{s(15,y=!0),console.error("There was an error while fetching the categories",f)})}},ee=()=>{let i=u.split("$");s(0,u=i.length>2?u.split("$").slice(0,2).join("$"):u)},x=()=>{window.postMessage({type:"SliderData",identity:j,data:b},window.location.href)},H=i=>{i.data&&i.data.type=="SliderMounted"&&i.data.identity==j&&x()};t.onMount(()=>(window.addEventListener("message",H),()=>{window.removeEventListener("message",H)}));function te(i){t.binding_callbacks[i?"unshift":"push"](()=>{m=i,s(14,m)})}return a.$$set=i=>{"endpoint"in i&&s(1,n=i.endpoint),"datasource"in i&&s(2,l=i.datasource),"lang"in i&&s(3,c=i.lang),"userid"in i&&s(17,P=i.userid),"session"in i&&s(18,N=i.session),"mostplayed"in i&&s(19,w=i.mostplayed),"lastplayed"in i&&s(20,L=i.lastplayed),"favorites"in i&&s(21,M=i.favorites),"mbsource"in i&&s(4,d=i.mbsource),"clientstyling"in i&&s(5,v=i.clientstyling),"clientstylingurl"in i&&s(6,C=i.clientstylingurl),"activecategory"in i&&s(0,u=i.activecategory),"actionevent"in i&&s(7,z=i.actionevent),"sessioncheck"in i&&s(22,F=i.sessioncheck),"location"in i&&s(8,A=i.location),"showsubgroups"in i&&s(9,E=i.showsubgroups),"filteredcategories"in i&&s(23,S=i.filteredcategories),"translationurl"in i&&s(24,_=i.translationurl),"categoriesicon"in i&&s(10,O=i.categoriesicon),"lobbyiconimage"in i&&s(11,B=i.lobbyiconimage),"mygamesiconimage"in i&&s(12,D=i.mygamesiconimage),"customizecategoryicon"in i&&s(25,G=i.customizecategoryicon)},a.$$.update=()=>{a.$$.dirty[0]&14&&n&&l&&c&&$(),a.$$.dirty[0]&3940354&&n&&N&&(w||L||M)&&!g&&Z(),a.$$.dirty[0]&67379201&&!g&&u&&(!N||k)&&ee(),a.$$.dirty[0]&16777216&&_&&X(),a.$$.dirty[0]&16416&&v&&m&&t.setClientStyling(m,v),a.$$.dirty[0]&16448&&C&&m&&t.setClientStylingURL(m,C),a.$$.dirty[0]&16400&&d&&m&&t.setStreamStyling(m,`${d}.Style`),a.$$.dirty[0]&16777232&&d&&!_&&K(`${d}.Translation`,W,q)},s(16,I=0),[u,n,l,c,d,v,C,z,A,E,O,B,D,g,m,y,I,P,N,w,L,M,F,S,_,G,k,te]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,fe,ue,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,mbsource:4,clientstyling:5,clientstylingurl:6,activecategory:0,actionevent:7,sessioncheck:22,location:8,showsubgroups:9,filteredcategories:23,translationurl:24,categoriesicon:10,lobbyiconimage:11,mygamesiconimage:12,customizecategoryicon:25},le,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[10]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[11]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[12]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get customizecategoryicon(){return this.$$.ctx[25]}set customizecategoryicon(e){this.$$set({customizecategoryicon:e}),t.flush()}}t.create_custom_element(Q,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},mbsource:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},customizecategoryicon:{}},[],[],!0);const de=Object.freeze(Object.defineProperty({__proto__:null,default:Q},Symbol.toStringTag,{value:"Module"}));exports.CasinoCategoriesSliderNd_ce=de;exports.getStreamTranslations=K;