!function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var r={};t.m=e,t.c=r,t.i=function(e){return e},t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=65)}([function(e,t){var r=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(27)("wks"),a=r(17),i=r(2).Symbol,o="function"==typeof i;(e.exports=function(e){return n[e]||(n[e]=o&&i[e]||(o?i:a)("Symbol."+e))}).store=n},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){e.exports=!r(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){var n=r(7),a=r(43),i=r(30),o=Object.defineProperty;t.f=r(3)?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),a)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(5);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){var n=r(2),a=r(0),i=r(41),o=r(9),c=r(4),s=function(e,t,r){var u,f,l,p=e&s.F,m=e&s.G,d=e&s.S,h=e&s.P,v=e&s.B,S=e&s.W,g=m?a:a[t]||(a[t]={}),I=g.prototype,y=m?n:d?n[t]:(n[t]||{}).prototype;m&&(r=t);for(u in r)(f=!p&&y&&void 0!==y[u])&&c(g,u)||(l=f?y[u]:r[u],g[u]=m&&"function"!=typeof y[u]?r[u]:v&&f?i(l,n):S&&y[u]==l?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((g.virtual||(g.virtual={}))[u]=l,e&s.R&&I&&!I[u]&&o(I,u,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,r){var n=r(6),a=r(16);e.exports=r(3)?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(91),a=r(20);e.exports=function(e){return n(a(e))}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";t.__esModule=!0;var n=r(71),a=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=function(){function e(e,t){for(var r=0;rdocument.F=Object<\/script>"),e.close(),s=e.F;n--;)delete s.prototype[i[n]];return s()};e.exports=Object.create||function(e,t){var r;return null!==e?(c.prototype=n(e),r=new c,c.prototype=null,r[o]=e):r=s(),void 0===t?r:a(r,t)}},function(e,t,r){var n=r(50),a=r(21);e.exports=Object.keys||function(e){return n(e,a)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(6).f,a=r(4),i=r(1)("toStringTag");e.exports=function(e,t,r){e&&!a(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},function(e,t,r){var n=r(27)("keys"),a=r(17);e.exports=function(e){return n[e]||(n[e]=a(e))}},function(e,t,r){var n=r(0),a=r(2),i=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(15)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(20);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(5);e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(2),a=r(0),i=r(15),o=r(32),c=r(6).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||c(t,e,{value:o.f(e)})}},function(e,t,r){t.f=r(1)},function(e,t,r){"use strict";var n=r(98)(!0);r(44)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){r(104);for(var n=r(2),a=r(9),i=r(14),o=r(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;ss;)n(c,r=t[s++])&&(~i(u,r)||u.push(r));return u}},function(e,t,r){var n=r(8),a=r(0),i=r(13);e.exports=function(e,t){var r=(a.Object||{})[e]||Object[e],o={};o[e]=t(r),n(n.S+n.F*i(function(){r(1)}),"Object",o)}},function(e,t,r){e.exports=r(9)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(35),a=r.n(n),i=r(36),o=r.n(i),c=r(11),s=r.n(c),u=r(12),f=r.n(u),l=r(38),p=r.n(l),m=r(37),d=r.n(m),h=function(e){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];s()(this,t);var a=p()(this,(t.__proto__||o()(t)).call(this,{},null,null,r));return a.isBetBuilderPrice=!0,a.ID=null,a.matchID=r.ID,a.isLivePrice=r.isLive,a.priceList=n,a.coef=e,a.ticketCoef=e,a.isSelected=!1,a.blockIndex=0,a.isLobbyPrice=!1,a.SetName(),a}return d()(t,e),f()(t,[{key:"SetName",value:function(){var e=this;this.name="",this.priceList.forEach(function(t,r){r>0&&(e.name+=" & "),e.name+=t.marketName+" ("+t.name+")"})}},{key:"GetPlaceBetObj",value:function(){var e=this,t=10;return this.isLivePrice&&(t=11),{ItemType:t,ItemID:this.matchID,ActionType:this.actionType,Odd:this.coef,Amount:null,ExtraData:this.priceList.map(function(t){return{PriceId:t.ID,ItemType:e.isLivePrice?1:0}})}}}]),t}(Price),v=function(){function e(e){var t=[1,2,5],r=!1;r=e.isLive?t.includes(e.sportID)&&3==e.liveSource:t.includes(e.sportID)&&e.betradarGameID;var n=SBHeader.brandSpecificData[SB.itemType.BET_BUILDER_SPORT];return n&&n[e.sportID]&&!n[e.sportID].visible&&(r=!1),r}function t(e,t){var r=s+"/AvailablePrices",a={BrandId:28,UserId:1031654,GameId:e.ID,Product:e.isLive?1:3};new XHR(r,a,function(r){var a=n(r.data),i=e.markets.filter(function(e){return!!a[e.globalMarket.ID]}).map(function(e){var t=new Market({});for(var r in e.globalMarket)t.hasOwnProperty(r)&&(t[r]=e.globalMarket[r]);SBHeader.ModifyHeaderItemByBrandData(t,SB.itemType.BET_BUILDER_MARKET);var n=new MatchMarket(t,!1);for(var i in e)"globalMarket"!=i&&"name"!=i&&n.hasOwnProperty(i)&&(n[i]=e[i]);return n.SetNameAndParams({p1:e.P1,p2:e.P2,p3:e.P3,h:e.H,pl:e.player,comp:e.competitor}),{market:n,prices:n.prices.filter(function(t){return a[e.globalMarket.ID].includes(t.ID)})}}).filter(function(e){return e.prices.length&&e.market.globalMarket.visible}),o=i.map(function(e){return e.market});MatchMarket.SortMarkets(o),i.sort(function(e,t){return o.indexOf(e.market)-o.indexOf(t.market)}),t&&t(i)})}function r(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,c=s+"/CalcProbability",u=a()({brandId:28,userId:1031654,gameId:e.ID,product:e.isLive?1:3,selectedPriceIds:t,saveCalculatedItem:i});new XHR({url:c,type:"post",data:u,onSuccess:function(e){var t=Math.min(e.data.odds,SB.bettingLimits.maxTotalOdd),a=n(e.data.availableMarketsData);!0===i&&(o.ID=e.data.id,o.coef=t),r&&r(t,a)},onFail:function(e,t){t=JSON.parse(t);var n="AN_ERROR_HAS_OCCURED";t.ExtraData&&t.ExtraData.UOF_ERROR&&t.ExtraData.UOF_ERROR.message&&(n=t.ExtraData.UOF_ERROR.message),r&&r(null,null,n)}})}function n(e){var t=e.map(function(e){return{marketID:e.market,priceID:e.priceId}}),r={};return t.forEach(function(e){r[e.marketID]||(r[e.marketID]=[]),r[e.marketID].push(e.priceID)}),r}function i(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!1;f.includes(e.ID)?f.splice(f.indexOf(e.ID),1):(r=!0,f.push(e.ID)),t&&u.emit("togglePrice",e,r)}function o(e,t,r){var n=new h(e,t,r),a=r.map(function(e){return e.ID});v.calcCoef(t,a,function(){n.Select()},!0,n)}function c(e){var t=[];return e.forEach(function(e){var r=new MarketCategory({});for(var n in e)r[n]=e[n];SBHeader.ModifyHeaderItemByBrandData(r,SB.itemType.BET_BUILDER_MARKETCATEGORY),r.visible&&t.push(r)}),SBHeader.SortHeaderItems(t),t}var s="https://betbuilder.upgaming.com/CustomBet",u=new EventEmitter,f=[];return{emitter:u,checkIfAvailable:e,selectedOdds:f,getAvailableOdds:t,calcCoef:r,togglePrice:i,addToBetslip:o,getModifiedMarketCategories:c}}();window.BetBuilder=v,window.BetBuilderPrice=h,t.default=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(11),a=r.n(n),i=r(12),o=r.n(i),c=function(){function e(t){a()(this,e),this.price=t.originalPrice,this.coef=t.coef,this.isBackBet=t.isBackPrice,this.betAmount=0,this.currencyCode=null}return o()(e,[{key:"getJSON",value:function(){return{gameId:this.price.matchID,priceId:this.price.ID,priceItemType:1,coefValue:this.coef,ccy:this.currencyCode,betType:this.isBackBet?2:1,amount:this.betAmount,fillOrKill:!1,askBeforeDeal:!0}}}]),e}(),s=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a()(this,e),this.originalPrice=t,this.coef=r.coefValue||0,this.reverseCoef=r.reverseCoefValue||0,this.availableAmount=r.cache_PossibleDealRequestAmount||0,this.isBackPrice=r.cache_PossibleDealPlaceOrReceive||null,this.coef=this.coef||t.coef},u=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t||(e=[e]);var n=e.map(function(e){return e.ID}),a=[];t?e.forEach(function(e){e.matchResultMarket&&(a.includes(e.matchResultMarket.globalMarket.ID)||a.push(e.matchResultMarket.globalMarket.ID))}):e.forEach(function(e){e.markets.forEach(function(e){a.includes(e.globalMarket.ID)||a.push(e.globalMarket.ID)})});var i=Lang.GetBetradarLangCode(SB.lang),c="https://exchangeservice.upgaming.ch/api/Game/BettingTerms?Language="+i+"&BrandId=1&ExchangeId=1";c+="&GameIds="+n.join(),c+="&MarketIds="+a.join(),new XHR(c,function(n){function a(e,t){t.backPrices=[],t.layPrices=[];var r=e[t.ID]||[],n=[];r.forEach(function(e){n.push(new s(t,e))});for(var a=n.filter(function(e){return e.isBackPrice}).sort(function(e,t){return t.coef-e.coef}),i=n.filter(function(e){return!e.isBackPrice}).sort(function(e,t){return e.coef-t.coef}),c=0;cnew Date,this.active=!t.Fin&&this.startDateAndTime<=new Date,this.teams=[],this.teamsObj={},this.marketGroups=null,this.marketCount=t.prcount,this.parent=r}return o()(e,[{key:"setOdds",value:function(e){var t=this;new XHR(SBState.SERVER_ADDRESS+"/api/sport/getrancinggames/"+this.ID,function(r){r=JSON.parse(r)[0],t.teams=[],t.teamsObj={},r.members.forEach(function(e){var r=new s(e);t.teams.push(r),t.teamsObj[r.ID]=r}),r.res&&r.res.members&&r.res.members.forEach(function(e){var r=t.teamsObj[e.mid];r&&(r.resultPlace=e.num)}),t.marketGroups=[];var n=r.og.some(function(e){return"Race Winner"==e.mt});r.og.forEach(function(e){if(!n||"SP"!=e.mt){var r=f.marketGroupNames[e.otnid];e.mt={SP:"Win","Race Winner":"Win","Race Winner 2 Places":"placeBet2","Race Winner 3 Places":"placeBet3","Race Winner 4 Places":"placeBet4","Finish Exactly 2nd Place":"2ndPlace","Finish Exactly 3rd Place":"3rdPlace","Finish Exactly 4th Place":"4thPlace"}[e.mt]||e.mt;var a=new u(e,r);e.otp.forEach(function(e){t._addPriceToGroup(e,a)}),t.marketGroups.push(a)}}),e&&e(t.marketGroups)})}},{key:"update",value:function(){var e=this;new XHR(SBState.SERVER_ADDRESS+"/api/sport/getrancinggames/"+this.ID,function(t){t=JSON.parse(t)[0],t.res&&t.res.members&&t.res.members.forEach(function(t){var r=e.teamsObj[t.mid];r&&(r.resultPlace=t.num)}),t.og.forEach(function(t){var r=e.marketGroups.find(function(e){return e.ID==t.otnid});if(!r){var n=f.marketGroupNames[t.otnid],a=new u(t,n);return void e.marketGroups.push(a)}t.otp.forEach(function(t){var n=r.odds.find(function(e){return e.ID==t.pid});n?(n.res=t.res,n.UpdateCoefs(t.val)):e._addPriceToGroup(t,r)})})})}},{key:"subscribe",value:function(){var e=this,t="prematch/getrancinggames/"+this.ID;SB.mqttConnector.Subscribe(t),SB.mqttConnector.emitter.on("received__"+t,function(t){e.update()})}},{key:"unsubscribe",value:function(){SB.mqttConnector.Unsubscribe("prematch/getrancinggames/"+this.ID)}},{key:"_addPriceToGroup",value:function(e,t){var r=this,n=new Price(e,null,null,this);if(n.ID=e.pid,n.marketName=t.name,n.result=e.res,n.isOutrightPrice=!0,t.hasMultiTeamOdds){var a=JSON.parse(e.tm);n.P1=a[0],n.P2=a[1],n.P3=a[2]||null,n.name=a.map(function(e){return(r.teamsObj[e]||{}).name||""}).join(" - ")}else{var i=this.teamsObj[JSON.parse(e.tm)[0]];n.name=i.name,t.oddsByTeam[i.ID]=n}t.odds.push(n)}}]),e}(),s=function e(t){a()(this,e),this.ID=t.tid,this.name=t.name,this.programNumber=t.n,this.drawNumber=t.drn,this.logo=t.skfile&&"https://sportservice.inplaynet.tech/racingicons/L1U"+t.skfile+".gif"||null,this.jockey=t.jk,this.trainer=t.tr,this.weightInPounds=t.whpt,this.weightInKilos=Math.round(.45359237*this.weightInPounds),this.age=t.age,this.gender=t.sex,this.form=t.lr,this.resultPlace=null},u=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";a()(this,e),this.ID=t.otnid,this.name=r,this.marketType=t.mt,this.hasMultiTeamOdds="forecast"==this.marketType||"tricast"==this.marketType,this.oddsByTeam={},this.odds=[]},f=function(){function e(e){var t=[SBState.SERVER_ADDRESS+"/api/sport/getracingfulldata/"+SB.lang,SBState.SERVER_ADDRESS+"/api/prematch/GetSISFilterData/"+SB.brandID];XHR.CombineGetRequests(t,function t(s,u){return SBHeader.brandSpecificData?Market.blockedMarketIDs?(u=JSON.parse(u),n=[],a={},i={},o=[],s=JSON.parse(s),s.on.forEach(function(e){i[e.Id]=e.nm}),s.mark.forEach(function(e){var t=new Market(e);SBHeader.ModifyHeaderItemByBrandData(t,SB.itemType.MARKET),t.visible&&(e.Positions.forEach(function(e){t.AddPosition(e)}),o.push(t))}),s.data.forEach(function(e){var t=new Sport(e);SBHeader.ModifyHeaderItemByBrandData(t),t.visible&&(n.push(t),e.rg.forEach(function(e){var r=new Region(e,t);SBHeader.ModifyHeaderItemByBrandData(r),r.visible&&(u&&161==t.ID&&[1416,1423,1508].includes(r.ID)||(t.itemsArr.push(r),e.ch.forEach(function(e){var n=new Champ(e,r);SBHeader.ModifyHeaderItemByBrandData(n),n.visible&&(r.itemsArr.push(n),e.ot.forEach(function(e){var t=new c(e,n);n.matchesArr.push(t),a[t.ID]=t}),r.matchCount+=n.matchesArr.length,t.matchCount+=n.matchesArr.length,n.matchesArr.sort(function(e,t){return e.startDateAndTime-t.startDateAndTime}),n.filteredMatchesArr=n.matchesArr)}),SBHeader.SortHeaderItems(r.itemsArr),r.filteredItemsArr=r.itemsArr))}),SBHeader.SortHeaderItems(t.itemsArr),t.filteredItemsArr=t.itemsArr)}),e&&e(n,a),void r.emit("setData",n,a)):void Market.emitter.emit("setBlockedMarkets",function(){t(s,u)}):void SBHeader.emitter.on("setBrandSpecificData",function(){t(s,u)})})}function t(e){var t=LcStorage.GetItem("racingStreamUrl",!0);if(t&&Date.now()0&&(i[0].expanded=!0),t&&t(i)})}function r(e,t){var r=SBState.SERVER_ADDRESS+"/api/virtual/getcasinokprices/"+e.ID;new XHR(r,function(r){if(!(r=JSON.parse(r)))return void(e.markets=[]);var n={};r.forEach(function(t){t.h=t.Handicap,t.coef=t.Value;var r=n[t.Market];if(!r){var i=a[t.Market];if(!i)return;r=new MatchMarket(i,!0),n[i.ID]=r}var o=r.globalMarket.positionsObj[t.Position],c=r.GeneratePrice(t,o,e);c&&r.prices.push(c)});for(var i in n){var o=n[i];o.prices.length&&(o.SortPrices(),e.markets.push(o),o.globalMarket.IsTHMarket&&(o.SetHeaderParams(),o.SetHeaderPricesByParam()))}MatchMarket.SortMarkets(e.markets),t&&t(matches)})}var n=null,a=null,i=null,o=new EventEmitter;return{get tree(){return n},get globalMarkets(){return a},emitter:o,setInfo:e,getSportMatches:t,setMatchMarkets:r}}();!function(){window.streamBet=r}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(35),a=r.n(n),i=r(11),o=r.n(i),c=r(12),s=r.n(c),u=function(){function e(){g={},new XHR({url:SBState.SERVER_ADDRESS+"/api/sport/getvirtualgamestranslations/"+SB.lang,onSuccess:function(e){e=JSON.parse(e)||[];for(var t={},r=0;rt.orderNumber})}function o(e){var t=e.season,n=e.champ,a=!0,i="virtualOutright/"+n+"/"+t;SB.mqttConnector.Subscribe(i),SB.mqttConnector.emitter.on("received__"+i,function(e){a&&setTimeout(function(){r(t,k),a=!0},7e3),a=!1})}function c(e){var t=e.season,r=e.champ,n="virtualOutright/"+r+"/"+t;SB.mqttConnector.Unsubscribe(n)}function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;u(e,t,function(n){n=n||[],r&&(n=n.filter(function(e){return~r.indexOf(e.betradarGameID)})),b=n,k=t,v.emit("setMatches",b,e,t)})}function u(e,t,r){if(!_)return void setTimeout(u,200,e,t,r);var n=SBState.SERVER_ADDRESS+"/api/virtual/getvirtualprematchgames/"+I+"/"+e+"/"+t+"/"+y,a=new XHR(n,function(e){E.splice(E.indexOf(a),1),e=JSON.parse(e);var t=new XHR({url:SBState.SERVER_ADDRESS+"/api/sport/getutcunixtime",onSuccess:function(n){E.splice(E.indexOf(t),1);var a=1e3*JSON.parse(n).time,i=[];for(var o in e.Games){var c=e.Games[o],s=new Match(c);s.matchType=MatchType.VIRTUAL,s.betradarGameID=c.gmexid,s.started=c.sti-1e4-a<=0,s.team1Name=S[s.team1ID],s.team2Name=S[s.team2ID];var u={},f=c.ev;for(var l in f)if(g[l]){var p=g[l];if(p){var m=f[l];for(var d in m){var h=m[d],v=p.positionsObj[h.pId];if(v){var I=MatchMarket.GetMarketKey(p,h),y=u[I];null==y&&(u[I]=y=new MatchMarket(p,p.isHeader,h),y.key=I,y.expanded=!0);var b=y.GeneratePrice(h,v,s);b&&(b.externalID=h.expid,b.result=h.res,!y.externalID&&h.exmid&&(y.externalID=h.exmid),y.prices.push(b),p.isHeader&&!p.IsTHMarket&&(y.headerPrices[v.ID]=b,y.headerPriceArr.push(b)))}}}}for(var D in u){var k=u[D];k.prices.length&&(k.SortPrices(),k.globalMarket.isHeader&&k.globalMarket.IsTHMarket&&(k.SetHeaderParams(),k.SetHeaderPricesByParam()),k.globalMarket.isHeader&&(1==k.globalMarket.N&&(s.matchResultMarket=k),s.headerMarkets[k.globalMarket.ID]=k),s.markets.push(k))}MatchMarket.SortMarkets(s.markets),i.push(s)}r&&r(i)}});E.push(t)});E.push(a)}function f(){E&&(E.forEach(function(e){return e.Abort()}),E=[])}function l(e){if(window.vf_iframe)try{window.vf_iframe.setSelectedMatchday(e)}catch(e){console.log("cross origin error err:",e)}}function p(e){var t=e.season_nr||e.season_name,n=e.match_day;s(t,n,e.match_ids),l(n),[d.VF_LEAGUE,d.VF_EURO_CUP,d.VF_WORLD_CUP,d.VF_CHAMPIONS_CUP,d.VF_ASIAN_CUP,d.VF_NATIONS_CUP,d.VF_BUNDESLIGA,d.VF_TURKISH_LEAGUE].includes(I)&&r(t,n)}function m(e){e.forEach(function(e){var t=b.filter(function(t){return t.betradarGameID==e.matchId})[0];if(t){var r=t.markets.filter(function(t){return t.externalID==e.unified.marketId})[0];if(r){var n=r.prices.filter(function(t){return t.externalID==e.unified.outcomeId})[0];n&&(r.prices.forEach(function(e){e.Deselect()}),n.Select())}}})}var d={VF_LEAGUE:38399,VF_EURO_CUP:38398,VF_WORLD_CUP:38400,VF_CHAMPIONS_CUP:38401,VF_ASIAN_CUP:38402,VF_NATIONS_CUP:38403,VF_BUNDESLIGA:49692,VF_TURKISH_LEAGUE:80923,VF_WORLD_MATCH_FOOTBALL:666,VB_LEAGUE:38393,VT_LIVE:111,VBS_LIVE:222,VCI_LIVE:555,VIRTUAL_HORSE_RACING:333,VIRTUAL_DOG_RACING:444},h=3586,v=new EventEmitter,S={},g=null,I=null,y=null,b=[],D=[],k=null,_=!1,E=[];return function(){window.addEventListener("message",function(e){if(e.data.setVfMatches||e.data.setVblMatchday){var t=e.data.setVfMatches||e.data.setVblMatchday;t.match_day&&p(t)}else e.data.placeBets&&m(e.data.placeBets)}),SB.emitter.on("initialized",function(){SB.mqttConnector.emitter.on("virtualgames/tour",s),SB.mqttConnector.emitter.on("virtualgames/resources",s)})}(),{get currentChamp(){return I},set currentTour(e){k=e},get currentSource(){return y},get currentMatches(){return b},get currentTourAndSeason(){return D},get allTeams(){return S},get allMarkets(){return g},emitter:v,champType:d,SetInfo:e,SubscribeToSeason:o,UnSubscribeToSeason:c,GetToursAndSeasons:n,SelectChamp:t,SetMatches:s,GetMatches:u,AbortGettingMatches:f,SelectMatchDay:l}}(),f=function(){function e(e){l={},e.BetradarDogsAndHorses.forEach(function(e){l[e.Id]=e.Name})}function t(e){if(!l)return void u.emitter.on("setInfo",t.bind(this,e),!1,!0);d=Number(e.unified_event_ids[0].split("stage:")[1]),new XHR(SBState.SERVER_ADDRESS+"/api/sport/getvirtualracinggame/"+d+"/"+u.currentSource,function(e){e=JSON.parse(e),m=[],e.Markets.forEach(function(t){var r=u.allMarkets[t.mid];if(r){var n=new MatchMarket(r,!1,t);868==t.exmid&&(n.name=n.name.replace(t.p2,"("+[1,2,3].slice(0,t.p2).join("-")+")"));var a=n.GeneratePrice(t,{});if(a){if(a.externalMarketID=t.exmid,a.matchType=MatchType.VIRTUAL_RACING,a.matchID=d,a.matchName="Race N"+e.Match.Season,866==a.externalMarketID||868==a.externalMarketID)a.P1=Number(t.p1),a.P2=Number(t.p2);else if([870,871,872,873].includes(a.externalMarketID))switch(a.P1=Number(t.p1),a.P2=Number(t.p2),a.P3=Number(t.p3),a.externalMarketID){case 870:a.marketName="Forecast",a.name="1st - "+(l[a.P1]||"")+", ",a.name+="2nd - "+(l[a.P2]||"");break;case 871:a.marketName="Reverse Forecast",a.name=(l[a.P1]||"")+", "+(l[a.P2]||"");break;case 872:a.marketName="Tricast",a.name="1st - "+(l[a.P1]||"")+", ",a.name+="2nd - "+(l[a.P2]||"")+", ",a.name+="3rd - "+(l[a.P3]||"");break;case 873:a.marketName="Reverse Tricast",a.name=(l[a.P1]||"")+", "+(l[a.P2]||"")+", "+(l[a.P3]||"")}m.push(a)}}});var t=m.filter(function(e){return 866==e.externalMarketID});p=t.map(function(e){var t=new v(e.P1);return t.winPrice=e,t.placePrice=m.filter(function(e){return e.P1==t.ID&&868==e.externalMarketID})[0],t.winPrice.name=t.name,t.placePrice&&(t.placePrice.name=t.name),t}),p.sort(function(e,t){return e.winPrice.coef-t.winPrice.coef}),f.emit("SetRacingInfo",p,m,d,e.Match.Season)})}function r(e,t,r){if(["competitor","rating","form","lengthbehindwinner"].includes(t)){var n="vhc",i="vhk";u.currentChamp==u.champType.VIRTUAL_DOG_RACING&&(n="vdr",i="vdk"),r.postMessage(a()({messageType:"svg:request",messageData:{type:t,race:n+":stage:"+d,competitor:"sr:competitor:"+e,sport:i}}),"*")}}function n(e){if(e.race.split("stage:")[1]==d){var t=e.competitor.split(":")[2],r=p.filter(function(e){return e.ID==t})[0];if(r){switch(e.type){case"competitor":r.jerseySVG=e.svg;break;case"rating":r.statsSVG=e.svg;break;case"form":r.lastPlacesSVG=e.svg;break;case"lengthbehindwinner":r.statsPopupSVG=e.svg}f.emit("setCompotitorSVG",r)}}}function i(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];t=t.filter(function(t){return t[e]});var n="placeFS"==e||"placeFSA"==e?2:3;if(t.length==n){var a={placeFS:870,placeFSA:871,placeFST:872,placeFSTA:873}[e],i=null;i="placeFS"==e||"placeFST"==e?m.filter(function(r){if(r.externalMarketID==a){if(r["P"+t[0][e]]==t[0].ID){if(r["P"+t[1][e]]==t[1].ID){if("placeFST"==e){if(r["P"+t[2][e]]!=t[2].ID)return}return!0}}}})[0]:m.filter(function(e){if(e.externalMarketID==a){var r=[e.P1,e.P2,e.P3];return t.every(function(e){return r.includes(e.ID)})}})[0],i&&(r?i.Select():(h=!0,i.Deselect()))}}function c(e){if(e.matchType==MatchType.VIRTUAL_RACING){if([870,871,872,873].includes(e.externalMarketID)&&e.matchID==d){var t={870:"placeFS",871:"placeFSA",872:"placeFST",873:"placeFSTA"}[e.externalMarketID],r=[e.P1,e.P2,e.P3];p.forEach(function(e){r.includes(e.ID)&&(e[t]=null)}),f.emit("deselectPlacesOnPriceRemove")}}}var f=new EventEmitter,l=null,p=[],m=[],d=null,h=!1,v=function(){function e(t){o()(this,e),this.ID=t,this.name=l[t]||"",this.placeFS=null,this.placeFSA=null,this.placeFST=null,this.placeFSTA=null,this.winPrice=null,this.placePrice=null,this.jerseySVG=null,this.statsSVG=null,this.lastPlacesSVG=null,this.statsPopupSVG=null}return s()(e,[{key:"ClearPlaces",value:function(){this.placeFS=null,this.placeFSA=null,this.placeFST=null,this.placeFSTA=null}}]),e}();return function(){u.emitter.on("setInfo",function(t){e(t)}),window.addEventListener("message",function(e){if((u.currentChamp==u.champType.VIRTUAL_HORSE_RACING||u.currentChamp==u.champType.VIRTUAL_DOG_RACING)&&"string"==typeof e.data&&~e.data.indexOf("switchEvents")){t(JSON.parse(e.data).messageData)}}),window.addEventListener("message",function(e){if("string"==typeof e.data&&~e.data.indexOf("svg:response")){n(JSON.parse(e.data).messageData)}}),Price.emitter.on("toggleTicketPrice",function(e,t,r){if(!r)return h?void(h=!1):void c(e)}),UserTicket.emitter.on("clearUserTicket",function(){p.forEach(function(e){e.ClearPlaces()})})}(),{emitter:f,RequestCompetitorSVG:r,TogglePlacePrice:i}}(),l=function(){function e(e){f&&f.externalID==e||(t(),f={isLive:!0,matchType:MatchType.VIRTUAL_LIVE,externalID:e,source:u.currentSource,markets:[]},c="virtuallive/game/"+e+"_"+u.currentSource,SB.mqttConnector.Subscribe(c),SB.mqttConnector.emitter.on("received__"+c,function(e){a(JSON.parse(pako.ungzip(e.payloadBytes,{to:"string"})))}),s.emit("selectMatch",f))}function t(){c&&SB.mqttConnector.Unsubscribe(c)}function r(){SB.mqttConnector.Subscribe("virtualliveforstream/20"),SB.mqttConnector.emitter.on("received__virtualliveforstream/20",function(e){var t=JSON.parse(pako.ungzip(e.payloadBytes,{to:"string"}));l={};for(var r in t.Matchs)!function(e){var r=t.Matchs[e],n={ID:r.gid,externalID:r.gexid,matchType:MatchType.VIRTUAL_LIVE,isLive:!0,markets:{}},a=u.allTeams[r.t1]||{},i=u.allTeams[r.t2]||{};n.name=(a||"")+" - "+(i||""),t.Markets.filter(function(e){return e.gexid==n.externalID}).forEach(function(e){var t=u.allMarkets[e.mid];if(t){n.markets[e.exmid]||(n.markets[e.exmid]=new MatchMarket(t,!1,e));var r=n.markets[e.exmid],a=new Position(e,t);if(SBHeader.ModifyHeaderItemByBrandData(a,SB.itemType.POSITION),a.visible){var i=r.GeneratePrice(e,a,n);i&&(i.specifier=e.sbv,i.externalID=e.expid,r.prices.push(i))}}}),l[n.externalID]=n}(r);o()})}function n(){SB.mqttConnector.Unsubscribe("virtualliveforstream/20"),SB.mqttConnector.emitter.unbind("received__virtualliveforstream/20")}function a(e){if(f&&e.Match.gexid==f.externalID){f.ID=e.Match.gid,f.liveBetStatus=e.Match.BetStatus;var t=u.allTeams[e.Match.t1]||{},r=u.allTeams[e.Match.t2]||{};f.name=(t||"")+" - "+(r||"");for(var n=f.markets,a={},i=0;i500?r():n()}})}(),{emitter:s}}(),p=function(){function e(e){new XHR(SBState.SERVER_ADDRESS+"/api/sport/getuofvirtualgamesmultychamp/4/"+e,function(r){r=JSON.parse(r);var n=new Match(r);n.team1Name=u.allTeams[r.t1],n.team2Name=u.allTeams[r.t2],n.matchType=MatchType.VIRTUAL,n.betradarGameID=e;var a={};for(var i in r.ev){var o=u.allMarkets[i];if(o)for(var c in r.ev[i]){var s=r.ev[i][c],f=o.positionsObj[s.pId];if(f){var l=MatchMarket.GetMarketKey(o,s),p=a[l];null==p&&(a[l]=p=new MatchMarket(o,o.isHeader,s),p.key=l,p.expanded=!0);var m=p.GeneratePrice(s,f,n);m&&(m.externalID=s.expid,m.result=s.res,!p.externalID&&s.exmid&&(p.externalID=s.exmid),p.prices.push(m))}}}for(var d in a){var h=a[d];h.prices.length&&(h.SortPrices(),n.markets.push(h))}t.emit("setMatchInfo",n)})}var t=new EventEmitter;return function(){window.addEventListener("message",function(t){if("string"==typeof t.data&&t.data.includes("set-events")){e(JSON.parse(t.data).data.unified_event_ids[0].split(":").pop())}})}(),{emitter:t}}();!function(){window.VirtualSports=u,window.VirtualRacing=f,window.VirtualLive=l,window.VirtualWorldMatchFootball=p}()},function(e,t,r){"use strict";var n=function(){return{header:new LiveHeader(SBHeaderType.ES_LIVE)}}();window.ESLive=n},function(e,t,r){"use strict";var n=function(){return{header:new PrematchHeader(SBHeaderType.ES_PREMATCH)}}();window.ESPrematch=n},function(e,t,r){r(62),r(55),r(59),r(57),r(58),r(54),r(53),r(60),r(56),r(61)},function(e,t,r){"use strict";var n=r(18),a=r.n(n),i=a()({GetInfo:function(e){SB.SendUserXHR("getfreebet101info",{},function(t){e&&e(t.Data||null)})}});t.a=i},function(e,t,r){"use strict";var n=r(18),a=r.n(n),i=a()({CheckStatus:function(e){SB.SendUserXHR("promotion_checkstatus",{},function(t){var r=null;94!=SB.brandID&&302!=SB.brandID||(r="USD"),e&&e(t.FreeBetAmount,t.Tickets,r)})},Approve:function(e){SB.SendUserXHR("promotion_approve",{},function(t){e&&e(t.Approved)})}});t.a=i},function(e,t,r){e.exports={default:r(76),__esModule:!0}},function(e,t,r){e.exports={default:r(77),__esModule:!0}},function(e,t,r){e.exports={default:r(79),__esModule:!0}},function(e,t,r){e.exports={default:r(80),__esModule:!0}},function(e,t,r){e.exports={default:r(83),__esModule:!0}},function(e,t,r){e.exports={default:r(84),__esModule:!0}},function(e,t,r){e.exports={default:r(85),__esModule:!0}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=r(69),i=n(a),o=r(68),c=n(o);t.default=function(){function e(e,t){var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=(0,c.default)(e);!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(a)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,r){r(34),r(33),e.exports=r(102)},function(e,t,r){r(34),r(33),e.exports=r(103)},function(e,t,r){var n=r(0),a=n.JSON||(n.JSON={stringify:JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},function(e,t,r){r(105);var n=r(0).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){r(106);var n=r(0).Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},function(e,t,r){r(107),e.exports=r(0).Object.getPrototypeOf},function(e,t,r){r(108),e.exports=r(0).Object.seal},function(e,t,r){r(109),e.exports=r(0).Object.setPrototypeOf},function(e,t,r){r(111),r(110),r(112),r(113),e.exports=r(0).Symbol},function(e,t,r){r(33),r(34),e.exports=r(32).f("iterator")},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(){}},function(e,t,r){var n=r(10),a=r(100),i=r(99);e.exports=function(e){return function(t,r,o){var c,s=n(t),u=a(s.length),f=i(o,u);if(e&&r!=r){for(;u>f;)if((c=s[f++])!=c)return!0}else for(;u>f;f++)if((e||f in s)&&s[f]===r)return e||f||0;return!e&&-1}}},function(e,t,r){var n=r(23),a=r(48),i=r(24);e.exports=function(e){var t=n(e),r=a.f;if(r)for(var o,c=r(e),s=i.f,u=0;c.length>u;)s.call(e,o=c[u++])&&t.push(o);return t}},function(e,t,r){var n=r(2).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(19);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(19);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){"use strict";var n=r(22),a=r(16),i=r(25),o={};r(9)(o,r(1)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(o,{next:a(1,r)}),i(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){var n=r(6),a=r(7),i=r(23);e.exports=r(3)?Object.defineProperties:function(e,t){a(e);for(var r,o=i(t),c=o.length,s=0;c>s;)n.f(e,r=o[s++],t[r]);return e}},function(e,t,r){var n=r(10),a=r(47).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return a(e)}catch(e){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?c(e):a(n(e))}},function(e,t,r){var n=r(5),a=r(7),i=function(e,t){if(a(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(41)(Function.call,r(46).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return i(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:i}},function(e,t,r){var n=r(28),a=r(20);e.exports=function(e){return function(t,r){var i,o,c=String(a(t)),s=n(r),u=c.length;return s<0||s>=u?e?"":void 0:(i=c.charCodeAt(s),i<55296||i>56319||s+1===u||(o=c.charCodeAt(s+1))<56320||o>57343?e?c.charAt(s):i:e?c.slice(s,s+2):o-56320+(i-55296<<10)+65536)}}},function(e,t,r){var n=r(28),a=Math.max,i=Math.min;e.exports=function(e,t){return e=n(e),e<0?a(e+t,0):i(e,t)}},function(e,t,r){var n=r(28),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},function(e,t,r){var n=r(40),a=r(1)("iterator"),i=r(14);e.exports=r(0).getIteratorMethod=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[n(e)]}},function(e,t,r){var n=r(7),a=r(101);e.exports=r(0).getIterator=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(40),a=r(1)("iterator"),i=r(14);e.exports=r(0).isIterable=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||i.hasOwnProperty(n(t))}},function(e,t,r){"use strict";var n=r(87),a=r(94),i=r(14),o=r(10);e.exports=r(44)(Array,"Array",function(e,t){this._t=o(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,a(1)):"keys"==t?a(0,r):"values"==t?a(0,e[r]):a(0,[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(e,t,r){var n=r(8);n(n.S,"Object",{create:r(22)})},function(e,t,r){var n=r(8);n(n.S+n.F*!r(3),"Object",{defineProperty:r(6).f})},function(e,t,r){var n=r(29),a=r(49);r(51)("getPrototypeOf",function(){return function(e){return a(n(e))}})},function(e,t,r){var n=r(5),a=r(45).onFreeze;r(51)("seal",function(e){return function(t){return e&&n(t)?e(a(t)):t}})},function(e,t,r){var n=r(8);n(n.S,"Object",{setPrototypeOf:r(97).set})},function(e,t){},function(e,t,r){"use strict";var n=r(2),a=r(4),i=r(3),o=r(8),c=r(52),s=r(45).KEY,u=r(13),f=r(27),l=r(25),p=r(17),m=r(1),d=r(32),h=r(31),v=r(89),S=r(92),g=r(7),I=r(5),y=r(29),b=r(10),D=r(30),k=r(16),_=r(22),E=r(96),M=r(46),T=r(48),O=r(6),R=r(23),P=M.f,w=O.f,B=E.f,x=n.Symbol,A=n.JSON,N=A&&A.stringify,C=m("_hidden"),H=m("toPrimitive"),V={}.propertyIsEnumerable,L=f("symbol-registry"),j=f("symbols"),G=f("op-symbols"),F=Object.prototype,U="function"==typeof x&&!!T.f,J=n.QObject,X=!J||!J.prototype||!J.prototype.findChild,q=i&&u(function(){return 7!=_(w({},"a",{get:function(){return w(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=P(F,t);n&&delete F[t],w(e,t,r),n&&e!==F&&w(F,t,n)}:w,W=function(e){var t=j[e]=_(x.prototype);return t._k=e,t},z=U&&"symbol"==typeof x.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof x},K=function(e,t,r){return e===F&&K(G,t,r),g(e),t=D(t,!0),g(r),a(j,t)?(r.enumerable?(a(e,C)&&e[C][t]&&(e[C][t]=!1),r=_(r,{enumerable:k(0,!1)})):(a(e,C)||w(e,C,k(1,{})),e[C][t]=!0),q(e,t,r)):w(e,t,r)},Y=function(e,t){g(e);for(var r,n=v(t=b(t)),a=0,i=n.length;i>a;)K(e,r=n[a++],t[r]);return e},Z=function(e,t){return void 0===t?_(e):Y(_(e),t)},Q=function(e){var t=V.call(this,e=D(e,!0));return!(this===F&&a(j,e)&&!a(G,e))&&(!(t||!a(this,e)||!a(j,e)||a(this,C)&&this[C][e])||t)},$=function(e,t){if(e=b(e),t=D(t,!0),e!==F||!a(j,t)||a(G,t)){var r=P(e,t);return!r||!a(j,t)||a(e,C)&&e[C][t]||(r.enumerable=!0),r}},ee=function(e){for(var t,r=B(b(e)),n=[],i=0;r.length>i;)a(j,t=r[i++])||t==C||t==s||n.push(t);return n},te=function(e){for(var t,r=e===F,n=B(r?G:b(e)),i=[],o=0;n.length>o;)!a(j,t=n[o++])||r&&!a(F,t)||i.push(j[t]);return i};U||(x=function(){if(this instanceof x)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(r){this===F&&t.call(G,r),a(this,C)&&a(this[C],e)&&(this[C][e]=!1),q(this,e,k(1,r))};return i&&X&&q(F,e,{configurable:!0,set:t}),W(e)},c(x.prototype,"toString",function(){return this._k}),M.f=$,O.f=K,r(47).f=E.f=ee,r(24).f=Q,T.f=te,i&&!r(15)&&c(F,"propertyIsEnumerable",Q,!0),d.f=function(e){return W(m(e))}),o(o.G+o.W+o.F*!U,{Symbol:x});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;re.length>ne;)m(re[ne++]);for(var ae=R(m.store),ie=0;ae.length>ie;)h(ae[ie++]);o(o.S+o.F*!U,"Symbol",{for:function(e){return a(L,e+="")?L[e]:L[e]=x(e)},keyFor:function(e){if(!z(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){X=!0},useSimple:function(){X=!1}}),o(o.S+o.F*!U,"Object",{create:Z,defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:$,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var oe=u(function(){T.f(1)});o(o.S+o.F*oe,"Object",{getOwnPropertySymbols:function(e){return T.f(y(e))}}),A&&o(o.S+o.F*(!U||u(function(){var e=x();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],a=1;arguments.length>a;)n.push(arguments[a++]);if(r=t=n[1],(I(t)||void 0!==e)&&!z(e))return S(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!z(t))return t}),n[1]=t,N.apply(A,n)}}),x.prototype[H]||r(9)(x.prototype,H,x.prototype.valueOf),l(x,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},function(e,t,r){r(31)("asyncIterator")},function(e,t,r){r(31)("observable")}]);