!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c4a7bbb6-52fb-4b2c-9fc1-36a4eac42861",e._sentryDebugIdIdentifier="sentry-dbid-c4a7bbb6-52fb-4b2c-9fc1-36a4eac42861")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1584,1712,2970,3003,3263,6051,6523,7239,9979],{151:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});let s=e=>e.branding.config},1840:(e,t,n)=>{"use strict";n.d(t,{z:()=>x,K:()=>v});var s=n(6029),a=n(76356),r=n(55729),i=n(494),l=n(62859),o=n(77988),d=n(44194),c=n(10794);let u=e=>{let{}=e;return(0,s.jsx)(d.EY,{display:"block",px:"lg",py:"sm",textStyle:"body.small",color:"neutrals.nLv3",textAlign:"center",children:"Juego Responsable - 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"})};var m=n(44450),p=n(2294);let h=()=>(0,s.jsx)(a.az,{position:"relative",px:"lg",py:"sm",children:(0,s.jsx)(o.A,{})}),x=e=>{let{showTailingRegulation:t}=e,n=(0,i.d4)(c.LQ);return"GR"===n&&t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.so,{justify:"center",children:(0,s.jsx)(m.A,{})}),(0,s.jsx)(h,{})]}):"AR"===n?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(h,{}),(0,s.jsx)(u,{})]}):(0,s.jsx)(h,{})},v=e=>{let{showTailingRegulation:t}=e,{event:n}=(0,r.useContext)(l.y$),a=(0,i.d4)((0,p.Ul)(n)),o=(0,i.d4)((0,p.bS)(n));return a||o?(0,s.jsx)(x,{showTailingRegulation:t}):null}},3881:(e,t,n)=>{"use strict";n.d(t,{E:()=>l});var s=n(64082),a=n(6029),r=n(41249),i=n(43451);function l(e){var{height:t=800,width:n="100%",rowHeight:l=45,wrapperStyle:o={},rows:d,animate:c=!1,rowGap:u=8,uniqueKey:m}=e,p=(0,s.T)(e,["height","width","rowHeight","wrapperStyle","rows","animate","rowGap","uniqueKey"]);return 0===t?null:(0,a.jsx)(r.az,Object.assign({maxW:"100%",bg:"surface.s1",overflow:"hidden"},p,{style:o},{children:(0,a.jsx)(i.D,Object.assign({animate:c,width:n,height:d&&l?d*(l+u):t,uniqueKey:m},{children:(0,a.jsx)(a.Fragment,{children:d?Array(d).fill(null).map((e,t)=>(0,a.jsx)("rect",{x:0,y:t*(l+u),width:"100%",height:l},t)):(0,a.jsx)("rect",{x:0,y:0,width:"100%",height:t})})}))}))}},4866:(e,t,n)=>{"use strict";n.d(t,{e:()=>a.e,w:()=>s.w});var s=n(53192),a=n(33480)},5683:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>na});var s=n(6029),a=n(21377),r=n(4967),i=n(95669),l=n.n(i),o=n(55729),d=n(947),c=n(62859),u=n(19451),m=n(19643),p=n(50417),h=n(54029),x=n(17357),v=n(30720),g=n(42678),f=n(73411),j=n(21501),y=n(76356),b=n(71024),w=n.n(b),k=n(494),S=n(45860),C=n(65789),T=n(31712),A=n(1440),_=n(93902),I=n(37377),L=n(1773),E=n(12962),F=n(89513),H=n(29129),P=n(70010),R=n(22152);let B=w()(()=>n.e(7819).then(n.bind(n,37819)),{loadableGenerated:{webpack:()=>[37819]}});var O=n(48553),z=n(53235),D=n(76277),M=n(83457),N=n(47550),W=n(46009),G=n(8973),Y=n(7263),U=n(3898),Q=n(17808),K=n(77540),q=n(47229),V=n(1840),$=n(13030),X=n(92209),Z=n(91631);let J=()=>(0,Z.q)()?(0,s.jsxs)($.A,{children:[(0,s.jsx)($.A.Header,{titleId:"odds",variant:"left-aligned"}),(0,s.jsx)(y.az,{px:"sm",pb:"sm",children:(0,s.jsx)(X.i,{placement:"desktop"})})]}):null;var ee=n(49711),et=n(39979),en=n(2294),es=n(27175),ea=n(70088),er=n(44407),ei=n(3856),el=n(85009),eo=n(91694),ed=n(23685),ec=n(29469),eu=n(10794),em=n(14861),ep=n(9088),eh=n(79085),ex=n(95247),ev=n(5348),eg=n(44194),ef=n(41249),ej=n(90248),ey=n(33752),eb=n(91729),ew=n(98449),ek=n(31229),eS=n(64073),eC=n(39969),eT=n(70591),eA=n(52951),e_=n(47530),eI=n(27289),eL=n(94604),eE=n(7309),eF=n(50154),eH=n(34884);let eP=e=>{var t;let{event:n,sport:a,children:r}=e;return u.tt.includes(a)||!n.tournament.uniqueTournament?(0,s.jsx)(eT.O5,{tournament:n.tournament,children:r}):(0,s.jsx)(eT.tQ,{tournament:n.tournament.uniqueTournament,seasonId:null==(t=n.season)?void 0:t.id,children:r})};var eR=n(33144);function eB(e){let{team:t}=e;return t.subTeams&&2===t.subTeams.length?(0,s.jsxs)(ef.so,{children:[(0,s.jsx)(eR.p,{mr:"-8",id:t.subTeams[0].id,name:t.subTeams[0].name,size:40,style:{verticalAlign:"top"}}),(0,s.jsx)(eR.p,{id:t.subTeams[1].id,name:t.subTeams[1].name,size:40,style:{verticalAlign:"top"}})]}):(0,s.jsx)(eR.p,{size:40,id:t.id,name:t.name,style:{verticalAlign:"top"}})}let eO=(0,o.memo)(e=>{var t,n;let{event:r,leftTeam:i,rightTeam:l}=e,{meta:d,seoContent:c}=(0,o.useContext)(eA.xV),{isDesktop:m}=(0,eg.$c)(),p=(0,k.d4)(eu.JV),h=r.tournament.category.sport.slug,x=h===a.QCR.Football,v=h===a.QCR.Tennis,g=r.status.type===a.XUj.Finished,f=(0,eE.w)(r.tournament),{isAdsTestTreatment:j}=(0,eF.Q)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(ef.az,{bg:"surface.s1",mb:[0,"md"],h:["auto",j?88:112],px:[0,j?"xl":0],elevation:[void 0,2],br:[void 0,j?"xl":void 0],children:(0,s.jsx)(eb.m,{children:(0,s.jsxs)(ef.so,{justify:"space-between",children:[(0,s.jsxs)(ef.so,{direction:["row","column"],grow:1,overflow:"hidden",style:{textOverflow:"ellipsis"},align:["center","initial"],children:[(0,s.jsxs)(ey.B,{children:[(0,s.jsx)(ey.B.Item,{children:(0,s.jsx)(eT.di,{translatedParams:{sport:h},children:(0,s.jsx)(eI.o,{sportSlug:h})})}),!u.tt.includes(h)&&(0,s.jsx)(ey.B.Item,{children:(0,s.jsx)(eT.Z6,{category:r.tournament.category,children:(0,s.jsx)(ew.m,{...r.tournament.category,uniqueTournament:r.tournament.uniqueTournament})})}),(0,s.jsx)(ey.B.Item,{children:(0,s.jsxs)(eP,{event:r,sport:h,children:[f,r.roundInfo&&(0,s.jsxs)("span",{children:[", ",(0,s.jsx)(e_.DT,{round:r.roundInfo})]})]})}),(0,s.jsx)(ey.B.Title,{children:(null==c?void 0:c.heading)||(null==d?void 0:d.title)||(0,s.jsx)(ej.A,{id:x?"headerTitle.event-v3":v?"headerTitle.event.tennis":"headerTitle.event",values:{home:(0,s.jsx)("bdi",{children:(0,s.jsx)(eL.Rm,{team:i})}),away:(0,s.jsx)("bdi",{children:(0,s.jsx)(eL.Rm,{team:l})})}})})]}),(0,s.jsxs)(ef.so,{display:["none","flex"],flex:"1 1 auto",justify:"space-between",children:[(0,s.jsxs)(ef.so,{align:"center",children:[(0,s.jsx)(ef.EY,{font:"display.extraLarge",as:"bdi",ellipsis:!0,children:(0,s.jsx)(ek.U,{})}),(0,s.jsx)(ef.az,{ml:"sm",children:(0,s.jsx)(eC.h,{id:r.id,type:G.b.Event,location:G.y.Header,tournament:r.tournament,leftTeam:i,rightTeam:l,menuPosition:"bottom"})})]}),(0,s.jsx)(ef.az,{px:"xl",textAlign:"right",children:(0,s.jsx)(eH.i,{eventLocation:"editor_event",nickname:null==(t=r.eventEditor)?void 0:t.name,userId:null==(n=r.eventEditor)?void 0:n.id,hasStarted:r.status.type!==a.XUj.NotStarted})})]}),(0,s.jsx)(ef.az,{display:["block","none"],mr:"md",ml:"-4",children:(0,s.jsx)(eC.h,{id:r.id,tournament:r.tournament,type:G.b.Event,location:G.y.Header,leftTeam:i,rightTeam:l,menuPosition:"bottom"})})]}),m&&!g&&!j&&(0,s.jsxs)(eS.K,{threshold:80,entity:a.bq7.Events,id:r.id,type:G.b.Event,children:[(0,s.jsx)(eB,{team:i}),(0,s.jsx)(ef.EY,{mx:"xs",block:!0,font:"display.medium",color:"onSurface.nLv1",children:"ar"===p?"ضد":"VS"}),(0,s.jsx)(eB,{team:l})]})]})})})})},(e,t)=>e.event.id===t.event.id&&e.leftTeam===t.leftTeam&&e.rightTeam===t.rightTeam);var ez=n(36337),eD=n(57267),eM=n(97316),eN=n(98899),eW=n(86523),eG=n(55479),eY=n(10951),eU=n(12174),eQ=n(11687),eK=n(27680),eq=n(25049),eV=n(49937),e$=n(67239),eX=n(868),eZ=n(92494),eJ=n(92059),e0=n(35410),e1=n(73011),e4=n(24985),e2=n(62056);let e9=w()(()=>Promise.resolve().then(n.bind(n,61777)),{loadableGenerated:{webpack:()=>[61777]},ssr:!1,loading:()=>(0,s.jsx)(e4.Vj,{})}),e5=w()(()=>n.e(3614).then(n.bind(n,33614)),{loadableGenerated:{webpack:()=>[33614]},ssr:!1,loading:()=>(0,s.jsx)(e2.A,{})});function e6(e){let{event:t,hasLineups:n}=e,r=t.tournament.category.sport.slug,i=e1.Bx.includes(r)&&!!t.hasEventPlayerStatistics;return i&&r!==a.QCR.Football?(0,s.jsx)(e5,{}):(0,s.jsx)(e9,{hasLineups:n,showPlayerStatistics:i})}var e3=n(42078),e7=n(31215),e8=n(19172),te=n(15926),tt=n(73003),tn=n(10234),ts=n(62827),ta=n(7067),tr=n(58516),ti=n(36075),tl=n(55665),to=n(71046),td=n(721);let tc=w()(()=>Promise.resolve().then(n.bind(n,76097)),{loadableGenerated:{webpack:()=>[76097]},ssr:!1}),tu=w()(()=>n.e(7752).then(n.bind(n,77752)),{loadableGenerated:{webpack:()=>[77752]},ssr:!1}),tm=w()(()=>Promise.all([n.e(6591),n.e(4632),n.e(6618),n.e(3231),n.e(7717),n.e(7433)]).then(n.bind(n,29814)),{loadableGenerated:{webpack:()=>[29814]},ssr:!1,loading:()=>(0,s.jsx)(tp.Consumer,{children:e=>{let{numberOfStandingsRows:t}=e;return(0,s.jsx)(e3.d,{noSeasonPicker:!0,numberOfRows:t})}})}),tp=(0,o.createContext)({numberOfStandingsRows:20}),th=w()(()=>Promise.resolve().then(n.bind(n,36142)),{loadableGenerated:{webpack:()=>[36142]},ssr:!1}),tx=(0,o.memo)(e=>{let{hasLineups:t,hasStandings:n,showDesktopVideoBanner:r,showPlayByPlay:i,numberOfStandingsRows:l=20}=e,{event:d,leftTeam:u,rightTeam:m}=(0,o.useContext)(c.y$),p=d.tournament.uniqueTournament,h=(0,o.useContext)(L.i4),{sport:x,id:v}=d.tournament.category,g=(0,k.d4)(en.qW),f=x.slug===a.QCR.ESports&&(0,to.f2)(v),j=d.status.type===a.XUj.InProgress,y=x.slug===a.QCR.Tennis,b=x.slug===a.QCR.MMA,{isAdsTestTreatment:w,variant:S}=(0,eF.Q)();return(0,o.useEffect)(()=>{h&&h.provider===eZ.w.Google&&r&&h.addExcludedSlot([S===ta.KT.Control?"eventC.DESKTOP_TOP":"event.DESKTOP_TOP"])},[h,S]),(0,s.jsxs)(s.Fragment,{children:[!r&&!w&&(0,s.jsx)(em.i,{id:"event.DESKTOP_TOP"}),y&&p&&d.season&&(0,s.jsx)(tt.default,{uniqueTournamentId:p.id,uniqueTournamentSlug:p.slug,categorySlug:p.category.slug,seasonId:d.season.id,sport:x.slug}),(r||j)&&(0,s.jsx)(s.Fragment,{children:g||!j?(0,s.jsx)(td.A,{event:d}):(0,s.jsx)(eW.LiveActionWidgetContainer,{eventId:d.id})}),b&&(0,s.jsx)(th,{}),x.slug===a.QCR.Cricket&&(0,s.jsx)(e0.Ay,{}),(0,s.jsx)(e6,{event:d,hasLineups:t}),i&&(0,s.jsx)(A.A,{persist:!0,children:(0,s.jsxs)(ef.so,{minH:["100%",889,912],gap:"md",children:[(0,s.jsx)(ef.az,{w:"50%",children:(0,s.jsx)(tu,{})}),(0,s.jsx)(ef.az,{w:"50%",children:(0,s.jsx)(er.K,{event:d})})]})}),!1!==n&&d.season&&(0,s.jsx)(tp.Provider,{value:{numberOfStandingsRows:l},children:(0,s.jsx)(A.A,{persist:!0,loader:(0,s.jsx)(e3.d,{noSeasonPicker:!0,numberOfRows:l}),children:(0,s.jsx)(ef.so,{direction:"column",gap:"md",children:(0,s.jsx)(tm,{tournamentId:d.tournament.id,seasonId:d.season.id,homeTeamId:u.id,awayTeamId:m.id,Header:()=>{var e;return(0,s.jsx)(e7.A,{tournamentId:d.tournament.id,tournamentName:(0,s.jsx)(tn.J,{tournament:d.tournament}),uniqueTournamentId:null==(e=d.tournament.uniqueTournament)?void 0:e.id,mobileOnly:!0})},loaderNumberOfRows:l})})})}),!w&&(0,s.jsx)(em.i,{id:"event.DESKTOP_MIDDLE"}),(0,s.jsx)(A.A,{persist:!0,children:(0,s.jsx)(eJ.A,{eventId:d.id,eSportsType:d.tournament.category.name,hidePlayers:!f})}),(0,s.jsx)(A.A,{persist:!0,loader:(0,s.jsx)(tl.G,{}),children:(0,s.jsx)(ti.D,{})}),(0,s.jsx)(A.A,{persist:!0,loader:(0,s.jsx)(te.A,{page:!0}),children:(0,s.jsx)(e8.o,{page:!0})}),(0,s.jsx)(A.A,{persist:!0,children:(0,s.jsxs)(C.Zp,{children:[(0,s.jsx)(C.Zp.Header,{title:(0,s.jsx)(ej.A,{id:b?"fights_mma":"matches",values:b?void 0:{sport:(0,ts.ap)(x.slug)}}),as:"h2"}),(0,s.jsx)(tc,{isTabbedLayout:!1})]})}),(0,s.jsx)(A.A,{display:["none","block"],persist:!0,children:(0,s.jsx)(ef.az,{w:"50%","data-testid":"h2h_container",children:(0,s.jsxs)(C.Zp,{children:[(0,s.jsx)(C.Zp.Header,{titleId:"team_head_to_head"}),(0,s.jsx)(tr.GV,{})]})})})]})},(e,t)=>e.event.id===t.event.id&&e.hasLineups===t.hasLineups&&e.hasStandings===t.hasStandings&&e.event.status.type===t.event.status.type&&e.event.hasEventPlayerStatistics===t.event.hasEventPlayerStatistics&&e.showDesktopVideoBanner===t.showDesktopVideoBanner&&e.showPlayByPlay===t.showPlayByPlay);var tv=n(23250);let tg=w()(()=>n.e(5432).then(n.bind(n,93051)),{loadableGenerated:{webpack:()=>[93051]},ssr:!1,loading:()=>(0,s.jsx)(eG.T,{})}),tf=(0,o.memo)(e=>{let{event:t}=e;return(0,s.jsx)(er.K,{event:t})},(e,t)=>{var n,s;return e.event.id===t.event.id&&e.event.status.type===t.event.status.type&&(null==(n=e.event.season)?void 0:n.id)===(null==(s=t.event.season)?void 0:s.id)&&e.event.hasEventPlayerStatistics===t.event.hasEventPlayerStatistics});function tj(e){var t,n,r,i;let{initialStandingsProperties:l}=e,d=(0,o.useContext)(c.y$),{event:u,leftTeam:m,rightTeam:p}=d,h=u.tournament.category.sport,x=(0,j.hX)(),v=(0,k.d4)(eu.LQ),g=(0,k.d4)(en.qW),f=(0,k.d4)(en.BF),b=(0,k.d4)((0,en.bS)(u)),[w]=(0,k.d4)((0,en.Pf)()),{isAdsTestTreatment:$}=(0,eF.Q)(),X=(0,to.nI)(u),Z=!!v&&(0,to.Q9)(v),er=h.slug===a.QCR.MMA,eg=(0,M.j)(h.slug),ef={fetcher:Y.n,revalidateOnFocus:!0,refreshInterval:6e4*(u.status.type===a.XUj.NotStarted||u.status.type===a.XUj.InProgress)},{data:ej}=(0,S.Ay)([er?null:a.bnp.statistics(u.id),"HEAD"],ef),{data:ey}=(0,S.Ay)(u.status.type===a.XUj.InProgress?[a.bnp.winProbability(u.id),"HEAD"]:null,ef),{data:eb}=(0,S.Ay)([a.bnp.lineups(u.id),"HEAD"],{...ef,fallbackData:d.initialHasLineups}),{data:ew}=(0,S.Ay)(u.season?[a.yKR.standings(u.tournament.id,u.season.id),"HEAD"]:null,{...ef,fallbackData:null==l?void 0:l.hasStandings}),ek=!f&&b&&!!w,{data:eS}=(0,S.Ay)(ek?[a.npy.recommendedPrematchTopVoted(w,h.slug),"HEAD"]:null,ef),{data:eC}=(0,S.Ay)([eg?a.bnp.commentary(u.id,eg):null,"HEAD"],{refreshInterval:1e4,fetcher:Y.n}),eT=eC&&h.slug!==a.QCR.IceHockey,eA=eC&&h.slug===a.QCR.IceHockey,e_=u.status.type===a.XUj.NotStarted,eI=u.status.type===a.XUj.InProgress,eL=h.slug===a.QCR.ESports&&(0,to.f2)(u.tournament.category.id),eE=eI&&!!Z&&g,eH=(0,o.useRef)(null),eP=ez.I.includes(h.slug)&&u.status.type===a.XUj.NotStarted,eR=h.slug===a.QCR.Football;return(0,s.jsxs)(s.Fragment,{children:[!$&&(0,s.jsx)(eO,{event:u,leftTeam:m,rightTeam:p}),(0,s.jsx)(H.YW,{pb:"md",children:(0,s.jsxs)(L.JR,{children:[$&&(0,s.jsx)(eO,{event:u,leftTeam:m,rightTeam:p}),(0,s.jsx)(c.Ws.Provider,{value:h.slug,children:(0,s.jsxs)(c.y$.Provider,{value:{...d,location:c.cb.EventPage},children:[(0,s.jsxs)(P.xA,{gap:{base:$?"md":"xl",mdOnly:"md"},children:[(0,s.jsxs)(P.fv,{flexGrow:1,children:[(0,s.jsxs)(C.Zp,{children:[(0,s.jsx)(y.az,{h:"sm"}),(0,s.jsxs)(C.BU,{children:[(0,s.jsx)(W.w.Provider,{value:G.y.EventHeader,children:(0,s.jsx)(ex.g,{})}),(0,s.jsx)(ev.N,{event:u}),(0,s.jsx)(eV.R,{}),(0,s.jsx)(ee.O,{event:u,fallback:{NL:$?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(em.i,{id:"event.DESKTOP_BELOW_ODDS",borderless:!0}),PT:eS?(0,s.jsx)(K.U,{onClick:()=>{var e;return null==eH||null==(e=eH.current)?void 0:e.scrollIntoView({behavior:"smooth"})}}):(0,s.jsx)(s.Fragment,{}),DE:$?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)(em.i,{id:"event.DESKTOP_BELOW_ODDS",borderless:!0})},children:(0,s.jsx)(q.f9,{eventId:u.id,isLive:eI})}),(0,s.jsx)(eY.y,{}),(0,s.jsx)(eq.z,{}),(0,s.jsx)(ea.Jk,{eventId:u.id,tournamentId:u.tournament.id,roundId:null==(t=u.roundInfo)?void 0:t.round,type:"single",screen:"desktop",isLive:eI,location:ea.D_.EventPage},u.id),(0,s.jsx)(tv.C,{}),X&&!eR&&(0,s.jsx)(tg,{event:u}),(0,s.jsx)(eK.f,{}),(0,s.jsx)(eU.f,{event:u}),!eR&&(0,s.jsx)(eh.E,{event:u,hideCta:!0}),h.slug===a.QCR.Cricket&&(0,s.jsx)(D.x,{}),h.slug===a.QCR.Tennis?null:(0,eN.D)(h.slug)?(0,s.jsx)(eD.j,{event:u}):h.slug===a.QCR.Cricket?(0,s.jsx)(T.default,{event:u,isLive:eI}):(0,s.jsx)(eM.w,{event:u}),(0,s.jsx)(z.d,{}),X&&eR&&(0,s.jsx)(tg,{event:u}),eR&&(0,s.jsx)(eh.E,{event:u,hideCta:!0})]})]}),h.slug===a.QCR.Tennis&&(0,s.jsx)(es.A,{event:u}),h.slug===a.QCR.Tennis&&e_&&(0,s.jsx)(eX.p,{}),eL&&!x&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(R.A,{eventId:u.id}),(0,s.jsx)(B,{event:u})]}),(0,s.jsx)(ec.A,{placement:E.M.DesktopEventPage,event:u}),(0,s.jsx)(J,{}),u.status.type!==a.XUj.NotStarted&&(0,s.jsx)(O.Y,{}),!eA&&(ej||ey)&&(0,s.jsx)(A.A,{persist:!0,loader:(0,s.jsx)(ei.O,{}),children:(0,s.jsx)(tf,{event:u})}),eT&&(0,s.jsx)(e$.default,{}),!x&&eE&&(0,s.jsx)(eW.LiveActionWidgetContainer,{eventId:u.id,modal:!0,children:(0,s.jsx)(q.f9,{eventId:u.id,isLive:eI})}),(0,s.jsx)(A.A,{persist:!0,children:(0,s.jsx)(U.dq,{eventId:u.id})}),!$&&(0,s.jsx)(em.i,{id:"event.DESKTOP_LEFT"}),eS&&(0,s.jsx)(et.default,{showHeader:!0,ref:eH}),u.status.type===a.XUj.NotStarted&&(0,s.jsx)(O.Y,{}),(0,s.jsx)(eQ.s,{eventId:u.id}),er&&(0,s.jsx)(A.A,{persist:!0,children:(0,s.jsx)(Q.A,{homeTeam:u.homeTeam,awayTeam:u.awayTeam})}),(0,s.jsx)(_.W,{event:u,showTournamentInfo:eL}),(0,s.jsx)(ed.Y,{utId:null==(n=u.tournament.uniqueTournament)?void 0:n.id,location:"event_screen",bgImageUrl:[a.cWY.image(m.id),a.cWY.image(p.id)]}),!er&&(0,s.jsx)(A.A,{persist:!0,children:(0,s.jsx)(el.d,{eventId:u.id,type:a.IAy.Event,startTimestamp:u.startTimestamp})}),(0,s.jsx)(eo.Q,{}),eP&&(0,s.jsx)(ez.x,{eventId:u.id,leftTeam:m,rightTeam:p}),(0,s.jsx)(N.pk,{utIds:[null==(r=u.tournament.uniqueTournament)?void 0:r.id]}),(0,s.jsx)(ep.I,{event:u}),(null==(i=u.eventEditor)?void 0:i.name)&&(0,s.jsx)(I.s,{}),(0,s.jsx)(V.K,{}),(0,s.jsx)(F.A,{})]}),(0,s.jsx)(P.fv,{flexGrow:2,children:(0,s.jsx)(tx,{event:u,hasLineups:eb,hasStandings:ew,showDesktopVideoBanner:Z,showPlayByPlay:eA,numberOfStandingsRows:null==l?void 0:l.numberOfRows})})]}),!$&&(0,s.jsx)(em.i,{id:"event.DESKTOP_BOTTOM",mt:"md"})]})})]})})]})}var ty=n(96913),tb=n(28132),tw=n(70115),tk=n(34706),tS=n(62102),tC=n(58074),tT=n(1614),tA=n(51883),t_=n(36614),tI=n(8718),tL=n(42917),tE=n(1584),tF=n(91941),tH=n(55862),tP=n(90890),tR=n(94041),tB=n(15328),tO=n(59280),tz=n(55584),tD=n(78383),tM=n.n(tD),tN=n(76410),tW=n(29953);let tG=(e,t)=>{let n=(0,o.useContext)(tW.A),{variant:s}=(0,ta.Ay)("web_interstitial_ad_unit_standings"),a=(null==n?void 0:n.provider)===eZ.w.Google&&s===ta.KT.Treatment,r=(0,o.useRef)({onInterstitialSlotLoaded:tM()}),i=(0,o.useCallback)(()=>{googletag.cmd.push(()=>{googletag.pubads().removeEventListener("slotOnload",r.current.onInterstitialSlotLoaded)})},[]);return(0,o.useEffect)(()=>i(),[]),{showInterstitialAd:(0,o.useCallback)(async()=>(i(),new Promise(n=>{let{path:s,format:r,position:i}=e;if(!a)return void n();googletag.cmd.push(()=>{var e;let a;if(googletag.pubads().addEventListener("slotOnload",e=>{(null==a?void 0:a.getSlotElementId())===e.slot.getSlotElementId()&&((0,tN.Te)({provider:"google",position:s}),null==t||t())}),!(a=null==(e=googletag.defineOutOfPageSlot(s,googletag.enums.OutOfPageFormat.INTERSTITIAL))?void 0:e.setTargeting("ad_format",r).setTargeting("ad_position",i).addService(googletag.pubads())))return void n();googletag.enableServices(),googletag.display(a)})})),[e,n,a])}};var tY=function(e){return e.EventPageStandingsMobile="EVENT_PAGE_STANDINGS_MOBILE",e}({});let tU={EVENT_PAGE_STANDINGS_MOBILE:{[eZ.w.Google]:{divId:"div-gpt-ad-1743088277318-0",path:"/21866864457/web_mobile_interstitial_320x480",size:[[300,250],[320,480],[336,280]],containerSize:[336,480],format:[],position:["out_of_page"],type:"interstitial"},platforms:["mobile"]}},tQ=[a.XUj.NotStarted,a.XUj.Finished],tK=4*r.dp,tq=()=>{let{isMobile:e}=(0,eg.$c)(),{event:t}=(0,o.useContext)(c.y$),{showInterstitialAd:n}=tG(tU[tY.EventPageStandingsMobile].Google),{variant:s}=(0,ta.Ay)("web_interstitial_ad_unit_standings"),[a,r]=(0,ts.yR)("last-seen-standings-interstitial",void 0),i=tQ.includes(t.status.type);return{triggerInterstitialAd:(0,o.useCallback)(async()=>{let t=!!a&&Date.now(){e===tb.H.Standings&&d()},children:[(0,s.jsx)(tT.A,{isSpecialEsports:R,hasStandings:!!_,hasCricketIncidents:g,hasFeaturedOdds:L,hasWinningOdds:F,onFeaturedOddsClick:()=>n(tb.H.FeaturedOdds),onBestPlayersClick:()=>n(S?tb.H.BoxScore:tb.H.Lineups),onPrematchStandingsClick:()=>n(tb.H.Standings),onSeeAllStatisticsClick:()=>n(tb.H.Statistics)}),E&&(0,s.jsx)(tk.A,{}),k&&(0,s.jsx)(t_.A,{event:r}),j&&(0,s.jsx)(tH.A,{}),f&&(0,s.jsx)(tR.A,{event:r}),S&&(0,s.jsx)(tS.A,{}),C&&(0,s.jsx)(tL.A,{}),T&&(0,s.jsx)(tO.A,{event:r}),A&&(0,s.jsx)(tP.A,{}),_&&(0,s.jsx)(tB.A,{event:r,leftTeamId:i.id,rightTeamId:l.id}),b&&(0,s.jsx)(tI.A,{tabKey:tb.H.Graphs}),w&&(0,s.jsx)(tC.A,{}),(0,s.jsx)(tE.A,{}),p&&r.tournament.uniqueTournament&&r.season&&(0,s.jsx)(tw.A,{uniqueTournament:r.tournament.uniqueTournament,seasonId:r.season.id,sport:u}),H&&(0,s.jsx)(tA.A,{hasRecommendedPrematchOdds:B}),P&&(0,s.jsx)(tF.A,{event:r,isLive:m})]}),(0,s.jsx)(em.i,{id:"event.MOBILE_BOTTOM",mb:"sm"})]})}var t$=n(73624);function tX(e){var t;let{event:n}=(0,o.useContext)(c.y$),a=n.tournament.category.sport;return(0,s.jsx)(c.Ws.Provider,{value:a.slug,children:(0,s.jsxs)(t$.Hy,{eventId:n.id,children:[(0,s.jsx)(g.$B,{children:(0,s.jsx)(tV,{...e})}),(0,s.jsx)(g.h6,{children:(0,s.jsx)(eF.q,{children:(0,s.jsx)(tj,{initialStandingsProperties:e.initialStandingsProperties})})}),(0,s.jsx)(f.S,{utId:null==(t=n.tournament.uniqueTournament)?void 0:t.id,location:"event_screen"})]})})}var tZ=n(81278),tJ=n(30479);let t0={event_details:tb.H.Details,event_lineups:tb.H.Lineups,event_statistics:tb.H.Statistics},t1=e=>{switch(e){case"a":return"android";case"i":return"ios";case"w":return"web";default:return}},t4=e=>{switch(e){case"ed":return"event_details";case"el":return"event_lineups";case"es":return"event_statistics";default:return}},t2=(e,t,n)=>{switch(t){case"s":e.source=t1(n);return;case"id":e.id=Number(n);return;case"c":e.category=t4(n);return;default:return}},t9=(e,t)=>{e.replace("share:","").split(",").forEach(e=>{let n=e.split(":");2===n.length&&t2(t,n[0],n[1])})},t5=e=>{let t=!!(0,tZ.useRouter)().query.sport,n={name:e.slug,id:e.customId};t&&(n.sport=(0,to.c5)(e));let[s,a]=(0,tJ.Ay)({routeKey:u.xW.Event,params:n}),r=(null==s?void 0:s.id)&&!Number.isNaN(null==s?void 0:s.id)?s.id:e.id,[i,l]=(0,o.useState)();return(0,o.useEffect)(()=>{let e=window.location.hash.replace("#",""),t={};e.startsWith("share:")&&(t9(e,t),l(t)),t.id&&a("id",t.id.toString())},[]),{eventId:r,setEventId:e=>a("id",e.toString()),shareInfo:i,setShareInfo:l,activeTab:(null==s?void 0:s.tab)||tb.H.Details,setActiveTab:e=>a("tab",e)}};var t6=n(26331),t3=n(73088),t7=n(72653),t8=n(70389),ne=n(99736),nt=n(25862),nn=n(65097);let ns=[a.QCR.AmericanFootball,a.QCR.Cricket,a.QCR.Football,a.QCR.Baseball,a.QCR.Basketball,a.QCR.TableTennis,a.QCR.IceHockey,a.QCR.Handball,a.QCR.Volleyball,a.QCR.MMA];function na(e){var t,n,i,u,g;if("error"in e)return(0,s.jsx)(nn.default,{statusCode:404});let f=(0,d.A)(),{eventId:j,setEventId:y,shareInfo:b,setShareInfo:w,activeTab:k,setActiveTab:S}=t5(e.event),{event:C}=(0,x.A)(j,{shouldRefresh:!0,onFetchError:()=>y(e.event.id)}),T=(null==C?void 0:C.customId)===e.event.customId?C:e.event,[A,_]=(0,v.A)(T,"homeTeam","awayTeam",T),[I,L]=(0,v.A)(T,"homeScore","awayScore",T);(0,o.useEffect)(()=>{if(C&&((0,tN.l3)(C.id,C.status.type),b&&b.id&&b.category&&b.source)){t0[b.category]&&S(t0[b.category]),w(void 0);try{sessionStorage.setItem(h.IE,"share")}catch(e){}}},[null==C?void 0:C.id]),(0,o.useEffect)(()=>{(0,ts.UI)("sofa.event.details.load-id")},[]);let{customId:E,slug:F,homeTeam:H,awayTeam:P,tournament:R,startTimestamp:B}=T,O=(0,t6.A)(),z=H.name,D=P.name,M=T.venue,N=f.formatDate((0,r.pp)(B,!0),{...r.or.dateWithShortMonth}),W=f.formatTime((0,r.pp)(B,!0)),G=T.tournament.category.sport.slug,Y=G===a.QCR.Football,U=G===a.QCR.ESports,Q=null==(t=R.category.alpha2)?void 0:t.toLowerCase(),K=null==(i=H.country)||null==(n=i.alpha2)?void 0:n.toLowerCase(),q=null==(g=P.country)||null==(u=g.alpha2)?void 0:u.toLowerCase(),V=T.isEditor?!(0,m.N)(null!=Q?Q:K&&q&&K===q?K:"",O):(0,p.v)(G,O),$=t3.z.getTranslatedCanonicalRoute(O,"event",{id:E,name:F,sport:G}).route,X={item:"".concat(T.homeTeam.name," ").concat(T.awayTeam.name),homeTeamName:z,awayTeamName:D,home:z,away:D,startDate:N,startTime:W,tournamentName:R.name,categoryName:R.category.name,hasVenue:!!M,year:new Date(1e3*T.startTimestamp).getFullYear(),...(0,to.Ee)(M)},Z="event",J="livescore";return["fr","it"].includes(O)&&Y&&(Z="event-v2"),Y&&(J="livescore-v3"),U&&(Z="event-esports",J="livescore-esports"),(0,s.jsxs)(eA.an,{value:{meta:e.meta,eventMeta:e.eventMeta,seoContent:e.seoContent},children:[(0,s.jsxs)(l(),{children:[(0,s.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat($)}),(0,s.jsx)("link",{rel:"alternate",href:"android-app://com.sofascore.results/https/www.sofascore.com/event/".concat(T.id)}),(0,s.jsx)("meta",{property:"og:image",content:a.bnp.shareDetailsImage("16x9",T.id)}),(0,s.jsx)("meta",{property:"og:image:width",content:"2130"}),(0,s.jsx)("meta",{property:"og:image:height",content:"1200"}),V&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,s.jsx)(t7.A,{event:T}),(0,s.jsx)(eA.Ay,{metaKey:Z,titleKey:J,keywordsKey:"sport",values:X}),(0,s.jsx)(c.y$.Provider,{value:{event:T,leftTeam:A,rightTeam:_,leftScore:I,rightScore:L,location:c.cb.EventPage,initialIncidents:e.incidents,initialHasLineups:e.initialHasLineups},children:(0,s.jsx)(tX,{activeTab:k,setActiveTab:S,initialStandingsProperties:e.initialStandingsProperties})})]})}na.getInitialProps=ne.Ay.getInitialPageProps(e=>async t=>{let{query:s,req:r,res:i,...l}=t,o=r?r._originalUrl:l.asPath,d=t3.z.getCurrentLocale(o),c=r&&r.params?r.params:s,m=c.id;try{var p,h;let t,s=null==(p=(0,tJ.JT)(o))?void 0:p.id;(!s||Number.isNaN(s))&&(s=(await a.nk6.fetchCurrentlyRelevantEvent(m)).currentlyRelevantEvent.id);let{event:r}=await a.nk6.fetchEvent(Number(s));if(!r)throw Error();let l=r.tournament.category.sport.slug;if(i&&r.slug!==c.name&&(i.writeHead(301,{Location:t3.z.getTranslatedRoute(d,"event",{id:r.customId,name:r.slug,sport:l}).route}),i.end()),i&&!u.Hk.includes(l))throw Error("Unsupported sport");if(u.so.includes(l))throw Error("Stage sports do not have event page!");let[x,v,g,f,j]=await Promise.allSettled([a.sdF.getEntityMeta(a.wNW.Event,m,d),a.nk6.fetchH2HMeta(Number(s)),ns.includes(l)?a.sdF.getSeoContent(a.wNW.Event,s,d):Promise.reject(),a.nk6.hasLineups(Number(r.id)),a.nk6.fetchStandingsProperties(r.tournament.id,null==(h=r.season)?void 0:h.id)]),y="fulfilled"===x.status?x.value.entityMeta:void 0,b="fulfilled"===v.status?v.value.meta:void 0,w="fulfilled"===g.status?g.value.content:void 0,k="fulfilled"===f.status?f.value:void 0,S="fulfilled"===j.status?j.value:void 0,C=(0,a.S$s)(),T=(await n.e(1088).then(n.t.bind(n,81088,19))).default;e.dispatch((0,t8.Od)(T)),e.dispatch((0,nt.Vy)(r.tournament.category.sport.slug));try{if(![a.XUj.Canceled,a.XUj.Delayed,a.XUj.NotStarted,a.XUj.Postponed].includes(r.status.type)){let{incidents:e}=await a.nk6.fetchEventIncidents(r.id);t=(null==e?void 0:e.length)?e:void 0}}catch(e){console.error(e)}return{event:r,meta:y,eventMeta:b,seoContent:w,initialHasLineups:k,revalidate:C,incidents:t,initialStandingsProperties:S}}catch(e){return i&&(i.statusCode=404),{error:e}}})},8960:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,d:()=>u});var s=n(21377),a=n(494),r=n(45860),i=n(19451),l=n(2294),o=n(10794),d=n(30479);let c=(e,t)=>{let[n]=(0,d.Ay)({routeKey:i.xW.Betting,params:{}}),a=(null==n?void 0:n.boostId)?+n.boostId:void 0,l=null==t?void 0:t.betBoosts.find(e=>e.event.id===a),{data:o}=(0,r.Ay)(a&&!l?s.bnp.betBoost(a,e):null);return{selectedBoost:null==o?void 0:o.betBoost,selectedEventId:a}},u=()=>{let e=(0,a.d4)(o.LQ);return(0,a.d4)(l.Zw)&&"IT"!==e}},9922:(e,t,n)=>{var s=n(22346);e.exports=function(e){return s(e,5)}},10292:(e,t,n)=>{"use strict";n.d(t,{t:()=>s.t});var s=n(91407)},11773:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,sf:()=>o});var s=n(6029),a=n(21377),r=n(41249),i=n(41735),l=n(67628);let o={[a.QWe.HardcourtIndoor]:"terrain.hardcourtIndoor",[a.QWe.HardcourtOutdoor]:"terrain.hardcourtOutdoor",[a.QWe.Grass]:"terrain.grass",[a.QWe.Clay]:"terrain.clay",[a.QWe.RedClay]:"terrain.clay"},d=(0,i.default)(r.az).withConfig({componentId:"sc-49373ef6-0"})(["display:inline-block;border-radius:",";padding-left:",";padding-right:",";background-color:",";height:",";"],e=>e.theme.spacing.md,e=>e.theme.spacing.sm,e=>e.theme.spacing.sm,e=>{var t,n;return null!=(n=null==(t=e.theme.colors)?void 0:t[o[e.groundType]])?n:e.theme.colors.neutral.default},e=>e.theme.spacing.lg),c=e=>{let{groundType:t,...n}=e;return t?(0,s.jsx)(d,{groundType:t,...n,children:(0,s.jsx)(r.EY,{as:"div",font:"assistive.default",h:"lg",color:"surface.s1",children:(0,s.jsx)(l.n,{id:t})})}):null}},13731:(e,t,n)=>{var s=n(53325),a=n(25725),r=Object.prototype.hasOwnProperty;e.exports=a(function(e,t,n){r.call(e,n)?e[n].push(t):s(e,n,[t])})},14319:(e,t,n)=>{"use strict";n.d(t,{G:()=>f});var s=n(6029),a=n(21377),r=n(41249),i=n(55729),l=n(494),o=n(45860),d=n(62859),c=n(60988),u=n(22648),m=n(75508),p=n(8973),h=n(67628),x=n(90879),v=n(90961),g=n(19121);let f=()=>{let e=(0,l.wA)(),{event:t}=(0,i.useContext)(d.y$),[n,f]=(0,i.useState)(!1),[j,y]=(0,i.useState)(!1),[b,w]=(0,i.useState)(!1),k=t.tournament.category.sport.slug,{data:S}=(0,o.Ay)(a.bnp.head2HeadEvents(t.customId)),C=k===a.QCR.Tennis,T=k===a.QCR.MMA,A=t.homeTeam,_=(0,i.useMemo)(()=>((null==S?void 0:S.events)||[]).filter(e=>{let s=!0;return n&&(s=e.homeTeam.id===A.id),j&&(s=e.tournament.uniqueTournament&&t.tournament.uniqueTournament?s&&e.tournament.uniqueTournament.id===t.tournament.uniqueTournament.id:s&&e.tournament.id===t.tournament.id),b&&(s=s&&t.groundType===e.groundType),s}),[S,n,j,b]);(0,i.useEffect)(()=>{(null==S?void 0:S.events)&&e((0,g.oU)(S.events))},[S]);let I=(0,i.useCallback)(()=>f(e=>!e),[]),L=(0,i.useCallback)(()=>y(e=>!e),[]),E=(0,i.useCallback)(()=>w(e=>!e),[]),F=(0,v.C)(k);return _.length?(0,s.jsxs)(r.az,{w:"100%",children:[(0,s.jsx)(r.so,{align:"center",wrap:"wrap",children:C?!!t.groundType&&(0,s.jsx)(r.Sc,{id:"groundType",checked:b,onChange:E,children:(0,s.jsx)(r.EY,{font:"body.medium",color:"onSurface.nLv1",whiteSpace:"normal",children:(0,s.jsx)(h.n,{id:t.groundType})})}):(0,s.jsxs)(s.Fragment,{children:[F&&(0,s.jsx)(x.d,{id:"playedAt".concat(t.homeTeam.name),textId:"details.atTeam",team:t.homeTeam.name,checked:n,onChange:I}),!T&&(0,s.jsx)(x.d,{id:"thisTournament",textId:"this_competition",checked:j,onChange:L})]})}),(0,s.jsx)(r.az,{p:"sm",children:(0,s.jsx)(c.MC.Provider,{value:{location:p.y.H2HSection},children:(0,s.jsx)(m.b,{events:_,descending:!0,isShort:!0})})})]}):(0,s.jsx)(r.az,{h:300,children:(0,s.jsx)(u.a,{})})}},15926:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(6029),a=n(41249),r=n(65789),i=n(96224);let l=()=>(0,s.jsx)(r.Zp,{children:(0,s.jsx)(a.az,{h:552})});function o(e){let{page:t}=e;return t?(0,s.jsxs)(a.so,{gap:"md","data-testid":"team_streaks",children:[(0,s.jsxs)(a.so,{w:"50%",direction:"column",gap:"sm",children:[(0,s.jsx)(r.Zp,{children:(0,s.jsx)(a.az,{h:136})}),(0,s.jsx)(i.A,{})]}),(0,s.jsx)(a.az,{w:"50%",children:(0,s.jsx)(l,{})})]}):(0,s.jsxs)(a.so,{direction:"column",gap:"sm",children:[(0,s.jsx)(l,{}),(0,s.jsx)(l,{})]})}},19172:(e,t,n)=>{"use strict";n.d(t,{o:()=>s.default});var s=n(52970)},19643:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var s=n(93839);function a(e,t){return"en"===t||t===s.vo[e]}},19666:(e,t,n)=>{"use strict";n.d(t,{$M:()=>i,VX:()=>r,dR:()=>o,qL:()=>a,tR:()=>d});var s=n(55729);let a=(0,s.createContext)(null),r=a.Provider,i=()=>{let e=(0,s.useContext)(a);if(!e)throw Error();return e},l=(0,s.createContext)(void 0),o=l.Provider,d=()=>(0,s.useContext)(l)},19673:(e,t,n)=>{"use strict";function s(e){let t=(null==e?void 0:e.toLowerCase())||"",n=["hr","es","pt"].includes(t);return"https://corporate.sofascore.com".concat(n?"/".concat(t):"","/about/rating")}n.d(t,{y:()=>s})},22152:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var s=n(6029),a=n(21377),r=n(44194),i=n(76356),l=n(55729),o=n(90248),d=n(45860),c=n(65789),u=n(62859),m=n(63263);let p=(0,i.I4)("div",{base:{w:"lg",h:"lg",br:"sm"},variants:{isFilled:{true:{bg:"secondary.default"},false:{bg:"neutrals.nLv5",border:"1px solid {colors.neutrals.nLv4}"}}}}),h=e=>{let{isFilled:t}=e;return(0,s.jsx)(i.az,{px:"xs",py:"2xs",children:(0,s.jsx)(i.az,{w:"xl",h:"xl",br:"md",p:"xs",bg:"neutrals.nLv5",children:(0,s.jsx)(p,{isFilled:t})})})};function x(e){let{dots:t,dotsColored:n=0,isReversed:a}=e,r=[];for(let e=0;e{var s=n(81648),a=n(78492),r=n(68988),i=n(91544);e.exports=function(e,t){return function(n,l){var o=i(n)?s:a,d=t?t():{};return o(n,e,r(l,2),d)}}},27601:(e,t,n)=>{"use strict";n.d(t,{B:()=>u,U:()=>c});var s=n(44194),a=n(494),r=n(79263),i=n(2294),l=n(37974);let o=[{marketName:"Full time",choiceGroup:""},{marketName:"Double chance",choiceGroup:""}],d=(e,t,n)=>{let s={};null==e||e.forEach((e,n)=>{var a;null==(a=e.markets)||a.forEach(e=>{s[e.marketName]||(s[e.marketName]={});let a=e.choiceGroup||"";s[e.marketName][a]||(s[e.marketName][a]=[]);let r=s[e.marketName][a][n];r&&(r.isLive===t||e.isLive!==t)||(s[e.marketName][a][n]=e)})});let a=[];return Object.keys(s).forEach(e=>{Object.keys(s[e]).forEach(t=>{(!n||s[e][t].length>=n)&&a.push({marketName:e,choiceGroup:t})})}),{groupedOdds:s,availableMarkets:a}},c=(e,t)=>{var n;let{data:s,error:a,isLoading:i}=(0,r.j)(e,t),{groupedOdds:l,availableMarkets:o}=d(null==s?void 0:s.providerOdds,t);if(!o.length)return{odds:void 0,marketName:void 0,error:a,isLoading:i};let c=null!=(n=o.find(e=>"Full time"===e.marketName))?n:o[0];return{odds:l[c.marketName][c.choiceGroup],oddsMayDiffer:null==s?void 0:s.oddsMayDiffer,marketName:c.marketName,error:a,isLoading:i}},u=(e,t)=>{let{data:n,error:c,isLoading:u}=(0,r.j)(e,t),m=(0,a.d4)(e=>(0,i.GD)(e,t)),{isDesktopLarge:p}=(0,s.$c)(),{groupedOdds:h,availableMarkets:x}=d(null==n?void 0:n.providerOdds,t),v=o.filter(e=>x.find(t=>t.marketName===e.marketName&&t.choiceGroup===e.choiceGroup)).slice(0,p?2:1),g=new Set;return(v.length||u)&&(null==m?void 0:m.length)?(v.forEach(e=>{h[e.marketName][e.choiceGroup].forEach(e=>{e.choices.forEach(e=>{l.Vj.includes(e.name)&&g.add(e.name)})})}),{odds:m.map((e,t)=>v.map(e=>h[e.marketName][e.choiceGroup][t]).filter(Boolean)),markets:v,choiceNames:l.Vj.filter(e=>g.has(e)),error:c,isLoading:u}):{odds:void 0,markets:v,choiceNames:[],error:!0,isLoading:!1}}},31215:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var s=n(6029),a=n(73045),r=n(44194),i=n(76356),l=n(90248);function o(e){let{tournamentName:t,tournamentId:n,uniqueTournamentId:o,hideLogo:d,isLive:c,mobileOnly:u}=e;return(0,s.jsx)(i.az,{hideBelow:u?"md":void 0,children:(0,s.jsxs)(i.so,{px:"sm",pt:"sm",gap:"lg",justify:"space-between",align:"center",children:[(0,s.jsxs)(i.so,{gap:"lg",align:"center",children:[!d&&(o?(0,s.jsx)(a.e,{id:o,size:40}):(0,s.jsx)(a.l,{id:n,size:40})),(0,s.jsx)(r.EY,{textStyle:"display.large",color:"neutrals.nLv1",lineClamp:2,children:t})]}),c&&(0,s.jsxs)(i.so,{align:"center",children:[(0,s.jsx)(i.az,{w:"sm",h:"sm",bg:"status.live",br:"50%",mr:"sm"}),(0,s.jsx)(r.EY,{lineHeight:"8px",textStyle:"body.small",color:"status.live",display:"block",children:(0,s.jsx)(l.A,{id:"live"})})]})]})})}},31229:(e,t,n)=>{"use strict";n.d(t,{U:()=>m});var s=n(6029),a=n(21377),r=n(55729),i=n(494),l=n(62859),o=n(8703),d=n(65078),c=n(10794),u=n(94604);let m=()=>{let{event:e,leftTeam:t,rightTeam:n}=(0,r.useContext)(l.y$),m=(0,d.g3)(),p=(0,s.jsx)(u.Rm,{team:t}),h=(0,s.jsx)(u.Rm,{team:n}),x=(0,o.c5)(e),v="ar"===(0,i.d4)(c.JV);return(0,s.jsxs)(s.Fragment,{children:[v?h:p," ",x===a.QCR.MMA?"vs":v?"ضد":m?"@":"-"," ",v?p:h]})}},31712:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>z});var s=n(6029),a=n(18612),r=n(21377),i=n(41249),l=n(90248),o=n(45860),d=n(8703),c=n(33144),u=n(55729),m=n(947),p=n(65789),h=n(54409),x=n(80224),v=n(26331),g=n(84942),f=n(98516),j=n(70591);let y=e=>{let{id:t,scores:n,isHeader:a,mouseoverTitles:r}=e;return(0,s.jsx)(i.so,{children:n.map((e,n)=>(0,s.jsx)(i.EY,{font:a?"assistive.default":"table.medium",color:a?"onSurface.nLv3":"onSurface.nLv1",w:32,align:"center",as:"div",title:null==r?void 0:r[n],children:e||0},"score-".concat(n,"-").concat(t)))})},b=e=>{let{player:t,displayValue:n,secondary:a,classic:l,addSlash:o}=e;if(!n&&!(null==t?void 0:t.name))return null;let d=(0,s.jsxs)(i.EY,{font:"table.medium",color:a?"onSurface.nLv3":"onSurface.nLv1",hover:!!l&&!!t,ellipsis:!0,as:"div",children:[n||(null==t?void 0:t.name),o&&(0,s.jsx)(i.EY,{font:"table.medium",color:a?"onSurface.nLv3":"onSurface.nLv1",px:"xs",children:"/"})]});return(0,s.jsx)(i.az,{overflow:"hidden",h:16,children:t?(0,s.jsx)(j.uc,{player:t,sportSlug:r.QCR.Cricket,style:{overflow:"hidden"},children:d}):d})};var w=n(41735),k=n(50154);let S=(0,w.default)(i.AM.Content).withConfig({componentId:"sc-5e14c19b-0"})(["::after{content:'';display:block;position:absolute;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent;border-right:8px solid ",";top:-14px;right:96px;transform:rotate(90deg);filter:drop-shadow(-2px 0px 2px ",");}"],e=>e.theme.colors.surface.sp,e=>e.theme.colors.effect.elevation1),C=e=>{let{title:t,labels:n,mouseoverTitles:a}=e,r=(0,s.jsxs)(i.so,{px:"lg",py:"xs",justify:"space-between",cursor:a?"pointer":void 0,userSelect:"none",children:[(0,s.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv3",children:t}),(0,s.jsx)(y,{scores:n,isHeader:!0,mouseoverTitles:a})]});return a?(0,s.jsx)(i.AM,{closeOnOutsideClick:!0,closeOnInsideClick:!0,trigger:r,children:(0,s.jsx)(S,{right:32*n.length-100,w:200,br:"xs",p:"lg",elevation:3,children:n.map((e,t)=>(0,s.jsxs)(i.so,{align:"center",h:32,children:[(0,s.jsx)(i.EY,{w:36,as:"div",color:"onSurface.nLv3",font:"assistive.default",children:e})," ",(0,s.jsx)(i.az,{grow:1,children:(0,s.jsx)(i.EY,{as:"div",color:"onSurface.nLv1",font:"body.small",children:(0,s.jsx)(l.A,{id:a[t]})})})]},e))})}):r},T=e=>{let{ordinalLabel:t,playerLabel:n,statLabels:a}=e;return(0,s.jsxs)(i.so,{px:"lg",py:"xs",gap:"lg",justify:"space-between",children:[(0,s.jsx)(i.EY,{w:24,font:"assistive.default",color:"onSurface.nLv3",align:"center",as:"div",children:t}),(0,s.jsx)(i.az,{grow:1,children:(0,s.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv3",as:"div",children:n})}),a.map(e=>(0,s.jsx)(i.EY,{w:48,font:"assistive.default",color:"onSurface.nLv3",align:"center",as:"div",children:(0,s.jsx)(l.A,{id:e})},e))]})},A=e=>{let{ordinal:t,batter:n,partnerOne:a,partnerTwo:r,score:l,over:o,classicLinks:d}=e,[c,m]=(0,u.useState)(),p=[null==n?void 0:n.player,a,r].filter(e=>!!e),{isAdsTestTreatment:h}=(0,k.Q)(),v=e=>{!(p.length<2)&&(!1===e?m(void 0):c||m(p))};return(0,s.jsxs)(i.so,{position:"relative",h:48,px:"lg",gap:"lg",justify:"space-between",align:"center",hoverBg:p.length?"surface.s2":"transparent",cursor:"pointer",onClick:()=>v(!0),children:[(0,s.jsx)(i.EY,{minW:24,w:24,font:"table.medium",color:"onSurface.nLv1",align:"center",as:"div",children:t}),(0,s.jsxs)(i.so,{grow:1,wrap:"wrap",overflow:"hidden",minW:["auto","auto",h?"auto":232],children:[n&&!a&&!r&&(0,s.jsx)(b,{displayValue:null==n?void 0:n.playerName}),a&&(0,s.jsx)(b,{displayValue:a.name,classic:d,addSlash:!!r}),r&&(0,s.jsx)(b,{displayValue:r.name,classic:d})]}),(0,s.jsx)(i.EY,{minW:48,w:48,font:"table.medium",color:"onSurface.nLv1",align:"center",as:"div",children:l}),(0,s.jsx)(i.EY,{minW:48,w:48,font:"table.medium",color:"onSurface.nLv1",align:"center",as:"div",children:o}),p.length>1&&(0,s.jsx)(x.A,{isOpen:!!(null==c?void 0:c.length),setIsOpen:e=>{v(e)},players:p})]})},_=e=>{let t,n,s=t=>({player:e.wicketBowler,displayValue:e.wicketBowlerName?"b ".concat(e.wicketBowlerName," ").concat(t&&e.wicketTypeName||""):""}),a=t=>({player:e.wicketCatch,displayValue:e.wicketCatchName?"".concat(t," ").concat(e.wicketCatchName):""});switch(e.wicketTypeId){case 1:case 2:t=s(!0);break;case 3:t=a("c"),n=s(!1);break;case 4:t=a("st"),n=s(!1);break;case 5:t=a("c(sub)"),n={player:void 0,displayValue:"b ".concat(e.wicketTypeName||"")};break;case 6:t=a("c & b ");break;case 14:t=a("c(sub)"),n=s(!1);break;case 15:t=a("c"),n={player:void 0,displayValue:e.wicketTypeName};break;default:t={player:void 0,displayValue:e.wicketTypeName}}return{first:t,second:n}},I=e=>{let{batter:t,isCurrent:n}=e,[a,r]=(0,u.useState)(),l=[t.score,t.balls,t.s4,t.s6,t.balls&&t.score?(0,f.M)(t.score/t.balls*100,2):"0.00 "],{first:o,second:d}=_(t),c=[t.player,null==o?void 0:o.player,null==d?void 0:d.player].filter(e=>!!e),m=e=>{!1===e?r(void 0):a||r(c)};return(0,s.jsxs)(i.so,{position:"relative",h:(null==d?void 0:d.displayValue)?72:56,pl:"lg",pr:"lg",align:"center",justify:"space-between",bg:n?"primary.highlight":"transparent",hoverBg:"surface.s2",cursor:"pointer",onClick:()=>m(!0),children:[n&&(0,s.jsx)(i.az,{position:"absolute",top:0,left:0,h:"100%",w:"4px",bg:"primary.default"}),(0,s.jsxs)(i.so,{align:"flex-start",direction:"column",overflow:"hidden",flex:"1 1 auto",children:[(0,s.jsxs)(i.so,{justify:"flex-start",gap:"xs",overflow:"hidden",children:[(0,s.jsx)(b,{displayValue:t.playerName,classic:!0}),n&&(0,s.jsx)(h.BM3,{width:16,height:16,fill:"sofaSingles.live",ml:"xs",style:{marginTop:0}})]}),o.displayValue&&(0,s.jsx)(b,{displayValue:o.displayValue,secondary:!0,classic:!0}),(null==d?void 0:d.displayValue)&&(0,s.jsx)(b,{displayValue:d.displayValue,secondary:!0,classic:!0})]}),(0,s.jsx)(y,{scores:l}),(0,s.jsx)(x.A,{isOpen:!!(null==a?void 0:a.length),setIsOpen:e=>{m(e)},players:c})]})};function L(e){let{inning:t}=e,n=(0,m.A)(),a=(0,v.A)(),r=null==t?void 0:t.battingLine.filter(e=>9!==e.wicketTypeId),o=null==t?void 0:t.battingLine.filter(e=>9===e.wicketTypeId);if(r.length+o.length===0)return null;let d=t.wickets&&t.wickets<10?"/".concat(t.wickets):"";return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,s.jsxs)(i.az,{py:"sm",children:[r.length>0&&(0,s.jsxs)(i.az,{children:[(0,s.jsx)(C,{title:n.formatMessage({id:"cricket.batter"}),labels:["R","B","4s","6s","SR"],mouseoverTitles:[n.formatMessage({id:"runs"}),n.formatMessage({id:"details.balls"}),n.formatMessage({id:"cricket_fours_info"}),n.formatMessage({id:"cricket_sixes_info"}),n.formatMessage({id:"cricket_strike_rate"})]}),r.map((e,n)=>{var a;return(0,s.jsx)(I,{batter:e,isCurrent:(null==(a=t.currentBatter)?void 0:a.id)===e.player.id},"batter-".concat(n))})]}),(0,s.jsxs)(i.so,{py:"sm",px:"lg",gap:"xs",justify:"space-between",children:[(0,s.jsxs)(i.EY,{w:"64px",pr:"xs",font:"table.medium",color:"onSurface.nLv1",children:[(0,s.jsx)(l.A,{id:"details.extras"}),": ",t.extra]}),(0,s.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["W: ",t.wide]}),(0,s.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["N: ",t.noBall]}),(0,s.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["B: ",t.bye]}),(0,s.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["LB: ",t.legBye]}),(0,s.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["P: ",t.penalty]})]}),(0,s.jsxs)(i.EY,{px:"lg",py:"sm",font:"table.medium",color:"onSurface.nLv1",as:"div",children:[(0,s.jsx)(l.A,{id:"details.total"}),": ",t.score,d," (",t.overs,")"]})]})}),o.length>0&&(0,s.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,s.jsxs)(i.az,{py:"lg",children:[(0,s.jsxs)(i.EY,{px:"lg",font:"display.small",color:"onSurface.nLv1",as:"div",children:[(0,s.jsx)(l.A,{id:"cricket.didNotBat"}),":"]}),(0,s.jsx)(i.EY,{px:"lg",pt:"lg",font:"body.small",color:"onSurface.nLv1",as:"div",children:o.map(e=>(0,g.s)(e.player,a)).join(", ")})]})})]})}let E=e=>{let{bowler:t,isCurrent:n}=e,a=[t.over,t.maiden,t.run,t.wicket,t.noBall,t.wide,t.over&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=String(t).split("."),s=Number(n[0]),a=n.length>1?Number(n[1]):0;return(0,f.M)(e/(s+a/6),2)}(t.run,t.over)];return(0,s.jsxs)(i.so,{position:"relative",h:48,pl:"lg",pr:"lg",align:"center",justify:"space-between",bg:n?"secondary.highlight":"transparent",hoverBg:"surface.s2",children:[n&&(0,s.jsx)(i.az,{position:"absolute",top:0,left:0,h:"100%",w:"4px",bg:"secondary.default"}),(0,s.jsxs)(i.so,{align:"center",overflow:"hidden",children:[(0,s.jsx)(b,{player:t.player,displayValue:t.playerName}),n&&(0,s.jsx)(h.Pvq,{width:16,height:16,fill:"sofaSingles.live",ml:"xs"})]}),(0,s.jsx)(y,{scores:a})]})};function F(e){let{inning:t}=e,n=(0,m.A)();return t.bowlingLine.length?(0,s.jsxs)(i.az,{py:"sm",children:[(0,s.jsx)(C,{title:n.formatMessage({id:"cricket.bowler"}),labels:["O","M","R","W","NB","WD","E/R"],mouseoverTitles:[n.formatMessage({id:"cricket.overs"}),n.formatMessage({id:"cricket_maidens"}),n.formatMessage({id:"runs"}),n.formatMessage({id:"wickets"}),n.formatMessage({id:"cricket_no_ball"}),n.formatMessage({id:"cricket_wide_ball"}),n.formatMessage({id:"economyRate"})]}),t.bowlingLine.map((e,n)=>{var a;let r=e.player.id?j.uc:i.az;return(0,s.jsx)(r,{player:e.player,children:(0,s.jsx)(E,{bowler:e,isCurrent:(null==(a=t.currentBowler)?void 0:a.id)===e.player.id},"bowler-".concat(n))},e.player.id)})]}):null}function H(e){let{fallOfWicketLine:t}=e,n=(0,m.A)();return t.length?(0,s.jsxs)(i.az,{py:"sm",children:[(0,s.jsx)(T,{ordinalLabel:n.formatMessage({id:"score.cricketShort"}),playerLabel:n.formatMessage({id:"cricket.fallOfWicket"}),statLabels:["details.score","over"]}),t.map((e,t)=>{let n=e.player.id?j.uc:i.az;return(0,s.jsx)(n,{player:e.player,children:(0,s.jsx)(A,{ordinal:t+1,batter:e,score:"".concat(e.fowScore,"-").concat(t+1),over:e.fowOver||"-"})},e.player.id)})]}):null}function P(e){let{fallOfWicketLine:t}=e;return t.length?(0,s.jsxs)(i.az,{py:"sm",children:[(0,s.jsxs)(i.EY,{px:"lg",py:"sm",font:"display.small",color:"onSurface.nLv1",as:"div",children:[(0,s.jsx)(l.A,{id:"cricket.fallOfWicket"}),":"]}),(0,s.jsx)(i.EY,{px:"lg",py:"sm",font:"body.small",color:"onSurface.nLv1",as:"div",children:t.map((e,t)=>"".concat(t+1,"-").concat(e.fowScore," (").concat(e.playerName||e.player.name||"",", ").concat(e.fowOver," ov)")).join(", ")})]}):null}function R(e){var t;let{inning:n}=e,a=(0,m.A)();return(null==n||null==(t=n.partnerships)?void 0:t.length)?(0,s.jsxs)(i.az,{py:"sm",children:[(0,s.jsx)(T,{ordinalLabel:"-",playerLabel:a.formatMessage({id:"details.partnership"}),statLabels:["runs","details.balls"]}),n.partnerships.map((e,t)=>(0,s.jsx)(A,{ordinal:t+1,partnerOne:e.player1,partnerTwo:e.player2,score:"number"==typeof e.score?e.score:"-",over:"number"==typeof e.balls?e.balls:"-",classicLinks:!0},"partnership-".concat(t)))]}):null}function B(e){var t,n;let{innings:a,isLive:r}=e,[l,o]=(0,u.useState)(r?a.length-1:0),d=(0,m.A)(),h=(0,u.useMemo)(()=>{let e=[],t={};return a.forEach(n=>{if(n.superOver){let t=d.formatMessage({id:"cricket_super_over_number"},{n:n.superOver});e.push("".concat(n.battingTeam.name," ").concat(t));return}t[n.battingTeam.id]?t[n.battingTeam.id]+=1:t[n.battingTeam.id]=1;let s=d.formatMessage({id:"ordinalInning"},{n:t[n.battingTeam.id]}),a="".concat(n.battingTeam.name," ").concat(s);e.push(a)}),e},[a]),x=a.map((e,t)=>({name:h[t],battingTeamName:e.battingTeam.name,battingTeamId:e.battingTeam.id})),v=(null!=(n=null==(t=a[l])?void 0:t.battingLine)?n:[]).filter(e=>{var t,n;return(null!=(t=e.fowOver)?t:0)>0||(null!=(n=e.fowScore)?n:0)>0}).sort((e,t)=>{var n,s,a,r;return e.fowScore!==t.fowScore?(null!=(n=e.fowScore)?n:0)-(null!=(s=t.fowScore)?s:0):e.fowOver===t.fowOver?0:(null!=(a=e.fowOver)?a:0)-(null!=(r=t.fowOver)?r:0)});return(0,s.jsx)(i.az,{children:(0,s.jsxs)(i.so,{direction:"column",gap:"sm",children:[(0,s.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,s.jsx)(i.ms,{items:x,renderItem:e=>(0,s.jsxs)(i.so,{align:"center",children:[(0,s.jsx)(c.p,{id:e.battingTeamId,name:e.battingTeamName,size:24}),(0,s.jsx)(i.EY,{ml:"sm",font:"body.medium",color:"onSurface.nLv1",children:e.name})]}),selectedItem:x[l],onSelectedItemChange:e=>o(e.selectedItemIndex||0),buttonStyle:{backgroundColor:"transparent",padding:12,borderRadius:16,width:"100%"}})}),(0,s.jsx)(L,{inning:a[l]}),(0,s.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,s.jsx)(P,{fallOfWicketLine:v})}),(0,s.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,s.jsx)(F,{inning:a[l]})}),(0,s.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,s.jsx)(H,{fallOfWicketLine:v})}),(0,s.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,s.jsx)(R,{inning:a[l]})})]})})}let O=e=>{let{style:t,...n}=e;return(0,s.jsxs)(i.az,{p:"sm",pt:"0",...n,children:[(0,s.jsx)(i.EY,{lineHeight:"24px",font:"display.medium",color:"onSurface.nLv1",align:"center",pt:"md",mb:"xs",as:"div",children:(0,s.jsx)(l.A,{id:"innings"})}),(0,s.jsx)(i.az,{p:"sm",children:(0,s.jsx)(i.az,{bg:"surface.s2",br:"lg",h:48})}),(0,s.jsx)(i.az,{h:24}),(0,s.jsx)(a.D,{height:680,uniqueKey:"cricket-cl",children:Array(11).fill(null).map((e,t)=>(0,s.jsx)("rect",{x:0,y:56*t,width:"100%",height:54},t))})]})},z=function(e){var t;let{event:n,isLive:a,...i}=e,{data:l,error:c}=(0,o.Ay)(r.bnp.cricketInnings(n.id),(0,d.rf)(n));return c?null:l?(null==(t=l.innings)?void 0:t.length)?(0,s.jsx)(B,{innings:l.innings,isLive:a},n.id):null:(0,s.jsx)(O,{...i})}},32523:(e,t,n)=>{"use strict";n.d(t,{E:()=>s.E});var s=n(3881)},34199:(e,t,n)=>{"use strict";n.d(t,{eD:()=>r.e,l3:()=>a.l,pY:()=>s.p});var s=n(91603),a=n(37721),r=n(33480)},34884:(e,t,n)=>{"use strict";n.d(t,{i:()=>m});var s=n(6029),a=n(44194),r=n(41249),i=n(55729),l=n(90248),o=n(41735),d=n(54409),c=n(70591),u=n(76410);function m(e){let{numberOfEditors:t,isOrganization:n,eventLocation:m,nickname:p,userId:h,hasStarted:x,isInLeagueHeader:v,onClick:g}=e,f=(0,i.useContext)(o.ThemeContext),{isDesktop:j}=(0,a.$c)(),y=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.EY,{font:"assistive.default",color:v&&j?"onColor.primary":"primary.default",children:p?(0,s.jsx)(l.A,{id:x?"edited_by":"event.createdBy",values:{nickname:p}}):(0,s.jsx)(l.A,{id:"edited_by_more_editors",values:{number:t}})}),(0,s.jsx)(d._jO,{ml:"sm",height:16,width:16,fill:v&&j?"onColor.primary":"primary.default"})]}),b=(0,s.jsx)(r.$n,{tertiary:!0,style:{background:f.colors.overlay.darken1},border:"0",children:y});return p||t?(0,s.jsx)(r.so,{justify:"flex-end",align:"center",p:"xs",children:g?(0,s.jsx)(r.az,{cursor:"pointer",onClick:g,children:v&&j?b:y}):n?(0,s.jsx)("a",{href:"https://torneo.sofascore.com/",target:"_blank",rel:"noreferrer",children:v&&j?b:y}):(0,s.jsx)(c.N_,{routeKey:"user",params:{userId:h},onClick:()=>(0,u.Zs)(m),children:v&&j?b:y})}):null}},37974:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>k,Vj:()=>b,Yt:()=>y});var s=n(6029),a=n(21377),r=n(44194),i=n(76356),l=n(55729),o=n(90248),d=n(90510),c=n(494),u=n(62859),m=n(65078),p=n(70591),h=n(49821),x=n(2294),v=n(4236),g=n(76410),f=n(94604),j=n(70819);let y={default:[1,2],md:[1]},b=["1","X","2","1X","X2","12"],w=e=>{let{length:t=3}=e;return(0,s.jsx)(s.Fragment,{children:Array.from({length:t}).map((e,t)=>(0,s.jsx)(i.az,{w:"[52px]",flexGrow:0,flexShrink:0,flexBasis:"[52px]"},t))})},k=e=>{var t;let{event:n,markets:b,marketChoiceNames:k,hasManyMarkets:S}=e,C=n.status.type===a.XUj.InProgress,T=(0,c.d4)(x.a5),{leftTeam:A,rightTeam:_}=(0,m.AR)(n),I=(0,m.g3)(n),{mediaBreakpoint:L}=(0,r.$c)(),E=y[L]||y.default;if(!b)return null;let F=b.filter(e=>E.includes(e.marketId)),H=F.filter(e=>e.isLive===C),P=F.filter(e=>e.isLive===C||!H.find(t=>t.marketId===e.marketId));return(0,s.jsxs)(i.so,{align:"center",py:"xs",borderBottom:"1px solid {colors.neutrals.nLv4}",gap:"xs",children:[(0,s.jsx)(i.az,{flexGrow:1,flexShrink:1,flexBasis:"[100px]",overflow:"hidden",maxW:"100%",children:(0,s.jsx)(p.tj,{event:n,children:(0,s.jsxs)(i.so,{align:"center",gap:"xs",br:"xs",children:[(0,s.jsx)(i.az,{flexGrow:0,flexShrink:1,flexBasis:"[36px]",children:(0,s.jsx)(r.EY,{textStyle:"body.small",mr:"xs",w:"2xl",textAlign:"center",display:"block",color:C?"status.live":"neutrals.nLv1",children:C?(0,s.jsx)(o.A,{id:"live"}):(0,s.jsx)(d.ib,{value:1e3*n.startTimestamp})})}),(0,s.jsx)(i.az,{w:"[1px]",h:"[36px]",bg:"neutrals.nLv4"}),(0,s.jsxs)(i.so,{direction:"column",flexGrow:1,flexShrink:1,flexBasis:"6xl",overflow:"hidden",children:[(0,s.jsx)(r.Ym,{maxW:"100%",textStyle:"body.small",truncate:!0,children:(0,s.jsx)(f.lC,{original:S?A.nameCode||A.shortName||A.name:A.shortName||A.name})}),(0,s.jsx)(r.Ym,{maxW:"100%",textStyle:"body.small",truncate:!0,children:(0,s.jsx)(f.lC,{original:S?_.nameCode||_.shortName||A.name:_.shortName||A.name})})]})]})})}),P.map(e=>{if(E.includes(e.marketId)){let t=[...k[e.marketId]||[]],a=(0,v.nu)(e.choices,I);return t.length?(0,s.jsx)(l.Fragment,{children:t.map(t=>{let r=a.find(e=>e.name===t);return r?(0,s.jsx)(j.A,{choice:r,betSlipLink:T&&(0,v.Iz)(r,e,T),branded:null==T?void 0:T.branded,isLive:e.isLive,onClick:()=>(0,g.Fe)({id:n.id,category:e.marketName,location:u.cb.FeaturedOdds,provider:null==T?void 0:T.provider.slug,position:h.ki.OddsValue,type:h.jF.Featured})},"".concat(t,"-").concat(e.id)):(0,s.jsx)(i.az,{w:"[52px]",flexGrow:0,flexShrink:0,flexBasis:"[52px]"},"".concat(t,"-").concat(e.id))})},e.id):(0,s.jsx)(w,{},"empty")}return null}),-1===b.findIndex(e=>2===e.marketId)&&!!k[2]&&(0,s.jsx)(w,{length:null==(t=k[2])?void 0:t.size})]})}},39979:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var s=n(6029),a=n(34199),r=n(21377),i=n(44194),l=n(76356),o=n(55729),d=n(90510),c=n(90248),u=n(494),m=n(45860),p=n(65789),h=n(62859),x=n(22648),v=n(58775),g=n(70591),f=n(1840),j=n(94604),y=n(10234),b=n(49821),w=n(2294),k=n(85304),S=n(41618);let C=e=>{var t,n;let{team:r}=e,o=null==(t=r.subTeams)?void 0:t[0],d=null==(n=r.subTeams)?void 0:n[1];return(0,s.jsxs)(l.so,{direction:"column",align:"center",flex:"[1 0 0px]",overflow:"hidden",children:[o&&d?(0,s.jsxs)(l.so,{align:"center",justify:"center",gap:"[10px]",mb:"xs",children:[(0,s.jsx)(a.pY,{id:o.id,name:o.name,size:24},o.id),(0,s.jsx)(a.pY,{id:d.id,name:d.name,size:24},d.id)]}):(0,s.jsx)(a.pY,{id:r.id,name:r.name,size:24}),o&&d?[(0,s.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,s.jsx)(j.Rm,{team:o,short:!0})},o.id),(0,s.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,s.jsx)(j.Rm,{team:d,short:!0})},d.id)]:(0,s.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,s.jsx)(j.Rm,{team:r})})]})},T=e=>{let{market:t,onClick:n,index:a}=e,{isMobile:r}=(0,i.$c)(),o=t.event;return(0,s.jsxs)(l.az,{bg:{md:"surface.s1"},br:{md:"sm"},p:"sm",borderTop:a>0?{mdDown:"1px solid {colors.neutrals.nLv4}"}:void 0,marginTop:a>0?{md:"sm"}:void 0,children:[(0,s.jsx)(g.tj,{event:o,children:(0,s.jsxs)(l.so,{justify:"center",align:"center",_hover:{bg:"neutrals.nLv4"},cursor:"pointer",p:"xs",mb:"xs",br:"sm",children:[(0,s.jsx)(C,{team:o.homeTeam}),(0,s.jsxs)(l.so,{direction:"column",justify:"center",align:"center",mx:"md",flex:"[1 0 0px]",children:[(0,s.jsx)(i.EY,{textStyle:"display.medium",children:(0,s.jsx)(d.ib,{value:1e3*o.startTimestamp})}),(0,s.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(d.XU,{value:1e3*o.startTimestamp})})]}),(0,s.jsx)(C,{team:o.awayTeam})]})}),(0,s.jsx)(l.az,{mb:"-xs",children:(0,s.jsx)(k.A,{market:t,onClick:n,hideMarketName:!0,secondary:r})})]})},A=(0,o.forwardRef)((e,t)=>{var n,d;let{preferRecommendedPrematch:j,showHeader:k}=e,{event:C,location:A}=(0,o.useContext)(h.y$),{isMobile:_}=(0,i.$c)(),[I,L]=(0,o.useState)(!_),[E]=(0,u.d4)((0,w.Pf)()),F=null==(n=C.tournament)?void 0:n.id,H=null==(d=C.tournament)?void 0:d.category.sport.slug,P=E&&F,{data:R,error:B}=(0,m.Ay)(P?r.npy.recommendedPrematch(E,F):null),O=!j&&B&&E&&H,{data:z,error:D}=(0,m.Ay)(O?r.npy.recommendedPrematchTopVoted(E,H):null),M=R||z,N=(0,o.useMemo)(()=>{let e=null==M?void 0:M.odds.filter(e=>e.id!==C.id);return I?e:null==e?void 0:e.slice(0,4)},[M,I]),W=null==N?void 0:N.reduce((e,t)=>{let n=t.event.tournament.id;return e[n]?e[n].push(t):e[n]=[t],e},{}),{ref:G,makeOnClick:Y}=(0,b.kW)({type:b.jF.Compliance}),U=_||A!==h.cb.EventPage;return N?(0,s.jsxs)(l.az,{ref:G,children:[(0,s.jsxs)(p.HH,{isCard:!_,children:[k&&(0,s.jsx)(i.EY,{textStyle:"display.medium",textAlign:"center",pt:"md",px:"lg",pb:"xs",lineHeight:"24px",ref:t,display:"block",children:(0,s.jsx)(c.A,{id:"featured_odds"})}),(0,s.jsx)(l.so,{justify:"flex-end",align:"center",px:"lg",pt:"md",pb:"0",children:(0,s.jsx)(S.$,{})}),(0,s.jsxs)(p.BU,{children:[W&&Object.keys(W).map(e=>{var t;let n=W[+e],r=n[0].event;return(0,s.jsxs)(p.Zp,{isInverseDesktop:!0,children:[(0,s.jsxs)(l.so,{align:"center",px:"lg",pt:"md",children:[r.tournament.uniqueTournament?(0,s.jsx)(a.eD,{id:r.tournament.uniqueTournament.id,size:24}):(0,s.jsx)(a.l3,{id:r.tournament.id,size:24}),(0,s.jsx)(g.Mq,{tournament:r.tournament,seasonId:null==(t=r.season)?void 0:t.id,children:(0,s.jsx)(i.EY,{textStyle:"display.micro",ml:"lg",_hover:{color:"neutrals.nLv3"},children:(0,s.jsx)(y.J,{tournament:r.tournament})})})]}),(0,s.jsx)(l.az,{padding:{md:"sm"},children:n.map((e,t)=>(0,s.jsx)(T,{index:t,market:e,onClick:Y(e.marketName,b.ki.OddsValue)},e.id))})]},e)}),_&&(null==M?void 0:M.odds.length)&&M.odds.length>4&&(0,s.jsx)(v.d,{isOpen:I,onClick:()=>L(!I)})]})]}),U&&(0,s.jsx)(l.az,{mt:"sm",children:(0,s.jsx)(f.z,{})})]}):B&&D?null:(0,s.jsx)(x.a,{})})},41618:(e,t,n)=>{"use strict";n.d(t,{r:()=>m,$:()=>x});var s=n(6029),a=n(21377),r=n(76356),i=n(55729),l=n(494),o=n(62859),d=n(76410),c=n(49821),u=n(2294);function m(e){let{selectedProvider:t,onClick:n,logClick:m=!0,size:p="56x28"}=e,h=(0,l.d4)(u.a5),x=t?t.provider:null==h?void 0:h.provider,v=t?null==t?void 0:t.branded:null==h?void 0:h.branded,g=t?t.provider.slug:null==h?void 0:h.provider.slug,{location:f}=(0,i.useContext)(o.y$),[j,y]=p.split("x");return x&&v?(0,s.jsx)(r.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:(t?t.defaultBetSlipLink:null==h?void 0:h.defaultBetSlipLink)||x.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==n||n(),m&&(0,d.Fe)({location:f,provider:g,position:c.ki.ProviderLogo})},"data-testid":"odds_provider_logo",style:{background:x.colors.primary,width:"".concat(j,"px"),height:"".concat(y,"px")},children:(0,s.jsx)(r.I4.img,{src:a.npy.providerImage(x.id),alt:x.name||"",style:{width:"".concat(j,"px"),height:"auto"}})}):null}var p=n(44194),h=n(90248);let x=()=>{let e=(0,l.d4)(u.a5);return(null==e?void 0:e.branded)?(0,s.jsxs)(r.so,{justify:"center",align:"center",ml:"lg","data-testid":"featured_logo",children:[(0,s.jsx)(p.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,s.jsx)(h.A,{id:"featured_by"})}),(0,s.jsx)(m,{size:"48x24"})]}):null}},42078:(e,t,n)=>{"use strict";n.d(t,{d:()=>m});var s=n(6029),a=n(76356),r=n(41249),i=n(55729),l=n(90248),o=n(65789),d=n(62859),c=n(85568),u=n(66757);let m=e=>{var t;let{noSeasonPicker:n,isNarrowLayout:m,branding:p,numberOfRows:h=20}=e,{event:x}=(0,i.useContext)(d.y$),v=null==x||null==(t=x.tournament.uniqueTournament)?void 0:t.hasPerformanceGraphFeature;return(0,s.jsxs)(a.so,{direction:"column",gap:["sm","md"],children:[(0,s.jsxs)(o.Zp,{isInverseDesktop:m,children:[!m&&(0,s.jsx)(c.U,{titleId:"app.standings",branding:p}),(0,s.jsxs)(a.az,{children:[!n&&(0,s.jsx)(a.az,{h:"4xl"}),(0,s.jsx)(r.tU,{variant:"secondary",children:(0,s.jsx)(a.so,{h:"[53px]",p:"sm",justify:"space-between",children:(0,s.jsxs)(a.az,{children:[(0,s.jsx)(r.tU.Tab,{tabKey:1,children:(0,s.jsx)(l.A,{id:"basic.all"})}),(0,s.jsx)(r.tU.Tab,{tabKey:2,children:(0,s.jsx)(l.A,{id:"home"})}),(0,s.jsx)(r.tU.Tab,{tabKey:3,children:(0,s.jsx)(l.A,{id:"away"})})]})})}),(0,s.jsx)(a.az,{h:"2xl"}),(0,s.jsx)(u.e,{rows:h}),(0,s.jsx)(a.az,{h:"[92px]"}),(0,s.jsx)(a.az,{p:"sm",children:(0,s.jsx)(a.az,{h:"4xl",bg:"surface.s2",br:"lg"})})]})]}),v&&(0,s.jsxs)(o.Zp,{children:[(0,s.jsx)(o.Zp.Header,{titleId:"standings_tracker_title"}),(0,s.jsx)(a.az,{h:"[542px]"})]})]})}},42360:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(6029),a=n(76356),r=n(65789);function i(){return(0,s.jsx)(r.Zp,{children:(0,s.jsx)(a.az,{h:"[762px]"})})}},44450:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(6029),a=n(494),r=n(10794),i=n(44194),l=n(76356),o=n(54409);function d(){return(0,s.jsx)("a",{href:"https://certifications.gamingcommission.gov.gr/publicRecordsOnline/SitePages/KatoxoiAdeiasOnline.aspx",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,s.jsxs)(l.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,s.jsx)(l.az,{h:"xl",w:"xl",children:(0,s.jsx)(o.OE_,{w:"24px",h:"24px",fill:"onSurface.nLv3",fillOpacity:1})}),(0,s.jsx)(i.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function c(){return"GR"===(0,a.d4)(r.LQ)?(0,s.jsx)(d,{}):null}},44595:(e,t,n)=>{"use strict";n.d(t,{FG:()=>i,GM:()=>u,Vd:()=>d,c7:()=>c,cY:()=>o,fN:()=>v,jT:()=>l,jp:()=>p,mh:()=>m,ps:()=>h});var s=n(21377),a=n(28132),r=n(62827);let i=[s.QCR.IceHockey,s.QCR.AmericanFootball,s.QCR.Baseball,s.QCR.Handball],l=[...i,s.QCR.Football];var o=function(e){return e.FootballForward="F",e.FootballDefender="D",e.FootballMidfielder="M",e.FootballGoalkeeper="G",e.BasketballForward="F",e.BasketballGuard="G",e.BasketballCenter="C",e.AmericanFootballPunter="P",e.AmericanFootballPuntReturner="PR",e.AmericanFootballLongSnapper="LS",e.AmericanFootballKicker="K",e.AmericanFootballTackle="T",e.AmericanFootballOffensiveTackle="OT",e.AmericanFootballOffensiveLineman="OL",e.AmericanFootballOffensiveGuard="OG",e.AmericanFootballGuard="G",e.AmericanFootballCenter="C",e.AmericanFootballQuarterback="QB",e.AmericanFootballRunningBack="RB",e.AmericanFootballFullback="FB",e.AmericanFootballTightEnd="TE",e.AmericanFootballWideReceiver="WR",e.AmericanFootballStrongSafety="SS",e.AmericanFootballSafety="SAF",e.AmericanFootballFreeSafety="FS",e.AmericanFootballDefensiveLineman="DL",e.AmericanFootballDefensiveBack="DB",e.AmericanFootballCornerBack="CB",e.AmericanFootballNoseTackle="NT",e.AmericanFootballDefensiveTackle="DT",e.AmericanFootballDefensiveEnd="DE",e.AmericanFootballOutsideLineback="OLB",e.AmericanFootballMiddleLineback="MLB",e.AmericanFootballLineback="LB",e.AmericanFootballInsideLineback="ILB",e.IceHockeyDefenseman="D",e.IceHockeyGoalie="G",e.IceHockeyCenter="C",e.IceHockeyLeftWing="L",e.IceHockeyRightWing="R",e.IceHockeyForward="F",e.BaseballPitcher="P",e.BaseballCatcher="C",e.BaseballFirstBase="1B",e.BaseballSecondBase="2B",e.BaseballThirdBase="3B",e.BaseballShortstop="SS",e.BaseballLeftField="LF",e.BaseballCenterField="CF",e.BaseballRightField="RF",e.BaseballDesignatedHitter="DH",e.BaseballPinchHitter="PH",e.BaseballPinchRunner="PR",e.BaseballBaseRunner="BR",e.BaseballOutfield="OF",e.BaseballInfield="IF",e.BaseballStartingPitcher="SP",e.BaseballReliefPitcher="RP",e.BaseballCloser="CP",e.BaseballUtility="UT",e.BaseballUtilityInfielder="UI",e.BaseballUtilityOutfielder="UO",e.BaseballRightHandedPitcher="RHP",e.BaseballLeftHandedPitcher="LHP",e.BaseballRightHandedStarter="RHS",e.BaseballLeftHandedStarter="LHS",e.BaseballRightHandedReliever="RHR",e.BaseballLeftHandedReliever="LHR",e.BaseballBatter="B",e.BaseballHitter="H",e.BaseballRunner="R",e.BaseballUnknown="U",e.ESportsHardCarry="HC",e.ESportsMid="MID",e.ESportsOfflaner="OFF",e.ESportsSoftSupport="SS",e.ESportsHardSupport="HS",e.ESportsAdc="ADC",e.ESportsJun="JUN",e.ESportsTop="TOP",e.ESportsSup="SUP",e.HandballGoalkeeper="G",e.HandballRightWing="RW",e.HandballLeftWing="LW",e.HandballRightBack="RB",e.HandballLeftBack="LB",e.HandballCentralBack="CB",e.HandballPivot="P",e.CricketBatter="BM",e.CricketAllrounder="AR",e.CricketKeeper="WK",e.CricketBowler="B",e}({}),d=function(e){return e.AmericanFootballQuarterback="am_football_quarterbacks",e.AmericanFootballRunningBack="am_football_running_backs",e.AmericanFootballReceiver="am_football_receivers",e.AmericanFootballOffensiveLine="am_football_offensive_line",e.AmericanFootballDefensiveLine="am_football_defensive_line",e.AmericanFootballDefensiveBack="am_football_defensive_backs",e.AmericanFootballLineback="am_football_linebackers",e.AmericanFootballSpecialTeam="am_football_special_teams",e.BaseballPitcher="pitcher",e.BaseballCatcher="catcher",e.BaseballInfield="infield",e.BaseballOutfield="outfield",e.BaseballHitter="hitter",e.BaseballRunner="runner",e.BaseballBatter="batter",e.IceHockeyForward="forward",e.IceHockeyDefenseman="defenseman",e.IceHockeyGoalie="goalie",e.HandballGoalkeeper="handball.goalkeeper",e.HandballBack="handball.back",e.HandballWinger="handball.winger",e.HandballPivot="handball.pivot",e.Unknown="player.position.unknown",e}({});let c=(e,t)=>{switch(t){case s.QCR.AmericanFootball:switch(e){case"QB":return"am_football_quarterbacks";case"RB":case"FB":return"am_football_running_backs";case"WR":case"TE":return"am_football_receivers";case"OT":case"OL":case"OG":case"C":case"T":case"G":return"am_football_offensive_line";case"DT":case"DL":case"DE":case"NT":return"am_football_defensive_line";case"DB":case"SS":case"FS":case"CB":case"SAF":return"am_football_defensive_backs";case"OLB":case"LB":case"MLB":case"ILB":return"am_football_linebackers";case"P":case"PR":case"LS":case"K":return"am_football_special_teams";default:return"player.position.unknown"}case s.QCR.Baseball:switch(e){case"P":case"SP":case"CP":case"RP":case"RHP":case"LHP":case"LHS":case"RHS":case"LHR":case"RHR":return"pitcher";case"C":return"catcher";case"1B":case"2B":case"3B":case"SS":case"IF":case"UI":return"infield";case"LF":case"CF":case"RF":case"OF":case"UO":return"outfield";case"H":case"DH":case"PH":return"hitter";case"R":case"PR":case"BR":return"runner";case"B":return"batter";default:return"player.position.unknown"}case s.QCR.IceHockey:switch(e){case"F":case"L":case"C":case"R":return"forward";case"D":return"defenseman";case"G":return"goalie";default:return"player.position.unknown"}case s.QCR.Handball:switch(e){case"RB":case"LB":case"CB":return"handball.back";case"LW":case"RW":return"handball.winger";case"P":return"handball.pivot";case"G":return"handball.goalkeeper";default:return"player.position.unknown"}default:return e||"player.position.unknown"}},u=(e,t)=>{let n={};for(let s=0;s{switch(e){case"F":case"am_football_quarterbacks":case"am_football_running_backs":case"am_football_receivers":case"am_football_offensive_line":case"handball.winger":case"forward":return"sofaSingles.live";case"M":case"am_football_special_teams":case"handball.pivot":return"secondary.default";case"D":case"am_football_defensive_backs":case"am_football_defensive_line":case"am_football_linebackers":case"handball.back":case"defenseman":return"primary.default";case"G":case"handball.goalkeeper":case"goalie":return"sofaSingles.value";default:return"onSurface.nLv3"}},p=e=>e.type===s.YVh.Person,h=(e,t,n,i,l,o,d)=>e===s.QCR.AmericanFootball?[{tabKey:a.H.Details,item:"details"},{tabKey:a.H.Matches,item:"matches",values:{sport:(0,r.ap)(e)}},{tabKey:a.H.Standings,item:"app.standings",isHidden:!t},{tabKey:a.H.PlayerStatistics,item:"tab_player_stats",isHidden:!d},{tabKey:a.H.Squad,item:"am_football_roster",isHidden:!i},{tabKey:a.H.Statistics,item:"statistics",isHidden:!l},{tabKey:a.H.Media,item:"media",isHidden:!o}]:[{tabKey:a.H.Details,item:"details"},{tabKey:a.H.Matches,item:"matches",values:{sport:(0,r.ap)(e)}},{tabKey:a.H.Standings,item:"app.standings",isHidden:!t},{tabKey:a.H.Squad,item:"squad",isHidden:!i},{tabKey:a.H.TopPlayers,item:"top_players",isHidden:!n},{tabKey:a.H.Statistics,item:"statistics",isHidden:!l},{tabKey:a.H.Media,item:"media",isHidden:!o}],x=[s.QCR.AmericanFootball,s.QCR.Tennis];function v(e,t){return -1!==x.indexOf(e)&&9464===t}},45749:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var s=n(55729),a=n(95868);let r=null,i=!1;async function l(){if(!r)try{r=(await n.e(5831).then(n.t.bind(n,61985,23))).default,await r.Initialize("3de57cc21a364c9c918d8899d0aee6bf",{shouldModifyUrlWithStoryId:!1}),r.addDelegateListener(r.Delegations.onEventTriggered,a.hT)}catch(e){return console.error("WSC SDK initialization error:",e),!1}return!0}function o(e){let{containerId:t,storyIds:n}=e,[o,d]=(0,s.useState)(i);(0,s.useEffect)(()=>{l();let e=()=>{i=!0,d(!0)};return document.addEventListener("onBlazeSDKConnect",e),()=>{document.removeEventListener("onBlazeSDKConnect",e)}},[]),(0,s.useEffect)(()=>{if(!(null==n?void 0:n.length)||!r||!o||!t||!(0,a.R5)(t))return;let{eventId:e}=(0,a.Hw)(t);try{let s=r.Theme("row-rectangle");s.layoutStyle.labelStyle.isVisible=!e,s.layoutStyle.statusLiveStyle.isVisible=!1,s.layoutStyle.statusUnreadStyle.isVisible=!1,s.layoutStyle.statusLiveUnreadStyle.isVisible=!1,s.layoutStyle.borderRadius=e?"0":"12px",s.layoutStyle.horizontalItemsSpacing=4,r.WidgetRowView(t,{storyIds:n,theme:s,maxDisplayItemsCount:e?1:void 0})}catch(e){console.error(e)}},[n.length,t,o])}},52736:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var s=n(6029),a=n(76356),r=n(65078),i=n(49821),l=n(4236),o=n(52210),d=n(41618);let c=e=>{let{countryOddsProvider:t,market:n,marketName:c,secondary:u,clickType:m}=e,p=(0,r.g3)(),{ref:h,makeOnClick:x}=(0,i.kW)({type:m,marketName:c,isComparison:!0,countryOddsProvider:t,deps:[c]});if(!(null==n?void 0:n.choices))return null;let v=(0,l.nu)(n.choices,p);return(0,s.jsxs)(a.so,{ref:h,direction:"row",align:"center",pb:"sm",gap:"sm",children:[(0,s.jsx)(d.r,{size:"48x24",selectedProvider:t}),(0,s.jsx)(a.so,{gap:"[5px]",grow:"1",shrink:"1",overflow:"hidden",children:v.map(e=>{if(!c||!n)return;let a=(0,l.vT)(e,t.oddsOffset||0);return(0,s.jsx)(o.i,{choice:a,isLive:n.isLive,countryOddsProvider:t,betSlipLink:(0,l.Iz)(e,n,t),onClick:x(c,i.ki.OddsValue,t),secondary:u},e.name)})})]})}},52827:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var s=n(1815),a=n(76410),r=n(95868);function i(e){let t=(0,r.Hw)(e);return(0,s.e)(()=>(0,a.WG)({id:t.eventId||t.tournamentId,location:t.location}))}},52970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>F});var s=n(6029),a=n(21377),r=n(41249),i=n(55729),l=n(45860),o=n(62859),d=n(90248),c=n(494),u=n(65789),m=n(54409),p=n(65078),h=n(97350);let x=e=>{let{streak:t,homeTeam:n,awayTeam:i}=e,l=[],o=(0,p.g3)(),d={width:"24",height:"24",loading:"lazy"},c=(0,s.jsx)(r._V,{...d,src:a.cWY.image(n.id),alt:n.name},"homeImage"),u=(0,s.jsx)(r._V,{...d,src:a.cWY.image(i.id),alt:i.name},"awayImage");switch(t.team){case"home":l.push(c);break;case"away":l.push(u);break;default:l.push(o?u:c),l.push(o?c:u)}return(0,s.jsxs)(r.so,{justify:"space-between",pt:"sm",pb:"sm",pl:"lg",pr:"lg",children:[(0,s.jsx)(r.so,{w:"60",gap:"sm",align:"center",py:2,children:l}),(0,s.jsx)(r.az,{alignSelf:"center",children:(0,s.jsx)(r.EY,{font:"table.medium",color:"onSurface.nLv1",align:"center",children:(0,s.jsx)(h.U,{id:t.name})})}),(0,s.jsx)(r.az,{w:"60",textAlign:"right",alignSelf:"center",children:(0,s.jsxs)(r.EY,{font:"table.medium",color:"onSurface.nLv1",align:"right",children:[t.value,t.continued?(0,s.jsx)(m.VsF,{fill:"success.default",ml:"xs"}):!1===t.continued?(0,s.jsx)(m.MRt,{fill:"error.default",ml:"xs"}):null]})})]})};var v=n(2496),g=n(85304),f=n(49821),j=n(2294),y=n(76410),b=n(47229),w=n(34965),k=n(44450);function S(e){let{eventId:t,currentMarket:n,location:a}=e,[r,l]=(0,i.useState)({}),o=(0,c.d4)(j.a5),{ref:d,makeOnClick:u}=(0,f.kW)({type:f.jF.Streaks,marketName:n.marketName,activeCTA:r});return o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(v.A,{children:[(0,s.jsx)(g.A,{market:n,onClick:u(n.marketName,f.ki.OddsValue),ref:d,first:!0}),(0,s.jsx)(w.A,{eventId:t,location:a,setCtaType:l,onSignUpClick:()=>(0,y.Fe)({id:t,category:n.marketName,location:a,provider:null==o?void 0:o.provider.slug,position:f.ki.AffiliateButton,type:f.jF.Streaks})})]}),(0,s.jsx)(k.A,{})]}):null}function C(e){let{isLoading:t,oddsMarkets:n}=e,a=(0,c.d4)(j.zV),{event:r,location:l}=(0,i.useContext)(o.y$);if(!(0,c.d4)((0,j.Ul)(r)))return null;if(t)return(0,s.jsx)(b.t1,{});if(n&&n.length>0){let e=n[0];return a&&e.isLive?null:(0,s.jsx)(S,{eventId:r.id,currentMarket:e,location:l})}return null}var T=n(61584);let A=e=>{let{event:t,title:n,isLive:a,areOddsLoading:i,streaks:l,subStreaks:o,oddsMarkets:m,isInverseDesktop:p}=e,h=(0,c.d4)(j.fq);return(0,s.jsxs)(u.Zp,{"data-testid":"team_streaks",isInverseDesktop:p,children:[(0,s.jsx)(u.Zp.Header,{titleId:"string"==typeof n?n:void 0,title:"string"!=typeof n?n:void 0,as:"h3"}),(0,s.jsxs)(r.az,{pb:"sm",children:[(0,s.jsx)(r.az,{px:"sm",children:h?(0,s.jsx)(T.A,{eventId:t.id,isLive:a}):(0,s.jsx)(C,{isLoading:i,oddsMarkets:m})}),null==l?void 0:l.map(e=>(0,s.jsx)(x,{streak:e,homeTeam:t.homeTeam,awayTeam:t.awayTeam},"".concat(e.name,"-").concat(e.team))),o&&o.length>0&&(0,s.jsxs)(r.az,{children:[(0,s.jsx)(r.EY,{as:"h3",font:"display.micro",align:"center",children:(0,s.jsx)(d.A,{id:"bbal_last_ten_games"})}),o.map(e=>(0,s.jsx)(x,{streak:e,homeTeam:t.homeTeam,awayTeam:t.awayTeam},"".concat(e.name,"-").concat(e.team)))]})]})]})};var _=n(15926);let I=(e,t)=>{let[n,s]=(0,c.d4)((0,j.Pf)(t)),{data:r,isLoading:i,error:o}=(0,l.Ay)(n?a.bnp.teamStreaksOdds(e,n):null,{refreshInterval:6e4}),{data:d,isLoading:u}=(0,l.Ay)(s&&o?a.bnp.teamStreaksOdds(e,s):null,{refreshInterval:6e4});return{data:r||d,isLoading:i||u}};var L=n(8703),E=n(84974);let F=e=>{let{page:t}=e,{event:n}=(0,i.useContext)(o.y$),d=n.status.type===a.XUj.InProgress,{data:c,isLoading:u}=(0,l.Ay)(a.bnp.teamStreaks(n.id)),{data:m,isLoading:p}=I(n.id,d);if(u)return(0,s.jsx)(_.A,{page:t});if(!c)return null;let{teamStreaks:h,teamSubStreaks:x,h2hStreaks:v,h2hSubStreaks:g,hasTeamStreaks:f,hasH2HStreaks:j}=function(e,t){var n,s,r,i,l,o;return t===a.QCR.Basketball?{teamStreaks:e.generalTotal,h2hStreaks:e.head2HeadTotal,teamSubStreaks:e.generalPerLastX,h2hSubStreaks:e.head2HeadPerLastX,hasTeamStreaks:!!((null==(r=e.generalTotal)?void 0:r.length)||(null==(i=e.generalPerLastX)?void 0:i.length)),hasH2HStreaks:!!((null==(l=e.head2HeadTotal)?void 0:l.length)||(null==(o=e.head2HeadPerLastX)?void 0:o.length))}:{teamStreaks:e.general,h2hStreaks:e.head2head,teamSubStreaks:void 0,h2hSubStreaks:void 0,hasTeamStreaks:!!(null==(n=e.general)?void 0:n.length),hasH2HStreaks:!!(null==(s=e.head2head)?void 0:s.length)}}(c,(0,L.c5)(n));return f||j?t?(0,s.jsxs)(r.so,{gap:"md","data-testid":"team_streaks",children:[(0,s.jsxs)(r.so,{w:"50%",direction:"column",gap:"sm",children:[j&&(0,s.jsx)(A,{event:n,title:"head_to_head_streaks",isLive:d,areOddsLoading:p,streaks:v,subStreaks:g,oddsMarkets:null==m?void 0:m.head2head}),(0,s.jsx)(E.v,{event:n})]}),f&&(0,s.jsx)(r.az,{w:"50%",children:(0,s.jsx)(A,{event:n,title:"team_streaks",isLive:d,areOddsLoading:p,streaks:h,subStreaks:x,oddsMarkets:null==m?void 0:m.general})})]}):(0,s.jsxs)(r.so,{direction:"column",gap:"sm",children:[f&&(0,s.jsx)(A,{event:n,title:"team_streaks",isLive:d,areOddsLoading:p,streaks:h,subStreaks:x,oddsMarkets:null==m?void 0:m.general,isInverseDesktop:!0}),j&&(0,s.jsx)(A,{event:n,title:"head_to_head_streaks",isLive:d,areOddsLoading:p,streaks:v,subStreaks:g,oddsMarkets:null==m?void 0:m.head2head,isInverseDesktop:!0})]}):null}},55479:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var s=n(6029),a=n(41249);let r=e=>(0,s.jsx)(a.az,{h:128,bg:"surface.s2",br:"xl",...e})},58516:(e,t,n)=>{"use strict";n.d(t,{GV:()=>a.G,uP:()=>s.default});var s=n(76097);n(74216);var a=n(14319)},58775:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var s=n(6029),a=n(44194),r=n(76356),i=n(90248),l=n(54409);let o=e=>{let{isOpen:t,onClick:n}=e;return(0,s.jsx)(r.so,{align:"center",justify:"center",p:"lg",children:(0,s.jsx)(r.I4.button,{onClick:n,padding:"0",cursor:"pointer",children:(0,s.jsxs)(r.so,{align:"center",children:[(0,s.jsx)(a.EY,{lineHeight:"16px",textStyle:"display.small",color:"primary.default",children:(0,s.jsx)(i.A,{id:t?"show_less":"show_more"})}),t?(0,s.jsx)(l.t8v,{fill:"primary.default",ml:"xs"}):(0,s.jsx)(l.QtO,{fill:"primary.default",ml:"xs"})]})})})}},59721:(e,t,n)=>{"use strict";n.d(t,{e:()=>s.e});var s=n(33480)},59754:(e,t,n)=>{"use strict";n.d(t,{C:()=>r,Z:()=>i});var s=n(494),a=n(151);let r=(e,t,n)=>{var s,a,r;let i=null==(s=e.tournament.uniqueTournament)?void 0:s.id;if(i&&(null==n||null==(r=n.uniqueTournaments)||null==(a=r[i])?void 0:a[t]))return null==n?void 0:n.uniqueTournaments[i]},i=(e,t)=>r(e,t,(0,s.d4)(a.g))},61584:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var s=n(6029),a=n(44194),r=n(76356),i=n(90248),l=n(494),o=n(49821),d=n(28600),c=n(2294),u=n(38136),m=n(52736),p=n(27601);let h=e=>{let{eventId:t,isLive:n,isEleveated:h}=e,x=(0,l.d4)(c.hB),{odds:v,marketName:g,error:f,isLoading:j}=(0,p.U)(t,n);return j?(0,s.jsx)(r.az,{pt:"[50px]",bg:"surface.s2",br:"lg",elevation:h?"2":void 0,children:null==x?void 0:x.map(e=>(0,s.jsx)(r.az,{h:"[45px]"},e.provider.id))}):f||!v?null:(0,s.jsx)(r.az,{bg:h?"surface.s1":void 0,br:"lg",elevation:h?"2":void 0,children:(0,s.jsxs)(r.so,{direction:"column",bg:"surface.s2",br:"lg",px:"md",pb:"md",children:[(0,s.jsxs)(r.so,{py:"sm",justify:"space-between",align:"center",gap:"2xs",children:[(0,s.jsxs)(r.so,{gap:"2xs",alignSelf:"flex-end",h:"100%",children:[(0,s.jsx)(a.EY,{textStyle:"assistive.default",color:"neutrals.nLv1",children:(0,s.jsx)(d.f,{id:"Full time"})}),n&&(0,s.jsx)(a.EY,{textStyle:"assistive.default",color:"status.val",children:(0,s.jsx)(i.A,{id:"live"})})]}),(0,s.jsx)(u.V,{})]}),null==x?void 0:x.map((e,t)=>(0,s.jsx)(m.E,{countryOddsProvider:e,market:v[t],marketName:g,clickType:o.jF.Featured},e.provider.id))]})})}},62056:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var s=n(6029),a=n(21377),r=n(41249),i=n(65789),l=n(69559),o=n(73011);let d=()=>{let e=(0,l.o)();return(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.Zp.Header,{titleId:e===a.QCR.Cricket?"squad":o.bU.includes(e)?"boxScore":"players",as:"h2"}),(0,s.jsx)(r.az,{h:687})]})}},63263:(e,t,n)=>{"use strict";n.d(t,{Js:()=>f,$l:()=>v,pK:()=>h,Fk:()=>p,Zb:()=>j,n6:()=>m,K$:()=>y,Ew:()=>g,ql:()=>x});var s=n(6029),a=n(21377),r=n(93338),i=n(54409);let l=()=>"https://www.sofascore.com/i/b25bc6c68958448cca031c644eee864e",o=()=>"https://www.sofascore.com/i/e53a59ad37fec87c07765b595f4ad79c",d=()=>"https://www.sofascore.com/i/705e36b11b4831faf07264be0bdbf3ee";var c=n(19666),u=n(82640);let m=e=>e.reduce((e,t)=>(t.winnerCode===a.Jfo.Left&&(e.homeWins+=1),t.winnerCode===a.Jfo.Right&&(e.awayWins+=1),e),{homeWins:0,awayWins:0}),p=(e,t)=>{switch(t){case a.$2C.Dota:return o();case a.$2C.LoL:return l();case a.$2C.CounterStrike:return e.map?a.fQV.mapImage(e.map.id):d();default:return""}},h=e=>{let t=[];return Object.keys(u.Au).forEach(n=>{let s=e[u.Au[n]];for(let e=0;e{let e,t=(0,c.tR)(),n=(0,c.$M)();if(void 0===t)return[];let s=!y(t);switch(n){case a.$2C.CounterStrike:e=[r.S.var("colors.eSports.cs.t"),r.S.var("colors.eSports.cs.ct")];break;case a.$2C.LoL:e=[r.S.var("colors.eSports.lol.red"),r.S.var("colors.eSports.lol.blue")];break;case a.$2C.Dota:e=[r.S.var("colors.eSports.dota2.dire"),r.S.var("colors.eSports.dota2.radiant")];break;default:return[]}return s?e.reverse():e},v=e=>{switch(e){case u.Au.Cloud:return e=>(0,s.jsx)(i.p1j,{icon:"drake-cloud",...e});case u.Au.Elder:return e=>(0,s.jsx)(i.p1j,{icon:"drake-elder",...e});case u.Au.Infernal:return e=>(0,s.jsx)(i.p1j,{icon:"drake-infernal",...e});case u.Au.Mountain:return e=>(0,s.jsx)(i.p1j,{icon:"drake-mountain",...e});case u.Au.Ocean:return e=>(0,s.jsx)(i.p1j,{icon:"drake-ocean",...e});default:return null}},g={[u.Mx.TopLane]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"role-top",...e}),sortIndex:1},[u.Mx.Jungle]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"role-jun",...e}),sortIndex:2},[u.Mx.MidLane]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"role-mid",...e}),sortIndex:3},[u.Mx.BotLane]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"role-adc",...e}),sortIndex:4},[u.Mx.Support]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"role-sup",...e}),sortIndex:5}},f={[u.XF.HardCarry]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"dota-hard-carry",...e}),sortIndex:1},[u.XF.MidLane]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"dota-mid-lane",...e}),sortIndex:2},[u.XF.OffLand]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"dota-soft-support",...e}),sortIndex:3},[u.XF.SoftSupport]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"dota-soft-support",...e}),sortIndex:4},[u.XF.HardSupport]:{icon:e=>(0,s.jsx)(i.p1j,{icon:"dota-hard-support",...e}),sortIndex:5}},j=(e,t)=>t?"".concat("number"==typeof e.kills?e.kills:"-","/").concat("number"==typeof e.assists?e.assists:"-","/").concat("number"==typeof e.deaths?e.deaths:"-"):"".concat("number"==typeof e.kills?e.kills:"-","/").concat("number"==typeof e.deaths?e.deaths:"-","/").concat("number"==typeof e.assists?e.assists:"-");function y(e){return!e||[a.U6N.Red,a.U6N.Dire,a.U6N.Terrorist].includes(e)}},66757:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});var s=n(6029),a=n(18612),r=n(76356),i=n(55729);function l(e){let{rows:t,rowHeight:n}=e;return(0,s.jsx)(a.D,{animate:!0,height:t*n,uniqueKey:"generic-table-cl",children:Array(t).fill(null).map((e,t)=>{let a=t*n;return(0,s.jsxs)(i.Fragment,{children:[(0,s.jsx)("circle",{cx:20,cy:a+n/2,r:12}),(0,s.jsx)("rect",{x:40,y:a+8,width:"calc(100% - 48px)",height:n-16})]},a)})})}function o(e){let{rows:t=12}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.az,{hideBelow:"md",children:(0,s.jsx)(l,{rowHeight:32,rows:t})}),(0,s.jsx)(r.az,{hideFrom:"md",children:(0,s.jsx)(l,{rowHeight:48,rows:t})})]})}},67239:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>q});var s=n(6029),a=n(32523),r=n(75751),i=n(83457),l=n(44194),o=n(41249),d=n(65789),c=n(12047),u=n(55729),m=n(90248),p=n(62859),h=n(8703),x=n(21377),v=function(e){return e.All="all",e.KeyEvents="key-events",e}({});let g=e=>[x.QCR.AmericanFootball].includes(e),f=e=>{let{selectedTab:t,onTabChange:n}=e,{event:a}=(0,u.useContext)(p.y$),r=g((0,h.c5)(a));return(0,s.jsx)(o.tU,{variant:"tertiary",initialValue:v.All,value:t,onChange:n,children:(0,s.jsxs)(o.tU.List,{p:"sm",elevation:[2,void 0],borderBottom:r?void 0:"onSurface.nLv4",bg:["surface.s1",void 0],children:[(0,s.jsx)(o.tU.Tab,{tabKey:v.All,children:(0,s.jsx)(m.A,{id:"basic.all"})}),(0,s.jsx)(o.tU.Tab,{tabKey:v.KeyEvents,children:(0,s.jsx)(m.A,{id:"commentary_key_events"})})]})})};var j=n(76356),y=n(87763);let b=e=>{let{periods:t,onPeriodChange:n}=e,a=(0,u.useContext)(p.Ws);return t&&g(a)?(0,s.jsx)(j.az,{p:"sm",bg:"surface.s1",borderBottom:"1px solid {colors.neutrals.nLv4}",children:(0,s.jsx)(o.tU,{variant:"secondary",initialValue:v.All,onChange:n,children:(0,s.jsx)(o.tU.List,{children:t.map(e=>(0,s.jsx)(o.tU.Tab,{tabKey:e,children:(0,s.jsx)(y.fP,{id:e,short:!0})},e))})})}):null},w=()=>{let[e,t]=(0,u.useState)("all"),[n,s]=(0,u.useState)(v.All);return{selectedPeriod:e,onPeriodChange:e=>t(e),selectedTab:n,onTabChange:s}};var k=n(23727),S=n(45860);let C=()=>{let{event:e}=(0,u.useContext)(p.y$),t=(0,i.j)((0,h.c5)(e)),{data:n}=(0,S.Ay)(t?x.bnp.commentary(e.id,t):null,(0,h.rf)(e));return{drives:null==n?void 0:n.drives}};var T=n(88836),A=n(9725);let _=e=>{let{event:t}=(0,u.useContext)(p.y$),n=e.isHome?t.homeTeam:t.awayTeam,s=e.player,a=function(e,t){let n=e.isHome?t.homeTeam.shortName:t.awayTeam.shortName;switch(e.type){case"touchdown":return"Touchdown ".concat(n,"!");case"fieldGoalMiss":return"Missed Field Goal";case"twoPointConversion":return"2-PT Conversion";case"turnoverOnDowns":return"Turnover on Downs";case"fourthDownConversion":return"4th Down Conversion";case"passInterception":return"Interception";case"passInterceptionReturn":return"Interception Return";case"tenYardsPlay":return"".concat(e.yardsGained," Yard ").concat("run"===e.playType?"Run":"Pass");case"fieldGoal":return"Field Goal";case"extraPoint":return"Extra Point";case"safety":return"Safety";default:return null}}(e,t);return{team:n,player:s,title:a,text:function(e){return"twoMinuteWarning"===e.type?"Two-Minute Warning":e.text}(e),downDistance:function(e,t){if("extraPoint"===e.type){let n=1===e.teamHalf?t.homeTeam.nameCode:t.awayTeam.nameCode;return"XP attempt from ".concat(n," ").concat(e.yardline)}let n={currentDown:e.down,currentTeamHalf:e.teamHalf,currentPossession:e.possession,currentYardline:e.yardline,currentYardsToFirstDown:e.yardsToFirstDown,isGoalPossession:e.isGoal};return(0,A.XE)(n,t)}(e,t)}},I=e=>{let{comment:t}=e,{player:n,team:a,title:r,text:i,downDistance:l}=_(t);return(0,s.jsxs)(j.so,{children:[(0,s.jsx)(T.JJ,{comment:t}),(0,s.jsxs)(T.cH,{bg:"surface.s0",image:n&&(0,s.jsx)(T.Ez,{id:n.id,teamId:a.id}),players:[n],children:[r&&(0,s.jsx)(T.SI,{children:r}),i&&(0,s.jsx)(T.jv,{children:i}),l&&(0,s.jsx)(T.jv,{secondary:!0,children:l})]})]})},L=e=>{let{comments:t}=e;return(0,s.jsx)(j.so,{direction:"column",gap:"lg",p:"lg",children:t.map(e=>(0,s.jsx)(I,{comment:e},e.id))})};var E=n(33144),F=n(4967);let H=e=>{let{drive:t}=e;return(0,s.jsxs)(j.so,{gap:"lg",align:"center",children:[(0,s.jsx)(E.p,{id:t.teamId,w:32,h:32}),(0,s.jsxs)(j.so,{direction:"column",align:"flex-start",children:[(0,s.jsx)(l.EY,{textStyle:"display.medium",color:null!==t.endReason?"neutrals.nLv1":"status.live",children:t.endReason||(0,s.jsx)(m.A,{id:"inProgress"})}),(0,s.jsx)(l.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(m.A,{id:"am_football_drive_summary",values:{plays:t.playCount,yards:t.netDriveYards,time:(0,F.OV)(t.durationSeconds)}})})]})]})},P=e=>{let{comment:t,drive:n,defaultOpened:a=!1}=e;return(0,s.jsxs)(o.nD.Item,{defaultOpened:a,bg:"surface.s1",elevation:[2,void 0],br:["lg",void 0],borderTop:[void 0,"onSurface.nLv4"],borderBottom:[void 0,"onSurface.nLv4"],mt:-1,overflow:"hidden",children:[(0,s.jsx)(o.nD.Trigger,{children:(0,s.jsx)(H,{drive:n})}),(0,s.jsx)(o.nD.Content,{children:(0,s.jsx)(L,{comments:t})})]})},R=e=>{let{comment:t}=e,{player:n,team:a,title:r,text:i,downDistance:l}=_(t);return(0,s.jsxs)(j.so,{children:[(0,s.jsx)(T.JJ,{comment:t}),(0,s.jsxs)(T.cH,{image:n&&(0,s.jsx)(T.Ez,{id:n.id,teamId:a.id}),players:[n],elevation:{mdDown:"2"},children:[r&&(0,s.jsx)(T.SI,{children:r}),i&&(0,s.jsx)(T.jv,{children:i}),l&&(0,s.jsx)(T.jv,{secondary:!0,children:l})]})]})},B=e=>{let{comment:t}=e,{player:n,team:a,title:r,text:i,downDistance:l}=_(t);return(0,s.jsxs)(j.so,{br:"lg",elevation:{mdDown:"2"},bg:{mdDown:"surface.s1"},py:{md:"md"},px:{md:"lg"},children:[(0,s.jsx)(T.JJ,{comment:t}),(0,s.jsxs)(T.cH,{bg:{base:"surface.s1",md:"surface.s0"},image:n&&(0,s.jsx)(T.Ez,{id:n.id,teamId:a.id}),players:[n],children:[r&&(0,s.jsx)(T.SI,{children:r}),i&&(0,s.jsx)(T.jv,{children:i}),l&&(0,s.jsx)(T.jv,{secondary:!0,children:l})]})]})},O=e=>{let{selectedTab:t,selectedPeriod:n,comments:a,periods:r}=e,{drives:i}=C();if(t===v.KeyEvents)return(0,s.jsx)(j.so,{p:"md",direction:"column",gap:"md",children:a.map(e=>(0,s.jsx)(R,{comment:e},e.id))});let l=a.findIndex(e=>!!Array.isArray(e)||void 0!==e.driveId);return(0,s.jsx)(o.nD,{children:(0,s.jsxs)(j.so,{p:{mdDown:"md"},direction:"column",gap:{mdDown:"md"},children:[(0,s.jsx)(j.az,{hideBelow:"md",children:(0,s.jsx)(j.cG,{})}),a.map((e,t)=>{let a=function(e){return Array.isArray(e)?e:[e]}(e),o=function(e,t){return void 0===e||void 0===t?null:t.find(t=>t.id===e)}(a[0].driveId,i);return o?(0,s.jsx)(P,{comment:a,drive:o,defaultOpened:function(e,t,n){return 0!==e.length&&[e[0],e[e.length-1]].includes(t)&&n}(r||[],n,l===t)},a[0].id):(0,s.jsx)(B,{comment:a[0]},a[0].id)})]})})},z=e=>{let{comment:t}=e,{event:n}=(0,u.useContext)(p.y$),{homeTeam:a,awayTeam:r}=n,i="ownGoal"===t.goalType,l="penalty"===t.goalType,o=!i&&!l,d=t.player,c=t.isHome?a.id:r.id;return d?(0,s.jsxs)(T.hF,{children:[(0,s.jsx)(T.JJ,{comment:t}),(0,s.jsxs)(T.cH,{image:(0,s.jsx)(T.Ez,{id:d.id,teamId:c}),players:[d],children:[(0,s.jsx)(T.SI,{isUppercase:o,children:o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.A,{id:"goal"}),"!"]}):(0,s.jsx)(m.A,{id:t.goalType})}),(0,s.jsx)(T.jv,{children:t.text})]})]}):null},D=e=>{let{comment:t}=e,{event:n}=(0,u.useContext)(p.y$),a=t.isHome?n.homeTeam:n.awayTeam;return t.playerIn&&t.playerOut?(0,s.jsxs)(T.hF,{children:[(0,s.jsx)(T.JJ,{comment:t}),(0,s.jsxs)(T.cH,{image:(0,s.jsx)(E.p,{size:24,id:a.id,name:a.name}),players:[t.playerIn,t.playerOut],children:[(0,s.jsx)(T.SI,{children:(0,s.jsx)(m.A,{id:"substitution"})}),(0,s.jsxs)(T.Pc,{image:(0,s.jsx)(T.Ez,{id:t.playerIn.id,small:!0}),children:[t.playerIn.name,(0,s.jsxs)(l.EY,{ml:"2xs",textStyle:"body.small",color:"secondary.default",children:["(",(0,s.jsx)(m.A,{id:"substitution.in"}),")"]})]}),(0,s.jsxs)(T.Pc,{image:(0,s.jsx)(T.Ez,{id:t.playerOut.id,small:!0}),children:[t.playerOut.name,(0,s.jsxs)(l.EY,{ml:"2xs",textStyle:"body.small",color:"status.error.default",children:["(",(0,s.jsx)(m.A,{id:"substitution_out"}),")"]})]})]})]}):null};var M=n(30566),N=n(20294);let W={[x.QCR.Football]:e=>{let{comment:t}=e;switch(t.type){case"scoreChange":case"penaltyScored":return(0,s.jsx)(z,{comment:t});case"substitution":return(0,s.jsx)(D,{comment:t});default:return(0,s.jsx)(M.b,{comment:t})}},[x.QCR.IceHockey]:N.y},G=e=>{let{comments:t}=e,n=W[(0,u.useContext)(p.Ws)];return(0,s.jsx)(j.so,{p:"md",direction:"column",gap:"md",children:t.map(e=>(0,s.jsx)(n,{comment:e},e.id))})},Y=e=>{let{selectedTab:t,selectedPeriod:n,comments:a,periods:r}=e;return(0,u.useContext)(p.Ws)===x.QCR.AmericanFootball?(0,s.jsx)(O,{selectedTab:t,selectedPeriod:n,comments:a,periods:r}):(0,s.jsx)(G,{comments:a})},U=e=>{let{selectedTab:t,selectedPeriod:n,comments:a,periods:r}=e,{isMobile:i}=(0,l.$c)(),{event:o,location:c}=(0,u.useContext)(p.y$),[m,g]=(0,u.useState)(!1),f=function(e,t,n){return t===v.KeyEvents?n.filter(e=>Object.values(x.zZK).includes(e.type)):e===x.QCR.AmericanFootball?function(e){let t=[],n=null,s=null;for(let a of e)void 0!==a.driveId?(a.driveId!==s&&(n=[],t.push(n),s=a.driveId),n&&n.push(a)):(t.push(a),s=null);return t.map(e=>Array.isArray(e)&&1===e.length?e[0]:e)}(n.filter(e=>"timeout"!==e.type||void 0!==e.driveId)):n}((0,h.c5)(o),t,a),j=c&&[p.cb.EventPage,p.cb.Widget].includes(c)&&f.length>10&&!i;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Y,{selectedTab:t,selectedPeriod:n,comments:function(e,t,n){return t||n?e:e.slice(0,10)}(f,m,i),periods:r}),(0,s.jsx)(d.Zp.Footer,{ctaParams:j?{messageId:m?"show_less":"show_more",onClick:()=>g(e=>!e),icon:m?k.X.Up:k.X.Down}:void 0,defaultHeight:{base:"[0px]",md:"lg"}})]})},Q=e=>{let{periods:t,onPeriodChange:n}=e,a=(0,c.Ay)();return(0,s.jsx)(o.PI,{top:a,bg:"surface.s1",borderBottom:"onSurface.nLv4",zIndex:o.Py.Sticky-1,children:(0,s.jsx)(b,{periods:t,onPeriodChange:n})})},K=e=>{let{periodComments:t,periods:n}=e,{selectedPeriod:a,onPeriodChange:r,selectedTab:i,onTabChange:o}=w(),{isDesktop:c}=(0,l.$c)(),u=t[a];return(0,s.jsxs)(d.HH,{isCard:c,children:[(0,s.jsx)(d.Zp.Header,{titleId:"commentary",visibility:"desktop-only"}),(0,s.jsx)(Q,{periods:n,onPeriodChange:r}),(0,s.jsx)(f,{selectedTab:i,onTabChange:o}),(0,s.jsx)(U,{selectedTab:i,selectedPeriod:a,comments:u,periods:n})]})},q=()=>{let{textCommentary:e,periods:t}=(0,i.q)(!0);return e?(0,s.jsx)(r.t,{tag:"TextCommentary",children:(0,s.jsx)(K,{periodComments:e,periods:t})}):(0,s.jsx)(a.E,{uniqueKey:"text-commentary-container-cl",rows:10,rowHeight:56,animate:!0})}},70115:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var s=n(6029),a=n(41249),r=n(71024),i=n.n(r),l=n(28132);let o=i()(()=>Promise.all([n.e(4824),n.e(2342)]).then(n.bind(n,85912)),{loadableGenerated:{webpack:()=>[85912]},ssr:!1});function d(e){let{uniqueTournament:t,seasonId:n,sport:r}=e;return(0,s.jsx)(a.tU.Panel,{tabKey:l.H.Knockout,children:(0,s.jsx)(o,{sport:r,uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:n})})}},70819:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var s=n(6029),a=n(44194),r=n(76356),i=n(494),l=n(52210),o=n(75791),d=n(2294);let c=e=>{let{choice:t,isLive:n,branded:c,betSlipLink:u,isComparison:m,onClick:p}=e,h=u&&c,x="fractional"===(0,i.d4)(d.$4),v=x?o.Y:void 0,g=(0,s.jsxs)(r.so,{position:"relative",justify:"center",align:"center",bg:"surface.s2",br:"xs",border:m&&n?"1px solid {colors.status.val}":"1px solid {colors.neutrals.nLv4}",minW:m?"4xl":"[52px]",h:m?"xl":"[28px]",my:"xs",flexShrink:0,flexGrow:m?1:void 0,children:[(0,s.jsx)(a.EY,{textStyle:"display.micro",color:n?"status.val":"neutrals.nLv1",mr:0===t.change?void 0:"2xs",textAlign:"center",style:{fontSize:x?14:void 0,letterSpacing:x?"-1px":void 0},lineHeight:1,children:(0,s.jsx)(o.c,{fractionalValue:t.fractionalValue,children:v})}),(0,s.jsx)(l.I,{change:t.change})]});return h&&(g=(0,s.jsx)(a.Mz,{target:h?"_blank":void 0,rel:h?"nofollow noopener noreferrer":void 0,href:h?u:void 0,onClick:e=>{e.stopPropagation(),null==p||p()},flexGrow:m?1:void 0,flexBasis:m?"4xl":void 0,children:g})),g}},71484:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var s=function(e){return e.MainScreen="main_screen",e.EventPage="event_page",e.TournamentPage="league_screen",e.DetailsTab="details",e.MediaTab="media",e}({})},72653:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var s=n(6029),a=n(21377),r=n(4967),i=n(95669),l=n.n(i),o=n(947),d=n(58771),c=n(26331),u=n(73088),m=n(97047);let p=(e,t,n)=>e.type===a.YVh.Person?{"@type":"Person",name:e.name}:{"@type":"SportsTeam",sport:t.name,name:e.name,logo:a.cWY.image(e.id),url:"https://www.sofascore.com/team/".concat(t.slug,"/").concat(e.slug,"/").concat(e.id),sameAs:(0,m.WG)(e.id,n)},h=(e,t)=>{var n,s,a,r,i;let l=(null==(n=e.tournament.uniqueTournament)?void 0:n.name)||e.tournament.name,o=(null==(s=e.season)?void 0:s.year)||(null==(a=e.season)?void 0:a.name)||t.getFullYear()||"",d=(e.tournament.roundPrefix||"")+" "+((null==(r=e.roundInfo)?void 0:r.name)||((null==(i=e.roundInfo)?void 0:i.round)?"Round ".concat(e.roundInfo.round):""));return"".concat(l," ").concat(o," ").concat(d.trim()).trim()},x=e=>{switch(e.status.type){case a.XUj.Canceled:case a.XUj.Suspended:return"EventCancelled";case a.XUj.Postponed:return"EventPostponed";default:return"EventScheduled"}};function v(e){let{event:t}=e,n=(0,o.A)(),i=(0,c.A)(),v=t.tournament.category.sport,g=r.pp(t.startTimestamp),f=h(t,g),j=t.tournament.category,y=t.tournament.uniqueTournament,b=1,w=[{"@type":"ListItem",position:1,name:n.formatMessage({id:"sport.".concat(v.slug)}),item:"".concat(a.VTF).concat(u.z.getTranslatedRoute(i,"eventList",{sport:v.slug}).route)},{"@type":"ListItem",position:++b,name:n.formatMessage({id:j.slug}),item:"".concat(a.VTF).concat(u.z.getTranslatedRoute(i,"eventList.category",{sport:j.sport.slug,category:j.slug}).route)}];y&&w.push({"@type":"ListItem",position:++b,name:y.name,item:"".concat(a.VTF).concat(u.z.getTranslatedRoute(i,"uniqueTournament",{sport:y.category.sport.slug,category:y.category.slug,tournament:y.slug,id:y.id}).route)}),w.push({"@type":"ListItem",position:++b,name:"".concat(t.homeTeam.name," - ").concat(t.awayTeam.name)});let k={"@context":"https://schema.org","@type":"SportsEvent",name:"".concat(t.homeTeam.name," vs ").concat(t.awayTeam.name),eventStatus:x(t),description:f,homeTeam:p(t.homeTeam,v,i),awayTeam:p(t.awayTeam,v,i),startDate:g.toISOString(),sport:v.name};if(t.venue){var S,C,T;k.location=[{"@type":"Place",name:null==(S=t.venue)?void 0:S.stadium.name,maximumAttendeeCapacity:null==(C=t.venue)?void 0:C.stadium.capacity,address:{"@type":"PronounceableText"}}],t.venue.city.name&&k.location.concat({"@type":"Place",name:t.venue.city.name}),t.venue.country.alpha2&&k.location.concat({"@type":"Country",name:(0,m.lE)(null==(T=t.venue)?void 0:T.country.alpha2)})}else t.tournament.category.alpha2&&(k.location={"@type":"Country",name:(0,m.lE)(t.tournament.category.alpha2)});return(0,s.jsxs)(l(),{children:[(0,s.jsx)("script",{...(0,d.QQ)({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:w})}),",",(0,s.jsx)("script",{...(0,d.QQ)(k)}),","]})}},73003:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var s=n(6029),a=n(21377),r=n(76356),i=n(41249),l=n(59018),o=n.n(l),d=n(55729),c=n(90248),u=n(65789),m=n(75751),p=n(42360),h=n(48686),x=n(85986),v=n(95195),g=n(189),f=n(53214),j=n(14591),y=n(41735);let b=(0,y.default)(i.az).withConfig({componentId:"sc-ce9c6449-0"})(["cursor:move;transform-origin:top right;div{","}> div{border-top:1px solid ",";> div{min-height:268px;}}+ .cupTree-instruction-snackbar{transition:opacity 0.2s ease-in-out;opacity:0;}:hover{+ .cupTree-instruction-snackbar{opacity:1;pointer-events:none;}}"],e=>"rtl"===e.theme.settings.textDirection&&"transform-origin: top right 0px !important;",e=>e.theme.colors.onSurface.nLv4);function w(e){let{cupTree:t,roundDescriptions:n}=e,r=(0,d.useRef)([]),l=(0,d.useRef)(null),o=(0,d.useRef)(null),c="rtl"===(0,y.useTheme)().settings.textDirection,u=(0,d.useRef)(),{sourceTreeName:m,phaseFilter:p,rounds:v}=(0,x.B)(),g=(0,d.useCallback)(e=>{r.current.forEach(t=>t(e))},[r.current]),w=1===n.length,k=t.events.length>0,S=w&&/relegation|promotion/i.test(m),[C,T]=(0,d.useState)(!1),[A,_]=(0,d.useState)(!1),[I,L]=(0,d.useState)(1),[E,F]=(0,d.useState)(w?c?-300:300:0),[H,P]=(0,d.useState)(w?k?8:38:0);function R(e){("Control"===e.key||"Meta"===e.key)&&T(!0)}function B(e){C&&T(!1)}return(0,d.useEffect)(()=>{if(!u.current){var e;let t=null==(e=l.current)?void 0:e.getBoundingClientRect();t&&(u.current=t)}return document.addEventListener("keydown",R),document.addEventListener("keyup",B),()=>{document.removeEventListener("keydown",R),document.addEventListener("keyup",B)}},[C]),(0,d.useLayoutEffect)(()=>{function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;F(0),P(0);let s=t-n;if(0===s)return;let a=s>0?1:-1,r=n+.03*a;1===a&&r>t||-1===a&&re(t,r)))}let s=t.finished&&v[v.length-1].type===a.FFH.Finals&&!S;if("number"==typeof p&&p>0&&p<=4)return void requestAnimationFrame(()=>e(s?.92:1,I));if(o.current){let t=(o.current.clientWidth-36*!!s)/(300*n.length);t<.8&&I!==t&&requestAnimationFrame(()=>e(t,I))}},[p]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f.eS,{onChange:r.current}),(0,s.jsx)(f.Cq,{roundNames:n,x:E,scale:I}),(0,s.jsx)(b,{ref:o,children:(0,s.jsx)(j.MapInteractionCSS,{disableZoom:!C,value:{scale:I,translation:{x:E,y:H}},onChange:e=>{let{scale:t,translation:n}=e;if(A||_(!0),t>=h.Yv&&t<=h.AK){var s,a,r,i,l,d;L(t),F(Math.max(-(((null==(s=u.current)?void 0:s.width)||0)*t*.8),Math.min(((null==(r=o.current)||null==(a=r.parentElement)?void 0:a.clientWidth)||h.IT)-100,n.x))),P(Math.max(-(((null==(i=u.current)?void 0:i.height)||0)*t*1),Math.min(((null==(d=o.current)||null==(l=d.parentElement)?void 0:l.clientHeight)||h.XV)-100,n.y)))}},children:(0,s.jsx)(i.az,{position:"relative",ref:l,children:(0,s.jsx)(f.Vr,{tree:t,columnWidth:300,depth:n.length,highlights:{set:g,clear:()=>g([])},isRelegationDecider:S})})})}),A?null:(0,s.jsx)(f._4,{}),(0,s.jsx)(f.Dg,{onZoomIn:()=>{requestAnimationFrame(()=>{L(Math.min(I+.1,h.AK))})},onZoomOut:()=>{requestAnimationFrame(()=>{L(Math.max(I-.1,h.Yv))})}})]})}let k={0:(0,s.jsx)(c.A,{id:"full_bracket"}),[a.FFH.EighthFinals]:(0,s.jsx)(c.A,{id:"bracket_top_n",values:{n:16}}),[a.FFH.Quarterfinals]:(0,s.jsx)(c.A,{id:"bracket_top_n",values:{n:8}})};function S(e){let{selectedTree:t,sport:n,uniqueTournamentId:l,uniqueTournamentSlug:c,categorySlug:p,seasonId:v}=e,[j,y]=(0,d.useState)(0),b=function(e){let t=e.map(e=>e.type),n=[0];if(t.includes(a.FFH.EighthFinals)&&t.some(e=>e>a.FFH.EighthFinals)&&n.push(a.FFH.EighthFinals),t.includes(a.FFH.Quarterfinals)&&t.some(e=>e>a.FFH.Quarterfinals)&&n.push(a.FFH.Quarterfinals),n.length>1)return n}(t.rounds),S=null,C=o()(t.rounds.map(e=>e.description));if(j>0&&b){let e={...t,rounds:t.rounds.filter(e=>e.type<=b[j])};C=e.rounds.map(e=>e.description),S=(0,g.TI)((0,g.o$)(e),n,null)}else S=(0,g.TI)((0,g.o$)(t),n,null);if(0===j&&(!S||!(0,g.ov)(S)))return null;let T=[];return t.showSingleParticipantByeBlocks||(T=(0,g.BE)(t.rounds)),(0,s.jsx)(m.t,{tag:"CupTree",children:(0,s.jsxs)(u.Zp,{children:[(0,s.jsx)(f.Y9,{id:t.id,name:t.name,sport:n,phaseSelector:b&&(0,s.jsx)(i.ms,{items:b,alignRight:!0,selectedItem:b[j],renderItem:e=>{if("number"==typeof e)return k[e]},onSelectedItemChange:e=>{"number"==typeof e.selectedItemIndex&&y(e.selectedItemIndex)}})}),(0,s.jsx)(r.az,{mt:"sm",style:{maxHeight:h.XV},overflow:"hidden","data-tree-id":t.id,children:(0,s.jsx)(x.J,{sport:n,tournamentId:l,seasonId:v,sourceTreeId:t.id,rounds:t.rounds,sourceTreeName:t.name,showSingleParticipantByeBlocks:t.showSingleParticipantByeBlocks,phaseFilter:b?b[j]:void 0,entrantsPerRound:T,children:(0,s.jsx)(w,{cupTree:S,roundDescriptions:C})})}),(0,g.KA)(T)&&(0,s.jsx)(f.eo,{}),(0,s.jsx)(f.fT,{uniqueTournamentId:l,uniqueTournamentSlug:c,categorySlug:p,seasonId:v,cupTree:t,sport:n})]})},t.id)}function C(e){let{uniqueTournamentId:t,uniqueTournamentSlug:n,categorySlug:a,seasonId:r,sport:i}=e,[l,o]=(0,v.Q)(t,r);return o?(0,s.jsx)(p.A,{}):l?(0,s.jsx)(s.Fragment,{children:l.map(e=>(0,s.jsx)(S,{selectedTree:e,uniqueTournamentId:t,uniqueTournamentSlug:n,categorySlug:a,seasonId:r,sport:i},e.id))}):null}},73411:(e,t,n)=>{"use strict";n.d(t,{s:()=>p,S:()=>h});var s=n(6029),a=n(44194),r=n(76356),i=n(41249),l=n(55729),o=n(90248),d=n(54053),c=n(1300),u=n(76410);let m=e=>{let{children:t,onClick:n}=e;return(0,s.jsx)("a",{href:"https://nba.sjv.io/c/5441787/2176796/16284",target:"_blank",rel:"noopener",onClick:n,children:t})},p=e=>{let{isOpen:t,setIsOpen:n,location:c}=e,{isDesktop:p}=(0,a.$c)(),h={backgroundImage:"url(/static/images/nba-league-pass/modal.png)",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,l.useEffect)(()=>{t&&(0,u.Z1)({type:"bottom_sheet",name:"nba_league_pass",location:c})},[t]),!t)return null;let x=()=>n(!1);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(d.A,{isOpen:t,setIsOpen:n,footer:null,renderAdPlaceholder:!1,sheetStyles:h,modalContentStyles:h,width:360,children:(0,s.jsxs)(r.az,{style:p?h:void 0,br:"lg",children:[(0,s.jsx)(r.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,s.jsx)(r.az,{w:"4xl",h:"4xl",children:(0,s.jsx)(i._V,{src:"/static/images/nba-league-pass/league-pass-logo.svg",h:48,w:48,alt:"NBA"})})}),(0,s.jsxs)(r.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,s.jsxs)(r.so,{direction:"column",gap:"lg",children:[(0,s.jsx)(r.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:(0,s.jsx)(o.A,{id:"league_pass_promo_title"})}),(0,s.jsx)(r.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:(0,s.jsx)(o.A,{id:"league_pass_promo_body_long"})})]}),(0,s.jsxs)(r.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,s.jsx)(a.$n,{children:(0,s.jsx)(m,{onClick:()=>{(0,u.AW)({type:"bottom_sheet",name:"nba_league_pass",location:c}),x()},children:(0,s.jsx)(r.az,{color:"onColor.primary",children:(0,s.jsx)(o.A,{id:"claim_offer"})})})}),(0,s.jsx)(a.$n,{variant:"clear",color:"onColor.primary",onClick:x,children:(0,s.jsx)(o.A,{id:"maybe_later"})})]})]})]})})})},h=e=>{let{utId:t,location:n}=e,{isNBAModalOpen:a,setIsNBAModalOpen:r}=(0,c.z)(t);return a?(0,s.jsx)(p,{isOpen:a,setIsOpen:r,location:n}):null}},74216:(e,t,n)=>{"use strict";n.d(t,{N:()=>y});var s=n(6029),a=n(33144),r=n(21377),i=n(41249),l=n(55729),o=n(494),d=n(45860),c=n(76868),u=n(53486),m=n(75508),p=n(8973),h=n(70591),x=n(94604),v=n(67628),g=n(90879),f=n(90961),j=n(19121);let y=e=>{var t;let{team:n,event:y,isHome:b,isTabbedLayout:w}=e,[k,S]=(0,l.useState)(!1),[C,T]=(0,l.useState)(!1),[A,_]=(0,l.useState)(!1),[I,L]=(0,l.useState)(!1),E=y.tournament.category.sport.slug,F=(0,o.wA)(),{data:H,error:P}=(0,d.Ay)(r.cWY.events(n.id,!0),{onSuccess:e=>F((0,j.oU)(e.events))}),{data:R,error:B}=(0,d.Ay)(r.cWY.events(n.id),{onSuccess:e=>F((0,j.oU)(e.events))}),O=!(H||P)||!(R||B),z=(0,l.useMemo)(()=>{if(O)return[];let e=R?R.events.slice(0,2):[];return[...H?H.events.slice(Math.max(H.events.length-10,0)):[],...e]},[H,R,P,B]),D=(0,l.useMemo)(()=>z.filter(e=>{let t=!0;if(k&&(t=(b?e.homeTeam.id:e.awayTeam.id)===n.id),C&&(t=e.tournament.uniqueTournament&&y.tournament.uniqueTournament?t&&e.tournament.uniqueTournament.id===y.tournament.uniqueTournament.id:t&&e.tournament.id===y.tournament.id),A){var s;t=t&&(null==(s=e.homeTeam.subTeams)?void 0:s.length)===0}return I&&(t=t&&y.groundType===e.groundType),t}),[z,k,C,A,I]),M=(0,l.useCallback)(()=>S(e=>!e),[]),N=(0,l.useCallback)(()=>T(e=>!e),[]),W=(0,l.useCallback)(()=>_(e=>!e),[]),G=(0,l.useCallback)(()=>L(e=>!e),[]),Y=E===r.QCR.Tennis,U=E===r.QCR.MMA,Q=(0,f.C)(E);return(0,s.jsxs)(i.az,{w:["100%",w?"100%":"50%"],children:[(0,s.jsx)(i.az,{display:["none","block"],children:(0,s.jsx)(h.gT,{team:n,sport:E,style:{width:"50%"},children:(0,s.jsxs)(i.so,{hoverBg:"surface.s2",px:"lg",py:"sm",align:"center",children:[(0,s.jsx)(a.p,{id:n.id,name:n.name,size:24,mr:"sm"}),(0,s.jsx)(i.EY,{font:"display.small",color:"onSurface.nLv1",as:"bdi",children:(0,s.jsx)(x.Rm,{team:n})})]})})}),Y?(0,s.jsxs)(i.so,{align:"center",children:[!(null==(t=y.homeTeam.subTeams)?void 0:t.length)&&(0,s.jsx)(g.d,{id:"eventType".concat(b?"Home":"Away"),textId:"singles",checked:A,onChange:W}),!!y.groundType&&(0,s.jsx)(i.Sc,{id:"groundType".concat(b?"Home":"Away"),checked:I,onChange:G,children:(0,s.jsx)(i.EY,{font:"body.medium",color:"onSurface.nLv1",whiteSpace:"normal",children:(0,s.jsx)(v.n,{id:y.groundType})})})]}):(0,s.jsxs)(i.so,{align:"center",children:[Q&&(0,s.jsx)(i.az,{minW:"120",children:(0,s.jsx)(g.d,{id:"playedAt".concat(b?"Home":"Away"),textId:b?"home":"away",checked:k,onChange:M})}),!U&&(0,s.jsx)(g.d,{id:"thisTournament".concat(b?"Home":"Away"),textId:"this_competition",checked:C,onChange:N})]}),D.length||O?(0,s.jsx)(i.az,{p:"sm",children:(0,s.jsx)(u.MC.Provider,{value:{hideScores:U,location:p.y.MatchesSection},children:(0,s.jsx)(m.b,{events:O?[]:D,eventCell:(0,u.ey)({referenceId:n.id}),descending:!0,isShort:!0})})}):(0,s.jsx)(c.p,{graphic:"no-events-calendar",descriptionMessageId:"basic.noEvents",mx:"auto"})]})}},75414:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});let s=function(e){switch(!0){case e<1e3:return"".concat(e);case e<1e4&&e/1e3%1>=.1:let t="".concat((e/1e3).toPrecision(2));return t.endsWith(".0")&&(t=t.substring(0,t.length-2)),"".concat(t,"k");case e<1e6:let n=Math.round(e/1e3);if(1e3===n)return"1M";return"".concat(n,"k");case e<1e7:let s=(e/1e5).toFixed();return s=s.endsWith("0")?s.substring(0,s.length-1):"".concat(s[0],".").concat(s[1]),"".concat(s,"M");case e<1e8:return"".concat(Math.round(e/1e6),"M");case e<1e9:let a=Math.round(e/1e6);if(1e3===a)return"1B";return"".concat(a,"M");default:return"".concat(e)}}},76097:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var s=n(6029),a=n(33144),r=n(41249),i=n(55729),l=n(90248),o=n(62859),d=n(14319),c=n(74216);function u(e){let{isTabbedLayout:t}=e,{event:n,leftTeam:u,rightTeam:m,location:p}=(0,i.useContext)(o.y$),h=p===o.cb.BettingWidget;return t?(0,s.jsxs)(r.tU,{variant:"secondary",initialValue:2,children:[(0,s.jsxs)(r.so,{mb:h?"sm":"lg",align:"center",justify:"center",children:[(0,s.jsx)(r.tU.Tab,{w:"72",h:"32",px:"lg",py:"0",textAlign:"center",children:(0,s.jsx)(a.p,{id:u.id,size:24,name:u.name,mt:"-4"})}),(0,s.jsx)(r.tU.Tab,{minW:"72",h:"32",px:"lg",py:"0",textAlign:"center",children:(0,s.jsx)(l.A,{id:"head_to_head_short"})}),(0,s.jsx)(r.tU.Tab,{w:"72",h:"32",px:"lg",py:"0",textAlign:"center",children:(0,s.jsx)(a.p,{id:m.id,size:24,name:m.name,mt:"-4"})})]}),(0,s.jsx)(r.tU.Panel,{children:(0,s.jsx)(c.N,{team:u,event:n,isHome:u.id===n.homeTeam.id,isTabbedLayout:!0})}),(0,s.jsx)(r.tU.Panel,{children:(0,s.jsx)(d.G,{})}),(0,s.jsx)(r.tU.Panel,{children:(0,s.jsx)(c.N,{team:m,event:n,isHome:m.id===n.homeTeam.id,isTabbedLayout:!0})})]}):(0,s.jsxs)(r.so,{py:"sm",children:[(0,s.jsx)(c.N,{team:u,event:n,isHome:u.id===n.homeTeam.id}),(0,s.jsx)(r.cG,{vertical:!0}),(0,s.jsx)(c.N,{team:m,event:n,isHome:m.id===n.homeTeam.id})]})}},77988:(e,t,n)=>{"use strict";n.d(t,{A:()=>x,g:()=>h});var s=n(6029),a=n(44194),r=n(90248),i=n(494),l=n(2294),o=n(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 m(){let e=(0,i.d4)(l.a5);return(null==e?void 0:e.oddsMayDiffer)?(0,s.jsxs)("span",{children:[(0,s.jsx)("br",{}),(0,s.jsx)(r.A,{id:"disclaimer_odds_may_differ"})]}):null}function p(){let e=(0,i.d4)(o.LQ),t=e&&d[e];return t?(0,s.jsxs)("span",{children:[", ",(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]}):null}let h=e=>e&&u[e.toUpperCase()]?u[e.toUpperCase()]:18;function x(){let e,t=(0,i.d4)(o.LQ),n=(0,i.d4)(o.zj);return t&&n?e=c["".concat(t,"-").concat(n)]||c[t]:t&&(e=c[t]),(0,s.jsxs)(a.EY,{display:"block",textStyle:"body.small",textAlign:"center",color:"neutrals.nLv3",pr:"sm","data-qa-id":"gamble-responsibly",children:[e?(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:e}}):(0,s.jsx)(r.A,{id:"gamble_responsibly",values:{age:h(t)}}),(0,s.jsx)(p,{}),(0,s.jsx)(m,{})]})}},78492:(e,t,n)=>{var s=n(50956);e.exports=function(e,t,n,a){return s(e,function(e,s,r){t(a,e,n(e),r)}),a}},79263:(e,t,n)=>{"use strict";n.d(t,{j:()=>y});var s=n(21377),a=n(932),r=n.n(a),i=n(78383),l=n.n(i),o=n(84285),d=n.n(o),c=n(59018),u=n.n(c),m=n(55729),p=n(494),h=n(45860),x=n(2294),v=n(39196),g=n(70351);async function f(e,t){let n=u()(t),a={},r=await Promise.allSettled(n.map(t=>(0,s.TtD)(s.bnp.allOdds(e,t))));return n.forEach((e,t)=>{"fulfilled"===r[t].status&&(a[e]=r[t].value)}),a}async function j(e){let[t,n]=e,s={},a=!1,r=n.map(e=>e.oddsFromId),i=[],l=!1,o=await f(t,r);if(n.forEach(e=>{o[e.oddsFromId]?(s[e.id]=o[e.oddsFromId],e.oddsFromId!==e.id&&e.oddsMayDiffer&&(a=!0)):e.fallbackProviderId?o[e.fallbackProviderId]?s[e.id]=o[e.fallbackProviderId]:i.push(e.fallbackProviderId):l=!0}),!l&&i.length){let e=await f(t,i);n.forEach(t=>{!s[t.id]&&t.fallbackProviderId&&e[t.oddsFromId]?(s[t.id]=e[t.fallbackProviderId],t.oddsMayDiffer&&(a=!0)):l=!0})}if(l)throw Error("Could not fetch all odds");return{providerOdds:n.map(e=>s[e.id]),oddsMayDiffer:a}}let y=(e,t)=>{var n,s;let a=(0,p.d4)(x.fq),i=(0,p.d4)(e=>(0,x.GD)(e,t)),[o]=(0,g.A)(),{data:c,error:u,mutate:f,isLoading:y}=(0,h.Ay)(a&&(null==i?void 0:i.length)?[e,i,t,"ODDS_COMPARISON"]:null,{refreshInterval:6e4,fetcher:j});(0,m.useEffect)(()=>{f()},[t]);let b=new Set;null==c||null==(n=c.providerOdds)||n.forEach(e=>{var t;null==(t=e.markets)||t.forEach(e=>{b.add(e.id)})});let w=[...b];return(0,m.useEffect)(()=>{let e=[];return o&&w.forEach(t=>{if(t){let n=o.Topic.odds.byId(t),s=(0,v.p)("odds:".concat(t),n,l());e.push(o.subscribe(s))}}),()=>{e.forEach(e=>e())}},[o,null==c||null==(s=c[0])?void 0:s.eventId]),(0,m.useEffect)(()=>{let e=e=>{let t=r()(c);if(!t||!t.providerOdds.some(e=>!!e.markets))return;let n=[1,2,3];t.providerOdds.map(t=>{var n;return null==(n=t.markets)?void 0:n.findIndex(t=>t.id===e.id)}).forEach((s,a)=>{void 0!==s&&s>-1&&n.forEach(n=>{let i=e["choice".concat(n,".fractionalValue")];i&&d()(t,"providerOdds.".concat(a,".markets[").concat(s,"].choices[").concat(n-1,"].fractionalValue"),i,r())})}),f(t,!1)};o&&"boolean"!=typeof o&&w.forEach(t=>{if(t){let n=o.Topic.odds.byId(t),s=(0,v.p)("odds:".concat(t),n,e);o.subscribe(s)}})},[o,c,f]),{data:c,error:u,isLoading:y}}},80734:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var s=n(6029),a=n(21501),r=n(76356),i=n(55729),l=n(58775);function o(e){let t=1===i.Children.count(e.children),n=(0,a.hX)()&&e.openOnServer,[o,d]=(0,i.useState)(n||!1);return(0,s.jsxs)(r.az,{children:[(0,s.jsx)(r.az,{children:e.children[0]}),(0,s.jsx)(r.az,{display:o?"initial":"none",children:e.children.slice(1)}),!t&&(0,s.jsx)(l.d,{isOpen:o,onClick:()=>d(e=>!e)})]})}},81648:e=>{e.exports=function(e,t,n,s){for(var a=-1,r=null==e?0:e.length;++a{"use strict";n.d(t,{Au:()=>s,Mx:()=>r,XF:()=>i,zz:()=>a});var s=function(e){return e.Cloud="cloudDrakeKills",e.Elder="elderDrakeKills",e.Infernal="infernalDrakeKills",e.Mountain="mountainDrakeKills",e.Ocean="oceanDrakeKills",e}({}),a=function(e){return e.Terrorists="T",e.CounterTerrorists="CT",e}({}),r=function(e){return e.TopLane="top",e.Jungle="jun",e.MidLane="mid",e.BotLane="adc",e.Support="sup",e}({}),i=function(e){return e.HardCarry="hc",e.MidLane="mid",e.OffLand="off",e.SoftSupport="ss",e.HardSupport="hs",e}({})},85568:(e,t,n)=>{"use strict";n.d(t,{U:()=>l});var s=n(6029),a=n(44194),r=n(13030),i=n(51372);let l=e=>{let{branding:t,location:n,entityId:l,...o}=e,{isDesktop:d}=(0,a.$c)();return d&&t?(0,s.jsx)(r.A.Header,{...o,variant:"left-aligned",actionComponent:(0,s.jsx)(i.O,{minW:"[140px]",px:"sm",br:"xs",branding:t,location:n,entityId:l})}):(0,s.jsx)(r.A.Header,{...o})}},86523:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LiveActionWidgetContainer:()=>_,default:()=>I});var s=n(6029),a=n(21377),r=n(44194),i=n(41249),l=n(55729),o=n(494),d=n(45860),c=n(65789),u=n(54409),m=n(19451),p=n(7263),h=n(90248),x=n(41735);let v=(0,x.css)(["box-shadow:0 2px 12px 0 ",";position:absolute;padding:0 12px;border-radius:",";overflow:hidden;cursor:move;min-width:","px;max-width:","px;min-height:","px;max-height:","px;height:","px;"],e=>e.theme.colors.effect.elevation1,e=>e.theme.spacing.xl,320,800,520,800,500),g=(0,x.css)(["margin-bottom:12px;border-radius:",";"],e=>e.theme.spacing.xl),f=x.default.div.withConfig({componentId:"sc-69a4d50f-0"})(["z-index:100;background-color:",";"," "," ",""],e=>e.theme.colors.surface.s1,e=>e.expanded?v:g,e=>e.expanded&&e.width&&"width: ".concat(e.width,"px;"),e=>e.resizing&&"iframe {pointer-events: none;}"),j=x.default.div.withConfig({componentId:"sc-69a4d50f-1"})(["",""],e=>e.expanded&&"\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n "),y=(0,x.css)(["position:absolute;z-index:102;:hover{background-color:",";}"],e=>e.theme.colors.overlay.darken1),b=(0,x.default)(i.az).withConfig({componentId:"sc-69a4d50f-2"})(["",""],y),w=x.default.iframe.withConfig({componentId:"sc-69a4d50f-3"})(["display:block;"]),k=x.default.div.withConfig({componentId:"sc-69a4d50f-4"})([":fullscreen{background-color:",";}"],e=>e.theme.colors.surface.s1),S=(0,l.forwardRef)((e,t)=>{let{width:n,eventId:r,toggleButton:l,options:o}=e;return(0,s.jsxs)(k,{ref:t,children:[(0,s.jsx)(i.EY,{as:"h3",align:"center",lineHeight:"24px",font:"display.medium",pt:"md",pb:"xs",m:"0",children:(0,s.jsx)(h.A,{id:"event.liveAction"})}),(0,s.jsx)(i.az,{d:"table",m:"auto",py:"sm",children:(0,s.jsx)(i.az,{mx:"sm",children:(0,s.jsxs)(i.XI,{position:"relative",m:"auto",mb:"10px",children:[(0,s.jsx)(w,{src:(0,a.Lo9)(a.bnp.liveActionWidget(r,o)),width:n,height:.49*n,frameBorder:"0",scrolling:"no"}),l]})})})]})});function C(e,t,n,s){let a,r;function i(){document.onmouseup=null,document.onmousemove=null,n(!1),e&&e.clientWidth&&t(e.clientWidth)}function l(t){if(t.preventDefault(),t.stopPropagation(),e){let{horizontal:n,vertical:i,valence:l}=s;if(n){let n=e.offsetWidth+(t.clientX-a)*l;e.style.width="".concat(n,"px"),-1===l&&n>320&&n<800&&(e.style.left="".concat(e.offsetLeft+t.clientX-a,"px"))}if(i){let n=e.offsetHeight+(t.clientY-r)*l;e.style.height="".concat(n,"px"),-1===l&&n>520&&n<800&&(e.style.top="".concat(e.offsetTop+t.clientY-r,"px"))}a=t.clientX,r=t.clientY}}return function(e){e.preventDefault(),e.stopPropagation(),a=e.clientX,r=e.clientY,document.onmouseup=i,document.onmousemove=l,n(!0)}}let T=(e,t)=>{switch(t){case"lg":return 368;case"md":return 298;default:return e}},A=e=>{let{expanded:t,children:n}=e,a=(0,l.createRef)(),i=(0,l.createRef)(),o=(0,l.createRef)(),d=(0,l.createRef)(),c=(0,l.createRef)(),u=(0,l.createRef)(),m=(0,l.createRef)(),[p,h]=(0,l.useState)(0),[x,v]=(0,l.useState)(0),[g,y]=(0,l.useState)({x:0,y:0}),[w,k]=(0,l.useState)(!1),[A,_]=(0,l.useState)(!1),{mediaBreakpoint:I}=(0,r.$c)(),L=(0,l.useCallback)(e=>{e.preventDefault(),y({x:e.clientX,y:e.clientY}),k(!0)},[g,w]),E=(0,l.useCallback)(e=>{if(!w)return;let t=g.x-e.clientX,n=g.y-e.clientY;y({x:e.clientX,y:e.clientY});let s="".concat(e.currentTarget.offsetTop-n,"px"),a="".concat(e.currentTarget.offsetLeft-t,"px");e.currentTarget.style.top=s,e.currentTarget.style.left=a},[g,w]),F=(0,l.useCallback)(()=>{k(!1),document.body.style.pointerEvents=""},[g,w]);return(0,l.useEffect)(()=>{t&&(i.current&&(i.current.onmousedown=C(a.current,v,_,{vertical:!0,valence:-1})),o.current&&(o.current.onmousedown=C(a.current,v,_,{horizontal:!0,valence:1})),d.current&&(d.current.onmousedown=C(a.current,v,_,{vertical:!0,valence:1})),c.current&&(c.current.onmousedown=C(a.current,v,_,{horizontal:!0,valence:-1})),u.current&&(u.current.onmousedown=C(a.current,v,_,{horizontal:!0,vertical:!0,valence:1})),m.current&&(m.current.onmousedown=C(a.current,v,_,{horizontal:!0,vertical:!0,valence:-1}))),!t&&a.current&&(a.current.style.top="",a.current.style.left="",a.current.style.width="",a.current.style.height="")},[i.current,t]),(0,l.useEffect)(()=>{a.current&&(v(Math.min(640,document.body.offsetWidth)),p||h(a.current.clientWidth))},[a.current]),(0,s.jsxs)(f,{expanded:t,resizing:A,ref:a,onMouseDown:L,onMouseMove:w?E:void 0,onMouseUp:F,width:x,children:[t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(b,{ref:i,top:"0",left:"0",w:"100%",h:"4px",cursor:"ns-resize"}),(0,s.jsx)(b,{ref:o,top:"0",right:"0",w:"4px",h:"100%",cursor:"ew-resize"}),(0,s.jsx)(b,{ref:d,bottom:"0",left:"0",w:"100%",h:"4px",cursor:"ns-resize"}),(0,s.jsx)(b,{ref:c,top:"0",left:"0",w:"4px",h:"100%",cursor:"ew-resize"}),(0,s.jsx)(b,{ref:u,bottom:"0",right:"0",w:"12px",h:"12px",cursor:"se-resize"}),(0,s.jsx)(b,{ref:m,top:"0",left:"0",w:"m12px",h:"12px",cursor:"nw-resize"})]}),(0,s.jsx)(j,{expanded:t,children:l.Children.map(n,e=>e&&e.type===S?(0,l.cloneElement)(e,{...e.props,width:t?x-24:T(p-24,I)}):e)})]})};function _(e){let{eventId:t,modal:n,useNativeFullscreen:h,children:x}=e,{data:v}=(0,d.Ay)([a.bnp.liveActionWidget(t),"HEAD"],{fetcher:p.n}),[g,f]=(0,l.useState)(!1),[j,y]=(0,l.useState)(320),b=(0,l.createRef)(),[w,k]=(0,l.useState)(!1),C=(0,o.d4)(e=>e.locale.selectedLocale||m.Xn),T=(0,o.d4)(e=>e.locale.geoIPAlpha2),{isMobile:_}=(0,r.$c)(),I=(0,l.useMemo)(()=>{if((0,a.S$s)())return!1;let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;return h&&!t},[h]),L=(0,l.useCallback)(e=>{if(e){let e=b&&b.current;if(!e)return;let t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&((t=t.bind(e))(),screen.orientation&&screen.orientation.lock&&screen.orientation.lock("landscape"))}else{let e=document,t=e.exitFullscreen||e.webkitExitFullscreen||e.mozExitFullScreen||e.msExitFullscreen;t&&(t=t.bind(e))()}},[b,b.current]),E=(0,l.useCallback)(()=>{f(!g),h&&L(!g)},[b,b.current,g,f]);if((0,l.useEffect)(()=>{if(g&&b.current){let e=30;90===screen.orientation.angle&&(e=200),y(b.current.offsetWidth-e)}else y(320)},[b,b.current,g,y]),(0,l.useEffect)(()=>{h&&g&&b.current&&(w||(document.removeEventListener("fullscreenchange",e),document.addEventListener("fullscreenchange",e,{once:!0}),k(!0)));function e(){!0===document.fullscreen?(y(Math.max(window.screen.width,window.screen.height)),setTimeout(()=>{y(Math.max(window.screen.width,window.screen.height))},500)):!1===document.fullscreen&&(y(320),f(!1)),document.removeEventListener("fullscreenchange",e),k(!1)}},[b,b.current,g,y,w]),!v)return null;let F=(0,s.jsx)(S,{eventId:t,ref:b,width:j,toggleButton:I?null:(0,s.jsx)(i.so,{backgroundColor:"overlay.darken2",justify:"center",align:"center",position:"absolute",h:"32px",w:"32px",top:"sm",right:"sm",borderRadius:"50%",p:"0",onClick:E,border:"none",cursor:"pointer",hoverBg:"overlay.darken1",children:(0,s.jsx)(u.L9n,{expanded:g,fill:"white"})}),options:{language:C,china:"cn"===T,mobile:_}});return n?(0,s.jsxs)(A,{expanded:g,setExpanded:f,children:[F,g&&x]}):(0,s.jsx)(c.Zp,{children:F})}let I=_},90879:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var s=n(6029),a=n(41249),r=n(90248);let i=e=>{let{id:t,textId:n,checked:i,onChange:l,team:o}=e;return(0,s.jsx)(a.Sc,{id:t,checked:i,onChange:l,children:(0,s.jsx)(a.EY,{font:"body.medium",color:"onSurface.nLv1",textTransform:o?"capitalize":void 0,children:(0,s.jsx)(r.A,{id:n,values:{team:o}})})})}},90961:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var s=n(21377);let a=[s.QCR.Badminton,s.QCR.BeachVolley,s.QCR.Darts,s.QCR.ESports,s.QCR.MMA,s.QCR.Snooker,s.QCR.TableTennis],r=e=>!a.includes(e)},91407:(e,t,n)=>{"use strict";n.d(t,{t:()=>l});var s=n(64082),a=n(6029),r=n(21377),i=n(41249);let l=e=>{var{id:t,name:n,size:l=56,style:o,className:d,grayscale:c,isFantasy:u,placeholder:m="/static/images/placeholders/player.svg"}=e,p=(0,s.T)(e,["id","name","size","style","className","grayscale","isFantasy","placeholder"]);let h=p.w||p.width||l,x=p.h||p.height||l;return(0,a.jsx)(i._V,Object.assign({fallback:(0,a.jsx)(i._V,{style:Object.assign({borderRadius:"50%"},o),w:h,h:x,src:m,alt:n}),src:t?r.qvj.image(t,u):"",alt:n,w:h,h:x,br:"50%",border:"onSurface.nLv4",style:o,className:d,isGrayscale:c},p))}},92059:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var s=n(6029),a=n(10292),r=n(21377),i=n(44194),l=n(76356),o=n(45860),d=n(65789),c=n(24159),u=n(63263);let m=e=>(t,n)=>{var s,a,r,i;return(null!=(r=null==(s=e[t.position])?void 0:s.sortIndex)?r:100)-(null!=(i=null==(a=e[n.position])?void 0:a.sortIndex)?i:100)},p=e=>{var t;let{player:n,isInverted:r,positionIcons:o}=e,d="".concat(n.firstName||""," ").concat(n.lastName||""),u=n.position?null==(t=o[n.position])?void 0:t.icon:null;return(0,s.jsxs)(l.so,{py:"sm",px:"lg",direction:r?"row-reverse":"row",gap:"lg",children:[(0,s.jsxs)(l.az,{h:"3xl",w:"3xl",position:"relative",children:[(0,s.jsx)(a.t,{id:n.id,name:d,size:40}),u&&(0,s.jsx)(l.so,{justify:"center",align:"center",position:"absolute",p:"2xs",bg:"surface.s0",br:"50%",left:r?"-sm":void 0,right:r?void 0:"-sm",bottom:"-2xs",children:(0,s.jsx)(u,{w:16,h:16,fill:"onSurface.nLv1"})})]}),(0,s.jsxs)(l.BJ,{maxW:"2/3",pt:"xs",gap:"0",children:[(0,s.jsx)(i.EY,{w:"100%",textStyle:"body.large",textAlign:r?"right":"left",color:"neutrals.nLv1",truncate:!0,children:(0,s.jsx)(c.c,{entity:n})}),(0,s.jsx)(i.EY,{w:"100%",textStyle:"body.medium",textAlign:r?"right":"left",color:"neutrals.nLv3",truncate:!0,children:d})]})]})};function h(e){let{eventId:t,eSportsType:n,hidePlayers:a,isInWidget:i}=e,{data:c}=(0,o.Ay)(a?null:r.bnp.lineups(t));if(!(!a&&c&&c.home.players.length&&c.away.players.length))return null;let h=n===r.$2C.Dota?u.Js:u.Ew,x=c.home.players.sort(m(h)),v=c.away.players.sort(m(h));return(0,s.jsxs)(d.Zp,{isInverseDesktop:i,children:[(0,s.jsx)(d.Zp.Header,{titleId:"players"}),(0,s.jsxs)(l.so,{pb:"sm",children:[(0,s.jsx)(l.az,{w:"1/2",children:x.map(e=>(0,s.jsx)(p,{player:e.player,positionIcons:h},e.player.id))}),(0,s.jsx)(l.az,{w:"1/2",children:v.map(e=>(0,s.jsx)(p,{player:e.player,positionIcons:h,isInverted:!0},e.player.id))})]})]})}},95868:(e,t,n)=>{"use strict";n.d(t,{MB:()=>l,Hw:()=>o,hT:()=>c,R5:()=>d});var s=n(76410),a=n(71484);let r="___sofa-wsc___",i=e=>{let t=new RegExp("".concat(r,"(.*?)").concat(r)),n=e.match(t);return n?n[1]:""},l=e=>{let{type:t,location:n,tournamentId:s,roundId:a,eventId:i,screen:l}=e;return"".concat(r).concat(l,"--").concat(t,"--").concat(n,"--").concat(s,"--").concat(a,"--").concat(i).concat(r)},o=e=>{let[t,n,s,a,r,l]=i(e||"").split("--");return{screen:t,type:n,location:s,tournamentId:Number(a),roundId:"null"===r||"undefined"===r?null:Number(r),eventId:"null"===l||"undefined"===l?null:Number(l)}},d=e=>{let{screen:t,type:n,location:s,tournamentId:r,roundId:i,eventId:l}=o(e),d="Invalid WSC widget containerId: ".concat(e);if(e&&["single","multiple"].includes(n)&&["mobile","desktop"].includes(t)&&Object.values(a.D).includes(s)){if(isNaN(Number(r)));else if(i&&isNaN(Number(i)));else if(!(l&&isNaN(Number(l))))return!0}throw Error(d)},c=e=>{var t,n;let a=null==(t=e.detail)?void 0:t.eventData,r=(null==a?void 0:a.widget_id)||(null==a?void 0:a.origin_widget_id),i=null==(n=e.detail)?void 0:n.eventType;if(i&&r){let{eventId:e,tournamentId:t,location:n}=o(r);switch(i){case"widget_click":(0,s.kA)({id:e||t,location:n});break;case"story_exit":(0,s.G9)({id:e||t,location:n,timeOnScreen:a.content_duration_viewed})}}}},96003:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,x:()=>a});let s="bonus-odds-cta-seen",a="bet-boost-cta-seen"},97047:(e,t,n)=>{"use strict";n.d(t,{WG:()=>d,YL:()=>u,_z:()=>c,lE:()=>a,o_:()=>r});let s={EN:"GB",SX:"GB",WA:"GB",NX:"GB"},a=e=>e&&(s[e]||e),r=e=>{if(e)return"M"===e?"Male":"F"===e?"Female":void 0},i={en:{35:"https://en.wikipedia.org/wiki/Manchester_United_F.C.",38:"https://en.wikipedia.org/wiki/Chelsea_F.C.",1644:"https://en.wikipedia.org/wiki/Paris_Saint-Germain_F.C.",2351:"https://en.wikipedia.org/wiki/Rangers_F.C.",2687:"https://en.wikipedia.org/wiki/Juventus_F.C.",2817:"https://en.wikipedia.org/wiki/FC_Barcelona"},pt:{1963:"https://pt.wikipedia.org/wiki/Sociedade_Esportiva_Palmeiras",1966:"https://pt.wikipedia.org/wiki/Sport_Club_Internacional",5926:"https://pt.wikipedia.org/wiki/Gr%C3%AAmio_Foot-Ball_Porto_Alegrense",5981:"https://pt.wikipedia.org/wiki/Clube_de_Regatas_do_Flamengo"}},l={en:{7:"https://en.wikipedia.org/wiki/UEFA_Champions_League",8:"https://en.wikipedia.org/wiki/La_Liga",17:"https://en.wikipedia.org/wiki/Premier_League",19:"https://en.wikipedia.org/wiki/FA_Cup",23:"https://en.wikipedia.org/wiki/Serie_A",34:"https://en.wikipedia.org/wiki/Ligue_1",36:"https://en.wikipedia.org/wiki/Scottish_Premiership",328:"https://en.wikipedia.org/wiki/Coppa_Italia",329:"https://en.wikipedia.org/wiki/Copa_del_Rey",332:"https://en.wikipedia.org/wiki/Scottish_League_Cup",335:"https://en.wikipedia.org/wiki/Coupe_de_France",347:"https://en.wikipedia.org/wiki/Scottish_Cup"},pt:{325:"https://pt.wikipedia.org/wiki/Campeonato_Brasileiro_de_Futebol",373:"https://pt.wikipedia.org/wiki/Copa_do_Brasil_de_Futebol",384:"https://pt.wikipedia.org/wiki/Copa_Libertadores_da_Am%C3%A9rica"}},o={pt:{358554:"https://pt.wikipedia.org/wiki/Gabriel_Barbosa",32891:"https://pt.wikipedia.org/wiki/Mauricio_Isla",840219:"https://pt.wikipedia.org/wiki/Pedro_Guilherme_Abreu_dos_Santos",795291:"https://pt.wikipedia.org/wiki/Bruno_Henrique_Pinto",822526:"https://en.wikipedia.org/wiki/Gabriel_Batista",950454:"https://pt.wikipedia.org/wiki/Hugo_de_Souza_Nogueira",804703:"https://pt.wikipedia.org/wiki/Bruno_Viana_Willemen_da_Silva",333587:"https://pt.wikipedia.org/wiki/Giorgian_De_Arrascaeta",242213:"https://pt.wikipedia.org/wiki/Willian_Ar%C3%A3o"}},d=(e,t)=>{var n;return null==(n=i[t])?void 0:n[e]},c=(e,t)=>{var n;return null==(n=l[t])?void 0:n[e]},u=(e,t)=>{var n;return null==(n=o[t])?void 0:n[e]}},97350:(e,t,n)=>{"use strict";n.d(t,{U:()=>d});var s=n(6029),a=n(947),r=n(90248);let i=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=n(74620),o=n(27892);let d=e=>{let{id:t}=e,n=(0,a.A)(),d=(0,o.B)(i,t);return Object.keys(d).forEach(e=>{"surface"===e&&(d[e]=n.formatMessage({id:(0,o.O)(l,d[e])}).toLowerCase())}),(0,s.jsx)(r.A,{id:(0,o.O)(i,t),values:d})}},98095:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var s=n(4967),a=n(45860);let r=e=>fetch(e,{method:"HEAD",cache:"no-store"});function i(){let{data:e,error:t,isLoading:n}=(0,a.Ay)("https://cdn.adapex.io/hb/aaw.sofascore.js",{fetcher:r,dedupingInterval:s.d_});return{isLoading:n,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}},98423:(e,t,n)=>{"use strict";n.d(t,{e:()=>a.e,p:()=>s.p});var s=n(91603),a=n(33480)},99397:(e,t,n)=>{"use strict";n.d(t,{G:()=>a.A,t:()=>s.t});var s=n(91407),a=n(12605)}}]);