!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]="1ee1f49c-3d62-4539-a818-a26d38d4e7b7",e._sentryDebugIdIdentifier="sentry-dbid-1ee1f49c-3d62-4539-a818-a26d38d4e7b7")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[294],{20294:(e,t,r)=>{r.d(t,{y:()=>w});var s=r(6029),n=r(33144),a=r(55729),l=r(62859),o=r(50303),i=r(88836);let c=e=>{let{comment:t}=e,{event:r}=(0,a.useContext)(l.y$),{ref:c,isSelected:d,color:u}=(0,o.qF)(t.id),{isHome:h,player:y,playerIn:f,playerOut:m,goalkeeper:x}=t,p=h?r.homeTeam:r.awayTeam;return(0,s.jsxs)(i.hF,{children:[(0,s.jsx)(i.JJ,{comment:t}),(0,s.jsx)(i.cH,{image:(0,s.jsx)(n.p,{id:p.id,size:24}),players:[y,f,m,x],ref:c,isSelected:d,borderColor:u,children:t.text&&(0,s.jsx)(i.jv,{children:t.text})})]})},d=e=>{let{comment:t}=e,{event:r}=(0,a.useContext)(l.y$),{ref:c,isSelected:d,color:u}=(0,o.qF)(t.id),h=t.isHome?r.homeTeam:r.awayTeam;return(0,s.jsxs)(i.hF,{children:[(0,s.jsx)(i.JJ,{comment:t}),(0,s.jsxs)(i.cH,{image:(0,s.jsx)(n.p,{id:h.id,size:24}),players:[t.player],isSelected:d,ref:c,borderColor:u,children:[(0,s.jsx)(i.jv,{children:t.text}),(0,s.jsx)(i.jv,{secondary:!0,children:function(e){switch(e){case"offensive":return"Offensive zone";case"defensive":return"Defensive zone";default:return"Neutral zone"}}(t.zone)})]})]})};var u=r(95083),h=r(65078),y=r(76356);let f=e=>{let{player1Id:t,player2Id:r,player1TeamId:n,player2TeamId:a}=e;return r?(0,s.jsxs)(y.az,{position:"relative",w:"3xl",h:"xl",flexShrink:0,children:[(0,s.jsx)(y.az,{position:"absolute",left:"0",zIndex:"button",children:(0,s.jsx)(i.Ez,{id:t,teamId:n,small:!0})}),(0,s.jsx)(y.az,{position:"absolute",right:"0",children:(0,s.jsx)(i.Ez,{id:r,teamId:a,small:!0})})]}):(0,s.jsx)(i.Ez,{id:t,teamId:n,small:!0})};function m(e,t){let r=t?e.name:e.shortName||e.name;return e.jerseyNumber&&(r="".concat(r," #").concat(e.jerseyNumber)),r}let x=e=>{let{comment:t}=e,{leftTeam:r,rightTeam:n}=(0,a.useContext)(l.y$),c=(0,h.g3)(),{ref:d,isSelected:y,color:x}=(0,o.qF)(t.id),{player:p,assist1:j,assist2:v,isHome:S,homeScore:g,awayScore:b}=t,w=(c?!S:S)?r:n,[k,C]=c?[b,g]:[g,b];return(0,s.jsxs)(i.hF,{children:[(0,s.jsx)(i.JJ,{comment:t}),(0,s.jsxs)(i.cH,{image:p&&(0,s.jsx)(i.Ez,{id:p.id,teamId:w.id}),players:[p,j,v],isSelected:y,ref:d,borderColor:x,children:[(0,s.jsx)(i.SI,{children:function(e){switch(e.goalType){case"emptyNetGoal":return"Empty Net Goal!";case"penaltyGoal":return"Penalty Shot Goal!";case"shootoutGoal":return"Shootout Goal!";default:return"Goal!"}}(t)}),p&&(0,s.jsx)(u.EY,{display:"block",mb:"sm",children:m(p,!0)}),j&&(0,s.jsxs)(i.Pc,{image:(0,s.jsx)(f,{player1Id:j.id,player2Id:null==v?void 0:v.id}),secondary:!0,children:[v?"Assists":"Assist",": ",m(j),v?", ".concat(m(v)):""]}),w.nameCode&&void 0!==k&&void 0!==C&&(0,s.jsxs)(i.jv,{secondary:!0,children:[w.nameCode," ",k," - ",C]})]})]})},p=e=>{let{comment:t}=e,{event:r}=(0,a.useContext)(l.y$),{ref:c,isSelected:d,color:u}=(0,o.qF)(t.id),h=t.isHome?r.homeTeam:r.awayTeam,y=t.goalkeeper;return(0,s.jsxs)(i.hF,{children:[(0,s.jsx)(i.JJ,{comment:t}),(0,s.jsxs)(i.cH,{image:(0,s.jsx)(n.p,{id:h.id,size:24}),players:[y],isSelected:d,ref:c,borderColor:u,children:[(0,s.jsx)(i.SI,{children:function(e){switch(e.type){case"goalkeeperOut":return"Goalkeeper Out";case"goalkeeperBack":return"Goalkeeper Back In";default:return null}}(t)}),y&&(0,s.jsx)(i.Pc,{image:(0,s.jsx)(i.Ez,{id:y.id,small:!0,teamId:h.id}),children:m(y,!0)})]})]})},j=e=>{let{comment:t}=e,{event:r}=(0,a.useContext)(l.y$),{ref:c,isSelected:d,color:u}=(0,o.qF)(t.id),{isHome:h,player:y,goalkeeper:f}=t,x=h?r.homeTeam:r.awayTeam,p=h?r.awayTeam:r.homeTeam;return(0,s.jsxs)(i.hF,{children:[(0,s.jsx)(i.JJ,{comment:t}),(0,s.jsxs)(i.cH,{image:(0,s.jsx)(n.p,{id:x.id,size:24}),players:[y,f],isSelected:d,ref:c,borderColor:u,children:[(0,s.jsx)(i.SI,{children:function(e){switch(e.type){case"penaltyMissed":return"PEN"===e.periodName?"Shootout Shot Missed":"Penalty Shot Missed";case"penaltySaved":return"PEN"===e.periodName?"Shootout Shot Saved":"Penalty Shot Saved";default:return null}}(t)}),y&&(0,s.jsx)(i.Pc,{image:(0,s.jsx)(i.Ez,{id:y.id,teamId:x.id,small:!0}),children:m(y,!0)}),"penaltySaved"===t.type&&f&&(0,s.jsxs)(i.Pc,{image:(0,s.jsx)(i.Ez,{id:f.id,teamId:p.id,small:!0}),secondary:!0,children:["Saved by: ",m(f,!0)]})]})]})};var v=r(98516);let S=e=>{let{penalizedPlayer:t,penaltyServedByPlayer:r,penaltyDrawnByPlayer:n}=e;return t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i.Pc,{image:(0,s.jsx)(f,{player1Id:t.id,player2Id:null==r?void 0:r.id}),children:[m(t,!0),(0,s.jsx)("br",{}),r&&"Served by: ".concat(m(r,!0))]}),n&&(0,s.jsxs)(i.jv,{secondary:!0,children:["Against: ",m(n,!0)]})]}):(0,s.jsxs)(s.Fragment,{children:[r&&(0,s.jsxs)(i.Pc,{image:(0,s.jsx)(i.Ez,{id:r.id,small:!0}),children:["Served by: ",m(r,!0)]}),n&&(0,s.jsxs)(i.jv,{secondary:!0,children:["Against: ",m(n,!0)]})]})},g=e=>{let{comment:t}=e,{event:r}=(0,a.useContext)(l.y$),{ref:c,isSelected:d,color:u}=(0,o.qF)(t.id),h=t.isHome?r.homeTeam:r.awayTeam,y=t.penalizedPlayer,f=t.penaltyServedByPlayer,m=t.penaltyDrawnByPlayer;return(0,s.jsxs)(i.hF,{children:[(0,s.jsx)(i.JJ,{comment:t}),(0,s.jsxs)(i.cH,{image:(0,s.jsx)(n.p,{id:h.id,size:24}),players:[y,f,m],isSelected:d,ref:c,borderColor:u,children:[(0,s.jsx)(i.SI,{children:function(e){var t;let r=function(e){switch(null==e?void 0:e.severity){case"major":return"Major";case"minor":return"Minor";case"bench":return"Bench";case"game":return"Game";case"doubleMinor":return"Double Minor";default:return"Suspension"}}(e.penaltyType),s=null==(t=e.penaltyType)?void 0:t.description,n=e.duration?(0,v.M)(e.duration/60):void 0,a="".concat(r,": ");return s&&(a+=s),n&&(a+=" | ".concat(n,"'")),a}(t)}),(0,s.jsx)(S,{penalizedPlayer:y,penaltyServedByPlayer:f,penaltyDrawnByPlayer:m})]})]})};var b=r(30566);let w=e=>{let{comment:t}=e;switch(t.type){case"scoreChange":case"penaltyScored":return(0,s.jsx)(x,{comment:t});case"penaltyMissed":case"penaltySaved":return(0,s.jsx)(j,{comment:t});case"faceOff":return(0,s.jsx)(d,{comment:t});case"suspension":return(0,s.jsx)(g,{comment:t});case"goalkeeperOut":case"goalkeeperBack":return(0,s.jsx)(p,{comment:t});case"shotOffTarget":case"shotSaved":case"shotBlocked":case"hit":return(0,s.jsx)(c,{comment:t});default:return(0,s.jsx)(b.b,{comment:t,preferTeamImage:!0})}}},24840:(e,t,r)=>{r.d(t,{LN:()=>n,Oe:()=>l,dh:()=>a});var s=r(21377),n=function(e){return e.AllShots="hockey_all_shots",e.Goals="goals",e.Blocked="hockey_blocked_shots",e.Missed="hockey_missed_shots",e.Saved="hockey_saved_shots",e}({});let a={goals:s.Dme.Made,hockey_saved_shots:s.Dme.Saved,hockey_blocked_shots:s.Dme.Blocked,hockey_missed_shots:s.Dme.Missed},l={[s.Dme.Made]:"goals",[s.Dme.Saved]:"hockey_saved_shots",[s.Dme.Blocked]:"hockey_blocked_shots",[s.Dme.Missed]:"hockey_missed_shots"}},25199:(e,t,r)=>{r.d(t,{A:()=>s});function s(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r=t)&&(r=t);else{let s=-1;for(let n of e)null!=(n=t(n,++s,e))&&(r=n)&&(r=n)}return r}},26925:(e,t,r)=>{r.d(t,{c:()=>u});var s=r(6029),n=r(76356),a=r(93338),l=r(55729),o=r(62859),i=r(80224),c=r(16620),d=r(48886);let u=(0,l.forwardRef)((e,t)=>{let{children:r,image:u,players:h,isSelected:y,borderColor:f,bg:m,elevation:x}=e,[p,j]=(0,l.useState)(!1),{event:v}=(0,l.useContext)(o.y$),{openEventPlayerStatistics:S}=(0,c.d)(),g=null==h?void 0:h.filter(e=>!!e),b=v.hasEventPlayerStatistics&&g&&g.length>0,w=(0,l.useCallback)(e=>{b&&(e.preventDefault(),g.length>1?j(!0):S({event:v,player:g[0]},d._.TextCommentary))},[g,v]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.so,{ref:t,grow:1,bg:m||{base:"surface.s1",md:"surface.s2"},elevation:x,br:"md",p:"sm",style:{border:"1.5px solid ".concat(y&&f?a.S.var(f):"transparent")},justify:"space-between",gap:"sm",onClick:w,cursor:b?"pointer":void 0,children:[(0,s.jsx)(n.az,{alignSelf:"center",children:r}),u]}),g&&(null==g?void 0:g.length)>1&&(0,s.jsx)(i.A,{isOpen:p,setIsOpen:j,players:g,onPlayerClick:e=>{j(!1),S({event:v,player:e},d._.TextCommentary)}})]})})},30566:(e,t,r)=>{r.d(t,{b:()=>h});var s=r(6029),n=r(33144),a=r(21377),l=r(55729),o=r(90248),i=r(62859),c=r(88836),d=r(26925);let u=e=>({[a.zZK.ShotOnTarget]:"shotOnTarget",[a.zZK.Substitution]:"substitution",[a.zZK.Injury]:"injury",[a.zZK.InjuryReturn]:"commentary_injury_return",[a.zZK.YellowCard]:"yellowCard",[a.zZK.RedCard]:"redCard",[a.zZK.PenaltyMissed]:"penaltyMissed",[a.zZK.PenaltyAwarded]:"penaltyNotAwarded.false",[a.zZK.VideoAssistantReferee]:"varDecision",[a.zZK.VideoAssistantRefereeOver]:"commentary_var_check_over"})[e.type],h=e=>{let{comment:t,preferTeamImage:r}=e,{event:a}=(0,l.useContext)(i.y$),{isHome:h,player:y,playerIn:f,playerOut:m,goalkeeper:x}=t,p=void 0===h?void 0:h?a.homeTeam:a.awayTeam,j=r&&p?(0,s.jsx)(n.p,{id:p.id,size:24}):y&&(0,s.jsx)(c.Ez,{id:y.id,teamId:null==p?void 0:p.id}),v=u(t),S=t.text;return(0,s.jsxs)(c.hF,{children:[(0,s.jsx)(c.JJ,{comment:t}),(0,s.jsxs)(d.c,{image:j,players:[y,f,m,x],children:[v&&(0,s.jsx)(c.SI,{children:(0,s.jsx)(o.A,{id:v})}),S&&(0,s.jsx)(c.jv,{children:S})]})]})}},50303:(e,t,r)=>{r.d(t,{P7:()=>y,XM:()=>h,qF:()=>f,v9:()=>m});var s=r(6029),n=r(95083),a=r(78383),l=r.n(a),o=r(55729),i=r(43072),c=r(65078),d=r(12047),u=r(88098);let h=(0,o.createContext)({addInView:l(),removeInView:l(),rootRef:{current:null}}),y=()=>{let e=(0,c.g3)(),{selectedComment:t}=(0,o.useContext)(h);return(e?null==t?void 0:t.isHome:!(null==t?void 0:t.isHome))?"colors.primary.default":"colors.secondary.default"},f=e=>{let t=y(),{isMobile:r}=(0,n.$c)(),{selectedComment:s,rootRef:a,addInView:l,removeInView:c}=(0,o.useContext)(h),u=(0,d.Ay)(),{ref:f,inView:m}=(0,i.Wx)({threshold:.25,root:r?void 0:a.current,rootMargin:r?"-".concat(262+u,"px 0px 0px 0px"):void 0});return(0,o.useEffect)(()=>{e&&(m?l(e):c(e))},[m]),{ref:f,isSelected:e===(null==s?void 0:s.id),color:t}},m=e=>{let{children:t,comments:r}=e,[n,a]=(0,o.useState)(0),l=(0,o.useRef)(null),i=(0,o.useRef)(new Set),c=(0,o.useCallback)(()=>{a(Math.max(0,r.findIndex(e=>i.current.has(e.id))))},[r]),d=(0,o.useCallback)(e=>{i.current.add(e),c()},[c]),y=(0,o.useCallback)(e=>{i.current.delete(e),c()},[c]),f=r[n],m=f&&{id:f.id,x:f.location.x,y:f.location.y,type:(0,u.rk)(f.type)};return(0,s.jsx)(h.Provider,{value:{selectedComment:f,selectedShot:m,rootRef:l,addInView:d,removeInView:y},children:t})}},50747:(e,t,r)=>{r.d(t,{Ay:()=>c,Z4:()=>d});var s=r(25199),n=r(66466),a=r(39984);function l(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(et))}function o(e,t,r){let s=e[t];e[t]=e[r],e[r]=s}var i=r(42943);function c(e,t,r){if(!(!(c=(e=Float64Array.from((0,i.n)(e,r))).length)||isNaN(t*=1))){if(t<=0||c<2)return(0,n.A)(e);if(t>=1)return(0,s.A)(e);var c,d=(c-1)*t,u=Math.floor(d),h=(0,s.A)((function e(t,r,s=0,n=1/0,i){if(r=Math.floor(r),s=Math.floor(Math.max(0,s)),n=Math.floor(Math.min(t.length-1,n)),!(s<=r&&r<=n))return t;for(i=void 0===i?l:function(e=a.A){if(e===a.A)return l;if("function"!=typeof e)throw TypeError("compare is not a function");return(t,r)=>{let s=e(t,r);return s||0===s?s:(0===e(r,r))-(0===e(t,t))}}(i);n>s;){if(n-s>600){let a=n-s+1,l=r-s+1,o=Math.log(a),c=.5*Math.exp(2*o/3),d=.5*Math.sqrt(o*c*(a-c)/a)*(l-a/2<0?-1:1),u=Math.max(s,Math.floor(r-l*c/a+d)),h=Math.min(n,Math.floor(r+(a-l)*c/a+d));e(t,r,u,h,i)}let a=t[r],l=s,c=n;for(o(t,s,r),i(t[n],a)>0&&o(t,s,n);li(t[l],a);)++l;for(;i(t[c],a)>0;)--c}0===i(t[s],a)?o(t,s,c):o(t,++c,n),c<=r&&(s=c+1),r<=c&&(n=c-1)}return t})(e,u).subarray(0,u+1));return h+((0,n.A)(e.subarray(u+1))-h)*(d-u)}}function d(e,t,r=i.A){if(!(!(s=e.length)||isNaN(t*=1))){if(t<=0||s<2)return+r(e[0],0,e);if(t>=1)return+r(e[s-1],s-1,e);var s,n=(s-1)*t,a=Math.floor(n),l=+r(e[a],a,e);return l+(r(e[a+1],a+1,e)-l)*(n-a)}}},66466:(e,t,r)=>{r.d(t,{A:()=>s});function s(e,t){let r;if(void 0===t)for(let t of e)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let s=-1;for(let n of e)null!=(n=t(n,++s,e))&&(r>n||void 0===r&&n>=n)&&(r=n)}return r}},66978:(e,t,r)=>{r.d(t,{A:()=>function e(){var t,r=[],o=[],i=[];function c(){var e=0,t=Math.max(1,o.length);for(i=Array(t-1);++e0?i[t-1]:r[0],t{r.d(t,{Rg:()=>i,mK:()=>p,rk:()=>j});var s=r(21377),n=r(28446),a=r(66978),l=r(24840);let o=e=>{let t=Object.keys(l.dh).filter(t=>e[l.dh[t]].length>0);return[l.LN.AllShots,...t]},i=(e,t,r)=>{if("string"==typeof t||!e.players[t.id]){if(r===l.LN.AllShots)return{viewableShots:e.allShots,selectableTypes:o(e.groupedShots)};let t=l.dh[r];return{viewableShots:e.groupedShots[t],selectableTypes:o(e.groupedShots)}}let s=e.players[t.id];if(r!==l.LN.AllShots){let e=l.dh[r];return{viewableShots:s.shots[e],selectableTypes:o(s.shots)}}return{viewableShots:s.allShots,selectableTypes:o(s.shots)}},c=[0,328],d=[0,139],u=e=>(0,n.A)([0,240],e?[...c].reverse():c),h=e=>(0,n.A)([0,102],e?[...d].reverse():d),y=[0,52,128,164,200,277,328],f=[0,33.5,69.5,105.5,139],m=e=>(0,a.A)([0,240],e?[...y].reverse():y),x=e=>(0,a.A)([0,102],e?[...f].reverse():f),p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.type===s.Dme.FaceOff?m:u,n=e.type===s.Dme.FaceOff?x:h,a=r(t),l=n(t);return{x:a(e.x),y:l(e.y)}};function j(e){switch(e){case"scoreChange":case"penaltyScored":return s.Dme.Made;case"shotOffTarget":case"penaltyMissed":return s.Dme.Missed;case"shotSaved":case"penaltySaved":return s.Dme.Saved;case"shotBlocked":return s.Dme.Blocked;case"faceOff":return s.Dme.FaceOff;case"hit":return s.Dme.Hit;default:return s.Dme.Suspension}}},88836:(e,t,r)=>{r.d(t,{hF:()=>h,cH:()=>x.c,Pc:()=>p,Ez:()=>v,jv:()=>f,JJ:()=>m,SI:()=>y});var s=r(6029),n=r(21377),a=r(95083),l=r(76356),o=r(55729),i=r(62859),c=r(54409);function d(e){let{comment:t}=e;switch((0,o.useContext)(i.Ws)){case n.QCR.Football:switch(t.type){case n.zZK.ScoreChange:switch(t.goalType){case"ownGoal":return(0,s.jsx)(c.NcS,{icon:"football-own-goal",fill:"error.default"});case"penalty":return(0,s.jsx)(c.NcS,{icon:"football-penalty",fill:"secondary.default"});default:return(0,s.jsx)(c.NcS,{icon:"football-ball",fill:"secondary.default"})}case n.zZK.YellowCard:return(0,s.jsx)(c.CvR,{icon:"card-yellow"});case n.zZK.YellowRedCard:return(0,s.jsx)(c.CvR,{icon:"card-double-yellow"});case n.zZK.RedCard:return(0,s.jsx)(c.CvR,{icon:"card-red"});case n.zZK.PenaltyMissed:return(0,s.jsx)(c.NcS,{icon:"penalty-missed",fill:"error.default"});case n.zZK.PenaltyScored:return(0,s.jsx)(c.NcS,{icon:"football-penalty",fill:"secondary.default"});case n.zZK.Injury:return(0,s.jsx)(c.NcS,{icon:"substitution-injured"});case n.zZK.Substitution:return(0,s.jsx)(c.NcS,{icon:"substitution"});case n.zZK.VideoAssistantReferee:case n.zZK.VideoAssistantRefereeOver:return(0,s.jsx)(c.NcS,{icon:"var",fill:"primary.default",w:16,h:16})}break;case n.QCR.AmericanFootball:switch(t.type){case n.zZK.Touchdown:return(0,s.jsx)(c.CvR,{icon:"af-touchdown",fill:"secondary.default",w:16,h:16});case n.zZK.ExtraPoint:return(0,s.jsx)(c.CvR,{icon:"af-extra-point",fill:"secondary.default",w:16,h:16});case n.zZK.TwoPointConversion:return(0,s.jsx)(c.CvR,{icon:"af-two-point-conversion",fill:"secondary.default",w:16,h:16});case n.zZK.FieldGoal:return(0,s.jsx)(c.CvR,{icon:"af-field-goal",fill:"secondary.default",w:16,h:16})}break;case n.QCR.IceHockey:{let e={w:[16,24],h:[16,24]};switch(t.type){case n.zZK.ScoreChange:case"penaltyScored":switch(t.goalType){case"penaltyGoal":case"shootoutGoal":return(0,s.jsx)(c.CvR,{icon:"hockey-penalty",fill:"secondary.default",...e});default:return"powerplay"===t.strength?(0,s.jsx)(c.CvR,{icon:"hockey-powerplay-goal",fill:"secondary.default",...e}):"shorthanded"===t.strength?(0,s.jsx)(c.CvR,{icon:"hockey-shorthanded-goal",fill:"secondary.default",...e}):(0,s.jsx)(c.CvR,{icon:"hockey-pak",fill:"secondary.default",...e})}case"penaltyMissed":case"penaltySaved":return(0,s.jsx)(c.NcS,{icon:"penalty-missed",fill:"error.default",...e});case"suspension":return(0,s.jsx)(c.CvR,{icon:"suspension",...e});case"goalkeeperOut":return(0,s.jsx)(c.NcS,{icon:"goalie-out",...e});case"goalkeeperBack":return(0,s.jsx)(c.NcS,{icon:"goalie-in",...e})}}}switch(t.type){case n.zZK.MatchEnded:return(0,s.jsx)(c.NcS,{icon:"full-time"});case n.zZK.PeriodScore:return(0,s.jsx)(c.NcS,{icon:"half-time"});case n.zZK.PeriodEnd:return(0,s.jsx)(c.NcS,{icon:"quarter-end"});default:return null}}var u=r(48462);let h=e=>{let{children:t}=e;return(0,s.jsx)(l.so,{align:"center",children:t})},y=e=>{let{children:t,isUppercase:r}=e;return(0,s.jsx)(a.EY,{display:"block",textStyle:"display.medium",mb:"xs",textTransform:r?"uppercase":void 0,children:t})},f=e=>{let{children:t,secondary:r}=e;return(0,s.jsx)(a.EY,{display:"block",color:r?"neutrals.nLv3":void 0,mt:r?"xs":void 0,textStyle:"body.small",children:t})},m=e=>{let{comment:t}=e,{time:r,timeSeconds:c,addedTime:h,reversedPeriodTime:y,reversedPeriodTimeSeconds:f}=t,m=(0,o.useContext)(i.Ws),x=m===n.QCR.Football&&0===t.time||m===n.QCR.AmericanFootball&&["periodEnd","matchEnded"].includes(t.type)||m===n.QCR.IceHockey&&"PEN"===t.periodName;return(0,s.jsxs)(l.ov,{flexDirection:"column",minW:"3xl",children:[(0,s.jsx)(d,{comment:t}),x?(0,s.jsx)(a.EY,{color:"neutrals.nLv3",textStyle:"assistive.default",children:"-"}):(0,s.jsx)(u.k,{time:r,timeSeconds:c,addedTime:h,reversedPeriodTime:y,reversedPeriodTimeSeconds:f})]})};var x=r(26925);let p=e=>{let{children:t,image:r,secondary:n}=e;return(0,s.jsxs)(l.so,{mt:"xs",gap:"sm",align:"center",children:[r,(0,s.jsx)(a.EY,{color:n?"neutrals.nLv3":void 0,textStyle:"body.small",children:t})]})};var j=r(94446);let v=e=>{let{id:t,teamId:r,small:n}=e;return(0,s.jsxs)(l.az,{position:"relative",w:n?"xl":"2xl",h:n?"xl":"2xl",children:[(0,s.jsx)(j.t,{id:t,size:n?24:32}),r&&(0,s.jsx)(l.az,{position:"absolute",top:n?"md":"[18px]",left:n?"md":"-2xs",children:(0,s.jsx)(j.p,{id:r,size:16})})]})}}}]);