@everymatrix/casino-lobby 1.74.2 → 1.74.3

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 (103) hide show
  1. package/components/{CasinoCalendar-W89MyM3R.js → CasinoCalendar-DG7wVbWu.js} +991 -1005
  2. package/components/{CasinoCalendar-D4jWXhPt.js → CasinoCalendar-JGC8iAmb.js} +777 -791
  3. package/components/CasinoCalendar-Lny8nE88.cjs +19 -0
  4. package/components/CasinoCalendarDailyDetails-B1QlX7pP.cjs +1 -0
  5. package/components/{CasinoCalendarDailyDetails-ZqdthZ8T.js → CasinoCalendarDailyDetails-D2Mvhg3d.js} +75 -75
  6. package/components/{CasinoCalendarDailyDetails-B7a0AWc5.js → CasinoCalendarDailyDetails-DtXvJMxo.js} +75 -75
  7. package/components/{CasinoCalendarDailyItem-C_KcFF9v.js → CasinoCalendarDailyItem-78PMeiVD.js} +6 -6
  8. package/components/{CasinoCalendarDailyItem-BofIs4hH.cjs → CasinoCalendarDailyItem-D38_TXnL.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-B4VNj6qm.js → CasinoCalendarDailyItem-sqWHyzUD.js} +6 -6
  10. package/components/CasinoCategoriesSlider-CkofNfGv.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-BNtVy9dZ.js → CasinoCategoriesSlider-DMCT0Ezx.js} +64 -64
  12. package/components/{CasinoCategoriesSlider-ByWiiCre.js → CasinoCategoriesSlider-mHkbwSha.js} +64 -64
  13. package/components/{CasinoCollectionsProviders-sp73chER.js → CasinoCollectionsProviders-53NjCkkY.js} +4 -4
  14. package/components/{CasinoCollectionsProviders-BWHjNJ7D.js → CasinoCollectionsProviders-B5vb4heG.js} +4 -4
  15. package/components/{CasinoCollectionsProviders-Iwvjux90.cjs → CasinoCollectionsProviders-CvxpEqbb.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-DL9l3rme.js → CasinoFavoritesSection-BNkF6EnC.js} +5 -5
  17. package/components/{CasinoFavoritesSection-CNJE8CmR.js → CasinoFavoritesSection-DU90AeQB.js} +5 -5
  18. package/components/{CasinoFavoritesSection-DCveWnxo.cjs → CasinoFavoritesSection-O59VpuZn.cjs} +1 -1
  19. package/components/{CasinoFilter-BJ9RAH6X.js → CasinoFilter-BiK6Q5Ri.js} +253 -254
  20. package/components/CasinoFilter-DHfJy1ot.cjs +1 -0
  21. package/components/{CasinoFilter-CEPRTXcd.js → CasinoFilter-ZSdevwFV.js} +225 -224
  22. package/components/{CasinoGameThumbnail-ByNzt_lj.js → CasinoGameThumbnail-9TykiisT.js} +1239 -1255
  23. package/components/CasinoGameThumbnail-CXu0N008.cjs +47 -0
  24. package/components/{CasinoGameThumbnail-BLX7B2C9.js → CasinoGameThumbnail-DLA7Der0.js} +768 -752
  25. package/components/{CasinoGamesCategorySection-DLtyXL4y.js → CasinoGamesCategorySection-BPGbdT_b.js} +179 -179
  26. package/components/{CasinoGamesCategorySection-CkaPpe4H.js → CasinoGamesCategorySection-BR29T3CL.js} +176 -176
  27. package/components/CasinoGamesCategorySection-DkHDQ6kS.cjs +1 -0
  28. package/components/{CasinoJackpotBanner-D1FBank_.cjs → CasinoJackpotBanner-CFg4HAum.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-0_7xAHq_.js → CasinoJackpotBanner-CxkX5wCt.js} +8 -8
  30. package/components/{CasinoJackpotBanner-suOjEdKK.js → CasinoJackpotBanner-tA8EJuzi.js} +8 -8
  31. package/components/{CasinoLastPlayedSection-iNRVps0U.js → CasinoLastPlayedSection-Bkqbp3Ir.js} +12 -12
  32. package/components/{CasinoLastPlayedSection-DeRqmDvT.cjs → CasinoLastPlayedSection-CT4aFgD9.cjs} +1 -1
  33. package/components/{CasinoLastPlayedSection-EIkfMv8e.js → CasinoLastPlayedSection-DFNEquN4.js} +12 -12
  34. package/components/{CasinoLobby-CdXuoMWk.cjs → CasinoLobby-7XXNVo7H.cjs} +1 -1
  35. package/components/{CasinoLobby-C_n2KRef.js → CasinoLobby-DUsExkd3.js} +7 -7
  36. package/components/{CasinoLobby-B66cbcSf.js → CasinoLobby-WhaUj1mn.js} +7 -7
  37. package/components/{CasinoMostPlayedSection-D8RGYKns.js → CasinoMostPlayedSection-BTeTjexy.js} +13 -13
  38. package/components/{CasinoMostPlayedSection-QkJYVQSD.js → CasinoMostPlayedSection-BTqu89rQ.js} +13 -13
  39. package/components/{CasinoMostPlayedSection-CFC20GVB.cjs → CasinoMostPlayedSection-C6x1VRif.cjs} +1 -1
  40. package/components/{CasinoMyGames-C5h1cvdX.js → CasinoMyGames-54QuL7AC.js} +8 -8
  41. package/components/{CasinoMyGames-XuPrviRw.js → CasinoMyGames-6WUHWOPU.js} +8 -8
  42. package/components/{CasinoMyGames-DGNRAJan.cjs → CasinoMyGames-gtr6v2Sz.cjs} +1 -1
  43. package/components/{CasinoPage-DxnqqgsK.cjs → CasinoPage-BFSGJKkf.cjs} +1 -1
  44. package/components/{CasinoPage-CaJ_4wEu.js → CasinoPage-Dvsm7N3x.js} +15 -15
  45. package/components/{CasinoPage-zqbBeRpH.js → CasinoPage-uFnsu_kK.js} +15 -15
  46. package/components/{CasinoRandomGame-CP2us9wQ.cjs → CasinoRandomGame-CZhFbu1G.cjs} +2 -2
  47. package/components/{CasinoRandomGame-DxRM8_Bw.js → CasinoRandomGame-D6DfhsMo.js} +83 -83
  48. package/components/{CasinoRandomGame-BP_u-dZo.js → CasinoRandomGame-y0dORDv9.js} +12 -12
  49. package/components/{CasinoSearch-DUVU8u9P.js → CasinoSearch-BYqwTiCp.js} +5 -5
  50. package/components/{CasinoSearch-DYLKBkXz.js → CasinoSearch-CIipT1_4.js} +5 -5
  51. package/components/{CasinoSearch-E6byHH4y.cjs → CasinoSearch-mG5BeabE.cjs} +1 -1
  52. package/components/{CasinoSlider-DIeqeNfV.js → CasinoSlider-DAxkG-Ar.js} +4 -4
  53. package/components/{CasinoSlider-CKrkEFp2.cjs → CasinoSlider-DO5tHrHM.cjs} +1 -1
  54. package/components/{CasinoSlider-D4GSh0Rr.js → CasinoSlider-DqlUJp-J.js} +4 -4
  55. package/components/{CasinoSort-zYMJUN8W.js → CasinoSort-9iLlcWNg.js} +94 -93
  56. package/components/{CasinoSort-DnffDijG.cjs → CasinoSort-BQCWdQsU.cjs} +1 -1
  57. package/components/{CasinoSort-CWqOWBmI.js → CasinoSort-QHZXA8-P.js} +102 -103
  58. package/components/{CasinoWinners-BD8HtIIt.js → CasinoWinners-5bdb2NyW.js} +122 -122
  59. package/components/{CasinoWinners-CgGvis-Q.cjs → CasinoWinners-CK2tIq3Z.cjs} +1 -1
  60. package/components/{CasinoWinners-vOM5e-zn.js → CasinoWinners-D0CgROGN.js} +126 -126
  61. package/components/{GeneralAnimationLoading-B9fWkZ6F.js → GeneralAnimationLoading-BGfoYrCy.js} +7 -7
  62. package/components/{GeneralAnimationLoading-SN6B4e8D.js → GeneralAnimationLoading-BIaudZkc.js} +7 -7
  63. package/components/{GeneralAnimationLoading-CB353I6v.cjs → GeneralAnimationLoading-CaB8gNWp.cjs} +1 -1
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-qroM0e64.js → casino-play-random-game-Bc2XLGRl.js} +2 -2
  69. package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game-d1PoE_Vf.js} +2 -2
  70. package/stencil/{casino-play-random-game-C3hhQjhn.cjs → casino-play-random-game-wi94nFPy.cjs} +2 -2
  71. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  72. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  73. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  74. package/stencil/index-ab3202d6-BwBGn0Oj.cjs +1 -0
  75. package/stencil/{index-ab3202d6-CoRS04SH.js → index-ab3202d6-CiI9jxo9.js} +214 -214
  76. package/stencil/{index-ab3202d6-CSUArOSv.js → index-ab3202d6-Cowbr6qN.js} +209 -209
  77. package/stencil/{index-b2193545-kN0z2MLt.js → index-b2193545-BL364Gzq.js} +169 -169
  78. package/stencil/{index-b2193545-D_cUvAA-.js → index-b2193545-DdqB2rk5.js} +176 -176
  79. package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
  80. package/stencil/{ui-image-I_uR7pAI.js → ui-image-B_HWMBI-.js} +1 -1
  81. package/stencil/{ui-image-BAqS-hS6.js → ui-image-CzGNxx73.js} +1 -1
  82. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  83. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  84. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  85. package/stencil/{ui-image-CH2Jdp7k.cjs → ui-image-wubI3fkK.cjs} +1 -1
  86. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-CzFe50WB.js} +2 -2
  87. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  88. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-z5LhXZY2.js} +2 -2
  89. package/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CsmgJUYN.js} +2 -2
  90. package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
  91. package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
  92. package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
  93. package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
  94. package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-yRWBmyfK.js} +2 -2
  95. package/components/CasinoCalendar-wYGJExu0.cjs +0 -19
  96. package/components/CasinoCalendarDailyDetails-CIDfmzEU.cjs +0 -1
  97. package/components/CasinoCategoriesSlider-DXG58TlK.cjs +0 -1
  98. package/components/CasinoFilter-Bwx_m9X7.cjs +0 -1
  99. package/components/CasinoGameThumbnail-DAYBIv1-.cjs +0 -47
  100. package/components/CasinoGamesCategorySection-Bcy4b4v7.cjs +0 -1
  101. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  102. package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
  103. package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
