@everymatrix/casino-page-nd 1.94.112 → 1.94.113

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 (136) hide show
  1. package/components/{CasinoCalendar-lMTS5qf5.js → CasinoCalendar-BfwELxz9.js} +4 -4
  2. package/components/{CasinoCalendar-BiJOf-iQ.js → CasinoCalendar-Btls5-iG.js} +17 -17
  3. package/components/{CasinoCalendar-BCHaKdnj.cjs → CasinoCalendar-DAZOJ-_I.cjs} +2 -2
  4. package/components/{CasinoCalendarDailyDetails-Ce8v26kU.js → CasinoCalendarDailyDetails-Byr0NGmS.js} +2 -2
  5. package/components/{CasinoCalendarDailyDetails-CE-Y3ZWs.js → CasinoCalendarDailyDetails-Dg_IhhWI.js} +2 -2
  6. package/components/{CasinoCalendarDailyDetails-CgD6iCQv.cjs → CasinoCalendarDailyDetails-P0hhdImk.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-CdbETftz.js → CasinoCalendarDailyItem-C6Inj48l.js} +2 -2
  8. package/components/{CasinoCalendarDailyItem-nHkks7PB.cjs → CasinoCalendarDailyItem-CksVLQsd.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DXpVfdRE.js → CasinoCalendarDailyItem-CpIILUrP.js} +2 -2
  10. package/components/{CasinoCollectionsProviders-UgY3gPxU.js → CasinoCollectionsProviders-B_U1QE-1.js} +1 -1
  11. package/components/{CasinoCollectionsProviders-C2N7b3oH.cjs → CasinoCollectionsProviders-C4OhLFOh.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-CiL6HAAe.js → CasinoCollectionsProviders-msaDHz_9.js} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-DBTI5KIb.js → CasinoFavoritesSectionNd-8rsgU_84.js} +2 -2
  14. package/components/{CasinoFavoritesSectionNd-CRGGNyrF.js → CasinoFavoritesSectionNd-BySBGrK2.js} +2 -2
  15. package/components/{CasinoFavoritesSectionNd-CDu_Kmet.cjs → CasinoFavoritesSectionNd-CMnYKO6a.cjs} +1 -1
  16. package/components/{CasinoFilter-EZfyHpfM.js → CasinoFilter-9jJTHgCL.js} +1 -1
  17. package/components/{CasinoFilter-jatPhDyN.cjs → CasinoFilter-BQpDu6xv.cjs} +1 -1
  18. package/components/{CasinoFilter-Dg9bd8y7.js → CasinoFilter-dx9JdIOj.js} +1 -1
  19. package/components/{CasinoGameThumbnailNd-CzguXBpU.cjs → CasinoGameThumbnailNd-Bmd8DTXv.cjs} +1 -1
  20. package/components/{CasinoGameThumbnailNd-BvlE290r.js → CasinoGameThumbnailNd-XTzmtM91.js} +3 -3
  21. package/components/{CasinoGameThumbnailNd-Ce0fOXIa.js → CasinoGameThumbnailNd-rqaEnBWL.js} +3 -3
  22. package/components/{CasinoGamesCategorySectionNd-BXwVcg3F.cjs → CasinoGamesCategorySectionNd-BSbM5JCw.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySectionNd-DmRkm6rS.js → CasinoGamesCategorySectionNd-BWPfzzZJ.js} +4 -4
  24. package/components/{CasinoGamesCategorySectionNd-CMfIR8wP.js → CasinoGamesCategorySectionNd-Du_cEqRm.js} +4 -4
  25. package/components/{CasinoJackpotBanner-CFXFF9qF.js → CasinoJackpotBanner-BXwjtfZF.js} +2 -2
  26. package/components/{CasinoJackpotBanner-Ck6tE5SV.js → CasinoJackpotBanner-Bf3t26TO.js} +2 -2
  27. package/components/{CasinoJackpotBanner-DhAuY1tj.cjs → CasinoJackpotBanner-_cQKKy__.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CeOk7lTM.cjs → CasinoLastPlayedSectionNd-BkH0XCvO.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-C8GpT3xj.js → CasinoLastPlayedSectionNd-C5rpMPtq.js} +2 -2
  30. package/components/{CasinoLastPlayedSectionNd-CuyYQKZ_.js → CasinoLastPlayedSectionNd-hBr9DlIn.js} +2 -2
  31. package/components/CasinoMostPlayedSectionNd-CXFvUhs6.cjs +1 -0
  32. package/components/{CasinoMostPlayedSectionNd-CvNLDQM7.js → CasinoMostPlayedSectionNd-D5gF_bbs.js} +36 -38
  33. package/components/{CasinoMostPlayedSectionNd-CAx-Xy3_.js → CasinoMostPlayedSectionNd-DZPODVkt.js} +31 -33
  34. package/components/{CasinoMyGamesNd-CIXKh5d9.js → CasinoMyGamesNd-6j36Sw3G.js} +4 -4
  35. package/components/{CasinoMyGamesNd-CSjLR6fi.js → CasinoMyGamesNd-BVGi7CbA.js} +4 -4
  36. package/components/{CasinoMyGamesNd-BN4IDaLZ.cjs → CasinoMyGamesNd-b2FVCDg0.cjs} +1 -1
  37. package/components/{CasinoPageNd-F_DexWqG.js → CasinoPageNd-BamOGBf2.js} +10 -10
  38. package/components/{CasinoPageNd-D12ijea-.js → CasinoPageNd-Dng0IdM-.js} +10 -10
  39. package/components/{CasinoPageNd-GhCLiDo3.cjs → CasinoPageNd-ECC84Si9.cjs} +1 -1
  40. package/components/{CasinoRandomGame-BlOdA2gx.js → CasinoRandomGame-BNy2wHyy.js} +1 -1
  41. package/components/{CasinoRandomGame-mHN4v1d_.js → CasinoRandomGame-C7BvbwDE.js} +1 -1
  42. package/components/{CasinoRandomGame-BUa3DFdp.cjs → CasinoRandomGame-f3eatgTb.cjs} +1 -1
  43. package/components/{CasinoSearchNd-znV6C2eO.js → CasinoSearchNd--rxUZzIc.js} +3 -3
  44. package/components/{CasinoSearchNd-BES1z3rt.cjs → CasinoSearchNd-DFN3goEk.cjs} +1 -1
  45. package/components/{CasinoSearchNd-DaJNlqSk.js → CasinoSearchNd-DxWjQXvW.js} +3 -3
  46. package/components/{CasinoSort-DhiIkyOf.cjs → CasinoSort-C5zFs8mV.cjs} +1 -1
  47. package/components/{CasinoSort-krpczorF.js → CasinoSort-JJ45sTuN.js} +1 -1
  48. package/components/{CasinoSort-BKiqmZjV.js → CasinoSort-VPZ75CGw.js} +1 -1
  49. package/components/{CasinoWinners-CEefZKY0.cjs → CasinoWinners-C01ZSjly.cjs} +1 -1
  50. package/components/{CasinoWinners-CXSqta1Y.js → CasinoWinners-rsTWIxMH.js} +3 -3
  51. package/components/{CasinoWinners-DngLiEtd.js → CasinoWinners-yBXrc4Be.js} +3 -3
  52. package/components/{GeneralAnimationLoading-Bnu8ue1R.cjs → GeneralAnimationLoading-BkEuwmnr.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-Dvo4VEXn.js → GeneralAnimationLoading-BkYo1Yy1.js} +1 -1
  54. package/components/{GeneralAnimationLoading-BngNAoZN.js → GeneralAnimationLoading-CnxjUA6O.js} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/{casino-calendar-meQIs3Zy.cjs → casino-calendar-DNV2pEdC.cjs} +1 -1
  59. package/lazy/{casino-calendar-7MFK6qqo.js → casino-calendar-UVt4wWp1.js} +1 -1
  60. package/lazy/{casino-calendar-daily-details-dK1NdHe8.js → casino-calendar-daily-details-BCmA1eQL.js} +1 -1
  61. package/lazy/{casino-calendar-daily-details-szDiDAn-.js → casino-calendar-daily-details-D57_huBB.js} +1 -1
  62. package/lazy/{casino-calendar-daily-details-jraEVgEj.cjs → casino-calendar-daily-details-dCTrKzrE.cjs} +1 -1
  63. package/lazy/{casino-calendar-daily-item-DJEbmTbK.cjs → casino-calendar-daily-item-8y8Vq0sM.cjs} +1 -1
  64. package/lazy/{casino-calendar-daily-item-DD5oTunY.js → casino-calendar-daily-item-DCWlpkoK.js} +1 -1
  65. package/lazy/{casino-calendar-daily-item-BgvGEeuG.js → casino-calendar-daily-item-DtPD--Wg.js} +1 -1
  66. package/lazy/{casino-calendar-5xEUdXQX.js → casino-calendar-sEJ9wm4c.js} +1 -1
  67. package/lazy/{casino-collections-providers-mm_nd9o7.js → casino-collections-providers-ByrKTfNi.js} +1 -1
  68. package/lazy/{casino-collections-providers-vrEz_-c8.js → casino-collections-providers-CbuZtAa-.js} +1 -1
  69. package/lazy/{casino-collections-providers-BiJVAHg7.cjs → casino-collections-providers-DXj7a7hL.cjs} +1 -1
  70. package/lazy/{casino-favorites-section-nd-pbYlWc3p.js → casino-favorites-section-nd-1HXYn0o3.js} +1 -1
  71. package/lazy/{casino-favorites-section-nd-DgZhTxaD.js → casino-favorites-section-nd-CX2lk4Bv.js} +1 -1
  72. package/lazy/{casino-favorites-section-nd--Vze_M36.cjs → casino-favorites-section-nd-CqXv2CHD.cjs} +1 -1
  73. package/lazy/{casino-filter-CZO-4Ss7.js → casino-filter-0kDu_IHa.js} +1 -1
  74. package/lazy/{casino-filter-CVqF2DyU.js → casino-filter-B6o1mvVh.js} +1 -1
  75. package/lazy/{casino-filter-WAdtcSZ7.cjs → casino-filter-VATMNEcD.cjs} +1 -1
  76. package/lazy/{casino-game-thumbnail-nd-DBCXCyPz.js → casino-game-thumbnail-nd-Bd5_T-DN.js} +1 -1
  77. package/lazy/{casino-game-thumbnail-nd-DcivzfuD.cjs → casino-game-thumbnail-nd-Dp9bOTg5.cjs} +1 -1
  78. package/lazy/{casino-game-thumbnail-nd-EhWty0RA.js → casino-game-thumbnail-nd-OjzT3xup.js} +1 -1
  79. package/lazy/{casino-games-category-section-nd-dT7wHxZR.js → casino-games-category-section-nd-BEB1sOiB.js} +1 -1
  80. package/lazy/{casino-games-category-section-nd-Dp5eHCSg.cjs → casino-games-category-section-nd-Bxjrhuni.cjs} +1 -1
  81. package/lazy/{casino-games-category-section-nd-DUqNRaqe.js → casino-games-category-section-nd-D7xhhztU.js} +1 -1
  82. package/lazy/{casino-jackpot-banner-DrjaNsT-.cjs → casino-jackpot-banner-DdlV4wOZ.cjs} +1 -1
  83. package/lazy/{casino-jackpot-banner-CxREd2pE.js → casino-jackpot-banner-Dxrl78BX.js} +1 -1
  84. package/lazy/{casino-jackpot-banner-C0U_Bojr.js → casino-jackpot-banner-_ldlRA-F.js} +1 -1
  85. package/lazy/{casino-last-played-section-nd-DZv1gfLl.cjs → casino-last-played-section-nd-Dzc9e3Ao.cjs} +1 -1
  86. package/lazy/{casino-last-played-section-nd-BL0poueJ.js → casino-last-played-section-nd-FRd8RqbP.js} +1 -1
  87. package/lazy/{casino-last-played-section-nd-DjinZLUi.js → casino-last-played-section-nd-SosLr_vP.js} +1 -1
  88. package/lazy/{casino-most-played-section-nd-DgSyjJV_.js → casino-most-played-section-nd-BgskbWCb.js} +1 -1
  89. package/lazy/{casino-most-played-section-nd-BvENc3I1.js → casino-most-played-section-nd-CIzhEvkP.js} +1 -1
  90. package/lazy/{casino-most-played-section-nd-BfQPwXrj.cjs → casino-most-played-section-nd-bPTzohqS.cjs} +1 -1
  91. package/lazy/{casino-my-games-nd-BVkZQNjo.cjs → casino-my-games-nd-Bk0Acj6a.cjs} +1 -1
  92. package/lazy/{casino-my-games-nd-Cev440BG.js → casino-my-games-nd-CzvxOsHS.js} +1 -1
  93. package/lazy/{casino-my-games-nd-CMWPO9MC.js → casino-my-games-nd-SChPuntA.js} +1 -1
  94. package/lazy/casino-play-random-game-DAViuDkD.cjs +1 -0
  95. package/lazy/casino-play-random-game-DvIMz1U-.js +570 -0
  96. package/lazy/casino-play-random-game-HH9mz8J7.js +554 -0
  97. package/lazy/{casino-random-game-CiUjOks7.cjs → casino-random-game-B4M6qOXs.cjs} +1 -1
  98. package/lazy/{casino-random-game-D2j8W1aH.js → casino-random-game-D6wKeE97.js} +1 -1
  99. package/lazy/{casino-random-game-CX4oRMId.js → casino-random-game-DTzbtb05.js} +1 -1
  100. package/lazy/{casino-search-nd-C__ZgHfv.cjs → casino-search-nd-CHKKjFO8.cjs} +1 -1
  101. package/lazy/{casino-search-nd-D0ssRiez.js → casino-search-nd-CgiImsMR.js} +1 -1
  102. package/lazy/{casino-search-nd-Bga1Bv3C.js → casino-search-nd-DZbnfTmP.js} +1 -1
  103. package/lazy/{casino-sort-BDwMOAWP.js → casino-sort-B57CJf09.js} +1 -1
  104. package/lazy/{casino-sort-Da7q6LqP.js → casino-sort-BKd3b93Y.js} +1 -1
  105. package/lazy/{casino-sort-DRihWoJI.cjs → casino-sort-QbuOFADr.cjs} +1 -1
  106. package/lazy/{casino-winners-CCtjULKG.cjs → casino-winners-Dw5A2enN.cjs} +1 -1
  107. package/lazy/{casino-winners-Usppm60c.js → casino-winners-eEqUYEQZ.js} +1 -1
  108. package/lazy/{casino-winners-BP4uOVY_.js → casino-winners-pCFqIkfu.js} +1 -1
  109. package/lazy/{general-animation-loading-BdBXKl9r.cjs → general-animation-loading-BYTHcALi.cjs} +1 -1
  110. package/lazy/{general-animation-loading-CP1ibwc5.js → general-animation-loading-DLxFTm7T.js} +1 -1
  111. package/lazy/{general-animation-loading-5hOgkWjb.js → general-animation-loading-DVn_vsZH.js} +1 -1
  112. package/lazy/ui-image-D5cksaNQ.js +532 -0
  113. package/lazy/ui-image-DL91mQ70.cjs +1 -0
  114. package/lazy/{ui-image-Cg1Yec7y.js → ui-image-xXqY9RCy.js} +176 -170
  115. package/package.json +1 -1
  116. package/stencil/{casino-play-random-game-C4vBXpwt.cjs → casino-play-random-game-CICe7tpy.cjs} +1 -1
  117. package/stencil/{casino-play-random-game-BFV4GNfV.js → casino-play-random-game-Da5FgAwO.js} +2 -2
  118. package/stencil/{casino-play-random-game-BhoyX-C1.js → casino-play-random-game-h2YH66aM.js} +2 -2
  119. package/stencil/{casino-play-random-game_2-CrgpqvbB.js → casino-play-random-game_2-BfDh9X4Y.js} +1 -1
  120. package/stencil/{casino-play-random-game_2-CaDWoiDD.js → casino-play-random-game_2-CEyDmffM.js} +1 -1
  121. package/stencil/{casino-play-random-game_2-D3YPoW8a.cjs → casino-play-random-game_2-CTEq_y8l.cjs} +1 -1
  122. package/stencil/{ui-image-CeUOY7QN.js → ui-image-B3Uww7Cs.js} +1 -1
  123. package/stencil/{ui-image-D9jjPnnA.cjs → ui-image-B3a_QKtA.cjs} +1 -1
  124. package/stencil/{ui-image-Da7NRAu7.js → ui-image-DvCTKK6e.js} +1 -1
  125. package/stencil/{ui-image-b7b48fe5-ClSc4k9k.js → ui-image-b7b48fe5-CISNMHv0.js} +1 -1
  126. package/stencil/{ui-image-b7b48fe5-CMO5mvIM.js → ui-image-b7b48fe5-CQYt8BaC.js} +1 -1
  127. package/stencil/{ui-image-b7b48fe5-BdId4SMU.cjs → ui-image-b7b48fe5-D9MAw1xf.cjs} +1 -1
  128. package/stencil/{ui-image_2-Be-VuTP3.js → ui-image_2-CTl1REDp.js} +2 -2
  129. package/stencil/{ui-image_2-CgvJomOn.cjs → ui-image_2-DntCz9UN.cjs} +1 -1
  130. package/stencil/{ui-image_2-FUyfOVWg.js → ui-image_2-PKBMUaxN.js} +2 -2
  131. package/components/CasinoMostPlayedSectionNd-Dswc9b42.cjs +0 -1
  132. package/lazy/casino-play-random-game-7n61vetD.js +0 -561
  133. package/lazy/casino-play-random-game-BZ2Qc5Rb.cjs +0 -1
  134. package/lazy/casino-play-random-game-V1jcVVCT.js +0 -577
  135. package/lazy/ui-image-B7I7ijf1.cjs +0 -1
  136. package/lazy/ui-image-CbDOUZoh.js +0 -558
