@everymatrix/casino-page-nd 1.76.14 → 1.77.1

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 (148) hide show
  1. package/components/{CasinoCalendar-DIKM6-FX.js → CasinoCalendar-CCAwhtBt.js} +1015 -1024
  2. package/components/CasinoCalendar-DGE4j4zu.cjs +19 -0
  3. package/components/{CasinoCalendar-BpmBQMqg.js → CasinoCalendar-DYLVhtW-.js} +848 -857
  4. package/components/{CasinoCalendarDailyDetails-CR3HaDXZ.js → CasinoCalendarDailyDetails-DIUpad6c.js} +37 -37
  5. package/components/{CasinoCalendarDailyDetails-B2rPnr-r.js → CasinoCalendarDailyDetails-DRcIScHe.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-Db4V8lzv.cjs → CasinoCalendarDailyDetails-wpUMBkOO.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-EtfFPL69.js → CasinoCalendarDailyItem-CiQzqA52.js} +36 -36
  8. package/components/{CasinoCalendarDailyItem-BYf0S582.cjs → CasinoCalendarDailyItem-D8F2frZb.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BtpO8qS-.js → CasinoCalendarDailyItem-NLjE5GF9.js} +39 -39
  10. package/components/{CasinoCollectionsProviders-DRvdCXk8.js → CasinoCollectionsProviders-ClZkWf5Z.js} +65 -65
  11. package/components/{CasinoCollectionsProviders-zDF0lel_.cjs → CasinoCollectionsProviders-CuOrtQzj.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-CGHuHGKJ.js → CasinoCollectionsProviders-YW2-uRzZ.js} +68 -68
  13. package/components/CasinoFavoritesSectionNd-CAWBrQc_.cjs +1 -0
  14. package/components/{CasinoFavoritesSectionNd-D_iRqzx7.js → CasinoFavoritesSectionNd-CjYeem_e.js} +47 -70
  15. package/components/{CasinoFavoritesSectionNd-Vth9qKYe.js → CasinoFavoritesSectionNd-Ct_f4Jki.js} +45 -68
  16. package/components/{CasinoFilter-PMuyKrfM.js → CasinoFilter-Bo3TdoaX.js} +253 -254
  17. package/components/CasinoFilter-Cr4glniJ.cjs +1 -0
  18. package/components/{CasinoFilter-DzWurkh4.js → CasinoFilter-D_yW5PlW.js} +236 -235
  19. package/components/CasinoGameThumbnailNd-CYNBtn7j.cjs +30 -0
  20. package/components/{CasinoGameThumbnailNd-a3JP2Y65.js → CasinoGameThumbnailNd-Cv029OfD.js} +64 -66
  21. package/components/{CasinoGameThumbnailNd-Bew7sNHs.js → CasinoGameThumbnailNd-g9ou3sw_.js} +62 -64
  22. package/components/{CasinoGamesCategorySectionNd-Dmc0zltf.js → CasinoGamesCategorySectionNd-CAn4Ecz4.js} +419 -472
  23. package/components/{CasinoGamesCategorySectionNd-BViAsj82.js → CasinoGamesCategorySectionNd-DHm9cDJj.js} +459 -512
  24. package/components/CasinoGamesCategorySectionNd-j1l2VX7q.cjs +1 -0
  25. package/components/{CasinoJackpotBanner-BqnIz0Jh.js → CasinoJackpotBanner-DYhiJaNA.js} +58 -58
  26. package/components/{CasinoJackpotBanner-BvlsWFl7.js → CasinoJackpotBanner-DwIpkmzr.js} +103 -103
  27. package/components/{CasinoJackpotBanner-DVQ8suFI.cjs → CasinoJackpotBanner-EBw-EtsK.cjs} +1 -1
  28. package/components/CasinoLastPlayedSectionNd-B2RSFJjd.cjs +1 -0
  29. package/components/{CasinoLastPlayedSectionNd-DP2wNqqR.js → CasinoLastPlayedSectionNd-D42ogn9t.js} +34 -34
  30. package/components/{CasinoLastPlayedSectionNd-DgT1mzLh.js → CasinoLastPlayedSectionNd-Vhkkc7I4.js} +41 -41
  31. package/components/{CasinoMostPlayedSectionNd-BDbP0dVK.js → CasinoMostPlayedSectionNd-BT5jfPpk.js} +42 -42
  32. package/components/CasinoMostPlayedSectionNd-CToSf0Sr.cjs +1 -0
  33. package/components/{CasinoMostPlayedSectionNd-B60c74Nx.js → CasinoMostPlayedSectionNd-DFdpxzZ1.js} +36 -36
  34. package/components/{CasinoMyGamesNd-DMqZrYBo.js → CasinoMyGamesNd-4ZtCXVu-.js} +460 -505
  35. package/components/{CasinoMyGamesNd-VCvq-Ujh.js → CasinoMyGamesNd-DJ0-Zbkh.js} +459 -504
  36. package/components/CasinoMyGamesNd-Da3qtKMm.cjs +1 -0
  37. package/components/{CasinoPageNd-DA7qMS-l.js → CasinoPageNd-CkcXDzk7.js} +109 -109
  38. package/components/{CasinoPageNd-BvQvfzbo.js → CasinoPageNd-DEBqN_jK.js} +113 -113
  39. package/components/{CasinoPageNd-D34CwHfP.cjs → CasinoPageNd-DbQWwtfX.cjs} +1 -1
  40. package/components/{CasinoRandomGame-BPjl3Vyt.js → CasinoRandomGame-CzpjUn3x.js} +49 -49
  41. package/components/{CasinoRandomGame-Er_WDp3Q.cjs → CasinoRandomGame-UdXXycft.cjs} +1 -1
  42. package/components/{CasinoRandomGame-Dbm27S1o.js → CasinoRandomGame-wYmzje9u.js} +58 -58
  43. package/components/{CasinoSearchNd-DW1Pw7-Q.js → CasinoSearchNd-BKFkZrKZ.js} +69 -69
  44. package/components/CasinoSearchNd-BL7_QRmx.cjs +1 -0
  45. package/components/{CasinoSearchNd-Dk2PKhWq.js → CasinoSearchNd-DedlNtWh.js} +82 -82
  46. package/components/{CasinoSort-zIeABc70.js → CasinoSort-CDn4VxUk.js} +108 -107
  47. package/components/{CasinoSort-CkIWjxkg.js → CasinoSort-Cehdm4Cm.js} +116 -117
  48. package/components/{CasinoSort-T5gzvKTb.cjs → CasinoSort-NJzenKP8.cjs} +1 -1
  49. package/components/CasinoWinners-DiN0im-f.cjs +1 -0
  50. package/components/{CasinoWinners-iRjkvip2.js → CasinoWinners-H0nWE_Qn.js} +261 -276
  51. package/components/{CasinoWinners-BdPKRRdb.js → CasinoWinners-b_1VWnj4.js} +216 -231
  52. package/components/{GeneralAnimationLoading-BxgOtrDA.cjs → GeneralAnimationLoading-Cfcv7UAg.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-DzWSt2Rd.js → GeneralAnimationLoading-Cr0HPeRs.js} +10 -10
  54. package/components/{GeneralAnimationLoading-D0OVj1dQ.js → GeneralAnimationLoading-D6ffp_TH.js} +8 -8
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/casino-calendar-6neds2oy.js +16 -0
  59. package/lazy/casino-calendar-Cb4Zdg3u.cjs +1 -0
  60. package/lazy/casino-calendar-Dr_AZSGB.js +16 -0
  61. package/lazy/casino-calendar-daily-details-C53XYyqp.js +16 -0
  62. package/lazy/casino-calendar-daily-details-s-luglQY.js +16 -0
  63. package/lazy/casino-calendar-daily-details-zifx6_iS.cjs +1 -0
  64. package/lazy/casino-calendar-daily-item-BVLvWZfF.js +16 -0
  65. package/lazy/casino-calendar-daily-item-Bl20cwaJ.cjs +1 -0
  66. package/lazy/casino-calendar-daily-item-lmNWLkSh.js +16 -0
  67. package/lazy/casino-collections-providers-BILnf_UY.js +16 -0
  68. package/lazy/casino-collections-providers-CZQFi5vk.js +16 -0
  69. package/lazy/casino-collections-providers-WCc5YLEx.cjs +1 -0
  70. package/lazy/casino-favorites-section-nd-BLZdSr15.js +16 -0
  71. package/lazy/casino-favorites-section-nd-CZ-zzDox.js +16 -0
  72. package/lazy/casino-favorites-section-nd-Dw-PusaS.cjs +1 -0
  73. package/lazy/casino-filter-C-pmSjXr.js +16 -0
  74. package/lazy/casino-filter-C2uu2OCM.cjs +1 -0
  75. package/lazy/casino-filter-Cj7_L9pL.js +16 -0
  76. package/lazy/casino-game-thumbnail-nd-Bfq5MHXu.cjs +1 -0
  77. package/lazy/casino-game-thumbnail-nd-CwWp4s-T.js +16 -0
  78. package/lazy/casino-game-thumbnail-nd-DOPQRFvD.js +16 -0
  79. package/lazy/casino-games-category-section-nd-D6bEuvm5.cjs +1 -0
  80. package/lazy/casino-games-category-section-nd-DSMqYaGz.js +16 -0
  81. package/lazy/casino-games-category-section-nd-DWQClofk.js +16 -0
  82. package/lazy/casino-jackpot-banner-DEzAKuNz.cjs +1 -0
  83. package/lazy/casino-jackpot-banner-DV01Njxa.js +16 -0
  84. package/lazy/casino-jackpot-banner-DehKtGHo.js +16 -0
  85. package/lazy/casino-last-played-section-nd-5wBhiaI9.cjs +1 -0
  86. package/lazy/casino-last-played-section-nd-DelAIRC0.js +16 -0
  87. package/lazy/casino-last-played-section-nd-DjIQl88y.js +16 -0
  88. package/lazy/casino-most-played-section-nd-BhEgwb0a.cjs +1 -0
  89. package/lazy/casino-most-played-section-nd-CIYfLdSP.js +16 -0
  90. package/lazy/casino-most-played-section-nd-DvH4BV0h.js +16 -0
  91. package/lazy/casino-my-games-nd-DNP31Ydi.js +16 -0
  92. package/lazy/casino-my-games-nd-DjKhKRFX.js +16 -0
  93. package/lazy/casino-my-games-nd-JngcaX75.cjs +1 -0
  94. package/lazy/casino-play-random-game--i81UNg_.js +566 -0
  95. package/lazy/casino-play-random-game-Co-Rjcnv.cjs +1 -0
  96. package/lazy/casino-play-random-game-DdMyXzTm.js +582 -0
  97. package/lazy/casino-random-game-CrCiwriJ.js +16 -0
  98. package/lazy/casino-random-game-Cx_s3XrC.cjs +1 -0
  99. package/lazy/casino-random-game-w7BF0cdQ.js +16 -0
  100. package/lazy/casino-search-nd-B_ffUyl7.cjs +1 -0
  101. package/lazy/casino-search-nd-C9BJPr43.js +16 -0
  102. package/lazy/casino-search-nd-CwQvpchn.js +16 -0
  103. package/lazy/casino-sort-C8jnh3qL.cjs +1 -0
  104. package/lazy/casino-sort-CAbAJiMw.js +16 -0
  105. package/lazy/casino-sort-DvKa_qwq.js +16 -0
  106. package/lazy/casino-winners-B_gD0IFb.js +16 -0
  107. package/lazy/casino-winners-C7YkitCv.cjs +1 -0
  108. package/lazy/casino-winners-SrWXp94E.js +16 -0
  109. package/lazy/general-animation-loading-B8m3Kuyi.js +16 -0
  110. package/lazy/general-animation-loading-BaCSgc29.cjs +1 -0
  111. package/lazy/general-animation-loading-Dp2OSO62.js +16 -0
  112. package/lazy/ui-image-BAx5XP4T.js +554 -0
  113. package/lazy/ui-image-q7RKTAnB.js +538 -0
  114. package/lazy/ui-image-xAOmP7KP.cjs +1 -0
  115. package/package.json +3 -2
  116. package/stencil/casino-play-random-game-B5hVksxr.cjs +1 -0
  117. package/stencil/{casino-play-random-game-Cn7_43lQ.js → casino-play-random-game-CLaJThDY.js} +2 -2
  118. package/stencil/{casino-play-random-game-CUpRDmsd.js → casino-play-random-game-__TIlMF6.js} +2 -2
  119. package/stencil/casino-play-random-game_3-CSEG011u.cjs +432 -0
  120. package/stencil/{casino-play-random-game_3-D2RbqU-v.js → casino-play-random-game_3-Ys8LRBD3.js} +2 -2
  121. package/stencil/{casino-play-random-game_3-B7x6w4BA.js → casino-play-random-game_3-jap_cJQa.js} +2 -2
  122. package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-B9-b3FKW.js} +1 -1
  123. package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BvSV3FQg.cjs} +1 -1
  124. package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-a8pPlqaE.js} +1 -1
  125. package/stencil/{ui-image-_f0XGSO2.js → ui-image-BrNSiahR.js} +1 -1
  126. package/stencil/{ui-image-BqbNkjGg.js → ui-image-DFezoHJb.js} +1 -1
  127. package/stencil/{ui-image-CNN86Aho.cjs → ui-image-eIUrNbW3.cjs} +1 -1
  128. package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-BcIdXuZn.cjs} +1 -1
  129. package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-DEzpm8ng.js} +2 -2
  130. package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-v1kguPBp.js} +2 -2
  131. package/components/CasinoCalendar-CzrlHwD6.cjs +0 -19
  132. package/components/CasinoFavoritesSectionNd-wD4aGs9L.cjs +0 -1
  133. package/components/CasinoFilter-BVW1b78L.cjs +0 -1
  134. package/components/CasinoGameThumbnailNd-B-r_T1ag.cjs +0 -30
  135. package/components/CasinoGamesCategorySectionNd-BxnBPZSN.cjs +0 -1
  136. package/components/CasinoLastPlayedSectionNd-jre5mCnw.cjs +0 -1
  137. package/components/CasinoMostPlayedSectionNd-C9EPOuC_.cjs +0 -1
  138. package/components/CasinoMyGamesNd-Bhufp11n.cjs +0 -1
  139. package/components/CasinoSearchNd-CNcdxlUR.cjs +0 -1
  140. package/components/CasinoWinners-DSywKe-Y.cjs +0 -1
  141. package/stencil/casino-play-random-game-fvC6k6u_.cjs +0 -1
  142. package/stencil/casino-play-random-game_3-y8iURQaW.cjs +0 -432
  143. package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
  144. package/stencil/index-242ac81a-Czg480dJ.js +0 -554
  145. package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
  146. package/stencil/index-27b314b8-9-rvsddy.js +0 -566
  147. package/stencil/index-27b314b8-CCprWmCo.js +0 -582
  148. package/stencil/index-27b314b8-DoR1KfK8.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { a as Be, $ as He, S as qe, i as We, s as Oe, f as L, c as Ue, b as Ve, e as y, x as N, K as le, z as f, P as ee, d as I, A as S, Q as ie, B as Z, H as ce, k as j, M as Je, l as Ze, m as Ye, o as Ke, p as Qe, q as Xe, r as $e, y as B, F as H, u as ue, w as he, T as Re, G as et, I as u } from "./CasinoCalendar-BpmBQMqg.js";
