@everymatrix/casino-page 1.55.0 → 1.56.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 (90) hide show
  1. package/components/CasinoCalendar-BUWW4Xzj.cjs +6 -0
  2. package/components/{CasinoCalendar-C1drIkmy.js → CasinoCalendar-DwKH1vl3.js} +1101 -1101
  3. package/components/{CasinoCalendar-Dp2YIBXE.js → CasinoCalendar-tMtCN0uW.js} +960 -960
  4. package/components/CasinoCalendarDailyDetails-B1yNq5WP.cjs +1 -0
  5. package/components/CasinoCalendarDailyDetails-BP_ANGdX.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-CehhK4Vt.js +693 -0
  7. package/components/CasinoCalendarDailyItem-C08Z_td-.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-Cf-elj80.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DE7Q_O2x.js +306 -0
  10. package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +1 -0
  11. package/components/{CasinoCollectionsProviders-BzqyvgJV.js → CasinoCollectionsProviders-DoRepmON.js} +54 -54
  12. package/components/{CasinoCollectionsProviders-CSskAm-D.js → CasinoCollectionsProviders-Yt2ApEP5.js} +52 -52
  13. package/components/{CasinoFavoritesSection-CPFXr99O.js → CasinoFavoritesSection-M3wz4Hsn.js} +32 -31
  14. package/components/{CasinoFavoritesSection-BMxE9u9W.js → CasinoFavoritesSection-UtUw8bHl.js} +32 -31
  15. package/components/CasinoFavoritesSection-eK-e7FeC.cjs +1 -0
  16. package/components/CasinoFilter-BYz1zKUs.cjs +1 -0
  17. package/components/{CasinoFilter-Bm5nGmim.js → CasinoFilter-BbKgy4VX.js} +246 -247
  18. package/components/{CasinoFilter-xEI9NRP7.js → CasinoFilter-Cb7FySTm.js} +235 -234
  19. package/components/CasinoGameThumbnail-10TTv4CH.cjs +47 -0
  20. package/components/{CasinoGameThumbnail-CfP973nP.js → CasinoGameThumbnail-BZ8OnqL9.js} +569 -553
  21. package/components/{CasinoGameThumbnail-hqC7YEtD.js → CasinoGameThumbnail-BokqjU_3.js} +1116 -1132
  22. package/components/CasinoGamesCategorySection-BtYQ_Cmz.cjs +1 -0
  23. package/components/{CasinoGamesCategorySection-B2K0Knl1.js → CasinoGamesCategorySection-CeuGEQJP.js} +659 -695
  24. package/components/{CasinoGamesCategorySection-CD0rjXbd.js → CasinoGamesCategorySection-mejOW_4O.js} +1084 -1120
  25. package/components/{CasinoJackpotBanner-rIlKc9yB.js → CasinoJackpotBanner-BaqwOwIt.js} +146 -144
  26. package/components/CasinoJackpotBanner-DZZsX8IW.cjs +1 -0
  27. package/components/{CasinoJackpotBanner-BIHc0ZJN.js → CasinoJackpotBanner-Dnu1YGvy.js} +149 -147
  28. package/components/CasinoLastPlayedSection-1vrPgQaO.cjs +1 -0
  29. package/components/{CasinoLastPlayedSection-BrUPu7bW.js → CasinoLastPlayedSection-BSbuszLI.js} +48 -48
  30. package/components/{CasinoLastPlayedSection-CbftznEu.js → CasinoLastPlayedSection-D1gqQwzF.js} +48 -48
  31. package/components/{CasinoMostPlayedSection-CK_65V_H.js → CasinoMostPlayedSection-CgUwp5nt.js} +170 -161
  32. package/components/CasinoMostPlayedSection-DtSDqrXG.cjs +1 -0
  33. package/components/{CasinoMostPlayedSection-Cn5hGmEL.js → CasinoMostPlayedSection-jWqnrmjv.js} +170 -161
  34. package/components/{CasinoMyGames-Bl1r6y2U.js → CasinoMyGames-BRGZxXY6.js} +331 -298
  35. package/components/CasinoMyGames-CPWV0sSu.cjs +1 -0
  36. package/components/{CasinoMyGames-RRWE3bwH.js → CasinoMyGames-DrnKvqrj.js} +333 -300
  37. package/components/CasinoPage-BxqUNSyB.cjs +1 -0
  38. package/components/{CasinoPage-Co3MjNG2.js → CasinoPage-CP0TDj2s.js} +593 -530
  39. package/components/{CasinoPage-DgRtBnkW.js → CasinoPage-oah0JVVU.js} +708 -645
  40. package/components/{CasinoRandomGame-XLB_bCSb.cjs → CasinoRandomGame-B2FGgsW1.cjs} +2 -2
  41. package/components/{CasinoRandomGame-BB1xnS-3.js → CasinoRandomGame-D9BEuIS2.js} +60 -60
  42. package/components/{CasinoRandomGame-Os6RvrQW.js → CasinoRandomGame-T1GVZYOt.js} +60 -60
  43. package/components/{CasinoSearch-noyB94iJ.js → CasinoSearch-BX1qMF6U.js} +69 -69
  44. package/components/{CasinoSearch-B8ow9TRS.js → CasinoSearch-Cfj0uLun.js} +69 -69
  45. package/components/{CasinoSearch-8dLpmGZC.cjs → CasinoSearch-DvRie_tr.cjs} +1 -1
  46. package/components/CasinoSort-BmkqSaqQ.cjs +1 -0
  47. package/components/CasinoSort-BwNRVsYT.js +427 -0
  48. package/components/CasinoSort-DykEVPy1.js +428 -0
  49. package/components/{CasinoWinners-CGsgZ7OE.cjs → CasinoWinners-4fX-Jkcx.cjs} +1 -1
  50. package/components/{CasinoWinners-DNTYhXqC.js → CasinoWinners-DbNw8Ecj.js} +151 -151
  51. package/components/{CasinoWinners-BhzxeUZ8.js → CasinoWinners-Dn6mLcJT.js} +171 -171
  52. package/components/GeneralAnimationLoading-C3AulHDZ.js +84 -0
  53. package/components/GeneralAnimationLoading-CKfD84TR.js +84 -0
  54. package/components/GeneralAnimationLoading-D4L1aOk8.cjs +1 -0
  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-B5g4-G4Z.js → casino-play-random-game-CBXhEsCq.js} +55 -30
  60. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-PZXnDzfs.js} +74 -49
  61. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  62. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  63. package/stencil/index-29915e18-CQ_kWzEh.js +630 -0
  64. package/stencil/index-29915e18-MPiqo7vY.js +646 -0
  65. package/components/CasinoCalendar-hlupOGnG.cjs +0 -6
  66. package/components/CasinoCalendarDailyDetails-BVWbjQFD.js +0 -701
  67. package/components/CasinoCalendarDailyDetails-CUTyAice.cjs +0 -1
  68. package/components/CasinoCalendarDailyDetails-D7SMZkT6.js +0 -701
  69. package/components/CasinoCalendarDailyItem-BTxF_iOC.js +0 -315
  70. package/components/CasinoCalendarDailyItem-CSD4crn_.cjs +0 -1
  71. package/components/CasinoCalendarDailyItem-Cpx3YOPg.js +0 -315
  72. package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +0 -1
  73. package/components/CasinoFavoritesSection-C8XipeGx.cjs +0 -1
  74. package/components/CasinoFilter-Dca8BAHj.cjs +0 -1
  75. package/components/CasinoGameThumbnail-C-Tt8tAv.cjs +0 -47
  76. package/components/CasinoGamesCategorySection-CppaXkzh.cjs +0 -1
  77. package/components/CasinoJackpotBanner-C7IpKgXw.cjs +0 -1
  78. package/components/CasinoLastPlayedSection-BVjRebLJ.cjs +0 -1
  79. package/components/CasinoMostPlayedSection-C_4j7zs2.cjs +0 -1
  80. package/components/CasinoMyGames-20ibf19k.cjs +0 -1
  81. package/components/CasinoPage-DVD4VGGZ.cjs +0 -1
  82. package/components/CasinoSort-85kTtPeQ.cjs +0 -1
  83. package/components/CasinoSort-B6tKDPof.js +0 -428
  84. package/components/CasinoSort-D05yyakn.js +0 -427
  85. package/components/GeneralAnimationLoading--i35RrmV.cjs +0 -1
  86. package/components/GeneralAnimationLoading-BTpSb-no.js +0 -75
  87. package/components/GeneralAnimationLoading-DUpN0ANa.js +0 -75
  88. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  89. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
  90. package/stencil/index-eac6b960-Dvyvd5zP.js +0 -563
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BUWW4Xzj.cjs");function N(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const I={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 R(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,n=(i[0]=="vendor"?i[11]("providers"):i[11]("collections"))+"",a,g,v,h,C,p,c=i[8]>i[9]&&W(i),u=e.ensure_array_like(i[3]),m=[];for(let s=0;s<u.length;s+=1)m[s]=E(R(i,u,s));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(n),g=e.space(),c&&c.c(),v=e.space(),h=e.element("div");for(let s=0;s<m.length;s+=1)m[s].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(h,"class","CategoriesSlider"),e.add_render_callback(()=>i[28].call(h)),e.attr(t,"class",p="CasinoCollectionsProviders "+(i[10]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(s,w){e.insert(s,t,w),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),c&&c.m(l,null),e.append(t,v),e.append(t,h);for(let d=0;d<m.length;d+=1)m[d]&&m[d].m(h,null);i[27](h),C=e.add_iframe_resize_listener(h,i[28].bind(h))},p(s,w){if(w[0]&2049&&n!==(n=(s[0]=="vendor"?s[11]("providers"):s[11]("collections"))+"")&&e.set_data(a,n),s[8]>s[9]?c?c.p(s,w):(c=W(s),c.c(),c.m(l,null)):c&&(c.d(1),c=null),w[0]&49166){u=e.ensure_array_like(s[3]);let d;for(d=0;d<u.length;d+=1){const f=R(s,u,d);m[d]?m[d].p(f,w):(m[d]=E(f),m[d].c(),m[d].m(h,null))}for(;d<m.length;d+=1)m[d].d(1);m.length=u.length}w[0]&1025&&p!==(p="CasinoCollectionsProviders "+(s[10]?"Mobile":"")+" "+(s[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",p)},d(s){s&&e.detach(t),c&&c.d(),e.destroy_each(m,s),i[27](null),C()}}}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 W(i){let t,l,r,n,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(),n=e.element("button"),n.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(v,h){e.insert(v,t,h),e.append(t,l),e.append(t,r),e.append(t,n),a||(g=[e.listen(l,"click",i[23]),e.listen(n,"click",i[24])],a=!0)},p:e.noop,d(v){v&&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(n,a){e.insert(n,t,a),e.append(t,r)},p(n,a){a[0]&8&&l!==(l=n[41].name+"")&&e.set_data(r,l)},d(n){n&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(n,a){e.insert(n,t,a)},p(n,a){a[0]&8&&!e.src_url_equal(t.src,l=n[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=n[41].name+" icon")&&e.attr(t,"alt",r)},d(n){n&&e.detach(t)}}}function V(i){let t,l=i[44].name+"",r,n;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",n=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&&n!==(n=a[44].name)&&e.attr(t,"title",n)},d(a){a&&e.detach(t)}}}function D(i){let t,l,r,n,a,g,v,h;function C(){return i[25](i[44])}let p=i[2]=="true"&&V(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),p&&p.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",n=i[44].name),e.attr(t,"class","CategorySlideGames")},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(t,a),p&&p.m(t,null),e.append(t,g),v||(h=e.listen(l,"click",e.stop_propagation(C)),v=!0)},p(c,u){i=c,u[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),u[0]&8&&n!==(n=i[44].name)&&e.attr(l,"alt",n),i[2]=="true"?p?p.p(i,u):(p=V(i),p.c(),p.m(t,g)):p&&(p.d(1),p=null)},d(c){c&&e.detach(t),p&&p.d(),v=!1,h()}}}function E(i){let t,l,r,n,a,g,v,h,C;function p(d,f){if(d[1]=="logo")return ue;if(d[1]=="title")return ge}let c=p(i),u=c&&c(i),m=e.ensure_array_like(i[41].games),s=[];for(let d=0;d<m.length;d+=1)s[d]=D(U(i,m,d));function w(){return i[26](i[41])}return{c(){var d,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),u&&u.c(),n=e.space(),a=e.element("div");for(let _=0;_<s.length;_+=1)s[_].c();v=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((d=i[41])==null?void 0:d.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(d,f){e.insert(d,t,f),e.append(t,l),e.append(l,r),u&&u.m(r,null),e.append(l,n),e.append(l,a);for(let _=0;_<s.length;_+=1)s[_]&&s[_].m(a,null);e.append(t,v),h||(C=e.listen(l,"click",w),h=!0)},p(d,f){var _,k;if(i=d,c===(c=p(i))&&u?u.p(i,f):(u&&u.d(1),u=c&&c(i),u&&(u.c(),u.m(r,null))),f[0]&16396){m=e.ensure_array_like(i[41].games);let b;for(b=0;b<m.length;b+=1){const L=U(i,m,b);s[b]?s[b].p(L,f):(s[b]=D(L),s[b].c(),s[b].m(a,null))}for(;b<s.length;b+=1)s[b].d(1);s.length=m.length}f[0]&8&&g!==(g="CategorySlide "+(((_=i[41])==null?void 0:_.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(d){d&&e.detach(t),u&&u.d(),e.destroy_each(s,d),h=!1,C()}}}function pe(i){let t;function l(a,g){return a[7]?ce:de}let r=l(i),n=r(i);return{c(){t=e.element("div"),n.c()},m(a,g){e.insert(a,t,g),n.m(t,null),i[29](t)},p(a,g){r===(r=l(a))&&n?n.p(a,g):(n.d(1),n=r(a),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),n.d(),i[29](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,o=>l(11,r=o));let{endpoint:n=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:v=""}=t,{titletype:h=""}=t,{clientstyling:C=""}=t,{clientstylingurl:p=""}=t,{translationurl:c=""}=t,{collectionprovidersgamenames:u=""}=t,{mbsource:m}=t,s=[],w=!0,d,f=0,_=0,k=0,b,L,P,Z=window.navigator.userAgent,j,M=0;const J=()=>{fetch(c).then(y=>y.json()).then(y=>{Object.keys(y).forEach(G=>{N(G,y[G])})}).catch(y=>{console.log(y)})};Object.keys(I).forEach(o=>{N(o,I[o])});const X=()=>{const o=new URL(`${n}/v2/casino/groups/${a}`);o.searchParams.append("language",g),o.searchParams.append("expand","games"),fetch(o.href).then(y=>y.json()).then(y=>{l(7,w=!1);let G=y.items.filter(S=>S.flags==v);l(3,s=G.map(S=>{var B,A,q;return{id:S.id,name:S.name,icon:S.icon?S.icon:(q=(A=(B=S.vendors)==null?void 0:B.items[0])==null?void 0:A.subVendors[0])==null?void 0:q.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}})),l(8,_=s.length)})},x=o=>{L=[...d.children],L.forEach((y,G)=>{y.style.transform=`translateX(${100*(o?G-o:G)}%)`}),b=L[0].getBoundingClientRect().width,Y()},Y=()=>{l(9,k=Math.floor(M/b))},T=()=>{x(f)},F=()=>{f===0?f=_-k:f-k<-1?f=0:f--,T()},z=()=>{f===_-k?f=0:_-k<f+1?f=_-k:f++,T()},O=(o,y,G,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:o,launchUrl:y,gameName:G,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${G}`})},H=o=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:o},window.location.href)},Q=()=>{ae(g)};e.onMount(()=>(l(10,j=e.isMobile(Z)),()=>{}));const $=()=>F(),ee=()=>z(),te=o=>O(o.gameId,o.launchUrl,o.name,o.subVendor),ie=o=>H(o.id);function le(o){e.binding_callbacks[o?"unshift":"push"](()=>{d=o,l(4,d)})}function ne(){M=this.clientWidth,l(6,M)}function oe(o){e.binding_callbacks[o?"unshift":"push"](()=>{P=o,l(5,P)})}return i.$$set=o=>{"endpoint"in o&&l(16,n=o.endpoint),"datasource"in o&&l(17,a=o.datasource),"lang"in o&&l(18,g=o.lang),"type"in o&&l(0,v=o.type),"titletype"in o&&l(1,h=o.titletype),"clientstyling"in o&&l(19,C=o.clientstyling),"clientstylingurl"in o&&l(20,p=o.clientstylingurl),"translationurl"in o&&l(21,c=o.translationurl),"collectionprovidersgamenames"in o&&l(2,u=o.collectionprovidersgamenames),"mbsource"in o&&l(22,m=o.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&458752&&n&&a&&g&&X(),i.$$.dirty[0]&88&&M&&s&&d&&x(),i.$$.dirty[0]&262144&&g&&Q(),i.$$.dirty[0]&524320&&C&&P&&e.setClientStyling(P,C),i.$$.dirty[0]&1048608&&p&&P&&e.setClientStylingURL(P,p),i.$$.dirty[0]&4194336&&P&&e.setStreamStyling(P,`${m}.Style`),i.$$.dirty[0]&2097152&&c&&J()},[v,h,u,s,d,P,M,w,_,k,j,r,F,z,O,H,n,a,g,C,p,c,m,$,ee,te,ie,le,ne,oe]}class K extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:16,datasource:17,lang:18,type:0,titletype:1,clientstyling:19,clientstylingurl:20,translationurl:21,collectionprovidersgamenames:2,mbsource:22},se,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[17]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[18]}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[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[21]}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[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=K;
@@ -1,4 +1,4 @@
1
- import { a as ye, $ as we, S as Se, i as ke, f as M, c as Ge, s as Pe, b as Le, e as b, d as x, D as B, j as F, k as Me, o as je, K as xe, m as Fe, n as Y, L as Te, M as ze, q as H, u as R, r as T, v as p, N as Oe, w as v, O as Be, B as U, C as ae, x as A, P as He, I, F as Ae, E as N, Q as Ne } from "./CasinoCalendar-C1drIkmy.js";
1
+ import { a as ye, $ as we, S as Se, i as ke, s as Ge, f as M, b as Pe, n as B, d as x, h as F, j as b, k as Le, o as Me, l as je, C as Y, r as p, v as H, w as ae, m as R, p as v, N as xe, q as U, B as T, O as Fe, P as Te, A, G as I, D as N, Q as ze, I as Oe, J as Be, K as He, L as Ae, M as Ne } from "./CasinoCalendar-DwKH1vl3.js";
2
2
  function $(t, e) {
3
3
  ye(t, e);
4
4
  }
@@ -103,7 +103,7 @@ const ee = {
103
103
  }
104
104
  };
105
105
  function Re(t) {
106
- Le(t, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.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)}}');
106
+ Pe(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
107
  }
108
108
  function te(t, e, i) {
109
109
  const n = t.slice();
@@ -135,10 +135,10 @@ function Ue(t) {
135
135
  m[a] = re(te(t, g, a));
136
136
  return {
137
137
  c() {
138
- e = b("div"), i = b("div"), n = b("p"), r = R(l), d = T(), c && c.c(), C = T(), h = b("div");
138
+ e = b("div"), i = b("div"), n = b("p"), r = U(l), d = T(), c && c.c(), C = T(), h = b("div");
139
139
  for (let a = 0; a < m.length; a += 1)
140
140
  m[a].c();
141
- p(n, "class", "Title"), p(i, "class", "CategoriesHeader"), p(h, "class", "CategoriesSlider"), Oe(() => (
141
+ p(n, "class", "Title"), p(i, "class", "CategoriesHeader"), p(h, "class", "CategoriesSlider"), Fe(() => (
142
142
  /*div1_elementresize_handler*/
143
143
  t[28].call(h)
144
144
  )), p(e, "class", u = "CasinoCollectionsProviders " + /*mobile*/
@@ -146,10 +146,10 @@ function Ue(t) {
146
146
  (t[0] === "vendor" ? "Providers" : "Collections"));
147
147
  },
148
148
  m(a, k) {
149
- x(a, e, k), v(e, i), v(i, n), v(n, r), v(i, d), c && c.m(i, null), v(e, C), v(e, h);
149
+ F(a, e, k), v(e, i), v(i, n), v(n, r), v(i, d), c && c.m(i, null), v(e, C), v(e, h);
150
150
  for (let s = 0; s < m.length; s += 1)
151
151
  m[s] && m[s].m(h, null);
152
- t[27](h), S = Be(
152
+ t[27](h), S = xe(
153
153
  h,
154
154
  /*div1_elementresize_handler*/
155
155
  t[28].bind(h)
@@ -164,7 +164,7 @@ function Ue(t) {
164
164
  ) : (
165
165
  /*$_*/
166
166
  a[11]("collections")
167
- )) + "") && U(r, l), /*numberOfSlides*/
167
+ )) + "") && R(r, l), /*numberOfSlides*/
168
168
  a[8] > /*numberOfVisibleSlides*/
169
169
  a[9] ? c ? c.p(a, k) : (c = le(a), c.c(), c.m(i, null)) : c && (c.d(1), c = null), k[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
170
170
  49166) {
@@ -187,7 +187,7 @@ function Ue(t) {
187
187
  (a[0] === "vendor" ? "Providers" : "Collections")) && p(e, "class", u);
188
188
  },
189
189
  d(a) {
190
- a && F(e), c && c.d(), ae(m, a), t[27](null), S();
190
+ a && x(e), c && c.d(), ae(m, a), t[27](null), S();
191
191
  }
192
192
  };
193
193
  }
@@ -198,11 +198,11 @@ function We(t) {
198
198
  e = b("div"), p(e, "class", "LoadingSpinner");
199
199
  },
200
200
  m(i, n) {
201
- x(i, e, n);
201
+ F(i, e, n);
202
202
  },
203
203
  p: B,
204
204
  d(i) {
205
- i && F(e);
205
+ i && x(e);
206
206
  }
207
207
  };
208
208
  }
@@ -213,7 +213,7 @@ function le(t) {
213
213
  e = b("div"), i = b("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 = T(), l = b("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>', p(e, "class", "ButtonsContainer");
214
214
  },
215
215
  m(C, h) {
216
- x(C, e, h), v(e, i), v(e, n), v(e, l), r || (d = [
216
+ F(C, e, h), v(e, i), v(e, n), v(e, l), r || (d = [
217
217
  A(
218
218
  i,
219
219
  "click",
@@ -230,33 +230,33 @@ function le(t) {
230
230
  },
231
231
  p: B,
232
232
  d(C) {
233
- C && F(e), r = !1, He(d);
233
+ C && x(e), r = !1, Te(d);
234
234
  }
235
235
  };
236
236
  }
237
- function De(t) {
237
+ function qe(t) {
238
238
  let e, i = (
239
239
  /*category*/
240
240
  t[41].name + ""
241
241
  ), n;
242
242
  return {
243
243
  c() {
244
- e = b("p"), n = R(i), p(e, "class", "CategorySlideTitle");
244
+ e = b("p"), n = U(i), p(e, "class", "CategorySlideTitle");
245
245
  },
246
246
  m(l, r) {
247
- x(l, e, r), v(e, n);
247
+ F(l, e, r), v(e, n);
248
248
  },
249
249
  p(l, r) {
250
250
  r[0] & /*gameCategories*/
251
251
  8 && i !== (i = /*category*/
252
- l[41].name + "") && U(n, i);
252
+ l[41].name + "") && R(n, i);
253
253
  },
254
254
  d(l) {
255
- l && F(e);
255
+ l && x(e);
256
256
  }
257
257
  };
258
258
  }
259
- function Ee(t) {
259
+ function De(t) {
260
260
  let e, i, n;
261
261
  return {
262
262
  c() {
@@ -265,7 +265,7 @@ function Ee(t) {
265
265
  t[41].name + " icon");
266
266
  },
267
267
  m(l, r) {
268
- x(l, e, r);
268
+ F(l, e, r);
269
269
  },
270
270
  p(l, r) {
271
271
  r[0] & /*gameCategories*/
@@ -275,7 +275,7 @@ function Ee(t) {
275
275
  l[41].name + " icon") && p(e, "alt", n);
276
276
  },
277
277
  d(l) {
278
- l && F(e);
278
+ l && x(e);
279
279
  }
280
280
  };
281
281
  }
@@ -286,21 +286,21 @@ function oe(t) {
286
286
  ), n, l;
287
287
  return {
288
288
  c() {
289
- e = b("p"), n = R(i), p(e, "title", l = /*game*/
289
+ e = b("p"), n = U(i), p(e, "title", l = /*game*/
290
290
  t[44].name);
291
291
  },
292
292
  m(r, d) {
293
- x(r, e, d), v(e, n);
293
+ F(r, e, d), v(e, n);
294
294
  },
295
295
  p(r, d) {
296
296
  d[0] & /*gameCategories*/
297
297
  8 && i !== (i = /*game*/
298
- r[44].name + "") && U(n, i), d[0] & /*gameCategories*/
298
+ r[44].name + "") && R(n, i), d[0] & /*gameCategories*/
299
299
  8 && l !== (l = /*game*/
300
300
  r[44].name) && p(e, "title", l);
301
301
  },
302
302
  d(r) {
303
- r && F(e);
303
+ r && x(e);
304
304
  }
305
305
  };
306
306
  }
@@ -326,7 +326,7 @@ function ne(t) {
326
326
  t[44].name), p(e, "class", "CategorySlideGames");
327
327
  },
328
328
  m(c, g) {
329
- x(c, e, g), v(e, i), v(e, r), u && u.m(e, null), v(e, d), C || (h = A(i, "click", Ne(S)), C = !0);
329
+ F(c, e, g), v(e, i), v(e, r), u && u.m(e, null), v(e, d), C || (h = A(i, "click", ze(S)), C = !0);
330
330
  },
331
331
  p(c, g) {
332
332
  t = c, g[0] & /*gameCategories*/
@@ -337,7 +337,7 @@ function ne(t) {
337
337
  t[2] == "true" ? u ? u.p(t, g) : (u = oe(t), u.c(), u.m(e, d)) : u && (u.d(1), u = null);
338
338
  },
339
339
  d(c) {
340
- c && F(e), u && u.d(), C = !1, h();
340
+ c && x(e), u && u.d(), C = !1, h();
341
341
  }
342
342
  };
343
343
  }
@@ -347,11 +347,11 @@ function re(t) {
347
347
  if (
348
348
  /*titletype*/
349
349
  s[1] == "logo"
350
- ) return Ee;
350
+ ) return De;
351
351
  if (
352
352
  /*titletype*/
353
353
  s[1] == "title"
354
- ) return De;
354
+ ) return qe;
355
355
  }
356
356
  let c = u(t), g = c && c(t), m = H(
357
357
  /*category*/
@@ -379,7 +379,7 @@ function re(t) {
379
379
  ((f = t[41]) == null ? void 0 : f.background) + ")"), I(i, "background-size", "cover"), p(e, "class", "CategoriesSliderWrapper Animation");
380
380
  },
381
381
  m(s, f) {
382
- x(s, e, f), v(e, i), v(i, n), g && g.m(n, null), v(i, l), v(i, r);
382
+ F(s, e, f), v(e, i), v(i, n), g && g.m(n, null), v(i, l), v(i, r);
383
383
  for (let _ = 0; _ < a.length; _ += 1)
384
384
  a[_] && a[_].m(r, null);
385
385
  v(e, C), h || (S = A(i, "click", k), h = !0);
@@ -408,7 +408,7 @@ function re(t) {
408
408
  ((P = t[41]) == null ? void 0 : P.background) + ")");
409
409
  },
410
410
  d(s) {
411
- s && F(e), g && g.d(), ae(a, s), h = !1, S();
411
+ s && x(e), g && g.d(), ae(a, s), h = !1, S();
412
412
  }
413
413
  };
414
414
  }
@@ -426,7 +426,7 @@ function Ve(t) {
426
426
  e = b("div"), l.c();
427
427
  },
428
428
  m(r, d) {
429
- x(r, e, d), l.m(e, null), t[29](e);
429
+ F(r, e, d), l.m(e, null), t[29](e);
430
430
  },
431
431
  p(r, d) {
432
432
  n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
@@ -434,13 +434,13 @@ function Ve(t) {
434
434
  i: B,
435
435
  o: B,
436
436
  d(r) {
437
- r && F(e), l.d(), t[29](null);
437
+ r && x(e), l.d(), t[29](null);
438
438
  }
439
439
  };
440
440
  }
441
- function qe(t, e, i) {
441
+ function Ee(t, e, i) {
442
442
  let n;
443
- Me(t, Ae, (o) => i(11, n = o));
443
+ Le(t, Ne, (o) => i(11, n = o));
444
444
  let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: h = "" } = e, { clientstyling: S = "" } = e, { clientstylingurl: u = "" } = e, { translationurl: c = "" } = e, { collectionprovidersgamenames: g = "" } = e, { mbsource: m } = e, a = [], k = !0, s, f = 0, _ = 0, P = 0, y, z, j, se = window.navigator.userAgent, W, O = 0;
445
445
  const ce = () => {
446
446
  fetch(c).then((w) => w.json()).then((w) => {
@@ -460,29 +460,29 @@ function qe(t, e, i) {
460
460
  i(7, k = !1);
461
461
  let L = w.items.filter((G) => G.flags == C);
462
462
  i(3, a = L.map((G) => {
463
- var J, Q, X;
463
+ var Z, Q, X;
464
464
  return {
465
465
  id: G.id,
466
466
  name: G.name,
467
- icon: G.icon ? G.icon : (X = (Q = (J = G.vendors) == null ? void 0 : J.items[0]) == null ? void 0 : Q.subVendors[0]) == null ? void 0 : X.logo,
467
+ icon: G.icon ? G.icon : (X = (Q = (Z = G.vendors) == null ? void 0 : Z.items[0]) == null ? void 0 : Q.subVendors[0]) == null ? void 0 : X.logo,
468
468
  games: G.games.items.slice(0, 4).map((Ce) => Ce),
469
469
  background: G.background,
470
470
  flag: G.flags
471
471
  };
472
472
  })), i(8, _ = a.length);
473
473
  });
474
- }, D = (o) => {
474
+ }, q = (o) => {
475
475
  z = [...s.children], z.forEach((w, L) => {
476
476
  w.style.transform = `translateX(${100 * (o ? L - o : L)}%)`;
477
477
  }), y = z[0].getBoundingClientRect().width, ge();
478
478
  }, ge = () => {
479
479
  i(9, P = Math.floor(O / y));
480
- }, E = () => {
481
- D(f);
480
+ }, D = () => {
481
+ q(f);
482
482
  }, V = () => {
483
- f === 0 ? f = _ - P : f - P < -1 ? f = 0 : f--, E();
484
- }, q = () => {
485
- f === _ - P ? f = 0 : _ - P < f + 1 ? f = _ - P : f++, E();
483
+ f === 0 ? f = _ - P : f - P < -1 ? f = 0 : f--, D();
484
+ }, E = () => {
485
+ f === _ - P ? f = 0 : _ - P < f + 1 ? f = _ - P : f++, D();
486
486
  }, K = (o, w, L, G) => {
487
487
  window.postMessage(
488
488
  {
@@ -497,7 +497,7 @@ function qe(t, e, i) {
497
497
  context: "CollectionsProviders",
498
498
  gameName: `${L}`
499
499
  });
500
- }, Z = (o) => {
500
+ }, J = (o) => {
501
501
  window.postMessage(
502
502
  {
503
503
  type: "OpenCollectionsProvidersCategory",
@@ -508,9 +508,9 @@ function qe(t, e, i) {
508
508
  }, ue = () => {
509
509
  Ie(d);
510
510
  };
511
- je(() => (i(10, W = Fe(se)), () => {
511
+ Me(() => (i(10, W = je(se)), () => {
512
512
  }));
513
- const me = () => V(), fe = () => q(), pe = (o) => K(o.gameId, o.launchUrl, o.name, o.subVendor), he = (o) => Z(o.id);
513
+ const me = () => V(), fe = () => E(), pe = (o) => K(o.gameId, o.launchUrl, o.name, o.subVendor), he = (o) => J(o.id);
514
514
  function ve(o) {
515
515
  Y[o ? "unshift" : "push"](() => {
516
516
  s = o, i(4, s);
@@ -529,11 +529,11 @@ function qe(t, e, i) {
529
529
  }, t.$$.update = () => {
530
530
  t.$$.dirty[0] & /*endpoint, datasource, lang*/
531
531
  458752 && l && r && d && de(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
532
- 88 && O && a && s && D(), t.$$.dirty[0] & /*lang*/
532
+ 88 && O && a && s && q(), t.$$.dirty[0] & /*lang*/
533
533
  262144 && d && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
534
- 524320 && S && j && Te(j, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
535
- 1048608 && u && j && xe(j, u), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
536
- 4194336 && j && ze(j, `${m}.Style`), t.$$.dirty[0] & /*translationurl*/
534
+ 524320 && S && j && Oe(j, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
535
+ 1048608 && u && j && Be(j, u), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
536
+ 4194336 && j && He(j, `${m}.Style`), t.$$.dirty[0] & /*translationurl*/
537
537
  2097152 && c && ce();
538
538
  }, [
539
539
  C,
@@ -549,9 +549,9 @@ function qe(t, e, i) {
549
549
  W,
550
550
  n,
551
551
  V,
552
- q,
552
+ E,
553
553
  K,
554
- Z,
554
+ J,
555
555
  l,
556
556
  r,
557
557
  d,
@@ -573,9 +573,9 @@ class Ke extends Se {
573
573
  super(), ke(
574
574
  this,
575
575
  e,
576
- qe,
576
+ Ee,
577
577
  Ve,
578
- Pe,
578
+ Ge,
579
579
  {
580
580
  endpoint: 16,
581
581
  datasource: 17,
@@ -653,7 +653,7 @@ class Ke extends Se {
653
653
  this.$$set({ mbsource: e }), M();
654
654
  }
655
655
  }
656
- Ge(Ke, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
656
+ Ae(Ke, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
657
657
  export {
658
658
  Ke as default
659
659
  };