@everymatrix/casino-page 0.0.415 → 0.0.416

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.
@@ -27,5 +27,5 @@
27
27
  <span id=${t} class="${e}">
28
28
  ${n}
29
29
  </span>
30
- `},V,Z,K,b,v,S,ee,_,k,$,M,T,G,F,L,E,he,me,function(e){gt[e?"unshift":"push"](()=>{i=e,o(17,i)})},()=>fe(x),()=>ge(x),()=>fe(x),function(e){gt[e?"unshift":"push"](()=>{y=e,o(12,y)})},function(e){gt[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function la(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function ca(e,t,n){const r=e.slice();return r[78]=t[n],r[81]=t,r[80]=n,r}function ua(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function da(e){let n;function r(e){return e[14]?ga:e[24]?pa:void 0}let a=r(e),i=a&&a(e);return{c(){n=me("div"),i&&i.c()},m(e,t){de(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&he(n),i&&i.d()}}}function ha(e){let n,r,a;function i(e){return e[18]?Pa:e[15].length?La:Ea}let o=i(e),s=o(e);function l(e){return e[15]?Ra:Ia}let c=l(e),u=c(e);return{c(){n=me("div"),r=me("div"),s.c(),a=ge(),u.c(),fe(r,"class","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){de(e,n,t),ue(n,r),s.m(r,null),ue(n,a),u.m(n,null)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),(u=c(e))&&(u.c(),u.m(n,null)))},d(e){e&&he(n),s.d(),u.d()}}}function ma(e){let n;function r(e){return e[20]?Oa:Da}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function pa(n){let r,a,i,o,s,l,c,u,d=n[29]("gamesCategorySection.favorites")+"";function h(e){return e[28]?ya:fa}let m=h(n),p=m(n);return{c(){r=me("div"),a=me("div"),i=me("h3"),o=pe(d),s=ge(),l=me("ul"),p.c(),fe(i,"class","CategoryName"),fe(i,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",u=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),n[50](i),ue(r,s),ue(r,l),p.m(l,null),n[51](l)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.favorites")+"")&&ye(o,d),m===(m=h(e))&&p?p.p(e,t):(p.d(1),(p=m(e))&&(p.c(),p.m(l,null))),268435456&t[0]&&c!==(c=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),268435456&t[0]&&u!==(u=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",u)},d(e){e&&he(r),n[50](null),p.d(),n[51](null)}}}function ga(n){let r,a,i,o,s,l,c=n[14].name+"",u=n[16]&&Ma(n);function d(e){return 0!==e[15].length?Ga:Ta}let h=d(n),m=h(n);return{c(){r=me("div"),a=me("div"),i=me("h3"),o=pe(c),s=ge(),u&&u.c(),l=ge(),m.c(),fe(i,"class","CategoryName"),fe(i,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),n[46](i),ue(a,s),u&&u.m(a,null),ue(r,l),m.m(r,null)},p(e,t){16384&t[0]&&c!==(c=e[14].name+"")&&ye(o,c),e[16]?u?u.p(e,t):((u=Ma(e)).c(),u.m(a,null)):u&&(u.d(1),u=null),h===(h=d(e))&&m?m.p(e,t):(m.d(1),(m=h(e))&&(m.c(),m.m(r,null)))},d(e){e&&he(r),n[46](null),u&&u.d(),m.d()}}}function fa(e){let n,r,a=e[29]("gamesCategorySection.waiting")+"";return{c(){n=me("p"),r=pe(a)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.waiting")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ya(t){let r,a=t[28].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=$a(la(t,a,e));let o=null;return a.length||(o=ba(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=l(),o&&o.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);de(t,r,n),o&&o.m(t,n)},p(t,n){if(2097156095&n[0]){let e;for(a=t[28].items,e=0;e<a.length;e+=1){const o=la(t,a,e);i[e]?i[e].p(o,n):(i[e]=$a(o),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):((o=ba(t)).c(),o.m(r.parentNode,r))}},d(e){$(i,e),e&&he(r),o&&o.d(e)}}}function ba(e){let n,r,a,i,o,s,l,c,t,u,d=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(p=e,yt(p[30])?wa:va),m=h(e);var p;return{c(){n=me("p"),r=M("svg"),a=M("path"),i=ge(),o=me("span"),s=pe(d),l=ge(),m.c(),c=ge(),k(a,"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),k(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",u="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(n,i),ue(n,o),ue(o,s),ue(n,l),m.m(n,null),ue(n,c)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,d),m.p(e,t)},d(e){e&&he(n),m.d()}}}function va(e){let n,r,a=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,a)},d(e){e&&he(n)}}}function wa(e){let n,r,a=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,a)},d(e){e&&he(n)}}}function xa(e){let n,r=e[78].gameModel.isFavorite&&Sa(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[78].gameModel.isFavorite?r?r.p(e,t):((r=Sa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Sa(e){let n,r=function(e){let n,r,a;function i(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!yt(e[30]):n)?_a:(r=null==r?!!e[78].gameModel.platform.includes("PC"):r)?Ca:void 0}let o=i(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),a=l()},m(e,t){s&&s.m(e,t),de(e,a,t)},p(e,t){o===(o=i(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){s&&s.d(e),e&&he(a)}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ca(e){let n,r,a,i,o,s,l,c,u,d,h,m,p,g;return{c(){w(n=me("casino-game-thumbnail"),"class",r=""+(S+(e[78].cellSize||"1x1"))),w(n,"part",a=""+(S+(e[78].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",i=e[78].gameModel.thumbnail),w(n,"gamename",o=e[78].gameModel.name),w(n,"gamevendor",s=e[78].gameModel.vendor.name),w(n,"gameisnew",l=e[78].gameModel.isNew),w(n,"gamepopularity",c=e[78].gameModel.popularity),w(n,"gamecellsize",u=e[78].cellSize),w(n,"gameid",d=e[78].gameModel.id),w(n,"gamefunmode",h=e[78].gameModel.hasFunMode),w(n,"gamefavorite",m=e[78].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",p=1==e[26][e[78].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(S+(e[78].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&a!==(a=""+(S+(e[78].cellSize||"1x1")))&&w(n,"part",a),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&i!==(i=e[78].gameModel.thumbnail)&&w(n,"gamethumbnail",i),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[78].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[78].cellSize)&&w(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[78].gameModel.id)&&w(n,"gameid",d),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&m!==(m=e[78].gameModel.isFavorite)&&w(n,"gamefavorite",m),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&p!==(p=1==e[26][e[78].id]?"connect":"disconnect")&&w(n,"connectlive",p),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function _a(e){let n,r=e[78].gameModel.platform.includes("iPad")||e[78].gameModel.platform.includes("iPhone")||e[78].gameModel.platform.includes("Android"),a=r&&ka(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),de(e,n,t)},p(e,t){(r=268435456&t[0]?e[78].gameModel.platform.includes("iPad")||e[78].gameModel.platform.includes("iPhone")||e[78].gameModel.platform.includes("Android"):r)?a?a.p(e,t):((a=ka(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function ka(e){let n,r,a,i,o,s,l,c,u,d,h,m,p,g;return{c(){w(n=me("casino-game-thumbnail"),"class",r=""+(S+(e[78].cellSize||"1x1"))),w(n,"part",a=""+(S+(e[78].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",i=e[78].gameModel.thumbnail),w(n,"gamename",o=e[78].gameModel.name),w(n,"gamevendor",s=e[78].gameModel.vendor.name),w(n,"gameisnew",l=e[78].gameModel.isNew),w(n,"gamepopularity",c=e[78].gameModel.popularity),w(n,"gamecellsize",u=e[78].cellSize),w(n,"gameid",d=e[78].gameModel.id),w(n,"gamefunmode",h=e[78].gameModel.hasFunMode),w(n,"gamefavorite",m=e[78].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",p=1==e[26][e[78].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(S+(e[78].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&a!==(a=""+(S+(e[78].cellSize||"1x1")))&&w(n,"part",a),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&i!==(i=e[78].gameModel.thumbnail)&&w(n,"gamethumbnail",i),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[78].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[78].cellSize)&&w(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[78].gameModel.id)&&w(n,"gameid",d),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&m!==(m=e[78].gameModel.isFavorite)&&w(n,"gamefavorite",m),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&p!==(p=1==e[26][e[78].id]?"connect":"disconnect")&&w(n,"connectlive",p),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function $a(e){let n,r=e[78].gameModel&&xa(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[78].gameModel?r?r.p(e,t):((r=xa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ma(n){let r,a,i,o,s,l,c,u,d=n[29]("gamesCategorySection.viewAll")+"",h=n[14].games.total+"";return{c(){r=me("a"),a=me("span"),i=pe(d),o=pe(" ("),s=pe(h),l=pe(")"),fe(a,"class","CategoryLoadMore"),fe(a,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,o),ue(a,s),ue(a,l),c||(u=X(r,"click",n[47]),c=!0)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.viewAll")+"")&&ye(i,d),16384&t[0]&&h!==(h=e[14].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,u()}}}function Ta(e){let n;return{c(){(n=me("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ga(n){let r,e,a,i=n[15],o=[];for(let e=0;e<i.length;e+=1)o[e]=Fa(ca(n,i,e));return{c(){r=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",a=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){de(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[49](r)},p(t,n){if(201367551&n[0]){let e;for(i=t[15],e=0;e<i.length;e+=1){const a=ca(t,i,e);o[e]?o[e].p(a,n):(o[e]=Fa(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}285212672&n[0]&&e!==(e=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),285212672&n[0]&&a!==(a=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",a)},d(e){e&&he(r),$(o,e),n[49](null)}}}function Fa(e){let n,r=function(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y=n[80];const b=()=>n[48](r,y),v=()=>n[48](null,y);return{c(){w(r=me("casino-game-thumbnail"),"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",a=""+(S+(n[78].cellSize||"1x1"))),w(r,"part",i=""+(S+(n[78].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[78].thumbnail),w(r,"gamename",s=n[78].name),w(r,"gamevendor",l=n[78].vendor.name),w(r,"gameisnew",c=n[78].isNew),w(r,"gamepopularity",u=n[78].popularity),w(r,"gamecellsize",d=n[78].cellSize),w(r,"gameid",h=n[78].id),w(r,"gamefunmode",m=n[78].hasFunMode),w(r,"gamefavorite",p=n[78].isFavorite),w(r,"connectlive",g=1==n[26][n[78].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[27]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",f=n[78].details?n[78].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8]),w(r,"gamepagemodalurl",n[9]),w(r,"integratedgameframedesktop",n[10]),w(r,"integratedgameframemobile",n[11])},m(e,t){de(e,r,t),b()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),32768&t[0]&&a!==(a=""+(S+(n[78].cellSize||"1x1")))&&w(r,"class",a),32768&t[0]&&i!==(i=""+(S+(n[78].cellSize||"1x1")))&&w(r,"part",i),16&t[0]&&w(r,"favorites",n[4]),32768&t[0]&&o!==(o=n[78].thumbnail)&&w(r,"gamethumbnail",o),32768&t[0]&&s!==(s=n[78].name)&&w(r,"gamename",s),32768&t[0]&&l!==(l=n[78].vendor.name)&&w(r,"gamevendor",l),32768&t[0]&&c!==(c=n[78].isNew)&&w(r,"gameisnew",c),32768&t[0]&&u!==(u=n[78].popularity)&&w(r,"gamepopularity",u),32768&t[0]&&d!==(d=n[78].cellSize)&&w(r,"gamecellsize",d),32768&t[0]&&h!==(h=n[78].id)&&w(r,"gameid",h),32768&t[0]&&m!==(m=n[78].hasFunMode)&&w(r,"gamefunmode",m),32768&t[0]&&p!==(p=n[78].isFavorite)&&w(r,"gamefavorite",p),67141632&t[0]&&g!==(g=1==n[26][n[78].id]?"connect":"disconnect")&&w(r,"connectlive",g),134217728&t[0]&&w(r,"visibilityconnect",n[27]),128&t[0]&&w(r,"currency",n[7]),32768&t[0]&&f!==(f=n[78].details?n[78].href:"")&&w(r,"livelobbyendpoint",f),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),512&t[0]&&w(r,"gamepagemodalurl",n[9]),1024&t[0]&&w(r,"integratedgameframedesktop",n[10]),2048&t[0]&&w(r,"integratedgameframemobile",n[11]),y!==n[80]&&(v(),y=n[80],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function La(e){let n,r,a=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ea(e){let n,r,a=e[29]("gamesCategorySection.noResults")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noResults")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Pa(e){let n,r,a=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ia(e){let n;return{c(){(n=me("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ra(t){let r,a,i=!t[21]&&Aa(t),o=t[15],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ba(ua(t,o,e));return{c(){i&&i.c(),r=ge(),a=me("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(a,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),de(e,r,t),de(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null)},p(t,n){if(t[21]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Aa(t)).c(),i.m(r.parentNode,r)),561151&n[0]){let e;for(o=t[15],e=0;e<o.length;e+=1){const i=ua(t,o,e);s[e]?s[e].p(i,n):(s[e]=Ba(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){i&&i.d(e),e&&he(r),e&&he(a),$(s,e)}}}function Aa(e){let n,r,t,a,i=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=me("p"),r=pe(i),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",a="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ba(e){let n,r,a,i,o,s,l,c,u,d,h,m,p;return{c(){w(n=me("casino-game-thumbnail"),"class",r=""+(S+(e[78].cellSize||"1x1"))),w(n,"part",a=""+(S+(e[78].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[19]),w(n,"favorites",e[4]),w(n,"gamethumbnail",i=e[78].thumbnail),w(n,"gamename",o=e[78].name),w(n,"gamevendor",s=e[78].vendor.name),w(n,"gameisnew",l=e[78].isNew),w(n,"gamepopularity",c=e[78].popularity),w(n,"gamecellsize",u=e[78].cellSize),w(n,"gameid",d=e[78].id),w(n,"gamefunmode",h=e[78].hasFunMode),w(n,"gamefavorite",m=e[78].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",p=e[78].details?e[78].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){32768&t[0]&&r!==(r=""+(S+(e[78].cellSize||"1x1")))&&w(n,"class",r),32768&t[0]&&a!==(a=""+(S+(e[78].cellSize||"1x1")))&&w(n,"part",a),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),524288&t[0]&&w(n,"searchitem",e[19]),16&t[0]&&w(n,"favorites",e[4]),32768&t[0]&&i!==(i=e[78].thumbnail)&&w(n,"gamethumbnail",i),32768&t[0]&&o!==(o=e[78].name)&&w(n,"gamename",o),32768&t[0]&&s!==(s=e[78].vendor.name)&&w(n,"gamevendor",s),32768&t[0]&&l!==(l=e[78].isNew)&&w(n,"gameisnew",l),32768&t[0]&&c!==(c=e[78].popularity)&&w(n,"gamepopularity",c),32768&t[0]&&u!==(u=e[78].cellSize)&&w(n,"gamecellsize",u),32768&t[0]&&d!==(d=e[78].id)&&w(n,"gameid",d),32768&t[0]&&h!==(h=e[78].hasFunMode)&&w(n,"gamefunmode",h),32768&t[0]&&m!==(m=e[78].isFavorite)&&w(n,"gamefavorite",m),128&t[0]&&w(n,"currency",e[7]),32768&t[0]&&p!==(p=e[78].details?e[78].href:"")&&w(n,"livelobbyendpoint",p),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Da(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Oa(e){let n;return{c(){(n=me("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ha(n){let r;function a(e){return e[13]?ma:e[17]?ha:da}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){de(e,r,t),o.m(r,null),n[52](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[52](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},sa,na,d,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),f()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}});const S="game-tile-";function Na(e,t,s){let A;vt(e,Tr,e=>s(29,A=e));let i,o,l,n,B,r,c,a,u,d,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:m=""}=t,{lang:p=""}=t,{session:O=""}=t,{userid:H=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:N=""}=t,{categoryid:b=""}=t,{categorygames:W=0}=t,{livecasino:j="false"}=t,{visiblegames:U=""}=t,{gamepagemodalurl:Y="false"}=t,{enablecasinowinners:z="true"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:Z="false"}=t,{tabsorder:K=""}=t,{enableautoscroll:X=""}=t,{once:J=!0}=t,{top:q=0}=t,{bottom:Q=0}=t,{left:ee=0}=t,{right:te=0}=t,v=!1,w=!0,ne=window.navigator.userAgent,x=[],S=!0,C=40,_=!1,k=!1,re=!1,$=!1,M=!1,T=!0,G=!1,F=!1,L=!1,E=new Array(1e4),P={},ae="",I={items:[],count:0,name:""},ie=(Object.keys(Fr).forEach(e=>{lr(e,Fr[e])}),void 0!==document.hidden?u="hidden":void 0!==document.msHidden?u="msHidden":void 0!==document.webkitHidden&&(u="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>C&&le(b),s(26,P[t]=1,P)):s(26,P[t]=0,P)})}));const oe=(e,r,a,t=0)=>{let n,i="",o=(i=1<(b.match(/\$/g)||[]).length?(n=b.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${m}/${n}/subGroups`)):new URL(`${h}/casino/groups/${m}/`+b),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",bt(ne)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),o&&o[b])if(o[b].length&&!1===w&&!1===G){let t="";s(20,M=!0),o[b].forEach(e=>{t+=t?", id="+e:"id="+e}),i.searchParams.append("filter",`games(vendor(${t}))`)}else s(20,M=!1);fetch(i).then(e=>e.json()).then(e=>{1<(b.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==b)return e})[0]),s(45,d=!0),s(13,v=!1),B=e.games.total,t(e)},e=>{s(13,v=!0),console.error(e),n(e)})})},se=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(17,_=!1),w=!1,s(16,S=!1),F=!0,s(15,x=t.data.mostPlayedGames),s(14,l={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"LastPlayedData":s(17,_=!1),w=!1,s(16,S=!1),F=!1,s(15,x=t.data.lastPlayedGames),s(14,l={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(17,_=!0),F=!1,s(18,k=!0),0<t.data.searchData.length?(s(15,x=t.data.searchData),s(21,T=!0),x&&x.forEach(e=>{e.isFavorite=R(e.id)})):(s(15,x=[]),s(21,T=!1));break;case"OutOfRecentSearches":s(17,_=!1),s(18,k=!1);break;case"SearchData":s(17,_=!0),F=!1,s(18,k=!1),s(15,x=t.data.searchData.items||[]),s(19,$=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+b:s(17,_=!1),w=!0,s(16,S=!0),s(19,$=!1),F=!1,L=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),oe(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(14,l=e),s(15,x=l.games.items),x&&x.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":C=20;break;case"CategoryUpdate":s(17,_=!1),w=!1,s(19,$=!1),F=!1,L=!0,s(32,b=t.data.itemId),"MOSTPLAYED"!==b&&s(16,S=!1),oe(0,0,C).then(e=>{s(14,l=e),l.games.items.forEach(e=>{e.isFavorite=R(e.id)}),s(15,x=l.games.items),s(16,S=!1),x.length<10&&(re=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:re},window.location.href)},500))});break;case"FavoriteUpdate":F=!1,w=!0,s(15,x=l.games.items),x.forEach(e=>{e.isFavorite=R(e.id)});break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items,G?w||F||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,I.items=(n=e,I.items,a=window.navigator.userAgent,yt(a)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),I),s(28,I.name="Favorites",I),s(24,G=!0));break;case"UserSessionID":if(i=t.data.session,o=t.data.userID,"true"==g&&o&&o.length&&i&&0<i.length){var r=`${h}/player/${o}/favorites/`;let e={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{c=e?e.items:[],x.forEach(e=>{e.isFavorite=R(e.id)});e=x;s(15,x=void 0),s(15,x=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,a},le=e=>{(C+=1)<=B&&oe(0,0,C).then(e=>{s(14,l=e),l.games.items.length>x.length&&(s(15,x=l.games.items),x.forEach(e=>{e.isFavorite=R(e.id)}))})},R=t=>!!c&&-1!==c.findIndex(e=>e.id==t),ce=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return wt(()=>(window.addEventListener("visibilitychange",e=>{document[u]?s(27,ae="disconnect"):s(27,ae="connect")}),window.addEventListener("message",se,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",se),window.removeEventListener("visibilitychange",se)})),e.$$set=e=>{"categoryindex"in e&&s(33,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(34,m=e.datasource),"lang"in e&&s(1,p=e.lang),"session"in e&&s(2,O=e.session),"userid"in e&&s(3,H=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"currency"in e&&s(7,N=e.currency),"categoryid"in e&&s(32,b=e.categoryid),"categorygames"in e&&s(35,W=e.categorygames),"livecasino"in e&&s(8,j=e.livecasino),"visiblegames"in e&&s(36,U=e.visiblegames),"gamepagemodalurl"in e&&s(9,Y=e.gamepagemodalurl),"enablecasinowinners"in e&&s(37,z=e.enablecasinowinners),"integratedgameframedesktop"in e&&s(10,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,Z=e.integratedgameframemobile),"tabsorder"in e&&s(38,K=e.tabsorder),"enableautoscroll"in e&&s(39,X=e.enableautoscroll),"once"in e&&s(40,J=e.once),"top"in e&&s(41,q=e.top),"bottom"in e&&s(42,Q=e.bottom),"left"in e&&s(43,ee=e.left),"right"in e&&s(44,te=e.right)},e.$$.update=()=>{if(4096&e.$$.dirty[0]|16384&e.$$.dirty[1]&&d&&E&&L&&E.forEach((e,t)=>{e&&(e.elems_index=t,ie.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{a.appendChild(e)})}if(64&e.$$.dirty[0]&&y){let t=document.createElement("style");fetch(new URL(y)).then(e=>e.text()).then(e=>{t.innerHTML=e,a&&setTimeout(()=>{a.appendChild(t)},1)})}},[h,p,O,H,g,f,y,N,j,Y,V,Z,E,v,l,x,S,_,k,$,M,T,n,r,G,a,P,ae,I,A,ne,ce,b,D,m,W,U,z,K,X,J,q,Q,ee,te,d,function(e){gt[e?"unshift":"push"](()=>{r=e,s(23,r)})},e=>ce(l.id,l),function(e,t){gt[e?"unshift":"push"](()=>{E[t]=e,s(12,E)})},function(e){gt[e?"unshift":"push"](()=>{n=e,s(22,n)})},function(e){gt[e?"unshift":"push"](()=>{r=e,s(23,r)})},function(e){gt[e?"unshift":"push"](()=>{n=e,s(22,n)})},function(e){gt[e?"unshift":"push"](()=>{a=e,s(25,a)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Na,Ha,d,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:32,categorygames:35,livecasino:8,visiblegames:36,gamepagemodalurl:9,enablecasinowinners:37,integratedgameframedesktop:10,integratedgameframemobile:11,tabsorder:38,enableautoscroll:39,once:40,top:41,bottom:42,left:43,right:44},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","enablecasinowinners","integratedgameframedesktop","integratedgameframemobile","tabsorder","enableautoscroll","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[37]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[39]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get once(){return this.$$.ctx[40]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[41]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[42]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[43]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[44]}set right(e){this.$$set({right:e}),f()}});const Wa={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function ja(e,t,n){const r=e.slice();return r[24]=t[n],r[26]=n,r}function Ua(n){let r,a,i,o,s,l,c,u=!n[6]&&Ya(n),d=n[6]&&Va(n);return{c(){r=me("div"),a=me("div"),(i=me("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),u&&u.c(),s=ge(),d&&d.c(),fe(i,"class","ModalCloseBtn"),fe(i,"part","ModalCloseBtn"),fe(i,"role","button"),fe(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,o),u&&u.m(a,null),ue(a,s),d&&d.m(a,null),l||(c=X(i,"click",n[10]),l=!0)},p(e,t){e[6]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Ya(e)).c(),u.m(a,s)),e[6]?d?d.p(e,t):((d=Va(e)).c(),d.m(a,null)):d&&(d.d(1),d=null)},d(e){e&&he(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Ya(t){let n,r,a,i,o,s,e=t[7]("randomGame.randomGameLoading")+"",l=t[3],c=[];for(let e=0;e<l.length;e+=1)c[e]=za(ja(t,l,e));return{c(){n=me("div"),r=me("main"),a=me("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),o=me("p"),s=pe(e),fe(a,"class","items"),fe(a,"part","items"),k(a,"transform","translateY("+t[5]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,a);for(let e=0;e<c.length;e+=1)c[e].m(a,null);ue(n,i),ue(n,o),ue(o,s)},p(t,n){if(8&n){let e;for(l=t[3],e=0;e<l.length;e+=1){var r=ja(t,l,e);c[e]?c[e].p(r,n):(c[e]=za(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}32&n&&k(a,"transform","translateY("+t[5]+"px)"),128&n&&e!==(e=t[7]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),$(c,e)}}}function za(e){let n,r,a,i,o,s;return{c(){n=me("div"),r=me("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,a=e[24].thumbnail)||fe(r,"src",a),fe(r,"alt",i=e[24].name),fe(r,"title",o=e[24].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){de(e,n,t),ue(n,r),ue(n,s)},p(e,t){8&t&&!ce(r.src,a=e[24].thumbnail)&&fe(r,"src",a),8&t&&i!==(i=e[24].name)&&fe(r,"alt",i),8&t&&o!==(o=e[24].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Va(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v,w,x,S,C=n[2].name+"",_=n[2].vendor.name+"",k=n[7]("randomGame.playNowRandomGame")+"";return{c(){r=me("div"),a=me("div"),i=me("img"),c=ge(),(u=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',d=ge(),h=me("div"),m=me("p"),p=pe(C),g=ge(),f=me("p"),y=pe(_),b=ge(),v=me("button"),w=pe(k),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,o=n[2].thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[2].name),fe(i,"title",l=n[2].name),fe(u,"class","RandomTryAgain"),fe(u,"part","RandomTryAgain"),fe(a,"class","item"),fe(a,"part","item"),fe(m,"class","RandomGameTitle"),fe(m,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,c),ue(a,u),ue(r,d),ue(r,h),ue(h,m),ue(m,p),ue(h,g),ue(h,f),ue(f,y),ue(h,b),ue(h,v),ue(v,w),x||(S=[X(u,"click",n[15]),X(v,"click",n[16])],x=!0)},p(e,t){4&t&&!ce(i.src,o=e[2].thumbnail)&&fe(i,"src",o),4&t&&s!==(s=e[2].name)&&fe(i,"alt",s),4&t&&l!==(l=e[2].name)&&fe(i,"title",l),4&t&&C!==(C=e[2].name+"")&&ye(p,C),4&t&&_!==(_=e[2].vendor.name+"")&&ye(y,_),128&t&&k!==(k=e[7]("randomGame.playNowRandomGame")+"")&&ye(w,k)},d(e){e&&he(r),x=!1,K(S)}}}function Za(e){let n,r,a=e[7]("randomGame.playRandomGame")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){128&t&&a!==(a=e[7]("randomGame.playRandomGame")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ka(e){let n,r;return{c(){n=me("span"),r=pe(e[1]),fe(n,"class","RandomButtonText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t&&ye(r,e[1])},d(e){e&&he(n)}}}function Xa(n){let r,a,i,o,s,l,c,u,d,h=n[4]&&Ua(n);function m(e){return e[1]?Ka:e[1]?void 0:Za}let p=m(n),g=p&&p(n);return{c(){r=me("div"),a=me("div"),h&&h.c(),i=ge(),o=me("div"),s=me("button"),g&&g.c(),l=ge(),c=me("span"),this.c=Z,fe(c,"class","RandomButtonIcon"),fe(c,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),ue(r,a),h&&h.m(a,null),ue(a,i),ue(a,o),ue(o,s),g&&g.m(s,null),ue(s,l),ue(s,c),c.innerHTML=n[0],u||(d=X(s,"click",n[17]),u=!0)},p(e,[t]){e[4]?h?h.p(e,t):((h=Ua(e)).c(),h.m(a,i)):h&&(h.d(1),h=null),p===(p=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=p&&p(e))&&(g.c(),g.m(s,l))),1&t&&(c.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),h&&h.d(),g&&g.d(),u=!1,d()}}}function Ja(t,e,n){let r;vt(t,Tr,e=>n(7,r=e));let a,{endpoint:i=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,{randombuttonicon:c=""}=e,{buttontext:u=""}=e,d=[],h="",m=!1,p=0,g=0,f=!1,y=window.navigator.userAgent;var b,v;({withLocale:b,translations:v}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(or.set(v),ft.set(b))}),Object.keys(Wa).forEach(e=>{lr(e,Wa[e])});const w=()=>{n(3,a=(e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e})(a)),n(5,p=0),g=0,n(6,f=!1),n(2,h=d[Math.floor(Math.random()*d.length)]),n(4,m=!0);let e=setInterval(()=>{n(5,p-=100),20==++g&&(n(6,f=!0),clearInterval(e))},100)},x=()=>{window.postMessage({type:s,gameId:h.gId||h.id},window.location.href),n(4,m=!1)};return t.$$set=e=>{"endpoint"in e&&n(11,i=e.endpoint),"datasource"in e&&n(12,o=e.datasource),"gameevent"in e&&n(13,s=e.gameevent),"lang"in e&&n(14,l=e.lang),"randombuttonicon"in e&&n(0,c=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext)},t.$$.update=()=>{if(16384&t.$$.dirty&&l&&(e=l,ft.set(e)),6144&t.$$.dirty&&i&&o){let e=new URL(i+"/casino/games");e.searchParams.append("platform",bt(y)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{d=e.items,n(3,a=d.slice(0,19))})}var e},[c,u,h,a,m,p,f,r,w,x,()=>{n(4,m=!1)},i,o,s,l,()=>w(),()=>x(),()=>w()]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Ja,Xa,d,{endpoint:11,datasource:12,gameevent:13,lang:14,randombuttonicon:0,buttontext:1},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[13]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}});const qa={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Qa(e,t,n){const r=e.slice();return r[57]=t[n],r}function ei(e,t,n){const r=e.slice();return r[60]=t[n],r}function ti(n){let i,r,o,a,s,l,c,u,e,d,h,m,p,g,f,y,b,v,w,x,S=n[14],C=[];for(let e=0;e<S.length;e+=1)C[e]=ii(ei(n,S,e));let _=n[7],k=[];for(let e=0;e<_.length;e+=1)k[e]=oi(Qa(n,_,e));return{c(){i=me("div"),r=me("div"),o=me("div");for(let e=0;e<C.length;e+=1)C[e].c();a=ge(),s=me("div"),l=me("button"),c=M("svg"),u=M("path"),d=ge(),h=me("button"),m=M("svg"),p=M("path"),y=ge(),b=me("div");for(let e=0;e<k.length;e+=1)k[e].c();fe(o,"class","WinnerButtonsContainer"),fe(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(u,"id","Path_36"),fe(u,"data-name","Path 36"),fe(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(u,"transform","translate(14.656 0) rotate(90)"),fe(u,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(p,"style",g=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(m,"id","Component_46_2"),fe(m,"data-name","Component 46 – 2"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(m,"width","15"),fe(m,"height","15"),fe(m,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,o);for(let e=0;e<C.length;e+=1)C[e].m(o,null);ue(r,a),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(s,d),ue(s,h),ue(h,m),ue(m,p),ue(i,y),ue(i,b);for(let e=0;e<k.length;e+=1)k[e].m(b,null);n[38](b),w||(x=[X(l,"click",n[35]),X(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(S=t[14],e=0;e<S.length;e+=1){var r=ei(t,S,e);C[e]?C[e].p(r,n):(C[e]=ii(r),C[e].c(),C[e].m(o,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=S.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(u,"style",e),384&n[0]&&g!==(g=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),435348&n[0]){let e;for(_=t[7],e=0;e<_.length;e+=1){var a=Qa(t,_,e);k[e]?k[e].p(a,n):(k[e]=oi(a),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=_.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),$(C,e),$(k,e),n[38](null),w=!1,K(x)}}}function ni(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ri(n){let r,a,i,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=me("button"),a=pe(l),fe(r,"class",i="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){de(e,r,t),ue(r,a),o||(s=X(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(a,l),65&t[0]&&i!==(i="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",i)},d(e){e&&he(r),o=!1,s()}}}function ai(n){let r,a,i,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=me("button"),a=pe(c),i=ge(),fe(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){de(e,r,t),ue(r,a),ue(r,i),s||(l=X(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(a,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function ii(e){let n,r,a="recent"==e[60]&&ri(e),i="top"==e[60]&&ai(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),de(e,n,t),i&&i.m(e,t),de(e,r,t)},p(e,t){"recent"==e[60]?a?a.p(e,t):((a=ri(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[60]?i?i.p(e,t):((i=ai(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&he(n),i&&i.d(e),e&&he(r)}}}function oi(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v,w,x,S,C,_,k,$,M=n[57].gameName+"",T=n[17](n[57].username)+"",G=n[15]("Translations.won")+"",F=n[57].specifiedCurrencyAmount.toFixed(2)+"",L=(n[4]?n[10]:n[2])+"";function E(){return n[37](n[57])}return{c(){r=me("div"),a=me("div"),i=me("img"),l=ge(),c=me("p"),u=pe(M),d=ge(),h=me("p"),m=pe(T),p=ge(),g=me("p"),f=pe(G),y=ge(),b=me("p"),v=pe(F),w=ge(),x=me("span"),S=pe(L),C=ge(),ce(i.src,o=n[57]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[57]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(r,"class",_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,l),ue(a,c),ue(c,u),ue(a,d),ue(a,h),ue(h,m),ue(a,p),ue(a,g),ue(g,f),ue(a,y),ue(a,b),ue(b,v),ue(b,w),ue(b,x),ue(x,S),ue(r,C),k||($=X(i,"click",E),k=!0)},p(e,t){n=e,128&t[0]&&!ce(i.src,o=n[57]?.gameModel?.thumbnail)&&fe(i,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&fe(i,"alt",s),128&t[0]&&M!==(M=n[57].gameName+"")&&ye(u,M),128&t[0]&&T!==(T=n[17](n[57].username)+"")&&ye(m,T),32768&t[0]&&G!==(G=n[15]("Translations.won")+"")&&ye(f,G),128&t[0]&&F!==(F=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,F),1044&t[0]&&L!==(L=(n[4]?n[10]:n[2])+"")&&ye(S,L),8192&t[0]&&_!==(_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",_)},d(e){e&&he(r),k=!1,$()}}}function si(n){let r;function a(e){return e[12]?ni:ti}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[39](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function li(t,e,i){let n;vt(t,Tr,e=>i(15,n=e));let r,o,a,s,l,c,u,d,h,m,{endpoint:p=""}=e,{session:g=""}=e,{periodrecent:f="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:S="true"}=e,{istopavailable:C="true"}=e,{defaultcurrency:_=""}=e,{clientstyling:k=""}=e,{clientstylingurl:$=""}=e,{enableautoscroll:M=""}=e,{tabsorder:T=""}=e,G=[],F=0,L=0,A=window.navigator.userAgent,E=!0,P=!1;Object.keys(qa).forEach(e=>{lr(e,qa[e])});const B=()=>{const e=new URL(`${p}/casino/${o}-winners`);e.searchParams.append("limit","recent"==o?b:v),e.searchParams.append("specifiedCurrency",m),e.searchParams.append("period","recent"==o?f:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{i(7,G=[]),i(7,G=e.items.map(e=>e)),i(12,E=!1),setTimeout(()=>{i(8,L=Math.round(r.offsetWidth/225)),O(),"true"==M&&(F=0,L<u?d=setInterval(()=>{R()},3e3):clearInterval(d))})})},I=e=>{o!==e&&(i(6,o=e),i(7,G=[]),B())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},O=n=>{const e=[...r.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==o?setTimeout(()=>{i(13,P=!0)},10):i(13,P=!1)},H=()=>{O(F)},N=()=>{var e=G.length;L>=G.length||(0===F?F=e-L:F-L<0?F=0:F-=L,H())},R=()=>{var e=G.length;L>=G.length||("true"==M&&(F===e-L?F=0:F++),"false"==M&&(F===e-L?F=0:e-L<F+L?F=e-L:F+=L),H())};return wt(()=>(i(9,a=yt(A)),()=>{clearInterval(d)})),t.$$set=e=>{"endpoint"in e&&i(22,p=e.endpoint),"session"in e&&i(23,g=e.session),"periodrecent"in e&&i(24,f=e.periodrecent),"periodtop"in e&&i(25,y=e.periodtop),"numberusersrecent"in e&&i(26,b=e.numberusersrecent),"numberuserstop"in e&&i(27,v=e.numberuserstop),"amountlimit"in e&&i(21,w=e.amountlimit),"lang"in e&&i(28,x=e.lang),"isrecentavailable"in e&&i(0,S=e.isrecentavailable),"istopavailable"in e&&i(1,C=e.istopavailable),"defaultcurrency"in e&&i(2,_=e.defaultcurrency),"clientstyling"in e&&i(29,k=e.clientstyling),"clientstylingurl"in e&&i(30,$=e.clientstylingurl),"enableautoscroll"in e&&i(3,M=e.enableautoscroll),"tabsorder"in e&&i(31,T=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&S&&C&&f&&y&&b&&v&&w&&x&&T&&null!=s&&(i(14,h=T.split(",")),i(6,o=h[0]),"false"==S&&i(21,w=""),i(32,m=s?l:_)),4194304&t.$$.dirty[0]&&p&&(r=p,a=g,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",a),$e(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,i(10,l=e.Currency),i(4,s=!0)},e=>{i(4,s=!1)})),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&p&&m&&M&&B(),268435456&t.$$.dirty[0]&&x&&(e=x,ft.set(e)),536870912&t.$$.dirty[0]&&k){let e=document.createElement("style");e.innerHTML=k,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&$){let e=new URL($),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e,r,a},[S,C,_,M,s,r,o,G,L,a,l,c,E,P,h,n,I,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,N,R,w,p,g,f,y,b,v,x,k,$,T,m,()=>I("recent"),()=>I("top"),()=>N(),()=>R(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){gt[e?"unshift":"push"](()=>{r=e,i(5,r)})},function(e){gt[e?"unshift":"push"](()=>{c=e,i(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},li,si,d,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),f()}});const ci={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function ui(e,t,n){const r=e.slice();return r[47]=t[n],r[49]=n,r}function di(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v;function w(e){return e[5]?pi:gi}let x=w(n),S=x(n);return{c(){r=me("div"),a=me("div"),i=me("div"),o=me("div"),s=me("img"),c=ge(),u=me("div"),S.c(),d=ge(),h=me("div"),m=me("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(u,"class","displayContainer"),ce(m.src,p=n[11])||fe(m,"src",p),fe(m,"alt",""),fe(h,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),k(i,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),ue(o,s),ue(i,c),ue(i,u),S.m(u,null),ue(i,d),ue(i,h),ue(h,m),n[32](r),b||(v=X(a,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&S?S.p(e,t):(S.d(1),(S=x(e))&&(S.c(),S.m(u,null))),2048&t[0]&&!ce(m.src,p=e[11])&&fe(m,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&k(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),S.d(),n[32](null),b=!1,v()}}}function hi(e){let n,r,a=e[14]("jackpotBanners.loadingText")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","loadingPrompt")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16384&t[0]&&a!==(a=e[14]("jackpotBanners.loadingText")+"")&&ye(r,a)},d(e){e&&he(n)}}}function mi(e){let n;return{c(){(n=me("p")).textContent="500 Server error"},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function pi(e){let n,r,a,i,o,s,B,l,c,D,O,u,H,N,d,h,m,p,g,W,f,y,j,U,b,Y,z,v,w,x,S,C,_,V,k,$,Z,K,M,X,J,T,G,F,L,E,q,P,I,Q,ee,R,te,A=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ae=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=me("div"),r=me("div"),a=me("div"),i=me("img"),s=me("span"),B=pe(A),l=me("span"),c=me("span"),D=pe(ne),O=ge(),u=me("span"),H=pe(e[1]),N=ge(),d=me("div"),h=me("div"),m=me("img"),g=me("span"),W=pe(re),f=me("span"),y=me("span"),j=pe(ae),U=ge(),b=me("span"),Y=pe(e[1]),z=ge(),v=me("div"),w=me("div"),x=me("div"),S=me("img"),_=me("span"),V=pe(ie),k=me("span"),$=me("span"),Z=pe(oe),K=ge(),M=me("span"),X=pe(e[1]),J=ge(),T=me("div"),G=me("div"),F=me("img"),E=me("span"),q=pe(se),P=me("span"),I=me("span"),Q=pe(le),ee=ge(),R=me("span"),te=pe(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,o=e[9][0])||fe(i,"src",o),fe(i,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(u,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(m,"class","displayCardIcon"),ce(m.src,p=e[9][1])||fe(m,"src",p),fe(m,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(d,"class","displayCard"),fe(n,"class","pairWrapper"),fe(S,"class","displayCardIcon"),ce(S.src,C=e[9][2])||fe(S,"src",C),fe(S,"alt",""),fe(_,"class","cardLabel"),fe(x,"class","iconWrapper"),fe($,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(F,"class","displayCardIcon"),ce(F.src,L=e[9][3])||fe(F,"src",L),fe(F,"alt",""),fe(E,"class","cardLabel"),fe(G,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(T,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(a,i),ue(a,s),ue(s,B),ue(r,l),ue(l,c),ue(c,D),ue(l,O),ue(l,u),ue(u,H),ue(n,N),ue(n,d),ue(d,h),ue(h,m),ue(h,g),ue(g,W),ue(d,f),ue(f,y),ue(y,j),ue(f,U),ue(f,b),ue(b,Y),de(e,z,t),de(e,v,t),ue(v,w),ue(w,x),ue(x,S),ue(x,_),ue(_,V),ue(w,k),ue(k,$),ue($,Z),ue(k,K),ue(k,M),ue(M,X),ue(v,J),ue(v,T),ue(T,G),ue(G,F),ue(G,E),ue(E,q),ue(T,P),ue(P,I),ue(I,Q),ue(P,ee),ue(P,R),ue(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&A!==(A=e[8][0]+"")&&ye(B,A),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(H,e[1]),512&t[0]&&!ce(m.src,p=e[9][1])&&fe(m,"src",p),256&t[0]&&re!==(re=e[8][1]+"")&&ye(W,re),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(j,ae),2&t[0]&&ye(Y,e[1]),512&t[0]&&!ce(S.src,C=e[9][2])&&fe(S,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(X,e[1]),512&t[0]&&!ce(F.src,L=e[9][3])&&fe(F,"src",L),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(z),e&&he(v)}}}function gi(t){let a,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=fi(ui(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,a,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var r=ui(t,i,e);o[e]?o[e].p(r,n):(o[e]=fi(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){$(o,e),e&&he(a)}}}function fi(e){let n,r,a,i,o,s,l,c,u,d,h,m,p=e[8][e[49]]+"",g=(e[7][e[49]]??"")+"";return{c(){n=me("div"),r=me("div"),a=me("img"),o=me("span"),s=pe(p),l=me("span"),c=me("span"),u=pe(g),d=ge(),h=me("span"),m=pe(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,i=e[9][e[49]])||fe(a,"src",i),fe(a,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(r,o),ue(o,s),ue(n,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,m)},p(e,t){512&t[0]&&!ce(a.src,i=e[9][e[49]])&&fe(a,"src",i),256&t[0]&&p!==(p=e[8][e[49]]+"")&&ye(s,p),128&t[0]&&g!==(g=(e[7][e[49]]??"")+"")&&ye(u,g),2&t[0]&&ye(m,e[1])},d(e){e&&he(n)}}}function yi(e){let n;function r(e){return e[13]?mi:e[3]?hi:di}let a=r(e),i=a(e);return{c(){i.c(),n=l(),this.c=Z},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},i:Z,o:Z,d(e){i.d(e),e&&he(n)}}}function bi(n,e,r){let t;vt(n,Tr,e=>r(14,t=e));let a,i,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:u=""}=e,{caticon3:d=""}=e,{iconlabels:h=""}=e,{backgroundsrc:m=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{endpoint:w=""}=e,{gameid:x=""}=e,A=window.navigator.userAgent,S=!1,C=!1,_="",k=[],$=[],M=[],T=[],G=[],F="",L="",E=!1,P=!0,I=!1;Object.keys(ci).forEach(e=>{lr(e,ci[e])});const R=["typeSpread","typeLeft"],B=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href)};return n.$$set=e=>{"visualstructure"in e&&r(0,o=e.visualstructure),"title"in e&&r(16,s=e.title),"caticon0"in e&&r(17,l=e.caticon0),"caticon1"in e&&r(18,c=e.caticon1),"caticon2"in e&&r(19,u=e.caticon2),"caticon3"in e&&r(20,d=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,m=e.backgroundsrc),"currency"in e&&r(1,p=e.currency),"backgroundsrcmobile"in e&&r(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&r(24,f=e.titlelogopath),"lang"in e&&r(25,y=e.lang),"clientstyling"in e&&r(26,b=e.clientstyling),"clientstylingurl"in e&&r(27,v=e.clientstylingurl),"endpoint"in e&&r(28,w=e.endpoint),"gameid"in e&&r(29,x=e.gameid)},n.$$.update=()=>{if(268435456&n.$$.dirty[0]&&w&&(t=new URL(w+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(30,$=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&a&&b){let e=document.createElement("style");e.innerHTML=b,a.appendChild(e)}if(134217732&n.$$.dirty[0]&&a&&v){r(12,E=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,a&&(setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{r(12,E=!1)},500))})}if(1375731714&n.$$.dirty[0]&&w&&y&&p&&0<$.length&&(w&&y&&p)){let e=new URL(w+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",p),fetch(e.href).then(e=>e.json().then(e=>{r(3,P=!1),i=e,$.includes(x)&&((e=null==(e=null==(e=i)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>k.push(+e)),r(6,_=i.items[0].vendorLogo))}).catch(e=>{r(13,I=!0),r(3,P=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&p&&y&&!P&&(r(4,S=yt(A)&&1<window.innerHeight/window.innerWidth),r(5,C=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==k.length&&r(7,M=k.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,T=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),R.includes(o.trim())?r(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`),r(0,o=R[0])),r(10,F=g&&S&&!C?g:m),r(11,L=f),r(9,G=[l,c,u,d])),33554432&n.$$.dirty[0]&&y&&(e=y,ft.set(e))},[o,p,a,P,S,C,_,M,T,G,F,L,E,I,t,B,s,l,c,u,d,h,m,g,f,y,b,v,w,x,$,()=>B(),function(e){gt[e?"unshift":"push"](()=>{a=e,r(2,a)})}]}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends U{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},bi,yi,d,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),f()}});const vi={en:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},zh:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},de:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},it:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},fr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},es:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},el:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},tr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ru:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ro:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hu:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pt:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}}};function wi(e,t,n){const r=e.slice();return r[37]=t[n],r}function xi(e,t,n){const r=e.slice();return r[40]=t[n],r}function Si(n){let a,r,i,o,s,l,c,u,d,h,m,p,g,e,f,y,b=n[7]("Translations.game")+"",v=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=Mi(wi(n,w,e));return{c(){a=me("div"),r=me("div"),i=me("p"),o=pe(b),s=ge(),l=pe(v),c=ge(),u=me("div"),(d=me("button")).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>',h=ge(),(m=me("button")).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=ge(),g=me("div");for(let e=0;e<x.length;e+=1)x[e].c();fe(i,"class","Title"),fe(u,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(g,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){de(e,a,t),ue(a,r),ue(r,i),ue(i,o),ue(i,s),ue(i,l),ue(r,c),ue(r,u),ue(u,d),ue(u,h),ue(u,m),ue(a,p),ue(a,g);for(let e=0;e<x.length;e+=1)x[e].m(g,null);n[21](g),f||(y=[X(d,"click",n[17]),X(m,"click",n[18])],f=!0)},p(t,n){if(128&n[0]&&b!==(b=t[7]("Translations.game")+"")&&ye(o,b),129&n[0]&&v!==(v=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(l,v),3078&n[0]){let e;for(w=t[2],e=0;e<w.length;e+=1){var r=wi(t,w,e);x[e]?x[e].p(r,n):(x[e]=Mi(r),x[e].c(),x[e].m(g,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&he(a),$(x,e),n[21](null),f=!1,K(y)}}}function Ci(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function _i(e){let n,r,a=e[37].name+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","CategorySlideTitle")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){4&t[0]&&a!==(a=e[37].name+"")&&ye(r,a)},d(e){e&&he(n)}}}function ki(e){let n,r,a;return{c(){fe(n=me("img"),"class","CategorySlideLogo"),ce(n.src,r=e[37].icon)||fe(n,"src",r),fe(n,"alt",a=e[37].name+" icon")},m(e,t){de(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[37].icon)&&fe(n,"src",r),4&t[0]&&a!==(a=e[37].name+" icon")&&fe(n,"alt",a)},d(e){e&&he(n)}}}function $i(n){let r,a,i,o,s;function l(){return n[19](n[40])}return{c(){fe(r=me("img"),"class","CategorySlideGameImage"),ce(r.src,a=n[40].defaultThumbnail)||fe(r,"src",a),fe(r,"alt",i=n[40].name)},m(e,t){var n;de(e,r,t),o||(s=X(r,"click",(n=l,function(e){return e.stopPropagation(),n.call(this,e)})),o=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,a=n[40].defaultThumbnail)&&fe(r,"src",a),4&t[0]&&i!==(i=n[40].name)&&fe(r,"alt",i)},d(e){e&&he(r),o=!1,s()}}}function Mi(n){let r,a,i,o,s,l,c,u,d;function h(e){return"logo"==e[1]?ki:"title"==e[1]?_i:void 0}let m=h(n),p=m&&m(n),g=n[37].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=$i(xi(n,g,e));function y(){return n[20](n[37])}return{c(){r=me("div"),a=me("div"),i=me("div"),p&&p.c(),o=ge(),s=me("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":"")),k(a,"background-image","url("+n[37]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),p&&p.m(i,null),ue(a,o),ue(a,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);ue(r,c),u||(d=X(a,"click",y),u=!0)},p(e,t){if(m===(m=h(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=m&&m(n))&&(p.c(),p.m(i,null))),1028&t[0]){let e;for(g=n[37].games,e=0;e<g.length;e+=1){const a=xi(n,g,e);f[e]?f[e].p(a,t):(f[e]=$i(a),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}4&t[0]&&l!==(l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),4&t[0]&&k(a,"background-image","url("+n[37]?.background+")")},d(e){e&&he(r),p&&p.d(),$(f,e),u=!1,d()}}}function Ti(n){let r;function a(e){return e[4]?Ci:Si}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[22](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[22](null)}}}function Gi(n,e,r){let t;vt(n,Tr,e=>r(7,t=e));let a,i,o,s,l,{endpoint:c=""}=e,{datasource:u=""}=e,{lang:d=""}=e,{type:h=""}=e,{titletype:m=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,f=[],y=!0,b=0,v=0,w=0,x=window.navigator.userAgent;Object.keys(vi).forEach(e=>{lr(e,vi[e])});const S=n=>{(o=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),w=Math.round(a.offsetWidth/i)},C=()=>{S(b)},_=()=>{w>=v||(0===b?b=v-w:b-w<-1?b=0:b--,C())},k=()=>{w>=v||(b===v-w?b=0:v-w<b+1?b=v-w:b++,C())},$=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return wt(()=>{r(6,l=yt(x))}),n.$$set=e=>{"endpoint"in e&&r(12,c=e.endpoint),"datasource"in e&&r(13,u=e.datasource),"lang"in e&&r(14,d=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,m=e.titletype),"clientstyling"in e&&r(15,p=e.clientstyling),"clientstylingurl"in e&&r(16,g=e.clientstylingurl)},n.$$.update=()=>{if(28672&n.$$.dirty[0]&&c&&u&&d){const t=new URL(c+"/v2/casino/groups/"+u);t.searchParams.append("language",d),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(4,y=!1);let t=e.items.filter(e=>e.flags==h);r(2,f=t.map(e=>({id:e.id,name:e.name,icon:e.icon,games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}))),v=f.length})}if(12&n.$$.dirty[0]&&f&&a&&S(),16384&n.$$.dirty[0]&&d&&(e=d,ft.set(e)),32768&n.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)}if(65536&n.$$.dirty[0]&&g){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,s&&(setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[h,m,f,a,y,s,l,t,_,k,$,M,c,u,d,p,g,()=>_(),()=>k(),e=>$(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){gt[e?"unshift":"push"](()=>{a=e,r(3,a)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(5,s)})}]}function Fi(e,t,n){const r=e.slice();return r[164]=t[n],r[166]=n,r}function Li(n){let r,a,i,o,s,l="PC"!==bt(n[73])&&"false"===n[10]&&n[69],c=l&&Pi();function u(e){return"false"===e[10]?Ri:Ii}let d=u(n),h=d(n),m="true"==n[15]&&0==n[57]&&Ki(n);function p(e){return e[47]?to:e[55]?eo:e[58]?Qi:e[53]?qi:e[59]?Ji:e[54]?void 0:Xi}let g=p(n),f=g&&g(n),y=n[49]&&"true"==n[13]&&mo(n);return{c(){r=me("section"),c&&c.c(),a=ge(),h.c(),i=ge(),m&&m.c(),o=ge(),f&&f.c(),s=ge(),y&&y.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),k(r,"max-width",n[12]+"px")},m(e,t){de(e,r,t),c&&c.m(r,null),ue(r,a),h.m(r,null),ue(r,i),m&&m.m(r,null),ue(r,o),f&&f.m(r,null),ue(r,s),y&&y.m(r,null),n[105](r)},p(e,t){(l=1024&t[0]|128&t[2]?"PC"!==bt(e[73])&&"false"===e[10]&&e[69]:l)?c||((c=Pi()).c(),c.m(r,a)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,i))),"true"==e[15]&&0==e[57]?m?m.p(e,t):((m=Ki(e)).c(),m.m(r,o)):m&&(m.d(1),m=null),g===(g=p(e))&&f?f.p(e,t):(f&&f.d(1),(f=g&&g(e))&&(f.c(),f.m(r,s))),e[49]&&"true"==e[13]?y?y.p(e,t):((y=mo(e)).c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&k(r,"max-width",e[12]+"px")},d(e){e&&he(r),c&&c.d(),h.d(),m&&m.d(),f&&f.d(),y&&y.d(),n[105](null)}}}function Ei(e){let n,r,a=e[72]("casinoPage.500")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1024&t[2]&&a!==(a=e[72]("casinoPage.500")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Pi(){let n;return{c(){fe(n=me("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ii(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),S=!n[69]&&Ai(),C=x&&Bi(n),_=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[57]&&!n[55]&&!n[56]&&Di(n);return{c(){r=me("div"),a=me("div"),i=me("label"),o=pe(w),s=ge(),l=me("div"),S&&S.c(),c=ge(),u=me("input"),h=ge(),C&&C.c(),g=ge(),_&&_.c(),fe(i,"for","search"),fe(i,"class","SrOnly"),fe(i,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(a,"class",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(a,"part",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!go?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!go?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),k(r,"top",n[63]&&n[69]?fo+"px":"")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),ue(a,s),ue(a,l),S&&S.m(l,null),ue(l,c),ue(l,u),n[98](u),L(u,n[45]),ue(l,h),C&&C.m(l,null),ue(r,g),_&&_.m(r,null),n[103](r),b||(v=[X(u,"focus",n[75]),X(u,"blur",n[76]),X(u,"input",n[99]),X(u,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?S&&(S.d(1),S=null):S||((S=Ai()).c(),S.m(l,c)),1024&t[2]&&d!==(d="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),16384&t[1]&&L(u,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?C?C.p(e,t):((C=Bi(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(a,"class",m),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(a,"part",p),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[57]||e[55]||e[56]?_&&(_.d(1),_=null):_?_.p(e,t):((_=Di(e)).c(),_.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!go?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!go?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y),130&t[2]&&k(r,"top",e[63]&&e[69]?fo+"px":"")},d(e){e&&he(r),S&&S.d(),n[98](null),C&&C.d(),_&&_.d(),n[103](null),b=!1,K(v)}}}function Ri(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),S=!n[69]&&ji(),C=x&&Ui(n),_=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[55]&&!n[57]&&!n[56]&&Yi(n);return{c(){r=me("div"),a=me("div"),i=me("label"),o=pe(w),s=ge(),l=me("div"),S&&S.c(),c=ge(),u=me("input"),h=ge(),C&&C.c(),g=ge(),_&&_.c(),fe(i,"for","search"),fe(i,"class","SrOnly"),fe(i,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(a,"class",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(a,"part",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!go?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":"")),k(r,"top",n[63]&&n[69]?fo+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!go?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),ue(a,s),ue(a,l),S&&S.m(l,null),ue(l,c),ue(l,u),n[92](u),L(u,n[45]),ue(l,h),C&&C.m(l,null),ue(r,g),_&&_.m(r,null),n[97](r),b||(v=[X(u,"focus",n[75]),X(u,"blur",n[76]),X(u,"input",n[93]),X(u,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?S&&(S.d(1),S=null):S||((S=ji()).c(),S.m(l,c)),1024&t[2]&&d!==(d="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),16384&t[1]&&L(u,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?C?C.p(e,t):((C=Ui(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(a,"class",m),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(a,"part",p),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[55]||e[57]||e[56]?_&&(_.d(1),_=null):_?_.p(e,t):((_=Yi(e)).c(),_.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!go?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),130&t[2]&&k(r,"top",e[63]&&e[69]?fo+"px":""),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!go?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),S&&S.d(),n[92](null),C&&C.d(),_&&_.d(),n[97](null),b=!1,K(v)}}}function Ai(){let n;return{c(){(n=me("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Bi(n){let r,a,i,o;return{c(){r=me("span"),(a=me("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(a,"class","CloseIconContainer"),fe(a,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,a),i||(o=X(r,"click",n[100]),i=!0)},p:Z,d(e){e&&he(r),i=!1,o()}}}function Di(e){let n,r,a=e[70]&&Oi(e),i=(!e[55]||!e[54])&&Hi(e);return{c(){n=me("div"),a&&a.c(),r=ge(),i&&i.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),a&&a.m(n,null),ue(n,r),i&&i.m(n,null)},p(e,t){e[70]?a?a.p(e,t):((a=Oi(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),e[55]&&e[54]?i&&(i.d(1),i=null):i?i.p(e,t):((i=Hi(e)).c(),i.m(n,null))},d(e){e&&he(n),a&&a.d(),i&&i.d()}}}function Oi(n){let r,a,i,o,s,l,c,u,d,h=n[72]("casinoPage.clear")+"";return{c(){r=me("div"),a=me("div"),i=pe(h),o=ge(),(s=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,o),ue(a,s),u||(d=X(r,"click",n[101]),u=!0)},p(e,t){1024&t[2]&&h!==(h=e[72]("casinoPage.clear")+"")&&ye(i,h),256&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"class",l),256&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),u=!1,d()}}}function Hi(e){let n,r=!e[59]&&Ni(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[59]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Ni(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Ni(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f=n[72]("casinoPage.filters")+"",y=0<n[70]&&Wi(n);return{c(){r=me("div"),a=me("div"),i=pe(f),o=ge(),s=me("div"),l=M("svg"),c=M("defs"),u=M("style"),d=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),m=ge(),y&&y.c(),fe(a,"class","FilterButton"),fe(a,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,m),y&&y.m(s,null),p||(g=X(r,"click",n[102]),p=!0)},p(e,t){1024&t[2]&&f!==(f=e[72]("casinoPage.filters")+"")&&ye(i,f),0<e[70]?y?y.p(e,t):((y=Wi(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),p=!1,g()}}}function Wi(e){let n,r,a;return{c(){n=me("div"),r=me("span"),a=pe(e[70]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){de(e,n,t),ue(n,r),ue(r,a)},p(e,t){256&t[2]&&ye(a,e[70])},d(e){e&&he(n)}}}function ji(){let n;return{c(){(n=me("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ui(n){let r,a,i,o;return{c(){r=me("span"),(a=me("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(a,"class","CloseIconContainer"),fe(a,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,a),i||(o=X(r,"click",n[94]),i=!0)},p:Z,d(e){e&&he(r),i=!1,o()}}}function Yi(e){let n,r,a=e[70]&&zi(e),i=(!e[55]||!e[54])&&Vi(e);return{c(){n=me("div"),a&&a.c(),r=ge(),i&&i.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),a&&a.m(n,null),ue(n,r),i&&i.m(n,null)},p(e,t){e[70]?a?a.p(e,t):((a=zi(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),e[55]&&e[54]?i&&(i.d(1),i=null):i?i.p(e,t):((i=Vi(e)).c(),i.m(n,null))},d(e){e&&he(n),a&&a.d(),i&&i.d()}}}function zi(n){let r,a,i,o,s,l,c,u=n[72]("casinoPage.clear")+"";return{c(){r=me("div"),a=me("div"),i=pe(u),o=ge(),(s=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,o),ue(a,s),l||(c=X(r,"click",n[95]),l=!0)},p(e,t){1024&t[2]&&u!==(u=e[72]("casinoPage.clear")+"")&&ye(i,u)},d(e){e&&he(r),l=!1,c()}}}function Vi(e){let n,r=(!e[59]||!e[61])&&Zi(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[59]&&e[61]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Zi(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Zi(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v=n[72]("casinoPage.filters")+"";return{c(){r=me("div"),a=me("div"),i=pe(v),o=ge(),s=me("div"),l=M("svg"),c=M("defs"),u=M("style"),d=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),m=ge(),p=me("div"),g=me("span"),f=pe(n[70]),fe(a,"class","FilterButton"),fe(a,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(p,"class","NumberOfFiltersContainer"),fe(p,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,m),ue(s,p),ue(p,g),ue(g,f),y||(b=X(r,"click",n[96]),y=!0)},p(e,t){1024&t[2]&&v!==(v=e[72]("casinoPage.filters")+"")&&ye(i,v),256&t[2]&&ye(f,e[70])},d(e){e&&he(r),y=!1,b()}}}function Ki(e){let n;return{c(){w(n=me("casino-random-game"),"datasource",e[1]),w(n,"endpoint",e[0]),w(n,"lang",e[3]),w(n,"gameevent",e[46]),w(n,"randombuttonicon",e[43])},m(e,t){de(e,n,t)},p(e,t){2&t[0]&&w(n,"datasource",e[1]),1&t[0]&&w(n,"endpoint",e[0]),8&t[0]&&w(n,"lang",e[3]),32768&t[1]&&w(n,"gameevent",e[46]),4096&t[1]&&w(n,"randombuttonicon",e[43])},d(e){e&&he(n)}}}function Xi(e){let n;return{c(){w(n=me("casino-games-category-section"),"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[11]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[66]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){de(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),2048&t[0]&&w(n,"favorites",e[11]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),16&t[2]&&w(n,"categoryid",e[66]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Ji(e){let n;function r(e){return e[60]?ao:e[61]?ro:no}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function qi(n){let r,a,i,o;return{c(){w(r=me("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[11]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){de(e,r,t),i||(o=F(a=n[74].call(null,r,(n[0],n[50],n[51],n[50]))),i=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),a&&T(a.update)&&1&t[0]|1572864&t[1]&&a.update.call(null,(e[0],e[50],e[51],e[50]))},d(e){e&&he(r),i=!1,o()}}}function Qi(t){let a,i=t[65],o=[];for(let e=0;e<i.length;e+=1)o[e]=ho(Fi(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,a,n)},p(t,n){if(2147437567&n[0]|4095&n[1]|8&n[2]){let e;for(i=t[65],e=0;e<i.length;e+=1){var r=Fi(t,i,e);o[e]?o[e].p(r,n):(o[e]=ho(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){$(o,e),e&&he(a)}}}function eo(n){let r,a,i,o;return{c(){w(r=me("casino-games-category-section"),"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[11]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17]),w(r,"enableautoscroll",n[19]),w(r,"tabsorder",n[18]),w(r,"isrecentavailable",n[21]),w(r,"istopavailable",n[20]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){de(e,r,t),i||(o=F(a=n[82].call(null,r,n[64])),i=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),524288&t[0]&&w(r,"enableautoscroll",e[19]),262144&t[0]&&w(r,"tabsorder",e[18]),2097152&t[0]&&w(r,"isrecentavailable",e[21]),1048576&t[0]&&w(r,"istopavailable",e[20]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),a&&T(a.update)&&4&t[2]&&a.update.call(null,e[64])},d(e){e&&he(r),i=!1,o()}}}function to(e){let n,r,a=e[72]("casinoPage.loading")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1024&t[2]&&a!==(a=e[72]("casinoPage.loading")+"")&&ye(r,a)},d(e){e&&he(n)}}}function no(e){let n;return{c(){w(n=me("casino-games-category-section"),"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[11]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){de(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),2048&t[0]&&w(n,"favorites",e[11]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function ro(e){let n,r=e[62]&&io(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[62]?r?r.p(e,t):((r=io(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ao(e){let n,r,a=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1024&t[2]&&a!==(a=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,a)},d(e){e&&he(n)}}}function io(e){let n,r,a=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1024&t[2]&&a!==(a=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,a)},d(e){e&&he(n)}}}function oo(e){let n,r;return{c(){n=me("div"),w(r=me("casino-winners"),"session",e[4]),w(r,"periodrecent",e[24]),w(r,"periodtop",e[25]),w(r,"numberusersrecent",e[26]),w(r,"numberuserstop",e[27]),w(r,"amountlimit",e[28]),w(r,"isrecentavailable",e[21]),w(r,"istopavailable",e[20]),w(r,"defaultcurrency",e[29]),w(r,"enableautoscroll",e[19]),w(r,"tabsorder",e[18]),w(r,"lang",e[3]),w(r,"clientstyling",e[6]),w(r,"clientstylingurl",e[7]),w(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[0]&&w(r,"session",e[4]),16777216&t[0]&&w(r,"periodrecent",e[24]),33554432&t[0]&&w(r,"periodtop",e[25]),67108864&t[0]&&w(r,"numberusersrecent",e[26]),134217728&t[0]&&w(r,"numberuserstop",e[27]),268435456&t[0]&&w(r,"amountlimit",e[28]),2097152&t[0]&&w(r,"isrecentavailable",e[21]),1048576&t[0]&&w(r,"istopavailable",e[20]),536870912&t[0]&&w(r,"defaultcurrency",e[29]),524288&t[0]&&w(r,"enableautoscroll",e[19]),262144&t[0]&&w(r,"tabsorder",e[18]),8&t[0]&&w(r,"lang",e[3]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),1&t[0]&&w(r,"endpoint",e[0])},d(e){e&&he(n)}}}function so(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),w(a=me("jackpot-banner"),"title","Jackpot Cards"),w(a,"currency",i=e[2]||"RON"),w(a,"gameid","998"),w(a,"endpoint",e[0]),w(a,"lang",e[3]),w(a,"backgroundsrc","/assets/background0.jpg"),w(a,"backgroundsrcmobile","/assets/background0.jpg"),w(a,"titlelogopath","/assets/jackpots_logo.svg"),w(a,"caticon0","/assets/icon0.svg"),w(a,"caticon1","/assets/icon1.svg"),w(a,"caticon2","/assets/icon2.svg"),w(a,"caticon3","/assets/icon3.svg"),w(a,"iconlabels",e[38]),w(a,"visualstructure","typeSpread")},m(e,t){de(e,n,t),de(e,r,t),de(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&w(a,"currency",i),1&t[0]&&w(a,"endpoint",e[0]),8&t[0]&&w(a,"lang",e[3]),128&t[1]&&w(a,"iconlabels",e[38])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function lo(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),w(a=me("jackpot-banner"),"title","Egypt Quest"),w(a,"currency",i=e[2]||"RON"),w(a,"gameid","999"),w(a,"endpoint",e[0]),w(a,"lang",e[3]),w(a,"backgroundsrc",e[35]),w(a,"backgroundsrcmobile",e[36]),w(a,"titlelogopath",e[37]),w(a,"caticon0",e[31]),w(a,"caticon1",e[32]),w(a,"caticon2",e[33]),w(a,"caticon3",e[34]),w(a,"iconlabels",e[38]),w(a,"visualstructure",e[39])},m(e,t){de(e,n,t),de(e,r,t),de(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&w(a,"currency",i),1&t[0]&&w(a,"endpoint",e[0]),8&t[0]&&w(a,"lang",e[3]),16&t[1]&&w(a,"backgroundsrc",e[35]),32&t[1]&&w(a,"backgroundsrcmobile",e[36]),64&t[1]&&w(a,"titlelogopath",e[37]),1&t[1]&&w(a,"caticon0",e[31]),2&t[1]&&w(a,"caticon1",e[32]),4&t[1]&&w(a,"caticon2",e[33]),8&t[1]&&w(a,"caticon3",e[34]),128&t[1]&&w(a,"iconlabels",e[38]),256&t[1]&&w(a,"visualstructure",e[39])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function co(e){let n,r;return{c(){w(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type","vendor"),w(n,"titletype","logo"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){de(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function uo(e){let n,r;return{c(){w(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type",e[41]),w(n,"titletype",e[42]),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){de(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),1024&t[1]&&w(n,"type",e[41]),2048&t[1]&&w(n,"titletype",e[42]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function ho(n){let r,a,i,o,s,e,l,c,u,d="true"===n[17]&&1===n[166]&&oo(n);function h(e){return 4===e[166]&&"true"==e[30]?lo:6===e[166]&&"true"==e[30]?so:void 0}let m=h(n),p=m&&m(n);function g(e){return 7==e[166]&&"true"==e[40]?uo:e[166]==e[65].length-1&&"true"==e[40]?co:void 0}let f=g(n),y=f&&f(n);return{c(){d&&d.c(),r=ge(),p&&p.c(),a=ge(),y&&y.c(),i=ge(),w(o=me("casino-games-category-section"),"session",n[4]),w(o,"userid",n[5]),w(o,"endpoint",n[0]),w(o,"datasource",n[1]),w(o,"lang",n[3]),w(o,"currency",n[2]),w(o,"categoryid",s=n[164]),w(o,"categoryindex",e=n[166]),w(o,"categorygames","9"),w(o,"favorites",n[11]),w(o,"class","CategoryContainer"),k(o,"background-color",n[166]%2!=0?n[8]:"transparent"),w(o,"clientstyling",n[6]),w(o,"clientstylingurl",n[7]),w(o,"livecasino",n[14]),w(o,"visiblegames",n[9]),w(o,"gamepagemodalurl",n[16]),w(o,"enablecasinowinners",n[17]),w(o,"integratedgameframedesktop",n[22]),w(o,"integratedgameframemobile",n[23])},m(e,t){d&&d.m(e,t),de(e,r,t),p&&p.m(e,t),de(e,a,t),y&&y.m(e,t),de(e,i,t),de(e,o,t),c||(u=F(l=n[81].call(null,o,n[164])),c=!0)},p(e,t){"true"===(n=e)[17]&&1===n[166]?d?d.p(n,t):((d=oo(n)).c(),d.m(r.parentNode,r)):d&&(d.d(1),d=null),m===(m=h(n))&&p?p.p(n,t):(p&&p.d(1),(p=m&&m(n))&&(p.c(),p.m(a.parentNode,a))),f===(f=g(n))&&y?y.p(n,t):(y&&y.d(1),(y=f&&f(n))&&(y.c(),y.m(i.parentNode,i))),16&t[0]&&w(o,"session",n[4]),32&t[0]&&w(o,"userid",n[5]),1&t[0]&&w(o,"endpoint",n[0]),2&t[0]&&w(o,"datasource",n[1]),8&t[0]&&w(o,"lang",n[3]),4&t[0]&&w(o,"currency",n[2]),8&t[2]&&s!==(s=n[164])&&w(o,"categoryid",s),2048&t[0]&&w(o,"favorites",n[11]),256&t[0]&&k(o,"background-color",n[166]%2!=0?n[8]:"transparent"),64&t[0]&&w(o,"clientstyling",n[6]),128&t[0]&&w(o,"clientstylingurl",n[7]),16384&t[0]&&w(o,"livecasino",n[14]),512&t[0]&&w(o,"visiblegames",n[9]),65536&t[0]&&w(o,"gamepagemodalurl",n[16]),131072&t[0]&&w(o,"enablecasinowinners",n[17]),4194304&t[0]&&w(o,"integratedgameframedesktop",n[22]),8388608&t[0]&&w(o,"integratedgameframemobile",n[23]),l&&T(l.update)&&8&t[2]&&l.update.call(null,n[164])},d(e){d&&d.d(e),e&&he(r),p&&p.d(e),e&&he(a),y&&y.d(e),e&&he(i),e&&he(o),c=!1,u()}}}function mo(n){let r,a,i,e,t,o,s,l=n[72]("casinoPage.breakButton")+"";return{c(){r=me("div"),a=me("button"),i=pe(l),fe(a,"class",e="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile ":"")),fe(a,"part",t="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile":"")),m(a,"PanicButtonAnimation",n[52]),fe(r,"class",o="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),n[104](a)},p(e,t){1024&t[2]&&l!==(l=e[72]("casinoPage.breakButton")+"")&&ye(i,l),2097152&t[1]&&m(a,"PanicButtonAnimation",e[52])},d(e){e&&he(r),n[104](null)}}}function po(e){let n;function r(e){return e[48]?Ei:Li}let a=r(e),i=a(e);return{c(){i.c(),n=l(),this.c=Z},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},i:Z,o:Z,d(e){i.d(e),e&&he(n)}}}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-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}.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{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.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:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Gi,Ti,d,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});let go=!1;const fo=0;function yo(e,t,c){let a;vt(e,Tr,e=>c(72,a=e));let B,{endpoint:u=""}=t,{datasource:i=""}=t,{currency:D=""}=t,{lang:o=""}=t,{session:s=""}=t,{userid:n=""}=t,{clientstyling:l=""}=t,{clientstylingurl:d=""}=t,{categorybackground:O=""}=t,H=t["visiblegames"],{alternativesearch:N="false"}=t,{favorites:h=""}=t,{mostplayed:W=""}=t,{lastplayed:j=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:m="casinodefault"}=t,{haspanicbutton:Y="false"}=t,{mostplayedrounds:z=""}=t,{lastplayedperiod:V=""}=t,{filteredcategories:Z=""}=t,{activecategory:K=""}=t,{livecasino:X="false"}=t,{playrandomgame:J="false"}=t,{gamepagemodalurl:q="false"}=t,{enablecasinowinners:Q=""}=t,{tabsorder:ee=""}=t,{enableautoscroll:te=""}=t,{istopavailable:ne=""}=t,{isrecentavailable:re=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:ie="false"}=t,{periodrecent:oe=""}=t,{periodtop:se=""}=t,{numberusersrecent:le=""}=t,{numberuserstop:ce=""}=t,{amountlimit:ue=""}=t,{defaultcurrency:de=""}=t,{enablejackpotbanner:he=""}=t,{caticon0:me=""}=t,{caticon1:pe=""}=t,{caticon2:ge=""}=t,{caticon3:fe=""}=t,{backgroundsrc:ye=""}=t,{backgroundsrcmobile:be=""}=t,{titlelogopath:ve=""}=t,{iconlabels:we=""}=t,{visualstructure:xe=""}=t,{enablecollections:Se=""}=t,{type:Ce=""}=t,{titletype:_e=""}=t,{randombuttonicon:ke=""}=t,p=window.navigator.userAgent;B=yt(p)?"OpenGameFrame":"ShowGameModal";let g,f,y,$e,b,v,w,Me,Te,Ge,r,x,S,Fe,C=!1,_=!1,Le=!1,k="",Ee=!1,Pe=0,$=!1,Ie=!1,Re=!0,Ae=!1,Be=!1,De=!1,Oe=!1,M=!0,T=!1,He=!1,G=!1,Ne=!1,We=!1,F=!0,je=[],L="",Ue={},Ye,ze,Ve,E=[],Ze=!1,P=[],Ke=0,I="",Xe=!1;var Je,qe;({withLocale:Je,translations:qe}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(or.set(qe),ft.set(Je))}),Object.keys(Gr).forEach(e=>{lr(e,Gr[e])});const Qe=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(51,f=n.data.session),c(50,g=n.data.userID),g&&g.length&&f&&0<f.length&&R(u,f,g);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":o=`${u}/player/${g}/favorites`,s=f,g,l=n.data.id,n.data.triggerFactor,E.includes(l)&&(E=E.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),et(o,s)});break;case"SetFavoredGame":{var r=`${u}/player/${g}/favorites`;var a=f;g;var i=n.data.id;n.data.triggerFactor;E.includes(i)||E.push(i);let e={items:E},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),et(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":g&&g.length&&f&&0<f.length&&R(u,f,g);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(P=(P=rt(`searchedGamesWds_${m}`))?P.split(","):[]).indexOf(t)){let e;P.push(t),e=P.join(","),document.cookie=`searchedGamesWds_${m}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),A();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),A();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:I},window.location.href),A();break;case"CategoryVendors":I=n.data.categoryid,A();break;case"GameHovered":Be=!0;break;case"GameBlur":Be=!1}var e,o,s,l};let R=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),tt(r.items)),r)).then(e=>($&&nt(),e)).catch(e=>{console.error(e)})},et=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,$&&nt(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const tt=(e=[])=>(E=[],0<e.length&&e.forEach(e=>{E.push(e.id)}),E);const nt=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},rt=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},at=()=>{if(u&&i&&o&&(c(57,Oe=!0),L.length<2)){let e=rt("searchedGamesWds_"+m),t=[],n=(e&&(t=e.split(",")),1!=M||Re||(c(56,De=M),c(58,M=!1)),[]),r=0,a=t.length;if(0<a){for(r=0;r<a;r++){let e=new URL(u+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",i),e.searchParams.append("platform",bt(p)),n.push(((e,r)=>new Promise((t,n)=>{c(47,C=!0),r&&0<=Object.keys(Ue).indexOf(r)?(c(47,C=!1),t(Ue[r])):fetch(e).then(e=>e.json()).then(e=>{c(47,C=!1),Ue[e[0].id]=e[0],t(e[0])}).catch(e=>{c(48,_=!0),c(47,C=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(64,b=e),st(0,b)})}else st(0,{})}},it=()=>{c(57,Oe=!1),L.length<2&&!Be&&(c(55,Ae=!1),c(64,b=[]),c(54,Ie=!1),c(58,M=De),c(56,De=!1),!1===M&&window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},A=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&I&&(e[I]?c(70,Ke=e[I].length):c(70,Ke=0))},ot=()=>{c(91,F=!0),c(45,L=""),c(64,b=[]),c(54,Ie=!1),it()},st=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},lt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},ct=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},ut=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},dt=()=>{Me&&(Te=Me.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>Te||130<Te?c(63,We=!0):c(63,We=!1)},ht=()=>{c(66,v=K);var a,e={data:{itemId:v}};switch(c(55,Ae=!1),c(45,L=""),Ye=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(58,M=!0),c(53,$=!1),c(66,v=""),c(59,T=!1),c(61,G=!1);break;case"FAVORITES":c(58,M=!1),c(53,$=!0),c(59,T=!1),c(61,G=!1),c(66,v="");break;case"MOSTPLAYED":"true"==W&&(c(47,C=!0),(e=>{let t=new URL(`${u}/player/${g}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),Fe=X?t:t.href,new Promise((t,n)=>{fetch(Fe).then(e=>e.json()).then(e=>{t(e)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:bt(p),rounds:10}).then(e=>{if(c(47,C=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(u+"/casino/games/"+e.gameId);t.searchParams.append("datasource",i),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{ze=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:ze},window.location.href)})}else c(60,He=!0)}),c(66,v=""),c(58,M=!1),c(53,$=!1),c(59,T=!0));break;case"LASTPLAYED":"true"==j&&(c(47,C=!0),a={device:bt(p),period:V||"Last30Days"},new Promise((t,n)=>{let e=new URL(`${u}/player/${g}/games/last-played`);a.limit&&e.searchParams.append("limit",a.limit),a.order&&e.searchParams.append("order",a.order);var r=a.device;r?"PC"===r?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),a.period&&e.searchParams.append("period",a.period),Fe=X?e:e.href,fetch(Fe).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})}).then(e=>{if(c(47,C=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(u+"/casino/games/"+e.gameId);t.searchParams.append("datasource",i),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Ve=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:Ve},window.location.href)})}else c(62,Ne=!0)}),c(66,v=""),c(58,M=!1),c(61,G=!0),c(53,$=!1),c(59,T=!1));break;default:c(58,M=!1),c(53,$=!1),c(59,T=!1),c(61,G=!1),c(66,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},mt=e=>{Pe=0,$e=setInterval(()=>{Pe+=1,c(52,Ee=!0),3<=Pe&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval($e))},1e3)},pt=e=>{Pe<3&&c(52,Ee=!1),clearInterval($e)};return wt(()=>(window.addEventListener("scroll",dt,!1),window.addEventListener("message",Qe,!1),()=>{window.removeEventListener("scroll",dt),window.removeEventListener("message",Qe),c(52,Ee=!1),null!=y&&y.removeEventListener("mousedown",mt),null!=y&&y.removeEventListener("touchstart",mt),null!=y&&y.removeEventListener("mouseup",pt),null!=y&&y.removeEventListener("touchend",pt)})),e.$$set=e=>{"endpoint"in e&&c(0,u=e.endpoint),"datasource"in e&&c(1,i=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,n=e.userid),"clientstyling"in e&&c(6,l=e.clientstyling),"clientstylingurl"in e&&c(7,d=e.clientstylingurl),"categorybackground"in e&&c(8,O=e.categorybackground),"visiblegames"in e&&c(9,H=e.visiblegames),"alternativesearch"in e&&c(10,N=e.alternativesearch),"favorites"in e&&c(11,h=e.favorites),"mostplayed"in e&&c(83,W=e.mostplayed),"lastplayed"in e&&c(84,j=e.lastplayed),"containermaxwidth"in e&&c(12,U=e.containermaxwidth),"lobbyid"in e&&c(85,m=e.lobbyid),"haspanicbutton"in e&&c(13,Y=e.haspanicbutton),"mostplayedrounds"in e&&c(86,z=e.mostplayedrounds),"lastplayedperiod"in e&&c(87,V=e.lastplayedperiod),"filteredcategories"in e&&c(88,Z=e.filteredcategories),"activecategory"in e&&c(89,K=e.activecategory),"livecasino"in e&&c(14,X=e.livecasino),"playrandomgame"in e&&c(15,J=e.playrandomgame),"gamepagemodalurl"in e&&c(16,q=e.gamepagemodalurl),"enablecasinowinners"in e&&c(17,Q=e.enablecasinowinners),"tabsorder"in e&&c(18,ee=e.tabsorder),"enableautoscroll"in e&&c(19,te=e.enableautoscroll),"istopavailable"in e&&c(20,ne=e.istopavailable),"isrecentavailable"in e&&c(21,re=e.isrecentavailable),"integratedgameframedesktop"in e&&c(22,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(23,ie=e.integratedgameframemobile),"periodrecent"in e&&c(24,oe=e.periodrecent),"periodtop"in e&&c(25,se=e.periodtop),"numberusersrecent"in e&&c(26,le=e.numberusersrecent),"numberuserstop"in e&&c(27,ce=e.numberuserstop),"amountlimit"in e&&c(28,ue=e.amountlimit),"defaultcurrency"in e&&c(29,de=e.defaultcurrency),"enablejackpotbanner"in e&&c(30,he=e.enablejackpotbanner),"caticon0"in e&&c(31,me=e.caticon0),"caticon1"in e&&c(32,pe=e.caticon1),"caticon2"in e&&c(33,ge=e.caticon2),"caticon3"in e&&c(34,fe=e.caticon3),"backgroundsrc"in e&&c(35,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&c(36,be=e.backgroundsrcmobile),"titlelogopath"in e&&c(37,ve=e.titlelogopath),"iconlabels"in e&&c(38,we=e.iconlabels),"visualstructure"in e&&c(39,xe=e.visualstructure),"enablecollections"in e&&c(40,Se=e.enablecollections),"type"in e&&c(41,Ce=e.type),"titletype"in e&&c(42,_e=e.titletype),"randombuttonicon"in e&&c(43,ke=e.randombuttonicon)},e.$$.update=()=>{if(16384&e.$$.dirty[1]&&L&&(2<=L.length?c(91,F=!0):c(91,F=!1)),11&e.$$.dirty[0]|16384&e.$$.dirty[1]|805306368&e.$$.dirty[2])if(2<=L.length){c(55,Ae=!0);let e=new URL(u+"/casino/games");e.searchParams.append("datasource",i),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",bt(p)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+L),r=e,new Promise((t,n)=>{c(47,C=!0),fetch(r).then(e=>e.json()).then(e=>{c(47,C=!1),t(e)}).catch(e=>{c(48,_=!0),c(47,C=!1),console.error(e),n(e)})}).then(e=>{c(64,b=e),ut(0,e)})}else F||at(),Re&&c(90,Re=!1);var r,a,t;if((8&e.$$.dirty[0]|134217728&e.$$.dirty[2]&&o&&K&&ht(),49&e.$$.dirty[0]&&s&&n&&u&&(c(49,Le=!0),c(51,f=s),c(50,g=n),g&&g.length&&f&&0<f.length&&R(u,f,g)),1035&e.$$.dirty[0]&&u&&i&&o&&N)&&(u||(k="Endpoint is missing! Please provide a valid endpointURL.",c(48,_=!0),c(47,C=!1),console.error(k)),i||(k="Datasource is missing! Please provide a valid datasource.",c(48,_=!0),c(47,C=!1),console.error(k)),(!o||o.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",c(48,_=!0),c(47,C=!1),console.error(k)),!_)){c(47,C=!0),"true"==h&&R(u,f,g),t=o,ft.set(t);let e=new URL(u+"/casino/groups/"+i);e.searchParams.append("language",o),e.searchParams.append("platform",bt(p)),a=e,new Promise((t,n)=>{c(47,C=!0),fetch(a).then(e=>e.json()).then(e=>{c(47,C=!1),t(e)}).catch(e=>{c(48,_=!0),c(47,C=!1),console.error(e),n(e)})}).then(e=>{let r=Z.split(",");e&&(Ge=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,Z))for(var n of r)e.flags==n&&(t=!1);return t}),c(65,je=Ge.map(e=>e.id)),c(47,C=!1))}),"PC"!==bt(p)&&(x.addEventListener("focusin",e=>{c(69,Ze=!0)}),x.addEventListener("focusout",e=>{c(69,Ze=!1)})),A(),(Me=w)&&(Te=Me.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(Xe&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Xe=!1),64&e.$$.dirty[0]&&l){let e=document.createElement("style");e.innerHTML=l,S.appendChild(e)}if(128&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,S&&setTimeout(()=>{S.appendChild(t)},1)})}8192&e.$$.dirty[1]&&y&&(null!=y&&y.addEventListener("mousedown",mt,!1),null!=y&&y.addEventListener("touchstart",mt,!1),null!=y&&y.addEventListener("mouseup",pt,!1),null!=y&&y.addEventListener("touchend",pt,!1))},[u,i,D,o,s,n,l,d,O,H,N,h,U,Y,X,J,q,Q,ee,te,ne,re,ae,ie,oe,se,le,ce,ue,de,he,me,pe,ge,fe,ye,be,ve,we,xe,Se,Ce,_e,ke,y,L,B,C,_,Le,g,f,Ee,$,Ie,Ae,De,Oe,M,T,He,G,Ne,We,b,je,v,w,x,Ze,Ke,S,a,p,R,at,it,()=>{window.postMessage({type:"scroll"},window.location.href)},ot,lt,ct,(e,t)=>{I=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:H,receivedFavoriteResults:r},window.location.href)},ut,W,j,m,z,V,Z,K,Re,F,function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{y=e,c(44,y)})},function(e){gt[e?"unshift":"push"](()=>{S=e,c(71,S)})}]}class bo extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},yo,po,d,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:83,lastplayed:84,containermaxwidth:12,lobbyid:85,haspanicbutton:13,mostplayedrounds:86,lastplayedperiod:87,filteredcategories:88,activecategory:89,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablecasinowinners:17,tabsorder:18,enableautoscroll:19,istopavailable:20,isrecentavailable:21,integratedgameframedesktop:22,integratedgameframemobile:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:28,defaultcurrency:29,enablejackpotbanner:30,caticon0:31,caticon1:32,caticon2:33,caticon3:34,backgroundsrc:35,backgroundsrcmobile:36,titlelogopath:37,iconlabels:38,visualstructure:39,enablecollections:40,type:41,titletype:42,randombuttonicon:43},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[83]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[84]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[85]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[86]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[87]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[88]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[89]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[17]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[18]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[19]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[20]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[21]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[28]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[29]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get enablejackpotbanner(){return this.$$.ctx[30]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get caticon0(){return this.$$.ctx[31]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[32]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[33]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[34]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[35]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[36]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[37]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[38]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[39]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get enablecollections(){return this.$$.ctx[40]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[41]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[42]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[43]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-page")||customElements.define("casino-page",bo),bo});
30
+ `},V,Z,K,b,v,S,ee,_,k,$,M,T,G,F,L,E,he,me,function(e){gt[e?"unshift":"push"](()=>{i=e,o(17,i)})},()=>fe(x),()=>ge(x),()=>fe(x),function(e){gt[e?"unshift":"push"](()=>{y=e,o(12,y)})},function(e){gt[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function la(e,t,n){const r=e.slice();return r[75]=t[n],r[77]=n,r}function ca(e,t,n){const r=e.slice();return r[75]=t[n],r[78]=t,r[77]=n,r}function ua(e,t,n){const r=e.slice();return r[75]=t[n],r[77]=n,r}function da(e){let n;function r(e){return e[14]?ga:e[24]?pa:void 0}let a=r(e),i=a&&a(e);return{c(){n=me("div"),i&&i.c()},m(e,t){de(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&he(n),i&&i.d()}}}function ha(e){let n,r,a;function i(e){return e[18]?Pa:e[15].length?La:Ea}let o=i(e),s=o(e);function l(e){return e[15]?Ra:Ia}let c=l(e),u=c(e);return{c(){n=me("div"),r=me("div"),s.c(),a=ge(),u.c(),fe(r,"class","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){de(e,n,t),ue(n,r),s.m(r,null),ue(n,a),u.m(n,null)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),(u=c(e))&&(u.c(),u.m(n,null)))},d(e){e&&he(n),s.d(),u.d()}}}function ma(e){let n;function r(e){return e[20]?Oa:Da}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function pa(n){let r,a,i,o,s,l,c,u,d=n[29]("gamesCategorySection.favorites")+"";function h(e){return e[28]?ya:fa}let m=h(n),p=m(n);return{c(){r=me("div"),a=me("div"),i=me("h3"),o=pe(d),s=ge(),l=me("ul"),p.c(),fe(i,"class","CategoryName"),fe(i,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",u=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),n[47](i),ue(r,s),ue(r,l),p.m(l,null),n[48](l)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.favorites")+"")&&ye(o,d),m===(m=h(e))&&p?p.p(e,t):(p.d(1),(p=m(e))&&(p.c(),p.m(l,null))),268435456&t[0]&&c!==(c=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),268435456&t[0]&&u!==(u=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",u)},d(e){e&&he(r),n[47](null),p.d(),n[48](null)}}}function ga(n){let r,a,i,o,s,l,c=n[14].name+"",u=n[16]&&Ma(n);function d(e){return 0!==e[15].length?Ga:Ta}let h=d(n),m=h(n);return{c(){r=me("div"),a=me("div"),i=me("h3"),o=pe(c),s=ge(),u&&u.c(),l=ge(),m.c(),fe(i,"class","CategoryName"),fe(i,"part","CategoryName"),fe(a,"class","CasinoGamesHeader"),fe(a,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),n[43](i),ue(a,s),u&&u.m(a,null),ue(r,l),m.m(r,null)},p(e,t){16384&t[0]&&c!==(c=e[14].name+"")&&ye(o,c),e[16]?u?u.p(e,t):((u=Ma(e)).c(),u.m(a,null)):u&&(u.d(1),u=null),h===(h=d(e))&&m?m.p(e,t):(m.d(1),(m=h(e))&&(m.c(),m.m(r,null)))},d(e){e&&he(r),n[43](null),u&&u.d(),m.d()}}}function fa(e){let n,r,a=e[29]("gamesCategorySection.waiting")+"";return{c(){n=me("p"),r=pe(a)},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.waiting")+"")&&ye(r,a)},d(e){e&&he(n)}}}function ya(t){let r,a=t[28].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=$a(la(t,a,e));let o=null;return a.length||(o=ba(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=l(),o&&o.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e].m(t,n);de(t,r,n),o&&o.m(t,n)},p(t,n){if(2097156095&n[0]){let e;for(a=t[28].items,e=0;e<a.length;e+=1){const o=la(t,a,e);i[e]?i[e].p(o,n):(i[e]=$a(o),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):((o=ba(t)).c(),o.m(r.parentNode,r))}},d(e){$(i,e),e&&he(r),o&&o.d(e)}}}function ba(e){let n,r,a,i,o,s,l,c,t,u,d=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(p=e,yt(p[30])?wa:va),m=h(e);var p;return{c(){n=me("p"),r=M("svg"),a=M("path"),i=ge(),o=me("span"),s=pe(d),l=ge(),m.c(),c=ge(),k(a,"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),k(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",u="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(n,i),ue(n,o),ue(o,s),ue(n,l),m.m(n,null),ue(n,c)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,d),m.p(e,t)},d(e){e&&he(n),m.d()}}}function va(e){let n,r,a=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,a)},d(e){e&&he(n)}}}function wa(e){let n,r,a=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,a)},d(e){e&&he(n)}}}function xa(e){let n,r=e[75].gameModel.isFavorite&&Sa(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[75].gameModel.isFavorite?r?r.p(e,t):((r=Sa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Sa(e){let n,r=function(e){let n,r,a;function i(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!yt(e[30]):n)?_a:(r=null==r?!!e[75].gameModel.platform.includes("PC"):r)?Ca:void 0}let o=i(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),a=l()},m(e,t){s&&s.m(e,t),de(e,a,t)},p(e,t){o===(o=i(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){s&&s.d(e),e&&he(a)}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ca(e){let n,r,a,i,o,s,l,c,u,d,h,m,p,g;return{c(){w(n=me("casino-game-thumbnail"),"class",r=""+(S+(e[75].cellSize||"1x1"))),w(n,"part",a=""+(S+(e[75].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",i=e[75].gameModel.thumbnail),w(n,"gamename",o=e[75].gameModel.name),w(n,"gamevendor",s=e[75].gameModel.vendor.name),w(n,"gameisnew",l=e[75].gameModel.isNew),w(n,"gamepopularity",c=e[75].gameModel.popularity),w(n,"gamecellsize",u=e[75].cellSize),w(n,"gameid",d=e[75].gameModel.id),w(n,"gamefunmode",h=e[75].gameModel.hasFunMode),w(n,"gamefavorite",m=e[75].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",p=1==e[26][e[75].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[75].gameModel.details?e[75].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(S+(e[75].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&a!==(a=""+(S+(e[75].cellSize||"1x1")))&&w(n,"part",a),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&i!==(i=e[75].gameModel.thumbnail)&&w(n,"gamethumbnail",i),268435456&t[0]&&o!==(o=e[75].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[75].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[75].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[75].cellSize)&&w(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[75].gameModel.id)&&w(n,"gameid",d),268435456&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&m!==(m=e[75].gameModel.isFavorite)&&w(n,"gamefavorite",m),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&p!==(p=1==e[26][e[75].id]?"connect":"disconnect")&&w(n,"connectlive",p),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[75].gameModel.details?e[75].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function _a(e){let n,r=e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"),a=r&&ka(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),de(e,n,t)},p(e,t){(r=268435456&t[0]?e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"):r)?a?a.p(e,t):((a=ka(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&he(n)}}}function ka(e){let n,r,a,i,o,s,l,c,u,d,h,m,p,g;return{c(){w(n=me("casino-game-thumbnail"),"class",r=""+(S+(e[75].cellSize||"1x1"))),w(n,"part",a=""+(S+(e[75].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",i=e[75].gameModel.thumbnail),w(n,"gamename",o=e[75].gameModel.name),w(n,"gamevendor",s=e[75].gameModel.vendor.name),w(n,"gameisnew",l=e[75].gameModel.isNew),w(n,"gamepopularity",c=e[75].gameModel.popularity),w(n,"gamecellsize",u=e[75].cellSize),w(n,"gameid",d=e[75].gameModel.id),w(n,"gamefunmode",h=e[75].gameModel.hasFunMode),w(n,"gamefavorite",m=e[75].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",p=1==e[26][e[75].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[75].gameModel.details?e[75].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(S+(e[75].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&a!==(a=""+(S+(e[75].cellSize||"1x1")))&&w(n,"part",a),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&i!==(i=e[75].gameModel.thumbnail)&&w(n,"gamethumbnail",i),268435456&t[0]&&o!==(o=e[75].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[75].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[75].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&u!==(u=e[75].cellSize)&&w(n,"gamecellsize",u),268435456&t[0]&&d!==(d=e[75].gameModel.id)&&w(n,"gameid",d),268435456&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&m!==(m=e[75].gameModel.isFavorite)&&w(n,"gamefavorite",m),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&p!==(p=1==e[26][e[75].id]?"connect":"disconnect")&&w(n,"connectlive",p),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[75].gameModel.details?e[75].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function $a(e){let n,r=e[75].gameModel&&xa(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[75].gameModel?r?r.p(e,t):((r=xa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ma(n){let r,a,i,o,s,l,c,u,d=n[29]("gamesCategorySection.viewAll")+"",h=n[14].games.total+"";return{c(){r=me("a"),a=me("span"),i=pe(d),o=pe(" ("),s=pe(h),l=pe(")"),fe(a,"class","CategoryLoadMore"),fe(a,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,o),ue(a,s),ue(a,l),c||(u=X(r,"click",n[44]),c=!0)},p(e,t){536870912&t[0]&&d!==(d=e[29]("gamesCategorySection.viewAll")+"")&&ye(i,d),16384&t[0]&&h!==(h=e[14].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,u()}}}function Ta(e){let n;return{c(){(n=me("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ga(n){let r,e,a,i=n[15],o=[];for(let e=0;e<i.length;e+=1)o[e]=Fa(ca(n,i,e));return{c(){r=me("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",a=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){de(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[46](r)},p(t,n){if(201367551&n[0]){let e;for(i=t[15],e=0;e<i.length;e+=1){const a=ca(t,i,e);o[e]?o[e].p(a,n):(o[e]=Fa(a),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}285212672&n[0]&&e!==(e=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),285212672&n[0]&&a!==(a=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",a)},d(e){e&&he(r),$(o,e),n[46](null)}}}function Fa(e){let n,r=function(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y=n[77];const b=()=>n[45](r,y),v=()=>n[45](null,y);return{c(){w(r=me("casino-game-thumbnail"),"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",a=""+(S+(n[75].cellSize||"1x1"))),w(r,"part",i=""+(S+(n[75].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[75].thumbnail),w(r,"gamename",s=n[75].name),w(r,"gamevendor",l=n[75].vendor.name),w(r,"gameisnew",c=n[75].isNew),w(r,"gamepopularity",u=n[75].popularity),w(r,"gamecellsize",d=n[75].cellSize),w(r,"gameid",h=n[75].id),w(r,"gamefunmode",m=n[75].hasFunMode),w(r,"gamefavorite",p=n[75].isFavorite),w(r,"connectlive",g=1==n[26][n[75].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[27]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",f=n[75].details?n[75].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8]),w(r,"gamepagemodalurl",n[9]),w(r,"integratedgameframedesktop",n[10]),w(r,"integratedgameframemobile",n[11])},m(e,t){de(e,r,t),b()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),32768&t[0]&&a!==(a=""+(S+(n[75].cellSize||"1x1")))&&w(r,"class",a),32768&t[0]&&i!==(i=""+(S+(n[75].cellSize||"1x1")))&&w(r,"part",i),16&t[0]&&w(r,"favorites",n[4]),32768&t[0]&&o!==(o=n[75].thumbnail)&&w(r,"gamethumbnail",o),32768&t[0]&&s!==(s=n[75].name)&&w(r,"gamename",s),32768&t[0]&&l!==(l=n[75].vendor.name)&&w(r,"gamevendor",l),32768&t[0]&&c!==(c=n[75].isNew)&&w(r,"gameisnew",c),32768&t[0]&&u!==(u=n[75].popularity)&&w(r,"gamepopularity",u),32768&t[0]&&d!==(d=n[75].cellSize)&&w(r,"gamecellsize",d),32768&t[0]&&h!==(h=n[75].id)&&w(r,"gameid",h),32768&t[0]&&m!==(m=n[75].hasFunMode)&&w(r,"gamefunmode",m),32768&t[0]&&p!==(p=n[75].isFavorite)&&w(r,"gamefavorite",p),67141632&t[0]&&g!==(g=1==n[26][n[75].id]?"connect":"disconnect")&&w(r,"connectlive",g),134217728&t[0]&&w(r,"visibilityconnect",n[27]),128&t[0]&&w(r,"currency",n[7]),32768&t[0]&&f!==(f=n[75].details?n[75].href:"")&&w(r,"livelobbyendpoint",f),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),512&t[0]&&w(r,"gamepagemodalurl",n[9]),1024&t[0]&&w(r,"integratedgameframedesktop",n[10]),2048&t[0]&&w(r,"integratedgameframemobile",n[11]),y!==n[77]&&(v(),y=n[77],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function La(e){let n,r,a=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ea(e){let n,r,a=e[29]("gamesCategorySection.noResults")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noResults")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Pa(e){let n,r,a=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=me("h3"),r=pe(a),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ia(e){let n;return{c(){(n=me("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ra(t){let r,a,i=!t[21]&&Aa(t),o=t[15],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ba(ua(t,o,e));return{c(){i&&i.c(),r=ge(),a=me("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(a,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),de(e,r,t),de(e,a,t);for(let e=0;e<s.length;e+=1)s[e].m(a,null)},p(t,n){if(t[21]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Aa(t)).c(),i.m(r.parentNode,r)),561151&n[0]){let e;for(o=t[15],e=0;e<o.length;e+=1){const i=ua(t,o,e);s[e]?s[e].p(i,n):(s[e]=Ba(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){i&&i.d(e),e&&he(r),e&&he(a),$(s,e)}}}function Aa(e){let n,r,t,a,i=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=me("p"),r=pe(i),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",a="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){de(e,n,t),ue(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ba(e){let n,r,a,i,o,s,l,c,u,d,h,m,p;return{c(){w(n=me("casino-game-thumbnail"),"class",r=""+(S+(e[75].cellSize||"1x1"))),w(n,"part",a=""+(S+(e[75].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[19]),w(n,"favorites",e[4]),w(n,"gamethumbnail",i=e[75].thumbnail),w(n,"gamename",o=e[75].name),w(n,"gamevendor",s=e[75].vendor.name),w(n,"gameisnew",l=e[75].isNew),w(n,"gamepopularity",c=e[75].popularity),w(n,"gamecellsize",u=e[75].cellSize),w(n,"gameid",d=e[75].id),w(n,"gamefunmode",h=e[75].hasFunMode),w(n,"gamefavorite",m=e[75].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",p=e[75].details?e[75].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){de(e,n,t)},p(e,t){32768&t[0]&&r!==(r=""+(S+(e[75].cellSize||"1x1")))&&w(n,"class",r),32768&t[0]&&a!==(a=""+(S+(e[75].cellSize||"1x1")))&&w(n,"part",a),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),524288&t[0]&&w(n,"searchitem",e[19]),16&t[0]&&w(n,"favorites",e[4]),32768&t[0]&&i!==(i=e[75].thumbnail)&&w(n,"gamethumbnail",i),32768&t[0]&&o!==(o=e[75].name)&&w(n,"gamename",o),32768&t[0]&&s!==(s=e[75].vendor.name)&&w(n,"gamevendor",s),32768&t[0]&&l!==(l=e[75].isNew)&&w(n,"gameisnew",l),32768&t[0]&&c!==(c=e[75].popularity)&&w(n,"gamepopularity",c),32768&t[0]&&u!==(u=e[75].cellSize)&&w(n,"gamecellsize",u),32768&t[0]&&d!==(d=e[75].id)&&w(n,"gameid",d),32768&t[0]&&h!==(h=e[75].hasFunMode)&&w(n,"gamefunmode",h),32768&t[0]&&m!==(m=e[75].isFavorite)&&w(n,"gamefavorite",m),128&t[0]&&w(n,"currency",e[7]),32768&t[0]&&p!==(p=e[75].details?e[75].href:"")&&w(n,"livelobbyendpoint",p),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Da(e){let n;return{c(){(n=me("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Oa(e){let n;return{c(){(n=me("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ha(n){let r;function a(e){return e[13]?ma:e[17]?ha:da}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){de(e,r,t),o.m(r,null),n[49](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[49](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},sa,na,d,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},null,[-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),f()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}});const S="game-tile-";function Na(e,t,s){let A;vt(e,Tr,e=>s(29,A=e));let i,o,l,n,B,r,c,a,u,d,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:m=""}=t,{lang:p=""}=t,{session:O=""}=t,{userid:H=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:N=""}=t,{categoryid:b=""}=t,{categorygames:W=0}=t,{livecasino:j="false"}=t,{visiblegames:U=""}=t,{gamepagemodalurl:Y="false"}=t,{integratedgameframedesktop:z="false"}=t,{integratedgameframemobile:V="false"}=t,{once:Z=!0}=t,{top:K=0}=t,{bottom:X=0}=t,{left:J=0}=t,{right:q=0}=t,v=!1,w=!0,Q=window.navigator.userAgent,x=[],S=!0,C=40,_=!1,k=!1,ee=!1,$=!1,M=!1,T=!0,G=!1,F=!1,L=!1,E=new Array(1e4),P={},te="",I={items:[],count:0,name:""},ne=(Object.keys(Fr).forEach(e=>{lr(e,Fr[e])}),void 0!==document.hidden?u="hidden":void 0!==document.msHidden?u="msHidden":void 0!==document.webkitHidden&&(u="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>C&&ie(b),s(26,P[t]=1,P)):s(26,P[t]=0,P)})}));const re=(e,r,a,t=0)=>{let n,i="",o=(i=1<(b.match(/\$/g)||[]).length?(n=b.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${m}/${n}/subGroups`)):new URL(`${h}/casino/groups/${m}/`+b),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",bt(Q)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),o&&o[b])if(o[b].length&&!1===w&&!1===G){let t="";s(20,M=!0),o[b].forEach(e=>{t+=t?", id="+e:"id="+e}),i.searchParams.append("filter",`games(vendor(${t}))`)}else s(20,M=!1);fetch(i).then(e=>e.json()).then(e=>{1<(b.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==b)return e})[0]),s(42,d=!0),s(13,v=!1),B=e.games.total,t(e)},e=>{s(13,v=!0),console.error(e),n(e)})})},ae=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(17,_=!1),w=!1,s(16,S=!1),F=!0,s(15,x=t.data.mostPlayedGames),s(14,l={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"LastPlayedData":s(17,_=!1),w=!1,s(16,S=!1),F=!1,s(15,x=t.data.lastPlayedGames),s(14,l={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(17,_=!0),F=!1,s(18,k=!0),0<t.data.searchData.length?(s(15,x=t.data.searchData),s(21,T=!0),x&&x.forEach(e=>{e.isFavorite=R(e.id)})):(s(15,x=[]),s(21,T=!1));break;case"OutOfRecentSearches":s(17,_=!1),s(18,k=!1);break;case"SearchData":s(17,_=!0),F=!1,s(18,k=!1),s(15,x=t.data.searchData.items||[]),s(19,$=!0),t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+b:s(17,_=!1),w=!0,s(16,S=!0),s(19,$=!1),F=!1,L=!1,t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items),re(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(14,l=e),s(15,x=l.games.items),x&&x.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":C=20;break;case"CategoryUpdate":s(17,_=!1),w=!1,s(19,$=!1),F=!1,L=!0,s(32,b=t.data.itemId),"MOSTPLAYED"!==b&&s(16,S=!1),re(0,0,C).then(e=>{s(14,l=e),l.games.items.forEach(e=>{e.isFavorite=R(e.id)}),s(15,x=l.games.items),s(16,S=!1),x.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":F=!1,w=!0,s(15,x=l.games.items),x.forEach(e=>{e.isFavorite=R(e.id)});break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(c=t.data.receivedFavoriteResults.items,G?w||F||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,I.items=(n=e,I.items,a=window.navigator.userAgent,yt(a)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),I),s(28,I.name="Favorites",I),s(24,G=!0));break;case"UserSessionID":if(i=t.data.session,o=t.data.userID,"true"==g&&o&&o.length&&i&&0<i.length){var r=`${h}/player/${o}/favorites/`;let e={method:"GET",headers:{"X-SessionID":i}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{c=e?e.items:[],x.forEach(e=>{e.isFavorite=R(e.id)});e=x;s(15,x=void 0),s(15,x=e),t(c)}).catch(e=>{console.error(e),n(e)})})}}var n,a},ie=e=>{(C+=1)<=B&&re(0,0,C).then(e=>{s(14,l=e),l.games.items.length>x.length&&(s(15,x=l.games.items),x.forEach(e=>{e.isFavorite=R(e.id)}))})},R=t=>!!c&&-1!==c.findIndex(e=>e.id==t),oe=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return wt(()=>(window.addEventListener("visibilitychange",e=>{document[u]?s(27,te="disconnect"):s(27,te="connect")}),window.addEventListener("message",ae,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ae),window.removeEventListener("visibilitychange",ae)})),e.$$set=e=>{"categoryindex"in e&&s(33,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(34,m=e.datasource),"lang"in e&&s(1,p=e.lang),"session"in e&&s(2,O=e.session),"userid"in e&&s(3,H=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"currency"in e&&s(7,N=e.currency),"categoryid"in e&&s(32,b=e.categoryid),"categorygames"in e&&s(35,W=e.categorygames),"livecasino"in e&&s(8,j=e.livecasino),"visiblegames"in e&&s(36,U=e.visiblegames),"gamepagemodalurl"in e&&s(9,Y=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,V=e.integratedgameframemobile),"once"in e&&s(37,Z=e.once),"top"in e&&s(38,K=e.top),"bottom"in e&&s(39,X=e.bottom),"left"in e&&s(40,J=e.left),"right"in e&&s(41,q=e.right)},e.$$.update=()=>{if(4096&e.$$.dirty[0]|2048&e.$$.dirty[1]&&d&&E&&L&&E.forEach((e,t)=>{e&&(e.elems_index=t,ne.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{a.appendChild(e)})}if(64&e.$$.dirty[0]&&y){let t=document.createElement("style");fetch(new URL(y)).then(e=>e.text()).then(e=>{t.innerHTML=e,a&&setTimeout(()=>{a.appendChild(t)},1)})}},[h,p,O,H,g,f,y,N,j,Y,z,V,E,v,l,x,S,_,k,$,M,T,n,r,G,a,P,te,I,A,Q,oe,b,D,m,W,U,Z,K,X,J,q,d,function(e){gt[e?"unshift":"push"](()=>{r=e,s(23,r)})},e=>oe(l.id,l),function(e,t){gt[e?"unshift":"push"](()=>{E[t]=e,s(12,E)})},function(e){gt[e?"unshift":"push"](()=>{n=e,s(22,n)})},function(e){gt[e?"unshift":"push"](()=>{r=e,s(23,r)})},function(e){gt[e?"unshift":"push"](()=>{n=e,s(22,n)})},function(e){gt[e?"unshift":"push"](()=>{a=e,s(25,a)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Na,Ha,d,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:32,categorygames:35,livecasino:8,visiblegames:36,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:37,top:38,bottom:39,left:40,right:41},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get once(){return this.$$.ctx[37]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[38]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[39]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[40]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[41]}set right(e){this.$$set({right:e}),f()}});const Wa={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function ja(e,t,n){const r=e.slice();return r[24]=t[n],r[26]=n,r}function Ua(n){let r,a,i,o,s,l,c,u=!n[6]&&Ya(n),d=n[6]&&Va(n);return{c(){r=me("div"),a=me("div"),(i=me("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),u&&u.c(),s=ge(),d&&d.c(),fe(i,"class","ModalCloseBtn"),fe(i,"part","ModalCloseBtn"),fe(i,"role","button"),fe(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,o),u&&u.m(a,null),ue(a,s),d&&d.m(a,null),l||(c=X(i,"click",n[10]),l=!0)},p(e,t){e[6]?u&&(u.d(1),u=null):u?u.p(e,t):((u=Ya(e)).c(),u.m(a,s)),e[6]?d?d.p(e,t):((d=Va(e)).c(),d.m(a,null)):d&&(d.d(1),d=null)},d(e){e&&he(r),u&&u.d(),d&&d.d(),l=!1,c()}}}function Ya(t){let n,r,a,i,o,s,e=t[7]("randomGame.randomGameLoading")+"",l=t[3],c=[];for(let e=0;e<l.length;e+=1)c[e]=za(ja(t,l,e));return{c(){n=me("div"),r=me("main"),a=me("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),o=me("p"),s=pe(e),fe(a,"class","items"),fe(a,"part","items"),k(a,"transform","translateY("+t[5]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,a);for(let e=0;e<c.length;e+=1)c[e].m(a,null);ue(n,i),ue(n,o),ue(o,s)},p(t,n){if(8&n){let e;for(l=t[3],e=0;e<l.length;e+=1){var r=ja(t,l,e);c[e]?c[e].p(r,n):(c[e]=za(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}32&n&&k(a,"transform","translateY("+t[5]+"px)"),128&n&&e!==(e=t[7]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),$(c,e)}}}function za(e){let n,r,a,i,o,s;return{c(){n=me("div"),r=me("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,a=e[24].thumbnail)||fe(r,"src",a),fe(r,"alt",i=e[24].name),fe(r,"title",o=e[24].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){de(e,n,t),ue(n,r),ue(n,s)},p(e,t){8&t&&!ce(r.src,a=e[24].thumbnail)&&fe(r,"src",a),8&t&&i!==(i=e[24].name)&&fe(r,"alt",i),8&t&&o!==(o=e[24].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Va(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v,w,x,S,C=n[2].name+"",_=n[2].vendor.name+"",k=n[7]("randomGame.playNowRandomGame")+"";return{c(){r=me("div"),a=me("div"),i=me("img"),c=ge(),(u=me("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',d=ge(),h=me("div"),m=me("p"),p=pe(C),g=ge(),f=me("p"),y=pe(_),b=ge(),v=me("button"),w=pe(k),fe(i,"class","RandomGameImage"),fe(i,"part","RandomGameImage"),ce(i.src,o=n[2].thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[2].name),fe(i,"title",l=n[2].name),fe(u,"class","RandomTryAgain"),fe(u,"part","RandomTryAgain"),fe(a,"class","item"),fe(a,"part","item"),fe(m,"class","RandomGameTitle"),fe(m,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,c),ue(a,u),ue(r,d),ue(r,h),ue(h,m),ue(m,p),ue(h,g),ue(h,f),ue(f,y),ue(h,b),ue(h,v),ue(v,w),x||(S=[X(u,"click",n[15]),X(v,"click",n[16])],x=!0)},p(e,t){4&t&&!ce(i.src,o=e[2].thumbnail)&&fe(i,"src",o),4&t&&s!==(s=e[2].name)&&fe(i,"alt",s),4&t&&l!==(l=e[2].name)&&fe(i,"title",l),4&t&&C!==(C=e[2].name+"")&&ye(p,C),4&t&&_!==(_=e[2].vendor.name+"")&&ye(y,_),128&t&&k!==(k=e[7]("randomGame.playNowRandomGame")+"")&&ye(w,k)},d(e){e&&he(r),x=!1,K(S)}}}function Za(e){let n,r,a=e[7]("randomGame.playRandomGame")+"";return{c(){n=me("span"),r=pe(a),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){128&t&&a!==(a=e[7]("randomGame.playRandomGame")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Ka(e){let n,r;return{c(){n=me("span"),r=pe(e[1]),fe(n,"class","RandomButtonText")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){2&t&&ye(r,e[1])},d(e){e&&he(n)}}}function Xa(n){let r,a,i,o,s,l,c,u,d,h=n[4]&&Ua(n);function m(e){return e[1]?Ka:e[1]?void 0:Za}let p=m(n),g=p&&p(n);return{c(){r=me("div"),a=me("div"),h&&h.c(),i=ge(),o=me("div"),s=me("button"),g&&g.c(),l=ge(),c=me("span"),this.c=Z,fe(c,"class","RandomButtonIcon"),fe(c,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){de(e,r,t),ue(r,a),h&&h.m(a,null),ue(a,i),ue(a,o),ue(o,s),g&&g.m(s,null),ue(s,l),ue(s,c),c.innerHTML=n[0],u||(d=X(s,"click",n[17]),u=!0)},p(e,[t]){e[4]?h?h.p(e,t):((h=Ua(e)).c(),h.m(a,i)):h&&(h.d(1),h=null),p===(p=m(e))&&g?g.p(e,t):(g&&g.d(1),(g=p&&p(e))&&(g.c(),g.m(s,l))),1&t&&(c.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),h&&h.d(),g&&g.d(),u=!1,d()}}}function Ja(t,e,n){let r;vt(t,Tr,e=>n(7,r=e));let a,{endpoint:i=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,{randombuttonicon:c=""}=e,{buttontext:u=""}=e,d=[],h="",m=!1,p=0,g=0,f=!1,y=window.navigator.userAgent;var b,v;({withLocale:b,translations:v}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(or.set(v),ft.set(b))}),Object.keys(Wa).forEach(e=>{lr(e,Wa[e])});const w=()=>{n(3,a=(e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e})(a)),n(5,p=0),g=0,n(6,f=!1),n(2,h=d[Math.floor(Math.random()*d.length)]),n(4,m=!0);let e=setInterval(()=>{n(5,p-=100),20==++g&&(n(6,f=!0),clearInterval(e))},100)},x=()=>{window.postMessage({type:s,gameId:h.gId||h.id},window.location.href),n(4,m=!1)};return t.$$set=e=>{"endpoint"in e&&n(11,i=e.endpoint),"datasource"in e&&n(12,o=e.datasource),"gameevent"in e&&n(13,s=e.gameevent),"lang"in e&&n(14,l=e.lang),"randombuttonicon"in e&&n(0,c=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext)},t.$$.update=()=>{if(16384&t.$$.dirty&&l&&(e=l,ft.set(e)),6144&t.$$.dirty&&i&&o){let e=new URL(i+"/casino/games");e.searchParams.append("platform",bt(y)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{d=e.items,n(3,a=d.slice(0,19))})}var e},[c,u,h,a,m,p,f,r,w,x,()=>{n(4,m=!1)},i,o,s,l,()=>w(),()=>x(),()=>w()]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Ja,Xa,d,{endpoint:11,datasource:12,gameevent:13,lang:14,randombuttonicon:0,buttontext:1},null),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[13]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}});const qa={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Qa(e,t,n){const r=e.slice();return r[57]=t[n],r}function ei(e,t,n){const r=e.slice();return r[60]=t[n],r}function ti(n){let i,r,o,a,s,l,c,u,e,d,h,m,p,g,f,y,b,v,w,x,S=n[14],C=[];for(let e=0;e<S.length;e+=1)C[e]=ii(ei(n,S,e));let _=n[7],k=[];for(let e=0;e<_.length;e+=1)k[e]=oi(Qa(n,_,e));return{c(){i=me("div"),r=me("div"),o=me("div");for(let e=0;e<C.length;e+=1)C[e].c();a=ge(),s=me("div"),l=me("button"),c=M("svg"),u=M("path"),d=ge(),h=me("button"),m=M("svg"),p=M("path"),y=ge(),b=me("div");for(let e=0;e<k.length;e+=1)k[e].c();fe(o,"class","WinnerButtonsContainer"),fe(u,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(u,"id","Path_36"),fe(u,"data-name","Path 36"),fe(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(u,"transform","translate(14.656 0) rotate(90)"),fe(u,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(p,"style",g=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(m,"id","Component_46_2"),fe(m,"data-name","Component 46 – 2"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(m,"width","15"),fe(m,"height","15"),fe(m,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){de(e,i,t),ue(i,r),ue(r,o);for(let e=0;e<C.length;e+=1)C[e].m(o,null);ue(r,a),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(s,d),ue(s,h),ue(h,m),ue(m,p),ue(i,y),ue(i,b);for(let e=0;e<k.length;e+=1)k[e].m(b,null);n[38](b),w||(x=[X(l,"click",n[35]),X(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(S=t[14],e=0;e<S.length;e+=1){var r=ei(t,S,e);C[e]?C[e].p(r,n):(C[e]=ii(r),C[e].c(),C[e].m(o,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=S.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(u,"style",e),384&n[0]&&g!==(g=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),435348&n[0]){let e;for(_=t[7],e=0;e<_.length;e+=1){var a=Qa(t,_,e);k[e]?k[e].p(a,n):(k[e]=oi(a),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=_.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),$(C,e),$(k,e),n[38](null),w=!1,K(x)}}}function ni(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function ri(n){let r,a,i,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=me("button"),a=pe(l),fe(r,"class",i="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){de(e,r,t),ue(r,a),o||(s=X(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(a,l),65&t[0]&&i!==(i="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",i)},d(e){e&&he(r),o=!1,s()}}}function ai(n){let r,a,i,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=me("button"),a=pe(c),i=ge(),fe(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){de(e,r,t),ue(r,a),ue(r,i),s||(l=X(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(a,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function ii(e){let n,r,a="recent"==e[60]&&ri(e),i="top"==e[60]&&ai(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),de(e,n,t),i&&i.m(e,t),de(e,r,t)},p(e,t){"recent"==e[60]?a?a.p(e,t):((a=ri(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[60]?i?i.p(e,t):((i=ai(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&he(n),i&&i.d(e),e&&he(r)}}}function oi(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v,w,x,S,C,_,k,$,M=n[57].gameName+"",T=n[17](n[57].username)+"",G=n[15]("Translations.won")+"",F=n[57].specifiedCurrencyAmount.toFixed(2)+"",L=(n[4]?n[10]:n[2])+"";function E(){return n[37](n[57])}return{c(){r=me("div"),a=me("div"),i=me("img"),l=ge(),c=me("p"),u=pe(M),d=ge(),h=me("p"),m=pe(T),p=ge(),g=me("p"),f=pe(G),y=ge(),b=me("p"),v=pe(F),w=ge(),x=me("span"),S=pe(L),C=ge(),ce(i.src,o=n[57]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[57]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(r,"class",_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,l),ue(a,c),ue(c,u),ue(a,d),ue(a,h),ue(h,m),ue(a,p),ue(a,g),ue(g,f),ue(a,y),ue(a,b),ue(b,v),ue(b,w),ue(b,x),ue(x,S),ue(r,C),k||($=X(i,"click",E),k=!0)},p(e,t){n=e,128&t[0]&&!ce(i.src,o=n[57]?.gameModel?.thumbnail)&&fe(i,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&fe(i,"alt",s),128&t[0]&&M!==(M=n[57].gameName+"")&&ye(u,M),128&t[0]&&T!==(T=n[17](n[57].username)+"")&&ye(m,T),32768&t[0]&&G!==(G=n[15]("Translations.won")+"")&&ye(f,G),128&t[0]&&F!==(F=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,F),1044&t[0]&&L!==(L=(n[4]?n[10]:n[2])+"")&&ye(S,L),8192&t[0]&&_!==(_="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",_)},d(e){e&&he(r),k=!1,$()}}}function si(n){let r;function a(e){return e[12]?ni:ti}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[39](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function li(t,e,i){let n;vt(t,Tr,e=>i(15,n=e));let r,o,a,s,l,c,u,d,h,m,{endpoint:p=""}=e,{session:g=""}=e,{periodrecent:f="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:S="true"}=e,{istopavailable:C="true"}=e,{defaultcurrency:_=""}=e,{clientstyling:k=""}=e,{clientstylingurl:$=""}=e,{enableautoscroll:M=""}=e,{tabsorder:T=""}=e,G=[],F=0,L=0,A=window.navigator.userAgent,E=!0,P=!1;Object.keys(qa).forEach(e=>{lr(e,qa[e])});const B=()=>{const e=new URL(`${p}/casino/${o}-winners`);e.searchParams.append("limit","recent"==o?b:v),e.searchParams.append("specifiedCurrency",m),e.searchParams.append("period","recent"==o?f:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{i(7,G=[]),i(7,G=e.items.map(e=>e)),i(12,E=!1),setTimeout(()=>{i(8,L=Math.round(r.offsetWidth/225)),O(),"true"==M&&(F=0,L<u?d=setInterval(()=>{R()},3e3):clearInterval(d))})})},I=e=>{o!==e&&(i(6,o=e),i(7,G=[]),B())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},O=n=>{const e=[...r.children];u=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==o?setTimeout(()=>{i(13,P=!0)},10):i(13,P=!1)},H=()=>{O(F)},N=()=>{var e=G.length;L>=G.length||(0===F?F=e-L:F-L<0?F=0:F-=L,H())},R=()=>{var e=G.length;L>=G.length||("true"==M&&(F===e-L?F=0:F++),"false"==M&&(F===e-L?F=0:e-L<F+L?F=e-L:F+=L),H())};return wt(()=>(i(9,a=yt(A)),()=>{clearInterval(d)})),t.$$set=e=>{"endpoint"in e&&i(22,p=e.endpoint),"session"in e&&i(23,g=e.session),"periodrecent"in e&&i(24,f=e.periodrecent),"periodtop"in e&&i(25,y=e.periodtop),"numberusersrecent"in e&&i(26,b=e.numberusersrecent),"numberuserstop"in e&&i(27,v=e.numberuserstop),"amountlimit"in e&&i(21,w=e.amountlimit),"lang"in e&&i(28,x=e.lang),"isrecentavailable"in e&&i(0,S=e.isrecentavailable),"istopavailable"in e&&i(1,C=e.istopavailable),"defaultcurrency"in e&&i(2,_=e.defaultcurrency),"clientstyling"in e&&i(29,k=e.clientstyling),"clientstylingurl"in e&&i(30,$=e.clientstylingurl),"enableautoscroll"in e&&i(3,M=e.enableautoscroll),"tabsorder"in e&&i(31,T=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&S&&C&&f&&y&&b&&v&&w&&x&&T&&null!=s&&(i(14,h=T.split(",")),i(6,o=h[0]),"false"==S&&i(21,w=""),i(32,m=s?l:_)),4194304&t.$$.dirty[0]&&p&&(r=p,a=g,new Promise((t,n)=>{let e=new Headers;e.append("X-SessionID",a),$e(r+"/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,i(10,l=e.Currency),i(4,s=!0)},e=>{i(4,s=!1)})),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&p&&m&&M&&B(),268435456&t.$$.dirty[0]&&x&&(e=x,ft.set(e)),536870912&t.$$.dirty[0]&&k){let e=document.createElement("style");e.innerHTML=k,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&$){let e=new URL($),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e,r,a},[S,C,_,M,s,r,o,G,L,a,l,c,E,P,h,n,I,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,N,R,w,p,g,f,y,b,v,x,k,$,T,m,()=>I("recent"),()=>I("top"),()=>N(),()=>R(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){gt[e?"unshift":"push"](()=>{r=e,i(5,r)})},function(e){gt[e?"unshift":"push"](()=>{c=e,i(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},li,si,d,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),f()}});const ci={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function ui(e,t,n){const r=e.slice();return r[47]=t[n],r[49]=n,r}function di(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v;function w(e){return e[5]?pi:gi}let x=w(n),S=x(n);return{c(){r=me("div"),a=me("div"),i=me("div"),o=me("div"),s=me("img"),c=ge(),u=me("div"),S.c(),d=ge(),h=me("div"),m=me("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(u,"class","displayContainer"),ce(m.src,p=n[11])||fe(m,"src",p),fe(m,"alt",""),fe(h,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),k(i,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),ue(o,s),ue(i,c),ue(i,u),S.m(u,null),ue(i,d),ue(i,h),ue(h,m),n[32](r),b||(v=X(a,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&S?S.p(e,t):(S.d(1),(S=x(e))&&(S.c(),S.m(u,null))),2048&t[0]&&!ce(m.src,p=e[11])&&fe(m,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&k(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),S.d(),n[32](null),b=!1,v()}}}function hi(e){let n,r,a=e[14]("jackpotBanners.loadingText")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","loadingPrompt")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16384&t[0]&&a!==(a=e[14]("jackpotBanners.loadingText")+"")&&ye(r,a)},d(e){e&&he(n)}}}function mi(e){let n;return{c(){(n=me("p")).textContent="500 Server error"},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function pi(e){let n,r,a,i,o,s,B,l,c,D,O,u,H,N,d,h,m,p,g,W,f,y,j,U,b,Y,z,v,w,x,S,C,_,V,k,$,Z,K,M,X,J,T,G,F,L,E,q,P,I,Q,ee,R,te,A=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ae=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=me("div"),r=me("div"),a=me("div"),i=me("img"),s=me("span"),B=pe(A),l=me("span"),c=me("span"),D=pe(ne),O=ge(),u=me("span"),H=pe(e[1]),N=ge(),d=me("div"),h=me("div"),m=me("img"),g=me("span"),W=pe(re),f=me("span"),y=me("span"),j=pe(ae),U=ge(),b=me("span"),Y=pe(e[1]),z=ge(),v=me("div"),w=me("div"),x=me("div"),S=me("img"),_=me("span"),V=pe(ie),k=me("span"),$=me("span"),Z=pe(oe),K=ge(),M=me("span"),X=pe(e[1]),J=ge(),T=me("div"),G=me("div"),F=me("img"),E=me("span"),q=pe(se),P=me("span"),I=me("span"),Q=pe(le),ee=ge(),R=me("span"),te=pe(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,o=e[9][0])||fe(i,"src",o),fe(i,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(u,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(m,"class","displayCardIcon"),ce(m.src,p=e[9][1])||fe(m,"src",p),fe(m,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(d,"class","displayCard"),fe(n,"class","pairWrapper"),fe(S,"class","displayCardIcon"),ce(S.src,C=e[9][2])||fe(S,"src",C),fe(S,"alt",""),fe(_,"class","cardLabel"),fe(x,"class","iconWrapper"),fe($,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(F,"class","displayCardIcon"),ce(F.src,L=e[9][3])||fe(F,"src",L),fe(F,"alt",""),fe(E,"class","cardLabel"),fe(G,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(T,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(a,i),ue(a,s),ue(s,B),ue(r,l),ue(l,c),ue(c,D),ue(l,O),ue(l,u),ue(u,H),ue(n,N),ue(n,d),ue(d,h),ue(h,m),ue(h,g),ue(g,W),ue(d,f),ue(f,y),ue(y,j),ue(f,U),ue(f,b),ue(b,Y),de(e,z,t),de(e,v,t),ue(v,w),ue(w,x),ue(x,S),ue(x,_),ue(_,V),ue(w,k),ue(k,$),ue($,Z),ue(k,K),ue(k,M),ue(M,X),ue(v,J),ue(v,T),ue(T,G),ue(G,F),ue(G,E),ue(E,q),ue(T,P),ue(P,I),ue(I,Q),ue(P,ee),ue(P,R),ue(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&A!==(A=e[8][0]+"")&&ye(B,A),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(H,e[1]),512&t[0]&&!ce(m.src,p=e[9][1])&&fe(m,"src",p),256&t[0]&&re!==(re=e[8][1]+"")&&ye(W,re),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(j,ae),2&t[0]&&ye(Y,e[1]),512&t[0]&&!ce(S.src,C=e[9][2])&&fe(S,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(X,e[1]),512&t[0]&&!ce(F.src,L=e[9][3])&&fe(F,"src",L),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(z),e&&he(v)}}}function gi(t){let a,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=fi(ui(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,a,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var r=ui(t,i,e);o[e]?o[e].p(r,n):(o[e]=fi(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){$(o,e),e&&he(a)}}}function fi(e){let n,r,a,i,o,s,l,c,u,d,h,m,p=e[8][e[49]]+"",g=(e[7][e[49]]??"")+"";return{c(){n=me("div"),r=me("div"),a=me("img"),o=me("span"),s=pe(p),l=me("span"),c=me("span"),u=pe(g),d=ge(),h=me("span"),m=pe(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,i=e[9][e[49]])||fe(a,"src",i),fe(a,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){de(e,n,t),ue(n,r),ue(r,a),ue(r,o),ue(o,s),ue(n,l),ue(l,c),ue(c,u),ue(l,d),ue(l,h),ue(h,m)},p(e,t){512&t[0]&&!ce(a.src,i=e[9][e[49]])&&fe(a,"src",i),256&t[0]&&p!==(p=e[8][e[49]]+"")&&ye(s,p),128&t[0]&&g!==(g=(e[7][e[49]]??"")+"")&&ye(u,g),2&t[0]&&ye(m,e[1])},d(e){e&&he(n)}}}function yi(e){let n;function r(e){return e[13]?mi:e[3]?hi:di}let a=r(e),i=a(e);return{c(){i.c(),n=l(),this.c=Z},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},i:Z,o:Z,d(e){i.d(e),e&&he(n)}}}function bi(n,e,r){let t;vt(n,Tr,e=>r(14,t=e));let a,i,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:u=""}=e,{caticon3:d=""}=e,{iconlabels:h=""}=e,{backgroundsrc:m=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{endpoint:w=""}=e,{gameid:x=""}=e,A=window.navigator.userAgent,S=!1,C=!1,_="",k=[],$=[],M=[],T=[],G=[],F="",L="",E=!1,P=!0,I=!1;Object.keys(ci).forEach(e=>{lr(e,ci[e])});const R=["typeSpread","typeLeft"],B=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href)};return n.$$set=e=>{"visualstructure"in e&&r(0,o=e.visualstructure),"title"in e&&r(16,s=e.title),"caticon0"in e&&r(17,l=e.caticon0),"caticon1"in e&&r(18,c=e.caticon1),"caticon2"in e&&r(19,u=e.caticon2),"caticon3"in e&&r(20,d=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,m=e.backgroundsrc),"currency"in e&&r(1,p=e.currency),"backgroundsrcmobile"in e&&r(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&r(24,f=e.titlelogopath),"lang"in e&&r(25,y=e.lang),"clientstyling"in e&&r(26,b=e.clientstyling),"clientstylingurl"in e&&r(27,v=e.clientstylingurl),"endpoint"in e&&r(28,w=e.endpoint),"gameid"in e&&r(29,x=e.gameid)},n.$$.update=()=>{if(268435456&n.$$.dirty[0]&&w&&(t=new URL(w+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(30,$=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&a&&b){let e=document.createElement("style");e.innerHTML=b,a.appendChild(e)}if(134217732&n.$$.dirty[0]&&a&&v){r(12,E=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,a&&(setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{r(12,E=!1)},500))})}if(1375731714&n.$$.dirty[0]&&w&&y&&p&&0<$.length&&(w&&y&&p)){let e=new URL(w+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",p),fetch(e.href).then(e=>e.json().then(e=>{r(3,P=!1),i=e,$.includes(x)&&((e=null==(e=null==(e=i)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>k.push(+e)),r(6,_=i.items[0].vendorLogo))}).catch(e=>{r(13,I=!0),r(3,P=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&p&&y&&!P&&(r(4,S=yt(A)&&1<window.innerHeight/window.innerWidth),r(5,C=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==k.length&&r(7,M=k.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,T=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),R.includes(o.trim())?r(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${R[0]}"`),r(0,o=R[0])),r(10,F=g&&S&&!C?g:m),r(11,L=f),r(9,G=[l,c,u,d])),33554432&n.$$.dirty[0]&&y&&(e=y,ft.set(e))},[o,p,a,P,S,C,_,M,T,G,F,L,E,I,t,B,s,l,c,u,d,h,m,g,f,y,b,v,w,x,$,()=>B(),function(e){gt[e?"unshift":"push"](()=>{a=e,r(2,a)})}]}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends U{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},bi,yi,d,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),f()}});const vi={en:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},zh:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},de:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},it:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},fr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},es:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},el:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},tr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ru:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ro:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hu:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pt:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}}};function wi(e,t,n){const r=e.slice();return r[37]=t[n],r}function xi(e,t,n){const r=e.slice();return r[40]=t[n],r}function Si(n){let a,r,i,o,s,l,c,u,d,h,m,p,g,e,f,y,b=n[7]("Translations.game")+"",v=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=Mi(wi(n,w,e));return{c(){a=me("div"),r=me("div"),i=me("p"),o=pe(b),s=ge(),l=pe(v),c=ge(),u=me("div"),(d=me("button")).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>',h=ge(),(m=me("button")).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=ge(),g=me("div");for(let e=0;e<x.length;e+=1)x[e].c();fe(i,"class","Title"),fe(u,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(g,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){de(e,a,t),ue(a,r),ue(r,i),ue(i,o),ue(i,s),ue(i,l),ue(r,c),ue(r,u),ue(u,d),ue(u,h),ue(u,m),ue(a,p),ue(a,g);for(let e=0;e<x.length;e+=1)x[e].m(g,null);n[21](g),f||(y=[X(d,"click",n[17]),X(m,"click",n[18])],f=!0)},p(t,n){if(128&n[0]&&b!==(b=t[7]("Translations.game")+"")&&ye(o,b),129&n[0]&&v!==(v=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(l,v),3078&n[0]){let e;for(w=t[2],e=0;e<w.length;e+=1){var r=wi(t,w,e);x[e]?x[e].p(r,n):(x[e]=Mi(r),x[e].c(),x[e].m(g,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&he(a),$(x,e),n[21](null),f=!1,K(y)}}}function Ci(e){let n;return{c(){(n=me("p")).textContent="Loading, please wait ..."},m(e,t){de(e,n,t)},p:Z,d(e){e&&he(n)}}}function _i(e){let n,r,a=e[37].name+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","CategorySlideTitle")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){4&t[0]&&a!==(a=e[37].name+"")&&ye(r,a)},d(e){e&&he(n)}}}function ki(e){let n,r,a;return{c(){fe(n=me("img"),"class","CategorySlideLogo"),ce(n.src,r=e[37].icon)||fe(n,"src",r),fe(n,"alt",a=e[37].name+" icon")},m(e,t){de(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[37].icon)&&fe(n,"src",r),4&t[0]&&a!==(a=e[37].name+" icon")&&fe(n,"alt",a)},d(e){e&&he(n)}}}function $i(n){let r,a,i,o,s;function l(){return n[19](n[40])}return{c(){fe(r=me("img"),"class","CategorySlideGameImage"),ce(r.src,a=n[40].defaultThumbnail)||fe(r,"src",a),fe(r,"alt",i=n[40].name)},m(e,t){var n;de(e,r,t),o||(s=X(r,"click",(n=l,function(e){return e.stopPropagation(),n.call(this,e)})),o=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,a=n[40].defaultThumbnail)&&fe(r,"src",a),4&t[0]&&i!==(i=n[40].name)&&fe(r,"alt",i)},d(e){e&&he(r),o=!1,s()}}}function Mi(n){let r,a,i,o,s,l,c,u,d;function h(e){return"logo"==e[1]?ki:"title"==e[1]?_i:void 0}let m=h(n),p=m&&m(n),g=n[37].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=$i(xi(n,g,e));function y(){return n[20](n[37])}return{c(){r=me("div"),a=me("div"),i=me("div"),p&&p.c(),o=ge(),s=me("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":"")),k(a,"background-image","url("+n[37]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),p&&p.m(i,null),ue(a,o),ue(a,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);ue(r,c),u||(d=X(a,"click",y),u=!0)},p(e,t){if(m===(m=h(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=m&&m(n))&&(p.c(),p.m(i,null))),1028&t[0]){let e;for(g=n[37].games,e=0;e<g.length;e+=1){const a=xi(n,g,e);f[e]?f[e].p(a,t):(f[e]=$i(a),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}4&t[0]&&l!==(l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),4&t[0]&&k(a,"background-image","url("+n[37]?.background+")")},d(e){e&&he(r),p&&p.d(),$(f,e),u=!1,d()}}}function Ti(n){let r;function a(e){return e[4]?Ci:Si}let i=a(n),o=i(n);return{c(){r=me("div"),o.c(),this.c=Z},m(e,t){de(e,r,t),o.m(r,null),n[22](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[22](null)}}}function Gi(n,e,r){let t;vt(n,Tr,e=>r(7,t=e));let a,i,o,s,l,{endpoint:c=""}=e,{datasource:u=""}=e,{lang:d=""}=e,{type:h=""}=e,{titletype:m=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,f=[],y=!0,b=0,v=0,w=0,x=window.navigator.userAgent;Object.keys(vi).forEach(e=>{lr(e,vi[e])});const S=n=>{(o=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),w=Math.round(a.offsetWidth/i)},C=()=>{S(b)},_=()=>{w>=v||(0===b?b=v-w:b-w<-1?b=0:b--,C())},k=()=>{w>=v||(b===v-w?b=0:v-w<b+1?b=v-w:b++,C())},$=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return wt(()=>{r(6,l=yt(x))}),n.$$set=e=>{"endpoint"in e&&r(12,c=e.endpoint),"datasource"in e&&r(13,u=e.datasource),"lang"in e&&r(14,d=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,m=e.titletype),"clientstyling"in e&&r(15,p=e.clientstyling),"clientstylingurl"in e&&r(16,g=e.clientstylingurl)},n.$$.update=()=>{if(28672&n.$$.dirty[0]&&c&&u&&d){const t=new URL(c+"/v2/casino/groups/"+u);t.searchParams.append("language",d),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(4,y=!1);let t=e.items.filter(e=>e.flags==h);r(2,f=t.map(e=>({id:e.id,name:e.name,icon:e.icon,games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}))),v=f.length})}if(12&n.$$.dirty[0]&&f&&a&&S(),16384&n.$$.dirty[0]&&d&&(e=d,ft.set(e)),32768&n.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)}if(65536&n.$$.dirty[0]&&g){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,s&&(setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[h,m,f,a,y,s,l,t,_,k,$,M,c,u,d,p,g,()=>_(),()=>k(),e=>$(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){gt[e?"unshift":"push"](()=>{a=e,r(3,a)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(5,s)})}]}function Fi(e,t,n){const r=e.slice();return r[164]=t[n],r[166]=n,r}function Li(n){let r,a,i,o,s,l="PC"!==bt(n[73])&&"false"===n[10]&&n[69],c=l&&Pi();function u(e){return"false"===e[10]?Ri:Ii}let d=u(n),h=d(n),m="true"==n[15]&&0==n[57]&&Ki(n);function p(e){return e[47]?to:e[55]?eo:e[58]?Qi:e[53]?qi:e[59]?Ji:e[54]?void 0:Xi}let g=p(n),f=g&&g(n),y=n[49]&&"true"==n[13]&&mo(n);return{c(){r=me("section"),c&&c.c(),a=ge(),h.c(),i=ge(),m&&m.c(),o=ge(),f&&f.c(),s=ge(),y&&y.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),k(r,"max-width",n[12]+"px")},m(e,t){de(e,r,t),c&&c.m(r,null),ue(r,a),h.m(r,null),ue(r,i),m&&m.m(r,null),ue(r,o),f&&f.m(r,null),ue(r,s),y&&y.m(r,null),n[105](r)},p(e,t){(l=1024&t[0]|128&t[2]?"PC"!==bt(e[73])&&"false"===e[10]&&e[69]:l)?c||((c=Pi()).c(),c.m(r,a)):c&&(c.d(1),c=null),d===(d=u(e))&&h?h.p(e,t):(h.d(1),(h=d(e))&&(h.c(),h.m(r,i))),"true"==e[15]&&0==e[57]?m?m.p(e,t):((m=Ki(e)).c(),m.m(r,o)):m&&(m.d(1),m=null),g===(g=p(e))&&f?f.p(e,t):(f&&f.d(1),(f=g&&g(e))&&(f.c(),f.m(r,s))),e[49]&&"true"==e[13]?y?y.p(e,t):((y=mo(e)).c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&k(r,"max-width",e[12]+"px")},d(e){e&&he(r),c&&c.d(),h.d(),m&&m.d(),f&&f.d(),y&&y.d(),n[105](null)}}}function Ei(e){let n,r,a=e[72]("casinoPage.500")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1024&t[2]&&a!==(a=e[72]("casinoPage.500")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Pi(){let n;return{c(){fe(n=me("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ii(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),S=!n[69]&&Ai(),C=x&&Bi(n),_=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[57]&&!n[55]&&!n[56]&&Di(n);return{c(){r=me("div"),a=me("div"),i=me("label"),o=pe(w),s=ge(),l=me("div"),S&&S.c(),c=ge(),u=me("input"),h=ge(),C&&C.c(),g=ge(),_&&_.c(),fe(i,"for","search"),fe(i,"class","SrOnly"),fe(i,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(a,"class",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(a,"part",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!go?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!go?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),k(r,"top",n[63]&&n[69]?fo+"px":"")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),ue(a,s),ue(a,l),S&&S.m(l,null),ue(l,c),ue(l,u),n[98](u),L(u,n[45]),ue(l,h),C&&C.m(l,null),ue(r,g),_&&_.m(r,null),n[103](r),b||(v=[X(u,"focus",n[75]),X(u,"blur",n[76]),X(u,"input",n[99]),X(u,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?S&&(S.d(1),S=null):S||((S=Ai()).c(),S.m(l,c)),1024&t[2]&&d!==(d="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),16384&t[1]&&L(u,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?C?C.p(e,t):((C=Bi(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(a,"class",m),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(a,"part",p),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[57]||e[55]||e[56]?_&&(_.d(1),_=null):_?_.p(e,t):((_=Di(e)).c(),_.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!go?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!go?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y),130&t[2]&&k(r,"top",e[63]&&e[69]?fo+"px":"")},d(e){e&&he(r),S&&S.d(),n[98](null),C&&C.d(),_&&_.d(),n[103](null),b=!1,K(v)}}}function Ri(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),S=!n[69]&&ji(),C=x&&Ui(n),_=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[55]&&!n[57]&&!n[56]&&Yi(n);return{c(){r=me("div"),a=me("div"),i=me("label"),o=pe(w),s=ge(),l=me("div"),S&&S.c(),c=ge(),u=me("input"),h=ge(),C&&C.c(),g=ge(),_&&_.c(),fe(i,"for","search"),fe(i,"class","SrOnly"),fe(i,"part","SrOnly"),fe(u,"id","SearchField"),fe(u,"class","SearchInput"),fe(u,"part","SearchInput"),fe(u,"placeholder",d="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(u,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(a,"class",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(a,"part",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!go?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":"")),k(r,"top",n[63]&&n[69]?fo+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!go?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(i,o),ue(a,s),ue(a,l),S&&S.m(l,null),ue(l,c),ue(l,u),n[92](u),L(u,n[45]),ue(l,h),C&&C.m(l,null),ue(r,g),_&&_.m(r,null),n[97](r),b||(v=[X(u,"focus",n[75]),X(u,"blur",n[76]),X(u,"input",n[93]),X(u,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?S&&(S.d(1),S=null):S||((S=ji()).c(),S.m(l,c)),1024&t[2]&&d!==(d="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(u,"placeholder",d),16384&t[1]&&L(u,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?C?C.p(e,t):((C=Ui(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(a,"class",m),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(a,"part",p),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[55]||e[57]||e[56]?_&&(_.d(1),_=null):_?_.p(e,t):((_=Yi(e)).c(),_.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!go?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),130&t[2]&&k(r,"top",e[63]&&e[69]?fo+"px":""),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!go?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),S&&S.d(),n[92](null),C&&C.d(),_&&_.d(),n[97](null),b=!1,K(v)}}}function Ai(){let n;return{c(){(n=me("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Bi(n){let r,a,i,o;return{c(){r=me("span"),(a=me("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(a,"class","CloseIconContainer"),fe(a,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,a),i||(o=X(r,"click",n[100]),i=!0)},p:Z,d(e){e&&he(r),i=!1,o()}}}function Di(e){let n,r,a=e[70]&&Oi(e),i=(!e[55]||!e[54])&&Hi(e);return{c(){n=me("div"),a&&a.c(),r=ge(),i&&i.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),a&&a.m(n,null),ue(n,r),i&&i.m(n,null)},p(e,t){e[70]?a?a.p(e,t):((a=Oi(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),e[55]&&e[54]?i&&(i.d(1),i=null):i?i.p(e,t):((i=Hi(e)).c(),i.m(n,null))},d(e){e&&he(n),a&&a.d(),i&&i.d()}}}function Oi(n){let r,a,i,o,s,l,c,u,d,h=n[72]("casinoPage.clear")+"";return{c(){r=me("div"),a=me("div"),i=pe(h),o=ge(),(s=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,o),ue(a,s),u||(d=X(r,"click",n[101]),u=!0)},p(e,t){1024&t[2]&&h!==(h=e[72]("casinoPage.clear")+"")&&ye(i,h),256&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"class",l),256&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),u=!1,d()}}}function Hi(e){let n,r=!e[59]&&Ni(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[59]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Ni(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Ni(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f=n[72]("casinoPage.filters")+"",y=0<n[70]&&Wi(n);return{c(){r=me("div"),a=me("div"),i=pe(f),o=ge(),s=me("div"),l=M("svg"),c=M("defs"),u=M("style"),d=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),m=ge(),y&&y.c(),fe(a,"class","FilterButton"),fe(a,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,m),y&&y.m(s,null),p||(g=X(r,"click",n[102]),p=!0)},p(e,t){1024&t[2]&&f!==(f=e[72]("casinoPage.filters")+"")&&ye(i,f),0<e[70]?y?y.p(e,t):((y=Wi(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),p=!1,g()}}}function Wi(e){let n,r,a;return{c(){n=me("div"),r=me("span"),a=pe(e[70]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){de(e,n,t),ue(n,r),ue(r,a)},p(e,t){256&t[2]&&ye(a,e[70])},d(e){e&&he(n)}}}function ji(){let n;return{c(){(n=me("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){de(e,n,t)},d(e){e&&he(n)}}}function Ui(n){let r,a,i,o;return{c(){r=me("span"),(a=me("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(a,"class","CloseIconContainer"),fe(a,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){de(e,r,t),ue(r,a),i||(o=X(r,"click",n[94]),i=!0)},p:Z,d(e){e&&he(r),i=!1,o()}}}function Yi(e){let n,r,a=e[70]&&zi(e),i=(!e[55]||!e[54])&&Vi(e);return{c(){n=me("div"),a&&a.c(),r=ge(),i&&i.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){de(e,n,t),a&&a.m(n,null),ue(n,r),i&&i.m(n,null)},p(e,t){e[70]?a?a.p(e,t):((a=zi(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),e[55]&&e[54]?i&&(i.d(1),i=null):i?i.p(e,t):((i=Vi(e)).c(),i.m(n,null))},d(e){e&&he(n),a&&a.d(),i&&i.d()}}}function zi(n){let r,a,i,o,s,l,c,u=n[72]("casinoPage.clear")+"";return{c(){r=me("div"),a=me("div"),i=pe(u),o=ge(),(s=me("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(a,o),ue(a,s),l||(c=X(r,"click",n[95]),l=!0)},p(e,t){1024&t[2]&&u!==(u=e[72]("casinoPage.clear")+"")&&ye(i,u)},d(e){e&&he(r),l=!1,c()}}}function Vi(e){let n,r=(!e[59]||!e[61])&&Zi(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[59]&&e[61]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Zi(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Zi(n){let r,a,i,o,s,l,c,u,d,h,m,p,g,f,y,b,v=n[72]("casinoPage.filters")+"";return{c(){r=me("div"),a=me("div"),i=pe(v),o=ge(),s=me("div"),l=M("svg"),c=M("defs"),u=M("style"),d=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=M("path"),m=ge(),p=me("div"),g=me("span"),f=pe(n[70]),fe(a,"class","FilterButton"),fe(a,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(p,"class","NumberOfFiltersContainer"),fe(p,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){de(e,r,t),ue(r,a),ue(a,i),ue(r,o),ue(r,s),ue(s,l),ue(l,c),ue(c,u),ue(u,d),ue(l,h),ue(s,m),ue(s,p),ue(p,g),ue(g,f),y||(b=X(r,"click",n[96]),y=!0)},p(e,t){1024&t[2]&&v!==(v=e[72]("casinoPage.filters")+"")&&ye(i,v),256&t[2]&&ye(f,e[70])},d(e){e&&he(r),y=!1,b()}}}function Ki(e){let n;return{c(){w(n=me("casino-random-game"),"datasource",e[1]),w(n,"endpoint",e[0]),w(n,"lang",e[3]),w(n,"gameevent",e[46]),w(n,"randombuttonicon",e[43])},m(e,t){de(e,n,t)},p(e,t){2&t[0]&&w(n,"datasource",e[1]),1&t[0]&&w(n,"endpoint",e[0]),8&t[0]&&w(n,"lang",e[3]),32768&t[1]&&w(n,"gameevent",e[46]),4096&t[1]&&w(n,"randombuttonicon",e[43])},d(e){e&&he(n)}}}function Xi(e){let n;return{c(){w(n=me("casino-games-category-section"),"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[11]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[66]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){de(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),2048&t[0]&&w(n,"favorites",e[11]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),16&t[2]&&w(n,"categoryid",e[66]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Ji(e){let n;function r(e){return e[60]?ao:e[61]?ro:no}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&he(n)}}}function qi(n){let r,a,i,o;return{c(){w(r=me("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[11]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){de(e,r,t),i||(o=F(a=n[74].call(null,r,(n[0],n[50],n[51],n[50]))),i=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),a&&T(a.update)&&1&t[0]|1572864&t[1]&&a.update.call(null,(e[0],e[50],e[51],e[50]))},d(e){e&&he(r),i=!1,o()}}}function Qi(t){let a,i=t[65],o=[];for(let e=0;e<i.length;e+=1)o[e]=ho(Fi(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);de(t,a,n)},p(t,n){if(2147437567&n[0]|4095&n[1]|8&n[2]){let e;for(i=t[65],e=0;e<i.length;e+=1){var r=Fi(t,i,e);o[e]?o[e].p(r,n):(o[e]=ho(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){$(o,e),e&&he(a)}}}function eo(n){let r,a,i,o;return{c(){w(r=me("casino-games-category-section"),"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[11]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){de(e,r,t),i||(o=F(a=n[82].call(null,r,n[64])),i=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),a&&T(a.update)&&4&t[2]&&a.update.call(null,e[64])},d(e){e&&he(r),i=!1,o()}}}function to(e){let n,r,a=e[72]("casinoPage.loading")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1024&t[2]&&a!==(a=e[72]("casinoPage.loading")+"")&&ye(r,a)},d(e){e&&he(n)}}}function no(e){let n;return{c(){w(n=me("casino-games-category-section"),"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[11]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){de(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),2048&t[0]&&w(n,"favorites",e[11]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function ro(e){let n,r=e[62]&&io(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),de(e,n,t)},p(e,t){e[62]?r?r.p(e,t):((r=io(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ao(e){let n,r,a=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1024&t[2]&&a!==(a=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,a)},d(e){e&&he(n)}}}function io(e){let n,r,a=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=me("p"),r=pe(a),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){1024&t[2]&&a!==(a=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,a)},d(e){e&&he(n)}}}function oo(e){let n,r;return{c(){n=me("div"),w(r=me("casino-winners"),"session",e[4]),w(r,"periodrecent",e[24]),w(r,"periodtop",e[25]),w(r,"numberusersrecent",e[26]),w(r,"numberuserstop",e[27]),w(r,"amountlimit",e[28]),w(r,"isrecentavailable",e[21]),w(r,"istopavailable",e[20]),w(r,"defaultcurrency",e[29]),w(r,"enableautoscroll",e[19]),w(r,"tabsorder",e[18]),w(r,"lang",e[3]),w(r,"clientstyling",e[6]),w(r,"clientstylingurl",e[7]),w(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){de(e,n,t),ue(n,r)},p(e,t){16&t[0]&&w(r,"session",e[4]),16777216&t[0]&&w(r,"periodrecent",e[24]),33554432&t[0]&&w(r,"periodtop",e[25]),67108864&t[0]&&w(r,"numberusersrecent",e[26]),134217728&t[0]&&w(r,"numberuserstop",e[27]),268435456&t[0]&&w(r,"amountlimit",e[28]),2097152&t[0]&&w(r,"isrecentavailable",e[21]),1048576&t[0]&&w(r,"istopavailable",e[20]),536870912&t[0]&&w(r,"defaultcurrency",e[29]),524288&t[0]&&w(r,"enableautoscroll",e[19]),262144&t[0]&&w(r,"tabsorder",e[18]),8&t[0]&&w(r,"lang",e[3]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),1&t[0]&&w(r,"endpoint",e[0])},d(e){e&&he(n)}}}function so(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),w(a=me("jackpot-banner"),"title","Jackpot Cards"),w(a,"currency",i=e[2]||"RON"),w(a,"gameid","998"),w(a,"endpoint",e[0]),w(a,"lang",e[3]),w(a,"backgroundsrc","/assets/background0.jpg"),w(a,"backgroundsrcmobile","/assets/background0.jpg"),w(a,"titlelogopath","/assets/jackpots_logo.svg"),w(a,"caticon0","/assets/icon0.svg"),w(a,"caticon1","/assets/icon1.svg"),w(a,"caticon2","/assets/icon2.svg"),w(a,"caticon3","/assets/icon3.svg"),w(a,"iconlabels",e[38]),w(a,"visualstructure","typeSpread")},m(e,t){de(e,n,t),de(e,r,t),de(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&w(a,"currency",i),1&t[0]&&w(a,"endpoint",e[0]),8&t[0]&&w(a,"lang",e[3]),128&t[1]&&w(a,"iconlabels",e[38])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function lo(e){let n,r,a,i;return{c(){n=me("br"),r=ge(),w(a=me("jackpot-banner"),"title","Egypt Quest"),w(a,"currency",i=e[2]||"RON"),w(a,"gameid","999"),w(a,"endpoint",e[0]),w(a,"lang",e[3]),w(a,"backgroundsrc",e[35]),w(a,"backgroundsrcmobile",e[36]),w(a,"titlelogopath",e[37]),w(a,"caticon0",e[31]),w(a,"caticon1",e[32]),w(a,"caticon2",e[33]),w(a,"caticon3",e[34]),w(a,"iconlabels",e[38]),w(a,"visualstructure",e[39])},m(e,t){de(e,n,t),de(e,r,t),de(e,a,t)},p(e,t){4&t[0]&&i!==(i=e[2]||"RON")&&w(a,"currency",i),1&t[0]&&w(a,"endpoint",e[0]),8&t[0]&&w(a,"lang",e[3]),16&t[1]&&w(a,"backgroundsrc",e[35]),32&t[1]&&w(a,"backgroundsrcmobile",e[36]),64&t[1]&&w(a,"titlelogopath",e[37]),1&t[1]&&w(a,"caticon0",e[31]),2&t[1]&&w(a,"caticon1",e[32]),4&t[1]&&w(a,"caticon2",e[33]),8&t[1]&&w(a,"caticon3",e[34]),128&t[1]&&w(a,"iconlabels",e[38]),256&t[1]&&w(a,"visualstructure",e[39])},d(e){e&&he(n),e&&he(r),e&&he(a)}}}function co(e){let n,r;return{c(){w(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type","vendor"),w(n,"titletype","logo"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){de(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function uo(e){let n,r;return{c(){w(n=me("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type",e[41]),w(n,"titletype",e[42]),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){de(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),1024&t[1]&&w(n,"type",e[41]),2048&t[1]&&w(n,"titletype",e[42]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function ho(n){let r,a,i,o,s,e,l,c,u,d="true"===n[17]&&1===n[166]&&oo(n);function h(e){return 4===e[166]&&"true"==e[30]?lo:6===e[166]&&"true"==e[30]?so:void 0}let m=h(n),p=m&&m(n);function g(e){return 7==e[166]&&"true"==e[40]?uo:e[166]==e[65].length-1&&"true"==e[40]?co:void 0}let f=g(n),y=f&&f(n);return{c(){d&&d.c(),r=ge(),p&&p.c(),a=ge(),y&&y.c(),i=ge(),w(o=me("casino-games-category-section"),"session",n[4]),w(o,"userid",n[5]),w(o,"endpoint",n[0]),w(o,"datasource",n[1]),w(o,"lang",n[3]),w(o,"currency",n[2]),w(o,"categoryid",s=n[164]),w(o,"categoryindex",e=n[166]),w(o,"categorygames","9"),w(o,"favorites",n[11]),w(o,"class","CategoryContainer"),k(o,"background-color",n[166]%2!=0?n[8]:"transparent"),w(o,"clientstyling",n[6]),w(o,"clientstylingurl",n[7]),w(o,"livecasino",n[14]),w(o,"visiblegames",n[9]),w(o,"gamepagemodalurl",n[16]),w(o,"integratedgameframedesktop",n[22]),w(o,"integratedgameframemobile",n[23])},m(e,t){d&&d.m(e,t),de(e,r,t),p&&p.m(e,t),de(e,a,t),y&&y.m(e,t),de(e,i,t),de(e,o,t),c||(u=F(l=n[81].call(null,o,n[164])),c=!0)},p(e,t){"true"===(n=e)[17]&&1===n[166]?d?d.p(n,t):((d=oo(n)).c(),d.m(r.parentNode,r)):d&&(d.d(1),d=null),m===(m=h(n))&&p?p.p(n,t):(p&&p.d(1),(p=m&&m(n))&&(p.c(),p.m(a.parentNode,a))),f===(f=g(n))&&y?y.p(n,t):(y&&y.d(1),(y=f&&f(n))&&(y.c(),y.m(i.parentNode,i))),16&t[0]&&w(o,"session",n[4]),32&t[0]&&w(o,"userid",n[5]),1&t[0]&&w(o,"endpoint",n[0]),2&t[0]&&w(o,"datasource",n[1]),8&t[0]&&w(o,"lang",n[3]),4&t[0]&&w(o,"currency",n[2]),8&t[2]&&s!==(s=n[164])&&w(o,"categoryid",s),2048&t[0]&&w(o,"favorites",n[11]),256&t[0]&&k(o,"background-color",n[166]%2!=0?n[8]:"transparent"),64&t[0]&&w(o,"clientstyling",n[6]),128&t[0]&&w(o,"clientstylingurl",n[7]),16384&t[0]&&w(o,"livecasino",n[14]),512&t[0]&&w(o,"visiblegames",n[9]),65536&t[0]&&w(o,"gamepagemodalurl",n[16]),4194304&t[0]&&w(o,"integratedgameframedesktop",n[22]),8388608&t[0]&&w(o,"integratedgameframemobile",n[23]),l&&T(l.update)&&8&t[2]&&l.update.call(null,n[164])},d(e){d&&d.d(e),e&&he(r),p&&p.d(e),e&&he(a),y&&y.d(e),e&&he(i),e&&he(o),c=!1,u()}}}function mo(n){let r,a,i,e,t,o,s,l=n[72]("casinoPage.breakButton")+"";return{c(){r=me("div"),a=me("button"),i=pe(l),fe(a,"class",e="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile ":"")),fe(a,"part",t="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile":"")),m(a,"PanicButtonAnimation",n[52]),fe(r,"class",o="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":""))},m(e,t){de(e,r,t),ue(r,a),ue(a,i),n[104](a)},p(e,t){1024&t[2]&&l!==(l=e[72]("casinoPage.breakButton")+"")&&ye(i,l),2097152&t[1]&&m(a,"PanicButtonAnimation",e[52])},d(e){e&&he(r),n[104](null)}}}function po(e){let n;function r(e){return e[48]?Ei:Li}let a=r(e),i=a(e);return{c(){i.c(),n=l(),this.c=Z},m(e,t){i.m(e,t),de(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},i:Z,o:Z,d(e){i.d(e),e&&he(n)}}}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-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}.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{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.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:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},Gi,Ti,d,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});let go=!1;const fo=0;function yo(e,t,c){let a;vt(e,Tr,e=>c(72,a=e));let B,{endpoint:u=""}=t,{datasource:i=""}=t,{currency:D=""}=t,{lang:o=""}=t,{session:s=""}=t,{userid:n=""}=t,{clientstyling:l=""}=t,{clientstylingurl:d=""}=t,{categorybackground:O=""}=t,H=t["visiblegames"],{alternativesearch:N="false"}=t,{favorites:h=""}=t,{mostplayed:W=""}=t,{lastplayed:j=""}=t,{containermaxwidth:U="1300"}=t,{lobbyid:m="casinodefault"}=t,{haspanicbutton:Y="false"}=t,{mostplayedrounds:z=""}=t,{lastplayedperiod:V=""}=t,{filteredcategories:Z=""}=t,{activecategory:K=""}=t,{livecasino:X="false"}=t,{playrandomgame:J="false"}=t,{gamepagemodalurl:q="false"}=t,{enablecasinowinners:Q=""}=t,{tabsorder:ee=""}=t,{enableautoscroll:te=""}=t,{istopavailable:ne=""}=t,{isrecentavailable:re=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:ie="false"}=t,{periodrecent:oe=""}=t,{periodtop:se=""}=t,{numberusersrecent:le=""}=t,{numberuserstop:ce=""}=t,{amountlimit:ue=""}=t,{defaultcurrency:de=""}=t,{enablejackpotbanner:he=""}=t,{caticon0:me=""}=t,{caticon1:pe=""}=t,{caticon2:ge=""}=t,{caticon3:fe=""}=t,{backgroundsrc:ye=""}=t,{backgroundsrcmobile:be=""}=t,{titlelogopath:ve=""}=t,{iconlabels:we=""}=t,{visualstructure:xe=""}=t,{enablecollections:Se=""}=t,{type:Ce=""}=t,{titletype:_e=""}=t,{randombuttonicon:ke=""}=t,p=window.navigator.userAgent;B=yt(p)?"OpenGameFrame":"ShowGameModal";let g,f,y,$e,b,v,w,Me,Te,Ge,r,x,S,Fe,C=!1,_=!1,Le=!1,k="",Ee=!1,Pe=0,$=!1,Ie=!1,Re=!0,Ae=!1,Be=!1,De=!1,Oe=!1,M=!0,T=!1,He=!1,G=!1,Ne=!1,We=!1,F=!0,je=[],L="",Ue={},Ye,ze,Ve,E=[],Ze=!1,P=[],Ke=0,I="",Xe=!1;var Je,qe;({withLocale:Je,translations:qe}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(or.set(qe),ft.set(Je))}),Object.keys(Gr).forEach(e=>{lr(e,Gr[e])});const Qe=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(51,f=n.data.session),c(50,g=n.data.userID),g&&g.length&&f&&0<f.length&&R(u,f,g);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":o=`${u}/player/${g}/favorites`,s=f,g,l=n.data.id,n.data.triggerFactor,E.includes(l)&&(E=E.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),et(o,s)});break;case"SetFavoredGame":{var r=`${u}/player/${g}/favorites`;var a=f;g;var i=n.data.id;n.data.triggerFactor;E.includes(i)||E.push(i);let e={items:E},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),et(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":g&&g.length&&f&&0<f.length&&R(u,f,g);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(P=(P=rt(`searchedGamesWds_${m}`))?P.split(","):[]).indexOf(t)){let e;P.push(t),e=P.join(","),document.cookie=`searchedGamesWds_${m}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),A();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),A();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:I},window.location.href),A();break;case"CategoryVendors":I=n.data.categoryid,A();break;case"GameHovered":Be=!0;break;case"GameBlur":Be=!1}var e,o,s,l};let R=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),tt(r.items)),r)).then(e=>($&&nt(),e)).catch(e=>{console.error(e)})},et=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,$&&nt(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const tt=(e=[])=>(E=[],0<e.length&&e.forEach(e=>{E.push(e.id)}),E);const nt=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},rt=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},at=()=>{if(u&&i&&o&&(c(57,Oe=!0),L.length<2)){let e=rt("searchedGamesWds_"+m),t=[],n=(e&&(t=e.split(",")),1!=M||Re||(c(56,De=M),c(58,M=!1)),[]),r=0,a=t.length;if(0<a){for(r=0;r<a;r++){let e=new URL(u+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",i),e.searchParams.append("platform",bt(p)),n.push(((e,r)=>new Promise((t,n)=>{c(47,C=!0),r&&0<=Object.keys(Ue).indexOf(r)?(c(47,C=!1),t(Ue[r])):fetch(e).then(e=>e.json()).then(e=>{c(47,C=!1),Ue[e[0].id]=e[0],t(e[0])}).catch(e=>{c(48,_=!0),c(47,C=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(64,b=e),st(0,b)})}else st(0,{})}},it=()=>{c(57,Oe=!1),L.length<2&&!Be&&(c(55,Ae=!1),c(64,b=[]),c(54,Ie=!1),c(58,M=De),c(56,De=!1),!1===M&&window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},A=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&I&&(e[I]?c(70,Ke=e[I].length):c(70,Ke=0))},ot=()=>{c(91,F=!0),c(45,L=""),c(64,b=[]),c(54,Ie=!1),it()},st=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},lt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},ct=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},ut=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},dt=()=>{Me&&(Te=Me.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>Te||130<Te?c(63,We=!0):c(63,We=!1)},ht=()=>{c(66,v=K);var a,e={data:{itemId:v}};switch(c(55,Ae=!1),c(45,L=""),Ye=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(58,M=!0),c(53,$=!1),c(66,v=""),c(59,T=!1),c(61,G=!1);break;case"FAVORITES":c(58,M=!1),c(53,$=!0),c(59,T=!1),c(61,G=!1),c(66,v="");break;case"MOSTPLAYED":"true"==W&&(c(47,C=!0),(e=>{let t=new URL(`${u}/player/${g}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),Fe=X?t:t.href,new Promise((t,n)=>{fetch(Fe).then(e=>e.json()).then(e=>{t(e)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:bt(p),rounds:10}).then(e=>{if(c(47,C=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(u+"/casino/games/"+e.gameId);t.searchParams.append("datasource",i),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{ze=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:ze},window.location.href)})}else c(60,He=!0)}),c(66,v=""),c(58,M=!1),c(53,$=!1),c(59,T=!0));break;case"LASTPLAYED":"true"==j&&(c(47,C=!0),a={device:bt(p),period:V||"Last30Days"},new Promise((t,n)=>{let e=new URL(`${u}/player/${g}/games/last-played`);a.limit&&e.searchParams.append("limit",a.limit),a.order&&e.searchParams.append("order",a.order);var r=a.device;r?"PC"===r?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),a.period&&e.searchParams.append("period",a.period),Fe=X?e:e.href,fetch(Fe).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})}).then(e=>{if(c(47,C=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(u+"/casino/games/"+e.gameId);t.searchParams.append("datasource",i),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Ve=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:Ve},window.location.href)})}else c(62,Ne=!0)}),c(66,v=""),c(58,M=!1),c(61,G=!0),c(53,$=!1),c(59,T=!1));break;default:c(58,M=!1),c(53,$=!1),c(59,T=!1),c(61,G=!1),c(66,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},mt=e=>{Pe=0,$e=setInterval(()=>{Pe+=1,c(52,Ee=!0),3<=Pe&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval($e))},1e3)},pt=e=>{Pe<3&&c(52,Ee=!1),clearInterval($e)};return wt(()=>(window.addEventListener("scroll",dt,!1),window.addEventListener("message",Qe,!1),()=>{window.removeEventListener("scroll",dt),window.removeEventListener("message",Qe),c(52,Ee=!1),null!=y&&y.removeEventListener("mousedown",mt),null!=y&&y.removeEventListener("touchstart",mt),null!=y&&y.removeEventListener("mouseup",pt),null!=y&&y.removeEventListener("touchend",pt)})),e.$$set=e=>{"endpoint"in e&&c(0,u=e.endpoint),"datasource"in e&&c(1,i=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,n=e.userid),"clientstyling"in e&&c(6,l=e.clientstyling),"clientstylingurl"in e&&c(7,d=e.clientstylingurl),"categorybackground"in e&&c(8,O=e.categorybackground),"visiblegames"in e&&c(9,H=e.visiblegames),"alternativesearch"in e&&c(10,N=e.alternativesearch),"favorites"in e&&c(11,h=e.favorites),"mostplayed"in e&&c(83,W=e.mostplayed),"lastplayed"in e&&c(84,j=e.lastplayed),"containermaxwidth"in e&&c(12,U=e.containermaxwidth),"lobbyid"in e&&c(85,m=e.lobbyid),"haspanicbutton"in e&&c(13,Y=e.haspanicbutton),"mostplayedrounds"in e&&c(86,z=e.mostplayedrounds),"lastplayedperiod"in e&&c(87,V=e.lastplayedperiod),"filteredcategories"in e&&c(88,Z=e.filteredcategories),"activecategory"in e&&c(89,K=e.activecategory),"livecasino"in e&&c(14,X=e.livecasino),"playrandomgame"in e&&c(15,J=e.playrandomgame),"gamepagemodalurl"in e&&c(16,q=e.gamepagemodalurl),"enablecasinowinners"in e&&c(17,Q=e.enablecasinowinners),"tabsorder"in e&&c(18,ee=e.tabsorder),"enableautoscroll"in e&&c(19,te=e.enableautoscroll),"istopavailable"in e&&c(20,ne=e.istopavailable),"isrecentavailable"in e&&c(21,re=e.isrecentavailable),"integratedgameframedesktop"in e&&c(22,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(23,ie=e.integratedgameframemobile),"periodrecent"in e&&c(24,oe=e.periodrecent),"periodtop"in e&&c(25,se=e.periodtop),"numberusersrecent"in e&&c(26,le=e.numberusersrecent),"numberuserstop"in e&&c(27,ce=e.numberuserstop),"amountlimit"in e&&c(28,ue=e.amountlimit),"defaultcurrency"in e&&c(29,de=e.defaultcurrency),"enablejackpotbanner"in e&&c(30,he=e.enablejackpotbanner),"caticon0"in e&&c(31,me=e.caticon0),"caticon1"in e&&c(32,pe=e.caticon1),"caticon2"in e&&c(33,ge=e.caticon2),"caticon3"in e&&c(34,fe=e.caticon3),"backgroundsrc"in e&&c(35,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&c(36,be=e.backgroundsrcmobile),"titlelogopath"in e&&c(37,ve=e.titlelogopath),"iconlabels"in e&&c(38,we=e.iconlabels),"visualstructure"in e&&c(39,xe=e.visualstructure),"enablecollections"in e&&c(40,Se=e.enablecollections),"type"in e&&c(41,Ce=e.type),"titletype"in e&&c(42,_e=e.titletype),"randombuttonicon"in e&&c(43,ke=e.randombuttonicon)},e.$$.update=()=>{if(16384&e.$$.dirty[1]&&L&&(2<=L.length?c(91,F=!0):c(91,F=!1)),11&e.$$.dirty[0]|16384&e.$$.dirty[1]|805306368&e.$$.dirty[2])if(2<=L.length){c(55,Ae=!0);let e=new URL(u+"/casino/games");e.searchParams.append("datasource",i),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",bt(p)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+L),r=e,new Promise((t,n)=>{c(47,C=!0),fetch(r).then(e=>e.json()).then(e=>{c(47,C=!1),t(e)}).catch(e=>{c(48,_=!0),c(47,C=!1),console.error(e),n(e)})}).then(e=>{c(64,b=e),ut(0,e)})}else F||at(),Re&&c(90,Re=!1);var r,a,t;if((8&e.$$.dirty[0]|134217728&e.$$.dirty[2]&&o&&K&&ht(),49&e.$$.dirty[0]&&s&&n&&u&&(c(49,Le=!0),c(51,f=s),c(50,g=n),g&&g.length&&f&&0<f.length&&R(u,f,g)),1035&e.$$.dirty[0]&&u&&i&&o&&N)&&(u||(k="Endpoint is missing! Please provide a valid endpointURL.",c(48,_=!0),c(47,C=!1),console.error(k)),i||(k="Datasource is missing! Please provide a valid datasource.",c(48,_=!0),c(47,C=!1),console.error(k)),(!o||o.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",c(48,_=!0),c(47,C=!1),console.error(k)),!_)){c(47,C=!0),"true"==h&&R(u,f,g),t=o,ft.set(t);let e=new URL(u+"/casino/groups/"+i);e.searchParams.append("language",o),e.searchParams.append("platform",bt(p)),a=e,new Promise((t,n)=>{c(47,C=!0),fetch(a).then(e=>e.json()).then(e=>{c(47,C=!1),t(e)}).catch(e=>{c(48,_=!0),c(47,C=!1),console.error(e),n(e)})}).then(e=>{let r=Z.split(",");e&&(Ge=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,Z))for(var n of r)e.flags==n&&(t=!1);return t}),c(65,je=Ge.map(e=>e.id)),c(47,C=!1))}),"PC"!==bt(p)&&(x.addEventListener("focusin",e=>{c(69,Ze=!0)}),x.addEventListener("focusout",e=>{c(69,Ze=!1)})),A(),(Me=w)&&(Te=Me.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(Xe&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Xe=!1),64&e.$$.dirty[0]&&l){let e=document.createElement("style");e.innerHTML=l,S.appendChild(e)}if(128&e.$$.dirty[0]&&d){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,S&&setTimeout(()=>{S.appendChild(t)},1)})}8192&e.$$.dirty[1]&&y&&(null!=y&&y.addEventListener("mousedown",mt,!1),null!=y&&y.addEventListener("touchstart",mt,!1),null!=y&&y.addEventListener("mouseup",pt,!1),null!=y&&y.addEventListener("touchend",pt,!1))},[u,i,D,o,s,n,l,d,O,H,N,h,U,Y,X,J,q,Q,ee,te,ne,re,ae,ie,oe,se,le,ce,ue,de,he,me,pe,ge,fe,ye,be,ve,we,xe,Se,Ce,_e,ke,y,L,B,C,_,Le,g,f,Ee,$,Ie,Ae,De,Oe,M,T,He,G,Ne,We,b,je,v,w,x,Ze,Ke,S,a,p,R,at,it,()=>{window.postMessage({type:"scroll"},window.location.href)},ot,lt,ct,(e,t)=>{I=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:H,receivedFavoriteResults:r},window.location.href)},ut,W,j,m,z,V,Z,K,Re,F,function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{y=e,c(44,y)})},function(e){gt[e?"unshift":"push"](()=>{S=e,c(71,S)})}]}class bo extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.CasinoWinners{background:transparent;width:100%;min-height:200px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=\"search\"]{appearance:none}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",j(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},yo,po,d,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:83,lastplayed:84,containermaxwidth:12,lobbyid:85,haspanicbutton:13,mostplayedrounds:86,lastplayedperiod:87,filteredcategories:88,activecategory:89,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablecasinowinners:17,tabsorder:18,enableautoscroll:19,istopavailable:20,isrecentavailable:21,integratedgameframedesktop:22,integratedgameframemobile:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:28,defaultcurrency:29,enablejackpotbanner:30,caticon0:31,caticon1:32,caticon2:33,caticon3:34,backgroundsrc:35,backgroundsrcmobile:36,titlelogopath:37,iconlabels:38,visualstructure:39,enablecollections:40,type:41,titletype:42,randombuttonicon:43},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&de(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[83]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[84]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[85]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[86]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[87]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[88]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[89]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[17]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[18]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[19]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[20]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[21]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[28]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[29]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get enablejackpotbanner(){return this.$$.ctx[30]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get caticon0(){return this.$$.ctx[31]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[32]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[33]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[34]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[35]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[36]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[37]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[38]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[39]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get enablecollections(){return this.$$.ctx[40]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[41]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[42]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[43]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-page")||customElements.define("casino-page",bo),bo});
31
31
  //# sourceMappingURL=casino-page.js.map