!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]="5f7ab831-373a-425b-a1cc-2e0e0028f7c0",e._sentryDebugIdIdentifier="sentry-dbid-5f7ab831-373a-425b-a1cc-2e0e0028f7c0")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10426,21632,39979,66976,77752,86523,93497],{151:(e,t,n)=>{n.d(t,{g:()=>a});let a=e=>e.branding.config},1440:(e,t,n)=>{n.d(t,{A:()=>o,q:()=>l});var a=n(6029),r=n(99064),s=n(55729),i=n(43072);let l=e=>{let{initialVisible:t=!1,defaultHeight:n=0,visibleOffset:l=1e3,persist:o=!1,loader:d,children:c,...u}=e,m={initialInView:t,rootMargin:"".concat(l,"px 0px ").concat(l,"px 0px")},[h,x,p]=(0,i.Wx)(m),v=(0,s.useRef)(t),g=(0,s.useRef)(n);(0,s.useEffect)(()=>{x&&!0!==v.current&&(v.current=!0),x&&g.current!==n&&(g.current=(null==p?void 0:p.boundingClientRect.height)||n)},[x,p]);let f=d||(g.current?(0,a.jsx)(r.az,{h:g.current}):null),j=x||o&&v.current;return(0,a.jsx)(r.az,{ref:h,...u,children:j?c:f})},o=l},1840:(e,t,n)=>{n.d(t,{z:()=>v,K:()=>g});var a=n(6029),r=n(76356),s=n(55729),i=n(494),l=n(48683),o=n(62859),d=n(77988),c=n(28349);let u=e=>{let{}=e;return(0,a.jsx)(c.EY,{display:"block",px:"lg",py:"sm",textStyle:"body.small",color:"neutrals.nLv3",textAlign:"center",children:"Juego Responsable - BAP: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-444-4000 BAC: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-666-6006"})};var m=n(44450),h=n(2294),x=n(10794);let p=e=>{let{provider:t}=e;return(0,a.jsx)(r.az,{position:"relative",px:"lg",py:"sm",children:(0,a.jsx)(d.A,{provider:t})})},v=e=>{let{showTailingRegulation:t,provider:n}=e,s=(0,i.d4)(x.LQ);return(0,i.d4)(h.BF)?null:"GR"===s&&t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.so,{justify:"center",children:(0,a.jsx)(m.A,{})}),(0,a.jsx)(p,{provider:n})]}):"AR"===s?(0,a.jsxs)(r.BJ,{gap:"sm",children:[(0,a.jsx)(p,{provider:n}),(0,a.jsx)(u,{})]}):(0,a.jsx)(p,{provider:n})},g=e=>{let{showTailingRegulation:t,provider:n}=e,{event:d}=(0,s.useContext)(o.y$),c=(0,i.d4)((0,h.Ul)(d)),u=(0,i.d4)((0,h.bS)(d)),m=(0,i.d4)(h.BF);return c||u||m?(0,a.jsx)(l.Zp,{children:(0,a.jsx)(r.az,{p:"xs",children:(0,a.jsx)(v,{showTailingRegulation:t,provider:n})})}):null}},5961:(e,t,n)=>{n.d(t,{IJ:()=>h});let a=(e,t)=>t?{0:e?"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"},r=e=>e?{MAX_POINT_VALUE:6,WIDTH:160,HEIGHT:100}:{MAX_POINT_VALUE:9,WIDTH:500,HEIGHT:363};function s(e,t){let n=[];for(let a=0;a2&&void 0!==arguments[2]?arguments[2]:10,a=[],r=1/n;for(let n=0;n<=e;n+=r)a.push(Math.exp(-n*n/(2*t*t)));return a},l=(e,t,n,a)=>Math.sqrt(Math.pow(n-e,2)+Math.pow(a-t,2)),o=(e,t,n)=>{let{width:a,height:r,influenceRadius:i,precisionLevel:o=10}=n,d=s(a,r);for(let n=0;n{let{height:a,width:r,gradientScaleFactor:s,gradientRange:i}=n,l=document.createElement("canvas");l.height=a,l.width=r;let o=l.getContext("2d");if(!o)throw Error("No heatmap canvas context found");let d=o.getImageData(0,0,r,a),c=d.data;for(let n=0;n{let a=Math.round(t),r=Math.round(n),s=Math.round(e);return sa?s:a:r},u=(e,t)=>{let{width:n,height:a,isFlipped:r=!1,pointMaximum:i=100,widthScaleFactor:l=1.6,heightScaleFactor:o=1,pointValue:d=1}=t,u=s(n,a);return e.forEach(e=>{let t=r?i-e.x:e.x,s=r?e.y:i-e.y,m=c(t*l,0,n-1),h=c(s*o,0,a-1);u[m][h]+=d*(e.count||1)}),u},m=(e,t,n,l,c)=>{let{containerId:m,isAway:h=!1,width:x,height:p,numberOfMatches:v,shootMapType:g=1,precisionLevel:f=10,isTransparentBackground:j}=n,{HEIGHT:y,WIDTH:b,MAX_POINT_VALUE:C}=r(e),w=document.getElementById(m);if(!w)throw Error("No DOM container element for HeatMap provided");let k=e?function(e){let t=14;return e&&e>1&&(t=Math.round((1-Math.pow(e/38,.28))*10+4)),t}(v||1):function(e){let t=20;return e>82?Math.round((1-Math.pow(e/110,.1))*8+12):Math.round((1-Math.pow(e/82,.1))*8+12)}(v||1),S=e?u(t,{isFlipped:h,width:b,height:y}):function(e,t,n,a){let r=s(n+1,a+1);return e.forEach(e=>{let{x:n,y:a,made:s,missed:i}=e;switch(t){case 1:r[n- -250][a- -40]+=s+i;break;case 2:r[n- -250][a- -40]+=s;break;default:r[n- -250][a- -40]+=i}}),r}(t,g,b,y);!e&&v&&v>5&&function(e,t,n,a){let r,s,i,l,o,d;for(l=0;l<=100;l++){for(r=0,s=0,i=0,o=2;o<=10;o++)++i,r+=a[l][80-o],s+=a[l][80+o];for(d=0;d<=2;d++)a[l][e+d]=(r+s)/(2*i),a[l][e-d]=(r+s)/(2*i)}}(80,2,0,S);let A=function(e,t,n,r,s){let i=document.createElement("canvas");i.width=1,i.height=1e3;let l=i.getContext("2d");if(!l)throw Error("No color gradient context for heatmap found");let o=l.createLinearGradient(0,0,1,1e3),d=a(s,n);return Object.keys(d).forEach(e=>{let n=d[e],a=Number(e);r&&a<.2?o.addColorStop(a,t.setAlpha(n,a+.2)):o.addColorStop(a,t.setAlpha(n,1))}),l.fillStyle=o,l.fillRect(0,0,1,e),l.getImageData(0,0,1,e).data}(1e3,l,e,j,c),_=d(o(S,i(k,k/3,f),{width:b,height:y,influenceRadius:k,precisionLevel:f}),A,{height:y,width:b,gradientScaleFactor:1e3/C,gradientRange:1e3}),H=document.createElement("canvas");H.height=p,H.width=x;let I=H.getContext("2d");if(!I)throw Error("Heatmap canvas context not found");I.drawImage(_,0,0,x,p),w.innerHTML="",w.appendChild(H)};function h(e,t,n,a){try{m(!0,e,t,n,a)}catch(e){console.error("In render football heatmap",e)}}},6244:(e,t,n)=>{n.d(t,{l:()=>c,W:()=>u});var a=n(6029),r=n(21377),s=n(28349),i=n(62042),l=n(76356),o=n(67628);let d=(0,i.Fj)({base:{display:"inline-block",borderRadius:"md",px:"sm"},variants:{groundType:{[r.QWe.HardcourtIndoor]:{bg:"tennis.terrain.hardcourtIndoor"},[r.QWe.HardcourtOutdoor]:{bg:"tennis.terrain.hardcourtOutdoor"},[r.QWe.Hard]:{bg:"tennis.terrain.hardcourtOutdoor"},[r.QWe.CarpetIndoor]:{bg:"tennis.terrain.default"},[r.QWe.Grass]:{bg:"tennis.terrain.grass"},[r.QWe.Clay]:{bg:"tennis.terrain.clay"},[r.QWe.RedClay]:{bg:"tennis.terrain.clay"},[r.QWe.SyntheticOutdoor]:{bg:"tennis.terrain.default"},default:{bg:"tennis.terrain.default"}}}}),c=(0,l.I4)("div",d),u=e=>{let{groundType:t}=e;return t?(0,a.jsx)(c,{groundType:t,children:(0,a.jsx)(s.EY,{display:"block",textStyle:"assistive.default",h:"lg",color:"surface.s1",children:(0,a.jsx)(o.n,{id:t})})}):null}},8960:(e,t,n)=>{n.d(t,{A:()=>c,d:()=>u});var a=n(21377),r=n(494),s=n(45860),i=n(19451),l=n(2294),o=n(10794),d=n(30479);let c=(e,t)=>{let[n]=(0,d.Ay)({routeKey:i.xW.Betting,params:{}}),r=(null==n?void 0:n.boostId)?+n.boostId:void 0,l=null==t?void 0:t.betBoosts.find(e=>e.event.id===r),{data:o}=(0,s.Ay)(r&&!l?a.bnp.betBoost(r,e):null);return{selectedBoost:null==o?void 0:o.betBoost,selectedEventId:r}},u=()=>{let e=(0,r.d4)(o.LQ);return(0,r.d4)(l.Zw)&&"IT"!==e}},9869:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(6029),r=n(9127),s=n(41735);let i=({x:e,y:t})=>{let{colors:n}=(0,s.useTheme)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.m.circle,{fill:n.surface.s1,r:"6",animate:{cx:e,cy:t}}),(0,a.jsx)(r.m.circle,{fill:n.success.default,r:"4",animate:{cx:e,cy:t}})]})}},10292:(e,t,n)=>{n.d(t,{t:()=>a.t});var a=n(91407)},10426:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Y});var a=n(6029),r=n(32523),s=n(21377),i=n(55729),l=n(62859),o=n(75751),d=n(83457),c=n(48683),u=n(99064),m=n(90248),h=n(8703),x=function(e){return e.All="all",e.KeyEvents="key-events",e}({});let p=e=>[s.QCR.AmericanFootball,s.QCR.Basketball].includes(e),v=e=>{let{selectedTab:t,onTabChange:n}=e,{event:r}=(0,i.useContext)(l.y$),s=p((0,h.c5)(r));return(0,a.jsx)(u.tU,{variant:"quaternary",initialValue:x.All,value:t,onChange:n,children:(0,a.jsxs)(u.tU.List,{p:"sm",elevation:[2,void 0],borderBottom:s?void 0:"onSurface.nLv4",bg:["surface.s1",void 0],children:[(0,a.jsx)(u.tU.Tab,{tabKey:x.All,children:(0,a.jsx)(m.A,{id:"basic.all"})}),(0,a.jsx)(u.tU.Tab,{tabKey:x.KeyEvents,children:(0,a.jsx)(m.A,{id:"commentary_key_events"})})]})})};var g=n(76356),f=n(25811),j=n(87763),y=n(12047);let b=e=>{let{periods:t,selectedPeriod:n,onPeriodChange:r}=e,s=(0,i.useContext)(l.Ws),o=(0,y.Ay)();return t.length&&p(s)?(0,a.jsx)(u.PI,{top:o,bg:"surface.s1",zIndex:u.Py.Sticky-1,children:(0,a.jsx)(g.az,{p:"sm",bg:"surface.s1",borderBottom:"1px solid {colors.neutrals.nLv4}",children:(0,a.jsx)(f.n,{activeTabKey:n,onChange:r,tabs:t.map(e=>({tabKey:e,tabValue:(0,a.jsx)(j.fP,{id:e,short:!0})})),variant:"secondary"})})}):null};var C=n(28349),w=n(23727),k=n(45860);let S=()=>{let{event:e}=(0,i.useContext)(l.y$),t=(0,d.j)((0,h.c5)(e)),{data:n}=(0,k.Ay)(t?s.bnp.commentary(e.id,t):null,(0,h.rf)(e));return{drives:null==n?void 0:n.drives}};var A=n(88836),_=n(98368);let H=e=>{let{event:t}=(0,i.useContext)(l.y$),n=e.isHome?t.homeTeam:t.awayTeam,a=e.player,r=function(e,t){let n=e.isHome?t.homeTeam.shortName:t.awayTeam.shortName;switch(e.type){case"touchdown":return"Touchdown ".concat(n,"!");case"fieldGoalMiss":return"Missed Field Goal";case"twoPointConversion":return"2-PT Conversion";case"turnoverOnDowns":return"Turnover on Downs";case"fourthDownConversion":return"4th Down Conversion";case"passInterception":return"Interception";case"passInterceptionReturn":return"Interception Return";case"tenYardsPlay":return"".concat(e.yardsGained," Yard ").concat("run"===e.playType?"Run":"Pass");case"fieldGoal":return"Field Goal";case"extraPoint":return"Extra Point";case"safety":return"Safety";default:return null}}(e,t);return{team:n,player:a,title:r,text:function(e){return"twoMinuteWarning"===e.type?"Two-Minute Warning":e.text}(e),downDistance:function(e,t){if("extraPoint"===e.type){let n=1===e.teamHalf?t.homeTeam.nameCode:t.awayTeam.nameCode;return"XP attempt from ".concat(n," ").concat(e.yardline)}let n={currentDown:e.down,currentTeamHalf:e.teamHalf,currentPossession:e.possession,currentYardline:e.yardline,currentYardsToFirstDown:e.yardsToFirstDown,isGoalPossession:e.isGoal};return(0,_.XE)(n,t)}(e,t)}},I=e=>{let{comment:t}=e,{player:n,team:r,title:s,text:i,downDistance:l}=H(t);return(0,a.jsxs)(g.so,{children:[(0,a.jsx)(A.JJ,{comment:t}),(0,a.jsxs)(A.cH,{bg:"surface.s0",image:n&&(0,a.jsx)(A.Ez,{id:n.id,teamId:r.id}),players:[n],children:[s&&(0,a.jsx)(A.SI,{children:s}),i&&(0,a.jsx)(A.jv,{children:i}),l&&(0,a.jsx)(A.jv,{secondary:!0,children:l})]})]})},M=e=>{let{comments:t}=e;return(0,a.jsx)(g.so,{direction:"column",gap:"lg",p:"lg",children:t.map(e=>(0,a.jsx)(I,{comment:e},e.id))})};var T=n(33144),R=n(4967);let L=e=>{let{drive:t}=e;return(0,a.jsxs)(g.so,{gap:"lg",align:"center",children:[(0,a.jsx)(T.p,{id:t.teamId,w:32,h:32}),(0,a.jsxs)(g.so,{direction:"column",align:"flex-start",children:[(0,a.jsx)(C.EY,{textStyle:"display.medium",color:null!==t.endReason?"neutrals.nLv1":"status.live",children:t.endReason||(0,a.jsx)(m.A,{id:"inProgress"})}),(0,a.jsx)(C.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,a.jsx)(m.A,{id:"am_football_drive_summary",values:{plays:t.playCount,yards:t.netDriveYards,time:(0,R.OV)(t.durationSeconds)}})})]})]})},z=e=>{let{comment:t,drive:n,defaultOpened:r=!1}=e;return(0,a.jsxs)(u.nD.Item,{defaultOpened:r,bg:"surface.s1",elevation:[2,void 0],br:["lg",void 0],borderTop:[void 0,"onSurface.nLv4"],borderBottom:[void 0,"onSurface.nLv4"],mt:-1,overflow:"hidden",children:[(0,a.jsx)(u.nD.Trigger,{children:(0,a.jsx)(L,{drive:n})}),(0,a.jsx)(u.nD.Content,{children:(0,a.jsx)(M,{comments:t})})]})},P=e=>{let{comment:t}=e,{player:n,team:r,title:s,text:i,downDistance:l}=H(t);return(0,a.jsxs)(g.so,{children:[(0,a.jsx)(A.JJ,{comment:t}),(0,a.jsxs)(A.cH,{image:n&&(0,a.jsx)(A.Ez,{id:n.id,teamId:r.id}),players:[n],elevation:{mdDown:"2"},children:[s&&(0,a.jsx)(A.SI,{children:s}),i&&(0,a.jsx)(A.jv,{children:i}),l&&(0,a.jsx)(A.jv,{secondary:!0,children:l})]})]})},E=e=>{let{comment:t}=e,{player:n,team:r,title:s,text:i,downDistance:l}=H(t);return(0,a.jsxs)(g.so,{br:"lg",elevation:{mdDown:"2"},bg:{mdDown:"surface.s1"},py:{md:"md"},px:{md:"lg"},children:[(0,a.jsx)(A.JJ,{comment:t}),(0,a.jsxs)(A.cH,{bg:{base:"surface.s1",md:"surface.s0"},image:n&&(0,a.jsx)(A.Ez,{id:n.id,teamId:r.id}),players:[n],children:[s&&(0,a.jsx)(A.SI,{children:s}),i&&(0,a.jsx)(A.jv,{children:i}),l&&(0,a.jsx)(A.jv,{secondary:!0,children:l})]})]})},F=e=>{let{selectedTab:t,selectedPeriod:n,comments:r,periods:s}=e,{drives:i}=S();if(t===x.KeyEvents)return(0,a.jsx)(g.so,{p:"md",direction:"column",gap:"md",children:r.map(e=>(0,a.jsx)(P,{comment:e},e.id))});let l=r.findIndex(e=>!!Array.isArray(e)||void 0!==e.driveId);return(0,a.jsx)(u.nD,{children:(0,a.jsxs)(g.so,{p:{mdDown:"md"},direction:"column",gap:{mdDown:"md"},children:[(0,a.jsx)(g.az,{hideBelow:"md",children:(0,a.jsx)(g.cG,{})}),r.map((e,t)=>{let r=function(e){return Array.isArray(e)?e:[e]}(e),o=function(e,t){return void 0===e||void 0===t?null:t.find(t=>t.id===e)}(r[0].driveId,i);return o?(0,a.jsx)(z,{comment:r,drive:o,defaultOpened:function(e,t,n){return 0!==e.length&&[e[0],e[e.length-1]].includes(t)&&n}(s||[],n,l===t)},r[0].id):(0,a.jsx)(E,{comment:r[0]},r[0].id)})]})})};var B=n(65078);let O={freeThrowMade:"basketball_free_throw_made",twoPointMade:"basketball_two_points_made",threePointMade:"basketball_three_points_made"},V=e=>{let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),{homeTeam:r,awayTeam:s}=n,o="ownGoal"===t.goalType,d="penalty"===t.goalType,c=!o&&!d,u=t.player,h=t.isHome?r.id:s.id;return u?(0,a.jsxs)(A.hF,{children:[(0,a.jsx)(A.JJ,{comment:t}),(0,a.jsxs)(A.cH,{image:(0,a.jsx)(A.Ez,{id:u.id,teamId:h}),players:[u],children:[(0,a.jsx)(A.SI,{isUppercase:c,children:c?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.A,{id:"goal"}),"!"]}):(0,a.jsx)(m.A,{id:t.goalType})}),(0,a.jsx)(A.jv,{children:t.text})]})]}):null},D=e=>{let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),r=t.isHome?n.homeTeam:n.awayTeam;return t.playerIn&&t.playerOut?(0,a.jsxs)(A.hF,{children:[(0,a.jsx)(A.JJ,{comment:t}),(0,a.jsxs)(A.cH,{image:(0,a.jsx)(T.p,{size:24,id:r.id,name:r.name}),players:[t.playerIn,t.playerOut],children:[(0,a.jsx)(A.SI,{children:(0,a.jsx)(m.A,{id:"substitution"})}),(0,a.jsxs)(A.Pc,{image:(0,a.jsx)(A.Ez,{id:t.playerIn.id,small:!0}),children:[t.playerIn.name,(0,a.jsxs)(C.EY,{ml:"2xs",textStyle:"body.small",color:"secondary.default",children:["(",(0,a.jsx)(m.A,{id:"substitution.in"}),")"]})]}),(0,a.jsxs)(A.Pc,{image:(0,a.jsx)(A.Ez,{id:t.playerOut.id,small:!0}),children:[t.playerOut.name,(0,a.jsxs)(C.EY,{ml:"2xs",textStyle:"body.small",color:"status.error.default",children:["(",(0,a.jsx)(m.A,{id:"substitution_out"}),")"]})]})]})]}):null};var W=n(30566),Q=n(20294);let G={[s.QCR.Football]:e=>{let{comment:t}=e;switch(t.type){case"scoreChange":case"penaltyScored":return(0,a.jsx)(V,{comment:t});case"substitution":return(0,a.jsx)(D,{comment:t});default:return(0,a.jsx)(W.b,{comment:t})}},[s.QCR.Basketball]:function(e){let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),[r,s]=(0,B.jr)(t,"homeScore","awayScore"),{isHome:o,player:d,playerIn:c,playerOut:u,goalkeeper:h}=t,x=void 0===o?void 0:o?n.homeTeam:n.awayTeam,p=d&&(0,a.jsx)(A.Ez,{id:d.id,teamId:null==x?void 0:x.id}),v=function(e){if("scoreChange"===e.type&&e.goalType)return O[e.goalType]}(t),g=t.text,f="scoreChange"===t.type&&!!(null==x?void 0:x.nameCode)&&void 0!==r&&void 0!==s;return(0,a.jsxs)(A.hF,{children:[(0,a.jsx)(A.JJ,{comment:t}),(0,a.jsxs)(A.cH,{image:p,players:[d,c,u,h],children:[v&&(0,a.jsx)(A.SI,{children:(0,a.jsx)(m.A,{id:v})}),g&&(0,a.jsx)(A.jv,{children:g}),f&&(0,a.jsx)(C.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:"".concat(x.nameCode," ").concat(r," - ").concat(s)})]})]})},[s.QCR.IceHockey]:Q.y},K=e=>{let{comments:t}=e,n=G[(0,i.useContext)(l.Ws)];return(0,a.jsx)(g.so,{p:"md",direction:"column",gap:"md",children:t.map(e=>(0,a.jsx)(n,{comment:e},e.id))})},N=e=>{let{selectedTab:t,selectedPeriod:n,comments:r,periods:o}=e;return(0,i.useContext)(l.Ws)===s.QCR.AmericanFootball?(0,a.jsx)(F,{selectedTab:t,selectedPeriod:n,comments:r,periods:o}):(0,a.jsx)(K,{comments:r})},$=e=>{let{selectedTab:t,selectedPeriod:n,comments:r,periods:o}=e,{isMobile:d}=(0,C.$c)(),{event:u,location:m}=(0,i.useContext)(l.y$),[p,v]=(0,i.useState)(!1),g=function(e,t,n){return t===x.KeyEvents?n.filter(e=>Object.values(s.zZK).includes(e.type)):e===s.QCR.AmericanFootball?function(e){let t=[],n=null,a=null;for(let r of e)void 0!==r.driveId?(r.driveId!==a&&(n=[],t.push(n),a=r.driveId),n&&n.push(r)):(t.push(r),a=null);return t.map(e=>Array.isArray(e)&&1===e.length?e[0]:e)}(n.filter(e=>"timeout"!==e.type||void 0!==e.driveId)):n}((0,h.c5)(u),t,r),f=m&&[l.cb.EventPage].includes(m)&&g.length>10&&!d;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(N,{selectedTab:t,selectedPeriod:n,comments:function(e,t){return t?e:e.slice(0,10)}(g,p||d||m===l.cb.Widget),periods:o}),(0,a.jsx)(c.Zp.Footer,{ctaParams:f?{messageId:p?"show_less":"show_more",onClick:()=>v(e=>!e),icon:p?w.X.Up:w.X.Down}:void 0,defaultHeight:{base:"[0px]",md:"lg"}})]})},U=e=>{let{periodComments:t,periods:n}=e,r=(0,i.useContext)(l.Ws),{location:o}=(0,i.useContext)(l.y$),d=o===l.cb.Widget,[u,m]=(0,i.useState)(r===s.QCR.Basketball&&n.length?n[n.length-1]:"all"),[h,p]=(0,i.useState)(x.All),g=t[u];return(0,a.jsxs)(c.Zp,{variant:d?"never":"desktop-only",children:[!d&&(0,a.jsx)(c.Zp.Header,{titleId:"commentary",visibility:"desktop-only"}),(0,a.jsx)(b,{periods:n,selectedPeriod:u,onPeriodChange:m}),r!==s.QCR.Basketball&&(0,a.jsx)(v,{selectedTab:h,onTabChange:p}),(0,a.jsx)($,{selectedTab:h,selectedPeriod:u,comments:g,periods:n})]})},Y=()=>{let e=(0,i.useContext)(l.Ws),{textCommentary:t,periods:n}=(0,d.q)(e!==s.QCR.Basketball);return t?(0,a.jsx)(o.t,{tag:"TextCommentary",children:(0,a.jsx)(U,{periodComments:t,periods:n})}):(0,a.jsx)(r.E,{uniqueKey:"text-commentary-container-cl",rows:10,rowHeight:56,animate:!0})}},11791:(e,t,n)=>{n.d(t,{KO:()=>s,Qe:()=>l,tV:()=>i});var a=n(494),r=n(2294);let s=(e,t)=>null==e?void 0:e.map(e=>{var n,a,r,s,i,l,o,d;let c=e.provider;return t?{id:c.id,oddsFromId:null!=(o=null!=(l=null==(r=c.liveOddsFrom)?void 0:r.id)?l:null==(s=c.oddsFrom)?void 0:s.id)?o:c.id,fallbackProviderId:null==(i=e.fallbackProvider)?void 0:i.id}:{id:c.id,oddsFromId:null!=(d=null==(n=c.oddsFrom)?void 0:n.id)?d:c.id,fallbackProviderId:null==(a=e.fallbackProvider)?void 0:a.id}}),i=e=>s((0,a.d4)(r.hB),e),l=e=>s((0,a.d4)(r.SM),e)},11810:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(6029),r=n(41735);let s=({courtColor:e,showDarkPaint:t})=>{let{colors:n}=(0,r.useTheme)();return(0,a.jsxs)("g",Object.assign({fill:null!=e?e:n.graphicsTerrain.basketball},{children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M17 1H84V94V95H85H94C94 111 108 124 124 124C140 124 154 111 154 95H163H164V94V80V1H231V71.5C225.2 85.1 217.1 97.5 206.7 108.3C184.6 131.3 155.2 144 124 144C92.8 144 63.4 131.3 41.3 108.3C30.9 97.5 22.8 85 17 71.5V1Z"}),(0,a.jsx)("path",{fillRule:"evenodd",d:"M247 231C247 231.6 246.6 232 246 232H2C1.4 232 1 231.6 1 231V2C1 1.4 1.4 1 2 1H16V69V71.6C16.3 72.4 16.7 73.1 17 73.9C35.8 115.9 76.6 145 124 145C171.4 145 212.2 115.9 231 73.9C231.3 73.1 231.7 72.4 232 71.6V69V1H246C246.6 1 247 1.4 247 2V231Z"}),(0,a.jsx)("path",{fillRule:"evenodd",d:"M95.0004 95C95.0004 110.439 108.561 123 124 123C139.439 123 153 110.439 153 95H95.0134H95.0004ZM120.5 25.9997C120.5 27.9297 122.07 29.4997 124 29.4997C125.93 29.4997 127.5 27.9297 127.5 25.9997C127.5 24.0697 125.93 22.4997 124 22.4997C122.07 22.4997 120.5 24.0697 120.5 25.9997ZM146.477 75.069C144.373 72.55 141.873 70.443 139.046 68.804L139.548 67.939C142.5 69.651 145.096 71.857 147.245 74.427L146.477 75.069ZM128.896 65.465C128.896 65.465 126.775 65.031 123.987 65.031C121.198 65.031 119.077 65.465 119.077 65.465L118.901 64.48C120.657 64.18 122.163 64.031 123.987 64.031C125.81 64.031 127.316 64.18 129.072 64.48L128.896 65.465ZM101.516 75.073L100.75 74.43C102.926 71.833 105.539 69.64 108.452 67.949L108.955 68.814C106.12 70.46 103.617 72.565 101.516 75.073ZM103 20H104V27C104 38 112.972 47 124 47C135.029 47 144 38.028 144 27V20H145V27C145 38.597 135.598 48 124 48C112.4 48 103 38.6 103 27V20ZM110 19H123H125H138V20H125V21.62C127.002 22.076 128.5 23.859 128.5 26C128.5 28.485 126.486 30.5 124 30.5C121.515 30.5 119.5 28.485 119.5 26C119.5 23.859 120.998 22.076 123 21.62V20H110V19ZM85 1V94H94.034C94.183 90.124 94.963 87.285 95.732 85.155L96.672 85.495C95.275 89.224 95.041 92.924 95.041 94H152.959C152.959 92.924 152.726 89.224 151.329 85.495L152.269 85.155C153.038 87.285 153.818 90.124 153.967 94H163V1H85Z"}),(0,a.jsx)("path",{fill:t?n.onSurface.nLv4:"inherit",fillRule:"evenodd",d:"M95.0004 95C95.0004 110.439 108.561 123 124 123C139.439 123 153 110.439 153 95H95.0134H95.0004ZM120.5 25.9997C120.5 27.9297 122.07 29.4997 124 29.4997C125.93 29.4997 127.5 27.9297 127.5 25.9997C127.5 24.0697 125.93 22.4997 124 22.4997C122.07 22.4997 120.5 24.0697 120.5 25.9997ZM146.477 75.069C144.373 72.55 141.873 70.443 139.046 68.804L139.548 67.939C142.5 69.651 145.096 71.857 147.245 74.427L146.477 75.069ZM128.896 65.465C128.896 65.465 126.775 65.031 123.987 65.031C121.198 65.031 119.077 65.465 119.077 65.465L118.901 64.48C120.657 64.18 122.163 64.031 123.987 64.031C125.81 64.031 127.316 64.18 129.072 64.48L128.896 65.465ZM101.516 75.073L100.75 74.43C102.926 71.833 105.539 69.64 108.452 67.949L108.955 68.814C106.12 70.46 103.617 72.565 101.516 75.073ZM103 20H104V27C104 38 112.972 47 124 47C135.029 47 144 38.028 144 27V20H145V27C145 38.597 135.598 48 124 48C112.4 48 103 38.6 103 27V20ZM110 19H123H125H138V20H125V21.62C127.002 22.076 128.5 23.859 128.5 26C128.5 28.485 126.486 30.5 124 30.5C121.515 30.5 119.5 28.485 119.5 26C119.5 23.859 120.998 22.076 123 21.62V20H110V19ZM85 1V94H94.034C94.183 90.124 94.963 87.285 95.732 85.155L96.672 85.495C95.275 89.224 95.041 92.924 95.041 94H152.959C152.959 92.924 152.726 89.224 151.329 85.495L152.269 85.155C153.038 87.285 153.818 90.124 153.967 94H163V1H85Z"})]}))}},13369:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(6029),r=n(41735);let s=({fill:e})=>{let{colors:t}=(0,r.useTheme)();return(0,a.jsxs)("g",Object.assign({fill:null!=e?e:t.graphicsTerrain.dark,fillRule:"evenodd",clipRule:"evenodd"},{children:[(0,a.jsx)("path",{d:"M109 68.8L108.5 67.9C105.6 69.6 103 71.8 100.8 74.4L101.6 75C103.6 72.6 106.1 70.5 109 68.8Z"}),(0,a.jsx)("path",{d:"M124 48C135.6 48 145 38.6 145 27V20H144V27C144 38 135 47 124 47C113 47 104 38 104 27V20H103V27C103 38.6 112.4 48 124 48Z"}),(0,a.jsx)("path",{d:"M139.5 67.9L139 68.8C141.8 70.4 144.3 72.5 146.4 75.1L147.2 74.5C145.1 71.9 142.5 69.7 139.5 67.9Z"}),(0,a.jsx)("path",{d:"M246 0H2C0.9 0 0 0.9 0 2V231C0 232.1 0.9 233 2 233H246C247.1 233 248 232.1 248 231V2C248 0.9 247.1 0 246 0ZM85 1H163V94H154C153.9 90.1 153.1 87.3 152.3 85.2L151.4 85.5C152.8 89.2 153 92.9 153 94H95C95 92.9 95.2 89.2 96.6 85.5L95.7 85.2C94.9 87.3 94.2 90.2 94 94H85V1ZM153 95C153 110.4 139.4 123 124 123C108.6 123 95 110.4 95 95H153ZM17 1H84V94V95H85H94C94 111 108 124 124 124C140 124 154 111 154 95H163H164V94V80V1H231V71.5C225.2 85.1 217.1 97.5 206.7 108.3C184.6 131.3 155.2 144 124 144C92.8 144 63.4 131.3 41.3 108.3C30.9 97.5 22.8 85 17 71.5V1ZM247 231C247 231.6 246.6 232 246 232H2C1.4 232 1 231.6 1 231V2C1 1.4 1.4 1 2 1H16V69V71.6C16.3 72.4 16.7 73.1 17 73.9C35.8 115.9 76.6 145 124 145C171.4 145 212.2 115.9 231 73.9C231.3 73.1 231.7 72.4 232 71.6V69V1H246C246.6 1 247 1.4 247 2V231Z"}),(0,a.jsx)("path",{d:"M118.9 64.5L119.1 65.5C119.1 65.5 121.2 65.1 124 65.1C126.8 65.1 128.9 65.5 128.9 65.5L129.1 64.5C127.3 64.2 125.8 64.1 124 64.1C122.2 64 120.7 64.2 118.9 64.5Z"}),(0,a.jsx)("path",{d:"M123 21.6C121 22.1 119.5 23.8 119.5 26C119.5 28.5 121.5 30.5 124 30.5C126.5 30.5 128.5 28.5 128.5 26C128.5 23.9 127 22.1 125 21.6V20H138V19H125H123H110V20H123V21.6ZM124 22.5C125.9 22.5 127.5 24.1 127.5 26C127.5 27.9 125.9 29.5 124 29.5C122.1 29.5 120.5 27.9 120.5 26C120.5 24.1 122.1 22.5 124 22.5Z"}),(0,a.jsx)("path",{d:"M123 232H153C153 216.286 139.714 203 124 203C108.286 203 95 216.286 95 232H123ZM123 233H153.984C153.995 232.668 154 232.335 154 232C154 215.431 140.569 202 124 202C107.431 202 94 215.431 94 232C94 232.335 94.0055 232.668 94.0164 233H123Z"})]}))}},14444:(e,t,n)=>{n.d(t,{b4:()=>x,V3:()=>l,HM:()=>j,k9:()=>d,HI:()=>o});var a=n(6029),r=n(55729),s=n(83260);let i=(0,r.createContext)(void 0),l=e=>{let{children:t,persistKey:n}=e,[r,l]=(0,s.A)(n,[]);return(0,a.jsx)(i.Provider,{value:{recentlySelected:r,setRecentlySelected:l},children:t})},o=()=>{let e=(0,r.useContext)(i);if(void 0===e)throw Error("useRecentSearch must be used within a RecentSearchesProvider");return{recentlySelected:e.recentlySelected,addToRecentlySelected:t=>{let n=e.recentlySelected.filter(e=>e.id!==t.id).slice(0,4),a=[t,...n];e.setRecentlySelected(a)},removeFromRecentlySelected:t=>{let n=e.recentlySelected.filter(e=>e.id!==t.id);e.setRecentlySelected(n)}}};function d(e,t,n,a){return e.length?e.length===(null==n?void 0:n.length)&&e.length===(null==t?void 0:t.length)&&e.length===(null==a?void 0:a.length)?{ids:e.map(e=>null!=e?e:"_").join(","),ut_ids:null==n?void 0:n.map(e=>null!=e?e:"_").join(","),s_ids:null==t?void 0:t.map(e=>null!=e?e:"_").join(","),s_types:null==a?void 0:a.map(e=>null!=e?e:"_").join(",")}:{ids:e.map(e=>null!=e?e:"_").join(",")}:{}}var c=n(94446),u=n(99064),m=n(54409),h=n(24159);let x=e=>{let{player:t,onPlayerClick:n,onRemoveClick:r}=e;return(0,a.jsxs)(u.so,{onClick:()=>n(t),h:"56px",align:"center",cursor:"pointer",children:[(0,a.jsx)(c.t,{id:t.id,name:t.name,size:40,grayscale:t.deceased}),(0,a.jsxs)(u.so,{direction:"column",justify:"center",h:"100%",gap:"xs",grow:1,pl:"sm",children:[(0,a.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",ellipsis:!0,maxW:["250px","130px"],children:(0,a.jsx)(h.c,{entity:t})}),(0,a.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,a.jsx)(c.p,{id:t.team.id,size:16}),(0,a.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,ellipsis:!0,maxW:["300px","120px"],children:(0,a.jsx)(h.c,{entity:t.team})})]})]}),void 0!==r&&(0,a.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==r||r(t)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,a.jsx)(m.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})};var p=n(49519),v=n(21377),g=n(98449),f=n(94604);let j=e=>{var t,n,r,s,i,l,o,d,c;let{team:h,onTeamClick:x,onRemoveClick:j}=e,y=(null==(t=h.sport)?void 0:t.slug)===v.QCR.Tennis;return(0,a.jsxs)(u.so,{gap:"sm",onClick:()=>x(h),align:"center",cursor:"pointer",py:"sm",children:[(0,a.jsx)(p.p,{id:h.id,name:h.name,size:40}),(0,a.jsxs)(u.so,{direction:"column",gap:"xs",grow:1,children:[(0,a.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,a.jsx)(f.Rm,{team:h,showFemaleSuffix:h.gender===v.YT8.Female&&!y})}),!h.national&&(null==(n=h.country)?void 0:n.slug)&&(null==(r=h.country)?void 0:r.name)&&!y&&(0,a.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,a.jsx)(p.w,{size:16,alpha2:null==(s=h.country)?void 0:s.alpha2,name:null==(i=h.country)?void 0:i.name}),(0,a.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,a.jsx)(g.m,{slug:h.country.slug,name:h.country.name})})]}),y&&h.country&&h.country.name&&(0,a.jsxs)(u.so,{align:"center",gap:"xs",children:[(0,a.jsx)(p.w,{size:16,alpha2:null==(l=h.country)?void 0:l.alpha2,name:null==(o=h.country)?void 0:o.name}),(0,a.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,a.jsx)(g.m,{name:h.country.name,slug:null!=(c=null==(d=h.country)?void 0:d.slug)?c:h.country.name})})]})]}),void 0!==j&&(0,a.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==j||j(h)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,a.jsx)(m.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})}},18130:(e,t,n)=>{n.d(t,{IV:()=>r,_P:()=>s,f7:()=>a});let a=248,r=233,s=248/233},18642:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(6029),r=n(21377),s=n(9869),i=n(63801);let l=({shotCoordinates:e})=>(0,a.jsx)("g",{children:e.map((e,t)=>e.type===r.Dme.Made?(0,a.jsx)(s.A,{x:e.x,y:e.y},t):(0,a.jsx)(i.A,{x:e.x,y:e.y},t))})},19643:(e,t,n)=>{n.d(t,{N:()=>r});var a=n(93839);function r(e,t){return"en"===t||t===a.vo[e]}},19673:(e,t,n)=>{n.d(t,{y:()=>a});function a(e){let t=(null==e?void 0:e.toLowerCase())||"",n=["hr","es","pt"].includes(t);return"https://corporate.sofascore.com".concat(n?"/".concat(t):"","/about/rating")}},22753:(e,t,n)=>{n.r(t),n.d(t,{default:()=>no});var a=n(6029),r=n(21377),s=n(4967),i=n(95669),l=n.n(i),o=n(55729),d=n(947),c=n(62859),u=n(19451),m=n(19643),h=n(50417),x=n(54029),p=n(17357),v=n(30720),g=n(39676),f=n(42678),j=n(87526),y=n(73411),b=n(61836),C=n(48683),w=n(70010),k=n(38296),S=n(58047),A=n(62827),_=n(86679),H=n(21501),I=n(494),M=n(45860),T=n(1440),R=n(37377),L=n(11818),z=n(81893),P=n(77932),E=n(76277),F=n(99326),B=n(7263),O=n(77752),V=n(3898),D=n(17808),W=n(77540),Q=n(47229),G=n(1840),K=n(92209),N=n(91631),$=n(2294);let U=()=>{let e=(0,I.d4)($._I),t=(0,N.PW)(),n=(0,I.d4)($.SM);return e&&t&&(null==n?void 0:n.length)?(0,a.jsxs)(C.Zp,{children:[(0,a.jsx)(C.Zp.Header,{titleId:"odds"}),(0,a.jsx)(K.i,{providers:n,placement:"desktop"})]}):null};var Y=n(73586),q=n(39979),Z=n(5546),X=n(80925),J=n(23484),ee=n(60908),et=n(38520),en=n(85009),ea=n(23685),er=n(78219),es=n(10794),ei=n(84944),el=n(34884),eo=n(5348),ed=n(36337);n(67144);var ec=n(67194),eu=n(26432),em=n(98899),eh=n(86523),ex=n(75409),ep=n(10951),ev=n(12174),eg=n(11687),ef=n(27680),ej=n(25049),ey=n(49937),eb=n(2987),eC=n(10426),ew=n(868),ek=n(47022),eS=n(71046);function eA(e){var t,n,s,i,l,d;let{hasCommentary:u}=e,{event:m,leftTeam:h,rightTeam:x}=(0,o.useContext)(c.y$),p=m.status.type===r.XUj.NotStarted,v=m.status.type===r.XUj.InProgress,f=m.tournament.category.sport.slug,j=f===r.QCR.ESports&&(0,eS.f2)(m.tournament.category.id),y=(0,I.d4)($.BF),C=(0,I.d4)((0,$.bS)(m)),w=(0,Z.F0)(m),[k]=(0,X.Z)(w,m.status.type===r.XUj.InProgress),S={fetcher:B.n,revalidateOnFocus:!0,refreshInterval:6e4*(m.status.type===r.XUj.NotStarted||m.status.type===r.XUj.InProgress)},A=!y&&C&&!!k,{data:_}=(0,M.Ay)(A?[r.npy.recommendedPrematchTopVoted(k,f),"HEAD"]:null,S),K=(0,o.useRef)(null),N=(0,H.hX)(),{showAiInsights:eA,showPostmatchAiInsights:e_}=(0,L.tN)(m),eH=u&&f!==r.QCR.IceHockey,eI=u&&f===r.QCR.IceHockey,eM=(0,I.d4)($.qW),eT=(0,I.d4)(es.LQ),eR=!!eT&&(0,eS.Q9)(eT),eL=v&&!!eR&&eM,ez=ed.I.includes(f)&&m.status.type===r.XUj.NotStarted;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(el.i,{eventLocation:"editor_event",nickname:null==(t=m.eventEditor)?void 0:t.name,userId:null==(n=m.eventEditor)?void 0:n.id,hasStarted:m.status.type!==r.XUj.NotStarted}),(0,a.jsx)(eo.N,{event:m}),(0,a.jsx)(ey.R,{}),(0,a.jsx)(Y.S,{countryOddsProvider:w,event:m,fallback:{PT:_?(0,a.jsx)(W.U,{onClick:()=>{var e;return null==K||null==(e=K.current)?void 0:e.scrollIntoView({behavior:"smooth"})},isElevated:!0}):(0,a.jsx)(a.Fragment,{})},isComparisonElevated:!0,children:(0,a.jsx)(Q.f9,{eventId:m.id,isLive:v})}),(0,a.jsx)(ep.y,{}),(0,a.jsx)(ej.z,{}),(0,a.jsx)(et.m2,{eventId:m.id,tournamentId:m.tournament.id,roundId:null==(s=m.roundInfo)?void 0:s.round,type:"single",screen:"desktop",isLive:v,location:et.D_.EventPage},m.id),(0,a.jsx)(ek.C,{}),(0,a.jsx)(ef.f,{}),(0,a.jsx)(ev.f,{event:m}),f!==r.QCR.Football&&(0,a.jsx)(ei.E,{event:m,hideCta:!0}),f===r.QCR.Cricket&&(0,a.jsx)(E.x,{}),em.jf.includes(f)?null:(0,em.Di)(f)?(0,a.jsx)(ec.A,{event:m}):(0,a.jsx)(eu.w,{event:m}),f===r.QCR.Football&&(0,a.jsx)(ei.E,{event:m,hideCta:!0}),em.rt.includes(f)&&(0,a.jsx)(J.A,{event:m}),j&&(0,a.jsx)(P.A,{event:m}),(0,a.jsx)(er.A,{placement:g.Mx.DesktopEventPage,event:m}),f===r.QCR.Tennis&&(0,a.jsx)(eb.J,{}),f===r.QCR.Tennis&&p&&(0,a.jsx)(ew.p,{}),(0,a.jsx)(U,{}),(eA||e_)&&(0,a.jsx)(z.eO,{event:m}),eI&&(0,a.jsx)(T.A,{persist:!0,children:(0,a.jsx)(O.default,{})}),eH&&(0,a.jsx)(eC.default,{}),!N&&eL&&(0,a.jsx)(eh.LiveActionWidgetContainer,{eventId:m.id,modal:!0,children:(0,a.jsx)(Q.f9,{eventId:m.id,isLive:v})}),(0,a.jsx)(V.dq,{eventId:m.id}),_&&(0,a.jsx)(q.default,{showHeader:!0,ref:K}),(0,a.jsx)(eg.s,{eventId:m.id}),(0,a.jsx)(ea.Y,{utId:null==(i=m.tournament.uniqueTournament)?void 0:i.id,location:b.XN.EventScreen,bgImageUrl:[r.cWY.image(h.id),r.cWY.image(x.id)]}),f!==r.QCR.MMA&&(0,a.jsx)(en.d,{eventId:m.id,type:r.IAy.Event,startTimestamp:m.startTimestamp}),f===r.QCR.MMA&&(0,a.jsx)(T.A,{persist:!0,children:(0,a.jsx)(D.A,{homeTeam:m.homeTeam,awayTeam:m.awayTeam})}),(0,a.jsx)(ee._,{page:{location:b.XN.EventScreen,entity:m}}),(0,a.jsx)(ex.W,{event:m,showTournamentInfo:j}),ez&&(0,a.jsx)(ed.x,{eventId:m.id,leftTeam:h,rightTeam:x}),(0,a.jsx)(F.pk,{utIds:[null==(l=m.tournament.uniqueTournament)?void 0:l.id]}),(null==(d=m.eventEditor)?void 0:d.name)&&(0,a.jsx)(R.s,{}),(0,a.jsx)(G.K,{provider:w})]})}var e_=n(90248),eH=n(33752),eI=n(98449),eM=n(13266),eT=n(52951),eR=n(47530),eL=n(27289),ez=n(94604),eP=n(7309);let eE=e=>{var t;let{event:n,sport:r,children:s}=e;return u.tt.includes(r)||!n.tournament.uniqueTournament?(0,a.jsx)(eM.O5,{tournament:n.tournament,children:s}):(0,a.jsx)(eM.tQ,{tournament:n.tournament.uniqueTournament,seasonId:null==(t=n.season)?void 0:t.id,children:s})},eF=(0,o.memo)(e=>{let{event:t,leftTeam:n,rightTeam:s}=e,{meta:i,seoContent:l}=(0,o.useContext)(eT.xV),d=t.tournament.category.sport.slug,c=d===r.QCR.Football,m=d===r.QCR.Tennis,h=(0,eP.w)(t.tournament);return(0,a.jsxs)(eH.B,{children:[(0,a.jsx)(eH.B.Item,{children:(0,a.jsx)(eM.di,{translatedParams:{sport:d},children:(0,a.jsx)(eL.o,{sportSlug:d})})}),!u.tt.includes(d)&&(0,a.jsx)(eH.B.Item,{children:(0,a.jsx)(eM.Z6,{category:t.tournament.category,children:(0,a.jsx)(eI.m,{...t.tournament.category,uniqueTournament:t.tournament.uniqueTournament})})}),(0,a.jsx)(eH.B.Item,{children:(0,a.jsxs)(eE,{event:t,sport:d,children:[h,t.roundInfo&&(0,a.jsxs)("span",{children:[", ",(0,a.jsx)(eR.DT,{round:t.roundInfo})]})]})}),(0,a.jsx)(eH.B.Title,{children:(null==l?void 0:l.heading)||(null==i?void 0:i.title)||(0,a.jsx)(e_.A,{id:c?"headerTitle.event-v3":m?"headerTitle.event.tennis":"headerTitle.event",values:{home:(0,a.jsx)("bdi",{children:(0,a.jsx)(ez.Rm,{team:n})}),away:(0,a.jsx)("bdi",{children:(0,a.jsx)(ez.Rm,{team:s})})}})})]})},(e,t)=>e.event.id===t.event.id&&e.leftTeam===t.leftTeam&&e.rightTeam===t.rightTeam);var eB=n(76356),eO=n(99064),eV=n(71024),eD=n.n(eV),eW=n(24985),eQ=n(69559),eG=n(37655);let eK=()=>{let e=(0,eQ.o)();return(0,a.jsxs)(C.Zp,{children:[(0,a.jsx)(C.Zp.Header,{titleId:e===r.QCR.Cricket?"squad":eG.bU.includes(e)?"boxScore":"players",values:{gender:r.YT8.Male},as:"h2"}),(0,a.jsx)("div",{style:{width:687}})]})},eN=eD()(()=>Promise.resolve().then(n.bind(n,16206)),{loadableGenerated:{webpack:()=>[16206]},loading:()=>(0,a.jsx)(eK,{})}),e$=eD()(()=>n.e(64155).then(n.bind(n,64155)),{loadableGenerated:{webpack:()=>[64155]},loading:()=>(0,a.jsx)(eK,{})});function eU(){let{event:e}=(0,o.useContext)(c.y$),t=e.tournament.category.sport,{lineups:n,isLoading:s}=(0,eW.Ir)({jerseyStyle:"fancy"});return!n||s?null:(0,a.jsx)(eO.tU.Panel,{tabKey:S.x.BoxScore,children:t.slug===r.QCR.Rugby?(0,a.jsx)(eB.az,{roundedBottom:"lg",overflow:"hidden",mb:"md",children:(0,a.jsx)(e$,{})}):(0,a.jsx)(eN,{lineups:n})})}let eY=eD()(()=>n.e(37819).then(n.bind(n,37819)),{loadableGenerated:{webpack:()=>[37819]},ssr:!1,loading:()=>(0,a.jsx)(eB.az,{h:"[935px]"})});function eq(){return(0,a.jsx)(eO.tU.Panel,{tabKey:S.x.Games,children:(0,a.jsx)(eY,{})})}let eZ=eD()(()=>Promise.all([n.e(31254),n.e(76097),n.e(56650)]).then(n.bind(n,91013)),{loadableGenerated:{webpack:()=>[91013]},ssr:!1,loading:()=>(0,a.jsx)(eB.az,{h:"[1280px]"})});function eX(){let e=(0,eQ.o)();return(0,a.jsx)(eO.tU.Panel,{tabKey:e===r.QCR.MMA?S.x.Fights:S.x.Matches,children:(0,a.jsx)(eZ,{})})}var eJ=n(42360);let e0=eD()(()=>Promise.all([n.e(14591),n.e(4824),n.e(71387)]).then(n.bind(n,73003)),{loadableGenerated:{webpack:()=>[73003]},loading:()=>(0,a.jsx)(eJ.A,{})});function e1(){let{event:e}=(0,o.useContext)(c.y$),t=e.tournament.uniqueTournament,{sport:n}=e.tournament.category;return t&&e.season&&e.tournament.competitionType===r.wGu.Cup?(0,a.jsx)(eO.tU.Panel,{tabKey:S.x.Knockout,children:(0,a.jsx)(e0,{uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:e.season.id,sport:n.slug})}):null}let e2=eD()(()=>Promise.resolve().then(n.bind(n,22088)),{loadableGenerated:{webpack:()=>[22088]},ssr:!1,loading:()=>(0,a.jsx)(eW.Vj,{})});function e9(){let{event:e}=(0,o.useContext)(c.y$),t=e.tournament.category.sport.slug,n=eG.Bx.includes(t)&&!!e.hasEventPlayerStatistics;return(0,a.jsx)(eO.tU.Panel,{tabKey:S.x.Lineups,children:(0,a.jsx)(e2,{showPlayerStatistics:n})})}var e4=n(51372),e5=n(42078),e3=n(31215),e8=n(10234),e6=n(59754);let e7=(0,o.createContext)(20),te=eD()(()=>Promise.all([n.e(56591),n.e(14632),n.e(26618),n.e(73231),n.e(70986),n.e(89423)]).then(n.bind(n,29814)),{loadableGenerated:{webpack:()=>[29814]},ssr:!1,loading:()=>(0,a.jsx)(e7.Consumer,{children:e=>(0,a.jsx)(e5.d,{isInlineLayout:!0,noSeasonPicker:!0,numberOfRows:e})})});function tt(e){let{numberOfStandingsRows:t}=e,{event:n,leftTeam:r,rightTeam:s}=(0,o.useContext)(c.y$),i=(0,e6.Z)(n,"standings");return(0,a.jsxs)(eO.tU.Panel,{tabKey:S.x.Standings,children:[i&&(0,a.jsx)(e4.O,{entityId:n.id,branding:i,bannerText:i.standingsText,location:"event_standings"}),!!n.season&&(0,a.jsx)(e7.Provider,{value:null!=t?t:20,children:(0,a.jsx)(te,{isInlineLayout:!0,tournamentId:n.tournament.id,seasonId:n.season.id,homeTeamId:r.id,awayTeamId:s.id,Header:e=>{var t;let{title:r}=e;return(0,a.jsx)(e3.A,{tournamentId:n.tournament.id,tournamentName:null!=r?r:(0,a.jsx)(e8.J,{tournament:n.tournament}),uniqueTournamentId:null==(t=n.tournament.uniqueTournament)?void 0:t.id})},loaderNumberOfRows:t,hasPerformanceGraphFeature:!0})})]})}let tn=()=>(0,a.jsx)(eB.az,{h:"[1000px]"}),ta=eD()(()=>Promise.all([n.e(66213),n.e(15868),n.e(48978)]).then(n.bind(n,59513)),{loadableGenerated:{webpack:()=>[59513]},ssr:!1,loading:()=>(0,a.jsx)(eB.az,{h:"[864px]"})}),tr=eD()(()=>Promise.resolve().then(n.bind(n,36142)),{loadableGenerated:{webpack:()=>[36142]},ssr:!1,loading:()=>(0,a.jsx)(tn,{})}),ts=eD()(()=>n.e(35410).then(n.bind(n,35410)),{loadableGenerated:{webpack:()=>[35410]},ssr:!1,loading:()=>(0,a.jsx)(tn,{})}),ti=eD()(()=>Promise.all([n.e(33268),n.e(68595)]).then(n.bind(n,68595)),{loadableGenerated:{webpack:()=>[68595]},ssr:!1,loading:()=>(0,a.jsx)(tn,{})}),tl=()=>{let e=(0,eQ.o)(),{event:t}=(0,o.useContext)(c.y$);if(t.status.type===r.XUj.NotStarted)return(0,a.jsx)(ta,{});switch(e){case r.QCR.MMA:return(0,a.jsx)(tr,{});case r.QCR.Cricket:return(0,a.jsx)(ts,{});default:return(0,a.jsx)(ti,{})}};function to(){return(0,a.jsx)(eO.tU.Panel,{tabKey:S.x.Statistics,children:(0,a.jsx)(tl,{})})}var td=n(9088),tc=n(59721),tu=n(28349),tm=n(54409),th=n(8973),tx=n(39969),tp=n(2974),tv=n(6244),tg=n(67628),tf=n(52695),tj=n(80908),ty=n(48553),tb=n(41698);function tC(e){var t,n;let{channelId:s,type:i,eventId:l}=e,{data:o,isValidating:d}=(0,M.Ay)(r.RMf.eventChannelVotes(s,i,l));if(d)return(0,a.jsx)(eB.az,{h:"2xl",pb:"2xs"});if(!o)return null;let c=o.tvChannelVotes.tvChannel.name,u=null!=(t=o.tvChannelVotes.upvote)?t:0,m=null!=(n=o.tvChannelVotes.downvote)?n:0;return(0,a.jsxs)(eB.so,{direction:"row",align:"center",gap:"lg",children:[(0,a.jsx)(tm.ft6,{fill:"onSurface.nLv3",w:16,h:16}),(0,a.jsxs)(eB.so,{direction:"column",gap:"2xs",children:[(0,a.jsx)(tu.EY,{children:c}),(0,a.jsxs)(eB.so,{gap:"xs",children:[(0,a.jsxs)(eB.so,{align:"center",gap:"xs",children:[(0,a.jsx)(tm.URl,{fill:"success.default"}),(0,a.jsx)(tu.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:u})]}),(0,a.jsxs)(eB.so,{align:"center",gap:"xs",children:[(0,a.jsx)(tm.fHS,{fill:"error.default"}),(0,a.jsx)(tu.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:m})]})]})]})]})}function tw(e){let{channelIds:t,type:n,eventId:s}=e,i=(0,d.A)(),l=t.length>1,o=t.length-1,[c,...u]=t,{data:m}=(0,M.Ay)(r.RMf.eventChannelVotes(c,n,s));return m?(0,a.jsxs)(eB.so,{align:"center",gap:"xs",px:"sm",children:[(0,a.jsxs)(eB.so,{align:"center",gap:"xs",children:[(0,a.jsx)(tm.ft6,{fill:"onSurface.nLv3",w:16,h:16}),(0,a.jsx)(tu.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:m.tvChannelVotes.tvChannel.name})]}),l&&(0,a.jsx)(eO.AM,{closeOnOutsideClick:!0,trigger:(0,a.jsx)(eB.I4.button,{"aria-label":i.formatMessage({id:"show_more"}),p:"xs",br:"lg",cursor:"pointer",_hover:{bg:"surface.s2"},_active:{bg:"surface.s0"},children:(0,a.jsx)(eB.so,{bg:"action.primary.default",br:"md",h:"lg",px:"sm",children:(0,a.jsxs)(tu.EY,{textStyle:"assistive.default",color:"surface.s1",children:["+",o]})})}),children:(0,a.jsx)(eB.az,{position:"absolute",zIndex:"popover",top:"xl",right:"0",w:"[200px]",children:(0,a.jsxs)(eB.so,{direction:"column",gap:"lg",elevation:"3",bg:"surface.sp",br:"sm",p:"lg",children:[(0,a.jsx)(tu.EY,{textStyle:"display.small",children:(0,a.jsx)(e_.A,{id:"tv_channels"})}),(0,a.jsx)(eB.so,{direction:"column",gap:"lg",children:u.map(e=>(0,a.jsx)(tC,{channelId:e,type:n,eventId:s},e))})]})})})]}):null}function tk(e){let{eventId:t,type:n}=e,s=(0,I.d4)(es.LQ),{data:i}=(0,M.Ay)(s?r.RMf.eventCountryChannels(n,t):null);if(!s||!i)return null;let l=i.countryChannels[s];return s in i.countryChannels&&(null==l?void 0:l.length)?(0,a.jsx)(tw,{channelIds:l,type:n,eventId:t}):null}var tS=n(81424);let tA=()=>{let{event:e,leftTeam:t,rightTeam:n}=(0,o.useContext)(c.y$),s=e.tournament.uniqueTournament,i=e.venue,l=e.status.type===r.XUj.NotStarted,d=l&&!!e.finalResultOnly;return(0,a.jsx)(C.Zp,{children:(0,a.jsxs)(eB.az,{children:[(0,a.jsxs)(eB.so,{position:"absolute",top:"lg",right:"lg",gap:"lg",children:[(0,a.jsx)(tx.h,{id:e.id,type:th.b.Event,location:th.y.Header,tournament:e.tournament,leftTeam:t,rightTeam:n,menuPosition:"bottom",isInDesktopHeader:!0}),(0,a.jsx)(ty.Y,{isInDesktopHeader:!0}),l&&!d&&(0,a.jsx)(tj.A,{name:"".concat(e.homeTeam.name," - ").concat(e.awayTeam.name),startDate:e.startTimestamp,isClickable:!0,children:(0,a.jsx)(tu.D7,{children:(0,a.jsx)(tm.E8x,{style:{width:24,height:24}})})})]}),(0,a.jsx)(eB.az,{pt:"sm",children:(0,a.jsx)(tS.A,{isWide:!0,disableFollow:!0})}),(0,a.jsxs)(eB.so,{justify:"center",px:"lg",pb:"md",pt:"sm",children:[(0,a.jsx)(tb.g,{isInDesktopHeader:!0}),s&&(0,a.jsx)(eM.tQ,{tournament:s,children:(0,a.jsxs)(eB.so,{gap:"xs",align:"center",_hover:{bg:"surface.s2"},px:"sm",py:"xs",br:"lg",children:[(0,a.jsx)(tc.e,{id:s.id,size:16}),(0,a.jsx)(tu.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:(0,a.jsx)(tf.O,{uniqueTournament:s})})]})}),(null==i?void 0:i.stadium.name)&&(0,a.jsx)(tp.A,{venue:i,children:(0,a.jsxs)(eB.so,{gap:"xs",align:"center",_hover:{bg:i.hidden?void 0:"surface.s2"},px:"sm",py:"xs",br:"lg",children:[(0,a.jsx)(tm.fRZ,{fill:"onSurface.nLv3",w:"16px",h:"16px"}),(0,a.jsx)(tu.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:i.stadium.name})]})}),e.groundType&&(0,a.jsxs)(eB.so,{gap:"xs",align:"center",px:"sm",py:"xs",br:"lg",children:[(0,a.jsx)(tv.l,{w:"lg",h:"lg",groundType:e.groundType}),(0,a.jsx)(tu.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:(0,a.jsx)(tg.n,{id:e.groundType})})]}),(0,a.jsx)(tk,{eventId:e.id,type:r.IAy.Event})]})]})})};var t_=n(55584);let tH=eD()(()=>Promise.all([n.e(97871),n.e(75771)]).then(n.bind(n,75771)),{loadableGenerated:{webpack:()=>[75771]},ssr:!1,loading:()=>(0,a.jsx)(eB.az,{h:"[1000px]"})});function tI(){return(0,a.jsx)(eO.tU.Panel,{tabKey:S.x.Scorecard,children:(0,a.jsx)(tH,{})})}let tM=[r.QCR.Football,r.QCR.Basketball];function tT(e,t,n,a,s){let i=!!n&&!!a&&!!s;return e===r.QCR.Basketball?i?r.cWY.seasonRanks(t,n,a,s):void 0:i?r.cWY.seasonStatistics(t,n,a,s):a?r.cWY.yearStatistics(t,String(a)):void 0}let tR=()=>{var e,t;let n=(0,eQ.o)(),{event:a,leftTeam:s,rightTeam:i}=(0,o.useContext)(c.y$),l=null==(e=a.tournament.uniqueTournament)?void 0:e.id,d=null==(t=a.season)?void 0:t.id,u=a.seasonStatisticsType,m=a.status.type===r.XUj.NotStarted&&tM.includes(n),h=!!l&&!!d&&!!u,x=tT(n,s.id,l,d,u),p=tT(n,i.id,l,d,u),{hasLeftStatistics:v,hasRightStatistics:g,hasLeftTopPlayers:f,hasRightTopPlayers:j}=(0,_.A)({hasLeftStatistics:{route:x,skipCheck:!m},hasRightStatistics:{route:p,skipCheck:!m},hasLeftTopPlayers:{route:h?r.cWY.topPlayers(s.id,l,d,u):void 0,skipCheck:!m},hasRightTopPlayers:{route:h?r.cWY.topPlayers(i.id,l,d,u):void 0,skipCheck:!m}},[a.id,h]);return!!v&&!!g&&!!f&&!!j};function tL(e){var t;let{activeTab:n,setActiveTab:s,initialStandingsProperties:i}=e,l=(0,o.useContext)(c.y$),{event:d,leftTeam:m,rightTeam:h}=l,x=d.tournament.category.sport,p=d.tournament.category.sport.slug,v=p===r.QCR.MMA,{hasWinProbability:f}=(0,_.A)({hasWinProbability:{route:r.bnp.winProbability(d.id),skipCheck:d.status.type!==r.XUj.InProgress}}),{hasGamesTab:j,hasBoxScoreTab:y,hasLineupsTab:b,hasStatisticsTab:H,hasScorecardTab:I,hasCommentaryTab:M,hasCricketIncidents:T,hasKnockoutTab:R,hasStandingsTab:L,hasBasketballPregameTopPlayers:z}=(0,t_.A)(d),P=tR(),E=!!H||!!T||!!f||P,F=[{tabKey:S.x.Games,item:"games",values:{sport:r.QCR.ESports},isHidden:!j},{tabKey:S.x.Scorecard,item:"cricket.scorecard",isHidden:!I},{tabKey:S.x.BoxScore,item:"boxScore",isHidden:!y},{tabKey:S.x.Lineups,item:p===r.QCR.Cricket?"squads":"lineups",isHidden:!b||z},{tabKey:S.x.Statistics,item:"statistics",isHidden:!E},{tabKey:S.x.Standings,item:"app.standings",isHidden:!L},{tabKey:v?S.x.Fights:S.x.Matches,item:v?"fights_mma":"head_to_head_short",values:v?void 0:{sport:(0,A.ap)(p)}},{tabKey:S.x.Knockout,item:"knockout",isHidden:!R}],B=F.some(e=>!e.isHidden&&e.tabKey===n)?n:null==(t=F.find(e=>!e.isHidden))?void 0:t.tabKey;return(0,a.jsx)(c.Ws.Provider,{value:x.slug,children:(0,a.jsxs)(c.y$.Provider,{value:{...l,location:c.cb.EventPage},children:[(0,a.jsx)(eF,{event:d,leftTeam:m,rightTeam:h}),(0,a.jsx)(tA,{}),(0,a.jsxs)(w.xA,{py:"md",gap:"md",children:[(0,a.jsxs)(w.fv,{flexGrow:1,children:[(0,a.jsx)(eA,{hasCommentary:!!M}),(0,a.jsx)(g.Aq,{route:u.xW.Event})]}),(0,a.jsxs)(w.fv,{flexGrow:2,children:[(0,a.jsx)(C.Zp,{children:B&&(0,a.jsx)(C.WC,{variant:"square",children:(0,a.jsxs)(k.A,{id:d.id,location:k.C.EventPage,eventStatusType:d.status.type,initialTabKey:B,tabs:F,customControls:[B,s],children:[j&&(0,a.jsx)(eq,{}),I&&(0,a.jsx)(tI,{}),y&&(0,a.jsx)(eU,{}),b&&(0,a.jsx)(e9,{}),E&&(0,a.jsx)(to,{}),L&&(0,a.jsx)(tt,{numberOfStandingsRows:null==i?void 0:i.numberOfRows}),(0,a.jsx)(eX,{}),R&&(0,a.jsx)(e1,{})]})})}),(0,a.jsx)(td.I,{event:d})]})]})]})})}var tz=n(70115),tP=n(58336),tE=n(62102),tF=n(58074),tB=n(59455),tO=n(51883),tV=n(36614),tD=n(8718),tW=n(42917),tQ=n(1584),tG=n(91941),tK=n(55862),tN=n(90890),t$=n(94041),tU=n(15328),tY=n(59280),tq=n(17247),tZ=n(9536),tX=n(32344);function tJ(e){let{activeTab:t,setActiveTab:n}=e,{event:s,leftTeam:i,rightTeam:l}=(0,o.useContext)(c.y$),d=s.tournament.category.sport.slug,u=s.status.type===r.XUj.InProgress,m=d===r.QCR.Football,h=d===r.QCR.MMA,x=d===r.QCR.Basketball,p=(0,eS.BC)(s.status),{hasCricketIncidents:v,hasScorecardTab:f,hasOversTab:j,hasGraphsTab:y,hasCommentaryTab:b,hasGamesTab:C,hasBoxScoreTab:w,hasLineupsTab:_,hasStatisticsTab:H,hasPlayByPlayTab:I,hasStandingsTab:M,hasMatchesTab:T,hasFeaturedOdds:R,hasAdditionalOddsTab:L,hasWinningOdds:z,hasFeaturedOddsTab:P,hasMediaTab:E,isSpecialEsports:F,hasRecommendedPrematchOdds:B,hasKnockoutTab:O,hasAiInsights:V}=(0,t_.A)(s),D=[{tabKey:S.x.Details,item:"details"},{tabKey:S.x.AiInsights,item:"tab_ai_insights",isHidden:!V},{tabKey:S.x.AdditionalOdds,item:"odds",isHidden:!L||p},{tabKey:S.x.Games,item:"games",values:{sport:r.QCR.ESports},isHidden:!C},{tabKey:S.x.Overs,item:"cricket.overs",isHidden:!j},{tabKey:S.x.Scorecard,item:"cricket.scorecard",isHidden:!f},{tabKey:S.x.Commentary,item:"commentary",isHidden:!b||m||x},{tabKey:S.x.BoxScore,item:"boxScore",isHidden:!w},{tabKey:S.x.Lineups,item:d===r.QCR.Cricket?"squads":"lineups",isHidden:!_},{tabKey:S.x.Statistics,item:"statistics",isHidden:!H},{tabKey:S.x.Commentary,item:"commentary",isHidden:!b||!m&&!x},{tabKey:S.x.PlayByPlay,item:"cricket.pbp",isHidden:!I},{tabKey:S.x.Standings,item:"app.standings",isHidden:!M},{tabKey:S.x.Graphs,item:"graphs",isHidden:!y},{tabKey:h?S.x.Fights:S.x.Matches,item:h?"fights_mma":"matches",values:h?void 0:{sport:(0,A.ap)(d)},isHidden:!T},{tabKey:S.x.Knockout,item:"knockout",isHidden:!O},{tabKey:S.x.FeaturedOdds,item:"featured_odds",isHidden:!P},{tabKey:S.x.Media,item:"media",isHidden:!E},{tabKey:S.x.AdditionalOdds,item:"odds",isHidden:!L||!p}];return(0,a.jsxs)(c.Ws.Provider,{value:d,children:[(0,a.jsxs)(eB.az,{bg:"surface.s1",children:[(0,a.jsx)(eF,{event:s,leftTeam:i,rightTeam:l}),(0,a.jsx)(tZ.g,{})]}),(0,a.jsxs)(k.A,{id:s.id,location:k.C.EventPage,eventStatusType:s.status.type,initialTabKey:t,tabs:D,customControls:[t,n],children:[(0,a.jsx)(tB.A,{isInsideEventWidget:!1,isSpecialEsports:F,hasStandings:!!M,hasCricketIncidents:v,hasFeaturedOdds:R,hasWinningOdds:z,hasMediaTab:E,onFeaturedOddsClick:()=>n(S.x.FeaturedOdds),onBestPlayersClick:()=>n(w?S.x.BoxScore:S.x.Lineups),onPrematchStandingsClick:()=>n(S.x.Standings),onSeeAllStatisticsClick:()=>n(S.x.Statistics),onHighlightShortcutClick:()=>n(S.x.Media)}),V&&(0,a.jsx)(tX.A,{event:s}),L&&(0,a.jsx)(tP.A,{}),C&&(0,a.jsx)(tV.A,{}),j&&(0,a.jsx)(tK.A,{}),f&&(0,a.jsx)(t$.A,{event:s}),w&&(0,a.jsx)(tE.A,{}),_&&(0,a.jsx)(tW.A,{}),H&&(0,a.jsx)(tY.A,{event:s}),I&&(0,a.jsx)(tN.A,{}),M&&(0,a.jsx)(tU.A,{event:s,leftTeamId:i.id,rightTeamId:l.id}),y&&(0,a.jsx)(tD.A,{tabKey:S.x.Graphs}),b&&d!==r.QCR.IceHockey&&(0,a.jsx)(tF.A,{}),(0,a.jsx)(tQ.A,{}),O&&s.tournament.uniqueTournament&&s.season&&(0,a.jsx)(tz.A,{uniqueTournament:s.tournament.uniqueTournament,seasonId:s.season.id,sport:d}),P&&(0,a.jsx)(tO.A,{hasRecommendedPrematchOdds:B}),E&&(0,a.jsx)(tG.A,{event:s,isLive:u})]}),(0,a.jsx)(eB.az,{mb:"sm",children:(0,a.jsx)(tq.i,{id:g.Rj.MOBILE_EVENT_BOTTOM})})]})}var t0=n(73624);function t1(e){var t;let{activeTab:n,setActiveTab:r,initialStandingsProperties:s}=e,{event:i}=(0,o.useContext)(c.y$),l=i.tournament.category.sport;return(0,a.jsx)(c.Ws.Provider,{value:l.slug,children:(0,a.jsxs)(t0.Hy,{eventId:i.id,children:[(0,a.jsx)(f.$B,{children:(0,a.jsx)(tJ,{activeTab:n,setActiveTab:r})}),(0,a.jsx)(f.h6,{children:(0,a.jsx)(g.JR,{route:u.xW.Event,children:(0,a.jsx)(tL,{activeTab:n,setActiveTab:r,initialStandingsProperties:s})})}),(0,a.jsx)(y.S,{utId:null==(t=i.tournament.uniqueTournament)?void 0:t.id,location:b.XN.EventScreen}),(0,a.jsx)(j.N,{page:{location:b.XN.EventScreen,entity:i}})]})})}var t2=n(81278),t9=n(30479);let t4={event_details:S.x.Details,event_lineups:S.x.Lineups,event_statistics:S.x.Statistics},t5=e=>{switch(e){case"a":return"android";case"i":return"ios";case"w":return"web";default:return}},t3=e=>{switch(e){case"ed":return"event_details";case"el":return"event_lineups";case"es":return"event_statistics";default:return}},t8=(e,t,n)=>{switch(t){case"s":e.source=t5(n);return;case"id":e.id=Number(n);return;case"c":e.category=t3(n);return;default:return}},t6=(e,t)=>{e.replace("share:","").split(",").forEach(e=>{let n=e.split(":");2===n.length&&t8(t,n[0],n[1])})},t7=e=>{let t=!!(0,t2.useRouter)().query.sport,n={name:e.slug,id:e.customId};t&&(n.sport=(0,eS.c5)(e));let[a,r]=(0,t9.Ay)({routeKey:u.xW.Event,params:n}),s=(null==a?void 0:a.id)&&!Number.isNaN(null==a?void 0:a.id)?a.id:e.id,[i,l]=(0,o.useState)();return(0,o.useEffect)(()=>{let e=window.location.hash.replace("#",""),t={};e.startsWith("share:")&&(t6(e,t),l(t)),t.id&&r("id",t.id.toString())},[]),{eventId:s,setEventId:e=>r("id",e.toString()),shareInfo:i,setShareInfo:l,activeTab:(null==a?void 0:a.tab)||S.x.Details,setActiveTab:e=>r("tab",e)}};var ne=n(26331),nt=n(73088),nn=n(72653),na=n(70389),nr=n(99736),ns=n(25862),ni=n(65097);let nl=[r.QCR.AmericanFootball,r.QCR.Cricket,r.QCR.Football,r.QCR.Baseball,r.QCR.Basketball,r.QCR.TableTennis,r.QCR.IceHockey,r.QCR.Handball,r.QCR.Volleyball,r.QCR.MMA];function no(e){var t,n,i,u,g;if("error"in e)return(0,a.jsx)(ni.default,{statusCode:404});let f=(0,d.A)(),{eventId:j,setEventId:y,shareInfo:C,setShareInfo:w,activeTab:k,setActiveTab:S}=t7(e.event),{event:A}=(0,p.A)(j,{shouldRefresh:!0,onFetchError:()=>y(e.event.id)}),_=(null==A?void 0:A.customId)===e.event.customId?A:e.event,[H,I]=(0,v.A)(_,"homeTeam","awayTeam",_),[M,T]=(0,v.A)(_,"homeScore","awayScore",_);(0,o.useEffect)(()=>{if(A&&((0,b.l3)(A.id,A.status.type),C&&C.id&&C.category&&C.source)){t4[C.category]&&S(t4[C.category]),w(void 0);try{sessionStorage.setItem(x.IE,"share")}catch(e){}}},[null==A?void 0:A.id]);let{customId:R,slug:L,homeTeam:z,awayTeam:P,tournament:E,startTimestamp:F}=_,B=(0,ne.A)(),O=z.name,V=P.name,D=_.venue,W=f.formatDate((0,s.pp)(F,!0),{...s.or.dateWithShortMonth}),Q=f.formatTime((0,s.pp)(F,!0)),G=_.tournament.category.sport.slug,K=G===r.QCR.Football,N=G===r.QCR.ESports,$=null==(t=E.category.alpha2)?void 0:t.toLowerCase(),U=null==(i=z.country)||null==(n=i.alpha2)?void 0:n.toLowerCase(),Y=null==(g=P.country)||null==(u=g.alpha2)?void 0:u.toLowerCase(),q=_.isEditor?!(0,m.N)(null!=$?$:U&&Y&&U===Y?U:"",B):(0,h.v)(G,B),Z=nt.z.getTranslatedCanonicalRoute(B,"event",{id:R,name:L,sport:G}).route,X={item:"".concat(_.homeTeam.name," ").concat(_.awayTeam.name),homeTeamName:O,awayTeamName:V,home:O,away:V,startDate:W,startTime:Q,tournamentName:E.name,categoryName:E.category.name,hasVenue:!!D,year:new Date(1e3*_.startTimestamp).getFullYear(),...(0,eS.Ee)(D)},J="event",ee="livescore";return["fr","it"].includes(B)&&K&&(J="event-v2"),K&&(ee="livescore-v3"),N&&(J="event-esports",ee="livescore-esports"),(0,a.jsxs)(eT.an,{value:{meta:e.meta,eventMeta:e.eventMeta,seoContent:e.seoContent},children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(Z)}),(0,a.jsx)("link",{rel:"alternate",href:"android-app://com.sofascore.results/https/www.sofascore.com/event/".concat(_.id)}),(0,a.jsx)("meta",{property:"og:image",content:r.bnp.shareDetailsImage("16x9",_.id)}),(0,a.jsx)("meta",{property:"og:image:width",content:"2130"}),(0,a.jsx)("meta",{property:"og:image:height",content:"1200"}),q&&(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,a.jsx)(nn.A,{event:_}),(0,a.jsx)(eT.Ay,{metaKey:J,titleKey:ee,keywordsKey:"sport",values:X}),(0,a.jsx)(c.y$.Provider,{value:{event:_,leftTeam:H,rightTeam:I,leftScore:M,rightScore:T,location:c.cb.EventPage,initialIncidents:e.incidents,initialHasLineups:e.initialHasLineups},children:(0,a.jsx)(t1,{activeTab:k,setActiveTab:S,initialStandingsProperties:e.initialStandingsProperties})})]})}no.getInitialProps=nr.Ay.getInitialPageProps(e=>async t=>{let{query:a,req:s,res:i,...l}=t,o=s?s._originalUrl:l.asPath,d=nt.z.getCurrentLocale(o),c=s&&s.params?s.params:a,m=c.id;try{var h,x,p;let t,a=Number(null==(h=(0,t9.JT)(o))?void 0:h.id);(!a||Number.isNaN(a))&&(a=Number((await r.nk6.fetchCurrentlyRelevantEvent(m)).currentlyRelevantEvent.id));let[s,l,v,g,f,j]=await Promise.allSettled([r.nk6.fetchEvent(a),r.sdF.getEntityMeta(r.wNW.Event,m,d),r.nk6.fetchH2HMeta(a),nl.includes(c.sport)?r.sdF.getSeoContent(r.wNW.Event,a,d):Promise.reject(),r.nk6.hasLineups(a),r.nk6.fetchEventIncidents(a)]),y="fulfilled"===s.status?s.value.event:void 0;if(!y)throw Error();let b="fulfilled"===l.status?l.value.entityMeta:void 0,C="fulfilled"===v.status?v.value.meta:void 0,w="fulfilled"===g.status?g.value.content:void 0,k="fulfilled"===f.status?f.value:void 0,S="fulfilled"===j.status&&(null==(x=j.value.incidents)?void 0:x.length)?j.value.incidents:void 0,A=y.tournament.category.sport.slug;if(i&&(y.slug!==c.name||A!==c.sport)&&(i.writeHead(301,{Location:nt.z.getTranslatedRoute(d,"event",{id:y.customId,name:y.slug,sport:A}).route}),i.end()),i&&!u.Hk.includes(A))throw Error("Unsupported sport");if(u.so.includes(A))throw Error("Stage sports do not have event page!");try{t=await r.nk6.fetchStandingsProperties(y.tournament.id,null==(p=y.season)?void 0:p.id)}catch(e){}let _=(0,r.S$s)(),H=(await n.e(81088).then(n.t.bind(n,81088,19))).default;return e.dispatch((0,na.Od)(H)),e.dispatch((0,ns.Vy)(A)),{event:y,meta:b,eventMeta:C,seoContent:w,initialHasLineups:k,revalidate:_,incidents:S,initialStandingsProperties:t}}catch(e){return i&&(i.statusCode=404),{error:e}}})},27601:(e,t,n)=>{n.d(t,{B:()=>d,U:()=>o});var a=n(28349),r=n(79263),s=n(54988);let i=[{marketName:"Full time",choiceGroup:""},{marketName:"Double chance",choiceGroup:""}],l=(e,t,n)=>{let a={};null==e||e.forEach((e,n)=>{var r;null==(r=e.markets)||r.forEach(e=>{a[e.marketName]||(a[e.marketName]={});let r=e.choiceGroup||"";a[e.marketName][r]||(a[e.marketName][r]=[]);let s=a[e.marketName][r][n];s&&(s.isLive===t||e.isLive!==t)||(a[e.marketName][r][n]=e)})});let r=[];return Object.keys(a).forEach(e=>{Object.keys(a[e]).forEach(t=>{(!n||a[e][t].length>=n)&&r.push({marketName:e,choiceGroup:t})})}),{groupedOdds:a,availableMarkets:r}},o=(e,t,n)=>{var a;let{data:s,error:i,isLoading:o}=(0,r.j)(e,t,n),{groupedOdds:d,availableMarkets:c}=l(null==s?void 0:s.providerOdds,n);if(!c.length)return{odds:void 0,marketName:void 0,error:i,isLoading:o};let u=null!=(a=c.find(e=>"Full time"===e.marketName))?a:c[0];return{odds:d[u.marketName][u.choiceGroup],oddsMayDiffer:null==s?void 0:s.oddsMayDiffer,marketName:u.marketName,error:i,isLoading:o}},d=(e,t,n)=>{let{data:o,error:d,isLoading:c}=(0,r.j)(e,t,n),{isDesktopLarge:u}=(0,a.$c)(),{groupedOdds:m,availableMarkets:h}=l(null==o?void 0:o.providerOdds,n),x=i.filter(e=>h.find(t=>t.marketName===e.marketName&&t.choiceGroup===e.choiceGroup)).slice(0,u?2:1),p=new Set;return(x.length||c)&&(null==e?void 0:e.length)?(x.forEach(e=>{m[e.marketName][e.choiceGroup].forEach(e=>{e.choices.forEach(e=>{s.Vj.includes(e.name)&&p.add(e.name)})})}),{odds:null==e?void 0:e.map((e,t)=>x.map(e=>m[e.marketName][e.choiceGroup][t]).filter(Boolean)),markets:x,choiceNames:s.Vj.filter(e=>p.has(e)),error:d,isLoading:c}):{odds:void 0,markets:x,choiceNames:[],error:!0,isLoading:!1}}},29772:(e,t,n)=>{n.r(t),n.d(t,{getClampedShotActions:()=>l});var a=n(18130),r=n(43139);let s=(0,r.A)().domain([-250,250]).range([0,a.f7]),i=(0,r.A)().domain([-51,411]).range([0,a.IV]),l=e=>({clampedShotActions:e.map(e=>{let[t,n]=function(e){let t=s(e.x),n=i(e.y);return n>=a.IV-11&&(n=a.IV-8),t>=a.f7&&(t=a.f7-4),[t,n]}(e);return Object.assign(Object.assign({},e),{x:t,y:n})})})},34199:(e,t,n)=>{n.d(t,{eD:()=>s.e,l3:()=>r.l,pY:()=>a.p});var a=n(91603),r=n(37721),s=n(33480)},34851:(e,t,n)=>{n.d(t,{J:()=>a});var a=function(e){return e[e.SpecificRatingPlayer=0]="SpecificRatingPlayer",e[e.AverageRatingTeam=1]="AverageRatingTeam",e[e.AverageRating=2]="AverageRating",e[e.AverageRatingTeamLineups=3]="AverageRatingTeamLineups",e[e.AverageRatingPlayer=4]="AverageRatingPlayer",e}({})},36452:(e,t,n)=>{n.d(t,{b:()=>u,h:()=>l});var a=n(6029),r=n(21377),s=n(93338),i=n(50303);let l=e=>{let{x:t,y:n,type:i,color:l,isSelected:o,backgroundOpacity:d,opacity:c}=e,u=l&&s.S.var(l);return(0,a.jsxs)("g",{opacity:c,children:[(0,a.jsx)("circle",{cx:t,cy:n,r:o?8:6,stroke:u,strokeWidth:1,fill:o?"#fff":s.S.var("colors.homeAway.shotFill"),fillOpacity:d}),i===r.Dme.Made&&(0,a.jsx)("circle",{cx:t,cy:n,r:o?6:4,fill:u}),i===r.Dme.Saved&&(0,a.jsx)("circle",{cx:t,cy:n,r:o?3:2,fill:u}),i===r.Dme.Blocked&&(0,a.jsx)("rect",{x:t-4,y:n-1,width:8,height:2,fill:u})]})},o=e=>{let{x:t,y:n,color:r,opacity:i,isSelected:l}=e,o=r&&s.S.var(r);return l?(0,a.jsxs)("g",{transform:"translate(".concat(t-10," ").concat(n-10,")"),fill:"none",fillRule:"evenodd",children:[(0,a.jsx)("circle",{fill:"#fff",transform:"rotate(90 9.9 9.9)",cx:"9.899",cy:"9.899",r:"8"}),(0,a.jsx)("circle",{fill:o,cx:"9.899",cy:"9.899",r:"1.5"}),(0,a.jsx)("path",{stroke:o,strokeWidth:"1.5",d:"M11.667 8.132 14.85 4.95M4.95 14.85l3.182-3.183M4.95 4.95l3.182 3.182M11.667 11.667l3.182 3.182"}),(0,a.jsx)("path",{stroke:o,strokeWidth:"1.5",d:"M9.9 6.9v-4M9.9 16.9v-4M2.9 9.9h4M12.9 9.9h4"})]}):(0,a.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(".concat(t-8.5," ").concat(n-8.5,")"),opacity:i,children:[(0,a.jsx)("circle",{stroke:o,fillOpacity:i,fill:o,cx:"8.485",cy:"8.485",r:"1"}),(0,a.jsx)("path",{stroke:o,d:"m9.9 7.071 2.828-2.828M4.243 12.728 7.07 9.9M4.243 4.243 7.07 7.07M9.9 9.9l2.828 2.828"}),(0,a.jsx)("path",{stroke:o,d:"M8.485 5.985v-3M8.485 13.985v-3M2.985 8.485h3M10.985 8.485h3"})]})},d=e=>{let{x:t,y:n,color:r,opacity:i,isSelected:l}=e,o=l?10:9,d=r&&s.S.var(r);return(0,a.jsx)("path",{transform:"translate(".concat(t-o," ").concat(n-o,")"),d:l?"m16.02 6.121-3.888 3.888 3.889 3.89-2.122 2.122-3.889-3.89-3.889 3.89L4 13.899l3.89-3.89L4 6.121 6.121 4l3.89 3.888L13.898 4l2.122 2.121z":"M14.006 5.768 10.77 9l3.235 3.237-1.768 1.768-3.235-3.237-3.235 3.237L4 12.238 7.235 9 4 5.768 5.768 4l3.235 3.234L12.238 4l1.768 1.768z",fill:d,fillOpacity:i,fillRule:"evenodd"})},c=e=>{let{x:t,y:n,color:r,isSelected:i}=e,l=r&&s.S.var(r);return i?(0,a.jsxs)("g",{children:[(0,a.jsx)("circle",{fillOpacity:".15",fill:l,r:"8",cx:t,cy:n}),(0,a.jsx)("circle",{fill:l,r:"3",cx:t,cy:n}),(0,a.jsx)("circle",{fill:"#fff",r:"2",cx:t,cy:n})]}):null};function u(e){let t=(0,i.P7)(),n=e.isSelected?t:"colors.neutrals.nLv3",s=e.isSelected?1:.5;switch(e.type){case r.Dme.Made:case r.Dme.Saved:case r.Dme.Blocked:case r.Dme.Missed:return(0,a.jsx)(l,{...e,color:n,opacity:s,isSelected:e.isSelected});case r.Dme.Hit:return(0,a.jsx)(o,{...e,color:n,opacity:s,isSelected:e.isSelected});case r.Dme.Suspension:return(0,a.jsx)(d,{...e,color:n,opacity:s,isSelected:e.isSelected});case r.Dme.FaceOff:return(0,a.jsx)(c,{...e,color:n,opacity:s,isSelected:e.isSelected});default:return null}}},39979:(e,t,n)=>{n.r(t),n.d(t,{default:()=>A});var a=n(6029),r=n(34199),s=n(21377),i=n(28349),l=n(76356),o=n(55729),d=n(90510),c=n(45860),u=n(48683),m=n(62859),h=n(22648),x=n(58775),p=n(13266),v=n(1840),g=n(5546),f=n(80925),j=n(94604),y=n(10234),b=n(49821),C=n(85304),w=n(41618);let k=e=>{var t,n;let{team:s}=e,o=null==(t=s.subTeams)?void 0:t[0],d=null==(n=s.subTeams)?void 0:n[1];return(0,a.jsxs)(l.so,{direction:"column",align:"center",flex:"[1 0 0px]",overflow:"hidden",children:[o&&d?(0,a.jsxs)(l.so,{align:"center",justify:"center",gap:"[10px]",mb:"xs",children:[(0,a.jsx)(r.pY,{id:o.id,name:o.name,size:24},o.id),(0,a.jsx)(r.pY,{id:d.id,name:d.name,size:24},d.id)]}):(0,a.jsx)(r.pY,{id:s.id,name:s.name,size:24}),o&&d?[(0,a.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,a.jsx)(j.Rm,{team:o,short:!0})},o.id),(0,a.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,a.jsx)(j.Rm,{team:d,short:!0})},d.id)]:(0,a.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,a.jsx)(j.Rm,{team:s})})]})},S=e=>{let{provider:t,market:n,onClick:r}=e,{isMobile:s}=(0,i.$c)(),o=n.event;return(0,a.jsxs)(l.az,{bg:"surface.s1",p:"sm",children:[(0,a.jsx)(p.tj,{event:o,children:(0,a.jsxs)(l.so,{justify:"center",align:"center",_hover:{bg:"neutrals.nLv4"},cursor:"pointer",p:"xs",mb:"xs",br:"sm",children:[(0,a.jsx)(k,{team:o.homeTeam}),(0,a.jsxs)(l.so,{direction:"column",justify:"center",align:"center",mx:"md",flex:"[1 0 0px]",children:[(0,a.jsx)(i.EY,{textStyle:"display.medium",children:(0,a.jsx)(d.ib,{value:1e3*o.startTimestamp})}),(0,a.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,a.jsx)(d.XU,{value:1e3*o.startTimestamp})})]}),(0,a.jsx)(k,{team:o.awayTeam})]})}),(0,a.jsx)(l.az,{mb:"-xs",children:(0,a.jsx)(C.A,{selectedProvider:t,market:n,onClick:r,hideMarketName:!0,secondary:s})})]})},A=(0,o.forwardRef)((e,t)=>{var n,d;let{preferRecommendedPrematch:j,showHeader:C}=e,{event:k,location:A}=(0,o.useContext)(m.y$),{isMobile:_}=(0,i.$c)(),[H,I]=(0,o.useState)(!1),M=(0,g.F0)(k),[T]=(0,f.Z)(M),R=null==(n=k.tournament)?void 0:n.id,L=null==(d=k.tournament)?void 0:d.category.sport.slug,z=T&&R,P=A===m.cb.Widget,{data:E,error:F}=(0,c.Ay)(z?s.npy.recommendedPrematch(T,R):null),B=!j&&F&&T&&L,{data:O,error:V}=(0,c.Ay)(B?s.npy.recommendedPrematchTopVoted(T,L):null),D=E||O,W=(0,o.useMemo)(()=>{let e=null==D?void 0:D.odds.filter(e=>e.id!==k.id);return H?e:null==e?void 0:e.slice(0,4)},[D,H]),Q=null==W?void 0:W.reduce((e,t)=>{let n=t.event.tournament.id;return e[n]?e[n].push(t):e[n]=[t],e},{}),{ref:G,makeOnClick:K}=(0,b.kW)({type:b.jF.Compliance,countryOddsProvider:M}),N=_||A!==m.cb.EventPage;return W?(0,a.jsxs)(l.az,{ref:G,children:[(0,a.jsxs)(u.Zp,{variant:"desktop-only",children:[C&&(0,a.jsx)("div",{ref:t,children:(0,a.jsx)(u.Zp.Header,{titleId:"featured_odds"})}),(0,a.jsx)(l.so,{justify:"flex-end",align:"center",p:"sm",children:(0,a.jsx)(w.$,{provider:M})}),(0,a.jsxs)(l.BJ,{gap:"sm",px:{mdDown:"sm",md:P?"sm":void 0},children:[Q&&Object.keys(Q).map((e,t)=>{var n;let s=Q[+e],o=s[0].event;return(0,a.jsx)(u.Zp,{variant:"mobile-only",children:(0,a.jsxs)(l.az,{px:{md:"sm"},pb:"md",borderTop:t?"1px solid {colors.neutrals.nLv4}":void 0,children:[(0,a.jsxs)(l.so,{justify:"center",align:"center",px:"lg",py:"md",children:[o.tournament.uniqueTournament?(0,a.jsx)(r.eD,{id:o.tournament.uniqueTournament.id,size:24}):(0,a.jsx)(r.l3,{id:o.tournament.id,size:24}),(0,a.jsx)(p.Mq,{tournament:o.tournament,seasonId:null==(n=o.season)?void 0:n.id,children:(0,a.jsx)(i.EY,{textStyle:"display.micro",ml:"lg",_hover:{color:"neutrals.nLv3"},children:(0,a.jsx)(y.J,{tournament:o.tournament})})})]}),(0,a.jsx)(l.BJ,{gap:"[1px]",bg:"neutrals.nLv4",children:s.map(e=>(0,a.jsx)(S,{provider:M,market:e,onClick:K(e.marketName,b.ki.OddsValue)},e.id))})]})},e)}),(null==D?void 0:D.odds.length)&&D.odds.length>4&&(0,a.jsx)(x.d,{isOpen:H,onClick:()=>I(!H)})]})]}),N&&(0,a.jsx)(l.az,{mt:"sm",children:(0,a.jsx)(v.z,{provider:M})})]}):F&&V?null:(0,a.jsx)(h.a,{})})},41618:(e,t,n)=>{n.d(t,{r:()=>u,$:()=>h});var a=n(6029),r=n(21377),s=n(28349),i=n(76356),l=n(55729),o=n(62859),d=n(61836),c=n(49821);function u(e){let{selectedProvider:t,location:n,onClick:u,logClick:m=!0,size:h="56x28"}=e,x=null==t?void 0:t.provider,p=null==t?void 0:t.branded,v=null==t?void 0:t.provider.slug,{location:g}=(0,l.useContext)(o.y$),[f,j]=h.split("x"),y=n||g;return x&&p?(0,a.jsx)(i.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:t.defaultBetSlipLink||x.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==u||u(),m&&(0,d.Fe)({location:y,provider:v,position:c.ki.ProviderLogo})},style:{background:x.colors.primary,width:"".concat(f,"px"),height:"".concat(j,"px")},children:(0,a.jsx)(s._V,{src:r.npy.providerImage(x.id),alt:x.name||"",style:{width:"".concat(f,"px"),height:"auto"}})}):null}var m=n(90248);let h=e=>{let{provider:t}=e;return(null==t?void 0:t.branded)?(0,a.jsxs)(i.so,{justify:"center",align:"center",ml:"lg",children:[(0,a.jsx)(s.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,a.jsx)(m.A,{id:"featured_by"})}),(0,a.jsx)(u,{selectedProvider:t,size:"48x24"})]}):null}},42078:(e,t,n)=>{n.d(t,{d:()=>c});var a=n(6029),r=n(76356),s=n(55729),i=n(48683),l=n(62859),o=n(85568),d=n(66757);let c=e=>{var t;let{noSeasonPicker:n,isNarrowLayout:c,isInlineLayout:u,branding:m,numberOfRows:h=20,noTitle:x=!1}=e,{event:p}=(0,s.useContext)(l.y$),v=null==p||null==(t=p.tournament.uniqueTournament)?void 0:t.hasPerformanceGraphFeature;return(0,a.jsxs)(r.so,{direction:"column",gap:["sm","md"],children:[(0,a.jsxs)(i.Zp,{variant:u?"never":void 0,children:[!c&&!u&&x&&(0,a.jsx)(o.U,{titleId:"app.standings",branding:m}),(0,a.jsxs)(r.az,{children:[!n&&(0,a.jsx)(r.az,{h:"4xl"}),(0,a.jsx)(r.az,{h:"2xl"}),(0,a.jsx)(r.az,{h:"2xl"}),(0,a.jsx)(d.e,{rows:h}),(0,a.jsx)(r.az,{h:"[92px]"}),(0,a.jsx)(r.az,{p:"sm",children:(0,a.jsx)(r.az,{h:"4xl",bg:"surface.s2",br:"lg"})})]})]}),v&&(0,a.jsxs)(i.Zp,{variant:u?"never":void 0,children:[!u&&(0,a.jsx)(i.Zp.Header,{titleId:"standings_tracker_title"}),(0,a.jsx)(r.az,{h:"[542px]"})]})]})}},42181:(e,t,n)=>{n.d(t,{XF:()=>l,g9:()=>d,mi:()=>o,ob:()=>i});var a=n(76356),r=n(99064),s=n(41735);let i="rgba(255, 255, 255,0.3)",l=(0,s.default)(a.so)` position: relative; width: ${e=>e.isHorizontalLayout?"50%":"calc(100% - 16px)"}; flex: ${e=>e.isHorizontalLayout?"1 1 50%":"1 1 430px"}; // max height max-height: ${430}px; background-color: ${e=>e.theme.colors.graphicsTerrain.footballLineups}; ${e=>{let t=`border: 2px solid ${i};`;return e.isHorizontalLayout?"rtl"===e.theme.settings.textDirection?"right"===e.side&&(t+="border-right: none;"):"left"===e.side&&(t+="border-right: none;"):"left"===e.side&&(t+="border-bottom: none;"),t}}; `,o=(0,s.default)(a.so)` z-index: ${r.Py.Button}; flex: ${e=>e.isHorizontalLayout?"1 1 50%":"1 1 430px"}; ${e=>e.isHorizontalLayout?"height: 430px;":"max-height: 430px;"} // direction flex-direction: ${e=>{let t=e.isHorizontalLayout?"row":"column";return"right"===e.side&&(t=e.isHorizontalLayout?"row-reverse":"column-reverse"),t}}; ${e=>{let t="";return e.isHorizontalLayout?"rtl"===e.theme.settings.textDirection?"right"===e.side?t+="border-right: none;":t+="border-left: none;":"left"===e.side?t+="border-right: none;":t+="border-left: none;":"left"===e.side?t+="border-bottom: none;":t+="border-top: none;",t}}; `,d=s.default.div` position: absolute; z-index: ${r.Py.Backdrop}; top: 0; left: 0; width: 100%; height: 100%; ${e=>e.isHorizontalLayout&&"height: 428px;"} user-select: none; ${e=>"rtl"===e.theme.settings.textDirection&&e.isHorizontalLayout?"left"===e.side&&"transform: rotate(180deg);":"right"===e.side&&"transform: rotate(180deg);"} .goal { position: absolute; z-index: ${r.Py.Backdrop}; left: calc(50% - 80px); top: -1px; ${e=>e.isHorizontalLayout&&` transform-origin: top left; transform: translateY(160px) rotate(-90deg); top: calc(50% - 80px); left: -1px; `} } .center { position: absolute; z-index: ${r.Py.Backdrop}; bottom: -1px; left: calc(50% - 64px); ${e=>e.isHorizontalLayout&&` transform: rotate(-90deg); transform-origin: top; top: 50%; right: -1px; left: unset; `} } .c1, .c2 { position: absolute; z-index: ${r.Py.Backdrop}; top: 0; } .c1 { left: 0; } .c2 { right: 0; ${e=>e.isHorizontalLayout&&` transform: rotate(180deg); top: unset; right: unset; bottom: 0; left: 0; `} } .logo { position: absolute; z-index: ${r.Py.Backdrop}; bottom: 16px; right: 12px; } `},42360:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(6029),r=n(76356),s=n(48683);function i(){return(0,a.jsx)(s.Zp,{children:(0,a.jsx)(r.az,{h:"[762px]"})})}},42440:(e,t,n)=>{n.d(t,{C:()=>i});var a=n(55729),r=n(494),s=n(10794);function i(e){let t=(0,a.useMemo)(()=>(0,s.vt)(),[]);return(0,r.d4)(t,e)}},42621:(e,t,n)=>{n.d(t,{q:()=>a.q});var a=n(1440)},44450:(e,t,n)=>{n.d(t,{A:()=>c});var a=n(6029),r=n(494),s=n(10794),i=n(28349),l=n(76356),o=n(54409);function d(){return(0,a.jsx)("a",{href:"https://certifications.gamingcommission.gov.gr/publicRecordsOnline/SitePages/KatoxoiAdeiasOnline.aspx",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,a.jsxs)(l.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,a.jsx)(l.az,{h:"xl",w:"xl",children:(0,a.jsx)(o.OE_,{w:"24px",h:"24px",fill:"onSurface.nLv3",fillOpacity:1})}),(0,a.jsx)(i.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function c(){return"GR"===(0,r.d4)(s.LQ)?(0,a.jsx)(d,{}):null}},44595:(e,t,n)=>{n.d(t,{FG:()=>i,GM:()=>u,Vd:()=>d,c7:()=>c,cY:()=>o,fN:()=>v,jT:()=>l,jp:()=>h,mh:()=>m,ps:()=>x});var a=n(21377),r=n(58047),s=n(62827);let i=[a.QCR.IceHockey,a.QCR.AmericanFootball,a.QCR.Baseball,a.QCR.Handball],l=[...i,a.QCR.Football];var o=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}({}),d=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 c=(e,t)=>{switch(t){case a.QCR.AmericanFootball:switch(e){case"QB":return"am_football_quarterbacks";case"RB":case"FB":return"am_football_running_backs";case"WR":case"TE":return"am_football_receivers";case"OT":case"OL":case"OG":case"C":case"T":case"G":return"am_football_offensive_line";case"DT":case"DL":case"DE":case"NT":return"am_football_defensive_line";case"DB":case"SS":case"FS":case"CB":case"SAF":return"am_football_defensive_backs";case"OLB":case"LB":case"MLB":case"ILB":return"am_football_linebackers";case"P":case"PR":case"LS":case"K":return"am_football_special_teams";default:return"player.position.unknown"}case a.QCR.Baseball:switch(e){case"P":case"SP":case"CP":case"RP":case"RHP":case"LHP":case"LHS":case"RHS":case"LHR":case"RHR":return"pitcher";case"C":return"catcher";case"1B":case"2B":case"3B":case"SS":case"IF":case"UI":return"infield";case"LF":case"CF":case"RF":case"OF":case"UO":return"outfield";case"H":case"DH":case"PH":return"hitter";case"R":case"PR":case"BR":return"runner";case"B":return"batter";default:return"player.position.unknown"}case a.QCR.IceHockey:switch(e){case"F":case"L":case"C":case"R":return"forward";case"D":return"defenseman";case"G":return"goalie";default:return"player.position.unknown"}case a.QCR.Handball:switch(e){case"RB":case"LB":case"CB":return"handball.back";case"LW":case"RW":return"handball.winger";case"P":return"handball.pivot";case"G":return"handball.goalkeeper";default:return"player.position.unknown"}default:return e||"player.position.unknown"}},u=(e,t)=>{let n={};for(let a=0;a{switch(e){case"F":case"am_football_quarterbacks":case"am_football_running_backs":case"am_football_receivers":case"am_football_offensive_line":case"handball.winger":case"forward":return"colors.status.live";case"M":case"am_football_special_teams":case"handball.pivot":return"colors.secondary.default";case"D":case"am_football_defensive_backs":case"am_football_defensive_line":case"am_football_linebackers":case"handball.back":case"defenseman":return"colors.primary.default";case"G":case"handball.goalkeeper":case"goalie":return"colors.status.val";default:return"colors.neutrals.nLv3"}},h=e=>e.type===a.YVh.Person,x=(e,t,n,i,l,o,d,c)=>e===a.QCR.AmericanFootball?[{tabKey:r.x.Details,item:"details"},{tabKey:r.x.Matches,item:"matches",values:{sport:(0,s.ap)(e)}},{tabKey:r.x.Standings,item:"app.standings",isHidden:!t},{tabKey:r.x.PlayerStatistics,item:"tab_player_stats",isHidden:!d},{tabKey:r.x.Squad,item:"am_football_roster",isHidden:!i},{tabKey:r.x.Statistics,item:"statistics",isHidden:!l},{tabKey:r.x.Media,item:"media",isHidden:!o}]:[{tabKey:r.x.Details,item:"details"},{tabKey:r.x.Matches,item:"matches",values:{sport:(0,s.ap)(e)}},{tabKey:r.x.Standings,item:"app.standings",isHidden:!t},{tabKey:r.x.Squad,item:"squad",isHidden:!i,values:{gender:c}},{tabKey:r.x.TopPlayers,item:"top_players",values:{gender:c},isHidden:!n},{tabKey:r.x.Statistics,item:"statistics",isHidden:!l},{tabKey:r.x.Media,item:"media",isHidden:!o}],p=[a.QCR.AmericanFootball,a.QCR.Tennis];function v(e,t){return -1!==p.indexOf(e)&&9464===t}},52736:(e,t,n)=>{n.d(t,{E:()=>c});var a=n(6029),r=n(76356),s=n(65078),i=n(49821),l=n(4236),o=n(52210),d=n(41618);let c=e=>{let{countryOddsProvider:t,market:n,marketName:c,secondary:u,clickType:m}=e,h=(0,s.g3)(),{ref:x,makeOnClick:p}=(0,i.kW)({type:m,marketName:c,isComparison:!0,countryOddsProvider:t,deps:[c]});if(!(null==n?void 0:n.choices))return null;let v=(0,l.nu)(n.choices,h);return(0,a.jsxs)(r.so,{ref:x,direction:"row",align:"center",pb:"sm",gap:"sm",children:[(0,a.jsx)(d.r,{size:"48x24",selectedProvider:t}),(0,a.jsx)(r.so,{gap:"[5px]",grow:"1",shrink:"1",overflow:"hidden",children:v.map(e=>{if(!c||!n)return;let r=(0,l.vT)(e,t.oddsOffset||0);return(0,a.jsx)(o.i,{choice:r,isLive:n.isLive,countryOddsProvider:t,betSlipLink:(0,l.Iz)(e,n,t),onClick:p(c,i.ki.OddsValue,t),secondary:u},e.name)})})]})}},56602:(e,t,n)=>{n.d(t,{D:()=>H});var a=n(6029),r=n(87827),s=n(21377),i=n(28349),l=n(62042),o=n(76356),d=n(55729),c=n(947),u=n(90248),m=n(54409),h=n(54053),x=n(26331),p=n(62859),v=n(34851),g=n(19991),f=n(99064),j=n(28446),y=n(41735);let b=e=>(0,y.keyframes)(["from{left:0;}to{left:",";}"],e),C=(0,y.default)(f.az).withConfig({componentId:"sc-12120f08-0"})(["animation:"," 660ms ease-in-out 1;animation-delay:330ms;animation-fill-mode:forwards;"],e=>b(e.ratingPosition)),w=["3.0","6.0","6.5","7.0","8.0","9.0"],k=(0,j.A)().domain([3,6,6.5,7,8,9,10]).range([0,16.66666,33.33333,50,66.66666,83.33333,100]);function S(e){let{rating:t,format:n}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(f.so,{id:"#container",position:"relative",mx:"sm",mb:"xs",children:[w.map((e,t)=>(0,a.jsx)(f.az,{flex:"1 1 1px",br:0===t?"xs 0 0 xs":5===t?"0 xs xs 0":void 0,bg:(0,g.Et)(e),h:"16"},e)),t&&(0,a.jsx)(C,{position:"absolute",top:"-2",ratingPosition:k(+t)+"%",w:"2",h:"20",bg:"neutral.variant"})]}),(0,a.jsx)(f.so,{justify:"space-between",children:[...w,"10"].map(e=>(0,a.jsxs)(f.EY,{color:(0,g.Et)(e),font:"tab.secondary",children:[e,"sideBox"===n&&"10"!==e?"0":""]},e))})]})}var A=n(19673);let _=(0,l.AH)({"& > div > div":{zoom:2.5},"& span":{zoom:2.5}});function H(e){let{type:t,rating:n=10,renderImage:l,children:g}=e,f=(0,c.A)(),[j,y]=(0,d.useState)(!1),{isDesktop:b}=(0,i.$c)(),C=(0,d.useContext)(p.Ws)===s.QCR.Football,w=(0,x.A)(),k=(0,A.y)(w),H="",I="box",M="sofascore_rating",T="";switch(t){case v.J.SpecificRatingPlayer:H="rating_general_text",T=[f.formatMessage({id:"rating_top_stats_general"}),f.formatMessage({id:"rating_top_stats_specific"})].join(" ");break;case v.J.AverageRatingTeam:H="average_team_rating_text",I="sideBox",T=[f.formatMessage({id:"rating_top_teams_general"}),f.formatMessage({id:"rating_top_teams_specific"})].join(" ");break;case v.J.AverageRating:H="average_team_rating_match",I="sideBox",M="average_sofascore_rating";break;case v.J.AverageRatingTeamLineups:H="average_team_rating_text",I="sideBox";break;case v.J.AverageRatingPlayer:H="average_player_rating_text",I="sideBox"}return(0,a.jsxs)(a.Fragment,{children:["function"==typeof g?(0,a.jsx)(a.Fragment,{children:g({isOpen:j,setIsOpen:y})}):null!=g?g:(0,a.jsx)(i.m_,{label:T,strategy:""!==T&&b?"hover":"controlled",isVisible:!1,children:(0,a.jsx)(i.K0,{mx:"xs",variant:"clear",onClick:()=>{y(!0)},children:(0,a.jsx)(m.G_L,{fill:"onSurface.nLv1"})})}),(0,a.jsxs)(h.A,{header:(0,a.jsx)(i.H3,{p:"lg",textStyle:"display.large",children:(0,a.jsx)(u.A,{id:M})}),isOpen:j,setIsOpen:y,footer:(0,a.jsx)(o.so,{justify:"flex-end",m:C?"[0 {spacing.lg} {spacing.lg} {spacing.lg}]":{base:"lg",mdDown:"[0 {spacing.lg} {spacing.lg} {spacing.lg}]"},children:(0,a.jsx)(i.$n,{w:{base:"auto",mdDown:"100%"},onClick:()=>{y(!1)},variant:b?"clear":void 0,children:(0,a.jsx)(u.A,{id:"ok_got_it_button"})})}),children:[(0,a.jsxs)(o.az,{maxW:{md:"[320px]"},px:"lg",mb:C?void 0:{mdDown:"2xl"},children:[H&&(0,a.jsx)(u.A,{id:H,values:{break:e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("br",{}),(0,a.jsx)("br",{})]})}}),(0,a.jsxs)(o.so,{justify:"center",align:"center",pt:"4xl",pb:"xl",children:[(0,a.jsx)(o.az,{className:"sideBox"===I?_:void 0,children:(0,a.jsx)(r.G,{size:"xl",rating:n,format:I})}),null==l?void 0:l({size:40,ml:"lg"})]}),(0,a.jsx)(S,{rating:n,format:I})]}),C&&(0,a.jsx)(o.az,{px:"lg",py:"4xl",pb:"2xl",children:(0,a.jsxs)(i.Mz,{display:"block",color:"primary.default",textStyle:"display.small",href:k,target:"_blank",onClick:()=>{y(!1)},children:[(0,a.jsx)(u.A,{id:"rating_learn_more_button"}),(0,a.jsx)(m.CCT,{ml:"xs",w:"16",h:"16",fill:"primary.default"})]})})]})]})}H.type=v.J},59721:(e,t,n)=>{n.d(t,{e:()=>a.e});var a=n(33480)},59754:(e,t,n)=>{n.d(t,{C:()=>s,Z:()=>i});var a=n(494),r=n(151);let s=(e,t,n)=>{var a,r,s;let i=null==(a=e.tournament.uniqueTournament)?void 0:a.id;if(i&&(null==n||null==(s=n.uniqueTournaments)||null==(r=s[i])?void 0:r[t]))return null==n?void 0:n.uniqueTournaments[i]},i=(e,t)=>s(e,t,(0,a.d4)(r.g))},61584:(e,t,n)=>{n.d(t,{A:()=>x});var a=n(6029),r=n(28349),s=n(76356),i=n(90248),l=n(494),o=n(49821),d=n(28600),c=n(2294),u=n(38136),m=n(52736),h=n(27601);let x=e=>{let{eventId:t,isLive:n,isEleveated:x}=e,p=(0,l.d4)(c.hB),{odds:v,marketName:g,error:f,isLoading:j}=(0,h.U)(p||[],t,n);return j?(0,a.jsx)(s.az,{pt:"[50px]",bg:"surface.s2",br:"lg",elevation:x?"2":void 0,children:null==p?void 0:p.map(e=>(0,a.jsx)(s.az,{h:"[45px]"},e.provider.id))}):f||!v?null:(0,a.jsx)(s.az,{bg:x?"surface.s1":void 0,br:"lg",elevation:x?"2":void 0,children:(0,a.jsxs)(s.so,{direction:"column",bg:"surface.s2",br:"lg",px:"md",pb:"md",children:[(0,a.jsxs)(s.so,{py:"sm",justify:"space-between",align:"center",gap:"2xs",children:[(0,a.jsxs)(s.so,{gap:"2xs",alignSelf:"flex-end",h:"100%",children:[(0,a.jsx)(r.EY,{textStyle:"assistive.default",children:(0,a.jsx)(d.f,{id:"Full time"})}),n&&(0,a.jsx)(r.EY,{textStyle:"assistive.default",color:"status.val",children:(0,a.jsx)(i.A,{id:"live"})})]}),(0,a.jsx)(u.V,{})]}),null==p?void 0:p.map((e,t)=>(0,a.jsx)(m.E,{countryOddsProvider:e,market:v[t],marketName:g,clickType:o.jF.Featured},e.provider.id))]})})}},63801:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(6029),r=n(9127),s=n(41735);let i=({x:e,y:t})=>{let{colors:n}=(0,s.useTheme)(),i=e-3,l=e+3,o=t-3;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.m.circle,{fill:n.surface.s1,r:"6",animate:{cx:e,cy:t}}),(0,a.jsx)(r.m.path,{animate:{d:`M ${i},${o} l 6,6 M ${l},${o} l -6,6`},stroke:n.error.default,strokeWidth:"2"})]})}},65577:(e,t,n)=>{n.d(t,{$7:()=>d,$u:()=>o,Ay:()=>u,Co:()=>i,o_:()=>l,uv:()=>c});var a=n(6029),r=n(90547),s=n(41735);let i=8,l=328,o=e=>(0,a.jsx)("svg",{width:"100%",viewBox:"-".concat(i," -").concat(i," ").concat(l+2*i," ").concat(139+2*i),children:e.children}),d=e=>{let{fill:t}=e,n=(0,s.useTheme)();return(0,a.jsx)("path",{d:"M302.77 0C316.703 0 328 11.392 328 25.305v88.171C328 127.39 316.704 139 302.77 139H25.23C11.297 139 0 127.39 0 113.476v-88.17C0 11.391 11.296 0 25.23 0h277.54z",fill:t||n.colors.surface.s2,fillRule:"evenodd"})},c=e=>{let{fill:t}=e,n=(0,s.useTheme)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.default,{x:l/2-12,y:57.5,fill:"onSurface.nLv1"}),(0,a.jsxs)("g",{fill:t||n.colors.onSurface.nLv1,fillRule:"nonzero",children:[(0,a.jsx)("path",{d:"M302.77 0C316.703 0 328 11.392 328 25.305v88.171C328 127.39 316.704 139 302.77 139H25.23C11.297 139 0 127.39 0 113.476v-88.17C0 11.391 11.296 0 25.23 0h277.54zm0 1H25.23C11.878 1 1.052 11.972 1.052 25.305v88.171C1.051 126.81 11.877 138 25.231 138h277.538c13.354 0 24.18-11.19 24.18-24.524v-88.17C326.949 11.971 316.123 1 302.769 1z"}),(0,a.jsx)("path",{d:"M16 2h1.05v135H16zM118.5 0h1.05v138.77h-1.05zM1 91.959 16 87v1.06L1.023 93zM15.992 50.95 1 46v1.057L16 52z"}),(0,a.jsx)("path",{d:"M26.992 69.5c0-3.043-1.406-5.843-3.908-7.887l-.139-.113h-5.953v1l5.7.02c1.993 1.788 3.216 4.132 3.3 6.678v.302c0 2.63-1.228 5.135-3.3 7.011l-5.7-.011v1h5.956l.139-.116c2.471-2.054 3.905-4.894 3.905-7.884zM12 63h4v.929h-3V75.07h3V76h-4zM28 33.5c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm1 0c0 12.703 10.297 23 23 23s23-10.297 23-23-10.297-23-23-23-23 10.297-23 23z"}),(0,a.jsx)("path",{d:"M50 33.5c0-1.104.894-2 1.997-2 1.103 0 1.997.896 1.997 2 0 1.105-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1.012 0c0 .546.442.988.985.988a.986.986 0 0 0 .984-.988.986.986 0 0 0-.984-.988.986.986 0 0 0-.985.988zM48.5 56.77v5.256h1.05v-5.257zM54.5 56.775v5.257h1.05v-5.257zM48.5 5v5.256h1.05V5zM54.5 5v5.256h1.05V5zM28 105.5c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm1 0c0 12.703 10.297 23 23 23s23-10.297 23-23-10.297-23-23-23-23 10.297-23 23z"}),(0,a.jsx)("path",{d:"M50 105.5c0-1.104.894-2 1.997-2 1.103 0 1.997.896 1.997 2 0 1.105-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1.012 0c0 .546.442.988.985.988a.986.986 0 0 0 .984-.988.986.986 0 0 0-.984-.988.986.986 0 0 0-.985.988zM54.5 128.8v5.256h1.05V128.8zM48.5 128.8v5.256h1.05V128.8zM54.5 77v5.256h1.05V77zM48.5 77v5.256h1.05V77zM126 105.5c0-1.105.894-2 1.997-2 1.103 0 1.997.895 1.997 2s-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1 0c0 .553.447 1 .997 1s.996-.447.996-1c0-.553-.446-1-.996-1a.998.998 0 0 0-.996 1zM126.05 33.5c0-1.104.894-2 1.997-2 1.102 0 1.996.896 1.996 2 0 1.105-.894 2-1.996 2a1.998 1.998 0 0 1-1.997-2zm1 0c0 .553.447 1 .997 1s.996-.447.996-1c0-.553-.447-1-.996-1a.998.998 0 0 0-.997 1zM312.05 2H311v135h1.05zM209.55 0h-1.05v139h1.05z"}),(0,a.jsx)("path",{d:"M327 91.959 312 87v1.06L326.977 93zM312.008 50.95 327 46v1.057L312 52zM301 69.5c0-3.043 1.406-5.843 3.908-7.887l.139-.113H311v1l-5.7.02c-1.993 1.788-3.216 4.132-3.3 6.678v.302c0 2.63 1.228 5.135 3.3 7.011l5.7-.011v1h-5.955l-.14-.116C302.434 75.33 301 72.49 301 69.5zM316 63h-4v.929h3V75.07h-3V76h4zM301 105.5c0-13.255-10.745-24-24-24s-24 10.745-24 24 10.745 24 24 24 24-10.745 24-24zm-.991 0c0 12.703-10.298 23-23 23-12.703 0-23-10.297-23-23s10.297-23 23-23c12.702 0 23 10.297 23 23z"}),(0,a.jsx)("path",{d:"M278.994 105.5c0-1.105-.894-2-1.997-2a1.998 1.998 0 0 0-1.997 2c0 1.105.894 2 1.997 2a1.998 1.998 0 0 0 1.997-2zm-1.013 0a.986.986 0 0 1-.984.988.986.986 0 0 1-.985-.988c0-.546.442-.988.985-.988.543 0 .984.442.984.988zM280.55 128.8v5.256h-1.05V128.8zM274.55 128.8v5.256h-1.05V128.8zM280.55 77v5.256h-1.05V77zM274.55 77v5.256h-1.05V77zM301 33.499c0-13.255-10.745-24-24-24s-24 10.745-24 24 10.745 24 24 24 24-10.745 24-24zm-1 0c0 12.703-10.297 23-23 23s-23-10.297-23-23 10.297-23 23-23 23 10.297 23 23z"}),(0,a.jsx)("path",{d:"M278.994 33.5c0-1.105-.894-2-1.997-2a1.998 1.998 0 0 0-1.997 2c0 1.105.894 2 1.997 2a1.998 1.998 0 0 0 1.997-2zm-1.013 0a.986.986 0 0 1-.984.988.986.986 0 0 1-.985-.988c0-.546.442-.988.985-.988.543 0 .984.442.984.988zM280.55 56.77v5.256h-1.05V56.77zM274.55 56.77v5.256h-1.05V56.77zM280.55 5.262v5.257h-1.05V5.262zM274.55 5.262v5.257h-1.05V5.262zM201.992 105.5a2 2 0 1 0-4 0 2 2 0 0 0 4 0zm-1.002 0a.999.999 0 1 1-1.998.002.999.999 0 0 1 1.998-.002zM201.992 33.508a2 2 0 1 0-4 0 2 2 0 0 0 4 0zm-1.002 0a.999.999 0 1 1-1.998.002.999.999 0 0 1 1.998-.002zM148 138c0-8.837 7.163-16 16-16s16 7.163 16 16h-1c0-8.332-6.668-15-15-15s-15 6.668-15 15h-1zM140.042 69.5c0-13.232 10.726-23.958 23.958-23.958 13.232 0 23.958 10.726 23.958 23.958 0 13.232-10.726 23.958-23.958 23.958-13.232 0-23.958-10.726-23.958-23.958zm-1.042 0c0 13.807 11.193 25 25 25s25-11.193 25-25-11.193-25-25-25-25 11.193-25 25z"}),(0,a.jsx)("path",{d:"M162.003 69.5c0-1.105.894-2 1.997-2 1.103 0 1.997.895 1.997 2s-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1 0c0 .553.447 1 .997 1s.996-.447.996-1c0-.553-.446-1-.996-1a.998.998 0 0 0-.996 1zM163.5 2h1v4.355h-1zM163.5 10.71h1v4.355h-1zM163.5 19.42h1v4.354h-1zM163.5 28.13h1v4.354h-1zM163.5 36.839h1v4.355h-1zM163.5 45.548h1v4.355h-1zM163.5 54.258h1v4.355h-1zM163.5 62.968h1v4.355h-1zM163.5 71.677h1v4.355h-1zM163.5 80.387h1v4.355h-1zM163.5 89.097h1v4.355h-1zM163.5 97.806h1v4.355h-1zM163.5 106.516h1v4.355h-1zM163.5 115.226h1v4.355h-1zM163.5 123.935h1v4.355h-1zM163.5 132.645h1V137h-1z"})]})]})};function u(e){let{children:t}=e;return(0,a.jsxs)(o,{children:[(0,a.jsx)(d,{}),(0,a.jsx)(c,{}),t]})}},66757:(e,t,n)=>{n.d(t,{e:()=>o});var a=n(6029),r=n(18612),s=n(76356),i=n(55729);function l(e){let{rows:t,rowHeight:n}=e;return(0,a.jsx)(r.D,{animate:!0,height:t*n,uniqueKey:"generic-table-cl",children:Array(t).fill(null).map((e,t)=>{let r=t*n;return(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)("circle",{cx:20,cy:r+n/2,r:12}),(0,a.jsx)("rect",{x:40,y:r+8,width:"calc(100% - 48px)",height:n-16})]},r)})})}function o(e){let{rows:t=12}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.az,{hideBelow:"md",children:(0,a.jsx)(l,{rowHeight:32,rows:t})}),(0,a.jsx)(s.az,{hideFrom:"md",children:(0,a.jsx)(l,{rowHeight:48,rows:t})})]})}},67823:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(64082),r=n(6029),s=n(55729),i=n(18130);let l=(0,s.forwardRef)((e,t)=>{var{children:n}=e,s=(0,a.T)(e,["children"]);return(0,r.jsx)("svg",Object.assign({viewBox:`0 0 ${i.f7} ${i.IV}`,preserveAspectRatio:"xMidYMid meet",width:"100%",height:"100%",style:{userSelect:"none"}},s,{children:(0,r.jsx)("g",Object.assign({fill:"none",fillRule:"evenodd",ref:t},{children:n}))}))})},70115:(e,t,n)=>{n.d(t,{A:()=>d});var a=n(6029),r=n(99064),s=n(71024),i=n.n(s),l=n(58047);let o=i()(()=>Promise.all([n.e(4824),n.e(28718)]).then(n.bind(n,63848)),{loadableGenerated:{webpack:()=>[63848]},ssr:!1});function d(e){let{uniqueTournament:t,seasonId:n,sport:s}=e;return(0,a.jsx)(r.tU.Panel,{tabKey:l.x.Knockout,children:(0,a.jsx)(o,{sport:s,uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:n})})}},72653:(e,t,n)=>{n.d(t,{A:()=>v});var a=n(6029),r=n(21377),s=n(4967),i=n(95669),l=n.n(i),o=n(947),d=n(58771),c=n(26331),u=n(73088),m=n(97047);let h=(e,t,n)=>e.type===r.YVh.Person?{"@type":"Person",name:e.name}:{"@type":"SportsTeam",sport:t.name,name:e.name,logo:r.cWY.image(e.id),url:"https://www.sofascore.com/team/".concat(t.slug,"/").concat(e.slug,"/").concat(e.id),sameAs:(0,m.WG)(e.id,n)},x=(e,t)=>{var n,a,r,s,i;let l=(null==(n=e.tournament.uniqueTournament)?void 0:n.name)||e.tournament.name,o=(null==(a=e.season)?void 0:a.year)||(null==(r=e.season)?void 0:r.name)||t.getFullYear()||"",d=(e.tournament.roundPrefix||"")+" "+((null==(s=e.roundInfo)?void 0:s.name)||((null==(i=e.roundInfo)?void 0:i.round)?"Round ".concat(e.roundInfo.round):""));return"".concat(l," ").concat(o," ").concat(d.trim()).trim()},p=e=>{switch(e.status.type){case r.XUj.Canceled:case r.XUj.Suspended:return"EventCancelled";case r.XUj.Postponed:return"EventPostponed";default:return"EventScheduled"}};function v(e){let{event:t}=e,n=(0,o.A)(),i=(0,c.A)(),v=t.tournament.category.sport,g=s.pp(t.startTimestamp),f=x(t,g),j=t.tournament.category,y=t.tournament.uniqueTournament,b=1,C=[{"@type":"ListItem",position:1,name:n.formatMessage({id:"sport.".concat(v.slug)}),item:"".concat(r.VTF).concat(u.z.getTranslatedRoute(i,"eventList",{sport:v.slug}).route)},{"@type":"ListItem",position:++b,name:n.formatMessage({id:j.slug}),item:"".concat(r.VTF).concat(u.z.getTranslatedRoute(i,"eventList.category",{sport:j.sport.slug,category:j.slug}).route)}];y&&C.push({"@type":"ListItem",position:++b,name:y.name,item:"".concat(r.VTF).concat(u.z.getTranslatedRoute(i,"uniqueTournament",{sport:y.category.sport.slug,category:y.category.slug,tournament:y.slug,id:y.id}).route)}),C.push({"@type":"ListItem",position:++b,name:"".concat(t.homeTeam.name," - ").concat(t.awayTeam.name)});let w={"@context":"https://schema.org","@type":"SportsEvent",name:"".concat(t.homeTeam.name," vs ").concat(t.awayTeam.name),eventStatus:p(t),description:f,homeTeam:h(t.homeTeam,v,i),awayTeam:h(t.awayTeam,v,i),startDate:g.toISOString(),sport:v.name};if(t.venue){var k,S,A;w.location=[{"@type":"Place",name:null==(k=t.venue)?void 0:k.stadium.name,maximumAttendeeCapacity:null==(S=t.venue)?void 0:S.stadium.capacity,address:{"@type":"PronounceableText"}}],t.venue.city.name&&w.location.concat({"@type":"Place",name:t.venue.city.name}),t.venue.country.alpha2&&w.location.concat({"@type":"Country",name:(0,m.lE)(null==(A=t.venue)?void 0:A.country.alpha2)})}else t.tournament.category.alpha2&&(w.location={"@type":"Country",name:(0,m.lE)(t.tournament.category.alpha2)});return(0,a.jsxs)(l(),{children:[(0,a.jsx)("script",{...(0,d.QQ)({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:C})}),",",(0,a.jsx)("script",{...(0,d.QQ)(w)}),","]})}},72767:(e,t,n)=>{n.d(t,{A:()=>o});var a=n(6029),r=n(18642),s=n(67823),i=n(13369),l=n(11810);let o=({showLines:e=!0,showBackground:t=!0,showOverlay:n=!0,linesColor:o,backgroundColor:d,shotCoordinates:c})=>(0,a.jsxs)(s.A,{children:[t&&(0,a.jsx)(l.A,{courtColor:d,showDarkPaint:!0}),e&&(0,a.jsx)(i.A,{fill:o}),n&&(0,a.jsx)(r.A,{shotCoordinates:c})]})},73045:(e,t,n)=>{n.d(t,{e:()=>r.e,l:()=>a.l});var a=n(37721),r=n(33480)},73411:(e,t,n)=>{n.d(t,{s:()=>m,S:()=>h});var a=n(6029),r=n(28349),s=n(76356),i=n(55729),l=n(90248),o=n(54053),d=n(1300),c=n(61836);let u=e=>{let{children:t,onClick:n}=e;return(0,a.jsx)("a",{href:"https://nba.sjv.io/c/5441787/2176796/16284",target:"_blank",rel:"noopener",onClick:n,children:t})},m=e=>{let{isOpen:t,setIsOpen:n,location:d}=e,{isDesktop:m}=(0,r.$c)(),h={backgroundImage:"url(/static/images/nba-league-pass/modal.png)",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,i.useEffect)(()=>{t&&(0,c.Z1)({type:"bottom_sheet",name:"nba_league_pass",location:d})},[t]),!t)return null;let x=()=>n(!1);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(o.A,{isOpen:t,setIsOpen:n,footer:null,renderAdPlaceholder:!1,sheetStyles:h,modalContentStyles:h,width:360,children:(0,a.jsxs)(s.az,{style:m?h:void 0,br:"lg",children:[(0,a.jsx)(s.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,a.jsx)(s.az,{w:"4xl",h:"4xl",children:(0,a.jsx)(r._V,{src:"/static/images/nba-league-pass/league-pass-logo.svg",h:"4xl",w:"4xl",alt:"NBA"})})}),(0,a.jsxs)(s.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,a.jsxs)(s.so,{direction:"column",gap:"lg",children:[(0,a.jsx)(s.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:(0,a.jsx)(l.A,{id:"league_pass_promo_title"})}),(0,a.jsx)(s.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:(0,a.jsx)(l.A,{id:"league_pass_promo_body_long"})})]}),(0,a.jsxs)(s.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,a.jsx)(r.$n,{children:(0,a.jsx)(u,{onClick:()=>{(0,c.AW)({type:"bottom_sheet",name:"nba_league_pass",location:d}),x()},children:(0,a.jsx)(s.az,{color:"onColor.primary",children:(0,a.jsx)(l.A,{id:"claim_offer"})})})}),(0,a.jsx)(r.$n,{variant:"clear",color:"onColor.primary",onClick:x,children:(0,a.jsx)(l.A,{id:"maybe_later"})})]})]})]})})})},h=e=>{let{utId:t,location:n}=e,{isNBAModalOpen:r,setIsNBAModalOpen:s}=(0,d.z)(t);return r?(0,a.jsx)(m,{isOpen:r,setIsOpen:s,location:n}):null}},77752:(e,t,n)=>{n.r(t),n.d(t,{default:()=>S});var a=n(6029),r=n(28349),s=n(76356),i=n(99064),l=n(55729),o=n(48683),d=n(22648),c=n(25811),u=n(83457),m=n(87763),h=n(12047),x=n(83260),p=n(79363),v=n(76868),g=n(20294),f=n(50303);let j=e=>{let{comments:t,isOpen:n}=e,{rootRef:i}=(0,l.useContext)(f.XM),{isMobile:o}=(0,r.$c)();return(0,a.jsx)("div",{ref:o?void 0:i,children:(0,a.jsxs)(r.Ee,{h:{md:n?"[370px]":"[538px]"},bg:["neutral.highlight","surface.s1"],children:[(0,a.jsx)(s.so,{direction:"column",p:"md",gap:"lg",children:t.map(e=>(0,a.jsx)(g.y,{comment:e},e.id))}),(0,a.jsx)(s.az,{borderTop:"1px solid {colors.neutrals.nLv4}",hideBelow:"md",mb:"lg",children:(0,a.jsx)(v.p,{graphic:"hockey-shotmap",descriptionMessageId:"You've seen all available plays for this period."})})]})})};var y=n(83899),b=n(88098);let C=["scoreChange","penaltyScored","penaltyMissed","penaltySaved","faceOff","shotOffTarget","shotBlocked","shotSaved","suspension","hit"],w=["1st","2nd","3rd"],k=e=>{let{isOpen:t,periods:n,shots:o,activeTab:d,setActiveTab:u,setIsOpen:x}=e,{rootRef:v}=(0,l.useContext)(f.XM),g=(0,h.Ay)(),{isMobile:j}=(0,r.$c)();return(0,a.jsxs)(i.PI,{bg:"surface.s1",borderBottom:"onSurface.nLv4",pb:t?"sm":void 0,elevation:[2,void 0],top:g,isStickingDisabled:!j,children:[(0,a.jsx)(s.az,{py:"sm",children:(0,a.jsx)(c.n,{variant:"secondary",activeTabKey:d,onChange:u,tabs:n.map((e,t)=>({tabKey:t,tabValue:(0,a.jsx)(m.fP,{id:e,short:!0})})),onTabClick:()=>{if(v.current){var e;null==(e=v.current.children[0])||e.scrollTo(0,0)}else window.scrollTo(0,135)}})}),(0,a.jsx)(p.A,{isOpen:t,setIsOpen:x,borderTop:"onSurface.nLv4",title:"Event Map"}),t&&(0,a.jsx)(s.az,{px:{md:"sm"},children:(0,a.jsx)(y.A,{shots:o})})]})},S=()=>{var e;let[t,n,r]=(0,x.A)("ice.hockey.playbyplay.open",!0),{textCommentary:i,periods:c}=(0,u.q)(),[m,h]=(0,l.useState)(0);(0,l.useEffect)(()=>{c.length&&h(c.length-1)},[!!c.length]);let p=c[m],v=(null==i||null==(e=i[p])?void 0:e.filter(e=>C.includes(e.type)&&!!e.location))||[],g=v.map(e=>({id:e.id,x:e.location.x,y:e.location.y,type:(0,b.rk)(e.type)}))||[];return r?(0,a.jsx)(f.v9,{comments:t?v:[],children:(0,a.jsxs)(o.Zp,{variant:"desktop-only",children:[(0,a.jsx)(o.Zp.Header,{title:"cricket.pbp"}),(0,a.jsxs)(s.az,{position:"relative",children:[(0,a.jsx)(k,{periods:c.length?c:w,isOpen:t,setIsOpen:n,activeTab:m,setActiveTab:h,shots:g}),(null==i?void 0:i[p])?(0,a.jsx)(j,{comments:i[p],isOpen:t}):(0,a.jsx)(s.az,{h:"[512px]",children:(0,a.jsx)(d.a,{})})]})]})}):null}},77988:(e,t,n)=>{n.d(t,{A:()=>x,g:()=>h});var a=n(6029),r=n(28349),s=n(90248),i=n(494),l=n(10794);let o={AU:"www.gamblinghelponline.org.au",BG:"nss-bg.org/hi-kodeks",GB:"www.begambleaware.org",NL:"hands24x7.nl"},d={DE:"18+ | Erlaubt (Whitelist) | Suchtrisiko | www.buwei.de",NL:"Wat kost gokken jou? Stop op tijd. 18+",CA:"19+. Gambling can be addictive, please play responsibly.
Eligible iGames conducted and managed by iGO are only available to those physically present in the Province of Ontario.",US:"21+. Gambling Problem?
Call 1-800-GAMBLER",SE:"18+. st\xf6dlinjen.se. Spela ansvarsfullt.",DK:"18+ | Regler og vilk\xe5r g\xe6lder | Spil ansvarligt | Selvudeluk via ROFUS.nu | StopSpillet.dk",TR:"İddaa oranları anlık olarak değişiklik g\xf6sterebilmektedir."},c={BE:21,GR:21,CA:19};function u(e){let{countryOddsProvider:t}=e;return(null==t?void 0:t.oddsMayDiffer)?(0,a.jsxs)("span",{children:[(0,a.jsx)("br",{}),(0,a.jsx)(s.A,{id:"disclaimer_odds_may_differ"})]}):null}function m(){let e=(0,i.d4)(l.LQ),t=e&&o[e];return t?(0,a.jsxs)("span",{children:[", ",(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]}):null}let h=e=>e&&c[e.toUpperCase()]?c[e.toUpperCase()]:18;function x(e){let t,{provider:n}=e,o=(0,i.d4)(l.LQ),c=(0,i.d4)(l.zj);return o&&c?t=d["".concat(o,"-").concat(c)]||d[o]:o&&(t=d[o]),(0,a.jsxs)(r.EY,{display:"block",textStyle:"body.small",textAlign:"center",color:"neutrals.nLv3",pr:"sm",children:[t?(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}):(0,a.jsx)(s.A,{id:"gamble_responsibly",values:{age:h(o)}}),(0,a.jsx)(m,{}),(0,a.jsx)(u,{countryOddsProvider:n})]})}},79263:(e,t,n)=>{n.d(t,{j:()=>b});var a=n(21377),r=n(932),s=n.n(r),i=n(78383),l=n.n(i),o=n(84285),d=n.n(o),c=n(59018),u=n.n(c),m=n(55729),h=n(494),x=n(45860),p=n(2294),v=n(39196),g=n(70351),f=n(11791);async function j(e,t){let n=u()(t),r={},s=await Promise.allSettled(n.map(t=>(0,a.TtD)(a.bnp.allOdds(e,t))));return n.forEach((e,t)=>{"fulfilled"===s[t].status&&(r[e]=s[t].value)}),r}async function y(e){let[t,n]=e,a={},r=!1,s=n.map(e=>e.oddsFromId),i=[],l=!1,o=await j(t,s);if(n.forEach(e=>{o[e.oddsFromId]?(a[e.id]=o[e.oddsFromId],e.oddsFromId!==e.id&&e.oddsMayDiffer&&(r=!0)):e.fallbackProviderId?o[e.fallbackProviderId]?a[e.id]=o[e.fallbackProviderId]:i.push(e.fallbackProviderId):l=!0}),!l&&i.length){let e=await j(t,i);n.forEach(t=>{!a[t.id]&&t.fallbackProviderId&&e[t.oddsFromId]?(a[t.id]=e[t.fallbackProviderId],t.oddsMayDiffer&&(r=!0)):l=!0})}if(l)throw Error("Could not fetch all odds");return{providerOdds:n.map(e=>a[e.id]),oddsMayDiffer:r}}let b=(e,t,n)=>{var a,r;let i=(0,h.d4)(p.fq),o=(0,f.KO)(e,n),[c]=(0,g.A)(),{data:u,error:j,mutate:b,isLoading:C}=(0,x.Ay)(i&&(null==o?void 0:o.length)?[t,o,n,"ODDS_COMPARISON"]:null,{refreshInterval:6e4,fetcher:y});(0,m.useEffect)(()=>{b()},[n]);let w=new Set;null==u||null==(a=u.providerOdds)||a.forEach(e=>{var t;null==(t=e.markets)||t.forEach(e=>{w.add(e.id)})});let k=[...w];return(0,m.useEffect)(()=>{let e=[];return c&&k.forEach(t=>{if(t){let n=c.Topic.odds.byId(t),a=(0,v.p)("odds:".concat(t),n,l());e.push(c.subscribe(a))}}),()=>{e.forEach(e=>e())}},[c,null==u||null==(r=u[0])?void 0:r.eventId]),(0,m.useEffect)(()=>{let e=e=>{let t=s()(u);if(!t||!t.providerOdds.some(e=>!!e.markets))return;let n=[1,2,3];t.providerOdds.map(t=>{var n;return null==(n=t.markets)?void 0:n.findIndex(t=>t.id===e.id)}).forEach((a,r)=>{void 0!==a&&a>-1&&n.forEach(n=>{let i=e["choice".concat(n,".fractionalValue")];i&&d()(t,"providerOdds.".concat(r,".markets[").concat(a,"].choices[").concat(n-1,"].fractionalValue"),i,s())})}),b(t,!1)};c&&"boolean"!=typeof c&&k.forEach(t=>{if(t){let n=c.Topic.odds.byId(t),a=(0,v.p)("odds:".concat(t),n,e);c.subscribe(a)}})},[c,u,b]),{data:u,error:j,isLoading:C}}},79363:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(6029),r=n(99064),s=n(90248),i=n(54409);function l(e){let{isOpen:t,setIsOpen:n,title:l,...o}=e;return(0,a.jsxs)(r.so,{align:"center",px:"lg",py:"sm",h:"48px",gap:"sm",bg:"surface.s1",cursor:"pointer",overflow:"hidden",style:{userSelect:"none"},onClick:()=>n(e=>!e),...o,children:[(0,a.jsx)(i.baM,{}),(0,a.jsx)(r.EY,{as:"div",ellipsis:!0,font:"display.small",color:"onSurface.nLv1",style:{flexGrow:1},children:l||(0,a.jsx)(s.A,{id:"hockey_game_shotmap"})}),(0,a.jsx)(i.zQC,{icon:t?"chevron-up":"chevron-down",fill:"onSurface.nLv1"})]})}},80925:(e,t,n)=>{n.d(t,{Z:()=>a});let a=(e,t)=>{let n=null==e?void 0:e.provider,a=null==e?void 0:e.fallbackProvider;return t&&(null==n?void 0:n.liveOddsFrom)?[null==n?void 0:n.liveOddsFrom.id,null==a?void 0:a.id]:(null==n?void 0:n.oddsFrom)?[null==n?void 0:n.oddsFrom.id,null==a?void 0:a.id]:[null==n?void 0:n.id,null==a?void 0:a.id]}},83899:(e,t,n)=>{n.d(t,{A:()=>m});var a=n(6029),r=n(99064),s=n(55729),i=n(41735),l=n(36452);function o(e){let{isAway:t,fill:n}=e,{colors:r,settings:s}=(0,i.useTheme)(),l={transform:""};return t&&(l.transform="rotate(180deg)"),"rtl"===s.textDirection&&(l.transform+=" scale(-1,1)"),(0,a.jsx)("svg",{width:"88",height:"20",viewBox:"0 0 88 20",style:l,children:(0,a.jsx)("g",{fill:n||r.surface.s1,fillRule:"evenodd",children:(0,a.jsx)("path",{d:"m87.2 9.845-12 8v-16zM.8 7.845h74.4v4H.8z"})})})}var d=n(88098),c=n(65577),u=n(50303);function m(e){let{isLeft:t,isInverseTeams:n=!1,shots:m}=e,{colors:h}=(0,i.useTheme)(),{selectedShot:x}=(0,s.useContext)(u.XM),p=t?"colors.homeAway.home.primary":"colors.homeAway.away.primary";return(0,a.jsxs)(a.Fragment,{children:[void 0!==t&&(0,a.jsx)(r.so,{w:"100%",justify:"center",mt:"xs",children:(0,a.jsx)(o,{fill:h.onSurface.nLv2,isAway:!t})}),(0,a.jsx)(r.so,{justify:"center",children:(0,a.jsx)(r.az,{maxW:[2*c.Co+c.o_,void 0],w:"100%",children:(0,a.jsxs)(c.Ay,{children:[m.map(e=>{let r=(0,d.mK)(e,n);return void 0===t?(0,a.jsx)(l.b,{x:r.x,y:r.y,type:e.type,commentId:e.id},e.id):(0,a.jsx)(l.h,{x:r.x,y:r.y,type:e.type,color:p,commentId:e.id,backgroundOpacity:.25},e.id)}),x&&(0,a.jsx)(l.b,{...(0,d.mK)(x,n),type:x.type,commentId:x.id,isSelected:!0})]})})})]})}},85568:(e,t,n)=>{n.d(t,{U:()=>l});var a=n(6029),r=n(28349),s=n(13030),i=n(51372);let l=e=>{let{branding:t,location:n,entityId:l,...o}=e,{isDesktop:d}=(0,r.$c)();return d&&t?(0,a.jsx)(s.A.Header,{...o,variant:"left-aligned",actionComponent:(0,a.jsx)(i.O,{minW:"[140px]",px:"sm",br:"xs",branding:t,location:n,entityId:l})}):(0,a.jsx)(s.A.Header,{...o})}},86523:(e,t,n)=>{n.r(t),n.d(t,{LiveActionWidgetContainer:()=>_,default:()=>H});var a=n(6029),r=n(21377),s=n(28349),i=n(76356),l=n(55729),o=n(494),d=n(45860),c=n(48683),u=n(54409),m=n(19451),h=n(7263),x=n(99064),p=n(90248);let v=(0,l.forwardRef)((e,t)=>{let{width:n,eventId:l,toggleButton:o,options:d}=e;return(0,a.jsxs)(i.az,{ref:t,_fullscreen:{bg:"surface.s1"},children:[(0,a.jsx)(s.H3,{textAlign:"center",pt:"md",pb:"xs",children:(0,a.jsx)(p.A,{id:"event.liveAction"})}),(0,a.jsx)(i.az,{display:"table",m:"auto",py:"sm",children:(0,a.jsx)(i.az,{mx:"sm",children:(0,a.jsxs)(x.XI,{position:"relative",m:"auto",mb:"10px",children:[(0,a.jsx)("iframe",{src:(0,r.Lo9)(r.bnp.liveActionWidget(l,d)),style:{display:"block"},width:n,height:.49*n,frameBorder:"0",scrolling:"no"}),o]})})})]})});var g=n(62042);let f=(0,g.AH)({zIndex:"dropdown",bg:"surface.s1"}),j=(0,g.AH)({elevation:"2",position:"absolute",px:"lg",br:"lg",overflow:"hidden",cursor:"move"}),y=(0,g.AH)({mb:"md",br:"lg"}),b=(0,g.AH)({"& iframe":{pointerEvents:"none"}}),C=(e,t)=>(0,g.cx)(f,e&&j,!e&&y,t&&b),w=(0,i.I4)("div",{base:{position:"absolute",zIndex:"popover",_hover:{bg:"overlay.darken1"}}});function k(e,t,n,a){let r,s;function i(){document.onmouseup=null,document.onmousemove=null,n(!1),e&&e.clientWidth&&t(e.clientWidth)}function l(t){if(t.preventDefault(),t.stopPropagation(),e){let{horizontal:n,vertical:i,valence:l}=a;if(n){let n=e.offsetWidth+(t.clientX-r)*l;e.style.width="".concat(n,"px"),-1===l&&n>320&&n<800&&(e.style.left="".concat(e.offsetLeft+t.clientX-r,"px"))}if(i){let n=e.offsetHeight+(t.clientY-s)*l;e.style.height="".concat(n,"px"),-1===l&&n>520&&n<800&&(e.style.top="".concat(e.offsetTop+t.clientY-s,"px"))}r=t.clientX,s=t.clientY}}return function(e){e.preventDefault(),e.stopPropagation(),r=e.clientX,s=e.clientY,document.onmouseup=i,document.onmousemove=l,n(!0)}}let S=(e,t)=>{switch(t){case"lg":return 368;case"md":return 298;default:return e}},A=e=>{let{expanded:t,children:n}=e,r=(0,l.createRef)(),o=(0,l.createRef)(),d=(0,l.createRef)(),c=(0,l.createRef)(),u=(0,l.createRef)(),m=(0,l.createRef)(),h=(0,l.createRef)(),[x,p]=(0,l.useState)(0),[g,f]=(0,l.useState)(0),[j,y]=(0,l.useState)({x:0,y:0}),[b,A]=(0,l.useState)(!1),[_,H]=(0,l.useState)(!1),{mediaBreakpoint:I}=(0,s.$c)(),M=(0,l.useCallback)(e=>{e.preventDefault(),y({x:e.clientX,y:e.clientY}),A(!0)},[j,b]),T=(0,l.useCallback)(e=>{if(!b)return;let t=j.x-e.clientX,n=j.y-e.clientY;y({x:e.clientX,y:e.clientY});let a="".concat(e.currentTarget.offsetTop-n,"px"),r="".concat(e.currentTarget.offsetLeft-t,"px");e.currentTarget.style.top=a,e.currentTarget.style.left=r},[j,b]),R=(0,l.useCallback)(()=>{A(!1),document.body.style.pointerEvents=""},[j,b]);return(0,l.useEffect)(()=>{t&&(o.current&&(o.current.onmousedown=k(r.current,f,H,{vertical:!0,valence:-1})),d.current&&(d.current.onmousedown=k(r.current,f,H,{horizontal:!0,valence:1})),c.current&&(c.current.onmousedown=k(r.current,f,H,{vertical:!0,valence:1})),u.current&&(u.current.onmousedown=k(r.current,f,H,{horizontal:!0,valence:-1})),m.current&&(m.current.onmousedown=k(r.current,f,H,{horizontal:!0,vertical:!0,valence:1})),h.current&&(h.current.onmousedown=k(r.current,f,H,{horizontal:!0,vertical:!0,valence:-1}))),!t&&r.current&&(r.current.style.top="",r.current.style.left="",r.current.style.width="",r.current.style.height="")},[o.current,t]),(0,l.useEffect)(()=>{r.current&&(f(Math.min(640,document.body.offsetWidth)),x||p(r.current.clientWidth))},[r.current]),(0,a.jsxs)(i.az,{className:C(t,_),ref:r,onMouseDown:M,onMouseMove:b?T:void 0,onMouseUp:R,style:t?{width:g,minWidth:320,maxWidth:800,minHeight:520,maxHeight:800,height:500}:void 0,children:[t&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w,{ref:o,top:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,a.jsx)(w,{ref:d,top:"0",right:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,a.jsx)(w,{ref:c,bottom:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,a.jsx)(w,{ref:u,top:"0",left:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,a.jsx)(w,{ref:m,bottom:"0",right:"0",w:"md",h:"md",cursor:"se-resize"}),(0,a.jsx)(w,{ref:h,top:"0",left:"0",w:"md",h:"md",cursor:"nw-resize"})]}),(0,a.jsx)(i.az,{position:t?"absolute":void 0,bottom:t?"0":void 0,left:t?"0":void 0,width:t?"100%":void 0,height:t?"100%":void 0,children:l.Children.map(n,e=>e&&e.type===v?(0,l.cloneElement)(e,{...e.props,width:t?g-24:S(x-24,I)}):e)})]})};function _(e){let{eventId:t,modal:n,useNativeFullscreen:x,children:p}=e,{data:g}=(0,d.Ay)([r.bnp.liveActionWidget(t),"HEAD"],{fetcher:h.n}),[f,j]=(0,l.useState)(!1),[y,b]=(0,l.useState)(320),C=(0,l.createRef)(),[w,k]=(0,l.useState)(!1),S=(0,o.d4)(e=>e.locale.selectedLocale||m.Xn),_=(0,o.d4)(e=>e.locale.geoIPAlpha2),{isMobile:H}=(0,s.$c)(),I=(0,l.useMemo)(()=>{if((0,r.S$s)())return!1;let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;return x&&!t},[x]),M=(0,l.useCallback)(e=>{if(e){let e=C&&C.current;if(!e)return;let t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&((t=t.bind(e))(),screen.orientation&&screen.orientation.lock&&screen.orientation.lock("landscape"))}else{let e=document,t=e.exitFullscreen||e.webkitExitFullscreen||e.mozExitFullScreen||e.msExitFullscreen;t&&(t=t.bind(e))()}},[C,C.current]),T=(0,l.useCallback)(()=>{j(!f),x&&M(!f)},[C,C.current,f,j]);if((0,l.useEffect)(()=>{if(f&&C.current){let e=30;90===screen.orientation.angle&&(e=200),b(C.current.offsetWidth-e)}else b(320)},[C,C.current,f,b]),(0,l.useEffect)(()=>{x&&f&&C.current&&(w||(document.removeEventListener("fullscreenchange",e),document.addEventListener("fullscreenchange",e,{once:!0}),k(!0)));function e(){!0===document.fullscreen?(b(Math.max(window.screen.width,window.screen.height)),setTimeout(()=>{b(Math.max(window.screen.width,window.screen.height))},500)):!1===document.fullscreen&&(b(320),j(!1)),document.removeEventListener("fullscreenchange",e),k(!1)}},[C,C.current,f,b,w]),!g)return null;let R=(0,a.jsx)(v,{eventId:t,ref:C,width:y,toggleButton:I?null:(0,a.jsx)(i.ov,{backgroundColor:"overlay.darken2",position:"absolute",h:"2xl",w:"2xl",top:"sm",right:"sm",br:"50%",onClick:T,cursor:"pointer",_hover:{bg:"overlay.darken1"},children:(0,a.jsx)(u.L9n,{expanded:f,fill:"white"})}),options:{language:S,china:"cn"===_,mobile:H}});return n?(0,a.jsxs)(A,{expanded:f,setExpanded:j,children:[R,f&&p]}):(0,a.jsx)(c.Zp,{children:R})}let H=_},86890:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(6029),r=n(42181);function s({side:e,linesColor:t,isHorizontalLayout:n}){return(0,a.jsxs)(r.g9,Object.assign({side:e,isHorizontalLayout:n},{children:[(0,a.jsx)("div",Object.assign({className:"goal"},{children:(0,a.jsxs)("svg",Object.assign({version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 160 70",width:"160",height:"70"},{children:[(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",Object.assign({id:"cutoffRect"},{children:(0,a.jsx)("rect",{x:"0",y:"1",width:"160",height:"70"})}))}),(0,a.jsxs)("g",Object.assign({stroke:t,fill:"transparent",strokeWidth:"2"},{children:[(0,a.jsx)("rect",{clipPath:"url(#cutoffRect)",x:"1",y:"0",width:"158",height:"46"}),(0,a.jsx)("rect",{clipPath:"url(#cutoffRect)",x:"42",y:"0",width:"74",height:"24"}),(0,a.jsx)("path",{d:"M 39 46 A 50 50 0 0 0 119 46"})]}))]}))})),(0,a.jsx)("div",Object.assign({className:"c1"},{children:(0,a.jsx)("svg",Object.assign({viewBox:"0 0 14 14",height:"14",width:"14"},{children:(0,a.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"0",cy:"0",r:"12"})}))})),(0,a.jsx)("div",Object.assign({className:"c2"},{children:(0,a.jsx)("svg",Object.assign({viewBox:"0 0 14 14",height:"14",width:"14"},{children:(0,a.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"14",cy:"0",r:"12"})}))})),(0,a.jsx)("div",Object.assign({className:"center"},{children:(0,a.jsx)("svg",Object.assign({viewBox:"0 0 128 64",width:"128",height:"64"},{children:(0,a.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"64",cy:"64",r:"62"})}))}))]}))}},87526:(e,t,n)=>{n.d(t,{N:()=>_});var a=n(6029),r=n(947),s=n(28349),i=n(76356),l=n(55729),o=n(90248),d=n(54053),c=n(61836);let u=e=>{let{url:t,onClick:n}=e;return(0,a.jsx)(s.$n,{children:(0,a.jsx)(i.I4.a,{color:"onColor.primary",h:"100%",w:"100%",display:"flex",justifyContent:"center",alignItems:"center",href:t,target:"_blank",rel:"noopener",onClick:n,children:(0,a.jsx)(o.A,{id:"claim_offer"})})})},m=e=>{let{logoUrl:t,promotionName:n,bgImageUrl:r,title:m,description:h,isOpen:x,setIsOpen:p,url:v,location:g}=e,{isDesktop:f}=(0,s.$c)(),j={backgroundImage:"url(".concat(r,")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,l.useEffect)(()=>{x&&(0,c.Z1)({type:"bottom_sheet",name:n,location:g})},[x]),!x)return null;let y=()=>p(!1);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(d.A,{isOpen:x,setIsOpen:p,footer:null,renderAdPlaceholder:!1,sheetStyles:j,modalContentStyles:j,width:360,bottomSheetSize:"large",isBottomSheetLocked:!0,children:(0,a.jsxs)(i.so,{direction:"column",justifyContent:"space-between",h:"100%",style:f?j:void 0,br:"lg",children:[(0,a.jsx)(i.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,a.jsx)(i.az,{w:"4xl",h:"4xl",children:(0,a.jsx)(s._V,{src:t,h:"4xl",w:"4xl",alt:n})})}),(0,a.jsxs)(i.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,a.jsxs)(i.so,{direction:"column",gap:"lg",children:[(0,a.jsx)(i.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:m}),(0,a.jsx)(i.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:h})]}),(0,a.jsxs)(i.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,a.jsx)(u,{url:v,onClick:()=>{(0,c.AW)({type:"bottom_sheet",name:n,location:g}),y()}}),(0,a.jsx)(s.$n,{variant:"clear",color:"onColor.primary",onClick:y,children:(0,a.jsx)(o.A,{id:"maybe_later"})})]})]})]})})})};var h=n(66062);let x=e=>{let{isOpen:t,setIsOpen:n,location:s}=e,i=(0,r.A)();return(0,a.jsx)(m,{logoUrl:"/static/images/courtside-1891/logo.png",bgImageUrl:"/static/images/courtside-1891/modal-bg.png",promotionName:h.d.promotionName,title:i.formatMessage({id:"euro_basket_promo_drawer_header"}),description:i.formatMessage({id:"euro_basket_promo_drawer_body"}),url:h.d.url,isOpen:t,setIsOpen:n,location:s})};var p=n(83151),v=n(21501),g=n(494),f=n(41888),j=n(70116),y=n(10794),b=n(62827),C=n(83260),w=n(89606),k=n(32097);let S=(e,t)=>{let n=new Date().getTime();if(!e.hasModal||!e.modalCooldown||e.maxTotalViews&&(null==t?void 0:t.totalViews)&&e.maxTotalViews>t.totalViews)return!1;let a=null==t?void 0:t.lastView;return!a||n-a>e.modalCooldown},A=e=>{let t=(0,v.hX)(),{priorityModal:n,setModalAvailable:a,dismiss:r,isDismissed:s}=(0,j.Z)(),i=(0,g.d4)(y.LQ),[o,d]=(0,b.bL)("promotion-in-session",void 0),[c,u]=(0,l.useState)(!1),[m,x]=(0,l.useState)(!1),[p,A,_]=(0,C.A)("last-view-per-promotion",{}),H=t||!_?void 0:h.jI.find(n=>(0,w.y)(n,t,i)&&(0,k.H)(e,n)&&S(n,p[n.id]));return(0,l.useEffect)(()=>{H?a(f.w.PromotionModal,!0):n||s||a(f.w.PromotionModal,!1)},[H]),(0,l.useEffect)(()=>{if(n===f.w.PromotionModal&&H){let e=new Date().getTime();d(H.id),u(!0),x(!0),A(t=>{var n,a;let r=Object.keys(t).filter(e=>!!h.jI.find(t=>t.id===e)),s={};return r.forEach(e=>{s[e]=t[e]}),s[H.id]={lastView:e,totalViews:(null!=(a=null==(n=t[H.id])?void 0:n.totalViews)?a:0)+1},s})}},[n]),(0,l.useEffect)(()=>{!c&&m&&r()},[c]),{promotion:o,isOpen:c,setIsOpen:u}},_=e=>{let{page:t}=e,{promotion:n,isOpen:r,setIsOpen:s}=A(t);return n&&r&&n===p.v.Courtside1891?(0,a.jsx)(x,{isOpen:r,setIsOpen:s,location:t.location}):null}},90547:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(90142),r=n(6029),s=n(39895);function i(e){var{fillOpacity:t=".06"}=e,n=(0,a.T)(e,["fillOpacity"]);return(0,r.jsx)(s.A,Object.assign({width:24,height:24,viewBox:"0 0 24 24",fillOpacity:t},n,{children:(0,r.jsx)("path",{d:"M23.824 12c.097 0 .176.079.176.176v11.648a.176.176 0 0 1-.176.176H.176A.176.176 0 0 1 0 23.824v-5.648C0 18.08.079 18 .176 18h17.648a.176.176 0 0 0 .176-.176v-5.648c0-.097.079-.176.176-.176zm0-12c.097 0 .176.079.176.176v5.648a.176.176 0 0 1-.176.176H6.176A.176.176 0 0 0 6 6.176v5.648a.176.176 0 0 1-.176.176H.176A.176.176 0 0 1 0 11.824V.176C0 .08.079 0 .176 0z",fill:n.fill,fillRule:"evenodd"})}))}},90715:(e,t,n)=>{n.d(t,{V:()=>a});function a(e,t){if(11!==t.length)throw Error("getFormationMatrix(): Insufficient players to form formation ".concat(e,"."));let n=[],a=["1",...e.split("-")].map(Number),r=[...t];return a.forEach(e=>{n.push(r.splice(0,e))}),n}},91407:(e,t,n)=>{n.d(t,{t:()=>l});var a=n(64082),r=n(6029),s=n(21377),i=n(99064);let l=e=>{var{id:t,name:n,size:l=56,style:o,className:d,grayscale:c,isFantasy:u,placeholder:m="/static/images/placeholders/player.svg"}=e,h=(0,a.T)(e,["id","name","size","style","className","grayscale","isFantasy","placeholder"]);let x=h.w||h.width||l,p=h.h||h.height||l;return(0,r.jsx)(i._V,Object.assign({fallback:(0,r.jsx)(i._V,{style:{borderRadius:"50%"},w:x,h:p,src:m,alt:n}),src:t?s.qvj.image(t,u):"",alt:n,w:x,h:p,br:"50%",border:"onSurface.nLv4",style:o,className:d,isGrayscale:c},h))}},94446:(e,t,n)=>{n.d(t,{p:()=>r.p,t:()=>a.t});var a=n(91407),r=n(91603)},96003:(e,t,n)=>{n.d(t,{J:()=>a,x:()=>r});let a="bonus-odds-cta-seen",r="bet-boost-cta-seen"},97047:(e,t,n)=>{n.d(t,{WG:()=>c,YL:()=>m,_z:()=>u,lE:()=>s,o_:()=>i});var a=n(21377);let r={EN:"GB",SX:"GB",WA:"GB",NX:"GB"},s=e=>e&&(r[e]||e),i=e=>{if(e)return e===a.YT8.Male?"Male":e===a.YT8.Female?"Female":void 0},l={en:{35:"https://en.wikipedia.org/wiki/Manchester_United_F.C.",38:"https://en.wikipedia.org/wiki/Chelsea_F.C.",1644:"https://en.wikipedia.org/wiki/Paris_Saint-Germain_F.C.",2351:"https://en.wikipedia.org/wiki/Rangers_F.C.",2687:"https://en.wikipedia.org/wiki/Juventus_F.C.",2817:"https://en.wikipedia.org/wiki/FC_Barcelona"},pt:{1963:"https://pt.wikipedia.org/wiki/Sociedade_Esportiva_Palmeiras",1966:"https://pt.wikipedia.org/wiki/Sport_Club_Internacional",5926:"https://pt.wikipedia.org/wiki/Gr%C3%AAmio_Foot-Ball_Porto_Alegrense",5981:"https://pt.wikipedia.org/wiki/Clube_de_Regatas_do_Flamengo"}},o={en:{7:"https://en.wikipedia.org/wiki/UEFA_Champions_League",8:"https://en.wikipedia.org/wiki/La_Liga",17:"https://en.wikipedia.org/wiki/Premier_League",19:"https://en.wikipedia.org/wiki/FA_Cup",23:"https://en.wikipedia.org/wiki/Serie_A",34:"https://en.wikipedia.org/wiki/Ligue_1",36:"https://en.wikipedia.org/wiki/Scottish_Premiership",328:"https://en.wikipedia.org/wiki/Coppa_Italia",329:"https://en.wikipedia.org/wiki/Copa_del_Rey",332:"https://en.wikipedia.org/wiki/Scottish_League_Cup",335:"https://en.wikipedia.org/wiki/Coupe_de_France",347:"https://en.wikipedia.org/wiki/Scottish_Cup"},pt:{325:"https://pt.wikipedia.org/wiki/Campeonato_Brasileiro_de_Futebol",373:"https://pt.wikipedia.org/wiki/Copa_do_Brasil_de_Futebol",384:"https://pt.wikipedia.org/wiki/Copa_Libertadores_da_Am%C3%A9rica"}},d={pt:{358554:"https://pt.wikipedia.org/wiki/Gabriel_Barbosa",32891:"https://pt.wikipedia.org/wiki/Mauricio_Isla",840219:"https://pt.wikipedia.org/wiki/Pedro_Guilherme_Abreu_dos_Santos",795291:"https://pt.wikipedia.org/wiki/Bruno_Henrique_Pinto",822526:"https://en.wikipedia.org/wiki/Gabriel_Batista",950454:"https://pt.wikipedia.org/wiki/Hugo_de_Souza_Nogueira",804703:"https://pt.wikipedia.org/wiki/Bruno_Viana_Willemen_da_Silva",333587:"https://pt.wikipedia.org/wiki/Giorgian_De_Arrascaeta",242213:"https://pt.wikipedia.org/wiki/Willian_Ar%C3%A3o"}},c=(e,t)=>{var n;return null==(n=l[t])?void 0:n[e]},u=(e,t)=>{var n;return null==(n=o[t])?void 0:n[e]},m=(e,t)=>{var n;return null==(n=d[t])?void 0:n[e]}},98095:(e,t,n)=>{n.d(t,{j:()=>l});var a=n(4967),r=n(45860),s=n(86056);let i=e=>fetch(e,{method:"HEAD",cache:"no-store"});function l(){let{data:e,error:t,isLoading:n}=(0,r.Ay)(s.sp,{fetcher:i,dedupingInterval:a.d_});return{isLoading:n,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}}}]);