(function(CONFIG){ /* PARSE CONFIG */ CONFIG = JSON.parse(CONFIG); /* CHECK DOMAIN TYPE */ const isLocalhost = CONFIG.localhost.includes(location.hostname); const isRootDomain = !isLocalhost && location.hostname.split(".").slice(-2).join(".") == location.hostname; /* PROXY REQUEST MIDDLEWARE */ const middleware = function(url) { if (CONFIG.hosts.mm.includes(url.host)) { /* MATCHMAKER SERVER REROUTE */ url.protocol = CONFIG.protocol.http; url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/mm${url.pathname}`; url.search = url.search.replace(`hostname=${location.hostname}`, `hostname=${CONFIG.hosts.http[0]}`); if (url.search.match(/region=/)) { if (isLocalhost) { /* CHANGE LOCAL REGION TO DEFAULT */ url.search = url.search.replace("region=local", `region=${CONFIG.region.default}`); } else if (!isRootDomain) { /* FORCE REGION */ const region = CONFIG.region.map[location.hostname.split(".")[0]] || CONFIG.region.default; url.search = url.search.replace(/region=[\w-]+/g, `region=${region}`); } } } else if (CONFIG.hosts.api.includes(url.host)) { /* API SERVER REROUTE */ url.protocol = CONFIG.protocol.http; url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/api${url.pathname}`; } return url; } /* OVERRIDE FETCH */ const _fetch = window.fetch; window.fetch = async function(...args) { try { const url = new URL(args[0]); args[0] = middleware(url).toString(); } catch (e) {}; return _fetch(...args); } /* OVERRIDE WEBSOCKET */ window.WebSocket = class WebSocket extends window.WebSocket { constructor(...args) { const url = new URL(args[0]); if (CONFIG.hosts.social.includes(url.host)) { /* SOCIAL SERVER REROUTE */ url.protocol = CONFIG.protocol.ws; url.port = ""; url.host = CONFIG.hosts.social[0]; } else if (CONFIG.hosts.editor.includes(url.host)) { /* EDITOR SERVER REROUTE */ url.protocol = CONFIG.protocol.ws; url.port = ""; url.host = CONFIG.hosts.editor[0]; } args[0] = `${CONFIG.protocol.ws}//${location.host}/ws?redirect=${btoa(url.toString())}`; super(args); } } /* OVERRIDE XMLHTTPREQUEST */ window.XMLHttpRequest = class XMLHttpRequest extends window.XMLHttpRequest { open(...args) { try { const url = new URL(args[1]); if (CONFIG.hosts.assets.includes(url.host)) { /* ASSETS (MODELS) REROUTE */ url.protocol = CONFIG.protocol.http; url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/assets${url.pathname}`; args[1] = url.toString(); } else if (CONFIG.hosts.userAssets.includes(url.host)) { /* USER ASSETS (MODELS) REROUTE */ url.protocol = CONFIG.protocol.http; url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/user${url.pathname}`; args[1] = url.toString(); } else { args[1] = middleware(url).toString(); } } catch (e) {}; super.open(...args); } } /* OVERRIDE CREATE ELEMENT (NAMESPACE VERSION) */ document.createElementNS = new Proxy(document.createElementNS, { apply: function(target, prop, args) { const img = target.apply(prop, args); /* THREE ERROR HANDLER */ let threeErrorHandler; /* CORS ERROR HANDLER */ function corsErrorHandler() { /* REMOVES EXISTING ERROR HANDLER */ this.removeEventListener('error', corsErrorHandler, false); /* ADDS BACK THREE ERROR HANDLER */ this.addEventListener('error', threeErrorHandler, false); /* ASSETS (IMAGES/TEXTURES) REROUTE */ const url = new URL(this.src); if (CONFIG.hosts.assets.includes(url.host)) { url.protocol = CONFIG.protocol.http url.hostname = location.hostname; url.port = CONFIG.port; url.pathname = `/assets${url.pathname}`; } this.src = url.toString(); } /* ADD CORS ERROR HANDLER */ img.addEventListener('error', corsErrorHandler, false); /* PROXY ADDING EVENT LISTENER */ const _addEventListener = img.addEventListener; img.addEventListener = new Proxy(_addEventListener, { apply: function(target, prop, args) { if (args[0] == 'error') { /* HOOK ADDING THREE ERROR HANDLER */ threeErrorHandler = args[1]; /* UNDO PROXY */ img.addEventListener = _addEventListener; } else { target.apply(prop, args); } } }) return img; } }) /* INJECT REFRESH SETTING */ const div = document.createElement('div'); div.className = "settingsBtn"; div.style.cssText = "width: auto;font-size: 14px;padding: 5px 8px;"; div.innerText = "Find"; div.addEventListener("click", function() { const regionId = document.getElementById('setBod_local').childNodes[0].childNodes[2].value; const regionPrefix = CONFIG.region.reverseMap[regionId] || CONFIG.region.reverseMap[CONFIG.region.default]; if (isLocalhost) { const url = `${CONFIG.protocol.http}//${regionPrefix}.subdomain.com`; alert(`REDIRECT - ${url}`); } else { const url = `${CONFIG.protocol.http}//${regionPrefix}.${location.hostname.split(".").slice(-2).join(".")}`; location.href = url; } }, false); const waitForSettings = setInterval(function() { if (!window.windows) return; if (!window.windows[0]) return; if (!window.windows[0].getSettings) return; clearInterval(waitForSettings); window.windows[0].getSettings = new Proxy(window.windows[0].getSettings, { apply: function(target, prop, args) { setTimeout(function() { const localBody = document.getElementById('setBod_local'); if (localBody) { const region = localBody.children[0]; region.innerHTML = region.innerHTML.replace("Default Region", "Proxy Region"); const select = region.children[0]; region.insertBefore(div, select); [...select.children].filter(o => !CONFIG.region.reverseMap[o.value]).forEach(o => select.removeChild(o)); select.onchange(); } }) return target.apply(prop, args); } }) }, 100); })('{"isProd":true,"port":443,"localhost":["localhost","127.0.0.1"],"hosts":{"http":["krunker.io","internal.krunker.io","127.0.0.1:8080"],"mm":["matchmaker.krunker.io","matchmaker_beta.krunker.io","127.0.0.1:5050"],"api":["api.krunker.io","api_beta.krunker.io","127.0.0.1:5080"],"social":["social.krunker.io","social_beta.krunker.io","127.0.0.1:5070"],"editor":["editor.krunker.io","editor_beta.krunker.io","127.0.0.1:5090"],"assets":["assets.krunker.io"],"userAssets":["user-assets.krunker.io"]},"region":{"default":"de-fra","map":{"fra":"de-fra","sv":"us-ca-sv","syd":"au-syd","tok":"jb-hnd","mia":"us-fl","sin":"sgp","ny":"us-nj"},"reverseMap":{"de-fra":"fra","us-ca-sv":"sv","au-syd":"syd","jb-hnd":"tok","us-fl":"mia","sgp":"sin","us-nj":"ny"}},"key":"MfFNnrttL2zWMZeZwmMY6RiNq5LCxhj0QFASBoKh1aujSpHwTRz2ytunxJHmcn23","isSSL":true,"protocol":{"http":"https:","ws":"wss:"}}'); const _0x426f79=_0x19d1;function _0x3e0a(){const _0x50cd3b=['documentElement','isConsentEditable','getContextFields','setConfig','exec','lgTV','deleteTokens','None','max','profile','playSessionIdTimeStamp','/refresh','getFeatures','reduce','send','allSettled','partnerid','facebookApp','href','EMPTY_OPEN_CHANNEL_STORE_IMPLEMENTATION','samsungBrowserUS','ACCESS_TOKEN_KEY','submitScore','shortcut','global_user_id_source','switch','73365mtcUav','getLogger','FACEBOOK_SDK','mobile','accessIssuedAt','tcloaded','fix/store-updated-token-pair','maxfrequency','int','ftue','groupId','3217022605','crucible.frvr.com','then','toISOString','progressiveWebAppEnabled','_isFRVRLoginEnabled','clay','game_play_start','_refreshPayload','Empty\x20Provider','getMyEntry','firstFetch','onSuspend','logDiscoveryPageView','getRefreshPayload','apply','hasConsentForAny','noConsentConsentProvider','Error\x20in\x20getUnconsumedPurchases:\x20','channels','INVALID_CREDENTIALS','COMPLETED','app_version','getIAPProvider','\x20OPR/','legitimateInterestsBitSet','iap_request_payment','logRestorePurchasesSuccess','7978894035','setUserConsent','adShownListeners','bts','lastShownAd','_accessToken','call','response','android','WebsocketClient:\x20Cannot\x20send\x20message,\x20not\x20connected','isInRoom','has','LATENCY_COMPENSATION','getCatalog','samsungGalaxyStorePWA','playSessionId','onunhandledrejection','logConsumePurchase','setPrototypeOf','iapTracker','key','hasOwnProperty','preComplete','resolve','websocket','debugProvider','changePassword','addDevWebListeners','143182fEBsis','beta','TcfV2ConsentProvider','https://hermes.frvr.com/v1/scheduler','microsoft','ON_ERROR','webSocketBuilder','preConsentLoadEventQueue','7640790291','isReady','2961002817','AUTH_RECOVER_CHALLENGE','isAccessValid','firstFetchPromise','getGlobalUserId','getSupportedAPIs','frvr','_accessExpiration','friends','type','Crosspromo\x20not\x20implemented','channelUserId','onFriendStatusUpdated','innerWidth','?productSKUs=','getData','BLOCKED','samsung_galaxy_store','notifyAdShown','getAnalyticsProviders','Failed\x20to\x20load\x20Facebook\x20Instant\x20channel:','fromEntries','8532226134','jio_stb','freeze','initTimeBlock','/entries','1a5010a46ff710646ce2d74a0bb3c431efce234c','FTUE_STEPS_DONE_KEY','mandatory','androidStore','legacy_samsung_gl_fallback','RECONNECT_RETRY_MS','__frvr_rfc_uuidv4','getAllChallenges','not\x20logged\x20in','updateAndValidateCurrentPair','[ads]\x20no\x20providers\x20for','assign','retries','mozilla_lite','getUserId','000000','kongregate','OPERATION_SUCCESS','randomUUID','9997971842','true','fetchFeatures','clientWidth','getLeaderboardsChannelId','idProvider','PLATFORM_LOGIN_FAIL','toString','random','P9MarketResearchForAudienceInsights','getChallengesByOpponents','USER_VERIFIED','registrationConflict','eventStatus','updateIsReady','event\x20type\x20is\x20not\x20supported','context.switchAsync','bcn','addExtraFieldFunction','_frvrID','canInvite','appContextFields','hostOverride','social','timeStart','initFromStorage','getBootstrapper','registerAdsProviders','accessLifespan','registerOnFRVR','baseUrl','getAllLeaderboardsDataOfType','last_day_played','9547456458','getLiveRoomProvider','can_use_cookies=test;','/v1/leaderboards/','dev','samsung_instant_daily','[FRVR-SDK]\x20initialising\x20components','features_loaded','AUTH_REGISTRATION','createShieldOverlay','shouldRefresh','EMPTY_ENTRYPOINT_NAME','getCurrentTournament','getRightmost1Index','postScore','protocol_version','value','[FRVR-SDK]\x20registering\x20ads\x20providers','samsungAppStore','getLeaderboardEntries','kik','Failed\x20to\x20fetch\x20features:\x20','rank','shortcutProvider','Provided\x20credentials\x20are\x20invalid','oppo','getContextId','getFreshUrl','find','blur','forEach','modules','onreadystatechange','initialized','getUTCFullYear','currentPair','isSupportedAPI','getProvidersByType','play_session_count','microsoftPwa','Invalid\x20format\x20on\x20data','accessProvider','FRVR\x20SDK\x20is\x20not\x20initialized','SUCCESS','isLoggingIn','facebook-instant','shield','groups','FRVRInstant','/register','getItems','handleEvent','log','cloudProvider','randomGlobalUserId','^(?:.*_frvr=([^;]*)).*$','analytics','entrypointData','invite','facebook_canvasweb','setDate','Tracker','randomPlaySessionId','clear','game_start_time','setRequestHeader','isChromeWrapper','CANCELED','onerror','samsung-instant','login','COOKIE','windowsApp','/v1/tailor/guest/','rcs','Purchase\x20already\x20owned','advertisementIsDisabled','SAMSUNG_INSTANT','FREQUENCY','TIMED_OUT','platformNotAvailable','\x20failed!','timeoutMs','1749736498226','errors','UNKNOWN','buildComponents','__frvr_ftue_steps_done','blocked','throw','[FRVR-SDK]\x20channel\x20cannot\x20be\x20set\x20after\x20init','socialPlatform','onGameInvite','UNKNOWN_ERROR','getCurrentPlatform','shopfrontId','getFirstIntervalTime','application/json','substr','invitePlayers','appendChild','onAudioSuspend','onError','4822698373','EMPTY_PROFILE','isPlatformAvailable','\x22\x20is\x20not\x20supported','extra','crazyGames','getConnectionStatus','search','getCharacteristics','subscribeScheduleMessages','iOS','oppo_global','setPublicItems','overrideBackendURL','provider','randomIdProvider','samsungbus','AdError','jioGameslite','get_tld','getRoomData','[ads]\x20Ad\x20provider\x20','globalUserIdSource','adleavingapplication','PROACTIVE_REFRESH_THRESHOLD','P5PersonalizedContentProfile','_overrideRemoteConfig','substring','isPersistent','google-internal','FRVRLeaderboards','closedByUser','supportsAutoInitialization','P7MeasureAdPerformance','facebookAppWeb','challenges','sort','enableAnonymousLogin','1526015108','setChannel','updateAsync','all','length','/ws?token=','getConsentedIdProvider','values','SEND_GAME_INVITE','Provided\x20credentials\x20are\x20valid\x20but\x20account\x20is\x20either\x20not\x20confirmed\x20or\x20suspended','defaultFeatures','app_build','configure','2121048oAmwfM','getState','clearTimeout','refreshToken','updateProactiveRefresh','windowsapp','samsung','addPairAsCurrent','legacyAnalytics','facebook_rooms','floor','AdsThrottlerResult','opera','emptyAsyncStorage','invalidFormat','samsungbrowser','survey','timed_out',';\x20domain=','mail_online','jio','/login','anonymousUserId','The\x20requested\x20platform\x20is\x20not\x20available','/timeline','refreshCurrentPair','getShop','windowsMobile','isChromeOSDevice','encode','mfogs','consentIsLoaded','adsenseforgamestest2','facebookInstant','REWARDED_INTERSTITIAL','set1AtIndex','unknownError','self','providers','iMessageContext','pageSessionId','mozilla','chromeWrapper','INIT_TIME','REG_SUCCESS','GET','products','auth','archivedAt','canUseCookies','/v1/leaderboards','rocketChat','onReady','userId','debug','usingWebGLRenderer','consents','AnalyticsIDProviderStorageType','myJio','challengeByContextId','LOCAL_STORAGE','AUTH_VERIFY_CHALLENGE','utm_source','getFriends','remoteABTests','iap_consume_purchase','getUserSource','iMessage','document','analyticsProviders','INVALID_PARAM','cloudStorage','setState','consentProvider','twitter','getCrossplay','P10DevelopAndImproveProducts','2765561693','galaxystore','warn','LATEST','INVALID_OPERATION','Deferred','updateScore','getCachedScore','close','logValuedEvent','/v1/shop/','getTrackerContextProvider','platforms','FeaturesClientNetworkError','[FRVR-SDK\x20-\x20init]\x20config:','channel','Shield\x20overlay\x20is\x20not\x20supported\x20in\x20this\x20channel','[?&]','Platform','randomPlaySessionIdTimeStamp','getName','chromeos','MAX_SAFE_INTEGER','slow','requestPayment','TimeoutError','8289067739','dispatchEvent','every','getTimezoneOffset','tokenPair','P8MeasureContentPerformance','priority','abt','client','onLoginStatusChange','Timeout\x20after\x20','addons','androidVersion','addFriend','ERROR','emptyCrosspromo','IAPServiceClient','DEVELOPMENT','subscribeToPlayerLeft','Env','isAnyValid','init','cmpl','qatoolEnabled','/verify','updateCurrentPair','[FRVR-SDK]\x20setting\x20channel\x20multiple\x20times','/sync','isShieldSupported','scheduleLocalNotification','throttling','harman','apple','yandex','ALREADY_OWNED','loginWithProvider','Unexpected\x20purchase\x20error','samsungBrowserUK','getCurrentChallengeData','isVerified','src','wsClient','overrideMimeType','initiateVerifyChallenge','emptyNotificationsProvider','game_loaded','container','requestingAd','adclosed','isLoggedIn','getPossibleOpponents','queryPublicItems','MAX_PRE_CONSENT_LOAD_EVENT_QUEUE','getActiveTournaments','Token\x20has\x20expired.\x20Request\x20a\x20new\x20challenge\x20to\x20get\x20a\x20fresh\x20one','mynet','PLAY_SESSION_TIMEOUT','Bearer\x20','testName','body','startTime','platformLoginFail','sendBeacon','not_displayed','created','onLoad','onShow','getNotificationsProvider','gameId','[FRVR-SDK]\x20Missing\x20crossplay\x20configuration','sku','ON_LOAD','getShortcutProvider','getFriendByFRVRID','consumePurchase','_refreshExpiration','purchaseId','levelEnd','updatedAt','twitch','loginToFRVR','googleAdSpilgamesId','game8','reward','Unknown\x20product\x20\x22','getPlaySessionId','onModulesUpdated','page_loading','getTime','internal.krunker.io','shouldBlockByFrequency','getRefreshToken','DISCORD','adShownCount','taboola','__esModule','AdShowResult','[FRVR-SDK]\x20running\x20channel\x20ads\x20configuration','tracker','initiateRecoveryChallenge','consentsBitSet','legacy_samsung_browser_us','offset','BANNER','shouldRefreshTokens','get','stopsGameFlow','/config','open','samsungGameLauncher','iap_request_restore_purchase_success','[storage]\x20parsing\x20error\x20on\x20key\x20','branch','MICROSOFT','legacy_samsung_daily','subscribeToPlayerJoined','_frvr=','data','/v1/social','restorePurchases','TIMEDOUT','priceValue','atob','currency','AdsThrottler','show','appWrapper','AdResponseStatus','buildScoreCache','onAuthStatusChange','getEventName','getUnconsumedPurchases','[FRVR-SDK]\x20Missing\x20game\x27s\x20name\x20in\x20configuration','count','undefined','handler','getAvailableLoginPlatforms','FACEBOOK_INSTANT','onConnect','toUTCString','ACCOUNT_NOT_ACTIVE','P6PersonalizedContent','globalUserId','storage','standalone','bot_subscribe_show','loaded','[FRVR-SDK]\x20configuring\x20ads\x20for\x20dev','MAX_FREQUENCY_DEFAULT','samsung_instant_browser_us','getRoomId','timeTillAccessExpiry','removeItem','postInit','4111954147','replace','finally','throttled','bot_subscribe_failure','getEntryPointData','iap_request_restore_purchase','isFacebookRooms','prohibitsLoginWithFRVRCredentials','post-message','syncedFriendsbyChannelIDCache','innerHeight','emptyCommunityProvider','ON_SHOW','USER_INPUT','https://crucible.frvr.com/v1/auth','All','sendGameInvite','logRestorePurchases','legacy_samsung_gl_pwa','code','createShortcut','IAP','days_played','onBeforeInit','ids','register','next','getNavigationProvider','ADSTORAGE_FIRST_TIME_KEY','getUTCDate','notLoggedIn','samsungInstantPlay','setGroups','_resolve','onload','catch','CONNECTING','defaultLifecycle','onMessage','refreshInterval','apiBaseURL','AdSuccess','success','loadStorage','indexOf','invalidrequest','name','StorageIDProvider','contextProvider','withFormattedPrices','loginStatusListeners','initComponents','createLeaderboard','iap_request_payment_success','\x20-\x20','filter','AD_LEAVING_APPLICATION','validateAndReturnJSON','3660984936','utm_term','ontouchend','guid','photo','event\x20type\x20\x22','getAccessToken','[FRVR-SDK]\x20pre\x20complete','getTrackerPlaySessionId','_refreshToken','stack','[FRVR-SDK]\x20error\x20initialising\x20cloud\x20storage','getProviderName','loginSuccess','onConsentChangedHandlers','getPlayerEntries','invalidCredentials','preStoredConfig','getPlatformId','web','removeItems','bixby','dispatchOutstandingEvents','squid','removeFriend','AdFinishedStatus','EMPTY_ENTRYPOINT_DATA','consentToTerms','updateStatus','registrationSuccess','ScoreCachePolicy','imageUrl','crossplay','[FRVR-SDK]\x20configuring\x20ads','game_end','gamelauncher','iap_request_restore_purchase_error','getPurchases','throttler','stringify','7627870781','onHide','THROTTLED','Auto\x20login\x20with\x20platform\x20','tron','ongoingFRVRLogin','emptyAnalyticsIDProvider','Shop\x20access\x20token\x20is\x20required','SURVEY','banner','setup','not\x20ready','appVersion','AD_CLOSED','bits',')\x20has\x20already\x20been\x20tracked','pwa','APPLE','reject','ftuestepsdone','share','8416254215','isRefreshValid','crypto','getTournamentById','Player\x20is\x20not\x20logged\x20in','requiredStates','androidWrapper','AdType','3238562380','entrypoint','&gameId=','platform','dispatchConsentChanged','IN_MEMORY','cmpc','getSkippedAnalyticsEvents','BETA','controls','_platform','mailonline','anonymous','REFRESH_TOKEN_KEY','contextRemoveFn','append','payload','reason','inc','createOverlay','AdTypeProperties','Notifications\x20class\x20should\x20be\x20configured\x20before\x20it\x20is\x20initialized','_isReady','initPromise','tmobile','[FRVR-SDK]\x20post\x20complete','updateStorage','REWARD','from','defineProperty','match','okru','test','IAPPurchaseErrorAlreadyOwned','samsungBrowserSEA','retry','LOGIN_SUCCESS','7269966843','[frvr-tracker]\x20event','shareMessage','updated','setItems','onAudioResume','4xKYlUg','spilGamesWrapper','getPlayerId','iPhoneXOrLater','live','__frvr_analytics_storage','forceFirstAd','img','protocol','syncedFriendsbyFRVRIDCache','purpose','slice','initTime','NOT_LOGGED_IN','message','defaultCharacteristics','samsung_instant_play','currencyCode','context.getID','getGlobalUserIdFromCookie','iap','/user/verified','getProperty','getAllFriends','web_url','getFriendsStatus','_isAnonymousLoginEnabled','mergeAccounts','reconnect','getCurrentChallengeId','_currentPair','nofill','getTimeTillProactiveRefresh','googleAdSiteId','getAllLeaderboardsOfType','frvrID','createdAt','OPEN','price','join','checkpoint','location','params','isFirstAdEver','savePreStoredConfig','FIRST_SESSION_AD_SPEED_RATE','bind','getProfile','UPDATE_STATUS','chatbot','device_info','jio_gameslite','buttons','global_user_id','timedout','canCreateShortcutAsync','setCanUseCookies','_unspecified_','addDefaultWebListeners','parse','getSetScoreProvider','safari','accessToken','onFRVRTokensReceived','refreshTokens','providerFriendsCache','setItem','inMemoryChannelMapper','samsung_game_launcher','facebook_instant','getEntryPointProvider','MIN_PROACTIVE_REFRESH_INTERVAL','https://crucible.frvr.com/v1/iap','utm_campaign','step\x20','getDate','ios','states','_verified','eventListeners','players','managesUnconsentedIds','Error\x20initializing\x20Local\x20Storage\x20provider','/friends/','Cannot\x20perform\x20operation\x20without\x20active\x20login','connected\x20to\x20social\x20server','withChannel','Error\x20in\x20purchase:\x20','getLocalStorageProvider','extraFieldFunctions','string','tokenHandler','postComplete','PublicResponses','iOSWrapper','Unexpected\x20consume\x20error','getPlayers','WebEntryPointProvider','getCrosspromo','adType','trackAdError','includes','delayInSeconds','script_version','hasLoaded','addDefaultListeners','myjio','nosoc','emptyShortcutProvider','apiHost','rcsKr','krunker.io','secureConnection','validatePurchase','getConsentContextFields','fromCharCode','skipped','getCommunityProvider','isSupported','off','productId','sortOrder','addEventListener','getCloudStorageProvider','samsungbsea','listener','INVALID_FORMAT','getCredentials','isLogoutSupported','INTERSTITIAL','https://staging.crucible.frvr.com','vkru','timeout','version','huaweiquickapp','getPageSessionId','MemoryAsyncStorageProvider','game','SKIPPED','contextID','needsConfiguration','onAuthStatusChanged','PLATFORM_NOT_AVAILABLE','on_show','getTimelineEntries','on_load','8436188448','clickjogos','createShortcutAsync','ANALYTICS_STORAGE_KEY','huawei_quick_app','context.isSizeBetween','https://crucible.frvr.com','ab_test_activation','useractioncomplete','WebsocketClient:\x20Cannot\x20send\x20message,\x20not\x20initialised','apiHostOverride','iap_request_payment_failed','shift','emptyEntryPoint','logRequestPaymentError','NETWORK_ERROR','removePreStoredConfig','__FRVR_auth_refresh_token','plonga','NO_THROTTLING','url','Ads','IAPErrorCode','FBInstant','getFreshAccessToken','facebook-web','getSocialProvider','source','getContextData','fetcher','exp','firefoxMobile','Auth','::consentToTerms(NoOpImpl)','Unknown\x20error','utm_content','tMobile','liveRoom','image','focus','timeLoaded','getAdsProviders','initTracker','constructor','complete','no\x20products','webClient','getAuthProviders','hostname','mustThrottle','remoteConfig','RECONNECT_DEFAULT_BACKOFF_MS','[frvr-tracker]\x20ftue:','decodeTokenPayload','willShowAd','logRequestPayment','getOwnPropertyNames','266990CHPLFC','opr','\x20in\x20provider\x20','availableTokens','default','IAPPurchaseErrorCancelledByUser','completed','iframed','HIGHEST','miniclip','pairsPerPlatform','tcfDataBitSet2ConsentOptionsBitSet','availableAt','gl_fallback','samsungBrowser','empty','ftueUnordered','onClose','isFRVRLoginEnabled','headers','now','P1StoreInformationOnADevice','getThirdPartyCredentials','[ads]\x20show\x20error','top','https://staging.crucible.frvr.com/v1/auth','emptyLogger','_accessPayload','delivered','serverError','Auto\x20login\x20with\x20anonymous\x20account\x20failed!','IAP.\x20Product\x20not\x20found','__tcfapi','text/plain;\x20charset=UTF-8','splice','webSocketClientBuilder','getContextPlayers','map','authenticatedFetch','PRODUCTION','partnerWrapper','endTime','nudge','logout','prototype','unhandled_rejection:\x20','NOT_DISPLAYED','isFirstAd','transport','::onLoad()','/products/','sdk','Failed\x20to\x20fetch\x20shop\x20data:\x20','7859627468','samsungBixby','removeEventListener','connectedUser','canCreateShortcut','loginThroughPlatform','verified','context.chooseAsync','isArray','purchase','NOFILL','utm_medium','getLeaderboard','getFriendByChannelId','updateTokensIfValid','serviceClient','userAgent','spil','hide','1941940GrcZhW','networkerror','DELIVERED','jio-stb','Authorization','https://','decode','getMyTournaments','PublicCredentials','function','IAPPurchaseErrorUnknownProduct','HIGHER_IS_BETTER','memory','challengeByPlayerId','/validate/','setScore','addStatusChangeListener','getLeaderboardsProvider','sendUpdate','title','getFormattedPrice','14.11.0','samsungGameLauncherPWA','Error\x20on\x20server','getUTCMonth','silk','mspwa','TokenPair','TokenHandler','INTERNAL_ERROR','FRVRAnalytics','onAdShown','request','fallbackStorageProvider','API','logger','getType','getOwnPropertySymbols',';\x20path=/;\x20expires=','xiaomi','usingCanvasRenderer','POST','responseTypes','loginAsAnonymous','REG_CONFLICT','749264sjHstx','ConsentOptions','_reject','leaderboards','features','checkVerification','logEvent','getLeaderboardById','interstitial','P3PersonalizedAdsProfile','[ads]\x20hide\x20error','getProductById','primaryDebugProvider','onResume','emptyProfile','desc','6218392QLZrlZ','\x20could\x20not\x20be\x20initialised','readyState','emptyAdEventLogger','getLeaderboardEntry','[FRVR-SDK]\x20post\x20init','facebookRooms','FRVR','providerName','fetchAndHandleCommonErrors','Trying\x20to\x20use\x20an\x20empty\x20interface.','config','setProgress','split','in-memory','ufone','logRequestPaymentSuccess','localStorage','networkError','Network\x20Error','crosspromo','IAPServiceClient\x20bad\x20response:\x20','isShieldEnabled','getProducts','IAPError','bootstrapper','getFBIChannel','onConsentChanged','websocket\x20client\x20closed','timeoutActivePromise','activateTimeout','scores','_accessIAT','registeredProviders','crazy_games','samsungGLFallback','leave','getAvailablePlatforms','decorateRequestWithAuth','tournaments','env','create','hasConsentForAll','status','throttlerState','WebsocketClient:\x20Cannot\x20send\x20message,\x20closed\x20by\x20user','connect','INVALID_REQUEST','push','done','set','staging.crucible.frvr.com','entries','fetch','disableNativeBridge','[ads]\x20first\x20time\x20ever?','SOLO','channelId','onOpen','InstallTrigger','9152813246','canUsePublicItems','SERVER_ERROR','enableAppStoreLinks','shop','discord','cookie','autoInit','getConsentProvider','shouldBlockByInitTime','statusText','WebLocalStorageProvider','notifications','getAnalyticsIDProvider','=([^&]*)|).*$','refreshUserIdCookie','createElement','channelCharacteristics','proactiveRefreshTimeoutID','host','3704760038','getChallengesProvider','jioStb','rewarded','setAsCurrent','/v1/tailor/','ads','error','isLoginSupported','P2SelectBasicAds','buildWebAsyncStorage','legacy_samsung_browser_m4s','test-01e0e1c8-2a13-4fe9-b8d0-458a98c4fc89','syncFriends','apiUrl','legitimateInterests','navigation','items','canScheduleMessages','json','ad_','accountNotActive','getId','cache_buster','getFRVRID','Email\x20already\x20registered','scheduleMessage','consentToAllConsentProvider','AsyncStorage','context.getPlayersAsync','score','advertisementInterstitialDisabled','TIMEOUT','huawei','friendsStatus','getItem','coeus.frvr.com/v1/tm5'];_0x3e0a=function(){return _0x50cd3b;};return _0x3e0a();}function _0x19d1(_0x11d552,_0x65400b){const _0x3e0a49=_0x3e0a();return _0x19d1=function(_0x19d1c6,_0x3c0d07){_0x19d1c6=_0x19d1c6-0xc5;let _0x21abef=_0x3e0a49[_0x19d1c6];return _0x21abef;},_0x19d1(_0x11d552,_0x65400b);}(function(_0x42442e,_0x52b60b){const _0x2d203b=_0x19d1,_0x151ed1=_0x42442e();while(!![]){try{const _0x1369dc=-parseInt(_0x2d203b(0x528))/0x1+-parseInt(_0x2d203b(0x446))/0x2+-parseInt(_0x2d203b(0x4e5))/0x3+-parseInt(_0x2d203b(0x306))/0x4*(parseInt(_0x2d203b(0x3d1))/0x5)+parseInt(_0x2d203b(0x15a))/0x6+-parseInt(_0x2d203b(0x419))/0x7+parseInt(_0x2d203b(0x456))/0x8;if(_0x1369dc===_0x52b60b)break;else _0x151ed1['push'](_0x151ed1['shift']());}catch(_0x26e811){_0x151ed1['push'](_0x151ed1['shift']());}}}(_0x3e0a,0x3eeb8));var FRVRSDK=function(_0x1442cc){'use strict';const _0x124ff6=_0x19d1;function _0x51a6d2(_0x1cccd8,_0xa6e569){const _0x5ec2a6=_0x19d1;var _0x5b503f={};for(var _0x11f847 in _0x1cccd8)Object['prototype'][_0x5ec2a6(0x521)][_0x5ec2a6(0x512)](_0x1cccd8,_0x11f847)&&_0xa6e569['indexOf'](_0x11f847)<0x0&&(_0x5b503f[_0x11f847]=_0x1cccd8[_0x11f847]);if(null!=_0x1cccd8&&_0x5ec2a6(0x422)==typeof Object[_0x5ec2a6(0x43e)]){var _0x11f241=0x0;for(_0x11f847=Object[_0x5ec2a6(0x43e)](_0x1cccd8);_0x11f241<_0x11f847[_0x5ec2a6(0x151)];_0x11f241++)_0xa6e569[_0x5ec2a6(0x288)](_0x11f847[_0x11f241])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x5ec2a6(0x512)](_0x1cccd8,_0x11f847[_0x11f241])&&(_0x5b503f[_0x11f847[_0x11f241]]=_0x1cccd8[_0x11f847[_0x11f241]]);}return _0x5b503f;}function _0x2e1bf5(_0x23f8db,_0x531e98,_0x11512a,_0x310c2b){return new(_0x11512a||(_0x11512a=Promise))(function(_0x4a0efd,_0xacd1d4){const _0x4b1842=_0x19d1;function _0xf74bbf(_0x487096){const _0x3654e0=_0x19d1;try{_0x96d6c5(_0x310c2b[_0x3654e0(0x276)](_0x487096));}catch(_0x436866){_0xacd1d4(_0x436866);}}function _0x59ba63(_0x27665f){const _0x4b25d1=_0x19d1;try{_0x96d6c5(_0x310c2b[_0x4b25d1(0x119)](_0x27665f));}catch(_0x5ec7af){_0xacd1d4(_0x5ec7af);}}function _0x96d6c5(_0x4dd0de){const _0x56bd7f=_0x19d1;var _0x5b8f7d;_0x4dd0de[_0x56bd7f(0x487)]?_0x4a0efd(_0x4dd0de['value']):(_0x5b8f7d=_0x4dd0de[_0x56bd7f(0xd0)],_0x5b8f7d instanceof _0x11512a?_0x5b8f7d:new _0x11512a(function(_0x481bd9){_0x481bd9(_0x5b8f7d);}))['then'](_0xf74bbf,_0x59ba63);}_0x96d6c5((_0x310c2b=_0x310c2b[_0x4b1842(0x4ff)](_0x23f8db,_0x531e98||[]))[_0x4b1842(0x276)]());});}var _0x1d56fc;_0x124ff6(0x422)==typeof SuppressedError&&SuppressedError,_0x1442cc[_0x124ff6(0x1d4)]=void 0x0,(_0x1d56fc=_0x1442cc[_0x124ff6(0x1d4)]||(_0x1442cc['Env']={}))['DEVELOPMENT']=_0x124ff6(0x585),_0x1d56fc[_0x124ff6(0x2e3)]=_0x124ff6(0x529),_0x1d56fc[_0x124ff6(0x3f8)]='prod';const _0x3cdeb2={'log':()=>{},'error':()=>{},'warn':()=>{},'info':()=>{},'debug':()=>{}};class _0x14cacd{constructor({provider:_0x18b016,logger:_0xb3b839}){const _0x464285=_0x124ff6;this[_0x464285(0x135)]=_0x18b016,this['logger']=_0xb3b839||_0x3cdeb2;}[_0x124ff6(0x304)](_0x34e7b3){const _0x5b2d66=_0x124ff6,_0x58f6ed=_0x34e7b3[_0x5b2d66(0x3f6)](({key:_0x1f3254,value:_0x3f8e0f})=>({'key':_0x1f3254,'value':JSON[_0x5b2d66(0x2bd)](_0x3f8e0f)}));return this[_0x5b2d66(0x135)]['setItems'](_0x58f6ed);}[_0x124ff6(0xf2)](_0x2b1527){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x4d7b34=_0x19d1,_0x5c88df=yield this[_0x4d7b34(0x135)][_0x4d7b34(0xf2)](_0x2b1527),_0x4b1b80={};for(const _0x14d18d in _0x5c88df)try{_0x4b1b80[_0x14d18d]=JSON[_0x4d7b34(0x341)](_0x5c88df[_0x14d18d]);}catch(_0x51cf6d){_0x4b1b80[_0x14d18d]=_0x5c88df[_0x14d18d],this[_0x4d7b34(0x43c)]['error'](_0x4d7b34(0x230)+_0x14d18d,_0x51cf6d[_0x4d7b34(0x314)]);}return _0x4b1b80;});}[_0x124ff6(0x2aa)](_0xfcbb49){const _0x307681=_0x124ff6;return this[_0x307681(0x135)][_0x307681(0x2aa)](_0xfcbb49);}['setItem'](_0x94f34c,_0x5e55d8){const _0x5a018d=_0x124ff6;return this[_0x5a018d(0x135)]['setItems']([{'key':_0x94f34c,'value':JSON['stringify'](_0x5e55d8)}]);}[_0x124ff6(0x4c9)](_0x4d6daf,_0x2eefaa){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x13628c=_0x19d1;let _0xa63ecf;const _0x1f126f=(yield this[_0x13628c(0x135)]['getItems']([_0x4d6daf]))[_0x4d6daf];try{_0xa63ecf=void 0x0!==_0x1f126f?JSON['parse'](_0x1f126f):_0x2eefaa;}catch(_0x57936c){_0xa63ecf=null!=_0x2eefaa?_0x2eefaa:_0x1f126f,this['logger'][_0x13628c(0x4ad)](_0x13628c(0x230)+_0x4d6daf,_0x57936c['message']);}return _0xa63ecf;});}['removeItem'](_0x3fbee5){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x71587b=_0x19d1;return this[_0x71587b(0x135)][_0x71587b(0x2aa)]([_0x3fbee5]);});}[_0x124ff6(0x143)](){const _0x1cfde8=_0x124ff6;return this[_0x1cfde8(0x135)][_0x1cfde8(0x143)]();}}const _0x32e134=_0x124ff6(0x4b2);class _0x5af9fd{static[_0x124ff6(0x37c)](){const _0x1d1f98=_0x124ff6;try{return window[_0x1d1f98(0x467)]['setItem'](_0x32e134,_0x1d1f98(0x2fb)),window['localStorage']['removeItem'](_0x32e134),!0x0;}catch(_0x466647){return!0x1;}}[_0x124ff6(0x304)](_0x5cecb3){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x552c59=_0x19d1;for(const _0x57e90c of _0x5cecb3)window['localStorage'][_0x552c59(0x348)](_0x57e90c[_0x552c59(0x520)],_0x57e90c[_0x552c59(0xd0)]);});}['getItems'](_0x19afe0){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x182c62=_0x19d1,_0x2f4c31={};for(const _0xbf4e1c of _0x19afe0){const _0x59999b=window['localStorage'][_0x182c62(0x4c9)](_0xbf4e1c);null!==_0x59999b&&(_0x2f4c31[_0xbf4e1c]=_0x59999b);}return _0x2f4c31;});}['removeItems'](_0x3432b6){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x1ddfb6=_0x19d1;for(const _0x33157c of _0x3432b6)window[_0x1ddfb6(0x467)][_0x1ddfb6(0x259)](_0x33157c);});}[_0x124ff6(0x143)](){return!0x0;}}_0x5af9fd['providerName']=_0x124ff6(0x2a9);class _0x3f9007{constructor(){const _0x370a77=_0x124ff6;this[_0x370a77(0x154)]={};}[_0x124ff6(0x304)](_0xe82644){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x2f80c8=_0x19d1;for(const _0x2e1342 of _0xe82644)this[_0x2f80c8(0x154)][_0x2e1342[_0x2f80c8(0x520)]]=_0x2e1342[_0x2f80c8(0xd0)];});}[_0x124ff6(0xf2)](_0x36d9be){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x40efe6=_0x19d1,_0x1cc5d1={};for(const _0x5548c5 of _0x36d9be){const _0x365e9d=this[_0x40efe6(0x154)][_0x5548c5];void 0x0!==_0x365e9d&&(_0x1cc5d1[_0x5548c5]=_0x365e9d);}return _0x1cc5d1;});}[_0x124ff6(0x2aa)](_0x5c8291){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x174eb6=_0x19d1;for(const _0x58df46 of _0x5c8291)delete this[_0x174eb6(0x154)][_0x58df46];});}['isPersistent'](){return!0x1;}}_0x3f9007[_0x124ff6(0x45e)]=_0x124ff6(0x425);const _0x1dd9ff=new _0x14cacd({'provider':new _0x3f9007()}),_0x1c4145=_0x1389c7=>{const _0xc6389d=_0x124ff6;for(const _0x190bf4 of _0x1389c7)switch(_0x190bf4){case _0x5af9fd['providerName']:if(_0x5af9fd['isSupported']())return new _0x5af9fd();break;case _0x3f9007[_0xc6389d(0x45e)]:return new _0x3f9007();default:throw new Error('Unsupported\x20Local\x20Storage\x20provider');}throw new Error(_0xc6389d(0x358));},_0x251394={'init':()=>Promise[_0x124ff6(0x523)](),'setProgress':()=>{},'complete':()=>Promise[_0x124ff6(0x523)]()};function _0x1f9049(){const _0x179df7=_0x124ff6;this['code']='INVALID_OPERATION',this['message']=_0x179df7(0x460);}const _0x444f6b={'init':()=>_0x2e1bf5(void 0x0,void 0x0,void 0x0,function*(){}),'canCreateShortcut':()=>Promise['resolve'](!0x1),'createShortcut':()=>Promise[_0x124ff6(0x2d0)](new _0x1f9049())};function _0x53cc4f(){const _0x26fd5a=_0x124ff6;this['code']=_0x26fd5a(0x1ab),this[_0x26fd5a(0x314)]=_0x26fd5a(0x460);}const _0x591781={'needsConfiguration':()=>!0x1,'canMoveToMobile':()=>Promise[_0x124ff6(0x523)](!0x1),'moveToMobile':()=>Promise[_0x124ff6(0x2d0)](new _0x53cc4f())};var _0x5dd3ea;_0x1442cc['ConsentOptions']=void 0x0,(_0x5dd3ea=_0x1442cc[_0x124ff6(0x447)]||(_0x1442cc[_0x124ff6(0x447)]={}))[_0x5dd3ea[_0x124ff6(0x4d2)]=0x0]='None',_0x5dd3ea[_0x5dd3ea['P1StoreInformationOnADevice']=0x2]=_0x124ff6(0x3e6),_0x5dd3ea[_0x5dd3ea[_0x124ff6(0x4af)]=0x4]=_0x124ff6(0x4af),_0x5dd3ea[_0x5dd3ea['P3PersonalizedAdsProfile']=0x8]=_0x124ff6(0x44f),_0x5dd3ea[_0x5dd3ea['P4PersonalizedAds']=0x10]='P4PersonalizedAds',_0x5dd3ea[_0x5dd3ea['P5PersonalizedContentProfile']=0x20]=_0x124ff6(0x140),_0x5dd3ea[_0x5dd3ea[_0x124ff6(0x24e)]=0x40]='P6PersonalizedContent',_0x5dd3ea[_0x5dd3ea[_0x124ff6(0x148)]=0x80]='P7MeasureAdPerformance',_0x5dd3ea[_0x5dd3ea[_0x124ff6(0x1c6)]=0x100]=_0x124ff6(0x1c6),_0x5dd3ea[_0x5dd3ea[_0x124ff6(0x569)]=0x200]=_0x124ff6(0x569),_0x5dd3ea[_0x5dd3ea[_0x124ff6(0x1a6)]=0x400]=_0x124ff6(0x1a6),_0x5dd3ea[_0x5dd3ea[_0x124ff6(0x26b)]=0x7fe]='All';const _0x310f23={'consentToTerms':()=>{},'onConsentChanged'(_0x4612c1){},'hasConsentForAll':(_0x2ceecd,_0x8db48b)=>!0x1,'hasConsentForAny':(_0x41ad43,_0x2e98ee)=>!0x1,'consents':()=>_0x1442cc[_0x124ff6(0x447)][_0x124ff6(0x4d2)],'legitimateInterests':()=>_0x1442cc['ConsentOptions'][_0x124ff6(0x4d2)],'hasLoaded':()=>!0x0,'isConsentEditable':()=>!0x1,'supportsAutoInitialization':()=>!0x0},_0xc9c5f7={'consentToTerms':()=>{},'onConsentChanged'(_0x9f39c6){},'hasConsentForAll':(_0xcd72e7,_0x5c4945)=>!0x0,'hasConsentForAny':(_0x2c0646,_0x17faa6)=>!0x0,'consents':()=>_0x1442cc[_0x124ff6(0x447)][_0x124ff6(0x26b)],'legitimateInterests':()=>_0x1442cc[_0x124ff6(0x447)][_0x124ff6(0x26b)],'hasLoaded':()=>!0x0,'isConsentEditable':()=>!0x1,'supportsAutoInitialization':()=>!0x1},_0x1b5355={'id':()=>'','name':()=>'','nickname':()=>'','image':()=>'','loadImage':()=>Promise['reject'](new Error(_0x124ff6(0x128)))},_0x131355={'allowExternalLinks':!0x0,'allowInternalLinks':!0x0,'allowNavigation':!0x0,'allowSendBeacon':!0x0,'allowThirdPartyDomains':!0x0,'hasDedicatedLoadingScreen':!0x0},_0x741788={'getData':()=>Promise[_0x124ff6(0x2d0)](new Error(_0x124ff6(0x2b0))),'getName':()=>Promise[_0x124ff6(0x2d0)](new Error(_0x124ff6(0xcb)))},_0x2b9150={'canFollowOfficialPage':()=>Promise[_0x124ff6(0x523)](!0x1),'followOfficialPage':()=>Promise[_0x124ff6(0x2d0)](new Error('EMPTY_FOLLOW_OFFICIAL_PAGE')),'canJoinOfficialGroup':()=>Promise[_0x124ff6(0x523)](!0x1),'joinOfficialGroup':()=>Promise['reject'](new Error('EMPTY_FOLLOW_OFFICIAL_GROUP'))};class _0x401402 extends Promise{constructor(_0x13e6e5){const _0x583583=_0x124ff6;let _0x3e5a02,_0x260886;super((_0x5bc244,_0x376c38)=>{_0x3e5a02=_0x5bc244,_0x260886=_0x376c38;}),this[_0x583583(0x27d)]=_0x3e5a02,this['_reject']=_0x260886,null==_0x13e6e5||_0x13e6e5(_0x3e5a02,_0x260886);}[_0x124ff6(0x523)](_0x2beab9){const _0x51a701=_0x124ff6;this[_0x51a701(0x27d)](_0x2beab9);}['reject'](_0x3f7d1c){const _0x4a1005=_0x124ff6;this[_0x4a1005(0x448)](_0x3f7d1c);}}const _0x2c44d8={'canNavigate':()=>!0x1,'navigate':()=>{throw new Error('EMPTY_NAVIGATE_IMPLEMENTATION');},'canOpenChannelAppStore':()=>!0x1,'openChannelAppStore':()=>{const _0x4181eb=_0x124ff6;throw new Error(_0x4181eb(0x4de));}},_0x19818f={'canCrosspromo':()=>Promise[_0x124ff6(0x523)](!0x1),'openGame':()=>{const _0x453456=_0x124ff6;throw new Error(_0x453456(0x53c));}};var _0x14e66f;_0x1442cc[_0x124ff6(0x2da)]=void 0x0,(_0x14e66f=_0x1442cc[_0x124ff6(0x2da)]||(_0x1442cc[_0x124ff6(0x2da)]={}))[_0x124ff6(0x387)]=_0x124ff6(0x44e),_0x14e66f[_0x124ff6(0x2f6)]=_0x124ff6(0x214),_0x14e66f[_0x124ff6(0x228)]=_0x124ff6(0x2c7),_0x14e66f['SURVEY']=_0x124ff6(0x16a),_0x14e66f[_0x124ff6(0x17c)]='rewarded-interstitial';const _0x2d7564={[_0x1442cc[_0x124ff6(0x2da)][_0x124ff6(0x387)]]:{'stopsGameFlow':!0x0,'throttleable':!0x0},[_0x1442cc[_0x124ff6(0x2da)]['REWARD']]:{'stopsGameFlow':!0x0,'throttleable':!0x1},[_0x1442cc[_0x124ff6(0x2da)][_0x124ff6(0x228)]]:{'stopsGameFlow':!0x1,'throttleable':!0x1},[_0x1442cc[_0x124ff6(0x2da)]['SURVEY']]:{'stopsGameFlow':!0x0,'throttleable':!0x0},[_0x1442cc[_0x124ff6(0x2da)]['REWARDED_INTERSTITIAL']]:{'stopsGameFlow':!0x0,'throttleable':!0x0}},_0x4d91d1={'onSuspend':()=>{},'onResume':()=>{},'onAudioSuspend':()=>{},'onAudioResume':()=>{}};var _0x81b451,_0x2e4d3a,_0x522434;_0x1442cc[_0x124ff6(0x285)]=void 0x0,(_0x81b451=_0x1442cc[_0x124ff6(0x285)]||(_0x1442cc[_0x124ff6(0x285)]={}))['DELIVERED']='delivered',_0x81b451[_0x124ff6(0x505)]=_0x124ff6(0x3d7),_0x1442cc['AdError']=void 0x0,(_0x2e4d3a=_0x1442cc[_0x124ff6(0x138)]||(_0x1442cc[_0x124ff6(0x138)]={}))[_0x124ff6(0x208)]=_0x124ff6(0x397),_0x2e4d3a[_0x124ff6(0x268)]=_0x124ff6(0x395),_0x2e4d3a[_0x124ff6(0x542)]=_0x124ff6(0x118),_0x2e4d3a[_0x124ff6(0x410)]=_0x124ff6(0x325),_0x2e4d3a[_0x124ff6(0x10f)]=_0x124ff6(0x16b),_0x1442cc[_0x124ff6(0x165)]=void 0x0,(_0x522434=_0x1442cc[_0x124ff6(0x165)]||(_0x1442cc['AdsThrottlerResult']={}))[_0x522434[_0x124ff6(0x3ab)]=0x0]=_0x124ff6(0x3ab),_0x522434[_0x124ff6(0x185)]=_0x124ff6(0x185),_0x522434[_0x124ff6(0x10e)]='FREQUENCY';class _0x464160{constructor(){const _0x25d8a7=_0x124ff6;this[_0x25d8a7(0x4ec)]=0x0,this[_0x25d8a7(0x54b)]=0x0,this['forceFirstAd']=!0x1,this[_0x25d8a7(0x255)]=0x493e0,this[_0x25d8a7(0x333)]=0x3;}[_0x124ff6(0x120)](_0x46d64a){const _0x8b41a5=_0x124ff6,_0x20739d=_0x46d64a[_0x8b41a5(0x331)]?this[_0x8b41a5(0x4ec)]:this['maxfrequency']/this[_0x8b41a5(0x333)];return _0x46d64a[_0x8b41a5(0x312)]-_0x20739d;}['getInitialisedState'](_0xcd12c1){const _0x53c42a=_0x124ff6;return _0xcd12c1[_0x53c42a(0x510)]?_0xcd12c1:Object[_0x53c42a(0x558)](Object[_0x53c42a(0x558)]({},_0xcd12c1),{'lastShownAd':this[_0x53c42a(0x120)](_0xcd12c1)});}['shouldBlockByInitTime'](_0x2d6080,_0x3f128d){const _0x29f6b8=_0x124ff6;return _0x3f128d-_0x2d6080[_0x29f6b8(0x312)]0x0&&_0x4e111e{}};var _0x4b38dc,_0x1ed61e;_0x1442cc[_0x124ff6(0x240)]=void 0x0,(_0x4b38dc=_0x1442cc[_0x124ff6(0x240)]||(_0x1442cc['AdResponseStatus']={}))[_0x124ff6(0x2cb)]=_0x124ff6(0x1f1),_0x4b38dc[_0x124ff6(0x294)]=_0x124ff6(0x13e),_0x4b38dc[_0x124ff6(0x103)]='canceled',_0x4b38dc[_0x124ff6(0x1cf)]=_0x124ff6(0x4ad),_0x4b38dc[_0x124ff6(0x436)]='internalerror',_0x4b38dc[_0x124ff6(0x485)]=_0x124ff6(0x289),_0x4b38dc[_0x124ff6(0x3a7)]=_0x124ff6(0x41a),_0x4b38dc['NOFILL']=_0x124ff6(0x325),_0x4b38dc[_0x124ff6(0xeb)]=_0x124ff6(0x286),_0x4b38dc[_0x124ff6(0x2c0)]=_0x124ff6(0x25e),_0x4b38dc[_0x124ff6(0x4c6)]='timeout',_0x1442cc[_0x124ff6(0x2af)]=void 0x0,(_0x1ed61e=_0x1442cc[_0x124ff6(0x2af)]||(_0x1442cc[_0x124ff6(0x2af)]={}))[_0x124ff6(0x1cf)]='error',_0x1ed61e[_0x124ff6(0x410)]=_0x124ff6(0x325),_0x1ed61e[_0x124ff6(0x390)]=_0x124ff6(0x37a),_0x1ed61e[_0x124ff6(0xeb)]='success',_0x1ed61e[_0x124ff6(0x239)]=_0x124ff6(0x33c);const _0x117006={[_0x1442cc[_0x124ff6(0x2da)][_0x124ff6(0x387)]]:_0x124ff6(0x54f),[_0x1442cc[_0x124ff6(0x2da)][_0x124ff6(0x2f6)]]:_0x124ff6(0x4a9),[_0x1442cc['AdType'][_0x124ff6(0x228)]]:_0x124ff6(0x2c7)};class _0x1f2687{constructor(_0x1fadce,_0x5b4464){const _0xf60928=_0x124ff6;this[_0xf60928(0x223)]=_0x1fadce,this['params']=_0x5b4464;}[_0x124ff6(0x243)](_0x43778a){const _0x1f15b3=_0x124ff6;var _0x358ef6;return _0x1f15b3(0x4ba)+(null!==(_0x358ef6=_0x117006[this[_0x1f15b3(0x330)][_0x1f15b3(0x369)]])&&void 0x0!==_0x358ef6?_0x358ef6:this[_0x1f15b3(0x330)][_0x1f15b3(0x369)])+'_'+_0x43778a;}[_0x124ff6(0x44c)](_0x8418e8,_0x5cdca7){const _0x29ee7e=_0x124ff6;this[_0x29ee7e(0x223)]['logEvent'](_0x8418e8,_0x5cdca7,_0x1442cc[_0x29ee7e(0x447)][_0x29ee7e(0x4d2)]);}[_0x124ff6(0x1f0)](_0x1c1684,_0x5ac68e){const _0x40bef7=_0x124ff6,_0x1fc53c=this[_0x40bef7(0x243)](_0x40bef7(0x439));this['logEvent'](_0x1fc53c,Object[_0x40bef7(0x558)](Object[_0x40bef7(0x558)]({},_0x5ac68e),{'provider':this[_0x40bef7(0x330)][_0x40bef7(0x135)],'advertisement_id':_0x1c1684}));}['receivedAdResponse'](_0x4258b8,_0x48d3eb,_0x3d7bc0){const _0x578a62=_0x124ff6,_0x5045f5=this[_0x578a62(0x243)](_0x578a62(0x513));this[_0x578a62(0x44c)](_0x5045f5,Object['assign'](Object[_0x578a62(0x558)]({},_0x3d7bc0),{'provider':this[_0x578a62(0x330)][_0x578a62(0x135)],'advertisement_id':_0x48d3eb,'ad_response':_0x4258b8}));}[_0x124ff6(0x3ce)](_0x27246c,_0x29ccb3,_0x2a20ac){const _0x5c5a6b=_0x124ff6,_0x19bc04=this['getEventName'](_0x5c5a6b(0x23e));this[_0x5c5a6b(0x44c)](_0x19bc04,Object[_0x5c5a6b(0x558)](Object['assign']({},_0x2a20ac),{'provider':this[_0x5c5a6b(0x330)][_0x5c5a6b(0x135)],'advertisement_id':_0x29ccb3,'preloaded':_0x27246c}));}['finishedAd'](_0x40dc31,_0xbda9c8,_0x2af320){const _0x5100d3=_0x124ff6,_0x2518a5=this[_0x5100d3(0x243)]('finish');this[_0x5100d3(0x44c)](_0x2518a5,Object[_0x5100d3(0x558)](Object[_0x5100d3(0x558)]({},_0x2af320),{'provider':this[_0x5100d3(0x330)][_0x5100d3(0x135)],'advertisement_id':_0xbda9c8,'ad_result':_0x40dc31}));}}var _0x754b33,_0xcad88c;_0x1442cc[_0x124ff6(0x221)]=void 0x0,(_0x754b33=_0x1442cc[_0x124ff6(0x221)]||(_0x1442cc[_0x124ff6(0x221)]={}))[_0x124ff6(0x3ff)]=_0x124ff6(0x200),_0x754b33[_0x124ff6(0x41b)]=_0x124ff6(0x3ed),_0x754b33[_0x124ff6(0x505)]='completed';class _0x3de74a{constructor({env:_0x4e38ee,logger:_0x3385a8=_0x3cdeb2,throttler:_0x418ff4,storage:_0x2ff83e=_0x1dd9ff,tracker:_0x455ddb=_0x3f5a6c,controls:_0x490851=_0x4d91d1,onBeforeInit:_0x41370c=()=>Promise[_0x124ff6(0x523)]()}={}){const _0x1ddaf2=_0x124ff6;this['config']={},this[_0x1ddaf2(0x477)]={},this['providers']=[],this['ADSTORAGE_FIRST_TIME_KEY']='__ads_firstTimeView',this[_0x1ddaf2(0x50e)]=[],this[_0x1ddaf2(0x21e)]={[_0x1442cc[_0x1ddaf2(0x2da)][_0x1ddaf2(0x387)]]:0x0,[_0x1442cc[_0x1ddaf2(0x2da)][_0x1ddaf2(0x2f6)]]:0x0,[_0x1442cc['AdType'][_0x1ddaf2(0x228)]]:0x0,[_0x1442cc[_0x1ddaf2(0x2da)][_0x1ddaf2(0x2c6)]]:0x0,[_0x1442cc['AdType']['REWARDED_INTERSTITIAL']]:0x0},this['AdType']=_0x1442cc[_0x1ddaf2(0x2da)],this[_0x1ddaf2(0x285)]=_0x1442cc[_0x1ddaf2(0x285)],this[_0x1ddaf2(0x221)]=_0x1442cc[_0x1ddaf2(0x221)],this[_0x1ddaf2(0x47e)]=_0x4e38ee,this[_0x1ddaf2(0x43c)]=_0x3385a8,this[_0x1ddaf2(0x2bc)]=_0x418ff4||new _0x464160(),this[_0x1ddaf2(0x250)]=_0x2ff83e,this[_0x1ddaf2(0x223)]=_0x455ddb,this[_0x1ddaf2(0x2e4)]=_0x490851,this[_0x1ddaf2(0x273)]=_0x41370c,this[_0x1ddaf2(0x482)]={'initTime':new Date()['getTime'](),'isFirstAd':!0x0,'isFirstAdEver':!0x1,'lastShownAd':0x0};}['register'](_0x10fdf8){const _0x560806=_0x124ff6,_0xffb07=_0x10fdf8['getName']()+'#'+_0x10fdf8[_0x560806(0x43d)]();this['registeredProviders'][_0xffb07]=_0x10fdf8;}[_0x124ff6(0x159)](_0x19bd98){const _0x6bc0f9=_0x124ff6;this[_0x6bc0f9(0x461)]=_0x19bd98;}[_0x124ff6(0x1d6)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0xf6e341=_0x19d1;var _0xfab690;yield null===(_0xfab690=this['onBeforeInit'])||void 0x0===_0xfab690?void 0x0:_0xfab690[_0xf6e341(0x512)](this),this[_0xf6e341(0x482)][_0xf6e341(0x331)]=(yield this[_0xf6e341(0x250)][_0xf6e341(0x4c9)](this['ADSTORAGE_FIRST_TIME_KEY'],!0x0))||!0x1,this['logger'][_0xf6e341(0xf4)](_0xf6e341(0x48d),this[_0xf6e341(0x482)][_0xf6e341(0x331)]),this[_0xf6e341(0x2bc)][_0xf6e341(0x1d6)](this[_0xf6e341(0x461)][_0xf6e341(0x1df)]||{});const _0x2d4311=[...this[_0xf6e341(0x461)][_0xf6e341(0x180)]||[]];_0x2d4311[_0xf6e341(0x14b)]((_0x4b4eda,_0x54d314)=>_0x4b4eda[_0xf6e341(0x1c7)]-_0x54d314[_0xf6e341(0x1c7)]);const _0x14b29e=_0x2d4311['map'](_0x244bc1=>{const _0x4534c4=_0xf6e341,_0x16f9db=_0x244bc1['name']+'#'+_0x244bc1[_0x4534c4(0x53b)];return{'provider':this[_0x4534c4(0x477)][_0x16f9db],'providerConfig':_0x244bc1,'key':_0x16f9db};})[_0xf6e341(0x293)](({provider:_0x27f14c})=>_0x27f14c)[_0xf6e341(0x3f6)](({provider:_0x397e27,providerConfig:_0x16f30d,key:_0x41d7e0})=>{const _0x5d1c18=_0xf6e341,_0x2e8e7c=new _0x1f2687(this['tracker'],{'adType':_0x397e27[_0x5d1c18(0x43d)](),'provider':_0x397e27[_0x5d1c18(0x1bb)]()});return _0x397e27[_0x5d1c18(0x1d6)](_0x16f30d,this[_0x5d1c18(0x2e4)],_0x2e8e7c)[_0x5d1c18(0x4f2)](()=>_0x397e27)[_0x5d1c18(0x27f)](_0x1baa4a=>{const _0x54e036=_0x5d1c18;this[_0x54e036(0x43c)][_0x54e036(0x1a9)](_0x54e036(0x13c)+_0x41d7e0+_0x54e036(0x457),_0x1baa4a);});}),_0x35b4ee=(yield Promise['all'](_0x14b29e))[_0xf6e341(0x293)](_0x363ee2=>void 0x0!==_0x363ee2);this['providers']=_0x35b4ee;});}['getProviders'](){return this['providers'];}[_0x124ff6(0xe5)](_0x27bb82){const _0x12fe5f=_0x124ff6;return this[_0x12fe5f(0x180)]['filter'](_0x27844d=>_0x27844d[_0x12fe5f(0x43d)]()===_0x27bb82);}[_0x124ff6(0x37c)](_0x2a9243){return this['getProvidersByType'](_0x2a9243)['length']>0x0;}[_0x124ff6(0x531)](_0x3e5c85){const _0x29c131=_0x124ff6;return void 0x0!==this['getProvidersByType'](_0x3e5c85)[_0x29c131(0xdc)](_0x4def9d=>_0x4def9d[_0x29c131(0x531)]());}[_0x124ff6(0x23e)](_0x11e228){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x1b896a=_0x19d1,_0x3ccd6e=_0x2d7564[_0x11e228]['throttleable'];if(_0x3ccd6e){const _0x43b508=this[_0x1b896a(0x2bc)][_0x1b896a(0x3c9)](this[_0x1b896a(0x482)]);if(_0x43b508)return this['logger']['log']('[ads]\x20Ad\x20was\x20throttled,\x20reason\x20=',_0x43b508),Promise[_0x1b896a(0x523)](_0x1442cc[_0x1b896a(0x221)]['NOT_DISPLAYED']);}const _0x32584b=this[_0x1b896a(0xe5)](_0x11e228);0x0===_0x32584b['length']&&this[_0x1b896a(0x43c)][_0x1b896a(0x4ad)](_0x1b896a(0x557),_0x11e228);let _0x5c76be=!0x1;const _0xaff132=yield function(_0x454c3e,_0x3789c5){const _0x15a1c5=_0x464dcd=>{const _0x31f6b7=_0x19d1,_0x31425e=_0x454c3e[_0x464dcd];return _0x31425e?_0x3789c5(_0x31425e)[_0x31f6b7(0x4f2)](_0xcf4656=>void 0x0===_0xcf4656?_0x15a1c5(_0x464dcd+0x1):_0xcf4656):Promise[_0x31f6b7(0x523)](void 0x0);};return _0x15a1c5(0x0);}(_0x32584b,_0x19c4a7=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x3aa1ba=_0x1b896a;try{if(!_0x19c4a7['isReady']())return void this[_0x3aa1ba(0x43c)]['warn']('[ads]\x20provider',_0x19c4a7[_0x3aa1ba(0x1bb)](),_0x3aa1ba(0x2c9));_0x5c76be||!_0x2d7564[_0x11e228][_0x3aa1ba(0x22b)]||_0x19c4a7['useManualControl']()||(this[_0x3aa1ba(0x2e4)][_0x3aa1ba(0x4fc)](),this[_0x3aa1ba(0x2e4)][_0x3aa1ba(0x125)](),_0x5c76be=!0x0),this[_0x3aa1ba(0x43c)][_0x3aa1ba(0xf4)]('[ads]\x20showing',_0x19c4a7[_0x3aa1ba(0x1bb)](),'for',_0x11e228);const _0x18df51=yield _0x19c4a7[_0x3aa1ba(0x23e)]();return!0x1===_0x18df51['success']&&(this[_0x3aa1ba(0x43c)][_0x3aa1ba(0x4ad)](_0x3aa1ba(0x3e8),_0x18df51['message']),this[_0x3aa1ba(0x36a)](_0x19c4a7,_0x11e228,_0x18df51)),_0x18df51[_0x3aa1ba(0x286)]?_0x18df51[_0x3aa1ba(0x26f)]:void 0x0;}catch(_0x86d00c){this[_0x3aa1ba(0x43c)][_0x3aa1ba(0x4ad)](_0x3aa1ba(0x3e8),_0x86d00c);}}));return _0x5c76be&&(this[_0x1b896a(0x2e4)][_0x1b896a(0x305)](),this[_0x1b896a(0x2e4)][_0x1b896a(0x453)]()),void 0x0!==_0xaff132?(this[_0x1b896a(0x47e)]===_0x1442cc[_0x1b896a(0x1d4)]['DEVELOPMENT']&&window[_0x1b896a(0x3bf)](),_0x3ccd6e&&(this['throttlerState']=this[_0x1b896a(0x2bc)][_0x1b896a(0x32e)](this[_0x1b896a(0x482)]),yield this[_0x1b896a(0x250)][_0x1b896a(0x348)](this[_0x1b896a(0x278)],!0x1)),this['adShownCount'][_0x11e228]=(this[_0x1b896a(0x21e)][_0x11e228]||0x0)+0x1,this[_0x1b896a(0x544)](_0x11e228,_0xaff132),_0xaff132===_0x1442cc['AdSuccess']['COMPLETED']?_0x1442cc[_0x1b896a(0x221)][_0x1b896a(0x505)]:_0x1442cc[_0x1b896a(0x221)][_0x1b896a(0x41b)]):(this['logger']['warn']('[ads]\x20no\x20ad\x20shown\x20for',_0x11e228),_0x1442cc[_0x1b896a(0x221)][_0x1b896a(0x3ff)]);});}[_0x124ff6(0x418)](_0x398c85){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x2981b8=_0x19d1,_0x148bb7=this['getProvidersByType'](_0x398c85);for(const _0xb30e3e of _0x148bb7)try{yield _0xb30e3e[_0x2981b8(0x418)]();}catch(_0x15bdfe){this[_0x2981b8(0x43c)][_0x2981b8(0x4ad)](_0x2981b8(0x450),_0x15bdfe);}});}[_0x124ff6(0x50d)](_0x2bbd36){this['providers']['forEach'](_0x1e3cf2=>{const _0x1a88d8=_0x19d1;var _0x4d0377;return null===(_0x4d0377=_0x1e3cf2['setUserConsent'])||void 0x0===_0x4d0377?void 0x0:_0x4d0377[_0x1a88d8(0x512)](_0x1e3cf2,_0x2bbd36);});}[_0x124ff6(0x438)](_0x561837){const _0x1c20cd=_0x124ff6;return this[_0x1c20cd(0x50e)][_0x1c20cd(0x486)](_0x561837),()=>{const _0x18f0c2=_0x1c20cd,_0x23a975=this['adShownListeners'][_0x18f0c2(0x288)](_0x561837);_0x23a975>=0x0&&this['adShownListeners'][_0x18f0c2(0x3f3)](_0x23a975,0x1);};}[_0x124ff6(0x544)](_0x3f04b1,_0x2a523c){const _0x1278d2=_0x124ff6;this[_0x1278d2(0x50e)][_0x1278d2(0xde)](_0xdbbf5d=>_0xdbbf5d(_0x3f04b1,this[_0x1278d2(0x21e)],_0x2a523c));}['getAdShownCount'](){return this['adShownCount'];}[_0x124ff6(0x36a)](_0x160231,_0x2cf6b3,_0x536fc){const _0x2f85bb=_0x124ff6,_0x268391={'provider':_0x160231[_0x2f85bb(0x1bb)](),'type':_0x2cf6b3,'code':_0x536fc['code']},_0x13c615={'msg':_0x536fc[_0x2f85bb(0x314)]+_0x2f85bb(0x292)+JSON[_0x2f85bb(0x2bd)](_0x268391),'line':0x0,'col':0x0,'label':JSON['stringify'](_0x268391)};this[_0x2f85bb(0x223)][_0x2f85bb(0x44c)](_0x2f85bb(0x4ad),_0x13c615,_0x1442cc[_0x2f85bb(0x447)][_0x2f85bb(0x4d2)]);}}class _0x7086a{constructor(_0x321c9f,_0xbb3504){const _0xecab3c=_0x124ff6;this[_0xecab3c(0x189)]=_0xbb3504,this[_0xecab3c(0x57e)]=_0x321c9f[_0xecab3c(0x25c)](/\/$/,'');}['getFriends'](_0x77e482){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x260252=_0x19d1;var _0x16dfba;const _0x14046c=yield null===(_0x16dfba=this['auth'])||void 0x0===_0x16dfba?void 0x0:_0x16dfba[_0x260252(0x3f7)](this[_0x260252(0x57e)]+_0x260252(0x359)+_0x77e482,{'method':_0x260252(0x187),'headers':{'Content-Type':'application/json'}});if(!(null==_0x14046c?void 0x0:_0x14046c['ok']))throw new _0x2afc11(_0x14046c);return yield _0x14046c['json']();});}['addFriend'](_0xa5d0f8,_0x4c3de5){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x423495=_0x19d1;var _0x2252e5;const _0x5a6252=yield null===(_0x2252e5=this[_0x423495(0x189)])||void 0x0===_0x2252e5?void 0x0:_0x2252e5['authenticatedFetch'](this[_0x423495(0x57e)]+_0x423495(0x359)+_0xa5d0f8,{'method':_0x423495(0x442),'headers':{'Content-Type':'application/json'},'body':JSON['stringify'](_0x4c3de5)});if(!(null==_0x5a6252?void 0x0:_0x5a6252['ok']))throw new _0x2afc11(_0x5a6252);return yield _0x5a6252['json']();});}[_0x124ff6(0x2ae)](_0x213dad,_0x56eec9){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x30d580=_0x19d1;var _0x36feba;const _0x168ac9=yield null===(_0x36feba=this[_0x30d580(0x189)])||void 0x0===_0x36feba?void 0x0:_0x36feba['authenticatedFetch'](this[_0x30d580(0x57e)]+_0x30d580(0x359)+_0x213dad,{'method':'DELETE','headers':{'Content-Type':_0x30d580(0x121)},'body':JSON[_0x30d580(0x2bd)](_0x56eec9)});if(!(null==_0x168ac9?void 0x0:_0x168ac9['ok']))throw new _0x2afc11(_0x168ac9);});}[_0x124ff6(0x4b3)](_0x5e7aeb,_0x2e6d9c){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x323349=_0x19d1;var _0xcdf728;const _0x455514=yield null===(_0xcdf728=this[_0x323349(0x189)])||void 0x0===_0xcdf728?void 0x0:_0xcdf728['authenticatedFetch'](this['baseUrl']+_0x323349(0x359)+_0x5e7aeb+_0x323349(0x1dc),{'method':_0x323349(0x442),'headers':{'Content-Type':_0x323349(0x121)},'body':JSON[_0x323349(0x2bd)](_0x2e6d9c)});if(!(null==_0x455514?void 0x0:_0x455514['ok']))throw new _0x2afc11(_0x455514);return yield _0x455514[_0x323349(0x4b9)]();});}}class _0x2afc11 extends Error{constructor(_0x4085c3){const _0x5c513a=_0x124ff6;super(_0x4085c3[_0x5c513a(0x49c)]),this[_0x5c513a(0x513)]=_0x4085c3,this[_0x5c513a(0x513)]=_0x4085c3,this[_0x5c513a(0x28a)]='ResponseError';}}!function(_0x386ac3){const _0x3baf80=_0x124ff6;_0x386ac3[_0x386ac3[_0x3baf80(0x302)]=0x0]='shareMessage',_0x386ac3[_0x386ac3[_0x3baf80(0x42b)]=0x1]=_0x3baf80(0x42b),_0x386ac3[_0x386ac3[_0x3baf80(0xfa)]=0x2]=_0x3baf80(0xfa),_0x386ac3[_0x386ac3[_0x3baf80(0x199)]=0x3]=_0x3baf80(0x199),_0x386ac3[_0x386ac3[_0x3baf80(0xda)]=0x4]=_0x3baf80(0xda),_0x386ac3[_0x386ac3[_0x3baf80(0x3b4)]=0x5]=_0x3baf80(0x3b4),_0x386ac3[_0x386ac3['getContextPlayers']=0x6]=_0x3baf80(0x3f5);}(_0xcad88c||(_0xcad88c={}));class _0x16a1b8{constructor({provider:_0x27c7c6}){const _0x5cdefd=_0x124ff6;this['API']=_0xcad88c,this[_0x5cdefd(0x135)]=_0x27c7c6;}[_0x124ff6(0x302)](_0x43c1e1){const _0x135b16=_0x124ff6;return this[_0x135b16(0x135)][_0x135b16(0x302)](_0x43c1e1);}[_0x124ff6(0x42b)](_0x482395){const _0x25ffd4=_0x124ff6;return this[_0x25ffd4(0x135)]['sendUpdate'](_0x482395);}[_0x124ff6(0x574)](){const _0x932fcd=_0x124ff6;return this[_0x932fcd(0x135)][_0x932fcd(0x574)]();}[_0x124ff6(0xfa)](_0x6ca15a){const _0xa55d28=_0x124ff6;return this[_0xa55d28(0x135)][_0xa55d28(0xfa)](_0x6ca15a);}[_0x124ff6(0x199)](){const _0x40dc5d=_0x124ff6;return this['provider'][_0x40dc5d(0x199)]();}['getContextData'](){const _0x40c670=_0x124ff6;return this[_0x40c670(0x135)][_0x40c670(0x3b4)]();}[_0x124ff6(0xda)](){const _0x2394da=_0x124ff6;return this[_0x2394da(0x135)][_0x2394da(0xda)]();}[_0x124ff6(0x3f5)](){const _0x161422=_0x124ff6;return this[_0x161422(0x135)][_0x161422(0x3f5)]();}[_0x124ff6(0x537)](){const _0xaeebe0=_0x124ff6;return this[_0xaeebe0(0x135)][_0xaeebe0(0x537)]();}['isSupportedAPI'](_0x1e6529){const _0x290dec=_0x124ff6;return-0x1!==this[_0x290dec(0x135)]['getSupportedAPIs']()[_0x290dec(0x288)](_0x1e6529);}}const _0x216c46={'shareMessage'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'sendUpdate'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'canInvite'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return!0x1;});},'invite'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'getContextId'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x420a8b=_0x19d1;return Promise[_0x420a8b(0x523)]('');});},'getContextData'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x339498=_0x19d1;return Promise[_0x339498(0x523)]({});});},'getContextPlayers'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x3ddfd2=_0x19d1;return Promise[_0x3ddfd2(0x523)]([]);});},'getFriends'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x40788c=_0x19d1;return Promise[_0x40788c(0x523)]([]);});},'getSupportedAPIs':()=>[]};var _0x4f76dc,_0x2ee68b,_0x4de3e3;!function(_0x25cd32){const _0x47b28b=_0x124ff6;_0x25cd32['UPDATE_STATUS']=_0x47b28b(0x336),_0x25cd32[_0x47b28b(0x155)]=_0x47b28b(0x155);}(_0x4f76dc||(_0x4f76dc={})),function(_0x47af7d){const _0x43aded=_0x124ff6;_0x47af7d[_0x43aded(0x53e)]='FRIEND_STATUS_UPDATED',_0x47af7d['onConnect']='ON_CONNECT',_0x47af7d['onGameInvite']='RECEIVE_GAME_INVITE',_0x47af7d[_0x43aded(0x126)]=_0x43aded(0x52d);}(_0x2ee68b||(_0x2ee68b={})),function(_0x53e4f7){const _0x2592ce=_0x124ff6;_0x53e4f7['open']=_0x2592ce(0x22d),_0x53e4f7[_0x2592ce(0x1af)]=_0x2592ce(0x1af),_0x53e4f7[_0x2592ce(0x4ad)]=_0x2592ce(0x4ad),_0x53e4f7['message']=_0x2592ce(0x314),_0x53e4f7['retry']=_0x2592ce(0x2fe);}(_0x4de3e3||(_0x4de3e3={}));class _0x587db4{constructor(_0x27e3a4){const _0x457dd0=_0x124ff6;var _0x923a5b;this[_0x457dd0(0x559)]=0x0,this[_0x457dd0(0x355)]={'open':[],'close':[],'error':[],'message':[],'retry':[]},this[_0x457dd0(0x146)]=!0x1,this['RECONNECT_DEFAULT_BACKOFF_MS']=0x3e8,this['RECONNECT_RETRY_MS']=0x1f4,this[_0x457dd0(0x490)]=_0x29f7f1=>this[_0x457dd0(0xf3)](_0x4de3e3[_0x457dd0(0x22d)],_0x29f7f1),this['onClose']=_0x3719c6=>this[_0x457dd0(0xf3)](_0x4de3e3['close'],_0x3719c6),this[_0x457dd0(0x126)]=_0x565efd=>this[_0x457dd0(0xf3)](_0x4de3e3[_0x457dd0(0x4ad)],_0x565efd),this[_0x457dd0(0x282)]=_0x86bd8f=>this[_0x457dd0(0xf3)](_0x4de3e3[_0x457dd0(0x314)],_0x86bd8f),this[_0x457dd0(0x3ac)]=_0x27e3a4[_0x457dd0(0x3ac)],this[_0x457dd0(0x43c)]=_0x27e3a4[_0x457dd0(0x43c)],this[_0x457dd0(0x52e)]=null!==(_0x923a5b=_0x27e3a4[_0x457dd0(0x52e)])&&void 0x0!==_0x923a5b?_0x923a5b:_0x1369e8=>new WebSocket(_0x1369e8);}[_0x124ff6(0x4d9)](_0x3cd5b8){const _0xff8dd5=_0x124ff6;this[_0xff8dd5(0x524)]?this[_0xff8dd5(0x12d)]()===WebSocket[_0xff8dd5(0x32b)]?this[_0xff8dd5(0x146)]?this[_0xff8dd5(0x43c)][_0xff8dd5(0x4ad)](_0xff8dd5(0x483)):this[_0xff8dd5(0x524)][_0xff8dd5(0x4d9)](_0x3cd5b8):this[_0xff8dd5(0x43c)]['error'](_0xff8dd5(0x515)):this['logger']['error'](_0xff8dd5(0x3a1));}[_0x124ff6(0x484)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x24db45=_0x19d1;this[_0x24db45(0x146)]=!0x1,void 0x0!==this[_0x24db45(0x524)]&&(this['websocket']['removeEventListener'](_0x4de3e3['open'],this['onOpen']),this[_0x24db45(0x524)][_0x24db45(0x408)](_0x4de3e3[_0x24db45(0x1af)],this[_0x24db45(0x3e2)]),this[_0x24db45(0x524)][_0x24db45(0x408)](_0x4de3e3[_0x24db45(0x4ad)],this[_0x24db45(0x126)]),this[_0x24db45(0x524)][_0x24db45(0x408)](_0x4de3e3[_0x24db45(0x314)],this[_0x24db45(0x282)]),this['websocket'][_0x24db45(0x1af)]()),this['websocket']=this[_0x24db45(0x52e)](yield this[_0x24db45(0x3ac)]()),this['websocket'][_0x24db45(0x380)](_0x4de3e3['open'],this[_0x24db45(0x490)]),this[_0x24db45(0x524)][_0x24db45(0x380)](_0x4de3e3[_0x24db45(0x1af)],this[_0x24db45(0x3e2)]),this[_0x24db45(0x524)][_0x24db45(0x380)](_0x4de3e3['error'],this[_0x24db45(0x126)]),this['websocket'][_0x24db45(0x380)](_0x4de3e3[_0x24db45(0x314)],this['onMessage']);});}['close'](_0x27962d,_0x5e3463){const _0x4a74c5=_0x124ff6;var _0x14a313;this[_0x4a74c5(0x146)]=!0x0,null===(_0x14a313=this['websocket'])||void 0x0===_0x14a313||_0x14a313[_0x4a74c5(0x1af)](_0x27962d,_0x5e3463);}[_0x124ff6(0x380)](_0x2d917e,_0x56130a){const _0x4a4225=_0x124ff6,_0x4156e7={'listener':_0x56130a};this[_0x4a4225(0x355)][_0x2d917e][_0x4a4225(0x486)](_0x4156e7);}['removeEventListener'](_0x4b5233,_0x5245c7){const _0x5b8722=_0x124ff6;this[_0x5b8722(0x355)][_0x4b5233]=this[_0x5b8722(0x355)][_0x4b5233][_0x5b8722(0x293)](_0x3a5d55=>_0x3a5d55['listener']!==_0x5245c7);}[_0x124ff6(0x12d)](){const _0x3e943d=_0x124ff6;return this[_0x3e943d(0x524)]?this['websocket'][_0x3e943d(0x458)]:WebSocket['CLOSED'];}['handleEvent'](_0x41091b,_0x50604a){const _0x245bf7=_0x124ff6;switch(_0x41091b){case _0x4de3e3['close']:this[_0x245bf7(0x146)]||this[_0x245bf7(0x322)]();break;case _0x4de3e3[_0x245bf7(0x22d)]:this[_0x245bf7(0x559)]=0x0;case _0x4de3e3['error']:case _0x4de3e3['message']:}this[_0x245bf7(0x1c2)](_0x41091b,_0x50604a);}[_0x124ff6(0x322)](){const _0x101ce9=_0x124ff6,_0x518631=this[_0x101ce9(0x552)]*this[_0x101ce9(0x559)]+this[_0x101ce9(0x3cb)],_0x21b057={'detail':{'retries':this[_0x101ce9(0x559)]++,'backoff':_0x518631}};setTimeout(()=>{const _0x14c070=_0x101ce9;if(this[_0x14c070(0x146)])return;const _0x18a8ab=new CustomEvent(_0x4de3e3['retry'],_0x21b057);this[_0x14c070(0x1c2)](_0x4de3e3[_0x14c070(0x2fe)],_0x18a8ab),this[_0x14c070(0x484)]();},_0x518631);}[_0x124ff6(0x1c2)](_0x1e062f,_0x2b0025){const _0x56941a=_0x124ff6;this[_0x56941a(0x355)][_0x1e062f][_0x56941a(0xde)](_0x4393ca=>{const _0x4645df=_0x56941a;_0x4393ca[_0x4645df(0x383)](_0x2b0025);});}}class _0x4e0533{constructor(_0x1ea610,_0x145ce2){const _0x84abe1=_0x124ff6;this['friendsStatus']=new Map(),this[_0x84abe1(0x355)]={[_0x2ee68b[_0x84abe1(0x53e)]]:[],[_0x2ee68b[_0x84abe1(0x24b)]]:[],[_0x2ee68b[_0x84abe1(0x11c)]]:[],[_0x2ee68b[_0x84abe1(0x126)]]:[]},this['SocialEvents']=_0x2ee68b;const {apiHost:_0x438a46,gameId:_0x45dfca}=_0x1ea610;if(this[_0x84abe1(0x373)]=_0x438a46,this['gameId']=_0x45dfca,this[_0x84abe1(0x43c)]=_0x145ce2[_0x84abe1(0x43c)],this[_0x84abe1(0x189)]=_0x145ce2['auth'],this['websocket']=_0x145ce2[_0x84abe1(0x3f4)]?_0x145ce2[_0x84abe1(0x3f4)]():new _0x587db4({'logger':this[_0x84abe1(0x43c)],'url':()=>this[_0x84abe1(0xdb)](this[_0x84abe1(0x373)],this['gameId'])}),!this[_0x84abe1(0x524)])throw new Error('websocket\x20client\x20is\x20not\x20defined');this['on'](_0x2ee68b[_0x84abe1(0x24b)],({data:_0x43e9fa})=>{const _0x543ac6=_0x84abe1,_0x26dfd1=_0x43e9fa[_0x543ac6(0x53a)];for(const _0x31d169 of _0x26dfd1)this[_0x543ac6(0x4c8)][_0x543ac6(0x488)](_0x31d169[_0x543ac6(0x18f)],_0x31d169);}),this['on'](_0x2ee68b['onFriendStatusUpdated'],({data:_0x23956d})=>{const _0x28566d=_0x84abe1;this[_0x28566d(0x4c8)][_0x28566d(0x488)](_0x23956d[_0x28566d(0x18f)],_0x23956d);}),this[_0x84abe1(0x524)][_0x84abe1(0x380)](_0x4de3e3[_0x84abe1(0x22d)],()=>{const _0x11e7f5=_0x84abe1;this[_0x11e7f5(0x43c)][_0x11e7f5(0xf4)](_0x11e7f5(0x35b));}),this[_0x84abe1(0x524)][_0x84abe1(0x380)](_0x4de3e3[_0x84abe1(0x1af)],_0x5d026c=>{const _0x46b214=_0x84abe1;this['logger']['log'](_0x46b214(0x472),_0x5d026c);}),this['websocket']['addEventListener'](_0x4de3e3[_0x84abe1(0x4ad)],_0x525c3f=>{this['logger']['error']('websocket\x20client\x20error',_0x525c3f);}),this['websocket'][_0x84abe1(0x380)](_0x4de3e3['message'],_0x5abc14=>{const _0x18ec44=_0x84abe1,{data:_0x461852}=_0x5abc14,_0x48a1eb=JSON['parse'](_0x461852);Object[_0x18ec44(0x154)](_0x2ee68b)[_0x18ec44(0x36b)](_0x48a1eb[_0x18ec44(0x26f)])?this[_0x18ec44(0x1c2)](_0x48a1eb['code'],_0x48a1eb):this[_0x18ec44(0x43c)][_0x18ec44(0x4ad)](_0x18ec44(0x56f));}),this[_0x84abe1(0x189)][_0x84abe1(0x429)](_0x36c3b8=>this[_0x84abe1(0x393)](_0x36c3b8));}[_0x124ff6(0x484)](){const _0x4997ba=_0x124ff6,_0x573c7c=this[_0x4997ba(0x409)]===this[_0x4997ba(0x189)][_0x4997ba(0x4be)](),_0x243096=this['websocket'][_0x4997ba(0x12d)]();(_0x243096!==WebSocket['OPEN']&&_0x243096!==WebSocket[_0x4997ba(0x280)]||!_0x573c7c)&&(this[_0x4997ba(0x409)]=this['auth'][_0x4997ba(0x4be)](),this[_0x4997ba(0x524)][_0x4997ba(0x484)]());}['close'](){const _0xbeacd1=_0x124ff6;this['friendsStatus'][_0xbeacd1(0xff)](),this['connectedUser']=void 0x0,this['websocket'][_0xbeacd1(0x1af)]();}['on'](_0x54f0ed,_0x395583){const _0x31c60c=_0x124ff6,_0x2caa33={'listener':_0x395583},_0x14f279=this[_0x31c60c(0x355)][_0x54f0ed];if(!_0x14f279)throw new Error(_0x31c60c(0x29b)+_0x54f0ed+_0x31c60c(0x12a));_0x14f279['push'](_0x2caa33);}[_0x124ff6(0x31f)](){const _0x24b9b4=_0x124ff6;return Array[_0x24b9b4(0x2f7)](this[_0x24b9b4(0x4c8)][_0x24b9b4(0x154)]());}[_0x124ff6(0x26c)](_0x4bade4,_0x418f17,_0x479d61){const _0x20b119=_0x124ff6,_0x10597e={'code':_0x4f76dc[_0x20b119(0x155)],'data':{'recipientId':_0x4bade4,'lobbyId':_0x418f17,'gameId':this[_0x20b119(0x205)],'metadata':_0x479d61}};this['send'](_0x10597e);}[_0x124ff6(0x2b2)](_0x225036){const _0x327e7f=_0x124ff6,_0x30c5f0={'code':_0x4f76dc[_0x327e7f(0x336)],'data':{'metadata':_0x225036,'gameId':this['gameId']}};this['send'](_0x30c5f0);}[_0x124ff6(0x1c2)](_0x146fa3,_0x230ca0){const _0x1c0909=_0x124ff6;this[_0x1c0909(0x355)][_0x146fa3][_0x1c0909(0xde)](_0x2d30d9=>{_0x2d30d9['listener'](_0x230ca0);});}[_0x124ff6(0x4d9)](_0x579dcb){const _0x44dce0=_0x124ff6;this[_0x44dce0(0x524)][_0x44dce0(0x4d9)](JSON[_0x44dce0(0x2bd)](_0x579dcb));}[_0x124ff6(0x393)](_0x131253){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0xf027d2=_0x19d1;if(_0x131253){const _0x102dd7=this[_0xf027d2(0x524)][_0xf027d2(0x12d)]();_0x102dd7!==WebSocket[_0xf027d2(0x32b)]&&_0x102dd7!==WebSocket[_0xf027d2(0x280)]||this[_0xf027d2(0x484)]();}else this['close']();});}[_0x124ff6(0xdb)](_0x158a51,_0x1505d5){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0xd81250=_0x19d1,_0x55452e=yield this[_0xd81250(0x189)][_0xd81250(0x3b0)]();return'wss://'+_0x158a51+_0xd81250(0x152)+_0x55452e+_0xd81250(0x2dd)+_0x1505d5;});}}class _0x223dad{constructor(_0x5f0756,_0x175d93){const _0x1cb1d2=_0x124ff6;var _0x294274,_0x23fc12,_0x55c165;this[_0x1cb1d2(0x461)]=_0x5f0756,this[_0x1cb1d2(0x1ef)]=_0x175d93,this[_0x1cb1d2(0x30f)]={},this[_0x1cb1d2(0x265)]={},this[_0x1cb1d2(0x347)]={},this[_0x1cb1d2(0x43b)]=_0xcad88c,this[_0x1cb1d2(0x189)]=_0x175d93['auth'],this['provider']=null!==(_0x294274=_0x175d93[_0x1cb1d2(0x135)])&&void 0x0!==_0x294274?_0x294274:_0x216c46,this['gameId']=_0x5f0756[_0x1cb1d2(0x205)];let _0x425d8e=null!==(_0x23fc12=_0x5f0756[_0x1cb1d2(0x3a2)])&&void 0x0!==_0x23fc12?_0x23fc12:_0x5f0756['env']===_0x1442cc[_0x1cb1d2(0x1d4)][_0x1cb1d2(0x3f8)]?_0x1cb1d2(0x4f1):_0x1cb1d2(0x489);_0x425d8e+=_0x1cb1d2(0x237),this[_0x1cb1d2(0x3c6)]=new _0x7086a(_0x1cb1d2(0x41e)+_0x425d8e,this['auth']),this[_0x1cb1d2(0x1ea)]=new _0x4e0533(Object[_0x1cb1d2(0x558)](Object[_0x1cb1d2(0x558)]({},this[_0x1cb1d2(0x461)]),{'apiHost':_0x425d8e}),this[_0x1cb1d2(0x1ef)]),this[_0x1cb1d2(0x11b)]=new _0x16a1b8({'provider':this[_0x1cb1d2(0x135)]}),(null===(_0x55c165=_0x5f0756['syncFriendsOnLogin'])||void 0x0===_0x55c165||_0x55c165)&&this[_0x1cb1d2(0x189)][_0x1cb1d2(0x429)](this[_0x1cb1d2(0x242)][_0x1cb1d2(0x334)](this));}get[_0x124ff6(0x30a)](){return this['wsClient'];}get[_0x124ff6(0x2de)](){const _0x3365eb=_0x124ff6;return this[_0x3365eb(0x11b)];}[_0x124ff6(0x4b3)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x564e34=_0x19d1,_0x48f96d=yield this[_0x564e34(0x135)]['getFriends'](),_0x4e365c=_0x48f96d[_0x564e34(0x4d8)]((_0x194b63,_0x207426)=>{const _0xd010bd=_0x564e34;var _0x3eba0f;const _0x3c7a7d=null!==(_0x3eba0f=_0x194b63[_0xd010bd(0x22a)](_0x207426[_0xd010bd(0x1b6)]))&&void 0x0!==_0x3eba0f?_0x3eba0f:[];return _0x3c7a7d['push'](_0x207426['id']),_0x194b63['set'](_0x207426[_0xd010bd(0x1b6)],_0x3c7a7d),_0x194b63;},new Map()),_0x54fafc=[],_0x4ba09a=Array[_0x564e34(0x2f7)](_0x4e365c[_0x564e34(0x48a)]());for(const [_0x300a5e,_0x3ff968]of _0x4ba09a){const _0x2784eb=yield this[_0x564e34(0x3c6)]['syncFriends'](this[_0x564e34(0x55b)](),{'channel':_0x300a5e,'gameId':this[_0x564e34(0x205)],'friendIds':_0x3ff968});_0x54fafc[_0x564e34(0x486)](..._0x2784eb);}return this[_0x564e34(0x30f)]=_0x54fafc[_0x564e34(0x4d8)]((_0x598161,_0x2903dc)=>(_0x598161[_0x2903dc[_0x564e34(0x18f)]]=_0x2903dc,_0x598161),{}),this[_0x564e34(0x265)]=_0x54fafc[_0x564e34(0x4d8)]((_0x4e03d9,_0x841394)=>(_0x4e03d9[_0x841394[_0x564e34(0x53d)]]=_0x841394,_0x4e03d9),{}),this[_0x564e34(0x347)]=_0x48f96d[_0x564e34(0x4d8)]((_0x44e2b5,_0x4d6474)=>(_0x44e2b5[_0x4d6474['id']]=_0x4d6474,_0x44e2b5),{}),_0x54fafc;});}[_0x124ff6(0x31d)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x4f1f90=_0x19d1;return yield this[_0x4f1f90(0x3c6)]['getFriends'](this[_0x4f1f90(0x55b)]());});}[_0x124ff6(0x20a)](_0xc5e0a6){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x15417a=_0x19d1,_0x592c91=this[_0x15417a(0x30f)][_0xc5e0a6];if(!_0x592c91)return;const _0x1a2b96=this[_0x15417a(0x347)][_0x592c91[_0x15417a(0x53d)]];return Object[_0x15417a(0x558)](Object['assign']({},_0x592c91),{'name':null==_0x1a2b96?void 0x0:_0x1a2b96[_0x15417a(0x28a)],'image':null==_0x1a2b96?void 0x0:_0x1a2b96[_0x15417a(0x3be)]});});}[_0x124ff6(0x413)](_0x54aec8){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x118185=_0x19d1,_0xd3918e=this[_0x118185(0x265)][_0x54aec8];if(!_0xd3918e)return;const _0x174f4e=this[_0x118185(0x347)][_0x54aec8];return Object[_0x118185(0x558)](Object[_0x118185(0x558)]({},_0xd3918e),{'name':null==_0x174f4e?void 0x0:_0x174f4e[_0x118185(0x28a)],'image':null==_0x174f4e?void 0x0:_0x174f4e[_0x118185(0x3be)]});});}['addFriend'](_0x20cba6){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x3f0952=_0x19d1;return yield this['webClient'][_0x3f0952(0x1ce)](this['getUserId'](),{'friendId':_0x20cba6});});}[_0x124ff6(0x2ae)](_0x482737){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x5bee2e=_0x19d1;return yield this[_0x5bee2e(0x3c6)][_0x5bee2e(0x2ae)](this[_0x5bee2e(0x55b)](),{'friendId':_0x482737});});}[_0x124ff6(0x55b)](){const _0xb6ec29=_0x124ff6,_0x289960=this[_0xb6ec29(0x189)][_0xb6ec29(0x4be)]();if(null===_0x289960)throw new _0x3b3489(_0xb6ec29(0x555));return _0x289960;}['onAuthStatusChange'](_0x6661ce){const _0x57d9ca=_0x124ff6;_0x6661ce&&this[_0x57d9ca(0x4b3)]();}[_0x124ff6(0x302)](_0x3ee255){const _0x6f40f0=_0x124ff6;return this['socialPlatform'][_0x6f40f0(0x302)](_0x3ee255);}['sendUpdate'](_0x26e6f2){return this['socialPlatform']['sendUpdate'](_0x26e6f2);}['invite'](_0x3664a1){const _0x30ff55=_0x124ff6;return this[_0x30ff55(0x11b)]['invite'](_0x3664a1);}['getFriends'](){const _0x225b73=_0x124ff6;return this[_0x225b73(0x11b)]['getFriends']();}[_0x124ff6(0x537)](){const _0x1bf8db=_0x124ff6;return this[_0x1bf8db(0x11b)]['getSupportedAPIs']();}['isSupportedAPI'](_0x2389c5){const _0x4ccff0=_0x124ff6;return this[_0x4ccff0(0x11b)][_0x4ccff0(0xe4)](_0x2389c5);}}class _0x3b3489 extends Error{constructor(_0x328e9){super(_0x328e9);}}const _0x2ecc97={'getId':()=>'','isInRoom'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return!0x1;});},'getRoomData'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return{};});},'getRoomId'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return'';});},'getPlayers'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return[];});},'getSupportedAPIs':()=>[],'isSupportedAPI':_0xd58fed=>!0x1};class _0x178e75{constructor(_0xf6b7fd){const _0x335b99=_0x124ff6;var _0xb4115a;this['auth']=_0xf6b7fd[_0x335b99(0x189)],this[_0x335b99(0x135)]=null!==(_0xb4115a=_0xf6b7fd[_0x335b99(0x135)])&&void 0x0!==_0xb4115a?_0xb4115a:_0x2ecc97;}[_0x124ff6(0x516)](){const _0x51e685=_0x124ff6;return this['provider'][_0x51e685(0x516)]();}[_0x124ff6(0x257)](){const _0x12e0df=_0x124ff6;return this[_0x12e0df(0x135)]['getRoomId']();}[_0x124ff6(0x13b)](){const _0x122be=_0x124ff6;return this[_0x122be(0x135)][_0x122be(0x13b)]();}['getPlayers'](){const _0x34540=_0x124ff6;return this[_0x34540(0x135)]['getPlayers']();}[_0x124ff6(0x537)](){const _0x51f916=_0x124ff6;return this[_0x51f916(0x135)]['getSupportedAPIs']();}[_0x124ff6(0xe4)](_0x5d164a){const _0x4ca9b9=_0x124ff6;return this[_0x4ca9b9(0x135)][_0x4ca9b9(0xe4)](_0x5d164a);}}var _0x59f063;!function(_0x276c9f){const _0x2c501b=_0x124ff6;_0x276c9f[_0x276c9f[_0x2c501b(0x13b)]=0x0]='getRoomData',_0x276c9f[_0x276c9f['isInRoom']=0x1]=_0x2c501b(0x516),_0x276c9f[_0x276c9f[_0x2c501b(0x257)]=0x2]=_0x2c501b(0x257),_0x276c9f[_0x276c9f[_0x2c501b(0x366)]=0x3]=_0x2c501b(0x366),_0x276c9f[_0x276c9f['subscribeToPlayerJoined']=0x4]=_0x2c501b(0x234),_0x276c9f[_0x276c9f[_0x2c501b(0x1d3)]=0x5]='subscribeToPlayerLeft';}(_0x59f063||(_0x59f063={}));const _0x4fe8a7=_0x124ff6(0x4ca);function _0x30bcd0(_0x3b966d=()=>new XMLHttpRequest(),_0x4c4df7){const _0x291806=_0x124ff6;let _0x57a57f;const _0x38c8c3=[];let _0x40e169=null;const _0x213294=!_0x4c4df7&&navigator&&_0x291806(0x422)==typeof navigator[_0x291806(0x1ff)];let _0x46ffb6=!0x1;const _0x43f86e={'protocol_version':'f','app_version':'av','engine_version':'ev','app_build':'ab','cohort':'co','channel':'ch','cmp_consents':_0x291806(0x2e1),'cmp_legitimateInterests':_0x291806(0x1d7),'games_played':'gp','play_session_id':'pi','play_session_count':'pc','days_elapsed':'de','facebook_player_id':'fi','facebook_context_type':'fc','facebook_entrypoint':'fe','facebook_referral_player_id':'fr','utm_source':'us','utm_medium':'um','utm_campaign':'uc','utm_term':'ut','utm_content':'uo','remote_user_id':'ru','global_user_id':_0x291806(0x299),'device_width':'dw','device_height':'dh','non_interaction':'ni','country':'ct','event':'e','game':'g','user':'u','client_time':'t','value':'v','provider':'ao','ad_result':'ar','ad_response':'ag','ad_point':'ap','transport':'tr','web_url':'wu','retry':'r','label':'l','advertisement_id':'ai','script_version':'xv','cache_buster':'n','page_session_id':'si'};function _0x444521(_0x2cd89b,_0x48a728,_0x17adbf){_0x17adbf=void 0x0!==_0x17adbf?_0x17adbf:0x5,_0x2cd89b(_0x48a728,function(){const _0x327616=_0x19d1;if(_0x17adbf>0x0){const _0x53f359=0x1388*(Math['pow'](0x2,0x5-_0x17adbf)+Math[_0x327616(0x568)]());_0x48a728['r']=0x5-_0x17adbf+0x1,setTimeout(_0x444521[_0x327616(0x334)](void 0x0,_0x2cd89b,_0x48a728,--_0x17adbf),_0x53f359);}});}function _0x1c45cb(_0x193b62,_0x15b63b,_0x17fd2a){const _0x1457d0=_0x291806;if(navigator[_0x1457d0(0x1ff)](_0x193b62,JSON['stringify'](_0x15b63b)))return!0x0;_0x17fd2a();}function _0x229daf(_0x128d00,_0x144181,_0x2c8abb){const _0x3e39f0=_0x291806;let _0x1ab50c=_0x3b966d();_0x1ab50c[_0x3e39f0(0x1eb)]&&_0x1ab50c[_0x3e39f0(0x1eb)](_0x3e39f0(0x3f2));try{_0x1ab50c['open'](_0x3e39f0(0x442),_0x128d00,!0x0),_0x1ab50c[_0x3e39f0(0x101)]('Content-type',_0x3e39f0(0x3f2)),_0x1ab50c['withCredentials']=!0x0,_0x1ab50c[_0x3e39f0(0xe0)]=function(){const _0x2d929f=_0x3e39f0;if(0x4==_0x1ab50c[_0x2d929f(0x458)]){const _0x70bf70=_0x1ab50c[_0x2d929f(0x481)];_0x1ab50c=_0x1ab50c[_0x2d929f(0xe0)]=null,0xc8!=_0x70bf70&&0xcc!=_0x70bf70?_0x2c8abb():_0x46ffb6=!0x0;}},_0x1ab50c[_0x3e39f0(0x4d9)](JSON[_0x3e39f0(0x2bd)](_0x144181));}catch(_0x1be464){_0x2c8abb();}}function _0x262310(_0x513204,_0x5b5f68,_0x5c5a82){const _0xb9641d=_0x291806;_0x5b5f68['n']=Math['random']();const _0x2dc46e=document[_0xb9641d(0x4a2)](_0xb9641d(0x30d));_0x2dc46e[_0xb9641d(0x27e)]=function(){const _0xa8e16b=_0xb9641d;_0x46ffb6=!0x0,_0x2dc46e[_0xa8e16b(0x104)]=_0x2dc46e[_0xa8e16b(0x27e)]=null;},_0x2dc46e['onerror']=function(){const _0x1ec5d4=_0xb9641d;_0x5c5a82(),_0x2dc46e[_0x1ec5d4(0x104)]=null;},_0x2dc46e[_0xb9641d(0x1e9)]=_0x513204+'?'+function(_0x2b6487){const _0x131a81=_0xb9641d,_0x2ca304=[];for(const _0x7c0c02 in _0x2b6487)_0x2b6487[_0x131a81(0x521)](_0x7c0c02)&&_0x2ca304[_0x131a81(0x486)](encodeURIComponent(_0x7c0c02)+'='+(void 0x0!==_0x2b6487[_0x7c0c02]&&null!=_0x2b6487[_0x7c0c02]?encodeURIComponent(_0x2b6487[_0x7c0c02]):''));return _0x2ca304[_0x131a81(0x32d)]('&');}(_0x5b5f68),document[_0xb9641d(0x1fc)][_0xb9641d(0x124)](_0x2dc46e);}function _0x58960d(_0x55f1e7,_0x103dca){const _0x53c3eb=_0x291806;return _0x213294&&_0x46ffb6?(_0x103dca[_0x53c3eb(0x401)]=_0x53c3eb(0x571),_0x1c45cb[_0x53c3eb(0x334)](void 0x0,_0x55f1e7)):XMLHttpRequest?(_0x103dca[_0x53c3eb(0x401)]='xhr',_0x229daf[_0x53c3eb(0x334)](void 0x0,_0x55f1e7)):(_0x103dca[_0x53c3eb(0x401)]='img',_0x262310[_0x53c3eb(0x334)](void 0x0,_0x55f1e7+'/i'));}function _0x426916(_0x4c166e){const _0x25fea1=_0x291806;var _0x5bb49a;const _0x538f5c=_0x4c166e[_0x25fea1(0x1b6)];let _0x501167;window[_0x25fea1(0x19e)]&&document[_0x25fea1(0x32f)]&&document['location'][_0x25fea1(0x4dd)]&&(_0x501167=document[_0x25fea1(0x32f)][_0x25fea1(0x4dd)]);const _0x3bea0c=null==_0x57a57f?void 0x0:_0x57a57f['getGlobalUserId'](),_0x59c441=null==_0x57a57f?void 0x0:_0x57a57f[_0x25fea1(0x19c)](),_0x5d63ea=['https://',_0x4fe8a7,_0x4c166e['context']||_0x25fea1(0x33f),_0x3bea0c||'']['join']('/');_0x4c166e[_0x25fea1(0x506)]=_0x4c166e[_0x25fea1(0x506)]||'0.0.0',_0x4c166e[_0x25fea1(0x158)]=_0x4c166e[_0x25fea1(0x158)]||_0x25fea1(0x55c),_0x4c166e['channel']=_0x538f5c||_0x4c166e[_0x25fea1(0x1b6)],_0x4c166e[_0x25fea1(0x31e)]=_0x501167,_0x4c166e[_0x25fea1(0x36d)]='2.0.1',_0x4c166e[_0x25fea1(0xcf)]=0x5,_0x4c166e[_0x25fea1(0x4bd)]=Math[_0x25fea1(0x568)](),_0x4c166e['referrer']=(null===(_0x5bb49a=window[_0x25fea1(0x19e)])||void 0x0===_0x5bb49a?void 0x0:_0x5bb49a['referrer'])||null,void 0x0!==_0x3bea0c&&(_0x4c166e[_0x25fea1(0x33b)]=_0x3bea0c),void 0x0!==_0x59c441&&(_0x4c166e[_0x25fea1(0x4e3)]=_0x59c441);const _0x32e488=0x3c*new Date()[_0x25fea1(0x1c4)]()*0x3e8;_0x4c166e['client_time']=new Date(Date[_0x25fea1(0x3e5)]()-_0x32e488)[_0x25fea1(0x4f3)]()[_0x25fea1(0x311)](0x0,-0x1),_0x444521(_0x58960d(_0x5d63ea,_0x4c166e),function(_0x3cbfca){const _0x5eddfe={};for(const _0x22b5c1 in _0x3cbfca)_0x3cbfca['hasOwnProperty'](_0x22b5c1)&&void 0x0!==_0x3cbfca[_0x22b5c1]&&null!=_0x3cbfca[_0x22b5c1]&&(_0x5eddfe[_0x43f86e[_0x22b5c1]||_0x22b5c1]=_0x3cbfca[_0x22b5c1]);return _0x5eddfe;}(_0x4c166e));}return{'init'(_0x572b5f,_0x4537e0){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){_0x57a57f=_0x4537e0;});},'getName':()=>_0x291806(0x437),'send'(_0x26d3ce,_0x4371d3,_0x523d98,_0x26c8b1){const _0x731499=_0x291806;var _0x1069ad;_0x523d98=void 0x0!==_0x4371d3?Object[_0x731499(0x558)](Object[_0x731499(0x558)](Object['assign']({'value':_0x4371d3},_0x523d98),_0x26c8b1),{'event':_0x26d3ce}):Object[_0x731499(0x558)](Object['assign'](Object['assign']({},_0x523d98),_0x26c8b1),{'event':_0x26d3ce}),_0x1069ad=_0x523d98,_0x38c8c3['push'](_0x1069ad),_0x40e169&&clearTimeout(_0x40e169),_0x40e169=setTimeout(function(){const _0x525b75=_0x731499;for(;_0x38c8c3[_0x525b75(0x151)]>0x0;)_0x426916(_0x38c8c3[_0x525b75(0x3a4)]());},0x1);}};}var _0xadd845;_0x1442cc[_0x124ff6(0x193)]=void 0x0,(_0xadd845=_0x1442cc['AnalyticsIDProviderStorageType']||(_0x1442cc[_0x124ff6(0x193)]={}))[_0x124ff6(0x2e0)]=_0x124ff6(0x464),_0xadd845[_0x124ff6(0x107)]='cookie',_0xadd845[_0x124ff6(0x196)]=_0x124ff6(0x467);const _0x594310={'init':()=>_0x2e1bf5(void 0x0,void 0x0,void 0x0,function*(){}),'getName':()=>'','getUserSource':()=>_0x1442cc['AnalyticsIDProviderStorageType'][_0x124ff6(0x2e0)],'getPageSessionId':()=>'','getPlaySessionId':()=>'','getGlobalUserId':()=>'','managesUnconsentedIds':()=>!0x1};function _0x1a441c(_0x1404ff){return(_0x1404ff<0xa?'0':'')+_0x1404ff;}function _0x34ee34(_0x1d3453){const _0x5d1742=_0x124ff6,_0x45c8c6=_0x1d3453||'-';function _0x3f0adf(){const _0x2397c6=_0x19d1;return(0x10000*(0x1+Math[_0x2397c6(0x568)]())|0x0)[_0x2397c6(0x567)](0x10)[_0x2397c6(0x142)](0x1);}const _0x539a05=new Date()[_0x5d1742(0x219)]()[_0x5d1742(0x567)](0x10)[_0x5d1742(0x311)](0x0,0xb)+(0x10000*(0x1+Math[_0x5d1742(0x568)]())|0x0)[_0x5d1742(0x567)](0x10)[_0x5d1742(0x142)](0x1,0x2);return _0x3f0adf()+_0x3f0adf()+_0x45c8c6+_0x3f0adf()+_0x45c8c6+_0x3f0adf()+_0x45c8c6+_0x3f0adf()+_0x45c8c6+_0x539a05;}class _0x1051cc{constructor(_0x2e03e9){const _0x3ccf39=_0x124ff6;this[_0x3ccf39(0x250)]=_0x2e03e9,this[_0x3ccf39(0x1f9)]=0x1b7740,this['globalUserIdSource']=_0x1442cc[_0x3ccf39(0x193)]['COOKIE'],this['canUseCookies']=!0x1;}[_0x124ff6(0x33e)](){const _0x38678f=_0x124ff6;window[_0x38678f(0x19e)]&&void 0x0!==document['cookie']?(document[_0x38678f(0x498)]=_0x38678f(0x583),this['canUseCookies']=document[_0x38678f(0x498)][_0x38678f(0x288)]('can_use_cookies')>-0x1):this[_0x38678f(0x18b)]=!0x1;}[_0x124ff6(0x1d6)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x1288f3=_0x19d1;this[_0x1288f3(0x33e)](),this[_0x1288f3(0x18b)]?this[_0x1288f3(0x13d)]=_0x1442cc[_0x1288f3(0x193)][_0x1288f3(0x107)]:this[_0x1288f3(0x250)][_0x1288f3(0x143)]()?this[_0x1288f3(0x13d)]=_0x1442cc[_0x1288f3(0x193)]['LOCAL_STORAGE']:this[_0x1288f3(0x13d)]=_0x1442cc[_0x1288f3(0x193)][_0x1288f3(0x2e0)];const _0x2227af=yield this[_0x1288f3(0x250)]['getItems']([_0x1288f3(0x182),'playSessionId',_0x1288f3(0x4d5),_0x1288f3(0x24f)]);this[_0x1288f3(0x182)]=_0x2227af[_0x1288f3(0x182)]&&String(_0x2227af['pageSessionId']),this[_0x1288f3(0x51b)]=_0x2227af[_0x1288f3(0x51b)]&&String(_0x2227af[_0x1288f3(0x51b)]),this['playSessionIdTimeStamp']=_0x2227af[_0x1288f3(0x4d5)]&&parseInt(String(_0x2227af[_0x1288f3(0x4d5)]),0xa),this[_0x1288f3(0x24f)]=_0x2227af[_0x1288f3(0x24f)]&&String(_0x2227af[_0x1288f3(0x24f)]);});}[_0x124ff6(0x1bb)](){const _0x40c16d=_0x124ff6;return _0x40c16d(0x437);}[_0x124ff6(0x19c)](){const _0x70cf65=_0x124ff6;return this[_0x70cf65(0x13d)];}['getPageSessionId'](){const _0x168341=_0x124ff6;return this['pageSessionId']||(this[_0x168341(0x182)]=_0x34ee34(),this[_0x168341(0x250)][_0x168341(0x348)](_0x168341(0x182),this['pageSessionId'])),this[_0x168341(0x182)];}['getPlaySessionId'](){const _0x58b7eb=_0x124ff6;return this[_0x58b7eb(0x51b)]&&(this[_0x58b7eb(0x4d5)]+this[_0x58b7eb(0x1f9)]=0x0;_0x3419e5--){const _0x18b6f1=_0x303fc1[_0xfe5749(0x311)](_0x3419e5)[_0xfe5749(0x32d)]('.');if(document[_0xfe5749(0x498)]='get_tld=test;domain=.'+_0x18b6f1+';',document['cookie'][_0xfe5749(0x288)](_0xfe5749(0x13a))>-0x1)return document[_0xfe5749(0x498)]='get_tld=;domain=.'+_0x18b6f1+';expires=Thu,\x2001\x20Jan\x201970\x2000:00:01\x20GMT;',_0x18b6f1;}return'';}())+';';}}class _0x5696c2{constructor(_0x356bdc,_0x542f40){const _0x58c27e=_0x124ff6;this[_0x58c27e(0x225)]=_0x1442cc['ConsentOptions']['None'],this['legitimateInterestsBitSet']=_0x1442cc[_0x58c27e(0x447)][_0x58c27e(0x4d2)],this[_0x58c27e(0x179)]=!0x1,this[_0x58c27e(0x1bb)]=()=>_0x58c27e(0x52a),this['logger']=_0x542f40,this[_0x58c27e(0x2a4)]=[],this['loadConsentManagementPlatform'](_0x356bdc);}[_0x124ff6(0x3dc)](_0x66a5f9){let _0x134358=0x0;for(const _0x3581a3 in _0x66a5f9)_0x66a5f9[_0x3581a3]&&(_0x134358|=0x1<{const _0x1ff31f=_0x52a720;var _0xd2390f,_0x3e47dd,_0x185ea4;_0x274614?_0x1ff31f(0x3a0)!==_0xc49f4[_0x1ff31f(0x56d)]&&_0x1ff31f(0x4ea)!==_0xc49f4['eventStatus']||(this[_0x1ff31f(0x179)]=!0x0,this[_0x1ff31f(0x225)]=this['tcfDataBitSet2ConsentOptionsBitSet'](null!==(_0x3e47dd=_0xc49f4[_0x1ff31f(0x310)][_0x1ff31f(0x192)])&&void 0x0!==_0x3e47dd?_0x3e47dd:{}),this[_0x1ff31f(0x509)]=this[_0x1ff31f(0x3dc)](null!==(_0x185ea4=_0xc49f4['purpose'][_0x1ff31f(0x4b5)])&&void 0x0!==_0x185ea4?_0x185ea4:{}),this[_0x1ff31f(0x2df)](this[_0x1ff31f(0x225)],this[_0x1ff31f(0x509)])):null===(_0xd2390f=this[_0x1ff31f(0x43c)])||void 0x0===_0xd2390f||_0xd2390f['warn'](this[_0x1ff31f(0x1bb)]()+'::onLoad::updateConsentCallback:!success');};window['__tcfapi']('addEventListener',0x2,_0x3886a7);}}[_0x124ff6(0x2df)](_0x25bc84,_0x2935d1){const _0x43972c=_0x124ff6;for(let _0x54298d=0x0;_0x54298d{const _0x53bdfd=_0x19d1;window[_0x53bdfd(0x3f1)]?this[_0x53bdfd(0x202)]():(setTimeout(_0x420bd4,_0x6b99c4),_0x6b99c4*=0x2,_0x6b99c4>0xfa0&&(_0x6b99c4=0xfa0));};_0x420bd4();}[_0x124ff6(0x2b1)](){const _0x42cd77=_0x124ff6;var _0x58e168;null===(_0x58e168=this[_0x42cd77(0x43c)])||void 0x0===_0x58e168||_0x58e168[_0x42cd77(0x1a9)](this['getName']()+_0x42cd77(0x3b9));}['supportsAutoInitialization'](){return!0x0;}[_0x124ff6(0x471)](_0x3c2a55){const _0x5622c9=_0x124ff6;this[_0x5622c9(0x2a4)][_0x5622c9(0x486)](_0x3c2a55),this[_0x5622c9(0x179)]&&_0x3c2a55(this['consentsBitSet'],this[_0x5622c9(0x509)]);}[_0x124ff6(0x500)](_0x4e7622,_0x49db22=_0x1442cc[_0x124ff6(0x447)]['None']){const _0x5c9b33=_0x124ff6;return this[_0x5c9b33(0x36e)]()&&0x0!=(this[_0x5c9b33(0x225)]&_0x4e7622);}[_0x124ff6(0x480)](_0x164262,_0x56d82c=_0x1442cc['ConsentOptions'][_0x124ff6(0x4d2)]){const _0x265e92=_0x124ff6;return this[_0x265e92(0x36e)]()&&(this['consentsBitSet']&_0x164262)==_0x164262;}[_0x124ff6(0x192)](){const _0x554577=_0x124ff6;return this[_0x554577(0x225)];}[_0x124ff6(0x4b5)](){const _0x3b9abf=_0x124ff6;return this[_0x3b9abf(0x509)];}}class _0x7fa57b{constructor(_0x196e7e){const _0x2fc65a=_0x124ff6;this[_0x2fc65a(0x41f)](_0x196e7e);}[_0x124ff6(0xcd)](){const _0x83ad99=_0x124ff6;return this[_0x83ad99(0x2cc)]['lastIndexOf']('1');}['is1AtIndex'](_0x2b277b){const _0x46423f=_0x124ff6;return _0x2b277b>=0x0&&'1'===this['bits'][_0x46423f(0x122)](_0x2b277b,0x1);}[_0x124ff6(0x17d)](_0x45598b){const _0x57b0fb=_0x124ff6;this[_0x57b0fb(0x2cc)]=this[_0x57b0fb(0x2cc)]['substr'](0x0,_0x45598b)+'1'+this[_0x57b0fb(0x2cc)]['substr'](_0x45598b+0x1);}['decode'](_0x37b4d6){const _0x20f424=_0x124ff6;return/^0x[a-f0-9]*$/i['test'](_0x37b4d6)||(_0x37b4d6='0x'+(Number(_0x37b4d6)||0x0)[_0x20f424(0x567)](0x2)['split']('')['reverse']()[_0x20f424(0x32d)]('')['toString']()),_0x37b4d6=_0x37b4d6[_0x20f424(0x142)](0x2),this['bits']=_0x37b4d6[_0x20f424(0x463)]('')['map'](function(_0x3e1b0b){const _0x1bd679=_0x20f424;let _0x2bed3e=parseInt(_0x3e1b0b,0x10)[_0x1bd679(0x567)](0x2);for(;_0x2bed3e[_0x1bd679(0x151)]<0x4;)_0x2bed3e='0'+_0x2bed3e;return _0x2bed3e;})[_0x20f424(0x32d)]('');}['encode'](){const _0x414471=_0x124ff6;return'0x'+this['bits'][_0x414471(0x2f9)](/(.{1,4})/g)['map'](function(_0x249756){const _0xd6da7=_0x414471;for(;_0x249756[_0xd6da7(0x151)]<0x4;)_0x249756+='0';return parseInt(_0x249756,0x2)[_0xd6da7(0x567)](0x10);})[_0x414471(0x32d)]('');}}class _0x38e2d8{constructor(){const _0x36ceb8=_0x124ff6;this[_0x36ceb8(0x1f9)]=0x1b7740,this['randomPageSessionId']=_0x34ee34(),this['randomPlaySessionId']=_0x34ee34(),this[_0x36ceb8(0xf6)]=_0x34ee34(),this[_0x36ceb8(0x1ba)]=Date[_0x36ceb8(0x3e5)]();}[_0x124ff6(0x1d6)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});}['getName'](){const _0xffc889=_0x124ff6;return _0xffc889(0x568);}[_0x124ff6(0x19c)](){const _0x20d6c3=_0x124ff6;return _0x1442cc[_0x20d6c3(0x193)]['IN_MEMORY'];}['getPageSessionId'](){return this['randomPageSessionId'];}['getPlaySessionId'](){const _0x47520d=_0x124ff6;return this[_0x47520d(0x1ba)]+this[_0x47520d(0x1f9)]0x0;){const {event:_0x8fc07e,value:_0x48c61b,fields:_0x28b392,context:_0x4871a2,requiredConsents:_0x11279f,requiredLegitimateInterests:_0x951882}=_0xa77d70[_0x316906(0x3a4)]();this[_0x316906(0x1c2)](_0x8fc07e,_0x48c61b,_0x28b392,Object[_0x316906(0x558)](Object[_0x316906(0x558)]({},_0x4871a2),this['getConsentContextFields']()),_0x11279f,_0x951882);}}['dispatchEvent'](_0x11de52,_0x842568,_0x3bed0a,_0x27df67,_0xcd42cf,_0xf61327){const _0x3733cf=_0x124ff6;for(const _0x30f3aa of this[_0x3733cf(0x19f)])try{(this['consentProvider'][_0x3733cf(0x480)](_0xcd42cf,_0xf61327)||this[_0x3733cf(0x1d8)]&&_0x3733cf(0x264)===_0x30f3aa[_0x3733cf(0x1bb)]())&&_0x30f3aa[_0x3733cf(0x4d9)](_0x11de52,_0x842568,_0x3bed0a,_0x27df67);}catch(_0x406594){this['logger'][_0x3733cf(0x4ad)]('[frvr-tracker]\x20error\x20sending\x20event\x20via\x20provider\x20'+_0x30f3aa['getName'](),_0x406594);}}['getConsentContextFields'](){const _0x56c096=_0x124ff6;return{'cmp_consents':this['consentProvider'][_0x56c096(0x192)](),'cmp_legitimateInterests':this['consentProvider'][_0x56c096(0x4b5)]()};}['send'](_0x255a42,_0x588958,_0x27b3da,_0x137ed2,_0x132653){const _0x41bc30=_0x124ff6,_0x4d9d54=this[_0x41bc30(0x4cd)]();for(const _0x436304 in _0x27b3da)void 0x0===_0x27b3da[_0x436304]&&delete _0x27b3da[_0x436304];for(const _0x326e9c in _0x4d9d54)void 0x0===_0x4d9d54[_0x326e9c]&&delete _0x4d9d54[_0x326e9c];this[_0x41bc30(0x43c)][_0x41bc30(0xf4)](_0x41bc30(0x301),_0x255a42,_0x27b3da,_0x4d9d54),this[_0x41bc30(0x1a3)][_0x41bc30(0x36e)]()||this[_0x41bc30(0x1d8)]?(this[_0x41bc30(0x2ac)](),this['dispatchEvent'](_0x255a42,_0x588958,_0x27b3da,Object[_0x41bc30(0x558)](Object['assign']({},_0x4d9d54),this[_0x41bc30(0x378)]()),_0x137ed2,_0x132653)):this['preConsentLoadEventQueue'][_0x41bc30(0x151)]{const _0x3edc63=_0x4517f8;if(_0x417efe)try{_0x417efe(_0x2c5c3e,_0x517cf3,_0x21d1cb,_0x4240e1,_0x3e3796);}catch(_0x49019d){}if(_0x2c5c3e=String(_0x2c5c3e),_0x3e3796=_0x3e3796||new Error(_0x2c5c3e))try{_0x172630({'msg':_0x2c5c3e,'line':_0x21d1cb,'col':_0x4240e1,'label':_0x3e3796[_0x3edc63(0x2a0)]||JSON[_0x3edc63(0x2bd)](_0x3e3796)});}catch(_0x260647){}return!0x1;};const _0x5157d3=window[_0x4517f8(0x51c)]?window[_0x4517f8(0x51c)][_0x4517f8(0x334)](window):null;window[_0x4517f8(0x51c)]=_0x583d7a=>{const _0x320144=_0x4517f8;if(_0x5157d3)try{_0x5157d3(_0x583d7a);}catch(_0xce42eb){}try{const _0x5676ae=_0x583d7a&&_0x583d7a[_0x320144(0x2ec)]||{};_0x172630({'msg':_0x5676ae['message'],'line':0x0,'col':0x0,'label':_0x320144(0x3fe)+(_0x5676ae[_0x320144(0x2a0)]||JSON['stringify'](_0x5676ae))});}catch(_0x502612){}};}(_0x5df55d=>this[_0x54bc6f(0x44c)]('error',_0x5df55d,_0x1442cc['ConsentOptions'][_0x54bc6f(0x4d2)])),yield this[_0x54bc6f(0x287)](),yield Promise['all']([this['idProvider'][_0x54bc6f(0x1d6)](),this[_0x54bc6f(0x136)][_0x54bc6f(0x1d6)]()]),yield Promise[_0x54bc6f(0x150)](this['analyticsProviders']['map'](_0x2b1b22=>_0x2b1b22[_0x54bc6f(0x1d6)](this[_0x54bc6f(0x1a3)],this)));});}[_0x124ff6(0x253)](){const _0x3bef90=_0x124ff6;this[_0x3bef90(0x3c0)]=Date['now'](),this[_0x3bef90(0x44c)](_0x3bef90(0x1ee),{},_0x1442cc['ConsentOptions']['P10DevelopAndImproveProducts']);}[_0x124ff6(0x488)](_0x2a4492,_0x155bbd){const _0x13818c=_0x124ff6;return this[_0x13818c(0x236)][_0x2a4492]=_0x155bbd,this[_0x13818c(0x2f5)](),_0x155bbd;}['inc'](_0x3ebf0e,_0x3b884e){const _0x15b240=_0x124ff6,_0x1bdccd=(this[_0x15b240(0x236)][_0x3ebf0e]||0x0)+(void 0x0===_0x3b884e?0x1:_0x3b884e);return this['set'](_0x3ebf0e,_0x1bdccd),_0x1bdccd;}['logEvent'](_0x347191,_0xd46e8f,_0x1b80ac=_0x1442cc[_0x124ff6(0x447)][_0x124ff6(0x4d2)],_0x322b84=_0x1442cc['ConsentOptions']['None']){const _0xfa5b0=_0x124ff6;this[_0xfa5b0(0x4d9)](_0x347191,void 0x0,_0xd46e8f,_0x1b80ac,_0x322b84);}['logValuedEvent'](_0x21918f,_0x5e2b2a,_0x1b1244,_0x276a76=_0x1442cc[_0x124ff6(0x447)][_0x124ff6(0x4d2)],_0x471126=_0x1442cc[_0x124ff6(0x447)][_0x124ff6(0x4d2)]){const _0xa1e3b4=_0x124ff6;this[_0xa1e3b4(0x4d9)](_0x21918f,_0x5e2b2a,_0x1b1244,_0x276a76,_0x471126);}[_0x124ff6(0x4fd)](_0x3f05ab){const _0x5d705a=_0x124ff6;this[_0x5d705a(0x4d9)]('discovery_page_view',void 0x0,_0x3f05ab,_0x1442cc[_0x5d705a(0x447)][_0x5d705a(0x4d2)],_0x1442cc[_0x5d705a(0x447)]['None']);}[_0x124ff6(0x216)](){const _0x190ac7=_0x124ff6;return this[_0x190ac7(0x153)]()['getPlaySessionId']();}[_0x124ff6(0x536)](){const _0x2e2274=_0x124ff6;return this['getConsentedIdProvider']()[_0x2e2274(0x536)]();}[_0x124ff6(0x19c)](){const _0x5eb810=_0x124ff6;return this['getConsentedIdProvider']()[_0x5eb810(0x19c)]();}[_0x124ff6(0x572)](_0x44c0d2){const _0x579492=_0x124ff6;return this[_0x579492(0x35f)]['push'](_0x44c0d2),()=>{const _0x5e440d=_0x579492,_0x44d182=this[_0x5e440d(0x35f)][_0x5e440d(0x288)](_0x44c0d2);-0x1!==_0x44d182&&this['extraFieldFunctions'][_0x5e440d(0x3f3)](_0x44d182,0x1);};}['ftue'](_0x584c94,_0x27c819,_0x381cf5){const _0x1e53c0=_0x124ff6,_0x30081e=new _0x7fa57b(this[_0x1e53c0(0x236)][_0x1e53c0(0x2d1)]);if(_0x584c94<=_0x30081e[_0x1e53c0(0xcd)]())return void this[_0x1e53c0(0x43c)][_0x1e53c0(0x1a9)](_0x1e53c0(0x3cc),_0x1e53c0(0x350)+_0x584c94+'\x20('+_0x27c819+')\x20has\x20already\x20been\x20tracked');_0x30081e['set1AtIndex'](_0x584c94),this['set']('ftuestepsdone',_0x30081e[_0x1e53c0(0x177)]());const _0x29112d=Object['assign'](Object[_0x1e53c0(0x558)]({},_0x381cf5),{'step_number':_0x584c94,'step_name':_0x27c819});this['logEvent'](_0x1e53c0(0x4ee),_0x29112d,_0x1442cc['ConsentOptions']['P6PersonalizedContent']|_0x1442cc[_0x1e53c0(0x447)][_0x1e53c0(0x140)]|_0x1442cc[_0x1e53c0(0x447)][_0x1e53c0(0x1c6)]|_0x1442cc['ConsentOptions'][_0x1e53c0(0x569)]|_0x1442cc['ConsentOptions']['P10DevelopAndImproveProducts']);}[_0x124ff6(0x3e1)](_0x2059b9,_0x11df72,_0x480541){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x20c769=_0x19d1,_0x170385=yield this['storage'][_0x20c769(0x4c9)](this[_0x20c769(0x54e)],[]);if(_0x170385[_0x20c769(0xdc)](_0x4de556=>_0x4de556===_0x2059b9))return void this[_0x20c769(0x43c)][_0x20c769(0x1a9)](_0x20c769(0x3cc),_0x20c769(0x350)+_0x2059b9+'\x20('+_0x11df72+_0x20c769(0x2cd));_0x170385[_0x20c769(0x486)](_0x2059b9),this[_0x20c769(0x250)][_0x20c769(0x348)](this['FTUE_STEPS_DONE_KEY'],_0x170385);const _0x510a1c=Object['assign'](Object['assign']({},_0x480541),{'step_number':_0x2059b9,'step_name':_0x11df72});this[_0x20c769(0x44c)](_0x20c769(0x4ee),_0x510a1c,_0x1442cc[_0x20c769(0x447)][_0x20c769(0x24e)]|_0x1442cc[_0x20c769(0x447)][_0x20c769(0x140)]|_0x1442cc[_0x20c769(0x447)][_0x20c769(0x1c6)]|_0x1442cc['ConsentOptions'][_0x20c769(0x569)]|_0x1442cc[_0x20c769(0x447)][_0x20c769(0x1a6)]);});}['levelStart'](_0x1d5dc8,_0x217985){const _0x42eefb=_0x124ff6,_0x36d6cd=Object['assign'](Object[_0x42eefb(0x558)]({},_0x217985),{'level_id':_0x1d5dc8});this[_0x42eefb(0x488)](_0x42eefb(0x100),Date[_0x42eefb(0x3e5)]()),this[_0x42eefb(0x2ed)]('games_played');const _0x56b211=(function(){const _0x487586=_0x42eefb,_0x3dc56a=new Date();return _0x3dc56a[_0x487586(0xe2)]()+'-'+_0x1a441c(_0x3dc56a[_0x487586(0x431)]()+0x1)+'-'+_0x1a441c(_0x3dc56a[_0x487586(0x279)]());}());this['data'][_0x42eefb(0x580)]!==_0x56b211&&(this['set'](_0x42eefb(0x580),_0x56b211),this[_0x42eefb(0x2ed)](_0x42eefb(0x272)));const _0x5cfe0b=this[_0x42eefb(0x2ed)](_0x42eefb(0xe6));this[_0x42eefb(0x1b0)](_0x42eefb(0x4f7),_0x5cfe0b,_0x36d6cd,_0x1442cc[_0x42eefb(0x447)]['P8MeasureContentPerformance']|_0x1442cc[_0x42eefb(0x447)][_0x42eefb(0x1a6)]);}[_0x124ff6(0x20e)](_0x3180ea,_0x373c93){const _0x586958=_0x124ff6,_0x3a6325=Object[_0x586958(0x558)](Object[_0x586958(0x558)]({},_0x373c93),{'level_id':_0x3180ea});this[_0x586958(0x44c)](_0x586958(0x2b8),_0x3a6325,_0x1442cc[_0x586958(0x447)][_0x586958(0x1c6)]|_0x1442cc[_0x586958(0x447)][_0x586958(0x1a6)]),this[_0x586958(0x488)](_0x586958(0x100),-0x1);}['getConsentedIdProvider'](){const _0x2cf83b=_0x124ff6;var _0x50054b,_0x551db7;return(null===(_0x551db7=(_0x50054b=this[_0x2cf83b(0x565)])[_0x2cf83b(0x357)])||void 0x0===_0x551db7?void 0x0:_0x551db7[_0x2cf83b(0x512)](_0x50054b))||this['consentProvider'][_0x2cf83b(0x480)](_0x1442cc[_0x2cf83b(0x447)][_0x2cf83b(0x3e6)],_0x1442cc[_0x2cf83b(0x447)][_0x2cf83b(0x4d2)])?this['idProvider']:this['randomIdProvider'];}}var _0x1ea5a0,_0x10e94e;const _0x132ec9={'chromeWrapper':_0x124ff6(0x1bc),'androidWrapper':_0x124ff6(0x514),'iOSWrapper':_0x124ff6(0x352),'rcs':_0x124ff6(0x10a),'samsungAppStore':_0x124ff6(0x543),'facebookInstant':_0x124ff6(0x34b),'facebookRooms':_0x124ff6(0x163),'facebookAppWeb':_0x124ff6(0xfb),'facebookApp':'facebook_canvas','samsungBixby':_0x124ff6(0x2ab),'samsungGameLauncher':_0x124ff6(0x34a),'samsungInstantPlay':'samsung_instant_play','spilGamesWrapper':_0x124ff6(0x417),'vkru':'vkru','okru':_0x124ff6(0x2fa),'kik':'kik','twitter':_0x124ff6(0x1a4),'twitch':'twitch','hago':'hago','oppoGlobal':'oppo_global','tMobile':'tmobile','huawei':_0x124ff6(0x4c7),'huaweiquickapp':'huawei_quick_app','yandex':_0x124ff6(0x1e2),'crazyGames':_0x124ff6(0x478),'lgtv':'lg_tv','jioStb':_0x124ff6(0x549),'myJio':'jio_my','jioGameslite':_0x124ff6(0x339),'rocketChat':'rocket_chat','ufone':_0x124ff6(0x465),'game8':'game8','mailonline':_0x124ff6(0x16d),'discord':_0x124ff6(0x497),'harman':_0x124ff6(0x1e0),'microsoftPwa':'microsoft_pwa'},_0xfd3c1b=_0x124ff6(0x538),_0x133e85={0x1db9442d3:'samsung_game_launcher',0x1c76d3513:'bixby',0xdcd226e6:_0x124ff6(0x233),0xf1cdfac9:_0xfd3c1b,0xc1088a4c:_0x124ff6(0x316),0x1405f0c50:_0xfd3c1b,0x13f9fccba:_0xfd3c1b,0x2224e2ac3:_0xfd3c1b,0x630c3722:_0xfd3c1b,0x6a2fa83d:_0xfd3c1b,0x5af52484:_0x124ff6(0x226),0x2218cd8be:_0x124ff6(0x551),0x5d97def1:'bixby',0x16f1b418a:'telenorpk',0x239129fca:_0x124ff6(0x39c),0x1242066c4:_0xfd3c1b,0x14863fabf:_0xfd3c1b,0x117673779:_0xfd3c1b,0x1cf4261df:_0xfd3c1b,0x158944b6a:_0xfd3c1b,0x1d47865cc:_0x124ff6(0x2ab),0x17313aac4:_0xfd3c1b,0x227d1546d:_0xfd3c1b,0x253ecf182:_0x124ff6(0x26e),0x6bea9361:_0xfd3c1b,0x19a0b681b:_0xfd3c1b,0x151a7b5d0:_0xfd3c1b,0x1d5338f10:_0x124ff6(0x132),0x19b95571a:'1001spill',0x400f9684:_0xfd3c1b,0x11f748985:_0x124ff6(0x4c7),0xe97bd72a:_0xfd3c1b,0xb849bbd3:_0xfd3c1b,0x236f09a78:_0xfd3c1b,0x23cc94cb0:_0xfd3c1b,0x20f47a373:_0xfd3c1b,0x71fd112f:_0xfd3c1b,0xce6a8b9c:_0xfd3c1b,0xbb11603a:'spil',0xd726535f:_0xfd3c1b,0x1b0b36cc9:_0xfd3c1b,0x1ec618c27:_0xfd3c1b,0x11d9f1dde:_0xfd3c1b,0x13c285bec:_0xfd3c1b,0xfa1b10a3:_0xfd3c1b,0x1c00c7f19:'ga',0x54aa0b0c:_0xfd3c1b,0x179fc89e2:_0xfd3c1b,0xbe101334:_0xfd3c1b,0x1bae2c703:'samsung_galaxy_store_pwa',0x16e1a6557:_0xfd3c1b,0x8fa7e8d0:_0x124ff6(0x417),0x173d36c38:_0xfd3c1b,0x81170b57:_0xfd3c1b,0x1ab56e5fb:_0xfd3c1b,0x1a82f71ed:_0xfd3c1b,0x2354c2d06:_0xfd3c1b,0x1ee1122db:_0x124ff6(0x478),0x1269567e5:_0xfd3c1b,0xf51770e3:_0x124ff6(0xc5),0x236bf62bd:_0x124ff6(0x55a),0x188433182:_0xfd3c1b,0x177d4a479:_0xfd3c1b,0x1cc3a73db:_0xfd3c1b,0x15320efb9:_0xfd3c1b,0x106b7bac4:_0xfd3c1b,0x20c1cd8e1:_0x124ff6(0x1f8),0x18f762d37:_0xfd3c1b,0x1e6c49e1e:_0xfd3c1b,0x47c43dcb:_0xfd3c1b,0x1fd0b613f:_0xfd3c1b,0x1e26143ee:_0xfd3c1b,0xb5cc45f1:_0xfd3c1b,0x16be32724:_0xfd3c1b,0x140e57421:_0xfd3c1b,0x80748ad7:_0xfd3c1b,0x10b20632e:_0xfd3c1b,0x22271968a:_0xfd3c1b,0x9cfba9dc:_0xfd3c1b,0x155b433c4:_0xfd3c1b,0x43bd382a:_0xfd3c1b,0xe6953836:_0xfd3c1b,0x194ccb869:_0xfd3c1b,0xee7b4d38:'spil',0x1f01c2943:_0xfd3c1b,0x5a1ea06e:_0xfd3c1b,0x13e257636:_0xfd3c1b,0x1c7d1459c:_0xfd3c1b,0x23432c347:_0xfd3c1b,0x20686279d:_0xfd3c1b,0x1ee07075b:'ga',0x5f706fc8:_0xfd3c1b,0x191ac535d:_0xfd3c1b,0xbb652582:_0x124ff6(0x417),0xda363268:'legacy_all_samsung_browser',0x18dafbaa2:'ga',0x250c32b3e:_0xfd3c1b,0xfb4c93d9:'ga',0x248bfffe6:_0xfd3c1b,0xf5fe4a79:_0xfd3c1b,0x249fe7de7:'mediatrust',0x626a706d:_0xfd3c1b,0x8f306e16:_0xfd3c1b,0xbfbfde8d:'rcs',0x1e9550520:_0xfd3c1b,0x1b605ed9f:_0xfd3c1b,0x71b8ff08:_0xfd3c1b,0x1cb9e83c8:_0xfd3c1b,0x18e54f854:_0xfd3c1b,0x1e9fecd05:_0xfd3c1b,0x225e9a40d:_0xfd3c1b,0x180fe5898:'ga',0xc48ac6df:_0xfd3c1b,0x7b2af39a:_0xfd3c1b,0x23cd9938d:_0x124ff6(0x417),0x1438e7d0c:_0xfd3c1b,0xdda56889:'ga',0x1a1d81ff9:_0xfd3c1b,0x149d323d7:'spil',0x141810037:_0x124ff6(0x417),0x18e36ed12:_0xfd3c1b,0x1e4ec0d4c:_0xfd3c1b,0x135aa9192:'ga',0x919edab1:_0xfd3c1b,0x24a985b66:_0xfd3c1b,0x234852745:_0x124ff6(0x417),0x203573496:_0x124ff6(0x399),0x2452c1f25:_0x124ff6(0x417),0x14798144b:_0x124ff6(0x417),0x21e24b778:_0x124ff6(0x417),0x135c380c6:_0xfd3c1b,0x660aea27:_0x124ff6(0x417),0x573fe409:_0x124ff6(0x3aa),0x18c697f83:_0xfd3c1b,0x1d42ab8e3:'spil',0xf97f200e:_0xfd3c1b,0x5cf70d82:_0xfd3c1b,0xfa1ff17c:'ga',0x1592eb5b9:_0xfd3c1b,0x20ed6c4a2:_0xfd3c1b,0x188e9f4ec:_0xfd3c1b,0x217de3028:'rocketchat',0xb77e8d10:_0xfd3c1b,0x5448ce78:_0x124ff6(0x417),0x66a0d55c:_0x124ff6(0x417),0x1c6a8123d:_0x124ff6(0x256),0x1b0997479:'spil',0x18ea168f6:_0x124ff6(0x178),0x17ccd5d41:_0xfd3c1b,0x194f772ac:_0x124ff6(0x2e6),0xa215e79b:'spil',0x165f70f70:_0xfd3c1b,0x11bce4329:_0x124ff6(0x417),0x1ec6487ad:_0xfd3c1b,0x1240aa8c9:_0xfd3c1b,0x14c0ccea9:_0x124ff6(0x2c2),0xc3402a38:_0x124ff6(0x417),0x5577f907:_0x124ff6(0x417),0x1d8682228:_0x124ff6(0x21f),0xd5d2ea60:_0x124ff6(0x2ad),0xed60d91f:_0xfd3c1b,0x1058c84f2:_0x124ff6(0x417),0x1f8ed51e1:'bixby',0x4edbb289:'spil',0xd6e3d471:_0x124ff6(0x2ab),0x21d866b23:_0xfd3c1b,0x6fb09868:_0x124ff6(0x4b1),0x213ee2b77:'bixby',0x1b152e3fb:'tmobile',0x401ba914:_0x124ff6(0x17a),0x417927da:_0xfd3c1b,0x1e8bf4671:_0x124ff6(0x440)},_0x63dc52=_0x124ff6(0x247)==typeof window?'':null!==(_0x10e94e=null===(_0x1ea5a0=window[_0x124ff6(0x32f)])||void 0x0===_0x1ea5a0?void 0x0:_0x1ea5a0['href'])&&void 0x0!==_0x10e94e?_0x10e94e:'',_0x252700=function(_0xa79609,_0x44a0d7){const _0x4e957b=_0x124ff6;let _0x34c27b='frvr';for(const _0x3ff6ce in _0x132ec9)_0xa79609[_0x3ff6ce]&&(_0x34c27b=_0x132ec9[_0x3ff6ce]);const _0x425f00=_0x44a0d7();if(_0x425f00){const _0x23fbba=_0x133e85[_0x425f00];_0x23fbba&&(_0x34c27b=_0x23fbba);}return(window[_0x4e957b(0x32f)]&&window[_0x4e957b(0x32f)][_0x4e957b(0x4a5)]&&_0x4e957b(0x375)===window[_0x4e957b(0x32f)][_0x4e957b(0x4a5)]||_0x4e957b(0x21a)===window[_0x4e957b(0x32f)][_0x4e957b(0x4a5)])&&(_0x34c27b='krunker_io'),window[_0x4e957b(0x32f)]&&window['location'][_0x4e957b(0x4a5)]&&window[_0x4e957b(0x32f)][_0x4e957b(0x4a5)][_0x4e957b(0x36b)]('discord')&&(_0x34c27b='discord'),_0x34c27b;},_0x235cba=function(_0x31551d,_0x42e97b){const _0x14dc9f=_0x124ff6;null!=_0x31551d||(_0x31551d=window['location']['href']),_0x42e97b=_0x42e97b['replace'](/[\[\]]/g,'\x5c$&');const _0x17540f=new RegExp(_0x14dc9f(0x1b8)+_0x42e97b+'(=([^&#]*)|&|#|$)','i')[_0x14dc9f(0x4cf)](_0x31551d);return _0x17540f?_0x17540f[0x2]?decodeURIComponent(_0x17540f[0x2]['replace'](/\+/g,'\x20')):'':null;},_0x4cfcc0=(_0x5261af,_0x5dde2b)=>function(_0x4535d4,_0x4dc94d,_0x5d5cfe,_0x3ba254){const _0x40c99a=_0x124ff6,_0x5962d2={};return _0x5261af&&(_0x5962d2[_0x5261af]=!0x0),_0x5962d2[_0x40c99a(0x514)]=/(android)/i[_0x40c99a(0x2fb)](_0x5d5cfe)&&!/(Windows)/i['test'](_0x5d5cfe),_0x5962d2[_0x40c99a(0x1cd)]=(function(){const _0x41205c=_0x40c99a,_0x4f3ac6=navigator['userAgent']['toLowerCase']()[_0x41205c(0x2f9)](/android\s([0-9\.]*)/);return parseFloat(_0x4f3ac6?_0x4f3ac6[0x1]:'0');}()),_0x5962d2[_0x40c99a(0x3b7)]=/(Mobile)/i[_0x40c99a(0x2fb)](_0x5d5cfe)&&/(Firefox)/i[_0x40c99a(0x2fb)](_0x5d5cfe),_0x5962d2[_0x40c99a(0x1be)]=_0x5962d2[_0x40c99a(0x514)]&&_0x5962d2[_0x40c99a(0x1cd)]<0x6,_0x5962d2[_0x40c99a(0x131)]=/(ipod|iphone|ipad)/i[_0x40c99a(0x2fb)](_0x5d5cfe)||/(Macintosh)/i[_0x40c99a(0x2fb)](_0x5d5cfe)&&_0x40c99a(0x298)in document,_0x5962d2[_0x40c99a(0x175)]=/(IEMobile)/i[_0x40c99a(0x2fb)](_0x5d5cfe),_0x5962d2[_0x40c99a(0x432)]=/(silk)/i[_0x40c99a(0x2fb)](_0x5d5cfe),_0x5962d2[_0x40c99a(0x4f6)]=/(clay\.io)/i[_0x40c99a(0x2fb)](_0x3ba254),_0x5962d2[_0x40c99a(0x4dc)]=/(fb_canvas)/i[_0x40c99a(0x2fb)](_0x3ba254),_0x5962d2[_0x40c99a(0x149)]=/(fb_canvas_web)/i['test'](_0x3ba254),_0x5962d2[_0x40c99a(0x3d8)]=_0x4535d4[_0x40c99a(0x3e9)]!==_0x4535d4[_0x40c99a(0x17f)],_0x5962d2[_0x40c99a(0x251)]=_0x40c99a(0x251)in _0x4dc94d&&_0x4dc94d[_0x40c99a(0x251)],_0x5962d2['mobileiOSDevice']=Boolean(_0x5d5cfe[_0x40c99a(0x2f9)](/iPhone/i)||_0x5d5cfe['match'](/iPod/i)),_0x5962d2[_0x40c99a(0x55d)]=/(kongregateiframe)/i[_0x40c99a(0x2fb)](_0x3ba254),_0x5962d2[_0x40c99a(0xd4)]=/(kik_canvas)/i[_0x40c99a(0x2fb)](_0x3ba254),_0x5962d2['twitter']=/(twitter)/gi[_0x40c99a(0x2fb)](_0x5d5cfe),_0x5962d2['chrome']=/Chrome\//[_0x40c99a(0x2fb)](_0x5d5cfe),_0x5962d2[_0x40c99a(0x343)]=!!navigator['userAgent']['match'](/Version\/[\d\.]+.*Safari/),_0x5962d2[_0x40c99a(0x376)]=0x0==window[_0x40c99a(0x32f)][_0x40c99a(0x30e)][_0x40c99a(0x288)]('https'),_0x5962d2[_0x40c99a(0x17b)]=!!window[_0x40c99a(0x3af)],_0x5962d2[_0x40c99a(0x45c)]=!!window[_0x40c99a(0x262)],_0x5962d2[_0x40c99a(0x307)]=/(spilgames)/i[_0x40c99a(0x2fb)](_0x3ba254),_0x5962d2[_0x40c99a(0x577)]='on'==_0x235cba(_0x5dde2b,_0x40c99a(0x577)),_0x5962d2[_0x40c99a(0x10c)]=_0x40c99a(0x37d)==_0x235cba(_0x5dde2b,'ads'),_0x5962d2[_0x40c99a(0x4c5)]=_0x40c99a(0x37d)==_0x235cba(_0x5dde2b,_0x40c99a(0x4ed)),_0x5962d2['advertisementOverlayEnabled']=!_0x5962d2[_0x40c99a(0x3d8)]||_0x5962d2[_0x40c99a(0x307)]||Boolean(_0x235cba(_0x5dde2b,_0x40c99a(0x4db))),_0x5962d2[_0x40c99a(0x371)]='1'==_0x235cba(_0x5dde2b,'nosoc'),_0x5962d2['facebookAd']=/(\/\?fb)/i[_0x40c99a(0x2fb)](_0x3ba254),_0x5962d2[_0x40c99a(0x4e8)]=_0x5962d2[_0x40c99a(0x514)]||_0x5962d2[_0x40c99a(0x175)]||_0x5962d2[_0x40c99a(0x131)]||_0x5962d2[_0x40c99a(0x432)]||_0x5962d2[_0x40c99a(0x3b7)],_0x5962d2[_0x40c99a(0x364)]=!!_0x4535d4['iOSWrapper'],_0x5962d2[_0x40c99a(0x309)]=_0x40c99a(0x561)==_0x235cba(_0x5dde2b,_0x40c99a(0x309)),_0x5962d2[_0x40c99a(0x181)]=_0x40c99a(0x561)==_0x235cba(_0x5dde2b,_0x40c99a(0x19d)),_0x5962d2[_0x40c99a(0x2d9)]=!!_0x4535d4[_0x40c99a(0x2d9)],_0x5962d2[_0x40c99a(0x184)]=!!_0x4535d4[_0x40c99a(0x102)],_0x5962d2[_0x40c99a(0xd2)]=_0x40c99a(0x160)==_0x235cba(_0x5dde2b,_0x40c99a(0x550)),_0x5962d2[_0x40c99a(0x23f)]=Boolean(_0x4535d4['iOSWrapper']||_0x4535d4[_0x40c99a(0x2d9)]||_0x5962d2[_0x40c99a(0xd2)]),_0x5962d2[_0x40c99a(0x191)]=!0x1,_0x5962d2[_0x40c99a(0x441)]=!0x1,_0x5962d2['jioStb']=!!_0x5962d2[_0x40c99a(0x41c)],_0x5962d2[_0x40c99a(0x194)]=!!_0x5962d2[_0x40c99a(0x370)],_0x5962d2['jioGameslite']=!!_0x5962d2['jio-gameslite'],_0x5962d2[_0x40c99a(0x16e)]=_0x5962d2[_0x40c99a(0x4a8)]||_0x5962d2[_0x40c99a(0x194)]||_0x5962d2[_0x40c99a(0x139)],_0x5962d2[_0x40c99a(0x210)]=''==_0x235cba(_0x5dde2b,'twitch'),_0x5962d2[_0x40c99a(0x389)]=''==_0x235cba(_0x5dde2b,'vkru'),_0x5962d2[_0x40c99a(0x2fa)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x2fa)),_0x5962d2[_0x40c99a(0x3bc)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x2f3)),_0x5962d2[_0x40c99a(0x2ce)]=''==_0x235cba(_0x5dde2b,'pwa'),_0x5962d2[_0x40c99a(0x108)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x15f)),_0x5962d2[_0x40c99a(0x495)]=!0x0,_0x5962d2['samsungGalaxyStorePWA']=''==_0x235cba(_0x5dde2b,_0x40c99a(0x160))&&_0x40c99a(0x1a8)==_0x235cba(_0x5dde2b,_0x40c99a(0x3b3)),_0x5962d2['samsungGameLauncherPWA']=(''==_0x235cba(_0x5dde2b,'pwa')||''==_0x235cba(_0x5dde2b,_0x40c99a(0x160)))&&_0x40c99a(0x2b9)==_0x235cba(_0x5dde2b,_0x40c99a(0x3b3)),_0x5962d2[_0x40c99a(0x22e)]=!!window[_0x40c99a(0xf0)]||(''==_0x235cba(_0x5dde2b,_0x40c99a(0x2b9))||'gamelauncher'==_0x235cba(_0x5dde2b,_0x40c99a(0x3b3))),_0x5962d2[_0x40c99a(0x407)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x160))&&!_0x5962d2['samsungGalaxyStorePWA'],_0x5962d2['samsungBrowserUK']=''==_0x235cba(_0x5dde2b,'samsungbuk'),_0x5962d2[_0x40c99a(0x4df)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x137)),_0x5962d2[_0x40c99a(0x2fd)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x382)),_0x5962d2[_0x40c99a(0x3df)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x169)),_0x5962d2[_0x40c99a(0x479)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x3de)),_0x5962d2[_0x40c99a(0x27b)]=!!window['GSInstant'],_0x5962d2['samsung']=_0x5962d2[_0x40c99a(0x51a)]||_0x5962d2[_0x40c99a(0x42f)]||_0x5962d2[_0x40c99a(0x22e)]||_0x5962d2[_0x40c99a(0x407)]||_0x5962d2['samsungBrowserUK']||_0x5962d2[_0x40c99a(0x1e6)]||_0x5962d2[_0x40c99a(0x4df)]||_0x5962d2[_0x40c99a(0x2fd)]||_0x5962d2['samsungBrowser']||_0x5962d2[_0x40c99a(0x479)]||_0x5962d2[_0x40c99a(0x27b)],_0x5962d2[_0x40c99a(0x10a)]=Boolean(_0x235cba(_0x5dde2b,'rcsid')),_0x5962d2[_0x40c99a(0x374)]=''==_0x235cba(_0x5dde2b,'rcskr'),_0x5962d2['huaweiquickapp']=''==_0x235cba(_0x5dde2b,'huaweiquickapp'),_0x5962d2[_0x40c99a(0x4c7)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x4c7))||_0x5962d2[_0x40c99a(0x38c)],_0x5962d2['mozilla']=''==_0x235cba(_0x5dde2b,_0x40c99a(0x183)),_0x5962d2['miniclip']=''==_0x235cba(_0x5dde2b,'miniclip'),_0x5962d2['chromeOSDevice']='true'==_0x235cba(_0x5dde2b,_0x40c99a(0x176)),_0x5962d2[_0x40c99a(0x166)]=!!_0x4535d4[_0x40c99a(0x3d2)]&&!!_0x4535d4[_0x40c99a(0x3d2)][_0x40c99a(0x1cc)]||!!_0x4535d4[_0x40c99a(0x166)]||_0x5d5cfe[_0x40c99a(0x288)](_0x40c99a(0x508))>=0x0,_0x5962d2[_0x40c99a(0x1e2)]=!!window['YaGames'],_0x5962d2['firefox']=void 0x0!==_0x4535d4[_0x40c99a(0x491)],_0x5962d2['edge']=/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i['test'](_0x5d5cfe),_0x5962d2['oppoGlobal']=''==_0x235cba(_0x5dde2b,_0x40c99a(0xd9)),_0x5962d2['lgtv']=''==_0x235cba(_0x5dde2b,'lgtv'),_0x5962d2[_0x40c99a(0x12c)]=_0x40c99a(0x1c1)==_0x235cba(_0x5dde2b,_0x40c99a(0x4db)),_0x5962d2[_0x40c99a(0x1f8)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x1f8)),_0x5962d2['ufone']=_0x40c99a(0x2d3)==_0x235cba(_0x5dde2b,_0x40c99a(0x4db)),_0x5962d2[_0x40c99a(0x213)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x213)),_0x5962d2[_0x40c99a(0x2e6)]='6794212012'==_0x235cba(_0x5dde2b,_0x40c99a(0x4db)),_0x5962d2[_0x40c99a(0x48c)]=''==_0x235cba(_0x5dde2b,'disableNativeBridge'),_0x5962d2[_0x40c99a(0x3f9)]=!_0x5962d2['disableNativeBridge']&&(_0x5962d2['mynet']||_0x5962d2[_0x40c99a(0x3bc)]||_0x5962d2[_0x40c99a(0x465)]||_0x5962d2['mailonline'])&&(_0x5962d2['iOS']||_0x5962d2[_0x40c99a(0x514)]),_0x5962d2[_0x40c99a(0x18d)]=''==_0x235cba(_0x5dde2b,'rocketchat'),_0x5962d2[_0x40c99a(0x497)]=_0x40c99a(0x497)===_0x5261af,_0x5962d2['harman']=''==_0x235cba(_0x5dde2b,'harman'),_0x5962d2[_0x40c99a(0x4f4)]=!(_0x5962d2['chromeOSDevice']||_0x5962d2[_0x40c99a(0x3d8)]||_0x5962d2[_0x40c99a(0x23f)]||_0x5962d2[_0x40c99a(0x210)]||_0x5962d2[_0x40c99a(0x389)]||_0x5962d2[_0x40c99a(0x2fa)]||_0x5962d2['facebookInstant']||_0x5962d2[_0x40c99a(0x3f9)]),_0x5962d2['tv']=_0x5962d2['jioStb']||_0x5962d2[_0x40c99a(0x4d0)],_0x5962d2[_0x40c99a(0xe7)]=''==_0x235cba(_0x5dde2b,_0x40c99a(0x433))||!!_0x235cba(_0x5dde2b,'msstart_sdk_init'),_0x5962d2;}(window,navigator,navigator[_0x124ff6(0x416)],String(window[_0x124ff6(0x32f)])),_0x1eefc5={'getChannel':function(_0x11f7be,_0x1c67c1,_0xd5a8d7){let _0x35f86f,_0x868617;return()=>{if(_0x35f86f)return _0x35f86f;var _0x369be5,_0x517554,_0x3466a9;null!=_0x868617||(_0x868617=_0x4cfcc0(_0x11f7be,_0x63dc52)),null!=_0xd5a8d7||(_0x369be5=_0x63dc52,_0x517554=_0x868617,_0x3466a9=_0x1c67c1||{},_0xd5a8d7=()=>function(_0x2a4738,_0x3917c8,_0x960dad){const _0x132305=_0x19d1,_0x596d98=_0x235cba(_0x2a4738,_0x132305(0x4db));if(_0x596d98)return _0x596d98;const _0x227f4a=[[_0x132305(0x3df),_0x132305(0x296)],['rcs',_0x132305(0x4f0)],['huaweiquickapp',_0x132305(0x581)],[_0x132305(0x4c7),_0x132305(0x127)],[_0x132305(0x3bc),_0x132305(0x300)],[_0x132305(0x3da),_0x132305(0x548)],[_0x132305(0x2fd),_0x132305(0x1a7)],['samsungBrowserUS',_0x132305(0x14d)],[_0x132305(0x1e6),_0x132305(0x532)],[_0x132305(0x183),'9508446909'],['samsungBixby','7640790291'],[_0x132305(0x51a),'7430391555'],[_0x132305(0x42f),_0x132305(0x560)],['samsungInstantPlay',_0x132305(0x2db)]];for(const [_0x21d4df,_0x37d0be]of _0x227f4a)if(_0x3917c8[_0x21d4df])return _0x37d0be;const _0x5203b9={'ft_daily':_0x132305(0x25b),'ft_bixby':_0x132305(0x406),'ft_browser_us':_0x132305(0x2be),'ft_browser_uk':_0x132305(0x398),'default':_0x132305(0x50c)},_0x2ae497={'ft_daily':_0x132305(0x4a6),'ft_bixby':_0x132305(0x530),'ft_browser_us':'1526015108','ft_browser_uk':_0x132305(0x532),'default':_0x132305(0x492)};return _0x3917c8[_0x132305(0x22e)]?_0x5203b9[_0x235cba(_0x2a4738,_0x132305(0x3b3))]||_0x5203b9[_0x132305(0x3d5)]:_0x235cba(_0x2a4738,_0x132305(0x3de))||''===_0x235cba(_0x2a4738,_0x132305(0x3de))?_0x2ae497[_0x235cba(_0x2a4738,_0x132305(0x3b3))]||_0x2ae497[_0x132305(0x3d5)]:_0x3917c8[_0x132305(0x307)]&&_0x960dad['googleAdSpilgamesId']?_0x960dad[_0x132305(0x212)]:!!_0x960dad['googleAdSiteId']&&_0x960dad[_0x132305(0x327)];}(_0x369be5,_0x517554,_0x3466a9));const _0x47db3a=_0x252700(_0x868617,_0xd5a8d7);return _0x35f86f=_0x47db3a,_0x47db3a;};}('',{})},_0xfeae77={'getName':()=>_0x124ff6(0x4f9),'init':()=>_0x2e1bf5(void 0x0,void 0x0,void 0x0,function*(){}),'configure':()=>_0x2e1bf5(void 0x0,void 0x0,void 0x0,function*(){}),'isReady':()=>!0x1,'getCatalog':()=>({}),'getProductById':()=>{},'purchase':()=>_0x2e1bf5(void 0x0,void 0x0,void 0x0,function*(){const _0x5788cf=_0x124ff6;throw new Error(_0x5788cf(0x3c5));}),'consumePurchase':()=>{const _0x20ff77=_0x124ff6;throw new Error(_0x20ff77(0x3c5));},'getUnconsumedPurchases':()=>_0x2e1bf5(void 0x0,void 0x0,void 0x0,function*(){return[];}),'onIsReadyChanged':function(){}},_0x29ad99={'logEvent':()=>{},'logValuedEvent':()=>{}};class _0x29e57c{constructor(_0x10bd2f,_0x296e08){const _0x27be3f=_0x124ff6;this['analytics']=_0x10bd2f,this[_0x27be3f(0x45e)]=_0x296e08;}[_0x124ff6(0x3a6)](_0x148bdb,_0xcf0ec8){const _0x40acff=_0x124ff6;this[_0x40acff(0xf8)][_0x40acff(0x1b0)](_0x40acff(0x3a3),0x1,Object[_0x40acff(0x558)](Object[_0x40acff(0x558)]({},_0x148bdb),{'err':_0xcf0ec8}));}[_0x124ff6(0x466)](_0x5cfac9,_0x33989b){const _0x31acbd=_0x124ff6;this[_0x31acbd(0xf8)][_0x31acbd(0x1b0)](_0x31acbd(0x291),0x1,Object[_0x31acbd(0x558)](Object['assign']({},_0x5cfac9),{'purchaseId':_0x33989b['purchaseId']}));}[_0x124ff6(0x3cf)](_0x4ee172){const _0x10bcf5=_0x124ff6;this[_0x10bcf5(0xf8)]['logValuedEvent'](_0x10bcf5(0x50a),0x1,Object[_0x10bcf5(0x558)]({},_0x4ee172));}['logConsumePurchase'](_0x35adad,_0x526abc){const _0x135b78=_0x124ff6;this[_0x135b78(0xf8)][_0x135b78(0x1b0)](_0x135b78(0x19b),0x1,Object[_0x135b78(0x558)](Object[_0x135b78(0x558)]({},_0x35adad),{'purchaseId':_0x526abc[_0x135b78(0x20d)]}));}['logRestorePurchasesError'](_0x319c94){const _0x493ca0=_0x124ff6;this[_0x493ca0(0xf8)][_0x493ca0(0x1b0)](_0x493ca0(0x2ba),0x1,{'provider':this[_0x493ca0(0x45e)],'err':_0x319c94});}[_0x124ff6(0x50b)](){const _0x26adf4=_0x124ff6;this[_0x26adf4(0xf8)][_0x26adf4(0x1b0)](_0x26adf4(0x22f),0x1,{'provider':this[_0x26adf4(0x45e)]});}[_0x124ff6(0x26d)](){const _0x1c003a=_0x124ff6;this['analytics'][_0x1c003a(0x1b0)](_0x1c003a(0x261),0x1,{'provider':this[_0x1c003a(0x45e)]});}}var _0x441db4;_0x1442cc['IAPErrorCode']=void 0x0,(_0x441db4=_0x1442cc[_0x124ff6(0x3ae)]||(_0x1442cc[_0x124ff6(0x3ae)]={}))[_0x124ff6(0x115)]=_0x124ff6(0x115),_0x441db4['USER_INPUT']=_0x124ff6(0x269),_0x441db4['INVALID_PARAM']=_0x124ff6(0x1a0),_0x441db4[_0x124ff6(0x1e3)]='ALREADY_OWNED';class _0x53e3c8 extends Error{constructor(_0x360579,_0x142899,_0x362055=_0x1442cc[_0x124ff6(0x3ae)]['UNKNOWN']){const _0xb8d9f1=_0x124ff6;super(_0x360579,_0x142899),this[_0xb8d9f1(0x26f)]=_0x362055,Object[_0xb8d9f1(0x51e)](this,_0x53e3c8[_0xb8d9f1(0x3fd)]);}}class _0x1d46d4 extends _0x53e3c8{constructor(_0x245b32,_0x51c553){const _0x4f1162=_0x124ff6;super(_0x245b32,_0x51c553,_0x1442cc[_0x4f1162(0x3ae)][_0x4f1162(0x1a0)]),Object[_0x4f1162(0x51e)](this,_0x1d46d4[_0x4f1162(0x3fd)]);}}class _0x4ee018 extends _0x53e3c8{constructor(_0x12d7fb='Purchase\x20cancelled\x20by\x20user',_0x43003d){const _0x10b1c4=_0x124ff6;super(_0x12d7fb,_0x43003d,_0x1442cc['IAPErrorCode'][_0x10b1c4(0x269)]),Object['setPrototypeOf'](this,_0x4ee018['prototype']);}}class _0x2f1b9a extends _0x53e3c8{constructor(_0x3b6ab4=_0x124ff6(0x10b),_0x36868c){const _0x1808fd=_0x124ff6;super(_0x3b6ab4,_0x36868c,_0x1442cc[_0x1808fd(0x3ae)][_0x1808fd(0x1e3)]),Object[_0x1808fd(0x51e)](this,_0x2f1b9a[_0x1808fd(0x3fd)]);}}var _0x295b62=Object[_0x124ff6(0x54a)]({'__proto__':null,get 'IAPErrorCode'(){return _0x1442cc['IAPErrorCode'];},'IAPError':_0x53e3c8,'IAPPurchaseErrorUnknownProduct':_0x1d46d4,'IAPPurchaseErrorCancelledByUser':_0x4ee018,'IAPPurchaseErrorAlreadyOwned':_0x2f1b9a});class _0x322ec3{constructor(_0x4945c1){const _0x494e85=_0x124ff6;this[_0x494e85(0x114)]=_0x295b62,this[_0x494e85(0x135)]=_0x4945c1[_0x494e85(0x135)]||_0xfeae77,this[_0x494e85(0x51f)]=new _0x29e57c(_0x4945c1[_0x494e85(0x223)]||_0x29ad99,this[_0x494e85(0x135)][_0x494e85(0x1bb)]()),this[_0x494e85(0x43c)]=_0x4945c1['logger']||_0x3cdeb2;}[_0x124ff6(0x1d6)](){const _0x337567=_0x124ff6;return this[_0x337567(0x135)][_0x337567(0x1d6)]();}['configure'](_0x5269ee){const _0x5b3292=_0x124ff6;return this[_0x5b3292(0x135)][_0x5b3292(0x159)](_0x5269ee);}[_0x124ff6(0x531)](){const _0x4a672d=_0x124ff6;return this[_0x4a672d(0x135)]['isReady']();}[_0x124ff6(0x18e)](_0x239bf5){const _0x50ef1c=_0x124ff6;this[_0x50ef1c(0x135)]['onIsReadyChanged'](_0x239bf5);}['getProviderName'](){const _0x31ce11=_0x124ff6;return this[_0x31ce11(0x135)][_0x31ce11(0x1bb)]();}[_0x124ff6(0x519)](){const _0xd78823=_0x124ff6;return this[_0xd78823(0x135)][_0xd78823(0x519)]();}[_0x124ff6(0x451)](_0x20c18b){const _0x54a1f1=_0x124ff6;var _0x432feb;const _0x40d510=this['provider']['getProductById'](_0x20c18b);if(!_0x40d510)return void this['logger'][_0x54a1f1(0x4ad)](_0x54a1f1(0x3f0),_0x20c18b);const _0x1a8e62=null!==(_0x432feb=_0x40d510[_0x54a1f1(0x32c)])&&void 0x0!==_0x432feb?_0x432feb:_0x40d510[_0x54a1f1(0x317)]+'\x20'+_0x40d510[_0x54a1f1(0x23a)];return Object['assign'](Object[_0x54a1f1(0x558)]({},_0x40d510),{'price':_0x1a8e62,'provider':this[_0x54a1f1(0x135)][_0x54a1f1(0x1bb)](),'productId':_0x20c18b});}[_0x124ff6(0x40f)](_0x55795a,_0x463e8a){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x1e092f=_0x19d1,_0x1ca586=this[_0x1e092f(0x451)](_0x55795a);if(this[_0x1e092f(0x51f)][_0x1e092f(0x3cf)](_0x1ca586),!_0x1ca586)throw new _0x1d46d4(_0x1e092f(0x215)+_0x55795a+'\x22');try{const _0x10c947=yield this[_0x1e092f(0x135)][_0x1e092f(0x40f)](_0x55795a,_0x463e8a);return this[_0x1e092f(0x51f)][_0x1e092f(0x466)](_0x1ca586,_0x10c947),_0x10c947;}catch(_0x1adf7d){const _0x51636f=_0x1adf7d['message']||_0x1adf7d[_0x1e092f(0x567)]();if(this['iapTracker'][_0x1e092f(0x3a6)](_0x1ca586,_0x51636f),_0x1adf7d instanceof _0x4ee018)throw this[_0x1e092f(0x43c)][_0x1e092f(0xf4)]('Purchase\x20cancelled\x20by\x20user'),_0x1adf7d;throw this[_0x1e092f(0x43c)][_0x1e092f(0x4ad)](_0x1e092f(0x35d)+_0x51636f,_0x1adf7d),new _0x53e3c8(_0x1e092f(0x1e5),{'cause':_0x1adf7d});}});}[_0x124ff6(0x20b)](_0x3607ba){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x1b52f4=_0x19d1,_0x30d3d4=this[_0x1b52f4(0x451)](_0x3607ba[_0x1b52f4(0x37e)]);this[_0x1b52f4(0x51f)][_0x1b52f4(0x51d)](_0x30d3d4,_0x3607ba);try{yield this[_0x1b52f4(0x135)]['consumePurchase'](_0x3607ba);}catch(_0x451e0b){throw new _0x53e3c8(_0x1b52f4(0x365),{'cause':_0x451e0b});}return _0x3607ba[_0x1b52f4(0x20d)];});}[_0x124ff6(0x244)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x365fd1=_0x19d1;this['iapTracker']['logRestorePurchases']();try{const _0x3d4893=yield this['provider']['getUnconsumedPurchases']();return this['iapTracker']['logRestorePurchasesSuccess'](),_0x3d4893;}catch(_0x4216e0){const _0x2b5a86=_0x4216e0[_0x365fd1(0x314)]||_0x4216e0[_0x365fd1(0x567)]();this[_0x365fd1(0x51f)]['logRestorePurchasesError'](_0x2b5a86),this[_0x365fd1(0x43c)][_0x365fd1(0x4ad)](_0x365fd1(0x502)+_0x2b5a86,_0x4216e0);}return[];});}[_0x124ff6(0x1bf)](_0x112778,_0x105a9f){const _0x1bd5a0=_0x124ff6;return this[_0x1bd5a0(0x40f)](_0x112778,_0x105a9f);}[_0x124ff6(0x238)](){const _0x4f86c0=_0x124ff6;return this[_0x4f86c0(0x135)][_0x4f86c0(0x238)]?(this['iapTracker'][_0x4f86c0(0x26d)](),this[_0x4f86c0(0x135)][_0x4f86c0(0x238)]()):this[_0x4f86c0(0x244)]();}['getPurchases'](){const _0xe1777c=_0x124ff6;return this[_0xe1777c(0x244)]();}}class _0x46d3e9{constructor(_0x187aaf){const _0x3f9e57=_0x124ff6;var _0x544698;this['auth']=_0x187aaf[_0x3f9e57(0x189)],this['channelId']=_0x187aaf[_0x3f9e57(0x48f)],this[_0x3f9e57(0x205)]=_0x187aaf[_0x3f9e57(0x205)],this[_0x3f9e57(0x373)]=null!==(_0x544698=_0x187aaf[_0x3f9e57(0x3a2)])&&void 0x0!==_0x544698?_0x544698:_0x187aaf[_0x3f9e57(0x47e)]===_0x1442cc[_0x3f9e57(0x1d4)][_0x3f9e57(0x3f8)]?_0x3f9e57(0x34e):'https://staging.crucible.frvr.com/v1/iap';}[_0x124ff6(0x48b)](_0x455ba7,_0x48c6e3){const _0x1c79be=_0x124ff6;return this[_0x1c79be(0x189)]['authenticatedFetch'](this[_0x1c79be(0x373)]+'/'+this[_0x1c79be(0x48f)]+'/'+_0x455ba7,_0x48c6e3);}[_0x124ff6(0x2bb)](){const _0x1c12cf=_0x124ff6;return this[_0x1c12cf(0x189)][_0x1c12cf(0x3f7)](this[_0x1c12cf(0x373)]+'/purchases/'+this['auth'][_0x1c12cf(0x4be)](),{'method':_0x1c12cf(0x187),'body':'{}'})['then'](this[_0x1c12cf(0x295)]);}[_0x124ff6(0x377)](_0x291b6a,_0x569904={}){const _0x2bf47b=_0x124ff6;return this[_0x2bf47b(0x189)]['authenticatedFetch'](this[_0x2bf47b(0x373)]+_0x2bf47b(0x427)+this['channelId']+'/'+this[_0x2bf47b(0x205)],Object[_0x2bf47b(0x558)]({'method':_0x2bf47b(0x442),'body':JSON[_0x2bf47b(0x2bd)](_0x291b6a)},_0x569904))[_0x2bf47b(0x4f2)](this[_0x2bf47b(0x295)]);}[_0x124ff6(0x20b)](_0x19fda4,_0x4e1f24){const _0x503600=_0x124ff6;return this[_0x503600(0x189)][_0x503600(0x3f7)](this['apiHost']+'/consume/'+this[_0x503600(0x48f)]+'/'+this[_0x503600(0x205)],{'method':_0x503600(0x442),'body':JSON[_0x503600(0x2bd)]({'applicationId':_0x19fda4,'transactionId':_0x4e1f24})})[_0x503600(0x4f2)](this[_0x503600(0x295)]);}[_0x124ff6(0x46d)](){const _0x7dc458=_0x124ff6;return fetch(this[_0x7dc458(0x373)]+'/products/'+this['channelId']+'/'+this[_0x7dc458(0x205)],{'method':_0x7dc458(0x187)})[_0x7dc458(0x4f2)](this[_0x7dc458(0x295)]);}[_0x124ff6(0x295)](_0x43215b){const _0x378cb6=_0x124ff6;if(!_0x43215b['ok'])throw new Error(_0x378cb6(0x46b)+_0x43215b[_0x378cb6(0x481)]+'\x20'+_0x43215b[_0x378cb6(0x49c)]);return _0x43215b['json']();}}class _0x4f840f{['scheduleMessage'](_0x4ddfd1){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x446875=_0x19d1,_0x42e655=yield fetch(_0x446875(0x52b),{'method':_0x446875(0x442),'headers':{'Accept':_0x446875(0x121),'Content-Type':_0x446875(0x121)},'body':JSON[_0x446875(0x2bd)](_0x4ddfd1)});return yield _0x42e655['json']();});}}const _0x570c8f={'logEvent':()=>{}};class _0x5c7220{constructor({provider:_0x4c9524,logger:_0x55e696,tracker:_0x4d8949=_0x570c8f}){const _0x3fcce5=_0x124ff6;this[_0x3fcce5(0xe1)]=!0x1,this['provider']=_0x4c9524,this[_0x3fcce5(0x43c)]=_0x55e696,this[_0x3fcce5(0x337)]=new _0x4f840f(),this[_0x3fcce5(0x223)]=_0x4d8949;}[_0x124ff6(0x1d6)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x2809e7=_0x19d1;this[_0x2809e7(0x38f)]?this[_0x2809e7(0xe1)]=!0x0:this[_0x2809e7(0x43c)][_0x2809e7(0x4ad)](_0x2809e7(0x2f0));});}[_0x124ff6(0x159)](_0x190867){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x16a34d=_0x19d1;this[_0x16a34d(0x38f)]=_0x190867[_0x16a34d(0x38f)];});}[_0x124ff6(0x4c0)](_0x4fce66){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x132dda=_0x19d1;if(!this[_0x132dda(0xe1)])throw this[_0x132dda(0x43c)][_0x132dda(0x4ad)]('Chatbot\x20can\x20not\x20be\x20used\x20until\x20it\x20has\x20been\x20initialized'),new Error(_0x132dda(0x1ab));const _0x7c2240={'game':this[_0x132dda(0x38f)],'platform':this[_0x132dda(0x135)]['getName'](),'player_id':_0x4fce66['playerId'],'timetorun':_0x4fce66[_0x132dda(0x36c)],'template':{'image_url':_0x4fce66[_0x132dda(0x2b5)],'message':_0x4fce66[_0x132dda(0x314)],'buttons':_0x4fce66[_0x132dda(0x33a)]}};return yield this[_0x132dda(0x337)][_0x132dda(0x4c0)](_0x7c2240);});}[_0x124ff6(0x4b8)](){const _0x99c98e=_0x124ff6;return this[_0x99c98e(0x135)][_0x99c98e(0x4b8)]();}[_0x124ff6(0x130)](){const _0x98b54c=_0x124ff6;return this[_0x98b54c(0x223)]['logEvent'](_0x98b54c(0x252),{}),this['provider'][_0x98b54c(0x130)]()[_0x98b54c(0x4f2)](_0x2c1808=>(_0x2c1808?this['tracker'][_0x98b54c(0x44c)]('bot_subscribe_success',{}):this[_0x98b54c(0x223)][_0x98b54c(0x44c)]('bot_subscribe_failure',{}),_0x2c1808))[_0x98b54c(0x27f)](_0x528b6e=>(this[_0x98b54c(0x223)][_0x98b54c(0x44c)](_0x98b54c(0x25f),{}),!0x1));}['scheduleLocalNotification'](_0x3c32fc,_0x54d39c,_0x18106e,_0x5b9406){const _0x4bcc32=_0x124ff6;return this['provider'][_0x4bcc32(0x1de)](_0x3c32fc,_0x54d39c,_0x18106e,_0x5b9406);}}function _0x5b4e12(){const _0x908b92=_0x124ff6;this[_0x908b92(0x26f)]='INVALID_OPERATION',this[_0x908b92(0x314)]='Trying\x20to\x20use\x20an\x20empty\x20interface.';}const _0x31ca03={'getName':()=>'','canScheduleMessages'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return!0x1;});},'subscribeScheduleMessages'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return!0x1;});},'scheduleLocalNotification':()=>Promise[_0x124ff6(0x2d0)](new _0x5b4e12())};class _0x3b17d7{constructor({id:_0x1072e5,contextID:_0x4b0045,endTime:_0x4152ac,startTime:_0x2996ae,refreshInterval:_0x2d5930,title:_0x22f1eb,payload:_0x4a9560,offset:_0xe72311,players:_0x49a1ff,type:_0x3611d8,count:_0x528f3f}){const _0xe1d4e4=_0x124ff6;this['id']=_0x1072e5,this[_0xe1d4e4(0x391)]=_0x4b0045,_0x4152ac&&(this[_0xe1d4e4(0x3fa)]=_0x4152ac),_0x2996ae&&(this[_0xe1d4e4(0x1fd)]=_0x2996ae),this[_0xe1d4e4(0x283)]=_0x2d5930,this[_0xe1d4e4(0x42c)]=_0x22f1eb,this['payload']=_0x4a9560,this[_0xe1d4e4(0x227)]=_0xe72311,this[_0xe1d4e4(0x246)]=_0x528f3f,_0x49a1ff&&(this['players']=_0x49a1ff),_0x3611d8&&(this['type']=_0x3611d8);}}class _0x5ba151{constructor(_0x39b040){const _0x700270=_0x124ff6;this['id']=_0x39b040['id'],this[_0x700270(0x28a)]=_0x39b040[_0x700270(0x28a)],this[_0x700270(0x29a)]=_0x39b040[_0x700270(0x29a)],this[_0x700270(0xd6)]=_0x39b040['rank'],_0x39b040[_0x700270(0x303)]&&(this[_0x700270(0x303)]=_0x39b040[_0x700270(0x303)]),this[_0x700270(0x4c4)]=_0x39b040[_0x700270(0x4c4)],this[_0x700270(0x2eb)]=_0x39b040['payload'];}}const _0x405df6='TOURNAMENT',_0x2d549a={[_0x1442cc['Env'][_0x124ff6(0x3f8)]]:'https://crucible.frvr.com',[_0x1442cc['Env'][_0x124ff6(0x2e3)]]:'https://staging.crucible.frvr.com',[_0x1442cc[_0x124ff6(0x1d4)][_0x124ff6(0x1d2)]]:_0x124ff6(0x388)};var _0x3d130c,_0x501243;!function(_0x41bb0f){const _0x413952=_0x124ff6;_0x41bb0f['HIGHEST']='highest',_0x41bb0f[_0x413952(0x1aa)]='latest';}(_0x3d130c||(_0x3d130c={}));class _0xab337e extends Error{constructor(_0x1ce057){const _0x1fbdaa=_0x124ff6;super(),this[_0x1fbdaa(0x314)]=_0x1ce057[_0x1fbdaa(0x314)],this[_0x1fbdaa(0x26f)]=_0x1ce057['code'],Object[_0x1fbdaa(0x51e)](this,_0xab337e[_0x1fbdaa(0x3fd)]);}}class _0x405cb8{constructor(_0x3d5dbe){const _0x2ce0bc=_0x124ff6;this[_0x2ce0bc(0x1b6)]=_0x3d5dbe;}[_0x124ff6(0x1d6)](_0x98bf72,_0x3a6fc4){const _0x13d08b=_0x124ff6;this[_0x13d08b(0x4b4)]=_0x2d549a[_0x3a6fc4],this[_0x13d08b(0x205)]=_0x98bf72,this['leaderboards']={};}['createLeaderboard'](_0x47a364,_0x176680){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x505ce7=_0x19d1,_0x2ef7c8=this[_0x505ce7(0x4b4)]+_0x505ce7(0x18c),_0x35eaa2={'game':this['gameId'],'title':_0x176680[_0x505ce7(0x42c)],'endTime':_0x176680['endTime'],'refreshInterval':_0x176680['refreshInterval'],'type':_0x47a364||_0x505ce7(0x3d5),'data':_0x176680['payload'],'sortOrder':_0x176680[_0x505ce7(0x37f)]||_0x505ce7(0x424)};_0x176680['id']&&(_0x35eaa2['id']=_0x176680['id']);const _0x479c68=yield fetch(_0x2ef7c8,{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON['stringify'](_0x35eaa2)}),_0x137880=yield _0x479c68[_0x505ce7(0x4b9)]();if(!_0x479c68['ok'])throw new _0xab337e(_0x137880[_0x505ce7(0x4ad)]);return _0x137880['id'];});}['getLeaderboard'](_0x3d9263){const _0x4dc212=_0x124ff6;return _0x2e1bf5(this,arguments,void 0x0,function*(_0x33eec2,_0x4844fe=0x1e,_0x17dc41=0x0,_0x2621cd=_0x3d130c[_0x4dc212(0x3d9)]){const _0x5e7576=_0x4dc212,_0x2d704d=this[_0x5e7576(0x4b4)]+_0x5e7576(0x584)+this[_0x5e7576(0x205)]+'/'+_0x33eec2,_0x11e214={'count':_0x4844fe['toString'](),'offset':_0x17dc41[_0x5e7576(0x567)]()},_0x4310dc=yield fetch(_0x2d704d+'?'+new URLSearchParams(_0x11e214)),_0x6f6a54=yield _0x4310dc[_0x5e7576(0x4b9)]();if(!_0x4310dc['ok'])throw new _0xab337e(_0x6f6a54['error']);_0x6f6a54[_0x5e7576(0x2eb)]=_0x6f6a54[_0x5e7576(0x236)];const _0x11ca6f=_0x6f6a54[_0x5e7576(0x356)]?_0x6f6a54[_0x5e7576(0x356)][_0x5e7576(0x3f6)](_0x3277c8=>{const _0x58eada=_0x5e7576,_0x380eda=new _0x5ba151(_0x3277c8);return _0x380eda[_0x58eada(0x4c4)]=this['getCachedScore'](_0x33eec2,_0x380eda['id'],_0x380eda[_0x58eada(0x4c4)],_0x2621cd),_0x380eda;}):[];return _0x6f6a54['players']=_0x11ca6f,new _0x3b17d7(_0x6f6a54);});}[_0x124ff6(0x45a)](_0x8167a0,_0x306f63){const _0x3dcd57=_0x124ff6;return _0x2e1bf5(this,arguments,void 0x0,function*(_0x24f271,_0xe0c22d,_0x1ded62=_0x3d130c[_0x3dcd57(0x3d9)]){const _0x50e5d5=_0x3dcd57,_0x50790e=this[_0x50e5d5(0x4b4)]+_0x50e5d5(0x584)+this[_0x50e5d5(0x205)]+'/'+_0x24f271+'/'+_0xe0c22d,_0x126852={'platform':this['channel']},_0x4bfff4=yield fetch(_0x50790e+'?'+new URLSearchParams(_0x126852)),_0x5c2e4d=yield _0x4bfff4[_0x50e5d5(0x4b9)]();if(!_0x4bfff4['ok'])throw new _0xab337e(_0x5c2e4d[_0x50e5d5(0x4ad)]);return _0x5c2e4d['payload']=_0x5c2e4d[_0x50e5d5(0x236)],_0x5c2e4d[_0x50e5d5(0x4c4)]=this[_0x50e5d5(0x1ae)](_0x24f271,_0xe0c22d,_0x5c2e4d[_0x50e5d5(0x4c4)],_0x1ded62),new _0x5ba151(_0x5c2e4d);});}[_0x124ff6(0x4e1)](_0x67075f,_0x105fd9,_0x23acec,_0x3bc287,_0x230d42){const _0x2a3b5c=_0x124ff6;return _0x2e1bf5(this,arguments,void 0x0,function*(_0x2575bf,_0x4ed77a,_0x3a9a37,_0x55199f,_0x279e49,_0x41f650=_0x3d130c[_0x2a3b5c(0x3d9)]){const _0xf1dcf7=_0x2a3b5c;this['cacheScore'](_0x2575bf,_0x4ed77a,_0x3a9a37,_0x41f650);const _0x645903=this[_0xf1dcf7(0x4b4)]+_0xf1dcf7(0x584)+this[_0xf1dcf7(0x205)]+'/'+_0x2575bf,_0x3e9bbc={'id':_0x4ed77a,'score':_0x3a9a37,'platform':this['channel'],'disableSortOrder':_0x41f650===_0x3d130c[_0xf1dcf7(0x1aa)]};_0x55199f&&(_0x3e9bbc[_0xf1dcf7(0x28a)]=_0x55199f),_0x279e49&&(_0x3e9bbc[_0xf1dcf7(0x29a)]=_0x279e49);const _0x5e201b=yield fetch(_0x645903,{'method':_0xf1dcf7(0x442),'headers':{'Content-Type':_0xf1dcf7(0x121)},'body':JSON[_0xf1dcf7(0x2bd)](_0x3e9bbc)}),_0x464608=yield _0x5e201b[_0xf1dcf7(0x4b9)]();if(!_0x5e201b['ok'])throw new _0xab337e(_0x464608[_0xf1dcf7(0x4ad)]);return _0x464608;});}['getAllLeaderboardsIdsOfType'](_0x32a303){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x201561=_0x19d1;return(yield this[_0x201561(0x328)](Object[_0x201561(0x558)](Object[_0x201561(0x558)]({},_0x32a303),{'verbose':!0x1})))[_0x201561(0x274)]||[];});}[_0x124ff6(0x57f)](_0x5b4866){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x11884d=_0x19d1;return(yield this['getAllLeaderboardsOfType'](Object[_0x11884d(0x558)](Object[_0x11884d(0x558)]({},_0x5b4866),{'verbose':!0x0})))[_0x11884d(0x449)]||[];});}[_0x124ff6(0xd3)](_0x976ecf,_0x5e331d){const _0x22fce8=_0x124ff6;return _0x2e1bf5(this,arguments,void 0x0,function*(_0x4673ca,_0x3205bb,_0x2a4908=_0x3d130c[_0x22fce8(0x3d9)]){const _0x163408=_0x22fce8;if(!_0x3205bb['length'])return[];const _0x41c4b8=this['apiUrl']+'/v1/leaderboards/'+this[_0x163408(0x205)]+'/'+_0x4673ca+_0x163408(0x54c),_0x43fd2d={'platform':this[_0x163408(0x1b6)],'players':_0x3205bb[_0x163408(0x32d)](',')},_0x42d04b=yield fetch(_0x41c4b8+'?'+new URLSearchParams(_0x43fd2d)),_0x4b75e3=yield _0x42d04b[_0x163408(0x4b9)]();if(!_0x42d04b['ok'])throw new _0xab337e(_0x4b75e3[_0x163408(0x4ad)]);return((null==_0x4b75e3?void 0x0:_0x4b75e3[_0x163408(0x48a)])||[])[_0x163408(0x3f6)](_0x431e8a=>(_0x431e8a[_0x163408(0x2eb)]=_0x431e8a[_0x163408(0x236)],_0x431e8a[_0x163408(0x4c4)]=this[_0x163408(0x1ae)](_0x4673ca,_0x431e8a['id'],_0x431e8a[_0x163408(0x4c4)],_0x2a4908),new _0x5ba151(_0x431e8a)));});}[_0x124ff6(0x396)](_0xbf840){return _0x2e1bf5(this,arguments,void 0x0,function*({leaderboardId:_0x494a59,interval:_0x20f346,minScore:_0x99877d,maxScore:_0x268d08,limit:_0xe52d5e,page:_0x23f68a}){const _0x4b4072=_0x19d1,_0x1eac69=this[_0x4b4072(0x4b4)]+_0x4b4072(0x584)+this[_0x4b4072(0x205)]+'/'+_0x494a59+_0x4b4072(0x172),_0x1f0601={'platform':this['channel'],'interval':_0x20f346[_0x4b4072(0x567)](),'minInterval':_0x99877d[_0x4b4072(0x567)](),'maxInterval':_0x268d08['toString'](),'entries':null==_0xe52d5e?void 0x0:_0xe52d5e[_0x4b4072(0x567)](),'page':null==_0x23f68a?void 0x0:_0x23f68a[_0x4b4072(0x567)]()},_0x2d26c9=new URLSearchParams();for(const [_0x1d6414,_0x4fd01b]of Object['entries'](_0x1f0601))void 0x0!==_0x4fd01b&&_0x2d26c9[_0x4b4072(0x488)](_0x1d6414,_0x4fd01b);const _0x1373af=yield fetch(_0x1eac69+'?'+_0x2d26c9),_0x4dcbea=yield _0x1373af['json']();if(!_0x1373af['ok'])throw new _0xab337e(_0x4dcbea[_0x4b4072(0x4ad)]);return((null==_0x4dcbea?void 0x0:_0x4dcbea['entries'])||[])['map'](_0x428ea3=>new _0x5ba151(_0x428ea3));});}[_0x124ff6(0x328)](_0x13d7c1){const _0x32b88a=_0x124ff6;return _0x2e1bf5(this,arguments,void 0x0,function*({type:_0x228f72,playerId:_0x475028,sortBy:_0x4e1016=_0x32b88a(0x201),sortOrder:_0x1f6cbd=_0x32b88a(0x455),count:_0xdc798b=0x1e,offset:_0x223cdf=0x0,verbose:_0x240b4d=!0x1}){const _0x4c5983=_0x32b88a,_0x27007e=this[_0x4c5983(0x4b4)]+'/v1/players/'+this[_0x4c5983(0x205)]+'/'+_0x475028,_0x2b79c8={'type':_0x228f72,'platform':this[_0x4c5983(0x1b6)],'sortOrder':_0x1f6cbd,'sortBy':_0x4e1016,'count':_0xdc798b[_0x4c5983(0x567)](),'offset':_0x223cdf[_0x4c5983(0x567)](),'verbose':_0x240b4d?'true':'false'},_0x4a20c8=yield fetch(_0x27007e+'?'+new URLSearchParams(_0x2b79c8)),_0x41a76f=yield _0x4a20c8['json']();if(!_0x4a20c8['ok'])throw new _0xab337e(_0x41a76f[_0x4c5983(0x4ad)]);return _0x41a76f;});}[_0x124ff6(0x241)](_0x1da689){const _0x3dfea2=_0x124ff6;return this[_0x3dfea2(0x449)][_0x1da689]||(this[_0x3dfea2(0x449)][_0x1da689]={'scores':{}}),this[_0x3dfea2(0x449)][_0x1da689];}[_0x124ff6(0x1ae)](_0x4f7878,_0x1f5c2a,_0x253df9,_0x315103){const _0x1b2139=_0x124ff6,_0x444bfe=this['buildScoreCache'](_0x4f7878),_0x395884=_0x444bfe['scores'][_0x1f5c2a];if(!_0x315103)throw new Error('Somehow,\x20we\x20are\x20missing\x20cache\x20policy!');switch(_0x315103){case _0x3d130c[_0x1b2139(0x3d9)]:_0x253df9=Math[_0x1b2139(0x4d3)](null!=_0x395884?_0x395884:0x0,_0x253df9),_0x444bfe[_0x1b2139(0x475)][_0x1f5c2a]=_0x253df9;break;case _0x3d130c[_0x1b2139(0x1aa)]:_0x253df9=null!=_0x395884?_0x395884:_0x253df9;}return _0x253df9;}['cacheScore'](_0x2136c8,_0x3f6b55,_0x477995,_0x992494){const _0x3597ce=_0x124ff6,_0x4c512f=this[_0x3597ce(0x241)](_0x2136c8),_0x52a206=_0x4c512f[_0x3597ce(0x475)][_0x3f6b55];if(!_0x992494)throw new Error('Somehow,\x20we\x20are\x20missing\x20cache\x20policy!');switch(_0x992494){case _0x3d130c['HIGHEST']:_0x477995=Math[_0x3597ce(0x4d3)](null!=_0x52a206?_0x52a206:0x0,_0x477995);case _0x3d130c[_0x3597ce(0x1aa)]:}_0x4c512f[_0x3597ce(0x475)][_0x3f6b55]=_0x477995;}}!function(_0x52c2a9){const _0x536527=_0x124ff6;_0x52c2a9[_0x52c2a9[_0x536527(0x47f)]=0x0]='create',_0x52c2a9[_0x52c2a9['getCurrentTournament']=0x1]=_0x536527(0xcc),_0x52c2a9[_0x52c2a9[_0x536527(0x1f6)]=0x2]=_0x536527(0x1f6),_0x52c2a9[_0x52c2a9[_0x536527(0xce)]=0x3]='postScore',_0x52c2a9[_0x52c2a9[_0x536527(0x32d)]=0x4]=_0x536527(0x32d),_0x52c2a9[_0x52c2a9[_0x536527(0x47a)]=0x5]=_0x536527(0x47a),_0x52c2a9[_0x52c2a9[_0x536527(0x2d2)]=0x6]=_0x536527(0x2d2),_0x52c2a9[_0x52c2a9[_0x536527(0x123)]=0x7]=_0x536527(0x123);}(_0x501243||(_0x501243={}));class _0x443f60{constructor(_0x5f0d86){const _0x1e39c6=_0x124ff6;this['provider']=_0x5f0d86,this[_0x1e39c6(0x43b)]=_0x501243;}[_0x124ff6(0x37c)](){const _0x42e52d=_0x124ff6;return this[_0x42e52d(0x135)]['isSupported']();}[_0x124ff6(0xe4)](_0x12d22e){const _0x33eb6f=_0x124ff6;return-0x1!==this[_0x33eb6f(0x135)][_0x33eb6f(0x537)]()[_0x33eb6f(0x288)](_0x12d22e);}[_0x124ff6(0x537)](){const _0x2df20c=_0x124ff6;return this[_0x2df20c(0x135)][_0x2df20c(0x537)]();}['create'](_0x4e16b7,_0xd00711,_0x5b4495){return this['provider']['create'](_0x4e16b7,_0xd00711,_0x5b4495);}[_0x124ff6(0x1f6)](){const _0x508bd4=_0x124ff6;return this[_0x508bd4(0x135)][_0x508bd4(0x1f6)]();}[_0x124ff6(0xcc)](){const _0xa95e77=_0x124ff6;return this[_0xa95e77(0x135)]['getCurrentTournament']();}[_0x124ff6(0x32d)](_0x114e9e){const _0x2a28ee=_0x124ff6;return this[_0x2a28ee(0x135)][_0x2a28ee(0x32d)](_0x114e9e);}[_0x124ff6(0x47a)](){const _0x4b5615=_0x124ff6;return this[_0x4b5615(0x135)][_0x4b5615(0x47a)]();}[_0x124ff6(0x2d2)](_0x3be139,_0x25c65e){const _0xe0fb27=_0x124ff6;return this['provider'][_0xe0fb27(0x2d2)](_0x3be139,_0x25c65e);}[_0x124ff6(0x123)](_0x548e08){const _0x3a0fcd=_0x124ff6;return this[_0x3a0fcd(0x135)][_0x3a0fcd(0x123)](_0x548e08);}[_0x124ff6(0x1ad)](_0x1f2c6f,_0x1e89e1,_0xf0117a,_0x4c1c35){return this['provider']['postScore'](_0x1f2c6f,_0x1e89e1,_0xf0117a,_0x4c1c35);}}class _0x57a326{constructor({provider:_0x3bf289,auth:_0x3becae,logger:_0x19bd44,leaderboards:_0x272f3c}){const _0x83af4b=_0x124ff6;this[_0x83af4b(0x135)]=_0x3bf289,this[_0x83af4b(0x189)]=_0x3becae,this[_0x83af4b(0x43c)]=_0x19bd44,this[_0x83af4b(0x145)]=_0x272f3c||new _0x405cb8(this[_0x83af4b(0x135)][_0x83af4b(0x564)]()),this[_0x83af4b(0x2de)]=new _0x443f60(this['provider']);}[_0x124ff6(0x1d6)](_0x2cb109,_0x313cf8){const _0x2777c1=_0x124ff6;this['FRVRLeaderboards'][_0x2777c1(0x1d6)](_0x2cb109,_0x313cf8);}[_0x124ff6(0x47f)](_0x51fa3d,_0x4a83ae){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x497647=_0x19d1;if(this[_0x497647(0x135)][_0x497647(0x37c)]()&&this[_0x497647(0x135)][_0x497647(0x537)]()['includes'](_0x501243[_0x497647(0x47f)])){const _0x5423ab=yield this[_0x497647(0x135)]['create'](0x0,_0x51fa3d,_0x4a83ae);return yield this['ensureLeaderboardCreated'](_0x5423ab),_0x5423ab['id'];}return yield this['FRVRLeaderboards'][_0x497647(0x290)](_0x405df6,{'payload':_0x51fa3d,'title':_0x4a83ae[_0x497647(0x42c)],'endTime':_0x4a83ae[_0x497647(0x3fa)],'sortOrder':_0x4a83ae[_0x497647(0x37f)]});});}[_0x124ff6(0xce)](_0x129991,_0xaf2491,_0x3c127f,_0x31bef8){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0xf7a118=_0x19d1,_0x439d97=this[_0xf7a118(0x308)]();if(!_0x439d97)throw new Error('Player\x20is\x20not\x20logged\x20in');const _0xd135b9=[this[_0xf7a118(0x145)][_0xf7a118(0x4e1)](_0x129991,_0x439d97,_0xaf2491,_0x3c127f,_0x31bef8)];this[_0xf7a118(0x135)]['getSupportedAPIs']()['includes'](_0x501243[_0xf7a118(0xce)])&&_0xd135b9['push'](this[_0xf7a118(0x135)]['postScore'](_0x129991,_0xaf2491,_0x3c127f,_0x31bef8)),yield Promise[_0xf7a118(0x4da)](_0xd135b9);});}[_0x124ff6(0x420)](_0x5396af,_0xb02afb){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x4af5f6=_0x19d1,_0x3c9c63=this['getPlayerId']();if(!_0x3c9c63)throw new Error(_0x4af5f6(0x2d7));const _0x4c8e31={'type':_0x405df6,'count':_0x5396af,'offset':_0xb02afb,'playerId':_0x3c9c63};return this[_0x4af5f6(0x145)][_0x4af5f6(0x57f)](_0x4c8e31);});}[_0x124ff6(0x4fa)](_0xfddcbb){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x2f0fca=_0x19d1,_0x307694=this['getPlayerId']();if(!_0x307694)throw new Error(_0x2f0fca(0x2d7));return this[_0x2f0fca(0x145)]['getLeaderboardEntry'](_0xfddcbb,_0x307694);});}[_0x124ff6(0x2d6)](_0x34f850,_0x137993,_0x1ae82d){const _0x59be40=_0x124ff6;return this[_0x59be40(0x145)][_0x59be40(0x412)](_0x34f850,_0x137993,_0x1ae82d);}['ensureLeaderboardCreated'](_0x24b156){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x5f31bd=_0x19d1;var _0xaeef22=_0x51a6d2(_0x24b156,[]);try{return void(yield this[_0x5f31bd(0x145)][_0x5f31bd(0x412)](_0xaeef22['id']));}catch(_0x175d8d){}if(_0x5f31bd(0x360)==typeof _0xaeef22[_0x5f31bd(0x2eb)])try{_0xaeef22[_0x5f31bd(0x2eb)]=JSON[_0x5f31bd(0x341)](_0xaeef22[_0x5f31bd(0x2eb)]);}catch(_0x4ca521){_0xaeef22[_0x5f31bd(0x2eb)]={};}yield this['FRVRLeaderboards'][_0x5f31bd(0x290)](_0x405df6,{'id':_0xaeef22['id'],'payload':_0xaeef22[_0x5f31bd(0x2eb)],'title':_0xaeef22['title'],'endTime':_0xaeef22[_0x5f31bd(0x3fa)]});});}['getPlayerId'](){const _0x6664db=_0x124ff6;return this[_0x6664db(0x189)]['getFRVRID']();}}const _0x4efff4={'isSupported':()=>!0x1,'getSupportedAPIs':()=>[],'getLeaderboardsChannelId':()=>_0x124ff6(0x3e0),'getCurrentTournament'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return null;});},'create'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return null;});},'postScore'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'share'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'getActiveTournaments'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return[];});},'join'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'leave'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'invitePlayers'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});}};class _0x2c97bf{constructor({logger:_0x9a3503,provider:_0x2b17c4}){const _0x7ace4d=_0x124ff6;this[_0x7ace4d(0x43c)]=_0x9a3503,this['provider']=_0x2b17c4,this['platform']=this[_0x7ace4d(0x135)]['platform'];}[_0x124ff6(0x1d6)](_0x218828,_0x3a830e,_0x12072e){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x4b80f2=_0x19d1;return this['gameId']=_0x218828,yield this[_0x4b80f2(0x135)][_0x4b80f2(0x1d6)](_0x218828,this[_0x4b80f2(0x43c)],_0x3a830e,_0x12072e);});}[_0x124ff6(0x47f)](_0x307036,_0x923849){const _0xd0e5c2=_0x124ff6;return this['provider'][_0xd0e5c2(0x47f)](_0x307036,_0x923849);}[_0x124ff6(0x195)](_0x515dd2,_0x24aee6,_0x312995){const _0x594cbb=_0x124ff6;return this['provider'][_0x594cbb(0x195)](_0x515dd2,_0x24aee6,_0x312995);}[_0x124ff6(0x426)](_0xc3b6,_0x5ae5f9,_0x23de2d){const _0x398037=_0x124ff6;return this[_0x398037(0x135)][_0x398037(0x426)](_0xc3b6,_0x5ae5f9,_0x23de2d);}[_0x124ff6(0x1f3)](){const _0x1866f6=_0x124ff6;return this[_0x1866f6(0x135)][_0x1866f6(0x1f3)]();}[_0x124ff6(0x323)](){const _0x116860=_0x124ff6;return this[_0x116860(0x135)][_0x116860(0x323)]();}[_0x124ff6(0x1e7)](){const _0x361eb2=_0x124ff6;return this['provider'][_0x361eb2(0x1e7)]();}[_0x124ff6(0x47a)](){const _0x13d4e8=_0x124ff6;return this[_0x13d4e8(0x135)][_0x13d4e8(0x47a)]();}[_0x124ff6(0x554)](_0x460c79,_0x443252){const _0x2cf099=_0x124ff6;return this[_0x2cf099(0x135)][_0x2cf099(0x554)](_0x460c79,_0x443252);}[_0x124ff6(0x2a5)](_0x39e545,_0x117311){const _0x442136=_0x124ff6;return this[_0x442136(0x135)][_0x442136(0x2a5)](_0x39e545,_0x117311);}[_0x124ff6(0x45a)](_0x39b1a8,_0x127491){const _0xee3ea1=_0x124ff6;return this[_0xee3ea1(0x135)][_0xee3ea1(0x45a)](_0x39b1a8,_0x127491);}['getLeaderboardById'](_0x4bfaa4,_0x4de4ce,_0x53e794){const _0x5528bf=_0x124ff6;return this['provider'][_0x5528bf(0x44d)](_0x4bfaa4,_0x4de4ce,_0x53e794);}[_0x124ff6(0xce)]({score:_0x1d418a,challengeId:_0x110008,name:_0x9b5c08,photo:_0xb7d287,playerId:_0x4306d0}){const _0x268552=_0x124ff6;return this[_0x268552(0x135)][_0x268552(0xce)]({'score':_0x1d418a,'challengeId':_0x110008,'name':_0x9b5c08,'photo':_0xb7d287,'playerId':_0x4306d0});}[_0x124ff6(0x32d)](_0x1edd63){const _0x400437=_0x124ff6;return this[_0x400437(0x135)]['join'](_0x1edd63);}['nudge'](_0x54575e,_0x2ad092){const _0x302867=_0x124ff6;return this[_0x302867(0x135)][_0x302867(0x3fb)](_0x54575e,_0x2ad092);}['getOpponentsFromChallenges'](_0x4fc7d3){return this['provider']['getOpponentsFromChallenges'](_0x4fc7d3);}[_0x124ff6(0x56a)](){const _0xbe727a=_0x124ff6;return this[_0xbe727a(0x135)][_0xbe727a(0x56a)]();}['getEntryPayload'](){const _0x57536c=_0x124ff6;return this[_0x57536c(0x135)]['getEntryPayload']();}['isSupported'](){const _0x2e098a=_0x124ff6;return this[_0x2e098a(0x135)][_0x2e098a(0x37c)]();}}var _0x4f4abe;!function(_0x210104){const _0x3cd5c1=_0x124ff6;_0x210104['getID']=_0x3cd5c1(0x318),_0x210104[_0x3cd5c1(0x43d)]='context.getType',_0x210104['isSizeBetween']=_0x3cd5c1(0x39d),_0x210104[_0x3cd5c1(0x4e4)]=_0x3cd5c1(0x570),_0x210104['choose']=_0x3cd5c1(0x40d),_0x210104[_0x3cd5c1(0x47f)]='context.createAsync',_0x210104[_0x3cd5c1(0x366)]=_0x3cd5c1(0x4c3),_0x210104['update']=_0x3cd5c1(0x14f);}(_0x4f4abe||(_0x4f4abe={}));const _0x26cb78={'platform':{'API':_0x4f4abe,'getSupportedAPIs':()=>[],'isSupportedAPI':()=>!0x1,'getID':()=>'','getType':()=>_0x124ff6(0x48e),'isSizeBetween':()=>({'answer':!0x1,'minSize':0x0,'maxSize':0x0}),'switch':()=>Promise[_0x124ff6(0x523)](),'choose':()=>Promise['resolve'](),'create':()=>Promise[_0x124ff6(0x523)](),'getPlayers':()=>Promise[_0x124ff6(0x523)]([]),'update':()=>Promise[_0x124ff6(0x523)]()},'init'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'create'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return'';});},'challengeByPlayerId'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return'';});},'getPossibleOpponents'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return[];});},'challengeByContextId'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return'';});},'getCurrentChallengeData'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'leave'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'getCurrentChallengeId':()=>'','getPlayerEntries'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return[];});},'getAllChallenges'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'getLeaderboardEntry'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'getLeaderboardById'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'postScore'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'join'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'nudge'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'getOpponentsFromChallenges'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'getChallengesByOpponents'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'getEntryPayload':()=>({}),'isSupported':()=>!0x1};class _0x38fbe8{constructor({provider:_0x352494}){const _0x483d58=_0x124ff6;this[_0x483d58(0x2b4)]=_0x3d130c,this['provider']=_0x352494;}[_0x124ff6(0x1d6)](_0x1fe8ab,_0x57520b){const _0x9659d=_0x124ff6;this[_0x9659d(0x135)][_0x9659d(0x1d6)](_0x1fe8ab,_0x57520b);}[_0x124ff6(0x37c)](){const _0x5d9ae2=_0x124ff6;return this[_0x5d9ae2(0x135)][_0x5d9ae2(0x37c)]();}[_0x124ff6(0xd3)](_0x25c521,_0x1b9073,_0x2167f9){const _0x273127=_0x124ff6;return this[_0x273127(0x135)]['getLeaderboardEntries'](_0x25c521,_0x1b9073,_0x2167f9);}[_0x124ff6(0x45a)](_0x2f550e,_0x5c2cb3,_0x4fcb7e){const _0x5941e7=_0x124ff6;return this[_0x5941e7(0x135)][_0x5941e7(0x45a)](_0x2f550e,_0x5c2cb3,_0x4fcb7e);}[_0x124ff6(0x412)](_0x1ece23,_0x3358bb,_0x524f42,_0x17943a){const _0x1060d1=_0x124ff6;return this['provider'][_0x1060d1(0x412)](_0x1ece23,_0x3358bb,_0x524f42,_0x17943a);}[_0x124ff6(0xce)](_0x3213b1,_0x300d30,_0x7a9e8d){const _0x4941c9=_0x124ff6;return this[_0x4941c9(0x135)][_0x4941c9(0xce)](_0x3213b1,_0x300d30,_0x7a9e8d);}['create'](_0x2086ae,_0x4bf579){const _0x51f44e=_0x124ff6;return this[_0x51f44e(0x135)][_0x51f44e(0x47f)](_0x2086ae,null!=_0x4bf579?_0x4bf579:{});}[_0x124ff6(0x396)](_0x3339fc){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x3f33d2=_0x19d1;return this['provider'][_0x3f33d2(0x396)](_0x3339fc);});}}const _0x58e0f3={'init'(){},'isSupported':()=>!0x1,'getLeaderboardEntries'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return[];});},'getLeaderboardEntry'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return{};});},'getLeaderboard'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return{};});},'postScore'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'create'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});},'getTimelineEntries'(){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return[];});}},_0x7c7097={'registrationSuccess':_0x124ff6(0x2b3),'registrationConflict':_0x124ff6(0x56c),'loginSuccess':'loginSuccess','accountNotActive':_0x124ff6(0x4bb),'invalidCredentials':_0x124ff6(0x2a6),'invalidFormat':'invalidFormat','serverError':_0x124ff6(0x3ee),'unknownError':_0x124ff6(0x17e),'networkError':_0x124ff6(0x468),'operationSuccess':'operationSuccess','tokenExpired':'tokenExpired','notLoggedIn':_0x124ff6(0x27a),'platformNotAvailable':_0x124ff6(0x110),'platformLoginFail':'platformLoginFail,'},_0x33e6c1={'REG_SUCCESS':{'type':_0x7c7097[_0x124ff6(0x2b3)],'success':!0x0,'message':'User\x20registered\x20successfully.\x20Pending\x20confirmation'},'LOGIN_SUCCESS':{'type':_0x7c7097[_0x124ff6(0x2a3)],'success':!0x0,'message':'Login\x20successful'},'OPERATION_SUCCESS':{'type':_0x7c7097['operationSuccess'],'success':!0x0,'message':'Operation\x20success'},'REG_CONFLICT':{'type':_0x7c7097[_0x124ff6(0x56c)],'success':!0x1,'message':_0x124ff6(0x4bf)},'ACCOUNT_NOT_ACTIVE':{'type':_0x7c7097[_0x124ff6(0x4bb)],'success':!0x1,'message':_0x124ff6(0x156)},'INVALID_CREDENTIALS':{'type':_0x7c7097[_0x124ff6(0x2a6)],'success':!0x1,'message':_0x124ff6(0xd8)},'INVALID_FORMAT':{'type':_0x7c7097[_0x124ff6(0x168)],'success':!0x1,'message':_0x124ff6(0xe8)},'SERVER_ERROR':{'type':_0x7c7097[_0x124ff6(0x3ee)],'success':!0x1,'message':_0x124ff6(0x430)},'UNKNOWN_ERROR':{'type':_0x7c7097[_0x124ff6(0x17e)],'success':!0x1,'message':_0x124ff6(0x3ba)},'NETWORK_ERROR':{'type':_0x7c7097[_0x124ff6(0x468)],'success':!0x1,'message':_0x124ff6(0x469)},'TOKEN_EXPIRED':{'type':_0x7c7097['tokenExpired'],'success':!0x1,'message':_0x124ff6(0x1f7)},'NOT_LOGGED_IN':{'type':_0x7c7097[_0x124ff6(0x27a)],'success':!0x1,'message':_0x124ff6(0x35a)},'PLATFORM_NOT_AVAILABLE':{'type':_0x7c7097[_0x124ff6(0x110)],'success':!0x1,'message':_0x124ff6(0x171)},'PLATFORM_LOGIN_FAIL':{'type':_0x7c7097[_0x124ff6(0x1fe)],'success':!0x1,'message':'The\x20login\x20on\x20the\x20requested\x20platform\x20failed'}};var _0x165d19=Object['freeze']({'__proto__':null,'RESPONSE_TYPES':_0x7c7097,'default':_0x7c7097,'RESPONSE_DEFINITIONS':_0x33e6c1});function _0x22cc63(_0xa51830){const _0x4bf9d1=_0x124ff6;if(!_0xa51830)return null;const _0x133b12=_0xa51830['split']('.');if(0x3!=_0x133b12['length'])return null;const _0x435e49=_0x133b12[0x1][_0x4bf9d1(0x25c)](/-/g,'+')[_0x4bf9d1(0x25c)](/_/g,'/'),_0x1aabb5=window[_0x4bf9d1(0x23b)](_0x435e49)['split']('')[_0x4bf9d1(0x3f6)](function(_0x17341c){const _0x5cc9f8=_0x4bf9d1;return'%'+('00'+_0x17341c['charCodeAt'](0x0)[_0x5cc9f8(0x567)](0x10))[_0x5cc9f8(0x311)](-0x2);})[_0x4bf9d1(0x32d)]('');try{return JSON[_0x4bf9d1(0x341)](decodeURIComponent(_0x1aabb5));}catch(_0x39b0e1){return null;}}class _0x5ecc8d{constructor(_0x91f83d,_0x4d5265){const _0x4ecc41=_0x124ff6;this[_0x4ecc41(0x344)]=_0x91f83d,this[_0x4ecc41(0x15d)]=_0x4d5265;}set[_0x124ff6(0x344)](_0x4ae262){const _0x41cd04=_0x124ff6;var _0x1bcbe6;const _0x5d52bf=_0x22cc63(_0x4ae262);_0x5d52bf?(this[_0x41cd04(0x511)]=_0x4ae262,this[_0x41cd04(0x3ec)]=_0x5d52bf,this[_0x41cd04(0x539)]=parseInt(null==_0x5d52bf?void 0x0:_0x5d52bf[_0x41cd04(0x3b6)],0xa)||0x0,this['_accessIAT']=parseInt(null==_0x5d52bf?void 0x0:_0x5d52bf['iat'],0xa)||0x0,this[_0x41cd04(0x354)]=!(!0x1===(null===(_0x1bcbe6=null==_0x5d52bf?void 0x0:_0x5d52bf[_0x41cd04(0x12b)])||void 0x0===_0x1bcbe6?void 0x0:_0x1bcbe6[_0x41cd04(0x40c)]))):(this[_0x41cd04(0x511)]=null,this['_accessPayload']=null,this['_accessExpiration']=0x0,this[_0x41cd04(0x476)]=0x0,this[_0x41cd04(0x354)]=!0x1);}get['accessToken'](){const _0x26c74f=_0x124ff6;return this[_0x26c74f(0x511)];}set[_0x124ff6(0x15d)](_0x59b459){const _0x59a528=_0x124ff6;var _0x4fb4dd;const _0x2b5032=_0x22cc63(_0x59b459);_0x2b5032?(this[_0x59a528(0x29f)]=_0x59b459,this[_0x59a528(0x4f8)]=_0x2b5032,this['_refreshExpiration']=parseInt(null==_0x2b5032?void 0x0:_0x2b5032[_0x59a528(0x3b6)],0xa),this['_platform']=null===(_0x4fb4dd=null==_0x2b5032?void 0x0:_0x2b5032[_0x59a528(0x12b)])||void 0x0===_0x4fb4dd?void 0x0:_0x4fb4dd[_0x59a528(0x2de)],this[_0x59a528(0x573)]=null==_0x2b5032?void 0x0:_0x2b5032['sub']):(this[_0x59a528(0x29f)]=null,this[_0x59a528(0x4f8)]=null,this[_0x59a528(0x20c)]=0x0,this[_0x59a528(0x2e5)]=null,this['_frvrID']=null);}get['refreshToken'](){const _0x2df531=_0x124ff6;return this[_0x2df531(0x29f)];}get['accessExpiration'](){return this['_accessExpiration'];}get['refreshExpiration'](){return this['_refreshExpiration'];}get[_0x124ff6(0x2de)](){return this['_platform'];}get['frvrID'](){const _0x3e114e=_0x124ff6;return this[_0x3e114e(0x573)];}get[_0x124ff6(0x1e8)](){return this['_verified'];}get[_0x124ff6(0x4e9)](){const _0x426b8d=_0x124ff6;return this[_0x426b8d(0x476)];}get[_0x124ff6(0x258)](){const _0x46e866=_0x124ff6;return this[_0x46e866(0x344)]?Math[_0x46e866(0x164)](this[_0x46e866(0x539)]-Date['now']()/0x3e8):-0x1;}get[_0x124ff6(0x57c)](){const _0x5d0313=_0x124ff6;return this[_0x5d0313(0x344)]?this[_0x5d0313(0x539)]-this['_accessIAT']:0x0;}['updateTokens'](_0x5d1284,_0xe0dba6){const _0xa4c521=_0x124ff6;this[_0xa4c521(0x344)]=_0x5d1284,this['refreshToken']=_0xe0dba6;}[_0x124ff6(0x414)](_0x15f5ca,_0x50fb6e){const _0x38eabe=_0x124ff6,_0x3bee98=this[_0x38eabe(0x344)],_0x52cc73=this[_0x38eabe(0x15d)];this['updateTokens'](_0x15f5ca,_0x50fb6e),this[_0x38eabe(0x534)]()&&this[_0x38eabe(0x2d4)]()||(this[_0x38eabe(0x344)]=_0x3bee98,this[_0x38eabe(0x15d)]=_0x52cc73);}[_0x124ff6(0x534)](){const _0x223a72=_0x124ff6;return!!this[_0x223a72(0x511)]&&0x3e8*(this[_0x223a72(0x539)]-0x3c)>Date[_0x223a72(0x3e5)]();}[_0x124ff6(0x2d4)](){const _0x5da4d6=_0x124ff6;return!!this[_0x5da4d6(0x29f)]&&0x3e8*(this[_0x5da4d6(0x20c)]-0x3c)>Date[_0x5da4d6(0x3e5)]();}['isAnyValid'](){const _0x4ab694=_0x124ff6;return this[_0x4ab694(0x2d4)]()||this['isAccessValid']();}[_0x124ff6(0xca)](){const _0x3465b1=_0x124ff6;return this[_0x3465b1(0x2d4)]()&&!this[_0x3465b1(0x534)]();}['getAccessPayload'](){return this['_accessPayload'];}[_0x124ff6(0x4fe)](){return this['_refreshPayload'];}}const _0x493dd7=_0x124ff6(0x3a9),_0x3d0436='__FRVR_auth_access_token';class _0x18f6e2{constructor(){const _0x3d59b8=_0x124ff6;this[_0x3d59b8(0x324)]=new _0x5ecc8d(),this[_0x3d59b8(0x3db)]={},this[_0x3d59b8(0x250)]=_0x1dd9ff;}['initFromStorage'](){return _0x2e1bf5(this,arguments,void 0x0,function*(_0x149cdc=_0x1dd9ff){const _0x4f78cb=_0x19d1;this[_0x4f78cb(0x250)]=_0x149cdc;const _0x280127=yield this[_0x4f78cb(0x250)][_0x4f78cb(0x4c9)](_0x493dd7),_0x418a8f=yield this[_0x4f78cb(0x250)]['getItem'](_0x3d0436);this[_0x4f78cb(0xe3)]=new _0x5ecc8d(_0x418a8f,_0x280127);});}[_0x124ff6(0x29c)](){const _0x5bb9cd=_0x124ff6;return this[_0x5bb9cd(0xe3)]['accessToken'];}[_0x124ff6(0x21c)](){const _0x1c1f48=_0x124ff6;return this['currentPair'][_0x1c1f48(0x15d)];}[_0x124ff6(0x4be)](){const _0x1f2292=_0x124ff6;return this[_0x1f2292(0xe3)][_0x1f2292(0x329)];}[_0x124ff6(0x1e8)](){const _0x2ea41c=_0x124ff6;return this[_0x2ea41c(0xe3)]['isVerified'];}[_0x124ff6(0xca)](){const _0x1ac4fb=_0x124ff6;return this[_0x1ac4fb(0xe3)][_0x1ac4fb(0xca)]();}[_0x124ff6(0x11e)](){const _0x223184=_0x124ff6;return this[_0x223184(0xe3)][_0x223184(0x2de)];}[_0x124ff6(0x47b)](){const _0x3daf34=_0x124ff6;var _0x3a8fb9;const _0x10c28e=[];for(const _0x4032f7 in this[_0x3daf34(0x3db)]){const _0x340342=_0x4032f7;(null===(_0x3a8fb9=this[_0x3daf34(0x3db)][_0x340342])||void 0x0===_0x3a8fb9?void 0x0:_0x3a8fb9[_0x3daf34(0x1d5)]())&&_0x10c28e['push'](_0x340342);}return _0x10c28e;}get[_0x124ff6(0x3d4)](){return this['pairsPerPlatform'];}[_0x124ff6(0x4aa)](_0x10d357){const _0x1bbf24=_0x124ff6;this[_0x1bbf24(0xe3)]=_0x10d357,this['storage'][_0x1bbf24(0x348)](_0x493dd7,_0x10d357[_0x1bbf24(0x15d)]),this[_0x1bbf24(0x250)][_0x1bbf24(0x348)](_0x3d0436,_0x10d357['accessToken']);}[_0x124ff6(0x161)](_0x31ebe1,_0x54e4c4){const _0x187705=_0x124ff6,_0x3a4ebe=new _0x5ecc8d(_0x31ebe1,_0x54e4c4);this[_0x187705(0x4aa)](_0x3a4ebe);}[_0x124ff6(0x1da)](_0x2e912c,_0x27821b){this['setAsCurrent'](new _0x5ecc8d(_0x2e912c,_0x27821b));}[_0x124ff6(0x556)](_0x1b4518,_0x117fc9){const _0x40bc50=_0x124ff6;return this['updateCurrentPair'](_0x1b4518,_0x117fc9),this[_0x40bc50(0x534)]();}['deleteTokens'](){const _0x1dd760=_0x124ff6;this['currentPair']=new _0x5ecc8d(),this[_0x1dd760(0x3db)]={},this[_0x1dd760(0x250)][_0x1dd760(0x2aa)]([_0x493dd7,_0x3d0436]);}[_0x124ff6(0x534)](){const _0x1e50a4=_0x124ff6;return this[_0x1e50a4(0xe3)]['isAccessValid']();}[_0x124ff6(0x2d4)](){const _0xdcadd6=_0x124ff6;return this[_0xdcadd6(0xe3)]['isRefreshValid']();}[_0x124ff6(0x1d5)](){const _0x41f2b3=_0x124ff6;return this[_0x41f2b3(0xe3)][_0x41f2b3(0x1d5)]();}get[_0x124ff6(0xe3)](){return this['_currentPair'];}set[_0x124ff6(0xe3)](_0x306d44){const _0x149f78=_0x124ff6;this[_0x149f78(0x324)]=_0x306d44,(null==_0x306d44?void 0x0:_0x306d44['platform'])&&(this[_0x149f78(0x3db)][_0x306d44[_0x149f78(0x2de)]]=_0x306d44);}}var _0x20c9ac;_0x1442cc[_0x124ff6(0x1b9)]=void 0x0,(_0x20c9ac=_0x1442cc[_0x124ff6(0x1b9)]||(_0x1442cc[_0x124ff6(0x1b9)]={}))[_0x124ff6(0x45d)]=_0x124ff6(0x538),_0x20c9ac['ANONYMOUS']=_0x124ff6(0x2e7),_0x20c9ac[_0x124ff6(0x24a)]=_0x124ff6(0xed),_0x20c9ac[_0x124ff6(0x4e7)]=_0x124ff6(0x3b1),_0x20c9ac['GOOGLE_INTERNAL']=_0x124ff6(0x144),_0x20c9ac[_0x124ff6(0x10d)]=_0x124ff6(0x105),_0x20c9ac[_0x124ff6(0x2cf)]=_0x124ff6(0x1e1),_0x20c9ac[_0x124ff6(0x21d)]=_0x124ff6(0x497),_0x20c9ac[_0x124ff6(0x232)]=_0x124ff6(0x52c);const _0x456074={'AUTH_REGISTRATION':{'method':_0x124ff6(0x442),'path':_0x124ff6(0xf1)},'AUTH_LOGIN':{'method':_0x124ff6(0x442),'path':_0x124ff6(0x16f)},'AUTH_REFRESH':{'method':_0x124ff6(0x442),'path':_0x124ff6(0x4d6)},'AUTH_RECOVER':{'method':_0x124ff6(0x442),'path':'/recover'},'AUTH_RECOVER_CHALLENGE':{'method':'POST','path':'/recover-challenge'},'AUTH_VERIFY':{'method':'POST','path':_0x124ff6(0x1d9)},'AUTH_VERIFY_CHALLENGE':{'method':_0x124ff6(0x442),'path':'/verify-challenge'},'AUTH_SETTINGS':{'method':_0x124ff6(0x442),'path':'/settings'},'USER_VERIFIED':{'method':_0x124ff6(0x187),'path':_0x124ff6(0x31b)}};class _0xad0f7c{constructor(_0x225081={}){const _0x32a8b5=_0x124ff6;var _0x1bb44a;this[_0x32a8b5(0x2c3)]=null,this[_0x32a8b5(0x284)]=(null===(_0x1bb44a=_0x225081['config'])||void 0x0===_0x1bb44a?void 0x0:_0x1bb44a[_0x32a8b5(0x134)])||(_0x225081[_0x32a8b5(0x47e)]==_0x1442cc[_0x32a8b5(0x1d4)][_0x32a8b5(0x3f8)]?_0x32a8b5(0x26a):_0x32a8b5(0x3ea));}[_0x124ff6(0xec)](){const _0x51a819=_0x124ff6;return!!this[_0x51a819(0x2c3)];}['register'](_0x22e370){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0xa57b7=_0x19d1,_0x1dc555={'platform':_0x1442cc[_0xa57b7(0x1b9)][_0xa57b7(0x45d)],'credentials':_0x22e370},_0x5ce14c={0xc9:()=>_0x33e6c1[_0xa57b7(0x186)],0x199:()=>{const _0x27d56c=_0xa57b7;throw _0x33e6c1[_0x27d56c(0x445)];}};return this[_0xa57b7(0x45f)](_0x456074[_0xa57b7(0xc8)],_0x5ce14c,_0x1dc555);});}['login'](_0x5e27f3){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x352946=_0x19d1;if(this[_0x352946(0x2c3)])return this[_0x352946(0x2c3)];const _0x2c9551={0xc9:_0x41830f=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x34c84a=_0x352946,_0x24a26f=yield _0x41830f[_0x34c84a(0x4b9)](),_0x384cae=new _0x5ecc8d(_0x24a26f[_0x34c84a(0x344)],_0x24a26f[_0x34c84a(0x15d)]);if(_0x384cae[_0x34c84a(0x534)]())return Object[_0x34c84a(0x558)](Object['assign']({},_0x33e6c1[_0x34c84a(0x2ff)]),{'tokenPair':_0x384cae});throw _0x33e6c1[_0x34c84a(0x494)];}),0x191:()=>{const _0xb853e3=_0x352946;throw _0x33e6c1[_0xb853e3(0x504)];},0x193:()=>{const _0x2a7359=_0x352946;throw _0x33e6c1[_0x2a7359(0x24d)];}};return this[_0x352946(0x2c3)]=this[_0x352946(0x45f)](_0x456074['AUTH_LOGIN'],_0x2c9551,_0x5e27f3),this[_0x352946(0x2c3)][_0x352946(0x25d)](()=>{const _0x3a4f91=_0x352946;this[_0x3a4f91(0x2c3)]=null;});});}[_0x124ff6(0x444)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x5b8bbc=_0x19d1;return this[_0x5b8bbc(0x106)]({'platform':_0x1442cc[_0x5b8bbc(0x1b9)]['ANONYMOUS']});});}[_0x124ff6(0x44b)](_0x5a422a){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x4188ec=_0x19d1,_0x21045e={0xc8:_0x79d57c=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x5d7340=_0x19d1,_0x2e7840=yield _0x79d57c[_0x5d7340(0x4b9)]();return null==_0x2e7840?void 0x0:_0x2e7840[_0x5d7340(0x40c)];})};return this[_0x4188ec(0x45f)](_0x456074[_0x4188ec(0x56b)],_0x21045e,void 0x0,{'X-REFRESH-TOKEN':_0x5a422a['refreshToken']});});}[_0x124ff6(0x1ec)](_0x4061f5){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x59a29a=_0x19d1,_0x1c1700={'platform':_0x1442cc[_0x59a29a(0x1b9)]['FRVR'],'credentials':_0x4061f5},_0x4b6839={0xc9:()=>_0x33e6c1[_0x59a29a(0x55e)],0x191:()=>{const _0x2f0208=_0x59a29a;throw _0x33e6c1[_0x2f0208(0x504)];}};return this['fetchAndHandleCommonErrors'](_0x456074[_0x59a29a(0x197)],_0x4b6839,_0x1c1700);});}[_0x124ff6(0x224)](_0x438150){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x1ab912=_0x19d1,_0x117918={'platform':_0x1442cc[_0x1ab912(0x1b9)][_0x1ab912(0x45d)],'credentials':_0x438150},_0x5b8ec4={0xc9:()=>_0x33e6c1[_0x1ab912(0x55e)],0x191:()=>{const _0x4bf514=_0x1ab912;throw _0x33e6c1[_0x4bf514(0x504)];}};return this[_0x1ab912(0x45f)](_0x456074[_0x1ab912(0x533)],_0x5b8ec4,_0x117918);});}[_0x124ff6(0x526)](_0x4c2dfc,_0xd226e9){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x1c478f=_0x19d1,_0x2182cf={'platform':_0x1442cc[_0x1c478f(0x1b9)][_0x1c478f(0x45d)],'credentials':{'newPassword':_0xd226e9}},_0x68ae6a={0xc8:()=>_0x33e6c1['OPERATION_SUCCESS'],0x191:()=>{const _0x4ec765=_0x1c478f;throw _0x33e6c1[_0x4ec765(0x504)];}};return this[_0x1c478f(0x45f)](_0x456074['AUTH_SETTINGS'],_0x68ae6a,_0x2182cf,{'Authorization':_0x1c478f(0x1fa)+_0x4c2dfc});});}[_0x124ff6(0x346)](_0x52cb8c){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x49da73=_0x19d1;return this[_0x49da73(0x45f)](_0x456074['AUTH_REFRESH'],{0xc9:_0x5051fa=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x5150db=_0x49da73,_0x34f0ce=yield _0x5051fa[_0x5150db(0x4b9)]();if(!_0x34f0ce['accessToken']||!_0x34f0ce[_0x5150db(0x15d)])throw _0x33e6c1[_0x5150db(0x494)];if(_0x52cb8c['updateTokensIfValid'](_0x34f0ce['accessToken'],_0x34f0ce['refreshToken']),_0x52cb8c[_0x5150db(0x534)]())return _0x33e6c1[_0x5150db(0x55e)];throw _0x33e6c1[_0x5150db(0x494)];}),0x191:()=>{const _0xd79585=_0x49da73;throw _0x33e6c1[_0xd79585(0x504)];}},{'refreshToken':_0x52cb8c[_0x49da73(0x15d)]});});}[_0x124ff6(0x45f)](_0x518041,_0x496e55){return _0x2e1bf5(this,arguments,void 0x0,function*(_0x1fbcf0,_0x35285d,_0x2fd44e={},_0x2ae3dd={}){const _0x34308e=_0x19d1,{path:_0x41a17c,method:_0x40a1ed}=_0x1fbcf0,_0x409579=this[_0x34308e(0x284)]+_0x41a17c,_0x43f9b2={'method':_0x40a1ed,'headers':Object[_0x34308e(0x558)]({'Content-Type':'application/json'},_0x2ae3dd),'body':_0x2fd44e&&JSON[_0x34308e(0x2bd)](_0x2fd44e)};let _0x2e5d83;try{_0x2e5d83=yield fetch(_0x409579,_0x43f9b2);}catch(_0x4b13b1){throw Object[_0x34308e(0x558)](Object['assign']({},_0x33e6c1[_0x34308e(0x3a7)]),{'payload':{'error':_0x4b13b1}});}if(!_0x2e5d83)throw _0x33e6c1[_0x34308e(0x3a7)];if(_0x35285d[_0x2e5d83[_0x34308e(0x481)]])return _0x35285d[_0x2e5d83[_0x34308e(0x481)]](_0x2e5d83);switch(_0x2e5d83[_0x34308e(0x481)]){case 0x190:throw _0x33e6c1[_0x34308e(0x384)];case 0x1f4:throw _0x33e6c1[_0x34308e(0x494)];default:throw Object[_0x34308e(0x558)](Object[_0x34308e(0x558)]({},_0x33e6c1[_0x34308e(0x11d)]),{'payload':{'status':_0x2e5d83['status'],'url':_0x1fbcf0}});}});}}class _0x32bac9{constructor(_0x14c192={}){const _0x274fe5=_0x124ff6;var _0xc05b1e,_0x5a4fd7,_0x59909c,_0x42e467,_0x8f074e,_0x53ec04,_0x286272;this[_0x274fe5(0x28e)]=[],this[_0x274fe5(0x4a4)]=-0x1,this[_0x274fe5(0x43c)]=null!==(_0xc05b1e=_0x14c192['logger'])&&void 0x0!==_0xc05b1e?_0xc05b1e:_0x3cdeb2,this[_0x274fe5(0x180)]=null!==(_0x5a4fd7=_0x14c192['providers'])&&void 0x0!==_0x5a4fd7?_0x5a4fd7:[],this[_0x274fe5(0x250)]=null!==(_0x59909c=_0x14c192[_0x274fe5(0x250)])&&void 0x0!==_0x59909c?_0x59909c:_0x1dd9ff,this[_0x274fe5(0x415)]=null!==(_0x42e467=_0x14c192[_0x274fe5(0x415)])&&void 0x0!==_0x42e467?_0x42e467:new _0xad0f7c(_0x14c192),this['tokenHandler']=null!==(_0x8f074e=_0x14c192['tokenHandler'])&&void 0x0!==_0x8f074e?_0x8f074e:new _0x18f6e2(),this[_0x274fe5(0x4f5)]=!this['providers'][_0x274fe5(0xdc)](_0x1935da=>_0x1935da[_0x274fe5(0x263)]()),this[_0x274fe5(0x320)]=this[_0x274fe5(0x4f5)]&&null!==(_0x286272=null===(_0x53ec04=_0x14c192[_0x274fe5(0x461)])||void 0x0===_0x53ec04?void 0x0:_0x53ec04[_0x274fe5(0x14c)])&&void 0x0!==_0x286272&&_0x286272;}['init'](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x18ee1c=_0x19d1;var _0x239ddd;yield this[_0x18ee1c(0x361)][_0x18ee1c(0x579)](this[_0x18ee1c(0x250)]);const _0x2ecbd2={'loginWithProvider':this[_0x18ee1c(0x1e4)][_0x18ee1c(0x334)](this)};let _0x39f817=!0x1;for(const _0x520d10 of this['providers'])if(yield _0x520d10[_0x18ee1c(0x1d6)](_0x2ecbd2),_0x520d10[_0x18ee1c(0x385)]()&&!_0x39f817){if(_0x39f817=!0x0,null===(_0x239ddd=_0x520d10['handlesFRVRLogin'])||void 0x0===_0x239ddd?void 0x0:_0x239ddd[_0x18ee1c(0x512)](_0x520d10))break;this['loginWithProvider'](_0x520d10)['catch'](_0x3fa391=>{const _0x3cfe7d=_0x18ee1c;var _0x64843b;null===(_0x64843b=this['logger'])||void 0x0===_0x64843b||_0x64843b[_0x3cfe7d(0x1a9)](_0x3cfe7d(0x2c1)+_0x520d10[_0x3cfe7d(0x2a8)]+_0x3cfe7d(0x111),_0x3fa391);});}_0x39f817||!this['isLoggedIn']()?!_0x39f817&&this[_0x18ee1c(0x320)]&&this[_0x18ee1c(0x444)]()[_0x18ee1c(0x27f)](_0xa0656=>{const _0x5dad8a=_0x18ee1c;var _0x41e0f3;null===(_0x41e0f3=this[_0x5dad8a(0x43c)])||void 0x0===_0x41e0f3||_0x41e0f3[_0x5dad8a(0x1a9)](_0x5dad8a(0x3ef),_0xa0656);}):this[_0x18ee1c(0x1ca)]();});}[_0x124ff6(0x29c)](){const _0x2002c4=_0x124ff6;return this[_0x2002c4(0x229)]()?null:this['tokenHandler'][_0x2002c4(0x29c)]();}['getFRVRID'](){const _0x4f7fb1=_0x124ff6;return this[_0x4f7fb1(0x1f2)]()?this[_0x4f7fb1(0x361)][_0x4f7fb1(0x4be)]():null;}[_0x124ff6(0x1e8)](){const _0x5e6fda=_0x124ff6;return this[_0x5e6fda(0x361)][_0x5e6fda(0x1e8)]();}[_0x124ff6(0x385)](){const _0x21c15f=_0x124ff6;if(!this[_0x21c15f(0x1f2)]())return;return Object[_0x21c15f(0x558)]({[_0x1442cc['Platform'][_0x21c15f(0x45d)]]:{'userID':this['tokenHandler'][_0x21c15f(0x4be)](),'accessToken':this[_0x21c15f(0x361)]['getAccessToken'](),'isTokenExpired':!this[_0x21c15f(0x361)][_0x21c15f(0x534)](),'isVerified':this[_0x21c15f(0x361)][_0x21c15f(0x1e8)]()}},this['getThirdPartyCredentials']());}[_0x124ff6(0x3e7)](){const _0x65bb90=_0x124ff6,_0x5bf3ab={};return this[_0x65bb90(0x180)]['forEach'](_0x155173=>{const _0x4eeefd=_0x65bb90;_0x155173&&_0x155173[_0x4eeefd(0x1f2)]()&&(_0x5bf3ab[_0x155173[_0x4eeefd(0x2a8)]()]=_0x155173['getCredentials']());}),_0x5bf3ab;}[_0x124ff6(0x1f2)](){const _0x4aa698=_0x124ff6;return this[_0x4aa698(0x361)]['isAnyValid']();}[_0x124ff6(0xec)](){const _0x5c6482=_0x124ff6;return this['serviceClient']['isLoggingIn']()||!!this[_0x5c6482(0x180)][_0x5c6482(0xdc)](_0x465b2e=>_0x465b2e[_0x5c6482(0xec)]());}[_0x124ff6(0x11e)](){const _0x5d651d=_0x124ff6;return this[_0x5d651d(0x361)]['getCurrentPlatform']();}[_0x124ff6(0x249)](){const _0x2ade8e=_0x124ff6;return this[_0x2ade8e(0x180)][_0x2ade8e(0x293)](_0x1b13f2=>_0x1b13f2['isLoginSupported']())['map'](_0x2eaf6d=>_0x2eaf6d[_0x2ade8e(0x2a8)]());}[_0x124ff6(0x129)](_0x301ee0){const _0x3daa36=_0x124ff6;return!!this[_0x3daa36(0x180)][_0x3daa36(0xdc)](_0x3a1244=>_0x3a1244[_0x3daa36(0x4ae)]()&&_0x3a1244[_0x3daa36(0x2a8)]()==_0x301ee0);}[_0x124ff6(0x3e3)](){const _0x1993d1=_0x124ff6;return this[_0x1993d1(0x4f5)];}[_0x124ff6(0x386)](){const _0x444ad2=_0x124ff6;return!this['providers']['find'](_0x4870e6=>!_0x4870e6[_0x444ad2(0x386)]());}[_0x124ff6(0x429)](_0x9fb1aa){const _0x476b0a=_0x124ff6;this[_0x476b0a(0x28e)][_0x476b0a(0x486)](_0x9fb1aa);}[_0x124ff6(0x57d)](_0x11fb72){return _0x2e1bf5(this,arguments,void 0x0,function*(_0x2514ee,_0x679d06=!0x0){const _0x5f5184=_0x19d1;return this[_0x5f5184(0x415)]['register'](_0x2514ee)['then'](()=>this[_0x5f5184(0x211)]({'platform':_0x1442cc[_0x5f5184(0x1b9)][_0x5f5184(0x45d)],'credentials':_0x2514ee}))[_0x5f5184(0x27f)](_0x54af15=>{const _0x1a2058=_0x5f5184;if(_0x54af15[_0x1a2058(0x53b)]==_0x33e6c1[_0x1a2058(0x445)][_0x1a2058(0x53b)]&&_0x679d06)return this[_0x1a2058(0x211)]({'platform':_0x1442cc['Platform']['FRVR'],'credentials':_0x2514ee});throw _0x54af15;});});}[_0x124ff6(0x211)](_0x12f3ce){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x13fa20=_0x19d1;return this['serviceClient'][_0x13fa20(0x106)](_0x12f3ce)[_0x13fa20(0x4f2)](_0x2a24a3=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0xbd06a6=_0x13fa20;if(_0x2a24a3[_0xbd06a6(0x1c5)]){this[_0xbd06a6(0x361)][_0xbd06a6(0x4aa)](_0x2a24a3['tokenPair']);for(const _0x544f93 of this[_0xbd06a6(0x180)])_0x544f93[_0xbd06a6(0x345)]&&(yield _0x544f93[_0xbd06a6(0x345)](this[_0xbd06a6(0x361)][_0xbd06a6(0xe3)]));this[_0xbd06a6(0x1ca)]();}return _0x51a6d2(_0x2a24a3,[_0xbd06a6(0x1c5)]);}));});}[_0x124ff6(0x444)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x15d9ef=_0x19d1;if(!this[_0x15d9ef(0x320)])throw _0x33e6c1[_0x15d9ef(0x394)];const _0x4213e5=yield this[_0x15d9ef(0x415)][_0x15d9ef(0x444)](),{tokenPair:_0x201d47}=_0x4213e5,_0x3b4625=_0x51a6d2(_0x4213e5,[_0x15d9ef(0x1c5)]);if(_0x201d47){this[_0x15d9ef(0x361)][_0x15d9ef(0x4aa)](_0x201d47);for(const _0x47f0ea of this['providers'])_0x47f0ea[_0x15d9ef(0x345)]&&(yield _0x47f0ea[_0x15d9ef(0x345)](this[_0x15d9ef(0x361)]['currentPair']));this[_0x15d9ef(0x1ca)]();}return _0x3b4625;});}[_0x124ff6(0x40b)](_0x4584c9){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x39e98c=_0x19d1;let _0x27150d;if(_0x27150d=_0x4584c9||0x1!=this[_0x39e98c(0x180)][_0x39e98c(0x151)]?this[_0x39e98c(0x180)][_0x39e98c(0xdc)](_0x298b9a=>_0x298b9a[_0x39e98c(0x2a8)]()==_0x4584c9):this['providers'][0x0],!_0x27150d)throw _0x33e6c1[_0x39e98c(0x394)];return _0x27150d[_0x39e98c(0x106)]()['catch'](_0x2d36df=>{const _0x34bb90=_0x39e98c;throw Object[_0x34bb90(0x558)](Object['assign']({},_0x33e6c1[_0x34bb90(0x566)]),{'payload':{'platform':_0x27150d['getPlatformId'](),'error':_0x2d36df}});})['then'](_0x4bb907=>{const _0x56bcb4=_0x39e98c;if(_0x4bb907)return this['loginWithProvider'](_0x27150d);throw Object['assign'](Object[_0x56bcb4(0x558)]({},_0x33e6c1[_0x56bcb4(0x566)]),{'payload':{'platform':_0x27150d[_0x56bcb4(0x2a8)]()}});});});}[_0x124ff6(0x106)](_0x4a0410,_0x525a3c){const _0x1c2060=_0x124ff6;return _0x4a0410&&_0x525a3c?this[_0x1c2060(0x211)]({'platform':_0x4a0410,'credentials':_0x525a3c}):this[_0x1c2060(0x40b)](_0x4a0410);}[_0x124ff6(0x3fc)](){const _0x26f820=_0x124ff6;this['tokenHandler'][_0x26f820(0x4d1)](),this[_0x26f820(0x180)]['forEach'](_0x39f02d=>{const _0x4ab54a=_0x26f820;_0x39f02d[_0x4ab54a(0x3fc)]();}),this['onLoginStatusChange']();}[_0x124ff6(0x321)](_0x2b14d7,_0x50f39d){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});}[_0x124ff6(0x1ec)](_0x4ce1d1){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x249a16=_0x19d1;return this[_0x249a16(0x415)][_0x249a16(0x1ec)](_0x4ce1d1);});}[_0x124ff6(0x224)](_0x5132d9){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x36e28f=_0x19d1;return this[_0x36e28f(0x415)]['initiateRecoveryChallenge'](_0x5132d9);});}[_0x124ff6(0x526)](_0x1eee6d){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x49d75=_0x19d1;if(!this[_0x49d75(0x1f2)]())throw _0x33e6c1[_0x49d75(0x313)];return this[_0x49d75(0x415)][_0x49d75(0x526)](this[_0x49d75(0x361)][_0x49d75(0x21c)](),_0x1eee6d);});}['synchronizeVerifiedStatus'](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x18311a=_0x19d1;return!(!this['isVerified']()&&this[_0x18311a(0x1f2)]())||this[_0x18311a(0x415)][_0x18311a(0x44b)](this[_0x18311a(0x361)][_0x18311a(0xe3)])[_0x18311a(0x4f2)](_0x120a26=>!!_0x120a26&&this['refreshCurrentPair']()['then'](()=>!0x0));});}[_0x124ff6(0x3f7)](_0x5f57c5,_0x7d0857){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x468264=_0x19d1;return _0x7d0857=yield this[_0x468264(0x47c)](_0x7d0857),fetch(_0x5f57c5,_0x7d0857);});}[_0x124ff6(0x47c)](_0x3f96f3){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x21c7dc=_0x19d1;if(this[_0x21c7dc(0x229)]()&&(yield this[_0x21c7dc(0x173)]()),!this[_0x21c7dc(0x361)][_0x21c7dc(0x534)]())throw _0x33e6c1['NOT_LOGGED_IN'];return Object['assign'](Object['assign']({},_0x3f96f3),{'headers':Object[_0x21c7dc(0x558)](Object['assign']({'Content-Type':_0x21c7dc(0x121)},_0x3f96f3[_0x21c7dc(0x3e4)]),{'Authorization':_0x21c7dc(0x1fa)+this[_0x21c7dc(0x361)][_0x21c7dc(0x29c)]()})});});}[_0x124ff6(0x1ca)](){const _0x3c24c0=_0x124ff6,_0x413834=this[_0x3c24c0(0x1f2)]();this[_0x3c24c0(0x28e)][_0x3c24c0(0xde)](_0x2699a5=>{_0x2699a5(_0x413834);}),this['updateProactiveRefresh']();}[_0x124ff6(0x3b0)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x5501a7=_0x19d1;return this[_0x5501a7(0x229)]()&&(yield this['refreshCurrentPair']()),this[_0x5501a7(0x361)][_0x5501a7(0x29c)]();});}['shouldRefreshTokens'](){const _0x5c6611=_0x124ff6;return this[_0x5c6611(0x361)][_0x5c6611(0xca)]();}[_0x124ff6(0x346)](_0x283118){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x411798=_0x19d1,_0x53814d=this[_0x411798(0x415)]['refreshTokens'](_0x283118);return _0x53814d['then'](()=>{const _0x496817=_0x411798;this['tokenHandler'][_0x496817(0x4aa)](_0x283118),this[_0x496817(0x15e)]();})[_0x411798(0x27f)](()=>{}),_0x53814d[_0x411798(0x27f)](_0x4b8a65=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x4d93dc=_0x411798,_0x14c1d7=this['providers'][_0x4d93dc(0xdc)](_0x192b74=>_0x192b74[_0x4d93dc(0x2a8)]()==_0x283118[_0x4d93dc(0x2de)]);if(_0x4b8a65[_0x4d93dc(0x53b)]!=_0x7c7097['invalidCredentials']||!(null==_0x14c1d7?void 0x0:_0x14c1d7['isLoggedIn']()))throw this[_0x4d93dc(0x361)]['isAccessValid']()?this[_0x4d93dc(0x15e)]():this[_0x4d93dc(0x3fc)](),_0x4b8a65;try{return yield this[_0x4d93dc(0x1e4)](_0x14c1d7),!0x0;}catch(_0x2eb55e){throw this[_0x4d93dc(0x3fc)](),_0x2eb55e;}}));});}[_0x124ff6(0x173)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x271d61=_0x19d1;return this[_0x271d61(0x346)](this['tokenHandler'][_0x271d61(0xe3)])[_0x271d61(0x4f2)](_0x33faa5=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0xa994db=_0x271d61;for(const _0x21f19f of this[_0xa994db(0x180)])_0x21f19f[_0xa994db(0x345)]&&(yield _0x21f19f['onFRVRTokensReceived'](this[_0xa994db(0x361)][_0xa994db(0xe3)]));return _0x33faa5;}));});}[_0x124ff6(0x1e4)](_0x398e12){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x3bac3b=_0x19d1;return this[_0x3bac3b(0x211)]({'platform':null==_0x398e12?void 0x0:_0x398e12[_0x3bac3b(0x2a8)](),'credentials':null==_0x398e12?void 0x0:_0x398e12[_0x3bac3b(0x385)]()});});}[_0x124ff6(0x15e)](){const _0x3a36e8=_0x124ff6;window[_0x3a36e8(0x15c)](this['proactiveRefreshTimeoutID']),this[_0x3a36e8(0x1f2)]()&&(this[_0x3a36e8(0x4a4)]=window['setTimeout'](()=>{this['refreshCurrentPair']();},0x3e8*this[_0x3a36e8(0x326)]()));}[_0x124ff6(0x326)](){const _0x3c4775=_0x124ff6;var _0x4c6bb4;if(!this['tokenHandler'][_0x3c4775(0x2d4)]())return Number[_0x3c4775(0x1bd)];const _0x100f76=this['tokenHandler'][_0x3c4775(0xe3)],_0x29155f=0.4*((null!==(_0x4c6bb4=_0x100f76['accessIssuedAt'])&&void 0x0!==_0x4c6bb4?_0x4c6bb4:Date[_0x3c4775(0x3e5)]()/0x3e8)+_0x100f76['accessLifespan']-Math[_0x3c4775(0x164)](Date[_0x3c4775(0x3e5)]()/0x3e8));return Math[_0x3c4775(0x4d3)](0x1e,_0x29155f);}get[_0x124ff6(0x443)](){return _0x7c7097;}get[_0x124ff6(0x1b3)](){const _0x17de45=_0x124ff6;return _0x1442cc[_0x17de45(0x1b9)];}}var _0x1e6b0e=Object[_0x124ff6(0x54a)]({'__proto__':null});class _0x3effdb extends Error{constructor(_0x10b46c,_0x2fc537){const _0x1a7dff=_0x124ff6;super(_0x10b46c),this['code']=_0x2fc537,this[_0x1a7dff(0x28a)]=_0x1a7dff(0x1b4),this[_0x1a7dff(0x26f)]=_0x2fc537;}}class _0x47cc8a extends Error{constructor(_0x3ff32f){const _0x5f31d0=_0x124ff6;super(_0x3ff32f),this[_0x5f31d0(0x28a)]=_0x5f31d0(0x1c0),Object[_0x5f31d0(0x51e)](this,_0x47cc8a[_0x5f31d0(0x3fd)]);}}class _0xf917ad{constructor({accessProvider:_0x2fee33,gameId:_0x3e56bc,debugProvider:_0x39e95,apiUrl:_0x283665,channelId:_0x1ee9be}){const _0x41459d=_0x124ff6;this[_0x41459d(0xe9)]=_0x2fee33,this[_0x41459d(0x205)]=_0x3e56bc,this[_0x41459d(0x525)]=_0x39e95,this['baseUrl']=null!=_0x283665?_0x283665:'https://crucible.frvr.com',this['channelId']=_0x1ee9be;}['getFeatures'](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x6a50e9=_0x19d1,_0xb72c35=new URLSearchParams();if(this[_0x6a50e9(0x525)]){const _0x482891=yield this[_0x6a50e9(0x525)][_0x6a50e9(0x31c)](_0x6a50e9(0x141));_0x482891&&_0xb72c35[_0x6a50e9(0x2ea)](_0x6a50e9(0x190),_0x482891);}this[_0x6a50e9(0x48f)]&&_0xb72c35[_0x6a50e9(0x2ea)](_0x6a50e9(0x1b6),this[_0x6a50e9(0x48f)]);const _0x398cfc={'Content-Type':_0x6a50e9(0x121)},_0x501d4b=yield this[_0x6a50e9(0xe9)][_0x6a50e9(0x29c)]();_0x501d4b?_0x398cfc[_0x6a50e9(0x41d)]=_0x6a50e9(0x1fa)+_0x501d4b:_0xb72c35['append'](_0x6a50e9(0x18f),yield this[_0x6a50e9(0xe9)][_0x6a50e9(0x55b)]());let _0x117265=_0xb72c35[_0x6a50e9(0x567)]();_0x117265&&(_0x117265='?'+_0x117265);const _0x48ac56=_0x501d4b?this[_0x6a50e9(0x57e)]+_0x6a50e9(0x4ab)+this[_0x6a50e9(0x205)]+_0x6a50e9(0x22c)+_0x117265:this[_0x6a50e9(0x57e)]+_0x6a50e9(0x109)+this[_0x6a50e9(0x205)]+_0x6a50e9(0x22c)+_0x117265,_0x473a0e=yield fetch(_0x48ac56,{'headers':_0x398cfc});if(!_0x473a0e['ok'])throw new _0x3effdb('Failed\x20to\x20fetch\x20features:\x20'+_0x473a0e['status']+'\x20'+_0x473a0e[_0x6a50e9(0x49c)],_0x473a0e[_0x6a50e9(0x481)]);return yield _0x473a0e[_0x6a50e9(0x4b9)]();});}}function _0x1c374f(_0x5add10){const _0x36ecd2=_0x124ff6;return function(_0xe7090b,_0x4a599c,_0x587514,_0x2256e2){return()=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x265b3b=_0x19d1;let _0x214f5d=yield _0xe7090b[_0x265b3b(0x4c9)](_0x4a599c);const _0x4acbf6=null==_0x214f5d?void 0x0:_0x214f5d['createdAt'];_0x2256e2&&_0x4acbf6&&Date['now']()-_0x4acbf6>=0x18*_0x2256e2*0x3c*0x3c*0x3e8&&(_0x214f5d=void 0x0);const _0x4bb30e=null==_0x214f5d?void 0x0:_0x214f5d['value'];if(_0x4bb30e)return String(_0x4bb30e);const _0x317630=yield _0x587514();return yield _0xe7090b[_0x265b3b(0x348)](_0x4a599c,{'value':_0x317630,'createdAt':Date[_0x265b3b(0x3e5)]()}),_0x317630;});}(_0x5add10,_0x36ecd2(0x553),()=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x5d1676=_0x36ecd2;return _0x5d1676(0x247)!=typeof window&&window['crypto']&&window[_0x5d1676(0x2d5)][_0x5d1676(0x55f)]?window[_0x5d1676(0x2d5)]['randomUUID']():'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'[_0x5d1676(0x25c)](/[xy]/g,_0x51f2bd=>{const _0x52a697=_0x5d1676,_0x23c961=0x10*Math[_0x52a697(0x568)]()|0x0;return('x'===_0x51f2bd?_0x23c961:0x3&_0x23c961|0x8)[_0x52a697(0x567)](0x10);});}),0x16d);}const _0x14d2dd='__frvr_features';class _0x5cee99{constructor({client:_0x399c86,auth:_0xd0b371,tracker:_0x447a18,debugProvider:_0x39cb69,localStorage:_0x1fffa8,logger:_0x2a8a31,config:_0x4fcb42,remoteABTests:_0x2a35a0,channelId:_0x34dc95}){const _0x335c6f=_0x124ff6;var _0x21e835,_0x1fe616;this[_0x335c6f(0x4fb)]=!0x0,this[_0x335c6f(0x189)]=_0xd0b371,this[_0x335c6f(0x223)]=_0x447a18,this['anonymousIdProvider']=_0x1c374f(_0x1fffa8);const _0x1a3d4c={'getAccessToken':()=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x2db0af=_0x335c6f;return this[_0x2db0af(0x189)][_0x2db0af(0x29c)]();}),'getUserId':()=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x39b36a=_0x335c6f;return this[_0x39b36a(0x170)];})};this[_0x335c6f(0x1c9)]=null!=_0x399c86?_0x399c86:new _0xf917ad({'accessProvider':_0x1a3d4c,'debugProvider':_0x39cb69,'gameId':_0x4fcb42[_0x335c6f(0x205)],'apiUrl':_0x4fcb42[_0x335c6f(0x4b4)],'channelId':_0x34dc95}),this[_0x335c6f(0x467)]=_0x1fffa8,this[_0x335c6f(0x43c)]=_0x2a8a31,this[_0x335c6f(0x461)]=_0x4fcb42,this[_0x335c6f(0x19a)]=_0x2a35a0,this[_0x335c6f(0x157)]=null!==(_0x21e835=_0x4fcb42['defaultFeatures'])&&void 0x0!==_0x21e835?_0x21e835:{},this[_0x335c6f(0x3b5)]=new _0xc3173a(null!==(_0x1fe616=_0x4fcb42[_0x335c6f(0x38a)])&&void 0x0!==_0x1fe616?_0x1fe616:0x3e8),this[_0x335c6f(0x461)]['waitForTimeoutActivation']||this['activateTimeout']();}[_0x124ff6(0x1d6)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x3ba43=_0x19d1;this[_0x3ba43(0x2a7)]=yield this[_0x3ba43(0x467)][_0x3ba43(0x4c9)](_0x14d2dd),this[_0x3ba43(0x170)]=yield this['anonymousIdProvider']();});}[_0x124ff6(0x474)](){const _0x5e123d=_0x124ff6;this[_0x5e123d(0x3b5)][_0x5e123d(0x474)]();}['getFeature'](_0x20a3e9){return _0x2e1bf5(this,arguments,void 0x0,function*(_0x531711,_0x215e27=!0x1){const _0x5a1e63=_0x19d1;return this[_0x5a1e63(0x4d7)]([_0x531711],_0x215e27)[_0x5a1e63(0x4f2)](_0x14326e=>_0x14326e[_0x531711]);});}['getFeatures'](_0x21ad67){return _0x2e1bf5(this,arguments,void 0x0,function*(_0x3d538a,_0x18032d=!0x1){const _0x2fd004=_0x19d1;var _0x3d6ede,_0x10a6ed,_0x2175ef;yield this[_0x2fd004(0x562)](_0x18032d);const _0x1cf80e=null!==(_0x3d6ede=this['remoteConfig'])&&void 0x0!==_0x3d6ede?_0x3d6ede:this['preStoredConfig'],_0x300899=null!==(_0x10a6ed=null==_0x1cf80e?void 0x0:_0x1cf80e['config'])&&void 0x0!==_0x10a6ed?_0x10a6ed:this[_0x2fd004(0x157)];return this[_0x2fd004(0x3ca)]&&this['setupGroups'](null!==(_0x2175ef=null==_0x1cf80e?void 0x0:_0x1cf80e[_0x2fd004(0xef)])&&void 0x0!==_0x2175ef?_0x2175ef:[]),_0x3d538a&&0x0!==_0x3d538a[_0x2fd004(0x151)]?_0x3d538a[_0x2fd004(0x4d8)]((_0x19ff93,_0x59ec66)=>(_0x19ff93[_0x59ec66]=_0x300899[_0x59ec66],_0x19ff93),{}):_0x300899;});}['getGroups'](){const _0x56bfc9=_0x124ff6;return this[_0x56bfc9(0xef)];}['setupGroups'](_0x5123d0){const _0x24e96d=_0x124ff6;var _0x1e830a;this[_0x24e96d(0xef)]||(this[_0x24e96d(0xef)]=_0x5123d0,_0x5123d0[_0x24e96d(0x151)]>0x0&&(null===(_0x1e830a=this[_0x24e96d(0x19a)])||void 0x0===_0x1e830a||_0x1e830a[_0x24e96d(0x27c)](_0x5123d0)));}[_0x124ff6(0x562)](_0x4d0a42){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x525d12=_0x19d1;if(this['firstFetchPromise'])return this[_0x525d12(0x535)];if(!this[_0x525d12(0x4fb)]&&!_0x4d0a42)return;this[_0x525d12(0xef)]=void 0x0,this[_0x525d12(0x4fb)]=!0x1;const _0x236ba3=this[_0x525d12(0x55b)]();return _0x236ba3&&this[_0x525d12(0x2a7)]&&_0x236ba3!==this['preStoredConfig']['userId']&&(yield this[_0x525d12(0x3a8)]()),(this[_0x525d12(0x223)][_0x525d12(0x44c)]('features_loading',{}),this[_0x525d12(0x535)]=this[_0x525d12(0x3b5)][_0x525d12(0x48b)](()=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x15aabe=_0x525d12;let _0x3c278d;try{yield this['auth']['getFreshAccessToken'](),_0x3c278d=yield this[_0x15aabe(0x1c9)][_0x15aabe(0x4d7)]();}catch(_0x3be075){this[_0x15aabe(0x43c)][_0x15aabe(0x4ad)](['Failed\x20to\x20fetch\x20features:',_0x3be075['code'],_0x3be075['message']]['filter'](_0x5e9359=>_0x5e9359)['join']('\x20'));throw _0x3be075 instanceof _0x3effdb&&0x194===_0x3be075[_0x15aabe(0x26f)]&&(yield this[_0x15aabe(0x3a8)]()),_0x3be075;}return _0x3c278d&&(yield this[_0x15aabe(0x332)](_0x3c278d)),_0x3c278d;}))[_0x525d12(0x4f2)](_0x594443=>{const _0x328fb4=_0x525d12;this['remoteConfig']=_0x594443,this[_0x328fb4(0x535)]=void 0x0,this[_0x328fb4(0x223)][_0x328fb4(0x44c)](_0x328fb4(0xc7),{});})[_0x525d12(0x27f)](_0x15fd0=>{const _0x16d968=_0x525d12;this[_0x16d968(0x535)]=void 0x0,_0x15fd0 instanceof _0x47cc8a&&this[_0x16d968(0x43c)][_0x16d968(0x4ad)](_0x16d968(0xd5)+_0x15fd0['message']),this['tracker'][_0x16d968(0x44c)]('features_loading_error',{'error':_0x15fd0['message']});}),this[_0x525d12(0x535)]);});}[_0x124ff6(0x332)](_0x316499){const _0x3d29bd=_0x124ff6,_0x4b4c1d=Object[_0x3d29bd(0x558)](Object[_0x3d29bd(0x558)]({},_0x316499),{'userId':this[_0x3d29bd(0x55b)]()});return this[_0x3d29bd(0x467)][_0x3d29bd(0x348)](_0x14d2dd,_0x4b4c1d);}[_0x124ff6(0x3a8)](){const _0x34e77b=_0x124ff6;return this['preStoredConfig']=void 0x0,this[_0x34e77b(0x467)][_0x34e77b(0x259)](_0x14d2dd);}[_0x124ff6(0x55b)](){const _0x1b84e5=_0x124ff6;return this['auth'][_0x1b84e5(0x4be)]();}}class _0xc3173a{constructor(_0x143331){const _0x40b8b1=_0x124ff6;this[_0x40b8b1(0x112)]=_0x143331,this[_0x40b8b1(0x473)]=new _0x401402();}[_0x124ff6(0x474)](){const _0x44f205=_0x124ff6;this[_0x44f205(0x473)][_0x44f205(0x523)](!0x1);}[_0x124ff6(0x48b)](_0x4ac25a){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x42a076=_0x19d1,_0xaeb3e2=Date['now']()+this[_0x42a076(0x112)],_0x456d09=_0x4ac25a()[_0x42a076(0x25d)](()=>{const _0x4866ef=_0x42a076;this['timeoutActivePromise'][_0x4866ef(0x523)](!0x0);});if(yield this[_0x42a076(0x473)])return _0x456d09;const _0x46e585=Math['max'](0x0,_0xaeb3e2-Date[_0x42a076(0x3e5)]());return _0x5b877d=_0x456d09,_0x4ea5ae=_0x46e585,_0x19acb5=_0x42a076(0x1cb)+this['timeoutMs']+'ms',new Promise((_0x376c54,_0x4d8585)=>{const _0x3dcae2=_0x42a076,_0x3b27a5=setTimeout(()=>_0x4d8585(new _0x47cc8a(null!=_0x19acb5?_0x19acb5:_0x3dcae2(0x1cb)+_0x4ea5ae+'ms')),_0x4ea5ae);_0x5b877d[_0x3dcae2(0x4f2)](_0xe04fcb=>{clearTimeout(_0x3b27a5),_0x376c54(_0xe04fcb);})[_0x3dcae2(0x27f)](_0x56d281=>{clearTimeout(_0x3b27a5),_0x4d8585(_0x56d281);});});var _0x5b877d,_0x4ea5ae,_0x19acb5;});}}class _0x545b9d{constructor(_0x15cc54){const _0x266832=_0x124ff6;this[_0x266832(0x223)]=_0x15cc54;}[_0x124ff6(0x27c)](_0x1c34df){const _0x1cd30a=_0x124ff6;var _0x217d29;const _0x581d2a=this[_0x1cd30a(0x29e)]();if(_0x581d2a===this['playSessionId'])return;if(null===(_0x217d29=this[_0x1cd30a(0x2e9)])||void 0x0===_0x217d29||_0x217d29[_0x1cd30a(0x512)](this),0x0===_0x1c34df[_0x1cd30a(0x151)])return;this[_0x1cd30a(0x51b)]=_0x581d2a;const _0x248b5a=function(_0x467729){const _0x2ce8e7=_0x1cd30a,_0x5bb091={};for(const _0x4fbab4 of _0x467729){const _0x454755=0x0===_0x4fbab4[_0x2ce8e7(0x4ef)]?'control':_0x4fbab4[_0x2ce8e7(0x4ef)]<=0x1a?String[_0x2ce8e7(0x379)](0x60+_0x4fbab4[_0x2ce8e7(0x4ef)]):''+_0x4fbab4[_0x2ce8e7(0x4ef)];_0x5bb091[_0x4fbab4['testName']]=_0x4fbab4[_0x2ce8e7(0x1fb)]+'__'+_0x454755;}return _0x5bb091;}(_0x1c34df),_0x405d5f=function(_0x4e10ec,_0x5bbe68){const _0x213702={};for(const _0x1ea2a2 in _0x5bbe68)_0x213702[_0x4e10ec+'_'+_0x1ea2a2]=_0x5bbe68[_0x1ea2a2];return _0x213702;}(_0x1cd30a(0x1c8),_0x248b5a);for(const _0x4784a1 in _0x248b5a){const _0x48c02a=_0x248b5a[_0x4784a1];this[_0x1cd30a(0x223)][_0x1cd30a(0x1b0)](_0x1cd30a(0x39f),0x1,{'ab_test_name':_0x4784a1,'ab_test_group':_0x48c02a});}this[_0x1cd30a(0x2e9)]=this[_0x1cd30a(0x223)][_0x1cd30a(0x572)](_0x2a3380=>{const _0x1134fc=_0x1cd30a;Object[_0x1134fc(0x558)](_0x2a3380,_0x405d5f);});}['getTrackerPlaySessionId'](){const _0x17f31b=_0x124ff6;return this['tracker'][_0x17f31b(0x216)]();}}class _0x52c874{constructor(_0x19139b,_0x43dcd3){const _0x3aa147=_0x124ff6;this['primaryDebugProvider']=_0x19139b,this[_0x3aa147(0x43a)]=_0x43dcd3;}[_0x124ff6(0x31c)](_0x415517){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x29f48b=_0x19d1;var _0x55e933;const _0xad6072=yield null===(_0x55e933=this[_0x29f48b(0x452)])||void 0x0===_0x55e933?void 0x0:_0x55e933[_0x29f48b(0x31c)](_0x415517);return void 0x0===_0xad6072?this['fallbackStorageProvider'][_0x29f48b(0x4c9)](_0x415517):_0xad6072;});}}function _0x35d35a(_0x24eca2){const _0x1a0a98=_0x124ff6;var _0x1b7ba3,_0x4f4a79;null===(_0x1b7ba3=window[_0x1a0a98(0x380)])||void 0x0===_0x1b7ba3||_0x1b7ba3[_0x1a0a98(0x512)](window,_0x1a0a98(0x3bf),()=>{const _0xa55c17=_0x1a0a98;_0x24eca2[_0xa55c17(0x203)]();}),null===(_0x4f4a79=window[_0x1a0a98(0x380)])||void 0x0===_0x4f4a79||_0x4f4a79[_0x1a0a98(0x512)](window,_0x1a0a98(0xdd),()=>{const _0x3db34d=_0x1a0a98;_0x24eca2[_0x3db34d(0x2bf)]();});}function _0x195a0f(_0x11f869){const _0x12dc79=_0x124ff6;var _0x117282,_0x177aeb;null===(_0x117282=window[_0x12dc79(0x380)])||void 0x0===_0x117282||_0x117282['call'](window,_0x12dc79(0x3bf),()=>{const _0x195571=_0x12dc79;_0x11f869[_0x195571(0x453)]();}),null===(_0x177aeb=window[_0x12dc79(0x380)])||void 0x0===_0x177aeb||_0x177aeb['call'](window,'blur',()=>{_0x11f869['onSuspend']();});}const _0x23b0ed={'providers':[{'name':_0x124ff6(0x585),'type':_0x124ff6(0x44e),'priority':0x1},{'name':'dev','type':_0x124ff6(0x214),'priority':0x2}],'throttling':{'maxfrequency':0x1388}},_0x177d69={'onGamePause':()=>{},'onSuspend':()=>{},'onResume':()=>{},'onAudioSuspend':()=>{},'onAudioResume':()=>{},'onShow':()=>{},'onHide':()=>{}};class _0x26bbfb{constructor(_0x15f662,_0x31f99d,_0x222639,_0x25a82e,_0x3621a0){const _0x289494=_0x124ff6;this[_0x289494(0x46f)]=_0x15f662,this['postInit']=_0x31f99d,this['preComplete']=_0x222639,this['postComplete']=_0x25a82e,this[_0x289494(0x1a3)]=_0x3621a0;}[_0x124ff6(0x1d6)](){const _0xe29299=_0x124ff6;var _0x36c0e1,_0x3869f1,_0x5b829a,_0x55a7d3;return(null===(_0x3869f1=null===(_0x36c0e1=this[_0xe29299(0x1a3)])||void 0x0===_0x36c0e1?void 0x0:_0x36c0e1[_0xe29299(0x147)])||void 0x0===_0x3869f1?void 0x0:_0x3869f1[_0xe29299(0x512)](_0x36c0e1))||null===(_0x55a7d3=(_0x5b829a=this['consentProvider'])[_0xe29299(0x2b1)])||void 0x0===_0x55a7d3||_0x55a7d3[_0xe29299(0x512)](_0x5b829a),this[_0xe29299(0x46f)]['init']()[_0xe29299(0x4f2)](()=>this['postInit']());}[_0x124ff6(0x462)](_0x3bf6f){const _0x1d5f09=_0x124ff6;this[_0x1d5f09(0x46f)][_0x1d5f09(0x462)](_0x3bf6f);}[_0x124ff6(0x3c4)](){const _0x115879=_0x124ff6;return this[_0x115879(0x522)]()['then'](()=>this['bootstrapper'][_0x115879(0x3c4)]())['then'](()=>this[_0x115879(0x362)]());}}class _0x2ce64d{constructor(_0x5781fb){const _0x21161b=_0x124ff6;this[_0x21161b(0x135)]=_0x5781fb;}['setScore'](_0x3feb30){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x399b53=_0x19d1;return!!this[_0x399b53(0x135)]&&this[_0x399b53(0x135)][_0x399b53(0x428)](_0x3feb30);});}}class _0x5b4e76{[_0x124ff6(0x1d6)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){});}[_0x124ff6(0x4bc)](){const _0x2433ce=_0x124ff6;return _0x2433ce(0x3e0);}[_0x124ff6(0x217)](_0x5e5b53){}[_0x124ff6(0x4ce)](_0x240a72){}[_0x124ff6(0x4e6)](){return console;}[_0x124ff6(0x57a)](){return _0x251394;}[_0x124ff6(0x49a)](){return _0x310f23;}[_0x124ff6(0x545)](){return[];}[_0x124ff6(0x49f)](){return _0x594310;}['getABTestsUniqueId'](){return'';}[_0x124ff6(0x3c1)](_0x3eb05a){return[];}['getIAPProvider'](){return _0xfeae77;}[_0x124ff6(0x35e)](){const _0x9c800a=_0x124ff6;return _0x1c4145([_0x3f9007[_0x9c800a(0x45e)]]);}['getCloudStorageProvider'](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x1865b5=_0x19d1;return _0x1c4145([_0x3f9007[_0x1865b5(0x45e)]]);});}['getShortcutProvider'](){return _0x444f6b;}['getTrackerContextProvider'](){return()=>({});}[_0x124ff6(0x204)](){return _0x31ca03;}[_0x124ff6(0x1a5)](){return _0x591781;}[_0x124ff6(0x368)](){return _0x19818f;}['getSocialProvider'](){return _0x216c46;}[_0x124ff6(0x582)](){return _0x2ecc97;}['getTournamentsProvider'](){return _0x4efff4;}[_0x124ff6(0x4a7)](){return _0x26cb78;}['getLeaderboardsProvider'](){return _0x58e0f3;}[_0x124ff6(0x335)](){return _0x1b5355;}['getAuthProviders'](_0x47f08a,_0x429f2f){return[];}[_0x124ff6(0x12f)](){return _0x131355;}[_0x124ff6(0x34c)](){return _0x741788;}[_0x124ff6(0x37b)](){return _0x2b9150;}['getAdsConfig'](_0x371a02){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return _0x371a02;});}[_0x124ff6(0x277)](){return _0x2c44d8;}[_0x124ff6(0x342)](){const _0x1bebec=_0x124ff6;return{'setScore':_0x5effa7=>Promise[_0x1bebec(0x523)](!0x1)};}[_0x124ff6(0x2e2)](){return new Set();}}function _0x38d1bc(_0x542fbd){const _0x18c6ef=_0x124ff6,_0x12fd53=Object[_0x18c6ef(0x3d0)](_0x5b4e76[_0x18c6ef(0x3fd)]),_0x3b620f={};for(const _0x502665 of _0x12fd53)_0x18c6ef(0x3c3)!==_0x502665&&_0x542fbd[_0x502665]&&(_0x3b620f[_0x502665]=_0x542fbd[_0x502665]['bind'](_0x542fbd));return _0x3b620f;}class _0x113807{constructor(_0x29ddf2){const _0x4ced5a=_0x124ff6;this[_0x4ced5a(0xd7)]=_0x29ddf2;}[_0x124ff6(0x1d6)](){const _0x34d78e=_0x124ff6;return this[_0x34d78e(0xd7)]['init']();}['canCreateShortcut'](){const _0x3e4ba0=_0x124ff6;return this[_0x3e4ba0(0xd7)][_0x3e4ba0(0x40a)]();}['createShortcut'](){const _0x28a8c5=_0x124ff6;return this[_0x28a8c5(0xd7)][_0x28a8c5(0x270)]();}[_0x124ff6(0x33d)](){const _0x4d6c8d=_0x124ff6;return this[_0x4d6c8d(0x40a)]();}[_0x124ff6(0x39a)](){const _0x15aca0=_0x124ff6;return this[_0x15aca0(0x270)]();}}class _0x26bf4d extends _0x14cacd{constructor({provider:_0x4eb6ef,logger:_0x26bd2d}){const _0xe93fe9=_0x124ff6;super({'provider':_0x4eb6ef,'logger':_0x26bd2d}),this[_0xe93fe9(0xf5)]=_0x4eb6ef;}[_0x124ff6(0x493)](){const _0x4351f8=_0x124ff6;var _0x230441,_0x50f6fd,_0x23a57c;return null!==(_0x23a57c=null===(_0x50f6fd=(_0x230441=this['cloudProvider'])[_0x4351f8(0x493)])||void 0x0===_0x50f6fd?void 0x0:_0x50f6fd[_0x4351f8(0x512)](_0x230441))&&void 0x0!==_0x23a57c&&_0x23a57c;}[_0x124ff6(0x133)](_0x4e2ff0){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x351ab5=_0x19d1;var _0x176076,_0x2f9828;const _0x27479a=_0x4e2ff0[_0x351ab5(0x3f6)](({key:_0x2a9545,value:_0x392eb6})=>({'key':_0x2a9545,'value':JSON[_0x351ab5(0x2bd)](_0x392eb6)}));yield null===(_0x2f9828=(_0x176076=this[_0x351ab5(0xf5)])[_0x351ab5(0x133)])||void 0x0===_0x2f9828?void 0x0:_0x2f9828['call'](_0x176076,_0x27479a);});}['setPublicItem'](_0x170368,_0x1c4ba8){const _0x2338d4=_0x124ff6;return this['cloudProvider'][_0x2338d4(0x133)]([{'key':_0x170368,'value':JSON[_0x2338d4(0x2bd)](_0x1c4ba8)}]);}['queryPublicItems'](_0x28c4b0){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x13f23c=_0x19d1;var _0x1b649d,_0x87f323,_0x112d73,_0x3eda77;const _0x39d096=null!==(_0x112d73=yield null===(_0x87f323=(_0x1b649d=this[_0x13f23c(0xf5)])[_0x13f23c(0x1f4)])||void 0x0===_0x87f323?void 0x0:_0x87f323[_0x13f23c(0x512)](_0x1b649d,_0x28c4b0))&&void 0x0!==_0x112d73?_0x112d73:{'items':[]};return{'items':_0x39d096['items']['map'](_0x487864=>Object['assign'](Object[_0x13f23c(0x558)]({},_0x487864),{'data':JSON[_0x13f23c(0x341)](_0x487864[_0x13f23c(0x236)])})),'failed':null===(_0x3eda77=_0x39d096['failed'])||void 0x0===_0x3eda77?void 0x0:_0x3eda77['map'](_0x27556c=>Object[_0x13f23c(0x558)](Object[_0x13f23c(0x558)]({},_0x27556c),{'data':_0x27556c[_0x13f23c(0x236)]?JSON[_0x13f23c(0x341)](_0x27556c[_0x13f23c(0x236)]):void 0x0}))};});}}class _0x146d5a extends Error{constructor(_0x454949,_0x353f48){const _0x101bff=_0x124ff6;super(_0x454949),this[_0x101bff(0x26f)]=_0x353f48,this['name']='ShopError',this[_0x101bff(0x26f)]=_0x353f48,Object[_0x101bff(0x51e)](this,_0x146d5a['prototype']);}}class _0x31a640{constructor({accessProvider:_0x519a35,gameId:_0x87ab5b,apiUrl:_0x3d1f24}){const _0x1b46ef=_0x124ff6;this[_0x1b46ef(0xe9)]=_0x519a35,this[_0x1b46ef(0x205)]=_0x87ab5b,this[_0x1b46ef(0x57e)]=null!=_0x3d1f24?_0x3d1f24:_0x1b46ef(0x39e);}[_0x124ff6(0x174)](){return _0x2e1bf5(this,arguments,void 0x0,function*(_0x541251='',_0x57d8a1){const _0x458b95=_0x19d1;var _0xb2c2a4;const _0x42aa82=new URLSearchParams();_0x541251&&_0x42aa82[_0x458b95(0x488)](_0x458b95(0x11f),_0x541251);const _0x1a8921={'Content-Type':_0x458b95(0x121)},_0xbd6604=this['accessProvider']['getAccessToken']();if(!_0xbd6604)throw new _0x146d5a(_0x458b95(0x2c5),0x0);_0x1a8921[_0x458b95(0x41d)]='Bearer\x20'+_0xbd6604;let _0xfbef6d=_0x42aa82['toString']();_0xfbef6d&&(_0xfbef6d='?'+_0xfbef6d);const _0x119275=this[_0x458b95(0x57e)]+_0x458b95(0x1b1)+this[_0x458b95(0x205)]+_0xfbef6d,_0x510eff=yield fetch(_0x119275,{'headers':_0x1a8921});if(!_0x510eff['ok'])throw new _0x1082cf('Failed\x20to\x20fetch\x20shop\x20data:\x20'+_0x510eff['status']+'\x20'+_0x510eff[_0x458b95(0x49c)],_0x510eff['status']);const _0x2f5a14=yield _0x510eff[_0x458b95(0x4b9)]();return null!==(_0xb2c2a4=null==_0x57d8a1?void 0x0:_0x57d8a1(_0x2f5a14))&&void 0x0!==_0xb2c2a4?_0xb2c2a4:_0x2f5a14;});}[_0x124ff6(0x46d)](_0xa9cae,_0x3bc94b){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x4df231=_0x19d1;var _0x171156;const _0x19f078={'Content-Type':_0x4df231(0x121)},_0xe1ceb3=this[_0x4df231(0xe9)][_0x4df231(0x29c)]();if(!_0xe1ceb3)throw new _0x146d5a(_0x4df231(0x2c5),0x0);_0x19f078[_0x4df231(0x41d)]='Bearer\x20'+_0xe1ceb3;let _0xefb1be='';_0xa9cae&&(_0xefb1be=_0x4df231(0x540)+_0xa9cae[_0x4df231(0x567)]());const _0x3648cb=this[_0x4df231(0x57e)]+_0x4df231(0x1b1)+this[_0x4df231(0x205)]+_0x4df231(0x403)+_0xefb1be,_0x4cf4a3=yield fetch(_0x3648cb,{'headers':_0x19f078});if(!_0x4cf4a3['ok'])throw new _0x1082cf(_0x4df231(0x405)+_0x4cf4a3[_0x4df231(0x481)]+'\x20'+_0x4cf4a3[_0x4df231(0x49c)],_0x4cf4a3[_0x4df231(0x481)]);const _0x45b21c=(yield _0x4cf4a3['json']())[_0x4df231(0x4b7)];return null!==(_0x171156=null==_0x3bc94b?void 0x0:_0x3bc94b(_0x45b21c))&&void 0x0!==_0x171156?_0x171156:_0x45b21c;});}}class _0x1082cf extends _0x146d5a{constructor(_0xe11fa9,_0x4359c6){const _0x289705=_0x124ff6;super(_0xe11fa9,_0x4359c6),this[_0x289705(0x26f)]=_0x4359c6,Object['setPrototypeOf'](this,_0x1082cf[_0x289705(0x3fd)]);}}class _0x45c56e{constructor(_0x5b925f){const _0x23a677=_0x124ff6;this['client']=_0x23a677(0x1c9)in _0x5b925f?_0x5b925f['client']:new _0x31a640(_0x5b925f),this['logger']=_0x5b925f[_0x23a677(0x43c)],this['iap']=_0x5b925f['iap'];}[_0x124ff6(0x174)](){return _0x2e1bf5(this,arguments,void 0x0,function*(_0x4f3e09=''){const _0x5ad304=_0x19d1;let _0x2a2282;try{_0x2a2282=yield this[_0x5ad304(0x1c9)][_0x5ad304(0x174)](_0x4f3e09,_0x5a0019);}catch(_0x1e51da){if(0x194===_0x1e51da[_0x5ad304(0x26f)])return _0x3bd0ae;throw _0x1e51da;}return _0x2a2282=this['withChannel'](this[_0x5ad304(0x28d)](_0x2a2282)),_0x2a2282;});}[_0x124ff6(0x46d)](_0x4d6036){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x51cd66=_0x19d1;if(0x0===_0x4d6036['length'])return[];let _0xe7910e;try{_0xe7910e=yield this[_0x51cd66(0x1c9)][_0x51cd66(0x46d)](_0x4d6036,_0x5a0019);}catch(_0x44289c){if(0x194===_0x44289c[_0x51cd66(0x26f)])return[];throw _0x44289c;}return _0xe7910e;});}[_0x124ff6(0x28d)](_0x5c8428){const _0x995951=_0x124ff6;return Object[_0x995951(0x558)](Object[_0x995951(0x558)]({},_0x5c8428),{'modules':_0x5c8428[_0x995951(0xdf)][_0x995951(0x3f6)](_0x1d2cce=>Object[_0x995951(0x558)](Object['assign']({},_0x1d2cce),{'products':_0x1d2cce[_0x995951(0x188)][_0x995951(0x3f6)](_0x246215=>_0x246215['price'][_0x995951(0x23c)]===_0x2845c1?Object[_0x995951(0x558)](Object[_0x995951(0x558)]({},_0x246215),{'price':Object[_0x995951(0x558)](Object[_0x995951(0x558)]({},_0x246215[_0x995951(0x32c)]),{'formattedAmount':this[_0x995951(0x42d)](_0x246215)})}):_0x246215)}))});}[_0x124ff6(0x35c)](_0x1fde25){const _0x4d8b3c=_0x124ff6,_0x331729=this[_0x4d8b3c(0x31a)][_0x4d8b3c(0x2a2)](),_0x4a61b5=_0x3a9f8a[_0x331729];return Object[_0x4d8b3c(0x558)](Object[_0x4d8b3c(0x558)]({},_0x1fde25),{'channelSku':_0x4a61b5});}[_0x124ff6(0x42d)](_0x4ea5f7){const _0x62a4d1=_0x124ff6;var _0x4b8f13,_0x48b742;const _0x2f4bb6=this[_0x62a4d1(0x31a)][_0x62a4d1(0x2a2)](),_0xbc191a=_0x3a9f8a[_0x2f4bb6],_0x22cc59=null===(_0x48b742=null===(_0x4b8f13=_0x4ea5f7[_0x62a4d1(0x503)])||void 0x0===_0x4b8f13?void 0x0:_0x4b8f13[_0xbc191a])||void 0x0===_0x48b742?void 0x0:_0x48b742['sku'],_0x443870=this[_0x62a4d1(0x31a)][_0x62a4d1(0x451)](_0x22cc59);if(_0x443870)return _0x443870[_0x62a4d1(0x32c)];this['logger']['warn']('[shop]\x20No\x20IAP\x20product\x20found\x20for\x20sku\x20'+_0x4ea5f7[_0x62a4d1(0x207)]+'/'+_0x22cc59+_0x62a4d1(0x3d3)+_0x2f4bb6);}}const _0x2845c1=_0x124ff6(0x31a),_0x3bd0ae={'_id':'','gameId':'','currencies':[],'modules':[],'metadata':{},'defaultShopfrontId':''},_0x3a9f8a={'fbi-iap-provider':_0x124ff6(0x34b),'discord':'discord','google-play-iap-provider':_0x124ff6(0x34b),'ios-iap-provider':_0x124ff6(0x34b),'samsung-galaxy-iap-provider':_0x124ff6(0x34b),'samsung_instant_play':_0x124ff6(0x34b)};function _0x5a0019(_0x32cc72){const _0x394452=_0x124ff6;return _0x53d426(_0x32cc72,[_0x394452(0x3dd),_0x394452(0x18a),_0x394452(0x32a),_0x394452(0x20f)],_0x1acde8=>_0x1acde8&&new Date(_0x1acde8));}function _0x53d426(_0x2f8cac,_0x11fcd5,_0x2aa1c8){const _0x2bbb5d=_0x124ff6;if('object'!=typeof _0x2f8cac||null===_0x2f8cac)return _0x2f8cac;if(Array[_0x2bbb5d(0x40e)](_0x2f8cac))return _0x2f8cac['map'](_0x5a10f3=>_0x53d426(_0x5a10f3,_0x11fcd5,_0x2aa1c8));const _0x16306b={};for(const [_0x2b8453,_0x10d2a4]of Object[_0x2bbb5d(0x48a)](_0x2f8cac))_0x16306b[_0x2b8453]=_0x11fcd5[_0x2bbb5d(0x36b)](_0x2b8453)?_0x2aa1c8(_0x10d2a4):_0x53d426(_0x10d2a4,_0x11fcd5,_0x2aa1c8);return _0x16306b;}class _0x263f24{constructor(){this['isShieldEnabled']=!0x1;}[_0x124ff6(0x2c8)](_0x149530,_0x55126a){const _0x514ed4=_0x124ff6;this[_0x514ed4(0x46c)]=_0x149530,this[_0x514ed4(0x43c)]=_0x55126a;}[_0x124ff6(0x2ee)](_0xdebb5b,_0x3a8693,_0x3b88b6,_0x57c0ad,_0x4ccbff){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x27bb0a=_0x19d1;var _0x41a4c5,_0x4ae0b3,_0xdada1e,_0x5d09ac;if(!this[_0x27bb0a(0x46c)])return null===(_0x41a4c5=this['logger'])||void 0x0===_0x41a4c5||_0x41a4c5['warn']('Shield\x20is\x20not\x20enabled\x20in\x20this\x20environment'),null;if(_0x27bb0a(0x247)==typeof window||void 0x0===window[_0x27bb0a(0x45d)])return null===(_0x4ae0b3=this[_0x27bb0a(0x43c)])||void 0x0===_0x4ae0b3||_0x4ae0b3[_0x27bb0a(0x1a9)](_0x27bb0a(0xea)),null;try{const _0x1549e7=this[_0x27bb0a(0x470)]();return _0x1549e7&&_0x1549e7[_0x27bb0a(0xc9)]?_0x1549e7[_0x27bb0a(0xc9)]({'xmlPath':_0xdebb5b,'cssPath':_0x3a8693,'container':_0x3b88b6,'style':_0x57c0ad,'params':_0x4ccbff,'logger':this[_0x27bb0a(0x43c)]}):(null===(_0xdada1e=this[_0x27bb0a(0x43c)])||void 0x0===_0xdada1e||_0xdada1e[_0x27bb0a(0x1a9)](_0x27bb0a(0x1b7)),null);}catch(_0x5d951e){return null===(_0x5d09ac=this[_0x27bb0a(0x43c)])||void 0x0===_0x5d09ac||_0x5d09ac['warn'](_0x27bb0a(0x546),_0x5d951e),null;}});}[_0x124ff6(0x1dd)](){const _0x36a026=_0x124ff6;try{const _0x38b101=this[_0x36a026(0x470)]();return!(!_0x38b101||!_0x38b101[_0x36a026(0x1dd)])&&_0x38b101[_0x36a026(0x1dd)]();}catch(_0x38578a){return this[_0x36a026(0x43c)]['warn'](_0x36a026(0x546),_0x38578a),!0x1;}}[_0x124ff6(0x470)](){return window['FRVRFBIChannel']||null;}}class _0x253d99{constructor(){const _0x379555=_0x124ff6;this['lifecycle']=Object[_0x379555(0x558)]({},_0x177d69),this[_0x379555(0x461)]={},this['shield']=new _0x263f24();}[_0x124ff6(0x14e)](_0x2dfc76){const _0x37273e=_0x124ff6;if(this[_0x37273e(0x1b6)]){if(this[_0x37273e(0x2f2)])return void this['logger'][_0x37273e(0x4ad)](_0x37273e(0x11a));this[_0x37273e(0x43c)][_0x37273e(0x1a9)](_0x37273e(0x1db));}this[_0x37273e(0x1b6)]=_0x2dfc76;}[_0x124ff6(0x1d6)](_0x3a0b3a=_0x1442cc['Env'][_0x124ff6(0x1d2)]){const _0x4c0267=_0x124ff6;var _0x2c0457;return this[_0x4c0267(0x1b6)]=function(..._0x546308){const _0x390efc=_0x4c0267,_0x318c9b={},_0xeca276=_0x546308[_0x390efc(0x293)](_0x4f48a6=>_0x4f48a6)[_0x390efc(0x3f6)](_0x38d1bc);return Object['assign'](_0x318c9b,..._0xeca276),_0x318c9b;}(new _0x5b4e76(),this[_0x4c0267(0x1b6)]),null===(_0x2c0457=this[_0x4c0267(0x43c)])||void 0x0===_0x2c0457||_0x2c0457[_0x4c0267(0xf4)](_0x4c0267(0x1b5),this[_0x4c0267(0x461)]),this[_0x4c0267(0x1b6)][_0x4c0267(0x4ce)](this[_0x4c0267(0x461)]),this['buildComponents'](_0x3a0b3a),this['initPromise']=this['channel'][_0x4c0267(0x1d6)]()[_0x4c0267(0x4f2)](()=>this[_0x4c0267(0x3c2)]())[_0x4c0267(0x4f2)](()=>this[_0x4c0267(0x28f)](_0x3a0b3a)),this[_0x4c0267(0x2f2)];}[_0x124ff6(0x116)](_0x5032fb){const _0xa39fec=_0x124ff6;var _0x2ac1b8,_0x211f0f,_0x3adbac,_0x490aa8,_0x4987c0,_0x53bc5c,_0x3b8569,_0x2a4482,_0x4a9666,_0x36a35c,_0x3dd326,_0x775965,_0x494f7e,_0x11b47d,_0x28de4c,_0x1867fa,_0x15ef07,_0x181a69;this[_0xa39fec(0x43c)]||(this['logger']=_0x5032fb===_0x1442cc[_0xa39fec(0x1d4)][_0xa39fec(0x3f8)]&&_0x3cdeb2||this[_0xa39fec(0x1b6)]['getLogger']()),this['channel'][_0xa39fec(0x217)](this),this['logger']['debug']('[FRVR-SDK]\x20building\x20components'),this['entrypoint']=this[_0xa39fec(0x1b6)][_0xa39fec(0x34c)](),this[_0xa39fec(0x467)]||(this[_0xa39fec(0x467)]=new _0x14cacd({'provider':this[_0xa39fec(0x1b6)][_0xa39fec(0x35e)](this[_0xa39fec(0x461)][_0xa39fec(0x250)]),'logger':this[_0xa39fec(0x43c)]})),this[_0xa39fec(0x1b6)]['onModulesUpdated'](this),this['consentProvider']=this[_0xa39fec(0x1b6)]['getConsentProvider'](),this[_0xa39fec(0x223)]||(this['tracker']=new _0xf19886({'storage':this['localStorage'],'logger':this[_0xa39fec(0x43c)],'analyticsProviders':this[_0xa39fec(0x1b6)]['getAnalyticsProviders']((null===(_0x2ac1b8=this['config'][_0xa39fec(0x223)])||void 0x0===_0x2ac1b8?void 0x0:_0x2ac1b8[_0xa39fec(0x19f)])||{},_0x5032fb),'idProvider':this[_0xa39fec(0x1b6)]['getAnalyticsIDProvider'](this[_0xa39fec(0x467)]),'contextProvider':this[_0xa39fec(0x1b6)][_0xa39fec(0x1b2)]((null===(_0x211f0f=this['config'][_0xa39fec(0x223)])||void 0x0===_0x211f0f?void 0x0:_0x211f0f['trackerChannelId'])||(null===(_0x3adbac=this['channel'])||void 0x0===_0x3adbac?void 0x0:_0x3adbac[_0xa39fec(0x4bc)]())),'consentProvider':this[_0xa39fec(0x1a3)],'appContextFields':{'context':(null===(_0x490aa8=this['config'][_0xa39fec(0x223)])||void 0x0===_0x490aa8?void 0x0:_0x490aa8['gameId'])||this[_0xa39fec(0x461)][_0xa39fec(0x205)],'app_version':null===(_0x4987c0=this[_0xa39fec(0x461)][_0xa39fec(0x223)])||void 0x0===_0x4987c0?void 0x0:_0x4987c0[_0xa39fec(0x2ca)],'app_build':null===(_0x53bc5c=this['config']['tracker'])||void 0x0===_0x53bc5c?void 0x0:_0x53bc5c['appBuild']}})),this[_0xa39fec(0x1b6)][_0xa39fec(0x217)](this),this[_0xa39fec(0x4ac)]||(this['ads']=new _0x3de74a({'env':_0x5032fb,'logger':this['logger'],'storage':this[_0xa39fec(0x467)],'tracker':this[_0xa39fec(0x223)],'controls':this['lifecycle'],'onBeforeInit':()=>this['registerAdsProviders']()})),this[_0xa39fec(0x49e)]||(this[_0xa39fec(0x49e)]=new _0x5c7220({'logger':this[_0xa39fec(0x43c)],'provider':this[_0xa39fec(0x1b6)]['getNotificationsProvider'](),'tracker':this[_0xa39fec(0x223)]})),this[_0xa39fec(0x46f)]||(this[_0xa39fec(0x46f)]=new _0x26bbfb(this[_0xa39fec(0x1b6)][_0xa39fec(0x57a)](),()=>this[_0xa39fec(0x25a)](_0x5032fb),()=>this[_0xa39fec(0x522)](),()=>this[_0xa39fec(0x362)](),this[_0xa39fec(0x1a3)])),this[_0xa39fec(0x4e2)]||(this[_0xa39fec(0x4e2)]=new _0x113807(this[_0xa39fec(0x1b6)][_0xa39fec(0x209)]())),this[_0xa39fec(0x2b6)]||(this['crossplay']=this[_0xa39fec(0x1b6)][_0xa39fec(0x1a5)](this[_0xa39fec(0x223)])),this[_0xa39fec(0x46a)]||(this[_0xa39fec(0x46a)]=this[_0xa39fec(0x1b6)][_0xa39fec(0x368)]()),this[_0xa39fec(0x189)]||(this[_0xa39fec(0x189)]=new _0x32bac9({'providers':this[_0xa39fec(0x1b6)][_0xa39fec(0x3c7)](this[_0xa39fec(0x461)]['gameId'],this[_0xa39fec(0x461)][_0xa39fec(0x189)]),'storage':this['localStorage'],'env':_0x5032fb,'config':this[_0xa39fec(0x461)][_0xa39fec(0x189)],'logger':this['logger']})),this['channel'][_0xa39fec(0x217)](this),this[_0xa39fec(0x31a)]||(this[_0xa39fec(0x31a)]=new _0x322ec3({'provider':this['channel'][_0xa39fec(0x507)](new _0x46d3e9({'env':_0x5032fb,'auth':this['auth'],'channelId':null===(_0x3b8569=this['channel'])||void 0x0===_0x3b8569?void 0x0:_0x3b8569[_0xa39fec(0x4bc)](),'gameId':this['config'][_0xa39fec(0x205)],'apiHostOverride':null===(_0x2a4482=this[_0xa39fec(0x461)][_0xa39fec(0x31a)])||void 0x0===_0x2a4482?void 0x0:_0x2a4482[_0xa39fec(0x576)]})),'tracker':this[_0xa39fec(0x223)],'logger':this[_0xa39fec(0x43c)]}));const _0x40cfdc=Object[_0xa39fec(0x558)](Object[_0xa39fec(0x558)]({},this[_0xa39fec(0x461)][_0xa39fec(0x44a)]),{'gameId':null!==(_0x36a35c=null===(_0x4a9666=this[_0xa39fec(0x461)][_0xa39fec(0x44a)])||void 0x0===_0x4a9666?void 0x0:_0x4a9666[_0xa39fec(0x205)])&&void 0x0!==_0x36a35c?_0x36a35c:this[_0xa39fec(0x461)][_0xa39fec(0x205)]}),_0x265f43=this[_0xa39fec(0x2dc)][_0xa39fec(0x31c)]?this[_0xa39fec(0x2dc)]:void 0x0,_0x4e8b5a=new _0x52c874(_0x265f43,this[_0xa39fec(0x467)]);this[_0xa39fec(0x44a)]||(this[_0xa39fec(0x44a)]=new _0x5cee99({'logger':this[_0xa39fec(0x43c)],'auth':this[_0xa39fec(0x189)],'tracker':this[_0xa39fec(0x223)],'debugProvider':_0x4e8b5a,'localStorage':this['localStorage'],'remoteABTests':new _0x545b9d(this[_0xa39fec(0x223)]),'config':_0x40cfdc,'channelId':null===(_0x3dd326=this['channel'])||void 0x0===_0x3dd326?void 0x0:_0x3dd326['getId']()}));const _0x1167e2=Object[_0xa39fec(0x558)](Object[_0xa39fec(0x558)]({'env':_0x5032fb},this[_0xa39fec(0x461)][_0xa39fec(0x577)]),{'gameId':null!==(_0x494f7e=null===(_0x775965=this[_0xa39fec(0x461)]['social'])||void 0x0===_0x775965?void 0x0:_0x775965[_0xa39fec(0x205)])&&void 0x0!==_0x494f7e?_0x494f7e:this['config'][_0xa39fec(0x205)]});this[_0xa39fec(0x577)]||(this[_0xa39fec(0x577)]=new _0x223dad(_0x1167e2,{'logger':this[_0xa39fec(0x43c)],'provider':this[_0xa39fec(0x1b6)][_0xa39fec(0x3b2)](),'auth':this[_0xa39fec(0x189)]})),this[_0xa39fec(0x3bd)]||(this[_0xa39fec(0x3bd)]=new _0x178e75({'logger':this[_0xa39fec(0x43c)],'provider':this['channel'][_0xa39fec(0x582)](),'auth':this['auth']})),this[_0xa39fec(0x47d)]||(this[_0xa39fec(0x47d)]=new _0x57a326({'logger':this['logger'],'provider':this[_0xa39fec(0x1b6)]['getTournamentsProvider'](),'auth':this[_0xa39fec(0x189)]})),this[_0xa39fec(0x14a)]=new _0x2c97bf({'logger':this[_0xa39fec(0x43c)],'provider':this[_0xa39fec(0x1b6)][_0xa39fec(0x4a7)]()}),this['leaderboards']=new _0x38fbe8({'provider':this[_0xa39fec(0x1b6)][_0xa39fec(0x42a)]()}),this[_0xa39fec(0x4d4)]||(this[_0xa39fec(0x4d4)]=this['channel'][_0xa39fec(0x335)]()),this[_0xa39fec(0x4a3)]||(this[_0xa39fec(0x4a3)]=this[_0xa39fec(0x1b6)][_0xa39fec(0x12f)]()),this['community']||(this['community']=this['channel'][_0xa39fec(0x37b)]());const _0x4613fc=Object[_0xa39fec(0x558)](Object[_0xa39fec(0x558)]({},this[_0xa39fec(0x461)]['navigation']),{'gameId':null!==(_0x28de4c=null===(_0x11b47d=this[_0xa39fec(0x461)][_0xa39fec(0x4b6)])||void 0x0===_0x11b47d?void 0x0:_0x11b47d['gameId'])&&void 0x0!==_0x28de4c?_0x28de4c:this[_0xa39fec(0x461)][_0xa39fec(0x205)]});this[_0xa39fec(0x4b6)]||(this[_0xa39fec(0x4b6)]=this[_0xa39fec(0x1b6)][_0xa39fec(0x277)](_0x4613fc)),this[_0xa39fec(0x496)]||(this[_0xa39fec(0x496)]=new _0x45c56e({'apiUrl':null===(_0x1867fa=this[_0xa39fec(0x461)][_0xa39fec(0x496)])||void 0x0===_0x1867fa?void 0x0:_0x1867fa[_0xa39fec(0x4b4)],'accessProvider':this[_0xa39fec(0x189)],'gameId':null!==(_0x181a69=null===(_0x15ef07=this[_0xa39fec(0x461)][_0xa39fec(0x496)])||void 0x0===_0x15ef07?void 0x0:_0x15ef07[_0xa39fec(0x205)])&&void 0x0!==_0x181a69?_0x181a69:this[_0xa39fec(0x461)]['gameId'],'logger':this[_0xa39fec(0x43c)],'iap':this[_0xa39fec(0x31a)]}));const _0x11f3cf=this['channel'][_0xa39fec(0x342)];_0x11f3cf&&(this[_0xa39fec(0x4c4)]=new _0x2ce64d(_0x11f3cf()));const _0x5e9d6d=this[_0xa39fec(0x461)][_0xa39fec(0xee)];this[_0xa39fec(0xee)][_0xa39fec(0x2c8)](!!_0x5e9d6d,this[_0xa39fec(0x43c)]);}[_0x124ff6(0x3c2)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x55b113=_0x19d1;var _0x2596d7,_0x532ae2;yield this[_0x55b113(0x223)]['init'](),(null===(_0x532ae2=(_0x2596d7=this[_0x55b113(0x1b6)])['getSkippedAnalyticsEvents'])||void 0x0===_0x532ae2?void 0x0:_0x532ae2[_0x55b113(0x512)](_0x2596d7)[_0x55b113(0x517)](_0x55b113(0x218)))||this[_0x55b113(0x223)][_0x55b113(0x44c)](_0x55b113(0x218),{});});}[_0x124ff6(0x28f)](_0x51396b){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x1028ca=_0x19d1;this[_0x1028ca(0x43c)][_0x1028ca(0x190)](_0x1028ca(0xc6)),this['addDefaultListeners'](_0x51396b),yield this['configAds'](_0x51396b),this[_0x1028ca(0x461)][_0x1028ca(0x205)]?(this[_0x1028ca(0x49e)][_0x1028ca(0x159)]({'game':this[_0x1028ca(0x461)]['gameId']}),this[_0x1028ca(0x47d)][_0x1028ca(0x1d6)](this[_0x1028ca(0x461)][_0x1028ca(0x205)],_0x51396b),this[_0x1028ca(0x449)][_0x1028ca(0x1d6)](this[_0x1028ca(0x461)][_0x1028ca(0x205)],_0x51396b)):this['logger']['error']('[FRVR-SDK]\x20Missing\x20game\x27s\x20name\x20in\x20configuration'),this[_0x1028ca(0x2b6)][_0x1028ca(0x392)]()&&(this[_0x1028ca(0x461)]['crossplay']?this[_0x1028ca(0x2b6)]['configure'](this[_0x1028ca(0x461)][_0x1028ca(0x2b6)]):this['logger']['error'](_0x1028ca(0x206)));});}['postInit'](_0x2022ef){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x176e77=_0x19d1;var _0x2bdac9,_0x6060b3;this[_0x176e77(0x43c)]['debug'](_0x176e77(0x45b)),yield this[_0x176e77(0x2f2)];const _0x25c1ac=null===(_0x6060b3=null===(_0x2bdac9=this[_0x176e77(0x461)][_0x176e77(0x4ac)])||void 0x0===_0x2bdac9?void 0x0:_0x2bdac9[_0x176e77(0x499)])||void 0x0===_0x6060b3||_0x6060b3;yield Promise[_0x176e77(0x150)]([((()=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x225658=_0x176e77;let _0x1c4bba;try{_0x1c4bba=yield this['channel'][_0x225658(0x381)](this[_0x225658(0x461)]['cloudStorage'],_0x2022ef);}catch(_0x3aec24){this[_0x225658(0x43c)][_0x225658(0x4ad)](_0x225658(0x2a1),_0x3aec24);}this[_0x225658(0x1a1)]=new _0x26bf4d({'provider':_0x1c4bba||new _0x3f9007(),'logger':this[_0x225658(0x43c)]});}))()),_0x25c1ac&&this['ads'][_0x176e77(0x1d6)](),((()=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x118eee=_0x176e77;yield this['iap'][_0x118eee(0x1d6)](),yield this[_0x118eee(0x31a)][_0x118eee(0x159)](this[_0x118eee(0x461)][_0x118eee(0x31a)]);}))()),this[_0x176e77(0x4e2)][_0x176e77(0x1d6)](),this[_0x176e77(0x49e)][_0x176e77(0x1d6)](),this[_0x176e77(0x189)][_0x176e77(0x1d6)](),this[_0x176e77(0x44a)][_0x176e77(0x1d6)](),((()=>_0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x4a165b=_0x176e77;this[_0x4a165b(0x461)]['gameId']?yield this[_0x4a165b(0x14a)][_0x4a165b(0x1d6)](this[_0x4a165b(0x461)]['gameId'],this['entrypoint'],_0x2022ef):this[_0x4a165b(0x43c)]['error'](_0x4a165b(0x245));}))())]);});}['preComplete'](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0xf664e=_0x19d1;var _0x2a64ac,_0x2cd55c;this[_0xf664e(0x43c)][_0xf664e(0x190)](_0xf664e(0x29d)),(null===(_0x2cd55c=(_0x2a64ac=this[_0xf664e(0x1b6)])[_0xf664e(0x2e2)])||void 0x0===_0x2cd55c?void 0x0:_0x2cd55c[_0xf664e(0x512)](_0x2a64ac)[_0xf664e(0x517)]('game_loaded'))||this[_0xf664e(0x223)][_0xf664e(0x253)]();});}[_0x124ff6(0x362)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x545c73=_0x19d1;var _0x55d4fe,_0x5049bc;this[_0x545c73(0x43c)][_0x545c73(0x190)](_0x545c73(0x2f4)),(null===(_0x5049bc=(_0x55d4fe=this[_0x545c73(0x1b6)])[_0x545c73(0x2e2)])||void 0x0===_0x5049bc?void 0x0:_0x5049bc[_0x545c73(0x512)](_0x55d4fe)['has'](_0x545c73(0x338)))||this['tracker'][_0x545c73(0x44c)](_0x545c73(0x338),{});});}[_0x124ff6(0x36f)](_0x1760b4){const _0x1b7107=_0x124ff6;this[_0x1b7107(0x43c)][_0x1b7107(0x190)]('[FRVR-SDK]\x20adding\x20default\x20listeners'),_0x1b7107(0x247)!=typeof window&&_0x35d35a(this['lifecycle']),_0x1760b4===_0x1442cc[_0x1b7107(0x1d4)]['DEVELOPMENT']&&_0x195a0f(this['lifecycle']);}['configAds'](_0x3fb110){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x10de7b=_0x19d1;var _0xfe412f,_0x452c96,_0x5cc9cd;this[_0x10de7b(0x43c)][_0x10de7b(0x190)](_0x10de7b(0x222));const _0x22e3d9=null===(_0xfe412f=this[_0x10de7b(0x461)][_0x10de7b(0x4ac)])||void 0x0===_0xfe412f?void 0x0:_0xfe412f[_0x10de7b(0x499)],_0x1a589e=yield null===(_0x5cc9cd=(_0x452c96=this['channel'])['getAdsConfig'])||void 0x0===_0x5cc9cd?void 0x0:_0x5cc9cd[_0x10de7b(0x512)](_0x452c96,this[_0x10de7b(0x461)][_0x10de7b(0x4ac)]);_0x1a589e&&(this['config']['ads']=Object[_0x10de7b(0x558)](Object[_0x10de7b(0x558)]({},_0x1a589e),{'autoInit':_0x22e3d9})),this[_0x10de7b(0x461)][_0x10de7b(0x4ac)]&&(this[_0x10de7b(0x43c)][_0x10de7b(0x190)](_0x10de7b(0x2b7)),this[_0x10de7b(0x4ac)][_0x10de7b(0x159)](this[_0x10de7b(0x461)][_0x10de7b(0x4ac)])),_0x3fb110!==_0x1442cc[_0x10de7b(0x1d4)][_0x10de7b(0x1d2)]||this[_0x10de7b(0x461)][_0x10de7b(0x4ac)]||(this[_0x10de7b(0x43c)][_0x10de7b(0x190)](_0x10de7b(0x254)),this['ads'][_0x10de7b(0x159)](_0x23b0ed));});}[_0x124ff6(0x57b)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x279cb0=_0x19d1;var _0xa10e96;this[_0x279cb0(0x43c)]['debug'](_0x279cb0(0xd1));const _0x461f9e=this[_0x279cb0(0x1b6)][_0x279cb0(0x3c1)](null!==(_0xa10e96=this[_0x279cb0(0x461)][_0x279cb0(0x4ac)])&&void 0x0!==_0xa10e96?_0xa10e96:{});for(const _0x568255 of _0x461f9e)this['ads'][_0x279cb0(0x275)](_0x568255);});}}return window[_0x124ff6(0x45d)]=new _0x253d99(),_0x1442cc[_0x124ff6(0x4e0)]=_0x3d0436,_0x1442cc['AdTracker']=_0x1f2687,_0x1442cc[_0x124ff6(0x2ef)]=_0x2d7564,_0x1442cc[_0x124ff6(0x3ad)]=_0x3de74a,_0x1442cc[_0x124ff6(0x23d)]=_0x464160,_0x1442cc[_0x124ff6(0x4c2)]=_0x14cacd,_0x1442cc[_0x124ff6(0x3b8)]=_0x32bac9,_0x1442cc['DEFAULT_ADS_CONFIG']=_0x23b0ed,_0x1442cc[_0x124ff6(0x1ac)]=_0x401402,_0x1442cc[_0x124ff6(0x437)]=class{constructor({legacyAnalytics:_0x5718d9,disableSendBeacon:_0xa92f2}={}){this['legacyAnalytics']=null!=_0x5718d9?_0x5718d9:_0x30bcd0(void 0x0,_0xa92f2);}[_0x124ff6(0x1d6)](_0x165b46,_0x4f7faa){const _0x2164f7=_0x124ff6;return this['legacyAnalytics'][_0x2164f7(0x1d6)](_0x165b46,_0x4f7faa);}[_0x124ff6(0x1bb)](){const _0x2d97dd=_0x124ff6;return this[_0x2d97dd(0x162)][_0x2d97dd(0x1bb)]();}[_0x124ff6(0x4d9)](_0x4ff9a8,_0x22ec78,_0x18941c,_0x53f63b){const _0x42dfbc=_0x124ff6;this[_0x42dfbc(0x162)]['send'](_0x4ff9a8,_0x22ec78,_0x18941c,_0x53f63b);}},_0x1442cc['FRVRSDK']=_0x253d99,_0x1442cc[_0x124ff6(0x271)]=_0x322ec3,_0x1442cc[_0x124ff6(0x46e)]=_0x53e3c8,_0x1442cc[_0x124ff6(0x2fc)]=_0x2f1b9a,_0x1442cc[_0x124ff6(0x3d6)]=_0x4ee018,_0x1442cc[_0x124ff6(0x423)]=_0x1d46d4,_0x1442cc[_0x124ff6(0x1d1)]=_0x46d3e9,_0x1442cc['IsReadyStateManager']=class{constructor(_0x51fcfb,_0x2ad223){const _0x139132=_0x124ff6;this[_0x139132(0x353)]={},this[_0x139132(0x2f1)]=!0x1,this[_0x139132(0x2d8)]=_0x51fcfb,this[_0x139132(0x248)]=_0x2ad223;for(const _0x287be2 of this[_0x139132(0x2d8)])this['states'][_0x287be2]=!0x1;this['updateIsReady']();}['updateIsReady'](){const _0x1ce8b3=_0x124ff6,_0x41044d=this[_0x1ce8b3(0x2f1)];this[_0x1ce8b3(0x2f1)]=this['requiredStates'][_0x1ce8b3(0x1c3)](_0x3c7743=>this[_0x1ce8b3(0x353)][_0x3c7743]),_0x41044d!=this[_0x1ce8b3(0x2f1)]&&this[_0x1ce8b3(0x248)](this[_0x1ce8b3(0x2f1)]);}[_0x124ff6(0x1a2)](_0xab2684,_0x6895c8){const _0x403167=_0x124ff6;this[_0x403167(0x353)][_0xab2684]=_0x6895c8,this[_0x403167(0x56e)]();}[_0x124ff6(0x15b)](_0x24ac35){const _0x25b28b=_0x124ff6;return this[_0x25b28b(0x353)][_0x24ac35];}get[_0x124ff6(0x531)](){const _0x2de136=_0x124ff6;return this[_0x2de136(0x2f1)];}},_0x1442cc[_0x124ff6(0x518)]=0x3c,_0x1442cc[_0x124ff6(0x34d)]=0x1e,_0x1442cc[_0x124ff6(0x38e)]=_0x3f9007,_0x1442cc['Notifications']=_0x5c7220,_0x1442cc[_0x124ff6(0x13f)]=0.6,_0x1442cc[_0x124ff6(0x421)]=_0x1e6b0e,_0x1442cc[_0x124ff6(0x363)]=_0x165d19,_0x1442cc[_0x124ff6(0x2e8)]=_0x493dd7,_0x1442cc['Shield']=_0x263f24,_0x1442cc[_0x124ff6(0x28b)]=class extends _0x1051cc{[_0x124ff6(0x33e)](){const _0x57e0c9=_0x124ff6;this[_0x57e0c9(0x18b)]=!0x1;}},_0x1442cc['TcfV2ConsentProvider']=_0x5696c2,_0x1442cc[_0x124ff6(0x435)]=_0x18f6e2,_0x1442cc[_0x124ff6(0x434)]=_0x5ecc8d,_0x1442cc[_0x124ff6(0xfd)]=_0xf19886,_0x1442cc[_0x124ff6(0x367)]=class{[_0x124ff6(0x541)](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){return this['getEntryPointData']();});}[_0x124ff6(0x31c)](_0x2fe3a1){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0x33ab5d=_0x19d1;var _0x15d551,_0x4a85c4;return null!==(_0x4a85c4=null===(_0x15d551=this[_0x33ab5d(0x260)]())||void 0x0===_0x15d551?void 0x0:_0x15d551[_0x2fe3a1])&&void 0x0!==_0x4a85c4?_0x4a85c4:void 0x0;});}['getName'](){return _0x2e1bf5(this,void 0x0,void 0x0,function*(){const _0xaa5084=_0x19d1;return this[_0xaa5084(0x31c)]('name');});}['getEntryPointData'](){const _0x132314=_0x124ff6;if(this['entrypointData'])return this[_0x132314(0xf9)];try{this[_0x132314(0xf9)]=Object[_0x132314(0x547)](new URLSearchParams(window[_0x132314(0x32f)][_0x132314(0x12e)]));}catch(_0xd250b5){this[_0x132314(0xf9)]={};}return this[_0x132314(0xf9)];}},_0x1442cc['WebIDProvider']=_0x1051cc,_0x1442cc[_0x124ff6(0x49d)]=_0x5af9fd,_0x1442cc[_0x124ff6(0x340)]=_0x35d35a,_0x1442cc[_0x124ff6(0x527)]=_0x195a0f,_0x1442cc['buildStorageProvider']=_0x1c4145,_0x1442cc['buildTrackerWebContextProvider']=function(_0xef434a){const _0x5ece4a=_0x124ff6;function _0x23183f(){const _0x54b509=_0x19d1;var _0x140f35,_0x34bd6a,_0x18ab3d,_0x2bb114;return window[_0x54b509(0x53f)]||(null===(_0x34bd6a=null===(_0x140f35=window[_0x54b509(0x19e)])||void 0x0===_0x140f35?void 0x0:_0x140f35['documentElement'])||void 0x0===_0x34bd6a?void 0x0:_0x34bd6a['clientWidth'])||(null===(_0x2bb114=null===(_0x18ab3d=window[_0x54b509(0x19e)])||void 0x0===_0x18ab3d?void 0x0:_0x18ab3d[_0x54b509(0x1fc)])||void 0x0===_0x2bb114?void 0x0:_0x2bb114[_0x54b509(0x563)]);}function _0x5603c2(){const _0x5828f5=_0x19d1;var _0x4351ab,_0x4a016e,_0x473d7c,_0x50bc51;return window[_0x5828f5(0x266)]||(null===(_0x4a016e=null===(_0x4351ab=window[_0x5828f5(0x19e)])||void 0x0===_0x4351ab?void 0x0:_0x4351ab[_0x5828f5(0x4cb)])||void 0x0===_0x4a016e?void 0x0:_0x4a016e['clientHeight'])||(null===(_0x50bc51=null===(_0x473d7c=window[_0x5828f5(0x19e)])||void 0x0===_0x473d7c?void 0x0:_0x473d7c[_0x5828f5(0x1fc)])||void 0x0===_0x50bc51?void 0x0:_0x50bc51['clientHeight']);}const _0x508df4=function(_0xc1c16a){const _0x244c5d=_0x19d1,_0x53959a=_0x5c4fef=>{const _0x5aedfc=_0x19d1,_0x31e5f5=_0xc1c16a[_0x5aedfc(0x2f9)]('^(?:.*'+_0x5c4fef+_0x5aedfc(0x4a0));return null==_0x31e5f5?void 0x0:_0x31e5f5[0x1];};return{'utm_source':_0x53959a(_0x244c5d(0x198)),'utm_medium':_0x53959a(_0x244c5d(0x411)),'utm_campaign':_0x53959a(_0x244c5d(0x34f)),'utm_term':_0x53959a(_0x244c5d(0x297)),'utm_content':_0x53959a(_0x244c5d(0x3bb))};}((function(){const _0x27e86c=_0x19d1;var _0x1bbc89,_0x2d7afa;return((null===(_0x2d7afa=null===(_0x1bbc89=window[_0x27e86c(0x19e)])||void 0x0===_0x1bbc89?void 0x0:_0x1bbc89[_0x27e86c(0x32f)])||void 0x0===_0x2d7afa?void 0x0:_0x2d7afa[_0x27e86c(0x12e)])||'')['replace'](/^\?/,'');}()));return _0x3050fa=>Object[_0x5ece4a(0x558)](Object[_0x5ece4a(0x558)]({},_0x508df4),{'play_session_id':_0x3050fa[_0x5ece4a(0x216)](),'channel':_0xef434a,'device_width':_0x23183f(),'device_height':_0x5603c2()});},_0x1442cc[_0x124ff6(0x4b0)]=_0x25c8d2=>new _0x14cacd({'provider':new _0x5af9fd(),'logger':_0x25c8d2}),_0x1442cc[_0x124ff6(0x4c1)]=_0xc9c5f7,_0x1442cc[_0x124ff6(0x3cd)]=_0x22cc63,_0x1442cc[_0x124ff6(0x315)]=_0x131355,_0x1442cc[_0x124ff6(0x281)]=_0x177d69,_0x1442cc[_0x124ff6(0x459)]=_0x3f5a6c,_0x1442cc['emptyAdLifecycle']=_0x4d91d1,_0x1442cc[_0x124ff6(0x2c4)]=_0x594310,_0x1442cc[_0x124ff6(0x167)]=_0x1dd9ff,_0x1442cc['emptyBootstrapper']=_0x251394,_0x1442cc[_0x124ff6(0x267)]=_0x2b9150,_0x1442cc['emptyCrossplay']=_0x591781,_0x1442cc[_0x124ff6(0x1d0)]=_0x19818f,_0x1442cc[_0x124ff6(0x3a5)]=_0x741788,_0x1442cc['emptyIAPProvider']=_0xfeae77,_0x1442cc[_0x124ff6(0x3eb)]=_0x3cdeb2,_0x1442cc['emptyNavigationProvider']=_0x2c44d8,_0x1442cc[_0x124ff6(0x1ed)]=_0x31ca03,_0x1442cc[_0x124ff6(0x454)]=_0x1b5355,_0x1442cc[_0x124ff6(0x372)]=_0x444f6b,_0x1442cc[_0x124ff6(0x349)]=_0x1eefc5,_0x1442cc[_0x124ff6(0x501)]=_0x310f23,Object[_0x124ff6(0x2f8)](_0x1442cc,_0x124ff6(0x220),{'value':!0x0}),_0x1442cc;}({});FRVRSDK[_0x426f79(0x38b)]=FRVRSDK['version']||{},FRVRSDK[_0x426f79(0x38b)][_0x426f79(0x404)]=FRVRSDK['version'][_0x426f79(0x404)]||{},FRVRSDK[_0x426f79(0x38b)]['sdk']['v']=_0x426f79(0x42e),FRVRSDK[_0x426f79(0x38b)][_0x426f79(0x404)][_0x426f79(0x50f)]=_0x426f79(0x113),FRVRSDK['version'][_0x426f79(0x404)][_0x426f79(0x231)]=_0x426f79(0x4eb),FRVRSDK[_0x426f79(0x38b)][_0x426f79(0x404)]['hash']=_0x426f79(0x54d); //# sourceMappingURL=frvr-sdk.min.js.map