const styleVersion = '4.16.4' var isLocal = ~location.href.indexOf('localhost') var OddsDisplayFormat = { DECIMAL: 0, AMERICAN: 1, FRACTIONAL: 2 } var CFG = { brandID: null /* demo */, brandName: '', defaultTheme: 'default-dark-theme', isTBrand: false, oddsDisplayFormat: OddsDisplayFormat.DECIMAL, teamIconPrefix: 'https://sport.inplaynet.tech/teamicons/team_', defaultLang: 'en', defaultCurrency: 'EUR', timezone: null, balanceDecimalPlaces: 2, showMultyHeaderMarkets: false, headerMarketsBlacklist: [ 451 /* asian handicap */, 629 /* live: Halftime - Next goal */ ], showMiddleNav: true, middleNavUrls: [ { name: 'casino', text: 'NAV_CASINO', url: '/casino/casino' }, { name: 'livecasino', text: 'NAV_LIVE_CASINO', url: '/casino/livecasino' }, { name: 'virtual', text: 'NAV_VIRTUAL', url: '/sportsbook/virtual' }, { name: 'esports', text: 'NAV_ESPORTS', url: '/sportsbook/esports' } ], selectMultiplePrematchLeagues: false, showLiveOverview: false, showUpcomingMatchesInsidePrematch: false, showBetslipAsPopup: true, betslipDefaultAmount: 10, betslipSuggestedAmounts: [ 5, 10, 20, 100, 200 ], betslipAddAmount: false, saveCoupon: false, saveCouponUrl: false, enterCouponCodeInPopup: false, showSimulatedBetOption: false, replaceOddWithOnlyOne: false, switchToSingleWhenNotChains: false, showPrematchSlider: true, filterSliderImagesByTheme: false, prematchSliderWithSwiper: false, fullSystemFeatures: true, newSystemStyle: false, showLiveSearch: true, showUpcomingMatchesByDefault: false, dateFormat: 'dd/MM HH:mm', dateFormatWithSec: 'dd/MM HH:mm:ss', showThreePlusOnePromo: false, showThreePlusOnePromoInfoButton: false, showLiveStreamOfAllKind: true, liveStreamHidden: false, liveStreamNeedsAuth: true, liveStreamNeedsBalance: false, modifiedMarketCategories: false, showAcceptChangesOnTop: true, showOnlySelectedOddCount: false, appendAdditionalScripts: false, showExtendedFooter: false, showBetBuilderPriceWithBullets: false, RTL: !!GetParameterByName('rtl'), showFavMatchesInFooter: false, showFreebetsTabInBetslip: false, showVirtualFilters: false } var SB_CFG = { sportservicePath: '/api/game/p/messagetosport', mqttOptions: { // hostname: 'analytics-fe1.googleserv.tech', // hostname: 'sportadmin99.upgaming.tech', hostname: 'wss-eu-uk1.ws-amazon.com', port: 443, useSSL: true }, overUnderReversed: false, totalsWithoutExactOutcomes: false, blockedSports: [], blockedRegions: [], blockedLeagues: [], ticketBonusPercents: null, ticketBonusPercentLeagues: null, ticketBonusPercentMinCoef: null, ticketBonusPercentMinBetByCurrency: null, showPriceInfoBtn: false, hasCustomMenuIcons: false } function GetParameterByName (name, url) { if (!url) url = window.location.href name = name.replace(/[\[\]]/g, '\\$&') var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)') var results = regex.exec(url) if (!results) return null if (!results[2]) return '' return decodeURIComponent(results[2].replace(/\+/g, ' ')) } function GetBrandName () { var brandName = GetParameterByName('c') if (brandName) return brandName var hostName = location.hostname.replace('-', '') if (~location.href.indexOf('inplaynet')) { if (hostName == 'demo.inplaynet.com') return 'demo' hostName = hostName.split('.')[0] } else { let firstDotIndex = hostName.indexOf('.'), lastDotIndex = hostName.lastIndexOf('.') if (firstDotIndex == lastDotIndex) { hostName = hostName.split('.')[0] } else { hostName = hostName.slice(firstDotIndex + 1, lastDotIndex) } } if (CFG.isTBrand || CFG.brandID == 47 || CFG.brandID == 14 || CFG.brandID == 92) { hostName = hostName.replace(/[0-9]+$/g, '') } if (CFG.brandID == 66) { hostName = 'rollettotr' } if (CFG.brandID == 73) { hostName = 'goldenbet' } if (CFG.brandID == 16) { hostName = 'cbet' } if (CFG.brandID == 71) { hostName = 'casino777' } if (CFG.brandID == 53) { hostName = 'betpriz' } if (CFG.brandID == 203) { hostName = 'balibet' } if (CFG.brandID == 28) { hostName = 'mystake' } if (CFG.brandID == 40) { hostName = 'locasbet' } if (CFG.brandID == 72) { hostName = 'flexbet' } if (CFG.brandID == 52) { hostName = 'freshbet' } if (CFG.brandID == 225) { hostName = 'bruxo10' } if (CFG.brandID == 21) { hostName = '31bet' } if (CFG.brandID == 263) { hostName = 'srilanka' } if (CFG.brandID == 215) { hostName = 'royalfortune' } return hostName } void function SetConfig () { var brandID = GetParameterByName('brand') if (brandID) { CFG.brandID = Number(brandID) } var gmhbBrBrands = [ 218, 219, 220, 221, 225, 227, 228, 231, 232, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 248, 249, 252, 257, 258, 290, 299, 307 ] if (!brandID) { Object.assign(CFG, { betslipSuggestedAmounts: [ 1000, 5000, 50000, 100000, 500000 ], betslipAddAmount: true }) Object.assign(SB_CFG, { serverAddress: 'https://sportservicetest.inplaynet.tech', overUnderReversed: true }) } else if (brandID == 8) { // demo Object.assign(CFG, { showLiveStreamOfAllKind: false, fullSystemFeatures: false, showBetslipAsPopup: false }) } else if (brandID == 14) { // spssn Object.assign(CFG, { showFavMatchesInFooter: true }) } else if (brandID == 28) { // mst Object.assign(CFG, { fullSystemFeatures: false, showThreePlusOnePromo: true, showThreePlusOnePromoInfoButton: true, showExtendedFooter: true, showBetBuilderPriceWithBullets: true, showFreebetsTabInBetslip: true, showAcceptChangesOnTop: false }) let oddsDisplayFormatParam = GetParameterByName('oddsDefaultType') if (oddsDisplayFormatParam !== null) { let oddsDisplayFormat = Number(oddsDisplayFormatParam) if (oddsDisplayFormat === OddsDisplayFormat.DECIMAL || oddsDisplayFormat === OddsDisplayFormat.AMERICAN || oddsDisplayFormat === OddsDisplayFormat.FRACTIONAL) { CFG.oddsDisplayFormat = oddsDisplayFormat } } } else if (brandID == 16) { // cb Object.assign(CFG, { showBetslipAsPopup: false, newSystemStyle: true, // middleNavUrls: [ // { name: 'esports', text: 'NAV_ESPORTS', url: '/sportsbook/esports' }, // { name: 'jetx', text: 'NAV_JETX', url: '/static/jetx' }, // { name: 'racing', text: 'NAV_RACING', url: '/sportsbook/racing' }, // { name: 'livecasino', text: 'NAV_LIVE_CASINO', url: '/casino/livecasino' }, // { name: 'casino', text: 'NAV_CASINO', url: '/casino/casino' } // ] middleNavUrls: [ { name: 'esports', text: 'ESports', url: '/sportsbook/esports' }, { name: 'jetx', text: 'JetX', url: '/static/jetx' }, { name: 'racing', text: 'Racing', url: '/sportsbook/racing' }, { name: 'livecasino', text: 'Live Casino', url: '/casino/livecasino' }, { name: 'casino', text: 'Casino', url: '/casino/casino' } ] }) } else if (brandID == 35) { // cbh Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY', fullSystemFeatures: false, showBetslipAsPopup: false }) } else if (brandID == 21) { // 31 Object.assign(CFG, { appendAdditionalScripts: true, showLiveStreamOfAllKind: false, defaultTheme: 'default-dark-theme', fullSystemFeatures: false, switchToSingleWhenNotChains: true, showBetslipAsPopup: false, showThreePlusOnePromo: true, showBetBuilderPriceWithBullets: true, middleNavUrls: [ { name: 'casino', text: 'NAV_CASINO', url: '/casino/casino' }, { name: 'livecasino', text: 'NAV_LIVE_CASINO', url: '/casino/livecasino' }, { name: 'virtual', text: 'NAV_VIRTUAL', url: '/sportsbook/virtual' }, { name: 'esports', text: 'NAV_ESPORTS', url: '/sportsbook/esports' } ] }) Object.assign(SB_CFG, { ticketBonusPercents: [ 0, 0, 0, 10, 15, 20, 25, 30, 35, 40, 45, 50 ], ticketBonusPercentLeagues: [ 30, 487, 837, 869, 909 ], ticketBonusPercentMinCoef: 1.4, ticketBonusPercentMinBetByCurrency: { 'EUR': 10, 'USD': 10, 'CAD': 10, 'BRL': 50 } }) } else if (brandID == 12) { // ef Object.assign(CFG, { }) } else if (brandID == 22) { // bv Object.assign(CFG, { }) } else if (brandID == 19) { // PSB Object.assign(CFG, { isTBrand: true }) } else if (brandID == 20) { // RMB Object.assign(CFG, { isTBrand: true }) } else if (brandID == 15) { // hrb Object.assign(CFG, { isTBrand: true }) } else if (brandID == 33) { // wlb Object.assign(CFG, { isTBrand: true, fullSystemFeatures: false, defaultLang: 'tr', defaultCurrency: 'TRY', middleNavUrls: [ { name: 'casino', text: 'NAV_CASINO', url: '/casino/casino' }, { name: 'livecasino', text: 'NAV_LIVE_CASINO', url: '/casino/livecasino' }, { name: 'virtual', text: 'NAV_VIRTUAL', url: '/sportsbook/virtual' }, { name: 'dino', text: 'NAV_DINO', url: '/casino/gamepage?gameid=12489' } ] }) } else if (brandID == 1 || brandID == 43) { // tb Object.assign(CFG, { isTBrand: true, fullSystemFeatures: false, defaultLang: 'tr', defaultCurrency: 'TRY', defaultTheme: 'default-light-theme', middleNavUrls: [ { name: 'casino', text: 'NAV_CASINO', url: '/casino/casino' }, { name: 'livecasino', text: 'NAV_LIVE_CASINO', url: '/casino/livecasino' }, { name: 'virtual', text: 'NAV_VIRTUAL', url: '/sportsbook/virtual' }, { name: 'dino', text: 'NAV_DINO', url: '/casino/gamepage?gameid=12489' } ] }) Object.assign(SB_CFG, { ticketBonusPercents: [ 0, 0, 10, 20, 25, 30, 50 ], ticketBonusPercentLeagues: [ 41777, 41778, 41779, 41780, 41781, 41782, 41937, 41916, 42172, 88404, 88401, 41914, 88405, 41908, 41910, 41912, 41909, 41911, 41913, 42687, 42750, 42752, 42753 ], ticketBonusPercentMinCoef: 1.5 }) if (~location.href.indexOf('tamambet73')) { Object.assign(SB_CFG, { mqttOptions: { hostname: 'wss.tamambet73.com', port: 443, useSSL: true } }) } } else if (brandID == 6 || brandID == 44) { // lrb Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 24 || brandID == 75) { // 45 Object.assign(CFG, { defaultTheme: 'default-light-theme', fullSystemFeatures: false, liveStreamNeedsBalance: false, showAcceptChangesOnTop: false, middleNavUrls: [ { name: 'casino', text: 'NAV_CASINO', url: '/casino/casino' }, { name: 'livecasino', text: 'NAV_LIVE_CASINO', url: '/casino/livecasino' }, { name: 'virtual', text: 'NAV_VIRTUAL', url: '/sportsbook/virtual' }, { name: 'dino', text: 'NAV_DINO', url: '/casino/gamepage?gameid=12489' } ] }) Object.assign(SB_CFG, { overUnderReversed: true, totalsWithoutExactOutcomes: true }) } else if (brandID == 156) { Object.assign(CFG, { isTBrand: true, showMiddleNav: false, defaultLang: 'tr', defaultCurrency: 'TRY', showThreePlusOnePromo: true }) } else if (brandID == 161) { // tum Object.assign(CFG, { isTBrand: true, showMiddleNav: false, defaultLang: 'tr', defaultCurrency: 'TRY', showAcceptChangesOnTop: false, betslipSuggestedAmounts: null, showFavMatchesInFooter: true }) } else if (brandID == 17) { // fbh Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY', showThreePlusOnePromo: true, filterSliderImagesByTheme: true }) } else if (brandID == 7) { // flsh Object.assign(CFG, { defaultCurrency: 'TND', ticketPrintable: true }) } else if (brandID == 31) { // wvr Object.assign(CFG, { }) } else if (brandID == 32) { // lsp Object.assign(CFG, { showMiddleNav: false }) } else if (brandID == 34) { // odn Object.assign(CFG, { isTBrand: true, fullSystemFeatures: false, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 162) { // dmn Object.assign(CFG, { isTBrand: true, showMiddleNav: false, fullSystemFeatures: false, defaultLang: 'tr', defaultCurrency: 'TRY' }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 30) { // abts Object.assign(CFG, { isTBrand: true, fullSystemFeatures: false, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 38) { // 90 Object.assign(CFG, { showMultyHeaderMarkets: true, defaultCurrency: 'CHF', headerMarketsBlacklist: [ 451, 602 ], showAcceptChangesOnTop: false }) Object.assign(SB_CFG, { totalsWithoutExactOutcomes: true }) } else if (brandID == 42) { // tpf Object.assign(CFG, { isTBrand: true, fullSystemFeatures: false, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 37) { // eg Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 18) { // csl Object.assign(CFG, { fullSystemFeatures: false, showMiddleNav: false }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 45) { // hz Object.assign(CFG, { isTBrand: true, fullSystemFeatures: false, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 47) { // bxr / btbt Object.assign(CFG, { isTBrand: true, defaultLang: 'az', defaultCurrency: 'AZN' }) Object.assign(SB_CFG, { totalsWithoutExactOutcomes: true }) } else if (brandID == 40) { // lcs Object.assign(CFG, { middleNavUrls: [ { name: 'casino', text: 'NAV_CASINO', url: '/casino/casino' }, { name: 'livecasino', text: 'NAV_LIVE_CASINO', url: '/casino/livecasino' }, { name: 'virtual', text: 'NAV_VIRTUAL', url: '/sportsbook/virtual' }, { name: 'dino', text: 'NAV_DINO', url: '/casino/gamepage?gameid=12489' } ] }) } else if (brandID == 41) { // apr Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY', fullSystemFeatures: false }) } else if (brandID == 49) { // tep Object.assign(CFG, { defaultLang: 'fr', defaultCurrency: 'TND' }) } else if (brandID == 50) { // rlt Object.assign(CFG, { defaultTheme: 'default-dark-theme', defaultCurrency: 'USD', showAcceptChangesOnTop: false, showThreePlusOnePromo: true }) window.parent.EventEmitter && window.parent.EventEmitter.on('setDirectory', function (dir) { if (dir.userLocation == 'US') { CFG.viewType = ViewType.ASIAN CFG.oddsDisplayFormat = OddsDisplayFormat.AMERICAN } }, true) } else if (brandID == 51) { // gnc } else if (brandID == 52) { // frsh Object.assign(CFG, { showThreePlusOnePromo: true, showBetBuilderPriceWithBullets: true }) } else if (brandID == 53) { // npt Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'AZN' }) } else if (brandID == 54) { // egbi Object.assign(CFG, { defaultCurrency: 'USD' }) } else if (brandID == 55) { // almn Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 56) { // drgn / 20b Object.assign(CFG, { betslipSuggestedAmounts: null, showThreePlusOnePromo: true }) } else if (brandID == 58) { // onb Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 59) { // bnm Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY', defaultTheme: 'default-light-theme' }) } else if (brandID == 63) { // 360bh Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 64) { // brout Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY' }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 65) { // sade Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 66) { // rlt_tr Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY' }) Object.assign(SB_CFG, { ticketBonusPercents: [ 0, 0, 10, 20, 25, 30, 50 ], ticketBonusPercentLeagues: [ 41777, 41778, 41779, 41780, 41781, 41782, 41937, 41916, 42172, 88404, 88401, 41914, 88405, 41908, 41910, 41912, 41909, 41911, 41913, 42687, 42750, 42752, 42753 ], ticketBonusPercentMinCoef: 1.5 }) // Object.assign(SB_CFG, { // ticketBonusPercents: [ 0, 0, 10, 15, 20, 25, 30 ], // ticketBonusPercentLeagues: [ 30, 869, 909, 837, 487, 1067 ], // ticketBonusPercentMinCoef: 1.5 // }) } else if (brandID == 69) { // bwl Object.assign(CFG, { showOnlySelectedOddCount: true, showBetslipAsPopup: false, showLiveOverview: true }) } else if (brandID == 71) { // mpc Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY' }) } else if (brandID == 72) { // flx Object.assign(CFG, { defaultTheme: 'default-light-theme' }) Object.assign(SB_CFG, { totalsWithoutExactOutcomes: true }) } else if (brandID == 73) { // gldn Object.assign(CFG, { // showThreePlusOnePromo: true, showThreePlusOnePromoInfoButton: true, showBetBuilderPriceWithBullets: true, showFreebetsTabInBetslip: true, betslipSuggestedAmounts: [ 5, 10, 20, 50, 100 ], showAcceptChangesOnTop: false, prematchSliderWithSwiper: true }) } else if (brandID == 76) { // llo Object.assign(CFG, { showThreePlusOnePromo: true, defaultCurrency: 'USD' }) } else if (brandID == 77) { // tipo Object.assign(SB_CFG, { totalsWithoutExactOutcomes: true }) } else if (brandID == 78) { // pltn Object.assign(SB_CFG, { totalsWithoutExactOutcomes: true }) } else if (brandID == 79) { // knz Object.assign(CFG, { ticketPrintable: true }) } else if (brandID == 80) { // ncl Object.assign(CFG, { oddsDisplayFormat: OddsDisplayFormat.AMERICAN }) } else if (brandID == 81) { // crthg Object.assign(CFG, { showMiddleNav: false, defaultCurrency: 'TND' }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 94) { // elissa Object.assign(CFG, { showMiddleNav: false, defaultCurrency: 'TND' }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 95) { // bdbng Object.assign(CFG, { modifiedMarketCategories: true, saveCoupon: true }) } else if (brandID == 97) { // bkbt Object.assign(CFG, { }) } else if (brandID == 99) { // btfs } else if (brandID == 164) { // prt Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 200) { // balc Object.assign(SB_CFG, { serverAddress: 'https://sportservice.betallcoin.com', mqttOptions: { hostname: 'mqtt.betallcoin.com', cacheHostname: 'sportconnector.betallcoin.com', port: 443, useSSL: true } }) } else if (brandID == 204) { Object.assign(CFG, { defaultCurrency: 'TND' }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 48) { // tst Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 202) { // mgjt Object.assign(CFG, { defaultCurrency: 'INR', betslipSuggestedAmounts: [ 50, 500, 1000 ], showThreePlusOnePromo: true }) } else if (brandID == 207) { // hul Object.assign(CFG, { isTBrand: true, defaultLang: 'tr', defaultCurrency: 'TRY', fullSystemFeatures: false }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 209) { // fclt Object.assign(CFG, { fullSystemFeatures: false, defaultCurrency: 'VES', oddsDisplayFormat: OddsDisplayFormat.AMERICAN, middleNavUrls: [ { name: 'virtual', text: 'NAV_VIRTUAL', url: '/sportsbook/virtual' }, { name: 'esports', text: 'ESports', url: '/sportsbook/esports' }, ] }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 210) { // aqr Object.assign(CFG, { fullSystemFeatures: false, defaultCurrency: 'VES' }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 211) { // vlbt Object.assign(CFG, { showThreePlusOnePromo: true, showExtendedFooter: true, showBetBuilderPriceWithBullets: true }) } else if (brandID == 212) { // meta777 Object.assign(CFG, { showThreePlusOnePromo: true }) } else if (brandID == 213) { // gmhb Object.assign(CFG, { fullSystemFeatures: false }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 214) { // apst Object.assign(CFG, { fullSystemFeatures: false, // showThreePlusOnePromo: true, defaultCurrency: 'BRL', showBetBuilderPriceWithBullets: true, middleNavUrls: [ { name: 'virtual', text: 'NAV_GAMES', url: 'https://www.aposta1.com/jogos' }, { name: 'casino', text: 'NAV_CASINO', url: 'https://www.aposta1.com/cassino' }, { name: 'casino', text: 'NAV_SLOTS', url: 'https://www.aposta1.com/slots' }, { name: 'esports', text: 'NAV_ESPORTS', url: '#/esports' } ] }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 215) { // royal fortune Object.assign(CFG, { showThreePlusOnePromo: true, showExtendedFooter: true }) } else if (brandID == 216) { // upbitgames Object.assign(CFG, { showThreePlusOnePromo: true }) } else if (brandID == 217) { // cosmobet Object.assign(CFG, { showThreePlusOnePromo: true, showExtendedFooter: true, showBetBuilderPriceWithBullets: true }) } else if (brandID == 225) { // bruxo10 Object.assign(CFG, { defaultCurrency: 'BRL', showLiveStreamOfAllKind: false, saveCoupon: true }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 226) { // imp Object.assign(CFG, { isTBrand: true, showMiddleNav: false, defaultLang: 'tr', defaultCurrency: 'TRY' }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 229) { // ccf Object.assign(CFG, { defaultCurrency: 'BRL' }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 233) { // rsnh Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 240) { // x2bet Object.assign(CFG, { defaultCurrency: 'BRL', showLiveStreamOfAllKind: false, saveCoupon: true }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 247) { // flshg Object.assign(CFG, { defaultCurrency: 'USD' }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 251) { // fclln Object.assign(CFG, { defaultCurrency: 'MXN', oddsDisplayFormat: OddsDisplayFormat.AMERICAN }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 253) { // emtch Object.assign(CFG, { }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 259) { // ptrcsn Object.assign(CFG, { defaultTheme: 'default-light-theme' }) Object.assign(SB_CFG, { totalsWithoutExactOutcomes: true }) } else if (brandID == 290) { // betmaisvip Object.assign(CFG, { defaultCurrency: 'BRL', showLiveStreamOfAllKind: false, showPriceInfoBtn: true, saveCoupon: true }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 292) { // najbet Object.assign(CFG, { fullSystemFeatures: false, // showThreePlusOnePromo: true, defaultCurrency: 'NGN', showBetBuilderPriceWithBullets: true, middleNavUrls: [ { name: 'virtual', text: 'NAV_GAMES', url: 'https://www.najbet.com/jogos' }, { name: 'casino', text: 'NAV_CASINO', url: 'https://www.najbet.com/cassino' }, { name: 'casino', text: 'NAV_SLOTS', url: 'https://www.najbet.com/slots' }, { name: 'esports', text: 'NAV_ESPORTS', url: '#/esports' } ] }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (brandID == 296) { // 31bets Object.assign(CFG, { appendAdditionalScripts: true, defaultTheme: 'default-dark-theme', fullSystemFeatures: false, switchToSingleWhenNotChains: true, showBetslipAsPopup: false, showThreePlusOnePromo: true, showBetBuilderPriceWithBullets: true, showExtendedFooter: true, hasCustomMenuIcons: true, middleNavUrls: [ { name: 'casino', text: 'NAV_CASINO', url: '/casino/casino' }, { name: 'livecasino', text: 'NAV_LIVE_CASINO', url: '/casino/livecasino' }, { name: 'racing', text: 'NAV_RACING', url: '/sportsbook/racing' }, { name: 'virtual', text: 'NAV_VIRTUAL', url: '/sportsbook/virtual' } ] }) Object.assign(SB_CFG, { ticketBonusPercents: [ 0, 0, 0, 10, 15, 20, 25, 30, 35, 40, 45, 50 ], ticketBonusPercentLeagues: [ 30, 487, 837, 869, 909 ], ticketBonusPercentMinCoef: 1.4, ticketBonusPercentMinBetByCurrency: { 'EUR': 10, 'USD': 10, 'CAD': 10, 'BRL': 50 } }) } else if (brandID == 295) { // gnjb Object.assign(CFG, { betslipDefaultAmount: 1000, showSimulatedBetOption: true, selectMultiplePrematchLeagues: true, showMiddleNav: false, showUpcomingMatchesInsidePrematch: true, showExtendedFooter: true, hasCustomMenuIcons: true, showBetslipAsPopup: false, fullSystemFeatures: false, showAcceptChangesOnTop: false, prematchSliderWithSwiper: true, showThreePlusOnePromo: true, defaultCurrency: 'NGN', saveCoupon: true, saveCouponUrl: true, enterCouponCodeInPopup: true, showBetslipSuggestedAmounts: true, betslipSuggestedAmounts: [ 100, 500, 1000 ], betslipAddAmount: true, showVirtualFilters: true }) } else if (brandID == 299) { // airbet Object.assign(CFG, { showMiddleNav: false, showLiveStreamOfAllKind: false }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } else if (gmhbBrBrands.includes(Number(brandID))) { // br Object.assign(CFG, { defaultCurrency: 'BRL', showLiveStreamOfAllKind: false }) Object.assign(SB_CFG, { sportservicePath: 'https://sport.inplaynet.tech/api/service/message' }) } CFG.brandName = GetBrandName() }() void function SetBlockedItems () { if (!CFG.brandID) return const blockedSportsConfig = [ { IDS: [ 113, 74 ], allowedBrands: [ 16 ] } ] const blockedRegionsConfig = [ { IDS: [ 1318 ] }, { IDS: [ 999, 1019, 1024, 1031, 1034, 1082, 1085, 1112, 1164, 1200, 1201, 1203, 1205, 1206, 1207 ], restrictedBrands: [ 156, 161, 14, 17 ] }, { IDS: [ 999, 1019, 1024, 1031, 1034, 1082, 1085, 1112, 1164, 1200, 1201, 1203, 1205, 1206, 1207 ], restrictedBrands: [ 17 ] } ] const blockedLeaguesConfig = [ { IDS: [ 43898, 44484, 49002, 49003, 51360, 54255 ], allowedBrands: [ 16 ] }, { IDS: [ 50005 ], allowedBrands: [ 28 ] }, { IDS: [ 18970 ], restrictedBrands: [ 156, 161, 14, 17 ] }, { IDS: [ 5239, 5240 ], restrictedBrands: [ 45 ] }, { IDS: [ 49192 ], restrictedBrands: [ 16 ] } ] function getFilteredArr (arr) { var ret = [] arr.forEach(function (el) { if (el.allowedBrands && el.allowedBrands.includes(CFG.brandID)) return if (el.restrictedBrands && !el.restrictedBrands.includes(CFG.brandID)) return el.IDS.forEach(function (ID) { if (ret.includes(ID)) return ret.push(ID) }) }) return ret } void function Init () { SB_CFG.blockedSports = getFilteredArr(blockedSportsConfig) SB_CFG.blockedRegions = getFilteredArr(blockedRegionsConfig) SB_CFG.blockedLeagues = getFilteredArr(blockedLeaguesConfig) }() }() void function InsertStyle () { if (CFG.defaultTheme) { document.querySelector('html').classList.add(CFG.defaultTheme) } if (isLocal) return var brandName = CFG.brandName + (~location.host.indexOf('vip') ? 'vip' : '') var href = brandName + (CFG.RTL ? '_rtl' : '') href += '.css?v=' + styleVersion var link = document.createElement('link') link.setAttribute('rel', 'stylesheet') link.setAttribute('href', href) document.head.appendChild(link) document.querySelector('html').style.display = 'none' link.addEventListener('load', function () { document.querySelector('html').style.display = '' }) }() void function SetFrameSize () { function OnSportsbookResize () { document.body.style.width = window.innerWidth + 'px' document.body.style.height = window.innerHeight + 'px' document.querySelector('#sportsbook').style.width = window.innerWidth + 'px' document.querySelector('#sportsbook').style.height = window.innerHeight + 'px' } window.addEventListener('resize', function () { OnSportsbookResize() }) window.addEventListener('load', function () { OnSportsbookResize() }) }()