@everymatrix/casino-page 1.62.0 → 1.62.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/components/{CasinoCalendar-DQHS0B0K.js → CasinoCalendar-BOs8WCfO.js} +1011 -990
  2. package/components/CasinoCalendar-BgvtoG_R.cjs +19 -0
  3. package/components/{CasinoCalendar-Be-xusSS.js → CasinoCalendar-DmZ5Xi52.js} +806 -785
  4. package/components/{CasinoCalendarDailyDetails-GoqK5q9I.js → CasinoCalendarDailyDetails-BHRzcj6i.js} +49 -49
  5. package/components/{CasinoCalendarDailyDetails-TN7vze6P.cjs → CasinoCalendarDailyDetails-CUbJ-Eo-.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-BFpQ0I4D.js → CasinoCalendarDailyDetails-GUntgncR.js} +49 -49
  7. package/components/{CasinoCalendarDailyItem-DNZvHu6n.js → CasinoCalendarDailyItem-B2t3D0gO.js} +33 -33
  8. package/components/{CasinoCalendarDailyItem-9ufQqGRg.js → CasinoCalendarDailyItem-DgFxHqRc.js} +33 -33
  9. package/components/{CasinoCalendarDailyItem-BH106ywM.cjs → CasinoCalendarDailyItem-jNI8-Jv1.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-81GFOBGT.js → CasinoCollectionsProviders-D7snEtOu.js} +71 -71
  11. package/components/{CasinoCollectionsProviders-DTsJJjiX.js → CasinoCollectionsProviders-DqBg21dE.js} +68 -68
  12. package/components/CasinoCollectionsProviders-MS5Dvlol.cjs +1 -0
  13. package/components/{CasinoFavoritesSection-Bh0RMTtf.js → CasinoFavoritesSection-BtWuF5eJ.js} +24 -24
  14. package/components/{CasinoFavoritesSection-CCAbE13x.js → CasinoFavoritesSection-CIBDZqRm.js} +24 -24
  15. package/components/{CasinoFavoritesSection-DcRklCEU.cjs → CasinoFavoritesSection-Dgy77ZRt.cjs} +1 -1
  16. package/components/CasinoFilter-C3DXMnbX.js +645 -0
  17. package/components/CasinoFilter-De6VkgDj.js +644 -0
  18. package/components/CasinoFilter-WrwNYfuJ.cjs +1 -0
  19. package/components/CasinoGameThumbnail-Blm7vAkJ.js +4376 -0
  20. package/components/CasinoGameThumbnail-Dkl7cTyw.js +4360 -0
  21. package/components/CasinoGameThumbnail-ueHtR2Vj.cjs +47 -0
  22. package/components/{CasinoGamesCategorySection-BN646E1j.js → CasinoGamesCategorySection-1Wd1pwBV.js} +249 -249
  23. package/components/{CasinoGamesCategorySection-FqfKiefu.js → CasinoGamesCategorySection-BpUeo6wX.js} +333 -333
  24. package/components/{CasinoGamesCategorySection-DqiqZXG9.cjs → CasinoGamesCategorySection-lEfXsd7D.cjs} +1 -1
  25. package/components/{CasinoJackpotBanner--540Lcyx.js → CasinoJackpotBanner-D-y0s9ns.js} +131 -131
  26. package/components/CasinoJackpotBanner-DB3hCH6n.cjs +1 -0
  27. package/components/{CasinoJackpotBanner-PW8Ag0rs.js → CasinoJackpotBanner-DQa_nx8f.js} +163 -163
  28. package/components/{CasinoLastPlayedSection-DcqCMv5G.js → CasinoLastPlayedSection-8jQQ6pxC.js} +41 -41
  29. package/components/{CasinoLastPlayedSection-D6RtFPdO.cjs → CasinoLastPlayedSection-BN0GeknL.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-B2JVX_NB.js → CasinoLastPlayedSection-DITuNA9-.js} +41 -41
  31. package/components/{CasinoMostPlayedSection-BoWni-dH.js → CasinoMostPlayedSection-B3E4f-Yd.js} +42 -42
  32. package/components/{CasinoMostPlayedSection-CwJyPP8-.js → CasinoMostPlayedSection-BWn_SBLv.js} +42 -42
  33. package/components/{CasinoMostPlayedSection-kYuwijo3.cjs → CasinoMostPlayedSection-G7svGHc7.cjs} +1 -1
  34. package/components/{CasinoMyGames-lO7cO0MH.js → CasinoMyGames-6obBtINo.js} +43 -43
  35. package/components/{CasinoMyGames-D1pQxWbR.cjs → CasinoMyGames-DCJDD-SE.cjs} +1 -1
  36. package/components/{CasinoMyGames-DJNJWDEA.js → CasinoMyGames-GOCtlnsq.js} +42 -42
  37. package/components/{CasinoPage-ockcqSgG.js → CasinoPage-BD3zsyaZ.js} +81 -81
  38. package/components/{CasinoPage-UxkiJvcs.cjs → CasinoPage-DBem97q3.cjs} +1 -1
  39. package/components/{CasinoPage-CJZVRZeZ.js → CasinoPage-ahEoY0On.js} +83 -83
  40. package/components/CasinoRandomGame-C6QtFF4H.cjs +2 -0
  41. package/components/{CasinoRandomGame-F2rx-R6u.js → CasinoRandomGame-CAPWXz7E.js} +165 -166
  42. package/components/{CasinoRandomGame-B8qayhJz.js → CasinoRandomGame-DfqSrqkd.js} +201 -202
  43. package/components/{CasinoSearch-CyEM203O.js → CasinoSearch-BOG3LpPn.js} +77 -77
  44. package/components/{CasinoSearch-CHjmmh6A.cjs → CasinoSearch-C5XYQp71.cjs} +1 -1
  45. package/components/{CasinoSearch-DonT6jmg.js → CasinoSearch-Cp9BCCkX.js} +79 -79
  46. package/components/{CasinoSort-DQBLicad.cjs → CasinoSort-CDJZTsFH.cjs} +1 -1
  47. package/components/{CasinoSort-D9_L_Fuf.js → CasinoSort-CTiRc82l.js} +104 -103
  48. package/components/{CasinoSort-BT1JsBJA.js → CasinoSort-CoIkpUDb.js} +110 -111
  49. package/components/{CasinoWinners-B0adSSsc.cjs → CasinoWinners-CORvXpCo.cjs} +1 -1
  50. package/components/{CasinoWinners-C3LpZCtD.js → CasinoWinners-Dtd2EmXL.js} +151 -151
  51. package/components/{CasinoWinners-CIT6cbm3.js → CasinoWinners-a1zCEXCJ.js} +138 -138
  52. package/components/{GeneralAnimationLoading-BJuUzBc8.js → GeneralAnimationLoading-Bmp-KqkP.js} +18 -18
  53. package/components/{GeneralAnimationLoading-OGACKm1O.cjs → GeneralAnimationLoading-DKbjZ0zs.cjs} +1 -1
  54. package/components/{GeneralAnimationLoading-DeW-gcPc.js → GeneralAnimationLoading-h023DKOA.js} +18 -18
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-C7EJAFXg.js → casino-play-random-game-6EpPs13y.js} +2 -2
  60. package/stencil/{casino-play-random-game-BXqbLgi6.js → casino-play-random-game-BUvMKyaw.js} +2 -2
  61. package/stencil/{casino-play-random-game-DjzHFI4S.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  62. package/stencil/index-97d17652-B8yQdy7J.js +542 -0
  63. package/stencil/index-97d17652-C616IYj2.js +558 -0
  64. package/stencil/index-97d17652-C9Ph2JiE.cjs +1 -0
  65. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  66. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  67. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  68. package/stencil/index-b2193545-60VR4wV3.js +519 -0
  69. package/stencil/index-b2193545-LYFajSbf.js +503 -0
  70. package/stencil/index-b2193545-nJb2J-aJ.cjs +1 -0
  71. package/stencil/ui-image-7da92f1f-26DzsVFt.js +39 -0
  72. package/stencil/ui-image-7da92f1f-BAghvEDf.js +39 -0
  73. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
  74. package/stencil/ui-image-BSTP7sZO.js +7 -0
  75. package/stencil/ui-image-C3XzpHRB.cjs +1 -0
  76. package/stencil/ui-image-CYB9UUHg.js +25 -0
  77. package/stencil/ui-image_2-BXgptLvl.js +154 -0
  78. package/stencil/ui-image_2-Cctik3aF.cjs +73 -0
  79. package/stencil/ui-image_2-Cyqb4u7k.js +154 -0
  80. package/stencil/{ui-skeleton-6d1c12ae-CrQ3Yom_.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
  81. package/stencil/{ui-skeleton-6d1c12ae-C2t65ZQ6.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
  82. package/stencil/{ui-skeleton-6d1c12ae-D9cBvSa8.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
  83. package/stencil/{ui-skeleton-BEBLuDwu.js → ui-skeleton-CDhNSEbX.js} +2 -2
  84. package/stencil/{ui-skeleton-D595e_7Y.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
  85. package/stencil/{ui-skeleton-Z7IcB7dJ.js → ui-skeleton-D5ACyLBl.js} +2 -2
  86. package/components/CasinoCalendar-BM2cfNWQ.cjs +0 -19
  87. package/components/CasinoCollectionsProviders-DInK-hae.cjs +0 -1
  88. package/components/CasinoFilter-B0zQfy_e.js +0 -645
  89. package/components/CasinoFilter-C-FeoGQV.js +0 -646
  90. package/components/CasinoFilter-oW7IOS3i.cjs +0 -1
  91. package/components/CasinoGameThumbnail-BX5LDmhZ.js +0 -4391
  92. package/components/CasinoGameThumbnail-CklGVHrC.cjs +0 -47
  93. package/components/CasinoGameThumbnail-D1Dek1YY.js +0 -4407
  94. package/components/CasinoJackpotBanner-By_usFOs.cjs +0 -1
  95. package/components/CasinoRandomGame-uW70Dcr-.cjs +0 -2
  96. package/stencil/index-ab3202d6-CMLJROQf.cjs +0 -1
  97. package/stencil/index-ab3202d6-CqQYxn8J.js +0 -575
  98. package/stencil/index-ab3202d6-D5caeC50.js +0 -559
  99. package/stencil/index-b2193545-CJX9lIo2.js +0 -519
  100. package/stencil/index-b2193545-CbB5TWd2.js +0 -503
  101. package/stencil/index-b2193545-DQd_Uk3t.cjs +0 -1
  102. package/stencil/index-b7bbd57e-BO976FKE.js +0 -534
  103. package/stencil/index-b7bbd57e-CRts68dn.cjs +0 -1
  104. package/stencil/index-b7bbd57e-ChiHMF5W.js +0 -550
  105. package/stencil/ui-image-38c3c15f-C4x7O9FA.js +0 -39
  106. package/stencil/ui-image-38c3c15f-DQqFo7p2.cjs +0 -1
  107. package/stencil/ui-image-38c3c15f-DY2A0QkK.js +0 -39
  108. package/stencil/ui-image-CzWACXX6.js +0 -11
  109. package/stencil/ui-image-c5YAxRRi.cjs +0 -1
  110. package/stencil/ui-image-shmNN3yX.js +0 -29
@@ -1,5 +1,5 @@
1
- import { a as we, $ as Se, S as ke, i as Ge, f as M, c as Pe, s as Le, b as Me, e as _, d as F, G as z, j as T, k as je, o as xe, l as Fe, p as Te, q as ee, r as Oe, m as He, v as A, x as q, w as O, y as w, z as h, E as U, F as ce, A as B, O as ze, M as R, J as Ae, H as j, I as N, P as Be } from "./CasinoCalendar-DQHS0B0K.js";
2
- import "../stencil/ui-image-shmNN3yX.js";
1
+ import { a as we, $ as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as H, d as F, h as T, j as _, k as Me, o as xe, l as je, C as ee, r as w, v as z, w as ce, m as U, p as h, q, B as O, O as Fe, A, I as R, D as N, E as x, P as Te, J as Oe, K as Be, L as He, M as ze, N as Ae } from "./CasinoCalendar-BOs8WCfO.js";
2
+ import "../stencil/ui-image-CYB9UUHg.js";
3
3
  function te(t, e) {
4
4
  we(t, e);
5
5
  }
@@ -104,7 +104,7 @@ const ie = {
104
104
  }
105
105
  };
106
106
  function Ee(t) {
107
- Me(t, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
107
+ Le(t, "svelte-ci1i8", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:60px;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
108
108
  }
109
109
  function oe(t, e, i) {
110
110
  const n = t.slice();
@@ -128,7 +128,7 @@ function Ie(t) {
128
128
  /*numberOfSlides*/
129
129
  t[7] > /*numberOfVisibleSlides*/
130
130
  t[8] && ne(t)
131
- ), m = A(
131
+ ), m = z(
132
132
  /*gameCategories*/
133
133
  t[3]
134
134
  ), a = [];
@@ -144,7 +144,7 @@ function Ie(t) {
144
144
  (t[0] === "vendor" ? "Providers" : "Collections"));
145
145
  },
146
146
  m(c, g) {
147
- F(c, e, g), h(e, i), h(i, n), h(n, r), h(i, d), s && s.m(i, null), h(e, C), h(e, v);
147
+ T(c, e, g), h(e, i), h(i, n), h(n, r), h(i, d), s && s.m(i, null), h(e, C), h(e, v);
148
148
  for (let p = 0; p < a.length; p += 1)
149
149
  a[p] && a[p].m(v, null);
150
150
  t[25](v);
@@ -162,7 +162,7 @@ function Ie(t) {
162
162
  c[7] > /*numberOfVisibleSlides*/
163
163
  c[8] ? s ? s.p(c, g) : (s = ne(c), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
164
164
  24590) {
165
- m = A(
165
+ m = z(
166
166
  /*gameCategories*/
167
167
  c[3]
168
168
  );
@@ -181,7 +181,7 @@ function Ie(t) {
181
181
  (c[0] === "vendor" ? "Providers" : "Collections")) && w(e, "class", k);
182
182
  },
183
183
  d(c) {
184
- c && T(e), s && s.d(), ce(a, c), t[25](null);
184
+ c && F(e), s && s.d(), ce(a, c), t[25](null);
185
185
  }
186
186
  };
187
187
  }
@@ -192,11 +192,11 @@ function Re(t) {
192
192
  e = _("div"), w(e, "class", "LoadingSpinner");
193
193
  },
194
194
  m(i, n) {
195
- F(i, e, n);
195
+ T(i, e, n);
196
196
  },
197
- p: z,
197
+ p: H,
198
198
  d(i) {
199
- i && T(e);
199
+ i && F(e);
200
200
  }
201
201
  };
202
202
  }
@@ -207,14 +207,14 @@ function ne(t) {
207
207
  e = _("div"), i = _("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = O(), l = _("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', w(e, "class", "ButtonsContainer");
208
208
  },
209
209
  m(C, v) {
210
- F(C, e, v), h(e, i), h(e, n), h(e, l), r || (d = [
211
- B(
210
+ T(C, e, v), h(e, i), h(e, n), h(e, l), r || (d = [
211
+ A(
212
212
  i,
213
213
  "click",
214
214
  /*sliderScrollLeft*/
215
215
  t[11]
216
216
  ),
217
- B(
217
+ A(
218
218
  l,
219
219
  "click",
220
220
  /*sliderScrollRight*/
@@ -222,13 +222,13 @@ function ne(t) {
222
222
  )
223
223
  ], r = !0);
224
224
  },
225
- p: z,
225
+ p: H,
226
226
  d(C) {
227
- C && T(e), r = !1, ze(d);
227
+ C && F(e), r = !1, Fe(d);
228
228
  }
229
229
  };
230
230
  }
231
- function qe(t) {
231
+ function Ue(t) {
232
232
  let e, i = (
233
233
  /*category*/
234
234
  t[41].name + ""
@@ -238,7 +238,7 @@ function qe(t) {
238
238
  e = _("p"), n = q(i), w(e, "class", "CategorySlideTitle");
239
239
  },
240
240
  m(l, r) {
241
- F(l, e, r), h(e, n);
241
+ T(l, e, r), h(e, n);
242
242
  },
243
243
  p(l, r) {
244
244
  r[0] & /*gameCategories*/
@@ -246,30 +246,30 @@ function qe(t) {
246
246
  l[41].name + "") && U(n, i);
247
247
  },
248
248
  d(l) {
249
- l && T(e);
249
+ l && F(e);
250
250
  }
251
251
  };
252
252
  }
253
- function Ue(t) {
253
+ function qe(t) {
254
254
  let e, i, n;
255
255
  return {
256
256
  c() {
257
- e = _("ui-image"), j(e, "imgClass", "CategorySlideLogo"), N(e.src, i = /*category*/
258
- t[41].icon) || j(e, "src", i), j(e, "alt", n = /*category*/
257
+ e = _("ui-image"), x(e, "class", "CategorySlideLogo"), N(e.src, i = /*category*/
258
+ t[41].icon) || x(e, "src", i), x(e, "alt", n = /*category*/
259
259
  t[41].name + " icon");
260
260
  },
261
261
  m(l, r) {
262
- F(l, e, r);
262
+ T(l, e, r);
263
263
  },
264
264
  p(l, r) {
265
265
  r[0] & /*gameCategories*/
266
266
  8 && !N(e.src, i = /*category*/
267
- l[41].icon) && j(e, "src", i), r[0] & /*gameCategories*/
267
+ l[41].icon) && x(e, "src", i), r[0] & /*gameCategories*/
268
268
  8 && n !== (n = /*category*/
269
- l[41].name + " icon") && j(e, "alt", n);
269
+ l[41].name + " icon") && x(e, "alt", n);
270
270
  },
271
271
  d(l) {
272
- l && T(e);
272
+ l && F(e);
273
273
  }
274
274
  };
275
275
  }
@@ -284,7 +284,7 @@ function re(t) {
284
284
  t[44].name);
285
285
  },
286
286
  m(r, d) {
287
- F(r, e, d), h(e, n);
287
+ T(r, e, d), h(e, n);
288
288
  },
289
289
  p(r, d) {
290
290
  d[0] & /*gameCategories*/
@@ -294,7 +294,7 @@ function re(t) {
294
294
  r[44].name) && w(e, "title", l);
295
295
  },
296
296
  d(r) {
297
- r && T(e);
297
+ r && F(e);
298
298
  }
299
299
  };
300
300
  }
@@ -315,23 +315,23 @@ function ae(t) {
315
315
  );
316
316
  return {
317
317
  c() {
318
- e = _("div"), i = _("ui-image"), r = O(), s && s.c(), d = O(), j(i, "imgClass", "CategorySlideGameImage"), N(i.src, n = /*game*/
319
- t[44].defaultThumbnail) || j(i, "src", n), j(i, "alt", l = /*game*/
318
+ e = _("div"), i = _("ui-image"), r = O(), s && s.c(), d = O(), x(i, "class", "CategorySlideGameImage"), N(i.src, n = /*game*/
319
+ t[44].defaultThumbnail) || x(i, "src", n), x(i, "alt", l = /*game*/
320
320
  t[44].name), w(e, "class", "CategorySlideGames");
321
321
  },
322
322
  m(m, a) {
323
- F(m, e, a), h(e, i), h(e, r), s && s.m(e, null), h(e, d), C || (v = B(i, "click", Be(k)), C = !0);
323
+ T(m, e, a), h(e, i), h(e, r), s && s.m(e, null), h(e, d), C || (v = A(i, "click", Te(k)), C = !0);
324
324
  },
325
325
  p(m, a) {
326
326
  t = m, a[0] & /*gameCategories*/
327
327
  8 && !N(i.src, n = /*game*/
328
- t[44].defaultThumbnail) && j(i, "src", n), a[0] & /*gameCategories*/
328
+ t[44].defaultThumbnail) && x(i, "src", n), a[0] & /*gameCategories*/
329
329
  8 && l !== (l = /*game*/
330
- t[44].name) && j(i, "alt", l), /*collectionprovidersgamenames*/
330
+ t[44].name) && x(i, "alt", l), /*collectionprovidersgamenames*/
331
331
  t[2] == "true" ? s ? s.p(t, a) : (s = re(t), s.c(), s.m(e, d)) : s && (s.d(1), s = null);
332
332
  },
333
333
  d(m) {
334
- m && T(e), s && s.d(), C = !1, v();
334
+ m && F(e), s && s.d(), C = !1, v();
335
335
  }
336
336
  };
337
337
  }
@@ -342,14 +342,14 @@ function se(t) {
342
342
  /*titletype*/
343
343
  u[1] === "logo"
344
344
  )
345
- return Ue;
345
+ return qe;
346
346
  if (
347
347
  /*titletype*/
348
348
  u[1] === "title"
349
349
  )
350
- return qe;
350
+ return Ue;
351
351
  }
352
- let m = s(t), a = m && m(t), c = A(
352
+ let m = s(t), a = m && m(t), c = z(
353
353
  /*category*/
354
354
  t[41].games
355
355
  ), g = [];
@@ -375,23 +375,23 @@ function se(t) {
375
375
  ((f = t[41]) == null ? void 0 : f.background) + ")"), R(i, "background-size", "cover"), w(e, "class", "CategoriesSliderWrapper Animation");
376
376
  },
377
377
  m(u, f) {
378
- F(u, e, f), h(e, i), h(i, n), a && a.m(n, null), h(i, l), h(i, r);
378
+ T(u, e, f), h(e, i), h(i, n), a && a.m(n, null), h(i, l), h(i, r);
379
379
  for (let b = 0; b < g.length; b += 1)
380
380
  g[b] && g[b].m(r, null);
381
- h(e, C), v || (k = B(i, "click", p), v = !0);
381
+ h(e, C), v || (k = A(i, "click", p), v = !0);
382
382
  },
383
383
  p(u, f) {
384
384
  var b, P;
385
385
  if (t = u, m === (m = s(t)) && a ? a.p(t, f) : (a && a.d(1), a = m && m(t), a && (a.c(), a.m(n, null))), f[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
386
386
  8204) {
387
- c = A(
387
+ c = z(
388
388
  /*category*/
389
389
  t[41].games
390
390
  );
391
391
  let S;
392
392
  for (S = 0; S < c.length; S += 1) {
393
- const H = le(t, c, S);
394
- g[S] ? g[S].p(H, f) : (g[S] = ae(H), g[S].c(), g[S].m(r, null));
393
+ const B = le(t, c, S);
394
+ g[S] ? g[S].p(B, f) : (g[S] = ae(B), g[S].c(), g[S].m(r, null));
395
395
  }
396
396
  for (; S < g.length; S += 1)
397
397
  g[S].d(1);
@@ -404,7 +404,7 @@ function se(t) {
404
404
  ((P = t[41]) == null ? void 0 : P.background) + ")");
405
405
  },
406
406
  d(u) {
407
- u && T(e), a && a.d(), ce(g, u), v = !1, k();
407
+ u && F(e), a && a.d(), ce(g, u), v = !1, k();
408
408
  }
409
409
  };
410
410
  }
@@ -422,26 +422,26 @@ function Ve(t) {
422
422
  e = _("div"), l.c();
423
423
  },
424
424
  m(r, d) {
425
- F(r, e, d), l.m(e, null), t[26](e);
425
+ T(r, e, d), l.m(e, null), t[26](e);
426
426
  },
427
427
  p(r, d) {
428
428
  n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
429
429
  },
430
- i: z,
431
- o: z,
430
+ i: H,
431
+ o: H,
432
432
  d(r) {
433
- r && T(e), l.d(), t[26](null);
433
+ r && F(e), l.d(), t[26](null);
434
434
  }
435
435
  };
436
436
  }
437
437
  function We(t, e, i) {
438
438
  let n;
439
- je(t, Ae, (o) => i(10, n = o));
440
- let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: v = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, f = 0, b = 0, P = 0, S, H, V = 0, E = 50, I = !1, L, de = window.navigator.userAgent, W;
439
+ Me(t, Ae, (o) => i(10, n = o));
440
+ let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: v = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, f = 0, b = 0, P = 0, S, B, V = 0, E = 50, I = !1, L, de = window.navigator.userAgent, W;
441
441
  const ge = () => {
442
442
  fetch(m).then((y) => y.json()).then((y) => {
443
- Object.keys(y).forEach((x) => {
444
- te(x, y[x]);
443
+ Object.keys(y).forEach((j) => {
444
+ te(j, y[j]);
445
445
  });
446
446
  }).catch((y) => {
447
447
  console.log(y);
@@ -454,7 +454,7 @@ function We(t, e, i) {
454
454
  const o = new URL(`${l}/v2/casino/groups/${r}`);
455
455
  o.searchParams.append("language", d), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${C})`), o.searchParams.append("pagination", `offset=${V},limit=${E}`), fetch(o.href).then((y) => y.json()).then((y) => {
456
456
  i(6, p = !1), y.total > E && (V += 50, E += 50, i(22, I = !0));
457
- let x = y.items.map((G) => {
457
+ let j = y.items.map((G) => {
458
458
  var Y, Q, $;
459
459
  return {
460
460
  id: G.id,
@@ -465,37 +465,37 @@ function We(t, e, i) {
465
465
  flag: G.flags
466
466
  };
467
467
  });
468
- i(3, g = [...g, ...x]), i(7, b = g.length), ue();
468
+ i(3, g = [...g, ...j]), i(7, b = g.length), ue();
469
469
  });
470
470
  }, ue = () => {
471
471
  const o = L.getRootNode().host;
472
472
  o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
473
- }, J = (o) => {
473
+ }, K = (o) => {
474
474
  var y;
475
- H = [...u.children], H.forEach((x, G) => {
476
- x.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
477
- }), S = (y = H[0]) == null ? void 0 : y.getBoundingClientRect().width, me();
475
+ B = [...u.children], B.forEach((j, G) => {
476
+ j.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
477
+ }), S = (y = B[0]) == null ? void 0 : y.getBoundingClientRect().width, me();
478
478
  }, me = () => {
479
479
  i(8, P = Math.floor(u.clientWidth / S));
480
- }, K = () => {
481
- J(f);
480
+ }, J = () => {
481
+ K(f);
482
482
  }, fe = () => {
483
- f === 0 ? f = b - P : f - P < -1 ? f = 0 : f--, K();
483
+ f === 0 ? f = b - P : f - P < -1 ? f = 0 : f--, J();
484
484
  }, pe = () => {
485
- f === b - P ? f = 0 : b - P < f + 1 ? f = b - P : f++, K();
486
- }, Z = (o, y, x, G) => {
485
+ f === b - P ? f = 0 : b - P < f + 1 ? f = b - P : f++, J();
486
+ }, Z = (o, y, j, G) => {
487
487
  window.postMessage(
488
488
  {
489
489
  type: "OpenCollectionsProvidersGame",
490
490
  gameId: o,
491
491
  launchUrl: y,
492
- gameName: x,
492
+ gameName: j,
493
493
  subVendor: G
494
494
  },
495
495
  window.location.href
496
496
  ), typeof gtag == "function" && gtag("event", "OpenGame", {
497
497
  context: "CollectionsProviders",
498
- gameName: `${x}`
498
+ gameName: `${j}`
499
499
  });
500
500
  }, X = (o) => {
501
501
  window.postMessage(
@@ -508,7 +508,7 @@ function We(t, e, i) {
508
508
  }, he = () => {
509
509
  Ne(d);
510
510
  };
511
- xe(() => (i(9, W = Te(de)), () => {
511
+ xe(() => (i(9, W = je(de)), () => {
512
512
  }));
513
513
  const ve = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), be = (o) => X(o.id);
514
514
  function _e(o) {
@@ -526,10 +526,10 @@ function We(t, e, i) {
526
526
  }, t.$$.update = () => {
527
527
  t.$$.dirty[0] & /*endpoint, datasource, lang*/
528
528
  229376 && l && r && d && D(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
529
- 24 && g && u && J(), t.$$.dirty[0] & /*lang*/
529
+ 24 && g && u && K(), t.$$.dirty[0] & /*lang*/
530
530
  131072 && d && he(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
531
531
  262176 && k && L && Oe(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
532
- 524320 && s && L && Fe(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
532
+ 524320 && s && L && Be(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
533
533
  2097184 && L && He(L, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
534
534
  1048576 && m && ge(), t.$$.dirty[0] & /*paginationrequired*/
535
535
  4194304 && I && D();
@@ -570,7 +570,7 @@ class De extends ke {
570
570
  e,
571
571
  We,
572
572
  Ve,
573
- Le,
573
+ Pe,
574
574
  {
575
575
  endpoint: 15,
576
576
  datasource: 16,
@@ -648,7 +648,7 @@ class De extends ke {
648
648
  this.$$set({ mbsource: e }), M();
649
649
  }
650
650
  }
651
- Pe(De, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
651
+ ze(De, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
652
652
  export {
653
653
  De as default
654
654
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BgvtoG_R.cjs");require("../stencil/ui-image-C3XzpHRB.cjs");function E(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-ci1i8",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:60px;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,b,_,w,d=i[7]>i[8]&&V(i),p=e.ensure_array_like(i[3]),s=[];for(let c=0;c<p.length;c+=1)s[c]=K(I(i,p,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),b=e.space(),_=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(_,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,b),e.append(t,_);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(_,null);i[25](_)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){p=e.ensure_array_like(c[3]);let h;for(h=0;h<p.length;h+=1){const m=I(c,p,h);s[h]?s[h].p(m,u):(s[h]=K(m),s[h].c(),s[h].m(_,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=p.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(b,_){e.insert(b,t,_),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(b){b&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("ui-image"),e.set_custom_element_data(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.set_custom_element_data(t,"src",l),e.set_custom_element_data(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.set_custom_element_data(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.set_custom_element_data(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,o,a,g,b,_;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("ui-image"),a=e.space(),d&&d.c(),g=e.space(),e.set_custom_element_data(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(p,s){e.insert(p,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),b||(_=e.listen(l,"click",e.stop_propagation(w)),b=!0)},p(p,s){i=p,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.set_custom_element_data(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.set_custom_element_data(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(p){p&&e.detach(t),d&&d.d(),b=!1,_()}}}function K(i){let t,l,r,o,a,g,b,_,w;function d(m,f){if(m[1]==="logo")return ue;if(m[1]==="title")return ge}let p=d(i),s=p&&p(i),c=e.ensure_array_like(i[41].games),u=[];for(let m=0;m<c.length;m+=1)u[m]=D(U(i,c,m));function h(){return i[24](i[41])}return{c(){var m,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let v=0;v<u.length;v+=1)u[v].c();b=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((m=i[41])==null?void 0:m.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(m,f){e.insert(m,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let v=0;v<u.length;v+=1)u[v]&&u[v].m(a,null);e.append(t,b),_||(w=e.listen(l,"click",h),_=!0)},p(m,f){var v,k;if(i=m,p===(p=d(i))&&s?s.p(i,f):(s&&s.d(1),s=p&&p(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=D(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((v=i[41])==null?void 0:v.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(m){m&&e.detach(t),s&&s.d(),e.destroy_each(u,m),_=!1,w()}}}function me(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function pe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:b=""}=t,{titletype:_=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:p=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,m,f=0,v=0,k=0,C,L,j=0,M=50,x=!1,G,J=window.navigator.userAgent,T;const X=()=>{fetch(p).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{E(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{E(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${b})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var q,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(q=S.vendors)==null?void 0:q.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,v=u.length),Y()})},Y=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},O=n=>{var y;L=[...m.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,Q()},Q=()=>{l(8,k=Math.floor(m.clientWidth/C))},H=()=>{O(f)},$=()=>{f===0?f=v-k:f-k<-1?f=0:f--,H()},ee=()=>{f===v-k?f=0:v-k<f+1?f=v-k:f++,H()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},B=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>B(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,l(4,m)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,b=n.type),"titletype"in n&&l(1,_=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,p=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&m&&O(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&p&&X(),i.$$.dirty[0]&4194304&&x&&F()},[b,_,s,u,m,G,h,v,k,T,r,$,ee,z,B,o,a,g,w,d,p,c,x,ie,le,ne,oe]}class Z extends e.SvelteComponent{constructor(t){super(),e.init(this,t,pe,me,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(Z,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=Z;
@@ -1,4 +1,4 @@
1
- import { $ as E, Q as O, S as R, i as j, f as l, c as z, s as G, b as H, e as A, y as Q, d as D, G as q, j as I, o as T, l as U, H as s, q as V, r as B, m as J } from "./CasinoCalendar-DQHS0B0K.js";
1
+ import { $ as E, Q as O, S as R, i as j, s as z, f as l, b as J, n as L, d as q, h as A, j as D, r as K, o as Q, E as s, C as T, J as U, K as V, L as B, M as G } from "./CasinoCalendar-BOs8WCfO.js";
2
2
  if (typeof window != "undefined") {
3
3
  let n = function(e) {
4
4
  return function(...t) {
@@ -11,23 +11,23 @@ if (typeof window != "undefined") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-BN646E1j.js").then(({ default: e }) => {
14
+ customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-1Wd1pwBV.js").then(({ default: e }) => {
15
15
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
16
16
  });
17
17
  }
18
- function K({ withLocale: n, translations: e }) {
18
+ function H({ withLocale: n, translations: e }) {
19
19
  E.subscribe((t) => {
20
20
  t == null && (O.set(e), E.set(n));
21
21
  });
22
22
  }
23
23
  function N(n) {
24
- H(n, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
24
+ J(n, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
25
25
  }
26
- function L(n) {
26
+ function M(n) {
27
27
  let e;
28
28
  return {
29
29
  c() {
30
- e = A("casino-games-category-section"), s(
30
+ e = D("casino-games-category-section"), s(
31
31
  e,
32
32
  "session",
33
33
  /*session*/
@@ -120,7 +120,7 @@ function L(n) {
120
120
  );
121
121
  },
122
122
  m(t, a) {
123
- D(t, e, a);
123
+ A(t, e, a);
124
124
  },
125
125
  p(t, a) {
126
126
  a & /*session*/
@@ -234,39 +234,39 @@ function L(n) {
234
234
  );
235
235
  },
236
236
  d(t) {
237
- t && I(e);
237
+ t && q(e);
238
238
  }
239
239
  };
240
240
  }
241
241
  function P(n) {
242
242
  let e, t = (
243
243
  /*session*/
244
- n[4] && L(n)
244
+ n[4] && M(n)
245
245
  );
246
246
  return {
247
247
  c() {
248
- e = A("div"), t && t.c(), Q(e, "class", "CasinoFavoritesSectionContainer");
248
+ e = D("div"), t && t.c(), K(e, "class", "CasinoFavoritesSectionContainer");
249
249
  },
250
250
  m(a, g) {
251
- D(a, e, g), t && t.m(e, null), n[19](e);
251
+ A(a, e, g), t && t.m(e, null), n[19](e);
252
252
  },
253
253
  p(a, [g]) {
254
254
  /*session*/
255
- a[4] ? t ? t.p(a, g) : (t = L(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
255
+ a[4] ? t ? t.p(a, g) : (t = M(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
256
256
  },
257
- i: q,
258
- o: q,
257
+ i: L,
258
+ o: L,
259
259
  d(a) {
260
- a && I(e), t && t.d(), n[19](null);
260
+ a && q(e), t && t.d(), n[19](null);
261
261
  }
262
262
  };
263
263
  }
264
264
  function W(n, e, t) {
265
265
  let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: r = "" } = e, { clientstylingurl: o = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: b = "false" } = e, { integratedgameframedesktop: v = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: S = "false" } = e, { fetchviaevent: F = "true" } = e, { mbsource: c } = e, m;
266
- K({ withLocale: "en", translations: {} }), T(() => () => {
266
+ H({ withLocale: "en", translations: {} }), Q(() => () => {
267
267
  });
268
- function M(i) {
269
- V[i ? "unshift" : "push"](() => {
268
+ function I(i) {
269
+ T[i ? "unshift" : "push"](() => {
270
270
  m = i, t(18, m);
271
271
  });
272
272
  }
@@ -274,9 +274,9 @@ function W(n, e, t) {
274
274
  "endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, r = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "livecasino" in i && t(8, y = i.livecasino), "integratedgameframemobile" in i && t(9, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(10, v = i.integratedgameframedesktop), "showgamename" in i && t(11, w = i.showgamename), "gamepagemodalurl" in i && t(12, _ = i.gamepagemodalurl), "visiblegames" in i && t(13, k = i.visiblegames), "favorites" in i && t(14, C = i.favorites), "casinomygames" in i && t(15, S = i.casinomygames), "fetchviaevent" in i && t(16, F = i.fetchviaevent), "mbsource" in i && t(17, c = i.mbsource);
275
275
  }, n.$$.update = () => {
276
276
  n.$$.dirty & /*clientstyling, customStylingContainer*/
277
- 262208 && r && m && B(m, r), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
278
- 262272 && o && m && U(m, o), n.$$.dirty & /*customStylingContainer, mbsource*/
279
- 393216 && m && J(m, `${c}.Style`);
277
+ 262208 && r && m && U(m, r), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
278
+ 262272 && o && m && V(m, o), n.$$.dirty & /*customStylingContainer, mbsource*/
279
+ 393216 && m && B(m, `${c}.Style`);
280
280
  }, [
281
281
  a,
282
282
  g,
@@ -297,7 +297,7 @@ function W(n, e, t) {
297
297
  F,
298
298
  c,
299
299
  m,
300
- M
300
+ I
301
301
  ];
302
302
  }
303
303
  class X extends R {
@@ -307,7 +307,7 @@ class X extends R {
307
307
  e,
308
308
  W,
309
309
  P,
310
- G,
310
+ z,
311
311
  {
312
312
  endpoint: 0,
313
313
  datasource: 1,
@@ -440,7 +440,7 @@ class X extends R {
440
440
  this.$$set({ mbsource: e }), l();
441
441
  }
442
442
  }
443
- z(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
443
+ G(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
444
444
  export {
445
445
  X as default
446
446
  };