@everymatrix/casino-lobby 1.49.1 → 1.50.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 (70) hide show
  1. package/components/{CasinoCalendar-CCQut7OA.js → CasinoCalendar-CU0bhyNM.js} +110 -110
  2. package/components/{CasinoCalendar-B3jjGeXh.cjs → CasinoCalendar-DTrgRvkr.cjs} +5 -5
  3. package/components/CasinoCalendarDailyDetails-C2n3SWH7.cjs +1 -0
  4. package/components/{CasinoCalendarDailyDetails-AzSENZXw.js → CasinoCalendarDailyDetails-CykJzFwP.js} +61 -61
  5. package/components/CasinoCalendarDailyItem-BEkt_1Do.js +220 -0
  6. package/components/CasinoCalendarDailyItem-CQwxWA_v.cjs +1 -0
  7. package/components/CasinoCategoriesSlider-Buv5zR45.cjs +1 -0
  8. package/components/{CasinoCategoriesSlider-Dd30AvK0.js → CasinoCategoriesSlider-_yDrcbTO.js} +38 -38
  9. package/components/CasinoCollectionsProviders-D4JZYg7_.cjs +1 -0
  10. package/components/{CasinoCollectionsProviders-Cc1u_orw.js → CasinoCollectionsProviders-qOKabkUt.js} +2 -2
  11. package/components/{CasinoFavoritesSection-j7VNOnAg.js → CasinoFavoritesSection-BrsEOslo.js} +18 -18
  12. package/components/CasinoFavoritesSection-NO1j-7mE.cjs +1 -0
  13. package/components/CasinoFilter-Cf4cNc7k.cjs +1 -0
  14. package/components/{CasinoFilter-BpyfHAnH.js → CasinoFilter-mUcHYwDN.js} +39 -39
  15. package/components/{CasinoGamePage-BLWJ4xsU.js → CasinoGamePage-7LZuh3F5.js} +1337 -1329
  16. package/components/CasinoGamePage-DsYb8vKH.cjs +18 -0
  17. package/components/{CasinoGameThumbnail-EBuJE9IZ.js → CasinoGameThumbnail-4nj8cja2.js} +82 -82
  18. package/components/CasinoGameThumbnail-DT8kcpDh.cjs +38 -0
  19. package/components/{CasinoGamesCategorySection-DXn5u5SK.js → CasinoGamesCategorySection-CnOh62zY.js} +534 -524
  20. package/components/CasinoGamesCategorySection-JbKTC4fO.cjs +1 -0
  21. package/components/CasinoJackpotBanner-C1EEittB.cjs +1 -0
  22. package/components/{CasinoJackpotBanner-CJJFsnyb.js → CasinoJackpotBanner-uqcCImgm.js} +2 -2
  23. package/components/CasinoLastPlayedSection-BbpHwVio.cjs +1 -0
  24. package/components/{CasinoLastPlayedSection-bvzxolz1.js → CasinoLastPlayedSection-CDiGo0Qz.js} +3 -3
  25. package/components/CasinoLobby-CQRwnMOa.cjs +1 -0
  26. package/components/{CasinoLobby-BPSflitf.js → CasinoLobby-CyZPXk4c.js} +7 -7
  27. package/components/CasinoModal-BAtB2Zp0.cjs +1 -0
  28. package/components/{CasinoModal-lLGEeGcU.js → CasinoModal-BP6PqH63.js} +2 -2
  29. package/components/CasinoMostPlayedSection-BKHWbGbu.cjs +1 -0
  30. package/components/{CasinoMostPlayedSection-eQH77h-f.js → CasinoMostPlayedSection-rtUmTTeg.js} +17 -17
  31. package/components/CasinoMyGames-DLUbkmuj.cjs +1 -0
  32. package/components/{CasinoMyGames-BJX2ZAvW.js → CasinoMyGames-DoyRc7uz.js} +44 -44
  33. package/components/{CasinoPage-Bq3eE915.js → CasinoPage-DdBraeHA.js} +188 -188
  34. package/components/CasinoPage-w4BcVJtb.cjs +1 -0
  35. package/components/{CasinoRandomGame-DiITGB_u.cjs → CasinoRandomGame-DyKtBBfl.cjs} +2 -2
  36. package/components/{CasinoRandomGame-DGD52sa7.js → CasinoRandomGame-qxTb-XNd.js} +15 -15
  37. package/components/CasinoSearch-B4KK-d_w.cjs +1 -0
  38. package/components/{CasinoSearch-DlG1jylC.js → CasinoSearch-DJA6Cl2Z.js} +90 -90
  39. package/components/CasinoSlider-CPgcncvZ.cjs +1 -0
  40. package/components/{CasinoSlider-CyXzUPtq.js → CasinoSlider-Dcowmwyl.js} +56 -56
  41. package/components/{CasinoSort-D1UmVqPT.js → CasinoSort-BU-2yzMG.js} +23 -23
  42. package/components/CasinoSort-fDJhfT-5.cjs +1 -0
  43. package/components/CasinoWinners-BT42Al2t.cjs +1 -0
  44. package/components/{CasinoWinners-DSCWZZgk.js → CasinoWinners-DyBdvsh8.js} +49 -49
  45. package/components/{GeneralAnimationLoading-DmhAiTlH.cjs → GeneralAnimationLoading-COOEMnWE.cjs} +1 -1
  46. package/components/{GeneralAnimationLoading-DE8HSm4C.js → GeneralAnimationLoading-Id2HhvsJ.js} +1 -1
  47. package/es2015/casino-lobby.cjs +1 -1
  48. package/es2015/casino-lobby.js +1 -1
  49. package/package.json +1 -1
  50. package/components/CasinoCalendarDailyDetails-D1jKEWfR.cjs +0 -1
  51. package/components/CasinoCalendarDailyItem-DD924Zcr.js +0 -220
  52. package/components/CasinoCalendarDailyItem-zl4-e9DC.cjs +0 -1
  53. package/components/CasinoCategoriesSlider-DI2g7-y8.cjs +0 -1
  54. package/components/CasinoCollectionsProviders-CHDbSVYn.cjs +0 -1
  55. package/components/CasinoFavoritesSection-Co24_74o.cjs +0 -1
  56. package/components/CasinoFilter-DXA7jKT_.cjs +0 -1
  57. package/components/CasinoGamePage-CCbldgKZ.cjs +0 -18
  58. package/components/CasinoGameThumbnail-DNpT4OO7.cjs +0 -38
  59. package/components/CasinoGamesCategorySection-B2JOakf0.cjs +0 -1
  60. package/components/CasinoJackpotBanner-AjhcDuUc.cjs +0 -1
  61. package/components/CasinoLastPlayedSection-Cey1ENpO.cjs +0 -1
  62. package/components/CasinoLobby-B0BMaElu.cjs +0 -1
  63. package/components/CasinoModal-B71hMJhL.cjs +0 -1
  64. package/components/CasinoMostPlayedSection-B6vs4hfK.cjs +0 -1
  65. package/components/CasinoMyGames-DirVyeaV.cjs +0 -1
  66. package/components/CasinoPage--saBxGwI.cjs +0 -1
  67. package/components/CasinoSearch-3NrItprI.cjs +0 -1
  68. package/components/CasinoSlider-Cyun8L26.cjs +0 -1
  69. package/components/CasinoSort-ersVtC7e.cjs +0 -1
  70. package/components/CasinoWinners-CflzKW0N.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { I as re, S as ce, i as me, f as c, c as ge, s as ue, b as ye, e as w, d as j, C as S, j as F, J as fe, o as de, K as he, L as be, m as we, M as o, u as E, v as Ne, N as Le, O as Ce } from "./CasinoCalendar-CCQut7OA.js";