2
- import "./CasinoGamesCategorySectionNd-BViAsj82.js";
3
- import { d as de, i as tt, a as at } from "./CasinoGameThumbnailNd-Bew7sNHs.js";
1
+ import { a as Be, $ as He, S as qe, i as We, s as Oe, f as L, b as Ue, n as le, d as I, M as Ve, u as f, Q as ie, h as j, q as S, B as Z, j as y, C as N, G as ce, P as ee, k as Je, l as Ze, o as Ye, p as B, r as H, D as ue, w as he, x as Ke, T as Re, F as u, I as Qe, J as Xe, K as $e, L as et } from "./CasinoCalendar-DYLVhtW-.js";
2
+ import "../lazy/casino-game-thumbnail-nd-CwWp4s-T.js";
3
+ import { d as de, i as tt, a as at } from "./CasinoGameThumbnailNd-g9ou3sw_.js";
4
4
  function me(a, e) {
5
5
  Be(a, e);
6
6
  }
@@ -191,7 +191,7 @@ const ge = {
191
191
  }
192
192
  };
193
193
  function rt(a) {
194
- Ve(a, "svelte-1vt65d9", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
194
+ Ue(a, "svelte-1vt65d9", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
195
195
  }
196
196
  function fe(a, e, t) {
197
197
  const n = a.slice();
@@ -204,11 +204,11 @@ function pe(a) {
204
204
  ), n, r, l, s;
205
205
  return {
206
206
  c() {
207
- e = y("small"), n = B(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
207
+ e = y("small"), n = H(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
208
208
  (a[13] ? "NotVisible" : ""));
209
209
  },
210
210
  m(i, c) {
211
- I(i, e, c), S(e, n), l || (s = Z(
211
+ j(i, e, c), S(e, n), l || (s = Z(
212
212
  e,
213
213
  "click",
214
214
  /*click_handler_1*/
@@ -218,12 +218,12 @@ function pe(a) {
218
218
  p(i, c) {
219
219
  c[0] & /*$_*/
220
220
  2097152 && t !== (t = /*$_*/
221
- i[21]("cancel") + "") && H(n, t), c[0] & /*searchCancelled*/
221
+ i[21]("cancel") + "") && B(n, t), c[0] & /*searchCancelled*/
222
222
  8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
223
223
  (i[13] ? "NotVisible" : "")) && f(e, "class", r);
224
224
  },
225
225
  d(i) {
226
- i && j(e), l = !1, s();
226
+ i && I(e), l = !1, s();
227
227
  }
228
228
  };
229
229
  }
@@ -256,7 +256,7 @@ function ot(a) {
256
256
  (a[17] == !0 ? "" : "NotVisible"));
257
257
  },
258
258
  m(h, m) {
259
- i && i.m(h, m), I(h, e, m), I(h, t, m), c && c.m(t, null), S(t, n), g && g.m(t, null);
259
+ i && i.m(h, m), j(h, e, m), j(h, t, m), c && c.m(t, null), S(t, n), g && g.m(t, null);
260
260
  },
261
261
  p(h, m) {
262
262
  s === (s = l(h)) && i ? i.p(h, m) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
@@ -267,7 +267,7 @@ function ot(a) {
267
267
  (h[17] == !0 ? "" : "NotVisible")) && f(t, "class", r);
268
268
  },
269
269
  d(h) {
270
- h && (j(e), j(t)), i && i.d(h), c && c.d(), g && g.d();
270
+ h && (I(e), I(t)), i && i.d(h), c && c.d(), g && g.d();
271
271
  }
272
272
  };
273
273
  }
@@ -278,18 +278,18 @@ function st(a) {
278
278
  ), n;
279
279
  return {
280
280
  c() {
281
- e = y("p"), n = B(t), f(e, "class", "LoadingContent");
281
+ e = y("p"), n = H(t), f(e, "class", "LoadingContent");
282
282
  },
283
283
  m(r, l) {
284
- I(r, e, l), S(e, n);
284
+ j(r, e, l), S(e, n);
285
285
  },
286
286
  p(r, l) {
287
287
  l[0] & /*$_*/
288
288
  2097152 && t !== (t = /*$_*/
289
- r[21]("loading") + "") && H(n, t);
289
+ r[21]("loading") + "") && B(n, t);
290
290
  },
291
291
  d(r) {
292
- r && j(e);
292
+ r && I(e);
293
293
  }
294
294
  };
295
295
  }
@@ -300,18 +300,18 @@ function lt(a) {
300
300
  ), n;
301
301
  return {
302
302
  c() {
303
- e = y("p"), n = B(t), f(e, "class", "SearchMessage");
303
+ e = y("p"), n = H(t), f(e, "class", "SearchMessage");
304
304
  },
305
305
  m(r, l) {
306
- I(r, e, l), S(e, n);
306
+ j(r, e, l), S(e, n);
307
307
  },
308
308
  p(r, l) {
309
309
  l[0] & /*$_*/
310
310
  2097152 && t !== (t = /*$_*/
311
- r[21]("searchResult") + "") && H(n, t);
311
+ r[21]("searchResult") + "") && B(n, t);
312
312
  },
313
313
  d(r) {
314
- r && j(e);
314
+ r && I(e);
315
315
  }
316
316
  };
317
317
  }
