@everymatrix/casino-page 1.61.0 → 1.62.0

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 (103) hide show
  1. package/components/CasinoCalendar-BM2cfNWQ.cjs +19 -0
  2. package/components/{CasinoCalendar-GcgbEHRq.js → CasinoCalendar-Be-xusSS.js} +673 -645
  3. package/components/{CasinoCalendar-oLa-PBk3.js → CasinoCalendar-DQHS0B0K.js} +872 -844
  4. package/components/{CasinoCalendarDailyDetails-CXZ_e7er.js → CasinoCalendarDailyDetails-BFpQ0I4D.js} +49 -49
  5. package/components/{CasinoCalendarDailyDetails-BEdoO9V0.js → CasinoCalendarDailyDetails-GoqK5q9I.js} +49 -49
  6. package/components/{CasinoCalendarDailyDetails-C-hKLl6t.cjs → CasinoCalendarDailyDetails-TN7vze6P.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-C4zOqGfT.js → CasinoCalendarDailyItem-9ufQqGRg.js} +33 -33
  8. package/components/{CasinoCalendarDailyItem-B0UT8hgo.cjs → CasinoCalendarDailyItem-BH106ywM.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BYnarlby.js → CasinoCalendarDailyItem-DNZvHu6n.js} +33 -33
  10. package/components/{CasinoCollectionsProviders-BsCnHvy0.js → CasinoCollectionsProviders-81GFOBGT.js} +59 -59
  11. package/components/{CasinoCollectionsProviders-C9JSj4NQ.cjs → CasinoCollectionsProviders-DInK-hae.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-Bd9bpqwJ.js → CasinoCollectionsProviders-DTsJJjiX.js} +54 -54
  13. package/components/{CasinoFavoritesSection-CpfPEdvZ.js → CasinoFavoritesSection-Bh0RMTtf.js} +24 -24
  14. package/components/{CasinoFavoritesSection-BuCiSBck.js → CasinoFavoritesSection-CCAbE13x.js} +24 -24
  15. package/components/{CasinoFavoritesSection-CF66gauh.cjs → CasinoFavoritesSection-DcRklCEU.cjs} +1 -1
  16. package/components/CasinoFilter-B0zQfy_e.js +645 -0
  17. package/components/CasinoFilter-C-FeoGQV.js +646 -0
  18. package/components/CasinoFilter-oW7IOS3i.cjs +1 -0
  19. package/components/CasinoGameThumbnail-BX5LDmhZ.js +4391 -0
  20. package/components/CasinoGameThumbnail-CklGVHrC.cjs +47 -0
  21. package/components/CasinoGameThumbnail-D1Dek1YY.js +4407 -0
  22. package/components/CasinoGamesCategorySection-BN646E1j.js +3154 -0
  23. package/components/CasinoGamesCategorySection-DqiqZXG9.cjs +1 -0
  24. package/components/{CasinoGamesCategorySection-Cl02LfPB.js → CasinoGamesCategorySection-FqfKiefu.js} +1241 -1159
  25. package/components/{CasinoJackpotBanner-BxJ0cXYz.js → CasinoJackpotBanner--540Lcyx.js} +105 -105
  26. package/components/{CasinoJackpotBanner-CUg-WrqE.cjs → CasinoJackpotBanner-By_usFOs.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner-DltYb9oB.js → CasinoJackpotBanner-PW8Ag0rs.js} +105 -105
  28. package/components/{CasinoLastPlayedSection-B9ZLZ2fh.js → CasinoLastPlayedSection-B2JVX_NB.js} +41 -41
  29. package/components/{CasinoLastPlayedSection-DvpriSWH.cjs → CasinoLastPlayedSection-D6RtFPdO.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-BCY1n_9B.js → CasinoLastPlayedSection-DcqCMv5G.js} +41 -41
  31. package/components/{CasinoMostPlayedSection-Cf6tsgDE.js → CasinoMostPlayedSection-BoWni-dH.js} +42 -42
  32. package/components/{CasinoMostPlayedSection-Cuc6JAr3.js → CasinoMostPlayedSection-CwJyPP8-.js} +42 -42
  33. package/components/{CasinoMostPlayedSection-DbcxZpH3.cjs → CasinoMostPlayedSection-kYuwijo3.cjs} +1 -1
  34. package/components/{CasinoMyGames-CaL_anj-.cjs → CasinoMyGames-D1pQxWbR.cjs} +1 -1
  35. package/components/{CasinoMyGames-D8iC3rfB.js → CasinoMyGames-DJNJWDEA.js} +42 -42
  36. package/components/{CasinoMyGames-DJ7UmtLu.js → CasinoMyGames-lO7cO0MH.js} +43 -43
  37. package/components/CasinoPage-CJZVRZeZ.js +4071 -0
  38. package/components/CasinoPage-UxkiJvcs.cjs +1 -0
  39. package/components/CasinoPage-ockcqSgG.js +4052 -0
  40. package/components/{CasinoRandomGame-C06GQcl6.js → CasinoRandomGame-B8qayhJz.js} +61 -61
  41. package/components/{CasinoRandomGame-C5dTPlxd.js → CasinoRandomGame-F2rx-R6u.js} +63 -63
  42. package/components/{CasinoRandomGame-CqD9l308.cjs → CasinoRandomGame-uW70Dcr-.cjs} +1 -1
  43. package/components/{CasinoSearch-DOe-FAq6.cjs → CasinoSearch-CHjmmh6A.cjs} +1 -1
  44. package/components/{CasinoSearch-VAKEMXqH.js → CasinoSearch-CyEM203O.js} +77 -77
  45. package/components/{CasinoSearch-CP7pv_Rx.js → CasinoSearch-DonT6jmg.js} +79 -79
  46. package/components/{CasinoSort-CScmWM1F.js → CasinoSort-BT1JsBJA.js} +111 -110
  47. package/components/{CasinoSort-CFs4TBdS.js → CasinoSort-D9_L_Fuf.js} +103 -104
  48. package/components/{CasinoSort-DdDbgCmx.cjs → CasinoSort-DQBLicad.cjs} +1 -1
  49. package/components/{CasinoWinners-C5CqUsG7.cjs → CasinoWinners-B0adSSsc.cjs} +1 -1
  50. package/components/{CasinoWinners-yd5GvHIp.js → CasinoWinners-C3LpZCtD.js} +151 -151
  51. package/components/{CasinoWinners-ClL_FA-b.js → CasinoWinners-CIT6cbm3.js} +137 -137
  52. package/components/{GeneralAnimationLoading-CrrQFcSB.js → GeneralAnimationLoading-BJuUzBc8.js} +18 -18
  53. package/components/{GeneralAnimationLoading-Dhq5pG4U.js → GeneralAnimationLoading-DeW-gcPc.js} +18 -18
  54. package/components/{GeneralAnimationLoading-DKjMWmUN.cjs → GeneralAnimationLoading-OGACKm1O.cjs} +1 -1
  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-BUvMKyaw.js → casino-play-random-game-BXqbLgi6.js} +2 -2
  60. package/stencil/{casino-play-random-game-6EpPs13y.js → casino-play-random-game-C7EJAFXg.js} +2 -2
  61. package/stencil/{casino-play-random-game-IjQER553.cjs → casino-play-random-game-DjzHFI4S.cjs} +2 -2
  62. package/stencil/index-ab3202d6-CMLJROQf.cjs +1 -0
  63. package/stencil/index-ab3202d6-CqQYxn8J.js +575 -0
  64. package/stencil/index-ab3202d6-D5caeC50.js +559 -0
  65. package/stencil/index-b2193545-CJX9lIo2.js +519 -0
  66. package/stencil/index-b2193545-CbB5TWd2.js +503 -0
  67. package/stencil/index-b2193545-DQd_Uk3t.cjs +1 -0
  68. package/stencil/index-b7bbd57e-BO976FKE.js +534 -0
  69. package/stencil/index-b7bbd57e-CRts68dn.cjs +1 -0
  70. package/stencil/index-b7bbd57e-ChiHMF5W.js +550 -0
  71. package/stencil/{ui-image-38c3c15f--IPbitii.js → ui-image-38c3c15f-C4x7O9FA.js} +1 -1
  72. package/stencil/{ui-image-38c3c15f-Dv8v2u8d.cjs → ui-image-38c3c15f-DQqFo7p2.cjs} +1 -1
  73. package/stencil/{ui-image-38c3c15f-CQXMTl7T.js → ui-image-38c3c15f-DY2A0QkK.js} +1 -1
  74. package/stencil/{ui-image-DG3xEaHN.js → ui-image-CzWACXX6.js} +2 -2
  75. package/stencil/{ui-image-LuWVcxjH.cjs → ui-image-c5YAxRRi.cjs} +1 -1
  76. package/stencil/{ui-image-CV8AJ9cY.js → ui-image-shmNN3yX.js} +2 -2
  77. package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-6d1c12ae-C2t65ZQ6.cjs} +1 -1
  78. package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-6d1c12ae-CrQ3Yom_.js} +1 -1
  79. package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-6d1c12ae-D9cBvSa8.js} +1 -1
  80. package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-BEBLuDwu.js} +2 -2
  81. package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-D595e_7Y.cjs} +1 -1
  82. package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-Z7IcB7dJ.js} +2 -2
  83. package/components/CasinoCalendar-3HhwEwWn.cjs +0 -19
  84. package/components/CasinoFilter-BDAzYLsu.cjs +0 -1
  85. package/components/CasinoFilter-DGSFnnFj.js +0 -633
  86. package/components/CasinoFilter-DlzXE2oW.js +0 -632
  87. package/components/CasinoGameThumbnail-8ZDDnalK.js +0 -3592
  88. package/components/CasinoGameThumbnail-CmqedVBx.js +0 -3608
  89. package/components/CasinoGameThumbnail-YSK9ny6q.cjs +0 -39
  90. package/components/CasinoGamesCategorySection-f_qKSuc4.js +0 -3070
  91. package/components/CasinoGamesCategorySection-op_Pcf3z.cjs +0 -1
  92. package/components/CasinoPage-Bhbhj9cp.cjs +0 -1
  93. package/components/CasinoPage-D-SgeItH.js +0 -3755
  94. package/components/CasinoPage-WV1OQ9DA.js +0 -3758
  95. package/stencil/index-ab3202d6-9zuW-dLG.js +0 -575
  96. package/stencil/index-ab3202d6-CGVciVSL.js +0 -559
  97. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +0 -1
  98. package/stencil/index-b2193545-CGYrx6SV.js +0 -503
  99. package/stencil/index-b2193545-DU7jU8hT.cjs +0 -1
  100. package/stencil/index-b2193545-k_uiu1dU.js +0 -519
  101. package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
  102. package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
  103. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-3HhwEwWn.cjs");require("../stencil/ui-image-LuWVcxjH.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-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)}}')}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,"imgClass","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,"imgClass","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 y;for(y=0;y<c.length;y+=1){const L=U(i,c,y);u[y]?u[y].p(L,f):(u[y]=D(L),u[y].c(),u[y].m(a,null))}for(;y<u.length;y+=1)u[y].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,y,L,x=0,M=50,j=!1,G,J=window.navigator.userAgent,T;const X=()=>{fetch(p).then(C=>C.json()).then(C=>{Object.keys(C).forEach(P=>{E(P,C[P])})}).catch(C=>{console.log(C)})};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=${x},limit=${M}`),fetch(n.href).then(C=>C.json()).then(C=>{l(6,h=!1),C.total>M&&(x+=50,M+=50,l(22,j=!0));let P=C.items.map(S=>{var B,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(B=S.vendors)==null?void 0:B.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 C;L=[...m.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),y=(C=L[0])==null?void 0:C.getBoundingClientRect().width,Q()},Q=()=>{l(8,k=Math.floor(m.clientWidth/y))},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()},q=(n,C,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},z=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>q(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>z(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&&j&&F()},[b,_,s,u,m,G,h,v,k,T,r,$,ee,q,z,o,a,g,w,d,p,c,j,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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BM2cfNWQ.cjs");require("../stencil/ui-image-c5YAxRRi.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-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)}}')}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,"imgClass","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,"imgClass","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 y;for(y=0;y<c.length;y+=1){const L=U(i,c,y);u[y]?u[y].p(L,f):(u[y]=D(L),u[y].c(),u[y].m(a,null))}for(;y<u.length;y+=1)u[y].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,y,L,x=0,M=50,j=!1,G,J=window.navigator.userAgent,T;const X=()=>{fetch(p).then(C=>C.json()).then(C=>{Object.keys(C).forEach(P=>{E(P,C[P])})}).catch(C=>{console.log(C)})};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=${x},limit=${M}`),fetch(n.href).then(C=>C.json()).then(C=>{l(6,h=!1),C.total>M&&(x+=50,M+=50,l(22,j=!0));let P=C.items.map(S=>{var B,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(B=S.vendors)==null?void 0:B.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 C;L=[...m.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),y=(C=L[0])==null?void 0:C.getBoundingClientRect().width,Q()},Q=()=>{l(8,k=Math.floor(m.clientWidth/y))},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()},q=(n,C,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:C,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},z=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(J)),()=>{}));const ie=n=>q(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>z(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&&j&&F()},[b,_,s,u,m,G,h,v,k,T,r,$,ee,q,z,o,a,g,w,d,p,c,j,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,5 +1,5 @@
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 je, l as xe, C as ee, r as w, v as z, w as ce, m as q, p as h, q as U, B as O, O as Fe, A, I as R, D as N, E as j, P as Te, J as Oe, K as Be, L as He, M as ze, N as Ae } from "./CasinoCalendar-oLa-PBk3.js";
2
- import "../stencil/ui-image-CV8AJ9cY.js";
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";
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
- Le(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
+ 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)}}');
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 = z(
131
+ ), m = A(
132
132
  /*gameCategories*/
133
133
  t[3]
134
134
  ), a = [];
@@ -136,7 +136,7 @@ function Ie(t) {
136
136
  a[c] = se(oe(t, m, c));
137
137
  return {
138
138
  c() {
139
- e = _("div"), i = _("div"), n = _("p"), r = U(l), d = O(), s && s.c(), C = O(), v = _("div");
139
+ e = _("div"), i = _("div"), n = _("p"), r = q(l), d = O(), s && s.c(), C = O(), v = _("div");
140
140
  for (let c = 0; c < a.length; c += 1)
141
141
  a[c].c();
142
142
  w(n, "class", "Title"), w(i, "class", "CategoriesHeader"), w(v, "class", "CategoriesSlider"), w(e, "class", k = "CasinoCollectionsProviders " + /*mobile*/
@@ -144,7 +144,7 @@ function Ie(t) {
144
144
  (t[0] === "vendor" ? "Providers" : "Collections"));
145
145
  },
146
146
  m(c, g) {
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);
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);
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);
@@ -158,11 +158,11 @@ function Ie(t) {
158
158
  ) : (
159
159
  /*$_*/
160
160
  c[10]("collections")
161
- )) + "") && q(r, l), /*numberOfSlides*/
161
+ )) + "") && U(r, l), /*numberOfSlides*/
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 = z(
165
+ m = A(
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 && F(e), s && s.d(), ce(a, c), t[25](null);
184
+ c && T(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
- T(i, e, n);
195
+ F(i, e, n);
196
196
  },
197
- p: H,
197
+ p: z,
198
198
  d(i) {
199
- i && F(e);
199
+ i && T(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
- T(C, e, v), h(e, i), h(e, n), h(e, l), r || (d = [
211
- A(
210
+ F(C, e, v), h(e, i), h(e, n), h(e, l), r || (d = [
211
+ B(
212
212
  i,
213
213
  "click",
214
214
  /*sliderScrollLeft*/
215
215
  t[11]
216
216
  ),
217
- A(
217
+ B(
218
218
  l,
219
219
  "click",
220
220
  /*sliderScrollRight*/
@@ -222,9 +222,9 @@ function ne(t) {
222
222
  )
223
223
  ], r = !0);
224
224
  },
225
- p: H,
225
+ p: z,
226
226
  d(C) {
227
- C && F(e), r = !1, Fe(d);
227
+ C && T(e), r = !1, ze(d);
228
228
  }
229
229
  };
230
230
  }
@@ -235,18 +235,18 @@ function qe(t) {
235
235
  ), n;
236
236
  return {
237
237
  c() {
238
- e = _("p"), n = U(i), w(e, "class", "CategorySlideTitle");
238
+ e = _("p"), n = q(i), w(e, "class", "CategorySlideTitle");
239
239
  },
240
240
  m(l, r) {
241
- T(l, e, r), h(e, n);
241
+ F(l, e, r), h(e, n);
242
242
  },
243
243
  p(l, r) {
244
244
  r[0] & /*gameCategories*/
245
245
  8 && i !== (i = /*category*/
246
- l[41].name + "") && q(n, i);
246
+ l[41].name + "") && U(n, i);
247
247
  },
248
248
  d(l) {
249
- l && F(e);
249
+ l && T(e);
250
250
  }
251
251
  };
252
252
  }
@@ -259,7 +259,7 @@ function Ue(t) {
259
259
  t[41].name + " icon");
260
260
  },
261
261
  m(l, r) {
262
- T(l, e, r);
262
+ F(l, e, r);
263
263
  },
264
264
  p(l, r) {
265
265
  r[0] & /*gameCategories*/
@@ -269,7 +269,7 @@ function Ue(t) {
269
269
  l[41].name + " icon") && j(e, "alt", n);
270
270
  },
271
271
  d(l) {
272
- l && F(e);
272
+ l && T(e);
273
273
  }
274
274
  };
275
275
  }
@@ -280,21 +280,21 @@ function re(t) {
280
280
  ), n, l;
281
281
  return {
282
282
  c() {
283
- e = _("p"), n = U(i), w(e, "title", l = /*game*/
283
+ e = _("p"), n = q(i), w(e, "title", l = /*game*/
284
284
  t[44].name);
285
285
  },
286
286
  m(r, d) {
287
- T(r, e, d), h(e, n);
287
+ F(r, e, d), h(e, n);
288
288
  },
289
289
  p(r, d) {
290
290
  d[0] & /*gameCategories*/
291
291
  8 && i !== (i = /*game*/
292
- r[44].name + "") && q(n, i), d[0] & /*gameCategories*/
292
+ r[44].name + "") && U(n, i), d[0] & /*gameCategories*/
293
293
  8 && l !== (l = /*game*/
294
294
  r[44].name) && w(e, "title", l);
295
295
  },
296
296
  d(r) {
297
- r && F(e);
297
+ r && T(e);
298
298
  }
299
299
  };
300
300
  }
@@ -320,7 +320,7 @@ function ae(t) {
320
320
  t[44].name), w(e, "class", "CategorySlideGames");
321
321
  },
322
322
  m(m, a) {
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);
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);
324
324
  },
325
325
  p(m, a) {
326
326
  t = m, a[0] & /*gameCategories*/
@@ -331,7 +331,7 @@ function ae(t) {
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 && F(e), s && s.d(), C = !1, v();
334
+ m && T(e), s && s.d(), C = !1, v();
335
335
  }
336
336
  };
337
337
  }
@@ -349,7 +349,7 @@ function se(t) {
349
349
  )
350
350
  return qe;
351
351
  }
352
- let m = s(t), a = m && m(t), c = z(
352
+ let m = s(t), a = m && m(t), c = A(
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
- T(u, e, f), h(e, i), h(i, n), a && a.m(n, null), h(i, l), h(i, r);
378
+ F(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 = A(i, "click", p), v = !0);
381
+ h(e, C), v || (k = B(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 = z(
387
+ c = A(
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 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));
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));
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 && F(e), a && a.d(), ce(g, u), v = !1, k();
407
+ u && T(e), a && a.d(), ce(g, u), v = !1, k();
408
408
  }
409
409
  };
410
410
  }
@@ -422,22 +422,22 @@ function Ve(t) {
422
422
  e = _("div"), l.c();
423
423
  },
424
424
  m(r, d) {
425
- T(r, e, d), l.m(e, null), t[26](e);
425
+ F(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: H,
431
- o: H,
430
+ i: z,
431
+ o: z,
432
432
  d(r) {
433
- r && F(e), l.d(), t[26](null);
433
+ r && T(e), l.d(), t[26](null);
434
434
  }
435
435
  };
436
436
  }
437
437
  function We(t, e, i) {
438
438
  let n;
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;
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;
441
441
  const ge = () => {
442
442
  fetch(m).then((y) => y.json()).then((y) => {
443
443
  Object.keys(y).forEach((x) => {
@@ -470,19 +470,19 @@ function We(t, e, i) {
470
470
  }, ue = () => {
471
471
  const o = L.getRootNode().host;
472
472
  o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
473
- }, K = (o) => {
473
+ }, J = (o) => {
474
474
  var y;
475
- B = [...u.children], B.forEach((x, G) => {
475
+ H = [...u.children], H.forEach((x, G) => {
476
476
  x.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
477
- }), S = (y = B[0]) == null ? void 0 : y.getBoundingClientRect().width, me();
477
+ }), S = (y = H[0]) == null ? void 0 : y.getBoundingClientRect().width, me();
478
478
  }, me = () => {
479
479
  i(8, P = Math.floor(u.clientWidth / S));
480
- }, J = () => {
481
- K(f);
480
+ }, K = () => {
481
+ J(f);
482
482
  }, fe = () => {
483
- f === 0 ? f = b - P : f - P < -1 ? f = 0 : f--, J();
483
+ f === 0 ? f = b - P : f - P < -1 ? f = 0 : f--, K();
484
484
  }, pe = () => {
485
- f === b - P ? f = 0 : b - P < f + 1 ? f = b - P : f++, J();
485
+ f === b - P ? f = 0 : b - P < f + 1 ? f = b - P : f++, K();
486
486
  }, Z = (o, y, x, G) => {
487
487
  window.postMessage(
488
488
  {
@@ -508,7 +508,7 @@ function We(t, e, i) {
508
508
  }, he = () => {
509
509
  Ne(d);
510
510
  };
511
- je(() => (i(9, W = xe(de)), () => {
511
+ xe(() => (i(9, W = Te(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 && K(), t.$$.dirty[0] & /*lang*/
529
+ 24 && g && u && J(), 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 && Be(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
532
+ 524320 && s && L && Fe(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
- Pe,
573
+ Le,
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
- ze(De, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
651
+ Pe(De, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
652
652
  export {
653
653
  De as default
654
654
  };
@@ -1,4 +1,4 @@
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-oLa-PBk3.js";
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";
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-f_qKSuc4.js").then(({ default: e }) => {
14
+ customElements.define = n(customElements.define), import("./CasinoGamesCategorySection-BN646E1j.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 H({ withLocale: n, translations: e }) {
18
+ function K({ 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
- 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))}");
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))}");
25
25
  }
26
- function M(n) {
26
+ function L(n) {
27
27
  let e;
28
28
  return {
29
29
  c() {
30
- e = D("casino-games-category-section"), s(
30
+ e = A("casino-games-category-section"), s(
31
31
  e,
32
32
  "session",
33
33
  /*session*/
@@ -120,7 +120,7 @@ function M(n) {
120
120
  );
121
121
  },
122
122
  m(t, a) {
123
- A(t, e, a);
123
+ D(t, e, a);
124
124
  },
125
125
  p(t, a) {
126
126
  a & /*session*/
@@ -234,39 +234,39 @@ function M(n) {
234
234
  );
235
235
  },
236
236
  d(t) {
237
- t && q(e);
237
+ t && I(e);
238
238
  }
239
239
  };
240
240
  }
241
241
  function P(n) {
242
242
  let e, t = (
243
243
  /*session*/
244
- n[4] && M(n)
244
+ n[4] && L(n)
245
245
  );
246
246
  return {
247
247
  c() {
248
- e = D("div"), t && t.c(), K(e, "class", "CasinoFavoritesSectionContainer");
248
+ e = A("div"), t && t.c(), Q(e, "class", "CasinoFavoritesSectionContainer");
249
249
  },
250
250
  m(a, g) {
251
- A(a, e, g), t && t.m(e, null), n[19](e);
251
+ D(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 = M(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
255
+ a[4] ? t ? t.p(a, g) : (t = L(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
256
256
  },
257
- i: L,
258
- o: L,
257
+ i: q,
258
+ o: q,
259
259
  d(a) {
260
- a && q(e), t && t.d(), n[19](null);
260
+ a && I(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
- H({ withLocale: "en", translations: {} }), Q(() => () => {
266
+ K({ withLocale: "en", translations: {} }), T(() => () => {
267
267
  });
268
- function I(i) {
269
- T[i ? "unshift" : "push"](() => {
268
+ function M(i) {
269
+ V[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 && 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`);
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`);
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
- I
300
+ M
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
- z,
310
+ G,
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
- G(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
443
+ z(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
  };