1
+ import { I as re, S as ce, i as ge, f as c, c as me, s as ue, b as ye, e as w, d as j, C as S, j as F, J as fe, o as de, K as he, L as be, m as we, M as o, u as E, v as Ne, N as Le, O as Ce } from "./CasinoCalendar-CU0bhyNM.js";
2
2
  function W(i, e) {
3
3
  re(i, e);
4
4
  }
@@ -84,12 +84,12 @@ if (typeof window != "undefined") {
84
84
  }
85
85
  };
86
86
  };
87
- customElements.define = i(customElements.define), import("./CasinoSlider-CyXzUPtq.js").then(({ default: e }) => {
87
+ customElements.define = i(customElements.define), import("./CasinoSlider-Dcowmwyl.js").then(({ default: e }) => {
88
88
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
89
89
  });
90
90
  }
91
91
  function Me(i) {
92
- ye(i, "svelte-1ydghqy", ".CasinoCategoriesLoading.svelte-1ydghqy{height:52px}p.svelte-1ydghqy{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1ydghqy{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}");
92
+ 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))}");
93
93
  }
94
94
  function _e(i) {
95
95
  let e, t, l, r;
@@ -110,7 +110,7 @@ function _e(i) {
110
110
  "endpoint",
111
111
  /*endpoint*/
112
112
  i[1]
113
- ), o(t, "identity", A), o(
113
+ ), o(t, "identity", D), o(
114
114
  t,
115
115
  "favoritesnumber",
116
116
  /*numberOfFavoredGames*/
@@ -160,7 +160,7 @@ function _e(i) {
160
160
  "mygamesiconimage",
161
161
  /*mygamesiconimage*/
162
162
  i[11]
163
- ), E(e, "class", "CasinoCategoriesContainer svelte-1ydghqy"), E(e, "part", "CasinoCategoriesContainer");
163
+ ), E(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), E(e, "part", "CasinoCategoriesContainer");
164
164
  },
