/*! For license information please see 5139.90b39a040c6200ab3a02.js.LICENSE.txt */ "use strict";(self.webpackChunklauncher=self.webpackChunklauncher||[]).push([[5139,9873,3487,5914],{9873:(t,e,n)=>{n.r(e),n.d(e,{default:()=>y});var r=n(8416),o=n(5240),s=n.n(o),i=n(73),a=n.n(i),c=n(1100),u=n.n(c);function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,s,i,a=[],c=!0,u=!1;try{if(s=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=s.call(n)).done)&&(a.push(r.value),a.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t,e)||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.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},e=t.soundUrl,n=void 0===e?"":e,o=t.soundObj,i=void 0===o?{}:o,c=t.musicUrl,d=void 0===c?"":c,y=t.musicObj,b=void 0===y?{}:y,h=a()(),p=l((0,r.useState)(null===(null===u()||void 0===u()?void 0:u().getItem(f))||"true"===(null===u()||void 0===u()?void 0:u().getItem(f))),2),v=p[0],g=p[1],S=l((0,r.useState)(null===(null===u()||void 0===u()?void 0:u().getItem(m))||"true"===(null===u()||void 0===u()?void 0:u().getItem(m))),2),I=S[0],w=S[1],C=l(s()(!v,n,i),3),B=C[0],x=C[1],A=C[2],k=l(s()(!I,d,b),3),O=k[0],T=k[1],P=k[2];return(0,r.useEffect)((function(){null===u()||void 0===u()||u().setItem(f,v)}),[v]),(0,r.useEffect)((function(){null===u()||void 0===u()||u().setItem(m,I)}),[I]),(0,r.useEffect)((function(){h&&(g("true"===(null===u()||void 0===u()?void 0:u().getItem(f))),w("true"===(null===u()||void 0===u()?void 0:u().getItem(m))))}),[h]),{sound:(0,r.useMemo)((function(){return{isLoaded:B,isOn:v,play:x,stop:A,setOn:g}}),[B,v,x,A,g]),music:(0,r.useMemo)((function(){return{isLoaded:O,isOn:I,play:T,stop:P,setOn:w}}),[O,I,T,P,w])}}},3487:(t,e,n)=>{n.r(e),n.d(e,{BASE_POPUP_NAMES:()=>r});var r=Object.freeze({RULES:"Rules",CASH_BACK:"CashBackPopup",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_RULES:"CashbackRules"})},5139:(t,e,n)=>{n.r(e),n.d(e,{BASE_POPUP_NAMES:()=>vt.BASE_POPUP_NAMES,BaseHubMethodNames:()=>g.BaseHubMethodNames,BaseHubRequests:()=>h.C,BaseHubResponseModels:()=>g.BaseHubResponseModels,CashoutTypeEnum:()=>f.AS,CrashGameConnection:()=>N,GAME_DURATION:()=>b.U8,GameButtonStates:()=>b.WH,HubMethodNames:()=>f.GO,HubRequests:()=>f.Kb,HubResponseModels:()=>f.IP,MAX_PRECISION:()=>b.ps,TicketList:()=>pt,gameResources:()=>o,getBetTypeBySelectedBonus:()=>b.hd,initialState:()=>r.Z,mappedGlobalBonusHistory:()=>Rt,mappedGlobalHistory:()=>Pt,mappedHistory:()=>xt,mappedLeaders:()=>At,mappedPlayers:()=>Ct,mappedPlayersV2:()=>Bt,mappedResources:()=>Tt,mappedResults:()=>kt,mappedStatistics:()=>Ot,numberToSpacedStringLocal:()=>b.LG,setNumberToKMB:()=>b.x$,subtractWithPrecision:()=>b.fC,sumWithPrecision:()=>b.E_,useBaseRequests:()=>h.c});var r=n(4281);const o=JSON.stringify({strHome:"Home",strLobby:"Lobby",strRules:"Rules",strTutorial:"Tutorial",strSimilarGames:"Similar Games",strKeno:"Keno",strHiLo:"Hi Lo",strSicBo:"Sic Bo",strRocket:"Rocketon",strPenalty:"Penalty",strCrash:"Crash",strCrasher:"Crasher",strSplash:"Keno Express",strPodium:"Cash Show",strCashShow:"Cash Show",strLoaderText:"Powered by The FashionTV Gaming Group",strPlayers:"Players",strHistory:"History",strLeaders:"Leaders",strResults:"Results",strCanceled:"Canceled",strResult:"Result",strStakeId:"Stake Id",strCombination:"Combination",strSave:"Save",strTop:"Top",strId:"ID",strBet:"Bet",strRoundId:"Round Id",strAutoBet:"Auto Bet",strAutoCashout:"Auto Cashout",strOk:"Ok",strOn:"On",strOff:"Off",strMinBet:"Min",strMin:"Min",strMax:"Max",strWin:"Win",strPlayerId:"Player ID",strGameId:"Game ID",strCheck:"Check",strSoon:"Soon",strNext:"Next",strTime:"Time",strCancel:"Cancel",strFairness:"Fairness",strKey:"Key",strSalt:"Salt",strHash:"Hash",strHashCode:"Hash Code",strAboutHashCode:"About Hash Code",strPasteSaltHere:"Paste Salt",strCheckHashCode:"Check Hash Code",strPasteKeyHere:"Paste Key",strDeposit:"Deposit",strLowBalance:"Not enough funds. Please, make a deposit·",strHashCodeInformation:"Hash Code Information",strMe:"Me",strX:"x",strTryAgain:"Try Again",strKeepFlying:"Keep Flying",strYouWin:"You win",strTotalWin:"Total win",strRealBet:"Real Bet",strRealGame:"Real Game",strDemoBet:"Demo Bet",strInccuficiantFunds:"Not enough bonus funds",strSoundEffects:"Sound Effects",strSound:"Sound",strAnimation:"Animation",strAboutGame:"About Game",strMusic:"Music",strCongrats:"Congratulations",strLastResults:"Results",strLastCrashes:"Last Crashes",strGame:"Game",strBets:"Bets",strStatistics:"Statistics",strSettings:"Settings",strForNextRound:"For Next Round",strBetForNextRound:"Bet For Next Round",strRound:"Round ID",strCashedOut:"Cashed out",strBetAmount:"Bet Amount",strDrawId:"Round ID",strTicketId:"Ticket ID",strBetId:"Bet ID",strCrashed:"Crashed",strCoefficent:"Coefficent",strOdd:"Odd",strMyBest:"My Best",strSlowConnection:"Slow Connection",strPlaceYourBet:"Place Your Bet",strBetsAreClosing:"Bets Are Closing",strCashout:"Cashout",strCashouts:"Cashouts",strNotifBetPlaced:"Your bet is placed!",strNotifHashCopied:"Hash Copied ",strNotifKeyCopied:"Key Copied",strNotifSaltCopied:"Salt Copied",strNotifKeyPasted:"Key Pasted",strNotifSaltPasted:"Salt Pasted",strNotifHashPasted:"Hash Pasted",strCopied:"Copied",strPasted:"Pasted",strNotifMaxBetIs:"Maximum Bet is ",strNotifMinBetIs:"Minimum Bet is ",strNotifMaxCountIs:"Maximum quantity is ",strNotifNotEnoughFunds:"Not enough funds, please make a deposit",strNotifPlaceBetForTheNextRound:"Place Bets for the next round, please!",strNotifYourBetPlacedForTheNextRound:"Your bet is placed for the next round!",strNotifYouWon:"Congratulations you won!",strNotifAutoCashout:"Minimum Auto Cashout 1.01",strNotifCancelSucceed:"Your bet was canceled",strNotifYourFreeBetNotAccepted:"Your Free Bet is not accepted",strNotifWentWrong:"Something went wrong",strNotifPleaseSelectCombination:"Please Choose Your Combination",strFreeBet:"Free Bet",strFreeBets:"Free Bets",strUseFreeBets:"Use Free Bets",strBonusHistory:"Bonus History",strType:"Type",strQuantity:"Quantity",strDate:"Start",strExpire:"End",strYouHave:"You have",strAvailableUntil:"Available until",strNeverShow:"Never show",strYouDontHaveFreeBets:"You don't have Free Bets",strFreeAmount:"Free Amount",strBonuses:"Bonuses",strBonusType:"Bonus Type",strAmount:"Amount",strExpireDate:"Expire Date",strUseBonus:"Use Bonus",strBonus:"Bonus",strCount:"Count",strGameType:"Game Type",strNewFunctionality:"New Functionality",strBalanceBefore:"Balance Before",strPlaceBetForTheNextRound:"Please place your bets",strNoBets:"No Bets",strTotalBet:"Total Bet",strTotal:"Total",strIntroDesc:"To press this button you can take 50% cash out.",strYouDontHaveBonus:"You Don't Have Bonus",strDontShow:"Don't show again",strConnectionLost:"Connection lost.",strPleaseRefreshThisPage:"Please refresh this page.",strWaitingForInternetConnection:"Waiting for the internet connection",strWebSiteIsDownForMaintenance:"Attention! The game will be down for maintenance.",strContentBonusNotification:"Congratulations! \n You win [bet] [currencyId]/x[remainingCount] [type] \n Available until [expireDate]. ",strAboutHashCodeContent:'Before the start of a round, the players are provided with a "Hash Code*" – an encrypted text combination "Key*". The odds at which Rocket explosion will occur can be found here. \n This means that the odds at which Rocket explosion will happen are determined not at the moment of the game, but previously for 10 rounds, and are provided to the players in an encrypted form. For example, "Hash Code*": [hashCode] After the end of a round, the players are provided with a "Key*" and an additional input parameter for getting the "Hash Code*" - "Salt*". Using them, every player can copy and encrypt this combination to see that the encrypted "Key*" corresponds to the "Hash code*", previously determined by the system. This ensures that the odds at which Rocket explosion occurs is determined not at the moment of the game, but previously for 10 rounds. \n What is "Salt*" – it is a random sequence of letters and numbers․ \n For example: e20d4c76c654 \n What is "Key*" – a text combination of four parameters․ \n 1. Round ID; \n 2. Odds at which Rocket explosion will occur; \n 3. word “Crash”; \n 4. A random sequence of letters and numbers. \n After the end of a game, the player clicking on the "Check" button in the "Results" or “History” sections will see the Key as follows: Round ID (for example, 3013185); the odds at which Rocket explosion occurred (for example, 12.87); “Crash” and a random sequence of letters and numbers – 564ac1e0-7d81-45bc-9d90-c34617e5a306. So "Key*" would be in this case - 21852582_12.87_Crash_564ac1e0-7d81-45bc-9d90-c34617e5a306. \n If we encrypt the "Key*" via the "Salt*" (for example, aedd8a73b8) using the SHA512 generator, we’ll get the following "Hash Code*": [hashCode] To get the "Hash code*" you can click on the “Check” button in the “Results” section and check. Also you can check on any online server that has a generator "SHA512 With Salt".'});var s=n(6606),i=n(8416),a=n(5694),c=n(6345),u=n(1100),l=n.n(u),d=n(3317),f=n(5192),m=n(3351),y=n(5914),b=n(3665),h=n(1727),p=n(613);function v(t){var e;if(t>=0&&t<=1.7){var n=Math.pow(1.091,t/1.7)-.02;e=n<1?1:n}else e=t>1.7&&t<=5?Math.pow(1.091,(4*t-3.5)/3.3)-.02:Math.pow(1.091,t)-.02;return Math.round(100*e)/100}var g=n(9904);function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function w(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&i.win>0&&y.settings.playSound("win"),A["Cashout_".concat(e)]&&clearTimeout(A["Cashout_".concat(e)]),A["Cashout_".concat(e)]=setTimeout((function(){o(d.actions.movePendingToCurrentStake({index:e}))}),b.rL))}}return(0,i.useEffect)((function(){b.xf&&(P(),null===l()||void 0===l()||l().setItem("useBonus_hook_enabled_".concat(b.GZ.toLowerCase()),!1))}),[]),(0,i.useEffect)((function(){N&&(m.hubConnection.on(f.GO.GetInitialState,(function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.GetInitialState;o(d.actions.setInitialState(n)),t=JSON.parse((null==n?void 0:n.resources)||"{}"),(e=new Map).set(f.GO.LogOutPlayer,(function(){window.location.href="".concat(window.location.origin,"/?PartnerId=").concat(b.y_,"&culture=").concat(b.TG,"&gameType=").concat(b.GZ,"&isMobile=").concat(b.tq,"&isLogout=true")})).set(f.GO.AddStake,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.AddStake,n=e.betType,r=e.bonusInfo;switch(o(d.actions.addNotification((0,s.getNotificationById)(t,0))),n){case 3:"number"==typeof(null==r?void 0:r.remainingCount)&&o(d.actions.updateBonuses({remainingCount:r.remainingCount}));break;case 4:"number"==typeof(null==r?void 0:r.remainingBet)&&o(d.actions.updateBonuses({remainingBet:r.remainingBet}))}o(d.actions.addMyTicket(e))})).set(f.GO.AddOtherStake,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.AddOtherStake;t.playerId!==+b.QW&&o(d.actions.addOtherTicket({otherTicket:t}))})).set(f.GO.AddStakeValidation,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.AddStakeValidation,n=e.index,r=e.validation,i=null;switch(null===l()||void 0===l()||l().removeItem("pending_autobet_".concat(n)),null===l()||void 0===l()||l().removeItem("autobet_count_".concat(n)),r){case 2:i=C;break;case 12:i=x}o(d.actions.cancelMyTicket({index:n})),o(d.actions.addNotification((0,s.getNotificationById)(t,r,i)))})).set(f.GO.StopStake,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.StopStake,n=e.index;e.stopStakeResult?o(d.actions.cashoutMyTicket(e)):(o(d.actions.addNotification((0,s.getNotificationById)(t,999))),o(d.actions.setPlayerPressed({index:n,pressed:!1})))})).set(f.GO.CancelStake,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.CancelStake,n=e.index;e.success?o(d.actions.cancelMyTicket(e)):(o(d.actions.addNotification((0,s.getNotificationById)(t,999))),o(d.actions.setPlayerPressed({index:n,pressed:!1})))})).set(f.GO.CancelOtherStake,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.CancelOtherStake;o(d.actions.cancelOtherTicket(t))})).set(f.GO.StartRound,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.StartRound;o(d.actions.setStartRoundState(t)),b.xf||T("GalaxsysRound",{state:"start"})})).set(f.GO.ReportStatus,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.ReportStatus;(0,a.batch)((function(){var e;o((0,d.conditionallySetCoefficientIfExists)({gameId:t.gameId,coefficient:t.coefficient,seconds:t.seconds})),(null==t||null===(e=t.finishedTickets)||void 0===e?void 0:e.length)>0&&o(d.actions.setFinishedTickets(t))}));var e=t.seconds;if(e){var n=e;O&&clearTimeout(O),O=setTimeout((function(){k&&clearInterval(k)}),1e3),k&&clearInterval(k),k=setInterval((function(){n+=.15,o(d.actions.setCoefficient({coefficient:v(n),seconds:n}))}),150)}})).set(f.GO.ReportCoefficient,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.ReportCoefficient;o((0,d.conditionallySetCoefficientIfExists)(t))})).set(f.GO.ReportTickets,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.ReportTickets;o(d.actions.setFinishedTickets(t))})).set(f.GO.FinishRound,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.FinishRound;k&&clearInterval(k),O&&clearTimeout(O),M(),(0,a.batch)((function(){o(d.actions.removeEmptyBonus()),o(d.actions.setFinishRoundState(t))})),o((0,d.condintionallyUpdateAfterFinishStateAsync)(800)),b.xf||T("GalaxsysRound",{state:"finish"})})).set(g.BaseHubMethodNames.Deactivated,(function(){var t;null!==(t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.BaseHubResponseModels.Deactivated).partnerIds)&&void 0!==t&&t.includes(b.y_)&&(P(),o(d.actions.closeAllPopups()),o(d.actions.setDeactivated(!0)))})).set(g.BaseHubMethodNames.ExpiredToken,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.ExpiredToken;P(),o(d.actions.setExpiredToken(t)),m.hubConnection.dontReconnect=!0,m.hubConnection.stop()})),e.forEach((function(t,e){m.hubConnection.off(e),m.hubConnection.on(e,t)}))})),m.hubConnection.on(g.BaseHubMethodNames.GetInitialStateGameTickets,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.GetInitialStateGameTickets;o(d.actions.setInitialStateSharedTickets(t))})),m.hubConnection.on(g.BaseHubMethodNames.GetInitialStateLastRoundTickets,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.IP.GetInitialStateGameTickets;o(d.actions.setInitialStateLastRoundTickets(t))})))}),[N]),(0,i.useEffect)((function(){R.isOn&&R.isLoaded&&y.settings.playMusic("background")}),[R.isLoaded,R.isOn]),(0,i.useEffect)((function(){switch(S){case c.GameStatus.Countdown:I.forEach((function(t,e){if(t.pending){var n=t.pending,r=n.autoBet,i=n.isAutoBet;if(b.xf)!i||r>0?(o(d.actions.addNotification((0,s.getNotificationById)(j,0))),o(d.actions.addDemoTicket({index:e}))):o(d.actions.clearStake({index:e}));else if(!i||r>0){o(d.actions.setPlayerPressed({index:e,pressed:!0}));var a=new f.Kb.AddStake(w(w({activeGameId:b.N2,partnerId:b.y_,token:H,gameId:F},t.pending),{},{combination:{autoCashout:t.pending.autoCashout,isAutoBet:t.pending.isAutoBet,index:e},index:e}));(0,m.requestToServer)(a)}}}));break;case c.GameStatus.Loading:y.settings.playSound("explode")}}),[S,j]),(0,i.useEffect)((function(){_(I[0],0)}),[null===(t=I[0].current)||void 0===t||null===(t=t.betInfo[0])||void 0===t?void 0:t.win,null===(e=I[0].current)||void 0===e||null===(e=e.betInfo[1])||void 0===e?void 0:e.win]),(0,i.useEffect)((function(){_(I[1],1)}),[null===(n=I[1].current)||void 0===n?void 0:n.betInfo[0].win,null===(r=I[1].current)||void 0===r?void 0:r.betInfo[1].win]),null};const N=(0,i.memo)(R);var H,j,F,M,_,E,D,L,G,U,W,K,Y,q,X,$=n(4598),z=n.n($),J=n(9411),Q=n.n(J),V=n(5893);function Z(t){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Z(t)}function tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n0&&(0,J.css)(W||(W=ot(["\n\t\t\tborder-color: rgba(56, 255, 175, 0.6) rgba(56, 255, 175, 0.8) rgb(56, 255, 175);\n\t\t"])))}),(function(t){return"top"===t.direction&&t.win>0&&(0,J.css)(K||(K=ot(["\n\t\t\tbackground: rgba(0, 183, 62, 0.42);\n\t\t\tborder-color: rgb(56, 255, 175) rgba(56, 255, 175, 0.8) rgba(56, 255, 175, 0.6);\n\t\t"])))}),(function(t){return"center"===t.direction&&t.win>0&&(0,J.css)(Y||(Y=ot(["\n\t\t\tbackground: rgba(0, 183, 62, 0.42);\n\t\t\tborder-color: rgba(56, 255, 175, 0.6);\n\t\t"])))}),(function(t){return"bottom"===t.direction&&t.win>0&&(0,J.css)(q||(q=ot(["\n\t\t\tbackground: rgba(0, 183, 62, 0.42);\n\t\t\tborder-color: rgba(56, 255, 175, 0.6) rgba(56, 255, 175, 0.8) rgb(56, 255, 175);\n\t\t"])))}))),lt=(0,i.memo)(Q().div(X||(X=ot(["\n\tdisplay: inline-flex;\n\tflex: 1 1 100%;\n\talign-items: center;\n\ttext-align: center;\n\tjustify-content: center;\n\tpadding: 0.5em;\n\tfont-size: 0.875em;\n\n\t&:first-child {\n\t\ttext-align: left;\n\t\tjustify-content: flex-start;\n\t}\n\t&:last-child {\n\t\ttext-align: right;\n\t\tjustify-content: flex-end;\n\t}\n"])))),dt=(0,i.memo)((function(t){var e=t.cell,n=t.style;return(0,V.jsx)(lt,{style:n.table.cell,children:e})})),ft=(0,i.memo)((function(t){var e,n,r=t.firstStakeInfoId,o=t.style,i=(0,d.shallowSelector)((function(t){return(0,d.selectTicketListItemData)(t,r)})),a=i.resources,c=i.currencyId,u=i.coinRate,l=i.precision,f=i.itemData,m=["-",a.strCanceled||"Canceled"],y=nt(nt({},o.table.row),o.table.winRow),h=o.table.row,p=f.playerId,v=f.betInfo,g=f.betType,S=f.win,I=f.partnerPlayerId,w=(n=2,function(t){if(Array.isArray(t))return t}(e=v)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,s,i,a=[],c=!0,u=!1;try{if(s=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=s.call(n)).done)&&(a.push(r.value),a.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(e,n)||function(t,e){if(t){if("string"==typeof t)return tt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tt(t,e):void 0}}(e,n)||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.")}()),C=w[0],B=w[1],x=p===+b.QW,A=(0,s.numberToSpacedStringLocal)(c===f.currencyId?C.bet:C.betCoin*u,x?b.ps:l),k=(0,s.numberToSpacedStringLocal)(c===f.currencyId?B.bet:B.betCoin*u,x?b.ps:l),O=(0,s.numberToSpacedStringLocal)(c===f.currencyId?C.bet+(B.bet||0):C.betCoin*u+(B.betCoin||0)*u,x?b.ps:l);switch(g){case 3:A=a.strFreeBet,k=a.strFreeBet,O=a.strFreeBet;break;case 4:A=a.strFreeAmount,k=a.strFreeAmount,O=a.strFreeAmount}var T=C.win?(0,s.numberToSpacedStringLocal)(c===f.currencyId?C.win:C.winCoin*u,x?b.ps:l):"-",P=B.win?(0,s.numberToSpacedStringLocal)(c===f.currencyId?B.win:B.winCoin*u,x?b.ps:l):"-",R=S?(0,s.numberToSpacedStringLocal)(c===f.currencyId?S:C.winCoin*u+(B.winCoin||0)*u,x?b.ps:l):"-";return!C.win||C.win===B.win&&null!==B.win?(0,V.jsxs)(ut,{style:Number.isNaN(+(0,s.toNumberString)(R))&&m.includes(R)?h:y,win:+(0,s.toNumberString)(R),children:[(0,V.jsx)(dt,{cell:x?a.strMe:I,style:o}),(0,V.jsx)(dt,{cell:O,style:o}),(0,V.jsx)(dt,{cell:C.coefficient?"".concat(C.coefficient,"x"):"-",style:o}),(0,V.jsx)(dt,{cell:R,style:o})]}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(ut,{style:Number.isNaN(+(0,s.toNumberString)(T))&&m.includes(T)?h:y,win:+(0,s.toNumberString)(T),direction:"top",children:[(0,V.jsx)(dt,{cell:x?a.strMe:I,style:o}),(0,V.jsx)(dt,{cell:A,style:o}),(0,V.jsx)(dt,{cell:C.coefficient?"".concat(C.coefficient,"x"):"-",style:o}),(0,V.jsx)(dt,{cell:T,style:o})]}),(0,V.jsxs)(ut,{style:Number.isNaN(+(0,s.toNumberString)(P))&&m.includes(P)?h:y,win:+(0,s.toNumberString)(P),direction:"bottom",children:[(0,V.jsx)(dt,{cell:x?a.strMe:I,style:o}),(0,V.jsx)(dt,{cell:k,style:o}),(0,V.jsx)(dt,{cell:B.coefficient?"".concat(B.coefficient,"x"):"-",style:o}),(0,V.jsx)(dt,{cell:P,style:o})]})]})})),mt=function(t){var e=t.style,n=(0,d.shallowSelector)(d.selectSortedTickets),r=[];return n.forEach((function(t){r.push((0,V.jsx)(ft,{firstStakeInfoId:t.betInfo[0].stakeInfoId,style:e},t.betInfo[0].stakeInfoId))})),(0,V.jsx)(ct,{style:e.table.body,children:r})},yt=function(t){var e=t.header,n=t.style;return(0,V.jsx)(at,{style:n.table.headerCell,children:e})},bt=(0,i.memo)((function(t){var e=t.style,n=(0,d.shallowSelector)(d.selectTicketListHeaderData),r=n.resources,o=n.currencyId,s=[r.strPlayerId,(0,V.jsx)(z(),{currencyId:o,culture:b.TG,text:r.strBet},"_bet"),r.strX,(0,V.jsx)(z(),{currencyId:o,culture:b.TG,text:r.strWin},"_win")];return(0,V.jsx)(it,{style:e.table.header,children:s.map((function(t,n){return(0,V.jsx)(yt,{header:t,index:n,style:e},n)}))})}));function ht(t){var e=t.style;return(0,V.jsxs)(st,{style:e.table.container,children:[(0,V.jsx)(bt,{style:e}),(0,V.jsx)(mt,{style:e})]})}const pt=(0,i.memo)(ht);var vt=n(3487),gt=n(5498),St=n.n(gt);function It(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,s,i,a=[],c=!0,u=!1;try{if(s=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=s.call(n)).done)&&(a.push(r.value),a.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return wt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wt(t,e):void 0}}(t,e)||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.")}()}function wt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n{n.d(e,{X:()=>S,Z:()=>w});var r=n(5439),o=n.n(r),s=n(8416),i=n(5694),a=n(1100),c=n.n(a),u=n(73),l=n.n(u),d=n(613),f=n(9873),m=n(9767);function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n{n.r(e),n.d(e,{SettingsService:()=>r.Z,settings:()=>r.X});var r=n(914)},5251:(t,e,n)=>{var r=n(8416),o=Symbol.for("react.element"),s=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(t,e,n){var r,s={},u=null,l=null;for(r in void 0!==n&&(u=""+n),void 0!==e.key&&(u=""+e.key),void 0!==e.ref&&(l=e.ref),e)i.call(e,r)&&!c.hasOwnProperty(r)&&(s[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===s[r]&&(s[r]=e[r]);return{$$typeof:o,type:t,key:u,ref:l,props:s,_owner:a.current}}e.Fragment=s,e.jsx=u,e.jsxs=u},5893:(t,e,n)=>{t.exports=n(5251)}}]);