overtime-live-trading-utils 1.1.26 → 1.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.js CHANGED
@@ -1 +1 @@
1
- !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.thalesUtils=r():e.thalesUtils=r()}(this,(()=>(()=>{"use strict";var e={168:e=>{e.exports=({input:e="",ignoreLength:r=!1})=>{if(/^0x[0-9a-zA-Z]+$/.test(e))return function(e){let r="",a=0;for("0x"===e.substring(0,2)&&(a=2);a<e.length;a+=2){const E=parseInt(e.substr(a,2),16);r+=String.fromCharCode(E)}return r}(e);if(!r&&e.length>32)throw Error(`Input string is too long, must be maximum of 32. It is currently ${e.length}`);return function(e){if(!e)return"0x00";let r="";for(let a=0;a<e.length;a++){const E=e.charCodeAt(a).toString(16);r+=E.length<2?"0"+E:E}return"0x"+r}(e).padEnd(66,"0")}}},r={};function a(E){var i=r[E];if(void 0!==i)return i.exports;var _=r[E]={exports:{}};return e[E](_,_.exports,a),_.exports}a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var E in r)a.o(r,E)&&!a.o(e,E)&&Object.defineProperty(e,E,{enumerable:!0,get:r[E]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var E={};return(()=>{a.r(E),a.d(E,{AMERICAN_LEAGUES:()=>U,DRAW:()=>K,LEAGUES_NO_FORMAL_HOME_AWAY:()=>c,LEAGUES_NO_LIVE_CONSTRAINTS:()=>C,League:()=>T,LeagueIdMapEnetpulse:()=>G,LeagueIdMapOpticOdds:()=>y,LeagueIdMapRundown:()=>m,LeagueMap:()=>M,MIN_ODDS_FOR_DIFF_CHECKING:()=>x,MONEYLINE_TYPE_ID:()=>Q,MULTIPLIER_100:()=>z,MatchResolveType:()=>s,MoneylineTypes:()=>p,OPTIC_ODDS_ID_SEPARATOR:()=>Z,OVERTIME_ID_SEPARATOR:()=>J,PeriodType:()=>l,Provider:()=>I,ScoringType:()=>N,Sport:()=>t,SpreadTypes:()=>L,TAG_CHILD_SPREAD:()=>j,TAG_CHILD_TOTALS:()=>X,TotalTypes:()=>S,UFC_LEAGUE_IDS:()=>u,ZERO:()=>k,adjustAddedSpread:()=>ee,adjustSpreadOnChildOdds:()=>Se,adjustSpreadOnOdds:()=>$,allowGameSportWithPeriodConstraint:()=>Ie,allowGameSportWithResultConstraint:()=>ne,allowSoccerGame:()=>de,calculateImpliedOddsDifference:()=>P,checkGameContraints:()=>le,checkOddsFromBookmakers:()=>O,convertFromBytes32:()=>be,convertOddsToImpl:()=>Ee,createChildMarkets:()=>oe,fetchResultInCurrentSet:()=>Re,filterOddsByMarketNameBookmaker:()=>te,filterOddsByMarketNameTeamNameBookmaker:()=>_e,formatOpticOddsLeagueName:()=>Ve,gamesDatesMatching:()=>H,getBetTypesForLeague:()=>h,getBookmakersArray:()=>R,getLeagueInfo:()=>w,getLeagueIsDrawAvailable:()=>F,getLeagueLabel:()=>D,getLeagueOpticOddsName:()=>V,getLeaguePeriodType:()=>b,getLeagueProvider:()=>g,getLeagueSport:()=>v,getLeagueSpreadTypes:()=>f,getLeagueTotalTypes:()=>Y,getLiveSupportedLeagues:()=>B,getOddsFromTo:()=>ie,getParentOdds:()=>Ae,getSpreadData:()=>q,groupAndFormatMoneylineOdds:()=>Le,groupAndFormatSpreadOdds:()=>Te,groupAndFormatTotalOdds:()=>pe,mapFromBytes32ToOpticOddsFormat:()=>fe,mapFromOpticOddsFormatToBytes32:()=>we,mapFromOpticOddsToOvertimeFormat:()=>Be,mapFromOvertimeToOpticOddsFormat:()=>he,mapOpticOddsApiFixtureOdds:()=>ge,mapOpticOddsApiFixtures:()=>ve,mapOpticOddsApiResults:()=>De,processMarket:()=>se,teamNamesMatching:()=>W}),"function"!=typeof Object.assign&&(Object.assign=function(e,r){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(e),E=1;E<arguments.length;E++){var i=arguments[E];if(null!=i)for(var _ in i)Object.prototype.hasOwnProperty.call(i,_)&&(a[_]=i[_])}return a});var e=function(e){return parseFloat(e.toPrecision(12))};function r(e,a,E){return void 0===E||0==+E?Math[e](a):(a=+a,E=+E,isNaN(a)||"number"!=typeof E||E%1!=0?NaN:a<0?-r(e,-a,E):(a=a.toString().split("e"),+((a=(a=Math[e](+(a[0]+"e"+(a[1]?+a[1]-E:-E)))).toString().split("e"))[0]+"e"+(a[1]?+a[1]+E:E))))}var i,_,A={decimal:{from:function(e){if((e=parseFloat(e))<=1)throw new Error("Outside valid range.");return e},to:function(){return this.decimalValue}},moneyline:{from:function(e){return(e=parseFloat(e))>=0?e/100+1:100/-e+1},to:function(){return this.decimalValue>=2?e(100*(this.decimalValue-1)):e(-100/(this.decimalValue-1))}},hongKong:{from:function(e){if((e=parseFloat(e))<0)throw new Error("Outside valid range.");return e+1},to:function(){return e(this.decimalValue-1)}},impliedProbability:{from:function(e){if((e="string"==typeof e&&"%"==e.slice(-1)?parseFloat(e)/100:parseFloat(e))<=0||e>=1)throw new Error("Outside valid range");return 1/e},to:function(a){if(a.percentage){var E=e(100/this.decimalValue);return null!==a.precision&&(E=r("round",E,-a.precision)),E.toString()+"%"}return e(1/this.decimalValue)}},fractional:{from:function(e){var r,a=e.toString().split("/");if(e=parseFloat(a[0]),2===a.length)r=parseFloat(a[1]);else{if(1!==a.length)throw new Error("Invalid fraction");r=1}if(0===e||0===r||e/r<=0)throw new Error("Outside valid range");return 1+e/r},to:function(e){return function(e,r){for(var a,E=[0,1],i=[1,0],_=function(e){var r=null,a=e.toString().indexOf("E");-1==a&&(a=e.toString().indexOf("e"));var E=null,i=(r=-1==a?e.toString():e.toString().substring(0,a)).toString().indexOf(".");-1==i?E=r:0===i?E=r.substring(1,r.length):i<r.length&&(E=r.substring(0,i)+r.substring(i+1,r.length));var _=E,A=_.toString().length,o=e,t=o.toString().length;0===o&&(t=0);var T,p=A-t;for(T=p;T>0&&_%2==0;T--)_/=2;for(T=p;T>0&&_%5==0;T--)_/=5;return _}(e),A=e,o=Math.pow(10,-r)/2,t=2;t<1e3;t++){var T=Math.floor(A);if(E[t]=T*E[t-1]+E[t-2],Math.abs(E[t])>_)return;if(i[t]=T*i[t-1]+i[t-2],a=E[t]/i[t],Math.abs(a-e)<o||NaN==a)return E[t].toString()+"/"+i[t].toString();A=1/(A-T)}}(this.decimalValue-1,e.precision||12)}},malay:{from:function(e){if((e=parseFloat(e))<=-1||e>1)throw new Error("Outside valid range.");return e<0&&(e=-1/e),e+1},to:function(){return this.decimalValue<=2?e(this.decimalValue-1):e(-1/(this.decimalValue-1))}},indonesian:{from:function(e){if(0===(e=parseFloat(e)))throw new Error("Outside valid range.");return e>=1?e+1:-1/e+1},to:function(){return this.decimalValue<2?e(-1/(this.decimalValue-1)):e(this.decimalValue-1)}}},o=((_=function(r){if("number"!=typeof r||isNaN(r))throw new Error("Invalid odds");this.decimalValue=e(r)}).prototype=(i=function(){throw new Error("This constructor is private, please use the from* functions")}).prototype,i.from=function(e,r){if(!A.hasOwnProperty(e))throw new Error("Unknown format "+e+".");var a=A[e].from(r);return new _(a)},i);o.prototype.to=function(e,a){if(!A.hasOwnProperty(e))throw new Error("Unknown format "+e+".");a=Object.assign({precision:null,percentage:!1},a);var E=A[e].to.call(this,a);return"number"==typeof E&&null!==a.precision&&(E=r("round",E,-a.precision)),E};var t,T,p,L,S,N,s,l,I,d,n=o.from,R=function(e,r,a){var E=e.find((function(e){return Number(e.sportId)===Number(r)}));if(E){if(""==E.primaryBookmaker)return a;var i=[];return E.primaryBookmaker&&i.push(E.primaryBookmaker),E.secondaryBookmaker&&i.push(E.secondaryBookmaker),E.tertiaryBookmaker&&i.push(E.tertiaryBookmaker),i}return a},O=function(e,r,a,E,i){var _=e.get(r[0]);if(!_)return{homeOdds:0,awayOdds:0,drawOdds:0,errorMessage:"Returning zero odds cause no matching bookmakers have been found"};var A=_.homeOdds,o=_.awayOdds,t=a?0:_.drawOdds;return r.some((function(r){var E=e.get(r);return!!E&&(0===E.homeOdds||0===E.awayOdds||!a&&0===E.drawOdds||1===E.homeOdds||1===E.awayOdds||!a&&1===E.drawOdds)}))?{homeOdds:0,awayOdds:0,drawOdds:0,errorMessage:"Returning zero odds cause bookmakers have 0 or 1 odds"}:1==r.length?{homeOdds:A,awayOdds:o,drawOdds:a?0:t}:r.slice(1).some((function(r){var _=e.get(r);if(_){var T=_.homeOdds,p=_.awayOdds,L=_.drawOdds,S=n("decimal",A).to("impliedProbability"),N=n("decimal",o).to("impliedProbability"),s=a?0:n("decimal",t).to("impliedProbability"),l=n("decimal",T).to("impliedProbability"),I=n("decimal",p).to("impliedProbability"),d=a?0:n("decimal",L).to("impliedProbability"),R=P(S,l),O=P(N,I),M=a?0:P(s,d);if(R>E&&S>i&&l>i||O>E&&N>i&&I>i||!a&&M>E&&s>i&&d>i)return!0}return!1}))?{homeOdds:0,awayOdds:0,drawOdds:0,errorMessage:"Returning zero odds due to percentage difference between bookmakers"}:{homeOdds:A,awayOdds:o,drawOdds:a?0:t}},P=function(e,r){return Math.abs(e-r)/e*100};!function(e){e.SOCCER="Soccer",e.FOOTBALL="Football",e.BASKETBALL="Basketball",e.BASEBALL="Baseball",e.HOCKEY="Hockey",e.FIGHTING="Fighting",e.TENNIS="Tennis",e.ESPORTS="eSports",e.RUGBY="Rugby",e.VOLLEYBALL="Volleyball",e.HANDBALL="Handball",e.WATERPOLO="Waterpolo",e.CRICKET="Cricket",e.MOTOSPORT="Motosport",e.GOLF="Golf",e.TABLE_TENNIS="TableTennis",e.POLITICS="Politics",e.FUTURES="Futures",e.EMPTY=""}(t||(t={})),function(e){e[e.NCAAF=1]="NCAAF",e[e.NFL=2]="NFL",e[e.MLB=3]="MLB",e[e.NBA=4]="NBA",e[e.NCAAB=5]="NCAAB",e[e.NHL=6]="NHL",e[e.UFC=7]="UFC",e[e.WNBA=8]="WNBA",e[e.MLS=10]="MLS",e[e.EPL=11]="EPL",e[e.LIGUE_ONE=12]="LIGUE_ONE",e[e.BUNDESLIGA=13]="BUNDESLIGA",e[e.LA_LIGA=14]="LA_LIGA",e[e.SERIE_A=15]="SERIE_A",e[e.UEFA_CL=16]="UEFA_CL",e[e.UEFA_EL=17]="UEFA_EL",e[e.FIFA_WC=18]="FIFA_WC",e[e.J1_LEAGUE=19]="J1_LEAGUE",e[e.IPL=20]="IPL",e[e.T20_BLAST=21]="T20_BLAST",e[e.IIHF_WORLD_CHAMPIONSHIP=33]="IIHF_WORLD_CHAMPIONSHIP",e[e.COPA_AMERICA=44]="COPA_AMERICA",e[e.COPA_LIBERTADORES=45]="COPA_LIBERTADORES",e[e.UEFA_EURO=50]="UEFA_EURO",e[e.EREDIVISIE=57]="EREDIVISIE",e[e.PRIMEIRA_LIGA=61]="PRIMEIRA_LIGA",e[e.SUMMER_OLYMPICS_SOCCER_WOMEN=65]="SUMMER_OLYMPICS_SOCCER_WOMEN",e[e.SUMMER_OLYMPICS_SOCCER=66]="SUMMER_OLYMPICS_SOCCER",e[e.FIFA_WC_WOMEN=76]="FIFA_WC_WOMEN",e[e.ENGLAND_FA_CUP=132]="ENGLAND_FA_CUP",e[e.FRANCE_CUP=134]="FRANCE_CUP",e[e.SPAIN_CUP=138]="SPAIN_CUP",e[e.ITALY_CUP=141]="ITALY_CUP",e[e.TENNIS_WTA=152]="TENNIS_WTA",e[e.TENNIS_GS=153]="TENNIS_GS",e[e.TENNIS_MASTERS=156]="TENNIS_MASTERS",e[e.SUMMER_OLYMPICS_TENNIS=158]="SUMMER_OLYMPICS_TENNIS",e[e.GERMANY_CUP=209]="GERMANY_CUP",e[e.LIGA_MX=230]="LIGA_MX",e[e.BRAZIL_1=268]="BRAZIL_1",e[e.UEFA_EURO_U21=288]="UEFA_EURO_U21",e[e.FIFA_WORLD_CUP_U20=296]="FIFA_WORLD_CUP_U20",e[e.SUMMER_OLYMPICS_HANDBALL_WOMEN=380]="SUMMER_OLYMPICS_HANDBALL_WOMEN",e[e.SUMMER_OLYMPICS_HANDBALL=381]="SUMMER_OLYMPICS_HANDBALL",e[e.EUROLEAGUE=399]="EUROLEAGUE",e[e.SUMMER_OLYMPICS_BASKETBALL=406]="SUMMER_OLYMPICS_BASKETBALL",e[e.SUMMER_OLYMPICS_BASKETBALL_WOMEN=407]="SUMMER_OLYMPICS_BASKETBALL_WOMEN",e[e.FIBA_WORLD_CUP=409]="FIBA_WORLD_CUP",e[e.FORMULA1=445]="FORMULA1",e[e.SUMMER_OLYMPICS_BEACH_VOLEYBALL_WOMEN=453]="SUMMER_OLYMPICS_BEACH_VOLEYBALL_WOMEN",e[e.SUMMER_OLYMPICS_BEACH_VOLEYBALL=454]="SUMMER_OLYMPICS_BEACH_VOLEYBALL",e[e.MOTOGP=497]="MOTOGP",e[e.SAUDI_PROFESSIONAL_LEAGUE=536]="SAUDI_PROFESSIONAL_LEAGUE",e[e.SUMMER_OLYMPICS_WATERPOLO=8881]="SUMMER_OLYMPICS_WATERPOLO",e[e.SUMMER_OLYMPICS_VOLEYBALL_WOMEN=8893]="SUMMER_OLYMPICS_VOLEYBALL_WOMEN",e[e.SUMMER_OLYMPICS_VOLEYBALL=8894]="SUMMER_OLYMPICS_VOLEYBALL",e[e.SUMMER_OLYMPICS_TABLE_TENNIS=8910]="SUMMER_OLYMPICS_TABLE_TENNIS",e[e.BOXING=9196]="BOXING",e[e.SUMMER_OLYMPICS_RUGBY=9578]="SUMMER_OLYMPICS_RUGBY",e[e.SUMMER_OLYMPICS_RUGBY_WOMEN=9588]="SUMMER_OLYMPICS_RUGBY_WOMEN",e[e.SUMMER_OLYMPICS_HOCKEY_WOMEN=9698]="SUMMER_OLYMPICS_HOCKEY_WOMEN",e[e.SUMMER_OLYMPICS_HOCKEY=9699]="SUMMER_OLYMPICS_HOCKEY",e[e.UEFA_NATIONS_LEAGUE=9806]="UEFA_NATIONS_LEAGUE",e[e.CONCACAF_NATIONS_LEAGUE=9821]="CONCACAF_NATIONS_LEAGUE",e[e.CSGO=9977]="CSGO",e[e.DOTA2=9983]="DOTA2",e[e.SUMMER_OLYMPICS_BASKETBALL_3X3=10071]="SUMMER_OLYMPICS_BASKETBALL_3X3",e[e.SUMMER_OLYMPICS_BASKETBALL_3X3_WOMEN=10072]="SUMMER_OLYMPICS_BASKETBALL_3X3_WOMEN",e[e.SUMMER_OLYMPICS_QUALIFICATION=10502]="SUMMER_OLYMPICS_QUALIFICATION",e[e.LOL=10138]="LOL",e[e.CONMEBOL_WC_QUALIFICATIONS=10199]="CONMEBOL_WC_QUALIFICATIONS",e[e.UEFA_CONFERENCE_LEAGUE=10216]="UEFA_CONFERENCE_LEAGUE",e[e.NON_TITLE_BOXING=10595]="NON_TITLE_BOXING",e[e.UEFA_CHAMPIONS_LEAGUE_QUALIFICATION=10611]="UEFA_CHAMPIONS_LEAGUE_QUALIFICATION",e[e.UEFA_EUROPA_LEAGUE_QUALIFICATION=10613]="UEFA_EUROPA_LEAGUE_QUALIFICATION",e[e.UEFA_CONFERENCE_LEAGUE_QUALIFICATION=10615]="UEFA_CONFERENCE_LEAGUE_QUALIFICATION",e[e.US_ELECTION=2e4]="US_ELECTION",e[e.UEFA_SUPER_CUP=20001]="UEFA_SUPER_CUP",e[e.BRAZIL_CUP=20002]="BRAZIL_CUP",e[e.ENGLAND_CHAMPIONSHIP=20011]="ENGLAND_CHAMPIONSHIP",e[e.SCOTLAND_PREMIERSHIP=20101]="SCOTLAND_PREMIERSHIP",e[e.BELGIUM_LEAGUE=20102]="BELGIUM_LEAGUE",e[e.CZECH_LEAGUE=20103]="CZECH_LEAGUE",e[e.CHILE_PRIMERA=20104]="CHILE_PRIMERA",e[e.FINLAND_LEAGUE=20105]="FINLAND_LEAGUE",e[e.ARGENTINA_PRIMERA=20106]="ARGENTINA_PRIMERA",e[e.RUSSIA_PREMIER=20107]="RUSSIA_PREMIER",e[e.TURKEY_SUPER_LEAGUE=20108]="TURKEY_SUPER_LEAGUE",e[e.SERBIA_SUPER_LEAGUE=20109]="SERBIA_SUPER_LEAGUE",e[e.GREECE_SUPER_LEAGUE=20110]="GREECE_SUPER_LEAGUE",e[e.INDIA_PREMIER=20111]="INDIA_PREMIER",e[e.CHINA_SUPER_LEAGUE=20112]="CHINA_SUPER_LEAGUE",e[e.AUSTRALIA_A_LEAGUE=20113]="AUSTRALIA_A_LEAGUE",e[e.SWITZERLAND_SUPER_LEAGUE=20114]="SWITZERLAND_SUPER_LEAGUE",e[e.BUNDESLIGA_2=20115]="BUNDESLIGA_2",e[e.LA_LIGA_2=20116]="LA_LIGA_2",e[e.SERIE_B=20117]="SERIE_B",e[e.INDIA_SUPER_LEAGUE=20118]="INDIA_SUPER_LEAGUE",e[e.LIGUE_2=20119]="LIGUE_2",e[e.AUSTRIA_BUNDESLIGA=20120]="AUSTRIA_BUNDESLIGA",e[e.DENMARK_SUPER_LEAGUE=20121]="DENMARK_SUPER_LEAGUE",e[e.POLAND_LEAGUE=20122]="POLAND_LEAGUE",e[e.SWEDEN_LEAGUE=20123]="SWEDEN_LEAGUE",e[e.COLOMBIA_PRIMERA_A=20124]="COLOMBIA_PRIMERA_A",e[e.ENGLAND_EFL_CUP=20125]="ENGLAND_EFL_CUP",e[e.ENGLAND_LEGAUE_1=20126]="ENGLAND_LEGAUE_1",e[e.URUGUAY_PRIMERA_DIVISION=20127]="URUGUAY_PRIMERA_DIVISION",e[e.AFC_CHAMPIONS_LEAGUE=20128]="AFC_CHAMPIONS_LEAGUE",e[e.ITALY_SUPER_CUP=20129]="ITALY_SUPER_CUP",e[e.FRANCE_SUPER_CUP=20130]="FRANCE_SUPER_CUP",e[e.SPAIN_SUPER_CUP=20131]="SPAIN_SUPER_CUP",e[e.GERMANY_SUPER_CUP=20132]="GERMANY_SUPER_CUP",e[e.PORTUGAL_LEAGUE_CUP=20133]="PORTUGAL_LEAGUE_CUP",e[e.THAILAND_LEAGUE_1=20134]="THAILAND_LEAGUE_1",e[e.NETHERLANDS_CUP=20135]="NETHERLANDS_CUP",e[e.PORTUGAL_CUP=20136]="PORTUGAL_CUP",e[e.ENGLAND_SUPER_LEAGUE_WOMEN=20137]="ENGLAND_SUPER_LEAGUE_WOMEN",e[e.ITALY_SERIE_A_WOMEN=20138]="ITALY_SERIE_A_WOMEN",e[e.FRANCE_PREMIERE_LIGUE_WOMEN=20139]="FRANCE_PREMIERE_LIGUE_WOMEN",e[e.GERMANY_BUNDESLIGA_WOMEN=20140]="GERMANY_BUNDESLIGA_WOMEN",e[e.SPAIN_LIGA_F_WOMEN=20141]="SPAIN_LIGA_F_WOMEN",e[e.NETHERLANDS_EREDIVISIE_WOMEN=20142]="NETHERLANDS_EREDIVISIE_WOMEN",e[e.BELGIUM_SUPER_LEAGUE_WOMEN=20143]="BELGIUM_SUPER_LEAGUE_WOMEN",e[e.UEFA_CHAMPIONS_LEAGUE_WOMEN=20144]="UEFA_CHAMPIONS_LEAGUE_WOMEN",e[e.EUROCUP=20200]="EUROCUP",e[e.SPAIN_LIGA_ACB=20201]="SPAIN_LIGA_ACB",e[e.ITALY_LEGA_BASKET_SERIE_A=20202]="ITALY_LEGA_BASKET_SERIE_A",e[e.GERMANY_BBL=20203]="GERMANY_BBL",e[e.FRANCE_LNB_PRO_A=20204]="FRANCE_LNB_PRO_A",e[e.CHINA_CBA=20205]="CHINA_CBA",e[e.AUSTRALIA_NBL=20206]="AUSTRALIA_NBL",e[e.ROCKET_LEAGUE=20297]="ROCKET_LEAGUE",e[e.CALL_OF_DUTY=20298]="CALL_OF_DUTY",e[e.STARCRAFT=20299]="STARCRAFT",e[e.VALORANT=20300]="VALORANT",e[e.NFL_FUTURES=30002]="NFL_FUTURES",e[e.NBA_FUTURES=30004]="NBA_FUTURES",e[e.NHL_FUTURES=30006]="NHL_FUTURES",e[e.EPL_FUTURES=30011]="EPL_FUTURES",e[e.LIGUE_ONE_FUTURES=30012]="LIGUE_ONE_FUTURES",e[e.BUNDESLIGA_FUTURES=30013]="BUNDESLIGA_FUTURES",e[e.LA_LIGA_FUTURES=30014]="LA_LIGA_FUTURES",e[e.SERIE_A_FUTURES=30015]="SERIE_A_FUTURES",e[e.UEFA_CHAMPIONS_LEAGUE_FUTURES=30016]="UEFA_CHAMPIONS_LEAGUE_FUTURES",e[e.ATP_FUTURES=30156]="ATP_FUTURES",e[e.EUROLEAGUE_FUTURES=30399]="EUROLEAGUE_FUTURES",e[e.GOLF_H2H=100021]="GOLF_H2H",e[e.GOLF_WINNER=100121]="GOLF_WINNER",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_0=15611]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_0",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_1=15612]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_1",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_2=15613]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_2",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_3=15614]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_3",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_4=15615]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_4",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_5=15616]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_5",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_6=15617]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_6",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_7=15618]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_7",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_0=15211]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_0",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_1=15212]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_1",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_2=15213]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_2",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_3=15214]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_3",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_4=15215]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_4",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_5=15216]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_5",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_6=15217]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_6",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_7=15218]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_7",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_1=15622]="TENNIS_MASTERS_LIVE_MAPPING_V2_1",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_2=15623]="TENNIS_MASTERS_LIVE_MAPPING_V2_2",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_3=15624]="TENNIS_MASTERS_LIVE_MAPPING_V2_3",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_4=15625]="TENNIS_MASTERS_LIVE_MAPPING_V2_4",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_5=15626]="TENNIS_MASTERS_LIVE_MAPPING_V2_5",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_6=15627]="TENNIS_MASTERS_LIVE_MAPPING_V2_6",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_7=15628]="TENNIS_MASTERS_LIVE_MAPPING_V2_7",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_8=15632]="TENNIS_MASTERS_LIVE_MAPPING_V2_8",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_9=15633]="TENNIS_MASTERS_LIVE_MAPPING_V2_9",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_10=15634]="TENNIS_MASTERS_LIVE_MAPPING_V2_10",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_11=15635]="TENNIS_MASTERS_LIVE_MAPPING_V2_11",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_12=15636]="TENNIS_MASTERS_LIVE_MAPPING_V2_12",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_13=15637]="TENNIS_MASTERS_LIVE_MAPPING_V2_13",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_14=15638]="TENNIS_MASTERS_LIVE_MAPPING_V2_14",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_15=15641]="TENNIS_MASTERS_LIVE_MAPPING_V2_15",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_16=15642]="TENNIS_MASTERS_LIVE_MAPPING_V2_16",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_17=15643]="TENNIS_MASTERS_LIVE_MAPPING_V2_17",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_18=15644]="TENNIS_MASTERS_LIVE_MAPPING_V2_18",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_19=15645]="TENNIS_MASTERS_LIVE_MAPPING_V2_19",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_20=15646]="TENNIS_MASTERS_LIVE_MAPPING_V2_20",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_21=15647]="TENNIS_MASTERS_LIVE_MAPPING_V2_21",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_22=15648]="TENNIS_MASTERS_LIVE_MAPPING_V2_22",e[e.TENNIS_WTA_LIVE_MAPPING_V2_1=15222]="TENNIS_WTA_LIVE_MAPPING_V2_1",e[e.TENNIS_WTA_LIVE_MAPPING_V2_2=15223]="TENNIS_WTA_LIVE_MAPPING_V2_2",e[e.TENNIS_WTA_LIVE_MAPPING_V2_3=15224]="TENNIS_WTA_LIVE_MAPPING_V2_3",e[e.TENNIS_WTA_LIVE_MAPPING_V2_4=15225]="TENNIS_WTA_LIVE_MAPPING_V2_4",e[e.TENNIS_WTA_LIVE_MAPPING_V2_5=15226]="TENNIS_WTA_LIVE_MAPPING_V2_5",e[e.TENNIS_WTA_LIVE_MAPPING_V2_6=15227]="TENNIS_WTA_LIVE_MAPPING_V2_6",e[e.TENNIS_WTA_LIVE_MAPPING_V2_7=15228]="TENNIS_WTA_LIVE_MAPPING_V2_7",e[e.TENNIS_WTA_LIVE_MAPPING_V2_8=15231]="TENNIS_WTA_LIVE_MAPPING_V2_8",e[e.TENNIS_WTA_LIVE_MAPPING_V2_9=15232]="TENNIS_WTA_LIVE_MAPPING_V2_9",e[e.TENNIS_WTA_LIVE_MAPPING_V2_10=15233]="TENNIS_WTA_LIVE_MAPPING_V2_10",e[e.TENNIS_WTA_LIVE_MAPPING_V2_11=15234]="TENNIS_WTA_LIVE_MAPPING_V2_11",e[e.TENNIS_WTA_LIVE_MAPPING_V2_12=15235]="TENNIS_WTA_LIVE_MAPPING_V2_12",e[e.TENNIS_WTA_LIVE_MAPPING_V2_13=15236]="TENNIS_WTA_LIVE_MAPPING_V2_13",e[e.TENNIS_WTA_LIVE_MAPPING_V2_14=15237]="TENNIS_WTA_LIVE_MAPPING_V2_14",e[e.TENNIS_WTA_LIVE_MAPPING_V2_15=15238]="TENNIS_WTA_LIVE_MAPPING_V2_15",e[e.TENNIS_WTA_LIVE_MAPPING_V2_16=15241]="TENNIS_WTA_LIVE_MAPPING_V2_16",e[e.TENNIS_WTA_LIVE_MAPPING_V2_17=15242]="TENNIS_WTA_LIVE_MAPPING_V2_17",e[e.TENNIS_WTA_LIVE_MAPPING_V2_18=15243]="TENNIS_WTA_LIVE_MAPPING_V2_18",e[e.TENNIS_WTA_LIVE_MAPPING_V2_19=15244]="TENNIS_WTA_LIVE_MAPPING_V2_19",e[e.TENNIS_WTA_LIVE_MAPPING_V2_20=15245]="TENNIS_WTA_LIVE_MAPPING_V2_20",e[e.TENNIS_WTA_LIVE_MAPPING_V2_21=15246]="TENNIS_WTA_LIVE_MAPPING_V2_21",e[e.TENNIS_WTA_LIVE_MAPPING_V2_22=15247]="TENNIS_WTA_LIVE_MAPPING_V2_22",e[e.TENNIS_WTA_LIVE_MAPPING_V2_23=15248]="TENNIS_WTA_LIVE_MAPPING_V2_23"}(T||(T={})),function(e){e.MONEYLINE="Moneyline"}(p||(p={})),function(e){e.ASIAN_HANDICAP="Asian Handicap",e.GAME_SPREAD="Game Spread",e.POINT_SPREAD="Point Spread",e.GOAL_SPREAD="Goal Spread",e.RUN_LINE="Run Line",e.PUCK_LINE="Puck Line"}(L||(L={})),function(e){e.TOTAL_GAMES="Total Games",e.TOTAL_GOALS="Total Goals",e.TOTAL_POINTS="Total Points",e.TOTAL_RUNS="Total Runs"}(S||(S={})),function(e){e.POINTS="points",e.GOALS="goals",e.ROUNDS="rounds",e.SETS="sets",e.MAPS="maps",e.EMPTY=""}(N||(N={})),function(e){e.OVERTIME="overtime",e.REGULAR="regular",e.EMPTY=""}(s||(s={})),function(e){e.QUARTER="quarter",e.HALF="half",e.PERIOD="period",e.ROUND="round",e.INNING="inning",e.SET="set",e.MAP="map",e.EMPTY=""}(l||(l={})),function(e){e.RUNDOWN="rundown",e.ENETPULSE="enetpulse",e.JSONODDS="jsonOdds",e.OPTICODDS="opticOdds",e.EMPTY=""}(I||(I={}));var M=((d={})[T.NCAAF]={sport:t.FOOTBALL,id:T.NCAAF,label:"NCAA Football",opticOddsName:"NCAAF",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.NFL]={sport:t.FOOTBALL,id:T.NFL,label:"NFL",opticOddsName:"NFL",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.MLB]={sport:t.BASEBALL,id:T.MLB,label:"MLB",opticOddsName:"MLB",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.INNING,isDrawAvailable:!1},d[T.NBA]={sport:t.BASKETBALL,id:T.NBA,label:"NBA",opticOddsName:"NBA",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.NCAAB]={sport:t.BASKETBALL,id:T.NCAAB,label:"NCAA Basketball",opticOddsName:"NCAAB",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.NHL]={sport:t.HOCKEY,id:T.NHL,label:"NHL",opticOddsName:"NHL",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.OVERTIME,periodType:l.PERIOD,isDrawAvailable:!1},d[T.UFC]={sport:t.FIGHTING,id:T.UFC,label:"UFC",provider:I.OPTICODDS,scoringType:N.ROUNDS,matchResolveType:s.EMPTY,periodType:l.ROUND,isDrawAvailable:!1},d[T.WNBA]={sport:t.BASKETBALL,id:T.WNBA,label:"WNBA",opticOddsName:"WNBA",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.MLS]={sport:t.SOCCER,id:T.MLS,label:"MLS",opticOddsName:"USA - Major League Soccer",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.EPL]={sport:t.SOCCER,id:T.EPL,label:"EPL",opticOddsName:"England - Premier League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.LIGUE_ONE]={sport:t.SOCCER,id:T.LIGUE_ONE,label:"Ligue 1",opticOddsName:"France - Ligue 1",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.BUNDESLIGA]={sport:t.SOCCER,id:T.BUNDESLIGA,label:"Bundesliga",opticOddsName:"Germany - Bundesliga",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.LA_LIGA]={sport:t.SOCCER,id:T.LA_LIGA,label:"La Liga",opticOddsName:"Spain - La Liga",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SERIE_A]={sport:t.SOCCER,id:T.SERIE_A,label:"Serie A",opticOddsName:"Italy - Serie A",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.UEFA_CL]={sport:t.SOCCER,id:T.UEFA_CL,label:"UEFA Champions League",opticOddsName:"UEFA - Champions League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.UEFA_EL]={sport:t.SOCCER,id:T.UEFA_EL,label:"UEFA Europa League",opticOddsName:"UEFA - Europa League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.FIFA_WC]={sport:t.SOCCER,id:T.FIFA_WC,label:"FIFA World Cup Qualifiers",provider:I.OPTICODDS,opticOddsName:"FIFA - World Cup Qualifiers",scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.J1_LEAGUE]={sport:t.SOCCER,id:T.J1_LEAGUE,label:"J1 League",opticOddsName:"Japan - J1 League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.IPL]={sport:t.CRICKET,id:T.IPL,label:"Indian Premier League",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.EMPTY,periodType:l.INNING,isDrawAvailable:!1},d[T.T20_BLAST]={sport:t.CRICKET,id:T.T20_BLAST,label:"T20 Blast",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.EMPTY,periodType:l.INNING,isDrawAvailable:!1},d[T.IIHF_WORLD_CHAMPIONSHIP]={sport:t.HOCKEY,id:T.IIHF_WORLD_CHAMPIONSHIP,label:"IIHF World Championship",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.PERIOD,isDrawAvailable:!0},d[T.COPA_AMERICA]={sport:t.SOCCER,id:T.COPA_AMERICA,label:"Copa America",opticOddsName:"CONMEBOL - Copa America",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.COPA_LIBERTADORES]={sport:t.SOCCER,id:T.COPA_LIBERTADORES,label:"Copa Libertadores",opticOddsName:"CONMEBOL - Copa Libertadores",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.UEFA_EURO]={sport:t.SOCCER,id:T.UEFA_EURO,label:"UEFA EURO 2024",opticOddsName:"UEFA - European Championship",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.EREDIVISIE]={sport:t.SOCCER,id:T.EREDIVISIE,label:"Eredivisie",opticOddsName:"Netherlands - Eredivisie",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.PRIMEIRA_LIGA]={sport:t.SOCCER,id:T.PRIMEIRA_LIGA,label:"Primeira Liga",opticOddsName:"Portugal - Primeira Liga",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SUMMER_OLYMPICS_SOCCER_WOMEN]={sport:t.SOCCER,id:T.SUMMER_OLYMPICS_SOCCER_WOMEN,label:"Olympic Games Soccer Women",opticOddsName:"Olympics Soccer Women",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SUMMER_OLYMPICS_SOCCER]={sport:t.SOCCER,id:T.SUMMER_OLYMPICS_SOCCER,label:"Olympic Games Soccer",opticOddsName:"Olympics Soccer Men",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.FIFA_WC_WOMEN]={sport:t.SOCCER,id:T.FIFA_WC_WOMEN,label:"FIFA World Cup Women",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.ENGLAND_FA_CUP]={sport:t.SOCCER,id:T.ENGLAND_FA_CUP,label:"FA Cup",opticOddsName:"England - FA Cup",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.FRANCE_CUP]={sport:t.SOCCER,id:T.FRANCE_CUP,label:"Coupe de France",opticOddsName:"France - Coupe de France",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SPAIN_CUP]={sport:t.SOCCER,id:T.SPAIN_CUP,label:"Copa del Rey",opticOddsName:"Spain - Copa del Rey",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.ITALY_CUP]={sport:t.SOCCER,id:T.ITALY_CUP,label:"Coppa Italia",opticOddsName:"Italy - Coppa Italia",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.TENNIS_WTA]={sport:t.TENNIS,id:T.TENNIS_WTA,label:"WTA Events",opticOddsName:"WTA",provider:I.OPTICODDS,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:l.SET,isDrawAvailable:!1},d[T.TENNIS_GS]={sport:t.TENNIS,id:T.TENNIS_GS,label:"Grand Slam",opticOddsName:"ATP,WTA",provider:I.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:l.SET,isDrawAvailable:!1},d[T.TENNIS_MASTERS]={sport:t.TENNIS,id:T.TENNIS_MASTERS,label:"ATP Events",opticOddsName:"ATP",provider:I.OPTICODDS,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:l.SET,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_TENNIS]={sport:t.TENNIS,id:T.SUMMER_OLYMPICS_TENNIS,label:"Olympic Games Tennis",provider:I.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:l.SET,isDrawAvailable:!1},d[T.GERMANY_CUP]={sport:t.SOCCER,id:T.GERMANY_CUP,label:"DFB Pokal",opticOddsName:"Germany - DFB Pokal",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.LIGA_MX]={sport:t.SOCCER,id:T.LIGA_MX,label:"Liga MX",opticOddsName:"Mexico - Liga MX",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.BRAZIL_1]={sport:t.SOCCER,id:T.BRAZIL_1,label:"Serie A",opticOddsName:"Brazil - Serie A",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.UEFA_EURO_U21]={sport:t.SOCCER,id:T.UEFA_EURO_U21,label:"UEFA EURO U21",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.FIFA_WORLD_CUP_U20]={sport:t.SOCCER,id:T.FIFA_WORLD_CUP_U20,label:"FIFA World Cup U20",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SUMMER_OLYMPICS_HANDBALL_WOMEN]={sport:t.HANDBALL,id:T.SUMMER_OLYMPICS_HANDBALL_WOMEN,label:"Olympic Games Handball Women",opticOddsName:"Olympics Handball Women",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SUMMER_OLYMPICS_HANDBALL]={sport:t.HANDBALL,id:T.SUMMER_OLYMPICS_HANDBALL,label:"Olympic Games Handball",opticOddsName:"Olympics Handball Men",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.EUROLEAGUE]={sport:t.BASKETBALL,id:T.EUROLEAGUE,label:"Euroleague",opticOddsName:"Euroleague",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_BASKETBALL]={sport:t.BASKETBALL,id:T.SUMMER_OLYMPICS_BASKETBALL,label:"Olympic Games Basketball",opticOddsName:"Olympics Basketball Men",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_BASKETBALL_WOMEN]={sport:t.BASKETBALL,id:T.SUMMER_OLYMPICS_BASKETBALL_WOMEN,label:"Olympic Games Basketball Women",opticOddsName:"Olympics Basketball Women",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.FIBA_WORLD_CUP]={sport:t.BASKETBALL,id:T.FIBA_WORLD_CUP,label:"FIBA World Cup",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.FORMULA1]={sport:t.MOTOSPORT,id:T.FORMULA1,label:"Formula 1",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_BEACH_VOLEYBALL_WOMEN]={sport:t.VOLLEYBALL,id:T.SUMMER_OLYMPICS_BEACH_VOLEYBALL_WOMEN,label:"Olympic Games Beach Voleyball Women",provider:I.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:l.SET,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_BEACH_VOLEYBALL]={sport:t.VOLLEYBALL,id:T.SUMMER_OLYMPICS_BEACH_VOLEYBALL,label:"Olympic Games Beach Voleyball",provider:I.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:l.SET,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_TABLE_TENNIS]={sport:t.TABLE_TENNIS,id:T.SUMMER_OLYMPICS_TABLE_TENNIS,label:"Olympic Games Table Tennis",provider:I.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:l.SET,isDrawAvailable:!1},d[T.MOTOGP]={sport:t.MOTOSPORT,id:T.MOTOGP,label:"MotoGP",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.SAUDI_PROFESSIONAL_LEAGUE]={sport:t.SOCCER,id:T.SAUDI_PROFESSIONAL_LEAGUE,label:"Saudi Professional League",opticOddsName:"Saudi Arabia - Saudi League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SUMMER_OLYMPICS_WATERPOLO]={sport:t.WATERPOLO,id:T.SUMMER_OLYMPICS_WATERPOLO,label:"Olympic Games Water Polo",opticOddsName:"Olympics Water Polo",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.QUARTER,isDrawAvailable:!0},d[T.SUMMER_OLYMPICS_VOLEYBALL_WOMEN]={sport:t.VOLLEYBALL,id:T.SUMMER_OLYMPICS_VOLEYBALL_WOMEN,label:"Olympic Games Volleyball Women",opticOddsName:"Olympics Volleyball Women",provider:I.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:l.SET,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_VOLEYBALL]={sport:t.VOLLEYBALL,id:T.SUMMER_OLYMPICS_VOLEYBALL,label:"Olympic Games Volleyball",opticOddsName:"Olympics Volleyball Men",provider:I.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:l.SET,isDrawAvailable:!1},d[T.BOXING]={sport:t.FIGHTING,id:T.BOXING,label:"Boxing",provider:I.EMPTY,scoringType:N.ROUNDS,matchResolveType:s.EMPTY,periodType:l.ROUND,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_RUGBY]={sport:t.RUGBY,id:T.SUMMER_OLYMPICS_RUGBY,label:"Olympic Games Rugby",opticOddsName:"Olympics Rugby 7s Men",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SUMMER_OLYMPICS_RUGBY_WOMEN]={sport:t.RUGBY,id:T.SUMMER_OLYMPICS_RUGBY_WOMEN,label:"Olympic Games Rugby Women",opticOddsName:"Olympics Rugby 7s Women",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SUMMER_OLYMPICS_HOCKEY_WOMEN]={sport:t.HOCKEY,id:T.SUMMER_OLYMPICS_HOCKEY_WOMEN,label:"Olympic Games Hockey Women",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.PERIOD,isDrawAvailable:!0},d[T.SUMMER_OLYMPICS_HOCKEY]={sport:t.HOCKEY,id:T.SUMMER_OLYMPICS_HOCKEY,label:"Olympic Games Hockey",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.PERIOD,isDrawAvailable:!0},d[T.UEFA_NATIONS_LEAGUE]={sport:t.SOCCER,id:T.UEFA_NATIONS_LEAGUE,label:"UEFA Nations League",provider:I.OPTICODDS,opticOddsName:"UEFA - Nations League",scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.CONCACAF_NATIONS_LEAGUE]={sport:t.SOCCER,id:T.CONCACAF_NATIONS_LEAGUE,label:"CONCACAF Nations League",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.CSGO]={sport:t.ESPORTS,id:T.CSGO,label:"CS GO",opticOddsName:"CS2",provider:I.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:l.MAP,isDrawAvailable:!1},d[T.DOTA2]={sport:t.ESPORTS,id:T.DOTA2,label:"DOTA 2",opticOddsName:"Dota 2",provider:I.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:l.MAP,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_BASKETBALL_3X3]={sport:t.BASKETBALL,id:T.SUMMER_OLYMPICS_BASKETBALL_3X3,label:"Olympic Games Basketball 3x3",opticOddsName:"Olympics Basketball 3x3 Men",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_BASKETBALL_3X3_WOMEN]={sport:t.BASKETBALL,id:T.SUMMER_OLYMPICS_BASKETBALL_3X3_WOMEN,label:"Olympic Games Basketball 3x3 Women",opticOddsName:"Olympics Basketball 3x3 Women",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.SUMMER_OLYMPICS_QUALIFICATION]={sport:t.BASKETBALL,id:T.SUMMER_OLYMPICS_QUALIFICATION,label:"Summer Olympics Basketball Qualification",provider:I.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.LOL]={sport:t.ESPORTS,id:T.LOL,label:"LOL",opticOddsName:"League of Legends",provider:I.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:l.MAP,isDrawAvailable:!1},d[T.CONMEBOL_WC_QUALIFICATIONS]={sport:t.SOCCER,id:T.CONMEBOL_WC_QUALIFICATIONS,label:"CONMEBOL WC Qualification",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.UEFA_CONFERENCE_LEAGUE]={sport:t.SOCCER,id:T.UEFA_CONFERENCE_LEAGUE,label:"UEFA Conference League",opticOddsName:"UEFA - Europa Conference League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.NON_TITLE_BOXING]={sport:t.FIGHTING,id:T.NON_TITLE_BOXING,label:"Boxing",provider:I.EMPTY,scoringType:N.ROUNDS,matchResolveType:s.EMPTY,periodType:l.ROUND,isDrawAvailable:!1},d[T.UEFA_CHAMPIONS_LEAGUE_QUALIFICATION]={sport:t.SOCCER,id:T.UEFA_CHAMPIONS_LEAGUE_QUALIFICATION,label:"UEFA Champions League Qualification",opticOddsName:"UEFA - Champions League",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.UEFA_EUROPA_LEAGUE_QUALIFICATION]={sport:t.SOCCER,id:T.UEFA_EUROPA_LEAGUE_QUALIFICATION,label:"UEFA Europa League Qualification",opticOddsName:"UEFA - Europa League",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.UEFA_CONFERENCE_LEAGUE_QUALIFICATION]={sport:t.SOCCER,id:T.UEFA_CONFERENCE_LEAGUE_QUALIFICATION,label:"UEFA Conference League Qualification",opticOddsName:"UEFA - Europa Conference League",provider:I.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.US_ELECTION]={sport:t.POLITICS,id:T.US_ELECTION,label:"US Election 2024",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.UEFA_SUPER_CUP]={sport:t.SOCCER,id:T.UEFA_SUPER_CUP,label:"UEFA Super Cup",opticOddsName:"UEFA - Super Cup",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.BRAZIL_CUP]={sport:t.SOCCER,id:T.BRAZIL_CUP,label:"Copa do Brasil",opticOddsName:"Brazil - Copa do Brasil",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.ENGLAND_CHAMPIONSHIP]={sport:t.SOCCER,id:T.ENGLAND_CHAMPIONSHIP,label:"EFL Championship",opticOddsName:"England - Championship",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SCOTLAND_PREMIERSHIP]={sport:t.SOCCER,id:T.SCOTLAND_PREMIERSHIP,label:"Scotland Premiership",opticOddsName:"Scotland - Premiership",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.BELGIUM_LEAGUE]={sport:t.SOCCER,id:T.BELGIUM_LEAGUE,label:"Belgium Jupiler Pro League",opticOddsName:"Belgium - Jupiler Pro League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.CZECH_LEAGUE]={sport:t.SOCCER,id:T.CZECH_LEAGUE,label:"Czech Republic FNL",opticOddsName:"Czech Republic - FNL",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.CHILE_PRIMERA]={sport:t.SOCCER,id:T.CHILE_PRIMERA,label:"Chile Primera Division",opticOddsName:"Chile - Primera Division",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.FINLAND_LEAGUE]={sport:t.SOCCER,id:T.FINLAND_LEAGUE,label:"Finland Veikkausliiga",opticOddsName:"Finland - Veikkausliiga",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.ARGENTINA_PRIMERA]={sport:t.SOCCER,id:T.ARGENTINA_PRIMERA,label:"Argentina Primera Division",opticOddsName:"Argentina - Primera Division",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.RUSSIA_PREMIER]={sport:t.SOCCER,id:T.RUSSIA_PREMIER,label:"Russia Premier League",opticOddsName:"Russia - Premier League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.TURKEY_SUPER_LEAGUE]={sport:t.SOCCER,id:T.TURKEY_SUPER_LEAGUE,label:"Turkey Super Lig",opticOddsName:"Turkey - Super Lig",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SERBIA_SUPER_LEAGUE]={sport:t.SOCCER,id:T.SERBIA_SUPER_LEAGUE,label:"Serbia Super Liga",opticOddsName:"Serbia - Super Liga",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.GREECE_SUPER_LEAGUE]={sport:t.SOCCER,id:T.GREECE_SUPER_LEAGUE,label:"Greece Super League",opticOddsName:"Greece - Super League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.INDIA_PREMIER]={sport:t.SOCCER,id:T.INDIA_PREMIER,label:"India Calcutta Premier Division",opticOddsName:"India - Calcutta Premier Division",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.CHINA_SUPER_LEAGUE]={sport:t.SOCCER,id:T.CHINA_SUPER_LEAGUE,label:"China Super League",opticOddsName:"China - Super League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.AUSTRALIA_A_LEAGUE]={sport:t.SOCCER,id:T.AUSTRALIA_A_LEAGUE,label:"Australia A-League",opticOddsName:"Australia - A-League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SWITZERLAND_SUPER_LEAGUE]={sport:t.SOCCER,id:T.SWITZERLAND_SUPER_LEAGUE,label:"Switzerland Super League",opticOddsName:"Switzerland - Super League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.BUNDESLIGA_2]={sport:t.SOCCER,id:T.BUNDESLIGA_2,label:"Bundesliga 2",opticOddsName:"Germany - Bundesliga 2",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.LA_LIGA_2]={sport:t.SOCCER,id:T.LA_LIGA_2,label:"La Liga 2",opticOddsName:"Spain - La Liga 2",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SERIE_B]={sport:t.SOCCER,id:T.SERIE_B,label:"Serie B",opticOddsName:"Italy - Serie B",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.INDIA_SUPER_LEAGUE]={sport:t.SOCCER,id:T.INDIA_SUPER_LEAGUE,label:"India Super League",opticOddsName:"India - Super League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.LIGUE_2]={sport:t.SOCCER,id:T.LIGUE_2,label:"Ligue 2",opticOddsName:"France - Ligue 2",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.AUSTRIA_BUNDESLIGA]={sport:t.SOCCER,id:T.AUSTRIA_BUNDESLIGA,label:"Austria Bundesliga",opticOddsName:"Austria - Bundesliga",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.DENMARK_SUPER_LEAGUE]={sport:t.SOCCER,id:T.DENMARK_SUPER_LEAGUE,label:"Denmark Superliga",opticOddsName:"Denmark - Superliga",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.POLAND_LEAGUE]={sport:t.SOCCER,id:T.POLAND_LEAGUE,label:"Poland Ekstraklasa",opticOddsName:"Poland - Ekstraklasa",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SWEDEN_LEAGUE]={sport:t.SOCCER,id:T.SWEDEN_LEAGUE,label:"Sweden Allsvenskan",opticOddsName:"Sweden - Allsvenskan",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.COLOMBIA_PRIMERA_A]={sport:t.SOCCER,id:T.COLOMBIA_PRIMERA_A,label:"Colombia Primera A",opticOddsName:"Colombia - Primera A",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.ENGLAND_EFL_CUP]={sport:t.SOCCER,id:T.ENGLAND_EFL_CUP,label:"England EFL Cup",opticOddsName:"England - EFL Cup",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.ENGLAND_LEGAUE_1]={sport:t.SOCCER,id:T.ENGLAND_LEGAUE_1,label:"England League 1",opticOddsName:"England - League 1",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.URUGUAY_PRIMERA_DIVISION]={sport:t.SOCCER,id:T.URUGUAY_PRIMERA_DIVISION,label:"Uruguay Primera Division",opticOddsName:"Uruguay - Primera Division",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.AFC_CHAMPIONS_LEAGUE]={sport:t.SOCCER,id:T.AFC_CHAMPIONS_LEAGUE,label:"AFC Champions League",opticOddsName:"AFC - Champions League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.ITALY_SUPER_CUP]={sport:t.SOCCER,id:T.ITALY_SUPER_CUP,label:"Italy Super Cup",opticOddsName:"Italy - Supercoppa",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.FRANCE_SUPER_CUP]={sport:t.SOCCER,id:T.FRANCE_SUPER_CUP,label:"France Super Cup",opticOddsName:"France - Super Cup",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SPAIN_SUPER_CUP]={sport:t.SOCCER,id:T.SPAIN_SUPER_CUP,label:"Spain Super Cup",opticOddsName:"Spain - Supercopa",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.GERMANY_SUPER_CUP]={sport:t.SOCCER,id:T.GERMANY_SUPER_CUP,label:"Germany Super Cup",opticOddsName:"Germany - Super Cup",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.PORTUGAL_LEAGUE_CUP]={sport:t.SOCCER,id:T.PORTUGAL_LEAGUE_CUP,label:"Portugal League Cup",opticOddsName:"Portugal - League Cup",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.THAILAND_LEAGUE_1]={sport:t.SOCCER,id:T.THAILAND_LEAGUE_1,label:"Thai League 1",opticOddsName:"Thailand - Thai League 1",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.NETHERLANDS_CUP]={sport:t.SOCCER,id:T.NETHERLANDS_CUP,label:"Netherlands KNVB Beker",opticOddsName:"Netherlands - KNVB Beker",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.PORTUGAL_CUP]={sport:t.SOCCER,id:T.PORTUGAL_CUP,label:"Taca de Portugal",opticOddsName:"Portugal - Taca de Portugal",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.ENGLAND_SUPER_LEAGUE_WOMEN]={sport:t.SOCCER,id:T.ENGLAND_SUPER_LEAGUE_WOMEN,label:"England Women's Super League",opticOddsName:"England - Womens Super League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.ITALY_SERIE_A_WOMEN]={sport:t.SOCCER,id:T.ITALY_SERIE_A_WOMEN,label:"Italy Serie A Femminile",opticOddsName:"Italy - Serie A Femminile",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.FRANCE_PREMIERE_LIGUE_WOMEN]={sport:t.SOCCER,id:T.FRANCE_PREMIERE_LIGUE_WOMEN,label:"France Premiere Ligue Women",opticOddsName:"France - Premiere Ligue",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.GERMANY_BUNDESLIGA_WOMEN]={sport:t.SOCCER,id:T.GERMANY_BUNDESLIGA_WOMEN,label:"Germany Frauen Bundesliga",opticOddsName:"Germany - Frauen Bundesliga",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.SPAIN_LIGA_F_WOMEN]={sport:t.SOCCER,id:T.SPAIN_LIGA_F_WOMEN,label:"Spain - Liga F Women",opticOddsName:"Spain - Liga F",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.NETHERLANDS_EREDIVISIE_WOMEN]={sport:t.SOCCER,id:T.NETHERLANDS_EREDIVISIE_WOMEN,label:"Netherlands Eredivisie Women",opticOddsName:"Netherlands - Vrouwen Eredivisie",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.BELGIUM_SUPER_LEAGUE_WOMEN]={sport:t.SOCCER,id:T.BELGIUM_SUPER_LEAGUE_WOMEN,label:"Belgium Women's Super League",opticOddsName:"Belgium - Womens Super League",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.UEFA_CHAMPIONS_LEAGUE_WOMEN]={sport:t.SOCCER,id:T.UEFA_CHAMPIONS_LEAGUE_WOMEN,label:"UEFA Champions League Women",opticOddsName:"UEFA - Champions League Women",provider:I.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:l.HALF,isDrawAvailable:!0},d[T.EUROCUP]={sport:t.BASKETBALL,id:T.EUROCUP,label:"Eurocup",opticOddsName:"Eurocup",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.SPAIN_LIGA_ACB]={sport:t.BASKETBALL,id:T.SPAIN_LIGA_ACB,label:"Spain Liga ACB",opticOddsName:"Spain - Liga ACB",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.ITALY_LEGA_BASKET_SERIE_A]={sport:t.BASKETBALL,id:T.ITALY_LEGA_BASKET_SERIE_A,label:"Italy Lega Basket Serie A",opticOddsName:"Italy - Lega Basket Serie A",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.GERMANY_BBL]={sport:t.BASKETBALL,id:T.GERMANY_BBL,label:"Germany BBL",opticOddsName:"Germany - BBL",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.FRANCE_LNB_PRO_A]={sport:t.BASKETBALL,id:T.FRANCE_LNB_PRO_A,label:"France LNB Pro A",opticOddsName:"France - LNB Pro A",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.CHINA_CBA]={sport:t.BASKETBALL,id:T.CHINA_CBA,label:"China CBA",opticOddsName:"China - CBA",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.AUSTRALIA_NBL]={sport:t.BASKETBALL,id:T.AUSTRALIA_NBL,label:"Australia NBL",opticOddsName:"Australia - NBL",provider:I.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:l.QUARTER,isDrawAvailable:!1},d[T.ROCKET_LEAGUE]={sport:t.ESPORTS,id:T.ROCKET_LEAGUE,label:"Rocket League",opticOddsName:"Rocket League",provider:I.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:l.MAP,isDrawAvailable:!1},d[T.CALL_OF_DUTY]={sport:t.ESPORTS,id:T.CALL_OF_DUTY,label:"Call of Duty",opticOddsName:"Call of Duty",provider:I.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:l.MAP,isDrawAvailable:!1},d[T.STARCRAFT]={sport:t.ESPORTS,id:T.STARCRAFT,label:"Starcraft",opticOddsName:"Starcraft",provider:I.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:l.MAP,isDrawAvailable:!1},d[T.VALORANT]={sport:t.ESPORTS,id:T.VALORANT,label:"Valorant",opticOddsName:"Valorant",provider:I.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:l.MAP,isDrawAvailable:!1},d[T.NFL_FUTURES]={sport:t.FUTURES,id:T.NFL_FUTURES,label:"NFL Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.NBA_FUTURES]={sport:t.FUTURES,id:T.NBA_FUTURES,label:"NBA Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.NHL_FUTURES]={sport:t.FUTURES,id:T.NHL_FUTURES,label:"NHL Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.EPL_FUTURES]={sport:t.FUTURES,id:T.EPL_FUTURES,label:"EPL Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.LIGUE_ONE_FUTURES]={sport:t.FUTURES,id:T.LIGUE_ONE_FUTURES,label:"Ligue 1 Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.BUNDESLIGA_FUTURES]={sport:t.FUTURES,id:T.BUNDESLIGA_FUTURES,label:"Bundesliga Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.LA_LIGA_FUTURES]={sport:t.FUTURES,id:T.LA_LIGA_FUTURES,label:"La Liga",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.SERIE_A_FUTURES]={sport:t.FUTURES,id:T.SERIE_A_FUTURES,label:"Serie A Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.UEFA_CHAMPIONS_LEAGUE_FUTURES]={sport:t.FUTURES,id:T.UEFA_CHAMPIONS_LEAGUE_FUTURES,label:"UEFA Champions League Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.ATP_FUTURES]={sport:t.FUTURES,id:T.ATP_FUTURES,label:"ATP Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.EUROLEAGUE_FUTURES]={sport:t.FUTURES,id:T.EUROLEAGUE_FUTURES,label:"Euroleague Futures",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.GOLF_H2H]={sport:t.GOLF,id:T.GOLF_H2H,label:"Golf head-to-head",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d[T.GOLF_WINNER]={sport:t.GOLF,id:T.GOLF_WINNER,label:"Golf Tournament Winner",provider:I.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:l.EMPTY,isDrawAvailable:!1},d),c=[T.CSGO,T.DOTA2,T.LOL,T.VALORANT,T.ROCKET_LEAGUE,T.CALL_OF_DUTY,T.STARCRAFT,T.TENNIS_GS,T.TENNIS_MASTERS,T.SUMMER_OLYMPICS_TENNIS,T.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_0,T.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_1,T.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_2,T.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_3,T.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_4,T.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_5,T.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_6,T.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_7,T.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_0,T.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_1,T.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_2,T.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_3,T.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_4,T.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_5,T.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_6,T.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_7,T.TENNIS_MASTERS_LIVE_MAPPING_V2_1,T.TENNIS_MASTERS_LIVE_MAPPING_V2_2,T.TENNIS_MASTERS_LIVE_MAPPING_V2_3,T.TENNIS_MASTERS_LIVE_MAPPING_V2_4,T.TENNIS_MASTERS_LIVE_MAPPING_V2_5,T.TENNIS_MASTERS_LIVE_MAPPING_V2_6,T.TENNIS_MASTERS_LIVE_MAPPING_V2_7,T.TENNIS_MASTERS_LIVE_MAPPING_V2_8,T.TENNIS_MASTERS_LIVE_MAPPING_V2_9,T.TENNIS_MASTERS_LIVE_MAPPING_V2_10,T.TENNIS_MASTERS_LIVE_MAPPING_V2_11,T.TENNIS_MASTERS_LIVE_MAPPING_V2_12,T.TENNIS_MASTERS_LIVE_MAPPING_V2_13,T.TENNIS_MASTERS_LIVE_MAPPING_V2_14,T.TENNIS_MASTERS_LIVE_MAPPING_V2_15,T.TENNIS_MASTERS_LIVE_MAPPING_V2_16,T.TENNIS_MASTERS_LIVE_MAPPING_V2_17,T.TENNIS_MASTERS_LIVE_MAPPING_V2_18,T.TENNIS_MASTERS_LIVE_MAPPING_V2_19,T.TENNIS_MASTERS_LIVE_MAPPING_V2_20,T.TENNIS_MASTERS_LIVE_MAPPING_V2_21,T.TENNIS_MASTERS_LIVE_MAPPING_V2_22,T.TENNIS_WTA_LIVE_MAPPING_V2_1,T.TENNIS_WTA_LIVE_MAPPING_V2_2,T.TENNIS_WTA_LIVE_MAPPING_V2_3,T.TENNIS_WTA_LIVE_MAPPING_V2_4,T.TENNIS_WTA_LIVE_MAPPING_V2_5,T.TENNIS_WTA_LIVE_MAPPING_V2_6,T.TENNIS_WTA_LIVE_MAPPING_V2_7,T.TENNIS_WTA_LIVE_MAPPING_V2_8,T.TENNIS_WTA_LIVE_MAPPING_V2_9,T.TENNIS_WTA_LIVE_MAPPING_V2_10,T.TENNIS_WTA_LIVE_MAPPING_V2_11,T.TENNIS_WTA_LIVE_MAPPING_V2_12,T.TENNIS_WTA_LIVE_MAPPING_V2_13,T.TENNIS_WTA_LIVE_MAPPING_V2_14,T.TENNIS_WTA_LIVE_MAPPING_V2_15,T.TENNIS_WTA_LIVE_MAPPING_V2_16,T.TENNIS_WTA_LIVE_MAPPING_V2_17,T.TENNIS_WTA_LIVE_MAPPING_V2_18,T.TENNIS_WTA_LIVE_MAPPING_V2_19,T.TENNIS_WTA_LIVE_MAPPING_V2_20,T.TENNIS_WTA_LIVE_MAPPING_V2_21,T.TENNIS_WTA_LIVE_MAPPING_V2_22,T.TENNIS_WTA_LIVE_MAPPING_V2_23],C=[T.SUMMER_OLYMPICS_RUGBY,T.SUMMER_OLYMPICS_RUGBY_WOMEN],U=[T.NCAAF,T.NFL,T.MLB,T.NBA,T.NCAAB,T.NHL,T.WNBA,T.MLS,T.IPL,T.T20_BLAST],u=[701,702,703,704],m={1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21},G={320:18,6:24,33:33,16:42,44:44,45:45,11:47,50:50,12:53,13:54,15:55,57:57,61:61,65:65,66:66,17:73,76:76,14:87,152:152,153:153,156:156,158:158,132:132,134:134,138:138,141:141,209:209,230:230,268:268,288:288,296:296,310:310,319:319,322:322,327:327,380:380,381:381,399:399,406:406,407:407,409:409,445:445,453:453,454:454,497:497,536:536,8881:8881,8893:8893,8894:8894,8910:8910,9196:9196,9578:9578,9588:9588,9698:9698,9699:9699,9806:9806,9821:9821,9977:9977,9983:9983,10071:10071,10072:10072,10502:10502,10138:10138,10199:10199,10216:10216,10595:10595,10611:10611,10613:10613,10615:10615},y={1:"NCAAF",2:"NFL",3:"MLB",4:"NBA",5:"NCAAB",6:"NHL",7:"UFC",8:"WNBA",10:"USA - Major League Soccer",11:"England - Premier League",12:"France - Ligue 1",13:"Germany - Bundesliga",14:"Spain - La Liga",15:"Italy - Serie A",16:"UEFA - Champions League",17:"UEFA - Europa League",18:"FIFA - World Cup Qualifiers",19:"Japan - J1 League",45:"CONMEBOL - Copa Libertadores",57:"Netherlands - Eredivisie",61:"Portugal - Primeira Liga",132:"England - FA Cup",134:"France - Coupe de France",138:"Spain - Copa del Rey",152:"WTA",156:"ATP",141:"Italy - Coppa Italia",209:"Germany - DFB Pokal",230:"Mexico - Liga MX",268:"Brazil - Serie A",399:"Euroleague",536:"Saudi Arabia - Saudi League",9806:"UEFA - Nations League",9977:"CS2",9983:"Dota 2",10138:"League of Legends",10216:"UEFA - Europa Conference League",20001:"UEFA - Super Cup",20002:"Brazil - Copa do Brasil",20011:"England - Championship",20101:"Scotland - Premiership",20102:"Belgium - Jupiler Pro League",20103:"Czech Republic - FNL",20104:"Chile - Primera Division",20105:"Finland - Veikkausliiga",20106:"Argentina - Primera Division",20107:"Russia - Premier League",20108:"Turkey - Super Lig",20109:"Serbia - Super Liga",20110:"Greece - Super League",20111:"India - Calcutta Premier Division",20112:"China - Super League",20113:"Australia - A-League",20114:"Switzerland - Super League",20115:"Germany - Bundesliga 2",20116:"Spain - La Liga 2",20117:"Italy - Serie B",20118:"India - Super League",20119:"France - Ligue 2",20120:"Austria - Bundesliga",20121:"Denmark - Superliga",20122:"Poland - Ekstraklasa",20123:"Sweden - Allsvenskan",20124:"Colombia - Primera A",20125:"England - EFL Cup",20126:"England - League 1",20127:"Uruguay - Primera Division",20128:"AFC - Champions League",20129:"Italy - Supercoppa",20130:"France - Super Cup",20131:"Spain - Supercopa",20132:"Germany - Super Cup",20133:"Portugal - League Cup",20134:"Thailand - Thai League 1",20135:"Netherlands - KNVB Beker",20136:"Portugal - Taca de Portugal",20137:"England - Womens Super League",20138:"Italy - Serie A Femminile",20139:"France - Premiere Ligue",20140:"Germany - Frauen Bundesliga",20141:"Spain - Liga F",20142:"Netherlands - Vrouwen Eredivisie",20143:"Belgium - Womens Super League",20144:"UEFA - Champions League Women",20200:"Eurocup",20201:"Spain - Liga ACB",20202:"Italy - Lega Basket Serie A",20203:"Germany - BBL",20204:"France - LNB Pro A",20205:"China - CBA",20206:"Australia - NBL",20297:"Rocket League",20298:"Call of Duty",20299:"Starcraft",20300:"Valorant"},v=function(e){var r=M[e];return r?r.sport:t.EMPTY},D=function(e){var r=M[e];return r?r.label:""},g=function(e){var r=M[e];return r?r.provider:""},F=function(e){var r=M[e];return!!r&&r.isDrawAvailable},b=function(e){var r=M[e];return r?r.periodType:""},V=function(e){var r=M[e];return r?r.opticOddsName:void 0},B=function(e){var r=new Set;return e.filter((function(e){return"true"===e.enabled})).map((function(e){return r.add(Number(e.sportId))})),Array.from(r)},h=function(e,r){var a=new Set;return r.filter((function(r){return Number(r.sportId)===Number(e)&&"true"===r.enabled})).map((function(e){return a.add(e.marketName)})),Array.from(a)},w=function(e,r){return r.filter((function(r){return Number(r.sportId)===e}))},f=function(e,r){return r.filter((function(r){return Number(r.sportId)===Number(e)&&"Spread"===r.type&&"true"===r.enabled})).map((function(e){return e.marketName.toLowerCase()}))},Y=function(e,r){return r.filter((function(r){return Number(r.sportId)===Number(e)&&"Total"===r.type&&"true"===r.enabled})).map((function(e){return e.marketName.toLowerCase()}))},W=function(e,r,a,E,i,_){var A,o;if(c.includes(e)?(A=E.toLowerCase()==r.toLowerCase()||E.toLowerCase()==a.toLowerCase(),o=i.toLowerCase()==r.toLowerCase()||i.toLowerCase()==a.toLowerCase()):(A=E.toLowerCase()==r.toLowerCase(),o=i.toLowerCase()==a.toLowerCase()),!0!==A){var t=_.get(E.toLowerCase()),T=_.get(r.toLowerCase()),p=_.get(a.toLowerCase());if([t,T].some((function(e){return null==e})))return!1;A=c.includes(e)?t==T||t==p:t==T}if(!0!==o){var L=_.get(i.toLowerCase());if(T=_.get(r.toLowerCase()),[L,p=_.get(a.toLowerCase())].some((function(e){return null==e})))return!1;o=c.includes(e)&&L==T||L==p}return A&&o},H=function(e,r,a,E){var i;if(v(a)==t.TENNIS){var _=r.getTime(),A=e.getTime();i=Math.abs(A-_)<=Number(60*E*1e3)}else i=r.toUTCString()==e.toUTCString();return i},k=0,K="Draw",Q=0,x=.2,j=10001,X=10002,z=100,Z=":",J="_",$=function(e,r,a){if(e.some((function(e){return 0===e})))return e;var E=e.reduce((function(e,r){return e+r}),0);if(E<=1)return Array(e.length).fill(0);if(0===a){if(!(r>100*(E-1)))return e;a=r}var i=1+a/100,_=i/E,A=e.map((function(e){return e*_}));if(A.some((function(e){return e>=1})))return Array(e.length).fill(0);var o=A.reduce((function(e,r){return e+r}),0);if(o<1)return Array(e.length).fill(0);var t=i/o;return A.map((function(e){return e*t}))},q=function(e,r,a,E){var i=e.find((function(e){return Number(e.typeId)===Number(a)&&Number(e.sportId)===Number(r)}));return i?{minSpread:i.minSpread?Number(i.minSpread):E,targetSpread:i.targetSpread?Number(i.targetSpread):0}:{minSpread:E,targetSpread:0}},ee=function(e,r,a){return e.map((function(e){if(0!=e){var E=r.find((function(e){return Number(e.typeId)===Number(a)})),i=e;return e<.95&&E&&Number(E.addedSpread)&&(i=e*(100+Number(E.addedSpread))/100)>=1&&(i=e),i}return 0}))},re=function(){return re=Object.assign||function(e){for(var r,a=1,E=arguments.length;a<E;a++)for(var i in r=arguments[a])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},re.apply(this,arguments)},ae=function(e,r,a){if(a||2===arguments.length)for(var E,i=0,_=r.length;i<_;i++)!E&&i in r||(E||(E=Array.prototype.slice.call(r,0,i)),E[i]=r[i]);return e.concat(E||Array.prototype.slice.call(r))},Ee=function(e){return e===k?0:ie("decimal","impliedProbability",e)},ie=function(e,r,a){try{return n(e,a).to(r)}catch(e){return 0}},_e=function(e,r,a,E,i){var _=new Map;return a.forEach((function(a){var A=0,o=e.filter((function(e){return e&&e.marketName.toLowerCase()===r.toLowerCase()&&e.sportsBookName.toLowerCase()==a.toLowerCase()&&e.selection.toLowerCase()===E.homeTeam.toLowerCase()}));0!==o.length&&(A=o[0].price);var t=0,T=e.filter((function(e){return e&&e.marketName.toLowerCase()===r.toLowerCase()&&e.sportsBookName.toLowerCase()==a.toLowerCase()&&e.selection.toLowerCase()===E.awayTeam.toLowerCase()}));0!==T.length&&(t=T[0].price);var p=0;if(!i){var L=e.filter((function(e){return e&&e.marketName.toLowerCase()===r.toLowerCase()&&e.sportsBookName.toLowerCase()==a.toLowerCase()&&e.selection.toLowerCase()===K.toLowerCase()}));0!==L.length&&(p=L[0].price)}_.set(a.toLowerCase(),{homeOdds:A,awayOdds:t,drawOdds:p})})),_},Ae=function(e,r,a,E,i,_,A){var o={homeTeam:E.homeTeam,awayTeam:E.awayTeam},t=_e(E.odds,p.MONEYLINE,a,o,e),T=O(t,a,e,A,x);if(T.errorMessage)return{odds:e?[0,0]:[0,0,0],errorMessage:T.errorMessage};var L=(e?[T.homeOdds,T.awayOdds]:[T.homeOdds,T.awayOdds,T.drawOdds]).map((function(e){return Ee(e)})),S=q(r,i,Q,_);return{odds:L=null!==S?$(L,S.minSpread,S.targetSpread):$(L,_,0)}},oe=function(e,r,a,E,i,_){var A=[[],[],[],[]],o=A[0],t=A[1],T=A[2],p=A[3],L=w(a,_),S={homeTeam:e.homeTeam,awayTeam:e.awayTeam};if(L.length>0){te(e.odds,L,E[0]).forEach((function(e){"Total"===e.type?.5===Math.abs(Number(e.points)%1)&&t.push(e):"Spread"===e.type?.5===Math.abs(Number(e.points)%1)&&o.push(e):"Moneyline"===e.type&&T.push(e)}));var N=ae(ae(ae([],Te(o,S),!0),pe(t,S),!0),Le(T,S),!0);Se(N,r,i).forEach((function(e){var r={leagueId:Number(e.sportId),typeId:Number(e.typeId),type:e.type.toLowerCase(),line:Number(e.line||0),odds:e.odds},a=L.find((function(r){return Number(r.typeId)===Number(e.typeId)})),E=null==a?void 0:a.minOdds,i=null==a?void 0:a.maxOdds;E&&i&&(e.odds[0]>=E||e.odds[0]<=i||e.odds[1]>=E||e.odds[1]<=i)||p.push(r)}))}else console.warn("No child markets for leagueID: ".concat(Number(a)));return p},te=function(e,r,a){var E=r.filter((function(e){return e.marketName.toLowerCase()!==p.MONEYLINE.toLowerCase()&&"true"===e.enabled})).map((function(e){return e.marketName.toLowerCase()}));return e.filter((function(e){return E.includes(e.marketName.toLowerCase())&&e.sportsBookName.toLowerCase()==a.toLowerCase()})).map((function(e){return re(re({},e),r.find((function(r){return r.marketName.toLowerCase()===e.marketName.toLowerCase()})))}))},Te=function(e,r){var a=e.reduce((function(e,a){var E=a.points,i=a.marketName,_=a.price,A=a.selection,o=a.typeId,t=a.sportId,T=a.type,p=A===r.homeTeam,L="".concat(i,"_").concat(p?E:-E);return e[L]||(e[L]={home:null,away:null,typeId:null,sportId:null}),p?e[L].home=_:e[L].away=_,e[L].typeId=o,e[L].type=T,e[L].sportId=t,e}),{}),E=Object.entries(a).reduce((function(e,r){var a=r[0],E=r[1],i=a.split("_"),_=(i[0],i[1]),A=parseFloat(_);return null!==E.home&&null!==E.away&&e.push({line:A,odds:[E.home,E.away],typeId:E.typeId,sportId:E.sportId,type:E.type}),e}),[]);return E},pe=function(e,r){var a=e.reduce((function(e,r){if(r){var a="".concat(r.marketName,"_").concat(r.selection,"_").concat(r.points);e[a]||(e[a]={over:null,under:null}),"over"===r.selectionLine?e[a].over=r.price:"under"===r.selectionLine&&(e[a].under=r.price),e[a].typeId=r.typeId,e[a].type=r.type,e[a].sportId=r.sportId}return e}),{}),E=Object.entries(a).reduce((function(e,a){var E=a[0],i=a[1],_=E.split("_"),A=(_[0],_[1]),o=_[2],t=parseFloat(o),T=A===r.awayTeam;return null!==i.over&&null!==i.under&&e.push({line:t,odds:[i.over,i.under],typeId:T?Number(i.typeId)+1:i.typeId,sportId:i.sportId,type:i.type}),e}),[]);return E},Le=function(e,r){var a=e.reduce((function(e,a){var E=a.price,i=a.selection,_=a.typeId,A=a.sportId,o=a.type,t=_;return e[t]||(e[t]={home:null,away:null,draw:null,typeId:null,sportId:null}),i.toLowerCase()===r.homeTeam.toLowerCase()?e[t].home=E:i.toLowerCase()===r.awayTeam.toLowerCase()?e[t].away=E:i.toLowerCase()===K.toLowerCase()&&(e[t].draw=E),e[t].typeId=_,e[t].type=o,e[t].sportId=A,e}),{}),E=Object.entries(a).reduce((function(e,r){r[0];var a=r[1];return null!==a.home&&null!==a.away&&e.push({odds:a.draw?[a.home,a.away,a.draw]:[a.home,a.away],typeId:a.typeId,sportId:a.sportId,type:a.type}),e}),[]);return E},Se=function(e,r,a){var E=[];return e.forEach((function(e){var i=3===e.odds.length,_=Ee(e.odds[0])||k,A=Ee(e.odds[1])||k,o=Ee(e.odds[2])||k,t=i?[_,A,o]:[_,A];if(!(_===k||A===k||i&&o===k)){var T,p=q(r,e.sportId,e.typeId,a);T=null!==p?$(t,p.minSpread,p.targetSpread):$(t,a,0),E.push(re(re({},e),{odds:T}))}})),E},Ne=function(){return Ne=Object.assign||function(e){for(var r,a=1,E=arguments.length;a<E;a++)for(var i in r=arguments[a])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},Ne.apply(this,arguments)},se=function(e,r,a,E,i,_,A,o){var t=E.filter((function(r){return r.sportId===String(e.leagueId)})),T=w(e.leagueId,o),p=Ae(!i,t,a,r,e.leagueId,_,A),L=ee(p.odds,T,e.typeId);p.errorMessage?(e.odds=e.odds.map((function(){return{american:0,decimal:0,normalizedImplied:0}})),e.errorMessage=p.errorMessage):e.odds=L.map((function(r){return 0!=r?{american:n("impliedProbability",r).to("moneyline"),decimal:Number(n("impliedProbability",r).to("decimal").toFixed(10)),normalizedImplied:r}:(e.errorMessage="Bad odds after spread adjustment",{american:0,decimal:0,normalizedImplied:0})}));var S=oe(r,t,e.leagueId,a,_,o).map((function(r){var a=Ne(Ne({},e),r),E=ee(a.odds,T,a.typeId);return a.odds.length>0&&(a.odds=E.map((function(e){return 0==e?{american:0,decimal:0,normalizedImplied:0}:{american:n("impliedProbability",e).to("moneyline"),decimal:Number(n("impliedProbability",e).to("decimal").toFixed(10)),normalizedImplied:e}}))),a}));return e.childMarkets=S,e},le=function(e,r,a){var E=v(r),i=e.homeTeam,_=e.homeTotal,A=e.awayTeam,o=e.awayTotal,T=e.clock,p=e.period,L=e.status,S=parseInt(p);return"completed"==L.toLowerCase()?{allow:!1,message:"Blocking game ".concat(i," - ").concat(A," because it is no longer live.")}:E===t.BASKETBALL?Ie(i,A,S,a.get(t.BASKETBALL)):E===t.HOCKEY?Ie(i,A,S,a.get(t.HOCKEY)):E===t.BASEBALL?Ie(i,A,S,a.get(t.BASEBALL)):E===t.SOCCER?de(i,A,T,p,a.get(t.SOCCER)):E===t.TENNIS?ne(e,i,A,p,_,o,r,E):E===t.VOLLEYBALL?ne(e,i,A,S,_,o,r,E):{allow:!0,message:"The sport ".concat(r," does not have constraint")}},Ie=function(e,r,a,E){return!Number.isNaN(a)&&a>=E?{allow:!1,message:"Blocking game ".concat(e," - ").concat(r," due to period: ").concat(a,". period")}:{allow:!0,message:""}},de=function(e,r,a,E,i){var _=Number(a);return!Number.isNaN(_)&&_>=i||Number.isNaN(_)&&"half"!=E.toLowerCase()?{allow:!1,message:"Blocking game ".concat(e," - ").concat(r," due to clock: ").concat(a,"min")}:{allow:!0,message:""}},ne=function(e,r,a,E,i,_,A,o){var p=Number(E),L=Re(p,e),S="atp"==e.league.toLowerCase(),N={home:i,away:_};return o==t.VOLLEYBALL?Oe(r,a,L,N,Pe,5==p?ce:Me):A.toString().startsWith(T.TENNIS_GS)&&S?Oe(r,a,L,N,Ce,ue):A.toString().startsWith(T.TENNIS_GS)&&!S||A.toString().startsWith(T.TENNIS_MASTERS)||A.toString().startsWith(T.SUMMER_OLYMPICS_TENNIS)||A.toString().startsWith(T.TENNIS_WTA)?Oe(r,a,L,N,Ue,ue):{allow:!0,message:"The sport ".concat(A," does not have result constraint")}},Re=function(e,r){var a=0,E=0;switch(e){case 1:a=Number(r.homePeriod1),E=Number(r.awayPeriod1);break;case 2:a=Number(r.homePeriod2),E=Number(r.awayPeriod2);break;case 3:a=Number(r.homePeriod3),E=Number(r.awayPeriod3);break;case 4:a=Number(r.homePeriod4),E=Number(r.awayPeriod4);break;case 5:a=Number(r.homePeriod5),E=Number(r.awayPeriod5)}return{home:a,away:E}},Oe=function(e,r,a,E,i,_){return Number(E.home)!=i&&Number(E.away)!=i||!(Number(E.home)==i&&a.home>=_||Number(E.away)==i&&a.away>=_)?{allow:!0,message:"",currentHomeGameScore:a.home,currentAwayGameScore:a.away}:{allow:!1,message:"Blocking game ".concat(e," - ").concat(r," due to current result: ").concat(E.home," - ").concat(E.away," (").concat(a.home," - ").concat(a.away,")")}},Pe=2,Me=20,ce=10,Ce=2,Ue=1,ue=5,me=a(168),Ge=a.n(me),ye=function(){return ye=Object.assign||function(e){for(var r,a=1,E=arguments.length;a<E;a++)for(var i in r=arguments[a])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},ye.apply(this,arguments)},ve=function(e){return e.map((function(e){return{gameId:e.id,startDate:e.start_date,homeTeam:e.home_team_display,awayTeam:e.away_team_display}}))},De=function(e){return e.map((function(e){return ye(ye({gameId:e.fixture.id,sport:e.sport.name,league:e.league.name.toLowerCase(),status:e.fixture.status?e.fixture.status.toLowerCase():e.fixture.status,isLive:e.fixture.is_live,clock:e.in_play.clock,period:e.in_play.period?e.in_play.period.toLowerCase():e.in_play.period,homeTeam:e.fixture.home_team_display,awayTeam:e.fixture.away_team_display,homeTotal:e.scores.home.total,awayTotal:e.scores.away.total},Fe(e.scores.home.periods,"home")),Fe(e.scores.away.periods,"away"))}))},ge=function(e){return e.map((function(e){return{gameId:e.id,startDate:e.start_date,homeTeam:e.home_team_display,awayTeam:e.away_team_display,isLive:e.is_live,status:e.status,sport:e.sport.id,league:e.league.name,odds:e.odds.map((function(r){return{id:r.id,sportsBookName:r.sportsbook,name:r.name,price:r.price,timestamp:r.timestamp,points:r.points,isMain:r.is_main,isLive:e.is_live,marketName:r.market.toLowerCase(),playerId:r.player_id,selection:r.selection,selectionLine:r.selection_line}}))}}))},Fe=function(e,r){return Object.values(e).reduce((function(e,a,E){var i;return ye(ye({},e),((i={})["".concat(r,"Period").concat(E+1)]=a,i))}),{})},be=function(e){return Ge()({input:e}).replace(/\0/g,"")},Ve=function(e){return e.replaceAll(" ","_").toLowerCase()},Be=function(e){if(!e.includes(Z))return e;var r=e.split(Z),a=r[0],E=r[1],i=Object.keys(y).find((function(e){return Ve(y[Number(e)])===a}));if(!i)throw"Optic Odds league ".concat(a," not mapped.");return"".concat(i).concat(J).concat(E)},he=function(e){if(!e.includes(J))return e;var r=e.split(J),a=r[0],E=r[1],i=y[Number(a)];if(!i)throw"Overtime league ID ".concat(a," not mapped.");return"".concat(Ve(i)).concat(Z).concat(E)},we=function(e){return Ge()({input:Be(e)})},fe=function(e){return he(be(e))}})(),E})()));
1
+ !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.thalesUtils=r():e.thalesUtils=r()}(this,(()=>(()=>{"use strict";var e={168:e=>{e.exports=({input:e="",ignoreLength:r=!1})=>{if(/^0x[0-9a-zA-Z]+$/.test(e))return function(e){let r="",a=0;for("0x"===e.substring(0,2)&&(a=2);a<e.length;a+=2){const E=parseInt(e.substr(a,2),16);r+=String.fromCharCode(E)}return r}(e);if(!r&&e.length>32)throw Error(`Input string is too long, must be maximum of 32. It is currently ${e.length}`);return function(e){if(!e)return"0x00";let r="";for(let a=0;a<e.length;a++){const E=e.charCodeAt(a).toString(16);r+=E.length<2?"0"+E:E}return"0x"+r}(e).padEnd(66,"0")}}},r={};function a(E){var i=r[E];if(void 0!==i)return i.exports;var A=r[E]={exports:{}};return e[E](A,A.exports,a),A.exports}a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var E in r)a.o(r,E)&&!a.o(e,E)&&Object.defineProperty(e,E,{enumerable:!0,get:r[E]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var E={};return(()=>{a.r(E),a.d(E,{AMERICAN_LEAGUES:()=>U,DRAW:()=>K,LEAGUES_NO_FORMAL_HOME_AWAY:()=>c,LEAGUES_NO_LIVE_CONSTRAINTS:()=>C,League:()=>L,LeagueIdMapEnetpulse:()=>G,LeagueIdMapOpticOdds:()=>y,LeagueIdMapRundown:()=>m,LeagueMap:()=>M,MIN_ODDS_FOR_DIFF_CHECKING:()=>x,MONEYLINE_TYPE_ID:()=>Q,MULTIPLIER_100:()=>Z,MatchResolveType:()=>s,MoneylineTypes:()=>T,OPTIC_ODDS_ID_SEPARATOR:()=>z,OVERTIME_ID_SEPARATOR:()=>J,PeriodType:()=>I,Provider:()=>l,ScoringType:()=>N,Sport:()=>t,SpreadTypes:()=>p,TAG_CHILD_SPREAD:()=>j,TAG_CHILD_TOTALS:()=>X,TotalTypes:()=>S,UFC_LEAGUE_IDS:()=>u,ZERO:()=>k,adjustAddedSpread:()=>ee,adjustSpreadOnChildOdds:()=>Se,adjustSpreadOnOdds:()=>$,allowGameSportWithPeriodConstraint:()=>le,allowGameSportWithResultConstraint:()=>ne,allowSoccerGame:()=>de,calculateImpliedOddsDifference:()=>P,checkGameContraints:()=>Ie,checkOddsFromBookmakers:()=>R,convertFromBytes32:()=>be,convertOddsToImpl:()=>Ee,createChildMarkets:()=>oe,fetchResultInCurrentSet:()=>Oe,filterOddsByMarketNameBookmaker:()=>te,filterOddsByMarketNameTeamNameBookmaker:()=>Ae,formatOpticOddsLeagueName:()=>Ve,gamesDatesMatching:()=>H,getBetTypesForLeague:()=>B,getBookmakersArray:()=>O,getLeagueInfo:()=>w,getLeagueIsDrawAvailable:()=>F,getLeagueLabel:()=>v,getLeagueOpticOddsName:()=>V,getLeaguePeriodType:()=>b,getLeagueProvider:()=>g,getLeagueSport:()=>D,getLeagueSpreadTypes:()=>f,getLeagueTotalTypes:()=>Y,getLiveSupportedLeagues:()=>h,getOddsFromTo:()=>ie,getParentOdds:()=>_e,getSpreadData:()=>q,groupAndFormatMoneylineOdds:()=>pe,groupAndFormatSpreadOdds:()=>Le,groupAndFormatTotalOdds:()=>Te,mapFromBytes32ToOpticOddsFormat:()=>fe,mapFromOpticOddsFormatToBytes32:()=>we,mapFromOpticOddsToOvertimeFormat:()=>he,mapFromOvertimeToOpticOddsFormat:()=>Be,mapOpticOddsApiFixtureOdds:()=>ge,mapOpticOddsApiFixtures:()=>De,mapOpticOddsApiResults:()=>ve,processMarket:()=>se,teamNamesMatching:()=>W}),"function"!=typeof Object.assign&&(Object.assign=function(e,r){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var a=Object(e),E=1;E<arguments.length;E++){var i=arguments[E];if(null!=i)for(var A in i)Object.prototype.hasOwnProperty.call(i,A)&&(a[A]=i[A])}return a});var e=function(e){return parseFloat(e.toPrecision(12))};function r(e,a,E){return void 0===E||0==+E?Math[e](a):(a=+a,E=+E,isNaN(a)||"number"!=typeof E||E%1!=0?NaN:a<0?-r(e,-a,E):(a=a.toString().split("e"),+((a=(a=Math[e](+(a[0]+"e"+(a[1]?+a[1]-E:-E)))).toString().split("e"))[0]+"e"+(a[1]?+a[1]+E:E))))}var i,A,_={decimal:{from:function(e){if((e=parseFloat(e))<=1)throw new Error("Outside valid range.");return e},to:function(){return this.decimalValue}},moneyline:{from:function(e){return(e=parseFloat(e))>=0?e/100+1:100/-e+1},to:function(){return this.decimalValue>=2?e(100*(this.decimalValue-1)):e(-100/(this.decimalValue-1))}},hongKong:{from:function(e){if((e=parseFloat(e))<0)throw new Error("Outside valid range.");return e+1},to:function(){return e(this.decimalValue-1)}},impliedProbability:{from:function(e){if((e="string"==typeof e&&"%"==e.slice(-1)?parseFloat(e)/100:parseFloat(e))<=0||e>=1)throw new Error("Outside valid range");return 1/e},to:function(a){if(a.percentage){var E=e(100/this.decimalValue);return null!==a.precision&&(E=r("round",E,-a.precision)),E.toString()+"%"}return e(1/this.decimalValue)}},fractional:{from:function(e){var r,a=e.toString().split("/");if(e=parseFloat(a[0]),2===a.length)r=parseFloat(a[1]);else{if(1!==a.length)throw new Error("Invalid fraction");r=1}if(0===e||0===r||e/r<=0)throw new Error("Outside valid range");return 1+e/r},to:function(e){return function(e,r){for(var a,E=[0,1],i=[1,0],A=function(e){var r=null,a=e.toString().indexOf("E");-1==a&&(a=e.toString().indexOf("e"));var E=null,i=(r=-1==a?e.toString():e.toString().substring(0,a)).toString().indexOf(".");-1==i?E=r:0===i?E=r.substring(1,r.length):i<r.length&&(E=r.substring(0,i)+r.substring(i+1,r.length));var A=E,_=A.toString().length,o=e,t=o.toString().length;0===o&&(t=0);var L,T=_-t;for(L=T;L>0&&A%2==0;L--)A/=2;for(L=T;L>0&&A%5==0;L--)A/=5;return A}(e),_=e,o=Math.pow(10,-r)/2,t=2;t<1e3;t++){var L=Math.floor(_);if(E[t]=L*E[t-1]+E[t-2],Math.abs(E[t])>A)return;if(i[t]=L*i[t-1]+i[t-2],a=E[t]/i[t],Math.abs(a-e)<o||NaN==a)return E[t].toString()+"/"+i[t].toString();_=1/(_-L)}}(this.decimalValue-1,e.precision||12)}},malay:{from:function(e){if((e=parseFloat(e))<=-1||e>1)throw new Error("Outside valid range.");return e<0&&(e=-1/e),e+1},to:function(){return this.decimalValue<=2?e(this.decimalValue-1):e(-1/(this.decimalValue-1))}},indonesian:{from:function(e){if(0===(e=parseFloat(e)))throw new Error("Outside valid range.");return e>=1?e+1:-1/e+1},to:function(){return this.decimalValue<2?e(-1/(this.decimalValue-1)):e(this.decimalValue-1)}}},o=((A=function(r){if("number"!=typeof r||isNaN(r))throw new Error("Invalid odds");this.decimalValue=e(r)}).prototype=(i=function(){throw new Error("This constructor is private, please use the from* functions")}).prototype,i.from=function(e,r){if(!_.hasOwnProperty(e))throw new Error("Unknown format "+e+".");var a=_[e].from(r);return new A(a)},i);o.prototype.to=function(e,a){if(!_.hasOwnProperty(e))throw new Error("Unknown format "+e+".");a=Object.assign({precision:null,percentage:!1},a);var E=_[e].to.call(this,a);return"number"==typeof E&&null!==a.precision&&(E=r("round",E,-a.precision)),E};var t,L,T,p,S,N,s,I,l,d,n=o.from,O=function(e,r,a){var E=e.find((function(e){return Number(e.sportId)===Number(r)}));if(E){if(""==E.primaryBookmaker)return a;var i=[];return E.primaryBookmaker&&i.push(E.primaryBookmaker),E.secondaryBookmaker&&i.push(E.secondaryBookmaker),E.tertiaryBookmaker&&i.push(E.tertiaryBookmaker),i}return a},R=function(e,r,a,E,i){var A=e.get(r[0]);if(!A)return{homeOdds:0,awayOdds:0,drawOdds:0,errorMessage:"Returning zero odds cause no matching bookmakers have been found"};var _=A.homeOdds,o=A.awayOdds,t=a?0:A.drawOdds;return r.some((function(r){var E=e.get(r);return!!E&&(0===E.homeOdds||0===E.awayOdds||!a&&0===E.drawOdds||1===E.homeOdds||1===E.awayOdds||!a&&1===E.drawOdds)}))?{homeOdds:0,awayOdds:0,drawOdds:0,errorMessage:"Returning zero odds cause bookmakers have 0 or 1 odds"}:1==r.length?{homeOdds:_,awayOdds:o,drawOdds:a?0:t}:r.slice(1).some((function(r){var A=e.get(r);if(A){var L=A.homeOdds,T=A.awayOdds,p=A.drawOdds,S=n("decimal",_).to("impliedProbability"),N=n("decimal",o).to("impliedProbability"),s=a?0:n("decimal",t).to("impliedProbability"),I=n("decimal",L).to("impliedProbability"),l=n("decimal",T).to("impliedProbability"),d=a?0:n("decimal",p).to("impliedProbability"),O=P(S,I),R=P(N,l),M=a?0:P(s,d);if(O>E&&S>i&&I>i||R>E&&N>i&&l>i||!a&&M>E&&s>i&&d>i)return!0}return!1}))?{homeOdds:0,awayOdds:0,drawOdds:0,errorMessage:"Returning zero odds due to percentage difference between bookmakers"}:{homeOdds:_,awayOdds:o,drawOdds:a?0:t}},P=function(e,r){return Math.abs(e-r)/e*100};!function(e){e.SOCCER="Soccer",e.FOOTBALL="Football",e.BASKETBALL="Basketball",e.BASEBALL="Baseball",e.HOCKEY="Hockey",e.FIGHTING="Fighting",e.TENNIS="Tennis",e.ESPORTS="eSports",e.RUGBY="Rugby",e.VOLLEYBALL="Volleyball",e.HANDBALL="Handball",e.WATERPOLO="Waterpolo",e.CRICKET="Cricket",e.MOTOSPORT="Motosport",e.GOLF="Golf",e.TABLE_TENNIS="TableTennis",e.POLITICS="Politics",e.FUTURES="Futures",e.EMPTY=""}(t||(t={})),function(e){e[e.NCAAF=1]="NCAAF",e[e.NFL=2]="NFL",e[e.MLB=3]="MLB",e[e.NBA=4]="NBA",e[e.NCAAB=5]="NCAAB",e[e.NHL=6]="NHL",e[e.UFC=7]="UFC",e[e.WNBA=8]="WNBA",e[e.MLS=10]="MLS",e[e.EPL=11]="EPL",e[e.LIGUE_ONE=12]="LIGUE_ONE",e[e.BUNDESLIGA=13]="BUNDESLIGA",e[e.LA_LIGA=14]="LA_LIGA",e[e.SERIE_A=15]="SERIE_A",e[e.UEFA_CL=16]="UEFA_CL",e[e.UEFA_EL=17]="UEFA_EL",e[e.FIFA_WC=18]="FIFA_WC",e[e.J1_LEAGUE=19]="J1_LEAGUE",e[e.IPL=20]="IPL",e[e.T20_BLAST=21]="T20_BLAST",e[e.IIHF_WORLD_CHAMPIONSHIP=33]="IIHF_WORLD_CHAMPIONSHIP",e[e.COPA_AMERICA=44]="COPA_AMERICA",e[e.COPA_LIBERTADORES=45]="COPA_LIBERTADORES",e[e.UEFA_EURO=50]="UEFA_EURO",e[e.EREDIVISIE=57]="EREDIVISIE",e[e.PRIMEIRA_LIGA=61]="PRIMEIRA_LIGA",e[e.SUMMER_OLYMPICS_SOCCER_WOMEN=65]="SUMMER_OLYMPICS_SOCCER_WOMEN",e[e.SUMMER_OLYMPICS_SOCCER=66]="SUMMER_OLYMPICS_SOCCER",e[e.FIFA_WC_WOMEN=76]="FIFA_WC_WOMEN",e[e.ENGLAND_FA_CUP=132]="ENGLAND_FA_CUP",e[e.FRANCE_CUP=134]="FRANCE_CUP",e[e.SPAIN_CUP=138]="SPAIN_CUP",e[e.ITALY_CUP=141]="ITALY_CUP",e[e.TENNIS_WTA=152]="TENNIS_WTA",e[e.TENNIS_GS=153]="TENNIS_GS",e[e.TENNIS_MASTERS=156]="TENNIS_MASTERS",e[e.SUMMER_OLYMPICS_TENNIS=158]="SUMMER_OLYMPICS_TENNIS",e[e.GERMANY_CUP=209]="GERMANY_CUP",e[e.LIGA_MX=230]="LIGA_MX",e[e.BRAZIL_1=268]="BRAZIL_1",e[e.UEFA_EURO_U21=288]="UEFA_EURO_U21",e[e.FIFA_WORLD_CUP_U20=296]="FIFA_WORLD_CUP_U20",e[e.CZECH_REPUBLIC_EXTRALIGA=310]="CZECH_REPUBLIC_EXTRALIGA",e[e.FINLAND_SM_LIIGA=319]="FINLAND_SM_LIIGA",e[e.RUSSIA_KHL=321]="RUSSIA_KHL",e[e.GERMANY_DEL=322]="GERMANY_DEL",e[e.AUSTRIA_ICE_HOCKEY_LEAGUE=323]="AUSTRIA_ICE_HOCKEY_LEAGUE",e[e.SWEDEN_SHL=324]="SWEDEN_SHL",e[e.SWITZETLAND_NATIONAL_LEAGUE=327]="SWITZETLAND_NATIONAL_LEAGUE",e[e.SUMMER_OLYMPICS_HANDBALL_WOMEN=380]="SUMMER_OLYMPICS_HANDBALL_WOMEN",e[e.SUMMER_OLYMPICS_HANDBALL=381]="SUMMER_OLYMPICS_HANDBALL",e[e.EUROLEAGUE=399]="EUROLEAGUE",e[e.SUMMER_OLYMPICS_BASKETBALL=406]="SUMMER_OLYMPICS_BASKETBALL",e[e.SUMMER_OLYMPICS_BASKETBALL_WOMEN=407]="SUMMER_OLYMPICS_BASKETBALL_WOMEN",e[e.FIBA_WORLD_CUP=409]="FIBA_WORLD_CUP",e[e.FORMULA1=445]="FORMULA1",e[e.SUMMER_OLYMPICS_BEACH_VOLEYBALL_WOMEN=453]="SUMMER_OLYMPICS_BEACH_VOLEYBALL_WOMEN",e[e.SUMMER_OLYMPICS_BEACH_VOLEYBALL=454]="SUMMER_OLYMPICS_BEACH_VOLEYBALL",e[e.MOTOGP=497]="MOTOGP",e[e.SAUDI_PROFESSIONAL_LEAGUE=536]="SAUDI_PROFESSIONAL_LEAGUE",e[e.SUMMER_OLYMPICS_WATERPOLO=8881]="SUMMER_OLYMPICS_WATERPOLO",e[e.SUMMER_OLYMPICS_VOLEYBALL_WOMEN=8893]="SUMMER_OLYMPICS_VOLEYBALL_WOMEN",e[e.SUMMER_OLYMPICS_VOLEYBALL=8894]="SUMMER_OLYMPICS_VOLEYBALL",e[e.SUMMER_OLYMPICS_TABLE_TENNIS=8910]="SUMMER_OLYMPICS_TABLE_TENNIS",e[e.BOXING=9196]="BOXING",e[e.SUMMER_OLYMPICS_RUGBY=9578]="SUMMER_OLYMPICS_RUGBY",e[e.SUMMER_OLYMPICS_RUGBY_WOMEN=9588]="SUMMER_OLYMPICS_RUGBY_WOMEN",e[e.SUMMER_OLYMPICS_HOCKEY_WOMEN=9698]="SUMMER_OLYMPICS_HOCKEY_WOMEN",e[e.SUMMER_OLYMPICS_HOCKEY=9699]="SUMMER_OLYMPICS_HOCKEY",e[e.UEFA_NATIONS_LEAGUE=9806]="UEFA_NATIONS_LEAGUE",e[e.CONCACAF_NATIONS_LEAGUE=9821]="CONCACAF_NATIONS_LEAGUE",e[e.CSGO=9977]="CSGO",e[e.DOTA2=9983]="DOTA2",e[e.SUMMER_OLYMPICS_BASKETBALL_3X3=10071]="SUMMER_OLYMPICS_BASKETBALL_3X3",e[e.SUMMER_OLYMPICS_BASKETBALL_3X3_WOMEN=10072]="SUMMER_OLYMPICS_BASKETBALL_3X3_WOMEN",e[e.SUMMER_OLYMPICS_QUALIFICATION=10502]="SUMMER_OLYMPICS_QUALIFICATION",e[e.LOL=10138]="LOL",e[e.CONMEBOL_WC_QUALIFICATIONS=10199]="CONMEBOL_WC_QUALIFICATIONS",e[e.UEFA_CONFERENCE_LEAGUE=10216]="UEFA_CONFERENCE_LEAGUE",e[e.NON_TITLE_BOXING=10595]="NON_TITLE_BOXING",e[e.UEFA_CHAMPIONS_LEAGUE_QUALIFICATION=10611]="UEFA_CHAMPIONS_LEAGUE_QUALIFICATION",e[e.UEFA_EUROPA_LEAGUE_QUALIFICATION=10613]="UEFA_EUROPA_LEAGUE_QUALIFICATION",e[e.UEFA_CONFERENCE_LEAGUE_QUALIFICATION=10615]="UEFA_CONFERENCE_LEAGUE_QUALIFICATION",e[e.US_ELECTION=2e4]="US_ELECTION",e[e.UEFA_SUPER_CUP=20001]="UEFA_SUPER_CUP",e[e.BRAZIL_CUP=20002]="BRAZIL_CUP",e[e.ENGLAND_CHAMPIONSHIP=20011]="ENGLAND_CHAMPIONSHIP",e[e.SCOTLAND_PREMIERSHIP=20101]="SCOTLAND_PREMIERSHIP",e[e.BELGIUM_LEAGUE=20102]="BELGIUM_LEAGUE",e[e.CZECH_LEAGUE=20103]="CZECH_LEAGUE",e[e.CHILE_PRIMERA=20104]="CHILE_PRIMERA",e[e.FINLAND_LEAGUE=20105]="FINLAND_LEAGUE",e[e.ARGENTINA_PRIMERA=20106]="ARGENTINA_PRIMERA",e[e.RUSSIA_PREMIER=20107]="RUSSIA_PREMIER",e[e.TURKEY_SUPER_LEAGUE=20108]="TURKEY_SUPER_LEAGUE",e[e.SERBIA_SUPER_LEAGUE=20109]="SERBIA_SUPER_LEAGUE",e[e.GREECE_SUPER_LEAGUE=20110]="GREECE_SUPER_LEAGUE",e[e.INDIA_PREMIER=20111]="INDIA_PREMIER",e[e.CHINA_SUPER_LEAGUE=20112]="CHINA_SUPER_LEAGUE",e[e.AUSTRALIA_A_LEAGUE=20113]="AUSTRALIA_A_LEAGUE",e[e.SWITZERLAND_SUPER_LEAGUE=20114]="SWITZERLAND_SUPER_LEAGUE",e[e.BUNDESLIGA_2=20115]="BUNDESLIGA_2",e[e.LA_LIGA_2=20116]="LA_LIGA_2",e[e.SERIE_B=20117]="SERIE_B",e[e.INDIA_SUPER_LEAGUE=20118]="INDIA_SUPER_LEAGUE",e[e.LIGUE_2=20119]="LIGUE_2",e[e.AUSTRIA_BUNDESLIGA=20120]="AUSTRIA_BUNDESLIGA",e[e.DENMARK_SUPER_LEAGUE=20121]="DENMARK_SUPER_LEAGUE",e[e.POLAND_LEAGUE=20122]="POLAND_LEAGUE",e[e.SWEDEN_LEAGUE=20123]="SWEDEN_LEAGUE",e[e.COLOMBIA_PRIMERA_A=20124]="COLOMBIA_PRIMERA_A",e[e.ENGLAND_EFL_CUP=20125]="ENGLAND_EFL_CUP",e[e.ENGLAND_LEGAUE_1=20126]="ENGLAND_LEGAUE_1",e[e.URUGUAY_PRIMERA_DIVISION=20127]="URUGUAY_PRIMERA_DIVISION",e[e.AFC_CHAMPIONS_LEAGUE=20128]="AFC_CHAMPIONS_LEAGUE",e[e.ITALY_SUPER_CUP=20129]="ITALY_SUPER_CUP",e[e.FRANCE_SUPER_CUP=20130]="FRANCE_SUPER_CUP",e[e.SPAIN_SUPER_CUP=20131]="SPAIN_SUPER_CUP",e[e.GERMANY_SUPER_CUP=20132]="GERMANY_SUPER_CUP",e[e.PORTUGAL_LEAGUE_CUP=20133]="PORTUGAL_LEAGUE_CUP",e[e.THAILAND_LEAGUE_1=20134]="THAILAND_LEAGUE_1",e[e.NETHERLANDS_CUP=20135]="NETHERLANDS_CUP",e[e.PORTUGAL_CUP=20136]="PORTUGAL_CUP",e[e.ENGLAND_SUPER_LEAGUE_WOMEN=20137]="ENGLAND_SUPER_LEAGUE_WOMEN",e[e.ITALY_SERIE_A_WOMEN=20138]="ITALY_SERIE_A_WOMEN",e[e.FRANCE_PREMIERE_LIGUE_WOMEN=20139]="FRANCE_PREMIERE_LIGUE_WOMEN",e[e.GERMANY_BUNDESLIGA_WOMEN=20140]="GERMANY_BUNDESLIGA_WOMEN",e[e.SPAIN_LIGA_F_WOMEN=20141]="SPAIN_LIGA_F_WOMEN",e[e.NETHERLANDS_EREDIVISIE_WOMEN=20142]="NETHERLANDS_EREDIVISIE_WOMEN",e[e.BELGIUM_SUPER_LEAGUE_WOMEN=20143]="BELGIUM_SUPER_LEAGUE_WOMEN",e[e.UEFA_CHAMPIONS_LEAGUE_WOMEN=20144]="UEFA_CHAMPIONS_LEAGUE_WOMEN",e[e.USA_NWSL=20145]="USA_NWSL",e[e.AUSTRALIA_A_LEAGUE_WOMEN=20146]="AUSTRALIA_A_LEAGUE_WOMEN",e[e.CONCACAF_CHAMPIONS_CUP=20147]="CONCACAF_CHAMPIONS_CUP",e[e.EUROCUP=20200]="EUROCUP",e[e.SPAIN_LIGA_ACB=20201]="SPAIN_LIGA_ACB",e[e.ITALY_LEGA_BASKET_SERIE_A=20202]="ITALY_LEGA_BASKET_SERIE_A",e[e.GERMANY_BBL=20203]="GERMANY_BBL",e[e.FRANCE_LNB_PRO_A=20204]="FRANCE_LNB_PRO_A",e[e.CHINA_CBA=20205]="CHINA_CBA",e[e.AUSTRALIA_NBL=20206]="AUSTRALIA_NBL",e[e.ROCKET_LEAGUE=20297]="ROCKET_LEAGUE",e[e.CALL_OF_DUTY=20298]="CALL_OF_DUTY",e[e.STARCRAFT=20299]="STARCRAFT",e[e.VALORANT=20300]="VALORANT",e[e.NFL_FUTURES=30002]="NFL_FUTURES",e[e.NBA_FUTURES=30004]="NBA_FUTURES",e[e.NHL_FUTURES=30006]="NHL_FUTURES",e[e.EPL_FUTURES=30011]="EPL_FUTURES",e[e.LIGUE_ONE_FUTURES=30012]="LIGUE_ONE_FUTURES",e[e.BUNDESLIGA_FUTURES=30013]="BUNDESLIGA_FUTURES",e[e.LA_LIGA_FUTURES=30014]="LA_LIGA_FUTURES",e[e.SERIE_A_FUTURES=30015]="SERIE_A_FUTURES",e[e.UEFA_CHAMPIONS_LEAGUE_FUTURES=30016]="UEFA_CHAMPIONS_LEAGUE_FUTURES",e[e.ATP_FUTURES=30156]="ATP_FUTURES",e[e.EUROLEAGUE_FUTURES=30399]="EUROLEAGUE_FUTURES",e[e.GOLF_H2H=100021]="GOLF_H2H",e[e.GOLF_WINNER=100121]="GOLF_WINNER",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_0=15611]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_0",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_1=15612]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_1",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_2=15613]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_2",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_3=15614]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_3",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_4=15615]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_4",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_5=15616]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_5",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_6=15617]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_6",e[e.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_7=15618]="TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_7",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_0=15211]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_0",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_1=15212]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_1",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_2=15213]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_2",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_3=15214]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_3",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_4=15215]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_4",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_5=15216]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_5",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_6=15217]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_6",e[e.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_7=15218]="TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_7",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_1=15622]="TENNIS_MASTERS_LIVE_MAPPING_V2_1",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_2=15623]="TENNIS_MASTERS_LIVE_MAPPING_V2_2",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_3=15624]="TENNIS_MASTERS_LIVE_MAPPING_V2_3",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_4=15625]="TENNIS_MASTERS_LIVE_MAPPING_V2_4",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_5=15626]="TENNIS_MASTERS_LIVE_MAPPING_V2_5",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_6=15627]="TENNIS_MASTERS_LIVE_MAPPING_V2_6",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_7=15628]="TENNIS_MASTERS_LIVE_MAPPING_V2_7",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_8=15632]="TENNIS_MASTERS_LIVE_MAPPING_V2_8",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_9=15633]="TENNIS_MASTERS_LIVE_MAPPING_V2_9",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_10=15634]="TENNIS_MASTERS_LIVE_MAPPING_V2_10",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_11=15635]="TENNIS_MASTERS_LIVE_MAPPING_V2_11",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_12=15636]="TENNIS_MASTERS_LIVE_MAPPING_V2_12",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_13=15637]="TENNIS_MASTERS_LIVE_MAPPING_V2_13",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_14=15638]="TENNIS_MASTERS_LIVE_MAPPING_V2_14",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_15=15641]="TENNIS_MASTERS_LIVE_MAPPING_V2_15",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_16=15642]="TENNIS_MASTERS_LIVE_MAPPING_V2_16",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_17=15643]="TENNIS_MASTERS_LIVE_MAPPING_V2_17",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_18=15644]="TENNIS_MASTERS_LIVE_MAPPING_V2_18",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_19=15645]="TENNIS_MASTERS_LIVE_MAPPING_V2_19",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_20=15646]="TENNIS_MASTERS_LIVE_MAPPING_V2_20",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_21=15647]="TENNIS_MASTERS_LIVE_MAPPING_V2_21",e[e.TENNIS_MASTERS_LIVE_MAPPING_V2_22=15648]="TENNIS_MASTERS_LIVE_MAPPING_V2_22",e[e.TENNIS_WTA_LIVE_MAPPING_V2_1=15222]="TENNIS_WTA_LIVE_MAPPING_V2_1",e[e.TENNIS_WTA_LIVE_MAPPING_V2_2=15223]="TENNIS_WTA_LIVE_MAPPING_V2_2",e[e.TENNIS_WTA_LIVE_MAPPING_V2_3=15224]="TENNIS_WTA_LIVE_MAPPING_V2_3",e[e.TENNIS_WTA_LIVE_MAPPING_V2_4=15225]="TENNIS_WTA_LIVE_MAPPING_V2_4",e[e.TENNIS_WTA_LIVE_MAPPING_V2_5=15226]="TENNIS_WTA_LIVE_MAPPING_V2_5",e[e.TENNIS_WTA_LIVE_MAPPING_V2_6=15227]="TENNIS_WTA_LIVE_MAPPING_V2_6",e[e.TENNIS_WTA_LIVE_MAPPING_V2_7=15228]="TENNIS_WTA_LIVE_MAPPING_V2_7",e[e.TENNIS_WTA_LIVE_MAPPING_V2_8=15231]="TENNIS_WTA_LIVE_MAPPING_V2_8",e[e.TENNIS_WTA_LIVE_MAPPING_V2_9=15232]="TENNIS_WTA_LIVE_MAPPING_V2_9",e[e.TENNIS_WTA_LIVE_MAPPING_V2_10=15233]="TENNIS_WTA_LIVE_MAPPING_V2_10",e[e.TENNIS_WTA_LIVE_MAPPING_V2_11=15234]="TENNIS_WTA_LIVE_MAPPING_V2_11",e[e.TENNIS_WTA_LIVE_MAPPING_V2_12=15235]="TENNIS_WTA_LIVE_MAPPING_V2_12",e[e.TENNIS_WTA_LIVE_MAPPING_V2_13=15236]="TENNIS_WTA_LIVE_MAPPING_V2_13",e[e.TENNIS_WTA_LIVE_MAPPING_V2_14=15237]="TENNIS_WTA_LIVE_MAPPING_V2_14",e[e.TENNIS_WTA_LIVE_MAPPING_V2_15=15238]="TENNIS_WTA_LIVE_MAPPING_V2_15",e[e.TENNIS_WTA_LIVE_MAPPING_V2_16=15241]="TENNIS_WTA_LIVE_MAPPING_V2_16",e[e.TENNIS_WTA_LIVE_MAPPING_V2_17=15242]="TENNIS_WTA_LIVE_MAPPING_V2_17",e[e.TENNIS_WTA_LIVE_MAPPING_V2_18=15243]="TENNIS_WTA_LIVE_MAPPING_V2_18",e[e.TENNIS_WTA_LIVE_MAPPING_V2_19=15244]="TENNIS_WTA_LIVE_MAPPING_V2_19",e[e.TENNIS_WTA_LIVE_MAPPING_V2_20=15245]="TENNIS_WTA_LIVE_MAPPING_V2_20",e[e.TENNIS_WTA_LIVE_MAPPING_V2_21=15246]="TENNIS_WTA_LIVE_MAPPING_V2_21",e[e.TENNIS_WTA_LIVE_MAPPING_V2_22=15247]="TENNIS_WTA_LIVE_MAPPING_V2_22",e[e.TENNIS_WTA_LIVE_MAPPING_V2_23=15248]="TENNIS_WTA_LIVE_MAPPING_V2_23"}(L||(L={})),function(e){e.MONEYLINE="Moneyline"}(T||(T={})),function(e){e.ASIAN_HANDICAP="Asian Handicap",e.GAME_SPREAD="Game Spread",e.POINT_SPREAD="Point Spread",e.GOAL_SPREAD="Goal Spread",e.RUN_LINE="Run Line",e.PUCK_LINE="Puck Line"}(p||(p={})),function(e){e.TOTAL_GAMES="Total Games",e.TOTAL_GOALS="Total Goals",e.TOTAL_POINTS="Total Points",e.TOTAL_RUNS="Total Runs"}(S||(S={})),function(e){e.POINTS="points",e.GOALS="goals",e.ROUNDS="rounds",e.SETS="sets",e.MAPS="maps",e.EMPTY=""}(N||(N={})),function(e){e.OVERTIME="overtime",e.REGULAR="regular",e.EMPTY=""}(s||(s={})),function(e){e.QUARTER="quarter",e.HALF="half",e.PERIOD="period",e.ROUND="round",e.INNING="inning",e.SET="set",e.MAP="map",e.EMPTY=""}(I||(I={})),function(e){e.RUNDOWN="rundown",e.ENETPULSE="enetpulse",e.JSONODDS="jsonOdds",e.OPTICODDS="opticOdds",e.EMPTY=""}(l||(l={}));var M=((d={})[L.NCAAF]={sport:t.FOOTBALL,id:L.NCAAF,label:"NCAA Football",opticOddsName:"NCAAF",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.NFL]={sport:t.FOOTBALL,id:L.NFL,label:"NFL",opticOddsName:"NFL",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.MLB]={sport:t.BASEBALL,id:L.MLB,label:"MLB",opticOddsName:"MLB",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.INNING,isDrawAvailable:!1},d[L.NBA]={sport:t.BASKETBALL,id:L.NBA,label:"NBA",opticOddsName:"NBA",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.NCAAB]={sport:t.BASKETBALL,id:L.NCAAB,label:"NCAA Basketball",opticOddsName:"NCAAB",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.NHL]={sport:t.HOCKEY,id:L.NHL,label:"NHL",opticOddsName:"NHL",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.OVERTIME,periodType:I.PERIOD,isDrawAvailable:!1},d[L.UFC]={sport:t.FIGHTING,id:L.UFC,label:"UFC",provider:l.OPTICODDS,scoringType:N.ROUNDS,matchResolveType:s.EMPTY,periodType:I.ROUND,isDrawAvailable:!1},d[L.WNBA]={sport:t.BASKETBALL,id:L.WNBA,label:"WNBA",opticOddsName:"WNBA",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.MLS]={sport:t.SOCCER,id:L.MLS,label:"MLS",opticOddsName:"USA - Major League Soccer",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.EPL]={sport:t.SOCCER,id:L.EPL,label:"EPL",opticOddsName:"England - Premier League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.LIGUE_ONE]={sport:t.SOCCER,id:L.LIGUE_ONE,label:"Ligue 1",opticOddsName:"France - Ligue 1",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.BUNDESLIGA]={sport:t.SOCCER,id:L.BUNDESLIGA,label:"Bundesliga",opticOddsName:"Germany - Bundesliga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.LA_LIGA]={sport:t.SOCCER,id:L.LA_LIGA,label:"La Liga",opticOddsName:"Spain - La Liga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SERIE_A]={sport:t.SOCCER,id:L.SERIE_A,label:"Serie A",opticOddsName:"Italy - Serie A",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.UEFA_CL]={sport:t.SOCCER,id:L.UEFA_CL,label:"UEFA Champions League",opticOddsName:"UEFA - Champions League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.UEFA_EL]={sport:t.SOCCER,id:L.UEFA_EL,label:"UEFA Europa League",opticOddsName:"UEFA - Europa League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.FIFA_WC]={sport:t.SOCCER,id:L.FIFA_WC,label:"FIFA World Cup Qualifiers",provider:l.OPTICODDS,opticOddsName:"FIFA - World Cup Qualifiers",scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.J1_LEAGUE]={sport:t.SOCCER,id:L.J1_LEAGUE,label:"J1 League",opticOddsName:"Japan - J1 League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.IPL]={sport:t.CRICKET,id:L.IPL,label:"Indian Premier League",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.EMPTY,periodType:I.INNING,isDrawAvailable:!1},d[L.T20_BLAST]={sport:t.CRICKET,id:L.T20_BLAST,label:"T20 Blast",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.EMPTY,periodType:I.INNING,isDrawAvailable:!1},d[L.IIHF_WORLD_CHAMPIONSHIP]={sport:t.HOCKEY,id:L.IIHF_WORLD_CHAMPIONSHIP,label:"IIHF World Championship",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.PERIOD,isDrawAvailable:!0},d[L.COPA_AMERICA]={sport:t.SOCCER,id:L.COPA_AMERICA,label:"Copa America",opticOddsName:"CONMEBOL - Copa America",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.COPA_LIBERTADORES]={sport:t.SOCCER,id:L.COPA_LIBERTADORES,label:"Copa Libertadores",opticOddsName:"CONMEBOL - Copa Libertadores",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.UEFA_EURO]={sport:t.SOCCER,id:L.UEFA_EURO,label:"UEFA EURO 2024",opticOddsName:"UEFA - European Championship",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.EREDIVISIE]={sport:t.SOCCER,id:L.EREDIVISIE,label:"Eredivisie",opticOddsName:"Netherlands - Eredivisie",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.PRIMEIRA_LIGA]={sport:t.SOCCER,id:L.PRIMEIRA_LIGA,label:"Primeira Liga",opticOddsName:"Portugal - Primeira Liga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SUMMER_OLYMPICS_SOCCER_WOMEN]={sport:t.SOCCER,id:L.SUMMER_OLYMPICS_SOCCER_WOMEN,label:"Olympic Games Soccer Women",opticOddsName:"Olympics Soccer Women",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SUMMER_OLYMPICS_SOCCER]={sport:t.SOCCER,id:L.SUMMER_OLYMPICS_SOCCER,label:"Olympic Games Soccer",opticOddsName:"Olympics Soccer Men",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.FIFA_WC_WOMEN]={sport:t.SOCCER,id:L.FIFA_WC_WOMEN,label:"FIFA World Cup Women",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.ENGLAND_FA_CUP]={sport:t.SOCCER,id:L.ENGLAND_FA_CUP,label:"FA Cup",opticOddsName:"England - FA Cup",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.FRANCE_CUP]={sport:t.SOCCER,id:L.FRANCE_CUP,label:"Coupe de France",opticOddsName:"France - Coupe de France",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SPAIN_CUP]={sport:t.SOCCER,id:L.SPAIN_CUP,label:"Copa del Rey",opticOddsName:"Spain - Copa del Rey",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.ITALY_CUP]={sport:t.SOCCER,id:L.ITALY_CUP,label:"Coppa Italia",opticOddsName:"Italy - Coppa Italia",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.TENNIS_WTA]={sport:t.TENNIS,id:L.TENNIS_WTA,label:"WTA Events",opticOddsName:"WTA",provider:l.OPTICODDS,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:I.SET,isDrawAvailable:!1},d[L.TENNIS_GS]={sport:t.TENNIS,id:L.TENNIS_GS,label:"Grand Slam",opticOddsName:"ATP,WTA",provider:l.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:I.SET,isDrawAvailable:!1},d[L.TENNIS_MASTERS]={sport:t.TENNIS,id:L.TENNIS_MASTERS,label:"ATP Events",opticOddsName:"ATP",provider:l.OPTICODDS,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:I.SET,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_TENNIS]={sport:t.TENNIS,id:L.SUMMER_OLYMPICS_TENNIS,label:"Olympic Games Tennis",provider:l.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:I.SET,isDrawAvailable:!1},d[L.GERMANY_CUP]={sport:t.SOCCER,id:L.GERMANY_CUP,label:"DFB Pokal",opticOddsName:"Germany - DFB Pokal",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.LIGA_MX]={sport:t.SOCCER,id:L.LIGA_MX,label:"Liga MX",opticOddsName:"Mexico - Liga MX",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.BRAZIL_1]={sport:t.SOCCER,id:L.BRAZIL_1,label:"Serie A",opticOddsName:"Brazil - Serie A",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.UEFA_EURO_U21]={sport:t.SOCCER,id:L.UEFA_EURO_U21,label:"UEFA EURO U21",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.FIFA_WORLD_CUP_U20]={sport:t.SOCCER,id:L.FIFA_WORLD_CUP_U20,label:"FIFA World Cup U20",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.CZECH_REPUBLIC_EXTRALIGA]={sport:t.HOCKEY,id:L.CZECH_REPUBLIC_EXTRALIGA,label:"Czech Republic Extraliga",opticOddsName:"Czech Republic - Extraliga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.OVERTIME,periodType:I.PERIOD,isDrawAvailable:!0},d[L.FINLAND_SM_LIIGA]={sport:t.HOCKEY,id:L.FINLAND_SM_LIIGA,label:"Finland SM Liiga",opticOddsName:"Finland - SM Liiga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.OVERTIME,periodType:I.PERIOD,isDrawAvailable:!0},d[L.RUSSIA_KHL]={sport:t.HOCKEY,id:L.RUSSIA_KHL,label:"Russia KHL",opticOddsName:"Russia - KHL",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.OVERTIME,periodType:I.PERIOD,isDrawAvailable:!0},d[L.GERMANY_DEL]={sport:t.HOCKEY,id:L.GERMANY_DEL,label:"Germany DEL",opticOddsName:"Germany - DEL",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.OVERTIME,periodType:I.PERIOD,isDrawAvailable:!0},d[L.AUSTRIA_ICE_HOCKEY_LEAGUE]={sport:t.HOCKEY,id:L.AUSTRIA_ICE_HOCKEY_LEAGUE,label:"Austria Ice Hockey League",opticOddsName:"Austria - Ice Hockey League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.OVERTIME,periodType:I.PERIOD,isDrawAvailable:!0},d[L.SWEDEN_SHL]={sport:t.HOCKEY,id:L.SWEDEN_SHL,label:"Sweden SHL",opticOddsName:"Sweden - SHL",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.OVERTIME,periodType:I.PERIOD,isDrawAvailable:!0},d[L.SWITZETLAND_NATIONAL_LEAGUE]={sport:t.HOCKEY,id:L.SWITZETLAND_NATIONAL_LEAGUE,label:"Switzerland National League",opticOddsName:"Switzerland - National League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.OVERTIME,periodType:I.PERIOD,isDrawAvailable:!0},d[L.SUMMER_OLYMPICS_HANDBALL_WOMEN]={sport:t.HANDBALL,id:L.SUMMER_OLYMPICS_HANDBALL_WOMEN,label:"Olympic Games Handball Women",opticOddsName:"Olympics Handball Women",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SUMMER_OLYMPICS_HANDBALL]={sport:t.HANDBALL,id:L.SUMMER_OLYMPICS_HANDBALL,label:"Olympic Games Handball",opticOddsName:"Olympics Handball Men",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.EUROLEAGUE]={sport:t.BASKETBALL,id:L.EUROLEAGUE,label:"Euroleague",opticOddsName:"Euroleague",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_BASKETBALL]={sport:t.BASKETBALL,id:L.SUMMER_OLYMPICS_BASKETBALL,label:"Olympic Games Basketball",opticOddsName:"Olympics Basketball Men",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_BASKETBALL_WOMEN]={sport:t.BASKETBALL,id:L.SUMMER_OLYMPICS_BASKETBALL_WOMEN,label:"Olympic Games Basketball Women",opticOddsName:"Olympics Basketball Women",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.FIBA_WORLD_CUP]={sport:t.BASKETBALL,id:L.FIBA_WORLD_CUP,label:"FIBA World Cup",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.FORMULA1]={sport:t.MOTOSPORT,id:L.FORMULA1,label:"Formula 1",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_BEACH_VOLEYBALL_WOMEN]={sport:t.VOLLEYBALL,id:L.SUMMER_OLYMPICS_BEACH_VOLEYBALL_WOMEN,label:"Olympic Games Beach Voleyball Women",provider:l.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:I.SET,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_BEACH_VOLEYBALL]={sport:t.VOLLEYBALL,id:L.SUMMER_OLYMPICS_BEACH_VOLEYBALL,label:"Olympic Games Beach Voleyball",provider:l.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:I.SET,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_TABLE_TENNIS]={sport:t.TABLE_TENNIS,id:L.SUMMER_OLYMPICS_TABLE_TENNIS,label:"Olympic Games Table Tennis",provider:l.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:I.SET,isDrawAvailable:!1},d[L.MOTOGP]={sport:t.MOTOSPORT,id:L.MOTOGP,label:"MotoGP",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.SAUDI_PROFESSIONAL_LEAGUE]={sport:t.SOCCER,id:L.SAUDI_PROFESSIONAL_LEAGUE,label:"Saudi Professional League",opticOddsName:"Saudi Arabia - Saudi League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SUMMER_OLYMPICS_WATERPOLO]={sport:t.WATERPOLO,id:L.SUMMER_OLYMPICS_WATERPOLO,label:"Olympic Games Water Polo",opticOddsName:"Olympics Water Polo",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.QUARTER,isDrawAvailable:!0},d[L.SUMMER_OLYMPICS_VOLEYBALL_WOMEN]={sport:t.VOLLEYBALL,id:L.SUMMER_OLYMPICS_VOLEYBALL_WOMEN,label:"Olympic Games Volleyball Women",opticOddsName:"Olympics Volleyball Women",provider:l.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:I.SET,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_VOLEYBALL]={sport:t.VOLLEYBALL,id:L.SUMMER_OLYMPICS_VOLEYBALL,label:"Olympic Games Volleyball",opticOddsName:"Olympics Volleyball Men",provider:l.EMPTY,scoringType:N.SETS,matchResolveType:s.REGULAR,periodType:I.SET,isDrawAvailable:!1},d[L.BOXING]={sport:t.FIGHTING,id:L.BOXING,label:"Boxing",provider:l.EMPTY,scoringType:N.ROUNDS,matchResolveType:s.EMPTY,periodType:I.ROUND,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_RUGBY]={sport:t.RUGBY,id:L.SUMMER_OLYMPICS_RUGBY,label:"Olympic Games Rugby",opticOddsName:"Olympics Rugby 7s Men",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SUMMER_OLYMPICS_RUGBY_WOMEN]={sport:t.RUGBY,id:L.SUMMER_OLYMPICS_RUGBY_WOMEN,label:"Olympic Games Rugby Women",opticOddsName:"Olympics Rugby 7s Women",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SUMMER_OLYMPICS_HOCKEY_WOMEN]={sport:t.HOCKEY,id:L.SUMMER_OLYMPICS_HOCKEY_WOMEN,label:"Olympic Games Hockey Women",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.PERIOD,isDrawAvailable:!0},d[L.SUMMER_OLYMPICS_HOCKEY]={sport:t.HOCKEY,id:L.SUMMER_OLYMPICS_HOCKEY,label:"Olympic Games Hockey",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.PERIOD,isDrawAvailable:!0},d[L.UEFA_NATIONS_LEAGUE]={sport:t.SOCCER,id:L.UEFA_NATIONS_LEAGUE,label:"UEFA Nations League",provider:l.OPTICODDS,opticOddsName:"UEFA - Nations League",scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.CONCACAF_NATIONS_LEAGUE]={sport:t.SOCCER,id:L.CONCACAF_NATIONS_LEAGUE,label:"CONCACAF Nations League",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.CSGO]={sport:t.ESPORTS,id:L.CSGO,label:"CS GO",opticOddsName:"CS2",provider:l.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:I.MAP,isDrawAvailable:!1},d[L.DOTA2]={sport:t.ESPORTS,id:L.DOTA2,label:"DOTA 2",opticOddsName:"Dota 2",provider:l.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:I.MAP,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_BASKETBALL_3X3]={sport:t.BASKETBALL,id:L.SUMMER_OLYMPICS_BASKETBALL_3X3,label:"Olympic Games Basketball 3x3",opticOddsName:"Olympics Basketball 3x3 Men",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_BASKETBALL_3X3_WOMEN]={sport:t.BASKETBALL,id:L.SUMMER_OLYMPICS_BASKETBALL_3X3_WOMEN,label:"Olympic Games Basketball 3x3 Women",opticOddsName:"Olympics Basketball 3x3 Women",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.SUMMER_OLYMPICS_QUALIFICATION]={sport:t.BASKETBALL,id:L.SUMMER_OLYMPICS_QUALIFICATION,label:"Summer Olympics Basketball Qualification",provider:l.EMPTY,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.LOL]={sport:t.ESPORTS,id:L.LOL,label:"LOL",opticOddsName:"League of Legends",provider:l.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:I.MAP,isDrawAvailable:!1},d[L.CONMEBOL_WC_QUALIFICATIONS]={sport:t.SOCCER,id:L.CONMEBOL_WC_QUALIFICATIONS,label:"CONMEBOL WC Qualification",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.UEFA_CONFERENCE_LEAGUE]={sport:t.SOCCER,id:L.UEFA_CONFERENCE_LEAGUE,label:"UEFA Conference League",opticOddsName:"UEFA - Europa Conference League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.NON_TITLE_BOXING]={sport:t.FIGHTING,id:L.NON_TITLE_BOXING,label:"Boxing",provider:l.EMPTY,scoringType:N.ROUNDS,matchResolveType:s.EMPTY,periodType:I.ROUND,isDrawAvailable:!1},d[L.UEFA_CHAMPIONS_LEAGUE_QUALIFICATION]={sport:t.SOCCER,id:L.UEFA_CHAMPIONS_LEAGUE_QUALIFICATION,label:"UEFA Champions League Qualification",opticOddsName:"UEFA - Champions League",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.UEFA_EUROPA_LEAGUE_QUALIFICATION]={sport:t.SOCCER,id:L.UEFA_EUROPA_LEAGUE_QUALIFICATION,label:"UEFA Europa League Qualification",opticOddsName:"UEFA - Europa League",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.UEFA_CONFERENCE_LEAGUE_QUALIFICATION]={sport:t.SOCCER,id:L.UEFA_CONFERENCE_LEAGUE_QUALIFICATION,label:"UEFA Conference League Qualification",opticOddsName:"UEFA - Europa Conference League",provider:l.EMPTY,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.US_ELECTION]={sport:t.POLITICS,id:L.US_ELECTION,label:"US Election 2024",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.UEFA_SUPER_CUP]={sport:t.SOCCER,id:L.UEFA_SUPER_CUP,label:"UEFA Super Cup",opticOddsName:"UEFA - Super Cup",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.BRAZIL_CUP]={sport:t.SOCCER,id:L.BRAZIL_CUP,label:"Copa do Brasil",opticOddsName:"Brazil - Copa do Brasil",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.ENGLAND_CHAMPIONSHIP]={sport:t.SOCCER,id:L.ENGLAND_CHAMPIONSHIP,label:"EFL Championship",opticOddsName:"England - Championship",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SCOTLAND_PREMIERSHIP]={sport:t.SOCCER,id:L.SCOTLAND_PREMIERSHIP,label:"Scotland Premiership",opticOddsName:"Scotland - Premiership",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.BELGIUM_LEAGUE]={sport:t.SOCCER,id:L.BELGIUM_LEAGUE,label:"Belgium Jupiler Pro League",opticOddsName:"Belgium - Jupiler Pro League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.CZECH_LEAGUE]={sport:t.SOCCER,id:L.CZECH_LEAGUE,label:"Czech Republic FNL",opticOddsName:"Czech Republic - FNL",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.CHILE_PRIMERA]={sport:t.SOCCER,id:L.CHILE_PRIMERA,label:"Chile Primera Division",opticOddsName:"Chile - Primera Division",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.FINLAND_LEAGUE]={sport:t.SOCCER,id:L.FINLAND_LEAGUE,label:"Finland Veikkausliiga",opticOddsName:"Finland - Veikkausliiga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.ARGENTINA_PRIMERA]={sport:t.SOCCER,id:L.ARGENTINA_PRIMERA,label:"Argentina Primera Division",opticOddsName:"Argentina - Primera Division",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.RUSSIA_PREMIER]={sport:t.SOCCER,id:L.RUSSIA_PREMIER,label:"Russia Premier League",opticOddsName:"Russia - Premier League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.TURKEY_SUPER_LEAGUE]={sport:t.SOCCER,id:L.TURKEY_SUPER_LEAGUE,label:"Turkey Super Lig",opticOddsName:"Turkey - Super Lig",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SERBIA_SUPER_LEAGUE]={sport:t.SOCCER,id:L.SERBIA_SUPER_LEAGUE,label:"Serbia Super Liga",opticOddsName:"Serbia - Super Liga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.GREECE_SUPER_LEAGUE]={sport:t.SOCCER,id:L.GREECE_SUPER_LEAGUE,label:"Greece Super League",opticOddsName:"Greece - Super League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.INDIA_PREMIER]={sport:t.SOCCER,id:L.INDIA_PREMIER,label:"India Calcutta Premier Division",opticOddsName:"India - Calcutta Premier Division",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.CHINA_SUPER_LEAGUE]={sport:t.SOCCER,id:L.CHINA_SUPER_LEAGUE,label:"China Super League",opticOddsName:"China - Super League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.AUSTRALIA_A_LEAGUE]={sport:t.SOCCER,id:L.AUSTRALIA_A_LEAGUE,label:"Australia A-League",opticOddsName:"Australia - A-League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SWITZERLAND_SUPER_LEAGUE]={sport:t.SOCCER,id:L.SWITZERLAND_SUPER_LEAGUE,label:"Switzerland Super League",opticOddsName:"Switzerland - Super League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.BUNDESLIGA_2]={sport:t.SOCCER,id:L.BUNDESLIGA_2,label:"Bundesliga 2",opticOddsName:"Germany - Bundesliga 2",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.LA_LIGA_2]={sport:t.SOCCER,id:L.LA_LIGA_2,label:"La Liga 2",opticOddsName:"Spain - La Liga 2",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SERIE_B]={sport:t.SOCCER,id:L.SERIE_B,label:"Serie B",opticOddsName:"Italy - Serie B",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.INDIA_SUPER_LEAGUE]={sport:t.SOCCER,id:L.INDIA_SUPER_LEAGUE,label:"India Super League",opticOddsName:"India - Super League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.LIGUE_2]={sport:t.SOCCER,id:L.LIGUE_2,label:"Ligue 2",opticOddsName:"France - Ligue 2",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.AUSTRIA_BUNDESLIGA]={sport:t.SOCCER,id:L.AUSTRIA_BUNDESLIGA,label:"Austria Bundesliga",opticOddsName:"Austria - Bundesliga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.DENMARK_SUPER_LEAGUE]={sport:t.SOCCER,id:L.DENMARK_SUPER_LEAGUE,label:"Denmark Superliga",opticOddsName:"Denmark - Superliga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.POLAND_LEAGUE]={sport:t.SOCCER,id:L.POLAND_LEAGUE,label:"Poland Ekstraklasa",opticOddsName:"Poland - Ekstraklasa",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SWEDEN_LEAGUE]={sport:t.SOCCER,id:L.SWEDEN_LEAGUE,label:"Sweden Allsvenskan",opticOddsName:"Sweden - Allsvenskan",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.COLOMBIA_PRIMERA_A]={sport:t.SOCCER,id:L.COLOMBIA_PRIMERA_A,label:"Colombia Primera A",opticOddsName:"Colombia - Primera A",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.ENGLAND_EFL_CUP]={sport:t.SOCCER,id:L.ENGLAND_EFL_CUP,label:"England EFL Cup",opticOddsName:"England - EFL Cup",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.ENGLAND_LEGAUE_1]={sport:t.SOCCER,id:L.ENGLAND_LEGAUE_1,label:"England League 1",opticOddsName:"England - League 1",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.URUGUAY_PRIMERA_DIVISION]={sport:t.SOCCER,id:L.URUGUAY_PRIMERA_DIVISION,label:"Uruguay Primera Division",opticOddsName:"Uruguay - Primera Division",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.AFC_CHAMPIONS_LEAGUE]={sport:t.SOCCER,id:L.AFC_CHAMPIONS_LEAGUE,label:"AFC Champions League",opticOddsName:"AFC - Champions League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.ITALY_SUPER_CUP]={sport:t.SOCCER,id:L.ITALY_SUPER_CUP,label:"Italy Super Cup",opticOddsName:"Italy - Supercoppa",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.FRANCE_SUPER_CUP]={sport:t.SOCCER,id:L.FRANCE_SUPER_CUP,label:"France Super Cup",opticOddsName:"France - Super Cup",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SPAIN_SUPER_CUP]={sport:t.SOCCER,id:L.SPAIN_SUPER_CUP,label:"Spain Super Cup",opticOddsName:"Spain - Supercopa",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.GERMANY_SUPER_CUP]={sport:t.SOCCER,id:L.GERMANY_SUPER_CUP,label:"Germany Super Cup",opticOddsName:"Germany - Super Cup",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.PORTUGAL_LEAGUE_CUP]={sport:t.SOCCER,id:L.PORTUGAL_LEAGUE_CUP,label:"Portugal League Cup",opticOddsName:"Portugal - League Cup",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.THAILAND_LEAGUE_1]={sport:t.SOCCER,id:L.THAILAND_LEAGUE_1,label:"Thai League 1",opticOddsName:"Thailand - Thai League 1",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.NETHERLANDS_CUP]={sport:t.SOCCER,id:L.NETHERLANDS_CUP,label:"Netherlands KNVB Beker",opticOddsName:"Netherlands - KNVB Beker",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.PORTUGAL_CUP]={sport:t.SOCCER,id:L.PORTUGAL_CUP,label:"Taca de Portugal",opticOddsName:"Portugal - Taca de Portugal",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.ENGLAND_SUPER_LEAGUE_WOMEN]={sport:t.SOCCER,id:L.ENGLAND_SUPER_LEAGUE_WOMEN,label:"England Women's Super League",opticOddsName:"England - Womens Super League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.ITALY_SERIE_A_WOMEN]={sport:t.SOCCER,id:L.ITALY_SERIE_A_WOMEN,label:"Italy Serie A Femminile",opticOddsName:"Italy - Serie A Femminile",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.FRANCE_PREMIERE_LIGUE_WOMEN]={sport:t.SOCCER,id:L.FRANCE_PREMIERE_LIGUE_WOMEN,label:"France Premiere Ligue Women",opticOddsName:"France - Premiere Ligue",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.GERMANY_BUNDESLIGA_WOMEN]={sport:t.SOCCER,id:L.GERMANY_BUNDESLIGA_WOMEN,label:"Germany Frauen Bundesliga",opticOddsName:"Germany - Frauen Bundesliga",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.SPAIN_LIGA_F_WOMEN]={sport:t.SOCCER,id:L.SPAIN_LIGA_F_WOMEN,label:"Spain Liga F Women",opticOddsName:"Spain - Liga F",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.NETHERLANDS_EREDIVISIE_WOMEN]={sport:t.SOCCER,id:L.NETHERLANDS_EREDIVISIE_WOMEN,label:"Netherlands Eredivisie Women",opticOddsName:"Netherlands - Vrouwen Eredivisie",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.BELGIUM_SUPER_LEAGUE_WOMEN]={sport:t.SOCCER,id:L.BELGIUM_SUPER_LEAGUE_WOMEN,label:"Belgium Women's Super League",opticOddsName:"Belgium - Womens Super League",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.UEFA_CHAMPIONS_LEAGUE_WOMEN]={sport:t.SOCCER,id:L.UEFA_CHAMPIONS_LEAGUE_WOMEN,label:"UEFA Champions League Women",opticOddsName:"UEFA - Champions League Women",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.USA_NWSL]={sport:t.SOCCER,id:L.USA_NWSL,label:"USA NWSL",opticOddsName:"USA - NWSL",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.AUSTRALIA_A_LEAGUE_WOMEN]={sport:t.SOCCER,id:L.AUSTRALIA_A_LEAGUE_WOMEN,label:"Australia A-League Women",opticOddsName:"Australia - A-League Women",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.CONCACAF_CHAMPIONS_CUP]={sport:t.SOCCER,id:L.CONCACAF_CHAMPIONS_CUP,label:"CONCACAF Champions Cup",opticOddsName:"CONCACAF - Champions Cup",provider:l.OPTICODDS,scoringType:N.GOALS,matchResolveType:s.REGULAR,periodType:I.HALF,isDrawAvailable:!0},d[L.EUROCUP]={sport:t.BASKETBALL,id:L.EUROCUP,label:"Eurocup",opticOddsName:"Eurocup",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.SPAIN_LIGA_ACB]={sport:t.BASKETBALL,id:L.SPAIN_LIGA_ACB,label:"Spain Liga ACB",opticOddsName:"Spain - Liga ACB",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.ITALY_LEGA_BASKET_SERIE_A]={sport:t.BASKETBALL,id:L.ITALY_LEGA_BASKET_SERIE_A,label:"Italy Lega Basket Serie A",opticOddsName:"Italy - Lega Basket Serie A",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.GERMANY_BBL]={sport:t.BASKETBALL,id:L.GERMANY_BBL,label:"Germany BBL",opticOddsName:"Germany - BBL",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.FRANCE_LNB_PRO_A]={sport:t.BASKETBALL,id:L.FRANCE_LNB_PRO_A,label:"France LNB Pro A",opticOddsName:"France - LNB Pro A",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.CHINA_CBA]={sport:t.BASKETBALL,id:L.CHINA_CBA,label:"China CBA",opticOddsName:"China - CBA",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.AUSTRALIA_NBL]={sport:t.BASKETBALL,id:L.AUSTRALIA_NBL,label:"Australia NBL",opticOddsName:"Australia - NBL",provider:l.OPTICODDS,scoringType:N.POINTS,matchResolveType:s.OVERTIME,periodType:I.QUARTER,isDrawAvailable:!1},d[L.ROCKET_LEAGUE]={sport:t.ESPORTS,id:L.ROCKET_LEAGUE,label:"Rocket League",opticOddsName:"Rocket League",provider:l.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:I.MAP,isDrawAvailable:!1},d[L.CALL_OF_DUTY]={sport:t.ESPORTS,id:L.CALL_OF_DUTY,label:"Call of Duty",opticOddsName:"Call of Duty",provider:l.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:I.MAP,isDrawAvailable:!1},d[L.STARCRAFT]={sport:t.ESPORTS,id:L.STARCRAFT,label:"Starcraft",opticOddsName:"Starcraft",provider:l.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:I.MAP,isDrawAvailable:!1},d[L.VALORANT]={sport:t.ESPORTS,id:L.VALORANT,label:"Valorant",opticOddsName:"Valorant",provider:l.OPTICODDS,scoringType:N.MAPS,matchResolveType:s.EMPTY,periodType:I.MAP,isDrawAvailable:!1},d[L.NFL_FUTURES]={sport:t.FUTURES,id:L.NFL_FUTURES,label:"NFL Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.NBA_FUTURES]={sport:t.FUTURES,id:L.NBA_FUTURES,label:"NBA Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.NHL_FUTURES]={sport:t.FUTURES,id:L.NHL_FUTURES,label:"NHL Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.EPL_FUTURES]={sport:t.FUTURES,id:L.EPL_FUTURES,label:"EPL Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.LIGUE_ONE_FUTURES]={sport:t.FUTURES,id:L.LIGUE_ONE_FUTURES,label:"Ligue 1 Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.BUNDESLIGA_FUTURES]={sport:t.FUTURES,id:L.BUNDESLIGA_FUTURES,label:"Bundesliga Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.LA_LIGA_FUTURES]={sport:t.FUTURES,id:L.LA_LIGA_FUTURES,label:"La Liga",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.SERIE_A_FUTURES]={sport:t.FUTURES,id:L.SERIE_A_FUTURES,label:"Serie A Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.UEFA_CHAMPIONS_LEAGUE_FUTURES]={sport:t.FUTURES,id:L.UEFA_CHAMPIONS_LEAGUE_FUTURES,label:"UEFA Champions League Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.ATP_FUTURES]={sport:t.FUTURES,id:L.ATP_FUTURES,label:"ATP Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.EUROLEAGUE_FUTURES]={sport:t.FUTURES,id:L.EUROLEAGUE_FUTURES,label:"Euroleague Futures",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.GOLF_H2H]={sport:t.GOLF,id:L.GOLF_H2H,label:"Golf head-to-head",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d[L.GOLF_WINNER]={sport:t.GOLF,id:L.GOLF_WINNER,label:"Golf Tournament Winner",provider:l.EMPTY,scoringType:N.EMPTY,matchResolveType:s.EMPTY,periodType:I.EMPTY,isDrawAvailable:!1},d),c=[L.CSGO,L.DOTA2,L.LOL,L.VALORANT,L.ROCKET_LEAGUE,L.CALL_OF_DUTY,L.STARCRAFT,L.TENNIS_GS,L.TENNIS_MASTERS,L.SUMMER_OLYMPICS_TENNIS,L.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_0,L.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_1,L.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_2,L.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_3,L.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_4,L.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_5,L.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_6,L.TENNIS_ATP_GRAND_SLAM_LIVE_MAPPING_V2_7,L.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_0,L.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_1,L.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_2,L.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_3,L.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_4,L.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_5,L.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_6,L.TENNIS_WTA_GRAND_SLAM_LIVE_MAPPING_V2_7,L.TENNIS_MASTERS_LIVE_MAPPING_V2_1,L.TENNIS_MASTERS_LIVE_MAPPING_V2_2,L.TENNIS_MASTERS_LIVE_MAPPING_V2_3,L.TENNIS_MASTERS_LIVE_MAPPING_V2_4,L.TENNIS_MASTERS_LIVE_MAPPING_V2_5,L.TENNIS_MASTERS_LIVE_MAPPING_V2_6,L.TENNIS_MASTERS_LIVE_MAPPING_V2_7,L.TENNIS_MASTERS_LIVE_MAPPING_V2_8,L.TENNIS_MASTERS_LIVE_MAPPING_V2_9,L.TENNIS_MASTERS_LIVE_MAPPING_V2_10,L.TENNIS_MASTERS_LIVE_MAPPING_V2_11,L.TENNIS_MASTERS_LIVE_MAPPING_V2_12,L.TENNIS_MASTERS_LIVE_MAPPING_V2_13,L.TENNIS_MASTERS_LIVE_MAPPING_V2_14,L.TENNIS_MASTERS_LIVE_MAPPING_V2_15,L.TENNIS_MASTERS_LIVE_MAPPING_V2_16,L.TENNIS_MASTERS_LIVE_MAPPING_V2_17,L.TENNIS_MASTERS_LIVE_MAPPING_V2_18,L.TENNIS_MASTERS_LIVE_MAPPING_V2_19,L.TENNIS_MASTERS_LIVE_MAPPING_V2_20,L.TENNIS_MASTERS_LIVE_MAPPING_V2_21,L.TENNIS_MASTERS_LIVE_MAPPING_V2_22,L.TENNIS_WTA_LIVE_MAPPING_V2_1,L.TENNIS_WTA_LIVE_MAPPING_V2_2,L.TENNIS_WTA_LIVE_MAPPING_V2_3,L.TENNIS_WTA_LIVE_MAPPING_V2_4,L.TENNIS_WTA_LIVE_MAPPING_V2_5,L.TENNIS_WTA_LIVE_MAPPING_V2_6,L.TENNIS_WTA_LIVE_MAPPING_V2_7,L.TENNIS_WTA_LIVE_MAPPING_V2_8,L.TENNIS_WTA_LIVE_MAPPING_V2_9,L.TENNIS_WTA_LIVE_MAPPING_V2_10,L.TENNIS_WTA_LIVE_MAPPING_V2_11,L.TENNIS_WTA_LIVE_MAPPING_V2_12,L.TENNIS_WTA_LIVE_MAPPING_V2_13,L.TENNIS_WTA_LIVE_MAPPING_V2_14,L.TENNIS_WTA_LIVE_MAPPING_V2_15,L.TENNIS_WTA_LIVE_MAPPING_V2_16,L.TENNIS_WTA_LIVE_MAPPING_V2_17,L.TENNIS_WTA_LIVE_MAPPING_V2_18,L.TENNIS_WTA_LIVE_MAPPING_V2_19,L.TENNIS_WTA_LIVE_MAPPING_V2_20,L.TENNIS_WTA_LIVE_MAPPING_V2_21,L.TENNIS_WTA_LIVE_MAPPING_V2_22,L.TENNIS_WTA_LIVE_MAPPING_V2_23],C=[L.SUMMER_OLYMPICS_RUGBY,L.SUMMER_OLYMPICS_RUGBY_WOMEN],U=[L.NCAAF,L.NFL,L.MLB,L.NBA,L.NCAAB,L.NHL,L.WNBA,L.MLS,L.IPL,L.T20_BLAST],u=[701,702,703,704],m={1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21},G={320:18,6:24,33:33,16:42,44:44,45:45,11:47,50:50,12:53,13:54,15:55,57:57,61:61,65:65,66:66,17:73,76:76,14:87,152:152,153:153,156:156,158:158,132:132,134:134,138:138,141:141,209:209,230:230,268:268,288:288,296:296,310:310,319:319,322:322,327:327,380:380,381:381,399:399,406:406,407:407,409:409,445:445,453:453,454:454,497:497,536:536,8881:8881,8893:8893,8894:8894,8910:8910,9196:9196,9578:9578,9588:9588,9698:9698,9699:9699,9806:9806,9821:9821,9977:9977,9983:9983,10071:10071,10072:10072,10502:10502,10138:10138,10199:10199,10216:10216,10595:10595,10611:10611,10613:10613,10615:10615},y={1:"NCAAF",2:"NFL",3:"MLB",4:"NBA",5:"NCAAB",6:"NHL",7:"UFC",8:"WNBA",10:"USA - Major League Soccer",11:"England - Premier League",12:"France - Ligue 1",13:"Germany - Bundesliga",14:"Spain - La Liga",15:"Italy - Serie A",16:"UEFA - Champions League",17:"UEFA - Europa League",18:"FIFA - World Cup Qualifiers",19:"Japan - J1 League",45:"CONMEBOL - Copa Libertadores",57:"Netherlands - Eredivisie",61:"Portugal - Primeira Liga",132:"England - FA Cup",134:"France - Coupe de France",138:"Spain - Copa del Rey",152:"WTA",156:"ATP",141:"Italy - Coppa Italia",209:"Germany - DFB Pokal",230:"Mexico - Liga MX",268:"Brazil - Serie A",310:"Czech Republic - Extraliga",319:"Finland - SM Liiga",321:"Russia - KHL",322:"Germany - DEL",323:"Austria - Ice Hockey League",324:"Sweden - SHL",327:"Switzerland - National League",399:"Euroleague",536:"Saudi Arabia - Saudi League",9806:"UEFA - Nations League",9977:"CS2",9983:"Dota 2",10138:"League of Legends",10216:"UEFA - Europa Conference League",20001:"UEFA - Super Cup",20002:"Brazil - Copa do Brasil",20011:"England - Championship",20101:"Scotland - Premiership",20102:"Belgium - Jupiler Pro League",20103:"Czech Republic - FNL",20104:"Chile - Primera Division",20105:"Finland - Veikkausliiga",20106:"Argentina - Primera Division",20107:"Russia - Premier League",20108:"Turkey - Super Lig",20109:"Serbia - Super Liga",20110:"Greece - Super League",20111:"India - Calcutta Premier Division",20112:"China - Super League",20113:"Australia - A-League",20114:"Switzerland - Super League",20115:"Germany - Bundesliga 2",20116:"Spain - La Liga 2",20117:"Italy - Serie B",20118:"India - Super League",20119:"France - Ligue 2",20120:"Austria - Bundesliga",20121:"Denmark - Superliga",20122:"Poland - Ekstraklasa",20123:"Sweden - Allsvenskan",20124:"Colombia - Primera A",20125:"England - EFL Cup",20126:"England - League 1",20127:"Uruguay - Primera Division",20128:"AFC - Champions League",20129:"Italy - Supercoppa",20130:"France - Super Cup",20131:"Spain - Supercopa",20132:"Germany - Super Cup",20133:"Portugal - League Cup",20134:"Thailand - Thai League 1",20135:"Netherlands - KNVB Beker",20136:"Portugal - Taca de Portugal",20137:"England - Womens Super League",20138:"Italy - Serie A Femminile",20139:"France - Premiere Ligue",20140:"Germany - Frauen Bundesliga",20141:"Spain - Liga F",20142:"Netherlands - Vrouwen Eredivisie",20143:"Belgium - Womens Super League",20144:"UEFA - Champions League Women",20145:"USA - NWSL",20146:"Australia - A-League Women",20147:"CONCACAF - Champions Cup",20200:"Eurocup",20201:"Spain - Liga ACB",20202:"Italy - Lega Basket Serie A",20203:"Germany - BBL",20204:"France - LNB Pro A",20205:"China - CBA",20206:"Australia - NBL",20297:"Rocket League",20298:"Call of Duty",20299:"Starcraft",20300:"Valorant"},D=function(e){var r=M[e];return r?r.sport:t.EMPTY},v=function(e){var r=M[e];return r?r.label:""},g=function(e){var r=M[e];return r?r.provider:""},F=function(e){var r=M[e];return!!r&&r.isDrawAvailable},b=function(e){var r=M[e];return r?r.periodType:""},V=function(e){var r=M[e];return r?r.opticOddsName:void 0},h=function(e){var r=new Set;return e.filter((function(e){return"true"===e.enabled})).map((function(e){return r.add(Number(e.sportId))})),Array.from(r)},B=function(e,r){var a=new Set;return r.filter((function(r){return Number(r.sportId)===Number(e)&&"true"===r.enabled})).map((function(e){return a.add(e.marketName)})),Array.from(a)},w=function(e,r){return r.filter((function(r){return Number(r.sportId)===e}))},f=function(e,r){return r.filter((function(r){return Number(r.sportId)===Number(e)&&"Spread"===r.type&&"true"===r.enabled})).map((function(e){return e.marketName.toLowerCase()}))},Y=function(e,r){return r.filter((function(r){return Number(r.sportId)===Number(e)&&"Total"===r.type&&"true"===r.enabled})).map((function(e){return e.marketName.toLowerCase()}))},W=function(e,r,a,E,i,A){var _,o;if(c.includes(e)?(_=E.toLowerCase()==r.toLowerCase()||E.toLowerCase()==a.toLowerCase(),o=i.toLowerCase()==r.toLowerCase()||i.toLowerCase()==a.toLowerCase()):(_=E.toLowerCase()==r.toLowerCase(),o=i.toLowerCase()==a.toLowerCase()),!0!==_){var t=A.get(E.toLowerCase()),L=A.get(r.toLowerCase()),T=A.get(a.toLowerCase());if([t,L].some((function(e){return null==e})))return!1;_=c.includes(e)?t==L||t==T:t==L}if(!0!==o){var p=A.get(i.toLowerCase());if(L=A.get(r.toLowerCase()),[p,T=A.get(a.toLowerCase())].some((function(e){return null==e})))return!1;o=c.includes(e)&&p==L||p==T}return _&&o},H=function(e,r,a,E){var i;if(D(a)==t.TENNIS){var A=r.getTime(),_=e.getTime();i=Math.abs(_-A)<=Number(60*E*1e3)}else i=r.toUTCString()==e.toUTCString();return i},k=0,K="Draw",Q=0,x=.2,j=10001,X=10002,Z=100,z=":",J="_",$=function(e,r,a){if(e.some((function(e){return 0===e})))return e;var E=e.reduce((function(e,r){return e+r}),0);if(E<=1)return Array(e.length).fill(0);if(0===a){if(!(r>100*(E-1)))return e;a=r}var i=1+a/100,A=i/E,_=e.map((function(e){return e*A}));if(_.some((function(e){return e>=1})))return Array(e.length).fill(0);var o=_.reduce((function(e,r){return e+r}),0);if(o<1)return Array(e.length).fill(0);var t=i/o;return _.map((function(e){return e*t}))},q=function(e,r,a,E){var i=e.find((function(e){return Number(e.typeId)===Number(a)&&Number(e.sportId)===Number(r)}));return i?{minSpread:i.minSpread?Number(i.minSpread):E,targetSpread:i.targetSpread?Number(i.targetSpread):0}:{minSpread:E,targetSpread:0}},ee=function(e,r,a){return e.map((function(e){if(0!=e){var E=r.find((function(e){return Number(e.typeId)===Number(a)})),i=e;return e<.95&&E&&Number(E.addedSpread)&&(i=e*(100+Number(E.addedSpread))/100)>=1&&(i=e),i}return 0}))},re=function(){return re=Object.assign||function(e){for(var r,a=1,E=arguments.length;a<E;a++)for(var i in r=arguments[a])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},re.apply(this,arguments)},ae=function(e,r,a){if(a||2===arguments.length)for(var E,i=0,A=r.length;i<A;i++)!E&&i in r||(E||(E=Array.prototype.slice.call(r,0,i)),E[i]=r[i]);return e.concat(E||Array.prototype.slice.call(r))},Ee=function(e){return e===k?0:ie("decimal","impliedProbability",e)},ie=function(e,r,a){try{return n(e,a).to(r)}catch(e){return 0}},Ae=function(e,r,a,E,i){var A=new Map;return a.forEach((function(a){var _=0,o=e.filter((function(e){return e&&e.marketName.toLowerCase()===r.toLowerCase()&&e.sportsBookName.toLowerCase()==a.toLowerCase()&&e.selection.toLowerCase()===E.homeTeam.toLowerCase()}));0!==o.length&&(_=o[0].price);var t=0,L=e.filter((function(e){return e&&e.marketName.toLowerCase()===r.toLowerCase()&&e.sportsBookName.toLowerCase()==a.toLowerCase()&&e.selection.toLowerCase()===E.awayTeam.toLowerCase()}));0!==L.length&&(t=L[0].price);var T=0;if(!i){var p=e.filter((function(e){return e&&e.marketName.toLowerCase()===r.toLowerCase()&&e.sportsBookName.toLowerCase()==a.toLowerCase()&&e.selection.toLowerCase()===K.toLowerCase()}));0!==p.length&&(T=p[0].price)}A.set(a.toLowerCase(),{homeOdds:_,awayOdds:t,drawOdds:T})})),A},_e=function(e,r,a,E,i,A,_){var o={homeTeam:E.homeTeam,awayTeam:E.awayTeam},t=Ae(E.odds,T.MONEYLINE,a,o,e),L=R(t,a,e,_,x);if(L.errorMessage)return{odds:e?[0,0]:[0,0,0],errorMessage:L.errorMessage};var p=(e?[L.homeOdds,L.awayOdds]:[L.homeOdds,L.awayOdds,L.drawOdds]).map((function(e){return Ee(e)})),S=q(r,i,Q,A);return{odds:p=null!==S?$(p,S.minSpread,S.targetSpread):$(p,A,0)}},oe=function(e,r,a,E,i,A){var _=[[],[],[],[]],o=_[0],t=_[1],L=_[2],T=_[3],p=w(a,A),S={homeTeam:e.homeTeam,awayTeam:e.awayTeam};if(p.length>0){te(e.odds,p,E[0]).forEach((function(e){"Total"===e.type?.5===Math.abs(Number(e.points)%1)&&t.push(e):"Spread"===e.type?.5===Math.abs(Number(e.points)%1)&&o.push(e):"Moneyline"===e.type&&L.push(e)}));var N=ae(ae(ae([],Le(o,S),!0),Te(t,S),!0),pe(L,S),!0);Se(N,r,i).forEach((function(e){var r={leagueId:Number(e.sportId),typeId:Number(e.typeId),type:e.type.toLowerCase(),line:Number(e.line||0),odds:e.odds},a=p.find((function(r){return Number(r.typeId)===Number(e.typeId)})),E=null==a?void 0:a.minOdds,i=null==a?void 0:a.maxOdds;E&&i&&(e.odds[0]>=E||e.odds[0]<=i||e.odds[1]>=E||e.odds[1]<=i)||T.push(r)}))}else console.warn("No child markets for leagueID: ".concat(Number(a)));return T},te=function(e,r,a){var E=r.filter((function(e){return e.marketName.toLowerCase()!==T.MONEYLINE.toLowerCase()&&"true"===e.enabled})).map((function(e){return e.marketName.toLowerCase()}));return e.filter((function(e){return E.includes(e.marketName.toLowerCase())&&e.sportsBookName.toLowerCase()==a.toLowerCase()})).map((function(e){return re(re({},e),r.find((function(r){return r.marketName.toLowerCase()===e.marketName.toLowerCase()})))}))},Le=function(e,r){var a=e.reduce((function(e,a){var E=a.points,i=a.marketName,A=a.price,_=a.selection,o=a.typeId,t=a.sportId,L=a.type,T=_===r.homeTeam,p="".concat(i,"_").concat(T?E:-E);return e[p]||(e[p]={home:null,away:null,typeId:null,sportId:null}),T?e[p].home=A:e[p].away=A,e[p].typeId=o,e[p].type=L,e[p].sportId=t,e}),{}),E=Object.entries(a).reduce((function(e,r){var a=r[0],E=r[1],i=a.split("_"),A=(i[0],i[1]),_=parseFloat(A);return null!==E.home&&null!==E.away&&e.push({line:_,odds:[E.home,E.away],typeId:E.typeId,sportId:E.sportId,type:E.type}),e}),[]);return E},Te=function(e,r){var a=e.reduce((function(e,r){if(r){var a="".concat(r.marketName,"_").concat(r.selection,"_").concat(r.points);e[a]||(e[a]={over:null,under:null}),"over"===r.selectionLine?e[a].over=r.price:"under"===r.selectionLine&&(e[a].under=r.price),e[a].typeId=r.typeId,e[a].type=r.type,e[a].sportId=r.sportId}return e}),{}),E=Object.entries(a).reduce((function(e,a){var E=a[0],i=a[1],A=E.split("_"),_=(A[0],A[1]),o=A[2],t=parseFloat(o),L=_===r.awayTeam;return null!==i.over&&null!==i.under&&e.push({line:t,odds:[i.over,i.under],typeId:L?Number(i.typeId)+1:i.typeId,sportId:i.sportId,type:i.type}),e}),[]);return E},pe=function(e,r){var a=e.reduce((function(e,a){var E=a.price,i=a.selection,A=a.typeId,_=a.sportId,o=a.type,t=A;return e[t]||(e[t]={home:null,away:null,draw:null,typeId:null,sportId:null}),i.toLowerCase()===r.homeTeam.toLowerCase()?e[t].home=E:i.toLowerCase()===r.awayTeam.toLowerCase()?e[t].away=E:i.toLowerCase()===K.toLowerCase()&&(e[t].draw=E),e[t].typeId=A,e[t].type=o,e[t].sportId=_,e}),{}),E=Object.entries(a).reduce((function(e,r){r[0];var a=r[1];return null!==a.home&&null!==a.away&&e.push({odds:a.draw?[a.home,a.away,a.draw]:[a.home,a.away],typeId:a.typeId,sportId:a.sportId,type:a.type}),e}),[]);return E},Se=function(e,r,a){var E=[];return e.forEach((function(e){var i=3===e.odds.length,A=Ee(e.odds[0])||k,_=Ee(e.odds[1])||k,o=Ee(e.odds[2])||k,t=i?[A,_,o]:[A,_];if(!(A===k||_===k||i&&o===k)){var L,T=q(r,e.sportId,e.typeId,a);L=null!==T?$(t,T.minSpread,T.targetSpread):$(t,a,0),E.push(re(re({},e),{odds:L}))}})),E},Ne=function(){return Ne=Object.assign||function(e){for(var r,a=1,E=arguments.length;a<E;a++)for(var i in r=arguments[a])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},Ne.apply(this,arguments)},se=function(e,r,a,E,i,A,_,o){var t=E.filter((function(r){return r.sportId===String(e.leagueId)})),L=w(e.leagueId,o),T=_e(!i,t,a,r,e.leagueId,A,_),p=ee(T.odds,L,e.typeId);T.errorMessage?(e.odds=e.odds.map((function(){return{american:0,decimal:0,normalizedImplied:0}})),e.errorMessage=T.errorMessage):e.odds=p.map((function(r){return 0!=r?{american:n("impliedProbability",r).to("moneyline"),decimal:Number(n("impliedProbability",r).to("decimal").toFixed(10)),normalizedImplied:r}:(e.errorMessage="Bad odds after spread adjustment",{american:0,decimal:0,normalizedImplied:0})}));var S=oe(r,t,e.leagueId,a,A,o).map((function(r){var a=Ne(Ne({},e),r),E=ee(a.odds,L,a.typeId);return a.odds.length>0&&(a.odds=E.map((function(e){return 0==e?{american:0,decimal:0,normalizedImplied:0}:{american:n("impliedProbability",e).to("moneyline"),decimal:Number(n("impliedProbability",e).to("decimal").toFixed(10)),normalizedImplied:e}}))),a}));return e.childMarkets=S,e},Ie=function(e,r,a){var E=D(r),i=e.homeTeam,A=e.homeTotal,_=e.awayTeam,o=e.awayTotal,L=e.clock,T=e.period,p=e.status,S=parseInt(T);return"completed"==p.toLowerCase()?{allow:!1,message:"Blocking game ".concat(i," - ").concat(_," because it is no longer live.")}:E===t.BASKETBALL?le(i,_,S,a.get(t.BASKETBALL)):E===t.HOCKEY?le(i,_,S,a.get(t.HOCKEY)):E===t.BASEBALL?le(i,_,S,a.get(t.BASEBALL)):E===t.SOCCER?de(i,_,L,T,a.get(t.SOCCER)):E===t.TENNIS?ne(e,i,_,T,A,o,r,E):E===t.VOLLEYBALL?ne(e,i,_,S,A,o,r,E):{allow:!0,message:"The sport ".concat(r," does not have constraint")}},le=function(e,r,a,E){return!Number.isNaN(a)&&a>=E?{allow:!1,message:"Blocking game ".concat(e," - ").concat(r," due to period: ").concat(a,". period")}:{allow:!0,message:""}},de=function(e,r,a,E,i){var A=Number(a);return!Number.isNaN(A)&&A>=i||Number.isNaN(A)&&"half"!=E.toLowerCase()?{allow:!1,message:"Blocking game ".concat(e," - ").concat(r," due to clock: ").concat(a,"min")}:{allow:!0,message:""}},ne=function(e,r,a,E,i,A,_,o){var T=Number(E),p=Oe(T,e),S="atp"==e.league.toLowerCase(),N={home:i,away:A};return o==t.VOLLEYBALL?Re(r,a,p,N,Pe,5==T?ce:Me):_.toString().startsWith(L.TENNIS_GS)&&S?Re(r,a,p,N,Ce,ue):_.toString().startsWith(L.TENNIS_GS)&&!S||_.toString().startsWith(L.TENNIS_MASTERS)||_.toString().startsWith(L.SUMMER_OLYMPICS_TENNIS)||_.toString().startsWith(L.TENNIS_WTA)?Re(r,a,p,N,Ue,ue):{allow:!0,message:"The sport ".concat(_," does not have result constraint")}},Oe=function(e,r){var a=0,E=0;switch(e){case 1:a=Number(r.homePeriod1),E=Number(r.awayPeriod1);break;case 2:a=Number(r.homePeriod2),E=Number(r.awayPeriod2);break;case 3:a=Number(r.homePeriod3),E=Number(r.awayPeriod3);break;case 4:a=Number(r.homePeriod4),E=Number(r.awayPeriod4);break;case 5:a=Number(r.homePeriod5),E=Number(r.awayPeriod5)}return{home:a,away:E}},Re=function(e,r,a,E,i,A){return Number(E.home)!=i&&Number(E.away)!=i||!(Number(E.home)==i&&a.home>=A||Number(E.away)==i&&a.away>=A)?{allow:!0,message:"",currentHomeGameScore:a.home,currentAwayGameScore:a.away}:{allow:!1,message:"Blocking game ".concat(e," - ").concat(r," due to current result: ").concat(E.home," - ").concat(E.away," (").concat(a.home," - ").concat(a.away,")")}},Pe=2,Me=20,ce=10,Ce=2,Ue=1,ue=5,me=a(168),Ge=a.n(me),ye=function(){return ye=Object.assign||function(e){for(var r,a=1,E=arguments.length;a<E;a++)for(var i in r=arguments[a])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},ye.apply(this,arguments)},De=function(e){return e.map((function(e){return{gameId:e.id,startDate:e.start_date,homeTeam:e.home_team_display,awayTeam:e.away_team_display}}))},ve=function(e){return e.map((function(e){return ye(ye({gameId:e.fixture.id,sport:e.sport.name,league:e.league.name.toLowerCase(),status:e.fixture.status?e.fixture.status.toLowerCase():e.fixture.status,isLive:e.fixture.is_live,clock:e.in_play.clock,period:e.in_play.period?e.in_play.period.toLowerCase():e.in_play.period,homeTeam:e.fixture.home_team_display,awayTeam:e.fixture.away_team_display,homeTotal:e.scores.home.total,awayTotal:e.scores.away.total},Fe(e.scores.home.periods,"home")),Fe(e.scores.away.periods,"away"))}))},ge=function(e){return e.map((function(e){return{gameId:e.id,startDate:e.start_date,homeTeam:e.home_team_display,awayTeam:e.away_team_display,isLive:e.is_live,status:e.status,sport:e.sport.id,league:e.league.name,odds:e.odds.map((function(r){return{id:r.id,sportsBookName:r.sportsbook,name:r.name,price:r.price,timestamp:r.timestamp,points:r.points,isMain:r.is_main,isLive:e.is_live,marketName:r.market.toLowerCase(),playerId:r.player_id,selection:r.selection,selectionLine:r.selection_line}}))}}))},Fe=function(e,r){return Object.values(e).reduce((function(e,a,E){var i;return ye(ye({},e),((i={})["".concat(r,"Period").concat(E+1)]=a,i))}),{})},be=function(e){return Ge()({input:e}).replace(/\0/g,"")},Ve=function(e){return e.replaceAll(" ","_").toLowerCase()},he=function(e){if(!e.includes(z))return e;var r=e.split(z),a=r[0],E=r[1],i=Object.keys(y).find((function(e){return Ve(y[Number(e)])===a}));if(!i)throw"Optic Odds league ".concat(a," not mapped.");return"".concat(i).concat(J).concat(E)},Be=function(e){if(!e.includes(J))return e;var r=e.split(J),a=r[0],E=r[1],i=y[Number(a)];if(!i)throw"Overtime league ID ".concat(a," not mapped.");return"".concat(Ve(i)).concat(z).concat(E)},we=function(e){return Ge()({input:he(e)})},fe=function(e){return Be(be(e))}})(),E})()));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overtime-live-trading-utils",
3
- "version": "1.1.26",
3
+ "version": "1.1.28",
4
4
  "description": "",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -456,6 +456,83 @@ export const LeagueMap = {
456
456
  periodType: PeriodType.HALF,
457
457
  isDrawAvailable: true,
458
458
  },
