var GET__PLAYER_SETTINGS='/api/v2/player/settings';var GET__TEMPLATES='/templates/all.json';var GET__AUTHPROVIDERS='/api/auth_providers';var GET__INFO_CURRENCIES='/api/info/currencies';var GET__SETTINGS_COUNTRIES_CURRENCIES='/api/v4/settings/countries_currencies';var GET__WINS='/api/v2/wins/%query%';var GET__CMS_FILES='/api/cms/files';var GET__CMS_PAGE='/api/cms/pages/%page%';var GET__CMS_PAGES='/api/cms/pages';var GET__CMS_SNIPPETS='/api/cms/snippets';var GET__BONUSES_DEPOSIT='/api/v2/bonuses/deposit?disable_bonus_code_condition=true&disable_country_condition=false&show_all=true';var GET__SPORTSBOOK_BONUSES_DEPOSIT='/api/v2/bonuses_digitain/deposit?disable_bonus_code_condition=true&disable_country_condition=false&show_all=true';var GET__BONUSES_REGISTRATION='/api/bonuses/registration';var GET__GAMES='/api/games';var GET__GAMES_DEMO='/api/games/demo';var GET__GAMES_ORDER='/api/games/order';var GET__GAMES_JACKPOTS='/api/games/jackpots';var GET__GAMES_PROVIDERS='/api/games/providers';var GET__GAMES_COLLECTIONS='/api/games/collections';var GET__GAMES_RESTRICTIONS='/api/v2/games/restrictions';var GET__TOURNAMENTS='/api/v2/tournaments';var GET__TOURNAMENTS_RECENT='/api/v2/tournaments/recent';var GET__TOURNAMENTS_STATUSES='/api/v2/tournaments/statuses';var GET__LOTTERY='/api/v3/lotteries/%id%';var GET__LOTTERIES='/api/v3/lotteries';var GET__LOTTERIES_RECENT='/api/v3/lotteries/recent';var GET__LOTTERIES_STATUSES='/api/v3/lotteries/statuses';var GET__PLAYER='/api/v2/player';var GET__PLAYER_PHONE='/api/v4/player/phone';var GET__PLAYER_STATS='/api/player/stats';var GET__PLAYER_GAMES='/api/v2/player/games';var GET__PLAYER_SPORT_BETS='/api/v2/player/sport_bets';var GET__PLAYER_AVATAR='/api/player/avatar';var GET__PLAYER_BONUSES='/api/v2/player/bonuses';var GET__PLAYER_BONUSES_DIGITAIN='/api/v2/player/bonuses_digitain';var GET__PLAYER_SESSIONS='/api/player/sessions';var GET__PLAYER_ACCOUNTS='/api/player/accounts';var GET__PLAYER_PAYMENTS='/api/v2/player/payments';var GET__PLAYER_TWOFACTOR='/api/player/two_factor';var GET__PLAYER_DOCUMENTS='/api/v2/player/documents';var GET__PLAYER_FREESPINS='/api/player/freespins';var GET__PLAYER_FAVORITEGAMES='/api/player/favorite_games';var GET__PLAYER_PHONE_CONFIRM_TYPES='/api/v4/player/phone/confirmation_types';var GET__EXCHANGE_RATES='/api/exchange_rates';var GET__HISTORY_OPERATION_CASHWAIT='/api/v2/player/payments?filters[action]=cashout&filters[state]=pending';var GET__PAYMENT_OPTIONS='/api/v3/payment_options?with_last_payment=1';var POST__PAYMENT_METHODS='/api/v4/payment_methods';var GET__PAYMENT_METHODS_LINKS='/api/v4/payment_methods/links';var GET__PAYMENT_METHODS_CARD_NUMBER_CHECK='/api/v3/payment_methods/card_number_check';var GET__PAYMENT_SYSTEMS_EXCHANGE_RATES='/api/v2/payment_systems/%system_id%/exchange_rates';var GET__USERS_UNLOCK='/api/users/unlock?unlock_token=%token%';var GET__USERS_CONFIRMATION='/api/users/confirmation';var GET__IP_INFO='/api/v3/ip_info';var GET__PROFILE_SETTINGS='/api/v4/profile_settings';var GET__AUTH_PROFILE_SETTING='/api/v3/auth_provider_settings';var GET__PLAYER_LAST_GAMES='/api/v2/player/last_games/%device%';var GET__PAYMENTS_AUTO_CASHOUT_ALERTS='/api/v4/payments/auto_cashout_alerts';var POST__USERS='/api/users';var POST__USERS_SIGNIN='/api/users/sign_in';var POST__USERS_UNLOCK='/api/users/unlock';var POST__USERS_CONFIRMATION='/api/users/confirmation';var POST__USERS_GOOGLE='/api/users/google';var POST__PLAYER_PHONE='/api/v4/player/phone';var POST__PLAYER_GROUPS='/api/player/groups';var POST__PLAYER_ACCOUNTS='/api/player/accounts';var POST__PLAYER_TWOFACTOR='/api/player/two_factor';var POST__PLAYER_DOCUMENTS='/api/v2/player/documents';var POST__PLAYER_PHONE_CONFIRM='/api/v4/player/phone/confirm';var POST__PLAYER_PAYMENTS_RECALL='/api/player/payments/%id%/recall';var POST__PLAYER_FREESPINS_ACTIVATION='/api/player/freespins/%id%/activation';var POST__PLAYER_PHONE_SEND_CODE='/api/v4/player/phone/send_code';var POST__PLAYER_DEVICES='/api/v4/player/devices';var POST__BONUSES_COUPON='/api/bonuses/coupon';var POST__AUTHPROVIDERS_CONFIRM='/api/auth_providers/confirm';var POST__AUTHPROVIDERS_UPDATEDETAILS='/api/v2/auth_providers/update_details';var POST__PAYMENTS_DEPOSIT='/api/v4/payments/deposit';var POST__PAYMENTS_CASHOUT='/api/v4/payments/cashout';var GET__BETBY_AUTH_TOKEN='/api/v3/betby/auth_token';var POST__DIGITAIN_KEYS='/api/v3/digitain/tokens';var POST__TOURNAMENTS_CONFIRM='/api/tournaments/%id%/confirm';var POST__SEND_RESET_PASSWORD_INSTRUCTIONS='/api/v4/auth/send_reset_password_instructions';var POST__SEND_NEW_PASSWORD_INSTRUCTIONS='/api/v4/auth/send_new_password_instructions';var POST__GAME_LAUNCHER='/api/game_launcher/%game_mode%/%identifier%';var PUT__PLAYER_ACCOUNTS_CRYPTOWALLETS='/api/v2/player/accounts/%currency%/crypto_wallets';var PATCH__PLAYER='/api/v2/player';var PATCH__PLAYER_BONUSCODE='/api/player/set_bonus_code';var PATCH__PLAYER_UPDATE_BONUS_SETTINGS='/api/player/update_bonus_settings';var PATCH__PLAYER_FAVORITEGAMES='/api/player/favorite_games/%id%';var PATCH__PLAYER_PHONE='/api/v4/player/phone';var PATCH__PLAYER_EMAIL='/api/v4/player/email';var PATCH__PLAYER_DOCUMENTS='/api/v2/player/documents/%id%';var PATCH__USERS='/api/users';var PATCH__USERS_PASSWORD='/api/v2/users/password';var PATCH__USERS_UNLOCK='/api/v2/users/unlock';var PATCH__PAYMENTS_CONFIRM='/api/v2/payments/%id%/confirm';var PATCH__PAYMENT_OPTIONS_DISABLE='/api/v3/payment_options/%id%/disable';var PATCH__CASHOUT_FEES_AGREEMENTS='/api/v4/cashout_fees_agreements';var DELETE__USERS_SIGNOUT='/api/users/sign_out';var DELETE__PLAYER_BONUSES='/api/player/bonuses/%id%';var DELETE__PLAYER_BONUSES_DIGITAIN='/api/v2/player/bonuses_digitain/%id%';var DELETE__PLAYER_SESSIONS='/api/player/sessions/%id%';var DELETE__PLAYER_INACTIVE_SESSIONS='/api/v4/player/sessions/inactive';var DELETE__PLAYER_TWOFACTOR='/api/player/two_factor';var DELETE__PLAYER_DOCUMENTS='/api/player/documents/%id%';var DELETE__PLAYER_BONUSCODE='/api/player/clear_bonus_code';var DELETE__PLAYER_FREESPINS='/api/player/freespins/%id%';var DELETE__PLAYER_FAVORITEGAMES='/api/player/favorite_games/%id%';var DELETE__AUTHPROVIDERS='/api/v2/auth_providers/%id%'; var PRELOADED_DATA={};var REQUIRED_DATA=[window.GET__PLAYER_STATS,window.GET__INFO_CURRENCIES,window.GET__SETTINGS_COUNTRIES_CURRENCIES,window.GET__PLAYER_SETTINGS,window.GET__AUTH_PROFILE_SETTING,window.GET__AUTHPROVIDERS,window.GET__PLAYER,window.GET__IP_INFO,window.GET__PLAYER_PHONE,window.GET__PLAYER_PHONE_CONFIRM_TYPES,window.GET__CMS_SNIPPETS,window.GET__CMS_FILES,window.GET__PLAYER_SESSIONS,window.GET__PLAYER_ACCOUNTS,window.GET__PLAYER_BONUSES,window.GET__PLAYER_BONUSES_DIGITAIN,window.GET__PLAYER_FREESPINS,window.GET__PLAYER_FAVORITEGAMES,window.GET__GAMES_COLLECTIONS,window.GET__GAMES_PROVIDERS,window.GET__GAMES_DEMO,window.GET__GAMES_ORDER,window.GET__GAMES_JACKPOTS,window.GET__TOURNAMENTS,window.GET__TOURNAMENTS_RECENT,window.GET__TOURNAMENTS_STATUSES,window.GET__LOTTERIES,window.GET__LOTTERIES_RECENT,window.GET__LOTTERIES_STATUSES,window.GET__HISTORY_OPERATION_CASHWAIT,window.GET__BONUSES_DEPOSIT,window.GET__SPORTSBOOK_BONUSES_DEPOSIT,window.GET__EXCHANGE_RATES];(function(){var batchMethod='/api/batch-rox';var cacheKey=window.btoa(REQUIRED_DATA.toString());var queryString=REQUIRED_DATA.map(item=>'url[]='+encodeURIComponent(item)).join('&');var isConfirmate=window.location.search.match(new RegExp('confirmation_token=([^&=]+)'));PRELOADED_DATA[cacheKey]=(isConfirmate)?Promise.reject():new Promise(function(res,rej){var xhr=new XMLHttpRequest();xhr.open('GET',batchMethod+'?'+queryString,true);xhr.setRequestHeader('Accept','application/json');xhr.setRequestHeader('Accept-Language','ru-RU,ru');xhr.setRequestHeader('Content-Type','application/json;charset=utf-8');xhr.setRequestHeader('X-Requested-With','XMLHttpRequest');xhr.onload=function(){console.timeEnd('Preload batch duration');window.loadTimer.preload_batch_duration.stop=Date.now();window.loadTimer.preload_batch_duration.result=window.loadTimer.preload_batch_duration.stop-window.loadTimer.preload_batch_duration.start;(this.status>=400&&this.status<600)?rej():res(JSON.parse(this.response));};console.time('Preload batch duration');window.loadTimer.preload_batch_duration.start=Date.now();xhr.send();});}());