@@ -1,7 +1,7 @@
1
- import { a as Et, $ as It, S as Lt, i as At, s as Ut, f as D, b as Rt, n as fe, d as M, c as T, e as S, g as G, h as X, j as v, k as jt, l as Wt, o as Yt, m as qt, p as Ht, q as pa, r as Se, t as oe, u as Te, v as Vt, w as Y, x as A, y as Ge, z as tt, A as nt, B as o, D as Bt, E as Pa, F as Jt, G as ce, H as Xt, I as Qt, J as Kt, K as Zt } from "./CasinoPageNd-F_DexWqG.js";
2
- import "../lazy/casino-game-thumbnail-nd-EhWty0RA.js";
3
- import "../lazy/casino-filter-CZO-4Ss7.js";
4
- import "../lazy/casino-sort-BDwMOAWP.js";
1
+ import { a as Et, $ as It, S as Lt, i as At, s as Ut, f as D, b as Rt, n as fe, d as M, c as T, e as S, g as G, h as X, j as v, k as jt, l as Wt, o as Yt, m as qt, p as Ht, q as pa, r as Se, t as oe, u as Te, v as Vt, w as Y, x as A, y as Ge, z as tt, A as nt, B as o, D as Bt, E as Pa, F as Jt, G as ce, H as Xt, I as Qt, J as Kt, K as Zt } from "./CasinoPageNd-BamOGBf2.js";
2
+ import "../lazy/casino-game-thumbnail-nd-OjzT3xup.js";
3
+ import "../lazy/casino-filter-0kDu_IHa.js";
4
+ import "../lazy/casino-sort-B57CJf09.js";
5
5
  function xt(t, e) {
6
6
  Et(t, e);
7
7
  }
