!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="56068786-dc87-45bd-b6eb-7fffcddbfc70",e._sentryDebugIdIdentifier="sentry-dbid-56068786-dc87-45bd-b6eb-7fffcddbfc70")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8037],{3763:(e,s,t)=>{"use strict";t.d(s,{Q:()=>u});var n=t(6029),r=t(8329),i=t(21377),a=t(55729),l=t(94474),o=t.n(l),d=t(45860),c=t(62859);let u=e=>{var s,t,l;let{stage:u,size:p=24,national:x}=e,h=(0,a.useContext)(c.Ws),{data:f}=(0,d.Ay)([i.ZXN.image(u.slug),"HEAD"],{fetcher:e=>{let[s]=e;return(0,i.m_X)(s,{isApiRoute:!1})}}),{data:m}=(0,d.Ay)([(null==(s=u.stageParent)?void 0:s.description)?i.ZXN.image(o()(u.stageParent.description,{lower:!0})):null,"HEAD"],{fetcher:e=>{let[s]=e;return(0,i.m_X)(s,{isApiRoute:!1})}}),g=(null==(l=u.country)||null==(t=l.alpha2)?void 0:t.toLowerCase())||"international";return h===i.QCR.Cycling&&(f?g=u.slug:m&&(g=o()(u.stageParent.description,{lower:!0}))),(0,n.jsx)(r.w,{flag:g,size:p,national:x,fallback:(0,n.jsx)(r.w,{alpha2:"international",size:p})})}},8960:(e,s,t)=>{"use strict";t.d(s,{A:()=>c,d:()=>u});var n=t(21377),r=t(494),i=t(45860),a=t(19451),l=t(2294),o=t(10794),d=t(30479);let c=(e,s)=>{let[t]=(0,d.Ay)({routeKey:a.xW.Betting,params:{}}),r=(null==t?void 0:t.boostId)?+t.boostId:void 0,l=null==s?void 0:s.betBoosts.find(e=>e.event.id===r),{data:o}=(0,i.Ay)(r&&!l?n.bnp.betBoost(r,e):null);return{selectedBoost:null==o?void 0:o.betBoost,selectedEventId:r}},u=()=>{let e=(0,r.d4)(o.LQ);return(0,r.d4)(l.Zw)&&"IT"!==e}},12047:(e,s,t)=>{"use strict";t.d(s,{Ay:()=>a});var n=t(95083),r=t(21501),i=t(55729);function a(){let{isInMobileTabs:e=!0,isSportMenuVisible:s=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,a]=(0,i.useState)(0),l=(0,r.YU)(),{isMobile:o}=(0,n.$c)(),d=50*!!e,c=48+d+48*!!s;return(0,i.useEffect)(()=>{o&&a(l===r.Dh.Up?c:d)},[l,o]),t}},17189:(e,s,t)=>{"use strict";t.d(s,{N:()=>l});var n=t(6029),r=t(90248);let i=JSON.parse('{"Day 1":{"id":"dayN","values":{"n":1}},"Day 2":{"id":"dayN","values":{"n":2}},"Day 3":{"id":"dayN","values":{"n":3}},"Day 4":{"id":"dayN","values":{"n":4}},"Day 5":{"id":"dayN","values":{"n":5}},"Free Practice 1":{"id":"freePracticeN","values":{"n":1}},"Free Practice 2":{"id":"freePracticeN","values":{"n":2}},"Free Practice 3":{"id":"freePracticeN","values":{"n":3}},"Practice 1":{"id":"practiceN","values":{"n":1}},"Practice 2":{"id":"practiceN","values":{"n":2}},"Practice 3":{"id":"practiceN","values":{"n":3}},"Practice 4":{"id":"practiceN","values":{"n":4}},"Qualifying":{"id":"Qualification"},"Qualification 1":{"id":"qualificationN","values":{"n":1}},"Qualification 2":{"id":"qualificationN","values":{"n":2}},"Qualification 3":{"id":"qualificationN","values":{"n":3}},"Qualification 4":{"id":"qualificationN","values":{"n":4}},"Race 1":{"id":"raceN","values":{"n":1}},"Race 2":{"id":"raceN","values":{"n":2}},"Race 3":{"id":"raceN","values":{"n":3}},"Race":"race"}');var a=t(27892);let l=e=>{let{id:s}=e;return(0,n.jsx)(r.A,{id:(0,a.O)(i,s),values:(0,a.B)(i,s)})}},21403:(e,s,t)=>{"use strict";t.d(s,{H:()=>f,T:()=>h});var n=t(6029),r=t(21377),i=t(95083),a=t(76356),l=t(55729),o=t(494),d=t(45860),c=t(65789),u=t(62859),p=t(10794);let x=e=>{let{isInverseDesktop:s}=e;return(0,n.jsx)(c.Zp,{isInverseDesktop:s,children:(0,n.jsxs)(a.az,{p:"md",children:[(0,n.jsx)(i.EY,{textStyle:"display.small",color:"neutrals.nLv1",children:"Juego Responsable"})," ",(0,n.jsx)(i.EY,{textStyle:"body.medium",color:"neutrals.nLv1",children:"- BAP: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-444-4000 BAC: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-666-6006"})]})})},h=e=>{let{isInverseDesktop:s}=e;return"AR"===(0,o.d4)(p.LQ)?(0,n.jsx)(x,{isInverseDesktop:s}):null},f=e=>{let{isInverseDesktop:s}=e,t="AR"===(0,o.d4)(p.LQ),{event:i}=(0,l.useContext)(u.y$),{data:a}=(0,d.Ay)(t?r.bnp.featuredOdds(i.id,1):null);return a&&t?(0,n.jsx)(x,{isInverseDesktop:s}):null}},28171:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var n=t(95083),r=t(78383),i=t.n(r),a=t(76410);function l(){let{isMobile:e}=(0,n.$c)();return{logTabChange:e?a.yy:i()}}},32113:(e,s,t)=>{"use strict";t.d(s,{H:()=>a});var n=t(6029),r=t(41249),i=t(30720);let a=e=>{let{leftImage:s,leftName:t,rightImage:a,rightName:l,h2hDuel:o}=e,[d,c]=(0,i.A)(o,"homeWins","awayWins");return(0,n.jsxs)(r.so,{pl:"lg",pr:"lg",pt:"sm",pb:"sm",grow:1,children:[(0,n.jsx)(r.az,{mr:"sm",children:s}),(0,n.jsxs)(r.az,{grow:1,children:[(0,n.jsxs)(r.so,{justify:"space-between",children:[(0,n.jsx)(r.EY,{minW:24,font:"display.medium",color:"secondary.default",children:d}),(0,n.jsx)(r.EY,{align:"center",minW:24,font:"display.medium",color:"neutral.default",children:o.draws}),(0,n.jsx)(r.EY,{align:"right",minW:24,font:"display.medium",color:"primary.default",children:c})]}),(0,n.jsxs)(r.so,{justify:"space-between",children:[(0,n.jsx)(r.EY,{maxW:88,font:"body.small",color:"onSurface.nLv1",ellipsis:!0,as:"div",children:t}),(0,n.jsx)(r.EY,{maxW:88,font:"body.small",color:"onSurface.nLv1",ellipsis:!0,as:"div",children:l})]})]}),(0,n.jsx)(r.az,{ml:"sm",children:a})]})}},33144:(e,s,t)=>{"use strict";t.d(s,{p:()=>n.p});var n=t(91603)},34199:(e,s,t)=>{"use strict";t.d(s,{eD:()=>i.e,l3:()=>r.l,pY:()=>n.p});var n=t(91603),r=t(37721),i=t(33480)},41618:(e,s,t)=>{"use strict";t.d(s,{r:()=>p,$:()=>f});var n=t(6029),r=t(21377),i=t(76356),a=t(55729),l=t(494),o=t(62859),d=t(76410),c=t(49821),u=t(2294);function p(e){let{selectedProvider:s,onClick:t,logClick:p=!0,size:x="56x28"}=e,h=(0,l.d4)(u.a5),f=s?s.provider:null==h?void 0:h.provider,m=s?null==s?void 0:s.branded:null==h?void 0:h.branded,g=s?s.provider.slug:null==h?void 0:h.provider.slug,{location:v}=(0,a.useContext)(o.y$),[j,b]=x.split("x");return f&&m?(0,n.jsx)(i.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:(s?s.defaultBetSlipLink:null==h?void 0:h.defaultBetSlipLink)||f.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==t||t(),p&&(0,d.Fe)({location:v,provider:g,position:c.ki.ProviderLogo})},"data-testid":"odds_provider_logo",style:{background:f.colors.primary,width:"".concat(j,"px"),height:"".concat(b,"px")},children:(0,n.jsx)(i.I4.img,{src:r.npy.providerImage(f.id),alt:f.name||"",style:{width:"".concat(j,"px"),height:"auto"}})}):null}var x=t(95083),h=t(90248);let f=()=>{let e=(0,l.d4)(u.a5);return(null==e?void 0:e.branded)?(0,n.jsxs)(i.so,{justify:"center",align:"center",ml:"lg","data-testid":"featured_logo",children:[(0,n.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,n.jsx)(h.A,{id:"featured_by"})}),(0,n.jsx)(p,{size:"48x24"})]}):null}},45948:(e,s,t)=>{"use strict";t.d(s,{Ay:()=>w,jl:()=>j});var n=t(6029),r=t(21377),i=t(4967),a=t(41249),l=t(55729),o=t(90510),d=t(90248),c=t(45860),u=t(62859),p=t(54409),x=t(8973),h=t(39969),f=t(70591),m=t(17189),g=t(83110),v=t(3763);let j=e=>(0,n.jsx)(a.az,{display:"inline-block",w:8,h:8,bg:"onSurface.nLv3",br:"50%",...e,children:e.isHollow&&(0,n.jsx)(a.az,{bg:"surface.s1",w:4,h:4,m:2,br:"50%"})}),b=(e,s)=>{switch(e){case r.hzM.inprogress:return"sofaSingles.live";case r.hzM.finished:return"onSurface.nLv3";default:if(s)return"onSurface.nLv1";return"onSurface.nLv3"}},y=e=>{let{stageId:s,fallbackRace:t}=e,{data:d}=(0,c.Ay)(r.dVR.substages(s)),u=(0,l.useMemo)(()=>d?(0,g.VL)(d.stages):t||null,[s,d,t]);if(!u)return null;if(!u.startDateTimestamp)return(0,n.jsx)(a.so,{minH:"32"});let p=b(u.status.type);return(0,n.jsxs)(a.so,{pt:"xs",pb:"md",pr:"sm",children:[(0,n.jsx)(a.az,{children:(0,n.jsx)(j,{w:8,h:8,bg:p,my:"xs",mr:"sm",isHollow:![r.hzM.inprogress,r.hzM.finished].includes(u.status.type)})}),(0,n.jsxs)(a.EY,{lineHeight:"16px",font:"body.small",color:p,lineClamp:1,children:[u.startDateTimestamp&&(0,n.jsx)(o.XU,{value:1e3*u.startDateTimestamp,...i.or.dateTime}),d?(0,n.jsxs)(n.Fragment,{children:[u.startDateTimestamp&&u.description&&" • ",(0,n.jsx)(m.N,{id:u.description})]}):null]})]})},S=e=>{let{stage:s}=e;return(0,g.YQ)(s.status.type)?(0,n.jsx)(a.EY,{pt:"xs",pb:"md",lineHeight:"16px",font:"body.small",color:"error.default",children:(0,n.jsx)(d.A,{id:s.status.type})}):s.winner?(0,n.jsxs)(a.so,{pt:"xs",pb:"md",pr:"0",align:"center",children:[(0,n.jsx)(a.az,{children:(0,n.jsx)(p.$dv,{fill:"onSurface.nLv3",mr:"xs"})}),(0,n.jsx)(a.EY,{as:"bdi",lineHeight:"16px",font:"body.small",color:"onSurface.nLv3",lineClamp:1,children:s.winner.name})]}):null},w=e=>{let{stage:s,selected:t,small:i,isFirst:o}=e,d=(0,l.useContext)(u.Ws);return(0,n.jsx)(f.LC,{stage:s,sportSlug:d,children:(0,n.jsxs)(a.az,{borderTop:[void 0,o||i?void 0:"onSurface.nLv4"],py:"xs",px:"sm",h:[90,"auto",90],hoverBg:"surface.s2",bg:i?void 0:["surface.s1",t?"neutral.highlight":void 0],mt:[o?"md":"sm",0],mx:i?void 0:["sm",0],br:i?void 0:["sm",0],elevation:i?void 0:[2,void 0],children:[(0,n.jsxs)(a.so,{h:[48,"auto",48],py:6,align:"center",justify:"space-between",px:"lg",children:[(0,n.jsx)(v.Q,{stage:s}),(0,n.jsx)(a.EY,{style:{flexGrow:1},font:"body.large",color:"onSurface.nLv1",ml:"lg",children:s.description}),(0,n.jsx)(a.cG,{vertical:!0,mx:"md"}),(0,n.jsx)(h.x,{id:s.id,uniqueStage:s.uniqueStage,location:i?x.y.MainMatches:x.y.RacesTab})]}),(0,n.jsxs)(a.so,{align:"center",justify:"space-between",pl:"56px",pr:["xs","lg"],children:[(0,n.jsx)(y,{stageId:s.id,fallbackRace:d===r.QCR.Cycling?s:void 0}),!i&&(0,n.jsx)(S,{stage:s})]})]})})}},54686:(e,s,t)=>{"use strict";t.d(s,{A:()=>d});var n=t(6029),r=t(18612),i=t(21377),a=t(41249);let l=e=>{let{start:s}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("rect",{x:"16",y:s+12,width:"38",height:"10"}),(0,n.jsx)("rect",{x:"16",y:s+24,width:"38",height:"10"}),(0,n.jsx)("rect",{x:"68",y:s+8,width:"1",height:"28"}),(0,n.jsx)("rect",{x:"79",y:s+8,rx:"2",ry:"2",width:148,height:"12"}),(0,n.jsx)("rect",{x:"79",y:s+24,rx:"2",ry:"2",width:172,height:"12"})]})},o=e=>{let{start:s}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"34",cy:s+22,r:"16"}),(0,n.jsx)("rect",{x:"68",y:s+8,rx:"2",ry:"2",width:56,height:"12"}),(0,n.jsx)("rect",{x:"68",y:s+24,rx:"2",ry:"2",width:220,height:"12"}),(0,n.jsx)(l,{start:s+44}),(0,n.jsx)("rect",{x:0,y:s+88+4,height:1,width:991})]})};function d(e){let{sport:s}=e;return(0,n.jsx)(a.az,{overflow:"hidden",children:(0,n.jsxs)(r.D,{height:s===i.QCR.Football?3500:1024,uniqueKey:"list-cl",children:[(0,n.jsx)(o,{start:0}),(0,n.jsx)(o,{start:99}),(0,n.jsx)(o,{start:198}),(0,n.jsx)(o,{start:297}),(0,n.jsx)(o,{start:396}),(0,n.jsx)(o,{start:495}),(0,n.jsx)(o,{start:594}),(0,n.jsx)(o,{start:693}),(0,n.jsx)(o,{start:792}),(0,n.jsx)(o,{start:891})]})})}},73045:(e,s,t)=>{"use strict";t.d(s,{e:()=>r.e,l:()=>n.l});var n=t(37721),r=t(33480)},75508:(e,s,t)=>{"use strict";t.d(s,{b:()=>f});var n=t(6029),r=t(41249),i=t(65789),a=t(53486),l=t(54686),o=t(33144),d=t(4967),c=t(90510),u=t(54409),p=t(82967);let x=e=>{var s,t,i,a;let{transfers:l,firstEventTimestamp:x,secondEventTimestamp:h,descending:f}=e;if(!l)return null;let m=l.find(e=>f?e.transferDateTimestamp<=x&&e.transferDateTimestamp>=h:e.transferDateTimestamp>=x&&e.transferDateTimestamp<=h);return(0,n.jsxs)(r.az,{id:"player-transfer",display:m?"box":"none",mt:"sm",children:[(0,n.jsx)(r.so,{w:"100%",align:"end",px:"md",justify:"center",children:(0,n.jsx)(o.p,{id:f?null==m||null==(s=m.transferTo)?void 0:s.id:null==m||null==(t=m.transferFrom)?void 0:t.id,size:32,mx:"auto"})}),(0,n.jsxs)(r.so,{w:"100%",align:"center",position:"relative",children:[(null==m?void 0:m.transferDateTimestamp)&&(0,n.jsx)(r.EY,{color:"onSurface.nLv3",fontSize:12,as:"div",position:"absolute",left:"md",bottom:"lg",children:(0,n.jsx)(c.XU,{value:new Date((null==m?void 0:m.transferDateTimestamp)*1e3),...d.or.fullDate})}),(0,n.jsx)(r.cG,{color:"onSurface.nLv4",w:"100%"}),(0,n.jsx)(r.az,{w:24,h:24,style:{transform:"\n rotate(".concat(180*!!f,"deg)")},children:(0,n.jsx)(u.QFN,{fill:"onSurface.nLv1",width:24,height:24})}),m&&(0,n.jsxs)(r.so,{position:"absolute",right:"md",bottom:"lg",children:[(0,n.jsx)(r.EY,{color:"onSurface.nLv3",fontSize:12,as:"div",mr:"sm",children:(0,n.jsx)(p.u,{transfer:m})}),(0,n.jsx)(r.EY,{fontSize:12,color:"secondary.default",as:"div",children:m.transferFeeDescription})]}),(0,n.jsx)(r.cG,{color:"onSurface.nLv4",w:"100%"})]}),(0,n.jsx)(r.so,{w:"100%",align:"end",px:"md",position:"relative",justify:"center",children:(0,n.jsx)(o.p,{id:f?null==m||null==(i=m.transferFrom)?void 0:i.id:null==m||null==(a=m.transferTo)?void 0:a.id,size:32,mx:"auto"})})]})};var h=t(31254);function f(e){let{events:s,header:t,descending:o,onClick:d,isMobile:c,isNarrow:u,isShort:p,transfers:f,lastClickedEvent:m,eventCell:g,isEventCellFactory:v,triggerIndex:j,triggerRef:b,hideHeader:y,location:S,asCards:w}=e,k=t||h.sm;if(!s||!s.length)return(0,n.jsx)(l.A,{});let E=s.sort((e,s)=>o?e.startTimestamp>=s.startTimestamp?-1:1:e.startTimestamp>=s.startTimestamp?1:-1),L=[];return E.forEach((e,s)=>{let t=e.tournament.id;L.length&&L[L.length-1].tournamentId===t?L[L.length-1].events.push(e):L.push({tournamentId:e.tournament.id,events:[e],startIndex:s})}),(0,n.jsx)(r.so,{direction:"column",p:w?"sm":void 0,gap:w?"sm":void 0,children:L.map((e,t)=>(0,n.jsx)(i.HH,{isCard:!!w,children:(0,n.jsx)(r.az,{pb:w?"sm":void 0,pt:w?"xs":void 0,children:e.events.map((t,i)=>{var l;let h=v&&"function"==typeof g?g(t.id):g||a.gY;return(0,n.jsxs)(r.az,{ref:i+e.startIndex===j?b:void 0,children:[0===i&&!y&&(0,n.jsx)(k,{tournament:t.tournament,sport:t.tournament.category.sport,startTimestamp:t.startTimestamp}),(0,n.jsx)(h,{event:t,onClick:d,isMobile:c,isSelected:m===t.id,isNarrow:u,isShort:p,location:S}),(0,n.jsx)(x,{transfers:f,firstEventTimestamp:t.startTimestamp,secondEventTimestamp:null==(l=s[i+1])?void 0:l.startTimestamp,descending:o})]},t.id)})})},"".concat(e.tournamentId,"-").concat(t)))})}},77988:(e,s,t)=>{"use strict";t.d(s,{A:()=>f,g:()=>h});var n=t(6029),r=t(41249),i=t(90248),a=t(494),l=t(2294),o=t(10794);let d={AU:"www.gamblinghelponline.org.au",BG:"nss-bg.org/hi-kodeks",GB:"www.begambleaware.org",NL:"hands24x7.nl"},c={DE:"18+ | Erlaubt (Whitelist) | Suchtrisiko | www.buwei.de",NL:"Wat kost gokken jou? Stop op tijd. 18+",CA:"19+. Gambling can be addictive, please play responsibly.
Eligible iGames conducted and managed by iGO are only available to those physically present in the Province of Ontario.",US:"21+. Gambling Problem?
Call 1-800-GAMBLER",SE:"18+. st\xf6dlinjen.se. Spela ansvarsfullt.",DK:"18+ | Regler og vilk\xe5r g\xe6lder | Spil ansvarligt | Selvudeluk via ROFUS.nu | StopSpillet.dk",TR:"İddaa oranları anlık olarak değişiklik g\xf6sterebilmektedir."},u={BE:21,GR:21,CA:19};function p(){let e=(0,a.d4)(l.a5);return(null==e?void 0:e.oddsMayDiffer)?(0,n.jsxs)("span",{children:[(0,n.jsx)("br",{}),(0,n.jsx)(i.A,{id:"disclaimer_odds_may_differ"})]}):null}function x(e){let{standalone:s}=e,t=(0,a.d4)(o.LQ),r=t&&d[t];return r?(0,n.jsxs)("span",{children:[s?"":", ",(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})]}):null}let h=e=>e&&u[e.toUpperCase()]?u[e.toUpperCase()]:18;function f(e){let s,t=(0,a.d4)(o.LQ),l=(0,a.d4)(o.zj);return t&&l?s=c["".concat(t,"-").concat(l)]||c[t]:t&&(s=c[t]),(0,n.jsxs)(r.EY,{font:"assistive.micro",color:"onSurface.nLv3",pr:"sm","data-qa-id":"gamble-responsibly",...e,children:[s?(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:s}}):(0,n.jsx)(i.A,{id:"gamble_responsibly",values:{age:h(t)}}),(0,n.jsx)(x,{}),(0,n.jsx)(p,{})]})}},82967:(e,s,t)=>{"use strict";t.d(s,{N:()=>o,u:()=>d});var n=t(6029),r=t(21377),i=t(90248),a=t(85685);let l={1:"transfer_loan",2:"transfer_end_of_loan",3:"transfer_transfer",4:"player.endOfCareer",5:"player.draft",6:"player.released",7:"player.signed"},o=e=>{let{transfer:s}=e;if(void 0!==s.transferFeeRaw&&s.transferFeeRaw.value>0)return(0,n.jsx)(a.o,{parsedMoney:(0,r.oaz)(s.transferFeeRaw)});switch(s.type){case r.uDD.Draft:if(void 0===s.round||void 0===s.pick)return null;return(0,n.jsx)(i.A,{id:"player.draftInfo",values:{round:s.round,pick:s.pick}});case r.uDD.EndOfLoan:case r.uDD.EndOfCareer:return null;case r.uDD.Transfer:if(void 0!==s.transferFeeRaw&&0===s.transferFeeRaw.value&&"Free"===s.transferFeeDescription)return(0,n.jsx)(i.A,{id:"transfer_free"});if(void 0===s.transferFeeDescription||"Unknown"===s.transferFeeDescription)return(0,n.jsx)(i.A,{id:"player.transfer.unknown"});return null;default:return null}},d=e=>{let{transfer:s}=e;return(0,n.jsx)(i.A,{id:l[s.type]})}},83110:(e,s,t)=>{"use strict";t.d(s,{Jx:()=>a,VL:()=>r,YQ:()=>i});var n=t(21377);let r=e=>{let s=e[0],t=Number.MAX_VALUE,r=Date.now()/1e3;for(let i=0;it)break;e===r&&s.status.type!==n.hzM.notstarted&&(s=a)}}return s},i=e=>[n.hzM.canceled,n.hzM.cancelled,n.hzM.postponed].indexOf(e)>-1,a=e=>["MotoGP","Moto3","Moto2","Superbike"].indexOf(e)>-1?"riders.bikes":e.toLowerCase().indexOf("cycling")>-1?"riders.cycling":"drivers"},84420:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>si});var n=t(6029),r=t(21377),i=t(41249),a=t(95669),l=t.n(a),o=t(81278),d=t(55729),c=t(90248),u=t(494),p=t(62859),x=t(22648),h=t(29129),f=t(42678),m=t(26331),g=t(73088),v=t(52951),j=t(21403),b=t(2294),y=t(25862),S=t(76297),w=t(41735),k=t(91729),E=t(70591);let L={[r.rY5.All]:"droppingOdds.allSports",[r.QCR.Football]:"sport.football",[r.QCR.Basketball]:"sport.basketball",[r.QCR.Tennis]:"sport.tennis",[r.QCR.IceHockey]:"sport.ice-hockey",[r.QCR.Volleyball]:"sport.volleyball"},C=(0,w.default)(i.so).withConfig({componentId:"sc-3f75bdb9-0"})(["overflow-x:scroll;::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"]),A=e=>{let{buttonKey:s,isActive:t,params:r}=e;return(0,n.jsx)(E.N_,{routeKey:"betting",params:r,translatedParams:r,children:(0,n.jsx)(i.az,{border:t?"primary.default":"surface.s1",style:{borderWidth:"1.5px"},br:"lg",bg:"surface.s2",px:"md",py:"sm",children:(0,n.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv1",ellipsis:!0,as:"div",align:"center",children:(0,n.jsx)(c.A,{id:L[s]})})})},s)},_=e=>(0,n.jsx)(i.az,{bg:"surface.s1",elevation:[void 0,2],borderBottom:["onSurface.nLv4",void 0],children:(0,n.jsx)(k.m,{children:(0,n.jsxs)(C,{py:"sm",px:"lg",gap:"sm",justify:["flex-start","center"],children:[(0,n.jsx)(A,{buttonKey:r.rY5.All,isActive:e.active===r.rY5.All}),e.availableSports.map(s=>(0,n.jsx)(A,{buttonKey:s,isActive:e.active===s,params:{sport:s}},s))]})})}),T=(0,d.createContext)(r.rY5.All);T.Provider,T.Consumer;var O=t(4967),z=t(95083),I=t(45860),H=t(76868),Y=t(96003),B=t(19168),W=t(98095),P=t(1815),R=t(41618),F=t(76410);let D={MX:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309751"},AU:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309759"},CA:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309760"},CY:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309761"},DE:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309755"},DK:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309754"},ES:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309750"},MT:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309763"},NZ:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309764"},PE:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309752"},SE:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309758"},AT:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03309756"},SI:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03310161"},US:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03310146",regions:["AZ","CO","IN","IA","KY","LA","NC","NJ","OH","VA"]},IE:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03310186"},EE:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03310171"},LV:{providerId:r.cWE.Bet365,url:"https://www.bet365.com/olp/open-account?affiliate=365_03310196"},NL:{providerId:r.cWE.Bet365,url:"https://www.bet365.nl/olp/open-account?affiliate=365_03309757"}},N=()=>{(0,F.B4)({position:"provider_logo",provider:"bet365",type:"bet_boost"})};function V(e){let{hasBetBoosts:s,selectedProvider:t}=e,r=(0,P.e)(()=>{(0,F.IM)({provider:"bet365",type:"bet_boost"})},{sendInterval:6e4});return(0,n.jsxs)(i.az,{children:[(0,n.jsx)(i.az,{borderBottom:[void 0,"onSurface.nLv4"],children:(0,n.jsx)(i.EY,{lineHeight:"24px",align:"center",font:"display.medium",color:"onSurface.nLv1",px:"lg",pt:"md",pb:"xs",m:0,as:"h2",children:"Bet Boost"})}),s&&(0,n.jsxs)(i.so,{align:"center",justify:"end",p:"sm",children:[(0,n.jsx)(i.EY,{lineHeight:"24px",align:"right",font:"body.small",color:"onSurface.nLv3",mr:"sm",my:0,as:"p",children:"Bet Boost provided by"}),(0,n.jsx)(i.az,{ref:r,children:(0,n.jsx)(R.r,{size:"48x24",selectedProvider:t,onClick:N})})]})]})}var M=t(8960),Q=t(33144),U=t(21501),G=t(90510),K=t(54409);let q=[r.QCR.Football,r.QCR.Basketball,r.QCR.Tennis,r.QCR.IceHockey,r.QCR.Volleyball],$={[r.rY5.All]:{wins:"Wins",loses:"Losses",draws:"Draws",noLoses:"No losses",noWins:"No wins"},[r.QCR.Football]:{noGoalsConceded:"No goals conceded",noGoalsScored:"No goals scored",withoutCleanSheet:"Without clean sheet","moreThan2.5":"More than 2.5 goals","lessThan2.5":"Less than 2.5 goals",bothScoring:"Both teams scoring",firstScorer:"First to score",firstConceded:"First to concede",firstHalfWinner:"First half winner",firstHalfLoser:"First half loser"},[r.QCR.Basketball]:{firstQuarterWinner:"First quarter winner",firstQuarterLoser:"First quarter loser",pointsAverage:"Scored points average (Last 10)",gameTotalPointsAverage:"Game points average (Last 10)"},[r.QCR.IceHockey]:{firstThirdWinner:"First period winner",firstThirdLoser:"First period loser",firstThirdBothScoring:"First period both scoring","moreThan5.5":"More than 5.5 goals","moreThan1.5":"More than 1.5 goals in first period"},[r.QCR.Volleyball]:{firstSetWinner:"First set winner",firstSetLoser:"First set loser"},[r.QCR.Tennis]:{winsOnClay:"Wins (clay)",winsOnGrass:"Wins (grass)",winsOnHard:"Wins (hard)",winsOnCarpetIndoor:"Wins (carpet indoor)",winsOnHardcourtIndoor:"Wins (hardcourt indoor)",winsOnHardcourtOutdoor:"Wins (hardcourt outdoor)",winsOnSyntheticOutdoor:"Wins (synthetic outdoor)",losesOnClay:"Loses (clay)",losesOnGrass:"Loses (grass)",losesOnHard:"Loses (hard)",losesOnCarpetIndoor:"Loses (carpet indoor)",losesOnHardcourtIndoor:"Loses (hardcourt indoor)",losesOnHardcourtOutdoor:"Loses (hardcourt outdoor)",losesOnSyntheticOutdoor:"Loses (synthetic outdoor)",setsWon:"Sets won"}};var J=function(e){return e.H2HEvent="h2h_event",e.StreaksTeam="streaks_team",e.OddsTableEvent="odds_table_event",e.OpenBettingWidget="open_betting_widget",e.HighValueStreaksEvent="high_value_streaks_event",e.BetBoostEvent="bet_boost_event",e}({}),X=t(30720),Z=t(75791),ee=t(49821),es=t(45948),et=t(94604);let en=()=>{(0,F.B4)({position:ee.ki.OddsValue,provider:"bet365",type:"bet_boost"})},er=function(e){let{data:s,sportSlug:t,isSelected:r}=e,a=s.betBoosts[0],[l,o]=(0,X.A)(s.event,"homeTeam","awayTeam",s.event),{isMobile:c}=(0,z.$c)(),{ref:u,triggerScroll:p}=function(e,s){let t=(0,d.useRef)(null),[n,r]=(0,d.useState)(!1),i=()=>{(null==t?void 0:t.current)&&t.current.scrollIntoView(e)};return(0,d.useEffect)(()=>{n&&s&&i()},[n]),{ref:t,scrollTriggered:n,triggerScroll:()=>{n||r(!0),(!s||n)&&i()}}}({block:"center"},!0),[x,h]=(0,U.c9)([]);return((0,i.rF)(x,"bet-boost-items",[r],()=>!!r),(0,d.useEffect)(()=>{u.current&&r&&c&&p()},[r,c]),!c&&a.betBoostParticipants.length>3)?null:(0,n.jsxs)(i.az,{br:"md",bg:"surface.s2",minW:[void 0,344],mb:["md",0],ref:c?u:h,border:r?"primary.default":void 0,children:[(0,n.jsx)(E.tj,{event:s.event,onClick:()=>{(0,F.xR)({type:J.BetBoostEvent,name:t,id:s.event.id})},children:(0,n.jsxs)(i.so,{w:"100%",h:44,px:"lg",pt:"xs",align:"center",justify:"space-between",borderRadius:"lg lg 0 0",hoverBg:"surface.s2",children:[(0,n.jsxs)(i.so,{grow:1,basis:0,align:"center",gap:["xs","sm"],minW:0,children:[(0,n.jsx)(Q.p,{id:l.id,size:16}),(0,n.jsx)(i.EY,{color:"onSurface.nLv1",font:"display.micro",align:"center",as:"div",ellipsis:!0,children:(0,n.jsx)(et.lC,{original:l.name})})]}),(0,n.jsx)(i.EY,{color:"onSurface.nLv3",font:"body.small",mx:"sm",children:(0,n.jsx)(G.ib,{value:1e3*s.event.startTimestamp})}),(0,n.jsxs)(i.so,{grow:1,basis:0,align:"center",gap:["xs","sm"],minW:0,justify:"flex-end",children:[(0,n.jsx)(i.EY,{color:"onSurface.nLv1",font:"display.micro",align:"center",as:"div",ellipsis:!0,children:(0,n.jsx)(et.lC,{original:o.name})}),(0,n.jsx)(Q.p,{id:o.id,size:16})]})]})}),(0,n.jsx)(i.cG,{}),(0,n.jsxs)(i.az,{borderRadius:"0 0 md md",hoverBg:"surface.s2",display:"block",rel:"noopener noreferrer",target:"_blank",as:"a",href:a.betSlipLink,onClick:en,children:[(0,n.jsx)(i.az,{py:"xs",minH:[void 0,89],children:a.betBoostParticipants.map((e,s,t)=>(0,n.jsxs)(i.so,{py:"xs",pl:"lg",children:[(0,n.jsxs)(i.az,{position:"relative",children:[(0,n.jsx)(es.jl,{w:8,h:8,bg:"onSurface.nLv3",my:"xs",mr:"sm",isHollow:!0}),s!==t.length-1&&1!==t.length&&(0,n.jsx)(i.az,{position:"absolute",w:"2px",h:"70%",bg:"onSurface.nLv5",left:"3px",top:"15px"})]}),(0,n.jsx)(i.EY,{lineHeight:"16px",font:"body.small",color:"onSurface.nLv3",ellipsis:1!==a.betBoostParticipants.length&&!c||void 0,pr:"md",children:e.name})]},e.id))}),(0,n.jsx)(i.cG,{}),(0,n.jsx)(i.so,{align:"center",justify:"center",w:"100%",h:44,children:(0,n.jsxs)(i.az,{children:[(0,n.jsx)(i.EY,{as:"s",color:"onSurface.nLv3",font:"display.medium",children:(0,n.jsx)(Z.c,{fractionalValue:a.unboostedOddsFractional})}),(0,n.jsx)(K.CCT,{fill:"onSurface.nLv3",mx:"xs"}),(0,n.jsx)(i.EY,{color:"primary.default",font:"display.medium",children:(0,n.jsx)(Z.c,{fractionalValue:a.oddsFractional})})]})})]})]})};var ei=t(10794);let ea=e=>{let{selectedProvider:s,impressionRef:t,url:r,onClick:a}=e;return(0,n.jsxs)(i.az,{minW:344,bg:"surface.s2",br:"md",children:[(0,n.jsxs)(i.so,{h:44,px:"lg",pt:"xs",align:"center",justify:"space-between",borderBottom:"onSurface.nLv4",children:[(0,n.jsx)(i.EY,{as:"div",font:"display.small",c:"onSurface.nLv1",children:(0,n.jsx)(c.A,{id:"bet_boost_special_offer"})}),(0,n.jsx)(i.az,{ref:t,children:(0,n.jsx)(R.r,{size:"48x24",selectedProvider:s,onClick:N})})]}),(0,n.jsxs)(i.so,{direction:"column",justify:"center",align:"center",h:133,children:[(0,n.jsx)(i.az,{p:"lg",children:(0,n.jsx)(i.EY,{font:"body.medium",children:(0,n.jsx)(c.A,{id:"bet_boost_offer_sign_up",values:{betCredits:"Bet Credits"}})})}),(0,n.jsx)("a",{target:"_blank",rel:"nofollow noopener noreferrer",href:r,children:(0,n.jsx)(i.$n,{borderStyle:"rounded",onClick:a,children:(0,n.jsx)(c.A,{id:"claim_reward_button"})})})]})]})},el=e=>{let{selectedProvider:s,impressionRef:t,url:r,onClick:a}=e;return(0,n.jsxs)(i.az,{px:"sm",mt:"lg",children:[(0,n.jsx)(i.EY,{as:"div",font:"display.micro",c:"onSurface.nLv1",pt:"lg",pb:"md",children:(0,n.jsx)(c.A,{id:"bet_boost_special_offer"})}),(0,n.jsxs)(i.so,{align:"center",justify:"space-between",bg:"surface.s2",gap:"md",p:"sm",br:"md",children:[(0,n.jsx)(i.az,{ref:t,children:(0,n.jsx)(R.r,{size:"48x24",selectedProvider:s,onClick:N})}),(0,n.jsx)(i.EY,{font:"body.small",c:"onSurface.nLv1",children:(0,n.jsx)(c.A,{id:"bet_boost_offer_sign_up",values:{betCredits:"Bet Credits"}})}),(0,n.jsx)("a",{target:"_blank",rel:"nofollow noopener noreferrer",href:r,children:(0,n.jsx)(i.$n,{tertiary:!0,onClick:a,children:(0,n.jsx)(c.A,{id:"claim_reward_button"})})})]})]})};function eo(e){let{isCard:s}=e,t=(0,u.d4)(b.hB),r=(0,u.d4)(ei.LQ),i=(0,u.d4)(ei.zj),a=(0,P.e)(()=>{(0,F.ke)({action:"impression",location:"bet_boots_tab",type:"claim_button"})},{sendInterval:5e4}),l=()=>{(0,F.ke)({action:"click",location:"bet_boost_tab",type:"claim_button"})},o=D[r||""];if(!o||!(null==t?void 0:t.length))return null;let d=o.regions,c=t.find(e=>e.provider.id===o.providerId);if(!(null==d||!d.length||!i||d.includes(i))||!c)return null;let p=o.url;return s?(0,n.jsx)(ea,{impressionRef:a,selectedProvider:c,onClick:l,url:p}):(0,n.jsx)(el,{impressionRef:a,selectedProvider:c,onClick:l,url:p})}function ed(e){let{data:s,sportSlug:t,selectedBoost:r,selectedEventId:a}=e;return(0,n.jsx)(i.tR,{buttonVariant:i.oK.ButtonVariant.Solid,scrollableContainerId:"bet-boost-items",children:(0,n.jsxs)(i.so,{gap:"sm",w:"100%",px:"lg",children:[!!r&&(0,n.jsx)(er,{data:r,sportSlug:t,isSelected:!0}),s&&s.betBoosts.map(e=>(0,n.jsx)(er,{data:e,sportSlug:t,isSelected:e.event.id===a},e.event.id)),(0,n.jsx)(i.az,{display:["none",void 0],children:(0,n.jsx)(eo,{isCard:!0})})]})})}var ec=t(77988);let eu=["AU","AR"];function ep(e){let{sportSlug:s,data:t,selectedBoost:r,selectedEventId:a}=e,l=(0,u.d4)(ei.LQ),o=l&&!eu.includes(l);return(0,n.jsxs)(i.az,{px:"sm",children:[!!r&&(0,n.jsx)(er,{data:r,sportSlug:s,isSelected:!0}),t&&t.betBoosts.map(e=>(0,n.jsx)(er,{isSelected:e.event.id===a,data:e,sportSlug:s},e.event.id)),(0,n.jsxs)(i.az,{display:[void 0,"none"],children:[(0,n.jsx)(eo,{}),o&&(0,n.jsx)(i.az,{px:"sm",pt:"lg",children:(0,n.jsx)(ec.A,{})})]})]})}let ex=function(e){let{isMobile:s}=(0,z.$c)(),{hasAdBlock:t}=(0,W.j)(),[a,l]=(0,B.yR)(Y.x,{}),{data:o,isLoading:c,error:p}=(0,I.Ay)(r.npy.betBoost(r.cWE.Bet365,e.sportSlug),{refreshInterval:6e4}),{selectedBoost:h,selectedEventId:f}=(0,M.A)(r.cWE.Bet365,o),m=!!(null==o?void 0:o.betBoosts.length)||!!h,g=(0,u.d4)(b.cQ);return((0,d.useEffect)(()=>{g&&a[g.provider.id]&&l({...a,[g.provider.id]:(0,O.ZV)()})},[g]),p||t)?null:(0,n.jsxs)(i.az,{bg:"surface.s1",pb:"lg",br:[0,"lg"],elevation:[void 0,2],minH:[void 0,233],children:[(0,n.jsx)(V,{hasBetBoosts:m,selectedProvider:g}),c?(0,n.jsx)(i.so,{justify:"center",align:"center",w:"100%",children:(0,n.jsx)(x.a,{})}):m?s?(0,n.jsx)(ep,{data:o,sportSlug:e.sportSlug,selectedBoost:h,selectedEventId:f}):(0,n.jsx)(ed,{data:o,sportSlug:e.sportSlug,selectedBoost:h,selectedEventId:f}):(0,n.jsx)(H.p,{w:"385px",mt:[0,"xl"],mx:"auto",titleMessageId:"bet_boost_empty_title",descriptionMessageId:"bet_boost_empty_text"})]},e.sportSlug)};var eh=t(71024),ef=t.n(eh),em=t(75508),eg=t(48702),ev=t(27289);function ej(e){let s=e?r.npy.highValueStreaks(e):null,{data:t,isValidating:n}=(0,I.Ay)(s);return t?{teamStreaks:t.general,h2hStreaks:t.head2head,hvsLoading:n}:{teamStreaks:[],h2hStreaks:[],hvsLoading:n}}function eb(e,s){let{data:t,isValidating:n}=(0,I.Ay)(r.npy.topTeamStreaks(e,s));return t?{topTeamStreaks:t.topTeamStreaks,loading:n}:{topTeamStreaks:[],loading:n}}function ey(e,s){let t=e?r.npy.topH2h(e,s):null,{data:n}=(0,I.Ay)(t);if(!n)return[];let{events:i,h2hMap:a}=n;return(i||[]).map(e=>({h2h:a[e.id],event:e}))}function eS(e,s){let t=e?r.npy.winningOdds(e,s):null,{data:n}=(0,I.Ay)(t);return n?n.events.map(e=>{let s=n.oddsMap[e.id],t=n.winningOddsMap[e.id];return{event:e,odds:s,winningOdds:t}}).sort((e,s)=>{let t=e.winningOdds.actual-e.winningOdds.expected;return s.winningOdds.actual-s.winningOdds.expected-t}):[]}function ew(e){let s=e.event,t=s.id,r=(0,d.useContext)(T),{makeOnClick:i}=(0,ee.kW)({type:ee.jF.Featured,marketName:e.odds.marketName}),a=i(e.odds.marketName,ee.ki.OddsValue),l=(0,d.useCallback)(()=>(0,F.xR)({id:t,name:r,type:J.OddsTableEvent}),[t,r]);return{Link:e=>(0,n.jsx)(E.tj,{event:s,onClick:l,...e}),sendOddsClick:a}}var ek=t(50346),eE=t(73045),eL=t(33752),eC=t(98449);function eA(e){let{tournament:s,sport:t,startTimestamp:r,hideSport:a}=e,l=r?(0,O.UG)(r):"",o=t&&!a,d=(0,n.jsx)(i.EY,{lineHeight:"24px",font:"display.micro",color:"onSurface.nLv3",children:(0,n.jsx)(eC.m,{...s.category,uniqueTournament:s.uniqueTournament})});return(0,n.jsxs)(i.so,{px:"xl",py:"md",align:"center",children:[(0,n.jsx)(i.az,{h:24,mr:"xl",children:s.uniqueTournament?(0,n.jsx)(eE.e,{size:24,id:s.uniqueTournament.id}):(0,n.jsx)(eE.l,{size:24,id:s.id})}),(0,n.jsxs)(eL.B,{children:[o?(0,n.jsx)(eL.B.Item,{children:(0,n.jsx)(E.di,{translatedParams:{sport:t.slug},children:(0,n.jsx)(i.EY,{lineHeight:"24px",font:"display.micro",color:"onSurface.nLv1",children:(0,n.jsx)(ev.o,{sportSlug:t.slug})})})}):null,(0,n.jsx)(eL.B.Item,{children:r?(0,n.jsx)(E.Z6,{category:s.category,date:l,children:d}):(0,n.jsx)(E.di,{translatedParams:{sport:null==t?void 0:t.slug},children:d})})]})]})}let e_=e=>(0,n.jsx)(eA,{...e,hideSport:!0}),eT=ef()(()=>Promise.all([t.e(6591),t.e(4632),t.e(6256),t.e(3752),t.e(364),t.e(7229),t.e(1584),t.e(7909)]).then(t.bind(t,97909)),{loadableGenerated:{webpack:()=>[97909]},loading:()=>(0,n.jsx)(i.so,{w:"100%",h:"50%",children:(0,n.jsx)(x.a,{})})}),eO=()=>(0,n.jsx)(i.so,{justify:"center",align:"center",w:"100%",children:(0,n.jsx)(x.a,{})});function ez(e){let{sportSlug:s,selectedProviderId:t}=e,a=(0,d.useRef)(null),l=(0,d.useRef)(null),[o,u]=(0,d.useState)(!0),[p,x]=(0,d.useState)(800),[h,f]=(0,d.useState)(null),{isMobile:m}=(0,z.$c)(),{events:g,oddsMap:v,onPrev:j,onNext:b,page:y,isLoading:S}=function(e,s){let[t,n]=(0,d.useState)(1),i=e?r.npy.topDroppingOdds(e,s):null,{data:a,isValidating:l}=(0,I.Ay)(i),o=a&&a.events&&a.events.length>10;if((0,d.useEffect)(()=>{n(1)},[s]),!a)return{events:[],oddsMap:{},page:t,isLoading:l};let{oddsMap:c}=a,{events:u}=a;return u=u.sort((e,s)=>c[s.id].percentage-c[e.id].percentage),o&&(u=1===t?u.slice(0,10):u.slice(10)),{events:u,oddsMap:c,page:t,isLoading:!1,onPrev:o&&2===t?()=>n(1):null,onNext:o&&1===t?()=>n(2):null}}(t,s),w=(0,d.useCallback)((s,t,n)=>{if(n)return;s.preventDefault();let i=null!==h&&(h!==t||!o);h===t?u(e=>!e):(f(t),o||u(!0)),i&&(0,F.xR)({id:t,name:e.sportSlug||r.rY5.All,type:J.OpenBettingWidget})},[o,h,e.sportSlug]),k=(0,d.useCallback)(e=>e?null:o?h:null,[o,h]),E=(0,d.useCallback)(()=>{if(a.current){let e=a.current.clientHeight;e!==p&&x(e)}},[a]),L=(0,d.useCallback)(()=>u(!1),[]);(0,d.useEffect)(()=>{if(!g.length||(E(),l.current===s||2===y))return;let e=g[0].id;e!==h&&(f(e),l.current=s)},[g,y]);let C=g.length>0,A=s?e_:eA,_=!!j||!!b;return(0,n.jsxs)(i.az,{bg:"surface.s1",br:[0,"lg"],elevation:[void 0,2],minH:C?"600":void 0,children:[(0,n.jsx)(i.EY,{lineHeight:"24px",align:"center",font:"display.medium",color:"onSurface.nLv1",px:"lg",pt:"md",pb:"xs",m:0,as:"h2",children:(0,n.jsx)(c.A,{id:s?"app.sportDroppingOdds":"app.droppingOdds",values:s?{sportName:(0,n.jsx)(ev.o,{sportSlug:s})}:void 0})}),(0,n.jsx)(i.so,{borderTop:[void 0,"onSurface.nLv4"],children:S?(0,n.jsx)(eO,{}):C?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(i.az,{w:["100%","50%"],ref:a,borderRight:[void 0,"onSurface.nLv4"],pb:"lg",children:[_&&(0,n.jsxs)(i.so,{justify:"space-between",align:"center",px:"lg",py:"sm",borderBottom:[void 0,"onSurface.nLv4"],children:[(0,n.jsx)(i.az,{children:j&&(0,n.jsxs)(i.$n,{variant:"outline",h:"32",py:"xs",px:"sm",onClick:j,children:[(0,n.jsx)(K.pa2,{fill:"primary.default",mr:"xs"}),(0,n.jsx)(i.EY,{font:"button.secondary",color:"primary.default",children:(0,n.jsx)(c.A,{id:"basic.previous"})})]})}),(0,n.jsx)(i.az,{children:b&&(0,n.jsxs)(i.$n,{variant:"outline",h:"32",py:"xs",px:"sm",onClick:b,children:[(0,n.jsx)(i.EY,{font:"button.secondary",color:"primary.default",children:(0,n.jsx)(c.A,{id:"basic.next"})}),(0,n.jsx)(K.CCT,{fill:"primary.default",ml:"xs"})]})})]}),(0,n.jsx)(eg.e.Provider,{value:{hidePinSection:!0},children:(0,n.jsx)(em.b,{events:g,isEventCellFactory:!0,isMobile:m,header:A,onClick:w,eventCell:e=>(0,ek.u5)(null==v?void 0:v[e]),lastClickedEvent:k(m)})})]}),!m&&(0,n.jsx)(i.az,{display:["none","block"],w:"50%",h:p,children:h&&o&&(0,n.jsx)(z.Ee,{h:"[100%]",resetDeps:[h],children:(0,n.jsx)(eT,{eventId:h,onClose:L})})})]}):(0,n.jsx)(H.p,{graphic:"dropping-odds",descriptionMessageId:"basic.noEvents",mx:"auto"})})]})}var eI=t(65078),eH=t(34199),eY=t(10234),eB=t(4236);async function eW(e){let s=q.map(async s=>{let t=r.npy.topDroppingOdds(e,s);return{sport:s,hasResponse:await (0,r.m_X)(t)}});return(await Promise.all(s)).filter(e=>e.hasResponse).map(e=>e.sport)}function eP(e,s){let t,{winningOdds:n,odds:r}=e,i=n.fractionalValue,a=r.choices.find(e=>e.fractionalValue===i);return a&&(t=s?"2"===a.name:"1"===a.name),{choices:(0,eB.nu)(r.choices,s),isLeftSelected:t}}let eR=e=>{var s;let{winningOddsEvent:t,isFirst:r}=e,[a,l]=(0,d.useState)(r),{leftTeam:o,rightTeam:u}=(0,d.useContext)(p.y$),{Link:x}=ew(t),h=(0,eI.g3)(),{event:f,winningOdds:m}=t,g=f.tournament.category,{choices:v,isLeftSelected:j}=eP(t,h);return(0,n.jsxs)(i.az,{borderTop:r?void 0:"onSurface.nLv4",pb:"sm",children:[(0,n.jsxs)(i.so,{px:"lg",h:48,align:"center",gap:"xl",children:[(null==(s=f.tournament.uniqueTournament)?void 0:s.id)?(0,n.jsx)(eH.eD,{id:f.tournament.uniqueTournament.id,size:24}):(0,n.jsx)(eH.l3,{id:f.tournament.id,size:24}),(0,n.jsxs)(eL.B,{children:[(0,n.jsx)(eL.B.Item,{children:(0,n.jsx)(i.EY,{font:"display.micro",color:"onSurface.nLv1",children:(0,n.jsx)(eC.m,{...g,uniqueTournament:f.tournament.uniqueTournament})})}),(0,n.jsx)(eL.B.Item,{children:(0,n.jsx)(eY.J,{tournament:f.tournament})})]})]}),(0,n.jsx)(x,{children:(0,n.jsxs)(i.so,{px:"lg",justify:"space-between",children:[(0,n.jsxs)(i.so,{align:"center",py:"sm",children:[(0,n.jsx)(eH.pY,{size:40,id:o.id,name:o.name}),(0,n.jsx)(i.EY,{font:"body.medium",color:"onSurface.nLv1",ml:"lg",children:o.shortName})]}),(0,n.jsxs)(i.so,{align:"center",py:"sm",children:[(0,n.jsx)(i.EY,{font:"body.medium",color:"onSurface.nLv1",mr:"lg",children:u.shortName}),(0,n.jsx)(eH.pY,{size:40,id:u.id,name:u.name})]})]})}),(0,n.jsxs)(i.so,{px:"lg",py:"md",justify:"space-between",cursor:"pointer",onClick:()=>l(e=>!e),children:[(0,n.jsxs)(i.so,{align:"center",children:[(0,n.jsx)(eH.pY,{id:j?o.id:u.id,name:j?o.name:u.name,size:40}),(0,n.jsxs)(i.EY,{font:"body.medium",color:"onSurface.nLv1",ml:"xl",children:[j?(0,n.jsx)(Z.c,{fractionalValue:v[0].fractionalValue}):(0,n.jsx)(Z.c,{fractionalValue:v[v.length-1].fractionalValue})," = ".concat(m.expected,"%")]})]}),(0,n.jsxs)(i.so,{align:"center",children:[(0,n.jsx)(i.az,{bg:m.actual>m.expected?"sofaSingles.value":"neutral.default",br:"sm",w:56,mr:"xl",children:(0,n.jsx)(i.EY,{lineHeight:"24px",font:"assistive.default",color:"surface.s1",align:"center",as:"div",children:(0,n.jsx)(c.A,{id:"droppingOdds.wins",values:{win:m.actual}})})}),(0,n.jsx)(K.zQC,{icon:"chevron-down",style:{transform:"rotate(".concat(180*!!a,"deg)")}})]})]}),a&&(0,n.jsx)(i.EY,{p:"lg",pt:"sm",as:"div",children:(0,n.jsx)(c.A,{id:"winning_odds_text",values:{odds:(0,n.jsx)(n.Fragment,{children:j?(0,n.jsx)(Z.c,{fractionalValue:v[0].fractionalValue}):(0,n.jsx)(Z.c,{fractionalValue:v[v.length-1].fractionalValue})}),expectedChance:m.expected+"%",actualChance:m.actual+"%",name:"".concat(j?o.name:u.name)}})})]})};function eF(e){let{event:s,leftTeam:t,rightTeam:r,leftScore:i,rightScore:a}=(0,eI.AR)(e.winningOddsEvent.event);return(0,n.jsx)(p.y$.Provider,{value:{event:s,leftTeam:t,rightTeam:r,leftScore:i,rightScore:a,location:p.cb.OddsTable},children:(0,n.jsx)(eR,{...e})},e.winningOddsEvent.event.id)}var eD=t(25745);let eN=e=>{var s;let{winningOddsEvent:t,countryOddsProvider:r,clickable:a}=e,{Link:l,sendOddsClick:o}=ew(t),{leftTeam:u,rightTeam:x}=(0,d.useContext)(p.y$),{choices:h,isLeftSelected:f}=eP(t,(0,eI.g3)()),{event:m,odds:g,winningOdds:v}=t,j=m.tournament.category,b=j.sport;return(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)(l,{children:(0,n.jsxs)(i.az,{pb:"md",children:[(0,n.jsxs)(i.so,{px:"lg",py:"sm",align:"center",mb:"xs",children:[(null==(s=m.tournament.uniqueTournament)?void 0:s.id)?(0,n.jsx)(eH.eD,{id:m.tournament.uniqueTournament.id,size:24}):(0,n.jsx)(eH.l3,{id:m.tournament.id,size:24}),(0,n.jsxs)(i.EY,{font:"assistive.default",color:"onSurface.nLv3",ml:"sm",children:[(0,n.jsx)(ev.o,{sportSlug:b.slug}),", ",(0,n.jsx)(eC.m,{...j,uniqueTournament:m.tournament.uniqueTournament}),", ",(0,n.jsx)(eY.J,{tournament:m.tournament})]})]}),(0,n.jsxs)(i.so,{py:"xs",px:"lg",align:"center",children:[(0,n.jsx)(eH.pY,{size:32,id:u.id,name:u.name}),(0,n.jsx)(i.EY,{font:"body.small",color:"onSurface.nLv1",ml:"lg",children:u.shortName})]}),(0,n.jsxs)(i.so,{py:"xs",px:"lg",align:"center",children:[(0,n.jsx)(eH.pY,{size:32,id:x.id,name:x.name}),(0,n.jsx)(i.EY,{font:"body.small",color:"onSurface.nLv1",ml:"lg",children:x.shortName})]})]})})}),(0,n.jsx)("td",{children:(0,n.jsx)(i.so,{justify:"center",gap:"xs",px:"sm",children:g&&h.map((e,s)=>{let t=r?(0,eB.Iz)(e,g,r):"#",l=f&&0===s||!f&&s===h.length-1;return(0,n.jsxs)(i.az,{children:[(0,n.jsx)(i.EY,{font:"assistive.micro",color:"onSurface.nLv3",mb:"xs",align:"center",as:"div",children:e.name}),(0,n.jsx)("a",{rel:"noreferrer",target:"_blank",href:t,onClick:a?o:void 0,style:{cursor:a?"pointer":"default"},children:(0,n.jsx)(i.az,{bg:l?"surface.s2":void 0,border:"onSurface.nLv4",br:"xs",w:40,children:(0,n.jsx)(i.EY,{lineHeight:"16px",font:"display.micro",c:"onSurface.nLv1",align:"center",as:"div",children:(0,n.jsx)(Z.c,{fractionalValue:e.fractionalValue})})})})]},"".concat(m.id,"-").concat(e.name))})})}),(0,n.jsxs)("td",{style:{textAlign:"center"},children:[(0,n.jsx)(i.EY,{minW:64,font:"assistive.micro",color:"onSurface.nLv3",mb:"xs",align:"center",as:"div",children:f?1:2}),(0,n.jsx)(eH.pY,{id:f?u.id:x.id,name:f?u.name:x.name,size:16})]}),(0,n.jsx)("td",{children:(0,n.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv1",align:"center",as:"div",children:"".concat(v.expected,"%")})}),(0,n.jsx)("td",{children:(0,n.jsx)(i.az,{bg:v.actual>v.expected?"sofaSingles.value":"neutral.default",br:"sm",w:56,mx:"auto",children:(0,n.jsx)(i.EY,{lineHeight:"24px",font:"assistive.default",color:"surface.s1",align:"center",as:"div",children:(0,n.jsx)(c.A,{id:"droppingOdds.wins",values:{win:v.actual}})})})})]})};function eV(e){let{event:s,leftTeam:t,rightTeam:r,leftScore:i,rightScore:a}=(0,eI.AR)(e.winningOddsEvent.event);return(0,n.jsx)(p.y$.Provider,{value:{event:s,leftTeam:t,rightTeam:r,leftScore:i,rightScore:a,location:p.cb.OddsTable},children:(0,n.jsx)(eN,{...e})})}let eM=w.default.table.withConfig({componentId:"sc-f05844f5-0"})(["width:100%;border-collapse:collapse;border-spacing:0;thead tr{height:32px;background-color:",";}th:first-child,td:first-child{max-width:400px;overflow:hidden;border-left:none;}th:last-child,td:last-child{border-right:none;}tr:last-child{td{border-bottom:none;}}th,td{border:1px solid ",";}"],e=>e.theme.colors.surface.s2,e=>e.theme.colors.onSurface.nLv4),eQ=e=>{let{id:s,values:t,rowSpan:r,colSpan:a}=e;return(0,n.jsx)("th",{rowSpan:r,colSpan:a,children:(0,n.jsx)(i.EY,{font:"body.small",color:"onSurface.nLv3",children:(0,n.jsx)(c.A,{id:s,values:t})})})},eU=e=>{let{winningOddsEvents:s,sportSlug:t}=e,r=(0,u.d4)(b.a5),i=(0,eD.s)(null==r?void 0:r.impressionCostEncrypted),a=null==r?void 0:r.branded,l=(0,P.e)(async()=>{(0,F.CH)({provider:null==r?void 0:r.provider.slug,location:p.cb.OddsTable,value:await i})});return(0,n.jsxs)(eM,{children:[(0,n.jsxs)("thead",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)(eQ,{id:"match",rowSpan:2}),(0,n.jsx)(eQ,{id:"match_odds",values:{sport:null!=t?t:""},rowSpan:2}),(0,n.jsx)(eQ,{id:"team",rowSpan:2}),(0,n.jsx)(eQ,{id:"droppingOdds.chanceOfWinning",colSpan:2})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)(eQ,{id:"droppingOdds.basedOnOdds"}),(0,n.jsx)(eQ,{id:"droppingOdds.basedOnHistory"})]})]}),(0,n.jsx)("tbody",{ref:l,children:s.map(e=>(0,n.jsx)(eV,{winningOddsEvent:e,countryOddsProvider:r,clickable:a},e.event.id))})]})};function eG(e){let{isOpen:s,oddsValue:t,expectedChance:r,actualChance:a,choiceName:l,choiceTeamName:o,golden:d,onClose:u}=e;return(0,n.jsx)(i.aF,{isOpen:s,onClose:u,children:(0,n.jsxs)(i.az,{w:426,bg:"surface.s1",p:"lg",br:"lg",elevation:3,mx:"auto",children:[(0,n.jsx)(i.EY,{font:"display.large",color:"onSurface.nLv1",lineHeight:"24px",mb:"sm",as:"div",children:(0,n.jsx)(c.A,{id:"odds"})}),(0,n.jsx)(i.EY,{font:"body.medium",color:"onSurface.nLv1",as:"div",children:(0,n.jsx)(c.A,{id:"winning_odds_text",values:{odds:(0,n.jsx)(Z.c,{fractionalValue:t}),expectedChance:r,actualChance:(0,n.jsx)(c.A,{id:"droppingOdds.wins",values:{win:a}}),name:o}})}),(0,n.jsxs)(i.so,{h:84,justify:"space-between",mt:"lg",children:[(0,n.jsxs)(i.az,{w:"33%",p:"sm",pl:0,children:[(0,n.jsx)(i.EY,{lineHeight:"32px",font:"assistive.default",color:"onSurface.nLv3",align:"center",as:"div",children:(0,n.jsx)(c.A,{id:"droppingOdds.oddsForTeam"})}),(0,n.jsx)(i.EY,{font:"assistive.micro",color:"onSurface.nLv3",align:"center",my:"xs",as:"div",children:l}),(0,n.jsx)(i.az,{w:40,bg:"surface.s2",border:"onSurface.nLv4",br:"xs",mx:"auto",children:(0,n.jsx)(i.EY,{lineHeight:"16px",font:"display.micro",align:"center",as:"div",color:"onSurface.nLv1",children:(0,n.jsx)(Z.c,{fractionalValue:t})})})]}),(0,n.jsx)(i.cG,{vertical:!0}),(0,n.jsxs)(i.az,{w:"33%",p:"sm",children:[(0,n.jsx)(i.EY,{h:"32px",font:"assistive.default",color:"onSurface.nLv3",align:"center",as:"div",children:(0,n.jsx)(c.A,{id:"droppingOdds.chanceBasedOnOdds"})}),(0,n.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv1",align:"center",mt:20,as:"div",children:"".concat(r,"%")})]}),(0,n.jsx)(i.cG,{vertical:!0}),(0,n.jsxs)(i.az,{w:"33%",p:"sm",pr:0,children:[(0,n.jsx)(i.EY,{h:"32px",font:"assistive.default",color:"onSurface.nLv3",align:"center",as:"div",children:(0,n.jsx)(c.A,{id:"droppingOdds.chanceBasedOnHistory"})}),(0,n.jsx)(i.az,{bg:d?"sofaSingles.value":"neutral.default",br:"sm",mt:"lg",w:56,mx:"auto",children:(0,n.jsx)(i.EY,{lineHeight:"24px",font:"assistive.default",color:"surface.s1",align:"center",as:"div",children:(0,n.jsx)(c.A,{id:"droppingOdds.wins",values:{win:a}})})})]})]}),(0,n.jsx)(i.so,{justify:"flex-end",mt:"xl",children:(0,n.jsx)(i.$n,{variant:"unshielded",onClick:u,children:(0,n.jsx)(c.A,{id:"close_window_button"})})})]})})}let eK=e=>{let s,t,{winningOddsEvents:r,sportSlug:a}=e,{isMobile:l}=(0,z.$c)(),o=(0,eI.g3)(),u=(0,U.hX)(),[p,x]=(0,d.useState)(!1),h=r[0];if(h){let{choices:e,isLeftSelected:n}=eP(h,o),r=n?0:e.length-1;s=e[r],t=o?n?h.event.awayTeam.name:h.event.homeTeam.name:n?h.event.homeTeam.name:h.event.awayTeam.name}return(0,n.jsxs)(i.az,{bg:"surface.s1",elevation:[void 0,3],br:[void 0,"lg"],children:[!!s&&t&&(0,n.jsx)(eG,{isOpen:p,choiceName:s.name,choiceTeamName:t,oddsValue:s.fractionalValue,expectedChance:h.winningOdds.expected,actualChance:h.winningOdds.actual,golden:h.winningOdds.actual>h.winningOdds.expected,onClose:()=>x(!1)}),(0,n.jsxs)(i.az,{position:"relative",children:[(0,n.jsx)(i.EY,{font:"display.medium",c:"onSurface.nLv1",align:"center",px:"lg",pt:"md",pb:"xs",lineHeight:"24px",m:0,as:"h2",children:(0,n.jsx)(c.A,{id:a?"app.sportWinningOdds":"app.winningOdds",values:a?{sportName:(0,n.jsx)(ev.o,{sportSlug:a})}:void 0})}),!!s&&(0,n.jsx)(i.az,{d:["none","initial"],position:"absolute",right:"lg",top:"md",cursor:"pointer",onClick:()=>x(!0),children:(0,n.jsx)(K.G_L,{fill:"onSurface.nLv1"})})]}),l&&!u&&r.length>0&&(0,n.jsx)(i.az,{children:r.map((e,s)=>(0,n.jsx)(eF,{winningOddsEvent:e,isFirst:0===s},e.event.id))}),!l&&(0,n.jsx)(eU,{winningOddsEvents:r,sportSlug:a})]})},eq=function(e){let s=e.sportSlug===r.rY5.All?void 0:e.sportSlug,t=eS(e.selectedProviderId,s),i=t.length>0;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ez,{sportSlug:s,selectedProviderId:e.selectedProviderId}),i&&(0,n.jsx)(eK,{winningOddsEvents:t,sportSlug:s})]})};var e$=t(47146),eJ=t(97350);let eX=e=>{let{event:s,streakDescription:t,onHighValueStreakEventClick:r,streakHoldersIDs:a}=e,[l,o]=(0,eI.jr)(s,"homeTeam","awayTeam");return(0,n.jsx)(E.tj,{event:s,onClick:()=>r(s.id),children:(0,n.jsxs)(i.so,{px:"sm",py:"md",hoverBg:"surface.s2",children:[(0,n.jsxs)(i.so,{flex:"3 0 0",justify:"space-between",align:"center",px:"sm",children:[(0,n.jsx)(Q.p,{id:l.id,size:28}),(0,n.jsx)(i.EY,{font:"body.small",color:"onSurface.nLv3",textTransform:"firstLetter",children:(0,O.cK)(s.startTimestamp)?(0,n.jsx)(G.ib,{value:1e3*s.startTimestamp}):(0,n.jsx)(e$.v,{timestamp:1e3*s.startTimestamp,isAbsoluteTime:!0})}),(0,n.jsx)(Q.p,{id:o.id,size:28})]}),(0,n.jsx)(i.cG,{vertical:!0}),(0,n.jsx)(i.so,{flex:"3 0 0",px:"sm",align:"center",children:(0,n.jsx)(i.EY,{font:"body.small",color:"onSurface.nLv1",children:(0,n.jsx)(eJ.U,{id:t.name})})}),(0,n.jsx)(i.cG,{vertical:!0}),(0,n.jsx)(i.so,{flex:"1 0 0",px:"sm",justify:"center",align:"center",children:(0,n.jsxs)(i.az,{children:[a.length&&(0,n.jsx)(i.so,{gap:"xs",mb:"xxs",children:a.map(e=>(0,n.jsx)(Q.p,{id:e,size:16},e))}),(0,n.jsx)(i.EY,{font:"display.micro",color:"onSurface.nLv1",align:"center",as:"div",children:t.value})]})})]})})},eZ=e=>{let{streaks:s,onHighValueStreakEventClick:t}=e;return s.length?(0,n.jsx)(i.az,{children:s.map(e=>{let s=[];return("home"===e.streak.team||"both"===e.streak.team)&&s.push(e.event.homeTeam.id),("away"===e.streak.team||"both"===e.streak.team)&&s.push(e.event.awayTeam.id),(0,n.jsx)(eX,{event:e.event,streakDescription:e.streak,onHighValueStreakEventClick:t,streakHoldersIDs:s},"".concat(e.event.id,"-").concat(e.streak.name))})}):(0,n.jsx)(H.p,{graphic:"dropping-odds",descriptionMessageId:"betting.emptyHighValueStreaks"})},e0=e=>{let{teamStreaks:s,h2hStreaks:t,onHighValueStreakEventClick:r,loading:a}=e;return(0,n.jsxs)(i.az,{bg:"surface.s1",br:[void 0,"lg"],elevation:[void 0,3],pb:["sm","lg"],children:[(0,n.jsx)(i.EY,{font:"display.medium",color:"onSurface.nLv1",lineHeight:"24px",px:"lg",pt:"md",pb:"sm",m:0,as:"h2",children:(0,n.jsx)(c.A,{id:"droppingOdds.highValueStreaks"})}),(0,n.jsxs)(i.tU,{variant:"secondary",children:[(0,n.jsxs)(i.so,{px:"lg",py:"sm",borderBottom:["onSurface.nLv4",void 0],children:[(0,n.jsx)(i.tU.Tab,{children:(0,n.jsx)(c.A,{id:"team_streaks"})}),(0,n.jsx)(i.tU.Tab,{children:(0,n.jsx)(c.A,{id:"team_head_to_head"})})]}),a?(0,n.jsx)(i.az,{p:"lg",children:(0,n.jsx)(x.a,{size:24})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.tU.Panel,{children:(0,n.jsx)(eZ,{streaks:s,onHighValueStreakEventClick:r})}),(0,n.jsx)(i.tU.Panel,{children:(0,n.jsx)(eZ,{streaks:t,onHighValueStreakEventClick:r})})]})]})]})};var e1=t(32113);let e2=e=>{let{h2h:s,sport:t,showSportIcon:r}=e,{leftTeam:a,rightTeam:l,leftScore:o,rightScore:d}=(0,eI.AR)(s.event),c=s.event.tournament.category.sport.slug;return(0,n.jsx)(p.y$.Provider,{value:{event:s.event,leftTeam:a,rightTeam:l,leftScore:o,rightScore:d},children:(0,n.jsx)(E.tj,{event:s.event,children:(0,n.jsxs)(i.so,{onClick:()=>(0,F.xR)({type:J.H2HEvent,name:t,id:s.event.id}),hoverBg:"surface.s2",align:"center",cursor:"pointer",children:[r&&(0,n.jsx)(K.Hj1,{sport:c,minW:24,width:24,height:24,fill:"onSurface.nLv3",ml:"lg"}),(0,n.jsx)(e1.H,{h2hDuel:s.h2h,leftImage:(0,n.jsx)(Q.p,{size:28,id:a.id,name:a.name}),rightImage:(0,n.jsx)(Q.p,{size:28,id:l.id,name:l.name}),leftName:(0,n.jsx)(et.Rm,{team:a,showFemaleSuffix:(0,et.ub)(a)}),rightName:(0,n.jsx)(et.Rm,{team:l,showFemaleSuffix:(0,et.ub)(l)})})]})})})},e3=e=>{let{top20H2H:s,sport:t,showSportIcon:a}=e;return(0,n.jsxs)(i.az,{bg:"surface.s1",br:[void 0,"lg"],elevation:[void 0,3],pb:[0,"lg"],children:[(0,n.jsxs)(i.EY,{font:"display.medium",color:"onSurface.nLv1",lineHeight:"24px",px:"lg",pt:"md",pb:"sm",m:0,as:"h2",children:[(0,n.jsx)(c.A,{id:"droppingOdds.top20H2H"})," ",t!==r.rY5.All&&(0,n.jsx)(ev.o,{sportSlug:t})]}),s.map(e=>(0,n.jsx)(e2,{h2h:e,showSportIcon:a,sport:t},e.event.id))]})},e4=e=>{let{sport:s,id:t,name:r,streakVal:a,Link:l,showSportIcon:o}=e,c=(0,d.useCallback)(()=>(0,F.xR)({type:J.StreaksTeam,name:s,id:t}),[s,t]);return(0,n.jsx)(l,{children:(0,n.jsxs)(i.so,{hoverBg:"surface.s2",onClick:c,px:"lg",py:"md",align:"center",justify:"space-between",children:[(0,n.jsxs)(i.so,{align:"center",children:[o&&(0,n.jsx)(K.Hj1,{sport:s,width:24,height:24,fill:"onSurface.nLv3",mr:"lg"}),(0,n.jsx)(Q.p,{id:t,size:24}),(0,n.jsx)(i.EY,{font:"body.small",color:"onSurface.nLv1",ml:"sm",children:r})]}),(0,n.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv1",children:a})]})})},e5=function(e){let{selectedStreak:s,onStreakChange:t,sport:a,streaks:l,showSportIcon:o,loading:d}=e,u=l.length>0;return(0,n.jsxs)(i.az,{bg:"surface.s1",br:[void 0,"lg"],elevation:[void 0,3],pb:["sm","lg"],children:[(0,n.jsxs)(i.EY,{font:"display.medium",color:"onSurface.nLv1",lineHeight:"24px",px:"lg",pt:"md",pb:"sm",m:0,as:"h2",children:[(0,n.jsx)(c.A,{id:"droppingOdds.top20TeamStreaks"})," ",a!==r.rY5.All&&(0,n.jsx)(ev.o,{sportSlug:a})]}),(0,n.jsx)(i.ms,{mx:"lg",my:"sm",items:Object.keys($[a]),selectedItem:s,onSelectedItemChange:e=>e.selectedItem?t(e.selectedItem):null,renderItem:e=>e&&$[a][e]?(0,n.jsx)(eJ.U,{id:$[a][e]}):null}),(0,n.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv3",p:"lg",pb:"sm",as:"div",children:(0,n.jsx)(c.A,{id:"droppingOdds.nextMatch48Hours"})}),u?l.map(e=>(0,n.jsx)(e4,{showSportIcon:o,sport:a,id:e.team.id,name:(0,n.jsx)(et.Rm,{team:e.team,showFemaleSuffix:(0,et.ub)(e.team)}),streakVal:e.value,Link:s=>(0,n.jsx)(E.gT,{team:e.team,sport:e.team.sport.slug,...s})},e.team.id)):d?null:(0,n.jsx)(H.p,{graphic:"dropping-odds",descriptionMessageId:"betting.emptyStreaks"})]})},e6=e=>Object.keys($[e])[0],e9=function(e){let[s,t]=(0,d.useState)(e6(e.sportSlug)),i=(0,d.useCallback)(e=>{t(e)},[e.sportSlug]),a=(0,d.useCallback)(s=>(0,F.xR)({type:J.HighValueStreaksEvent,name:e.sportSlug,id:s}),[e.sportSlug]),[l]=(0,u.d4)((0,b.Pf)()),o=e.sportSlug===r.rY5.All?void 0:e.sportSlug,{teamStreaks:c,h2hStreaks:p,hvsLoading:x}=ej(l),h=e.sportSlug===r.QCR.Football||e.sportSlug===r.rY5.All,f=ey(l,o),{topTeamStreaks:m,loading:g}=eb(s,o),v=f&&f.length>0;return(0,d.useEffect)(()=>{t(e6(e.sportSlug))},[o]),(0,n.jsxs)(n.Fragment,{children:[h&&(0,n.jsx)(e0,{teamStreaks:c,h2hStreaks:p,onHighValueStreakEventClick:a,loading:x}),(0,n.jsx)(e5,{loading:g,sport:e.sportSlug||r.rY5.All,onStreakChange:i,selectedStreak:s,streaks:m,showSportIcon:!o}),v&&(0,n.jsx)(e3,{top20H2H:f,showSportIcon:!o,sport:e.sportSlug||r.rY5.All})]})};function e8(e){let{sportSlug:s,providerId:t}=e,a=(0,M.d)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.az,{mb:["md",0],children:(0,n.jsx)(i.EY,{font:"display.extraLarge",color:"onSurface.nLv1",pt:"xl",pb:"md",m:0,align:"center",as:"h1",children:(0,n.jsx)(c.A,{id:s!==r.rY5.All?"app.sportPredictionTips":"app.predictionTips",values:{sportName:(0,n.jsx)(c.A,{id:"sport.".concat(s)})}})})}),(0,n.jsxs)(h.xA,{children:[(0,n.jsxs)(h.fv,{grow:2,noDividers:!0,pb:"48px",children:[a&&(0,n.jsx)(ex,{sportSlug:s}),(0,n.jsx)(eq,{sportSlug:s,selectedProviderId:t})]}),(0,n.jsx)(h.fv,{grow:1,noDividers:!0,children:(0,n.jsx)(e9,{sportSlug:s})})]})]})}var e7=t(96913),se=t(28132);let ss=e=>Object.keys($[e])[0];function st(e){let s=eS(e.providerId,e.sportSlug),t=s.length>0,a=(0,M.d)(),[l,o]=(0,d.useState)(ss(e.sportSlug)),c=(0,d.useCallback)(e=>{o(e)},[e.sportSlug]),p=(0,d.useCallback)(s=>(0,F.xR)({type:J.HighValueStreaksEvent,name:e.sportSlug,id:s}),[e.sportSlug]),[x]=(0,u.d4)((0,b.Pf)()),h=e.sportSlug===r.rY5.All?void 0:e.sportSlug,{teamStreaks:f,h2hStreaks:m,hvsLoading:g}=ej(x),v=e.sportSlug===r.QCR.Football||e.sportSlug===r.rY5.All,j=ey(x,h),{topTeamStreaks:y,loading:S}=eb(l,h),w=j&&j.length>0;(0,d.useEffect)(()=>{o(ss(e.sportSlug))},[h]);let k=[{tabKey:se.H.BetBoost,item:"Bet Boost",isHidden:!a},{tabKey:se.H.DroppingOdds,item:"app.droppingOdds"},{tabKey:se.H.WinningOdds,item:"app.winningOdds",isHidden:!t},{tabKey:se.H.HighValueStreaks,item:"droppingOdds.highValueStreaks",isHidden:!v},{tabKey:se.H.Top20TeamStreaks,item:"droppingOdds.top20TeamStreaks"},{tabKey:se.H.Top20H2H,item:"droppingOdds.top20H2H",isHidden:!w}];return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(e7.A,{id:e.providerId,location:se.m.DroppingOddsPage,initialTabKey:a?se.H.BetBoost:se.H.DroppingOdds,tabs:k,noSportMenu:!0,children:[(0,n.jsx)(i.tU.Panel,{tabKey:se.H.BetBoost,children:(0,n.jsx)(ex,{sportSlug:e.sportSlug})}),(0,n.jsx)(i.tU.Panel,{tabKey:se.H.DroppingOdds,children:(0,n.jsx)(ez,{sportSlug:h,selectedProviderId:e.providerId})}),(0,n.jsx)(i.tU.Panel,{tabKey:se.H.WinningOdds,children:(0,n.jsx)(eK,{winningOddsEvents:s,sportSlug:h})}),(0,n.jsx)(i.tU.Panel,{tabKey:se.H.HighValueStreaks,children:(0,n.jsx)(e0,{teamStreaks:f,h2hStreaks:m,onHighValueStreakEventClick:p,loading:g})}),(0,n.jsx)(i.tU.Panel,{tabKey:se.H.Top20TeamStreaks,children:(0,n.jsx)(e5,{loading:S,sport:h||r.rY5.All,onStreakChange:c,selectedStreak:l,streaks:y,showSportIcon:!h})}),(0,n.jsx)(i.tU.Panel,{tabKey:se.H.Top20H2H,children:(0,n.jsx)(e3,{top20H2H:j,showSportIcon:!h,sport:e.sportSlug})})]})})}let sn=e=>{let{isUK:s,canonicalURL:t}=e;return(0,n.jsxs)(i.az,{children:[(0,n.jsxs)(l(),{children:[(0,n.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(t)}),!s&&(0,n.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,n.jsx)(_,{active:r.rY5.All,availableSports:[]}),(0,n.jsx)(i.so,{justify:"center",align:"center",h:"calc(100vh - 188px)",children:(0,n.jsx)(x.a,{})})]})},sr=function(){let e=(0,o.useRouter)(),s=(0,S.a)(e,e.asPath)||r.rY5.All,t=(0,m.A)(),a="en"===t,x=(0,u.d4)(b.BF),[w,k]=(0,u.d4)((0,b.Pf)()),[E,L]=(0,d.useState)(w||k),[C,A]=(0,d.useState)(null),O=g.z.getTranslatedCanonicalRoute(t,"betting",s!==r.rY5.All?{sport:s}:void 0).route;(0,d.useEffect)(()=>{L(w||k)},[w,k]),(0,d.useEffect)(()=>{E&&eW(E).then(e=>{0===e.length&&L(k),A(e)})},[E]);let z=(0,u.wA)();return((0,d.useEffect)(()=>{z((0,y.Vy)(null))},[]),(0,d.useEffect)(()=>{x&&e.replace("/")},[x]),E&&C&&!x)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.$B,{children:(0,n.jsx)(i.az,{bg:"surface.s1",children:(0,n.jsx)(i.EY,{font:"display.large",color:"onSurface.nLv1",pt:"lg",pb:"sm",m:0,align:"center",as:"h1",children:(0,n.jsx)(c.A,{id:s!==r.rY5.All?"app.sportPredictionTips":"app.predictionTips",values:{sportName:(0,n.jsx)(c.A,{id:"sport.".concat(s)})}})})})}),(0,n.jsx)(_,{active:s,availableSports:C}),(0,n.jsxs)(h.Ay,{children:[(0,n.jsxs)(l(),{children:[(0,n.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(O)}),!a&&(0,n.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,n.jsx)(v.Ay,{metaKey:"betting"}),(0,n.jsxs)(T.Provider,{value:s,children:[(0,n.jsxs)(p.Ws.Provider,{value:s,children:[(0,n.jsx)(f.$B,{children:(0,n.jsx)(st,{providerId:E,sportSlug:s})}),(0,n.jsx)(f.h6,{children:(0,n.jsx)(e8,{providerId:E,sportSlug:s})})]}),(0,n.jsx)(j.T,{})]})]})]}):(0,n.jsx)(sn,{isUK:a,canonicalURL:O})},si=()=>(0,n.jsx)(sr,{})},85685:(e,s,t)=>{"use strict";t.d(s,{o:()=>i});var n=t(6029),r=t(90248);let i=e=>{let{parsedMoney:s}=e;return s.measure?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.A,{id:"value.".concat(s.measure),values:{value:s.parsedValue}})," ",s.currencySign]}):(0,n.jsxs)(n.Fragment,{children:[s.parsedValue," ",s.currencySign]})}},93665:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/betting",function(){return t(84420)}])},96003:(e,s,t)=>{"use strict";t.d(s,{J:()=>n,x:()=>r});let n="bonus-odds-cta-seen",r="bet-boost-cta-seen"},96913:(e,s,t)=>{"use strict";t.d(s,{m:()=>h.m,A:()=>x});var n=t(6029),r=t(95083),i=t(41249),a=t(78383),l=t.n(a),o=t(55729),d=t(90248),c=t(12047),u=t(28171);let p=(e,s)=>{let t=(0,o.useState)(e);return s||t};function x(e){let{id:s,location:t,initialTabKey:a,onChange:x=l(),tabs:h,children:f,customControls:m,noSportMenu:g,eventStatusType:v,seasonId:j,isInWidget:b}=e,y=(0,o.useRef)(null),{isMobile:S}=(0,r.$c)(),[w,k]=p(a,m),{logTabChange:E}=(0,u.A)(),L=(0,c.Ay)({isSportMenuVisible:!g,isInMobileTabs:!1});return(0,o.useEffect)(()=>{w!==a&&k(a)},[s,t,j]),(0,n.jsx)(i.tU,{onChange:e=>{w!==e&&(k(e),x(e),b||window.scrollTo({left:0,top:0}))},initialValue:a||w,value:w,variant:"primary",fullWidthTabs:S||b,children:(0,n.jsxs)(i.az,{d:"inline",style:{verticalAlign:"top"},ref:y,children:[(0,n.jsx)(i.PI,{isStickingDisabled:b||!S,bg:["surface.s1","transparent"],borderBottom:["effect.elevation1",void 0],top:L,children:(0,n.jsx)(i.tU.List,{underline:!0,scroll:!0,children:h.filter(e=>!e.isHidden).map(e=>(0,n.jsx)(i.tU.Tab,{tabKey:e.tabKey,style:{marginLeft:0},as:"h2",onClick:n=>n.nativeEvent.isTrusted&&e.tabKey!==w?E({type:e.tabKey,id:s,location:t,status:v}):void 0,children:(0,n.jsx)("a",{href:"#tab:".concat(e.tabKey),onClick:e=>e.preventDefault(),style:{color:"inherit"},children:"string"==typeof e.item?(0,n.jsx)(d.A,{id:e.item,values:e.values}):e.item})},"".concat(s,"-").concat(e.tabKey)))})}),(0,n.jsx)(i.az,{children:f})]})},s)}var h=t(28132)},97350:(e,s,t)=>{"use strict";t.d(s,{U:()=>d});var n=t(6029),r=t(947),i=t(90248);let a=JSON.parse('{"Wins":"streak.wins","Losses":"losses","Draws":"draws","No losses":"no_losses","No wins":"noWins","No goals conceded":"noGoalsConceded","No goals scored":"noGoalsScored","Without clean sheet":"no_clean_sheet","More than 2.5 goals":{"id":"over_goals","values":{"n":2.5}},"Less than 2.5 goals":{"id":"under_goals","values":{"n":2.5}},"More than 4.5 cards":{"id":"moreThanCards","values":{"n":4.5}},"Less than 4.5 cards":{"id":"lessThanCards","values":{"n":4.5}},"More than 10.5 corners":{"id":"over_corners","values":{"n":10.5}},"Less than 10.5 corners":{"id":"lessThanCorners","values":{"n":10.5}},"Both teams scoring":"both_teams_to_score","First to score":"first_to_score","First to concede":"firstToConcede","First half winner":"firstHalfWinner","First half loser":"firstHalfLoser","First quarter winner":"firstQuarterWinner","First quarter loser":"firstQuarterLoser","Scored points average (Last 10)":{"id":"bbal_last_ten_avg_points_scored"},"Game points average (Last 10)":{"id":"bbal_last_ten_avg_game_total"},"First period winner":"firstPeriodWinner","First period loser":"firstPeriodLoser","First period both scoring":"firstPeriodBothScoring","More than 5.5 goals":{"id":"over_goals","values":{"n":5.5}},"More than 1.5 goals in first period":{"id":"moreThanGoalsInFirst","values":{"n":1.5}},"First set winner":"firstSetWinner","First set loser":"firstSetLoser","Wins (clay)":{"id":"winsSurface","values":{"surface":"Clay"}},"Wins (grass)":{"id":"winsSurface","values":{"surface":"Grass"}},"Wins (hard)":{"id":"winsSurface","values":{"surface":"Hard"}},"Wins (carpet indoor)":{"id":"winsSurface","values":{"surface":"Carpet indoor"}},"Wins (hardcourt indoor)":{"id":"winsSurface","values":{"surface":"Hardcourt indoor"}},"Wins (hardcourt outdoor)":{"id":"winsSurface","values":{"surface":"Hardcourt outdoor"}},"Wins (synthetic outdoor)":{"id":"winsSurface","values":{"surface":"Synthetic outdoor"}},"Loses (clay)":{"id":"lossesSurface","values":{"surface":"Clay"}},"Loses (grass)":{"id":"lossesSurface","values":{"surface":"Grass"}},"Loses (hard)":{"id":"lossesSurface","values":{"surface":"Hard"}},"Loses (carpet indoor)":{"id":"lossesSurface","values":{"surface":"Carpet indoor"}},"Loses (hardcourt indoor)":{"id":"lossesSurface","values":{"surface":"Hardcourt indoor"}},"Loses (hardcourt outdoor)":{"id":"lossesSurface","values":{"surface":"Hardcourt outdoor"}},"Loses (synthetic outdoor)":{"id":"lossesSurface","values":{"surface":"Synthetic outdoor"}},"Sets won":"setsWon"}');var l=t(74620),o=t(27892);let d=e=>{let{id:s}=e,t=(0,r.A)(),d=(0,o.B)(a,s);return Object.keys(d).forEach(e=>{"surface"===e&&(d[e]=t.formatMessage({id:(0,o.O)(l,d[e])}).toLowerCase())}),(0,n.jsx)(i.A,{id:(0,o.O)(a,s),values:d})}},98095:(e,s,t)=>{"use strict";t.d(s,{j:()=>a});var n=t(4967),r=t(45860);let i=e=>fetch(e,{method:"HEAD",cache:"no-store"});function a(){let{data:e,error:s,isLoading:t}=(0,r.Ay)("https://cdn.adapex.io/hb/aaw.sofascore.js",{fetcher:i,dedupingInterval:n.d_});return{isLoading:t,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==s}}}},e=>{var s=s=>e(e.s=s);e.O(0,[3095,756,3797,2062,1105,9347,1254,636,6593,8792],()=>s(93665)),_N_E=e.O()}]);