@everymatrix/casino-lobby 1.62.0 → 1.62.2

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 (127) hide show
  1. package/components/CasinoCalendar-B4GcXKnc.cjs +22 -0
  2. package/components/{CasinoCalendar-Ds_auLbt.js → CasinoCalendar-CinFtvuW.js} +1099 -1078
  3. package/components/{CasinoCalendar-DwNK-Krf.js → CasinoCalendar-zRo_9Za0.js} +873 -852
  4. package/components/{CasinoCalendarDailyDetails-CfPB55Pq.cjs → CasinoCalendarDailyDetails-Cn37GUIj.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-C_XI9wqh.js → CasinoCalendarDailyDetails-DL8uHwSN.js} +49 -49
  6. package/components/{CasinoCalendarDailyDetails-Bsp_M9tm.js → CasinoCalendarDailyDetails-qkwXMyxI.js} +49 -49
  7. package/components/{CasinoCalendarDailyItem-DKNNV9h9.cjs → CasinoCalendarDailyItem-Bo9evLEj.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DX4mmW--.js → CasinoCalendarDailyItem-DcqDKyz5.js} +33 -33
  9. package/components/{CasinoCalendarDailyItem-BZFRiT1-.js → CasinoCalendarDailyItem-DoK3veTp.js} +33 -33
  10. package/components/{CasinoCategoriesSlider-3nT06xt_.js → CasinoCategoriesSlider-BBVXEukg.js} +70 -70
  11. package/components/{CasinoCategoriesSlider-BpGXCaMb.js → CasinoCategoriesSlider-YxbN9BpC.js} +71 -71
  12. package/components/CasinoCategoriesSlider-n2yKGzdi.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-Dk4psn1e.js → CasinoCollectionsProviders-BvaxV9cb.js} +77 -77
  14. package/components/CasinoCollectionsProviders-CPX65G1M.cjs +1 -0
  15. package/components/{CasinoCollectionsProviders-BGPURFbw.js → CasinoCollectionsProviders-Q0qcn7b_.js} +58 -58
  16. package/components/{CasinoFavoritesSection-vRmZpBaX.cjs → CasinoFavoritesSection-B1f0uSCY.cjs} +1 -1
  17. package/components/{CasinoFavoritesSection-C0CsEcw_.js → CasinoFavoritesSection-CR--CUNF.js} +23 -23
  18. package/components/{CasinoFavoritesSection-Bc0fMYjF.js → CasinoFavoritesSection-DG1Vt4HX.js} +23 -23
  19. package/components/CasinoFilter-ChsEa9Bx.js +645 -0
  20. package/components/CasinoFilter-DbcntrTg.js +644 -0
  21. package/components/CasinoFilter-DhiwjMr2.cjs +1 -0
  22. package/components/{CasinoGamePage-JBZLEvnG.js → CasinoGamePage-C7LOIY6s.js} +783 -783
  23. package/components/{CasinoGamePage-ChuDdD-6.cjs → CasinoGamePage-CmF8v1Cv.cjs} +6 -6
  24. package/components/{CasinoGamePage-DJvIg2Lf.js → CasinoGamePage-DccB7M76.js} +746 -746
  25. package/components/CasinoGameThumbnail-BtO5lRYS.cjs +38 -0
  26. package/components/CasinoGameThumbnail-CZYWQzTY.js +1836 -0
  27. package/components/CasinoGameThumbnail-DZFIn3jP.js +1852 -0
  28. package/components/{CasinoGamesCategorySection-GOjPf7-0.cjs → CasinoGamesCategorySection-CQaK0CN3.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-foSq_Gr6.js → CasinoGamesCategorySection-CujQbdKb.js} +249 -249
  30. package/components/{CasinoGamesCategorySection-Ch0WIANe.js → CasinoGamesCategorySection-DFNU_Gsz.js} +332 -332
  31. package/components/{CasinoJackpotBanner-Iq9Ey3dk.js → CasinoJackpotBanner-BhgV3UvA.js} +131 -131
  32. package/components/{CasinoJackpotBanner-B2CksgLI.js → CasinoJackpotBanner-CkVmxLVH.js} +163 -163
  33. package/components/CasinoJackpotBanner-D5DqHlAR.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-DbANdFuL.js → CasinoLastPlayedSection-CE97lSQ6.js} +46 -46
  35. package/components/{CasinoLastPlayedSection-Bp4Lsv3s.js → CasinoLastPlayedSection-CTorwEQu.js} +46 -46
  36. package/components/{CasinoLastPlayedSection-cmf92qRb.cjs → CasinoLastPlayedSection-U57Y5miR.cjs} +1 -1
  37. package/components/{CasinoLobby-siRHhGuy.js → CasinoLobby-80EyIh80.js} +74 -74
  38. package/components/{CasinoLobby-CAeLQ5BE.cjs → CasinoLobby-C1-TdZOS.cjs} +1 -1
  39. package/components/{CasinoLobby-B8ucHOFp.js → CasinoLobby-hiqWHHHg.js} +73 -73
  40. package/components/{CasinoModal-DGa_AIvk.cjs → CasinoModal-7GCtnm_K.cjs} +1 -1
  41. package/components/{CasinoModal-Pt4nHM76.js → CasinoModal-DRoX6zuP.js} +43 -43
  42. package/components/{CasinoModal-e0s3ToYA.js → CasinoModal-DTJpGGWW.js} +43 -43
  43. package/components/{CasinoMostPlayedSection-Dk8rng9q.js → CasinoMostPlayedSection-CKuVf-En.js} +44 -44
  44. package/components/{CasinoMostPlayedSection-Cxmg0Bai.cjs → CasinoMostPlayedSection-Cptq1E56.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-DuO2XrE8.js → CasinoMostPlayedSection-oxfCPIeN.js} +44 -44
  46. package/components/{CasinoMyGames-BXV5DJsV.cjs → CasinoMyGames-DhHqogUJ.cjs} +1 -1
  47. package/components/{CasinoMyGames-ZgZazIms.js → CasinoMyGames-gq_8VbcF.js} +47 -47
  48. package/components/{CasinoMyGames-DDhJiodD.js → CasinoMyGames-sC9ouRW_.js} +51 -51
  49. package/components/{CasinoPage-BfG57-mo.js → CasinoPage-BCAEtuBw.js} +77 -77
  50. package/components/{CasinoPage-DlenCL5e.js → CasinoPage-Bh2MrJ1P.js} +77 -77
  51. package/components/{CasinoPage-QkYfyrIK.cjs → CasinoPage-BzbZtzqt.cjs} +1 -1
  52. package/components/{CasinoRandomGame-CFxey-Hj.js → CasinoRandomGame-CbQvQHMi.js} +165 -166
  53. package/components/CasinoRandomGame-D4bGW7wH.cjs +2 -0
  54. package/components/{CasinoRandomGame-C-KByRhW.js → CasinoRandomGame-neIdOgUC.js} +201 -202
  55. package/components/{CasinoSearch-BjnGir-z.js → CasinoSearch-B65DzQEn.js} +69 -69
  56. package/components/{CasinoSearch-Ci-NvpMW.cjs → CasinoSearch-BYuM1VFZ.cjs} +1 -1
  57. package/components/{CasinoSearch-Cwi_srKc.js → CasinoSearch-d7Y-IpLr.js} +69 -69
  58. package/components/CasinoSlider-CotyciEv.cjs +1 -0
  59. package/components/{CasinoSlider-39QtmWWi.js → CasinoSlider-DGETBGTm.js} +177 -178
  60. package/components/{CasinoSlider-C7tccz8y.js → CasinoSlider-TfFHBss2.js} +228 -229
  61. package/components/{CasinoSort-DgtkEGDb.js → CasinoSort-B-2h6Htw.js} +110 -111
  62. package/components/{CasinoSort-BvuV6OEx.js → CasinoSort-Cmgp5JM5.js} +104 -103
  63. package/components/{CasinoSort-Big21575.cjs → CasinoSort-X6V8pABW.cjs} +1 -1
  64. package/components/{CasinoWinners-CAaxaJlt.js → CasinoWinners-BSQs3S54.js} +151 -151
  65. package/components/{CasinoWinners-YGc-x05i.cjs → CasinoWinners-CuaTZjz4.cjs} +1 -1
  66. package/components/{CasinoWinners-CUHNrZzd.js → CasinoWinners-CyDC7j5x.js} +138 -138
  67. package/components/{GeneralAnimationLoading-DgYbDns-.js → GeneralAnimationLoading-B1-7gNLR.js} +18 -18
  68. package/components/{GeneralAnimationLoading-GRiNTyhV.js → GeneralAnimationLoading-BV3DII71.js} +18 -18
  69. package/components/{GeneralAnimationLoading-DS00gkfg.cjs → GeneralAnimationLoading-DasE8cAb.cjs} +1 -1
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-C7EJAFXg.js → casino-play-random-game-6EpPs13y.js} +2 -2
  75. package/stencil/{casino-play-random-game-BXqbLgi6.js → casino-play-random-game-BUvMKyaw.js} +2 -2
  76. package/stencil/{casino-play-random-game-DjzHFI4S.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  77. package/stencil/index-97d17652-B8yQdy7J.js +542 -0
  78. package/stencil/index-97d17652-C616IYj2.js +558 -0
  79. package/stencil/index-97d17652-C9Ph2JiE.cjs +1 -0
  80. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  81. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  82. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  83. package/stencil/index-b2193545-60VR4wV3.js +519 -0
  84. package/stencil/index-b2193545-LYFajSbf.js +503 -0
  85. package/stencil/index-b2193545-nJb2J-aJ.cjs +1 -0
  86. package/stencil/ui-image-7da92f1f-26DzsVFt.js +39 -0
  87. package/stencil/ui-image-7da92f1f-BAghvEDf.js +39 -0
  88. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
  89. package/stencil/ui-image-BSTP7sZO.js +7 -0
  90. package/stencil/ui-image-C3XzpHRB.cjs +1 -0
  91. package/stencil/ui-image-CYB9UUHg.js +25 -0
  92. package/stencil/ui-image_2-BXgptLvl.js +154 -0
  93. package/stencil/ui-image_2-Cctik3aF.cjs +73 -0
  94. package/stencil/ui-image_2-Cyqb4u7k.js +154 -0
  95. package/stencil/{ui-skeleton-6d1c12ae-CrQ3Yom_.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
  96. package/stencil/{ui-skeleton-6d1c12ae-C2t65ZQ6.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
  97. package/stencil/{ui-skeleton-6d1c12ae-D9cBvSa8.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
  98. package/stencil/{ui-skeleton-BEBLuDwu.js → ui-skeleton-CDhNSEbX.js} +2 -2
  99. package/stencil/{ui-skeleton-D595e_7Y.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
  100. package/stencil/{ui-skeleton-Z7IcB7dJ.js → ui-skeleton-D5ACyLBl.js} +2 -2
  101. package/components/CasinoCalendar-mfnJr7FR.cjs +0 -22
  102. package/components/CasinoCategoriesSlider-BcnId76H.cjs +0 -1
  103. package/components/CasinoCollectionsProviders-By4Ga1uR.cjs +0 -1
  104. package/components/CasinoFilter-CAtpk4a4.js +0 -645
  105. package/components/CasinoFilter-CtjgbEie.js +0 -646
  106. package/components/CasinoFilter-dn8i37bN.cjs +0 -1
  107. package/components/CasinoGameThumbnail-DjAdZZBA.js +0 -1883
  108. package/components/CasinoGameThumbnail-DrQpg0EE.js +0 -1867
  109. package/components/CasinoGameThumbnail-Ue2ReDmO.cjs +0 -38
  110. package/components/CasinoJackpotBanner-B_eZxp_D.cjs +0 -1
  111. package/components/CasinoRandomGame-Cs9kjDxc.cjs +0 -2
  112. package/components/CasinoSlider-DrdLTNh9.cjs +0 -1
  113. package/stencil/index-ab3202d6-CMLJROQf.cjs +0 -1
  114. package/stencil/index-ab3202d6-CqQYxn8J.js +0 -575
  115. package/stencil/index-ab3202d6-D5caeC50.js +0 -559
  116. package/stencil/index-b2193545-CJX9lIo2.js +0 -519
  117. package/stencil/index-b2193545-CbB5TWd2.js +0 -503
  118. package/stencil/index-b2193545-DQd_Uk3t.cjs +0 -1
  119. package/stencil/index-b7bbd57e-BO976FKE.js +0 -534
  120. package/stencil/index-b7bbd57e-CRts68dn.cjs +0 -1
  121. package/stencil/index-b7bbd57e-ChiHMF5W.js +0 -550
  122. package/stencil/ui-image-38c3c15f-C4x7O9FA.js +0 -39
  123. package/stencil/ui-image-38c3c15f-DQqFo7p2.cjs +0 -1
  124. package/stencil/ui-image-38c3c15f-DY2A0QkK.js +0 -39
  125. package/stencil/ui-image-CzWACXX6.js +0 -11
  126. package/stencil/ui-image-c5YAxRRi.cjs +0 -1
  127. package/stencil/ui-image-shmNN3yX.js +0 -29
@@ -1,17 +1,16 @@
1
- import { $ as O, U as _e, a as we, S as Ge, i as Re, f as v, c as xe, s as ke, b as ve, e as _, w as F, y as u, d as x, z as h, A as D, h as P, t as U, g as Me, j as k, k as Ce, o as Fe, l as Le, u as Se, B as Te, C as We, D as je, n as Ne, P as ze, q as Y, r as Be, m as Ie, K, G as Je, x as S, E as T, v as X, F as Pe, H as L, I as Z, J as De, O as Ae, R as He } from "./CasinoCalendar-Ds_auLbt.js";
2
- import "../stencil/ui-image-CzWACXX6.js";
3
- function Oe({ withLocale: a, translations: e }) {
4
- O.subscribe((t) => {
5
- t == null && (_e.set(e), O.set(a));
1
+ import { $ as H, U as be, a as we, S as _e, i as Ge, s as Re, f as v, b as xe, d as x, t as O, c as J, g as ke, e as ve, h as k, p as h, A as D, j as w, B as F, r as u, k as Me, o as Ce, u as Fe, x as Le, y as Se, z as Te, O as We, C as V, n as je, F as Y, m as L, q as S, Q as Ne, v as K, w as ze, D as Q, R as Be, J as Ie, K as Je, L as De, M as Pe, N as Ae } from "./CasinoCalendar-CinFtvuW.js";
2
+ function He({ withLocale: a, translations: e }) {
3
+ H.subscribe((t) => {
4
+ t == null && (be.set(e), H.set(a));
6
5
  });
7
6
  }
8
- function Q(a, e) {
7
+ function X(a, e) {
9
8
  we(a, e);
10
9
  }
11
- function Ue(a) {
12
- O.set(a);
10
+ function Oe(a) {
11
+ H.set(a);
13
12
  }
14
- const $ = {
13
+ const Z = {
15
14
  en: {
16
15
  playRandomGame: "Play a random game",
17
16
  randomGameLoading: "Selecting ...",
@@ -85,39 +84,39 @@ const $ = {
85
84
  noGames: "There are no random games to play"
86
85
  }
87
86
  };
88
- function Ee(a) {
89
- ve(a, "svelte-fd0a5p", "*,*::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}.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, #D0046C));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{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, #D0046C));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, #D0046C));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}");
87
+ function Ue(a) {
88
+ xe(a, "svelte-fd0a5p", "*,*::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}.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, #D0046C));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{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, #D0046C));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, #D0046C));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}");
90
89
  }
91
- function ee(a, e, t) {
90
+ function $(a, e, t) {
92
91
  const n = a.slice();
93
92
  return n[41] = e[t], n;
94
93
  }
95
- const qe = (a) => ({}), te = (a) => ({});
96
- function ae(a) {
94
+ const qe = (a) => ({}), ee = (a) => ({});
95
+ function te(a) {
97
96
  let e, t, n, l, s, c, f;
98
97
  const p = (
99
98
  /*#slots*/
100
99
  a[23].close
101
- ), g = Se(
100
+ ), g = Fe(
102
101
  p,
103
102
  a,
104
103
  /*$$scope*/
105
104
  a[22],
106
- te
107
- ), o = g || Ve();
108
- function w(r, b) {
105
+ ee
106
+ ), o = g || Ee();
107
+ function _(r, b) {
109
108
  return (
110
109
  /*hasRandomGames*/
111
- r[7] ? Ke : Ye
110
+ r[7] ? Ye : Ve
112
111
  );
113
112
  }
114
- let m = w(a), d = m(a);
113
+ let m = _(a), d = m(a);
115
114
  return {
116
115
  c() {
117
- e = _("div"), t = _("div"), n = _("span"), o && o.c(), l = F(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
116
+ e = w("div"), t = w("div"), n = w("span"), o && o.c(), l = F(), d.c(), u(n, "class", "ModalCloseBtn"), u(n, "role", "button"), u(t, "class", "ModalContainer"), u(e, "class", "ModalWindow");
118
117
  },
119
118
  m(r, b) {
120
- x(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), d.m(t, null), s = !0, c || (f = D(
119
+ k(r, e, b), h(e, t), h(t, n), o && o.m(n, null), h(t, l), d.m(t, null), s = !0, c || (f = D(
121
120
  n,
122
121
  "click",
123
122
  /*closeModal*/
@@ -126,189 +125,189 @@ function ae(a) {
126
125
  },
127
126
  p(r, b) {
128
127
  g && g.p && (!s || b[0] & /*$$scope*/
129
- 4194304) && Te(
128
+ 4194304) && Le(
130
129
  g,
131
130
  p,
132
131
  r,
133
132
  /*$$scope*/
134
133
  r[22],
135
- s ? je(
134
+ s ? Te(
136
135
  p,
137
136
  /*$$scope*/
138
137
  r[22],
139
138
  b,
140
139
  qe
141
- ) : We(
140
+ ) : Se(
142
141
  /*$$scope*/
143
142
  r[22]
144
143
  ),
145
- te
146
- ), m === (m = w(r)) && d ? d.p(r, b) : (d.d(1), d = m(r), d && (d.c(), d.m(t, null)));
144
+ ee
145
+ ), m === (m = _(r)) && d ? d.p(r, b) : (d.d(1), d = m(r), d && (d.c(), d.m(t, null)));
147
146
  },
148
147
  i(r) {
149
- s || (P(o, r), s = !0);
148
+ s || (J(o, r), s = !0);
150
149
  },
151
150
  o(r) {
152
- U(o, r), s = !1;
151
+ O(o, r), s = !1;
153
152
  },
154
153
  d(r) {
155
- r && k(e), o && o.d(r), d.d(), c = !1, f();
154
+ r && x(e), o && o.d(r), d.d(), c = !1, f();
156
155
  }
157
156
  };
158
157
  }
159
- function Ve(a) {
158
+ function Ee(a) {
160
159
  let e, t;
161
160
  return {
162
161
  c() {
163
- 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");
162
+ e = Y("svg"), t = Y("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");
164
163
  },
165
164
  m(n, l) {
166
- x(n, e, l), h(e, t);
165
+ k(n, e, l), h(e, t);
167
166
  },
168
- p: Je,
167
+ p: je,
169
168
  d(n) {
170
- n && k(e);
169
+ n && x(e);
171
170
  }
172
171
  };
173
172
  }
174
- function Ye(a) {
173
+ function Ve(a) {
175
174
  let e, t = (
176
175
  /*$_*/
177
176
  a[9]("noGames") + ""
178
177
  ), n;
179
178
  return {
180
179
  c() {
181
- e = _("p"), n = S(t), u(e, "class", "RandomGameLoading");
180
+ e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
182
181
  },
183
182
  m(l, s) {
184
- x(l, e, s), h(e, n);
183
+ k(l, e, s), h(e, n);
185
184
  },
186
185
  p(l, s) {
187
186
  s[0] & /*$_*/
188
187
  512 && t !== (t = /*$_*/
189
- l[9]("noGames") + "") && T(n, t);
188
+ l[9]("noGames") + "") && L(n, t);
190
189
  },
191
190
  d(l) {
192
- l && k(e);
191
+ l && x(e);
193
192
  }
194
193
  };
195
194
  }
196
- function Ke(a) {
197
- let e, t, n, l, s = X(
195
+ function Ye(a) {
196
+ let e, t, n, l, s = K(
198
197
  /*gamesToShow*/
199
198
  a[4]
200
199
  ), c = [];
201
200
  for (let o = 0; o < s.length; o += 1)
202
- c[o] = ne(ee(a, s, o));
203
- function f(o, w) {
201
+ c[o] = ae($(a, s, o));
202
+ function f(o, _) {
204
203
  return (
205
204
  /*animationDone*/
206
- o[6] ? Ze : Xe
205
+ o[6] ? Qe : Ke
207
206
  );
208
207
  }
209
208
  let p = f(a), g = p(a);
210
209
  return {
211
210
  c() {
212
- e = _("div"), t = _("main"), n = _("div");
211
+ e = w("div"), t = w("main"), n = w("div");
213
212
  for (let o = 0; o < c.length; o += 1)
214
213
  c[o].c();
215
214
  l = F(), g.c(), u(n, "class", "GamesContainer"), u(t, "class", "RandomGamesSliderWrapper"), u(e, "class", "RandomGameWrapper");
216
215
  },
217
- m(o, w) {
218
- x(o, e, w), h(e, t), h(t, n);
216
+ m(o, _) {
217
+ k(o, e, _), h(e, t), h(t, n);
219
218
  for (let m = 0; m < c.length; m += 1)
220
219
  c[m] && c[m].m(n, null);
221
220
  a[24](n), h(e, l), g.m(e, null);
222
221
  },
223
- p(o, w) {
224
- if (w[0] & /*gamesToShow*/
222
+ p(o, _) {
223
+ if (_[0] & /*gamesToShow*/
225
224
  16) {
226
- s = X(
225
+ s = K(
227
226
  /*gamesToShow*/
228
227
  o[4]
229
228
  );
230
229
  let m;
231
230
  for (m = 0; m < s.length; m += 1) {
232
- const d = ee(o, s, m);
233
- c[m] ? c[m].p(d, w) : (c[m] = ne(d), c[m].c(), c[m].m(n, null));
231
+ const d = $(o, s, m);
232
+ c[m] ? c[m].p(d, _) : (c[m] = ae(d), c[m].c(), c[m].m(n, null));
234
233
  }
235
234
  for (; m < c.length; m += 1)
236
235
  c[m].d(1);
237
236
  c.length = s.length;
238
237
  }
239
- p === (p = f(o)) && g ? g.p(o, w) : (g.d(1), g = p(o), g && (g.c(), g.m(e, null)));
238
+ p === (p = f(o)) && g ? g.p(o, _) : (g.d(1), g = p(o), g && (g.c(), g.m(e, null)));
240
239
  },
241
240
  d(o) {
242
- o && k(e), Pe(c, o), a[24](null), g.d();
241
+ o && x(e), ze(c, o), a[24](null), g.d();
243
242
  }
244
243
  };
245
244
  }
246
- function ne(a) {
245
+ function ae(a) {
247
246
  let e, t, n, l, s, c;
248
247
  return {
249
248
  c() {
250
- e = _("div"), t = _("ui-image"), c = F(), L(t, "imgClass", "RandomGameImage"), Z(t.src, n = /*game*/
251
- a[41].thumbnail) || L(t, "src", n), L(t, "alt", l = /*game*/
252
- a[41].name), L(t, "title", s = /*game*/
249
+ e = w("div"), t = w("img"), c = F(), u(t, "class", "RandomGameImage"), Q(t.src, n = /*game*/
250
+ a[41].thumbnail) || u(t, "src", n), u(t, "alt", l = /*game*/
251
+ a[41].name), u(t, "title", s = /*game*/
253
252
  a[41].name), u(e, "class", "item");
254
253
  },
255
254
  m(f, p) {
256
- x(f, e, p), h(e, t), h(e, c);
255
+ k(f, e, p), h(e, t), h(e, c);
257
256
  },
258
257
  p(f, p) {
259
258
  p[0] & /*gamesToShow*/
260
- 16 && !Z(t.src, n = /*game*/
261
- f[41].thumbnail) && L(t, "src", n), p[0] & /*gamesToShow*/
259
+ 16 && !Q(t.src, n = /*game*/
260
+ f[41].thumbnail) && u(t, "src", n), p[0] & /*gamesToShow*/
262
261
  16 && l !== (l = /*game*/
263
- f[41].name) && L(t, "alt", l), p[0] & /*gamesToShow*/
262
+ f[41].name) && u(t, "alt", l), p[0] & /*gamesToShow*/
264
263
  16 && s !== (s = /*game*/
265
- f[41].name) && L(t, "title", s);
264
+ f[41].name) && u(t, "title", s);
266
265
  },
267
266
  d(f) {
268
- f && k(e);
267
+ f && x(e);
269
268
  }
270
269
  };
271
270
  }
272
- function Xe(a) {
271
+ function Ke(a) {
273
272
  let e, t = (
274
273
  /*$_*/
275
274
  a[9]("randomGameLoading") + ""
276
275
  ), n;
277
276
  return {
278
277
  c() {
279
- e = _("p"), n = S(t), u(e, "class", "RandomGameLoading");
278
+ e = w("p"), n = S(t), u(e, "class", "RandomGameLoading");
280
279
  },
281
280
  m(l, s) {
282
- x(l, e, s), h(e, n);
281
+ k(l, e, s), h(e, n);
283
282
  },
284
283
  p(l, s) {
285
284
  s[0] & /*$_*/
286
285
  512 && t !== (t = /*$_*/
287
- l[9]("randomGameLoading") + "") && T(n, t);
286
+ l[9]("randomGameLoading") + "") && L(n, t);
288
287
  },
289
288
  d(l) {
290
- l && k(e);
289
+ l && x(e);
291
290
  }
292
291
  };
293
292
  }
294
- function Ze(a) {
293
+ function Qe(a) {
295
294
  let e, t, n, l, s = (
296
295
  /*randomGame*/
297
296
  a[3].name + ""
298
297
  ), c, f, p, g = (
299
298
  /*randomGame*/
300
299
  a[3].vendor.name + ""
301
- ), o, w, m, d = (
300
+ ), o, _, m, d = (
302
301
  /*$_*/
303
302
  a[9]("playNowRandomGame") + ""
304
- ), r, b, W;
303
+ ), r, b, T;
305
304
  return {
306
305
  c() {
307
- e = _("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));}
308
- </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 = F(), n = _("div"), l = _("p"), c = S(s), f = F(), p = _("p"), o = S(g), w = F(), m = _("button"), r = S(d), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(p, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
306
+ 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));}
307
+ </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 = F(), n = w("div"), l = w("p"), c = S(s), f = F(), p = w("p"), o = S(g), _ = F(), m = w("button"), r = S(d), u(e, "class", "RandomTryAgain"), u(l, "class", "RandomGameTitle"), u(p, "class", "RandomGameVendor"), u(m, "class", "RandomGamePlay"), u(n, "class", "RandomGameDetails");
309
308
  },
310
309
  m(R, G) {
311
- x(R, e, G), x(R, t, G), x(R, n, G), h(n, l), h(l, c), h(n, f), h(n, p), h(p, o), h(n, w), h(n, m), h(m, r), b || (W = [
310
+ k(R, e, G), k(R, t, G), k(R, n, G), h(n, l), h(l, c), h(n, f), h(n, p), h(p, o), h(n, _), h(n, m), h(m, r), b || (T = [
312
311
  D(
313
312
  e,
314
313
  "click",
@@ -326,86 +325,86 @@ function Ze(a) {
326
325
  p(R, G) {
327
326
  G[0] & /*randomGame*/
328
327
  8 && s !== (s = /*randomGame*/
329
- R[3].name + "") && T(c, s), G[0] & /*randomGame*/
328
+ R[3].name + "") && L(c, s), G[0] & /*randomGame*/
330
329
  8 && g !== (g = /*randomGame*/
331
- R[3].vendor.name + "") && T(o, g), G[0] & /*$_*/
330
+ R[3].vendor.name + "") && L(o, g), G[0] & /*$_*/
332
331
  512 && d !== (d = /*$_*/
333
- R[9]("playNowRandomGame") + "") && T(r, d);
332
+ R[9]("playNowRandomGame") + "") && L(r, d);
334
333
  },
335
334
  d(R) {
336
- R && (k(e), k(t), k(n)), b = !1, He(W);
335
+ R && (x(e), x(t), x(n)), b = !1, Be(T);
337
336
  }
338
337
  };
339
338
  }
340
- function Qe(a) {
339
+ function Xe(a) {
341
340
  let e, t = (
342
341
  /*$_*/
343
342
  a[9]("playRandomGame") + ""
344
343
  ), n;
345
344
  return {
346
345
  c() {
347
- e = _("span"), n = S(t), u(e, "class", "RandomButtonText");
346
+ e = w("span"), n = S(t), u(e, "class", "RandomButtonText");
348
347
  },
349
348
  m(l, s) {
350
- x(l, e, s), h(e, n);
349
+ k(l, e, s), h(e, n);
351
350
  },
352
351
  p(l, s) {
353
352
  s[0] & /*$_*/
354
353
  512 && t !== (t = /*$_*/
355
- l[9]("playRandomGame") + "") && T(n, t);
354
+ l[9]("playRandomGame") + "") && L(n, t);
356
355
  },
357
356
  d(l) {
358
- l && k(e);
357
+ l && x(e);
359
358
  }
360
359
  };
361
360
  }
362
- function $e(a) {
361
+ function Ze(a) {
363
362
  let e, t;
364
363
  return {
365
364
  c() {
366
- e = _("span"), t = S(
365
+ e = w("span"), t = S(
367
366
  /*buttontext*/
368
367
  a[1]
369
368
  ), u(e, "class", "RandomButtonText");
370
369
  },
371
370
  m(n, l) {
372
- x(n, e, l), h(e, t);
371
+ k(n, e, l), h(e, t);
373
372
  },
374
373
  p(n, l) {
375
374
  l[0] & /*buttontext*/
376
- 2 && T(
375
+ 2 && L(
377
376
  t,
378
377
  /*buttontext*/
379
378
  n[1]
380
379
  );
381
380
  },
382
381
  d(n) {
383
- n && k(e);
382
+ n && x(e);
384
383
  }
385
384
  };
386
385
  }
387
- function et(a) {
386
+ function $e(a) {
388
387
  let e, t, n, l, s, c, f, p, g, o = (
389
388
  /*show*/
390
- a[5] && ae(a)
389
+ a[5] && te(a)
391
390
  );
392
- function w(r, b) {
391
+ function _(r, b) {
393
392
  if (
394
393
  /*buttontext*/
395
394
  r[1]
396
395
  )
397
- return $e;
396
+ return Ze;
398
397
  if (!/*buttontext*/
399
398
  r[1])
400
- return Qe;
399
+ return Xe;
401
400
  }
402
- let m = w(a), d = m && m(a);
401
+ let m = _(a), d = m && m(a);
403
402
  return {
404
403
  c() {
405
- e = _("div"), o && o.c(), t = F(), n = _("div"), l = _("button"), d && d.c(), s = F(), c = _("span"), u(c, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
404
+ e = w("div"), o && o.c(), t = F(), n = w("div"), l = w("button"), d && d.c(), s = F(), c = w("span"), u(c, "class", "RandomButtonIcon"), u(l, "class", "RandomButton"), u(n, "class", "RandomButtonWrapper");
406
405
  },
407
406
  m(r, b) {
408
- x(r, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), d && d.m(l, null), h(l, s), h(l, c), c.innerHTML = /*randombuttonicon*/
407
+ k(r, e, b), o && o.m(e, null), h(e, t), h(e, n), h(n, l), d && d.m(l, null), h(l, s), h(l, c), c.innerHTML = /*randombuttonicon*/
409
408
  a[0], a[28](e), f = !0, p || (g = D(
410
409
  l,
411
410
  "click",
@@ -416,127 +415,127 @@ function et(a) {
416
415
  p(r, b) {
417
416
  /*show*/
418
417
  r[5] ? o ? (o.p(r, b), b[0] & /*show*/
419
- 32 && P(o, 1)) : (o = ae(r), o.c(), P(o, 1), o.m(e, t)) : o && (Ne(), U(o, 1, 1, () => {
418
+ 32 && J(o, 1)) : (o = te(r), o.c(), J(o, 1), o.m(e, t)) : o && (ke(), O(o, 1, 1, () => {
420
419
  o = null;
421
- }), Me()), m === (m = w(r)) && d ? d.p(r, b) : (d && d.d(1), d = m && m(r), d && (d.c(), d.m(l, s))), (!f || b[0] & /*randombuttonicon*/
420
+ }), ve()), m === (m = _(r)) && d ? d.p(r, b) : (d && d.d(1), d = m && m(r), d && (d.c(), d.m(l, s))), (!f || b[0] & /*randombuttonicon*/
422
421
  1) && (c.innerHTML = /*randombuttonicon*/
423
422
  r[0]);
424
423
  },
425
424
  i(r) {
426
- f || (P(o), f = !0);
425
+ f || (J(o), f = !0);
427
426
  },
428
427
  o(r) {
429
- U(o), f = !1;
428
+ O(o), f = !1;
430
429
  },
431
430
  d(r) {
432
- r && k(e), o && o.d(), d && d.d(), a[28](null), p = !1, g();
431
+ r && x(e), o && o.d(), d && d.d(), a[28](null), p = !1, g();
433
432
  }
434
433
  };
435
434
  }
436
- function tt(a, e, t) {
435
+ function et(a, e, t) {
437
436
  let n;
438
- Ce(a, De, (i) => t(9, n = i));
439
- let { $$slots: l = {}, $$scope: s } = e, { endpoint: c = "" } = e, { datasource: f = "" } = e, { gameevent: p = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: w = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: W } = e, R = [], G = "", j, z = !1, A = !1, I = !1, oe = window.navigator.userAgent, M, N, E, J, q = null;
440
- Oe({ withLocale: "en", translations: {} });
441
- const le = () => {
437
+ Me(a, Ae, (i) => t(9, n = i));
438
+ let { $$slots: l = {}, $$scope: s } = e, { endpoint: c = "" } = e, { datasource: f = "" } = e, { gameevent: p = "" } = e, { lang: g = "" } = e, { randombuttonicon: o = "" } = e, { buttontext: _ = "" } = e, { translationurl: m = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: r = "" } = e, { filteredrandomgamecategories: b = "" } = e, { mbsource: T } = e, R = [], G = "", W, N = !1, P = !1, B = !1, ne = window.navigator.userAgent, M, j, U, I, q = null;
439
+ He({ withLocale: "en", translations: {} });
440
+ const oe = () => {
442
441
  fetch(m).then((y) => y.json()).then((y) => {
443
442
  Object.keys(y).forEach((C) => {
444
- Q(C, y[C]);
443
+ X(C, y[C]);
445
444
  });
446
445
  }).catch((y) => {
447
446
  console.log(y);
448
447
  });
449
448
  };
450
- Object.keys($).forEach((i) => {
451
- Q(i, $[i]);
449
+ Object.keys(Z).forEach((i) => {
450
+ X(i, Z[i]);
452
451
  });
453
- const ie = () => {
452
+ const le = () => {
454
453
  let i = new URL(`${c}/v1/casino/games`);
455
- i.searchParams.append("platform", ze(oe)), i.searchParams.append("datasource", f), 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) => {
456
- R = y.items, R.length ? (t(4, j = re(R.slice(0, 19))), t(7, I = !0)) : (t(4, j = []), t(7, I = !1));
454
+ i.searchParams.append("platform", We(ne)), i.searchParams.append("datasource", f), 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) => {
455
+ R = y.items, R.length ? (t(4, W = ie(R.slice(0, 19))), t(7, B = !0)) : (t(4, W = []), t(7, B = !1));
457
456
  }).catch((y) => {
458
- console.log(y), t(7, I = !1);
457
+ console.log(y), t(7, B = !1);
459
458
  });
460
- }, re = (i) => {
461
- const y = me(i);
459
+ }, ie = (i) => {
460
+ const y = se(i);
462
461
  return y.concat(y);
463
- }, se = async () => {
464
- await Ae(), J = Math.floor(Math.random() * (j.length / 2)) + j.length / 2, t(3, G = j[J]), E = N.children[J];
465
- }, H = async () => {
466
- t(6, A = !1), t(5, z = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await se();
467
- const i = window.getComputedStyle(N).getPropertyValue("gap"), y = parseInt(i, 10) || 0, B = (E.offsetHeight + y) * J, ye = [
462
+ }, re = async () => {
463
+ await Ne(), I = Math.floor(Math.random() * (W.length / 2)) + W.length / 2, t(3, G = W[I]), U = j.children[I];
464
+ }, A = async () => {
465
+ t(6, P = !1), t(5, N = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), await re();
466
+ const i = window.getComputedStyle(j).getPropertyValue("gap"), y = parseInt(i, 10) || 0, z = (U.offsetHeight + y) * I, he = [
468
467
  { transform: "translateX(0px)" },
469
468
  { filter: "blur(5px)" },
470
469
  {
471
- transform: `translateY(-${B}px)`
470
+ transform: `translateY(-${z}px)`
472
471
  }
473
- ], be = {
472
+ ], ye = {
474
473
  duration: 2e3,
475
474
  easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
476
475
  fill: "forwards"
477
476
  };
478
- q = N.animate(ye, be), q.onfinish = () => {
479
- t(6, A = !0);
477
+ q = j.animate(he, ye), q.onfinish = () => {
478
+ t(6, P = !0);
480
479
  };
481
- }, me = (i) => {
480
+ }, se = (i) => {
482
481
  const y = structuredClone(i);
483
- let C = y.length, B;
482
+ let C = y.length, z;
484
483
  for (; C != 0; )
485
- B = Math.floor(Math.random() * C), C--, [y[C], y[B]] = [y[B], y[C]];
484
+ z = Math.floor(Math.random() * C), C--, [y[C], y[z]] = [y[z], y[C]];
486
485
  return y;
487
- }, V = () => {
486
+ }, E = () => {
488
487
  window.postMessage(
489
488
  {
490
489
  type: p,
491
490
  gameId: G.gId || G.id
492
491
  },
493
492
  window.location.href
494
- ), t(5, z = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
493
+ ), t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: !1 }, window.location.href), typeof gtag == "function" && gtag("event", "OpenGame", {
495
494
  context: "RandomGameWidget",
496
495
  gameId: `${G.gId || G.id}`
497
496
  });
497
+ }, me = () => {
498
+ t(5, N = !1), window.postMessage({ type: "RandomWidgetState", state: N }, window.location.href);
498
499
  }, de = () => {
499
- t(5, z = !1), window.postMessage({ type: "RandomWidgetState", state: z }, window.location.href);
500
- }, ce = () => {
501
- Ue(g);
500
+ Oe(g);
502
501
  };
503
- Fe(() => () => {
502
+ Ce(() => () => {
504
503
  });
505
- function ue(i) {
506
- Y[i ? "unshift" : "push"](() => {
507
- N = i, t(8, N);
504
+ function ce(i) {
505
+ V[i ? "unshift" : "push"](() => {
506
+ j = i, t(8, j);
508
507
  });
509
508
  }
510
- const ge = () => H(), fe = () => V(), pe = () => H();
511
- function he(i) {
512
- Y[i ? "unshift" : "push"](() => {
509
+ const ue = () => A(), ge = () => E(), fe = () => A();
510
+ function pe(i) {
511
+ V[i ? "unshift" : "push"](() => {
513
512
  M = i, t(2, M);
514
513
  });
515
514
  }
516
515
  return a.$$set = (i) => {
517
- "endpoint" in i && t(13, c = i.endpoint), "datasource" in i && t(14, f = i.datasource), "gameevent" in i && t(15, p = i.gameevent), "lang" in i && t(16, g = i.lang), "randombuttonicon" in i && t(0, o = i.randombuttonicon), "buttontext" in i && t(1, w = i.buttontext), "translationurl" in i && t(17, m = i.translationurl), "clientstyling" in i && t(18, d = i.clientstyling), "clientstylingurl" in i && t(19, r = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, W = i.mbsource), "$$scope" in i && t(22, s = i.$$scope);
516
+ "endpoint" in i && t(13, c = i.endpoint), "datasource" in i && t(14, f = i.datasource), "gameevent" in i && t(15, p = i.gameevent), "lang" in i && t(16, g = 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, d = i.clientstyling), "clientstylingurl" in i && t(19, r = i.clientstylingurl), "filteredrandomgamecategories" in i && t(20, b = i.filteredrandomgamecategories), "mbsource" in i && t(21, T = i.mbsource), "$$scope" in i && t(22, s = i.$$scope);
518
517
  }, a.$$.update = () => {
519
518
  a.$$.dirty[0] & /*lang*/
520
- 65536 && g && ce(), a.$$.dirty[0] & /*translationurl*/
521
- 131072 && m && le(), a.$$.dirty[0] & /*endpoint, datasource*/
522
- 24576 && c && f && ie(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
523
- 262148 && d && M && Be(M, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
524
- 524292 && r && M && Le(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
525
- 2097156 && M && Ie(M, `${W}.Style`);
519
+ 65536 && g && de(), a.$$.dirty[0] & /*translationurl*/
520
+ 131072 && m && oe(), a.$$.dirty[0] & /*endpoint, datasource*/
521
+ 24576 && c && f && le(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
522
+ 262148 && d && M && Ie(M, d), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
523
+ 524292 && r && M && Je(M, r), a.$$.dirty[0] & /*customStylingContainer, mbsource*/
524
+ 2097156 && M && De(M, `${T}.Style`);
526
525
  }, [
527
526
  o,
528
- w,
527
+ _,
529
528
  M,
530
529
  G,
531
- j,
532
- z,
533
- A,
534
- I,
530
+ W,
535
531
  N,
532
+ P,
533
+ B,
534
+ j,
536
535
  n,
537
- H,
538
- V,
539
- de,
536
+ A,
537
+ E,
538
+ me,
540
539
  c,
541
540
  f,
542
541
  p,
@@ -545,24 +544,24 @@ function tt(a, e, t) {
545
544
  d,
546
545
  r,
547
546
  b,
548
- W,
547
+ T,
549
548
  s,
550
549
  l,
550
+ ce,
551
551
  ue,
552
552
  ge,
553
553
  fe,
554
- pe,
555
- he
554
+ pe
556
555
  ];
557
556
  }
558
- class at extends Ge {
557
+ class tt extends _e {
559
558
  constructor(e) {
560
- super(), Re(
559
+ super(), Ge(
561
560
  this,
562
561
  e,
563
- tt,
564
562
  et,
565
- ke,
563
+ $e,
564
+ Re,
566
565
  {
567
566
  endpoint: 13,
568
567
  datasource: 14,
@@ -576,7 +575,7 @@ class at extends Ge {
576
575
  filteredrandomgamecategories: 20,
577
576
  mbsource: 21
578
577
  },
579
- Ee,
578
+ Ue,
580
579
  [-1, -1]
581
580
  );
582
581
  }
@@ -647,7 +646,7 @@ class at extends Ge {
647
646
  this.$$set({ mbsource: e }), v();
648
647
  }
649
648
  }
650
- xe(at, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
649
+ Pe(tt, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
651
650
  export {
652
- at as default
651
+ tt as default
653
652
  };