@everymatrix/casino-page 1.26.0 → 1.27.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.
@@ -29,5 +29,5 @@
29
29
  <span id=${t} class="${e}">
30
30
  ${n}
31
31
  </span>
32
- `},J,f,v,b,w,r,$,S,k,F,_,M,E,G,L,T,ge,fe,function(e){st[e?"unshift":"push"](()=>{s=e,o(19,s)})},()=>be(a),()=>ve(a),()=>be(a),function(e){st[e?"unshift":"push"](()=>{g=e,o(15,g)})},function(e){st[e?"unshift":"push"](()=>{l=e,o(12,l)})}]}function Na(e,t){$r(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));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 .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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.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:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 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}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 375px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-bottom:5px;font-size:12px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 410px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Aa,Ta,n,{session:44,userid:45,lang:1,clientstyling:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:49,gameid:6,gameisnew:7,gametag:8,gamefunmode:50,gamefavorite:0,gamecellsize:9,showfavoredcategory:51,showgamename:10,currency:52,gamepagemodalurl:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[44]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[45]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gamelaunchurl(){return this.$$.ctx[49]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[51]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[52]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[53]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),m()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const Oa={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}};function Ba(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function Ha(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,e,x,A,$,C,N,S,k,F,_,M,E,O,G=n[11]("filterby")+"",L=n[11]("providers")+"",T=n[11]("clear")+"";function B(e){return e[7]?Ua:za}let P=B(n),I=P(n),R=n[5],D=[];for(let e=0;e<R.length;e+=1)D[e]=Va(Ba(n,R,e));return{c(){r=he("div"),a=he("div"),i=he("div"),o=z("svg"),s=z("path"),l=ge(),c=he("div"),d=he("span"),u=pe(G),m=ge(),h=he("div"),p=he("span"),g=pe(L),f=ge(),I.c(),y=ge(),v=he("span"),b=z("svg"),w=z("path"),A=ge(),$=he("div"),C=he("ul");for(let e=0;e<D.length;e+=1)D[e].c();N=ge(),S=he("button"),k=pe(T),fe(s,"id","noun_filter_736223"),fe(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(s,"transform","translate(-5 -6.2)"),fe(s,"fill","#fff"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","16"),fe(o,"height","16"),fe(o,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(h,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(i,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(b,"xmlns","http://www.w3.org/2000/svg"),fe(b,"width","14"),fe(b,"height","6.835"),fe(b,"viewBox","0 0 14 6.835"),fe(v,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(a,"class",x="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(S,"class","ClearFilters"),S.disabled=F=n[7]&&n[6].length!=n[5].length,fe($,"class",_="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(r,"class",M="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,l),de(i,c),de(c,d),de(d,u),de(c,m),de(c,h),de(h,p),de(p,g),de(h,f),I.m(h,null),de(a,y),de(a,v),de(v,b),de(b,w),de(r,A),de(r,$),de($,C);for(let e=0;e<D.length;e+=1)D[e]&&D[e].m(C,null);de($,N),de($,S),de(S,k),E||(O=[U(a,"click",n[22]),U(S,"click",n[25])],E=!0)},p(t,n){if(2048&n[0]&&G!==(G=t[11]("filterby")+"")&&ye(u,G),2048&n[0]&&L!==(L=t[11]("providers")+"")&&ye(g,L),P===(P=B(t))&&I?I.p(t,n):(I.d(1),(I=P(t))&&(I.c(),I.m(h,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(v,"class",e),16&n[0]&&x!==(x="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(a,"class",x),8228&n[0]){let e;for(R=t[5],e=0;e<R.length;e+=1){const a=Ba(t,R,e);D[e]?D[e].p(a,n):(D[e]=Va(a),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=R.length}2048&n[0]&&T!==(T=t[11]("clear")+"")&&ye(k,T),224&n[0]&&F!==(F=t[7]&&t[6].length!=t[5].length)&&(S.disabled=F),16&n[0]&&_!==(_="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe($,"class",_),3&n[0]&&M!==(M="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(r,"class",M)},d(e){e&&me(r),I.d(),j(D,e),E=!1,H(O)}}}function ja(e){let n,r,a=e[11]("500")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("500")+"")&&ye(r,a)},d(e){e&&me(n)}}}function za(e){let n,r;return{c(){n=he("span"),r=pe(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&me(n)}}}function Ua(e){let n,r,a=e[11]("all")+"";return{c(){n=he("span"),r=pe(a),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("all")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Wa(e){let n,r;return{c(){ce((n=he("img")).src,r=e[36].logo)||fe(n,"src",r),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,r=e[36].logo)&&fe(n,"src",r)},d(e){e&&me(n)}}}function Ya(e){let n,r,a,i,o,s,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=he("div"),r=he("span"),a=pe(d),i=ge(),o=he("span"),s=pe("("),l=pe(u),c=pe(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(n,i),de(n,o),de(o,s),de(o,l),de(o,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(a,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&me(n)}}}function Va(n){let r,a,i,o,s,l,c,d,u,m,h,p;function g(){n[23].call(i,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?Ya:"true"===e[2]?Wa:void 0}let v=y(n),b=v&&v(n);return{c(){r=he("li"),a=he("label"),i=he("input"),s=ge(),l=he("span"),c=ge(),b&&b.c(),d=ge(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=o=n[36].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(a,"class","FilterLabel"),fe(r,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),r.value=m=n[36].name},m(e,t){ue(e,r,t),de(r,a),de(a,i),i.checked=n[36].isFilterSelected,de(a,s),de(a,l),de(a,c),b&&b.m(a,null),de(r,d),h||(p=[U(i,"change",g),U(i,"click",f)],h=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[36].name)&&(i.__value=o,i.value=i.__value),32&t[0]&&(i.checked=n[36].isFilterSelected),v===(v=y(n))&&b?b.p(n,t):(b&&b.d(1),(b=v&&v(n))&&(b.c(),b.m(a,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(r,"class",u),32&t[0]&&m!==(m=n[36].name)&&(r.value=m)},d(e){e&&me(r),b&&b.d(),h=!1,H(p)}}}function Za(n){let r;function a(e){return e[10]?ja:e[9]?void 0:Ha}let i=a(n),o=i&&i(n);return{c(){r=he("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[26](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[26](null)}}}function Ka(n,e,r){let t;dt(n,Jr,e=>r(11,t=e));let a,{endpoint:i=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:m="false"}=e,{addsortingselector:h="false"}=e,{filterbylogo:p="false"}=e,g=!1,f=window.navigator.userAgent,y=[],v=[],b={},w=!1,x=0,$=!0,C=!1;var S,k;({withLocale:S,translations:k}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(k),lt.set(S))}),Object.keys(Oa).forEach(e=>{Na(e,Oa[e])}),b[u]&&(b={[u]:[]});const F=()=>{r(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},_=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,v.length&&0!=v.filter(e=>e.name===t.name).length?r(6,v=v.filter(e=>e.name!==t.name)):v.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})):((e=JSON.parse(e))[u]=v.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),M()},M=()=>{r(7,w=v.length===y.length||0==v.length),r(8,x=v.length)},E=()=>{r(6,v=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),r(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,w=!0),r(4,g=!1)},G=e=>{"SortingOpened"==e.data.type&&r(4,g=!1)};return ut(()=>(window.addEventListener("message",G,!1),()=>{window.removeEventListener("message",G)})),n.$$set=e=>{"endpoint"in e&&r(15,i=e.endpoint),"datasource"in e&&r(16,o=e.datasource),"lang"in e&&r(17,s=e.lang),"translationurl"in e&&r(18,l=e.translationurl),"clientstyling"in e&&r(19,c=e.clientstyling),"clientstylingurl"in e&&r(20,d=e.clientstylingurl),"categoryid"in e&&r(21,u=e.categoryid),"addfilterselector"in e&&r(0,m=e.addfilterselector),"addsortingselector"in e&&r(1,h=e.addsortingselector),"filterbylogo"in e&&r(2,p=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&o&&u&&p&&(t=new URL(i+"/v1/casino/vendors"),r(4,g=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",Qr(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,r(9,$=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),r(6,v=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,v.push(e)):e.isFilterSelected=!1}),r(5,y=e),M()}).catch(e=>{console.error(e),r(10,C=!0),n(e)}).finally(()=>{r(9,$=!1)})})),524296&n.$$.dirty[0]&&c&&a&&((t=document.createElement("style")).innerHTML=c,a.appendChild(t)),1048584&n.$$.dirty[0]&&d&&a){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Na(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,p,a,g,y,v,w,x,$,C,t,F,_,E,i,o,s,l,c,d,u,()=>F(),function(e,t){e[t].isFilterSelected=this.checked,r(5,y)},e=>_(e),()=>E(),function(e){st[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}function qa(e,t){$r(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ka,Za,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),m()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}});const Xa={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function Ja(e,t,n){e=e.slice();return e[23]=t[n],e}function Qa(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,e,C,S,k,F,_,M,E,G=n[4]("sortby")+"",L=(n[3]||n[4]("all"))+"",T=Object.values(n[5]),P=[];for(let e=0;e<T.length;e+=1)P[e]=ei(Ja(n,T,e));return{c(){r=he("div"),a=he("div"),i=he("div"),o=z("svg"),s=z("g"),l=z("path"),c=z("path"),d=z("path"),u=ge(),m=he("div"),h=he("span"),p=pe(G),g=ge(),f=he("div"),y=he("span"),v=pe(L),b=ge(),w=he("span"),x=z("svg"),$=z("path"),S=ge(),k=he("div"),F=he("ul");for(let e=0;e<P.length;e+=1)P[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(s,"id","sortby"),fe(s,"transform","translate(-306 -342)"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","20"),fe(o,"height","20"),fe(o,"viewBox","0 0 26.003 22.819"),fe(h,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(m,"class","SorterTextContainer"),fe(i,"class","SorterMainArea"),fe($,"id","arrow"),fe($,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe($,"transform","translate(-274.511 -441.088)"),fe($,"fill","#d1d1d1"),fe(x,"xmlns","http://www.w3.org/2000/svg"),fe(x,"width","14"),fe(x,"height","6.835"),fe(x,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(a,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(F,"class","SorterDropdown"),fe(k,"class",_="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(r,"class","SorterContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(s,l),de(s,c),de(s,d),de(i,u),de(i,m),de(m,h),de(h,p),de(m,g),de(m,f),de(f,y),de(y,v),de(a,b),de(a,w),de(w,x),de(x,$),de(r,S),de(r,k),de(k,F);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(F,null);M||(E=U(a,"click",n[13]),M=!0)},p(t,n){if(16&n&&G!==(G=t[4]("sortby")+"")&&ye(p,G),24&n&&L!==(L=(t[3]||t[4]("all"))+"")&&ye(v,L),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(a,"class",C),120&n){let e;for(T=Object.values(t[5]),e=0;e<T.length;e+=1){var r=Ja(t,T,e);P[e]?P[e].p(r,n):(P[e]=ei(r),P[e].c(),P[e].m(F,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=T.length}2&n&&_!==(_="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(k,"class",_)},d(e){e&&me(r),j(P,e),M=!1,E()}}}function ei(n){let r,a,i,o,s,l,c,d,u,m,h,p,e=n[23]+"";function g(){return n[14](n[23])}return{c(){r=he("li"),a=he("label"),i=he("input"),s=ge(),l=he("span"),c=ge(),d=he("span"),u=pe(e),m=ge(),fe(i,"type","radio"),fe(i,"name","radio"),i.value=n[23],i.checked=o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"),fe(l,"class","SortersCheckmark"),fe(a,"class","SorterLabel CustomRadioButton"),fe(r,"class","SorterItem"),r.value=n[23]},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),de(a,l),de(a,c),de(a,d),de(d,u),de(r,m),h||(p=U(i,"click",g),h=!0)},p(e,t){n=e,24&t&&o!==(o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"))&&(i.checked=o)},d(e){e&&me(r),h=!1,p()}}}function ti(n){let r;function a(e){if(!e[2])return Qa}let i=a(n),o=i&&i(n);return{c(){r=he("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[15](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[15](null)}}}function ni(t,e,r){let n;dt(t,Jr,e=>r(4,n=e));let a,{lang:i=""}=e,{translationurl:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,m="",h="All";var p,g;({withLocale:p,translations:g}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(g),lt.set(p))}),Object.keys(Xa).forEach(e=>{qa(e,Xa[e])});const f={All:n("all"),name:n("az"),isNew:n("newest"),"advancedTags(name(hot))":n("hottest")},y=e=>{r(3,h=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in m=e,f)if(f[t]===e){m=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):((n=JSON.parse(n))[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),r(1,d=!d)},v=()=>{r(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},b=e=>{"FilterOpened"==e.data.type&&r(1,d=!1)};return ut(()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)})),t.$$set=e=>{"lang"in e&&r(8,i=e.lang),"translationurl"in e&&r(9,o=e.translationurl),"clientstyling"in e&&r(10,s=e.clientstyling),"clientstylingurl"in e&&r(11,l=e.clientstylingurl),"categoryid"in e&&r(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(r(3,h="All"),r(2,u=!1),r(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],r(3,h=e||"All"),r(3,h=f[e])),1025&t.$$.dirty&&s&&a&&((e=document.createElement("style")).innerHTML=s,a.appendChild(e)),2049&t.$$.dirty&&l&&a){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e;512&t.$$.dirty&&o&&fetch(o).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qa(e,t[e])})}).catch(e=>{console.log(e)})},[a,d,u,h,n,f,y,v,i,o,s,l,c,()=>v(),e=>y(e),function(e){st[e?"unshift":"push"](()=>{a=e,r(0,a)})}]}function ri(e,t,n){e=e.slice();return e[84]=t[n],e[86]=n,e}function ai(e,t,n){e=e.slice();return e[84]=t[n],e[87]=t,e[86]=n,e}function ii(e,t,n){e=e.slice();return e[84]=t[n],e[86]=n,e}function oi(e){let n;function r(e){return e[25]?di:e[36]?ci:void 0}let a=r(e),i=a&&a(e);return{c(){n=he("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function si(e){let n,r,a;function i(e){return e[29]?Ri:e[26].length?Pi:Ii}let o=i(e),s=o(e);function l(e){return e[26]?Ai:Di}let c=l(e),d=c(e);return{c(){n=he("div"),r=he("div"),s.c(),a=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(ct(e[41])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,a),d.m(n,null)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),s.d(),d.d()}}}function li(e){let n;function r(e){return e[31]?Hi:Bi}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),i=a(e))&&(i.c(),i.m(n.parentNode,n))},d(e){i.d(e),e&&me(n)}}}function ci(n){let r,a,i,o,s="true"!==n[17]&&ui(n);function l(e){return e[22]&&!e[33]?pi:e[39]?hi:mi}let c=l(n),d=c(n);return{c(){r=he("div"),s&&s.c(),a=ge(),i=he("ul"),d.c(),fe(i,"class",o=(0!=n[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer")},m(e,t){ue(e,r,t),s&&s.m(r,null),de(r,a),de(r,i),d.m(i,null),n[59](i)},p(e,t){"true"!==e[17]?s?s.p(e,t):((s=ui(e)).c(),s.m(r,a)):s&&(s.d(1),s=null),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(i,null))),256&t[1]&&o!==(o=(0!=e[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",o)},d(e){e&&me(r),s&&s.d(),d.d(),n[59](null)}}}function di(e){let n,r,a="true"!==e[17]&&Si(e);function i(e){return e[22]&&!e[33]?Li:0!==e[26].length?Gi:Ei}let o=i(e),s=o(e);return{c(){n=he("div"),a&&a.c(),r=ge(),s.c(),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,r),s.m(n,null)},p(e,t){"true"!==e[17]?a?a.p(e,t):((a=Si(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),a&&a.d(),s.d()}}}function ui(n){let r,a,i,o,s,l,c,d,u=n[40]("favorites")+"",m=n[39].items.length+"";return{c(){r=he("div"),a=he("h3"),i=pe(u),o=ge(),s=he("span"),l=pe("("),c=pe(m),d=pe(")"),fe(s,"class","CategoryFavName"),fe(a,"class","CategoryName"),fe(r,"class","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),de(s,c),de(s,d),n[58](a)},p(e,t){512&t[1]&&u!==(u=e[40]("favorites")+"")&&ye(i,u),256&t[1]&&m!==(m=e[39].items.length+"")&&ye(c,m)},d(e){e&&me(r),n[58](null)}}}function mi(e){let n,r,a=e[40]("waiting")+"";return{c(){n=he("p"),r=pe(a)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("waiting")+"")&&ye(r,a)},d(e){e&&me(n)}}}function hi(t){let r,a=t[39].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=Ci(ri(t,a,e));let o=null;return a.length||(o=gi(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=l(),o&&o.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(131048&n[0]|4064&n[1]){let e;for(a=t[39].items,e=0;e<a.length;e+=1){const o=ri(t,a,e);i[e]?i[e].p(o,n):(i[e]=Ci(o),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):((o=gi(t)).c(),o.m(r.parentNode,r))}},d(e){j(i,e),e&&me(r),o&&o.d(e)}}}function pi(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function gi(e){let n,r,a,i,o,s,l,c,d,u,m,h,p,g,f=e[40]("noFavoritesTitle")+"",t=(v=e,ct(v[41])?yi:fi),y=t(e);var v;return{c(){n=he("p"),r=z("svg"),a=z("rect"),i=z("rect"),o=z("circle"),s=z("path"),l=z("path"),c=z("path"),d=z("path"),u=ge(),m=he("span"),h=pe(f),p=ge(),y.c(),g=ge(),fe(a,"x","1"),fe(a,"y","18.053"),fe(a,"width","90.263"),fe(a,"height","90.263"),fe(a,"rx","12"),fe(a,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(a,"stroke-width","1.5"),fe(i,"x","106.737"),fe(i,"y","56.737"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(o,"stroke-width","1.5"),fe(o,"stroke-dasharray","5 0"),fe(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(s,"fill","var(--emfe-w-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(r,"width","198"),fe(r,"height","148"),fe(r,"viewBox","0 0 198 148"),fe(r,"fill","none"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(ct(e[41])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(n,u),de(n,m),de(m,h),de(n,p),y.m(n,null),de(n,g)},p(e,t){512&t[1]&&f!==(f=e[40]("noFavoritesTitle")+"")&&ye(h,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function fi(e){let n,r,a=e[40]("noFavorites")+"";return{c(){n=he("span"),r=pe(a),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noFavorites")+"")&&ye(r,a)},d(e){e&&me(n)}}}function yi(e){let n,r,a=e[40]("noFavoritesMobile")+"";return{c(){n=he("span"),r=pe(a),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noFavoritesMobile")+"")&&ye(r,a)},d(e){e&&me(n)}}}function vi(e){let n,r=e[84].gameModel.isFavorite&&bi(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[84].gameModel.isFavorite?r?r.p(e,t):((r=bi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function bi(e){let n,r=function(e){let n,r,a;function i(e,t){return 256&t[1]&&(r=null),(n=null==n?!!ct(e[41]):n)?xi:(r=null==r?!!e[84].gameModel.platform.includes("PC"):r)?wi:void 0}let o=i(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),a=l()},m(e,t){s&&s.m(e,t),ue(e,a,t)},p(e,t){o===(o=i(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){s&&s.d(e),e&&me(a)}}}(e);return{c(){r&&r.c(),n=l()},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&&me(n)}}}function wi(e){let n,r,a,i,o,s,l,c,d,u,m,h,p,g,f;return{c(){F(n=he("casino-game-thumbnail"),"class",r=""+(x+(e[84].cellSize||"1x1"))),F(n,"part",a=""+(x+(e[84].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"favorites",e[8]),F(n,"gamethumbnail",i=e[84].gameModel.thumbnail),F(n,"gamename",o=e[84].gameModel.name),F(n,"gamevendor",s=e[84].gameModel.vendor.name),F(n,"gamelaunchurl",l=e[84].launchUrl),F(n,"gameisnew",c=e[84].gameModel.isNew),F(n,"gametag",d=0<e[84].gameModel.advancedTags?.length&&e[42](e[84].gameModel.advancedTags)),F(n,"gamecellsize",u=e[84].cellSize),F(n,"gameid",m=e[84].gameModel.id),F(n,"gamefunmode",h=e[84].gameModel.hasFunMode),F(n,"showgamename",e[12]),F(n,"gamefavorite",p=e[84].gameModel.isFavorite),F(n,"showfavoredcategory",e[36]),F(n,"connectlive",g=1==e[37][e[84].id]?"connect":"disconnect"),F(n,"visibilityconnect",e[38]),F(n,"currency",e[11]),F(n,"livelobbyendpoint",f=e[84].gameModel.details?e[84].gameModel.launchUrl:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[13]),F(n,"gamepagemodalurl",e[14]),F(n,"integratedgameframedesktop",e[15]),F(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[1]&&r!==(r=""+(x+(e[84].cellSize||"1x1")))&&F(n,"class",r),256&t[1]&&a!==(a=""+(x+(e[84].cellSize||"1x1")))&&F(n,"part",a),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),256&t[0]&&F(n,"favorites",e[8]),256&t[1]&&i!==(i=e[84].gameModel.thumbnail)&&F(n,"gamethumbnail",i),256&t[1]&&o!==(o=e[84].gameModel.name)&&F(n,"gamename",o),256&t[1]&&s!==(s=e[84].gameModel.vendor.name)&&F(n,"gamevendor",s),256&t[1]&&l!==(l=e[84].launchUrl)&&F(n,"gamelaunchurl",l),256&t[1]&&c!==(c=e[84].gameModel.isNew)&&F(n,"gameisnew",c),256&t[1]&&d!==(d=0<e[84].gameModel.advancedTags?.length&&e[42](e[84].gameModel.advancedTags))&&F(n,"gametag",d),256&t[1]&&u!==(u=e[84].cellSize)&&F(n,"gamecellsize",u),256&t[1]&&m!==(m=e[84].gameModel.id)&&F(n,"gameid",m),256&t[1]&&h!==(h=e[84].gameModel.hasFunMode)&&F(n,"gamefunmode",h),4096&t[0]&&F(n,"showgamename",e[12]),256&t[1]&&p!==(p=e[84].gameModel.isFavorite)&&F(n,"gamefavorite",p),32&t[1]&&F(n,"showfavoredcategory",e[36]),320&t[1]&&g!==(g=1==e[37][e[84].id]?"connect":"disconnect")&&F(n,"connectlive",g),128&t[1]&&F(n,"visibilityconnect",e[38]),2048&t[0]&&F(n,"currency",e[11]),256&t[1]&&f!==(f=e[84].gameModel.details?e[84].gameModel.launchUrl:"")&&F(n,"livelobbyendpoint",f),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),8192&t[0]&&F(n,"livecasino",e[13]),16384&t[0]&&F(n,"gamepagemodalurl",e[14]),32768&t[0]&&F(n,"integratedgameframedesktop",e[15]),65536&t[0]&&F(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function xi(e){let n,r=e[84].gameModel.platform.includes("iPad")||e[84].gameModel.platform.includes("iPhone")||e[84].gameModel.platform.includes("Android"),a=r&&$i(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=256&t[1]?e[84].gameModel.platform.includes("iPad")||e[84].gameModel.platform.includes("iPhone")||e[84].gameModel.platform.includes("Android"):r)?a?a.p(e,t):((a=$i(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function $i(e){let n,r,a,i,o,s,l,c,d,u,m,h,p,g,f;return{c(){F(n=he("casino-game-thumbnail"),"class",r=""+(x+(e[84].cellSize||"1x1"))),F(n,"part",a=""+(x+(e[84].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"favorites",e[8]),F(n,"gamethumbnail",i=e[84].gameModel.thumbnail),F(n,"gamename",o=e[84].gameModel.name),F(n,"gamevendor",s=e[84].gameModel.vendor.name),F(n,"gamelaunchurl",l=e[84].launchUrl),F(n,"gameisnew",c=e[84].gameModel.isNew),F(n,"gametag",d=0<e[84].gameModel.advancedTags?.length&&e[42](e[84].gameModel.advancedTags)),F(n,"gamecellsize",u=e[84].cellSize),F(n,"gameid",m=e[84].gameModel.id),F(n,"gamefunmode",h=e[84].gameModel.hasFunMode),F(n,"showgamename",e[12]),F(n,"gamefavorite",p=e[84].gameModel.isFavorite),F(n,"showfavoredcategory",e[36]),F(n,"connectlive",g=1==e[37][e[84].id]?"connect":"disconnect"),F(n,"visibilityconnect",e[38]),F(n,"currency",e[11]),F(n,"livelobbyendpoint",f=e[84].gameModel.details?e[84].gameModel.launchUrl:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[13]),F(n,"gamepagemodalurl",e[14]),F(n,"integratedgameframedesktop",e[15]),F(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[1]&&r!==(r=""+(x+(e[84].cellSize||"1x1")))&&F(n,"class",r),256&t[1]&&a!==(a=""+(x+(e[84].cellSize||"1x1")))&&F(n,"part",a),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),256&t[0]&&F(n,"favorites",e[8]),256&t[1]&&i!==(i=e[84].gameModel.thumbnail)&&F(n,"gamethumbnail",i),256&t[1]&&o!==(o=e[84].gameModel.name)&&F(n,"gamename",o),256&t[1]&&s!==(s=e[84].gameModel.vendor.name)&&F(n,"gamevendor",s),256&t[1]&&l!==(l=e[84].launchUrl)&&F(n,"gamelaunchurl",l),256&t[1]&&c!==(c=e[84].gameModel.isNew)&&F(n,"gameisnew",c),256&t[1]&&d!==(d=0<e[84].gameModel.advancedTags?.length&&e[42](e[84].gameModel.advancedTags))&&F(n,"gametag",d),256&t[1]&&u!==(u=e[84].cellSize)&&F(n,"gamecellsize",u),256&t[1]&&m!==(m=e[84].gameModel.id)&&F(n,"gameid",m),256&t[1]&&h!==(h=e[84].gameModel.hasFunMode)&&F(n,"gamefunmode",h),4096&t[0]&&F(n,"showgamename",e[12]),256&t[1]&&p!==(p=e[84].gameModel.isFavorite)&&F(n,"gamefavorite",p),32&t[1]&&F(n,"showfavoredcategory",e[36]),320&t[1]&&g!==(g=1==e[37][e[84].id]?"connect":"disconnect")&&F(n,"connectlive",g),128&t[1]&&F(n,"visibilityconnect",e[38]),2048&t[0]&&F(n,"currency",e[11]),256&t[1]&&f!==(f=e[84].gameModel.details?e[84].gameModel.launchUrl:"")&&F(n,"livelobbyendpoint",f),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),8192&t[0]&&F(n,"livecasino",e[13]),16384&t[0]&&F(n,"gamepagemodalurl",e[14]),32768&t[0]&&F(n,"integratedgameframedesktop",e[15]),65536&t[0]&&F(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function Ci(e){let n,r=e[84].gameModel&&vi(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[84].gameModel?r?r.p(e,t):((r=vi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function Si(n){let r,a,i,o,s=n[25].name+"";function l(e){return e[27]?Fi:ki}let c=l(n),d=c(n);return{c(){r=he("div"),a=he("h3"),i=pe(s),o=ge(),d.c(),fe(a,"class","CategoryName"),fe(r,"class","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[54](a),de(r,o),d.m(r,null)},p(e,t){33554432&t[0]&&s!==(s=e[25].name+"")&&ye(i,s),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(r,null)))},d(e){e&&me(r),n[54](null),d.d()}}}function ki(e){let n,r,a,i="true"==e[1]&&_i(e),o="true"==e[2]&&Mi(e);return{c(){n=he("div"),i&&i.c(),r=ge(),o&&o.c(),fe(n,"class",a="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),o&&o.m(n,null)},p(e,t){"true"==e[1]?i?i.p(e,t):((i=_i(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),"true"==e[2]?o?o.p(e,t):((o=Mi(e)).c(),o.m(n,null)):o&&(o.d(1),o=null),6&t[0]&&a!==(a="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")&&fe(n,"class",a)},d(e){e&&me(n),i&&i.d(),o&&o.d()}}}function Fi(n){let r,a,i,o,s,l,c,d,u=n[40]("viewAll")+"",m=n[25].games.total+"";return{c(){r=he("a"),a=he("span"),i=pe(u),o=pe(" ("),s=pe(m),l=pe(")"),fe(a,"class","CategoryLoadMore"),fe(r,"class","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(a,l),c||(d=U(r,"click",n[55]),c=!0)},p(e,t){512&t[1]&&u!==(u=e[40]("viewAll")+"")&&ye(i,u),33554432&t[0]&&m!==(m=e[25].games.total+"")&&ye(s,m)},d(e){e&&me(r),c=!1,d()}}}function _i(e){let n;return{c(){F(n=he("casino-filter"),"clientstylingurl",e[10]),F(n,"clientstyling",e[9]),F(n,"endpoint",e[3]),F(n,"datasource",e[4]),F(n,"lang",e[5]),F(n,"categoryid",e[0]),F(n,"addfilterselector",e[1]),F(n,"addsortingselector",e[2]),F(n,"filterbylogo",e[18])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&F(n,"clientstylingurl",e[10]),512&t[0]&&F(n,"clientstyling",e[9]),8&t[0]&&F(n,"endpoint",e[3]),16&t[0]&&F(n,"datasource",e[4]),32&t[0]&&F(n,"lang",e[5]),1&t[0]&&F(n,"categoryid",e[0]),2&t[0]&&F(n,"addfilterselector",e[1]),4&t[0]&&F(n,"addsortingselector",e[2]),262144&t[0]&&F(n,"filterbylogo",e[18])},d(e){e&&me(n)}}}function Mi(e){let n;return{c(){F(n=he("casino-sort"),"clientstylingurl",e[10]),F(n,"clientstyling",e[9]),F(n,"lang",e[5]),F(n,"categoryid",e[0]),F(n,"addsortingselector",e[2])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&F(n,"clientstylingurl",e[10]),512&t[0]&&F(n,"clientstyling",e[9]),32&t[0]&&F(n,"lang",e[5]),1&t[0]&&F(n,"categoryid",e[0]),4&t[0]&&F(n,"addsortingselector",e[2])},d(e){e&&me(n)}}}function Ei(e){let n,r,a=e[40]("noResults")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","NoSearchResults")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noResults")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Gi(n){let a,e,i=n[26],o=[];for(let e=0;e<i.length;e+=1)o[e]=Ti(ai(n,i,e));return{c(){a=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class",e=(0===n[39].items.length&&n[36]?"":"CasinoGamesGrid")+" "+(n[24]&&"true"==n[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);n[57](a)},p(t,n){if(69861352&n[0]|2240&n[1]){let e;for(i=t[26],e=0;e<i.length;e+=1){var r=ai(t,i,e);o[e]?o[e].p(r,n):(o[e]=Ti(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}17301504&n[0]|288&n[1]&&e!==(e=(0===t[39].items.length&&t[36]?"":"CasinoGamesGrid")+" "+(t[24]&&"true"==t[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&fe(a,"class",e)},d(e){e&&me(a),j(o,e),n[57](null)}}}function Li(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Ti(e){let n,r=function(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v=n[86];const b=()=>n[56](r,v),w=()=>n[56](null,v);return{c(){F(r=he("casino-game-thumbnail"),"session",n[6]),F(r,"userid",n[7]),F(r,"lang",n[5]),F(r,"class",a=""+(x+(n[84].cellSize||"1x1"))),F(r,"part",i=""+(x+(n[84].cellSize||"1x1"))),F(r,"favorites",n[8]),F(r,"gamethumbnail",o=n[84].thumbnail),F(r,"gamename",s=n[84].name),F(r,"gamevendor",l=n[84].vendor.name),F(r,"gamelaunchurl",c=n[84].launchUrl),F(r,"gameisnew",d=n[84].isNew),F(r,"gametag",u=0<n[84].advancedTags?.length&&n[42](n[84].advancedTags)),F(r,"gamecellsize",m=n[84].cellSize),F(r,"gameid",h=n[84].id),F(r,"gamefunmode",p=n[84].hasFunMode),F(r,"gamefavorite",g=n[84].isFavorite),F(r,"showgamename",n[12]),F(r,"connectlive",f=1==n[37][n[84].id]?"connect":"disconnect"),F(r,"visibilityconnect",n[38]),F(r,"currency",n[11]),F(r,"livelobbyendpoint",y=n[84].details?n[84].href:""),F(r,"clientstyling",n[9]),F(r,"clientstylingurl",n[10]),F(r,"endpoint",n[3]),F(r,"livecasino",n[13]),F(r,"gamepagemodalurl",n[14]),F(r,"integratedgameframedesktop",n[15]),F(r,"integratedgameframemobile",n[16]),F(r,"casinogamesgridslider",n[19])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,64&t[0]&&F(r,"session",n[6]),128&t[0]&&F(r,"userid",n[7]),32&t[0]&&F(r,"lang",n[5]),67108864&t[0]&&a!==(a=""+(x+(n[84].cellSize||"1x1")))&&F(r,"class",a),67108864&t[0]&&i!==(i=""+(x+(n[84].cellSize||"1x1")))&&F(r,"part",i),256&t[0]&&F(r,"favorites",n[8]),67108864&t[0]&&o!==(o=n[84].thumbnail)&&F(r,"gamethumbnail",o),67108864&t[0]&&s!==(s=n[84].name)&&F(r,"gamename",s),67108864&t[0]&&l!==(l=n[84].vendor.name)&&F(r,"gamevendor",l),67108864&t[0]&&c!==(c=n[84].launchUrl)&&F(r,"gamelaunchurl",c),67108864&t[0]&&d!==(d=n[84].isNew)&&F(r,"gameisnew",d),67108864&t[0]&&u!==(u=0<n[84].advancedTags?.length&&n[42](n[84].advancedTags))&&F(r,"gametag",u),67108864&t[0]&&m!==(m=n[84].cellSize)&&F(r,"gamecellsize",m),67108864&t[0]&&h!==(h=n[84].id)&&F(r,"gameid",h),67108864&t[0]&&p!==(p=n[84].hasFunMode)&&F(r,"gamefunmode",p),67108864&t[0]&&g!==(g=n[84].isFavorite)&&F(r,"gamefavorite",g),4096&t[0]&&F(r,"showgamename",n[12]),67108864&t[0]|64&t[1]&&f!==(f=1==n[37][n[84].id]?"connect":"disconnect")&&F(r,"connectlive",f),128&t[1]&&F(r,"visibilityconnect",n[38]),2048&t[0]&&F(r,"currency",n[11]),67108864&t[0]&&y!==(y=n[84].details?n[84].href:"")&&F(r,"livelobbyendpoint",y),512&t[0]&&F(r,"clientstyling",n[9]),1024&t[0]&&F(r,"clientstylingurl",n[10]),8&t[0]&&F(r,"endpoint",n[3]),8192&t[0]&&F(r,"livecasino",n[13]),16384&t[0]&&F(r,"gamepagemodalurl",n[14]),32768&t[0]&&F(r,"integratedgameframedesktop",n[15]),65536&t[0]&&F(r,"integratedgameframemobile",n[16]),524288&t[0]&&F(r,"casinogamesgridslider",n[19]),v!==n[86]&&(w(),v=n[86],b())},d(e){e&&me(r),w()}}}(e);return{c(){r&&r.c(),n=l()},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&&me(n)}}}function Pi(e){let n,r,a=e[40]("searchedItems")+"";return{c(){n=he("h3"),r=pe(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("searchedItems")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ii(e){let n,r,a=e[40]("noResults")+"";return{c(){n=he("h3"),r=pe(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noResults")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ri(e){let n,r,a=e[40]("recentSearchedItems")+"";return{c(){n=he("h3"),r=pe(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("recentSearchedItems")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Di(e){let n;return{c(){(n=he("p")).textContent="Waiting",fe(n,"class","SearchWaiting")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Ai(t){let r,a,i=!t[32]&&Ni(t),o=t[26],s=[];for(let e=0;e<o.length;e+=1)s[e]=Oi(ii(t,o,e));return{c(){i&&i.c(),r=ge(),a=he("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,r,t),ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(a,null)},p(t,n){if(t[32]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Ni(t)).c(),i.m(r.parentNode,r)),1140981736&n[0]|2048&n[1]){let e;for(o=t[26],e=0;e<o.length;e+=1){const i=ii(t,o,e);s[e]?s[e].p(i,n):(s[e]=Oi(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){i&&i.d(e),e&&me(r),e&&me(a),j(s,e)}}}function Ni(e){let n,r,a=e[40]("noRecentSearch")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(ct(e[41])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noRecentSearch")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Oi(e){let n,r,a,i,o,s,l,c,d,u,m,h,p,g;return{c(){F(n=he("casino-game-thumbnail"),"class",r=""+(x+(e[84].cellSize||"1x1"))),F(n,"part",a=""+(x+(e[84].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"searchitem",e[30]),F(n,"favorites",e[8]),F(n,"gamethumbnail",i=e[84].thumbnail),F(n,"gamename",o=e[84].name),F(n,"gamevendor",s=e[84].vendor.name),F(n,"gamelaunchurl",l=e[84].launchUrl),F(n,"gameisnew",c=e[84].isNew),F(n,"gametag",d=0<e[84].advancedTags?.length&&e[42](e[84].advancedTags)),F(n,"gamecellsize",u=e[84].cellSize),F(n,"gameid",m=e[84].id),F(n,"gamefunmode",h=e[84].hasFunMode),F(n,"showgamename",e[12]),F(n,"gamefavorite",p=e[84].isFavorite),F(n,"currency",e[11]),F(n,"livelobbyendpoint",g=e[84].details?e[84].href:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[13]),F(n,"gamepagemodalurl",e[14]),F(n,"integratedgameframedesktop",e[15]),F(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){67108864&t[0]&&r!==(r=""+(x+(e[84].cellSize||"1x1")))&&F(n,"class",r),67108864&t[0]&&a!==(a=""+(x+(e[84].cellSize||"1x1")))&&F(n,"part",a),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),1073741824&t[0]&&F(n,"searchitem",e[30]),256&t[0]&&F(n,"favorites",e[8]),67108864&t[0]&&i!==(i=e[84].thumbnail)&&F(n,"gamethumbnail",i),67108864&t[0]&&o!==(o=e[84].name)&&F(n,"gamename",o),67108864&t[0]&&s!==(s=e[84].vendor.name)&&F(n,"gamevendor",s),67108864&t[0]&&l!==(l=e[84].launchUrl)&&F(n,"gamelaunchurl",l),67108864&t[0]&&c!==(c=e[84].isNew)&&F(n,"gameisnew",c),67108864&t[0]&&d!==(d=0<e[84].advancedTags?.length&&e[42](e[84].advancedTags))&&F(n,"gametag",d),67108864&t[0]&&u!==(u=e[84].cellSize)&&F(n,"gamecellsize",u),67108864&t[0]&&m!==(m=e[84].id)&&F(n,"gameid",m),67108864&t[0]&&h!==(h=e[84].hasFunMode)&&F(n,"gamefunmode",h),4096&t[0]&&F(n,"showgamename",e[12]),67108864&t[0]&&p!==(p=e[84].isFavorite)&&F(n,"gamefavorite",p),2048&t[0]&&F(n,"currency",e[11]),67108864&t[0]&&g!==(g=e[84].details?e[84].href:"")&&F(n,"livelobbyendpoint",g),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),8192&t[0]&&F(n,"livecasino",e[13]),16384&t[0]&&F(n,"gamepagemodalurl",e[14]),32768&t[0]&&F(n,"integratedgameframedesktop",e[15]),65536&t[0]&&F(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function Bi(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Hi(e){let n;return{c(){(n=he("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ji(n){let r;function a(e){return e[23]?li:e[28]?si:oi}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O,fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[60](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[60](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ni,ti,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),m()}});const x="game-tile-";function zi(t,e,l){let D;dt(t,Jr,e=>l(40,D=e));let a,i,o,n,A,r,s,c,d,u,{categoryindex:N=""}=e,{endpoint:m=""}=e,{datasource:h=""}=e,{lang:p=""}=e,{session:O=""}=e,{userid:B=""}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{translationurl:v=""}=e,{currency:H=""}=e,{categoryid:b=""}=e,{showgamename:j=""}=e,{categorygames:z=0}=e,{livecasino:U="false"}=e,{visiblegames:W=""}=e,{gamepagemodalurl:Y="false"}=e,{integratedgameframedesktop:V="false"}=e,{integratedgameframemobile:Z="false"}=e,{casinomygames:w="false"}=e,{addfilterselector:K="false"}=e,{addsortingselector:q="false"}=e,{filterbylogo:X=""}=e,{casinogamesgridslider:J="false"}=e,{once:Q=!0}=e,{top:ee=0}=e,{bottom:te=0}=e,{left:ne=0}=e,{right:re=0}=e,x=!0,ae=!1,$=!0,ie=window.navigator.userAgent,C=[],S=!0,k=40,F=!1,_=!1,oe=!1,M=!1,se=!1,le=!0,ce=!1,E=!1,de=!1,G=new Array(1e4),L={},ue="",T="",P={items:[],count:0,name:""},me=(Object.keys(ra).forEach(e=>{na(e,ra[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>k&&pe(b),l(37,L[t]=1,L)):l(37,L[t]=0,L)})}));const I=(e,r,a)=>{l(22,x=!0);let t,i="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy"));return i=1<(b.match(/\$/g)||[]).length?(t=b.split("$").slice(0,2).join("$"),new URL(`${m}/v1/casino/groups/${h}/${t}/subGroups`)):new URL(`${m}/v1/casino/groups/${h}/`+b),new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",Qr(ie)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),o&&o[b])if(o[b].length&&!1===$&&!1===E){let t="";l(31,se=!0),o[b].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),i.searchParams.append("filter",""+t)}else l(31,se=!1);s&&(s[b]?s[b]&&"All"!=s[b]&&("isNew"==s[b]||"advancedTags(name(hot))"==s[b]?(i.searchParams.append("sortedField",`games(${s[b]})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${s[b]})`)):T&&"All"!=T&&("advancedTags(name(hot))"==T||"isNew"==T?(i.searchParams.append("sortedField",`games(${T})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${T})`))),fetch(i).then(e=>e.json()).then(e=>{l(22,x=!1),1<(b.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==b)return e})[0]),l(53,u=!0),l(23,ae=!1),A=e.games.total,t(e)},e=>{l(23,ae=!0),console.error(e),n(e)})})},he=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==b&&(l(28,F=!1),l(24,$=!1),l(27,S=!1),l(26,C=t.data.mostPlayedGames),l(25,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(22,x=!1);break;case"LastPlayedData":"LASTPLAYED"==b&&(l(28,F=!1),l(24,$=!1),l(27,S=!1),l(26,C=t.data.lastPlayedGames),l(25,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(22,x=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(28,F=!0),l(29,_=!0),0<t.data.searchData.length?(l(26,C=t.data.searchData),l(32,le=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})):(l(26,C=[]),l(32,le=!1));break;case"OutOfRecentSearches":l(28,F=!1),l(29,_=!1);break;case"SearchData":l(28,F=!0),l(29,_=!1),l(26,C=t.data.searchData.items||[]),l(30,M=!0),t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+b:l(28,F=!1),l(24,$=!0),l(1,K="false"),l(2,q="false"),l(27,S=!0),l(30,M=!1),de=!1,t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),I(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(25,o=e),l(26,C=o.games.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":k=20;break;case"ApplySorter":l(0,b=t.data.itemId),T=t.data.sortBy,I(0,0,k).then(e=>{l(25,o=e),l(26,C=o.games.items),l(27,S=!1)});break;case"CategoryUpdate":l(28,F=!1),l(24,$=!1),l(30,M=!1),de=!0,l(0,b=t.data.itemId),"MOSTPLAYED"!==b&&l(27,S=!1),"true"!==w&&I(0,0,k).then(e=>{l(25,o=e),o.games.items.forEach(e=>{e.isFavorite=R(e.id)}),l(26,C=o.games.items),l(27,S=!1),C.length<10&&0==t.data.origin&&(oe=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:oe},window.location.href)},500))});break;case"FavoriteUpdate":l(24,$=!0),o&&(l(26,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)}));break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(s=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;E?$||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":l(24,$=!1),t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(39,P.items=(e=e,P,n=window.navigator.userAgent,ct(n)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),P),l(39,P.name="Favorites",P),l(36,E=!0),l(22,x=!1));break;case"UserSessionID":if(a=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&a&&0<a.length){var r=`${m}/v1/player/${i}/favorites/`;n=a;l(22,x=!0);let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l(22,x=!1),s=e?e.items:[],C.forEach(e=>{e.isFavorite=R(e.id)});e=C;l(26,C=void 0),l(26,C=e),t(s)}).catch(e=>{console.error(e),n(e)})});return}else return void 0}var e,n},pe=e=>{k+=1,l(33,ce=!0),k<=A&&I(0,0,k).then(e=>{l(25,o=e),o.games.items.length>C.length&&(l(26,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),l(33,ce=!1)})},R=t=>!!s&&-1!==s.findIndex(e=>e.id==t),ge=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return ut(()=>(window.addEventListener("visibilitychange",e=>{document[d]?l(38,ue="disconnect"):l(38,ue="connect")}),window.addEventListener("message",he,!1),"FAVORITES"===b&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",he),window.removeEventListener("visibilitychange",he)})),t.$$set=e=>{"categoryindex"in e&&l(44,N=e.categoryindex),"endpoint"in e&&l(3,m=e.endpoint),"datasource"in e&&l(4,h=e.datasource),"lang"in e&&l(5,p=e.lang),"session"in e&&l(6,O=e.session),"userid"in e&&l(7,B=e.userid),"favorites"in e&&l(8,g=e.favorites),"clientstyling"in e&&l(9,f=e.clientstyling),"clientstylingurl"in e&&l(10,y=e.clientstylingurl),"translationurl"in e&&l(45,v=e.translationurl),"currency"in e&&l(11,H=e.currency),"categoryid"in e&&l(0,b=e.categoryid),"showgamename"in e&&l(12,j=e.showgamename),"categorygames"in e&&l(46,z=e.categorygames),"livecasino"in e&&l(13,U=e.livecasino),"visiblegames"in e&&l(47,W=e.visiblegames),"gamepagemodalurl"in e&&l(14,Y=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(15,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(16,Z=e.integratedgameframemobile),"casinomygames"in e&&l(17,w=e.casinomygames),"addfilterselector"in e&&l(1,K=e.addfilterselector),"addsortingselector"in e&&l(2,q=e.addsortingselector),"filterbylogo"in e&&l(18,X=e.filterbylogo),"casinogamesgridslider"in e&&l(19,J=e.casinogamesgridslider),"once"in e&&l(48,Q=e.once),"top"in e&&l(49,ee=e.top),"bottom"in e&&l(50,te=e.bottom),"left"in e&&l(51,ne=e.left),"right"in e&&l(52,re=e.right)},t.$$.update=()=>{if(2097152&t.$$.dirty[0]|4194304&t.$$.dirty[1]&&u&&G&&de&&G.forEach((e,t)=>{e&&(e.elems_index=t,me.observe(e))}),33&t.$$.dirty[0]&&p&&b)switch(b){case"FAVORITES":l(36,E=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&l(36,E=!1)}if(16384&t.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{na(e,t[e])})}).catch(e=>{console.log(e)}),1049088&t.$$.dirty[0]&&f&&c&&((e=document.createElement("style")).innerHTML=f,c.appendChild(e)),1049600&t.$$.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)})}var e},[b,K,q,m,h,p,O,B,g,f,y,H,j,U,Y,V,Z,w,X,J,c,G,x,ae,$,o,C,S,F,_,M,se,le,ce,n,r,E,L,ue,P,D,ie,r=>{if(0===(null==r?void 0:r.length))return"";let a,i="",o=999999999999;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);oa(e).diff(s)<o&&(o=oa(e).diff(s),a=t),oa(s).isAfter(n)&&oa(s).isBefore(e)&&(i=r[a].name)}),i},ge,N,v,z,W,Q,ee,te,ne,re,u,function(e){st[e?"unshift":"push"](()=>{r=e,l(35,r)})},e=>ge(o.id),function(e,t){st[e?"unshift":"push"](()=>{G[t]=e,l(21,G)})},function(e){st[e?"unshift":"push"](()=>{n=e,l(34,n)})},function(e){st[e?"unshift":"push"](()=>{r=e,l(35,r)})},function(e){st[e?"unshift":"push"](()=>{n=e,l(34,n)})},function(e){st[e?"unshift":"push"](()=>{c=e,l(20,c)})}]}function Ui(e,t){$r(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, 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-casino-typography, 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 .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-casino-typography, 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 0 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}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},zi,ji,n,{categoryindex:44,endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:45,currency:11,categoryid:0,showgamename:12,categorygames:46,livecasino:13,visiblegames:47,gamepagemodalurl:14,integratedgameframedesktop:15,integratedgameframemobile:16,casinomygames:17,addfilterselector:1,addsortingselector:2,filterbylogo:18,casinogamesgridslider:19,once:48,top:49,bottom:50,left:51,right:52},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[44]}set categoryindex(e){this.$$set({categoryindex:e}),m()}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[45]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[11]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get categorygames(){return this.$$.ctx[46]}set categorygames(e){this.$$set({categorygames:e}),m()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[47]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[15]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[16]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[18]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get casinogamesgridslider(){return this.$$.ctx[19]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get once(){return this.$$.ctx[48]}set once(e){this.$$set({once:e}),m()}get top(){return this.$$.ctx[49]}set top(e){this.$$set({top:e}),m()}get bottom(){return this.$$.ctx[50]}set bottom(e){this.$$set({bottom:e}),m()}get left(){return this.$$.ctx[51]}set left(e){this.$$set({left:e}),m()}get right(){return this.$$.ctx[52]}set right(e){this.$$set({right:e}),m()}});const Wi={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"},tr:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada"}};function Yi(e,t,n){e=e.slice();return e[35]=t[n],e[37]=n,e}function Vi(n){let r,a,i,o,s,l,c,d=!n[7]&&Zi(n),u=n[7]&&qi(n);return{c(){r=he("div"),a=he("div"),(i=he("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(i,"class","ModalCloseBtn"),fe(i,"role","button"),fe(a,"class","ModalContainer"),fe(r,"class","ModalWindow")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),d&&d.m(a,null),de(a,s),u&&u.m(a,null),l||(c=U(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Zi(e)).c(),d.m(a,s)),e[7]?u?u.p(e,t):((u=qi(e)).c(),u.m(a,null)):u&&(u.d(1),u=null)},d(e){e&&me(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Zi(t){let n,r,a,i,o,s,e=t[8]("randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Ki(Yi(t,l,e));return{c(){n=he("div"),r=he("main"),a=he("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),o=he("p"),s=pe(e),fe(a,"class","items"),_(a,"transform","translateY("+t[6]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(n,"class","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(a,null);de(n,i),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=Yi(t,l,e);c[e]?c[e].p(r,n):(c[e]=Ki(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&_(a,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),j(c,e)}}}function Ki(e){let n,r,a,i,o,s;return{c(){n=he("div"),r=he("img"),s=ge(),fe(r,"class","RandomGameImage"),ce(r.src,a=e[35].thumbnail)||fe(r,"src",a),fe(r,"alt",i=e[35].name),fe(r,"title",o=e[35].name),fe(n,"class","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){16&t[0]&&!ce(r.src,a=e[35].thumbnail)&&fe(r,"src",a),16&t[0]&&i!==(i=e[35].name)&&fe(r,"alt",i),16&t[0]&&o!==(o=e[35].name)&&fe(r,"title",o)},d(e){e&&me(n)}}}function qi(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C=n[3].name+"",S=n[3].vendor.name+"",k=n[8]("playNowRandomGame")+"";return{c(){r=he("div"),a=he("div"),i=he("img"),c=ge(),(d=he("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-button-typography, 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(),m=he("div"),h=he("p"),p=pe(C),g=ge(),f=he("p"),y=pe(S),v=ge(),b=he("button"),w=pe(k),fe(i,"class","RandomGameImage"),ce(i.src,o=n[3].thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(a,"class","item"),fe(h,"class","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(b,"class","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(r,"class","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,c),de(a,d),de(r,u),de(r,m),de(m,h),de(h,p),de(m,g),de(m,f),de(f,y),de(m,v),de(m,b),de(b,w),x||($=[U(d,"click",n[20]),U(b,"click",n[21])],x=!0)},p(e,t){8&t[0]&&!ce(i.src,o=e[3].thumbnail)&&fe(i,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(i,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(p,C),8&t[0]&&S!==(S=e[3].vendor.name+"")&&ye(y,S),256&t[0]&&k!==(k=e[8]("playNowRandomGame")+"")&&ye(w,k)},d(e){e&&me(r),x=!1,H($)}}}function Xi(e){let n,r,a=e[8]("playRandomGame")+"";return{c(){n=he("span"),r=pe(a),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&a!==(a=e[8]("playRandomGame")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ji(e){let n,r;return{c(){n=he("span"),r=pe(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&&me(n)}}}function Qi(n){let r,a,i,o,s,l,c,d,u=n[5]&&Vi(n);function m(e){return e[1]?Ji:e[1]?void 0:Xi}let h=m(n),p=h&&h(n);return{c(){r=he("div"),u&&u.c(),a=ge(),i=he("div"),o=he("button"),p&&p.c(),s=ge(),l=he("span"),this.c=O,fe(l,"class","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),u&&u.m(r,null),de(r,a),de(r,i),de(i,o),p&&p.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](r),c||(d=U(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Vi(e)).c(),u.m(r,a)):u&&(u.d(1),u=null),h===(h=m(e))&&p?p.p(e,t):(p&&p.d(1),(p=h&&h(e))&&(p.c(),p.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:O,o:O,d(e){e&&me(r),u&&u.d(),p&&p.d(),n[23](null),c=!1,d()}}}function eo(n,e,r){let t;dt(n,Jr,e=>r(8,t=e));let a,i,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:m=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",v=!1,b=0,w=0,x=!1,$=window.navigator.userAgent;var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(S),lt.set(C))}),Object.keys(Wi).forEach(e=>{Ui(e,Wi[e])});const k=()=>{r(4,a=M(a)),r(6,b=0),w=0,r(7,x=!1),r(3,y=f[Math.floor(Math.random()*f.length)]),r(5,v=!0)};let F;const _=e=>{if(g)for(;k(),!g.includes(y.vendor.name););else k();clearInterval(F),F=setInterval(()=>{r(6,b-=75),20==++w&&(r(7,x=!0),clearInterval(F))},150),e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},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),r(5,v=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return n.$$set=e=>{"endpoint"in e&&r(12,o=e.endpoint),"datasource"in e&&r(13,s=e.datasource),"gameevent"in e&&r(14,l=e.gameevent),"lang"in e&&r(15,c=e.lang),"randombuttonicon"in e&&r(0,d=e.randombuttonicon),"buttontext"in e&&r(1,u=e.buttontext),"translationurl"in e&&r(16,m=e.translationurl),"clientstyling"in e&&r(17,h=e.clientstyling),"clientstylingurl"in e&&r(18,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&r(19,g=e.filteredrandomgamecategories)},n.$$.update=()=>{if(32768&n.$$.dirty[0]&&c&&(t=c,lt.set(t)),65536&n.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ui(e,t[e])})}).catch(e=>{console.log(e)}),12288&n.$$.dirty[0]&&o&&s&&((t=new URL(o+"/v1/casino/games")).searchParams.append("platform",Qr($)),t.searchParams.append("datasource",s),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),t.searchParams.append("expand","vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{f=e.items,r(4,a=f.slice(0,19))})),131076&n.$$.dirty[0]&&h&&i&&((e=document.createElement("style")).innerHTML=h,i.appendChild(e)),262148&n.$$.dirty[0]&&p&&i){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t},[d,u,i,y,a,v,b,x,t,_,E,()=>{r(5,v=!1),window.postMessage({type:"RandomWidgetState",state:v},window.location.href)},o,s,l,c,m,h,p,g,()=>_(!0),()=>E(),()=>_(),function(e){st[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}function to(e,t){$r(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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, 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, 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;transition:transform 400ms ease-in-out}.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-casino-color-primary, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},eo,Qi,n,{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),m())}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}),m()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),m()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),m()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}});const no={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}};function ro(n){let r;return{c(){(r=he("div")).innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=O},m(e,t){ue(e,r,t),n[3](r)},p:O,i:O,o:O,d(e){e&&me(r),n[3](null)}}}function ao(t,e,n){let r,{clientstyling:a=""}=e,{clientstylingurl:i=""}=e;return t.$$set=e=>{"clientstyling"in e&&n(1,a=e.clientstyling),"clientstylingurl"in e&&n(2,i=e.clientstylingurl)},t.$$.update=()=>{if(3&t.$$.dirty&&a&&r&&((e=document.createElement("style")).innerHTML=a,r.appendChild(e)),5&t.$$.dirty&&i&&r){let e=new URL(i),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[r,a,i,function(e){st[e?"unshift":"push"](()=>{r=e,n(0,r)})}]}function io(e,t,n){e=e.slice();return e[67]=t[n],e}function oo(e,t,n){e=e.slice();return e[70]=t[n],e}function so(n){let a,r,i,o,s,l,c,d,e,u,m,h,p,g,f,y,v,b,w,x=n[17],$=[];for(let e=0;e<x.length;e+=1)$[e]=mo(oo(n,x,e));function C(e){return e[18]?po:ho}let S=C(n),k=S(n);return{c(){a=he("div"),r=he("div"),i=he("div");for(let e=0;e<$.length;e+=1)$[e].c();o=ge(),s=he("div"),l=he("button"),c=z("svg"),d=z("path"),u=ge(),m=he("button"),h=z("svg"),p=z("path"),y=ge(),k.c(),fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[12]>=n[11].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(p,"style",g=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(h,"id","Component_46_2"),fe(h,"data-name","Component 46 – 2"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(h,"width","15"),fe(h,"height","15"),fe(h,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[6]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(a,"class",v="CasinoWinners "+(n[13]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i);for(let e=0;e<$.length;e+=1)$[e]&&$[e].m(i,null);de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,h),de(h,p),de(a,y),k.m(a,null),b||(w=[U(l,"click",n[42]),U(m,"click",n[43])],b=!0)},p(t,n){if(1704963&n[0]){let e;for(x=t[17],e=0;e<x.length;e+=1){var r=oo(t,x,e);$[e]?$[e].p(r,n):($[e]=mo(r),$[e].c(),$[e].m(i,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=x.length}6144&n[0]&&e!==(e=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),6144&n[0]&&g!==(g=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),64&n[0]&&f!==(f="ButtonsContainer "+("true"==t[6]?"ButtonsContainerNone":""))&&fe(s,"class",f),S===(S=C(t))&&k?k.p(t,n):(k.d(1),(k=S(t))&&(k.c(),k.m(a,null))),8192&n[0]&&v!==(v="CasinoWinners "+(t[13]?"Mobile":""))&&fe(a,"class",v)},d(e){e&&me(a),j($,e),k.d(),b=!1,H(w)}}}function lo(e){let n;return{c(){F(n=he("general-animation-loading"),"clientstyling",e[4]),F(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"clientstyling",e[4]),32&t[0]&&F(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function co(n){let r,a,i,o,s,l=n[19]("recentWinners")+"";return{c(){r=he("button"),a=pe(l),fe(r,"class",i="WinnersButton "+("recent"==n[10]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[40]),o=!0)},p(e,t){524288&t[0]&&l!==(l=e[19]("recentWinners")+"")&&ye(a,l),1025&t[0]&&i!==(i="WinnersButton "+("recent"==e[10]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function uo(n){let r,a,i,o,s,l,c=n[19]("topWinners")+"";return{c(){r=he("button"),a=pe(c),i=ge(),fe(r,"class",o="WinnersButton "+("top"==n[10]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=U(r,"click",n[41]),s=!0)},p(e,t){524288&t[0]&&c!==(c=e[19]("topWinners")+"")&&ye(a,c),1026&t[0]&&o!==(o="WinnersButton "+("top"==e[10]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function mo(e){let n,r,a="recent"==e[70]&&co(e),i="top"==e[70]&&uo(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[70]?a?a.p(e,t):((a=co(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[70]?i?i.p(e,t):((i=uo(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&me(n),i&&i.d(e),e&&me(r)}}}function ho(n){let a,i=n[11],o=[];for(let e=0;e<i.length;e+=1)o[e]=go(io(n,i,e));return{c(){a=he("div");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class","WinnersSlider")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);n[45](a)},p(t,n){if(6883468&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var r=io(t,i,e);o[e]?o[e].p(r,n):(o[e]=go(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){e&&me(a),j(o,e),n[45](null)}}}function po(e){let n;return{c(){F(n=he("general-animation-loading"),"clientstyling",e[4]),F(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"clientstyling",e[4]),32&t[0]&&F(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function go(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C,S,k,F,_=n[67].gameName+"",M=n[21](n[67].username)+"",E=n[19]("won")+"",G=n[67].specifiedCurrencyAmount.toFixed(2)+"",L=(n[7]?n[3]:n[2])+"";function T(){return n[44](n[67])}return{c(){r=he("div"),a=he("div"),i=he("img"),l=ge(),c=he("p"),d=pe(_),u=ge(),m=he("p"),h=pe(M),p=ge(),g=he("p"),f=pe(E),y=ge(),v=he("p"),b=pe(G),w=ge(),x=he("span"),$=pe(L),C=ge(),ce(i.src,o=n[67]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[67]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[16]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,l),de(a,c),de(c,d),de(a,u),de(a,m),de(m,h),de(a,p),de(a,g),de(g,f),de(a,y),de(a,v),de(v,b),de(v,w),de(v,x),de(x,$),de(r,C),k||(F=U(i,"click",T),k=!0)},p(e,t){n=e,2048&t[0]&&!ce(i.src,o=n[67]?.gameModel?.thumbnail)&&fe(i,"src",o),2048&t[0]&&s!==(s=n[67]?.gameModel?.thumbnail)&&fe(i,"alt",s),2048&t[0]&&_!==(_=n[67].gameName+"")&&ye(d,_),2048&t[0]&&M!==(M=n[21](n[67].username)+"")&&ye(h,M),524288&t[0]&&E!==(E=n[19]("won")+"")&&ye(f,E),2048&t[0]&&G!==(G=n[67].specifiedCurrencyAmount.toFixed(2)+"")&&ye(b,G),140&t[0]&&L!==(L=(n[7]?n[3]:n[2])+"")&&ye($,L),65536&t[0]&&S!==(S="CardWrapper "+(n[16]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&me(r),k=!1,F()}}}function fo(n){let r;function a(e){return e[14]||e[15]?lo:so}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[46](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[46](null)}}}function yo(n,e,r){let D;dt(n,Jr,e=>r(19,D=e));let a,i,A,o,N,s,O,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:h=""}=e,{periodrecent:p="Today"}=e,{periodtop:g="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:v="1"}=e,{vendorCategory:b="All"}=e,{lang:w="en"}=e,{isrecentavailable:x="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:t=""}=e,{usercurrency:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:F=""}=e,{tabsorder:_=""}=e,{translationurl:M=""}=e,{winnersdatasources:E=""}=e,{hascustomstyling:G="false"}=e,L=[],T=0,P=0,B=window.navigator.userAgent,I=!0,R=!1,H=!1,j=[],z=!1;Object.keys(no).forEach(e=>{to(e,no[e])});const U=()=>{j=E.split(",").map(function(e){return e.trim()});const t=new URL(`${u}/v1/casino/${i}-winners`);r(18,z=!0),t.searchParams.append("limit","recent"==i?f:y),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==i?p:g),t.searchParams.append("language",w),t.searchParams.append("amountLimit",v),t.searchParams.append("vendorCategory",b),j.forEach(e=>{t.searchParams.append("dataSource",e)}),setTimeout(()=>{fetch(t.href).then(e=>e.json()).then(e=>{r(11,L=[]),r(11,L=e.items.map(e=>e)),r(18,z=!1),setTimeout(()=>{r(12,P=Math.round(a.offsetWidth/225)),V(),"true"==F&&(clearInterval(l),T=0,P<O?l=setInterval(()=>{q()},3e3):clearInterval(l)),r(14,I=!1)},5)})},1e3)},W=e=>{i!==e&&(r(11,L=[]),r(10,i=e),U())},Y=(e,t,n,r)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n,subVendor:r},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(N||"Not logged in")})},V=n=>{var e=[...a.children];O=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{r(16,H=!0)},10)},Z=()=>{V(T)},K=()=>{var e;P>=L.length||(e=L.length,0===T?T=e-P:T-P<0?T=0:T-=P,Z())},q=()=>{var e;P>=L.length||(e=L.length,"true"==F&&(T===e-P?T=0:T++),"false"==F&&(T===e-P?T=0:e-P<T+P?T=e-P:T+=P),Z())},X=()=>{r(39,d=o?C:t)};return ut(()=>(r(13,A=ct(B)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&r(26,u=e.endpoint),"session"in e&&r(27,m=e.session),"userid"in e&&r(28,h=e.userid),"periodrecent"in e&&r(29,p=e.periodrecent),"periodtop"in e&&r(30,g=e.periodtop),"numberusersrecent"in e&&r(31,f=e.numberusersrecent),"numberuserstop"in e&&r(32,y=e.numberuserstop),"amountlimit"in e&&r(25,v=e.amountlimit),"vendorCategory"in e&&r(33,b=e.vendorCategory),"lang"in e&&r(34,w=e.lang),"isrecentavailable"in e&&r(0,x=e.isrecentavailable),"istopavailable"in e&&r(1,$=e.istopavailable),"defaultcurrency"in e&&r(2,t=e.defaultcurrency),"usercurrency"in e&&r(3,C=e.usercurrency),"clientstyling"in e&&r(4,S=e.clientstyling),"clientstylingurl"in e&&r(5,k=e.clientstylingurl),"enableautoscroll"in e&&r(6,F=e.enableautoscroll),"tabsorder"in e&&r(35,_=e.tabsorder),"translationurl"in e&&r(36,M=e.translationurl),"winnersdatasources"in e&&r(37,E=e.winnersdatasources),"hascustomstyling"in e&&r(38,G=e.hascustomstyling)},n.$$.update=()=>{if(1644167171&n.$$.dirty[0]|31&n.$$.dirty[1]&&x&&$&&p&&g&&f&&y&&v&&b&&w&&_&&(r(17,c=_.split(",")),r(10,i=c[0]),"false"==x&&r(25,v=""),X(),r(14,I=!1)),201326592&n.$$.dirty[0]&&m&&u&&(r(7,o=!0),N=h),128&n.$$.dirty[0]&&o&&X(),67108864&n.$$.dirty[0]|256&n.$$.dirty[1]&&u&&d&&U(),8&n.$$.dirty[1]&&w&&(t=w,lt.set(t)),32&n.$$.dirty[1]&&M&&(t=new URL(M),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{to(e,t[e])})}).catch(e=>{console.log(e)})),128&n.$$.dirty[1]&&G&&"true"===G&&(S||k||!s||console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!S)&&k&&r(15,R=!0),272&n.$$.dirty[0]&&S&&s&&((e=document.createElement("style")).innerHTML=S,s.appendChild(e)),288&n.$$.dirty[0]&&k&&s){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500),r(15,R=!1)})}var e,t;64&n.$$.dirty[1]&&E&&U()},[x,$,t,C,S,k,F,o,s,a,i,L,P,A,I,R,H,c,z,D,W,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),Y,K,q,v,u,m,h,p,g,f,y,b,w,_,M,E,G,d,()=>W("recent"),()=>W("top"),()=>K(),()=>q(),e=>Y(e.gameId,e.gameModel.launchUrl,e.gameModel.name,e.gameModel.subVendor),function(e){st[e?"unshift":"push"](()=>{a=e,r(9,a)})},function(e){st[e?"unshift":"push"](()=>{s=e,r(8,s)})}]}function vo(e,t){$r(e,t)}customElements.get("general-animation-loading")||customElements.define("general-animation-loading",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ao,ro,n,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-winners")||customElements.define("casino-winners",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, 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-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, 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:last-child{margin-right:0}.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}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},yo,fo,n,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:25,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:35,translationurl:36,winnersdatasources:37,hascustomstyling:38},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources","hascustomstyling"]}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[27]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[28]}set userid(e){this.$$set({userid:e}),m()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[30]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[25]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(e){this.$$set({vendorCategory:e}),m()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),m()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get tabsorder(){return this.$$.ctx[35]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),m()}get winnersdatasources(){return this.$$.ctx[37]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get hascustomstyling(){return this.$$.ctx[38]}set hascustomstyling(e){this.$$set({hascustomstyling:e}),m()}});const bo={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"}};function wo(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function xo(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b;function w(e){return e[5]?So:ko}let x=w(n),$=x(n);return{c(){r=he("div"),a=he("div"),i=he("div"),o=he("div"),s=he("img"),c=ge(),d=he("div"),$.c(),u=ge(),m=he("div"),h=he("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(h.src,p=n[11])||fe(h,"src",p),fe(h,"alt",""),fe(m,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),_(i,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,c),de(i,d),$.m(d,null),de(i,u),de(i,m),de(m,h),v||(b=U(a,"click",n[31]),v=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&$?$.p(e,t):($.d(1),($=x(e))&&($.c(),$.m(d,null))),2048&t[0]&&!ce(h.src,p=e[11])&&fe(h,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&_(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&me(r),$.d(),v=!1,b()}}}function $o(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Co(e){let n;return{c(){(n=he("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function So(e){let n,r,a,i,o,s,A,l,c,N,O,d,B,H,u,m,h,p,g,j,f,y,z,U,v,W,Y,b,w,x,$,C,S,V,k,F,Z,K,_,q,X,M,E,G,L,T,J,P,I,Q,ee,R,te,D=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ae=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=he("div"),r=he("div"),a=he("div"),i=he("img"),s=he("span"),A=pe(D),l=he("span"),c=he("span"),N=pe(ne),O=ge(),d=he("span"),B=pe(e[1]),H=ge(),u=he("div"),m=he("div"),h=he("img"),g=he("span"),j=pe(re),f=he("span"),y=he("span"),z=pe(ae),U=ge(),v=he("span"),W=pe(e[1]),Y=ge(),b=he("div"),w=he("div"),x=he("div"),$=he("img"),S=he("span"),V=pe(ie),k=he("span"),F=he("span"),Z=pe(oe),K=ge(),_=he("span"),q=pe(e[1]),X=ge(),M=he("div"),E=he("div"),G=he("img"),T=he("span"),J=pe(se),P=he("span"),I=he("span"),Q=pe(le),ee=ge(),R=he("span"),te=pe(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,o=e[9][0])||fe(i,"src",o),fe(i,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(h,"class","displayCardIcon"),ce(h.src,p=e[9][1])||fe(h,"src",p),fe(h,"alt",""),fe(g,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(v,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(F,"class","jackpotValue"),fe(_,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(G,"class","displayCardIcon"),ce(G.src,L=e[9][3])||fe(G,"src",L),fe(G,"alt",""),fe(T,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(M,"class","displayCard"),fe(b,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(a,i),de(a,s),de(s,A),de(r,l),de(l,c),de(c,N),de(l,O),de(l,d),de(d,B),de(n,H),de(n,u),de(u,m),de(m,h),de(m,g),de(g,j),de(u,f),de(f,y),de(y,z),de(f,U),de(f,v),de(v,W),ue(e,Y,t),ue(e,b,t),de(b,w),de(w,x),de(x,$),de(x,S),de(S,V),de(w,k),de(k,F),de(F,Z),de(k,K),de(k,_),de(_,q),de(b,X),de(b,M),de(M,E),de(E,G),de(E,T),de(T,J),de(M,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(N,ne),2&t[0]&&ye(B,e[1]),512&t[0]&&!ce(h.src,p=e[9][1])&&fe(h,"src",p),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(z,ae),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(q,e[1]),512&t[0]&&!ce(G.src,L=e[9][3])&&fe(G,"src",L),256&t[0]&&se!==(se=e[8][3]+"")&&ye(J,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(Y),e&&me(b)}}}function ko(t){let a,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=Fo(wo(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var r=wo(t,i,e);o[e]?o[e].p(r,n):(o[e]=Fo(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function Fo(e){let n,r,a,i,o,s,l,c,d,u,m,h,p=e[8][e[50]]+"",g=(e[7][e[50]]??"")+"";return{c(){n=he("div"),r=he("div"),a=he("img"),o=he("span"),s=pe(p),l=he("span"),c=he("span"),d=pe(g),u=ge(),m=he("span"),h=pe(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,i=e[9][e[50]])||fe(a,"src",i),fe(a,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h)},p(e,t){512&t[0]&&!ce(a.src,i=e[9][e[50]])&&fe(a,"src",i),256&t[0]&&p!==(p=e[8][e[50]]+"")&&ye(s,p),128&t[0]&&g!==(g=(e[7][e[50]]??"")+"")&&ye(d,g),2&t[0]&&ye(h,e[1])},d(e){e&&me(n)}}}function _o(n){let r;function a(e){return e[13]?Co:e[3]?$o:xo}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[32](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[32](null)}}}function Mo(r,e,a){let i,o,{visualstructure:s=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:h=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:$=""}=e,A=window.navigator.userAgent,C=!1,S=!1,k="",F=[],_=[],M=[],E=[],G=[],L="",T="",P=!1,I=!0,R=!1;Object.keys(bo).forEach(e=>{vo(e,bo[e])});const D=["typeSpread","typeLeft"],n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:$},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+$})};return r.$$set=e=>{"visualstructure"in e&&a(0,s=e.visualstructure),"title"in e&&a(15,t=e.title),"caticon0"in e&&a(16,l=e.caticon0),"caticon1"in e&&a(17,c=e.caticon1),"caticon2"in e&&a(18,d=e.caticon2),"caticon3"in e&&a(19,u=e.caticon3),"iconlabels"in e&&a(20,m=e.iconlabels),"backgroundsrc"in e&&a(21,h=e.backgroundsrc),"currency"in e&&a(1,p=e.currency),"backgroundsrcmobile"in e&&a(22,g=e.backgroundsrcmobile),"titlelogopath"in e&&a(23,f=e.titlelogopath),"lang"in e&&a(24,y=e.lang),"clientstyling"in e&&a(25,v=e.clientstyling),"clientstylingurl"in e&&a(26,b=e.clientstylingurl),"translationurl"in e&&a(27,w=e.translationurl),"endpoint"in e&&a(28,x=e.endpoint),"gameid"in e&&a(29,$=e.gameid)},r.$$.update=()=>{if(268435456&r.$$.dirty[0]&&x&&(n=new URL(x+"/v1/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{a(30,_=e.egtJackpotIds.map(e=>e))})),33554436&r.$$.dirty[0]&&i&&v&&((n=document.createElement("style")).innerHTML=v,i.appendChild(n)),67108868&r.$$.dirty[0]&&i&&b){a(12,P=!0);let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{a(12,P=!1)},500)})}var e,t,n;1358954498&r.$$.dirty[0]&&x&&y&&p&&0<_.length&&x&&y&&p&&((t=new URL(x+"/v1/casino/jackpots")).searchParams.append("filter","id="+$),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",p),fetch(t.href).then(e=>e.json().then(e=>{a(3,I=!1),o=e,_.includes($)&&((e=null==(e=null==(e=o)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),e=o,a(6,k=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{a(13,R=!0),a(3,I=!1),console.error(e)}))),16777226&r.$$.dirty[0]&&p&&y&&!I&&(a(4,C=ct(A)&&1<window.innerHeight/window.innerWidth),a(5,S=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&a(7,M=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),a(8,E=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.includes(s.trim())?a(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${D[0]}"`),a(0,s=D[0])),a(10,L=g&&C&&!S?g:h),a(11,T=f),a(9,G=[l,c,d,u])),16777216&r.$$.dirty[0]&&y&&(e=y,lt.set(e)),134217728&r.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{vo(e,t[e])})}).catch(e=>{console.log(e)})},[s,p,i,I,C,S,k,M,E,G,L,T,P,R,n,t,l,c,d,u,m,h,g,f,y,v,b,w,x,$,_,()=>n(),function(e){st[e?"unshift":"push"](()=>{i=e,a(2,i)})}]}function Eo(e,t){$r(e,t)}customElements.get("casino-jackpot-banner")||customElements.define("casino-jackpot-banner",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':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:auto;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}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Mo,_o,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}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}),m()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),m()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),m()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),m()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),m()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),m()}});const Go={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function Lo(e,t,n){e=e.slice();return e[39]=t[n],e}function To(e,t,n){e=e.slice();return e[42]=t[n],e}function Po(n){let a,r,i,o,s,l,c,d,u,m,h,e,p,g,f=("vendor"==n[0]?n[8]("providers"):n[8]("collections"))+"",y=n[3],v=[];for(let e=0;e<y.length;e+=1)v[e]=Oo(Lo(n,y,e));return{c(){a=he("div"),r=he("div"),i=he("p"),o=pe(f),s=ge(),l=he("div"),(c=he("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=he("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>',m=ge(),h=he("div");for(let e=0;e<v.length;e+=1)v[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(h,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(r,s),de(r,l),de(l,c),de(l,d),de(l,u),de(a,m),de(a,h);for(let e=0;e<v.length;e+=1)v[e]&&v[e].m(h,null);n[23](h),p||(g=[U(c,"click",n[19]),U(u,"click",n[20])],p=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("providers"):t[8]("collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var r=Lo(t,y,e);v[e]?v[e].p(r,n):(v[e]=Oo(r),v[e].c(),v[e].m(h,null))}for(;e<v.length;e+=1)v[e].d(1);v.length=y.length}128&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(v,e),n[23](null),p=!1,H(g)}}}function Io(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Ro(e){let n,r,a=e[39].name+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&a!==(a=e[39].name+"")&&ye(r,a)},d(e){e&&me(n)}}}function Do(e){let n,r,a;return{c(){fe(n=he("img"),"class","CategorySlideLogo"),ce(n.src,r=e[39].icon)||fe(n,"src",r),fe(n,"alt",a=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,r=e[39].icon)&&fe(n,"src",r),8&t[0]&&a!==(a=e[39].name+" icon")&&fe(n,"alt",a)},d(e){e&&me(n)}}}function Ao(e){let n,r,a,i=e[42].name+"";return{c(){n=he("p"),r=pe(i),fe(n,"title",a=e[42].name)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(r,i),8&t[0]&&a!==(a=e[42].name)&&fe(n,"title",a)},d(e){e&&me(n)}}}function No(n){let r,a,i,o,s,l,c,d;function u(){return n[21](n[42])}let m="true"==n[2]&&Ao(n);return{c(){r=he("div"),a=he("img"),s=ge(),m&&m.c(),l=ge(),fe(a,"class","CategorySlideGameImage"),ce(a.src,i=n[42].defaultThumbnail)||fe(a,"src",i),fe(a,"alt",o=n[42].name),fe(r,"class","CategorySlideGames")},m(e,t){var n;ue(e,r,t),de(r,a),de(r,s),m&&m.m(r,null),de(r,l),c||(d=U(a,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(a.src,i=n[42].defaultThumbnail)&&fe(a,"src",i),8&t[0]&&o!==(o=n[42].name)&&fe(a,"alt",o),"true"==n[2]?m?m.p(n,t):((m=Ao(n)).c(),m.m(r,l)):m&&(m.d(1),m=null)},d(e){e&&me(r),m&&m.d(),c=!1,d()}}}function Oo(n){let r,a,i,o,s,l,c,d,u;function m(e){return"logo"==e[1]?Do:"title"==e[1]?Ro:void 0}let h=m(n),p=h&&h(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=No(To(n,g,e));function y(){return n[22](n[39])}return{c(){r=he("div"),a=he("div"),i=he("div"),p&&p.c(),o=ge(),s=he("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),_(a,"background-image","url("+n[39]?.background+")"),_(a,"background-size","cover"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,a),de(a,i),p&&p.m(i,null),de(a,o),de(a,s);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(s,null);de(r,c),d||(u=U(a,"click",y),d=!0)},p(e,t){if(h===(h=m(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=h&&h(n))&&(p.c(),p.m(i,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const a=To(n,g,e);f[e]?f[e].p(a,t):(f[e]=No(a),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),8&t[0]&&_(a,"background-image","url("+n[39]?.background+")")},d(e){e&&me(r),p&&p.d(),j(f,e),d=!1,u()}}}function Bo(n){let r;function a(e){return e[6]?Io:Po}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[24](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[24](null)}}}function Ho(n,e,r){let t;dt(n,Jr,e=>r(8,t=e));let a,i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,v=[],b=!0,w=0,x=0,$=0,C=window.navigator.userAgent;Object.keys(Go).forEach(e=>{Eo(e,Go[e])});const S=n=>{(o=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),$=Math.round(a.offsetWidth/i)},k=()=>{S(w)},F=()=>{$>=x||(0===w?w=x-$:w-$<-1?w=0:w--,k())},_=()=>{$>=x||(w===x-$?w=0:x-$<w+1?w=x-$:w++,k())},M=(e,t,n,r)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n,subVendor:r},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return ut(()=>{r(7,l=ct(C))}),n.$$set=e=>{"endpoint"in e&&r(13,c=e.endpoint),"datasource"in e&&r(14,d=e.datasource),"lang"in e&&r(15,u=e.lang),"type"in e&&r(0,m=e.type),"titletype"in e&&r(1,h=e.titletype),"clientstyling"in e&&r(16,p=e.clientstyling),"clientstylingurl"in e&&r(17,g=e.clientstylingurl),"translationurl"in e&&r(18,f=e.translationurl),"collectionprovidersgamenames"in e&&r(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(6,b=!1);e=e.items.filter(e=>e.flags==m);r(3,v=e.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),x=v.length})),24&n.$$.dirty[0]&&v&&a&&S(),32768&n.$$.dirty[0]&&u&&(t=u,lt.set(t)),65568&n.$$.dirty[0]&&p&&s&&((e=document.createElement("style")).innerHTML=p,s.appendChild(e)),131104&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)})}var e,t;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Eo(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,y,v,a,s,b,l,t,F,_,M,E,c,d,u,p,g,f,()=>F(),()=>_(),e=>M(e.gameId,e.launchUrl,e.name,e.subVendor),e=>E(e.id),function(e){st[e?"unshift":"push"](()=>{a=e,r(4,a)})},function(e){st[e?"unshift":"push"](()=>{s=e,r(5,s)})}]}function jo(n){let r,a;return{c(){r=he("div"),a=he("casino-games-category-section"),this.c=O,F(a,"session",n[0]),F(a,"userid",n[1]),F(a,"endpoint",n[2]),F(a,"datasource",n[3]),F(a,"lang",n[5]),F(a,"currency",n[4]),F(a,"favorites",n[14]),F(a,"categoryid","FAVORITES"),F(a,"class","CategoryContainer"),F(a,"showgamename",n[11]),F(a,"clientstyling",n[6]),F(a,"clientstylingurl",n[7]),F(a,"livecasino",n[8]),F(a,"visiblegames",n[13]),F(a,"gamepagemodalurl",n[12]),F(a,"integratedgameframedesktop",n[10]),F(a,"integratedgameframemobile",n[9]),F(a,"casinomygames",n[15]),fe(r,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,r,t),de(r,a),n[18](r)},p(e,t){1&t[0]&&F(a,"session",e[0]),2&t[0]&&F(a,"userid",e[1]),4&t[0]&&F(a,"endpoint",e[2]),8&t[0]&&F(a,"datasource",e[3]),32&t[0]&&F(a,"lang",e[5]),16&t[0]&&F(a,"currency",e[4]),16384&t[0]&&F(a,"favorites",e[14]),2048&t[0]&&F(a,"showgamename",e[11]),64&t[0]&&F(a,"clientstyling",e[6]),128&t[0]&&F(a,"clientstylingurl",e[7]),256&t[0]&&F(a,"livecasino",e[8]),8192&t[0]&&F(a,"visiblegames",e[13]),4096&t[0]&&F(a,"gamepagemodalurl",e[12]),1024&t[0]&&F(a,"integratedgameframedesktop",e[10]),512&t[0]&&F(a,"integratedgameframemobile",e[9]),32768&t[0]&&F(a,"casinomygames",e[15])},i:O,o:O,d(e){e&&me(r),n[18](null)}}}function zo(t,e,s){let n,r,{endpoint:l=""}=e,{datasource:a=""}=e,{currency:i=""}=e,{lang:o=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{showgamename:f=""}=e,{gamepagemodalurl:y="false"}=e,{visiblegames:v=""}=e,{favorites:b=""}=e,{categoryid:w=""}=e,{casinomygames:x="false"}=e,$=[];var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(S),lt.set(C))});const k=n=>{if(n.data)switch(n.data.type){case"UserSessionID":s(0,c=n.data.session),s(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&F(l,c,d);break;case"SetUnfavoredGame":e=`${l}/v1/player/${d}/favorites`,t=c,d,o=n.data.id,n.data.triggerFactor,$.includes(o)&&($=$.filter(e=>e!=o)),fetch(e+"/"+o,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),_(e,t)});break;case"SetFavoredGame":{var r=`${l}/v1/player/${d}/favorites`;var a=c;d;var i=n.data.id;n.data.triggerFactor;$.includes(i)||$.push(i);let e={items:$},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),_(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&F(l,c,d)}var e,t,o};let F=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/v1/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(M(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),E(r.items)),r)).then(e=>e).catch(e=>{console.error(e)})};let _=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,M(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),r)).catch(e=>{console.error(e)})};const M=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},E=(e=[])=>($=[],0<e.length&&e.forEach(e=>{$.push(e.id)}),$);return ut(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),t.$$set=e=>{"endpoint"in e&&s(2,l=e.endpoint),"datasource"in e&&s(3,a=e.datasource),"currency"in e&&s(4,i=e.currency),"lang"in e&&s(5,o=e.lang),"session"in e&&s(0,c=e.session),"userid"in e&&s(1,d=e.userid),"clientstyling"in e&&s(6,u=e.clientstyling),"clientstylingurl"in e&&s(7,m=e.clientstylingurl),"livecasino"in e&&s(8,h=e.livecasino),"integratedgameframemobile"in e&&s(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&s(10,g=e.integratedgameframedesktop),"showgamename"in e&&s(11,f=e.showgamename),"gamepagemodalurl"in e&&s(12,y=e.gamepagemodalurl),"visiblegames"in e&&s(13,v=e.visiblegames),"favorites"in e&&s(14,b=e.favorites),"categoryid"in e&&s(17,w=e.categoryid),"casinomygames"in e&&s(15,x=e.casinomygames)},t.$$.update=()=>{if(16423&t.$$.dirty[0]&&l&&d&&c&&o&&b&&"true"==b&&F(l,c,d),65600&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),65664&t.$$.dirty[0]&&m&&n){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e},[c,d,l,a,i,o,u,m,h,p,g,f,y,v,b,x,n,w,function(e){st[e?"unshift":"push"](()=>{n=e,s(16,n)})}]}function Uo(e,t){$r(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-casino-typography, 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;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ho,Bo,n,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),m()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},zo,jo,n,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,categoryid:17,casinomygames:15},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}});const Wo={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."}};function Yo(e){let n;return{c(){F(n=he("casino-games-category-section"),"session",e[4]),F(n,"userid",e[5]),F(n,"endpoint",e[0]),F(n,"datasource",e[1]),F(n,"lang",e[3]),F(n,"currency",e[2]),F(n,"favorites",e[14]),F(n,"categoryid","LASTPLAYED"),F(n,"categoryindex","1"),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[12]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[13]),F(n,"gamepagemodalurl",e[11]),F(n,"integratedgameframedesktop",e[10]),F(n,"integratedgameframemobile",e[9]),F(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"session",e[4]),32&t[0]&&F(n,"userid",e[5]),1&t[0]&&F(n,"endpoint",e[0]),2&t[0]&&F(n,"datasource",e[1]),8&t[0]&&F(n,"lang",e[3]),4&t[0]&&F(n,"currency",e[2]),16384&t[0]&&F(n,"favorites",e[14]),4096&t[0]&&F(n,"showgamename",e[12]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),8192&t[0]&&F(n,"visiblegames",e[13]),2048&t[0]&&F(n,"gamepagemodalurl",e[11]),1024&t[0]&&F(n,"integratedgameframedesktop",e[10]),512&t[0]&&F(n,"integratedgameframemobile",e[9]),32768&t[0]&&F(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Vo(e){let n,r,a=e[18]("noRecentGames")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[0]&&a!==(a=e[18]("noRecentGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Zo(n){let r,a;function i(e){return e[17]?Vo:Yo}let o=i(n),s=o(n);return{c(){r=he("div"),a=he("div"),s.c(),this.c=O,fe(a,"class","CasinoLastPlayedSection"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[24](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:O,o:O,d(e){e&&me(r),s.d(),n[24](null)}}}function Ko(t,e,n){let r;dt(t,Jr,e=>n(18,r=e));let a,i,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{translationurl:p=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:v="false"}=e,{showgamename:b=""}=e,{visiblegames:w=""}=e,{favorites:x=""}=e,{lastplayedperiod:$="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:k="false"}=e,{lastplayedunique:F="true"}=e,_=window.navigator.userAgent,M=!1,E=[];Object.keys(Wo).forEach(e=>{Uo(e,Wo[e])});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,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"translationurl"in e&&n(19,p=e.translationurl),"livecasino"in e&&n(8,g=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,v=e.gamepagemodalurl),"showgamename"in e&&n(12,b=e.showgamename),"visiblegames"in e&&n(13,w=e.visiblegames),"favorites"in e&&n(14,x=e.favorites),"lastplayedperiod"in e&&n(20,$=e.lastplayedperiod),"lastplayedorder"in e&&n(21,C=e.lastplayedorder),"lastplayedlimit"in e&&n(22,S=e.lastplayedlimit),"casinomygames"in e&&n(15,k=e.casinomygames),"lastplayedunique"in e&&n(23,F=e.lastplayedunique)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{var n=new URL(`${o}/v1/player/${u}/games/last-played`);n.searchParams.append("unique",F),n.searchParams.append("limit",S),n.searchParams.append("order",C),n.searchParams.append("period",$),"PC"===Qr(_)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),a=g?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(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",s),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{E=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===k&&(E=E.slice(0,JSON.parse(w))),window.postMessage({type:"LastPlayedData",lastPlayedGames:E},window.location.href)})}else n(17,M=!0)}),524288&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Uo(e,t[e])})}).catch(e=>{console.log(e)}),65600&t.$$.dirty[0]&&m&&i&&((e=document.createElement("style")).innerHTML=m,i.appendChild(e)),65664&t.$$.dirty[0]&&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[0]&&c&&(e=c,lt.set(e))},[o,s,l,c,d,u,m,h,g,f,y,v,b,w,x,k,i,M,r,p,$,C,S,F,function(e){st[e?"unshift":"push"](()=>{i=e,n(16,i)})}]}function qo(e,t){$r(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ko,Zo,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:19,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,casinomygames:15,lastplayedunique:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}});const Xo={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"No games in most played"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"}};function Jo(e){let n;return{c(){F(n=he("casino-games-category-section"),"session",e[4]),F(n,"userid",e[5]),F(n,"endpoint",e[0]),F(n,"datasource",e[1]),F(n,"lang",e[3]),F(n,"currency",e[2]),F(n,"favorites",e[14]),F(n,"categoryid","MOSTPLAYED"),F(n,"categoryindex","1"),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[12]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[13]),F(n,"gamepagemodalurl",e[11]),F(n,"integratedgameframedesktop",e[10]),F(n,"integratedgameframemobile",e[9]),F(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"session",e[4]),32&t[0]&&F(n,"userid",e[5]),1&t[0]&&F(n,"endpoint",e[0]),2&t[0]&&F(n,"datasource",e[1]),8&t[0]&&F(n,"lang",e[3]),4&t[0]&&F(n,"currency",e[2]),16384&t[0]&&F(n,"favorites",e[14]),4096&t[0]&&F(n,"showgamename",e[12]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),8192&t[0]&&F(n,"visiblegames",e[13]),2048&t[0]&&F(n,"gamepagemodalurl",e[11]),1024&t[0]&&F(n,"integratedgameframedesktop",e[10]),512&t[0]&&F(n,"integratedgameframemobile",e[9]),32768&t[0]&&F(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Qo(e){let n,r,a=e[18]("noGames")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[0]&&a!==(a=e[18]("noGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function es(n){let r,a;function i(e){return e[17]?Qo:Jo}let o=i(n),s=o(n);return{c(){r=he("div"),a=he("div"),s.c(),this.c=O,fe(a,"class","casino-most-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[23](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:O,o:O,d(e){e&&me(r),s.d(),n[23](null)}}}function ts(r,e,a){let t,{endpoint:i=""}=(dt(r,Jr,e=>a(18,t=e)),e),{datasource:o=""}=e,{currency:n=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:p="false"}=e,{gamepagemodalurl:g="false"}=e,{showgamename:f=""}=e,y=e["visiblegames"],{favorites:v=""}=e,{lastPlayedEmpty:b=""}=e,{translationurl:w=""}=e,{casinomygames:x="false"}=e,{mostplayedperiod:$="Last30Days"}=e,{mostplayedrounds:C="10"}=e,S=window.navigator.userAgent;Object.keys(Xo).forEach(e=>{qo(e,Xo[e])});let k,F,_=[],M=!1;return r.$$set=e=>{"endpoint"in e&&a(0,i=e.endpoint),"datasource"in e&&a(1,o=e.datasource),"currency"in e&&a(2,n=e.currency),"lang"in e&&a(3,s=e.lang),"session"in e&&a(4,l=e.session),"userid"in e&&a(5,c=e.userid),"clientstyling"in e&&a(6,d=e.clientstyling),"clientstylingurl"in e&&a(7,u=e.clientstylingurl),"livecasino"in e&&a(8,m=e.livecasino),"integratedgameframemobile"in e&&a(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&a(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&a(11,g=e.gamepagemodalurl),"showgamename"in e&&a(12,f=e.showgamename),"visiblegames"in e&&a(13,y=e.visiblegames),"favorites"in e&&a(14,v=e.favorites),"lastPlayedEmpty"in e&&a(19,b=e.lastPlayedEmpty),"translationurl"in e&&a(20,w=e.translationurl),"casinomygames"in e&&a(15,x=e.casinomygames),"mostplayedperiod"in e&&a(21,$=e.mostplayedperiod),"mostplayedrounds"in e&&a(22,C=e.mostplayedrounds)},r.$$.update=()=>{if(41&r.$$.dirty[0]&&i&&c&&s&&(e={limit:100,device:Qr(S),rounds:C},t=new URL(`${i}/v1/player/${c}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",$),(n=e.device)?"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),k=m?t:t.href,new Promise((e,t)=>{fetch(k).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)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(i+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{_=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===x&&(_=_.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:_},window.location.href)})}else a(17,M=!0)})),65600&r.$$.dirty[0]&&d&&F&&((n=document.createElement("style")).innerHTML=d,F.appendChild(n)),65664&r.$$.dirty[0]&&u&&F){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{F.appendChild(t)},1)})}var e,t,n;1048576&r.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qo(e,t[e])})}).catch(e=>{console.log(e)}),8&r.$$.dirty[0]&&s&&(e=s,lt.set(e))},[i,o,n,s,l,c,d,u,m,h,p,g,f,y,v,x,F,M,t,b,w,$,C,function(e){st[e?"unshift":"push"](()=>{F=e,a(16,F)})}]}function ns(e,t){$r(e,t)}customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ts,es,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastPlayedEmpty:19,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastPlayedEmpty(){return this.$$.ctx[19]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const rs={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};function as(e,t,n){e=e.slice();return e[43]=t[n],e}function is(t){let a,n,i,r,o,e,s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=cs(as(t,s,e));function c(e){return"Favorites"==e[25]?ms:"MostPlayed"==e[25]?us:"LastPlayed"==e[25]?ds:void 0}let d=c(t),u=d&&d(t);return{c(){a=he("div"),n=he("div"),i=he("div");for(let e=0;e<l.length;e+=1)l[e].c();r=ge(),o=he("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(a,"class",e="CasinoMyGames "+(t[26]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null);de(a,r),de(a,o),u&&u.m(o,null)},p(t,n){if(2046935040&n[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var r=as(t,s,e);l[e]?l[e].p(r,n):(l[e]=cs(r),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=s.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(o,null))),67108864&n[0]&&e!==(e="CasinoMyGames "+(t[26]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(l,e),u&&u.d()}}}function os(n){let r,a,i,o,s,l,c,d,u,m,h=n[29]("favorites")+"";return{c(){r=he("button"),a=pe(h),i=ge(),o=he("span"),s=pe("("),l=pe(n[28]),c=pe(")"),fe(r,"class",d="MyGamesButton "+("Favorites"==n[25]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),de(r,o),de(o,s),de(o,l),de(o,c),u||(m=U(r,"click",n[32]),u=!0)},p(e,t){536870912&t[0]&&h!==(h=e[29]("favorites")+"")&&ye(a,h),268435456&t[0]&&ye(l,e[28]),33570816&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[25]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(r,"class",d)},d(e){e&&me(r),u=!1,m()}}}function ss(n){let r,a,i,o,s,l=n[29]("mostPlayed")+"";return{c(){r=he("button"),a=pe(l),fe(r,"class",i="MyGamesButton "+("MostPlayed"==n[25]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[33]),o=!0)},p(e,t){536870912&t[0]&&l!==(l=e[29]("mostPlayed")+"")&&ye(a,l),33587200&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[25]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function ls(n){let r,a,i,o,s,l,c=n[29]("recentlyPlayed")+"";return{c(){r=he("button"),a=pe(c),i=ge(),fe(r,"class",o="MyGamesButton "+("LastPlayed"==n[25]?"Active":"")+" "+("false"==n[16]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=U(r,"click",n[34]),s=!0)},p(e,t){536870912&t[0]&&c!==(c=e[29]("recentlyPlayed")+"")&&ye(a,c),33619968&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[25]?"Active":"")+" "+("false"==e[16]?"Off":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function cs(e){let n,r,a,i="Favorites"==e[43]&&os(e),o="MostPlayed"==e[43]&&ss(e),s="LastPlayed"==e[43]&&ls(e);return{c(){i&&i.c(),n=ge(),o&&o.c(),r=ge(),s&&s.c(),a=l()},m(e,t){i&&i.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,r,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){"Favorites"==e[43]?i?i.p(e,t):((i=os(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[43]?o?o.p(e,t):((o=ss(e)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null),"LastPlayed"==e[43]?s?s.p(e,t):((s=ls(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){i&&i.d(e),e&&me(n),o&&o.d(e),e&&me(r),s&&s.d(e),e&&me(a)}}}function ds(e){let n;return{c(){F(n=he("casino-last-played-section"),"userid",e[0]),F(n,"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"favorites",e[14]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"session",e[1]),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"lastplayedperiod",e[18]),F(n,"lastplayedorder",e[20]),F(n,"lastplayedlimit",e[21]),F(n,"lastplayedunique",e[22]),F(n,"gamepagemodalurl",e[10]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&F(n,"userid",e[0]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16384&t[0]&&F(n,"favorites",e[14]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),2&t[0]&&F(n,"session",e[1]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),262144&t[0]&&F(n,"lastplayedperiod",e[18]),1048576&t[0]&&F(n,"lastplayedorder",e[20]),2097152&t[0]&&F(n,"lastplayedlimit",e[21]),4194304&t[0]&&F(n,"lastplayedunique",e[22]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function us(e){let n;return{c(){F(n=he("casino-most-played-section"),"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"session",e[1]),F(n,"userid",e[0]),F(n,"favorites",e[14]),F(n,"categoryindex","0"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"gamepagemodalurl",e[10]),F(n,"mostplayedrounds",e[23]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"mostplayedperiod",e[19]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),2&t[0]&&F(n,"session",e[1]),1&t[0]&&F(n,"userid",e[0]),16384&t[0]&&F(n,"favorites",e[14]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),8388608&t[0]&&F(n,"mostplayedrounds",e[23]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),524288&t[0]&&F(n,"mostplayedperiod",e[19]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function ms(e){let n;return{c(){F(n=he("casino-favorites-section"),"session",e[1]),F(n,"userid",e[0]),F(n,"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"favorites",e[14]),F(n,"categoryid","FAVORITES"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"gamepagemodalurl",e[10]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"session",e[1]),1&t[0]&&F(n,"userid",e[0]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),16384&t[0]&&F(n,"favorites",e[14]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function hs(n){let r;function a(e){if(e[17])return is}let i=a(n),o=i&&i(n);return{c(){r=he("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[35](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[35](null)}}}function ps(t,e,n){let r;dt(t,Jr,e=>n(29,r=e));let a,{userid:i=""}=e,{session:o=""}=e,{endpoint:s=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h=""}=e,{visiblegames:p=""}=e,{gamepagemodalurl:g=""}=e,{showgamename:f=""}=e,{integratedgameframedesktop:y=""}=e,{integratedgameframemobile:v=""}=e,{translationurl:b=""}=e,{favorites:w="false"}=e,{mostplayed:x="false"}=e,{lastplayed:$="false"}=e,{casinomygames:C="false"}=e,{lastplayedperiod:S="Last30Days"}=e,{mostplayedperiod:k="Last30Days"}=e,{lastplayedorder:F=""}=e,{lastplayedlimit:_=""}=e,{lastplayedunique:M="true"}=e,{mostplayedrounds:E=""}=e,D=window.navigator.userAgent,G="",L=!1,T=["","",""],P="0";var I,A;({withLocale:I,translations:A}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(A),lt.set(I))}),Object.keys(rs).forEach(e=>{ns(e,rs[e])});const R=e=>{G!==e&&n(25,G=e)},N=()=>{var e;n(25,G="true"===w?"Favorites":"true"===x?"MostPlayed":"true"===$?"LastPlayed":""),n(27,T[0]="true"===w?"Favorites":"",T),n(27,T[1]="true"===x?"MostPlayed":"",T),n(27,T[2]="true"===$?"LastPlayed":"",T),e=c,lt.set(e)},O=e=>{e.data&&"UpdateCategoryFavoriteGames"===e.data.type&&n(28,P=e.data.receivedFavoriteResults.count)};return ut(()=>(window.addEventListener("message",O,!1),n(26,L=ct(D)),()=>{window.removeEventListener("message",O)})),t.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,o=e.session),"endpoint"in e&&n(2,s=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"visiblegames"in e&&n(9,p=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"showgamename"in e&&n(11,f=e.showgamename),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,v=e.integratedgameframemobile),"translationurl"in e&&n(31,b=e.translationurl),"favorites"in e&&n(14,w=e.favorites),"mostplayed"in e&&n(15,x=e.mostplayed),"lastplayed"in e&&n(16,$=e.lastplayed),"casinomygames"in e&&n(17,C=e.casinomygames),"lastplayedperiod"in e&&n(18,S=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,k=e.mostplayedperiod),"lastplayedorder"in e&&n(20,F=e.lastplayedorder),"lastplayedlimit"in e&&n(21,_=e.lastplayedlimit),"lastplayedunique"in e&&n(22,M=e.lastplayedunique),"mostplayedrounds"in e&&n(23,E=e.mostplayedrounds)},t.$$.update=()=>{if(28&t.$$.dirty[0]&&s&&l&&c&&N(),114688&t.$$.dirty[0]&&w&&x&&$&&N(),1&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ns(e,t[e])})}).catch(e=>{console.log(e)}),16777280&t.$$.dirty[0]&&u&&a&&((e=document.createElement("style")).innerHTML=u,a.appendChild(e)),16777344&t.$$.dirty[0]&&m&&a){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[i,o,s,l,c,d,u,m,h,p,g,f,y,v,w,x,$,C,S,k,F,_,M,E,a,G,L,T,P,r,R,b,()=>R("Favorites"),()=>R("MostPlayed"),()=>R("LastPlayed"),function(e){st[e?"unshift":"push"](()=>{a=e,n(24,a)})}]}function gs(e,t){$r(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ps,hs,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),m()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const fs={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function ys(e,t,n){e=e.slice();return e[53]=t[n],e}function vs(n){let r,a,i,o,s,l=n[20]("cancel")+"";return{c(){r=he("small"),a=pe(l),fe(r,"class",i="SearchCancelButton "+(n[12]?"NotVisible":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[35]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("cancel")+"")&&ye(a,l),4096&t[0]&&i!==(i="SearchCancelButton "+(e[12]?"NotVisible":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function bs(e){let n,r,a,i;function o(e){return 1==e[16]&&e[11].length<2?$s:0!=e[14].length?xs:void 0}let s=o(e),l=s&&s(e),c=!1===e[12]&&ks(e),d=2<=e[11].length&&0==e[14].length&&_s(e);return{c(){l&&l.c(),n=ge(),r=he("div"),c&&c.c(),a=ge(),d&&d.c(),fe(r,"class",i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,r,t),c&&c.m(r,null),de(r,a),d&&d.m(r,null)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l&&l.d(1),(l=s&&s(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[12]?c?c.p(e,t):((c=ks(e)).c(),c.m(r,a)):c&&(c.d(1),c=null),2<=e[11].length&&0==e[14].length?d?d.p(e,t):((d=_s(e)).c(),d.m(r,null)):d&&(d.d(1),d=null),65536&t[0]&&i!==(i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))&&fe(r,"class",i)},d(e){l&&l.d(e),e&&me(n),e&&me(r),c&&c.d(),d&&d.d()}}}function ws(e){let n,r,a=e[20]("loading")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","LoadingContent")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function xs(e){let n,r,a=e[20]("searchResult")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("searchResult")+"")&&ye(r,a)},d(e){e&&me(n)}}}function $s(e){let n,r,a,i,o=e[20]("recentSearch")+"",s=0==e[14].length&&Cs(e);return{c(){n=he("p"),r=pe(o),a=ge(),s&&s.c(),i=l(),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r),ue(e,a,t),s&&s.m(e,t),ue(e,i,t)},p(e,t){1048576&t[0]&&o!==(o=e[20]("recentSearch")+"")&&ye(r,o),0==e[14].length?s?s.p(e,t):((s=Cs(e)).c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(e){e&&me(n),e&&me(a),s&&s.d(e),e&&me(i)}}}function Cs(e){let n,r,a,i,o,s=e[20]("noRecentSearches")+"",l="true"===e[10]&&Ss();return{c(){n=he("div"),l&&l.c(),r=ge(),a=he("p"),i=pe(s),fe(a,"class","SearchMessage"),fe(n,"class",o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,r),de(n,a),de(a,i)},p(e,t){"true"===e[10]?l||((l=Ss()).c(),l.m(n,r)):l&&(l.d(1),l=null),1048576&t[0]&&s!==(s=e[20]("noRecentSearches")+"")&&ye(i,s),1024&t[0]&&o!==(o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",o)},d(e){e&&me(n),l&&l.d()}}}function Ss(){let n;return{c(){(n=he("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ks(t){let a,i=t[14],o=[];for(let e=0;e<i.length;e+=1)o[e]=Fs(ys(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(17580543&n[0]){let e;for(i=t[14],e=0;e<i.length;e+=1){var r=ys(t,i,e);o[e]?o[e].p(r,n):(o[e]=Fs(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function Fs(e){let n,r,a,i,o,s,l,c,d,u,m,h;return{c(){F(n=he("casino-game-thumbnail"),"endpoint",e[0]),F(n,"session",e[18]),F(n,"userid",e[19]),F(n,"favorites",e[8]),F(n,"lang",e[1]),F(n,"gamethumbnail",r=e[53].thumbnail),F(n,"gamename",a=e[53].name),F(n,"gamevendor",i=e[53].vendor.name),F(n,"gamelaunchurl",o=e[53].launchUrl),F(n,"gameisnew",s=e[53].isNew),F(n,"gametag",l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags)),F(n,"gamecellsize",c=e[53].cellSize),F(n,"gameid",d=e[53].id),F(n,"showgamename",e[6]),F(n,"gamefunmode",u=e[53].hasFunMode),F(n,"gamefavorite",m=e[53].isFavorite),F(n,"livelobbyendpoint",h=e[53].details?e[53].launchUrl:""),F(n,"integratedgameframedesktop",e[4]),F(n,"integratedgameframemobile",e[5]),F(n,"clientstyling",e[2]),F(n,"clientstylingurl",e[3]),F(n,"gamepagemodalurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&F(n,"endpoint",e[0]),262144&t[0]&&F(n,"session",e[18]),524288&t[0]&&F(n,"userid",e[19]),256&t[0]&&F(n,"favorites",e[8]),2&t[0]&&F(n,"lang",e[1]),16384&t[0]&&r!==(r=e[53].thumbnail)&&F(n,"gamethumbnail",r),16384&t[0]&&a!==(a=e[53].name)&&F(n,"gamename",a),16384&t[0]&&i!==(i=e[53].vendor.name)&&F(n,"gamevendor",i),16384&t[0]&&o!==(o=e[53].launchUrl)&&F(n,"gamelaunchurl",o),16384&t[0]&&s!==(s=e[53].isNew)&&F(n,"gameisnew",s),16384&t[0]&&l!==(l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags))&&F(n,"gametag",l),16384&t[0]&&c!==(c=e[53].cellSize)&&F(n,"gamecellsize",c),16384&t[0]&&d!==(d=e[53].id)&&F(n,"gameid",d),64&t[0]&&F(n,"showgamename",e[6]),16384&t[0]&&u!==(u=e[53].hasFunMode)&&F(n,"gamefunmode",u),16384&t[0]&&m!==(m=e[53].isFavorite)&&F(n,"gamefavorite",m),16384&t[0]&&h!==(h=e[53].details?e[53].launchUrl:"")&&F(n,"livelobbyendpoint",h),16&t[0]&&F(n,"integratedgameframedesktop",e[4]),32&t[0]&&F(n,"integratedgameframemobile",e[5]),4&t[0]&&F(n,"clientstyling",e[2]),8&t[0]&&F(n,"clientstylingurl",e[3]),128&t[0]&&F(n,"gamepagemodalurl",e[7])},d(e){e&&me(n)}}}function _s(e){let n,r,a,i,o,s,l,c,d=e[20]("notFound")+"",u=e[20]("notFoundText")+"",m="true"===e[10]&&Ms();return{c(){n=he("div"),m&&m.c(),r=ge(),a=he("p"),i=pe(d),o=ge(),s=he("p"),l=pe(u),fe(a,"class","SearchMessage"),fe(n,"class",c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),m&&m.m(n,null),de(n,r),de(n,a),de(a,i),de(n,o),de(n,s),de(s,l)},p(e,t){"true"===e[10]?m||((m=Ms()).c(),m.m(n,r)):m&&(m.d(1),m=null),1048576&t[0]&&d!==(d=e[20]("notFound")+"")&&ye(i,d),1048576&t[0]&&u!==(u=e[20]("notFoundText")+"")&&ye(l,u),1024&t[0]&&c!==(c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",c)},d(e){e&&me(n),m&&m.d()}}}function Ms(){let n;return{c(){(n=he("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Es(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C="true"===n[9]&&vs(n);function S(e){return e[17]?ws:bs}let k=S(n),F=k(n);return{c(){r=he("div"),a=he("div"),i=he("div"),(o=he("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=ge(),l=he("input"),d=ge(),u=he("span"),m=z("svg"),h=z("path"),g=ge(),C&&C.c(),y=ge(),v=he("div"),w=ge(),F.c(),this.c=O,fe(o,"class","SearchIcon"),fe(l,"class","SearchInput"),fe(l,"type","search"),fe(l,"placeholder",c=n[20]("placeHolderSearchGames")),fe(l,"maxlength",50),fe(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(h,"stroke","#717171"),fe(h,"stroke-width","2"),fe(h,"stroke-linecap","round"),fe(h,"stroke-linejoin","round"),fe(m,"width","11"),fe(m,"height","11"),fe(m,"fill","none"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(u,"class",p="SearchClearButton "+("true"!=n[9]?"WithoutCancel":"")+" "+(0!=n[11].length?"":"NotVisible")),fe(i,"class",f="Search "+(n[12]?"":"SearchAnimation")),fe(a,"class","SearchWrap"),fe(v,"class",b="true"!=n[9]?"OverlayCancel":""),fe(r,"class",("PC"!==Qr(n[21])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(i,s),de(i,l),G(l,n[11]),n[33](l),de(i,d),de(i,u),de(u,m),de(m,h),de(i,g),C&&C.m(i,null),de(r,y),de(r,v),de(r,w),F.m(r,null),n[36](r),x||($=[U(l,"input",n[32]),U(l,"focus",n[22]),U(u,"click",n[34]),U(v,"click",n[23])],x=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("placeHolderSearchGames"))&&fe(l,"placeholder",c),2048&t[0]&&l.value!==e[11]&&G(l,e[11]),2560&t[0]&&p!==(p="SearchClearButton "+("true"!=e[9]?"WithoutCancel":"")+" "+(0!=e[11].length?"":"NotVisible"))&&fe(u,"class",p),"true"===e[9]?C?C.p(e,t):((C=vs(e)).c(),C.m(i,null)):C&&(C.d(1),C=null),4096&t[0]&&f!==(f="Search "+(e[12]?"":"SearchAnimation"))&&fe(i,"class",f),512&t[0]&&b!==(b="true"!=e[9]?"OverlayCancel":"")&&fe(v,"class",b),k===(k=S(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(r,null)))},i:O,o:O,d(e){e&&me(r),n[33](null),C&&C.d(),F.d(),n[36](null),x=!1,H($)}}}function Gs(r,e,o){let t;dt(r,Jr,e=>o(20,t=e));let n,a,i,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{showgamename:y=""}=e,{gamepagemodalurl:v="true"}=e,{translationurl:b=""}=e,{showfavorites:w=""}=e,{cancelbutton:x="true"}=e,{notfoundicon:$="false"}=e,C=window.navigator.userAgent,S=[],k=[],F={},_="",M=!0,E=!1,G=!1,L=!1,T=[];Object.keys(fs).forEach(e=>{gs(e,fs[e])});const P=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(k=(k=localStorage.getItem("searchedGamesWds_casino"))?k.split(","):[]).indexOf(t))&&(k.unshift(t),n=k.join(","),localStorage.setItem("searchedGamesWds_casino",n))}"UserSessionID"==e.data.type&&(o(18,i=e.data.session),o(19,s=e.data.userid),o(31,L=!0)),"CategoryChange"==e.data.type&&R()},D=()=>{if(o(12,M=!1),o(16,E=!0),l&&c&&m&&_.length<2){o(14,S=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],r=0,a=(t=e?e.split(","):t).length;if(0<a){for(r=0;r<a;r++){var i=new URL(l+"/v1/casino/games/"+t[r]);i.searchParams.append("language",m),i.searchParams.append("datasource",c),i.searchParams.append("platform",Qr(C)),n.push(((e,r)=>new Promise((t,n)=>{o(17,G=!0),r&&Object.keys(F).indexOf(r)>=0?(o(17,G=!1),t(F[r])):fetch(e).then(e=>e.json()).then(e=>{o(17,G=!1),e.error||(F[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{o(17,G=!1),console.error(e),n(e)})}))(i,t[r]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),o(14,S=e.map(e=>(e.isFavorite=A(e.id),e))),S.length?I("searchSuccess","SearchWidget"):I("searchFail","SearchWidget")}).catch(e=>{I("searchError","SearchWidget")})}}O(E),I("searchAttempt","SearchWidget"),I("SearchInitialized","SearchWidget")},I=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},A=t=>-1!==T.findIndex(e=>e==t),R=()=>{o(11,_=""),o(12,M=!0),o(17,G=!1),o(14,S=[]),o(16,E=!1),O(E)},N=()=>{o(11,_=""),n.focus()},O=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)};return ut(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)})),r.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"datasource"in e&&o(27,c=e.datasource),"session"in e&&o(28,d=e.session),"userid"in e&&o(29,u=e.userid),"lang"in e&&o(1,m=e.lang),"clientstyling"in e&&o(2,h=e.clientstyling),"clientstylingurl"in e&&o(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&o(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(5,f=e.integratedgameframemobile),"showgamename"in e&&o(6,y=e.showgamename),"gamepagemodalurl"in e&&o(7,v=e.gamepagemodalurl),"translationurl"in e&&o(30,b=e.translationurl),"showfavorites"in e&&o(8,w=e.showfavorites),"cancelbutton"in e&&o(9,x=e.cancelbutton),"notfoundicon"in e&&o(10,$=e.notfoundicon)},r.$$.update=()=>{if(134223875&r.$$.dirty[0])if(2<=_.length){const r=new URL(l+"/v1/casino/games");r.searchParams.append("datasource",c),r.searchParams.append("expand","vendor"),r.searchParams.append("platform",Qr(C)),r.searchParams.append("language",m),r.searchParams.append("pagination","offset=0,limit=30"),r.searchParams.append("filter","name="+_),e=r,new Promise((t,n)=>{o(17,G=!0),fetch(e.href).then(e=>e.json()).then(e=>{o(17,G=!1),t(e)}).catch(e=>{o(17,G=!1),console.error(e),n(e)})}).then(e=>{o(14,S=e.items.map(e=>(e.isFavorite=A(e.id),e)))})}else M||D();var e,t,n;if(2&r.$$.dirty[0]&&m&&(n=m,lt.set(n)),1073741824&r.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{gs(e,t[e])})}).catch(e=>{console.log(e)}),805306368&r.$$.dirty[0]&&d&&u&&(o(31,L=!0),o(18,i=d),o(19,s=u)),256&r.$$.dirty[0]|1&r.$$.dirty[1]&&w&&L&&(n=new URL(`${l}/v1/player/${s}/favorites/`),o(17,G=!0),t={method:"GET",headers:{"X-SessionID":i}},fetch(n.href,t).then(e=>e.json()).then(e=>{o(17,G=!1),T=e.items.map(e=>e.id)})),8196&r.$$.dirty[0]&&h&&a&&((t=document.createElement("style")).innerHTML=h,a.appendChild(t)),8200&r.$$.dirty[0]&&p&&a){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[l,m,h,p,g,f,y,v,w,x,$,_,M,a,S,n,E,G,i,s,t,C,D,()=>{"true"!=x&&R()},r=>{if(0===(null==r?void 0:r.length))return"";let a,i,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);oa(e).diff(s)<o&&(o=oa(e).diff(s),i=t),oa(s).isAfter(n)&&oa(s).isBefore(e)&&(a=r[i].name)}),a},R,N,c,d,u,b,L,function(){_=this.value,o(11,_)},function(e){st[e?"unshift":"push"](()=>{n=e,o(15,n)})},()=>N(),()=>R(),function(e){st[e?"unshift":"push"](()=>{a=e,o(13,a)})}]}function Ls(e,{delay:t=0,duration:n=400,easing:r=w}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*a}}function Ts(n){let r,a,i,o,s,l,c,d,t,u,m,h;return{c(){r=he("div"),a=he("div"),(i=he("div")).innerHTML="<slot></slot>",o=ge(),s=he("span"),(l=he("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(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"role","button"),fe(a,"class","ModalWindow"),fe(a,"part","ModalWindow"),fe(a,"id","Modal"),q(()=>n[19].call(a)),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),n[18](a),d=function(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=he("iframe"),r=(n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1,function(){if(void 0===L){L=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){L=!0}}return L}());let a;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",a=U(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{a=U(n.contentWindow,"resize",t),t()}),de(e,n),()=>{(r||a&&n.contentWindow)&&a(),me(n)}}(a,n[19].bind(a)),n[20](r),u=!0,m||(h=U(s,"click",n[8]),m=!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(()=>{u&&(t=t||oe(a,Ls,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||oe(a,Ls,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&me(r),n[18](null),d(),e&&t&&t.end(),n[20](null),m=!1,h()}}}function Ps(e){let n,r,a=e[7]&&Ts(e);return{c(){a&&a.c(),n=l(),this.c=O},m(e,t){a&&a.m(e,t),ue(e,n,t),r=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&re(a,1)):((a=Ts(e)).c(),re(a,1),a.m(n.parentNode,n)):a&&(ne={r:0,c:[],p:ne},ae(a,1,1,()=>{a=null}),ne.r||H(ne.c),ne=ne.p)},i(e){r||(re(a),r=!0)},o(e){ae(a),r=!1},d(e){a&&a.d(e),e&&me(n)}}}function Is(t,e,n){let r,i,a,o,{duration:s=350}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{identifier:u=""}=e,{clientstylingurl:m=""}=e,{endpoint:h=""}=e,{haspanicbutton:p="false"}=e,{gamepagemodalurl:g="false"}=e,{sessioncheck:f="true"}=e,{integratedgameframedesktop:y="false"}=e,v=window.navigator.userAgent,b=!1,w=!1,x=!1;const $=e=>{var t;"ShowModal"==e.data.type&&u==e.data.identifier&&(n(7,x=!0),window.postMessage({type:"DisableScroll"},window.location.href)),"ModalClosed"!=e.data.type||"false"==y&&!ct(v)||n(7,x=!1),"ShowGameModal"===e.data.type&&(n(7,x=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrameModal"===e.data.type&&(n(7,x=!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&&(w=e.data.detailsObtained)},C=e=>{var t;w&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return ut(()=>(n(3,b=ct(v)),window.addEventListener("message",$,!1),window.addEventListener("resize",C,!1),()=>{window.removeEventListener("message",$),window.removeEventListener("resize",$)})),t.$$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),"identifier"in e&&n(12,u=e.identifier),"clientstylingurl"in e&&n(13,m=e.clientstylingurl),"endpoint"in e&&n(14,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(15,g=e.gamepagemodalurl),"sessioncheck"in e&&n(16,f=e.sessioncheck),"integratedgameframedesktop"in e&&n(17,y=e.integratedgameframedesktop)},t.$$.update=()=>{if(17920&t.$$.dirty&&l&&c&&h&&"true"==f&&(r=h,a=l,new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",a),Oe(r+"/v1/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)})),2052&t.$$.dirty&&d&&i&&((e=document.createElement("style")).innerHTML=d,i.appendChild(e)),8196&t.$$.dirty&&m&&i){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,r,a},[s,p,i,b,r,void 0,void 0,x,()=>{n(7,x=!1),n(3,b=ct(v)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:b},window.location.href)},l,c,d,u,m,h,g,f,y,function(e){st[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){st[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function Rs(e,t,n){e=e.slice();return e[26]=t[n],e[27]=t,e[28]=n,e}function Ds(e,t,n){e=e.slice();return e[29]=t[n],e[28]=n,e}function As(t){let a,n,i,r,e,o=t[3],s=[];for(let e=0;e<o.length;e+=1)s[e]=Us(Rs(t,o,e));return{c(){a=he("div"),n=he("div"),i=pe(t[1]),r=ge();for(let e=0;e<s.length;e+=1)s[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(a,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,i),de(a,r);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(a,null)},p(t,n){if(2&n&&ye(i,t[1]),409&n){let e;for(o=t[3],e=0;e<o.length;e+=1){var r=Rs(t,o,e);s[e]?s[e].p(r,n):(s[e]=Us(r),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(s,e)}}}function Ns(e){let n;return{c(){(n=he("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Os(e){let n,r;return{c(){n=z("svg"),fe(r=z("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&me(n)}}}function Bs(e){let n,r;return{c(){n=z("svg"),fe(r=z("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&me(n)}}}function Hs(t){let r,a,i=t[26].details,o=[];for(let e=0;e<i.length;e+=1)o[e]=js(Ds(t,i,e));let s=t[26].detailsExpanded&&zs(t);return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=ge(),s&&s.c(),a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n),s&&s.m(t,n),ue(t,a,n)},p(t,n){if(280&n){let e;for(i=t[26].details,e=0;e<i.length;e+=1){const s=Ds(t,i,e);o[e]?o[e].p(s,n):(o[e]=js(s),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}t[26].detailsExpanded?s?s.p(t,n):((s=zs(t)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){j(o,e),e&&me(r),s&&s.d(e),e&&me(a)}}}function js(n){let r,a,i,o,s,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[28])}return{c(){r=he("div"),a=he("div"),i=he("button"),o=pe(u),fe(i,"class",s="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(a,"class","Header"),fe(r,"class",l=n[28]==n[4]?"SelectedTab":""),fe(r,"id","CollapseMoreInfoButton"),_(r,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),c||(d=U(i,"click",m),c=!0)},p(e,t){n=e,8&t&&u!==(u=n[29].title+"")&&ye(o,u),8&t&&s!==(s="HeaderButton "+(n[29].expandedTab?"Active":""))&&fe(i,"class",s),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(r,"class",l),8&t&&_(r,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(r),c=!1,d()}}}function zs(e){let n,r,a,i=e[26].details[e[4]].description+"";return{c(){n=he("div"),r=pe(i),fe(n,"class",a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){24&t&&i!==(i=e[26].details[e[4]].description+"")&&ye(r,i),24&t&&a!==(a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",a)},d(e){e&&me(n)}}}function Us(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C=n[26].title+"",S=n[26].description+"";function k(e){return 1==e[26].expandedInfo?Bs:Os}let F=k(n),_=F(n);function M(){return n[17](n[26],n[27],n[28])}let E=1==n[26].expandedInfo&&Hs(n);return{c(){r=he("div"),a=he("div"),i=pe(C),o=ge(),s=he("div"),l=he("img"),u=ge(),m=he("div"),h=pe(S),p=ge(),g=he("div"),f=he("button"),y=pe(n[0]),v=ge(),_.c(),b=ge(),E&&E.c(),w=ge(),fe(a,"class","CasinoCalendarDailyTitle"),fe(l,"class","CasinoCalendarFitImage"),ce(l.src,c=n[26].image)||fe(l,"src",c),fe(l,"alt",d=n[26].image),fe(s,"class","CasinoCalendarImage"),fe(m,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(r,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(s,l),de(r,u),de(r,m),de(m,h),de(r,p),de(r,g),de(g,f),de(f,y),de(f,v),_.m(f,null),de(g,b),E&&E.m(g,null),de(r,w),x||($=U(f,"click",M),x=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(i,C),8&t&&!ce(l.src,c=n[26].image)&&fe(l,"src",c),8&t&&d!==(d=n[26].image)&&fe(l,"alt",d),8&t&&S!==(S=n[26].description+"")&&ye(h,S),1&t&&ye(y,n[0]),F!==(F=k(n))&&(_.d(1),_=F(n))&&(_.c(),_.m(f,null)),1==n[26].expandedInfo?E?E.p(n,t):((E=Hs(n)).c(),E.m(g,null)):E&&(E.d(1),E=null)},d(e){e&&me(r),_.d(),E&&E.d(),x=!1,$()}}}function Ws(n){let r;function a(e){return e[5]?Ns:As}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[19](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[19](null)}}}function Ys(t,e,r){let n,{dailybackground:a=""}=e,{dailybuttontitle:i=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationUrl:h=""}=e,p=[],g=0,f=!0,y=!1,v=window.navigator.userAgent;var b,w;({withLocale:b,translations:w}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(w),lt.set(b))});const x=e=>{"DailyEventsData"==e.data.type&&(r(5,f=!1),r(3,p=e.data.data),p.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})})),"ModalClosed"==e.data.type&&(r(4,g=0),p.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},$=e=>{r(4,g=0),r(3,p[e].detailsExpanded=!p[e].detailsExpanded,p),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{r(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return ut(()=>(window.addEventListener("message",x,!1),ct(v)&&r(6,y=!0),()=>{window.removeEventListener("message",x)})),t.$$set=e=>{"dailybackground"in e&&r(9,a=e.dailybackground),"dailybuttontitle"in e&&r(0,i=e.dailybuttontitle),"dailyday"in e&&r(1,o=e.dailyday),"dailydescription"in e&&r(10,s=e.dailydescription),"dailyicon"in e&&r(11,l=e.dailyicon),"dailytitle"in e&&r(12,c=e.dailytitle),"lang"in e&&r(13,d=e.lang),"clientstyling"in e&&r(14,u=e.clientstyling),"clientstylingurl"in e&&r(15,m=e.clientstylingurl),"translationUrl"in e&&r(16,h=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,lt.set(e)),16388&t.$$.dirty&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32772&t.$$.dirty&&m&&n){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,o,n,p,g,f,y,$,C,a,s,l,c,d,u,m,h,(e,t,n)=>{r(3,t[n].expandedInfo=!e.expandedInfo,p),$(n)},(e,t)=>{C(e,t)},function(e){st[e?"unshift":"push"](()=>{n=e,r(2,n)})}]}function Vs(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C,S,k;return{c(){r=he("div"),a=he("div"),i=he("div"),o=he("div"),(s=he("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=he("div"),d=he("div"),u=he("img"),h=ge(),p=he("div"),g=pe(n[2]),f=ge(),y=he("div"),v=ge(),b=he("div"),w=he("button"),x=pe(n[3]),this.c=O,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(p,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(b,"class","CasinoCalendarDailyItemButton"),fe(c,"class",$="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),_(c,"background-image","url('"+n[0]+"')"),_(c,"background-size","cover"),_(c,"background-position","center"),_(c,"-webkit-background-size","cover"),_(c,"-moz-background-size","cover"),_(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(a,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,h),de(c,p),de(p,g),de(c,f),de(c,y),n[14](y),de(c,v),de(c,b),de(b,w),de(w,x),n[16](r),S||(k=U(w,"click",n[15]),S=!0)},p(e,[t]){2&t&&!ce(u.src,m=e[1])&&fe(u,"src",m),2&t&&fe(u,"alt",e[1]),4&t&&ye(g,e[2]),8&t&&ye(x,e[3]),16&t&&$!==($="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",$),1&t&&_(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(a,"class",C)},i:O,o:O,d(e){e&&me(r),n[14](null),n[16](null),S=!1,k()}}}function Zs(t,e,n){let r,a,{cmsendpoint:i=""}=e,{lang:o=""}=e,{dailybackground:s=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:m="0"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(f),lt.set(g))});let y=!1,v=window.navigator.userAgent;const b=()=>{window.postMessage({type:"OpenCalendar",index:m},window.location.href),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};return ut(()=>{ct(v)&&n(7,y=!0)}),t.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,o=e.lang),"dailybackground"in e&&n(0,s=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,m=e.index),"clientstyling"in e&&n(12,h=e.clientstyling),"clientstylingurl"in e&&n(13,p=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&s&&((e=document.createElement("div")).innerHTML=d,r)&&r.append(e),4128&t.$$.dirty&&h&&a&&((e=document.createElement("style")).innerHTML=h,a.appendChild(e)),8224&t.$$.dirty&&p&&a){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[s,l,c,u,m,a,r,y,b,i,o,d,h,p,function(e){st[e?"unshift":"push"](()=>{r=e,n(6,r)})},()=>b(),function(e){st[e?"unshift":"push"](()=>{a=e,n(5,a)})}]}function Ks(e,t,n){e=e.slice();return e[21]=t[n],e[23]=n,e}function qs(t){let r,a,e,i=t[2],o=[];for(let e=0;e<i.length;e+=1)o[e]=Qs(Ks(t,i,e));let s=1==t[7]&&el(t);return{c(){r=he("div");for(let e=0;e<o.length;e+=1)o[e].c();a=ge(),s&&s.c(),fe(r,"class",e="CasinoCalendarItem "+(t[6]?"Mobile":""))},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null);de(r,a),s&&s.m(r,null)},p(t,n){if(5&n){let e;for(i=t[2],e=0;e<i.length;e+=1){const s=Ks(t,i,e);o[e]?o[e].p(s,n):(o[e]=Qs(s),o[e].c(),o[e].m(r,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}1==t[7]?s?s.p(t,n):((s=el(t)).c(),s.m(r,null)):s&&(s.d(1),s=null),64&n&&e!==(e="CasinoCalendarItem "+(t[6]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),j(o,e),s&&s.d()}}}function Xs(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Js(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Qs(e){let n,r,a,i,o,s;return{c(){F(n=he("casino-calendar-daily-item"),"dailybackground",r=e[21].dailyBackground),F(n,"dailyicon",a=e[21].dailyIcon),F(n,"dailyday",i=e[21].dailyDay),F(n,"dailydescription",o=e[21].dailyDescription),F(n,"dailybuttontitle",s=e[21].dailyButtonTitle),F(n,"index",e[23]),F(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){4&t&&r!==(r=e[21].dailyBackground)&&F(n,"dailybackground",r),4&t&&a!==(a=e[21].dailyIcon)&&F(n,"dailyicon",a),4&t&&i!==(i=e[21].dailyDay)&&F(n,"dailyday",i),4&t&&o!==(o=e[21].dailyDescription)&&F(n,"dailydescription",o),4&t&&s!==(s=e[21].dailyButtonTitle)&&F(n,"dailybuttontitle",s),1&t&&F(n,"lang",e[0])},d(e){e&&me(n)}}}function el(e){let n,r,a,i,o,s,l,c;return{c(){n=he("casino-modal"),F(r=he("casino-calendar-daily-details"),"dailybackground",a=e[2][e[3]].dailyBackground),F(r,"dailybuttontitle",i=e[2][e[3]].dailyButtonTitle),F(r,"dailyday",o=e[2][e[3]].dailyDay),F(r,"dailydescription",s=e[2][e[3]].dailyDescription),F(r,"dailyicon",l=e[2][e[3]].dailyIcon),F(r,"dailytitle",c=e[2][e[3]].dailyTitle),F(r,"lang",e[0]),F(n,"identifier","Calendar")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){12&t&&a!==(a=e[2][e[3]].dailyBackground)&&F(r,"dailybackground",a),12&t&&i!==(i=e[2][e[3]].dailyButtonTitle)&&F(r,"dailybuttontitle",i),12&t&&o!==(o=e[2][e[3]].dailyDay)&&F(r,"dailyday",o),12&t&&s!==(s=e[2][e[3]].dailyDescription)&&F(r,"dailydescription",s),12&t&&l!==(l=e[2][e[3]].dailyIcon)&&F(r,"dailyicon",l),12&t&&c!==(c=e[2][e[3]].dailyTitle)&&F(r,"dailytitle",c),1&t&&F(r,"lang",e[0])},d(e){e&&me(n)}}}function tl(n){let r;function a(e){return e[5]?Js:e[4]?Xs:e[2]?.length?qs:void 0}let i=a(n),o=i&&i(n);return{c(){r=he("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[13](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[13](null)}}}function nl(n,e,r){let a,i,{cmsendpoint:o=""}=e,{env:s=""}=e,{userroles:l=""}=e,{lang:c="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,m=0,h=!0,p=!1,t=!1,g=window.navigator.userAgent,f=!1;const y=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(r(3,m=e.data.index),r(7,f=!0),window.postMessage({type:"ShowModal",selectedIndex:m,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=i[m])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&r(7,f=!1)};return ut(()=>(window.addEventListener("message",y,!1),ct(g)&&r(6,t=!0),()=>{window.removeEventListener("message",y)})),n.$$set=e=>{"cmsendpoint"in e&&r(8,o=e.cmsendpoint),"env"in e&&r(9,s=e.env),"userroles"in e&&r(10,l=e.userroles),"lang"in e&&r(0,c=e.lang),"clientstyling"in e&&r(11,d=e.clientstyling),"clientstylingurl"in e&&r(12,u=e.clientstylingurl)},n.$$.update=()=>{if(1793&n.$$.dirty&&o&&c&&s&&l&&(r(4,h=!0),(e=new URL(`${o}/${c}/daily-calendar?env=${s}/`)).searchParams.append("userRoles",l),(t=Qr(g))&&("PC"===t?e.searchParams.append("device","dk"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{r(2,i=e)}).catch(e=>{console.log(e),r(5,p=!0)}).finally(()=>{r(4,h=!1)})),2050&n.$$.dirty&&d&&a&&((t=document.createElement("style")).innerHTML=d,a.appendChild(t)),4098&n.$$.dirty&&u&&a){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t},[c,a,i,m,h,p,t,f,o,s,l,d,u,function(e){st[e?"unshift":"push"](()=>{a=e,r(1,a)})}]}function rl(e,t,n){e=e.slice();return e[136]=t[n],e[138]=n,e}function al(e){let n,r,a,i,o,s,l="true"==e[22]&&0==Sl&&!e[78]&&ol(e),c=!e[77]&&!e[76]&&"false"==e[53]&&sl(e);function d(e){return e[72]?dl:e[78]?void 0:cl}let u=d(e),m=u&&u(e),h=e[74]&&"true"==e[17]&&$l(e);return{c(){n=he("section"),r=he("casino-search"),a=ge(),l&&l.c(),i=ge(),c&&c.c(),o=ge(),m&&m.c(),s=ge(),h&&h.c(),F(r,"endpoint",e[1]),F(r,"datasource",e[3]),F(r,"showgamename",e[20]),F(r,"lang",e[5]),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10]),F(r,"integratedgameframedesktop",e[31]),F(r,"integratedgameframemobile",e[32]),F(r,"translationurl",e[11]),F(r,"showfavorites",e[15]),fe(n,"class","CategoriesLobby"),_(n,"max-width",e[16]+"px")},m(e,t){ue(e,n,t),de(n,r),de(n,a),l&&l.m(n,null),de(n,i),c&&c.m(n,null),de(n,o),m&&m.m(n,null),de(n,s),h&&h.m(n,null)},p(e,t){2&t[0]&&F(r,"endpoint",e[1]),8&t[0]&&F(r,"datasource",e[3]),1048576&t[0]&&F(r,"showgamename",e[20]),32&t[0]&&F(r,"lang",e[5]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10]),1&t[1]&&F(r,"integratedgameframedesktop",e[31]),2&t[1]&&F(r,"integratedgameframemobile",e[32]),2048&t[0]&&F(r,"translationurl",e[11]),32768&t[0]&&F(r,"showfavorites",e[15]),"true"!=e[22]||0!=Sl||e[78]?l&&(l.d(1),l=null):l?l.p(e,t):((l=ol(e)).c(),l.m(n,i)),e[77]||e[76]||"false"!=e[53]?c&&(c.d(1),c=null):c?c.p(e,t):((c=sl(e)).c(),c.m(n,o)),u===(u=d(e))&&m?m.p(e,t):(m&&m.d(1),(m=u&&u(e))&&(m.c(),m.m(n,s))),e[74]&&"true"==e[17]?h?h.p(e,t):((h=$l(e)).c(),h.m(n,null)):h&&(h.d(1),h=null),65536&t[0]&&_(n,"max-width",e[16]+"px")},d(e){e&&me(n),l&&l.d(),c&&c.d(),m&&m.d(),h&&h.d()}}}function il(e){let n,r,a=e[81]("500")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){524288&t[2]&&a!==(a=e[81]("500")+"")&&ye(r,a)},d(e){e&&me(n)}}}function ol(e){let n;return{c(){F(n=he("casino-random-game"),"datasource",e[3]),F(n,"filteredrandomgamecategories",e[23]),F(n,"endpoint",e[1]),F(n,"lang",e[5]),F(n,"gameevent",e[71]),F(n,"randombuttonicon",e[67]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&F(n,"datasource",e[3]),8388608&t[0]&&F(n,"filteredrandomgamecategories",e[23]),2&t[0]&&F(n,"endpoint",e[1]),32&t[0]&&F(n,"lang",e[5]),512&t[2]&&F(n,"gameevent",e[71]),32&t[2]&&F(n,"randombuttonicon",e[67]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function sl(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x=n[81]("filters")+"",$=n[80]&&ll(n);return{c(){r=he("div"),$&&$.c(),a=ge(),i=he("div"),o=he("div"),s=pe(x),l=ge(),c=he("div"),d=z("svg"),u=z("defs"),m=z("style"),h=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),p=z("path"),g=ge(),f=he("div"),y=he("span"),v=pe(n[80]),fe(o,"class","FilterButton"),fe(p,"class","a"),fe(p,"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(p,"transform","translate(-5 -6.2)"),fe(d,"xmlns","http://www.w3.org/2000/svg"),fe(d,"width","20"),fe(d,"height","20"),fe(d,"viewBox","0 0 26 26"),fe(y,"class","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(i,"class","FilterButtonWrapper"),fe(r,"class","FiltersButtonsContainer")},m(e,t){ue(e,r,t),$&&$.m(r,null),de(r,a),de(r,i),de(i,o),de(o,s),de(i,l),de(i,c),de(c,d),de(d,u),de(u,m),de(m,h),de(d,p),de(c,g),de(c,f),de(f,y),de(y,v),b||(w=U(i,"click",n[90]),b=!0)},p(e,t){e[80]?$?$.p(e,t):(($=ll(e)).c(),$.m(r,a)):$&&($.d(1),$=null),524288&t[2]&&x!==(x=e[81]("filters")+"")&&ye(s,x),262144&t[2]&&ye(v,e[80])},d(e){e&&me(r),$&&$.d(),b=!1,w()}}}function ll(n){let r,a,i,o,s,l,c,d=n[81]("clear")+"";return{c(){r=he("div"),a=he("div"),i=pe(d),o=ge(),(s=he("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),l||(c=U(r,"click",n[89]),l=!0)},p(e,t){524288&t[2]&&d!==(d=e[81]("clear")+"")&&ye(i,d)},d(e){e&&me(r),l=!1,c()}}}function cl(e){let n;function r(e){return e[77]?hl:e[76]?ml:ul}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function dl(e){let n,r,a=e[81]("loading")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){524288&t[2]&&a!==(a=e[81]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function ul(e){let n;return{c(){F(n=he("casino-games-category-section"),"userid",e[7]),F(n,"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"favorites",e[15]),F(n,"lang",e[5]),F(n,"currency",e[4]),F(n,"session",e[6]),F(n,"categoryid",e[69]),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[20]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10]),F(n,"livecasino",e[21]),F(n,"visiblegames",e[14]),F(n,"gamepagemodalurl",e[24]),F(n,"integratedgameframedesktop",e[31]),F(n,"integratedgameframemobile",e[32]),F(n,"casinomygames",e[0]),F(n,"filterbylogo",e[55]),F(n,"addfilterselector",e[53]),F(n,"addsortingselector",e[54]),F(n,"casinogamesgridslider",e[25])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&F(n,"userid",e[7]),2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32768&t[0]&&F(n,"favorites",e[15]),32&t[0]&&F(n,"lang",e[5]),16&t[0]&&F(n,"currency",e[4]),64&t[0]&&F(n,"session",e[6]),128&t[2]&&F(n,"categoryid",e[69]),1048576&t[0]&&F(n,"showgamename",e[20]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10]),2097152&t[0]&&F(n,"livecasino",e[21]),16384&t[0]&&F(n,"visiblegames",e[14]),16777216&t[0]&&F(n,"gamepagemodalurl",e[24]),1&t[1]&&F(n,"integratedgameframedesktop",e[31]),2&t[1]&&F(n,"integratedgameframemobile",e[32]),1&t[0]&&F(n,"casinomygames",e[0]),16777216&t[1]&&F(n,"filterbylogo",e[55]),4194304&t[1]&&F(n,"addfilterselector",e[53]),8388608&t[1]&&F(n,"addsortingselector",e[54]),33554432&t[0]&&F(n,"casinogamesgridslider",e[25])},d(e){e&&me(n)}}}function ml(e){let n;return{c(){F(n=he("casino-my-games"),"userid",e[7]),F(n,"session",e[6]),F(n,"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"currency",e[4]),F(n,"favorites",e[15]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10]),F(n,"livecasino",e[21]),F(n,"visiblegames",e[14]),F(n,"gamepagemodalurl",e[24]),F(n,"showgamename",e[20]),F(n,"integratedgameframedesktop",e[31]),F(n,"integratedgameframemobile",e[32]),F(n,"translationurl",e[11]),F(n,"mostplayed",e[57]),F(n,"lastplayed",e[58]),F(n,"filteredcategories",e[18]),F(n,"activecategory",e[19]),F(n,"lastplayedunique",e[63]),F(n,"categoryindex","0"),F(n,"categoryid","MYGAMES"),F(n,"casinomygames",e[0]),F(n,"lastplayedperiod",e[59]),F(n,"mostplayedperiod",e[60]),F(n,"lastplayedorder",e[61]),F(n,"lastplayedlimit",e[62]),F(n,"mostplayedrounds",e[64])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&F(n,"userid",e[7]),64&t[0]&&F(n,"session",e[6]),2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),16&t[0]&&F(n,"currency",e[4]),32768&t[0]&&F(n,"favorites",e[15]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10]),2097152&t[0]&&F(n,"livecasino",e[21]),16384&t[0]&&F(n,"visiblegames",e[14]),16777216&t[0]&&F(n,"gamepagemodalurl",e[24]),1048576&t[0]&&F(n,"showgamename",e[20]),1&t[1]&&F(n,"integratedgameframedesktop",e[31]),2&t[1]&&F(n,"integratedgameframemobile",e[32]),2048&t[0]&&F(n,"translationurl",e[11]),67108864&t[1]&&F(n,"mostplayed",e[57]),134217728&t[1]&&F(n,"lastplayed",e[58]),262144&t[0]&&F(n,"filteredcategories",e[18]),524288&t[0]&&F(n,"activecategory",e[19]),2&t[2]&&F(n,"lastplayedunique",e[63]),1&t[0]&&F(n,"casinomygames",e[0]),268435456&t[1]&&F(n,"lastplayedperiod",e[59]),536870912&t[1]&&F(n,"mostplayedperiod",e[60]),1073741824&t[1]&&F(n,"lastplayedorder",e[61]),1&t[2]&&F(n,"lastplayedlimit",e[62]),4&t[2]&&F(n,"mostplayedrounds",e[64])},d(e){e&&me(n)}}}function hl(t){let a,i=t[79],o=[];for(let e=0;e<i.length;e+=1)o[e]=xl(rl(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(2133915647&n[0]|67108863&n[1]|131096&n[2]){let e;for(i=t[79],e=0;e<i.length;e+=1){var r=rl(t,i,e);o[e]?o[e].p(r,n):(o[e]=xl(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function pl(e){let n,r;return{c(){n=he("div"),F(r=he("casino-winners"),"session",e[6]),F(r,"userid",e[7]),F(r,"periodrecent",e[33]),F(r,"periodtop",e[34]),F(r,"numberusersrecent",e[35]),F(r,"numberuserstop",e[36]),F(r,"amountlimit",e[37]),F(r,"isrecentavailable",e[30]),F(r,"istopavailable",e[29]),F(r,"defaultcurrency",e[38]),F(r,"usercurrency",e[4]),F(r,"enableautoscroll",e[28]),F(r,"tabsorder",e[27]),F(r,"lang",e[5]),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10]),F(r,"endpoint",e[1]),F(r,"winnersdatasources",e[65]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[0]&&F(r,"session",e[6]),128&t[0]&&F(r,"userid",e[7]),4&t[1]&&F(r,"periodrecent",e[33]),8&t[1]&&F(r,"periodtop",e[34]),16&t[1]&&F(r,"numberusersrecent",e[35]),32&t[1]&&F(r,"numberuserstop",e[36]),64&t[1]&&F(r,"amountlimit",e[37]),1073741824&t[0]&&F(r,"isrecentavailable",e[30]),536870912&t[0]&&F(r,"istopavailable",e[29]),128&t[1]&&F(r,"defaultcurrency",e[38]),16&t[0]&&F(r,"usercurrency",e[4]),268435456&t[0]&&F(r,"enableautoscroll",e[28]),134217728&t[0]&&F(r,"tabsorder",e[27]),32&t[0]&&F(r,"lang",e[5]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10]),2&t[0]&&F(r,"endpoint",e[1]),8&t[2]&&F(r,"winnersdatasources",e[65])},d(e){e&&me(n)}}}function gl(e){let n,r,a;return{c(){n=he("br"),r=ge(),F(a=he("casino-calendar"),"userroles",e[9]),F(a,"cmsendpoint",e[12]),F(a,"env",e[2]),F(a,"lang",e[5]),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){512&t[0]&&F(a,"userroles",e[9]),4096&t[0]&&F(a,"cmsendpoint",e[12]),4&t[0]&&F(a,"env",e[2]),32&t[0]&&F(a,"lang",e[5]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function fl(){let n,r,a;return{c(){n=he("br"),r=ge(),fe(a=he("slot"),"name","je-jackpots-widget")},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function yl(e){let n,r,a,i;return{c(){n=he("br"),r=ge(),F(a=he("casino-jackpot-banner"),"title","Jackpot Cards"),F(a,"currency",i=e[4]||"RON"),F(a,"gameid","999"),F(a,"endpoint",e[1]),F(a,"lang",e[5]),F(a,"backgroundsrc","/assets/background0.jpg"),F(a,"backgroundsrcmobile","/assets/background0.jpg"),F(a,"titlelogopath","/assets/jackpots_logo.svg"),F(a,"caticon0","/assets/icon0.svg"),F(a,"caticon1","/assets/icon1.svg"),F(a,"caticon2","/assets/icon2.svg"),F(a,"caticon3","/assets/icon3.svg"),F(a,"visualstructure","typeSpread"),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&F(a,"currency",i),2&t[0]&&F(a,"endpoint",e[1]),32&t[0]&&F(a,"lang",e[5]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function vl(e){let n,r,a,i;return{c(){n=he("br"),r=ge(),F(a=he("casino-jackpot-banner"),"title","Egypt Quest"),F(a,"currency",i=e[4]||"RON"),F(a,"gameid","998"),F(a,"endpoint",e[1]),F(a,"lang",e[5]),F(a,"backgroundsrc",e[44]),F(a,"backgroundsrcmobile",e[45]),F(a,"titlelogopath",e[46]),F(a,"caticon0",e[40]),F(a,"caticon1",e[41]),F(a,"caticon2",e[42]),F(a,"caticon3",e[43]),F(a,"iconlabels",e[47]),F(a,"visualstructure",e[48]),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&F(a,"currency",i),2&t[0]&&F(a,"endpoint",e[1]),32&t[0]&&F(a,"lang",e[5]),8192&t[1]&&F(a,"backgroundsrc",e[44]),16384&t[1]&&F(a,"backgroundsrcmobile",e[45]),32768&t[1]&&F(a,"titlelogopath",e[46]),512&t[1]&&F(a,"caticon0",e[40]),1024&t[1]&&F(a,"caticon1",e[41]),2048&t[1]&&F(a,"caticon2",e[42]),4096&t[1]&&F(a,"caticon3",e[43]),65536&t[1]&&F(a,"iconlabels",e[47]),131072&t[1]&&F(a,"visualstructure",e[48]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function bl(e){let n;return{c(){F(n=he("casino-collections-providers"),"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"type","vendor"),F(n,"titletype","logo"),F(n,"collectionprovidersgamenames",e[52]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),2097152&t[1]&&F(n,"collectionprovidersgamenames",e[52]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function wl(e){let n;return{c(){F(n=he("casino-collections-providers"),"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"type",e[50]),F(n,"collectionprovidersgamenames",e[52]),F(n,"titletype",e[51]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),524288&t[1]&&F(n,"type",e[50]),2097152&t[1]&&F(n,"collectionprovidersgamenames",e[52]),1048576&t[1]&&F(n,"titletype",e[51]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function xl(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y=n[26]&&n[138]==+n[26]&&pl(n),v=n[56]&&n[138]==+n[56]&&gl(n),b=n[66]&&n[138]==+n[66]&&fl();function w(e,t){return 256&t[1]|131072&t[2]&&(o=null),256&t[1]|131072&t[2]&&(s=null),(o=null==o?!(!e[39]||e[138]!=(""==e[39].split(",")[0]?e[79].length:+e[39].split(",")[0])):o)?vl:(s=null==s?!(!e[39]||e[138]!=(""==e[39].split(",")[1]?e[79].length:+e[39].split(",")[1])):s)?yl:void 0}let x=w(n,[-1,-1,-1,-1,-1]),$=x&&x(n);function C(e,t){return 262144&t[1]|131072&t[2]&&(c=null),262144&t[1]|131072&t[2]&&(d=null),(c=null==c?!(!e[49]||e[138]!=(""==e[49].split(",")[0]?e[79].length:+e[49].split(",")[0])):c)?wl:(d=null==d?!(!e[49]||e[138]!=(""==e[49].split(",")[1]?e[79].length:+e[49].split(",")[1])):d)?bl:void 0}let S=C(n,[-1,-1,-1,-1,-1]),k=S&&S(n);return{c(){y&&y.c(),r=ge(),v&&v.c(),a=ge(),b&&b.c(),i=ge(),$&&$.c(),l=ge(),k&&k.c(),u=ge(),F(m=he("casino-games-category-section"),"session",n[6]),F(m,"userid",n[7]),F(m,"endpoint",n[1]),F(m,"datasource",n[3]),F(m,"lang",n[5]),F(m,"currency",n[4]),F(m,"categoryid",h=n[136]),F(m,"categoryindex",n[138]),F(m,"categorygames","9"),F(m,"favorites",n[15]),F(m,"showgamename",n[20]),F(m,"class","CategoryContainer"),_(m,"background-color",n[138]%2!=0?n[13]:"transparent"),F(m,"clientstyling",n[8]),F(m,"clientstylingurl",n[10]),F(m,"livecasino",n[21]),F(m,"visiblegames",n[14]),F(m,"gamepagemodalurl",n[24]),F(m,"integratedgameframedesktop",n[31]),F(m,"integratedgameframemobile",n[32]),F(m,"casinomygames",n[0]),F(m,"filterbylogo",n[55]),F(m,"addfilterselector",n[53]),F(m,"addsortingselector",n[54]),F(m,"casinogamesgridslider",n[25])},m(e,t){y&&y.m(e,t),ue(e,r,t),v&&v.m(e,t),ue(e,a,t),b&&b.m(e,t),ue(e,i,t),$&&$.m(e,t),ue(e,l,t),k&&k.m(e,t),ue(e,u,t),ue(e,m,t),g||(e=p=n[85].call(null,m,n[136]),f=e&&M(e.destroy)?e.destroy:O,g=!0)},p(e,t){(n=e)[26]&&n[138]==+n[26]?y?y.p(n,t):((y=pl(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),n[56]&&n[138]==+n[56]?v?v.p(n,t):((v=gl(n)).c(),v.m(a.parentNode,a)):v&&(v.d(1),v=null),n[66]&&n[138]==+n[66]?b||((b=fl()).c(),b.m(i.parentNode,i)):b&&(b.d(1),b=null),x===(x=w(n,t))&&$?$.p(n,t):($&&$.d(1),($=x&&x(n))&&($.c(),$.m(l.parentNode,l))),S===(S=C(n,t))&&k?k.p(n,t):(k&&k.d(1),(k=S&&S(n))&&(k.c(),k.m(u.parentNode,u))),64&t[0]&&F(m,"session",n[6]),128&t[0]&&F(m,"userid",n[7]),2&t[0]&&F(m,"endpoint",n[1]),8&t[0]&&F(m,"datasource",n[3]),32&t[0]&&F(m,"lang",n[5]),16&t[0]&&F(m,"currency",n[4]),131072&t[2]&&h!==(h=n[136])&&F(m,"categoryid",h),32768&t[0]&&F(m,"favorites",n[15]),1048576&t[0]&&F(m,"showgamename",n[20]),8192&t[0]&&_(m,"background-color",n[138]%2!=0?n[13]:"transparent"),256&t[0]&&F(m,"clientstyling",n[8]),1024&t[0]&&F(m,"clientstylingurl",n[10]),2097152&t[0]&&F(m,"livecasino",n[21]),16384&t[0]&&F(m,"visiblegames",n[14]),16777216&t[0]&&F(m,"gamepagemodalurl",n[24]),1&t[1]&&F(m,"integratedgameframedesktop",n[31]),2&t[1]&&F(m,"integratedgameframemobile",n[32]),1&t[0]&&F(m,"casinomygames",n[0]),16777216&t[1]&&F(m,"filterbylogo",n[55]),4194304&t[1]&&F(m,"addfilterselector",n[53]),8388608&t[1]&&F(m,"addsortingselector",n[54]),33554432&t[0]&&F(m,"casinogamesgridslider",n[25]),p&&M(p.update)&&131072&t[2]&&p.update.call(null,n[136])},d(e){y&&y.d(e),e&&me(r),v&&v.d(e),e&&me(a),b&&b.d(e),e&&me(i),$&&$.d(e),e&&me(l),k&&k.d(e),e&&me(u),e&&me(m),g=!1,f()}}}function $l(n){let r,a,i,o=n[81]("breakButton")+"";return{c(){r=he("div"),a=he("button"),i=pe(o),fe(a,"class","PanicButton "+("PC"!==Qr(n[82])?"PanicButtonMobile ":"")),B(a,"PanicButtonAnimation",n[75]),fe(r,"class","PanicSection "+("PC"!==Qr(n[82])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[91](a)},p(e,t){524288&t[2]&&o!==(o=e[81]("breakButton")+"")&&ye(i,o),8192&t[2]&&B(a,"PanicButtonAnimation",e[75])},d(e){e&&me(r),n[91](null)}}}function Cl(n){let r;function a(e){return e[73]?il:al}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[92](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[92](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;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}@media screen and (max-width: 480px){.SearchResultsContainer{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}}@media screen and (max-width: 385px){.SearchResultsContainer{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}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Gs,Es,n,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),m()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),m()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),m()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),m()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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)}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Is,Ps,n,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["duration","session","userid","clientstyling","identifier","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),m()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get identifier(){return this.$$.ctx[12]}set identifier(e){this.$$set({identifier:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:50vw;padding:20px;text-align:center;margin-bottom:50px;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:60vh;margin-bottom:0}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ys,Ws,n,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),m()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),m()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:8px 6px;border-radius:5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Zs,Vs,n,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),m()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),m()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;text-align:left;gap:10px}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},nl,tl,n,{cmsendpoint:8,env:9,userroles:10,lang:0,clientstyling:11,clientstylingurl:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[8]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[9]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[10]}set userroles(e){this.$$set({userroles:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});let Sl=!1;function kl(n,e,l){let D;dt(n,Jr,e=>l(81,D=e));let A,{endpoint:c=""}=e,{env:N=""}=e,{datasource:a=""}=e,{currency:O=""}=e,{lang:i=""}=e,{session:o=""}=e,{userid:s=""}=e,{clientstyling:d=""}=e,{userroles:B=""}=e,{clientstylingurl:u=""}=e,{translationurl:m=""}=e,{cmsendpoint:H=""}=e,{categorybackground:j=""}=e,r=e["visiblegames"],{favorites:h=""}=e,{containermaxwidth:z="1300"}=e,{lobbyid:U="casinodefault"}=e,{haspanicbutton:W="false"}=e,{filteredcategories:p=""}=e,{activecategory:g=""}=e,{showgamename:Y=""}=e,{livecasino:V="false"}=e,{playrandomgame:Z="false"}=e,{filteredrandomgamecategories:K=""}=e,{gamepagemodalurl:q="false"}=e,{casinogamesgridslider:X="false"}=e,{positionwinnerswidget:J=""}=e,{tabsorder:Q=""}=e,{enableautoscroll:ee=""}=e,{istopavailable:te=""}=e,{isrecentavailable:ne=""}=e,{integratedgameframedesktop:re="false"}=e,{integratedgameframemobile:ae="false"}=e,{periodrecent:ie=""}=e,{periodtop:oe=""}=e,{numberusersrecent:se=""}=e,{numberuserstop:le=""}=e,{amountlimit:ce=""}=e,{defaultcurrency:de=""}=e,{showsubgroups:ue=""}=e,{positionjackpotbanners:me=""}=e,{caticon0:he=""}=e,{caticon1:pe=""}=e,{caticon2:ge=""}=e,{caticon3:fe=""}=e,{backgroundsrc:ye=""}=e,{backgroundsrcmobile:ve=""}=e,{titlelogopath:be=""}=e,{iconlabels:we=""}=e,{visualstructure:xe=""}=e,{positioncollections:$e=""}=e,{type:Ce=""}=e,{titletype:Se=""}=e,{collectionprovidersgamenames:ke=""}=e,{addfilterselector:Fe="false"}=e,{addsortingselector:_e="false"}=e,{filterbylogo:Me=""}=e,{positioncasinocalendar:Ee=""}=e,{casinomygames:f="false"}=e,{mostplayed:Ge=""}=e,{lastplayed:Le=""}=e,{lastplayedperiod:Te="Last30Days"}=e,{mostplayedperiod:Pe="Last30Days"}=e,{lastplayedorder:Ie=""}=e,{lastplayedlimit:Re=""}=e,{lastplayedunique:De="true"}=e,{mostplayedrounds:Ae=""}=e,{winnersdatasources:Ne=""}=e,{positionjelobbywidget:Oe=""}=e,{randombuttonicon:Be=""}=e,He=window.navigator.userAgent;A=ct(He)?"OpenGameFrame":"ShowGameModal";let y,v,b,je,w,ze,Ue,We,x,$,C=!1,S=!1,Ye=!1,k="",t=!1,F=0,_=!1,M=!0,Ve=!1,Ze=[],E=[],Ke=!1,G=[],qe=0,L="",Xe=!1;var Je,Qe;({withLocale:Je,translations:Qe}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(Qe),lt.set(Je))}),Object.keys(ta).forEach(e=>{ea(e,ta[e])});const et=e=>{switch(Ke=!0,l(0,f="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Ke},window.location.href)}),e.data.itemId){case"LOBBY":l(77,M=!0),l(76,_=!1),l(69,w="");break;case"MYGAMES":l(0,f="true"),l(77,M=!1),l(76,_=!0),l(69,w="");break;case"FAVORITES":l(77,M=!1),l(76,_=!0),l(69,w="");break;case"MOSTPLAYED":"true"==Ge&&(l(69,w=""),l(77,M=!1),l(76,_=!0));break;case"LASTPLAYED":"true"==Le&&(l(69,w=""),l(77,M=!1),l(76,_=!0));break;default:l(77,M=!1),l(76,_=!1),l(69,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},2e3)}},tt=n=>{if(n.data)switch(n.data.type){case"CategoryChange":et(n);break;case"UserSessionID":v=n.data.session,(y=n.data.userID)&&y.length&&v&&0<v.length&&T(c,v,y);break;case"SetUnfavoredGame":t=`${c}/v1/player/${y}/favorites`,o=v,y,s=n.data.id,G.includes(s)&&(G=G.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),nt(t,o)});break;case"SetFavoredGame":{var r=`${c}/v1/player/${y}/favorites`;var a=v;y;var i=n.data.id;G.includes(i)||G.push(i);let e={items:G},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),nt(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":y&&y.length&&v&&0<v.length&&T(c,v,y);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:L,origin:n.data.origin},window.location.href),P();break;case"CategoryVendors":L=n.data.categoryid,P();break;case"searchCancelled":l(78,Ve=!1),w&&et({data:{itemId:w}});break;case"searchActive":l(78,Ve=!0);break;case"ModalClosed":break;case"SubgroupsIds":E.some(e=>n.data.subGroupsIds.includes(e))||E.push(...n.data.subGroupsIds)}var e,t,o,s};let T=(e,t,n)=>{"true"==h&&o&&n&&fetch(e+`/v1/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((x=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:x},window.location.href),it(x.items)),x)).then(e=>e).catch(e=>{console.error(e)})},nt=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((x=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:x},window.location.href),x)).catch(e=>{console.error(e)})};const rt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},at=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},it=(e=[])=>(G=[],0<e.length&&e.forEach(e=>{G.push(e.id)}),G);const P=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&L&&(e[L]?l(80,qe=e[L].length):l(80,qe=0))},ot=()=>{ze&&(Ue=ze.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},I=e=>{F=0,je=setInterval(()=>{F+=1,l(75,t=!0),3<=F&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(je))},1e3)},R=e=>{F<3&&l(75,t=!1),clearInterval(je)};return ut(()=>(window.addEventListener("scroll",ot,!1),window.addEventListener("message",tt,!1),()=>{window.removeEventListener("scroll",ot),window.removeEventListener("message",tt),l(75,t=!1),null!=b&&b.removeEventListener("mousedown",I),null!=b&&b.removeEventListener("touchstart",I),null!=b&&b.removeEventListener("mouseup",R),null!=b&&b.removeEventListener("touchend",R)})),n.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"env"in e&&l(2,N=e.env),"datasource"in e&&l(3,a=e.datasource),"currency"in e&&l(4,O=e.currency),"lang"in e&&l(5,i=e.lang),"session"in e&&l(6,o=e.session),"userid"in e&&l(7,s=e.userid),"clientstyling"in e&&l(8,d=e.clientstyling),"userroles"in e&&l(9,B=e.userroles),"clientstylingurl"in e&&l(10,u=e.clientstylingurl),"translationurl"in e&&l(11,m=e.translationurl),"cmsendpoint"in e&&l(12,H=e.cmsendpoint),"categorybackground"in e&&l(13,j=e.categorybackground),"visiblegames"in e&&l(14,r=e.visiblegames),"favorites"in e&&l(15,h=e.favorites),"containermaxwidth"in e&&l(16,z=e.containermaxwidth),"lobbyid"in e&&l(86,U=e.lobbyid),"haspanicbutton"in e&&l(17,W=e.haspanicbutton),"filteredcategories"in e&&l(18,p=e.filteredcategories),"activecategory"in e&&l(19,g=e.activecategory),"showgamename"in e&&l(20,Y=e.showgamename),"livecasino"in e&&l(21,V=e.livecasino),"playrandomgame"in e&&l(22,Z=e.playrandomgame),"filteredrandomgamecategories"in e&&l(23,K=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(24,q=e.gamepagemodalurl),"casinogamesgridslider"in e&&l(25,X=e.casinogamesgridslider),"positionwinnerswidget"in e&&l(26,J=e.positionwinnerswidget),"tabsorder"in e&&l(27,Q=e.tabsorder),"enableautoscroll"in e&&l(28,ee=e.enableautoscroll),"istopavailable"in e&&l(29,te=e.istopavailable),"isrecentavailable"in e&&l(30,ne=e.isrecentavailable),"integratedgameframedesktop"in e&&l(31,re=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(32,ae=e.integratedgameframemobile),"periodrecent"in e&&l(33,ie=e.periodrecent),"periodtop"in e&&l(34,oe=e.periodtop),"numberusersrecent"in e&&l(35,se=e.numberusersrecent),"numberuserstop"in e&&l(36,le=e.numberuserstop),"amountlimit"in e&&l(37,ce=e.amountlimit),"defaultcurrency"in e&&l(38,de=e.defaultcurrency),"showsubgroups"in e&&l(87,ue=e.showsubgroups),"positionjackpotbanners"in e&&l(39,me=e.positionjackpotbanners),"caticon0"in e&&l(40,he=e.caticon0),"caticon1"in e&&l(41,pe=e.caticon1),"caticon2"in e&&l(42,ge=e.caticon2),"caticon3"in e&&l(43,fe=e.caticon3),"backgroundsrc"in e&&l(44,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&l(45,ve=e.backgroundsrcmobile),"titlelogopath"in e&&l(46,be=e.titlelogopath),"iconlabels"in e&&l(47,we=e.iconlabels),"visualstructure"in e&&l(48,xe=e.visualstructure),"positioncollections"in e&&l(49,$e=e.positioncollections),"type"in e&&l(50,Ce=e.type),"titletype"in e&&l(51,Se=e.titletype),"collectionprovidersgamenames"in e&&l(52,ke=e.collectionprovidersgamenames),"addfilterselector"in e&&l(53,Fe=e.addfilterselector),"addsortingselector"in e&&l(54,_e=e.addsortingselector),"filterbylogo"in e&&l(55,Me=e.filterbylogo),"positioncasinocalendar"in e&&l(56,Ee=e.positioncasinocalendar),"casinomygames"in e&&l(0,f=e.casinomygames),"mostplayed"in e&&l(57,Ge=e.mostplayed),"lastplayed"in e&&l(58,Le=e.lastplayed),"lastplayedperiod"in e&&l(59,Te=e.lastplayedperiod),"mostplayedperiod"in e&&l(60,Pe=e.mostplayedperiod),"lastplayedorder"in e&&l(61,Ie=e.lastplayedorder),"lastplayedlimit"in e&&l(62,Re=e.lastplayedlimit),"lastplayedunique"in e&&l(63,De=e.lastplayedunique),"mostplayedrounds"in e&&l(64,Ae=e.mostplayedrounds),"winnersdatasources"in e&&l(65,Ne=e.winnersdatasources),"positionjelobbywidget"in e&&l(66,Oe=e.positionjelobbywidget),"randombuttonicon"in e&&l(67,Be=e.randombuttonicon)},n.$$.update=()=>{if(524320&n.$$.dirty[0]&&i&&g&&(l(69,w=g),et({data:{itemId:w}})),194&n.$$.dirty[0]&&o&&s&&c&&(l(74,Ye=!0),v=o,y=s)&&y.length&&v&&0<v.length&&"true"!=f&&T(c,v,y),67108992&n.$$.dirty[2]&&w&&E&&E&&!E.includes(decodeURI(w))&&""!=w&&window.postMessage({type:"NonExistentCategory"},window.location.href),42&n.$$.dirty[0]&&c&&a&&i&&(c||(k="Endpoint is missing! Please provide a valid endpointURL.",l(73,S=!0),l(72,C=!1),console.error(k)),a||(k="Datasource is missing! Please provide a valid datasource.",l(73,S=!0),l(72,C=!1),console.error(k)),(!i||i.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",l(73,S=!0),l(72,C=!1),console.error(k)),S||(l(72,C=!0),"true"==h&&T(c,v,y),t=i,lt.set(t),(t=new URL(c+"/v1/casino/groups/"+a)).searchParams.append("language",i),t.searchParams.append("platform",Qr(He)),r=t,new Promise((t,n)=>{l(72,C=!0),fetch(r).then(e=>e.json()).then(e=>{l(72,C=!1),t(e)}).catch(e=>{l(73,S=!0),l(72,C=!1),console.error(e),n(e)})}).then(e=>{let r=p.split(",");e&&(We=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,p))for(var n of r)e.flags==n&&(t=!1);return t}),l(79,Ze=We.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==ue)}).map(e=>e.id)),l(88,E=e.items.map(e=>e.id.toString())),l(72,C=!1))}),P(),ze=void 0)),32&n.$$.dirty[0]&&i&&(Xe&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),Xe=!1),2048&n.$$.dirty[0]&&m&&(t=new URL(m),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ea(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[0]|256&n.$$.dirty[2]&&d&&$&&((e=document.createElement("style")).innerHTML=d,$.appendChild(e)),1024&n.$$.dirty[0]|256&n.$$.dirty[2]&&u&&$){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}var e,r,t;64&n.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",I,!1),null!=b&&b.addEventListener("touchstart",I,!1),null!=b&&b.addEventListener("mouseup",R,!1),null!=b)&&b.addEventListener("touchend",R,!1)},[f,c,N,a,O,i,o,s,d,B,u,m,H,j,r,h,z,W,p,g,Y,V,Z,K,q,X,J,Q,ee,te,ne,re,ae,ie,oe,se,le,ce,de,me,he,pe,ge,fe,ye,ve,be,we,xe,$e,Ce,Se,ke,Fe,_e,Me,Ee,Ge,Le,Te,Pe,Ie,Re,De,Ae,Ne,Oe,Be,b,w,$,A,C,S,Ye,t,_,M,Ve,Ze,qe,D,He,rt,at,(e,t)=>{L=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:r,receivedFavoriteResults:x},window.location.href)},U,ue,E,()=>at(),()=>{rt()},function(e){st[e?"unshift":"push"](()=>{b=e,l(68,b)})},function(e){st[e?"unshift":"push"](()=>{$=e,l(70,$)})}]}class Fl extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;position:relative}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-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}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}.FiltersButtonsContainer{display:flex;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}.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)}@media screen and (max-width: 1300px){}.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}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}@media(max-width: 768px){}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},kl,Cl,n,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,containermaxwidth:16,lobbyid:86,haspanicbutton:17,filteredcategories:18,activecategory:19,showgamename:20,livecasino:21,playrandomgame:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:87,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,positionjelobbywidget:66,randombuttonicon:67},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","env","datasource","currency","lang","session","userid","clientstyling","userroles","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","favorites","containermaxwidth","lobbyid","haspanicbutton","filteredcategories","activecategory","showgamename","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","casinogamesgridslider","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","positionjelobbywidget","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get env(){return this.$$.ctx[2]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get userroles(){return this.$$.ctx[9]}set userroles(e){this.$$set({userroles:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(e){this.$$set({categorybackground:e}),m()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),m()}get containermaxwidth(){return this.$$.ctx[16]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get lobbyid(){return this.$$.ctx[86]}set lobbyid(e){this.$$set({lobbyid:e}),m()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get filteredcategories(){return this.$$.ctx[18]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),m()}get showgamename(){return this.$$.ctx[20]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[21]}set livecasino(e){this.$$set({livecasino:e}),m()}get playrandomgame(){return this.$$.ctx[22]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get showsubgroups(){return this.$$.ctx[87]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get positionjelobbywidget(){return this.$$.ctx[66]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get randombuttonicon(){return this.$$.ctx[67]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}}return customElements.get("casino-page")||customElements.define("casino-page",Fl),Fl});
32
+ `},J,f,v,b,w,r,$,S,k,F,_,M,E,G,L,T,ge,fe,function(e){st[e?"unshift":"push"](()=>{s=e,o(19,s)})},()=>be(a),()=>ve(a),()=>be(a),function(e){st[e?"unshift":"push"](()=>{g=e,o(15,g)})},function(e){st[e?"unshift":"push"](()=>{l=e,o(12,l)})}]}function Na(e,t){$r(e,t)}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));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 .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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.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:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 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}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 375px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-bottom:5px;font-size:12px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 410px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:14px;padding:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Aa,Ta,n,{session:44,userid:45,lang:1,clientstyling:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:49,gameid:6,gameisnew:7,gametag:8,gamefunmode:50,gamefavorite:0,gamecellsize:9,showfavoredcategory:51,showgamename:10,currency:52,gamepagemodalurl:53,endpoint:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[44]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[45]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),m()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),m()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),m()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),m()}get gamelaunchurl(){return this.$$.ctx[49]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),m()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),m()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),m()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),m()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),m()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),m()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),m()}get showfavoredcategory(){return this.$$.ctx[51]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),m()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),m()}get currency(){return this.$$.ctx[52]}set currency(e){this.$$set({currency:e}),m()}get gamepagemodalurl(){return this.$$.ctx[53]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),m()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),m()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),m()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const Oa={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"}};function Ba(e,t,n){e=e.slice();return e[36]=t[n],e[37]=t,e[38]=n,e}function Ha(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,e,x,A,$,C,N,S,k,F,_,M,E,O,G=n[11]("filterby")+"",L=n[11]("providers")+"",T=n[11]("clear")+"";function B(e){return e[7]?Ua:za}let P=B(n),I=P(n),R=n[5],D=[];for(let e=0;e<R.length;e+=1)D[e]=Va(Ba(n,R,e));return{c(){r=he("div"),a=he("div"),i=he("div"),o=z("svg"),s=z("path"),l=ge(),c=he("div"),d=he("span"),u=pe(G),m=ge(),h=he("div"),p=he("span"),g=pe(L),f=ge(),I.c(),y=ge(),v=he("span"),b=z("svg"),w=z("path"),A=ge(),$=he("div"),C=he("ul");for(let e=0;e<D.length;e+=1)D[e].c();N=ge(),S=he("button"),k=pe(T),fe(s,"id","noun_filter_736223"),fe(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),fe(s,"transform","translate(-5 -6.2)"),fe(s,"fill","#fff"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","16"),fe(o,"height","16"),fe(o,"viewBox","0 0 16 16"),fe(d,"class","FilterName"),fe(h,"class","FilterValueContainer"),fe(c,"class","FilterTextContainer"),fe(i,"class","FilterMainArea"),fe(w,"id","arrow"),fe(w,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe(w,"transform","translate(-274.511 -441.088)"),fe(w,"fill","#d1d1d1"),fe(b,"xmlns","http://www.w3.org/2000/svg"),fe(b,"width","14"),fe(b,"height","6.835"),fe(b,"viewBox","0 0 14 6.835"),fe(v,"class",e="TriangleInactive "+(n[4]?"TriangleActive":"")),fe(a,"class",x="FilterSelector "+(n[4]?"FilterSelectorOpen":"")),fe(C,"class","FilterDropdown"),fe(S,"class","ClearFilters"),S.disabled=F=n[7]&&n[6].length!=n[5].length,fe($,"class",_="FilterDropdownContainer "+(n[4]?"FilterOpen":"")),fe(r,"class",M="FilterContainer "+("true"==n[0]&&"true"==n[1]?"FilerContainerSplit":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,l),de(i,c),de(c,d),de(d,u),de(c,m),de(c,h),de(h,p),de(p,g),de(h,f),I.m(h,null),de(a,y),de(a,v),de(v,b),de(b,w),de(r,A),de(r,$),de($,C);for(let e=0;e<D.length;e+=1)D[e]&&D[e].m(C,null);de($,N),de($,S),de(S,k),E||(O=[U(a,"click",n[22]),U(S,"click",n[25])],E=!0)},p(t,n){if(2048&n[0]&&G!==(G=t[11]("filterby")+"")&&ye(u,G),2048&n[0]&&L!==(L=t[11]("providers")+"")&&ye(g,L),P===(P=B(t))&&I?I.p(t,n):(I.d(1),(I=P(t))&&(I.c(),I.m(h,null))),16&n[0]&&e!==(e="TriangleInactive "+(t[4]?"TriangleActive":""))&&fe(v,"class",e),16&n[0]&&x!==(x="FilterSelector "+(t[4]?"FilterSelectorOpen":""))&&fe(a,"class",x),8228&n[0]){let e;for(R=t[5],e=0;e<R.length;e+=1){const a=Ba(t,R,e);D[e]?D[e].p(a,n):(D[e]=Va(a),D[e].c(),D[e].m(C,null))}for(;e<D.length;e+=1)D[e].d(1);D.length=R.length}2048&n[0]&&T!==(T=t[11]("clear")+"")&&ye(k,T),224&n[0]&&F!==(F=t[7]&&t[6].length!=t[5].length)&&(S.disabled=F),16&n[0]&&_!==(_="FilterDropdownContainer "+(t[4]?"FilterOpen":""))&&fe($,"class",_),3&n[0]&&M!==(M="FilterContainer "+("true"==t[0]&&"true"==t[1]?"FilerContainerSplit":""))&&fe(r,"class",M)},d(e){e&&me(r),I.d(),j(D,e),E=!1,H(O)}}}function ja(e){let n,r,a=e[11]("500")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("500")+"")&&ye(r,a)},d(e){e&&me(n)}}}function za(e){let n,r;return{c(){n=he("span"),r=pe(e[8]),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&ye(r,e[8])},d(e){e&&me(n)}}}function Ua(e){let n,r,a=e[11]("all")+"";return{c(){n=he("span"),r=pe(a),fe(n,"class","FilterCounter")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2048&t[0]&&a!==(a=e[11]("all")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Wa(e){let n,r;return{c(){ce((n=he("img")).src,r=e[36].logo)||fe(n,"src",r),fe(n,"alt","vendor logo")},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&!ce(n.src,r=e[36].logo)&&fe(n,"src",r)},d(e){e&&me(n)}}}function Ya(e){let n,r,a,i,o,s,l,c,d=e[36].name+"",u=e[36].games.count+"";return{c(){n=he("div"),r=he("span"),a=pe(d),i=ge(),o=he("span"),s=pe("("),l=pe(u),c=pe(")"),fe(n,"class","FilterItemLabel")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(n,i),de(n,o),de(o,s),de(o,l),de(o,c)},p(e,t){32&t[0]&&d!==(d=e[36].name+"")&&ye(a,d),32&t[0]&&u!==(u=e[36].games.count+"")&&ye(l,u)},d(e){e&&me(n)}}}function Va(n){let r,a,i,o,s,l,c,d,u,m,h,p;function g(){n[23].call(i,n[37],n[38])}function f(){return n[24](n[36])}function y(e){return"false"===e[2]?Ya:"true"===e[2]?Wa:void 0}let v=y(n),b=v&&v(n);return{c(){r=he("li"),a=he("label"),i=he("input"),s=ge(),l=he("span"),c=ge(),b&&b.c(),d=ge(),fe(i,"type","checkbox"),fe(i,"name","checkbox"),i.__value=o=n[36].name,i.value=i.__value,fe(l,"class","FiltersCheckmark"),fe(a,"class","FilterLabel"),fe(r,"class",u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":"")),r.value=m=n[36].name},m(e,t){ue(e,r,t),de(r,a),de(a,i),i.checked=n[36].isFilterSelected,de(a,s),de(a,l),de(a,c),b&&b.m(a,null),de(r,d),h||(p=[U(i,"change",g),U(i,"click",f)],h=!0)},p(e,t){n=e,32&t[0]&&o!==(o=n[36].name)&&(i.__value=o,i.value=i.__value),32&t[0]&&(i.checked=n[36].isFilterSelected),v===(v=y(n))&&b?b.p(n,t):(b&&b.d(1),(b=v&&v(n))&&(b.c(),b.m(a,null))),4&t[0]&&u!==(u="FilterItem "+("true"===n[2]?"FilterItemWithLogos":""))&&fe(r,"class",u),32&t[0]&&m!==(m=n[36].name)&&(r.value=m)},d(e){e&&me(r),b&&b.d(),h=!1,H(p)}}}function Za(n){let r;function a(e){return e[10]?ja:e[9]?void 0:Ha}let i=a(n),o=i&&i(n);return{c(){r=he("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[26](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[26](null)}}}function Ka(n,e,r){let t;dt(n,Jr,e=>r(11,t=e));let a,{endpoint:i=""}=e,{datasource:o=""}=e,{lang:s=""}=e,{translationurl:l=""}=e,{clientstyling:c=""}=e,{clientstylingurl:d=""}=e,{categoryid:u=""}=e,{addfilterselector:m="false"}=e,{addsortingselector:h="false"}=e,{filterbylogo:p="false"}=e,g=!1,f=window.navigator.userAgent,y=[],v=[],b={},w=!1,x=0,$=!0,C=!1;var S,k;({withLocale:S,translations:k}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(k),lt.set(S))}),Object.keys(Oa).forEach(e=>{Na(e,Oa[e])}),b[u]&&(b={[u]:[]});const F=()=>{r(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},_=t=>{var e=localStorage.getItem("vendorFiltersByCategory");t.isFilterSelected=!t.isFilterSelected,v.length&&0!=v.filter(e=>e.name===t.name).length?r(6,v=v.filter(e=>e.name!==t.name)):v.push(t),null==e?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})):((e=JSON.parse(e))[u]=v.map(e=>e.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),M()},M=()=>{r(7,w=v.length===y.length||0==v.length),r(8,x=v.length)},E=()=>{r(6,v=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(b={[u]:v.map(e=>e.id)})),y.forEach(e=>e.isFilterSelected=!1),r(5,y),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,w=!0),r(4,g=!1)},G=e=>{"SortingOpened"==e.data.type&&r(4,g=!1)};return ut(()=>(window.addEventListener("message",G,!1),()=>{window.removeEventListener("message",G)})),n.$$set=e=>{"endpoint"in e&&r(15,i=e.endpoint),"datasource"in e&&r(16,o=e.datasource),"lang"in e&&r(17,s=e.lang),"translationurl"in e&&r(18,l=e.translationurl),"clientstyling"in e&&r(19,c=e.clientstyling),"clientstylingurl"in e&&r(20,d=e.clientstylingurl),"categoryid"in e&&r(21,u=e.categoryid),"addfilterselector"in e&&r(0,m=e.addfilterselector),"addsortingselector"in e&&r(1,h=e.addsortingselector),"filterbylogo"in e&&r(2,p=e.filterbylogo)},n.$$.update=()=>{if(2195460&n.$$.dirty[0]&&i&&o&&u&&p&&(t=new URL(i+"/v1/casino/vendors"),r(4,g=!1),t.searchParams.append("fields","id,name,logo,subVendors,games"),t.searchParams.append("language",s),t.searchParams.append("datasource",o),t.searchParams.append("platform",Qr(f)),1<(u.match(/\$/g)||[]).length?(t.searchParams.append("filter",`games(subGroups=${u})`),t.searchParams.append("subVendors",`games(subGroups=${u})`)):t.searchParams.append("filter",`games(groups=${u})`),e=t,r(9,$=!0),new Promise((t,n)=>{fetch(e).then(e=>e.json()).then(e=>{e=e.items,t(e.items),r(6,v=[]);let n=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach(e=>{var t;0<=(null==(t=(n=n||{currentCategoryId:[]})[u])?void 0:t.indexOf(e.id))?(e.isFilterSelected=!0,v.push(e)):e.isFilterSelected=!1}),r(5,y=e),M()}).catch(e=>{console.error(e),r(10,C=!0),n(e)}).finally(()=>{r(9,$=!1)})})),524296&n.$$.dirty[0]&&c&&a&&((t=document.createElement("style")).innerHTML=c,a.appendChild(t)),1048584&n.$$.dirty[0]&&d&&a){let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e,t;262144&n.$$.dirty[0]&&l&&fetch(l).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Na(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,p,a,g,y,v,w,x,$,C,t,F,_,E,i,o,s,l,c,d,u,()=>F(),function(e,t){e[t].isFilterSelected=this.checked,r(5,y)},e=>_(e),()=>E(),function(e){st[e?"unshift":"push"](()=>{a=e,r(3,a)})}]}function qa(e,t){$r(e,t)}customElements.get("casino-filter")||customElements.define("casino-filter",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ka,Za,n,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),m()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}});const Xa={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function Ja(e,t,n){e=e.slice();return e[23]=t[n],e}function Qa(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,e,C,S,k,F,_,M,E,G=n[4]("sortby")+"",L=(n[3]||n[4]("all"))+"",T=Object.values(n[5]),P=[];for(let e=0;e<T.length;e+=1)P[e]=ei(Ja(n,T,e));return{c(){r=he("div"),a=he("div"),i=he("div"),o=z("svg"),s=z("g"),l=z("path"),c=z("path"),d=z("path"),u=ge(),m=he("div"),h=he("span"),p=pe(G),g=ge(),f=he("div"),y=he("span"),v=pe(L),b=ge(),w=he("span"),x=z("svg"),$=z("path"),S=ge(),k=he("div"),F=he("ul");for(let e=0;e<P.length;e+=1)P[e].c();fe(l,"id","Path_5267"),fe(l,"data-name","Path 5267"),fe(l,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),fe(l,"transform","translate(-206.448 0)"),fe(l,"fill","#fff"),fe(c,"id","Path_5268"),fe(c,"data-name","Path 5268"),fe(c,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),fe(c,"transform","translate(0 0)"),fe(c,"fill","#fff"),fe(d,"id","Path_5269"),fe(d,"data-name","Path 5269"),fe(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),fe(d,"transform","translate(-412.896 0)"),fe(d,"fill","#fff"),fe(s,"id","sortby"),fe(s,"transform","translate(-306 -342)"),fe(o,"xmlns","http://www.w3.org/2000/svg"),fe(o,"width","20"),fe(o,"height","20"),fe(o,"viewBox","0 0 26.003 22.819"),fe(h,"class","SorterName"),fe(f,"class","SorterValueContainer"),fe(m,"class","SorterTextContainer"),fe(i,"class","SorterMainArea"),fe($,"id","arrow"),fe($,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),fe($,"transform","translate(-274.511 -441.088)"),fe($,"fill","#d1d1d1"),fe(x,"xmlns","http://www.w3.org/2000/svg"),fe(x,"width","14"),fe(x,"height","6.835"),fe(x,"viewBox","0 0 14 6.835"),fe(w,"class",e="TriangleInactive "+(n[1]?"TriangleActive":"")),fe(a,"class",C="SorterSelector "+(n[1]?"SorterSelectorOpen":"")),fe(F,"class","SorterDropdown"),fe(k,"class",_="SorterDropdownContainer "+(n[1]?"SorterOpen":"")),fe(r,"class","SorterContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(s,l),de(s,c),de(s,d),de(i,u),de(i,m),de(m,h),de(h,p),de(m,g),de(m,f),de(f,y),de(y,v),de(a,b),de(a,w),de(w,x),de(x,$),de(r,S),de(r,k),de(k,F);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(F,null);M||(E=U(a,"click",n[13]),M=!0)},p(t,n){if(16&n&&G!==(G=t[4]("sortby")+"")&&ye(p,G),24&n&&L!==(L=(t[3]||t[4]("all"))+"")&&ye(v,L),2&n&&e!==(e="TriangleInactive "+(t[1]?"TriangleActive":""))&&fe(w,"class",e),2&n&&C!==(C="SorterSelector "+(t[1]?"SorterSelectorOpen":""))&&fe(a,"class",C),120&n){let e;for(T=Object.values(t[5]),e=0;e<T.length;e+=1){var r=Ja(t,T,e);P[e]?P[e].p(r,n):(P[e]=ei(r),P[e].c(),P[e].m(F,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=T.length}2&n&&_!==(_="SorterDropdownContainer "+(t[1]?"SorterOpen":""))&&fe(k,"class",_)},d(e){e&&me(r),j(P,e),M=!1,E()}}}function ei(n){let r,a,i,o,s,l,c,d,u,m,h,p,e=n[23]+"";function g(){return n[14](n[23])}return{c(){r=he("li"),a=he("label"),i=he("input"),s=ge(),l=he("span"),c=ge(),d=he("span"),u=pe(e),m=ge(),fe(i,"type","radio"),fe(i,"name","radio"),i.value=n[23],i.checked=o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"),fe(l,"class","SortersCheckmark"),fe(a,"class","SorterLabel CustomRadioButton"),fe(r,"class","SorterItem"),r.value=n[23]},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,s),de(a,l),de(a,c),de(a,d),de(d,u),de(r,m),h||(p=U(i,"click",g),h=!0)},p(e,t){n=e,24&t&&o!==(o=n[3]==n[23]||null==n[3]&&n[23]==n[4]("all"))&&(i.checked=o)},d(e){e&&me(r),h=!1,p()}}}function ti(n){let r;function a(e){if(!e[2])return Qa}let i=a(n),o=i&&i(n);return{c(){r=he("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[15](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[15](null)}}}function ni(t,e,r){let n;dt(t,Jr,e=>r(4,n=e));let a,{lang:i=""}=e,{translationurl:o=""}=e,{clientstyling:s=""}=e,{clientstylingurl:l=""}=e,{categoryid:c=""}=e,d=!1,u=!0,m="",h="All";var p,g;({withLocale:p,translations:g}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(g),lt.set(p))}),Object.keys(Xa).forEach(e=>{qa(e,Xa[e])});const f={All:n("all"),name:n("az"),isNew:n("newest"),"advancedTags(name(hot))":n("hottest")},y=e=>{r(3,h=e);var t,n=localStorage.getItem("vendorSortingBy");for(t in m=e,f)if(f[t]===e){m=t;break}null==n?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):((n=JSON.parse(n))[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(n))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),r(1,d=!d)},v=()=>{r(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},b=e=>{"FilterOpened"==e.data.type&&r(1,d=!1)};return ut(()=>(window.addEventListener("message",b,!1),()=>{window.removeEventListener("message",b)})),t.$$set=e=>{"lang"in e&&r(8,i=e.lang),"translationurl"in e&&r(9,o=e.translationurl),"clientstyling"in e&&r(10,s=e.clientstyling),"clientstylingurl"in e&&r(11,l=e.clientstylingurl),"categoryid"in e&&r(12,c=e.categoryid)},t.$$.update=()=>{if(4096&t.$$.dirty&&c&&(r(3,h="All"),r(2,u=!1),r(1,d=!1),e=null==(e=JSON.parse(localStorage.getItem("vendorSortingBy")))?void 0:e[c],r(3,h=e||"All"),r(3,h=f[e])),1025&t.$$.dirty&&s&&a&&((e=document.createElement("style")).innerHTML=s,a.appendChild(e)),2049&t.$$.dirty&&l&&a){let t=document.createElement("style");fetch(new URL(l)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e;512&t.$$.dirty&&o&&fetch(o).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qa(e,t[e])})}).catch(e=>{console.log(e)})},[a,d,u,h,n,f,y,v,i,o,s,l,c,()=>v(),e=>y(e),function(e){st[e?"unshift":"push"](()=>{a=e,r(0,a)})}]}function ri(e,t,n){e=e.slice();return e[76]=t[n],e[78]=n,e}function ai(e,t,n){e=e.slice();return e[76]=t[n],e[79]=t,e[78]=n,e}function ii(e,t,n){e=e.slice();return e[76]=t[n],e[78]=n,e}function oi(e){let n;function r(e){return e[25]?di:e[36]?ci:void 0}let a=r(e),i=a&&a(e);return{c(){n=he("div"),i&&i.c()},m(e,t){ue(e,n,t),i&&i.m(n,null)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),(i=a&&a(e))&&(i.c(),i.m(n,null)))},d(e){e&&me(n),i&&i.d()}}}function si(e){let n,r,a;function i(e){return e[29]?Ri:e[26].length?Pi:Ii}let o=i(e),s=o(e);function l(e){return e[26]?Ai:Di}let c=l(e),d=c(e);return{c(){n=he("div"),r=he("div"),s.c(),a=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(ct(e[41])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,a),d.m(n,null)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&me(n),s.d(),d.d()}}}function li(e){let n;function r(e){return e[31]?Hi:Bi}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a!==(a=r(e))&&(i.d(1),i=a(e))&&(i.c(),i.m(n.parentNode,n))},d(e){i.d(e),e&&me(n)}}}function ci(n){let r,a,i,o,s="true"!==n[17]&&ui(n);function l(e){return e[22]&&!e[33]?pi:e[39]?hi:mi}let c=l(n),d=c(n);return{c(){r=he("div"),s&&s.c(),a=ge(),i=he("ul"),d.c(),fe(i,"class",o=(0!=n[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer")},m(e,t){ue(e,r,t),s&&s.m(r,null),de(r,a),de(r,i),d.m(i,null),n[51](i)},p(e,t){"true"!==e[17]?s?s.p(e,t):((s=ui(e)).c(),s.m(r,a)):s&&(s.d(1),s=null),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(i,null))),256&t[1]&&o!==(o=(0!=e[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(i,"class",o)},d(e){e&&me(r),s&&s.d(),d.d(),n[51](null)}}}function di(e){let n,r,a="true"!==e[17]&&Si(e);function i(e){return e[22]&&!e[33]?Li:0!==e[26].length?Gi:Ei}let o=i(e),s=o(e);return{c(){n=he("div"),a&&a.c(),r=ge(),s.c(),fe(n,"class","CasinoGamesContainer")},m(e,t){ue(e,n,t),a&&a.m(n,null),de(n,r),s.m(n,null)},p(e,t){"true"!==e[17]?a?a.p(e,t):((a=Si(e)).c(),a.m(n,r)):a&&(a.d(1),a=null),o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(n,null)))},d(e){e&&me(n),a&&a.d(),s.d()}}}function ui(n){let r,a,i,o,s,l,c,d,u=n[40]("favorites")+"",m=n[39].items.length+"";return{c(){r=he("div"),a=he("h3"),i=pe(u),o=ge(),s=he("span"),l=pe("("),c=pe(m),d=pe(")"),fe(s,"class","CategoryFavName"),fe(a,"class","CategoryName"),fe(r,"class","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),de(s,c),de(s,d),n[50](a)},p(e,t){512&t[1]&&u!==(u=e[40]("favorites")+"")&&ye(i,u),256&t[1]&&m!==(m=e[39].items.length+"")&&ye(c,m)},d(e){e&&me(r),n[50](null)}}}function mi(e){let n,r,a=e[40]("waiting")+"";return{c(){n=he("p"),r=pe(a)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("waiting")+"")&&ye(r,a)},d(e){e&&me(n)}}}function hi(t){let r,a=t[39].items,i=[];for(let e=0;e<a.length;e+=1)i[e]=Ci(ri(t,a,e));let o=null;return a.length||(o=gi(t)),{c(){for(let e=0;e<i.length;e+=1)i[e].c();r=l(),o&&o.c()},m(t,n){for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(131048&n[0]|4064&n[1]){let e;for(a=t[39].items,e=0;e<a.length;e+=1){const o=ri(t,a,e);i[e]?i[e].p(o,n):(i[e]=Ci(o),i[e].c(),i[e].m(r.parentNode,r))}for(;e<i.length;e+=1)i[e].d(1);i.length=a.length,!a.length&&o?o.p(t,n):a.length?o&&(o.d(1),o=null):((o=gi(t)).c(),o.m(r.parentNode,r))}},d(e){j(i,e),e&&me(r),o&&o.d(e)}}}function pi(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function gi(e){let n,r,a,i,o,s,l,c,d,u,m,h,p,g,f=e[40]("noFavoritesTitle")+"",t=(v=e,ct(v[41])?yi:fi),y=t(e);var v;return{c(){n=he("p"),r=z("svg"),a=z("rect"),i=z("rect"),o=z("circle"),s=z("path"),l=z("path"),c=z("path"),d=z("path"),u=ge(),m=he("span"),h=pe(f),p=ge(),y.c(),g=ge(),fe(a,"x","1"),fe(a,"y","18.053"),fe(a,"width","90.263"),fe(a,"height","90.263"),fe(a,"rx","12"),fe(a,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(a,"stroke-width","1.5"),fe(i,"x","106.737"),fe(i,"y","56.737"),fe(i,"width","90.263"),fe(i,"height","90.263"),fe(i,"rx","12"),fe(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),fe(i,"stroke-width","1.5"),fe(o,"cx","70.5"),fe(o,"cy","32.237"),fe(o,"r","31.487"),fe(o,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(o,"stroke-width","1.5"),fe(o,"stroke-dasharray","5 0"),fe(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),fe(s,"fill","var(--emfe-w-color-gray-150, #828282)"),fe(l,"d","M78 43h11v13H78V43z"),fe(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),fe(c,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(c,"stroke-linecap","round"),fe(c,"stroke-linejoin","round"),fe(d,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),fe(d,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),fe(d,"stroke-width","1.5"),fe(d,"stroke-linecap","round"),fe(d,"stroke-linejoin","round"),fe(r,"width","198"),fe(r,"height","148"),fe(r,"viewBox","0 0 198 148"),fe(r,"fill","none"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(m,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class","NoFavoriteGames "+(ct(e[41])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,i),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(n,u),de(n,m),de(m,h),de(n,p),y.m(n,null),de(n,g)},p(e,t){512&t[1]&&f!==(f=e[40]("noFavoritesTitle")+"")&&ye(h,f),y.p(e,t)},d(e){e&&me(n),y.d()}}}function fi(e){let n,r,a=e[40]("noFavorites")+"";return{c(){n=he("span"),r=pe(a),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noFavorites")+"")&&ye(r,a)},d(e){e&&me(n)}}}function yi(e){let n,r,a=e[40]("noFavoritesMobile")+"";return{c(){n=he("span"),r=pe(a),fe(n,"class","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noFavoritesMobile")+"")&&ye(r,a)},d(e){e&&me(n)}}}function vi(e){let n,r=e[76].gameModel.isFavorite&&bi(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[76].gameModel.isFavorite?r?r.p(e,t):((r=bi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function bi(e){let n,r=function(e){let n,r,a;function i(e,t){return 256&t[1]&&(r=null),(n=null==n?!!ct(e[41]):n)?xi:(r=null==r?!!e[76].gameModel.platform.includes("PC"):r)?wi:void 0}let o=i(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),a=l()},m(e,t){s&&s.m(e,t),ue(e,a,t)},p(e,t){o===(o=i(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(a.parentNode,a)))},d(e){s&&s.d(e),e&&me(a)}}}(e);return{c(){r&&r.c(),n=l()},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&&me(n)}}}function wi(e){let n,r,a,i,o,s,l,c,d,u,m,h,p,g,f;return{c(){F(n=he("casino-game-thumbnail"),"class",r=""+(x+(e[76].cellSize||"1x1"))),F(n,"part",a=""+(x+(e[76].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"favorites",e[8]),F(n,"gamethumbnail",i=e[76].gameModel.thumbnail),F(n,"gamename",o=e[76].gameModel.name),F(n,"gamevendor",s=e[76].gameModel.vendor.name),F(n,"gamelaunchurl",l=e[76].launchUrl),F(n,"gameisnew",c=e[76].gameModel.isNew),F(n,"gametag",d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags)),F(n,"gamecellsize",u=e[76].cellSize),F(n,"gameid",m=e[76].gameModel.id),F(n,"gamefunmode",h=e[76].gameModel.hasFunMode),F(n,"showgamename",e[12]),F(n,"gamefavorite",p=e[76].gameModel.isFavorite),F(n,"showfavoredcategory",e[36]),F(n,"connectlive",g=1==e[37][e[76].id]?"connect":"disconnect"),F(n,"visibilityconnect",e[38]),F(n,"currency",e[11]),F(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.launchUrl:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[13]),F(n,"gamepagemodalurl",e[14]),F(n,"integratedgameframedesktop",e[15]),F(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[1]&&r!==(r=""+(x+(e[76].cellSize||"1x1")))&&F(n,"class",r),256&t[1]&&a!==(a=""+(x+(e[76].cellSize||"1x1")))&&F(n,"part",a),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),256&t[0]&&F(n,"favorites",e[8]),256&t[1]&&i!==(i=e[76].gameModel.thumbnail)&&F(n,"gamethumbnail",i),256&t[1]&&o!==(o=e[76].gameModel.name)&&F(n,"gamename",o),256&t[1]&&s!==(s=e[76].gameModel.vendor.name)&&F(n,"gamevendor",s),256&t[1]&&l!==(l=e[76].launchUrl)&&F(n,"gamelaunchurl",l),256&t[1]&&c!==(c=e[76].gameModel.isNew)&&F(n,"gameisnew",c),256&t[1]&&d!==(d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags))&&F(n,"gametag",d),256&t[1]&&u!==(u=e[76].cellSize)&&F(n,"gamecellsize",u),256&t[1]&&m!==(m=e[76].gameModel.id)&&F(n,"gameid",m),256&t[1]&&h!==(h=e[76].gameModel.hasFunMode)&&F(n,"gamefunmode",h),4096&t[0]&&F(n,"showgamename",e[12]),256&t[1]&&p!==(p=e[76].gameModel.isFavorite)&&F(n,"gamefavorite",p),32&t[1]&&F(n,"showfavoredcategory",e[36]),320&t[1]&&g!==(g=1==e[37][e[76].id]?"connect":"disconnect")&&F(n,"connectlive",g),128&t[1]&&F(n,"visibilityconnect",e[38]),2048&t[0]&&F(n,"currency",e[11]),256&t[1]&&f!==(f=e[76].gameModel.details?e[76].gameModel.launchUrl:"")&&F(n,"livelobbyendpoint",f),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),8192&t[0]&&F(n,"livecasino",e[13]),16384&t[0]&&F(n,"gamepagemodalurl",e[14]),32768&t[0]&&F(n,"integratedgameframedesktop",e[15]),65536&t[0]&&F(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function xi(e){let n,r=e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"),a=r&&$i(e);return{c(){a&&a.c(),n=l()},m(e,t){a&&a.m(e,t),ue(e,n,t)},p(e,t){(r=256&t[1]?e[76].gameModel.platform.includes("iPad")||e[76].gameModel.platform.includes("iPhone")||e[76].gameModel.platform.includes("Android"):r)?a?a.p(e,t):((a=$i(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(e){a&&a.d(e),e&&me(n)}}}function $i(e){let n,r,a,i,o,s,l,c,d,u,m,h,p,g,f;return{c(){F(n=he("casino-game-thumbnail"),"class",r=""+(x+(e[76].cellSize||"1x1"))),F(n,"part",a=""+(x+(e[76].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"favorites",e[8]),F(n,"gamethumbnail",i=e[76].gameModel.thumbnail),F(n,"gamename",o=e[76].gameModel.name),F(n,"gamevendor",s=e[76].gameModel.vendor.name),F(n,"gamelaunchurl",l=e[76].launchUrl),F(n,"gameisnew",c=e[76].gameModel.isNew),F(n,"gametag",d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags)),F(n,"gamecellsize",u=e[76].cellSize),F(n,"gameid",m=e[76].gameModel.id),F(n,"gamefunmode",h=e[76].gameModel.hasFunMode),F(n,"showgamename",e[12]),F(n,"gamefavorite",p=e[76].gameModel.isFavorite),F(n,"showfavoredcategory",e[36]),F(n,"connectlive",g=1==e[37][e[76].id]?"connect":"disconnect"),F(n,"visibilityconnect",e[38]),F(n,"currency",e[11]),F(n,"livelobbyendpoint",f=e[76].gameModel.details?e[76].gameModel.launchUrl:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[13]),F(n,"gamepagemodalurl",e[14]),F(n,"integratedgameframedesktop",e[15]),F(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){256&t[1]&&r!==(r=""+(x+(e[76].cellSize||"1x1")))&&F(n,"class",r),256&t[1]&&a!==(a=""+(x+(e[76].cellSize||"1x1")))&&F(n,"part",a),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),256&t[0]&&F(n,"favorites",e[8]),256&t[1]&&i!==(i=e[76].gameModel.thumbnail)&&F(n,"gamethumbnail",i),256&t[1]&&o!==(o=e[76].gameModel.name)&&F(n,"gamename",o),256&t[1]&&s!==(s=e[76].gameModel.vendor.name)&&F(n,"gamevendor",s),256&t[1]&&l!==(l=e[76].launchUrl)&&F(n,"gamelaunchurl",l),256&t[1]&&c!==(c=e[76].gameModel.isNew)&&F(n,"gameisnew",c),256&t[1]&&d!==(d=0<e[76].gameModel.advancedTags?.length&&e[42](e[76].gameModel.advancedTags))&&F(n,"gametag",d),256&t[1]&&u!==(u=e[76].cellSize)&&F(n,"gamecellsize",u),256&t[1]&&m!==(m=e[76].gameModel.id)&&F(n,"gameid",m),256&t[1]&&h!==(h=e[76].gameModel.hasFunMode)&&F(n,"gamefunmode",h),4096&t[0]&&F(n,"showgamename",e[12]),256&t[1]&&p!==(p=e[76].gameModel.isFavorite)&&F(n,"gamefavorite",p),32&t[1]&&F(n,"showfavoredcategory",e[36]),320&t[1]&&g!==(g=1==e[37][e[76].id]?"connect":"disconnect")&&F(n,"connectlive",g),128&t[1]&&F(n,"visibilityconnect",e[38]),2048&t[0]&&F(n,"currency",e[11]),256&t[1]&&f!==(f=e[76].gameModel.details?e[76].gameModel.launchUrl:"")&&F(n,"livelobbyendpoint",f),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),8192&t[0]&&F(n,"livecasino",e[13]),16384&t[0]&&F(n,"gamepagemodalurl",e[14]),32768&t[0]&&F(n,"integratedgameframedesktop",e[15]),65536&t[0]&&F(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function Ci(e){let n,r=e[76].gameModel&&vi(e);return{c(){r&&r.c(),n=l()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[76].gameModel?r?r.p(e,t):((r=vi(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&me(n)}}}function Si(n){let r,a,i,o,s=n[25].name+"";function l(e){return e[27]?Fi:ki}let c=l(n),d=c(n);return{c(){r=he("div"),a=he("h3"),i=pe(s),o=ge(),d.c(),fe(a,"class","CategoryName"),fe(r,"class","CasinoGamesHeader")},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[46](a),de(r,o),d.m(r,null)},p(e,t){33554432&t[0]&&s!==(s=e[25].name+"")&&ye(i,s),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(r,null)))},d(e){e&&me(r),n[46](null),d.d()}}}function ki(e){let n,r,a,i="true"==e[1]&&_i(e),o="true"==e[2]&&Mi(e);return{c(){n=he("div"),i&&i.c(),r=ge(),o&&o.c(),fe(n,"class",a="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),o&&o.m(n,null)},p(e,t){"true"==e[1]?i?i.p(e,t):((i=_i(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),"true"==e[2]?o?o.p(e,t):((o=Mi(e)).c(),o.m(n,null)):o&&(o.d(1),o=null),6&t[0]&&a!==(a="true"==e[1]&&"true"==e[2]?"CategoryFilterContainer":"")&&fe(n,"class",a)},d(e){e&&me(n),i&&i.d(),o&&o.d()}}}function Fi(n){let r,a,i,o,s,l,c,d,u=n[40]("viewAll")+"",m=n[25].games.total+"";return{c(){r=he("a"),a=he("span"),i=pe(u),o=pe(" ("),s=pe(m),l=pe(")"),fe(a,"class","CategoryLoadMore"),fe(r,"class","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(a,l),c||(d=U(r,"click",n[47]),c=!0)},p(e,t){512&t[1]&&u!==(u=e[40]("viewAll")+"")&&ye(i,u),33554432&t[0]&&m!==(m=e[25].games.total+"")&&ye(s,m)},d(e){e&&me(r),c=!1,d()}}}function _i(e){let n;return{c(){F(n=he("casino-filter"),"clientstylingurl",e[10]),F(n,"clientstyling",e[9]),F(n,"endpoint",e[3]),F(n,"datasource",e[4]),F(n,"lang",e[5]),F(n,"categoryid",e[0]),F(n,"addfilterselector",e[1]),F(n,"addsortingselector",e[2]),F(n,"filterbylogo",e[18])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&F(n,"clientstylingurl",e[10]),512&t[0]&&F(n,"clientstyling",e[9]),8&t[0]&&F(n,"endpoint",e[3]),16&t[0]&&F(n,"datasource",e[4]),32&t[0]&&F(n,"lang",e[5]),1&t[0]&&F(n,"categoryid",e[0]),2&t[0]&&F(n,"addfilterselector",e[1]),4&t[0]&&F(n,"addsortingselector",e[2]),262144&t[0]&&F(n,"filterbylogo",e[18])},d(e){e&&me(n)}}}function Mi(e){let n;return{c(){F(n=he("casino-sort"),"clientstylingurl",e[10]),F(n,"clientstyling",e[9]),F(n,"lang",e[5]),F(n,"categoryid",e[0]),F(n,"addsortingselector",e[2])},m(e,t){ue(e,n,t)},p(e,t){1024&t[0]&&F(n,"clientstylingurl",e[10]),512&t[0]&&F(n,"clientstyling",e[9]),32&t[0]&&F(n,"lang",e[5]),1&t[0]&&F(n,"categoryid",e[0]),4&t[0]&&F(n,"addsortingselector",e[2])},d(e){e&&me(n)}}}function Ei(e){let n,r,a=e[40]("noResults")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","NoSearchResults")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noResults")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Gi(n){let a,e,i=n[26],o=[];for(let e=0;e<i.length;e+=1)o[e]=Ti(ai(n,i,e));return{c(){a=he("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class",e=(0===n[39].items.length&&n[36]?"":"CasinoGamesGrid")+" "+(n[24]&&"true"==n[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);n[49](a)},p(t,n){if(69861352&n[0]|2240&n[1]){let e;for(i=t[26],e=0;e<i.length;e+=1){var r=ai(t,i,e);o[e]?o[e].p(r,n):(o[e]=Ti(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}17301504&n[0]|288&n[1]&&e!==(e=(0===t[39].items.length&&t[36]?"":"CasinoGamesGrid")+" "+(t[24]&&"true"==t[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&fe(a,"class",e)},d(e){e&&me(a),j(o,e),n[49](null)}}}function Li(e){let n;return{c(){fe(n=he("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Ti(e){let n,r=function(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v=n[78];const b=()=>n[48](r,v),w=()=>n[48](null,v);return{c(){F(r=he("casino-game-thumbnail"),"session",n[6]),F(r,"userid",n[7]),F(r,"lang",n[5]),F(r,"class",a=""+(x+(n[76].cellSize||"1x1"))),F(r,"part",i=""+(x+(n[76].cellSize||"1x1"))),F(r,"favorites",n[8]),F(r,"gamethumbnail",o=n[76].thumbnail),F(r,"gamename",s=n[76].name),F(r,"gamevendor",l=n[76].vendor.name),F(r,"gamelaunchurl",c=n[76].launchUrl),F(r,"gameisnew",d=n[76].isNew),F(r,"gametag",u=0<n[76].advancedTags?.length&&n[42](n[76].advancedTags)),F(r,"gamecellsize",m=n[76].cellSize),F(r,"gameid",h=n[76].id),F(r,"gamefunmode",p=n[76].hasFunMode),F(r,"gamefavorite",g=n[76].isFavorite),F(r,"showgamename",n[12]),F(r,"connectlive",f=1==n[37][n[76].id]?"connect":"disconnect"),F(r,"visibilityconnect",n[38]),F(r,"currency",n[11]),F(r,"livelobbyendpoint",y=n[76].details?n[76].href:""),F(r,"clientstyling",n[9]),F(r,"clientstylingurl",n[10]),F(r,"endpoint",n[3]),F(r,"livecasino",n[13]),F(r,"gamepagemodalurl",n[14]),F(r,"integratedgameframedesktop",n[15]),F(r,"integratedgameframemobile",n[16]),F(r,"casinogamesgridslider",n[19])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,64&t[0]&&F(r,"session",n[6]),128&t[0]&&F(r,"userid",n[7]),32&t[0]&&F(r,"lang",n[5]),67108864&t[0]&&a!==(a=""+(x+(n[76].cellSize||"1x1")))&&F(r,"class",a),67108864&t[0]&&i!==(i=""+(x+(n[76].cellSize||"1x1")))&&F(r,"part",i),256&t[0]&&F(r,"favorites",n[8]),67108864&t[0]&&o!==(o=n[76].thumbnail)&&F(r,"gamethumbnail",o),67108864&t[0]&&s!==(s=n[76].name)&&F(r,"gamename",s),67108864&t[0]&&l!==(l=n[76].vendor.name)&&F(r,"gamevendor",l),67108864&t[0]&&c!==(c=n[76].launchUrl)&&F(r,"gamelaunchurl",c),67108864&t[0]&&d!==(d=n[76].isNew)&&F(r,"gameisnew",d),67108864&t[0]&&u!==(u=0<n[76].advancedTags?.length&&n[42](n[76].advancedTags))&&F(r,"gametag",u),67108864&t[0]&&m!==(m=n[76].cellSize)&&F(r,"gamecellsize",m),67108864&t[0]&&h!==(h=n[76].id)&&F(r,"gameid",h),67108864&t[0]&&p!==(p=n[76].hasFunMode)&&F(r,"gamefunmode",p),67108864&t[0]&&g!==(g=n[76].isFavorite)&&F(r,"gamefavorite",g),4096&t[0]&&F(r,"showgamename",n[12]),67108864&t[0]|64&t[1]&&f!==(f=1==n[37][n[76].id]?"connect":"disconnect")&&F(r,"connectlive",f),128&t[1]&&F(r,"visibilityconnect",n[38]),2048&t[0]&&F(r,"currency",n[11]),67108864&t[0]&&y!==(y=n[76].details?n[76].href:"")&&F(r,"livelobbyendpoint",y),512&t[0]&&F(r,"clientstyling",n[9]),1024&t[0]&&F(r,"clientstylingurl",n[10]),8&t[0]&&F(r,"endpoint",n[3]),8192&t[0]&&F(r,"livecasino",n[13]),16384&t[0]&&F(r,"gamepagemodalurl",n[14]),32768&t[0]&&F(r,"integratedgameframedesktop",n[15]),65536&t[0]&&F(r,"integratedgameframemobile",n[16]),524288&t[0]&&F(r,"casinogamesgridslider",n[19]),v!==n[78]&&(w(),v=n[78],b())},d(e){e&&me(r),w()}}}(e);return{c(){r&&r.c(),n=l()},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&&me(n)}}}function Pi(e){let n,r,a=e[40]("searchedItems")+"";return{c(){n=he("h3"),r=pe(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("searchedItems")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ii(e){let n,r,a=e[40]("noResults")+"";return{c(){n=he("h3"),r=pe(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noResults")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ri(e){let n,r,a=e[40]("recentSearchedItems")+"";return{c(){n=he("h3"),r=pe(a),fe(n,"class","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("recentSearchedItems")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Di(e){let n;return{c(){(n=he("p")).textContent="Waiting",fe(n,"class","SearchWaiting")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Ai(t){let r,a,i=!t[32]&&Ni(t),o=t[26],s=[];for(let e=0;e<o.length;e+=1)s[e]=Oi(ii(t,o,e));return{c(){i&&i.c(),r=ge(),a=he("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){i&&i.m(e,t),ue(e,r,t),ue(e,a,t);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(a,null)},p(t,n){if(t[32]?i&&(i.d(1),i=null):i?i.p(t,n):((i=Ni(t)).c(),i.m(r.parentNode,r)),1140981736&n[0]|2048&n[1]){let e;for(o=t[26],e=0;e<o.length;e+=1){const i=ii(t,o,e);s[e]?s[e].p(i,n):(s[e]=Oi(i),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){i&&i.d(e),e&&me(r),e&&me(a),j(s,e)}}}function Ni(e){let n,r,a=e[40]("noRecentSearch")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(ct(e[41])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){512&t[1]&&a!==(a=e[40]("noRecentSearch")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Oi(e){let n,r,a,i,o,s,l,c,d,u,m,h,p,g;return{c(){F(n=he("casino-game-thumbnail"),"class",r=""+(x+(e[76].cellSize||"1x1"))),F(n,"part",a=""+(x+(e[76].cellSize||"1x1"))),F(n,"session",e[6]),F(n,"userid",e[7]),F(n,"lang",e[5]),F(n,"searchitem",e[30]),F(n,"favorites",e[8]),F(n,"gamethumbnail",i=e[76].thumbnail),F(n,"gamename",o=e[76].name),F(n,"gamevendor",s=e[76].vendor.name),F(n,"gamelaunchurl",l=e[76].launchUrl),F(n,"gameisnew",c=e[76].isNew),F(n,"gametag",d=0<e[76].advancedTags?.length&&e[42](e[76].advancedTags)),F(n,"gamecellsize",u=e[76].cellSize),F(n,"gameid",m=e[76].id),F(n,"gamefunmode",h=e[76].hasFunMode),F(n,"showgamename",e[12]),F(n,"gamefavorite",p=e[76].isFavorite),F(n,"currency",e[11]),F(n,"livelobbyendpoint",g=e[76].details?e[76].href:""),F(n,"clientstyling",e[9]),F(n,"clientstylingurl",e[10]),F(n,"endpoint",e[3]),F(n,"livecasino",e[13]),F(n,"gamepagemodalurl",e[14]),F(n,"integratedgameframedesktop",e[15]),F(n,"integratedgameframemobile",e[16])},m(e,t){ue(e,n,t)},p(e,t){67108864&t[0]&&r!==(r=""+(x+(e[76].cellSize||"1x1")))&&F(n,"class",r),67108864&t[0]&&a!==(a=""+(x+(e[76].cellSize||"1x1")))&&F(n,"part",a),64&t[0]&&F(n,"session",e[6]),128&t[0]&&F(n,"userid",e[7]),32&t[0]&&F(n,"lang",e[5]),1073741824&t[0]&&F(n,"searchitem",e[30]),256&t[0]&&F(n,"favorites",e[8]),67108864&t[0]&&i!==(i=e[76].thumbnail)&&F(n,"gamethumbnail",i),67108864&t[0]&&o!==(o=e[76].name)&&F(n,"gamename",o),67108864&t[0]&&s!==(s=e[76].vendor.name)&&F(n,"gamevendor",s),67108864&t[0]&&l!==(l=e[76].launchUrl)&&F(n,"gamelaunchurl",l),67108864&t[0]&&c!==(c=e[76].isNew)&&F(n,"gameisnew",c),67108864&t[0]&&d!==(d=0<e[76].advancedTags?.length&&e[42](e[76].advancedTags))&&F(n,"gametag",d),67108864&t[0]&&u!==(u=e[76].cellSize)&&F(n,"gamecellsize",u),67108864&t[0]&&m!==(m=e[76].id)&&F(n,"gameid",m),67108864&t[0]&&h!==(h=e[76].hasFunMode)&&F(n,"gamefunmode",h),4096&t[0]&&F(n,"showgamename",e[12]),67108864&t[0]&&p!==(p=e[76].isFavorite)&&F(n,"gamefavorite",p),2048&t[0]&&F(n,"currency",e[11]),67108864&t[0]&&g!==(g=e[76].details?e[76].href:"")&&F(n,"livelobbyendpoint",g),512&t[0]&&F(n,"clientstyling",e[9]),1024&t[0]&&F(n,"clientstylingurl",e[10]),8&t[0]&&F(n,"endpoint",e[3]),8192&t[0]&&F(n,"livecasino",e[13]),16384&t[0]&&F(n,"gamepagemodalurl",e[14]),32768&t[0]&&F(n,"integratedgameframedesktop",e[15]),65536&t[0]&&F(n,"integratedgameframemobile",e[16])},d(e){e&&me(n)}}}function Bi(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Hi(e){let n;return{c(){(n=he("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function ji(n){let r;function a(e){return e[23]?li:e[28]?si:oi}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O,fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[52](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[52](null)}}}customElements.get("casino-sort")||customElements.define("casino-sort",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ni,ti,n,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),m()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),m()}});const x="game-tile-";function zi(t,e,l){let D;dt(t,Jr,e=>l(40,D=e));let a,i,o,n,A,r,s,c,d,u,{endpoint:m=""}=e,{datasource:h=""}=e,{lang:p=""}=e,{session:N=""}=e,{userid:O=""}=e,{favorites:g=""}=e,{clientstyling:f=""}=e,{clientstylingurl:y=""}=e,{translationurl:v=""}=e,{currency:B=""}=e,{categoryid:b=""}=e,{showgamename:H=""}=e,{livecasino:j="false"}=e,{gamepagemodalurl:z="false"}=e,{integratedgameframedesktop:U="false"}=e,{integratedgameframemobile:W="false"}=e,{casinomygames:w="false"}=e,{addfilterselector:Y="false"}=e,{addsortingselector:V="false"}=e,{filterbylogo:Z=""}=e,{casinogamesgridslider:K="false"}=e,x=!0,q=!1,$=!0,X=window.navigator.userAgent,C=[],S=!0,k=40,F=!1,_=!1,J=!1,M=!1,Q=!1,ee=!0,te=!1,E=!1,ne=!1,G=new Array(1e4),L={},re="",T="",P={items:[],count:0,name:""},ae=(Object.keys(ra).forEach(e=>{na(e,ra[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>k&&oe(b),l(37,L[t]=1,L)):l(37,L[t]=0,L)})}));const I=(e,r,a)=>{l(22,x=!0);let t,i="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),s=JSON.parse(localStorage.getItem("vendorSortingBy"));return i=1<(b.match(/\$/g)||[]).length?(t=b.split("$").slice(0,2).join("$"),new URL(`${m}/v1/casino/groups/${h}/${t}/subGroups`)):new URL(`${m}/v1/casino/groups/${h}/`+b),new Promise((t,n)=>{if(i.searchParams.delete("pagination"),i.searchParams.append("expand","games(vendor)"),i.searchParams.append("fields","id,name,games"),i.searchParams.append("platform",Qr(X)),i.searchParams.append("pagination",`games(offset=${r},limit=${a})`),i.searchParams.append("language",p),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),o&&o[b])if(o[b].length&&!1===$&&!1===E){let t="";l(31,Q=!0),o[b].forEach(e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`}),i.searchParams.append("filter",""+t)}else l(31,Q=!1);s&&(s[b]?s[b]&&"All"!=s[b]&&("isNew"==s[b]||"advancedTags(name(hot))"==s[b]?(i.searchParams.append("sortedField",`games(${s[b]})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${s[b]})`)):T&&"All"!=T&&("advancedTags(name(hot))"==T||"isNew"==T?(i.searchParams.append("sortedField",`games(${T})`),i.searchParams.append("orderBy","DES")):i.searchParams.append("sortedField",`games(${T})`))),fetch(i).then(e=>e.json()).then(e=>{l(22,x=!1),1<(b.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==b)return e})[0]),l(45,u=!0),l(23,q=!1),A=e.games.total,t(e)},e=>{l(23,q=!0),console.error(e),n(e)})})},ie=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":"MOSTPLAYED"==b&&(l(28,F=!1),l(24,$=!1),l(27,S=!1),l(26,C=t.data.mostPlayedGames),l(25,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}})),l(22,x=!1);break;case"LastPlayedData":"LASTPLAYED"==b&&(l(28,F=!1),l(24,$=!1),l(27,S=!1),l(26,C=t.data.lastPlayedGames),l(25,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}})),l(22,x=!1);break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":l(28,F=!0),l(29,_=!0),0<t.data.searchData.length?(l(26,C=t.data.searchData),l(32,ee=!0),C&&C.forEach(e=>{e.isFavorite=R(e.id)})):(l(26,C=[]),l(32,ee=!1));break;case"OutOfRecentSearches":l(28,F=!1),l(29,_=!1);break;case"SearchData":l(28,F=!0),l(29,_=!1),l(26,C=t.data.searchData.items||[]),l(30,M=!0),t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)});break;case"CategoryData_"+b:l(28,F=!1),l(24,$=!0),l(1,Y="false"),l(2,V="false"),l(27,S=!0),l(30,M=!1),ne=!1,t.data.receivedFavoriteResults&&(s=t.data.receivedFavoriteResults.items),I(t.data.categoryId,0,t.data.visiblegames).then(e=>{l(25,o=e),l(26,C=o.games.items),C&&C.forEach(e=>{e.isFavorite=R(e.id)})});break;case"CategoryChange":k=20;break;case"ApplySorter":l(0,b=t.data.itemId),T=t.data.sortBy,I(0,0,k).then(e=>{l(25,o=e),l(26,C=o.games.items),l(27,S=!1)});break;case"CategoryUpdate":l(28,F=!1),l(24,$=!1),l(30,M=!1),ne=!0,l(0,b=t.data.itemId),"MOSTPLAYED"!==b&&l(27,S=!1),"true"!==w&&I(0,0,k).then(e=>{l(25,o=e),o.games.items.forEach(e=>{e.isFavorite=R(e.id)}),l(26,C=o.games.items),l(27,S=!1),C.length<10&&0==t.data.origin&&(J=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:J},window.location.href)},500))});break;case"FavoriteUpdate":o&&(l(26,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),t.data.lobbyScreen&&l(24,$=!0);break;case"UpdateCategoryFavoriteGames":if(t.data.receivedFavoriteResults){if(s=t.data.receivedFavoriteResults.items,t.data.favStadalone)return;E?$||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate",lobbyScreen:t.data.lobbyScreen},window.location.href)}break;case"ShowFavoriteSection":l(24,$=!1),t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),l(39,P.items=(e=e,P,n=window.navigator.userAgent,ct(n)?e.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):e.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),P),l(39,P.name="Favorites",P),l(36,E=!0),l(22,x=!1));break;case"UserSessionID":if(a=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&a&&0<a.length){var r=`${m}/v1/player/${i}/favorites/`;n=a;l(22,x=!0);let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l(22,x=!1),s=e?e.items:[],C.forEach(e=>{e.isFavorite=R(e.id)});e=C;l(26,C=void 0),l(26,C=e),t(s)}).catch(e=>{console.error(e),n(e)})});return}else return void 0}var e,n},oe=e=>{k+=1,l(33,te=!0),k<=A&&I(0,0,k).then(e=>{l(25,o=e),o.games.items.length>C.length&&(l(26,C=o.games.items),C.forEach(e=>{e.isFavorite=R(e.id)})),l(33,te=!1)})},R=t=>!!s&&-1!==s.findIndex(e=>e.id==t),se=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};return ut(()=>(window.addEventListener("visibilitychange",e=>{document[d]?l(38,re="disconnect"):l(38,re="connect")}),window.addEventListener("message",ie,!1),"FAVORITES"===b&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ie),window.removeEventListener("visibilitychange",ie)})),t.$$set=e=>{"endpoint"in e&&l(3,m=e.endpoint),"datasource"in e&&l(4,h=e.datasource),"lang"in e&&l(5,p=e.lang),"session"in e&&l(6,N=e.session),"userid"in e&&l(7,O=e.userid),"favorites"in e&&l(8,g=e.favorites),"clientstyling"in e&&l(9,f=e.clientstyling),"clientstylingurl"in e&&l(10,y=e.clientstylingurl),"translationurl"in e&&l(44,v=e.translationurl),"currency"in e&&l(11,B=e.currency),"categoryid"in e&&l(0,b=e.categoryid),"showgamename"in e&&l(12,H=e.showgamename),"livecasino"in e&&l(13,j=e.livecasino),"gamepagemodalurl"in e&&l(14,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&l(15,U=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(16,W=e.integratedgameframemobile),"casinomygames"in e&&l(17,w=e.casinomygames),"addfilterselector"in e&&l(1,Y=e.addfilterselector),"addsortingselector"in e&&l(2,V=e.addsortingselector),"filterbylogo"in e&&l(18,Z=e.filterbylogo),"casinogamesgridslider"in e&&l(19,K=e.casinogamesgridslider)},t.$$.update=()=>{if(2097152&t.$$.dirty[0]|16384&t.$$.dirty[1]&&u&&G&&ne&&G.forEach((e,t)=>{e&&(e.elems_index=t,ae.observe(e))}),33&t.$$.dirty[0]&&p&&b)switch(b){case"FAVORITES":l(36,E=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===w&&l(36,E=!1)}if(8192&t.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{na(e,t[e])})}).catch(e=>{console.log(e)}),1049088&t.$$.dirty[0]&&f&&c&&((e=document.createElement("style")).innerHTML=f,c.appendChild(e)),1049600&t.$$.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)})}var e},[b,Y,V,m,h,p,N,O,g,f,y,B,H,j,z,U,W,w,Z,K,c,G,x,q,$,o,C,S,F,_,M,Q,ee,te,n,r,E,L,re,P,D,X,r=>{if(0===(null==r?void 0:r.length))return"";let a,i="",o=999999999999;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);oa(e).diff(s)<o&&(o=oa(e).diff(s),a=t),oa(s).isAfter(n)&&oa(s).isBefore(e)&&(i=r[a].name)}),i},se,v,u,function(e){st[e?"unshift":"push"](()=>{r=e,l(35,r)})},e=>se(o.id),function(e,t){st[e?"unshift":"push"](()=>{G[t]=e,l(21,G)})},function(e){st[e?"unshift":"push"](()=>{n=e,l(34,n)})},function(e){st[e?"unshift":"push"](()=>{r=e,l(35,r)})},function(e){st[e?"unshift":"push"](()=>{n=e,l(34,n)})},function(e){st[e?"unshift":"push"](()=>{c=e,l(20,c)})}]}function Ui(e,t){$r(e,t)}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, 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-casino-typography, 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 .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-casino-typography, 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 0 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}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (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}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},zi,ji,n,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:44,currency:11,categoryid:0,showgamename:12,livecasino:13,gamepagemodalurl:14,integratedgameframedesktop:15,integratedgameframemobile:16,casinomygames:17,addfilterselector:1,addsortingselector:2,filterbylogo:18,casinogamesgridslider:19},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),m()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[44]}set translationurl(e){this.$$set({translationurl:e}),m()}get currency(){return this.$$.ctx[11]}set currency(e){this.$$set({currency:e}),m()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$$set({livecasino:e}),m()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[15]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[16]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[18]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get casinogamesgridslider(){return this.$$.ctx[19]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}});const Wi={en:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"},"zh-hk":{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"},de:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuft",playNowRandomGame:"Jetzt spielen"},fr:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"},ro:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"},tr:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"},es:{playRandomGame:"Juego aleatorio",randomGameLoading:"Seleccionando…",playNowRandomGame:"Juega Ya"},pt:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"},hr:{playRandomGame:"Igrajte nasumičnu igru",randomGameLoading:"Odabir...",playNowRandomGame:"Igraj sada"}};function Yi(e,t,n){e=e.slice();return e[35]=t[n],e[37]=n,e}function Vi(n){let r,a,i,o,s,l,c,d=!n[7]&&Zi(n),u=n[7]&&qi(n);return{c(){r=he("div"),a=he("div"),(i=he("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(i,"class","ModalCloseBtn"),fe(i,"role","button"),fe(a,"class","ModalContainer"),fe(r,"class","ModalWindow")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),d&&d.m(a,null),de(a,s),u&&u.m(a,null),l||(c=U(i,"click",n[11]),l=!0)},p(e,t){e[7]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Zi(e)).c(),d.m(a,s)),e[7]?u?u.p(e,t):((u=qi(e)).c(),u.m(a,null)):u&&(u.d(1),u=null)},d(e){e&&me(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Zi(t){let n,r,a,i,o,s,e=t[8]("randomGameLoading")+"",l=t[4],c=[];for(let e=0;e<l.length;e+=1)c[e]=Ki(Yi(t,l,e));return{c(){n=he("div"),r=he("main"),a=he("div");for(let e=0;e<c.length;e+=1)c[e].c();i=ge(),o=he("p"),s=pe(e),fe(a,"class","items"),_(a,"transform","translateY("+t[6]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(n,"class","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a);for(let e=0;e<c.length;e+=1)c[e]&&c[e].m(a,null);de(n,i),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=Yi(t,l,e);c[e]?c[e].p(r,n):(c[e]=Ki(r),c[e].c(),c[e].m(a,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}64&n[0]&&_(a,"transform","translateY("+t[6]+"px)"),256&n[0]&&e!==(e=t[8]("randomGameLoading")+"")&&ye(s,e)},d(e){e&&me(n),j(c,e)}}}function Ki(e){let n,r,a,i,o,s;return{c(){n=he("div"),r=he("img"),s=ge(),fe(r,"class","RandomGameImage"),ce(r.src,a=e[35].thumbnail)||fe(r,"src",a),fe(r,"alt",i=e[35].name),fe(r,"title",o=e[35].name),fe(n,"class","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){16&t[0]&&!ce(r.src,a=e[35].thumbnail)&&fe(r,"src",a),16&t[0]&&i!==(i=e[35].name)&&fe(r,"alt",i),16&t[0]&&o!==(o=e[35].name)&&fe(r,"title",o)},d(e){e&&me(n)}}}function qi(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C=n[3].name+"",S=n[3].vendor.name+"",k=n[8]("playNowRandomGame")+"";return{c(){r=he("div"),a=he("div"),i=he("img"),c=ge(),(d=he("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-button-typography, 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(),m=he("div"),h=he("p"),p=pe(C),g=ge(),f=he("p"),y=pe(S),v=ge(),b=he("button"),w=pe(k),fe(i,"class","RandomGameImage"),ce(i.src,o=n[3].thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[3].name),fe(i,"title",l=n[3].name),fe(d,"class","RandomTryAgain"),fe(a,"class","item"),fe(h,"class","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(b,"class","RandomGamePlay"),fe(m,"class","RandomGameDetails"),fe(r,"class","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,c),de(a,d),de(r,u),de(r,m),de(m,h),de(h,p),de(m,g),de(m,f),de(f,y),de(m,v),de(m,b),de(b,w),x||($=[U(d,"click",n[20]),U(b,"click",n[21])],x=!0)},p(e,t){8&t[0]&&!ce(i.src,o=e[3].thumbnail)&&fe(i,"src",o),8&t[0]&&s!==(s=e[3].name)&&fe(i,"alt",s),8&t[0]&&l!==(l=e[3].name)&&fe(i,"title",l),8&t[0]&&C!==(C=e[3].name+"")&&ye(p,C),8&t[0]&&S!==(S=e[3].vendor.name+"")&&ye(y,S),256&t[0]&&k!==(k=e[8]("playNowRandomGame")+"")&&ye(w,k)},d(e){e&&me(r),x=!1,H($)}}}function Xi(e){let n,r,a=e[8]("playRandomGame")+"";return{c(){n=he("span"),r=pe(a),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){256&t[0]&&a!==(a=e[8]("playRandomGame")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ji(e){let n,r;return{c(){n=he("span"),r=pe(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&&me(n)}}}function Qi(n){let r,a,i,o,s,l,c,d,u=n[5]&&Vi(n);function m(e){return e[1]?Ji:e[1]?void 0:Xi}let h=m(n),p=h&&h(n);return{c(){r=he("div"),u&&u.c(),a=ge(),i=he("div"),o=he("button"),p&&p.c(),s=ge(),l=he("span"),this.c=O,fe(l,"class","RandomButtonIcon"),fe(o,"class","RandomButton"),fe(i,"class","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),u&&u.m(r,null),de(r,a),de(r,i),de(i,o),p&&p.m(o,null),de(o,s),de(o,l),l.innerHTML=n[0],n[23](r),c||(d=U(o,"click",n[22]),c=!0)},p(e,t){e[5]?u?u.p(e,t):((u=Vi(e)).c(),u.m(r,a)):u&&(u.d(1),u=null),h===(h=m(e))&&p?p.p(e,t):(p&&p.d(1),(p=h&&h(e))&&(p.c(),p.m(o,s))),1&t[0]&&(l.innerHTML=e[0])},i:O,o:O,d(e){e&&me(r),u&&u.d(),p&&p.d(),n[23](null),c=!1,d()}}}function eo(n,e,r){let t;dt(n,Jr,e=>r(8,t=e));let a,i,{endpoint:o=""}=e,{datasource:s=""}=e,{gameevent:l=""}=e,{lang:c=""}=e,{randombuttonicon:d=""}=e,{buttontext:u=""}=e,{translationurl:m=""}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{filteredrandomgamecategories:g=""}=e,f=[],y="",v=!1,b=0,w=0,x=!1,$=window.navigator.userAgent;var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(S),lt.set(C))}),Object.keys(Wi).forEach(e=>{Ui(e,Wi[e])});const k=()=>{r(4,a=M(a)),r(6,b=0),w=0,r(7,x=!1),r(3,y=f[Math.floor(Math.random()*f.length)]),r(5,v=!0)};let F;const _=e=>{if(g)for(;k(),!g.includes(y.vendor.name););else k();clearInterval(F),F=setInterval(()=>{r(6,b-=75),20==++w&&(r(7,x=!0),clearInterval(F))},150),e&&"function"==typeof gtag&&gtag("event","RefreshRandomGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)}),window.postMessage({type:"RandomWidgetState",state:!0},window.location.href)},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),r(5,v=!1),window.postMessage({type:"RandomWidgetState",state:!1},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"RandomGameWidget",gameId:""+(y.gId||y.id)})};return n.$$set=e=>{"endpoint"in e&&r(12,o=e.endpoint),"datasource"in e&&r(13,s=e.datasource),"gameevent"in e&&r(14,l=e.gameevent),"lang"in e&&r(15,c=e.lang),"randombuttonicon"in e&&r(0,d=e.randombuttonicon),"buttontext"in e&&r(1,u=e.buttontext),"translationurl"in e&&r(16,m=e.translationurl),"clientstyling"in e&&r(17,h=e.clientstyling),"clientstylingurl"in e&&r(18,p=e.clientstylingurl),"filteredrandomgamecategories"in e&&r(19,g=e.filteredrandomgamecategories)},n.$$.update=()=>{if(32768&n.$$.dirty[0]&&c&&(t=c,lt.set(t)),65536&n.$$.dirty[0]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Ui(e,t[e])})}).catch(e=>{console.log(e)}),12288&n.$$.dirty[0]&&o&&s&&((t=new URL(o+"/v1/casino/games")).searchParams.append("platform",Qr($)),t.searchParams.append("datasource",s),t.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),t.searchParams.append("expand","vendor"),t.searchParams.append("pagination","offset=0,limit=1000"),fetch(t.href).then(e=>e.json()).then(e=>{f=e.items,r(4,a=f.slice(0,19))})),131076&n.$$.dirty[0]&&h&&i&&((e=document.createElement("style")).innerHTML=h,i.appendChild(e)),262148&n.$$.dirty[0]&&p&&i){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,t},[d,u,i,y,a,v,b,x,t,_,E,()=>{r(5,v=!1),window.postMessage({type:"RandomWidgetState",state:v},window.location.href)},o,s,l,c,m,h,p,g,()=>_(!0),()=>E(),()=>_(),function(e){st[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}function to(e,t){$r(e,t)}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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, 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, 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;transition:transform 400ms ease-in-out}.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-casino-color-primary, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},eo,Qi,n,{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),m())}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}),m()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),m()}get gameevent(){return this.$$.ctx[14]}set gameevent(e){this.$$set({gameevent:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),m()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),m()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[19]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}});const no={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}};function ro(n){let r;return{c(){(r=he("div")).innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=O},m(e,t){ue(e,r,t),n[3](r)},p:O,i:O,o:O,d(e){e&&me(r),n[3](null)}}}function ao(t,e,n){let r,{clientstyling:a=""}=e,{clientstylingurl:i=""}=e;return t.$$set=e=>{"clientstyling"in e&&n(1,a=e.clientstyling),"clientstylingurl"in e&&n(2,i=e.clientstylingurl)},t.$$.update=()=>{if(3&t.$$.dirty&&a&&r&&((e=document.createElement("style")).innerHTML=a,r.appendChild(e)),5&t.$$.dirty&&i&&r){let e=new URL(i),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[r,a,i,function(e){st[e?"unshift":"push"](()=>{r=e,n(0,r)})}]}function io(e,t,n){e=e.slice();return e[67]=t[n],e}function oo(e,t,n){e=e.slice();return e[70]=t[n],e}function so(n){let a,r,i,o,s,l,c,d,e,u,m,h,p,g,f,y,v,b,w,x=n[17],$=[];for(let e=0;e<x.length;e+=1)$[e]=mo(oo(n,x,e));function C(e){return e[18]?po:ho}let S=C(n),k=S(n);return{c(){a=he("div"),r=he("div"),i=he("div");for(let e=0;e<$.length;e+=1)$[e].c();o=ge(),s=he("div"),l=he("button"),c=z("svg"),d=z("path"),u=ge(),m=he("button"),h=z("svg"),p=z("path"),y=ge(),k.c(),fe(i,"class","WinnerButtonsContainer"),fe(d,"style",e=n[12]>=n[11].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(p,"style",g=n[12]>=n[11].length?"fill:#F6F6F62E":""),fe(p,"id","Path_36"),fe(p,"data-name","Path 36"),fe(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(p,"transform","translate(0 24.656) rotate(-90)"),fe(p,"fill","#fff"),fe(h,"id","Component_46_2"),fe(h,"data-name","Component 46 – 2"),fe(h,"xmlns","http://www.w3.org/2000/svg"),fe(h,"width","15"),fe(h,"height","15"),fe(h,"viewBox","0 0 16 24.656"),fe(m,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[6]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(a,"class",v="CasinoWinners "+(n[13]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i);for(let e=0;e<$.length;e+=1)$[e]&&$[e].m(i,null);de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,m),de(m,h),de(h,p),de(a,y),k.m(a,null),b||(w=[U(l,"click",n[42]),U(m,"click",n[43])],b=!0)},p(t,n){if(1704963&n[0]){let e;for(x=t[17],e=0;e<x.length;e+=1){var r=oo(t,x,e);$[e]?$[e].p(r,n):($[e]=mo(r),$[e].c(),$[e].m(i,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=x.length}6144&n[0]&&e!==(e=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),6144&n[0]&&g!==(g=t[12]>=t[11].length?"fill:#F6F6F62E":"")&&fe(p,"style",g),64&n[0]&&f!==(f="ButtonsContainer "+("true"==t[6]?"ButtonsContainerNone":""))&&fe(s,"class",f),S===(S=C(t))&&k?k.p(t,n):(k.d(1),(k=S(t))&&(k.c(),k.m(a,null))),8192&n[0]&&v!==(v="CasinoWinners "+(t[13]?"Mobile":""))&&fe(a,"class",v)},d(e){e&&me(a),j($,e),k.d(),b=!1,H(w)}}}function lo(e){let n;return{c(){F(n=he("general-animation-loading"),"clientstyling",e[4]),F(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"clientstyling",e[4]),32&t[0]&&F(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function co(n){let r,a,i,o,s,l=n[19]("recentWinners")+"";return{c(){r=he("button"),a=pe(l),fe(r,"class",i="WinnersButton "+("recent"==n[10]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[40]),o=!0)},p(e,t){524288&t[0]&&l!==(l=e[19]("recentWinners")+"")&&ye(a,l),1025&t[0]&&i!==(i="WinnersButton "+("recent"==e[10]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function uo(n){let r,a,i,o,s,l,c=n[19]("topWinners")+"";return{c(){r=he("button"),a=pe(c),i=ge(),fe(r,"class",o="WinnersButton "+("top"==n[10]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=U(r,"click",n[41]),s=!0)},p(e,t){524288&t[0]&&c!==(c=e[19]("topWinners")+"")&&ye(a,c),1026&t[0]&&o!==(o="WinnersButton "+("top"==e[10]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function mo(e){let n,r,a="recent"==e[70]&&co(e),i="top"==e[70]&&uo(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[70]?a?a.p(e,t):((a=co(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),"top"==e[70]?i?i.p(e,t):((i=uo(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&me(n),i&&i.d(e),e&&me(r)}}}function ho(n){let a,i=n[11],o=[];for(let e=0;e<i.length;e+=1)o[e]=go(io(n,i,e));return{c(){a=he("div");for(let e=0;e<o.length;e+=1)o[e].c();fe(a,"class","WinnersSlider")},m(e,t){ue(e,a,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(a,null);n[45](a)},p(t,n){if(6883468&n[0]){let e;for(i=t[11],e=0;e<i.length;e+=1){var r=io(t,i,e);o[e]?o[e].p(r,n):(o[e]=go(r),o[e].c(),o[e].m(a,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){e&&me(a),j(o,e),n[45](null)}}}function po(e){let n;return{c(){F(n=he("general-animation-loading"),"clientstyling",e[4]),F(n,"clientstylingurl",e[5])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"clientstyling",e[4]),32&t[0]&&F(n,"clientstylingurl",e[5])},d(e){e&&me(n)}}}function go(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C,S,k,F,_=n[67].gameName+"",M=n[21](n[67].username)+"",E=n[19]("won")+"",G=n[67].specifiedCurrencyAmount.toFixed(2)+"",L=(n[7]?n[3]:n[2])+"";function T(){return n[44](n[67])}return{c(){r=he("div"),a=he("div"),i=he("img"),l=ge(),c=he("p"),d=pe(_),u=ge(),m=he("p"),h=pe(M),p=ge(),g=he("p"),f=pe(E),y=ge(),v=he("p"),b=pe(G),w=ge(),x=he("span"),$=pe(L),C=ge(),ce(i.src,o=n[67]?.gameModel?.thumbnail)||fe(i,"src",o),fe(i,"alt",s=n[67]?.gameModel?.thumbnail),fe(i,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(a,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[16]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,l),de(a,c),de(c,d),de(a,u),de(a,m),de(m,h),de(a,p),de(a,g),de(g,f),de(a,y),de(a,v),de(v,b),de(v,w),de(v,x),de(x,$),de(r,C),k||(F=U(i,"click",T),k=!0)},p(e,t){n=e,2048&t[0]&&!ce(i.src,o=n[67]?.gameModel?.thumbnail)&&fe(i,"src",o),2048&t[0]&&s!==(s=n[67]?.gameModel?.thumbnail)&&fe(i,"alt",s),2048&t[0]&&_!==(_=n[67].gameName+"")&&ye(d,_),2048&t[0]&&M!==(M=n[21](n[67].username)+"")&&ye(h,M),524288&t[0]&&E!==(E=n[19]("won")+"")&&ye(f,E),2048&t[0]&&G!==(G=n[67].specifiedCurrencyAmount.toFixed(2)+"")&&ye(b,G),140&t[0]&&L!==(L=(n[7]?n[3]:n[2])+"")&&ye($,L),65536&t[0]&&S!==(S="CardWrapper "+(n[16]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&me(r),k=!1,F()}}}function fo(n){let r;function a(e){return e[14]||e[15]?lo:so}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[46](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[46](null)}}}function yo(n,e,r){let D;dt(n,Jr,e=>r(19,D=e));let a,i,A,o,N,s,O,l,c,d,{endpoint:u=""}=e,{session:m=""}=e,{userid:h=""}=e,{periodrecent:p="Today"}=e,{periodtop:g="Last7Days"}=e,{numberusersrecent:f="20"}=e,{numberuserstop:y="20"}=e,{amountlimit:v="1"}=e,{vendorCategory:b="All"}=e,{lang:w="en"}=e,{isrecentavailable:x="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:t=""}=e,{usercurrency:C=""}=e,{clientstyling:S=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:F=""}=e,{tabsorder:_=""}=e,{translationurl:M=""}=e,{winnersdatasources:E=""}=e,{hascustomstyling:G="false"}=e,L=[],T=0,P=0,B=window.navigator.userAgent,I=!0,R=!1,H=!1,j=[],z=!1;Object.keys(no).forEach(e=>{to(e,no[e])});const U=()=>{j=E.split(",").map(function(e){return e.trim()});const t=new URL(`${u}/v1/casino/${i}-winners`);r(18,z=!0),t.searchParams.append("limit","recent"==i?f:y),t.searchParams.append("specifiedCurrency",d),t.searchParams.append("period","recent"==i?p:g),t.searchParams.append("language",w),t.searchParams.append("amountLimit",v),t.searchParams.append("vendorCategory",b),j.forEach(e=>{t.searchParams.append("dataSource",e)}),setTimeout(()=>{fetch(t.href).then(e=>e.json()).then(e=>{r(11,L=[]),r(11,L=e.items.map(e=>e)),r(18,z=!1),setTimeout(()=>{r(12,P=Math.round(a.offsetWidth/225)),V(),"true"==F&&(clearInterval(l),T=0,P<O?l=setInterval(()=>{q()},3e3):clearInterval(l)),r(14,I=!1)},5)})},1e3)},W=e=>{i!==e&&(r(11,L=[]),r(10,i=e),U())},Y=(e,t,n,r)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n,subVendor:r},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:""+e,userId:""+(N||"Not logged in")})},V=n=>{var e=[...a.children];O=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),setTimeout(()=>{r(16,H=!0)},10)},Z=()=>{V(T)},K=()=>{var e;P>=L.length||(e=L.length,0===T?T=e-P:T-P<0?T=0:T-=P,Z())},q=()=>{var e;P>=L.length||(e=L.length,"true"==F&&(T===e-P?T=0:T++),"false"==F&&(T===e-P?T=0:e-P<T+P?T=e-P:T+=P),Z())},X=()=>{r(39,d=o?C:t)};return ut(()=>(r(13,A=ct(B)),()=>{clearInterval(l)})),n.$$set=e=>{"endpoint"in e&&r(26,u=e.endpoint),"session"in e&&r(27,m=e.session),"userid"in e&&r(28,h=e.userid),"periodrecent"in e&&r(29,p=e.periodrecent),"periodtop"in e&&r(30,g=e.periodtop),"numberusersrecent"in e&&r(31,f=e.numberusersrecent),"numberuserstop"in e&&r(32,y=e.numberuserstop),"amountlimit"in e&&r(25,v=e.amountlimit),"vendorCategory"in e&&r(33,b=e.vendorCategory),"lang"in e&&r(34,w=e.lang),"isrecentavailable"in e&&r(0,x=e.isrecentavailable),"istopavailable"in e&&r(1,$=e.istopavailable),"defaultcurrency"in e&&r(2,t=e.defaultcurrency),"usercurrency"in e&&r(3,C=e.usercurrency),"clientstyling"in e&&r(4,S=e.clientstyling),"clientstylingurl"in e&&r(5,k=e.clientstylingurl),"enableautoscroll"in e&&r(6,F=e.enableautoscroll),"tabsorder"in e&&r(35,_=e.tabsorder),"translationurl"in e&&r(36,M=e.translationurl),"winnersdatasources"in e&&r(37,E=e.winnersdatasources),"hascustomstyling"in e&&r(38,G=e.hascustomstyling)},n.$$.update=()=>{if(1644167171&n.$$.dirty[0]|31&n.$$.dirty[1]&&x&&$&&p&&g&&f&&y&&v&&b&&w&&_&&(r(17,c=_.split(",")),r(10,i=c[0]),"false"==x&&r(25,v=""),X(),r(14,I=!1)),201326592&n.$$.dirty[0]&&m&&u&&(r(7,o=!0),N=h),128&n.$$.dirty[0]&&o&&X(),67108864&n.$$.dirty[0]|256&n.$$.dirty[1]&&u&&d&&U(),8&n.$$.dirty[1]&&w&&(t=w,lt.set(t)),32&n.$$.dirty[1]&&M&&(t=new URL(M),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{to(e,t[e])})}).catch(e=>{console.log(e)})),128&n.$$.dirty[1]&&G&&"true"===G&&(S||k||!s||console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!S)&&k&&r(15,R=!0),272&n.$$.dirty[0]&&S&&s&&((e=document.createElement("style")).innerHTML=S,s.appendChild(e)),288&n.$$.dirty[0]&&k&&s){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500),r(15,R=!1)})}var e,t;64&n.$$.dirty[1]&&E&&U()},[x,$,t,C,S,k,F,o,s,a,i,L,P,A,I,R,H,c,z,D,W,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),Y,K,q,v,u,m,h,p,g,f,y,b,w,_,M,E,G,d,()=>W("recent"),()=>W("top"),()=>K(),()=>q(),e=>Y(e.gameId,e.gameModel.launchUrl,e.gameModel.name,e.gameModel.subVendor),function(e){st[e?"unshift":"push"](()=>{a=e,r(9,a)})},function(e){st[e?"unshift":"push"](()=>{s=e,r(8,s)})}]}function vo(e,t){$r(e,t)}customElements.get("general-animation-loading")||customElements.define("general-animation-loading",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ao,ro,n,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-winners")||customElements.define("casino-winners",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #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-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, 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-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, 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:last-child{margin-right:0}.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}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},yo,fo,n,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:25,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:35,translationurl:36,winnersdatasources:37,hascustomstyling:38},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","session","userid","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","vendorCategory","lang","isrecentavailable","istopavailable","defaultcurrency","usercurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder","translationurl","winnersdatasources","hascustomstyling"]}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),m()}get session(){return this.$$.ctx[27]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[28]}set userid(e){this.$$set({userid:e}),m()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[30]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[25]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(e){this.$$set({vendorCategory:e}),m()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),m()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(e){this.$$set({usercurrency:e}),m()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get tabsorder(){return this.$$.ctx[35]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),m()}get winnersdatasources(){return this.$$.ctx[37]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get hascustomstyling(){return this.$$.ctx[38]}set hascustomstyling(e){this.$$set({hascustomstyling:e}),m()}});const bo={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"}};function wo(e,t,n){e=e.slice();return e[48]=t[n],e[50]=n,e}function xo(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b;function w(e){return e[5]?So:ko}let x=w(n),$=x(n);return{c(){r=he("div"),a=he("div"),i=he("div"),o=he("div"),s=he("img"),c=ge(),d=he("div"),$.c(),u=ge(),m=he("div"),h=he("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(h.src,p=n[11])||fe(h,"src",p),fe(h,"alt",""),fe(m,"class","title"),fe(i,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),_(i,"background","url("+n[10]+")"),fe(a,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(i,c),de(i,d),$.m(d,null),de(i,u),de(i,m),de(m,h),v||(b=U(a,"click",n[31]),v=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&$?$.p(e,t):($.d(1),($=x(e))&&($.c(),$.m(d,null))),2048&t[0]&&!ce(h.src,p=e[11])&&fe(h,"src",p),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(i,"class",g),1024&t[0]&&_(i,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&me(r),$.d(),v=!1,b()}}}function $o(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Co(e){let n;return{c(){(n=he("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function So(e){let n,r,a,i,o,s,A,l,c,N,O,d,B,H,u,m,h,p,g,j,f,y,z,U,v,W,Y,b,w,x,$,C,S,V,k,F,Z,K,_,q,X,M,E,G,L,T,J,P,I,Q,ee,R,te,D=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ae=e[7][1]+"",ie=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=he("div"),r=he("div"),a=he("div"),i=he("img"),s=he("span"),A=pe(D),l=he("span"),c=he("span"),N=pe(ne),O=ge(),d=he("span"),B=pe(e[1]),H=ge(),u=he("div"),m=he("div"),h=he("img"),g=he("span"),j=pe(re),f=he("span"),y=he("span"),z=pe(ae),U=ge(),v=he("span"),W=pe(e[1]),Y=ge(),b=he("div"),w=he("div"),x=he("div"),$=he("img"),S=he("span"),V=pe(ie),k=he("span"),F=he("span"),Z=pe(oe),K=ge(),_=he("span"),q=pe(e[1]),X=ge(),M=he("div"),E=he("div"),G=he("img"),T=he("span"),J=pe(se),P=he("span"),I=he("span"),Q=pe(le),ee=ge(),R=he("span"),te=pe(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,o=e[9][0])||fe(i,"src",o),fe(i,"alt",""),fe(s,"class","cardLabel"),fe(a,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(h,"class","displayCardIcon"),ce(h.src,p=e[9][1])||fe(h,"src",p),fe(h,"alt",""),fe(g,"class","cardLabel"),fe(m,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(v,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe($,"class","displayCardIcon"),ce($.src,C=e[9][2])||fe($,"src",C),fe($,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(F,"class","jackpotValue"),fe(_,"class","jackpot-currency"),fe(k,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(G,"class","displayCardIcon"),ce(G.src,L=e[9][3])||fe(G,"src",L),fe(G,"alt",""),fe(T,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(I,"class","jackpotValue"),fe(R,"class","jackpot-currency"),fe(P,"class","cardTextWrapper"),fe(M,"class","displayCard"),fe(b,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(a,i),de(a,s),de(s,A),de(r,l),de(l,c),de(c,N),de(l,O),de(l,d),de(d,B),de(n,H),de(n,u),de(u,m),de(m,h),de(m,g),de(g,j),de(u,f),de(f,y),de(y,z),de(f,U),de(f,v),de(v,W),ue(e,Y,t),ue(e,b,t),de(b,w),de(w,x),de(x,$),de(x,S),de(S,V),de(w,k),de(k,F),de(F,Z),de(k,K),de(k,_),de(_,q),de(b,X),de(b,M),de(M,E),de(E,G),de(E,T),de(T,J),de(M,P),de(P,I),de(I,Q),de(P,ee),de(P,R),de(R,te)},p(e,t){512&t[0]&&!ce(i.src,o=e[9][0])&&fe(i,"src",o),256&t[0]&&D!==(D=e[8][0]+"")&&ye(A,D),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(N,ne),2&t[0]&&ye(B,e[1]),512&t[0]&&!ce(h.src,p=e[9][1])&&fe(h,"src",p),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ae!==(ae=e[7][1]+"")&&ye(z,ae),2&t[0]&&ye(W,e[1]),512&t[0]&&!ce($.src,C=e[9][2])&&fe($,"src",C),256&t[0]&&ie!==(ie=e[8][2]+"")&&ye(V,ie),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(q,e[1]),512&t[0]&&!ce(G.src,L=e[9][3])&&fe(G,"src",L),256&t[0]&&se!==(se=e[8][3]+"")&&ye(J,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&me(n),e&&me(Y),e&&me(b)}}}function ko(t){let a,i=Array(4),o=[];for(let e=0;e<i.length;e+=1)o[e]=Fo(wo(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(898&n[0]){let e;for(i=Array(4),e=0;e<i.length;e+=1){var r=wo(t,i,e);o[e]?o[e].p(r,n):(o[e]=Fo(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function Fo(e){let n,r,a,i,o,s,l,c,d,u,m,h,p=e[8][e[50]]+"",g=(e[7][e[50]]??"")+"";return{c(){n=he("div"),r=he("div"),a=he("img"),o=he("span"),s=pe(p),l=he("span"),c=he("span"),d=pe(g),u=ge(),m=he("span"),h=pe(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,i=e[9][e[50]])||fe(a,"src",i),fe(a,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(m,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,r),de(r,a),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,m),de(m,h)},p(e,t){512&t[0]&&!ce(a.src,i=e[9][e[50]])&&fe(a,"src",i),256&t[0]&&p!==(p=e[8][e[50]]+"")&&ye(s,p),128&t[0]&&g!==(g=(e[7][e[50]]??"")+"")&&ye(d,g),2&t[0]&&ye(h,e[1])},d(e){e&&me(n)}}}function _o(n){let r;function a(e){return e[13]?Co:e[3]?$o:xo}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[32](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[32](null)}}}function Mo(r,e,a){let i,o,{visualstructure:s=""}=e,{title:t=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:m=""}=e,{backgroundsrc:h=""}=e,{currency:p=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:v=""}=e,{clientstylingurl:b=""}=e,{translationurl:w=""}=e,{endpoint:x=""}=e,{gameid:$=""}=e,A=window.navigator.userAgent,C=!1,S=!1,k="",F=[],_=[],M=[],E=[],G=[],L="",T="",P=!1,I=!0,R=!1;Object.keys(bo).forEach(e=>{vo(e,bo[e])});const D=["typeSpread","typeLeft"],n=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:$},window.location.href),"function"==typeof gtag&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:""+$})};return r.$$set=e=>{"visualstructure"in e&&a(0,s=e.visualstructure),"title"in e&&a(15,t=e.title),"caticon0"in e&&a(16,l=e.caticon0),"caticon1"in e&&a(17,c=e.caticon1),"caticon2"in e&&a(18,d=e.caticon2),"caticon3"in e&&a(19,u=e.caticon3),"iconlabels"in e&&a(20,m=e.iconlabels),"backgroundsrc"in e&&a(21,h=e.backgroundsrc),"currency"in e&&a(1,p=e.currency),"backgroundsrcmobile"in e&&a(22,g=e.backgroundsrcmobile),"titlelogopath"in e&&a(23,f=e.titlelogopath),"lang"in e&&a(24,y=e.lang),"clientstyling"in e&&a(25,v=e.clientstyling),"clientstylingurl"in e&&a(26,b=e.clientstylingurl),"translationurl"in e&&a(27,w=e.translationurl),"endpoint"in e&&a(28,x=e.endpoint),"gameid"in e&&a(29,$=e.gameid)},r.$$.update=()=>{if(268435456&r.$$.dirty[0]&&x&&(n=new URL(x+"/v1/casino/jackpots/config"),fetch(n.href).then(e=>e.json()).then(e=>{a(30,_=e.egtJackpotIds.map(e=>e))})),33554436&r.$$.dirty[0]&&i&&v&&((n=document.createElement("style")).innerHTML=v,i.appendChild(n)),67108868&r.$$.dirty[0]&&i&&b){a(12,P=!0);let e=new URL(b),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{a(12,P=!1)},500)})}var e,t,n;1358954498&r.$$.dirty[0]&&x&&y&&p&&0<_.length&&x&&y&&p&&((t=new URL(x+"/v1/casino/jackpots")).searchParams.append("filter","id="+$),t.searchParams.append("language",y),t.searchParams.append("additionalDataCurrency",p),fetch(t.href).then(e=>e.json().then(e=>{a(3,I=!1),o=e,_.includes($)&&((e=null==(e=null==(e=o)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),e=o,a(6,k=(null==(e=null==e?void 0:e.items[0])?void 0:e.vendorLogo)||""))}).catch(e=>{a(13,R=!0),a(3,I=!1),console.error(e)}))),16777226&r.$$.dirty[0]&&p&&y&&!I&&(a(4,C=ct(A)&&1<window.innerHeight/window.innerWidth),a(5,S=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&a(7,M=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),a(8,E=m?m.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),D.includes(s.trim())?a(0,s=s.trim()):(console.warn(`Invalid Attribute Value: "${s}" is not a valid value for the "visualstructure" attribute. Defaulting to "${D[0]}"`),a(0,s=D[0])),a(10,L=g&&C&&!S?g:h),a(11,T=f),a(9,G=[l,c,d,u])),16777216&r.$$.dirty[0]&&y&&(e=y,lt.set(e)),134217728&r.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{vo(e,t[e])})}).catch(e=>{console.log(e)})},[s,p,i,I,C,S,k,M,E,G,L,T,P,R,n,t,l,c,d,u,m,h,g,f,y,v,b,w,x,$,_,()=>n(),function(e){st[e?"unshift":"push"](()=>{i=e,a(2,i)})}]}function Eo(e,t){$r(e,t)}customElements.get("casino-jackpot-banner")||customElements.define("casino-jackpot-banner",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=':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:auto;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}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Mo,_o,n,{visualstructure:0,title:15,caticon0:16,caticon1:17,caticon2:18,caticon3:19,iconlabels:20,backgroundsrc:21,currency:1,backgroundsrcmobile:22,titlelogopath:23,lang:24,clientstyling:25,clientstylingurl:26,translationurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}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}),m()}get title(){return this.$$.ctx[15]}set title(e){this.$$set({title:e}),m()}get caticon0(){return this.$$.ctx[16]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[17]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[18]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[19]}set caticon3(e){this.$$set({caticon3:e}),m()}get iconlabels(){return this.$$.ctx[20]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get backgroundsrc(){return this.$$.ctx[21]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[22]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[23]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get lang(){return this.$$.ctx[24]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[27]}set translationurl(e){this.$$set({translationurl:e}),m()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),m()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),m()}});const Go={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Game Collections",providers:"Game Providers",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Game Collections",providers:"Game Providers",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function Lo(e,t,n){e=e.slice();return e[39]=t[n],e}function To(e,t,n){e=e.slice();return e[42]=t[n],e}function Po(n){let a,r,i,o,s,l,c,d,u,m,h,e,p,g,f=("vendor"==n[0]?n[8]("providers"):n[8]("collections"))+"",y=n[3],v=[];for(let e=0;e<y.length;e+=1)v[e]=Oo(Lo(n,y,e));return{c(){a=he("div"),r=he("div"),i=he("p"),o=pe(f),s=ge(),l=he("div"),(c=he("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=he("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>',m=ge(),h=he("div");for(let e=0;e<v.length;e+=1)v[e].c();fe(i,"class","Title"),fe(l,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(h,"class","CategoriesSlider"),fe(a,"class",e="CasinoCollectionsProviders "+(n[7]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,r),de(r,i),de(i,o),de(r,s),de(r,l),de(l,c),de(l,d),de(l,u),de(a,m),de(a,h);for(let e=0;e<v.length;e+=1)v[e]&&v[e].m(h,null);n[23](h),p||(g=[U(c,"click",n[19]),U(u,"click",n[20])],p=!0)},p(t,n){if(257&n[0]&&f!==(f=("vendor"==t[0]?t[8]("providers"):t[8]("collections"))+"")&&ye(o,f),6158&n[0]){let e;for(y=t[3],e=0;e<y.length;e+=1){var r=Lo(t,y,e);v[e]?v[e].p(r,n):(v[e]=Oo(r),v[e].c(),v[e].m(h,null))}for(;e<v.length;e+=1)v[e].d(1);v.length=y.length}128&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[7]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(v,e),n[23](null),p=!1,H(g)}}}function Io(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Ro(e){let n,r,a=e[39].name+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&a!==(a=e[39].name+"")&&ye(r,a)},d(e){e&&me(n)}}}function Do(e){let n,r,a;return{c(){fe(n=he("img"),"class","CategorySlideLogo"),ce(n.src,r=e[39].icon)||fe(n,"src",r),fe(n,"alt",a=e[39].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&!ce(n.src,r=e[39].icon)&&fe(n,"src",r),8&t[0]&&a!==(a=e[39].name+" icon")&&fe(n,"alt",a)},d(e){e&&me(n)}}}function Ao(e){let n,r,a,i=e[42].name+"";return{c(){n=he("p"),r=pe(i),fe(n,"title",a=e[42].name)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){8&t[0]&&i!==(i=e[42].name+"")&&ye(r,i),8&t[0]&&a!==(a=e[42].name)&&fe(n,"title",a)},d(e){e&&me(n)}}}function No(n){let r,a,i,o,s,l,c,d;function u(){return n[21](n[42])}let m="true"==n[2]&&Ao(n);return{c(){r=he("div"),a=he("img"),s=ge(),m&&m.c(),l=ge(),fe(a,"class","CategorySlideGameImage"),ce(a.src,i=n[42].defaultThumbnail)||fe(a,"src",i),fe(a,"alt",o=n[42].name),fe(r,"class","CategorySlideGames")},m(e,t){var n;ue(e,r,t),de(r,a),de(r,s),m&&m.m(r,null),de(r,l),c||(d=U(a,"click",(n=u,function(e){return e.stopPropagation(),n.call(this,e)})),c=!0)},p(e,t){n=e,8&t[0]&&!ce(a.src,i=n[42].defaultThumbnail)&&fe(a,"src",i),8&t[0]&&o!==(o=n[42].name)&&fe(a,"alt",o),"true"==n[2]?m?m.p(n,t):((m=Ao(n)).c(),m.m(r,l)):m&&(m.d(1),m=null)},d(e){e&&me(r),m&&m.d(),c=!1,d()}}}function Oo(n){let r,a,i,o,s,l,c,d,u;function m(e){return"logo"==e[1]?Do:"title"==e[1]?Ro:void 0}let h=m(n),p=h&&h(n),g=n[39].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=No(To(n,g,e));function y(){return n[22](n[39])}return{c(){r=he("div"),a=he("div"),i=he("div"),p&&p.c(),o=ge(),s=he("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(i,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(a,"class",l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":"")),_(a,"background-image","url("+n[39]?.background+")"),_(a,"background-size","cover"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,a),de(a,i),p&&p.m(i,null),de(a,o),de(a,s);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(s,null);de(r,c),d||(u=U(a,"click",y),d=!0)},p(e,t){if(h===(h=m(n=e))&&p?p.p(n,t):(p&&p.d(1),(p=h&&h(n))&&(p.c(),p.m(i,null))),2060&t[0]){let e;for(g=n[39].games,e=0;e<g.length;e+=1){const a=To(n,g,e);f[e]?f[e].p(a,t):(f[e]=No(a),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}8&t[0]&&l!==(l="CategorySlide "+("vendor"==n[39]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(a,"class",l),8&t[0]&&_(a,"background-image","url("+n[39]?.background+")")},d(e){e&&me(r),p&&p.d(),j(f,e),d=!1,u()}}}function Bo(n){let r;function a(e){return e[6]?Io:Po}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[24](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[24](null)}}}function Ho(n,e,r){let t;dt(n,Jr,e=>r(8,t=e));let a,i,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:m=""}=e,{titletype:h=""}=e,{clientstyling:p=""}=e,{clientstylingurl:g=""}=e,{translationurl:f=""}=e,{collectionprovidersgamenames:y=""}=e,v=[],b=!0,w=0,x=0,$=0,C=window.navigator.userAgent;Object.keys(Go).forEach(e=>{Eo(e,Go[e])});const S=n=>{(o=[...a.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>i=e.getBoundingClientRect().width),$=Math.round(a.offsetWidth/i)},k=()=>{S(w)},F=()=>{$>=x||(0===w?w=x-$:w-$<-1?w=0:w--,k())},_=()=>{$>=x||(w===x-$?w=0:x-$<w+1?w=x-$:w++,k())},M=(e,t,n,r)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n,subVendor:r},window.location.href),"function"==typeof gtag&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:""+n})},E=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return ut(()=>{r(7,l=ct(C))}),n.$$set=e=>{"endpoint"in e&&r(13,c=e.endpoint),"datasource"in e&&r(14,d=e.datasource),"lang"in e&&r(15,u=e.lang),"type"in e&&r(0,m=e.type),"titletype"in e&&r(1,h=e.titletype),"clientstyling"in e&&r(16,p=e.clientstyling),"clientstylingurl"in e&&r(17,g=e.clientstylingurl),"translationurl"in e&&r(18,f=e.translationurl),"collectionprovidersgamenames"in e&&r(2,y=e.collectionprovidersgamenames)},n.$$.update=()=>{if(57344&n.$$.dirty[0]&&c&&d&&u&&((t=new URL(c+"/v2/casino/groups/"+d)).searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(6,b=!1);e=e.items.filter(e=>e.flags==m);r(3,v=e.map(e=>{var t;return{id:e.id,name:e.name,icon:e.icon||(null==(t=null==(t=null==(t=e.vendors)?void 0:t.items[0])?void 0:t.subVendors[0])?void 0:t.logo),games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}})),x=v.length})),24&n.$$.dirty[0]&&v&&a&&S(),32768&n.$$.dirty[0]&&u&&(t=u,lt.set(t)),65568&n.$$.dirty[0]&&p&&s&&((e=document.createElement("style")).innerHTML=p,s.appendChild(e)),131104&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)})}var e,t;262144&n.$$.dirty[0]&&f&&fetch(f).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Eo(e,t[e])})}).catch(e=>{console.log(e)})},[m,h,y,v,a,s,b,l,t,F,_,M,E,c,d,u,p,g,f,()=>F(),()=>_(),e=>M(e.gameId,e.launchUrl,e.name,e.subVendor),e=>E(e.id),function(e){st[e?"unshift":"push"](()=>{a=e,r(4,a)})},function(e){st[e?"unshift":"push"](()=>{s=e,r(5,s)})}]}function jo(n){let r,a;return{c(){r=he("div"),a=he("casino-games-category-section"),this.c=O,F(a,"session",n[0]),F(a,"userid",n[1]),F(a,"endpoint",n[2]),F(a,"datasource",n[3]),F(a,"lang",n[5]),F(a,"currency",n[4]),F(a,"favorites",n[14]),F(a,"categoryid","FAVORITES"),F(a,"class","CategoryContainer"),F(a,"showgamename",n[11]),F(a,"clientstyling",n[6]),F(a,"clientstylingurl",n[7]),F(a,"livecasino",n[8]),F(a,"visiblegames",n[13]),F(a,"gamepagemodalurl",n[12]),F(a,"integratedgameframedesktop",n[10]),F(a,"integratedgameframemobile",n[9]),F(a,"casinomygames",n[15]),fe(r,"class","CasinoFavoritesSectionContainer")},m(e,t){ue(e,r,t),de(r,a),n[18](r)},p(e,t){1&t[0]&&F(a,"session",e[0]),2&t[0]&&F(a,"userid",e[1]),4&t[0]&&F(a,"endpoint",e[2]),8&t[0]&&F(a,"datasource",e[3]),32&t[0]&&F(a,"lang",e[5]),16&t[0]&&F(a,"currency",e[4]),16384&t[0]&&F(a,"favorites",e[14]),2048&t[0]&&F(a,"showgamename",e[11]),64&t[0]&&F(a,"clientstyling",e[6]),128&t[0]&&F(a,"clientstylingurl",e[7]),256&t[0]&&F(a,"livecasino",e[8]),8192&t[0]&&F(a,"visiblegames",e[13]),4096&t[0]&&F(a,"gamepagemodalurl",e[12]),1024&t[0]&&F(a,"integratedgameframedesktop",e[10]),512&t[0]&&F(a,"integratedgameframemobile",e[9]),32768&t[0]&&F(a,"casinomygames",e[15])},i:O,o:O,d(e){e&&me(r),n[18](null)}}}function zo(t,e,s){let n,r,{endpoint:l=""}=e,{datasource:a=""}=e,{currency:i=""}=e,{lang:o=""}=e,{session:c=""}=e,{userid:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h="false"}=e,{integratedgameframemobile:p="false"}=e,{integratedgameframedesktop:g="false"}=e,{showgamename:f=""}=e,{gamepagemodalurl:y="false"}=e,{visiblegames:v=""}=e,{favorites:b=""}=e,{categoryid:w=""}=e,{casinomygames:x="false"}=e,$=[];var C,S;({withLocale:C,translations:S}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(S),lt.set(C))});const k=n=>{if(n.data)switch(n.data.type){case"UserSessionID":s(0,c=n.data.session),s(1,d=n.data.userID),d&&d.length&&c&&0<c.length&&F(l,c,d);break;case"SetUnfavoredGame":e=`${l}/v1/player/${d}/favorites`,t=c,d,o=n.data.id,n.data.triggerFactor,$.includes(o)&&($=$.filter(e=>e!=o)),fetch(e+"/"+o,{method:"DELETE",headers:{"X-SessionID":t}}).then(e=>e.json()).then(()=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+o},window.location.href),_(e,t)});break;case"SetFavoredGame":{var r=`${l}/v1/player/${d}/favorites`;var a=c;d;var i=n.data.id;n.data.triggerFactor;$.includes(i)||$.push(i);let e={items:$},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),_(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":d&&d.length&&c&&0<c.length&&F(l,c,d)}var e,t,o};let F=(e,t,n)=>{"true"==b&&c&&n&&fetch(e+`/v1/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(M(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),E(r.items)),r)).then(e=>e).catch(e=>{console.error(e)})};let _=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,M(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r,favStadalone:!0},window.location.href),r)).catch(e=>{console.error(e)})};const M=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},E=(e=[])=>($=[],0<e.length&&e.forEach(e=>{$.push(e.id)}),$);return ut(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)})),t.$$set=e=>{"endpoint"in e&&s(2,l=e.endpoint),"datasource"in e&&s(3,a=e.datasource),"currency"in e&&s(4,i=e.currency),"lang"in e&&s(5,o=e.lang),"session"in e&&s(0,c=e.session),"userid"in e&&s(1,d=e.userid),"clientstyling"in e&&s(6,u=e.clientstyling),"clientstylingurl"in e&&s(7,m=e.clientstylingurl),"livecasino"in e&&s(8,h=e.livecasino),"integratedgameframemobile"in e&&s(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&s(10,g=e.integratedgameframedesktop),"showgamename"in e&&s(11,f=e.showgamename),"gamepagemodalurl"in e&&s(12,y=e.gamepagemodalurl),"visiblegames"in e&&s(13,v=e.visiblegames),"favorites"in e&&s(14,b=e.favorites),"categoryid"in e&&s(17,w=e.categoryid),"casinomygames"in e&&s(15,x=e.casinomygames)},t.$$.update=()=>{if(16423&t.$$.dirty[0]&&l&&d&&c&&o&&b&&"true"==b&&F(l,c,d),65600&t.$$.dirty[0]&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),65664&t.$$.dirty[0]&&m&&n){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1)})}var e},[c,d,l,a,i,o,u,m,h,p,g,f,y,v,b,x,n,w,function(e){st[e?"unshift":"push"](()=>{n=e,s(16,n)})}]}function Uo(e,t){$r(e,t)}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-casino-typography, 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;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-casino-typography, var(--emfe-w-color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ho,Bo,n,{endpoint:13,datasource:14,lang:15,type:0,titletype:1,clientstyling:16,clientstylingurl:17,translationurl:18,collectionprovidersgamenames:2},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl","translationurl","collectionprovidersgamenames"]}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[14]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[15]}set lang(e){this.$$set({lang:e}),m()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),m()}get clientstyling(){return this.$$.ctx[16]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[17]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}}),customElements.get("casino-favorites-section")||customElements.define("casino-favorites-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},zo,jo,n,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,categoryid:17,casinomygames:15},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}});const Wo={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."}};function Yo(e){let n;return{c(){F(n=he("casino-games-category-section"),"session",e[4]),F(n,"userid",e[5]),F(n,"endpoint",e[0]),F(n,"datasource",e[1]),F(n,"lang",e[3]),F(n,"currency",e[2]),F(n,"favorites",e[14]),F(n,"categoryid","LASTPLAYED"),F(n,"categoryindex","1"),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[12]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[13]),F(n,"gamepagemodalurl",e[11]),F(n,"integratedgameframedesktop",e[10]),F(n,"integratedgameframemobile",e[9]),F(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"session",e[4]),32&t[0]&&F(n,"userid",e[5]),1&t[0]&&F(n,"endpoint",e[0]),2&t[0]&&F(n,"datasource",e[1]),8&t[0]&&F(n,"lang",e[3]),4&t[0]&&F(n,"currency",e[2]),16384&t[0]&&F(n,"favorites",e[14]),4096&t[0]&&F(n,"showgamename",e[12]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),8192&t[0]&&F(n,"visiblegames",e[13]),2048&t[0]&&F(n,"gamepagemodalurl",e[11]),1024&t[0]&&F(n,"integratedgameframedesktop",e[10]),512&t[0]&&F(n,"integratedgameframemobile",e[9]),32768&t[0]&&F(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Vo(e){let n,r,a=e[18]("noRecentGames")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[0]&&a!==(a=e[18]("noRecentGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Zo(n){let r,a;function i(e){return e[17]?Vo:Yo}let o=i(n),s=o(n);return{c(){r=he("div"),a=he("div"),s.c(),this.c=O,fe(a,"class","CasinoLastPlayedSection"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[24](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:O,o:O,d(e){e&&me(r),s.d(),n[24](null)}}}function Ko(t,e,n){let r;dt(t,Jr,e=>n(18,r=e));let a,i,{endpoint:o=""}=e,{datasource:s=""}=e,{currency:l=""}=e,{lang:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{clientstyling:m=""}=e,{clientstylingurl:h=""}=e,{translationurl:p=""}=e,{livecasino:g="false"}=e,{integratedgameframemobile:f="false"}=e,{integratedgameframedesktop:y="false"}=e,{gamepagemodalurl:v="false"}=e,{showgamename:b=""}=e,{visiblegames:w=""}=e,{favorites:x=""}=e,{lastplayedperiod:$="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:k="false"}=e,{lastplayedunique:F="true"}=e,_=window.navigator.userAgent,M=!1,E=[];Object.keys(Wo).forEach(e=>{Uo(e,Wo[e])});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,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,d=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"translationurl"in e&&n(19,p=e.translationurl),"livecasino"in e&&n(8,g=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,y=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,v=e.gamepagemodalurl),"showgamename"in e&&n(12,b=e.showgamename),"visiblegames"in e&&n(13,w=e.visiblegames),"favorites"in e&&n(14,x=e.favorites),"lastplayedperiod"in e&&n(20,$=e.lastplayedperiod),"lastplayedorder"in e&&n(21,C=e.lastplayedorder),"lastplayedlimit"in e&&n(22,S=e.lastplayedlimit),"casinomygames"in e&&n(15,k=e.casinomygames),"lastplayedunique"in e&&n(23,F=e.lastplayedunique)},t.$$.update=()=>{if(41&t.$$.dirty[0]&&o&&u&&c&&new Promise((e,t)=>{var n=new URL(`${o}/v1/player/${u}/games/last-played`);n.searchParams.append("unique",F),n.searchParams.append("limit",S),n.searchParams.append("order",C),n.searchParams.append("period",$),"PC"===Qr(_)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),a=g?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(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(o+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",s),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{E=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===k&&(E=E.slice(0,JSON.parse(w))),window.postMessage({type:"LastPlayedData",lastPlayedGames:E},window.location.href)})}else n(17,M=!0)}),524288&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Uo(e,t[e])})}).catch(e=>{console.log(e)}),65600&t.$$.dirty[0]&&m&&i&&((e=document.createElement("style")).innerHTML=m,i.appendChild(e)),65664&t.$$.dirty[0]&&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[0]&&c&&(e=c,lt.set(e))},[o,s,l,c,d,u,m,h,g,f,y,v,b,w,x,k,i,M,r,p,$,C,S,F,function(e){st[e?"unshift":"push"](()=>{i=e,n(16,i)})}]}function qo(e,t){$r(e,t)}customElements.get("casino-last-played-section")||customElements.define("casino-last-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ko,Zo,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:19,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:20,lastplayedorder:21,lastplayedlimit:22,casinomygames:15,lastplayedunique:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[19]}set translationurl(e){this.$$set({translationurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastplayedperiod(){return this.$$.ctx[20]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[21]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[22]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedunique(){return this.$$.ctx[23]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}});const Xo={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"No games in most played"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"}};function Jo(e){let n;return{c(){F(n=he("casino-games-category-section"),"session",e[4]),F(n,"userid",e[5]),F(n,"endpoint",e[0]),F(n,"datasource",e[1]),F(n,"lang",e[3]),F(n,"currency",e[2]),F(n,"favorites",e[14]),F(n,"categoryid","MOSTPLAYED"),F(n,"categoryindex","1"),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[12]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[13]),F(n,"gamepagemodalurl",e[11]),F(n,"integratedgameframedesktop",e[10]),F(n,"integratedgameframemobile",e[9]),F(n,"casinomygames",e[15])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&F(n,"session",e[4]),32&t[0]&&F(n,"userid",e[5]),1&t[0]&&F(n,"endpoint",e[0]),2&t[0]&&F(n,"datasource",e[1]),8&t[0]&&F(n,"lang",e[3]),4&t[0]&&F(n,"currency",e[2]),16384&t[0]&&F(n,"favorites",e[14]),4096&t[0]&&F(n,"showgamename",e[12]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),8192&t[0]&&F(n,"visiblegames",e[13]),2048&t[0]&&F(n,"gamepagemodalurl",e[11]),1024&t[0]&&F(n,"integratedgameframedesktop",e[10]),512&t[0]&&F(n,"integratedgameframemobile",e[9]),32768&t[0]&&F(n,"casinomygames",e[15])},d(e){e&&me(n)}}}function Qo(e){let n,r,a=e[18]("noGames")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){262144&t[0]&&a!==(a=e[18]("noGames")+"")&&ye(r,a)},d(e){e&&me(n)}}}function es(n){let r,a;function i(e){return e[17]?Qo:Jo}let o=i(n),s=o(n);return{c(){r=he("div"),a=he("div"),s.c(),this.c=O,fe(a,"class","casino-most-played-section"),fe(r,"class","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),de(r,a),s.m(a,null),n[23](r)},p(e,t){o===(o=i(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(a,null)))},i:O,o:O,d(e){e&&me(r),s.d(),n[23](null)}}}function ts(r,e,a){let t,{endpoint:i=""}=(dt(r,Jr,e=>a(18,t=e)),e),{datasource:o=""}=e,{currency:n=""}=e,{lang:s=""}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{livecasino:m="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:p="false"}=e,{gamepagemodalurl:g="false"}=e,{showgamename:f=""}=e,y=e["visiblegames"],{favorites:v=""}=e,{lastPlayedEmpty:b=""}=e,{translationurl:w=""}=e,{casinomygames:x="false"}=e,{mostplayedperiod:$="Last30Days"}=e,{mostplayedrounds:C="10"}=e,S=window.navigator.userAgent;Object.keys(Xo).forEach(e=>{qo(e,Xo[e])});let k,F,_=[],M=!1;return r.$$set=e=>{"endpoint"in e&&a(0,i=e.endpoint),"datasource"in e&&a(1,o=e.datasource),"currency"in e&&a(2,n=e.currency),"lang"in e&&a(3,s=e.lang),"session"in e&&a(4,l=e.session),"userid"in e&&a(5,c=e.userid),"clientstyling"in e&&a(6,d=e.clientstyling),"clientstylingurl"in e&&a(7,u=e.clientstylingurl),"livecasino"in e&&a(8,m=e.livecasino),"integratedgameframemobile"in e&&a(9,h=e.integratedgameframemobile),"integratedgameframedesktop"in e&&a(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&a(11,g=e.gamepagemodalurl),"showgamename"in e&&a(12,f=e.showgamename),"visiblegames"in e&&a(13,y=e.visiblegames),"favorites"in e&&a(14,v=e.favorites),"lastPlayedEmpty"in e&&a(19,b=e.lastPlayedEmpty),"translationurl"in e&&a(20,w=e.translationurl),"casinomygames"in e&&a(15,x=e.casinomygames),"mostplayedperiod"in e&&a(21,$=e.mostplayedperiod),"mostplayedrounds"in e&&a(22,C=e.mostplayedrounds)},r.$$.update=()=>{if(41&r.$$.dirty[0]&&i&&c&&s&&(e={limit:100,device:Qr(S),rounds:C},t=new URL(`${i}/v1/player/${c}/games/most-played`),e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",$),(n=e.device)?"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),k=m?t:t.href,new Promise((e,t)=>{fetch(k).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)})}).then(e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),0<e.count){let t=[];e.items.forEach(e=>{e=new URL(i+"/v1/casino/games/"+e.gameId);e.searchParams.append("datasource",o),t.push(fetch(e.href).then(e=>e.json()))}),Promise.all(t).then(e=>{_=e.filter(e=>!("error"in e)).map(e=>e[0]),"true"===x&&(_=_.slice(0,JSON.parse(y))),window.postMessage({type:"MostPlayedData",mostPlayedGames:_},window.location.href)})}else a(17,M=!0)})),65600&r.$$.dirty[0]&&d&&F&&((n=document.createElement("style")).innerHTML=d,F.appendChild(n)),65664&r.$$.dirty[0]&&u&&F){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{F.appendChild(t)},1)})}var e,t,n;1048576&r.$$.dirty[0]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{qo(e,t[e])})}).catch(e=>{console.log(e)}),8&r.$$.dirty[0]&&s&&(e=s,lt.set(e))},[i,o,n,s,l,c,d,u,m,h,p,g,f,y,v,x,F,M,t,b,w,$,C,function(e){st[e?"unshift":"push"](()=>{F=e,a(16,F)})}]}function ns(e,t){$r(e,t)}customElements.get("casino-most-played-section")||customElements.define("casino-most-played-section",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ts,es,n,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastPlayedEmpty:19,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),m()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get lastPlayedEmpty(){return this.$$.ctx[19]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),m()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),m()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const rs={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"}};function as(e,t,n){e=e.slice();return e[43]=t[n],e}function is(t){let a,n,i,r,o,e,s=t[27],l=[];for(let e=0;e<s.length;e+=1)l[e]=cs(as(t,s,e));function c(e){return"Favorites"==e[25]?ms:"MostPlayed"==e[25]?us:"LastPlayed"==e[25]?ds:void 0}let d=c(t),u=d&&d(t);return{c(){a=he("div"),n=he("div"),i=he("div");for(let e=0;e<l.length;e+=1)l[e].c();r=ge(),o=he("div"),u&&u.c(),fe(i,"class","MyGamesButtonsContainer"),fe(n,"class","MyGamesHeader"),fe(a,"class",e="CasinoMyGames "+(t[26]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,i);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(i,null);de(a,r),de(a,o),u&&u.m(o,null)},p(t,n){if(2046935040&n[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var r=as(t,s,e);l[e]?l[e].p(r,n):(l[e]=cs(r),l[e].c(),l[e].m(i,null))}for(;e<l.length;e+=1)l[e].d(1);l.length=s.length}d===(d=c(t))&&u?u.p(t,n):(u&&u.d(1),(u=d&&d(t))&&(u.c(),u.m(o,null))),67108864&n[0]&&e!==(e="CasinoMyGames "+(t[26]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(l,e),u&&u.d()}}}function os(n){let r,a,i,o,s,l,c,d,u,m,h=n[29]("favorites")+"";return{c(){r=he("button"),a=pe(h),i=ge(),o=he("span"),s=pe("("),l=pe(n[28]),c=pe(")"),fe(r,"class",d="MyGamesButton "+("Favorites"==n[25]?"Active":"")+" "+("false"==n[14]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),de(r,o),de(o,s),de(o,l),de(o,c),u||(m=U(r,"click",n[32]),u=!0)},p(e,t){536870912&t[0]&&h!==(h=e[29]("favorites")+"")&&ye(a,h),268435456&t[0]&&ye(l,e[28]),33570816&t[0]&&d!==(d="MyGamesButton "+("Favorites"==e[25]?"Active":"")+" "+("false"==e[14]?"Off":""))&&fe(r,"class",d)},d(e){e&&me(r),u=!1,m()}}}function ss(n){let r,a,i,o,s,l=n[29]("mostPlayed")+"";return{c(){r=he("button"),a=pe(l),fe(r,"class",i="MyGamesButton "+("MostPlayed"==n[25]?"Active":"")+" "+("false"==n[15]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[33]),o=!0)},p(e,t){536870912&t[0]&&l!==(l=e[29]("mostPlayed")+"")&&ye(a,l),33587200&t[0]&&i!==(i="MyGamesButton "+("MostPlayed"==e[25]?"Active":"")+" "+("false"==e[15]?"Off":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function ls(n){let r,a,i,o,s,l,c=n[29]("recentlyPlayed")+"";return{c(){r=he("button"),a=pe(c),i=ge(),fe(r,"class",o="MyGamesButton "+("LastPlayed"==n[25]?"Active":"")+" "+("false"==n[16]?"Off":""))},m(e,t){ue(e,r,t),de(r,a),de(r,i),s||(l=U(r,"click",n[34]),s=!0)},p(e,t){536870912&t[0]&&c!==(c=e[29]("recentlyPlayed")+"")&&ye(a,c),33619968&t[0]&&o!==(o="MyGamesButton "+("LastPlayed"==e[25]?"Active":"")+" "+("false"==e[16]?"Off":""))&&fe(r,"class",o)},d(e){e&&me(r),s=!1,l()}}}function cs(e){let n,r,a,i="Favorites"==e[43]&&os(e),o="MostPlayed"==e[43]&&ss(e),s="LastPlayed"==e[43]&&ls(e);return{c(){i&&i.c(),n=ge(),o&&o.c(),r=ge(),s&&s.c(),a=l()},m(e,t){i&&i.m(e,t),ue(e,n,t),o&&o.m(e,t),ue(e,r,t),s&&s.m(e,t),ue(e,a,t)},p(e,t){"Favorites"==e[43]?i?i.p(e,t):((i=os(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"MostPlayed"==e[43]?o?o.p(e,t):((o=ss(e)).c(),o.m(r.parentNode,r)):o&&(o.d(1),o=null),"LastPlayed"==e[43]?s?s.p(e,t):((s=ls(e)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){i&&i.d(e),e&&me(n),o&&o.d(e),e&&me(r),s&&s.d(e),e&&me(a)}}}function ds(e){let n;return{c(){F(n=he("casino-last-played-section"),"userid",e[0]),F(n,"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"favorites",e[14]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"session",e[1]),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"lastplayedperiod",e[18]),F(n,"lastplayedorder",e[20]),F(n,"lastplayedlimit",e[21]),F(n,"lastplayedunique",e[22]),F(n,"gamepagemodalurl",e[10]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&F(n,"userid",e[0]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16384&t[0]&&F(n,"favorites",e[14]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),2&t[0]&&F(n,"session",e[1]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),262144&t[0]&&F(n,"lastplayedperiod",e[18]),1048576&t[0]&&F(n,"lastplayedorder",e[20]),2097152&t[0]&&F(n,"lastplayedlimit",e[21]),4194304&t[0]&&F(n,"lastplayedunique",e[22]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function us(e){let n;return{c(){F(n=he("casino-most-played-section"),"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"session",e[1]),F(n,"userid",e[0]),F(n,"favorites",e[14]),F(n,"categoryindex","0"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"gamepagemodalurl",e[10]),F(n,"mostplayedrounds",e[23]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"mostplayedperiod",e[19]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),2&t[0]&&F(n,"session",e[1]),1&t[0]&&F(n,"userid",e[0]),16384&t[0]&&F(n,"favorites",e[14]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),8388608&t[0]&&F(n,"mostplayedrounds",e[23]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),524288&t[0]&&F(n,"mostplayedperiod",e[19]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function ms(e){let n;return{c(){F(n=he("casino-favorites-section"),"session",e[1]),F(n,"userid",e[0]),F(n,"endpoint",e[2]),F(n,"datasource",e[3]),F(n,"lang",e[4]),F(n,"currency",e[5]),F(n,"favorites",e[14]),F(n,"categoryid","FAVORITES"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[11]),F(n,"clientstyling",e[6]),F(n,"clientstylingurl",e[7]),F(n,"livecasino",e[8]),F(n,"visiblegames",e[9]),F(n,"gamepagemodalurl",e[10]),F(n,"integratedgameframedesktop",e[12]),F(n,"integratedgameframemobile",e[13]),F(n,"casinomygames",e[17])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"session",e[1]),1&t[0]&&F(n,"userid",e[0]),4&t[0]&&F(n,"endpoint",e[2]),8&t[0]&&F(n,"datasource",e[3]),16&t[0]&&F(n,"lang",e[4]),32&t[0]&&F(n,"currency",e[5]),16384&t[0]&&F(n,"favorites",e[14]),2048&t[0]&&F(n,"showgamename",e[11]),64&t[0]&&F(n,"clientstyling",e[6]),128&t[0]&&F(n,"clientstylingurl",e[7]),256&t[0]&&F(n,"livecasino",e[8]),512&t[0]&&F(n,"visiblegames",e[9]),1024&t[0]&&F(n,"gamepagemodalurl",e[10]),4096&t[0]&&F(n,"integratedgameframedesktop",e[12]),8192&t[0]&&F(n,"integratedgameframemobile",e[13]),131072&t[0]&&F(n,"casinomygames",e[17])},d(e){e&&me(n)}}}function hs(n){let r;function a(e){if(e[17])return is}let i=a(n),o=i&&i(n);return{c(){r=he("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[35](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[35](null)}}}function ps(t,e,n){let r;dt(t,Jr,e=>n(29,r=e));let a,{userid:i=""}=e,{session:o=""}=e,{endpoint:s=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{currency:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{livecasino:h=""}=e,{visiblegames:p=""}=e,{gamepagemodalurl:g=""}=e,{showgamename:f=""}=e,{integratedgameframedesktop:y=""}=e,{integratedgameframemobile:v=""}=e,{translationurl:b=""}=e,{favorites:w="false"}=e,{mostplayed:x="false"}=e,{lastplayed:$="false"}=e,{casinomygames:C="false"}=e,{lastplayedperiod:S="Last30Days"}=e,{mostplayedperiod:k="Last30Days"}=e,{lastplayedorder:F=""}=e,{lastplayedlimit:_=""}=e,{lastplayedunique:M="true"}=e,{mostplayedrounds:E=""}=e,D=window.navigator.userAgent,G="",L=!1,T=["","",""],P="0";var I,A;({withLocale:I,translations:A}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(A),lt.set(I))}),Object.keys(rs).forEach(e=>{ns(e,rs[e])});const R=e=>{G!==e&&n(25,G=e)},N=()=>{var e;n(25,G="true"===w?"Favorites":"true"===x?"MostPlayed":"true"===$?"LastPlayed":""),n(27,T[0]="true"===w?"Favorites":"",T),n(27,T[1]="true"===x?"MostPlayed":"",T),n(27,T[2]="true"===$?"LastPlayed":"",T),e=c,lt.set(e)},O=e=>{e.data&&"UpdateCategoryFavoriteGames"===e.data.type&&n(28,P=e.data.receivedFavoriteResults.count)};return ut(()=>(window.addEventListener("message",O,!1),n(26,L=ct(D)),()=>{window.removeEventListener("message",O)})),t.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,o=e.session),"endpoint"in e&&n(2,s=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,d=e.currency),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,h=e.livecasino),"visiblegames"in e&&n(9,p=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"showgamename"in e&&n(11,f=e.showgamename),"integratedgameframedesktop"in e&&n(12,y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,v=e.integratedgameframemobile),"translationurl"in e&&n(31,b=e.translationurl),"favorites"in e&&n(14,w=e.favorites),"mostplayed"in e&&n(15,x=e.mostplayed),"lastplayed"in e&&n(16,$=e.lastplayed),"casinomygames"in e&&n(17,C=e.casinomygames),"lastplayedperiod"in e&&n(18,S=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,k=e.mostplayedperiod),"lastplayedorder"in e&&n(20,F=e.lastplayedorder),"lastplayedlimit"in e&&n(21,_=e.lastplayedlimit),"lastplayedunique"in e&&n(22,M=e.lastplayedunique),"mostplayedrounds"in e&&n(23,E=e.mostplayedrounds)},t.$$.update=()=>{if(28&t.$$.dirty[0]&&s&&l&&c&&N(),114688&t.$$.dirty[0]&&w&&x&&$&&N(),1&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ns(e,t[e])})}).catch(e=>{console.log(e)}),16777280&t.$$.dirty[0]&&u&&a&&((e=document.createElement("style")).innerHTML=u,a.appendChild(e)),16777344&t.$$.dirty[0]&&m&&a){let t=document.createElement("style");fetch(new URL(m)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}var e},[i,o,s,l,c,d,u,m,h,p,g,f,y,v,w,x,$,C,S,k,F,_,M,E,a,G,L,T,P,r,R,b,()=>R("Favorites"),()=>R("MostPlayed"),()=>R("LastPlayed"),function(e){st[e?"unshift":"push"](()=>{a=e,n(24,a)})}]}function gs(e,t){$r(e,t)}customElements.get("casino-my-games")||customElements.define("casino-my-games",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:60px;transition:linear 100ms;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.MyGamesButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;margin-right:10px}.Mobile .MyGamesButton.Active{padding-bottom:4px}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ps,hs,n,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),m()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),m()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),m()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),m()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),m()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),m()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),m()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}});const fs={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}};function ys(e,t,n){e=e.slice();return e[53]=t[n],e}function vs(n){let r,a,i,o,s,l=n[20]("cancel")+"";return{c(){r=he("small"),a=pe(l),fe(r,"class",i="SearchCancelButton "+(n[12]?"NotVisible":""))},m(e,t){ue(e,r,t),de(r,a),o||(s=U(r,"click",n[35]),o=!0)},p(e,t){1048576&t[0]&&l!==(l=e[20]("cancel")+"")&&ye(a,l),4096&t[0]&&i!==(i="SearchCancelButton "+(e[12]?"NotVisible":""))&&fe(r,"class",i)},d(e){e&&me(r),o=!1,s()}}}function bs(e){let n,r,a,i;function o(e){return 1==e[16]&&e[11].length<2?$s:0!=e[14].length?xs:void 0}let s=o(e),l=s&&s(e),c=!1===e[12]&&Fs(e),d=2<=e[11].length&&0==e[14].length&&Ms(e);return{c(){l&&l.c(),n=ge(),r=he("div"),c&&c.c(),a=ge(),d&&d.c(),fe(r,"class",i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))},m(e,t){l&&l.m(e,t),ue(e,n,t),ue(e,r,t),c&&c.m(r,null),de(r,a),d&&d.m(r,null)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l&&l.d(1),(l=s&&s(e))&&(l.c(),l.m(n.parentNode,n))),!1===e[12]?c?c.p(e,t):((c=Fs(e)).c(),c.m(r,a)):c&&(c.d(1),c=null),2<=e[11].length&&0==e[14].length?d?d.p(e,t):((d=Ms(e)).c(),d.m(r,null)):d&&(d.d(1),d=null),65536&t[0]&&i!==(i="SearchResultsContainer "+(1==e[16]?"":"NotVisible"))&&fe(r,"class",i)},d(e){l&&l.d(e),e&&me(n),e&&me(r),c&&c.d(),d&&d.d()}}}function ws(e){let n,r,a=e[20]("loading")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","LoadingContent")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function xs(e){let n,r,a=e[20]("searchResult")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("searchResult")+"")&&ye(r,a)},d(e){e&&me(n)}}}function $s(e){let n,r,a=0!==e[14].length&&Cs(e),i=0==e[14].length&&Ss(e);return{c(){a&&a.c(),n=ge(),i&&i.c(),r=l()},m(e,t){a&&a.m(e,t),ue(e,n,t),i&&i.m(e,t),ue(e,r,t)},p(e,t){0!==e[14].length?a?a.p(e,t):((a=Cs(e)).c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),0==e[14].length?i?i.p(e,t):((i=Ss(e)).c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(e){a&&a.d(e),e&&me(n),i&&i.d(e),e&&me(r)}}}function Cs(e){let n,r,a=e[20]("recentSearch")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchMessage")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1048576&t[0]&&a!==(a=e[20]("recentSearch")+"")&&ye(r,a)},d(e){e&&me(n)}}}function Ss(e){let n,r,a,i,o,s=e[20]("noRecentSearches")+"",l="true"===e[10]&&ks();return{c(){n=he("div"),l&&l.c(),r=ge(),a=he("p"),i=pe(s),fe(a,"class","SearchMessage"),fe(n,"class",o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),l&&l.m(n,null),de(n,r),de(n,a),de(a,i)},p(e,t){"true"===e[10]?l||((l=ks()).c(),l.m(n,r)):l&&(l.d(1),l=null),1048576&t[0]&&s!==(s=e[20]("noRecentSearches")+"")&&ye(i,s),1024&t[0]&&o!==(o="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",o)},d(e){e&&me(n),l&&l.d()}}}function ks(){let n;return{c(){(n=he("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Fs(t){let a,i=t[14],o=[];for(let e=0;e<i.length;e+=1)o[e]=_s(ys(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(17580543&n[0]){let e;for(i=t[14],e=0;e<i.length;e+=1){var r=ys(t,i,e);o[e]?o[e].p(r,n):(o[e]=_s(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function _s(e){let n,r,a,i,o,s,l,c,d,u,m,h;return{c(){F(n=he("casino-game-thumbnail"),"endpoint",e[0]),F(n,"session",e[18]),F(n,"userid",e[19]),F(n,"favorites",e[8]),F(n,"lang",e[1]),F(n,"gamethumbnail",r=e[53].thumbnail),F(n,"gamename",a=e[53].name),F(n,"gamevendor",i=e[53].vendor.name),F(n,"gamelaunchurl",o=e[53].launchUrl),F(n,"gameisnew",s=e[53].isNew),F(n,"gametag",l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags)),F(n,"gamecellsize",c=e[53].cellSize),F(n,"gameid",d=e[53].id),F(n,"showgamename",e[6]),F(n,"gamefunmode",u=e[53].hasFunMode),F(n,"gamefavorite",m=e[53].isFavorite),F(n,"livelobbyendpoint",h=e[53].details?e[53].launchUrl:""),F(n,"integratedgameframedesktop",e[4]),F(n,"integratedgameframemobile",e[5]),F(n,"clientstyling",e[2]),F(n,"clientstylingurl",e[3]),F(n,"gamepagemodalurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&F(n,"endpoint",e[0]),262144&t[0]&&F(n,"session",e[18]),524288&t[0]&&F(n,"userid",e[19]),256&t[0]&&F(n,"favorites",e[8]),2&t[0]&&F(n,"lang",e[1]),16384&t[0]&&r!==(r=e[53].thumbnail)&&F(n,"gamethumbnail",r),16384&t[0]&&a!==(a=e[53].name)&&F(n,"gamename",a),16384&t[0]&&i!==(i=e[53].vendor.name)&&F(n,"gamevendor",i),16384&t[0]&&o!==(o=e[53].launchUrl)&&F(n,"gamelaunchurl",o),16384&t[0]&&s!==(s=e[53].isNew)&&F(n,"gameisnew",s),16384&t[0]&&l!==(l=0<e[53].advancedTags?.length&&e[24](e[53].advancedTags))&&F(n,"gametag",l),16384&t[0]&&c!==(c=e[53].cellSize)&&F(n,"gamecellsize",c),16384&t[0]&&d!==(d=e[53].id)&&F(n,"gameid",d),64&t[0]&&F(n,"showgamename",e[6]),16384&t[0]&&u!==(u=e[53].hasFunMode)&&F(n,"gamefunmode",u),16384&t[0]&&m!==(m=e[53].isFavorite)&&F(n,"gamefavorite",m),16384&t[0]&&h!==(h=e[53].details?e[53].launchUrl:"")&&F(n,"livelobbyendpoint",h),16&t[0]&&F(n,"integratedgameframedesktop",e[4]),32&t[0]&&F(n,"integratedgameframemobile",e[5]),4&t[0]&&F(n,"clientstyling",e[2]),8&t[0]&&F(n,"clientstylingurl",e[3]),128&t[0]&&F(n,"gamepagemodalurl",e[7])},d(e){e&&me(n)}}}function Ms(e){let n,r,a,i,o,s,l,c,d=e[20]("notFound")+"",u=e[20]("notFoundText")+"",m="true"===e[10]&&Es();return{c(){n=he("div"),m&&m.c(),r=ge(),a=he("p"),i=pe(d),o=ge(),s=he("p"),l=pe(u),fe(a,"class","SearchMessage"),fe(n,"class",c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))},m(e,t){ue(e,n,t),m&&m.m(n,null),de(n,r),de(n,a),de(a,i),de(n,o),de(n,s),de(s,l)},p(e,t){"true"===e[10]?m||((m=Es()).c(),m.m(n,r)):m&&(m.d(1),m=null),1048576&t[0]&&d!==(d=e[20]("notFound")+"")&&ye(i,d),1048576&t[0]&&u!==(u=e[20]("notFoundText")+"")&&ye(l,u),1024&t[0]&&c!==(c="ResultsContainerError "+("true"==e[10]?"WithIcon":""))&&fe(n,"class",c)},d(e){e&&me(n),m&&m.d()}}}function Es(){let n;return{c(){(n=he("div")).innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emfe-w-color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emfe-w-color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emfe-w-color-contrast, #131313)"></path></svg>',fe(n,"class","SearchErrorIcon")},m(e,t){ue(e,n,t)},d(e){e&&me(n)}}}function Gs(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C="true"===n[9]&&vs(n);function S(e){return e[17]?ws:bs}let k=S(n),F=k(n);return{c(){r=he("div"),a=he("div"),i=he("div"),(o=he("div")).innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>',s=ge(),l=he("input"),d=ge(),u=he("span"),m=z("svg"),h=z("path"),g=ge(),C&&C.c(),y=ge(),v=he("div"),w=ge(),F.c(),this.c=O,fe(o,"class","SearchIcon"),fe(l,"class","SearchInput"),fe(l,"type","search"),fe(l,"placeholder",c=n[20]("placeHolderSearchGames")),fe(l,"maxlength",50),fe(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),fe(h,"stroke","#717171"),fe(h,"stroke-width","2"),fe(h,"stroke-linecap","round"),fe(h,"stroke-linejoin","round"),fe(m,"width","11"),fe(m,"height","11"),fe(m,"fill","none"),fe(m,"xmlns","http://www.w3.org/2000/svg"),fe(u,"class",p="SearchClearButton "+("true"!=n[9]?"WithoutCancel":"")+" "+(0!=n[11].length?"":"NotVisible")),fe(i,"class",f="Search "+(n[12]?"":"SearchAnimation")),fe(a,"class","SearchWrap"),fe(v,"class",b="true"!=n[9]?"OverlayCancel":""),fe(r,"class",("PC"!==Qr(n[21])?"":"Desktop")+" CasinoSearch")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(i,s),de(i,l),G(l,n[11]),n[33](l),de(i,d),de(i,u),de(u,m),de(m,h),de(i,g),C&&C.m(i,null),de(r,y),de(r,v),de(r,w),F.m(r,null),n[36](r),x||($=[U(l,"input",n[32]),U(l,"focus",n[22]),U(u,"click",n[34]),U(v,"click",n[23])],x=!0)},p(e,t){1048576&t[0]&&c!==(c=e[20]("placeHolderSearchGames"))&&fe(l,"placeholder",c),2048&t[0]&&l.value!==e[11]&&G(l,e[11]),2560&t[0]&&p!==(p="SearchClearButton "+("true"!=e[9]?"WithoutCancel":"")+" "+(0!=e[11].length?"":"NotVisible"))&&fe(u,"class",p),"true"===e[9]?C?C.p(e,t):((C=vs(e)).c(),C.m(i,null)):C&&(C.d(1),C=null),4096&t[0]&&f!==(f="Search "+(e[12]?"":"SearchAnimation"))&&fe(i,"class",f),512&t[0]&&b!==(b="true"!=e[9]?"OverlayCancel":"")&&fe(v,"class",b),k===(k=S(e))&&F?F.p(e,t):(F.d(1),(F=k(e))&&(F.c(),F.m(r,null)))},i:O,o:O,d(e){e&&me(r),n[33](null),C&&C.d(),F.d(),n[36](null),x=!1,H($)}}}function Ls(r,e,o){let t;dt(r,Jr,e=>o(20,t=e));let n,a,i,s,{endpoint:l=""}=e,{datasource:c=""}=e,{session:d=""}=e,{userid:u=""}=e,{lang:m="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e,{integratedgameframedesktop:g="false"}=e,{integratedgameframemobile:f="false"}=e,{showgamename:y=""}=e,{gamepagemodalurl:v="true"}=e,{translationurl:b=""}=e,{showfavorites:w=""}=e,{cancelbutton:x="true"}=e,{notfoundicon:$="false"}=e,C=window.navigator.userAgent,S=[],k=[],F={},_="",M=!0,E=!1,G=!1,L=!1,T=[];Object.keys(fs).forEach(e=>{gs(e,fs[e])});const P=e=>{{var t,n;e.data&&"SearchedItemClicked"==e.data.type&&(t=e.data.gameId,-1===(k=(k=localStorage.getItem("searchedGamesWds_casino"))?k.split(","):[]).indexOf(t))&&(k.unshift(t),n=k.join(","),localStorage.setItem("searchedGamesWds_casino",n))}"UserSessionID"==e.data.type&&(o(18,i=e.data.session),o(19,s=e.data.userid),o(31,L=!0)),"CategoryChange"==e.data.type&&R()},D=()=>{if(o(12,M=!1),o(16,E=!0),l&&c&&m&&_.length<2){o(14,S=[]);let e=localStorage.getItem("searchedGamesWds_casino"),t=[],n=[],r=0,a=(t=e?e.split(","):t).length;if(0<a){for(r=0;r<a;r++){var i=new URL(l+"/v1/casino/games/"+t[r]);i.searchParams.append("language",m),i.searchParams.append("datasource",c),i.searchParams.append("platform",Qr(C)),n.push(((e,r)=>new Promise((t,n)=>{o(17,G=!0),r&&Object.keys(F).indexOf(r)>=0?(o(17,G=!1),t(F[r])):fetch(e).then(e=>e.json()).then(e=>{o(17,G=!1),e.error||(F[e[0].gameId]=e[0]),t(e[0])}).catch(e=>{o(17,G=!1),console.error(e),n(e)})}))(i,t[r]))}Promise.all(n).then(e=>{e=e.filter(function(e){return!!e}),o(14,S=e.map(e=>(e.isFavorite=A(e.id),e))),S.length?I("searchSuccess","SearchWidget"):I("searchFail","SearchWidget")}).catch(e=>{I("searchError","SearchWidget")})}}O(E),I("searchAttempt","SearchWidget"),I("SearchInitialized","SearchWidget")},I=(e,t)=>{"function"==typeof gtag&&gtag("event",e,{context:t})},A=t=>-1!==T.findIndex(e=>e==t),R=()=>{o(11,_=""),o(12,M=!0),o(17,G=!1),o(14,S=[]),o(16,E=!1),O(E)},N=()=>{o(11,_=""),n.focus()},O=e=>{window.postMessage({type:!0===e?"searchActive":"searchCancelled",searchStatus:e},window.location.href)};return ut(()=>(window.addEventListener("message",P,!1),()=>{window.removeEventListener("message",P)})),r.$$set=e=>{"endpoint"in e&&o(0,l=e.endpoint),"datasource"in e&&o(27,c=e.datasource),"session"in e&&o(28,d=e.session),"userid"in e&&o(29,u=e.userid),"lang"in e&&o(1,m=e.lang),"clientstyling"in e&&o(2,h=e.clientstyling),"clientstylingurl"in e&&o(3,p=e.clientstylingurl),"integratedgameframedesktop"in e&&o(4,g=e.integratedgameframedesktop),"integratedgameframemobile"in e&&o(5,f=e.integratedgameframemobile),"showgamename"in e&&o(6,y=e.showgamename),"gamepagemodalurl"in e&&o(7,v=e.gamepagemodalurl),"translationurl"in e&&o(30,b=e.translationurl),"showfavorites"in e&&o(8,w=e.showfavorites),"cancelbutton"in e&&o(9,x=e.cancelbutton),"notfoundicon"in e&&o(10,$=e.notfoundicon)},r.$$.update=()=>{if(134223875&r.$$.dirty[0])if(2<=_.length){const r=new URL(l+"/v1/casino/games");r.searchParams.append("datasource",c),r.searchParams.append("expand","vendor"),r.searchParams.append("platform",Qr(C)),r.searchParams.append("language",m),r.searchParams.append("pagination","offset=0,limit=30"),r.searchParams.append("filter","name="+_),e=r,new Promise((t,n)=>{o(17,G=!0),fetch(e.href).then(e=>e.json()).then(e=>{o(17,G=!1),t(e)}).catch(e=>{o(17,G=!1),console.error(e),n(e)})}).then(e=>{o(14,S=e.items.map(e=>(e.isFavorite=A(e.id),e)))})}else M||D();var e,t,n;if(2&r.$$.dirty[0]&&m&&(n=m,lt.set(n)),1073741824&r.$$.dirty[0]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{gs(e,t[e])})}).catch(e=>{console.log(e)}),805306368&r.$$.dirty[0]&&d&&u&&(o(31,L=!0),o(18,i=d),o(19,s=u)),256&r.$$.dirty[0]|1&r.$$.dirty[1]&&w&&L&&(n=new URL(`${l}/v1/player/${s}/favorites/`),o(17,G=!0),t={method:"GET",headers:{"X-SessionID":i}},fetch(n.href,t).then(e=>e.json()).then(e=>{o(17,G=!1),T=e.items.map(e=>e.id)})),8196&r.$$.dirty[0]&&h&&a&&((t=document.createElement("style")).innerHTML=h,a.appendChild(t)),8200&r.$$.dirty[0]&&p&&a){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1)})}},[l,m,h,p,g,f,y,v,w,x,$,_,M,a,S,n,E,G,i,s,t,C,D,()=>{"true"!=x&&R()},r=>{if(0===(null==r?void 0:r.length))return"";let a,i,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);oa(e).diff(s)<o&&(o=oa(e).diff(s),i=t),oa(s).isAfter(n)&&oa(s).isBefore(e)&&(a=r[i].name)}),a},R,N,c,d,u,b,L,function(){_=this.value,o(11,_)},function(e){st[e?"unshift":"push"](()=>{n=e,o(15,n)})},()=>N(),()=>R(),function(e){st[e?"unshift":"push"](()=>{a=e,o(13,a)})}]}function Ts(e,{delay:t=0,duration:n=400,easing:r=w}={}){const a=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*a}}function Ps(n){let r,a,i,o,s,l,c,d,t,u,m,h;return{c(){r=he("div"),a=he("div"),(i=he("div")).innerHTML="<slot></slot>",o=ge(),s=he("span"),(l=he("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(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(l,"name","close"),fe(s,"class",c="ModalCloseBtn "+("true"==n[1]&&n[3]?"ModalPanicCloseButton":"")),fe(s,"role","button"),fe(a,"class","ModalWindow"),fe(a,"part","ModalWindow"),fe(a,"id","Modal"),q(()=>n[19].call(a)),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),de(s,l),n[18](a),d=function(e,t){"static"===getComputedStyle(e).position&&(e.style.position="relative");const n=he("iframe"),r=(n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1,function(){if(void 0===L){L=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(e){L=!0}}return L}());let a;return r?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",a=U(window,"message",e=>{e.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{a=U(n.contentWindow,"resize",t),t()}),de(e,n),()=>{(r||a&&n.contentWindow)&&a(),me(n)}}(a,n[19].bind(a)),n[20](r),u=!0,m||(h=U(s,"click",n[8]),m=!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(()=>{u&&(t=t||oe(a,Ts,{transitionDuration:n[0]},!0)).run(1)}),u=!0)},o(e){(t=t||oe(a,Ts,{transitionDuration:n[0]},!1)).run(0),u=!1},d(e){e&&me(r),n[18](null),d(),e&&t&&t.end(),n[20](null),m=!1,h()}}}function Is(e){let n,r,a=e[7]&&Ps(e);return{c(){a&&a.c(),n=l(),this.c=O},m(e,t){a&&a.m(e,t),ue(e,n,t),r=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&re(a,1)):((a=Ps(e)).c(),re(a,1),a.m(n.parentNode,n)):a&&(ne={r:0,c:[],p:ne},ae(a,1,1,()=>{a=null}),ne.r||H(ne.c),ne=ne.p)},i(e){r||(re(a),r=!0)},o(e){ae(a),r=!1},d(e){a&&a.d(e),e&&me(n)}}}function Rs(t,e,n){let r,i,a,o,{duration:s=350}=e,{session:l=""}=e,{userid:c=""}=e,{clientstyling:d=""}=e,{identifier:u=""}=e,{clientstylingurl:m=""}=e,{endpoint:h=""}=e,{haspanicbutton:p="false"}=e,{gamepagemodalurl:g="false"}=e,{sessioncheck:f="true"}=e,{integratedgameframedesktop:y="false"}=e,v=window.navigator.userAgent,b=!1,w=!1,x=!1;const $=e=>{var t;"ShowModal"==e.data.type&&u==e.data.identifier&&(n(7,x=!0),window.postMessage({type:"DisableScroll"},window.location.href)),"ModalClosed"!=e.data.type||"true"!==y&&!ct(v)||n(7,x=!1),"ShowGameModal"===e.data.type&&(n(7,x=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrameModal"===e.data.type&&(n(7,x=!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&&(w=e.data.detailsObtained)},C=e=>{var t;w&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return ut(()=>(n(3,b=ct(v)),window.addEventListener("message",$,!1),window.addEventListener("resize",C,!1),()=>{window.removeEventListener("message",$),window.removeEventListener("resize",$)})),t.$$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),"identifier"in e&&n(12,u=e.identifier),"clientstylingurl"in e&&n(13,m=e.clientstylingurl),"endpoint"in e&&n(14,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(15,g=e.gamepagemodalurl),"sessioncheck"in e&&n(16,f=e.sessioncheck),"integratedgameframedesktop"in e&&n(17,y=e.integratedgameframedesktop)},t.$$.update=()=>{if(17920&t.$$.dirty&&l&&c&&h&&"true"==f&&(r=h,a=l,new Promise((t,n)=>{var e=new Headers;e.append("X-SessionID",a),Oe(r+"/v1/player/session/player",{method:"GET",headers:e}).then(e=>e.json()).then(e=>t(e)).catch(e=>n(e))}).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)})),2052&t.$$.dirty&&d&&i&&((e=document.createElement("style")).innerHTML=d,i.appendChild(e)),8196&t.$$.dirty&&m&&i){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}var e,r,a},[s,p,i,b,r,void 0,void 0,x,()=>{n(7,x=!1),n(3,b=ct(v)),window.postMessage({type:"ModalClosed",gamepagemodalurl:g,mobileView:b,closeIntegratedGameFrameDesktop:!0},window.location.href)},l,c,d,u,m,h,g,f,y,function(e){st[e?"unshift":"push"](()=>{r=e,n(4,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){st[e?"unshift":"push"](()=>{i=e,n(2,i)})}]}function Ds(e,t,n){e=e.slice();return e[26]=t[n],e[27]=t,e[28]=n,e}function As(e,t,n){e=e.slice();return e[29]=t[n],e[28]=n,e}function Ns(t){let a,n,i,r,e,o=t[3],s=[];for(let e=0;e<o.length;e+=1)s[e]=Ws(Ds(t,o,e));return{c(){a=he("div"),n=he("div"),i=pe(t[1]),r=ge();for(let e=0;e<s.length;e+=1)s[e].c();fe(n,"class","CasinoCalendarDailyDay"),fe(a,"class",e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))},m(e,t){ue(e,a,t),de(a,n),de(n,i),de(a,r);for(let e=0;e<s.length;e+=1)s[e]&&s[e].m(a,null)},p(t,n){if(2&n&&ye(i,t[1]),409&n){let e;for(o=t[3],e=0;e<o.length;e+=1){var r=Ds(t,o,e);s[e]?s[e].p(r,n):(s[e]=Ws(r),s[e].c(),s[e].m(a,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}64&n&&e!==(e="CasinoCalendarDailyDetailsBackground "+(t[6]?"Mobile":""))&&fe(a,"class",e)},d(e){e&&me(a),j(s,e)}}}function Os(e){let n;return{c(){(n=he("p")).textContent="Loading ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Bs(e){let n,r;return{c(){n=z("svg"),fe(r=z("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconDown")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&me(n)}}}function Hs(e){let n,r;return{c(){n=z("svg"),fe(r=z("path"),"stroke-linecap","round"),fe(r,"stroke-linejoin","round"),fe(r,"d","M19.5 8.25l-7.5 7.5-7.5-7.5"),fe(n,"xmlns","http://www.w3.org/2000/svg"),fe(n,"fill","none"),fe(n,"viewBox","0 0 24 24"),fe(n,"stroke-width","1.5"),fe(n,"stroke","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))"),fe(n,"class","IconUp")},m(e,t){ue(e,n,t),de(n,r)},d(e){e&&me(n)}}}function js(t){let r,a,i=t[26].details,o=[];for(let e=0;e<i.length;e+=1)o[e]=zs(As(t,i,e));let s=t[26].detailsExpanded&&Us(t);return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=ge(),s&&s.c(),a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,r,n),s&&s.m(t,n),ue(t,a,n)},p(t,n){if(280&n){let e;for(i=t[26].details,e=0;e<i.length;e+=1){const s=As(t,i,e);o[e]?o[e].p(s,n):(o[e]=zs(s),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}t[26].detailsExpanded?s?s.p(t,n):((s=Us(t)).c(),s.m(a.parentNode,a)):s&&(s.d(1),s=null)},d(e){j(o,e),e&&me(r),s&&s.d(e),e&&me(a)}}}function zs(n){let r,a,i,o,s,l,c,d,u=n[29].title+"";function m(){return n[18](n[26],n[28])}return{c(){r=he("div"),a=he("div"),i=he("button"),o=pe(u),fe(i,"class",s="HeaderButton "+(n[29].expandedTab?"Active":"")),fe(a,"class","Header"),fe(r,"class",l=n[28]==n[4]?"SelectedTab":""),fe(r,"id","CollapseMoreInfoButton"),_(r,"height",n[26].expandedInfo?"100%":"")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),c||(d=U(i,"click",m),c=!0)},p(e,t){n=e,8&t&&u!==(u=n[29].title+"")&&ye(o,u),8&t&&s!==(s="HeaderButton "+(n[29].expandedTab?"Active":""))&&fe(i,"class",s),16&t&&l!==(l=n[28]==n[4]?"SelectedTab":"")&&fe(r,"class",l),8&t&&_(r,"height",n[26].expandedInfo?"100%":"")},d(e){e&&me(r),c=!1,d()}}}function Us(e){let n,r,a,i=e[26].details[e[4]].description+"";return{c(){n=he("div"),r=pe(i),fe(n,"class",a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){24&t&&i!==(i=e[26].details[e[4]].description+"")&&ye(r,i),24&t&&a!==(a="DetailTabsDescription "+(e[26].details[e[4]].expandedTab?"":"NotVisible"))&&fe(n,"class",a)},d(e){e&&me(n)}}}function Ws(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C=n[26].title+"",S=n[26].description+"";function k(e){return 1==e[26].expandedInfo?Hs:Bs}let F=k(n),_=F(n);function M(){return n[17](n[26],n[27],n[28])}let E=1==n[26].expandedInfo&&js(n);return{c(){r=he("div"),a=he("div"),i=pe(C),o=ge(),s=he("div"),l=he("img"),u=ge(),m=he("div"),h=pe(S),p=ge(),g=he("div"),f=he("button"),y=pe(n[0]),v=ge(),_.c(),b=ge(),E&&E.c(),w=ge(),fe(a,"class","CasinoCalendarDailyTitle"),fe(l,"class","CasinoCalendarFitImage"),ce(l.src,c=n[26].image)||fe(l,"src",c),fe(l,"alt",d=n[26].image),fe(s,"class","CasinoCalendarImage"),fe(m,"class","CasinoCalendarDailyDescription"),fe(f,"class","MoreInfoButton"),fe(g,"class","CasinoCalendarTabs"),fe(r,"class","CasinoCalendarDailyDetailsParent")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(r,o),de(r,s),de(s,l),de(r,u),de(r,m),de(m,h),de(r,p),de(r,g),de(g,f),de(f,y),de(f,v),_.m(f,null),de(g,b),E&&E.m(g,null),de(r,w),x||($=U(f,"click",M),x=!0)},p(e,t){n=e,8&t&&C!==(C=n[26].title+"")&&ye(i,C),8&t&&!ce(l.src,c=n[26].image)&&fe(l,"src",c),8&t&&d!==(d=n[26].image)&&fe(l,"alt",d),8&t&&S!==(S=n[26].description+"")&&ye(h,S),1&t&&ye(y,n[0]),F!==(F=k(n))&&(_.d(1),_=F(n))&&(_.c(),_.m(f,null)),1==n[26].expandedInfo?E?E.p(n,t):((E=js(n)).c(),E.m(g,null)):E&&(E.d(1),E=null)},d(e){e&&me(r),_.d(),E&&E.d(),x=!1,$()}}}function Ys(n){let r;function a(e){return e[5]?Os:Ns}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[19](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[19](null)}}}function Vs(t,e,r){let n,{dailybackground:a=""}=e,{dailybuttontitle:i=""}=e,{dailyday:o=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:d="en"}=e,{clientstyling:u=""}=e,{clientstylingurl:m=""}=e,{translationUrl:h=""}=e,p=[],g=0,f=!0,y=!1,v=window.navigator.userAgent;var b,w;({withLocale:b,translations:w}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(w),lt.set(b))});const x=e=>{"DailyEventsData"==e.data.type&&(r(5,f=!1),r(3,p=e.data.data),p.forEach(e=>{e.expandedInfo=!1,e.detailsExpanded=!1,e.details.forEach((e,t)=>{e.expandedTab=0==t})})),"ModalClosed"==e.data.type&&(r(4,g=0),p.forEach((e,t)=>{e.detailsExpanded=0==t,e.expandedInfo=0==t}))},$=e=>{r(4,g=0),r(3,p[e].detailsExpanded=!p[e].detailsExpanded,p),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},C=(e,t)=>{r(4,g=t),e.details.forEach((e,t)=>{e.expandedTab=g==t})};return ut(()=>(window.addEventListener("message",x,!1),ct(v)&&r(6,y=!0),()=>{window.removeEventListener("message",x)})),t.$$set=e=>{"dailybackground"in e&&r(9,a=e.dailybackground),"dailybuttontitle"in e&&r(0,i=e.dailybuttontitle),"dailyday"in e&&r(1,o=e.dailyday),"dailydescription"in e&&r(10,s=e.dailydescription),"dailyicon"in e&&r(11,l=e.dailyicon),"dailytitle"in e&&r(12,c=e.dailytitle),"lang"in e&&r(13,d=e.lang),"clientstyling"in e&&r(14,u=e.clientstyling),"clientstylingurl"in e&&r(15,m=e.clientstylingurl),"translationUrl"in e&&r(16,h=e.translationUrl)},t.$$.update=()=>{if(8192&t.$$.dirty&&d&&(e=d,lt.set(e)),16388&t.$$.dirty&&u&&n&&((e=document.createElement("style")).innerHTML=u,n.appendChild(e)),32772&t.$$.dirty&&m&&n){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{n.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[i,o,n,p,g,f,y,$,C,a,s,l,c,d,u,m,h,(e,t,n)=>{r(3,t[n].expandedInfo=!e.expandedInfo,p),$(n)},(e,t)=>{C(e,t)},function(e){st[e?"unshift":"push"](()=>{n=e,r(2,n)})}]}function Zs(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x,$,C,S,k;return{c(){r=he("div"),a=he("div"),i=he("div"),o=he("div"),(s=he("div")).innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',l=ge(),c=he("div"),d=he("div"),u=he("img"),h=ge(),p=he("div"),g=pe(n[2]),f=ge(),y=he("div"),v=ge(),b=he("div"),w=he("button"),x=pe(n[3]),this.c=O,fe(s,"class","CalendarBar"),ce(u.src,m=n[1])||fe(u,"src",m),fe(u,"alt",n[1]),fe(d,"class","CasinoCalendarDailyIcon"),fe(p,"class","CasinoCalendarDailyTitle"),fe(y,"class","CasinoCalendarDailyItemDescription"),fe(w,"class","MoreInfoButton"),fe(b,"class","CasinoCalendarDailyItemButton"),fe(c,"class",$="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==n[4]?"Tear":"")),_(c,"background-image","url('"+n[0]+"')"),_(c,"background-size","cover"),_(c,"background-position","center"),_(c,"-webkit-background-size","cover"),_(c,"-moz-background-size","cover"),_(c,"-o-background-size","cover"),fe(o,"class","CalendarCard"),fe(i,"class","CasinoCalendarItems"),fe(a,"class",C="Container "+(n[7]?"Mobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(i,o),de(o,s),de(o,l),de(o,c),de(c,d),de(d,u),de(c,h),de(c,p),de(p,g),de(c,f),de(c,y),n[14](y),de(c,v),de(c,b),de(b,w),de(w,x),n[16](r),S||(k=U(w,"click",n[15]),S=!0)},p(e,[t]){2&t&&!ce(u.src,m=e[1])&&fe(u,"src",m),2&t&&fe(u,"alt",e[1]),4&t&&ye(g,e[2]),8&t&&ye(x,e[3]),16&t&&$!==($="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==e[4]?"Tear":""))&&fe(c,"class",$),1&t&&_(c,"background-image","url('"+e[0]+"')"),128&t&&C!==(C="Container "+(e[7]?"Mobile":""))&&fe(a,"class",C)},i:O,o:O,d(e){e&&me(r),n[14](null),n[16](null),S=!1,k()}}}function Ks(t,e,n){let r,a,{cmsendpoint:i=""}=e,{lang:o=""}=e,{dailybackground:s=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:d="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:m="0"}=e,{clientstyling:h=""}=e,{clientstylingurl:p=""}=e;var g,f;({withLocale:g,translations:f}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(f),lt.set(g))});let y=!1,v=window.navigator.userAgent;const b=()=>{window.postMessage({type:"OpenCalendar",index:m},window.location.href),"function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};return ut(()=>{ct(v)&&n(7,y=!0)}),t.$$set=e=>{"cmsendpoint"in e&&n(9,i=e.cmsendpoint),"lang"in e&&n(10,o=e.lang),"dailybackground"in e&&n(0,s=e.dailybackground),"dailyicon"in e&&n(1,l=e.dailyicon),"dailyday"in e&&n(2,c=e.dailyday),"dailydescription"in e&&n(11,d=e.dailydescription),"dailybuttontitle"in e&&n(3,u=e.dailybuttontitle),"index"in e&&n(4,m=e.index),"clientstyling"in e&&n(12,h=e.clientstyling),"clientstylingurl"in e&&n(13,p=e.clientstylingurl)},t.$$.update=()=>{if(2063&t.$$.dirty&&l&&c&&d&&u&&s&&((e=document.createElement("div")).innerHTML=d,r)&&r.append(e),4128&t.$$.dirty&&h&&a&&((e=document.createElement("style")).innerHTML=h,a.appendChild(e)),8224&t.$$.dirty&&p&&a){let e=new URL(p),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e},[s,l,c,u,m,a,r,y,b,i,o,d,h,p,function(e){st[e?"unshift":"push"](()=>{r=e,n(6,r)})},()=>b(),function(e){st[e?"unshift":"push"](()=>{a=e,n(5,a)})}]}function qs(e,t,n){e=e.slice();return e[21]=t[n],e[23]=n,e}function Xs(t){let r,a,e,i=t[2],o=[];for(let e=0;e<i.length;e+=1)o[e]=el(qs(t,i,e));let s=1==t[7]&&tl(t);return{c(){r=he("div");for(let e=0;e<o.length;e+=1)o[e].c();a=ge(),s&&s.c(),fe(r,"class",e="CasinoCalendarItem "+(t[6]?"Mobile":""))},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(r,null);de(r,a),s&&s.m(r,null)},p(t,n){if(5&n){let e;for(i=t[2],e=0;e<i.length;e+=1){const s=qs(t,i,e);o[e]?o[e].p(s,n):(o[e]=el(s),o[e].c(),o[e].m(r,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}1==t[7]?s?s.p(t,n):((s=tl(t)).c(),s.m(r,null)):s&&(s.d(1),s=null),64&n&&e!==(e="CasinoCalendarItem "+(t[6]?"Mobile":""))&&fe(r,"class",e)},d(e){e&&me(r),j(o,e),s&&s.d()}}}function Js(e){let n;return{c(){fe(n=he("div"),"class","LoadingSpinner"),fe(n,"part","LoadingSpinner")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function Qs(e){let n;return{c(){(n=he("p")).textContent="500 Error - Internal Server Error",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:O,d(e){e&&me(n)}}}function el(e){let n,r,a,i,o,s;return{c(){F(n=he("casino-calendar-daily-item"),"dailybackground",r=e[21].dailyBackground),F(n,"dailyicon",a=e[21].dailyIcon),F(n,"dailyday",i=e[21].dailyDay),F(n,"dailydescription",o=e[21].dailyDescription),F(n,"dailybuttontitle",s=e[21].dailyButtonTitle),F(n,"index",e[23]),F(n,"lang",e[0])},m(e,t){ue(e,n,t)},p(e,t){4&t&&r!==(r=e[21].dailyBackground)&&F(n,"dailybackground",r),4&t&&a!==(a=e[21].dailyIcon)&&F(n,"dailyicon",a),4&t&&i!==(i=e[21].dailyDay)&&F(n,"dailyday",i),4&t&&o!==(o=e[21].dailyDescription)&&F(n,"dailydescription",o),4&t&&s!==(s=e[21].dailyButtonTitle)&&F(n,"dailybuttontitle",s),1&t&&F(n,"lang",e[0])},d(e){e&&me(n)}}}function tl(e){let n,r,a,i,o,s,l,c;return{c(){n=he("casino-modal"),F(r=he("casino-calendar-daily-details"),"dailybackground",a=e[2][e[3]].dailyBackground),F(r,"dailybuttontitle",i=e[2][e[3]].dailyButtonTitle),F(r,"dailyday",o=e[2][e[3]].dailyDay),F(r,"dailydescription",s=e[2][e[3]].dailyDescription),F(r,"dailyicon",l=e[2][e[3]].dailyIcon),F(r,"dailytitle",c=e[2][e[3]].dailyTitle),F(r,"lang",e[0]),F(n,"identifier","Calendar")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){12&t&&a!==(a=e[2][e[3]].dailyBackground)&&F(r,"dailybackground",a),12&t&&i!==(i=e[2][e[3]].dailyButtonTitle)&&F(r,"dailybuttontitle",i),12&t&&o!==(o=e[2][e[3]].dailyDay)&&F(r,"dailyday",o),12&t&&s!==(s=e[2][e[3]].dailyDescription)&&F(r,"dailydescription",s),12&t&&l!==(l=e[2][e[3]].dailyIcon)&&F(r,"dailyicon",l),12&t&&c!==(c=e[2][e[3]].dailyTitle)&&F(r,"dailytitle",c),1&t&&F(r,"lang",e[0])},d(e){e&&me(n)}}}function nl(n){let r;function a(e){return e[5]?Qs:e[4]?Js:e[2]?.length?Xs:void 0}let i=a(n),o=i&&i(n);return{c(){r=he("div"),o&&o.c(),this.c=O},m(e,t){ue(e,r,t),o&&o.m(r,null),n[13](r)},p(e,[t]){i===(i=a(e))&&o?o.p(e,t):(o&&o.d(1),(o=i&&i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o&&o.d(),n[13](null)}}}function rl(n,e,r){let a,i,{cmsendpoint:o=""}=e,{env:s=""}=e,{userroles:l=""}=e,{lang:c="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,m=0,h=!0,p=!1,t=!1,g=window.navigator.userAgent,f=!1;const y=e=>{var t;e.data&&"OpenCalendar"==e.data.type&&(r(3,m=e.data.index),r(7,f=!0),window.postMessage({type:"ShowModal",selectedIndex:m,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null==(t=i[m])?void 0:t.dailyEvents})),e.data&&"ModalClosed"==e.data.type&&r(7,f=!1)};return ut(()=>(window.addEventListener("message",y,!1),ct(g)&&r(6,t=!0),()=>{window.removeEventListener("message",y)})),n.$$set=e=>{"cmsendpoint"in e&&r(8,o=e.cmsendpoint),"env"in e&&r(9,s=e.env),"userroles"in e&&r(10,l=e.userroles),"lang"in e&&r(0,c=e.lang),"clientstyling"in e&&r(11,d=e.clientstyling),"clientstylingurl"in e&&r(12,u=e.clientstylingurl)},n.$$.update=()=>{if(1793&n.$$.dirty&&o&&c&&s&&l&&(r(4,h=!0),(e=new URL(`${o}/${c}/daily-calendar?env=${s}/`)).searchParams.append("userRoles",l),(t=Qr(g))&&("PC"===t?e.searchParams.append("device","dk"):"iPad"===t||"iPhone"===t?e.searchParams.append("device","ios"):e.searchParams.append("device","mtWeb")),fetch(e.href).then(e=>e.json()).then(e=>{r(2,i=e)}).catch(e=>{console.log(e),r(5,p=!0)}).finally(()=>{r(4,h=!1)})),2050&n.$$.dirty&&d&&a&&((t=document.createElement("style")).innerHTML=d,a.appendChild(t)),4098&n.$$.dirty&&u&&a){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e,t},[c,a,i,m,h,p,t,f,o,s,l,d,u,function(e){st[e?"unshift":"push"](()=>{a=e,r(1,a)})}]}function al(e,t,n){e=e.slice();return e[136]=t[n],e[138]=n,e}function il(e){let n,r,a,i,o,s,l="true"==e[22]&&0==kl&&!e[78]&&sl(e),c=!e[77]&&!e[76]&&"false"==e[53]&&ll(e);function d(e){return e[72]?ul:e[78]?void 0:dl}let u=d(e),m=u&&u(e),h=e[74]&&"true"==e[17]&&Cl(e);return{c(){n=he("section"),r=he("casino-search"),a=ge(),l&&l.c(),i=ge(),c&&c.c(),o=ge(),m&&m.c(),s=ge(),h&&h.c(),F(r,"endpoint",e[1]),F(r,"datasource",e[3]),F(r,"showgamename",e[20]),F(r,"lang",e[5]),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10]),F(r,"integratedgameframedesktop",e[31]),F(r,"integratedgameframemobile",e[32]),F(r,"translationurl",e[11]),F(r,"showfavorites",e[15]),fe(n,"class","CategoriesLobby"),_(n,"max-width",e[16]+"px")},m(e,t){ue(e,n,t),de(n,r),de(n,a),l&&l.m(n,null),de(n,i),c&&c.m(n,null),de(n,o),m&&m.m(n,null),de(n,s),h&&h.m(n,null)},p(e,t){2&t[0]&&F(r,"endpoint",e[1]),8&t[0]&&F(r,"datasource",e[3]),1048576&t[0]&&F(r,"showgamename",e[20]),32&t[0]&&F(r,"lang",e[5]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10]),1&t[1]&&F(r,"integratedgameframedesktop",e[31]),2&t[1]&&F(r,"integratedgameframemobile",e[32]),2048&t[0]&&F(r,"translationurl",e[11]),32768&t[0]&&F(r,"showfavorites",e[15]),"true"!=e[22]||0!=kl||e[78]?l&&(l.d(1),l=null):l?l.p(e,t):((l=sl(e)).c(),l.m(n,i)),e[77]||e[76]||"false"!=e[53]?c&&(c.d(1),c=null):c?c.p(e,t):((c=ll(e)).c(),c.m(n,o)),u===(u=d(e))&&m?m.p(e,t):(m&&m.d(1),(m=u&&u(e))&&(m.c(),m.m(n,s))),e[74]&&"true"==e[17]?h?h.p(e,t):((h=Cl(e)).c(),h.m(n,null)):h&&(h.d(1),h=null),65536&t[0]&&_(n,"max-width",e[16]+"px")},d(e){e&&me(n),l&&l.d(),c&&c.d(),m&&m.d(),h&&h.d()}}}function ol(e){let n,r,a=e[81]("500")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){524288&t[2]&&a!==(a=e[81]("500")+"")&&ye(r,a)},d(e){e&&me(n)}}}function sl(e){let n;return{c(){F(n=he("casino-random-game"),"datasource",e[3]),F(n,"filteredrandomgamecategories",e[23]),F(n,"endpoint",e[1]),F(n,"lang",e[5]),F(n,"gameevent",e[71]),F(n,"randombuttonicon",e[67]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){8&t[0]&&F(n,"datasource",e[3]),8388608&t[0]&&F(n,"filteredrandomgamecategories",e[23]),2&t[0]&&F(n,"endpoint",e[1]),32&t[0]&&F(n,"lang",e[5]),512&t[2]&&F(n,"gameevent",e[71]),32&t[2]&&F(n,"randombuttonicon",e[67]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function ll(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y,v,b,w,x=n[81]("filters")+"",$=n[80]&&cl(n);return{c(){r=he("div"),$&&$.c(),a=ge(),i=he("div"),o=he("div"),s=pe(x),l=ge(),c=he("div"),d=z("svg"),u=z("defs"),m=z("style"),h=pe(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),p=z("path"),g=ge(),f=he("div"),y=he("span"),v=pe(n[80]),fe(o,"class","FilterButton"),fe(p,"class","a"),fe(p,"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(p,"transform","translate(-5 -6.2)"),fe(d,"xmlns","http://www.w3.org/2000/svg"),fe(d,"width","20"),fe(d,"height","20"),fe(d,"viewBox","0 0 26 26"),fe(y,"class","NumberOfFilters"),fe(f,"class","NumberOfFiltersContainer"),fe(c,"class","FilterIconContainer"),fe(i,"class","FilterButtonWrapper"),fe(r,"class","FiltersButtonsContainer")},m(e,t){ue(e,r,t),$&&$.m(r,null),de(r,a),de(r,i),de(i,o),de(o,s),de(i,l),de(i,c),de(c,d),de(d,u),de(u,m),de(m,h),de(d,p),de(c,g),de(c,f),de(f,y),de(y,v),b||(w=U(i,"click",n[90]),b=!0)},p(e,t){e[80]?$?$.p(e,t):(($=cl(e)).c(),$.m(r,a)):$&&($.d(1),$=null),524288&t[2]&&x!==(x=e[81]("filters")+"")&&ye(s,x),262144&t[2]&&ye(v,e[80])},d(e){e&&me(r),$&&$.d(),b=!1,w()}}}function cl(n){let r,a,i,o,s,l,c,d=n[81]("clear")+"";return{c(){r=he("div"),a=he("div"),i=pe(d),o=ge(),(s=he("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(a,"class","ClearButton"),fe(a,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,a),de(a,i),de(a,o),de(a,s),l||(c=U(r,"click",n[89]),l=!0)},p(e,t){524288&t[2]&&d!==(d=e[81]("clear")+"")&&ye(i,d)},d(e){e&&me(r),l=!1,c()}}}function dl(e){let n;function r(e){return e[77]?pl:e[76]?hl:ml}let a=r(e),i=a(e);return{c(){i.c(),n=l()},m(e,t){i.m(e,t),ue(e,n,t)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),(i=a(e))&&(i.c(),i.m(n.parentNode,n)))},d(e){i.d(e),e&&me(n)}}}function ul(e){let n,r,a=e[81]("loading")+"";return{c(){n=he("p"),r=pe(a),fe(n,"class","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){524288&t[2]&&a!==(a=e[81]("loading")+"")&&ye(r,a)},d(e){e&&me(n)}}}function ml(e){let n;return{c(){F(n=he("casino-games-category-section"),"userid",e[7]),F(n,"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"favorites",e[15]),F(n,"lang",e[5]),F(n,"currency",e[4]),F(n,"session",e[6]),F(n,"categoryid",e[69]),F(n,"categorygames","9"),F(n,"class","CategoryContainer"),F(n,"showgamename",e[20]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10]),F(n,"livecasino",e[21]),F(n,"visiblegames",e[14]),F(n,"gamepagemodalurl",e[24]),F(n,"integratedgameframedesktop",e[31]),F(n,"integratedgameframemobile",e[32]),F(n,"casinomygames",e[0]),F(n,"filterbylogo",e[55]),F(n,"addfilterselector",e[53]),F(n,"addsortingselector",e[54]),F(n,"casinogamesgridslider",e[25])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&F(n,"userid",e[7]),2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32768&t[0]&&F(n,"favorites",e[15]),32&t[0]&&F(n,"lang",e[5]),16&t[0]&&F(n,"currency",e[4]),64&t[0]&&F(n,"session",e[6]),128&t[2]&&F(n,"categoryid",e[69]),1048576&t[0]&&F(n,"showgamename",e[20]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10]),2097152&t[0]&&F(n,"livecasino",e[21]),16384&t[0]&&F(n,"visiblegames",e[14]),16777216&t[0]&&F(n,"gamepagemodalurl",e[24]),1&t[1]&&F(n,"integratedgameframedesktop",e[31]),2&t[1]&&F(n,"integratedgameframemobile",e[32]),1&t[0]&&F(n,"casinomygames",e[0]),16777216&t[1]&&F(n,"filterbylogo",e[55]),4194304&t[1]&&F(n,"addfilterselector",e[53]),8388608&t[1]&&F(n,"addsortingselector",e[54]),33554432&t[0]&&F(n,"casinogamesgridslider",e[25])},d(e){e&&me(n)}}}function hl(e){let n;return{c(){F(n=he("casino-my-games"),"userid",e[7]),F(n,"session",e[6]),F(n,"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"currency",e[4]),F(n,"favorites",e[15]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10]),F(n,"livecasino",e[21]),F(n,"visiblegames",e[14]),F(n,"gamepagemodalurl",e[24]),F(n,"showgamename",e[20]),F(n,"integratedgameframedesktop",e[31]),F(n,"integratedgameframemobile",e[32]),F(n,"translationurl",e[11]),F(n,"mostplayed",e[57]),F(n,"lastplayed",e[58]),F(n,"filteredcategories",e[18]),F(n,"activecategory",e[19]),F(n,"lastplayedunique",e[63]),F(n,"categoryindex","0"),F(n,"categoryid","MYGAMES"),F(n,"casinomygames",e[0]),F(n,"lastplayedperiod",e[59]),F(n,"mostplayedperiod",e[60]),F(n,"lastplayedorder",e[61]),F(n,"lastplayedlimit",e[62]),F(n,"mostplayedrounds",e[64])},m(e,t){ue(e,n,t)},p(e,t){128&t[0]&&F(n,"userid",e[7]),64&t[0]&&F(n,"session",e[6]),2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),16&t[0]&&F(n,"currency",e[4]),32768&t[0]&&F(n,"favorites",e[15]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10]),2097152&t[0]&&F(n,"livecasino",e[21]),16384&t[0]&&F(n,"visiblegames",e[14]),16777216&t[0]&&F(n,"gamepagemodalurl",e[24]),1048576&t[0]&&F(n,"showgamename",e[20]),1&t[1]&&F(n,"integratedgameframedesktop",e[31]),2&t[1]&&F(n,"integratedgameframemobile",e[32]),2048&t[0]&&F(n,"translationurl",e[11]),67108864&t[1]&&F(n,"mostplayed",e[57]),134217728&t[1]&&F(n,"lastplayed",e[58]),262144&t[0]&&F(n,"filteredcategories",e[18]),524288&t[0]&&F(n,"activecategory",e[19]),2&t[2]&&F(n,"lastplayedunique",e[63]),1&t[0]&&F(n,"casinomygames",e[0]),268435456&t[1]&&F(n,"lastplayedperiod",e[59]),536870912&t[1]&&F(n,"mostplayedperiod",e[60]),1073741824&t[1]&&F(n,"lastplayedorder",e[61]),1&t[2]&&F(n,"lastplayedlimit",e[62]),4&t[2]&&F(n,"mostplayedrounds",e[64])},d(e){e&&me(n)}}}function pl(t){let a,i=t[79],o=[];for(let e=0;e<i.length;e+=1)o[e]=$l(al(t,i,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();a=l()},m(t,n){for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(t,n);ue(t,a,n)},p(t,n){if(2133915647&n[0]|67108863&n[1]|131096&n[2]){let e;for(i=t[79],e=0;e<i.length;e+=1){var r=al(t,i,e);o[e]?o[e].p(r,n):(o[e]=$l(r),o[e].c(),o[e].m(a.parentNode,a))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length}},d(e){j(o,e),e&&me(a)}}}function gl(e){let n,r;return{c(){n=he("div"),F(r=he("casino-winners"),"session",e[6]),F(r,"userid",e[7]),F(r,"periodrecent",e[33]),F(r,"periodtop",e[34]),F(r,"numberusersrecent",e[35]),F(r,"numberuserstop",e[36]),F(r,"amountlimit",e[37]),F(r,"isrecentavailable",e[30]),F(r,"istopavailable",e[29]),F(r,"defaultcurrency",e[38]),F(r,"usercurrency",e[4]),F(r,"enableautoscroll",e[28]),F(r,"tabsorder",e[27]),F(r,"lang",e[5]),F(r,"clientstyling",e[8]),F(r,"clientstylingurl",e[10]),F(r,"endpoint",e[1]),F(r,"winnersdatasources",e[65]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){64&t[0]&&F(r,"session",e[6]),128&t[0]&&F(r,"userid",e[7]),4&t[1]&&F(r,"periodrecent",e[33]),8&t[1]&&F(r,"periodtop",e[34]),16&t[1]&&F(r,"numberusersrecent",e[35]),32&t[1]&&F(r,"numberuserstop",e[36]),64&t[1]&&F(r,"amountlimit",e[37]),1073741824&t[0]&&F(r,"isrecentavailable",e[30]),536870912&t[0]&&F(r,"istopavailable",e[29]),128&t[1]&&F(r,"defaultcurrency",e[38]),16&t[0]&&F(r,"usercurrency",e[4]),268435456&t[0]&&F(r,"enableautoscroll",e[28]),134217728&t[0]&&F(r,"tabsorder",e[27]),32&t[0]&&F(r,"lang",e[5]),256&t[0]&&F(r,"clientstyling",e[8]),1024&t[0]&&F(r,"clientstylingurl",e[10]),2&t[0]&&F(r,"endpoint",e[1]),8&t[2]&&F(r,"winnersdatasources",e[65])},d(e){e&&me(n)}}}function fl(e){let n,r,a;return{c(){n=he("br"),r=ge(),F(a=he("casino-calendar"),"userroles",e[9]),F(a,"cmsendpoint",e[12]),F(a,"env",e[2]),F(a,"lang",e[5]),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){512&t[0]&&F(a,"userroles",e[9]),4096&t[0]&&F(a,"cmsendpoint",e[12]),4&t[0]&&F(a,"env",e[2]),32&t[0]&&F(a,"lang",e[5]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function yl(){let n,r,a;return{c(){n=he("br"),r=ge(),fe(a=he("slot"),"name","je-jackpots-widget")},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function vl(e){let n,r,a,i;return{c(){n=he("br"),r=ge(),F(a=he("casino-jackpot-banner"),"title","Jackpot Cards"),F(a,"currency",i=e[4]||"RON"),F(a,"gameid","999"),F(a,"endpoint",e[1]),F(a,"lang",e[5]),F(a,"backgroundsrc","/assets/background0.jpg"),F(a,"backgroundsrcmobile","/assets/background0.jpg"),F(a,"titlelogopath","/assets/jackpots_logo.svg"),F(a,"caticon0","/assets/icon0.svg"),F(a,"caticon1","/assets/icon1.svg"),F(a,"caticon2","/assets/icon2.svg"),F(a,"caticon3","/assets/icon3.svg"),F(a,"visualstructure","typeSpread"),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&F(a,"currency",i),2&t[0]&&F(a,"endpoint",e[1]),32&t[0]&&F(a,"lang",e[5]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function bl(e){let n,r,a,i;return{c(){n=he("br"),r=ge(),F(a=he("casino-jackpot-banner"),"title","Egypt Quest"),F(a,"currency",i=e[4]||"RON"),F(a,"gameid","998"),F(a,"endpoint",e[1]),F(a,"lang",e[5]),F(a,"backgroundsrc",e[44]),F(a,"backgroundsrcmobile",e[45]),F(a,"titlelogopath",e[46]),F(a,"caticon0",e[40]),F(a,"caticon1",e[41]),F(a,"caticon2",e[42]),F(a,"caticon3",e[43]),F(a,"iconlabels",e[47]),F(a,"visualstructure",e[48]),F(a,"clientstyling",e[8]),F(a,"clientstylingurl",e[10])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,a,t)},p(e,t){16&t[0]&&i!==(i=e[4]||"RON")&&F(a,"currency",i),2&t[0]&&F(a,"endpoint",e[1]),32&t[0]&&F(a,"lang",e[5]),8192&t[1]&&F(a,"backgroundsrc",e[44]),16384&t[1]&&F(a,"backgroundsrcmobile",e[45]),32768&t[1]&&F(a,"titlelogopath",e[46]),512&t[1]&&F(a,"caticon0",e[40]),1024&t[1]&&F(a,"caticon1",e[41]),2048&t[1]&&F(a,"caticon2",e[42]),4096&t[1]&&F(a,"caticon3",e[43]),65536&t[1]&&F(a,"iconlabels",e[47]),131072&t[1]&&F(a,"visualstructure",e[48]),256&t[0]&&F(a,"clientstyling",e[8]),1024&t[0]&&F(a,"clientstylingurl",e[10])},d(e){e&&me(n),e&&me(r),e&&me(a)}}}function wl(e){let n;return{c(){F(n=he("casino-collections-providers"),"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"type","vendor"),F(n,"titletype","logo"),F(n,"collectionprovidersgamenames",e[52]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),2097152&t[1]&&F(n,"collectionprovidersgamenames",e[52]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function xl(e){let n;return{c(){F(n=he("casino-collections-providers"),"endpoint",e[1]),F(n,"datasource",e[3]),F(n,"lang",e[5]),F(n,"type",e[50]),F(n,"collectionprovidersgamenames",e[52]),F(n,"titletype",e[51]),F(n,"clientstyling",e[8]),F(n,"clientstylingurl",e[10])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&F(n,"endpoint",e[1]),8&t[0]&&F(n,"datasource",e[3]),32&t[0]&&F(n,"lang",e[5]),524288&t[1]&&F(n,"type",e[50]),2097152&t[1]&&F(n,"collectionprovidersgamenames",e[52]),1048576&t[1]&&F(n,"titletype",e[51]),256&t[0]&&F(n,"clientstyling",e[8]),1024&t[0]&&F(n,"clientstylingurl",e[10])},d(e){e&&me(n)}}}function $l(n){let r,a,i,o,s,l,c,d,u,m,h,p,g,f,y=n[26]&&n[138]==+n[26]&&gl(n),v=n[56]&&n[138]==+n[56]&&fl(n),b=n[66]&&n[138]==+n[66]&&yl();function w(e,t){return 256&t[1]|131072&t[2]&&(o=null),256&t[1]|131072&t[2]&&(s=null),(o=null==o?!(!e[39]||e[138]!=(""==e[39].split(",")[0]?e[79].length:+e[39].split(",")[0])):o)?bl:(s=null==s?!(!e[39]||e[138]!=(""==e[39].split(",")[1]?e[79].length:+e[39].split(",")[1])):s)?vl:void 0}let x=w(n,[-1,-1,-1,-1,-1]),$=x&&x(n);function C(e,t){return 262144&t[1]|131072&t[2]&&(c=null),262144&t[1]|131072&t[2]&&(d=null),(c=null==c?!(!e[49]||e[138]!=(""==e[49].split(",")[0]?e[79].length:+e[49].split(",")[0])):c)?xl:(d=null==d?!(!e[49]||e[138]!=(""==e[49].split(",")[1]?e[79].length:+e[49].split(",")[1])):d)?wl:void 0}let S=C(n,[-1,-1,-1,-1,-1]),k=S&&S(n);return{c(){y&&y.c(),r=ge(),v&&v.c(),a=ge(),b&&b.c(),i=ge(),$&&$.c(),l=ge(),k&&k.c(),u=ge(),F(m=he("casino-games-category-section"),"session",n[6]),F(m,"userid",n[7]),F(m,"endpoint",n[1]),F(m,"datasource",n[3]),F(m,"lang",n[5]),F(m,"currency",n[4]),F(m,"categoryid",h=n[136]),F(m,"categoryindex",n[138]),F(m,"categorygames","9"),F(m,"favorites",n[15]),F(m,"showgamename",n[20]),F(m,"class","CategoryContainer"),_(m,"background-color",n[138]%2!=0?n[13]:"transparent"),F(m,"clientstyling",n[8]),F(m,"clientstylingurl",n[10]),F(m,"livecasino",n[21]),F(m,"visiblegames",n[14]),F(m,"gamepagemodalurl",n[24]),F(m,"integratedgameframedesktop",n[31]),F(m,"integratedgameframemobile",n[32]),F(m,"casinomygames",n[0]),F(m,"filterbylogo",n[55]),F(m,"addfilterselector",n[53]),F(m,"addsortingselector",n[54]),F(m,"casinogamesgridslider",n[25])},m(e,t){y&&y.m(e,t),ue(e,r,t),v&&v.m(e,t),ue(e,a,t),b&&b.m(e,t),ue(e,i,t),$&&$.m(e,t),ue(e,l,t),k&&k.m(e,t),ue(e,u,t),ue(e,m,t),g||(e=p=n[85].call(null,m,n[136]),f=e&&M(e.destroy)?e.destroy:O,g=!0)},p(e,t){(n=e)[26]&&n[138]==+n[26]?y?y.p(n,t):((y=gl(n)).c(),y.m(r.parentNode,r)):y&&(y.d(1),y=null),n[56]&&n[138]==+n[56]?v?v.p(n,t):((v=fl(n)).c(),v.m(a.parentNode,a)):v&&(v.d(1),v=null),n[66]&&n[138]==+n[66]?b||((b=yl()).c(),b.m(i.parentNode,i)):b&&(b.d(1),b=null),x===(x=w(n,t))&&$?$.p(n,t):($&&$.d(1),($=x&&x(n))&&($.c(),$.m(l.parentNode,l))),S===(S=C(n,t))&&k?k.p(n,t):(k&&k.d(1),(k=S&&S(n))&&(k.c(),k.m(u.parentNode,u))),64&t[0]&&F(m,"session",n[6]),128&t[0]&&F(m,"userid",n[7]),2&t[0]&&F(m,"endpoint",n[1]),8&t[0]&&F(m,"datasource",n[3]),32&t[0]&&F(m,"lang",n[5]),16&t[0]&&F(m,"currency",n[4]),131072&t[2]&&h!==(h=n[136])&&F(m,"categoryid",h),32768&t[0]&&F(m,"favorites",n[15]),1048576&t[0]&&F(m,"showgamename",n[20]),8192&t[0]&&_(m,"background-color",n[138]%2!=0?n[13]:"transparent"),256&t[0]&&F(m,"clientstyling",n[8]),1024&t[0]&&F(m,"clientstylingurl",n[10]),2097152&t[0]&&F(m,"livecasino",n[21]),16384&t[0]&&F(m,"visiblegames",n[14]),16777216&t[0]&&F(m,"gamepagemodalurl",n[24]),1&t[1]&&F(m,"integratedgameframedesktop",n[31]),2&t[1]&&F(m,"integratedgameframemobile",n[32]),1&t[0]&&F(m,"casinomygames",n[0]),16777216&t[1]&&F(m,"filterbylogo",n[55]),4194304&t[1]&&F(m,"addfilterselector",n[53]),8388608&t[1]&&F(m,"addsortingselector",n[54]),33554432&t[0]&&F(m,"casinogamesgridslider",n[25]),p&&M(p.update)&&131072&t[2]&&p.update.call(null,n[136])},d(e){y&&y.d(e),e&&me(r),v&&v.d(e),e&&me(a),b&&b.d(e),e&&me(i),$&&$.d(e),e&&me(l),k&&k.d(e),e&&me(u),e&&me(m),g=!1,f()}}}function Cl(n){let r,a,i,o=n[81]("breakButton")+"";return{c(){r=he("div"),a=he("button"),i=pe(o),fe(a,"class","PanicButton "+("PC"!==Qr(n[82])?"PanicButtonMobile ":"")),B(a,"PanicButtonAnimation",n[75]),fe(r,"class","PanicSection "+("PC"!==Qr(n[82])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,a),de(a,i),n[91](a)},p(e,t){524288&t[2]&&o!==(o=e[81]("breakButton")+"")&&ye(i,o),8192&t[2]&&B(a,"PanicButtonAnimation",e[75])},d(e){e&&me(r),n[91](null)}}}function Sl(n){let r;function a(e){return e[73]?ol:il}let i=a(n),o=i(n);return{c(){r=he("div"),o.c(),this.c=O},m(e,t){ue(e,r,t),o.m(r,null),n[92](r)},p(e,t){i===(i=a(e))&&o?o.p(e,t):(o.d(1),(o=i(e))&&(o.c(),o.m(r,null)))},i:O,o:O,d(e){e&&me(r),o.d(),n[92](null)}}}customElements.get("casino-search")||customElements.define("casino-search",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input{font-family:inherit}.CasinoSearch{margin:30px 16px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;border:1px solid var(--emfe-w-color-gray-300, #58586B);color:var(--emfe-w-color-gray-100, #E6E6E6);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%}.SearchInput::placeholder{color:var(--emfe-w-color-gray-150, #828282);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emfe-w-color-gray-300, #58586B)}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emfe-w-color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emfe-w-color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;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}@media screen and (max-width: 480px){.SearchResultsContainer{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}}@media screen and (max-width: 385px){.SearchResultsContainer{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}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emfe-w-color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background-color:rgba(255, 255, 255, 0.2)}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ls,Gs,n,{endpoint:0,datasource:27,session:28,userid:29,lang:1,clientstyling:2,clientstylingurl:3,integratedgameframedesktop:4,integratedgameframemobile:5,showgamename:6,gamepagemodalurl:7,translationurl:30,showfavorites:8,cancelbutton:9,notfoundicon:10},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","datasource","session","userid","lang","clientstyling","clientstylingurl","integratedgameframedesktop","integratedgameframemobile","showgamename","gamepagemodalurl","translationurl","showfavorites","cancelbutton","notfoundicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),m()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),m()}get session(){return this.$$.ctx[28]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[29]}set userid(e){this.$$set({userid:e}),m()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[4]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[5]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get showgamename(){return this.$$.ctx[6]}set showgamename(e){this.$$set({showgamename:e}),m()}get gamepagemodalurl(){return this.$$.ctx[7]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),m()}get showfavorites(){return this.$$.ctx[8]}set showfavorites(e){this.$$set({showfavorites:e}),m()}get cancelbutton(){return this.$$.ctx[9]}set cancelbutton(e){this.$$set({cancelbutton:e}),m()}get notfoundicon(){return this.$$.ctx[10]}set notfoundicon(e){this.$$set({notfoundicon:e}),m()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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)}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Rs,Is,n,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["duration","session","userid","clientstyling","identifier","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck","integratedgameframedesktop"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),m()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get identifier(){return this.$$.ctx[12]}set identifier(e){this.$$set({identifier:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get endpoint(){return this.$$.ctx[14]}set endpoint(e){this.$$set({endpoint:e}),m()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(e){this.$$set({sessioncheck:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}}),customElements.get("casino-calendar-daily-details")||customElements.define("casino-calendar-daily-details",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:15px 0;border-radius:0 0 5px 5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6))}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Vs,Ys,n,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get dailyday(){return this.$$.ctx[1]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(e){this.$$set({dailytitle:e}),m()}get lang(){return this.$$.ctx[13]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(e){this.$$set({translationUrl:e}),m()}}),customElements.get("casino-calendar-daily-item")||customElements.define("casino-calendar-daily-item",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 16px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;font-size:12px;padding:8px 6px;border-radius:5px;border:none;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));cursor:pointer}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Ks,Zs,n,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get lang(){return this.$$.ctx[10]}set lang(e){this.$$set({lang:e}),m()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(e){this.$$set({dailybackground:e}),m()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(e){this.$$set({dailyicon:e}),m()}get dailyday(){return this.$$.ctx[2]}set dailyday(e){this.$$set({dailyday:e}),m()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(e){this.$$set({dailydescription:e}),m()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(e){this.$$set({dailybuttontitle:e}),m()}get index(){return this.$$.ctx[4]}set index(e){this.$$set({index:e}),m()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}}),customElements.get("casino-calendar")||customElements.define("casino-calendar",class extends t{constructor(e){super();var t=document.createElement("style");t.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;text-align:left;gap:10px}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},rl,nl,n,{cmsendpoint:8,env:9,userroles:10,lang:0,clientstyling:11,clientstylingurl:12},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[8]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get env(){return this.$$.ctx[9]}set env(e){this.$$set({env:e}),m()}get userroles(){return this.$$.ctx[10]}set userroles(e){this.$$set({userroles:e}),m()}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),m()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}});let kl=!1;function Fl(n,e,l){let D;dt(n,Jr,e=>l(81,D=e));let A,{endpoint:c=""}=e,{env:N=""}=e,{datasource:a=""}=e,{currency:O=""}=e,{lang:i=""}=e,{session:o=""}=e,{userid:s=""}=e,{clientstyling:d=""}=e,{userroles:B=""}=e,{clientstylingurl:u=""}=e,{translationurl:m=""}=e,{cmsendpoint:H=""}=e,{categorybackground:j=""}=e,r=e["visiblegames"],{favorites:h=""}=e,{containermaxwidth:z="1300"}=e,{lobbyid:U="casinodefault"}=e,{haspanicbutton:W="false"}=e,{filteredcategories:p=""}=e,{activecategory:g=""}=e,{showgamename:Y=""}=e,{livecasino:V="false"}=e,{playrandomgame:Z="false"}=e,{filteredrandomgamecategories:K=""}=e,{gamepagemodalurl:q="false"}=e,{casinogamesgridslider:X="false"}=e,{positionwinnerswidget:J=""}=e,{tabsorder:Q=""}=e,{enableautoscroll:ee=""}=e,{istopavailable:te=""}=e,{isrecentavailable:ne=""}=e,{integratedgameframedesktop:re="false"}=e,{integratedgameframemobile:ae="false"}=e,{periodrecent:ie=""}=e,{periodtop:oe=""}=e,{numberusersrecent:se=""}=e,{numberuserstop:le=""}=e,{amountlimit:ce=""}=e,{defaultcurrency:de=""}=e,{showsubgroups:ue=""}=e,{positionjackpotbanners:me=""}=e,{caticon0:he=""}=e,{caticon1:pe=""}=e,{caticon2:ge=""}=e,{caticon3:fe=""}=e,{backgroundsrc:ye=""}=e,{backgroundsrcmobile:ve=""}=e,{titlelogopath:be=""}=e,{iconlabels:we=""}=e,{visualstructure:xe=""}=e,{positioncollections:$e=""}=e,{type:Ce=""}=e,{titletype:Se=""}=e,{collectionprovidersgamenames:ke=""}=e,{addfilterselector:Fe="false"}=e,{addsortingselector:_e="false"}=e,{filterbylogo:Me=""}=e,{positioncasinocalendar:Ee=""}=e,{casinomygames:f="false"}=e,{mostplayed:Ge=""}=e,{lastplayed:Le=""}=e,{lastplayedperiod:Te="Last30Days"}=e,{mostplayedperiod:Pe="Last30Days"}=e,{lastplayedorder:Ie=""}=e,{lastplayedlimit:Re=""}=e,{lastplayedunique:De="true"}=e,{mostplayedrounds:Ae=""}=e,{winnersdatasources:Ne=""}=e,{positionjelobbywidget:Oe=""}=e,{randombuttonicon:Be=""}=e,He=window.navigator.userAgent;A=ct(He)?"OpenGameFrame":"ShowGameModal";let y,v,b,je,w,ze,Ue,We,x,$,C=!1,S=!1,Ye=!1,k="",t=!1,F=0,_=!1,M=!0,Ve=!1,Ze=[],E=[],Ke=!1,G=[],qe=0,L="",Xe=!1;var Je,Qe;({withLocale:Je,translations:Qe}={withLocale:"en",translations:{}}),lt.subscribe(e=>{null==e&&(wr.set(Qe),lt.set(Je))}),Object.keys(ta).forEach(e=>{ea(e,ta[e])});const et=e=>{switch(Ke=!0,l(0,f="false"),setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Ke},window.location.href)}),e.data.itemId){case"LOBBY":l(77,M=!0),l(76,_=!1),l(69,w="");break;case"MYGAMES":l(0,f="true"),l(77,M=!1),l(76,_=!0),l(69,w="");break;case"FAVORITES":l(77,M=!1),l(76,_=!0),l(69,w="");break;case"MOSTPLAYED":"true"==Ge&&(l(69,w=""),l(77,M=!1),l(76,_=!0));break;case"LASTPLAYED":"true"==Le&&(l(69,w=""),l(77,M=!1),l(76,_=!0));break;default:l(77,M=!1),l(76,_=!1),l(69,w=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},2e3)}},tt=n=>{if(n.data)switch(n.data.type){case"CategoryChange":et(n);break;case"UserSessionID":v=n.data.session,(y=n.data.userID)&&y.length&&v&&0<v.length&&T(c,v,y);break;case"SetUnfavoredGame":t=`${c}/v1/player/${y}/favorites`,o=v,y,s=n.data.id,G.includes(s)&&(G=G.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),nt(t,o)});break;case"SetFavoredGame":{var r=`${c}/v1/player/${y}/favorites`;var a=v;y;var i=n.data.id;G.includes(i)||G.push(i);let e={items:G},t={method:"POST",headers:{"X-SessionID":a,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),nt(r,a)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":y&&y.length&&v&&0<v.length&&T(c,v,y);break;case"UpdateFilters":e=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:e},window.location.href),P();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),P();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:L,origin:n.data.origin},window.location.href),P();break;case"CategoryVendors":L=n.data.categoryid,P();break;case"searchCancelled":l(78,Ve=!1),w&&et({data:{itemId:w}});break;case"searchActive":l(78,Ve=!0);break;case"ModalClosed":break;case"SubgroupsIds":E.some(e=>n.data.subGroupsIds.includes(e))||E.push(...n.data.subGroupsIds)}var e,t,o,s};let T=(e,t,n)=>{"true"==h&&o&&n&&fetch(e+`/v1/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((x=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:x},window.location.href),it(x.items)),x)).then(e=>e).catch(e=>{console.error(e)})},nt=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((x=e)&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:x,lobbyScreen:M},window.location.href),x)).catch(e=>{console.error(e)})};const rt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},at=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},it=(e=[])=>(G=[],0<e.length&&e.forEach(e=>{G.push(e.id)}),G);const P=()=>{var e=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e&&L&&(e[L]?l(80,qe=e[L].length):l(80,qe=0))},ot=()=>{ze&&(Ue=ze.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop},I=e=>{F=0,je=setInterval(()=>{F+=1,l(75,t=!0),3<=F&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(je))},1e3)},R=e=>{F<3&&l(75,t=!1),clearInterval(je)};return ut(()=>(window.addEventListener("scroll",ot,!1),window.addEventListener("message",tt,!1),()=>{window.removeEventListener("scroll",ot),window.removeEventListener("message",tt),l(75,t=!1),null!=b&&b.removeEventListener("mousedown",I),null!=b&&b.removeEventListener("touchstart",I),null!=b&&b.removeEventListener("mouseup",R),null!=b&&b.removeEventListener("touchend",R)})),n.$$set=e=>{"endpoint"in e&&l(1,c=e.endpoint),"env"in e&&l(2,N=e.env),"datasource"in e&&l(3,a=e.datasource),"currency"in e&&l(4,O=e.currency),"lang"in e&&l(5,i=e.lang),"session"in e&&l(6,o=e.session),"userid"in e&&l(7,s=e.userid),"clientstyling"in e&&l(8,d=e.clientstyling),"userroles"in e&&l(9,B=e.userroles),"clientstylingurl"in e&&l(10,u=e.clientstylingurl),"translationurl"in e&&l(11,m=e.translationurl),"cmsendpoint"in e&&l(12,H=e.cmsendpoint),"categorybackground"in e&&l(13,j=e.categorybackground),"visiblegames"in e&&l(14,r=e.visiblegames),"favorites"in e&&l(15,h=e.favorites),"containermaxwidth"in e&&l(16,z=e.containermaxwidth),"lobbyid"in e&&l(86,U=e.lobbyid),"haspanicbutton"in e&&l(17,W=e.haspanicbutton),"filteredcategories"in e&&l(18,p=e.filteredcategories),"activecategory"in e&&l(19,g=e.activecategory),"showgamename"in e&&l(20,Y=e.showgamename),"livecasino"in e&&l(21,V=e.livecasino),"playrandomgame"in e&&l(22,Z=e.playrandomgame),"filteredrandomgamecategories"in e&&l(23,K=e.filteredrandomgamecategories),"gamepagemodalurl"in e&&l(24,q=e.gamepagemodalurl),"casinogamesgridslider"in e&&l(25,X=e.casinogamesgridslider),"positionwinnerswidget"in e&&l(26,J=e.positionwinnerswidget),"tabsorder"in e&&l(27,Q=e.tabsorder),"enableautoscroll"in e&&l(28,ee=e.enableautoscroll),"istopavailable"in e&&l(29,te=e.istopavailable),"isrecentavailable"in e&&l(30,ne=e.isrecentavailable),"integratedgameframedesktop"in e&&l(31,re=e.integratedgameframedesktop),"integratedgameframemobile"in e&&l(32,ae=e.integratedgameframemobile),"periodrecent"in e&&l(33,ie=e.periodrecent),"periodtop"in e&&l(34,oe=e.periodtop),"numberusersrecent"in e&&l(35,se=e.numberusersrecent),"numberuserstop"in e&&l(36,le=e.numberuserstop),"amountlimit"in e&&l(37,ce=e.amountlimit),"defaultcurrency"in e&&l(38,de=e.defaultcurrency),"showsubgroups"in e&&l(87,ue=e.showsubgroups),"positionjackpotbanners"in e&&l(39,me=e.positionjackpotbanners),"caticon0"in e&&l(40,he=e.caticon0),"caticon1"in e&&l(41,pe=e.caticon1),"caticon2"in e&&l(42,ge=e.caticon2),"caticon3"in e&&l(43,fe=e.caticon3),"backgroundsrc"in e&&l(44,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&l(45,ve=e.backgroundsrcmobile),"titlelogopath"in e&&l(46,be=e.titlelogopath),"iconlabels"in e&&l(47,we=e.iconlabels),"visualstructure"in e&&l(48,xe=e.visualstructure),"positioncollections"in e&&l(49,$e=e.positioncollections),"type"in e&&l(50,Ce=e.type),"titletype"in e&&l(51,Se=e.titletype),"collectionprovidersgamenames"in e&&l(52,ke=e.collectionprovidersgamenames),"addfilterselector"in e&&l(53,Fe=e.addfilterselector),"addsortingselector"in e&&l(54,_e=e.addsortingselector),"filterbylogo"in e&&l(55,Me=e.filterbylogo),"positioncasinocalendar"in e&&l(56,Ee=e.positioncasinocalendar),"casinomygames"in e&&l(0,f=e.casinomygames),"mostplayed"in e&&l(57,Ge=e.mostplayed),"lastplayed"in e&&l(58,Le=e.lastplayed),"lastplayedperiod"in e&&l(59,Te=e.lastplayedperiod),"mostplayedperiod"in e&&l(60,Pe=e.mostplayedperiod),"lastplayedorder"in e&&l(61,Ie=e.lastplayedorder),"lastplayedlimit"in e&&l(62,Re=e.lastplayedlimit),"lastplayedunique"in e&&l(63,De=e.lastplayedunique),"mostplayedrounds"in e&&l(64,Ae=e.mostplayedrounds),"winnersdatasources"in e&&l(65,Ne=e.winnersdatasources),"positionjelobbywidget"in e&&l(66,Oe=e.positionjelobbywidget),"randombuttonicon"in e&&l(67,Be=e.randombuttonicon)},n.$$.update=()=>{if(524320&n.$$.dirty[0]&&i&&g&&(l(69,w=g),et({data:{itemId:w}})),194&n.$$.dirty[0]&&o&&s&&c&&(l(74,Ye=!0),v=o,y=s)&&y.length&&v&&0<v.length&&"true"!=f&&T(c,v,y),67108992&n.$$.dirty[2]&&w&&E&&E&&!E.includes(decodeURI(w))&&""!=w&&window.postMessage({type:"NonExistentCategory"},window.location.href),42&n.$$.dirty[0]&&c&&a&&i&&(c||(k="Endpoint is missing! Please provide a valid endpointURL.",l(73,S=!0),l(72,C=!1),console.error(k)),a||(k="Datasource is missing! Please provide a valid datasource.",l(73,S=!0),l(72,C=!1),console.error(k)),(!i||i.length<2)&&(k="Language is missing! Please provide a valid language (alpha2code)",l(73,S=!0),l(72,C=!1),console.error(k)),S||(l(72,C=!0),"true"==h&&T(c,v,y),t=i,lt.set(t),(t=new URL(c+"/v1/casino/groups/"+a)).searchParams.append("language",i),t.searchParams.append("platform",Qr(He)),r=t,new Promise((t,n)=>{l(72,C=!0),fetch(r).then(e=>e.json()).then(e=>{l(72,C=!1),t(e)}).catch(e=>{l(73,S=!0),l(72,C=!1),console.error(e),n(e)})}).then(e=>{let r=p.split(",");e&&(We=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,p))for(var n of r)e.flags==n&&(t=!1);return t}),l(79,Ze=We.filter(e=>{return!(0<(null==(e=null==e?void 0:e.subGroups)?void 0:e.count)&&"true"==ue)}).map(e=>e.id)),l(88,E=e.items.map(e=>e.id.toString())),l(72,C=!1))}),P(),ze=void 0)),32&n.$$.dirty[0]&&i&&(Xe&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:w},window.location.href)},500),Xe=!1),2048&n.$$.dirty[0]&&m&&(t=new URL(m),fetch(t.href).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ea(e,t[e])})}).catch(e=>{console.log(e)})),256&n.$$.dirty[0]|256&n.$$.dirty[2]&&d&&$&&((e=document.createElement("style")).innerHTML=d,$.appendChild(e)),1024&n.$$.dirty[0]|256&n.$$.dirty[2]&&u&&$){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{$.appendChild(t)},1)})}var e,r,t;64&n.$$.dirty[2]&&b&&(null!=b&&b.addEventListener("mousedown",I,!1),null!=b&&b.addEventListener("touchstart",I,!1),null!=b&&b.addEventListener("mouseup",R,!1),null!=b)&&b.addEventListener("touchend",R,!1)},[f,c,N,a,O,i,o,s,d,B,u,m,H,j,r,h,z,W,p,g,Y,V,Z,K,q,X,J,Q,ee,te,ne,re,ae,ie,oe,se,le,ce,de,me,he,pe,ge,fe,ye,ve,be,we,xe,$e,Ce,Se,ke,Fe,_e,Me,Ee,Ge,Le,Te,Pe,Ie,Re,De,Ae,Ne,Oe,Be,b,w,$,A,C,S,Ye,t,_,M,Ve,Ze,qe,D,He,rt,at,(e,t)=>{L=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:r,receivedFavoriteResults:x},window.location.href)},U,ue,E,()=>at(),()=>{rt()},function(e){st[e?"unshift":"push"](()=>{b=e,l(68,b)})},function(e){st[e?"unshift":"push"](()=>{$=e,l(70,$)})}]}class _l extends t{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto;position:relative}.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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;height:48px;line-height:18px;color:var(--emfe-w-button-typography, 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-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:280px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));-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}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}.FiltersButtonsContainer{display:flex;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}.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)}@media screen and (max-width: 1300px){}.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}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}@media(max-width: 768px){}",this.shadowRoot.appendChild(t),a(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Fl,Sl,n,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,clientstyling:8,userroles:9,clientstylingurl:10,translationurl:11,cmsendpoint:12,categorybackground:13,visiblegames:14,favorites:15,containermaxwidth:16,lobbyid:86,haspanicbutton:17,filteredcategories:18,activecategory:19,showgamename:20,livecasino:21,playrandomgame:22,filteredrandomgamecategories:23,gamepagemodalurl:24,casinogamesgridslider:25,positionwinnerswidget:26,tabsorder:27,enableautoscroll:28,istopavailable:29,isrecentavailable:30,integratedgameframedesktop:31,integratedgameframemobile:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,showsubgroups:87,positionjackpotbanners:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:48,positioncollections:49,type:50,titletype:51,collectionprovidersgamenames:52,addfilterselector:53,addsortingselector:54,filterbylogo:55,positioncasinocalendar:56,casinomygames:0,mostplayed:57,lastplayed:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayedrounds:64,winnersdatasources:65,positionjelobbywidget:66,randombuttonicon:67},null,[-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props)&&(this.$set(e.props),m())}static get observedAttributes(){return["endpoint","env","datasource","currency","lang","session","userid","clientstyling","userroles","clientstylingurl","translationurl","cmsendpoint","categorybackground","visiblegames","favorites","containermaxwidth","lobbyid","haspanicbutton","filteredcategories","activecategory","showgamename","livecasino","playrandomgame","filteredrandomgamecategories","gamepagemodalurl","casinogamesgridslider","positionwinnerswidget","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","showsubgroups","positionjackpotbanners","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","positioncollections","type","titletype","collectionprovidersgamenames","addfilterselector","addsortingselector","filterbylogo","positioncasinocalendar","casinomygames","mostplayed","lastplayed","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds","winnersdatasources","positionjelobbywidget","randombuttonicon"]}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),m()}get env(){return this.$$.ctx[2]}set env(e){this.$$set({env:e}),m()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),m()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),m()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),m()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),m()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),m()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),m()}get userroles(){return this.$$.ctx[9]}set userroles(e){this.$$set({userroles:e}),m()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),m()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),m()}get cmsendpoint(){return this.$$.ctx[12]}set cmsendpoint(e){this.$$set({cmsendpoint:e}),m()}get categorybackground(){return this.$$.ctx[13]}set categorybackground(e){this.$$set({categorybackground:e}),m()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),m()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),m()}get containermaxwidth(){return this.$$.ctx[16]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),m()}get lobbyid(){return this.$$.ctx[86]}set lobbyid(e){this.$$set({lobbyid:e}),m()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),m()}get filteredcategories(){return this.$$.ctx[18]}set filteredcategories(e){this.$$set({filteredcategories:e}),m()}get activecategory(){return this.$$.ctx[19]}set activecategory(e){this.$$set({activecategory:e}),m()}get showgamename(){return this.$$.ctx[20]}set showgamename(e){this.$$set({showgamename:e}),m()}get livecasino(){return this.$$.ctx[21]}set livecasino(e){this.$$set({livecasino:e}),m()}get playrandomgame(){return this.$$.ctx[22]}set playrandomgame(e){this.$$set({playrandomgame:e}),m()}get filteredrandomgamecategories(){return this.$$.ctx[23]}set filteredrandomgamecategories(e){this.$$set({filteredrandomgamecategories:e}),m()}get gamepagemodalurl(){return this.$$.ctx[24]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),m()}get casinogamesgridslider(){return this.$$.ctx[25]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),m()}get positionwinnerswidget(){return this.$$.ctx[26]}set positionwinnerswidget(e){this.$$set({positionwinnerswidget:e}),m()}get tabsorder(){return this.$$.ctx[27]}set tabsorder(e){this.$$set({tabsorder:e}),m()}get enableautoscroll(){return this.$$.ctx[28]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),m()}get istopavailable(){return this.$$.ctx[29]}set istopavailable(e){this.$$set({istopavailable:e}),m()}get isrecentavailable(){return this.$$.ctx[30]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),m()}get integratedgameframedesktop(){return this.$$.ctx[31]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),m()}get integratedgameframemobile(){return this.$$.ctx[32]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),m()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),m()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),m()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),m()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),m()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),m()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),m()}get showsubgroups(){return this.$$.ctx[87]}set showsubgroups(e){this.$$set({showsubgroups:e}),m()}get positionjackpotbanners(){return this.$$.ctx[39]}set positionjackpotbanners(e){this.$$set({positionjackpotbanners:e}),m()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),m()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),m()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),m()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),m()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),m()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),m()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),m()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),m()}get visualstructure(){return this.$$.ctx[48]}set visualstructure(e){this.$$set({visualstructure:e}),m()}get positioncollections(){return this.$$.ctx[49]}set positioncollections(e){this.$$set({positioncollections:e}),m()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),m()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),m()}get collectionprovidersgamenames(){return this.$$.ctx[52]}set collectionprovidersgamenames(e){this.$$set({collectionprovidersgamenames:e}),m()}get addfilterselector(){return this.$$.ctx[53]}set addfilterselector(e){this.$$set({addfilterselector:e}),m()}get addsortingselector(){return this.$$.ctx[54]}set addsortingselector(e){this.$$set({addsortingselector:e}),m()}get filterbylogo(){return this.$$.ctx[55]}set filterbylogo(e){this.$$set({filterbylogo:e}),m()}get positioncasinocalendar(){return this.$$.ctx[56]}set positioncasinocalendar(e){this.$$set({positioncasinocalendar:e}),m()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(e){this.$$set({casinomygames:e}),m()}get mostplayed(){return this.$$.ctx[57]}set mostplayed(e){this.$$set({mostplayed:e}),m()}get lastplayed(){return this.$$.ctx[58]}set lastplayed(e){this.$$set({lastplayed:e}),m()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),m()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),m()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),m()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),m()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),m()}get mostplayedrounds(){return this.$$.ctx[64]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),m()}get winnersdatasources(){return this.$$.ctx[65]}set winnersdatasources(e){this.$$set({winnersdatasources:e}),m()}get positionjelobbywidget(){return this.$$.ctx[66]}set positionjelobbywidget(e){this.$$set({positionjelobbywidget:e}),m()}get randombuttonicon(){return this.$$.ctx[67]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),m()}}return customElements.get("casino-page")||customElements.define("casino-page",_l),_l});
33
33
  //# sourceMappingURL=casino-page.js.map