@@ -14,11 +14,11 @@ var le = (a, e, i) => new Promise((s, r) => {
14
14
  }, c = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(u, l);
15
15
  c((i = i.apply(a, e)).next());
16
16
  });
17
- import { $ as Ke, Q as Nt, a as Ot, S as Dt, i as Tt, f as m, c as Rt, s as zt, b as At, e as k, d as w, t as J, g as ye, h as Y, j as v, k as Wt, p as bt, W as qt, o as Ut, l as Yt, m as Ht, n as _e, N as Ge, q as Ve, r as Jt, w as G, H as t, y as A, z as C, G as ee, U as ke, x as Ie, T as Qi, E as Be, J as Vt, M as Zi, v as Xi, Y as Kt, a0 as Qt, A as V, L as xi, a1 as Zt, a2 as Xt, O as xt, u as $t, B as ea, C as ia, D as ta } from "./CasinoCalendar-D4jWXhPt.js";
18
- import "./CasinoFavoritesSection-DL9l3rme.js";
19
- import "../stencil/casino-play-random-game-qroM0e64.js";
20
- import "../stencil/ui-skeleton-C0GZ2ncD.js";
21
- import "./CasinoGamesCategorySection-CkaPpe4H.js";
17
+ import { $ as Ke, Q as Nt, a as Ot, S as Dt, i as Tt, f as m, c as Rt, s as zt, b as At, e as k, d as w, t as J, g as ye, h as Y, j as v, k as Wt, m as bt, W as qt, o as Ut, l as _e, M as Ge, n as Ve, p as Yt, q as Ht, r as Jt, w as G, H as t, y as A, z as C, G as ee, U as ke, x as Ie, T as Qi, E as Be, J as Vt, N as Zi, v as Xi, Y as Kt, a0 as Qt, A as V, L as xi, a1 as Zt, a2 as Xt, O as xt, u as $t, B as ea, C as ia, D as ta } from "./CasinoCalendar-JGC8iAmb.js";
18
+ import "./CasinoFavoritesSection-BNkF6EnC.js";
19
+ import "../stencil/casino-play-random-game-Bc2XLGRl.js";
20
+ import "../stencil/ui-skeleton-CsmgJUYN.js";
21
+ import "./CasinoGamesCategorySection-BR29T3CL.js";
22
22
  function aa({ withLocale: a, translations: e }) {
23
23
  Ke.subscribe((i) => {
24
24
  i == null && (Nt.set(e), Ke.set(a));
@@ -286,7 +286,7 @@ if (typeof window != "undefined") {
286
286
  }
287
287
  };
288
288
  };
289
- customElements.define = a(customElements.define), import("./CasinoRandomGame-DxRM8_Bw.js").then(({ default: e }) => {
289
+ customElements.define = a(customElements.define), import("./CasinoRandomGame-D6DfhsMo.js").then(({ default: e }) => {
290
290
  !customElements.get("casino-random-game") && customElements.define("casino-random-game", e.element);
291
291
  });
292
292
  }
@@ -302,7 +302,7 @@ if (typeof window != "undefined") {
302
302
  }
303
303
  };
304
304
  };
305
- customElements.define = a(customElements.define), import("./CasinoWinners-vOM5e-zn.js").then(({ default: e }) => {
305
+ customElements.define = a(customElements.define), import("./CasinoWinners-D0CgROGN.js").then(({ default: e }) => {
306
306
  !customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
307
307
  });
308
308
  }
@@ -318,7 +318,7 @@ if (typeof window != "undefined") {
318
318
  }
319
319
  };
320
320
  };
321
- customElements.define = a(customElements.define), import("./CasinoJackpotBanner-suOjEdKK.js").then(({ default: e }) => {
321
+ customElements.define = a(customElements.define), import("./CasinoJackpotBanner-tA8EJuzi.js").then(({ default: e }) => {
322
322
  !customElements.get("casino-jackpot-banner") && customElements.define("casino-jackpot-banner", e.element);
323
323
  });
324
324
  }
@@ -334,7 +334,7 @@ if (typeof window != "undefined") {
334
334
  }
335
335
  };
336
336
  };
337
- customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-BWHjNJ7D.js").then(({ default: e }) => {
337
+ customElements.define = a(customElements.define), import("./CasinoCollectionsProviders-B5vb4heG.js").then(({ default: e }) => {
338
338
  !customElements.get("casino-collections-providers") && customElements.define("casino-collections-providers", e.element);
339
339
  });
340
340
  }
@@ -350,7 +350,7 @@ if (typeof window != "undefined") {
350
350
  }
351
351
  };
352
352
  };
353
- customElements.define = a(customElements.define), import("./CasinoMyGames-XuPrviRw.js").then(({ default: e }) => {
353
+ customElements.define = a(customElements.define), import("./CasinoMyGames-6WUHWOPU.js").then(({ default: e }) => {
354
354
  !customElements.get("casino-my-games") && customElements.define("casino-my-games", e.element);
355
355
  });
356
356
  }
@@ -366,7 +366,7 @@ if (typeof window != "undefined") {
366
366
  }
367
367
  };
