(window.webpackJsonp=window.webpackJsonp||[]).push([[45,6,24,36,38,309,367,368,369,373],{1420:function(e,t,r){"use strict";r.r(t);r(12),r(18),r(38),r(21);var o={name:"Button",props:{label:String,sublabel:String,isSecondary:Boolean,disabled:Boolean,isLoading:Boolean,isLoaded:Boolean,icon:String,href:String,isFullWidth:{type:Boolean,default:!0},size:{type:String,default:"l",validator:e=>["l","m","s","xs"].includes(e)},color:{type:String,validator:e=>["light-purple","dark-purple","transparent"].includes(e)}},computed:{Spinner:()=>()=>r.e(7).then(r.bind(null,1430))},methods:{handleClick(e){this.$emit("click",e)}}},n=(r(1422),r(226)),component=Object(n.a)(o,(function(){var e=this,t=e._self._c;return t(e.href?"a":"button",{tag:"component",staticClass:"c-button",class:[{"is-secondary":e.isSecondary,"has-sublabel":e.sublabel,"is-loading":e.isLoading,"is-loaded":e.isLoaded,"is-full-width":e.isFullWidth&&!e.icon,"has-icon":e.icon},e.color?"color-"+e.color:"",e.sublabel?"":"size-"+e.size],attrs:{disabled:e.disabled||e.isLoading,href:e.href},on:{click:function(t){return t.preventDefault(),e.handleClick.apply(null,arguments)}}},[e.isLoading||e.isLoaded?[t(e.Spinner,{tag:"component",attrs:{"is-small":"","is-center":""}}),e._v(" "),t("svg-icon",{staticClass:"c-button__checkmark",attrs:{name:"icon-checkmark"}})]:e._e(),e._v(" "),e.icon?t("svg-icon",{staticClass:"c-button__icon",attrs:{name:e.icon}}):t("span",[e._v(e._s(e.label))]),e._v(" "),!e.icon&&e.sublabel?t("em",[e._v(e._s(e.sublabel))]):e._e()],2)}),[],!1,null,null,null);t.default=component.exports},1421:function(e,t,r){var content=r(1423);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(367).default)("206fded5",content,!0,{sourceMap:!1})},1422:function(e,t,r){"use strict";r(1421)},1423:function(e,t,r){var o=r(366)((function(i){return i[1]}));o.push([e.i,".c-button{--color:#fff;--bg-color:#00bd71;--color-hover:var(--color);--bg-color-hover:#0dd182;--color-click:var(--color-hover);--bg-color-click:#1e9464;--color-disabled:#9ea4ae;--bg-color-disabled:rgba(223,228,232,.302);--border-color:var(--bg-color);--border-width:0px;--padding-block:13px;--padding-inline:16px;align-items:center;background-color:#00bd71;background-color:var(--bg-color);border:0 solid #00bd71;border:var(--border-width) solid var(--border-color);border-radius:6px;box-shadow:none;color:#fff;color:var(--color);cursor:pointer;display:flex;flex-direction:column;font-size:16px;font-weight:700;justify-content:center;line-height:18px;overflow:hidden;padding:13px 16px;padding:calc(var(--padding-block) - var(--border-width)) calc(var(--padding-inline) - var(--border-width));position:relative;-webkit-text-decoration:none;text-decoration:none;text-transform:uppercase;width:auto}@media(hover:hover){.c-button:not(:disabled):hover{background-color:var(--bg-color-hover);color:var(--color-hover)}.c-button:not(:disabled):active{background-color:var(--bg-color-click);color:var(--color-click)}}.c-button:disabled{cursor:default}.c-button:disabled:not(.is-loaded){background-color:var(--bg-color-disabled);color:var(--color-disabled)}.c-button:disabled:not(.is-loaded) .c-button__icon{fill:var(--color-disabled)}.c-button em{font-size:11px;font-style:normal;font-weight:500;line-height:1.6;text-transform:none}.c-button .c-button__checkmark,.c-button .c-spinner,.c-button span{transition:opacity .3s}.c-button .c-spinner{border-color:var(--color-disabled)}.c-button .c-button__icon{fill:var(--color)}.c-button .c-button__checkmark,.c-button .c-spinner,.c-button.is-loaded .c-button__icon,.c-button.is-loaded span,.c-button.is-loading .c-button__icon,.c-button.is-loading span{opacity:0}.c-button.is-loaded .c-button__checkmark,.c-button.is-loading:not(.is-loaded) .c-spinner{opacity:1}.c-button .c-button__icon{height:16px;width:16px}.c-button .c-button__checkmark{fill:var(--color);height:8px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:11px}.c-button.has-sublabel{--padding-block:7px;--padding-inline:16px}.c-button.is-full-width{width:100%}.c-button.has-icon{--padding-block:14px}.c-button.size-m{--padding-block:10px;--padding-inline:14px;font-size:14px;line-height:16px}.c-button.size-s{--padding-block:8px;--padding-inline:10px;font-size:14px;line-height:16px}.c-button.size-xs{--padding-block:3px;--padding-inline:5px;border-radius:4px;font-size:12px;font-weight:600;line-height:16px;text-transform:none}.c-button.has-icon{--padding-inline:var(--padding-block)}.c-button.is-secondary{--color:#585d6d;--bg-color:#f2f6f9;--color-hover:#161421;--bg-color-hover:#dfe4e8;--color-click:var(--color-hover);--bg-color-click:#d3d7db;--bg-color-disabled:#dfe4e8;--border-color:#dfe4e8;--border-width:1px}.c-button.is-secondary:active,.c-button.is-secondary:disabled,.c-button.is-secondary:hover{--border-width:0px}.c-button.color-light-purple{--bg-color:#3c3955;--bg-color-hover:#57546e;--bg-color-click:#838199;--color-disabled:#838199;--bg-color-disabled:var(--bg-color)}.c-button.color-dark-purple{--bg-color:#2b2740;--bg-color-hover:#3c3955;--bg-color-click:#838199;--color-disabled:#57546e;--bg-color-disabled:var(--bg-color)}.c-button.color-transparent{--white:255,255,255;--bg-color:rgba(var(--white),0.15);--bg-color-hover:rgba(var(--white),0.25);--bg-color-click:rgba(var(--white),0.35);--color-disabled:rgba(var(--white),0.5);--bg-color-disabled:rgba(var(--white),0.1);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}",""]),o.locals={},e.exports=o},1461:function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var o=r(8),n=(r(18),r(21),r(52),r(12),r(15),r(3)),l=r(10);function c(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function d(e){for(var i=1;i{var[r,o]=t;return e[[l.b.IS_SIDEBAR,l.b.SIDEBAR_PAGE].includes(r)?0:1][r]=o,e}),[{},{}])}(v);if(Object(n.c)(_,f))return;h.push({query:d(d({},_),x)})}}setSidebarVisibility(e){var{isVisible:t,isDesktop:r,query:o,router:n,store:l,page:c=null}=e;t!==l.getters["modules/layout/isSidebarVisible"]&&(l.dispatch("modules/layout/SET_IS_SIDEBAR_VISIBLE",t),document.documentElement.classList[t?"add":"remove"]("is-sidebar-opened")),this.setSidebarPageAndQuery({isVisible:t,page:c,isDesktop:r,query:o,router:n,store:l})}}},1465:function(e,t,r){"use strict";var o=r(1461),n=r(91),l=r(120);t.a={data:()=>({redirectConfig:{},scrollToConf:{},clearScrollHeightInCookie:!1}),computed:{selectedGamesSection(){return this.$store.getters.getSelectedGamesSection()}},methods:{onDone(){this.$router.push(this.getLocalizedRoute(this.redirectConfig))},scrollAndRedirect(element,e){return this.redirectConfig=e,{el:element,onDone:this.onDone}},scrollToTopAndRedirect(e){l.a.remove(n.c),this.$router.push(this.getLocalizedRoute(e)),this.$nextTick((()=>{this.$scrollTo("#header",{offset:-60,duration:0})}))},goToHomeAndScrollToHeader(){"index"===this.trimRouteLanguage(this.$route.name)?(this.closeAnyOpenedModal(),this.selectedGamesSection||this.$scrollTo("#header-wrapper",{duration:0})):this.scrollToTopAndRedirect({name:"index"})},goToHomeAndScrollToGames(){var e=-1*document.getElementById("header-wrapper").offsetHeight;if("index"!==this.trimRouteLanguage(this.$route.name))return this.goTo({name:"index"}),void setTimeout((()=>{this.$scrollTo("#index-games",{offset:e,duration:0})}),400);this.closeSidebar(),this.closeAnyOpenedModal(),this.$scrollTo("#index-games",{offset:e,duration:0})},closeSidebar(){o.a.setSidebarVisibility({isVisible:!1,isDesktop:this.$device.isDesktop,query:this.$route.query,router:this.$router,store:this.$store})}}}},1467:function(e,t,r){"use strict";r(18),r(21);var o=r(3);t.a={computed:{tournaments(){return this.$store.getters["modules/tournaments/all"]()},availableTournaments(){return[...Object(o.k)([...this.$store.getters["modules/tournaments/availableTournaments"]()],"end_at")].filter((e=>e&&Object.keys(e).length))},isLoadingTournaments(){return this.$store.getters["modules/tournaments/loadingTournaments"]}},methods:{loadTournaments(){var e;if(!this.isLoadingTournaments)return null!==(e=this.tournaments)&&void 0!==e&&e.length?void 0:this.$store.dispatch("modules/tournaments/LOAD_TOURNAMENTS",{sentry:this.$sentry})}}}},1472:function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));r(74),r(12),r(15);var o=r(2),n=r(3),l=r(1473),c=r(98);var d=new class{constructor(){this.getLevelReward=(e,t,r,c)=>{if(!(e=parseInt(e))||e>41||e<2)return"";var d=l.b[e];return Object(n.b)(d)?"":41===e?(o.cb.call(t,41)&&t[41].length,"$".concat(d.default.first)):"freespins"===d.type?"".concat(d.amount," ").concat(r.t("free_spins"),""):"$".concat(d.amount)}}getRewardBasedOnCurrency(e){var{rewards:t,getters:r,i18n:o,altSumm:l=""}=e;if(Object(n.b)(t))return"";var d=function(e){var t=e["modules/player/visitorCurrency"](),r=e["modules/auth-user/user"]();return(null==r?void 0:r.currency)||t}(r),h=t[d.toLowerCase()]||0;return l&&!l.toLowerCase().includes(d.toLowerCase())&&(l=o.t("frontend.or")+l),Object(c.a)({amountInCoins:h,currency:d})+l}}},1473:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return n}));var o={2:{amount:10,type:"freespins"},3:{amount:25,type:"freespins"},4:{amount:50,type:"freespins"},5:{amount:75,type:"freespins"},6:{amount:100,type:"freespins"},7:{amount:125,type:"freespins"},8:{amount:30,type:"cash"},9:{amount:40,type:"cash"},10:{amount:60,type:"cash"},11:{amount:75,type:"cash"},12:{amount:100,type:"cash"},13:{amount:125,type:"cash"},14:{amount:150,type:"cash"},15:{amount:200,type:"cash"},16:{amount:250,type:"cash"},17:{amount:300,type:"cash"},18:{amount:350,type:"cash"},19:{amount:400,type:"cash"},20:{amount:500,type:"cash"},21:{amount:550,type:"cash"},22:{amount:650,type:"cash"},23:{amount:750,type:"cash"},24:{amount:900,type:"cash"},25:{amount:1e3,type:"cash"},26:{amount:1e3,type:"cash"},27:{amount:1125,type:"cash"},28:{amount:1400,type:"cash"},29:{amount:1600,type:"cash"},30:{amount:1750,type:"cash"},31:{amount:2e3,type:"cash"},32:{amount:2100,type:"cash"},33:{amount:2300,type:"cash"},34:{amount:2500,type:"cash"},35:{amount:2800,type:"cash"},36:{amount:3e3,type:"cash"},37:{amount:3500,type:"cash"},38:{amount:3750,type:"cash"},39:{amount:4e3,type:"cash"},40:{amount:1e4,type:"cash"},41:{default:{first:"20,000",other:"10,000"}}},n=80},1625:function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"en":{"deposit":"Deposit","sign_up":"Sign Up"},"ja":{"deposit":"入金","sign_up":"新規登録"},"pt-BR":{"deposit":"Depósito","sign_up":"Registro"},"ru":{"deposit":"Депозит","sign_up":"Регистрация"},"zh-CN":{"deposit":"存款","sign_up":"注册"}}'),delete e.options._Ctor}},1626:function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"en":{"level":"Level","free_spins":"Free Spins"},"ja":{"level":"レベル","free_spins":"フリースピン"},"pt-BR":{"level":"Nível","free_spins":"Giros Grátis"},"ru":{"level":"Уровень","free_spins":"Фриспинов"},"zh-CN":{"level":"等级","free_spins":"免费旋转"}}'),delete e.options._Ctor}},1755:function(e,t,r){var content=r(2066);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(367).default)("c0f44d32",content,!0,{sourceMap:!1})},2064:function(e,t,r){"use strict";var o=r(1625),n=r.n(o);t.default=n.a},2065:function(e,t,r){"use strict";r(1755)},2066:function(e,t,r){var o=r(366)((function(i){return i[1]}));o.push([e.i,'.level-up-progress-bar__wrapper{position:relative;width:100%}.level-up-progress-bar{align-items:center;background:#2b2740;border-radius:6px;color:#fff;display:grid;grid-template-columns:36px 1fr;height:36px;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none}.level-up-progress-bar>*{grid-row:1}.level-up-progress-bar.is-light{background:#3c3955}.level-up-progress-bar.is-clickable{cursor:pointer}.level-up-progress-bar.is-medium{font-size:12px;grid-template-columns:28px 1fr;height:28px}.level-up-progress-bar.is-small{-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);background-color:hsla(0,0%,100%,.15);font-size:11px;grid-template-columns:auto auto;height:auto;margin:5px auto 0;width:80%}.level-up-progress-bar__level,.level-up-progress-bar__star{grid-column:1}.level-up-progress-bar__star{align-items:center;background:#598bff;display:flex;height:100%;justify-content:center;padding:3px;position:relative;transition:background-color .4s}.is-level-up-soon .level-up-progress-bar__star{background-color:#f1069c}.is-medium .level-up-progress-bar__star{padding:1px}.level-up-progress-bar__star-level{color:#161421;left:50%;margin-top:1px;position:absolute;top:50%;transform:translate(-50%,-50%)}.level-up-progress-bar__level{padding-left:5px;z-index:1}.level-up-progress-bar__progress{--progress:0;background:linear-gradient(to bottom right,#3861fb,#598bff);grid-column:2;height:100%;position:relative;transform:scaleX(0);transform:scaleX(var(--progress));transform-origin:left center;transition:transform 1s ease;width:100%}.is-small>.level-up-progress-bar__progress{grid-column:1/-1}.level-up-progress-bar__progress:after{background:linear-gradient(to bottom right,#9e23ff,#ff008a);content:"";height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .4s;width:100%}.is-level-up-soon .level-up-progress-bar__progress:after{opacity:1}.level-up-progress-bar__text{grid-column:2;padding-right:10px;text-align:right;z-index:1}.is-small .level-up-progress-bar__text{padding-right:5px}',""]),o.locals={},e.exports=o},2067:function(e,t,r){"use strict";var o=r(1626),n=r.n(o);t.default=n.a},2237:function(e,t,r){"use strict";r.r(t);r(18),r(38),r(21),r(12),r(15);var o=r(1472),n=r(228),l=r(1467),c=r(81),d=r(1473),h=r(66),m={mixins:[l.a],props:{includesPopup:Boolean,isLight:Boolean,isMedium:Boolean,isSmall:Boolean},data:()=>({isPopupMounted:!1,isPopupVisible:!1}),computed:{LevelUpAdventurePopup:()=>()=>r.e(239).then(r.bind(null,5052)),authUser(){return this.$store.getters["modules/auth-user/user"]()},currency(){return this.$store.getters["modules/deposit/getDepositCurrency"]()},levelUpStatus(){return this.$store.getters["modules/level-up-adventure/status"]()},levelUpAdventure(){return this.$store.getters["modules/tournaments/findByFrontendIdentifier"](c.e)},currentLevel(){var e;return this.authUser&&(null===(e=this.levelUpStatus)||void 0===e||null===(e=e.current)||void 0===e?void 0:e.status_id)||c.c},nextLevel(){var e;return this.authUser&&(null===(e=this.levelUpStatus)||void 0===e||null===(e=e.next)||void 0===e?void 0:e.status_id)||c.d},progress(){var e;return this.authUser&&(null===(e=this.levelUpStatus)||void 0===e||null===(e=e.progress)||void 0===e?void 0:e.percent)||0},nextLevelReward(){var e=this.levelUpAdventure&&n.b.getWinnersGroupedByLevel(this.levelUpAdventure);return o.a.getLevelReward(this.nextLevel,e,this.$i18n,this.currency)},shouldShowPopup(){return this.includesPopup&&!this.isSmall},isMobileGameInFullscreen(){return this.$store.getters["modules/games/getIsMobileGameInFullscreen"]()},willlevelUpSoon(){return this.progress>d.a},isLevelUpAvailable(){return this.authUser&&this.levelUpAdventure&&!h.g.includes(this.$store.getters.getUserCountryCode())}},mounted(){this.loadTournaments()},methods:{hidePopup(){this.isPopupVisible=!1},togglePopup(){this.shouldShowPopup&&!this.isPopupMounted&&(this.isPopupMounted=!0),this.isPopupVisible=!this.isPopupVisible}}},_=(r(2065),r(226)),v=r(2067),component=Object(_.a)(m,(function(){var e=this,t=e._self._c;return e.isSmall||e.isLevelUpAvailable?t("div",{staticClass:"level-up-progress-bar__wrapper",on:{mouseleave:e.hidePopup}},[t("div",{staticClass:"level-up-progress-bar",class:{"is-level-up-soon":e.willlevelUpSoon,"is-clickable":e.shouldShowPopup,"is-light":e.isLight,"is-medium":e.isMedium,"is-small":e.isSmall},on:{click:e.togglePopup}},[e.isSmall?t("strong",{staticClass:"level-up-progress-bar__level"},[e._v("\n "+e._s(e.$t("level"))+" "+e._s(e.currentLevel)+"\n ")]):t("div",{staticClass:"level-up-progress-bar__star"},[t("img",{attrs:{src:r(521),alt:"level up star"}}),e._v(" "),t("strong",{staticClass:"level-up-progress-bar__star-level"},[e._v(e._s(e.currentLevel))])]),e._v(" "),t("div",{staticClass:"level-up-progress-bar__progress",style:{"--progress":e.progress/100}}),e._v(" "),t("strong",{staticClass:"level-up-progress-bar__text"},[t("span",{domProps:{innerHTML:e._s(e.nextLevelReward)}}),e._v(" "+e._s(e.progress)+"%\n ")])]),e._v(" "),e.shouldShowPopup&&!e.isMobileGameInFullscreen&&e.isPopupMounted?t(e.LevelUpAdventurePopup,{directives:[{name:"show",rawName:"v-show",value:e.isPopupVisible,expression:"isPopupVisible"}],tag:"component",attrs:{"next-level-reward":e.nextLevelReward,ending:e.levelUpAdventure.end_at},on:{hidePopup:e.hidePopup}}):e._e()],1):e._e()}),[],!1,null,null,null);"function"==typeof v.default&&Object(v.default)(component);t.default=component.exports},2277:function(e,t,r){"use strict";r.r(t);var o=r(6),n=r(11),l=r(55),c=r(76),d={components:{BsButton:r(1420).default},props:{buttonProps:Object},computed:{authUser(){return this.$store.getters["modules/auth-user/user"]()},isLoggingIn(){return this.$store.getters["modules/auth-user/isLoggingIn"]()},userCountryCode(){return this.$store.getters.getUserCountryCode()}},methods:{openFirstDepositStep(e){this.closeAnyOpenedModal(),this.$device.isDesktopOrTablet?this.showModal(n.E):this.showModal(n.F),this.$store.dispatch("modules/deposit/SET_CURRENT_STEP",o.s.AMOUNT),this.$store.dispatch("modules/deposit/SET_KEEP_MODAL_OPENED",!0),this.trackUserClick(e,{eventName:l.n.DEPOSIT})},showSignUpModal(e){if(this.closeAnyOpenedModal(),c.b.isRegistrationRestricted(this.userCountryCode))return this.showModal(n.db);document.body.classList.add("is-signup-modal-open"),this.openSignUp(),this.trackUserClick(e,{eventName:l.c.SIGN_UP})}}},h=r(226),m=r(2064),component=Object(h.a)(d,(function(){var e=this;return(0,e._self._c)("BsButton",e._b({attrs:{label:e.authUser?e.$t("deposit"):e.$t("sign_up")},on:{click:t=>e.authUser?e.openFirstDepositStep(t):e.showSignUpModal(t)}},"BsButton",e.buttonProps,!1))}),[],!1,null,null,null);"function"==typeof m.default&&Object(m.default)(component);t.default=component.exports},2479:function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"en":{"find_game_or_provider":"Find game or game studio (try roulette, book...)","find_game_or_provider_short":"Find game or game studio","search_games":"Search games"},"ja":{"find_game_or_provider":"ゲーム名やプロバイダー名で検索","find_game_or_provider_short":"ゲーム名やプロバイダー名で検索","search_games":"ゲームを検索"},"pt-BR":{"find_game_or_provider":"Encontre jogos ou provedores","find_game_or_provider_short":"Encontre jogos ou provedores","search_games":"Procurar jogos"},"ru":{"find_game_or_provider":"Поиск игры или провайдера по названию","find_game_or_provider_short":"Введи название игры или провайдера","search_games":"Поиск игр"},"zh-CN":{"find_game_or_provider":"搜索游戏或游戏供应商","find_game_or_provider_short":"搜索游戏或游戏供应商","search_games":"搜索游戏"}}'),delete e.options._Ctor}},2480:function(e,t){e.exports=function(e){e.options.__i18n=e.options.__i18n||[],e.options.__i18n.push('{"en":{"login":"Log In","open_menu":"Open menu"},"ja":{"login":"ログイン","open_menu":"ナビゲーションを開く"},"pt-BR":{"login":"Entrar","open_menu":"Abrir menu"},"ru":{"login":"Войти","open_menu":"Открыть меню"},"zh-CN":{"login":"登录","open_menu":"打开菜单"}}'),delete e.options._Ctor}},2874:function(e,t,r){"use strict";var o=r(0),n=(r(18),r(38),r(21),r(17),r(23),r(2246),r(1433)),l=r.n(n),c=r(81),d=r(1420),h={directives:{clickOutside:l.a.directive},components:{BsButton:d.default},props:{isGameBar:{type:Boolean,default:!1}},data:()=>({searchTerm:"",nothingFound:!1}),computed:{GamesSearchResults:()=>()=>Promise.all([r.e(216),r.e(0),r.e(203)]).then(r.bind(null,4862)),authUser(){return this.$store.getters["modules/auth-user/user"]()},levelUpAdventure(){return this.$store.getters["modules/tournaments/findByFrontendIdentifier"](c.e)},isSearchOpened(){return this.$store.getters["modules/search/getShowSearch"]()},placeholder(){return this.$device.isMobile||this.authUser&&this.levelUpAdventure&&window.innerWidth<=1200?this.$t("find_game_or_provider_short"):this.$t("find_game_or_provider")}},watch:{searchTerm(e,t){e&&e!==t&&(this.searchTerm=e.trimStart().replace(" "," "))}},methods:{showSearchBar(){var e=this;return Object(o.a)((function*(){yield e.$store.dispatch("modules/search/SET_SHOW_SEARCH",!0),document.getElementById("gameSearchInput").focus()}))()},hideSearchBar(){this.$store.dispatch("modules/search/SET_SHOW_SEARCH",!1),this.layoutScrollHeight>0&&this.$nextTick((()=>{window.scrollTo(0,this.layoutScrollHeight),this.$store.dispatch("modules/layout/SET_LAYOUT_SCROLL_HEIGHT",0)}))},logSearchedGames(){var e={search_term:this.searchTerm,user_id:this.authUser?this.authUser.id:null,ip_address:this.userIpAddress,is_mobile:!this.$device.isDesktop,type:"user_not_satisfied_with_results"};this.$store.dispatch("modules/games/SEND_GAMES_SEARCH_RESULTS_LOG",e)},closeSearchBar(){this.searchTerm&&!this.nothingFound&&this.logSearchedGames(),this.hideSearchBar(),this.searchTerm=""},openSearch(e){this.isSearchOpened||"gameSearchInput"!==e.target.id||this.$store.dispatch("modules/search/SET_SHOW_SEARCH",!0)},onClickOutside(){window.innerWidth>1024&&(this.searchTerm="",this.$store.dispatch("modules/search/SET_SHOW_SEARCH",!1))},setNothingFound(e){this.nothingFound=e},onClearFocus(){this.$device.isMobile&&this.$refs.gameSearchInput&&this.$refs.gameSearchInput.blur()},onClearSearchTerm(){this.searchTerm=""}}},m=(r(3607),r(226)),_=r(3609),component=Object(m.a)(h,(function(){var e=this,t=e._self._c;return t("section",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.onClickOutside,expression:"onClickOutside"}],staticClass:"c-games-search",class:{"is-search-results":e.searchTerm&&e.isSearchOpened,"is-trending-games":!e.searchTerm,"is-search-opened":e.isSearchOpened}},[e.isGameBar?e._e():t("BsButton",{staticClass:"search--icon-mobile",attrs:{icon:"icon-search",size:"m",color:"dark-purple","aria-label":e.$t("search_games")},on:{click:e.showSearchBar}}),e._v(" "),t("div",{staticClass:"c-search-content",on:{click:e.openSearch}},[t("svg-icon",{staticClass:"c-search-wrapper__icon-search",attrs:{name:"icon-search"}}),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchTerm,expression:"searchTerm"}],ref:"gameSearchInput",staticClass:"c-search-input",attrs:{id:"gameSearchInput",placeholder:e.placeholder},domProps:{value:e.searchTerm},on:{input:function(t){t.target.composing||(e.searchTerm=t.target.value)}}}),e._v(" "),e.isSearchOpened&&!e.isGameBar?t("BsButton",{staticClass:"c-search-results__close",attrs:{icon:"icon-close",size:"s",color:"light-purple"},on:{click:e.closeSearchBar}}):e._e()],1),e._v(" "),e.isSearchOpened?t(e.GamesSearchResults,{tag:"component",attrs:{"search-term":e.searchTerm},on:{"clear-search-term":e.onClearSearchTerm,"clear-focus":e.onClearFocus,"nothing-found":e.setNothingFound}}):e._e()],1)}),[],!1,null,null,null);"function"==typeof _.default&&Object(_.default)(component);t.a=component.exports},2953:function(e,t,r){var content=r(3608);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(367).default)("d5a96d78",content,!0,{sourceMap:!1})},2954:function(e,t,r){var content=r(3611);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(367).default)("2aa9ceee",content,!0,{sourceMap:!1})},3328:function(e,t,r){"use strict";var o=[function(){var e=this,t=e._self._c;return t("picture",{staticClass:"navbar__logo-img",attrs:{"data-cy":"cy-navbar__logo-img"}},[t("source",{attrs:{media:"(max-width: 478px)",srcset:r(927),width:"40",height:"31"}}),e._v(" "),t("source",{attrs:{media:"(min-width: 479px)",srcset:r(848),width:"121",height:"22"}}),e._v(" "),t("img",{attrs:{src:r(848),alt:"BitStarz logo",width:"121",height:"22"}})])}],n=(r(18),r(38),r(21),r(1465)),l=r(11),c=r(42),d=r(57),h=r(55),m=r(2277),_=r(2874),v=r(1420),f=r(120),x=r(1461),y={components:{LevelUpAdventureProgressBar:r(2237).default,AuthenticatedOrNotButton:m.default,GamesSearch:_.a,BsButton:v.default},mixins:[n.a],data:()=>({SIGNUP_BTN_HEADER:d.N,DEPOSIT_BTN_HEADER:d.k}),computed:{NotificationDropdown:()=>()=>r.e(337).then(r.bind(null,5040)),UserDropdown:()=>()=>r.e(283).then(r.bind(null,5041)),CurrenciesDropdown:()=>()=>r.e(49).then(r.bind(null,4880)),authUser(){return this.$store.getters["modules/auth-user/user"]()},isPlayerOnGamePage(){return this.$store.getters["modules/navigation/isPlayerOnGamePage"](this.$route)},lowActiveCurrencyBalance(){return!this.authUser||!this.authUser.activeCurrencyBalance},vipUser(){return this.authUser&&this.authUser.isVip()},isSidebarVisible(){return this.$store.getters["modules/layout/isSidebarVisible"]},authStep(){return this.$store.getters["modules/navigation/currentAuthStep"]()},isAuthModalOpened(){return this.$store.getters["modules/modals/isAuthModalOpened"]()},isLoggingIn(){return this.$store.getters["modules/auth-user/isLoggingIn"]()},shouldDisableLogin(){return this.isAuthModalOpened&&this.authStep===c.a.LOG_IN}},methods:{showLoginModal(e){this.$store.dispatch("modules/navigation/SET_AUTH_STEP",{step:c.a.LOG_IN}),this.showModal(l.w),this.trackUserClick(e,{eventName:h.c.LOGIN})},handleGoHome(e){if(this.trackUserClick(e,{eventName:h.n.HOME,eventCategory:"HEADER_ACTIONS"}),this.authUser&&(this.$store.dispatch("SET_SELECTED_GAMES_SECTION",""),f.a.remove("selectedGameOffset")),this.isPlayerOnGamePage&&!this.lowActiveCurrencyBalance)return this.$store.dispatch("SET_SCROLL_TO_GAMES",!0),void this.goTo({name:"index"});"index"===this.getRouteBaseName()?(this.closeAnyOpenedModal(),this.$scrollTo("#header-wrapper",{duration:0})):this.scrollToTopAndRedirect({name:"index"})},toggleSidebar(){x.a.setSidebarVisibility({isVisible:!this.isSidebarVisible,isDesktop:this.$device.isDesktop,query:this.$route.query,router:this.$router,store:this.$store})}}},w=(r(3610),r(226)),S=r(3612),component=Object(w.a)(y,(function(){var e=this,t=e._self._c;return t("header",{staticClass:"navbar",attrs:{id:"header","data-cy":"cy-navbar"}},[t("button",{staticClass:"navbar__menu",class:{"is-open":e.isSidebarVisible},attrs:{"data-cy":"cy-navbar__menu","aria-label":e.$t("open_menu")},on:{click:function(t){return t.stopPropagation(),e.toggleSidebar.apply(null,arguments)}}},[t("span")]),e._v(" "),t("a",{staticClass:"navbar__logo",class:{"is-vip-badge":e.vipUser},attrs:{href:e.getLocalizedRoute({name:"index"}),"data-cy":"cy-navbar__logo"},on:{click:function(t){return t.preventDefault(),e.handleGoHome.apply(null,arguments)}}},[e._m(0)]),e._v(" "),t("GamesSearch",{staticClass:"navbar__search",attrs:{"data-cy":"cy-navbar__search"}}),e._v(" "),e.authUser?[e.$device.isDesktop?[t("client-only",[t("LevelUpAdventureProgressBar",{staticClass:"navbar__level-up",attrs:{"includes-popup":"","data-cy":"cy-navbar__level-up"}})],1),e._v(" "),t(e.NotificationDropdown,{tag:"component"}),e._v(" "),t(e.UserDropdown,{tag:"component"})]:e._e(),e._v(" "),e.authUser.accounts&&e.authUser.accounts.length>0?t(e.CurrenciesDropdown,{tag:"component"}):e._e()]:t("BsButton",{staticClass:"login-btn",attrs:{"data-cy":"cy-login-btn-header",label:e.$t("login"),"is-loading":e.isLoggingIn,disabled:e.shouldDisableLogin,"is-full-width":!1,size:"m",color:"dark-purple"},on:{click:e.showLoginModal}}),e._v(" "),t("AuthenticatedOrNotButton",{staticClass:"navbar__signup",attrs:{"button-props":{isFullWidth:!1,size:"m",icon:e.authUser&&e.$device.isMobile?"icon-plus":null},"data-cy":e.authUser?e.DEPOSIT_BTN_HEADER:e.SIGNUP_BTN_HEADER}})],2)}),o,!1,null,null,null);"function"==typeof S.default&&Object(S.default)(component);t.a=component.exports},3607:function(e,t,r){"use strict";r(2953)},3608:function(e,t,r){var o=r(366)((function(i){return i[1]}));o.push([e.i,".c-games-search{cursor:pointer;flex:0 1 500px;margin-right:auto;position:relative;z-index:3}@media(max-width:1024px){.c-games-search{flex:0 0 36px;margin-right:0;order:2}.c-games-search.is-search-opened{bottom:0;height:auto;left:0;position:fixed;right:0;top:0;width:auto;z-index:111}}@media(max-width:374px){.is-logged-out-user .c-games-search{display:none}}.c-button.search--icon-mobile{display:none}@media(max-width:1024px){.c-button.search--icon-mobile{display:flex}}.is-search-opened .c-button.search--icon-mobile{display:none}.c-search-content{align-items:center;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background-color:#1b1928;border-radius:6px;display:flex;height:36px;padding:10px;width:100%;z-index:10}@media(max-width:1024px){.c-search-content{display:none}}.is-search-opened .c-search-content{background-color:#3c3955}@media(max-width:1024px){.is-search-opened .c-search-content{background-color:#2b2740;border-radius:0;display:flex;height:50px}}.c-search-wrapper__icon-search{fill:#d3d7db;height:17px;width:17px}.is-search-opened .c-search-wrapper__icon-search{fill:#fff}@media(max-width:1024px){.is-search-opened .c-search-wrapper__icon-search{fill:#f2f6f9}}.c-search-input{background-color:#1b1928;border:none;color:#d3d7db;cursor:pointer;flex:1 1 auto;font-size:14px;line-height:22px;outline:none;padding:0 10px}.c-search-input::-moz-placeholder{color:#d3d7db;font-size:14px}.c-search-input::placeholder{color:#d3d7db;font-size:14px}.is-search-opened .c-search-input::-moz-placeholder{color:#fff}.is-search-opened .c-search-input::placeholder{color:#fff}.is-search-opened .c-search-input{background-color:#3c3955;color:#fff;cursor:auto}@media(max-width:1024px){.is-search-opened .c-search-input{background-color:#2b2740}}@media(min-width:1025px){.c-button.c-search-results__close{background:#57546e;border-radius:4px;height:18px;padding:4px;width:18px}.c-button.c-search-results__close:hover{background:#838199}}",""]),o.locals={},e.exports=o},3609:function(e,t,r){"use strict";var o=r(2479),n=r.n(o);t.default=n.a},3610:function(e,t,r){"use strict";r(2954)},3611:function(e,t,r){var o=r(366)((function(i){return i[1]}));o.push([e.i,'.header-wrapper{left:0;position:fixed;top:0;width:100%;z-index:103}.is-sidebar-opened .is-mobile .header-wrapper,.is-sidebar-opened .is-tablet .header-wrapper{z-index:122}.navbar{align-items:center;background-color:#0d0d0d;box-shadow:0 4px 12px rgba(22,20,33,.2);display:flex;gap:10px;height:56px;padding:0 20px 0 10px;position:relative;width:100%}.page-game .navbar{box-shadow:none}@media(max-width:1024px){.navbar{padding:0 15px 0 5px}}.navbar>.c-button{flex-shrink:0;white-space:nowrap}@media(min-width:1025px){.navbar>.c-button.login-btn,.navbar>.c-button.navbar__signup{--padding-inline:30px}}.navbar__menu{background:transparent;border:0;cursor:pointer;display:flex;flex-direction:column;flex-shrink:0;height:36px;justify-content:space-between;outline:none;padding:10px;width:38px}.navbar__menu span:after,.navbar__menu span:before,.navbar__menu:after,.navbar__menu:before{background:#fff;border-radius:4px;content:"";display:block;height:2px;transition:opacity .2s ease-in-out,transform .25s ease-in-out;width:14px}.navbar__menu span{background:transparent;height:2px;position:relative;width:100%}.navbar__menu span:after,.navbar__menu span:before{position:absolute;width:100%}.navbar__menu.is-open:after,.navbar__menu.is-open:before{opacity:0}.navbar__menu.is-open span:before{transform:rotate(45deg)}.navbar__menu.is-open span:after{transform:rotate(-45deg)}.navbar__logo{display:inline-block;flex-shrink:0;margin-right:10px;-webkit-text-decoration:none;text-decoration:none}@media(max-width:1024px){.navbar__logo{align-items:center;display:flex;margin-right:auto}}.navbar__logo.is-vip-badge{position:relative}@media(max-width:477px){.navbar__logo.is-vip-badge{margin-left:-10px}}.navbar__logo.is-vip-badge:before{background:#ffd22f;border-radius:4px;color:#161421;content:"VIP";display:block;font-size:10px;font-weight:600;line-height:13px;position:absolute;right:0;text-align:center;top:-11px;width:23px}@media(max-width:477px){.navbar__logo.is-vip-badge:before{font-weight:800;height:36px;line-height:16px;margin-right:5px;position:static;transform:rotate(-180deg);width:16px;writing-mode:vertical-lr}}@media(max-width:478px){.navbar__logo-img{height:31px;width:40px}}.navbar__level-up{max-width:230px}@media(max-width:767px){.navbar__level-up{display:none}}.is-mobile.is-auth-user .navbar__signup.c-button{border-radius:0 6px 6px 0;margin-left:-10px}',""]),o.locals={},e.exports=o},3612:function(e,t,r){"use strict";var o=r(2480),n=r.n(o);t.default=n.a}}]); //# sourceMappingURL=d9cb7c2.modern.js.map