@@ -26,10 +26,10 @@ var Fa = (t, e, a) => new Promise((n, i) => {
26
26
  }, m = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(r, l);
27
27
  m((a = a.apply(t, e)).next());
28
28
  });
29
- import { a as Kt, $ as Zt, S as xt, i as $t, s as en, f as O, b as an, n as ye, d as T, c as G, e as M, g as F, h as le, j as p, k as tn, o as nn, l as rn, m as on, p as za, q as Ne, r as he, t as Pe, u as ln, v as ne, w as X, x as Ee, y as gt, z as ht, A as o, B as sn, C as Va, D as un, E as _e, F as mn, G as cn, H as dn, I as fn, J as gn } from "./CasinoPageNd-D12ijea-.js";
30
- import "../lazy/casino-game-thumbnail-nd-DBCXCyPz.js";
31
- import "../lazy/casino-filter-CVqF2DyU.js";
32
- import "../lazy/casino-sort-Da7q6LqP.js";
29
+ import { a as Kt, $ as Zt, S as xt, i as $t, s as en, f as O, b as an, n as ye, d as T, c as G, e as M, g as F, h as le, j as p, k as tn, o as nn, l as rn, m as on, p as za, q as Ne, r as he, t as Pe, u as ln, v as ne, w as X, x as Ee, y as gt, z as ht, A as o, B as sn, C as Va, D as un, E as _e, F as mn, G as cn, H as dn, I as fn, J as gn } from "./CasinoPageNd-Dng0IdM-.js";
30
+ import "../lazy/casino-game-thumbnail-nd-Bd5_T-DN.js";
31
+ import "../lazy/casino-filter-B6o1mvVh.js";
32
+ import "../lazy/casino-sort-BKd3b93Y.js";
33
33
  function hn(t, e) {
34
34
  Kt(t, e);
35
35
  }