459
+ [League.CZECH_REPUBLIC_EXTRALIGA]: {
460
+ sport: Sport.HOCKEY,
461
+ id: League.CZECH_REPUBLIC_EXTRALIGA,
462
+ label: 'Czech Republic Extraliga',
463
+ opticOddsName: 'Czech Republic - Extraliga',
464
+ provider: Provider.OPTICODDS,
465
+ scoringType: ScoringType.GOALS,
466
+ matchResolveType: MatchResolveType.OVERTIME,
467
+ periodType: PeriodType.PERIOD,
468
+ isDrawAvailable: true,
469
+ },
470
+ [League.FINLAND_SM_LIIGA]: {
471
+ sport: Sport.HOCKEY,
472
+ id: League.FINLAND_SM_LIIGA,
473
+ label: 'Finland SM Liiga',
474
+ opticOddsName: 'Finland - SM Liiga',
475
+ provider: Provider.OPTICODDS,
476
+ scoringType: ScoringType.GOALS,
477
+ matchResolveType: MatchResolveType.OVERTIME,
478
+ periodType: PeriodType.PERIOD,
479
+ isDrawAvailable: true,
480
+ },
481
+ [League.RUSSIA_KHL]: {
482
+ sport: Sport.HOCKEY,
483
+ id: League.RUSSIA_KHL,
484
+ label: 'Russia KHL',
485
+ opticOddsName: 'Russia - KHL',
486
+ provider: Provider.OPTICODDS,
487
+ scoringType: ScoringType.GOALS,
488
+ matchResolveType: MatchResolveType.OVERTIME,
489
+ periodType: PeriodType.PERIOD,
490
+ isDrawAvailable: true,
491
+ },
492
+ [League.GERMANY_DEL]: {
493
+ sport: Sport.HOCKEY,
494
+ id: League.GERMANY_DEL,
495
+ label: 'Germany DEL',
496
+ opticOddsName: 'Germany - DEL',
497
+ provider: Provider.OPTICODDS,
498
+ scoringType: ScoringType.GOALS,
499
+ matchResolveType: MatchResolveType.OVERTIME,
500
+ periodType: PeriodType.PERIOD,
501
+ isDrawAvailable: true,
502
+ },
503
+ [League.AUSTRIA_ICE_HOCKEY_LEAGUE]: {
504
+ sport: Sport.HOCKEY,
505
+ id: League.AUSTRIA_ICE_HOCKEY_LEAGUE,
506
+ label: 'Austria Ice Hockey League',
507
+ opticOddsName: 'Austria - Ice Hockey League',
508
+ provider: Provider.OPTICODDS,
509
+ scoringType: ScoringType.GOALS,
510
+ matchResolveType: MatchResolveType.OVERTIME,
511
+ periodType: PeriodType.PERIOD,
512
+ isDrawAvailable: true,
513
+ },
514
+ [League.SWEDEN_SHL]: {
515
+ sport: Sport.HOCKEY,
516
+ id: League.SWEDEN_SHL,
517
+ label: 'Sweden SHL',
518
+ opticOddsName: 'Sweden - SHL',
519
+ provider: Provider.OPTICODDS,
520
+ scoringType: ScoringType.GOALS,
521
+ matchResolveType: MatchResolveType.OVERTIME,
522
+ periodType: PeriodType.PERIOD,
523
+ isDrawAvailable: true,
524
+ },
525
+ [League.SWITZETLAND_NATIONAL_LEAGUE]: {
526
+ sport: Sport.HOCKEY,
527
+ id: League.SWITZETLAND_NATIONAL_LEAGUE,
528
+ label: 'Switzerland National League',
529
+ opticOddsName: 'Switzerland - National League',
530
+ provider: Provider.OPTICODDS,
531
+ scoringType: ScoringType.GOALS,
532
+ matchResolveType: MatchResolveType.OVERTIME,
533
+ periodType: PeriodType.PERIOD,
534
+ isDrawAvailable: true,
535
+ },
459
536
  [League.SUMMER_OLYMPICS_HANDBALL_WOMEN]: {
460
537
  sport: Sport.HANDBALL,
461
538
  id: League.SUMMER_OLYMPICS_HANDBALL_WOMEN,
@@ -1304,7 +1381,7 @@ export const LeagueMap = {
1304
1381
  [League.SPAIN_LIGA_F_WOMEN]: {
1305
1382
  sport: Sport.SOCCER,
1306
1383
  id: League.SPAIN_LIGA_F_WOMEN,
1307
- label: 'Spain - Liga F Women',
1384
+ label: 'Spain Liga F Women',
1308
1385
  opticOddsName: 'Spain - Liga F',
1309
1386
  provider: Provider.OPTICODDS,
1310
1387
  scoringType: ScoringType.GOALS,
@@ -1345,6 +1422,39 @@ export const LeagueMap = {
1345
1422
  periodType: PeriodType.HALF,
1346
1423
  isDrawAvailable: true,
1347
1424
  },
1425
+ [League.USA_NWSL]: {
1426
+ sport: Sport.SOCCER,
1427
+ id: League.USA_NWSL,
1428
+ label: 'USA NWSL',
1429
+ opticOddsName: 'USA - NWSL',
1430
+ provider: Provider.OPTICODDS,
1431
+ scoringType: ScoringType.GOALS,
1432
+ matchResolveType: MatchResolveType.REGULAR,
1433
+ periodType: PeriodType.HALF,
1434
+ isDrawAvailable: true,
1435
+ },
1436
+ [League.AUSTRALIA_A_LEAGUE_WOMEN]: {
1437
+ sport: Sport.SOCCER,
1438
+ id: League.AUSTRALIA_A_LEAGUE_WOMEN,
1439
+ label: 'Australia A-League Women',
1440
+ opticOddsName: 'Australia - A-League Women',
1441
+ provider: Provider.OPTICODDS,
1442
+ scoringType: ScoringType.GOALS,
1443
+ matchResolveType: MatchResolveType.REGULAR,
1444
+ periodType: PeriodType.HALF,
1445
+ isDrawAvailable: true,
1446
+ },
1447
+ [League.CONCACAF_CHAMPIONS_CUP]: {
1448
+ sport: Sport.SOCCER,
1449
+ id: League.CONCACAF_CHAMPIONS_CUP,
1450
+ label: 'CONCACAF Champions Cup',
1451
+ opticOddsName: 'CONCACAF - Champions Cup',
1452
+ provider: Provider.OPTICODDS,
1453
+ scoringType: ScoringType.GOALS,
1454
+ matchResolveType: MatchResolveType.REGULAR,
1455
+ periodType: PeriodType.HALF,
1456
+ isDrawAvailable: true,
1457
+ },
1348
1458
  [League.EUROCUP]: {
1349
1459
  sport: Sport.BASKETBALL,
1350
1460
  id: League.EUROCUP,
@@ -1815,6 +1925,13 @@ export const LeagueIdMapOpticOdds = {
1815
1925
  209: 'Germany - DFB Pokal',
1816
1926
  230: 'Mexico - Liga MX',
1817
1927
  268: 'Brazil - Serie A',
1928
+ 310: 'Czech Republic - Extraliga',
1929
+ 319: 'Finland - SM Liiga',
1930
+ 321: 'Russia - KHL',
1931
+ 322: 'Germany - DEL',
1932
+ 323: 'Austria - Ice Hockey League',
1933
+ 324: 'Sweden - SHL',
1934
+ 327: 'Switzerland - National League',
1818
1935
  399: 'Euroleague',
1819
1936
  536: 'Saudi Arabia - Saudi League',
1820
1937
  9806: 'UEFA - Nations League',
@@ -1869,6 +1986,9 @@ export const LeagueIdMapOpticOdds = {
1869
1986
  20142: 'Netherlands - Vrouwen Eredivisie',
1870
1987
  20143: 'Belgium - Womens Super League',
1871
1988
  20144: 'UEFA - Champions League Women',
1989
+ 20145: 'USA - NWSL',
1990
+ 20146: 'Australia - A-League Women',
1991
+ 20147: 'CONCACAF - Champions Cup',
1872
1992
  20200: 'Eurocup',
1873
1993
  20201: 'Spain - Liga ACB',
1874
1994
  20202: 'Italy - Lega Basket Serie A',
@@ -63,6 +63,13 @@ export enum League {
63
63
  BRAZIL_1 = 268,
64
64
  UEFA_EURO_U21 = 288,
65
65
  FIFA_WORLD_CUP_U20 = 296,
66
+ CZECH_REPUBLIC_EXTRALIGA = 310,
67
+ FINLAND_SM_LIIGA = 319,
68
+ RUSSIA_KHL = 321,
69
+ GERMANY_DEL = 322,
70
+ AUSTRIA_ICE_HOCKEY_LEAGUE = 323,
71
+ SWEDEN_SHL = 324,
72
+ SWITZETLAND_NATIONAL_LEAGUE = 327,
66
73
  SUMMER_OLYMPICS_HANDBALL_WOMEN = 380,
67
74
  SUMMER_OLYMPICS_HANDBALL = 381,
68
75
  EUROLEAGUE = 399,
@@ -145,6 +152,9 @@ export enum League {
145
152
  NETHERLANDS_EREDIVISIE_WOMEN = 20142,
146
153
  BELGIUM_SUPER_LEAGUE_WOMEN = 20143,
147
154
  UEFA_CHAMPIONS_LEAGUE_WOMEN = 20144,
155
+ USA_NWSL = 20145,
156
+ AUSTRALIA_A_LEAGUE_WOMEN = 20146,
157
+ CONCACAF_CHAMPIONS_CUP = 20147,
148
158
  EUROCUP = 20200,
149
159
  SPAIN_LIGA_ACB = 20201,
150
160
  ITALY_LEGA_BASKET_SERIE_A = 20202,