"use strict";(self.webpackChunklauncher=self.webpackChunklauncher||[]).push([[5218,8517,6337],{8517:(e,t,n)=>{n.r(t),n.d(t,{BASE_POPUP_NAMES:()=>a,MAX_AUTOBET:()=>s,MAX_AUTOCASHOUT:()=>c,isFeatureMessagePackEnabled:()=>u,isMessagePackEnabled:()=>l});var r=(0,n(6295).getParamsFromUrl)(),o=r.isMessagePackEnabled,i=r.isFeatureMessagePackEnabled,a=Object.freeze({RULES:"Rules",CHECK_HASH_CODE:"CheckHashCode",ABOUT_HASH_CODE:"AboutHashCode",GAME_CONTROLS:"GameControls",BONUS_LIST:"BonusListPopup",KEYBOARD:"Keyboard",KEYBOARD_MINES:"KeyboardMines",GLOBAL_HISTORY:"GlobalHistory",GLOBAL_BONUS_HISTORY:"GlobalBonusHistory",MENU:"Menu",MAIN_MENU:"MainMenu",LEADER_BOARD:"LeaderBoard",LEADER_BOARD_HISTORY:"LeaderBoardHistory",BONUS_ASIDE:"BonusAside",CHAT_POPUP:"ChatPopup",CHAT_REGISTRY_POPUP:"ChatRegistryPopup",CASH_BACK:"CashBackPopup",CASH_BACK_RULES:"CashbackRules",CASH_BACK_INFO_POPUP:"CashbackInfoPopup",CASH_BACK_COLLECT_POPUP:"CashbackCollectPopup",CASH_BACK_INTRO_POPUP:"CashbackIntroPopup"}),s=100,c=699999.99,l="true"===o,u="true"===i},6337:(e,t,n)=>{n.r(t),n.d(t,{GFA:()=>l,IEnumerable:()=>k,activeGameId:()=>I,backUrl:()=>f,culture:()=>h,gameKindName:()=>m,gameTypeName:()=>g,isDemo:()=>O,isMobile:()=>v,mappedGlobalBonusHistory:()=>D,mode:()=>d,parseObjectToArray:()=>L,partnerId:()=>B,playerId:()=>P,referer:()=>b,responseFromServerToObject:()=>T,responseFromServerToObjectForFeature:()=>A,setRulesVersionInStorage:()=>C,skinningName:()=>S,sortTickets:()=>j});var r=n(6884),o=n(6295),i=n(1703),a=n.n(i),s=n(3387),c=n(8517),l=(0,r.GalaxsysFrontendApi)(),u=(0,o.getTypedParamsFromURL)()||{},d=u.mode,f=u.backUrl,p=u.partnerId,y=u.playerId,b=u.referer,v=u.isMobile,m=u.gameKindName,g=u.gameTypeName,I=u.activeGameId,h=u.culture,O=u.isDemo,S=u.skinningName,B=+p,P=+y,C=function(e,t){if(e){var n="rule_".concat(null==m?void 0:m.toLowerCase(),"_").concat(h,"_").concat(B),r=null===a()||void 0===a()?void 0:a().getItem(n);r?r!==e.toString()&&(null===a()||void 0===a()||a().setItem(n,e),setTimeout((function(){t()}),1e4)):null===a()||void 0===a()||a().setItem(n,e)}},D=function(e,t){var n=t.strBet,r=t.strExpireDate;return{headers:[t.strType,t.strQuantity,n,t.strTotalWin,t.strDate,r],body:null==e?void 0:e.map((function(e){return{type:s.BonusTypesById[+e.type]&&t["str".concat(s.BonusTypesById[+e.type])]||"Free Bonus",quantity:e.count||e.quantity||"-",bet:e.bet,totalWin:e.totalWin,date:(0,o.getFormattedDateTime)(e.assignDate||e.date),expireDate:(0,o.getFormattedDateTime)(e.expireDate)}})),winBy:"totalWin"}},w=function(e){return(null==e?void 0:e.sort((function(e,t){return t.betInfo[0].betCoin+t.betInfo[1].betCoin-e.betInfo[0].betCoin-e.betInfo[1].betCoin})))||[]},j=function(e){var t=[],n=[];return null==e||e.forEach((function(e){e.playerId===+P?t.push(e):n.push(e)})),w(t),w(n),[].concat(t,n)};function T(e,t){return c.isMessagePackEnabled?e(t):t}function A(e,t){return c.isFeatureMessagePackEnabled?e(t):t}var k={map:function(e,t){return e.map((function(e){return t(e)}))}};function L(e){return e?Object.values(e).map((function(e){return e instanceof Date?e.toISOString():e instanceof Set?Array.from(e):e instanceof Object&&!Array.isArray(e)?L(e):e})):[]}},2925:(e,t,n)=>{n.d(t,{mF:()=>a,Ay:()=>l,LG:()=>c});var r=n(5942);const o={addNotification:function(e,t){var n=t.payload,r=n.message,o=n.status,i=Math.round(Math.random()*Math.random()*1e4);e.services.notifications.list=[{guid:i,message:r,status:o}]},removeNotification:function(e){e.services.notifications.list=[]},initializeConfigs:function(e,t){var n=t.payload,r=n.second,o=n.maxLength;e.services.notifications||(e.services.notifications={}),e.services.notifications.second=r,e.services.notifications.maxLength=o}};var i={list:[],second:2,maxLength:(0,n(6295).getIsMobile)()?2:5},a=o,s=(0,r.createSlice)({name:"launcher",initialState:i,reducers:a}),c=function(e){return e.services.notifications.list};s.actions;const l=s.reducer},6024:(e,t,n)=>{n.d(t,{mF:()=>s,o1:()=>u,Io:()=>l});var r=n(5942);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t{n.d(t,{mF:()=>d,CQ:()=>y,i0:()=>p,T3:()=>b,cd:()=>v});var r=n(5942),o=n(1703),i=n.n(o);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{n.r(t),n.d(t,{actionCreators:()=>W,actions:()=>ke,default:()=>Le,selectActiveLeaderBoardId:()=>ne,selectAnimationToggle:()=>Pe,selectBonuses:()=>k,selectBottomMenuWrapperData:()=>ie,selectCashBackInfo:()=>s.selectCashBackInfo,selectChatConfigs:()=>a.selectChatConfigs,selectChatIsActive:()=>a.selectChatIsActive,selectCoinRate:()=>he,selectCurrencyId:()=>Ie,selectCurrencyInfo:()=>ge,selectDataLoaded:()=>$,selectFallBackInfo:()=>Se,selectGameAssetsAreLoading:()=>se,selectGameHeader:()=>De,selectGameId:()=>fe,selectGameTypeNames:()=>Be,selectGlobalBonusHistory:()=>de,selectGlobalHistory:()=>ue,selectHostName:()=>X,selectHubIsConnected:()=>_,selectIsAnimate:()=>S.CQ,selectIsChatOpened:()=>a.selectIsChatOpened,selectIsDeactivated:()=>Z,selectKenoGameType:()=>re,selectLauncherData2:()=>q,selectLauncherDataLoaded:()=>ae,selectLauncherGlassData:()=>oe,selectLeaderBoardPlayerWin:()=>ee,selectMinMaxBetWin:()=>pe,selectMobileSelectedTab:()=>ce,selectNewMessageNotify:()=>a.selectNewMessageNotify,selectNotifications:()=>U.LG,selectPartnerUIConfig:()=>Te,selectPing:()=>be,selectPlayerBalance:()=>ve,selectPlayerHashCode:()=>me,selectPopups:()=>B.Io,selectPopupsData:()=>Ce,selectPrecision:()=>Oe,selectQuickBets:()=>ye,selectReloadSite:()=>le,selectResources:()=>J,selectSettings:()=>S.i0,selectShowLeaderboardIcon:()=>je,selectSoundIsOn:()=>S.T3,selectStrNotifWentWrong:()=>Ae,selectToken:()=>z,selectUpcomingLeaderboard:()=>te,selectUrlParams:()=>V,selectUseNumberInputData:()=>Q,selectUseNumberValidationData:()=>Y,selectWithSeparatedSounds:()=>S.cd,shallowSelector:()=>we});var r=n(5942),o=n(678),i=n(510),a=n(1672),s=n(2828);const c={partnerInfo:{partnerId:0,coinRate:0,currencyId:"",currencyCode:"",precision:0,minBet:0,maxBet:0,maxWin:0,defaultBet:0,quickBets:[0,0,0,0,0],gameTypeName:"",gameTypeNames:[""],partnerInstanceName:"",mode:0,referer:"",backUrl:"",isDeactivated:!1},gameInfo:{gameId:0},playerInfo:{playerId:0,ping:0,token:"",culture:"",isDisconnected:null,isDemo:null,isExpired:null,isMobile:null,globalHistory:[],globalBonusHistory:[],hashCode:"",balance:0,initialBet:0,bet:0,stakeId:0,possibleWin:null,win:null,stepList:[],pressed:!1,demoStakeId:0,hostName:""},uiConfigs:{},isDataLoaded:!1,isUrlLoaded:!1,reloadSite:!1,bonusInfo:{},history:[],underConstruction:{},resources:"",mobileSelectedTab:"game",services:{popups:{},bonuses:{enabled:null,disabledSwitcher:!1,selected:null,list:[]},notifications:{list:[],second:2,maxLength:2},connection:{isConnected:!1},settings:{sound:{isLoaded:!1,isOn:!1},music:{isLoaded:!1,isOn:!1}},cashback:{id:void 0,fillPercentage:0,boxCount:0,boxAmounts:[]}}},l={setParamsFromUrl:function(e,t){var n=t.payload,r=n.activeGameId,o=n.culture,i=n.isDemo,a=n.playerId,s=n.partnerId,c=n.token,l=n.mode,u=n.gameTypeName,d=n.referer,f=n.backUrl,p=n.isMobile;e.partnerInfo.mode=l||"1",e.partnerInfo.partnerId=+s||0,e.partnerInfo.referer=d||"",e.partnerInfo.backUrl=f||"",e.partnerInfo.gameTypeName=u||"",e.gameInfo.activeGameId=+r||0,e.playerInfo.culture=o,e.playerInfo.isDemo="true"===i,e.playerInfo.isMobile="true"===p,e.playerInfo.playerId=+a||0,e.playerInfo.token=c,e.isUrlLoaded=!0},setPing:function(e,t){var n=t.payload.ping;e.playerInfo.ping=n},setBalance:function(e,t){var n=t.payload.balance;e.playerInfo.balance=n},setPlayerHashCode:function(e,t){var n=t.payload.hashCode;e.playerInfo.hashCode=n},setGlobalHistory:function(e,t){var n=t.payload.history;e.playerInfo.globalHistory=n},setGlobalBonusHistory:function(e,t){var n=t.payload;e.playerInfo.globalBonusHistory=n},setExpiredToken:function(e,t){var n=t.payload,r=n.isExpired,o=n.token;e.playerInfo.isExpired=r,e.playerInfo.token=o},setDisconnected:function(e,t){var n=t.payload.isDisconnected;e.playerInfo.isDisconnected=n,n||(e.isDataLoaded=!1)},setUserInactive:function(e,t){var n=t.payload.isInactive;e.playerInfo.isExpired=n},reloadSite:function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).reloadSite=!0},setHostName:function(e,t){var n=t.payload;e.playerInfo.hostName=n},setDeactivated:function(e,t){var n=t.payload;e.partnerInfo.isDeactivated=n},setGameAssetsAreLoading:function(e,t){var n=t.payload;e.gameAssetsAreLoading=n},setAutoSwitchBonusDisabled:function(e,t){var n=t.payload;e.services.bonuses.autoSwitchDisabled=n}};var u=n(6295),d=n(1703),f=n.n(d),p=n(5114),y=n.n(p),b=n(6337);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,autoBet:i}),t.win&&(r.betPartsWins[o]={index:o,showWin:t.win}),e.current=I({stakeId:t.stakeId,bet:t.bet,betInfo:t.betInfo.map((function(e){return I(I({},e),{},{win:e.win||null})})),betType:t.betType,autoCashout:t.data.autoCashout,winType:t.winType,win:t.win,cashoutType:t.cashoutType,bonusId:a||t.bonusId||0},s)};const O={setLauncherInitialState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=(arguments.length>1?arguments[1]:void 0).payload,n=t.gameInfo,r=t.partnerInfo,o=t.partnerConfiguration,i=t.underConstruction,a=t.resources,s=t.token,l=t.uiConfigs,d=(n||{}).gameId,f=r||o||{},p=f.coinRate,v=f.currencyId,m=f.precision,g=f.minBet,h=f.maxBet,O=f.maxWin,S=f.quickBets,B=f.partnerInstanceName,P=f.defaultBet;y().set("precision",m);var C=e.resources;a&&(C=I(I({},e.resources),JSON.parse(a))),e.uiConfigs||(e.uiConfigs={}),null==l||l.forEach((function(t){e.uiConfigs[t.key]=t.configValue})),e.playerInfo.playerId=+b.playerId,e.playerInfo.token=s||e.playerInfo.token,e.gameInfo.gameId=d,e.partnerInfo.minBet=g,e.partnerInfo.maxBet=h,e.partnerInfo.maxWin=O,e.partnerInfo.currencyId=e.playerInfo.isDemo?"Fun":C[v]||v,e.partnerInfo.currencyCode=e.playerInfo.isDemo?"Fun":v,e.partnerInfo.coinRate=p,e.partnerInfo.precision=m,e.partnerInfo.quickBets=S,e.partnerInfo.defaultBet=P||e.partnerInfo.defaultBet,e.resources=C,e.isLauncherDataLoaded=!0,e.underConstruction=i?{show:i.show,startTime:(0,u.getFormattedDateTime)(i.startTime,!0),endTime:(0,u.getFormattedDateTime)(i.endTime,!0)}:null,e.partnerInstanceName=B},setSimilarGames:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=(arguments.length>1?arguments[1]:void 0).payload.games;e.partnerInfo.gameTypeNames=t},setInitialStateTickets:function(e,t){var n=t.payload.tickets;n.find((function(e){var t;return void 0!==(null===(t=e.data)||void 0===t?void 0:t.index)}))?function(e,t){e.tickets=t||[];var n=e.playerInfo.stakes||[];t.forEach((function(t){if(t.playerId===+b.playerId){var r=n[t.data.index];r.current||h(r,t,void 0,e),r.current&&t.stakeId!==r.current.stakeId&&h(r,t,void 0,e)}}))}(e,(0,b.sortTickets)(n)):function(e,t){e.tickets=t||[];var n,r,o=(n=e.playerInfo.stakes||[],r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(n,r)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0],a=o[1];t.forEach((function(t){t.playerId===+b.playerId&&(i.current||h(i,t,0,e),i.current&&t.stakeId!==i.current.stakeId&&h(a,t,1,e))}))}(e,(0,b.sortTickets)(n))},setInitialStateHistory:function(e,t){var n,r=t.payload.historyTickets;if(null===(n=e.history)||void 0===n||!n.length)if(r){var o,i=null===(o=e.gameInfo)||void 0===o?void 0:o.gameId;e.history&&Object.keys(e.history).length||(e.history=(null==r?void 0:r.filter((function(e){var t,n;return e.gameId!==i&&null!==e.win&&(null!==(null===(t=e.betInfo)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.win)||null!==(null===(n=e.betInfo)||void 0===n||null===(n=n[1])||void 0===n?void 0:n.win))})))||[])}else e.history=[]},setInitialStateResults:function(e,t){var n,r=t.payload.results;null!==(n=e.results)&&void 0!==n&&n.length||(e.results=r||[])},setInitialStateLeaders:function(e,t){var n=t.payload.leaders;e.leaders&&Object.keys(e.leaders).length||(e.leaders=n||[])},setInitialStateStatistics:function(e,t){var n,r=t.payload.statistics;null!==(n=e.statistics)&&void 0!==n&&n.length||(e.statistics=r||[])},setMobileSelectedTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=(arguments.length>1?arguments[1]:void 0).payload;e.mobileSelectedTab=t||"game"},setTranslations:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=(arguments.length>1?arguments[1]:void 0).payload;e.resources=t}};var S=n(6025),B=n(6024);function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function C(e){return function(e){if(Array.isArray(e))return D(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&"freeamount"===e.type.toLowerCase()||e.remainingCount>0&&"freebet"===e.type.toLowerCase()}))},cleanBonus:function(e){e.services.bonuses.list=[]},updateBonuses:function(e,t){var n=t.payload,r=n.remainingBet,o=n.addBet,i=n.remainingCount,a=n.addCount,s=e.services.bonuses,c=s.selected,l=s.list.map((function(e,t){if(c&&e.id===c.id||0===t){var n=j({},e);return"number"==typeof r&&(n=j(j({},e),{},{remainingBet:r})),"number"==typeof i&&(n=j(j({},e),{},{remainingCount:i})),"number"==typeof o&&(n=j(j({},e),{},{remainingBet:e.remainingBet+o})),"number"==typeof a&&(n=j(j({},e),{},{remainingCount:e.remainingCount+a})),n}return e})).filter((function(e){return e.remainingBet>=0&&"freeamount"===e.type.toLowerCase()||e.remainingCount>=0&&"freebet"===e.type.toLowerCase()}));e.services.bonuses.selected=l[0]||null,e.services.bonuses.list=l},cleanAndFillBonus:function(e,t){var n=t.payload;e.services.bonuses.list=n,e.services.bonuses.selected=e.services.bonuses.enabled?n[0]:null}},A=(0,r.createSlice)({name:"launcher",initialState:{enabled:null,disabledSwitcher:!1,selected:null,list:[]},reducers:T}),k=function(e){return e.services.bonuses};function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{services:{connection:{}}},t=(arguments.length>1?arguments[1]:void 0).payload;e.services.connection.isConnected=H(H({},e.services.connection.isConnected),t)}},M=(0,r.createSlice)({name:"launcher",initialState:N,reducers:x}),_=function(){var e;return null===(e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:N).services.connection)||void 0===e||null===(e=e.isConnected)||void 0===e?void 0:e.game};M.actions,M.reducer;var U=n(2925);function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:c;return{hubConnected:null===(e=n.services)||void 0===e||null===(e=e.connection.isConnected)||void 0===e?void 0:e.game,featuresHubConnected:null===(t=n.services)||void 0===t||null===(t=t.connection.isConnected)||void 0===t?void 0:t.features,reloadSite:n.reloadSite,isDataLoaded:n.isDataLoaded}},Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=e.partnerInfo,n=t.minBet,r=t.maxBet;return{resources:e.resources,minBet:n,maxBet:r}},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=e.services.bonuses,n=e.playerInfo.balance,r=e.partnerInfo;return{minBet:r.minBet,maxBet:r.maxBet,precision:r.precision,bonusesEnabled:t.enabled,selectedBonus:t.selected,balance:n}},J=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).resources||{}},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return{activeGameId:e.gameInfo.activeGameId,culture:e.playerInfo.culture,isDemo:e.playerInfo.isDemo,isMobile:e.playerInfo.isMobile,playerId:e.playerInfo.playerId,partnerId:e.partnerInfo.partnerId,token:e.playerInfo.token,mode:e.partnerInfo.mode,gameTypeName:e.partnerInfo.gameTypeName,gameKindName:e.partnerInfo.gameTypeName,referer:e.partnerInfo.referer,backUrl:e.partnerInfo.backUrl,isUrlLoaded:e.isUrlLoaded}},z=function(e){return e.playerInfo.token},X=function(e){return e.playerInfo.hostName},$=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).isDataLoaded},Z=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).partnerInfo.isDeactivated},ee=function(){var e;return null===(e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).services)||void 0===e||null===(e=e.leaderBoard)||void 0===e?void 0:e.playerWin},te=function(){var e;return null===(e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).services)||void 0===e||null===(e=e.leaderBoard)||void 0===e?void 0:e.upcomingLeaderboards},ne=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).services.leaderBoard.activeLeaderBoard.id},re=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return null==t||null===(e=t.gameInfo)||void 0===e?void 0:e.kenoGameType},oe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=J(e),n=ce(e),r=(0,S.i0)(e);return{resources:t,selectedTab:n,sound:r.sound,music:r.music}},ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=e.services.leaderBoard.activeLeaderBoard.id,n=e.uiConfigs;return{isHideBetsSection:n.isHideBetsSection,isHideStatisticsSection:n.isHideStatisticsSection&&!t}},ae=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).isLauncherDataLoaded},se=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=e.partnerInfo,n=e.underConstruction;return e.gameAssetsAreLoading&&!t.isDeactivated&&!(null!=n&&n.show)},ce=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).mobileSelectedTab},le=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).reloadSite},ue=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).playerInfo.globalHistory},de=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).playerInfo.globalBonusHistory},fe=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).gameInfo.gameId},pe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return{minBet:e.partnerInfo.minBet,maxBet:e.partnerInfo.maxBet,maxWin:e.partnerInfo.maxWin,defaultBet:e.partnerInfo.defaultBet,initialBet:e.playerInfo.initialBet}},ye=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).partnerInfo.quickBets},be=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).playerInfo.ping},ve=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).playerInfo.balance},me=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).playerInfo.hashCode},ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return{currencyId:e.partnerInfo.currencyId,coinRate:e.partnerInfo.coinRate,precision:e.partnerInfo.precision}},Ie=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).partnerInfo.currencyId},he=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).partnerInfo.coinRate},Oe=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).partnerInfo.precision},Se=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;return{isDisconnected:e.playerInfo.isDisconnected,isExpired:e.playerInfo.isExpired,underConstruction:e.underConstruction,isDeactivated:e.partnerInfo.isDeactivated}},Be=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).partnerInfo.gameTypeNames},Pe=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:c).animationToggle},Ce=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=e.resources||{};return{strCollect:t.strCollect,strPickBox:t.strPickBox,bonuses:e.services.bonuses,popups:e.services.popups,resources:e.resources,partnerId:e.partnerInfo.partnerId,gameTypeNames:e.partnerInfo.gameTypeNames,precision:e.partnerInfo.precision,isDisconnected:e.playerInfo.isDisconnected,minBet:e.partnerInfo.minBet,maxBet:e.partnerInfo.maxBet,maxWin:e.partnerInfo.maxWin,quickBets:e.partnerInfo.quickBets,hashCode:e.playerInfo.hashCode,globalHistory:e.playerInfo.globalHistory,globalBonusHistory:e.playerInfo.globalBonusHistory}},De=function(e){return{resources:e.resources,notifications:e.services.notifications.list,bonuses:e.services.bonuses,balance:e.playerInfo.balance,currencyId:e.partnerInfo.currencyId,gameId:e.gameInfo.gameId,isToggleBalance:e.isToggleBalance&&"Crasher"===b.gameKindName,activeLeaderBoardId:e.services.leaderBoard.activeLeaderBoard.id,token:e.playerInfo.token}};function we(e){return(0,o.useSelector)(e,o.shallowEqual)}var je=function(e){var t=(null===b.gameKindName||void 0===b.gameKindName?void 0:b.gameKindName.toLowerCase())||"";return(e.showLeaderboardIconInHeader||"crasher"===t||"figoal"===t)&&e.services.leaderBoard.activeLeaderBoard.id},Te=function(e){var t=e.uiConfigs||{},n=t.AutoBet,r=t.HashCode,o=t.Players,i=t.History,a=t.Daily,s=t.Monthly,c=t.Results,l=t.Top,u=t.Leaders,d=t.Leaderboard,f=t.HomeButton,p=t.Menu,y=t.SingleBetPart,b=t.TurboAutoBet,v=t.AutoCashout,m=t.TurboMode,g=t.Combination,I=t.Statistics,h=t.PartnerSiteId;return{hideAutoBetButton:"Disabled"===n,hideAutoCashout:"Disabled"===v,hideHashCode:"Disabled"===r,hidePlayers:"Disabled"===o,hideHistory:"Disabled"===i,hideDaily:"Disabled"===a,hideMonthly:"Disabled"===s,hideResults:"Disabled"===c,hideTop:"Disabled"===l,hideLeaders:"Disabled"===u,hideStatistics:"Disabled"===I,hideLeaderboard:"Disabled"===d,hideHomeButton:"Disabled"===f,hideMenu:"Disabled"===p,singleBetPart:"Disabled"===y,hideTurboAutoBet:"Disabled"===b,hideTurboMode:"Disabled"===m,isPixelEnabled:"Enabled"===t.Pixel,partnerSiteId:h,combination:g}},Ae=function(e){return e.resources.strNotifWentWrong||"Something went wrong"},ke=K.actions;const Le=K.reducer}}]);