!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]="a0e81b48-e30d-454c-a6c8-15abfce23e86",e._sentryDebugIdIdentifier="sentry-dbid-a0e81b48-e30d-454c-a6c8-15abfce23e86")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14866,38475,67536,76186,77262,89937],{173:(e,t,n)=>{n.d(t,{z:()=>v,K:()=>g});var a=n(6029),r=n(76356),s=n(55729),i=n(494),l=n(46222),o=n(18970),d=n(79375),c=n(28349);let u=e=>{let{}=e;return(0,a.jsx)(c.EY,{display:"block",px:"lg",py:"sm",textStyle:"body.small",color:"neutrals.nLv3",textAlign:"center",children:"Juego Responsable - BAP: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-444-4000 BAC: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-666-6006"})};var m=n(50526),h=n(37455),x=n(72753);let p=e=>{let{provider:t}=e;return(0,a.jsx)(r.az,{position:"relative",px:"lg",py:"sm",children:(0,a.jsx)(d.A,{provider:t})})},v=e=>{let{showTailingRegulation:t,provider:n}=e,s=(0,i.d4)(x.LQ);return(0,i.d4)(h.BF)?null:"GR"===s&&t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.so,{justify:"center",children:(0,a.jsx)(m.A,{})}),(0,a.jsx)(p,{provider:n})]}):"AR"===s?(0,a.jsxs)(r.BJ,{gap:"sm",children:[(0,a.jsx)(p,{provider:n}),(0,a.jsx)(u,{})]}):(0,a.jsx)(p,{provider:n})},g=e=>{let{showTailingRegulation:t,provider:n}=e,{event:d}=(0,s.useContext)(o.y$),c=(0,i.d4)((0,h.Ul)(d)),u=(0,i.d4)((0,h.bS)(d)),m=(0,i.d4)(h.BF);return c||u||m?(0,a.jsx)(l.Zp,{children:(0,a.jsx)(r.az,{p:"xs",children:(0,a.jsx)(v,{showTailingRegulation:t,provider:n})})}):null}},308:(e,t,n)=>{n.d(t,{A:()=>x});var a=n(6029),r=n(21377),s=n(4967),i=n(95669),l=n.n(i),o=n(947),d=n(58771),c=n(31830),u=n(88715),m=n(92208);let h=(e,t,n)=>e.type===r.YVh.Person?{"@type":"Person",name:e.name}:{"@type":"SportsTeam",sport:t.name,name:e.name,logo:r.cWY.image(e.id),url:"https://www.sofascore.com/team/".concat(t.slug,"/").concat(e.slug,"/").concat(e.id),sameAs:(0,m.WG)(e.id,n)};function x(e){let{event:t}=e,n=(0,o.A)(),i=(0,c.A)(),x=t.tournament.category.sport,p=s.pp(t.startTimestamp),v=((e,t)=>{var n,a,r,s,i;let l=(null==(n=e.tournament.uniqueTournament)?void 0:n.name)||e.tournament.name,o=(null==(a=e.season)?void 0:a.year)||(null==(r=e.season)?void 0:r.name)||t.getFullYear()||"",d=(e.tournament.roundPrefix||"")+" "+((null==(s=e.roundInfo)?void 0:s.name)||((null==(i=e.roundInfo)?void 0:i.round)?"Round ".concat(e.roundInfo.round):""));return"".concat(l," ").concat(o," ").concat(d.trim()).trim()})(t,p),g=t.tournament.category,f=t.tournament.uniqueTournament,j=1,y=[{"@type":"ListItem",position:1,name:n.formatMessage({id:"sport.".concat(x.slug)}),item:"".concat(r.VTF).concat(u.z.getTranslatedRoute(i,"eventList",{sport:x.slug}).route)},{"@type":"ListItem",position:++j,name:n.formatMessage({id:g.slug}),item:"".concat(r.VTF).concat(u.z.getTranslatedRoute(i,"eventList.category",{sport:g.sport.slug,category:g.slug}).route)}];f&&y.push({"@type":"ListItem",position:++j,name:f.name,item:"".concat(r.VTF).concat(u.z.getTranslatedRoute(i,"uniqueTournament",{sport:f.category.sport.slug,category:f.category.slug,tournament:f.slug,id:f.id}).route)}),y.push({"@type":"ListItem",position:++j,name:"".concat(t.homeTeam.name," - ").concat(t.awayTeam.name)});let b={"@context":"https://schema.org","@type":"SportsEvent",name:"".concat(t.homeTeam.name," vs ").concat(t.awayTeam.name),eventStatus:(e=>{switch(e.status.type){case r.XUj.Canceled:case r.XUj.Suspended:return"EventCancelled";case r.XUj.Postponed:return"EventPostponed";default:return"EventScheduled"}})(t),description:v,homeTeam:h(t.homeTeam,x,i),awayTeam:h(t.awayTeam,x,i),startDate:p.toISOString(),sport:x.name};if(t.venue){var w,k,C;b.location=[{"@type":"Place",name:null==(w=t.venue)?void 0:w.stadium.name,maximumAttendeeCapacity:null==(k=t.venue)?void 0:k.stadium.capacity,address:{"@type":"PronounceableText"}}],t.venue.city.name&&b.location.concat({"@type":"Place",name:t.venue.city.name}),t.venue.country.alpha2&&b.location.concat({"@type":"Country",name:(0,m.lE)(null==(C=t.venue)?void 0:C.country.alpha2)})}else t.tournament.category.alpha2&&(b.location={"@type":"Country",name:(0,m.lE)(t.tournament.category.alpha2)});return(0,a.jsxs)(l(),{children:[(0,a.jsx)("script",{...(0,d.QQ)({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:y})}),",",(0,a.jsx)("script",{...(0,d.QQ)(b)}),","]})}},1639:(e,t,n)=>{n.d(t,{l:()=>c,W:()=>u});var a=n(6029),r=n(21377),s=n(28349),i=n(62042),l=n(76356),o=n(83359);let d=(0,i.Fj)({base:{display:"inline-block",borderRadius:"md",px:"sm"},variants:{groundType:{[r.QWe.HardcourtIndoor]:{bg:"tennis.terrain.hardcourtIndoor"},[r.QWe.HardcourtOutdoor]:{bg:"tennis.terrain.hardcourtOutdoor"},[r.QWe.Hard]:{bg:"tennis.terrain.hardcourtOutdoor"},[r.QWe.CarpetIndoor]:{bg:"tennis.terrain.default"},[r.QWe.Grass]:{bg:"tennis.terrain.grass"},[r.QWe.Clay]:{bg:"tennis.terrain.clay"},[r.QWe.RedClay]:{bg:"tennis.terrain.clay"},[r.QWe.SyntheticOutdoor]:{bg:"tennis.terrain.default"},default:{bg:"tennis.terrain.default"}}}}),c=(0,l.I4)("div",d),u=e=>{let{groundType:t}=e;return t?(0,a.jsx)(c,{groundType:t,children:(0,a.jsx)(s.EY,{display:"block",textStyle:"assistive.default",h:"lg",color:"surface.s1",children:(0,a.jsx)(o.n,{id:t})})}):null}},3076:(e,t,n)=>{n.d(t,{e:()=>o});var a=n(6029),r=n(18612),s=n(76356),i=n(55729);function l(e){let{rows:t,rowHeight:n}=e;return(0,a.jsx)(r.D,{animate:!0,height:t*n,uniqueKey:"generic-table-cl",children:Array(t).fill(null).map((e,t)=>{let r=t*n;return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)("circle",{cx:20,cy:r+n/2,r:12}),(0,a.jsx)("rect",{x:40,y:r+8,width:"calc(100% - 48px)",height:n-16})]},r)})})}function o(e){let{rows:t=12}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.az,{hideBelow:"md",children:(0,a.jsx)(l,{rowHeight:32,rows:t})}),(0,a.jsx)(s.az,{hideFrom:"md",children:(0,a.jsx)(l,{rowHeight:48,rows:t})})]})}},5062:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(6029),r=n(99064),s=n(90248),i=n(52466);function l(e){let{isOpen:t,setIsOpen:n,title:l,...o}=e;return(0,a.jsxs)(r.so,{align:"center",px:"lg",py:"sm",h:"48px",gap:"sm",bg:"surface.s1",cursor:"pointer",overflow:"hidden",style:{userSelect:"none"},onClick:()=>n(e=>!e),...o,children:[(0,a.jsx)(i.baM,{}),(0,a.jsx)(r.EY,{as:"div",ellipsis:!0,font:"display.small",color:"onSurface.nLv1",style:{flexGrow:1},children:l||(0,a.jsx)(s.A,{id:"hockey_game_shotmap"})}),(0,a.jsx)(i.zQC,{icon:t?"chevron-up":"chevron-down",fill:"onSurface.nLv1"})]})}},7845:(e,t,n)=>{n.d(t,{N:()=>S});var a=n(6029),r=n(947),s=n(28349),i=n(76356),l=n(55729),o=n(90248),d=n(82536),c=n(95084);let u=e=>{let{url:t,onClick:n,textId:r="claim_offer",isNegative:l=!1}=e;return(0,a.jsx)(s.$n,{bg:l?"onColor.primary":"primary.default",children:(0,a.jsx)(i.I4.a,{color:l?"graphics.dark":"onColor.primary",h:"100%",w:"100%",display:"flex",justifyContent:"center",alignItems:"center",href:t,target:"_blank",rel:"noopener",onClick:n,children:(0,a.jsx)(o.A,{id:r})})})},m=e=>{let{logoUrl:t,promotionName:n,bgImageUrl:r,title:m,description:h,isOpen:x,setIsOpen:p,url:v,location:g,actionButtonId:f,isNegative:j,logoStyle:y}=e,{isDesktop:b}=(0,s.$c)(),w={backgroundImage:"url(".concat(r,")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,l.useEffect)(()=>{x&&(0,c.Z1)({type:"bottom_sheet",name:n,location:g})},[x]),!x)return null;let k=()=>p(!1);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(d.A,{isOpen:x,setIsOpen:p,footer:null,renderAdPlaceholder:!1,sheetStyles:w,modalContentStyles:w,width:360,bottomSheetSize:"large",isNegative:!0,isBottomSheetLocked:!0,children:(0,a.jsxs)(i.so,{direction:"column",justifyContent:"space-between",h:"100%",style:b?w:void 0,br:"lg",children:[(0,a.jsx)(i.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,a.jsx)(i.az,{w:"4xl",h:"4xl",children:(0,a.jsx)(s._V,{src:t,height:"4xl",width:"4xl",alt:n,style:y})})}),(0,a.jsxs)(i.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,a.jsxs)(i.so,{direction:"column",gap:"lg",children:[(0,a.jsx)(i.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:m}),(0,a.jsx)(i.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:h})]}),(0,a.jsxs)(i.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,a.jsx)(u,{url:v,onClick:()=>{(0,c.AW)({type:"bottom_sheet",name:n,location:g}),k()},textId:f,isNegative:j}),(0,a.jsx)(s.$n,{variant:"clear",color:"onColor.primary",onClick:k,children:(0,a.jsx)(o.A,{id:"maybe_later"})})]})]})]})})})};var h=n(85339);let x=e=>{let{isOpen:t,setIsOpen:n,location:s}=e,i=(0,r.A)();return(0,a.jsx)(m,{logoUrl:"/static/images/courtside-1891/logo.png",bgImageUrl:"/static/images/courtside-1891/modal-bg.png",promotionName:h.d.promotionName,title:i.formatMessage({id:"euro_basket_promo_drawer_header"}),description:i.formatMessage({id:"euro_basket_promo_drawer_body"}),url:h.d.url,isOpen:t,setIsOpen:n,location:s})},p=e=>{let{isOpen:t,setIsOpen:n,location:s}=e,i=(0,r.A)();return(0,a.jsx)(m,{logoUrl:"/static/images/utr/logo.png",bgImageUrl:"/static/images/utr/utr-bottom-sheet.png",promotionName:h.nE.promotionName,title:i.formatMessage({id:"utr_bottom_sheet_header"}),description:i.formatMessage({id:"utr_bottom_sheet_body"}),actionButtonId:"learn_more_button",url:h.nE.url,isOpen:t,setIsOpen:n,location:s,logoStyle:{width:"57px",height:"32px"},isNegative:!0})};var v=n(46340),g=n(21501),f=n(494),j=n(65239),y=n(24400),b=n(72753),w=n(14831),k=n(15341),C=n(78003),_=n(30286);let S=e=>{let{page:t}=e,{promotion:n,isOpen:r,setIsOpen:s}=(e=>{let t=(0,g.hX)(),{priorityModal:n,setModalAvailable:a,dismiss:r,isDismissed:s}=(0,y.Z)(),i=(0,f.d4)(b.LQ),[o,d]=(0,w.bL)("promotion-in-session",void 0),[c,u]=(0,l.useState)(!1),[m,x]=(0,l.useState)(!1),[p,v,S]=(0,k.A)("last-view-per-promotion",{}),A=t||!S?void 0:h.jI.find(n=>(0,C.y)(n,t,i)&&(0,_.H)(e,n)&&((e,t)=>{let n=new Date().getTime();if(!e.hasModal||!e.modalCooldown||e.maxTotalViews&&(null==t?void 0:t.totalViews)&&e.maxTotalViews>t.totalViews)return!1;let a=null==t?void 0:t.lastView;return!a||n-a>e.modalCooldown})(n,p[n.id]));return(0,l.useEffect)(()=>{A?a(j.w.PromotionModal,!0):n||s||a(j.w.PromotionModal,!1)},[A]),(0,l.useEffect)(()=>{if(n===j.w.PromotionModal&&A){let e=new Date().getTime();d(A.id),u(!0),x(!0),v(t=>{var n,a;let r=Object.keys(t).filter(e=>!!h.jI.find(t=>t.id===e)),s={};return r.forEach(e=>{s[e]=t[e]}),s[A.id]={lastView:e,totalViews:(null!=(a=null==(n=t[A.id])?void 0:n.totalViews)?a:0)+1},s})}},[n]),(0,l.useEffect)(()=>{!c&&m&&r()},[c]),{promotion:o,isOpen:c,setIsOpen:u}})(t);if(n&&r)switch(n){case v.v.Courtside1891:return(0,a.jsx)(x,{isOpen:r,setIsOpen:s,location:t.location});case v.v.Utr:return(0,a.jsx)(p,{isOpen:r,setIsOpen:s,location:t.location})}return null}},10292:(e,t,n)=>{n.d(t,{t:()=>a.t});var a=n(91407)},14866:(e,t,n)=>{n.r(t),n.d(t,{LiveActionWidgetContainer:()=>_,default:()=>S});var a=n(6029),r=n(21377),s=n(28349),i=n(76356),l=n(55729),o=n(494),d=n(45860),c=n(46222),u=n(52466),m=n(90438),h=n(70344),x=n(99064),p=n(90248);let v=(0,l.forwardRef)((e,t)=>{let{width:n,eventId:l,toggleButton:o,options:d}=e;return(0,a.jsxs)(i.az,{ref:t,_fullscreen:{bg:"surface.s1"},children:[(0,a.jsx)(s.H3,{textAlign:"center",pt:"md",pb:"xs",children:(0,a.jsx)(p.A,{id:"event.liveAction"})}),(0,a.jsx)(i.az,{display:"table",m:"auto",py:"sm",children:(0,a.jsx)(i.az,{mx:"sm",children:(0,a.jsxs)(x.XI,{position:"relative",m:"auto",mb:"10px",children:[(0,a.jsx)("iframe",{src:(0,r.Lo9)(r.bnp.liveActionWidget(l,d)),style:{display:"block"},width:n,height:.49*n,frameBorder:"0",scrolling:"no"}),o]})})})]})});var g=n(62042);let f=(0,g.AH)({zIndex:"dropdown",bg:"surface.s1"}),j=(0,g.AH)({elevation:"2",position:"absolute",px:"lg",br:"lg",overflow:"hidden",cursor:"move"}),y=(0,g.AH)({mb:"md",br:"lg"}),b=(0,g.AH)({"& iframe":{pointerEvents:"none"}}),w=(0,i.I4)("div",{base:{position:"absolute",zIndex:"popover",_hover:{bg:"overlay.darken1"}}});function k(e,t,n,a){let r,s;function i(){document.onmouseup=null,document.onmousemove=null,n(!1),e&&e.clientWidth&&t(e.clientWidth)}function l(t){if(t.preventDefault(),t.stopPropagation(),e){let{horizontal:n,vertical:i,valence:l}=a;if(n){let n=e.offsetWidth+(t.clientX-r)*l;e.style.width="".concat(n,"px"),-1===l&&n>320&&n<800&&(e.style.left="".concat(e.offsetLeft+t.clientX-r,"px"))}if(i){let n=e.offsetHeight+(t.clientY-s)*l;e.style.height="".concat(n,"px"),-1===l&&n>520&&n<800&&(e.style.top="".concat(e.offsetTop+t.clientY-s,"px"))}r=t.clientX,s=t.clientY}}return function(e){e.preventDefault(),e.stopPropagation(),r=e.clientX,s=e.clientY,document.onmouseup=i,document.onmousemove=l,n(!0)}}let C=e=>{let{expanded:t,children:n}=e,r=(0,l.createRef)(),o=(0,l.createRef)(),d=(0,l.createRef)(),c=(0,l.createRef)(),u=(0,l.createRef)(),m=(0,l.createRef)(),h=(0,l.createRef)(),[x,p]=(0,l.useState)(0),[C,_]=(0,l.useState)(0),[S,A]=(0,l.useState)({x:0,y:0}),[T,R]=(0,l.useState)(!1),[I,z]=(0,l.useState)(!1),{mediaBreakpoint:M}=(0,s.$c)(),P=(0,l.useCallback)(e=>{e.preventDefault(),A({x:e.clientX,y:e.clientY}),R(!0)},[S,T]),H=(0,l.useCallback)(e=>{if(!T)return;let t=S.x-e.clientX,n=S.y-e.clientY;A({x:e.clientX,y:e.clientY});let a="".concat(e.currentTarget.offsetTop-n,"px"),r="".concat(e.currentTarget.offsetLeft-t,"px");e.currentTarget.style.top=a,e.currentTarget.style.left=r},[S,T]),L=(0,l.useCallback)(()=>{R(!1),document.body.style.pointerEvents=""},[S,T]);return(0,l.useEffect)(()=>{t&&(o.current&&(o.current.onmousedown=k(r.current,_,z,{vertical:!0,valence:-1})),d.current&&(d.current.onmousedown=k(r.current,_,z,{horizontal:!0,valence:1})),c.current&&(c.current.onmousedown=k(r.current,_,z,{vertical:!0,valence:1})),u.current&&(u.current.onmousedown=k(r.current,_,z,{horizontal:!0,valence:-1})),m.current&&(m.current.onmousedown=k(r.current,_,z,{horizontal:!0,vertical:!0,valence:1})),h.current&&(h.current.onmousedown=k(r.current,_,z,{horizontal:!0,vertical:!0,valence:-1}))),!t&&r.current&&(r.current.style.top="",r.current.style.left="",r.current.style.width="",r.current.style.height="")},[o.current,t]),(0,l.useEffect)(()=>{r.current&&(_(Math.min(640,document.body.offsetWidth)),x||p(r.current.clientWidth))},[r.current]),(0,a.jsxs)(i.az,{className:((e,t)=>(0,g.cx)(f,e&&j,!e&&y,t&&b))(t,I),ref:r,onMouseDown:P,onMouseMove:T?H:void 0,onMouseUp:L,style:t?{width:C,minWidth:320,maxWidth:800,minHeight:520,maxHeight:800,height:500}:void 0,children:[t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w,{ref:o,top:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,a.jsx)(w,{ref:d,top:"0",right:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,a.jsx)(w,{ref:c,bottom:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,a.jsx)(w,{ref:u,top:"0",left:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,a.jsx)(w,{ref:m,bottom:"0",right:"0",w:"md",h:"md",cursor:"se-resize"}),(0,a.jsx)(w,{ref:h,top:"0",left:"0",w:"md",h:"md",cursor:"nw-resize"})]}),(0,a.jsx)(i.az,{position:t?"absolute":void 0,bottom:t?"0":void 0,left:t?"0":void 0,width:t?"100%":void 0,height:t?"100%":void 0,children:l.Children.map(n,e=>e&&e.type===v?(0,l.cloneElement)(e,{...e.props,width:t?C-24:((e,t)=>{switch(t){case"lg":return 368;case"md":return 298;default:return e}})(x-24,M)}):e)})]})};function _(e){let{eventId:t,modal:n,useNativeFullscreen:x,children:p}=e,{data:g}=(0,d.Ay)([r.bnp.liveActionWidget(t),"HEAD"],{fetcher:h.n}),[f,j]=(0,l.useState)(!1),[y,b]=(0,l.useState)(320),w=(0,l.createRef)(),[k,_]=(0,l.useState)(!1),S=(0,o.d4)(e=>e.locale.selectedLocale||m.Xn),A=(0,o.d4)(e=>e.locale.geoIPAlpha2),{isMobile:T}=(0,s.$c)(),R=(0,l.useMemo)(()=>{if((0,r.S$s)())return!1;let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;return x&&!t},[x]),I=(0,l.useCallback)(e=>{if(e){let e=w&&w.current;if(!e)return;let t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&((t=t.bind(e))(),screen.orientation&&screen.orientation.lock&&screen.orientation.lock("landscape"))}else{let e=document,t=e.exitFullscreen||e.webkitExitFullscreen||e.mozExitFullScreen||e.msExitFullscreen;t&&(t=t.bind(e))()}},[w,w.current]),z=(0,l.useCallback)(()=>{j(!f),x&&I(!f)},[w,w.current,f,j]);if((0,l.useEffect)(()=>{if(f&&w.current){let e=30;90===screen.orientation.angle&&(e=200),b(w.current.offsetWidth-e)}else b(320)},[w,w.current,f,b]),(0,l.useEffect)(()=>{x&&f&&w.current&&(k||(document.removeEventListener("fullscreenchange",e),document.addEventListener("fullscreenchange",e,{once:!0}),_(!0)));function e(){!0===document.fullscreen?(b(Math.max(window.screen.width,window.screen.height)),setTimeout(()=>{b(Math.max(window.screen.width,window.screen.height))},500)):!1===document.fullscreen&&(b(320),j(!1)),document.removeEventListener("fullscreenchange",e),_(!1)}},[w,w.current,f,b,k]),!g)return null;let M=(0,a.jsx)(v,{eventId:t,ref:w,width:y,toggleButton:R?null:(0,a.jsx)(i.ov,{backgroundColor:"overlay.darken2",position:"absolute",h:"2xl",w:"2xl",top:"sm",right:"sm",br:"50%",onClick:z,cursor:"pointer",_hover:{bg:"overlay.darken1"},children:(0,a.jsx)(u.L9n,{expanded:f,fill:"white"})}),options:{language:S,china:"cn"===A,mobile:T}});return n?(0,a.jsxs)(C,{expanded:f,setExpanded:j,children:[M,f&&p]}):(0,a.jsx)(c.Zp,{children:M})}let S=_},15538:(e,t,n)=>{n.d(t,{J:()=>a});var a=function(e){return e[e.SpecificRatingPlayer=0]="SpecificRatingPlayer",e[e.AverageRatingTeam=1]="AverageRatingTeam",e[e.AverageRating=2]="AverageRating",e[e.AverageRatingTeamLineups=3]="AverageRatingTeamLineups",e[e.AverageRatingPlayer=4]="AverageRatingPlayer",e}({})},17152:(e,t,n)=>{n.d(t,{D:()=>A});var a=n(6029),r=n(87827),s=n(21377),i=n(28349),l=n(62042),o=n(76356),d=n(55729),c=n(947),u=n(90248),m=n(52466),h=n(82536),x=n(31830),p=n(18970),v=n(15538),g=n(19991),f=n(99064),j=n(28446),y=n(41735);let b=(0,y.default)(f.az).withConfig({componentId:"sc-12120f08-0"})(["animation:"," 660ms ease-in-out 1;animation-delay:330ms;animation-fill-mode:forwards;"],e=>{let t;return t=e.ratingPosition,(0,y.keyframes)(["from{left:0;}to{left:",";}"],t)}),w=["3.0","6.0","6.5","7.0","8.0","9.0"],k=(0,j.A)().domain([3,6,6.5,7,8,9,10]).range([0,16.66666,33.33333,50,66.66666,83.33333,100]);function C(e){let{rating:t,format:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(f.so,{id:"#container",position:"relative",mx:"sm",mb:"xs",children:[w.map((e,t)=>(0,a.jsx)(f.az,{flex:"1 1 1px",br:0===t?"xs 0 0 xs":5===t?"0 xs xs 0":void 0,bg:(0,g.Et)(e),h:"16"},e)),t&&(0,a.jsx)(b,{position:"absolute",top:"-2",ratingPosition:k(+t)+"%",w:"2",h:"20",bg:"neutral.variant"})]}),(0,a.jsx)(f.so,{justify:"space-between",children:[...w,"10"].map(e=>(0,a.jsxs)(f.EY,{color:(0,g.Et)(e),font:"tab.secondary",children:[e,"sideBox"===n&&"10"!==e?"0":""]},e))})]})}var _=n(96688);let S=(0,l.AH)({"& > div > div":{zoom:2.5},"& span":{zoom:2.5}});function A(e){let{type:t,rating:n=10,renderImage:l,children:g}=e,f=(0,c.A)(),[j,y]=(0,d.useState)(!1),{isDesktop:b}=(0,i.$c)(),w=(0,d.useContext)(p.Ws)===s.QCR.Football,k=(0,x.A)(),A=(0,_.y)(k),T="",R="box",I="sofascore_rating",z="";switch(t){case v.J.SpecificRatingPlayer:T="rating_general_text",z=[f.formatMessage({id:"rating_top_stats_general"}),f.formatMessage({id:"rating_top_stats_specific"})].join(" ");break;case v.J.AverageRatingTeam:T="average_team_rating_text",R="sideBox",z=[f.formatMessage({id:"rating_top_teams_general"}),f.formatMessage({id:"rating_top_teams_specific"})].join(" ");break;case v.J.AverageRating:T="average_team_rating_match",R="sideBox",I="average_sofascore_rating";break;case v.J.AverageRatingTeamLineups:T="average_team_rating_text",R="sideBox";break;case v.J.AverageRatingPlayer:T="average_player_rating_text",R="sideBox"}return(0,a.jsxs)(a.Fragment,{children:["function"==typeof g?(0,a.jsx)(a.Fragment,{children:g({isOpen:j,setIsOpen:y})}):null!=g?g:(0,a.jsx)(i.m_,{label:z,strategy:""!==z&&b?"hover":"controlled",isVisible:!1,children:(0,a.jsx)(i.K0,{mx:"xs",variant:"clear",onClick:()=>{y(!0)},children:(0,a.jsx)(m.G_L,{fill:"onSurface.nLv1"})})}),(0,a.jsxs)(h.A,{header:(0,a.jsx)(i.H3,{p:"lg",textStyle:"display.large",children:(0,a.jsx)(u.A,{id:I})}),isOpen:j,setIsOpen:y,footer:(0,a.jsx)(o.so,{justify:"flex-end",m:w?"[0 {spacing.lg} {spacing.lg} {spacing.lg}]":{base:"lg",mdDown:"[0 {spacing.lg} {spacing.lg} {spacing.lg}]"},children:(0,a.jsx)(i.$n,{w:{base:"auto",mdDown:"100%"},onClick:()=>{y(!1)},variant:b?"clear":void 0,children:(0,a.jsx)(u.A,{id:"ok_got_it_button"})})}),children:[(0,a.jsxs)(o.az,{maxW:{md:"[320px]"},px:"lg",mb:w?void 0:{mdDown:"2xl"},children:[T&&(0,a.jsx)(u.A,{id:T,values:{break:e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("br",{})]})}}),(0,a.jsxs)(o.so,{justify:"center",align:"center",pt:"4xl",pb:"xl",children:[(0,a.jsx)(o.az,{className:"sideBox"===R?S:void 0,children:(0,a.jsx)(r.G,{size:"xl",rating:n,format:R})}),null==l?void 0:l({size:40,ml:"lg"})]}),(0,a.jsx)(C,{rating:n,format:R})]}),w&&(0,a.jsx)(o.az,{px:"lg",py:"4xl",pb:"2xl",children:(0,a.jsxs)(i.Mz,{display:"block",color:"primary.default",textStyle:"display.small",href:A,target:"_blank",onClick:()=>{y(!1)},children:[(0,a.jsx)(u.A,{id:"rating_learn_more_button"}),(0,a.jsx)(m.CCT,{ml:"xs",w:"16",h:"16",fill:"primary.default"})]})})]})]})}A.type=v.J},17285:(e,t,n)=>{n.r(t),n.d(t,{default:()=>no});var a=n(6029),r=n(21377),s=n(4967),i=n(95669),l=n.n(i),o=n(55729),d=n(947),c=n(18970),u=n(90438),m=n(67086),h=n(94164),x=n(47550),p=n(15946),v=n(41397),g=n(23123),f=n(78767),j=n(7845),y=n(68711),b=n(95084),w=n(46222),k=n(20945),C=n(2920),_=n(56132),S=n(14831),A=n(11996),T=n(21501),R=n(494),I=n(45860),z=n(39975),M=n(31591),P=n(93053),H=n(15220),L=n(95404),B=n(70344),E=n(89937),F=n(60080),O=n(32137),D=n(49069),Q=n(79724),W=n(173),K=n(53198),G=n(24534),U=n(37455);let N=()=>{let e=(0,R.d4)(U._I),t=(0,G.PW)(),n=(0,R.d4)(U.SM);return e&&t&&(null==n?void 0:n.length)?(0,a.jsxs)(w.Zp,{children:[(0,a.jsx)(w.Zp.Header,{titleId:"odds"}),(0,a.jsx)(K.i,{providers:n,placement:"desktop"})]}):null};var Y=n(75837),$=n(76186),V=n(68789),q=n(60682),X=n(92099),J=n(60067),Z=n(12157),ee=n(30789),et=n(26567),en=n(73060),ea=n(42526),er=n(72753),es=n(55878),ei=n(31139),el=n(73844),eo=n(66301);n(8968);var ed=n(62235),ec=n(51219),eu=n(57724),em=n(14866),eh=n(60962),ex=n(88037),ep=n(86931),ev=n(41586),eg=n(26431),ef=n(88120),ej=n(69408),ey=n(94976),eb=n(67536),ew=n(30121),ek=n(48760),eC=n(63561);function e_(e){var t,n,s,i,l,d;let{hasCommentary:u}=e,{event:m,leftTeam:h,rightTeam:x}=(0,o.useContext)(c.y$),p=m.status.type===r.XUj.NotStarted,v=m.status.type===r.XUj.InProgress,f=m.tournament.category.sport.slug,j=f===r.QCR.ESports&&(0,eC.f2)(m.tournament.category.id),y=(0,R.d4)(U.BF),w=(0,R.d4)((0,U.bS)(m)),k=(0,V.F0)(m),[C]=(0,q.Z)(k,m.status.type===r.XUj.InProgress),_={fetcher:B.n,revalidateOnFocus:!0,refreshInterval:6e4*(m.status.type===r.XUj.NotStarted||m.status.type===r.XUj.InProgress)},S=!y&&w&&!!C,{data:A}=(0,I.Ay)(S?[r.npy.recommendedPrematchTopVoted(C,f),"HEAD"]:null,_),K=(0,o.useRef)(null),G=(0,T.hX)(),e_=u&&f!==r.QCR.IceHockey,eS=u&&f===r.QCR.IceHockey,eA=(0,R.d4)(U.qW),eT=(0,R.d4)(er.LQ),eR=!!eT&&(0,eC.Q9)(eT),eI=v&&!!eR&&eA,ez=eo.I.includes(f)&&m.status.type===r.XUj.NotStarted;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ei.i,{eventLocation:"editor_event",nickname:null==(t=m.eventEditor)?void 0:t.name,userId:null==(n=m.eventEditor)?void 0:n.id,hasStarted:m.status.type!==r.XUj.NotStarted}),(0,a.jsx)(el.N,{event:m}),(0,a.jsx)(ej.R,{}),(0,a.jsx)(Y.S,{countryOddsProvider:k,event:m,fallback:{PT:A?(0,a.jsx)(D.U,{onClick:()=>{var e;return null==K||null==(e=K.current)?void 0:e.scrollIntoView({behavior:"smooth"})},isElevated:!0}):(0,a.jsx)(a.Fragment,{})},isComparisonElevated:!0,children:(0,a.jsx)(Q.f9,{eventId:m.id,isLive:v})}),(0,a.jsx)(ex.y,{}),(0,a.jsx)(ef.z,{}),(0,a.jsx)(ee.m2,{eventId:m.id,tournamentId:m.tournament.id,roundId:null==(s=m.roundInfo)?void 0:s.round,type:"single",screen:"desktop",isLive:v,location:ee.D_.EventPage},m.id),(0,a.jsx)(ek.C,{}),(0,a.jsx)(eg.f,{}),(0,a.jsx)(ep.f,{event:m}),f!==r.QCR.Football&&(0,a.jsx)(es.E,{event:m,hideCta:!0}),f===r.QCR.Cricket&&(0,a.jsx)(H.x,{}),eu.jf.includes(f)?null:(0,eu.Di)(f)?(0,a.jsx)(ed.A,{event:m}):(0,a.jsx)(ec.w,{event:m}),f===r.QCR.Football&&(0,a.jsx)(es.E,{event:m,hideCta:!0}),eu.rt.includes(f)&&(0,a.jsx)(X.A,{event:m}),j&&(0,a.jsx)(P.A,{event:m}),(0,a.jsx)(ea.A,{placement:g.Mx.DesktopEventPage,event:m}),f===r.QCR.Tennis&&(0,a.jsx)(ey.J,{}),(0,a.jsx)(Z.y,{location:b.XN.EventScreen}),f===r.QCR.Tennis&&p&&(0,a.jsx)(ew.p,{}),(0,a.jsx)(N,{}),eS&&(0,a.jsx)(z.A,{persist:!0,children:(0,a.jsx)(E.default,{})}),e_&&(0,a.jsx)(eb.default,{}),!G&&eI&&(0,a.jsx)(em.LiveActionWidgetContainer,{eventId:m.id,modal:!0,children:(0,a.jsx)(Q.f9,{eventId:m.id,isLive:v})}),(0,a.jsx)(F.dq,{eventId:m.id}),A&&(0,a.jsx)($.default,{showHeader:!0,ref:K}),(0,a.jsx)(ev.s,{eventId:m.id}),(0,a.jsx)(en.Y,{utId:null==(i=m.tournament.uniqueTournament)?void 0:i.id,location:b.XN.EventScreen,bgImageUrl:[r.cWY.image(h.id),r.cWY.image(x.id)]}),f!==r.QCR.MMA&&(0,a.jsx)(et.d,{eventId:m.id,type:r.IAy.Event,startTimestamp:m.startTimestamp}),f===r.QCR.MMA&&(0,a.jsx)(z.A,{persist:!0,children:(0,a.jsx)(O.A,{homeTeam:m.homeTeam,awayTeam:m.awayTeam})}),(0,a.jsx)(J._,{page:{location:b.XN.EventScreen,entity:m}}),(0,a.jsx)(eh.W,{event:m,showTournamentInfo:j}),ez&&(0,a.jsx)(eo.x,{eventId:m.id,leftTeam:h,rightTeam:x}),(0,a.jsx)(L.pk,{utIds:[null==(l=m.tournament.uniqueTournament)?void 0:l.id]}),(null==(d=m.eventEditor)?void 0:d.name)&&(0,a.jsx)(M.s,{}),(0,a.jsx)(W.K,{provider:k})]})}var eS=n(90248),eA=n(88658),eT=n(79131),eR=n(64006),eI=n(4917),ez=n(9081),eM=n(99306),eP=n(88505),eH=n(30774);let eL=e=>{var t;let{event:n,sport:r,children:s}=e;return u.tt.includes(r)||!n.tournament.uniqueTournament?(0,a.jsx)(eR.O5,{tournament:n.tournament,children:s}):(0,a.jsx)(eR.tQ,{tournament:n.tournament.uniqueTournament,seasonId:null==(t=n.season)?void 0:t.id,children:s})},eB=(0,o.memo)(e=>{let{event:t,leftTeam:n,rightTeam:s}=e,{meta:i,seoContent:l}=(0,o.useContext)(eI.xV),d=t.tournament.category.sport.slug,c=d===r.QCR.Football,m=d===r.QCR.Tennis,h=(0,eH.w)(t.tournament);return(0,a.jsxs)(eA.B,{children:[(0,a.jsx)(eA.B.Item,{children:(0,a.jsx)(eR.di,{translatedParams:{sport:d},children:(0,a.jsx)(eM.o,{sportSlug:d})})}),!u.tt.includes(d)&&(0,a.jsx)(eA.B.Item,{children:(0,a.jsx)(eR.Z6,{category:t.tournament.category,children:(0,a.jsx)(eT.m,{...t.tournament.category,uniqueTournament:t.tournament.uniqueTournament})})}),(0,a.jsx)(eA.B.Item,{children:(0,a.jsxs)(eL,{event:t,sport:d,children:[h,t.roundInfo&&(0,a.jsxs)("span",{children:[", ",(0,a.jsx)(ez.DT,{round:t.roundInfo})]})]})}),(0,a.jsx)(eA.B.Title,{children:(null==l?void 0:l.heading)||(null==i?void 0:i.title)||(0,a.jsx)(eS.A,{id:c?"headerTitle.event-v3":m?"headerTitle.event.tennis":"headerTitle.event",values:{home:(0,a.jsx)("bdi",{children:(0,a.jsx)(eP.Rm,{team:n})}),away:(0,a.jsx)("bdi",{children:(0,a.jsx)(eP.Rm,{team:s})})}})})]})},(e,t)=>e.event.id===t.event.id&&e.leftTeam===t.leftTeam&&e.rightTeam===t.rightTeam);var eE=n(76356),eF=n(99064),eO=n(71024),eD=n.n(eO),eQ=n(77708),eW=n(74664),eK=n(88694);let eG=()=>{let e=(0,eW.o)();return(0,a.jsxs)(w.Zp,{children:[(0,a.jsx)(w.Zp.Header,{titleId:e===r.QCR.Cricket?"squad":eK.bU.includes(e)?"boxScore":"players",values:{gender:r.YT8.Male},as:"h2"}),(0,a.jsx)("div",{style:{width:687}})]})},eU=eD()(()=>Promise.resolve().then(n.bind(n,54850)),{loadableGenerated:{webpack:()=>[54850]},loading:()=>(0,a.jsx)(eG,{})}),eN=eD()(()=>n.e(30302).then(n.bind(n,30302)),{loadableGenerated:{webpack:()=>[30302]},loading:()=>(0,a.jsx)(eG,{})});function eY(){let{event:e}=(0,o.useContext)(c.y$),t=e.tournament.category.sport,{lineups:n,isLoading:s}=(0,eQ.Ir)({jerseyStyle:"fancy"});return!n||s?null:(0,a.jsx)(eF.tU.Panel,{tabKey:_.x.BoxScore,children:t.slug===r.QCR.Rugby?(0,a.jsx)(eE.az,{roundedBottom:"lg",overflow:"hidden",mb:"md",children:(0,a.jsx)(eN,{})}):(0,a.jsx)(eU,{lineups:n})})}let e$=eD()(()=>n.e(88947).then(n.bind(n,88947)),{loadableGenerated:{webpack:()=>[88947]},ssr:!1,loading:()=>(0,a.jsx)(eE.az,{h:"[935px]"})});function eV(){return(0,a.jsx)(eF.tU.Panel,{tabKey:_.x.Games,children:(0,a.jsx)(e$,{})})}let eq=eD()(()=>Promise.all([n.e(3074),n.e(43738),n.e(77552)]).then(n.bind(n,52192)),{loadableGenerated:{webpack:()=>[52192]},ssr:!1,loading:()=>(0,a.jsx)(eE.az,{h:"[1280px]"})});function eX(){let e=(0,eW.o)();return(0,a.jsx)(eF.tU.Panel,{tabKey:e===r.QCR.MMA?_.x.Fights:_.x.Matches,children:(0,a.jsx)(eq,{})})}var eJ=n(52887);let eZ=eD()(()=>Promise.all([n.e(14591),n.e(83713),n.e(61483),n.e(58345)]).then(n.bind(n,99866)),{loadableGenerated:{webpack:()=>[99866]},loading:()=>(0,a.jsx)(eJ.A,{})});function e0(){let{event:e}=(0,o.useContext)(c.y$),t=e.tournament.uniqueTournament,{sport:n}=e.tournament.category;return t&&e.season&&e.tournament.competitionType===r.wGu.Cup?(0,a.jsx)(eF.tU.Panel,{tabKey:_.x.Knockout,children:(0,a.jsx)(eZ,{uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:e.season.id,sport:n.slug})}):null}let e1=eD()(()=>Promise.resolve().then(n.bind(n,28105)),{loadableGenerated:{webpack:()=>[28105]},ssr:!1,loading:()=>(0,a.jsx)(eQ.Vj,{})});function e2(){let{event:e}=(0,o.useContext)(c.y$),t=e.tournament.category.sport.slug,n=eK.Bx.includes(t)&&!!e.hasEventPlayerStatistics;return(0,a.jsx)(eF.tU.Panel,{tabKey:_.x.Lineups,children:(0,a.jsx)(e1,{showPlayerStatistics:n})})}var e9=n(53255),e5=n(73555),e3=n(59998),e4=n(76155),e8=n(32019);let e6=(0,o.createContext)(20),e7=eD()(()=>Promise.all([n.e(56591),n.e(14632),n.e(26618),n.e(83713),n.e(66915),n.e(58735),n.e(55556)]).then(n.bind(n,33175)),{loadableGenerated:{webpack:()=>[33175]},ssr:!1,loading:()=>(0,a.jsx)(e6.Consumer,{children:e=>(0,a.jsx)(e5.d,{isInlineLayout:!0,noSeasonPicker:!0,numberOfRows:e})})});function te(e){let{numberOfStandingsRows:t}=e,{event:n,leftTeam:r,rightTeam:s}=(0,o.useContext)(c.y$),i=(0,e8.Z)(n,"standings");return(0,a.jsx)(eF.tU.Panel,{tabKey:_.x.Standings,children:(0,a.jsxs)(eE.az,{roundedBottom:"lg",overflow:"hidden",children:[i&&(0,a.jsx)(e9.O,{entityId:n.id,branding:i,bannerText:i.standingsText,location:"event_standings"}),!!n.season&&(0,a.jsx)(e6.Provider,{value:null!=t?t:20,children:(0,a.jsx)(e7,{isInlineLayout:!0,tournamentId:n.tournament.id,seasonId:n.season.id,homeTeamId:r.id,awayTeamId:s.id,Header:e=>{var t;let{title:r}=e;return(0,a.jsx)(e3.A,{tournamentId:n.tournament.id,tournamentName:null!=r?r:(0,a.jsx)(e4.J,{tournament:n.tournament}),uniqueTournamentId:null==(t=n.tournament.uniqueTournament)?void 0:t.id})},loaderNumberOfRows:t,hasPerformanceGraphFeature:!0})})]})})}let tt=()=>(0,a.jsx)(eE.az,{h:"[1000px]"}),tn=eD()(()=>Promise.all([n.e(14264),n.e(5141),n.e(96074)]).then(n.bind(n,49842)),{loadableGenerated:{webpack:()=>[49842]},ssr:!1,loading:()=>(0,a.jsx)(eE.az,{h:"[864px]"})}),ta=eD()(()=>Promise.resolve().then(n.bind(n,14769)),{loadableGenerated:{webpack:()=>[14769]},ssr:!1,loading:()=>(0,a.jsx)(tt,{})}),tr=eD()(()=>n.e(32741).then(n.bind(n,32741)),{loadableGenerated:{webpack:()=>[32741]},ssr:!1,loading:()=>(0,a.jsx)(tt,{})}),ts=eD()(()=>Promise.all([n.e(46432),n.e(87770)]).then(n.bind(n,87770)),{loadableGenerated:{webpack:()=>[87770]},ssr:!1,loading:()=>(0,a.jsx)(tt,{})}),ti=()=>{let e=(0,eW.o)(),{event:t}=(0,o.useContext)(c.y$);if(t.status.type===r.XUj.NotStarted)return(0,a.jsx)(tn,{});switch(e){case r.QCR.MMA:return(0,a.jsx)(ta,{});case r.QCR.Cricket:return(0,a.jsx)(tr,{});default:return(0,a.jsx)(ts,{})}};function tl(){return(0,a.jsx)(eF.tU.Panel,{tabKey:_.x.Statistics,children:(0,a.jsx)(ti,{})})}var to=n(26208),td=n(59721),tc=n(28349),tu=n(73498),tm=n(85658),th=n(52466),tx=n(36882),tp=n(70251),tv=n(59777),tg=n(1639),tf=n(83359),tj=n(82346),ty=n(64987),tb=n(33745),tw=n(94093);function tk(e){var t,n;let{channelId:s,type:i,eventId:l}=e,{data:o,isValidating:d}=(0,I.Ay)(r.RMf.eventChannelVotes(s,i,l));if(d)return(0,a.jsx)(eE.az,{h:"2xl",pb:"2xs"});if(!o)return null;let c=o.tvChannelVotes.tvChannel.name,u=null!=(t=o.tvChannelVotes.upvote)?t:0,m=null!=(n=o.tvChannelVotes.downvote)?n:0;return(0,a.jsxs)(eE.so,{direction:"row",align:"center",gap:"lg",children:[(0,a.jsx)(th.ft6,{fill:"onSurface.nLv3",w:16,h:16}),(0,a.jsxs)(eE.so,{direction:"column",gap:"2xs",children:[(0,a.jsx)(tc.EY,{children:c}),(0,a.jsxs)(eE.so,{gap:"xs",children:[(0,a.jsxs)(eE.so,{align:"center",gap:"xs",children:[(0,a.jsx)(th.URl,{fill:"success.default"}),(0,a.jsx)(tc.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:u})]}),(0,a.jsxs)(eE.so,{align:"center",gap:"xs",children:[(0,a.jsx)(th.fHS,{fill:"error.default"}),(0,a.jsx)(tc.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:m})]})]})]})]})}function tC(e){let{channelIds:t,type:n,eventId:s}=e,i=(0,d.A)(),l=t.length>1,o=t.length-1,[c,...u]=t,{data:m}=(0,I.Ay)(r.RMf.eventChannelVotes(c,n,s));return m?(0,a.jsxs)(eE.so,{align:"center",gap:"xs",px:"sm",children:[(0,a.jsxs)(eE.so,{align:"center",gap:"xs",children:[(0,a.jsx)(th.ft6,{fill:"onSurface.nLv3",w:16,h:16}),(0,a.jsx)(tc.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:m.tvChannelVotes.tvChannel.name})]}),l&&(0,a.jsx)(eF.AM,{closeOnOutsideClick:!0,trigger:(0,a.jsx)(eE.I4.button,{"aria-label":i.formatMessage({id:"show_more"}),p:"xs",br:"lg",cursor:"pointer",_hover:{bg:"surface.s2"},_active:{bg:"surface.s0"},children:(0,a.jsx)(eE.so,{bg:"action.primary.default",br:"md",h:"lg",px:"sm",children:(0,a.jsxs)(tc.EY,{textStyle:"assistive.default",color:"surface.s1",children:["+",o]})})}),children:(0,a.jsx)(eE.az,{position:"absolute",zIndex:"popover",top:"xl",right:"0",w:"[200px]",children:(0,a.jsxs)(eE.so,{direction:"column",gap:"lg",elevation:"3",bg:"surface.sp",br:"sm",p:"lg",children:[(0,a.jsx)(tc.EY,{textStyle:"display.small",children:(0,a.jsx)(eS.A,{id:"tv_channels"})}),(0,a.jsx)(eE.so,{direction:"column",gap:"lg",children:u.map(e=>(0,a.jsx)(tk,{channelId:e,type:n,eventId:s},e))})]})})})]}):null}function t_(e){let{eventId:t,type:n}=e,s=(0,R.d4)(er.LQ),{data:i}=(0,I.Ay)(s?r.RMf.eventCountryChannels(n,t):null);if(!s||!i)return null;let l=i.countryChannels[s];return s in i.countryChannels&&(null==l?void 0:l.length)?(0,a.jsx)(tC,{channelIds:l,type:n,eventId:t}):null}var tS=n(18423);let tA=()=>{let{event:e,leftTeam:t,rightTeam:n}=(0,o.useContext)(c.y$),s=(0,d.A)(),i=e.tournament.uniqueTournament,l=e.venue,u=e.status.type===r.XUj.NotStarted,m=u&&!!e.finalResultOnly;return(0,a.jsx)(w.Zp,{children:(0,a.jsxs)(eE.az,{children:[(0,a.jsx)(eE.so,{position:"absolute",top:"lg",right:"lg",gap:"lg",children:(0,a.jsxs)(tm.hD,{children:[(0,a.jsx)(tp.h,{id:e.id,type:tx.b.Event,location:tx.y.Header,tournament:e.tournament,leftTeam:t,rightTeam:n,menuPosition:"bottom",children:e=>{let{onClick:t,disabled:n,isFollowed:r,isOpen:i}=e;return(0,a.jsx)(tc.m_,{label:s.formatMessage({id:"remove_from_favourites"}),strategy:"hover",disabled:!r||r&&i,children:(0,a.jsx)(tu.u,{onClick:t,disabled:n,variant:r?"compact":"primary",label:s.formatMessage({id:"button_favourite"}),children:(0,a.jsx)(th.zQC,{icon:r?"follow-active":"follow-default"})})})}}),(0,a.jsx)(tc.m_,{label:s.formatMessage({id:"compare_teams"}),strategy:"hover",children:(0,a.jsx)(tb.Y,{isInDesktopHeader:!0})}),u&&!m&&(0,a.jsx)(tc.m_,{label:s.formatMessage({id:"add_to_calendar"}),strategy:"hover",children:(0,a.jsx)(ty.A,{name:"".concat(e.homeTeam.name," - ").concat(e.awayTeam.name),startDate:e.startTimestamp,isClickable:!0,children:(0,a.jsx)(tu.u,{label:s.formatMessage({id:"add_to_calendar"}),children:(0,a.jsx)(th.E8x,{style:{width:24,height:24}})})})})]})}),(0,a.jsx)(eE.az,{pt:"sm",children:(0,a.jsx)(tS.A,{isWide:!0,disableFollow:!0})}),(0,a.jsxs)(eE.so,{justify:"center",px:"lg",pb:"md",pt:"sm",children:[(0,a.jsx)(tw.g,{isInDesktopHeader:!0}),i&&(0,a.jsx)(eR.tQ,{tournament:i,children:(0,a.jsxs)(eE.so,{gap:"xs",align:"center",_hover:{bg:"surface.s2"},px:"sm",py:"xs",br:"lg",children:[(0,a.jsx)(td.e,{id:i.id,size:16}),(0,a.jsx)(tc.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:(0,a.jsx)(tj.O,{uniqueTournament:i})})]})}),(null==l?void 0:l.stadium.name)&&(0,a.jsx)(tv.A,{venue:l,children:(0,a.jsxs)(eE.so,{gap:"xs",align:"center",_hover:{bg:l.hidden?void 0:"surface.s2"},px:"sm",py:"xs",br:"lg",children:[(0,a.jsx)(th.fRZ,{fill:"onSurface.nLv3",w:"16px",h:"16px"}),(0,a.jsx)(tc.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:l.stadium.name})]})}),e.groundType&&(0,a.jsxs)(eE.so,{gap:"xs",align:"center",px:"sm",py:"xs",br:"lg",children:[(0,a.jsx)(tg.l,{w:"lg",h:"lg",groundType:e.groundType}),(0,a.jsx)(tc.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:(0,a.jsx)(tf.n,{id:e.groundType})})]}),(0,a.jsx)(t_,{eventId:e.id,type:r.IAy.Event})]})]})})};var tT=n(42051);let tR=eD()(()=>Promise.all([n.e(68489),n.e(6325)]).then(n.bind(n,6325)),{loadableGenerated:{webpack:()=>[6325]},ssr:!1,loading:()=>(0,a.jsx)(eE.az,{h:"[1000px]"})});function tI(){return(0,a.jsx)(eF.tU.Panel,{tabKey:_.x.Scorecard,children:(0,a.jsx)(tR,{})})}let tz=[r.QCR.Football,r.QCR.Basketball];function tM(e,t,n,a,s){let i=!!n&&!!a&&!!s;return e===r.QCR.Basketball?i?r.cWY.seasonRanks(t,n,a,s):void 0:i?r.cWY.seasonStatistics(t,n,a,s):a?r.cWY.yearStatistics(t,String(a)):void 0}var tP=n(93819),tH=n(80903),tL=n(48342);function tB(){let{hasTabs:e}=(0,tP.gY)();return e?(0,a.jsx)(eE.az,{children:(0,a.jsx)(tL.A,{})}):null}function tE(e){let{event:t}=e;return(0,a.jsx)(tP.Ad,{event:t,children:(0,a.jsxs)(eF.tU.Panel,{tabKey:_.x.AiInsights,children:[(0,a.jsx)(tH.K,{}),(0,a.jsx)(tB,{}),(0,a.jsx)(tH.M,{event:t})]})})}function tF(e){var t;let{activeTab:n,setActiveTab:s,initialStandingsProperties:i}=e,l=(0,o.useContext)(c.y$),{event:d,leftTeam:m,rightTeam:h}=l,x=d.tournament.category.sport,p=d.tournament.category.sport.slug,v=p===r.QCR.MMA,{hasWinProbability:f}=(0,A.A)({hasWinProbability:{route:r.bnp.winProbability(d.id),skipCheck:d.status.type!==r.XUj.InProgress}}),{hasGamesTab:j,hasBoxScoreTab:y,hasLineupsTab:b,hasStatisticsTab:T,hasScorecardTab:R,hasCommentaryTab:I,hasCricketIncidents:z,hasKnockoutTab:M,hasStandingsTab:P,hasBasketballPregameTopPlayers:H,hasAiInsights:L}=(0,tT.A)(d),B=(()=>{var e,t;let n=(0,eW.o)(),{event:a,leftTeam:s,rightTeam:i}=(0,o.useContext)(c.y$),l=null==(e=a.tournament.uniqueTournament)?void 0:e.id,d=null==(t=a.season)?void 0:t.id,u=a.seasonStatisticsType,m=a.status.type===r.XUj.NotStarted&&tz.includes(n),h=!!l&&!!d&&!!u,x=tM(n,s.id,l,d,u),p=tM(n,i.id,l,d,u),{hasLeftStatistics:v,hasRightStatistics:g,hasLeftTopPlayers:f,hasRightTopPlayers:j}=(0,A.A)({hasLeftStatistics:{route:x,skipCheck:!m},hasRightStatistics:{route:p,skipCheck:!m},hasLeftTopPlayers:{route:h?r.cWY.topPlayers(s.id,l,d,u):void 0,skipCheck:!m},hasRightTopPlayers:{route:h?r.cWY.topPlayers(i.id,l,d,u):void 0,skipCheck:!m}},[a.id,h]);return!!v&&!!g&&!!f&&!!j})(),E=!!T||!!z||!!f||B,F=[{tabKey:_.x.Games,item:"games",values:{sport:r.QCR.ESports},isHidden:!j},{tabKey:_.x.Scorecard,item:"cricket.scorecard",isHidden:!R},{tabKey:_.x.BoxScore,item:"boxScore",isHidden:!y},{tabKey:_.x.Lineups,item:p===r.QCR.Cricket?"squads":"lineups",isHidden:!b||H},{tabKey:_.x.AiInsights,item:"tab_ai_insights",isHidden:!L},{tabKey:_.x.Statistics,item:"statistics",isHidden:!E},{tabKey:_.x.Standings,item:"app.standings",isHidden:!P},{tabKey:v?_.x.Fights:_.x.Matches,item:v?"fights_mma":"head_to_head_short",values:v?void 0:{sport:(0,S.ap)(p)}},{tabKey:_.x.Knockout,item:"knockout",isHidden:!M}],O=F.some(e=>!e.isHidden&&e.tabKey===n)?n:null==(t=F.find(e=>!e.isHidden))?void 0:t.tabKey;return(0,a.jsx)(c.Ws.Provider,{value:x.slug,children:(0,a.jsxs)(c.y$.Provider,{value:{...l,location:c.cb.EventPage},children:[(0,a.jsx)(eB,{event:d,leftTeam:m,rightTeam:h}),(0,a.jsx)(tA,{}),(0,a.jsxs)(k.xA,{py:"md",gap:"md",children:[(0,a.jsxs)(k.fv,{flexGrow:1,children:[(0,a.jsx)(e_,{hasCommentary:!!I}),(0,a.jsx)(g.Aq,{route:u.xW.Event})]}),(0,a.jsxs)(k.fv,{flexGrow:2,children:[(0,a.jsx)(w.Zp,{children:O&&(0,a.jsx)(w.WC,{variant:"square",children:(0,a.jsxs)(C.A,{id:d.id,location:C.C.EventPage,eventStatusType:d.status.type,initialTabKey:O,tabs:F,customControls:[O,s],children:[j&&(0,a.jsx)(eV,{}),R&&(0,a.jsx)(tI,{}),y&&(0,a.jsx)(eY,{}),b&&(0,a.jsx)(e2,{}),L&&(0,a.jsx)(tE,{event:d}),E&&(0,a.jsx)(tl,{}),P&&(0,a.jsx)(te,{numberOfStandingsRows:null==i?void 0:i.numberOfRows}),(0,a.jsx)(eX,{}),M&&(0,a.jsx)(e0,{})]})})}),(0,a.jsx)(to.I,{event:d})]})]})]})})}var tO=n(23246),tD=n(75467),tQ=n(13705),tW=n(75289),tK=n(96139),tG=n(95224),tU=n(11059),tN=n(61837),tY=n(92852),t$=n(18749),tV=n(33396),tq=n(97563),tX=n(43601),tJ=n(87448),tZ=n(54369),t0=n(21795),t1=n(96662),t2=n(15361),t9=n(29595);function t5(e){let{activeTab:t,setActiveTab:n}=e,{event:s,leftTeam:i,rightTeam:l}=(0,o.useContext)(c.y$),d=s.tournament.category.sport.slug,u=s.status.type===r.XUj.InProgress,m=d===r.QCR.Football,h=d===r.QCR.MMA,x=d===r.QCR.Basketball,p=(0,eC.BC)(s.status),{hasCricketIncidents:v,hasScorecardTab:f,hasOversTab:j,hasGraphsTab:y,hasCommentaryTab:b,hasGamesTab:w,hasBoxScoreTab:k,hasLineupsTab:A,hasStatisticsTab:T,hasPlayByPlayTab:R,hasStandingsTab:I,hasMatchesTab:z,hasFeaturedOdds:M,hasAdditionalOddsTab:P,hasWinningOdds:H,hasFeaturedOddsTab:L,hasMediaTab:B,isSpecialEsports:E,hasRecommendedPrematchOdds:F,hasKnockoutTab:O,hasAiInsights:D}=(0,tT.A)(s),Q=[{tabKey:_.x.Details,item:"details"},{tabKey:_.x.AiInsights,item:"tab_ai_insights",isHidden:!D},{tabKey:_.x.AdditionalOdds,item:"odds",isHidden:!P||p},{tabKey:_.x.Games,item:"games",values:{sport:r.QCR.ESports},isHidden:!w},{tabKey:_.x.Overs,item:"cricket.overs",isHidden:!j},{tabKey:_.x.Scorecard,item:"cricket.scorecard",isHidden:!f},{tabKey:_.x.Commentary,item:"commentary",isHidden:!b||m||x},{tabKey:_.x.BoxScore,item:"boxScore",isHidden:!k},{tabKey:_.x.Lineups,item:d===r.QCR.Cricket?"squads":"lineups",isHidden:!A},{tabKey:_.x.Statistics,item:"statistics",isHidden:!T},{tabKey:_.x.Commentary,item:"commentary",isHidden:!b||!m&&!x},{tabKey:_.x.PlayByPlay,item:"cricket.pbp",isHidden:!R},{tabKey:_.x.Standings,item:"app.standings",isHidden:!I},{tabKey:_.x.Graphs,item:"graphs",isHidden:!y},{tabKey:h?_.x.Fights:_.x.Matches,item:h?"fights_mma":"matches",values:h?void 0:{sport:(0,S.ap)(d)},isHidden:!z},{tabKey:_.x.Knockout,item:"knockout",isHidden:!O},{tabKey:_.x.FeaturedOdds,item:"featured_odds",isHidden:!L},{tabKey:_.x.Media,item:"media",isHidden:!B},{tabKey:_.x.AdditionalOdds,item:"odds",isHidden:!P||!p}];return(0,a.jsxs)(c.Ws.Provider,{value:d,children:[(0,a.jsxs)(eE.az,{bg:"surface.s1",children:[(0,a.jsx)(eB,{event:s,leftTeam:i,rightTeam:l}),(0,a.jsx)(t2.g,{})]}),(0,a.jsxs)(C.A,{id:s.id,location:C.C.EventPage,eventStatusType:s.status.type,initialTabKey:t,tabs:Q,customControls:[t,n],children:[(0,a.jsx)(tK.A,{isInsideEventWidget:!1,isSpecialEsports:E,hasStandings:!!I,hasCricketIncidents:v,hasFeaturedOdds:M,hasWinningOdds:H,hasMediaTab:B,onFeaturedOddsClick:()=>n(_.x.FeaturedOdds),onBestPlayersClick:()=>n(k?_.x.BoxScore:_.x.Lineups),onPrematchStandingsClick:()=>n(_.x.Standings),onSeeAllStatisticsClick:()=>n(_.x.Statistics),onHighlightShortcutClick:()=>n(_.x.Media)}),D&&(0,a.jsx)(t9.A,{event:s}),P&&(0,a.jsx)(tD.A,{}),w&&(0,a.jsx)(tU.A,{}),j&&(0,a.jsx)(tq.A,{}),f&&(0,a.jsx)(tJ.A,{event:s}),k&&(0,a.jsx)(tQ.A,{}),A&&(0,a.jsx)(tY.A,{}),T&&(0,a.jsx)(t0.A,{event:s}),R&&(0,a.jsx)(tX.A,{}),I&&(0,a.jsx)(tZ.A,{event:s,leftTeamId:i.id,rightTeamId:l.id}),y&&(0,a.jsx)(tN.A,{tabKey:_.x.Graphs}),b&&d!==r.QCR.IceHockey&&(0,a.jsx)(tW.A,{}),(0,a.jsx)(t$.A,{}),O&&s.tournament.uniqueTournament&&s.season&&(0,a.jsx)(tO.A,{uniqueTournament:s.tournament.uniqueTournament,seasonId:s.season.id,sport:d}),L&&(0,a.jsx)(tG.A,{hasRecommendedPrematchOdds:F}),B&&(0,a.jsx)(tV.A,{event:s,isLive:u})]}),(0,a.jsx)(eE.az,{mb:"sm",children:(0,a.jsx)(t1.i,{id:g.Rj.MOBILE_EVENT_BOTTOM})})]})}var t3=n(67459);function t4(e){var t;let{activeTab:n,setActiveTab:r,initialStandingsProperties:s}=e,{event:i}=(0,o.useContext)(c.y$),l=i.tournament.category.sport;return(0,a.jsx)(c.Ws.Provider,{value:l.slug,children:(0,a.jsxs)(t3.Hy,{eventId:i.id,children:[(0,a.jsx)(f.$B,{children:(0,a.jsx)(t5,{activeTab:n,setActiveTab:r})}),(0,a.jsx)(f.h6,{children:(0,a.jsx)(g.JR,{route:u.xW.Event,children:(0,a.jsx)(tF,{activeTab:n,setActiveTab:r,initialStandingsProperties:s})})}),(0,a.jsx)(y.S,{utId:null==(t=i.tournament.uniqueTournament)?void 0:t.id,location:b.XN.EventScreen}),(0,a.jsx)(j.N,{page:{location:b.XN.EventScreen,entity:i}})]})})}var t8=n(81278),t6=n(79082);let t7={event_details:_.x.Details,event_lineups:_.x.Lineups,event_statistics:_.x.Statistics};var ne=n(31830),nt=n(88715),nn=n(308),na=n(97825),nr=n(7763),ns=n(18153),ni=n(45906);let nl=[r.QCR.AmericanFootball,r.QCR.Cricket,r.QCR.Football,r.QCR.Baseball,r.QCR.Basketball,r.QCR.TableTennis,r.QCR.IceHockey,r.QCR.Handball,r.QCR.Volleyball,r.QCR.MMA];function no(e){var t,n,i,g,f;if("error"in e)return(0,a.jsx)(ni.default,{statusCode:404});let j=(0,d.A)(),{eventId:y,setEventId:w,shareInfo:k,setShareInfo:C,activeTab:S,setActiveTab:A}=(e=>{let t=!!(0,t8.useRouter)().query.sport,n={name:e.slug,id:e.customId};t&&(n.sport=(0,eC.c5)(e));let[a,r]=(0,t6.Ay)({routeKey:u.xW.Event,params:n}),s=(null==a?void 0:a.id)&&!Number.isNaN(null==a?void 0:a.id)?a.id:e.id,[i,l]=(0,o.useState)();return(0,o.useEffect)(()=>{let e=window.location.hash.replace("#",""),t={};e.startsWith("share:")&&(e.replace("share:","").split(",").forEach(e=>{let n=e.split(":");2===n.length&&((e,t,n)=>{switch(t){case"s":e.source=(e=>{switch(e){case"a":return"android";case"i":return"ios";case"w":return"web";default:return}})(n);return;case"id":e.id=Number(n);return;case"c":e.category=(e=>{switch(e){case"ed":return"event_details";case"el":return"event_lineups";case"es":return"event_statistics";default:return}})(n);return;default:return}})(t,n[0],n[1])}),l(t));t.id&&r("id",t.id.toString())},[]),{eventId:s,setEventId:e=>r("id",e.toString()),shareInfo:i,setShareInfo:l,activeTab:(null==a?void 0:a.tab)||_.x.Details,setActiveTab:e=>r("tab",e)}})(e.event),{event:T}=(0,p.A)(y,{shouldRefresh:!0,onFetchError:()=>w(e.event.id)}),R=(null==T?void 0:T.customId)===e.event.customId?T:e.event,[I,z]=(0,v.A)(R,"homeTeam","awayTeam",R),[M,P]=(0,v.A)(R,"homeScore","awayScore",R);(0,o.useEffect)(()=>{if(T&&((0,b.l3)(T.id,T.status.type),k&&k.id&&k.category&&k.source)){t7[k.category]&&A(t7[k.category]),C(void 0);try{sessionStorage.setItem(x.IE,"share")}catch(e){}}},[null==T?void 0:T.id]);let{customId:H,slug:L,homeTeam:B,awayTeam:E,tournament:F,startTimestamp:O}=R,D=(0,ne.A)(),Q=B.name,W=E.name,K=R.venue,G=j.formatDate((0,s.pp)(O,!0),{...s.or.dateWithShortMonth}),U=j.formatTime((0,s.pp)(O,!0)),N=R.tournament.category.sport.slug,Y=N===r.QCR.Football,$=N===r.QCR.ESports,V=null==(t=F.category.alpha2)?void 0:t.toLowerCase(),q=null==(i=B.country)||null==(n=i.alpha2)?void 0:n.toLowerCase(),X=null==(f=E.country)||null==(g=f.alpha2)?void 0:g.toLowerCase(),J=R.isEditor?!(0,m.N)(null!=V?V:q&&X&&q===X?q:"",D):(0,h.v)(N,D),Z=nt.z.getTranslatedCanonicalRoute(D,"event",{id:H,name:L,sport:N}).route,ee={item:"".concat(R.homeTeam.name," ").concat(R.awayTeam.name),homeTeamName:Q,awayTeamName:W,home:Q,away:W,startDate:G,startTime:U,tournamentName:F.name,categoryName:F.category.name,hasVenue:!!K,year:new Date(1e3*R.startTimestamp).getFullYear(),...(0,eC.Ee)(K)},et="event",en="livescore";return["fr","it"].includes(D)&&Y&&(et="event-v2"),Y&&(en="livescore-v3"),$&&(et="event-esports",en="livescore-esports"),(0,a.jsxs)(eI.an,{value:{meta:e.meta,eventMeta:e.eventMeta,seoContent:e.seoContent},children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(Z)}),(0,a.jsx)("link",{rel:"alternate",href:"android-app://com.sofascore.results/https/www.sofascore.com/event/".concat(R.id)}),(0,a.jsx)("meta",{property:"og:image",content:r.bnp.shareDetailsImage("16x9",R.id)}),(0,a.jsx)("meta",{property:"og:image:width",content:"2130"}),(0,a.jsx)("meta",{property:"og:image:height",content:"1200"}),J&&(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,a.jsx)(nn.A,{event:R}),(0,a.jsx)(eI.Ay,{metaKey:et,titleKey:en,keywordsKey:"sport",values:ee}),(0,a.jsx)(c.y$.Provider,{value:{event:R,leftTeam:I,rightTeam:z,leftScore:M,rightScore:P,location:c.cb.EventPage,initialIncidents:e.incidents,initialHasLineups:e.initialHasLineups},children:(0,a.jsx)(t4,{activeTab:S,setActiveTab:A,initialStandingsProperties:e.initialStandingsProperties})})]})}no.getInitialProps=nr.Ay.getInitialPageProps(e=>async t=>{let{query:a,req:s,res:i,...l}=t,o=s?s._originalUrl:l.asPath,d=nt.z.getCurrentLocale(o),c=s&&s.params?s.params:a,m=c.id;try{var h,x,p;let t,a=Number(null==(h=(0,t6.JT)(o))?void 0:h.id);(!a||Number.isNaN(a))&&(a=Number((await r.nk6.fetchCurrentlyRelevantEvent(m)).currentlyRelevantEvent.id));let[s,l,v,g,f,j]=await Promise.allSettled([r.nk6.fetchEvent(a),r.sdF.getEntityMeta(r.wNW.Event,m,d),r.nk6.fetchH2HMeta(a),nl.includes(c.sport)?r.sdF.getSeoContent(r.wNW.Event,a,d):Promise.reject(),r.nk6.hasLineups(a),r.nk6.fetchEventIncidents(a)]),y="fulfilled"===s.status?s.value.event:void 0;if(!y)throw Error();let b="fulfilled"===l.status?l.value.entityMeta:void 0,w="fulfilled"===v.status?v.value.meta:void 0,k="fulfilled"===g.status?g.value.content:void 0,C="fulfilled"===f.status?f.value:void 0,_="fulfilled"===j.status&&(null==(x=j.value.incidents)?void 0:x.length)?j.value.incidents:void 0,S=y.tournament.category.sport.slug;if(i&&(y.slug!==c.name||S!==c.sport)&&(i.writeHead(301,{Location:nt.z.getTranslatedRoute(d,"event",{id:y.customId,name:y.slug,sport:S}).route}),i.end()),i&&!u.Hk.includes(S))throw Error("Unsupported sport");if(u.so.includes(S))throw Error("Stage sports do not have event page!");try{t=await r.nk6.fetchStandingsProperties(y.tournament.id,null==(p=y.season)?void 0:p.id)}catch(e){}let A=(0,r.S$s)(),T=(await n.e(81088).then(n.t.bind(n,81088,19))).default;return e.dispatch((0,na.Od)(T)),e.dispatch((0,ns.Vy)(S)),{event:y,meta:b,eventMeta:w,seoContent:k,initialHasLineups:C,revalidate:A,incidents:_,initialStandingsProperties:t}}catch(e){return i&&(i.statusCode=404),{error:e}}})},17887:e=>{e.exports=JSON.parse('{"ice-hockey":{"forward":"stats.forwards","defenseman":"hockey_defensemen","goalie":"legend_hockey_goalies"}}')},23246:(e,t,n)=>{n.d(t,{A:()=>d});var a=n(6029),r=n(99064),s=n(71024),i=n.n(s),l=n(56132);let o=i()(()=>Promise.all([n.e(83713),n.e(61483),n.e(62878)]).then(n.bind(n,55891)),{loadableGenerated:{webpack:()=>[55891]},ssr:!1});function d(e){let{uniqueTournament:t,seasonId:n,sport:s}=e;return(0,a.jsx)(r.tU.Panel,{tabKey:l.x.Knockout,children:(0,a.jsx)(o,{sport:s,uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:n})})}},29180:(e,t,n)=>{n.d(t,{V:()=>a});function a(e,t){if(11!==t.length)throw Error("getFormationMatrix(): Insufficient players to form formation ".concat(e,"."));let n=[],a=["1",...e.split("-")].map(Number),r=[...t];return a.forEach(e=>{n.push(r.splice(0,e))}),n}},32019:(e,t,n)=>{n.d(t,{C:()=>s,Z:()=>i});var a=n(494),r=n(86522);let s=(e,t,n)=>{var a,r,s;let i=null==(a=e.tournament.uniqueTournament)?void 0:a.id;if(i&&(null==n||null==(s=n.uniqueTournaments)||null==(r=s[i])?void 0:r[t]))return null==n?void 0:n.uniqueTournaments[i]},i=(e,t)=>s(e,t,(0,a.d4)(r.g))},34199:(e,t,n)=>{n.d(t,{eD:()=>s.e,l3:()=>r.l,pY:()=>a.p});var a=n(91603),r=n(37721),s=n(33480)},34993:(e,t,n)=>{function a(e,t){let n=[];for(let a=0;al});let r=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,a=[],r=1/n;for(let n=0;n<=e;n+=r)a.push(Math.exp(-n*n/(2*t*t)));return a},s=(e,t,n,a)=>Math.sqrt(Math.pow(n-e,2)+Math.pow(a-t,2)),i=(e,t,n)=>{let a=Math.round(t),r=Math.round(n),s=Math.round(e);return sa?s:a:r};function l(e,t,n,l){try{((e,t,n,l,o)=>{var d,c;let u,{containerId:m,isAway:h=!1,width:x,height:p,numberOfMatches:v,shootMapType:g=1,precisionLevel:f=10,isTransparentBackground:j}=n,{HEIGHT:y,WIDTH:b,MAX_POINT_VALUE:w}=e?{MAX_POINT_VALUE:6,WIDTH:160,HEIGHT:100}:{MAX_POINT_VALUE:9,WIDTH:500,HEIGHT:363},k=document.getElementById(m);if(!k)throw Error("No DOM container element for HeatMap provided");let C=e?(d=v||1,u=14,d&&d>1&&(u=Math.round((1-Math.pow(d/38,.28))*10+4)),u):(c=v||1,c>82?Math.round((1-Math.pow(c/110,.1))*8+12):Math.round((1-Math.pow(c/82,.1))*8+12)),_=e?((e,t)=>{let{width:n,height:r,isFlipped:s=!1,pointMaximum:l=100,widthScaleFactor:o=1.6,heightScaleFactor:d=1,pointValue:c=1}=t,u=a(n,r);return e.forEach(e=>{let t=s?l-e.x:e.x,a=s?e.y:l-e.y,m=i(t*o,0,n-1),h=i(a*d,0,r-1);u[m][h]+=c*(e.count||1)}),u})(t,{isFlipped:h,width:b,height:y}):function(e,t,n,r){let s=a(n+1,r+1);return e.forEach(e=>{let{x:n,y:a,made:r,missed:i}=e;switch(t){case 1:s[n- -250][a- -40]+=r+i;break;case 2:s[n- -250][a- -40]+=r;break;default:s[n- -250][a- -40]+=i}}),s}(t,g,b,y);!e&&v&&v>5&&function(e,t,n,a){let r,s,i,l,o,d;for(l=0;l<=100;l++){for(r=0,s=0,i=0,o=2;o<=10;o++)++i,r+=a[l][80-o],s+=a[l][80+o];for(d=0;d<=2;d++)a[l][e+d]=(r+s)/(2*i),a[l][e-d]=(r+s)/(2*i)}}(80,2,0,_);let S=function(e,t,n,a,r){let s=document.createElement("canvas");s.width=1,s.height=1e3;let i=s.getContext("2d");if(!i)throw Error("No color gradient context for heatmap found");let l=i.createLinearGradient(0,0,1,1e3),o=n?{0:r?"var(--graphics-terrain-footballLineups)":"var(--heatmap-hm1)",.1:"var(--heatmap-hm2)",.35:"var(--heatmap-hm3)",.8:"var(--heatmap-hm4)",1:"var(--heatmap-hm5)"}:{0:"#f8d496",.05:"#fee644",.25:"#ff9000",.4:"#fc6800",.6:"#f00800",.75:"#cc0600",.85:"#b00400",.99:"#940000",1:"#780000"};return Object.keys(o).forEach(e=>{let n=o[e],r=Number(e);a&&r<.2?l.addColorStop(r,t.setAlpha(n,r+.2)):l.addColorStop(r,t.setAlpha(n,1))}),i.fillStyle=l,i.fillRect(0,0,1,e),i.getImageData(0,0,1,e).data}(1e3,l,e,j,o),A=((e,t,n)=>{let{height:a,width:r,gradientScaleFactor:s,gradientRange:i}=n,l=document.createElement("canvas");l.height=a,l.width=r;let o=l.getContext("2d");if(!o)throw Error("No heatmap canvas context found");let d=o.getImageData(0,0,r,a),c=d.data;for(let n=0;n{let{width:r,height:i,influenceRadius:l,precisionLevel:o=10}=n,d=a(r,i);for(let n=0;n{n.d(t,{A:()=>o,q:()=>l});var a=n(6029),r=n(99064),s=n(55729),i=n(43072);let l=e=>{let{initialVisible:t=!1,defaultHeight:n=0,visibleOffset:l=1e3,persist:o=!1,loader:d,children:c,...u}=e,m={initialInView:t,rootMargin:"".concat(l,"px 0px ").concat(l,"px 0px")},[h,x,p]=(0,i.Wx)(m),v=(0,s.useRef)(t),g=(0,s.useRef)(n);(0,s.useEffect)(()=>{x&&!0!==v.current&&(v.current=!0),x&&g.current!==n&&(g.current=(null==p?void 0:p.boundingClientRect.height)||n)},[x,p]);let f=d||(g.current?(0,a.jsx)(r.az,{h:g.current}):null),j=x||o&&v.current;return(0,a.jsx)(r.az,{ref:h,...u,children:j?c:f})},o=l},42181:(e,t,n)=>{n.d(t,{XF:()=>l,g9:()=>d,mi:()=>o,ob:()=>i});var a=n(76356),r=n(99064),s=n(41735);let i="rgba(255, 255, 255,0.3)",l=(0,s.default)(a.so)` position: relative; width: ${e=>e.isHorizontalLayout?"50%":"calc(100% - 16px)"}; flex: ${e=>e.isHorizontalLayout?"1 1 50%":"1 1 430px"}; // max height max-height: ${430}px; background-color: ${e=>e.theme.colors.graphicsTerrain.footballLineups}; ${e=>{let t=`border: 2px solid ${i};`;return e.isHorizontalLayout?"rtl"===e.theme.settings.textDirection?"right"===e.side&&(t+="border-right: none;"):"left"===e.side&&(t+="border-right: none;"):"left"===e.side&&(t+="border-bottom: none;"),t}}; `,o=(0,s.default)(a.so)` z-index: ${r.Py.Button}; flex: ${e=>e.isHorizontalLayout?"1 1 50%":"1 1 430px"}; ${e=>e.isHorizontalLayout?"height: 430px;":"max-height: 430px;"} // direction flex-direction: ${e=>{let t=e.isHorizontalLayout?"row":"column";return"right"===e.side&&(t=e.isHorizontalLayout?"row-reverse":"column-reverse"),t}}; ${e=>{let t="";return e.isHorizontalLayout?"rtl"===e.theme.settings.textDirection?"right"===e.side?t+="border-right: none;":t+="border-left: none;":"left"===e.side?t+="border-right: none;":t+="border-left: none;":"left"===e.side?t+="border-bottom: none;":t+="border-top: none;",t}}; `,d=s.default.div` position: absolute; z-index: ${r.Py.Backdrop}; top: 0; left: 0; width: 100%; height: 100%; ${e=>e.isHorizontalLayout&&"height: 428px;"} user-select: none; ${e=>"rtl"===e.theme.settings.textDirection&&e.isHorizontalLayout?"left"===e.side&&"transform: rotate(180deg);":"right"===e.side&&"transform: rotate(180deg);"} .goal { position: absolute; z-index: ${r.Py.Backdrop}; left: calc(50% - 80px); top: -1px; ${e=>e.isHorizontalLayout&&` transform-origin: top left; transform: translateY(160px) rotate(-90deg); top: calc(50% - 80px); left: -1px; `} } .center { position: absolute; z-index: ${r.Py.Backdrop}; bottom: -1px; left: calc(50% - 64px); ${e=>e.isHorizontalLayout&&` transform: rotate(-90deg); transform-origin: top; top: 50%; right: -1px; left: unset; `} } .c1, .c2 { position: absolute; z-index: ${r.Py.Backdrop}; top: 0; } .c1 { left: 0; } .c2 { right: 0; ${e=>e.isHorizontalLayout&&` transform: rotate(180deg); top: unset; right: unset; bottom: 0; left: 0; `} } .logo { position: absolute; z-index: ${r.Py.Backdrop}; bottom: 16px; right: 12px; } `},44224:(e,t,n)=>{n.d(t,{j:()=>l});var a=n(4967),r=n(45860),s=n(77669);let i=e=>fetch(e,{method:"HEAD",cache:"no-store"});function l(){let{data:e,error:t,isLoading:n}=(0,r.Ay)(s.sp,{fetcher:i,dedupingInterval:a.d_});return{isLoading:n,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}},50526:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(6029),r=n(494),s=n(72753),i=n(28349),l=n(76356),o=n(52466);function d(){return(0,a.jsx)("a",{href:"https://certifications.gamingcommission.gov.gr/publicRecordsOnline/SitePages/KatoxoiAdeiasOnline.aspx",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,a.jsxs)(l.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,a.jsx)(l.az,{h:"xl",w:"xl",children:(0,a.jsx)(o.OE_,{w:"24px",h:"24px",fill:"onSurface.nLv3",fillOpacity:1})}),(0,a.jsx)(i.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function c(){return"GR"===(0,r.d4)(s.LQ)?(0,a.jsx)(d,{}):null}},52887:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(6029),r=n(76356),s=n(46222);function i(){return(0,a.jsx)(s.Zp,{children:(0,a.jsx)(r.az,{h:"[762px]"})})}},54521:(e,t,n)=>{n.d(t,{C:()=>i});var a=n(55729),r=n(494),s=n(72753);function i(e){let t=(0,a.useMemo)(()=>(0,s.vt)(),[]);return(0,r.d4)(t,e)}},56321:(e,t,n)=>{n.d(t,{b:()=>u,h:()=>l});var a=n(6029),r=n(21377),s=n(93338),i=n(96678);let l=e=>{let{x:t,y:n,type:i,color:l,isSelected:o,backgroundOpacity:d,opacity:c}=e,u=l&&s.S.var(l);return(0,a.jsxs)("g",{opacity:c,children:[(0,a.jsx)("circle",{cx:t,cy:n,r:o?8:6,stroke:u,strokeWidth:1,fill:o?"#fff":s.S.var("colors.homeAway.shotFill"),fillOpacity:d}),i===r.Dme.Made&&(0,a.jsx)("circle",{cx:t,cy:n,r:o?6:4,fill:u}),i===r.Dme.Saved&&(0,a.jsx)("circle",{cx:t,cy:n,r:o?3:2,fill:u}),i===r.Dme.Blocked&&(0,a.jsx)("rect",{x:t-4,y:n-1,width:8,height:2,fill:u})]})},o=e=>{let{x:t,y:n,color:r,opacity:i,isSelected:l}=e,o=r&&s.S.var(r);return l?(0,a.jsxs)("g",{transform:"translate(".concat(t-10," ").concat(n-10,")"),fill:"none",fillRule:"evenodd",children:[(0,a.jsx)("circle",{fill:"#fff",transform:"rotate(90 9.9 9.9)",cx:"9.899",cy:"9.899",r:"8"}),(0,a.jsx)("circle",{fill:o,cx:"9.899",cy:"9.899",r:"1.5"}),(0,a.jsx)("path",{stroke:o,strokeWidth:"1.5",d:"M11.667 8.132 14.85 4.95M4.95 14.85l3.182-3.183M4.95 4.95l3.182 3.182M11.667 11.667l3.182 3.182"}),(0,a.jsx)("path",{stroke:o,strokeWidth:"1.5",d:"M9.9 6.9v-4M9.9 16.9v-4M2.9 9.9h4M12.9 9.9h4"})]}):(0,a.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(".concat(t-8.5," ").concat(n-8.5,")"),opacity:i,children:[(0,a.jsx)("circle",{stroke:o,fillOpacity:i,fill:o,cx:"8.485",cy:"8.485",r:"1"}),(0,a.jsx)("path",{stroke:o,d:"m9.9 7.071 2.828-2.828M4.243 12.728 7.07 9.9M4.243 4.243 7.07 7.07M9.9 9.9l2.828 2.828"}),(0,a.jsx)("path",{stroke:o,d:"M8.485 5.985v-3M8.485 13.985v-3M2.985 8.485h3M10.985 8.485h3"})]})},d=e=>{let{x:t,y:n,color:r,opacity:i,isSelected:l}=e,o=l?10:9,d=r&&s.S.var(r);return(0,a.jsx)("path",{transform:"translate(".concat(t-o," ").concat(n-o,")"),d:l?"m16.02 6.121-3.888 3.888 3.889 3.89-2.122 2.122-3.889-3.89-3.889 3.89L4 13.899l3.89-3.89L4 6.121 6.121 4l3.89 3.888L13.898 4l2.122 2.121z":"M14.006 5.768 10.77 9l3.235 3.237-1.768 1.768-3.235-3.237-3.235 3.237L4 12.238 7.235 9 4 5.768 5.768 4l3.235 3.234L12.238 4l1.768 1.768z",fill:d,fillOpacity:i,fillRule:"evenodd"})},c=e=>{let{x:t,y:n,color:r,isSelected:i}=e,l=r&&s.S.var(r);return i?(0,a.jsxs)("g",{children:[(0,a.jsx)("circle",{fillOpacity:".15",fill:l,r:"8",cx:t,cy:n}),(0,a.jsx)("circle",{fill:l,r:"3",cx:t,cy:n}),(0,a.jsx)("circle",{fill:"#fff",r:"2",cx:t,cy:n})]}):null};function u(e){let t=(0,i.P7)(),n=e.isSelected?t:"colors.neutrals.nLv3",s=e.isSelected?1:.5;switch(e.type){case r.Dme.Made:case r.Dme.Saved:case r.Dme.Blocked:case r.Dme.Missed:return(0,a.jsx)(l,{...e,color:n,opacity:s,isSelected:e.isSelected});case r.Dme.Hit:return(0,a.jsx)(o,{...e,color:n,opacity:s,isSelected:e.isSelected});case r.Dme.Suspension:return(0,a.jsx)(d,{...e,color:n,opacity:s,isSelected:e.isSelected});case r.Dme.FaceOff:return(0,a.jsx)(c,{...e,color:n,opacity:s,isSelected:e.isSelected});default:return null}}},58706:(e,t,n)=>{n.d(t,{$7:()=>d,$u:()=>o,Ay:()=>u,Co:()=>i,o_:()=>l,uv:()=>c});var a=n(6029),r=n(90547),s=n(41735);let i=8,l=328,o=e=>(0,a.jsx)("svg",{width:"100%",viewBox:"-".concat(i," -").concat(i," ").concat(l+2*i," ").concat(139+2*i),children:e.children}),d=e=>{let{fill:t}=e,n=(0,s.useTheme)();return(0,a.jsx)("path",{d:"M302.77 0C316.703 0 328 11.392 328 25.305v88.171C328 127.39 316.704 139 302.77 139H25.23C11.297 139 0 127.39 0 113.476v-88.17C0 11.391 11.296 0 25.23 0h277.54z",fill:t||n.colors.surface.s2,fillRule:"evenodd"})},c=e=>{let{fill:t}=e,n=(0,s.useTheme)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.default,{x:l/2-12,y:57.5,fill:"onSurface.nLv1"}),(0,a.jsxs)("g",{fill:t||n.colors.onSurface.nLv1,fillRule:"nonzero",children:[(0,a.jsx)("path",{d:"M302.77 0C316.703 0 328 11.392 328 25.305v88.171C328 127.39 316.704 139 302.77 139H25.23C11.297 139 0 127.39 0 113.476v-88.17C0 11.391 11.296 0 25.23 0h277.54zm0 1H25.23C11.878 1 1.052 11.972 1.052 25.305v88.171C1.051 126.81 11.877 138 25.231 138h277.538c13.354 0 24.18-11.19 24.18-24.524v-88.17C326.949 11.971 316.123 1 302.769 1z"}),(0,a.jsx)("path",{d:"M16 2h1.05v135H16zM118.5 0h1.05v138.77h-1.05zM1 91.959 16 87v1.06L1.023 93zM15.992 50.95 1 46v1.057L16 52z"}),(0,a.jsx)("path",{d:"M26.992 69.5c0-3.043-1.406-5.843-3.908-7.887l-.139-.113h-5.953v1l5.7.02c1.993 1.788 3.216 4.132 3.3 6.678v.302c0 2.63-1.228 5.135-3.3 7.011l-5.7-.011v1h5.956l.139-.116c2.471-2.054 3.905-4.894 3.905-7.884zM12 63h4v.929h-3V75.07h3V76h-4zM28 33.5c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm1 0c0 12.703 10.297 23 23 23s23-10.297 23-23-10.297-23-23-23-23 10.297-23 23z"}),(0,a.jsx)("path",{d:"M50 33.5c0-1.104.894-2 1.997-2 1.103 0 1.997.896 1.997 2 0 1.105-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1.012 0c0 .546.442.988.985.988a.986.986 0 0 0 .984-.988.986.986 0 0 0-.984-.988.986.986 0 0 0-.985.988zM48.5 56.77v5.256h1.05v-5.257zM54.5 56.775v5.257h1.05v-5.257zM48.5 5v5.256h1.05V5zM54.5 5v5.256h1.05V5zM28 105.5c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm1 0c0 12.703 10.297 23 23 23s23-10.297 23-23-10.297-23-23-23-23 10.297-23 23z"}),(0,a.jsx)("path",{d:"M50 105.5c0-1.104.894-2 1.997-2 1.103 0 1.997.896 1.997 2 0 1.105-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1.012 0c0 .546.442.988.985.988a.986.986 0 0 0 .984-.988.986.986 0 0 0-.984-.988.986.986 0 0 0-.985.988zM54.5 128.8v5.256h1.05V128.8zM48.5 128.8v5.256h1.05V128.8zM54.5 77v5.256h1.05V77zM48.5 77v5.256h1.05V77zM126 105.5c0-1.105.894-2 1.997-2 1.103 0 1.997.895 1.997 2s-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1 0c0 .553.447 1 .997 1s.996-.447.996-1c0-.553-.446-1-.996-1a.998.998 0 0 0-.996 1zM126.05 33.5c0-1.104.894-2 1.997-2 1.102 0 1.996.896 1.996 2 0 1.105-.894 2-1.996 2a1.998 1.998 0 0 1-1.997-2zm1 0c0 .553.447 1 .997 1s.996-.447.996-1c0-.553-.447-1-.996-1a.998.998 0 0 0-.997 1zM312.05 2H311v135h1.05zM209.55 0h-1.05v139h1.05z"}),(0,a.jsx)("path",{d:"M327 91.959 312 87v1.06L326.977 93zM312.008 50.95 327 46v1.057L312 52zM301 69.5c0-3.043 1.406-5.843 3.908-7.887l.139-.113H311v1l-5.7.02c-1.993 1.788-3.216 4.132-3.3 6.678v.302c0 2.63 1.228 5.135 3.3 7.011l5.7-.011v1h-5.955l-.14-.116C302.434 75.33 301 72.49 301 69.5zM316 63h-4v.929h3V75.07h-3V76h4zM301 105.5c0-13.255-10.745-24-24-24s-24 10.745-24 24 10.745 24 24 24 24-10.745 24-24zm-.991 0c0 12.703-10.298 23-23 23-12.703 0-23-10.297-23-23s10.297-23 23-23c12.702 0 23 10.297 23 23z"}),(0,a.jsx)("path",{d:"M278.994 105.5c0-1.105-.894-2-1.997-2a1.998 1.998 0 0 0-1.997 2c0 1.105.894 2 1.997 2a1.998 1.998 0 0 0 1.997-2zm-1.013 0a.986.986 0 0 1-.984.988.986.986 0 0 1-.985-.988c0-.546.442-.988.985-.988.543 0 .984.442.984.988zM280.55 128.8v5.256h-1.05V128.8zM274.55 128.8v5.256h-1.05V128.8zM280.55 77v5.256h-1.05V77zM274.55 77v5.256h-1.05V77zM301 33.499c0-13.255-10.745-24-24-24s-24 10.745-24 24 10.745 24 24 24 24-10.745 24-24zm-1 0c0 12.703-10.297 23-23 23s-23-10.297-23-23 10.297-23 23-23 23 10.297 23 23z"}),(0,a.jsx)("path",{d:"M278.994 33.5c0-1.105-.894-2-1.997-2a1.998 1.998 0 0 0-1.997 2c0 1.105.894 2 1.997 2a1.998 1.998 0 0 0 1.997-2zm-1.013 0a.986.986 0 0 1-.984.988.986.986 0 0 1-.985-.988c0-.546.442-.988.985-.988.543 0 .984.442.984.988zM280.55 56.77v5.256h-1.05V56.77zM274.55 56.77v5.256h-1.05V56.77zM280.55 5.262v5.257h-1.05V5.262zM274.55 5.262v5.257h-1.05V5.262zM201.992 105.5a2 2 0 1 0-4 0 2 2 0 0 0 4 0zm-1.002 0a.999.999 0 1 1-1.998.002.999.999 0 0 1 1.998-.002zM201.992 33.508a2 2 0 1 0-4 0 2 2 0 0 0 4 0zm-1.002 0a.999.999 0 1 1-1.998.002.999.999 0 0 1 1.998-.002zM148 138c0-8.837 7.163-16 16-16s16 7.163 16 16h-1c0-8.332-6.668-15-15-15s-15 6.668-15 15h-1zM140.042 69.5c0-13.232 10.726-23.958 23.958-23.958 13.232 0 23.958 10.726 23.958 23.958 0 13.232-10.726 23.958-23.958 23.958-13.232 0-23.958-10.726-23.958-23.958zm-1.042 0c0 13.807 11.193 25 25 25s25-11.193 25-25-11.193-25-25-25-25 11.193-25 25z"}),(0,a.jsx)("path",{d:"M162.003 69.5c0-1.105.894-2 1.997-2 1.103 0 1.997.895 1.997 2s-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1 0c0 .553.447 1 .997 1s.996-.447.996-1c0-.553-.446-1-.996-1a.998.998 0 0 0-.996 1zM163.5 2h1v4.355h-1zM163.5 10.71h1v4.355h-1zM163.5 19.42h1v4.354h-1zM163.5 28.13h1v4.354h-1zM163.5 36.839h1v4.355h-1zM163.5 45.548h1v4.355h-1zM163.5 54.258h1v4.355h-1zM163.5 62.968h1v4.355h-1zM163.5 71.677h1v4.355h-1zM163.5 80.387h1v4.355h-1zM163.5 89.097h1v4.355h-1zM163.5 97.806h1v4.355h-1zM163.5 106.516h1v4.355h-1zM163.5 115.226h1v4.355h-1zM163.5 123.935h1v4.355h-1zM163.5 132.645h1V137h-1z"})]})]})};function u(e){let{children:t}=e;return(0,a.jsxs)(o,{children:[(0,a.jsx)(d,{}),(0,a.jsx)(c,{}),t]})}},59721:(e,t,n)=>{n.d(t,{e:()=>a.e});var a=n(33480)},60128:(e,t,n)=>{n.d(t,{A:()=>m});var a=n(6029),r=n(99064),s=n(55729),i=n(41735),l=n(56321);function o(e){let{isAway:t,fill:n}=e,{colors:r,settings:s}=(0,i.useTheme)(),l={transform:""};return t&&(l.transform="rotate(180deg)"),"rtl"===s.textDirection&&(l.transform+=" scale(-1,1)"),(0,a.jsx)("svg",{width:"88",height:"20",viewBox:"0 0 88 20",style:l,children:(0,a.jsx)("g",{fill:n||r.surface.s1,fillRule:"evenodd",children:(0,a.jsx)("path",{d:"m87.2 9.845-12 8v-16zM.8 7.845h74.4v4H.8z"})})})}var d=n(33559),c=n(58706),u=n(96678);function m(e){let{isLeft:t,isInverseTeams:n=!1,shots:m}=e,{colors:h}=(0,i.useTheme)(),{selectedShot:x}=(0,s.useContext)(u.XM),p=t?"colors.homeAway.home.primary":"colors.homeAway.away.primary";return(0,a.jsxs)(a.Fragment,{children:[void 0!==t&&(0,a.jsx)(r.so,{w:"100%",justify:"center",mt:"xs",children:(0,a.jsx)(o,{fill:h.onSurface.nLv2,isAway:!t})}),(0,a.jsx)(r.so,{justify:"center",children:(0,a.jsx)(r.az,{maxW:[2*c.Co+c.o_,void 0],w:"100%",children:(0,a.jsxs)(c.Ay,{children:[m.map(e=>{let r=(0,d.mK)(e,n);return void 0===t?(0,a.jsx)(l.b,{x:r.x,y:r.y,type:e.type,commentId:e.id},e.id):(0,a.jsx)(l.h,{x:r.x,y:r.y,type:e.type,color:p,commentId:e.id,backgroundOpacity:.25},e.id)}),x&&(0,a.jsx)(l.b,{...(0,d.mK)(x,n),type:x.type,commentId:x.id,isSelected:!0})]})})})]})}},60682:(e,t,n)=>{n.d(t,{Z:()=>a});let a=(e,t)=>{let n=null==e?void 0:e.provider,a=null==e?void 0:e.fallbackProvider;return t&&(null==n?void 0:n.liveOddsFrom)?[null==n?void 0:n.liveOddsFrom.id,null==a?void 0:a.id]:(null==n?void 0:n.oddsFrom)?[null==n?void 0:n.oddsFrom.id,null==a?void 0:a.id]:[null==n?void 0:n.id,null==a?void 0:a.id]}},67020:(e,t,n)=>{n.d(t,{b4:()=>x,V3:()=>l,HM:()=>j,k9:()=>d,HI:()=>o});var a=n(6029),r=n(55729),s=n(15341);let i=(0,r.createContext)(void 0),l=e=>{let{children:t,persistKey:n}=e,[r,l]=(0,s.A)(n,[]);return(0,a.jsx)(i.Provider,{value:{recentlySelected:r,setRecentlySelected:l},children:t})},o=()=>{let e=(0,r.useContext)(i);if(void 0===e)throw Error("useRecentSearch must be used within a RecentSearchesProvider");return{recentlySelected:e.recentlySelected,addToRecentlySelected:t=>{let n=e.recentlySelected.filter(e=>e.id!==t.id).slice(0,4),a=[t,...n];e.setRecentlySelected(a)},removeFromRecentlySelected:t=>{let n=e.recentlySelected.filter(e=>e.id!==t.id);e.setRecentlySelected(n)}}};function d(e,t,n,a){return e.length?e.length===(null==n?void 0:n.length)&&e.length===(null==t?void 0:t.length)&&e.length===(null==a?void 0:a.length)?{ids:e.map(e=>null!=e?e:"_").join(","),ut_ids:null==n?void 0:n.map(e=>null!=e?e:"_").join(","),s_ids:null==t?void 0:t.map(e=>null!=e?e:"_").join(","),s_types:null==a?void 0:a.map(e=>null!=e?e:"_").join(",")}:{ids:e.map(e=>null!=e?e:"_").join(",")}:{}}var c=n(94446),u=n(99064),m=n(52466),h=n(94156);let x=e=>{let{player:t,onPlayerClick:n,onRemoveClick:r}=e;return(0,a.jsxs)(u.so,{onClick:()=>n(t),h:"56px",align:"center",cursor:"pointer",children:[(0,a.jsx)(c.t,{id:t.id,name:t.name,size:40,grayscale:t.deceased}),(0,a.jsxs)(u.so,{direction:"column",justify:"center",h:"100%",gap:"xs",grow:1,pl:"sm",children:[(0,a.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",ellipsis:!0,maxW:["250px","130px"],children:(0,a.jsx)(h.c,{entity:t})}),(0,a.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,a.jsx)(c.p,{id:t.team.id,size:16}),(0,a.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,ellipsis:!0,maxW:["300px","120px"],children:(0,a.jsx)(h.c,{entity:t.team})})]})]}),void 0!==r&&(0,a.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==r||r(t)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,a.jsx)(m.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})};var p=n(49519),v=n(21377),g=n(79131),f=n(88505);let j=e=>{var t,n,r,s,i,l,o,d,c;let{team:h,onTeamClick:x,onRemoveClick:j}=e,y=(null==(t=h.sport)?void 0:t.slug)===v.QCR.Tennis;return(0,a.jsxs)(u.so,{gap:"sm",onClick:()=>x(h),align:"center",cursor:"pointer",py:"sm",children:[(0,a.jsx)(p.p,{id:h.id,name:h.name,size:40}),(0,a.jsxs)(u.so,{direction:"column",gap:"xs",grow:1,children:[(0,a.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,a.jsx)(f.Rm,{team:h,showFemaleSuffix:h.gender===v.YT8.Female&&!y})}),!h.national&&(null==(n=h.country)?void 0:n.slug)&&(null==(r=h.country)?void 0:r.name)&&!y&&(0,a.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,a.jsx)(p.w,{size:16,alpha2:null==(s=h.country)?void 0:s.alpha2,name:null==(i=h.country)?void 0:i.name}),(0,a.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,a.jsx)(g.m,{slug:h.country.slug,name:h.country.name})})]}),y&&h.country&&h.country.name&&(0,a.jsxs)(u.so,{align:"center",gap:"xs",children:[(0,a.jsx)(p.w,{size:16,alpha2:null==(l=h.country)?void 0:l.alpha2,name:null==(o=h.country)?void 0:o.name}),(0,a.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,a.jsx)(g.m,{name:h.country.name,slug:null!=(c=null==(d=h.country)?void 0:d.slug)?c:h.country.name})})]})]}),void 0!==j&&(0,a.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==j||j(h)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,a.jsx)(m.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})}},67086:(e,t,n)=>{n.d(t,{N:()=>r});var a=n(49856);function r(e,t){return"en"===t||t===a.vo[e]}},67536:(e,t,n)=>{n.r(t),n.d(t,{default:()=>$});var a=n(6029),r=n(32523),s=n(21377),i=n(55729),l=n(18970),o=n(74610),d=n(22830),c=n(46222),u=n(99064),m=n(90248),h=n(41164),x=function(e){return e.All="all",e.KeyEvents="key-events",e}({});let p=e=>[s.QCR.AmericanFootball,s.QCR.Basketball].includes(e),v=e=>{let{selectedTab:t,onTabChange:n}=e,{event:r}=(0,i.useContext)(l.y$),s=p((0,h.c5)(r));return(0,a.jsx)(u.tU,{variant:"quaternary",initialValue:x.All,value:t,onChange:n,children:(0,a.jsxs)(u.tU.List,{p:"sm",elevation:[2,void 0],borderBottom:s?void 0:"onSurface.nLv4",bg:["surface.s1",void 0],children:[(0,a.jsx)(u.tU.Tab,{tabKey:x.All,children:(0,a.jsx)(m.A,{id:"basic.all"})}),(0,a.jsx)(u.tU.Tab,{tabKey:x.KeyEvents,children:(0,a.jsx)(m.A,{id:"commentary_key_events"})})]})})};var g=n(76356),f=n(24414),j=n(81484),y=n(18858);let b=e=>{let{periods:t,selectedPeriod:n,onPeriodChange:r}=e,s=(0,i.useContext)(l.Ws),o=(0,y.Ay)();return t.length&&p(s)?(0,a.jsx)(u.PI,{top:o,bg:"surface.s1",zIndex:u.Py.Sticky-1,children:(0,a.jsx)(g.az,{p:"sm",bg:"surface.s1",borderBottom:"1px solid {colors.neutrals.nLv4}",children:(0,a.jsx)(f.n,{activeTabKey:n,onChange:r,tabs:t.map(e=>({tabKey:e,tabValue:(0,a.jsx)(j.fP,{id:e,short:!0})})),variant:"secondary"})})}):null};var w=n(28349),k=n(14868),C=n(45860),_=n(9220),S=n(40076);let A=e=>{let{event:t}=(0,i.useContext)(l.y$),n=e.isHome?t.homeTeam:t.awayTeam,a=e.player,r=function(e,t){let n=e.isHome?t.homeTeam.shortName:t.awayTeam.shortName;switch(e.type){case"touchdown":return"Touchdown ".concat(n,"!");case"fieldGoalMiss":return"Missed Field Goal";case"twoPointConversion":return"2-PT Conversion";case"turnoverOnDowns":return"Turnover on Downs";case"fourthDownConversion":return"4th Down Conversion";case"passInterception":return"Interception";case"passInterceptionReturn":return"Interception Return";case"tenYardsPlay":return"".concat(e.yardsGained," Yard ").concat("run"===e.playType?"Run":"Pass");case"fieldGoal":return"Field Goal";case"extraPoint":return"Extra Point";case"safety":return"Safety";default:return null}}(e,t);return{team:n,player:a,title:r,text:function(e){return"twoMinuteWarning"===e.type?"Two-Minute Warning":e.text}(e),downDistance:function(e,t){if("extraPoint"===e.type){let n=1===e.teamHalf?t.homeTeam.nameCode:t.awayTeam.nameCode;return"XP attempt from ".concat(n," ").concat(e.yardline)}let n={currentDown:e.down,currentTeamHalf:e.teamHalf,currentPossession:e.possession,currentYardline:e.yardline,currentYardsToFirstDown:e.yardsToFirstDown,isGoalPossession:e.isGoal};return(0,S.XE)(n,t)}(e,t)}},T=e=>{let{comment:t}=e,{player:n,team:r,title:s,text:i,downDistance:l}=A(t);return(0,a.jsxs)(g.so,{children:[(0,a.jsx)(_.JJ,{comment:t}),(0,a.jsxs)(_.cH,{bg:"surface.s0",image:n&&(0,a.jsx)(_.Ez,{id:n.id,teamId:r.id}),players:[n],children:[s&&(0,a.jsx)(_.SI,{children:s}),i&&(0,a.jsx)(_.jv,{children:i}),l&&(0,a.jsx)(_.jv,{secondary:!0,children:l})]})]})},R=e=>{let{comments:t}=e;return(0,a.jsx)(g.so,{direction:"column",gap:"lg",p:"lg",children:t.map(e=>(0,a.jsx)(T,{comment:e},e.id))})};var I=n(33144),z=n(4967);let M=e=>{let{drive:t}=e;return(0,a.jsxs)(g.so,{gap:"lg",align:"center",children:[(0,a.jsx)(I.p,{id:t.teamId,w:32,h:32}),(0,a.jsxs)(g.so,{direction:"column",align:"flex-start",children:[(0,a.jsx)(w.EY,{textStyle:"display.medium",color:null!==t.endReason?"neutrals.nLv1":"status.live",children:t.endReason||(0,a.jsx)(m.A,{id:"inProgress"})}),(0,a.jsx)(w.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,a.jsx)(m.A,{id:"am_football_drive_summary",values:{plays:t.playCount,yards:t.netDriveYards,time:(0,z.OV)(t.durationSeconds)}})})]})]})},P=e=>{let{comment:t,drive:n,defaultOpened:r=!1}=e;return(0,a.jsxs)(u.nD.Item,{defaultOpened:r,bg:"surface.s1",elevation:[2,void 0],br:["lg",void 0],borderTop:[void 0,"onSurface.nLv4"],borderBottom:[void 0,"onSurface.nLv4"],mt:-1,overflow:"hidden",children:[(0,a.jsx)(u.nD.Trigger,{children:(0,a.jsx)(M,{drive:n})}),(0,a.jsx)(u.nD.Content,{children:(0,a.jsx)(R,{comments:t})})]})},H=e=>{let{comment:t}=e,{player:n,team:r,title:s,text:i,downDistance:l}=A(t);return(0,a.jsxs)(g.so,{children:[(0,a.jsx)(_.JJ,{comment:t}),(0,a.jsxs)(_.cH,{image:n&&(0,a.jsx)(_.Ez,{id:n.id,teamId:r.id}),players:[n],elevation:{mdDown:"2"},children:[s&&(0,a.jsx)(_.SI,{children:s}),i&&(0,a.jsx)(_.jv,{children:i}),l&&(0,a.jsx)(_.jv,{secondary:!0,children:l})]})]})},L=e=>{let{comment:t}=e,{player:n,team:r,title:s,text:i,downDistance:l}=A(t);return(0,a.jsxs)(g.so,{br:"lg",elevation:{mdDown:"2"},bg:{mdDown:"surface.s1"},py:{md:"md"},px:{md:"lg"},children:[(0,a.jsx)(_.JJ,{comment:t}),(0,a.jsxs)(_.cH,{bg:{base:"surface.s1",md:"surface.s0"},image:n&&(0,a.jsx)(_.Ez,{id:n.id,teamId:r.id}),players:[n],children:[s&&(0,a.jsx)(_.SI,{children:s}),i&&(0,a.jsx)(_.jv,{children:i}),l&&(0,a.jsx)(_.jv,{secondary:!0,children:l})]})]})},B=e=>{let{selectedTab:t,selectedPeriod:n,comments:r,periods:o}=e,{drives:c}=(()=>{let{event:e}=(0,i.useContext)(l.y$),t=(0,d.j)((0,h.c5)(e)),{data:n}=(0,C.Ay)(t?s.bnp.commentary(e.id,t):null,(0,h.rf)(e));return{drives:null==n?void 0:n.drives}})();if(t===x.KeyEvents)return(0,a.jsx)(g.so,{p:"md",direction:"column",gap:"md",children:r.map(e=>(0,a.jsx)(H,{comment:e},e.id))});let m=r.findIndex(e=>!!Array.isArray(e)||void 0!==e.driveId);return(0,a.jsx)(u.nD,{children:(0,a.jsxs)(g.so,{p:{mdDown:"md"},direction:"column",gap:{mdDown:"md"},children:[(0,a.jsx)(g.az,{hideBelow:"md",children:(0,a.jsx)(g.cG,{})}),r.map((e,t)=>{let r=function(e){return Array.isArray(e)?e:[e]}(e),s=function(e,t){return void 0===e||void 0===t?null:t.find(t=>t.id===e)}(r[0].driveId,c);return s?(0,a.jsx)(P,{comment:r,drive:s,defaultOpened:function(e,t,n){return 0!==e.length&&[e[0],e[e.length-1]].includes(t)&&n}(o||[],n,m===t)},r[0].id):(0,a.jsx)(L,{comment:r[0]},r[0].id)})]})})};var E=n(67087);let F={freeThrowMade:"basketball_free_throw_made",twoPointMade:"basketball_two_points_made",threePointMade:"basketball_three_points_made"},O=e=>{let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),{homeTeam:r,awayTeam:s}=n,o="ownGoal"===t.goalType,d="penalty"===t.goalType,c=!o&&!d,u=t.player,h=t.isHome?r.id:s.id;return u?(0,a.jsxs)(_.hF,{children:[(0,a.jsx)(_.JJ,{comment:t}),(0,a.jsxs)(_.cH,{image:(0,a.jsx)(_.Ez,{id:u.id,teamId:h}),players:[u],children:[(0,a.jsx)(_.SI,{isUppercase:c,children:c?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.A,{id:"goal"}),"!"]}):(0,a.jsx)(m.A,{id:t.goalType})}),(0,a.jsx)(_.jv,{children:t.text})]})]}):null},D=e=>{let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),r=t.isHome?n.homeTeam:n.awayTeam;return t.playerIn&&t.playerOut?(0,a.jsxs)(_.hF,{children:[(0,a.jsx)(_.JJ,{comment:t}),(0,a.jsxs)(_.cH,{image:(0,a.jsx)(I.p,{size:24,id:r.id,name:r.name}),players:[t.playerIn,t.playerOut],children:[(0,a.jsx)(_.SI,{children:(0,a.jsx)(m.A,{id:"substitution"})}),(0,a.jsxs)(_.Pc,{image:(0,a.jsx)(_.Ez,{id:t.playerIn.id,small:!0}),children:[t.playerIn.name,(0,a.jsxs)(w.EY,{ml:"2xs",textStyle:"body.small",color:"secondary.default",children:["(",(0,a.jsx)(m.A,{id:"substitution.in"}),")"]})]}),(0,a.jsxs)(_.Pc,{image:(0,a.jsx)(_.Ez,{id:t.playerOut.id,small:!0}),children:[t.playerOut.name,(0,a.jsxs)(w.EY,{ml:"2xs",textStyle:"body.small",color:"status.error.default",children:["(",(0,a.jsx)(m.A,{id:"substitution_out"}),")"]})]})]})]}):null};var Q=n(46517),W=n(29695);let K={[s.QCR.Football]:e=>{let{comment:t}=e;switch(t.type){case"scoreChange":case"penaltyScored":return(0,a.jsx)(O,{comment:t});case"substitution":return(0,a.jsx)(D,{comment:t});default:return(0,a.jsx)(Q.b,{comment:t})}},[s.QCR.Basketball]:function(e){let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),[r,s]=(0,E.jr)(t,"homeScore","awayScore"),{isHome:o,player:d,playerIn:c,playerOut:u,goalkeeper:h}=t,x=void 0===o?void 0:o?n.homeTeam:n.awayTeam,p=d&&(0,a.jsx)(_.Ez,{id:d.id,teamId:null==x?void 0:x.id}),v=function(e){if("scoreChange"===e.type&&e.goalType)return F[e.goalType]}(t),g=t.text,f="scoreChange"===t.type&&!!(null==x?void 0:x.nameCode)&&void 0!==r&&void 0!==s;return(0,a.jsxs)(_.hF,{children:[(0,a.jsx)(_.JJ,{comment:t}),(0,a.jsxs)(_.cH,{image:p,players:[d,c,u,h],children:[v&&(0,a.jsx)(_.SI,{children:(0,a.jsx)(m.A,{id:v})}),g&&(0,a.jsx)(_.jv,{children:g}),f&&(0,a.jsx)(w.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:"".concat(x.nameCode," ").concat(r," - ").concat(s)})]})]})},[s.QCR.IceHockey]:W.y},G=e=>{let{comments:t}=e,n=K[(0,i.useContext)(l.Ws)];return(0,a.jsx)(g.so,{p:"md",direction:"column",gap:"md",children:t.map(e=>(0,a.jsx)(n,{comment:e},e.id))})},U=e=>{let{selectedTab:t,selectedPeriod:n,comments:r,periods:o}=e;return(0,i.useContext)(l.Ws)===s.QCR.AmericanFootball?(0,a.jsx)(B,{selectedTab:t,selectedPeriod:n,comments:r,periods:o}):(0,a.jsx)(G,{comments:r})},N=e=>{let{selectedTab:t,selectedPeriod:n,comments:r,periods:o}=e,{isMobile:d}=(0,w.$c)(),{event:u,location:m}=(0,i.useContext)(l.y$),[p,v]=(0,i.useState)(!1),g=function(e,t,n){return t===x.KeyEvents?n.filter(e=>Object.values(s.zZK).includes(e.type)):e===s.QCR.AmericanFootball?function(e){let t=[],n=null,a=null;for(let r of e)void 0!==r.driveId?(r.driveId!==a&&(n=[],t.push(n),a=r.driveId),n&&n.push(r)):(t.push(r),a=null);return t.map(e=>Array.isArray(e)&&1===e.length?e[0]:e)}(n.filter(e=>"timeout"!==e.type||void 0!==e.driveId)):n}((0,h.c5)(u),t,r),f=m&&[l.cb.EventPage].includes(m)&&g.length>10&&!d;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(U,{selectedTab:t,selectedPeriod:n,comments:function(e,t){return t?e:e.slice(0,10)}(g,p||d||m===l.cb.Widget),periods:o}),(0,a.jsx)(c.Zp.Footer,{ctaParams:f?{messageId:p?"show_less":"show_more",onClick:()=>v(e=>!e),icon:p?k.X.Up:k.X.Down}:void 0,defaultHeight:{base:"[0px]",md:"lg"}})]})},Y=e=>{let{periodComments:t,periods:n}=e,r=(0,i.useContext)(l.Ws),{location:o}=(0,i.useContext)(l.y$),d=o===l.cb.Widget,[u,m]=(0,i.useState)(r===s.QCR.Basketball&&n.length?n[n.length-1]:"all"),[h,p]=(0,i.useState)(x.All),g=t[u];return(0,a.jsxs)(c.Zp,{variant:d?"never":"desktop-only",children:[!d&&(0,a.jsx)(c.Zp.Header,{titleId:"commentary",visibility:"desktop-only"}),(0,a.jsx)(b,{periods:n,selectedPeriod:u,onPeriodChange:m}),r!==s.QCR.Basketball&&(0,a.jsx)(v,{selectedTab:h,onTabChange:p}),(0,a.jsx)(N,{selectedTab:h,selectedPeriod:u,comments:g,periods:n})]})},$=()=>{let e=(0,i.useContext)(l.Ws),{textCommentary:t,periods:n}=(0,d.q)(e!==s.QCR.Basketball);return t?(0,a.jsx)(o.t,{tag:"TextCommentary",children:(0,a.jsx)(Y,{periodComments:t,periods:n})}):(0,a.jsx)(r.E,{uniqueKey:"text-commentary-container-cl",rows:10,rowHeight:56,animate:!0})}},68711:(e,t,n)=>{n.d(t,{s:()=>m,S:()=>h});var a=n(6029),r=n(28349),s=n(76356),i=n(55729),l=n(90248),o=n(82536),d=n(18517),c=n(95084);let u=e=>{let{children:t,onClick:n}=e;return(0,a.jsx)("a",{href:"https://nba.sjv.io/c/5441787/2176796/16284",target:"_blank",rel:"noopener",onClick:n,children:t})},m=e=>{let{isOpen:t,setIsOpen:n,location:d}=e,{isDesktop:m}=(0,r.$c)(),h={backgroundImage:"url(/static/images/nba-league-pass/modal.png)",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,i.useEffect)(()=>{t&&(0,c.Z1)({type:"bottom_sheet",name:"nba_league_pass",location:d})},[t]),!t)return null;let x=()=>n(!1);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(o.A,{isOpen:t,setIsOpen:n,footer:null,renderAdPlaceholder:!1,sheetStyles:h,modalContentStyles:h,width:360,children:(0,a.jsxs)(s.az,{style:m?h:void 0,br:"lg",children:[(0,a.jsx)(s.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,a.jsx)(s.az,{w:"4xl",h:"4xl",children:(0,a.jsx)(r._V,{src:"/static/images/nba-league-pass/league-pass-logo.svg",h:"4xl",w:"4xl",alt:"NBA"})})}),(0,a.jsxs)(s.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,a.jsxs)(s.so,{direction:"column",gap:"lg",children:[(0,a.jsx)(s.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:(0,a.jsx)(l.A,{id:"league_pass_promo_title"})}),(0,a.jsx)(s.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:(0,a.jsx)(l.A,{id:"league_pass_promo_body_long"})})]}),(0,a.jsxs)(s.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,a.jsx)(r.$n,{children:(0,a.jsx)(u,{onClick:()=>{(0,c.AW)({type:"bottom_sheet",name:"nba_league_pass",location:d}),x()},children:(0,a.jsx)(s.az,{color:"onColor.primary",children:(0,a.jsx)(l.A,{id:"claim_offer"})})})}),(0,a.jsx)(r.$n,{variant:"clear",color:"onColor.primary",onClick:x,children:(0,a.jsx)(l.A,{id:"maybe_later"})})]})]})]})})})},h=e=>{let{utId:t,location:n}=e,{isNBAModalOpen:r,setIsNBAModalOpen:s}=(0,d.z)(t);return r?(0,a.jsx)(m,{isOpen:r,setIsOpen:s,location:n}):null}},73045:(e,t,n)=>{n.d(t,{e:()=>r.e,l:()=>a.l});var a=n(37721),r=n(33480)},73555:(e,t,n)=>{n.d(t,{d:()=>c});var a=n(6029),r=n(76356),s=n(55729),i=n(46222),l=n(18970),o=n(89721),d=n(3076);let c=e=>{var t;let{noSeasonPicker:n,isNarrowLayout:c,isInlineLayout:u,branding:m,numberOfRows:h=20,noTitle:x=!1}=e,{event:p}=(0,s.useContext)(l.y$),v=null==p||null==(t=p.tournament.uniqueTournament)?void 0:t.hasPerformanceGraphFeature;return(0,a.jsxs)(r.so,{direction:"column",gap:["sm","md"],children:[(0,a.jsxs)(i.Zp,{variant:u?"never":void 0,children:[!c&&!u&&x&&(0,a.jsx)(o.U,{titleId:"app.standings",branding:m}),(0,a.jsxs)(r.az,{children:[!n&&(0,a.jsx)(r.az,{h:"4xl"}),(0,a.jsx)(r.az,{h:"2xl"}),(0,a.jsx)(r.az,{h:"2xl"}),(0,a.jsx)(d.e,{rows:h}),(0,a.jsx)(r.az,{h:"[92px]"}),(0,a.jsx)(r.az,{p:"sm",children:(0,a.jsx)(r.az,{h:"4xl",bg:"surface.s2",br:"lg"})})]})]}),v&&(0,a.jsxs)(i.Zp,{variant:u?"never":void 0,children:[!u&&(0,a.jsx)(i.Zp.Header,{titleId:"standings_tracker_title"}),(0,a.jsx)(r.az,{h:"[542px]"})]})]})}},74207:(e,t,n)=>{n.d(t,{r:()=>u,$:()=>h});var a=n(6029),r=n(21377),s=n(28349),i=n(76356),l=n(55729),o=n(18970),d=n(95084),c=n(64046);function u(e){let{selectedProvider:t,location:n,onClick:u,logClick:m=!0,size:h="56x28"}=e,x=null==t?void 0:t.provider,p=null==t?void 0:t.branded,v=null==t?void 0:t.provider.slug,{location:g}=(0,l.useContext)(o.y$),[f,j]=h.split("x"),y=n||g;return x&&p?(0,a.jsx)(i.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:t.defaultBetSlipLink||x.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==u||u(),m&&(0,d.Fe)({location:y,provider:v,position:c.ki.ProviderLogo})},style:{background:x.colors.primary,width:"".concat(f,"px"),height:"".concat(j,"px")},children:(0,a.jsx)(s._V,{src:r.npy.providerImage(x.id),alt:x.name||"",style:{width:"".concat(f,"px"),height:"auto"}})}):null}var m=n(90248);let h=e=>{let{provider:t}=e;return(null==t?void 0:t.branded)?(0,a.jsxs)(i.so,{justify:"center",align:"center",ml:"lg",children:[(0,a.jsx)(s.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,a.jsx)(m.A,{id:"featured_by"})}),(0,a.jsx)(u,{selectedProvider:t,size:"48x24"})]}):null}},76186:(e,t,n)=>{n.r(t),n.d(t,{default:()=>S});var a=n(6029),r=n(34199),s=n(21377),i=n(28349),l=n(76356),o=n(55729),d=n(90510),c=n(45860),u=n(46222),m=n(18970),h=n(56494),x=n(33140),p=n(64006),v=n(173),g=n(68789),f=n(60682),j=n(88505),y=n(76155),b=n(64046),w=n(6086),k=n(74207);let C=e=>{var t,n;let{team:s}=e,o=null==(t=s.subTeams)?void 0:t[0],d=null==(n=s.subTeams)?void 0:n[1];return(0,a.jsxs)(l.so,{direction:"column",align:"center",flex:"[1 0 0px]",overflow:"hidden",children:[o&&d?(0,a.jsxs)(l.so,{align:"center",justify:"center",gap:"[10px]",mb:"xs",children:[(0,a.jsx)(r.pY,{id:o.id,name:o.name,size:24},o.id),(0,a.jsx)(r.pY,{id:d.id,name:d.name,size:24},d.id)]}):(0,a.jsx)(r.pY,{id:s.id,name:s.name,size:24}),o&&d?[(0,a.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,a.jsx)(j.Rm,{team:o,short:!0})},o.id),(0,a.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,a.jsx)(j.Rm,{team:d,short:!0})},d.id)]:(0,a.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,a.jsx)(j.Rm,{team:s})})]})},_=e=>{let{provider:t,market:n,onClick:r}=e,{isMobile:s}=(0,i.$c)(),o=n.event;return(0,a.jsxs)(l.az,{bg:"surface.s1",p:"sm",children:[(0,a.jsx)(p.tj,{event:o,children:(0,a.jsxs)(l.so,{justify:"center",align:"center",_hover:{bg:"neutrals.nLv4"},cursor:"pointer",p:"xs",mb:"xs",br:"sm",children:[(0,a.jsx)(C,{team:o.homeTeam}),(0,a.jsxs)(l.so,{direction:"column",justify:"center",align:"center",mx:"md",flex:"[1 0 0px]",children:[(0,a.jsx)(i.EY,{textStyle:"display.medium",children:(0,a.jsx)(d.ib,{value:1e3*o.startTimestamp})}),(0,a.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,a.jsx)(d.XU,{value:1e3*o.startTimestamp})})]}),(0,a.jsx)(C,{team:o.awayTeam})]})}),(0,a.jsx)(l.az,{mb:"-xs",children:(0,a.jsx)(w.A,{selectedProvider:t,market:n,onClick:r,hideMarketName:!0,secondary:s})})]})},S=(0,o.forwardRef)((e,t)=>{var n,d;let{preferRecommendedPrematch:j,showHeader:w}=e,{event:C,location:S}=(0,o.useContext)(m.y$),{isMobile:A}=(0,i.$c)(),[T,R]=(0,o.useState)(!1),I=(0,g.F0)(C),[z]=(0,f.Z)(I),M=null==(n=C.tournament)?void 0:n.id,P=null==(d=C.tournament)?void 0:d.category.sport.slug,H=z&&M,L=S===m.cb.Widget,{data:B,error:E}=(0,c.Ay)(H?s.npy.recommendedPrematch(z,M):null),F=!j&&E&&z&&P,{data:O,error:D}=(0,c.Ay)(F?s.npy.recommendedPrematchTopVoted(z,P):null),Q=B||O,W=(0,o.useMemo)(()=>{let e=null==Q?void 0:Q.odds.filter(e=>e.id!==C.id);return T?e:null==e?void 0:e.slice(0,4)},[Q,T]),K=null==W?void 0:W.reduce((e,t)=>{let n=t.event.tournament.id;return e[n]?e[n].push(t):e[n]=[t],e},{}),{ref:G,makeOnClick:U}=(0,b.kW)({type:b.jF.Compliance,countryOddsProvider:I}),N=A||S!==m.cb.EventPage;return W?(0,a.jsxs)(l.az,{ref:G,children:[(0,a.jsxs)(u.Zp,{variant:"desktop-only",children:[w&&(0,a.jsx)("div",{ref:t,children:(0,a.jsx)(u.Zp.Header,{titleId:"featured_odds"})}),(0,a.jsx)(l.so,{justify:"flex-end",align:"center",p:"sm",children:(0,a.jsx)(k.$,{provider:I})}),(0,a.jsxs)(l.BJ,{gap:"sm",px:{mdDown:"sm",md:L?"sm":void 0},children:[K&&Object.keys(K).map((e,t)=>{var n;let s=K[+e],o=s[0].event;return(0,a.jsx)(u.Zp,{variant:"mobile-only",children:(0,a.jsxs)(l.az,{px:{md:"sm"},pb:"md",borderTop:t?"1px solid {colors.neutrals.nLv4}":void 0,children:[(0,a.jsxs)(l.so,{justify:"center",align:"center",px:"lg",py:"md",children:[o.tournament.uniqueTournament?(0,a.jsx)(r.eD,{id:o.tournament.uniqueTournament.id,size:24}):(0,a.jsx)(r.l3,{id:o.tournament.id,size:24}),(0,a.jsx)(p.Mq,{tournament:o.tournament,seasonId:null==(n=o.season)?void 0:n.id,children:(0,a.jsx)(i.EY,{textStyle:"display.micro",ml:"lg",_hover:{color:"neutrals.nLv3"},children:(0,a.jsx)(y.J,{tournament:o.tournament})})})]}),(0,a.jsx)(l.BJ,{gap:"[1px]",bg:"neutrals.nLv4",children:s.map(e=>(0,a.jsx)(_,{provider:I,market:e,onClick:U(e.marketName,b.ki.OddsValue)},e.id))})]})},e)}),(null==Q?void 0:Q.odds.length)&&Q.odds.length>4&&(0,a.jsx)(x.d,{isOpen:T,onClick:()=>R(!T)})]})]}),N&&(0,a.jsx)(l.az,{mt:"sm",children:(0,a.jsx)(v.z,{provider:I})})]}):E&&D?null:(0,a.jsx)(h.a,{})})},77262:(e,t,n)=>{n.d(t,{FG:()=>o,GM:()=>h,Vd:()=>u,c7:()=>m,cY:()=>c,fN:()=>f,jT:()=>d,jp:()=>p,mh:()=>x,ps:()=>v});var a=n(21377),r=n(17887),s=n(56132),i=n(91113),l=n(14831);let o=[a.QCR.IceHockey,a.QCR.AmericanFootball,a.QCR.Baseball,a.QCR.Handball,a.QCR.Basketball,a.QCR.Cricket],d=[a.QCR.IceHockey,a.QCR.AmericanFootball,a.QCR.Baseball,a.QCR.Handball,a.QCR.Football];var c=function(e){return e.FootballForward="F",e.FootballDefender="D",e.FootballMidfielder="M",e.FootballGoalkeeper="G",e.BasketballForward="F",e.BasketballGuard="G",e.BasketballCenter="C",e.AmericanFootballPunter="P",e.AmericanFootballPuntReturner="PR",e.AmericanFootballLongSnapper="LS",e.AmericanFootballKicker="K",e.AmericanFootballTackle="T",e.AmericanFootballOffensiveTackle="OT",e.AmericanFootballOffensiveLineman="OL",e.AmericanFootballOffensiveGuard="OG",e.AmericanFootballGuard="G",e.AmericanFootballCenter="C",e.AmericanFootballQuarterback="QB",e.AmericanFootballRunningBack="RB",e.AmericanFootballFullback="FB",e.AmericanFootballTightEnd="TE",e.AmericanFootballWideReceiver="WR",e.AmericanFootballStrongSafety="SS",e.AmericanFootballSafety="SAF",e.AmericanFootballFreeSafety="FS",e.AmericanFootballDefensiveLineman="DL",e.AmericanFootballDefensiveBack="DB",e.AmericanFootballCornerBack="CB",e.AmericanFootballNoseTackle="NT",e.AmericanFootballDefensiveTackle="DT",e.AmericanFootballDefensiveEnd="DE",e.AmericanFootballOutsideLineback="OLB",e.AmericanFootballMiddleLineback="MLB",e.AmericanFootballLineback="LB",e.AmericanFootballInsideLineback="ILB",e.IceHockeyDefenseman="D",e.IceHockeyGoalie="G",e.IceHockeyCenter="C",e.IceHockeyLeftWing="L",e.IceHockeyRightWing="R",e.IceHockeyForward="F",e.BaseballPitcher="P",e.BaseballCatcher="C",e.BaseballFirstBase="1B",e.BaseballSecondBase="2B",e.BaseballThirdBase="3B",e.BaseballShortstop="SS",e.BaseballLeftField="LF",e.BaseballCenterField="CF",e.BaseballRightField="RF",e.BaseballDesignatedHitter="DH",e.BaseballPinchHitter="PH",e.BaseballPinchRunner="PR",e.BaseballBaseRunner="BR",e.BaseballOutfield="OF",e.BaseballInfield="IF",e.BaseballStartingPitcher="SP",e.BaseballReliefPitcher="RP",e.BaseballCloser="CP",e.BaseballUtility="UT",e.BaseballUtilityInfielder="UI",e.BaseballUtilityOutfielder="UO",e.BaseballRightHandedPitcher="RHP",e.BaseballLeftHandedPitcher="LHP",e.BaseballRightHandedStarter="RHS",e.BaseballLeftHandedStarter="LHS",e.BaseballRightHandedReliever="RHR",e.BaseballLeftHandedReliever="LHR",e.BaseballBatter="B",e.BaseballHitter="H",e.BaseballRunner="R",e.BaseballUnknown="U",e.ESportsHardCarry="HC",e.ESportsMid="MID",e.ESportsOfflaner="OFF",e.ESportsSoftSupport="SS",e.ESportsHardSupport="HS",e.ESportsAdc="ADC",e.ESportsJun="JUN",e.ESportsTop="TOP",e.ESportsSup="SUP",e.HandballGoalkeeper="G",e.HandballRightWing="RW",e.HandballLeftWing="LW",e.HandballRightBack="RB",e.HandballLeftBack="LB",e.HandballCentralBack="CB",e.HandballPivot="P",e.CricketBatter="BM",e.CricketAllrounder="AR",e.CricketKeeper="WK",e.CricketBowler="B",e}({}),u=function(e){return e.AmericanFootballQuarterback="am_football_quarterbacks",e.AmericanFootballRunningBack="am_football_running_backs",e.AmericanFootballReceiver="am_football_receivers",e.AmericanFootballOffensiveLine="am_football_offensive_line",e.AmericanFootballDefensiveLine="am_football_defensive_line",e.AmericanFootballDefensiveBack="am_football_defensive_backs",e.AmericanFootballLineback="am_football_linebackers",e.AmericanFootballSpecialTeam="am_football_special_teams",e.BaseballPitcher="pitcher",e.BaseballCatcher="catcher",e.BaseballInfield="infield",e.BaseballOutfield="outfield",e.BaseballHitter="hitter",e.BaseballRunner="runner",e.BaseballBatter="batter",e.IceHockeyForward="forward",e.IceHockeyDefenseman="defenseman",e.IceHockeyGoalie="goalie",e.HandballGoalkeeper="handball.goalkeeper",e.HandballBack="handball.back",e.HandballWinger="handball.winger",e.HandballPivot="handball.pivot",e.Unknown="player.position.unknown",e}({});let m=(e,t)=>{switch(t){case a.QCR.AmericanFootball:switch(e){case"QB":return"am_football_quarterbacks";case"RB":case"FB":return"am_football_running_backs";case"WR":case"TE":return"am_football_receivers";case"OT":case"OL":case"OG":case"C":case"T":case"G":return"am_football_offensive_line";case"DT":case"DL":case"DE":case"NT":return"am_football_defensive_line";case"DB":case"SS":case"FS":case"CB":case"SAF":return"am_football_defensive_backs";case"OLB":case"LB":case"MLB":case"ILB":return"am_football_linebackers";case"P":case"PR":case"LS":case"K":return"am_football_special_teams";default:return"player.position.unknown"}case a.QCR.Baseball:switch(e){case"P":case"SP":case"CP":case"RP":case"RHP":case"LHP":case"LHS":case"RHS":case"LHR":case"RHR":return"pitcher";case"C":return"catcher";case"1B":case"2B":case"3B":case"SS":case"IF":case"UI":return"infield";case"LF":case"CF":case"RF":case"OF":case"UO":return"outfield";case"H":case"DH":case"PH":return"hitter";case"R":case"PR":case"BR":return"runner";case"B":return"batter";default:return"player.position.unknown"}case a.QCR.IceHockey:switch(e){case"F":case"L":case"C":case"R":return"forward";case"D":return"defenseman";case"G":return"goalie";default:return"player.position.unknown"}case a.QCR.Handball:switch(e){case"RB":case"LB":case"CB":return"handball.back";case"LW":case"RW":return"handball.winger";case"P":return"handball.pivot";case"G":return"handball.goalkeeper";default:return"player.position.unknown"}default:return e||"player.position.unknown"}},h=(e,t)=>{let n={};for(let a=0;a{switch(e){case"F":case"am_football_quarterbacks":case"am_football_running_backs":case"am_football_receivers":case"am_football_offensive_line":case"handball.winger":case"forward":return"colors.status.live";case"M":case"am_football_special_teams":case"handball.pivot":return"colors.secondary.default";case"D":case"am_football_defensive_backs":case"am_football_defensive_line":case"am_football_linebackers":case"handball.back":case"defenseman":return"colors.primary.default";case"G":case"handball.goalkeeper":case"goalie":return"colors.status.val";default:return"colors.neutrals.nLv3"}},p=e=>e.type===a.YVh.Person,v=(e,t,n,r,i,o,d,c)=>e===a.QCR.AmericanFootball?[{tabKey:s.x.Details,item:"details"},{tabKey:s.x.Matches,item:"matches",values:{sport:(0,l.ap)(e)}},{tabKey:s.x.Standings,item:"app.standings",isHidden:!t},{tabKey:s.x.PlayerStatistics,item:"tab_player_stats",isHidden:!d},{tabKey:s.x.Squad,item:"am_football_roster",isHidden:!r},{tabKey:s.x.Statistics,item:"statistics",isHidden:!i},{tabKey:s.x.Media,item:"media",isHidden:!o}]:[{tabKey:s.x.Details,item:"details"},{tabKey:s.x.Matches,item:"matches",values:{sport:(0,l.ap)(e)}},{tabKey:s.x.Standings,item:"app.standings",isHidden:!t},{tabKey:s.x.Squad,item:"squad",isHidden:!r,values:{gender:c}},{tabKey:s.x.TopPlayers,item:"top_players",values:{gender:c},isHidden:!n},{tabKey:s.x.Statistics,item:"statistics",isHidden:!i},{tabKey:s.x.Media,item:"media",isHidden:!o}],g=[a.QCR.AmericanFootball,a.QCR.Tennis];function f(e,t){return -1!==g.indexOf(e)&&9464===t}},79375:(e,t,n)=>{n.d(t,{A:()=>x,g:()=>h});var a=n(6029),r=n(28349),s=n(90248),i=n(494),l=n(72753);let o={AU:"www.gamblinghelponline.org.au",BG:"nss-bg.org/hi-kodeks",GB:"www.begambleaware.org",NL:"hands24x7.nl"},d={DE:"18+ | Erlaubt (Whitelist) | Suchtrisiko | www.buwei.de",NL:"Wat kost gokken jou? Stop op tijd. 18+",CA:"19+. Gambling can be addictive, please play responsibly.
Eligible iGames conducted and managed by iGO are only available to those physically present in the Province of Ontario.",US:"21+. Gambling Problem?
Call 1-800-GAMBLER",SE:"18+. st\xf6dlinjen.se. Spela ansvarsfullt.",DK:"18+ | Regler og vilk\xe5r g\xe6lder | Spil ansvarligt | Selvudeluk via ROFUS.nu | StopSpillet.dk",TR:"İddaa oranları anlık olarak değişiklik g\xf6sterebilmektedir."},c={BE:21,GR:21,CA:19};function u(e){let{countryOddsProvider:t}=e;return(null==t?void 0:t.oddsMayDiffer)?(0,a.jsxs)("span",{children:[(0,a.jsx)("br",{}),(0,a.jsx)(s.A,{id:"disclaimer_odds_may_differ"})]}):null}function m(){let e=(0,i.d4)(l.LQ),t=e&&o[e];return t?(0,a.jsxs)("span",{children:[", ",(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]}):null}let h=e=>e&&c[e.toUpperCase()]?c[e.toUpperCase()]:18;function x(e){let t,{provider:n}=e,o=(0,i.d4)(l.LQ),c=(0,i.d4)(l.zj);return o&&c?t=d["".concat(o,"-").concat(c)]||d[o]:o&&(t=d[o]),(0,a.jsxs)(r.EY,{display:"block",textStyle:"body.small",textAlign:"center",color:"neutrals.nLv3",pr:"sm",children:[t?(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}):(0,a.jsx)(s.A,{id:"gamble_responsibly",values:{age:h(o)}}),(0,a.jsx)(m,{}),(0,a.jsx)(u,{countryOddsProvider:n})]})}},79634:(e,t,n)=>{n.d(t,{q:()=>a.q});var a=n(39975)},81349:(e,t,n)=>{n.d(t,{A:()=>c,d:()=>u});var a=n(21377),r=n(494),s=n(45860),i=n(90438),l=n(37455),o=n(72753),d=n(79082);let c=(e,t)=>{let[n]=(0,d.Ay)({routeKey:i.xW.Betting,params:{}}),r=(null==n?void 0:n.boostId)?+n.boostId:void 0,l=null==t?void 0:t.betBoosts.find(e=>e.event.id===r),{data:o}=(0,s.Ay)(r&&!l?a.bnp.betBoost(r,e):null);return{selectedBoost:null==o?void 0:o.betBoost,selectedEventId:r}},u=()=>{let e=(0,r.d4)(o.LQ);return(0,r.d4)(l.Zw)&&"IT"!==e}},86522:(e,t,n)=>{n.d(t,{g:()=>a});let a=e=>e.branding.config},86890:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(6029),r=n(42181);function s({side:e,linesColor:t,isHorizontalLayout:n}){return(0,a.jsxs)(r.g9,Object.assign({side:e,isHorizontalLayout:n},{children:[(0,a.jsx)("div",Object.assign({className:"goal"},{children:(0,a.jsxs)("svg",Object.assign({version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 160 70",width:"160",height:"70"},{children:[(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",Object.assign({id:"cutoffRect"},{children:(0,a.jsx)("rect",{x:"0",y:"1",width:"160",height:"70"})}))}),(0,a.jsxs)("g",Object.assign({stroke:t,fill:"transparent",strokeWidth:"2"},{children:[(0,a.jsx)("rect",{clipPath:"url(#cutoffRect)",x:"1",y:"0",width:"158",height:"46"}),(0,a.jsx)("rect",{clipPath:"url(#cutoffRect)",x:"42",y:"0",width:"74",height:"24"}),(0,a.jsx)("path",{d:"M 39 46 A 50 50 0 0 0 119 46"})]}))]}))})),(0,a.jsx)("div",Object.assign({className:"c1"},{children:(0,a.jsx)("svg",Object.assign({viewBox:"0 0 14 14",height:"14",width:"14"},{children:(0,a.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"0",cy:"0",r:"12"})}))})),(0,a.jsx)("div",Object.assign({className:"c2"},{children:(0,a.jsx)("svg",Object.assign({viewBox:"0 0 14 14",height:"14",width:"14"},{children:(0,a.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"14",cy:"0",r:"12"})}))})),(0,a.jsx)("div",Object.assign({className:"center"},{children:(0,a.jsx)("svg",Object.assign({viewBox:"0 0 128 64",width:"128",height:"64"},{children:(0,a.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"64",cy:"64",r:"62"})}))}))]}))}},89721:(e,t,n)=>{n.d(t,{U:()=>l});var a=n(6029),r=n(28349),s=n(37549),i=n(53255);let l=e=>{let{branding:t,location:n,entityId:l,...o}=e,{isDesktop:d}=(0,r.$c)();return d&&t?(0,a.jsx)(s.A.Header,{...o,variant:"left-aligned",actionComponent:(0,a.jsx)(i.O,{minW:"[140px]",px:"sm",br:"xs",branding:t,location:n,entityId:l})}):(0,a.jsx)(s.A.Header,{...o})}},89937:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_});var a=n(6029),r=n(28349),s=n(76356),i=n(99064),l=n(55729),o=n(46222),d=n(56494),c=n(24414),u=n(22830),m=n(81484),h=n(18858),x=n(15341),p=n(5062),v=n(6813),g=n(29695),f=n(96678);let j=e=>{let{comments:t,isOpen:n}=e,{rootRef:i}=(0,l.useContext)(f.XM),{isMobile:o}=(0,r.$c)();return(0,a.jsx)("div",{ref:o?void 0:i,children:(0,a.jsxs)(r.Ee,{h:{md:n?"[370px]":"[538px]"},bg:["neutral.highlight","surface.s1"],children:[(0,a.jsx)(s.so,{direction:"column",p:"md",gap:"lg",children:t.map(e=>(0,a.jsx)(g.y,{comment:e},e.id))}),(0,a.jsx)(s.az,{borderTop:"1px solid {colors.neutrals.nLv4}",hideBelow:"md",mb:"lg",children:(0,a.jsx)(v.p,{graphic:"hockey-shotmap",descriptionMessageId:"You've seen all available plays for this period."})})]})})};var y=n(60128),b=n(33559);let w=["scoreChange","penaltyScored","penaltyMissed","penaltySaved","faceOff","shotOffTarget","shotBlocked","shotSaved","suspension","hit"],k=["1st","2nd","3rd"],C=e=>{let{isOpen:t,periods:n,shots:o,activeTab:d,setActiveTab:u,setIsOpen:x}=e,{rootRef:v}=(0,l.useContext)(f.XM),g=(0,h.Ay)(),{isMobile:j}=(0,r.$c)();return(0,a.jsxs)(i.PI,{bg:"surface.s1",borderBottom:"onSurface.nLv4",pb:t?"sm":void 0,elevation:[2,void 0],top:g,isStickingDisabled:!j,children:[(0,a.jsx)(s.az,{py:"sm",children:(0,a.jsx)(c.n,{variant:"secondary",activeTabKey:d,onChange:u,tabs:n.map((e,t)=>({tabKey:t,tabValue:(0,a.jsx)(m.fP,{id:e,short:!0})})),onTabClick:()=>{if(v.current){var e;null==(e=v.current.children[0])||e.scrollTo(0,0)}else window.scrollTo(0,135)}})}),(0,a.jsx)(p.A,{isOpen:t,setIsOpen:x,borderTop:"onSurface.nLv4",title:"Event Map"}),t&&(0,a.jsx)(s.az,{px:{md:"sm"},children:(0,a.jsx)(y.A,{shots:o})})]})},_=()=>{var e;let[t,n,r]=(0,x.A)("ice.hockey.playbyplay.open",!0),{textCommentary:i,periods:c}=(0,u.q)(),[m,h]=(0,l.useState)(0);(0,l.useEffect)(()=>{c.length&&h(c.length-1)},[!!c.length]);let p=c[m],v=(null==i||null==(e=i[p])?void 0:e.filter(e=>w.includes(e.type)&&!!e.location))||[],g=v.map(e=>({id:e.id,x:e.location.x,y:e.location.y,type:(0,b.rk)(e.type)}))||[];return r?(0,a.jsx)(f.v9,{comments:t?v:[],children:(0,a.jsxs)(o.Zp,{variant:"desktop-only",children:[(0,a.jsx)(o.Zp.Header,{title:"cricket.pbp"}),(0,a.jsxs)(s.az,{position:"relative",children:[(0,a.jsx)(C,{periods:c.length?c:k,isOpen:t,setIsOpen:n,activeTab:m,setActiveTab:h,shots:g}),(null==i?void 0:i[p])?(0,a.jsx)(j,{comments:i[p],isOpen:t}):(0,a.jsx)(s.az,{h:"[512px]",children:(0,a.jsx)(d.a,{})})]})]})}):null}},90547:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(90142),r=n(6029),s=n(39895);function i(e){var{fillOpacity:t=".06"}=e,n=(0,a.T)(e,["fillOpacity"]);return(0,r.jsx)(s.A,Object.assign({width:24,height:24,viewBox:"0 0 24 24",fillOpacity:t},n,{children:(0,r.jsx)("path",{d:"M23.824 12c.097 0 .176.079.176.176v11.648a.176.176 0 0 1-.176.176H.176A.176.176 0 0 1 0 23.824v-5.648C0 18.08.079 18 .176 18h17.648a.176.176 0 0 0 .176-.176v-5.648c0-.097.079-.176.176-.176zm0-12c.097 0 .176.079.176.176v5.648a.176.176 0 0 1-.176.176H6.176A.176.176 0 0 0 6 6.176v5.648a.176.176 0 0 1-.176.176H.176A.176.176 0 0 1 0 11.824V.176C0 .08.079 0 .176 0z",fill:n.fill,fillRule:"evenodd"})}))}},91407:(e,t,n)=>{n.d(t,{t:()=>l});var a=n(64082),r=n(6029),s=n(21377),i=n(99064);let l=e=>{var{id:t,name:n,size:l=56,style:o,className:d,grayscale:c,isFantasy:u,placeholder:m="/static/images/placeholders/player.svg"}=e,h=(0,a.T)(e,["id","name","size","style","className","grayscale","isFantasy","placeholder"]);let x=h.w||h.width||l,p=h.h||h.height||l;return(0,r.jsx)(i._V,Object.assign({fallback:(0,r.jsx)(i._V,{style:{borderRadius:"50%"},w:x,h:p,src:m,alt:n}),src:t?s.qvj.image(t,u):"",alt:n,w:x,h:p,br:"50%",border:"onSurface.nLv4",style:o,className:d,isGrayscale:c},h))}},91476:(e,t,n)=>{n.d(t,{J:()=>a,x:()=>r});let a="bonus-odds-cta-seen",r="bet-boost-cta-seen"},92208:(e,t,n)=>{n.d(t,{WG:()=>c,YL:()=>m,_z:()=>u,lE:()=>s,o_:()=>i});var a=n(21377);let r={EN:"GB",SX:"GB",WA:"GB",NX:"GB"},s=e=>e&&(r[e]||e),i=e=>{if(e)return e===a.YT8.Male?"Male":e===a.YT8.Female?"Female":void 0},l={en:{35:"https://en.wikipedia.org/wiki/Manchester_United_F.C.",38:"https://en.wikipedia.org/wiki/Chelsea_F.C.",1644:"https://en.wikipedia.org/wiki/Paris_Saint-Germain_F.C.",2351:"https://en.wikipedia.org/wiki/Rangers_F.C.",2687:"https://en.wikipedia.org/wiki/Juventus_F.C.",2817:"https://en.wikipedia.org/wiki/FC_Barcelona"},pt:{1963:"https://pt.wikipedia.org/wiki/Sociedade_Esportiva_Palmeiras",1966:"https://pt.wikipedia.org/wiki/Sport_Club_Internacional",5926:"https://pt.wikipedia.org/wiki/Gr%C3%AAmio_Foot-Ball_Porto_Alegrense",5981:"https://pt.wikipedia.org/wiki/Clube_de_Regatas_do_Flamengo"}},o={en:{7:"https://en.wikipedia.org/wiki/UEFA_Champions_League",8:"https://en.wikipedia.org/wiki/La_Liga",17:"https://en.wikipedia.org/wiki/Premier_League",19:"https://en.wikipedia.org/wiki/FA_Cup",23:"https://en.wikipedia.org/wiki/Serie_A",34:"https://en.wikipedia.org/wiki/Ligue_1",36:"https://en.wikipedia.org/wiki/Scottish_Premiership",328:"https://en.wikipedia.org/wiki/Coppa_Italia",329:"https://en.wikipedia.org/wiki/Copa_del_Rey",332:"https://en.wikipedia.org/wiki/Scottish_League_Cup",335:"https://en.wikipedia.org/wiki/Coupe_de_France",347:"https://en.wikipedia.org/wiki/Scottish_Cup"},pt:{325:"https://pt.wikipedia.org/wiki/Campeonato_Brasileiro_de_Futebol",373:"https://pt.wikipedia.org/wiki/Copa_do_Brasil_de_Futebol",384:"https://pt.wikipedia.org/wiki/Copa_Libertadores_da_Am%C3%A9rica"}},d={pt:{358554:"https://pt.wikipedia.org/wiki/Gabriel_Barbosa",32891:"https://pt.wikipedia.org/wiki/Mauricio_Isla",840219:"https://pt.wikipedia.org/wiki/Pedro_Guilherme_Abreu_dos_Santos",795291:"https://pt.wikipedia.org/wiki/Bruno_Henrique_Pinto",822526:"https://en.wikipedia.org/wiki/Gabriel_Batista",950454:"https://pt.wikipedia.org/wiki/Hugo_de_Souza_Nogueira",804703:"https://pt.wikipedia.org/wiki/Bruno_Viana_Willemen_da_Silva",333587:"https://pt.wikipedia.org/wiki/Giorgian_De_Arrascaeta",242213:"https://pt.wikipedia.org/wiki/Willian_Ar%C3%A3o"}},c=(e,t)=>{var n;return null==(n=l[t])?void 0:n[e]},u=(e,t)=>{var n;return null==(n=o[t])?void 0:n[e]},m=(e,t)=>{var n;return null==(n=d[t])?void 0:n[e]}},94446:(e,t,n)=>{n.d(t,{p:()=>r.p,t:()=>a.t});var a=n(91407),r=n(91603)},96688:(e,t,n)=>{n.d(t,{y:()=>a});function a(e){let t=(null==e?void 0:e.toLowerCase())||"",n=["hr","es","pt"].includes(t);return"https://corporate.sofascore.com".concat(n?"/".concat(t):"","/about/rating")}}}]);