368
368
  };
369
- customElements.define = a(customElements.define), import("./CasinoSearch-DUVU8u9P.js").then(({ default: e }) => {
369
+ customElements.define = a(customElements.define), import("./CasinoSearch-BYqwTiCp.js").then(({ default: e }) => {
370
370
  !customElements.get("casino-search") && customElements.define("casino-search", e.element);
371
371
  });
372
372
  }
@@ -382,7 +382,7 @@ if (typeof window != "undefined") {
382
382
  }
383
383
  };
384
384
  };
385
- customElements.define = a(customElements.define), import("./CasinoCalendar-D4jWXhPt.js").then((e) => e.a3).then(({ default: e }) => {
385
+ customElements.define = a(customElements.define), import("./CasinoCalendar-JGC8iAmb.js").then((e) => e.a3).then(({ default: e }) => {
386
386
  !customElements.get("casino-calendar") && customElements.define("casino-calendar", e.element);
387
387
  });
388
388
  }
@@ -3651,11 +3651,11 @@ function pa(a, e, i) {
3651
3651
  32 && h && vt(), a.$$.dirty[0] & /*translationurl*/
3652
3652
  4096 && q && _t(), a.$$.dirty[0] & /*clientstyling*/
3653
3653
  1024 | a.$$.dirty[2] & /*customStylingContainer*/
3654
- 524288 && W && x && Jt(x, W), a.$$.dirty[0] & /*clientstylingurl*/
3654
+ 524288 && W && x && Yt(x, W), a.$$.dirty[0] & /*clientstylingurl*/
3655
3655
  2048 | a.$$.dirty[2] & /*customStylingContainer*/
3656
- 524288 && N && x && Yt(x, N), a.$$.dirty[0] & /*mbsource*/
3656
+ 524288 && N && x && Ht(x, N), a.$$.dirty[0] & /*mbsource*/
3657
3657
  512 | a.$$.dirty[2] & /*customStylingContainer*/
3658
- 524288 && g && x && Ht(x, `${g}.Style`), a.$$.dirty[2] & /*panicButton*/
3658
+ 524288 && g && x && Jt(x, `${g}.Style`), a.$$.dirty[2] & /*panicButton*/
3659
3659
  131072 && M && jt(), a.$$.dirty[2] & /*categoryContainer, showmoresections*/
3660
3660
  1114112 | a.$$.dirty[3] & /*dataloaded, categorieslimit*/
3661
3661
  640 && Ye && ae && we === "false" && Z && kt();
@@ -1,2 +1,2 @@
1
- "use strict";var W=(n,t,a)=>new Promise((o,r)=>{var s=p=>{try{f(a.next(p))}catch(g){r(g)}},c=p=>{try{f(a.throw(p))}catch(g){r(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-wYGJExu0.cjs");function oe({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function le(n){e.$locale.set(n)}const I={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function re(n){e.append_styles(n,"svelte-kfgfhx","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}")}function P(n,t,a){const o=n.slice();return o[41]=t[a],o}const ie=n=>({}),J=n=>({});function A(n){let t,a,o,r,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),l=g||se();function _(d,y){return d[7]?me:de}let m=_(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),l&&l.c(),r=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),l&&l.m(o,null),e.append(a,r),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,y){g&&g.p&&(!s||y[0]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],y,ie):e.get_all_dirty_from_scope(d[22]),J),m===(m=_(d))&&u?u.p(d,y):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(l,d),s=!0)},o(d){e.transition_out(l,d),s=!1},d(d){d&&e.detach(t),l&&l.d(d),u.d(),c=!1,f()}}}function se(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,r){e.insert(o,t,r),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function de(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("noGames")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function me(n){let t,a,o,r,s=e.ensure_array_like(n[4]),c=[];for(let l=0;l<s.length;l+=1)c[l]=D(P(n,s,l));function f(l,_){return l[6]?ue:ce}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let l=0;l<c.length;l+=1)c[l].c();r=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[24](o),e.append(t,r),g.m(t,null)},p(l,_){if(_[0]&16){s=e.ensure_array_like(l[4]);let m;for(m=0;m<s.length;m+=1){const u=P(l,s,m);c[m]?c[m].p(u,_):(c[m]=D(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(l))&&g?g.p(l,_):(g.d(1),g=p(l),g&&(g.c(),g.m(t,null)))},d(l){l&&e.detach(t),e.destroy_each(c,l),n[24](null),g.d()}}}function D(n){let t,a,o,r,s,c;return{c(){t=e.element("div"),a=e.element("img"),c=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",r=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&r!==(r=f[41].name)&&e.attr(a,"alt",r),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ce(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ue(n){let t,a,o,r,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",l,_,m,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
2
- </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`,a=e.space(),o=e.element("div"),r=e.element("p"),c=e.text(s),f=e.space(),p=e.element("p"),l=e.text(g),_=e.space(),m=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(r,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(m,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(w,b){e.insert(w,t,b),e.insert(w,a,b),e.insert(w,o,b),e.append(o,r),e.append(r,c),e.append(o,f),e.append(o,p),e.append(p,l),e.append(o,_),e.append(o,m),e.append(m,d),y||(R=[e.listen(t,"click",n[25]),e.listen(m,"click",n[26])],y=!0)},p(w,b){b[0]&8&&s!==(s=w[3].name+"")&&e.set_data(c,s),b[0]&8&&g!==(g=w[3].vendor.name+"")&&e.set_data(l,g),b[0]&512&&u!==(u=w[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(w){w&&(e.detach(t),e.detach(a),e.detach(o)),y=!1,e.run_all(R)}}}function pe(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(r,s){e.insert(r,t,s),e.append(t,o)},p(r,s){s[0]&512&&a!==(a=r[9]("playRandomGame")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function ge(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,r){e.insert(o,t,r),e.append(t,a)},p(o,r){r[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function fe(n){let t,a,o,r,s,c,f,p,g,l=n[5]&&A(n);function _(d,y){if(d[1])return ge;if(!d[1])return pe}let m=_(n),u=m&&m(n);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),o=e.element("div"),r=e.element("button"),u&&u.c(),s=e.space(),c=e.element("span"),e.attr(c,"class","RandomButtonIcon"),e.attr(r,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper")},m(d,y){e.insert(d,t,y),l&&l.m(t,null),e.append(t,a),e.append(t,o),e.append(o,r),u&&u.m(r,null),e.append(r,s),e.append(r,c),c.innerHTML=n[0],n[28](t),f=!0,p||(g=e.listen(r,"click",n[27]),p=!0)},p(d,y){d[5]?l?(l.p(d,y),y[0]&32&&e.transition_in(l,1)):(l=A(d),l.c(),e.transition_in(l,1),l.m(t,a)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros()),m===(m=_(d))&&u?u.p(d,y):(u&&u.d(1),u=m&&m(d),u&&(u.c(),u.m(r,s))),(!f||y[0]&1)&&(c.innerHTML=d[0])},i(d){f||(e.transition_in(l),f=!0)},o(d){e.transition_out(l),f=!1},d(d){d&&e.detach(t),l&&l.d(),u&&u.d(),n[28](null),p=!1,g()}}}function he(n,t,a){let o;e.component_subscribe(n,e.$format,i=>a(9,o=i));let{$$slots:r={},$$scope:s}=t,{endpoint:c=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:l=""}=t,{buttontext:_=""}=t,{translationurl:m=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:y=""}=t,{mbsource:R}=t,w=[],b="",k,M=!1,S=!1,F=!1,O=window.navigator.userAgent,G,v,j,L,N=null;oe({withLocale:"en",translations:{}});const E=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(x=>{z(x,h[x])})}).catch(h=>{console.log(h)})};Object.keys(I).forEach(i=>{z(i,I[i])});const q=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(O)),i.searchParams.append("datasource",f),i.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),y&&i.searchParams.append("filter",`groups=${y}`),i.searchParams.append("expand","categories,vendor"),i.searchParams.append("pagination","offset=0,limit=1000"),fetch(i.href).then(h=>h.json()).then(h=>{w=h.items,w.length?(a(4,k=U(w.slice(0,19))),a(7,F=!0)):(a(4,k=[]),a(7,F=!1))}).catch(h=>{console.log(h),a(7,F=!1)})},U=i=>{const h=Y(i);return h.concat(h)},V=()=>W(this,null,function*(){yield e.tick(),L=Math.floor(Math.random()*(k.length/2))+k.length/2,a(3,b=k[L]),j=v.children[L]}),T=()=>W(this,null,function*(){a(6,S=!1),a(5,M=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield V();const i=window.getComputedStyle(v).getPropertyValue("gap"),h=parseInt(i,10)||0,C=(j.offsetHeight+h)*L,ae=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${C}px)`}],ne={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};N=v.animate(ae,ne),N.onfinish=()=>{a(6,S=!0)}}),Y=i=>{const h=structuredClone(i);let x=h.length,C;for(;x!=0;)C=Math.floor(Math.random()*x),x--,[h[x],h[C]]=[h[C],h[x]];return h},B=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},X=()=>{a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:M},window.location.href)},Z=()=>{le(g)};e.onMount(()=>()=>{});function K(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(8,v)})}const Q=()=>T(),$=()=>B(),ee=()=>T();function te(i){e.binding_callbacks[i?"unshift":"push"](()=>{G=i,a(2,G)})}return n.$$set=i=>{"endpoint"in i&&a(13,c=i.endpoint),"datasource"in i&&a(14,f=i.datasource),"gameevent"in i&&a(15,p=i.gameevent),"lang"in i&&a(16,g=i.lang),"randombuttonicon"in i&&a(0,l=i.randombuttonicon),"buttontext"in i&&a(1,_=i.buttontext),"translationurl"in i&&a(17,m=i.translationurl),"clientstyling"in i&&a(18,u=i.clientstyling),"clientstylingurl"in i&&a(19,d=i.clientstylingurl),"filteredrandomgamecategories"in i&&a(20,y=i.filteredrandomgamecategories),"mbsource"in i&&a(21,R=i.mbsource),"$$scope"in i&&a(22,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&Z(),n.$$.dirty[0]&131072&&m&&E(),n.$$.dirty[0]&24576&&c&&f&&q(),n.$$.dirty[0]&262148&&u&&G&&e.setClientStyling(G,u),n.$$.dirty[0]&524292&&d&&G&&e.setClientStylingURL(G,d),n.$$.dirty[0]&2097156&&G&&e.setStreamStyling(G,`${R}.Style`)},[l,_,G,b,k,M,S,F,v,o,T,B,X,c,f,p,g,m,u,d,y,R,s,r,K,Q,$,ee,te]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,he,fe,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20,mbsource:21},re,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(H,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{},mbsource:{}},["close"],[],!0);exports.default=H;
1
+ "use strict";var W=(n,t,a)=>new Promise((o,l)=>{var s=p=>{try{f(a.next(p))}catch(g){l(g)}},c=p=>{try{f(a.throw(p))}catch(g){l(g)}},f=p=>p.done?o(p.value):Promise.resolve(p.value).then(s,c);f((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-Lny8nE88.cjs");function oe({withLocale:n,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function z(n,t){e.addMessages(n,t)}function le(n){e.$locale.set(n)}const I={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放",noGames:"There are no random games to play"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen",noGames:"There are no random games to play"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant",noGames:"There are no random games to play"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum",noGames:"Nu exista jocuri aleatorii de jucat"},tr:{playRandomGame:"Oynamak için doğru oyunun adını yazın.",randomGameLoading:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",playNowRandomGame:"Son arama",noGames:"Yükleniyor, lütfen bekleyin"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya",noGames:"There are no random games to play"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada",noGames:"Nema nasumičnih igara za igranje"},"pt-br":{playRandomGame:"Jogue um jogo aleatório",randomGameCarregando:"Selecionando...",playNowRandomGame:"Jogue agora",noGames:"There are no random games to play"},"es-mx":{playRandomGame:"Jugar un juego al azar",randomGameCargando:"Seleccionando..",playNowRandomGame:"Jugar ahora",noGames:"There are no random games to play"},"en-us":{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now",noGames:"There are no random games to play"}};function re(n){e.append_styles(n,"svelte-kfgfhx","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}")}function P(n,t,a){const o=n.slice();return o[41]=t[a],o}const ie=n=>({}),J=n=>({});function A(n){let t,a,o,l,s,c,f;const p=n[23].close,g=e.create_slot(p,n,n[22],J),r=g||se();function _(d,y){return d[7]?me:de}let m=_(n),u=m(n);return{c(){t=e.element("div"),a=e.element("div"),o=e.element("span"),r.c(),l=e.space(),u.c(),e.attr(o,"class","ModalCloseBtn"),e.attr(o,"role","button"),e.attr(a,"class","ModalContainer"),e.attr(t,"class","ModalWindow")},m(d,y){e.insert(d,t,y),e.append(t,a),e.append(a,o),r.m(o,null),e.append(a,l),u.m(a,null),s=!0,c||(f=e.listen(o,"click",n[12]),c=!0)},p(d,y){g&&g.p&&(!s||y[0]&4194304)&&e.update_slot_base(g,p,d,d[22],s?e.get_slot_changes(p,d[22],y,ie):e.get_all_dirty_from_scope(d[22]),J),m===(m=_(d))&&u?u.p(d,y):(u.d(1),u=m(d),u&&(u.c(),u.m(a,null)))},i(d){s||(e.transition_in(r,d),s=!0)},o(d){e.transition_out(r,d),s=!1},d(d){d&&e.detach(t),r.d(d),u.d(),c=!1,f()}}}function se(n){let t,a;return{c(){t=e.svg_element("svg"),a=e.svg_element("path"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(a,"stroke-width","2"),e.attr(a,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,l){e.insert(o,t,l),e.append(t,a)},p:e.noop,d(o){o&&e.detach(t)}}}function de(n){let t,a=n[9]("noGames")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(l,s){e.insert(l,t,s),e.append(t,o)},p(l,s){s[0]&512&&a!==(a=l[9]("noGames")+"")&&e.set_data(o,a)},d(l){l&&e.detach(t)}}}function me(n){let t,a,o,l,s=e.ensure_array_like(n[4]),c=[];for(let r=0;r<s.length;r+=1)c[r]=D(P(n,s,r));function f(r,_){return r[6]?ue:ce}let p=f(n),g=p(n);return{c(){t=e.element("div"),a=e.element("main"),o=e.element("div");for(let r=0;r<c.length;r+=1)c[r].c();l=e.space(),g.c(),e.attr(o,"class","GamesContainer"),e.attr(a,"class","RandomGamesSliderWrapper"),e.attr(t,"class","RandomGameWrapper")},m(r,_){e.insert(r,t,_),e.append(t,a),e.append(a,o);for(let m=0;m<c.length;m+=1)c[m]&&c[m].m(o,null);n[24](o),e.append(t,l),g.m(t,null)},p(r,_){if(_[0]&16){s=e.ensure_array_like(r[4]);let m;for(m=0;m<s.length;m+=1){const u=P(r,s,m);c[m]?c[m].p(u,_):(c[m]=D(u),c[m].c(),c[m].m(o,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}p===(p=f(r))&&g?g.p(r,_):(g.d(1),g=p(r),g&&(g.c(),g.m(t,null)))},d(r){r&&e.detach(t),e.destroy_each(c,r),n[24](null),g.d()}}}function D(n){let t,a,o,l,s,c;return{c(){t=e.element("div"),a=e.element("img"),c=e.space(),e.attr(a,"class","RandomGameImage"),e.src_url_equal(a.src,o=n[41].thumbnail)||e.attr(a,"src",o),e.attr(a,"alt",l=n[41].name),e.attr(a,"title",s=n[41].name),e.attr(t,"class","item")},m(f,p){e.insert(f,t,p),e.append(t,a),e.append(t,c)},p(f,p){p[0]&16&&!e.src_url_equal(a.src,o=f[41].thumbnail)&&e.attr(a,"src",o),p[0]&16&&l!==(l=f[41].name)&&e.attr(a,"alt",l),p[0]&16&&s!==(s=f[41].name)&&e.attr(a,"title",s)},d(f){f&&e.detach(t)}}}function ce(n){let t,a=n[9]("randomGameLoading")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","RandomGameLoading")},m(l,s){e.insert(l,t,s),e.append(t,o)},p(l,s){s[0]&512&&a!==(a=l[9]("randomGameLoading")+"")&&e.set_data(o,a)},d(l){l&&e.detach(t)}}}function ue(n){let t,a,o,l,s=n[3].name+"",c,f,p,g=n[3].vendor.name+"",r,_,m,u=n[9]("playNowRandomGame")+"",d,y,R;return{c(){t=e.element("button"),t.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
2
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`,a=e.space(),o=e.element("div"),l=e.element("p"),c=e.text(s),f=e.space(),p=e.element("p"),r=e.text(g),_=e.space(),m=e.element("button"),d=e.text(u),e.attr(t,"class","RandomTryAgain"),e.attr(l,"class","RandomGameTitle"),e.attr(p,"class","RandomGameVendor"),e.attr(m,"class","RandomGamePlay"),e.attr(o,"class","RandomGameDetails")},m(w,b){e.insert(w,t,b),e.insert(w,a,b),e.insert(w,o,b),e.append(o,l),e.append(l,c),e.append(o,f),e.append(o,p),e.append(p,r),e.append(o,_),e.append(o,m),e.append(m,d),y||(R=[e.listen(t,"click",n[25]),e.listen(m,"click",n[26])],y=!0)},p(w,b){b[0]&8&&s!==(s=w[3].name+"")&&e.set_data(c,s),b[0]&8&&g!==(g=w[3].vendor.name+"")&&e.set_data(r,g),b[0]&512&&u!==(u=w[9]("playNowRandomGame")+"")&&e.set_data(d,u)},d(w){w&&(e.detach(t),e.detach(a),e.detach(o)),y=!1,e.run_all(R)}}}function pe(n){let t,a=n[9]("playRandomGame")+"",o;return{c(){t=e.element("span"),o=e.text(a),e.attr(t,"class","RandomButtonText")},m(l,s){e.insert(l,t,s),e.append(t,o)},p(l,s){s[0]&512&&a!==(a=l[9]("playRandomGame")+"")&&e.set_data(o,a)},d(l){l&&e.detach(t)}}}function ge(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","RandomButtonText")},m(o,l){e.insert(o,t,l),e.append(t,a)},p(o,l){l[0]&2&&e.set_data(a,o[1])},d(o){o&&e.detach(t)}}}function fe(n){let t,a,o,l,s,c,f,p,g,r=n[5]&&A(n);function _(d,y){if(d[1])return ge;if(!d[1])return pe}let m=_(n),u=m&&m(n);return{c(){t=e.element("div"),r&&r.c(),a=e.space(),o=e.element("div"),l=e.element("button"),u&&u.c(),s=e.space(),c=e.element("span"),e.attr(c,"class","RandomButtonIcon"),e.attr(l,"class","RandomButton"),e.attr(o,"class","RandomButtonWrapper")},m(d,y){e.insert(d,t,y),r&&r.m(t,null),e.append(t,a),e.append(t,o),e.append(o,l),u&&u.m(l,null),e.append(l,s),e.append(l,c),c.innerHTML=n[0],n[28](t),f=!0,p||(g=e.listen(l,"click",n[27]),p=!0)},p(d,y){d[5]?r?(r.p(d,y),y[0]&32&&e.transition_in(r,1)):(r=A(d),r.c(),e.transition_in(r,1),r.m(t,a)):r&&(e.group_outros(),e.transition_out(r,1,1,()=>{r=null}),e.check_outros()),m===(m=_(d))&&u?u.p(d,y):(u&&u.d(1),u=m&&m(d),u&&(u.c(),u.m(l,s))),(!f||y[0]&1)&&(c.innerHTML=d[0])},i(d){f||(e.transition_in(r),f=!0)},o(d){e.transition_out(r),f=!1},d(d){d&&e.detach(t),r&&r.d(),u&&u.d(),n[28](null),p=!1,g()}}}function he(n,t,a){let o;e.component_subscribe(n,e.$format,i=>a(9,o=i));let{$$slots:l={},$$scope:s}=t,{endpoint:c=""}=t,{datasource:f=""}=t,{gameevent:p=""}=t,{lang:g=""}=t,{randombuttonicon:r=""}=t,{buttontext:_=""}=t,{translationurl:m=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,{filteredrandomgamecategories:y=""}=t,{mbsource:R}=t,w=[],b="",k,M=!1,S=!1,F=!1,O=window.navigator.userAgent,G,v,j,L,N=null;oe({withLocale:"en",translations:{}});const E=()=>{fetch(m).then(h=>h.json()).then(h=>{Object.keys(h).forEach(x=>{z(x,h[x])})}).catch(h=>{console.log(h)})};Object.keys(I).forEach(i=>{z(i,I[i])});const q=()=>{let i=new URL(`${c}/v1/casino/games`);i.searchParams.append("platform",e.getDevice(O)),i.searchParams.append("datasource",f),i.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,categories"),y&&i.searchParams.append("filter",`groups=${y}`),i.searchParams.append("expand","categories,vendor"),i.searchParams.append("pagination","offset=0,limit=1000"),fetch(i.href).then(h=>h.json()).then(h=>{w=h.items,w.length?(a(4,k=U(w.slice(0,19))),a(7,F=!0)):(a(4,k=[]),a(7,F=!1))}).catch(h=>{console.log(h),a(7,F=!1)})},U=i=>{const h=Y(i);return h.concat(h)},V=()=>W(this,null,function*(){yield e.tick(),L=Math.floor(Math.random()*(k.length/2))+k.length/2,a(3,b=k[L]),j=v.children[L]}),T=()=>W(this,null,function*(){a(6,S=!1),a(5,M=!0),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href),yield V();const i=window.getComputedStyle(v).getPropertyValue("gap"),h=parseInt(i,10)||0,C=(j.offsetHeight+h)*L,ae=[{transform:"translateX(0px)"},{filter:"blur(5px)"},{transform:`translateY(-${C}px)`}],ne={duration:2e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};N=v.animate(ae,ne),N.onfinish=()=>{a(6,S=!0)}}),Y=i=>{const h=structuredClone(i);let x=h.length,C;for(;x!=0;)C=Math.floor(Math.random()*x),x--,[h[x],h[C]]=[h[C],h[x]];return h},B=()=>{window.postMessage({type:p,gameId:b.gId||b.id},window.location.href),a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:`${b.gId||b.id}`})},X=()=>{a(5,M=!1),window.postMessage({type:"RandomWidgetState",state:M},window.location.href)},Z=()=>{le(g)};e.onMount(()=>()=>{});function K(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(8,v)})}const Q=()=>T(),$=()=>B(),ee=()=>T();function te(i){e.binding_callbacks[i?"unshift":"push"](()=>{G=i,a(2,G)})}return n.$$set=i=>{"endpoint"in i&&a(13,c=i.endpoint),"datasource"in i&&a(14,f=i.datasource),"gameevent"in i&&a(15,p=i.gameevent),"lang"in i&&a(16,g=i.lang),"randombuttonicon"in i&&a(0,r=i.randombuttonicon),"buttontext"in i&&a(1,_=i.buttontext),"translationurl"in i&&a(17,m=i.translationurl),"clientstyling"in i&&a(18,u=i.clientstyling),"clientstylingurl"in i&&a(19,d=i.clientstylingurl),"filteredrandomgamecategories"in i&&a(20,y=i.filteredrandomgamecategories),"mbsource"in i&&a(21,R=i.mbsource),"$$scope"in i&&a(22,s=i.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&65536&&g&&Z(),n.$$.dirty[0]&131072&&m&&E(),n.$$.dirty[0]&24576&&c&&f&&q(),n.$$.dirty[0]&262148&&u&&G&&e.setClientStyling(G,u),n.$$.dirty[0]&524292&&d&&G&&e.setClientStylingURL(G,d),n.$$.dirty[0]&2097156&&G&&e.setStreamStyling(G,`${R}.Style`)},[r,_,G,b,k,M,S,F,v,o,T,B,X,c,f,p,g,m,u,d,y,R,s,l,K,Q,$,ee,te]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,he,fe,e.safe_not_equal,{endpoint:13,datasource:14,gameevent:15,lang:16,randombuttonicon:0,buttontext:1,translationurl:17,clientstyling:18,clientstylingurl:19,filteredrandomgamecategories:20,mbsource:21},re,[-1,-1])}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[14]}set datasource(t){this.$$set({datasource:t}),e.flush()}get gameevent(){return this.$$.ctx[15]}set gameevent(t){this.$$set({gameevent:t}),e.flush()}get lang(){return this.$$.ctx[16]}set lang(t){this.$$set({lang:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get buttontext(){return this.$$.ctx[1]}set buttontext(t){this.$$set({buttontext:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[20]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(H,{endpoint:{},datasource:{},gameevent:{},lang:{},randombuttonicon:{},buttontext:{},translationurl:{},clientstyling:{},clientstylingurl:{},filteredrandomgamecategories:{},mbsource:{}},["close"],[],!0);exports.default=H;
@@ -1,20 +1,20 @@
1
- var H = (a, e, t) => new Promise((n, l) => {
1
+ var H = (a, e, t) => new Promise((n, o) => {
2
2
  var r = (g) => {
3
3
  try {
4
4
  p(t.next(g));
5
5
  } catch (f) {
6
- l(f);
6
+ o(f);
7
7
  }
8
8
  }, d = (g) => {
9
9
  try {
10
10
  p(t.throw(g));
11
11
  } catch (f) {
12
- l(f);
12
+ o(f);
13
13
  }
14
14
  }, p = (g) => g.done ? n(g.value) : Promise.resolve(g.value).then(r, d);
15
15
  p((t = t.apply(a, e)).next());
16
16
  });
17
- import { $ as E, Q as we, a as _e, S as Ge, i as Re, f as v, c as xe, s as ke, b as ve, e as w, w as C, y as u, d as x, z as h, A as P, h as J, t as O, g as Me, j as k, k as Fe, o as Ce, l as Le, u as Se, B as We, C as Te, D as je, n as Ne, N as Be, q as Y, r as ze, m as Ie, K, G as Je, x as L, E as S, v as Q, F as Pe, I as X, J as Ae, M as De, O as He } from "./CasinoCalendar-D4jWXhPt.js";
17
+ import { $ as E, Q as we, a as _e, S as Ge, i as Re, f as v, c as xe, s as ke, b as ve, e as w, w as C, y as u, d as x, z as h, A as P, h as J, t as O, g as Me, j as k, k as Fe, o as Ce, u as Le, B as Se, C as We, D as Te, l as je, M as Ne, n as Y, p as Be, q as ze, r as Ie, K, G as Je, x as L, E as S, v as Q, F as Pe, I as X, J as Ae, N as De, O as He } from "./CasinoCalendar-JGC8iAmb.js";
18
18
  function Ee({ withLocale: a, translations: e }) {
19
19
  E.subscribe((t) => {
20
20
  t == null && (we.set(e), E.set(a));
@@ -109,17 +109,17 @@ function ee(a, e, t) {
109
109
  }
110
110
  const qe = (a) => ({}), te = (a) => ({});
111
111
  function ae(a) {
112
- let e, t, n, l, r, d, p;
112
+ let e, t, n, o, r, d, p;
113
113
  const g = (
114
114
  /*#slots*/
115
115
  a[23].close
116
- ), f = Se(
116
+ ), f = Le(
117
117
  g,
118
118
  a,
119
119
  /*$$scope*/
120
120
  a[22],
121
121
  te
122
- ), o = f || Ve();
122
+ ), l = f || Ve();
123
123
  function _(s, b) {
124
124
  return (
125
125
  /*hasRandomGames*/
@@ -129,10 +129,10 @@ function ae(a) {
129
129
  let m = _(a), c = m(a);
130
130
  return {
131
131
  c() {
132
- e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = C(), c.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
132
+ e = w("div"), t = w("div"), n = w("span"), l.c(), o = C(), c.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
133
133
  },
134
134
  m(s, b) {
135
- x(s, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), c.m(t, null), r = !0, d || (p = P(
135
+ x(s, e, b), h(e, t), h(t, n), l.m(n, null), h(t, o), c.m(t, null), r = !0, d || (p = P(
136
136
  n,
137
137
  "click",
138
138
  /*closeModal*/
@@ -141,19 +141,19 @@ function ae(a) {
141
141
  },
142
142
  p(s, b) {
143
143
  f && f.p && (!r || b[0] & /*$$scope*/
144
- 4194304) && We(
144
+ 4194304) && Se(
145
145
  f,
146
146
  g,
147
147
  s,
148
148
  /*$$scope*/
149
149
  s[22],
150
- r ? je(
150
+ r ? Te(
151
151
  g,
152
152
  /*$$scope*/
153
153
  s[22],
154
154
  b,
155
155
  qe
156
- ) : Te(
156
+ ) : We(
157
157
  /*$$scope*/
158
158
  s[22]
159
159
  ),
@@ -161,13 +161,13 @@ function ae(a) {
161
161
  ), m === (m = _(s)) && c ? c.p(s, b) : (c.d(1), c = m(s), c && (c.c(), c.m(t, null)));
162
162
  },
163
163
  i(s) {
164
- r || (J(o, s), r = !0);
164
+ r || (J(l, s), r = !0);
165
165
  },
166
166
  o(s) {
167
- O(o, s), r = !1;
167
+ O(l, s), r = !1;
168
168
  },
169
169
  d(s) {
170
- s && k(e), o && o.d(s), c.d(), d = !1, p();
170
+ s && k(e), l.d(s), c.d(), d = !1, p();
171
171
  }
172
172
  };
173
173
  }
@@ -177,8 +177,8 @@ function Ve(a) {
177
177
  c() {
178
178
  e = K("svg"), t = K("path"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round"), u(t, "stroke-width", "2"), u(t, "d", "M6 18L18 6M6 6l12 12"), u(e, "class", "w-6 h-6"), u(e, "fill", "none"), u(e, "stroke", "currentColor"), u(e, "viewBox", "0 0 24 24"), u(e, "xmlns", "http://www.w3.org/2000/svg");
179
179
  },
180
- m(n, l) {
181
- x(n, e, l), h(e, t);
180
+ m(n, o) {
181
+ x(n, e, o), h(e, t);
182
182
  },
183
183
  p: Je,
184
184
  d(n) {
@@ -195,75 +195,75 @@ function Ye(a) {
195
195
  c() {
196
196
  e = w("p"), n = L(t), u(e, "class", "RandomGameLoading");
197
197
  },
198
- m(l, r) {
199
- x(l, e, r), h(e, n);
198
+ m(o, r) {
199
+ x(o, e, r), h(e, n);
200
200
  },
201
- p(l, r) {
201
+ p(o, r) {
202
202
  r[0] & /*$_*/
203
203
  512 && t !== (t = /*$_*/
204
- l[9]("noGames") + "") && S(n, t);
204
+ o[9]("noGames") + "") && S(n, t);
205
205
  },
206
- d(l) {
207
- l && k(e);
206
+ d(o) {
207
+ o && k(e);
208
208
  }
209
209
  };
210
210
  }
211
211
  function Ke(a) {
212
- let e, t, n, l, r = Q(
212
+ let e, t, n, o, r = Q(
213
213
  /*gamesToShow*/
214
214
  a[4]
215
215
  ), d = [];
216
- for (let o = 0; o < r.length; o += 1)
217
- d[o] = ne(ee(a, r, o));
218
- function p(o, _) {
216
+ for (let l = 0; l < r.length; l += 1)
217
+ d[l] = ne(ee(a, r, l));
218
+ function p(l, _) {
219
219
  return (
220
220
  /*animationDone*/
221
- o[6] ? Xe : Qe
221
+ l[6] ? Xe : Qe
222
222
  );
223
223
  }
224
224
  let g = p(a), f = g(a);
225
225
  return {
226
226
  c() {
227
227
  e = w("div"), t = w("main"), n = w("div");
228
- for (let o = 0; o < d.length; o += 1)
229
- d[o].c();
230
- l = C(), f.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
228
+ for (let l = 0; l < d.length; l += 1)
229
+ d[l].c();
230
+ o = C(), f.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
231
231
  },
232
- m(o, _) {
233
- x(o, e, _), h(e, t), h(t, n);
232
+ m(l, _) {
233
+ x(l, e, _), h(e, t), h(t, n);
234
234
  for (let m = 0; m < d.length; m += 1)
235
235
  d[m] && d[m].m(n, null);
236
- a[24](n), h(e, l), f.m(e, null);
236
+ a[24](n), h(e, o), f.m(e, null);
237
237
  },
238
- p(o, _) {
238
+ p(l, _) {
239
239
  if (_[0] & /*gamesToShow*/
240
240
  16) {
241
241
  r = Q(
242
242
  /*gamesToShow*/
243
- o[4]
243
+ l[4]
244
244
  );
245
245
  let m;
246
246
  for (m = 0; m < r.length; m += 1) {
247
- const c = ee(o, r, m);
247
+ const c = ee(l, r, m);
248
248
  d[m] ? d[m].p(c, _) : (d[m] = ne(c), d[m].c(), d[m].m(n, null));
249
249
  }
250
250
  for (; m < d.length; m += 1)
251
251
  d[m].d(1);
252
252
  d.length = r.length;
253
253
  }
254
- g === (g = p(o)) && f ? f.p(o, _) : (f.d(1), f = g(o), f && (f.c(), f.m(e, null)));
254
+ g === (g = p(l)) && f ? f.p(l, _) : (f.d(1), f = g(l), f && (f.c(), f.m(e, null)));
255
255
  },
256
- d(o) {
257
- o && k(e), Pe(d, o), a[24](null), f.d();
256
+ d(l) {
257
+ l && k(e), Pe(d, l), a[24](null), f.d();
258
258
  }
259
259
  };
260
260
  }
261
261
  function ne(a) {
262
- let e, t, n, l, r, d;
262
+ let e, t, n, o, r, d;
263
263
  return {
264
264
  c() {
265
265
  e = w("div"), t = w("img"), d = C(), u(t, "class", "RandomGameImage"), X(t.src, n = /*game*/
266
- a[41].thumbnail) || u(t, "src", n), u(t, "alt", l = /*game*/
266
+ a[41].thumbnail) || u(t, "src", n), u(t, "alt", o = /*game*/
267
267
  a[41].name), u(t, "title", r = /*game*/
268
268
  a[41].name), u(e, "class", "item");
269
269
  },
@@ -274,8 +274,8 @@ function ne(a) {
274
274
  g[0] & /*gamesToShow*/
275
275
  16 && !X(t.src, n = /*game*/
276
276
  p[41].thumbnail) && u(t, "src", n), g[0] & /*gamesToShow*/
277
- 16 && l !== (l = /*game*/
278
- p[41].name) && u(t, "alt", l), g[0] & /*gamesToShow*/
277
+ 16 && o !== (o = /*game*/
278
+ p[41].name) && u(t, "alt", o), g[0] & /*gamesToShow*/
279
279
  16 && r !== (r = /*game*/
280
280
  p[41].name) && u(t, "title", r);
281
281
  },
@@ -293,37 +293,37 @@ function Qe(a) {
293
293
  c() {
294
294
  e = w("p"), n = L(t), u(e, "class", "RandomGameLoading");
295
295
  },
296
- m(l, r) {
297
- x(l, e, r), h(e, n);
296
+ m(o, r) {
297
+ x(o, e, r), h(e, n);
298
298
  },
299
- p(l, r) {
299
+ p(o, r) {
300
300
  r[0] & /*$_*/
301
301
  512 && t !== (t = /*$_*/
302
- l[9]("randomGameLoading") + "") && S(n, t);
302
+ o[9]("randomGameLoading") + "") && S(n, t);
303
303
  },
304
- d(l) {
305
- l && k(e);
304
+ d(o) {
305
+ o && k(e);
306
306
  }
307
307
  };
308
308
  }
309
309
  function Xe(a) {
310
- let e, t, n, l, r = (
310
+ let e, t, n, o, r = (
311
311
  /*randomGame*/
312
312
  a[3].name + ""
313
313
  ), d, p, g, f = (
314
314
  /*randomGame*/
315
315
  a[3].vendor.name + ""
316
- ), o, _, m, c = (
316
+ ), l, _, m, c = (
317
317
  /*$_*/
318
318
  a[9]("playNowRandomGame") + ""
319
319
  ), s, b, W;
320
320
  return {
321
321
  c() {
322
322
  e = w("button"), e.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
323
- </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = w("div"), l = w("p"), d = L(r), p = C(), g = w("p"), o = L(f), _ = C(), m = w("button"), s = L(c), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(g, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
323
+ </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, t = C(), n = w("div"), o = w("p"), d = L(r), p = C(), g = w("p"), l = L(f), _ = C(), m = w("button"), s = L(c), u(e, "class", "RandomTryAgain"), u(o, "class", "RandomGameTitle"), u(g, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
324
324
  },
325
325
  m(R, G) {
326
- x(R, e, G), x(R, t, G), x(R, n, G), h(n, l), h(l, d), h(n, p), h(n, g), h(g, o), h(n, _), h(n, m), h(m, s), b || (W = [
326
+ x(R, e, G), x(R, t, G), x(R, n, G), h(n, o), h(o, d), h(n, p), h(n, g), h(g, l), h(n, _), h(n, m), h(m, s), b || (W = [
327
327
  P(
328
328
  e,
329
329
  "click",
@@ -343,7 +343,7 @@ function Xe(a) {
343
343
  8 && r !== (r = /*randomGame*/
344
344
  R[3].name + "") && S(d, r), G[0] & /*randomGame*/
345
345
  8 && f !== (f = /*randomGame*/
346
- R[3].vendor.name + "") && S(o, f), G[0] & /*$_*/
346
+ R[3].vendor.name + "") && S(l, f), G[0] & /*$_*/
347
347
  512 && c !== (c = /*$_*/
348
348
  R[9]("playNowRandomGame") + "") && S(s, c);
349
349
  },
@@ -361,16 +361,16 @@ function Ze(a) {
361
361
  c() {
362
362
  e = w("span"), n = L(t), u(e, "class", "RandomButtonText");
363
363
  },
364
- m(l, r) {
365
- x(l, e, r), h(e, n);
364
+ m(o, r) {
365
+ x(o, e, r), h(e, n);
366
366
  },
367
- p(l, r) {
367
+ p(o, r) {
368
368
  r[0] & /*$_*/
369
369
  512 && t !== (t = /*$_*/
370
- l[9]("playRandomGame") + "") && S(n, t);
370
+ o[9]("playRandomGame") + "") && S(n, t);
371
371
  },
372
- d(l) {
373
- l && k(e);
372
+ d(o) {
373
+ o && k(e);
374
374
  }
375
375
  };
376
376
  }
@@ -383,11 +383,11 @@ function $e(a) {
383
383
  a[1]
384
384
  ), u(e, "class", "RandomButtonText");
385
385
  },
386
- m(n, l) {
387
- x(n, e, l), h(e, t);
386
+ m(n, o) {
387
+ x(n, e, o), h(e, t);
388
388
  },
389
- p(n, l) {
390
- l[0] & /*buttontext*/
389
+ p(n, o) {
390
+ o[0] & /*buttontext*/
391
391
  2 && S(
392
392
  t,
393
393
  /*buttontext*/
@@ -400,7 +400,7 @@ function $e(a) {
400
400
  };
401
401
  }
402
402
  function et(a) {
403
- let e, t, n, l, r, d, p, g, f, o = (
403
+ let e, t, n, o, r, d, p, g, f, l = (
404
404
  /*show*/
405
405
  a[5] && ae(a)
406
406
  );
@@ -417,12 +417,12 @@ function et(a) {
417
417
  let m = _(a), c = m && m(a);
418
418
  return {
419
419
  c() {
420
- e = w("div"), o && o.c(), t = C(), n = w("div"), l = w("button"), c && c.c(), r = C(), d = w("span"), u(d, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
420
+ e = w("div"), l && l.c(), t = C(), n = w("div"), o = w("button"), c && c.c(), r = C(), d = w("span"), u(d, "class", "RandomButtonIcon"), u(o, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
421
421
  },
422
422
  m(s, b) {
423
- x(s, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), c && c.m(l, null), h(l, r), h(l, d), d.innerHTML = /*randombuttonicon*/
423
+ x(s, e, b), l && l.m(e, null), h(e, t), h(e, n), h(n, o), c && c.m(o, null), h(o, r), h(o, d), d.innerHTML = /*randombuttonicon*/
424
424
  a[0], a[28](e), p = !0, g || (f = P(
425
- l,
425
+ o,
426
426
  "click",
427
427
  /*click_handler_2*/
428
428
  a[27]
@@ -430,28 +430,28 @@ function et(a) {
430
430
  },
431
431
  p(s, b) {
432
432
  /*show*/
433
- s[5] ? o ? (o.p(s, b), b[0] & /*show*/
434
- 32 && J(o, 1)) : (o = ae(s), o.c(), J(o, 1), o.m(e, t)) : o && (Ne(), O(o, 1, 1, () => {
435
- o = null;
436
- }), Me()), m === (m = _(s)) && c ? c.p(s, b) : (c && c.d(1), c = m && m(s), c && (c.c(), c.m(l, r))), (!p || b[0] & /*randombuttonicon*/
433
+ s[5] ? l ? (l.p(s, b), b[0] & /*show*/
434
+ 32 && J(l, 1)) : (l = ae(s), l.c(), J(l, 1), l.m(e, t)) : l && (je(), O(l, 1, 1, () => {
435
+ l = null;
436
+ }), Me()), m === (m = _(s)) && c ? c.p(s, b) : (c && c.d(1), c = m && m(s), c && (c.c(), c.m(o, r))), (!p || b[0] & /*randombuttonicon*/
437
437
  1) && (d.innerHTML = /*randombuttonicon*/
438
438
  s[0]);
439
439
  },
440
440
  i(s) {
441
- p || (J(o), p = !0);
441
+ p || (J(l), p = !0);
442
442
  },
443
443
  o(s) {
444
- O(o), p = !1;
444
+ O(l), p = !1;
445
445
  },
446
446
  d(s) {
447
- s && k(e), o && o.d(), c && c.d(), a[28](null), g = !1, f();
447
+ s && k(e), l && l.d(), c && c.d(), a[28](null), g = !1, f();
448
448
  }
449
449
  };
450
450
  }
451
451
  function tt(a, e, t) {
452
452
  let n;
453
453
  Fe(a, Ae, (i) => t(9, n = i));
454
- let { $$slots: l = {}, $$scope: r } = e, { endpoint: d = "" } = e, { datasource: p = "" } = e, { gameevent: g = "" } = e, { lang: f = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: s = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: W } = e, R = [], G = "", T, N = !1, A = !1, z = !1, oe = window.navigator.userAgent, M, j, U, I, q = null;
454
+ let { $$slots: o = {}, $$scope: r } = e, { endpoint: d = "" } = e, { datasource: p = "" } = e, { gameevent: g = "" } = e, { lang: f = "" } = e, { randombuttonicon: l = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: c = "" } = e, { clientstylingurl: s = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: W } = e, R = [], G = "", T, N = !1, A = !1, z = !1, oe = window.navigator.userAgent, M, j, U, I, q = null;
455
455
  Ee({ withLocale: "en", translations: {} });
456
456
  const le = () => {
457
457
  fetch(m).then((y) => y.json()).then((y) => {
@@ -467,7 +467,7 @@ function tt(a, e, t) {
467
467
  });
468
468
  const ie = () => {
469
469
  let i = new URL(`${d}/v1/casino/games`);
470
- i.searchParams.append("platform", Be(oe)), i.searchParams.append("datasource", p), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && i.searchParams.append("filter", `groups=${b}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((y) => y.json()).then((y) => {
470
+ i.searchParams.append("platform", Ne(oe)), i.searchParams.append("datasource", p), i.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), b && i.searchParams.append("filter", `groups=${b}`), i.searchParams.append("expand", "categories,vendor"), i.searchParams.append("pagination", "offset=0,limit=1000"), fetch(i.href).then((y) => y.json()).then((y) => {
471
471
  R = y.items, R.length ? (t(4, T = re(R.slice(0, 19))), t(7, z = !0)) : (t(4, T = []), t(7, z = !1));
472
472
  }).catch((y) => {
473
473
  console.log(y), t(7, z = !1);
@@ -529,17 +529,17 @@ function tt(a, e, t) {
529
529
  });
530
530
  }
531
531
  return a.$$set = (i) => {
532
- "endpoint" in i && t(13, d = i.endpoint), "datasource" in i && t(14, p = i.datasource), "gameevent" in i && t(15, g = i.gameevent), "lang" in i && t(16, f = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, _ = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, c = i.clientstyling), "clientstylingurl" in i && t(19, s = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, W = i.mbsource), "$$scope" in i && t(22, r = i.$$scope);
532
+ "endpoint" in i && t(13, d = i.endpoint), "datasource" in i && t(14, p = i.datasource), "gameevent" in i && t(15, g = i.gameevent), "lang" in i && t(16, f = i.lang), "randombuttonicon" in i && t(0, l = i.randombuttonicon), "buttontext" in i && t(1, _ = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, c = i.clientstyling), "clientstylingurl" in i && t(19, s = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, W = i.mbsource), "$$scope" in i && t(22, r = i.$$scope);
533
533
  }, a.$$.update = () => {
534
534
  a.$$.dirty[0] & /*lang*/
535
535
  65536 && f && ce(), a.$$.dirty[0] & /*translationurl*/
536
536
  131072 && m && le(), a.$$.dirty[0] & /*endpoint, datasource*/
537
537
  24576 && d && p && ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
538
- 262148 && c && M && ze(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
539
- 524292 && s && M && Le(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
538
+ 262148 && c && M && Be(M, c), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
539
+ 524292 && s && M && ze(M, s), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
540
540
  2097156 && M && Ie(M, `${W}.Style`);
541
541
  }, [
542
- o,
542
+ l,
543
543
  _,
544
544
  M,
545
545
  G,
@@ -562,7 +562,7 @@ function tt(a, e, t) {
562
562
  b,
563
563
  W,
564
564
  r,
565
- l,
565
+ o,
566
566
  ue,
567
567
  ge,
568
568
  fe,