@@ -328,7 +328,7 @@ function it(a) {
328
328
  n && n.c(), e = N(), r && r.c(), t = Re();
329
329
  },
330
330
  m(l, s) {
331
- n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, t, s);
331
+ n && n.m(l, s), j(l, e, s), r && r.m(l, s), j(l, t, s);
332
332
  },
333
333
  p(l, s) {
334
334
  /*searchArray*/
@@ -336,7 +336,7 @@ function it(a) {
336
336
  l[15].length == 0 ? r ? r.p(l, s) : (r = Se(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
337
337
  },
338
338
  d(l) {
339
- l && (j(e), j(t)), n && n.d(l), r && r.d(l);
339
+ l && (I(e), I(t)), n && n.d(l), r && r.d(l);
340
340
  }
341
341
  };
342
342
  }
@@ -347,18 +347,18 @@ function _e(a) {
347
347
  ), n;
348
348
  return {
349
349
  c() {
350
- e = y("p"), n = B(t), f(e, "class", "SearchMessage");
350
+ e = y("p"), n = H(t), f(e, "class", "SearchMessage");
351
351
  },
352
352
  m(r, l) {
353
- I(r, e, l), S(e, n);
353
+ j(r, e, l), S(e, n);
354
354
  },
355
355
  p(r, l) {
356
356
  l[0] & /*$_*/
357
357
  2097152 && t !== (t = /*$_*/
358
- r[21]("recentSearch") + "") && H(n, t);
358
+ r[21]("recentSearch") + "") && B(n, t);
359
359
  },
360
360
  d(r) {
361
- r && j(e);
361
+ r && I(e);
362
362
  }
363
363
  };