@@ -1,5 +1,5 @@
1
- import { a as Ne, $ as Ue, S as Re, i as Fe, s as Oe, f as C, b as Me, n as Se, d as U, c as R, g as s, o as De, l as He, q as Pe, j as o, W as je, C as O, A as b, e as r, D as qe, h as k, t as Ge, x as Te, B as Ye, r as Ke, v as V, w as x, F as Qe, G as Xe, H as Ze, I as $e } from "./CasinoPageNd-D12ijea-.js";
2
- import "../stencil/ui-image-CeUOY7QN.js";
1
+ import { a as Ne, $ as Ue, S as Re, i as Fe, s as Oe, f as C, b as Me, n as Se, d as U, c as R, g as s, o as De, l as He, q as Pe, j as o, W as je, C as O, A as b, e as r, D as qe, h as k, t as Ge, x as Te, B as Ye, r as Ke, v as V, w as x, F as Qe, G as Xe, H as Ze, I as $e } from "./CasinoPageNd-Dng0IdM-.js";
2
+ import "../stencil/ui-image-B3Uww7Cs.js";
3
3
  function We(i, e) {
4
4
  Ne(i, e);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { a as ze, $ as Ne, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as Se, d as z, c as N, g as s, o as Me, m as He, r as Pe, j as d, X as je, E as F, B as h, e as r, F as qe, h as _, u as Ge, y as Te, D as Ke, t as Xe, w as E, x as J, H as Ye, I as Qe, J as Ze, K as $e } from "./CasinoPageNd-F_DexWqG.js";
2
- import "../stencil/ui-image-Da7NRAu7.js";
1
+ import { a as ze, $ as Ne, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as Se, d as z, c as N, g as s, o as Me, m as He, r as Pe, j as d, X as je, E as F, B as h, e as r, F as qe, h as _, u as Ge, y as Te, D as Ke, t as Xe, w as E, x as J, H as Ye, I as Qe, J as Ze, K as $e } from "./CasinoPageNd-BamOGBf2.js";
2
+ import "../stencil/ui-image-DvCTKK6e.js";
3
3
  function We(a, e) {
4
4
  ze(a, e);
5
5
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPageNd-GhCLiDo3.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("./CasinoPageNd-ECC84Si9.cjs");require("../stencil/ui-image-B3a_QKtA.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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoPageNd-GhCLiDo3.cjs");require("../lazy/casino-games-category-section-nd-Dp5eHCSg.cjs");function W(n,e){t.addMessages(n,e)}function X(n){t.$locale.set(n)}const p={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 x(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 $(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 ee(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 te(n){let e,a;function i(u,d){return u[20]?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 ae(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:q=""}=e,{userid:y=""}=e,{mbsource:_}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:h=""}=e,{livecasino:P="false"}=e,{integratedgameframemobile:A="false"}=e,{integratedgameframedesktop:M="false"}=e,{gamepagemodalurl:N="false"}=e,{showgamename:T=""}=e,{visiblegames:S=""}=e,{favorites:D=""}=e,{lastplayedperiod:k="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 G=s=>{Object.keys(s).forEach(m=>{W(m,s[m])})},B=()=>{fetch(h).then(m=>m.json()).then(m=>{G(m)}).catch(m=>{console.log(m)})};G(p);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",k),t.getDevice(Y)==="PC"?c.searchParams.append("device","Desktop"):c.searchParams.append("device","Mobile"),O=P?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(S)}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=()=>{X(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,q=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,P=s.livecasino),"integratedgameframemobile"in s&&a(11,A=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,M=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,N=s.gamepagemodalurl),"showgamename"in s&&a(14,T=s.showgamename),"visiblegames"in s&&a(15,S=s.visiblegames),"favorites"in s&&a(16,D=s.favorites),"lastplayedperiod"in s&&a(22,k=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&&t.getStreamTranslations(`${_}.Translation`,I,G),n.$$.dirty[0]&8&&d&&Z()},[r,o,u,d,q,y,_,b,v,h,P,A,M,N,T,S,D,R,E,g,F,i,k,L,C,j,K]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ae,te,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},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 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("./CasinoPageNd-ECC84Si9.cjs");require("../lazy/casino-games-category-section-nd-Bxjrhuni.cjs");function W(n,e){t.addMessages(n,e)}function X(n){t.$locale.set(n)}const p={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 x(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 $(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 ee(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 te(n){let e,a;function i(u,d){return u[20]?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 ae(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:q=""}=e,{userid:y=""}=e,{mbsource:_}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:h=""}=e,{livecasino:P="false"}=e,{integratedgameframemobile:A="false"}=e,{integratedgameframedesktop:M="false"}=e,{gamepagemodalurl:N="false"}=e,{showgamename:T=""}=e,{visiblegames:S=""}=e,{favorites:D=""}=e,{lastplayedperiod:k="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 G=s=>{Object.keys(s).forEach(m=>{W(m,s[m])})},B=()=>{fetch(h).then(m=>m.json()).then(m=>{G(m)}).catch(m=>{console.log(m)})};G(p);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",k),t.getDevice(Y)==="PC"?c.searchParams.append("device","Desktop"):c.searchParams.append("device","Mobile"),O=P?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(S)}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=()=>{X(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,q=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,P=s.livecasino),"integratedgameframemobile"in s&&a(11,A=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,M=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,N=s.gamepagemodalurl),"showgamename"in s&&a(14,T=s.showgamename),"visiblegames"in s&&a(15,S=s.visiblegames),"favorites"in s&&a(16,D=s.favorites),"lastplayedperiod"in s&&a(22,k=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&&t.getStreamTranslations(`${_}.Translation`,I,G),n.$$.dirty[0]&8&&d&&Z()},[r,o,u,d,q,y,_,b,v,h,P,A,M,N,T,S,D,R,E,g,F,i,k,L,C,j,K]}class U extends t.SvelteComponent{constructor(e){super(),t.init(this,e,ae,te,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},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 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,5 +1,5 @@
1
- import { a as te, $ as ae, S as se, i as ie, s as ne, f as l, b as le, n as B, d as N, c as T, e as V, g as S, j as M, k as re, o as oe, m as ue, q as ce, v as ge, w as me, A as i, u as de, F as fe, G as he, H as ye, I as be, J as ve } from "./CasinoPageNd-D12ijea-.js";
2
- import "../lazy/casino-games-category-section-nd-DUqNRaqe.js";
1
+ import { a as te, $ as ae, S as se, i as ie, s as ne, f as l, b as le, n as B, d as N, c as T, e as V, g as S, j as M, k as re, o as oe, m as ue, q as ce, v as ge, w as me, A as i, u as de, F as fe, G as he, H as ye, I as be, J as ve } from "./CasinoPageNd-Dng0IdM-.js";
2
+ import "../lazy/casino-games-category-section-nd-D7xhhztU.js";
3
3
  function we(s, e) {
4
4
  te(s, e);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { a as te, $ as ae, S as se, i as ie, s as ne, f as l, b as le, n as H, d as N, c as T, e as K, g as S, j as M, k as re, l as oe, o as ue, p as ce, r as ge, w as me, x as de, B as i, v as fe, H as he, I as ye, J as be, K as ve } from "./CasinoPageNd-F_DexWqG.js";
2
- import "../lazy/casino-games-category-section-nd-dT7wHxZR.js";
1
+ import { a as te, $ as ae, S as se, i as ie, s as ne, f as l, b as le, n as H, d as N, c as T, e as K, g as S, j as M, k as re, l as oe, o as ue, p as ce, r as ge, w as me, x as de, B as i, v as fe, H as he, I as ye, J as be, K as ve } from "./CasinoPageNd-BamOGBf2.js";
2
+ import "../lazy/casino-games-category-section-nd-BEB1sOiB.js";
3
3
  function we(s, e) {
4
4
  te(s, e);
5
5
  }
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoPageNd-ECC84Si9.cjs");require("../lazy/casino-games-category-section-nd-Bxjrhuni.cjs");function W(n,e){t.addMessages(n,e)}function X(n){t.$locale.set(n)}const Z={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 p(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 x(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 $(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,m){t.insert(l,e,m),t.append(e,i)},p(l,m){m[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function ee(n){let e,a;function i(r,u){return r[20]?$:x}let l=i(n),m=l(n);return{c(){e=t.element("div"),a=t.element("div"),m.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),m.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&m?m.p(r,u):(m.d(1),m=l(r),m&&(m.c(),m.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),m.d(),n[24](null)}}}function te(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:m=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:M=""}=e,{userid:y=""}=e,{mbsource:f}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:k="false"}=e,{integratedgameframemobile:L="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:T="false"}=e,{showgamename:O=""}=e,{visiblegames:G}=e,{favorites:E=""}=e,{translationurl:h=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:S="Last30Days"}=e,{mostplayedrounds:C="10"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent,z;const j=s=>{Object.keys(s).forEach(o=>{W(o,s[o])})},J=()=>{fetch(h).then(o=>o.json()).then(o=>{j(o)}).catch(o=>{console.log(o)})};j(Z);let w=[],R,D=!1,d,B;const Y=s=>{let o=new URL(`${l}/v1/player/${y}/games/most-played`);return 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",S),s.device==="PC"?o.searchParams.append("device","Desktop"):o.searchParams.append("device","Mobile"),s.rounds&&o.searchParams.append("rounds",s.rounds),R=k?o:o.href,new Promise((g,c)=>{fetch(R).then(_=>_.json()).then(_=>{_.items=_.items.filter(V=>{let U=!0;return V.gameCode=="OddsMatrix2"&&(_.count--,U=!1),U}),g(_)}).catch(_=>{console.error(_),c(_)})})},H=()=>{Y({limit:100,device:t.getDevice(I),rounds:C}).then(s=>{if(s.count>0){let o=[];s.items.forEach(N=>{let g=new URL(`${l}/v1/casino/games/${N.gameId}`);g.searchParams.append("datasource",m),o.push(fetch(g.href).then(c=>c.ok?c.json():Promise.resolve([])))}),Promise.all(o).then(N=>{if(w=N.reduce((g,c)=>(c&&Array.isArray(c)&&!("error"in c)&&g.push(c[0]),g),[]),P==="true"){let g=20;try{g=JSON.parse(G)}catch(c){console.log("[ERR][casino-most-played-section-nd]: visiblegames is not valid JSON")}w=w.slice(0,parseInt(G))}window.postMessage({type:"MostPlayedData",mostPlayedGames:w},window.location.href)})}else a(20,D=!0)})},K=()=>{X(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,l=s.endpoint),"datasource"in s&&a(1,m=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,M=s.session),"userid"in s&&a(5,y=s.userid),"mbsource"in s&&a(6,f=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,k=s.livecasino),"integratedgameframemobile"in s&&a(10,L=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,G=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"translationurl"in s&&a(16,h=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,S=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,C=s.mostplayedrounds),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&y&&u&&H(),n.$$.dirty[0]&524416&&b&&d&&t.setClientStyling(d,b),n.$$.dirty[0]&524544&&v&&d&&t.setClientStylingURL(d,v),n.$$.dirty[0]&524352&&f&&d&&t.setStreamStyling(d,`${f}.Style`,B),n.$$.dirty[0]&65600&&f&&!h&&t.getStreamTranslations(`${f}.Translation`,z,j),n.$$.dirty[0]&65536&&h&&J(),n.$$.dirty[0]&8&&u&&K()},[l,m,r,u,M,y,f,b,v,k,L,A,T,O,G,E,h,P,F,d,D,i,S,C,Q]}class q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,te,ee,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},p,[-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(q,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=q;
@@ -1,5 +1,5 @@
1
- import { a as ee, $ as te, S as se, i as ae, s as ne, f as r, b as ie, n as H, d as T, c as E, e as K, g as P, j as M, k as oe, l as re, o as le, p as me, v as ge, r as ce, w as ue, x as de, B as n, H as fe, I as he, J as ye, K as be } from "./CasinoPageNd-F_DexWqG.js";
2
- import "../lazy/casino-games-category-section-nd-dT7wHxZR.js";
1
+ import { a as ee, $ as te, S as se, i as ae, s as ne, f as r, b as ie, n as H, d as T, c as E, e as K, g as S, j as A, k as oe, l as re, o as le, p as me, v as ge, r as ce, w as ue, x as de, B as n, H as fe, I as he, J as ye, K as be } from "./CasinoPageNd-BamOGBf2.js";
2
+ import "../lazy/casino-games-category-section-nd-BEB1sOiB.js";
3
3
  function ve(a, e) {
4
4
  ee(a, e);
5
5
  }
@@ -69,7 +69,7 @@ function ke(a) {
69
69
  let e;
70
70
  return {
71
71
  c() {
72
- e = P("casino-games-category-section-nd"), n(
72
+ e = S("casino-games-category-section-nd"), n(
73
73
  e,
74
74
  "session",
75
75
  /*session*/
@@ -298,7 +298,7 @@ function Ne(a) {
298
298
  ), i;
299
299
  return {
300
300
  c() {
301
- e = P("p"), i = de(s), M(e, "class", "SearchLoading");
301
+ e = S("p"), i = de(s), A(e, "class", "SearchLoading");
302
302
  },
303
303
  m(m, l) {
304
304
  E(m, e, l), K(e, i);
@@ -313,7 +313,7 @@ function Ne(a) {
313
313
  }
314
314
  };
315
315
  }
316
- function Pe(a) {
316
+ function Se(a) {
317
317
  let e, s;
318
318
  function i(g, c) {
319
319
  return (
@@ -324,7 +324,7 @@ function Pe(a) {
324
324
  let m = i(a), l = m(a);
325
325
  return {
326
326
  c() {
327
- e = P("div"), s = P("div"), l.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
327
+ e = S("div"), s = S("div"), l.c(), A(s, "class", "casino-most-played-section"), A(e, "class", "CasinoGamesCategorySectionContainer");
328
328
  },
329
329
  m(g, c) {
330
330
  E(g, e, c), K(e, s), l.m(s, null), a[24](e);
@@ -339,28 +339,26 @@ function Pe(a) {
339
339
  }
340
340
  };
341
341
  }
342
- function Se(a, e, s) {
342
+ function Pe(a, e, s) {
343
343
  let i;
344
344
  oe(a, re, (t) => s(21, i = t));
345
- let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: _ = "" } = e, { mbsource: y } = e, { clientstyling: w = "" } = e, { clientstylingurl: G = "" } = e, { livecasino: S = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: R = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: I = "" } = e, { visiblegames: k } = e, { favorites: U = "" } = e, { translationurl: v = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: A = "10" } = e, { fetchviaevent: J = "true" } = e, Y = window.navigator.userAgent, Q;
346
- const L = (t) => {
345
+ let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: F = "" } = e, { userid: v = "" } = e, { mbsource: y } = e, { clientstyling: _ = "" } = e, { clientstylingurl: w = "" } = e, { livecasino: P = "false" } = e, { integratedgameframemobile: O = "false" } = e, { integratedgameframedesktop: R = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: I = "" } = e, { visiblegames: G } = e, { favorites: U = "" } = e, { translationurl: b = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: J = "true" } = e, Y = window.navigator.userAgent, Q;
346
+ const M = (t) => {
347
347
  Object.keys(t).forEach((o) => {
348
348
  ve(o, t[o]);
349
349
  });
350
350
  }, V = () => {
351
- fetch(v).then((o) => o.json()).then((o) => {
352
- L(o);
351
+ fetch(b).then((o) => o.json()).then((o) => {
352
+ M(o);
353
353
  }).catch((o) => {
354
354
  console.log(o);
355
355
  });
356
356
  };
357
- L(we);
358
- let N = [], z, B = !1, u, W;
357
+ M(we);
358
+ let k = [], z, B = !1, u, W;
359
359
  const X = (t) => {
360
- let o = new URL(`${m}/v1/player/${_}/games/most-played`);
361
- t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
362
- let b = t.device;
363
- return b ? b === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = S ? o : o.href, new Promise((d, f) => {
360
+ let o = new URL(`${m}/v1/player/${v}/games/most-played`);
361
+ return t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j), t.device === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile"), t.rounds && o.searchParams.append("rounds", t.rounds), z = P ? o : o.href, new Promise((d, f) => {
364
362
  fetch(z).then((h) => h.json()).then((h) => {
365
363
  h.items = h.items.filter(($) => {
366
364
  let q = !0;
@@ -374,27 +372,27 @@ function Se(a, e, s) {
374
372
  X({
375
373
  limit: 100,
376
374
  device: ge(Y),
377
- rounds: A
375
+ rounds: L
378
376
  }).then((t) => {
379
377
  if (t.count > 0) {
380
378
  let o = [];
381
- t.items.forEach((b) => {
382
- let d = new URL(`${m}/v1/casino/games/${b.gameId}`);
379
+ t.items.forEach((N) => {
380
+ let d = new URL(`${m}/v1/casino/games/${N.gameId}`);
383
381
  d.searchParams.append("datasource", l), o.push(fetch(d.href).then((f) => f.ok ? f.json() : Promise.resolve([])));
384
- }), Promise.all(o).then((b) => {
385
- if (N = b.reduce(
382
+ }), Promise.all(o).then((N) => {
383
+ if (k = N.reduce(
386
384
  (d, f) => (f && Array.isArray(f) && !("error" in f) && d.push(f[0]), d),
387
385
  []
388
386
  ), C === "true") {
389
387
  let d = 20;
390
388
  try {
391
- d = JSON.parse(k);
389
+ d = JSON.parse(G);
392
390
  } catch {
393
391
  console.log("[ERR][casino-most-played-section-nd]: visiblegames is not valid JSON");
394
392
  }
395
- N = N.slice(0, parseInt(k));
393
+ k = k.slice(0, parseInt(G));
396
394
  }
397
- window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
395
+ window.postMessage({ type: "MostPlayedData", mostPlayedGames: k }, window.location.href);
398
396
  });
399
397
  } else
400
398
  s(20, B = !0);
@@ -410,15 +408,15 @@ function Se(a, e, s) {
410
408
  });
411
409
  }
412
410
  return a.$$set = (t) => {
413
- "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, _ = t.userid), "mbsource" in t && s(6, y = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, G = t.clientstylingurl), "livecasino" in t && s(9, S = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, R = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, D = t.gamepagemodalurl), "showgamename" in t && s(13, I = t.showgamename), "visiblegames" in t && s(14, k = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, v = t.translationurl), "casinomygames" in t && s(17, C = t.casinomygames), "mostplayedperiod" in t && s(22, j = t.mostplayedperiod), "mostplayedrounds" in t && s(23, A = t.mostplayedrounds), "fetchviaevent" in t && s(18, J = t.fetchviaevent);
411
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, F = t.session), "userid" in t && s(5, v = t.userid), "mbsource" in t && s(6, y = t.mbsource), "clientstyling" in t && s(7, _ = t.clientstyling), "clientstylingurl" in t && s(8, w = t.clientstylingurl), "livecasino" in t && s(9, P = t.livecasino), "integratedgameframemobile" in t && s(10, O = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, R = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, D = t.gamepagemodalurl), "showgamename" in t && s(13, I = t.showgamename), "visiblegames" in t && s(14, G = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(16, b = t.translationurl), "casinomygames" in t && s(17, C = t.casinomygames), "mostplayedperiod" in t && s(22, j = t.mostplayedperiod), "mostplayedrounds" in t && s(23, L = t.mostplayedrounds), "fetchviaevent" in t && s(18, J = t.fetchviaevent);
414
412
  }, a.$$.update = () => {
415
413
  a.$$.dirty[0] & /*endpoint, userid, lang*/
416
- 41 && m && _ && c && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
417
- 524416 && w && u && fe(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
418
- 524544 && G && u && he(u, G), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
414
+ 41 && m && v && c && Z(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
415
+ 524416 && _ && u && fe(u, _), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
416
+ 524544 && w && u && he(u, w), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
419
417
  524352 && y && u && ye(u, `${y}.Style`, W), a.$$.dirty[0] & /*mbsource, translationurl*/
420
- 65600 && y && !v && me(`${y}.Translation`, Q, L), a.$$.dirty[0] & /*translationurl*/
421
- 65536 && v && V(), a.$$.dirty[0] & /*lang*/
418
+ 65600 && y && !b && me(`${y}.Translation`, Q, M), a.$$.dirty[0] & /*translationurl*/
419
+ 65536 && b && V(), a.$$.dirty[0] & /*lang*/
422
420
  8 && c && p();
423
421
  }, [
424
422
  m,
@@ -426,25 +424,25 @@ function Se(a, e, s) {
426
424
  g,
427
425
  c,
428
426
  F,
429
- _,
427
+ v,
430
428
  y,
429
+ _,
431
430
  w,
432
- G,
433
- S,
431
+ P,
434
432
  O,
435
433
  R,
436
434
  D,
437
435
  I,
438
- k,
436
+ G,
439
437
  U,
440
- v,
438
+ b,
441
439
  C,
442
440
  J,
443
441
  u,
444
442
  B,
445
443
  i,
446
444
  j,
447
- A,
445
+ L,
448
446
  x
449
447
  ];
450
448
  }
@@ -453,8 +451,8 @@ class Ce extends se {
453
451
  super(), ae(
454
452
  this,
455
453
  e,
456
- Se,
457
454
  Pe,
455
+ Se,
458
456
  ne,
459
457
  {
460
458
  endpoint: 0,