!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]="3283d44f-7ed2-41eb-a923-792ac3c8a0c4",e._sentryDebugIdIdentifier="sentry-dbid-3283d44f-7ed2-41eb-a923-792ac3c8a0c4")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8029],{868:(e,t,s)=>{s.d(t,{p:()=>v});var n=s(6029),l=s(21377),r=s(89875),i=s(76356),a=s(55729),o=s(90248),d=s(45860),c=s(65789),u=s(62859),x=s(54409),h=s(12153),m=s(36880),p=s(61836),j=s(14444);let g=[{titleId:"tennis_first_serve",key:"firstServePercentage"},{titleId:"tennis_average_aces_per_match",key:"aces"},{titleId:"break_points_saved",key:"breakPointsSavedPercentage"},{titleId:"break_points_converted",key:"breakPointsSavedConvertedPercentage"}],y=(e,t)=>{switch(t){case"firstServePercentage":if(isNaN(e.firstServePointsTotal)||isNaN(e.firstServeTotal))return[0,"-"];let s=Math.round(10*(e.firstServePointsTotal/e.firstServeTotal*100))/10;return[s,"".concat(s,"%")];case"aces":if(isNaN(e.aces)||isNaN(e.matches))return[0,"-"];let n=Math.round(e.aces/e.matches*10)/10;return[n,"".concat(n)];case"breakPointsSavedPercentage":if(isNaN(e.breakPointsSavedPercentage)||isNaN(e.opponentBreakPointsTotal)||isNaN(e.opponentBreakPointsScored))return[0,"-"];let l=Math.round(10*e.breakPointsSavedPercentage)/10,r=e.opponentBreakPointsTotal-e.opponentBreakPointsScored;return[l,"".concat(r,"/").concat(e.opponentBreakPointsTotal," (").concat(l,"%)")];case"breakPointsSavedConvertedPercentage":if(isNaN(e.breakPointsSavedConvertedPercentage)||isNaN(e.breakPointsScored)||isNaN(e.breakPointsTotal))return[0,"-"];let i=Math.round(10*e.breakPointsSavedConvertedPercentage)/10;return[i,"".concat(e.breakPointsScored,"/").concat(e.breakPointsTotal," (").concat(i,"%)")];default:return null}},v=()=>{var e,t;let{leftTeam:s,rightTeam:v,event:f}=(0,a.useContext)(u.y$),b=f.tournament.category.sport.slug,C=null==(e=f.tournament.uniqueTournament)?void 0:e.id,w=null==(t=f.season)?void 0:t.id,{data:S}=(0,d.Ay)(C&&w?l.cWY.seasonStatistics(s.id,C,w,"overall"):null),{data:k}=(0,d.Ay)(C&&w?l.cWY.seasonStatistics(v.id,C,w,"overall"):null);return S&&k?(0,n.jsxs)(c.Zp,{isNewCard:!0,children:[(0,n.jsx)(c.Zp.Header,{titleId:"tennis_tournament_stats_title"}),(0,n.jsxs)(i.az,{px:"sm",pb:"sm",children:[g.map((e,t)=>{let s=y(S.statistics,e.key),l=y(k.statistics,e.key);if(!s||!l)return null;let[a,d]=s,[c,u]=l;return(0,n.jsxs)(i.so,{minH:"[36px]",py:"sm",px:{mdDown:"sm"},w:"100%",align:"center",justify:"space-between",borderBottom:t!==g.length-1?"onSurface.nLv4":void 0,children:[(0,n.jsx)(r.Ym,{display:"block",textAlign:"start",w:"8xl",position:"relative",h:"100%",children:(0,n.jsx)(i.az,{position:"absolute",left:"0",top:"[50%]",whiteSpace:"nowrap",transform:"translateY(-50%)",children:(0,n.jsx)(m.W,{font:"table.medium",leftTeamBetter:a>c,children:d})})}),(0,n.jsx)(r.EY,{display:"block",textStyle:"table.medium",maxW:{md:"12xl"},textAlign:"center",lineClamp:3,children:(0,n.jsx)(o.A,{id:e.titleId})}),(0,n.jsx)(r.Ym,{display:"block",textAlign:"end",w:"8xl",position:"relative",h:"100%",children:(0,n.jsx)(i.az,{position:"absolute",right:"0",top:"[50%]",whiteSpace:"nowrap",transform:"translateY(-50%)",children:(0,n.jsx)(m.W,{font:"table.medium",rightTeamBetter:a(0,p.ke)({action:"click",location:"details_tab",type:"compare_teams_tennis"}),children:[(0,n.jsx)(r.EY,{textStyle:"action.button.primary",textTransform:"uppercase",color:"surface.s1",children:(0,n.jsx)(o.A,{id:"button_compare_more_stats"})}),(0,n.jsx)(i.az,{w:"lg",children:(0,n.jsx)(x.cSg,{fill:"surface.s1",w:16,h:16})})]})})})]})]}):null}},885:(e,t,s)=>{s.d(t,{X:()=>h});var n=s(6029),l=s(21377),r=s(55729),i=s(947),a=s(494),o=s(62859),d=s(25540),c=s(10794);let u={excluded:["CO","AL","BA","BG","HR","CY","CZ","SK","SI","EE","HU","LV","LT","MK","ME","CZ","RO","RS","UA"]},x={384:{included:["US","CA"]},480:{included:["US","CA"]},155:{included:["PE","ID","ZA","HT","MX","CO","US","EC","NG","FR","ES","GB","IT","PL","CL","IR","CG","TH"]},406:{included:["PE","BR","ID","US","TR","IT","NG","HT","MX","ZA","EC","TH"]},11539:u,11536:u,240:{included:["US","CA"]},34:{included:["US","CA"]},238:{included:["US","CA"]},52:{included:["US","CA"]}},h=e=>{var t,s;let{inWidget:u}=e,{event:h,leftTeam:m,rightTeam:p}=(0,r.useContext)(o.y$),j=(0,i.A)(),g=null==(t=h.tournament.uniqueTournament)?void 0:t.id,y=(0,a.d4)(c.LQ);if(!g||!y)return null;let v=x[g];return!v||(null==(s=v.excluded)?void 0:s.includes(y))||v.included&&!v.included.includes(y)?null:(0,n.jsx)(d.Q,{banner:{copy:{action:j.formatMessage({id:"learn_more_button"}),description:j.formatMessage({id:"banner_affiliate_description"},{codeName:"SOFASCORE"}),sectionTitle:j.formatMessage({id:"banner_affiliate_title"},{numberPercentage:"10%"})},type:l.$pL.CreativeBanner,background:l.jae.EntityHeader,detailImageUrl:{ltr:"/static/images/fanatiz/tv-ltr.png",rtl:"/static/images/fanatiz/tv-rtl.png"},campaignName:"fanatiz",url:"https://fanatiz.jbbfvx.net/557X22"},isInverseDesktop:u,bgImageUrl:[l.cWY.image(m.id),l.cWY.image(p.id)],location:"event_details"})}},1584:(e,t,s)=>{s.d(t,{A:()=>v});var n=s(6029),l=s(21377),r=s(76356),i=s(99064),a=s(71024),o=s.n(a),d=s(55729),c=s(65789),u=s(62859),x=s(26763),h=s(1840),m=s(5546),p=s(58047),j=s(85261);let g=o()(()=>s.e(4501).then(s.bind(s,14501)),{loadableGenerated:{webpack:()=>[14501]},ssr:!1,loading:()=>(0,n.jsx)(r.az,{h:"[620px]"})}),y=o()(()=>Promise.all([s.e(1254),s.e(6097),s.e(8702)]).then(s.bind(s,76097)),{loadableGenerated:{webpack:()=>[76097]},ssr:!1,loading:()=>(0,n.jsx)(r.az,{h:"[560px]"})});function v(){let e=(0,d.useContext)(u.Ws),{event:t}=(0,d.useContext)(u.y$),s=(0,x.A)(),r=e===l.QCR.MMA,a=(0,m.F0)(t);return(0,n.jsx)(i.tU.Panel,{tabKey:r?p.x.Fights:p.x.Matches,children:(0,n.jsxs)(c.BU,{children:[(0,n.jsx)(g,{}),(0,n.jsx)(j.v,{event:t}),(0,n.jsx)(y,{}),s&&(0,n.jsx)(h.z,{provider:a})]})})}},2974:(e,t,s)=>{s.d(t,{A:()=>i});var n=s(6029),l=s(55729),r=s(12153);let i=(0,l.forwardRef)((e,t)=>{let{venue:s,children:l,...i}=e;return s&&!s.hidden&&s.country.slug?(0,n.jsx)(r.A,{...i,routeKey:"venue",params:{country:s.country.slug,slug:s.slug,id:s.id},ref:t,children:l}):(0,n.jsx)(n.Fragment,{children:l})})},3856:(e,t,s)=>{s.d(t,{O:()=>a});var n=s(6029),l=s(18612),r=s(55729);let i=e=>{let{offset:t,rows:s}=e;return(0,n.jsx)(n.Fragment,{children:Array.from(Array(s).keys()).map(e=>(0,n.jsxs)(r.Fragment,{children:[e%2==0&&(0,n.jsx)("rect",{x:8,y:t+36*e,width:48,height:24,rx:"12"}),(0,n.jsx)("rect",{x:"calc(50% - 50px)",y:t+36*e+6,width:100,height:16}),e%2!=0&&(0,n.jsx)("rect",{x:"calc(100% - 56px)",y:t+36*e,width:48,height:24,rx:"12"}),(0,n.jsx)("rect",{x:8,y:t+36*e+30,width:"calc(100% - 16px)",height:1})]},e))})};function a(e){let{style:t}=e;return(0,n.jsxs)(l.D,{height:600,style:t,uniqueKey:"statistics-cl",children:[(0,n.jsx)("rect",{x:"calc(50% - 88px)",y:25,width:48,height:34,rx:"8"}),(0,n.jsx)("rect",{x:"calc(50% - 24px)",y:25,width:48,height:34,rx:"8"}),(0,n.jsx)("rect",{x:"calc(50% + 40px)",y:25,width:48,height:34,rx:"8"}),(0,n.jsx)(i,{rows:4,offset:86}),(0,n.jsx)(i,{rows:4,offset:262}),(0,n.jsx)(i,{rows:4,offset:438})]})}},5108:(e,t,s)=>{s.d(t,{W:()=>i});var n=s(6029),l=s(76356),r=s(65789);let i=()=>(0,n.jsx)(r.Zp,{isInverseDesktop:!0,children:(0,n.jsx)(l.az,{h:"[136px]"})})},5348:(e,t,s)=>{s.d(t,{N:()=>u});var n=s(6029),l=s(21377),r=s(89875),i=s(76356),a=s(55729),o=s(90248),d=s(65789),c=s(54409);let u=e=>{let{event:t}=e,[s,u]=(0,a.useState)(!1),x=t.status.type===l.XUj.InProgress||t.status.type===l.XUj.Finished,h=void 0!==t.homeScore.display||void 0!==t.homeScore.current,m=void 0!==t.awayScore.display||void 0!==t.awayScore.current;return t.crowdsourcingDataDisplayEnabled&&x&&h&&m?(0,n.jsx)(d.Zp,{isNewCard:!0,children:(0,n.jsxs)(i.so,{onClick:()=>u(e=>!e),py:"sm",px:"lg",align:"center",cursor:"pointer",children:[(0,n.jsx)(c.Mv5,{fill:"sofaSingles.crowdsourcingLive",w:24,h:24,mr:"lg"}),(0,n.jsx)(r.EY,{textStyle:"body.small",children:(0,n.jsx)(o.A,{id:"crowdsourcing_unofficial_result"})}),(0,n.jsx)(r.aF,{isOpen:s,w:"[312px]",children:(0,n.jsxs)(i.so,{direction:"column",align:"center",p:"lg",children:[(0,n.jsx)(i.az,{br:"50%",p:"md",bg:"status.crowdsourcingLiveHighlight",children:(0,n.jsx)(c.Mv5,{fill:"status.crowdsourcingLive",w:32,h:32})}),(0,n.jsx)(r.H3,{w:"100%",textStyle:"display.large",mt:"lg",mb:"sm",textAlign:"start",children:(0,n.jsx)(o.A,{id:"crowdsourcing_displaying_result_title"})}),(0,n.jsx)(r.EY,{textStyle:"body.mediumParagraph",mt:"sm",children:(0,n.jsx)(o.A,{id:"crowdsourcing_displaying_result_info_text"})}),(0,n.jsx)(i.so,{mt:"xl",alignSelf:"flex-end",justify:"flex-end",children:(0,n.jsx)(r.$n,{variant:"clear",onClick:()=>u(!1),children:(0,n.jsx)(o.A,{id:"close_window_button"})})})]})})]})}):null}},8718:(e,t,s)=>{s.d(t,{A:()=>u});var n=s(6029),l=s(76356),r=s(99064),i=s(71024),a=s.n(i),o=s(55729),d=s(62859);let c=a()(()=>s.e(6686).then(s.bind(s,16686)),{loadableGenerated:{webpack:()=>[16686]},ssr:!1,loading:()=>(0,n.jsx)(l.az,{h:"[1000px]"})});function u(e){let{tabKey:t}=e,{location:s}=(0,o.useContext)(d.y$),i=s===d.cb.Widget;return(0,n.jsx)(r.tU.Panel,{tabKey:t,children:(0,n.jsx)(l.az,{bg:{mdDown:"surface.s0"},p:{base:"sm",md:i?"sm":void 0},children:(0,n.jsx)(c,{})})})}},9088:(e,t,s)=>{s.d(t,{I:()=>I});var n=s(6029),l=s(21377),r=s(89875),i=s(76356),a=s(55729),o=s(90248),d=s(65789),c=s(52951),u=s(62827),x=s(4967),h=s(947),m=s(80734),p=s(82707),j=s(94604),g=s(7309),y=s(84942),v=s(71046);function f(e){let{event:t}=e,s=(0,h.A)(),{homeTeam:l,awayTeam:i,tournament:a,startTimestamp:d,venue:c}=t,u=(0,y.s)(l,s.locale),m=(0,y.s)(i,s.locale),j=a.category.sport,g=s.formatDate((0,x.pp)(d,!0),{...x.or.dateWithShortMonth}),f=s.formatTime((0,x.pp)(d,!0));return(0,n.jsxs)(n.Fragment,{children:[!!c&&(0,n.jsx)(r.EY,{py:"sm",display:"block",children:(0,n.jsx)(o.A,{id:"event.about.schema",values:{homeTeamName:u,awayTeamName:m,startDate:g,startTime:f,...(0,v.Ee)(c),title:function(){for(var e=arguments.length,t=Array(e),s=0;s(0,n.jsx)("a",{href:"https://www.sofascore.com",children:e}),sport:T.slug}})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)(r.EY,{py:"sm",textStyle:"body.mediumParagraph",display:"block",children:(0,n.jsx)(o.A,{id:"event.about3",values:{homeTeamName:k,awayTeamName:A,streamSponsor:i,sportName:T.name,sportLink:(0,n.jsx)(p.di,{translatedParams:{sport:T.slug},children:(0,n.jsx)(o.A,{id:"team.about.sportLivescore",values:{sport:T.name}})})}})}),(0,n.jsx)(f,{event:t})]})]})}var A=s(27289);function _(e){let{event:t}=e,s=(0,h.A)(),{homeTeam:l,awayTeam:i,tournament:d,startTimestamp:u,venue:y}=t,b=(0,n.jsx)(j.Rm,{team:l}),C=(0,n.jsx)(j.Rm,{team:i}),w=!!y,S=s.formatDate((0,x.pp)(u,!0),{...x.or.dateWithShortMonth}),k=s.formatTime((0,x.pp)(u,!0)),_=(0,v.Ee)(y),{eventMeta:T}=(0,a.useContext)(c.xV),E=(0,g.w)(d);return(0,n.jsxs)(m.n,{children:[(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.EY,{py:"sm",textStyle:"body.mediumParagraph",display:"block",children:(0,n.jsx)(o.A,{id:"event.about.new",values:{homeTeamName:b,awayTeamName:C,startDate:S,startTime:k,tournamentName:E,hasVenue:w,..._,tlink:function(){for(var e=arguments.length,t=Array(e),s=0;se.event.id===t.event.id&&typeof e.event.venue==typeof t.event.venue)},10951:(e,t,s)=>{s.d(t,{y:()=>y});var n=s(6029),l=s(21377),r=s(76356),i=s(55729),a=s(65789),o=s(62859),d=s(34765),c=s(33144),u=s(89875);let x=e=>{let{status:t}=e;return(0,n.jsx)(r.az,{w:"sm",h:"sm",bg:"scored"===t?"status.success.default":"missed"===t?"status.error.default":"neutrals.nLv4",br:"xs",my:"xs"})};function h(e){let{team:t,incidents:s,score:l,isLive:i,isTied:a,isWinner:o,isShootingNext:d,basePenaltyCount:h}=e,m=[...Array(h).keys()],p=Math.max(0,s.length-h),j=[];for(let e=0;e{var t,s;return(null==(t=e.player)?void 0:t.shortName)||(null==(s=e.player)?void 0:s.name)||e.playerName});return(0,n.jsxs)(r.az,{w:"100%",children:[(0,n.jsxs)(r.so,{align:"flex-start",h:"xl",bg:d?"secondary.highlight":"surface.s2",br:"lg",children:[(0,n.jsx)(r.az,{mr:"lg",children:(0,n.jsx)(c.p,{id:t.id,size:24})}),(0,n.jsxs)(r.so,{my:"xs",gap:"lg",children:[(0,n.jsx)(r.so,{gap:"sm",children:m.map(e=>{var l;return(0,n.jsx)(x,{status:null==(l=s[e])?void 0:l.incidentClass},"".concat(t.id,"-").concat(e))})}),!!j.length&&(0,n.jsxs)(r.so,{wrap:"wrap",gap:"sm",children:[j.map(e=>{var l;return(0,n.jsx)(x,{status:null==(l=s[e])?void 0:l.incidentClass},"".concat(t.id,"-").concat(e+h))}),a&&(0,n.jsx)(x,{status:"taker"})]})]}),(0,n.jsx)(r.az,{flexGrow:1,my:"xs",ml:"sm",mr:"md",children:(0,n.jsx)(u.EY,{textStyle:"display.small",color:i?"status.live":o?"neutrals.nLv1":"neutrals.nLv3",minW:"[20px]",textAlign:"end",display:"block",children:l})})]}),g&&(0,n.jsx)(r.so,{ml:"4xl",mt:"2xs",wrap:"wrap",children:s.map((e,l)=>{var r,i;let a=(null==(r=e.player)?void 0:r.shortName)||(null==(i=e.player)?void 0:i.name)||e.playerName||"-",o=e.incidentClass;return(0,n.jsx)(u.EY,{color:"scored"===o?"status.success.default":"missed"===o?"status.error.default":"neutrals.nLv4",textStyle:"body.small",display:"block",mr:"xs",children:"".concat(a).concat(l===s.length-1?"":",")},"".concat(t.id,"-").concat(a))})})]})}var m=s(69385);let p=(e,t)=>e.isHome&&!t||!e.isHome&&t,j={[l.QCR.Football]:5,[l.QCR.Minifootball]:3,[l.QCR.Rugby]:5},g=e=>{let{incidents:t,isLoading:s,isError:d}=e,{event:c,leftTeam:u,rightTeam:x,leftScore:g,rightScore:y}=(0,i.useContext)(o.y$),v=(0,m.A)(c),{leftIncidents:f,rightIncidents:b,...C}=(0,i.useMemo)(()=>{let e=[],s=[],n=0,l=0,r=!1;return t.forEach(t=>{"penaltyShootout"===t.incidentType&&("taker"!==t.incidentClass?p(t,v)?(e.unshift(t),"scored"===t.incidentClass&&n++):(s.unshift(t),"scored"===t.incidentClass&&l++):r=!0)}),{leftIncidents:e,rightIncidents:s,leftComputedScore:n,rightComputedScore:l,hasTaker:r}},[t]),w=c.tournament.category.sport.slug;if(!j[w]||d)return null;let S=C.leftComputedScore,k=C.rightComputedScore,A=!f.length&&!b.length&&!C.hasTaker;c.status.code===l.sum.AP&&g.penalties&&y.penalties&&(S=Math.max(S,g.penalties),k=Math.max(k,y.penalties));let _=s&&[l.sum.AP,l.sum.Penalties].includes(c.status.code);if(A&&!_)return null;let T=S===k&&f.length===b.length,E=c.status.type===l.XUj.InProgress;return(0,n.jsxs)(a.Zp,{isNewCard:!0,children:[(0,n.jsx)(a.Zp.Header,{titleId:"penaltyShootout"}),(0,n.jsxs)(r.so,{direction:"column",gap:"lg",px:"md",pt:"sm",pb:"md",children:[(0,n.jsx)(h,{team:u,incidents:f,score:S,isLive:E,isTied:T,isWinner:S>k,basePenaltyCount:j[w]}),(0,n.jsx)(h,{team:x,incidents:b,score:k,isLive:E,isTied:T,isWinner:S{let{incidents:e,isError:t,isLoading:s}=(0,d.L)(),{event:l}=(0,i.useContext)(o.y$);return j[l.tournament.category.sport.slug]&&(e.length||s)?(0,n.jsx)(g,{incidents:e,isError:t,isLoading:s}):null}},11687:(e,t,s)=>{s.d(t,{s:()=>Y});var n=s(6029),l=s(40237),r=s(21377),i=s(89875),a=s(76356),o=s(55729),d=s(90248),c=s(45860),u=s(65789),x=s(23727),h=s(62859),m=s(54409),p=s(75751);let j=[r.QCR.MMA],g=(e,t,s)=>j.includes(s)?[e.homeTeamRanking,e.awayTeamRanking]:[t.homeTeam.position,t.awayTeam.position],y=(e,t)=>e===r.QCR.MMA?{titleId:"pre_match_rankings",teamLabelId:"fighter",recordLabelId:"record"}:{titleId:"form.prematchStandings",teamLabelId:"team",recordLabelId:t.label};var v=s(54053),f=s(79926),b=s(75327);let C=e=>e.tournament.uniqueTournament&&e.weightClass&&e.gender?r.AZO.divisionRankings(e.tournament.uniqueTournament.id,e.weightClass,e.gender):null,w=()=>{let{event:e}=(0,o.useContext)(h.y$),{data:t}=(0,c.Ay)(C(e));return t?(0,n.jsxs)(a.az,{maxH:{md:"[600px]"},children:[(0,n.jsx)(i.EY,{textStyle:"display.medium",p:"md",display:"block",children:(0,n.jsx)(b.L,{weightClass:e.weightClass})}),t.rankingRows.map(t=>(0,n.jsx)(f.A,{ranking:t,gender:e.gender},t.id))]}):null},S=()=>{let[e,t]=(0,o.useState)(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(i.EY,{textStyle:"display.small",color:"primary.default",textAlign:"center",cursor:"pointer",onClick:()=>t(!0),children:[(0,n.jsx)(d.A,{id:"mma_division_rankings"}),(0,n.jsx)(m.zQC,{icon:"chevron-right",fill:"primary.default",width:16,height:16})]}),(0,n.jsx)(v.A,{isOpen:e,setIsOpen:t,children:(0,n.jsx)(w,{})})]})};var k=s(33144);let A=e=>{let{record:t,placement:s,reversed:l}=e;return(0,n.jsxs)(a.so,{direction:"column",rowGap:"xs",children:[0===s?(0,n.jsxs)(a.so,{columnGap:"xs",children:[(0,n.jsx)(m.Lam,{w:16,h:16}),(0,n.jsx)(i.EY,{textStyle:"assistive.default",children:(0,n.jsx)(d.A,{id:"fighter_ranking_mma"})})]}):(0,n.jsx)(i.EY,{textStyle:"assistive.default",textAlign:l?"end":"start",children:void 0!==s?"#".concat(s):(0,n.jsx)(d.A,{id:"mma_fighter_not_ranked"})}),t&&(0,n.jsxs)(a.so,{gap:"sm",children:[(0,n.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:"W-L-D"}),(0,n.jsx)(a.cG,{orientation:"vertical",color:"neutrals.nLv4",borderInlineEndStyle:"solid"}),(0,n.jsxs)(i.EY,{textStyle:"assistive.default",children:[t.wins,"-",t.losses,"-",t.draws]})]})]})};var _=s(1949),T=s(48799);let E=e=>{let{winTypeForm:t}=e,s=function(e){let t=e.slice(-3);for(;t.length<3;)t.push(void 0);return t}(t);return(0,n.jsx)(a.so,{br:"xs",h:"xl",overflow:"hidden",gap:"[1px]",children:s.map((e,t)=>void 0===e?(0,n.jsx)(a.az,{flexGrow:1,flexBasis:"[0]",bg:"neutrals.nLv4"},t):(0,n.jsx)(T.E,{flexGrow:1,flexBasis:"[0]",colorPalette:_.nf[e.outcome],children:(0,n.jsx)(i.EY,{textStyle:"display.small",color:"surface.s1",children:e.winType||e.outcome})},t))})},P=e=>{let{fighter:t,placement:s,form:l,reversed:r}=e,i=null==t?void 0:t.wdlRecord;return(0,n.jsxs)(a.so,{direction:"column",gap:"lg",grow:1,basis:"[0]",children:[(0,n.jsxs)(a.so,{gap:"md",direction:r?"row-reverse":"row",children:[(0,n.jsx)(k.p,{hasFlag:!0,size:32,id:t.id,sport:t.sport,gender:t.gender}),(0,n.jsx)(A,{record:i,placement:s,reversed:r})]}),(0,n.jsx)(E,{winTypeForm:l.winTypeForm||[]})]})},I=e=>{let{form:t}=e,{event:s,leftTeam:l,rightTeam:c}=(0,o.useContext)(h.y$),[u,x]=g(s,t,r.QCR.MMA);return(0,n.jsxs)(a.so,{direction:"column",rowGap:"xl",p:"md",children:[(0,n.jsx)(i.EY,{textStyle:"display.medium",display:"block",textAlign:"center",children:(0,n.jsx)(d.A,{id:"mma_last_3_fights"})}),(0,n.jsxs)(a.so,{gap:{base:"2xl",md:"lg",lg:"2xl"},children:[(0,n.jsx)(P,{fighter:l,placement:u,form:t.homeTeam}),(0,n.jsx)(a.az,{alignSelf:"stretch",children:(0,n.jsx)(a.cG,{color:"neutrals.nLv4",orientation:"vertical",borderInlineEndStyle:"solid"})}),(0,n.jsx)(P,{fighter:c,placement:x,form:t.awayTeam,reversed:!0})]}),(0,n.jsx)(S,{})]})},L=e=>{var t,s;let{form:d,team:c,placement:u,showPlacement:x}=e,p=(0,o.useContext)(h.Ws)===r.QCR.MMA;return(0,n.jsxs)(a.so,{align:"center",h:"4xl",children:[x&&(0,n.jsx)(i.EY,{textStyle:"table.medium",w:"[36px]",letterSpacing:"-0.5px",textAlign:"center",children:0===u&&p?(0,n.jsx)(m.Lam,{}):u||"-"}),(0,n.jsx)(a.so,{justify:"center",w:"5xl",children:(0,n.jsx)(i.EY,{textStyle:"table.medium",children:p?(0,n.jsx)(l.p,{hasFlag:!0,size:32,id:c.id,countryName:null==(t=c.country)?void 0:t.name,alpha2:null==(s=c.country)?void 0:s.alpha2,sport:c.sport,gender:c.gender,right:!0}):(0,n.jsx)(l.p,{size:32,id:c.id})})}),(0,n.jsx)(a.az,{flexGrow:1,flexShrink:0,children:(0,n.jsx)(_.o1,{form:null==d?void 0:d.form})}),(0,n.jsxs)(a.so,{minW:"10xl",align:"center",justify:d.avgRating?"space-between":"flex-end",px:"md",children:[d.avgRating&&(0,n.jsx)(l.G,{rating:d.avgRating,format:"sideBox"}),(0,n.jsx)(i.EY,{textStyle:"table.medium",textAlign:"end",minW:"lg",ml:"md",letterSpacing:"-0.5px",children:d.value})]})]})},z=e=>{let{form:t,labels:s}=e,l=(0,o.useContext)(h.Ws),{event:r}=(0,o.useContext)(h.y$),[c,u]=g(r,t,l),x=void 0===u||Number(c)=0||(null!=u?u:-1)>=0;return(0,n.jsxs)(a.az,{children:[(0,n.jsxs)(a.so,{align:"center",pt:"sm",children:[m&&(0,n.jsx)(i.EY,{textStyle:"table.medium",color:"neutrals.nLv3",w:"[36px]",letterSpacing:"-0.5px",textAlign:"center",children:"#"}),(0,n.jsx)(i.EY,{textStyle:"table.medium",color:"neutrals.nLv3",w:"5xl",letterSpacing:"-0.5px",textAlign:"center",children:(0,n.jsx)(d.A,{id:s.teamLabelId})}),(0,n.jsx)(a.az,{flexGrow:1,flexShrink:0,children:(0,n.jsx)(i.EY,{display:"block",textStyle:"table.medium",color:"neutrals.nLv3",maxW:{base:"[156px]",md:"[188px]"},pl:"sm",letterSpacing:"-0.5px",textAlign:"end",children:(0,n.jsx)(d.A,{id:"latest"})})}),(0,n.jsx)(i.EY,{display:"block",textStyle:"table.medium",color:"neutrals.nLv3",w:"12xl",pr:"md",letterSpacing:"-0.5px",textAlign:"end",children:(0,n.jsx)(d.A,{id:s.recordLabelId})})]}),(0,n.jsx)(L,{form:x?t.homeTeam:t.awayTeam,team:x?r.homeTeam:r.awayTeam,placement:x?c:u,showPlacement:m}),(0,n.jsx)(L,{form:x?t.awayTeam:t.homeTeam,team:x?r.awayTeam:r.homeTeam,placement:x?u:c,showPlacement:m})]})},Y=function(e){let{eventId:t,onClick:s}=e,{data:l,isLoading:i}=(0,c.Ay)(r.bnp.prematchStandings(t)),d=(0,o.useContext)(h.Ws),m=d!==r.QCR.MMA&&!!s;if(i)return(0,n.jsx)(u.Zp,{isNewCard:!0,children:(0,n.jsx)("div",{style:{height:m?178:170}})});if(!l)return null;let j=y(d,l);return(0,n.jsx)(p.t,{tag:"PrematchStandings",children:(0,n.jsxs)(u.Zp,{isNewCard:!0,children:[!m&&(0,n.jsx)(u.Zp.Header,{titleId:j.titleId}),(0,n.jsx)(a.az,{px:"sm",pt:m?"sm":void 0,children:d===r.QCR.MMA?(0,n.jsx)(I,{form:l}):(0,n.jsx)(z,{form:l,labels:j})}),(0,n.jsx)(u.Zp.Footer,{ctaParams:m?{messageId:j.titleId,onClick:s,icon:x.X.Right}:void 0,defaultHeight:"sm"})]})})}},14395:(e,t,s)=>{s.d(t,{n:()=>n.A});var n=s(35621)},15258:(e,t,s)=>{s.d(t,{d:()=>n.d,p:()=>l.p});var n=s(25635),l=s(91603)},15328:(e,t,s)=>{s.d(t,{A:()=>m});var n=s(6029),l=s(99064),r=s(71024),i=s.n(r),a=s(65789),o=s(51372),d=s(59754),c=s(58047),u=s(31215),x=s(10234);let h=i()(()=>Promise.all([s.e(6591),s.e(4632),s.e(6618),s.e(4025),s.e(986),s.e(9814)]).then(s.bind(s,29814)),{loadableGenerated:{webpack:()=>[29814]},ssr:!1});function m(e){let{event:t,leftTeamId:s,rightTeamId:r}=e,i=(0,d.Z)(t,"standings");return(0,n.jsxs)(l.tU.Panel,{tabKey:c.x.Standings,children:[i&&(0,n.jsx)(o.O,{entityId:t.id,branding:i,bannerText:i.standingsText,location:"event_standings"}),!!t.season&&(0,n.jsx)(a.BU,{children:(0,n.jsx)(h,{tournamentId:t.tournament.id,seasonId:t.season.id,homeTeamId:s,awayTeamId:r,Header:e=>{var s;let{title:l}=e;return(0,n.jsx)(u.A,{tournamentId:t.tournament.id,tournamentName:null!=l?l:(0,n.jsx)(x.J,{tournament:t.tournament}),uniqueTournamentId:null==(s=t.tournament.uniqueTournament)?void 0:s.id})},isNarrowLayout:!0})})]})}},17803:(e,t,s)=>{s.d(t,{m2:()=>E,D_:()=>y.D});var n=s(6029),l=s(21377),r=s(76356),i=s(55729),a=s(45860),o=s(65789),d=s(65078),c=s(494),u=s(10794),x=s(95868),h=s(33144),m=s(89875),p=s(90248),j=s(54409);let g=e=>{let{event:t,onHighlightShortcutClick:s}=e;return(0,n.jsx)(o.Zp,{isNewCard:!0,children:(0,n.jsxs)(r.so,{direction:"row",align:"center",justify:"center",gap:"lg",p:"lg",children:[(0,n.jsxs)(r.so,{w:"100%",h:"auto",align:"flex-start",justify:"center",direction:"column",gap:"md",children:[(0,n.jsx)(m.EY,{textStyle:"display.small",children:(0,n.jsx)(p.A,{id:"media_tab_banner_text"})}),(0,n.jsxs)(m.$n,{size:"tertiary",onClick:s,p:"sm",children:[(0,n.jsx)(m.EY,{textStyle:"display.small",color:"surface.s1",children:(0,n.jsx)(p.A,{id:"button_view_media"})}),(0,n.jsx)(r.so,{pl:"xs",children:(0,n.jsx)(j.pTb,{})})]})]}),(0,n.jsxs)(r.so,{w:"100%",direction:"column",justify:"center",align:"flex-end",pr:"lg",children:[(0,n.jsx)(r.so,{position:"absolute",mb:"md",mr:"md",children:(0,n.jsx)(h.p,{id:null==t?void 0:t.homeTeam.id})}),(0,n.jsx)(r.so,{position:"absolute",mt:"md",ml:"md",children:(0,n.jsx)(h.p,{id:null==t?void 0:t.awayTeam.id})})]})]})})};var y=s(85625),v=s(61836);let f=(0,s(9127).m)(r.az),b=()=>(0,n.jsxs)(r.so,{justify:"space-between",align:"center",w:"4xl",h:"lg",pl:"sm",pr:"xs",br:"sm",bg:"surface.s1",position:"absolute",top:"sm",right:"sm",children:[(0,n.jsx)(m.EY,{textStyle:"assistive.default",color:"status.live",lineHeight:1,children:(0,n.jsx)(p.A,{id:"live"})}),(0,n.jsx)(f,{w:"md",h:"md",br:"md",border:"1px solid {colors.status.live}",position:"absolute",right:"2xs",animate:{opacity:[0,1,0],scale:[.1,.7,1.2]},transition:{type:"tween",duration:1,repeat:1/0,ease:"easeOut"}}),(0,n.jsx)(r.az,{w:"sm",h:"sm",br:"sm",ml:"xs",bg:"status.live"})]}),C=e=>{let{eventId:t,location:s,messageId:l,isLive:i,thumbnail:a,children:o,showWebviewContent:d,isDetailsTab:c,isSpecialMediaHighlight:u,isWSCStoryHighlight:x,setShowWebviewContent:h,onMediaShortcutClick:g}=e;return(0,n.jsxs)(r.az,{w:"100%",h:"100%",br:"lg",bg:"overlay.darken1",position:"absolute",overflow:"hidden",style:{pointerEvents:u?"fill":"none"},children:[(0,n.jsxs)(r.so,{w:"100%",py:"sm",justify:"space-between",align:"center",px:"lg",bg:"overlay.darken1",position:"absolute",left:"0",bottom:"0",zIndex:"fixed",children:[(0,n.jsx)(m.EY,{textStyle:"display.medium",color:"onColor.primary",children:(0,n.jsx)(p.A,{id:c?"official_highlights_title":l})}),c?(0,n.jsx)(r.so,{style:{pointerEvents:"fill"},children:(0,n.jsxs)(m.$n,{size:"tertiary",onClick:g,negative:!0,children:[(0,n.jsx)(m.EY,{color:"graphics.dark",fontStyle:"assistive.default",children:(0,n.jsx)(p.A,{id:"button_see_all_media"})}),(0,n.jsx)(j.pTb,{})]})}):null]}),i&&(0,n.jsx)(b,{}),(0,n.jsxs)(r.so,{h:"100%",w:"100%",justify:"center",onClick:()=>{h(e=>!e),x&&(0,v.kA)({id:t,location:s})},children:[(0,n.jsx)(j.reY,{w:"48px",h:"48px",fill:"onColor.primary",top:"50%",left:"50%",position:"absolute",cursor:"pointer",style:{transform:"translate(-50%, -50%)"}}),u&&(0,n.jsx)(r.so,{h:"[210px]",w:"[374px]",cursor:"pointer",bgSize:"cover",bgPosition:"center",style:{backgroundImage:"url(".concat(a,")")}})]}),d&&(0,n.jsx)(r.so,{h:"100%",w:"100%",justify:"center",position:"absolute",top:"0",elevation:"1",children:o})]})},w=e=>{let{eventId:t,location:s,eventMediaHighlight:l,messageId:i,isLive:a,isDetailsTab:o,setShowWebviewContent:d,onMediaShortcutClick:c}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(C,{eventId:t,location:s,messageId:i,isLive:a,isDetailsTab:o,onMediaShortcutClick:c,thumbnail:l.thumbnailUrl,isSpecialMediaHighlight:!0,showWebviewContent:!0,setShowWebviewContent:d,children:(0,n.jsx)(r.I4.a,{w:"100%",h:"100%",href:l.url,target:"_blank"})})})};var S=s(52827);let k=e=>{let{url:t,title:s,showPlayer:l,setShowPlayer:i}=e;return(0,n.jsxs)(r.so,{h:"100%",w:"100%",position:"fixed",display:l?void 0:"none",left:"0",top:"0",zIndex:"modal",children:[(0,n.jsx)(r.so,{p:"sm",br:"50%",top:{base:"[70px]",md:"xl"},right:{md:"xl"},left:{mdDown:"lg"},position:"absolute",bgColor:"overlay.darken2",_hover:{bg:"overlay.darken1"},onClick:()=>i(e=>!e),children:(0,n.jsx)(j.zQC,{h:"30",w:"30",icon:"close",style:{cursor:"pointer"},fill:"onColor.primary"})}),(0,n.jsx)("iframe",{src:t,width:"100%",height:"100%",title:s,style:{border:"none"},loading:"lazy"})]})},A=e=>{let{eventId:t,location:s,containerId:l,eventWSCHighlight:i,messageId:a,isLive:o,isDetailsTab:d,showWebviewContent:c,setShowWebviewContent:u,onMediaShortcutClick:x}=e,h=(0,S.i)(l);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.az,{ref:h,id:l,h:"100%"}),(0,n.jsx)(C,{eventId:t,location:s,messageId:a,isLive:o,isDetailsTab:d,onMediaShortcutClick:x,showWebviewContent:c,setShowWebviewContent:u,thumbnail:i.storyThumbnailUrl,isSpecialMediaHighlight:!!i.storyUrl,isWSCStoryHighlight:!0,children:i.storyUrl&&(0,n.jsx)(m.ZL,{children:(0,n.jsx)(k,{url:i.storyUrl,title:i.title,showPlayer:!!c,setShowPlayer:u})})})]})};var _=s(45749);let T=e=>{let{eventId:t,location:s,containerId:l,eventWSCHighlight:i,messageId:a,isLive:o,isDetailsTab:d,setShowWebviewContent:c,onMediaShortcutClick:u}=e;(0,_.P)({containerId:l,storyIds:[i.sdkId]});let x=(0,S.i)(l);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.az,{ref:x,id:l,h:"100%"}),(0,n.jsx)(C,{eventId:t,location:s,messageId:a,isLive:o,isDetailsTab:d,onMediaShortcutClick:u,setShowWebviewContent:c})]})};function E(e){var t,s;let{eventId:h,isLive:m,location:p,tournamentId:j,roundId:v,screen:f,type:b,hasMediaTab:C,onHighlightShortcutClick:S,getEventHighlightId:k}=e,_=(0,x.MB)({type:b,location:p,tournamentId:j,roundId:v,screen:f,eventId:h}),{event:E}=(0,d.mJ)(h),[P,I]=(0,i.useState)(!1),{data:L}=(0,a.Ay)(l.bnp.eventHighlights(h)),{eventWSCHighlights:z,isLoading:Y}=function(e){let{eventId:t}=e,s=(0,c.d4)(u.LQ),{data:n,isLoading:r,error:i}=(0,a.Ay)(s?l.vCt.eventVideoHighlights(t,s):null);return{eventWSCHighlights:null==n?void 0:n.sportVideoHighlights,isError:i,isLoading:r}}({eventId:h}),R="mobile"===f&&p===y.D.DetailsTab&&C,H=null==z?void 0:z.find(e=>e.storyUrl),M=null==z?void 0:z[0],N=null==L?void 0:L.highlights.filter(e=>e.keyHighlight)[0];if(!H&&!M&&!N&&!Y)return R?(0,n.jsx)(g,{event:E,onHighlightShortcutClick:S}):null;if(Y)return null;null==k||k((null==H?void 0:H.id)||(null==M?void 0:M.id)||(null==N?void 0:N.id));let F=null!=(s=null!=(t=null==H?void 0:H.storyThumbnailUrl)?t:null==M?void 0:M.storyThumbnailUrl)?s:null==N?void 0:N.thumbnailUrl;return(0,n.jsx)(o.Zp,{isNewCard:!0,children:(0,n.jsxs)(r.so,{justify:"center",h:"[210px]",bg:"surface.s0",br:"lg",position:"relative",overflow:"hidden",children:[(0,n.jsx)(r.az,{w:"100%",h:"100%",br:"lg",position:"absolute",overflow:"hidden",children:(0,n.jsx)(r.az,{w:"100%",h:"100%",br:"lg",position:"absolute",overflow:"hidden",bgSize:"[100% 100%]",bgPosition:"center",filter:"auto",blur:"[25px]",scale:"auto",style:{backgroundImage:"url(".concat(F,")")}})}),H&&(0,n.jsx)(A,{eventId:h,location:p,containerId:_,eventWSCHighlight:H,messageId:H.title,isLive:m,isDetailsTab:R,showWebviewContent:P,setShowWebviewContent:I,onMediaShortcutClick:S}),M&&!H&&(0,n.jsx)(T,{eventId:h,location:p,containerId:_,messageId:M.title,eventWSCHighlight:M,isLive:m,isDetailsTab:R,onMediaShortcutClick:S,setShowWebviewContent:I}),N&&!M&&!H&&!Y&&(0,n.jsx)(w,{eventId:h,location:p,messageId:N.title,eventMediaHighlight:N,isLive:m,isDetailsTab:R,onMediaShortcutClick:S,setShowWebviewContent:I})]})})}},17808:(e,t,s)=>{s.d(t,{A:()=>m});var n=s(6029),l=s(4967),r=s(89875),i=s(76356),a=s(90248),o=s(65789),d=s(65078),c=s(3518),u=s(45477);let x=e=>{let{id:t,left:s,right:l,isLength:o}=e;return void 0===s&&void 0===l?null:(0,n.jsxs)(i.so,{justify:"space-between",align:"center",h:"4xl",px:"lg",children:[(0,n.jsx)(i.so,{grow:1,basis:"[0px]",children:(0,n.jsx)(r.EY,{children:s?o?(0,n.jsx)(c.Z,{value:+s,fromUnit:"m"}):s:"-"})}),(0,n.jsx)(i.so,{justify:"center",grow:1,basis:"[0px]",children:(0,n.jsx)(r.EY,{color:"neutrals.nLv3",textAlign:"center",children:(0,n.jsx)(a.A,{id:t})})}),(0,n.jsx)(i.so,{justify:"right",grow:1,basis:"[0px]",children:(0,n.jsx)(r.EY,{textAlign:"end",children:l?o?(0,n.jsx)(c.Z,{value:+l,fromUnit:"m"}):l:"-"})})]})},h=e=>{let{left:t,right:s}=e,l=(0,u.Q6)(t),r=(0,u.Q6)(s);return void 0===t&&void 0===s?null:(0,n.jsx)(x,{id:"reach",left:l,right:r})};function m(e){var t,s,r,i,a,c,u,m,p,j;let{homeTeam:g,awayTeam:y}=e,[v,f]=(0,d.jr)({homeTeam:g,awayTeam:y},"homeTeam","awayTeam"),b=(null==(t=v.playerTeamInfo)?void 0:t.birthDateTimestamp)&&(0,l.KW)(null==(s=v.playerTeamInfo)?void 0:s.birthDateTimestamp),C=(null==(r=f.playerTeamInfo)?void 0:r.birthDateTimestamp)&&(0,l.KW)(null==(i=f.playerTeamInfo)?void 0:i.birthDateTimestamp);return(0,n.jsxs)(o.Zp,{isNewCard:!0,children:[(0,n.jsx)(o.Zp.Header,{titleId:"fighters_bio"}),(0,n.jsx)(x,{id:"basic.fullName",left:v.name,right:f.name}),(0,n.jsx)(x,{id:"age",left:b,right:C}),(0,n.jsx)(x,{id:"home_country",left:null==(a=v.country)?void 0:a.name,right:null==(c=f.country)?void 0:c.name}),(0,n.jsx)(x,{id:"player_height",left:null==(u=v.playerTeamInfo)?void 0:u.height,right:null==(m=f.playerTeamInfo)?void 0:m.height,isLength:!0}),(0,n.jsx)(h,{left:null==(p=v.playerTeamInfo)?void 0:p.reach,right:null==(j=f.playerTeamInfo)?void 0:j.reach})]})}},19648:(e,t,s)=>{s.d(t,{A:()=>i});var n=s(6029),l=s(76356),r=s(65789);function i(){return(0,n.jsxs)(r.Zp,{isNewCard:!0,children:[(0,n.jsx)(r.Zp.Header,{titleId:"featured_players"}),(0,n.jsx)(l.az,{h:"[440px]"})]})}},20331:(e,t,s)=>{s.d(t,{A:()=>o});var n=s(6029),l=s(76356),r=s(99064),i=s(90248),a=s(62492);function o(){let{activeTab:e,setActiveTab:t,hasTabs:s}=(0,a.gY)();return s?(0,n.jsx)(l.az,{p:"sm",bg:"surface.s1",children:(0,n.jsxs)(r.tU,{variant:"quaternary",onChange:e=>t(e),value:e,children:[(0,n.jsx)(r.tU.Tab,{tabKey:a.k9.Postmatch,children:(0,n.jsx)(i.A,{id:"prematch"})}),(0,n.jsx)(r.tU.Tab,{tabKey:a.k9.Halftime,children:(0,n.jsx)(i.A,{id:"halftime"})})]})}):null}},23685:(e,t,s)=>{s.d(t,{Y:()=>c});var n=s(6029),l=s(21377),r=s(947),i=s(494),a=s(25540),o=s(49254),d=s(10794);let c=e=>{let{utId:t,location:s,bgImageUrl:c,isInverseDesktop:u}=e,x=(0,i.d4)(d.LQ),h=(0,r.A)();return x&&o.p.includes(x)&&t===l.G6l.NBA?(0,n.jsx)(a.Q,{banner:{copy:{action:h.formatMessage({id:"link_visit_nba"}),description:h.formatMessage({id:"banner_nba_league_pass_description"}),sectionTitle:h.formatMessage({id:"banner_nba_league_pass_title"})},type:l.$pL.LogoBanner,background:l.jae.EntityHeader,detailImageUrl:{ltr:"/static/images/nba-league-pass/league-pass-logo.svg",rtl:"/static/images/nba-league-pass/league-pass-logo.svg"},campaignName:"nba_league_pass",url:"https://nba.sjv.io/c/5441787/2176796/16284"},isInverseDesktop:u,bgImageUrl:c,location:s}):null}},24985:(e,t,s)=>{s.d(t,{Vj:()=>n.A,Ir:()=>l.Ir}),s(10156),s(17485),s(35532),s(26468),s(22088);var n=s(27778),l=s(54863);s(55529)},25049:(e,t,s)=>{s.d(t,{z:()=>H});var n=s(6029),l=s(21377),r=s(89875),i=s(78383),a=s.n(i),o=s(55729),d=s(494),c=s(62859),u=s(61836),x=s(10794),h=s(33144),m=s(76356),p=s(90248),j=s(90510),g=s(54409),y=s(99064),v=s(41735);let f=v.default.div.withConfig({componentId:"FancyEventBackground"}).withConfig({componentId:"sc-18173878-0"})(["position:absolute;width:100%;height:100%;"," filter:blur(36px);overflow:hidden;border-radius:",";::after{content:'';display:block;position:absolute;top:0;left:0;width:100%;height:100%;border-radius:",";background-color:",";opacity:0.2;}"],e=>e.tournamentImage?"background-image: url(".concat(e.tournamentImage,");\n background-size: 100% 100%;\n background-position: center;\n background-repeat: no-repeat;\n "):"background-image: url(".concat(e.leftTeamImage,"), url(").concat(e.rightTeamImage,");\n background-size: 50% 100%, 50% 100%;\n background-position: center left, center right;\n background-repeat: no-repeat, no-repeat;\n "),e=>e.theme.spacing.md,e=>e.theme.spacing.md,e=>e.theme.colors.overlay.darken1),b=(0,v.default)(y.az).withConfig({componentId:"FancyEventBackgroundContainer"}).withConfig({componentId:"sc-18173878-1"})(["position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;border-radius:",";"],e=>e.theme.spacing.lg);function C(e){let{leftTeamImage:t,rightTeamImage:s,tournamentImage:l}=e;return t&&s||l?(0,n.jsx)(b,{children:(0,n.jsx)(f,{leftTeamImage:t,rightTeamImage:s,tournamentImage:l})}):null}function w(e){let{leftTeamId:t,rightTeamId:s,onClick:i,isClickable:a,isLoading:o,startTimestamp:d}=e,c=o?"watch_livestream_starting_soon":a?"watch_livestream":"watch_livestream_prematch";return(0,n.jsxs)(m.az,{cursor:a?"pointer":"auto",position:"relative",style:{paddingTop:"56.25%"},br:"lg",bg:"surface.s2",onClick:i,children:[(0,n.jsx)(C,{leftTeamImage:l.cWY.image(t),rightTeamImage:l.cWY.image(s)}),(0,n.jsx)(m.az,{bg:"overlay.darken3",br:"lg",position:"absolute",top:"0",left:"0",w:"100%",h:"100%"}),(0,n.jsx)(m.ov,{position:"absolute",top:"0",left:"0",w:"100%",style:{height:"calc(100% - 40px)"},children:(0,n.jsxs)(m.so,{justify:"space-between",align:"center",w:"100%",children:[(0,n.jsx)(m.so,{justify:"center",flexGrow:1,flexBasis:"1/2",children:(0,n.jsx)(h.p,{size:72,id:t})}),(0,n.jsx)(m.az,{w:"4xl",children:a&&(0,n.jsx)(g.reY,{fill:"onColor.primary",w:"48",h:"48"})}),(0,n.jsx)(m.so,{justify:"center",flexGrow:1,flexBasis:"1/2",children:(0,n.jsx)(h.p,{size:72,id:s})})]})}),(0,n.jsxs)(m.so,{bg:"overlay.darken2",w:"100%",h:"3xl",align:"center",justify:a?"center":"space-between",position:"absolute",bottom:"0",left:"0",roundedBottom:"lg",children:[(0,n.jsxs)(r.EY,{textStyle:"display.medium",color:"onColor.primary",px:"lg",children:[(0,n.jsx)(p.A,{id:c}),"watch_livestream_prematch"===c&&":"]}),!a&&!o&&d&&(0,n.jsxs)(r.EY,{textStyle:"assistive.default",color:"onColor.secondary",px:"lg",children:[(0,n.jsx)(j.XU,{value:d}),", ",(0,n.jsx)(j.ib,{value:d})]})]})]})}var S=s(21501);async function k(e,t,s,n){let r=3e3,i=Date.now();for(;;){if(null==n?void 0:n.aborted)throw new DOMException("Aborted","AbortError");try{return await (0,l.B2D)(e,t,s)}catch(e){if(Date.now()-i+r>3e5)throw Error("Stream url fetch timeout.");await function(e,t){return new Promise((s,n)=>{if(null==t?void 0:t.aborted)return n(new DOMException("Aborted","AbortError"));let l=setTimeout(()=>{null==t||t.removeEventListener("abort",r),s()},e),r=()=>{clearTimeout(l),n(new DOMException("Aborted","AbortError"))};null==t||t.addEventListener("abort",r)})}(r,n),r*=2}}}async function A(e,t,s){let n,{token:r}=await l.HDw.fetchToken(e);if(!r)throw Error("Stream token fetch failed.");let i={headers:{Authorization:"Bearer "+r},isApiRoute:!1,isImageRoute:!1},a="https://ott.sofascore.com/api/v3/contents/".concat(t,"/access/hls");if(!(n=s?await k(a,void 0,i,s):await (0,l.B2D)(a,void 0,i)).data.stream)throw Error("Stream url fetch failed.");return n.data.stream}async function _(e,t,n,l,r){let i=(await s.e(3771).then(s.bind(s,85511))).default;if(!e)throw Error("Video element not found.");if(i.isSupported()){let s=new i;try{s.attachMedia(e)}catch(e){console.error("Error attaching media:",e)}s.on(i.Events.MEDIA_ATTACHED,()=>{s.loadSource(t),null==r||r()}),s.on(i.Events.ERROR,(e,t)=>{null==l||l(t)}),null==n||n.addEventListener("abort",()=>{s.stopLoad()})}else throw Error("HLS streaming not supported.")}var T=s(13299),E=s(56869);class P{async initializeIMAPlayer(e,t){try{this.scriptLoaded||(await (0,T.A)("//imasdk.googleapis.com/js/sdkloader/ima3.js"),this.scriptLoaded=!0)}catch(e){throw this.scriptLoaded=!1,Error("Error fetching IMA script")}this.currentVideoElement=e,this.currentAdElement=t;let s=e.getBoundingClientRect();return this.width=s.width,this.height=s.height,this.adDisplayContainer=new google.ima.AdDisplayContainer(t,e),this.adDisplayContainer.initialize(),this.adsLoader=new google.ima.AdsLoader(this.adDisplayContainer),this.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this.onAdsManagerLoaded,!1),this.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onAdError,!1),()=>{this.destroy()}}startPlayback(e,t,s){let n=new google.ima.AdsRequest;n.adTagUrl=e,n.linearAdSlotWidth=this.width,n.linearAdSlotHeight=this.height,n.nonLinearAdSlotWidth=this.width,n.nonLinearAdSlotHeight=this.height,this._onAdError=s,this._onAdCompleted=t,this.adsLoader.requestAds(n)}resizeCurrentAd(e,t){(e!==this.width||t!==this.height)&&(this.width=e,this.height=t,this.adsManager&&this.adsManager.resize(this.width,this.height,google.ima.ViewMode.NORMAL))}destroy(){this.adsLoader&&this.adsLoader.destroy(),this.adDisplayContainer&&this.adDisplayContainer.destroy(),this.adsManager&&this.adsManager.destroy(),this._onAdCompleted&&delete this._onAdCompleted,this.currentAdElement&&(this.currentAdElement.removeEventListener("click",this.resumePrerollPlayback),this.currentAdElement.style.display="block")}constructor(){this.scriptLoaded=!1,this.width=320,this.height=180,this.onAdsManagerLoaded=e=>{if(this.currentVideoElement){this.adsManager=e.getAdsManager(this.currentVideoElement),this.adsManager.addEventListener(google.ima.AdEvent.Type.STARTED,this.onPrerollStarted),this.adsManager.addEventListener(google.ima.AdEvent.Type.CLICK,this.onPrerollClicked),this.adsManager.addEventListener(google.ima.AdEvent.Type.PAUSED,this.onAdPause),this.adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,this.onContentPause),this.adsManager.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,this.onAllAdsCompleted),this.adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onAdError);try{this.adsManager.init(this.width,this.height,google.ima.ViewMode.NORMAL),this.adsManager.start()}catch(e){}}},this.onAdError=e=>{var t,s;let n=e.getError();(0,u.Fk)({id:null==(t=n.getErrorCode)?void 0:t.call(n),position:E.p4,provider:"google",type:"preroll"}),this.adsManager&&this.adsManager.destroy(),this.currentAdElement&&(this.currentAdElement.removeEventListener("click",this.resumePrerollPlayback),this.currentAdElement.style.display="none"),null==(s=this._onAdError)||s.call(this,e)},this.onContentPause=e=>{},this.onAdPause=e=>{this.currentAdElement&&this.currentAdElement.addEventListener("click",this.resumePrerollPlayback)},this.onPrerollStarted=e=>{(0,u.Te)({position:E.p4,provider:"google"})},this.onPrerollClicked=e=>{(0,u.WT)({position:E.p4,provider:"google"})},this.onAllAdsCompleted=e=>{this.adDisplayContainer.destroy(),this._onAdCompleted&&this._onAdCompleted(),this.currentAdElement&&(this.currentAdElement.removeEventListener("click",this.resumePrerollPlayback),this.currentAdElement.style.display="none"),this.currentVideoElement&&this.currentVideoElement.play()},this.resumePrerollPlayback=()=>{this.adsManager.resume()}}}let I=new P;var L=s(73624),z=function(e){return e[e.Uninitialized=0]="Uninitialized",e[e.Loading=1]="Loading",e[e.Initialized=2]="Initialized",e[e.Failed=3]="Failed",e}(z||{});function Y(e){let{streamContentId:t,leftTeamId:s,rightTeamId:l,autoplay:r}=e,i=(0,o.useRef)(null),a=(0,o.useRef)(null),[d,c]=(0,o.useState)(0),{streamUrl:u,setStreamUrl:x}=(0,L.vA)(),h=(0,L.xw)();function p(){var e,t;let s=null==(t=i.current)||null==(e=t.parentElement)?void 0:e.getBoundingClientRect(),n=320,l=180;return i.current&&s&&(n=s.width,l=s.width*(9/16),i.current.width=n,i.current.height=l,a.current&&(a.current.style.width=n+"px",a.current.style.height=l+"px")),{width:n,height:l}}if((0,S.st)(()=>{let{width:e,height:t}=p();I.resizeCurrentAd(e,t)},100),(0,o.useEffect)(()=>{let e,s;async function n(){let n;try{a.current&&i.current&&(e=await I.initializeIMAPlayer(i.current,a.current),p())}catch(e){var l;null==(l=a.current)||l.remove()}try{let e=await h();c(1),n=await A(e,t,null==s?void 0:s.signal),_(i.current,n,null==s?void 0:s.signal),c(2)}catch(e){if("AbortError"===e.name)return;c(3)}I.startPlayback(E.NR,()=>{if(x(n),r){var e;null==(e=i.current)||e.play()}},()=>{if(r){var e;null==(e=i.current)||e.play()}})}return"AbortController"in window&&(s=new AbortController),u?(c(2),_(i.current,u,null==s?void 0:s.signal,e=>{e.fatal&&403===e.networkDetails.status&&(x(void 0),n())},()=>{if(r){var e;a.current&&(a.current.style.width="0",a.current.style.height="0"),null==(e=i.current)||e.play()}})):n(),()=>{null==e||e(),null==s||s.abort()}},[]),3===d)return null;let j=1===d;return(0,n.jsxs)(m.az,{position:"relative",br:"lg",children:[j&&(0,n.jsx)(m.az,{position:"absolute",w:"100%",h:"100%",top:"0",left:"0",style:{zIndex:1e3},children:(0,n.jsx)(w,{leftTeamId:s,rightTeamId:l,isLoading:!0})}),(0,n.jsx)(m.I4.video,{br:"lg",ref:i,controls:!0,muted:r,style:j?{opacity:0}:{opacity:1},disablePictureInPicture:!0}),(0,n.jsx)(m.az,{br:"lg",overflow:"clip",ref:a,position:"absolute",w:"[400px]",h:"[225px]",top:"0",left:"0"})]})}var R=s(27372);function H(){let{event:e,leftTeam:t,rightTeam:s}=(0,o.useContext)(c.y$),{isMobile:i}=(0,r.$c)(),h=(0,R.W)(i),m=e.status.type===l.XUj.InProgress,p=m&&h,j=m&&!h,[g,y]=(0,o.useState)(p),v=(0,L.lZ)(e.id,p),f=(0,d.d4)(x.LQ),b=(0,o.useMemo)(()=>e.status.type,[e.id]);return!e.streamContentId||(0,R.X)(f)||b===l.XUj.Finished?null:(0,n.jsx)("div",{ref:v,children:g?(0,n.jsx)(Y,{streamContentId:e.streamContentId,autoplay:p,leftTeamId:t.id,rightTeamId:s.id},e.id):(0,n.jsx)(w,{leftTeamId:t.id,rightTeamId:s.id,onClick:j?()=>{y(!0),(0,u.K2)(e.id)}:a(),isClickable:j,startTimestamp:1e3*e.startTimestamp})})}},25273:(e,t,s)=>{s.d(t,{o:()=>u});var n=s(6029),l=s(55729),r=s(72369);let i=(0,l.createContext)(null);var a=s(14044);let o=e=>!e.isLayoutDirty&&e.willUpdate(!1),d=e=>!0===e,c=e=>d(!0===e)||"id"===e,u=({children:e,id:t,inherit:s=!0})=>{let u=(0,l.useContext)(r.L),x=(0,l.useContext)(i),[h,m]=(0,a.C)(),p=(0,l.useRef)(null),j=u.id||x;null===p.current&&(c(s)&&j&&(t=t?j+"-"+t:j),p.current={id:t,group:d(s)&&u.group||function(){let e=new Set,t=new WeakMap,s=()=>e.forEach(o);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",s))},remove:n=>{e.delete(n);let l=t.get(n);l&&(l(),t.delete(n)),s()},dirty:s}}()});let g=(0,l.useMemo)(()=>({...p.current,forceRender:h}),[m]);return(0,n.jsx)(r.L.Provider,{value:g,children:e})}},26763:(e,t,s)=>{s.d(t,{A:()=>h});var n=s(21377),l=s(4967),r=s(55729),i=s(494),a=s(62859),o=s(5546),d=s(91631),c=s(2294),u=s(80925),x=s(86679);let h=()=>{let{event:e}=(0,r.useContext)(a.y$),t=e.status.type===n.XUj.InProgress,s=(0,o.F0)(e),[h,m]=(0,u.Z)(s,t),p=(0,i.d4)((0,c.Ul)(e)),j=(0,i.d4)(c.fq),g=(e,t,s)=>s?void 0:n.bnp.teamStreaksOdds(e,t),{hasProviderOdds:y,hasFallbackProviderOdds:v}=(0,x.A)({hasProviderOdds:{route:h?g(e.id,h,j):void 0,skipCheck:!h||!p},hasFallbackProviderOdds:{route:m?g(e.id,m,j):void 0,skipCheck:!m||!p}},[e.id,h,m,p,j],{refreshInterval:120*l.Z2}),f=(0,d.q1)();return j?f:!!y||!!v}},27175:(e,t,s)=>{s.d(t,{A:()=>_});var n=s(6029),l=s(21377),r=s(89875),i=s(76356),a=s(93338),o=s(83817),d=s.n(o),c=s(55729),u=s(90248),x=s(45860),h=s(65789),m=s(62859),p=s(54409),j=s(75751),g=s(8703),y=s(65078);let v=()=>(0,n.jsx)(i.ov,{backgroundColor:"status.val",br:"md",px:"sm",children:(0,n.jsx)(r.EY,{textStyle:"assistive.default",color:"surface.s1",lineHeight:"16px",children:(0,n.jsx)(u.A,{id:"tennis.brake"})})}),f=e=>{let{isServingAndScoring:t,isBreak:s}=e;return(0,n.jsx)(i.az,{w:"2xs",h:"1/2",bg:t?"status.success.default":s?"status.error.default":"neutrals.nLv4"})},b=e=>{var t;let{isLive:s,isLeftServingAndScoring:l,isRightServingAndScoring:a,isLeftBreak:o,isRightBreak:d,leftScore:u,rightScore:x,scoring:h,serving:j,isTieBreak:g}=e,{leftTeam:y,rightTeam:b}=(0,c.useContext)(m.y$),{location:C}=(0,c.useContext)(m.y$),w=C===m.cb.Widget,S=(null==(t=y.subTeams)?void 0:t.length)===2,k=l||a||o||d;return s?(0,n.jsxs)(i.so,{children:[(0,n.jsx)(i.so,{direction:"column",justify:1===j?"flex-start":"flex-end",align:"end",w:"[84px]",pt:1===j?"xs":"0",pb:2===j?"[6px]":"0",children:(0,n.jsx)(p.OXq,{fill:"secondary.default",w:13,h:13})}),(0,n.jsxs)(i.so,{direction:"column",gap:"sm",py:"xs",ml:"xs",children:[(0,n.jsx)(r.EY,{textStyle:"display.small",color:s?"status.live":"neutrals.nLv3",minW:"[20px]",textAlign:"center",display:"block",children:u}),(0,n.jsx)(r.EY,{textStyle:"display.small",color:s?"status.live":"neutrals.nLv3",minW:"[20px]",textAlign:"center",display:"block",children:x})]}),(0,n.jsxs)(i.az,{children:[(0,n.jsx)(f,{isServingAndScoring:!g&&l,isBreak:!g&&d}),(0,n.jsx)(f,{isServingAndScoring:!g&&a,isBreak:!g&&o})]})]}):(0,n.jsxs)(i.so,{children:[(0,n.jsx)(i.so,{direction:"column",justify:l||o?"flex-start":"flex-end",w:"[84px]",children:k&&(0,n.jsxs)(i.so,{direction:"column",justify:"center",align:"center",w:"100%",backgroundColor:w?"neutrals.nLv5":"surface.s2",p:"xs",br:"sm",gap:"sm",children:[d&&!g&&(0,n.jsx)(v,{}),(0,n.jsx)(r.EY,{display:"block",textStyle:"assistive.default",truncate:!0,maxW:"100%",style:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:l||o?S?y.nameCode:y.shortName:S?b.nameCode:b.shortName}),o&&!g&&(0,n.jsx)(v,{})]})}),(0,n.jsxs)(i.so,{direction:"column",gap:"sm",py:"xs",ml:"xs",children:[(0,n.jsx)(r.EY,{textStyle:"display.small",color:1===h?"neutrals.nLv1":"neutrals.nLv3",minW:"[20px]",textAlign:"center",display:"block",children:u}),(0,n.jsx)(r.EY,{textStyle:"display.small",color:2===h?"neutrals.nLv1":"neutrals.nLv3",minW:"[20px]",textAlign:"center",display:"block",children:x})]}),(0,n.jsxs)(i.az,{children:[(0,n.jsx)(f,{isServingAndScoring:!g&&l,isBreak:!g&&d}),(0,n.jsx)(f,{isServingAndScoring:!g&&a,isBreak:!g&&o})]})]})},C=e=>{switch(e){case 1:return"neutrals.nLv1";case 2:case 6:return"status.val";case 3:case 4:return"secondary.default";default:return"neutrals.nLv3"}},w=(e,t,s)=>{let n=t.lastPeriod&&t.lastPeriod[t.lastPeriod.length-1],l=!!n&&!!s.set&&Number(n)===s.set;if(e&&l){if(t.time&&t.time.currentPeriodStartTimestamp)return Math.round((Date.now()-1e3*t.time.currentPeriodStartTimestamp)/1e3);if(t.currentPeriodStartTimestamp)return Math.round((Date.now()-1e3*t.currentPeriodStartTimestamp)/1e3)}return t.time&&t.time["period".concat(s.set)]?t.time["period".concat(s.set)]:null},S=e=>{let{point:t}=e,[s,l]=(0,y.jr)(t,"homePoint","awayPoint"),[o,d]=(0,y.jr)(t,"homePointType","awayPointType");return(0,n.jsxs)(i.so,{direction:"column",gap:"sm",py:"xs",children:[(0,n.jsx)(r.EY,{textStyle:"body.small",w:"xl",style:{color:a.S.var("colors.".concat(C(o)))},textAlign:"center",display:"block",children:s}),(0,n.jsx)(r.EY,{textStyle:"body.small",w:"xl",style:{color:a.S.var("colors.".concat(C(d)))},textAlign:"center",display:"block",children:l})]})},k=e=>{var t,s;let{game:r,setKey:a}=e,{event:o}=(0,c.useContext)(m.y$),[d,u]=(0,y.jr)(r.score,"homeScore","awayScore"),x=(0,y.gm)(r.score,"scoring"),h=(0,y.gm)(r.score,"serving"),p=-1===x&&o.status.type===l.XUj.InProgress,j=15>+r.points[0].awayPoint&&15>+r.points[0].homePoint;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(i.so,{px:"lg",children:[(0,n.jsx)(i.az,{py:"sm",children:(0,n.jsx)(b,{isLive:p,isLeftServingAndScoring:1===h&&1===x,isRightServingAndScoring:2===h&&2===x,isLeftBreak:2===h&&1===x,isRightBreak:1===h&&2===x,leftScore:d,rightScore:u,scoring:x,serving:h,isTieBreak:j})}),(0,n.jsx)(i.so,{wrap:"wrap",py:"sm",children:null==(t=(s=r.points).map)?void 0:t.call(s,(e,t)=>(0,n.jsx)(S,{point:e},"".concat(a,"-").concat(r.game,"-").concat(t)))})]})})},A=e=>{let{event:t,set:s,isInitiallyOpen:a,isLast:o}=e,[d,x]=(0,c.useState)(a),h=t.status.type===l.XUj.InProgress,m=w(h,t,s);return(0,n.jsxs)(i.az,{pb:"sm",children:[!o&&(0,n.jsx)(i.cG,{color:"neutrals.nLv4",borderBlockEndStyle:"solid"}),(0,n.jsxs)(i.so,{h:"3xl",position:"relative",justify:"flex-start",align:"center",onClick:()=>x(e=>!e),cursor:"pointer",pt:"md",pb:"xs",px:"lg",children:[(0,n.jsxs)(r.EY,{lineHeight:"100%",color:h&&o?"status.live":"neutrals.nLv1",textStyle:"display.small",textAlign:"center",display:"block",children:[(0,n.jsx)(u.A,{id:"ordinalSet",values:{n:s.set}}),m&&" • ",m&&(0,g.jQ)(m)]}),(0,n.jsx)(p.zQC,{icon:d?"chevron-up":"chevron-down",position:"absolute",right:16,width:24,height:24,fill:"onSurface.nLv1",ml:"4px"})]}),d&&s.games.map(e=>(0,n.jsx)(k,{setKey:s.set,game:e},e.game))]})},_=(0,c.memo)(function(e){let{event:t}=e,{data:s}=(0,x.Ay)(l.bnp.pointByPoint(t.id),(0,g.rf)(t));return s&&s.pointByPoint.length?(0,n.jsx)(j.t,{tag:"PointByPoint",children:(0,n.jsx)(h.Zp,{isNewCard:!0,children:s.pointByPoint.map((e,s)=>(0,n.jsx)(A,{set:e,isInitiallyOpen:!s,isLast:!s,event:t},e.set))})}):null},(e,t)=>e.event.id===t.event.id&&d()(e.event.time,t.event.time))},27680:(e,t,s)=>{s.d(t,{f:()=>_});var n=s(6029),l=s(33144),r=s(21377),i=s(89875),a=s(76356),o=s(55729),d=s(90248),c=s(65789),u=s(62859),x=s(54409),h=s(82707),m=s(49519),p=s(99064),j=s(494),g=s(45860),y=s(22648),v=s(19121),f=s(53486);let b=e=>{let{id:t}=e,s=(0,j.d4)(e=>e.favorites.events[t]);return s?(0,n.jsx)(h.tj,{event:s,target:"_blank",children:(0,n.jsx)(f.n6,{isShort:!0,isNarrow:!0,isMobile:!0,isShortDate:!0,event:s})}):(0,n.jsx)(a.az,{minH:"4xl"})},C=e=>{let{eventId:t,onClose:s}=e,l=(0,j.wA)(),{data:i,error:o}=(0,g.Ay)(r.bnp.series(t),{onSuccess:async e=>{let t=await Promise.all(e.series.map(e=>r.nk6.fetchEvent(e)));l((0,v.oU)(t.map(e=>e.event)))}});return o?null:i?(0,n.jsx)(n.Fragment,{children:i.series.map(e=>(0,n.jsx)(a.az,{onClick:s,children:(0,n.jsx)(b,{id:e})},e))}):(0,n.jsx)(a.ov,{minH:"[220px]",py:"2xl",children:(0,n.jsx)(y.a,{})})},w=()=>{var e,t,s,l;let{event:c,leftScore:h,rightScore:j,leftTeam:g,rightTeam:y}=(0,o.useContext)(u.y$),[v,f]=(0,o.useState)(!1),{isMobile:b}=(0,i.$c)(),w=c.tournament.category.sport.slug===r.QCR.Tennis,S=()=>f(!1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.az,{cursor:"pointer",children:[(0,n.jsx)(i.EY,{textStyle:"display.micro",color:"neutrals.nLv3",display:"block",textAlign:"center",mb:"xs",children:(0,n.jsx)(d.A,{id:"event.series"})}),(0,n.jsxs)(a.so,{bg:"surface.s2",br:"lg",py:"xs",onClick:()=>f(!0),align:"center",children:[(0,n.jsx)(a.az,{flexGrow:1,children:(0,n.jsxs)(a.ov,{children:[w?(0,n.jsx)(m.w,{size:24,alpha2:null==(e=g.country)?void 0:e.alpha2,name:null==(t=g.country)?void 0:t.name}):(0,n.jsx)(m.p,{size:24,id:g.id}),(0,n.jsxs)(i.EY,{textStyle:"display.micro",display:"block",mx:"xs",children:[h.series," - ",j.series]}),w?(0,n.jsx)(m.w,{size:24,alpha2:null==(s=y.country)?void 0:s.alpha2,name:null==(l=y.country)?void 0:l.name}):(0,n.jsx)(m.p,{size:24,id:y.id})]})}),(0,n.jsx)(a.az,{alignSelf:"stretch",children:(0,n.jsx)(a.cG,{color:"neutrals.nLv4",orientation:"vertical",borderInlineEndStyle:"solid",my:"2xs"})}),(0,n.jsx)(x.fJR,{m:"sm",w:"24",h:"24",fill:"primary.default"})]})]}),(0,n.jsx)(i.aF,{isOpen:v&&!b,onClose:S,children:(0,n.jsxs)(a.az,{minW:"[400px]",pb:"lg",position:"relative",children:[(0,n.jsx)(i.H3,{h:"3xl",mb:"md",py:"md",px:"lg",children:(0,n.jsx)(d.A,{id:"event.series"})}),(0,n.jsx)(a.az,{position:"absolute",top:"sm",right:"lg",children:(0,n.jsx)(i.K0,{variant:"clear",w:"xl",h:"xl",onClick:S,children:(0,n.jsx)(x.zQC,{icon:"close",width:"24",height:"24",fill:"onSurface.nLv1"})})}),(0,n.jsx)(C,{eventId:c.id,onClose:S})]})}),(0,n.jsxs)(p.Xn,{isOpen:v&&b,onClose:S,children:[(0,n.jsx)(p.Xn.Header,{children:(0,n.jsx)(i.H3,{textStyle:"display.large",children:(0,n.jsx)(d.A,{id:"event.series"})})}),(0,n.jsx)(p.Xn.Content,{children:(0,n.jsx)(C,{eventId:c.id})})]})]})};var S=s(65078);let k=e=>{let{leftScore:t,rightScore:s,leftTeam:r,rightTeam:o}=(0,S.AR)(e.event);return e.event?(0,n.jsxs)(a.az,{children:[(0,n.jsx)(i.EY,{textStyle:"display.micro",color:"neutrals.nLv3",display:"block",textAlign:"center",mb:"xs",children:e.title}),(0,n.jsx)(h.tj,{event:e.event,children:(0,n.jsxs)(a.so,{bg:"surface.s2",br:"lg",py:"xs",onClick:e.onClick,align:"center",children:[(0,n.jsx)(x.zQC,{icon:"chevron-left",m:"sm",w:"24",h:"24",fill:"primary.default"}),(0,n.jsx)(a.az,{alignSelf:"stretch",children:(0,n.jsx)(a.cG,{color:"neutrals.nLv4",orientation:"vertical",borderInlineEndStyle:"solid",my:"2xs"})}),(0,n.jsx)(a.az,{flexGrow:1,children:(0,n.jsxs)(a.ov,{children:[(0,n.jsx)(l.p,{size:24,id:r.id}),(0,n.jsxs)(i.EY,{textStyle:"display.micro",mx:"xs",children:[t.display," - ",s.display]}),(0,n.jsx)(l.p,{size:24,id:o.id})]})})]})})]}):null},A=()=>{let{event:e,leftScore:t,rightScore:s,leftTeam:r,rightTeam:c}=(0,o.useContext)(u.y$),h=(0,S.gm)(e,"aggregatedWinnerCode");return(0,n.jsxs)(a.az,{children:[(0,n.jsx)(i.EY,{textStyle:"display.micro",color:"neutrals.nLv3",display:"block",textAlign:"center",mb:"xs",children:(0,n.jsx)(d.A,{id:"event.aggregated"})}),(0,n.jsxs)(a.ov,{br:"lg",py:"md",children:[(0,n.jsx)(l.p,{size:24,id:r.id}),(0,n.jsxs)(i.EY,{textStyle:"display.micro",mx:"xs",children:[t.aggregated,1===h&&(0,n.jsx)("span",{children:(0,n.jsx)(x.UFI,{fill:"onSurface.nLv1",mt:"-2",width:"7",height:"14"})})," - ",s.aggregated,2===h&&(0,n.jsx)("span",{children:(0,n.jsx)(x.UFI,{fill:"onSurface.nLv1",mt:"-2",width:"7",height:"14"})})]}),(0,n.jsx)(l.p,{size:24,id:c.id})]})]})};function _(){let{event:e,leftScore:t,rightScore:s}=(0,o.useContext)(u.y$),{event:l}=(0,S.mJ)(e.previousLegEventId),i="number"==typeof e.previousLegEventId,x="number"==typeof t.aggregated&&"number"==typeof s.aggregated,h="number"==typeof t.series&&"number"==typeof s.series;if(i||x||h){let e=x?(0,n.jsx)(d.A,{id:"event.firstLeg"}):h?(0,n.jsx)(d.A,{id:"event.previousMatch"}):null;return(0,n.jsx)(c.Zp,{isNewCard:!0,children:(0,n.jsxs)(a.so,{py:"lg",px:"sm",children:[(0,n.jsx)(a.az,{flexGrow:1,flexBasis:"1/2",mr:"xs",children:l&&l.status.code!==r.sum["Not started"]&&(0,n.jsx)(k,{title:e,event:l})}),(0,n.jsx)(a.az,{flexGrow:1,flexBasis:"1/2",ml:"xs",children:x?(0,n.jsx)(A,{}):h?(0,n.jsx)(w,{}):null})]})})}return null}},31215:(e,t,s)=>{s.d(t,{A:()=>o});var n=s(6029),l=s(73045),r=s(89875),i=s(76356),a=s(90248);function o(e){let{tournamentName:t,tournamentId:s,uniqueTournamentId:o,hideLogo:d,isLive:c,mobileOnly:u}=e;return(0,n.jsx)(i.az,{hideBelow:u?"md":void 0,children:(0,n.jsxs)(i.so,{px:"sm",gap:"lg",justify:"space-between",align:"center",children:[(0,n.jsxs)(i.so,{gap:"lg",align:"center",children:[!d&&(o?(0,n.jsx)(l.e,{id:o,size:40}):(0,n.jsx)(l.l,{id:s,size:40})),(0,n.jsx)(r.EY,{textStyle:"display.large",lineClamp:2,children:t})]}),c&&(0,n.jsxs)(i.so,{align:"center",children:[(0,n.jsx)(i.az,{w:"sm",h:"sm",bg:"status.live",br:"50%",mr:"sm"}),(0,n.jsx)(r.EY,{lineHeight:"8px",textStyle:"body.small",color:"status.live",display:"block",children:(0,n.jsx)(a.A,{id:"live"})})]})]})})}},32113:(e,t,s)=>{s.d(t,{H:()=>a});var n=s(6029),l=s(89875),r=s(76356),i=s(30720);let a=e=>{let{leftImage:t,leftName:s,rightImage:a,rightName:o,h2hDuel:d,hasDraws:c=!0}=e,[u,x]=(0,i.A)(d,"homeWins","awayWins");return(0,n.jsxs)(r.so,{align:"center",pl:"lg",pr:"lg",pt:"sm",pb:"sm",grow:1,children:[(0,n.jsx)(r.az,{mr:"sm",children:t}),(0,n.jsxs)(r.az,{flexGrow:1,children:[(0,n.jsxs)(r.so,{justify:"space-between",children:[(0,n.jsx)(l.EY,{minW:"xl",textStyle:"display.medium",color:"secondary.default",children:u}),c&&(0,n.jsx)(l.EY,{textAlign:"center",minW:"xl",textStyle:"display.medium",color:"neutral.default",children:d.draws}),(0,n.jsx)(l.EY,{textAlign:"end",minW:"xl",textStyle:"display.medium",color:"primary.default",children:x})]}),(0,n.jsxs)(r.so,{justify:"space-between",children:[(0,n.jsx)(l.EY,{maxW:"[150px]",textStyle:"body.small",truncate:!0,display:"block",children:s}),(0,n.jsx)(l.EY,{maxW:"[150px]",textStyle:"body.small",truncate:!0,display:"block",children:o})]})]}),(0,n.jsx)(r.az,{ml:"sm",children:a})]})}},32344:(e,t,s)=>{s.d(t,{A:()=>p});var n=s(6029),l=s(89875),r=s(76356),i=s(99064),a=s(55729),o=s(62859),d=s(62492),c=s(81893),u=s(20331),x=s(58047),h=s(12047);function m(e){let{isInsideEventWidget:t}=e,{hasTabs:s}=(0,d.gY)();return s?(0,n.jsx)(r.az,{elevation:t?"none":"2",children:(0,n.jsx)(u.A,{})}):null}function p(e){let{event:t}=e,s=(0,h.Ay)({isInMobileTabs:!0,isSportMenuVisible:!0}),{location:r}=(0,a.useContext)(o.y$),u=r===o.cb.Widget;return(0,n.jsx)(d.Ad,{event:t,children:(0,n.jsxs)(i.tU.Panel,{tabKey:x.x.AiInsights,children:[(0,n.jsxs)(l.PI,{isStickingDisabled:u,top:s,zIndex:"stickySecondary",children:[(0,n.jsx)(c.Ko,{}),(0,n.jsx)(m,{isInsideEventWidget:u})]}),(0,n.jsx)(c.Mi,{event:t,variant:u?"widget":"card-layout"})]})})}},34884:(e,t,s)=>{s.d(t,{i:()=>u});var n=s(6029),l=s(89875),r=s(76356),i=s(90248),a=s(65789),o=s(54409),d=s(82707),c=s(61836);function u(e){let{numberOfEditors:t,isOrganization:s,eventLocation:u,nickname:x,userId:h,hasStarted:m,isInLeagueHeader:p,onClick:j}=e,{isDesktop:g}=(0,l.$c)(),y=x?(0,n.jsx)(i.A,{id:m?"edited_by":"event.createdBy",values:{nickname:x}}):(0,n.jsx)(i.A,{id:"edited_by_more_editors",values:{number:t}}),v=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.EY,{textStyle:"assistive.default",color:"primary.default",children:y}),(0,n.jsx)(o._jO,{ml:"sm",height:16,width:16,fill:"primary.default"})]}),f=(0,n.jsxs)(l.$n,{size:"secondary",children:[y,(0,n.jsx)(o._jO,{})]});return x||t?(0,n.jsx)(a.Zp,{variant:"desktop-only",children:(0,n.jsx)(r.so,{justify:"flex-end",align:"center",px:{md:"lg"},py:{md:"sm"},children:j?(0,n.jsx)(r.az,{cursor:"pointer",onClick:j,children:p&&g?f:v}):s?(0,n.jsx)("a",{href:"https://torneo.sofascore.com/",target:"_blank",rel:"noreferrer",children:p&&g?f:v}):(0,n.jsx)(d.N_,{routeKey:"user",params:{userId:h},onClick:()=>(0,c.Zs)(u),children:p&&g?f:v})})}):null}},35621:(e,t,s)=>{s.d(t,{J:()=>T,A:()=>E});var n=s(6029),l=s(21377),r=s(4967),i=s(89875),a=s(76356),o=s(90248),d=s(90510),c=s(14407),u=s(65789),x=s(37304),h=s(55729),m=s(62859),p=s(54409),j=s(98516),g=s(55365);function y(e){let{score:t}=e;return(null==t?void 0:t.score)?(null==t?void 0:t.wickets)===void 0||(null==t?void 0:t.overs)===void 0?(0,n.jsx)(n.Fragment,{children:null==t?void 0:t.score}):(0,n.jsxs)(n.Fragment,{children:[(0,g.gj)(t)," (",(0,j.M)(null==t?void 0:t.overs,1),")"]}):null}function v(e){let{isBatting:t,score:s,isLeft:l,isLive:r}=e,o=(null==s?void 0:s.score)!==void 0||!r;return(0,n.jsxs)(a.so,{gap:"lg",h:"xl",align:"center",children:[!l&&r&&(t?(0,n.jsx)(p.BM3,{fill:"sofaSingles.live"}):(0,n.jsx)(p.Pvq,{fill:"sofaSingles.live"})),o&&(0,n.jsx)(i.EY,{color:r&&t?"status.live":"neutrals.nLv1",textStyle:"table.medium",display:"block",children:(0,n.jsx)(y,{score:s})}),l&&r&&(t?(0,n.jsx)(p.BM3,{fill:"sofaSingles.live"}):(0,n.jsx)(p.Pvq,{fill:"sofaSingles.live"}))]})}function f(e){let{messageId:t,value:s}=e;return void 0===s?null:(0,n.jsx)(i.EY,{h:"xl",textStyle:"table.medium",color:"neutrals.nLv3",display:"block",children:(0,n.jsx)(o.A,{id:t,values:{rate:s}})})}function b(){var e;let{event:t,leftTeam:s,leftScore:r,rightScore:i}=(0,h.useContext)(m.y$),o=t.status.type===l.XUj.InProgress,d=t.currentBattingTeamId?t.currentBattingTeamId===s.id?l.cxP.Left:l.cxP.Right:void 0,c=d===l.cxP.Left?r:d===l.cxP.Right?i:void 0,u=[...new Set([...Object.keys(r.innings||{}),...Object.keys(i.innings||{})])].sort();if(0===u.length)return null;let x=u[u.length-1],p=t.currentBattingTeamId===s.id;return(0,n.jsxs)(a.az,{px:"xs",children:[u.map(e=>{var s,o;let c=e===x&&d&&t.status.type===l.XUj.InProgress;return(0,n.jsxs)(a.so,{justify:"space-between",align:"center",children:[(0,n.jsx)(v,{score:null==(s=r.innings)?void 0:s[e],isLeft:!0,isLive:c,isBatting:c&&d===l.cxP.Left}),(0,n.jsx)(v,{score:null==(o=i.innings)?void 0:o[e],isLive:c,isBatting:c&&d===l.cxP.Right})]},e)}),c&&(null==(e=c.innings)?void 0:e[x])&&o&&(0,n.jsxs)(a.so,{direction:"column",align:p?"flex-start":"flex-end",children:[(0,n.jsx)(f,{messageId:"cricket_current_run_rate",value:c.innings[x].runRate}),(0,n.jsx)(f,{messageId:"cricket_target_run_rate",value:c.innings[x].targetRunRate})]})]})}var C=s(87763),w=s(37394),S=s(71046);let k=e=>{let{startTimestamp:t}=e;return(0,r.cK)((0,r.pp)(t))?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.A,{id:"today"})," ",(0,n.jsx)(d.ib,{value:1e3*t})]}):(0,n.jsx)(d.XU,{value:1e3*t,day:"numeric",month:"short",year:"numeric",hour:"numeric",minute:"numeric"})},A=e=>{let{event:t,isPowerGraph:s=!1}=e,{time:r,status:a,currentPeriodStartTimestamp:d}=t,c=a.type===l.XUj.InProgress;if((0,S.uk)(6e4,c),!r)return null;let u=0;for(let e in r)e.startsWith("period")&&(u+=r[e]);return(c&&d&&(u+=Math.round(Date.now()-1e3*d)/1e3),u>0)?c?(0,n.jsxs)(i.EY,{textTransform:"lowercase",textStyle:s?"display.small":"body.small",children:["(",(0,n.jsx)(o.A,{id:"total"}),": ",(0,S.jQ)(u),")"]}):(0,n.jsxs)(i.EY,{textStyle:s?"display.small":"body.small",color:s?void 0:"neutrals.nLv3",children:[" - ",(0,S.jQ)(u)]}):null},_=e=>{let{event:t}=e,s=t.tournament.category.sport.slug,r=(0,w.sw)(t),a=t.status.type===l.XUj.InProgress,d=s===l.QCR.Tennis,u=(0,S.Sw)(t),h=(0,S.vJ)(s),m=[];if(r)m.push((0,n.jsx)(i.EY,{textStyle:"body.small",color:"status.error.default",children:(0,n.jsx)(C.fP,{id:(0,w.B_)(t),short:!0})},"specialStatusDescription"));else if(t.isAwarded)m.push((0,n.jsx)(i.EY,{textStyle:"body.small",color:"status.error.default",children:(0,n.jsx)(o.A,{id:"awarded"})},"statusAwarded"));else if(d)a?(m.push((0,n.jsx)(A,{event:t},"tennisLiveTotalTime")),m.push((0,n.jsx)(i.EY,{textStyle:"body.small",color:"secondary.default",ml:"xs",children:(0,n.jsx)(C.fP,{id:(0,w.B_)(t),short:!0})},"tennisLiveDescription"))):(m.push((0,n.jsx)(i.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,n.jsx)(C.fP,{id:(0,w.B_)(t),short:!0})},"tennisFinishedDescription")),m.push((0,n.jsx)(A,{event:t},"tennisFinishedTotalTime")));else if(u)m.push((0,n.jsxs)(i.EY,{textStyle:"body.small",color:"secondary.default",children:[h&&(0,n.jsx)(o.A,{id:"time_left",values:{time:u}}),u]},"statusDescription"));else{let e=s===l.QCR.MMA&&t.status.code===l.sum.Ended;m.push((0,n.jsx)(i.EY,{textStyle:"body.small",color:a?"status.live":"neutrals.nLv3",children:(0,n.jsx)(C.fP,{id:(0,w.B_)(t),short:!e})},"statusDescription")),t.time&&t.time.currentPeriodStartTimestamp&&void 0!==t.time.initial&&t.status.type===l.XUj.InProgress&&!w.p2.includes(t.status.code)&&(0,S.c5)(t)!==l.QCR.Darts&&(m.push((0,n.jsx)(i.EY,{textStyle:"body.small",color:"secondary.default",mx:"2xs",children:"•"},"bullet")),s!==l.QCR.Darts&&m.push((0,n.jsxs)(i.EY,{textStyle:"body.small",color:"secondary.default",children:[(0,n.jsx)(x.lx,{time:t.time,status:t.status,currentPeriodStartTimestamp:t.currentPeriodStartTimestamp,hasMinuteBlinker:!0}),(0,n.jsx)(c.I,{})]},"progressTimer")))}return(0,n.jsx)(n.Fragment,{children:m})},T=e=>{let{event:t}=e,s=t.status.type===l.XUj.InProgress,r=t.currentPeriodStartTimestamp&&Math.round(Date.now()-1e3*t.currentPeriodStartTimestamp)/1e3,o=r&&(0,S.jQ)(r);return s?(0,n.jsxs)(i.EY,{textStyle:"display.small",color:"status.live",ml:"xs",children:[(0,n.jsx)(C.fP,{id:(0,w.B_)(t),short:!0})," - ",o]}):(0,n.jsxs)(a.az,{children:[(0,n.jsx)(i.EY,{textStyle:"display.small",children:(0,n.jsx)(C.fP,{id:(0,w.B_)(t),short:!0})}),(0,n.jsx)(A,{event:t,isPowerGraph:!0},"tennisFinishedTotalTime")]})},E=e=>{let{event:t}=e,s=t.tournament.category.sport.slug===l.QCR.Cricket,r=t.status.type===l.XUj.NotStarted||t.status.type===l.XUj.Postponed||t.status.type===l.XUj.Canceled;return!r||t.note||s?(0,n.jsx)(a.az,{hideFrom:s||t.note?void 0:"md",children:(0,n.jsx)(u.Zp,{isNewCard:!0,children:(0,n.jsxs)(a.BJ,{p:"sm",gap:"sm",children:[s?(0,n.jsx)(b,{}):r?null:(0,n.jsxs)(a.so,{hideFrom:"md",justify:"space-between",align:"center",p:"xs",children:[(0,n.jsx)(i.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,n.jsx)(k,{startTimestamp:t.startTimestamp})}),(0,n.jsx)(i.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,n.jsx)(_,{event:t})})]}),t.note&&(0,n.jsx)(i.EY,{textStyle:"body.small",children:t.note})]})})}):null}},36337:(e,t,s)=>{s.d(t,{I:()=>p,x:()=>m});var n=s(6029),l=s(21377),r=s(71024),i=s.n(r),a=s(55729),o=s(45860),d=s(62859),c=s(65693),u=s(19648);let x=i()(()=>Promise.all([s.e(6591),s.e(4632),s.e(5931)]).then(s.bind(s,75931)),{loadableGenerated:{webpack:()=>[75931]}}),h=i()(()=>Promise.all([s.e(3139),s.e(9213)]).then(s.bind(s,69213)),{loadableGenerated:{webpack:()=>[69213]}});function m(e){var t,s;let{eventId:r,leftTeam:i,rightTeam:m}=e,p=(0,a.useContext)(d.Ws),j=p===l.QCR.Football,g=p===l.QCR.Basketball,{data:y,isLoading:v}=(0,o.Ay)(l.cWY.featuredPlayers(i.id)),{data:f,isLoading:b}=(0,o.Ay)(l.cWY.featuredPlayers(m.id));if(v||b)return g?(0,n.jsx)(c.A,{}):(0,n.jsx)(u.A,{});let C=null==y||null==(t=y.featuredPlayers)?void 0:t[r],w=null==f||null==(s=f.featuredPlayers)?void 0:s[r];return(0,n.jsxs)(n.Fragment,{children:[j&&(0,n.jsx)(x,{leftPlayer:C,rightPlayer:w}),g&&(0,n.jsx)(h,{leftPlayer:C,rightPlayer:w})]})}let p=[l.QCR.Football,l.QCR.Basketball]},36614:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(6029),l=s(99064),r=s(71024),i=s.n(r),a=s(58047);let o=i()(()=>s.e(7819).then(s.bind(s,37819)),{loadableGenerated:{webpack:()=>[37819]},ssr:!1});function d(){return(0,n.jsx)(l.tU.Panel,{tabKey:a.x.Games,children:(0,n.jsx)(o,{})})}},36880:(e,t,s)=>{s.d(t,{W:()=>l});var n=s(99064);let l=(0,s(41735).default)(n.EY).withConfig({componentId:"sc-589bd8b5-0"})(["border-radius:",";text-align:center;overflow:visible;padding:"," ",";width:100%;white-space:nowrap;text-overflow:ellipsis;color:",";"," "," ",""],n.YK.xl,n.YK.xxs,n.YK.md,e=>e.theme.colors.onSurface.nLv1,e=>e.isBoldedGraph&&"background-color: ".concat(e.isLeft?e.theme.colors.secondary.default:e.theme.colors.primary.default,";"),e=>e.leftTeamBetter&&!e.isBoldedGraph&&"background-color: ".concat(e.theme.setAlpha(e.theme.colors.secondary.default,.3),";"),e=>e.rightTeamBetter&&!e.isBoldedGraph&&"background-color: ".concat(e.theme.setAlpha(e.theme.colors.primary.default,.3),";"))},37377:(e,t,s)=>{s.d(t,{s:()=>x});var n=s(6029),l=s(89875),r=s(76356),i=s(90248),a=s(494),o=s(65789),d=s(54409),c=s(88339),u=s(61836);let x=()=>{let e=(0,a.d4)(c.$F);return(null==e?void 0:e.editor)?null:(0,n.jsx)(o.Zp,{isNewCard:!0,children:(0,n.jsxs)(r.az,{p:"md",children:[(0,n.jsxs)(r.so,{align:"center",p:"xs",mb:"xs",children:[(0,n.jsx)(d._jO,{minW:40,minH:40,width:"40px",height:"40px",mr:"md",fill:"primary.default"}),(0,n.jsx)(l.EY,{textStyle:"display.small",children:(0,n.jsx)(i.A,{id:"torneo_promo_text"})})]}),(0,n.jsx)("img",{style:{maxWidth:"280px",width:"100%"},src:"/static/images/editor/editor-mobile.png",alt:"eventTorneoBannerImage"}),(0,n.jsx)("a",{href:"https://torneo.sofascore.com/?utm_source=torneo.sofascore.com&utm_medium=web_button&utm_campaign=join_sofascore_editor_team_desktop&utm_content=web_button_desktop",target:"_blank",rel:"noreferrer",onClick:u.ix,children:(0,n.jsxs)(r.so,{justify:"center",align:"center",gap:"xs",bg:"surface.s2",cursor:"pointer",br:"sm",mt:"lg",p:"md",children:[(0,n.jsx)(l.EY,{textStyle:"display.small",color:"primary.default",_hover:{filter:"auto",brightness:1.3,textDecoration:"underline"},children:(0,n.jsx)(i.A,{id:"check_out_torneo_by_sofascore"})}),(0,n.jsx)(d.HW5,{fill:"primary.default",width:16,height:16})]})})]})})}},42917:(e,t,s)=>{s.d(t,{A:()=>u});var n=s(6029),l=s(99064),r=s(71024),i=s.n(r),a=s(75751),o=s(24985),d=s(58047);let c=i()(()=>Promise.resolve().then(s.bind(s,22088)),{loadableGenerated:{webpack:()=>[22088]},ssr:!1,loading:()=>(0,n.jsx)(o.Vj,{})});function u(){return(0,n.jsx)(l.tU.Panel,{tabKey:d.x.Lineups,children:(0,n.jsx)(a.t,{tag:"lineups",children:(0,n.jsx)(c,{})})})}},45749:(e,t,s)=>{s.d(t,{P:()=>d});var n=s(55729),l=s(85625),r=s(95868);let i=null,a=!1;async function o(){if(!i)try{i=(await s.e(5831).then(s.t.bind(s,61985,23))).default,await i.Initialize("3de57cc21a364c9c918d8899d0aee6bf",{shouldModifyUrlWithStoryId:!1}),i.addDelegateListener(i.Delegations.onEventTriggered,r.hT)}catch(e){return console.error("WSC SDK initialization error:",e),!1}return!0}function d(e){let{containerId:t,storyIds:s,location:d}=e,[c,u]=(0,n.useState)(a);(0,n.useEffect)(()=>{o();let e=()=>{a=!0,u(!0)};return document.addEventListener("onBlazeSDKConnect",e),()=>{document.removeEventListener("onBlazeSDKConnect",e)}},[]),(0,n.useEffect)(()=>{if(!(null==s?void 0:s.length)||!i||!c||!t||!(0,r.R5)(t))return;let{eventId:e}=(0,r.Hw)(t);try{let n=i.Theme(d===l.D.TournamentPage?"row-rectangle":"row-rectangle-horizontal","story");n.layoutStyle.labelStyle.isVisible=!e,n.layoutStyle.statusLiveStyle.isVisible=!1,n.layoutStyle.statusUnreadStyle.isVisible=!1,n.layoutStyle.statusLiveUnreadStyle.isVisible=!1,n.layoutStyle.borderRadius=e?"0":"12px",n.layoutStyle.horizontalItemsSpacing=4,i.WidgetRowView(t,{dataSource:i.DataSourceBuilder().ids({ids:s}),theme:n,maxDisplayItemsCount:e?1:void 0})}catch(e){console.error(e)}},[s.length,t,c])}},47022:(e,t,s)=>{s.d(t,{C:()=>z});var n=s(6029),l=s(21377),r=s(71024),i=s.n(r),a=s(55729),o=s(62859),d=s(86679),c=s(83736),u=s(5108),x=s(82070),h=s(75126),m=s(21501),p=s(76356),j=s(65789),g=s(89875);function y(e){let{isLive:t,times:s}=e;return(0,n.jsx)(p.I4.tfoot,{borderTop:"1px solid {neutrals.nLv4}",children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{}),s.map((e,l)=>(0,n.jsx)("td",{children:(0,n.jsx)(g.EY,{textStyle:"table.medium",color:t&&l===s.length-1?"status.live":"neutrals.nLv3",py:"sm",display:"block",textAlign:"center",textTransform:"lowercase",whiteSpace:"nowrap",children:e})},"setTime-".concat(l)))]})})}var v=s(90248),f=s(87763);function b(e){let{periods:t,isTennis:s,isQSport:l}=e;return(0,n.jsx)(p.I4.thead,{borderBottom:"1px solid {neutrals.nLv4}",children:(0,n.jsxs)("tr",{children:[s&&(0,n.jsx)(p.I4.td,{w:"1/3"}),t.map((e,t)=>{let s=e.key.startsWith("period");return(0,n.jsx)("th",{children:(0,n.jsx)(g.EY,{textStyle:"table.medium",color:"neutrals.nLv3",py:"sm",textAlign:"center",display:"block",textTransform:s&&!l?"lowercase":"capitalize",children:s?(0,n.jsx)(v.A,{id:l?"status_quarter_short":"ordinalPeriod.short",values:{n:t+1}}):(0,n.jsx)(f.fP,{id:e.value})})},"thead-".concat(e.value))})]})})}let C=()=>{let{event:e}=(0,a.useContext)(o.y$);return l.HwS.indexOf(e.tournament.category.sport.slug)>-1&&e.status.type!==l.XUj.NotStarted?(0,n.jsx)(j.Zp,{isInverseDesktop:!0,children:(0,n.jsx)("div",{style:{height:109}})}):null};var w=s(93338);function S(e){let{teamName:t,scores:s}=e;return(0,n.jsxs)("tr",{children:[t&&(0,n.jsx)("td",{children:(0,n.jsx)(g.Ym,{h:"2xl",lineHeight:"2xl",textStyle:"table.medium",truncate:!0,children:t})}),s.map((e,s)=>(0,n.jsx)("td",{children:(0,n.jsx)(p.so,{h:"2xl",align:"flex-end",justify:"center",pb:"sm",children:(0,n.jsxs)(g.EY,{textStyle:"table.medium",style:{color:w.S.var(e.color)},children:[e.value,e.super]})})},"".concat(t,"-score").concat(s)))]})}var k=s(71046);let A=(e,t,s,n)=>{let l=n?t:s,r=n?s:t;return e?"colors.status.live":l>r||l===r&&l>0?"colors.neutrals.nLv1":"colors.neutrals.nLv3"},_=()=>{let e,t=(0,m.hX)(),{event:s,leftScore:r,rightScore:i,leftTeam:d,rightTeam:c}=(0,a.useContext)(o.y$),u=s.status.type===l.XUj.InProgress,x=s.tournament.category.sport.slug,{periods:h,time:g}=s,v=(0,k.jY)(x),f=x===l.QCR.Tennis;if((0,k.uk)(6e4,u),t)return(0,n.jsx)(C,{});if(!h)return null;let w=[],_=[],T=[],E=[],P=[],I=[],L=["overtime"],z=0;for(let t in h)if(0>["current","point"].indexOf(t)){var Y,R,H,M;if(z+=1,t.startsWith("period")&&(null==s?void 0:s.defaultPeriodCount)&&z>(null==s?void 0:s.defaultPeriodCount)&&void 0===r[t]&&void 0===i[t]||"penalties"===t&&void 0===r.penalties)continue;if(t.startsWith("inning")||t.startsWith("extra")){e=t.startsWith("extra")?"inning10":t;let s=t.startsWith("inning")?String(z):"EI",n=r.innings&&"object"==typeof r.innings[e],l=i.innings&&"object"==typeof i.innings[e];if((n||l)&&w.push({key:e,value:s}),n){let t=null==(Y=r.innings[e])?void 0:Y.run;void 0!==t&&_.push(t>=0?"".concat(t):"X")}if(l){let t=null==(R=i.innings[e])?void 0:R.run;void 0!==t&&T.push(t>=0?"".concat(t):"X")}}else{let e="".concat(t,"TieBreak"),s=r[e],l=i[e],a="number"==typeof s?(0,n.jsx)("sup",{"data-change-key":"leftScore.".concat(e),children:s}):null,o="number"==typeof s?(0,n.jsx)("sup",{"data-change-key":"rightScore.".concat(e),children:l}):null;(-1===L.indexOf(t)||void 0!==r[t]&&void 0!==i[t])&&(w.push({key:t,value:h[t]}),_.push(null!=(H=r[t])?H:""),T.push(null!=(M=i[t])?M:""),P.push(a),I.push(o))}g&&"current"!==t&&void 0!==g[t]?E.push((0,k.jQ)(g[t])):E.push("")}let N=r.inningsBaseball,F=i.inningsBaseball,D=N&&F;if(D){w.push({key:"blank",value:" "}),_.push(""),T.push("");let e="hits";(void 0!==N[e]||void 0!==F[e])&&(w.push({key:e,value:"H"}),_.push(void 0!==N[e]?"".concat(N[e]):"-"),T.push(void 0!==F[e]?"".concat(F[e]):"-")),(void 0!==N[e="errors"]||void 0!==F[e])&&(w.push({key:e,value:"E"}),_.push(void 0!==N[e]?"".concat(N[e]):"-"),T.push(void 0!==F[e]?"".concat(F[e]):"-"))}if(0===_.length||0===T.length)return null;let O=f&&c.shortName?d.shortName:void 0,W=O?c.shortName:void 0,U=_.length-1;if(D)U-=3;else if(u&&s.currentPeriodStartTimestamp){let e=Math.round(Date.now()-1e3*s.currentPeriodStartTimestamp)/1e3,t=(0,k.jQ)(e);E[U]=t}let B=_.map((e,t)=>({value:e,super:P[t],color:t>U?"colors.neutrals.nLv1":A(u&&t===U,parseInt(e,10),parseInt(T[t],10),!0)})),G=T.map((e,t)=>({value:e,super:I[t],color:t>U?"colors.neutrals.nLv1":A(u&&t===U,parseInt(_[t],10),parseInt(e,10),!1)})),Q=B.map((e,t)=>E[t]||"");return(0,n.jsx)(j.Zp,{isNewCard:!0,children:(0,n.jsx)(p.az,{px:"sm",style:{paddingBlock:"3px"},children:(0,n.jsxs)(p.I4.table,{tableLayout:"fixed",w:"100%",borderCollapse:"collapse",borderSpacing:"0",children:[(0,n.jsx)(b,{periods:w,isQSport:v,isTennis:f}),(0,n.jsxs)("tbody",{children:[(0,n.jsx)(S,{teamName:O,scores:B}),(0,n.jsx)(S,{teamName:W,scores:G})]}),f&&Q.some(Boolean)&&(0,n.jsx)(y,{isLive:u,times:Q})]})})})};var T=s(14395);let E=i()(()=>Promise.all([s.e(6591),s.e(4632),s.e(3170),s.e(7462),s.e(8770),s.e(6810)]).then(s.bind(s,26810)),{loadableGenerated:{webpack:()=>[26810]},ssr:!1,loading:()=>(0,n.jsx)(c.u,{})}),P=i()(()=>Promise.all([s.e(6591),s.e(4632),s.e(3170),s.e(7462),s.e(6986)]).then(s.bind(s,66986)),{loadableGenerated:{webpack:()=>[66986]},ssr:!1,loading:()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.W,{}),(0,n.jsx)(C,{})]})}),I=i()(()=>Promise.all([s.e(6591),s.e(4632),s.e(3170),s.e(7462),s.e(9923)]).then(s.bind(s,59923)),{loadableGenerated:{webpack:()=>[59923]},ssr:!1,loading:()=>(0,n.jsx)(x.U,{})}),L=i()(()=>Promise.all([s.e(6591),s.e(4632),s.e(3170),s.e(7462),s.e(6986),s.e(5496)]).then(s.bind(s,25496)),{loadableGenerated:{webpack:()=>[25496]},ssr:!1,loading:()=>(0,n.jsx)(h.n,{withScoreGraph:!0})}),z=()=>{let{event:e}=(0,a.useContext)(o.y$),t=e.tournament.category.sport,s=e.crowdsourcingDataDisplayEnabled,r=e.status.type===l.XUj.NotStarted,i=[l.XUj.Postponed,l.XUj.Canceled].includes(e.status.type),c=t.slug===l.QCR.Football&&!i,u=l.HwS.indexOf(t.slug)>-1&&!r,x=(0,k.pX)(t.slug)&&!r,h=t.slug===l.QCR.Tennis&&!r,{hasWinProbabilityGraph:m}=(0,d.A)({hasWinProbabilityGraph:{route:l.bnp.graphDataWinProbability(e.id)}}),p=t.slug===l.QCR.AmericanFootball&&!r&&m;return s?null:h?(0,n.jsx)(I,{}):c?(0,n.jsx)(E,{}):x&&p?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T.n,{event:e}),u&&(0,n.jsx)(_,{}),(0,n.jsx)(L,{})]}):x?(0,n.jsx)(P,{children:u&&(0,n.jsx)(_,{})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T.n,{event:e}),u&&(0,n.jsx)(_,{})]})}},48462:(e,t,s)=>{s.d(t,{k:()=>x,m:()=>u});var n=s(6029),l=s(21377),r=s(89875),i=s(55729),a=s(90248),o=s(62859),d=s(8703);let c=[-5,-2,-1],u=e=>{let{time:t,addedTime:s,formatSeconds:r}=e,i=r?"".concat(Math.floor(t/60),":").concat(String(t%60).padStart(2,"0")):"".concat(t,"'");return -1===t||-2===t||-5===t?null:-3===t?(0,n.jsx)(a.A,{id:"ht_status"}):-4===t?(0,n.jsx)(a.A,{id:"full_time_short"}):(0,n.jsxs)(n.Fragment,{children:[void 0!==t&&t!==l.yBP.OnBenchIncidentTime?i:"-",s&&(0,n.jsxs)("sup",{children:[" +",s]})]})},x=e=>{let{time:t,timeSeconds:s,addedTime:a,reversedPeriodTime:x,reversedPeriodTimeSeconds:h,incidentType:m}=e,p=(0,i.useContext)(o.Ws),j=(0,d.vJ)(p)&&void 0!==h||p===l.QCR.Handball&&!!s,g=j&&s?s:t,y="penaltyShootout"===m||g&&c.includes(g);return(0,n.jsx)(r.Ym,{h:{base:"lg",md:"xl"},minW:"2xl",display:"block",children:(0,n.jsx)(r.EY,{minW:"2xl",lineHeight:{md:"xl"},textStyle:"assistive.default",color:"neutrals.nLv3",textAlign:"center",display:"block",children:y?"-":(0,n.jsx)(u,{time:(0,d.vJ)(p)?h||x:g,addedTime:a,formatSeconds:j})})})}},48553:(e,t,s)=>{s.d(t,{Y:()=>f});var n=s(6029),l=s(21377),r=s(55729),i=s(62859),a=s(33144),o=s(89875),d=s(76356),c=s(90248),u=s(65789),x=s(54409),h=s(82707),m=s(61836),p=s(86679);let j=(e,t,s)=>{if(t&&s)return l.cWY.seasonStatistics(e,t,s,l.Vw_.overall)},g=()=>{var e,t;let{event:s,leftTeam:n,rightTeam:a,location:o}=(0,r.useContext)(i.y$),d=null==(e=s.tournament.uniqueTournament)?void 0:e.id,c=null==(t=s.season)?void 0:t.id,{ltHasStats:u,ltHasGivenSeason:x,rtHasStats:h,rtHasGivenSeason:g}=(0,p.A)({ltHasStats:{route:l.cWY.statisticsSeasons(n.id)},ltHasGivenSeason:{route:j(n.id,d,c)},rtHasStats:{route:l.cWY.statisticsSeasons(a.id)},rtHasGivenSeason:{route:j(a.id,d,c)}},[s]);return{shouldShowAction:u&&h,getLinkQueryParams:()=>x&&g&&c&&d?{ids:"".concat(n.id,",").concat(a.id),s_ids:"".concat(c,",").concat(c),ut_ids:"".concat(d,",").concat(d)}:{ids:"".concat(n.id,",").concat(a.id)},logAnalyticsEvent:()=>(0,m.ke)({action:"click",location:"event_widget"===o?"event_widget":"event_details",type:"compare_teams"})}},y=e=>{let{event:t,leftTeam:s,rightTeam:r,isInDesktopHeader:i}=e,{shouldShowAction:m,getLinkQueryParams:p,logAnalyticsEvent:j}=g(),y=t.tournament.category.sport.slug;return void 0===m?i?(0,n.jsx)(o.D7,{disabled:!0,children:(0,n.jsx)(x.l3$,{style:{width:24,height:24}})}):(0,n.jsx)(u.Zp,{children:(0,n.jsx)(d.az,{h:"4xl"})}):m?i?(0,n.jsx)(h.N_,{routeKey:"comparison",params:{sport:y,entityType:l.wNW.Team},query:p(),children:(0,n.jsx)(o.D7,{onClick:j,children:(0,n.jsx)(x.l3$,{style:{width:24,height:24}})})}):(0,n.jsx)(u.Zp,{children:(0,n.jsxs)(d.so,{px:"lg",py:"sm",justify:"space-between",align:"center",children:[(0,n.jsx)(a.p,{id:s.id,alt:s.name,size:32}),(0,n.jsx)(h.N_,{routeKey:"comparison",params:{sport:y,entityType:l.wNW.Team},query:p(),style:{width:"calc(100% - 64px - 32px)"},children:(0,n.jsxs)(o.$n,{textWrap:"wrap",w:"100%",size:"secondary",onClick:j,children:[(0,n.jsx)(c.A,{id:"compare_teams"})," ",(0,n.jsx)(x.l3$,{minW:24})]})}),(0,n.jsx)(a.p,{id:r.id,alt:r.name,size:32})]})}):null};var v=s(71046);let f=e=>{let{isInDesktopHeader:t}=e,s=(0,r.useContext)(i.y$);if(!s)throw Error("CompareTeamsContainer must be used within EventContext");return(0,v.c5)(s.event)!==l.QCR.Football?null:(0,n.jsx)(y,{...s,isInDesktopHeader:t})}},49937:(e,t,s)=>{s.d(t,{R:()=>h});var n=s(6029),l=s(89875),r=s(76356),i=s(55729),a=s(90248),o=s(65789),d=s(62859),c=s(54409),u=s(62827),x=s(71046);function h(){let{event:e}=(0,i.useContext)(d.y$),t=e.statusReason?"event.statusReason":(0,u.ux)(e)?"status.finalResultOnly":(0,x.WY)(e)?"event.coverageDowngradeInfo":void 0;return t?(0,n.jsx)(o.Zp,{isNewCard:!0,children:(0,n.jsxs)(r.so,{br:"lg",px:"lg",py:"sm",align:"center",children:[(0,n.jsx)(c.G_L,{width:24,height:24,fill:"onSurface.nLv3",mr:"lg",my:"auto"}),(0,n.jsx)(l.EY,{textStyle:"body.small",children:(0,n.jsx)(a.A,{id:t,values:e.statusReason?{statusType:e.status.type,statusReason:(0,u.ap)(e.statusReason)}:void 0})})]})}):null}},51883:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(6029),l=s(99064),r=s(71024),i=s.n(r),a=s(58047);let o=i()(()=>s.e(9979).then(s.bind(s,39979)),{loadableGenerated:{webpack:()=>[39979]},ssr:!1});function d(e){let{hasRecommendedPrematchOdds:t}=e;return(0,n.jsx)(l.tU.Panel,{tabKey:a.x.FeaturedOdds,children:(0,n.jsx)(o,{preferRecommendedPrematch:t})})}},52827:(e,t,s)=>{s.d(t,{i:()=>i});var n=s(1815),l=s(61836),r=s(95868);function i(e){let t=(0,r.Hw)(e);return(0,n.e)(()=>(0,l.WG)({id:t.eventId||t.tournamentId,location:t.location}))}},53235:(e,t,s)=>{s.d(t,{d:()=>H});var n=s(6029),l=s(76356),r=s(55729),i=s(45860),a=s(65789),o=s(62859),d=s(8703),c=s(21377),u=s(89875),x=s(90248);let h=e=>{let{shouldShowSets:t}=e;return(0,n.jsxs)(l.so,{py:"md",gap:{base:"lg",md:"md",lg:"xl"},children:[(0,n.jsx)(l.az,{flexGrow:1}),t&&(0,n.jsx)(l.so,{w:"2xl",justify:"center",children:(0,n.jsx)(u.EY,{textStyle:"table.medium",color:"neutrals.nLv3",children:(0,n.jsx)(x.A,{id:"darts_sets"})})}),(0,n.jsx)(l.so,{w:"2xl",justify:"center",children:(0,n.jsx)(u.EY,{textStyle:"table.medium",color:"neutrals.nLv3",children:(0,n.jsx)(x.A,{id:"darts_legs"})})}),(0,n.jsx)(l.so,{w:"2xl",justify:"center",children:(0,n.jsx)(u.EY,{textStyle:"table.medium",color:"neutrals.nLv3",children:(0,n.jsx)(x.A,{id:"darts_points"})})})]})};var m=s(54409),p=s(87357),j=s(69759);let g=e=>{let{name:t,isThrowing:s}=e;return(0,n.jsxs)(l.so,{grow:1,gap:"xl",children:[(0,n.jsx)(u.EY,{textStyle:"table.medium",children:t}),s&&(0,n.jsx)(m.v1,{fill:"sofaSingles.live"})]})},y=e=>{let{value:t}=e;return(0,n.jsx)(l.so,{w:"2xl",justify:"center",children:(0,n.jsx)(u.EY,{textStyle:"table.medium",color:"status.live",children:t})})},v=e=>{let{name:t,score:s,isThrowing:r,shouldShowSets:i}=e,a=(0,p.U)(s);return(0,n.jsxs)(l.so,{direction:"row",gap:{base:"lg",md:"md",lg:"xl"},children:[(0,n.jsx)(g,{name:t,isThrowing:r}),i&&(0,n.jsx)(y,{value:s.display||0}),void 0!==a&&(0,n.jsx)(y,{value:a||0}),void 0!==s.point&&(0,n.jsx)(y,{value:s.point||j.I})]})};var f=s(8385);let b=()=>{let{event:e,leftTeam:t,rightTeam:s,leftScore:i,rightScore:a}=(0,r.useContext)(o.y$);if(e.status.type===c.XUj.InProgress&&void 0!==i.point&&void 0!==a.point&&void 0!==e.firstToServe){let r=void 0!==e.bestOfSets&&void 0!==i.display&&void 0!==a.display&&e.bestOfSets>1;return(0,n.jsxs)(l.so,{direction:"column",p:"md",bg:"surface.s2",br:"lg",children:[(0,n.jsx)(h,{shouldShowSets:r}),(0,n.jsx)(l.cG,{color:"neutrals.nLv4",borderBlockEndStyle:"solid"}),(0,n.jsxs)(l.so,{direction:"column",py:"md",gap:"lg",children:[(0,n.jsx)(v,{name:t.name,score:i,isThrowing:e.firstToServe===f.ai.Home,shouldShowSets:r}),(0,n.jsx)(v,{name:s.name,score:a,isThrowing:e.firstToServe===f.ai.Away,shouldShowSets:r})]})]})}return null},C=()=>{let{event:e}=(0,r.useContext)(o.y$);return(0,n.jsxs)(l.so,{direction:"column",gap:"md",px:"lg",children:[(0,n.jsxs)(l.so,{align:"center",gap:"md",children:[(0,n.jsx)(l.az,{w:"sm",h:"sm",br:"sm",bg:"secondary.default"}),(0,n.jsx)(u.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,n.jsx)(x.A,{id:"darts_hold_of_throw",values:{name:e.homeTeam.name}})})]}),(0,n.jsxs)(l.so,{align:"center",gap:"md",children:[(0,n.jsx)(l.az,{w:"sm",h:"sm",br:"sm",bg:"primary.default"}),(0,n.jsx)(u.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,n.jsx)(x.A,{id:"darts_hold_of_throw",values:{name:e.awayTeam.name}})})]}),(0,n.jsxs)(l.so,{align:"center",gap:"md",children:[(0,n.jsx)(l.az,{w:"sm",h:"sm",br:"sm",bg:"status.error.default"}),(0,n.jsx)(u.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,n.jsx)(x.A,{id:"darts_break_of_throw"})})]})]})};var w=s(93338);let S=e=>{let{point:t,color:s}=e;return(0,n.jsxs)(l.so,{direction:"column",align:"center",children:[(0,n.jsx)(u.EY,{textStyle:"body.small",style:{color:w.S.var(s.homeColor)},children:t.homePoint}),(0,n.jsx)(u.EY,{textStyle:"body.small",style:{color:w.S.var(s.awayColor)},children:t.awayPoint})]})},k=e=>{let{leg:t}=e;return(0,n.jsx)(l.xA,{flexGrow:1,gridTemplateColumns:"repeat(10,1fr)",rowGap:"md",borderStart:"1px solid {colors.neutrals.nLv4}",pl:{base:"md",mdOnly:"xs"},children:t.points.map((e,s)=>(0,n.jsx)(S,{point:e,color:(0,f.mn)(t,s)},s))})},A=e=>{let{player:t,score:s}=e;return s.throwing===t&&s.scoring===t?(0,n.jsx)(m.v1,{fill:t===f.ai.Home?"secondary.default":"primary.default"}):s.throwing===t&&s.scoring!==t?(0,n.jsx)(m.v1,{fill:"error.default"}):null},_=e=>{let{score:t,player:s}=e;return(0,n.jsxs)(l.so,{gap:{base:"xs",md:"0",lg:"sm"},children:[(0,n.jsx)(l.az,{w:"lg",children:(0,n.jsx)(A,{player:s,score:t})}),(0,n.jsx)(u.EY,{textStyle:"table.medium",w:"[20px]",display:"block",textAlign:"center",color:t.scoring===s?"neutrals.nLv1":"neutrals.nLv3",children:s===f.ai.Home?t.homeScore:t.awayScore})]})},T=e=>{let{leg:t,score:s}=e;return void 0===s.scoring?(0,n.jsxs)(l.so,{h:"[30px]",align:"center",gap:{base:"xs",md:"0",lg:"sm"},children:[(0,n.jsx)(l.az,{w:"lg"}),(0,n.jsx)(u.EY,{color:"status.live",textStyle:"table.medium",w:"[20px]",display:"block",children:(0,n.jsx)(x.A,{id:"ordinal",values:{n:t}})})]}):(0,n.jsxs)(l.so,{align:"center",direction:"column",children:[(0,n.jsx)(_,{score:s,player:f.ai.Home}),(0,n.jsx)(_,{score:s,player:f.ai.Away})]})},E=e=>{let{leg:t}=e;return(0,n.jsxs)(l.so,{gap:{base:"md",mdOnly:"xs"},children:[(0,n.jsx)(T,{leg:t.leg,score:t.score}),(0,n.jsx)(k,{leg:t})]})},P=e=>{let{legs:t}=e;return(0,n.jsx)(l.so,{direction:"column",gap:"xl",children:[...t].reverse().map(e=>(0,n.jsx)(E,{leg:e},e.leg))})};var I=s(99064);let L=e=>{let{pointByPoint:t,currentSet:s,setCurrentSet:l}=e;return t.length<=1?null:(0,n.jsx)("div",{children:(0,n.jsx)(I.tU,{variant:"secondary",value:s,onChange:l,children:(0,n.jsx)(I.tU.List,{scroll:!0,py:"xs",children:t.map(e=>(0,n.jsxs)(I.tU.Tab,{children:[(0,n.jsx)(x.A,{id:"ordinal",values:{n:e.set}})," ",(0,n.jsx)(x.A,{id:"set"})]},e.set))})})})},z=e=>{let{event:t}=(0,r.useContext)(o.y$),[s,n]=(0,r.useState)(1);return(0,r.useEffect)(()=>{t.status.type===c.XUj.InProgress&&n(e)},[t.status.type]),{currentSet:s,setCurrentSet:n}},Y=e=>{let{pointByPoint:t}=e,{currentSet:s,setCurrentSet:r}=z(t.length);return(0,n.jsxs)(l.so,{direction:"column",gap:"lg",children:[(0,n.jsx)(L,{pointByPoint:t,currentSet:s,setCurrentSet:r}),(0,n.jsx)(P,{legs:t[s-1].legs}),(0,n.jsx)(l.cG,{color:"neutrals.nLv4",borderBlockEndStyle:"solid"}),(0,n.jsx)(C,{})]})},R=e=>{let{pointByPoint:t}=e;return(0,n.jsxs)(l.so,{direction:"column",gap:"xl",children:[(0,n.jsx)(b,{}),(0,n.jsx)(Y,{pointByPoint:t})]})},H=()=>{let{event:e}=(0,r.useContext)(o.y$),{data:t}=(0,i.Ay)((0,f.fK)(e),(0,d.rf)(e));return void 0!==t?(0,n.jsx)(a.Zp,{isNewCard:!0,children:(0,n.jsx)(l.az,{p:"sm",children:(0,n.jsx)(R,{pointByPoint:t.pointByPoint})})}):null}},55584:(e,t,s)=>{s.d(t,{A:()=>y});var n=s(21377),l=s(4967),r=s(55729),i=s(62859),a=s(62492),o=s(83457),d=s(22835),c=s(73011),u=s(91631),x=s(86679),h=s(95519),m=s(96675),p=s(71046);let j=[n.QCR.Rugby],g=30*l.Z2;function y(e){let t=e.status.type===n.XUj.InProgress,s=e.status.type===n.XUj.NotStarted,y=(0,o.j)(e.tournament.category.sport.slug),v=(0,r.useContext)(i.y$),{hasFeaturedOdds:f,hasOddsTab:b,hasWinningOdds:C}=(0,u.Q)(),w=(0,u.PW)(),S=!!b||!!w,{hasScorecardTab:k,hasCricketIncidents:A,hasMedia:_,hasLAWData:T,hasHomeMMACareerStatistics:E,hasAwayMMACareerStatistics:P,hasLineups:I,hasStandings:L,hasWinProbability:z,hasStatistics:Y,hasCommentary:R,hasESportsGames:H,hasCuptrees:M}=(0,x.A)((0,p.Yx)(e,y),[e.id,y],{refreshInterval:(0,h.c)(e)?g:void 0,deduplicationInterval:t||s?g/2:2*l.pY}),{showAiInsights:N,showPostmatchAiInsights:F}=(0,a.tN)(e),{hasPregameTopPlayers:D}=(0,d.M)(e),O=void 0===I?v.initialHasLineups:I,{hasRecommendedPrematchOdds:W,hasRecommendedPrematchTopVotedOdds:U}=(0,m.A)(e),B=e.tournament.category.sport.slug,G=B===n.QCR.ESports&&(0,p.f2)(e.tournament.category.id),Q=!!(c.bU.includes(B)&&e.hasEventPlayerStatistics),Z=(O||D)&&!G,V=!!e.tournament.uniqueTournament&&!!e.season&&e.tournament.competitionType===n.wGu.Cup&&!!M;return{hasCricketIncidents:!!A,hasScorecardTab:!!k,hasOversTab:!!A,hasGraphsTab:!!A,hasCommentaryTab:!!R,hasGamesTab:!!H,hasBoxScoreTab:Z&&Q,hasLineupsTab:Z&&!Q||!!O&&j.includes(B),hasStatisticsTab:!!Y||B===n.QCR.MMA&&E&&P||!!z,hasPlayByPlayTab:!!R&&B===n.QCR.IceHockey,hasStandingsTab:!!L&&!!e.season,hasMatchesTab:!0,hasFeaturedOdds:f,hasAdditionalOddsTab:S,hasWinningOdds:!!C,hasFeaturedOddsTab:!S&&(W||U),hasMediaTab:_||!!T&&t,isSpecialEsports:G,hasPregameTopPlayers:D,hasRecommendedPrematchOdds:W,hasKnockoutTab:V,hasAiInsights:!!N||!!F}}},55665:(e,t,s)=>{s.d(t,{A:()=>w});var n=s(6029),l=s(33144),r=s(21377),i=s(89875),a=s(76356),o=s(55729),d=s(90248),c=s(494),u=s(45860),x=s(65789),h=s(62859),m=s(54409),p=s(75791),j=s(62213),g=s(5546),y=s(2294),v=s(80925),f=s(30720);let b=()=>{let{location:e}=(0,o.useContext)(h.y$),t=e===h.cb.EventPage;return(0,n.jsxs)(x.Zp,{isNewCard:!0,variant:t?"mobile-only":void 0,isInverseDesktop:!t,children:[(0,n.jsx)(x.Zp.Header,{titleId:"odds"}),(0,n.jsx)(a.az,{h:{base:"5xl",md:"8xl"}}),(0,n.jsx)(a.az,{h:{base:"5xl",md:"8xl"}})]})},C=e=>{let{team:t,odds:s}=e,{isMobile:r}=(0,i.$c)(),[c,u]=(0,o.useState)(!r);return(0,o.useEffect)(()=>{u(!r)},[r]),(0,n.jsxs)(a.az,{onClick:r?()=>u(e=>!e):void 0,cursor:r?"pointer":void 0,children:[(0,n.jsxs)(a.so,{align:"center",justify:"space-between",children:[(0,n.jsxs)(a.so,{align:"center",gap:"lg",children:[(0,n.jsx)(l.p,{size:28,id:t.id,name:t.name}),(0,n.jsxs)(a.az,{color:"neutrals.nLv1",children:[(0,n.jsx)(p.c,{fractionalValue:s.fractionalValue}),"\xa0 \xa0 = \xa0 \xa0",s.expected,"%"]})]}),(0,n.jsxs)(a.so,{align:"center",gap:"lg",children:[(0,n.jsx)(a.ov,{h:"xl",bg:s.actual>s.expected?"status.val":"neutral.default",br:"sm",py:"xs",px:"sm",children:(0,n.jsxs)(i.EY,{textStyle:"assistive.default",color:"surface.s1",children:["W: ",s.actual,"%"]})}),r&&(0,n.jsx)(m.zQC,{icon:"chevron-down",style:{transition:".2s transform",transform:"rotate(".concat(180*!!c,"deg)")},width:24,height:24,fill:"primary.default"})]})]}),c&&(0,n.jsx)(i.EY,{display:"block",textStyle:"body.medium",pt:"md",children:(0,n.jsx)(d.A,{id:"winning_odds_text",values:{odds:(0,n.jsx)(p.c,{fractionalValue:s.fractionalValue}),expectedChance:"".concat(s.expected,"%"),actualChance:"".concat(s.actual,"%"),name:"".concat(t.name)}})})]})},w=function(){let{event:e,leftTeam:t,rightTeam:s,location:l}=(0,o.useContext)(h.y$),i=(0,c.d4)((0,y.Ul)(e)),d=(0,c.d4)(y.BF),m=(0,g.F0)(e),[p]=(0,v.Z)(m),w=i&&!d,S=l===h.cb.EventPage,{data:k,error:A,isLoading:_}=(0,u.Ay)(w&&p?r.bnp.winningOdds(e.id,p):null),T=w&&p&&p!==j.u3&&A,{data:E}=(0,u.Ay)(T?r.bnp.winningOdds(e.id,j.u3):null),[P,I]=(0,f.A)(k||E,"home","away");return w&&(P||I||_)?_?(0,n.jsx)(b,{}):(0,n.jsxs)(x.Zp,{isNewCard:!0,variant:S?"mobile-only":void 0,isInverseDesktop:!S,children:[(0,n.jsx)(x.Zp.Header,{titleId:"odds"}),(0,n.jsxs)(a.BJ,{py:"sm",px:"sm",gap:"lg",children:[P?(0,n.jsx)(C,{team:t,odds:P}):null,I?(0,n.jsx)(C,{team:s,odds:I}):null]}),(0,n.jsx)(x.Zp.Footer,{})]}):null}},55862:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(6029),l=s(99064),r=s(71024),i=s.n(r),a=s(58047);let o=i()(()=>Promise.all([s.e(7725),s.e(2654)]).then(s.bind(s,82654)),{loadableGenerated:{webpack:()=>[82654]},ssr:!1});function d(){return(0,n.jsx)(l.tU.Panel,{tabKey:a.x.Overs,children:(0,n.jsx)(o,{})})}},57267:(e,t,s)=>{s.d(t,{j:()=>k});var n=s(6029),l=s(76356),r=s(55729),i=s(21377),a=s(89875),o=s(54409),d=s(8703),c=s(65078),u=s(16620),x=s(48886),h=s(82707),m=s(24159),p=s(48462);let j=e=>{let{time:t,reversedPeriodTime:s,reversedPeriodTimeSeconds:r,addedTime:o,sportSlug:c}=e;return t===i.yBP.UnknownIncidentTime?null:(0,n.jsx)(l.ov,{flexDirection:"column",minW:"xl",children:(0,n.jsx)(a.EY,{color:"neutrals.nLv3",children:(0,n.jsx)(p.m,{time:(0,d.vJ)(c)?r||s:t,addedTime:o,formatSeconds:(0,d.vJ)(c)&&void 0!==r})})})},g=(e,t)=>{if(void 0!==t)return e===i.QCR.AussieRules?({behind:1,goal:6})[t]||"-":({onePoint:1,twoPoints:2,threePoints:3,fourPoints:4})[t]||"-"},y=e=>{let{sportSlug:t,incidentClass:s}=e,r={[i.QCR.Badminton]:(0,n.jsx)(o.Hj1,{sport:i.QCR.Badminton,width:24,height:24,fill:"secondary.default"}),[i.QCR.TableTennis]:(0,n.jsx)(o.Hj1,{sport:i.QCR.TableTennis,width:24,height:24,fill:"secondary.default"}),[i.QCR.Volleyball]:(0,n.jsx)(o.Hj1,{sport:i.QCR.Volleyball,width:24,height:24,fill:"secondary.default"})}[t];return(0,n.jsx)(l.ov,{minW:"2xl",h:"2xl",w:"2xl",children:r||(0,n.jsx)(a.EY,{textStyle:"display.large",color:"secondary.default",children:g(t,s)})})},v=e=>{let{incident:t,event:s}=e,r=t.player,i=s.tournament.category.sport.slug,o=(0,c.g3)(),{openEventPlayerStatistics:d}=(0,u.d)(),p=o?!t.isHome:t.isHome,[g,v]=(0,c.jr)(t,"homeScore","awayScore"),f=!!(null==r?void 0:r.shortName),b=s.hasEventPlayerStatistics&&r,C=b?()=>d({event:s,player:r},x._.Incidents):void 0;return(0,n.jsx)(h.uc,{player:!b&&(null==r?void 0:r.id)?r:void 0,sportSlug:i,children:(0,n.jsxs)(l.so,{direction:p?"row":"row-reverse",_hover:{bg:b?"surface.s2":void 0},cursor:b?"pointer":void 0,onClick:C,children:[(0,n.jsxs)(l.so,{flex:"1",py:{base:"sm",md:f?"sm":"xs"},h:f?"4xl":{base:"3xl",md:"2xl"},direction:p?"row":"row-reverse",overflow:"hidden",align:"center",children:[(0,n.jsx)(y,{sportSlug:i,incidentClass:t.incidentClass}),(0,n.jsx)(l.cG,{color:"neutrals.nLv4",orientation:"vertical",borderInlineEndStyle:"solid"}),(0,n.jsxs)(l.so,{overflow:"hidden",direction:"column",justify:"center",align:p?"flex-start":"flex-end",pl:p?"md":void 0,pr:p?void 0:"md",children:[(0,n.jsx)(a.EY,{textStyle:"display.small",children:"".concat(g," - ").concat(v)}),(null==r?void 0:r.shortName)&&(0,n.jsx)(a.EY,{w:"100%",textStyle:"body.small",color:"neutrals.nLv3",textAlign:p?"start":"end",truncate:!0,display:"block",children:(0,n.jsx)(m.c,{entity:r,short:!0})})]})]}),(0,n.jsx)(j,{...t,sportSlug:i}),(0,n.jsx)(l.az,{flex:"1"})]})})};var f=s(87763);function b(e){let{period:t,open:s,toggleOpen:r}=e,i=t.incidents.length?t.incidents[0]:null,d=(0,c.g3)(),u=d?null==i?void 0:i.awayScore:null==i?void 0:i.homeScore,x=d?null==i?void 0:i.homeScore:null==i?void 0:i.awayScore;return(0,n.jsxs)(l.so,{h:"3xl",justify:"center",style:{userSelect:"none"},align:"center",onClick:r,cursor:"pointer",pt:"lg",pb:"sm",children:[(0,n.jsxs)(a.EY,{color:"neutrals.nLv3",textStyle:"assistive.default",textAlign:"center",display:"block",children:[(0,n.jsx)(f.fP,{id:t.periodIncident.text}),i&&" ".concat(u," - ").concat(x)]}),(0,n.jsx)(o.zQC,{icon:s?"chevron-up":"chevron-down",width:24,height:24,fill:"onSurface.nLv1",ml:"4px"})]})}function C(e){let{groupedIncidents:t,event:s}=e,[i,a]=(0,r.useState)(t.map((e,t)=>0===t)),o=e=>{a(i.map((t,s)=>s===e?!t:t))};return(0,n.jsx)(n.Fragment,{children:t.map((e,t)=>(0,n.jsxs)(r.Fragment,{children:[0!==t&&(0,n.jsx)(l.cG,{color:"neutrals.nLv4",borderBlockEndStyle:"solid"}),(0,n.jsx)(b,{period:e,open:i[t],toggleOpen:()=>o(t)}),i[t]&&(0,n.jsx)(l.az,{pb:"sm",children:e.incidents.map(e=>(0,n.jsx)(r.Fragment,{children:"overtimeBreak"===e.incidentType?(0,n.jsx)(l.cG,{color:"neutrals.nLv4",borderBlockEndStyle:"solid"}):(0,n.jsx)(v,{incident:e,event:s},e.id)},e.id))})]},e.periodIncident.text))})}var w=s(65789),S=s(34765);let k=e=>{let{event:t}=e,{incidents:s,isLoading:l}=(0,S.L)();if(l||!s.length)return null;let r=[];return s.forEach(e=>{if("period"===e.incidentType)r.push({incidents:[],periodIncident:e});else{if(!r.length)return;r[r.length-1].incidents.push(e)}}),(0,n.jsx)(w.Zp,{isNewCard:!0,children:(0,n.jsx)(C,{groupedIncidents:r,event:t})})}},58074:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(6029),l=s(99064),r=s(71024),i=s.n(r),a=s(58047);let o=i()(()=>Promise.all([s.e(294),s.e(426)]).then(s.bind(s,10426)),{loadableGenerated:{webpack:()=>[10426]},ssr:!1});function d(){return(0,n.jsx)(l.tU.Panel,{tabKey:a.x.Commentary,children:(0,n.jsx)(o,{})})}},58336:(e,t,s)=>{s.d(t,{A:()=>R});var n=s(6029),l=s(99064),r=s(55729),i=s(494),a=s(62859),o=s(92209),d=s(21377),c=s(65789),u=s(51372),x=s(1840),h=s(89875),m=s(76356),p=s(90248),j=s(41618),g=s(38136),y=s(2294);let v=e=>{let{children:t}=e;return(0,n.jsx)(m.so,{justify:"flex-end",align:"center",gap:"sm",px:"sm",children:t})},f=e=>{let{isBranded:t,countryOddsProvider:s}=e;return(0,i.d4)(y.y$)?(0,n.jsx)(v,{children:(0,n.jsx)(g.V,{})}):!t&&(null==s?void 0:s.branded)?(0,n.jsxs)(v,{children:[(0,n.jsx)(h.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(p.A,{id:"featured_by"})}),(0,n.jsx)(j.r,{selectedProvider:s,size:"48x24",location:a.cb.MonetizedOddsTab})]}):null};var b=s(32523);let C=e=>{let t,s=[];return e.forEach(e=>{t===e.marketId?s[s.length-1].odds.push(e):(t=e.marketId,s.push({marketId:e.marketId,marketName:e.marketName,odds:[e]}))}),s};var w=s(46430),S=s(49821),k=s(85304);function A(e){let{countryOddsProvider:t,groupedMarketOdds:s,secondary:l,onClick:r}=e;return s?(0,n.jsx)(c.Zp,{isInverseDesktop:!0,children:(0,n.jsx)(m.az,{px:"sm",pb:"sm",pt:"xs",children:s.odds.map((e,i)=>{let a=0===i?void 0:s.odds[i-1],o=(null==a?void 0:a.isLive)!==e.isLive;return(0,n.jsx)(k.A,{market:e,secondary:l,onClick:null==r?void 0:r(e.marketName),hideMarketName:!o,showRegulationImages:!1,hideProviderLogo:!0,showLiveLabel:o&&e.isLive,selectedProvider:t},e.id)})})},s.marketId):null}let _=e=>{var t;let{eventId:s,isLive:l,countryOddsProvider:i}=e,{allEventOdds:o,error:d}=(0,w.k)(i,s,l),{ref:c,makeOnClick:u}=(0,S.kW)({countryOddsProvider:i,type:S.jF.Additional,marketName:null==o||null==(t=o[0])?void 0:t.marketName,location:a.cb.MonetizedOddsTab}),{location:x}=(0,r.useContext)(a.y$),h=x===a.cb.Widget;if(d)return null;if(!o)return(0,n.jsx)(b.E,{uniqueKey:"odds-tab"});let p=C(o),j=e=>u(e,S.ki.OddsValue);return(0,n.jsx)(m.so,{direction:"column",gap:"sm",ref:c,children:p.map(e=>(0,n.jsx)(A,{countryOddsProvider:i,groupedMarketOdds:e,secondary:!h,onClick:j},e.marketId))})};var T=s(58673),E=s(44450),P=s(5546),I=s(151);let L=(e,t)=>{var s,n;let l=(0,i.d4)(I.g);if(!e||!e.branded)return;let r=e.provider.id;if(null==l||null==(n=l.oddsTab)||null==(s=n[r])?void 0:s[t])return null==l?void 0:l.oddsTab[r]},z=()=>{let{event:e}=(0,r.useContext)(a.y$),t=(0,P.ks)(e),s=e.status.type===d.XUj.InProgress,l=L(t,"oddsTab");return(0,n.jsxs)(n.Fragment,{children:[l&&(0,n.jsx)(u.O,{entityId:e.id,branding:l,location:"monetized_odds_tab"}),(0,n.jsxs)(c.BU,{children:[(0,n.jsx)(f,{countryOddsProvider:t,isBranded:!!l}),(0,n.jsx)(E.A,{}),(0,n.jsx)(_,{countryOddsProvider:t,eventId:e.id,isLive:s}),(0,n.jsx)(T._,{}),(0,n.jsx)(x.z,{provider:t})]})]})};var Y=s(58047);function R(){let e=(0,i.d4)(y._I),t=(0,i.d4)(y.SM),{location:s}=(0,r.useContext)(a.y$),d=s===a.cb.Widget;return(0,n.jsx)(l.tU.Panel,{tabKey:Y.x.AdditionalOdds,children:e?(0,n.jsx)(o.i,{providers:t||[],placement:d?"widget":"mobile"}):(0,n.jsx)(z,{})})}},58673:(e,t,s)=>{s.d(t,{_:()=>y});var n=s(6029),l=s(21377),r=s(89875),i=s(76356),a=s(55729),o=s(947),d=s(90248),c=s(494),u=s(45860),x=s(65789),h=s(1815),m=s(61836),p=s(10794);let j=e=>{let{offer:t,noLink:s,children:l}=e;return s?(0,n.jsx)(n.Fragment,{children:l}):(0,n.jsx)("a",{target:"_blank",rel:"nofollow noopener noreferrer",href:t.url,onClick:()=>(0,m.p7)({id:t.id,location:"odds_tab"}),children:l})},g=e=>{let{offer:t}=e,s=(0,a.useRef)(null),c=(0,a.useRef)(null),[u,x]=(0,a.useState)(!1),p=(0,o.A)(),g=(0,h.e)(()=>(0,m.fb)({id:t.id,location:"odds_tab"}),{delay:500});(0,a.useEffect)(()=>{if(!(null==s?void 0:s.current)||u)return;let e=new ResizeObserver(()=>{x(!c.current||0===c.current.clientWidth)});return e.observe(s.current),x(!c.current||0===c.current.clientWidth),()=>{e.disconnect()}},[u]);let y=u?p.formatMessage({id:"odds_turn_off_adblocker"},{providerName:t.signupLink.providerName}):t.cta,v=u?void 0:t.disclaimer;return(0,n.jsxs)(i.so,{ref:g,br:"sm",bg:{base:"surface.s0",md:"surface.s1"},direction:"column",p:"sm",gap:"sm",children:[(0,n.jsx)(i.az,{textStyle:"assistive.default",color:"neutrals.nLv1",children:y}),v&&(0,n.jsx)(i.az,{textStyle:"body.small",color:"neutrals.nLv3",children:v}),(0,n.jsx)(i.cG,{color:"neutrals.nLv4",borderBlockEndStyle:"solid"}),(0,n.jsxs)(i.so,{h:"xl",justify:"space-between",children:[(0,n.jsx)(j,{offer:t,noLink:u,children:(0,n.jsx)(r._V,{src:l.Oaq.signupLinkLogo(t.signupLink.id),h:"xl",alt:t.signupLink.providerName})}),(0,n.jsx)(i.az,{ref:s,children:(0,n.jsx)(j,{offer:t,noLink:u,children:(0,n.jsx)(r.$n,{ref:c,size:"tertiary",disabled:u,children:t.button||(0,n.jsx)(d.A,{id:"claim_your_bonus_button"})})})})]})]})},y=()=>{let e=(0,c.d4)(p.LQ),{data:t}=(0,u.Ay)(e?l.Oaq.countryOffers(e):null);return(null==t?void 0:t.signupLinks.length)?(0,n.jsx)(x.Zp,{variant:"mobile-only",children:(0,n.jsxs)(i.az,{p:"sm",children:[(0,n.jsx)(i.so,{h:"2xl",px:"sm",align:"center",children:(0,n.jsx)(r.EY,{textStyle:"display.medium",children:(0,n.jsx)(d.A,{id:"bet_boost_special_offer"})})}),(0,n.jsx)(i.so,{direction:"column",gap:"sm",children:null==t?void 0:t.signupLinks.map(e=>(0,n.jsx)(g,{offer:e},e.id))})]})}):null}},58775:(e,t,s)=>{s.d(t,{d:()=>o});var n=s(6029),l=s(89875),r=s(76356),i=s(90248),a=s(54409);let o=e=>{let{isOpen:t,onClick:s}=e;return(0,n.jsx)(r.so,{align:"center",justify:"center",p:"lg",children:(0,n.jsx)(r.I4.button,{onClick:s,padding:"0",cursor:"pointer",children:(0,n.jsxs)(r.so,{align:"center",children:[(0,n.jsx)(l.EY,{textStyle:"display.small",color:"primary.default",children:(0,n.jsx)(i.A,{id:t?"show_less":"show_more"})}),t?(0,n.jsx)(a.t8v,{fill:"primary.default",ml:"xs"}):(0,n.jsx)(a.QtO,{fill:"primary.default",ml:"xs"})]})})})}},59280:(e,t,s)=>{s.d(t,{A:()=>x});var n=s(6029),l=s(21377),r=s(99064),i=s(71024),a=s.n(i),o=s(58047),d=s(3856);let c=a()(()=>Promise.resolve().then(s.bind(s,36142)),{loadableGenerated:{webpack:()=>[36142]},ssr:!1}),u=a()(()=>Promise.all([s.e(3268),s.e(4388)]).then(s.bind(s,44388)),{loadableGenerated:{webpack:()=>[44388]},ssr:!1,loading:()=>(0,n.jsx)(d.O,{})});function x(e){let{event:t}=e;return(0,n.jsx)(r.tU.Panel,{tabKey:o.x.Statistics,children:t.tournament.category.sport.slug===l.QCR.MMA?(0,n.jsx)(c,{isMobileLayout:!0}):(0,n.jsx)(u,{event:t})})}},59455:(e,t,s)=>{s.d(t,{A:()=>eR});var n=s(6029),l=s(21377),r=s(21501),i=s(76356),a=s(99064),o=s(55729),d=s(494),c=s(62859),u=s(75751),x=s(37377),h=s(39676),m=s(77932),p=s(48553),j=s(53235),g=s(76277),y=s(99326),v=s(17808),f=s(1840),b=s(5546),C=s(91631),w=s(77540),S=s(47229),k=s(73586),A=s(62213),_=s(10794),T=s(92494);function E(e){let{event:t,onFeaturedOddsClick:s}=e,r=(0,b.F0)(t),i=t.status.type===l.XUj.InProgress,a=(0,d.d4)(_.LQ);return(0,n.jsx)(k.S,{event:t,countryOddsProvider:r,fallback:{NL:(0,n.jsx)(h.iN,{id:T.Rj.MOBILE_EVENT_BELOW_ODDS}),PT:(0,n.jsx)(w.U,{onClick:s}),DE:(0,n.jsx)(h.iN,{id:T.Rj.MOBILE_EVENT_BELOW_ODDS})},isComparisonElevated:!0,hasCTALoader:!!a&&A.fe.includes(a),children:(0,n.jsx)(S.J7,{eventId:t.id,isLive:i})})}var P=s(2294),I=s(58047),L=s(27175),z=s(17803),Y=s(78383),R=s.n(Y),H=s(90248),M=s(41735),N=s(45860),F=s(65789),D=s(54409),O=s(8703),W=s(15424),U=s(68671);let B=e=>({left:{default:e.mmaSpecific.red.default,highlight:e.mmaSpecific.red.highlight},right:{default:e.mmaSpecific.blue.default,highlight:e.mmaSpecific.blue.highlight}});var G=s(53731);let Q=e=>{let{eventId:t,period:s,onSeeAllStatisticsClick:r,...i}=e,{data:o,error:d}=(0,N.Ay)(l.bnp.statistics(t));if(!o||d)return null;let c=o.statistics,{strikeGraph:u}=(0,U.Ip)(c,s);return(0,n.jsxs)(a.az,{...i,children:[(0,n.jsx)(a.EY,{block:!0,font:"display.medium",align:"center",p:"md",children:(0,n.jsx)(H.A,{id:"strikes_by_zones"})}),(0,n.jsx)(W.lg,{statsStrikeGraph:u}),r&&(0,n.jsxs)(a.EY,{pt:"md",pb:"xl",color:"primary.default",font:"display.small",block:!0,align:"center",onClick:r,children:[(0,n.jsx)(H.A,{id:"see_all_statistics"})," ",(0,n.jsx)(D.CCT,{fill:"primary.default"})]})]})},Z=e=>{let{onSeeAllStatisticsClick:t}=e,{colors:s}=(0,M.useTheme)(),{event:r}=(0,o.useContext)(c.y$);return r.status.type!==l.XUj.Finished||(0,O.c5)(r)!==l.QCR.MMA?null:(0,n.jsx)(G.Ef.Provider,{value:{MMAColors:B(s),eventStatusType:r.status.type,isPercent:!0,period:0,gender:r.gender,changeStatsDisplay:R(),setPeriod:R()},children:(0,n.jsx)(F.Zp,{isNewCard:!0,children:(0,n.jsx)(Q,{eventId:r.id,period:0,onSeeAllStatisticsClick:t})})})};var V=s(85009),$=s(885),X=s(23685),K=s(29469),q=s(17247),J=s(9088),ee=s(89875),et=s(82203),es=s.n(et),en=s(26331),el=s(88339),er=s(61836),ei=s(25862),ea=s(94704);let eo=e=>{let{name:t,startDate:s}=e,{event:l}=(0,o.useContext)(c.y$),r=(0,d.d4)(el.$F),i=!!(null==r?void 0:r.id),a=(0,en.A)(),u=(0,d.wA)(),x=(0,ea.oY)(l,a),h=(0,ea.GY)(t,s,x);return(0,n.jsx)(n.Fragment,{children:i?(0,n.jsx)(es(),{href:h,onClick:()=>{(0,er.ke)({action:"click",location:"event_screen",type:"add_to_calendar_button"})},target:"_blank",children:(0,n.jsx)(ee.$n,{size:"tertiary",children:(0,n.jsx)(H.A,{id:"add_event_button"})})}):(0,n.jsx)(ee.$n,{size:"tertiary",onClick:()=>{i||u((0,ei.aS)()),(0,er.ke)({action:"click",location:"event_screen",type:"add_to_calendar_button"})},children:(0,n.jsx)(H.A,{id:"add_event_button"})})})},ed=()=>{let{event:e}=(0,o.useContext)(c.y$);return(0,n.jsx)(F.Zp,{isNewCard:!0,children:(0,n.jsx)(F.BU,{children:(0,n.jsxs)(i.so,{w:"100%",justify:"space-between",align:"center",px:"sm",children:[(0,n.jsxs)(i.so,{align:"center",gap:"sm",children:[(0,n.jsx)(D.E8x,{fill:"onSurface.nLv1"}),(0,n.jsx)(ee.EY,{children:(0,n.jsx)(H.A,{id:"add_to_calendar"})})]}),(0,n.jsx)(eo,{name:"".concat(e.homeTeam.name," - ").concat(e.awayTeam.name),startDate:e.startTimestamp})]})})})};var ec=s(79085),eu=s(34884),ex=s(5348),eh=s(36337),em=s(80804),ep=s(57267),ej=s(69642),eg=s(98899),ey=s(75409),ev=s(10951),ef=s(12174),eb=s(11687),eC=s(27680),ew=s(25049),eS=s(49937),ek=s(868);let eA=e=>{let{event:t,onFeaturedOddsClick:s}=e,r=t.status.type===l.XUj.InProgress,i=(0,d.d4)(_.LQ),a=(0,b.F0)(t);return(0,n.jsx)(k.S,{countryOddsProvider:a,event:t,fallback:{PT:(0,n.jsx)(w.U,{onClick:s})},hasCTALoader:!!i&&A.fe.includes(i),children:(0,n.jsx)(S.f9,{eventId:t.id,isLive:r})})};var e_=s(55665),eT=s(47022),eE=s(71046),eP=s(71024);let eI=s.n(eP)()(()=>s.e(8305).then(s.bind(s,68305)),{loadableGenerated:{webpack:()=>[68305]},ssr:!1});function eL(e){let{event:t}=e;return(0,n.jsx)(F.Zp,{children:(0,n.jsx)(i.az,{maxW:"100%",minH:"[322px]",p:"lg",children:(0,n.jsx)(eI,{id:5,name:"EventAC",event:t})})})}function ez(e){let{event:t}=e;return(0,n.jsx)(eL,{event:t})}let eY=e=>{let{event:t}=e,s=(0,eE.D7)(),{service:l}=(0,o.useContext)(h.i4),r=(0,d.d4)(_.LQ),a=!!r&&(0,eE.Q9)(r);return(0,o.useEffect)(()=>{(null==l?void 0:l.provider)===h.wZ.Google&&a&&l.addExcludedSlot([h.Rj.MOBILE_EVENT_TOP])},[l]),(0,n.jsx)(i.az,{ref:a?void 0:s,children:a?(0,n.jsx)(ez,{event:t}):(0,n.jsx)(q.i,{id:h.Rj.MOBILE_EVENT_TOP})})};function eR(e){var t,s,w,S,k,A;let{isInsideEventWidget:_,isSpecialEsports:T,hasStandings:Y,hasCricketIncidents:R,hasWinningOdds:H,hasFeaturedOdds:M,hasMediaTab:N,onFeaturedOddsClick:F,onBestPlayersClick:D,onPrematchStandingsClick:O,onSeeAllStatisticsClick:W,onHighlightShortcutClick:U}=e,{event:B,leftTeam:G,rightTeam:Q}=(0,o.useContext)(c.y$),ee=B.tournament.category.sport,et=(0,r.hX)(),es=B.tournament.category.sport.slug,en=es===l.QCR.MMA,el=eh.I.includes(es)&&B.status.type===l.XUj.NotStarted,er=ee.slug===l.QCR.Football,ei=ee.slug===l.QCR.Tennis,ea=B.status.type===l.XUj.NotStarted,eo=(0,d.d4)(P.fq),eE=(0,C.q1)(),eP=eo?eE:M,eI=H||eP,eL=(0,b.F0)(B);return(0,n.jsx)(a.tU.Panel,{tabKey:I.x.Details,children:(0,n.jsxs)(i.so,{direction:"column",p:"sm",gap:"sm",children:[(0,n.jsx)(eu.i,{eventLocation:"editor_event",nickname:null==(t=B.eventEditor)?void 0:t.name,userId:null==(s=B.eventEditor)?void 0:s.id,hasStarted:B.status.type!==l.XUj.NotStarted}),(0,n.jsx)(eS.R,{}),(0,n.jsx)(ex.N,{event:B}),_?(0,n.jsx)(eA,{event:B,onFeaturedOddsClick:F}):(0,n.jsx)(E,{event:B,onFeaturedOddsClick:F}),(0,n.jsx)(ev.y,{}),(0,n.jsx)(ew.z,{}),!et&&(0,n.jsx)(z.m2,{eventId:B.id,tournamentId:B.tournament.id,roundId:null==(w=B.roundInfo)?void 0:w.round,type:"single",screen:"mobile",isLive:B.status.type===l.XUj.InProgress,location:z.D_.DetailsTab,hasMediaTab:N,onHighlightShortcutClick:U}),(0,n.jsx)(eT.C,{}),T&&(0,n.jsx)(m.A,{event:B}),(0,n.jsx)(j.d,{}),!_&&(0,n.jsx)(eY,{event:B}),(0,n.jsx)(u.t,{tag:"PreviousMatchInfo",children:(0,n.jsx)(eC.f,{})}),(0,n.jsx)(ef.f,{event:B}),!er&&(0,n.jsx)(ec.E,{event:B,onClick:D}),es===l.QCR.Tennis?(0,n.jsx)(L.A,{event:B}):(0,eg.D)(es)?(0,n.jsx)(ep.j,{event:B}):es===l.QCR.Cricket?R&&(0,n.jsx)(g.x,{}):(0,n.jsx)(ej.w,{event:B}),er&&(0,n.jsx)(ec.E,{event:B,onClick:D}),(0,n.jsx)(K.A,{placement:_?h.Mx.DesktopWidget:h.Mx.MobileEventPage,event:B}),(0,n.jsx)(Z,{onSeeAllStatisticsClick:W}),(0,n.jsx)(X.Y,{utId:null==(S=B.tournament.uniqueTournament)?void 0:S.id,location:"event_screen",bgImageUrl:[l.cWY.image(G.id),l.cWY.image(Q.id)],isInverseDesktop:!0}),B.status.type!==l.XUj.NotStarted&&(0,n.jsx)(p.Y,{}),(0,n.jsx)(eb.s,{eventId:B.id,onClick:Y?O:void 0}),ei&&ea&&(0,n.jsx)(ek.p,{}),(0,n.jsx)(em.H,{eventId:B.id,leftTeam:G,rightTeam:Q,sportSlug:es}),B.status.type===l.XUj.NotStarted&&(0,n.jsx)(p.Y,{}),!_&&(0,n.jsx)(q.i,{id:h.Rj.MOBILE_EVENT_MID}),H&&(0,n.jsx)(e_.A,{}),!en&&(0,n.jsx)(V.d,{eventId:B.id,type:l.IAy.Event,startTimestamp:B.startTimestamp}),(0,n.jsx)($.X,{}),en&&(0,n.jsx)(v.A,{homeTeam:B.homeTeam,awayTeam:B.awayTeam}),(0,n.jsx)(ey.W,{event:B,showTournamentInfo:T}),el&&(0,n.jsx)(eh.x,{eventId:B.id,leftTeam:G,rightTeam:Q}),(null==(k=B.eventEditor)?void 0:k.name)&&(0,n.jsx)(x.s,{}),(0,n.jsx)(y.pk,{utIds:[null==(A=B.tournament.uniqueTournament)?void 0:A.id]}),!_&&(0,n.jsx)(J.I,{event:B}),B.status.type===l.XUj.NotStarted&&(0,n.jsx)(ed,{}),eI&&(0,n.jsx)(f.z,{showTailingRegulation:!eP,provider:eL})]})})}},62102:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(6029),l=s(99064),r=s(71024),i=s.n(r),a=s(58047);let o=i()(()=>s.e(3007).then(s.bind(s,33007)),{loadableGenerated:{webpack:()=>[33007]},ssr:!1});function d(){return(0,n.jsx)(l.tU.Panel,{tabKey:a.x.BoxScore,children:(0,n.jsx)(o,{})})}},62492:(e,t,s)=>{s.d(t,{Ad:()=>b,k9:()=>v,mV:()=>w,$e:()=>x,gY:()=>C,ff:()=>u,tN:()=>m,jS:()=>g});var n=s(21377),l=s(494),r=s(45860),i=s(99725),a=s(88339);let o=["de","en","es","fr","it","pt","ar","tr","id","ru","pt-pt","pl","hr","nl","el","sr","ro","vi","th","az","hu","uz","ko","fa","sv","zh","da","bg"],d=[n.XUj.NotStarted,n.XUj.InProgress];var c=s(26331);let u=()=>{let e=(0,c.A)();return e&&o.includes(e)?e:"en"},x=(e,t)=>{let s=(0,l.wA)(),o=(0,l.d4)(a.Cd),c=(0,l.d4)(a.hl),x=(0,l.d4)(a.$F),h=u(),m=d.includes(e.status.type);return(0,r.Ay)(o&&c&&!t?[e.id,h,o,c]:null,{fetcher:e=>{let[t,s,l,r]=e;return n.nk6.fetchAiInsights(t,s,l,r)},onError:e=>{m&&(null==x?void 0:x.hasPremium)&&(null==e?void 0:e.status)===403&&(s((0,i.QT)()),s((0,i.lX)()))}})};var h=s(7263);let m=(e,t)=>{let s=(0,l.d4)(a.Cd),i=(0,l.d4)(a.hl),o=u(),c=d.includes(e.status.type),x={fetcher:h.n,revalidateOnFocus:!0,refreshInterval:6e4*!!c,...t},{data:m}=(0,r.Ay)(s&&i&&e.status.type===n.XUj.Finished?[n.bnp.aiInsightsPostmatch(e.id,o),"HEAD"]:null,x),{data:p}=(0,r.Ay)(s&&i&&c?[n.bnp.aiInsights(e.id,o),"HEAD"]:null,x);return{showAiInsights:p,showPostmatchAiInsights:m}};var p=s(55729),j=s(83260);let g=(e,t,s,n)=>{let[l,r]=(0,j.A)("last-seen-insights",[]),[i,a]=(0,p.useState)(!0),o=!l.includes(n);return(0,p.useEffect)(()=>{if(s||!e)return;let l=setTimeout(()=>{a(!1),t&&o&&r(e=>e.length>=30?[...e.slice(1),n]:[...e,n])},3e3);return()=>clearTimeout(l)},[s,e]),i&&e&&o};var y=s(6029),v=function(e){return e.Halftime="halftime",e.Postmatch="postmatch",e}({});let f=(0,p.createContext)(null),b=e=>{let{event:t,children:s}=e,l=t.status.type===n.XUj.InProgress?v.Halftime:v.Postmatch,[r,i]=(0,p.useState)(l),[a,o]=(0,p.useState)(!1);return(0,y.jsx)(f.Provider,{value:{activeTab:r,setActiveTab:i,hasTabs:a,setHasTabs:o},children:s})},C=()=>{let e=(0,p.useContext)(f);if(!e)throw Error("useAiInsightsContext must be used within an AiInsightsContext");return e};function w(e,t,s){let n=s!==t,l=n?(n?s>t:void 0)?e.awayTeam:e.homeTeam:void 0;return{hasWinner:n,winner:l}}},65693:(e,t,s)=>{s.d(t,{A:()=>i});var n=s(6029),l=s(76356),r=s(65789);function i(){return(0,n.jsxs)(r.Zp,{isNewCard:!0,children:[(0,n.jsx)(r.Zp.Header,{titleId:"featured_players"}),(0,n.jsx)(l.az,{h:"[384px]"})]})}},69642:(e,t,s)=>{s.d(t,{w:()=>eP});var n=s(6029),l=s(21377),r=s(55729),i=s(65789),a=s(8703),o=s(89875),d=s(76356),c=s(90248),u=s(62859),x=s(16620),h=s(48886),m=s(26331),p=s(80224),j=s(65078),g=s(82707),y=s(78944),v=s(87763),f=s(84942),b=s(95543),C=function(e){return e.Scoring="scoring",e.Penalties="penalties",e}({});function w(e,t){return e.filter(e=>"penalties"===t?["suspension","period"].includes(e.incidentType):"suspension"!==e.incidentType)}let S=e=>{var t;let{suspension:s}=e,l=function(e){if(e&&"misconduct_10min"!==e.key)return e.severity}(s.iceHockeyPenaltyType),r=null==s||null==(t=s.iceHockeyPenaltyType)?void 0:t.key,i=s.duration?(0,b.M)(s.duration/60):void 0;return(0,n.jsxs)(o.EY,{mb:"2xs",children:[l&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y.H7,{id:l}),":"]})," ",r&&(0,n.jsx)(y.H7,{id:r}),i&&" | ".concat(i,"'")]})},k=e=>{let{suspension:t,locale:s,isLeft:l}=e,{player:r,suspensionDrawnByPlayer:i,suspensionServedByPlayer:a,iceHockeyPenaltyType:u}=t,x=r&&(0,f.s)(r,s),h=a&&(0,f.s)(a,s),m=i&&(0,f.s)(i,s);return(0,n.jsxs)(d.so,{direction:"column",py:"md",align:l?"flex-start":"flex-end",children:[(0,n.jsx)(S,{suspension:t}),x&&(0,n.jsx)(o.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:x}),h&&(0,n.jsxs)(o.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:[(0,n.jsx)(c.A,{id:"penalty_served_by"}),": ",h]}),m&&(null==u?void 0:u.key)!=="embellishment"&&(0,n.jsxs)(o.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:[(0,n.jsx)(c.A,{id:"penalty_against"}),": ",m]})]})};var A=s(83616);let _=e=>{let{align:t,hover:s,text:l,isPrimary:r}=e;return(0,n.jsx)(o.EY,{textStyle:r?"body.medium":"body.small",h:"lg",w:{base:"100%",md:"auto"},color:r?"neutrals.nLv1":"neutrals.nLv3",textAlign:t,display:"block",truncate:!0,_hover:s?{color:"primary.default"}:void 0,children:l})},T=e=>{let{ternary:t,align:s,children:l,notMain:r}=e;return(0,n.jsx)(d.so,{maxW:"100%",overflow:"hidden",h:r?void 0:t?{base:"7xl",md:"5xl"}:{base:"[60px]",md:"2xl"},direction:{base:"column",md:t?"column":"start"===s?"row":"row-reverse"},align:{base:"start"===s?"flex-start":"flex-end",md:t?"start"===s?"flex-start":"flex-end":"center"},justify:"center",gap:t?void 0:{md:"xs"},children:l})},E=e=>{let{primary:t,secondary:s,ternary:l,primaryHover:r,secondaryHover:i,ternaryHover:a,align:c,score:u}=e,{isDesktop:x}=(0,o.$c)();return x?(0,n.jsxs)(T,{ternary:!!l,align:c,children:[(0,n.jsxs)(T,{notMain:!0,align:c,children:[(0,n.jsx)(o.EY,{hideBelow:"md",minW:"fit",textStyle:"display.large",display:"block",children:u}),t&&(0,n.jsx)(_,{text:t,hover:r,align:c,isPrimary:!0})]}),(0,n.jsx)(T,{align:c,notMain:!0,children:(0,n.jsxs)(d.so,{direction:"column",children:[s&&(0,n.jsx)(_,{text:s,hover:i,align:c}),l&&(0,n.jsx)(_,{text:l,hover:a,align:c})]})})]}):t&&s&&l&&u?(0,n.jsxs)(T,{ternary:!0,align:c,children:[(0,n.jsxs)(T,{notMain:!0,align:c,children:[(0,n.jsx)(o.EY,{hideBelow:"md",minW:"fit",textStyle:"display.large",display:"block",children:u}),(0,n.jsx)(_,{text:t,hover:r,align:c,isPrimary:!0})]}),(0,n.jsx)(T,{align:c,notMain:!0,children:(0,n.jsxs)(d.so,{direction:{base:"column",md:"row"},gap:{md:"xs"},children:[(0,n.jsx)(_,{text:s,hover:i,align:c}),(0,n.jsx)(_,{text:l,hover:a,align:c})]})})]}):(0,n.jsxs)(T,{align:c,children:[t&&(0,n.jsx)(_,{text:t,hover:r,align:c,isPrimary:!0}),s&&(0,n.jsx)(_,{text:s,hover:i,align:c}),l&&(0,n.jsx)(_,{text:l,hover:a,align:c})]})};var P=s(48462);function I(e){let{incident:t,onPlayerClick:s,hasEventPlayerStatistics:i,locale:a}=e,o=(0,j.g3)()?!t.isHome:t.isHome,{incidentClass:c,incidentType:x}=t,[h,m]=(0,r.useState)(),y=(0,r.useContext)(u.Ws),v=(()=>{switch(x){case"card":return(0,n.jsx)(z,{incident:t,isLeft:o,locale:a});case"goal":return(0,n.jsx)(Y,{incident:t,isLeft:o,locale:a});case"penaltyShootout":case"inGamePenalty":return(0,n.jsx)(R,{incident:t,isLeft:o,locale:a});case"substitution":return(0,n.jsx)(H,{incident:t,isLeft:o,locale:a});case"varDecision":return(0,n.jsx)(N,{incident:t,isLeft:o,locale:a});case"suspension":return y===l.QCR.IceHockey?(0,n.jsx)(k,{suspension:t,isLeft:o,locale:a}):y===l.QCR.Minifootball?(0,n.jsx)(M,{incident:t,isLeft:o,locale:a}):null;default:return null}})();if(v){var f;let e="goal"===x&&((null==t?void 0:t.assist1)||(null==t?void 0:t.assist1Name))&&((null==t?void 0:t.assist2)||(null==t?void 0:t.assist2Name)),{player:r,assist1:a,assist2:u}=t,{playerIn:j,playerOut:b}=t,{suspensionServedByPlayer:C,suspensionDrawnByPlayer:w}=t,S=[r,a,u,j,b,C];"iceHockeyPenaltyType"in t&&(null==(f=t.iceHockeyPenaltyType)?void 0:f.key)!=="embellishment"&&S.push(w);let k=S.filter(e=>!!e),_=e=>{if(1===k.length&&s)return void s(k[0]);!1===e?m(void 0):!0===e&&k.length&&m(k)},T=y===l.QCR.IceHockey&&"substitution"===x&&"goalkeeper"===c?"".concat(c).concat(j?"In":b?"Out":""):c;return(0,n.jsxs)(g.uc,{player:1!==k.length||i?void 0:k[0],sportSlug:y,children:[(0,n.jsx)(d.az,{_hover:{bg:k.length?"surface.s2":void 0},cursor:k.length?"pointer":void 0,onClick:()=>{_(!0)},children:(0,n.jsxs)(d.so,{position:"relative",px:{base:"xs",md:"sm"},direction:o?"row":"row-reverse",align:"center",children:[(0,n.jsxs)(d.so,{h:{base:"3xl",md:e?"3xl":"xl"},direction:o?"row":"row-reverse",children:[(0,n.jsxs)(d.so,{minW:"fit",pr:{base:"md",md:o?"xs":void 0},pl:{base:"md",md:o?void 0:"xs"},direction:{base:"column",md:o?"row":"row-reverse"},justify:{base:"space-between",md:"center"},gap:{md:"xs"},align:{base:"center",md:e?"flex-start":"center"},children:[(0,n.jsx)(A.M,{incidentType:x,incidentClass:T}),(0,n.jsx)(P.k,{...t})]}),(0,n.jsx)(d.cG,{color:"neutrals.nLv4",orientation:"vertical",borderInlineEndStyle:"solid"})]}),(0,n.jsx)(d.so,{direction:o?"row":"row-reverse",align:"center",px:"sm",grow:999,overflow:"hidden",children:v})]})}),k.length>1&&(0,n.jsx)(p.A,{isOpen:!!(null==h?void 0:h.length),setIsOpen:e=>{_(e)},players:k,onPlayerClick:s})]})}return"period"===x?(0,n.jsx)(D,{incident:t}):"injuryTime"===x?(0,n.jsx)(F,{incident:t}):null}function L(e){let{isLeft:t,scores:s}=e;return s.every(e=>"number"==typeof e)?(0,n.jsx)(o.EY,{textStyle:{base:"display.extraLarge",md:"display.large"},minW:"fit",pl:t?void 0:{base:"md",md:"sm"},pr:t?{base:"md",md:"sm"}:void 0,display:"block",children:s.join(" - ")}):null}function z(e){let{incident:t,isLeft:s,locale:l}=e,{player:i,reason:a,incidentDescription:o}=t,d=(0,r.useContext)(u.Ws),c=i?(0,f.s)(i,l,{short:!0}):t.playerName,x=(0,y.q6)(t.incidentType,t.incidentClass,d);return(0,n.jsx)(E,{align:s?"start":"end",primary:c||o||x&&(0,n.jsx)(y.H7,{id:o||x}),secondary:a&&(0,n.jsx)(y.H7,{id:a})})}function Y(e){let{incident:t,isLeft:s,locale:l}=e,{player:i,assist1:a,assist2:o}=t,d=(0,r.useContext)(u.Ws),[x,h]=(0,j.jr)(t,"homeScore","awayScore"),m=[x,h],p=m.every(e=>"number"==typeof e)&&m.join(" - ")||"",g=(0,y.q6)(t.incidentType,t.incidentClass,d),v=i?(0,f.s)(i,l,{short:!0}):t.playerName,b=a?(0,f.s)(a,l,{short:!0}):t.assist1Name,C=o?(0,f.s)(o,l,{short:!0}):t.assist2Name;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(E,{align:s?"start":"end",primary:v?(0,n.jsxs)(n.Fragment,{children:[v,"emptynet"===t.incidentClass?(0,n.jsxs)(n.Fragment,{children:[" ","(",(0,n.jsx)(c.A,{id:"hockey_empty_net_goal_short"}),")"]}):null]}):(0,n.jsx)(y.H7,{id:g||"goal"}),secondary:b&&(0,n.jsx)(c.A,{id:"assist",children:e=>(0,n.jsx)(n.Fragment,{children:"".concat(e,": ").concat(b)})}),ternary:C&&(0,n.jsx)(c.A,{id:"ordinalAssist",values:{n:2},children:e=>(0,n.jsx)(n.Fragment,{children:"".concat(e,": ").concat(C)})}),score:p})})}function R(e){let{incident:t,isLeft:s,locale:l}=e,{incidentType:i,incidentClass:a,player:o,description:d,homeScore:x,awayScore:h}=t,m=o?(0,f.s)(o,l):t.playerName,p=(0,r.useContext)(u.Ws),j=(0,y.q6)(i,a,p);return(0,n.jsxs)(n.Fragment,{children:["scored"===a&&(0,n.jsx)(L,{isLeft:!!s,scores:[x,h]}),(0,n.jsx)(E,{align:s?"start":"end",primary:m||j&&(0,n.jsx)(c.A,{id:j}),secondary:d&&(0,n.jsx)(y.H7,{id:d})})]})}function H(e){let{incident:t,isLeft:s,locale:i}=e,a=(0,r.useContext)(u.Ws),{playerIn:o,playerOut:d}=t,x=o?(0,f.s)(o,i,{short:!0}):t.playerNameIn||"",h=d?(0,f.s)(d,i,{short:!0}):t.playerNameOut||"";return a===l.QCR.IceHockey&&"goalkeeper"===t.incidentClass?(0,n.jsx)(E,{align:s?"start":"end",primary:x||h?(0,n.jsx)(c.A,{id:x?"hockey_match_event_goalie_back_in":"hockey_match_event_goalie_out"}):void 0,secondary:x||h}):(0,n.jsx)(E,{align:s?"start":"end",primary:x?(0,n.jsx)(c.A,{id:"substitution.in",children:e=>(0,n.jsx)(n.Fragment,{children:"".concat(e,": ").concat(x)})}):void 0,secondary:(0,n.jsx)(c.A,{id:"substitution_out",children:e=>(0,n.jsx)(n.Fragment,{children:"".concat(e,": ").concat(h)})})})}function M(e){let{incident:t,isLeft:s,locale:l}=e,{player:i}=t,a=(0,r.useContext)(u.Ws),o=(0,y.q6)(t.incidentType,t.incidentClass,a),d=i?(0,f.s)(i,l,{short:!0}):t.playerName;return(0,n.jsx)(E,{align:s?"start":"end",primary:d||o&&(0,n.jsx)(y.H7,{id:o})})}function N(e){let{incident:t,isLeft:s,locale:l}=e,{incidentClass:r,confirmed:i,player:a}=t,o=a?(0,f.s)(a,l,{short:!0}):t.playerName||"",d="boolean"==typeof i?"."+String(i):"";return(0,n.jsx)(E,{align:s?"start":"end",primary:(0,n.jsx)(y.H7,{id:r+d}),secondary:" ".concat(o)})}function F(e){let{incident:t}=e,{length:s}=t;return(0,n.jsxs)(o.Ym,{textStyle:"assistive.default",textAlign:"center",pb:"sm",px:"lg",display:"block",children:[(0,n.jsx)(c.A,{id:"football_additional_time",values:{time:s}}),"'"]})}function D(e){let{incident:t}=e,s=(0,j.jr)(t,"homeScore","awayScore");return(0,n.jsx)(d.az,{p:"sm",children:(0,n.jsx)(d.az,{bg:"surface.s2",py:"xs",px:"sm",br:"lg",children:(0,n.jsxs)(o.EY,{textStyle:"display.small",color:t.isLive?"status.live":"neutrals.nLv1",textAlign:"center",display:"block",children:[(0,n.jsx)(v.fP,{id:t.text})," ",s.every(e=>"number"==typeof e)&&s.join(" - ")]})})})}let O=e=>{let{incidents:t,hasBenchIncidents:s}=e,l=(0,m.A)(),{event:i}=(0,r.useContext)(u.y$),{openEventPlayerStatistics:a}=(0,x.d)(),p=e=>{i.hasEventPlayerStatistics&&a({event:i,player:e},h._.Incidents)};return 0===t.length?null:(0,n.jsxs)(d.az,{pb:"sm",children:[!!s&&(0,n.jsx)(d.az,{p:"sm",children:(0,n.jsx)(d.az,{bg:"surface.s2",py:"xs",px:"sm",br:"lg",children:(0,n.jsx)(o.EY,{textStyle:"display.small",color:"neutrals.nLv3",textAlign:"center",textTransform:"capitalize",display:"block",children:(0,n.jsx)(c.A,{id:"onBench"})})})}),t.map((e,t)=>(0,n.jsx)(I,{incident:e,locale:l,onPlayerClick:e=>p(e),hasEventPlayerStatistics:i.hasEventPlayerStatistics},"".concat(t,"-").concat(e.incidentType)))]})},W=e=>{let{onFieldIncidents:t,onBenchIncidents:s}=e;return(0,n.jsxs)("div",{children:[(0,n.jsx)(O,{incidents:t}),(0,n.jsx)(O,{incidents:s,hasBenchIncidents:!!s.length})]})};var U=s(99064),B=s(25811);let G=C.Scoring,Q=e=>{let{onFieldIncidents:t,onBenchIncidents:s}=e,[l,i]=(0,r.useState)(G),a=w(t,l),o=w(s,l),c=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(O,{incidents:a}),(0,n.jsx)(O,{incidents:o,hasBenchIncidents:o.length>0})]});return(0,n.jsx)(d.az,{pt:"sm",children:(0,n.jsxs)(B.n,{variant:"secondary",activeTabKey:l,onChange:e=>{i(e)},tabs:[{tabKey:C.Scoring,tabValue:"scoring"},{tabKey:C.Penalties,tabValue:"penalties"}],children:[(0,n.jsx)(U.tU.Panel,{tabKey:C.Scoring,children:c}),(0,n.jsx)(U.tU.Panel,{tabKey:C.Penalties,children:c})]})})},Z=e=>{let{onFieldIncidents:t,onBenchIncidents:s}=e;return[...t,...s].some(e=>"suspension"===e.incidentType)?(0,n.jsx)(Q,{onFieldIncidents:t,onBenchIncidents:s}):(0,n.jsx)(W,{onFieldIncidents:t,onBenchIncidents:s})};var V=s(54409),$=s(41735),X=s(54053),K=s(54029);let q=[{href:"https://app.sofascore.com/eAnU/69sriykv",name:"PlayStore",Icon:V.ik$},{href:"https://app.sofascore.com/L1k1/65390mw7",name:"AppStore",Icon:V.tzj},{href:"https://appgallery.huawei.com/#/app/C102243091?sharePrepath=ag&channelId=EURSMKT20200807SS&detailType=0",name:"AppGallery",Icon:V._s0},{href:"https://galaxy.store/okgkggasg",name:"GalaxyStore",Icon:V.m7K},{href:"https://www.kaiostech.com/store/apps/?bundle_id=com.sofascore.results",name:"KaiStore",Icon:V.B1S}],J=e=>{let{downloadURL:t,theme:s}=e;return(0,n.jsxs)(d.so,{children:[(0,n.jsx)(o.Mz,{display:"block",href:t,target:"_blank",rel:"noreferrer",br:"sm",p:"xs",bg:"surface.s2",h:"7xl",w:"7xl",children:(0,n.jsx)("img",{width:64,height:64,src:"/static/images/banner/dl-qr-".concat("light"===s?"light":"dark",".webp?v=1"),alt:"Sofascore App QR code"})}),(0,n.jsx)(d.so,{br:"sm",wrap:"wrap",bg:"surface.s2",w:"[148px]",h:"7xl",align:"center",px:"xl",py:"sm",ml:"sm",children:q.map(e=>{let{name:t,href:s,Icon:l}=e;return(0,n.jsx)(o.Mz,{display:"block",ml:"sm",href:s,target:"_blank",rel:"noreferrer",w:"xl",h:"xl",children:(0,n.jsx)(l,{fill:"onSurface.nLv1"})},t)})})]})},ee=e=>{let{downloadURL:t}=e;return(0,n.jsxs)(o.Mz,{display:"flex","aria-label":"Download Sofascore",href:t,target:"_blank",rel:"noreferrer",flexDirection:"column",children:[(0,n.jsx)(V.m68,{h:48,w:160,mb:"lg"}),(0,n.jsx)(V.WkF,{h:48,w:160})]})},et=()=>(0,n.jsxs)(d.so,{direction:"column",gap:"xl",align:"center",pb:"sm",children:[(0,n.jsx)(o.EY,{textAlign:"center",children:(0,n.jsx)(c.A,{id:"passing_network_teaser"})}),(0,n.jsx)(o.EY,{textStyle:"display.large",textAlign:"center",children:(0,n.jsx)(c.A,{id:"basic.downloadSofascore"})})]}),es=e=>{let{goal:t,onClose:s}=e;return(0,n.jsxs)(d.so,{justify:"space-between",px:"xl",align:"center",pt:"lg",pb:"sm",children:[(0,n.jsx)(d.az,{w:"xl"}),(0,n.jsxs)(o.EY,{textStyle:"display.large",textAlign:"center",display:"block",children:[t.homeScore," - ",t.awayScore]}),(0,n.jsx)(d.az,{w:"xl",h:"xl",children:(0,n.jsx)(d.I4.button,{onClick:s,hideBelow:"md",p:"0",children:(0,n.jsx)(V.zQC,{icon:"close",fill:"onSurface.nLv1"})})})]})},en=e=>{let{theme:t}=e;return(0,n.jsx)(d.az,{pb:"[69%]",position:"relative",w:"100%",children:(0,n.jsx)("video",{width:"100%",height:"auto",loop:!0,playsInline:!0,muted:!0,autoPlay:!0,preload:"none",style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:"16px"},children:(0,n.jsx)("source",{src:"/static/videos/passing_network_teaser_".concat("light"===t?"light":"dark",".mp4"),type:"video/mp4"})})})},el=e=>{let{goal:t,teaserOpened:s,setTeaserOpened:l}=e,{isMobile:r}=(0,o.$c)(),i=(0,$.useTheme)(),a=(0,K.b9)(K.tz.FootballPassingNetworkTeaser);return(0,n.jsx)(X.A,{isOpen:s,setIsOpen:l,header:(0,n.jsx)(es,{goal:t,onClose:()=>l(!1)}),footer:null,children:(0,n.jsxs)(d.so,{px:{base:"md",md:"xl"},direction:"column",gap:"lg",align:"center",pb:"xl",w:{base:"auto",md:"[340px]"},position:"relative",children:[(0,n.jsx)(en,{theme:i.name}),(0,n.jsx)(et,{}),r?(0,n.jsx)(ee,{downloadURL:a}):(0,n.jsx)(J,{downloadURL:a,theme:i.name})]})})};function er(e){let{scores:t}=e;return t.every(e=>"number"==typeof e)?(0,n.jsx)(o.EY,{minW:"fit",textStyle:"display.large",color:"neutrals.nLv1",display:"block",letterSpacing:"-0.1px",children:t.join(" - ")}):null}let ei=e=>{var t;let{goal:s,isLeft:i,scores:c}=e,{event:x}=(0,r.useContext)(u.y$),[h,m]=(0,r.useState)(!1);return(0,a.c5)(x)===l.QCR.Football&&(null==(t=s.footballPassingNetworkAction)?void 0:t.length)?(0,n.jsxs)(d.so,{grow:999,justify:i?"flex-end":"flex-start",children:[(0,n.jsx)(o.$n,{variant:"outline",size:"tertiary",onClick:e=>{e.preventDefault(),e.stopPropagation(),m(!0)},bg:"surface.s2",children:(0,n.jsxs)(d.ov,{gap:"sm",br:"xl",children:[(0,n.jsx)(V.stC,{}),(0,n.jsx)(er,{scores:c})]})}),(0,n.jsx)(el,{goal:s,teaserOpened:h,setTeaserOpened:m})]}):null};var ea=s(947);let eo={card:{yellow:{fill:"scoreRating.s65",Icon:e=>(0,n.jsx)(V.NcS,{icon:"card-yellow",...e})},yellowRed:{Icon:e=>(0,n.jsx)(V.NcS,{icon:"card-double-yellow",...e})},red:{fill:"error.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"card-red",...e})}},goal:{football:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-ball",...e})},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-penalty",...e})},ownGoal:{fill:"error.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-own-goal",...e})}},futsal:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-ball",...e})},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-penalty",...e})},ownGoal:{fill:"error.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-own-goal",...e})},accumulatedPenalty:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"accumulated-penalty",...e})}},minifootball:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-ball",...e})},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-penalty",...e})},accumulatedPenalty:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"accumulated-penalty",...e})},ownGoal:{fill:"error.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-own-goal",...e})}},regular:{fill:"",Icon:()=>null}},substitution:{injury:{fill:"primary.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"substitution-injured",...e})},regular:{fill:"primary.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"substitution",...e})}},penaltyShootout:{taker:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"penalty-taker",...e})},scored:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-penalty",...e})},missed:{fill:"error.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"penalty-missed",...e})}},inGamePenalty:{taker:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"penalty-taker",...e})},scored:{fill:"onSurface.nLv1",Icon:e=>(0,n.jsx)(V.NcS,{icon:"football-penalty",...e})},missed:{fill:"error.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"penalty-missed",...e})}},varDecision:{regular:{fill:"primary.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"var",isRtlPrevented:!0,...e})}},suspension:{minifootball:{regular:{fill:"error.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"2-min-suspension",...e})}},twoMinutes:{fill:"error.default",Icon:e=>(0,n.jsx)(V.NcS,{icon:"2-min-suspension",...e})}}},ed=(e,t,s,n,l)=>{if(e){if(n)return l?"scale(1,1)":"rotateY(180deg)";if(l&&t&&!s)return"rotate(180deg)"}else{if(l&&t&&!s)return"scale(1,1)";if(s)return l?"scale(1,1)":"rotateY(180deg)";if(t)return l?"rotateY(180deg)":"rotate(180deg)"}},ec=e=>{var t,s,l,r,i;let{incidentType:a,incidentClass:d,sport:c,svgProps:u,isLeft:x=!1}=e,h=(0,ea.A)(),m=(null==(t=eo[a][c])?void 0:t.regular)||(null==(s=eo[a])?void 0:s.regular),{textDirection:p}=(0,o.$c)();c&&d&&(m=(null==(r=eo[a])||null==(l=r[c])?void 0:l[d])||(null==(i=eo[a])?void 0:i[d])||eo[a].regular);let j="substitution"===a,g="substitution"===a&&"injury"===d,v="goal"===a&&"ownGoal"===d;if(null==m||!m.Icon)return(0,n.jsx)("div",{style:{width:16}});{let e=(0,y.q6)(a,d,c);return(0,n.jsx)(m.Icon,{width:16,height:16,fill:m.fill,title:e?h.formatMessage({id:e}):void 0,style:{minWidth:(null==u?void 0:u.width)||"16px",display:"inline-block",transform:ed(x,j,g,v,"rtl"===p)},...u})}},eu=e=>{let t=(0,r.useContext)(u.Ws);return(0,n.jsx)(ec,{...e,sport:e.sport||t})},ex=e=>{let{align:t,hover:s,text:l,isPrimary:r}=e;return(0,n.jsx)(o.EY,{textStyle:"body.medium",h:"lg",color:r?"neutrals.nLv1":"neutrals.nLv3",textAlign:t,display:"block",truncate:!0,_hover:s?{color:"primary.default"}:void 0,children:l})},eh=e=>{let{ternary:t,align:s,children:l,notMain:r}=e;return(0,n.jsx)(d.so,{maxW:"100%",overflow:"hidden",h:r?void 0:{base:t?"7xl":"3xl",md:t?"[60px]":"2xl"},direction:t?"column":"start"===s?"row":"row-reverse",align:t?"start"===s?"flex-start":"flex-end":"center",justify:"center",gap:t?void 0:"xs",children:l})},em=e=>{let{primary:t,secondary:s,ternary:l,primaryHover:r,secondaryHover:i,ternaryHover:a,align:c,score:u}=e;return t&&s&&l&&u?(0,n.jsxs)(eh,{ternary:!0,align:c,children:[(0,n.jsxs)(eh,{notMain:!0,align:c,children:[(0,n.jsx)(o.EY,{hideBelow:"md",minW:"fit",textStyle:"display.large",display:"block",children:u}),(0,n.jsx)(ex,{text:t,hover:r,align:c,isPrimary:!0})]}),(0,n.jsx)(eh,{align:c,notMain:!0,children:(0,n.jsxs)(d.so,{direction:{base:"column",md:"row"},gap:{md:"xs"},children:[(0,n.jsx)(ex,{text:s,hover:i,align:c}),(0,n.jsx)(ex,{text:l,hover:a,align:c})]})})]}):(0,n.jsxs)(eh,{align:c,children:[t&&(0,n.jsx)(ex,{text:t,hover:r,align:c,isPrimary:!0}),s&&(0,n.jsx)(ex,{text:s,hover:i,align:c}),l&&(0,n.jsx)(ex,{text:l,hover:a,align:c})]})},ep=e=>{let{time:t,timeSeconds:s,addedTime:i,reversedPeriodTime:d,reversedPeriodTimeSeconds:c,incidentType:x}=e,h=(0,r.useContext)(u.Ws),m=(0,a.vJ)(h)&&void 0!==c||h===l.QCR.Handball&&!!s,p=m&&s?s:t,j=void 0!==t&&-1!==t&&"penaltyShootout"!==x;return(0,n.jsx)(o.Ym,{display:"block",w:"3xl",mr:"xs",children:(0,n.jsx)(o.EY,{textStyle:"display.micro",color:"neutrals.nLv1",textAlign:"center",display:"block",children:j?(0,n.jsx)(P.m,{time:(0,a.vJ)(h)?c||d:p,addedTime:i,formatSeconds:m}):"-"})})},ej=e=>"yellow"===e?"yellowCard":"red"===e?"redCard":"yellowRed"===e?"yellowRed":void 0;function eg(e){let{incident:t,onPlayerClick:s,hasEventPlayerStatistics:i,locale:a}=e,o=(0,j.g3)()?!t.isHome:t.isHome,{incidentClass:c,incidentType:x}=t,[h,m]=(0,r.useState)(),y=(0,r.useContext)(u.Ws),v=(()=>{switch(x){case"card":return(0,n.jsx)(ev,{incident:t,isLeft:o,locale:a});case"goal":return(0,n.jsx)(ef,{incident:t,isLeft:o,locale:a});case"penaltyShootout":case"inGamePenalty":return(0,n.jsx)(eb,{incident:t,isLeft:o,locale:a});case"substitution":return(0,n.jsx)(eC,{incident:t,isLeft:o,locale:a});case"varDecision":return(0,n.jsx)(ew,{incident:t,isLeft:o,locale:a});case"suspension":return y===l.QCR.Minifootball||y===l.QCR.Futsal?(0,n.jsx)(eA,{incident:t,isLeft:o,locale:a}):null;default:return null}})();if(v){var f;let e="goal"===x&&((null==t?void 0:t.assist1)||(null==t?void 0:t.assist1Name))&&((null==t?void 0:t.assist2)||(null==t?void 0:t.assist2Name)),{player:l,assist1:r,assist2:a}=t,{playerIn:u,playerOut:j}=t,{suspensionServedByPlayer:b,suspensionDrawnByPlayer:C}=t,w=[l,r,a,u,j,b];"iceHockeyPenaltyType"in t&&(null==(f=t.iceHockeyPenaltyType)?void 0:f.key)!=="embellishment"&&w.push(C);let S="penaltyShootout"===x,k=w.filter(e=>!!e),A=e=>{if(1===k.length&&s)return void s(k[0]);!1===e?m(void 0):!0===e&&k.length&&m(k)};return(0,n.jsxs)(g.uc,{player:1!==k.length||i?void 0:k[0],sportSlug:y,children:[(0,n.jsx)(d.az,{_hover:{bg:k.length?"surface.s2":void 0},cursor:k.length?"pointer":void 0,onClick:()=>{A(!0)},children:(0,n.jsxs)(d.so,{position:"relative",pl:{md:S?void 0:"xs"},pr:{md:o?"md":void 0},direction:o?"row":"row-reverse",align:"center",children:[(0,n.jsx)(d.so,{h:e?"3xl":"2xl",direction:o?"row":"row-reverse",align:"center",children:(0,n.jsxs)(d.so,{minW:"fit",pl:o?S?"lg":"xs":S?"sm":"xs",pr:o?S?"sm":"xs":S?"lg":"xs",direction:o?"row":"row-reverse",justify:{base:"space-between",md:"center"},gap:{md:"xs"},align:{base:"center",md:e?"flex-start":"center"},children:[!S&&(0,n.jsx)(ep,{...t}),(0,n.jsx)(eu,{incidentType:x,incidentClass:c,isLeft:o})]})}),(0,n.jsx)(d.so,{overflow:"hidden",pl:o?"xs":"lg",pr:o?"lg":"xs",align:"center",direction:o?"row":"row-reverse",grow:999,children:v})]})}),k.length>1&&(0,n.jsx)(p.A,{isOpen:!!(null==h?void 0:h.length),setIsOpen:e=>{A(e)},players:k,onPlayerClick:s})]})}return"period"===x?(0,n.jsx)(ek,{incident:t}):"injuryTime"===x?(0,n.jsx)(eS,{incident:t}):null}function ey(e){let{scores:t}=e;return t.every(e=>"number"==typeof e)?(0,n.jsx)(o.EY,{minW:"fit",textStyle:"display.large",color:"neutrals.nLv1",display:"block",letterSpacing:"-0.1px",children:t.join(" - ")}):null}function ev(e){let{incident:t,isLeft:s,locale:l}=e,{player:r,reason:i,incidentDescription:a}=t,o=r?(0,f.s)(r,l,{short:!0}):t.playerName,d=ej(t.incidentClass);return(0,n.jsx)(em,{align:s?"start":"end",primary:o||a&&(0,n.jsx)(y.H7,{id:a})||d&&(0,n.jsx)(y.H7,{id:d}),secondary:i&&(0,n.jsx)(y.H7,{id:i})})}function ef(e){var t;let{incident:s,isLeft:l,locale:r}=e,{player:i,assist1:a,assist2:u}=s,{isMobile:x}=(0,o.$c)(),[h,m]=(0,j.jr)(s,"homeScore","awayScore"),p=[h,m],g=p.every(e=>"number"==typeof e)&&p.join(" - ")||"",v=i?(0,f.s)(i,r,{short:!0}):s.playerName,b=a?(0,f.s)(a,r,{short:!0}):s.assist1Name,C=u?(0,f.s)(u,r,{short:!0}):s.assist2Name,w=b&&C;return(0,n.jsxs)(n.Fragment,{children:[(null==(t=s.footballPassingNetworkAction)?void 0:t.length)?(0,n.jsx)(d.az,{hideFrom:w?"md":void 0,mr:l?"sm":void 0,ml:l?void 0:"sm",children:(0,n.jsx)(ei,{goal:s,isLeft:l,scores:p})}):(0,n.jsx)(d.az,{px:"sm",minW:"fit",bg:x?"surface.s2":"neutrals.nLv5",br:"lg",ml:l?void 0:"sm",mr:l?"sm":void 0,children:(0,n.jsx)(ey,{scores:p})}),(0,n.jsx)(em,{align:l?"start":"end",primary:v||(0,n.jsx)(y.H7,{id:"goal"}),secondary:b,ternary:C&&(0,n.jsx)(c.A,{id:"ordinalAssist",values:{n:2},children:e=>(0,n.jsx)(n.Fragment,{children:"".concat(e,": ").concat(C)})}),score:g})]})}function eb(e){let{incident:t,isLeft:s,locale:l}=e,{incidentType:i,incidentClass:a,player:o,description:x,homeScore:h,awayScore:m}=t,p=o?(0,f.s)(o,l,{short:!0}):t.playerName,j=(0,r.useContext)(u.Ws),g=(0,y.q6)(i,a,j);return(0,n.jsxs)(n.Fragment,{children:["scored"===a&&(0,n.jsx)(d.az,{px:"sm",backgroundColor:"surface.s2",borderRadius:"lg",ml:s?void 0:"sm",mr:s?"sm":void 0,children:(0,n.jsx)(ey,{scores:[h,m]})}),(0,n.jsx)(em,{align:s?"start":"end",primary:p||g&&(0,n.jsx)(c.A,{id:g}),secondary:x&&(0,n.jsx)(y.H7,{id:x})})]})}function eC(e){let{incident:t,isLeft:s,locale:l}=e,{playerIn:r,playerOut:i}=t,a=r?(0,f.s)(r,l,{short:!0}):t.playerNameIn||"",o=i?(0,f.s)(i,l,{short:!0}):t.playerNameOut||"";return(0,n.jsx)(em,{align:s?"start":"end",primary:a,secondary:o})}function ew(e){let{incident:t,isLeft:s,locale:l}=e,{incidentClass:r,confirmed:i,player:a}=t,o=a?(0,f.s)(a,l,{short:!0}):t.playerName||"",d="boolean"==typeof i?"."+String(i):"";return(0,n.jsx)(em,{align:s?"start":"end",primary:(0,n.jsx)(y.H7,{id:r+d}),secondary:" ".concat(o)})}function eS(e){let{incident:t}=e,{length:s}=t,{isMobile:l}=(0,o.$c)();return(0,n.jsx)(d.ov,{w:"100%",my:"sm",children:(0,n.jsx)(d.so,{bg:l?"surface.s2":"neutrals.nLv5",py:"2xs",px:"sm",br:"md",align:"center",children:(0,n.jsx)(o.Ym,{textStyle:"assistive.default",children:(0,n.jsx)(c.A,{id:"football_additional_time",values:{time:s}})})})})}function ek(e){let{incident:t}=e,s=(0,j.jr)(t,"homeScore","awayScore");return(0,n.jsxs)(d.so,{py:"md",px:"lg",gap:"lg",w:"100%",children:[(0,n.jsx)(d.so,{grow:1,mt:"xs",borderTop:t.isLive?"1px solid {colors.status.live}":"1px solid {colors.neutrals.nLv1/15}",borderStart:t.isLive?"1px solid {colors.status.live}":"1px solid {colors.neutrals.nLv1/15}"}),(0,n.jsxs)(o.EY,{textStyle:"display.micro",color:t.isLive?"status.live":"neutrals.nLv1",textAlign:"center",display:"block",children:[(0,n.jsx)(v.fP,{id:t.text})," ",s.every(e=>"number"==typeof e)&&s.join(" - ")]}),(0,n.jsx)(d.so,{grow:1,mt:"xs",borderTop:t.isLive?"1px solid {colors.status.live}":"1px solid {colors.neutrals.nLv1/15}",borderEnd:t.isLive?"1px solid {colors.status.live}":"1px solid {colors.neutrals.nLv1/15}"})]})}function eA(e){let{incident:t,isLeft:s,locale:l}=e,{player:i}=t,a=(0,r.useContext)(u.Ws),o=(0,y.q6)(t.incidentType,t.incidentClass,a),d=i?(0,f.s)(i,l,{short:!0}):t.playerName;return(0,n.jsx)(em,{align:s?"start":"end",primary:d||o&&(0,n.jsx)(y.H7,{id:o})})}let e_=e=>{let{incidents:t,hasBenchIncidents:s}=e,l=(0,m.A)(),{event:i}=(0,r.useContext)(u.y$),{openEventPlayerStatistics:a}=(0,x.d)(),p=e=>{i.hasEventPlayerStatistics&&a({event:i,player:e},h._.Incidents)};return 0===t.length?null:(0,n.jsxs)(d.az,{pb:{mdDown:"sm",md:"md"},children:[!!s&&(0,n.jsxs)(d.so,{py:"md",px:"lg",gap:"lg",w:"100%",children:[(0,n.jsx)(d.so,{grow:1,mt:"xs",borderTop:"1px solid {colors.neutrals.nLv1/15}",borderStart:"1px solid {colors.neutrals.nLv1/15}"}),(0,n.jsx)(o.EY,{textStyle:"display.micro",color:"neutrals.nLv3",textAlign:"center",display:"block",children:(0,n.jsx)(c.A,{id:"onBench"})}),(0,n.jsx)(d.so,{grow:1,mt:"xs",borderTop:"1px solid {colors.neutrals.nLv1/15}",borderEnd:"1px solid {colors.neutrals.nLv1/15}"})]}),t.map((e,t)=>(0,n.jsx)(eg,{incident:e,locale:l,onPlayerClick:e=>p(e),hasEventPlayerStatistics:i.hasEventPlayerStatistics},"".concat(t,"-").concat(e.incidentType)))]})},eT=e=>{let{onFieldIncidents:t,onBenchIncidents:s}=e;return(0,n.jsxs)("div",{children:[(0,n.jsx)(e_,{incidents:t}),(0,n.jsx)(e_,{incidents:s,hasBenchIncidents:!!s.length})]})};var eE=s(34765);let eP=(0,r.memo)(function(e){let{event:t}=e,{incidents:s}=(0,eE.L)();if(!s)return null;let r=(0,a.c5)(t),o=r===l.QCR.Football||r===l.QCR.Minifootball||r===l.QCR.Futsal,d=s.filter(e=>e.time!==l.yBP.OnBenchIncidentTime),c=s.filter(e=>e.time===l.yBP.OnBenchIncidentTime);if(!d.length&&!c.length)return null;let u=r===l.QCR.IceHockey?Z:o?eT:W;return(0,n.jsx)(i.Zp,{isNewCard:!0,children:(0,n.jsx)(u,{onFieldIncidents:d,onBenchIncidents:c})})},(e,t)=>e.event.id===t.event.id&&e.event.status.type!==t.event.status.type&&e.event.hasEventPlayerStatistics===t.event.hasEventPlayerStatistics)},73365:(e,t,s)=>{s.d(t,{c:()=>d});var n=s(6029),l=s(89875),r=s(76356),i=s(90248),a=s(65789),o=s(54409);let d=e=>{let{messageId:t}=e;return(0,n.jsx)(a.Zp,{isInverseDesktop:!0,children:(0,n.jsxs)(r.so,{align:"center",w:"100%",gap:"sm",py:"sm",px:"lg",children:[(0,n.jsx)(o.G_L,{fill:"onSurface.nLv3",minW:"24px"}),(0,n.jsx)(l.EY,{textStyle:"assistive.default",display:"block",color:"neutrals.nLv3",children:(0,n.jsx)(i.A,{id:t})})]})})}},73586:(e,t,s)=>{s.d(t,{S:()=>m,C:()=>g});var n=s(6029),l=s(21377),r=s(494),i=s(61584),a=s(2294),o=s(10794),d=s(21501),c=s(47229),u=s(62213);let x=e=>{let{children:t,hasCTALoader:s,countryOddsProvider:l}=e,i=(0,d.hX)(),a=(0,r.d4)(o.LQ),x=(0,r.d4)(o.dg);return i?(0,n.jsx)(c.t1,{hasCTA:s,provider:l}):a&&u.ZN.includes(a)&&!x?null:(0,n.jsx)(n.Fragment,{children:t})},h=e=>{let{event:t,fallback:s,children:d,isComparisonElevated:c}=e,u=(0,r.d4)(o.LQ),x=(0,r.d4)((0,a.Ul)(t)),h=(0,r.d4)(a.fq),m=t.status.type===l.XUj.InProgress;return x?h?(0,n.jsx)(i.A,{eventId:t.id,isLive:m,isEleveated:c}):(0,n.jsx)(n.Fragment,{children:d}):(0,n.jsx)(n.Fragment,{children:u?s[u]:null})},m=e=>{let{children:t,hasCTALoader:s,countryOddsProvider:l,...r}=e;return(0,n.jsx)(x,{countryOddsProvider:l,hasCTALoader:s,children:(0,n.jsx)(h,{countryOddsProvider:l,...r,children:t})})};var p=s(5546);let j=e=>{let{stage:t,fallback:s,children:l}=e,i=(0,r.d4)(o.LQ);return(0,r.d4)((0,a.ce)(t))?(0,n.jsx)(n.Fragment,{children:l}):(0,n.jsx)(n.Fragment,{children:i?null==s?void 0:s[i]:null})},g=e=>{let{children:t,...s}=e,l=(0,p.Ae)();return(0,n.jsx)(x,{countryOddsProvider:l,children:(0,n.jsx)(j,{...s,children:t})})}},73624:(e,t,s)=>{s.d(t,{Hy:()=>j,lZ:()=>y,vA:()=>g,xw:()=>o});var n=s(21377),l=s(494),r=s(29911),i=s(8476),a=s(10794);function o(){let e=(0,l.d4)(a.aD),t=(0,l.d4)(e=>e.locale),s=(0,l.wA)();return()=>new Promise((l,a)=>{(async()=>{try{let a=e.uuid||(0,r.A)(),{token:o}=await n.win.fetchToken(a,t.geoIPAlpha2,t.region);s((0,i.AR)(o,a)),l(o)}catch(e){a()}})()})}var d=s(1815),c=s(61836),u=s(6029),x=s(78383),h=s.n(x),m=s(55729);let p=(0,m.createContext)({impressionSent:!1,setImpressionSent:h(),streamUrl:void 0,setStreamUrl:h()});function j(e){let[t,s]=(0,m.useState)(!1),[n,l]=(0,m.useState)(void 0),r=(0,m.useMemo)(()=>({impressionSent:t,setImpressionSent:s,streamUrl:n,setStreamUrl:l}),[t,n]);return(0,u.jsx)(p.Provider,{value:r,children:e.children})}function g(){return(0,m.useContext)(p)}function y(e,t){let{impressionSent:s,setImpressionSent:n}=g();return(0,d.e)(()=>{s||((0,c.Z4)(e,t?"autostarted":void 0),n(!0))})}},75126:(e,t,s)=>{s.d(t,{n:()=>i});var n=s(6029),l=s(32523),r=s(76356);let i=e=>{let{withScoreGraph:t}=e;return(0,n.jsx)(r.az,{pt:t?"[124px]":"[76px]",pb:"[28px]",children:(0,n.jsx)(l.E,{uniqueKey:"win-probability-cl",animate:!0,height:80,br:"sm"})})}},75409:(e,t,s)=>{s.d(t,{W:()=>U});var n=s(6029),l=s(98423),r=s(21377),i=s(4967),a=s(89875),o=s(21501),d=s(76356),c=s(93338),u=s(99064),x=s(55729),h=s(90248),m=s(90510),p=s(41735),j=s(45860),g=s(65789),y=s(23727),v=s(54409),f=s(98449),b=s(80908);let C=[1,2,3,5,7],w=e=>{let{cupMatchesInRound:t}=e;return t&&C.indexOf(t)>-1?(0,n.jsx)(a.EY,{children:(()=>{switch(t){case 1:return(0,n.jsx)(h.A,{id:"single_leg"});case 2:return(0,n.jsx)(h.A,{id:"twoLegs"});case 3:case 5:case 7:return(0,n.jsx)(h.A,{id:"esports.bestOf",values:{numberOfGames:t}});default:return null}})()}):null};var S=s(65078),k=s(82707),A=s(28971),_=s(2974),T=s(24159),E=s(75327),P=s(27424),I=s(85685),L=s(47530),z=s(27289),Y=s(94604),R=s(67628),H=s(10234),M=s(52695);let N=["international","europe","africa","asia","oceania"],F={[r.QWe.HardcourtIndoor]:"colors.tennis.terrain.hardcourtIndoor",[r.QWe.HardcourtOutdoor]:"colors.tennis.terrain.hardcourtOutdoor",[r.QWe.Grass]:"colors.tennis.terrain.grass",[r.QWe.Clay]:"colors.tennis.terrain.clay",[r.QWe.RedClay]:"colors.tennis.terrain.clay"},D=(e,t)=>(Math.round(e/t*100)/100).toFixed(2),O=e=>{let{graphic:t,title:s,titleValues:l,value:r,secondary:i,isClickable:o,isEmptyGraphic:c,ctaText:u}=e;return r?(0,n.jsxs)(d.so,{align:"center",gap:"sm",px:"lg",py:"sm",_hover:{bg:o?"surface.s2":void 0},children:[t||(c?(0,n.jsx)(d.az,{w:"lg",h:"lg"}):null),(0,n.jsxs)(d.so,{direction:"column",justify:"center",children:[(0,n.jsx)(a.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,n.jsx)(h.A,{id:s,values:l})}),(0,n.jsx)(a.EY,{overflow:"hidden",children:r}),i]}),o&&(0,n.jsxs)(d.so,{ml:"auto",children:[u,(0,n.jsx)(v.CCT,{fill:"primary.default"})]})]}):null},W=e=>{let{event:t}=e,[s,i]=(0,S.jr)(t,"homeTeam","awayTeam"),o=t.tournament.category.sport.slug,c=s.gender&&i.gender&&s.gender===i.gender?s.gender:void 0,u=o===r.QCR.Football&&s.national&&i.national?"FIFA ":o===r.QCR.Tennis&&c?c===r.YT8.Male?"ATP ":"WTA ":"";return"number"!=typeof(null==s?void 0:s.ranking)||"number"!=typeof(null==i?void 0:i.ranking)?null:(0,n.jsxs)(d.az,{children:[(0,n.jsxs)(a.EY,{textStyle:"display.micro",textAlign:"start",px:"lg",pt:"md",pb:"sm",display:"block",children:[u,(0,n.jsx)(a.EY,{textStyle:"display.micro",children:(0,n.jsx)(h.A,{id:"rankings"})})]}),(0,n.jsxs)(d.so,{children:[(0,n.jsx)(k.gT,{team:s,sport:o,style:{width:"50%"},children:(0,n.jsxs)(d.so,{px:"lg",py:"sm",_hover:{bg:"surface.s2"},children:[(0,n.jsx)(l.p,{id:s.id,name:s.name,size:40,mr:"lg"}),(0,n.jsxs)(d.az,{children:[(0,n.jsx)(a.EY,{color:"primary.default",mb:"xs",display:"block",children:0!==s.ranking||o!==r.QCR.MMA?"#".concat(s.ranking):(0,n.jsx)(h.A,{id:"fighter_ranking_mma"})}),(0,n.jsx)(a.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(Y.Rm,{team:s})})]})]})}),(0,n.jsx)(k.gT,{team:i,sport:o,style:{width:"50%"},children:(0,n.jsxs)(d.so,{justify:"flex-end",px:"lg",py:"sm",_hover:{bg:"surface.s2"},children:[(0,n.jsxs)(d.az,{children:[(0,n.jsx)(a.EY,{color:"primary.default",mb:"xs",display:"block",children:0!==i.ranking||o!==r.QCR.MMA?"#".concat(i.ranking):(0,n.jsx)(h.A,{id:"fighter_ranking_mma"})}),(0,n.jsx)(a.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(Y.Rm,{team:i})})]}),(0,n.jsx)(l.p,{id:i.id,name:i.name,size:40,ml:"lg"})]})})]})]})};function U(e){var t,s;let{event:C,showTournamentInfo:S}=e,Y=(0,o.hX)(),U=(0,x.useContext)(p.ThemeContext),B=C.tournament.uniqueTournament&&C.tournament.uniqueTournament.id,G=C.season&&C.season.id,{venue:Q,referee:Z,refereeName:V,attendance:$,tossWin:X,tossDecision:K,umpire1Name:q,umpire2Name:J,tvUmpireName:ee,manOfMatch:et}=C,es=C.status.type===r.XUj.NotStarted,en=es&&!!C.finalResultOnly,{data:el}=(0,j.Ay)(S&&B&&G?r.V3t.info(B,G):null),er={};el&&(er.tier=el.info.tier,er.numberOfCompetitors=el.info.numberOfCompetitors,er.totalPrizeMoneyRaw=el.info.totalPrizeMoneyRaw);let ei=Z||X||K||q||J||ee||et,ea=Q||$,eo=er.tier||er.numberOfRounds||er.totalPrizeMoneyRaw,ed=new Date(1e3*C.startTimestamp),ec=(null==Z?void 0:Z.games)&&"number"==typeof Z.yellowCards&&"number"==typeof Z.redCards&&"number"==typeof Z.yellowRedCards,eu=C.tournament.category.sport.slug,ex=C.tournament.category.sport.slug===r.QCR.MMA,eh=!!C.tournament.category.flag&&(N.includes(C.tournament.category.flag)||C.tournament.category.flag.includes("america"));return C.startTimestamp||C.tournament.uniqueTournament||ei||ea||eo?Y?null:(0,n.jsxs)(n.Fragment,{children:[et&&(0,n.jsx)(g.Zp,{isNewCard:!0,children:(0,n.jsx)(k.uc,{player:et,sportSlug:eu,children:(0,n.jsx)(O,{graphic:(0,n.jsx)(v.NcS,{icon:"player",fill:"onSurface.nLv1"}),title:"details.manOfMatch",value:et.name,isClickable:!0})})}),(0,n.jsx)(g.Zp,{isNewCard:!0,children:(0,n.jsxs)(d.az,{py:{base:"sm",md:"md"},cursor:es&&!en?"pointer":"default",children:[(0,n.jsx)(b.A,{name:"".concat(C.homeTeam.name," - ").concat(C.awayTeam.name),startDate:C.startTimestamp,isClickable:es&&!en,children:(0,n.jsx)(O,{graphic:(0,n.jsx)(v.E8x,{fill:"onSurface.nLv1",w:"16px",h:"16px"}),title:"date_and_time",value:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.XU,{value:ed,...i.or.fullDateWithLongYear}),(0,n.jsx)(d.az,{display:"inline-block",w:"xs",h:"xs",br:"50%",bg:"neutrals.nLv1",mx:"sm",position:"relative",top:"[-3px]"}),(0,n.jsx)(m.XU,{value:ed,hour:"numeric",minute:"numeric"})]}),ctaText:es&&!en?(0,n.jsx)(a.EY,{textStyle:"assistive.default",color:"primary.default",mr:"xs",children:(0,n.jsx)(h.A,{id:"add_to_calendar"})}):void 0,isClickable:es&&!en})}),(0,n.jsx)(k.Mq,{tournament:C.tournament,seasonId:null==(t=C.season)?void 0:t.id,children:(0,n.jsx)(O,{graphic:(0,n.jsx)(l.e,{id:null==(s=C.tournament.uniqueTournament)?void 0:s.id,size:16}),title:"basic.competition",value:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(z.o,{sportSlug:eu}),","," ",!eh&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.m,{...C.tournament.category,uniqueTournament:C.tournament.uniqueTournament}),","," "]}),ex&&(0,n.jsxs)(n.Fragment,{children:[C.tournament.uniqueTournament&&(0,n.jsx)(M.O,{uniqueTournament:C.tournament.uniqueTournament}),", "]}),(0,n.jsx)(H.J,{tournament:C.tournament}),C.roundInfo&&(0,n.jsxs)(n.Fragment,{children:[", ",(0,n.jsx)(L.DT,{round:C.roundInfo})," "]}),C.cupMatchesInRound&&(0,n.jsxs)(n.Fragment,{children:["- ",(0,n.jsx)(w,{cupMatchesInRound:C.cupMatchesInRound})]}),C.bestOfSets&&C.bestOfSets>1&&(0,n.jsxs)(n.Fragment,{children:[", ",(0,n.jsx)(h.A,{id:"darts_best_of_number_of_sets",values:{n:C.bestOfSets}})]}),C.bestOfSets&&1===C.bestOfSets&&C.bestOfLegs&&C.bestOfLegs>1&&(0,n.jsxs)(n.Fragment,{children:[", ",(0,n.jsx)(h.A,{id:"darts_best_of_number_of_legs",values:{n:C.bestOfLegs}})]})]}),isClickable:!0})}),(null==Q?void 0:Q.city)&&Q.hidden&&(0,n.jsx)(O,{graphic:(0,n.jsx)(v.fRZ,{fill:"onSurface.nLv1",w:"16px",h:"16px"}),title:"venue",value:null==Q?void 0:Q.stadium.name}),(null==Q?void 0:Q.city)&&Q.hidden&&(0,n.jsx)(O,{graphic:(0,n.jsx)(u._V,{src:Q.country.alpha2?(0,r.RHm)(Q.country.alpha2):void 0,w:"16px",h:"16px",alt:Q.country.alpha2}),title:"location",value:(0,n.jsxs)(n.Fragment,{children:[Q.city.name,(null==Q?void 0:Q.country.slug)&&(0,n.jsxs)(n.Fragment,{children:[", ",(0,n.jsx)(h.A,{id:Q.country.slug,defaultMessage:Q.country.name})]})]})}),C.groundType&&(0,n.jsx)(O,{graphic:(0,n.jsx)(d.az,{w:"lg",h:"lg",br:"50%",style:{backgroundColor:c.S.var(F[C.groundType])}}),title:"groundType",value:(0,n.jsx)(R.n,{id:C.groundType})}),ex&&(0,n.jsxs)(n.Fragment,{children:[C.weightClass&&(0,n.jsx)(O,{graphic:(0,n.jsx)(v.KnJ,{fill:"onSurface.nLv1",w:"16px",h:"16px"}),title:"division",value:(0,n.jsx)(E.L,{weightClass:C.weightClass})}),C.fightDiscipline&&(0,n.jsx)(O,{graphic:(0,n.jsx)(v.KnJ,{fill:"onSurface.nLv1",w:"16px",h:"16px"}),title:"football_discipline",value:(0,n.jsx)(P.A,{id:C.fightDiscipline})})]}),(0,n.jsx)(O,{graphic:(0,n.jsx)(v.$cJ,{fill:"onSurface.nLv1",w:"16px",h:"16px"}),title:"attendance",value:$}),Z?(0,n.jsx)(A.A,{referee:Z,children:(0,n.jsx)(O,{graphic:(0,n.jsx)(v.UPv,{fill:"onSurface.nLv1",w:"16px",h:"16px"}),title:"referee",value:(0,n.jsxs)(d.so,{align:"center",gap:"xs",pb:"2xs",children:[(0,n.jsx)(a.EY,{overflow:"hidden",children:(0,n.jsx)(T.c,{entity:Z})}),!!Z.country&&(0,n.jsx)(u._V,{src:Z.country.alpha2?(0,r.RHm)(Z.country.alpha2):void 0,w:"16px",h:"16px",alt:Z.country.alpha2})]}),secondary:ec&&(0,n.jsxs)(a.EY,{display:"block",children:[(0,n.jsx)(h.A,{id:"average_cards"}),(0,n.jsx)(v.PhV,{width:"16px",height:"16px",fill:U.colors.error.default,ml:"sm",mr:"xs"}),D((Z.redCards||0)+(Z.yellowRedCards||0),Z.games),(0,n.jsx)(v.PhV,{width:"16px",height:"16px",fill:U.colors.scoreRating.s65,ml:"sm",mr:"xs"}),Z.yellowCards&&D(Z.yellowCards,Z.games)]}),isClickable:!0})}):V&&(0,n.jsx)(O,{graphic:(0,n.jsx)(v.UPv,{fill:"onSurface.nLv1",w:"16px",h:"16px"}),title:"referee",value:V}),X&&(0,n.jsx)(O,{title:"details.tossWin",value:X,isEmptyGraphic:!0}),K&&(0,n.jsx)(O,{title:"details.tossDecision",value:K,isEmptyGraphic:!0}),q&&(0,n.jsx)(O,{title:"details.umpireN",titleValues:{n:1},value:q,isEmptyGraphic:!0}),J&&(0,n.jsx)(O,{title:"details.umpireN",titleValues:{n:2},value:J,isEmptyGraphic:!0}),ee&&(0,n.jsx)(O,{title:"details.tvUmpire",value:ee,isEmptyGraphic:!0}),(0,n.jsx)(W,{event:C})]})}),(null==Q?void 0:Q.city)&&!Q.hidden&&(0,n.jsxs)(g.Zp,{isNewCard:!0,children:[(0,n.jsx)(g.Zp.Header,{titleId:"venue"}),(0,n.jsx)(d.az,{position:"absolute",top:"[14px]",right:"lg",children:(0,n.jsxs)(a.EY,{textStyle:"table.small",color:"status.val",children:[(0,n.jsx)(h.A,{id:"venue_new"}),"!"]})}),(0,n.jsx)(O,{graphic:(0,n.jsx)(v.fRZ,{fill:"onSurface.nLv1",w:"16px",h:"16px"}),title:"basic.name",value:null==Q?void 0:Q.stadium.name}),(0,n.jsx)(O,{graphic:(0,n.jsx)(u._V,{src:Q.country.alpha2?(0,r.RHm)(Q.country.alpha2):void 0,w:"16px",h:"16px",alt:Q.country.alpha2}),title:"location",value:(0,n.jsxs)(n.Fragment,{children:[Q.city.name,(null==Q?void 0:Q.country.name)&&Q.country.slug&&(0,n.jsxs)(n.Fragment,{children:[", ",(0,n.jsx)(h.A,{id:Q.country.slug,defaultMessage:Q.country.name})]})]})}),(0,n.jsx)(_.A,{venue:Q,children:(0,n.jsx)(g.Zp.Footer,{ctaParams:{messageId:"basic.seeMoreDetails",icon:y.X.Right}})})]}),(er.winner||er.tier||er.numberOfCompetitors||er.totalPrizeMoneyRaw)&&(0,n.jsxs)(g.Zp,{isNewCard:!0,children:[(0,n.jsx)(g.Zp.Header,{titleId:"tournament_info"}),er.winner&&(0,n.jsx)(O,{title:"tier",value:er.winner.name}),er.tier&&(0,n.jsx)(O,{title:"tier",value:er.tier}),er.numberOfCompetitors&&(0,n.jsx)(O,{title:"numberOfCompetitors",value:er.numberOfCompetitors}),er.totalPrizeMoneyRaw&&(0,n.jsx)(O,{title:"totalPrizeMoney",value:(0,n.jsx)(I.o,{parsedMoney:(0,r.oaz)(er.totalPrizeMoneyRaw)})}),(0,n.jsx)(g.Zp.Footer,{})]})]}):null}},76277:(e,t,s)=>{s.d(t,{x:()=>c});var n=s(6029),l=s(76356),r=s(71024),i=s.n(r),a=s(65789),o=s(34765);let d=i()(()=>s.e(5635).then(s.bind(s,85635)),{loadableGenerated:{webpack:()=>[85635]},loading:()=>(0,n.jsx)(a.Zp,{isNewCard:!0,children:(0,n.jsx)(l.az,{h:"[372px]"})})});function c(){let{incidents:e,isLoading:t,isError:s}=(0,o.L)();return t||(null==e?void 0:e.length)&&!s?t?(0,n.jsx)(a.Zp,{isNewCard:!0,children:(0,n.jsx)(l.az,{h:"[372px]"})}):(0,n.jsx)(d,{incidents:e}):null}},77540:(e,t,s)=>{s.d(t,{U:()=>g});var n=s(6029),l=s(55729),r=s(90248),i=s(62859),a=s(96675),o=s(89875),d=s(76356),c=s(65789),u=s(54409),x=s(5546),h=s(61836),m=s(2496),p=s(41618);let j=e=>{let{children:t,onClick:s,isElevated:r}=e,{event:a}=(0,l.useContext)(i.y$),j=(0,x.F0)(a),g=null==j?void 0:j.provider;(0,l.useEffect)(()=>{(0,h.pq)(a.id)},[a.id]);let y=(0,l.useCallback)(()=>{null==s||s()},[a.id,s]);return g?(0,n.jsx)(c.HH,{isCard:!!r,children:(0,n.jsxs)(m.A,{onClick:y,countryOddsProvider:j,children:[(0,n.jsx)(d.az,{position:"absolute",top:"[6px]",children:(0,n.jsx)(p.r,{selectedProvider:j})}),(0,n.jsxs)(d.so,{align:"center",justify:"center",color:"primary.default",gap:"xs",children:[(0,n.jsx)(o.EY,{textStyle:"display.small",color:"primary.default",children:t}),(0,n.jsx)(u.CCT,{fill:"primary.default"})]})]})}):null},g=e=>{let{onClick:t,isElevated:s}=e,{event:o}=(0,l.useContext)(i.y$),{hasRecommendedPrematchOdds:d,hasRecommendedPrematchTopVotedOdds:c}=(0,a.A)(o);return d||c?(0,n.jsx)(j,{onClick:t,isElevated:s,children:(0,n.jsx)(r.A,{id:"featured_odds"})}):null}},77932:(e,t,s)=>{s.d(t,{A:()=>l});var n=s(71024);let l=s.n(n)()(()=>s.e(6295).then(s.bind(s,26295)),{loadableGenerated:{webpack:()=>[26295]}})},79085:(e,t,s)=>{s.d(t,{E:()=>el});var n=s(6029),l=s(21377),r=s(99397),i=s(89875),a=s(21501),o=s(76356),d=s(55729),c=s(90248),u=s(45860),x=s(65789),h=s(62859),m=s(65078),p=s(16620),j=s(48886),g=s(24159);let y=["points","rebounds","assists","steals","blocks"],v={points:"points_short",rebounds:"basketball_lineups_rebounds",assists:"basketball_lineups_assists",steals:"basketball_lineups_steals",blocks:"basketball_lineups_blocks"};var f=s(62042),b=s(54409),C=s(69385);let w=e=>{let{messageKey:t,isClickable:s}=e;return(0,n.jsxs)(i.EY,{w:"100%",color:"primary.default",textStyle:"assistive.default",textTransform:"capitalize",textAlign:"center",px:"xs",display:"block",truncate:!0,children:[(0,n.jsx)(o.I4.span,{hideBelow:"md",children:(0,n.jsx)(c.A,{id:t})}),(0,n.jsx)(o.I4.span,{hideFrom:"md",children:(0,n.jsx)(c.A,{id:"controls.more"})}),s&&(0,n.jsx)(b.zQC,{icon:"chevron-right",ml:"2px",width:16,height:16,fill:"primary.default"})]})},S=e=>{let{value:t,label:s,isReversed:l}=e;return"rating"===s?(0,n.jsx)(r.G,{rating:t}):(0,n.jsxs)(o.so,{align:"center",direction:l?"row-reverse":"row",children:[(0,n.jsx)(i.EY,{textStyle:"table.large",mr:l?void 0:"xs",children:t}),(0,n.jsx)(i.EY,{textStyle:"assistive.default",textTransform:"uppercase",mr:l?"xs":void 0,children:s})]})},k=e=>{let{name:t,isReversed:s}=e;return(0,n.jsx)(i.EY,{w:"1/2",textStyle:"assistive.default",color:"neutrals.nLv3",display:"block",textAlign:s?"end":"start",truncate:!0,children:t})};function A(e){let{event:t,onClick:s,messageKey:i="player_stats"}=e,{data:a,error:d}=(0,u.Ay)(l.bnp.bestPlayers(t.id)),c=(0,C.A)(),h=c?null==a?void 0:a.bestAwayTeamPlayer:null==a?void 0:a.bestHomeTeamPlayer,m=c?null==a?void 0:a.bestHomeTeamPlayer:null==a?void 0:a.bestAwayTeamPlayer;return d?null:(0,n.jsx)(x.Zp,{isNewCard:!0,children:(0,n.jsx)(o.az,{minH:"5xl",p:"sm",children:h&&m&&(0,n.jsxs)(o.so,{h:"100%",w:"100%",justify:"space-between",onClick:s,cursor:s?"pointer":"default",children:[(0,n.jsx)(r.t,{id:h.player.id,name:h.player.name,size:40,className:(0,f.AH)({border:"1px solid {colors.neutrals.nLv4}"})}),(0,n.jsx)(o.az,{h:"100%",w:"3/4",flexGrow:1,px:"sm",children:(0,n.jsxs)(o.so,{w:"100%",h:"100%",direction:"column",justify:"space-between",children:[(0,n.jsxs)(o.so,{w:"100%",justify:"space-between",children:[(0,n.jsx)(S,{value:h.value,label:h.label}),(0,n.jsx)(w,{messageKey:i,isClickable:!!s}),(0,n.jsx)(S,{value:m.value,label:m.label,isReversed:!0})]}),(0,n.jsxs)(o.so,{w:"100%",justify:"space-between",children:[(0,n.jsx)(k,{name:(0,n.jsx)(g.c,{entity:h.player})}),(0,n.jsx)(k,{name:(0,n.jsx)(g.c,{entity:m.player}),isReversed:!0})]})]})}),(0,n.jsx)(r.t,{id:m.player.id,name:m.player.name,size:40,className:(0,f.AH)({border:"1px solid {colors.neutrals.nLv4}"})})]})})})}function _(e){let{player:t,rating:s}=e,{event:l}=(0,d.useContext)(h.y$),{openEventPlayerStatistics:a}=(0,p.d)();return(0,n.jsxs)(o.ov,{flexDirection:"column",gap:"lg",pt:"sm",position:"relative",w:"[84px]",children:[(0,n.jsxs)(o.so,{justify:"center",position:"relative",cursor:"pointer",onClick:()=>a({event:l,player:t},j._.TopPlayers),children:[(0,n.jsx)(r.t,{id:t.id,name:t.name,size:48}),s&&(0,n.jsx)(o.az,{position:"absolute",left:"xl",top:"3xl",transform:"translateX(-50%)",children:(0,n.jsx)(r.G,{rating:s,size:"sm"})})]}),(0,n.jsx)(i.EY,{textStyle:"display.micro",textAlign:"center",truncate:!0,children:(0,n.jsx)(g.c,{entity:t,short:!0})})]})}function T(e){let{stat:t,leftValue:s,rightValue:l}=e;return(0,n.jsxs)(o.so,{justify:"space-between",children:[(0,n.jsx)(i.EY,{display:"block",textStyle:"display.small",w:"lg",children:s}),(0,n.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(c.A,{id:v[t]})}),(0,n.jsx)(i.EY,{display:"block",textStyle:"display.small",w:"lg",textAlign:"end",children:l})]})}function E(e){let{event:t,onClick:s}=e,{data:r,error:i,isLoading:d}=(0,u.Ay)(l.bnp.bestPlayers(t.id)),c=(0,a.hX)(),h=(0,m.g3)(),p=h?null==r?void 0:r.bestAwayTeamPlayer:null==r?void 0:r.bestHomeTeamPlayer,j=h?null==r?void 0:r.bestHomeTeamPlayer:null==r?void 0:r.bestAwayTeamPlayer;if((c||d)&&t.status.type===l.XUj.Finished)return(0,n.jsx)(x.Zp,{isNewCard:!0,children:(0,n.jsx)(o.az,{h:"9xl",p:"lg",boxSizing:"content-box"})});if(!p||!j||i)return null;let g=p.additionalStatistics,v=j.additionalStatistics;if(g&&v&&y.every(e=>void 0!==g[e]&&void 0!==v[e])){var f,b;return(0,n.jsx)(x.Zp,{isNewCard:!0,children:(0,n.jsxs)(o.so,{p:"lg",justify:"space-between",_before:{content:'""',display:"block",position:"absolute",w:"8xl",h:"xl",top:"lg",left:"lg",borderTop:"1px solid {colors.neutrals.nLv4}",borderStart:"1px solid {colors.neutrals.nLv4}"},_after:{content:'""',display:"block",position:"absolute",w:"8xl",h:"xl",top:"lg",right:"lg",borderTop:"1px solid {colors.neutrals.nLv4}",borderEnd:"1px solid {colors.neutrals.nLv4}"},children:[(0,n.jsx)(_,{player:p.player,rating:null==(f=p.additionalStatistics)?void 0:f.rating}),(0,n.jsx)(o.so,{direction:"column",gap:"2xs",w:"10xl",children:y.map(e=>(0,n.jsx)(T,{stat:e,leftValue:g[e],rightValue:v[e]},e))}),(0,n.jsx)(_,{player:j.player,rating:null==(b=j.additionalStatistics)?void 0:b.rating})]})})}return(0,n.jsx)(A,{event:t,onClick:s})}var P=s(23727),I=s(82707),L=s(71046);let z=e=>{let{value:t,label:s,isReversed:l}=e;return"rating"===s?(0,n.jsx)(r.G,{rating:t}):(0,n.jsxs)(o.so,{align:"center",direction:l?"row-reverse":"row",children:[(0,n.jsx)(i.EY,{textStyle:"table.large",mr:l?void 0:"xs",children:t}),(0,n.jsx)(i.EY,{textStyle:"assistive.default",textTransform:"uppercase",mr:l?"xs":void 0,children:s})]})},Y=e=>{let{event:t,bestPlayers:s,isRight:l}=e;return(0,n.jsx)(o.az,{w:"1/2",children:s.length?s.map(e=>(0,n.jsx)(H,{event:t,bestPlayer:e,isRight:!!l},e.player.id)):Array.from({length:3}).map((e,s)=>(0,n.jsx)(R,{event:t,isRight:!!l},s))})},R=e=>{let{event:t,bestPlayer:s,isRight:l}=e,{openEventPlayerStatistics:a}=(0,p.d)();return(0,n.jsx)(I.uc,{onClick:s?e=>{e.preventDefault(),a({event:t,player:s.player},j._.HighestRatedPlayers)}:void 0,player:null==s?void 0:s.player,sportSlug:t.tournament.category.sport.slug,children:(0,n.jsx)(o.so,{_hover:{bg:"primary.highlight"},align:"center",pl:l?"sm":"lg",pr:l?"lg":"sm",py:"xs",gap:"sm",direction:l?"row-reverse":"row",children:s&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(z,{value:s.value,label:s.label}),(0,n.jsx)(r.t,{id:s.player.id,name:s.player.name,size:32}),(0,n.jsx)(i.EY,{textStyle:"body.small",flexGrow:1,lineClamp:2,children:(0,n.jsx)(g.c,{entity:s.player})})]})})})},H=(0,d.memo)(R,(e,t)=>{var s,n,l,r;return(null==(s=e.bestPlayer)?void 0:s.player.id)===(null==(n=t.bestPlayer)?void 0:n.player.id)&&(null==(l=e.bestPlayer)?void 0:l.value)===(null==(r=t.bestPlayer)?void 0:r.value)});function M(e){let{event:t,onCtaClick:s,hideCta:r}=e,{data:i,isLoading:a}=(0,u.Ay)(l.bnp.bestPlayersSummary(t.id),(0,L.rf)(t)),d=(null==i?void 0:i.bestHomeTeamPlayers)||[],c=(null==i?void 0:i.bestAwayTeamPlayers)||[];return(d.length&&c.length||a)&&(!a||t.status.type!==l.XUj.NotStarted)?(0,n.jsxs)(x.Zp,{isNewCard:!0,children:[(0,n.jsx)(x.Zp.Header,{titleId:"highest_rated_players"}),(0,n.jsxs)(o.so,{children:[(0,n.jsx)(Y,{event:t,bestPlayers:d}),(0,n.jsx)(Y,{event:t,bestPlayers:c,isRight:!0})]}),(0,n.jsx)(x.Zp.Footer,{ctaParams:r?void 0:{messageId:"see_all",onClick:s,icon:P.X.Right}})]}):null}var N=s(24985);let F=["GLS","AST","+/-","PIM","TOI"],D=["SV%","SAV","SHT","SH"],O=e=>{let{position:t}=e,s="G"===t?D:F;return(0,n.jsxs)(o.so,{px:"lg",pt:"md",children:[(0,n.jsx)(o.az,{w:"[148px]"}),(0,n.jsx)(o.so,{justify:"flex-end",grow:1,children:s.map((e,t)=>(0,n.jsxs)(d.Fragment,{children:[(0,n.jsx)(o.so,{justify:"center",flexGrow:0,flexShrink:0,flexBasis:"2xl",children:(0,n.jsx)(i.EY,{textStyle:"tab.secondary",color:"neutrals.nLv3",children:e})}),t{let{prevPlayer:t,currentPlayer:s}=e;if(void 0===t)return(0,n.jsx)(O,{position:s.position});let l=W.includes(t.position);return l!==W.includes(s.position)?(0,n.jsx)(O,{position:s.position}):null},B=e=>{let{data:t}=e;return(0,n.jsxs)(o.so,{direction:"column",justify:"center",gap:"xs",children:[(0,n.jsxs)(o.so,{gap:"xs",children:[(0,n.jsx)(b.aGI,{w:16,h:16,fill:"sofaSingles.value"}),t.gameStar?(0,n.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"lowercase",children:(0,n.jsx)(c.A,{id:"ordinalPeriod.short",values:{n:t.gameStar}})}):null]}),(0,n.jsx)(i.EY,{textStyle:"body.medium",w:{base:"7xl",sm:"10xl",md:"7xl",lg:"7xl"},truncate:!0,children:t.player.shortName})]})};var G=s(94446),Q=s(93338);let Z=e=>"G"===e?"playerPosition.goalkeeper":"D"===e?"playerPosition.defender":"playerPosition.forward",V=e=>{let{data:t}=e;return(0,n.jsxs)(o.az,{position:"relative",w:"3xl",h:"3xl",children:[(0,n.jsx)(G.t,{id:t.player.id,name:t.player.name,size:40}),(0,n.jsx)(o.az,{position:"absolute",bottom:"[0px]",left:"[0px]",w:"lg",h:"lg",children:(0,n.jsx)(G.p,{id:t.teamId,size:16})}),(0,n.jsx)(o.az,{position:"absolute",bottom:"[0px]",right:"[0px]",br:"lg",style:{backgroundColor:Q.S.var("colors.".concat(Z(t.position)))},w:"lg",h:"lg",textAlign:"center",children:(0,n.jsx)(i.EY,{textStyle:"display.micro",color:"onColor.primary",children:t.position})})]})};var $=s(4967);let X=e=>{let{stats:t}=e;return(0,n.jsx)(o.so,{grow:1,justify:"flex-end",h:"lg",children:[t.goals,t.assists,t.plusMinus,t.penaltyMinutes,(0,$.OV)(t.secondsPlayed)].map((e,t)=>(0,n.jsx)(o.ov,{flexGrow:0,flexShrink:0,flexBasis:"2xl",position:"relative",mr:"2xs",children:(0,n.jsx)(i.EY,{position:"absolute",children:e})},t))})},K=e=>{let{stats:t}=e;return(0,n.jsx)(o.so,{grow:1,justify:"flex-end",h:"lg",children:[t.savePercentage,t.saves,t.shotsAgainst,t.shortHandedSaves].map((e,t)=>(0,n.jsx)(o.ov,{flexGrow:0,flexShrink:0,flexBasis:"2xl",position:"relative",mr:"2xs",children:(0,n.jsx)(i.EY,{position:"absolute",children:e})},t))})},q=e=>{let{position:t,stats:s}=e;return s?"G"===t?(0,n.jsx)(K,{stats:s}):(0,n.jsx)(X,{stats:s}):null},J=e=>{let{data:t,headerColumns:s}=e,{event:l}=(0,d.useContext)(h.y$),{openEventPlayerStatistics:r}=(0,p.d)();return(0,n.jsxs)(n.Fragment,{children:[s,(0,n.jsxs)(o.so,{h:"4xl",py:"xs",px:"lg",align:"flex-end",cursor:"pointer",onClick:()=>{r({event:l,player:t.player},j._.StarPlayer)},children:[(0,n.jsxs)(o.so,{gap:"sm",align:"flex-end",children:[(0,n.jsx)(V,{data:t}),(0,n.jsx)(B,{data:t})]}),(0,n.jsx)(q,{position:t.position,stats:t.statistics})]})]})},ee=e=>{let{stars:t}=e;return(0,n.jsx)(n.Fragment,{children:t.map((e,s)=>(0,n.jsx)(J,{data:e,headerColumns:(0,n.jsx)(U,{prevPlayer:t[s-1],currentPlayer:e})},e.player.id))})},et=e=>{let{stars:t,onViewBoxScoreClick:s}=e;return(0,n.jsxs)(x.Zp,{isNewCard:!0,children:[(0,n.jsx)(x.Zp.Header,{titleId:"game_stars_title"}),(0,n.jsxs)(o.so,{direction:"column",pb:s?void 0:"md",children:[(0,n.jsx)(ee,{stars:t}),s&&(0,n.jsxs)(i.EY,{textStyle:"display.small",color:"primary.default",textAlign:"center",cursor:"pointer",py:"md",onClick:s,children:[(0,n.jsx)(c.A,{id:"game_stars_box_score_button"}),(0,n.jsx)(b.CCT,{fill:"currentColor",ml:"xs"})]})]})]})},es=(e,t)=>{let{left:s,right:n}=t,{homeTeam:l,awayTeam:r}=e;return[...s.players.map(e=>({...e,teamId:l.id})),...n.players.map(e=>({...e,teamId:r.id}))].filter(e=>e.gameStar).sort((e,t)=>e.gameStar&&t.gameStar?e.gameStar-t.gameStar:-1)},en=e=>{let{event:t,onClick:s,...r}=e,{lineups:i,isLoading:d}=(0,N.Ir)();if(((0,a.hX)()||d)&&t.status.type===l.XUj.Finished)return(0,n.jsx)(x.Zp,{isNewCard:!0,children:(0,n.jsx)(o.az,{h:"[224px]"})});if(!i)return null;let c=es(t,i);return 0===c.length?(0,n.jsx)(A,{event:t,onClick:s,...r}):(0,n.jsx)(et,{stars:c,onViewBoxScoreClick:s})},el=e=>{let{event:t,onClick:s,hideCta:r}=e,{slug:i}=t.tournament.category.sport;if(t.hasEventPlayerStatistics)switch(i){case l.QCR.Football:return(0,n.jsx)(M,{event:t,onCtaClick:s,hideCta:r});case l.QCR.Basketball:return(0,n.jsx)(E,{event:t,onClick:s});case l.QCR.IceHockey:return(0,n.jsx)(en,{event:t,onClick:s,hideCta:r});default:return(0,n.jsx)(A,{event:t,onClick:s})}return null}},80224:(e,t,s)=>{s.d(t,{A:()=>u});var n=s(6029),l=s(89875),r=s(76356),i=s(55729),a=s(82707),o=s(24159),d=s(62859),c=s(54053);let u=e=>{let{isOpen:t,setIsOpen:s,players:u,onPlayerClick:x}=e,{event:h}=(0,i.useContext)(d.y$);if(!(null==u?void 0:u.length))return null;let m=(e,t)=>{x&&(e.preventDefault(),x(t))};return(0,n.jsx)(c.A,{isOpen:t,setIsOpen:s,header:(0,n.jsx)(r.az,{h:"md"}),children:u.map(e=>(0,n.jsx)(a.uc,{sportSlug:h.tournament.category.sport.slug,player:e,onClick:t=>h.hasEventPlayerStatistics&&m(t,e),children:(0,n.jsx)(r.az,{minW:"[167px]",_hover:{bg:"surface.s2"},children:(0,n.jsx)(l.EY,{px:"xl",py:"lg",whiteSpace:"nowrap",display:"block",_hover:{color:"primary.default",textDecoration:"underline"},onClick:()=>{s(!1)},children:(0,n.jsx)(o.c,{entity:e})})})},e.id))})}},80734:(e,t,s)=>{s.d(t,{n:()=>o});var n=s(6029),l=s(21501),r=s(76356),i=s(55729),a=s(58775);function o(e){let t=1===i.Children.count(e.children),s=(0,l.hX)()&&e.openOnServer,[o,d]=(0,i.useState)(s||!1);return(0,n.jsxs)(r.az,{children:[(0,n.jsx)(r.az,{children:e.children[0]}),(0,n.jsx)(r.az,{display:o?"initial":"none",children:e.children.slice(1)}),!t&&(0,n.jsx)(a.d,{isOpen:o,onClick:()=>d(e=>!e)})]})}},80804:(e,t,s)=>{s.d(t,{H:()=>v,Eb:()=>p.H,dU:()=>m});var n=s(6029),l=s(15258),r=s(21377),i=s(89875),a=s(90248),o=s(45860),d=s(65789),c=s(26331),u=s(82707),x=s(94604),h=s(84942);let m=[r.QCR.Tennis,r.QCR.TableTennis,r.QCR.Badminton];var p=s(32113),j=s(79853);let g=e=>{let{managerDuel:t,sportSlug:s,leftManager:r,rightManager:o}=e,x=(0,c.A)();if(!t||!r||!o)return null;let m=Object.values(t).reduce((e,t)=>e+t,0);return(0,n.jsxs)(d.Zp,{isNewCard:!0,children:[(0,n.jsx)(d.Zp.Header,{titleId:"manager_h2h",as:"h4"}),(0,n.jsxs)(i.EY,{display:"block",textStyle:"display.micro",textAlign:"center",py:"sm",children:[(0,n.jsx)(a.A,{id:f(s),values:{n:m}}),":"]}),(0,n.jsx)(p.H,{h2hDuel:t,leftImage:(0,n.jsx)(u.yI,{manager:r,children:(0,n.jsx)(l.d,{size:40,id:r.id,name:r.name})}),leftName:(0,n.jsx)(u.yI,{manager:r,children:(0,n.jsx)(i.Ym,{truncate:!0,children:(0,h.s)(r,x,{short:!0})})}),rightImage:(0,n.jsx)(u.yI,{manager:o,children:(0,n.jsx)(l.d,{size:40,id:o.id,name:o.name})}),rightName:(0,n.jsx)(u.yI,{manager:o,children:(0,n.jsx)(i.Ym,{truncate:!0,textAlign:"end",children:(0,h.s)(o,x,{short:!0})})})})]})},y=e=>{let{teamDuel:t,sportSlug:s,leftTeam:r,rightTeam:o}=e;if(!t)return null;let c=Object.values(t).reduce((e,t)=>e+t,0);return(0,n.jsxs)(d.Zp,{isNewCard:!0,children:[(0,n.jsx)(d.Zp.Header,{titleId:"team_head_to_head",as:"h4"}),(0,n.jsxs)(i.EY,{display:"block",textStyle:"display.micro",textAlign:"center",py:"sm",children:[(0,n.jsx)(a.A,{id:f(s),values:{n:c}}),":"]}),(0,n.jsx)(p.H,{h2hDuel:t,leftImage:(0,n.jsx)(u.gT,{sport:s,team:r,children:(0,n.jsx)(l.p,{size:40,id:r.id,name:r.name})}),leftName:(0,n.jsx)(u.gT,{sport:s,team:r,children:(0,n.jsx)(i.Ym,{display:"block",truncate:!0,pr:"2xs",children:(0,n.jsx)(x.Rm,{team:r,short:!0})})}),rightImage:(0,n.jsx)(u.gT,{sport:s,team:o,children:(0,n.jsx)(l.p,{size:40,id:o.id,name:o.name})}),rightName:(0,n.jsx)(u.gT,{sport:s,team:o,children:(0,n.jsx)(i.Ym,{display:"block",truncate:!0,textAlign:"end",pl:"2xs",children:(0,n.jsx)(x.Rm,{team:o,short:!0})})}),hasDraws:!m.includes(s)})]})},v=e=>{let{eventId:t,leftTeam:s,rightTeam:l,sportSlug:i}=e,{data:a}=(0,o.Ay)(r.bnp.head2Head(t)),{managers:d}=(0,j.K)();return a&&a.managerDuel&&d&&d.leftManager&&d.rightManager||a&&a.teamDuel?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y,{teamDuel:a.teamDuel,sportSlug:i,leftTeam:s,rightTeam:l}),(0,n.jsx)(g,{managerDuel:a.managerDuel,sportSlug:i,leftManager:d.leftManager,rightManager:d.rightManager})]}):null};function f(e){switch(e){case r.QCR.AmericanFootball:return"am_football_last_x_games";case r.QCR.Basketball:return"basketball_last_x_games";case r.QCR.Baseball:return"baseball_last_x_games";case r.QCR.IceHockey:return"ice_hockey_last_x_games";case r.QCR.Tennis:return"tennis_last_x_matches";case r.QCR.TableTennis:return"table_tennis_last_x_matches";case r.QCR.Badminton:return"badminton_last_x_matches";case r.QCR.Snooker:return"snooker_last_x_matches";case r.QCR.Darts:return"darts_last_x_matches";case r.QCR.ESports:return"esports_last_x_events";default:return"general_last_x_matches"}}},80908:(e,t,s)=>{s.d(t,{A:()=>p});var n=s(6029),l=s(76356),r=s(82203),i=s.n(r),a=s(55729),o=s(494),d=s(62859),c=s(26331),u=s(88339),x=s(61836),h=s(25862),m=s(94704);let p=e=>{let{name:t,startDate:s,children:r,isClickable:p=!0}=e,{event:j}=(0,a.useContext)(d.y$),g=(0,c.A)(),y=(0,o.d4)(u.$F),v=!!(null==y?void 0:y.id),f=(0,o.wA)(),b=(0,m.oY)(j,g),C=(0,m.GY)(t,s,b);return p&&v?(0,n.jsx)(i(),{href:C,target:"_blank",onClick:()=>{(0,x.ke)({action:"click",location:"event_screen",type:"add_to_calendar_button"})},children:r}):(0,n.jsx)(l.az,{onClick:()=>{v||f((0,h.aS)()),(0,x.ke)({action:"click",location:"event_screen",type:"add_to_calendar_button"})},children:r})}},81893:(e,t,s)=>{s.d(t,{Mi:()=>L,eO:()=>M,Ko:()=>R});var n=s(6029),l=s(21377),r=s(76356),i=s(55729),a=s(45860),o=s(65789),d=s(22648),c=s(62492),u=s(89875),x=s(90248);function h(){return(0,n.jsx)(u.EY,{color:"neutrals.nLv3",textStyle:"body.small",textAlign:"center",display:"block",px:"lg",py:"sm",children:(0,n.jsx)(x.A,{id:"ai_insights_betting_disclaimer"})})}function m(e){let{section:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.EY,{display:"block",textStyle:"display.medium",px:"lg",pt:"md",pb:"xs",children:t.subtitle}),(0,n.jsx)(u.EY,{display:"block",textStyle:"body.mediumParagraph",px:"lg",py:"sm",children:t.text})]})}function p(e){let{sections:t}=e;return t?(0,n.jsx)(n.Fragment,{children:t.map(e=>(0,n.jsx)(m,{section:e},e.subtitle))}):null}var j=s(54409),g=s(82707);function y(e){let{titleId:t,isHidden:s,children:l}=e;return s?null:(0,n.jsxs)(r.so,{justify:"space-between",align:"center",px:"lg",gap:"lg",minH:"2xl",children:[(0,n.jsx)(u.EY,{children:(0,n.jsx)(x.A,{id:t})}),(0,n.jsx)(u.EY,{children:l})]})}var v=s(94604);let f=e=>{let{team:t}=e,s=(0,v.s_)({team:t});return(0,n.jsx)(x.A,{id:"ai_forecast_correct_win",values:{teamName:s}})};function b(e){let{winner:t,isCorrect:s,isInWidget:l,isHalftime:i}=e,a=s&&!t;return(0,n.jsxs)(r.ov,{bg:l?"surface.s1":"surface.s2",py:"md",px:"lg",gap:"sm",br:"sm",children:[s&&!a?(0,n.jsx)(j.VsF,{fill:"success.default"}):(0,n.jsx)(j.LG7,{height:"16px",width:"16px",fill:"onSurface.nLv3"}),(0,n.jsx)(u.EY,{color:"neutrals.nLv3",textStyle:"assistive.default",textAlign:"center",children:s?a?(0,n.jsx)(x.A,{id:"ai_forecast_correct_draw"}):t?(0,n.jsx)(f,{team:t}):null:(0,n.jsx)(x.A,{id:i?"generated_at_halftime":"generated_before_match_start"})})]})}var C=s(494),w=s(10794);let S=["US","CA"];function k(){let e=(0,C.d4)(w.LQ);return e&&S.includes(e)?(0,n.jsx)(n.Fragment,{children:"Tie"}):(0,n.jsx)(x.A,{id:"draw"})}function A(e){let{hasWinner:t,winner:s}=e;return(0,n.jsx)(y,{titleId:t?"football_full_time_winner":"football_full_time_outcome",children:t&&s?(0,n.jsx)(v.Rm,{team:s}):(0,n.jsx)(k,{})})}function _(e){let{event:t,predictions:s,isInWidget:l}=e;if(!s)return null;let i=t.correctHalftimeAiInsight,{hasWinner:a,winner:o}=(0,c.mV)(t,s.homeNormaltimeScore,s.awayNormaltimeScore);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y,{titleId:"football_scores_next_goal",isHidden:!s.nextTeamToScore,children:null==s?void 0:s.nextTeamToScore.shortName}),(0,n.jsx)(y,{titleId:"football_over_goals_second_half",isHidden:"boolean"!=typeof(null==s?void 0:s.secondHalfOverOneAndAHalfGoals),children:(0,n.jsx)(x.A,{id:(null==s?void 0:s.secondHalfOverOneAndAHalfGoals)?"yes":"no"})}),(0,n.jsx)(y,{titleId:"football_scores_in_second_half",isHidden:!s.playerToScore,children:(0,n.jsx)(g.uc,{player:s.playerToScore,sportSlug:t.tournament.category.sport.slug,children:(0,n.jsxs)(u.EY,{color:"primary.default",children:[null==s?void 0:s.playerToScore.shortName,(0,n.jsx)(j.CCT,{fill:"primary.default",ml:"xs"})]})})}),(0,n.jsx)(A,{hasWinner:a,winner:o}),(0,n.jsx)(r.az,{px:"sm",children:(0,n.jsx)(b,{isCorrect:i,winner:a?o:void 0,isInWidget:l,isHalftime:!0})})]})}function T(e){let{event:t,predictions:s,isInWidget:l}=e;if(!s)return null;let i=t.correctAiInsight,{hasWinner:a,winner:o}=(0,c.mV)(t,s.homeNormaltimeScore,s.awayNormaltimeScore);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(y,{titleId:"football_total_yellow_cards",isHidden:!s.yellowCards,children:s.yellowCards}),(0,n.jsx)(y,{titleId:"football_total_corners",isHidden:!s.corners,children:s.corners}),(0,n.jsx)(y,{titleId:"both_teams_to_score",isHidden:"boolean"!=typeof s.bothTeamsToScore,children:(0,n.jsx)(x.A,{id:s.bothTeamsToScore?"yes":"no"})}),(0,n.jsx)(A,{hasWinner:a,winner:o}),(0,n.jsx)(r.az,{px:"sm",children:(0,n.jsx)(b,{isCorrect:i,winner:a?o:void 0,isInWidget:l})})]})}function E(e){let{event:t,predictions:s,halftimePredictions:l,isInWidget:i}=e,{hasTabs:a,activeTab:o}=(0,c.gY)(),d=a&&o===c.k9.Halftime;return(d?l:s)?(0,n.jsxs)(r.az,{children:[(0,n.jsx)(u.EY,{display:"block",textStyle:"display.medium",px:"lg",pt:"md",pb:"xs",children:(0,n.jsx)(x.A,{id:"ai_match_forecast_title"})}),d?(0,n.jsx)(_,{event:t,predictions:l,isInWidget:i}):(0,n.jsx)(T,{event:t,predictions:s,isInWidget:i})]}):null}function P(e){let{aiInsightsResponse:t,event:s,isPremium:l}=e,{data:i,isLoading:a}=t,{activeTab:o,hasTabs:u}=(0,c.gY)(),x=(0,c.jS)(!!l,!!i,a,s.id),m=u&&o===c.k9.Halftime?null==i?void 0:i.halftimeSections:null==i?void 0:i.sections;return(0,n.jsxs)(r.az,{children:[a?(0,n.jsx)(r.az,{h:"[700px]"}):x?(0,n.jsx)(r.az,{h:"[700px]",py:"sm",children:(0,n.jsx)(d.a,{})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(E,{event:s,predictions:null==i?void 0:i.predictions,halftimePredictions:null==i?void 0:i.halftimePredictions}),(0,n.jsx)(p,{sections:m})]}),(0,n.jsx)(h,{})]})}function I(e){let{aiInsightsResponse:t,event:s,isPremium:l,isInWidget:i}=e,{data:a,isLoading:u}=t,{activeTab:x,hasTabs:m}=(0,c.gY)(),j=(0,c.jS)(!!l,!!a,u,s.id),g=m&&x===c.k9.Halftime?null==a?void 0:a.halftimeSections:null==a?void 0:a.sections;return(0,n.jsxs)(o.BU,{children:[j?(0,n.jsx)(o.Zp,{isInverseDesktop:i,children:(0,n.jsx)(r.az,{py:"lg",h:"[500px]",children:(0,n.jsx)(d.a,{})})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o.Zp,{isInverseDesktop:i,children:[(0,n.jsx)(E,{event:s,predictions:null==a?void 0:a.predictions,halftimePredictions:null==a?void 0:a.halftimePredictions,isInWidget:i}),(0,n.jsx)(o.Zp.Footer,{defaultHeight:"sm"})]}),(0,n.jsxs)(o.Zp,{isInverseDesktop:i,children:[(0,n.jsx)(p,{sections:g}),(0,n.jsx)(o.Zp.Footer,{defaultHeight:"sm"})]})]}),(0,n.jsx)(h,{})]})}function L(e){let{event:t,variant:s="default"}=e,r=(0,c.ff)(),{showAiInsights:o,showPostmatchAiInsights:d}=(0,c.tN)(t),{setHasTabs:u}=(0,c.gY)(),x=(0,a.Ay)(d?l.bnp.aiInsightsPostmatch(t.id,r):null),h=(0,c.$e)(t,!o),m=d?x:h;return((0,i.useEffect)(()=>{var e;u(!!(null==(e=m.data)?void 0:e.halftimePredictions)&&!!m.data.halftimeSections)},[m.data]),o||d)?"widget"===s||"card-layout"===s?(0,n.jsx)(I,{aiInsightsResponse:m,event:t,isPremium:o,isInWidget:"widget"===s}):(0,n.jsx)(P,{aiInsightsResponse:m,event:t,isPremium:o}):null}var z=s(93338);function Y(e){let{height:t}=e,s=z.S.var("colors.neutrals.nLv2");return(0,n.jsxs)("svg",{height:null!=t?t:"28",viewBox:"0 0 251 28",fill:"none",children:[(0,n.jsx)("path",{d:"M243.93 18.6029V9.58272H241.699C241.531 9.58272 241.42 9.47136 241.42 9.30432V7.46688C241.42 7.29984 241.531 7.18848 241.699 7.18848H243.93V4.04256C243.93 3.87552 244.041 3.76416 244.209 3.76416H246.217C246.384 3.76416 246.495 3.87552 246.495 4.04256V7.18848H250.484C250.651 7.18848 250.762 7.29984 250.762 7.46688V9.30432C250.762 9.47136 250.651 9.58272 250.484 9.58272H246.495V18.2131C246.495 19.104 246.997 19.4938 247.778 19.4938H250.484C250.651 19.4938 250.762 19.6051 250.762 19.7722V21.6096C250.762 21.7766 250.651 21.888 250.484 21.888H247.053C245.045 21.888 243.93 20.8301 243.93 18.6029Z",fill:s}),(0,n.jsx)("path",{d:"M228.407 17.6841C228.407 17.5171 228.518 17.4057 228.686 17.4057H230.721C230.889 17.4057 231 17.5171 231.028 17.6841C231.223 19.0761 232.757 19.8278 234.821 19.8278C237.052 19.8278 238.279 18.9369 238.279 17.6006C238.279 16.2643 237.471 15.5405 234.626 15.5405C230.972 15.5405 228.713 14.3433 228.713 11.3923C228.713 8.63614 231.14 6.91006 234.375 6.91006C237.889 6.91006 240.064 8.58047 240.427 11.3645C240.455 11.5872 240.343 11.6429 240.176 11.6429H238.112C237.945 11.6429 237.861 11.5593 237.833 11.3923C237.638 10.0838 236.55 9.24863 234.319 9.24863C232.227 9.24863 231.251 10.056 231.251 11.2531C231.251 12.4781 232.032 13.2576 234.933 13.2576C239.2 13.2576 240.817 14.7609 240.817 17.4893C240.817 20.2176 238.391 22.1664 234.793 22.1664C231.363 22.1664 228.574 20.7187 228.407 17.6841Z",fill:s}),(0,n.jsx)("path",{d:"M228.193 7.43903L222.058 23.809C221.137 26.2867 220.552 27.5117 218.376 27.5117H215.448C215.281 27.5117 215.169 27.4003 215.169 27.2333V25.3958C215.169 25.2288 215.281 25.1174 215.448 25.1174H217.958C218.683 25.1174 219.129 24.839 219.464 23.9203L219.938 22.6118L214.221 7.43903C214.137 7.29984 214.221 7.18848 214.388 7.18848H216.703C216.898 7.18848 217.01 7.272 217.066 7.43903L221.277 19.3267L225.488 7.43903C225.544 7.272 225.655 7.18848 225.851 7.18848H228.026C228.193 7.18848 228.277 7.29984 228.193 7.43903Z",fill:s}),(0,n.jsx)("path",{d:"M210.114 21.6096V1.2864C210.114 1.11936 210.225 1.008 210.392 1.008H212.4C212.568 1.008 212.679 1.11936 212.679 1.2864V21.6096C212.679 21.7766 212.568 21.888 212.4 21.888H210.392C210.225 21.888 210.114 21.7766 210.114 21.6096Z",fill:s}),(0,n.jsx)("path",{d:"M194.35 11.3923C194.768 8.66398 197.25 6.91006 200.708 6.91006C204.557 6.91006 207.039 8.91455 207.039 12.4781V21.6096C207.039 21.7766 206.927 21.888 206.788 21.888H204.975C204.808 21.888 204.696 21.7766 204.696 21.6096V19.9113C203.358 21.6096 201.629 22.1664 199.565 22.1664C197.306 22.1664 194.182 21.2198 194.182 17.6285C194.182 14.7053 196.553 12.9235 200.206 12.9235H204.445V12.4781C204.445 10.4179 203.162 9.30431 200.569 9.30431C198.505 9.30431 197.417 10.0281 196.915 11.3923C196.86 11.5593 196.776 11.6707 196.609 11.6707H194.601C194.433 11.6707 194.322 11.5593 194.35 11.3923ZM199.983 19.8557C201.935 19.8557 204.445 18.5472 204.445 15.7353V15.1507H200.29C197.864 15.1507 196.804 15.9859 196.804 17.5171C196.804 19.0761 197.891 19.8557 199.983 19.8557Z",fill:s}),(0,n.jsx)("path",{d:"M179.486 21.6096V7.46687C179.486 7.29982 179.597 7.18847 179.765 7.18847H181.605C181.773 7.18847 181.884 7.29982 181.884 7.46687V8.85887C182.916 7.41118 184.311 6.91006 186.123 6.91006C189.414 6.91006 191.896 8.94239 191.896 12.9513V21.6096C191.896 21.7766 191.785 21.888 191.618 21.888H189.61C189.442 21.888 189.331 21.7766 189.331 21.6096V13.1462C189.331 10.5014 187.741 9.30431 185.677 9.30431C183.864 9.30431 182.052 10.3901 182.052 13.1462V21.6096C182.052 21.7766 181.94 21.888 181.773 21.888H179.765C179.597 21.888 179.486 21.7766 179.486 21.6096Z",fill:s}),(0,n.jsx)("path",{d:"M160.595 21.6096L166.926 2.37215C166.981 2.17727 167.093 2.09375 167.288 2.09375H171.165C171.36 2.09375 171.472 2.17727 171.527 2.37215L177.774 21.6096C177.83 21.7766 177.747 21.888 177.579 21.888H175.348C175.153 21.888 175.041 21.8045 174.986 21.6096L173.396 16.7098H164.918L163.356 21.6096C163.3 21.8045 163.189 21.888 162.993 21.888H160.79C160.623 21.888 160.539 21.7766 160.595 21.6096ZM165.726 14.2041H172.615L169.519 4.65503H168.794L165.726 14.2041Z",fill:s}),(0,n.jsx)("path",{d:"M44.4479 10.9855C43.36 10.5113 41.8934 10.2171 40.0482 10.1091C38.5215 10.019 37.4697 9.76091 36.9047 9.3407C36.3337 8.92049 36.0512 8.33219 36.0512 7.56981C36.0512 6.86145 36.3457 6.27316 36.9287 5.79892C37.5178 5.32469 38.3292 5.08457 39.375 5.08457C40.529 5.08457 41.4547 5.3427 42.1579 5.86496C42.8311 6.36921 43.2398 7.08957 43.384 8.02604C43.3961 8.08607 43.4441 8.12809 43.5042 8.12809H47.0144C47.0865 8.12809 47.1406 8.06806 47.1346 7.99602C46.9242 6.03304 46.1489 4.51428 44.8025 3.43974C43.4261 2.3412 41.635 1.79492 39.4351 1.79492C38.0948 1.79492 36.8987 2.04105 35.8408 2.53329C34.789 3.02554 33.9535 3.71588 33.3404 4.59832C32.7274 5.48076 32.4208 6.50128 32.4208 7.65385C32.4208 9.01053 32.7213 10.0911 33.3284 10.8895C33.9355 11.6879 34.783 12.2762 35.8709 12.6483C36.9588 13.0205 38.251 13.2547 39.7417 13.3447C41.1962 13.4407 42.242 13.6989 42.8852 14.1251C43.5283 14.5513 43.8468 15.2056 43.8468 16.0761C43.8468 16.9345 43.5042 17.6188 42.8251 18.1291C42.1459 18.6393 41.1782 18.8975 39.934 18.8975C38.78 18.8975 37.8183 18.6333 37.0549 18.0991C36.3156 17.5828 35.8649 16.7964 35.7026 15.7339C35.6966 15.6739 35.6425 15.6318 35.5824 15.6318H32.0722C32.0001 15.6318 31.946 15.6919 31.952 15.7579C32.0602 17.1686 32.4749 18.3512 33.2022 19.2997C33.9475 20.2782 34.9032 21.0045 36.0692 21.4788C37.2353 21.953 38.5155 22.1931 39.9099 22.1931C41.4006 22.1931 42.7229 21.929 43.8769 21.3947C45.0309 20.8665 45.9325 20.1281 46.5756 19.1916C47.2188 18.2492 47.5373 17.1686 47.5373 15.938C47.5373 14.7674 47.2969 13.7649 46.81 12.9365C46.3292 12.1141 45.5418 11.4598 44.4479 10.9855Z",fill:s}),(0,n.jsx)("path",{d:"M59.6245 7.77991C58.5366 7.19162 57.3465 6.90347 56.0603 6.90347C54.7379 6.90347 53.5358 7.19762 52.4539 7.77991C51.372 8.36821 50.5185 9.22663 49.8814 10.3612C49.2503 11.4958 48.9318 12.8825 48.9318 14.5213C48.9318 16.1601 49.2503 17.5468 49.8814 18.6814C50.5125 19.8159 51.372 20.6804 52.4539 21.2747C53.5358 21.869 54.7379 22.1691 56.0603 22.1691C57.3465 22.1691 58.5366 21.869 59.6245 21.2747C60.7124 20.6804 61.5839 19.8159 62.2391 18.6814C62.8882 17.5468 63.2188 16.1601 63.2188 14.5213C63.2188 12.8825 62.8942 11.4958 62.2391 10.3612C61.59 9.22663 60.7184 8.3622 59.6245 7.77991ZM58.6328 17.7689C58.0017 18.5253 57.1422 18.8975 56.0603 18.8975C54.9784 18.8975 54.1249 18.5193 53.5058 17.7689C52.8807 17.0125 52.5681 15.938 52.5681 14.5453C52.5681 13.1286 52.8867 12.048 53.5178 11.2917C54.1489 10.5353 54.9964 10.1631 56.0603 10.1631C57.1422 10.1631 57.9957 10.5413 58.6328 11.2917C59.2639 12.048 59.5824 13.1286 59.5824 14.5453C59.5824 15.944 59.2699 17.0185 58.6328 17.7689Z",fill:s}),(0,n.jsx)("path",{d:"M67.3961 1.945C66.6388 2.58732 66.2661 3.56581 66.2661 4.89247V7.05956C66.2661 7.12559 66.2121 7.17962 66.1459 7.17962H64.0963C64.0302 7.17962 63.9761 7.23364 63.9761 7.29968V10.3552C63.9761 10.4212 64.0302 10.4753 64.0963 10.4753H66.1459C66.2121 10.4753 66.2661 10.5293 66.2661 10.5953V21.7969C66.2661 21.863 66.3202 21.917 66.3864 21.917H69.6681C69.7342 21.917 69.7883 21.863 69.7883 21.7969V10.5893C69.7883 10.5233 69.8424 10.4693 69.9085 10.4693H73.4668C73.5329 10.4693 73.587 10.4152 73.587 10.3492V7.29367C73.587 7.22764 73.5329 7.17361 73.4668 7.17361H69.9085C69.8424 7.17361 69.7883 7.11959 69.7883 7.05355V5.58282C69.7883 4.70638 70.161 4.26816 70.9063 4.26816H73.4668C73.5329 4.26816 73.587 4.21413 73.587 4.1481V1.09858C73.587 1.03254 73.5329 0.978516 73.4668 0.978516H70.2331C69.0971 0.978516 68.1535 1.30268 67.3961 1.945Z",fill:s}),(0,n.jsx)("path",{d:"M86.0108 8.35019C84.8267 7.3837 83.2279 6.89746 81.2204 6.89746C80.0483 6.89746 78.9845 7.09556 78.0348 7.48575C77.0851 7.87595 76.3098 8.44624 75.7147 9.19061C75.1437 9.90497 74.7951 10.7514 74.6689 11.7359C74.6569 11.8079 74.717 11.8679 74.7891 11.8679H78.131C78.1911 11.8679 78.2392 11.8259 78.2512 11.7719C78.3774 11.2016 78.6659 10.7574 79.1287 10.4332C79.6156 10.0911 80.3008 9.91697 81.1963 9.91697C83.2459 9.91697 84.2737 10.7754 84.2737 12.4863V12.7024C84.2737 12.7684 84.2196 12.8224 84.1535 12.8224H80.3909C78.5637 12.8224 77.1152 13.2426 76.0453 14.0771C74.9754 14.9175 74.4405 16.0761 74.4405 17.5648C74.4405 18.4953 74.6088 19.2636 74.9454 19.8699C75.282 20.4763 75.7147 20.9565 76.2437 21.3047C76.7726 21.6588 77.3556 21.905 77.9927 22.043C78.6238 22.1811 79.2309 22.2531 79.8079 22.2531C81.1302 22.2531 82.2362 21.995 83.1197 21.4848C83.5945 21.2086 84.0033 20.8905 84.3519 20.5183C84.424 20.4402 84.5622 20.4943 84.5622 20.6023V21.8029C84.5622 21.8689 84.6163 21.923 84.6824 21.923H87.6817C87.7478 21.923 87.8019 21.8689 87.8019 21.8029V12.4803C87.7839 10.6914 87.1948 9.31667 86.0108 8.35019ZM82.2241 18.9575C81.6471 19.2156 81.0881 19.3477 80.5472 19.3477C79.7839 19.3477 79.1708 19.1916 78.702 18.8855C78.2331 18.5793 78.0047 18.1111 78.0047 17.4748C78.0047 16.8624 78.2331 16.3942 78.6899 16.0821C79.1467 15.7639 79.868 15.6078 80.8537 15.6078H84.1415C84.2076 15.6078 84.2617 15.6618 84.2617 15.7279V15.8059C84.2617 16.6043 84.0634 17.2646 83.6727 17.7869C83.288 18.3032 82.8011 18.6934 82.2241 18.9575Z",fill:s}),(0,n.jsx)("path",{d:"M101.175 14.1431C100.208 13.4648 98.6028 13.0565 96.3669 12.9305C95.5074 12.8945 94.8583 12.8164 94.4135 12.6904C93.9687 12.5703 93.6622 12.4082 93.5059 12.2041C93.3496 12 93.2655 11.7419 93.2655 11.4237C93.2655 10.9795 93.4758 10.6133 93.8966 10.3372C94.3173 10.0611 94.9424 9.91698 95.7839 9.91698C96.5833 9.91698 97.2445 10.0671 97.7674 10.3612C98.2602 10.6433 98.5547 11.0576 98.6449 11.6038C98.6569 11.6579 98.705 11.6999 98.7651 11.6999H102.107C102.179 11.6999 102.233 11.6398 102.227 11.5678C102.053 10.1091 101.41 8.96851 100.298 8.1581C99.1498 7.32368 97.6472 6.90347 95.7839 6.90347C94.6118 6.90347 93.572 7.10157 92.6704 7.49177C91.7689 7.88196 91.0596 8.42223 90.5487 9.11258C90.0378 9.80292 89.7794 10.6133 89.7794 11.5438C89.7794 12.5883 90.0318 13.4167 90.5367 14.029C91.0416 14.6413 91.7568 15.0916 92.6885 15.3677C93.6201 15.6438 94.7381 15.8119 96.0423 15.872C97.2505 15.926 98.0619 16.0821 98.4766 16.3342C98.8853 16.5863 99.0897 16.9705 99.0897 17.4928C99.0897 18.015 98.8613 18.4292 98.4045 18.7354C97.9477 19.0415 97.2264 19.1976 96.2407 19.1976C95.3632 19.1976 94.6239 19.0535 94.0168 18.7654C93.4398 18.4893 93.1092 18.0631 93.013 17.4808C93.001 17.4267 92.9529 17.3847 92.8928 17.3847H89.575C89.5029 17.3847 89.4488 17.4447 89.4548 17.5108C89.5269 18.5493 89.8635 19.4137 90.4525 20.0921C91.0656 20.8004 91.871 21.3287 92.8688 21.6829C93.8665 22.037 94.9785 22.2111 96.2106 22.2111C97.569 22.2111 98.7291 21.995 99.6907 21.5688C100.652 21.1426 101.38 20.5543 101.885 19.8099C102.389 19.0656 102.642 18.2311 102.642 17.2947C102.624 15.866 102.143 14.8214 101.175 14.1431Z",fill:s}),(0,n.jsx)("path",{d:"M112.938 18.3992C112.343 18.7354 111.7 18.9035 111.009 18.9035C109.927 18.9035 109.073 18.5313 108.454 17.7869C107.829 17.0426 107.516 15.962 107.516 14.5513C107.516 13.1346 107.835 12.0541 108.466 11.2977C109.097 10.5413 109.945 10.1691 111.009 10.1691C111.79 10.1691 112.451 10.3672 112.992 10.7574C113.509 11.1356 113.858 11.7179 114.032 12.5043C114.044 12.5583 114.092 12.6003 114.152 12.6003H117.524C117.596 12.6003 117.656 12.5343 117.644 12.4623C117.386 10.5953 116.652 9.20863 115.456 8.30218C114.224 7.37172 112.728 6.90948 110.954 6.90948C109.704 6.90948 108.544 7.19763 107.474 7.77392C106.405 8.35021 105.539 9.20863 104.878 10.3432C104.217 11.4778 103.886 12.8765 103.886 14.5333C103.886 16.1901 104.205 17.5828 104.836 18.7234C105.467 19.858 106.32 20.7164 107.39 21.3047C108.46 21.893 109.65 22.1811 110.954 22.1811C112.018 22.1811 113.022 21.989 113.972 21.6108C114.921 21.2266 115.721 20.6383 116.376 19.84C117.001 19.0716 117.44 18.1171 117.686 16.9705C117.704 16.8985 117.644 16.8264 117.566 16.8264H114.2C114.146 16.8264 114.098 16.8625 114.086 16.9165C113.894 17.5768 113.509 18.0751 112.938 18.3992Z",fill:s}),(0,n.jsx)("path",{d:"M129.749 7.77991C128.662 7.19162 127.471 6.90347 126.185 6.90347C124.863 6.90347 123.661 7.19762 122.579 7.77991C121.497 8.36821 120.643 9.22663 120.006 10.3612C119.375 11.4958 119.057 12.8825 119.057 14.5213C119.057 16.1601 119.375 17.5468 120.006 18.6814C120.637 19.8159 121.497 20.6804 122.579 21.2747C123.661 21.869 124.863 22.1691 126.185 22.1691C127.471 22.1691 128.662 21.869 129.749 21.2747C130.837 20.6804 131.709 19.8159 132.364 18.6814C133.013 17.5468 133.344 16.1601 133.344 14.5213C133.344 12.8825 133.019 11.4958 132.364 10.3612C131.709 9.22663 130.837 8.3622 129.749 7.77991ZM128.758 17.7689C128.127 18.5253 127.267 18.8975 126.185 18.8975C125.103 18.8975 124.25 18.5193 123.631 17.7689C123.006 17.0125 122.693 15.938 122.693 14.5453C122.693 13.1286 123.012 12.048 123.643 11.2917C124.274 10.5353 125.121 10.1631 126.185 10.1631C127.267 10.1631 128.121 10.5413 128.758 11.2917C129.389 12.048 129.707 13.1286 129.707 14.5453C129.707 15.944 129.389 17.0185 128.758 17.7689Z",fill:s}),(0,n.jsx)("path",{d:"M139.264 7.942C139.036 8.15811 138.819 8.41023 138.615 8.69237C138.549 8.78842 138.399 8.7404 138.399 8.62034V7.29367C138.399 7.22764 138.344 7.17361 138.278 7.17361H135.249C135.183 7.17361 135.129 7.22764 135.129 7.29367V21.7909C135.129 21.857 135.183 21.911 135.249 21.911H138.531C138.597 21.911 138.651 21.857 138.651 21.7909V13.4588C138.651 12.7324 138.765 12.1501 138.988 11.7119C139.21 11.2737 139.511 10.9555 139.883 10.7634C140.256 10.5653 140.683 10.4693 141.169 10.4693H143.874C143.94 10.4693 143.994 10.4152 143.994 10.3492V7.29367C143.994 7.22764 143.94 7.17361 143.874 7.17361H141.644C140.598 7.17962 139.805 7.43174 139.264 7.942Z",fill:s}),(0,n.jsx)("path",{d:"M157.518 10.3732C156.923 9.22663 156.106 8.3622 155.072 7.77991C154.038 7.19762 152.878 6.90347 151.592 6.90347C150.342 6.90347 149.188 7.20963 148.124 7.82193C147.06 8.43424 146.206 9.31068 145.569 10.4452C144.926 11.5798 144.607 12.9485 144.607 14.5513C144.607 16.1901 144.914 17.5768 145.527 18.7114C146.14 19.8459 146.97 20.7044 148.015 21.2927C149.061 21.881 150.221 22.1691 151.508 22.1691C153.148 22.1691 154.579 21.7669 155.811 20.9685C157.007 20.1941 157.789 19.0055 158.155 17.4027C158.173 17.3307 158.113 17.2587 158.035 17.2587H154.639C154.585 17.2587 154.543 17.2947 154.525 17.3427C154.333 17.931 153.99 18.3572 153.491 18.6093C152.968 18.8795 152.337 19.0115 151.592 19.0115C150.456 19.0115 149.596 18.6273 149.007 17.865C148.568 17.2947 148.292 16.5263 148.184 15.5718C148.178 15.4998 148.232 15.4397 148.304 15.4397H158.257C158.318 15.4397 158.366 15.3977 158.378 15.3377C158.402 15.2236 158.414 15.1096 158.414 15.0015C158.414 14.8635 158.414 14.7074 158.414 14.5393C158.414 12.9065 158.113 11.5198 157.518 10.3732ZM151.562 9.94099C152.662 9.94099 153.467 10.2832 153.978 10.9735C154.308 11.4117 154.531 11.964 154.645 12.6183C154.657 12.6904 154.603 12.7624 154.525 12.7624H148.46C148.382 12.7624 148.322 12.6904 148.346 12.6123C148.496 12.03 148.719 11.5318 149.025 11.1296C149.614 10.3372 150.462 9.94099 151.562 9.94099Z",fill:s}),(0,n.jsxs)("g",{"clip-path":"url(#clip0_7871_1728)",children:[(0,n.jsx)("path",{d:"M24.0421 0.176488C24.0421 0.129681 24.0235 0.0847902 23.9904 0.0516922C23.9572 0.0185942 23.9123 0 23.8654 0L0.17671 0C0.129843 0 0.0848966 0.0185942 0.0517571 0.0516922C0.0186176 0.0847902 0 0.129681 0 0.176488L0 11.8295C0 11.8763 0.0186176 11.9212 0.0517571 11.9543C0.0848966 11.9874 0.129843 12.006 0.17671 12.006H5.83383C5.88069 12.006 5.92564 11.9874 5.95878 11.9543C5.99192 11.9212 6.01054 11.8763 6.01054 11.8295V6.17949C6.01054 6.13268 6.02915 6.08779 6.06229 6.05469C6.09543 6.0216 6.14038 6.003 6.18725 6.003H23.8654C23.9123 6.003 23.9572 5.98441 23.9904 5.95131C24.0235 5.91821 24.0421 5.87332 24.0421 5.82651V0.176488Z",fill:s}),(0,n.jsx)("path",{d:"M18.2083 12.006C18.1615 12.006 18.1165 12.0246 18.0834 12.0577C18.0502 12.0908 18.0316 12.1357 18.0316 12.1825V17.8325C18.0316 17.8793 18.013 17.9242 17.9799 17.9573C17.9467 17.9904 17.9018 18.009 17.8549 18.009H0.17671C0.129843 18.009 0.0848966 18.0276 0.0517571 18.0607C0.0186176 18.0938 0 18.1387 0 18.1855L0 23.8355C0 23.8823 0.0186176 23.9272 0.0517571 23.9603C0.0848966 23.9934 0.129843 24.012 0.17671 24.012H23.8654C23.9123 24.012 23.9572 23.9934 23.9904 23.9603C24.0235 23.9272 24.0421 23.8823 24.0421 23.8355V12.1825C24.0421 12.1357 24.0235 12.0908 23.9904 12.0577C23.9572 12.0246 23.9123 12.006 23.8654 12.006H18.2083Z",fill:s})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_7871_1728",children:(0,n.jsx)("rect",{width:"24.0421",height:"24.012",fill:"white"})})})]})}function R(e){let{...t}=e;return(0,n.jsx)(r.so,{overflow:"hidden",align:"center",justify:"center",minH:"xl",bg:"tertiary.default",...t,children:(0,n.jsx)(Y,{height:12})})}var H=s(20331);function M(e){let{event:t}=e;return(0,n.jsx)(c.Ad,{event:t,children:(0,n.jsxs)(o.Zp,{children:[(0,n.jsx)(R,{roundedTop:"xl"}),(0,n.jsx)(H.A,{}),(0,n.jsx)(L,{event:t}),(0,n.jsx)(o.Zp.Footer,{})]})})}},82070:(e,t,s)=>{s.d(t,{U:()=>c});var n=s(6029),l=s(32523),r=s(89875),i=s(76356),a=s(99064),o=s(90248),d=s(54409);let c=()=>(0,n.jsxs)("div",{children:[(0,n.jsx)(l.E,{uniqueKey:"tennis-power-cl",br:"lg",height:148,mb:"sm",animate:!0}),(0,n.jsxs)(i.so,{position:"relative",bg:"surface.s2",br:"lg",justify:"space-between",align:"center",p:"sm",children:[(0,n.jsxs)(i.az,{_hover:{bg:"neutrals.nLv5"},px:"sm",py:"xs",br:"md",cursor:"pointer",children:[(0,n.jsxs)(r.EY,{display:"block",textStyle:"body.medium",color:"neutrals.nLv1",children:[(0,n.jsx)(o.A,{id:"event.tennisPower.title"}),(0,n.jsx)(d.G_L,{width:"16",height:"16",ml:"xs"})]}),(0,n.jsx)(r.EY,{display:"block",textStyle:"body.small",color:"neutrals.nLv3",children:(0,n.jsx)(o.A,{id:"event.tennisPower.description"})})]}),(0,n.jsx)(i.az,{mr:"md",children:(0,n.jsx)(a.lM,{checked:!1})})]})]})},83457:(e,t,s)=>{s.d(t,{j:()=>d,q:()=>c});var n=s(21377),l=s(55729),r=s(45860),i=s(62859),a=s(8703),o=s(26331);let d=e=>{var t;let s=(0,o.A)().substring(0,2);if(null==(t=n.DcR[e])?void 0:t.includes(s))return s};function c(e){let{event:t}=(0,l.useContext)(i.y$),s=d(t.tournament.category.sport.slug),{data:o}=(0,r.Ay)(s?n.bnp.commentary(t.id,s):null,(0,a.rf)(t)),c=[];return{textCommentary:null==o?void 0:o.comments.reduce((e,t)=>(t.periodName&&(c.find(e=>e===t.periodName)?e[t.periodName].push(t):(c.unshift(t.periodName),e[t.periodName]=[t])),e),e?{all:null==o?void 0:o.comments}:{}),periods:e?["all",...c]:c}}},83736:(e,t,s)=>{s.d(t,{u:()=>d});var n=s(6029),l=s(21377),r=s(76356),i=s(55729),a=s(65789),o=s(62859);let d=()=>{let{event:e}=(0,i.useContext)(o.y$);return void 0!==e.detailId&&1!==e.detailId?null:(0,n.jsxs)(n.Fragment,{children:[e.status.type!==l.XUj.NotStarted&&(0,n.jsx)(a.Zp,{isInverseDesktop:!0,children:(0,n.jsx)(r.az,{h:"[136px]"})}),(0,n.jsx)(r.az,{h:"4xl",hideBelow:"md",br:"lg",bg:"surface.s2"})]})}},85009:(e,t,s)=>{s.d(t,{d:()=>_});var n=s(6029),l=s(21377),r=s(89875),i=s(76356),a=s(99064),o=s(55729),d=s(947),c=s(494),u=s(45860),x=s(65789),h=s(76868),m=s(42621),p=s(55938),j=s(32523),g=s(4967),y=s(54409),v=s(1815),f=s(61836);let b=e=>{let{count:t,isPositive:s}=e,l=s?y.URl:y.fHS;return(0,n.jsxs)(i.so,{border:"1px solid {colors.neutrals.nLv4}",align:"center",p:"xs",h:"xl",br:"xs",gap:"xs",children:[(0,n.jsx)(l,{width:16,height:16,fill:s?"success.default":"error.default"}),(0,n.jsx)(i.az,{textStyle:"assistive.default",color:"neutrals.nLv3",children:t})]})},C=e=>{let{channel:t}=e;return(0,n.jsx)(i.az,{textStyle:"display.small",color:t.link?"primary.default":"neutrals.nLv1",truncate:!0,children:t.name})},w=e=>{let{channel:t}=e,s=(0,v.e)(()=>(0,f.ke)({action:"impression",location:"event_details",type:"banner_channel_".concat(t.id)}),{delay:500,sendInterval:30*g.Z2});return t.link?(0,n.jsx)(r.Mz,{href:t.link,target:"_blank",rel:"noopener",overflow:"hidden",onClick:()=>{(0,f.ke)({action:"click",location:"event_details",type:"banner_channel_".concat(t.id)})},children:(0,n.jsxs)(i.so,{ref:s,align:"center",gap:"xs",children:[(0,n.jsx)(C,{channel:t}),(0,n.jsx)(i.az,{h:"lg",w:"lg",children:(0,n.jsx)(y.HW5,{h:16,w:16})})]})}):(0,n.jsx)(C,{channel:t})};function S(e){let{channelId:t,type:s,eventId:r}=e,{data:a}=(0,u.Ay)(l.RMf.eventChannelVotes(t,s,r));return a?(0,n.jsxs)(i.so,{px:"lg",py:"sm",align:"center",justify:"space-between",gap:"xs",children:[(0,n.jsxs)(i.so,{grow:1,align:"center",overflow:"hidden",gap:"sm",children:[(0,n.jsx)(i.az,{w:"xl",h:"xl",children:(0,n.jsx)(y.oIR,{w:24,h:24,fill:"onSurface.nLv1"})}),(0,n.jsx)(w,{channel:a.tvChannelVotes.tvChannel})]}),(0,n.jsxs)(i.so,{w:"fit",align:"center",justify:"flex-end",gap:"sm",children:[(0,n.jsx)(b,{count:a.tvChannelVotes.upvote||0,isPositive:!0}),(0,n.jsx)(b,{count:a.tvChannelVotes.downvote||0})]})]}):(0,n.jsx)(j.E,{uniqueKey:"tv-channel-cl",my:"sm",height:24,br:"xs",animate:!0})}let k=e=>{let t=Date.now()/1e3;return e-604800t},A=(e,t)=>(null==e?void 0:e.alpha2)?(0,n.jsxs)(i.so,{align:"center",gap:"lg",children:[(0,n.jsx)("img",{style:{verticalAlign:"top"},src:(0,l.RHm)(e.alpha2),width:24,height:24,alt:e.name},e.alpha2),!t&&(0,n.jsx)(r.EY,{textTransform:"capitalize",children:e.name.replace("-"," ")})]}):null;function _(e){var t;let{eventId:s,type:r,startTimestamp:j,isInverseDesktop:g}=e,y=(0,d.A)(),v=(0,c.d4)(e=>{let{locale:t}=e;return t.geoIPAlpha2}),[f,b]=(0,o.useState)(v),{data:C,isLoading:w}=(0,u.Ay)(l.RMf.eventCountryChannels(r,s)),_=(0,o.useMemo)(()=>(null==C?void 0:C.countryChannels)?Object.keys(null==C?void 0:C.countryChannels).map(e=>({alpha2:e,name:y.formatMessage({id:(0,p.K_)(e)})})).sort((e,t)=>e.name>t.name?1:-1):[],[null==C?void 0:C.countryChannels]);if((0,o.useEffect)(()=>{b(v)},[v]),!(null==C?void 0:C.countryChannels)&&!w||void 0===j||!k(j))return null;let T=f&&!!(null==C||null==(t=C.countryChannels[f])?void 0:t.length);return(0,n.jsx)(m.q,{persist:!0,children:(0,n.jsxs)(x.Zp,{isInverseDesktop:g,isNewCard:!0,children:[(0,n.jsx)(x.Zp.Header,{titleId:"tv_channels",variant:"left-aligned",actionComponent:v&&(0,n.jsx)(a.ms,{items:_,renderItem:A,initialSelectedItem:{alpha2:v,name:y.formatMessage({id:(0,p.K_)(v)})},onSelectedItemChange:e=>{var t;return b(null==(t=e.selectedItem)?void 0:t.alpha2)},alignRight:!0})}),(0,n.jsx)(i.az,{py:"sm",children:T?C.countryChannels[f].map(e=>(0,n.jsx)(S,{type:r,channelId:e,eventId:s},e)):(0,n.jsx)(h.p,{graphic:"no-tv-events",descriptionMessageId:"tv_channels_no_votes"})})]})})}},85261:(e,t,s)=>{s.d(t,{v:()=>C});var n=s(6029),l=s(33144),r=s(21377),i=s(89875),a=s(76356),o=s(93338),d=s(99064),c=s(90248),u=s(45860),x=s(65789),h=s(26331),m=s(84942),p=s(7309);function j(){return(0,n.jsx)(x.Zp,{isNewCard:!0,variant:"mobile-only",children:(0,n.jsx)("div",{style:{height:272}})})}var g=s(55729),y=s(41735);let v=[0,.35,.55,.8,1],f=e=>{let{typeKey:t,teamId:s,distributions:r}=e,d="scoredGoals"===t?{message:"details.scored",color:"colors.status.success.default"}:{message:"details.conceded",color:"colors.status.error.default"},u=Math.max(...r.periods.map(e=>{var s;return null!=(s=e[t])?s:0})),x=function(e,t){let s=(0,g.useContext)(y.ThemeContext),n=function(e){let t=[0];if(e<4)for(let s=1;s<=e;s++)t.push(s);else{let s=Math.floor(e/4),n=e%4;for(let e=1;e<=4;e++){for(let n=0;nnull==e?void 0:e[t],s.colors);return function(e){let t,r=n[e];return 0===r?s.setAlpha(s.colors.neutral.default,.75):s.setAlpha(l,v[r])}}(t,u);return(0,n.jsxs)(a.so,{align:"center",mb:"2xs",children:[(0,n.jsxs)(a.so,{grow:1,justify:"space-between",align:"center",mr:"sm",children:[(0,n.jsxs)(a.az,{children:[(0,n.jsx)(l.p,{id:s,size:24,style:{verticalAlign:"middle",display:"inline-block"}}),(0,n.jsx)(i.EY,{ml:"sm",textStyle:"table.medium",children:(0,n.jsx)(c.A,{id:d.message})})]}),(0,n.jsx)(i.EY,{display:"block",textStyle:"display.small",style:{color:o.S.var(d.color)},children:r[t]})]}),r.periods.map((e,s)=>{var l;let r;0===s?r="scoredGoals"===t?{borderTopLeftRadius:4}:{borderBottomLeftRadius:4}:5===s&&(r="scoredGoals"===t?{borderTopRightRadius:4}:{borderBottomRightRadius:4});let o=null!=(l=e[t])?l:0,d=x(o);return(0,n.jsx)(a.az,{alignSelf:"center",h:"xl",w:"xl",pt:"xs",pb:"2xs",mr:2===s?"2xs":void 0,textAlign:"center",style:{...r,backgroundColor:d},children:(0,n.jsx)(i.EY,{textStyle:"display.small",color:"surface.s1",textAlign:"center",children:o})},e.id)})]})},b=e=>{var t,s;let{event:l,home:r,away:o,overall:d=!1}=e,u=(0,h.A)(),x=(0,p.w)(l.tournament),j=r.find(e=>d?"overall"===e.type:"home"===e.type),g=o.find(e=>d?"overall"===e.type:"away"===e.type);return j&&g?(0,n.jsxs)(a.az,{p:"lg",pb:"sm",children:[(0,n.jsx)(f,{typeKey:"scoredGoals",teamId:l.homeTeam.id,distributions:j}),(0,n.jsx)(f,{typeKey:"concededGoals",teamId:l.awayTeam.id,distributions:g}),(0,n.jsx)(a.az,{h:"lg"}),(0,n.jsx)(f,{typeKey:"scoredGoals",teamId:l.awayTeam.id,distributions:g}),(0,n.jsx)(f,{typeKey:"concededGoals",teamId:l.homeTeam.id,distributions:j}),(0,n.jsx)(a.az,{position:"relative",h:"lg",children:(0,n.jsx)(a.az,{position:"absolute",w:"[150px]",top:"0",right:"-2xs",children:(0,n.jsx)(i.EY,{textStyle:"table.medium",color:"neutrals.nLv3",children:(0,n.jsxs)(a.so,{justify:"space-between",children:[(0,n.jsx)(a.az,{position:"relative",left:"-xs",children:"00'"}),(0,n.jsx)(a.az,{position:"relative",left:"-xs",children:"15'"}),(0,n.jsx)(a.az,{position:"relative",left:"-2xs",children:"30'"}),(0,n.jsx)(a.az,{children:"45'"}),(0,n.jsx)(a.az,{position:"relative",left:"-2xs",children:"60'"}),(0,n.jsx)(a.az,{position:"relative",left:"-xs",children:"75'"}),(0,n.jsx)(a.az,{position:"relative",left:"-xs",children:"90'"})]})})})}),(0,n.jsx)(i.P,{children:(0,n.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(c.A,{id:"details.goalDistribution",values:{homeTeam:(0,m.s)(l.homeTeam,u),awayTeam:(0,m.s)(l.awayTeam,u),homeMatchesCount:j.matches,awayMatchesCount:g.matches,tournament:x,hasSeason:!!(null==(t=l.season)?void 0:t.year),season:null==(s=l.season)?void 0:s.year}})})})]}):null};function C(e){var t,s;let{event:l}=e,i=null==(t=l.tournament.uniqueTournament)?void 0:t.id,o=null==(s=l.season)?void 0:s.id,{data:h,isLoading:m}=(0,u.Ay)(i&&o?r.cWY.goalDistributions(l.homeTeam.id,i,o):null),{data:p,isLoading:g}=(0,u.Ay)(i&&o?r.cWY.goalDistributions(l.awayTeam.id,i,o):null);return m||g?(0,n.jsx)(j,{}):h&&p?(0,n.jsxs)(x.Zp,{isNewCard:!0,variant:"mobile-only",children:[(0,n.jsx)(x.Zp.Header,{titleId:"football_goal_distribution"}),(0,n.jsxs)(d.tU,{variant:"quaternary",children:[(0,n.jsxs)(a.az,{pl:"lg",pt:"sm",children:[(0,n.jsx)(d.tU.Tab,{children:(0,n.jsx)(c.A,{id:"basic.all"})}),(0,n.jsx)(d.tU.Tab,{children:(0,n.jsx)(c.A,{id:"details.homeAway"})})]}),(0,n.jsx)(d.tU.Panel,{children:(0,n.jsx)(b,{event:l,home:h.goalDistributions,away:p.goalDistributions,overall:!0})}),(0,n.jsx)(d.tU.Panel,{children:(0,n.jsx)(b,{event:l,home:h.goalDistributions,away:p.goalDistributions})})]})]}):null}},85625:(e,t,s)=>{s.d(t,{D:()=>n});var n=function(e){return e.MainScreen="main_screen",e.EventPage="event_page",e.TournamentPage="league_screen",e.DetailsTab="details",e.MediaTab="media",e}({})},90890:(e,t,s)=>{s.d(t,{A:()=>c});var n=s(6029),l=s(76356),r=s(99064),i=s(71024),a=s.n(i),o=s(58047);let d=a()(()=>Promise.all([s.e(294),s.e(7752)]).then(s.bind(s,77752)),{loadableGenerated:{webpack:()=>[77752]},ssr:!1});function c(){return(0,n.jsx)(r.tU.Panel,{tabKey:o.x.PlayByPlay,children:(0,n.jsx)(l.az,{pr:"sm",children:(0,n.jsx)(d,{})})})}},91631:(e,t,s)=>{s.d(t,{PW:()=>f,Q:()=>g,q1:()=>v});var n=s(21377),l=s(4967),r=s(55729),i=s(494),a=s(62859),o=s(5546),d=s(10794),c=s(86679),u=s(95519),x=s(11791),h=s(62213),m=s(2294),p=s(80925);let j=30*l.Z2,g=()=>{let e=(0,i.d4)(d.LQ),{event:t}=(0,r.useContext)(a.y$),s=(0,i.d4)((0,m.Ul)(t)),l=t.status.type===n.XUj.InProgress,x=(0,o.F0)(t),g=(0,o.ks)(t),[y,v]=(0,p.Z)(x,l),[f,b]=(0,p.Z)(g,l),C=(0,i.d4)(m.fq),w=e&&!C&&!h.fe.includes(e),{hasProviderOdds:S,hasFallbackProviderOdds:k,hasOddsTabProviderOdds:A,hasOddsTabFallbackProviderOdds:_,hasWinningOdds:T,hasFallbackProviderWinningOdds:E}=(0,c.A)({hasProviderOdds:{route:y?n.bnp.featuredOdds(t.id,y):void 0,skipCheck:!s||!y},hasFallbackProviderOdds:{route:v?n.bnp.featuredOdds(t.id,v):void 0,skipCheck:!s||!v},hasOddsTabProviderOdds:{route:f?n.bnp.allOdds(t.id,f):void 0,skipCheck:!s||!y||!w},hasOddsTabFallbackProviderOdds:{route:b?n.bnp.allOdds(t.id,b):void 0,skipCheck:!s||!v||!w},hasWinningOdds:{route:y?n.bnp.winningOdds(t.id,y):void 0,skipCheck:!s||!y},hasFallbackProviderWinningOdds:{route:y!==h.u3?n.bnp.winningOdds(t.id,h.u3):void 0,skipCheck:!s||!v}},[t.id,s,w,y,v],{refreshInterval:(0,u.c)(t)?j:void 0});return s?{hasFeaturedOdds:!!(S||k),hasOddsTab:!!(A||_),hasWinningOdds:!!(T||E)}:{hasFeaturedOdds:!1,hasOddsTab:!1}},y=(e,t)=>{let{event:s}=(0,r.useContext)(a.y$),l=s.status.type===n.XUj.InProgress,o=(0,i.d4)(m.K),d={};null==t||t.forEach(t=>{d["provider".concat(t.oddsFromId)]={route:n.bnp.allOdds(s.id,t.oddsFromId),skipCheck:!e},t.fallbackProviderId&&(d["provider".concat(t.fallbackProviderId)]={route:n.bnp.allOdds(s.id,t.fallbackProviderId),skipCheck:!e})});let x=(0,c.A)(d,[s.id,e,l,null==t?void 0:t.length],{refreshInterval:(0,u.c)(s)?j:void 0}),h=(null!=t?t:[]).map(e=>x["provider".concat(e.oddsFromId)]||x["provider".concat(e.fallbackProviderId)]?1:0).reduce((e,t)=>e+t,0);return e&&h>=(null!=o?o:1)},v=()=>{let{event:e}=(0,r.useContext)(a.y$);return y((0,i.d4)(m.fq),(0,x.tV)(e.status.type===n.XUj.InProgress))},f=()=>{let{event:e}=(0,r.useContext)(a.y$);return y((0,i.d4)(m._I),(0,x.Qe)(e.status.type===n.XUj.InProgress))}},91941:(e,t,s)=>{s.d(t,{A:()=>h});var n=s(6029),l=s(99064),r=s(71024),i=s.n(r),a=s(55729),o=s(65789),d=s(58047),c=s(17803);let u=i()(()=>Promise.resolve().then(s.bind(s,5884)),{loadableGenerated:{webpack:()=>[5884]},ssr:!1}),x=i()(()=>s.e(6523).then(s.bind(s,86523)),{loadableGenerated:{webpack:()=>[86523]},ssr:!1});function h(e){var t;let{event:s,isLive:r}=e,[i,h]=(0,a.useState)();return(0,n.jsx)(l.tU.Panel,{tabKey:d.x.Media,children:(0,n.jsxs)(o.BU,{children:[(0,n.jsx)(c.m2,{eventId:s.id,tournamentId:s.tournament.id,roundId:null==(t=s.roundInfo)?void 0:t.round,type:"single",screen:"mobile",isLive:r,location:c.D_.MediaTab,getEventHighlightId:h}),r&&(0,n.jsx)(o.Zp,{isInverseDesktop:!0,children:(0,n.jsx)(x,{eventId:s.id,useNativeFullscreen:!0})}),(0,n.jsx)(u,{eventId:s.id,hideTitle:!0,eventHighlightId:i})]})})}},92209:(e,t,s)=>{s.d(t,{i:()=>T});var n=s(6029),l=s(21377),r=s(76356),i=s(55729),a=s(62859),o=s(73365),d=s(1840);let c=e=>{let{providers:t}=e;return(0,n.jsx)(r.az,{p:"sm",children:null==t?void 0:t.map(e=>(0,n.jsx)(r.az,{h:"xl",w:"100%"},e.provider.id))})};var u=s(65789),x=s(52736),h=s(49821);let m=e=>{let{providers:t,placement:s,odds:l}=e;return(0,n.jsx)(n.Fragment,{children:Object.keys(l).map(e=>(0,n.jsxs)(u.Zp,{variant:"desktop"===s?"mobile-only":void 0,isInverseDesktop:!0,children:[""!==e&&(0,n.jsx)(r.az,{h:"3xl",pt:"lg",px:"lg",textStyle:"display.micro",truncate:!0,color:"neutrals.nLv1",borderBottom:"1px solid {colors.neutrals.nLv4}",children:e}),(0,n.jsx)(r.az,{p:"sm",w:"100%",overflow:"hidden",children:null==t?void 0:t.map((t,r)=>{let i=l[e][r];return i?(0,n.jsx)(x.E,{countryOddsProvider:t,market:i,marketName:i.marketName,secondary:"mobile"===s,clickType:h.jF.Additional},t.provider.id):null})})]},e))})};var p=s(25811),j=s(28600);let g=e=>{let{selectionOptions:t,selected:s,setSelected:l}=e,r=Object.keys(t);return(null==r?void 0:r.length)?(0,n.jsx)(p.n,{variant:"secondary",activeTabKey:s.marketGroup,onChange:()=>{},onTabClick:e=>l({marketGroup:e,marketPeriod:t[e][0]}),tabs:r.map(e=>({tabKey:e,tabValue:(0,n.jsx)(j.f,{id:e})}))}):null};var y=s(87763);let v=e=>{let{selectionOptions:t,selected:s,setSelected:l}=e,r=t[s.marketGroup];return(null==r?void 0:r.length)?(0,n.jsx)(p.n,{variant:"tertiary",activeTabKey:s.marketPeriod,onChange:()=>{},onTabClick:e=>l({marketGroup:s.marketGroup,marketPeriod:e}),tabs:r.map(e=>({tabKey:e,tabValue:(0,n.jsx)(y.fP,{id:e})}))}):null},f=e=>{let{availableMarkets:t,isLoading:s,...l}=e;if(s)return(0,n.jsx)(r.az,{h:"10xl",w:"100%"});let i={};return t.forEach(e=>{i[e.marketGroup]||(i[e.marketGroup]=[]),i[e.marketGroup].includes(e.marketPeriod)||i[e.marketGroup].push(e.marketPeriod)}),(0,n.jsxs)(r.BJ,{gap:"sm",p:"sm",bg:"surface.s1",children:[(0,n.jsx)(g,{selectionOptions:i,...l}),(0,n.jsx)(v,{selectionOptions:i,...l})]})};var b=s(494),C=s(79263),w=s(2294);let S=(e,t,s)=>{let n={};null==e||e.forEach((e,s)=>{var l;null==(l=e.markets)||l.forEach(e=>{let l=e.marketGroup;n[l]||(n[l]={});let r=e.marketPeriod;n[l][r]||(n[l][r]={});let i=e.choiceGroup||"";n[l][r][i]||(n[l][r][i]=[]);let a=n[l][r][i][s];a&&(a.isLive===t||e.isLive!==t)||(n[l][r][i][s]=e)})});let l=[];return Object.keys(n).forEach(e=>{Object.keys(n[e]).forEach(t=>{Object.keys(n[e][t]).forEach(r=>{let i=n[e][t][r];(!s||i.filter(Boolean).length>=s)&&l.push({choiceGroup:r,marketGroup:e,marketPeriod:t})})})}),{groupedOdds:n,availableMarkets:l}},k=(e,t,s)=>{var n;let[l,r]=(0,i.useState)({marketGroup:"1X2",marketPeriod:"Full time"}),a=(0,b.d4)(w.K),{data:o,error:d,isLoading:c}=(0,C.j)(e,t,s),{groupedOdds:u,availableMarkets:x}=S(null==o?void 0:o.providerOdds,s,a),h=null!=(n=x.find(e=>e.marketGroup===l.marketGroup&&e.marketPeriod===l.marketPeriod))?n:x[0];return(0,i.useEffect)(()=>{h&&r(e=>e.marketPeriod===h.marketPeriod&&e.marketGroup===h.marketGroup?e:h)},[null==h?void 0:h.marketPeriod,null==h?void 0:h.marketGroup]),{groupedOdds:u,availableMarkets:x,selected:l,setSelected:r,error:d,isLoading:c,oddsMayDiffer:null==o?void 0:o.oddsMayDiffer}};var A=s(58673),_=s(38136);let T=e=>{var t;let{providers:s,placement:u}=e,{event:x}=(0,i.useContext)(a.y$),h=x.status.type===l.XUj.InProgress,{availableMarkets:p,groupedOdds:j,selected:g,setSelected:y,isLoading:v}=k(s,x.id,h),b=null==j||null==(t=j[g.marketGroup])?void 0:t[g.marketPeriod];return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f,{availableMarkets:p,selected:g,setSelected:y,placement:u,isLoading:v}),(0,n.jsxs)(r.so,{direction:"column",gap:"sm",p:"sm",pt:"desktop"===u?"0":"sm",children:[(0,n.jsx)(r.so,{justify:"flex-end",children:(0,n.jsx)(_.V,{})}),b?(0,n.jsx)(m,{providers:s,placement:u,odds:b,selected:g}):v?(0,n.jsx)(c,{providers:s}):(0,n.jsx)(o.c,{messageId:"odds_currently_unavailable"}),(0,n.jsx)(A._,{}),(0,n.jsx)(d.z,{provider:s[0]})]})]})}},94041:(e,t,s)=>{s.d(t,{A:()=>c});var n=s(6029),l=s(21377),r=s(99064),i=s(71024),a=s.n(i),o=s(58047);let d=a()(()=>Promise.all([s.e(7871),s.e(8876)]).then(s.bind(s,28876)),{loadableGenerated:{webpack:()=>[28876]},ssr:!1});function c(e){let{event:t}=e,s=t.status.type===l.XUj.InProgress;return(0,n.jsx)(r.tU.Panel,{tabKey:o.x.Scorecard,children:(0,n.jsx)(d,{event:t,isLive:s})})}},94704:(e,t,s)=>{s.d(t,{GY:()=>i,oY:()=>a});var n=s(73088),l=s(30479);let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=new Date(1e3*e);return s.setHours(s.getHours()+t),s.toISOString().replace(/-|:|\.\d+/g,"")},i=(e,t,s)=>{let n=new URLSearchParams({action:"TEMPLATE",text:e,dates:"".concat(r(t),"/").concat(r(t,2)),details:s});return"".concat("https://calendar.google.com/calendar/render","?").concat(n.toString())},a=(e,t)=>{let s=e.tournament.category.sport.slug;return"https://www.sofascore.com".concat(n.z.getTranslatedRoute(t,"event",{name:e.slug,id:e.customId,sport:s},(0,l.HL)({id:e.id})).route)}},95868:(e,t,s)=>{s.d(t,{MB:()=>a,Hw:()=>o,hT:()=>c,R5:()=>d});var n=s(61836),l=s(85625);let r="___sofa-wsc___",i=e=>{let t=new RegExp("".concat(r,"(.*?)").concat(r)),s=e.match(t);return s?s[1]:""},a=e=>{let{type:t,location:s,tournamentId:n,roundId:l,eventId:i,screen:a}=e;return"".concat(r).concat(a,"--").concat(t,"--").concat(s,"--").concat(n,"--").concat(l,"--").concat(i).concat(r)},o=e=>{let[t,s,n,l,r,a]=i(e||"").split("--");return{screen:t,type:s,location:n,tournamentId:Number(l),roundId:"null"===r||"undefined"===r?null:Number(r),eventId:"null"===a||"undefined"===a?null:Number(a)}},d=e=>{let{screen:t,type:s,location:n,tournamentId:r,roundId:i,eventId:a}=o(e),d="Invalid WSC widget containerId: ".concat(e);if(e&&["single","multiple"].includes(s)&&["mobile","desktop"].includes(t)&&Object.values(l.D).includes(n)){if(isNaN(Number(r)));else if(i&&isNaN(Number(i)));else if(!(a&&isNaN(Number(a))))return!0}throw Error(d)},c=e=>{var t,s;let l=null==(t=e.detail)?void 0:t.eventData,r=(null==l?void 0:l.widget_id)||(null==l?void 0:l.origin_widget_id),i=null==(s=e.detail)?void 0:s.eventType;if(i&&r){let{eventId:e,tournamentId:t,location:s}=o(r);switch(i){case"widget_click":(0,n.kA)({id:e||t,location:s});break;case"story_exit":(0,n.G9)({id:e||t,location:s,timeOnScreen:l.content_duration_viewed})}}}},96675:(e,t,s)=>{s.d(t,{A:()=>d});var n=s(21377),l=s(494),r=s(5546),i=s(2294),a=s(80925),o=s(86679);function d(e){let t=(0,l.d4)(i.BF),s=(0,l.d4)((0,i.bS)(e)),d=(0,r.F0)(e),[c]=(0,a.Z)(d),u=e.tournament.id,x=e.tournament.category.sport.slug,h=t||!c||!s,{hasOdds:m,hasTopVoted:p}=(0,o.A)({hasOdds:{route:c?n.npy.recommendedPrematch(c,u):void 0,skipCheck:h},hasTopVoted:{route:c?n.npy.recommendedPrematchTopVoted(c,x):void 0,skipCheck:h}},[e.id,s,t,c,h]);return h?{hasRecommendedPrematchOdds:!1,hasRecommendedPrematchTopVotedOdds:!1}:{hasRecommendedPrematchOdds:!!m,hasRecommendedPrematchTopVotedOdds:!!p}}},98423:(e,t,s)=>{s.d(t,{e:()=>l.e,p:()=>n.p});var n=s(91603),l=s(33480)},98899:(e,t,s)=>{s.d(t,{D:()=>l});var n=s(21377);function l(e){return[n.QCR.AussieRules,n.QCR.Badminton,n.QCR.Basketball,n.QCR.TableTennis,n.QCR.Volleyball].includes(e)}},99397:(e,t,s)=>{s.d(t,{G:()=>l.A,t:()=>n.t});var n=s(91407),l=s(94400)}}]);