!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]="b60642ef-a2ac-40da-bc61-45f300fb6878",e._sentryDebugIdIdentifier="sentry-dbid-b60642ef-a2ac-40da-bc61-45f300fb6878")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[988],{14407:(e,t,i)=>{i.d(t,{I:()=>a});var n=i(6029),s=i(41735),r=i(94497);let o=s.default.span.withConfig({componentId:"sc-923226f3-0"})(["animation:"," 1s ease-in infinite;"],r.HI.fast),a=()=>(0,n.jsx)(o,{children:"'"})},24313:(e,t,i)=>{i.d(t,{M:()=>s,l:()=>r});var n=i(55729);let s=(0,n.createContext)({}),r=()=>(0,n.useContext)(s);s.displayName="EventCellContext"},37304:(e,t,i)=>{i.d(t,{Gi:()=>p,iV:()=>x,kG:()=>y,lx:()=>j,zV:()=>f});var n=i(6029),s=i(21377),r=i(4967),o=i(89875),a=i(76356),l=i(55729),c=i(14407),d=i(47146),u=i(62827);let f=e=>{let{time:t,status:i,currentPeriodStartTimestamp:n}=e;return i.type===s.XUj.InProgress&&"number"==typeof(null==t?void 0:t.initial)&&!u.p2.includes(i.code)&&!!(t.currentPeriodStartTimestamp||n)},h=e=>e.map(e=>"0".concat(e).slice(-2)).join(":"),m=e=>e.code===s.sum["1st extra"]||e.code===s.sum["2nd extra"]||e.code===s.sum.Overtime?"ET-":"";class x extends l.PureComponent{componentDidMount(){this.start(),document.addEventListener("visibilitychange",this.onVisibilityChange)}componentDidUpdate(e){let{referenceTime:t}=this.props;t!==e.referenceTime&&this.resetDelta()}componentWillUnmount(){this.stop(),document.removeEventListener("visibilitychange",this.onVisibilityChange)}resetDelta(){let{referenceTime:e,modifier:t}=this.props,i=Math.floor(Date.now()/1e3);this.setState({delta:t<0?e-i:i-e})}tick(){if(1>=Math.abs(this.props.modifier)){let e=this.state.delta+this.props.modifier;this.setState({delta:e})}else this.resetDelta()}start(){if(this.stop(),Math.abs(this.props.modifier)>1){let e=Math.floor(Date.now()/1e3)-this.props.referenceTime,[,,,t]=(0,r.U1)(e);this.timeoutIntervalId=window.setTimeout(()=>{this.intervalId=window.setInterval(this.tick,1e3*this.props.modifier),this.tick()},(60-t+1)*1e3)}else this.intervalId=window.setInterval(this.tick,1e3)}stop(){window.clearInterval(this.intervalId),window.clearTimeout(this.timeoutIntervalId)}onVisibilityChange(){"visible"===document.visibilityState&&(this.resetDelta(),this.setState({isPageHidden:!1}),this.start()),"hidden"===document.visibilityState&&(this.stop(),this.setState({isPageHidden:!0}))}render(){if(this.state.isPageHidden)return"-";let e=this.state.delta,t=(0,r.U1)(e),i=h(t.slice(1));return this.props.children({timeParts:t,formattedTime:i,delta:e})}constructor(e){if(super(e),"function"!=typeof e.children&&(0,s.Cu5)())throw Error("Timekeeper component requires prop children as a function!");let t=Math.floor(Date.now()/1e3),i=this.props.modifier<0?e.referenceTime-t:t-e.referenceTime;this.state={delta:i,isPageHidden:!1},this.tick=this.tick.bind(this),this.start=this.start.bind(this),this.stop=this.stop.bind(this),this.resetDelta=this.resetDelta.bind(this),this.onVisibilityChange=this.onVisibilityChange.bind(this)}}function p(e){let{startTimestamp:t}=e;return(0,n.jsx)(x,{referenceTime:t,modifier:-1,children:e=>{let{timeParts:i,delta:s}=e,[r,o,a,l]=i,c="";return s<0?"-":r>=1?(0,n.jsx)(d.v,{timestamp:1e3*t,isAbsoluteTime:!0}):h([o,a,l])}})}function g(e){let{startTimestamp:t,children:i,modifier:s=1}=e;return(0,n.jsx)(x,{referenceTime:t,modifier:s,children:"function"==typeof i?i:e=>{let{delta:t,formattedTime:i}=e;return t<0?null:i}})}function y(e){let{time:t,status:i,currentPeriodStartTimestamp:s}=e;if("number"!=typeof(null==t?void 0:t.initial))return null;let r=t.currentPeriodStartTimestamp||s;if(!r)return null;let o=r-t.initial;return(0,n.jsx)(g,{startTimestamp:o,modifier:60,children:e=>{let{delta:n}=e;if(t.max&&n>t.max)return Math.floor(t.max/60)+"+";let s=0===n?1:Math.ceil(n/60),r=m(i);return s>=0?r+s:null}})}let v={period1:"injuryTime1",period2:"injuryTime2",extra1:"injuryTime3",extra2:"injuryTime4"};function j(e){let{time:t,status:i,currentPeriodStartTimestamp:s,lastPeriod:l,hasMinuteBlinker:u}=e;if(!f({time:t,status:i,currentPeriodStartTimestamp:s}))return null;let h=l?t[v[l]]:void 0,m=(t.currentPeriodStartTimestamp||s)-t.initial;return(0,n.jsx)(g,{startTimestamp:m,children:e=>{let{timeParts:i,delta:s}=e;if(s<0)return null;let[l,f,x,p]=i;if(l>0)return(0,n.jsx)(d.v,{timestamp:1e3*m});let g="",y="",v=t.max,j=!1;if(v&&s>v){let e=s-v;if(e>r.av)j=!0,y=Math.floor(v/60)+"+";else if(e>0&&h){p=Math.floor(s%60),x=Math.floor(s/60),f=Math.floor(s/3600);let e=x<10?"0".concat(x):"".concat(x),t=p<10?"0".concat(p):"".concat(p);y="".concat(g+e,":").concat(t)}else{g+=Math.floor(v/60)+"'+",p=Math.floor(e%60),x=Math.floor(e/60)%60,f=Math.floor(e/3600)%24;let t=x<10?"0".concat(x):"".concat(x),i=p<10?"0".concat(p):"".concat(p);y="".concat(g+t,":").concat(i)}}else{let e=(x=60*f+x)<10?"0".concat(x):"".concat(x),t=p<10?"0".concat(p):"".concat(p);y="".concat(g+e,":").concat(t)}return(0,n.jsxs)(a.so,{justify:"center",children:[y,h&&(0,n.jsx)(a.so,{align:"center",bg:"status.liveHighlight",px:"sm",ml:"xs",br:"md",children:(0,n.jsxs)(o.Ym,{textStyle:"assistive.default",color:"status.live",children:["+",h,"'"]})}),u&&!j&&(0,n.jsx)(c.I,{})]})}})}},60988:(e,t,i)=>{i.d(t,{n6:()=>es,MC:()=>g.M,lv:()=>g.l});var n=i(6029),s=i(21377),r=i(4967),o=i(99064),a=i(55729),l=i(90510),c=i(90248),d=i(14407),u=i(62859),f=i(73022),h=i(71046),m=i(31105),x=i(87763),p=i(37394),g=i(24313);let y=(e,t,i)=>i?(0,h.vJ)(e.tournament.category.sport.slug)?"".concat(i," ").concat(t):"".concat(t," (").concat(i,")"):t,v=e=>{let t=e.status.type===s.XUj.InProgress,i=e.crowdsourcingDataDisplayEnabled,n=(0,p.sw)(e)||e.isAwarded,r=(0,p.ux)(e);return t?i?"sofaSingles.crowdsourcingLive":"sofaSingles.live":r||e.isAwarded||!n?"onSurface.nLv3":"sofaSingles.live"};function j(e){let{isShortDate:t}=e,{event:i}=(0,a.useContext)(u.y$),j=r.pp(i.startTimestamp),w=j.getTime(),S=i.status.type===s.XUj.Finished,b=i.status.type===s.XUj.InProgress,C=i.status.type===s.XUj.NotStarted,I=i.status.code===s.sum.Halftime||i.status.code===s.sum["Extra time halftime"],T=(0,p.sw)(i)||i.isAwarded,k=(0,p.ux)(i),D=i.tournament.category.sport.slug===s.QCR.Football,P=i.crowdsourcingDataDisplayEnabled,U=i.status.type===s.XUj.WillContinue,A=(0,h.Sw)(i),L=v(i),{statusTimeOnly:M}=(0,g.l)(),R=(0,x.c8)((0,p.B_)(i),!0);return(0,n.jsxs)(o.az,{textAlign:"center",grow:0,shrink:0,mx:"sm",basis:56,title:R.toString(),children:[(0,n.jsx)(o.EY,{fontSize:12,color:"onSurface.nLv3",as:"bdi",children:function(){if(r.cK(j)||M)return(0,n.jsx)(l.ib,{value:w});let e=t?r.or.date:r.or.fullDate;return(0,n.jsx)(l.XU,{value:w,...e})}()}),(0,n.jsx)(m.c,{eventId:i.id,changeKey:"status",align:"center",children:(0,n.jsx)(o.EY,{block:!0,ellipsis:!0,w:56,fontSize:12,align:"center",as:"bdi",color:L,children:function(){if(M&&C&&!T)return null;if(b){if(P)return(0,n.jsx)(c.A,{id:"live"});if(i.status.code===s.sum["Awaiting extra time"])return(0,n.jsx)(c.A,{id:"awaitingExtraTime.short"});if(i.status.code===s.sum["Awaiting penalties"])return(0,n.jsx)(c.A,{id:"awaitingPenalties.short"});if([s.sum.Penalties,s.sum["Penalties alt."]].includes(i.status.code))return(0,n.jsx)(c.A,{id:"penalties"});if(i.time&&D&&!I)return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.kG,{time:i.time,status:i.status,currentPeriodStartTimestamp:i.currentPeriodStartTimestamp}),(0,n.jsx)(d.I,{})]})}return k?(0,n.jsx)(c.A,{id:"final_result_only_short"}):i.isAwarded?(0,n.jsx)(c.A,{id:"awarded"}):(b||S||T||U)&&R?y(i,R,A):r.cK(j)?"-":(0,n.jsx)(l.ib,{value:j.getTime()})}()})})]})}var w=i(49031),S=i(89875),b=i(81278),C=i(494),I=i(41735),T=i(54409),k=i(19451),D=i(50346),P=i(8703),U=i(98368),A=i(82169),L=i(2294),M=i(10794),R=i(62827),E=i(87473),z=i(7360),X=i(947),Q=i(21501);let _=e=>{let{text:t,width:i,ellipsis:s}=e;return i?(0,n.jsx)("span",{style:{display:"inline-block",width:i-1,overflow:"hidden",textOverflow:s?"ellipsis":"clip",whiteSpace:"nowrap",direction:s?"rtl":void 0},children:t}):null};function Y(e){let{text:t,...i}=e,s=(0,a.useRef)(null),r=(0,Q.uc)(s)||0,[l,c]=i.font?i.font.split("."):["body","medium"],d=function(e,t){let i="get-text-width-div-id",n=document.createElement("div");n.style.position="absolute",n.style.top="-10000px",n.style.left="-10000px",n.style.font=t,n.id=i,n.innerHTML=e,document.body.appendChild(n);let s=document.getElementById(i),r=s.offsetWidth;return document.body.removeChild(s),r}(t,o.Il.font[l][c]);return(0,n.jsx)(o.EY,{...i,children:(0,n.jsx)("div",{style:{display:"inline-block",width:"100%"},ref:s,children:d{let{event:t}=e,i=t.status.type===s.XUj.InProgress,n=t.lastPeriod?G[t.lastPeriod]:null;return[i&&t.homeTeam.id===t.currentBattingTeamId&&n===N()(B()(t.homeScore.innings)),i&&t.awayTeam.id===t.currentBattingTeamId&&n===N()(B()(t.awayScore.innings))]},O=e=>{let t=W()(e),i=N()(t),n=(null==i?void 0:i.overs)||0;return[(null==i?void 0:i.score)||0,(null==i?void 0:i.wickets)||0,(0,$.M)(n,1)]};function q(e){let{event:t}=(0,a.useContext)(u.y$),i=(0,P.c5)(t),r=t.status.type===s.XUj.NotStarted,l=t.status.type===s.XUj.InProgress,c=t.winnerCode===s.Jfo.Left,d=t.winnerCode===s.Jfo.Right,f=void 0===t.winnerCode;if(i!==s.QCR.Cricket||r)return null;let[h,x]=J({event:t}),[p,g,y]=O(t.homeScore.innings),[v,j,w]=O(t.awayScore.innings),S=t.homeScore.display||0,b=t.awayScore.display||0,C=S>p||b>v,I=(0,R.sw)(t)?0===p&&p0&&"".concat(p).concat(g>=0&&g<10?"-".concat(g):""," (").concat(y,")"),C?(0,n.jsx)(o.az,{as:"strong",ml:"xs",children:S}):null]})}),(0,n.jsx)(o.so,{justify:"flex-end",children:k?(0,n.jsx)(o.EY,{align:"right",pr:"sm",block:!0,children:"-"}):(0,n.jsxs)(m.c,{eventId:t.id,changeKey:"awayScore.display",textAlign:"end",mr:"sm",color:l&&x?"sofaSingles.live":d||f?"onSurface.nLv1":"onSurface.nLv3",flex:"1 1 16px",maxW:"fit-content",children:[x&&D," ",v>0&&"".concat(v).concat(j>=0&&j<10?"-".concat(j):""," (").concat(w,")"),C?(0,n.jsx)(o.az,{as:"strong",ml:"xs",children:b}):null]})})]})}function Z(e){let{event:t}=(0,a.useContext)(u.y$),[i,r]=J({event:t}),l=(0,P.c5)(t),c=t.status.type===s.XUj.NotStarted,d=t.status.type===s.XUj.InProgress,f=t.winnerCode===s.Jfo.Left,h=t.winnerCode===s.Jfo.Right,x=void 0===t.winnerCode;if(l!==s.QCR.Cricket||c)return null;let p=t.homeScore.display||"-",g=t.awayScore.display||"-",y="-"!==p||"-"!==g;return(0,n.jsxs)(o.az,{pr:"sm",...e,children:[y?(0,n.jsx)(o.az,{mb:"xxs",children:(0,n.jsx)(m.c,{eventId:t.id,changeKey:"homeScore.display",textAlign:"end",color:d&&i?"sofaSingles.live":f||x?"onSurface.nLv1":"onSurface.nLv3",children:p})}):null,y?(0,n.jsx)(o.az,{children:(0,n.jsx)(m.c,{eventId:t.id,changeKey:"awayScore.display",textAlign:"end",color:d&&r?"sofaSingles.live":h||x?"onSurface.nLv1":"onSurface.nLv3",children:g})}):null]})}let ee=(0,I.default)(o.so).withConfig({componentId:"sc-929a8fc9-0"})(["align-items:center;position:relative;color:",";&.active{background-color:",";}"],e=>e.theme.colors.onSurface.nLv1,e=>e.theme.colors.neutral.highlight),et=[s.QCR.Basketball,s.QCR.IceHockey,s.QCR.AmericanFootball,s.QCR.Floorball,s.QCR.AussieRules],ei=[s.QCR.Volleyball,s.QCR.Baseball,s.QCR.BeachVolley,s.QCR.Badminton],en=function(e){let{children:t}=e;return"function"!=typeof t?null:(0,n.jsx)(o.az,{flex:"0 1 auto",mr:"md",children:(0,n.jsx)(o.EY,{as:"div",align:"center",ellipsis:!0,style:{overflow:"visible"},position:"relative",children:t()})})};function es(e){var t,i;let r=(0,g.l)(),{children:l,style:c,odds:d,isSelected:f,entity:h,incidents:m,isReferenceTeamId:x}=e,p=(0,b.useRouter)(),y=void 0===e.isShort?r.isShort:e.isShort,v=null!=(i=e.isNarrow)?i:r.isNarrow,S=void 0===e.isShortDate?r.isShortDate:e.isShortDate,I=void 0===e.hideIncidentIcons?r.hideIncidentIcons:e.hideIncidentIcons,{event:R}=(0,a.useContext)(u.y$),X=(0,C.d4)(M.LQ),Q=p.route===k.xW.Favorites,_=(0,P.c5)(R),Y=(0,C.d4)((0,L.Ul)(R)),H=r.showOdds&&Y,B=_===s.QCR.Cricket&&!Q,K=R.status.type===s.XUj.InProgress,N=R.status.type===s.XUj.Finished,V=K&&R.crowdsourcingDataDisplayEnabled,W=N&&R.crowdsourcingDataDisplayEnabled,$=_===s.QCR.AmericanFootball&&K&&(null==(t=R.tournament.uniqueTournament)?void 0:t.hasDownDistance),G=$&&(0,U.H_)(R.yardDistance),J=B||G,O=(0,w.TF)(R,X)?(0,n.jsx)(T.PEB,{fill:K?"sofaSingles.live":"neutral.default"}):void 0;return(0,n.jsxs)(ee,{bg:f?"surface.s2":void 0,className:"js-list-cell-target js-list-cell-target-".concat(R.id),isFinished:R.status.type===s.XUj.Finished,h:J?68:48,style:c,children:[B?(0,n.jsx)(o.az,{minW:"md",w:"md",h:"100%"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(A.kV,{eventId:R.id}),(0,n.jsx)(j,{isShortDate:S})]}),(0,n.jsx)(o.az,{mr:"sm",h:J?56:36,flex:"0 0 1px",bg:"onSurface.nLv4"}),(0,n.jsxs)(o.az,{grow:1,overflowX:"clip",minW:"0",children:[(0,n.jsxs)(o.so,{align:"center",children:[(0,n.jsx)(z.g,{isShort:y,entity:h}),H?(0,n.jsx)(D.ZK,{eventId:R.id,odds:d,sport:_,fallback:O}):(0,n.jsxs)(n.Fragment,{children:[I||R.isAwarded?null:(0,n.jsx)(function(e){let{incidents:t,sportSlug:i,isReferenceTeamId:r}=e,{event:l,leftTeam:c}=(0,a.useContext)(u.y$);return i!==s.QCR.Cricket&&t?(0,n.jsx)(o.so,{mr:"sm",alignSelf:(null==r?void 0:r(Number(c.id),l.id))?"flex-start":"flex-end",children:(0,w.t3)(i,t)}):null},{isReferenceTeamId:x,incidents:m,sportSlug:_}),V&&(0,n.jsx)(T.Mv5,{fill:"sofaSingles.crowdsourcingLive"}),O,W&&(0,n.jsx)(T.Mv5,{fill:"onSurface.nLv3",w:16}),(0,n.jsx)(er,{}),_===s.QCR.Cricket?(0,n.jsx)(q,{mr:l?void 0:"sm"}):h!==s.wNW.Player?(0,n.jsx)(eo,{isNarrow:v||ei.includes(_)}):null]}),$&&(0,n.jsx)(U.x8,{event:R}),H&&(0,n.jsx)(Z,{mr:l?void 0:"sm"}),!r.hideScores&&(0,n.jsx)(E.$,{})]}),B&&(0,n.jsx)(F,{event:R,isShortDate:S}),G&&(0,n.jsx)(U.RU,{})]}),!!l&&(0,n.jsx)(o.az,{mr:"md",h:J?56:36,flex:"0 0 ".concat(+!!l,"px"),bg:"onSurface.nLv4"}),(0,n.jsx)(en,{children:l})]})}function er(){let{event:e,leftScore:t,rightScore:i}=(0,a.useContext)(u.y$),r=(0,a.useContext)(I.ThemeContext),l="rtl"===r.settings.textDirection;if((0,P.c5)(e)===s.QCR.Tennis&&e.status.type===s.XUj.InProgress){let s=r.colors.secondary.default,a=(0,n.jsx)(T.OXq,{fill:s,position:"absolute",w:"12",h:"16",style:l?{right:-16}:{left:-16}});return(0,n.jsxs)(o.so,{direction:"column",mr:"md",ml:"lg",justify:"flex-end",align:"flex-end",w:"32",flex:"0 1 32px",children:[(0,n.jsxs)(o.az,{position:"relative",minW:"16",mb:"xxs",children:[1===e.firstToServe&&a,(0,n.jsx)(A.cU,{eventId:e.id,color:"secondary.default",textAlign:"end",changeKey:"homeScore.point",score:t.point})]}),(0,n.jsxs)(o.az,{position:"relative",minW:"16",children:[2===e.firstToServe&&a,(0,n.jsx)(A.cU,{eventId:e.id,color:"secondary.default",textAlign:"end",changeKey:"awayScore.point",score:i.point})]})]})}return null}function eo(e){let{isNarrow:t}=e,{mediaBreakpoint:i}=(0,S.$c)();return["lg","sm"].includes(i)&&!t?(0,n.jsx)(ea,{}):(0,n.jsx)(el,{})}function ea(){var e,t;let{event:i,leftTeam:r,rightTeam:l,leftScore:c,rightScore:d}=(0,a.useContext)(u.y$),f=(null==(e=r.subTeams)?void 0:e.length)===2&&(null==(t=l.subTeams)?void 0:t.length)===2,[h,m]=(0,a.useMemo)(()=>{let e=[],t=[],r=(0,P.c5)(i),a=r===s.QCR.Tennis?"start":"end",l=[],u=0;return i.periods?(Object.keys(i.periods).filter(e=>!["point","current"].includes(e)).forEach(e=>{let t=c[e],i=d[e],s="".concat(e,"TieBreak"),r=c[s],a=d[s],h=f&&"period3TieBreak"===s&&!!r&&!!a&&(t===r||i===a),m=!h&&(r||0===r)?(0,n.jsx)(o.EY,{as:"sup",top:"0",left:t<10?"14px":"18px",position:"absolute",verticalAlign:"super",fontSize:"micro",lineHeight:"1","data-change-key":"homeScore.".concat(s),children:r}):null,x=!h&&(a||0===a)?(0,n.jsx)(o.EY,{as:"sup",top:"0",left:i<10?"14px":"18px",position:"absolute",verticalAlign:"super",fontSize:"micro",lineHeight:"1","data-change-key":"awayScore.".concat(s),children:a}):null;l.push({left:t,right:i,leftTie:m,rightTie:x,periodKey:e}),(t||0===t||i||0===i||m||x)&&u++}),l.forEach((l,c)=>{let{left:d,right:f,leftTie:h,rightTie:m,periodKey:x}=l,p=i.status.type===s.XUj.InProgress&&c+1===u,g=r===s.QCR.Tennis?"center":"end",y=d>99||f>99?36:24;e.push((0,n.jsxs)(o.az,{d:"inline-block",position:"relative",textAlign:a,w:y,children:[(0,n.jsx)(A.cU,{eventId:i.id,changeKey:"homeScore.".concat(x),score:d,textAlign:g,align:"flex-start",color:p?"sofaSingles.live":d>f?"onSurface.nLv1":"onSurface.nLv3",w:y}),h]},x)),t.push((0,n.jsxs)(o.az,{d:"inline-block",position:"relative",textAlign:a,w:y,children:[(0,n.jsx)(A.cU,{eventId:i.id,changeKey:"awayScore.".concat(x),score:f,textAlign:g,align:"flex-start",color:p?"sofaSingles.live":f>d?"onSurface.nLv1":"onSurface.nLv3",w:y}),m]},x))}),[e,t]):[void 0,void 0]},[i.periods,c,d,i.status.type]);return void 0!==i.periods&&(i.status.type!==s.XUj.NotStarted||(0,R.sw)(i))&&(h||m)?(0,n.jsxs)(o.az,{flex:"0 1 auto",children:[(0,n.jsx)(o.so,{h:"16",mb:"xxs",children:h}),(0,n.jsx)(o.so,{h:"16",children:m})]}):null}function el(){let{event:e,leftScore:t,rightScore:i}=(0,a.useContext)(u.y$),r=(0,P.c5)(e);if(void 0===e.periods||!e.lastPeriod||et.includes(r))return null;let l=r===s.QCR.Tennis?"sofaSingles.live":"secondary.default";return e.status.type===s.XUj.InProgress&&e.lastPeriod?(0,n.jsxs)(o.az,{flex:"0 1 auto",w:"28",children:[(0,n.jsx)(o.az,{position:"relative",mb:"2",children:(0,n.jsx)(A.cU,{eventId:e.id,align:"right",color:l,changeKey:"homeScore.".concat(e.lastPeriod),score:t[e.lastPeriod]},e.lastPeriod)}),(0,n.jsx)(o.az,{position:"relative",children:(0,n.jsx)(A.cU,{eventId:e.id,align:"right",color:l,changeKey:"awayScore.".concat(e.lastPeriod),score:i[e.lastPeriod]},e.lastPeriod)})]}):null}},73022:(e,t,i)=>{i.d(t,{Gi:()=>n.Gi,iV:()=>n.iV,kG:()=>n.kG,lx:()=>n.lx,zV:()=>n.zV});var n=i(37304)},94497:(e,t,i)=>{i.d(t,{HI:()=>s,qG:()=>o});var n=i(41735);let s=(0,n.keyframes)(["0%{opacity:1;}30%{opacity:1;}60%{opacity:0.25;}100%{opacity:1;}"]);s.slow=(0,n.keyframes)(["0%{opacity:1;}5%{opacity:1;}10%{opacity:.25;}15%{opacity:1;}100%{opacity:1;}"]),s.fast=(0,n.keyframes)(["0%{opacity:1;}50%{opacity:1;}51%{opacity:0;}100%{opacity:0;}"]),(0,n.css)(["animation:"," 1s ease-in infinite;"],s).slow=(0,n.css)(["animation:"," 10s ease-in infinite;"],s.slow);let r=(0,n.keyframes)(["0%{transform:translateY(50px);opacity:0;}50%{opacity:1;}100%{opacity:1;transform:translateY(0);}"]);(0,n.css)(["animation:0.3s "," ease-in-out;animation-fill-mode:forwards;"],r);let o=(0,n.keyframes)(["from{opacity:0.0001;}to{opacity:1;}"])},98368:(e,t,i)=>{i.d(t,{x8:()=>l,RU:()=>u,XE:()=>g,H_:()=>y,XB:()=>p});var n=i(6029),s=i(21377),r=i(76356),o=i(54409),a=i(65078);function l(e){var t;let{event:i}=e,l=(0,a.gm)(i.yardDistance,"currentPossession",i),c=Number(null==(t=i.yardDistance)?void 0:t.currentDown);return(0,n.jsx)(r.so,{alignSelf:"flex-start",direction:"column",mr:"-xs",h:"[34px]",w:"[20px]",justify:l===s.Jfo.Right?"flex-end":"flex-start",children:!(void 0===l||c<1||c>4)&&(0,n.jsx)(o.CvR,{icon:"af-touchdown",width:"16px",height:"16px",mr:"xs",mt:"xxs",fill:"sofaSingles.live"})})}var c=i(89875),d=i(90248);function u(){return(0,n.jsx)(r.so,{align:"center",children:(0,n.jsx)(c.EY,{textStyle:"body.medium",color:"status.live",children:(0,n.jsx)(d.A,{id:"am_football_red_zone_status"})})})}let f=e=>{switch(e){case 1:return"1st";case 2:return"2nd";case 3:return"3rd";case 4:return"4th";default:return}},h=e=>{let{currentDown:t,currentYardsToFirstDown:i,isGoalPossession:n}=e,s=f(t),r=i;if("number"==typeof i&&s)return i<1&&(r="Inches"),n&&(r="Goal"),"".concat(s," & ").concat(r)},m=e=>e.nameCode||e.name.slice(0,3).toLocaleUpperCase(),x=(e,t,i,n)=>{if("number"==typeof i&&void 0!==n)return"".concat(m(n===s.Jfo.Left?e:t)," ").concat(i)},p=e=>!!(e.currentPossession&&e.currentTeamHalf&&e.currentDown&&"number"==typeof e.currentYardline&&"number"==typeof e.currentYardsToFirstDown);function g(e,t){let{homeTeam:i,awayTeam:n}=t,r=m(e.currentPossession===s.Jfo.Left?i:n),o=h(e),a=x(i,n,e.currentYardline,e.currentTeamHalf);return o&&a?"".concat(r," ").concat(o," @ ").concat(a):null}function y(e){return!!e&&!!p(e)&&!!(e.currentYardline&&e.currentYardline<=20&&e.currentPossession!==e.currentTeamHalf)}}}]);