364
364
  }
@@ -372,22 +372,22 @@ function Se(a) {
372
372
  );
373
373
  return {
374
374
  c() {
375
- e = y("div"), i && i.c(), t = N(), n = y("p"), l = B(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
375
+ e = y("div"), i && i.c(), t = N(), n = y("p"), l = H(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
376
376
  (a[11] == "true" ? "WithIcon" : ""));
377
377
  },
378
378
  m(c, g) {
379
- I(c, e, g), i && i.m(e, null), S(e, t), S(e, n), S(n, l);
379
+ j(c, e, g), i && i.m(e, null), S(e, t), S(e, n), S(n, l);
380
380
  },
381
381
  p(c, g) {
382
382
  /*notfoundicon*/
383
383
  c[11] === "true" ? i || (i = we(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), g[0] & /*$_*/
384
384
  2097152 && r !== (r = /*$_*/
385
- c[21]("noRecentSearches") + "") && H(l, r), g[0] & /*notfoundicon*/
385
+ c[21]("noRecentSearches") + "") && B(l, r), g[0] & /*notfoundicon*/
386
386
  2048 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
387
387
  (c[11] == "true" ? "WithIcon" : "")) && f(e, "class", s);
388
388
  },
389
389
  d(c) {
390
- c && j(e), i && i.d();
390
+ c && I(e), i && i.d();
391
391
  }
392
392
  };
393
393
  }
@@ -398,10 +398,10 @@ function we(a) {
398
398
  e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
399
399
  },
400
400
  m(t, n) {
401
- I(t, e, n);
401
+ j(t, e, n);
402
402
  },
403
403
  d(t) {
404
- t && j(e);
404
+ t && I(e);
405
405
  }
406
406
  };
407
407
  }
@@ -421,7 +421,7 @@ function be(a) {
421
421
  m(r, l) {
422
422
  for (let s = 0; s < n.length; s += 1)
423
423
  n[s] && n[s].m(r, l);
424
- I(r, e, l);
424
+ j(r, e, l);
425
425
  },
426
426
  p(r, l) {
427
427
  if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
@@ -441,7 +441,7 @@ function be(a) {
441
441
  }
442
442
  },
443
443
  d(r) {
444
- r && j(e), et(n, r);
444
+ r && I(e), Ke(n, r);
445
445
  }
446
446
  };
447
447
  }
@@ -530,7 +530,7 @@ function ve(a) {
530
530
  );
531
531
  },
532
532
  m(d, p) {
533
- I(d, e, p);
533
+ j(d, e, p);
534
534
  },
535
535
  p(d, p) {
536
536
  p[0] & /*endpoint*/
@@ -637,7 +637,7 @@ function ve(a) {
637
637
  );
638
638
  },
639
639
  d(d) {
640
- d && j(e);
640
+ d && I(e);
641
641
  }
642
642
  };
643
643
  }
@@ -654,24 +654,24 @@ function ke(a) {
654
654
  );
655
655
  return {
656
656
  c() {
657
- e = y("div"), m && m.c(), t = N(), n = y("p"), l = B(r), s = N(), i = y("p"), g = B(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
657
+ e = y("div"), m && m.c(), t = N(), n = y("p"), l = H(r), s = N(), i = y("p"), g = H(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
658
658
  (a[11] == "true" ? "WithIcon" : ""));
659
659
  },
660
660
  m(b, d) {
661
- I(b, e, d), m && m.m(e, null), S(e, t), S(e, n), S(n, l), S(e, s), S(e, i), S(i, g);
661
+ j(b, e, d), m && m.m(e, null), S(e, t), S(e, n), S(n, l), S(e, s), S(e, i), S(i, g);
662
662
  },
663
663
  p(b, d) {
664
664
  /*notfoundicon*/
665
665
  b[11] === "true" ? m || (m = ye(), m.c(), m.m(e, t)) : m && (m.d(1), m = null), d[0] & /*$_*/
666
666
  2097152 && r !== (r = /*$_*/
667
- b[21]("notFound") + "") && H(l, r), d[0] & /*$_*/
667
+ b[21]("notFound") + "") && B(l, r), d[0] & /*$_*/
668
668
  2097152 && c !== (c = /*$_*/
669
- b[21]("notFoundText") + "") && H(g, c), d[0] & /*notfoundicon*/
669
+ b[21]("notFoundText") + "") && B(g, c), d[0] & /*notfoundicon*/
670
670
  2048 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
671
671
  (b[11] == "true" ? "WithIcon" : "")) && f(e, "class", h);
672
672
  },
673
673
  d(b) {
674
- b && j(e), m && m.d();
674
+ b && I(e), m && m.d();
675
675
  }
676
676
  };
677
677
  }
@@ -682,10 +682,10 @@ function ye(a) {
682
682
  e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
683
683
  },
684
684
  m(t, n) {
685
- I(t, e, n);
685
+ j(t, e, n);
686
686
  },
687
687
  d(t) {
688
- t && j(e);
688
+ t && I(e);
689
689
  }
690
690
  };
691
691
  }
@@ -694,16 +694,16 @@ function ct(a) {
694
694
  /*cancelbutton*/
695
695
  a[10] === "true" && pe(a)
696
696
  );
