@everymatrix/casino-lobby-nd 1.91.0 → 1.91.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 (132) hide show
  1. package/components/{CasinoCalendar-BwneImQ1.js → CasinoCalendar-BPcMFgNd.js} +3 -3
  2. package/components/{CasinoCalendar-CPc_nGFU.cjs → CasinoCalendar-CZ6SqVud.cjs} +1 -1
  3. package/components/{CasinoCalendar-pFR1UiyW.js → CasinoCalendar-CqO4AIsB.js} +3 -3
  4. package/components/{CasinoCalendarDailyDetails-Dl2lCHc6.js → CasinoCalendarDailyDetails-42lNyJrs.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-UkrKgqvW.js → CasinoCalendarDailyDetails-D8kLpNMV.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-DohJWzpS.cjs → CasinoCalendarDailyDetails-DhfYVv2D.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-ByGqz6lG.js → CasinoCalendarDailyItem-CB1JuK9H.js} +1 -1
  8. package/components/{CasinoCalendarDailyItem-csUg0xk3.cjs → CasinoCalendarDailyItem-DfgXeMcF.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DkAOp2kO.js → CasinoCalendarDailyItem-uenjc0DK.js} +1 -1
  10. package/components/CasinoCategoriesSliderNd-BjKlZ7yV.js +667 -0
  11. package/components/CasinoCategoriesSliderNd-Dsph6Hxw.cjs +1 -0
  12. package/components/{CasinoCategoriesSliderNd-L-fJRvBT.js → CasinoCategoriesSliderNd-v73jZ75J.js} +175 -150
  13. package/components/{CasinoCollectionsProviders-olNTznO8.js → CasinoCollectionsProviders-BkucxKca.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-CEdwngKT.cjs → CasinoCollectionsProviders-dk7p2ttr.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-DFr7fT4X.js → CasinoCollectionsProviders-j40pwO7K.js} +1 -1
  16. package/components/{CasinoFavoritesSectionNd-DKwDsLRo.cjs → CasinoFavoritesSectionNd-BEbCn4QR.cjs} +1 -1
  17. package/components/{CasinoFavoritesSectionNd-D0BE5ylC.js → CasinoFavoritesSectionNd-CbtIdUHT.js} +2 -2
  18. package/components/{CasinoFavoritesSectionNd-CPLGK1h8.js → CasinoFavoritesSectionNd-loMpT_s2.js} +2 -2
  19. package/components/{CasinoFilter-SxxgItLU.js → CasinoFilter-BSYfKnfu.js} +1 -1
  20. package/components/{CasinoFilter-6tLD_n0v.cjs → CasinoFilter-BwW9UM-g.cjs} +1 -1
  21. package/components/{CasinoFilter-Br5RRO7T.js → CasinoFilter-CClun-th.js} +1 -1
  22. package/components/{CasinoGameThumbnailNd-CWwE6yTn.cjs → CasinoGameThumbnailNd-5fAr7awv.cjs} +1 -1
  23. package/components/{CasinoGameThumbnailNd-DVXyq_bj.js → CasinoGameThumbnailNd-CaW65T18.js} +3 -3
  24. package/components/{CasinoGameThumbnailNd-D4ztOQVz.js → CasinoGameThumbnailNd-Vwi3_peb.js} +3 -3
  25. package/components/{CasinoGamesCategorySectionNd-CQSUwBfm.js → CasinoGamesCategorySectionNd-BHd3EAum.js} +5 -5
  26. package/components/{CasinoGamesCategorySectionNd-BYwf0ZzC.js → CasinoGamesCategorySectionNd-CQ_uM3H6.js} +5 -5
  27. package/components/{CasinoGamesCategorySectionNd-CznZuil1.cjs → CasinoGamesCategorySectionNd-DzrIbaWO.cjs} +1 -1
  28. package/components/{CasinoJackpotBanner-BREbIw3K.cjs → CasinoJackpotBanner-BpASYMlO.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-aYEy4Kyl.js → CasinoJackpotBanner-CZX0DIgG.js} +1 -1
  30. package/components/{CasinoJackpotBanner-mAt4lKU-.js → CasinoJackpotBanner-rA9YRxri.js} +1 -1
  31. package/components/{CasinoLastPlayedSectionNd-BRD4bqwg.js → CasinoLastPlayedSectionNd-7Y4PA8oA.js} +3 -3
  32. package/components/{CasinoLastPlayedSectionNd-Dh-uKa19.cjs → CasinoLastPlayedSectionNd-B4QZN568.cjs} +1 -1
  33. package/components/{CasinoLastPlayedSectionNd-ClujrUqA.js → CasinoLastPlayedSectionNd-CTYNtNPX.js} +3 -3
  34. package/components/{CasinoLobbyNd-DxldwI_g.js → CasinoLobbyNd-8wmWQuuM.js} +2 -2
  35. package/components/{CasinoLobbyNd-C_9G9_g5.cjs → CasinoLobbyNd-ByfltJlD.cjs} +1 -1
  36. package/components/{CasinoLobbyNd-bbR93r1z.js → CasinoLobbyNd-XZW290tF.js} +2 -2
  37. package/components/{CasinoMostPlayedSectionNd-CEoHKdml.js → CasinoMostPlayedSectionNd-B-1vTpOO.js} +3 -3
  38. package/components/{CasinoMostPlayedSectionNd-CxyY4Lf6.js → CasinoMostPlayedSectionNd-D0Q9cdUl.js} +3 -3
  39. package/components/{CasinoMostPlayedSectionNd-CCZDqJ-V.cjs → CasinoMostPlayedSectionNd-qX46o9qu.cjs} +1 -1
  40. package/components/{CasinoMyGamesNd-BJ95nvHG.cjs → CasinoMyGamesNd-BnQztCVN.cjs} +1 -1
  41. package/components/{CasinoMyGamesNd-Ccb7r6z9.js → CasinoMyGamesNd-CzvJgQD9.js} +5 -5
  42. package/components/{CasinoMyGamesNd-B2oh92d3.js → CasinoMyGamesNd-DtOi0CM8.js} +5 -5
  43. package/components/{CasinoPageNd-Bhy-0sYf.js → CasinoPageNd-DcffI7-B.js} +381 -378
  44. package/components/{CasinoPageNd-DC68SkdX.js → CasinoPageNd-_q4-sNdL.js} +366 -363
  45. package/components/{CasinoPageNd-B_P13DSW.cjs → CasinoPageNd-ihFBeiP3.cjs} +1 -1
  46. package/components/{CasinoRandomGame-CH-eukMA.js → CasinoRandomGame-B_CduD9L.js} +1 -1
  47. package/components/{CasinoRandomGame-VtthH6fZ.cjs → CasinoRandomGame-CizKh9L_.cjs} +1 -1
  48. package/components/{CasinoRandomGame-xS7vlZYb.js → CasinoRandomGame-xOlt8fJf.js} +1 -1
  49. package/components/{CasinoSearchNd-DfBSL_NV.cjs → CasinoSearchNd-CJfURNmQ.cjs} +1 -1
  50. package/components/{CasinoSearchNd-av9rdeoE.js → CasinoSearchNd-CmGHZRNS.js} +4 -4
  51. package/components/{CasinoSearchNd-CY-xf4b7.js → CasinoSearchNd-NUQEWJ3V.js} +4 -4
  52. package/components/CasinoSliderNd-DCRB6r1D.cjs +1 -0
  53. package/components/CasinoSliderNd-Y8zK0g8N.js +1251 -0
  54. package/components/CasinoSliderNd-ittiGYeQ.js +1285 -0
  55. package/components/{CasinoSort-B0_2kCnL.cjs → CasinoSort-DHfTc4o2.cjs} +1 -1
  56. package/components/{CasinoSort-CLnj8P9G.js → CasinoSort-DSS6l9wT.js} +1 -1
  57. package/components/{CasinoSort-C1X1akxl.js → CasinoSort-VrXH8BFj.js} +1 -1
  58. package/components/{CasinoWinners-C1u2KsQJ.js → CasinoWinners-BnE4z2W-.js} +3 -3
  59. package/components/{CasinoWinners-DJQLnW-d.js → CasinoWinners-D9j1Xnpc.js} +3 -3
  60. package/components/{CasinoWinners-DsC_LMLf.cjs → CasinoWinners-qLK9YUoI.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-BBEJjc5H.js → GeneralAnimationLoading-CA-H6SgS.js} +1 -1
  62. package/components/{GeneralAnimationLoading-Ct_wY7ZB.cjs → GeneralAnimationLoading-DKQF2gOQ.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-CQp4jtm8.js → GeneralAnimationLoading-lvt_3Hec.js} +1 -1
  64. package/es2015/casino-lobby-nd.cjs +1 -1
  65. package/es2015/casino-lobby-nd.js +1 -1
  66. package/esnext/casino-lobby-nd.js +1 -1
  67. package/lazy/{casino-calendar-CYFgtit5.js → casino-calendar-Cd5zyNax.js} +1 -1
  68. package/lazy/{casino-calendar-Bd0aUcnv.cjs → casino-calendar-Om4TEXwY.cjs} +1 -1
  69. package/lazy/{casino-calendar-daily-details-ChbVeHo8.cjs → casino-calendar-daily-details-BmbriwCq.cjs} +1 -1
  70. package/lazy/{casino-calendar-daily-details-MGEm6LI6.js → casino-calendar-daily-details-BmoaC8uF.js} +1 -1
  71. package/lazy/{casino-calendar-daily-details-BOY0JVdX.js → casino-calendar-daily-details-CMS4cbCl.js} +1 -1
  72. package/lazy/{casino-calendar-daily-item-CisuEzga.cjs → casino-calendar-daily-item-8ldGaO65.cjs} +1 -1
  73. package/lazy/{casino-calendar-daily-item-S0mPBhPv.js → casino-calendar-daily-item-BDoY6vMQ.js} +1 -1
  74. package/lazy/{casino-calendar-daily-item-DHG1BwW2.js → casino-calendar-daily-item-BaopCnFD.js} +1 -1
  75. package/lazy/{casino-calendar-Cwn_6u7d.js → casino-calendar-lvx4QAud.js} +1 -1
  76. package/lazy/{casino-categories-slider-nd-Bve57ebZ.js → casino-categories-slider-nd-CGgejOwS.js} +1 -1
  77. package/lazy/{casino-categories-slider-nd-D2OP9T4q.js → casino-categories-slider-nd-DzdUH17J.js} +1 -1
  78. package/lazy/{casino-categories-slider-nd-C1NxkCyw.cjs → casino-categories-slider-nd-UkxUJxsa.cjs} +1 -1
  79. package/lazy/{casino-collections-providers-Dm3pbO8O.js → casino-collections-providers-CgqFcebj.js} +1 -1
  80. package/lazy/{casino-collections-providers-B69TwWUd.js → casino-collections-providers-PSYMINnA.js} +1 -1
  81. package/lazy/{casino-collections-providers-C7wJns3B.cjs → casino-collections-providers-SFPT-wjH.cjs} +1 -1
  82. package/lazy/{casino-favorites-section-nd-DFdZuP0B.js → casino-favorites-section-nd-B1zsSvdo.js} +1 -1
  83. package/lazy/{casino-favorites-section-nd-FnYsmsja.js → casino-favorites-section-nd-BTMU_7cg.js} +1 -1
  84. package/lazy/{casino-favorites-section-nd-BMTqWiP6.cjs → casino-favorites-section-nd-CMqPG8sI.cjs} +1 -1
  85. package/lazy/{casino-filter-fvQuljTB.cjs → casino-filter-BaeANekd.cjs} +1 -1
  86. package/lazy/{casino-filter-CxKYjz8d.js → casino-filter-BewvnsvO.js} +1 -1
  87. package/lazy/{casino-filter-CAcBvtFH.js → casino-filter-D9IyVCPI.js} +1 -1
  88. package/lazy/{casino-game-thumbnail-nd-DZjv9Ur1.js → casino-game-thumbnail-nd-Biqcos9Z.js} +1 -1
  89. package/lazy/{casino-game-thumbnail-nd-Bk97vWXT.cjs → casino-game-thumbnail-nd-CaI17XbG.cjs} +1 -1
  90. package/lazy/{casino-game-thumbnail-nd-DGUYSZL5.js → casino-game-thumbnail-nd-CfejtZN7.js} +1 -1
  91. package/lazy/{casino-games-category-section-nd-CtSKk9pk.cjs → casino-games-category-section-nd-Bfp3mOj_.cjs} +1 -1
  92. package/lazy/{casino-games-category-section-nd-f9EkLQe8.js → casino-games-category-section-nd-CHBK_XW1.js} +1 -1
  93. package/lazy/{casino-games-category-section-nd-AoBtBdFG.js → casino-games-category-section-nd-Debx7Z32.js} +1 -1
  94. package/lazy/{casino-jackpot-banner-DmTqMIqr.js → casino-jackpot-banner-2JuJ9x3T.js} +1 -1
  95. package/lazy/{casino-jackpot-banner-BaZzUj4y.js → casino-jackpot-banner-Cc8O_qbp.js} +1 -1
  96. package/lazy/{casino-jackpot-banner-C46y-l3p.cjs → casino-jackpot-banner-DGTsgO7k.cjs} +1 -1
  97. package/lazy/{casino-last-played-section-nd-PyOsinBF.cjs → casino-last-played-section-nd-D6DQTEAn.cjs} +1 -1
  98. package/lazy/{casino-last-played-section-nd-CNXE869m.js → casino-last-played-section-nd-DRfmKdzq.js} +1 -1
  99. package/lazy/{casino-last-played-section-nd-D0CwP5on.js → casino-last-played-section-nd-vrzSlc45.js} +1 -1
  100. package/lazy/{casino-most-played-section-nd-qAn5qtFJ.js → casino-most-played-section-nd-BkPE8FVS.js} +1 -1
  101. package/lazy/{casino-most-played-section-nd-m8oWcvAX.js → casino-most-played-section-nd-C4gjKxri.js} +1 -1
  102. package/lazy/{casino-most-played-section-nd-DAe_Aop7.cjs → casino-most-played-section-nd-D_NnW1VJ.cjs} +1 -1
  103. package/lazy/{casino-my-games-nd-Rud_7CaP.cjs → casino-my-games-nd-8M8JnazH.cjs} +1 -1
  104. package/lazy/{casino-my-games-nd-DtG96vEH.js → casino-my-games-nd-BWOGwd4Y.js} +1 -1
  105. package/lazy/{casino-my-games-nd-JlXF7Yqj.js → casino-my-games-nd-CoSnUh5P.js} +1 -1
  106. package/lazy/{casino-page-nd-BLD1yykk.js → casino-page-nd-C6lgTU4j.js} +1 -1
  107. package/lazy/{casino-page-nd-D_3V2g9k.cjs → casino-page-nd-CzQMoUsW.cjs} +1 -1
  108. package/lazy/{casino-page-nd-B0UeOHdZ.js → casino-page-nd-DgOGPr7B.js} +1 -1
  109. package/lazy/{casino-random-game-D0t_lWsf.cjs → casino-random-game-C4cBxYFF.cjs} +1 -1
  110. package/lazy/{casino-random-game-Di_1JYAA.js → casino-random-game-CTc1dtR9.js} +1 -1
  111. package/lazy/{casino-random-game-DEUBCvfL.js → casino-random-game-CilaaT6o.js} +1 -1
  112. package/lazy/{casino-search-nd-aINujef6.cjs → casino-search-nd-BxRPu318.cjs} +1 -1
  113. package/lazy/{casino-search-nd-4ETz-9KT.js → casino-search-nd-CeWW8s23.js} +1 -1
  114. package/lazy/{casino-search-nd-CZeOfvJM.js → casino-search-nd-IJkshl1_.js} +1 -1
  115. package/lazy/{casino-slider-nd-DR9YVN6H.cjs → casino-slider-nd--A3HsaGh.cjs} +1 -1
  116. package/lazy/{casino-slider-nd-CG2E0B6P.js → casino-slider-nd-4WmDb_Lv.js} +1 -1
  117. package/lazy/{casino-slider-nd-B2XkQQZX.js → casino-slider-nd-D-2v2VvS.js} +1 -1
  118. package/lazy/{casino-sort-zvE8Kmt7.cjs → casino-sort-Dls_qYMV.cjs} +1 -1
  119. package/lazy/{casino-sort-BbRWquG9.js → casino-sort-dwbN73ru.js} +1 -1
  120. package/lazy/{casino-sort-DL9cNYB9.js → casino-sort-lHt0tT7R.js} +1 -1
  121. package/lazy/{casino-winners-DaW2OCUA.cjs → casino-winners-BbwiVhmT.cjs} +1 -1
  122. package/lazy/{casino-winners-8jD44L9m.js → casino-winners-DET-WDs0.js} +1 -1
  123. package/lazy/{casino-winners-CRNp9Lln.js → casino-winners-Di2HfkLT.js} +1 -1
  124. package/lazy/{general-animation-loading-JrvTTH8W.js → general-animation-loading-BZ3KRZMG.js} +1 -1
  125. package/lazy/{general-animation-loading-VpVgJjyZ.cjs → general-animation-loading-Bcy_MaDJ.cjs} +1 -1
  126. package/lazy/{general-animation-loading-XRTnl_1h.js → general-animation-loading-CIF0GqX1.js} +1 -1
  127. package/package.json +1 -1
  128. package/components/CasinoCategoriesSliderNd-CZnT_tZ8.cjs +0 -1
  129. package/components/CasinoCategoriesSliderNd-saQRkCiz.js +0 -613
  130. package/components/CasinoSliderNd-C4HgSY3d.js +0 -1101
  131. package/components/CasinoSliderNd-Cl9HlK-D.js +0 -1082
  132. package/components/CasinoSliderNd-OVONYmzK.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-C_9G9_g5.cjs");require("../stencil/ui-image-D9jjPnnA.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,w,v,h,_,g,C;function I(u,o){return u[8]?Ae:Ie}let k=I(n),d=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),d.c(),b=e.space(),w=e.element("div"),v=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(v.src,h=n[14])||e.set_custom_element_data(v,"src",h),e.set_custom_element_data(v,"alt",""),e.attr(w,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),d.m(s,null),e.append(l,b),e.append(l,w),e.append(w,v),g||(C=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&d?d.p(u,o):(d.d(1),d=k(u),d&&(d.c(),d.m(s,null))),o[0]&16384&&!e.src_url_equal(v.src,h=u[14])&&e.set_custom_element_data(v,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),d.d(),g=!1,C()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,w=n[11][0]+"",v,h,_,g,C=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,d,u,o,f,S,K,B,q=n[11][1]+"",ce,de,E,P,Q=(n[2]==="true"?n[16][1]:n[10][1])+"",X,Z,$,N,U,R,J,T,ee,te,D=n[11][2]+"",z,H,O,G,ne=(n[2]==="true"?n[6][2]:n[10][2])+"",oe,pe,ue,Y,F,V,le,me,ae,ie=n[11][3]+"",re,fe,M,se,i=(n[2]==="true"?n[6][3]:n[10][3])+"",p,L,j=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),v=e.text(w),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(C),k=e.space(),j&&j.c(),d=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),B=e.element("span"),ce=e.text(q),de=e.space(),E=e.element("span"),P=e.element("span"),X=e.text(Q),Z=e.space(),x&&x.c(),$=e.space(),N=e.element("div"),U=e.element("div"),R=e.element("div"),J=e.element("ui-image"),ee=e.space(),te=e.element("span"),z=e.text(D),H=e.space(),O=e.element("span"),G=e.element("span"),oe=e.text(ne),pe=e.space(),W&&W.c(),ue=e.space(),Y=e.element("div"),F=e.element("div"),V=e.element("ui-image"),me=e.space(),ae=e.element("span"),re=e.text(ie),fe=e.space(),M=e.element("span"),se=e.element("span"),p=e.text(i),L=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(B,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(P,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(J,"class","displayCardIcon"),e.src_url_equal(J.src,T=n[12][2])||e.set_custom_element_data(J,"src",T),e.set_custom_element_data(J,"alt",""),e.attr(te,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(G,"class","jackpotValue"),e.attr(O,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(V,"class","displayCardIcon"),e.src_url_equal(V.src,le=n[12][3])||e.set_custom_element_data(V,"src",le),e.set_custom_element_data(V,"alt",""),e.attr(ae,"class","cardLabel"),e.attr(F,"class","iconWrapper"),e.attr(se,"class","jackpotValue"),e.attr(M,"class","cardTextWrapper"),e.attr(Y,"class","displayCard"),e.attr(N,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,v),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),j&&j.m(_,null),e.append(t,d),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,B),e.append(B,ce),e.append(u,de),e.append(u,E),e.append(E,P),e.append(P,X),e.append(E,Z),x&&x.m(E,null),e.insert(c,$,y),e.insert(c,N,y),e.append(N,U),e.append(U,R),e.append(R,J),e.append(R,ee),e.append(R,te),e.append(te,z),e.append(U,H),e.append(U,O),e.append(O,G),e.append(G,oe),e.append(O,pe),W&&W.m(O,null),e.append(N,ue),e.append(N,Y),e.append(Y,F),e.append(F,V),e.append(F,me),e.append(F,ae),e.append(ae,re),e.append(Y,fe),e.append(Y,M),e.append(M,se),e.append(se,p),e.append(M,L),A&&A.m(M,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&w!==(w=c[11][0]+"")&&e.set_data(v,w),y[0]&66564&&C!==(C=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,C),c[3]?j&&(j.d(1),j=null):j?j.p(c,y):(j=ye(c),j.c(),j.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ce,q),y[0]&66564&&Q!==(Q=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(X,Q),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(J.src,T=c[12][2])&&e.set_custom_element_data(J,"src",T),y[0]&2048&&D!==(D=c[11][2]+"")&&e.set_data(z,D),y[0]&1092&&ne!==(ne=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(oe,ne),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(O,null)),y[0]&4096&&!e.src_url_equal(V.src,le=c[12][3])&&e.set_custom_element_data(V,"src",le),y[0]&2048&&ie!==(ie=c[11][3]+"")&&e.set_data(re,ie),y[0]&1092&&i!==(i=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(p,i),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(M,null))},d(c){c&&(e.detach(t),e.detach($),e.detach(N)),j&&j.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",w,v,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",C,I,k,d=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),w=e.text(b),v=e.space(),h=e.element("span"),_=e.element("span"),C=e.text(g),I=e.space(),d&&d.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,w),e.append(t,v),e.append(t,h),e.append(h,_),e.append(_,C),e.append(h,I),d&&d.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(w,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(C,g),o[3]?d&&(d.d(1),d=null):d?d.p(o,f):(d=we(o),d.c(),d.m(h,null))},d(o){o&&e.detach(t),d&&d.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:w=""}=t,{caticon3:v=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:C=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:B="false"}=t,{currencylocale:q=""}=t,ce,de=window.navigator.userAgent,E=!1,P=!1,Q="",X=[],Z=[],$=[],N=[],U=[],R="",J="",T,ee=!0,te=!1,D,z=null,H=[];const O=()=>{fetch(o).then(p=>p.json()).then(p=>{Object.keys(p).forEach(L=>{ge(L,p[L])})}).catch(p=>{console.log(p)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const G=["typeSpread","typeLeft"],ne=i=>{var L;const p=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;p&&Object.values(p).forEach(j=>X.push(+j))},oe=i=>{var p;a(9,Q=((p=i==null?void 0:i.items[0])==null?void 0:p.vendorLogo)||"")},pe=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(p=>p.json().then(L=>{a(5,ee=!1),D=L,Z.includes(S)&&(ne(D),oe(D))}).catch(L=>{a(15,te=!0),a(5,ee=!1),console.error(L)}).finally(()=>{ue()}))}},ue=()=>{const i=T.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},Y=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(p=>p.json()).then(p=>{a(34,Z=p.egtJackpotIds.map(L=>L))})},F=()=>{a(7,E=e.isMobile(de)&&window.innerHeight/window.innerWidth>1),a(8,P=me()),X.length!==0&&(a(10,$=le(X)),$.reverse()),a(11,N=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),G.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${G[0]}"`),a(0,r=G[0])),a(13,R=C&&E&&!P?C:_),a(14,J=I),a(12,U=[s,b,w,v])},V=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),le=i=>q?i.map(p=>V(p)):i.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),me=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ae=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},ie=()=>{je(k)},re=i=>{const p=JSON.parse(i.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===S){const L=Number(p.data.jackpotAlias.split("_")[1])-1;a(6,H[L]=q?V(p.data.data[`${g}`].balance):p.data.data[`${g}`].balance.toString(),H)}},fe=()=>{B==="true"&&(F(),a(6,H=["","","",""]),z=new EventSource(`${f}/v1/encoder/jackpot/*/update`),z.addEventListener("message",re))};e.onMount(()=>()=>{}),e.onDestroy(()=>{z&&(z.removeEventListener("message",re),z.close(),z=null)});const M=()=>ae();function se(i){e.binding_callbacks[i?"unshift":"push"](()=>{T=i,a(4,T)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,w=i.caticon2),"caticon3"in i&&a(22,v=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,C=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,d=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,B=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&Y(),n.$$.dirty[0]&268435472&&d&&T&&e.setClientStyling(T,d),n.$$.dirty[0]&536870928&&u&&T&&e.setClientStylingURL(T,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&T&&e.setStreamStyling(T,`${K}.Style`,ce),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&Z.length>0&&pe(),n.$$.dirty[0]&134217762&&g&&k&&!ee&&F(),n.$$.dirty[0]&134217728&&k&&ie(),n.$$.dirty[0]&1073741824&&o&&O(),n.$$.dirty[0]&4&&B&&fe(),n.$$.dirty[0]&64&&a(16,l=[...H].reverse())},[r,g,B,q,T,ee,H,E,P,Q,$,N,U,R,J,te,l,ae,m,s,b,w,v,h,_,C,I,k,d,u,o,f,S,K,Z,M,se]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-ByfltJlD.cjs");require("../stencil/ui-image-D9jjPnnA.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,w,v,h,_,g,C;function I(u,o){return u[8]?Ae:Ie}let k=I(n),d=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),d.c(),b=e.space(),w=e.element("div"),v=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(v.src,h=n[14])||e.set_custom_element_data(v,"src",h),e.set_custom_element_data(v,"alt",""),e.attr(w,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),d.m(s,null),e.append(l,b),e.append(l,w),e.append(w,v),g||(C=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&d?d.p(u,o):(d.d(1),d=k(u),d&&(d.c(),d.m(s,null))),o[0]&16384&&!e.src_url_equal(v.src,h=u[14])&&e.set_custom_element_data(v,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),d.d(),g=!1,C()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,w=n[11][0]+"",v,h,_,g,C=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,d,u,o,f,S,K,B,q=n[11][1]+"",ce,de,E,P,Q=(n[2]==="true"?n[16][1]:n[10][1])+"",X,Z,$,N,U,R,J,T,ee,te,D=n[11][2]+"",z,H,O,G,ne=(n[2]==="true"?n[6][2]:n[10][2])+"",oe,pe,ue,Y,F,V,le,me,ae,ie=n[11][3]+"",re,fe,M,se,i=(n[2]==="true"?n[6][3]:n[10][3])+"",p,L,j=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),v=e.text(w),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(C),k=e.space(),j&&j.c(),d=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),B=e.element("span"),ce=e.text(q),de=e.space(),E=e.element("span"),P=e.element("span"),X=e.text(Q),Z=e.space(),x&&x.c(),$=e.space(),N=e.element("div"),U=e.element("div"),R=e.element("div"),J=e.element("ui-image"),ee=e.space(),te=e.element("span"),z=e.text(D),H=e.space(),O=e.element("span"),G=e.element("span"),oe=e.text(ne),pe=e.space(),W&&W.c(),ue=e.space(),Y=e.element("div"),F=e.element("div"),V=e.element("ui-image"),me=e.space(),ae=e.element("span"),re=e.text(ie),fe=e.space(),M=e.element("span"),se=e.element("span"),p=e.text(i),L=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(B,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(P,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(J,"class","displayCardIcon"),e.src_url_equal(J.src,T=n[12][2])||e.set_custom_element_data(J,"src",T),e.set_custom_element_data(J,"alt",""),e.attr(te,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(G,"class","jackpotValue"),e.attr(O,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(V,"class","displayCardIcon"),e.src_url_equal(V.src,le=n[12][3])||e.set_custom_element_data(V,"src",le),e.set_custom_element_data(V,"alt",""),e.attr(ae,"class","cardLabel"),e.attr(F,"class","iconWrapper"),e.attr(se,"class","jackpotValue"),e.attr(M,"class","cardTextWrapper"),e.attr(Y,"class","displayCard"),e.attr(N,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,v),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),j&&j.m(_,null),e.append(t,d),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,B),e.append(B,ce),e.append(u,de),e.append(u,E),e.append(E,P),e.append(P,X),e.append(E,Z),x&&x.m(E,null),e.insert(c,$,y),e.insert(c,N,y),e.append(N,U),e.append(U,R),e.append(R,J),e.append(R,ee),e.append(R,te),e.append(te,z),e.append(U,H),e.append(U,O),e.append(O,G),e.append(G,oe),e.append(O,pe),W&&W.m(O,null),e.append(N,ue),e.append(N,Y),e.append(Y,F),e.append(F,V),e.append(F,me),e.append(F,ae),e.append(ae,re),e.append(Y,fe),e.append(Y,M),e.append(M,se),e.append(se,p),e.append(M,L),A&&A.m(M,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&w!==(w=c[11][0]+"")&&e.set_data(v,w),y[0]&66564&&C!==(C=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,C),c[3]?j&&(j.d(1),j=null):j?j.p(c,y):(j=ye(c),j.c(),j.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ce,q),y[0]&66564&&Q!==(Q=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(X,Q),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(J.src,T=c[12][2])&&e.set_custom_element_data(J,"src",T),y[0]&2048&&D!==(D=c[11][2]+"")&&e.set_data(z,D),y[0]&1092&&ne!==(ne=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(oe,ne),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(O,null)),y[0]&4096&&!e.src_url_equal(V.src,le=c[12][3])&&e.set_custom_element_data(V,"src",le),y[0]&2048&&ie!==(ie=c[11][3]+"")&&e.set_data(re,ie),y[0]&1092&&i!==(i=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(p,i),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(M,null))},d(c){c&&(e.detach(t),e.detach($),e.detach(N)),j&&j.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",w,v,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",C,I,k,d=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),w=e.text(b),v=e.space(),h=e.element("span"),_=e.element("span"),C=e.text(g),I=e.space(),d&&d.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,w),e.append(t,v),e.append(t,h),e.append(h,_),e.append(_,C),e.append(h,I),d&&d.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(w,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(C,g),o[3]?d&&(d.d(1),d=null):d?d.p(o,f):(d=we(o),d.c(),d.m(h,null))},d(o){o&&e.detach(t),d&&d.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:w=""}=t,{caticon3:v=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:C=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:B="false"}=t,{currencylocale:q=""}=t,ce,de=window.navigator.userAgent,E=!1,P=!1,Q="",X=[],Z=[],$=[],N=[],U=[],R="",J="",T,ee=!0,te=!1,D,z=null,H=[];const O=()=>{fetch(o).then(p=>p.json()).then(p=>{Object.keys(p).forEach(L=>{ge(L,p[L])})}).catch(p=>{console.log(p)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const G=["typeSpread","typeLeft"],ne=i=>{var L;const p=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;p&&Object.values(p).forEach(j=>X.push(+j))},oe=i=>{var p;a(9,Q=((p=i==null?void 0:i.items[0])==null?void 0:p.vendorLogo)||"")},pe=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(p=>p.json().then(L=>{a(5,ee=!1),D=L,Z.includes(S)&&(ne(D),oe(D))}).catch(L=>{a(15,te=!0),a(5,ee=!1),console.error(L)}).finally(()=>{ue()}))}},ue=()=>{const i=T.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},Y=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(p=>p.json()).then(p=>{a(34,Z=p.egtJackpotIds.map(L=>L))})},F=()=>{a(7,E=e.isMobile(de)&&window.innerHeight/window.innerWidth>1),a(8,P=me()),X.length!==0&&(a(10,$=le(X)),$.reverse()),a(11,N=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),G.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${G[0]}"`),a(0,r=G[0])),a(13,R=C&&E&&!P?C:_),a(14,J=I),a(12,U=[s,b,w,v])},V=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),le=i=>q?i.map(p=>V(p)):i.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),me=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ae=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},ie=()=>{je(k)},re=i=>{const p=JSON.parse(i.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===S){const L=Number(p.data.jackpotAlias.split("_")[1])-1;a(6,H[L]=q?V(p.data.data[`${g}`].balance):p.data.data[`${g}`].balance.toString(),H)}},fe=()=>{B==="true"&&(F(),a(6,H=["","","",""]),z=new EventSource(`${f}/v1/encoder/jackpot/*/update`),z.addEventListener("message",re))};e.onMount(()=>()=>{}),e.onDestroy(()=>{z&&(z.removeEventListener("message",re),z.close(),z=null)});const M=()=>ae();function se(i){e.binding_callbacks[i?"unshift":"push"](()=>{T=i,a(4,T)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,w=i.caticon2),"caticon3"in i&&a(22,v=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,C=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,d=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,B=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&Y(),n.$$.dirty[0]&268435472&&d&&T&&e.setClientStyling(T,d),n.$$.dirty[0]&536870928&&u&&T&&e.setClientStylingURL(T,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&T&&e.setStreamStyling(T,`${K}.Style`,ce),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&Z.length>0&&pe(),n.$$.dirty[0]&134217762&&g&&k&&!ee&&F(),n.$$.dirty[0]&134217728&&k&&ie(),n.$$.dirty[0]&1073741824&&o&&O(),n.$$.dirty[0]&4&&B&&fe(),n.$$.dirty[0]&64&&a(16,l=[...H].reverse())},[r,g,B,q,T,ee,H,E,P,Q,$,N,U,R,J,te,l,ae,m,s,b,w,v,h,_,C,I,k,d,u,o,f,S,K,Z,M,se]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
@@ -1,4 +1,4 @@
1
- import { a as Ne, v as ze, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as Se, d as N, e as z, g as s, o as Me, B as He, l as Pe, h as d, N as je, Z as F, m as h, p as r, J as qe, F as _, A as Ge, K as Te, X as Ke, H as Xe, D as E, E as J, q as Ye, r as Ze, t as Qe, c as $e } from "./CasinoLobbyNd-bbR93r1z.js";
1
+ import { a as Ne, v as ze, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as Se, d as N, e as z, g as s, o as Me, B as He, l as Pe, h as d, N as je, Z as F, m as h, p as r, J as qe, F as _, A as Ge, K as Te, X as Ke, H as Xe, D as E, E as J, q as Ye, r as Ze, t as Qe, c as $e } from "./CasinoLobbyNd-XZW290tF.js";
2
2
  import "../stencil/ui-image-Da7NRAu7.js";
3
3
  function We(a, e) {
4
4
  Ne(a, e);
@@ -1,4 +1,4 @@
1
- import { a as Ne, v as Ue, S as Re, i as Fe, s as Me, f as C, b as Oe, n as Se, d as U, c as R, e as s, o as De, B as Pe, k as qe, g as o, M as je, Y as M, l as b, m as r, I as He, E as k, A as Ge, J as Te, W as Ye, G as Ke, C as V, D as x, p as Qe, q as Xe, r as Ze, t as $e } from "./CasinoLobbyNd-DxldwI_g.js";
1
+ import { a as Ne, v as Ue, S as Re, i as Fe, s as Me, f as C, b as Oe, n as Se, d as U, c as R, e as s, o as De, B as Pe, k as qe, g as o, M as je, Y as M, l as b, m as r, I as He, E as k, A as Ge, J as Te, W as Ye, G as Ke, C as V, D as x, p as Qe, q as Xe, r as Ze, t as $e } from "./CasinoLobbyNd-8wmWQuuM.js";
2
2
  import "../stencil/ui-image-CeUOY7QN.js";
3
3
  function We(i, e) {
4
4
  Ne(i, e);
@@ -1,6 +1,6 @@
1
- import { a as te, v as ae, S as se, i as ie, s as ne, f as l, b as le, n as H, d as M, c as N, m as V, e as S, g as D, h as re, o as oe, k as ue, C as ce, D as ge, l as i, j as me, p as de, q as fe, r as he, t as ye, $ as be } from "./CasinoLobbyNd-DxldwI_g.js";
2
- import "../lazy/casino-games-category-section-nd-f9EkLQe8.js";
3
- import { g as ve } from "./CasinoCategoriesSliderNd-saQRkCiz.js";
1
+ import { a as te, v as ae, S as se, i as ie, s as ne, f as l, b as le, n as H, d as M, c as N, m as V, e as S, g as D, h as re, o as oe, k as ue, C as ce, D as ge, l as i, j as me, p as de, q as fe, r as he, t as ye, $ as be } from "./CasinoLobbyNd-8wmWQuuM.js";
2
+ import "../lazy/casino-games-category-section-nd-CHBK_XW1.js";
3
+ import { g as ve } from "./CasinoCategoriesSliderNd-BjKlZ7yV.js";
4
4
  function we(s, e) {
5
5
  te(s, e);
6
6
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoLobbyNd-C_9G9_g5.cjs");require("../lazy/casino-games-category-section-nd-CtSKk9pk.cjs");const W=require("./CasinoCategoriesSliderNd-CZnT_tZ8.cjs");function X(n,e){t.addMessages(n,e)}function p(n){t.$locale.set(n)}const x={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function $(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function ee(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function te(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(r,o){t.insert(r,e,o),t.append(e,i)},p(r,o){o[0]&2097152&&a!==(a=r[21]("noRecentGames")+"")&&t.set_data(i,a)},d(r){r&&t.detach(e)}}}function ae(n){let e,a;function i(u,d){return u[20]?te:ee}let r=i(n),o=r(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),o.m(a,null),n[26](e)},p(u,d){r===(r=i(u))&&o?o.p(u,d):(o.d(1),o=r(u),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),o.d(),n[26](null)}}}function se(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:r=""}=e,{datasource:o=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:y=""}=e,{mbsource:_}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:h=""}=e,{livecasino:S="false"}=e,{integratedgameframemobile:A="false"}=e,{integratedgameframedesktop:N="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:T=""}=e,{visiblegames:k=""}=e,{favorites:D=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:R="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:E="true"}=e,Y=window.navigator.userAgent,F=!1,w=[],O,g,J,I;const q=s=>{Object.keys(s).forEach(m=>{X(m,s[m])})},B=()=>{fetch(h).then(m=>m.json()).then(m=>{q(m)}).catch(m=>{console.log(m)})};q(x);const H=()=>new Promise((s,m)=>{let c=new URL(`${r}/v1/player/${y}/games/last-played`);c.searchParams.append("unique",j),c.searchParams.append("limit",C),c.searchParams.append("order",L),c.searchParams.append("period",P),t.getDevice(Y)==="PC"?c.searchParams.append("device","Desktop"):c.searchParams.append("device","Mobile"),O=S?c:c.href,fetch(O).then(l=>l.json()).then(l=>{l.items=l.items.filter(Q=>{let z=!0;return Q.gameCode=="OddsMatrix2"&&(l.count--,z=!1),z}),s(l),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:l},window.location.href)}).catch(l=>{console.error(l),m(l)})}),V=()=>{H().then(s=>{if(s.count>0){let m=[];s.items.forEach(c=>{let f=new URL(`${r}/v1/casino/games/${c.gameId}`);f.searchParams.append("datasource",o),m.push(fetch(f.href).then(l=>l.ok?l.json():Promise.resolve([])))}),Promise.all(m).then(c=>{if(w=c.reduce((f,l)=>(l&&Array.isArray(l)&&!("error"in l)&&f.push(l[0]),f),[]),R==="true"){let f=20;try{f=JSON.parse(k)}catch(l){console.log("[ERR][casino-last-played-section-nd]: visiblegames is not valid JSON")}w=w.slice(0,f)}window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(20,F=!0)})},Z=()=>{p(d)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,r=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,y=s.userid),"mbsource"in s&&a(6,_=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"translationurl"in s&&a(9,h=s.translationurl),"livecasino"in s&&a(10,S=s.livecasino),"integratedgameframemobile"in s&&a(11,A=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,N=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,T=s.showgamename),"visiblegames"in s&&a(15,k=s.visiblegames),"favorites"in s&&a(16,D=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(17,R=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&r&&y&&d&&V(),n.$$.dirty[0]&512&&h&&B(),n.$$.dirty[0]&524416&&b&&g&&t.setClientStyling(g,b),n.$$.dirty[0]&524544&&v&&g&&t.setClientStylingURL(g,v),n.$$.dirty[0]&524352&&_&&g&&t.setStreamStyling(g,`${_}.Style`,J),n.$$.dirty[0]&576&&_&&!h&&W.getStreamTranslations(`${_}.Translation`,I,q),n.$$.dirty[0]&8&&d&&Z()},[r,o,u,d,G,y,_,b,v,h,S,A,N,M,T,k,D,R,E,g,F,i,P,L,C,j,K]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,se,ae,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},$,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=U;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoLobbyNd-ByfltJlD.cjs");require("../lazy/casino-games-category-section-nd-Bfp3mOj_.cjs");const W=require("./CasinoCategoriesSliderNd-Dsph6Hxw.cjs");function X(n,e){t.addMessages(n,e)}function p(n){t.$locale.set(n)}const x={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function $(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function ee(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function te(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(r,o){t.insert(r,e,o),t.append(e,i)},p(r,o){o[0]&2097152&&a!==(a=r[21]("noRecentGames")+"")&&t.set_data(i,a)},d(r){r&&t.detach(e)}}}function ae(n){let e,a;function i(u,d){return u[20]?te:ee}let r=i(n),o=r(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),o.m(a,null),n[26](e)},p(u,d){r===(r=i(u))&&o?o.p(u,d):(o.d(1),o=r(u),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),o.d(),n[26](null)}}}function se(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:r=""}=e,{datasource:o=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:y=""}=e,{mbsource:_}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:h=""}=e,{livecasino:S="false"}=e,{integratedgameframemobile:A="false"}=e,{integratedgameframedesktop:N="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:T=""}=e,{visiblegames:k=""}=e,{favorites:D=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:R="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:E="true"}=e,Y=window.navigator.userAgent,F=!1,w=[],O,g,J,I;const q=s=>{Object.keys(s).forEach(m=>{X(m,s[m])})},B=()=>{fetch(h).then(m=>m.json()).then(m=>{q(m)}).catch(m=>{console.log(m)})};q(x);const H=()=>new Promise((s,m)=>{let c=new URL(`${r}/v1/player/${y}/games/last-played`);c.searchParams.append("unique",j),c.searchParams.append("limit",C),c.searchParams.append("order",L),c.searchParams.append("period",P),t.getDevice(Y)==="PC"?c.searchParams.append("device","Desktop"):c.searchParams.append("device","Mobile"),O=S?c:c.href,fetch(O).then(l=>l.json()).then(l=>{l.items=l.items.filter(Q=>{let z=!0;return Q.gameCode=="OddsMatrix2"&&(l.count--,z=!1),z}),s(l),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:l},window.location.href)}).catch(l=>{console.error(l),m(l)})}),V=()=>{H().then(s=>{if(s.count>0){let m=[];s.items.forEach(c=>{let f=new URL(`${r}/v1/casino/games/${c.gameId}`);f.searchParams.append("datasource",o),m.push(fetch(f.href).then(l=>l.ok?l.json():Promise.resolve([])))}),Promise.all(m).then(c=>{if(w=c.reduce((f,l)=>(l&&Array.isArray(l)&&!("error"in l)&&f.push(l[0]),f),[]),R==="true"){let f=20;try{f=JSON.parse(k)}catch(l){console.log("[ERR][casino-last-played-section-nd]: visiblegames is not valid JSON")}w=w.slice(0,f)}window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(20,F=!0)})},Z=()=>{p(d)};t.onMount(()=>()=>{});function K(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,r=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,y=s.userid),"mbsource"in s&&a(6,_=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"translationurl"in s&&a(9,h=s.translationurl),"livecasino"in s&&a(10,S=s.livecasino),"integratedgameframemobile"in s&&a(11,A=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,N=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,M=s.gamepagemodalurl),"showgamename"in s&&a(14,T=s.showgamename),"visiblegames"in s&&a(15,k=s.visiblegames),"favorites"in s&&a(16,D=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(17,R=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(18,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&r&&y&&d&&V(),n.$$.dirty[0]&512&&h&&B(),n.$$.dirty[0]&524416&&b&&g&&t.setClientStyling(g,b),n.$$.dirty[0]&524544&&v&&g&&t.setClientStylingURL(g,v),n.$$.dirty[0]&524352&&_&&g&&t.setStreamStyling(g,`${_}.Style`,J),n.$$.dirty[0]&576&&_&&!h&&W.getStreamTranslations(`${_}.Translation`,I,q),n.$$.dirty[0]&8&&d&&Z()},[r,o,u,d,G,y,_,b,v,h,S,A,N,M,T,k,D,R,E,g,F,i,P,L,C,j,K]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,se,ae,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},$,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=U;
@@ -1,6 +1,6 @@
1
- import { a as te, v as ae, S as se, i as ie, s as ne, f as l, b as le, n as H, d as M, e as N, p as V, g as S, h as D, j as re, o as oe, l as ue, D as ce, E as ge, m as i, k as me, q as de, r as fe, t as he, c as ye, $ as be } from "./CasinoLobbyNd-bbR93r1z.js";
2
- import "../lazy/casino-games-category-section-nd-AoBtBdFG.js";
3
- import { g as ve } from "./CasinoCategoriesSliderNd-L-fJRvBT.js";
1
+ import { a as te, v as ae, S as se, i as ie, s as ne, f as l, b as le, n as H, d as M, e as N, p as V, g as S, h as D, j as re, o as oe, l as ue, D as ce, E as ge, m as i, k as me, q as de, r as fe, t as he, c as ye, $ as be } from "./CasinoLobbyNd-XZW290tF.js";
2
+ import "../lazy/casino-games-category-section-nd-Debx7Z32.js";
3
+ import { g as ve } from "./CasinoCategoriesSliderNd-v73jZ75J.js";
4
4
  function we(s, e) {
5
5
  te(s, e);
6
6
  }
@@ -27,8 +27,8 @@ var Vn = (e, t, n) => new Promise((i, r) => {
27
27
  }, m = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(o, c);
28
28
  m((n = n.apply(e, t)).next());
29
29
  });
30
- import "../lazy/casino-categories-slider-nd-Bve57ebZ.js";
31
- import "../lazy/casino-page-nd-B0UeOHdZ.js";
30
+ import "../lazy/casino-categories-slider-nd-CGgejOwS.js";
31
+ import "../lazy/casino-page-nd-DgOGPr7B.js";
32
32
  function R() {
33
33
  }
34
34
  function fr(e, t) {
@@ -1,4 +1,4 @@
1
- "use strict";var xr=Object.defineProperty,Tr=Object.defineProperties;var Hr=Object.getOwnPropertyDescriptors;var jn=Object.getOwnPropertySymbols;var Pr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var Qe=(e,t,n)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vn=(e,t)=>{for(var n in t||(t={}))Pr.call(t,n)&&Qe(e,n,t[n]);if(jn)for(var n of jn(t))Ar.call(t,n)&&Qe(e,n,t[n]);return e},Xn=(e,t)=>Tr(e,Hr(t));var T=(e,t,n)=>(Qe(e,typeof t!="symbol"?t+"":t,n),n);var zn=(e,t,n)=>new Promise((i,r)=>{var o=h=>{try{m(n.next(h))}catch(g){r(g)}},c=h=>{try{m(n.throw(h))}catch(g){r(g)}},m=h=>h.done?i(h.value):Promise.resolve(h.value).then(o,c);m((n=n.apply(e,t)).next())});require("../lazy/casino-categories-slider-nd-C1NxkCyw.cjs");require("../lazy/casino-page-nd-D_3V2g9k.cjs");function R(){}function Br(e,t){for(const n in t)e[n]=t[n];return e}function bi(e){return e()}function Wn(){return Object.create(null)}function z(e){e.forEach(bi)}function _e(e){return typeof e=="function"}function Et(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Te;function Or(e,t){return e===t?!0:(Te||(Te=document.createElement("a")),Te.href=t,e===Te.href)}function Lr(e){return Object.keys(e).length===0}function yi(e,...t){if(e==null){for(const i of t)i(void 0);return R}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ir(e,t,n){e.$$.on_destroy.push(yi(t,n))}function pi(e,t,n,i){if(e){const r=_i(e,t,n,i);return e[0](r)}}function _i(e,t,n,i){return e[1]&&i?Br(n.ctx.slice(),e[1](i(t))):n.ctx}function vi(e,t,n,i){if(e[2]&&i){const r=e[2](i(n));if(t.dirty===void 0)return r;if(typeof r=="object"){const o=[],c=Math.max(t.dirty.length,r.length);for(let m=0;m<c;m+=1)o[m]=t.dirty[m]|r[m];return o}return t.dirty|r}return t.dirty}function Ei(e,t,n,i,r,o){if(r){const c=_i(t,n,i,o);e.p(c,r)}}function wi(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let i=0;i<n;i++)t[i]=-1;return t}return-1}function Cr(e){return e&&_e(e.destroy)?e.destroy:R}function M(e,t){e.appendChild(t)}function Si(e,t,n){const i=Nr(e);if(!i.getElementById(t)){const r=O("style");r.id=t,r.textContent=n,Mr(i,r)}}function Nr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Mr(e,t){return M(e.head||e,t),t.sheet}function ue(e,t,n){e.insertBefore(t,n||null)}function Z(e){e.parentNode&&e.parentNode.removeChild(e)}function Rr(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function O(e){return document.createElement(e)}function xi(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Ge(e){return document.createTextNode(e)}function Ae(){return Ge(" ")}function Ur(){return Ge("")}function Dr(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function Gr(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function D(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function a(e,t,n){const i=t.toLowerCase();i in e?e[i]=typeof e[i]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:D(e,t,n)}function kr(e){return Array.from(e.childNodes)}function Ti(e,t){t=""+t,e.data!==t&&(e.data=t)}function Fr(e,t){e.value=t==null?"":t}function Me(e,t,n,i){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function jr(e,t,n){e.classList.toggle(t,!!n)}class Vr{constructor(t=!1){T(this,"is_svg",!1);T(this,"e");T(this,"n");T(this,"t");T(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,i=null){this.e||(this.is_svg?this.e=xi(n.nodeName):this.e=O(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(i)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n<this.n.length;n+=1)ue(this.t,this.n[n],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(Z)}}function Xr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let de;function me(e){de=e}function Hi(){if(!de)throw new Error("Function called outside component initialization");return de}function Pi(e){Hi().$$.on_mount.push(e)}function zr(e){Hi().$$.on_destroy.push(e)}const ee=[],ge=[];let ne=[];const qn=[],Ai=Promise.resolve();let rt=!1;function Bi(){rt||(rt=!0,Ai.then(b))}function Wr(){return Bi(),Ai}function st(e){ne.push(e)}const Ye=new Set;let K=0;function b(){if(K!==0)return;const e=de;do{try{for(;K<ee.length;){const t=ee[K];K++,me(t),qr(t.$$)}}catch(t){throw ee.length=0,K=0,t}for(me(null),ee.length=0,K=0;ge.length;)ge.pop()();for(let t=0;t<ne.length;t+=1){const n=ne[t];Ye.has(n)||(Ye.add(n),n())}ne.length=0}while(ee.length);for(;qn.length;)qn.pop()();rt=!1,Ye.clear(),me(e)}function qr(e){if(e.fragment!==null){e.update(),z(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(st)}}function Zr(e){const t=[],n=[];ne.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),ne=t}const Be=new Set;let q;function Oi(){q={r:0,c:[],p:q}}function Li(){q.r||z(q.c),q=q.p}function ie(e,t){e&&e.i&&(Be.delete(e),e.i(t))}function be(e,t,n,i){if(e&&e.o){if(Be.has(e))return;Be.add(e),q.c.push(()=>{Be.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}function Qr(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Yr(e,t){e.d(1),t.delete(e.key)}function Jr(e,t){be(e,1,1,()=>{t.delete(e.key)})}function Kr(e,t,n,i,r,o,c,m,h,g,s,y){let l=e.length,_=o.length,p=l;const f={};for(;p--;)f[e[p].key]=p;const d=[],L=new Map,I=new Map,H=[];for(p=_;p--;){const w=y(r,o,p),B=n(w);let N=c.get(B);N?H.push(()=>N.p(w,t)):(N=g(B,w),N.c()),L.set(B,d[p]=N),B in f&&I.set(B,Math.abs(p-f[B]))}const U=new Set,A=new Set;function C(w){ie(w,1),w.m(m,s),c.set(w.key,w),s=w.first,_--}for(;l&&_;){const w=d[_-1],B=e[l-1],N=w.key,V=B.key;w===B?(s=w.first,l--,_--):L.has(V)?!c.has(N)||U.has(N)?C(w):A.has(V)?l--:I.get(N)>I.get(V)?(A.add(N),C(w)):(U.add(V),l--):(h(B,c),l--)}for(;l--;){const w=e[l];L.has(w.key)||h(w,c)}for(;_;)C(d[_-1]);return z(H),d}function $r(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),st(()=>{const o=e.$$.on_mount.map(bi).filter(_e);e.$$.on_destroy?e.$$.on_destroy.push(...o):z(o),e.$$.on_mount=[]}),r.forEach(st)}function es(e,t){const n=e.$$;n.fragment!==null&&(Zr(n.after_update),z(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ts(e,t){e.$$.dirty[0]===-1&&(ee.push(e),Bi(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ii(e,t,n,i,r,o,c=null,m=[-1]){const h=de;me(e);const g=e.$$={fragment:null,ctx:[],props:o,update:R,not_equal:r,bound:Wn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(h?h.$$.context:[])),callbacks:Wn(),dirty:m,skip_bound:!1,root:t.target||h.$$.root};c&&c(g.root);let s=!1;if(g.ctx=n?n(e,t.props||{},(y,l,..._)=>{const p=_.length?_[0]:l;return g.ctx&&r(g.ctx[y],g.ctx[y]=p)&&(!g.skip_bound&&g.bound[y]&&g.bound[y](p),s&&ts(e,y)),l}):[],g.update(),s=!0,z(g.before_update),g.fragment=i?i(g.ctx):!1,t.target){if(t.hydrate){const y=kr(t.target);g.fragment&&g.fragment.l(y),y.forEach(Z)}else g.fragment&&g.fragment.c();t.intro&&ie(e.$$.fragment),$r(e,t.target,t.anchor),b()}me(h)}let Ci;typeof HTMLElement=="function"&&(Ci=class extends HTMLElement{constructor(t,n,i){super();T(this,"$$ctor");T(this,"$$s");T(this,"$$c");T(this,"$$cn",!1);T(this,"$$d",{});T(this,"$$r",!1);T(this,"$$p_d",{});T(this,"$$l",{});T(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return zn(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let c;return{c:function(){c=O("slot"),o!=="default"&&D(c,"name",o)},m:function(g,s){ue(g,c,s)},d:function(g){g&&Z(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=Xr(this);for(const o of this.$$s)o in i&&(n[o]=[t(o)]);for(const o of this.attributes){const c=this.$$g_p(o.name);c in this.$$d||(this.$$d[c]=Oe(c,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Xn(Vn({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const c=Oe(o,this.$$d[o],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,c)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const o in this.$$l)for(const c of this.$$l[o]){const m=this.$$c.$on(o,c);this.$$l_u.set(c,m)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Oe(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function Oe(e,t,n,i){var o;const r=(o=n[e])==null?void 0:o.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ni(e,t,n,i,r,o){let c=class extends Ci{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(m=>(t[m].attribute||m).toLowerCase())}};return Object.keys(t).forEach(m=>{Object.defineProperty(c.prototype,m,{get(){return this.$$c&&m in this.$$c?this.$$c[m]:this.$$d[m]},set(h){var g;h=Oe(m,h,t),this.$$d[m]=h,(g=this.$$c)==null||g.$set({[m]:h})}})}),i.forEach(m=>{Object.defineProperty(c.prototype,m,{get(){var h;return(h=this.$$c)==null?void 0:h[m]}})}),e.element=c,c}class Mi{constructor(){T(this,"$$");T(this,"$$set")}$destroy(){es(this,1),this.$destroy=R}$on(t,n){if(!_e(n))return R;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!Lr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ns="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ns);/*! *****************************************************************************
1
+ "use strict";var xr=Object.defineProperty,Tr=Object.defineProperties;var Hr=Object.getOwnPropertyDescriptors;var jn=Object.getOwnPropertySymbols;var Pr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var Qe=(e,t,n)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vn=(e,t)=>{for(var n in t||(t={}))Pr.call(t,n)&&Qe(e,n,t[n]);if(jn)for(var n of jn(t))Ar.call(t,n)&&Qe(e,n,t[n]);return e},Xn=(e,t)=>Tr(e,Hr(t));var T=(e,t,n)=>(Qe(e,typeof t!="symbol"?t+"":t,n),n);var zn=(e,t,n)=>new Promise((i,r)=>{var o=h=>{try{m(n.next(h))}catch(g){r(g)}},c=h=>{try{m(n.throw(h))}catch(g){r(g)}},m=h=>h.done?i(h.value):Promise.resolve(h.value).then(o,c);m((n=n.apply(e,t)).next())});require("../lazy/casino-categories-slider-nd-UkxUJxsa.cjs");require("../lazy/casino-page-nd-CzQMoUsW.cjs");function R(){}function Br(e,t){for(const n in t)e[n]=t[n];return e}function bi(e){return e()}function Wn(){return Object.create(null)}function z(e){e.forEach(bi)}function _e(e){return typeof e=="function"}function Et(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Te;function Or(e,t){return e===t?!0:(Te||(Te=document.createElement("a")),Te.href=t,e===Te.href)}function Lr(e){return Object.keys(e).length===0}function yi(e,...t){if(e==null){for(const i of t)i(void 0);return R}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Ir(e,t,n){e.$$.on_destroy.push(yi(t,n))}function pi(e,t,n,i){if(e){const r=_i(e,t,n,i);return e[0](r)}}function _i(e,t,n,i){return e[1]&&i?Br(n.ctx.slice(),e[1](i(t))):n.ctx}function vi(e,t,n,i){if(e[2]&&i){const r=e[2](i(n));if(t.dirty===void 0)return r;if(typeof r=="object"){const o=[],c=Math.max(t.dirty.length,r.length);for(let m=0;m<c;m+=1)o[m]=t.dirty[m]|r[m];return o}return t.dirty|r}return t.dirty}function Ei(e,t,n,i,r,o){if(r){const c=_i(t,n,i,o);e.p(c,r)}}function wi(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let i=0;i<n;i++)t[i]=-1;return t}return-1}function Cr(e){return e&&_e(e.destroy)?e.destroy:R}function M(e,t){e.appendChild(t)}function Si(e,t,n){const i=Nr(e);if(!i.getElementById(t)){const r=O("style");r.id=t,r.textContent=n,Mr(i,r)}}function Nr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Mr(e,t){return M(e.head||e,t),t.sheet}function ue(e,t,n){e.insertBefore(t,n||null)}function Z(e){e.parentNode&&e.parentNode.removeChild(e)}function Rr(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function O(e){return document.createElement(e)}function xi(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Ge(e){return document.createTextNode(e)}function Ae(){return Ge(" ")}function Ur(){return Ge("")}function Dr(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function Gr(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function D(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function a(e,t,n){const i=t.toLowerCase();i in e?e[i]=typeof e[i]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:D(e,t,n)}function kr(e){return Array.from(e.childNodes)}function Ti(e,t){t=""+t,e.data!==t&&(e.data=t)}function Fr(e,t){e.value=t==null?"":t}function Me(e,t,n,i){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function jr(e,t,n){e.classList.toggle(t,!!n)}class Vr{constructor(t=!1){T(this,"is_svg",!1);T(this,"e");T(this,"n");T(this,"t");T(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,i=null){this.e||(this.is_svg?this.e=xi(n.nodeName):this.e=O(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(i)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n<this.n.length;n+=1)ue(this.t,this.n[n],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(Z)}}function Xr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let de;function me(e){de=e}function Hi(){if(!de)throw new Error("Function called outside component initialization");return de}function Pi(e){Hi().$$.on_mount.push(e)}function zr(e){Hi().$$.on_destroy.push(e)}const ee=[],ge=[];let ne=[];const qn=[],Ai=Promise.resolve();let rt=!1;function Bi(){rt||(rt=!0,Ai.then(b))}function Wr(){return Bi(),Ai}function st(e){ne.push(e)}const Ye=new Set;let K=0;function b(){if(K!==0)return;const e=de;do{try{for(;K<ee.length;){const t=ee[K];K++,me(t),qr(t.$$)}}catch(t){throw ee.length=0,K=0,t}for(me(null),ee.length=0,K=0;ge.length;)ge.pop()();for(let t=0;t<ne.length;t+=1){const n=ne[t];Ye.has(n)||(Ye.add(n),n())}ne.length=0}while(ee.length);for(;qn.length;)qn.pop()();rt=!1,Ye.clear(),me(e)}function qr(e){if(e.fragment!==null){e.update(),z(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(st)}}function Zr(e){const t=[],n=[];ne.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),ne=t}const Be=new Set;let q;function Oi(){q={r:0,c:[],p:q}}function Li(){q.r||z(q.c),q=q.p}function ie(e,t){e&&e.i&&(Be.delete(e),e.i(t))}function be(e,t,n,i){if(e&&e.o){if(Be.has(e))return;Be.add(e),q.c.push(()=>{Be.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}function Qr(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Yr(e,t){e.d(1),t.delete(e.key)}function Jr(e,t){be(e,1,1,()=>{t.delete(e.key)})}function Kr(e,t,n,i,r,o,c,m,h,g,s,y){let l=e.length,_=o.length,p=l;const f={};for(;p--;)f[e[p].key]=p;const d=[],L=new Map,I=new Map,H=[];for(p=_;p--;){const w=y(r,o,p),B=n(w);let N=c.get(B);N?H.push(()=>N.p(w,t)):(N=g(B,w),N.c()),L.set(B,d[p]=N),B in f&&I.set(B,Math.abs(p-f[B]))}const U=new Set,A=new Set;function C(w){ie(w,1),w.m(m,s),c.set(w.key,w),s=w.first,_--}for(;l&&_;){const w=d[_-1],B=e[l-1],N=w.key,V=B.key;w===B?(s=w.first,l--,_--):L.has(V)?!c.has(N)||U.has(N)?C(w):A.has(V)?l--:I.get(N)>I.get(V)?(A.add(N),C(w)):(U.add(V),l--):(h(B,c),l--)}for(;l--;){const w=e[l];L.has(w.key)||h(w,c)}for(;_;)C(d[_-1]);return z(H),d}function $r(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),st(()=>{const o=e.$$.on_mount.map(bi).filter(_e);e.$$.on_destroy?e.$$.on_destroy.push(...o):z(o),e.$$.on_mount=[]}),r.forEach(st)}function es(e,t){const n=e.$$;n.fragment!==null&&(Zr(n.after_update),z(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ts(e,t){e.$$.dirty[0]===-1&&(ee.push(e),Bi(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ii(e,t,n,i,r,o,c=null,m=[-1]){const h=de;me(e);const g=e.$$={fragment:null,ctx:[],props:o,update:R,not_equal:r,bound:Wn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(h?h.$$.context:[])),callbacks:Wn(),dirty:m,skip_bound:!1,root:t.target||h.$$.root};c&&c(g.root);let s=!1;if(g.ctx=n?n(e,t.props||{},(y,l,..._)=>{const p=_.length?_[0]:l;return g.ctx&&r(g.ctx[y],g.ctx[y]=p)&&(!g.skip_bound&&g.bound[y]&&g.bound[y](p),s&&ts(e,y)),l}):[],g.update(),s=!0,z(g.before_update),g.fragment=i?i(g.ctx):!1,t.target){if(t.hydrate){const y=kr(t.target);g.fragment&&g.fragment.l(y),y.forEach(Z)}else g.fragment&&g.fragment.c();t.intro&&ie(e.$$.fragment),$r(e,t.target,t.anchor),b()}me(h)}let Ci;typeof HTMLElement=="function"&&(Ci=class extends HTMLElement{constructor(t,n,i){super();T(this,"$$ctor");T(this,"$$s");T(this,"$$c");T(this,"$$cn",!1);T(this,"$$d",{});T(this,"$$r",!1);T(this,"$$p_d",{});T(this,"$$l",{});T(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,i&&this.attachShadow({mode:"open"})}addEventListener(t,n,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const r=this.$$c.$on(t,n);this.$$l_u.set(n,r)}super.addEventListener(t,n,i)}removeEventListener(t,n,i){if(super.removeEventListener(t,n,i),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return zn(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let c;return{c:function(){c=O("slot"),o!=="default"&&D(c,"name",o)},m:function(g,s){ue(g,c,s)},d:function(g){g&&Z(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=Xr(this);for(const o of this.$$s)o in i&&(n[o]=[t(o)]);for(const o of this.attributes){const c=this.$$g_p(o.name);c in this.$$d||(this.$$d[c]=Oe(c,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Xn(Vn({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const c=Oe(o,this.$$d[o],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,c)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const o in this.$$l)for(const c of this.$$l[o]){const m=this.$$c.$on(o,c);this.$$l_u.set(c,m)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Oe(t,i,this.$$p_d,"toProp"),(r=this.$$c)==null||r.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function Oe(e,t,n,i){var o;const r=(o=n[e])==null?void 0:o.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ni(e,t,n,i,r,o){let c=class extends Ci{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(m=>(t[m].attribute||m).toLowerCase())}};return Object.keys(t).forEach(m=>{Object.defineProperty(c.prototype,m,{get(){return this.$$c&&m in this.$$c?this.$$c[m]:this.$$d[m]},set(h){var g;h=Oe(m,h,t),this.$$d[m]=h,(g=this.$$c)==null||g.$set({[m]:h})}})}),i.forEach(m=>{Object.defineProperty(c.prototype,m,{get(){var h;return(h=this.$$c)==null?void 0:h[m]}})}),e.element=c,c}class Mi{constructor(){T(this,"$$");T(this,"$$set")}$destroy(){es(this,1),this.$destroy=R}$on(t,n){if(!_e(n))return R;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!Lr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ns="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ns);/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1,5 +1,5 @@
1
- import "../lazy/casino-categories-slider-nd-D2OP9T4q.js";
2
- import "../lazy/casino-page-nd-BLD1yykk.js";
1
+ import "../lazy/casino-categories-slider-nd-DzdUH17J.js";
2
+ import "../lazy/casino-page-nd-C6lgTU4j.js";
3
3
  function M() {
4
4
  }
5
5
  function ei(e, t) {
@@ -1,6 +1,6 @@
1
- import { a as ee, v as te, S as se, i as ae, s as ne, f as r, b as ie, n as Y, d as E, e as T, p as H, g as N, h as M, j as oe, o as re, k as le, l as me, D as ge, E as ce, m as n, q as ue, r as de, t as fe, c as he, $ as ye } from "./CasinoLobbyNd-bbR93r1z.js";
2
- import "../lazy/casino-games-category-section-nd-AoBtBdFG.js";
3
- import { g as be } from "./CasinoCategoriesSliderNd-L-fJRvBT.js";
1
+ import { a as ee, v as te, S as se, i as ae, s as ne, f as r, b as ie, n as Y, d as E, e as T, p as H, g as N, h as M, j as oe, o as re, k as le, l as me, D as ge, E as ce, m as n, q as ue, r as de, t as fe, c as he, $ as ye } from "./CasinoLobbyNd-XZW290tF.js";
2
+ import "../lazy/casino-games-category-section-nd-Debx7Z32.js";
3
+ import { g as be } from "./CasinoCategoriesSliderNd-v73jZ75J.js";
4
4
  function ve(a, e) {
5
5
  ee(a, e);
6
6
  }
@@ -1,6 +1,6 @@
1
- import { a as ee, v as te, S as se, i as ae, s as ne, f as r, b as ie, n as Y, d as T, c as D, m as H, e as N, g as M, h as oe, o as re, j as le, k as me, C as ge, D as ce, l as n, p as ue, q as de, r as fe, t as he, $ as ye } from "./CasinoLobbyNd-DxldwI_g.js";
2
- import "../lazy/casino-games-category-section-nd-f9EkLQe8.js";
3
- import { g as be } from "./CasinoCategoriesSliderNd-saQRkCiz.js";
1
+ import { a as ee, v as te, S as se, i as ae, s as ne, f as r, b as ie, n as Y, d as T, c as D, m as H, e as N, g as M, h as oe, o as re, j as le, k as me, C as ge, D as ce, l as n, p as ue, q as de, r as fe, t as he, $ as ye } from "./CasinoLobbyNd-8wmWQuuM.js";
2
+ import "../lazy/casino-games-category-section-nd-CHBK_XW1.js";
3
+ import { g as be } from "./CasinoCategoriesSliderNd-BjKlZ7yV.js";
4
4
  function ve(a, e) {
5
5
  ee(a, e);
6
6
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoLobbyNd-C_9G9_g5.cjs");require("../lazy/casino-games-category-section-nd-CtSKk9pk.cjs");const W=require("./CasinoCategoriesSliderNd-CZnT_tZ8.cjs");function X(n,e){t.addMessages(n,e)}function Z(n){t.$locale.set(n)}const p={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function x(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function $(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function ee(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(m,l){t.insert(m,e,l),t.append(e,i)},p(m,l){l[0]&2097152&&a!==(a=m[21]("noGames")+"")&&t.set_data(i,a)},d(m){m&&t.detach(e)}}}function te(n){let e,a;function i(r,u){return r[20]?ee:$}let m=i(n),l=m(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){m===(m=i(r))&&l?l.p(r,u):(l.d(1),l=m(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function se(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:m=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:L=""}=e,{userid:b=""}=e,{mbsource:f}=e,{clientstyling:v=""}=e,{clientstylingurl:G=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:T="false"}=e,{showgamename:O=""}=e,{visiblegames:k}=e,{favorites:E=""}=e,{translationurl:y=""}=e,{casinomygames:S="false"}=e,{mostplayedperiod:P="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:F="true"}=e,z=window.navigator.userAgent,I;const j=s=>{Object.keys(s).forEach(o=>{X(o,s[o])})},J=()=>{fetch(y).then(o=>o.json()).then(o=>{j(o)}).catch(o=>{console.log(o)})};j(p);let N=[],R,D=!1,d,B;const Y=s=>{let o=new URL(`${m}/v1/player/${b}/games/most-played`);s.limit&&o.searchParams.append("limit",s.limit),s.order&&o.searchParams.append("order",s.order),o.searchParams.append("expand","games"),o.searchParams.append("period",P);let h=s.device;return h?h==="PC"?o.searchParams.append("device","Desktop"):o.searchParams.append("device","Mobile"):o.searchParams.append("device","All"),s.rounds&&o.searchParams.append("rounds",s.rounds),R=w?o:o.href,new Promise((g,c)=>{fetch(R).then(_=>_.json()).then(_=>{_.items=_.items.filter(V=>{let q=!0;return V.gameCode=="OddsMatrix2"&&(_.count--,q=!1),q}),g(_)}).catch(_=>{console.error(_),c(_)})})},H=()=>{Y({limit:100,device:t.getDevice(z),rounds:C}).then(s=>{if(s.count>0){let o=[];s.items.forEach(h=>{let g=new URL(`${m}/v1/casino/games/${h.gameId}`);g.searchParams.append("datasource",l),o.push(fetch(g.href).then(c=>c.ok?c.json():Promise.resolve([])))}),Promise.all(o).then(h=>{if(N=h.reduce((g,c)=>(c&&Array.isArray(c)&&!("error"in c)&&g.push(c[0]),g),[]),S==="true"){let g=20;try{g=JSON.parse(k)}catch(c){console.log("[ERR][casino-most-played-section-nd]: visiblegames is not valid JSON")}N=N.slice(0,visblegames)}window.postMessage({type:"MostPlayedData",mostPlayedGames:N},window.location.href)})}else a(20,D=!0)})},K=()=>{Z(u)};t.onMount(()=>()=>{});function Q(s){t.binding_callbacks[s?"unshift":"push"](()=>{d=s,a(19,d)})}return n.$$set=s=>{"endpoint"in s&&a(0,m=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,L=s.session),"userid"in s&&a(5,b=s.userid),"mbsource"in s&&a(6,f=s.mbsource),"clientstyling"in s&&a(7,v=s.clientstyling),"clientstylingurl"in s&&a(8,G=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,T=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,y=s.translationurl),"casinomygames"in s&&a(17,S=s.casinomygames),"mostplayedperiod"in s&&a(22,P=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&m&&b&&u&&H(),n.$$.dirty[0]&524416&&v&&d&&t.setClientStyling(d,v),n.$$.dirty[0]&524544&&G&&d&&t.setClientStylingURL(d,G),n.$$.dirty[0]&524352&&f&&d&&t.setStreamStyling(d,`${f}.Style`,B),n.$$.dirty[0]&65600&&f&&!y&&W.getStreamTranslations(`${f}.Translation`,I,j),n.$$.dirty[0]&65536&&y&&J(),n.$$.dirty[0]&8&&u&&K()},[m,l,r,u,L,b,f,v,G,w,M,A,T,O,k,E,y,S,F,d,D,i,P,C,Q]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,se,te,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},x,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=U;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoLobbyNd-ByfltJlD.cjs");require("../lazy/casino-games-category-section-nd-Bfp3mOj_.cjs");const W=require("./CasinoCategoriesSliderNd-Dsph6Hxw.cjs");function X(n,e){t.addMessages(n,e)}function Z(n){t.$locale.set(n)}const p={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};function x(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function $(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function ee(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(m,l){t.insert(m,e,l),t.append(e,i)},p(m,l){l[0]&2097152&&a!==(a=m[21]("noGames")+"")&&t.set_data(i,a)},d(m){m&&t.detach(e)}}}function te(n){let e,a;function i(r,u){return r[20]?ee:$}let m=i(n),l=m(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),l.m(a,null),n[24](e)},p(r,u){m===(m=i(r))&&l?l.p(r,u):(l.d(1),l=m(r),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),l.d(),n[24](null)}}}function se(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:m=""}=e,{datasource:l=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:L=""}=e,{userid:b=""}=e,{mbsource:f}=e,{clientstyling:v=""}=e,{clientstylingurl:G=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:T="false"}=e,{showgamename:O=""}=e,{visiblegames:k}=e,{favorites:E=""}=e,{translationurl:y=""}=e,{casinomygames:S="false"}=e,{mostplayedperiod:P="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:F="true"}=e,z=window.navigator.userAgent,I;const j=s=>{Object.keys(s).forEach(o=>{X(o,s[o])})},J=()=>{fetch(y).then(o=>o.json()).then(o=>{j(o)}).catch(o=>{console.log(o)})};j(p);let N=[],R,D=!1,d,B;const Y=s=>{let o=new URL(`${m}/v1/player/${b}/games/most-played`);s.limit&&o.searchParams.append("limit",s.limit),s.order&&o.searchParams.append("order",s.order),o.searchParams.append("expand","games"),o.searchParams.append("period",P);let h=s.device;return h?h==="PC"?o.searchParams.append("device","Desktop"):o.searchParams.append("device","Mobile"):o.searchParams.append("device","All"),s.rounds&&o.searchParams.append("rounds",s.rounds),R=w?o:o.href,new Promise((g,c)=>{fetch(R).then(_=>_.json()).then(_=>{_.items=_.items.filter(V=>{let q=!0;return V.gameCode=="OddsMatrix2"&&(_.count--,q=!1),q}),g(_)}).catch(_=>{console.error(_),c(_)})})},H=()=>{Y({limit:100,device:t.getDevice(z),rounds:C}).then(s=>{if(s.count>0){let o=[];s.items.forEach(h=>{let g=new URL(`${m}/v1/casino/games/${h.gameId}`);g.searchParams.append("datasource",l),o.push(fetch(g.href).then(c=>c.ok?c.json():Promise.resolve([])))}),Promise.all(o).then(h=>{if(N=h.reduce((g,c)=>(c&&Array.isArray(c)&&!("error"in c)&&g.push(c[0]),g),[]),S==="true"){let g=20;try{g=JSON.parse(k)}catch(c){console.log("[ERR][casino-most-played-section-nd]: visiblegames is not valid JSON")}N=N.slice(0,visblegames)}window.postMessage({type:"MostPlayedData",mostPlayedGames:N},window.location.href)})}else a(20,D=!0)})},K=()=>{Z(u)};t.onMount(()=>()=>{});function Q(s){t.binding_callbacks[s?"unshift":"push"](()=>{d=s,a(19,d)})}return n.$$set=s=>{"endpoint"in s&&a(0,m=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,L=s.session),"userid"in s&&a(5,b=s.userid),"mbsource"in s&&a(6,f=s.mbsource),"clientstyling"in s&&a(7,v=s.clientstyling),"clientstylingurl"in s&&a(8,G=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,T=s.gamepagemodalurl),"showgamename"in s&&a(13,O=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,y=s.translationurl),"casinomygames"in s&&a(17,S=s.casinomygames),"mostplayedperiod"in s&&a(22,P=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&m&&b&&u&&H(),n.$$.dirty[0]&524416&&v&&d&&t.setClientStyling(d,v),n.$$.dirty[0]&524544&&G&&d&&t.setClientStylingURL(d,G),n.$$.dirty[0]&524352&&f&&d&&t.setStreamStyling(d,`${f}.Style`,B),n.$$.dirty[0]&65600&&f&&!y&&W.getStreamTranslations(`${f}.Translation`,I,j),n.$$.dirty[0]&65536&&y&&J(),n.$$.dirty[0]&8&&u&&K()},[m,l,r,u,L,b,f,v,G,w,M,A,T,O,k,E,y,S,F,d,D,i,P,C,Q]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,se,te,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},x,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(U,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=U;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-C_9G9_g5.cjs"),se=require("./CasinoCategoriesSliderNd-CZnT_tZ8.cjs");require("../lazy/casino-favorites-section-nd-BMTqWiP6.cjs");require("../lazy/casino-last-played-section-nd-PyOsinBF.cjs");require("../lazy/casino-most-played-section-nd-DAe_Aop7.cjs");function le({withLocale:a,translations:t}){e.$locale.subscribe(m=>{m==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function ne(a,t){e.addMessages(a,t)}function oe(a){e.$locale.set(a)}const ie={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};function me(a){e.append_styles(a,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(a,t,m){const c=a.slice();return c[45]=t[m],c}function de(a){let t,m,c,r,_,n,u,l,h,d,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Z(R(a,g,s));return{c(){t=e.element("div"),m=e.element("div"),c=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();r=e.space(),_=e.element("div"),n=e.element("casino-favorites-section-nd"),u=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(c,"class","MyGamesButtonsContainer"),e.attr(m,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[12]),e.set_custom_element_data(n,"clientstyling",a[7]),e.set_custom_element_data(n,"clientstylingurl",a[8]),e.set_custom_element_data(n,"translationurl",a[15]),e.set_custom_element_data(n,"livecasino",a[9]),e.set_custom_element_data(n,"visiblegames",a[10]),e.set_custom_element_data(n,"gamepagemodalurl",a[11]),e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),e.set_custom_element_data(n,"integratedgameframemobile",a[14]),e.set_custom_element_data(n,"casinomygames",a[19]),e.set_custom_element_data(n,"mbsource",a[6]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[12]),e.set_custom_element_data(l,"clientstyling",a[7]),e.set_custom_element_data(l,"clientstylingurl",a[8]),e.set_custom_element_data(l,"translationurl",a[15]),e.set_custom_element_data(l,"livecasino",a[9]),e.set_custom_element_data(l,"visiblegames",a[10]),e.set_custom_element_data(l,"gamepagemodalurl",a[11]),e.set_custom_element_data(l,"mostplayedrounds",a[25]),e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),e.set_custom_element_data(l,"integratedgameframemobile",a[14]),e.set_custom_element_data(l,"mostplayedperiod",a[21]),e.set_custom_element_data(l,"casinomygames",a[19]),e.set_custom_element_data(l,"mbsource",a[6]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",a[0]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"datasource",a[3]),e.set_custom_element_data(d,"favorites",a[16]),e.set_custom_element_data(d,"lang",a[4]),e.set_custom_element_data(d,"currency",a[5]),e.set_custom_element_data(d,"session",a[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",a[12]),e.set_custom_element_data(d,"clientstyling",a[7]),e.set_custom_element_data(d,"clientstylingurl",a[8]),e.set_custom_element_data(d,"translationurl",a[15]),e.set_custom_element_data(d,"livecasino",a[9]),e.set_custom_element_data(d,"visiblegames",a[10]),e.set_custom_element_data(d,"lastplayedperiod",a[20]),e.set_custom_element_data(d,"lastplayedorder",a[22]),e.set_custom_element_data(d,"lastplayedlimit",a[23]),e.set_custom_element_data(d,"lastplayedunique",a[24]),e.set_custom_element_data(d,"gamepagemodalurl",a[11]),e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),e.set_custom_element_data(d,"integratedgameframemobile",a[14]),e.set_custom_element_data(d,"casinomygames",a[19]),e.set_custom_element_data(d,"mbsource",a[6]),e.toggle_class(d,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,o){e.insert(s,t,o),e.append(t,m),e.append(m,c);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(c,null);e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),e.append(_,h),e.append(_,d)},p(s,o){if(o[0]&1745289216|o[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=R(s,g,y);f[y]?f[y].p(M,o):(f[y]=Z(M),f[y].c(),f[y].m(c,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}o[0]&2&&e.set_custom_element_data(n,"session",s[1]),o[0]&1&&e.set_custom_element_data(n,"userid",s[0]),o[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(n,"lang",s[4]),o[0]&32&&e.set_custom_element_data(n,"currency",s[5]),o[0]&65536&&e.set_custom_element_data(n,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(n,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(n,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(n,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(n,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(n,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(n,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(n,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(n,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),o[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(l,"lang",s[4]),o[0]&32&&e.set_custom_element_data(l,"currency",s[5]),o[0]&2&&e.set_custom_element_data(l,"session",s[1]),o[0]&1&&e.set_custom_element_data(l,"userid",s[0]),o[0]&65536&&e.set_custom_element_data(l,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(l,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(l,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(l,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(l,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(l,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(l,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",s[11]),o[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",s[25]),o[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",s[14]),o[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",s[21]),o[0]&524288&&e.set_custom_element_data(l,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(l,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),o[0]&1&&e.set_custom_element_data(d,"userid",s[0]),o[0]&4&&e.set_custom_element_data(d,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(d,"datasource",s[3]),o[0]&65536&&e.set_custom_element_data(d,"favorites",s[16]),o[0]&16&&e.set_custom_element_data(d,"lang",s[4]),o[0]&32&&e.set_custom_element_data(d,"currency",s[5]),o[0]&2&&e.set_custom_element_data(d,"session",s[1]),o[0]&4096&&e.set_custom_element_data(d,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(d,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(d,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(d,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(d,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(d,"visiblegames",s[10]),o[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",s[20]),o[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",s[22]),o[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",s[23]),o[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",s[24]),o[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(d,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(d,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(d,"Active",s[27]=="LastPlayed"),o[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function D(a){let t,m=a[31]("favorites")+"",c,r,_,n,u,l,h,d,p;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),_=e.element("span"),n=e.text("("),u=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,c),e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),d||(p=e.listen(t,"click",a[33]),d=!0)},p(g,f){f[1]&1&&m!==(m=g[31]("favorites")+"")&&e.set_data(c,m),f[0]&1073741824&&e.set_data(u,g[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),d=!1,p()}}}function J(a){let t,m=a[31]("mostPlayed")+"",c,r,_,n;return{c(){t=e.element("button"),c=e.text(m),e.attr(t,"class",r="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(u,l){e.insert(u,t,l),e.append(t,c),_||(n=e.listen(t,"click",a[34]),_=!0)},p(u,l){l[1]&1&&m!==(m=u[31]("mostPlayed")+"")&&e.set_data(c,m),l[0]&134348800&&r!==(r="MyGamesButton "+(u[27]=="MostPlayed"?"Active":"")+" "+(u[17]=="false"?"Off":""))&&e.attr(t,"class",r)},d(u){u&&e.detach(t),_=!1,n()}}}function V(a){let t,m=a[31]("recentlyPlayed")+"",c,r,_,n,u;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),e.attr(t,"class",_="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,c),e.append(t,r),n||(u=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&m!==(m=l[31]("recentlyPlayed")+"")&&e.set_data(c,m),h[0]&134479872&&_!==(_="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",_)},d(l){l&&e.detach(t),n=!1,u()}}}function Z(a){let t,m,c,r=a[45]=="Favorites"&&D(a),_=a[45]=="MostPlayed"&&J(a),n=a[45]=="LastPlayed"&&V(a);return{c(){r&&r.c(),t=e.space(),_&&_.c(),m=e.space(),n&&n.c(),c=e.empty()},m(u,l){r&&r.m(u,l),e.insert(u,t,l),_&&_.m(u,l),e.insert(u,m,l),n&&n.m(u,l),e.insert(u,c,l)},p(u,l){u[45]=="Favorites"?r?r.p(u,l):(r=D(u),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),u[45]=="MostPlayed"?_?_.p(u,l):(_=J(u),_.c(),_.m(m.parentNode,m)):_&&(_.d(1),_=null),u[45]=="LastPlayed"?n?n.p(u,l):(n=V(u),n.c(),n.m(c.parentNode,c)):n&&(n.d(1),n=null)},d(u){u&&(e.detach(t),e.detach(m),e.detach(c)),r&&r.d(u),_&&_.d(u),n&&n.d(u)}}}function _e(a){let t;function m(_,n){if(_[19])return de}let c=m(a),r=c&&c(a);return{c(){t=e.element("div"),r&&r.c()},m(_,n){e.insert(_,t,n),r&&r.m(t,null),a[36](t)},p(_,n){c===(c=m(_))&&r?r.p(_,n):(r&&r.d(1),r=c&&c(_),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),r&&r.d(),a[36](null)}}}function re(a,t,m){let c;e.component_subscribe(a,e.$format,i=>m(31,c=i));let{userid:r=""}=t,{session:_=""}=t,{endpoint:n=""}=t,{datasource:u=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{livecasino:f=""}=t,{visiblegames:s=""}=t,{gamepagemodalurl:o=""}=t,{showgamename:y=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:S=""}=t,{translationurl:w=""}=t,{favorites:k="false"}=t,{mostplayed:F="false"}=t,{lastplayed:G="false"}=t,{casinomygames:q="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:O="Last30Days"}=t,{lastplayedorder:E=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:z=""}=t,Q=window.navigator.userAgent,W,b,X,L="",H=!1,P=["","",""],A="0";le({withLocale:"en",translations:{}});const B=i=>{Object.keys(i).forEach(v=>{ne(v,i[v])})},Y=()=>{fetch(w).then(v=>v.json()).then(v=>{B(v)}).catch(v=>{console.log(v)})};B(ie);const C=i=>{L!==i&&m(27,L=i)},x=()=>{m(27,L=k==="true"?"Favorites":F==="true"?"MostPlayed":G==="true"?"LastPlayed":""),m(29,P[0]=k==="true"?"Favorites":"",P),m(29,P[1]=F==="true"?"MostPlayed":"",P),m(29,P[2]=G==="true"?"LastPlayed":"",P),oe(l)},U=i=>{var v,I;if(i.data)switch(i.data.type){case"UpdateFavoritesCount":i.data.favoriteGamesLength!==void 0?m(30,A=i.data.favoriteGamesLength):m(30,A=(I=(v=i.data.listOfFavoritesGames)==null?void 0:v.length)!=null?I:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),m(28,H=e.isMobile(Q)),()=>{window.removeEventListener("message",U)}));const $=()=>C("Favorites"),ee=()=>C("MostPlayed"),te=()=>C("LastPlayed");function ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{b=i,m(26,b)})}return a.$$set=i=>{"userid"in i&&m(0,r=i.userid),"session"in i&&m(1,_=i.session),"endpoint"in i&&m(2,n=i.endpoint),"datasource"in i&&m(3,u=i.datasource),"lang"in i&&m(4,l=i.lang),"currency"in i&&m(5,h=i.currency),"mbsource"in i&&m(6,d=i.mbsource),"clientstyling"in i&&m(7,p=i.clientstyling),"clientstylingurl"in i&&m(8,g=i.clientstylingurl),"livecasino"in i&&m(9,f=i.livecasino),"visiblegames"in i&&m(10,s=i.visiblegames),"gamepagemodalurl"in i&&m(11,o=i.gamepagemodalurl),"showgamename"in i&&m(12,y=i.showgamename),"integratedgameframedesktop"in i&&m(13,M=i.integratedgameframedesktop),"integratedgameframemobile"in i&&m(14,S=i.integratedgameframemobile),"translationurl"in i&&m(15,w=i.translationurl),"favorites"in i&&m(16,k=i.favorites),"mostplayed"in i&&m(17,F=i.mostplayed),"lastplayed"in i&&m(18,G=i.lastplayed),"casinomygames"in i&&m(19,q=i.casinomygames),"lastplayedperiod"in i&&m(20,j=i.lastplayedperiod),"mostplayedperiod"in i&&m(21,O=i.mostplayedperiod),"lastplayedorder"in i&&m(22,E=i.lastplayedorder),"lastplayedlimit"in i&&m(23,N=i.lastplayedlimit),"lastplayedunique"in i&&m(24,T=i.lastplayedunique),"mostplayedrounds"in i&&m(25,z=i.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&458780&&n&&u&&l&&k&&F&&G&&x(),a.$$.dirty[0]&32768&&w&&Y(),a.$$.dirty[0]&67108992&&p&&b&&e.setClientStyling(b,p),a.$$.dirty[0]&67109120&&g&&b&&e.setClientStylingURL(b,g),a.$$.dirty[0]&67108928&&d&&b&&e.setStreamStyling(b,`${d}.Style`,W),a.$$.dirty[0]&32832&&d&&!w&&se.getStreamTranslations(`${d}.Translation`,X,B)},[r,_,n,u,l,h,d,p,g,f,s,o,y,M,S,w,k,F,G,q,j,O,E,N,T,z,b,L,H,P,A,c,C,$,ee,te,ae]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,_e,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},me,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(K,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=K;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-ByfltJlD.cjs"),se=require("./CasinoCategoriesSliderNd-Dsph6Hxw.cjs");require("../lazy/casino-favorites-section-nd-CMqPG8sI.cjs");require("../lazy/casino-last-played-section-nd-D6DQTEAn.cjs");require("../lazy/casino-most-played-section-nd-D_NnW1VJ.cjs");function le({withLocale:a,translations:t}){e.$locale.subscribe(m=>{m==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function ne(a,t){e.addMessages(a,t)}function oe(a){e.$locale.set(a)}const ie={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"},"en-us":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};function me(a){e.append_styles(a,"svelte-kjgz4h",".CasinoMyGames{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.CasinoMyGames casino-favorites-section-nd{display:none}.CasinoMyGames casino-favorites-section-nd.Active{display:block}.CasinoMyGames casino-most-played-section-nd{display:none}.CasinoMyGames casino-most-played-section-nd.Active{display:block}.CasinoMyGames casino-last-played-section-nd{display:none}.CasinoMyGames casino-last-played-section-nd.Active{display:block}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:36px}.ButtonsContainerNone{display:none}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .CasinoMyGames{margin:30px 0}.Mobile .CasinoMyGames{width:320px;max-width:320px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}")}function R(a,t,m){const c=a.slice();return c[45]=t[m],c}function de(a){let t,m,c,r,_,n,u,l,h,d,p,g=e.ensure_array_like(a[29]),f=[];for(let s=0;s<g.length;s+=1)f[s]=Z(R(a,g,s));return{c(){t=e.element("div"),m=e.element("div"),c=e.element("div");for(let s=0;s<f.length;s+=1)f[s].c();r=e.space(),_=e.element("div"),n=e.element("casino-favorites-section-nd"),u=e.space(),l=e.element("casino-most-played-section-nd"),h=e.space(),d=e.element("casino-last-played-section-nd"),e.attr(c,"class","MyGamesButtonsContainer"),e.attr(m,"class","MyGamesHeader"),e.set_custom_element_data(n,"session",a[1]),e.set_custom_element_data(n,"userid",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"datasource",a[3]),e.set_custom_element_data(n,"lang",a[4]),e.set_custom_element_data(n,"currency",a[5]),e.set_custom_element_data(n,"favorites",a[16]),e.set_custom_element_data(n,"categoryid","FAVORITES"),e.set_custom_element_data(n,"class","CategoryContainer"),e.set_custom_element_data(n,"showgamename",a[12]),e.set_custom_element_data(n,"clientstyling",a[7]),e.set_custom_element_data(n,"clientstylingurl",a[8]),e.set_custom_element_data(n,"translationurl",a[15]),e.set_custom_element_data(n,"livecasino",a[9]),e.set_custom_element_data(n,"visiblegames",a[10]),e.set_custom_element_data(n,"gamepagemodalurl",a[11]),e.set_custom_element_data(n,"integratedgameframedesktop",a[13]),e.set_custom_element_data(n,"integratedgameframemobile",a[14]),e.set_custom_element_data(n,"casinomygames",a[19]),e.set_custom_element_data(n,"mbsource",a[6]),e.toggle_class(n,"Active",a[27]=="Favorites"),e.set_custom_element_data(l,"endpoint",a[2]),e.set_custom_element_data(l,"datasource",a[3]),e.set_custom_element_data(l,"lang",a[4]),e.set_custom_element_data(l,"currency",a[5]),e.set_custom_element_data(l,"session",a[1]),e.set_custom_element_data(l,"userid",a[0]),e.set_custom_element_data(l,"favorites",a[16]),e.set_custom_element_data(l,"categoryindex","0"),e.set_custom_element_data(l,"class","CategoryContainer"),e.set_custom_element_data(l,"showgamename",a[12]),e.set_custom_element_data(l,"clientstyling",a[7]),e.set_custom_element_data(l,"clientstylingurl",a[8]),e.set_custom_element_data(l,"translationurl",a[15]),e.set_custom_element_data(l,"livecasino",a[9]),e.set_custom_element_data(l,"visiblegames",a[10]),e.set_custom_element_data(l,"gamepagemodalurl",a[11]),e.set_custom_element_data(l,"mostplayedrounds",a[25]),e.set_custom_element_data(l,"integratedgameframedesktop",a[13]),e.set_custom_element_data(l,"integratedgameframemobile",a[14]),e.set_custom_element_data(l,"mostplayedperiod",a[21]),e.set_custom_element_data(l,"casinomygames",a[19]),e.set_custom_element_data(l,"mbsource",a[6]),e.toggle_class(l,"Active",a[27]=="MostPlayed"),e.set_custom_element_data(d,"userid",a[0]),e.set_custom_element_data(d,"endpoint",a[2]),e.set_custom_element_data(d,"datasource",a[3]),e.set_custom_element_data(d,"favorites",a[16]),e.set_custom_element_data(d,"lang",a[4]),e.set_custom_element_data(d,"currency",a[5]),e.set_custom_element_data(d,"session",a[1]),e.set_custom_element_data(d,"class","CategoryContainer"),e.set_custom_element_data(d,"showgamename",a[12]),e.set_custom_element_data(d,"clientstyling",a[7]),e.set_custom_element_data(d,"clientstylingurl",a[8]),e.set_custom_element_data(d,"translationurl",a[15]),e.set_custom_element_data(d,"livecasino",a[9]),e.set_custom_element_data(d,"visiblegames",a[10]),e.set_custom_element_data(d,"lastplayedperiod",a[20]),e.set_custom_element_data(d,"lastplayedorder",a[22]),e.set_custom_element_data(d,"lastplayedlimit",a[23]),e.set_custom_element_data(d,"lastplayedunique",a[24]),e.set_custom_element_data(d,"gamepagemodalurl",a[11]),e.set_custom_element_data(d,"integratedgameframedesktop",a[13]),e.set_custom_element_data(d,"integratedgameframemobile",a[14]),e.set_custom_element_data(d,"casinomygames",a[19]),e.set_custom_element_data(d,"mbsource",a[6]),e.toggle_class(d,"Active",a[27]=="LastPlayed"),e.attr(t,"class",p="CasinoMyGames "+(a[28]?"Mobile":""))},m(s,o){e.insert(s,t,o),e.append(t,m),e.append(m,c);for(let y=0;y<f.length;y+=1)f[y]&&f[y].m(c,null);e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),e.append(_,h),e.append(_,d)},p(s,o){if(o[0]&1745289216|o[1]&3){g=e.ensure_array_like(s[29]);let y;for(y=0;y<g.length;y+=1){const M=R(s,g,y);f[y]?f[y].p(M,o):(f[y]=Z(M),f[y].c(),f[y].m(c,null))}for(;y<f.length;y+=1)f[y].d(1);f.length=g.length}o[0]&2&&e.set_custom_element_data(n,"session",s[1]),o[0]&1&&e.set_custom_element_data(n,"userid",s[0]),o[0]&4&&e.set_custom_element_data(n,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(n,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(n,"lang",s[4]),o[0]&32&&e.set_custom_element_data(n,"currency",s[5]),o[0]&65536&&e.set_custom_element_data(n,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(n,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(n,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(n,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(n,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(n,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(n,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(n,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(n,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(n,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(n,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(n,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(n,"Active",s[27]=="Favorites"),o[0]&4&&e.set_custom_element_data(l,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(l,"datasource",s[3]),o[0]&16&&e.set_custom_element_data(l,"lang",s[4]),o[0]&32&&e.set_custom_element_data(l,"currency",s[5]),o[0]&2&&e.set_custom_element_data(l,"session",s[1]),o[0]&1&&e.set_custom_element_data(l,"userid",s[0]),o[0]&65536&&e.set_custom_element_data(l,"favorites",s[16]),o[0]&4096&&e.set_custom_element_data(l,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(l,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(l,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(l,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(l,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(l,"visiblegames",s[10]),o[0]&2048&&e.set_custom_element_data(l,"gamepagemodalurl",s[11]),o[0]&33554432&&e.set_custom_element_data(l,"mostplayedrounds",s[25]),o[0]&8192&&e.set_custom_element_data(l,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(l,"integratedgameframemobile",s[14]),o[0]&2097152&&e.set_custom_element_data(l,"mostplayedperiod",s[21]),o[0]&524288&&e.set_custom_element_data(l,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(l,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(l,"Active",s[27]=="MostPlayed"),o[0]&1&&e.set_custom_element_data(d,"userid",s[0]),o[0]&4&&e.set_custom_element_data(d,"endpoint",s[2]),o[0]&8&&e.set_custom_element_data(d,"datasource",s[3]),o[0]&65536&&e.set_custom_element_data(d,"favorites",s[16]),o[0]&16&&e.set_custom_element_data(d,"lang",s[4]),o[0]&32&&e.set_custom_element_data(d,"currency",s[5]),o[0]&2&&e.set_custom_element_data(d,"session",s[1]),o[0]&4096&&e.set_custom_element_data(d,"showgamename",s[12]),o[0]&128&&e.set_custom_element_data(d,"clientstyling",s[7]),o[0]&256&&e.set_custom_element_data(d,"clientstylingurl",s[8]),o[0]&32768&&e.set_custom_element_data(d,"translationurl",s[15]),o[0]&512&&e.set_custom_element_data(d,"livecasino",s[9]),o[0]&1024&&e.set_custom_element_data(d,"visiblegames",s[10]),o[0]&1048576&&e.set_custom_element_data(d,"lastplayedperiod",s[20]),o[0]&4194304&&e.set_custom_element_data(d,"lastplayedorder",s[22]),o[0]&8388608&&e.set_custom_element_data(d,"lastplayedlimit",s[23]),o[0]&16777216&&e.set_custom_element_data(d,"lastplayedunique",s[24]),o[0]&2048&&e.set_custom_element_data(d,"gamepagemodalurl",s[11]),o[0]&8192&&e.set_custom_element_data(d,"integratedgameframedesktop",s[13]),o[0]&16384&&e.set_custom_element_data(d,"integratedgameframemobile",s[14]),o[0]&524288&&e.set_custom_element_data(d,"casinomygames",s[19]),o[0]&64&&e.set_custom_element_data(d,"mbsource",s[6]),o[0]&134217728&&e.toggle_class(d,"Active",s[27]=="LastPlayed"),o[0]&268435456&&p!==(p="CasinoMyGames "+(s[28]?"Mobile":""))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),e.destroy_each(f,s)}}}function D(a){let t,m=a[31]("favorites")+"",c,r,_,n,u,l,h,d,p;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),_=e.element("span"),n=e.text("("),u=e.text(a[30]),l=e.text(")"),e.attr(t,"class",h="MyGamesButton "+(a[27]=="Favorites"?"Active":"")+" "+(a[16]=="false"?"Off":""))},m(g,f){e.insert(g,t,f),e.append(t,c),e.append(t,r),e.append(t,_),e.append(_,n),e.append(_,u),e.append(_,l),d||(p=e.listen(t,"click",a[33]),d=!0)},p(g,f){f[1]&1&&m!==(m=g[31]("favorites")+"")&&e.set_data(c,m),f[0]&1073741824&&e.set_data(u,g[30]),f[0]&134283264&&h!==(h="MyGamesButton "+(g[27]=="Favorites"?"Active":"")+" "+(g[16]=="false"?"Off":""))&&e.attr(t,"class",h)},d(g){g&&e.detach(t),d=!1,p()}}}function J(a){let t,m=a[31]("mostPlayed")+"",c,r,_,n;return{c(){t=e.element("button"),c=e.text(m),e.attr(t,"class",r="MyGamesButton "+(a[27]=="MostPlayed"?"Active":"")+" "+(a[17]=="false"?"Off":""))},m(u,l){e.insert(u,t,l),e.append(t,c),_||(n=e.listen(t,"click",a[34]),_=!0)},p(u,l){l[1]&1&&m!==(m=u[31]("mostPlayed")+"")&&e.set_data(c,m),l[0]&134348800&&r!==(r="MyGamesButton "+(u[27]=="MostPlayed"?"Active":"")+" "+(u[17]=="false"?"Off":""))&&e.attr(t,"class",r)},d(u){u&&e.detach(t),_=!1,n()}}}function V(a){let t,m=a[31]("recentlyPlayed")+"",c,r,_,n,u;return{c(){t=e.element("button"),c=e.text(m),r=e.space(),e.attr(t,"class",_="MyGamesButton "+(a[27]=="LastPlayed"?"Active":"")+" "+(a[18]=="false"?"Off":""))},m(l,h){e.insert(l,t,h),e.append(t,c),e.append(t,r),n||(u=e.listen(t,"click",a[35]),n=!0)},p(l,h){h[1]&1&&m!==(m=l[31]("recentlyPlayed")+"")&&e.set_data(c,m),h[0]&134479872&&_!==(_="MyGamesButton "+(l[27]=="LastPlayed"?"Active":"")+" "+(l[18]=="false"?"Off":""))&&e.attr(t,"class",_)},d(l){l&&e.detach(t),n=!1,u()}}}function Z(a){let t,m,c,r=a[45]=="Favorites"&&D(a),_=a[45]=="MostPlayed"&&J(a),n=a[45]=="LastPlayed"&&V(a);return{c(){r&&r.c(),t=e.space(),_&&_.c(),m=e.space(),n&&n.c(),c=e.empty()},m(u,l){r&&r.m(u,l),e.insert(u,t,l),_&&_.m(u,l),e.insert(u,m,l),n&&n.m(u,l),e.insert(u,c,l)},p(u,l){u[45]=="Favorites"?r?r.p(u,l):(r=D(u),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),u[45]=="MostPlayed"?_?_.p(u,l):(_=J(u),_.c(),_.m(m.parentNode,m)):_&&(_.d(1),_=null),u[45]=="LastPlayed"?n?n.p(u,l):(n=V(u),n.c(),n.m(c.parentNode,c)):n&&(n.d(1),n=null)},d(u){u&&(e.detach(t),e.detach(m),e.detach(c)),r&&r.d(u),_&&_.d(u),n&&n.d(u)}}}function _e(a){let t;function m(_,n){if(_[19])return de}let c=m(a),r=c&&c(a);return{c(){t=e.element("div"),r&&r.c()},m(_,n){e.insert(_,t,n),r&&r.m(t,null),a[36](t)},p(_,n){c===(c=m(_))&&r?r.p(_,n):(r&&r.d(1),r=c&&c(_),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(_){_&&e.detach(t),r&&r.d(),a[36](null)}}}function re(a,t,m){let c;e.component_subscribe(a,e.$format,i=>m(31,c=i));let{userid:r=""}=t,{session:_=""}=t,{endpoint:n=""}=t,{datasource:u=""}=t,{lang:l=""}=t,{currency:h=""}=t,{mbsource:d}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{livecasino:f=""}=t,{visiblegames:s=""}=t,{gamepagemodalurl:o=""}=t,{showgamename:y=""}=t,{integratedgameframedesktop:M=""}=t,{integratedgameframemobile:S=""}=t,{translationurl:w=""}=t,{favorites:k="false"}=t,{mostplayed:F="false"}=t,{lastplayed:G="false"}=t,{casinomygames:q="false"}=t,{lastplayedperiod:j="Last30Days"}=t,{mostplayedperiod:O="Last30Days"}=t,{lastplayedorder:E=""}=t,{lastplayedlimit:N=""}=t,{lastplayedunique:T="true"}=t,{mostplayedrounds:z=""}=t,Q=window.navigator.userAgent,W,b,X,L="",H=!1,P=["","",""],A="0";le({withLocale:"en",translations:{}});const B=i=>{Object.keys(i).forEach(v=>{ne(v,i[v])})},Y=()=>{fetch(w).then(v=>v.json()).then(v=>{B(v)}).catch(v=>{console.log(v)})};B(ie);const C=i=>{L!==i&&m(27,L=i)},x=()=>{m(27,L=k==="true"?"Favorites":F==="true"?"MostPlayed":G==="true"?"LastPlayed":""),m(29,P[0]=k==="true"?"Favorites":"",P),m(29,P[1]=F==="true"?"MostPlayed":"",P),m(29,P[2]=G==="true"?"LastPlayed":"",P),oe(l)},U=i=>{var v,I;if(i.data)switch(i.data.type){case"UpdateFavoritesCount":i.data.favoriteGamesLength!==void 0?m(30,A=i.data.favoriteGamesLength):m(30,A=(I=(v=i.data.listOfFavoritesGames)==null?void 0:v.length)!=null?I:0);break}};e.onMount(()=>(window.addEventListener("message",U,!1),m(28,H=e.isMobile(Q)),()=>{window.removeEventListener("message",U)}));const $=()=>C("Favorites"),ee=()=>C("MostPlayed"),te=()=>C("LastPlayed");function ae(i){e.binding_callbacks[i?"unshift":"push"](()=>{b=i,m(26,b)})}return a.$$set=i=>{"userid"in i&&m(0,r=i.userid),"session"in i&&m(1,_=i.session),"endpoint"in i&&m(2,n=i.endpoint),"datasource"in i&&m(3,u=i.datasource),"lang"in i&&m(4,l=i.lang),"currency"in i&&m(5,h=i.currency),"mbsource"in i&&m(6,d=i.mbsource),"clientstyling"in i&&m(7,p=i.clientstyling),"clientstylingurl"in i&&m(8,g=i.clientstylingurl),"livecasino"in i&&m(9,f=i.livecasino),"visiblegames"in i&&m(10,s=i.visiblegames),"gamepagemodalurl"in i&&m(11,o=i.gamepagemodalurl),"showgamename"in i&&m(12,y=i.showgamename),"integratedgameframedesktop"in i&&m(13,M=i.integratedgameframedesktop),"integratedgameframemobile"in i&&m(14,S=i.integratedgameframemobile),"translationurl"in i&&m(15,w=i.translationurl),"favorites"in i&&m(16,k=i.favorites),"mostplayed"in i&&m(17,F=i.mostplayed),"lastplayed"in i&&m(18,G=i.lastplayed),"casinomygames"in i&&m(19,q=i.casinomygames),"lastplayedperiod"in i&&m(20,j=i.lastplayedperiod),"mostplayedperiod"in i&&m(21,O=i.mostplayedperiod),"lastplayedorder"in i&&m(22,E=i.lastplayedorder),"lastplayedlimit"in i&&m(23,N=i.lastplayedlimit),"lastplayedunique"in i&&m(24,T=i.lastplayedunique),"mostplayedrounds"in i&&m(25,z=i.mostplayedrounds)},a.$$.update=()=>{a.$$.dirty[0]&458780&&n&&u&&l&&k&&F&&G&&x(),a.$$.dirty[0]&32768&&w&&Y(),a.$$.dirty[0]&67108992&&p&&b&&e.setClientStyling(b,p),a.$$.dirty[0]&67109120&&g&&b&&e.setClientStylingURL(b,g),a.$$.dirty[0]&67108928&&d&&b&&e.setStreamStyling(b,`${d}.Style`,W),a.$$.dirty[0]&32832&&d&&!w&&se.getStreamTranslations(`${d}.Translation`,X,B)},[r,_,n,u,l,h,d,p,g,f,s,o,y,M,S,w,k,F,G,q,j,O,E,N,T,z,b,L,H,P,A,c,C,$,ee,te,ae]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,re,_e,e.safe_not_equal,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,visiblegames:10,gamepagemodalurl:11,showgamename:12,integratedgameframedesktop:13,integratedgameframemobile:14,translationurl:15,favorites:16,mostplayed:17,lastplayed:18,casinomygames:19,lastplayedperiod:20,mostplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,lastplayedunique:24,mostplayedrounds:25},me,[-1,-1])}get userid(){return this.$$.ctx[0]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[4]}set lang(t){this.$$set({lang:t}),e.flush()}get currency(){return this.$$.ctx[5]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get visiblegames(){return this.$$.ctx[10]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[13]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[14]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get mostplayed(){return this.$$.ctx[17]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[18]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get casinomygames(){return this.$$.ctx[19]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[25]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}}e.create_custom_element(K,{userid:{},session:{},endpoint:{},datasource:{},lang:{},currency:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},visiblegames:{},gamepagemodalurl:{},showgamename:{},integratedgameframedesktop:{},integratedgameframemobile:{},translationurl:{},favorites:{},mostplayed:{},lastplayed:{},casinomygames:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{}},[],[],!0);exports.default=K;
@@ -1,8 +1,8 @@
1
- import { v as U, w as ve, a as be, S as he, i as pe, s as Pe, f as g, b as _e, n as ee, d as F, c as G, e as _, h as Me, o as we, A as ke, k as Fe, J as ae, W as Ge, l as a, H as A, g as w, m as h, E as C, G as Le, C as z, I as D, D as B, p as Ce, q as Ae, r as Be, t as Se, $ as je } from "./CasinoLobbyNd-DxldwI_g.js";
2
- import { g as Oe } from "./CasinoCategoriesSliderNd-saQRkCiz.js";
3
- import "../lazy/casino-favorites-section-nd-DFdZuP0B.js";
4
- import "../lazy/casino-last-played-section-nd-CNXE869m.js";
5
- import "../lazy/casino-most-played-section-nd-qAn5qtFJ.js";
1
+ import { v as U, w as ve, a as be, S as he, i as pe, s as Pe, f as g, b as _e, n as ee, d as F, c as G, e as _, h as Me, o as we, A as ke, k as Fe, J as ae, W as Ge, l as a, H as A, g as w, m as h, E as C, G as Le, C as z, I as D, D as B, p as Ce, q as Ae, r as Be, t as Se, $ as je } from "./CasinoLobbyNd-8wmWQuuM.js";
2
+ import { g as Oe } from "./CasinoCategoriesSliderNd-BjKlZ7yV.js";
3
+ import "../lazy/casino-favorites-section-nd-B1zsSvdo.js";
4
+ import "../lazy/casino-last-played-section-nd-DRfmKdzq.js";
5
+ import "../lazy/casino-most-played-section-nd-BkPE8FVS.js";
6
6
  function Ee({ withLocale: s, translations: e }) {
7
7
  U.subscribe((r) => {
8
8
  r == null && (ve.set(e), U.set(s));
@@ -1,8 +1,8 @@
1
- import { v as U, w as ce, a as ve, S as be, i as he, s as pe, f as g, b as Pe, n as $, d as F, e as G, g as _, j as _e, o as Me, A as we, l as ke, K as ee, X as Fe, m as a, I as A, h as M, p as h, F as C, H as Ge, D as z, J as D, E as B, q as Le, r as Ce, t as Ae, c as Be, $ as Se } from "./CasinoLobbyNd-bbR93r1z.js";
2
- import { g as je } from "./CasinoCategoriesSliderNd-L-fJRvBT.js";
3
- import "../lazy/casino-favorites-section-nd-FnYsmsja.js";
4
- import "../lazy/casino-last-played-section-nd-D0CwP5on.js";
5
- import "../lazy/casino-most-played-section-nd-m8oWcvAX.js";
1
+ import { v as U, w as ce, a as ve, S as be, i as he, s as pe, f as g, b as Pe, n as $, d as F, e as G, g as _, j as _e, o as Me, A as we, l as ke, K as ee, X as Fe, m as a, I as A, h as M, p as h, F as C, H as Ge, D as z, J as D, E as B, q as Le, r as Ce, t as Ae, c as Be, $ as Se } from "./CasinoLobbyNd-XZW290tF.js";
2
+ import { g as je } from "./CasinoCategoriesSliderNd-v73jZ75J.js";
3
+ import "../lazy/casino-favorites-section-nd-BTMU_7cg.js";
4
+ import "../lazy/casino-last-played-section-nd-vrzSlc45.js";
5
+ import "../lazy/casino-most-played-section-nd-C4gjKxri.js";
6
6
  function Oe({ withLocale: s, translations: e }) {
7
7
  U.subscribe((r) => {
8
8
  r == null && (ce.set(e), U.set(s));