/*! For license information please see 6013.02bf2a1199fa925944de.js.LICENSE.txt */ "use strict";(self.webpackChunkengine=self.webpackChunkengine||[]).push([[6013,5893,8521,9891],{59891:(e,t,r)=>{r.r(t),r.d(t,{default:()=>f});var n=r(5439),o=r.n(n),a=r(28416),i=r(9411),s=r.n(i),c=r(85893),u=(0,a.memo)(s().span.withConfig({componentId:"sc-w0koce-0"})(["display:flex;align-items:center;justify-content:center;flex:1 0 3.25em;max-width:fit-content;color:rgb(var(--white));text-align:center;border-radius:0.25em;background:var(--resultItemBg);margin:0 0.125em;",";&.low{color:var(--resultLow);}&.mid{color:var(--resultMid);}&.high{color:var(--resultHigh);}&.extraHigh{color:var(--resultExtraHigh);}"],(function(e){return e.isMobile?(0,i.css)(["flex:1 0 1.5em;padding:0.125em 0.25em;"]):(0,i.css)(["flex:1 0 3.25em;padding:0.25em 0.5em;"])}))),l=(0,a.memo)(s().span.withConfig({componentId:"sc-w0koce-1"})(["",";"],(function(e){return e.isMobile?(0,i.css)(["font:0.625em/ 1.2 var(--mainFontMedium);"]):(0,i.css)(["font:0.875em/ 1.2 var(--mainFontMedium);"])})));function d(e){var t,r,n=e.className,o=e.styles,a=e.key,i=e.item,s=e.isMobile;return(0,c.jsx)(u,{className:n,style:null===(t=o.resultRowContainer)||void 0===t?void 0:t.resultItem,isMobile:s,children:(0,c.jsx)(l,{style:null===(r=o.resultRowContainer)||void 0===r?void 0:r.resultItemtxt,isMobile:s,children:i})},a)}d.propTypes={className:o().object,styles:o().object,key:o().string,item:o().any,isMobile:o().bool},d.defaultProps={className:{},key:"",styles:{},item:"",isMobile:!1};const f=(0,a.memo)(d)},66013:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{addRtlToStyles:()=>addRtlToStyles,addToClipboard:()=>addToClipboard,calculateFontSize:()=>calculateFontSize,dateConverter:()=>dateConverter,deepEqual:()=>deepEqual,disabledSimilarGames:()=>disabledSimilarGames,fakePlayerId:()=>fakePlayerId,fetchMemoizationAssets:()=>fetchMemoizationAssets,formatNumberByPrecision:()=>formatNumberByPrecision,generateId:()=>generateId,getCookie:()=>getCookie,getDeviceInfo:()=>getDeviceInfo,getFormattedDateTime:()=>getFormattedDateTime,getFormattedTime:()=>getFormattedTime,getIsMobile:()=>getIsMobile,getIsTablet:()=>getIsTablet,getNotificationById:()=>getNotificationById,getObjValueByStringSelector:()=>getObjValueByStringSelector,getParamsFromUrl:()=>getParamsFromUrl,getTypedParamsFromURL:()=>getTypedParamsFromURL,isFakeOrEmptyToken:()=>isFakeOrEmptyToken,isIOSChrome:()=>isIOSChrome,isInViewport:()=>isInViewport,isIpad:()=>isIpad,isValidInputForNumberInput:()=>isValidInputForNumberInput,mapWinnersForUI:()=>mapWinnersForUI,multiplyWithPrecision:()=>multiplyWithPrecision,numberToDown:()=>numberToDown,numberToSpacedString:()=>numberToSpacedString,numberToSpacedStringBetValue:()=>numberToSpacedStringBetValue,numberToSpacedStringLocal:()=>numberToSpacedStringLocal,preLoadDataWithLinks:()=>preLoadDataWithLinks,redirectToHomeGalaxsys:()=>redirectToHomeGalaxsys,redirectToLobbyGalaxsys:()=>redirectToLobbyGalaxsys,redirectToLoginPage:()=>redirectToLoginPage,redirectToRealGameGalaxsys:()=>redirectToRealGameGalaxsys,refreshPlayerToken:()=>refreshPlayerToken,rtlLanguages:()=>rtlLanguages,sendLoginToParentPage:()=>sendLoginToParentPage,sendPixelEvent:()=>sendPixelEvent,setHubName:()=>setHubName,setNumberToKMB:()=>setNumberToKMB,setResultRowColors:()=>setResultRowColors,subtractWithPrecision:()=>subtractWithPrecision,sumWithPrecision:()=>sumWithPrecision,toNumberString:()=>toNumberString,validInputWithEveryCase:()=>validInputWithEveryCase});var moment__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(29801),moment__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_0__),engine_utilities_api__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(76179),engine_utilities_api__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(engine_utilities_api__WEBPACK_IMPORTED_MODULE_1__),engine_utilities_services_EngineSharedDataService__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(8378),engine_utilities_services_EngineSharedDataService__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(engine_utilities_services_EngineSharedDataService__WEBPACK_IMPORTED_MODULE_2__),mobile_detect__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(86944),mobile_detect__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(mobile_detect__WEBPACK_IMPORTED_MODULE_3__),axios__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(50248),axios__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_4__),_components_Shared_Global_ResultItem__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(59891),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(85893);function _typeof(e){return _typeof="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},_typeof(e)}function _regeneratorRuntime(){_regeneratorRuntime=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var a=t&&t.prototype instanceof y?t:y,i=Object.create(a.prototype),s=new x(n||[]);return o(i,"_invoke",{value:S(e,r,s)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=l;var f="suspendedStart",m="suspendedYield",_="executing",g="completed",p={};function y(){}function h(){}function v(){}var b={};u(b,i,(function(){return this}));var k=Object.getPrototypeOf,w=k&&k(k(N([])));w&&w!==r&&n.call(w,i)&&(b=w);var I=v.prototype=y.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function r(o,a,i,s){var c=d(e[o],e,a);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==_typeof(l)&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,i,s)}),(function(e){r("throw",e,i,s)})):t.resolve(l).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,s)}))}s(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function S(t,r,n){var o=f;return function(a,i){if(o===_)throw new Error("Generator is already running");if(o===g){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=T(s,n);if(c){if(c===p)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=_;var u=d(t,r,n);if("normal"===u.type){if(o=n.done?g:m,u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function T(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,T(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var a=d(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,p;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,p):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function N(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),p}},t}function asyncGeneratorStep(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){asyncGeneratorStep(a,n,o,i,s,"next",e)}function s(e){asyncGeneratorStep(a,n,o,i,s,"throw",e)}i(void 0)}))}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){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 _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){};axios__WEBPACK_IMPORTED_MODULE_4___default().get(e+t,{params:_objectSpread({},r)}).then((function(e){n(e)})).catch((function(e){o(e)}))}function formatNumberByPrecision(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=e;if("string"==typeof e){if("."===e[e.length-1])return e;r=e.replaceAll(" ","")}return r=Number(r),Number.isNaN(r)?e:(r=formatNumber(r,t),Number(r).toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:t}).replaceAll(","," "))}function numberToSpacedStringLocal(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=engine_utilities_services_EngineSharedDataService__WEBPACK_IMPORTED_MODULE_2___default().get("precision"),o="number"==typeof t?t:n||2;return""===e?"":parseFloat("".concat(e).replace(/,/g,"")).toLocaleString("en-US",{minimumFractionDigits:r,maximumFractionDigits:o}).replaceAll(","," ")}function getParamsFromUrl(){var e,t=(null===(e=windowObj.location)||void 0===e?void 0:e.search)||"",r={};return t.replace(/([^?=&]+)(=([^&]*))?/g,(function(e,t,n,o){r[t]=o})),r}function getTypedParamsFromURL(){var e,t=(null===(e=windowObj.location)||void 0===e?void 0:e.search)||"",r={};return t.replace(/([^?=&]+)(=([^&]*))?/g,(function(e,t,n,o){var a,i;"true"===(null===(a=o.toLowerCase)||void 0===a?void 0:a.call(o))||"false"===(null===(i=o.toLowerCase)||void 0===i?void 0:i.call(o))?r[t]="true"===o:r[t]=o})),r}function fakePlayerId(e){return e?e.replaceAtIndex(2,"***"):""}function isFakeOrEmptyToken(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 34===(null==e?void 0:e.length)&&(null==e?void 0:e.endsWith("fk"))||""===e}function mapWinnersForUI(e,t,r){var n=function(e){return e.map((function(e){return{playerId:fakePlayerId(e.playerNickName),x:"x".concat(e.coefficent),win:(e.winCoin*t).toFixed(r)}}))},o=e.dailyMaxWinners,a=e.monthlyMaxWinners,i=e.currentWinners;return{daily:n(o),monthly:n(a),current:n(i)}}function getFormattedDateTime(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{if(!e)return;var r=-1!==(t?new Date(e).toUTCString():new Date(e).toISOString()).indexOf("Z");return new Date(e+(r?"":"Z")).toLocaleDateString("ru-RU",{year:"numeric",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit"}).replace(",","")}catch(e){console.log(e)}}function getFormattedTime(e,t){if(e){var r=-1!==(t?new Date(e).toUTCString():new Date(e).toISOString()).indexOf("Z");return new Date(e+(t&&!r?"Z":"")).toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit"})}}function getIsMobile(){var e=getParamsFromUrl().isMobile;return"true"===(null==e?void 0:e.toLowerCase())}var redirectToRealGameGalaxsys=function(e){var t=e.playerId,r=e.partnerId,n=e.gameKindName,o=(e.gameTypeName,e.referer),a=e.hostName,i=getIsMobile();if(0!=+t)window.location.href=window.location.href.replace("isDemo=true","isDemo=false");else if(i){var s=a.split(".");redirectToLoginPage([s[1],s[2]].join("."),+r,n,o)}else(0,engine_utilities_api__WEBPACK_IMPORTED_MODULE_1__.sendGalaxsysLogin)()},redirectToLobbyGalaxsys=function(e){var t=e.partnerId,r=e.token,n=e.culture,o=e.gameTypeName,a=e.referer,i=e.mode,s=e.backUrl,c=e.isMobile;window.location.href="".concat(window.location.origin,"/lobby/?PartnerId=").concat(t,"&token=").concat(r,"&culture=").concat(n,"&gameKind=").concat(o,"&referer=").concat(a,"&mode=").concat(i,"&backUrl=").concat(s,"&isMobile=").concat(c)},redirectToHomeGalaxsys=function(){(0,engine_utilities_api__WEBPACK_IMPORTED_MODULE_1__.sendGalaxsysHome)()};function redirectToLoginPage(){(0,engine_utilities_api__WEBPACK_IMPORTED_MODULE_1__.sendGalaxsysLogin)()}function sendLoginToParentPage(){window.parent.postMessage("GalaxsysLogin","*")}function validInputWithEveryCase(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,o=e.target,a=(r="",windowObj.getSelection?r=windowObj.getSelection():document.getSelection?r=document.getSelection():document.selection&&(r=document.selection.createRange().text),r).toString();if(8!==e.keyCode&&46!==e.keyCode)if(110!==e.keyCode&&190!==e.keyCode||""!==o.value){if(""!==a&&(e.shiftKey||e.keyCode>=48||e.keyCode<=57)&&(e.keyCode>=96||e.keyCode<=105)){var i=o.value,s=a.length,c=o.value.indexOf(a),u=o.value.substr(0,c),l=o.value.substr(c+s,i.length);return(110===e.keyCode||190===e.keyCode)&&o.value===a||(48===e.keyCode||e.keyCode,0)||(e.shiftKey||e.keyCode<48||e.keyCode>57)&&(e.keyCode<96||e.keyCode),u+l}if(8===e.keyCode||46===e.keyCode||110===e.keyCode||190===e.keyCode||e.keyCode>=37&&e.keyCode<=40||!(e.shiftKey||e.keyCode<48||e.keyCode>57)||!(e.keyCode<96||e.keyCode>105)){if("0"===o.value&&8!==e.keyCode&&46!==e.keyCode&&110!==e.keyCode&&190!==e.keyCode&&!(e.keyCode>=37&&e.keyCode<=40))return e.preventDefault(),e.key;if(48===e.keyCode||e.keyCode,110===e.keyCode||190===e.keyCode){if(o.value.split(".").length>1||!t)return void e.preventDefault()}else if(-1!==o.value.indexOf(".")&&o.value.indexOf(".")57)||!(e.keyCode<96||e.keyCode>105)))return void e.preventDefault();if(!(46===e.keyCode||8===e.keyCode||27===e.keyCode||9===e.keyCode||13===e.keyCode||65===e.keyCode&&(!0===e.ctrlKey||!0===e.metaKey)||e.keyCode>=35&&e.keyCode<=40))if((e.shiftKey||e.keyCode<48||e.keyCode>57)&&(e.keyCode<96||e.keyCode>105)&&190!==e.keyCode&&110!==e.keyCode)e.preventDefault();else{var d=o.value.replaceAll(" ","").length;d!==n&&(d!==n-1||190!==e.keyCode&&110!==e.keyCode)||e.preventDefault()}}else e.preventDefault()}else e.preventDefault()}function isValidInputForNumberInput(e){return e>=48&&e<=57||e>=96&&e<=107||110===e||190===e||8===e||46===e||e>=37&&e<=40}function toNumberString(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().split(" ").join("")}function numberToSpacedString(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=e;return""===r?"":"string"==typeof e&&-1!==e.indexOf(".")||"number"==typeof e&&e%1!=0?toNumberString(e):(Number.isNaN(Number(e))&&(r=toNumberString(e)),parseFloat("".concat(r).replace(/,/g,"")).toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:t}).replaceAll(","," "))}function numberToSpacedStringBetValue(e){var t=e.number,r=e.maxPrecision,n=void 0===r?2:r,o=getIsMobile(),a=function(e){return parseFloat("".concat(e).replace(/,/g,"")).toLocaleString("en-US",{minimumFractionDigits:0,maximumFractionDigits:n}).replaceAll(","," ")},i=t;if(""===i)return"";if("string"==typeof t&&-1!==t.indexOf(".")||"number"==typeof t&&t%1!=0){if(o||"number"==typeof t){var s=_slicedToArray(t.toString().split("."),2),c=s[0],u=s[1];return"".concat(a(c),".").concat(u)}return t}return Number.isNaN(Number(t))&&(i=toNumberString(t)),a(i)}var getIsTablet=function(){var e=windowObj.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;return navigator.userAgent.match(/(iPad)/)||768===e&&"MacIntel"===navigator.platform||1024===e&&"MacIntel"===navigator.platform||834===e&&"MacIntel"===navigator.platform};function isIpad(){var e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;return!!(navigator.userAgent.match(/(iPad)/)||768===e&&"MacIntel"===navigator.platform||1024===e&&"MacIntel"===navigator.platform||834===e&&"MacIntel"===navigator.platform)}var setNumberToKMB=function(e){var t=0;if(Number.isNaN(+e))return-1;var r=(t=(e=Math.round(100*e)/100)>=1e9?"".concat(e/1e9,"B"):e>=1e6?"".concat(e/1e6,"M"):e>=1e3?"".concat(e/1e3,"K"):e).toString(),n=r.split(".");if(-1!==r.indexOf(".")&&n[1].length>3){var o=r[r.length-1];t="".concat(n[0]+o,"+")}return t};function calculateFontSize(e){var t=e.width,r=e.baseWidth,n=e.baseFontSize;return t/r*(void 0===n?BASE_FONT_SIZE:n)}var RESOLUTIONS_FOR_DEVICES_WITH_HOME_INDICATOR=[2436,2688,1792];function getDeviceInfo(){var e=new(mobile_detect__WEBPACK_IMPORTED_MODULE_3___default())(window.navigator.userAgent),t=e.os(),r="iOS"===t;return{isMobile:Boolean(e.mobile()),isAndroid:"AndroidOS"===t,isIOS:r,isIOSWithHomeIndicator:r&&RESOLUTIONS_FOR_DEVICES_WITH_HOME_INDICATOR.includes(window.screen.height*window.devicePixelRatio)}}var setHubName=function(e){return"".concat(e.toLowerCase(),"lobby")},refreshPlayerToken=function(e,t,r){getRequest(e,"/api/lobby/refreshPlayerToken",{Token:t},(function(e){e.data?(console.log("RefreshToken Failed"),r(e.data)):console.log("RefreshToken Succeeded!!!")}))};function generateId(){return"_".concat(Math.random().toString(36).substr(2,9))}var addRtlToStyles=function(e,t){return _objectSpread(_objectSpread({},e),{},{direction:rtlLanguages.includes(t)?"rtl":"ltr"})};function numberToDown(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Math.floor(e*Math.pow(10,t))/Math.pow(10,t)}function formatNumber(e,t){var r=Math.pow(10,t);return Math.floor((e*r).toFixed(t))/r}function multiplyWithPrecision(e,t){return formatNumber(e*t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:2)}function subtractWithPrecision(e,t){return formatNumber(e-t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:2)}function sumWithPrecision(e,t){return formatNumber(e+t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:2)}function disabledSimilarGames(e){return[82,79].includes(e)}var addToClipboard=function(e){var t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.left="-999999px",t.style.top="-999999px",document.body.appendChild(t),t.focus(),t.select(),document.execCommand("copy"),t.remove()};function getNotificationById(e,t,r){var n={};switch(t){case 0:n.message="".concat(e.strNotifBetPlaced),n.status="success";break;case 1:n.message="".concat(e.strNotifMaxCountIs," ").concat(r),n.status="error";break;case 2:n.message="".concat(e.strNotifMinBetIs," ").concat(r),n.status="error";break;case 3:n.message="".concat(e.strNotifInvalidStake||e.strNotifTransactionError||"Transaction Error"," Error: ").concat(t),n.status="error";break;case 4:n.message="".concat(e.strNotifNotEnoughFunds),n.status="error";break;case 5:n.message="".concat(e.strNotifTransactionError||"Transaction Error"),n.status="error";break;case 6:n.message="".concat(e.strNotifUnauthorisedPlayer||e.strSessionExpired),n.status="error";break;case 7:n.message="".concat(e.strNotifInvalidBetTime),n.status="error";break;case 9:n.message="".concat(e.strNotifInvalidBetCount||e.strNotifTransactionError||"Transaction Error"),n.status="error";break;case 10:n.message="".concat(e.strNotifInvalidGameId||e.strNotifPlaceBetForTheNextRound),n.status="error";break;case 11:case 108:n.message="".concat(e.strNotifAutoCashout),n.status="error";break;case 12:n.message="".concat(e.strNotifMaxBetIs+r),n.status="error";break;case 14:n.message="".concat(e.strNotifPleaseSelectCombination),n.status="error";break;case 15:n.message="".concat(e.strNotifInvalidFreebet," Error: ").concat(t),n.status="error";break;case 17:n.message="".concat(e.strInccuficiantFunds),n.status="error";break;case 18:n.message="".concat(e.strSessionExpired),n.status="error";break;case 19:n.message="".concat(e.strSpendingBudgetExceeded||"Spending budget Exceeded"),n.status="error";break;case 21:n.message="".concat(e.strNotifAccountBlocked||"Server error. Please contact support"),n.status="error";break;case 22:n.message="".concat(e.strNotifBetRequestDeclined||"Spending budget Exceeded"),n.status="error";break;case 26:n.message="".concat(e.strNotifGameNotFound||"Something went wrong."),n.status="error";break;case 27:n.message="".concat(e.strMaxStarsCount||"Max stars count"),n.status="error";break;case 28:n.message="".concat(e.strNotifDamagedGame||"Damaged game"),n.status="error";break;case 29:n.message="".concat(e.strNotifIncorrectVersion||"Incorrect Version"),n.status="error";break;case 30:n.message="".concat(e.strNotifInvalidToken||"Invalid Token"),n.status="error";break;case 31:n.message="".concat(e.strNotifInvalidTickets||"Invalid Tickets"),n.status="error";break;case 32:n.message="".concat(e.strNotifInvalidTransaction||"Invalid Transaction"),n.status="error";break;case 33:n.message="".concat(e.strNotifInvalidActionTime||"Invalid Action Time"),n.status="error";break;case 34:n.message="".concat(e.strNotifInvalidPlayerInfo||"Invalid Player Info"),n.status="error";break;case 35:n.message="".concat(e.strNotifInvalidStakeId||"Invalid Stake Id"),n.status="error";break;case 36:n.message="".concat(e.strNotifInvalidCycleId||"Invalid Cycle Id"),n.status="error";break;case 37:n.message="".concat(e.strNotifInvalidPendingGame||"Invalid Pending Game"),n.status="error";break;case 38:n.message="".concat(e.strNotifInvalidConfiguration||"Invalid Configuration"),n.status="error";break;case 39:n.message="".concat(e.strNotifInvalidBonus||"Invalid Bonus"),n.status="error";break;case 40:n.message="".concat(e.strNotifInvalidGameMode||"Invalid Game Mode"),n.status="error";break;case 41:n.message="".concat(e.strNotifInvalidPartnerConfiguration||"Invalid Partner Configuration"),n.status="error";break;case 42:n.message="".concat(e.strNotifInvalidLimitaions||"Invalid Limitaions"),n.status="error";break;case 100:n.message=e.strNotifCancelSucceed,n.status="success";break;case 105:n.message=e.strNotifKeyCopied,n.status="success";break;case 106:n.message=e.strNotifSaltCopied,n.status="success";break;case 107:n.message=e.strNotifHashCopied,n.status="success";break;case 109:n.message=e.strNotifKeyPasted,n.status="success";break;case 110:n.message=e.strNotifSaltPasted,n.status="success";break;case 111:n.message=e.strNotifHashPasted,n.status="success";break;case 112:n.message=e.strRepeatHistory,n.status="success";break;case 113:n.message="".concat(e.strPlaceYourChips),n.status="error";break;case 114:n.message=e.strAccountSaved||"_Account settings changed",n.status="success";break;case 115:n.message="".concat(e.strAutoBetLossLimit||"Autobet is stopped (loss limit is exceeded)"),n.status="error";break;case 116:n.message=(null==e?void 0:e.strRulesChanged)||"Game rules changed! Check them out!",n.status="info";break;case 998:n.message="".concat(e.strNotifMaxWinLimit),n.status="error";break;default:n.message="".concat(e.strNotifWentWrong||"Something went wrong."," ").concat(t?"Error: ".concat(t):""),n.status="error"}return n}function isIOSChrome(){return/CriOS/.test(navigator.userAgent)}var dateConverter=function(e,t){return moment__WEBPACK_IMPORTED_MODULE_0___default().utc(e).local().format(t)},fetchMemoizationAssets=(assets={},progressLoads={},function(e){var t=e.urls,r=e.assetKey||"default";if(assets[r])return assets[r];if(progressLoads[r])return progressLoads[r];var n=Promise.all(null==t?void 0:t.map((function(e){return fetch(e).catch((function(e){throw new Error(e)}))}))).then(function(){var e=_asyncToGenerator(_regeneratorRuntime().mark((function e(t){var n;return _regeneratorRuntime().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(t.map((function(e){return e.blob()})));case 2:return n=e.sent,assets[r]=n.map((function(e){return e&&URL.createObjectURL(e)})),delete progressLoads[r],e.abrupt("return",assets[r]);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){return[e]}));return progressLoads[r]=n,n}),assets,progressLoads;function deepEqual(e,t){if(e===t)return!0;if("object"!==_typeof(e)||"object"!==_typeof(t)||null===e||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every((function(r){return deepEqual(e[r],t[r])}))}function isInViewport(e,t){if(e){var r=e.getBoundingClientRect();if(t){var n=t.getBoundingClientRect();return r.top>=n.top&&r.bottom<=n.bottom}return r.top>=0&&r.left>=0&&r.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&r.right<=(window.innerWidth||document.documentElement.clientWidth)}}function getObjValueByStringSelector(e,t){if(t.includes("."))return t.split(".").reduce((function(e,t){return e?e[t]:void 0}),e)}var setResultRowColors=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>2?arguments[2]:void 0,r=getTypedParamsFromURL().isMobile,n=e.filter((function(e){return e.coefficient&&!Number.isNaN(e.coefficient)})).map((function(e){var n=e.coefficient,o="extraHigh";return n<=2?o="low":n<=5?o="mid":n<=10&&(o="high"),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_Shared_Global_ResultItem__WEBPACK_IMPORTED_MODULE_5__.default,{className:o,item:"".concat(Number(e.coefficient).toFixed(2),"x"),isMobile:r,styles:t},e.gameId)}));return r?n.slice(0,30):n},preLoadDataWithLinks=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"image",r=0,n=[];return new Promise((function(o){e.forEach((function(a){var i=document.createElement("link");i.rel="preload",i.as=t,i.href=a,i.onload=function(){++r===e.length&&o({unloadedPaths:n})},i.onerror=function(){++r,n.push(a),r===e.length&&o({unloadedPaths:n})},document.head.appendChild(i)}))}))},getCookie=function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},sendPixelEvent=function sendPixelEvent(){var _ref7=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},partnerSiteId=_ref7.partnerSiteId,event=_ref7.event,_getTypedParamsFromUR2=getTypedParamsFromURL(),partnerPlayerId=_getTypedParamsFromUR2.partnerPlayerId;if(partnerPlayerId&&!partnerSiteId){var now=(new Date).getTime(),storedPixelTime=localStorage.getItem("pixelTimeStamp"),setupPixelTimeStamp=function(){localStorage.setItem("pixelTimeStamp",now),console.log("Pixel stamp stored")};if(storedPixelTime){var timeDifference=now-storedPixelTime,hoursDifference=timeDifference/36e5;if(!(hoursDifference>=24))return void console.log("Pixel stamp not past");setupPixelTimeStamp()}else setupPixelTimeStamp();fetch("https://pixel-us.follow-new-insights.com/pixel/js?auth=pq6fr8&event=".concat(event||"other","&uid=").concat(partnerPlayerId||partnerSiteId)).then((function(e){return e.text()})).then((function(res){eval(res)}))}}},75251:(e,t,r)=>{var n=r(28416),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,a={},u=null,l=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)i.call(t,n)&&!c.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:u,ref:l,props:a,_owner:s.current}}t.Fragment=a,t.jsx=u,t.jsxs=u},85893:(e,t,r)=>{e.exports=r(75251)}}]);