697
- function z(w, T) {
697
+ function E(w, T) {
698
698
  return (
699
699
  /*isLoading*/
700
700
  w[18] ? st : ot
701
701
  );
702
702
  }
703
- let x = z(a), R = x(a);
703
+ let x = E(a), R = x(a);
704
704
  return {
705
705
  c() {
706
- e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), g = y("span"), h = le("svg"), m = le("path"), d = N(), v && v.c(), U = N(), P = y("div"), q = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
706
+ e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), g = y("span"), h = ce("svg"), m = ce("path"), d = N(), v && v.c(), U = N(), P = y("div"), q = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
707
707
  a[21]("placeHolderSearchGames")), f(s, "maxlength", ut), f(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(m, "stroke", "#717171"), f(m, "stroke-width", "2"), f(m, "stroke-linecap", "round"), f(m, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(g, "class", b = "SearchClearButton " + /*cancelbutton*/
708
708
  (a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
709
709
  (a[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
@@ -714,7 +714,7 @@ function ct(a) {
714
714
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
715
715
  },
716
716
  m(w, T) {
717
- I(w, e, T), S(e, t), S(t, n), S(n, r), S(n, l), S(n, s), ie(
717
+ j(w, e, T), S(e, t), S(t, n), S(n, r), S(n, l), S(n, s), ie(
718
718
  s,
719
719
  /*searchValue*/
720
720
  a[12]
@@ -762,20 +762,20 @@ function ct(a) {
762
762
  8192 && p !== (p = "Search " + /*searchCancelled*/
763
763
  (w[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
764
764
  1024 && M !== (M = /*cancelbutton*/
765
- w[10] != "true" ? "OverlayCancel" : "") && f(P, "class", M), x === (x = z(w)) && R ? R.p(w, T) : (R.d(1), R = x(w), R && (R.c(), R.m(e, null)));
765
+ w[10] != "true" ? "OverlayCancel" : "") && f(P, "class", M), x === (x = E(w)) && R ? R.p(w, T) : (R.d(1), R = x(w), R && (R.c(), R.m(e, null)));
766
766
  },
767
- i: ce,
768
- o: ce,
767
+ i: le,
768
+ o: le,
769
769
  d(w) {
770
- w && j(e), a[34](null), v && v.d(), R.d(), a[37](null), W = !1, Je(O);
770
+ w && I(e), a[34](null), v && v.d(), R.d(), a[37](null), W = !1, Ve(O);
771
771
  }
772
772
  };
773
773
  }
774
774
  let ut = 50;
775
775
  function ht(a, e, t) {
776
776
  let n;
777
- Ze(a, Ye, (o) => t(21, n = o));
778
- let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: b = "false" } = e, { integratedgameframemobile: d = "false" } = e, { showgamename: p = "" } = e, { gamepagemodalurl: U = "true" } = e, { translationurl: P = "" } = e, { showfavorites: M = "" } = e, { cancelbutton: q = "true" } = e, { notfoundicon: W = "false" } = e, O = window.navigator.userAgent, v = [], z = [], x = {}, R = "", w, T = !0, V = !1, E = !1, D, Y = !1, K, Q, te = [];
777
+ Je(a, Ze, (o) => t(21, n = o));
778
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: b = "false" } = e, { integratedgameframemobile: d = "false" } = e, { showgamename: p = "" } = e, { gamepagemodalurl: U = "true" } = e, { translationurl: P = "" } = e, { showfavorites: M = "" } = e, { cancelbutton: q = "true" } = e, { notfoundicon: W = "false" } = e, O = window.navigator.userAgent, v = [], E = [], x = {}, R = "", w, T = !0, V = !1, z = !1, D, Y = !1, K, Q, te = [];
779
779
  const Ce = () => {
780
780
  fetch(P).then((_) => _.json()).then((_) => {
781
781
  Object.keys(_).forEach((k) => {
@@ -789,7 +789,7 @@ function ht(a, e, t) {
789
789
  me(o, ge[o]);
790
790
  });
791
791
  const ae = (o) => {
792
- o.data && o.data.type == "SearchedItemClicked" && ze(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, Q = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && X();
792
+ o.data && o.data.type == "SearchedItemClicked" && Ee(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, Q = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && X();
793
793
  }, ne = () => {
794
794
  if (t(13, T = !1), t(17, V = !0), r && l && c && R.length < 2) {
795
795
  t(15, v = []);
@@ -816,26 +816,26 @@ function ht(a, e, t) {
816
816
  }, Fe = () => {
817
817
  q != "true" && X();
818
818
  }, Le = (o) => new Promise((_, k) => {
819
- t(18, E = !0), fetch(o.href).then((C) => C.json()).then((C) => {
820
- t(18, E = !1), _(C);
819
+ t(18, z = !0), fetch(o.href).then((C) => C.json()).then((C) => {
820
+ t(18, z = !1), _(C);
821
821
  }).catch((C) => {
822
- t(18, E = !1), console.error(C), k(C);
822
+ t(18, z = !1), console.error(C), k(C);
823
823
  });
824
824
  }), Te = (o, _) => new Promise((k, C) => {
825
- t(18, E = !0), _ && Object.keys(x).indexOf(_) >= 0 ? (t(18, E = !1), k(x[_])) : fetch(o).then((F) => F.json()).then((F) => {
826
- t(18, E = !1), F.error || (x[F[0].gameId] = F[0]), k(F[0]);
825
+ t(18, z = !0), _ && Object.keys(x).indexOf(_) >= 0 ? (t(18, z = !1), k(x[_])) : fetch(o).then((F) => F.json()).then((F) => {
826
+ t(18, z = !1), F.error || (x[F[0].gameId] = F[0]), k(F[0]);
827
827
  }).catch((F) => {
828
- t(18, E = !1), console.error(F), C(F);
828
+ t(18, z = !1), console.error(F), C(F);
829
829
  });
830
830
  }), Ie = () => {
831
831
  const o = new URL(`${r}/v1/player/${Q}/favorites/`);
832
- t(18, E = !0);
832
+ t(18, z = !0);
833
833
  let _ = {
834
834
  method: "GET",
835
835
  headers: { "X-SessionID": K }
836
836
  };
837
837
  fetch(o.href, _).then((k) => k.json()).then((k) => {
838
- t(18, E = !1), te = k.items.map((C) => C.id);
838
+ t(18, z = !1), te = k.items.map((C) => C.id);
839
839
  });
840
840
  }, je = () => {
841
841
  t(32, Y = !0), t(19, K = s), t(20, Q = i);
@@ -848,13 +848,13 @@ function ht(a, e, t) {
848
848
  const Ae = new Date(G.schedules[0].startTime), $ = new Date(G.schedules[0].endTime);
849
849
  de(new Date($), new Date(F)) < k && (k = de(new Date($), new Date(F)), C = A), tt(new Date(F), new Date(Ae)) && at(new Date(F), new Date($)) && (_ = o[C].name);
850
850
  }), _;
851
- }, ze = (o) => {
852
- if (z = localStorage.getItem("searchedGamesWds_casino"), z ? z = z.split(",") : z = [], z.indexOf(o) === -1) {
851
+ }, Ee = (o) => {
852
+ if (E = localStorage.getItem("searchedGamesWds_casino"), E ? E = E.split(",") : E = [], E.indexOf(o) === -1) {
853
853
  let _;
854
- z.unshift(o), _ = z.join(","), localStorage.setItem("searchedGamesWds_casino", _);
854
+ E.unshift(o), _ = E.join(","), localStorage.setItem("searchedGamesWds_casino", _);
855
855
  }
856
856
  }, X = () => {
857
- t(12, R = ""), t(13, T = !0), t(18, E = !1), t(15, v = []), t(17, V = !1), se(V);
857
+ t(12, R = ""), t(13, T = !0), t(18, z = !1), t(15, v = []), t(17, V = !1), se(V);
858
858
  }, oe = () => {
859
859
  t(12, R = ""), w.focus();
860
860
  }, se = (o) => {
@@ -865,10 +865,10 @@ function ht(a, e, t) {
865
865
  },
866
866
  window.location.href
867
867
  );
868
- }, Ee = () => {
868
+ }, ze = () => {
869
869
  nt(c);
870
870
  };
871
- Ke(() => (window.addEventListener("message", ae, !1), () => {
871
+ Ye(() => (window.addEventListener("message", ae, !1), () => {
872
872
  window.removeEventListener("message", ae);
873
873
  }));
874
874
  function Ne() {
@@ -898,7 +898,7 @@ function ht(a, e, t) {
898
898
  } else
899
899
  T || ne();
900
900
  a.$$.dirty[0] & /*lang*/
901
- 2 && c && Ee(), a.$$.dirty[1] & /*translationurl*/
901
+ 2 && c && ze(), a.$$.dirty[1] & /*translationurl*/
902
902
  1 && P && Ce(), a.$$.dirty[0] & /*session, userid*/
903
903
  1610612736 && s && i && je(), a.$$.dirty[0] & /*showfavorites*/
904
904
  512 | a.$$.dirty[1] & /*isLoggedIn*/
@@ -925,7 +925,7 @@ function ht(a, e, t) {
925
925
  v,
926
926
  w,
927
927
  V,
928
- E,
928
+ z,
929
929
  K,
930
930
  Q,
931
931
  n,
@@ -1074,7 +1074,7 @@ class dt extends qe {
1074
1074
  this.$$set({ notfoundicon: e }), L();
1075
1075
  }
1076
1076
  }
1077
- Ue(dt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {} }, [], [], !0);
1077
+ et(dt, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {} }, [], [], !0);
1078
1078
  export {
1079
1079
  dt as default
1080
1080
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DGE4j4zu.cjs");require("../lazy/casino-game-thumbnail-nd-Bfq5MHXu.cjs");const W=require("./CasinoGameThumbnailNd-CYNBtn7j.cjs");function X(n,t){e.addMessages(n,t)}function Re(n){e.$locale.set(n)}const Q={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"İptal:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function Ce(n){e.append_styles(n,"svelte-1vt65d9","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function $(n,t,a){const r=n.slice();return r[53]=t[a],r}function ee(n){let t,a=n[21]("cancel")+"",r,s,i,l;return{c(){t=e.element("small"),r=e.text(a),e.attr(t,"class",s="SearchCancelButton "+(n[13]?"NotVisible":""))},m(c,u){e.insert(c,t,u),e.append(t,r),i||(l=e.listen(t,"click",n[36]),i=!0)},p(c,u){u[0]&2097152&&a!==(a=c[21]("cancel")+"")&&e.set_data(r,a),u[0]&8192&&s!==(s="SearchCancelButton "+(c[13]?"NotVisible":""))&&e.attr(t,"class",s)},d(c){c&&e.detach(t),i=!1,l()}}}function Fe(n){let t,a,r,s;function i(d,m){if(d[17]==!0&&d[12].length<2)return Ie;if(d[15].length!=0)return Te}let l=i(n),c=l&&l(n),u=n[13]===!1&&re(n),f=n[12].length>=2&&n[15].length==0&&oe(n);return{c(){c&&c.c(),t=e.space(),a=e.element("div"),u&&u.c(),r=e.space(),f&&f.c(),e.attr(a,"class",s="SearchResultsContainer "+(n[17]==!0?"":"NotVisible"))},m(d,m){c&&c.m(d,m),e.insert(d,t,m),e.insert(d,a,m),u&&u.m(a,null),e.append(a,r),f&&f.m(a,null)},p(d,m){l===(l=i(d))&&c?c.p(d,m):(c&&c.d(1),c=l&&l(d),c&&(c.c(),c.m(t.parentNode,t))),d[13]===!1?u?u.p(d,m):(u=re(d),u.c(),u.m(a,r)):u&&(u.d(1),u=null),d[12].length>=2&&d[15].length==0?f?f.p(d,m):(f=oe(d),f.c(),f.m(a,null)):f&&(f.d(1),f=null),m[0]&131072&&s!==(s="SearchResultsContainer "+(d[17]==!0?"":"NotVisible"))&&e.attr(a,"class",s)},d(d){d&&(e.detach(t),e.detach(a)),c&&c.d(d),u&&u.d(),f&&f.d()}}}function Le(n){let t,a=n[21]("loading")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","LoadingContent")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&2097152&&a!==(a=s[21]("loading")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function Te(n){let t,a=n[21]("searchResult")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&2097152&&a!==(a=s[21]("searchResult")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function Ie(n){let t,a,r=n[15].length!==0&&te(n),s=n[15].length==0&&ae(n);return{c(){r&&r.c(),t=e.space(),s&&s.c(),a=e.empty()},m(i,l){r&&r.m(i,l),e.insert(i,t,l),s&&s.m(i,l),e.insert(i,a,l)},p(i,l){i[15].length!==0?r?r.p(i,l):(r=te(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i[15].length==0?s?s.p(i,l):(s=ae(i),s.c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(i){i&&(e.detach(t),e.detach(a)),r&&r.d(i),s&&s.d(i)}}}function te(n){let t,a=n[21]("recentSearch")+"",r;return{c(){t=e.element("p"),r=e.text(a),e.attr(t,"class","SearchMessage")},m(s,i){e.insert(s,t,i),e.append(t,r)},p(s,i){i[0]&2097152&&a!==(a=s[21]("recentSearch")+"")&&e.set_data(r,a)},d(s){s&&e.detach(t)}}}function ae(n){let t,a,r,s=n[21]("noRecentSearches")+"",i,l,c=n[11]==="true"&&ne();return{c(){t=e.element("div"),c&&c.c(),a=e.space(),r=e.element("p"),i=e.text(s),e.attr(r,"class","SearchMessage"),e.attr(t,"class",l="ResultsContainerError "+(n[11]=="true"?"WithIcon":""))},m(u,f){e.insert(u,t,f),c&&c.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i)},p(u,f){u[11]==="true"?c||(c=ne(),c.c(),c.m(t,a)):c&&(c.d(1),c=null),f[0]&2097152&&s!==(s=u[21]("noRecentSearches")+"")&&e.set_data(i,s),f[0]&2048&&l!==(l="ResultsContainerError "+(u[11]=="true"?"WithIcon":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),c&&c.d()}}}function ne(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function re(n){let t,a=e.ensure_array_like(n[15]),r=[];for(let s=0;s<a.length;s+=1)r[s]=se($(n,a,s));return{c(){for(let s=0;s<r.length;s+=1)r[s].c();t=e.empty()},m(s,i){for(let l=0;l<r.length;l+=1)r[l]&&r[l].m(s,i);e.insert(s,t,i)},p(s,i){if(i[0]&35161087){a=e.ensure_array_like(s[15]);let l;for(l=0;l<a.length;l+=1){const c=$(s,a,l);r[l]?r[l].p(c,i):(r[l]=se(c),r[l].c(),r[l].m(t.parentNode,t))}for(;l<r.length;l+=1)r[l].d(1);r.length=a.length}},d(s){s&&e.detach(t),e.destroy_each(r,s)}}}function se(n){let t,a,r,s,i,l,c,u,f,d,m,S;return{c(){var h;t=e.element("casino-game-thumbnail-nd"),e.set_custom_element_data(t,"endpoint",n[0]),e.set_custom_element_data(t,"session",n[19]),e.set_custom_element_data(t,"userid",n[20]),e.set_custom_element_data(t,"favorites",n[9]),e.set_custom_element_data(t,"lang",n[1]),e.set_custom_element_data(t,"gamethumbnail",a=n[53].thumbnail),e.set_custom_element_data(t,"gamename",r=n[53].name),e.set_custom_element_data(t,"gamevendor",s=n[53].vendor.name),e.set_custom_element_data(t,"gameLaunchUrl",i=n[53].launchUrl),e.set_custom_element_data(t,"gameisnew",l=n[53].isNew),e.set_custom_element_data(t,"gametag",c=((h=n[53].advancedTags)==null?void 0:h.length)>0&&n[25](n[53].advancedTags)),e.set_custom_element_data(t,"gamecellsize",u=n[53].cellSize),e.set_custom_element_data(t,"gameid",f=n[53].id),e.set_custom_element_data(t,"showgamename",n[7]),e.set_custom_element_data(t,"gamefunmode",d=n[53].hasFunMode),e.set_custom_element_data(t,"gamefavorite",m=n[53].isFavorite),e.set_custom_element_data(t,"livelobbyendpoint",S=n[53].details?n[53].launchUrl:""),e.set_custom_element_data(t,"integratedgameframedesktop",n[5]),e.set_custom_element_data(t,"integratedgameframemobile",n[6]),e.set_custom_element_data(t,"clientstyling",n[3]),e.set_custom_element_data(t,"clientstylingurl",n[4]),e.set_custom_element_data(t,"gamepagemodalurl",n[8]),e.set_custom_element_data(t,"mbsource",n[2])},m(h,g){e.insert(h,t,g)},p(h,g){var j;g[0]&1&&e.set_custom_element_data(t,"endpoint",h[0]),g[0]&524288&&e.set_custom_element_data(t,"session",h[19]),g[0]&1048576&&e.set_custom_element_data(t,"userid",h[20]),g[0]&512&&e.set_custom_element_data(t,"favorites",h[9]),g[0]&2&&e.set_custom_element_data(t,"lang",h[1]),g[0]&32768&&a!==(a=h[53].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",a),g[0]&32768&&r!==(r=h[53].name)&&e.set_custom_element_data(t,"gamename",r),g[0]&32768&&s!==(s=h[53].vendor.name)&&e.set_custom_element_data(t,"gamevendor",s),g[0]&32768&&i!==(i=h[53].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",i),g[0]&32768&&l!==(l=h[53].isNew)&&e.set_custom_element_data(t,"gameisnew",l),g[0]&32768&&c!==(c=((j=h[53].advancedTags)==null?void 0:j.length)>0&&h[25](h[53].advancedTags))&&e.set_custom_element_data(t,"gametag",c),g[0]&32768&&u!==(u=h[53].cellSize)&&e.set_custom_element_data(t,"gamecellsize",u),g[0]&32768&&f!==(f=h[53].id)&&e.set_custom_element_data(t,"gameid",f),g[0]&128&&e.set_custom_element_data(t,"showgamename",h[7]),g[0]&32768&&d!==(d=h[53].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",d),g[0]&32768&&m!==(m=h[53].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",m),g[0]&32768&&S!==(S=h[53].details?h[53].launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",S),g[0]&32&&e.set_custom_element_data(t,"integratedgameframedesktop",h[5]),g[0]&64&&e.set_custom_element_data(t,"integratedgameframemobile",h[6]),g[0]&8&&e.set_custom_element_data(t,"clientstyling",h[3]),g[0]&16&&e.set_custom_element_data(t,"clientstylingurl",h[4]),g[0]&256&&e.set_custom_element_data(t,"gamepagemodalurl",h[8]),g[0]&4&&e.set_custom_element_data(t,"mbsource",h[2])},d(h){h&&e.detach(t)}}}function oe(n){let t,a,r,s=n[21]("notFound")+"",i,l,c,u=n[21]("notFoundText")+"",f,d,m=n[11]==="true"&&le();return{c(){t=e.element("div"),m&&m.c(),a=e.space(),r=e.element("p"),i=e.text(s),l=e.space(),c=e.element("p"),f=e.text(u),e.attr(r,"class","SearchMessage"),e.attr(t,"class",d="ResultsContainerError "+(n[11]=="true"?"WithIcon":""))},m(S,h){e.insert(S,t,h),m&&m.m(t,null),e.append(t,a),e.append(t,r),e.append(r,i),e.append(t,l),e.append(t,c),e.append(c,f)},p(S,h){S[11]==="true"?m||(m=le(),m.c(),m.m(t,a)):m&&(m.d(1),m=null),h[0]&2097152&&s!==(s=S[21]("notFound")+"")&&e.set_data(i,s),h[0]&2097152&&u!==(u=S[21]("notFoundText")+"")&&e.set_data(f,u),h[0]&2048&&d!==(d="ResultsContainerError "+(S[11]=="true"?"WithIcon":""))&&e.attr(t,"class",d)},d(S){S&&e.detach(t),m&&m.d()}}}function le(n){let t;return{c(){t=e.element("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',e.attr(t,"class","SearchErrorIcon")},m(a,r){e.insert(a,t,r)},d(a){a&&e.detach(t)}}}function je(n){let t,a,r,s,i,l,c,u,f,d,m,S,h,g,j,T,G,N,P,D,w=n[10]==="true"&&ee(n);function F(_,R){return _[18]?Le:Fe}let E=F(n),v=E(n);return{c(){t=e.element("div"),a=e.element("div"),r=e.element("div"),s=e.element("div"),s.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>',i=e.space(),l=e.element("input"),u=e.space(),f=e.element("span"),d=e.svg_element("svg"),m=e.svg_element("path"),h=e.space(),w&&w.c(),j=e.space(),T=e.element("div"),N=e.space(),v.c(),e.attr(s,"class","SearchIcon"),e.attr(l,"class","SearchInput"),e.attr(l,"type","search"),e.attr(l,"placeholder",c=n[21]("placeHolderSearchGames")),e.attr(l,"maxlength",Ge),e.attr(m,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),e.attr(m,"stroke","#717171"),e.attr(m,"stroke-width","2"),e.attr(m,"stroke-linecap","round"),e.attr(m,"stroke-linejoin","round"),e.attr(d,"width","11"),e.attr(d,"height","11"),e.attr(d,"fill","none"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(f,"class",S="SearchClearButton "+(n[10]!="true"?"WithoutCancel":"")+" "+(n[12].length!=0?"":"NotVisible")),e.attr(r,"class",g="Search "+(n[13]?"":"SearchAnimation")),e.attr(a,"class","SearchWrap"),e.attr(T,"class",G=n[10]!="true"?"OverlayCancel":""),e.attr(t,"class",(e.getDevice(n[22])!=="PC"?"":"Desktop")+" CasinoSearch")},m(_,R){e.insert(_,t,R),e.append(t,a),e.append(a,r),e.append(r,s),e.append(r,i),e.append(r,l),e.set_input_value(l,n[12]),n[34](l),e.append(r,u),e.append(r,f),e.append(f,d),e.append(d,m),e.append(r,h),w&&w.m(r,null),e.append(t,j),e.append(t,T),e.append(t,N),v.m(t,null),n[37](t),P||(D=[e.listen(l,"input",n[33]),e.listen(l,"focus",n[23]),e.listen(f,"click",n[35]),e.listen(T,"click",n[24])],P=!0)},p(_,R){R[0]&2097152&&c!==(c=_[21]("placeHolderSearchGames"))&&e.attr(l,"placeholder",c),R[0]&4096&&l.value!==_[12]&&e.set_input_value(l,_[12]),R[0]&5120&&S!==(S="SearchClearButton "+(_[10]!="true"?"WithoutCancel":"")+" "+(_[12].length!=0?"":"NotVisible"))&&e.attr(f,"class",S),_[10]==="true"?w?w.p(_,R):(w=ee(_),w.c(),w.m(r,null)):w&&(w.d(1),w=null),R[0]&8192&&g!==(g="Search "+(_[13]?"":"SearchAnimation"))&&e.attr(r,"class",g),R[0]&1024&&G!==(G=_[10]!="true"?"OverlayCancel":"")&&e.attr(T,"class",G),E===(E=F(_))&&v?v.p(_,R):(v.d(1),v=E(_),v&&(v.c(),v.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),n[34](null),w&&w.d(),v.d(),n[37](null),P=!1,e.run_all(D)}}}let Ge=50;function Ee(n,t,a){let r;e.component_subscribe(n,e.$format,o=>a(21,r=o));let{endpoint:s=""}=t,{datasource:i=""}=t,{session:l=""}=t,{userid:c=""}=t,{lang:u="en"}=t,{mbsource:f}=t,{clientstyling:d=""}=t,{clientstylingurl:m=""}=t,{integratedgameframedesktop:S="false"}=t,{integratedgameframemobile:h="false"}=t,{showgamename:g=""}=t,{gamepagemodalurl:j="true"}=t,{translationurl:T=""}=t,{showfavorites:G=""}=t,{cancelbutton:N="true"}=t,{notfoundicon:P="false"}=t,D=window.navigator.userAgent,w=[],F=[],E={},v="",_,R=!0,x=!1,L=!1,I,A=!1,q,B,U=[];const ce=()=>{fetch(T).then(p=>p.json()).then(p=>{Object.keys(p).forEach(b=>{X(b,p[b])})}).catch(p=>{console.log(p)})};Object.keys(Q).forEach(o=>{X(o,Q[o])});const V=o=>{o.data&&o.data.type=="SearchedItemClicked"&&pe(o.data.gameId),o.data.type=="UserSessionID"&&(a(19,q=o.data.session),a(20,B=o.data.userid),a(32,A=!0)),o.data.type=="CategoryChange"&&H()},J=()=>{if(a(13,R=!1),a(17,x=!0),s&&i&&u&&v.length<2){a(15,w=[]);let o=localStorage.getItem("searchedGamesWds_casino"),p=[];o&&(p=o.split(","));let b=[],k=0,y=p.length;if(y>0){for(k=0;k<y;k++){let C=new URL(`${s}/v1/casino/games/${p[k]}`);C.searchParams.append("language",u),C.searchParams.append("datasource",i),C.searchParams.append("platform",e.getDevice(D)),b.push(he(C,p[k]))}Promise.all(b).then(C=>{C=C.filter(function(z){return!!z}),a(15,w=C.map(z=>(z.isFavorite=Z(z.id),z))),w.length?M("searchSuccess","SearchWidget"):M("searchFail","SearchWidget")}).catch(C=>{M("searchError","SearchWidget")})}}K(x),M("searchAttempt","SearchWidget"),M("SearchInitialized","SearchWidget")},M=(o,p)=>{typeof gtag=="function"&&gtag("event",o,{context:p})},ue=()=>{N!="true"&&H()},de=o=>new Promise((p,b)=>{a(18,L=!0),fetch(o.href).then(k=>k.json()).then(k=>{a(18,L=!1),p(k)}).catch(k=>{a(18,L=!1),console.error(k),b(k)})}),he=(o,p)=>new Promise((b,k)=>{a(18,L=!0),p&&Object.keys(E).indexOf(p)>=0?(a(18,L=!1),b(E[p])):fetch(o).then(y=>y.json()).then(y=>{a(18,L=!1),y.error||(E[y[0].gameId]=y[0]),b(y[0])}).catch(y=>{a(18,L=!1),console.error(y),k(y)})}),me=()=>{const o=new URL(`${s}/v1/player/${B}/favorites/`);a(18,L=!0);let p={method:"GET",headers:{"X-SessionID":q}};fetch(o.href,p).then(b=>b.json()).then(b=>{a(18,L=!1),U=b.items.map(k=>k.id)})},fe=()=>{a(32,A=!0),a(19,q=l),a(20,B=c)},Z=o=>U.findIndex(p=>p==o)!==-1,ge=o=>{if((o==null?void 0:o.length)===0)return"";let p,b=99999999999,k;const y=new Date(Date.now());return o.forEach((C,z)=>{const ye=new Date(C.schedules[0].startTime),O=new Date(C.schedules[0].endTime);W.differenceInMilliseconds(new Date(O),new Date(y))<b&&(b=W.differenceInMilliseconds(new Date(O),new Date(y)),k=z),W.isAfter(new Date(y),new Date(ye))&&W.isBefore(new Date(y),new Date(O))&&(p=o[k].name)}),p},pe=o=>{if(F=localStorage.getItem("searchedGamesWds_casino"),F?F=F.split(","):F=[],F.indexOf(o)===-1){let p;F.unshift(o),p=F.join(","),localStorage.setItem("searchedGamesWds_casino",p)}},H=()=>{a(12,v=""),a(13,R=!0),a(18,L=!1),a(15,w=[]),a(17,x=!1),K(x)},Y=()=>{a(12,v=""),_.focus()},K=o=>{window.postMessage({type:o===!0?"searchActive":"searchCancelled",searchStatus:o},window.location.href)},_e=()=>{Re(u)};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));function Se(){v=this.value,a(12,v)}function we(o){e.binding_callbacks[o?"unshift":"push"](()=>{_=o,a(16,_)})}const be=()=>Y(),ve=()=>H();function ke(o){e.binding_callbacks[o?"unshift":"push"](()=>{I=o,a(14,I)})}return n.$$set=o=>{"endpoint"in o&&a(0,s=o.endpoint),"datasource"in o&&a(28,i=o.datasource),"session"in o&&a(29,l=o.session),"userid"in o&&a(30,c=o.userid),"lang"in o&&a(1,u=o.lang),"mbsource"in o&&a(2,f=o.mbsource),"clientstyling"in o&&a(3,d=o.clientstyling),"clientstylingurl"in o&&a(4,m=o.clientstylingurl),"integratedgameframedesktop"in o&&a(5,S=o.integratedgameframedesktop),"integratedgameframemobile"in o&&a(6,h=o.integratedgameframemobile),"showgamename"in o&&a(7,g=o.showgamename),"gamepagemodalurl"in o&&a(8,j=o.gamepagemodalurl),"translationurl"in o&&a(31,T=o.translationurl),"showfavorites"in o&&a(9,G=o.showfavorites),"cancelbutton"in o&&a(10,N=o.cancelbutton),"notfoundicon"in o&&a(11,P=o.notfoundicon)},n.$$.update=()=>{if(n.$$.dirty[0]&268447747)if(v.length>=2){const o=new URL(`${s}/v1/casino/games`);o.searchParams.append("datasource",i),o.searchParams.append("expand","vendor"),o.searchParams.append("platform",e.getDevice(D)),o.searchParams.append("language",u),o.searchParams.append("pagination","offset=0,limit=30"),o.searchParams.append("filter",`name=${v}`),de(o).then(p=>{a(15,w=p.items.map(b=>(b.isFavorite=Z(b.id),b)))})}else R||J();n.$$.dirty[0]&2&&u&&_e(),n.$$.dirty[1]&1&&T&&ce(),n.$$.dirty[0]&1610612736&&l&&c&&fe(),n.$$.dirty[0]&512|n.$$.dirty[1]&2&&G&&A&&me(),n.$$.dirty[0]&16392&&d&&I&&e.setClientStyling(I,d),n.$$.dirty[0]&16400&&m&&I&&e.setClientStylingURL(I,m),n.$$.dirty[0]&16388&&f&&I&&e.setStreamStyling(I,`${f}.Style`)},[s,u,f,d,m,S,h,g,j,G,N,P,v,R,I,w,_,x,L,q,B,r,D,J,ue,ge,H,Y,i,l,c,T,A,Se,we,be,ve,ke]}class ie extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ee,je,e.safe_not_equal,{endpoint:0,datasource:28,session:29,userid:30,lang:1,mbsource:2,clientstyling:3,clientstylingurl:4,integratedgameframedesktop:5,integratedgameframemobile:6,showgamename:7,gamepagemodalurl:8,translationurl:31,showfavorites:9,cancelbutton:10,notfoundicon:11},Ce,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[28]}set datasource(t){this.$$set({datasource:t}),e.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),e.flush()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),e.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[5]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[6]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[8]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get translationurl(){return this.$$.ctx[31]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showfavorites(){return this.$$.ctx[9]}set showfavorites(t){this.$$set({showfavorites:t}),e.flush()}get cancelbutton(){return this.$$.ctx[10]}set cancelbutton(t){this.$$set({cancelbutton:t}),e.flush()}get notfoundicon(){return this.$$.ctx[11]}set notfoundicon(t){this.$$set({notfoundicon:t}),e.flush()}}e.create_custom_element(ie,{endpoint:{},datasource:{},session:{},userid:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{}},[],[],!0);exports.default=ie;