165
165
  m(a, n) {
166
166
  j(a, e, n), Ne(e, t), l || (r = Le(
@@ -258,7 +258,7 @@ function ve(i) {
258
258
  let e;
259
259
  return {
260
260
  c() {
261
- e = w("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-1ydghqy");
261
+ e = w("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-2g6deg");
262
262
  },
263
263
  m(t, l) {
264
264
  j(t, e, l);
@@ -273,7 +273,7 @@ function Ge(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
- e = w("div"), E(e, "class", "CasinoCategoriesLoading svelte-1ydghqy");
276
+ e = w("div"), E(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
277
277
  },
278
278
  m(t, l) {
279
279
  j(t, e, l);
@@ -313,18 +313,18 @@ function ke(i) {
313
313
  }
314
314
  };
315
315
  }
316
- let A = "CasinoSliderData", Se = !1, Ee = !1;
316
+ let D = "CasinoSliderData", Se = !1, Ee = !1;
317
317
  function je(i, e, t) {
318
318
  let l;
319
319
  fe(i, Ce, (s) => t(32, l = s));
320
- let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: D = "" } = e, { session: N = "" } = e, { mostplayed: L = "" } = e, { lastplayed: C = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: O = "" } = e, { sessioncheck: R = "" } = e, { location: U = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: k = "" } = e, { categoriesicon: H = "" } = e, { lobbyiconimage: B = "" } = e, { mygamesiconimage: Y = "" } = e, x, z, y = !0, h, b = [], f = !1, Z = window.navigator.userAgent, d, J, K = !1, T = !1;
320
+ let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: O = "" } = e, { session: N = "" } = e, { mostplayed: L = "" } = e, { lastplayed: C = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: H = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: k = "" } = e, { categoriesicon: B = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: q = "" } = e, x, z, y = !0, h, b = [], f = !1, Z = window.navigator.userAgent, d, J, K = !1, T = !1;
321
321
  const p = () => {
322
- fetch(k).then((m) => m.json()).then((m) => {
323
- Object.keys(m).forEach((g) => {
324
- W(g, m[g]);
322
+ fetch(k).then((g) => g.json()).then((g) => {
323
+ Object.keys(g).forEach((m) => {
324
+ W(m, g[m]);
325
325
  });
326
- }).catch((m) => {
327
- console.log(m);
326
+ }).catch((g) => {
327
+ console.log(g);
328
328
  });
329
329
  };
330
330
  Object.keys(X).forEach((s) => {
@@ -341,14 +341,14 @@ function je(i, e, t) {
341
341
  }, ee = () => (r || (h = "Endpoint is missing! Please provide a valid endpointURL.", t(14, f = !0), t(12, y = !1), console.error(h)), a || (h = "Datasource is missing! Please provide a valid datasource.", t(14, f = !0), t(12, y = !1), console.error(h)), (!n || n.length < 2) && (h = "Language is missing! Please provide a valid language (alpha2code)", t(14, f = !0), t(12, y = !1), console.error(h)), f), te = () => {
342
342
  if (x = l("myGamesName"), z = l("lobbyName"), !ee()) {
343
343
  let s = new URL(`${r}/v1/casino/groups/${a}`);
344
- s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", be(Z)), fetch(s).then((m) => m.json()).then(
345
- (m) => {
346
- let g = G.split(","), oe = m.items.filter((V) => {
347
- let q = !1;
348
- if (V.games.total > 0 && (q = !0, G))
349
- for (let le of g)
350
- V.flags == le && (q = !1);
351
- return q;
344
+ s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", be(Z)), fetch(s).then((g) => g.json()).then(
345
+ (g) => {
346
+ let m = G.split(","), oe = g.items.filter((V) => {
347
+ let A = !1;
348
+ if (V.games.total > 0 && (A = !0, G))
349
+ for (let le of m)
350
+ V.flags == le && (A = !1);
351
+ return A;
352
352
  });
353
353
  b = [], b = b.concat(oe), b.unshift({
354
354
  // @ts-ignore
@@ -358,11 +358,11 @@ function je(i, e, t) {
358
358
  games: []
359
359
  }), t(12, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
360
360
  },
361
- (m) => {
362
- t(14, f = !0), console.error("There was an error while fetching the categories", m);
361
+ (g) => {
362
+ t(14, f = !0), console.error("There was an error while fetching the categories", g);
363
363
  }
364
- ).catch((m) => {
365
- t(14, f = !0), console.error("There was an error while fetching the categories", m);
364
+ ).catch((g) => {
365
+ t(14, f = !0), console.error("There was an error while fetching the categories", g);
366
366
  });
367
367
  }
368
368
  }, se = () => {
@@ -372,9 +372,9 @@ function je(i, e, t) {
372
372
  let s = document.createElement("style");
373
373
  s.innerHTML = _, d.appendChild(s);
374
374
  }, ae = () => {
375
- let s = document.createElement("style"), m = new URL(v);
376
- fetch(m.href).then((g) => g.text()).then((g) => {
377
- s.innerHTML = g, setTimeout(
375
+ let s = document.createElement("style"), g = new URL(v);
376
+ fetch(g.href).then((m) => m.text()).then((m) => {
377
+ s.innerHTML = m, setTimeout(
378
378
  () => {
379
379
  d.appendChild(s);
380
380
  },
@@ -385,13 +385,13 @@ function je(i, e, t) {
385
385
  window.postMessage(
386
386
  {
387
387
  type: "SliderData",
388
- identity: A,
388
+ identity: D,
389
389
  data: b
390
390
  },
391
391
  window.location.href
392
392
  );
393
393
  }, Q = (s) => {
394
- s.data && s.data.type == "SliderLoaded" && A == s.data.identity && P();
394
+ s.data && s.data.type == "SliderLoaded" && D == s.data.identity && P();
395
395
  };
396
396
  de(() => (window.addEventListener("message", Q, !1), () => {
397
397
  window.removeEventListener("message", Q);
@@ -402,7 +402,7 @@ function je(i, e, t) {
402
402
  });
403
403
  }
404
404
  return i.$$set = (s) => {
405
- "endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, D = s.userid), "session" in s && t(18, N = s.session), "mostplayed" in s && t(19, L = s.mostplayed), "lastplayed" in s && t(20, C = s.lastplayed), "favorites" in s && t(21, 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, O = s.actionevent), "sessioncheck" in s && t(22, R = s.sessioncheck), "location" in s && t(7, U = s.location), "showsubgroups" in s && t(8, I = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, k = s.translationurl), "categoriesicon" in s && t(9, H = s.categoriesicon), "lobbyiconimage" in s && t(10, B = s.lobbyiconimage), "mygamesiconimage" in s && t(11, Y = s.mygamesiconimage);
405
+ "endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, O = s.userid), "session" in s && t(18, N = s.session), "mostplayed" in s && t(19, L = s.mostplayed), "lastplayed" in s && t(20, C = s.lastplayed), "favorites" in s && t(21, 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, R = s.actionevent), "sessioncheck" in s && t(22, U = s.sessioncheck), "location" in s && t(7, I = s.location), "showsubgroups" in s && t(8, H = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, k = s.translationurl), "categoriesicon" in s && t(9, B = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, q = s.mygamesiconimage);
406
406
  }, i.$$.update = () => {
407
407
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
408
408
  14 && r && a && n && te(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
@@ -418,23 +418,23 @@ function je(i, e, t) {
418
418
  n,
419
419
  _,
420
420
  v,
421
- O,
422
- U,
421
+ R,
423
422
  I,
424
423
  H,
425
424
  B,
426
425
  Y,
426
+ q,
427
427
  y,
428
428
  d,
429
429
  f,
430
430
  J,
431
431
  P,
432
- D,
432
+ O,
433
433
  N,
434
434
  L,
435
435
  C,
436
436
  M,
437
- R,
437
+ U,
438
438
  G,
439
439
  k,
440
440
  T,
@@ -443,7 +443,7 @@ function je(i, e, t) {
443
443
  }
444
444
  class Fe extends ce {
445
445
  constructor(e) {
446
- super(), me(
446
+ super(), ge(
447
447
  this,
448
448
  e,
449
449
  je,
@@ -596,7 +596,7 @@ class Fe extends ce {
596
596
  this.$$set({ mygamesiconimage: e }), c();
597
597
  }
598
598
  }
599
- ge(Fe, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
599
+ me(Fe, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
600
600
  export {
601
601
  Fe as default
602
602
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DTrgRvkr.cjs");function N(i,t){e.addMessages(i,t)}function se(i){e.$locale.set(i)}const q={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."}};function de(i){e.append_styles(i,"svelte-1myc38z",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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)}}')}function R(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function ce(i){let t,l,r,o=(i[0]=="vendor"?i[11]("providers"):i[11]("collections"))+"",a,g,v,f,k,u,c=i[8]>i[9]&&E(i),p=e.ensure_array_like(i[3]),m=[];for(let d=0;d<p.length;d+=1)m[d]=V(R(i,p,d));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),c&&c.c(),v=e.space(),f=e.element("div");for(let d=0;d<m.length;d+=1)m[d].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(f,"class","CategoriesSlider"),e.add_render_callback(()=>i[27].call(f)),e.attr(t,"class",u="CasinoCollectionsProviders "+(i[10]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(d,y){e.insert(d,t,y),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),c&&c.m(l,null),e.append(t,v),e.append(t,f);for(let s=0;s<m.length;s+=1)m[s]&&m[s].m(f,null);i[26](f),k=e.add_iframe_resize_listener(f,i[27].bind(f))},p(d,y){if(y[0]&2049&&o!==(o=(d[0]=="vendor"?d[11]("providers"):d[11]("collections"))+"")&&e.set_data(a,o),d[8]>d[9]?c?c.p(d,y):(c=E(d),c.c(),c.m(l,null)):c&&(c.d(1),c=null),y[0]&49166){p=e.ensure_array_like(d[3]);let s;for(s=0;s<p.length;s+=1){const h=R(d,p,s);m[s]?m[s].p(h,y):(m[s]=V(h),m[s].c(),m[s].m(f,null))}for(;s<m.length;s+=1)m[s].d(1);m.length=p.length}y[0]&1025&&u!==(u="CasinoCollectionsProviders "+(d[10]?"Mobile":"")+" "+(d[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",u)},d(d){d&&e.detach(t),c&&c.d(),e.destroy_each(m,d),i[26](null),k()}}}function ge(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function E(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("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(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.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>',e.attr(t,"class","ButtonsContainer")},m(v,f){e.insert(v,t,f),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[22]),e.listen(o,"click",i[23])],a=!0)},p:e.noop,d(v){v&&e.detach(t),a=!1,e.run_all(g)}}}function pe(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function I(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function W(i){let t,l,r,o,a,g,v,f;function k(){return i[24](i[44])}let u=i[2]=="true"&&I(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),u&&u.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(c,p){e.insert(c,t,p),e.append(t,l),e.append(t,a),u&&u.m(t,null),e.append(t,g),v||(f=e.listen(l,"click",e.stop_propagation(k)),v=!0)},p(c,p){i=c,p[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),p[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?u?u.p(i,p):(u=I(i),u.c(),u.m(t,g)):u&&(u.d(1),u=null)},d(c){c&&e.detach(t),u&&u.d(),v=!1,f()}}}function V(i){let t,l,r,o,a,g,v,f,k;function u(s,h){if(s[1]=="logo")return ue;if(s[1]=="title")return pe}let c=u(i),p=c&&c(i),m=e.ensure_array_like(i[41].games),d=[];for(let s=0;s<m.length;s+=1)d[s]=W(U(i,m,s));function y(){return i[25](i[41])}return{c(){var s,h;t=e.element("div"),l=e.element("div"),r=e.element("div"),p&&p.c(),o=e.space(),a=e.element("div");for(let _=0;_<d.length;_+=1)d[_].c();v=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((s=i[41])==null?void 0:s.flag[0])=="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((h=i[41])==null?void 0:h.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(s,h){e.insert(s,t,h),e.append(t,l),e.append(l,r),p&&p.m(r,null),e.append(l,o),e.append(l,a);for(let _=0;_<d.length;_+=1)d[_]&&d[_].m(a,null);e.append(t,v),f||(k=e.listen(l,"click",y),f=!0)},p(s,h){var _,P;if(i=s,c===(c=u(i))&&p?p.p(i,h):(p&&p.d(1),p=c&&c(i),p&&(p.c(),p.m(r,null))),h[0]&16396){m=e.ensure_array_like(i[41].games);let b;for(b=0;b<m.length;b+=1){const G=U(i,m,b);d[b]?d[b].p(G,h):(d[b]=W(G),d[b].c(),d[b].m(a,null))}for(;b<d.length;b+=1)d[b].d(1);d.length=m.length}h[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.flag[0])=="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),h[0]&8&&e.set_style(l,"background-image","url("+((P=i[41])==null?void 0:P.background)+")")},d(s){s&&e.detach(t),p&&p.d(),e.destroy_each(d,s),f=!1,k()}}}function me(i){let t;function l(a,g){return a[7]?ge:ce}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[28](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[28](null)}}}function fe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(11,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:v=""}=t,{titletype:f=""}=t,{clientstyling:k=""}=t,{clientstylingurl:u=""}=t,{translationurl:c=""}=t,{collectionprovidersgamenames:p=""}=t,m=[],d=!0,y,s=0,h=0,_=0,P,b,G,K=window.navigator.userAgent,M,L=0;const Z=()=>{fetch(c).then(C=>C.json()).then(C=>{Object.keys(C).forEach(w=>{N(w,C[w])})}).catch(C=>{console.log(C)})};Object.keys(q).forEach(n=>{N(n,q[n])});const J=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),fetch(n.href).then(C=>C.json()).then(C=>{l(7,d=!1);let w=C.items.filter(S=>S.flags==v);l(3,m=w.map(S=>{var O,B,A;return{id:S.id,name:S.name,icon:S.icon?S.icon:(A=(B=(O=S.vendors)==null?void 0:O.items[0])==null?void 0:B.subVendors[0])==null?void 0:A.logo,games:S.games.items.slice(0,4).map(ae=>ae),background:S.background,flag:S.flags}})),l(8,h=m.length)})},j=n=>{b=[...y.children],b.forEach((C,w)=>{C.style.transform=`translateX(${100*(n?w-n:w)}%)`}),P=b[0].getBoundingClientRect().width,X()},X=()=>{l(9,_=Math.floor(L/P))},T=()=>{j(s)},x=()=>{s===0?s=h-_:s-_<-1?s=0:s--,T()},F=()=>{s===h-_?s=0:h-_<s+1?s=h-_:s++,T()},z=(n,C,w,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:w,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${w}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},Y=()=>{se(g)},Q=()=>{let n=document.createElement("style");n.innerHTML=k,G.appendChild(n)},$=()=>{let n=new URL(u),C=document.createElement("style");fetch(n.href).then(w=>w.text()).then(w=>{C.innerHTML=w,setTimeout(()=>{G.appendChild(C)},1)})};e.onMount(()=>{l(10,M=e.isMobile(K))});const ee=()=>x(),te=()=>F(),ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{y=n,l(4,y)})}function oe(){L=this.clientWidth,l(6,L)}function re(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(16,o=n.endpoint),"datasource"in n&&l(17,a=n.datasource),"lang"in n&&l(18,g=n.lang),"type"in n&&l(0,v=n.type),"titletype"in n&&l(1,f=n.titletype),"clientstyling"in n&&l(19,k=n.clientstyling),"clientstylingurl"in n&&l(20,u=n.clientstylingurl),"translationurl"in n&&l(21,c=n.translationurl),"collectionprovidersgamenames"in n&&l(2,p=n.collectionprovidersgamenames)},i.$$.update=()=>{i.$$.dirty[0]&458752&&o&&a&&g&&J(),i.$$.dirty[0]&88&&L&&m&&y&&j(),i.$$.dirty[0]&262144&&g&&Y(),i.$$.dirty[0]&524320&&k&&G&&Q(),i.$$.dirty[0]&1048608&&u&&G&&$(),i.$$.dirty[0]&2097152&&c&&Z()},[v,f,p,m,y,G,L,d,h,_,M,r,x,F,z,H,o,a,g,k,u,c,ee,te,ie,le,ne,oe,re]}class D extends e.SvelteComponent{constructor(t){super(),e.init(this,t,fe,me,e.safe_not_equal,{endpoint:16,datasource:17,lang:18,type:0,titletype:1,clientstyling:19,clientstylingurl:20,translationurl:21,collectionprovidersgamenames:2},de,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[17]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}}e.create_custom_element(D,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{}},[],[],!0);exports.default=D;
@@ -1,4 +1,4 @@
1
- import { I as we, $ as Se, S as ke, i as Ge, f as M, c as Pe, s as Le, b as Me, e as C, d as j, C as H, j as T, J as je, o as Te, l as xe, m as X, p as O, r as R, q as x, u as m, P as Fe, v as _, Q as ze, A as I, B as re, w as B, R as He, G as N, O as Oe, D as A, T as Be } from "./CasinoCalendar-CCQut7OA.js";
1
+ import { I as we, $ as Se, S as ke, i as Ge, f as M, c as Pe, s as Le, b as Me, e as C, d as j, C as H, j as T, J as je, o as Te, l as xe, m as X, p as O, r as R, q as x, u as m, P as Fe, v as _, Q as ze, A as I, B as re, w as B, R as He, G as N, O as Oe, D as A, T as Be } from "./CasinoCalendar-CU0bhyNM.js";
2
2
  function Y(t, e) {
3
3
  we(t, e);
4
4
  }
@@ -98,7 +98,7 @@ const $ = {
98
98
  }
99
99
  };
100
100
  function Ne(t) {
101
- Me(t, "svelte-67y1f9", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-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(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
101
+ Me(t, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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)}}');
102
102
  }
103
103
  function ee(t, e, i) {
104
104
  const n = t.slice();
@@ -1,4 +1,4 @@
1
- import { $ as E, a as O, S as U, i as j, f as l, c as q, s as V, b as z, e as T, u as B, d as R, C as L, j as A, M as n, m as G } from "./CasinoCalendar-CCQut7OA.js";
1
+ import { $ as E, a as I, S as O, i as U, f as l, c as j, s as V, b as z, e as T, u as B, d as R, C as L, j as q, M as n, m as G } from "./CasinoCalendar-CU0bhyNM.js";
2
2
  if (typeof window != "undefined") {
3
3
  let a = function(e) {
4
4
  return function(...t) {
@@ -11,17 +11,17 @@ if (typeof window != "undefined") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-DXn5u5SK.js").then(({ default: e }) => {
14
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-CnOh62zY.js").then(({ default: e }) => {
15
15
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
16
16
  });
17
17
  }
18
18
  function J({ withLocale: a, translations: e }) {
19
19
  E.subscribe((t) => {
20
- t == null && (O.set(e), E.set(a));
20
+ t == null && (I.set(e), E.set(a));
21
21
  });
22
22
  }
23
23
  function K(a) {
24
- z(a, "svelte-tcik44", ".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}");
24
+ z(a, "svelte-1rh2qpg", ".CasinoFavoritesSectionContainer{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
25
25
  }
26
26
  function M(a) {
27
27
  let e;
@@ -223,7 +223,7 @@ function M(a) {
223
223
  );
224
224
  },
225
225
  d(t) {
226
- t && A(e);
226
+ t && q(e);
227
227
  }
228
228
  };
229
229
  }
@@ -246,17 +246,17 @@ function N(a) {
246
246
  i: L,
247
247
  o: L,
248
248
  d(s) {
249
- s && A(e), t && t.d(), a[18](null);
249
+ s && q(e), t && t.d(), a[18](null);
250
250
  }
251
251
  };
252
252
  }
253
253
  function P(a, e, t) {
254
- let { endpoint: s = "" } = e, { datasource: g = "" } = e, { currency: f = "" } = e, { lang: u = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: r = "" } = e, { clientstylingurl: c = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: v = "false" } = e, { integratedgameframedesktop: b = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: F = "false" } = e, { fetchviaevent: S = "true" } = e, m;
254
+ let { endpoint: s = "" } = e, { datasource: g = "" } = e, { currency: f = "" } = e, { lang: u = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: r = "" } = e, { clientstylingurl: c = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: v = "false" } = e, { integratedgameframedesktop: b = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: C = "" } = e, { favorites: k = "" } = e, { casinomygames: F = "false" } = e, { fetchviaevent: S = "true" } = e, m;
255
255
  J({ withLocale: "en", translations: {} });
256
- const D = () => {
256
+ const A = () => {
257
257
  let i = document.createElement("style");
258
258
  i.innerHTML = r, m.appendChild(i);
259
- }, H = () => {
259
+ }, D = () => {
260
260
  let i = document.createElement("style");
261
261
  fetch(new URL(c)).then((o) => o.text()).then((o) => {
262
262
  i.innerHTML = o, setTimeout(
@@ -267,17 +267,17 @@ function P(a, e, t) {
267
267
  );
268
268
  });
269
269
  };
270
- function I(i) {
270
+ function H(i) {
271
271
  G[i ? "unshift" : "push"](() => {
272
272
  m = i, t(17, m);
273
273
  });
274
274
  }
275
275
  return a.$$set = (i) => {
276
- "endpoint" in i && t(0, s = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, f = i.currency), "lang" in i && t(3, u = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, c = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, b = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, k = i.visiblegames), "favorites" in i && t(14, C = i.favorites), "casinomygames" in i && t(15, F = i.casinomygames), "fetchviaevent" in i && t(16, S = i.fetchviaevent);
276
+ "endpoint" in i && t(0, s = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, f = i.currency), "lang" in i && t(3, u = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, c = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, b = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, C = i.visiblegames), "favorites" in i && t(14, k = i.favorites), "casinomygames" in i && t(15, F = i.casinomygames), "fetchviaevent" in i && t(16, S = i.fetchviaevent);
277
277
  }, a.$$.update = () => {
278
278
  a.$$.dirty & /*clientstyling, customStylingContainer*/
279
- 131136 && r && m && D(), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
280
- 131200 && c && m && H();
279
+ 131136 && r && m && A(), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
280
+ 131200 && c && m && D();
281
281
  }, [
282
282
  s,
283
283
  g,
@@ -292,17 +292,17 @@ function P(a, e, t) {
292
292
  b,
293
293
  w,
294
294
  _,
295
- k,
296
295
  C,
296
+ k,
297
297
  F,
298
298
  S,
299
299
  m,
300
- I
300
+ H
301
301
  ];
302
302
  }
303
- class Q extends U {
303
+ class Q extends O {
304
304
  constructor(e) {
305
- super(), j(
305
+ super(), U(
306
306
  this,
307
307
  e,
308
308
  P,
@@ -433,7 +433,7 @@ class Q extends U {
433
433
  this.$$set({ fetchviaevent: e }), l();
434
434
  }
435
435
  }
436
- q(Q, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
436
+ j(Q, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
437
437
  export {
438
438
  Q as default
439
439
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-DTrgRvkr.cjs");if(typeof window!="undefined"){let i=function(e){return function(...s){try{return e.apply(this,s)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySection-JbKTC4fO.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}function M({withLocale:i,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(i))})}function O(i){t.append_styles(i,"svelte-1rh2qpg",".CasinoFavoritesSectionContainer{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function S(i){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",i[4]),t.set_custom_element_data(e,"userid",i[5]),t.set_custom_element_data(e,"endpoint",i[0]),t.set_custom_element_data(e,"datasource",i[1]),t.set_custom_element_data(e,"lang",i[3]),t.set_custom_element_data(e,"currency",i[2]),t.set_custom_element_data(e,"favorites",i[14]),t.set_custom_element_data(e,"fetchviaevent",i[16]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",i[11]),t.set_custom_element_data(e,"clientstyling",i[6]),t.set_custom_element_data(e,"clientstylingurl",i[7]),t.set_custom_element_data(e,"livecasino",i[8]),t.set_custom_element_data(e,"visiblegames",i[13]),t.set_custom_element_data(e,"gamepagemodalurl",i[12]),t.set_custom_element_data(e,"integratedgameframedesktop",i[10]),t.set_custom_element_data(e,"integratedgameframemobile",i[9]),t.set_custom_element_data(e,"casinomygames",i[15])},m(s,a){t.insert(s,e,a)},p(s,a){a&16&&t.set_custom_element_data(e,"session",s[4]),a&32&&t.set_custom_element_data(e,"userid",s[5]),a&1&&t.set_custom_element_data(e,"endpoint",s[0]),a&2&&t.set_custom_element_data(e,"datasource",s[1]),a&8&&t.set_custom_element_data(e,"lang",s[3]),a&4&&t.set_custom_element_data(e,"currency",s[2]),a&16384&&t.set_custom_element_data(e,"favorites",s[14]),a&65536&&t.set_custom_element_data(e,"fetchviaevent",s[16]),a&2048&&t.set_custom_element_data(e,"showgamename",s[11]),a&64&&t.set_custom_element_data(e,"clientstyling",s[6]),a&128&&t.set_custom_element_data(e,"clientstylingurl",s[7]),a&256&&t.set_custom_element_data(e,"livecasino",s[8]),a&8192&&t.set_custom_element_data(e,"visiblegames",s[13]),a&4096&&t.set_custom_element_data(e,"gamepagemodalurl",s[12]),a&1024&&t.set_custom_element_data(e,"integratedgameframedesktop",s[10]),a&512&&t.set_custom_element_data(e,"integratedgameframemobile",s[9]),a&32768&&t.set_custom_element_data(e,"casinomygames",s[15])},d(s){s&&t.detach(e)}}}function R(i){let e,s=i[4]&&S(i);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(a,m){t.insert(a,e,m),s&&s.m(e,null),i[18](e)},p(a,[m]){a[4]?s?s.p(a,m):(s=S(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),s&&s.d(),i[18](null)}}}function A(i,e,s){let{endpoint:a=""}=e,{datasource:m=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{clientstyling:o=""}=e,{clientstylingurl:c=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:v=""}=e,{gamepagemodalurl:b="false"}=e,{visiblegames:w=""}=e,{favorites:C=""}=e,{casinomygames:k="false"}=e,{fetchviaevent:F="true"}=e,l;M({withLocale:"en",translations:{}});const L=()=>{let n=document.createElement("style");n.innerHTML=o,l.appendChild(n)},T=()=>{let n=document.createElement("style");fetch(new URL(c)).then(u=>u.text()).then(u=>{n.innerHTML=u,setTimeout(()=>{l.appendChild(n)},1)})};function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{l=n,s(17,l)})}return i.$$set=n=>{"endpoint"in n&&s(0,a=n.endpoint),"datasource"in n&&s(1,m=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"clientstyling"in n&&s(6,o=n.clientstyling),"clientstylingurl"in n&&s(7,c=n.clientstylingurl),"livecasino"in n&&s(8,d=n.livecasino),"integratedgameframemobile"in n&&s(9,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(10,y=n.integratedgameframedesktop),"showgamename"in n&&s(11,v=n.showgamename),"gamepagemodalurl"in n&&s(12,b=n.gamepagemodalurl),"visiblegames"in n&&s(13,w=n.visiblegames),"favorites"in n&&s(14,C=n.favorites),"casinomygames"in n&&s(15,k=n.casinomygames),"fetchviaevent"in n&&s(16,F=n.fetchviaevent)},i.$$.update=()=>{i.$$.dirty&131136&&o&&l&&L(),i.$$.dirty&131200&&c&&l&&T()},[a,m,g,r,f,_,o,c,d,h,y,v,b,w,C,k,F,l,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,R,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,casinomygames:15,fetchviaevent:16},O)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=E;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DTrgRvkr.cjs");function Y({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};function $(i){e.append_styles(i,"svelte-ub9f39",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function K(i,t,l){const a=i.slice();return a[36]=t[l],a[37]=t,a[38]=l,a}function ee(i){let t,l,a,n,s,f,b,y,h=i[11]("filterby")+"",u,v,F,S,w=i[11]("providers")+"",P,_,c,m,g,I,A,C,W,L,T,H,x,E=i[11]("clear")+"",N,D,j,M,z,J;function q(o,p){return o[7]?re:le}let B=q(i),k=B(i),O=e.ensure_array_like(i[5]),r=[];for(let o=0;o<O.length;o+=1)r[o]=Q(K(i,O,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),f=e.space(),b=e.element("div"),y=e.element("span"),u=e.text(h),v=e.space(),F=e.element("div"),S=e.element("span"),P=e.text(w),_=e.space(),k.c(),c=e.space(),m=e.element("span"),g=e.svg_element("svg"),I=e.svg_element("path"),W=e.space(),L=e.element("div"),T=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();H=e.space(),x=e.element("button"),N=e.text(E),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(I,"id","arrow"),e.attr(I,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(I,"transform","translate(-274.511 -441.088)"),e.attr(I,"fill","#d1d1d1"),e.attr(g,"xmlns","http://www.w3.org/2000/svg"),e.attr(g,"width","14"),e.attr(g,"height","6.835"),e.attr(g,"viewBox","0 0 14 6.835"),e.attr(m,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",C="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(T,"class","FilterDropdown"),e.attr(x,"class","ClearFilters"),x.disabled=D=i[7]&&i[6].length!=i[5].length,e.attr(L,"class",j="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",M="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,p){e.insert(o,t,p),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,s),e.append(a,f),e.append(a,b),e.append(b,y),e.append(y,u),e.append(b,v),e.append(b,F),e.append(F,S),e.append(S,P),e.append(F,_),k.m(F,null),e.append(l,c),e.append(l,m),e.append(m,g),e.append(g,I),e.append(t,W),e.append(t,L),e.append(L,T);for(let d=0;d<r.length;d+=1)r[d]&&r[d].m(T,null);e.append(L,H),e.append(L,x),e.append(x,N),z||(J=[e.listen(l,"click",i[22]),e.listen(x,"click",i[25])],z=!0)},p(o,p){if(p[0]&2048&&h!==(h=o[11]("filterby")+"")&&e.set_data(u,h),p[0]&2048&&w!==(w=o[11]("providers")+"")&&e.set_data(P,w),B===(B=q(o))&&k?k.p(o,p):(k.d(1),k=B(o),k&&(k.c(),k.m(F,null))),p[0]&16&&A!==(A="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(m,"class",A),p[0]&16&&C!==(C="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",C),p[0]&8228){O=e.ensure_array_like(o[5]);let d;for(d=0;d<O.length;d+=1){const V=K(o,O,d);r[d]?r[d].p(V,p):(r[d]=Q(V),r[d].c(),r[d].m(T,null))}for(;d<r.length;d+=1)r[d].d(1);r.length=O.length}p[0]&2048&&E!==(E=o[11]("clear")+"")&&e.set_data(N,E),p[0]&224&&D!==(D=o[7]&&o[6].length!=o[5].length)&&(x.disabled=D),p[0]&16&&j!==(j="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(L,"class",j),p[0]&3&&M!==(M="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",M)},d(o){o&&e.detach(t),k.d(),e.destroy_each(r,o),z=!1,e.run_all(J)}}}function te(i){let t,l=i[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function le(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function re(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ie(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[36].logo)||e.attr(t,"src",l),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,l=a[36].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ae(i){let t,l,a=i[36].name+"",n,s,f,b,y=i[36].games.count+"",h,u;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),s=e.space(),f=e.element("span"),b=e.text("("),h=e.text(y),u=e.text(")"),e.attr(t,"class","FilterItemLabel")},m(v,F){e.insert(v,t,F),e.append(t,l),e.append(l,n),e.append(t,s),e.append(t,f),e.append(f,b),e.append(f,h),e.append(f,u)},p(v,F){F[0]&32&&a!==(a=v[36].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=v[36].games.count+"")&&e.set_data(h,y)},d(v){v&&e.detach(t)}}}function Q(i){let t,l,a,n,s,f,b,y,h,u,v,F;function S(){i[23].call(a,i[37],i[38])}function w(){return i[24](i[36])}function P(m,g){if(m[2]==="false")return ae;if(m[2]==="true")return ie}let _=P(i),c=_&&_(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),s=e.space(),f=e.element("span"),b=e.space(),c&&c.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[36].name,e.set_input_value(a,a.__value),e.attr(f,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=u=i[36].name},m(m,g){e.insert(m,t,g),e.append(t,l),e.append(l,a),a.checked=i[36].isFilterSelected,e.append(l,s),e.append(l,f),e.append(l,b),c&&c.m(l,null),e.append(t,y),v||(F=[e.listen(a,"change",S),e.listen(a,"click",w)],v=!0)},p(m,g){i=m,g[0]&32&&n!==(n=i[36].name)&&(a.__value=n,e.set_input_value(a,a.__value)),g[0]&32&&(a.checked=i[36].isFilterSelected),_===(_=P(i))&&c?c.p(i,g):(c&&c.d(1),c=_&&_(i),c&&(c.c(),c.m(l,null))),g[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),g[0]&32&&u!==(u=i[36].name)&&(t.value=u)},d(m){m&&e.detach(t),c&&c.d(),v=!1,e.run_all(F)}}}function ne(i){let t;function l(s,f){if(s[10])return te;if(!s[9])return ee}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,f){e.insert(s,t,f),n&&n.m(t,null),i[26](t)},p(s,f){a===(a=l(s))&&n?n.p(s,f):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[26](null)}}}function oe(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:f=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:u=""}=t,{addfilterselector:v="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:S="false"}=t,w=!1,P=window.navigator.userAgent,_=[],c=[],m={},g=!1,I=0,A=!0,C,W=!1;Y({withLocale:"en",translations:{}});const L=()=>{fetch(b).then(o=>o.json()).then(o=>{Object.keys(o).forEach(p=>{Z(p,o[p])})}).catch(o=>{console.log(o)})};Object.keys(G).forEach(r=>{Z(r,G[r])});const T=()=>{let r=document.createElement("style");r.innerHTML=y,C.appendChild(r)},H=()=>{let r=document.createElement("style");fetch(new URL(h)).then(o=>o.text()).then(o=>{r.innerHTML=o,setTimeout(()=>{C.appendChild(r)},1)})};m[u]&&(m={[u]:[]});const x=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},E=r=>(l(9,A=!0),new Promise((o,p)=>{fetch(r).then(d=>d.json()).then(d=>{d=d.items,o(d.items),l(6,c=[]);let V=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));d.forEach(R=>{var U;V||(V={currentCategoryId:[]}),((U=V[u])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,c.push(R)):R.isFilterSelected=!1}),l(5,_=d),D()}).catch(d=>{console.error(d),l(10,W=!0),p(d)}).finally(()=>{l(9,A=!1)})})),N=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!c.length||c.filter(p=>p.name===r.name).length==0?c.push(r):l(6,c=c.filter(p=>p.name!==r.name)),o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[u]:c.map(p=>p.id)})):(o=JSON.parse(o),o[u]=c.map(p=>p.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),D()},D=()=>{l(7,g=c.length===_.length||c.length==0),l(8,I=c.length)},j=()=>{const r=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",f),r.searchParams.append("datasource",s),r.searchParams.append("platform",e.getDevice(P)),(u.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${u})`),r.searchParams.append("subVendors",`games(subGroups=${u})`)):r.searchParams.append("filter",`games(groups=${u})`),E(r)},M=()=>{l(6,c=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[u]:c.map(r=>r.id)})),_.forEach(r=>r.isFilterSelected=!1),l(5,_),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,g=!0),l(4,w=!1)},z=r=>{r.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));const J=()=>x();function q(r,o){r[o].isFilterSelected=this.checked,l(5,_)}const B=r=>N(r),k=()=>M();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{C=r,l(3,C)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,s=r.datasource),"lang"in r&&l(17,f=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,u=r.categoryid),"addfilterselector"in r&&l(0,v=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,S=r.filterbylogo)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&u&&S&&j(),i.$$.dirty[0]&524296&&y&&C&&T(),i.$$.dirty[0]&1048584&&h&&C&&H(),i.$$.dirty[0]&262144&&b&&L()},[v,F,S,C,w,_,c,g,I,A,W,a,x,N,M,n,s,f,b,y,h,u,J,q,B,k,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,ne,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},$,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}}e.create_custom_element(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{}},[],[],!0);exports.default=X;