!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]="76a17d3d-df33-475f-93a4-690bc1f42520",e._sentryDebugIdIdentifier="sentry-dbid-76a17d3d-df33-475f-93a4-690bc1f42520")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11045,14866,42202,67536,76186,77262,89937],{173:(e,t,a)=>{a.d(t,{z:()=>x,K:()=>f});var s=a(6029),n=a(76356),r=a(55729),l=a(494),o=a(46222),i=a(18970),c=a(79375),d=a(54529);let u=e=>{let{}=e;return(0,s.jsx)(d.EY,{display:"block",px:"lg",py:"sm",textStyle:"body.small",color:"neutrals.nLv3",textAlign:"center",children:"Juego Responsable - BAP: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-444-4000 BAC: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-666-6006"})};var m=a(50526),p=a(37455),h=a(72753);let g=e=>{let{provider:t}=e;return(0,s.jsx)(n.az,{position:"relative",px:"lg",py:"sm",children:(0,s.jsx)(c.A,{provider:t})})},x=e=>{let{showTailingRegulation:t,provider:a}=e,r=(0,l.d4)(h.LQ);return(0,l.d4)(p.BF)?null:"GR"===r&&t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.so,{justify:"center",children:(0,s.jsx)(m.A,{})}),(0,s.jsx)(g,{provider:a})]}):"AR"===r?(0,s.jsxs)(n.BJ,{gap:"sm",children:[(0,s.jsx)(g,{provider:a}),(0,s.jsx)(u,{})]}):(0,s.jsx)(g,{provider:a})},f=e=>{let{showTailingRegulation:t,provider:a}=e,{event:c}=(0,r.useContext)(i.y$),d=(0,l.d4)((0,p.Ul)(c)),u=(0,l.d4)((0,p.bS)(c)),m=(0,l.d4)(p.BF);return d||u||m?(0,s.jsx)(o.Zp,{children:(0,s.jsx)(n.az,{p:"xs",children:(0,s.jsx)(x,{showTailingRegulation:t,provider:a})})}):null}},308:(e,t,a)=>{a.d(t,{A:()=>h});var s=a(6029),n=a(19501),r=a(22375),l=a(95669),o=a.n(l),i=a(947),c=a(58771),d=a(31830),u=a(88715),m=a(92208);let p=(e,t,a)=>e.type===n.YVh.Person?{"@type":"Person",name:e.name}:{"@type":"SportsTeam",sport:t.name,name:e.name,logo:n.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,a)};function h(e){let{event:t}=e,a=(0,i.A)(),l=(0,d.A)(),h=t.tournament.category.sport,g=r.pp(t.startTimestamp),x=((e,t)=>{var a,s,n,r,l;let o=(null==(a=e.tournament.uniqueTournament)?void 0:a.name)||e.tournament.name,i=(null==(s=e.season)?void 0:s.year)||(null==(n=e.season)?void 0:n.name)||t.getFullYear()||"",c=(e.tournament.roundPrefix||"")+" "+((null==(r=e.roundInfo)?void 0:r.name)||((null==(l=e.roundInfo)?void 0:l.round)?"Round ".concat(e.roundInfo.round):""));return"".concat(o," ").concat(i," ").concat(c.trim()).trim()})(t,g),f=t.tournament.category,b=t.tournament.uniqueTournament,v=1,y=[{"@type":"ListItem",position:1,name:a.formatMessage({id:"sport.".concat(h.slug)}),item:"".concat(n.VTF).concat(u.z.getTranslatedRoute(l,"eventList",{sport:h.slug}).route)},{"@type":"ListItem",position:++v,name:a.formatMessage({id:f.slug}),item:"".concat(n.VTF).concat(u.z.getTranslatedRoute(l,"eventList.category",{sport:f.sport.slug,category:f.slug}).route)}];b&&y.push({"@type":"ListItem",position:++v,name:b.name,item:"".concat(n.VTF).concat(u.z.getTranslatedRoute(l,"uniqueTournament",{sport:b.category.sport.slug,category:b.category.slug,tournament:b.slug,id:b.id}).route)}),y.push({"@type":"ListItem",position:++v,name:"".concat(t.homeTeam.name," - ").concat(t.awayTeam.name)});let _={"@context":"https://schema.org","@type":"SportsEvent",name:"".concat(t.homeTeam.name," vs ").concat(t.awayTeam.name),eventStatus:(e=>{switch(e.status.type){case n.XUj.Canceled:case n.XUj.Suspended:return"EventCancelled";case n.XUj.Postponed:return"EventPostponed";default:return"EventScheduled"}})(t),description:x,homeTeam:p(t.homeTeam,h,l),awayTeam:p(t.awayTeam,h,l),startDate:g.toISOString(),sport:h.name};if(t.venue){var j,k,w;_.location=[{"@type":"Place",name:null==(j=t.venue)?void 0:j.stadium.name,maximumAttendeeCapacity:null==(k=t.venue)?void 0:k.stadium.capacity,address:{"@type":"PronounceableText"}}],t.venue.city.name&&_.location.concat({"@type":"Place",name:t.venue.city.name}),t.venue.country.alpha2&&_.location.concat({"@type":"Country",name:(0,m.lE)(null==(w=t.venue)?void 0:w.country.alpha2)})}else t.tournament.category.alpha2&&(_.location={"@type":"Country",name:(0,m.lE)(t.tournament.category.alpha2)});return(0,s.jsxs)(o(),{children:[(0,s.jsx)("script",{...(0,c.QQ)({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:y})}),",",(0,s.jsx)("script",{...(0,c.QQ)(_)}),","]})}},1639:(e,t,a)=>{a.d(t,{l:()=>d,W:()=>u});var s=a(6029),n=a(19501),r=a(54529),l=a(62042),o=a(76356),i=a(83359);let c=(0,l.Fj)({base:{display:"inline-block",borderRadius:"md",px:"sm"},variants:{groundType:{[n.QWe.HardcourtIndoor]:{bg:"tennis.terrain.hardcourtIndoor"},[n.QWe.HardcourtOutdoor]:{bg:"tennis.terrain.hardcourtOutdoor"},[n.QWe.Hard]:{bg:"tennis.terrain.hardcourtOutdoor"},[n.QWe.CarpetIndoor]:{bg:"tennis.terrain.default"},[n.QWe.Grass]:{bg:"tennis.terrain.grass"},[n.QWe.Clay]:{bg:"tennis.terrain.clay"},[n.QWe.RedClay]:{bg:"tennis.terrain.clay"},[n.QWe.SyntheticOutdoor]:{bg:"tennis.terrain.default"},default:{bg:"tennis.terrain.default"}}}}),d=(0,o.I4)("div",c),u=e=>{let{groundType:t}=e;return t?(0,s.jsx)(d,{groundType:t,children:(0,s.jsx)(r.EY,{display:"block",textStyle:"assistive.default",h:"lg",color:"surface.s1",children:(0,s.jsx)(i.n,{id:t})})}):null}},5062:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(6029),n=a(94565),r=a(90248),l=a(52466);function o(e){let{isOpen:t,setIsOpen:a,title:o,...i}=e;return(0,s.jsxs)(n.so,{align:"center",px:"lg",py:"sm",h:"48px",gap:"sm",bg:"surface.s1",cursor:"pointer",overflow:"hidden",style:{userSelect:"none"},onClick:()=>a(e=>!e),...i,children:[(0,s.jsx)(l.baM,{}),(0,s.jsx)(n.EY,{as:"div",ellipsis:!0,font:"display.small",color:"onSurface.nLv1",style:{flexGrow:1},children:o||(0,s.jsx)(r.A,{id:"hockey_game_shotmap"})}),(0,s.jsx)(l.zQC,{icon:t?"chevron-up":"chevron-down",fill:"onSurface.nLv1"})]})}},8900:(e,t,a)=>{a.d(t,{y:()=>i});var s=a(19501),n=a(50677),r=a(16533),l=a(91113);let o={[s.QCR.Football]:["accuratePasses","tackles","interceptions","clearances","successfulDribbles","accurateLongBalls","keyPasses","totalShots","shotsOnTarget","possessionLost","saves","mostConceded","leastConceded"],[s.QCR.Basketball]:["plusMinus","pir"],[s.QCR.AmericanFootball]:["defensiveTotalTackles","plusMinus"],[s.QCR.IceHockey]:["penaltyMinutes"],[s.QCR.Handball]:[],[s.QCR.Cricket]:[]};function i(e,t,a,i){var c;let d=(null==(c=o[a])?void 0:c.indexOf(t))>-1;"expectedGoals"===t&&(t="football_stat_expected_goals_scored"),"expectedAssists"===t&&(t="football_stat_expected_assists_assisted"),"redCards"===t&&(t="red_cards"),"kilometersCovered"===t&&(t="football_running_distance_covered_per_90"),"numberOfSprints"===t&&(t="football_running_number_of_sprints_per_90");let u=e.formatMessage({id:"per_match"}),m=e.formatMessage({id:"playoffs"}),p=[s.QCR.Cricket,s.QCR.Volleyball].includes(a)?r:n,h=e.formatMessage({id:"rating"===t?"average_sofascore_rating":(0,l.O)(p,t,a)});return d&&(h="".concat(h," ").concat(u.toLowerCase())),i&&(h="".concat(h," - ").concat(m)),h}},10292:(e,t,a)=>{a.d(t,{t:()=>s.t});var s=a(91407)},12157:(e,t,a)=>{a.d(t,{y:()=>c});var s=a(6029),n=a(19501),r=a(55729),l=a(947),o=a(18970),i=a(14617);let c=e=>{let{location:t}=e,a=(0,l.A)();return(0,r.useContext)(o.Ws)!==n.QCR.Tennis?null:(0,s.jsx)(i.Q,{banner:{copy:{action:a.formatMessage({id:"learn_more_button"}),description:a.formatMessage({id:"game_set_stats"}),sectionTitle:a.formatMessage({id:"utr_rating_is_live"})},type:n.$pL.CleanBanner,background:n.jae.Surface,detailImageUrl:{ltr:"/static/images/utr/utr-banner.png",rtl:"/static/images/utr/utr-banner.png"},campaignName:"promotion_utr",url:"https://www.utrsports.net/pages/how-utr-works?utm_source=partner&utm_medium=referral&utm_campaign=sofascore&utm_content=promo-banners"},location:t})}},14866:(e,t,a)=>{a.r(t),a.d(t,{LiveActionWidgetContainer:()=>C,default:()=>S});var s=a(6029),n=a(19501),r=a(54529),l=a(76356),o=a(55729),i=a(494),c=a(45860),d=a(46222),u=a(52466),m=a(90438),p=a(70344),h=a(94565),g=a(90248);let x=e=>{let{width:t,eventId:a,toggleButton:o,options:i,ref:c}=e;return(0,s.jsxs)(l.az,{ref:c,_fullscreen:{bg:"surface.s1"},children:[(0,s.jsx)(r.H3,{textAlign:"center",pt:"md",pb:"xs",children:(0,s.jsx)(g.A,{id:"event.liveAction"})}),(0,s.jsx)(l.az,{display:"table",m:"auto",py:"sm",children:(0,s.jsx)(l.az,{mx:"sm",children:(0,s.jsxs)(h.XI,{position:"relative",m:"auto",mb:"10px",children:[(0,s.jsx)("iframe",{src:(0,n.Lo9)(n.bnp.liveActionWidget(a,i)),style:{display:"block"},width:t,height:.49*t,frameBorder:"0",scrolling:"no"}),o]})})})]})};var f=a(62042);let b=(0,f.AH)({zIndex:"dropdown",bg:"surface.s1"}),v=(0,f.AH)({elevation:"2",position:"absolute",px:"lg",br:"lg",overflow:"hidden",cursor:"move"}),y=(0,f.AH)({mb:"md",br:"lg"}),_=(0,f.AH)({"& iframe":{pointerEvents:"none"}}),j=(0,l.I4)("div",{base:{position:"absolute",zIndex:"popover",_hover:{bg:"overlay.darken1"}}});function k(e,t,a,s){let n,r;function l(){document.onmouseup=null,document.onmousemove=null,a(!1),e&&e.clientWidth&&t(e.clientWidth)}function o(t){if(t.preventDefault(),t.stopPropagation(),e){let{horizontal:a,vertical:l,valence:o}=s;if(a){let a=e.offsetWidth+(t.clientX-n)*o;e.style.width="".concat(a,"px"),-1===o&&a>320&&a<800&&(e.style.left="".concat(e.offsetLeft+t.clientX-n,"px"))}if(l){let a=e.offsetHeight+(t.clientY-r)*o;e.style.height="".concat(a,"px"),-1===o&&a>520&&a<800&&(e.style.top="".concat(e.offsetTop+t.clientY-r,"px"))}n=t.clientX,r=t.clientY}}return function(e){e.preventDefault(),e.stopPropagation(),n=e.clientX,r=e.clientY,document.onmouseup=l,document.onmousemove=o,a(!0)}}let w=e=>{let{expanded:t,children:a}=e,n=(0,o.createRef)(),i=(0,o.createRef)(),c=(0,o.createRef)(),d=(0,o.createRef)(),u=(0,o.createRef)(),m=(0,o.createRef)(),p=(0,o.createRef)(),[h,g]=(0,o.useState)(0),[w,C]=(0,o.useState)(0),[S,A]=(0,o.useState)({x:0,y:0}),[T,R]=(0,o.useState)(!1),[P,M]=(0,o.useState)(!1),{mediaBreakpoint:F}=(0,r.$c)(),I=(0,o.useCallback)(e=>{e.preventDefault(),A({x:e.clientX,y:e.clientY}),R(!0)},[S,T]),B=(0,o.useCallback)(e=>{if(!T)return;let t=S.x-e.clientX,a=S.y-e.clientY;A({x:e.clientX,y:e.clientY});let s="".concat(e.currentTarget.offsetTop-a,"px"),n="".concat(e.currentTarget.offsetLeft-t,"px");e.currentTarget.style.top=s,e.currentTarget.style.left=n},[S,T]),L=(0,o.useCallback)(()=>{R(!1),document.body.style.pointerEvents=""},[S,T]);return(0,o.useEffect)(()=>{t&&(i.current&&(i.current.onmousedown=k(n.current,C,M,{vertical:!0,valence:-1})),c.current&&(c.current.onmousedown=k(n.current,C,M,{horizontal:!0,valence:1})),d.current&&(d.current.onmousedown=k(n.current,C,M,{vertical:!0,valence:1})),u.current&&(u.current.onmousedown=k(n.current,C,M,{horizontal:!0,valence:-1})),m.current&&(m.current.onmousedown=k(n.current,C,M,{horizontal:!0,vertical:!0,valence:1})),p.current&&(p.current.onmousedown=k(n.current,C,M,{horizontal:!0,vertical:!0,valence:-1}))),!t&&n.current&&(n.current.style.top="",n.current.style.left="",n.current.style.width="",n.current.style.height="")},[i.current,t]),(0,o.useEffect)(()=>{n.current&&(C(Math.min(640,document.body.offsetWidth)),h||g(n.current.clientWidth))},[n.current]),(0,s.jsxs)(l.az,{className:((e,t)=>(0,f.cx)(b,e&&v,!e&&y,t&&_))(t,P),ref:n,onMouseDown:I,onMouseMove:T?B:void 0,onMouseUp:L,style:t?{width:w,minWidth:320,maxWidth:800,minHeight:520,maxHeight:800,height:500}:void 0,children:[t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j,{ref:i,top:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,s.jsx)(j,{ref:c,top:"0",right:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,s.jsx)(j,{ref:d,bottom:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,s.jsx)(j,{ref:u,top:"0",left:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,s.jsx)(j,{ref:m,bottom:"0",right:"0",w:"md",h:"md",cursor:"se-resize"}),(0,s.jsx)(j,{ref:p,top:"0",left:"0",w:"md",h:"md",cursor:"nw-resize"})]}),(0,s.jsx)(l.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:o.Children.map(a,e=>e&&e.type===x?(0,o.cloneElement)(e,{...e.props,width:t?w-24:((e,t)=>{switch(t){case"lg":return 368;case"md":return 298;default:return e}})(h-24,F)}):e)})]})};function C(e){let{eventId:t,modal:a,useNativeFullscreen:h,children:g}=e,{data:f}=(0,c.Ay)([n.bnp.liveActionWidget(t),"HEAD"],{fetcher:p.n}),[b,v]=(0,o.useState)(!1),[y,_]=(0,o.useState)(320),j=(0,o.createRef)(),[k,C]=(0,o.useState)(!1),S=(0,i.d4)(e=>e.locale.selectedLocale||m.Xn),A=(0,i.d4)(e=>e.locale.geoIPAlpha2),{isMobile:T}=(0,r.$c)(),R=(0,o.useMemo)(()=>{if((0,n.S$s)())return!1;let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;return h&&!t},[h]),P=(0,o.useCallback)(e=>{if(e){let e=j&&j.current;if(!e)return;let s=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;if(s){var t,a;(s=s.bind(e))(),null==(a=screen.orientation)||null==(t=a.lock)||t.call(a,"landscape")}}else{let e=document,t=e.exitFullscreen||e.webkitExitFullscreen||e.mozExitFullScreen||e.msExitFullscreen;t&&(t=t.bind(e))()}},[j,j.current]),M=(0,o.useCallback)(()=>{v(!b),h&&P(!b)},[j,j.current,b,v]);if((0,o.useEffect)(()=>{if(b&&j.current){let e=30;90===screen.orientation.angle&&(e=200),_(j.current.offsetWidth-e)}else _(320)},[j,j.current,b,_]),(0,o.useEffect)(()=>{h&&b&&j.current&&(k||(document.removeEventListener("fullscreenchange",e),document.addEventListener("fullscreenchange",e,{once:!0}),C(!0)));function e(){!0===document.fullscreen?(_(Math.max(window.screen.width,window.screen.height)),setTimeout(()=>{_(Math.max(window.screen.width,window.screen.height))},500)):!1===document.fullscreen&&(_(320),v(!1)),document.removeEventListener("fullscreenchange",e),C(!1)}},[j,j.current,b,_,k]),!f)return null;let F=(0,s.jsx)(x,{eventId:t,ref:j,width:y,toggleButton:R?null:(0,s.jsx)(l.ov,{backgroundColor:"overlay.darken2",position:"absolute",h:"2xl",w:"2xl",top:"sm",right:"sm",br:"50%",onClick:M,cursor:"pointer",_hover:{bg:"overlay.darken1"},children:(0,s.jsx)(u.L9n,{expanded:b,fill:"white"})}),options:{language:S,china:"cn"===A,mobile:T}});return a?(0,s.jsxs)(w,{expanded:b,setExpanded:v,children:[F,b&&g]}):(0,s.jsx)(d.Zp,{children:F})}let S=C},15538:(e,t,a)=>{a.d(t,{J:()=>s});var s=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,a)=>{a.d(t,{D:()=>A});var s=a(6029),n=a(87827),r=a(19501),l=a(54529),o=a(62042),i=a(76356),c=a(55729),d=a(947),u=a(90248),m=a(52466),p=a(82536),h=a(31830),g=a(18970),x=a(15538),f=a(19991),b=a(94565),v=a(28446),y=a(41735);let _=(0,y.default)(b.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)}),j=["3.0","6.0","6.5","7.0","8.0","9.0"],k=(0,v.A)().domain([3,6,6.5,7,8,9,10]).range([0,16.66666,33.33333,50,66.66666,83.33333,100]);function w(e){let{rating:t,format:a}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(b.so,{id:"#container",position:"relative",mx:"sm",mb:"xs",children:[j.map((e,t)=>(0,s.jsx)(b.az,{flex:"1 1 1px",br:0===t?"xs 0 0 xs":5===t?"0 xs xs 0":void 0,bg:(0,f.Et)(e),h:"16"},e)),t&&(0,s.jsx)(_,{position:"absolute",top:"-2",ratingPosition:k(+t)+"%",w:"2",h:"20",bg:"neutral.variant"})]}),(0,s.jsx)(b.so,{justify:"space-between",children:[...j,"10"].map(e=>(0,s.jsxs)(b.EY,{color:(0,f.Et)(e),font:"tab.secondary",children:[e,"sideBox"===a&&"10"!==e?"0":""]},e))})]})}var C=a(96688);let S=(0,o.AH)({"& > div > div":{zoom:2.5},"& span":{zoom:2.5}});function A(e){let{type:t,rating:a=10,renderImage:o,children:f}=e,b=(0,d.A)(),[v,y]=(0,c.useState)(!1),{isDesktop:_}=(0,l.$c)(),j=(0,c.useContext)(g.Ws)===r.QCR.Football,k=(0,h.A)(),A=(0,C.y)(k),T="",R="box",P="sofascore_rating",M="";switch(t){case x.J.SpecificRatingPlayer:T="rating_general_text",M=[b.formatMessage({id:"rating_top_stats_general"}),b.formatMessage({id:"rating_top_stats_specific"})].join(" ");break;case x.J.AverageRatingTeam:T="average_team_rating_text",R="sideBox",M=[b.formatMessage({id:"rating_top_teams_general"}),b.formatMessage({id:"rating_top_teams_specific"})].join(" ");break;case x.J.AverageRating:T="average_team_rating_match",R="sideBox",P="average_sofascore_rating";break;case x.J.AverageRatingTeamLineups:T="average_team_rating_text",R="sideBox";break;case x.J.AverageRatingPlayer:T="average_player_rating_text",R="sideBox"}return(0,s.jsxs)(s.Fragment,{children:["function"==typeof f?(0,s.jsx)(s.Fragment,{children:f({isOpen:v,setIsOpen:y})}):null!=f?f:(0,s.jsx)(l.m_,{content:M,strategy:""!==M&&_?"hover":"controlled",isVisible:!1,children:(0,s.jsx)(l.K0,{mx:"xs",variant:"clear",onClick:()=>{y(!0)},children:(0,s.jsx)(m.G_L,{fill:"onSurface.nLv1"})})}),(0,s.jsxs)(p.A,{header:(0,s.jsx)(l.H3,{p:"lg",textStyle:"display.large",children:(0,s.jsx)(u.A,{id:P})}),isOpen:v,setIsOpen:y,footer:(0,s.jsx)(i.so,{justify:"flex-end",m:j?"[0 {spacing.lg} {spacing.lg} {spacing.lg}]":{base:"lg",mdDown:"[0 {spacing.lg} {spacing.lg} {spacing.lg}]"},children:(0,s.jsx)(l.$n,{w:{base:"auto",mdDown:"100%"},onClick:()=>{y(!1)},variant:_?"clear":void 0,children:(0,s.jsx)(u.A,{id:"ok_got_it_button"})})}),children:[(0,s.jsxs)(i.az,{maxW:{md:"[320px]"},px:"lg",mb:j?void 0:{mdDown:"2xl"},children:[T&&(0,s.jsx)(u.A,{id:T,values:{break:e=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("br",{}),(0,s.jsx)("br",{})]})}}),(0,s.jsxs)(i.so,{justify:"center",align:"center",pt:"4xl",pb:"xl",children:[(0,s.jsx)(i.az,{className:"sideBox"===R?S:void 0,children:(0,s.jsx)(n.G,{size:"xl",rating:a,format:R})}),null==o?void 0:o({size:40,ml:"lg"})]}),(0,s.jsx)(w,{rating:a,format:R})]}),j&&(0,s.jsx)(i.az,{px:"lg",py:"4xl",pb:"2xl",children:(0,s.jsxs)(l.Mz,{display:"block",color:"primary.default",textStyle:"display.small",href:A,target:"_blank",onClick:()=>{y(!1)},children:[(0,s.jsx)(u.A,{id:"rating_learn_more_button"}),(0,s.jsx)(m.CCT,{ml:"xs",w:"16",h:"16",fill:"primary.default"})]})})]})]})}A.type=x.J},17285:(e,t,a)=>{a.r(t),a.d(t,{default:()=>al});var s=a(6029),n=a(19501),r=a(22375),l=a(95669),o=a.n(l),i=a(55729),c=a(947),d=a(18970),u=a(90438),m=a(67086),p=a(94164),h=a(47550),g=a(15946),x=a(41397),f=a(52763),b=a(78767),v=a(73232),y=a(68711),_=a(95084),j=a(76356),k=a(46222),w=a(20945),C=a(2920),S=a(56132),A=a(14831),T=a(11996),R=a(19621),P=a(494),M=a(45860),F=a(39975),I=a(31591),B=a(93053),L=a(15220),z=a(95404),H=a(70344),E=a(89937),O=a(60080),D=a(32137),Q=a(49069),G=a(82827),W=a(173),K=a(53198),U=a(24534),Y=a(37455);let N=()=>{let e=(0,P.d4)(Y._I),t=(0,U.PW)(),a=(0,P.d4)(Y.SM);return e&&t&&(null==a?void 0:a.length)?(0,s.jsxs)(k.Zp,{children:[(0,s.jsx)(k.Zp.Header,{titleId:"odds"}),(0,s.jsx)(K.i,{providers:a,placement:"desktop"})]}):null};var $=a(75837),q=a(76186),V=a(68789),X=a(60682),J=a(92099),Z=a(60067),ee=a(12157),et=a(30789),ea=a(26567),es=a(73060),en=a(61305),er=a(72753),el=a(55878),eo=a(31139),ei=a(73844),ec=a(66301);a(8968);var ed=a(62235),eu=a(51219),em=a(57724),ep=a(14866),eh=a(60962),eg=a(88037),ex=a(86931),ef=a(41586),eb=a(26431),ev=a(88120),ey=a(69408),e_=a(94976),ej=a(67536),ek=a(30121),ew=a(35676),eC=a(63561);function eS(e){var t,a,r,l,o,c;let{hasCommentary:u}=e,{event:m,leftTeam:p,rightTeam:h}=(0,i.useContext)(d.y$),g=m.status.type===n.XUj.NotStarted,x=m.status.type===n.XUj.InProgress,b=m.tournament.category.sport.slug,v=b===n.QCR.ESports&&(0,eC.f2)(m.tournament.category.id),y=(0,P.d4)(Y.BF),j=(0,P.d4)((0,Y.bS)(m)),k=(0,V.F0)(m),[w]=(0,X.Z)(k,m.status.type===n.XUj.InProgress),C={fetcher:H.n,revalidateOnFocus:!0,refreshInterval:6e4*(m.status.type===n.XUj.NotStarted||m.status.type===n.XUj.InProgress)},S=!y&&j&&!!w,{data:A}=(0,M.Ay)(S?[n.npy.recommendedPrematchTopVoted(w,b),"HEAD"]:null,C),T=(0,i.useRef)(null),K=(0,R.hX)(),U=u&&b!==n.QCR.IceHockey,eS=u&&b===n.QCR.IceHockey,eA=(0,P.d4)(Y.qW),eT=(0,P.d4)(er.LQ),eR=!!eT&&(0,eC.Q9)(eT),eP=x&&!!eR&&eA,eM=ec.I.includes(b)&&m.status.type===n.XUj.NotStarted;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(eo.i,{eventLocation:"editor_event",nickname:null==(t=m.eventEditor)?void 0:t.name,userId:null==(a=m.eventEditor)?void 0:a.id,hasStarted:m.status.type!==n.XUj.NotStarted}),(0,s.jsx)(ei.N,{event:m}),(0,s.jsx)(ey.R,{}),(0,s.jsx)($.S,{countryOddsProvider:k,event:m,fallback:{PT:A?(0,s.jsx)(Q.U,{onClick:()=>{var e;return null==T||null==(e=T.current)?void 0:e.scrollIntoView({behavior:"smooth"})},isElevated:!0}):(0,s.jsx)(s.Fragment,{})},isComparisonElevated:!0,children:(0,s.jsx)(G.f9,{eventId:m.id,isLive:x})}),(0,s.jsx)(eg.y,{}),(0,s.jsx)(ev.z,{}),(0,s.jsx)(et.m2,{eventId:m.id,tournamentId:m.tournament.id,roundId:null==(r=m.roundInfo)?void 0:r.round,type:"single",screen:"desktop",isLive:x,location:et.D_.EventPage},m.id),(0,s.jsx)(ew.C,{}),(0,s.jsx)(eb.f,{}),(0,s.jsx)(ex.f,{event:m}),b!==n.QCR.Football&&(0,s.jsx)(el.E,{event:m,hideCta:!0}),b===n.QCR.Cricket&&(0,s.jsx)(L.x,{}),em.jf.includes(b)?null:(0,em.Di)(b)?(0,s.jsx)(ed.A,{event:m}):(0,s.jsx)(eu.w,{event:m}),b===n.QCR.Football&&(0,s.jsx)(el.E,{event:m,hideCta:!0}),em.rt.includes(b)&&(0,s.jsx)(J.A,{event:m}),v&&(0,s.jsx)(B.A,{event:m}),(0,s.jsx)(en.A,{placement:f.Mx.DesktopEventPage,event:m}),b===n.QCR.Tennis&&(0,s.jsx)(e_.J,{}),(0,s.jsx)(ee.y,{location:_.XN.EventScreen}),b===n.QCR.Tennis&&g&&(0,s.jsx)(ek.p,{}),(0,s.jsx)(N,{}),eS&&(0,s.jsx)(F.A,{persist:!0,children:(0,s.jsx)(E.default,{})}),U&&(0,s.jsx)(ej.default,{}),!K&&eP&&(0,s.jsx)(ep.LiveActionWidgetContainer,{eventId:m.id,modal:!0,children:(0,s.jsx)(G.f9,{eventId:m.id,isLive:x})}),(0,s.jsx)(O.dq,{eventId:m.id}),A&&(0,s.jsx)(q.default,{showHeader:!0,ref:T}),(0,s.jsx)(ef.s,{eventId:m.id}),(0,s.jsx)(es.Y,{utId:null==(l=m.tournament.uniqueTournament)?void 0:l.id,location:_.XN.EventScreen,bgImageUrl:[n.cWY.image(p.id),n.cWY.image(h.id)]}),b!==n.QCR.MMA&&(0,s.jsx)(ea.d,{eventId:m.id,type:n.IAy.Event,startTimestamp:m.startTimestamp}),b===n.QCR.MMA&&(0,s.jsx)(F.A,{persist:!0,children:(0,s.jsx)(D.A,{homeTeam:m.homeTeam,awayTeam:m.awayTeam})}),(0,s.jsx)(Z._,{page:{location:_.XN.EventScreen,entity:m}}),(0,s.jsx)(eh.W,{event:m,showTournamentInfo:v}),eM&&(0,s.jsx)(ec.x,{eventId:m.id,leftTeam:p,rightTeam:h}),(0,s.jsx)(z.pk,{utIds:[null==(o=m.tournament.uniqueTournament)?void 0:o.id]}),(null==(c=m.eventEditor)?void 0:c.name)&&(0,s.jsx)(I.s,{}),(0,s.jsx)(W.K,{provider:k})]})}var eA=a(90248),eT=a(88658),eR=a(60475),eP=a(64006),eM=a(4917),eF=a(9081),eI=a(99306),eB=a(88505),eL=a(30774);let ez=e=>{var t;let{event:a,sport:n,children:r}=e;return u.tt.includes(n)||!a.tournament.uniqueTournament?(0,s.jsx)(eP.O5,{tournament:a.tournament,children:r}):(0,s.jsx)(eP.tQ,{tournament:a.tournament.uniqueTournament,seasonId:null==(t=a.season)?void 0:t.id,children:r})},eH=(0,i.memo)(e=>{let{event:t,leftTeam:a,rightTeam:r}=e,{meta:l,seoContent:o}=(0,i.useContext)(eM.x),c=t.tournament.category.sport.slug,d=c===n.QCR.Football,m=c===n.QCR.Tennis,p=(0,eL.w)(t.tournament);return(0,s.jsxs)(eT.B,{children:[(0,s.jsx)(eT.B.Item,{children:(0,s.jsx)(eP.di,{translatedParams:{sport:c},children:(0,s.jsx)(eI.o,{sportSlug:c})})}),!u.tt.includes(c)&&(0,s.jsx)(eT.B.Item,{children:(0,s.jsx)(eP.Z6,{category:t.tournament.category,children:(0,s.jsx)(eR.md,{...t.tournament.category,uniqueTournament:t.tournament.uniqueTournament})})}),(0,s.jsx)(eT.B.Item,{children:(0,s.jsxs)(ez,{event:t,sport:c,children:[p,t.roundInfo&&(0,s.jsxs)("span",{children:[", ",(0,s.jsx)(eF.DT,{round:t.roundInfo})]})]})}),(0,s.jsx)(eT.B.Title,{children:(null==o?void 0:o.heading)||(null==l?void 0:l.title)||(0,s.jsx)(eA.A,{id:d?"headerTitle.event-v3":m?"headerTitle.event.tennis":"headerTitle.event",values:{home:(0,s.jsx)("bdi",{children:(0,s.jsx)(eB.Rm,{team:a})}),away:(0,s.jsx)("bdi",{children:(0,s.jsx)(eB.Rm,{team:r})})}})})]})},(e,t)=>e.event.id===t.event.id&&e.leftTeam===t.leftTeam&&e.rightTeam===t.rightTeam);var eE=a(54529),eO=a(71024),eD=a.n(eO),eQ=a(77708),eG=a(74664),eW=a(26542);let eK=()=>{let e=(0,eG.o)();return(0,s.jsxs)(k.Zp,{children:[(0,s.jsx)(k.Zp.Header,{titleId:e===n.QCR.Cricket?"squad":eW.bU.includes(e)?"boxScore":"players",values:{gender:n.YT8.Male},as:"h2"}),(0,s.jsx)("div",{style:{width:687}})]})},eU=eD()(()=>Promise.resolve().then(a.bind(a,54850)),{loadableGenerated:{webpack:()=>[54850]},loading:()=>(0,s.jsx)(eK,{})}),eY=eD()(()=>a.e(30302).then(a.bind(a,30302)),{loadableGenerated:{webpack:()=>[30302]},loading:()=>(0,s.jsx)(eK,{})});function eN(){let{event:e}=(0,i.useContext)(d.y$),t=e.tournament.category.sport,{lineups:a,isLoading:r}=(0,eQ.Ir)({jerseyStyle:"fancy"});return!a||r?null:(0,s.jsx)(eE.tU.Panel,{tabKey:S.x.BoxScore,children:t.slug===n.QCR.Rugby?(0,s.jsx)(j.az,{roundedBottom:"lg",overflow:"hidden",mb:"md",children:(0,s.jsx)(eY,{})}):(0,s.jsx)(eU,{lineups:a})})}let e$=eD()(()=>a.e(88947).then(a.bind(a,88947)),{loadableGenerated:{webpack:()=>[88947]},ssr:!1,loading:()=>(0,s.jsx)(j.az,{h:"[935px]"})});function eq(){return(0,s.jsx)(eE.tU.Panel,{tabKey:S.x.Games,children:(0,s.jsx)(e$,{})})}let eV=eD()(()=>Promise.all([a.e(3074),a.e(43738),a.e(77552)]).then(a.bind(a,52192)),{loadableGenerated:{webpack:()=>[52192]},ssr:!1,loading:()=>(0,s.jsx)(j.az,{h:"[1280px]"})});function eX(){let e=(0,eG.o)();return(0,s.jsx)(eE.tU.Panel,{tabKey:e===n.QCR.MMA?S.x.Fights:S.x.Matches,children:(0,s.jsx)(eV,{})})}var eJ=a(52887);let eZ=eD()(()=>Promise.all([a.e(14591),a.e(96175),a.e(79210)]).then(a.bind(a,99866)),{loadableGenerated:{webpack:()=>[99866]},loading:()=>(0,s.jsx)(eJ.A,{})});function e0(){let{event:e}=(0,i.useContext)(d.y$),t=e.tournament.uniqueTournament,{sport:a}=e.tournament.category;return t&&e.season&&e.tournament.competitionType===n.wGu.Cup?(0,s.jsx)(eE.tU.Panel,{tabKey:S.x.Knockout,children:(0,s.jsx)(eZ,{uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:e.season.id,sport:a.slug})}):null}let e1=eD()(()=>Promise.resolve().then(a.bind(a,28105)),{loadableGenerated:{webpack:()=>[28105]},ssr:!1,loading:()=>(0,s.jsx)(eQ.Vj,{})});function e2(){let{event:e}=(0,i.useContext)(d.y$),t=e.tournament.category.sport.slug,a=eW.Bx.includes(t)&&!!e.hasEventPlayerStatistics;return(0,s.jsx)(eE.tU.Panel,{tabKey:S.x.Lineups,children:(0,s.jsx)(e1,{showPlayerStatistics:a})})}var e9=a(53255),e5=a(69909),e3=a(32019);let e4=(0,i.createContext)(20),e8=eD()(()=>Promise.all([a.e(56591),a.e(14632),a.e(35597),a.e(9748),a.e(71339)]).then(a.bind(a,66044)),{loadableGenerated:{webpack:()=>[66044]},ssr:!1,loading:()=>(0,s.jsx)(e4.Consumer,{children:e=>(0,s.jsx)(e5.d,{numberOfRows:e})})});function e6(e){let{numberOfStandingsRows:t}=e,{event:a,leftTeam:n,rightTeam:r}=(0,i.useContext)(d.y$),l=(0,e3.Z)(a,"standings");return(0,s.jsx)(eE.tU.Panel,{tabKey:S.x.Standings,children:(0,s.jsxs)(j.az,{roundedBottom:"lg",overflow:"hidden",children:[l&&(0,s.jsx)(e9.O,{entityId:a.id,branding:l,bannerText:l.standingsText,location:"event_standings"}),!!a.season&&(0,s.jsx)(e4,{value:null!=t?t:20,children:(0,s.jsx)(e8,{tournament:a.tournament,seasonId:a.season.id,homeTeamId:n.id,awayTeamId:r.id,loaderNumberOfRows:t})})]})})}let e7=()=>(0,s.jsx)(j.az,{h:"[1000px]"}),te=eD()(()=>Promise.all([a.e(14264),a.e(5141),a.e(96074)]).then(a.bind(a,49842)),{loadableGenerated:{webpack:()=>[49842]},ssr:!1,loading:()=>(0,s.jsx)(j.az,{h:"[864px]"})}),tt=eD()(()=>Promise.resolve().then(a.bind(a,14769)),{loadableGenerated:{webpack:()=>[14769]},ssr:!1,loading:()=>(0,s.jsx)(e7,{})}),ta=eD()(()=>a.e(32741).then(a.bind(a,32741)),{loadableGenerated:{webpack:()=>[32741]},ssr:!1,loading:()=>(0,s.jsx)(e7,{})}),ts=eD()(()=>Promise.all([a.e(46432),a.e(87770)]).then(a.bind(a,87770)),{loadableGenerated:{webpack:()=>[87770]},ssr:!1,loading:()=>(0,s.jsx)(e7,{})}),tn=()=>{let e=(0,eG.o)(),{event:t}=(0,i.useContext)(d.y$);switch(e){case n.QCR.MMA:return(0,s.jsx)(tt,{});case n.QCR.Cricket:return(0,s.jsx)(ta,{});default:if(t.status.type===n.XUj.NotStarted)return(0,s.jsx)(te,{});return(0,s.jsx)(ts,{})}};function tr(){return(0,s.jsx)(eE.tU.Panel,{tabKey:S.x.Statistics,children:(0,s.jsx)(tn,{})})}var tl=a(26208),to=a(59721),ti=a(73498),tc=a(85658),td=a(52466),tu=a(36882),tm=a(70251),tp=a(59777),th=a(1639),tg=a(83359),tx=a(82346),tf=a(64987),tb=a(26201),tv=a(94093),ty=a(94565);function t_(e){var t,a;let{channelId:r,type:l,eventId:o}=e,{data:i,isValidating:c}=(0,M.Ay)(n.RMf.eventChannelVotes(r,l,o));if(c)return(0,s.jsx)(j.az,{h:"2xl",pb:"2xs"});if(!i)return null;let d=i.tvChannelVotes.tvChannel.name,u=null!=(t=i.tvChannelVotes.upvote)?t:0,m=null!=(a=i.tvChannelVotes.downvote)?a:0;return(0,s.jsxs)(j.so,{direction:"row",align:"center",gap:"lg",children:[(0,s.jsx)(td.ft6,{fill:"onSurface.nLv3",w:16,h:16}),(0,s.jsxs)(j.so,{direction:"column",gap:"2xs",children:[(0,s.jsx)(eE.EY,{children:d}),(0,s.jsxs)(j.so,{gap:"xs",children:[(0,s.jsxs)(j.so,{align:"center",gap:"xs",children:[(0,s.jsx)(td.URl,{fill:"success.default"}),(0,s.jsx)(eE.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:u})]}),(0,s.jsxs)(j.so,{align:"center",gap:"xs",children:[(0,s.jsx)(td.fHS,{fill:"error.default"}),(0,s.jsx)(eE.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:m})]})]})]})]})}function tj(e){let{channelIds:t,type:a,eventId:r}=e,l=(0,c.A)(),o=t.length>1,i=t.length-1,[d,...u]=t,{data:m}=(0,M.Ay)(n.RMf.eventChannelVotes(d,a,r));return m?(0,s.jsxs)(j.so,{align:"center",gap:"xs",px:"sm",children:[(0,s.jsxs)(j.so,{align:"center",gap:"xs",children:[(0,s.jsx)(td.ft6,{fill:"onSurface.nLv3",w:16,h:16}),(0,s.jsx)(eE.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:m.tvChannelVotes.tvChannel.name})]}),o&&(0,s.jsx)(ty.AM,{closeOnOutsideClick:!0,trigger:(0,s.jsx)(j.I4.button,{"aria-label":l.formatMessage({id:"show_more"}),p:"xs",br:"lg",cursor:"pointer",_hover:{bg:"surface.s2"},_active:{bg:"surface.s0"},children:(0,s.jsx)(j.so,{bg:"action.primary.default",br:"md",h:"lg",px:"sm",children:(0,s.jsxs)(eE.EY,{textStyle:"assistive.default",color:"surface.s1",children:["+",i]})})}),children:(0,s.jsx)(j.az,{position:"absolute",zIndex:"popover",top:"xl",right:"0",w:"[200px]",children:(0,s.jsxs)(j.so,{direction:"column",gap:"lg",elevation:"3",bg:"surface.sp",br:"sm",p:"lg",children:[(0,s.jsx)(eE.EY,{textStyle:"display.small",children:(0,s.jsx)(eA.A,{id:"tv_channels"})}),(0,s.jsx)(j.so,{direction:"column",gap:"lg",children:u.map(e=>(0,s.jsx)(t_,{channelId:e,type:a,eventId:r},e))})]})})})]}):null}function tk(e){let{eventId:t,type:a}=e,r=(0,P.d4)(er.LQ),{data:l}=(0,M.Ay)(r?n.RMf.eventCountryChannels(a,t):null);if(!r||!l)return null;let o=l.countryChannels[r];return r in l.countryChannels&&(null==o?void 0:o.length)?(0,s.jsx)(tj,{channelIds:o,type:a,eventId:t}):null}var tw=a(18423);let tC=()=>{let{event:e,leftTeam:t,rightTeam:a}=(0,i.useContext)(d.y$),r=(0,c.A)(),l=e.tournament.uniqueTournament,o=e.venue,u=e.status.type===n.XUj.NotStarted,m=u&&!!e.finalResultOnly;return(0,s.jsx)(k.Zp,{children:(0,s.jsxs)(j.az,{children:[(0,s.jsx)(j.so,{position:"absolute",top:"lg",right:"lg",gap:"lg",children:(0,s.jsxs)(tc.hD,{children:[(0,s.jsx)(tm.h,{id:e.id,type:tu.b.Event,location:tu.y.Header,tournament:e.tournament,leftTeam:t,rightTeam:a,menuPosition:"bottom",children:e=>{let{onClick:t,disabled:a,isFollowed:n,isOpen:l}=e;return(0,s.jsx)(eE.m_,{content:r.formatMessage({id:"remove_from_favourites"}),strategy:"hover",disabled:!n||n&&l,children:(0,s.jsx)(ti.u,{onClick:t,disabled:a,variant:n?"compact":"primary",label:r.formatMessage({id:"button_favourite"}),children:(0,s.jsx)(td.zQC,{icon:n?"follow-active":"follow-default"})})})}}),(0,s.jsx)(tb.b,{isInDesktopHeader:!0}),u&&!m&&(0,s.jsx)(eE.m_,{content:r.formatMessage({id:"add_to_calendar"}),strategy:"hover",children:(0,s.jsx)(tf.A,{name:"".concat(e.homeTeam.name," - ").concat(e.awayTeam.name),startDate:e.startTimestamp,isClickable:!0,children:(0,s.jsx)(ti.u,{label:r.formatMessage({id:"add_to_calendar"}),children:(0,s.jsx)(td.E8x,{style:{width:24,height:24}})})})})]})}),(0,s.jsx)(j.az,{pt:"sm",children:(0,s.jsx)(tw.A,{isWide:!0,disableFollow:!0})}),(0,s.jsxs)(j.so,{justify:"center",px:"lg",pb:"md",pt:"sm",children:[(0,s.jsx)(tv.g,{isInDesktopHeader:!0}),l&&(0,s.jsx)(eP.tQ,{tournament:l,children:(0,s.jsxs)(j.so,{gap:"xs",align:"center",_hover:{bg:"surface.s2"},px:"sm",py:"xs",br:"lg",children:[(0,s.jsx)(to.e,{id:l.id,size:16}),(0,s.jsx)(eE.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:(0,s.jsx)(tx.O,{uniqueTournament:l})})]})}),(null==o?void 0:o.stadium.name)&&(0,s.jsx)(tp.A,{venue:o,children:(0,s.jsxs)(j.so,{gap:"xs",align:"center",_hover:{bg:o.hidden?void 0:"surface.s2"},px:"sm",py:"xs",br:"lg",children:[(0,s.jsx)(td.fRZ,{fill:"onSurface.nLv3",w:"16px",h:"16px"}),(0,s.jsx)(eE.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:o.stadium.name})]})}),e.groundType&&(0,s.jsxs)(j.so,{gap:"xs",align:"center",px:"sm",py:"xs",br:"lg",children:[(0,s.jsx)(th.l,{w:"lg",h:"lg",groundType:e.groundType}),(0,s.jsx)(eE.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:(0,s.jsx)(tg.n,{id:e.groundType})})]}),(0,s.jsx)(tk,{eventId:e.id,type:n.IAy.Event})]})]})})};var tS=a(42051);let tA=eD()(()=>Promise.all([a.e(85581),a.e(9045)]).then(a.bind(a,31426)),{loadableGenerated:{webpack:()=>[31426]},ssr:!1,loading:()=>(0,s.jsx)(j.az,{h:"[1000px]"})});function tT(){return(0,s.jsx)(eE.tU.Panel,{tabKey:S.x.Scorecard,children:(0,s.jsx)(tA,{})})}let tR=[n.QCR.Football,n.QCR.Basketball];function tP(e,t,a,s,r){let l=!!a&&!!s&&!!r;return e===n.QCR.Basketball?l?n.cWY.seasonRanks(t,a,s,r):void 0:l?n.cWY.seasonStatistics(t,a,s,r):s?n.cWY.yearStatistics(t,String(s)):void 0}var tM=a(93819),tF=a(29410),tI=a(48342);function tB(){let{hasTabs:e}=(0,tM.gY)();return e?(0,s.jsx)(j.az,{children:(0,s.jsx)(tI.A,{})}):null}function tL(e){let{event:t}=e;return(0,s.jsx)(tM.Ad,{event:t,children:(0,s.jsxs)(eE.tU.Panel,{tabKey:S.x.AiInsights,children:[(0,s.jsx)(tF.K,{}),(0,s.jsx)(tB,{}),(0,s.jsx)(tF.M,{event:t})]})})}function tz(e){var t;let{activeTab:a,setActiveTab:r,initialStandingsProperties:l}=e,o=(0,i.useContext)(d.y$),{event:c,leftTeam:m,rightTeam:p}=o,h=c.tournament.category.sport,g=c.tournament.category.sport.slug,x=g===n.QCR.MMA,{hasWinProbability:b}=(0,T.A)({hasWinProbability:{route:n.bnp.winProbability(c.id),skipCheck:c.status.type!==n.XUj.InProgress}}),{hasGamesTab:v,hasBoxScoreTab:y,hasLineupsTab:_,hasStatisticsTab:R,hasScorecardTab:P,hasCommentaryTab:M,hasCricketIncidents:F,hasKnockoutTab:I,hasStandingsTab:B,hasBasketballPregameTopPlayers:L,hasAiInsights:z}=(0,tS.A)(c),H=(()=>{var e,t;let a=(0,eG.o)(),{event:s,leftTeam:r,rightTeam:l}=(0,i.useContext)(d.y$),o=null==(e=s.tournament.uniqueTournament)?void 0:e.id,c=null==(t=s.season)?void 0:t.id,u=s.seasonStatisticsType,m=s.status.type===n.XUj.NotStarted&&tR.includes(a),p=!!o&&!!c&&!!u,h=tP(a,r.id,o,c,u),g=tP(a,l.id,o,c,u),{hasLeftStatistics:x,hasRightStatistics:f,hasLeftTopPlayers:b,hasRightTopPlayers:v}=(0,T.A)({hasLeftStatistics:{route:h,skipCheck:!m},hasRightStatistics:{route:g,skipCheck:!m},hasLeftTopPlayers:{route:p?n.cWY.topPlayers(r.id,o,c,u):void 0,skipCheck:!m},hasRightTopPlayers:{route:p?n.cWY.topPlayers(l.id,o,c,u):void 0,skipCheck:!m}},[s.id,p]);return!!x&&!!f&&!!b&&!!v})(),E=!!R||!!F||!!b||H,O=[{tabKey:S.x.Games,item:"games",values:{sport:n.QCR.ESports},isHidden:!v},{tabKey:S.x.Scorecard,item:"cricket.scorecard",isHidden:!P},{tabKey:S.x.BoxScore,item:"boxScore",isHidden:!y},{tabKey:S.x.Lineups,item:g===n.QCR.Cricket?"squads":"lineups",isHidden:!_||L},{tabKey:S.x.AiInsights,item:"tab_ai_insights",isHidden:!z},{tabKey:S.x.Statistics,item:"statistics",isHidden:!E},{tabKey:S.x.Standings,item:"app.standings",isHidden:!B},{tabKey:x?S.x.Fights:S.x.Matches,item:x?"fights_mma":"head_to_head_short",values:x?void 0:{sport:(0,A.ap)(g)}},{tabKey:S.x.Knockout,item:"knockout",isHidden:!I}],D=O.some(e=>!e.isHidden&&e.tabKey===a)?a:null==(t=O.find(e=>!e.isHidden))?void 0:t.tabKey;return(0,s.jsx)(d.Ws,{value:h.slug,children:(0,s.jsxs)(d.y$,{value:{...o,location:d.cb.EventPage},children:[(0,s.jsx)(eH,{event:c,leftTeam:m,rightTeam:p}),(0,s.jsx)(tC,{}),(0,s.jsxs)(w.xA,{py:"md",gap:"md",children:[(0,s.jsxs)(w.fv,{flexGrow:1,children:[(0,s.jsx)(eS,{hasCommentary:!!M}),(0,s.jsx)(f.Aq,{route:u.xW.Event})]}),(0,s.jsxs)(w.fv,{flexGrow:2,children:[(0,s.jsx)(k.Zp,{children:D&&(0,s.jsx)(k.WC,{variant:"square",children:(0,s.jsx)(j.so,{w:"100%",overflow:"hidden",br:"lg",children:(0,s.jsxs)(C.A,{id:c.id,location:C.C.EventPage,eventStatusType:c.status.type,initialTabKey:D,tabs:O,customControls:[D,r],children:[v&&(0,s.jsx)(eq,{}),P&&(0,s.jsx)(tT,{}),y&&(0,s.jsx)(eN,{}),_&&(0,s.jsx)(e2,{}),z&&(0,s.jsx)(tL,{event:c}),E&&(0,s.jsx)(tr,{}),B&&(0,s.jsx)(e6,{numberOfStandingsRows:null==l?void 0:l.numberOfRows}),(0,s.jsx)(eX,{}),I&&(0,s.jsx)(e0,{})]})})})}),(0,s.jsx)(tl.I,{event:c})]})]})]})})}var tH=a(23246),tE=a(75467),tO=a(13705),tD=a(75289),tQ=a(29156),tG=a(95224),tW=a(11059),tK=a(61837),tU=a(92852),tY=a(18749),tN=a(33396),t$=a(97563),tq=a(43601),tV=a(87448),tX=a(54369),tJ=a(21795),tZ=a(96662),t0=a(15361),t1=a(29595);function t2(e){let{activeTab:t,setActiveTab:a}=e,{event:r,leftTeam:l,rightTeam:o}=(0,i.useContext)(d.y$),c=r.tournament.category.sport.slug,u=r.status.type===n.XUj.InProgress,m=c===n.QCR.Football,p=c===n.QCR.MMA,h=c===n.QCR.Basketball,g=(0,eC.BC)(r.status),{hasCricketIncidents:x,hasScorecardTab:b,hasOversTab:v,hasGraphsTab:y,hasCommentaryTab:_,hasGamesTab:k,hasBoxScoreTab:w,hasLineupsTab:T,hasStatisticsTab:R,hasPlayByPlayTab:P,hasStandingsTab:M,hasMatchesTab:F,hasFeaturedOdds:I,hasAdditionalOddsTab:B,hasWinningOdds:L,hasFeaturedOddsTab:z,hasMediaTab:H,isSpecialEsports:E,hasRecommendedPrematchOdds:O,hasKnockoutTab:D,hasAiInsights:Q}=(0,tS.A)(r),G=[{tabKey:S.x.Details,item:"details"},{tabKey:S.x.AiInsights,item:"tab_ai_insights",isHidden:!Q},{tabKey:S.x.AdditionalOdds,item:"odds",isHidden:!B||g},{tabKey:S.x.Games,item:"games",values:{sport:n.QCR.ESports},isHidden:!k},{tabKey:S.x.Overs,item:"cricket.overs",isHidden:!v},{tabKey:S.x.Scorecard,item:"cricket.scorecard",isHidden:!b},{tabKey:S.x.Commentary,item:"commentary",isHidden:!_||m||h},{tabKey:S.x.BoxScore,item:"boxScore",isHidden:!w},{tabKey:S.x.Lineups,item:c===n.QCR.Cricket?"squads":"lineups",isHidden:!T},{tabKey:S.x.Statistics,item:"statistics",isHidden:!R},{tabKey:S.x.Commentary,item:"commentary",isHidden:!_||!m&&!h},{tabKey:S.x.PlayByPlay,item:"cricket.pbp",isHidden:!P},{tabKey:S.x.Standings,item:"app.standings",isHidden:!M},{tabKey:S.x.Graphs,item:"graphs",isHidden:!y},{tabKey:p?S.x.Fights:S.x.Matches,item:p?"fights_mma":"matches",values:p?void 0:{sport:(0,A.ap)(c)},isHidden:!F},{tabKey:S.x.Knockout,item:"knockout",isHidden:!D},{tabKey:S.x.FeaturedOdds,item:"featured_odds",isHidden:!z},{tabKey:S.x.Media,item:"media",isHidden:!H},{tabKey:S.x.AdditionalOdds,item:"odds",isHidden:!B||!g}];return(0,s.jsxs)(d.Ws,{value:c,children:[(0,s.jsxs)(j.az,{bg:"surface.s1",children:[(0,s.jsx)(eH,{event:r,leftTeam:l,rightTeam:o}),(0,s.jsx)(t0.g,{})]}),(0,s.jsxs)(C.A,{id:r.id,location:C.C.EventPage,eventStatusType:r.status.type,initialTabKey:t,tabs:G,customControls:[t,a],children:[(0,s.jsx)(tQ.A,{isInsideEventWidget:!1,isSpecialEsports:E,hasStandings:!!M,hasCricketIncidents:x,hasFeaturedOdds:I,hasWinningOdds:L,hasMediaTab:H,onFeaturedOddsClick:()=>a(S.x.FeaturedOdds),onBestPlayersClick:()=>a(w?S.x.BoxScore:S.x.Lineups),onPrematchStandingsClick:()=>a(S.x.Standings),onSeeAllStatisticsClick:()=>a(S.x.Statistics),onHighlightShortcutClick:()=>a(S.x.Media)}),Q&&(0,s.jsx)(t1.A,{event:r}),B&&(0,s.jsx)(tE.A,{}),k&&(0,s.jsx)(tW.A,{}),v&&(0,s.jsx)(t$.A,{}),b&&(0,s.jsx)(tV.A,{event:r}),w&&(0,s.jsx)(tO.A,{}),T&&(0,s.jsx)(tU.A,{}),R&&(0,s.jsx)(tJ.A,{event:r}),P&&(0,s.jsx)(tq.A,{}),M&&(0,s.jsx)(tX.A,{event:r,leftTeamId:l.id,rightTeamId:o.id}),y&&(0,s.jsx)(tK.A,{tabKey:S.x.Graphs}),_&&c!==n.QCR.IceHockey&&(0,s.jsx)(tD.A,{}),(0,s.jsx)(tY.A,{}),D&&r.tournament.uniqueTournament&&r.season&&(0,s.jsx)(tH.A,{uniqueTournament:r.tournament.uniqueTournament,seasonId:r.season.id,sport:c}),z&&(0,s.jsx)(tG.A,{hasRecommendedPrematchOdds:O}),H&&(0,s.jsx)(tN.A,{event:r,isLive:u})]}),(0,s.jsx)(j.az,{mb:"sm",children:(0,s.jsx)(tZ.i,{id:f.Rj.MOBILE_EVENT_BOTTOM})})]})}var t9=a(67459);function t5(e){var t;let{activeTab:a,setActiveTab:n,initialStandingsProperties:r}=e,{event:l}=(0,i.useContext)(d.y$),o=l.tournament.category.sport;return(0,s.jsx)(d.Ws,{value:o.slug,children:(0,s.jsxs)(t9.Hy,{eventId:l.id,children:[(0,s.jsx)(b.$B,{children:(0,s.jsx)(t2,{activeTab:a,setActiveTab:n})}),(0,s.jsx)(b.h6,{children:(0,s.jsx)(f.JR,{route:u.xW.Event,children:(0,s.jsx)(tz,{activeTab:a,setActiveTab:n,initialStandingsProperties:r})})}),(0,s.jsx)(y.S,{utId:null==(t=l.tournament.uniqueTournament)?void 0:t.id,location:_.XN.EventScreen}),(0,s.jsx)(v.N,{page:{location:_.XN.EventScreen,entity:l}})]})})}var t3=a(81278),t4=a(79082);let t8={event_details:S.x.Details,event_lineups:S.x.Lineups,event_statistics:S.x.Statistics};var t6=a(31830),t7=a(88715),ae=a(308),at=a(97825),aa=a(7763),as=a(18153),an=a(45906);let ar=[n.QCR.AmericanFootball,n.QCR.Cricket,n.QCR.Football,n.QCR.Baseball,n.QCR.Basketball,n.QCR.TableTennis,n.QCR.IceHockey,n.QCR.Handball,n.QCR.Volleyball,n.QCR.MMA];function al(e){var t,a,l,f,b;if("error"in e)return(0,s.jsx)(an.default,{statusCode:404});let v=(0,c.A)(),{eventId:y,setEventId:j,shareInfo:k,setShareInfo:w,activeTab:C,setActiveTab:A}=(e=>{let t=!!(0,t3.useRouter)().query.sport,a={name:e.slug,id:e.customId};t&&(a.sport=(0,eC.c5)(e));let[s,n]=(0,t4.Ay)({routeKey:u.xW.Event,params:a}),[r,l]=(0,i.useState)((null==s?void 0:s.tab)||S.x.Details);(0,i.useEffect)(()=>{(null==s?void 0:s.tab)&&l(null==s?void 0:s.tab)},[null==s?void 0:s.tab]);let o=(null==s?void 0:s.id)&&!Number.isNaN(null==s?void 0:s.id)?s.id:e.id,[c,d]=(0,i.useState)();return(0,i.useEffect)(()=>{let e=window.location.hash.replace("#",""),t={};e.startsWith("share:")&&(e.replace("share:","").split(",").forEach(e=>{let a=e.split(":");2===a.length&&((e,t,a)=>{switch(t){case"s":e.source=(e=>{switch(e){case"a":return"android";case"i":return"ios";case"w":return"web";default:return}})(a);return;case"id":e.id=Number(a);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}})(a);return;default:return}})(t,a[0],a[1])}),d(t));t.id&&n("id",t.id.toString())},[]),{eventId:o,setEventId:e=>n("id",e.toString()),shareInfo:c,setShareInfo:d,activeTab:r,setActiveTab:e=>n("tab",e)}})(e.event),{event:T}=(0,g.A)(y,{shouldRefresh:!0,onFetchError:()=>j(e.event.id)}),R=(null==T?void 0:T.customId)===e.event.customId?T:e.event,[P,M]=(0,x.A)(R,"homeTeam","awayTeam",R),[F,I]=(0,x.A)(R,"homeScore","awayScore",R);(0,i.useEffect)(()=>{if(T&&((0,_.l3)(T.id,T.status.type),k&&k.id&&k.category&&k.source)){t8[k.category]&&A(t8[k.category]),w(void 0);try{sessionStorage.setItem(h.IE,"share")}catch(e){}}},[null==T?void 0:T.id]);let{customId:B,slug:L,homeTeam:z,awayTeam:H,tournament:E,startTimestamp:O}=R,D=(0,t6.A)(),Q=z.name,G=H.name,W=R.venue,K=v.formatDate((0,r.pp)(O,!0),{...r.or.dateWithShortMonth}),U=v.formatTime((0,r.pp)(O,!0)),Y=R.tournament.category.sport.slug,N=Y===n.QCR.Football,$=Y===n.QCR.ESports,q=null==(t=E.category.alpha2)?void 0:t.toLowerCase(),V=null==(l=z.country)||null==(a=l.alpha2)?void 0:a.toLowerCase(),X=null==(b=H.country)||null==(f=b.alpha2)?void 0:f.toLowerCase(),J=R.isEditor?!(0,m.N)(null!=q?q:V&&X&&V===X?V:"",D):(0,p.v)(Y,D),Z=t7.z.getTranslatedCanonicalRoute(D,"event",{id:B,name:L,sport:Y}).route,ee={item:"".concat(R.homeTeam.name," ").concat(R.awayTeam.name),homeTeamName:Q,awayTeamName:G,home:Q,away:G,startDate:K,startTime:U,tournamentName:E.name,categoryName:E.category.name,hasVenue:!!W,year:new Date(1e3*R.startTimestamp).getFullYear(),...(0,eC.Ee)(W)},et="event",ea="livescore";return["fr","it"].includes(D)&&N&&(et="event-v2"),N&&(ea="livescore-v3"),$&&(et="event-esports",ea="livescore-esports"),(0,s.jsxs)(eM.x,{value:{meta:e.meta,eventMeta:e.eventMeta,seoContent:e.seoContent},children:[(0,s.jsxs)(o(),{children:[(0,s.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(Z)}),(0,s.jsx)("link",{rel:"alternate",href:"android-app://com.sofascore.results/https/www.sofascore.com/event/".concat(R.id)}),(0,s.jsx)("meta",{property:"og:image",content:n.bnp.shareDetailsImage("16x9",R.id)}),(0,s.jsx)("meta",{property:"og:image:width",content:"2130"}),(0,s.jsx)("meta",{property:"og:image:height",content:"1200"}),J&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,s.jsx)(ae.A,{event:R}),(0,s.jsx)(eM.A,{metaKey:et,titleKey:ea,keywordsKey:"sport",values:ee}),(0,s.jsx)(d.y$,{value:{event:R,leftTeam:P,rightTeam:M,leftScore:F,rightScore:I,location:d.cb.EventPage,initialIncidents:e.incidents,initialHasLineups:e.initialHasLineups},children:(0,s.jsx)(t5,{activeTab:C,setActiveTab:A,initialStandingsProperties:e.initialStandingsProperties})})]})}al.getInitialProps=aa.Ay.getInitialPageProps(e=>async t=>{let{query:s,req:r,res:l,...o}=t,i=r?r._originalUrl:o.asPath,c=t7.z.getCurrentLocale(i),d=r&&r.params?r.params:s,m=d.id;try{var p,h,g;let t,s=Number(null==(p=(0,t4.JT)(i))?void 0:p.id);(!s||Number.isNaN(s))&&(s=Number((await n.nk6.fetchCurrentlyRelevantEvent(m)).currentlyRelevantEvent.id));let[r,o,x,f,b,v]=await Promise.allSettled([n.nk6.fetchEvent(s),n.sdF.getEntityMeta(n.wNW.Event,m,c),n.nk6.fetchH2HMeta(s),ar.includes(d.sport)?n.sdF.getSeoContent(n.wNW.Event,s,c):Promise.reject(),n.nk6.hasLineups(s),n.nk6.fetchEventIncidents(s)]),y="fulfilled"===r.status?r.value.event:void 0;if(!y)throw Error();let _="fulfilled"===o.status?o.value.entityMeta:void 0,j="fulfilled"===x.status?x.value.meta:void 0,k="fulfilled"===f.status?f.value.content:void 0,w="fulfilled"===b.status?b.value:void 0,C="fulfilled"===v.status&&(null==(h=v.value.incidents)?void 0:h.length)?v.value.incidents:void 0,S=y.tournament.category.sport.slug;if(l&&(y.slug!==d.name||S!==d.sport)&&(l.writeHead(301,{Location:t7.z.getTranslatedRoute(c,"event",{id:y.customId,name:y.slug,sport:S}).route}),l.end()),l&&!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 n.nk6.fetchStandingsProperties(y.tournament.id,null==(g=y.season)?void 0:g.id)}catch(e){}let A=(0,n.S$s)(),T=(await a.e(81088).then(a.t.bind(a,81088,19))).default;return e.dispatch((0,at.Od)(T)),e.dispatch((0,as.Vy)(S)),{event:y,meta:_,eventMeta:j,seoContent:k,initialHasLineups:w,revalidate:A,incidents:C,initialStandingsProperties:t}}catch(e){return l&&(l.statusCode=404),{error:e}}})},17887:e=>{e.exports=JSON.parse('{"ice-hockey":{"forward":"stats.forwards","defenseman":"hockey_defensemen","goalie":"legend_hockey_goalies"}}')},18205:(e,t,a)=>{a.d(t,{e:()=>i});var s=a(6029),n=a(18612),r=a(76356),l=a(55729);function o(e){let{rows:t,rowHeight:a}=e;return(0,s.jsx)(n.D,{animate:!0,height:t*a,uniqueKey:"generic-table-cl",children:Array(t).fill(null).map((e,t)=>{let n=t*a;return(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("circle",{cx:20,cy:n+a/2,r:12}),(0,s.jsx)("rect",{x:40,y:n+8,width:"calc(100% - 48px)",height:a-16})]},n)})})}function i(e){let{rows:t=12}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.az,{hideBelow:"md",children:(0,s.jsx)(o,{rowHeight:32,rows:t})}),(0,s.jsx)(r.az,{hideFrom:"md",children:(0,s.jsx)(o,{rowHeight:48,rows:t})})]})}},22932:(e,t,a)=>{a.d(t,{_:()=>i});var s=a(19501),n=a(85339),r=a(95084),l=a(46340),o=a(78003);let i=(e,t)=>!!(0,o.v)(t)&&((e,t)=>{switch(e.location){case r.XN.PlayerScreen:return((e,t)=>{var a;return t.id===l.v.Courtside1891&&e.team.sport.slug===s.QCR.Basketball&&(null==(a=e.country)?void 0:a.alpha2)&&n.bx.includes(e.country.alpha2)})(e.entity,t);case r.XN.LeagueScreen:return((e,t)=>{switch(t.id){case l.v.Courtside1891:return e.id===n.MS;case l.v.UclFantasy:return e.id===s.G6l.UEFAChampionsLeague;default:return!1}})(e.entity,t);case r.XN.EventScreen:return((e,t)=>{var a;return t.id===l.v.Courtside1891&&(null==(a=e.tournament.uniqueTournament)?void 0:a.id)===n.MS})(e.entity,t);case r.XN.TeamScreen:return((e,t)=>{var a;return t.id===l.v.Courtside1891&&e.sport.slug===s.QCR.Basketball&&(null==(a=e.country)?void 0:a.alpha2)&&n.bx.includes(e.country.alpha2)})(e.entity,t);default:return!1}})(e,t)},23246:(e,t,a)=>{a.d(t,{A:()=>c});var s=a(6029),n=a(54529),r=a(71024),l=a.n(r),o=a(56132);let i=l()(()=>Promise.all([a.e(96175),a.e(33211)]).then(a.bind(a,55891)),{loadableGenerated:{webpack:()=>[55891]},ssr:!1});function c(e){let{uniqueTournament:t,seasonId:a,sport:r}=e;return(0,s.jsx)(n.tU.Panel,{tabKey:o.x.Knockout,children:(0,s.jsx)(i,{sport:r,uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:a})})}},29180:(e,t,a)=>{a.d(t,{V:()=>n});var s=a(19501);function n(e,t,a){if(a===s.QCR.Football&&11!==t.length||a===s.QCR.Basketball&&5!==t.length)throw Error("getFormationMatrix(): Insufficient players to form formation ".concat(e,"."));let n=[],r=[...e.split("-")].map(Number);a===s.QCR.Football&&r.unshift(1);let l=[...t];return r.forEach(e=>{n.push(l.splice(0,e))}),n}},32019:(e,t,a)=>{a.d(t,{C:()=>r,Z:()=>l});var s=a(494),n=a(86522);let r=(e,t,a)=>{var s,n,r;let l=null==(s=e.tournament.uniqueTournament)?void 0:s.id;if(l&&(null==a||null==(r=a.uniqueTournaments)||null==(n=r[l])?void 0:n[t]))return null==a?void 0:a.uniqueTournaments[l]},l=(e,t)=>r(e,t,(0,s.d4)(n.g))},34199:(e,t,a)=>{a.d(t,{eD:()=>r.e,l3:()=>n.l,pY:()=>s.p});var s=a(91603),n=a(37721),r=a(33480)},34993:(e,t,a)=>{function s(e,t){let a=[];for(let s=0;so});let n=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,s=[],n=1/a;for(let a=0;a<=e;a+=n)s.push(Math.exp(-a*a/(2*t*t)));return s},r=(e,t,a,s)=>Math.sqrt(Math.pow(a-e,2)+Math.pow(s-t,2)),l=(e,t,a)=>{let s=Math.round(t),n=Math.round(a),r=Math.round(e);return rs?r:s:n};function o(e,t,a,o){try{((e,t,a,o,i)=>{var c,d;let u,{containerId:m,isAway:p=!1,width:h,height:g,numberOfMatches:x,shootMapType:f=1,precisionLevel:b=10,isTransparentBackground:v}=a,{HEIGHT:y,WIDTH:_,MAX_POINT_VALUE:j}=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 w=e?(c=x||1,u=14,c&&c>1&&(u=Math.round((1-Math.pow(c/38,.28))*10+4)),u):(d=x||1,d>82?Math.round((1-Math.pow(d/110,.1))*8+12):Math.round((1-Math.pow(d/82,.1))*8+12)),C=e?((e,t)=>{let{width:a,height:n,isFlipped:r=!1,pointMaximum:o=100,widthScaleFactor:i=1.6,heightScaleFactor:c=1,pointValue:d=1}=t,u=s(a,n);return e.forEach(e=>{let t=r?o-e.x:e.x,s=r?e.y:o-e.y,m=l(t*i,0,a-1),p=l(s*c,0,n-1);u[m][p]+=d*(e.count||1)}),u})(t,{isFlipped:p,width:_,height:y}):function(e,t,a,n){let r=s(a+1,n+1);return e.forEach(e=>{let{x:a,y:s,made:n,missed:l}=e;switch(t){case 1:r[a- -250][s- -40]+=n+l;break;case 2:r[a- -250][s- -40]+=n;break;default:r[a- -250][s- -40]+=l}}),r}(t,f,_,y);!e&&x&&x>5&&function(e,t,a,s){let n,r,l,o,i,c;for(o=0;o<=100;o++){for(n=0,r=0,l=0,i=2;i<=10;i++)++l,n+=s[o][80-i],r+=s[o][80+i];for(c=0;c<=2;c++)s[o][e+c]=(n+r)/(2*l),s[o][e-c]=(n+r)/(2*l)}}(80,2,0,C);let S=function(e,t,a,s,n){let r=document.createElement("canvas");r.width=1,r.height=1e3;let l=r.getContext("2d");if(!l)throw Error("No color gradient context for heatmap found");let o=l.createLinearGradient(0,0,1,1e3),i=a?{0:n?"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(i).forEach(e=>{let a=i[+e],n=Number(e);s&&n<.2?o.addColorStop(n,t.setAlpha(a,n+.2)):o.addColorStop(n,t.setAlpha(a,1))}),l.fillStyle=o,l.fillRect(0,0,1,e),l.getImageData(0,0,1,e).data}(1e3,o,e,v,i),A=((e,t,a)=>{let{height:s,width:n,gradientScaleFactor:r,gradientRange:l}=a,o=document.createElement("canvas");o.height=s,o.width=n;let i=o.getContext("2d");if(!i)throw Error("No heatmap canvas context found");let c=i.getImageData(0,0,n,s),d=c.data;for(let a=0;a{let{width:n,height:l,influenceRadius:o,precisionLevel:i=10}=a,c=s(n,l);for(let a=0;a{a.d(t,{A:()=>i,q:()=>o});var s=a(6029),n=a(94565),r=a(55729),l=a(43072);let o=e=>{let{initialVisible:t=!1,defaultHeight:a=0,visibleOffset:o=1e3,persist:i=!1,loader:c,children:d,...u}=e,m={initialInView:t,rootMargin:"".concat(o,"px 0px ").concat(o,"px 0px")},[p,h,g]=(0,l.Wx)(m),x=(0,r.useRef)(t),f=(0,r.useRef)(a);(0,r.useEffect)(()=>{h&&!0!==x.current&&(x.current=!0),h&&f.current!==a&&(f.current=(null==g?void 0:g.boundingClientRect.height)||a)},[h,g]);let b=c||(f.current?(0,s.jsx)(n.az,{h:f.current}):null),v=h||i&&x.current;return(0,s.jsx)(n.az,{ref:p,...u,children:v?d:b})},i=o},42181:(e,t,a)=>{a.d(t,{XF:()=>o,g9:()=>c,mi:()=>i,ob:()=>l});var s=a(76356),n=a(94565),r=a(41735);let l="rgba(255, 255, 255,0.3)",o=(0,r.default)(s.so)` position: relative; width: ${e=>e.isHorizontalLayout?"50%":"100%"}; 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 ${l};`;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}}; `,i=(0,r.default)(s.so)` z-index: ${n.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}}; `,c=r.default.div` position: absolute; z-index: ${n.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: ${n.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: ${n.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: ${n.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: ${n.Py.Backdrop}; bottom: 16px; right: 12px; } `},44224:(e,t,a)=>{a.d(t,{j:()=>o});var s=a(22375),n=a(45860),r=a(11276);let l=e=>fetch(e,{method:"HEAD",cache:"no-store"});function o(){let{data:e,error:t,isLoading:a}=(0,n.Ay)(r.sp,{fetcher:l,dedupingInterval:s.d_});return{isLoading:a,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}},50526:(e,t,a)=>{a.d(t,{A:()=>d});var s=a(6029),n=a(494),r=a(72753),l=a(54529),o=a(76356),i=a(52466);function c(){return(0,s.jsx)("a",{href:"https://certifications.gamingcommission.gov.gr/publicRecordsOnline/SitePages/KatoxoiAdeiasOnline.aspx",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,s.jsxs)(o.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,s.jsx)(o.az,{h:"xl",w:"xl",children:(0,s.jsx)(i.OE_,{w:"24px",h:"24px",fill:"onSurface.nLv3",fillOpacity:1})}),(0,s.jsx)(l.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function d(){return"GR"===(0,n.d4)(r.LQ)?(0,s.jsx)(c,{}):null}},50677:e=>{e.exports=JSON.parse('{"football":{"totalContest":"football_dribble_attempts","goalAssist":"football_assists","Penalty won":"penaltyWon","Penalty miss":"football_penalties_missed","bigChanceMissed":"football_big_chances_missed","accuratePass":"football_accurate_passes","keyPass":"football_key_passes","assists":"football_assists","highClaims":"football_high_claims","redCards":"red_cards","rating":"sofascore_rating","totalCross":"football_total_crosses","hitWoodwork":"football_hit_woodwork","totalShots":"football_total_shots","shotsOnTarget":"football_shots_on_goal","offsides":"football_offsides","bigChancesMissed":"football_big_chances_missed","shotsOffTarget":"football_shots_off_target","blockedShots":"football_blocked_shots","tackles":"football_tackles","interceptions":"football_interceptions","clearances":"football_clearances","accuratePasses":"football_accurate_passes","yellowCards":"football_yellow_cards","fouls":"football_fouls","dispossessed":"football_dispossessed","bigChanceCreated":"bigChancesCreated","totalClearance":"football_clearances","outfielderBlock":"football_blocked_shots","outfielderBlocks":"football_blocked_shots","inaccuratePasses":"inaccuratePasses","accurateFinalThirdPasses":"accurateFinalThirdPasses","crossesNotClaimed":"crossesNotClaimed","interceptionWon":"football_interceptions","totalTackle":"football_tackles_won_in_brackets","errorLeadToAGoal":"errors_leading_to_goal","errorLeadToAShot":"errors_lead_to_shot","errorLeadToGoal":"errors_leading_to_goal","errorLeadToShot":"errors_lead_to_shot","penaltyCommited":"penaltyCommitted","challengeLost":"dribbledPast","Penalty save":"football_penalties_saved","totalKeeperSweeper":"football_runs_out","goodHighClaim":"football_high_claims","onTargetScoringAttempt":"football_shots_on_goal","shotOffTarget":"football_shots_off_target","blockedScoringAttempt":"football_shots_blocked","savedShotsFromInsideTheBox":"football_saves_inside_box","penaltyConceded":"football_penalties_committed","penaltySave":"football_penalties_saved","penaltyShootoutSave":"penaltyShootoutSave","totalOffside":"football_offsides","possessionLostCtrl":"football_possession_lost","totalPass":"football_total_passes","wonContest":"football_successful_dribbles","expectedGoals":"football_expected_goals","expectedAssists":"football_expected_assists","goalsPrevented":"football_goals_prevented","secondYellow":"secondYellow","attemptPenaltyMiss":"attemptPenaltyMiss","totalClearances":"totalClearances","wonTackles":"wonTackles","punchesAndGoodHighClaims":"punchesAndGoodHighClaims","minutesPlayed":"minutes_played","punches":"football_goalkeeper_punches","totalDuels":"football_total_duels_won_in_brackets","totalGroundDuels":"football_ground_duels_won_in_brackets","totalAerialDuels":"football_aerial_duels_won_in_brackets","totalDefensiveActions":"football_defensive_actions","notes":"stat_notes","scoringFrequency":"football_scoring_frequency_minutes","goalsAssistsSum":"goals_and_assists","penaltyGoals":"football_penalty_goals","freeKickGoal":"football_free_kick_goals","saves":"football_total_saves","totalLongBalls":"football_total_long_balls","cleanSheet":"football_clean_sheets","penaltyMiss":"football_penalties_missed","accuratePassesPercentage":"accurate_passes_percent","goalsFromInsideTheBox":"goals_inside_box","goalsFromOutsideTheBox":"goals_outside_box","headedGoals":"headed_goals","leftFootGoals":"left_foot_goals","rightFootGoals":"right_foot_goals","successfulDribbles":"football_successful_dribbles","keyPasses":"football_key_passes","groundDuelsWon":"football_ground_duels_won_in_brackets","aerialDuelsWon":"aerial_duels_won","totalDuelsWon":"football_total_duels_won","touches":"football_touches","wasFouled":"football_was_fouled","possessionLost":"football_possession_lost","matchesStarted":"player_started_match","totalPasses":"football_total_passes","penaltyConversion":"football_penalty_conversion","longBalls":"football_long_balls","clearanceOffLine":"football_clearances_off_line","goalsConceded":"football_goals_conceded","duels":"football_duels","kilometersCovered":"football_running_distance_covered","topSpeed":"football_running_top_speed","numberOfSprints":"football_running_number_of_sprints","expectedGoalsOnTarget":"football_expected_goals_on_target","accurateCross":"football_total_crosses","unsuccessfulTouch":"football_unsuccessful_touches","ballRecovery":"football_recoveries","penaltyFaced":"football_penalties_faced_saved_in_brackets","accurateKeeperSweeper":"football_runs_out","crossNotClaimed":"football_goalkeeper_crosses_not_claimed","penaltyShootoutGoal":"football_penalty_shootout_goals","penaltyShootoutMiss":"football_penalty_shootout_misses","accurateLongBalls":"football_total_long_balls","penaltyWon":"football_penalties_won","aerialWon":"football_aerial_duels_won_in_brackets","lastManTackle":"football_last_man_tackles","ownGoals":"own_goals","accurateOppositionHalfPasses":"football_passes_in_opposition_half_accurate","accurateOwnHalfPasses":"football_passes_in_own_half_accurate","metersCoveredWalkingAndJoggingKm":"football_walking_jogging","metersCoveredRunningKm":"football_running","metersCoveredHighSpeedRunningKm":"football_high_speed_running","metersCoveredSprintingKm":"football_sprinting","totalOppositionHalfPasses":"football_passes_in_opposition_half_accurate","totalOwnHalfPasses":"football_passes_in_own_half_accurate"},"basketball":{"threePt":"threePointers","twoPt":"twoPointers","pir":"pirStat","rating":"sofascore_rating","assists":"football_assists","minutesPlayed":"minutes_played","secondsPlayed":"minutes_per_game"},"american-football":{"passingLongest":"longestPass","passingTouchdowns":"passing_touchdowns","passingSacked":"am_football_sack_yards_stat","passingRating":"am_football_passer_rating","passingAirYards":"am_football_air_yds","passingDroppedPasses":"am_football_drop_pass","passingFirstDowns":"am_football_pass_1st_downs","rushingLongest":"longestRush","rushingFumbles":"fumbles","rushingYardsAfterContact":"am_football_yacon_stat","rushingFirstDowns":"am_football_rushing_fd_stat","rushingRedZoneAttempts":"am_football_rz_attempts","fumbleFumbles":"fumbles","fumbleLost":"fumblesLost","fumbleSafety":"fumblesSafety","fumbleRecovery":"fumbleRecoveries","fumbleTeammateFumbleRecovery":"teammateFumbleRecoveries","fumbleTouchdownReturns":"fumbleReturnTouchdowns","fumbleOpponentFumbleRecovery":"am_football_recoveries_opposition","fumbleOwnFumbleRecovery":"am_football_recoveries_own","fumbleOutOfBounds":"am_football_out_of_bounds","receivingReceptions":"receptions","receivingTargets":"receiving_targets","receivingFirstDowns":"am_football_receiving_fd_stat","receivingLongest":"longestReception","receivingYardsPerReception":"yardsPerReception","receivingYardsAfterCatch":"am_football_yds_after_catch","receivingDroppedPasses":"am_football_drop_reception","receivingRedZoneTargets":"am_football_rz_targets","receivingYardsAfterContact":"am_football_yds_after_catch","defensiveCombineTackles":"combineTackles","defensiveTotalTackles":"amf_tackles","defensiveAssistTackles":"assistTackles","defensiveSacks":"sacks","defensiveForcedFumbles":"forcedFumbles","defensiveSafeties":"safeties","defensiveInterceptions":"football_interceptions","defensiveInterceptionsTouchdowns":"interceptionsTouchdowns","defensiveInterceptionsYards":"interceptionsYards","defensivePassesDefensed":"am_football_passes_def","defensiveBattedPasses":"am_football_batted_pass","defensiveDefensiveTargets":"am_football_def_targets","defensiveTacklesForLostYards":"am_football_tackles_loss","kickReturnsAverageYards":"kickReturnsAvgYards","kickReturnsLong":"longestKickReturns","puntingTotal":"punts","puntingLongest":"longestPunt","puntingBlocked":"puntsBlocked","puntingTouchbacks":"touchbacks","puntingYardsPerPuntAvg":"yardsPerPunt","puntingInside20":"puntsInside20","puntingAverageHangTime":"am_football_avg_hang_time","puntingHangTime":"am_football_hang_time","kickingFgAttempts":"fieldGoalAttempts","kickingFg":"fieldGoalsMade","kickingFgMade":"fieldGoalsMade","kickingFgBlocked":"fieldGoalsBlocked","kickingFgLong":"longestFieldGoalMade","kickingFgAttempts20to29":"attempts20","kickingFgMade20to29":"made20","kickingFgAttempts30to39":"attempts30","kickingFgMade30to39":"made30","kickingFgAttempts40to49":"attempts40","kickingFgMade40to49":"made40","kickingFgAttempts50plus":"attempts50","kickingFgMade50plus":"made50","kickingExtraPoints":"extraPointsMade","kickingExtraMade":"extraPointsMade","kickingExtraAttempts":"extraPointsAttempts","kickingTotalPoints":"totalPoints","kickReturnsFairCatches":"am_football_fair_catch_kick","kickoffEndZone":"am_football_touchback","kickoffOutOfBounds":"am_football_out_of_bounds","kickoffInside20":"am_football_inside_20","puntReturnsAverageYards":"puntReturnsAvgYards","puntReturnsLong":"longestPuntReturn","puntReturnsFairCatches":"am_football_fair_catch_punt","kickingFgMadeAttempts":"fieldGoalsMade","passingCompletionPercentage":"completionPercentage","interceptionReturnsAverageYards":"am_football_interception_return_avg_yds","interceptionReturnsLongest":"am_football_longest_interception_return"},"ice-hockey":{"shots":"hockey_shots_on_goal","minutesPlayed":"timeOnIce","secondsPlayed":"timeOnIce","timeOnIce":"ice_hockey_average_time_on_ice","powerPlayTimeOnIce":"powerplayTimeOnIce","shortHandedTimeOnIce":"shorthandedTimeOnIce","powerPlayGoals":"powerplayGoals","powerPlayAssists":"powerplayAssists","blocked":"hockey.blocks","faceOffTaken":"totalFaceoffs","shortHandedGoals":"hockey.shorthandedGoals","shortHandedAssists":"shorthandedAssists","goalkeeperEfficiencyPercentage":"savePercentage","shortHandedSaves":"shorthandedSaves","powerPlaySaves":"powerplaySaves","assists":"football_assists","saves":"player_ability_saves"},"handball":{"gkShots":"shotsReceived","gk7mSaves":"7mSaves","gk6mSaves":"6mSaves","gkPivotSaves":"pivotSaves","gk9mSaves":"9mSaves","gkBreakthroughSaves":"breakthroughSaves","gkFastbreakSaves":"fastbreakSaves","goalkeeperEfficiencyPercentage":"savePercentage","shotsTaken":"football_shots","goals7m":"7mGoals","goals6m":"6mGoals","goals9m":"9mGoals","twoMinutePenalties":"2minPenalty","gkGoalsConceded":"football_goals_conceded","goalkeepers":"stats.goalkeepers","assists":"football_assists","blockedShots":"football_blocked_shots","minutesPlayed":"minutes_played","saves":"player_ability_saves","yellowCards":"yellow_cards"},"baseball":{"battingFlyOuts":"flyOuts","battingGroundOuts":"groundOuts","battingRuns":"runs","battingDoubles":"doubles","battingTriples":"triples","battingHomeRuns":"homeRuns","battingStrikeOuts":"strikeOutsAsBatter","battingBaseOnBalls":"baseOnBalls","battingHits":"hits","battingHitByPitch":"hitByPitch","battingRbi":"runsBattedIn","battingCaughtStealing":"caughtStealing","battingStolenBases":"stolenBases","battingAtBats":"atBats","battingLeftOnBase":"leftOnBase","battingSacBunts":"sacrificeBunts","battingSacFlies":"sacrificeFly","fieldingAssists":"football_assists","fieldingPutOuts":"putOuts","fieldingErrors":"baseball.fieldingErrors","pitchingRuns":"runs","pitchingHomeRuns":"homeRuns","pitchingStrikeOuts":"strikeOutsAsPitcher","pitchingBaseOnBalls":"walks","pitchingHits":"hits","pitchingInningsPitched":"inningsPitched","pitchingEarnedRuns":"earnedRuns","pitchingBattersFaced":"battersFaced","pitchingOuts":"pitchOuts","pitchingPitchesThrown":"numberOfPitchesThrown","pitchingStrikes":"strikes","pitchingEarnedRunsAverage":"earnedRunsAverage"},"rugby":{"tackles":"rugby_tackles","carries":"rugby_carries","cleanBreaks":"rugby_clean_breaks","dropGoals":"rugby_drop_goals","metersRun":"rugby_meters_run","offloads":"rugby_offloads","tacklesMissed":"rugby_tackles_missed","tryAssists":"rugby_try_assists","turnoversWon":"rugby_turnovers_won"},"volleyball":{"pointsTotal":"total","breakPoints":"volleyball_break_points","winLoss":"volleyball_won_lost_points_ratio","blockPoints":"volleyball_block_points","serves":"total","serveErrors":"volleyball_errors","aces":"volleyball_aces","receptionsTotal":"total","receptionErrors":"volleyball_errors","receptionPositivity":"volleyball_positive_reception_percentage","receptionPerf":"volleyball_excellent_reception_percentage","attacksTotal":"total","attackErrors":"volleyball_errors","attacksBlocked":"volleyball_blocked_attacks","attackPoints":"volleyball_points","attackPointsPercentage":"volleyball_points_percentage"}}')},52887:(e,t,a)=>{a.d(t,{A:()=>l});var s=a(6029),n=a(76356),r=a(46222);function l(){return(0,s.jsx)(r.Zp,{children:(0,s.jsx)(n.az,{h:"[762px]"})})}},54521:(e,t,a)=>{a.d(t,{C:()=>l});var s=a(55729),n=a(494),r=a(72753);function l(e){let t=(0,s.useMemo)(()=>(0,r.vt)(),[]);return(0,n.d4)(t,e)}},56321:(e,t,a)=>{a.d(t,{b:()=>u,h:()=>o});var s=a(6029),n=a(19501),r=a(93338),l=a(96678);let o=e=>{let{x:t,y:a,type:l,color:o,isSelected:i,backgroundOpacity:c,opacity:d}=e,u=o&&r.S.var(o);return(0,s.jsxs)("g",{opacity:d,children:[(0,s.jsx)("circle",{cx:t,cy:a,r:i?8:6,stroke:u,strokeWidth:1,fill:i?"#fff":r.S.var("colors.homeAway.shotFill"),fillOpacity:c}),l===n.Dme.Made&&(0,s.jsx)("circle",{cx:t,cy:a,r:i?6:4,fill:u}),l===n.Dme.Saved&&(0,s.jsx)("circle",{cx:t,cy:a,r:i?3:2,fill:u}),l===n.Dme.Blocked&&(0,s.jsx)("rect",{x:t-4,y:a-1,width:8,height:2,fill:u})]})},i=e=>{let{x:t,y:a,color:n,opacity:l,isSelected:o}=e,i=n&&r.S.var(n);return o?(0,s.jsxs)("g",{transform:"translate(".concat(t-10," ").concat(a-10,")"),fill:"none",fillRule:"evenodd",children:[(0,s.jsx)("circle",{fill:"#fff",transform:"rotate(90 9.9 9.9)",cx:"9.899",cy:"9.899",r:"8"}),(0,s.jsx)("circle",{fill:i,cx:"9.899",cy:"9.899",r:"1.5"}),(0,s.jsx)("path",{stroke:i,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,s.jsx)("path",{stroke:i,strokeWidth:"1.5",d:"M9.9 6.9v-4M9.9 16.9v-4M2.9 9.9h4M12.9 9.9h4"})]}):(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(".concat(t-8.5," ").concat(a-8.5,")"),opacity:l,children:[(0,s.jsx)("circle",{stroke:i,fillOpacity:l,fill:i,cx:"8.485",cy:"8.485",r:"1"}),(0,s.jsx)("path",{stroke:i,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,s.jsx)("path",{stroke:i,d:"M8.485 5.985v-3M8.485 13.985v-3M2.985 8.485h3M10.985 8.485h3"})]})},c=e=>{let{x:t,y:a,color:n,opacity:l,isSelected:o}=e,i=o?10:9,c=n&&r.S.var(n);return(0,s.jsx)("path",{transform:"translate(".concat(t-i," ").concat(a-i,")"),d:o?"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:c,fillOpacity:l,fillRule:"evenodd"})},d=e=>{let{x:t,y:a,color:n,isSelected:l}=e,o=n&&r.S.var(n);return l?(0,s.jsxs)("g",{children:[(0,s.jsx)("circle",{fillOpacity:".15",fill:o,r:"8",cx:t,cy:a}),(0,s.jsx)("circle",{fill:o,r:"3",cx:t,cy:a}),(0,s.jsx)("circle",{fill:"#fff",r:"2",cx:t,cy:a})]}):null};function u(e){let t=(0,l.P7)(),a=e.isSelected?t:"colors.neutrals.nLv3",r=e.isSelected?1:.5;switch(e.type){case n.Dme.Made:case n.Dme.Saved:case n.Dme.Blocked:case n.Dme.Missed:return(0,s.jsx)(o,{...e,color:a,opacity:r,isSelected:e.isSelected});case n.Dme.Hit:return(0,s.jsx)(i,{...e,color:a,opacity:r,isSelected:e.isSelected});case n.Dme.Suspension:return(0,s.jsx)(c,{...e,color:a,opacity:r,isSelected:e.isSelected});case n.Dme.FaceOff:return(0,s.jsx)(d,{...e,color:a,opacity:r,isSelected:e.isSelected});default:return null}}},58706:(e,t,a)=>{a.d(t,{$7:()=>c,$u:()=>i,Ay:()=>u,Co:()=>l,o_:()=>o,uv:()=>d});var s=a(6029),n=a(90547),r=a(41735);let l=8,o=328,i=e=>(0,s.jsx)("svg",{width:"100%",viewBox:"-".concat(l," -").concat(l," ").concat(o+2*l," ").concat(139+2*l),children:e.children}),c=e=>{let{fill:t}=e,a=(0,r.useTheme)();return(0,s.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||a.colors.surface.s2,fillRule:"evenodd"})},d=e=>{let{fill:t}=e,a=(0,r.useTheme)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.default,{x:o/2-12,y:57.5,fill:"onSurface.nLv1"}),(0,s.jsxs)("g",{fill:t||a.colors.onSurface.nLv1,fillRule:"nonzero",children:[(0,s.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,s.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,s.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,s.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,s.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,s.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,s.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,s.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,s.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,s.jsxs)(i,{children:[(0,s.jsx)(c,{}),(0,s.jsx)(d,{}),t]})}},60067:(e,t,a)=>{a.d(t,{_:()=>c});var s=a(6029),n=a(19501),r=a(947),l=a(14617),o=a(85339),i=a(22932);let c=e=>{let{page:t}=e,a=(0,i._)(t,o.d),c=(0,r.A)();return a?(0,s.jsx)(l.Q,{banner:{copy:{action:c.formatMessage({id:"claim_offer"}),description:c.formatMessage({id:"euro_basket_promo_body"}),sectionTitle:c.formatMessage({id:"euro_basket_promo_header"})},type:n.$pL.LogoBanner,background:n.jae.Image,detailImageUrl:{ltr:"/static/images/courtside-1891/logo.png",rtl:"/static/images/courtside-1891/logo.png"},campaignName:o.d.promotionName,url:o.d.url},bgImageUrl:"/static/images/courtside-1891/banner-bg.png",location:t.location}):null}},60128:(e,t,a)=>{a.d(t,{A:()=>m});var s=a(6029),n=a(94565),r=a(55729),l=a(41735),o=a(56321);function i(e){let{isAway:t,fill:a}=e,{colors:n,settings:r}=(0,l.useTheme)(),o={transform:""};return t&&(o.transform="rotate(180deg)"),"rtl"===r.textDirection&&(o.transform+=" scale(-1,1)"),(0,s.jsx)("svg",{width:"88",height:"20",viewBox:"0 0 88 20",style:o,children:(0,s.jsx)("g",{fill:a||n.surface.s1,fillRule:"evenodd",children:(0,s.jsx)("path",{d:"m87.2 9.845-12 8v-16zM.8 7.845h74.4v4H.8z"})})})}var c=a(33559),d=a(58706),u=a(96678);function m(e){let{isLeft:t,isInverseTeams:a=!1,shots:m}=e,{colors:p}=(0,l.useTheme)(),{selectedShot:h}=(0,r.useContext)(u.XM),g=t?"colors.homeAway.home.primary":"colors.homeAway.away.primary";return(0,s.jsxs)(s.Fragment,{children:[void 0!==t&&(0,s.jsx)(n.so,{w:"100%",justify:"center",mt:"xs",children:(0,s.jsx)(i,{fill:p.onSurface.nLv2,isAway:!t})}),(0,s.jsx)(n.so,{justify:"center",children:(0,s.jsx)(n.az,{maxW:[2*d.Co+d.o_,void 0],w:"100%",children:(0,s.jsxs)(d.Ay,{children:[m.map(e=>{let n=(0,c.mK)(e,a);return void 0===t?(0,s.jsx)(o.b,{x:n.x,y:n.y,type:e.type,commentId:e.id},e.id):(0,s.jsx)(o.h,{x:n.x,y:n.y,type:e.type,color:g,commentId:e.id,backgroundOpacity:.25},e.id)}),h&&(0,s.jsx)(o.b,{...(0,c.mK)(h,a),type:h.type,commentId:h.id,isSelected:!0})]})})})]})}},60682:(e,t,a)=>{a.d(t,{Z:()=>s});let s=(e,t)=>{let a=null==e?void 0:e.provider,s=null==e?void 0:e.fallbackProvider;return t&&(null==a?void 0:a.liveOddsFrom)?[null==a?void 0:a.liveOddsFrom.id,null==s?void 0:s.id]:(null==a?void 0:a.oddsFrom)?[null==a?void 0:a.oddsFrom.id,null==s?void 0:s.id]:[null==a?void 0:a.id,null==s?void 0:s.id]}},67086:(e,t,a)=>{a.d(t,{N:()=>n});var s=a(49856);function n(e,t){return"en"===t||t===s.vo[e]}},67536:(e,t,a)=>{a.r(t),a.d(t,{default:()=>N});var s=a(6029),n=a(32523),r=a(19501),l=a(55729),o=a(18970),i=a(74610),c=a(22830),d=a(46222),u=a(54529),m=a(76356),p=a(90248),h=a(41164),g=function(e){return e.All="all",e.KeyEvents="key-events",e}({});let x=e=>[r.QCR.AmericanFootball,r.QCR.Basketball].includes(e),f=e=>{let{selectedTab:t,onTabChange:a}=e,{event:n}=(0,l.useContext)(o.y$),r=x((0,h.c5)(n));return(0,s.jsx)(m.az,{p:"sm",borderBottom:r?void 0:"1px solid",borderColor:r?void 0:"neutrals.nLv4",elevation:{base:void 0,mdDown:"2"},bg:{base:void 0,mdDown:"surface.s1"},children:(0,s.jsx)(u.tU,{variant:"tertiary",initialValue:g.All,value:t,onChange:a,children:(0,s.jsxs)(u.tU.List,{p:"sm",children:[(0,s.jsx)(u.tU.Tab,{tabKey:g.All,children:(0,s.jsx)(p.A,{id:"basic.all"})}),(0,s.jsx)(u.tU.Tab,{tabKey:g.KeyEvents,children:(0,s.jsx)(p.A,{id:"commentary_key_events"})})]})})})};var b=a(94565),v=a(81484),y=a(18858);let _=e=>{let{periods:t,selectedPeriod:a,onPeriodChange:n}=e,r=(0,l.useContext)(o.Ws),i=(0,y.Ay)();if(!t.length||!x(r))return null;let c=t.map(e=>({tabKey:e,tabValue:(0,s.jsx)(v.fP,{id:e,short:!0})}));return(0,s.jsx)(b.PI,{top:i,bg:"surface.s1",zIndex:b.Py.Sticky-1,children:(0,s.jsx)(m.az,{p:"sm",bg:"surface.s1",borderBottom:"1px solid {colors.neutrals.nLv4}",children:(0,s.jsx)(u.tU,{variant:"secondary",initialValue:a,onChange:n,fullWidthTabs:!0,children:(0,s.jsx)(u.tU.List,{children:c.map((e,t)=>(0,s.jsx)(u.tU.Tab,{tabKey:e.tabKey,children:e.tabValue},t))})})})})};var j=a(14868),k=a(45860),w=a(9220),C=a(40076);let S=e=>{let{event:t}=(0,l.useContext)(o.y$),a=e.isHome?t.homeTeam:t.awayTeam,s=e.player,n=function(e,t){let a=e.isHome?t.homeTeam.shortName:t.awayTeam.shortName;switch(e.type){case"touchdown":return"Touchdown ".concat(a,"!");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:a,player:s,title:n,text:function(e){return"twoMinuteWarning"===e.type?"Two-Minute Warning":e.text}(e),downDistance:function(e,t){if("extraPoint"===e.type){let a=1===e.teamHalf?t.homeTeam.nameCode:t.awayTeam.nameCode;return"XP attempt from ".concat(a," ").concat(e.yardline)}let a={currentDown:e.down,currentTeamHalf:e.teamHalf,currentPossession:e.possession,currentYardline:e.yardline,currentYardsToFirstDown:e.yardsToFirstDown,isGoalPossession:e.isGoal};return(0,C.XE)(a,t)}(e,t)}},A=e=>{let{comment:t}=e,{player:a,team:n,title:r,text:l,downDistance:o}=S(t);return(0,s.jsxs)(m.so,{children:[(0,s.jsx)(w.JJ,{comment:t}),(0,s.jsxs)(w.cH,{bg:"surface.s0",image:a&&(0,s.jsx)(w.Ez,{id:a.id,teamId:n.id}),players:[a],children:[r&&(0,s.jsx)(w.SI,{children:r}),l&&(0,s.jsx)(w.jv,{children:l}),o&&(0,s.jsx)(w.jv,{secondary:!0,children:o})]})]})},T=e=>{let{comments:t}=e;return(0,s.jsx)(m.so,{direction:"column",gap:"lg",p:"lg",children:t.map(e=>(0,s.jsx)(A,{comment:e},e.id))})};var R=a(33144),P=a(22375);let M=e=>{let{drive:t}=e;return(0,s.jsxs)(m.so,{gap:"lg",align:"center",children:[(0,s.jsx)(R.p,{id:t.teamId,w:32,h:32}),(0,s.jsxs)(m.so,{direction:"column",align:"flex-start",children:[(0,s.jsx)(u.EY,{textStyle:"display.medium",color:null!==t.endReason?"neutrals.nLv1":"status.live",children:t.endReason||(0,s.jsx)(p.A,{id:"inProgress"})}),(0,s.jsx)(u.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(p.A,{id:"am_football_drive_summary",values:{plays:t.playCount,yards:t.netDriveYards,time:(0,P.OV)(t.durationSeconds)}})})]})]})},F=e=>{let{comment:t,drive:a,defaultOpened:n=!1}=e;return(0,s.jsxs)(b.nD.Item,{defaultOpened:n,bg:"surface.s1",elevation:[2,void 0],br:["lg",void 0],borderTop:[void 0,"onSurface.nLv4"],borderBottom:[void 0,"onSurface.nLv4"],mt:-1,overflow:"hidden",children:[(0,s.jsx)(b.nD.Trigger,{children:(0,s.jsx)(M,{drive:a})}),(0,s.jsx)(b.nD.Content,{children:(0,s.jsx)(T,{comments:t})})]})},I=e=>{let{comment:t}=e,{player:a,team:n,title:r,text:l,downDistance:o}=S(t);return(0,s.jsxs)(m.so,{children:[(0,s.jsx)(w.JJ,{comment:t}),(0,s.jsxs)(w.cH,{image:a&&(0,s.jsx)(w.Ez,{id:a.id,teamId:n.id}),players:[a],elevation:{mdDown:"2"},children:[r&&(0,s.jsx)(w.SI,{children:r}),l&&(0,s.jsx)(w.jv,{children:l}),o&&(0,s.jsx)(w.jv,{secondary:!0,children:o})]})]})},B=e=>{let{comment:t}=e,{player:a,team:n,title:r,text:l,downDistance:o}=S(t);return(0,s.jsxs)(m.so,{br:"lg",elevation:{mdDown:"2"},bg:{mdDown:"surface.s1"},py:{md:"md"},px:{md:"lg"},children:[(0,s.jsx)(w.JJ,{comment:t}),(0,s.jsxs)(w.cH,{bg:{base:"surface.s1",md:"surface.s0"},image:a&&(0,s.jsx)(w.Ez,{id:a.id,teamId:n.id}),players:[a],children:[r&&(0,s.jsx)(w.SI,{children:r}),l&&(0,s.jsx)(w.jv,{children:l}),o&&(0,s.jsx)(w.jv,{secondary:!0,children:o})]})]})},L=e=>{let{selectedTab:t,selectedPeriod:a,comments:n,periods:i}=e,{drives:d}=(()=>{let{event:e}=(0,l.useContext)(o.y$),t=(0,c.j)((0,h.c5)(e)),{data:a}=(0,k.Ay)(t?r.bnp.commentary(e.id,t):null,(0,h.rf)(e));return{drives:null==a?void 0:a.drives}})();if(t===g.KeyEvents)return(0,s.jsx)(m.so,{p:"md",direction:"column",gap:"md",children:n.map(e=>(0,s.jsx)(I,{comment:e},e.id))});let u=n.findIndex(e=>!!Array.isArray(e)||void 0!==e.driveId);return(0,s.jsx)(b.nD,{children:(0,s.jsxs)(m.so,{p:{mdDown:"md"},direction:"column",gap:{mdDown:"md"},children:[(0,s.jsx)(m.az,{hideBelow:"md",children:(0,s.jsx)(m.cG,{})}),n.map((e,t)=>{let n=function(e){return Array.isArray(e)?e:[e]}(e),r=function(e,t){return void 0===e||void 0===t?null:t.find(t=>t.id===e)}(n[0].driveId,d);return r?(0,s.jsx)(F,{comment:n,drive:r,defaultOpened:function(e,t,a){return 0!==e.length&&[e[0],e[e.length-1]].includes(t)&&a}(i||[],a,u===t)},n[0].id):(0,s.jsx)(B,{comment:n[0]},n[0].id)})]})})};var z=a(67087);let H={freeThrowMade:"basketball_free_throw_made",twoPointMade:"basketball_two_points_made",threePointMade:"basketball_three_points_made"},E=e=>{let{comment:t}=e,{event:a}=(0,l.useContext)(o.y$),{homeTeam:n,awayTeam:r}=a,i="ownGoal"===t.goalType,c="penalty"===t.goalType,d=!i&&!c,u=t.player,m=t.isHome?n.id:r.id;return u?(0,s.jsxs)(w.hF,{children:[(0,s.jsx)(w.JJ,{comment:t}),(0,s.jsxs)(w.cH,{image:(0,s.jsx)(w.Ez,{id:u.id,teamId:m}),players:[u],children:[(0,s.jsx)(w.SI,{isUppercase:d,children:d?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.A,{id:"goal"}),"!"]}):(0,s.jsx)(p.A,{id:t.goalType})}),(0,s.jsx)(w.jv,{children:t.text})]})]}):null},O=e=>{let{comment:t}=e,{event:a}=(0,l.useContext)(o.y$),n=t.isHome?a.homeTeam:a.awayTeam;return t.playerIn&&t.playerOut?(0,s.jsxs)(w.hF,{children:[(0,s.jsx)(w.JJ,{comment:t}),(0,s.jsxs)(w.cH,{image:(0,s.jsx)(R.p,{size:24,id:n.id,name:n.name}),players:[t.playerIn,t.playerOut],children:[(0,s.jsx)(w.SI,{children:(0,s.jsx)(p.A,{id:"substitution"})}),(0,s.jsxs)(w.Pc,{image:(0,s.jsx)(w.Ez,{id:t.playerIn.id,small:!0}),children:[t.playerIn.name,(0,s.jsxs)(u.EY,{ml:"2xs",textStyle:"body.small",color:"secondary.default",children:["(",(0,s.jsx)(p.A,{id:"substitution.in"}),")"]})]}),(0,s.jsxs)(w.Pc,{image:(0,s.jsx)(w.Ez,{id:t.playerOut.id,small:!0}),children:[t.playerOut.name,(0,s.jsxs)(u.EY,{ml:"2xs",textStyle:"body.small",color:"status.error.default",children:["(",(0,s.jsx)(p.A,{id:"substitution_out"}),")"]})]})]})]}):null};var D=a(46517),Q=a(29695);let G={[r.QCR.Football]:e=>{let{comment:t}=e;switch(t.type){case"scoreChange":case"penaltyScored":return(0,s.jsx)(E,{comment:t});case"substitution":return(0,s.jsx)(O,{comment:t});default:return(0,s.jsx)(D.b,{comment:t})}},[r.QCR.Basketball]:function(e){let{comment:t}=e,{event:a}=(0,l.useContext)(o.y$),[n,r]=(0,z.jr)(t,"homeScore","awayScore"),{isHome:i,player:c,playerIn:d,playerOut:m,goalkeeper:h}=t,g=void 0===i?void 0:i?a.homeTeam:a.awayTeam,x=c&&(0,s.jsx)(w.Ez,{id:c.id,teamId:null==g?void 0:g.id}),f=function(e){if("scoreChange"===e.type&&e.goalType)return H[e.goalType]}(t),b=t.text,v="scoreChange"===t.type&&!!(null==g?void 0:g.nameCode)&&void 0!==n&&void 0!==r;return(0,s.jsxs)(w.hF,{children:[(0,s.jsx)(w.JJ,{comment:t}),(0,s.jsxs)(w.cH,{image:x,players:[c,d,m,h],children:[f&&(0,s.jsx)(w.SI,{children:(0,s.jsx)(p.A,{id:f})}),b&&(0,s.jsx)(w.jv,{children:b}),v&&(0,s.jsx)(u.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:"".concat(g.nameCode," ").concat(n," - ").concat(r)})]})]})},[r.QCR.IceHockey]:Q.y},W=e=>{let{comments:t}=e,a=G[(0,l.useContext)(o.Ws)];return(0,s.jsx)(m.so,{p:"md",direction:"column",gap:"md",children:t.map(e=>(0,s.jsx)(a,{comment:e},e.id))})},K=e=>{let{selectedTab:t,selectedPeriod:a,comments:n,periods:i}=e;return(0,l.useContext)(o.Ws)===r.QCR.AmericanFootball?(0,s.jsx)(L,{selectedTab:t,selectedPeriod:a,comments:n,periods:i}):(0,s.jsx)(W,{comments:n})},U=e=>{let{selectedTab:t,selectedPeriod:a,comments:n,periods:i}=e,{isMobile:c}=(0,u.$c)(),{event:m,location:p}=(0,l.useContext)(o.y$),[x,f]=(0,l.useState)(!1),b=function(e,t,a){return t===g.KeyEvents?a.filter(e=>Object.values(r.zZK).includes(e.type)):e===r.QCR.AmericanFootball?function(e){let t=[],a=null,s=null;for(let n of e)void 0!==n.driveId?(n.driveId!==s&&(a=[],t.push(a),s=n.driveId),a&&a.push(n)):(t.push(n),s=null);return t.map(e=>Array.isArray(e)&&1===e.length?e[0]:e)}(a.filter(e=>"timeout"!==e.type||void 0!==e.driveId)):a}((0,h.c5)(m),t,n),v=p&&[o.cb.EventPage].includes(p)&&b.length>10&&!c;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(K,{selectedTab:t,selectedPeriod:a,comments:function(e,t){return t?e:e.slice(0,10)}(b,x||c||p===o.cb.Widget),periods:i}),(0,s.jsx)(d.Zp.Footer,{ctaParams:v?{messageId:x?"show_less":"show_more",onClick:()=>f(e=>!e),icon:x?j.X.Up:j.X.Down}:void 0,defaultHeight:{base:"[0px]",md:"lg"}})]})},Y=e=>{let{periodComments:t,periods:a}=e,n=(0,l.useContext)(o.Ws),{location:i}=(0,l.useContext)(o.y$),c=i===o.cb.Widget,[u,m]=(0,l.useState)(n===r.QCR.Basketball&&a.length?a[a.length-1]:"all"),[p,h]=(0,l.useState)(g.All),x=t[u];return(0,s.jsxs)(d.Zp,{variant:c?"never":"desktop-only",children:[!c&&(0,s.jsx)(d.Zp.Header,{titleId:"commentary",visibility:"desktop-only"}),(0,s.jsx)(_,{periods:a,selectedPeriod:u,onPeriodChange:m}),n!==r.QCR.Basketball&&(0,s.jsx)(f,{selectedTab:p,onTabChange:h}),(0,s.jsx)(U,{selectedTab:p,selectedPeriod:u,comments:x,periods:a})]})},N=()=>{let e=(0,l.useContext)(o.Ws),{textCommentary:t,periods:a}=(0,c.q)(e!==r.QCR.Basketball);return t?(0,s.jsx)(i.t,{tag:"TextCommentary",children:(0,s.jsx)(Y,{periodComments:t,periods:a})}):(0,s.jsx)(n.E,{uniqueKey:"text-commentary-container-cl",rows:10,rowHeight:56,animate:!0})}},68711:(e,t,a)=>{a.d(t,{s:()=>m,S:()=>p});var s=a(6029),n=a(54529),r=a(76356),l=a(55729),o=a(90248),i=a(82536),c=a(18517),d=a(95084);let u=e=>{let{children:t,onClick:a}=e;return(0,s.jsx)("a",{href:"https://nba.sjv.io/c/5441787/2176796/16284",target:"_blank",rel:"noopener",onClick:a,children:t})},m=e=>{let{isOpen:t,setIsOpen:a,location:c}=e,{isDesktop:m}=(0,n.$c)(),p={backgroundImage:"url(/static/images/nba-league-pass/modal.png)",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,l.useEffect)(()=>{t&&(0,d.Z1)({type:"bottom_sheet",name:"nba_league_pass",location:c})},[t]),!t)return null;let h=()=>a(!1);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(i.A,{isOpen:t,setIsOpen:a,footer:null,renderAdPlaceholder:!1,sheetStyles:p,modalContentStyles:p,width:360,children:(0,s.jsxs)(r.az,{style:m?p:void 0,br:"lg",children:[(0,s.jsx)(r.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,s.jsx)(r.az,{w:"4xl",h:"4xl",children:(0,s.jsx)(n._V,{src:"/static/images/nba-league-pass/league-pass-logo.svg",h:"4xl",w:"4xl",alt:"NBA"})})}),(0,s.jsxs)(r.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,s.jsxs)(r.so,{direction:"column",gap:"lg",children:[(0,s.jsx)(r.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:(0,s.jsx)(o.A,{id:"league_pass_promo_title"})}),(0,s.jsx)(r.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:(0,s.jsx)(o.A,{id:"league_pass_promo_body_long"})})]}),(0,s.jsxs)(r.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,s.jsx)(n.$n,{children:(0,s.jsx)(u,{onClick:()=>{(0,d.AW)({type:"bottom_sheet",name:"nba_league_pass",location:c}),h()},children:(0,s.jsx)(r.az,{color:"onColor.primary",children:(0,s.jsx)(o.A,{id:"claim_offer"})})})}),(0,s.jsx)(n.$n,{variant:"clear",color:"onColor.primary",onClick:h,children:(0,s.jsx)(o.A,{id:"maybe_later"})})]})]})]})})})},p=e=>{let{utId:t,location:a}=e,{isNBAModalOpen:n,setIsNBAModalOpen:r}=(0,c.z)(t);return n?(0,s.jsx)(m,{isOpen:n,setIsOpen:r,location:a}):null}},69909:(e,t,a)=>{a.d(t,{d:()=>u});var s=a(6029),n=a(54529),r=a(76356),l=a(55729),o=a(46222),i=a(18970),c=a(89721),d=a(18205);let u=e=>{var t;let{isTeamStandings:a,hideTitle:u,isNarrowLayout:m,numberOfRows:p=20,branding:h}=e,{event:g}=(0,l.useContext)(i.y$),x=null==g||null==(t=g.tournament.uniqueTournament)?void 0:t.hasPerformanceGraphFeature;return(0,s.jsxs)(r.az,{children:[!m&&(0,s.jsx)(c.U,{branding:h}),a&&(0,s.jsxs)(r.so,{hideBelow:"md",gap:"lg",bg:"surface.s1",p:"sm",elevation:{mdDown:"2"},children:[(0,s.jsx)(r.az,{w:"[200px]",h:"[34px]",bg:"surface.s2",br:"sm"}),(0,s.jsx)(r.az,{w:"[84px]",h:"[34px]",bg:"surface.s2",br:"sm"})]}),(0,s.jsxs)(r.so,{direction:"column",gap:"sm",children:[(0,s.jsxs)(o.Zp,{children:[(0,s.jsxs)(r.so,{direction:"column",gap:"sm",px:"sm",pt:a?void 0:"sm",pb:"sm",children:[(0,s.jsx)(r.az,{h:"[34px]",pt:a?void 0:"sm"}),!u&&(0,s.jsxs)(r.so,{align:"center",gap:"lg",children:[(0,s.jsx)(n._V,{width:"3xl",height:"3xl",src:"/static/images/placeholders/tournament.svg",alt:"Tournament placeholder"}),(0,s.jsx)(r.az,{w:"[150px]",h:"xl",bg:"surface.s2",br:"sm"})]})]}),(0,s.jsx)(r.az,{pt:"sm",children:(0,s.jsx)(d.e,{rows:p})}),(0,s.jsx)(r.az,{p:"sm",children:(0,s.jsx)(r.az,{h:"[150px]",bg:"surface.s2",br:"lg"})})]}),x&&(0,s.jsxs)(o.Zp,{children:[(0,s.jsx)(o.Zp.Header,{titleId:"standings_tracker_title"}),(0,s.jsx)(r.az,{h:"[542px]"})]})]})]})}},73060:(e,t,a)=>{a.d(t,{Y:()=>d});var s=a(6029),n=a(19501),r=a(947),l=a(494),o=a(14617),i=a(28567),c=a(72753);let d=e=>{let{utId:t,location:a,bgImageUrl:d}=e,u=(0,l.d4)(c.LQ),m=(0,r.A)();return u&&i.p.includes(u)&&t===n.G6l.NBA?(0,s.jsx)(o.Q,{banner:{copy:{action:m.formatMessage({id:"link_visit_nba"}),description:m.formatMessage({id:"banner_nba_league_pass_description"}),sectionTitle:m.formatMessage({id:"banner_nba_league_pass_title"})},type:n.$pL.LogoBanner,background:n.jae.EntityHeader,detailImageUrl:{ltr:"/static/images/nba-league-pass/league-pass-logo.svg",rtl:"/static/images/nba-league-pass/league-pass-logo.svg"},campaignName:"nba_league_pass",url:"https://nba.sjv.io/c/5441787/2176796/16284"},bgImageUrl:d,location:a}):null}},74207:(e,t,a)=>{a.d(t,{r:()=>u,$:()=>p});var s=a(6029),n=a(19501),r=a(54529),l=a(76356),o=a(55729),i=a(18970),c=a(95084),d=a(64046);function u(e){let{selectedProvider:t,location:a,onClick:u,logClick:m=!0,size:p="56x28"}=e,h=null==t?void 0:t.provider,g=null==t?void 0:t.branded,x=null==t?void 0:t.provider.slug,{location:f}=(0,o.useContext)(i.y$),[b,v]=p.split("x"),y=a||f;return h&&g?(0,s.jsx)(l.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:t.defaultBetSlipLink||h.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==u||u(),m&&(0,c.Fe)({location:y,provider:x,position:d.ki.ProviderLogo})},style:{background:h.colors.primary,width:"".concat(b,"px"),height:"".concat(v,"px")},children:(0,s.jsx)(r._V,{src:n.npy.providerImage(h.id),alt:h.name||"",style:{width:"".concat(b,"px"),height:"auto"}})}):null}var m=a(90248);let p=e=>{let{provider:t}=e;return(null==t?void 0:t.branded)?(0,s.jsxs)(l.so,{justify:"center",align:"center",ml:"lg",children:[(0,s.jsx)(r.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,s.jsx)(m.A,{id:"featured_by"})}),(0,s.jsx)(u,{selectedProvider:t,size:"48x24"})]}):null}},75837:(e,t,a)=>{a.d(t,{S:()=>h,C:()=>f});var s=a(6029),n=a(19501),r=a(494),l=a(54820),o=a(37455),i=a(72753),c=a(19621),d=a(82827),u=a(94122);let m=e=>{let{children:t,hasCTALoader:a,countryOddsProvider:n}=e,l=(0,c.hX)(),o=(0,r.d4)(i.LQ),m=(0,r.d4)(i.dg);return l?(0,s.jsx)(d.t1,{hasCTA:a,provider:n}):o&&u.ZN.includes(o)&&!m?null:(0,s.jsx)(s.Fragment,{children:t})},p=e=>{let{event:t,fallback:a,children:c,isComparisonElevated:d,isNewOddsComparisonPreview:u}=e,m=(0,r.d4)(i.LQ),p=(0,r.d4)((0,o.Ul)(t)),h=(0,r.d4)(o.fq),g=t.status.type===n.XUj.InProgress;return p?h?(0,s.jsx)(l.A,{eventId:t.id,isLive:g,isEleveated:d,isNewOddsComparisonPreview:u}):(0,s.jsx)(s.Fragment,{children:c}):(0,s.jsx)(s.Fragment,{children:m?a[m]:null})},h=e=>{let{children:t,hasCTALoader:a,countryOddsProvider:n,...r}=e;return(0,s.jsx)(m,{countryOddsProvider:n,hasCTALoader:a,children:(0,s.jsx)(p,{countryOddsProvider:n,...r,children:t})})};var g=a(68789);let x=e=>{let{stage:t,fallback:a,children:n}=e,l=(0,r.d4)(i.LQ);return(0,r.d4)((0,o.ce)(t))?(0,s.jsx)(s.Fragment,{children:n}):(0,s.jsx)(s.Fragment,{children:l?null==a?void 0:a[l]:null})},f=e=>{let{children:t,...a}=e,n=(0,g.Ae)();return(0,s.jsx)(m,{countryOddsProvider:n,children:(0,s.jsx)(x,{...a,children:t})})}},76186:(e,t,a)=>{a.r(t),a.d(t,{default:()=>S});var s=a(6029),n=a(34199),r=a(19501),l=a(54529),o=a(76356),i=a(55729),c=a(90510),d=a(45860),u=a(46222),m=a(18970),p=a(56494),h=a(33140),g=a(64006),x=a(173),f=a(68789),b=a(60682),v=a(88505),y=a(76155),_=a(64046),j=a(6086),k=a(74207);let w=e=>{var t,a;let{team:r}=e,i=null==(t=r.subTeams)?void 0:t[0],c=null==(a=r.subTeams)?void 0:a[1];return(0,s.jsxs)(o.so,{direction:"column",align:"center",flex:"[1 0 0px]",overflow:"hidden",children:[i&&c?(0,s.jsxs)(o.so,{align:"center",justify:"center",gap:"[10px]",mb:"xs",children:[(0,s.jsx)(n.pY,{id:i.id,name:i.name,size:24},i.id),(0,s.jsx)(n.pY,{id:c.id,name:c.name,size:24},c.id)]}):(0,s.jsx)(n.pY,{id:r.id,name:r.name,size:24}),i&&c?[(0,s.jsx)(l.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,s.jsx)(v.Rm,{team:i,short:!0})},i.id),(0,s.jsx)(l.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,s.jsx)(v.Rm,{team:c,short:!0})},c.id)]:(0,s.jsx)(l.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,s.jsx)(v.Rm,{team:r})})]})},C=e=>{let{provider:t,market:a,onClick:n}=e,{isMobile:r}=(0,l.$c)(),i=a.event;return(0,s.jsxs)(o.az,{bg:"surface.s1",p:"sm",children:[(0,s.jsx)(g.tj,{event:i,children:(0,s.jsxs)(o.so,{justify:"center",align:"center",_hover:{bg:"neutrals.nLv4"},cursor:"pointer",p:"xs",mb:"xs",br:"sm",children:[(0,s.jsx)(w,{team:i.homeTeam}),(0,s.jsxs)(o.so,{direction:"column",justify:"center",align:"center",mx:"md",flex:"[1 0 0px]",children:[(0,s.jsx)(l.EY,{textStyle:"display.medium",children:(0,s.jsx)(c.ib,{value:1e3*i.startTimestamp})}),(0,s.jsx)(l.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(c.XU,{value:1e3*i.startTimestamp})})]}),(0,s.jsx)(w,{team:i.awayTeam})]})}),(0,s.jsx)(o.az,{mb:"-xs",children:(0,s.jsx)(j.A,{selectedProvider:t,market:a,onClick:n,hideMarketName:!0,secondary:r})})]})},S=e=>{var t,a;let{preferRecommendedPrematch:c,showHeader:v,ref:j}=e,{event:w,location:S}=(0,i.useContext)(m.y$),{isMobile:A}=(0,l.$c)(),[T,R]=(0,i.useState)(!1),P=(0,f.F0)(w),[M]=(0,b.Z)(P),F=null==(t=w.tournament)?void 0:t.id,I=null==(a=w.tournament)?void 0:a.category.sport.slug,B=M&&F,L=S===m.cb.Widget,{data:z,error:H}=(0,d.Ay)(B?r.npy.recommendedPrematch(M,F):null),E=!c&&H&&M&&I,{data:O,error:D}=(0,d.Ay)(E?r.npy.recommendedPrematchTopVoted(M,I):null),Q=z||O,G=(0,i.useMemo)(()=>{let e=null==Q?void 0:Q.odds.filter(e=>e.id!==w.id);return T?e:null==e?void 0:e.slice(0,4)},[Q,T]),W=null==G?void 0:G.reduce((e,t)=>{let a=t.event.tournament.id;return e[a]?e[a].push(t):e[a]=[t],e},{}),{ref:K,makeOnClick:U}=(0,_.kW)({type:_.jF.Compliance,countryOddsProvider:P}),Y=A||S!==m.cb.EventPage;return G?(0,s.jsxs)(o.az,{ref:K,children:[(0,s.jsxs)(u.Zp,{variant:"desktop-only",children:[v&&(0,s.jsx)("div",{ref:j,children:(0,s.jsx)(u.Zp.Header,{titleId:"featured_odds"})}),(0,s.jsx)(o.so,{justify:"flex-end",align:"center",p:"sm",children:(0,s.jsx)(k.$,{provider:P})}),(0,s.jsxs)(o.BJ,{gap:"sm",px:{mdDown:"sm",md:L?"sm":void 0},children:[W&&Object.keys(W).map((e,t)=>{var a;let r=W[+e],i=r[0].event;return(0,s.jsx)(u.Zp,{variant:"mobile-only",children:(0,s.jsxs)(o.az,{px:{md:"sm"},pb:"md",borderTop:t?"1px solid {colors.neutrals.nLv4}":void 0,children:[(0,s.jsxs)(o.so,{justify:"center",align:"center",px:"lg",py:"md",children:[i.tournament.uniqueTournament?(0,s.jsx)(n.eD,{id:i.tournament.uniqueTournament.id,size:24}):(0,s.jsx)(n.l3,{id:i.tournament.id,size:24}),(0,s.jsx)(g.Mq,{tournament:i.tournament,seasonId:null==(a=i.season)?void 0:a.id,children:(0,s.jsx)(l.EY,{textStyle:"display.micro",ml:"lg",_hover:{color:"neutrals.nLv3"},children:(0,s.jsx)(y.J,{tournament:i.tournament})})})]}),(0,s.jsx)(o.BJ,{gap:"[1px]",bg:"neutrals.nLv4",children:r.map(e=>(0,s.jsx)(C,{provider:P,market:e,onClick:U(e.marketName,_.ki.OddsValue)},e.id))})]})},e)}),(null==Q?void 0:Q.odds.length)&&Q.odds.length>4&&(0,s.jsx)(h.d,{isOpen:T,onClick:()=>R(!T)})]})]}),Y&&(0,s.jsx)(o.az,{mt:"sm",children:(0,s.jsx)(x.z,{provider:P})})]}):H&&D?null:(0,s.jsx)(p.a,{})}},77262:(e,t,a)=>{a.d(t,{FG:()=>i,GM:()=>p,Vd:()=>u,c7:()=>m,cY:()=>d,fN:()=>b,jT:()=>c,jp:()=>g,mh:()=>h,ps:()=>x});var s=a(19501),n=a(17887),r=a(56132),l=a(91113),o=a(14831);let i=[s.QCR.IceHockey,s.QCR.AmericanFootball,s.QCR.Baseball,s.QCR.Handball,s.QCR.Basketball,s.QCR.Cricket],c=[s.QCR.IceHockey,s.QCR.AmericanFootball,s.QCR.Baseball,s.QCR.Handball,s.QCR.Football];var d=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 s.QCR.AmericanFootball:switch(e){case"QB":return"am_football_quarterbacks";case"RB":case"FB":return"am_football_running_backs";case"WR":case"TE":return"am_football_receivers";case"OT":case"OL":case"OG":case"C":case"T":case"G":return"am_football_offensive_line";case"DT":case"DL":case"DE":case"NT":return"am_football_defensive_line";case"DB":case"SS":case"FS":case"CB":case"SAF":return"am_football_defensive_backs";case"OLB":case"LB":case"MLB":case"ILB":return"am_football_linebackers";case"P":case"PR":case"LS":case"K":return"am_football_special_teams";default:return"player.position.unknown"}case s.QCR.Baseball:switch(e){case"P":case"SP":case"CP":case"RP":case"RHP":case"LHP":case"LHS":case"RHS":case"LHR":case"RHR":return"pitcher";case"C":return"catcher";case"1B":case"2B":case"3B":case"SS":case"IF":case"UI":return"infield";case"LF":case"CF":case"RF":case"OF":case"UO":return"outfield";case"H":case"DH":case"PH":return"hitter";case"R":case"PR":case"BR":return"runner";case"B":return"batter";default:return"player.position.unknown"}case s.QCR.IceHockey:switch(e){case"F":case"L":case"C":case"R":return"forward";case"D":return"defenseman";case"G":return"goalie";default:return"player.position.unknown"}case s.QCR.Handball:switch(e){case"RB":case"LB":case"CB":return"handball.back";case"LW":case"RW":return"handball.winger";case"P":return"handball.pivot";case"G":return"handball.goalkeeper";default:return"player.position.unknown"}default:return e||"player.position.unknown"}},p=(e,t)=>{let a={};for(let s=0;s{switch(e){case"F":case"am_football_quarterbacks":case"am_football_running_backs":case"am_football_receivers":case"am_football_offensive_line":case"handball.winger":case"forward":return"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"}},g=e=>e.type===s.YVh.Person,x=(e,t,a,n,l,i,c,d)=>e===s.QCR.AmericanFootball?[{tabKey:r.x.Details,item:"details"},{tabKey:r.x.Matches,item:"matches",values:{sport:(0,o.ap)(e)}},{tabKey:r.x.Standings,item:"app.standings",isHidden:!t},{tabKey:r.x.PlayerStatistics,item:"tab_player_stats",isHidden:!c},{tabKey:r.x.Squad,item:"am_football_roster",isHidden:!n},{tabKey:r.x.Statistics,item:"statistics",isHidden:!l},{tabKey:r.x.Media,item:"media",isHidden:!i}]:[{tabKey:r.x.Details,item:"details"},{tabKey:r.x.Matches,item:"matches",values:{sport:(0,o.ap)(e)}},{tabKey:r.x.Standings,item:"app.standings",isHidden:!t},{tabKey:r.x.Squad,item:"squad",isHidden:!n,values:{gender:d}},{tabKey:r.x.TopPlayers,item:"top_players",values:{gender:d},isHidden:!a},{tabKey:r.x.Statistics,item:"statistics",isHidden:!l},{tabKey:r.x.Media,item:"media",isHidden:!i}],f=[s.QCR.AmericanFootball,s.QCR.Tennis];function b(e,t){return -1!==f.indexOf(e)&&9464===t}},79375:(e,t,a)=>{a.d(t,{A:()=>h,g:()=>p});var s=a(6029),n=a(54529),r=a(90248),l=a(494),o=a(72753);let i={AU:"www.gamblinghelponline.org.au",BG:"nss-bg.org/hi-kodeks",GB:"www.begambleaware.org",NL:"hands24x7.nl"},c={DE:"18+ | Erlaubt (Whitelist) | Suchtrisiko | www.buwei.de",NL:"Wat kost gokken jou? Stop op tijd. 18+",CA:"19+. Gambling can be addictive, please play responsibly.
Eligible iGames conducted and managed by iGO are only available to those physically present in the Province of Ontario.",US:"21+. Gambling Problem?
Call 1-800-GAMBLER",SE:"18+. st\xf6dlinjen.se. Spela ansvarsfullt.",DK:"18+ | Regler og vilk\xe5r g\xe6lder | Spil ansvarligt | Selvudeluk via ROFUS.nu | StopSpillet.dk",TR:"İddaa oranları anlık olarak değişiklik g\xf6sterebilmektedir."},d={BE:21,GR:21,CA:19};function u(e){let{countryOddsProvider:t}=e;return(null==t?void 0:t.oddsMayDiffer)?(0,s.jsxs)("span",{children:[(0,s.jsx)("br",{}),(0,s.jsx)(r.A,{id:"disclaimer_odds_may_differ"})]}):null}function m(){let e=(0,l.d4)(o.LQ),t=e&&i[e];return t?(0,s.jsxs)("span",{children:[", ",(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]}):null}let p=e=>e&&d[e.toUpperCase()]?d[e.toUpperCase()]:18;function h(e){let t,{provider:a}=e,i=(0,l.d4)(o.LQ),d=(0,l.d4)(o.zj);return i&&d?t=c["".concat(i,"-").concat(d)]||c[i]:i&&(t=c[i]),(0,s.jsxs)(n.EY,{display:"block",textStyle:"body.small",textAlign:"center",color:"neutrals.nLv3",pr:"sm",children:[t?(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}):(0,s.jsx)(r.A,{id:"gamble_responsibly",values:{age:p(i)}}),(0,s.jsx)(m,{}),(0,s.jsx)(u,{countryOddsProvider:a})]})}},79634:(e,t,a)=>{a.d(t,{q:()=>s.q});var s=a(39975)},80322:(e,t,a)=>{a.d(t,{J:()=>i});var s=a(6029),n=a(54529),r=a(76356),l=a(93338),o=a(40134);let i=e=>{let{seed:t,colorless:a,position:i="absolute",left:c,right:d,bottom:u="0",h:m="lg",minW:p="xl",textStyle:h="assistive.default",...g}=e;return t?(0,s.jsx)(r.ov,{display:"inline-flex",position:i,bottom:u,left:c,right:d,br:"sm",style:a?void 0:{background:l.S.var((0,o.mq)(t))},h:m,minW:p,zIndex:"button",...g,children:(0,s.jsx)(n.EY,{textStyle:h,color:a?"neutrals.nLv1":"surface.s1",lineHeight:1,children:t})}):null}},81349:(e,t,a)=>{a.d(t,{A:()=>d,d:()=>u});var s=a(19501),n=a(494),r=a(45860),l=a(90438),o=a(37455),i=a(72753),c=a(79082);let d=(e,t)=>{let[a]=(0,c.Ay)({routeKey:l.xW.Betting,params:{}}),n=(null==a?void 0:a.boostId)?+a.boostId:void 0,o=null==t?void 0:t.betBoosts.find(e=>e.event.id===n),{data:i}=(0,r.Ay)(n&&!o?s.bnp.betBoost(n,e):null);return{selectedBoost:null==i?void 0:i.betBoost,selectedEventId:n}},u=()=>{let e=(0,n.d4)(i.LQ);return(0,n.d4)(o.Zw)&&"IT"!==e}},86522:(e,t,a)=>{a.d(t,{g:()=>s});let s=e=>e.branding.config},86890:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(6029),n=a(42181);function r({side:e,linesColor:t,isHorizontalLayout:a}){return(0,s.jsxs)(n.g9,{side:e,isHorizontalLayout:a,children:[(0,s.jsx)("div",{className:"goal",children:(0,s.jsxs)("svg",{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,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"cutoffRect",children:(0,s.jsx)("rect",{x:"0",y:"1",width:"160",height:"70"})})}),(0,s.jsxs)("g",{stroke:t,fill:"transparent",strokeWidth:"2",children:[(0,s.jsx)("rect",{clipPath:"url(#cutoffRect)",x:"1",y:"0",width:"158",height:"46"}),(0,s.jsx)("rect",{clipPath:"url(#cutoffRect)",x:"42",y:"0",width:"74",height:"24"}),(0,s.jsx)("path",{d:"M 39 46 A 50 50 0 0 0 119 46"})]})]})}),(0,s.jsx)("div",{className:"c1",children:(0,s.jsx)("svg",{viewBox:"0 0 14 14",height:"14",width:"14",children:(0,s.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"0",cy:"0",r:"12"})})}),(0,s.jsx)("div",{className:"c2",children:(0,s.jsx)("svg",{viewBox:"0 0 14 14",height:"14",width:"14",children:(0,s.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"14",cy:"0",r:"12"})})}),(0,s.jsx)("div",{className:"center",children:(0,s.jsx)("svg",{viewBox:"0 0 128 64",width:"128",height:"64",children:(0,s.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"64",cy:"64",r:"62"})})})]})}},89721:(e,t,a)=>{a.d(t,{U:()=>o});var s=a(6029),n=a(54529),r=a(37549),l=a(53255);let o=e=>{let{branding:t,location:a,entityId:o,...i}=e,{isDesktop:c}=(0,n.$c)();return c&&t?(0,s.jsx)(r.A.Header,{...i,variant:"left-aligned",actionComponent:(0,s.jsx)(l.O,{minW:"[140px]",px:"sm",br:"xs",branding:t,location:a,entityId:o})}):(0,s.jsx)(r.A.Header,{...i})}},89937:(e,t,a)=>{a.r(t),a.d(t,{default:()=>w});var s=a(6029),n=a(54529),r=a(76356),l=a(94565),o=a(55729),i=a(46222),c=a(56494),d=a(22830),u=a(81484),m=a(18858),p=a(15341),h=a(5062),g=a(6813),x=a(29695),f=a(96678);let b=e=>{let{comments:t,isOpen:a}=e,{rootRef:l}=(0,o.useContext)(f.XM),{isMobile:i}=(0,n.$c)();return(0,s.jsx)("div",{ref:i?void 0:l,children:(0,s.jsxs)(n.Ee,{h:{md:a?"[370px]":"[538px]"},bg:["neutral.highlight","surface.s1"],children:[(0,s.jsx)(r.so,{direction:"column",p:"md",gap:"lg",children:t.map(e=>(0,s.jsx)(x.y,{comment:e},e.id))}),(0,s.jsx)(r.az,{borderTop:"1px solid {colors.neutrals.nLv4}",hideBelow:"md",mb:"lg",children:(0,s.jsx)(g.p,{graphic:"hockey-shotmap",descriptionMessageId:"You've seen all available plays for this period."})})]})})};var v=a(60128),y=a(33559);let _=["scoreChange","penaltyScored","penaltyMissed","penaltySaved","faceOff","shotOffTarget","shotBlocked","shotSaved","suspension","hit"],j=["1st","2nd","3rd"],k=e=>{let{isOpen:t,periods:a,shots:i,activeTab:c,setActiveTab:d,setIsOpen:p}=e,{rootRef:g}=(0,o.useContext)(f.XM),x=(0,m.Ay)(),{isMobile:b}=(0,n.$c)(),y=a.map((e,t)=>({tabKey:t,tabValue:(0,s.jsx)(u.fP,{id:e,short:!0})}));return(0,s.jsxs)(l.PI,{bg:"surface.s1",borderBottom:"onSurface.nLv4",pb:t?"sm":void 0,elevation:[2,void 0],top:x,isStickingDisabled:!b,children:[(0,s.jsx)(r.az,{p:"sm",children:(0,s.jsx)(n.tU,{variant:"secondary",initialValue:c,onChange:e=>{if(d(e),g.current){var t;null==(t=g.current.children[0])||t.scrollTo(0,0)}else window.scrollTo(0,135)},fullWidthTabs:!0,children:(0,s.jsx)(n.tU.List,{children:y.map((e,t)=>(0,s.jsx)(n.tU.Tab,{tabKey:e.tabKey,children:e.tabValue},t))})})}),(0,s.jsx)(h.A,{isOpen:t,setIsOpen:p,borderTop:"onSurface.nLv4",title:"Event Map"}),t&&(0,s.jsx)(r.az,{px:{md:"sm"},children:(0,s.jsx)(v.A,{shots:i})})]})},w=()=>{var e;let[t,a,n]=(0,p.A)("ice.hockey.playbyplay.open",!0),{textCommentary:l,periods:u}=(0,d.q)(),[m,h]=(0,o.useState)(0);(0,o.useEffect)(()=>{u.length&&h(u.length-1)},[!!u.length]);let g=u[m],x=(null==l||null==(e=l[g])?void 0:e.filter(e=>_.includes(e.type)&&!!e.location))||[],v=x.map(e=>({id:e.id,x:e.location.x,y:e.location.y,type:(0,y.rk)(e.type)}))||[];return n?(0,s.jsx)(f.v9,{comments:t?x:[],children:(0,s.jsxs)(i.Zp,{variant:"desktop-only",children:[(0,s.jsx)(i.Zp.Header,{titleId:"cricket.pbp"}),(0,s.jsxs)(r.az,{position:"relative",children:[(0,s.jsx)(k,{periods:u.length?u:j,isOpen:t,setIsOpen:a,activeTab:m,setActiveTab:h,shots:v}),(null==l?void 0:l[g])?(0,s.jsx)(b,{comments:l[g],isOpen:t}):(0,s.jsx)(r.az,{h:"[512px]",children:(0,s.jsx)(c.a,{})})]})]})}):null}},90547:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var s=a(90142),n=a(6029),r=a(39895);function l(e){var{fillOpacity:t=".06"}=e,a=(0,s.T)(e,["fillOpacity"]);return(0,n.jsx)(r.A,Object.assign({width:24,height:24,viewBox:"0 0 24 24",fillOpacity:t},a,{children:(0,n.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:a.fill,fillRule:"evenodd"})}))}},91476:(e,t,a)=>{a.d(t,{J:()=>s,x:()=>n});let s="bonus-odds-cta-seen",n="bet-boost-cta-seen"},92208:(e,t,a)=>{a.d(t,{WG:()=>d,YL:()=>m,_z:()=>u,lE:()=>r,o_:()=>l});var s=a(19501);let n={EN:"GB",SX:"GB",WA:"GB",NX:"GB"},r=e=>e&&(n[e]||e),l=e=>{if(e)return e===s.YT8.Male?"Male":e===s.YT8.Female?"Female":void 0},o={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"}},i={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"}},c={pt:{358554:"https://pt.wikipedia.org/wiki/Gabriel_Barbosa",32891:"https://pt.wikipedia.org/wiki/Mauricio_Isla",840219:"https://pt.wikipedia.org/wiki/Pedro_Guilherme_Abreu_dos_Santos",795291:"https://pt.wikipedia.org/wiki/Bruno_Henrique_Pinto",822526:"https://en.wikipedia.org/wiki/Gabriel_Batista",950454:"https://pt.wikipedia.org/wiki/Hugo_de_Souza_Nogueira",804703:"https://pt.wikipedia.org/wiki/Bruno_Viana_Willemen_da_Silva",333587:"https://pt.wikipedia.org/wiki/Giorgian_De_Arrascaeta",242213:"https://pt.wikipedia.org/wiki/Willian_Ar%C3%A3o"}},d=(e,t)=>{var a;return null==(a=o[t])?void 0:a[e]},u=(e,t)=>{var a;return null==(a=i[t])?void 0:a[e]},m=(e,t)=>{var a;return null==(a=c[t])?void 0:a[e]}},96688:(e,t,a)=>{a.d(t,{y:()=>s});function s(e){let t=(null==e?void 0:e.toLowerCase())||"",a=["hr","es","pt"].includes(t);return"https://corporate.sofascore.com".concat(a?"/".concat(t):"","/about/rating")}}}]);