@everymatrix/casino-lobby 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-lobby.js +1 -1
- package/dist/casino-lobby.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-lobby.js
CHANGED
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
<span id=${t} class="${e}">
|
|
30
30
|
${n}
|
|
31
31
|
</span>
|
|
32
|
-
`},X,f,b,v,w,x,ne,S,k,F,M,E,T,_,I,L,me,ge,function(e){pt[e?"unshift":"push"](()=>{s=e,o(19,s)})},()=>be(r),()=>ye(r),()=>be(r),function(e){pt[e?"unshift":"push"](()=>{g=e,o(14,g)})},function(e){pt[e?"unshift":"push"](()=>{l=e,o(11,l)})}]}function aa(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function oa(e,t,n){const r=e.slice();return r[78]=t[n],r[81]=t,r[80]=n,r}function sa(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function la(e){let n;function r(e){return e[15]?ha:e[25]?ua:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function ca(e){let n,r,i;function a(e){return e[19]?_a:e[16].length?Ea:Ta}let o=a(e),s=o(e);function l(e){return e[16]?La:Ia}let c=l(e),d=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(gt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(gt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,i),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&he(n),s.d(),d.d()}}}function da(e){let n;function r(e){return e[21]?Ra:Ba}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function ua(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f=n[29]("gamesCategorySection.favorites")+"",y=n[28].items.length+"";function b(e){return e[28]?ma:pa}let v=b(n),w=v(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(f),s=ge(),l=pe("span"),c=me("("),d=me(y),u=me(")"),h=ge(),p=pe("ul"),w.c(),fe(l,"class","CategoryFavName"),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(p,"class",m=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(p,"part",g=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(a,s),de(a,l),de(l,c),de(l,d),de(l,u),n[49](a),de(r,h),de(r,p),w.m(p,null),n[50](p)},p(e,t){536870912&t[0]&&f!==(f=e[29]("gamesCategorySection.favorites")+"")&&ye(o,f),268435456&t[0]&&y!==(y=e[28].items.length+"")&&ye(d,y),v===(v=b(e))&&w?w.p(e,t):(w.d(1),(w=v(e))&&(w.c(),w.m(p,null))),268435456&t[0]&&m!==(m=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(p,"class",m),268435456&t[0]&&g!==(g=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(p,"part",g)},d(e){e&&he(r),n[49](null),w.d(),n[50](null)}}}function ha(n){let r,i,a,o,s,l,c=n[15].name+"",d=n[17]&&Sa(n);function u(e){return 0!==e[16].length?Fa:ka}let h=u(n),p=h(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(c),s=ge(),d&&d.c(),l=ge(),p.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),n[45](a),de(i,s),d&&d.m(i,null),de(r,l),p.m(r,null)},p(e,t){32768&t[0]&&c!==(c=e[15].name+"")&&ye(o,c),e[17]?d?d.p(e,t):((d=Sa(e)).c(),d.m(i,null)):d&&(d.d(1),d=null),h===(h=u(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null)))},d(e){e&&he(r),n[45](null),d&&d.d(),p.d()}}}function pa(e){let n,r,i=e[29]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ma(t){let r,i=t[28].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=Ca(aa(t,i,e));let o=null;return i.length||(o=ga(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(2113933311&n[0]|1&n[1]){let e;for(i=t[28].items,e=0;e<i.length;e+=1){const o=aa(t,i,e);a[e]?a[e].p(o,n):(a[e]=Ca(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=ga(t)).c(),o.m(r.parentNode,r))}},d(e){G(a,e),e&&he(r),o&&o.d(e)}}}function ga(e){let n,r,i,a,o,s,l,c,t,d,u=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,gt(m[30])?ya:fa),p=h(e);var m;return{c(){n=pe("p"),r=F("svg"),i=F("path"),a=ge(),o=pe("span"),s=me(u),l=ge(),p.c(),c=ge(),P(i,"fill","white"),fe(i,"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"),P(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 "+(gt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(gt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(n,a),de(n,o),de(o,s),de(n,l),p.m(n,null),de(n,c)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),p.p(e,t)},d(e){e&&he(n),p.d()}}}function fa(e){let n,r,i=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ya(e){let n,r,i=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ba(e){let n,r=e[78].gameModel.isFavorite&&va(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel.isFavorite?r?r.p(e,t):((r=va(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function va(e){let n,r=function(e){let n,r,i;function a(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!gt(e[30]):n)?$a:(r=null==r?!!e[78].gameModel.platform.includes("PC"):r)?wa:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),ue(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function wa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){x(n=pe("casino-game-thumbnail"),"class",r=""+(w+(e[78].cellSize||"1x1"))),x(n,"part",i=""+(w+(e[78].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[78].gameModel.thumbnail),x(n,"gamename",o=e[78].gameModel.name),x(n,"gamevendor",s=e[78].gameModel.vendor.name),x(n,"gameisnew",l=e[78].gameModel.isNew),x(n,"gametag",c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags)),x(n,"gamecellsize",d=e[78].cellSize),x(n,"gameid",u=e[78].gameModel.id),x(n,"gamefunmode",h=e[78].gameModel.hasFunMode),x(n,"gamefavorite",p=e[78].gameModel.isFavorite),x(n,"showfavoredcategory",e[25]),x(n,"connectlive",m=1==e[26][e[78].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[27]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(w+(e[78].cellSize||"1x1")))&&x(n,"class",r),268435456&t[0]&&i!==(i=""+(w+(e[78].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[78].gameModel.thumbnail)&&x(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&x(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&x(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&x(n,"gameisnew",l),268435456&t[0]&&c!==(c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags))&&x(n,"gametag",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&x(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&x(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&x(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[78].gameModel.isFavorite)&&x(n,"gamefavorite",p),33554432&t[0]&&x(n,"showfavoredcategory",e[25]),335544320&t[0]&&m!==(m=1==e[26][e[78].id]?"connect":"disconnect")&&x(n,"connectlive",m),134217728&t[0]&&x(n,"visibilityconnect",e[27]),128&t[0]&&x(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(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"),i=r&&xa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(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)?i?i.p(e,t):((i=xa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function xa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){x(n=pe("casino-game-thumbnail"),"class",r=""+(w+(e[78].cellSize||"1x1"))),x(n,"part",i=""+(w+(e[78].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[78].gameModel.thumbnail),x(n,"gamename",o=e[78].gameModel.name),x(n,"gamevendor",s=e[78].gameModel.vendor.name),x(n,"gameisnew",l=e[78].gameModel.isNew),x(n,"gametag",c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags)),x(n,"gamecellsize",d=e[78].cellSize),x(n,"gameid",u=e[78].gameModel.id),x(n,"gamefunmode",h=e[78].gameModel.hasFunMode),x(n,"gamefavorite",p=e[78].gameModel.isFavorite),x(n,"showfavoredcategory",e[25]),x(n,"connectlive",m=1==e[26][e[78].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[27]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(w+(e[78].cellSize||"1x1")))&&x(n,"class",r),268435456&t[0]&&i!==(i=""+(w+(e[78].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[78].gameModel.thumbnail)&&x(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&x(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&x(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&x(n,"gameisnew",l),268435456&t[0]&&c!==(c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags))&&x(n,"gametag",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&x(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&x(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&x(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[78].gameModel.isFavorite)&&x(n,"gamefavorite",p),33554432&t[0]&&x(n,"showfavoredcategory",e[25]),335544320&t[0]&&m!==(m=1==e[26][e[78].id]?"connect":"disconnect")&&x(n,"connectlive",m),134217728&t[0]&&x(n,"visibilityconnect",e[27]),128&t[0]&&x(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ca(e){let n,r=e[78].gameModel&&ba(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel?r?r.p(e,t):((r=ba(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Sa(n){let r,i,a,o,s,l,c,d,u=n[29]("gamesCategorySection.viewAll")+"",h=n[15].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(u),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(i,l),c||(d=V(r,"click",n[46]),c=!0)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.viewAll")+"")&&ye(a,u),32768&t[0]&&h!==(h=e[15].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,d()}}}function ka(e){let n;return{c(){(n=pe("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Fa(n){let r,e,i,a=n[16],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ma(oa(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[48](r)},p(t,n){if(201404415&n[0]|1&n[1]){let e;for(a=t[16],e=0;e<a.length;e+=1){const i=oa(t,a,e);o[e]?o[e].p(i,n):(o[e]=Ma(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}301989888&n[0]&&e!==(e=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),301989888&n[0]&&i!==(i=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),G(o,e),n[48](null)}}}function Ma(e){let n,r=function(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y=n[80];const b=()=>n[47](r,y),v=()=>n[47](null,y);return{c(){x(r=pe("casino-game-thumbnail"),"session",n[2]),x(r,"userid",n[3]),x(r,"lang",n[1]),x(r,"class",i=""+(w+(n[78].cellSize||"1x1"))),x(r,"part",a=""+(w+(n[78].cellSize||"1x1"))),x(r,"favorites",n[4]),x(r,"gamethumbnail",o=n[78].thumbnail),x(r,"gamename",s=n[78].name),x(r,"gamevendor",l=n[78].vendor.name),x(r,"gameisnew",c=n[78].isNew),x(r,"gametag",d=0<n[78].advancedTags?.length&&n[31](n[78].advancedTags)),x(r,"gamecellsize",u=n[78].cellSize),x(r,"gameid",h=n[78].id),x(r,"gamefunmode",p=n[78].hasFunMode),x(r,"gamefavorite",m=n[78].isFavorite),x(r,"connectlive",g=1==n[26][n[78].id]?"connect":"disconnect"),x(r,"visibilityconnect",n[27]),x(r,"currency",n[7]),x(r,"livelobbyendpoint",f=n[78].details?n[78].href:""),x(r,"clientstyling",n[5]),x(r,"clientstylingurl",n[6]),x(r,"endpoint",n[0]),x(r,"livecasino",n[8]),x(r,"gamepagemodalurl",n[9]),x(r,"integratedgameframedesktop",n[10]),x(r,"integratedgameframemobile",n[11])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,4&t[0]&&x(r,"session",n[2]),8&t[0]&&x(r,"userid",n[3]),2&t[0]&&x(r,"lang",n[1]),65536&t[0]&&i!==(i=""+(w+(n[78].cellSize||"1x1")))&&x(r,"class",i),65536&t[0]&&a!==(a=""+(w+(n[78].cellSize||"1x1")))&&x(r,"part",a),16&t[0]&&x(r,"favorites",n[4]),65536&t[0]&&o!==(o=n[78].thumbnail)&&x(r,"gamethumbnail",o),65536&t[0]&&s!==(s=n[78].name)&&x(r,"gamename",s),65536&t[0]&&l!==(l=n[78].vendor.name)&&x(r,"gamevendor",l),65536&t[0]&&c!==(c=n[78].isNew)&&x(r,"gameisnew",c),65536&t[0]&&d!==(d=0<n[78].advancedTags?.length&&n[31](n[78].advancedTags))&&x(r,"gametag",d),65536&t[0]&&u!==(u=n[78].cellSize)&&x(r,"gamecellsize",u),65536&t[0]&&h!==(h=n[78].id)&&x(r,"gameid",h),65536&t[0]&&p!==(p=n[78].hasFunMode)&&x(r,"gamefunmode",p),65536&t[0]&&m!==(m=n[78].isFavorite)&&x(r,"gamefavorite",m),67174400&t[0]&&g!==(g=1==n[26][n[78].id]?"connect":"disconnect")&&x(r,"connectlive",g),134217728&t[0]&&x(r,"visibilityconnect",n[27]),128&t[0]&&x(r,"currency",n[7]),65536&t[0]&&f!==(f=n[78].details?n[78].href:"")&&x(r,"livelobbyendpoint",f),32&t[0]&&x(r,"clientstyling",n[5]),64&t[0]&&x(r,"clientstylingurl",n[6]),1&t[0]&&x(r,"endpoint",n[0]),256&t[0]&&x(r,"livecasino",n[8]),512&t[0]&&x(r,"gamepagemodalurl",n[9]),1024&t[0]&&x(r,"integratedgameframedesktop",n[10]),2048&t[0]&&x(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=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ea(e){let n,r,i=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ta(e){let n,r,i=e[29]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function _a(e){let n,r,i=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ia(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function La(t){let r,i,a=!t[22]&&Ga(t),o=t[16],s=[];for(let e=0;e<o.length;e+=1)s[e]=Pa(sa(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),ue(e,r,t),ue(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[22]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ga(t)).c(),a.m(r.parentNode,r)),1118207&n[0]|1&n[1]){let e;for(o=t[16],e=0;e<o.length;e+=1){const a=sa(t,o,e);s[e]?s[e].p(a,n):(s[e]=Pa(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&he(r),e&&he(i),G(s,e)}}}function Ga(e){let n,r,t,i,a=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(gt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(gt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Pa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m;return{c(){x(n=pe("casino-game-thumbnail"),"class",r=""+(w+(e[78].cellSize||"1x1"))),x(n,"part",i=""+(w+(e[78].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"searchitem",e[20]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[78].thumbnail),x(n,"gamename",o=e[78].name),x(n,"gamevendor",s=e[78].vendor.name),x(n,"gameisnew",l=e[78].isNew),x(n,"gametag",c=0<e[78].advancedTags?.length&&e[31](e[78].advancedTags)),x(n,"gamecellsize",d=e[78].cellSize),x(n,"gameid",u=e[78].id),x(n,"gamefunmode",h=e[78].hasFunMode),x(n,"gamefavorite",p=e[78].isFavorite),x(n,"currency",e[7]),x(n,"livelobbyendpoint",m=e[78].details?e[78].href:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){65536&t[0]&&r!==(r=""+(w+(e[78].cellSize||"1x1")))&&x(n,"class",r),65536&t[0]&&i!==(i=""+(w+(e[78].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),1048576&t[0]&&x(n,"searchitem",e[20]),16&t[0]&&x(n,"favorites",e[4]),65536&t[0]&&a!==(a=e[78].thumbnail)&&x(n,"gamethumbnail",a),65536&t[0]&&o!==(o=e[78].name)&&x(n,"gamename",o),65536&t[0]&&s!==(s=e[78].vendor.name)&&x(n,"gamevendor",s),65536&t[0]&&l!==(l=e[78].isNew)&&x(n,"gameisnew",l),65536&t[0]&&c!==(c=0<e[78].advancedTags?.length&&e[31](e[78].advancedTags))&&x(n,"gametag",c),65536&t[0]&&d!==(d=e[78].cellSize)&&x(n,"gamecellsize",d),65536&t[0]&&u!==(u=e[78].id)&&x(n,"gameid",u),65536&t[0]&&h!==(h=e[78].hasFunMode)&&x(n,"gamefunmode",h),65536&t[0]&&p!==(p=e[78].isFavorite)&&x(n,"gamefavorite",p),128&t[0]&&x(n,"currency",e[7]),65536&t[0]&&m!==(m=e[78].details?e[78].href:"")&&x(n,"livelobbyendpoint",m),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ba(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Ra(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Aa(n){let r;function i(e){return e[14]?da:e[18]?ca:la}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[51](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[51](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ia,Qi,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","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[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}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 translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}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[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const w="game-tile-";function Da(e,t,s){let R;yt(e,Xr,e=>s(29,R=e));let n,i,a,r,A,o,l,c,d,u,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:H=""}=t,{userid:N=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:O=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:W=""}=t,{gamepagemodalurl:z="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{once:Z=!0}=t,{top:J=0}=t,{bottom:K=0}=t,{left:X=0}=t,{right:q=0}=t,w=!1,$=!0,Q=window.navigator.userAgent,x=[],C=!0,S=40,k=!1,F=!1,ee=!1,M=!1,E=!1,T=!0,_=!1,I=!1,te=!1,L=new Array(1e4),G={},ne="",P={items:[],count:0,name:""},re=(Object.keys(ki).forEach(e=>{Si(e,ki[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>S&&oe(v),s(26,G[t]=1,G)):s(26,G[t]=0,G)})}));const ie=(e,r,i,t=0)=>{let n,a="",o=(a=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${p}/${n}/subGroups`)):new URL(`${h}/casino/groups/${p}/`+v),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",ft(Q)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===$&&!1===_){let t="";s(21,E=!0),o[v].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(21,E=!1);fetch(a).then(e=>e.json()).then(e=>{1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),s(44,u=!0),s(14,w=!1),A=e.games.total,t(e)},e=>{s(14,w=!0),console.error(e),n(e)})})},ae=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(18,k=!1),$=!1,s(17,C=!1),I=!0,s(16,x=t.data.mostPlayedGames),s(15,a={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(18,k=!1),$=!1,s(17,C=!1),I=!1,s(16,x=t.data.lastPlayedGames),s(15,a={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(18,k=!0),I=!1,s(19,F=!0),0<t.data.searchData.length?(s(16,x=t.data.searchData),s(22,T=!0),x&&x.forEach(e=>{e.isFavorite=B(e.id)})):(s(16,x=[]),s(22,T=!1));break;case"OutOfRecentSearches":s(18,k=!1),s(19,F=!1);break;case"SearchData":s(18,k=!0),I=!1,s(19,F=!1),s(16,x=t.data.searchData.items||[]),s(20,M=!0),t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+v:s(18,k=!1),$=!0,s(17,C=!0),s(20,M=!1),I=!1,te=!1,t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),ie(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(15,a=e),s(16,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":s(18,k=!1),$=!1,s(20,M=!1),I=!1,te=!0,s(33,v=t.data.itemId),"MOSTPLAYED"!==v&&s(17,C=!1),ie(0,0,S).then(e=>{s(15,a=e),a.games.items.forEach(e=>{e.isFavorite=B(e.id)}),s(16,x=a.games.items),s(17,C=!1),x.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":I=!1,$=!0,s(16,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)});break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(l=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;_?$||I||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;$=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,P.items=qr(e,P.items),P),s(28,P.name="Favorites",P),s(25,_=!0));break;case"UserSessionID":if(n=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&n&&0<n.length){var r=`${h}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l=e?e.items:[],x.forEach(e=>{e.isFavorite=B(e.id)});e=x;s(16,x=void 0),s(16,x=e),t(l)}).catch(e=>{console.error(e),n(e)})})}}},oe=e=>{(S+=1)<=A&&ie(0,0,S).then(e=>{s(15,a=e),a.games.items.length>x.length&&(s(16,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)}))})},B=t=>!!l&&-1!==l.findIndex(e=>e.id==t),se=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return bt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?s(27,ne="disconnect"):s(27,ne="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(34,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(35,p=e.datasource),"lang"in e&&s(1,m=e.lang),"session"in e&&s(2,H=e.session),"userid"in e&&s(3,N=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),"translationurl"in e&&s(36,b=e.translationurl),"currency"in e&&s(7,O=e.currency),"categoryid"in e&&s(33,v=e.categoryid),"categorygames"in e&&s(37,j=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(38,W=e.visiblegames),"gamepagemodalurl"in e&&s(9,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,V=e.integratedgameframemobile),"once"in e&&s(39,Z=e.once),"top"in e&&s(40,J=e.top),"bottom"in e&&s(41,K=e.bottom),"left"in e&&s(42,X=e.left),"right"in e&&s(43,q=e.right)},e.$$.update=()=>{if(8192&e.$$.dirty[0]|8192&e.$$.dirty[1]&&u&&L&&te&&L.forEach((e,t)=>{e&&(e.elems_index=t,re.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Si(e,t[e])})}).catch(e=>{console.log(e)}),4128&e.$$.dirty[0]&&f&&c){let e=document.createElement("style");e.innerHTML=f,c.appendChild(e)}if(4160&e.$$.dirty[0]&&y&&c){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1)})}},[h,m,H,N,g,f,y,O,U,z,Y,V,c,L,w,a,x,C,k,F,M,E,T,r,o,_,G,ne,P,R,Q,r=>{if(0===(null==r?void 0:r.length))return"";let i,a,o=99999999999;const s=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ei(e).diff(s)<o&&(o=Ei(e).diff(s),a=t),Ei(s).isAfter(n)&&Ei(s).isBefore(e)&&(i=r[a].name)}),i},se,v,D,p,b,j,W,Z,J,K,X,q,u,function(e){pt[e?"unshift":"push"](()=>{o=e,s(24,o)})},e=>se(a.id),function(e,t){pt[e?"unshift":"push"](()=>{L[t]=e,s(13,L)})},function(e){pt[e?"unshift":"push"](()=>{r=e,s(23,r)})},function(e){pt[e?"unshift":"push"](()=>{o=e,s(24,o)})},function(e){pt[e?"unshift":"push"](()=>{r=e,s(23,r)})},function(e){pt[e?"unshift":"push"](()=>{c=e,s(12,c)})}]}function Ha(e,t){Ir(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Da,Aa,t,{categoryindex:34,endpoint:0,datasource:35,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,translationurl:36,currency:7,categoryid:33,categorygames:37,livecasino:8,visiblegames:38,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:39,top:40,bottom:41,left:42,right:43},null,[-1,-1,-1]),e&&(e.target&&ue(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","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[34]}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[35]}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 translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[33]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[37]}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[38]}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[39]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[40]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[41]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[42]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[43]}set right(e){this.$$set({right:e}),f()}});const Na={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 Oa(e,t,n){const r=e.slice();return r[34]=t[n],r[36]=n,r}function ja(n){let r,i,a,o,s,l,c,d=!n[7]&&Ua(n),u=n[7]&&za(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("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(),d&&d.c(),s=ge(),u&&u.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),d&&d.m(i,null),de(i,s),u&&u.m(i,null),l||(c=V(a,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Ua(e)).c(),d.m(i,s)),e[7]?u?u.p(e,t):((u=za(e)).c(),u.m(i,null)):u&&(u.d(1),u=null)},d(e){e&&he(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Ua(t){let n,r,i,a,o,s,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Wa(Oa(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),P(i,"transform","translateY("+t[6]+"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){ue(e,n,t),de(n,r),de(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);de(n,a),de(n,o),de(o,s)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var r=Oa(t,l,e);c[e]?c[e].p(r,n):(c[e]=Wa(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&P(i,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),G(c,e)}}}function Wa(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[34].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[34].name),fe(r,"title",o=e[34].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){16&t[0]&&!ce(r.src,i=e[34].thumbnail)&&fe(r,"src",i),16&t[0]&&a!==(a=e[34].name)&&fe(r,"alt",a),16&t[0]&&o!==(o=e[34].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function za(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C=n[3].name+"",S=n[3].vendor.name+"",k=n[8]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),(d=pe("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>',u=ge(),h=pe("div"),p=pe("p"),m=me(C),g=ge(),f=pe("p"),y=me(S),b=ge(),v=pe("button"),w=me(k),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[3].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[3].name),fe(a,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"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){ue(e,r,t),de(r,i),de(i,a),de(i,c),de(i,d),de(r,u),de(r,h),de(h,p),de(p,m),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),$||(x=[V(d,"click",n[20]),V(v,"click",n[21])],$=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3].thumbnail)&&fe(a,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(a,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(a,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(m,C),8&t[0]&&S!==(S=e[3].vendor.name+"")&&ye(y,S),256&t[0]&&k!==(k=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,k)},d(e){e&&he(r),$=!1,Y(x)}}}function Ya(e){let n,r,i=e[8]("randomGame.playRandomGame")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&i!==(i=e[8]("randomGame.playRandomGame")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Va(e){let n,r;return{c(){n=pe("span"),r=me(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t[0]&&ye(r,e[1])},d(e){e&&he(n)}}}function Za(n){let r,i,a,o,s,l,c,d,u=n[5]&&ja(n);function h(e){return e[1]?Va:e[1]?void 0:Ya}let p=h(n),m=p&&p(n);return{c(){r=pe("div"),u&&u.c(),i=ge(),a=pe("div"),o=pe("button"),m&&m.c(),s=ge(),l=pe("span"),this.c=z,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(o,"part","RandomButton"),fe(a,"class","RandomButtonWrapper"),fe(a,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),u&&u.m(r,null),de(r,i),de(r,a),de(a,o),m&&m.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](r),c||(d=V(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=ja(e)).c(),u.m(r,i)):u&&(u.d(1),u=null),p===(p=h(e))&&m?m.p(e,t):(m&&m.d(1),(m=p&&p(e))&&(m.c(),m.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:z,o:z,d(e){e&&he(r),u&&u.d(),m&&m.d(),n[23](null),c=!1,d()}}}function Ja(t,e,n){let r;yt(t,Xr,e=>n(8,r=e));let i,a,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:m=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,$=!1,x=window.navigator.userAgent;var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(S),mt.set(C))}),Object.keys(Na).forEach(e=>{Ha(e,Na[e])});const k=()=>{n(4,i=M(i)),n(6,v=0),w=0,n(7,$=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)},F=e=>{if(g)for(;k(),!g.includes(y.vendor.name););else k();let t=setInterval(()=>{n(6,v-=100),20==++w&&(n(7,$=!0),clearInterval(t))},100);e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})},M=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},E=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,o=e.endpoint),"datasource"in e&&n(13,s=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,h=e.translationurl),"clientstyling"in e&&n(17,p=e.clientstyling),"clientstylingurl"in e&&n(18,m=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,g=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,mt.set(e)),65536&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ha(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&o&&s){let e=new URL(o+"/casino/games");e.searchParams.append("platform",ft(x)),e.searchParams.append("datasource",s),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=>{f=e.items,n(4,i=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&p&&a){let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)}if(262148&t.$$.dirty[0]&&m&&a){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[d,u,a,y,i,b,v,$,r,F,E,()=>{n(5,b=!1)},o,s,l,c,h,p,m,g,()=>F(!0),()=>E(),()=>F(),function(e){pt[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}function Ka(e,t){Ir(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ja,Za,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}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 gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}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()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const Xa={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[60]=t[n],r}function Qa(e,t,n){const r=e.slice();return r[63]=t[n],r}function eo(n){let i,r,a,o,s,l,c,d,e,u,h,p,m,g,f,y,b,v,w,$,x=n[14],C=[];for(let e=0;e<x.length;e+=1)C[e]=io(Qa(n,x,e));let S=n[8],k=[];for(let e=0;e<S.length;e+=1)k[e]=ao(qa(n,S,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<C.length;e+=1)C[e].c();o=ge(),s=pe("div"),l=pe("button"),c=F("svg"),d=F("path"),u=ge(),h=pe("button"),p=F("svg"),m=F("path"),y=ge(),b=pe("div");for(let e=0;e<k.length;e+=1)k[e].c();fe(a,"class","WinnerButtonsContainer"),fe(d,"style",e=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"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(m,"style",g=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[10]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a);for(let e=0;e<C.length;e+=1)C[e].m(a,null);de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,h),de(h,p),de(p,m),de(i,y),de(i,b);for(let e=0;e<k.length;e+=1)k[e].m(b,null);n[40](b),w||($=[V(l,"click",n[37]),V(h,"click",n[38])],w=!0)},p(t,n){if(114819&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var r=Qa(t,x,e);C[e]?C[e].p(r,n):(C[e]=io(r),C[e].c(),C[e].m(a,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=x.length}if(768&n[0]&&e!==(e=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),768&n[0]&&g!==(g=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(s,"class",f),436492&n[0]){let e;for(S=t[8],e=0;e<S.length;e+=1){const a=qa(t,S,e);k[e]?k[e].p(a,n):(k[e]=ao(a),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=S.length}1024&n[0]&&v!==(v="CasinoWinners "+(t[10]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),G(C,e),G(k,e),n[40](null),w=!1,Y($)}}}function to(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function no(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[7]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),o||(s=V(r,"click",n[35]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),129&t[0]&&a!==(a="WinnersButton "+("recent"==e[7]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function ro(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[7]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),de(r,a),s||(l=V(r,"click",n[36]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),130&t[0]&&o!==(o="WinnersButton "+("top"==e[7]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function io(e){let n,r,i="recent"==e[63]&&no(e),a="top"==e[63]&&ro(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[63]?i?i.p(e,t):((i=no(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[63]?a?a.p(e,t):((a=ro(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function ao(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S,k,F,M=n[60].gameName+"",E=n[17](n[60].username)+"",T=n[15]("Translations.won")+"",_=n[60].specifiedCurrencyAmount.toFixed(2)+"",I=(n[11]?n[3]:n[2])+"";function L(){return n[39](n[60])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),d=me(M),u=ge(),h=pe("p"),p=me(E),m=ge(),g=pe("p"),f=me(T),y=ge(),b=pe("p"),v=me(_),w=ge(),$=pe("span"),x=me(I),C=ge(),ce(a.src,o=n[60]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[60]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,l),de(i,c),de(c,d),de(i,u),de(i,h),de(h,p),de(i,m),de(i,g),de(g,f),de(i,y),de(i,b),de(b,v),de(b,w),de(b,$),de($,x),de(r,C),k||(F=V(a,"click",L),k=!0)},p(e,t){n=e,256&t[0]&&!ce(a.src,o=n[60]?.gameModel?.thumbnail)&&fe(a,"src",o),256&t[0]&&s!==(s=n[60]?.gameModel?.thumbnail)&&fe(a,"alt",s),256&t[0]&&M!==(M=n[60].gameName+"")&&ye(d,M),256&t[0]&&E!==(E=n[17](n[60].username)+"")&&ye(p,E),32768&t[0]&&T!==(T=n[15]("Translations.won")+"")&&ye(f,T),256&t[0]&&_!==(_=n[60].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,_),2060&t[0]&&I!==(I=(n[11]?n[3]:n[2])+"")&&ye(x,I),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&he(r),k=!1,F()}}}function oo(n){let r;function i(e){return e[12]?to:eo}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[41](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[41](null)}}}function so(t,e,r){let n;yt(t,Xr,e=>r(15,n=e));let i,a,o,s,R,l,A,c,d,u,{endpoint:h=""}=e,{session:p=""}=e,{userid:m=""}=e,{periodrecent:g="Today"}=e,{periodtop:f="Last7Days"}=e,{numberusersrecent:y="20"}=e,{numberuserstop:b="20"}=e,{amountlimit:v="1"}=e,{lang:w="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:C=""}=e,{usercurrency:S=""}=e,{clientstyling:k=""}=e,{clientstylingurl:F=""}=e,{enableautoscroll:M=""}=e,{tabsorder:E=""}=e,{translationurl:T=""}=e,_=[],I=0,L=0,D=window.navigator.userAgent,H=!0,G=!1;Object.keys(Xa).forEach(e=>{Ka(e,Xa[e])});const N=()=>{const e=new URL(`${h}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?y:b),e.searchParams.append("specifiedCurrency",u),e.searchParams.append("period","recent"==a?g:f),e.searchParams.append("language",w),e.searchParams.append("amountLimit",v),fetch(e.href).then(e=>e.json()).then(e=>{r(8,_=[]),r(8,_=e.items.map(e=>e)),r(12,H=!1),setTimeout(()=>{r(9,L=Math.round(i.offsetWidth/225)),j(),"true"==M&&(I=0,L<A?c=setInterval(()=>{B()},3e3):clearInterval(c))})})},P=e=>{a!==e&&(r(7,a=e),r(8,_=[]),N())},O=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(R||"Not logged in")})},j=n=>{const e=[...i.children];A=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,G=!0)},10):r(13,G=!1)},U=()=>{j(I)},W=()=>{var e=_.length;L>=_.length||(0===I?I=e-L:I-L<0?I=0:I-=L,U())},B=()=>{var e=_.length;L>=_.length||("true"==M&&(I===e-L?I=0:I++),"false"==M&&(I===e-L?I=0:e-L<I+L?I=e-L:I+=L),U())},z=()=>{r(34,u=s?S:C)};return bt(()=>(r(10,o=gt(D)),()=>{clearInterval(c)})),t.$$set=e=>{"endpoint"in e&&r(22,h=e.endpoint),"session"in e&&r(23,p=e.session),"userid"in e&&r(24,m=e.userid),"periodrecent"in e&&r(25,g=e.periodrecent),"periodtop"in e&&r(26,f=e.periodtop),"numberusersrecent"in e&&r(27,y=e.numberusersrecent),"numberuserstop"in e&&r(28,b=e.numberuserstop),"amountlimit"in e&&r(21,v=e.amountlimit),"lang"in e&&r(29,w=e.lang),"isrecentavailable"in e&&r(0,$=e.isrecentavailable),"istopavailable"in e&&r(1,x=e.istopavailable),"defaultcurrency"in e&&r(2,C=e.defaultcurrency),"usercurrency"in e&&r(3,S=e.usercurrency),"clientstyling"in e&&r(30,k=e.clientstyling),"clientstylingurl"in e&&r(31,F=e.clientstylingurl),"enableautoscroll"in e&&r(4,M=e.enableautoscroll),"tabsorder"in e&&r(32,E=e.tabsorder),"translationurl"in e&&r(33,T=e.translationurl)},t.$$.update=()=>{if(1042284547&t.$$.dirty[0]|2&t.$$.dirty[1]&&$&&x&&g&&f&&y&&b&&v&&w&&E&&(r(14,d=E.split(",")),r(7,a=d[0]),"false"==$&&r(21,v=""),z()),12582912&t.$$.dirty[0]&&p&&h&&(r(11,s=!0),R=m,z()),4194320&t.$$.dirty[0]|8&t.$$.dirty[1]&&h&&u&&M&&N(),536870912&t.$$.dirty[0]&&w&&(e=w,mt.set(e)),4&t.$$.dirty[1]&&T&&fetch(T).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ka(e,t[e])})}).catch(e=>{console.log(e)}),1073741856&t.$$.dirty[0]&&k&&l){let e=document.createElement("style");e.innerHTML=k,l.appendChild(e)}if(32&t.$$.dirty[0]|1&t.$$.dirty[1]&&F&&l){let e=new URL(F),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[$,x,C,S,M,l,i,a,_,L,o,s,H,G,d,n,P,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),O,W,B,v,h,p,m,g,f,y,b,w,k,F,E,T,u,()=>P("recent"),()=>P("top"),()=>W(),()=>B(),e=>O(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){pt[e?"unshift":"push"](()=>{i=e,r(6,i)})},function(e){pt[e?"unshift":"push"](()=>{l=e,r(5,l)})}]}function lo(e,t){Ir(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},so,oo,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,lang:29,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:30,clientstylingurl:31,enableautoscroll:4,tabsorder:32,translationurl:33},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl"]}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 userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}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[29]}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 usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[30]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[31]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[32]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[33]}set translationurl(e){this.$$set({translationurl:e}),f()}});const co={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 uo(e,t,n){const r=e.slice();return r[49]=t[n],r[51]=n,r}function ho(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v;function w(e){return e[5]?go:fo}let $=w(n),x=$(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),d=pe("div"),x.c(),u=ge(),h=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(p.src,m=n[11])||fe(p,"src",m),fe(p,"alt",""),fe(h,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(a,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,c),de(a,d),x.m(d,null),de(a,u),de(a,h),de(h,p),b||(v=V(i,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),$===($=w(e))&&x?x.p(e,t):(x.d(1),(x=$(e))&&(x.c(),x.m(d,null))),2048&t[0]&&!ce(p.src,m=e[11])&&fe(p,"src",m),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&P(a,"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),x.d(),b=!1,v()}}}function po(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function mo(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function go(e){let n,r,i,a,o,s,A,l,c,D,H,d,N,O,u,h,p,m,g,j,f,y,U,W,b,z,Y,v,w,$,x,C,S,V,k,F,Z,J,M,K,X,E,T,_,I,L,q,G,P,Q,ee,B,te,R=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ie=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),A=me(R),l=pe("span"),c=pe("span"),D=me(ne),H=ge(),d=pe("span"),N=me(e[1]),O=ge(),u=pe("div"),h=pe("div"),p=pe("img"),g=pe("span"),j=me(re),f=pe("span"),y=pe("span"),U=me(ie),W=ge(),b=pe("span"),z=me(e[1]),Y=ge(),v=pe("div"),w=pe("div"),$=pe("div"),x=pe("img"),S=pe("span"),V=me(ae),k=pe("span"),F=pe("span"),Z=me(oe),J=ge(),M=pe("span"),K=me(e[1]),X=ge(),E=pe("div"),T=pe("div"),_=pe("img"),L=pe("span"),q=me(se),G=pe("span"),P=pe("span"),Q=me(le),ee=ge(),B=pe("span"),te=me(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,m=e[9][1])||fe(p,"src",m),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(x,"class","displayCardIcon"),ce(x.src,C=e[9][2])||fe(x,"src",C),fe(x,"alt",""),fe(S,"class","cardLabel"),fe($,"class","iconWrapper"),fe(F,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(_,"class","displayCardIcon"),ce(_.src,I=e[9][3])||fe(_,"src",I),fe(_,"alt",""),fe(L,"class","cardLabel"),fe(T,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(B,"class","jackpot-currency"),fe(G,"class","cardTextWrapper"),fe(E,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(i,a),de(i,s),de(s,A),de(r,l),de(l,c),de(c,D),de(l,H),de(l,d),de(d,N),de(n,O),de(n,u),de(u,h),de(h,p),de(h,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,W),de(f,b),de(b,z),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,$),de($,x),de($,S),de(S,V),de(w,k),de(k,F),de(F,Z),de(k,J),de(k,M),de(M,K),de(v,X),de(v,E),de(E,T),de(T,_),de(T,L),de(L,q),de(E,G),de(G,P),de(P,Q),de(G,ee),de(G,B),de(B,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&R!==(R=e[8][0]+"")&&ye(A,R),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(N,e[1]),512&t[0]&&!ce(p.src,m=e[9][1])&&fe(p,"src",m),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(U,ie),2&t[0]&&ye(z,e[1]),512&t[0]&&!ce(x.src,C=e[9][2])&&fe(x,"src",C),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(K,e[1]),512&t[0]&&!ce(_.src,I=e[9][3])&&fe(_,"src",I),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(Y),e&&he(v)}}}function fo(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=yo(uo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=uo(t,a,e);o[e]?o[e].p(r,n):(o[e]=yo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function yo(e){let n,r,i,a,o,s,l,c,d,u,h,p,m=e[8][e[51]]+"",g=(e[7][e[51]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),d=me(g),u=ge(),h=pe("span"),p=me(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[9][e[51]])||fe(i,"src",a),fe(i,"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){ue(e,n,t),de(n,r),de(r,i),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p)},p(e,t){512&t[0]&&!ce(i.src,a=e[9][e[51]])&&fe(i,"src",a),256&t[0]&&m!==(m=e[8][e[51]]+"")&&ye(s,m),128&t[0]&&g!==(g=(e[7][e[51]]??"")+"")&&ye(d,g),2&t[0]&&ye(p,e[1])},d(e){e&&he(n)}}}function bo(n){let r;function i(e){return e[13]?mo:e[3]?po:ho}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[33](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[33](null)}}}function vo(n,e,r){let t;yt(n,Xr,e=>r(14,t=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:$=""}=e,{gameid:x=""}=e,R=window.navigator.userAgent,C=!1,S=!1,k="",F=[],M=[],E=[],T=[],_=[],I="",L="",G=!1,P=!0,A=!1;Object.keys(co).forEach(e=>{lo(e,co[e])});const B=["typeSpread","typeLeft"],D=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};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,d=e.caticon2),"caticon3"in e&&r(20,u=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,p=e.backgroundsrc),"currency"in e&&r(1,m=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),"translationurl"in e&&r(28,w=e.translationurl),"endpoint"in e&&r(29,$=e.endpoint),"gameid"in e&&r(30,x=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&$&&(t=new URL($+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(31,M=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&i&&b){let e=document.createElement("style");e.innerHTML=b,i.appendChild(e)}if(134217732&n.$$.dirty[0]&&i&&v){r(12,G=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{r(12,G=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&$&&y&&m&&0<M.length&&($&&y&&m)){let e=new URL($+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",m),fetch(e.href).then(e=>e.json().then(e=>{r(3,P=!1),a=e,M.includes(x)&&((e=null==(e=null==(e=a)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),r(6,k=a.items[0].vendorLogo))}).catch(e=>{r(13,A=!0),r(3,P=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&m&&y&&!P&&(r(4,C=gt(R)&&1<window.innerHeight/window.innerWidth),r(5,S=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&r(7,E=F.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("")),B.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 "${B[0]}"`),r(0,o=B[0])),r(10,I=g&&C&&!S?g:p),r(11,L=f),r(9,_=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,mt.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{lo(e,t[e])})}).catch(e=>{console.log(e)})},[o,m,i,P,C,S,k,E,T,_,I,L,G,A,t,D,s,l,c,d,u,h,p,g,f,y,b,v,w,$,x,M,()=>D(),function(e){pt[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}function wo(e,t){Ir(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends i{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>',r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},vo,bo,t,{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,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(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","translationurl","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 translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const $o={en:{Translations:{collections:"Game Collections",providers:"Game Providers"}},zh:{Translations:{collections:"Game Collections",providers:"Game Providers"}},de:{Translations:{collections:"Game Collections",providers:"Game Providers"}},it:{Translations:{collections:"Game Collections",providers:"Game Providers"}},fr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},es:{Translations:{collections:"Game Collections",providers:"Game Providers"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers"}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers"}}};function xo(e,t,n){const r=e.slice();return r[39]=t[n],r}function Co(e,t,n){const r=e.slice();return r[42]=t[n],r}function So(n){let i,r,a,o,s,l,c,d,u,h,p,e,m,g,f=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",y=n[2],b=[];for(let e=0;e<y.length;e+=1)b[e]=To(xo(n,y,e));return{c(){i=pe("div"),r=pe("div"),a=pe("p"),o=me(f),s=ge(),l=pe("div"),(c=pe("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>',d=ge(),(u=pe("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>',h=ge(),p=pe("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(a,"class","Title"),fe(l,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(p,"class","CategoriesSlider"),fe(i,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(r,s),de(r,l),de(l,c),de(l,d),de(l,u),de(i,h),de(i,p);for(let e=0;e<b.length;e+=1)b[e].m(p,null);n[22](p),m||(g=[V(c,"click",n[18]),V(u,"click",n[19])],m=!0)},p(t,n){if(129&n[0]&&f!==(f=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(o,f),3078&n[0]){let e;for(y=t[2],e=0;e<y.length;e+=1){var r=xo(t,y,e);b[e]?b[e].p(r,n):(b[e]=To(r),b[e].c(),b[e].m(p,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&he(i),G(b,e),n[22](null),m=!1,Y(g)}}}function ko(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Fo(e){let n,r,i=e[39].name+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){4&t[0]&&i!==(i=e[39].name+"")&&ye(r,i)},d(e){e&&he(n)}}}function Mo(e){let n,r,i;return{c(){fe(n=pe("img"),"class","CategorySlideLogo"),ce(n.src,r=e[39].icon)||fe(n,"src",r),fe(n,"alt",i=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[39].icon)&&fe(n,"src",r),4&t[0]&&i!==(i=e[39].name+" icon")&&fe(n,"alt",i)},d(e){e&&he(n)}}}function Eo(n){let r,i,a,o,s;function l(){return n[20](n[42])}return{c(){fe(r=pe("img"),"class","CategorySlideGameImage"),ce(r.src,i=n[42].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",a=n[42].name)},m(e,t){var n;ue(e,r,t),o||(s=V(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,i=n[42].defaultThumbnail)&&fe(r,"src",i),4&t[0]&&a!==(a=n[42].name)&&fe(r,"alt",a)},d(e){e&&he(r),o=!1,s()}}}function To(n){let r,i,a,o,s,l,c,d,u;function h(e){return"logo"==e[1]?Mo:"title"==e[1]?Fo:void 0}let p=h(n),m=p&&p(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=Eo(Co(n,g,e));function y(){return n[21](n[39])}return{c(){r=pe("div"),i=pe("div"),a=pe("div"),m&&m.c(),o=ge(),s=pe("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(a,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(i,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),P(i,"background-image","url("+n[39]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,i),de(i,a),m&&m.m(a,null),de(i,o),de(i,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(r,c),d||(u=V(i,"click",y),d=!0)},p(e,t){if(p===(p=h(n=e))&&m?m.p(n,t):(m&&m.d(1),(m=p&&p(n))&&(m.c(),m.m(a,null))),1028&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const i=Co(n,g,e);f[e]?f[e].p(i,t):(f[e]=Eo(i),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[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(i,"class",l),4&t[0]&&P(i,"background-image","url("+n[39]?.background+")")},d(e){e&&he(r),m&&m.d(),G(f,e),d=!1,u()}}}function _o(n){let r;function i(e){return e[5]?ko:So}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[23](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[23](null)}}}function Io(n,e,r){let t;yt(n,Xr,e=>r(7,t=e));let i,a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,y=[],b=!0,v=0,w=0,$=0,x=window.navigator.userAgent;Object.keys($o).forEach(e=>{wo(e,$o[e])});const C=n=>{(o=[...i.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>a=e.getBoundingClientRect().width),$=Math.round(i.offsetWidth/a)},S=()=>{C(v)},k=()=>{$>=w||(0===v?v=w-$:v-$<-1?v=0:v--,S())},F=()=>{$>=w||(v===w-$?v=0:w-$<v+1?v=w-$:v++,S())},M=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return bt(()=>{r(6,l=gt(x))}),n.$$set=e=>{"endpoint"in e&&r(12,c=e.endpoint),"datasource"in e&&r(13,d=e.datasource),"lang"in e&&r(14,u=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,p=e.titletype),"clientstyling"in e&&r(15,m=e.clientstyling),"clientstylingurl"in e&&r(16,g=e.clientstylingurl),"translationurl"in e&&r(17,f=e.translationurl)},n.$$.update=()=>{if(28672&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(5,b=!1);let t=e.items.filter(e=>e.flags==h);r(2,y=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}))),w=y.length})}if(12&n.$$.dirty[0]&&y&&i&&C(),16384&n.$$.dirty[0]&&u&&(e=u,mt.set(e)),32784&n.$$.dirty[0]&&m&&s){let e=document.createElement("style");e.innerHTML=m,s.appendChild(e)}if(65552&n.$$.dirty[0]&&g&&s){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e;131072&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{wo(e,t[e])})}).catch(e=>{console.log(e)})},[h,p,y,i,s,b,l,t,k,F,M,E,c,d,u,m,g,f,()=>k(),()=>F(),e=>M(e.gameId,e.launchUrl,e.name),e=>E(e.id),function(e){pt[e?"unshift":"push"](()=>{i=e,r(3,i)})},function(e){pt[e?"unshift":"push"](()=>{s=e,r(4,s)})}]}function Lo(n){let r,i,a,o,s;return{c(){r=pe("div"),i=pe("casino-games-category-section"),this.c=z,x(i,"session",n[0]),x(i,"userid",n[1]),x(i,"endpoint",n[2]),x(i,"datasource",n[3]),x(i,"lang",n[5]),x(i,"currency",n[4]),x(i,"favorites",n[13]),x(i,"categoryid","FAVORITES"),x(i,"class","CategoryContainer"),x(i,"clientstyling",n[6]),x(i,"clientstylingurl",n[7]),x(i,"livecasino",n[8]),x(i,"visiblegames",n[12]),x(i,"gamepagemodalurl",n[11]),x(i,"integratedgameframedesktop",n[10]),x(i,"integratedgameframemobile",n[9]),fe(r,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,r,t),de(r,i),n[17](r),o||(s=M(a=n[15].call(null,i,(n[2],n[1],n[0],n[1]))),o=!0)},p(e,t){1&t[0]&&x(i,"session",e[0]),2&t[0]&&x(i,"userid",e[1]),4&t[0]&&x(i,"endpoint",e[2]),8&t[0]&&x(i,"datasource",e[3]),32&t[0]&&x(i,"lang",e[5]),16&t[0]&&x(i,"currency",e[4]),8192&t[0]&&x(i,"favorites",e[13]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7]),256&t[0]&&x(i,"livecasino",e[8]),4096&t[0]&&x(i,"visiblegames",e[12]),2048&t[0]&&x(i,"gamepagemodalurl",e[11]),1024&t[0]&&x(i,"integratedgameframedesktop",e[10]),512&t[0]&&x(i,"integratedgameframemobile",e[9]),a&&k(a.update)&&7&t[0]&&a.update.call(null,(e[2],e[1],e[0],e[1]))},i:z,o:z,d(e){e&&he(r),n[17](null),o=!1,s()}}}function Go(e,t,l){let n,r,{endpoint:c=""}=t,{datasource:i=""}=t,{currency:a=""}=t,{lang:o=""}=t,{session:d=""}=t,{userid:u=""}=t,{clientstyling:s=""}=t,{clientstylingurl:h=""}=t,{livecasino:p="false"}=t,{integratedgameframemobile:m="false"}=t,{integratedgameframedesktop:g="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,w=[];var $,x;({withLocale:$,translations:x}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(x),mt.set($))});const C=n=>{if(n.data)switch(n.data.type){case"UserSessionID":l(0,d=n.data.session),l(1,u=n.data.userID),u&&u.length&&d&&0<d.length&&S(c,d,u);break;case"SetUnfavoredGame":t=`${c}/player/${u}/favorites`,o=d,u,s=n.data.id,n.data.triggerFactor,w.includes(s)&&(w=w.filter(e=>e!=s)),fetch(t+"/"+s,{method:"DELETE",headers:{"X-SessionID":o}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),k(t,o)});break;case"SetFavoredGame":{var r=`${c}/player/${u}/favorites`;var i=d;u;var a=n.data.id;n.data.triggerFactor;w.includes(a)||w.push(a);let e={items:w},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),k(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":u&&u.length&&d&&0<d.length&&S(c,d,u)}var t,o,s};let S=(e,t,n)=>{"true"==b&&d&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(F(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),M(r.items)),r)).then(e=>e).catch(e=>{console.error(e)})};let k=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,F(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),r)).catch(e=>{console.error(e)})};const F=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},M=(e=[])=>(w=[],0<e.length&&e.forEach(e=>{w.push(e.id)}),w);return bt(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),e.$$set=e=>{"endpoint"in e&&l(2,c=e.endpoint),"datasource"in e&&l(3,i=e.datasource),"currency"in e&&l(4,a=e.currency),"lang"in e&&l(5,o=e.lang),"session"in e&&l(0,d=e.session),"userid"in e&&l(1,u=e.userid),"clientstyling"in e&&l(6,s=e.clientstyling),"clientstylingurl"in e&&l(7,h=e.clientstylingurl),"livecasino"in e&&l(8,p=e.livecasino),"integratedgameframemobile"in e&&l(9,m=e.integratedgameframemobile),"integratedgameframedesktop"in e&&l(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&l(11,f=e.gamepagemodalurl),"visiblegames"in e&&l(12,y=e.visiblegames),"favorites"in e&&l(13,b=e.favorites),"categoryid"in e&&l(16,v=e.categoryid)},e.$$.update=()=>{if(8231&e.$$.dirty[0]&&c&&u&&d&&o&&b&&"true"==b&&S(c,d,u),16448&e.$$.dirty[0]&&s&&n){let e=document.createElement("style");e.innerHTML=s,n.appendChild(e)}if(16512&e.$$.dirty[0]&&h&&n){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[d,u,c,i,a,o,s,h,p,m,g,f,y,b,n,S,v,function(e){pt[e?"unshift":"push"](()=>{n=e,l(14,n)})}]}function Po(e){let n;return{c(){x(n=pe("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","LASTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9])},m(e,t){ue(e,n,t)},p(e,t){16&t&&x(n,"session",e[4]),32&t&&x(n,"userid",e[5]),1&t&&x(n,"endpoint",e[0]),2&t&&x(n,"datasource",e[1]),8&t&&x(n,"lang",e[3]),4&t&&x(n,"currency",e[2]),8192&t&&x(n,"favorites",e[13]),64&t&&x(n,"clientstyling",e[6]),128&t&&x(n,"clientstylingurl",e[7]),256&t&&x(n,"livecasino",e[8]),4096&t&&x(n,"visiblegames",e[12]),2048&t&&x(n,"gamepagemodalurl",e[11]),1024&t&&x(n,"integratedgameframedesktop",e[10]),512&t&&x(n,"integratedgameframemobile",e[9])},d(e){e&&he(n)}}}function Bo(e){let n;return{c(){(n=pe("p")).textContent="No games in last played",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Ro(n){let r,i;function a(e){return e[15]?Bo:Po}let o=a(n),s=o(n);return{c(){r=pe("div"),i=pe("div"),s.c(),this.c=z,fe(i,"class","casino-last-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,i),s.m(i,null),n[17](r)},p(e,[t]){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null)))},i:z,o:z,d(e){e&&he(r),s.d(),n[17](null)}}}function Ao(t,e,n){let a,r,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:i=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:m="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,{visiblegames:y=""}=e,{favorites:b=""}=e,{lastplayedperiod:v=""}=e,w=window.navigator.userAgent,$=!1,x;return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,i=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,m=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastplayedperiod"in e&&n(16,v=e.lastplayedperiod)},t.$$.update=()=>{if(41&t.$$.dirty&&o&&d&&l&&(i={device:ft(w),period:v||"Last30Days"},new Promise((e,t)=>{let n=new URL(`${o}/player/${d}/games/last-played`);i.limit&&n.searchParams.append("limit","10"),i.order&&n.searchParams.append("order",i.order);var r=i.device;r?"PC"===r?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"):n.searchParams.append("device","All"),i.period&&n.searchParams.append("period","Last30Days"),a=p?n:n.href,fetch(a).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(o+"/casino/games/"+e.gameId);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{x=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:x},window.location.href)})}else n(15,$=!0)})),16448&t.$$.dirty&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(16512&t.$$.dirty&&h&&r){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e,i;8&t.$$.dirty&&l&&(e=l,mt.set(e))},[o,s,i,l,c,d,u,h,p,m,g,f,y,b,r,$,v,function(e){pt[e?"unshift":"push"](()=>{r=e,n(14,r)})}]}function Do(e){let n;return{c(){x(n=pe("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","MOSTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9])},m(e,t){ue(e,n,t)},p(e,t){16&t&&x(n,"session",e[4]),32&t&&x(n,"userid",e[5]),1&t&&x(n,"endpoint",e[0]),2&t&&x(n,"datasource",e[1]),8&t&&x(n,"lang",e[3]),4&t&&x(n,"currency",e[2]),8192&t&&x(n,"favorites",e[13]),64&t&&x(n,"clientstyling",e[6]),128&t&&x(n,"clientstylingurl",e[7]),256&t&&x(n,"livecasino",e[8]),4096&t&&x(n,"visiblegames",e[12]),2048&t&&x(n,"gamepagemodalurl",e[11]),1024&t&&x(n,"integratedgameframedesktop",e[10]),512&t&&x(n,"integratedgameframemobile",e[9])},d(e){e&&he(n)}}}function Ho(e){let n;return{c(){(n=pe("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function No(n){let r,i;function a(e){return e[15]?Ho:Do}let o=a(n),s=o(n);return{c(){r=pe("div"),i=pe("div"),s.c(),this.c=z,fe(i,"class","casino-most-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,i),s.m(i,null),n[17](r)},p(e,[t]){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null)))},i:z,o:z,d(e){e&&he(r),s.d(),n[17](null)}}}function Oo(t,e,n){let r,i,{endpoint:a=""}=e,{datasource:o=""}=e,{currency:s=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:m="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,w=window.navigator.userAgent,$,x=!1;return t.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,m=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(16,v=e.lastPlayedEmpty)},t.$$.update=()=>{if(41&t.$$.dirty&&a&&d&&l&&(e=>{let t=new URL(`${a}/player/${d}/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),r=p?t:t.href,new Promise((e,t)=>{fetch(r).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})})})({limit:100,device:ft(w),rounds:10}).then(e=>{if(0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(a+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{$=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:$},window.location.href)})}else n(15,x=!0)}),16448&t.$$.dirty&&u&&i){let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)}if(16512&t.$$.dirty&&h&&i){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,mt.set(e))},[a,o,s,l,c,d,u,h,p,m,g,f,y,b,i,x,v,function(e){pt[e?"unshift":"push"](()=>{i=e,n(14,i)})}]}function jo(e,t,n){const r=e.slice();return r[161]=t[n],r[163]=n,r}function Uo(e,t,n){const r=e.slice();return r[161]=t[n],r[163]=n,r}function Wo(e){let n,r,i,a,o,s="PC"!==ft(e[72])&&"false"===e[10]&&e[69],l=s&&Yo();function c(e){return"false"===e[10]?Zo:Vo}let d=c(e),u=d(e),h="true"==e[15]&&0==e[59]&&ls(e);function p(e){return e[49]?ys:e[60]?fs:e[55]?gs:e[61]?ms:e[60]?ps:e[55]?hs:e[61]?us:e[62]?ds:cs}let m=p(e),g=m(e),f=e[51]&&"true"==e[13]&&Ts(e);return{c(){n=pe("section"),l&&l.c(),r=ge(),u.c(),i=ge(),h&&h.c(),a=ge(),g.c(),o=ge(),f&&f.c(),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),P(n,"max-width",e[12]+"px")},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,r),u.m(n,null),de(n,i),h&&h.m(n,null),de(n,a),g.m(n,null),de(n,o),f&&f.m(n,null)},p(e,t){(s=1024&t[0]|128&t[2]?"PC"!==ft(e[72])&&"false"===e[10]&&e[69]:s)?l||((l=Yo()).c(),l.m(n,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(n,i))),"true"==e[15]&&0==e[59]?h?h.p(e,t):((h=ls(e)).c(),h.m(n,a)):h&&(h.d(1),h=null),m===(m=p(e))&&g?g.p(e,t):(g.d(1),(g=m(e))&&(g.c(),g.m(n,o))),e[51]&&"true"==e[13]?f?f.p(e,t):((f=Ts(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),4096&t[0]&&P(n,"max-width",e[12]+"px")},d(e){e&&he(n),l&&l.d(),u.d(),h&&h.d(),g.d(),f&&f.d()}}}function zo(e){let n,r,i=e[71]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[2]&&i!==(i=e[71]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Yo(){let n;return{c(){fe(n=pe("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Vo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[71]("casinoPage.searchGames")+"",$="PC"===ft(n[72])&&n[46].length||"PC"!==ft(n[72]),x=!n[69]&&Jo(),C=$&&Ko(n),S=!n[55]&&!n[60]&&!n[69]&&!n[61]&&!n[62]&&!n[56]&&!n[59]&&!n[57]&&!n[58]&&Xo(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),x&&x.c(),c=ge(),d=pe("input"),h=ge(),C&&C.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===ft(n[72])?n[71]("casinoPage.search"):n[71]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[60]||n[55]||n[61]||n[62]||n[58]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[60]||n[55]||n[61]||n[62]||n[58]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[57]&&"PC"!==ft(n[72])&&!Is?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[57]&&"PC"!==ft(n[72])&&!Is?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),P(r,"top",n[63]&&n[69]?Ls+"px":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),x&&x.m(l,null),de(l,c),de(l,d),n[98](d),R(d,n[46]),de(l,h),C&&C.m(l,null),de(r,g),S&&S.m(r,null),n[103](r),b||(v=[V(d,"focus",n[74]),V(d,"blur",n[75]),V(d,"input",n[99]),V(d,"focus",n[76])],b=!0)},p(e,t){512&t[2]&&w!==(w=e[71]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?x&&(x.d(1),x=null):x||((x=Jo()).c(),x.m(l,c)),512&t[2]&&u!==(u="PC"===ft(e[72])?e[71]("casinoPage.search"):e[71]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),32768&t[1]&&R(d,e[46]),($=32768&t[1]?"PC"===ft(e[72])&&e[46].length||"PC"!==ft(e[72]):$)?C?C.p(e,t):((C=Ko(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),1761607680&t[1]|1&t[2]&&p!==(p="SearchContainer "+(e[60]||e[55]||e[61]||e[62]||e[58]?"":"SearchTruncated"))&&fe(i,"class",p),1761607680&t[1]|1&t[2]&&m!==(m="SearchContainer "+(e[60]||e[55]||e[61]||e[62]||e[58]?"":"SearchTruncated"))&&fe(i,"part",m),e[55]||e[60]||e[69]||e[61]||e[62]||e[56]||e[59]||e[57]||e[58]?S&&(S.d(1),S=null):S?S.p(e,t):((S=Xo(e)).c(),S.m(r,null)),67108864&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[57]&&"PC"!==ft(e[72])&&!Is?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),67108864&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[57]&&"PC"!==ft(e[72])&&!Is?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y),130&t[2]&&P(r,"top",e[63]&&e[69]?Ls+"px":"")},d(e){e&&he(r),x&&x.d(),n[98](null),C&&C.d(),S&&S.d(),n[103](null),b=!1,Y(v)}}}function Zo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[71]("casinoPage.searchGames")+"",$="PC"===ft(n[72])&&n[46].length||"PC"!==ft(n[72]),x=!n[69]&&ns(),C=$&&rs(n),S=!n[55]&&!n[60]&&!n[69]&&!n[61]&&!n[62]&&!n[56]&&!n[57]&&!n[59]&&!n[58]&&is(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),x&&x.c(),c=ge(),d=pe("input"),h=ge(),C&&C.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===ft(n[72])?n[71]("casinoPage.search"):n[71]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[60]||n[55]||n[61]||n[62]||n[58]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[60]||n[55]||n[61]||n[62]||n[58]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[57]&&"PC"!==ft(n[72])&&!Is?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":"")),P(r,"top",n[63]&&n[69]?Ls+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[57]&&"PC"!==ft(n[72])&&!Is?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),x&&x.m(l,null),de(l,c),de(l,d),n[92](d),R(d,n[46]),de(l,h),C&&C.m(l,null),de(r,g),S&&S.m(r,null),n[97](r),b||(v=[V(d,"focus",n[74]),V(d,"blur",n[75]),V(d,"input",n[93]),V(d,"focus",n[76])],b=!0)},p(e,t){512&t[2]&&w!==(w=e[71]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?x&&(x.d(1),x=null):x||((x=ns()).c(),x.m(l,c)),512&t[2]&&u!==(u="PC"===ft(e[72])?e[71]("casinoPage.search"):e[71]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),32768&t[1]&&R(d,e[46]),($=32768&t[1]?"PC"===ft(e[72])&&e[46].length||"PC"!==ft(e[72]):$)?C?C.p(e,t):((C=rs(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),1761607680&t[1]|1&t[2]&&p!==(p="SearchContainer "+(e[60]||e[55]||e[61]||e[62]||e[58]?"":"SearchTruncated"))&&fe(i,"class",p),1761607680&t[1]|1&t[2]&&m!==(m="SearchContainer "+(e[60]||e[55]||e[61]||e[62]||e[58]?"":"SearchTruncated"))&&fe(i,"part",m),e[55]||e[60]||e[69]||e[61]||e[62]||e[56]||e[57]||e[59]||e[58]?S&&(S.d(1),S=null):S?S.p(e,t):((S=is(e)).c(),S.m(r,null)),67108864&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[57]&&"PC"!==ft(e[72])&&!Is?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),130&t[2]&&P(r,"top",e[63]&&e[69]?Ls+"px":""),67108864&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[57]&&"PC"!==ft(e[72])&&!Is?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),x&&x.d(),n[92](null),C&&C.d(),S&&S.d(),n[97](null),b=!1,Y(v)}}}function Jo(){let n;return{c(){(n=pe("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){ue(e,n,t)},d(e){e&&he(n)}}}function Ko(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=V(r,"click",n[100]),a=!0)},p:z,d(e){e&&he(r),a=!1,o()}}}function Xo(e){let n,r,i=e[70]&&qo(e),a=(!e[57]||!e[56])&&Qo(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=qo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[57]&&e[56]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Qo(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function qo(n){let r,i,a,o,s,l,c,d,u,h=n[71]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),(s=pe("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(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),d||(u=V(r,"click",n[101]),d=!0)},p(e,t){512&t[2]&&h!==(h=e[71]("casinoPage.clear")+"")&&ye(a,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),d=!1,u()}}}function Qo(e){let n,r=!e[61]&&es(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[61]?r&&(r.d(1),r=null):r?r.p(e,t):((r=es(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function es(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f=n[71]("casinoPage.filters")+"",y=0<n[70]&&ts(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=F("svg"),c=F("defs"),d=F("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=F("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"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){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),y&&y.m(s,null),m||(g=V(r,"click",n[102]),m=!0)},p(e,t){512&t[2]&&f!==(f=e[71]("casinoPage.filters")+"")&&ye(a,f),0<e[70]?y?y.p(e,t):((y=ts(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function ts(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[70]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){ue(e,n,t),de(n,r),de(r,i)},p(e,t){256&t[2]&&ye(i,e[70])},d(e){e&&he(n)}}}function ns(){let n;return{c(){(n=pe("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){ue(e,n,t)},d(e){e&&he(n)}}}function rs(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=V(r,"click",n[94]),a=!0)},p:z,d(e){e&&he(r),a=!1,o()}}}function is(e){let n,r,i=e[70]&&as(e),a=(!e[57]||!e[56])&&os(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=as(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[57]&&e[56]?a&&(a.d(1),a=null):a?a.p(e,t):((a=os(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function as(n){let r,i,a,o,s,l,c,d=n[71]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(d),o=ge(),(s=pe("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(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),l||(c=V(r,"click",n[95]),l=!0)},p(e,t){512&t[2]&&d!==(d=e[71]("casinoPage.clear")+"")&&ye(a,d)},d(e){e&&he(r),l=!1,c()}}}function os(e){let n,r=(!e[61]||!e[62])&&ss(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[61]&&e[62]?r&&(r.d(1),r=null):r?r.p(e,t):((r=ss(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function ss(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v=n[71]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(v),o=ge(),s=pe("div"),l=F("svg"),c=F("defs"),d=F("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=F("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[70]),fe(i,"class","FilterButton"),fe(i,"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(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),de(s,m),de(m,g),de(g,f),y||(b=V(r,"click",n[96]),y=!0)},p(e,t){512&t[2]&&v!==(v=e[71]("casinoPage.filters")+"")&&ye(a,v),256&t[2]&&ye(f,e[70])},d(e){e&&he(r),y=!1,b()}}}function ls(e){let n;return{c(){x(n=pe("casino-random-game"),"datasource",e[1]),x(n,"filteredrandomgamecategories",e[16]),x(n,"endpoint",e[0]),x(n,"lang",e[3]),x(n,"gameevent",e[48]),x(n,"randombuttonicon",e[44]),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&x(n,"datasource",e[1]),65536&t[0]&&x(n,"filteredrandomgamecategories",e[16]),1&t[0]&&x(n,"endpoint",e[0]),8&t[0]&&x(n,"lang",e[3]),131072&t[1]&&x(n,"gameevent",e[48]),8192&t[1]&&x(n,"randombuttonicon",e[44]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function cs(e){let n;return{c(){x(n=pe("casino-games-category-section"),"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"favorites",e[11]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"session",e[4]),x(n,"categoryid",e[66]),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[17]),x(n,"integratedgameframedesktop",e[23]),x(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),2048&t[0]&&x(n,"favorites",e[11]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),16&t[0]&&x(n,"session",e[4]),16&t[2]&&x(n,"categoryid",e[66]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),131072&t[0]&&x(n,"gamepagemodalurl",e[17]),8388608&t[0]&&x(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function ds(e){let n;return{c(){x(n=pe("casino-last-played-section"),"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"favorites",e[11]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"session",e[4]),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[17]),x(n,"integratedgameframedesktop",e[23]),x(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),2048&t[0]&&x(n,"favorites",e[11]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),16&t[0]&&x(n,"session",e[4]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),131072&t[0]&&x(n,"gamepagemodalurl",e[17]),8388608&t[0]&&x(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function us(e){let n;return{c(){x(n=pe("casino-most-played-section"),"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"favorites",e[11]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"session",e[4]),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[17]),x(n,"integratedgameframedesktop",e[23]),x(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),2048&t[0]&&x(n,"favorites",e[11]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),16&t[0]&&x(n,"session",e[4]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),131072&t[0]&&x(n,"gamepagemodalurl",e[17]),8388608&t[0]&&x(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function hs(n){let r,i,a,o;return{c(){x(r=pe("casino-games-category-section"),"session",n[4]),x(r,"userid",n[5]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"favorites",n[11]),x(r,"categoryid","FAVORITES"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[17]),x(r,"integratedgameframedesktop",n[23]),x(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),a||(o=M(i=n[73].call(null,r,(n[0],n[52],n[53],n[52]))),a=!0)},p(e,t){16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),131072&t[0]&&x(r,"gamepagemodalurl",e[17]),8388608&t[0]&&x(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(r,"integratedgameframemobile",e[24]),i&&k(i.update)&&1&t[0]|6291456&t[1]&&i.update.call(null,(e[0],e[52],e[53],e[52]))},d(e){e&&he(r),a=!1,o()}}}function ps(t){let i,a=t[65],o=[];for(let e=0;e<a.length;e+=1)o[e]=xs(jo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(2147109887&n[0]|7166&n[1]|8&n[2]){let e;for(a=t[65],e=0;e<a.length;e+=1){var r=jo(t,a,e);o[e]?o[e].p(r,n):(o[e]=xs(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function ms(n){let r,i,a,o;return{c(){x(r=pe("casino-most-played-section"),"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"session",n[4]),x(r,"userid",n[5]),x(r,"categoryid","Search"),x(r,"favorites",n[11]),x(r,"categoryindex","0"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[17]),x(r,"integratedgameframedesktop",n[23]),x(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),a||(o=M(i=n[81].call(null,r,n[64])),a=!0)},p(e,t){1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),131072&t[0]&&x(r,"gamepagemodalurl",e[17]),8388608&t[0]&&x(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(r,"integratedgameframemobile",e[24]),i&&k(i.update)&&4&t[2]&&i.update.call(null,e[64])},d(e){e&&he(r),a=!1,o()}}}function gs(n){let r,i,a,o;return{c(){x(r=pe("casino-favorites-section"),"session",n[4]),x(r,"userid",n[5]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"favorites",n[11]),x(r,"categoryid","FAVORITES"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[17]),x(r,"integratedgameframedesktop",n[23]),x(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),a||(o=M(i=n[73].call(null,r,(n[0],n[52],n[53],n[52]))),a=!0)},p(e,t){16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),131072&t[0]&&x(r,"gamepagemodalurl",e[17]),8388608&t[0]&&x(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(r,"integratedgameframemobile",e[24]),i&&k(i.update)&&1&t[0]|6291456&t[1]&&i.update.call(null,(e[0],e[52],e[53],e[52]))},d(e){e&&he(r),a=!1,o()}}}function fs(t){let i,a=t[65],o=[];for(let e=0;e<a.length;e+=1)o[e]=Es(Uo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(2147372031&n[0]|8191&n[1]|8&n[2]){let e;for(a=t[65],e=0;e<a.length;e+=1){var r=Uo(t,a,e);o[e]?o[e].p(r,n):(o[e]=Es(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function ys(e){let n,r,i=e[71]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[2]&&i!==(i=e[71]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function bs(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),x(i=pe("jackpot-banner"),"title","Jackpot Cards"),x(i,"currency",a=e[2]||"RON"),x(i,"gameid","998"),x(i,"endpoint",e[0]),x(i,"lang",e[3]),x(i,"backgroundsrc","/assets/background0.jpg"),x(i,"backgroundsrcmobile","/assets/background0.jpg"),x(i,"titlelogopath","/assets/jackpots_logo.svg"),x(i,"caticon0","/assets/icon0.svg"),x(i,"caticon1","/assets/icon1.svg"),x(i,"caticon2","/assets/icon2.svg"),x(i,"caticon3","/assets/icon3.svg"),x(i,"iconlabels",e[39]),x(i,"visualstructure","typeSpread"),x(i,"clientstyling",e[6]),x(i,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&x(i,"currency",a),1&t[0]&&x(i,"endpoint",e[0]),8&t[0]&&x(i,"lang",e[3]),256&t[1]&&x(i,"iconlabels",e[39]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function vs(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),x(i=pe("jackpot-banner"),"title","Egypt Quest"),x(i,"currency",a=e[2]||"RON"),x(i,"gameid","999"),x(i,"endpoint",e[0]),x(i,"lang",e[3]),x(i,"backgroundsrc",e[36]),x(i,"backgroundsrcmobile",e[37]),x(i,"titlelogopath",e[38]),x(i,"caticon0",e[32]),x(i,"caticon1",e[33]),x(i,"caticon2",e[34]),x(i,"caticon3",e[35]),x(i,"iconlabels",e[39]),x(i,"visualstructure",e[40]),x(i,"clientstyling",e[6]),x(i,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&x(i,"currency",a),1&t[0]&&x(i,"endpoint",e[0]),8&t[0]&&x(i,"lang",e[3]),32&t[1]&&x(i,"backgroundsrc",e[36]),64&t[1]&&x(i,"backgroundsrcmobile",e[37]),128&t[1]&&x(i,"titlelogopath",e[38]),2&t[1]&&x(i,"caticon0",e[32]),4&t[1]&&x(i,"caticon1",e[33]),8&t[1]&&x(i,"caticon2",e[34]),16&t[1]&&x(i,"caticon3",e[35]),256&t[1]&&x(i,"iconlabels",e[39]),512&t[1]&&x(i,"visualstructure",e[40]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function ws(e){let n,r;return{c(){x(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&x(n,"endpoint",r),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function $s(e){let n,r;return{c(){x(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"type",e[42]),x(n,"titletype",e[43]),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&x(n,"endpoint",r),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),2048&t[1]&&x(n,"type",e[42]),4096&t[1]&&x(n,"titletype",e[43]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function xs(n){let r,i,a,o,s,e,l,c,d,u="true"===enablecasinowinners&&1===n[163]&&function(e){let n,r;return{c(){n=pe("div"),x(r=pe("casino-winners"),"session",e[4]),x(r,"periodrecent",e[25]),x(r,"periodtop",e[26]),x(r,"numberusersrecent",e[27]),x(r,"numberuserstop",e[28]),x(r,"amountlimit",e[29]),x(r,"isrecentavailable",e[22]),x(r,"istopavailable",e[21]),x(r,"defaultcurrency",e[30]),x(r,"enableautoscroll",e[20]),x(r,"tabsorder",e[19]),x(r,"lang",e[3]),x(r,"clientstyling",e[6]),x(r,"clientstylingurl",e[7]),x(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&x(r,"session",e[4]),33554432&t[0]&&x(r,"periodrecent",e[25]),67108864&t[0]&&x(r,"periodtop",e[26]),134217728&t[0]&&x(r,"numberusersrecent",e[27]),268435456&t[0]&&x(r,"numberuserstop",e[28]),536870912&t[0]&&x(r,"amountlimit",e[29]),4194304&t[0]&&x(r,"isrecentavailable",e[22]),2097152&t[0]&&x(r,"istopavailable",e[21]),1073741824&t[0]&&x(r,"defaultcurrency",e[30]),1048576&t[0]&&x(r,"enableautoscroll",e[20]),524288&t[0]&&x(r,"tabsorder",e[19]),8&t[0]&&x(r,"lang",e[3]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),1&t[0]&&x(r,"endpoint",e[0])},d(e){e&&he(n)}}}(n),t=4===(p=n)[163]&&"true"==enablejackpotbanner?vs:6===p[163]&&"true"==enablejackpotbanner?bs:void 0,h=t&&t(n);var p;function m(e){return 7==e[163]&&"true"==enablecollections?$s:e[163]==e[65].length-1&&"true"==enablecollections?ws:void 0}let g=m(n),f=g&&g(n);return{c(){u&&u.c(),r=ge(),h&&h.c(),i=ge(),f&&f.c(),a=ge(),x(o=pe("casino-games-category-section"),"session",n[4]),x(o,"userid",n[5]),x(o,"endpoint",n[0]),x(o,"datasource",n[1]),x(o,"lang",n[3]),x(o,"currency",n[2]),x(o,"categoryid",s=n[161]),x(o,"categoryindex",e=n[163]),x(o,"categorygames","9"),x(o,"favorites",n[11]),x(o,"class","CategoryContainer"),P(o,"background-color",n[163]%2!=0?n[8]:"transparent"),x(o,"clientstyling",n[6]),x(o,"clientstylingurl",n[7]),x(o,"livecasino",n[14]),x(o,"visiblegames",n[9]),x(o,"gamepagemodalurl",n[17]),x(o,"integratedgameframedesktop",n[23]),x(o,"integratedgameframemobile",n[24])},m(e,t){u&&u.m(e,t),ue(e,r,t),h&&h.m(e,t),ue(e,i,t),f&&f.m(e,t),ue(e,a,t),ue(e,o,t),c||(d=M(l=n[80].call(null,o,n[161])),c=!0)},p(e,t){n=e,"true"===enablecasinowinners&&1===n[163]&&u.p(n,t),h&&h.p(n,t),g===(g=m(n))&&f?f.p(n,t):(f&&f.d(1),(f=g&&g(n))&&(f.c(),f.m(a.parentNode,a))),16&t[0]&&x(o,"session",n[4]),32&t[0]&&x(o,"userid",n[5]),1&t[0]&&x(o,"endpoint",n[0]),2&t[0]&&x(o,"datasource",n[1]),8&t[0]&&x(o,"lang",n[3]),4&t[0]&&x(o,"currency",n[2]),8&t[2]&&s!==(s=n[161])&&x(o,"categoryid",s),2048&t[0]&&x(o,"favorites",n[11]),256&t[0]&&P(o,"background-color",n[163]%2!=0?n[8]:"transparent"),64&t[0]&&x(o,"clientstyling",n[6]),128&t[0]&&x(o,"clientstylingurl",n[7]),16384&t[0]&&x(o,"livecasino",n[14]),512&t[0]&&x(o,"visiblegames",n[9]),131072&t[0]&&x(o,"gamepagemodalurl",n[17]),8388608&t[0]&&x(o,"integratedgameframedesktop",n[23]),16777216&t[0]&&x(o,"integratedgameframemobile",n[24]),l&&k(l.update)&&8&t[2]&&l.update.call(null,n[161])},d(e){u&&u.d(e),e&&he(r),h&&h.d(e),e&&he(i),f&&f.d(e),e&&he(a),e&&he(o),c=!1,d()}}}function Cs(e){let n,r;return{c(){n=pe("div"),x(r=pe("casino-winners"),"session",e[4]),x(r,"userid",e[5]),x(r,"periodrecent",e[25]),x(r,"periodtop",e[26]),x(r,"numberusersrecent",e[27]),x(r,"numberuserstop",e[28]),x(r,"amountlimit",e[29]),x(r,"isrecentavailable",e[22]),x(r,"istopavailable",e[21]),x(r,"defaultcurrency",e[30]),x(r,"usercurrency",e[2]),x(r,"enableautoscroll",e[20]),x(r,"tabsorder",e[19]),x(r,"lang",e[3]),x(r,"clientstyling",e[6]),x(r,"clientstylingurl",e[7]),x(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),33554432&t[0]&&x(r,"periodrecent",e[25]),67108864&t[0]&&x(r,"periodtop",e[26]),134217728&t[0]&&x(r,"numberusersrecent",e[27]),268435456&t[0]&&x(r,"numberuserstop",e[28]),536870912&t[0]&&x(r,"amountlimit",e[29]),4194304&t[0]&&x(r,"isrecentavailable",e[22]),2097152&t[0]&&x(r,"istopavailable",e[21]),1073741824&t[0]&&x(r,"defaultcurrency",e[30]),4&t[0]&&x(r,"usercurrency",e[2]),1048576&t[0]&&x(r,"enableautoscroll",e[20]),524288&t[0]&&x(r,"tabsorder",e[19]),8&t[0]&&x(r,"lang",e[3]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),1&t[0]&&x(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Ss(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),x(i=pe("jackpot-banner"),"title","Jackpot Cards"),x(i,"currency",a=e[2]||"RON"),x(i,"gameid","999"),x(i,"endpoint",e[0]),x(i,"lang",e[3]),x(i,"backgroundsrc","/assets/background0.jpg"),x(i,"backgroundsrcmobile","/assets/background0.jpg"),x(i,"titlelogopath","/assets/jackpots_logo.svg"),x(i,"caticon0","/assets/icon0.svg"),x(i,"caticon1","/assets/icon1.svg"),x(i,"caticon2","/assets/icon2.svg"),x(i,"caticon3","/assets/icon3.svg"),x(i,"iconlabels",e[39]),x(i,"visualstructure","typeSpread"),x(i,"clientstyling",e[6]),x(i,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&x(i,"currency",a),1&t[0]&&x(i,"endpoint",e[0]),8&t[0]&&x(i,"lang",e[3]),256&t[1]&&x(i,"iconlabels",e[39]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function ks(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),x(i=pe("jackpot-banner"),"title","Egypt Quest"),x(i,"currency",a=e[2]||"RON"),x(i,"gameid","998"),x(i,"endpoint",e[0]),x(i,"lang",e[3]),x(i,"backgroundsrc",e[36]),x(i,"backgroundsrcmobile",e[37]),x(i,"titlelogopath",e[38]),x(i,"caticon0",e[32]),x(i,"caticon1",e[33]),x(i,"caticon2",e[34]),x(i,"caticon3",e[35]),x(i,"iconlabels",e[39]),x(i,"visualstructure",e[40]),x(i,"clientstyling",e[6]),x(i,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&x(i,"currency",a),1&t[0]&&x(i,"endpoint",e[0]),8&t[0]&&x(i,"lang",e[3]),32&t[1]&&x(i,"backgroundsrc",e[36]),64&t[1]&&x(i,"backgroundsrcmobile",e[37]),128&t[1]&&x(i,"titlelogopath",e[38]),2&t[1]&&x(i,"caticon0",e[32]),4&t[1]&&x(i,"caticon1",e[33]),8&t[1]&&x(i,"caticon2",e[34]),16&t[1]&&x(i,"caticon3",e[35]),256&t[1]&&x(i,"iconlabels",e[39]),512&t[1]&&x(i,"visualstructure",e[40]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function Fs(e){let n,r;return{c(){x(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&x(n,"endpoint",r),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Ms(e){let n,r;return{c(){x(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"type",e[42]),x(n,"titletype",e[43]),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&x(n,"endpoint",r),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),2048&t[1]&&x(n,"type",e[42]),4096&t[1]&&x(n,"titletype",e[43]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Es(n){let r,i,a,o,s,l,c,d,u,e,h,p,m,g=n[18]&&n[163]==+n[18]&&Cs(n);function f(e,t){return 1&t[1]|8&t[2]&&(i=null),1&t[1]|8&t[2]&&(a=null),(i=null==i?!(!e[31]||e[163]!=(""==e[31].split(",")[0]?e[65].length:+e[31].split(",")[0])):i)?ks:(a=null==a?!(!e[31]||e[163]!=(""==e[31].split(",")[1]?e[65].length:+e[31].split(",")[1])):a)?Ss:void 0}let y=f(n,[-1,-1,-1,-1,-1,-1]),b=y&&y(n);function v(e,t){return 1024&t[1]|8&t[2]&&(s=null),1024&t[1]|8&t[2]&&(l=null),(s=null==s?!(!e[41]||e[163]!=(""==e[41].split(",")[0]?e[65].length:+e[41].split(",")[0])):s)?Ms:(l=null==l?!(!e[41]||e[163]!=(""==e[41].split(",")[1]?e[65].length:+e[41].split(",")[1])):l)?Fs:void 0}let w=v(n,[-1,-1,-1,-1,-1,-1]),$=w&&w(n);return{c(){g&&g.c(),r=ge(),b&&b.c(),o=ge(),$&&$.c(),c=ge(),x(d=pe("casino-games-category-section"),"session",n[4]),x(d,"userid",n[5]),x(d,"endpoint",n[0]),x(d,"datasource",n[1]),x(d,"lang",n[3]),x(d,"currency",n[2]),x(d,"categoryid",u=n[161]),x(d,"categoryindex",e=n[163]),x(d,"categorygames","9"),x(d,"favorites",n[11]),x(d,"class","CategoryContainer"),P(d,"background-color",n[163]%2!=0?n[8]:"transparent"),x(d,"clientstyling",n[6]),x(d,"clientstylingurl",n[7]),x(d,"livecasino",n[14]),x(d,"visiblegames",n[9]),x(d,"gamepagemodalurl",n[17]),x(d,"integratedgameframedesktop",n[23]),x(d,"integratedgameframemobile",n[24])},m(e,t){g&&g.m(e,t),ue(e,r,t),b&&b.m(e,t),ue(e,o,t),$&&$.m(e,t),ue(e,c,t),ue(e,d,t),p||(m=M(h=n[80].call(null,d,n[161])),p=!0)},p(e,t){(n=e)[18]&&n[163]==+n[18]?g?g.p(n,t):((g=Cs(n)).c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),y===(y=f(n,t))&&b?b.p(n,t):(b&&b.d(1),(b=y&&y(n))&&(b.c(),b.m(o.parentNode,o))),w===(w=v(n,t))&&$?$.p(n,t):($&&$.d(1),($=w&&w(n))&&($.c(),$.m(c.parentNode,c))),16&t[0]&&x(d,"session",n[4]),32&t[0]&&x(d,"userid",n[5]),1&t[0]&&x(d,"endpoint",n[0]),2&t[0]&&x(d,"datasource",n[1]),8&t[0]&&x(d,"lang",n[3]),4&t[0]&&x(d,"currency",n[2]),8&t[2]&&u!==(u=n[161])&&x(d,"categoryid",u),2048&t[0]&&x(d,"favorites",n[11]),256&t[0]&&P(d,"background-color",n[163]%2!=0?n[8]:"transparent"),64&t[0]&&x(d,"clientstyling",n[6]),128&t[0]&&x(d,"clientstylingurl",n[7]),16384&t[0]&&x(d,"livecasino",n[14]),512&t[0]&&x(d,"visiblegames",n[9]),131072&t[0]&&x(d,"gamepagemodalurl",n[17]),8388608&t[0]&&x(d,"integratedgameframedesktop",n[23]),16777216&t[0]&&x(d,"integratedgameframemobile",n[24]),h&&k(h.update)&&8&t[2]&&h.update.call(null,n[161])},d(e){g&&g.d(e),e&&he(r),b&&b.d(e),e&&he(o),$&&$.d(e),e&&he(c),e&&he(d),p=!1,m()}}}function Ts(n){let r,i,a,e,t,o,s,l=n[71]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==ft(n[72])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==ft(n[72])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[54]),fe(r,"class",o="PanicSection "+("PC"!==ft(n[72])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ft(n[72])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[104](i)},p(e,t){512&t[2]&&l!==(l=e[71]("casinoPage.breakButton")+"")&&ye(a,l),8388608&t[1]&&B(i,"PanicButtonAnimation",e[54])},d(e){e&&he(r),n[104](null)}}}function _s(n){let r;function i(e){return e[50]?zo:Wo}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[105](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[105](null)}}}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Io,_o,t,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16,translationurl:17},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl"]}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()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends i{constructor(e){super(),r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Go,Lo,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}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 livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[16]}set categoryid(e){this.$$set({categoryid:e}),f()}}),customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends i{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}.casino-last-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ao,Ro,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod"]}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 livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[16]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends i{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}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Oo,No,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty"]}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 livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[16]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}});let Is=!1;const Ls=0;function Gs(n,e,c){let t;yt(n,Xr,e=>c(71,t=e));let i,{endpoint:d=""}=e,{datasource:a=""}=e,{currency:D=""}=e,{lang:o=""}=e,{session:s=""}=e,{userid:l=""}=e,{clientstyling:H=""}=e,{clientstylingurl:N=""}=e,{translationurl:O=""}=e,{categorybackground:j=""}=e,U=e["visiblegames"],{alternativesearch:W="false"}=e,{favorites:z=""}=e,{mostplayed:Y=""}=e,{lastplayed:V=""}=e,{containermaxwidth:Z="1300"}=e,{lobbyid:u="casinodefault"}=e,{haspanicbutton:J="false"}=e,{mostplayedrounds:K=""}=e,{lastplayedperiod:X=""}=e,{filteredcategories:q=""}=e,{activecategory:Q=""}=e,{livecasino:ee="false"}=e,{playrandomgame:te="false"}=e,{filteredrandomgamecategories:ne=""}=e,{gamepagemodalurl:re="false"}=e,{positionwinnerswidget:ie=""}=e,{tabsorder:ae=""}=e,{enableautoscroll:oe=""}=e,{istopavailable:se=""}=e,{isrecentavailable:le=""}=e,{integratedgameframedesktop:ce="false"}=e,{integratedgameframemobile:de="false"}=e,{periodrecent:ue=""}=e,{periodtop:he=""}=e,{numberusersrecent:pe=""}=e,{numberuserstop:me=""}=e,{amountlimit:ge=""}=e,{defaultcurrency:fe=""}=e,{positionjackpotbanners:ye=""}=e,{caticon0:be=""}=e,{caticon1:ve=""}=e,{caticon2:we=""}=e,{caticon3:$e=""}=e,{backgroundsrc:xe=""}=e,{backgroundsrcmobile:Ce=""}=e,{titlelogopath:Se=""}=e,{iconlabels:ke=""}=e,{visualstructure:Fe=""}=e,{positioncollections:Me=""}=e,{type:Ee=""}=e,{titletype:Te=""}=e,{randombuttonicon:_e=""}=e,h=window.navigator.userAgent;i=gt(h)?"OpenGameFrame":"ShowGameModal";let p,m,g,Ie,f,y,b,Le,Ge,Pe,r,v,w,$=!1,x=!1,Be=!1,C="",Re=!1,Ae=0,S=!1,De=!1,He=!0,Ne=!1,k=!1,Oe=!1,je=!1,F=!0,M=!1,E=!1,Ue=!1,T=!0,We=[],_=[],I="",ze={},Ye,L=!1,G=[],Ve=!1,P=[],Ze=0,B="",Je=!1;var Ke,Xe;({withLocale:Ke,translations:Xe}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(Xe),mt.set(Ke))}),Object.keys(Ci).forEach(e=>{xi(e,Ci[e])});const qe=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(53,m=n.data.session),c(52,p=n.data.userID),p&&p.length&&m&&0<m.length&&R(d,m,p);break;case"SetUnfavoredGame":o=`${d}/player/${p}/favorites`,s=m,p,l=n.data.id,n.data.triggerFactor,G.includes(l)&&(G=G.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),Qe(o,s)});break;case"SetFavoredGame":{var r=`${d}/player/${p}/favorites`;var i=m;p;var a=n.data.id;n.data.triggerFactor;G.includes(a)||G.push(a);let e={items:G},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),Qe(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":p&&p.length&&m&&0<m.length&&R(d,m,p);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(P=(P=nt(`searchedGamesWds_${u}`))?P.split(","):[]).indexOf(t)){let e;P.push(t),e=P.join(","),document.cookie=`searchedGamesWds_${u}=`+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:B},window.location.href),A();break;case"CategoryVendors":B=n.data.categoryid,A();break;case"GameHoveredPc":case"GameHoveredMobile":k=!0;break;case"GameBlurPc":k=(L&&v.focus(),!1);break;case"GameBlurMobile":L?it():k=!1;break;case"ModalClosed":L&&(L=!1,k=!1);break;case"SubgroupsIds":_.some(e=>n.data.subGroupsIds.includes(e))||_.push(...n.data.subGroupsIds)}var e,o,s,l};let R=(e,t,n)=>{"true"==z&&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),et(r.items)),r)).then(e=>(S&&tt(),e)).catch(e=>{console.error(e)})},Qe=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,S&&tt(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const et=(e=[])=>(G=[],0<e.length&&e.forEach(e=>{G.push(e.id)}),G);const tt=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},nt=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},rt=()=>{if(L=!0,d&&a&&o&&(c(59,je=!0),I.length<2)){let e=nt("searchedGamesWds_"+u),t=[],n=(e&&(t=e.split(",")),1!=F||He||(c(58,Oe=F),c(60,F=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(d+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",a),e.searchParams.append("platform",ft(h)),n.push(((e,r)=>new Promise((t,n)=>{c(49,$=!0),r&&0<=Object.keys(ze).indexOf(r)?(c(49,$=!1),t(ze[r])):fetch(e).then(e=>e.json()).then(e=>{c(49,$=!1),ze[e[0].id]=e[0],t(e[0])}).catch(e=>{c(50,x=!0),c(49,$=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(64,f=e),ot(0,f)})}else ot(0,{})}"function"==typeof gtag&>ag("event","SearchInitialized",{context:"CasinoPage"})},it=()=>{c(59,je=!1),I.length<2&&!k&&(c(57,Ne=!1),c(64,f=[]),c(56,De=!1),c(60,F=Oe),c(58,Oe=!1),!1===F&&window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href),L=!1,window.postMessage({type:"OutOfRecentSearches"},window.location.href))},A=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&B&&(e[B]?c(70,Ze=e[B].length):c(70,Ze=0))},at=()=>{c(91,T=!0),c(46,I=""),c(64,f=[]),c(56,De=!1),it()},ot=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},st=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},lt=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},ct=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},dt=()=>{Le&&(Ge=Le.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>Ge||130<Ge?c(63,Ue=!0):c(63,Ue=!1)},ut=e=>{Ae=0,Ie=setInterval(()=>{Ae+=1,c(54,Re=!0),3<=Ae&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Ie))},1e3)},ht=e=>{Ae<3&&c(54,Re=!1),clearInterval(Ie)};return bt(()=>(window.addEventListener("scroll",dt,!1),window.addEventListener("message",qe,!1),()=>{window.removeEventListener("scroll",dt),window.removeEventListener("message",qe),c(54,Re=!1),null!=g&&g.removeEventListener("mousedown",ut),null!=g&&g.removeEventListener("touchstart",ut),null!=g&&g.removeEventListener("mouseup",ht),null!=g&&g.removeEventListener("touchend",ht)})),n.$$set=e=>{"endpoint"in e&&c(0,d=e.endpoint),"datasource"in e&&c(1,a=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,l=e.userid),"clientstyling"in e&&c(6,H=e.clientstyling),"clientstylingurl"in e&&c(7,N=e.clientstylingurl),"translationurl"in e&&c(82,O=e.translationurl),"categorybackground"in e&&c(8,j=e.categorybackground),"visiblegames"in e&&c(9,U=e.visiblegames),"alternativesearch"in e&&c(10,W=e.alternativesearch),"favorites"in e&&c(11,z=e.favorites),"mostplayed"in e&&c(83,Y=e.mostplayed),"lastplayed"in e&&c(84,V=e.lastplayed),"containermaxwidth"in e&&c(12,Z=e.containermaxwidth),"lobbyid"in e&&c(85,u=e.lobbyid),"haspanicbutton"in e&&c(13,J=e.haspanicbutton),"mostplayedrounds"in e&&c(86,K=e.mostplayedrounds),"lastplayedperiod"in e&&c(87,X=e.lastplayedperiod),"filteredcategories"in e&&c(88,q=e.filteredcategories),"activecategory"in e&&c(89,Q=e.activecategory),"livecasino"in e&&c(14,ee=e.livecasino),"playrandomgame"in e&&c(15,te=e.playrandomgame),"filteredrandomgamecategories"in e&&c(16,ne=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&c(17,re=e.gamepagemodalurl),"positionwinnerswidget"in e&&c(18,ie=e.positionwinnerswidget),"tabsorder"in e&&c(19,ae=e.tabsorder),"enableautoscroll"in e&&c(20,oe=e.enableautoscroll),"istopavailable"in e&&c(21,se=e.istopavailable),"isrecentavailable"in e&&c(22,le=e.isrecentavailable),"integratedgameframedesktop"in e&&c(23,ce=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(24,de=e.integratedgameframemobile),"periodrecent"in e&&c(25,ue=e.periodrecent),"periodtop"in e&&c(26,he=e.periodtop),"numberusersrecent"in e&&c(27,pe=e.numberusersrecent),"numberuserstop"in e&&c(28,me=e.numberuserstop),"amountlimit"in e&&c(29,ge=e.amountlimit),"defaultcurrency"in e&&c(30,fe=e.defaultcurrency),"positionjackpotbanners"in e&&c(31,ye=e.positionjackpotbanners),"caticon0"in e&&c(32,be=e.caticon0),"caticon1"in e&&c(33,ve=e.caticon1),"caticon2"in e&&c(34,we=e.caticon2),"caticon3"in e&&c(35,$e=e.caticon3),"backgroundsrc"in e&&c(36,xe=e.backgroundsrc),"backgroundsrcmobile"in e&&c(37,Ce=e.backgroundsrcmobile),"titlelogopath"in e&&c(38,Se=e.titlelogopath),"iconlabels"in e&&c(39,ke=e.iconlabels),"visualstructure"in e&&c(40,Fe=e.visualstructure),"positioncollections"in e&&c(41,Me=e.positioncollections),"type"in e&&c(42,Ee=e.type),"titletype"in e&&c(43,Te=e.titletype),"randombuttonicon"in e&&c(44,_e=e.randombuttonicon)},n.$$.update=()=>{if(32768&n.$$.dirty[1]&&I&&(2<=I.length?c(91,T=!0):c(91,T=!1)),11&n.$$.dirty[0]|32768&n.$$.dirty[1]|805306368&n.$$.dirty[2])if(2<=I.length){c(57,Ne=!0);let e=new URL(d+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",ft(h)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+I),r=e,new Promise((t,n)=>{c(49,$=!0),fetch(r).then(e=>e.json()).then(e=>{c(49,$=!1),t(e)}).catch(e=>{c(50,x=!0),c(49,$=!1),console.error(e),n(e)})}).then(e=>{c(64,f=e),ct(0,e)})}else T||rt(),He&&c(90,He=!1);var r,i,t;if(8&n.$$.dirty[0]|134217728&n.$$.dirty[2]&&o&&Q){c(66,y=Q);var e={data:{itemId:y}};switch(c(57,Ne=!1),c(46,I=""),Ye=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(60,F=!0),c(55,S=!1),c(66,y=""),c(61,M=!1),c(62,E=!1);break;case"FAVORITES":c(60,F=!1),c(55,S=!0),c(61,M=!1),c(62,E=!1),c(66,y="");break;case"MOSTPLAYED":"true"==Y&&(c(66,y=""),c(60,F=!1),c(55,S=!1),c(61,M=!0));break;case"LASTPLAYED":"true"==V&&(c(66,y=""),c(60,F=!1),c(62,E=!0),c(55,S=!1),c(61,M=!1));break;default:c(60,F=!1),c(55,S=!1),c(61,M=!1),c(62,E=!1),c(66,y=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href)},500)}_&&!_.includes(y)&&""!=y&&window.postMessage({type:"NonExistentCategory"},window.location.href)}if((49&n.$$.dirty[0]&&s&&l&&d&&(c(51,Be=!0),c(53,m=s),c(52,p=l),p&&p.length&&m&&0<m.length&&R(d,m,p)),1035&n.$$.dirty[0]&&d&&a&&o&&W)&&(d||(C="Endpoint is missing! Please provide a valid endpointURL.",c(50,x=!0),c(49,$=!1),console.error(C)),a||(C="Datasource is missing! Please provide a valid datasource.",c(50,x=!0),c(49,$=!1),console.error(C)),(!o||o.length<2)&&(C="Language is missing! Please provide a valid language (alpha2code)",c(50,x=!0),c(49,$=!1),console.error(C)),!x)){c(49,$=!0),"true"==z&&R(d,m,p),t=o,mt.set(t);let e=new URL(d+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",ft(h)),i=e,new Promise((t,n)=>{c(49,$=!0),fetch(i).then(e=>e.json()).then(e=>{c(49,$=!1),t(e)}).catch(e=>{c(50,x=!0),c(49,$=!1),console.error(e),n(e)})}).then(e=>{let r=q.split(",");e&&(Pe=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,q))for(var n of r)e.flags==n&&(t=!1);return t}),c(65,We=Pe.map(e=>e.id)),_=e.items.map(e=>e.id.toString()),c(49,$=!1))}),"PC"!==ft(h)&&(v.addEventListener("focusin",e=>{c(69,Ve=!0)}),v.addEventListener("focusout",e=>{c(69,Ve=!1)})),A(),(Le=b)&&(Ge=Le.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&n.$$.dirty[0]&&o&&(Je&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href)},500),Je=!1),1048576&n.$$.dirty[2]&&O&&fetch(O).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xi(e,t[e])})}).catch(e=>{console.log(e)}),64&n.$$.dirty[0]|65536&n.$$.dirty[1]&&H&&w){let e=document.createElement("style");e.innerHTML=H,w.appendChild(e)}if(128&n.$$.dirty[0]|65536&n.$$.dirty[1]&&N&&w){let t=document.createElement("style");fetch(new URL(N)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{w.appendChild(t)},1)})}16384&n.$$.dirty[1]&&g&&(null!=g&&g.addEventListener("mousedown",ut,!1),null!=g&&g.addEventListener("touchstart",ut,!1),null!=g&&g.addEventListener("mouseup",ht,!1),null!=g&&g.addEventListener("touchend",ht,!1))},[d,a,D,o,s,l,H,N,j,U,W,z,Z,J,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,fe,ye,be,ve,we,$e,xe,Ce,Se,ke,Fe,Me,Ee,Te,_e,g,I,w,i,$,x,Be,p,m,Re,S,De,Ne,Oe,je,F,M,E,Ue,f,We,y,b,v,Ve,Ze,t,h,R,rt,it,()=>{window.postMessage({type:"scroll"},window.location.href)},at,st,lt,(e,t)=>{B=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:U,receivedFavoriteResults:r},window.location.href)},ct,O,Y,V,u,K,X,q,Q,He,T,function(e){pt[e?"unshift":"push"](()=>{v=e,c(68,v)})},function(){I=this.value,c(46,I)},()=>at(),()=>lt(),()=>{st()},function(e){pt[e?"unshift":"push"](()=>{b=e,c(67,b)})},function(e){pt[e?"unshift":"push"](()=>{v=e,c(68,v)})},function(){I=this.value,c(46,I)},()=>at(),()=>lt(),()=>{st()},function(e){pt[e?"unshift":"push"](()=>{b=e,c(67,b)})},function(e){pt[e?"unshift":"push"](()=>{g=e,c(45,g)})},function(e){pt[e?"unshift":"push"](()=>{w=e,c(47,w)})}]}function Ps(e,{delay:t=0,duration:n=400,easing:r=$}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function Bs(n){let r,i,a,o,s,l,c,d,t,u,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("div")).innerHTML="<slot></slot>",o=ge(),s=pe("span"),(l=pe("slot")).innerHTML='<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>',fe(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"part","ModalCloseBtn"),fe(s,"role","button"),fe(i,"class","ModalWindow"),fe(i,"part","ModalWindow"),fe(i,"id","Modal"),q(()=>n[17].call(i)),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(s,l),n[16](i),d=m(i,n[17].bind(i)),n[18](r),u=!0,h||(p=V(s,"click",n[8]),h=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(s,"class",c)},i(e){u||(q(()=>{(t=t||ve(i,Ps,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||ve(i,Ps,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&he(r),n[16](null),d(),e&&t&&t.end(),n[18](null),h=!1,p()}}}function Rs(e){let n,r,i=e[7]&&Bs(e);return{c(){i&&i.c(),n=c(),this.c=z},m(e,t){i&&i.m(e,t),ue(e,n,t),r=!0},p(e,[t]){e[7]?i?(i.p(e,t),128&t&&se(i,1)):((i=Bs(e)).c(),se(i,1),i.m(n.parentNode,n)):i&&(ae(),le(i,1,1,()=>{i=null}),oe())},i(e){r||(se(i),r=!0)},o(e){le(i),r=!1},d(e){i&&i.d(e),e&&he(n)}}}function As(e,t,n){let r,i,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:h=""}=t,{haspanicbutton:p="false"}=t,{gamepagemodalurl:m="false"}=t,{sessioncheck:g="true"}=t,f=window.navigator.userAgent,y=!1,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(7,v=!1),"ShowGameModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,v=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained)},$=e=>{var t;b&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return bt(()=>(n(3,y=gt(f)),window.addEventListener("message",w,!1),window.addEventListener("resize",$,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,m=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&h&&"true"==g&&Qr(h,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&e.$$.dirty&&d&&i){let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)}if(4100&e.$$.dirty&&u&&i){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[s,p,i,y,r,void 0,void 0,v,()=>{n(7,v=!1),n(3,y=gt(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:m,mobileView:y},window.location.href)},l,c,d,u,h,m,g,function(e){pt[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){pt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function Ds(e,t){Ir(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Gs,_s,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:82,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,filteredrandomgamecategories:16,gamepagemodalurl:17,positionwinnerswidget:18,tabsorder:19,enableautoscroll:20,istopavailable:21,isrecentavailable:22,integratedgameframedesktop:23,integratedgameframemobile:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:29,defaultcurrency:30,positionjackpotbanners:31,caticon0:32,caticon1:33,caticon2:34,caticon3:35,backgroundsrc:36,backgroundsrcmobile:37,titlelogopath:38,iconlabels:39,visualstructure:40,positioncollections:41,type:42,titletype:43,randombuttonicon:44},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","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 translationurl(){return this.$$.ctx[82]}set translationurl(e){this.$$set({translationurl: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 filteredrandomgamecategories(){return this.$$.ctx[16]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[17]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[18]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[19]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[20]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[21]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[22]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[23]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[24]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[29]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[30]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[31]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[32]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[33]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[34]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[35]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[36]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[37]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[38]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[39]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[40]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[41]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[42]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[43]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[44]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends i{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}.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 .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},As,Rs,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const Hs={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter ..."}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Ns(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Os=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},js=function(e,...t){try{return Ns(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function Us(n){let r,i,a=n[11]&&Ys(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),P(r,"background",n[20]?"":`url(${n[10].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){ue(e,r,t),de(r,i),a&&a.m(i,null),n[82](r)},p(e,t){e[11]?a?a.p(e,t):((a=Ys(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),1049600&t[0]&&P(r,"background",e[20]?"":`url(${e[10].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[82](null)}}}function Ws(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function zs(e){let n,r,i=e[24]("gamePage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16777216&t[0]&&i!==(i=e[24]("gamePage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ys(e){let n;function r(e){return e[20]?Ks:e[6]?Js:e[12]?Zs:Vs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Vs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$=n[10].name+"",x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me($),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(x),p=ge(),m=pe("button"),g=me(C),f=ge(),y=pe("p"),b=me(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[V(u,"click",n[80]),V(m,"click",n[81])],v=!0)},p(e,t){1024&t[0]&&$!==($=e[10].name+"")&&ye(a,$),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(h,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&he(r),v=!1,Y(w)}}}function Zs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";function S(e){return e[17]?qs:Xs}let k=S(n),F=k(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),d=pe("button"),u=me(x),h=ge(),p=pe("button"),m=me(C),g=ge(),f=pe("p"),y=pe("span"),b=me(n[4]),v=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[10].launchUrl)||fe(a,"src",o),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[23]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[71](a),de(i,s),de(i,l),de(l,c),de(c,d),de(d,u),de(c,h),de(c,p),de(p,m),de(l,g),de(l,f),de(f,y),de(y,b),n[74](f),de(l,v),F.m(l,null),n[77](l),n[78](i),n[79](r),w||($=[V(d,"click",n[72]),V(p,"click",n[73])],w=!0)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10].launchUrl)&&fe(a,"src",o),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(u,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(m,C),16&t[0]&&ye(b,e[4]),k===(k=S(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(l,null))),8388608&t[0]&&fe(i,"style",e[23]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[71](null),n[74](null),F.d(),n[77](null),n[78](null),n[79](null),w=!1,Y($)}}}function Js(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$=n[24]("gamePage.deposit")+"",x="true"===n[1]&&Qs(n);function C(e){return e[17]?tl:el}let S=C(n),k=S(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),d=me($),u=ge(),h=pe("p"),p=pe("span"),m=me(n[4]),g=ge(),x&&x.c(),f=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[10].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[23]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[62](a),de(i,s),de(i,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p),de(p,m),n[64](h),de(l,g),x&&x.m(l,null),de(l,f),k.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=V(c,"click",n[63]),v=!0)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10].launchUrl)&&fe(a,"src",o),16777216&t[0]&&$!==($=e[24]("gamePage.deposit")+"")&&ye(d,$),16&t[0]&&ye(m,e[4]),"true"===e[1]?x?x.p(e,t):((x=Qs(e)).c(),x.m(l,f)):x&&(x.d(1),x=null),S===(S=C(e))&&k?k.p(e,t):(k.d(1),(k=S(e))&&(k.c(),k.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),8388608&t[0]&&fe(i,"style",e[23]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[62](null),n[64](null),x&&x.d(),k.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function Ks(e){let n;function r(e){return e[6]?il:e[13]?rl:nl}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Xs(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[76]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function qs(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[75]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Qs(n){let r,i,a,o=n[24]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),B(i,"PanicButtonAnimation",n[9]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[65](i)},p(e,t){16777216&t[0]&&o!==(o=e[24]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(i,"PanicButtonAnimation",e[9])},d(e){e&&he(r),n[65](null)}}}function el(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[67]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function tl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[66]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function nl(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$=n[10].name+"",x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me($),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(x),p=ge(),m=pe("button"),g=me(C),f=ge(),y=pe("p"),b=me(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[V(u,"click",n[60]),V(m,"click",n[61])],v=!0)},p(e,t){1024&t[0]&&$!==($=e[10].name+"")&&ye(a,$),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(h,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&he(r),v=!1,Y(w)}}}function rl(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S=n[10].name+"",k=n[24]("gamePage.signIn")+"",F=n[24]("gamePage.register")+"",M=n[24]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(S),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(k),p=ge(),m=pe("button"),g=me(F),f=ge(),y=pe("button"),b=me(M),v=ge(),w=pe("p"),$=me(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(d,f),de(d,y),de(y,b),de(r,v),de(r,w),de(w,$),x||(C=[V(u,"click",n[57]),V(m,"click",n[58]),V(y,"click",n[59])],x=!0)},p(e,t){1024&t[0]&&S!==(S=e[10].name+"")&&ye(a,S),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&k!==(k=e[24]("gamePage.signIn")+"")&&ye(h,k),16777216&t[0]&&F!==(F=e[24]("gamePage.register")+"")&&ye(g,F),16777216&t[0]&&M!==(M=e[24]("gamePage.playForFun")+"")&&ye(b,M),16&t[0]&&ye($,e[4])},d(e){e&&he(r),x=!1,Y(C)}}}function il(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C=n[10].name+"",S=n[24]("gamePage.deposit")+"",k=n[24]("gamePage.playNow")+"",F="true"==n[0]&&al(n),M="true"===n[1]&&ll(n);return{c(){F&&F.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me(C),s=ge(),l=pe("img"),d=ge(),u=pe("div"),h=pe("button"),p=me(S),m=ge(),g=pe("button"),f=me(k),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=me(n[4]),ce(l.src,c=n[10].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){F&&F.m(e,t),ue(e,r,t),ue(e,i,t),de(i,a),de(a,o),de(i,s),de(i,l),de(i,d),de(i,u),de(u,h),de(h,p),de(u,m),de(u,g),de(g,f),de(i,y),M&&M.m(i,null),de(i,b),de(i,v),de(v,w),$||(x=[V(h,"click",n[54]),V(g,"click",n[55])],$=!0)},p(e,t){"true"==e[0]?F?F.p(e,t):((F=al(e)).c(),F.m(r.parentNode,r)):F&&(F.d(1),F=null),1024&t[0]&&C!==(C=e[10].name+"")&&ye(o,C),1024&t[0]&&!ce(l.src,c=e[10].thumbnail)&&fe(l,"src",c),16777216&t[0]&&S!==(S=e[24]("gamePage.deposit")+"")&&ye(p,S),16777216&t[0]&&k!==(k=e[24]("gamePage.playNow")+"")&&ye(f,k),"true"===e[1]?M?M.p(e,t):((M=ll(e)).c(),M.m(i,b)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){F&&F.d(e),e&&he(r),e&&he(i),M&&M.d(),$=!1,Y(x)}}}function al(e){let n;function r(e){return e[10].isFavored?sl:ol}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function ol(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=F("svg"),P(a=F("path"),"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(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=V(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function sl(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=F("svg"),P(a=F("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=V(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function ll(n){let r,i,a,e,t,o,s,l=n[24]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==ft(n[25])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==ft(n[25])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[9]),fe(r,"class",o="PanicSection "+("PC"!==ft(n[25])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ft(n[25])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[56](i)},p(e,t){16777216&t[0]&&l!==(l=e[24]("gamePage.breakButton")+"")&&ye(a,l),512&t[0]&&B(i,"PanicButtonAnimation",e[9])},d(e){e&&he(r),n[56](null)}}}function cl(n){let r;function i(e){return e[8]?zs:e[7]?Ws:Us}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[83](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[83](null)}}}function dl(t,e,i){let R;yt(t,Xr,e=>i(24,R=e));let A,n,r,a,D,o,s,l,c,H,N,d,u,O,j,h,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{favorites:W=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:S=""}=e,{loginevent:k=""}=e,{registerevent:F=""}=e,{depositevent:z=""}=e,{clockformat:Y=""}=e,{haspanicbutton:V="false"}=e,{playforfun:M="true"}=e,{checksession:Z="true"}=e,{integratedgameframedesktop:J="false"}=e,{integratedgameframemobile:K="false"}=e,{gameid:X=""}=e,E=!1,q=!1,T=!0,Q=!1,ee=0,_=!1,te=!1,ne=!1,re=!0,I=!1,L=window.navigator.userAgent,ie=!1,ae=[],oe=!1,se="false",le;var ce,de;({withLocale:ce,translations:de}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(de),mt.set(ce))}),Object.keys(Hs).forEach(e=>{Ds(e,Hs[e])});const ue=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),r&&0<r.length&&(i(6,E=!0),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},he=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),re=t||!1,fetch(n.href).then(e=>e.json()).then(e=>{i(10,o=ue(e[0])),i(8,T=!1),o.launchUrl&&(i(11,_=!0),i(12,te="true"==M&&o.hasFunMode),i(13,ne="true"==M&&o.hasAnonymousFunMode),i(10,o.isFavored=fe(o.id),o))},e=>{console.error("There was an error",e),i(7,q=!0)}).then(()=>{s&&(re||(i(18,H=o.width),i(19,N=o.height),O=o.width+"px",j=o.height+"px",d=o.width,u=o.height),ve())}).finally(()=>{i(8,T=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},pe=()=>{null!=a&&a.addEventListener("mousedown",Fe,!1),null!=a&&a.addEventListener("touchstart",Fe,!1),null!=a&&a.addEventListener("mouseup",Me,!1),null!=a&&a.addEventListener("touchend",Me,!1)},me=()=>{i(9,Q=!1),null!=a&&a.removeEventListener("mousedown",Fe),null!=a&&a.removeEventListener("touchstart",Fe),null!=a&&a.removeEventListener("mouseup",Me),null!=a&&a.removeEventListener("touchend",Me)},ge=e=>{switch(e.data.type){case"GameLaunchID":he(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(51,se="true");break;case"LaunchGameFrame":be(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),i(51,se="false"),me(),gt(L)?setTimeout(()=>{i(11,_="true"===K)},500):setTimeout(()=>{i(11,_="true"===J)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(6,E=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(10,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":i(18,H=e.data.modalContainerSize.modalWidth),i(19,N=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ae=e.data.receivedFavoriteResults.items)}},fe=t=>-1!==ae.findIndex(e=>e.id==t),ye=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(10,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(10,o.isFavored=!0,o))},be=(e,n)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t;i(10,o=ue(e[0])),i(8,T=!1),o.launchUrl&&i(10,o.isFavored=(e=o,t=n,i(13,ne="true"==M&&e.hasAnonymousFunMode),i(12,te="true"==M&&t),i(11,_=!0),fe(e.id)),o)}).finally(()=>{i(8,T=!1)})},ve=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width),u=parseInt(o.height),d=t*n,O=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",Ee()},we=e=>{if(!oe)return gt(L)?$e(K):$e(J);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};js("OPEN_GAME",e)},$e=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href)},xe=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:_},window.location.href),_&&(s&&ve(),window.addEventListener("ModalSize",ge,!1))},G=()=>{k&&(window.postMessage({type:k,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},P=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Ce=()=>{z&&(window.postMessage({type:z},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"GamePage"})),S&&(window.location=S)};function Se(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!I||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Se,!1),document.addEventListener("mozfullscreenchange",Se,!1),document.addEventListener("fullscreenchange",Se,!1),document.addEventListener("MSFullscreenChange",Se,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(I?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,I=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,I=!0)))},ke=(setInterval(()=>{i(4,A=Y?Ei().format(Y):Ei().format("LTS"))},100),()=>{"true"==Z?Qr(f,b).then(e=>{r=e.Guid,e.UserID,i(6,E=!0)},e=>{i(6,E=!1),console.error("err on session",e)}):(r=b,i(6,E=!0))}),Fe=e=>{ee=0,D=setInterval(()=>{ee+=1,i(9,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(D))},1e3)},Me=e=>{ee<3&&i(9,Q=!1),clearInterval(D)},Ee=()=>{var e=I?"100%":O,t=I?"100%":j,n=I||!re?"none":o.width?Math.floor(o.width)+"px":"1280px",r=I||!re?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(23,le=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),I||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(s).height);g=g||r*Math.max(n,.5),i(14,s.style.height=g+"px",s),i(15,l.style.height=g+"px",l),e&&i(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return bt(()=>(window.addEventListener("resize",xe,!1),window.addEventListener("message",ge,!1),oe=!!Os(L),()=>{me(),window.removeEventListener("resize",xe),window.removeEventListener("message",ge)})),t.$$set=e=>{"endpoint"in e&&i(32,f=e.endpoint),"lang"in e&&i(33,y=e.lang),"session"in e&&i(34,b=e.session),"userid"in e&&i(35,U=e.userid),"clientstyling"in e&&i(36,v=e.clientstyling),"clientstylingurl"in e&&i(37,w=e.clientstylingurl),"translationurl"in e&&i(38,$=e.translationurl),"favorites"in e&&i(0,W=e.favorites),"loginurl"in e&&i(39,x=e.loginurl),"registerurl"in e&&i(40,C=e.registerurl),"depositurl"in e&&i(41,S=e.depositurl),"loginevent"in e&&i(42,k=e.loginevent),"registerevent"in e&&i(43,F=e.registerevent),"depositevent"in e&&i(44,z=e.depositevent),"clockformat"in e&&i(45,Y=e.clockformat),"haspanicbutton"in e&&i(1,V=e.haspanicbutton),"playforfun"in e&&i(46,M=e.playforfun),"checksession"in e&&i(47,Z=e.checksession),"integratedgameframedesktop"in e&&i(48,J=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(49,K=e.integratedgameframemobile),"gameid"in e&&i(50,X=e.gameid)},t.$$.update=()=>{if(4&t.$$.dirty[1]&&y&&(e=y,mt.set(e),i(20,ie=gt(L))),524294&t.$$.dirty[1]&&f&&X&&y&&he(X,!0),26&t.$$.dirty[1]&&b&&U&&f&&ke(),65546&t.$$.dirty[1]&&"false"==Z&&b&&f&&ke(),128&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ds(e,t[e])})}).catch(e=>{console.log(e)}),8&t.$$.dirty[0]|32&t.$$.dirty[1]&&v&&h){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(8&t.$$.dirty[0]|64&t.$$.dirty[1]&&w&&h){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==se&&a&&pe(),4&t.$$.dirty[0]&&a&&pe()},[W,V,a,h,A,n,E,q,T,Q,o,_,te,ne,s,l,c,I,H,N,ie,p,m,"",R,L,ye,we,G,P,Ce,B,f,y,b,U,v,w,$,x,C,S,k,F,z,Y,M,Z,J,K,X,se,()=>ye(o.id),()=>ye(o.id),()=>Ce(),()=>{we(o)},function(e){pt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>G(),()=>P(),()=>{we(o)},()=>G(),()=>P(),function(e){pt[e?"unshift":"push"](()=>{n=e,i(5,n)})},()=>Ce(),function(e){pt[e?"unshift":"push"](()=>{m=e,i(22,m)})},function(e){pt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){pt[e?"unshift":"push"](()=>{p=e,i(21,p)})},function(e){pt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){pt[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){pt[e?"unshift":"push"](()=>{n=e,i(5,n)})},()=>G(),()=>P(),function(e){pt[e?"unshift":"push"](()=>{m=e,i(22,m)})},()=>B(),()=>B(),function(e){pt[e?"unshift":"push"](()=>{p=e,i(21,p)})},function(e){pt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){pt[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>G(),()=>P(),function(e){pt[e?"unshift":"push"](()=>{c=e,i(16,c)})},function(e){pt[e?"unshift":"push"](()=>{h=e,i(3,h)})}]}function ul(n){let r,i,a,o,s,l,c,d,t,u,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("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(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),q(()=>n[13].call(r))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),d=m(r,n[13].bind(r)),u=!0,h||(p=V(a,"click",n[6]),h=!0)},p(e,t){n=e,(!u||8&t&&l!==(l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!u||8&t&&c!==(c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){u||(q(()=>{(t=t||ve(r,Ps,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||ve(r,Ps,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&he(r),d(),e&&t&&t.end(),h=!1,p()}}}function hl(n){let r,i,a=n[0]&&ul(n);return{c(){r=pe("div"),a&&a.c(),this.c=z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),a&&a.m(r,null),n[14](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=ul(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[14](null)}}}function pl(e,t,n){let r,i,a,{show:o=!1}=t,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:h=""}=t,{sessioncheck:p="true"}=t,m=window.navigator.userAgent,g=!1;const f=()=>{n(0,o=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,o=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))};return bt(()=>(window.addEventListener("message",y,!1),gt(m)&&n(3,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,o=e.show),"duration"in e&&n(1,s=e.duration),"session"in e&&n(7,l=e.session),"userid"in e&&n(8,c=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,u=e.clientstylingurl),"endpoint"in e&&n(11,h=e.endpoint),"sessioncheck"in e&&n(12,p=e.sessioncheck)},e.$$.update=()=>{if(2432&e.$$.dirty&&l&&c&&h&&"true"==p&&Qr(h,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),516&e.$$.dirty&&d&&r){let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)}if(1028&e.$$.dirty&&u&&r){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[o,s,r,g,void 0,void 0,f,l,c,d,u,h,p,function(){i=this.clientWidth,a=this.clientHeight,n(4,i),n(5,a)},function(e){pt[e?"unshift":"push"](()=>{r=e,n(2,r)})}]}function ml(e,t){Ir(e,t)}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends i{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'}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},dl,cl,t,{endpoint:32,lang:33,session:34,userid:35,clientstyling:36,clientstylingurl:37,translationurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[34]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[35]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends i{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}.FilterModalWindow{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)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;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}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pl,hl,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11,sessioncheck:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[12]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const gl={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function fl(e,t,n){const r=e.slice();return r[34]=t[n],r}function yl(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S=n[6]("filters.filterModalTitle")+"",k=n[6]("filters.filterModalSubtitle")+"",F=n[6]("filters.filterApply")+"",M=n[1]&&vl(n),E=n[4]&&xl(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me(S),l=ge(),c=pe("h5"),d=me(k),u=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),E&&E.c(),g=ge(),f=pe("div"),y=me(F),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[2]?"FilterModalMobileContent":"")),fe(r,"part",$="FilterModalContent "+(n[2]?"FilterModalMobileContent":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(r,u),de(r,h),M&&M.m(h,null),de(r,p),de(r,m),E&&E.m(m,null),de(m,g),de(m,f),de(f,y),x||(C=V(f,"click",n[20]),x=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ye(s,S),64&t[0]&&k!==(k=e[6]("filters.filterModalSubtitle")+"")&&ye(d,k),e[1]?M?M.p(e,t):((M=vl(e)).c(),M.m(h,null)):M&&(M.d(1),M=null),e[4]?E?E.p(e,t):((E=xl(e)).c(),E.m(m,g)):E&&(E.d(1),E=null),64&t[0]&&F!==(F=e[6]("filters.filterApply")+"")&&ye(y,F),8&t[0]&&b!==(b="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),8&t[0]&&v!==(v="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),4&t[0]&&w!==(w="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(r,"class",w),4&t[0]&&$!==($="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(r,"part",$)},d(e){e&&he(r),M&&M.d(),E&&E.d(),x=!1,C()}}}function bl(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function vl(t){let i,a=t[1],o=[];for(let e=0;e<a.length;e+=1)o[e]=$l(fl(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(130&n[0]){let e;for(a=t[1],e=0;e<a.length;e+=1){var r=fl(t,a,e);o[e]?o[e].p(r,n):(o[e]=$l(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function wl(){let n;return{c(){(n=pe("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function $l(n){let r,i,a,o,s,l,c,d,u,h,p=n[34].isFilterSelected&&wl();function m(){return n[18](n[34])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[34].image)||fe(i,"src",a),fe(i,"alt",o=n[34].name),fe(r,"class",c="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",d="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,r,t),de(r,i),de(r,s),p&&p.m(r,null),de(r,l),u||(h=V(r,"click",m),u=!0)},p(e,t){n=e,2&t[0]&&!ce(i.src,a=n[34].image)&&fe(i,"src",a),2&t[0]&&o!==(o=n[34].name)&&fe(i,"alt",o),n[34].isFilterSelected?p||((p=wl()).c(),p.m(r,l)):p&&(p.d(1),p=null),2&t[0]&&c!==(c="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),2&t[0]&&d!==(d="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",d)},d(e){e&&he(r),p&&p.d(),u=!1,h()}}}function xl(e){let n,r=e[4].length&&Cl(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[4].length?r?r.p(e,t):((r=Cl(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Cl(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){ue(e,r,t),de(r,i),a||(o=V(r,"click",n[19]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Sl(n){let r;function i(e){return e[5]?bl:yl}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[21](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[21](null)}}}function kl(e,t,i){let n;yt(e,Xr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{translationurl:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,p=[],m=!1,g=window.navigator.userAgent,f=!1,y="",b=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},$=!1,x=(w[y]&&(w={[y]:[]}),[]);var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(S),mt.set(C))}),Object.keys(gl).forEach(e=>{ml(e,gl[e])});const k=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(y&&((b=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(4,v=b[y])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[y]:v})):((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${y})&datasource=${o}&platform=`+ft(g),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},y&&t[y]&&(e.isFilterSelected=0<=t[y].indexOf(e.id))}),i(1,p=e),window.postMessage({type:"UpdateFilters",vendorsArray:p},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;e&&e.length&&p.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=p.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(4,v=x),i(3,f=!1);break;case"AvailableVendors":i(1,p=t.data.venArray),i(4,v=p.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(1,p=t.data.venArray),p&&i(4,v=p.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":E(),window.postMessage({type:"ApplyFilters"},window.location.href),i(3,f=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),p.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:p},window.location.href);break;case"CategoryVendors":y=t.data.categoryid,b&&y&&i(4,v=b[y]);break;case"ModalLoader":i(5,$=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),i(3,f=!M(v,x))):(v.includes(t.id)&&i(4,v=v.filter(e=>e!==t.id)),i(3,f=!(!v.length&&M(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:p},window.location.href)},M=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},E=()=>{p.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:p},window.location.href),i(3,f=M(v,x)),i(4,v=[]),null!==e&&((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},T=()=>{i(5,$=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[y]:v})):((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)},_=()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)},I=()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})};return bt(()=>(window.addEventListener("message",k,!1),gt(g)&&i(2,m=!0),()=>{window.removeEventListener("message",k)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"translationurl"in e&&i(15,d=e.translationurl),"clientstyling"in e&&i(16,u=e.clientstyling),"clientstylingurl"in e&&i(17,h=e.clientstylingurl)},e.$$.update=()=>{65536&e.$$.dirty[0]&&u&&_(),131072&e.$$.dirty[0]&&h&&I(),32768&e.$$.dirty[0]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ml(e,t[e])})}).catch(e=>{console.log(e)}),65537&e.$$.dirty[0]&&u&&r&&_(),131073&e.$$.dirty[0]&&h&&r&&I()},[r,p,m,f,v,$,n,F,E,T,a,o,s,l,c,d,u,h,e=>F(e),()=>E(),()=>T(),function(e){pt[e?"unshift":"push"](()=>{r=e,i(0,r)})}]}function Fl(e,t){Ir(e,t)}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends i{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'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},kl,Sl,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,translationurl:15,clientstyling:16,clientstylingurl:17},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","translationurl","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const Ml={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function El(e){let n;function r(e){return e[6]?Ll:e[11]?Il:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c(),fe(n,"class","CasinoIntegratedGamePage"),fe(n,"part","CasinoIntegratedGamePage")},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function Tl(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function _l(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Il(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S,k,F,M,E=n[22]("gamePage.signIn")+"",T=n[22]("gamePage.register")+"";function _(e){return e[17]?Pl:Gl}let I=_(n),L=I(n),G="true"==n[1]&&!n[17]&&Bl();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[4]),c=ge(),d=pe("div"),u=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=me(E),$=ge(),x=pe("button"),C=me(T),S=ge(),L.c(),k=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[10].launchUrl)||fe(m,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(x,"class","RegisterButton"),fe(x,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),P(p,"width",n[17]?"100%":n[18]),P(p,"height",n[17]?"100%":n[19]),P(p,"max-width",n[17]||!n[12]?"none":n[10].width?Math.floor(n[10].width)+"px":"1280px"),P(p,"max-height",n[17]||!n[12]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),B(h,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[57](o),de(r,c),de(r,d),ue(e,u,t),ue(e,h,t),de(h,p),de(p,m),n[58](m),de(p,f),de(p,y),de(y,b),de(b,v),de(v,w),de(b,$),de(b,x),de(x,C),de(y,S),L.m(y,null),n[63](y),n[64](p),de(h,k),G&&G.m(h,null),n[65](h),F||(M=[V(i,"click",n[56]),V(v,"click",n[59]),V(x,"click",n[60])],F=!0)},p(e,t){16&t[0]&&ye(l,e[4]),1024&t[0]&&!ce(m.src,g=e[10].launchUrl)&&fe(m,"src",g),4194304&t[0]&&E!==(E=e[22]("gamePage.signIn")+"")&&ye(w,E),4194304&t[0]&&T!==(T=e[22]("gamePage.register")+"")&&ye(C,T),I===(I=_(e))&&L?L.p(e,t):(L.d(1),(L=I(e))&&(L.c(),L.m(y,null))),393216&t[0]&&P(p,"width",e[17]?"100%":e[18]),655360&t[0]&&P(p,"height",e[17]?"100%":e[19]),136192&t[0]&&P(p,"max-width",e[17]||!e[12]?"none":e[10].width?Math.floor(e[10].width)+"px":"1280px"),136192&t[0]&&P(p,"max-height",e[17]||!e[12]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?G&&(G.d(1),G=null):G||((G=Bl()).c(),G.m(h,null)),131072&t[0]&&B(h,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[57](null),e&&he(u),e&&he(h),n[58](null),L.d(),n[63](null),n[64](null),G&&G.d(),n[65](null),F=!1,Y(M)}}}function Ll(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S,k=n[22]("gamePage.deposit")+"",F="true"===n[0]&&Rl(n);function M(e){return e[17]?Dl:Al}let E=M(n),T=E(n),_="true"==n[1]&&!n[17]&&Hl();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[4]),c=ge(),d=pe("button"),u=me(k),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),v=ge(),w=pe("div"),F&&F.c(),$=ge(),T.c(),x=ge(),_&&_.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(d,"class","DepositButton"),fe(d,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[10].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[14]+"px"),fe(g,"height",b=n[15]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),P(m,"width",n[17]?"100%":n[18]),P(m,"height",n[17]?"100%":n[19]),P(m,"max-width",n[17]?"none":n[10].width?n[10].width+"px":"1280px"),P(m,"max-height",n[17]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),B(p,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[47](o),de(r,c),de(r,d),de(d,u),ue(e,h,t),ue(e,p,t),de(p,m),de(m,g),n[49](g),de(m,v),de(m,w),F&&F.m(w,null),de(w,$),T.m(w,null),n[53](w),n[54](m),de(p,x),_&&_.m(p,null),n[55](p),C||(S=[V(i,"click",n[46]),V(d,"click",n[48])],C=!0)},p(e,t){16&t[0]&&ye(l,e[4]),4194304&t[0]&&k!==(k=e[22]("gamePage.deposit")+"")&&ye(u,k),1024&t[0]&&!ce(g.src,f=e[10].launchUrl)&&fe(g,"src",f),16384&t[0]&&y!==(y=e[14]+"px")&&fe(g,"width",y),32768&t[0]&&b!==(b=e[15]+"px")&&fe(g,"height",b),"true"===e[0]?F?F.p(e,t):((F=Rl(e)).c(),F.m(w,$)):F&&(F.d(1),F=null),E===(E=M(e))&&T?T.p(e,t):(T.d(1),(T=E(e))&&(T.c(),T.m(w,null))),393216&t[0]&&P(m,"width",e[17]?"100%":e[18]),655360&t[0]&&P(m,"height",e[17]?"100%":e[19]),132096&t[0]&&P(m,"max-width",e[17]?"none":e[10].width?e[10].width+"px":"1280px"),132096&t[0]&&P(m,"max-height",e[17]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?_&&(_.d(1),_=null):_||((_=Hl()).c(),_.m(p,null)),131072&t[0]&&B(p,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[47](null),e&&he(h),e&&he(p),n[49](null),F&&F.d(),T.d(),n[53](null),n[54](null),_&&_.d(),n[55](null),C=!1,Y(S)}}}function Gl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[62]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Pl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[61]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Bl(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Rl(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==ft(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==ft(n[23])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[9]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[50](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(i,"PanicButtonAnimation",e[9])},d(e){e&&he(r),n[50](null)}}}function Al(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[52]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Dl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[51]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Hl(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Nl(n){let r;function i(e){return e[8]?_l:e[7]?Tl:El}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[66](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[66](null)}}}function Ol(t,e,r){let R;yt(t,Xr,e=>r(22,R=e));let A,n,i,a,D,o,s,l,c,d,u,h,H,N,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:O=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:S=""}=e,{loginevent:k=""}=e,{registerevent:F=""}=e,{depositevent:M=""}=e,{clockformat:E=""}=e,{haspanicbutton:j="false"}=e,{playforfun:T="true"}=e,{checksession:U="true"}=e,{gamebanneractive:W="false"}=e,{gameid:_=""}=e,I=!1,z=!1,Y=!0,L=!1,G=0,V=!1,Z=!1,J=!0,P=!1,K=window.navigator.userAgent;var X,q;({withLocale:X,translations:q}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(q),mt.set(X))}),Object.keys(Ml).forEach(e=>{Fl(e,Ml[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),r(12,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(10,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(6,I=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,r(11,Z="true"==T&&o.hasFunMode),"true"==T&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(7,z=!0)}).then(()=>{s&&(ee(),J||(r(18,H=o.width),r(19,N=o.height),u=o.width,h=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(d);r(14,l=parseInt(e.width.slice(0,-2))),r(15,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);u=parseInt(t.width),h=parseInt(t.height),l/n>c-m.clientHeight-g.clientHeight?(h=c-m.clientHeight-g.clientHeight,u=c*n):(u=l,h=l/n),r(18,H=u?Math.floor(u)+"px":"1280px"),r(19,N=h?Math.floor(h)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&"PC"==ft(K)&&ee()},ne=()=>{k&&(window.postMessage({type:k,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},re=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},ie=()=>{M&&(window.postMessage({type:M},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"})),S&&(window.location=S)};function ae(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!P||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ae,!1),document.addEventListener("mozfullscreenchange",ae,!1),document.addEventListener("fullscreenchange",ae,!1),document.addEventListener("MSFullscreenChange",ae,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(P?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(17,P=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(17,P=!0)))},oe=setInterval(()=>{r(4,A=E?Ei().format(E):Ei().format("LTS"))},100),se=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},le=e=>{G=0,D=setInterval(()=>{G+=1,r(9,L=!0),3<=G&&clearInterval(D)},1e3)},ce=e=>{G<3&&r(9,L=!1),clearInterval(D)};return bt(()=>(window.addEventListener("resize",te,!1),Os(K),()=>{r(9,L=!1),null!=a&&a.removeEventListener("mousedown",le),null!=a&&a.removeEventListener("touchstart",le),null!=a&&a.removeEventListener("mouseup",ce),null!=a&&a.removeEventListener("touchend",ce),window.removeEventListener("resize",te),clearInterval(oe)})),t.$$set=e=>{"endpoint"in e&&r(29,f=e.endpoint),"lang"in e&&r(30,y=e.lang),"session"in e&&r(31,b=e.session),"userid"in e&&r(32,O=e.userid),"clientstyling"in e&&r(33,v=e.clientstyling),"clientstylingurl"in e&&r(34,w=e.clientstylingurl),"translationurl"in e&&r(35,$=e.translationurl),"loginurl"in e&&r(36,x=e.loginurl),"registerurl"in e&&r(37,C=e.registerurl),"depositurl"in e&&r(38,S=e.depositurl),"loginevent"in e&&r(39,k=e.loginevent),"registerevent"in e&&r(40,F=e.registerevent),"depositevent"in e&&r(41,M=e.depositevent),"clockformat"in e&&r(42,E=e.clockformat),"haspanicbutton"in e&&r(0,j=e.haspanicbutton),"playforfun"in e&&r(43,T=e.playforfun),"checksession"in e&&r(44,U=e.checksession),"gamebanneractive"in e&&r(1,W=e.gamebanneractive),"gameid"in e&&r(45,_=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,mt.set(e),gt(K),r(8,Y=!1)),1610612736&t.$$.dirty[0]|16384&t.$$.dirty[1]&&f&&_&&y&&Q(_),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&O&&f&&("true"==U?Qr(f,b).then(e=>{i=e.Guid,e.UserID,r(6,I=!0)},e=>{r(6,I=!1),console.error("err on session",e)}):i=b),8&t.$$.dirty[0]|4&t.$$.dirty[1]&&v&&p){let e=document.createElement("style");e.innerHTML=v,p.appendChild(e)}if(8&t.$$.dirty[0]|8&t.$$.dirty[1]&&w&&p){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",le,!1),null!=a&&a.addEventListener("touchstart",le,!1),null!=a&&a.addEventListener("mouseup",ce,!1),null!=a&&a.addEventListener("touchend",ce,!1)),16&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fl(e,t[e])})}).catch(e=>{console.log(e)})},[j,W,a,p,A,n,I,z,Y,L,o,Z,J,s,l,c,d,P,H,N,m,g,R,K,ne,re,ie,B,se,f,y,b,O,v,w,$,x,C,S,k,F,M,E,T,U,_,()=>se(),function(e){pt[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>ie(),function(e){pt[e?"unshift":"push"](()=>{n=e,r(5,n)})},function(e){pt[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){pt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){pt[e?"unshift":"push"](()=>{d=e,r(16,d)})},function(e){pt[e?"unshift":"push"](()=>{s=e,r(13,s)})},()=>se(),function(e){pt[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){pt[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>ne(),()=>re(),()=>B(),()=>B(),function(e){pt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){pt[e?"unshift":"push"](()=>{d=e,r(16,d)})},function(e){pt[e?"unshift":"push"](()=>{s=e,r(13,s)})},function(e){pt[e?"unshift":"push"](()=>{p=e,r(3,p)})}]}function jl(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g="true"==e[22]&&Wl(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),d=pe("casino-page"),u=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),P(i,"height",e[62]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),x(l,"endpoint",e[55]),x(l,"datasource",e[56]),x(l,"lang",e[57]),x(l,"session",e[61]),x(l,"userid",e[2]),x(l,"sessioncheck","false"),x(l,"actionevent",e[19]),x(l,"filteredcategories",e[7]),x(l,"mostplayed",e[11]),x(l,"mostplayedrounds",e[12]),x(l,"lastplayed",e[13]),x(l,"lastplayedperiod",e[14]),x(l,"favorites",e[15]),x(l,"activecategory",e[1]),x(l,"clientstyling",e[3]),x(l,"clientstylingurl",e[4]),x(l,"containermaxwidth",e[17]),x(l,"location","secondaryMenu"),x(l,"showsubgroups",e[48]),x(d,"session",e[61]),x(d,"userid",e[2]),x(d,"endpoint",e[55]),x(d,"datasource",e[56]),x(d,"lang",e[57]),x(d,"visiblegames",e[24]),x(d,"playrandomgame",e[23]),x(d,"activecategory",e[1]),x(d,"alternativesearch",e[16]),x(d,"favorites",e[15]),x(d,"mostplayedrounds",e[12]),x(d,"mostplayed",e[11]),x(d,"lastplayed",e[13]),x(d,"lastplayedperiod",e[14]),x(d,"clientstyling",e[3]),x(d,"clientstylingurl",e[4]),x(d,"lobbyid",e[6]),x(d,"containermaxwidth",e[17]),x(d,"haspanicbutton",e[18]),x(d,"livecasino",e[20]),x(d,"currency",e[0]),x(d,"filteredcategories",e[7]),x(d,"gamepagemodalurl",e[27]),x(d,"randombuttonicon",e[52]),x(d,"filteredrandomgamecategories",e[53]),x(d,"positionwinnerswidget",e[28]),x(d,"periodrecent",e[33]),x(d,"periodtop",e[34]),x(d,"numberusersrecent",e[35]),x(d,"numberuserstop",e[36]),x(d,"amountlimit",e[37]),x(d,"isrecentavailable",e[32]),x(d,"istopavailable",e[31]),x(d,"integratedgameframedesktop",e[25]),x(d,"integratedgameframemobile",e[26]),x(d,"defaultcurrency",e[38]),x(d,"enableautoscroll",e[30]),x(d,"tabsorder",e[29]),x(d,"positionjackpotbanners",e[39]),x(d,"backgroundsrc",e[44]),x(d,"backgroundsrcmobile",e[45]),x(d,"titlelogopath",e[46]),x(d,"caticon0",e[40]),x(d,"caticon1",e[41]),x(d,"caticon2",e[42]),x(d,"caticon3",e[43]),x(d,"iconlabels",e[47]),x(d,"positioncollections",e[49]),x(d,"type",e[50]),x(d,"titletype",e[51]),x(m,"clientstyling",e[3]),x(m,"clientstylingurl",e[4]),x(m,"session",e[61]),x(m,"userid",e[2]),x(m,"endpoint",e[55]),x(m,"datasource",e[56]),x(m,"lang",e[57]),x(p,"clientstylingurl",e[4]),x(p,"clientstyling",e[3]),x(p,"session",e[61]),x(p,"userid",e[2]),x(p,"endpoint",e[55]),x(p,"datasource",e[56]),x(p,"lang",e[57]),x(p,"sessioncheck","false"),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(r,u),g&&g.m(r,null),de(r,h),de(r,p),de(p,m)},p(e,t){1&t[2]&&P(i,"height",e[62]+"px"),16777216&t[1]&&x(l,"endpoint",e[55]),33554432&t[1]&&x(l,"datasource",e[56]),67108864&t[1]&&x(l,"lang",e[57]),1073741824&t[1]&&x(l,"session",e[61]),4&t[0]&&x(l,"userid",e[2]),524288&t[0]&&x(l,"actionevent",e[19]),128&t[0]&&x(l,"filteredcategories",e[7]),2048&t[0]&&x(l,"mostplayed",e[11]),4096&t[0]&&x(l,"mostplayedrounds",e[12]),8192&t[0]&&x(l,"lastplayed",e[13]),16384&t[0]&&x(l,"lastplayedperiod",e[14]),32768&t[0]&&x(l,"favorites",e[15]),2&t[0]&&x(l,"activecategory",e[1]),8&t[0]&&x(l,"clientstyling",e[3]),16&t[0]&&x(l,"clientstylingurl",e[4]),131072&t[0]&&x(l,"containermaxwidth",e[17]),131072&t[1]&&x(l,"showsubgroups",e[48]),1073741824&t[1]&&x(d,"session",e[61]),4&t[0]&&x(d,"userid",e[2]),16777216&t[1]&&x(d,"endpoint",e[55]),33554432&t[1]&&x(d,"datasource",e[56]),67108864&t[1]&&x(d,"lang",e[57]),16777216&t[0]&&x(d,"visiblegames",e[24]),8388608&t[0]&&x(d,"playrandomgame",e[23]),2&t[0]&&x(d,"activecategory",e[1]),65536&t[0]&&x(d,"alternativesearch",e[16]),32768&t[0]&&x(d,"favorites",e[15]),4096&t[0]&&x(d,"mostplayedrounds",e[12]),2048&t[0]&&x(d,"mostplayed",e[11]),8192&t[0]&&x(d,"lastplayed",e[13]),16384&t[0]&&x(d,"lastplayedperiod",e[14]),8&t[0]&&x(d,"clientstyling",e[3]),16&t[0]&&x(d,"clientstylingurl",e[4]),64&t[0]&&x(d,"lobbyid",e[6]),131072&t[0]&&x(d,"containermaxwidth",e[17]),262144&t[0]&&x(d,"haspanicbutton",e[18]),1048576&t[0]&&x(d,"livecasino",e[20]),1&t[0]&&x(d,"currency",e[0]),128&t[0]&&x(d,"filteredcategories",e[7]),134217728&t[0]&&x(d,"gamepagemodalurl",e[27]),2097152&t[1]&&x(d,"randombuttonicon",e[52]),4194304&t[1]&&x(d,"filteredrandomgamecategories",e[53]),268435456&t[0]&&x(d,"positionwinnerswidget",e[28]),4&t[1]&&x(d,"periodrecent",e[33]),8&t[1]&&x(d,"periodtop",e[34]),16&t[1]&&x(d,"numberusersrecent",e[35]),32&t[1]&&x(d,"numberuserstop",e[36]),64&t[1]&&x(d,"amountlimit",e[37]),2&t[1]&&x(d,"isrecentavailable",e[32]),1&t[1]&&x(d,"istopavailable",e[31]),33554432&t[0]&&x(d,"integratedgameframedesktop",e[25]),67108864&t[0]&&x(d,"integratedgameframemobile",e[26]),128&t[1]&&x(d,"defaultcurrency",e[38]),1073741824&t[0]&&x(d,"enableautoscroll",e[30]),536870912&t[0]&&x(d,"tabsorder",e[29]),256&t[1]&&x(d,"positionjackpotbanners",e[39]),8192&t[1]&&x(d,"backgroundsrc",e[44]),16384&t[1]&&x(d,"backgroundsrcmobile",e[45]),32768&t[1]&&x(d,"titlelogopath",e[46]),512&t[1]&&x(d,"caticon0",e[40]),1024&t[1]&&x(d,"caticon1",e[41]),2048&t[1]&&x(d,"caticon2",e[42]),4096&t[1]&&x(d,"caticon3",e[43]),65536&t[1]&&x(d,"iconlabels",e[47]),262144&t[1]&&x(d,"positioncollections",e[49]),524288&t[1]&&x(d,"type",e[50]),1048576&t[1]&&x(d,"titletype",e[51]),"true"==e[22]?g?g.p(e,t):((g=Wl(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),8&t[0]&&x(m,"clientstyling",e[3]),16&t[0]&&x(m,"clientstylingurl",e[4]),1073741824&t[1]&&x(m,"session",e[61]),4&t[0]&&x(m,"userid",e[2]),16777216&t[1]&&x(m,"endpoint",e[55]),33554432&t[1]&&x(m,"datasource",e[56]),67108864&t[1]&&x(m,"lang",e[57]),16&t[0]&&x(p,"clientstylingurl",e[4]),8&t[0]&&x(p,"clientstyling",e[3]),1073741824&t[1]&&x(p,"session",e[61]),4&t[0]&&x(p,"userid",e[2]),16777216&t[1]&&x(p,"endpoint",e[55]),33554432&t[1]&&x(p,"datasource",e[56]),67108864&t[1]&&x(p,"lang",e[57])},d(e){e&&he(n),g&&g.d()}}}function Ul(e){let n,r;return{c(){n=pe("p"),r=me(e[60]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[1]&&ye(r,e[60])},d(e){e&&he(n)}}}function Wl(e){let n,r;return{c(){n=pe("casino-modal"),x(r=pe("casino-game-page"),"session",e[61]),x(r,"userid",e[2]),x(r,"endpoint",e[55]),x(r,"datasource",e[56]),x(r,"lang",e[57]),x(r,"loginevent",e[8]),x(r,"registerevent",e[9]),x(r,"depositevent",e[10]),x(r,"checksession","false"),x(r,"playforfun",e[21]),x(r,"favorites",e[15]),x(r,"clientstyling",e[3]),x(r,"clientstylingurl",e[4]),x(r,"clockformat",e[5]),x(r,"haspanicbutton",e[18]),x(r,"currency",e[0]),x(r,"integratedgameframedesktop",e[25]),x(r,"integratedgameframemobile",e[26]),x(n,"session",e[61]),x(n,"userid",e[2]),x(n,"endpoint",e[55]),x(n,"datasource",e[56]),x(n,"lang",e[57]),x(n,"sessioncheck","false"),x(n,"clientstyling",e[3]),x(n,"clientstylingurl",e[4]),x(n,"gamepagemodalurl",e[27]),x(n,"haspanicbutton",e[18])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1073741824&t[1]&&x(r,"session",e[61]),4&t[0]&&x(r,"userid",e[2]),16777216&t[1]&&x(r,"endpoint",e[55]),33554432&t[1]&&x(r,"datasource",e[56]),67108864&t[1]&&x(r,"lang",e[57]),256&t[0]&&x(r,"loginevent",e[8]),512&t[0]&&x(r,"registerevent",e[9]),1024&t[0]&&x(r,"depositevent",e[10]),2097152&t[0]&&x(r,"playforfun",e[21]),32768&t[0]&&x(r,"favorites",e[15]),8&t[0]&&x(r,"clientstyling",e[3]),16&t[0]&&x(r,"clientstylingurl",e[4]),32&t[0]&&x(r,"clockformat",e[5]),262144&t[0]&&x(r,"haspanicbutton",e[18]),1&t[0]&&x(r,"currency",e[0]),33554432&t[0]&&x(r,"integratedgameframedesktop",e[25]),67108864&t[0]&&x(r,"integratedgameframemobile",e[26]),1073741824&t[1]&&x(n,"session",e[61]),4&t[0]&&x(n,"userid",e[2]),16777216&t[1]&&x(n,"endpoint",e[55]),33554432&t[1]&&x(n,"datasource",e[56]),67108864&t[1]&&x(n,"lang",e[57]),8&t[0]&&x(n,"clientstyling",e[3]),16&t[0]&&x(n,"clientstylingurl",e[4]),134217728&t[0]&&x(n,"gamepagemodalurl",e[27]),262144&t[0]&&x(n,"haspanicbutton",e[18])},d(e){e&&he(n)}}}function zl(n){let r,i,a;function o(e){return e[59]?Ul:jl}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=z,fe(r,"class",i=n[58]?"DisplayNone":""),fe(r,"part",a=n[58]?"DisplayNone":"")},m(e,t){ue(e,r,t),l.m(r,null),n[74](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(r,null))),134217728&t[1]&&i!==(i=e[58]?"DisplayNone":"")&&fe(r,"class",i),134217728&t[1]&&a!==(a=e[58]?"DisplayNone":"")&&fe(r,"part",a)},i:z,o:z,d(e){e&&he(r),l.d(),n[74](null)}}}function Yl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:d=""}=t,{userid:u=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{filteredcategories:b=""}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:$=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:k=""}=t,{mostplayedrounds:R=""}=t,{lastplayed:F="false"}=t,{lastplayedperiod:A="Last30Days"}=t,{favorites:M=""}=t,{desktopoffset:E="0"}=t,{mobileoffset:T="0"}=t,{alternativesearch:D="false"}=t,{containermaxwidth:H=""}=t,{haspanicbutton:N="false"}=t,{activecategory:_="LOBBY"}=t,{actionevent:O="CategoryChange"}=t,{livecasino:j="false"}=t,{playforfun:U="true"}=t,{gamemodal:W="true"}=t,{playrandomgame:z="false"}=t,{visiblegames:Y="10"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:Z="false"}=t,{gamepagemodalurl:J="false"}=t,{positionwinnerswidget:K=""}=t,{tabsorder:X=""}=t,{enableautoscroll:q=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{periodrecent:te=""}=t,{periodtop:ne=""}=t,{numberusersrecent:re=""}=t,{numberuserstop:ie=""}=t,{amountlimit:ae=""}=t,{defaultcurrency:oe=""}=t,{positionjackpotbanners:se=""}=t,{caticon0:le=""}=t,{caticon1:ce=""}=t,{caticon2:de=""}=t,{caticon3:ue=""}=t,{backgroundsrc:he=""}=t,{backgroundsrcmobile:pe=""}=t,{titlelogopath:me=""}=t,{iconlabels:ge=""}=t,{visualstructure:fe=""}=t,{showsubgroups:ye="false"}=t,{positioncollections:be=""}=t,{type:ve=""}=t,{titletype:we=""}=t,{randombuttonicon:$e=""}=t,{filteredrandomgamecategories:xe=""}=t,I=!1,L=!1,G="Loading, please wait ...",P="",Ce=window.navigator.userAgent,B=0,Se=!1;var ke,Fe;({withLocale:ke,translations:Fe}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(Fe),mt.set(ke))});const Me=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(Se=e.data.scrollTop)&&(B||n(62,B="PC"===ft(Ce)?parseInt(E):parseInt(T)),window.scrollTo({top:B}));break;case"UserSessionID":n(61,P=e.data.session),e.data.userID;break;case"CategoryChange":n(1,_=e.data.itemId)}};return bt(()=>(window.addEventListener("message",Me,!1),n(62,B="PC"===ft(Ce)?parseInt(E):parseInt(T)),()=>{window.removeEventListener("message",Me)})),e.$$set=e=>{"endpoint"in e&&n(63,s=e.endpoint),"datasource"in e&&n(64,l=e.datasource),"lang"in e&&n(65,c=e.lang),"session"in e&&n(66,d=e.session),"userid"in e&&n(2,u=e.userid),"opsession"in e&&n(67,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(0,y=e.currency),"filteredcategories"in e&&n(7,b=e.filteredcategories),"loginurl"in e&&n(68,v=e.loginurl),"registerurl"in e&&n(69,w=e.registerurl),"depositurl"in e&&n(70,$=e.depositurl),"loginevent"in e&&n(8,x=e.loginevent),"registerevent"in e&&n(9,C=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,k=e.mostplayed),"mostplayedrounds"in e&&n(12,R=e.mostplayedrounds),"lastplayed"in e&&n(13,F=e.lastplayed),"lastplayedperiod"in e&&n(14,A=e.lastplayedperiod),"favorites"in e&&n(15,M=e.favorites),"desktopoffset"in e&&n(71,E=e.desktopoffset),"mobileoffset"in e&&n(72,T=e.mobileoffset),"alternativesearch"in e&&n(16,D=e.alternativesearch),"containermaxwidth"in e&&n(17,H=e.containermaxwidth),"haspanicbutton"in e&&n(18,N=e.haspanicbutton),"activecategory"in e&&n(1,_=e.activecategory),"actionevent"in e&&n(19,O=e.actionevent),"livecasino"in e&&n(20,j=e.livecasino),"playforfun"in e&&n(21,U=e.playforfun),"gamemodal"in e&&n(22,W=e.gamemodal),"playrandomgame"in e&&n(23,z=e.playrandomgame),"visiblegames"in e&&n(24,Y=e.visiblegames),"integratedgameframedesktop"in e&&n(25,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(26,Z=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(27,J=e.gamepagemodalurl),"positionwinnerswidget"in e&&n(28,K=e.positionwinnerswidget),"tabsorder"in e&&n(29,X=e.tabsorder),"enableautoscroll"in e&&n(30,q=e.enableautoscroll),"istopavailable"in e&&n(31,Q=e.istopavailable),"isrecentavailable"in e&&n(32,ee=e.isrecentavailable),"periodrecent"in e&&n(33,te=e.periodrecent),"periodtop"in e&&n(34,ne=e.periodtop),"numberusersrecent"in e&&n(35,re=e.numberusersrecent),"numberuserstop"in e&&n(36,ie=e.numberuserstop),"amountlimit"in e&&n(37,ae=e.amountlimit),"defaultcurrency"in e&&n(38,oe=e.defaultcurrency),"positionjackpotbanners"in e&&n(39,se=e.positionjackpotbanners),"caticon0"in e&&n(40,le=e.caticon0),"caticon1"in e&&n(41,ce=e.caticon1),"caticon2"in e&&n(42,de=e.caticon2),"caticon3"in e&&n(43,ue=e.caticon3),"backgroundsrc"in e&&n(44,he=e.backgroundsrc),"backgroundsrcmobile"in e&&n(45,pe=e.backgroundsrcmobile),"titlelogopath"in e&&n(46,me=e.titlelogopath),"iconlabels"in e&&n(47,ge=e.iconlabels),"visualstructure"in e&&n(73,fe=e.visualstructure),"showsubgroups"in e&&n(48,ye=e.showsubgroups),"positioncollections"in e&&n(49,be=e.positioncollections),"type"in e&&n(50,ve=e.type),"titletype"in e&&n(51,we=e.titletype),"randombuttonicon"in e&&n(52,$e=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(53,xe=e.filteredrandomgamecategories)},e.$$.update=()=>{if(8&e.$$.dirty[2]&&c&&ei(c),4&e.$$.dirty[0]|18&e.$$.dirty[2]&&d&&u&&s&&Qr(s,d).then(e=>{n(61,P=e.Guid),e.UserID,n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),43008&e.$$.dirty[0]|14&e.$$.dirty[2]&&s&&l&&c&&k&&F&&M&&(s||(n(60,G="Endpoint is missing! Please provide a valid endpointURL."),n(59,L=!0),console.error(G)),l||(n(60,G="Datasource is missing! Please provide a valid datasource."),n(59,L=!0),console.error(G)),(!c||c.length<2)&&(n(60,G="Language is missing! Please provide a valid language (alpha2code)"),n(59,L=!0),console.error(G)),ei(c),n(55,r=s),n(56,i=l),n(57,a=c),n(59,L=!1)),32&e.$$.dirty[2]&&h&&n(61,P=h),8&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&p&&o){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(16&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&m&&o){n(58,I=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(58,I=!1)},500))})}},[y,_,u,p,m,g,f,b,x,C,S,k,R,F,A,M,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,ye,be,ve,we,$e,xe,o,r,i,a,I,L,G,P,B,s,l,c,d,h,v,w,$,E,T,fe,function(e){pt[e?"unshift":"push"](()=>{o=e,n(54,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends i{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'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ol,Nl,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,translationurl:35,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:0,playforfun:43,checksession:44,gamebanneractive:1,gameid:45},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),f()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[43]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[44]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[45]}set gameid(e){this.$$set({gameid:e}),f()}});class Vl extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yl,zl,t,{endpoint:63,datasource:64,lang:65,session:66,userid:2,opsession:67,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,filteredcategories:7,loginurl:68,registerurl:69,depositurl:70,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,lastplayed:13,lastplayedperiod:14,favorites:15,desktopoffset:71,mobileoffset:72,alternativesearch:16,containermaxwidth:17,haspanicbutton:18,activecategory:1,actionevent:19,livecasino:20,playforfun:21,gamemodal:22,playrandomgame:23,visiblegames:24,integratedgameframedesktop:25,integratedgameframemobile:26,gamepagemodalurl:27,positionwinnerswidget:28,tabsorder:29,enableautoscroll:30,istopavailable:31,isrecentavailable:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:73,showsubgroups:48,positioncollections:49,type:50,titletype:51,randombuttonicon:52,filteredrandomgamecategories:53},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","positioncollections","type","titletype","randombuttonicon","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[63]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[64]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[65]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[66]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[67]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get filteredcategories(){return this.$$.ctx[7]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get loginurl(){return this.$$.ctx[68]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[69]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[70]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[13]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[14]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[71]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[72]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[16]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[17]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[18]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[21]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[24]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[25]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[26]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[28]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[29]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[30]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[31]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[32]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[73]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[48]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[52]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[53]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Vl),Vl});
|
|
32
|
+
`},X,f,b,v,w,x,ne,S,k,F,M,E,T,_,I,L,me,ge,function(e){pt[e?"unshift":"push"](()=>{s=e,o(19,s)})},()=>be(r),()=>ye(r),()=>be(r),function(e){pt[e?"unshift":"push"](()=>{g=e,o(14,g)})},function(e){pt[e?"unshift":"push"](()=>{l=e,o(11,l)})}]}function aa(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function oa(e,t,n){const r=e.slice();return r[78]=t[n],r[81]=t,r[80]=n,r}function sa(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function la(e){let n;function r(e){return e[15]?ha:e[25]?ua:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function ca(e){let n,r,i;function a(e){return e[19]?_a:e[16].length?Ea:Ta}let o=a(e),s=o(e);function l(e){return e[16]?La:Ia}let c=l(e),d=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(gt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(gt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,i),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&he(n),s.d(),d.d()}}}function da(e){let n;function r(e){return e[21]?Ra:Ba}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function ua(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f=n[29]("gamesCategorySection.favorites")+"",y=n[28].items.length+"";function b(e){return e[28]?ma:pa}let v=b(n),w=v(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(f),s=ge(),l=pe("span"),c=me("("),d=me(y),u=me(")"),h=ge(),p=pe("ul"),w.c(),fe(l,"class","CategoryFavName"),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(p,"class",m=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(p,"part",g=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(a,s),de(a,l),de(l,c),de(l,d),de(l,u),n[49](a),de(r,h),de(r,p),w.m(p,null),n[50](p)},p(e,t){536870912&t[0]&&f!==(f=e[29]("gamesCategorySection.favorites")+"")&&ye(o,f),268435456&t[0]&&y!==(y=e[28].items.length+"")&&ye(d,y),v===(v=b(e))&&w?w.p(e,t):(w.d(1),(w=v(e))&&(w.c(),w.m(p,null))),268435456&t[0]&&m!==(m=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(p,"class",m),268435456&t[0]&&g!==(g=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(p,"part",g)},d(e){e&&he(r),n[49](null),w.d(),n[50](null)}}}function ha(n){let r,i,a,o,s,l,c=n[15].name+"",d=n[17]&&Sa(n);function u(e){return 0!==e[16].length?Fa:ka}let h=u(n),p=h(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(c),s=ge(),d&&d.c(),l=ge(),p.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),n[45](a),de(i,s),d&&d.m(i,null),de(r,l),p.m(r,null)},p(e,t){32768&t[0]&&c!==(c=e[15].name+"")&&ye(o,c),e[17]?d?d.p(e,t):((d=Sa(e)).c(),d.m(i,null)):d&&(d.d(1),d=null),h===(h=u(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null)))},d(e){e&&he(r),n[45](null),d&&d.d(),p.d()}}}function pa(e){let n,r,i=e[29]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ma(t){let r,i=t[28].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=Ca(aa(t,i,e));let o=null;return i.length||(o=ga(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(2113933311&n[0]|1&n[1]){let e;for(i=t[28].items,e=0;e<i.length;e+=1){const o=aa(t,i,e);a[e]?a[e].p(o,n):(a[e]=Ca(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=ga(t)).c(),o.m(r.parentNode,r))}},d(e){G(a,e),e&&he(r),o&&o.d(e)}}}function ga(e){let n,r,i,a,o,s,l,c,t,d,u=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,gt(m[30])?ya:fa),p=h(e);var m;return{c(){n=pe("p"),r=F("svg"),i=F("path"),a=ge(),o=pe("span"),s=me(u),l=ge(),p.c(),c=ge(),P(i,"fill","white"),fe(i,"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"),P(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 "+(gt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(gt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(n,a),de(n,o),de(o,s),de(n,l),p.m(n,null),de(n,c)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),p.p(e,t)},d(e){e&&he(n),p.d()}}}function fa(e){let n,r,i=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ya(e){let n,r,i=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ba(e){let n,r=e[78].gameModel.isFavorite&&va(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel.isFavorite?r?r.p(e,t):((r=va(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function va(e){let n,r=function(e){let n,r,i;function a(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!gt(e[30]):n)?$a:(r=null==r?!!e[78].gameModel.platform.includes("PC"):r)?wa:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),ue(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function wa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){x(n=pe("casino-game-thumbnail"),"class",r=""+(w+(e[78].cellSize||"1x1"))),x(n,"part",i=""+(w+(e[78].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[78].gameModel.thumbnail),x(n,"gamename",o=e[78].gameModel.name),x(n,"gamevendor",s=e[78].gameModel.vendor.name),x(n,"gameisnew",l=e[78].gameModel.isNew),x(n,"gametag",c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags)),x(n,"gamecellsize",d=e[78].cellSize),x(n,"gameid",u=e[78].gameModel.id),x(n,"gamefunmode",h=e[78].gameModel.hasFunMode),x(n,"gamefavorite",p=e[78].gameModel.isFavorite),x(n,"showfavoredcategory",e[25]),x(n,"connectlive",m=1==e[26][e[78].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[27]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(w+(e[78].cellSize||"1x1")))&&x(n,"class",r),268435456&t[0]&&i!==(i=""+(w+(e[78].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[78].gameModel.thumbnail)&&x(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&x(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&x(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&x(n,"gameisnew",l),268435456&t[0]&&c!==(c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags))&&x(n,"gametag",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&x(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&x(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&x(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[78].gameModel.isFavorite)&&x(n,"gamefavorite",p),33554432&t[0]&&x(n,"showfavoredcategory",e[25]),335544320&t[0]&&m!==(m=1==e[26][e[78].id]?"connect":"disconnect")&&x(n,"connectlive",m),134217728&t[0]&&x(n,"visibilityconnect",e[27]),128&t[0]&&x(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(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"),i=r&&xa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(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)?i?i.p(e,t):((i=xa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function xa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){x(n=pe("casino-game-thumbnail"),"class",r=""+(w+(e[78].cellSize||"1x1"))),x(n,"part",i=""+(w+(e[78].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[78].gameModel.thumbnail),x(n,"gamename",o=e[78].gameModel.name),x(n,"gamevendor",s=e[78].gameModel.vendor.name),x(n,"gameisnew",l=e[78].gameModel.isNew),x(n,"gametag",c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags)),x(n,"gamecellsize",d=e[78].cellSize),x(n,"gameid",u=e[78].gameModel.id),x(n,"gamefunmode",h=e[78].gameModel.hasFunMode),x(n,"gamefavorite",p=e[78].gameModel.isFavorite),x(n,"showfavoredcategory",e[25]),x(n,"connectlive",m=1==e[26][e[78].id]?"connect":"disconnect"),x(n,"visibilityconnect",e[27]),x(n,"currency",e[7]),x(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(w+(e[78].cellSize||"1x1")))&&x(n,"class",r),268435456&t[0]&&i!==(i=""+(w+(e[78].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),16&t[0]&&x(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[78].gameModel.thumbnail)&&x(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&x(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&x(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&x(n,"gameisnew",l),268435456&t[0]&&c!==(c=0<e[78].gameModel.advancedTags?.length&&e[31](e[78].advancedTags))&&x(n,"gametag",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&x(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&x(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&x(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[78].gameModel.isFavorite)&&x(n,"gamefavorite",p),33554432&t[0]&&x(n,"showfavoredcategory",e[25]),335544320&t[0]&&m!==(m=1==e[26][e[78].id]?"connect":"disconnect")&&x(n,"connectlive",m),134217728&t[0]&&x(n,"visibilityconnect",e[27]),128&t[0]&&x(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&x(n,"livelobbyendpoint",g),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ca(e){let n,r=e[78].gameModel&&ba(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel?r?r.p(e,t):((r=ba(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Sa(n){let r,i,a,o,s,l,c,d,u=n[29]("gamesCategorySection.viewAll")+"",h=n[15].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(u),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(i,l),c||(d=V(r,"click",n[46]),c=!0)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.viewAll")+"")&&ye(a,u),32768&t[0]&&h!==(h=e[15].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,d()}}}function ka(e){let n;return{c(){(n=pe("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Fa(n){let r,e,i,a=n[16],o=[];for(let e=0;e<a.length;e+=1)o[e]=Ma(oa(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[28].items.length&&n[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[48](r)},p(t,n){if(201404415&n[0]|1&n[1]){let e;for(a=t[16],e=0;e<a.length;e+=1){const i=oa(t,a,e);o[e]?o[e].p(i,n):(o[e]=Ma(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}301989888&n[0]&&e!==(e=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),301989888&n[0]&&i!==(i=(0===t[28].items.length&&t[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),G(o,e),n[48](null)}}}function Ma(e){let n,r=function(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y=n[80];const b=()=>n[47](r,y),v=()=>n[47](null,y);return{c(){x(r=pe("casino-game-thumbnail"),"session",n[2]),x(r,"userid",n[3]),x(r,"lang",n[1]),x(r,"class",i=""+(w+(n[78].cellSize||"1x1"))),x(r,"part",a=""+(w+(n[78].cellSize||"1x1"))),x(r,"favorites",n[4]),x(r,"gamethumbnail",o=n[78].thumbnail),x(r,"gamename",s=n[78].name),x(r,"gamevendor",l=n[78].vendor.name),x(r,"gameisnew",c=n[78].isNew),x(r,"gametag",d=0<n[78].advancedTags?.length&&n[31](n[78].advancedTags)),x(r,"gamecellsize",u=n[78].cellSize),x(r,"gameid",h=n[78].id),x(r,"gamefunmode",p=n[78].hasFunMode),x(r,"gamefavorite",m=n[78].isFavorite),x(r,"connectlive",g=1==n[26][n[78].id]?"connect":"disconnect"),x(r,"visibilityconnect",n[27]),x(r,"currency",n[7]),x(r,"livelobbyendpoint",f=n[78].details?n[78].href:""),x(r,"clientstyling",n[5]),x(r,"clientstylingurl",n[6]),x(r,"endpoint",n[0]),x(r,"livecasino",n[8]),x(r,"gamepagemodalurl",n[9]),x(r,"integratedgameframedesktop",n[10]),x(r,"integratedgameframemobile",n[11])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,4&t[0]&&x(r,"session",n[2]),8&t[0]&&x(r,"userid",n[3]),2&t[0]&&x(r,"lang",n[1]),65536&t[0]&&i!==(i=""+(w+(n[78].cellSize||"1x1")))&&x(r,"class",i),65536&t[0]&&a!==(a=""+(w+(n[78].cellSize||"1x1")))&&x(r,"part",a),16&t[0]&&x(r,"favorites",n[4]),65536&t[0]&&o!==(o=n[78].thumbnail)&&x(r,"gamethumbnail",o),65536&t[0]&&s!==(s=n[78].name)&&x(r,"gamename",s),65536&t[0]&&l!==(l=n[78].vendor.name)&&x(r,"gamevendor",l),65536&t[0]&&c!==(c=n[78].isNew)&&x(r,"gameisnew",c),65536&t[0]&&d!==(d=0<n[78].advancedTags?.length&&n[31](n[78].advancedTags))&&x(r,"gametag",d),65536&t[0]&&u!==(u=n[78].cellSize)&&x(r,"gamecellsize",u),65536&t[0]&&h!==(h=n[78].id)&&x(r,"gameid",h),65536&t[0]&&p!==(p=n[78].hasFunMode)&&x(r,"gamefunmode",p),65536&t[0]&&m!==(m=n[78].isFavorite)&&x(r,"gamefavorite",m),67174400&t[0]&&g!==(g=1==n[26][n[78].id]?"connect":"disconnect")&&x(r,"connectlive",g),134217728&t[0]&&x(r,"visibilityconnect",n[27]),128&t[0]&&x(r,"currency",n[7]),65536&t[0]&&f!==(f=n[78].details?n[78].href:"")&&x(r,"livelobbyendpoint",f),32&t[0]&&x(r,"clientstyling",n[5]),64&t[0]&&x(r,"clientstylingurl",n[6]),1&t[0]&&x(r,"endpoint",n[0]),256&t[0]&&x(r,"livecasino",n[8]),512&t[0]&&x(r,"gamepagemodalurl",n[9]),1024&t[0]&&x(r,"integratedgameframedesktop",n[10]),2048&t[0]&&x(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=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ea(e){let n,r,i=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ta(e){let n,r,i=e[29]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function _a(e){let n,r,i=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ia(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function La(t){let r,i,a=!t[22]&&Ga(t),o=t[16],s=[];for(let e=0;e<o.length;e+=1)s[e]=Pa(sa(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),ue(e,r,t),ue(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[22]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ga(t)).c(),a.m(r.parentNode,r)),1118207&n[0]|1&n[1]){let e;for(o=t[16],e=0;e<o.length;e+=1){const a=sa(t,o,e);s[e]?s[e].p(a,n):(s[e]=Pa(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&he(r),e&&he(i),G(s,e)}}}function Ga(e){let n,r,t,i,a=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(gt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(gt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function Pa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m;return{c(){x(n=pe("casino-game-thumbnail"),"class",r=""+(w+(e[78].cellSize||"1x1"))),x(n,"part",i=""+(w+(e[78].cellSize||"1x1"))),x(n,"session",e[2]),x(n,"userid",e[3]),x(n,"lang",e[1]),x(n,"searchitem",e[20]),x(n,"favorites",e[4]),x(n,"gamethumbnail",a=e[78].thumbnail),x(n,"gamename",o=e[78].name),x(n,"gamevendor",s=e[78].vendor.name),x(n,"gameisnew",l=e[78].isNew),x(n,"gametag",c=0<e[78].advancedTags?.length&&e[31](e[78].advancedTags)),x(n,"gamecellsize",d=e[78].cellSize),x(n,"gameid",u=e[78].id),x(n,"gamefunmode",h=e[78].hasFunMode),x(n,"gamefavorite",p=e[78].isFavorite),x(n,"currency",e[7]),x(n,"livelobbyendpoint",m=e[78].details?e[78].href:""),x(n,"clientstyling",e[5]),x(n,"clientstylingurl",e[6]),x(n,"endpoint",e[0]),x(n,"livecasino",e[8]),x(n,"gamepagemodalurl",e[9]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){65536&t[0]&&r!==(r=""+(w+(e[78].cellSize||"1x1")))&&x(n,"class",r),65536&t[0]&&i!==(i=""+(w+(e[78].cellSize||"1x1")))&&x(n,"part",i),4&t[0]&&x(n,"session",e[2]),8&t[0]&&x(n,"userid",e[3]),2&t[0]&&x(n,"lang",e[1]),1048576&t[0]&&x(n,"searchitem",e[20]),16&t[0]&&x(n,"favorites",e[4]),65536&t[0]&&a!==(a=e[78].thumbnail)&&x(n,"gamethumbnail",a),65536&t[0]&&o!==(o=e[78].name)&&x(n,"gamename",o),65536&t[0]&&s!==(s=e[78].vendor.name)&&x(n,"gamevendor",s),65536&t[0]&&l!==(l=e[78].isNew)&&x(n,"gameisnew",l),65536&t[0]&&c!==(c=0<e[78].advancedTags?.length&&e[31](e[78].advancedTags))&&x(n,"gametag",c),65536&t[0]&&d!==(d=e[78].cellSize)&&x(n,"gamecellsize",d),65536&t[0]&&u!==(u=e[78].id)&&x(n,"gameid",u),65536&t[0]&&h!==(h=e[78].hasFunMode)&&x(n,"gamefunmode",h),65536&t[0]&&p!==(p=e[78].isFavorite)&&x(n,"gamefavorite",p),128&t[0]&&x(n,"currency",e[7]),65536&t[0]&&m!==(m=e[78].details?e[78].href:"")&&x(n,"livelobbyendpoint",m),32&t[0]&&x(n,"clientstyling",e[5]),64&t[0]&&x(n,"clientstylingurl",e[6]),1&t[0]&&x(n,"endpoint",e[0]),256&t[0]&&x(n,"livecasino",e[8]),512&t[0]&&x(n,"gamepagemodalurl",e[9]),1024&t[0]&&x(n,"integratedgameframedesktop",e[10]),2048&t[0]&&x(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ba(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Ra(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Aa(n){let r;function i(e){return e[14]?da:e[18]?ca:la}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[51](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[51](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ia,Qi,t,{session:48,userid:49,lang:1,clientstyling:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gameid:6,gameisnew:7,gametag:8,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:9,showfavoredcategory:55,showgamename:10,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gametag","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[48]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[1]}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 translationurl(){return this.$$.ctx[52]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),f()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[54]}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[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const w="game-tile-";function Da(e,t,s){let R;yt(e,Xr,e=>s(29,R=e));let n,i,a,r,A,o,l,c,d,u,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:H=""}=t,{userid:N=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:b=""}=t,{currency:O=""}=t,{categoryid:v=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:W=""}=t,{gamepagemodalurl:z="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{once:Z=!0}=t,{top:J=0}=t,{bottom:K=0}=t,{left:X=0}=t,{right:q=0}=t,w=!1,$=!0,Q=window.navigator.userAgent,x=[],C=!0,S=40,k=!1,F=!1,ee=!1,M=!1,E=!1,T=!0,_=!1,I=!1,te=!1,L=new Array(1e4),G={},ne="",P={items:[],count:0,name:""},re=(Object.keys(ki).forEach(e=>{Si(e,ki[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>S&&oe(v),s(26,G[t]=1,G)):s(26,G[t]=0,G)})}));const ie=(e,r,i,t=0)=>{let n,a="",o=(a=1<(v.match(/\$/g)||[]).length?(n=v.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${p}/${n}/subGroups`)):new URL(`${h}/casino/groups/${p}/`+v),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",ft(Q)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:v},window.location.href),o&&o[v])if(o[v].length&&!1===$&&!1===_){let t="";s(21,E=!0),o[v].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(21,E=!1);fetch(a).then(e=>e.json()).then(e=>{1<(v.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==v)return e})[0]),s(44,u=!0),s(14,w=!1),A=e.games.total,t(e)},e=>{s(14,w=!0),console.error(e),n(e)})})},ae=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(18,k=!1),$=!1,s(17,C=!1),I=!0,s(16,x=t.data.mostPlayedGames),s(15,a={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(18,k=!1),$=!1,s(17,C=!1),I=!1,s(16,x=t.data.lastPlayedGames),s(15,a={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(18,k=!0),I=!1,s(19,F=!0),0<t.data.searchData.length?(s(16,x=t.data.searchData),s(22,T=!0),x&&x.forEach(e=>{e.isFavorite=B(e.id)})):(s(16,x=[]),s(22,T=!1));break;case"OutOfRecentSearches":s(18,k=!1),s(19,F=!1);break;case"SearchData":s(18,k=!0),I=!1,s(19,F=!1),s(16,x=t.data.searchData.items||[]),s(20,M=!0),t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+v:s(18,k=!1),$=!0,s(17,C=!0),s(20,M=!1),I=!1,te=!1,t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),ie(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(15,a=e),s(16,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":S=20;break;case"CategoryUpdate":s(18,k=!1),$=!1,s(20,M=!1),I=!1,te=!0,s(33,v=t.data.itemId),"MOSTPLAYED"!==v&&s(17,C=!1),ie(0,0,S).then(e=>{s(15,a=e),a.games.items.forEach(e=>{e.isFavorite=B(e.id)}),s(16,x=a.games.items),s(17,C=!1),x.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":I=!1,$=!0,s(16,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)});break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(l=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;_?$||I||window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let e;$=!1,t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,P.items=qr(e,P.items),P),s(28,P.name="Favorites",P),s(25,_=!0));break;case"UserSessionID":if(n=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&n&&0<n.length){var r=`${h}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l=e?e.items:[],x.forEach(e=>{e.isFavorite=B(e.id)});e=x;s(16,x=void 0),s(16,x=e),t(l)}).catch(e=>{console.error(e),n(e)})})}}},oe=e=>{(S+=1)<=A&&ie(0,0,S).then(e=>{s(15,a=e),a.games.items.length>x.length&&(s(16,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)}))})},B=t=>!!l&&-1!==l.findIndex(e=>e.id==t),se=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return bt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?s(27,ne="disconnect"):s(27,ne="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(34,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(35,p=e.datasource),"lang"in e&&s(1,m=e.lang),"session"in e&&s(2,H=e.session),"userid"in e&&s(3,N=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),"translationurl"in e&&s(36,b=e.translationurl),"currency"in e&&s(7,O=e.currency),"categoryid"in e&&s(33,v=e.categoryid),"categorygames"in e&&s(37,j=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(38,W=e.visiblegames),"gamepagemodalurl"in e&&s(9,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,V=e.integratedgameframemobile),"once"in e&&s(39,Z=e.once),"top"in e&&s(40,J=e.top),"bottom"in e&&s(41,K=e.bottom),"left"in e&&s(42,X=e.left),"right"in e&&s(43,q=e.right)},e.$$.update=()=>{if(8192&e.$$.dirty[0]|8192&e.$$.dirty[1]&&u&&L&&te&&L.forEach((e,t)=>{e&&(e.elems_index=t,re.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Si(e,t[e])})}).catch(e=>{console.log(e)}),4128&e.$$.dirty[0]&&f&&c){let e=document.createElement("style");e.innerHTML=f,c.appendChild(e)}if(4160&e.$$.dirty[0]&&y&&c){let e=new URL(y),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1)})}},[h,m,H,N,g,f,y,O,U,z,Y,V,c,L,w,a,x,C,k,F,M,E,T,r,o,_,G,ne,P,R,Q,r=>{if(0===(null==r?void 0:r.length))return"";let i,a,o=99999999999;const s=new Date(Date.now());return r.forEach((e,t)=>{var n=new Date(e.schedules[0].startTime),e=new Date(e.schedules[0].endTime);Ei(e).diff(s)<o&&(o=Ei(e).diff(s),a=t),Ei(s).isAfter(n)&&Ei(s).isBefore(e)&&(i=r[a].name)}),i},se,v,D,p,b,j,W,Z,J,K,X,q,u,function(e){pt[e?"unshift":"push"](()=>{o=e,s(24,o)})},e=>se(a.id),function(e,t){pt[e?"unshift":"push"](()=>{L[t]=e,s(13,L)})},function(e){pt[e?"unshift":"push"](()=>{r=e,s(23,r)})},function(e){pt[e?"unshift":"push"](()=>{o=e,s(24,o)})},function(e){pt[e?"unshift":"push"](()=>{r=e,s(23,r)})},function(e){pt[e?"unshift":"push"](()=>{c=e,s(12,c)})}]}function Ha(e,t){Ir(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Da,Aa,t,{categoryindex:34,endpoint:0,datasource:35,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,translationurl:36,currency:7,categoryid:33,categorygames:37,livecasino:8,visiblegames:38,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:39,top:40,bottom:41,left:42,right:43},null,[-1,-1,-1]),e&&(e.target&&ue(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","translationurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[34]}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[35]}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 translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[33]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[37]}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[38]}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[39]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[40]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[41]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[42]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[43]}set right(e){this.$$set({right:e}),f()}});const Na={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 Oa(e,t,n){const r=e.slice();return r[34]=t[n],r[36]=n,r}function ja(n){let r,i,a,o,s,l,c,d=!n[7]&&Ua(n),u=n[7]&&za(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("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(),d&&d.c(),s=ge(),u&&u.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),d&&d.m(i,null),de(i,s),u&&u.m(i,null),l||(c=V(a,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Ua(e)).c(),d.m(i,s)),e[7]?u?u.p(e,t):((u=za(e)).c(),u.m(i,null)):u&&(u.d(1),u=null)},d(e){e&&he(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Ua(t){let n,r,i,a,o,s,e=t[8]("randomGame.randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Wa(Oa(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),P(i,"transform","translateY("+t[6]+"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){ue(e,n,t),de(n,r),de(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);de(n,a),de(n,o),de(o,s)},p(t,n){if(16&n[0]){let e;for(l=t[4],e=0;e<l.length;e+=1){var r=Oa(t,l,e);c[e]?c[e].p(r,n):(c[e]=Wa(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&P(i,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),G(c,e)}}}function Wa(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[34].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[34].name),fe(r,"title",o=e[34].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){16&t[0]&&!ce(r.src,i=e[34].thumbnail)&&fe(r,"src",i),16&t[0]&&a!==(a=e[34].name)&&fe(r,"alt",a),16&t[0]&&o!==(o=e[34].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function za(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C=n[3].name+"",S=n[3].vendor.name+"",k=n[8]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),(d=pe("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>',u=ge(),h=pe("div"),p=pe("p"),m=me(C),g=ge(),f=pe("p"),y=me(S),b=ge(),v=pe("button"),w=me(k),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[3].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[3].name),fe(a,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"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){ue(e,r,t),de(r,i),de(i,a),de(i,c),de(i,d),de(r,u),de(r,h),de(h,p),de(p,m),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),$||(x=[V(d,"click",n[20]),V(v,"click",n[21])],$=!0)},p(e,t){8&t[0]&&!ce(a.src,o=e[3].thumbnail)&&fe(a,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(a,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(a,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(m,C),8&t[0]&&S!==(S=e[3].vendor.name+"")&&ye(y,S),256&t[0]&&k!==(k=e[8]("randomGame.playNowRandomGame")+"")&&ye(w,k)},d(e){e&&he(r),$=!1,Y(x)}}}function Ya(e){let n,r,i=e[8]("randomGame.playRandomGame")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&i!==(i=e[8]("randomGame.playRandomGame")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Va(e){let n,r;return{c(){n=pe("span"),r=me(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t[0]&&ye(r,e[1])},d(e){e&&he(n)}}}function Za(n){let r,i,a,o,s,l,c,d,u=n[5]&&ja(n);function h(e){return e[1]?Va:e[1]?void 0:Ya}let p=h(n),m=p&&p(n);return{c(){r=pe("div"),u&&u.c(),i=ge(),a=pe("div"),o=pe("button"),m&&m.c(),s=ge(),l=pe("span"),this.c=z,fe(l,"class","RandomButtonIcon"),fe(l,"part","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(o,"part","RandomButton"),fe(a,"class","RandomButtonWrapper"),fe(a,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),u&&u.m(r,null),de(r,i),de(r,a),de(a,o),m&&m.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](r),c||(d=V(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=ja(e)).c(),u.m(r,i)):u&&(u.d(1),u=null),p===(p=h(e))&&m?m.p(e,t):(m&&m.d(1),(m=p&&p(e))&&(m.c(),m.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:z,o:z,d(e){e&&he(r),u&&u.d(),m&&m.d(),n[23](null),c=!1,d()}}}function Ja(t,e,n){let r;yt(t,Xr,e=>n(8,r=e));let i,a,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:m=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",b=!1,v=0,w=0,$=!1,x=window.navigator.userAgent;var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(S),mt.set(C))}),Object.keys(Na).forEach(e=>{Ha(e,Na[e])});const k=()=>{n(4,i=M(i)),n(6,v=0),w=0,n(7,$=!1),n(3,y=f[Math.floor(Math.random()*f.length)]),n(5,b=!0)},F=e=>{if(g)for(;k(),!g.includes(y.vendor.name););else k();let t=setInterval(()=>{n(6,v-=100),20==++w&&(n(7,$=!0),clearInterval(t))},100);e&&"function"==typeof gtag&>ag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})},M=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},E=()=>{window.postMessage({type:l,gameId:y.gId||y.id},window.location.href),n(5,b=!1),"function"==typeof gtag&>ag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return t.$$set=e=>{"endpoint"in e&&n(12,o=e.endpoint),"datasource"in e&&n(13,s=e.datasource),"gameevent"in e&&n(14,l=e.gameevent),"lang"in e&&n(15,c=e.lang),"randombuttonicon"in e&&n(0,d=e.randombuttonicon),"buttontext"in e&&n(1,u=e.buttontext),"translationurl"in e&&n(16,h=e.translationurl),"clientstyling"in e&&n(17,p=e.clientstyling),"clientstylingurl"in e&&n(18,m=e.clientstylingurl),"filteredrandomgamecategories"in e&&n(19,g=e.filteredrandomgamecategories)},t.$$.update=()=>{if(32768&t.$$.dirty[0]&&c&&(e=c,mt.set(e)),65536&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ha(e,t[e])})}).catch(e=>{console.log(e)}),12288&t.$$.dirty[0]&&o&&s){let e=new URL(o+"/casino/games");e.searchParams.append("platform",ft(x)),e.searchParams.append("datasource",s),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=>{f=e.items,n(4,i=f.slice(0,19))})}if(131076&t.$$.dirty[0]&&p&&a){let e=document.createElement("style");e.innerHTML=p,a.appendChild(e)}if(262148&t.$$.dirty[0]&&m&&a){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[d,u,a,y,i,b,v,$,r,F,E,()=>{n(5,b=!1)},o,s,l,c,h,p,m,g,()=>F(!0),()=>E(),()=>F(),function(e){pt[e?"unshift":"push"](()=>{a=e,n(2,a)})}]}function Ka(e,t){Ir(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ja,Za,t,{endpoint:12,datasource:13,gameevent:14,lang:15,randombuttonicon:0,buttontext:1,translationurl:16,clientstyling:17,clientstylingurl:18,filteredrandomgamecategories:19},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext","translationurl","clientstyling","clientstylingurl","filteredrandomgamecategories"]}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 gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[15]}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()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}});const Xa={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[60]=t[n],r}function Qa(e,t,n){const r=e.slice();return r[63]=t[n],r}function eo(n){let i,r,a,o,s,l,c,d,e,u,h,p,m,g,f,y,b,v,w,$,x=n[14],C=[];for(let e=0;e<x.length;e+=1)C[e]=io(Qa(n,x,e));let S=n[8],k=[];for(let e=0;e<S.length;e+=1)k[e]=ao(qa(n,S,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<C.length;e+=1)C[e].c();o=ge(),s=pe("div"),l=pe("button"),c=F("svg"),d=F("path"),u=ge(),h=pe("button"),p=F("svg"),m=F("path"),y=ge(),b=pe("div");for(let e=0;e<k.length;e+=1)k[e].c();fe(a,"class","WinnerButtonsContainer"),fe(d,"style",e=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"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(m,"style",g=n[9]>=n[8].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[4]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[10]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a);for(let e=0;e<C.length;e+=1)C[e].m(a,null);de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,h),de(h,p),de(p,m),de(i,y),de(i,b);for(let e=0;e<k.length;e+=1)k[e].m(b,null);n[40](b),w||($=[V(l,"click",n[37]),V(h,"click",n[38])],w=!0)},p(t,n){if(114819&n[0]){let e;for(x=t[14],e=0;e<x.length;e+=1){var r=Qa(t,x,e);C[e]?C[e].p(r,n):(C[e]=io(r),C[e].c(),C[e].m(a,null))}for(;e<C.length;e+=1)C[e].d(1);C.length=x.length}if(768&n[0]&&e!==(e=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),768&n[0]&&g!==(g=t[9]>=t[8].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),16&n[0]&&f!==(f="ButtonsContainer "+("true"==t[4]?"ButtonsContainerNone":""))&&fe(s,"class",f),436492&n[0]){let e;for(S=t[8],e=0;e<S.length;e+=1){const a=qa(t,S,e);k[e]?k[e].p(a,n):(k[e]=ao(a),k[e].c(),k[e].m(b,null))}for(;e<k.length;e+=1)k[e].d(1);k.length=S.length}1024&n[0]&&v!==(v="CasinoWinners "+(t[10]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),G(C,e),G(k,e),n[40](null),w=!1,Y($)}}}function to(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function no(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[7]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),o||(s=V(r,"click",n[35]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),129&t[0]&&a!==(a="WinnersButton "+("recent"==e[7]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function ro(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[7]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),de(r,a),s||(l=V(r,"click",n[36]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),130&t[0]&&o!==(o="WinnersButton "+("top"==e[7]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function io(e){let n,r,i="recent"==e[63]&&no(e),a="top"==e[63]&&ro(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[63]?i?i.p(e,t):((i=no(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[63]?a?a.p(e,t):((a=ro(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function ao(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S,k,F,M=n[60].gameName+"",E=n[17](n[60].username)+"",T=n[15]("Translations.won")+"",_=n[60].specifiedCurrencyAmount.toFixed(2)+"",I=(n[11]?n[3]:n[2])+"";function L(){return n[39](n[60])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),d=me(M),u=ge(),h=pe("p"),p=me(E),m=ge(),g=pe("p"),f=me(T),y=ge(),b=pe("p"),v=me(_),w=ge(),$=pe("span"),x=me(I),C=ge(),ce(a.src,o=n[60]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[60]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,l),de(i,c),de(c,d),de(i,u),de(i,h),de(h,p),de(i,m),de(i,g),de(g,f),de(i,y),de(i,b),de(b,v),de(b,w),de(b,$),de($,x),de(r,C),k||(F=V(a,"click",L),k=!0)},p(e,t){n=e,256&t[0]&&!ce(a.src,o=n[60]?.gameModel?.thumbnail)&&fe(a,"src",o),256&t[0]&&s!==(s=n[60]?.gameModel?.thumbnail)&&fe(a,"alt",s),256&t[0]&&M!==(M=n[60].gameName+"")&&ye(d,M),256&t[0]&&E!==(E=n[17](n[60].username)+"")&&ye(p,E),32768&t[0]&&T!==(T=n[15]("Translations.won")+"")&&ye(f,T),256&t[0]&&_!==(_=n[60].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,_),2060&t[0]&&I!==(I=(n[11]?n[3]:n[2])+"")&&ye(x,I),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&he(r),k=!1,F()}}}function oo(n){let r;function i(e){return e[12]?to:eo}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[41](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[41](null)}}}function so(t,e,r){let n;yt(t,Xr,e=>r(15,n=e));let i,a,o,s,R,l,A,c,d,u,{endpoint:h=""}=e,{session:p=""}=e,{userid:m=""}=e,{periodrecent:g="Today"}=e,{periodtop:f="Last7Days"}=e,{numberusersrecent:y="20"}=e,{numberuserstop:b="20"}=e,{amountlimit:v="1"}=e,{lang:w="en"}=e,{isrecentavailable:$="true"}=e,{istopavailable:x="true"}=e,{defaultcurrency:C=""}=e,{usercurrency:S=""}=e,{clientstyling:k=""}=e,{clientstylingurl:F=""}=e,{enableautoscroll:M=""}=e,{tabsorder:E=""}=e,{translationurl:T=""}=e,_=[],I=0,L=0,D=window.navigator.userAgent,H=!0,G=!1;Object.keys(Xa).forEach(e=>{Ka(e,Xa[e])});const N=()=>{const e=new URL(`${h}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?y:b),e.searchParams.append("specifiedCurrency",u),e.searchParams.append("period","recent"==a?g:f),e.searchParams.append("language",w),e.searchParams.append("amountLimit",v),fetch(e.href).then(e=>e.json()).then(e=>{r(8,_=[]),r(8,_=e.items.map(e=>e)),r(12,H=!1),setTimeout(()=>{r(9,L=Math.round(i.offsetWidth/225)),j(),"true"==M&&(I=0,L<A?c=setInterval(()=>{B()},3e3):clearInterval(c))})})},P=e=>{a!==e&&(r(7,a=e),r(8,_=[]),N())},O=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(R||"Not logged in")})},j=n=>{const e=[...i.children];A=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,G=!0)},10):r(13,G=!1)},U=()=>{j(I)},W=()=>{var e=_.length;L>=_.length||(0===I?I=e-L:I-L<0?I=0:I-=L,U())},B=()=>{var e=_.length;L>=_.length||("true"==M&&(I===e-L?I=0:I++),"false"==M&&(I===e-L?I=0:e-L<I+L?I=e-L:I+=L),U())},z=()=>{r(34,u=s?S:C)};return bt(()=>(r(10,o=gt(D)),()=>{clearInterval(c)})),t.$$set=e=>{"endpoint"in e&&r(22,h=e.endpoint),"session"in e&&r(23,p=e.session),"userid"in e&&r(24,m=e.userid),"periodrecent"in e&&r(25,g=e.periodrecent),"periodtop"in e&&r(26,f=e.periodtop),"numberusersrecent"in e&&r(27,y=e.numberusersrecent),"numberuserstop"in e&&r(28,b=e.numberuserstop),"amountlimit"in e&&r(21,v=e.amountlimit),"lang"in e&&r(29,w=e.lang),"isrecentavailable"in e&&r(0,$=e.isrecentavailable),"istopavailable"in e&&r(1,x=e.istopavailable),"defaultcurrency"in e&&r(2,C=e.defaultcurrency),"usercurrency"in e&&r(3,S=e.usercurrency),"clientstyling"in e&&r(30,k=e.clientstyling),"clientstylingurl"in e&&r(31,F=e.clientstylingurl),"enableautoscroll"in e&&r(4,M=e.enableautoscroll),"tabsorder"in e&&r(32,E=e.tabsorder),"translationurl"in e&&r(33,T=e.translationurl)},t.$$.update=()=>{if(1042284547&t.$$.dirty[0]|2&t.$$.dirty[1]&&$&&x&&g&&f&&y&&b&&v&&w&&E&&(r(14,d=E.split(",")),r(7,a=d[0]),"false"==$&&r(21,v=""),z()),12582912&t.$$.dirty[0]&&p&&h&&(r(11,s=!0),R=m,z()),4194320&t.$$.dirty[0]|8&t.$$.dirty[1]&&h&&u&&M&&N(),536870912&t.$$.dirty[0]&&w&&(e=w,mt.set(e)),4&t.$$.dirty[1]&&T&&fetch(T).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ka(e,t[e])})}).catch(e=>{console.log(e)}),1073741856&t.$$.dirty[0]&&k&&l){let e=document.createElement("style");e.innerHTML=k,l.appendChild(e)}if(32&t.$$.dirty[0]|1&t.$$.dirty[1]&&F&&l){let e=new URL(F),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{l.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[$,x,C,S,M,l,i,a,_,L,o,s,H,G,d,n,P,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),O,W,B,v,h,p,m,g,f,y,b,w,k,F,E,T,u,()=>P("recent"),()=>P("top"),()=>W(),()=>B(),e=>O(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){pt[e?"unshift":"push"](()=>{i=e,r(6,i)})},function(e){pt[e?"unshift":"push"](()=>{l=e,r(5,l)})}]}function lo(e,t){Ir(e,t)}customElements.get("casino-winners")||customElements.define("casino-winners",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},so,oo,t,{endpoint:22,session:23,userid:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:21,lang:29,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:30,clientstylingurl:31,enableautoscroll:4,tabsorder:32,translationurl:33},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl"]}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 userid(){return this.$$.ctx[24]}set userid(e){this.$$set({userid:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}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[29]}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 usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),f()}get clientstyling(){return this.$$.ctx[30]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[31]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[32]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get translationurl(){return this.$$.ctx[33]}set translationurl(e){this.$$set({translationurl:e}),f()}});const co={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 uo(e,t,n){const r=e.slice();return r[49]=t[n],r[51]=n,r}function ho(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v;function w(e){return e[5]?go:fo}let $=w(n),x=$(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),d=pe("div"),x.c(),u=ge(),h=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(p.src,m=n[11])||fe(p,"src",m),fe(p,"alt",""),fe(h,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(a,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,c),de(a,d),x.m(d,null),de(a,u),de(a,h),de(h,p),b||(v=V(i,"click",n[32]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),$===($=w(e))&&x?x.p(e,t):(x.d(1),(x=$(e))&&(x.c(),x.m(d,null))),2048&t[0]&&!ce(p.src,m=e[11])&&fe(p,"src",m),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&P(a,"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),x.d(),b=!1,v()}}}function po(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function mo(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function go(e){let n,r,i,a,o,s,A,l,c,D,H,d,N,O,u,h,p,m,g,j,f,y,U,W,b,z,Y,v,w,$,x,C,S,V,k,F,Z,J,M,K,X,E,T,_,I,L,q,G,P,Q,ee,B,te,R=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ie=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),A=me(R),l=pe("span"),c=pe("span"),D=me(ne),H=ge(),d=pe("span"),N=me(e[1]),O=ge(),u=pe("div"),h=pe("div"),p=pe("img"),g=pe("span"),j=me(re),f=pe("span"),y=pe("span"),U=me(ie),W=ge(),b=pe("span"),z=me(e[1]),Y=ge(),v=pe("div"),w=pe("div"),$=pe("div"),x=pe("img"),S=pe("span"),V=me(ae),k=pe("span"),F=pe("span"),Z=me(oe),J=ge(),M=pe("span"),K=me(e[1]),X=ge(),E=pe("div"),T=pe("div"),_=pe("img"),L=pe("span"),q=me(se),G=pe("span"),P=pe("span"),Q=me(le),ee=ge(),B=pe("span"),te=me(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,m=e[9][1])||fe(p,"src",m),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(x,"class","displayCardIcon"),ce(x.src,C=e[9][2])||fe(x,"src",C),fe(x,"alt",""),fe(S,"class","cardLabel"),fe($,"class","iconWrapper"),fe(F,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(_,"class","displayCardIcon"),ce(_.src,I=e[9][3])||fe(_,"src",I),fe(_,"alt",""),fe(L,"class","cardLabel"),fe(T,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(B,"class","jackpot-currency"),fe(G,"class","cardTextWrapper"),fe(E,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(i,a),de(i,s),de(s,A),de(r,l),de(l,c),de(c,D),de(l,H),de(l,d),de(d,N),de(n,O),de(n,u),de(u,h),de(h,p),de(h,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,W),de(f,b),de(b,z),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,$),de($,x),de($,S),de(S,V),de(w,k),de(k,F),de(F,Z),de(k,J),de(k,M),de(M,K),de(v,X),de(v,E),de(E,T),de(T,_),de(T,L),de(L,q),de(E,G),de(G,P),de(P,Q),de(G,ee),de(G,B),de(B,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&R!==(R=e[8][0]+"")&&ye(A,R),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(N,e[1]),512&t[0]&&!ce(p.src,m=e[9][1])&&fe(p,"src",m),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(U,ie),2&t[0]&&ye(z,e[1]),512&t[0]&&!ce(x.src,C=e[9][2])&&fe(x,"src",C),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(K,e[1]),512&t[0]&&!ce(_.src,I=e[9][3])&&fe(_,"src",I),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(Y),e&&he(v)}}}function fo(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=yo(uo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=uo(t,a,e);o[e]?o[e].p(r,n):(o[e]=yo(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function yo(e){let n,r,i,a,o,s,l,c,d,u,h,p,m=e[8][e[51]]+"",g=(e[7][e[51]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),d=me(g),u=ge(),h=pe("span"),p=me(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[9][e[51]])||fe(i,"src",a),fe(i,"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){ue(e,n,t),de(n,r),de(r,i),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p)},p(e,t){512&t[0]&&!ce(i.src,a=e[9][e[51]])&&fe(i,"src",a),256&t[0]&&m!==(m=e[8][e[51]]+"")&&ye(s,m),128&t[0]&&g!==(g=(e[7][e[51]]??"")+"")&&ye(d,g),2&t[0]&&ye(p,e[1])},d(e){e&&he(n)}}}function bo(n){let r;function i(e){return e[13]?mo:e[3]?po:ho}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[33](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[33](null)}}}function vo(n,e,r){let t;yt(n,Xr,e=>r(14,t=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{translationurl:w=""}=e,{endpoint:$=""}=e,{gameid:x=""}=e,R=window.navigator.userAgent,C=!1,S=!1,k="",F=[],M=[],E=[],T=[],_=[],I="",L="",G=!1,P=!0,A=!1;Object.keys(co).forEach(e=>{lo(e,co[e])});const B=["typeSpread","typeLeft"],D=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href),"function"==typeof gtag&>ag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+x})};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,d=e.caticon2),"caticon3"in e&&r(20,u=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,p=e.backgroundsrc),"currency"in e&&r(1,m=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),"translationurl"in e&&r(28,w=e.translationurl),"endpoint"in e&&r(29,$=e.endpoint),"gameid"in e&&r(30,x=e.gameid)},n.$$.update=()=>{if(536870912&n.$$.dirty[0]&&$&&(t=new URL($+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(31,M=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&i&&b){let e=document.createElement("style");e.innerHTML=b,i.appendChild(e)}if(134217732&n.$$.dirty[0]&&i&&v){r(12,G=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{r(12,G=!1)},500)})}if(570425346&n.$$.dirty[0]|1&n.$$.dirty[1]&&$&&y&&m&&0<M.length&&($&&y&&m)){let e=new URL($+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",m),fetch(e.href).then(e=>e.json().then(e=>{r(3,P=!1),a=e,M.includes(x)&&((e=null==(e=null==(e=a)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),r(6,k=a.items[0].vendorLogo))}).catch(e=>{r(13,A=!0),r(3,P=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&m&&y&&!P&&(r(4,C=gt(R)&&1<window.innerHeight/window.innerWidth),r(5,S=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&r(7,E=F.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("")),B.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 "${B[0]}"`),r(0,o=B[0])),r(10,I=g&&C&&!S?g:p),r(11,L=f),r(9,_=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,mt.set(e)),268435456&n.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{lo(e,t[e])})}).catch(e=>{console.log(e)})},[o,m,i,P,C,S,k,E,T,_,I,L,G,A,t,D,s,l,c,d,u,h,p,g,f,y,b,v,w,$,x,M,()=>D(),function(e){pt[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}function wo(e,t){Ir(e,t)}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends i{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>',r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},vo,bo,t,{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,translationurl:28,endpoint:29,gameid:30},null,[-1,-1]),e&&(e.target&&ue(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","translationurl","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 translationurl(){return this.$$.ctx[28]}set translationurl(e){this.$$set({translationurl:e}),f()}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[30]}set gameid(e){this.$$set({gameid:e}),f()}});const $o={en:{Translations:{collections:"Game Collections",providers:"Game Providers"}},zh:{Translations:{collections:"Game Collections",providers:"Game Providers"}},de:{Translations:{collections:"Game Collections",providers:"Game Providers"}},it:{Translations:{collections:"Game Collections",providers:"Game Providers"}},fr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},es:{Translations:{collections:"Game Collections",providers:"Game Providers"}},el:{Translations:{collections:"Game Collections",providers:"Game Providers"}},tr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ru:{Translations:{collections:"Game Collections",providers:"Game Providers"}},ro:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hr:{Translations:{collections:"Game Collections",providers:"Game Providers"}},hu:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},pt:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sl:{Translations:{collections:"Game Collections",providers:"Game Providers"}},sr:{Translations:{collections:"Game Collections",providers:"Game Providers"}}};function xo(e,t,n){const r=e.slice();return r[39]=t[n],r}function Co(e,t,n){const r=e.slice();return r[42]=t[n],r}function So(n){let i,r,a,o,s,l,c,d,u,h,p,e,m,g,f=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",y=n[2],b=[];for(let e=0;e<y.length;e+=1)b[e]=To(xo(n,y,e));return{c(){i=pe("div"),r=pe("div"),a=pe("p"),o=me(f),s=ge(),l=pe("div"),(c=pe("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>',d=ge(),(u=pe("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>',h=ge(),p=pe("div");for(let e=0;e<b.length;e+=1)b[e].c();fe(a,"class","Title"),fe(l,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(p,"class","CategoriesSlider"),fe(i,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(r,s),de(r,l),de(l,c),de(l,d),de(l,u),de(i,h),de(i,p);for(let e=0;e<b.length;e+=1)b[e].m(p,null);n[22](p),m||(g=[V(c,"click",n[18]),V(u,"click",n[19])],m=!0)},p(t,n){if(129&n[0]&&f!==(f=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(o,f),3078&n[0]){let e;for(y=t[2],e=0;e<y.length;e+=1){var r=xo(t,y,e);b[e]?b[e].p(r,n):(b[e]=To(r),b[e].c(),b[e].m(p,null))}for(;e<b.length;e+=1)b[e].d(1);b.length=y.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&he(i),G(b,e),n[22](null),m=!1,Y(g)}}}function ko(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Fo(e){let n,r,i=e[39].name+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){4&t[0]&&i!==(i=e[39].name+"")&&ye(r,i)},d(e){e&&he(n)}}}function Mo(e){let n,r,i;return{c(){fe(n=pe("img"),"class","CategorySlideLogo"),ce(n.src,r=e[39].icon)||fe(n,"src",r),fe(n,"alt",i=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[39].icon)&&fe(n,"src",r),4&t[0]&&i!==(i=e[39].name+" icon")&&fe(n,"alt",i)},d(e){e&&he(n)}}}function Eo(n){let r,i,a,o,s;function l(){return n[20](n[42])}return{c(){fe(r=pe("img"),"class","CategorySlideGameImage"),ce(r.src,i=n[42].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",a=n[42].name)},m(e,t){var n;ue(e,r,t),o||(s=V(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,i=n[42].defaultThumbnail)&&fe(r,"src",i),4&t[0]&&a!==(a=n[42].name)&&fe(r,"alt",a)},d(e){e&&he(r),o=!1,s()}}}function To(n){let r,i,a,o,s,l,c,d,u;function h(e){return"logo"==e[1]?Mo:"title"==e[1]?Fo:void 0}let p=h(n),m=p&&p(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=Eo(Co(n,g,e));function y(){return n[21](n[39])}return{c(){r=pe("div"),i=pe("div"),a=pe("div"),m&&m.c(),o=ge(),s=pe("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(a,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(i,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),P(i,"background-image","url("+n[39]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,i),de(i,a),m&&m.m(a,null),de(i,o),de(i,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(r,c),d||(u=V(i,"click",y),d=!0)},p(e,t){if(p===(p=h(n=e))&&m?m.p(n,t):(m&&m.d(1),(m=p&&p(n))&&(m.c(),m.m(a,null))),1028&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const i=Co(n,g,e);f[e]?f[e].p(i,t):(f[e]=Eo(i),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[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(i,"class",l),4&t[0]&&P(i,"background-image","url("+n[39]?.background+")")},d(e){e&&he(r),m&&m.d(),G(f,e),d=!1,u()}}}function _o(n){let r;function i(e){return e[5]?ko:So}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[23](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[23](null)}}}function Io(n,e,r){let t;yt(n,Xr,e=>r(7,t=e));let i,a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,y=[],b=!0,v=0,w=0,$=0,x=window.navigator.userAgent;Object.keys($o).forEach(e=>{wo(e,$o[e])});const C=n=>{(o=[...i.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>a=e.getBoundingClientRect().width),$=Math.round(i.offsetWidth/a)},S=()=>{C(v)},k=()=>{$>=w||(0===v?v=w-$:v-$<-1?v=0:v--,S())},F=()=>{$>=w||(v===w-$?v=0:w-$<v+1?v=w-$:v++,S())},M=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href),"function"==typeof gtag&>ag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return bt(()=>{r(6,l=gt(x))}),n.$$set=e=>{"endpoint"in e&&r(12,c=e.endpoint),"datasource"in e&&r(13,d=e.datasource),"lang"in e&&r(14,u=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,p=e.titletype),"clientstyling"in e&&r(15,m=e.clientstyling),"clientstylingurl"in e&&r(16,g=e.clientstylingurl),"translationurl"in e&&r(17,f=e.translationurl)},n.$$.update=()=>{if(28672&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(5,b=!1);let t=e.items.filter(e=>e.flags==h);r(2,y=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}))),w=y.length})}if(12&n.$$.dirty[0]&&y&&i&&C(),16384&n.$$.dirty[0]&&u&&(e=u,mt.set(e)),32784&n.$$.dirty[0]&&m&&s){let e=document.createElement("style");e.innerHTML=m,s.appendChild(e)}if(65552&n.$$.dirty[0]&&g&&s){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500)})}var e;131072&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{wo(e,t[e])})}).catch(e=>{console.log(e)})},[h,p,y,i,s,b,l,t,k,F,M,E,c,d,u,m,g,f,()=>k(),()=>F(),e=>M(e.gameId,e.launchUrl,e.name),e=>E(e.id),function(e){pt[e?"unshift":"push"](()=>{i=e,r(3,i)})},function(e){pt[e?"unshift":"push"](()=>{s=e,r(4,s)})}]}function Lo(n){let r,i,a,o,s;return{c(){r=pe("div"),i=pe("casino-games-category-section"),this.c=z,x(i,"session",n[0]),x(i,"userid",n[1]),x(i,"endpoint",n[2]),x(i,"datasource",n[3]),x(i,"lang",n[5]),x(i,"currency",n[4]),x(i,"favorites",n[13]),x(i,"categoryid","FAVORITES"),x(i,"class","CategoryContainer"),x(i,"clientstyling",n[6]),x(i,"clientstylingurl",n[7]),x(i,"livecasino",n[8]),x(i,"visiblegames",n[12]),x(i,"gamepagemodalurl",n[11]),x(i,"integratedgameframedesktop",n[10]),x(i,"integratedgameframemobile",n[9]),fe(r,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,r,t),de(r,i),n[17](r),o||(s=M(a=n[15].call(null,i,(n[2],n[1],n[0],n[1]))),o=!0)},p(e,t){1&t[0]&&x(i,"session",e[0]),2&t[0]&&x(i,"userid",e[1]),4&t[0]&&x(i,"endpoint",e[2]),8&t[0]&&x(i,"datasource",e[3]),32&t[0]&&x(i,"lang",e[5]),16&t[0]&&x(i,"currency",e[4]),8192&t[0]&&x(i,"favorites",e[13]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7]),256&t[0]&&x(i,"livecasino",e[8]),4096&t[0]&&x(i,"visiblegames",e[12]),2048&t[0]&&x(i,"gamepagemodalurl",e[11]),1024&t[0]&&x(i,"integratedgameframedesktop",e[10]),512&t[0]&&x(i,"integratedgameframemobile",e[9]),a&&k(a.update)&&7&t[0]&&a.update.call(null,(e[2],e[1],e[0],e[1]))},i:z,o:z,d(e){e&&he(r),n[17](null),o=!1,s()}}}function Go(e,t,l){let n,r,{endpoint:c=""}=t,{datasource:i=""}=t,{currency:a=""}=t,{lang:o=""}=t,{session:d=""}=t,{userid:u=""}=t,{clientstyling:s=""}=t,{clientstylingurl:h=""}=t,{livecasino:p="false"}=t,{integratedgameframemobile:m="false"}=t,{integratedgameframedesktop:g="false"}=t,{gamepagemodalurl:f="false"}=t,{visiblegames:y=""}=t,{favorites:b=""}=t,{categoryid:v=""}=t,w=[];var $,x;({withLocale:$,translations:x}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(x),mt.set($))});const C=n=>{if(n.data)switch(n.data.type){case"UserSessionID":l(0,d=n.data.session),l(1,u=n.data.userID),u&&u.length&&d&&0<d.length&&S(c,d,u);break;case"SetUnfavoredGame":t=`${c}/player/${u}/favorites`,o=d,u,s=n.data.id,n.data.triggerFactor,w.includes(s)&&(w=w.filter(e=>e!=s)),fetch(t+"/"+s,{method:"DELETE",headers:{"X-SessionID":o}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+s},window.location.href),k(t,o)});break;case"SetFavoredGame":{var r=`${c}/player/${u}/favorites`;var i=d;u;var a=n.data.id;n.data.triggerFactor;w.includes(a)||w.push(a);let e={items:w},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),k(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":u&&u.length&&d&&0<d.length&&S(c,d,u)}var t,o,s};let S=(e,t,n)=>{"true"==b&&d&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(F(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),M(r.items)),r)).then(e=>e).catch(e=>{console.error(e)})};let k=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,F(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),r)).catch(e=>{console.error(e)})};const F=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},M=(e=[])=>(w=[],0<e.length&&e.forEach(e=>{w.push(e.id)}),w);return bt(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)})),e.$$set=e=>{"endpoint"in e&&l(2,c=e.endpoint),"datasource"in e&&l(3,i=e.datasource),"currency"in e&&l(4,a=e.currency),"lang"in e&&l(5,o=e.lang),"session"in e&&l(0,d=e.session),"userid"in e&&l(1,u=e.userid),"clientstyling"in e&&l(6,s=e.clientstyling),"clientstylingurl"in e&&l(7,h=e.clientstylingurl),"livecasino"in e&&l(8,p=e.livecasino),"integratedgameframemobile"in e&&l(9,m=e.integratedgameframemobile),"integratedgameframedesktop"in e&&l(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&l(11,f=e.gamepagemodalurl),"visiblegames"in e&&l(12,y=e.visiblegames),"favorites"in e&&l(13,b=e.favorites),"categoryid"in e&&l(16,v=e.categoryid)},e.$$.update=()=>{if(8231&e.$$.dirty[0]&&c&&u&&d&&o&&b&&"true"==b&&S(c,d,u),16448&e.$$.dirty[0]&&s&&n){let e=document.createElement("style");e.innerHTML=s,n.appendChild(e)}if(16512&e.$$.dirty[0]&&h&&n){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}},[d,u,c,i,a,o,s,h,p,m,g,f,y,b,n,S,v,function(e){pt[e?"unshift":"push"](()=>{n=e,l(14,n)})}]}function Po(e){let n;return{c(){x(n=pe("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","LASTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9])},m(e,t){ue(e,n,t)},p(e,t){16&t&&x(n,"session",e[4]),32&t&&x(n,"userid",e[5]),1&t&&x(n,"endpoint",e[0]),2&t&&x(n,"datasource",e[1]),8&t&&x(n,"lang",e[3]),4&t&&x(n,"currency",e[2]),8192&t&&x(n,"favorites",e[13]),64&t&&x(n,"clientstyling",e[6]),128&t&&x(n,"clientstylingurl",e[7]),256&t&&x(n,"livecasino",e[8]),4096&t&&x(n,"visiblegames",e[12]),2048&t&&x(n,"gamepagemodalurl",e[11]),1024&t&&x(n,"integratedgameframedesktop",e[10]),512&t&&x(n,"integratedgameframemobile",e[9])},d(e){e&&he(n)}}}function Bo(e){let n;return{c(){(n=pe("p")).textContent="No games in last played",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Ro(n){let r,i;function a(e){return e[15]?Bo:Po}let o=a(n),s=o(n);return{c(){r=pe("div"),i=pe("div"),s.c(),this.c=z,fe(i,"class","casino-last-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,i),s.m(i,null),n[17](r)},p(e,[t]){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null)))},i:z,o:z,d(e){e&&he(r),s.d(),n[17](null)}}}function Ao(t,e,n){let a,r,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:i=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:m="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,{visiblegames:y=""}=e,{favorites:b=""}=e,{lastplayedperiod:v=""}=e,w=window.navigator.userAgent,$=!1,x;return t.$$set=e=>{"endpoint"in e&&n(0,o=e.endpoint),"datasource"in e&&n(1,s=e.datasource),"currency"in e&&n(2,i=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,m=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastplayedperiod"in e&&n(16,v=e.lastplayedperiod)},t.$$.update=()=>{if(41&t.$$.dirty&&o&&d&&l&&(i={device:ft(w),period:v||"Last30Days"},new Promise((e,t)=>{let n=new URL(`${o}/player/${d}/games/last-played`);i.limit&&n.searchParams.append("limit","10"),i.order&&n.searchParams.append("order",i.order);var r=i.device;r?"PC"===r?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"):n.searchParams.append("device","All"),i.period&&n.searchParams.append("period","Last30Days"),a=p?n:n.href,fetch(a).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:n},window.location.href)}).catch(e=>{console.error(e),t(e)})}).then(e=>{if(0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(o+"/casino/games/"+e.gameId);t.searchParams.append("datasource",s),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{x=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:x},window.location.href)})}else n(15,$=!0)})),16448&t.$$.dirty&&u&&r){let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)}if(16512&t.$$.dirty&&h&&r){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}var e,i;8&t.$$.dirty&&l&&(e=l,mt.set(e))},[o,s,i,l,c,d,u,h,p,m,g,f,y,b,r,$,v,function(e){pt[e?"unshift":"push"](()=>{r=e,n(14,r)})}]}function Do(e){let n;return{c(){x(n=pe("casino-games-category-section"),"session",e[4]),x(n,"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"favorites",e[13]),x(n,"categoryid","MOSTPLAYED"),x(n,"categoryindex","1"),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[8]),x(n,"visiblegames",e[12]),x(n,"gamepagemodalurl",e[11]),x(n,"integratedgameframedesktop",e[10]),x(n,"integratedgameframemobile",e[9])},m(e,t){ue(e,n,t)},p(e,t){16&t&&x(n,"session",e[4]),32&t&&x(n,"userid",e[5]),1&t&&x(n,"endpoint",e[0]),2&t&&x(n,"datasource",e[1]),8&t&&x(n,"lang",e[3]),4&t&&x(n,"currency",e[2]),8192&t&&x(n,"favorites",e[13]),64&t&&x(n,"clientstyling",e[6]),128&t&&x(n,"clientstylingurl",e[7]),256&t&&x(n,"livecasino",e[8]),4096&t&&x(n,"visiblegames",e[12]),2048&t&&x(n,"gamepagemodalurl",e[11]),1024&t&&x(n,"integratedgameframedesktop",e[10]),512&t&&x(n,"integratedgameframemobile",e[9])},d(e){e&&he(n)}}}function Ho(e){let n;return{c(){(n=pe("p")).textContent="No games in most played",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function No(n){let r,i;function a(e){return e[15]?Ho:Do}let o=a(n),s=o(n);return{c(){r=pe("div"),i=pe("div"),s.c(),this.c=z,fe(i,"class","casino-most-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,i),s.m(i,null),n[17](r)},p(e,[t]){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(i,null)))},i:z,o:z,d(e){e&&he(r),s.d(),n[17](null)}}}function Oo(t,e,n){let r,i,{endpoint:a=""}=e,{datasource:o=""}=e,{currency:s=""}=e,{lang:l=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:h=""}=e,{livecasino:p="false"}=e,{integratedgameframemobile:m="false"}=e,{integratedgameframedesktop:g="false"}=e,{gamepagemodalurl:f="false"}=e,y=e["visiblegames"],{favorites:b=""}=e,{lastPlayedEmpty:v=""}=e,w=window.navigator.userAgent,$,x=!1;return t.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,d=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"integratedgameframemobile"in e&&n(9,m=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,g=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,f=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,b=e.favorites),"lastPlayedEmpty"in e&&n(16,v=e.lastPlayedEmpty)},t.$$.update=()=>{if(41&t.$$.dirty&&a&&d&&l&&(e=>{let t=new URL(`${a}/player/${d}/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),r=p?t:t.href,new Promise((e,t)=>{fetch(r).then(e=>e.json()).then(n=>{n.items=n.items.filter(e=>{let t=!0;return"OddsMatrix2"==e.gameCode&&(n.count--,t=!1),t}),e(n)}).catch(e=>{console.error(e),t(e)})})})({limit:100,device:ft(w),rounds:10}).then(e=>{if(0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(a+"/casino/games/"+e.gameId);t.searchParams.append("datasource",o),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{$=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:$},window.location.href)})}else n(15,x=!0)}),16448&t.$$.dirty&&u&&i){let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)}if(16512&t.$$.dirty&&h&&i){let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e;8&t.$$.dirty&&l&&(e=l,mt.set(e))},[a,o,s,l,c,d,u,h,p,m,g,f,y,b,i,x,v,function(e){pt[e?"unshift":"push"](()=>{i=e,n(14,i)})}]}function jo(e,t,n){const r=e.slice();return r[162]=t[n],r[164]=n,r}function Uo(e,t,n){const r=e.slice();return r[162]=t[n],r[164]=n,r}function Wo(e){let n,r,i,a,o,s="PC"!==ft(e[72])&&"false"===e[10]&&e[69],l=s&&Yo();function c(e){return"false"===e[10]?Zo:Vo}let d=c(e),u=d(e),h="true"==e[15]&&0==e[60]&&ls(e);function p(e){return e[50]?ys:e[61]?fs:e[56]?gs:e[62]?ms:e[61]?ps:e[56]?hs:e[62]?us:e[63]?ds:cs}let m=p(e),g=m(e),f=e[52]&&"true"==e[13]&&Ts(e);return{c(){n=pe("section"),l&&l.c(),r=ge(),u.c(),i=ge(),h&&h.c(),a=ge(),g.c(),o=ge(),f&&f.c(),fe(n,"class","CategoriesLobby"),fe(n,"part","CategoriesLobby"),P(n,"max-width",e[12]+"px")},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,r),u.m(n,null),de(n,i),h&&h.m(n,null),de(n,a),g.m(n,null),de(n,o),f&&f.m(n,null)},p(e,t){(s=1024&t[0]|128&t[2]?"PC"!==ft(e[72])&&"false"===e[10]&&e[69]:s)?l||((l=Yo()).c(),l.m(n,r)):l&&(l.d(1),l=null),d===(d=c(e))&&u?u.p(e,t):(u.d(1),(u=d(e))&&(u.c(),u.m(n,i))),"true"==e[15]&&0==e[60]?h?h.p(e,t):((h=ls(e)).c(),h.m(n,a)):h&&(h.d(1),h=null),m===(m=p(e))&&g?g.p(e,t):(g.d(1),(g=m(e))&&(g.c(),g.m(n,o))),e[52]&&"true"==e[13]?f?f.p(e,t):((f=Ts(e)).c(),f.m(n,null)):f&&(f.d(1),f=null),4096&t[0]&&P(n,"max-width",e[12]+"px")},d(e){e&&he(n),l&&l.d(),u.d(),h&&h.d(),g.d(),f&&f.d()}}}function zo(e){let n,r,i=e[71]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[2]&&i!==(i=e[71]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Yo(){let n;return{c(){fe(n=pe("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Vo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[71]("casinoPage.searchGames")+"",$="PC"===ft(n[72])&&n[47].length||"PC"!==ft(n[72]),x=!n[69]&&Jo(),C=$&&Ko(n),S=!n[56]&&!n[61]&&!n[69]&&!n[62]&&!n[63]&&!n[57]&&!n[60]&&!n[58]&&!n[59]&&Xo(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),x&&x.c(),c=ge(),d=pe("input"),h=ge(),C&&C.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===ft(n[72])?n[71]("casinoPage.search"):n[71]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Is?"CategoriesHeaderSearchActive":"")+(n[64]&&n[69]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Is?"CategoriesHeaderSearchActive":"")+(n[64]&&n[69]?"SearchStickTop":"")),P(r,"top",n[64]&&n[69]?Ls+"px":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),x&&x.m(l,null),de(l,c),de(l,d),n[99](d),R(d,n[47]),de(l,h),C&&C.m(l,null),de(r,g),S&&S.m(r,null),n[104](r),b||(v=[V(d,"focus",n[74]),V(d,"blur",n[75]),V(d,"input",n[100]),V(d,"focus",n[76])],b=!0)},p(e,t){512&t[2]&&w!==(w=e[71]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?x&&(x.d(1),x=null):x||((x=Jo()).c(),x.m(l,c)),512&t[2]&&u!==(u="PC"===ft(e[72])?e[71]("casinoPage.search"):e[71]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),65536&t[1]&&R(d,e[47]),($=65536&t[1]?"PC"===ft(e[72])&&e[47].length||"PC"!==ft(e[72]):$)?C?C.p(e,t):((C=Ko(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),1375731712&t[1]|3&t[2]&&p!==(p="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(i,"class",p),1375731712&t[1]|3&t[2]&&m!==(m="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(i,"part",m),e[56]||e[61]||e[69]||e[62]||e[63]||e[57]||e[60]||e[58]||e[59]?S&&(S.d(1),S=null):S?S.p(e,t):((S=Xo(e)).c(),S.m(r,null)),134217728&t[1]|132&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Is?"CategoriesHeaderSearchActive":"")+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),134217728&t[1]|132&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Is?"CategoriesHeaderSearchActive":"")+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y),132&t[2]&&P(r,"top",e[64]&&e[69]?Ls+"px":"")},d(e){e&&he(r),x&&x.d(),n[99](null),C&&C.d(),S&&S.d(),n[104](null),b=!1,Y(v)}}}function Zo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[71]("casinoPage.searchGames")+"",$="PC"===ft(n[72])&&n[47].length||"PC"!==ft(n[72]),x=!n[69]&&ns(),C=$&&rs(n),S=!n[56]&&!n[61]&&!n[69]&&!n[62]&&!n[63]&&!n[57]&&!n[58]&&!n[60]&&!n[59]&&is(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),x&&x.c(),c=ge(),d=pe("input"),h=ge(),C&&C.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===ft(n[72])?n[71]("casinoPage.search"):n[71]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[61]||n[56]||n[62]||n[63]||n[59]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Is?"CategoriesHeaderSearchActive":"")+" "+(n[64]&&n[69]?"SearchStickTop":"")),P(r,"top",n[64]&&n[69]?Ls+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==ft(n[72])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[58]&&"PC"!==ft(n[72])&&!Is?"CategoriesHeaderSearchActive":"")+" "+(n[64]&&n[69]?"SearchStickTop":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),x&&x.m(l,null),de(l,c),de(l,d),n[93](d),R(d,n[47]),de(l,h),C&&C.m(l,null),de(r,g),S&&S.m(r,null),n[98](r),b||(v=[V(d,"focus",n[74]),V(d,"blur",n[75]),V(d,"input",n[94]),V(d,"focus",n[76])],b=!0)},p(e,t){512&t[2]&&w!==(w=e[71]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?x&&(x.d(1),x=null):x||((x=ns()).c(),x.m(l,c)),512&t[2]&&u!==(u="PC"===ft(e[72])?e[71]("casinoPage.search"):e[71]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),65536&t[1]&&R(d,e[47]),($=65536&t[1]?"PC"===ft(e[72])&&e[47].length||"PC"!==ft(e[72]):$)?C?C.p(e,t):((C=rs(e)).c(),C.m(l,null)):C&&(C.d(1),C=null),1375731712&t[1]|3&t[2]&&p!==(p="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(i,"class",p),1375731712&t[1]|3&t[2]&&m!==(m="SearchContainer "+(e[61]||e[56]||e[62]||e[63]||e[59]?"":"SearchTruncated"))&&fe(i,"part",m),e[56]||e[61]||e[69]||e[62]||e[63]||e[57]||e[58]||e[60]||e[59]?S&&(S.d(1),S=null):S?S.p(e,t):((S=is(e)).c(),S.m(r,null)),134217728&t[1]|132&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Is?"CategoriesHeaderSearchActive":"")+" "+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),132&t[2]&&P(r,"top",e[64]&&e[69]?Ls+"px":""),134217728&t[1]|132&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==ft(e[72])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[58]&&"PC"!==ft(e[72])&&!Is?"CategoriesHeaderSearchActive":"")+" "+(e[64]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),x&&x.d(),n[93](null),C&&C.d(),S&&S.d(),n[98](null),b=!1,Y(v)}}}function Jo(){let n;return{c(){(n=pe("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){ue(e,n,t)},d(e){e&&he(n)}}}function Ko(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=V(r,"click",n[101]),a=!0)},p:z,d(e){e&&he(r),a=!1,o()}}}function Xo(e){let n,r,i=e[70]&&qo(e),a=(!e[58]||!e[57])&&Qo(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=qo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[58]&&e[57]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Qo(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function qo(n){let r,i,a,o,s,l,c,d,u,h=n[71]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),(s=pe("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(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),d||(u=V(r,"click",n[102]),d=!0)},p(e,t){512&t[2]&&h!==(h=e[71]("casinoPage.clear")+"")&&ye(a,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),d=!1,u()}}}function Qo(e){let n,r=!e[62]&&es(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[62]?r&&(r.d(1),r=null):r?r.p(e,t):((r=es(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function es(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f=n[71]("casinoPage.filters")+"",y=0<n[70]&&ts(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=F("svg"),c=F("defs"),d=F("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=F("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"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){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),y&&y.m(s,null),m||(g=V(r,"click",n[103]),m=!0)},p(e,t){512&t[2]&&f!==(f=e[71]("casinoPage.filters")+"")&&ye(a,f),0<e[70]?y?y.p(e,t):((y=ts(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function ts(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[70]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){ue(e,n,t),de(n,r),de(r,i)},p(e,t){256&t[2]&&ye(i,e[70])},d(e){e&&he(n)}}}function ns(){let n;return{c(){(n=pe("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){ue(e,n,t)},d(e){e&&he(n)}}}function rs(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===ft(n[72])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=V(r,"click",n[95]),a=!0)},p:z,d(e){e&&he(r),a=!1,o()}}}function is(e){let n,r,i=e[70]&&as(e),a=(!e[58]||!e[57])&&os(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=as(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[58]&&e[57]?a&&(a.d(1),a=null):a?a.p(e,t):((a=os(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function as(n){let r,i,a,o,s,l,c,d=n[71]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(d),o=ge(),(s=pe("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(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),l||(c=V(r,"click",n[96]),l=!0)},p(e,t){512&t[2]&&d!==(d=e[71]("casinoPage.clear")+"")&&ye(a,d)},d(e){e&&he(r),l=!1,c()}}}function os(e){let n,r=(!e[62]||!e[63])&&ss(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[62]&&e[63]?r&&(r.d(1),r=null):r?r.p(e,t):((r=ss(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function ss(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v=n[71]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(v),o=ge(),s=pe("div"),l=F("svg"),c=F("defs"),d=F("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=F("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[70]),fe(i,"class","FilterButton"),fe(i,"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(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),de(s,m),de(m,g),de(g,f),y||(b=V(r,"click",n[97]),y=!0)},p(e,t){512&t[2]&&v!==(v=e[71]("casinoPage.filters")+"")&&ye(a,v),256&t[2]&&ye(f,e[70])},d(e){e&&he(r),y=!1,b()}}}function ls(e){let n;return{c(){x(n=pe("casino-random-game"),"datasource",e[1]),x(n,"filteredrandomgamecategories",e[16]),x(n,"endpoint",e[0]),x(n,"lang",e[3]),x(n,"gameevent",e[49]),x(n,"randombuttonicon",e[44]),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&x(n,"datasource",e[1]),65536&t[0]&&x(n,"filteredrandomgamecategories",e[16]),1&t[0]&&x(n,"endpoint",e[0]),8&t[0]&&x(n,"lang",e[3]),262144&t[1]&&x(n,"gameevent",e[49]),8192&t[1]&&x(n,"randombuttonicon",e[44]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function cs(e){let n;return{c(){x(n=pe("casino-games-category-section"),"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"favorites",e[11]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"session",e[4]),x(n,"categoryid",e[46]),x(n,"categorygames","9"),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[17]),x(n,"integratedgameframedesktop",e[23]),x(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),2048&t[0]&&x(n,"favorites",e[11]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),16&t[0]&&x(n,"session",e[4]),32768&t[1]&&x(n,"categoryid",e[46]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),131072&t[0]&&x(n,"gamepagemodalurl",e[17]),8388608&t[0]&&x(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function ds(e){let n;return{c(){x(n=pe("casino-last-played-section"),"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"favorites",e[11]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"session",e[4]),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[17]),x(n,"integratedgameframedesktop",e[23]),x(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),2048&t[0]&&x(n,"favorites",e[11]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),16&t[0]&&x(n,"session",e[4]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),131072&t[0]&&x(n,"gamepagemodalurl",e[17]),8388608&t[0]&&x(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function us(e){let n;return{c(){x(n=pe("casino-most-played-section"),"userid",e[5]),x(n,"endpoint",e[0]),x(n,"datasource",e[1]),x(n,"favorites",e[11]),x(n,"lang",e[3]),x(n,"currency",e[2]),x(n,"session",e[4]),x(n,"class","CategoryContainer"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7]),x(n,"livecasino",e[14]),x(n,"visiblegames",e[9]),x(n,"gamepagemodalurl",e[17]),x(n,"integratedgameframedesktop",e[23]),x(n,"integratedgameframemobile",e[24])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&x(n,"userid",e[5]),1&t[0]&&x(n,"endpoint",e[0]),2&t[0]&&x(n,"datasource",e[1]),2048&t[0]&&x(n,"favorites",e[11]),8&t[0]&&x(n,"lang",e[3]),4&t[0]&&x(n,"currency",e[2]),16&t[0]&&x(n,"session",e[4]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7]),16384&t[0]&&x(n,"livecasino",e[14]),512&t[0]&&x(n,"visiblegames",e[9]),131072&t[0]&&x(n,"gamepagemodalurl",e[17]),8388608&t[0]&&x(n,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(n,"integratedgameframemobile",e[24])},d(e){e&&he(n)}}}function hs(n){let r,i,a,o;return{c(){x(r=pe("casino-games-category-section"),"session",n[4]),x(r,"userid",n[5]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"favorites",n[11]),x(r,"categoryid","FAVORITES"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[17]),x(r,"integratedgameframedesktop",n[23]),x(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),a||(o=M(i=n[73].call(null,r,(n[0],n[53],n[54],n[53]))),a=!0)},p(e,t){16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),131072&t[0]&&x(r,"gamepagemodalurl",e[17]),8388608&t[0]&&x(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(r,"integratedgameframemobile",e[24]),i&&k(i.update)&&1&t[0]|12582912&t[1]&&i.update.call(null,(e[0],e[53],e[54],e[53]))},d(e){e&&he(r),a=!1,o()}}}function ps(t){let i,a=t[66],o=[];for(let e=0;e<a.length;e+=1)o[e]=xs(jo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(2147109887&n[0]|7166&n[1]|16&n[2]){let e;for(a=t[66],e=0;e<a.length;e+=1){var r=jo(t,a,e);o[e]?o[e].p(r,n):(o[e]=xs(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function ms(n){let r,i,a,o;return{c(){x(r=pe("casino-most-played-section"),"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"session",n[4]),x(r,"userid",n[5]),x(r,"categoryid","Search"),x(r,"favorites",n[11]),x(r,"categoryindex","0"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[17]),x(r,"integratedgameframedesktop",n[23]),x(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),a||(o=M(i=n[81].call(null,r,n[65])),a=!0)},p(e,t){1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),131072&t[0]&&x(r,"gamepagemodalurl",e[17]),8388608&t[0]&&x(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(r,"integratedgameframemobile",e[24]),i&&k(i.update)&&8&t[2]&&i.update.call(null,e[65])},d(e){e&&he(r),a=!1,o()}}}function gs(n){let r,i,a,o;return{c(){x(r=pe("casino-favorites-section"),"session",n[4]),x(r,"userid",n[5]),x(r,"endpoint",n[0]),x(r,"datasource",n[1]),x(r,"lang",n[3]),x(r,"currency",n[2]),x(r,"favorites",n[11]),x(r,"categoryid","FAVORITES"),x(r,"class","CategoryContainer"),x(r,"clientstyling",n[6]),x(r,"clientstylingurl",n[7]),x(r,"livecasino",n[14]),x(r,"visiblegames",n[9]),x(r,"gamepagemodalurl",n[17]),x(r,"integratedgameframedesktop",n[23]),x(r,"integratedgameframemobile",n[24])},m(e,t){ue(e,r,t),a||(o=M(i=n[73].call(null,r,(n[0],n[53],n[54],n[53]))),a=!0)},p(e,t){16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),1&t[0]&&x(r,"endpoint",e[0]),2&t[0]&&x(r,"datasource",e[1]),8&t[0]&&x(r,"lang",e[3]),4&t[0]&&x(r,"currency",e[2]),2048&t[0]&&x(r,"favorites",e[11]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),16384&t[0]&&x(r,"livecasino",e[14]),512&t[0]&&x(r,"visiblegames",e[9]),131072&t[0]&&x(r,"gamepagemodalurl",e[17]),8388608&t[0]&&x(r,"integratedgameframedesktop",e[23]),16777216&t[0]&&x(r,"integratedgameframemobile",e[24]),i&&k(i.update)&&1&t[0]|12582912&t[1]&&i.update.call(null,(e[0],e[53],e[54],e[53]))},d(e){e&&he(r),a=!1,o()}}}function fs(t){let i,a=t[66],o=[];for(let e=0;e<a.length;e+=1)o[e]=Es(Uo(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(2147372031&n[0]|8191&n[1]|16&n[2]){let e;for(a=t[66],e=0;e<a.length;e+=1){var r=Uo(t,a,e);o[e]?o[e].p(r,n):(o[e]=Es(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function ys(e){let n,r,i=e[71]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[2]&&i!==(i=e[71]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function bs(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),x(i=pe("jackpot-banner"),"title","Jackpot Cards"),x(i,"currency",a=e[2]||"RON"),x(i,"gameid","998"),x(i,"endpoint",e[0]),x(i,"lang",e[3]),x(i,"backgroundsrc","/assets/background0.jpg"),x(i,"backgroundsrcmobile","/assets/background0.jpg"),x(i,"titlelogopath","/assets/jackpots_logo.svg"),x(i,"caticon0","/assets/icon0.svg"),x(i,"caticon1","/assets/icon1.svg"),x(i,"caticon2","/assets/icon2.svg"),x(i,"caticon3","/assets/icon3.svg"),x(i,"iconlabels",e[39]),x(i,"visualstructure","typeSpread"),x(i,"clientstyling",e[6]),x(i,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&x(i,"currency",a),1&t[0]&&x(i,"endpoint",e[0]),8&t[0]&&x(i,"lang",e[3]),256&t[1]&&x(i,"iconlabels",e[39]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function vs(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),x(i=pe("jackpot-banner"),"title","Egypt Quest"),x(i,"currency",a=e[2]||"RON"),x(i,"gameid","999"),x(i,"endpoint",e[0]),x(i,"lang",e[3]),x(i,"backgroundsrc",e[36]),x(i,"backgroundsrcmobile",e[37]),x(i,"titlelogopath",e[38]),x(i,"caticon0",e[32]),x(i,"caticon1",e[33]),x(i,"caticon2",e[34]),x(i,"caticon3",e[35]),x(i,"iconlabels",e[39]),x(i,"visualstructure",e[40]),x(i,"clientstyling",e[6]),x(i,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&x(i,"currency",a),1&t[0]&&x(i,"endpoint",e[0]),8&t[0]&&x(i,"lang",e[3]),32&t[1]&&x(i,"backgroundsrc",e[36]),64&t[1]&&x(i,"backgroundsrcmobile",e[37]),128&t[1]&&x(i,"titlelogopath",e[38]),2&t[1]&&x(i,"caticon0",e[32]),4&t[1]&&x(i,"caticon1",e[33]),8&t[1]&&x(i,"caticon2",e[34]),16&t[1]&&x(i,"caticon3",e[35]),256&t[1]&&x(i,"iconlabels",e[39]),512&t[1]&&x(i,"visualstructure",e[40]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function ws(e){let n,r;return{c(){x(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&x(n,"endpoint",r),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function $s(e){let n,r;return{c(){x(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"type",e[42]),x(n,"titletype",e[43]),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&x(n,"endpoint",r),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),2048&t[1]&&x(n,"type",e[42]),4096&t[1]&&x(n,"titletype",e[43]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function xs(n){let r,i,a,o,s,e,l,c,d,u="true"===enablecasinowinners&&1===n[164]&&function(e){let n,r;return{c(){n=pe("div"),x(r=pe("casino-winners"),"session",e[4]),x(r,"periodrecent",e[25]),x(r,"periodtop",e[26]),x(r,"numberusersrecent",e[27]),x(r,"numberuserstop",e[28]),x(r,"amountlimit",e[29]),x(r,"isrecentavailable",e[22]),x(r,"istopavailable",e[21]),x(r,"defaultcurrency",e[30]),x(r,"enableautoscroll",e[20]),x(r,"tabsorder",e[19]),x(r,"lang",e[3]),x(r,"clientstyling",e[6]),x(r,"clientstylingurl",e[7]),x(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&x(r,"session",e[4]),33554432&t[0]&&x(r,"periodrecent",e[25]),67108864&t[0]&&x(r,"periodtop",e[26]),134217728&t[0]&&x(r,"numberusersrecent",e[27]),268435456&t[0]&&x(r,"numberuserstop",e[28]),536870912&t[0]&&x(r,"amountlimit",e[29]),4194304&t[0]&&x(r,"isrecentavailable",e[22]),2097152&t[0]&&x(r,"istopavailable",e[21]),1073741824&t[0]&&x(r,"defaultcurrency",e[30]),1048576&t[0]&&x(r,"enableautoscroll",e[20]),524288&t[0]&&x(r,"tabsorder",e[19]),8&t[0]&&x(r,"lang",e[3]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),1&t[0]&&x(r,"endpoint",e[0])},d(e){e&&he(n)}}}(n),t=4===(p=n)[164]&&"true"==enablejackpotbanner?vs:6===p[164]&&"true"==enablejackpotbanner?bs:void 0,h=t&&t(n);var p;function m(e){return 7==e[164]&&"true"==enablecollections?$s:e[164]==e[66].length-1&&"true"==enablecollections?ws:void 0}let g=m(n),f=g&&g(n);return{c(){u&&u.c(),r=ge(),h&&h.c(),i=ge(),f&&f.c(),a=ge(),x(o=pe("casino-games-category-section"),"session",n[4]),x(o,"userid",n[5]),x(o,"endpoint",n[0]),x(o,"datasource",n[1]),x(o,"lang",n[3]),x(o,"currency",n[2]),x(o,"categoryid",s=n[162]),x(o,"categoryindex",e=n[164]),x(o,"categorygames","9"),x(o,"favorites",n[11]),x(o,"class","CategoryContainer"),P(o,"background-color",n[164]%2!=0?n[8]:"transparent"),x(o,"clientstyling",n[6]),x(o,"clientstylingurl",n[7]),x(o,"livecasino",n[14]),x(o,"visiblegames",n[9]),x(o,"gamepagemodalurl",n[17]),x(o,"integratedgameframedesktop",n[23]),x(o,"integratedgameframemobile",n[24])},m(e,t){u&&u.m(e,t),ue(e,r,t),h&&h.m(e,t),ue(e,i,t),f&&f.m(e,t),ue(e,a,t),ue(e,o,t),c||(d=M(l=n[80].call(null,o,n[162])),c=!0)},p(e,t){n=e,"true"===enablecasinowinners&&1===n[164]&&u.p(n,t),h&&h.p(n,t),g===(g=m(n))&&f?f.p(n,t):(f&&f.d(1),(f=g&&g(n))&&(f.c(),f.m(a.parentNode,a))),16&t[0]&&x(o,"session",n[4]),32&t[0]&&x(o,"userid",n[5]),1&t[0]&&x(o,"endpoint",n[0]),2&t[0]&&x(o,"datasource",n[1]),8&t[0]&&x(o,"lang",n[3]),4&t[0]&&x(o,"currency",n[2]),16&t[2]&&s!==(s=n[162])&&x(o,"categoryid",s),2048&t[0]&&x(o,"favorites",n[11]),256&t[0]&&P(o,"background-color",n[164]%2!=0?n[8]:"transparent"),64&t[0]&&x(o,"clientstyling",n[6]),128&t[0]&&x(o,"clientstylingurl",n[7]),16384&t[0]&&x(o,"livecasino",n[14]),512&t[0]&&x(o,"visiblegames",n[9]),131072&t[0]&&x(o,"gamepagemodalurl",n[17]),8388608&t[0]&&x(o,"integratedgameframedesktop",n[23]),16777216&t[0]&&x(o,"integratedgameframemobile",n[24]),l&&k(l.update)&&16&t[2]&&l.update.call(null,n[162])},d(e){u&&u.d(e),e&&he(r),h&&h.d(e),e&&he(i),f&&f.d(e),e&&he(a),e&&he(o),c=!1,d()}}}function Cs(e){let n,r;return{c(){n=pe("div"),x(r=pe("casino-winners"),"session",e[4]),x(r,"userid",e[5]),x(r,"periodrecent",e[25]),x(r,"periodtop",e[26]),x(r,"numberusersrecent",e[27]),x(r,"numberuserstop",e[28]),x(r,"amountlimit",e[29]),x(r,"isrecentavailable",e[22]),x(r,"istopavailable",e[21]),x(r,"defaultcurrency",e[30]),x(r,"usercurrency",e[2]),x(r,"enableautoscroll",e[20]),x(r,"tabsorder",e[19]),x(r,"lang",e[3]),x(r,"clientstyling",e[6]),x(r,"clientstylingurl",e[7]),x(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&x(r,"session",e[4]),32&t[0]&&x(r,"userid",e[5]),33554432&t[0]&&x(r,"periodrecent",e[25]),67108864&t[0]&&x(r,"periodtop",e[26]),134217728&t[0]&&x(r,"numberusersrecent",e[27]),268435456&t[0]&&x(r,"numberuserstop",e[28]),536870912&t[0]&&x(r,"amountlimit",e[29]),4194304&t[0]&&x(r,"isrecentavailable",e[22]),2097152&t[0]&&x(r,"istopavailable",e[21]),1073741824&t[0]&&x(r,"defaultcurrency",e[30]),4&t[0]&&x(r,"usercurrency",e[2]),1048576&t[0]&&x(r,"enableautoscroll",e[20]),524288&t[0]&&x(r,"tabsorder",e[19]),8&t[0]&&x(r,"lang",e[3]),64&t[0]&&x(r,"clientstyling",e[6]),128&t[0]&&x(r,"clientstylingurl",e[7]),1&t[0]&&x(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Ss(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),x(i=pe("jackpot-banner"),"title","Jackpot Cards"),x(i,"currency",a=e[2]||"RON"),x(i,"gameid","999"),x(i,"endpoint",e[0]),x(i,"lang",e[3]),x(i,"backgroundsrc","/assets/background0.jpg"),x(i,"backgroundsrcmobile","/assets/background0.jpg"),x(i,"titlelogopath","/assets/jackpots_logo.svg"),x(i,"caticon0","/assets/icon0.svg"),x(i,"caticon1","/assets/icon1.svg"),x(i,"caticon2","/assets/icon2.svg"),x(i,"caticon3","/assets/icon3.svg"),x(i,"iconlabels",e[39]),x(i,"visualstructure","typeSpread"),x(i,"clientstyling",e[6]),x(i,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&x(i,"currency",a),1&t[0]&&x(i,"endpoint",e[0]),8&t[0]&&x(i,"lang",e[3]),256&t[1]&&x(i,"iconlabels",e[39]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function ks(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),x(i=pe("jackpot-banner"),"title","Egypt Quest"),x(i,"currency",a=e[2]||"RON"),x(i,"gameid","998"),x(i,"endpoint",e[0]),x(i,"lang",e[3]),x(i,"backgroundsrc",e[36]),x(i,"backgroundsrcmobile",e[37]),x(i,"titlelogopath",e[38]),x(i,"caticon0",e[32]),x(i,"caticon1",e[33]),x(i,"caticon2",e[34]),x(i,"caticon3",e[35]),x(i,"iconlabels",e[39]),x(i,"visualstructure",e[40]),x(i,"clientstyling",e[6]),x(i,"clientstylingurl",e[7])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&x(i,"currency",a),1&t[0]&&x(i,"endpoint",e[0]),8&t[0]&&x(i,"lang",e[3]),32&t[1]&&x(i,"backgroundsrc",e[36]),64&t[1]&&x(i,"backgroundsrcmobile",e[37]),128&t[1]&&x(i,"titlelogopath",e[38]),2&t[1]&&x(i,"caticon0",e[32]),4&t[1]&&x(i,"caticon1",e[33]),8&t[1]&&x(i,"caticon2",e[34]),16&t[1]&&x(i,"caticon3",e[35]),256&t[1]&&x(i,"iconlabels",e[39]),512&t[1]&&x(i,"visualstructure",e[40]),64&t[0]&&x(i,"clientstyling",e[6]),128&t[0]&&x(i,"clientstylingurl",e[7])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function Fs(e){let n,r;return{c(){x(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"type","vendor"),x(n,"titletype","logo"),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&x(n,"endpoint",r),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Ms(e){let n,r;return{c(){x(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),x(n,"datasource",e[1]),x(n,"lang",e[3]),x(n,"type",e[42]),x(n,"titletype",e[43]),x(n,"clientstyling",e[6]),x(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&x(n,"endpoint",r),2&t[0]&&x(n,"datasource",e[1]),8&t[0]&&x(n,"lang",e[3]),2048&t[1]&&x(n,"type",e[42]),4096&t[1]&&x(n,"titletype",e[43]),64&t[0]&&x(n,"clientstyling",e[6]),128&t[0]&&x(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function Es(n){let r,i,a,o,s,l,c,d,u,e,h,p,m,g=n[18]&&n[164]==+n[18]&&Cs(n);function f(e,t){return 1&t[1]|16&t[2]&&(i=null),1&t[1]|16&t[2]&&(a=null),(i=null==i?!(!e[31]||e[164]!=(""==e[31].split(",")[0]?e[66].length:+e[31].split(",")[0])):i)?ks:(a=null==a?!(!e[31]||e[164]!=(""==e[31].split(",")[1]?e[66].length:+e[31].split(",")[1])):a)?Ss:void 0}let y=f(n,[-1,-1,-1,-1,-1,-1]),b=y&&y(n);function v(e,t){return 1024&t[1]|16&t[2]&&(s=null),1024&t[1]|16&t[2]&&(l=null),(s=null==s?!(!e[41]||e[164]!=(""==e[41].split(",")[0]?e[66].length:+e[41].split(",")[0])):s)?Ms:(l=null==l?!(!e[41]||e[164]!=(""==e[41].split(",")[1]?e[66].length:+e[41].split(",")[1])):l)?Fs:void 0}let w=v(n,[-1,-1,-1,-1,-1,-1]),$=w&&w(n);return{c(){g&&g.c(),r=ge(),b&&b.c(),o=ge(),$&&$.c(),c=ge(),x(d=pe("casino-games-category-section"),"session",n[4]),x(d,"userid",n[5]),x(d,"endpoint",n[0]),x(d,"datasource",n[1]),x(d,"lang",n[3]),x(d,"currency",n[2]),x(d,"categoryid",u=n[162]),x(d,"categoryindex",e=n[164]),x(d,"categorygames","9"),x(d,"favorites",n[11]),x(d,"class","CategoryContainer"),P(d,"background-color",n[164]%2!=0?n[8]:"transparent"),x(d,"clientstyling",n[6]),x(d,"clientstylingurl",n[7]),x(d,"livecasino",n[14]),x(d,"visiblegames",n[9]),x(d,"gamepagemodalurl",n[17]),x(d,"integratedgameframedesktop",n[23]),x(d,"integratedgameframemobile",n[24])},m(e,t){g&&g.m(e,t),ue(e,r,t),b&&b.m(e,t),ue(e,o,t),$&&$.m(e,t),ue(e,c,t),ue(e,d,t),p||(m=M(h=n[80].call(null,d,n[162])),p=!0)},p(e,t){(n=e)[18]&&n[164]==+n[18]?g?g.p(n,t):((g=Cs(n)).c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),y===(y=f(n,t))&&b?b.p(n,t):(b&&b.d(1),(b=y&&y(n))&&(b.c(),b.m(o.parentNode,o))),w===(w=v(n,t))&&$?$.p(n,t):($&&$.d(1),($=w&&w(n))&&($.c(),$.m(c.parentNode,c))),16&t[0]&&x(d,"session",n[4]),32&t[0]&&x(d,"userid",n[5]),1&t[0]&&x(d,"endpoint",n[0]),2&t[0]&&x(d,"datasource",n[1]),8&t[0]&&x(d,"lang",n[3]),4&t[0]&&x(d,"currency",n[2]),16&t[2]&&u!==(u=n[162])&&x(d,"categoryid",u),2048&t[0]&&x(d,"favorites",n[11]),256&t[0]&&P(d,"background-color",n[164]%2!=0?n[8]:"transparent"),64&t[0]&&x(d,"clientstyling",n[6]),128&t[0]&&x(d,"clientstylingurl",n[7]),16384&t[0]&&x(d,"livecasino",n[14]),512&t[0]&&x(d,"visiblegames",n[9]),131072&t[0]&&x(d,"gamepagemodalurl",n[17]),8388608&t[0]&&x(d,"integratedgameframedesktop",n[23]),16777216&t[0]&&x(d,"integratedgameframemobile",n[24]),h&&k(h.update)&&16&t[2]&&h.update.call(null,n[162])},d(e){g&&g.d(e),e&&he(r),b&&b.d(e),e&&he(o),$&&$.d(e),e&&he(c),e&&he(d),p=!1,m()}}}function Ts(n){let r,i,a,e,t,o,s,l=n[71]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==ft(n[72])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==ft(n[72])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[55]),fe(r,"class",o="PanicSection "+("PC"!==ft(n[72])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ft(n[72])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[105](i)},p(e,t){512&t[2]&&l!==(l=e[71]("casinoPage.breakButton")+"")&&ye(a,l),16777216&t[1]&&B(i,"PanicButtonAnimation",e[55])},d(e){e&&he(r),n[105](null)}}}function _s(n){let r;function i(e){return e[51]?zo:Wo}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[106](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[106](null)}}}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Io,_o,t,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16,translationurl:17},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl"]}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()}get translationurl(){return this.$$.ctx[17]}set translationurl(e){this.$$set({translationurl:e}),f()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends i{constructor(e){super(),r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Go,Lo,t,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,categoryid:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","categoryid"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[1]}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 livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get categoryid(){return this.$$.ctx[16]}set categoryid(e){this.$$set({categoryid:e}),f()}}),customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends i{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}.casino-last-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ao,Ro,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastplayedperiod:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastplayedperiod"]}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 livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastplayedperiod(){return this.$$.ctx[16]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}}),customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends i{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}.casino-most-played-section{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-white, #FFFFFF)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Oo,No,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty"]}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 livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),f()}get lastPlayedEmpty(){return this.$$.ctx[16]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),f()}});let Is=!1;const Ls=0;function Gs(n,e,c){let t;yt(n,Xr,e=>c(71,t=e));let i,{endpoint:d=""}=e,{datasource:a=""}=e,{currency:D=""}=e,{lang:o=""}=e,{session:s=""}=e,{userid:l=""}=e,{clientstyling:H=""}=e,{clientstylingurl:N=""}=e,{translationurl:O=""}=e,{categorybackground:j=""}=e,U=e["visiblegames"],{alternativesearch:W="false"}=e,{favorites:z=""}=e,{mostplayed:Y=""}=e,{lastplayed:V=""}=e,{containermaxwidth:Z="1300"}=e,{lobbyid:u="casinodefault"}=e,{haspanicbutton:J="false"}=e,{mostplayedrounds:K=""}=e,{lastplayedperiod:X=""}=e,{filteredcategories:q=""}=e,{activecategory:Q=""}=e,{livecasino:ee="false"}=e,{playrandomgame:te="false"}=e,{filteredrandomgamecategories:ne=""}=e,{gamepagemodalurl:re="false"}=e,{positionwinnerswidget:ie=""}=e,{tabsorder:ae=""}=e,{enableautoscroll:oe=""}=e,{istopavailable:se=""}=e,{isrecentavailable:le=""}=e,{integratedgameframedesktop:ce="false"}=e,{integratedgameframemobile:de="false"}=e,{periodrecent:ue=""}=e,{periodtop:he=""}=e,{numberusersrecent:pe=""}=e,{numberuserstop:me=""}=e,{amountlimit:ge=""}=e,{defaultcurrency:fe=""}=e,{positionjackpotbanners:ye=""}=e,{caticon0:be=""}=e,{caticon1:ve=""}=e,{caticon2:we=""}=e,{caticon3:$e=""}=e,{backgroundsrc:xe=""}=e,{backgroundsrcmobile:Ce=""}=e,{titlelogopath:Se=""}=e,{iconlabels:ke=""}=e,{visualstructure:Fe=""}=e,{positioncollections:Me=""}=e,{type:Ee=""}=e,{titletype:Te=""}=e,{randombuttonicon:_e=""}=e,h=window.navigator.userAgent;i=gt(h)?"OpenGameFrame":"ShowGameModal";let p,m,g,Ie,f,y,b,Le,Ge,Pe,r,v,w,$=!1,x=!1,Be=!1,C="",Re=!1,Ae=0,S=!1,De=!1,He=!0,Ne=!1,k=!1,Oe=!1,je=!1,F=!0,M=!1,E=!1,Ue=!1,T=!0,We=[],_=[],I="",ze={},Ye,L=!1,G=[],Ve=!1,P=[],Ze=0,B="",Je=!1;var Ke,Xe;({withLocale:Ke,translations:Xe}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(Xe),mt.set(Ke))}),Object.keys(Ci).forEach(e=>{xi(e,Ci[e])});const qe=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(54,m=n.data.session),c(53,p=n.data.userID),p&&p.length&&m&&0<m.length&&R(d,m,p);break;case"SetUnfavoredGame":o=`${d}/player/${p}/favorites`,s=m,p,l=n.data.id,n.data.triggerFactor,G.includes(l)&&(G=G.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),Qe(o,s)});break;case"SetFavoredGame":{var r=`${d}/player/${p}/favorites`;var i=m;p;var a=n.data.id;n.data.triggerFactor;G.includes(a)||G.push(a);let e={items:G},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),Qe(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":p&&p.length&&m&&0<m.length&&R(d,m,p);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(P=(P=nt(`searchedGamesWds_${u}`))?P.split(","):[]).indexOf(t)){let e;P.push(t),e=P.join(","),document.cookie=`searchedGamesWds_${u}=`+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:B},window.location.href),A();break;case"CategoryVendors":B=n.data.categoryid,A();break;case"GameHoveredPc":case"GameHoveredMobile":k=!0;break;case"GameBlurPc":k=(L&&v.focus(),!1);break;case"GameBlurMobile":L?it():k=!1;break;case"ModalClosed":L&&(L=!1,k=!1);break;case"SubgroupsIds":_.some(e=>n.data.subGroupsIds.includes(e))||_.push(...n.data.subGroupsIds)}var e,o,s,l};let R=(e,t,n)=>{"true"==z&&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),et(r.items)),r)).then(e=>(S&&tt(),e)).catch(e=>{console.error(e)})},Qe=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,S&&tt(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const et=(e=[])=>(G=[],0<e.length&&e.forEach(e=>{G.push(e.id)}),G);const tt=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},nt=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},rt=()=>{if(L=!0,d&&a&&o&&(c(60,je=!0),I.length<2)){let e=nt("searchedGamesWds_"+u),t=[],n=(e&&(t=e.split(",")),1!=F||He||(c(59,Oe=F),c(61,F=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(d+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",a),e.searchParams.append("platform",ft(h)),n.push(((e,r)=>new Promise((t,n)=>{c(50,$=!0),r&&0<=Object.keys(ze).indexOf(r)?(c(50,$=!1),t(ze[r])):fetch(e).then(e=>e.json()).then(e=>{c(50,$=!1),ze[e[0].id]=e[0],t(e[0])}).catch(e=>{c(51,x=!0),c(50,$=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(65,f=e),ot(0,f)})}else ot(0,{})}"function"==typeof gtag&>ag("event","SearchInitialized",{context:"CasinoPage"})},it=()=>{c(60,je=!1),I.length<2&&!k&&(c(58,Ne=!1),c(65,f=[]),c(57,De=!1),c(61,F=Oe),c(59,Oe=!1),!1===F&&window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href),L=!1,window.postMessage({type:"OutOfRecentSearches"},window.location.href))},A=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&B&&(e[B]?c(70,Ze=e[B].length):c(70,Ze=0))},at=()=>{c(91,T=!0),c(47,I=""),c(65,f=[]),c(57,De=!1),it()},ot=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},st=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},lt=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},ct=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},dt=()=>{Le&&(Ge=Le.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>Ge||130<Ge?c(64,Ue=!0):c(64,Ue=!1)},ut=e=>{Ae=0,Ie=setInterval(()=>{Ae+=1,c(55,Re=!0),3<=Ae&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(Ie))},1e3)},ht=e=>{Ae<3&&c(55,Re=!1),clearInterval(Ie)};return bt(()=>(window.addEventListener("scroll",dt,!1),window.addEventListener("message",qe,!1),()=>{window.removeEventListener("scroll",dt),window.removeEventListener("message",qe),c(55,Re=!1),null!=g&&g.removeEventListener("mousedown",ut),null!=g&&g.removeEventListener("touchstart",ut),null!=g&&g.removeEventListener("mouseup",ht),null!=g&&g.removeEventListener("touchend",ht)})),n.$$set=e=>{"endpoint"in e&&c(0,d=e.endpoint),"datasource"in e&&c(1,a=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,l=e.userid),"clientstyling"in e&&c(6,H=e.clientstyling),"clientstylingurl"in e&&c(7,N=e.clientstylingurl),"translationurl"in e&&c(82,O=e.translationurl),"categorybackground"in e&&c(8,j=e.categorybackground),"visiblegames"in e&&c(9,U=e.visiblegames),"alternativesearch"in e&&c(10,W=e.alternativesearch),"favorites"in e&&c(11,z=e.favorites),"mostplayed"in e&&c(83,Y=e.mostplayed),"lastplayed"in e&&c(84,V=e.lastplayed),"containermaxwidth"in e&&c(12,Z=e.containermaxwidth),"lobbyid"in e&&c(85,u=e.lobbyid),"haspanicbutton"in e&&c(13,J=e.haspanicbutton),"mostplayedrounds"in e&&c(86,K=e.mostplayedrounds),"lastplayedperiod"in e&&c(87,X=e.lastplayedperiod),"filteredcategories"in e&&c(88,q=e.filteredcategories),"activecategory"in e&&c(89,Q=e.activecategory),"livecasino"in e&&c(14,ee=e.livecasino),"playrandomgame"in e&&c(15,te=e.playrandomgame),"filteredrandomgamecategories"in e&&c(16,ne=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&c(17,re=e.gamepagemodalurl),"positionwinnerswidget"in e&&c(18,ie=e.positionwinnerswidget),"tabsorder"in e&&c(19,ae=e.tabsorder),"enableautoscroll"in e&&c(20,oe=e.enableautoscroll),"istopavailable"in e&&c(21,se=e.istopavailable),"isrecentavailable"in e&&c(22,le=e.isrecentavailable),"integratedgameframedesktop"in e&&c(23,ce=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(24,de=e.integratedgameframemobile),"periodrecent"in e&&c(25,ue=e.periodrecent),"periodtop"in e&&c(26,he=e.periodtop),"numberusersrecent"in e&&c(27,pe=e.numberusersrecent),"numberuserstop"in e&&c(28,me=e.numberuserstop),"amountlimit"in e&&c(29,ge=e.amountlimit),"defaultcurrency"in e&&c(30,fe=e.defaultcurrency),"positionjackpotbanners"in e&&c(31,ye=e.positionjackpotbanners),"caticon0"in e&&c(32,be=e.caticon0),"caticon1"in e&&c(33,ve=e.caticon1),"caticon2"in e&&c(34,we=e.caticon2),"caticon3"in e&&c(35,$e=e.caticon3),"backgroundsrc"in e&&c(36,xe=e.backgroundsrc),"backgroundsrcmobile"in e&&c(37,Ce=e.backgroundsrcmobile),"titlelogopath"in e&&c(38,Se=e.titlelogopath),"iconlabels"in e&&c(39,ke=e.iconlabels),"visualstructure"in e&&c(40,Fe=e.visualstructure),"positioncollections"in e&&c(41,Me=e.positioncollections),"type"in e&&c(42,Ee=e.type),"titletype"in e&&c(43,Te=e.titletype),"randombuttonicon"in e&&c(44,_e=e.randombuttonicon)},n.$$.update=()=>{if(65536&n.$$.dirty[1]&&I&&(2<=I.length?c(91,T=!0):c(91,T=!1)),11&n.$$.dirty[0]|65536&n.$$.dirty[1]|805306368&n.$$.dirty[2])if(2<=I.length){c(58,Ne=!0);let e=new URL(d+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",ft(h)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+I),r=e,new Promise((t,n)=>{c(50,$=!0),fetch(r).then(e=>e.json()).then(e=>{c(50,$=!1),t(e)}).catch(e=>{c(51,x=!0),c(50,$=!1),console.error(e),n(e)})}).then(e=>{c(65,f=e),ct(0,e)})}else T||rt(),He&&c(90,He=!1);var r,i,t;if(8&n.$$.dirty[0]|134217728&n.$$.dirty[2]&&o&&Q){c(46,y=Q);var e={data:{itemId:y}};switch(c(58,Ne=!1),c(47,I=""),Ye=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(61,F=!0),c(56,S=!1),c(46,y=""),c(62,M=!1),c(63,E=!1);break;case"FAVORITES":c(61,F=!1),c(56,S=!0),c(62,M=!1),c(63,E=!1),c(46,y="");break;case"MOSTPLAYED":"true"==Y&&(c(46,y=""),c(61,F=!1),c(56,S=!1),c(62,M=!0));break;case"LASTPLAYED":"true"==V&&(c(46,y=""),c(61,F=!1),c(63,E=!0),c(56,S=!1),c(62,M=!1));break;default:c(61,F=!1),c(56,S=!1),c(62,M=!1),c(63,E=!1),c(46,y=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href)},500)}}if((49&n.$$.dirty[0]&&s&&l&&d&&(c(52,Be=!0),c(54,m=s),c(53,p=l),p&&p.length&&m&&0<m.length&&R(d,m,p)),32768&n.$$.dirty[1]|1073741824&n.$$.dirty[2]&&y&&_&&_&&!_.includes(decodeURI(y))&&""!=y&&window.postMessage({type:"NonExistentCategory"},window.location.href),1035&n.$$.dirty[0]&&d&&a&&o&&W)&&(d||(C="Endpoint is missing! Please provide a valid endpointURL.",c(51,x=!0),c(50,$=!1),console.error(C)),a||(C="Datasource is missing! Please provide a valid datasource.",c(51,x=!0),c(50,$=!1),console.error(C)),(!o||o.length<2)&&(C="Language is missing! Please provide a valid language (alpha2code)",c(51,x=!0),c(50,$=!1),console.error(C)),!x)){c(50,$=!0),"true"==z&&R(d,m,p),t=o,mt.set(t);let e=new URL(d+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",ft(h)),i=e,new Promise((t,n)=>{c(50,$=!0),fetch(i).then(e=>e.json()).then(e=>{c(50,$=!1),t(e)}).catch(e=>{c(51,x=!0),c(50,$=!1),console.error(e),n(e)})}).then(e=>{let r=q.split(",");e&&(Pe=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,q))for(var n of r)e.flags==n&&(t=!1);return t}),c(66,We=Pe.map(e=>e.id)),c(92,_=e.items.map(e=>e.id.toString())),c(50,$=!1))}),"PC"!==ft(h)&&(v.addEventListener("focusin",e=>{c(69,Ve=!0)}),v.addEventListener("focusout",e=>{c(69,Ve=!1)})),A(),(Le=b)&&(Ge=Le.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&n.$$.dirty[0]&&o&&(Je&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:y},window.location.href)},500),Je=!1),1048576&n.$$.dirty[2]&&O&&fetch(O).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{xi(e,t[e])})}).catch(e=>{console.log(e)}),64&n.$$.dirty[0]|131072&n.$$.dirty[1]&&H&&w){let e=document.createElement("style");e.innerHTML=H,w.appendChild(e)}if(128&n.$$.dirty[0]|131072&n.$$.dirty[1]&&N&&w){let t=document.createElement("style");fetch(new URL(N)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{w.appendChild(t)},1)})}16384&n.$$.dirty[1]&&g&&(null!=g&&g.addEventListener("mousedown",ut,!1),null!=g&&g.addEventListener("touchstart",ut,!1),null!=g&&g.addEventListener("mouseup",ht,!1),null!=g&&g.addEventListener("touchend",ht,!1))},[d,a,D,o,s,l,H,N,j,U,W,z,Z,J,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,fe,ye,be,ve,we,$e,xe,Ce,Se,ke,Fe,Me,Ee,Te,_e,g,y,I,w,i,$,x,Be,p,m,Re,S,De,Ne,Oe,je,F,M,E,Ue,f,We,b,v,Ve,Ze,t,h,R,rt,it,()=>{window.postMessage({type:"scroll"},window.location.href)},at,st,lt,(e,t)=>{B=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:U,receivedFavoriteResults:r},window.location.href)},ct,O,Y,V,u,K,X,q,Q,He,T,_,function(e){pt[e?"unshift":"push"](()=>{v=e,c(68,v)})},function(){I=this.value,c(47,I)},()=>at(),()=>lt(),()=>{st()},function(e){pt[e?"unshift":"push"](()=>{b=e,c(67,b)})},function(e){pt[e?"unshift":"push"](()=>{v=e,c(68,v)})},function(){I=this.value,c(47,I)},()=>at(),()=>lt(),()=>{st()},function(e){pt[e?"unshift":"push"](()=>{b=e,c(67,b)})},function(e){pt[e?"unshift":"push"](()=>{g=e,c(45,g)})},function(e){pt[e?"unshift":"push"](()=>{w=e,c(48,w)})}]}function Ps(e,{delay:t=0,duration:n=400,easing:r=$}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function Bs(n){let r,i,a,o,s,l,c,d,t,u,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("div")).innerHTML="<slot></slot>",o=ge(),s=pe("span"),(l=pe("slot")).innerHTML='<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>',fe(a,"class","ModalContainer"),fe(a,"part","ModalContainer"),fe(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"part","ModalCloseBtn"),fe(s,"role","button"),fe(i,"class","ModalWindow"),fe(i,"part","ModalWindow"),fe(i,"id","Modal"),q(()=>n[17].call(i)),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(s,l),n[16](i),d=m(i,n[17].bind(i)),n[18](r),u=!0,h||(p=V(s,"click",n[8]),h=!0)},p(e,t){n=e,(!u||10&t&&c!==(c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")))&&fe(s,"class",c)},i(e){u||(q(()=>{(t=t||ve(i,Ps,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||ve(i,Ps,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&he(r),n[16](null),d(),e&&t&&t.end(),n[18](null),h=!1,p()}}}function Rs(e){let n,r,i=e[7]&&Bs(e);return{c(){i&&i.c(),n=c(),this.c=z},m(e,t){i&&i.m(e,t),ue(e,n,t),r=!0},p(e,[t]){e[7]?i?(i.p(e,t),128&t&&se(i,1)):((i=Bs(e)).c(),se(i,1),i.m(n.parentNode,n)):i&&(ae(),le(i,1,1,()=>{i=null}),oe())},i(e){r||(se(i),r=!0)},o(e){le(i),r=!1},d(e){i&&i.d(e),e&&he(n)}}}function As(e,t,n){let r,i,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:h=""}=t,{haspanicbutton:p="false"}=t,{gamepagemodalurl:m="false"}=t,{sessioncheck:g="true"}=t,f=window.navigator.userAgent,y=!1,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(7,v=!1),"ShowGameModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,v=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained)},$=e=>{var t;b&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return bt(()=>(n(3,y=gt(f)),window.addEventListener("message",w,!1),window.addEventListener("resize",$,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,m=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&h&&"true"==g&&Qr(h,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2052&e.$$.dirty&&d&&i){let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)}if(4100&e.$$.dirty&&u&&i){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[s,p,i,y,r,void 0,void 0,v,()=>{n(7,v=!1),n(3,y=gt(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:m,mobileView:y},window.location.href)},l,c,d,u,h,m,g,function(e){pt[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){pt[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function Ds(e,t){Ir(e,t)}customElements.get("casino-page")||customElements.define("casino-page",class extends i{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>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Gs,_s,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:82,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,filteredrandomgamecategories:16,gamepagemodalurl:17,positionwinnerswidget:18,tabsorder:19,enableautoscroll:20,istopavailable:21,isrecentavailable:22,integratedgameframedesktop:23,integratedgameframemobile:24,periodrecent:25,periodtop:26,numberusersrecent:27,numberuserstop:28,amountlimit:29,defaultcurrency:30,positionjackpotbanners:31,caticon0:32,caticon1:33,caticon2:34,caticon3:35,backgroundsrc:36,backgroundsrcmobile:37,titlelogopath:38,iconlabels:39,visualstructure:40,positioncollections:41,type:42,titletype:43,randombuttonicon:44},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","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 translationurl(){return this.$$.ctx[82]}set translationurl(e){this.$$set({translationurl: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 filteredrandomgamecategories(){return this.$$.ctx[16]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}get gamepagemodalurl(){return this.$$.ctx[17]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[18]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[19]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[20]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[21]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[22]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[23]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[24]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[25]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[26]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[27]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[28]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[29]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[30]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[31]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[32]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[33]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[34]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[35]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[36]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[37]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[38]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[39]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[40]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get positioncollections(){return this.$$.ctx[41]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[42]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[43]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[44]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends i{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}.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 .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},As,Rs,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const Hs={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter ..."}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function Ns(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var Os=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},js=function(e,...t){try{return Ns(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function Us(n){let r,i,a=n[11]&&Ys(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),P(r,"background",n[20]?"":`url(${n[10].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){ue(e,r,t),de(r,i),a&&a.m(i,null),n[82](r)},p(e,t){e[11]?a?a.p(e,t):((a=Ys(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),1049600&t[0]&&P(r,"background",e[20]?"":`url(${e[10].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[82](null)}}}function Ws(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function zs(e){let n,r,i=e[24]("gamePage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16777216&t[0]&&i!==(i=e[24]("gamePage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Ys(e){let n;function r(e){return e[20]?Ks:e[6]?Js:e[12]?Zs:Vs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Vs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$=n[10].name+"",x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me($),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(x),p=ge(),m=pe("button"),g=me(C),f=ge(),y=pe("p"),b=me(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[V(u,"click",n[80]),V(m,"click",n[81])],v=!0)},p(e,t){1024&t[0]&&$!==($=e[10].name+"")&&ye(a,$),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(h,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&he(r),v=!1,Y(w)}}}function Zs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";function S(e){return e[17]?qs:Xs}let k=S(n),F=k(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),d=pe("button"),u=me(x),h=ge(),p=pe("button"),m=me(C),g=ge(),f=pe("p"),y=pe("span"),b=me(n[4]),v=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[10].launchUrl)||fe(a,"src",o),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[23]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[71](a),de(i,s),de(i,l),de(l,c),de(c,d),de(d,u),de(c,h),de(c,p),de(p,m),de(l,g),de(l,f),de(f,y),de(y,b),n[74](f),de(l,v),F.m(l,null),n[77](l),n[78](i),n[79](r),w||($=[V(d,"click",n[72]),V(p,"click",n[73])],w=!0)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10].launchUrl)&&fe(a,"src",o),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(u,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(m,C),16&t[0]&&ye(b,e[4]),k===(k=S(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(l,null))),8388608&t[0]&&fe(i,"style",e[23]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[71](null),n[74](null),F.d(),n[77](null),n[78](null),n[79](null),w=!1,Y($)}}}function Js(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$=n[24]("gamePage.deposit")+"",x="true"===n[1]&&Qs(n);function C(e){return e[17]?tl:el}let S=C(n),k=S(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),d=me($),u=ge(),h=pe("p"),p=pe("span"),m=me(n[4]),g=ge(),x&&x.c(),f=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[10].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[23]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[62](a),de(i,s),de(i,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p),de(p,m),n[64](h),de(l,g),x&&x.m(l,null),de(l,f),k.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=V(c,"click",n[63]),v=!0)},p(e,t){1024&t[0]&&!ce(a.src,o=e[10].launchUrl)&&fe(a,"src",o),16777216&t[0]&&$!==($=e[24]("gamePage.deposit")+"")&&ye(d,$),16&t[0]&&ye(m,e[4]),"true"===e[1]?x?x.p(e,t):((x=Qs(e)).c(),x.m(l,f)):x&&(x.d(1),x=null),S===(S=C(e))&&k?k.p(e,t):(k.d(1),(k=S(e))&&(k.c(),k.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),8388608&t[0]&&fe(i,"style",e[23]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[62](null),n[64](null),x&&x.d(),k.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function Ks(e){let n;function r(e){return e[6]?il:e[13]?rl:nl}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Xs(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[76]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function qs(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[75]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Qs(n){let r,i,a,o=n[24]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),B(i,"PanicButtonAnimation",n[9]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[65](i)},p(e,t){16777216&t[0]&&o!==(o=e[24]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(i,"PanicButtonAnimation",e[9])},d(e){e&&he(r),n[65](null)}}}function el(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[67]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function tl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[66]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function nl(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$=n[10].name+"",x=n[24]("gamePage.signIn")+"",C=n[24]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me($),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(x),p=ge(),m=pe("button"),g=me(C),f=ge(),y=pe("p"),b=me(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[V(u,"click",n[60]),V(m,"click",n[61])],v=!0)},p(e,t){1024&t[0]&&$!==($=e[10].name+"")&&ye(a,$),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&x!==(x=e[24]("gamePage.signIn")+"")&&ye(h,x),16777216&t[0]&&C!==(C=e[24]("gamePage.register")+"")&&ye(g,C),16&t[0]&&ye(b,e[4])},d(e){e&&he(r),v=!1,Y(w)}}}function rl(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S=n[10].name+"",k=n[24]("gamePage.signIn")+"",F=n[24]("gamePage.register")+"",M=n[24]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(S),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(k),p=ge(),m=pe("button"),g=me(F),f=ge(),y=pe("button"),b=me(M),v=ge(),w=pe("p"),$=me(n[4]),ce(s.src,l=n[10].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(d,f),de(d,y),de(y,b),de(r,v),de(r,w),de(w,$),x||(C=[V(u,"click",n[57]),V(m,"click",n[58]),V(y,"click",n[59])],x=!0)},p(e,t){1024&t[0]&&S!==(S=e[10].name+"")&&ye(a,S),1024&t[0]&&!ce(s.src,l=e[10].thumbnail)&&fe(s,"src",l),16777216&t[0]&&k!==(k=e[24]("gamePage.signIn")+"")&&ye(h,k),16777216&t[0]&&F!==(F=e[24]("gamePage.register")+"")&&ye(g,F),16777216&t[0]&&M!==(M=e[24]("gamePage.playForFun")+"")&&ye(b,M),16&t[0]&&ye($,e[4])},d(e){e&&he(r),x=!1,Y(C)}}}function il(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C=n[10].name+"",S=n[24]("gamePage.deposit")+"",k=n[24]("gamePage.playNow")+"",F="true"==n[0]&&al(n),M="true"===n[1]&&ll(n);return{c(){F&&F.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me(C),s=ge(),l=pe("img"),d=ge(),u=pe("div"),h=pe("button"),p=me(S),m=ge(),g=pe("button"),f=me(k),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=me(n[4]),ce(l.src,c=n[10].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){F&&F.m(e,t),ue(e,r,t),ue(e,i,t),de(i,a),de(a,o),de(i,s),de(i,l),de(i,d),de(i,u),de(u,h),de(h,p),de(u,m),de(u,g),de(g,f),de(i,y),M&&M.m(i,null),de(i,b),de(i,v),de(v,w),$||(x=[V(h,"click",n[54]),V(g,"click",n[55])],$=!0)},p(e,t){"true"==e[0]?F?F.p(e,t):((F=al(e)).c(),F.m(r.parentNode,r)):F&&(F.d(1),F=null),1024&t[0]&&C!==(C=e[10].name+"")&&ye(o,C),1024&t[0]&&!ce(l.src,c=e[10].thumbnail)&&fe(l,"src",c),16777216&t[0]&&S!==(S=e[24]("gamePage.deposit")+"")&&ye(p,S),16777216&t[0]&&k!==(k=e[24]("gamePage.playNow")+"")&&ye(f,k),"true"===e[1]?M?M.p(e,t):((M=ll(e)).c(),M.m(i,b)):M&&(M.d(1),M=null),16&t[0]&&ye(w,e[4])},d(e){F&&F.d(e),e&&he(r),e&&he(i),M&&M.d(),$=!1,Y(x)}}}function al(e){let n;function r(e){return e[10].isFavored?sl:ol}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function ol(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=F("svg"),P(a=F("path"),"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(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=V(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function sl(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=F("svg"),P(a=F("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=V(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function ll(n){let r,i,a,e,t,o,s,l=n[24]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==ft(n[25])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==ft(n[25])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[9]),fe(r,"class",o="PanicSection "+("PC"!==ft(n[25])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==ft(n[25])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[56](i)},p(e,t){16777216&t[0]&&l!==(l=e[24]("gamePage.breakButton")+"")&&ye(a,l),512&t[0]&&B(i,"PanicButtonAnimation",e[9])},d(e){e&&he(r),n[56](null)}}}function cl(n){let r;function i(e){return e[8]?zs:e[7]?Ws:Us}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[83](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[83](null)}}}function dl(t,e,i){let R;yt(t,Xr,e=>i(24,R=e));let A,n,r,a,D,o,s,l,c,H,N,d,u,O,j,h,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{favorites:W=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:S=""}=e,{loginevent:k=""}=e,{registerevent:F=""}=e,{depositevent:z=""}=e,{clockformat:Y=""}=e,{haspanicbutton:V="false"}=e,{playforfun:M="true"}=e,{checksession:Z="true"}=e,{integratedgameframedesktop:J="false"}=e,{integratedgameframemobile:K="false"}=e,{gameid:X=""}=e,E=!1,q=!1,T=!0,Q=!1,ee=0,_=!1,te=!1,ne=!1,re=!0,I=!1,L=window.navigator.userAgent,ie=!1,ae=[],oe=!1,se="false",le;var ce,de;({withLocale:ce,translations:de}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(de),mt.set(ce))}),Object.keys(Hs).forEach(e=>{Ds(e,Hs[e])});const ue=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),r&&0<r.length&&(i(6,E=!0),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},he=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),re=t||!1,fetch(n.href).then(e=>e.json()).then(e=>{i(10,o=ue(e[0])),i(8,T=!1),o.launchUrl&&(i(11,_=!0),i(12,te="true"==M&&o.hasFunMode),i(13,ne="true"==M&&o.hasAnonymousFunMode),i(10,o.isFavored=fe(o.id),o))},e=>{console.error("There was an error",e),i(7,q=!0)}).then(()=>{s&&(re||(i(18,H=o.width),i(19,N=o.height),O=o.width+"px",j=o.height+"px",d=o.width,u=o.height),ve())}).finally(()=>{i(8,T=!1)}),window.postMessage({type:"RequestModalSize"},window.location.href)},pe=()=>{null!=a&&a.addEventListener("mousedown",Fe,!1),null!=a&&a.addEventListener("touchstart",Fe,!1),null!=a&&a.addEventListener("mouseup",Me,!1),null!=a&&a.addEventListener("touchend",Me,!1)},me=()=>{i(9,Q=!1),null!=a&&a.removeEventListener("mousedown",Fe),null!=a&&a.removeEventListener("touchstart",Fe),null!=a&&a.removeEventListener("mouseup",Me),null!=a&&a.removeEventListener("touchend",Me)},ge=e=>{switch(e.data.type){case"GameLaunchID":he(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(51,se="true");break;case"LaunchGameFrame":be(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),i(51,se="false"),me(),gt(L)?setTimeout(()=>{i(11,_="true"===K)},500):setTimeout(()=>{i(11,_="true"===J)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(6,E=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(10,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":i(18,H=e.data.modalContainerSize.modalWidth),i(19,N=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ae=e.data.receivedFavoriteResults.items)}},fe=t=>-1!==ae.findIndex(e=>e.id==t),ye=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(10,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(10,o.isFavored=!0,o))},be=(e,n)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t;i(10,o=ue(e[0])),i(8,T=!1),o.launchUrl&&i(10,o.isFavored=(e=o,t=n,i(13,ne="true"==M&&e.hasAnonymousFunMode),i(12,te="true"==M&&t),i(11,_=!0),fe(e.id)),o)}).finally(()=>{i(8,T=!1)})},ve=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width),u=parseInt(o.height),d=t*n,O=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",Ee()},we=e=>{if(!oe)return gt(L)?$e(K):$e(J);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};js("OPEN_GAME",e)},$e=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},xe=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:_},window.location.href),_&&(s&&ve(),window.addEventListener("ModalSize",ge,!1))},G=()=>{k&&(window.postMessage({type:k,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},P=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"GeneralPlayerRegisterForm"})},Ce=()=>{z&&(window.postMessage({type:z},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"GamePage"})),S&&(window.location=S)};function Se(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!I||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Se,!1),document.addEventListener("mozfullscreenchange",Se,!1),document.addEventListener("fullscreenchange",Se,!1),document.addEventListener("MSFullscreenChange",Se,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(I?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,I=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,I=!0)))},ke=(setInterval(()=>{i(4,A=Y?Ei().format(Y):Ei().format("LTS"))},100),()=>{"true"==Z?Qr(f,b).then(e=>{r=e.Guid,e.UserID,i(6,E=!0)},e=>{i(6,E=!1),console.error("err on session",e)}):(r=b,i(6,E=!0))}),Fe=e=>{ee=0,D=setInterval(()=>{ee+=1,i(9,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(D))},1e3)},Me=e=>{ee<3&&i(9,Q=!1),clearInterval(D)},Ee=()=>{var e=I?"100%":O,t=I?"100%":j,n=I||!re?"none":o.width?Math.floor(o.width)+"px":"1280px",r=I||!re?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(23,le=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),I||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(s).height);g=g||r*Math.max(n,.5),i(14,s.style.height=g+"px",s),i(15,l.style.height=g+"px",l),e&&i(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return bt(()=>(window.addEventListener("resize",xe,!1),window.addEventListener("message",ge,!1),oe=!!Os(L),()=>{me(),window.removeEventListener("resize",xe),window.removeEventListener("message",ge)})),t.$$set=e=>{"endpoint"in e&&i(32,f=e.endpoint),"lang"in e&&i(33,y=e.lang),"session"in e&&i(34,b=e.session),"userid"in e&&i(35,U=e.userid),"clientstyling"in e&&i(36,v=e.clientstyling),"clientstylingurl"in e&&i(37,w=e.clientstylingurl),"translationurl"in e&&i(38,$=e.translationurl),"favorites"in e&&i(0,W=e.favorites),"loginurl"in e&&i(39,x=e.loginurl),"registerurl"in e&&i(40,C=e.registerurl),"depositurl"in e&&i(41,S=e.depositurl),"loginevent"in e&&i(42,k=e.loginevent),"registerevent"in e&&i(43,F=e.registerevent),"depositevent"in e&&i(44,z=e.depositevent),"clockformat"in e&&i(45,Y=e.clockformat),"haspanicbutton"in e&&i(1,V=e.haspanicbutton),"playforfun"in e&&i(46,M=e.playforfun),"checksession"in e&&i(47,Z=e.checksession),"integratedgameframedesktop"in e&&i(48,J=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(49,K=e.integratedgameframemobile),"gameid"in e&&i(50,X=e.gameid)},t.$$.update=()=>{if(4&t.$$.dirty[1]&&y&&(e=y,mt.set(e),i(20,ie=gt(L))),524294&t.$$.dirty[1]&&f&&X&&y&&he(X,!0),26&t.$$.dirty[1]&&b&&U&&f&&ke(),65546&t.$$.dirty[1]&&"false"==Z&&b&&f&&ke(),128&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ds(e,t[e])})}).catch(e=>{console.log(e)}),8&t.$$.dirty[0]|32&t.$$.dirty[1]&&v&&h){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(8&t.$$.dirty[0]|64&t.$$.dirty[1]&&w&&h){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==se&&a&&pe(),4&t.$$.dirty[0]&&a&&pe()},[W,V,a,h,A,n,E,q,T,Q,o,_,te,ne,s,l,c,I,H,N,ie,p,m,"",R,L,ye,we,G,P,Ce,B,f,y,b,U,v,w,$,x,C,S,k,F,z,Y,M,Z,J,K,X,se,()=>ye(o.id),()=>ye(o.id),()=>Ce(),()=>{we(o)},function(e){pt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>G(),()=>P(),()=>{we(o)},()=>G(),()=>P(),function(e){pt[e?"unshift":"push"](()=>{n=e,i(5,n)})},()=>Ce(),function(e){pt[e?"unshift":"push"](()=>{m=e,i(22,m)})},function(e){pt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){pt[e?"unshift":"push"](()=>{p=e,i(21,p)})},function(e){pt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){pt[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){pt[e?"unshift":"push"](()=>{n=e,i(5,n)})},()=>G(),()=>P(),function(e){pt[e?"unshift":"push"](()=>{m=e,i(22,m)})},()=>B(),()=>B(),function(e){pt[e?"unshift":"push"](()=>{p=e,i(21,p)})},function(e){pt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){pt[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>G(),()=>P(),function(e){pt[e?"unshift":"push"](()=>{c=e,i(16,c)})},function(e){pt[e?"unshift":"push"](()=>{h=e,i(3,h)})}]}function ul(n){let r,i,a,o,s,l,c,d,t,u,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("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(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),q(()=>n[13].call(r))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),d=m(r,n[13].bind(r)),u=!0,h||(p=V(a,"click",n[6]),h=!0)},p(e,t){n=e,(!u||8&t&&l!==(l="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!u||8&t&&c!==(c="FilterModalContainer "+(n[3]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){u||(q(()=>{(t=t||ve(r,Ps,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||ve(r,Ps,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&he(r),d(),e&&t&&t.end(),h=!1,p()}}}function hl(n){let r,i,a=n[0]&&ul(n);return{c(){r=pe("div"),a&&a.c(),this.c=z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),a&&a.m(r,null),n[14](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=ul(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[14](null)}}}function pl(e,t,n){let r,i,a,{show:o=!1}=t,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:h=""}=t,{sessioncheck:p="true"}=t,m=window.navigator.userAgent,g=!1;const f=()=>{n(0,o=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},y=e=>{"ShowFilterModal"===e.data.type&&(n(0,o=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(f(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))};return bt(()=>(window.addEventListener("message",y,!1),gt(m)&&n(3,g=!0),()=>{window.removeEventListener("message",y)})),e.$$set=e=>{"show"in e&&n(0,o=e.show),"duration"in e&&n(1,s=e.duration),"session"in e&&n(7,l=e.session),"userid"in e&&n(8,c=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,u=e.clientstylingurl),"endpoint"in e&&n(11,h=e.endpoint),"sessioncheck"in e&&n(12,p=e.sessioncheck)},e.$$.update=()=>{if(2432&e.$$.dirty&&l&&c&&h&&"true"==p&&Qr(h,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),516&e.$$.dirty&&d&&r){let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)}if(1028&e.$$.dirty&&u&&r){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})}},[o,s,r,g,void 0,void 0,f,l,c,d,u,h,p,function(){i=this.clientWidth,a=this.clientHeight,n(4,i),n(5,a)},function(e){pt[e?"unshift":"push"](()=>{r=e,n(2,r)})}]}function ml(e,t){Ir(e,t)}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends i{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'}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},dl,cl,t,{endpoint:32,lang:33,session:34,userid:35,clientstyling:36,clientstylingurl:37,translationurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[34]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[35]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends i{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}.FilterModalWindow{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)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;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}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pl,hl,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11,sessioncheck:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[12]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const gl={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function fl(e,t,n){const r=e.slice();return r[34]=t[n],r}function yl(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S=n[6]("filters.filterModalTitle")+"",k=n[6]("filters.filterModalSubtitle")+"",F=n[6]("filters.filterApply")+"",M=n[1]&&vl(n),E=n[4]&&xl(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me(S),l=ge(),c=pe("h5"),d=me(k),u=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),E&&E.c(),g=ge(),f=pe("div"),y=me(F),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[3]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[2]?"FilterModalMobileContent":"")),fe(r,"part",$="FilterModalContent "+(n[2]?"FilterModalMobileContent":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(r,u),de(r,h),M&&M.m(h,null),de(r,p),de(r,m),E&&E.m(m,null),de(m,g),de(m,f),de(f,y),x||(C=V(f,"click",n[20]),x=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ye(s,S),64&t[0]&&k!==(k=e[6]("filters.filterModalSubtitle")+"")&&ye(d,k),e[1]?M?M.p(e,t):((M=vl(e)).c(),M.m(h,null)):M&&(M.d(1),M=null),e[4]?E?E.p(e,t):((E=xl(e)).c(),E.m(m,g)):E&&(E.d(1),E=null),64&t[0]&&F!==(F=e[6]("filters.filterApply")+"")&&ye(y,F),8&t[0]&&b!==(b="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),8&t[0]&&v!==(v="ApplyFiltersButton "+(e[3]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),4&t[0]&&w!==(w="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(r,"class",w),4&t[0]&&$!==($="FilterModalContent "+(e[2]?"FilterModalMobileContent":""))&&fe(r,"part",$)},d(e){e&&he(r),M&&M.d(),E&&E.d(),x=!1,C()}}}function bl(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function vl(t){let i,a=t[1],o=[];for(let e=0;e<a.length;e+=1)o[e]=$l(fl(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(130&n[0]){let e;for(a=t[1],e=0;e<a.length;e+=1){var r=fl(t,a,e);o[e]?o[e].p(r,n):(o[e]=$l(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function wl(){let n;return{c(){(n=pe("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function $l(n){let r,i,a,o,s,l,c,d,u,h,p=n[34].isFilterSelected&&wl();function m(){return n[18](n[34])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[34].image)||fe(i,"src",a),fe(i,"alt",o=n[34].name),fe(r,"class",c="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",d="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,r,t),de(r,i),de(r,s),p&&p.m(r,null),de(r,l),u||(h=V(r,"click",m),u=!0)},p(e,t){n=e,2&t[0]&&!ce(i.src,a=n[34].image)&&fe(i,"src",a),2&t[0]&&o!==(o=n[34].name)&&fe(i,"alt",o),n[34].isFilterSelected?p||((p=wl()).c(),p.m(r,l)):p&&(p.d(1),p=null),2&t[0]&&c!==(c="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),2&t[0]&&d!==(d="VendorBox "+(n[34].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",d)},d(e){e&&he(r),p&&p.d(),u=!1,h()}}}function xl(e){let n,r=e[4].length&&Cl(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[4].length?r?r.p(e,t):((r=Cl(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Cl(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){ue(e,r,t),de(r,i),a||(o=V(r,"click",n[19]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Sl(n){let r;function i(e){return e[5]?bl:yl}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[21](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[21](null)}}}function kl(e,t,i){let n;yt(e,Xr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{translationurl:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,p=[],m=!1,g=window.navigator.userAgent,f=!1,y="",b=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},$=!1,x=(w[y]&&(w={[y]:[]}),[]);var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(S),mt.set(C))}),Object.keys(gl).forEach(e=>{ml(e,gl[e])});const k=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(y&&((b=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(4,v=b[y])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[y]:v})):((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${y})&datasource=${o}&platform=`+ft(g),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},y&&t[y]&&(e.isFilterSelected=0<=t[y].indexOf(e.id))}),i(1,p=e),window.postMessage({type:"UpdateFilters",vendorsArray:p},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;e&&e.length&&p.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=p.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(4,v=x),i(3,f=!1);break;case"AvailableVendors":i(1,p=t.data.venArray),i(4,v=p.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(1,p=t.data.venArray),p&&i(4,v=p.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":E(),window.postMessage({type:"ApplyFilters"},window.location.href),i(3,f=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),p.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:p},window.location.href);break;case"CategoryVendors":y=t.data.categoryid,b&&y&&i(4,v=b[y]);break;case"ModalLoader":i(5,$=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),i(3,f=!M(v,x))):(v.includes(t.id)&&i(4,v=v.filter(e=>e!==t.id)),i(3,f=!(!v.length&&M(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:p},window.location.href)},M=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},E=()=>{p.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:p},window.location.href),i(3,f=M(v,x)),i(4,v=[]),null!==e&&((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},T=()=>{i(5,$=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[y]:v})):((e=JSON.parse(e))[y]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)},_=()=>{let e=document.createElement("style");e.innerHTML=u,r.appendChild(e)},I=()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})};return bt(()=>(window.addEventListener("message",k,!1),gt(g)&&i(2,m=!0),()=>{window.removeEventListener("message",k)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"translationurl"in e&&i(15,d=e.translationurl),"clientstyling"in e&&i(16,u=e.clientstyling),"clientstylingurl"in e&&i(17,h=e.clientstylingurl)},e.$$.update=()=>{65536&e.$$.dirty[0]&&u&&_(),131072&e.$$.dirty[0]&&h&&I(),32768&e.$$.dirty[0]&&d&&fetch(d).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ml(e,t[e])})}).catch(e=>{console.log(e)}),65537&e.$$.dirty[0]&&u&&r&&_(),131073&e.$$.dirty[0]&&h&&r&&I()},[r,p,m,f,v,$,n,F,E,T,a,o,s,l,c,d,u,h,e=>F(e),()=>E(),()=>T(),function(e){pt[e?"unshift":"push"](()=>{r=e,i(0,r)})}]}function Fl(e,t){Ir(e,t)}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends i{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'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},kl,Sl,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,translationurl:15,clientstyling:16,clientstylingurl:17},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","translationurl","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),f()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const Ml={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function El(e){let n;function r(e){return e[6]?Ll:e[11]?Il:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c(),fe(n,"class","CasinoIntegratedGamePage"),fe(n,"part","CasinoIntegratedGamePage")},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function Tl(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function _l(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:z,d(e){e&&he(n)}}}function Il(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S,k,F,M,E=n[22]("gamePage.signIn")+"",T=n[22]("gamePage.register")+"";function _(e){return e[17]?Pl:Gl}let I=_(n),L=I(n),G="true"==n[1]&&!n[17]&&Bl();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[4]),c=ge(),d=pe("div"),u=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=me(E),$=ge(),x=pe("button"),C=me(T),S=ge(),L.c(),k=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[10].launchUrl)||fe(m,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(x,"class","RegisterButton"),fe(x,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),P(p,"width",n[17]?"100%":n[18]),P(p,"height",n[17]?"100%":n[19]),P(p,"max-width",n[17]||!n[12]?"none":n[10].width?Math.floor(n[10].width)+"px":"1280px"),P(p,"max-height",n[17]||!n[12]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),B(h,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[57](o),de(r,c),de(r,d),ue(e,u,t),ue(e,h,t),de(h,p),de(p,m),n[58](m),de(p,f),de(p,y),de(y,b),de(b,v),de(v,w),de(b,$),de(b,x),de(x,C),de(y,S),L.m(y,null),n[63](y),n[64](p),de(h,k),G&&G.m(h,null),n[65](h),F||(M=[V(i,"click",n[56]),V(v,"click",n[59]),V(x,"click",n[60])],F=!0)},p(e,t){16&t[0]&&ye(l,e[4]),1024&t[0]&&!ce(m.src,g=e[10].launchUrl)&&fe(m,"src",g),4194304&t[0]&&E!==(E=e[22]("gamePage.signIn")+"")&&ye(w,E),4194304&t[0]&&T!==(T=e[22]("gamePage.register")+"")&&ye(C,T),I===(I=_(e))&&L?L.p(e,t):(L.d(1),(L=I(e))&&(L.c(),L.m(y,null))),393216&t[0]&&P(p,"width",e[17]?"100%":e[18]),655360&t[0]&&P(p,"height",e[17]?"100%":e[19]),136192&t[0]&&P(p,"max-width",e[17]||!e[12]?"none":e[10].width?Math.floor(e[10].width)+"px":"1280px"),136192&t[0]&&P(p,"max-height",e[17]||!e[12]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?G&&(G.d(1),G=null):G||((G=Bl()).c(),G.m(h,null)),131072&t[0]&&B(h,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[57](null),e&&he(u),e&&he(h),n[58](null),L.d(),n[63](null),n[64](null),G&&G.d(),n[65](null),F=!1,Y(M)}}}function Ll(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,$,x,C,S,k=n[22]("gamePage.deposit")+"",F="true"===n[0]&&Rl(n);function M(e){return e[17]?Dl:Al}let E=M(n),T=E(n),_="true"==n[1]&&!n[17]&&Hl();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[4]),c=ge(),d=pe("button"),u=me(k),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),v=ge(),w=pe("div"),F&&F.c(),$=ge(),T.c(),x=ge(),_&&_.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(d,"class","DepositButton"),fe(d,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[10].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[14]+"px"),fe(g,"height",b=n[15]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),P(m,"width",n[17]?"100%":n[18]),P(m,"height",n[17]?"100%":n[19]),P(m,"max-width",n[17]?"none":n[10].width?n[10].width+"px":"1280px"),P(m,"max-height",n[17]?"none":n[10].height?Math.floor(n[10].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),B(p,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[47](o),de(r,c),de(r,d),de(d,u),ue(e,h,t),ue(e,p,t),de(p,m),de(m,g),n[49](g),de(m,v),de(m,w),F&&F.m(w,null),de(w,$),T.m(w,null),n[53](w),n[54](m),de(p,x),_&&_.m(p,null),n[55](p),C||(S=[V(i,"click",n[46]),V(d,"click",n[48])],C=!0)},p(e,t){16&t[0]&&ye(l,e[4]),4194304&t[0]&&k!==(k=e[22]("gamePage.deposit")+"")&&ye(u,k),1024&t[0]&&!ce(g.src,f=e[10].launchUrl)&&fe(g,"src",f),16384&t[0]&&y!==(y=e[14]+"px")&&fe(g,"width",y),32768&t[0]&&b!==(b=e[15]+"px")&&fe(g,"height",b),"true"===e[0]?F?F.p(e,t):((F=Rl(e)).c(),F.m(w,$)):F&&(F.d(1),F=null),E===(E=M(e))&&T?T.p(e,t):(T.d(1),(T=E(e))&&(T.c(),T.m(w,null))),393216&t[0]&&P(m,"width",e[17]?"100%":e[18]),655360&t[0]&&P(m,"height",e[17]?"100%":e[19]),132096&t[0]&&P(m,"max-width",e[17]?"none":e[10].width?e[10].width+"px":"1280px"),132096&t[0]&&P(m,"max-height",e[17]?"none":e[10].height?Math.floor(e[10].height)+100+"px":"720px"),"true"!=e[1]||e[17]?_&&(_.d(1),_=null):_||((_=Hl()).c(),_.m(p,null)),131072&t[0]&&B(p,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[47](null),e&&he(h),e&&he(p),n[49](null),F&&F.d(),T.d(),n[53](null),n[54](null),_&&_.d(),n[55](null),C=!1,Y(S)}}}function Gl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[62]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Pl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[61]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Bl(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Rl(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==ft(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==ft(n[23])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[9]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[50](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),512&t[0]&&B(i,"PanicButtonAnimation",e[9])},d(e){e&&he(r),n[50](null)}}}function Al(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[52]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Dl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=V(r,"click",n[51]),i=!0)},p:z,d(e){e&&he(r),i=!1,a()}}}function Hl(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Nl(n){let r;function i(e){return e[8]?_l:e[7]?Tl:El}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=z},m(e,t){ue(e,r,t),o.m(r,null),n[66](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:z,o:z,d(e){e&&he(r),o.d(),n[66](null)}}}function Ol(t,e,r){let R;yt(t,Xr,e=>r(22,R=e));let A,n,i,a,D,o,s,l,c,d,u,h,H,N,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:O=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{translationurl:$=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:S=""}=e,{loginevent:k=""}=e,{registerevent:F=""}=e,{depositevent:M=""}=e,{clockformat:E=""}=e,{haspanicbutton:j="false"}=e,{playforfun:T="true"}=e,{checksession:U="true"}=e,{gamebanneractive:W="false"}=e,{gameid:_=""}=e,I=!1,z=!1,Y=!0,L=!1,G=0,V=!1,Z=!1,J=!0,P=!1,K=window.navigator.userAgent;var X,q;({withLocale:X,translations:q}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(q),mt.set(X))}),Object.keys(Ml).forEach(e=>{Fl(e,Ml[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),r(12,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(10,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(6,I=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,r(11,Z="true"==T&&o.hasFunMode),"true"==T&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(7,z=!0)}).then(()=>{s&&(ee(),J||(r(18,H=o.width),r(19,N=o.height),u=o.width,h=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(d);r(14,l=parseInt(e.width.slice(0,-2))),r(15,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);u=parseInt(t.width),h=parseInt(t.height),l/n>c-m.clientHeight-g.clientHeight?(h=c-m.clientHeight-g.clientHeight,u=c*n):(u=l,h=l/n),r(18,H=u?Math.floor(u)+"px":"1280px"),r(19,N=h?Math.floor(h)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&"PC"==ft(K)&&ee()},ne=()=>{k&&(window.postMessage({type:k,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x),"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},re=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C),"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},ie=()=>{M&&(window.postMessage({type:M},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"})),S&&(window.location=S)};function ae(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!P||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ae,!1),document.addEventListener("mozfullscreenchange",ae,!1),document.addEventListener("fullscreenchange",ae,!1),document.addEventListener("MSFullscreenChange",ae,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(P?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(17,P=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(17,P=!0)))},oe=setInterval(()=>{r(4,A=E?Ei().format(E):Ei().format("LTS"))},100),se=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},le=e=>{G=0,D=setInterval(()=>{G+=1,r(9,L=!0),3<=G&&clearInterval(D)},1e3)},ce=e=>{G<3&&r(9,L=!1),clearInterval(D)};return bt(()=>(window.addEventListener("resize",te,!1),Os(K),()=>{r(9,L=!1),null!=a&&a.removeEventListener("mousedown",le),null!=a&&a.removeEventListener("touchstart",le),null!=a&&a.removeEventListener("mouseup",ce),null!=a&&a.removeEventListener("touchend",ce),window.removeEventListener("resize",te),clearInterval(oe)})),t.$$set=e=>{"endpoint"in e&&r(29,f=e.endpoint),"lang"in e&&r(30,y=e.lang),"session"in e&&r(31,b=e.session),"userid"in e&&r(32,O=e.userid),"clientstyling"in e&&r(33,v=e.clientstyling),"clientstylingurl"in e&&r(34,w=e.clientstylingurl),"translationurl"in e&&r(35,$=e.translationurl),"loginurl"in e&&r(36,x=e.loginurl),"registerurl"in e&&r(37,C=e.registerurl),"depositurl"in e&&r(38,S=e.depositurl),"loginevent"in e&&r(39,k=e.loginevent),"registerevent"in e&&r(40,F=e.registerevent),"depositevent"in e&&r(41,M=e.depositevent),"clockformat"in e&&r(42,E=e.clockformat),"haspanicbutton"in e&&r(0,j=e.haspanicbutton),"playforfun"in e&&r(43,T=e.playforfun),"checksession"in e&&r(44,U=e.checksession),"gamebanneractive"in e&&r(1,W=e.gamebanneractive),"gameid"in e&&r(45,_=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,mt.set(e),gt(K),r(8,Y=!1)),1610612736&t.$$.dirty[0]|16384&t.$$.dirty[1]&&f&&_&&y&&Q(_),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&O&&f&&("true"==U?Qr(f,b).then(e=>{i=e.Guid,e.UserID,r(6,I=!0)},e=>{r(6,I=!1),console.error("err on session",e)}):i=b),8&t.$$.dirty[0]|4&t.$$.dirty[1]&&v&&p){let e=document.createElement("style");e.innerHTML=v,p.appendChild(e)}if(8&t.$$.dirty[0]|8&t.$$.dirty[1]&&w&&p){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",le,!1),null!=a&&a.addEventListener("touchstart",le,!1),null!=a&&a.addEventListener("mouseup",ce,!1),null!=a&&a.addEventListener("touchend",ce,!1)),16&t.$$.dirty[1]&&$&&fetch($).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Fl(e,t[e])})}).catch(e=>{console.log(e)})},[j,W,a,p,A,n,I,z,Y,L,o,Z,J,s,l,c,d,P,H,N,m,g,R,K,ne,re,ie,B,se,f,y,b,O,v,w,$,x,C,S,k,F,M,E,T,U,_,()=>se(),function(e){pt[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>ie(),function(e){pt[e?"unshift":"push"](()=>{n=e,r(5,n)})},function(e){pt[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){pt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){pt[e?"unshift":"push"](()=>{d=e,r(16,d)})},function(e){pt[e?"unshift":"push"](()=>{s=e,r(13,s)})},()=>se(),function(e){pt[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){pt[e?"unshift":"push"](()=>{n=e,r(5,n)})},()=>ne(),()=>re(),()=>B(),()=>B(),function(e){pt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){pt[e?"unshift":"push"](()=>{d=e,r(16,d)})},function(e){pt[e?"unshift":"push"](()=>{s=e,r(13,s)})},function(e){pt[e?"unshift":"push"](()=>{p=e,r(3,p)})}]}function jl(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g="true"==e[22]&&Wl(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),d=pe("casino-page"),u=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),P(i,"height",e[62]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),x(l,"endpoint",e[55]),x(l,"datasource",e[56]),x(l,"lang",e[57]),x(l,"session",e[61]),x(l,"userid",e[2]),x(l,"sessioncheck","false"),x(l,"actionevent",e[19]),x(l,"filteredcategories",e[7]),x(l,"mostplayed",e[11]),x(l,"mostplayedrounds",e[12]),x(l,"lastplayed",e[13]),x(l,"lastplayedperiod",e[14]),x(l,"favorites",e[15]),x(l,"activecategory",e[1]),x(l,"clientstyling",e[3]),x(l,"clientstylingurl",e[4]),x(l,"containermaxwidth",e[17]),x(l,"location","secondaryMenu"),x(l,"showsubgroups",e[48]),x(d,"session",e[61]),x(d,"userid",e[2]),x(d,"endpoint",e[55]),x(d,"datasource",e[56]),x(d,"lang",e[57]),x(d,"visiblegames",e[24]),x(d,"playrandomgame",e[23]),x(d,"activecategory",e[1]),x(d,"alternativesearch",e[16]),x(d,"favorites",e[15]),x(d,"mostplayedrounds",e[12]),x(d,"mostplayed",e[11]),x(d,"lastplayed",e[13]),x(d,"lastplayedperiod",e[14]),x(d,"clientstyling",e[3]),x(d,"clientstylingurl",e[4]),x(d,"lobbyid",e[6]),x(d,"containermaxwidth",e[17]),x(d,"haspanicbutton",e[18]),x(d,"livecasino",e[20]),x(d,"currency",e[0]),x(d,"filteredcategories",e[7]),x(d,"gamepagemodalurl",e[27]),x(d,"randombuttonicon",e[52]),x(d,"filteredrandomgamecategories",e[53]),x(d,"positionwinnerswidget",e[28]),x(d,"periodrecent",e[33]),x(d,"periodtop",e[34]),x(d,"numberusersrecent",e[35]),x(d,"numberuserstop",e[36]),x(d,"amountlimit",e[37]),x(d,"isrecentavailable",e[32]),x(d,"istopavailable",e[31]),x(d,"integratedgameframedesktop",e[25]),x(d,"integratedgameframemobile",e[26]),x(d,"defaultcurrency",e[38]),x(d,"enableautoscroll",e[30]),x(d,"tabsorder",e[29]),x(d,"positionjackpotbanners",e[39]),x(d,"backgroundsrc",e[44]),x(d,"backgroundsrcmobile",e[45]),x(d,"titlelogopath",e[46]),x(d,"caticon0",e[40]),x(d,"caticon1",e[41]),x(d,"caticon2",e[42]),x(d,"caticon3",e[43]),x(d,"iconlabels",e[47]),x(d,"positioncollections",e[49]),x(d,"type",e[50]),x(d,"titletype",e[51]),x(m,"clientstyling",e[3]),x(m,"clientstylingurl",e[4]),x(m,"session",e[61]),x(m,"userid",e[2]),x(m,"endpoint",e[55]),x(m,"datasource",e[56]),x(m,"lang",e[57]),x(p,"clientstylingurl",e[4]),x(p,"clientstyling",e[3]),x(p,"session",e[61]),x(p,"userid",e[2]),x(p,"endpoint",e[55]),x(p,"datasource",e[56]),x(p,"lang",e[57]),x(p,"sessioncheck","false"),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(r,u),g&&g.m(r,null),de(r,h),de(r,p),de(p,m)},p(e,t){1&t[2]&&P(i,"height",e[62]+"px"),16777216&t[1]&&x(l,"endpoint",e[55]),33554432&t[1]&&x(l,"datasource",e[56]),67108864&t[1]&&x(l,"lang",e[57]),1073741824&t[1]&&x(l,"session",e[61]),4&t[0]&&x(l,"userid",e[2]),524288&t[0]&&x(l,"actionevent",e[19]),128&t[0]&&x(l,"filteredcategories",e[7]),2048&t[0]&&x(l,"mostplayed",e[11]),4096&t[0]&&x(l,"mostplayedrounds",e[12]),8192&t[0]&&x(l,"lastplayed",e[13]),16384&t[0]&&x(l,"lastplayedperiod",e[14]),32768&t[0]&&x(l,"favorites",e[15]),2&t[0]&&x(l,"activecategory",e[1]),8&t[0]&&x(l,"clientstyling",e[3]),16&t[0]&&x(l,"clientstylingurl",e[4]),131072&t[0]&&x(l,"containermaxwidth",e[17]),131072&t[1]&&x(l,"showsubgroups",e[48]),1073741824&t[1]&&x(d,"session",e[61]),4&t[0]&&x(d,"userid",e[2]),16777216&t[1]&&x(d,"endpoint",e[55]),33554432&t[1]&&x(d,"datasource",e[56]),67108864&t[1]&&x(d,"lang",e[57]),16777216&t[0]&&x(d,"visiblegames",e[24]),8388608&t[0]&&x(d,"playrandomgame",e[23]),2&t[0]&&x(d,"activecategory",e[1]),65536&t[0]&&x(d,"alternativesearch",e[16]),32768&t[0]&&x(d,"favorites",e[15]),4096&t[0]&&x(d,"mostplayedrounds",e[12]),2048&t[0]&&x(d,"mostplayed",e[11]),8192&t[0]&&x(d,"lastplayed",e[13]),16384&t[0]&&x(d,"lastplayedperiod",e[14]),8&t[0]&&x(d,"clientstyling",e[3]),16&t[0]&&x(d,"clientstylingurl",e[4]),64&t[0]&&x(d,"lobbyid",e[6]),131072&t[0]&&x(d,"containermaxwidth",e[17]),262144&t[0]&&x(d,"haspanicbutton",e[18]),1048576&t[0]&&x(d,"livecasino",e[20]),1&t[0]&&x(d,"currency",e[0]),128&t[0]&&x(d,"filteredcategories",e[7]),134217728&t[0]&&x(d,"gamepagemodalurl",e[27]),2097152&t[1]&&x(d,"randombuttonicon",e[52]),4194304&t[1]&&x(d,"filteredrandomgamecategories",e[53]),268435456&t[0]&&x(d,"positionwinnerswidget",e[28]),4&t[1]&&x(d,"periodrecent",e[33]),8&t[1]&&x(d,"periodtop",e[34]),16&t[1]&&x(d,"numberusersrecent",e[35]),32&t[1]&&x(d,"numberuserstop",e[36]),64&t[1]&&x(d,"amountlimit",e[37]),2&t[1]&&x(d,"isrecentavailable",e[32]),1&t[1]&&x(d,"istopavailable",e[31]),33554432&t[0]&&x(d,"integratedgameframedesktop",e[25]),67108864&t[0]&&x(d,"integratedgameframemobile",e[26]),128&t[1]&&x(d,"defaultcurrency",e[38]),1073741824&t[0]&&x(d,"enableautoscroll",e[30]),536870912&t[0]&&x(d,"tabsorder",e[29]),256&t[1]&&x(d,"positionjackpotbanners",e[39]),8192&t[1]&&x(d,"backgroundsrc",e[44]),16384&t[1]&&x(d,"backgroundsrcmobile",e[45]),32768&t[1]&&x(d,"titlelogopath",e[46]),512&t[1]&&x(d,"caticon0",e[40]),1024&t[1]&&x(d,"caticon1",e[41]),2048&t[1]&&x(d,"caticon2",e[42]),4096&t[1]&&x(d,"caticon3",e[43]),65536&t[1]&&x(d,"iconlabels",e[47]),262144&t[1]&&x(d,"positioncollections",e[49]),524288&t[1]&&x(d,"type",e[50]),1048576&t[1]&&x(d,"titletype",e[51]),"true"==e[22]?g?g.p(e,t):((g=Wl(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),8&t[0]&&x(m,"clientstyling",e[3]),16&t[0]&&x(m,"clientstylingurl",e[4]),1073741824&t[1]&&x(m,"session",e[61]),4&t[0]&&x(m,"userid",e[2]),16777216&t[1]&&x(m,"endpoint",e[55]),33554432&t[1]&&x(m,"datasource",e[56]),67108864&t[1]&&x(m,"lang",e[57]),16&t[0]&&x(p,"clientstylingurl",e[4]),8&t[0]&&x(p,"clientstyling",e[3]),1073741824&t[1]&&x(p,"session",e[61]),4&t[0]&&x(p,"userid",e[2]),16777216&t[1]&&x(p,"endpoint",e[55]),33554432&t[1]&&x(p,"datasource",e[56]),67108864&t[1]&&x(p,"lang",e[57])},d(e){e&&he(n),g&&g.d()}}}function Ul(e){let n,r;return{c(){n=pe("p"),r=me(e[60]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[1]&&ye(r,e[60])},d(e){e&&he(n)}}}function Wl(e){let n,r;return{c(){n=pe("casino-modal"),x(r=pe("casino-game-page"),"session",e[61]),x(r,"userid",e[2]),x(r,"endpoint",e[55]),x(r,"datasource",e[56]),x(r,"lang",e[57]),x(r,"loginevent",e[8]),x(r,"registerevent",e[9]),x(r,"depositevent",e[10]),x(r,"checksession","false"),x(r,"playforfun",e[21]),x(r,"favorites",e[15]),x(r,"clientstyling",e[3]),x(r,"clientstylingurl",e[4]),x(r,"clockformat",e[5]),x(r,"haspanicbutton",e[18]),x(r,"currency",e[0]),x(r,"integratedgameframedesktop",e[25]),x(r,"integratedgameframemobile",e[26]),x(n,"session",e[61]),x(n,"userid",e[2]),x(n,"endpoint",e[55]),x(n,"datasource",e[56]),x(n,"lang",e[57]),x(n,"sessioncheck","false"),x(n,"clientstyling",e[3]),x(n,"clientstylingurl",e[4]),x(n,"gamepagemodalurl",e[27]),x(n,"haspanicbutton",e[18])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1073741824&t[1]&&x(r,"session",e[61]),4&t[0]&&x(r,"userid",e[2]),16777216&t[1]&&x(r,"endpoint",e[55]),33554432&t[1]&&x(r,"datasource",e[56]),67108864&t[1]&&x(r,"lang",e[57]),256&t[0]&&x(r,"loginevent",e[8]),512&t[0]&&x(r,"registerevent",e[9]),1024&t[0]&&x(r,"depositevent",e[10]),2097152&t[0]&&x(r,"playforfun",e[21]),32768&t[0]&&x(r,"favorites",e[15]),8&t[0]&&x(r,"clientstyling",e[3]),16&t[0]&&x(r,"clientstylingurl",e[4]),32&t[0]&&x(r,"clockformat",e[5]),262144&t[0]&&x(r,"haspanicbutton",e[18]),1&t[0]&&x(r,"currency",e[0]),33554432&t[0]&&x(r,"integratedgameframedesktop",e[25]),67108864&t[0]&&x(r,"integratedgameframemobile",e[26]),1073741824&t[1]&&x(n,"session",e[61]),4&t[0]&&x(n,"userid",e[2]),16777216&t[1]&&x(n,"endpoint",e[55]),33554432&t[1]&&x(n,"datasource",e[56]),67108864&t[1]&&x(n,"lang",e[57]),8&t[0]&&x(n,"clientstyling",e[3]),16&t[0]&&x(n,"clientstylingurl",e[4]),134217728&t[0]&&x(n,"gamepagemodalurl",e[27]),262144&t[0]&&x(n,"haspanicbutton",e[18])},d(e){e&&he(n)}}}function zl(n){let r,i,a;function o(e){return e[59]?Ul:jl}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=z,fe(r,"class",i=n[58]?"DisplayNone":""),fe(r,"part",a=n[58]?"DisplayNone":"")},m(e,t){ue(e,r,t),l.m(r,null),n[74](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(r,null))),134217728&t[1]&&i!==(i=e[58]?"DisplayNone":"")&&fe(r,"class",i),134217728&t[1]&&a!==(a=e[58]?"DisplayNone":"")&&fe(r,"part",a)},i:z,o:z,d(e){e&&he(r),l.d(),n[74](null)}}}function Yl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:d=""}=t,{userid:u=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{filteredcategories:b=""}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:$=""}=t,{loginevent:x=""}=t,{registerevent:C=""}=t,{depositevent:S=""}=t,{mostplayed:k=""}=t,{mostplayedrounds:R=""}=t,{lastplayed:F="false"}=t,{lastplayedperiod:A="Last30Days"}=t,{favorites:M=""}=t,{desktopoffset:E="0"}=t,{mobileoffset:T="0"}=t,{alternativesearch:D="false"}=t,{containermaxwidth:H=""}=t,{haspanicbutton:N="false"}=t,{activecategory:_="LOBBY"}=t,{actionevent:O="CategoryChange"}=t,{livecasino:j="false"}=t,{playforfun:U="true"}=t,{gamemodal:W="true"}=t,{playrandomgame:z="false"}=t,{visiblegames:Y="10"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:Z="false"}=t,{gamepagemodalurl:J="false"}=t,{positionwinnerswidget:K=""}=t,{tabsorder:X=""}=t,{enableautoscroll:q=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{periodrecent:te=""}=t,{periodtop:ne=""}=t,{numberusersrecent:re=""}=t,{numberuserstop:ie=""}=t,{amountlimit:ae=""}=t,{defaultcurrency:oe=""}=t,{positionjackpotbanners:se=""}=t,{caticon0:le=""}=t,{caticon1:ce=""}=t,{caticon2:de=""}=t,{caticon3:ue=""}=t,{backgroundsrc:he=""}=t,{backgroundsrcmobile:pe=""}=t,{titlelogopath:me=""}=t,{iconlabels:ge=""}=t,{visualstructure:fe=""}=t,{showsubgroups:ye="false"}=t,{positioncollections:be=""}=t,{type:ve=""}=t,{titletype:we=""}=t,{randombuttonicon:$e=""}=t,{filteredrandomgamecategories:xe=""}=t,I=!1,L=!1,G="Loading, please wait ...",P="",Ce=window.navigator.userAgent,B=0,Se=!1;var ke,Fe;({withLocale:ke,translations:Fe}={withLocale:"en",translations:{}}),mt.subscribe(e=>{null==e&&(Tr.set(Fe),mt.set(ke))});const Me=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":(Se=e.data.scrollTop)&&(B||n(62,B="PC"===ft(Ce)?parseInt(E):parseInt(T)),window.scrollTo({top:B}));break;case"UserSessionID":n(61,P=e.data.session),e.data.userID;break;case"CategoryChange":n(1,_=e.data.itemId)}};return bt(()=>(window.addEventListener("message",Me,!1),n(62,B="PC"===ft(Ce)?parseInt(E):parseInt(T)),()=>{window.removeEventListener("message",Me)})),e.$$set=e=>{"endpoint"in e&&n(63,s=e.endpoint),"datasource"in e&&n(64,l=e.datasource),"lang"in e&&n(65,c=e.lang),"session"in e&&n(66,d=e.session),"userid"in e&&n(2,u=e.userid),"opsession"in e&&n(67,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(0,y=e.currency),"filteredcategories"in e&&n(7,b=e.filteredcategories),"loginurl"in e&&n(68,v=e.loginurl),"registerurl"in e&&n(69,w=e.registerurl),"depositurl"in e&&n(70,$=e.depositurl),"loginevent"in e&&n(8,x=e.loginevent),"registerevent"in e&&n(9,C=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,k=e.mostplayed),"mostplayedrounds"in e&&n(12,R=e.mostplayedrounds),"lastplayed"in e&&n(13,F=e.lastplayed),"lastplayedperiod"in e&&n(14,A=e.lastplayedperiod),"favorites"in e&&n(15,M=e.favorites),"desktopoffset"in e&&n(71,E=e.desktopoffset),"mobileoffset"in e&&n(72,T=e.mobileoffset),"alternativesearch"in e&&n(16,D=e.alternativesearch),"containermaxwidth"in e&&n(17,H=e.containermaxwidth),"haspanicbutton"in e&&n(18,N=e.haspanicbutton),"activecategory"in e&&n(1,_=e.activecategory),"actionevent"in e&&n(19,O=e.actionevent),"livecasino"in e&&n(20,j=e.livecasino),"playforfun"in e&&n(21,U=e.playforfun),"gamemodal"in e&&n(22,W=e.gamemodal),"playrandomgame"in e&&n(23,z=e.playrandomgame),"visiblegames"in e&&n(24,Y=e.visiblegames),"integratedgameframedesktop"in e&&n(25,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(26,Z=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(27,J=e.gamepagemodalurl),"positionwinnerswidget"in e&&n(28,K=e.positionwinnerswidget),"tabsorder"in e&&n(29,X=e.tabsorder),"enableautoscroll"in e&&n(30,q=e.enableautoscroll),"istopavailable"in e&&n(31,Q=e.istopavailable),"isrecentavailable"in e&&n(32,ee=e.isrecentavailable),"periodrecent"in e&&n(33,te=e.periodrecent),"periodtop"in e&&n(34,ne=e.periodtop),"numberusersrecent"in e&&n(35,re=e.numberusersrecent),"numberuserstop"in e&&n(36,ie=e.numberuserstop),"amountlimit"in e&&n(37,ae=e.amountlimit),"defaultcurrency"in e&&n(38,oe=e.defaultcurrency),"positionjackpotbanners"in e&&n(39,se=e.positionjackpotbanners),"caticon0"in e&&n(40,le=e.caticon0),"caticon1"in e&&n(41,ce=e.caticon1),"caticon2"in e&&n(42,de=e.caticon2),"caticon3"in e&&n(43,ue=e.caticon3),"backgroundsrc"in e&&n(44,he=e.backgroundsrc),"backgroundsrcmobile"in e&&n(45,pe=e.backgroundsrcmobile),"titlelogopath"in e&&n(46,me=e.titlelogopath),"iconlabels"in e&&n(47,ge=e.iconlabels),"visualstructure"in e&&n(73,fe=e.visualstructure),"showsubgroups"in e&&n(48,ye=e.showsubgroups),"positioncollections"in e&&n(49,be=e.positioncollections),"type"in e&&n(50,ve=e.type),"titletype"in e&&n(51,we=e.titletype),"randombuttonicon"in e&&n(52,$e=e.randombuttonicon),"filteredrandomgamecategories"in e&&n(53,xe=e.filteredrandomgamecategories)},e.$$.update=()=>{if(8&e.$$.dirty[2]&&c&&ei(c),4&e.$$.dirty[0]|18&e.$$.dirty[2]&&d&&u&&s&&Qr(s,d).then(e=>{n(61,P=e.Guid),e.UserID,n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),43008&e.$$.dirty[0]|14&e.$$.dirty[2]&&s&&l&&c&&k&&F&&M&&(s||(n(60,G="Endpoint is missing! Please provide a valid endpointURL."),n(59,L=!0),console.error(G)),l||(n(60,G="Datasource is missing! Please provide a valid datasource."),n(59,L=!0),console.error(G)),(!c||c.length<2)&&(n(60,G="Language is missing! Please provide a valid language (alpha2code)"),n(59,L=!0),console.error(G)),ei(c),n(55,r=s),n(56,i=l),n(57,a=c),n(59,L=!1)),32&e.$$.dirty[2]&&h&&n(61,P=h),8&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&p&&o){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(16&e.$$.dirty[0]|8388608&e.$$.dirty[1]&&m&&o){n(58,I=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(58,I=!1)},500))})}},[y,_,u,p,m,g,f,b,x,C,S,k,R,F,A,M,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,ye,be,ve,we,$e,xe,o,r,i,a,I,L,G,P,B,s,l,c,d,h,v,w,$,E,T,fe,function(e){pt[e?"unshift":"push"](()=>{o=e,n(54,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends i{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'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ol,Nl,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,translationurl:35,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:0,playforfun:43,checksession:44,gamebanneractive:1,gameid:45},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),f()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[43]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[44]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[45]}set gameid(e){this.$$set({gameid:e}),f()}});class Vl extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Yl,zl,t,{endpoint:63,datasource:64,lang:65,session:66,userid:2,opsession:67,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,filteredcategories:7,loginurl:68,registerurl:69,depositurl:70,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,lastplayed:13,lastplayedperiod:14,favorites:15,desktopoffset:71,mobileoffset:72,alternativesearch:16,containermaxwidth:17,haspanicbutton:18,activecategory:1,actionevent:19,livecasino:20,playforfun:21,gamemodal:22,playrandomgame:23,visiblegames:24,integratedgameframedesktop:25,integratedgameframemobile:26,gamepagemodalurl:27,positionwinnerswidget:28,tabsorder:29,enableautoscroll:30,istopavailable:31,isrecentavailable:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:73,showsubgroups:48,positioncollections:49,type:50,titletype:51,randombuttonicon:52,filteredrandomgamecategories:53},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","positioncollections","type","titletype","randombuttonicon","filteredrandomgamecategories"]}get endpoint(){return this.$$.ctx[63]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[64]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[65]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[66]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[67]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get filteredcategories(){return this.$$.ctx[7]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get loginurl(){return this.$$.ctx[68]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[69]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[70]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[13]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[14]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[71]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[72]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[16]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[17]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[18]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[21]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[24]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[25]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[26]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get positionwinnerswidget(){return this.$$.ctx[28]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),f()}get tabsorder(){return this.$$.ctx[29]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[30]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[31]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[32]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),f()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[73]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[48]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),f()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[52]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get filteredrandomgamecategories(){return this.$$.ctx[53]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Vl),Vl});
|
|
33
33
|
//# sourceMappingURL=casino-lobby.js.map
|