!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]="270ca8f4-258a-45ff-bf62-90de00020918",e._sentryDebugIdIdentifier="sentry-dbid-270ca8f4-258a-45ff-bf62-90de00020918")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[426,1712,2196,3003,3263,4894,6523,9979],{151:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});let r=e=>e.branding.config},1840:(e,t,n)=>{"use strict";n.d(t,{z:()=>x,K:()=>g});var r=n(6029),s=n(76356),a=n(55729),i=n(494),l=n(62859),o=n(77988),d=n(44194);let c=e=>{let{}=e;return(0,r.jsx)(d.EY,{display:"block",px:"lg",py:"sm",textStyle:"body.small",color:"neutrals.nLv3",textAlign:"center",children:"Juego Responsable - BAP: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-444-4000 BAC: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-666-6006"})};var u=n(44450),m=n(2294),p=n(10794);let h=e=>{let{provider:t}=e;return(0,r.jsx)(s.az,{position:"relative",px:"lg",py:"sm",children:(0,r.jsx)(o.A,{provider:t})})},x=e=>{let{showTailingRegulation:t,provider:n}=e,a=(0,i.d4)(p.LQ);return"GR"===a&&t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.so,{justify:"center",children:(0,r.jsx)(u.A,{})}),(0,r.jsx)(h,{provider:n})]}):"AR"===a?(0,r.jsxs)(s.BJ,{gap:"sm",children:[(0,r.jsx)(h,{provider:n}),(0,r.jsx)(c,{})]}):(0,r.jsx)(h,{provider:n})},g=e=>{let{showTailingRegulation:t,provider:n}=e,{event:s}=(0,a.useContext)(l.y$),o=(0,i.d4)((0,m.Ul)(s)),d=(0,i.d4)((0,m.bS)(s));return o||d?(0,r.jsx)(x,{showTailingRegulation:t,provider:n}):null}},4866:(e,t,n)=>{"use strict";n.d(t,{e:()=>s.e,w:()=>r.w});var r=n(53192),s=n(33480)},8960:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,d:()=>u});var r=n(21377),s=n(494),a=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:{}}),s=(null==n?void 0:n.boostId)?+n.boostId:void 0,l=null==t?void 0:t.betBoosts.find(e=>e.event.id===s),{data:o}=(0,a.Ay)(s&&!l?r.bnp.betBoost(s,e):null);return{selectedBoost:null==o?void 0:o.betBoost,selectedEventId:s}},u=()=>{let e=(0,s.d4)(o.LQ);return(0,s.d4)(l.Zw)&&"IT"!==e}},9922:(e,t,n)=>{var r=n(22346);e.exports=function(e){return r(e,5)}},10292:(e,t,n)=>{"use strict";n.d(t,{t:()=>r.t});var r=n(91407)},10426:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>q});var r=n(6029),s=n(32523),a=n(21377),i=n(55729),l=n(62859),o=n(75751),d=n(83457),c=n(44194),u=n(65789),m=n(99064),p=n(90248),h=n(8703),x=function(e){return e.All="all",e.KeyEvents="key-events",e}({});let g=e=>[a.QCR.AmericanFootball,a.QCR.Basketball].includes(e),v=e=>{let{selectedTab:t,onTabChange:n}=e,{event:s}=(0,i.useContext)(l.y$),a=g((0,h.c5)(s));return(0,r.jsx)(m.tU,{variant:"tertiary",initialValue:x.All,value:t,onChange:n,children:(0,r.jsxs)(m.tU.List,{p:"sm",elevation:[2,void 0],borderBottom:a?void 0:"onSurface.nLv4",bg:["surface.s1",void 0],children:[(0,r.jsx)(m.tU.Tab,{tabKey:x.All,children:(0,r.jsx)(p.A,{id:"basic.all"})}),(0,r.jsx)(m.tU.Tab,{tabKey:x.KeyEvents,children:(0,r.jsx)(p.A,{id:"commentary_key_events"})})]})})};var f=n(76356),j=n(87763),y=n(12047);let b=e=>{let{periods:t,selectedPeriod:n,onPeriodChange:s}=e,a=(0,i.useContext)(l.Ws),o=(0,y.Ay)();return t.length&&g(a)?(0,r.jsx)(m.PI,{top:o,bg:"surface.s1",zIndex:m.Py.Sticky-1,children:(0,r.jsx)(f.az,{p:"sm",bg:"surface.s1",borderBottom:"1px solid {colors.neutrals.nLv4}",children:(0,r.jsx)(m.tU,{variant:"secondary",initialValue:n,onChange:s,children:(0,r.jsx)(m.tU.List,{children:t.map(e=>(0,r.jsx)(m.tU.Tab,{tabKey:e,children:(0,r.jsx)(j.fP,{id:e,short:!0})},e))})})})}):null};var 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?a.bnp.commentary(e.id,t):null,(0,h.rf)(e));return{drives:null==n?void 0:n.drives}};var C=n(88836),_=n(98368);let A=e=>{let{event:t}=(0,i.useContext)(l.y$),n=e.isHome?t.homeTeam:t.awayTeam,r=e.player,s=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:r,title:s,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)}},T=e=>{let{comment:t}=e,{player:n,team:s,title:a,text:i,downDistance:l}=A(t);return(0,r.jsxs)(f.so,{children:[(0,r.jsx)(C.JJ,{comment:t}),(0,r.jsxs)(C.cH,{bg:"surface.s0",image:n&&(0,r.jsx)(C.Ez,{id:n.id,teamId:s.id}),players:[n],children:[a&&(0,r.jsx)(C.SI,{children:a}),i&&(0,r.jsx)(C.jv,{children:i}),l&&(0,r.jsx)(C.jv,{secondary:!0,children:l})]})]})},I=e=>{let{comments:t}=e;return(0,r.jsx)(f.so,{direction:"column",gap:"lg",p:"lg",children:t.map(e=>(0,r.jsx)(T,{comment:e},e.id))})};var L=n(33144),E=n(4967);let F=e=>{let{drive:t}=e;return(0,r.jsxs)(f.so,{gap:"lg",align:"center",children:[(0,r.jsx)(L.p,{id:t.teamId,w:32,h:32}),(0,r.jsxs)(f.so,{direction:"column",align:"flex-start",children:[(0,r.jsx)(c.EY,{textStyle:"display.medium",color:null!==t.endReason?"neutrals.nLv1":"status.live",children:t.endReason||(0,r.jsx)(p.A,{id:"inProgress"})}),(0,r.jsx)(c.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,r.jsx)(p.A,{id:"am_football_drive_summary",values:{plays:t.playCount,yards:t.netDriveYards,time:(0,E.OV)(t.durationSeconds)}})})]})]})},H=e=>{let{comment:t,drive:n,defaultOpened:s=!1}=e;return(0,r.jsxs)(m.nD.Item,{defaultOpened:s,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,r.jsx)(m.nD.Trigger,{children:(0,r.jsx)(F,{drive:n})}),(0,r.jsx)(m.nD.Content,{children:(0,r.jsx)(I,{comments:t})})]})},R=e=>{let{comment:t}=e,{player:n,team:s,title:a,text:i,downDistance:l}=A(t);return(0,r.jsxs)(f.so,{children:[(0,r.jsx)(C.JJ,{comment:t}),(0,r.jsxs)(C.cH,{image:n&&(0,r.jsx)(C.Ez,{id:n.id,teamId:s.id}),players:[n],elevation:{mdDown:"2"},children:[a&&(0,r.jsx)(C.SI,{children:a}),i&&(0,r.jsx)(C.jv,{children:i}),l&&(0,r.jsx)(C.jv,{secondary:!0,children:l})]})]})},B=e=>{let{comment:t}=e,{player:n,team:s,title:a,text:i,downDistance:l}=A(t);return(0,r.jsxs)(f.so,{br:"lg",elevation:{mdDown:"2"},bg:{mdDown:"surface.s1"},py:{md:"md"},px:{md:"lg"},children:[(0,r.jsx)(C.JJ,{comment:t}),(0,r.jsxs)(C.cH,{bg:{base:"surface.s1",md:"surface.s0"},image:n&&(0,r.jsx)(C.Ez,{id:n.id,teamId:s.id}),players:[n],children:[a&&(0,r.jsx)(C.SI,{children:a}),i&&(0,r.jsx)(C.jv,{children:i}),l&&(0,r.jsx)(C.jv,{secondary:!0,children:l})]})]})},P=e=>{let{selectedTab:t,selectedPeriod:n,comments:s,periods:a}=e,{drives:i}=S();if(t===x.KeyEvents)return(0,r.jsx)(f.so,{p:"md",direction:"column",gap:"md",children:s.map(e=>(0,r.jsx)(R,{comment:e},e.id))});let l=s.findIndex(e=>!!Array.isArray(e)||void 0!==e.driveId);return(0,r.jsx)(m.nD,{children:(0,r.jsxs)(f.so,{p:{mdDown:"md"},direction:"column",gap:{mdDown:"md"},children:[(0,r.jsx)(f.az,{hideBelow:"md",children:(0,r.jsx)(f.cG,{})}),s.map((e,t)=>{let s=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)}(s[0].driveId,i);return o?(0,r.jsx)(H,{comment:s,drive:o,defaultOpened:function(e,t,n){return 0!==e.length&&[e[0],e[e.length-1]].includes(t)&&n}(a||[],n,l===t)},s[0].id):(0,r.jsx)(B,{comment:s[0]},s[0].id)})]})})};var D=n(65078);let z={freeThrowMade:"basketball_free_throw_made",twoPointMade:"basketball_two_points_made",threePointMade:"basketball_three_points_made"},M=e=>{let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),{homeTeam:s,awayTeam:a}=n,o="ownGoal"===t.goalType,d="penalty"===t.goalType,c=!o&&!d,u=t.player,m=t.isHome?s.id:a.id;return u?(0,r.jsxs)(C.hF,{children:[(0,r.jsx)(C.JJ,{comment:t}),(0,r.jsxs)(C.cH,{image:(0,r.jsx)(C.Ez,{id:u.id,teamId:m}),players:[u],children:[(0,r.jsx)(C.SI,{isUppercase:c,children:c?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.A,{id:"goal"}),"!"]}):(0,r.jsx)(p.A,{id:t.goalType})}),(0,r.jsx)(C.jv,{children:t.text})]})]}):null},O=e=>{let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),s=t.isHome?n.homeTeam:n.awayTeam;return t.playerIn&&t.playerOut?(0,r.jsxs)(C.hF,{children:[(0,r.jsx)(C.JJ,{comment:t}),(0,r.jsxs)(C.cH,{image:(0,r.jsx)(L.p,{size:24,id:s.id,name:s.name}),players:[t.playerIn,t.playerOut],children:[(0,r.jsx)(C.SI,{children:(0,r.jsx)(p.A,{id:"substitution"})}),(0,r.jsxs)(C.Pc,{image:(0,r.jsx)(C.Ez,{id:t.playerIn.id,small:!0}),children:[t.playerIn.name,(0,r.jsxs)(c.EY,{ml:"2xs",textStyle:"body.small",color:"secondary.default",children:["(",(0,r.jsx)(p.A,{id:"substitution.in"}),")"]})]}),(0,r.jsxs)(C.Pc,{image:(0,r.jsx)(C.Ez,{id:t.playerOut.id,small:!0}),children:[t.playerOut.name,(0,r.jsxs)(c.EY,{ml:"2xs",textStyle:"body.small",color:"status.error.default",children:["(",(0,r.jsx)(p.A,{id:"substitution_out"}),")"]})]})]})]}):null};var Q=n(30566),W=n(20294);let Y={[a.QCR.Football]:e=>{let{comment:t}=e;switch(t.type){case"scoreChange":case"penaltyScored":return(0,r.jsx)(M,{comment:t});case"substitution":return(0,r.jsx)(O,{comment:t});default:return(0,r.jsx)(Q.b,{comment:t})}},[a.QCR.Basketball]:function(e){let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),[s,a]=(0,D.jr)(t,"homeScore","awayScore"),{isHome:o,player:d,playerIn:u,playerOut:m,goalkeeper:h}=t,x=void 0===o?void 0:o?n.homeTeam:n.awayTeam,g=d&&(0,r.jsx)(C.Ez,{id:d.id,teamId:null==x?void 0:x.id}),v=function(e){if("scoreChange"===e.type&&e.goalType)return z[e.goalType]}(t),f=t.text,j="scoreChange"===t.type&&!!(null==x?void 0:x.nameCode)&&void 0!==s&&void 0!==a;return(0,r.jsxs)(C.hF,{children:[(0,r.jsx)(C.JJ,{comment:t}),(0,r.jsxs)(C.cH,{image:g,players:[d,u,m,h],children:[v&&(0,r.jsx)(C.SI,{children:(0,r.jsx)(p.A,{id:v})}),f&&(0,r.jsx)(C.jv,{children:f}),j&&(0,r.jsx)(c.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:"".concat(x.nameCode," ").concat(s," - ").concat(a)})]})]})},[a.QCR.IceHockey]:W.y},N=e=>{let{comments:t}=e,n=Y[(0,i.useContext)(l.Ws)];return(0,r.jsx)(f.so,{p:"md",direction:"column",gap:"md",children:t.map(e=>(0,r.jsx)(n,{comment:e},e.id))})},K=e=>{let{selectedTab:t,selectedPeriod:n,comments:s,periods:o}=e;return(0,i.useContext)(l.Ws)===a.QCR.AmericanFootball?(0,r.jsx)(P,{selectedTab:t,selectedPeriod:n,comments:s,periods:o}):(0,r.jsx)(N,{comments:s})},U=e=>{let{selectedTab:t,selectedPeriod:n,comments:s,periods:o}=e,{isMobile:d}=(0,c.$c)(),{event:m,location:p}=(0,i.useContext)(l.y$),[g,v]=(0,i.useState)(!1),f=function(e,t,n){return t===x.KeyEvents?n.filter(e=>Object.values(a.zZK).includes(e.type)):e===a.QCR.AmericanFootball?function(e){let t=[],n=null,r=null;for(let s of e)void 0!==s.driveId?(s.driveId!==r&&(n=[],t.push(n),r=s.driveId),n&&n.push(s)):(t.push(s),r=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)(m),t,s),j=p&&[l.cb.EventPage].includes(p)&&f.length>10&&!d;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(K,{selectedTab:t,selectedPeriod:n,comments:function(e,t){return t?e:e.slice(0,10)}(f,g||d||p===l.cb.Widget),periods:o}),(0,r.jsx)(u.Zp.Footer,{ctaParams:j?{messageId:g?"show_less":"show_more",onClick:()=>v(e=>!e),icon:g?w.X.Up:w.X.Down}:void 0,defaultHeight:{base:"[0px]",md:"lg"}})]})},G=e=>{let{periodComments:t,periods:n}=e,s=(0,i.useContext)(l.Ws),{isDesktop:o}=(0,c.$c)(),{location:d}=(0,i.useContext)(l.y$),m=d===l.cb.Widget,[p,h]=(0,i.useState)(s===a.QCR.Basketball&&n.length?n[n.length-1]:"all"),[g,f]=(0,i.useState)(x.All),j=t[p];return(0,r.jsxs)(u.HH,{isCard:o&&!m,children:[!m&&(0,r.jsx)(u.Zp.Header,{titleId:"commentary",visibility:"desktop-only"}),(0,r.jsx)(b,{periods:n,selectedPeriod:p,onPeriodChange:h}),s!==a.QCR.Basketball&&(0,r.jsx)(v,{selectedTab:g,onTabChange:f}),(0,r.jsx)(U,{selectedTab:g,selectedPeriod:p,comments:j,periods:n})]})},q=()=>{let e=(0,i.useContext)(l.Ws),{textCommentary:t,periods:n}=(0,d.q)(e!==a.QCR.Basketball);return t?(0,r.jsx)(o.t,{tag:"TextCommentary",children:(0,r.jsx)(G,{periodComments:t,periods:n})}):(0,r.jsx)(s.E,{uniqueKey:"text-commentary-container-cl",rows:10,rowHeight:56,animate:!0})}},13731:(e,t,n)=>{var r=n(53325),s=n(25725),a=Object.prototype.hasOwnProperty;e.exports=s(function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])})},14444:(e,t,n)=>{"use strict";n.d(t,{b4:()=>h,V3:()=>l,HM:()=>j,k9:()=>d,HI:()=>o});var r=n(6029),s=n(55729),a=n(83260);let i=(0,s.createContext)(void 0),l=e=>{let{children:t,persistKey:n}=e,[s,l]=(0,a.A)(n,[]);return(0,r.jsx)(i.Provider,{value:{recentlySelected:s,setRecentlySelected:l},children:t})},o=()=>{let e=(0,s.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),r=[t,...n];e.setRecentlySelected(r)},removeFromRecentlySelected:t=>{let n=e.recentlySelected.filter(e=>e.id!==t.id);e.setRecentlySelected(n)}}};function d(e,t,n,r){return e.length?e.length===(null==n?void 0:n.length)&&e.length===(null==t?void 0:t.length)&&e.length===(null==r?void 0:r.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==r?void 0:r.map(e=>null!=e?e:"_").join(",")}:{ids:e.map(e=>null!=e?e:"_").join(",")}:{}}var c=n(94446),u=n(99064),m=n(54409),p=n(24159);let h=e=>{let{player:t,onPlayerClick:n,onRemoveClick:s}=e;return(0,r.jsxs)(u.so,{onClick:()=>n(t),h:"56px",align:"center",cursor:"pointer",children:[(0,r.jsx)(c.t,{id:t.id,name:t.name,size:40,grayscale:t.deceased}),(0,r.jsxs)(u.so,{direction:"column",justify:"center",h:"100%",gap:"xs",grow:1,pl:"sm",children:[(0,r.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",ellipsis:!0,maxW:["250px","130px"],children:(0,r.jsx)(p.c,{entity:t})}),(0,r.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,r.jsx)(c.p,{id:t.team.id,size:16}),(0,r.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,ellipsis:!0,maxW:["300px","120px"],children:(0,r.jsx)(p.c,{entity:t.team})})]})]}),void 0!==s&&(0,r.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==s||s(t)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,r.jsx)(m.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})};var x=n(49519),g=n(21377),v=n(98449),f=n(94604);let j=e=>{var t,n,s,a,i,l,o,d,c;let{team:p,onTeamClick:h,onRemoveClick:j}=e,y=(null==(t=p.sport)?void 0:t.slug)===g.QCR.Tennis;return(0,r.jsxs)(u.so,{gap:"sm",onClick:()=>h(p),align:"center",cursor:"pointer",py:"sm",children:[(0,r.jsx)(x.p,{id:p.id,name:p.name,size:40}),(0,r.jsxs)(u.so,{direction:"column",gap:"xs",grow:1,children:[(0,r.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,r.jsx)(f.Rm,{team:p,showFemaleSuffix:p.gender===g.YT8.Female&&!y})}),!p.national&&(null==(n=p.country)?void 0:n.slug)&&(null==(s=p.country)?void 0:s.name)&&!y&&(0,r.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,r.jsx)(x.w,{size:16,alpha2:null==(a=p.country)?void 0:a.alpha2,name:null==(i=p.country)?void 0:i.name}),(0,r.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,r.jsx)(v.m,{slug:p.country.slug,name:p.country.name})})]}),y&&p.country&&p.country.name&&(0,r.jsxs)(u.so,{align:"center",gap:"xs",children:[(0,r.jsx)(x.w,{size:16,alpha2:null==(l=p.country)?void 0:l.alpha2,name:null==(o=p.country)?void 0:o.name}),(0,r.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,r.jsx)(v.m,{name:p.country.name,slug:null!=(c=null==(d=p.country)?void 0:d.slug)?c:p.country.name})})]})]}),void 0!==j&&(0,r.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==j||j(p)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,r.jsx)(m.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})}},19643:(e,t,n)=>{"use strict";n.d(t,{N:()=>s});var r=n(93839);function s(e,t){return"en"===t||t===r.vo[e]}},19666:(e,t,n)=>{"use strict";n.d(t,{$M:()=>i,VX:()=>a,dR:()=>o,qL:()=>s,tR:()=>d});var r=n(55729);let s=(0,r.createContext)(null),a=s.Provider,i=()=>{let e=(0,r.useContext)(s);if(!e)throw Error();return e},l=(0,r.createContext)(void 0),o=l.Provider,d=()=>(0,r.useContext)(l)},22152:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(6029),s=n(21377),a=n(44194),i=n(76356),l=n(55729),o=n(90248),d=n(45860),c=n(65789),u=n(62859),m=n(63263);let p=(0,i.I4)("div",{base:{w:"lg",h:"lg",br:"sm"},variants:{isFilled:{true:{bg:"secondary.default"},false:{bg:"neutrals.nLv5",border:"1px solid {colors.neutrals.nLv4}"}}}}),h=e=>{let{isFilled:t}=e;return(0,r.jsx)(i.az,{px:"xs",py:"2xs",children:(0,r.jsx)(i.az,{w:"xl",h:"xl",br:"md",p:"xs",bg:"neutrals.nLv5",children:(0,r.jsx)(p,{isFilled:t})})})};function x(e){let{dots:t,dotsColored:n=0,isReversed:s}=e,a=[];for(let e=0;e{"use strict";n.d(t,{Y:()=>c});var r=n(6029),s=n(21377),a=n(947),i=n(494),l=n(25540),o=n(49254),d=n(10794);let c=e=>{let{utId:t,location:n,bgImageUrl:c,isInverseDesktop:u}=e,m=(0,i.d4)(d.LQ),p=(0,a.A)();return m&&o.p.includes(m)&&t===s.G6l.NBA?(0,r.jsx)(l.Q,{banner:{copy:{action:p.formatMessage({id:"link_visit_nba"}),description:p.formatMessage({id:"banner_nba_league_pass_description"}),sectionTitle:p.formatMessage({id:"banner_nba_league_pass_title"})},type:s.$pL.LogoBanner,background:s.jae.EntityHeader,detailImageUrl:{ltr:"/static/images/nba-league-pass/league-pass-logo.svg",rtl:"/static/images/nba-league-pass/league-pass-logo.svg"},campaignName:"nba_league_pass",url:"https://nba.sjv.io/c/5441787/2176796/16284"},isInverseDesktop:u,bgImageUrl:c,location:n}):null}},25540:(e,t,n)=>{"use strict";n.d(t,{Q:()=>_});var r=n(6029),s=n(21377),a=n(44194),i=n(76356),l=n(78383),o=n.n(l),d=n(54409),c=n(1815);let u=(e,t,n)=>{let r={filter:"blur(50px)",transform:"scale(1.5)"};return"string"==typeof e?{backgroundImage:"url(".concat(e,")"),backgroundSize:n?"cover":"100% 100%",backgroundRepeat:"no-repeat",...r}:{backgroundImage:t?"url(".concat(e[1],"), url(").concat(e[0],")"):"url(".concat(e[0],"), url(").concat(e[1],")"),backgroundSize:"50% 100%, 50% 100%",backgroundPosition:"center left, center right",backgroundRepeat:"no-repeat, no-repeat",...r}},m=e=>{let{url:t,isInverseDesktop:n,isSpecial:s}=e,{textDirection:l}=(0,a.$c)(),o="rtl"===l;return t?s?(0,r.jsx)(i.az,{position:"absolute",bg:"graphics.dark",inset:"0",br:{base:"lg",md:n?"lg":"xl"},overflow:"hidden",children:(0,r.jsx)(i.az,{height:"100%",width:"100%",br:{base:"lg",md:n?"lg":"xl"},overflow:"hidden",style:u(t,o,s),children:(0,r.jsx)(i.az,{height:"100%",width:"100%",bg:"overlay.darken1"})})}):(0,r.jsx)(i.az,{position:"absolute",inset:"0",bg:"overlay.darken2",br:{base:"lg",md:n?"lg":"xl"},overflow:"hidden",children:(0,r.jsx)(i.az,{height:"100%",width:"100%",br:{base:"lg",md:n?"lg":"xl"},overflow:"hidden",style:u(t,o)})}):null},p=e=>{let{banner:t}=e;return t.url?(0,r.jsx)(d.HW5,{h:16,w:16,fill:t.background===s.jae.Surface?"primary.default":"onColor.primary"}):(0,r.jsx)(d.CCT,{h:16,w:16,fill:t.background===s.jae.Surface?"primary.default":"onColor.primary"})},h=e=>{let{banner:t}=e;return(0,r.jsxs)(a.$n,{size:"tertiary",px:"sm",title:t.copy.action,variant:"clear",color:t.background===s.jae.Surface?"primary.default":"onColor.primary",children:[(0,r.jsx)("span",{children:t.copy.action}),(0,r.jsx)(p,{banner:t})]})};var x=n(55729),g=n(54053);let v=e=>{let{banner:t}=e,[n,l]=(0,x.useState)(!1);return t.regulative?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.FFV,{h:16,w:16,fill:t.background===s.jae.Surface?"onSurface.nLv1":"onColor.primary",onClick:e=>{l(e=>!e),e.preventDefault(),e.stopPropagation()}}),n&&(0,r.jsx)(g.A,{isOpen:n,setIsOpen:l,header:(0,r.jsx)(i.az,{pt:"xs",pb:"sm",px:"lg",mt:{md:"lg"},children:(0,r.jsx)(a.EY,{textStyle:"display.large",children:t.copy.sectionTitle})}),children:(0,r.jsx)(i.az,{pb:"sm",px:"lg",pt:{md:"sm"},children:(0,r.jsx)(a.EY,{textStyle:"body.medium",children:t.regulative})})})]}):null},f=e=>{let{banner:t}=e,{textDirection:n}=(0,a.$c)(),l="rtl"===n,o=l&&t.detailImageUrl.rtl?t.detailImageUrl.rtl:t.detailImageUrl.ltr;return(0,r.jsxs)(i.so,{position:"relative",children:[(0,r.jsxs)(i.az,{w:"2xl",py:"lg",flexGrow:1,children:[(0,r.jsxs)(i.az,{ps:"lg",children:[(0,r.jsxs)(i.so,{gap:"xs",children:[(0,r.jsx)(a.EY,{display:"block",textStyle:"display.small",color:t.background===s.jae.Surface?"neutrals.nLv1":"onColor.primary",children:t.copy.sectionTitle}),(0,r.jsx)(v,{banner:t})]}),(0,r.jsx)(a.EY,{display:"block",textStyle:"assistive.default",color:t.background===s.jae.Surface?"neutrals.nLv3":"onColor.secondary",mt:"xs",children:t.copy.description})]}),(0,r.jsx)(i.az,{pt:"md",px:"sm",children:(0,r.jsx)(h,{banner:t})})]}),(0,r.jsx)(i.az,{w:"2xl",flexGrow:1,style:{backgroundImage:"url(".concat(o,")"),backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPositionX:l?"left":"right",backgroundPositionY:"bottom"}})]})},j=e=>{let{banner:t}=e;return(0,r.jsxs)(i.so,{py:"lg",justify:"space-between",align:"center",overflow:"hidden",position:"relative",children:[(0,r.jsxs)(i.az,{flexGrow:2,w:"10xl",children:[(0,r.jsxs)(i.az,{ps:"lg",children:[(0,r.jsxs)(i.so,{gap:"xs",children:[(0,r.jsx)(a.EY,{display:"block",textStyle:"display.small",color:t.background===s.jae.Surface?"neutrals.nLv1":"onColor.primary",children:t.copy.sectionTitle}),(0,r.jsx)(v,{banner:t})]}),(0,r.jsx)(a.EY,{display:"block",textStyle:"assistive.default",color:t.background===s.jae.Surface?"neutrals.nLv3":"onColor.secondary",mt:"xs",children:t.copy.description})]}),(0,r.jsx)(i.az,{pt:"md",px:"sm",children:(0,r.jsx)(h,{banner:t})})]}),(0,r.jsx)(i.so,{justify:"center",flexGrow:1,w:"4xl",children:(0,r.jsx)(i.I4.img,{src:t.detailImageUrl.ltr,height:"4xl",width:"4xl"})})]})};var y=n(61836),b=n(62827),w=n(91888),k=n(13030);let S=e=>{let{banner:t}=e;switch(e.banner.type){case s.$pL.CreativeBanner:return(0,r.jsx)(f,{banner:t});case s.$pL.LogoBanner:default:return(0,r.jsx)(j,{banner:t})}},C=e=>{let{children:t,...n}=e,{banner:s,location:a}=n;return s.url&&a?(0,r.jsx)("a",{href:s.url,target:"_blank",rel:"noopener",onClick:()=>(0,y.AW)({type:"banner",name:s.campaignName,location:a,id:s.id}),children:t}):(0,r.jsx)(r.Fragment,{children:t})},_=e=>{let{banner:t,bgImageUrl:n,isInverseDesktop:l,children:u,location:p,onClick:h,isSpecialBg:x}=e,[g,v]=(0,b.bL)((0,w.A)(t.campaignName,t.id),!1),f=(0,c.e)(p?()=>(0,y.Z1)({type:"banner",name:t.campaignName,location:p,id:t.id}):o(),{sendInterval:3e4});return g?null:(0,r.jsx)(i.az,{ref:f,overflow:"hidden",position:"relative",br:{base:"lg",md:l?"lg":"xl"},onClick:h,children:(0,r.jsx)(C,{...e,children:(0,r.jsxs)(k.A,{isInverseDesktop:l,children:[n&&t.background===s.jae.EntityHeader?(0,r.jsx)(m,{url:n,isInverseDesktop:l,isSpecial:x}):u,(0,r.jsx)(S,{...e}),(0,r.jsx)(a.K0,{variant:"clear",onClick:e=>{v(!0),e.preventDefault(),e.stopPropagation()},position:"absolute",top:"xs",insetEnd:"xs",children:(0,r.jsx)(d.zQC,{icon:"close",h:16,w:16,fill:t.background===s.jae.Surface?"onSurface.nLv1":"onColor.primary"})})]})})})}},25725:(e,t,n)=>{var r=n(81648),s=n(78492),a=n(68988),i=n(91544);e.exports=function(e,t){return function(n,l){var o=i(n)?r:s,d=t?t():{};return o(n,e,a(l,2),d)}}},31215:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6029),s=n(73045),a=n(44194),i=n(76356),l=n(90248);function o(e){let{tournamentName:t,tournamentId:n,uniqueTournamentId:o,hideLogo:d,isLive:c,mobileOnly:u}=e;return(0,r.jsx)(i.az,{hideBelow:u?"md":void 0,children:(0,r.jsxs)(i.so,{px:"sm",pt:"sm",gap:"lg",justify:"space-between",align:"center",children:[(0,r.jsxs)(i.so,{gap:"lg",align:"center",children:[!d&&(o?(0,r.jsx)(s.e,{id:o,size:40}):(0,r.jsx)(s.l,{id:n,size:40})),(0,r.jsx)(a.EY,{textStyle:"display.large",lineClamp:2,children:t})]}),c&&(0,r.jsxs)(i.so,{align:"center",children:[(0,r.jsx)(i.az,{w:"sm",h:"sm",bg:"status.live",br:"50%",mr:"sm"}),(0,r.jsx)(a.EY,{lineHeight:"8px",textStyle:"body.small",color:"status.live",display:"block",children:(0,r.jsx)(l.A,{id:"live"})})]})]})})}},31229:(e,t,n)=>{"use strict";n.d(t,{U:()=>m});var r=n(6029),s=n(21377),a=n(55729),i=n(494),l=n(62859),o=n(8703),d=n(65078),c=n(10794),u=n(94604);let m=()=>{let{event:e,leftTeam:t,rightTeam:n}=(0,a.useContext)(l.y$),m=(0,o.c5)(e),p=(0,d.g3)(),h=(0,r.jsx)(u.Rm,{team:t,short:m===s.QCR.Tennis}),x=(0,r.jsx)(u.Rm,{team:n,short:m===s.QCR.Tennis}),g="ar"===(0,i.d4)(c.JV);return(0,r.jsxs)(r.Fragment,{children:[g?x:h," ",m===s.QCR.MMA?"vs":g?"ضد":p?"@":"-"," ",g?h:x]})}},31712:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>z});var r=n(6029),s=n(18612),a=n(21377),i=n(99064),l=n(90248),o=n(45860),d=n(8703),c=n(33144),u=n(55729),m=n(947),p=n(65789),h=n(54409),x=n(80224),g=n(26331),v=n(84942),f=n(98516),j=n(70591);let y=e=>{let{id:t,scores:n,isHeader:s,mouseoverTitles:a}=e;return(0,r.jsx)(i.so,{children:n.map((e,n)=>(0,r.jsx)(i.EY,{font:s?"assistive.default":"table.medium",color:s?"onSurface.nLv3":"onSurface.nLv1",w:32,align:"center",as:"div",title:null==a?void 0:a[n],children:e||0},"score-".concat(n,"-").concat(t)))})},b=e=>{let{player:t,displayValue:n,secondary:s,classic:l,addSlash:o}=e;if(!n&&!(null==t?void 0:t.name))return null;let d=(0,r.jsxs)(i.EY,{font:"table.medium",color:s?"onSurface.nLv3":"onSurface.nLv1",hover:!!l&&!!t,ellipsis:!0,as:"div",children:[n||(null==t?void 0:t.name),o&&(0,r.jsx)(i.EY,{font:"table.medium",color:s?"onSurface.nLv3":"onSurface.nLv1",px:"xs",children:"/"})]});return(0,r.jsx)(i.az,{overflow:"hidden",h:16,children:t?(0,r.jsx)(j.uc,{player:t,sportSlug:a.QCR.Cricket,style:{overflow:"hidden"},children:d}):d})};var w=n(41735),k=n(50154);let S=(0,w.default)(i.AM.Content).withConfig({componentId:"sc-5e14c19b-0"})(["::after{content:'';display:block;position:absolute;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent;border-right:8px solid ",";top:-14px;right:96px;transform:rotate(90deg);filter:drop-shadow(-2px 0px 2px ",");}"],e=>e.theme.colors.surface.sp,e=>e.theme.colors.effect.elevation1),C=e=>{let{title:t,labels:n,mouseoverTitles:s}=e,a=(0,r.jsxs)(i.so,{px:"lg",py:"xs",justify:"space-between",cursor:s?"pointer":void 0,userSelect:"none",children:[(0,r.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv3",children:t}),(0,r.jsx)(y,{scores:n,isHeader:!0,mouseoverTitles:s})]});return s?(0,r.jsx)(i.AM,{closeOnOutsideClick:!0,closeOnInsideClick:!0,trigger:a,children:(0,r.jsx)(S,{right:32*n.length-100,w:200,br:"xs",p:"lg",elevation:3,children:n.map((e,t)=>(0,r.jsxs)(i.so,{align:"center",h:32,children:[(0,r.jsx)(i.EY,{w:36,as:"div",color:"onSurface.nLv3",font:"assistive.default",children:e})," ",(0,r.jsx)(i.az,{grow:1,children:(0,r.jsx)(i.EY,{as:"div",color:"onSurface.nLv1",font:"body.small",children:(0,r.jsx)(l.A,{id:s[t]})})})]},e))})}):a},_=e=>{let{ordinalLabel:t,playerLabel:n,statLabels:s}=e;return(0,r.jsxs)(i.so,{px:"lg",py:"xs",gap:"lg",justify:"space-between",children:[(0,r.jsx)(i.EY,{w:24,font:"assistive.default",color:"onSurface.nLv3",align:"center",as:"div",children:t}),(0,r.jsx)(i.az,{grow:1,children:(0,r.jsx)(i.EY,{font:"assistive.default",color:"onSurface.nLv3",as:"div",children:n})}),s.map(e=>(0,r.jsx)(i.EY,{w:48,font:"assistive.default",color:"onSurface.nLv3",align:"center",as:"div",children:(0,r.jsx)(l.A,{id:e})},e))]})},A=e=>{let{ordinal:t,batter:n,partnerOne:s,partnerTwo:a,score:l,over:o,classicLinks:d}=e,[c,m]=(0,u.useState)(),p=[null==n?void 0:n.player,s,a].filter(e=>!!e),{isAdsTestTreatment:h}=(0,k.Q)(),g=e=>{!(p.length<2)&&(!1===e?m(void 0):c||m(p))};return(0,r.jsxs)(i.so,{position:"relative",h:48,px:"lg",gap:"lg",justify:"space-between",align:"center",hoverBg:p.length?"surface.s2":"transparent",cursor:"pointer",onClick:()=>g(!0),children:[(0,r.jsx)(i.EY,{minW:24,w:24,font:"table.medium",color:"onSurface.nLv1",align:"center",as:"div",children:t}),(0,r.jsxs)(i.so,{grow:1,wrap:"wrap",overflow:"hidden",minW:["auto","auto",h?"auto":232],children:[n&&!s&&!a&&(0,r.jsx)(b,{displayValue:null==n?void 0:n.playerName}),s&&(0,r.jsx)(b,{displayValue:s.name,classic:d,addSlash:!!a}),a&&(0,r.jsx)(b,{displayValue:a.name,classic:d})]}),(0,r.jsx)(i.EY,{minW:48,w:48,font:"table.medium",color:"onSurface.nLv1",align:"center",as:"div",children:l}),(0,r.jsx)(i.EY,{minW:48,w:48,font:"table.medium",color:"onSurface.nLv1",align:"center",as:"div",children:o}),p.length>1&&(0,r.jsx)(x.A,{isOpen:!!(null==c?void 0:c.length),setIsOpen:e=>{g(e)},players:p})]})},T=e=>{let t,n,r=t=>({player:e.wicketBowler,displayValue:e.wicketBowlerName?"b ".concat(e.wicketBowlerName," ").concat(t&&e.wicketTypeName||""):""}),s=t=>({player:e.wicketCatch,displayValue:e.wicketCatchName?"".concat(t," ").concat(e.wicketCatchName):""});switch(e.wicketTypeId){case 1:case 2:t=r(!0);break;case 3:t=s("c"),n=r(!1);break;case 4:t=s("st"),n=r(!1);break;case 5:t=s("c(sub)"),n={player:void 0,displayValue:"b ".concat(e.wicketTypeName||"")};break;case 6:t=s("c & b ");break;case 14:t=s("c(sub)"),n=r(!1);break;case 15:t=s("c"),n={player:void 0,displayValue:e.wicketTypeName};break;default:t={player:void 0,displayValue:e.wicketTypeName}}return{first:t,second:n}},I=e=>{let{batter:t,isCurrent:n}=e,[s,a]=(0,u.useState)(),l=[t.score,t.balls,t.s4,t.s6,t.balls&&t.score?(0,f.M)(t.score/t.balls*100,2):"0.00 "],{first:o,second:d}=T(t),c=[t.player,null==o?void 0:o.player,null==d?void 0:d.player].filter(e=>!!e),m=e=>{!1===e?a(void 0):s||a(c)};return(0,r.jsxs)(i.so,{position:"relative",h:(null==d?void 0:d.displayValue)?72:56,pl:"lg",pr:"lg",align:"center",justify:"space-between",bg:n?"primary.highlight":"transparent",hoverBg:"surface.s2",cursor:"pointer",onClick:()=>m(!0),children:[n&&(0,r.jsx)(i.az,{position:"absolute",top:0,left:0,h:"100%",w:"4px",bg:"primary.default"}),(0,r.jsxs)(i.so,{align:"flex-start",direction:"column",overflow:"hidden",flex:"1 1 auto",children:[(0,r.jsxs)(i.so,{justify:"flex-start",gap:"xs",overflow:"hidden",children:[(0,r.jsx)(b,{displayValue:t.playerName,classic:!0}),n&&(0,r.jsx)(h.BM3,{width:16,height:16,fill:"sofaSingles.live",ml:"xs",style:{marginTop:0}})]}),o.displayValue&&(0,r.jsx)(b,{displayValue:o.displayValue,secondary:!0,classic:!0}),(null==d?void 0:d.displayValue)&&(0,r.jsx)(b,{displayValue:d.displayValue,secondary:!0,classic:!0})]}),(0,r.jsx)(y,{scores:l}),(0,r.jsx)(x.A,{isOpen:!!(null==s?void 0:s.length),setIsOpen:e=>{m(e)},players:c})]})};function L(e){let{inning:t}=e,n=(0,m.A)(),s=(0,g.A)(),a=null==t?void 0:t.battingLine.filter(e=>9!==e.wicketTypeId),o=null==t?void 0:t.battingLine.filter(e=>9===e.wicketTypeId);if(a.length+o.length===0)return null;let d=t.wickets&&t.wickets<10?"/".concat(t.wickets):"";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,r.jsxs)(i.az,{py:"sm",children:[a.length>0&&(0,r.jsxs)(i.az,{children:[(0,r.jsx)(C,{title:n.formatMessage({id:"cricket.batter"}),labels:["R","B","4s","6s","SR"],mouseoverTitles:[n.formatMessage({id:"runs"}),n.formatMessage({id:"details.balls"}),n.formatMessage({id:"cricket_fours_info"}),n.formatMessage({id:"cricket_sixes_info"}),n.formatMessage({id:"cricket_strike_rate"})]}),a.map((e,n)=>{var s;return(0,r.jsx)(I,{batter:e,isCurrent:(null==(s=t.currentBatter)?void 0:s.id)===e.player.id},"batter-".concat(n))})]}),(0,r.jsxs)(i.so,{py:"sm",px:"lg",gap:"xs",justify:"space-between",children:[(0,r.jsxs)(i.EY,{w:"64px",pr:"xs",font:"table.medium",color:"onSurface.nLv1",children:[(0,r.jsx)(l.A,{id:"details.extras"}),": ",t.extra]}),(0,r.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["W: ",t.wide]}),(0,r.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["N: ",t.noBall]}),(0,r.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["B: ",t.bye]}),(0,r.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["LB: ",t.legBye]}),(0,r.jsxs)(i.EY,{w:"48px",font:"table.medium",color:"onSurface.nLv1",children:["P: ",t.penalty]})]}),(0,r.jsxs)(i.EY,{px:"lg",py:"sm",font:"table.medium",color:"onSurface.nLv1",as:"div",children:[(0,r.jsx)(l.A,{id:"details.total"}),": ",t.score,d," (",t.overs,")"]})]})}),o.length>0&&(0,r.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,r.jsxs)(i.az,{py:"lg",children:[(0,r.jsxs)(i.EY,{px:"lg",font:"display.small",color:"onSurface.nLv1",as:"div",children:[(0,r.jsx)(l.A,{id:"cricket.didNotBat"}),":"]}),(0,r.jsx)(i.EY,{px:"lg",pt:"lg",font:"body.small",color:"onSurface.nLv1",as:"div",children:o.map(e=>(0,v.s)(e.player,s)).join(", ")})]})})]})}let E=e=>{let{bowler:t,isCurrent:n}=e,s=[t.over,t.maiden,t.run,t.wicket,t.noBall,t.wide,t.over&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=String(t).split("."),r=Number(n[0]),s=n.length>1?Number(n[1]):0;return(0,f.M)(e/(r+s/6),2)}(t.run,t.over)];return(0,r.jsxs)(i.so,{position:"relative",h:48,pl:"lg",pr:"lg",align:"center",justify:"space-between",bg:n?"secondary.highlight":"transparent",hoverBg:"surface.s2",children:[n&&(0,r.jsx)(i.az,{position:"absolute",top:0,left:0,h:"100%",w:"4px",bg:"secondary.default"}),(0,r.jsxs)(i.so,{align:"center",overflow:"hidden",children:[(0,r.jsx)(b,{player:t.player,displayValue:t.playerName}),n&&(0,r.jsx)(h.Pvq,{width:16,height:16,fill:"sofaSingles.live",ml:"xs"})]}),(0,r.jsx)(y,{scores:s})]})};function F(e){let{inning:t}=e,n=(0,m.A)();return t.bowlingLine.length?(0,r.jsxs)(i.az,{py:"sm",children:[(0,r.jsx)(C,{title:n.formatMessage({id:"cricket.bowler"}),labels:["O","M","R","W","NB","WD","E/R"],mouseoverTitles:[n.formatMessage({id:"cricket.overs"}),n.formatMessage({id:"cricket_maidens"}),n.formatMessage({id:"runs"}),n.formatMessage({id:"wickets"}),n.formatMessage({id:"cricket_no_ball"}),n.formatMessage({id:"cricket_wide_ball"}),n.formatMessage({id:"economyRate"})]}),t.bowlingLine.map((e,n)=>{var s;let a=e.player.id?j.uc:i.az;return(0,r.jsx)(a,{player:e.player,children:(0,r.jsx)(E,{bowler:e,isCurrent:(null==(s=t.currentBowler)?void 0:s.id)===e.player.id},"bowler-".concat(n))},e.player.id)})]}):null}function H(e){let{fallOfWicketLine:t}=e,n=(0,m.A)();return t.length?(0,r.jsxs)(i.az,{py:"sm",children:[(0,r.jsx)(_,{ordinalLabel:n.formatMessage({id:"score.cricketShort"}),playerLabel:n.formatMessage({id:"cricket.fallOfWicket"}),statLabels:["details.score","over"]}),t.map((e,t)=>{let n=e.player.id?j.uc:i.az;return(0,r.jsx)(n,{player:e.player,children:(0,r.jsx)(A,{ordinal:t+1,batter:e,score:"".concat(e.fowScore,"-").concat(t+1),over:e.fowOver||"-"})},e.player.id)})]}):null}function R(e){let{fallOfWicketLine:t}=e;return t.length?(0,r.jsxs)(i.az,{py:"sm",children:[(0,r.jsxs)(i.EY,{px:"lg",py:"sm",font:"display.small",color:"onSurface.nLv1",as:"div",children:[(0,r.jsx)(l.A,{id:"cricket.fallOfWicket"}),":"]}),(0,r.jsx)(i.EY,{px:"lg",py:"sm",font:"body.small",color:"onSurface.nLv1",as:"div",children:t.map((e,t)=>"".concat(t+1,"-").concat(e.fowScore," (").concat(e.playerName||e.player.name||"",", ").concat(e.fowOver," ov)")).join(", ")})]}):null}function B(e){var t;let{inning:n}=e,s=(0,m.A)();return(null==n||null==(t=n.partnerships)?void 0:t.length)?(0,r.jsxs)(i.az,{py:"sm",children:[(0,r.jsx)(_,{ordinalLabel:"-",playerLabel:s.formatMessage({id:"details.partnership"}),statLabels:["runs","details.balls"]}),n.partnerships.map((e,t)=>(0,r.jsx)(A,{ordinal:t+1,partnerOne:e.player1,partnerTwo:e.player2,score:"number"==typeof e.score?e.score:"-",over:"number"==typeof e.balls?e.balls:"-",classicLinks:!0},"partnership-".concat(t)))]}):null}function P(e){var t,n;let{innings:s,isLive:a}=e,[l,o]=(0,u.useState)(a?s.length-1:0),d=(0,m.A)(),h=(0,u.useMemo)(()=>{let e=[],t={};return s.forEach(n=>{if(n.superOver){let t=d.formatMessage({id:"cricket_super_over_number"},{n:n.superOver});e.push("".concat(n.battingTeam.name," ").concat(t));return}t[n.battingTeam.id]?t[n.battingTeam.id]+=1:t[n.battingTeam.id]=1;let r=d.formatMessage({id:"ordinalInning"},{n:t[n.battingTeam.id]}),s="".concat(n.battingTeam.name," ").concat(r);e.push(s)}),e},[s]),x=s.map((e,t)=>({name:h[t],battingTeamName:e.battingTeam.name,battingTeamId:e.battingTeam.id})),g=(null!=(n=null==(t=s[l])?void 0:t.battingLine)?n:[]).filter(e=>{var t,n;return(null!=(t=e.fowOver)?t:0)>0||(null!=(n=e.fowScore)?n:0)>0}).sort((e,t)=>{var n,r,s,a;return e.fowScore!==t.fowScore?(null!=(n=e.fowScore)?n:0)-(null!=(r=t.fowScore)?r:0):e.fowOver===t.fowOver?0:(null!=(s=e.fowOver)?s:0)-(null!=(a=t.fowOver)?a:0)});return(0,r.jsx)(i.az,{children:(0,r.jsxs)(i.so,{direction:"column",gap:"sm",children:[(0,r.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,r.jsx)(i.ms,{items:x,renderItem:e=>(0,r.jsxs)(i.so,{align:"center",children:[(0,r.jsx)(c.p,{id:e.battingTeamId,name:e.battingTeamName,size:24}),(0,r.jsx)(i.EY,{ml:"sm",font:"body.medium",color:"onSurface.nLv1",children:e.name})]}),selectedItem:x[l],onSelectedItemChange:e=>o(e.selectedItemIndex||0),buttonStyle:{backgroundColor:"transparent",padding:12,borderRadius:16,width:"100%"}})}),(0,r.jsx)(L,{inning:s[l]}),(0,r.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,r.jsx)(R,{fallOfWicketLine:g})}),(0,r.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,r.jsx)(F,{inning:s[l]})}),(0,r.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,r.jsx)(H,{fallOfWicketLine:g})}),(0,r.jsx)(p.Zp,{isInverseDesktop:!0,children:(0,r.jsx)(B,{inning:s[l]})})]})})}let D=e=>{let{style:t,...n}=e;return(0,r.jsxs)(i.az,{p:"sm",pt:"0",...n,children:[(0,r.jsx)(i.EY,{lineHeight:"24px",font:"display.medium",color:"onSurface.nLv1",align:"center",pt:"md",mb:"xs",as:"div",children:(0,r.jsx)(l.A,{id:"innings"})}),(0,r.jsx)(i.az,{p:"sm",children:(0,r.jsx)(i.az,{bg:"surface.s2",br:"lg",h:48})}),(0,r.jsx)(i.az,{h:24}),(0,r.jsx)(s.D,{height:680,uniqueKey:"cricket-cl",children:Array(11).fill(null).map((e,t)=>(0,r.jsx)("rect",{x:0,y:56*t,width:"100%",height:54},t))})]})},z=function(e){var t;let{event:n,isLive:s,...i}=e,{data:l,error:c}=(0,o.Ay)(a.bnp.cricketInnings(n.id),(0,d.rf)(n));return c?null:l?(null==(t=l.innings)?void 0:t.length)?(0,r.jsx)(P,{innings:l.innings,isLive:s},n.id):null:(0,r.jsx)(D,{...i})}},34199:(e,t,n)=>{"use strict";n.d(t,{eD:()=>a.e,l3:()=>s.l,pY:()=>r.p});var r=n(91603),s=n(37721),a=n(33480)},34884:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var r=n(6029),s=n(44194),a=n(76356),i=n(90248),l=n(54409),o=n(70591),d=n(61836);function c(e){let{numberOfEditors:t,isOrganization:n,eventLocation:c,nickname:u,userId:m,hasStarted:p,isInLeagueHeader:h,onClick:x}=e,{isDesktop:g}=(0,s.$c)(),v=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.EY,{textStyle:"assistive.default",color:h&&g?"onColor.primary":"primary.default",children:u?(0,r.jsx)(i.A,{id:p?"edited_by":"event.createdBy",values:{nickname:u}}):(0,r.jsx)(i.A,{id:"edited_by_more_editors",values:{number:t}})}),(0,r.jsx)(l._jO,{ml:"sm",height:16,width:16,fill:h&&g?"onColor.primary":"primary.default"})]}),f=(0,r.jsx)(s.$n,{size:"tertiary",bg:"overlay.darken1",border:"0",children:v});return u||t?(0,r.jsx)(a.so,{justify:"flex-end",align:"center",p:"xs",children:x?(0,r.jsx)(a.az,{cursor:"pointer",onClick:x,children:h&&g?f:v}):n?(0,r.jsx)("a",{href:"https://torneo.sofascore.com/",target:"_blank",rel:"noreferrer",children:h&&g?f:v}):(0,r.jsx)(o.N_,{routeKey:"user",params:{userId:m},onClick:()=>(0,d.Zs)(c),children:h&&g?f:v})}):null}},39979:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var r=n(6029),s=n(34199),a=n(21377),i=n(44194),l=n(76356),o=n(55729),d=n(90510),c=n(90248),u=n(45860),m=n(65789),p=n(62859),h=n(22648),x=n(58775),g=n(70591),v=n(1840),f=n(5546),j=n(80925),y=n(94604),b=n(10234),w=n(49821),k=n(85304),S=n(41618);let C=e=>{var t,n;let{team:a}=e,o=null==(t=a.subTeams)?void 0:t[0],d=null==(n=a.subTeams)?void 0:n[1];return(0,r.jsxs)(l.so,{direction:"column",align:"center",flex:"[1 0 0px]",overflow:"hidden",children:[o&&d?(0,r.jsxs)(l.so,{align:"center",justify:"center",gap:"[10px]",mb:"xs",children:[(0,r.jsx)(s.pY,{id:o.id,name:o.name,size:24},o.id),(0,r.jsx)(s.pY,{id:d.id,name:d.name,size:24},d.id)]}):(0,r.jsx)(s.pY,{id:a.id,name:a.name,size:24}),o&&d?[(0,r.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,r.jsx)(y.Rm,{team:o,short:!0})},o.id),(0,r.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,r.jsx)(y.Rm,{team:d,short:!0})},d.id)]:(0,r.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,r.jsx)(y.Rm,{team:a})})]})},_=e=>{let{provider:t,market:n,onClick:s,index:a}=e,{isMobile:o}=(0,i.$c)(),c=n.event;return(0,r.jsxs)(l.az,{bg:{md:"surface.s1"},br:{md:"sm"},p:"sm",borderTop:a>0?{mdDown:"1px solid {colors.neutrals.nLv4}"}:void 0,marginTop:a>0?{md:"sm"}:void 0,children:[(0,r.jsx)(g.tj,{event:c,children:(0,r.jsxs)(l.so,{justify:"center",align:"center",_hover:{bg:"neutrals.nLv4"},cursor:"pointer",p:"xs",mb:"xs",br:"sm",children:[(0,r.jsx)(C,{team:c.homeTeam}),(0,r.jsxs)(l.so,{direction:"column",justify:"center",align:"center",mx:"md",flex:"[1 0 0px]",children:[(0,r.jsx)(i.EY,{textStyle:"display.medium",children:(0,r.jsx)(d.ib,{value:1e3*c.startTimestamp})}),(0,r.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,r.jsx)(d.XU,{value:1e3*c.startTimestamp})})]}),(0,r.jsx)(C,{team:c.awayTeam})]})}),(0,r.jsx)(l.az,{mb:"-xs",children:(0,r.jsx)(k.A,{selectedProvider:t,market:n,onClick:s,hideMarketName:!0,secondary:o})})]})},A=(0,o.forwardRef)((e,t)=>{var n,d;let{preferRecommendedPrematch:y,showHeader:k}=e,{event:C,location:A}=(0,o.useContext)(p.y$),{isMobile:T}=(0,i.$c)(),[I,L]=(0,o.useState)(!T),E=(0,f.F0)(C),[F]=(0,j.Z)(E),H=null==(n=C.tournament)?void 0:n.id,R=null==(d=C.tournament)?void 0:d.category.sport.slug,B=F&&H,{data:P,error:D}=(0,u.Ay)(B?a.npy.recommendedPrematch(F,H):null),z=!y&&D&&F&&R,{data:M,error:O}=(0,u.Ay)(z?a.npy.recommendedPrematchTopVoted(F,R):null),Q=P||M,W=(0,o.useMemo)(()=>{let e=null==Q?void 0:Q.odds.filter(e=>e.id!==C.id);return I?e:null==e?void 0:e.slice(0,4)},[Q,I]),Y=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:N,makeOnClick:K}=(0,w.kW)({type:w.jF.Compliance,countryOddsProvider:E}),U=T||A!==p.cb.EventPage;return W?(0,r.jsxs)(l.az,{ref:N,children:[(0,r.jsxs)(m.HH,{isCard:!T,children:[k&&(0,r.jsx)(i.EY,{textStyle:"display.medium",textAlign:"center",pt:"md",px:"lg",pb:"xs",lineHeight:"24px",ref:t,display:"block",children:(0,r.jsx)(c.A,{id:"featured_odds"})}),(0,r.jsx)(l.so,{justify:"flex-end",align:"center",px:"lg",pt:"md",pb:"0",children:(0,r.jsx)(S.$,{provider:E})}),(0,r.jsxs)(m.BU,{children:[Y&&Object.keys(Y).map(e=>{var t;let n=Y[+e],a=n[0].event;return(0,r.jsxs)(m.Zp,{isInverseDesktop:!0,children:[(0,r.jsxs)(l.so,{align:"center",px:"lg",pt:"md",children:[a.tournament.uniqueTournament?(0,r.jsx)(s.eD,{id:a.tournament.uniqueTournament.id,size:24}):(0,r.jsx)(s.l3,{id:a.tournament.id,size:24}),(0,r.jsx)(g.Mq,{tournament:a.tournament,seasonId:null==(t=a.season)?void 0:t.id,children:(0,r.jsx)(i.EY,{textStyle:"display.micro",ml:"lg",_hover:{color:"neutrals.nLv3"},children:(0,r.jsx)(b.J,{tournament:a.tournament})})})]}),(0,r.jsx)(l.az,{padding:{md:"sm"},children:n.map((e,t)=>(0,r.jsx)(_,{provider:E,index:t,market:e,onClick:K(e.marketName,w.ki.OddsValue)},e.id))})]},e)}),T&&(null==Q?void 0:Q.odds.length)&&Q.odds.length>4&&(0,r.jsx)(x.d,{isOpen:I,onClick:()=>L(!I)})]})]}),U&&(0,r.jsx)(l.az,{mt:"sm",children:(0,r.jsx)(v.z,{provider:E})})]}):D&&O?null:(0,r.jsx)(h.a,{})})},41618:(e,t,n)=>{"use strict";n.d(t,{r:()=>c,$:()=>p});var r=n(6029),s=n(21377),a=n(76356),i=n(55729),l=n(62859),o=n(61836),d=n(49821);function c(e){let{selectedProvider:t,location:n,onClick:c,logClick:u=!0,size:m="56x28"}=e,p=null==t?void 0:t.provider,h=null==t?void 0:t.branded,x=null==t?void 0:t.provider.slug,{location:g}=(0,i.useContext)(l.y$),[v,f]=m.split("x"),j=n||g;return p&&h?(0,r.jsx)(a.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:t.defaultBetSlipLink||p.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==c||c(),u&&(0,o.Fe)({location:j,provider:x,position:d.ki.ProviderLogo})},style:{background:p.colors.primary,width:"".concat(v,"px"),height:"".concat(f,"px")},children:(0,r.jsx)(a.I4.img,{src:s.npy.providerImage(p.id),alt:p.name||"",style:{width:"".concat(v,"px"),height:"auto"}})}):null}var u=n(44194),m=n(90248);let p=e=>{let{provider:t}=e;return(null==t?void 0:t.branded)?(0,r.jsxs)(a.so,{justify:"center",align:"center",ml:"lg",children:[(0,r.jsx)(u.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,r.jsx)(m.A,{id:"featured_by"})}),(0,r.jsx)(c,{selectedProvider:t,size:"48x24"})]}):null}},42078:(e,t,n)=>{"use strict";n.d(t,{d:()=>m});var r=n(6029),s=n(76356),a=n(99064),i=n(55729),l=n(90248),o=n(65789),d=n(62859),c=n(85568),u=n(66757);let m=e=>{var t;let{noSeasonPicker:n,isNarrowLayout:m,branding:p,numberOfRows:h=20}=e,{event:x}=(0,i.useContext)(d.y$),g=null==x||null==(t=x.tournament.uniqueTournament)?void 0:t.hasPerformanceGraphFeature;return(0,r.jsxs)(s.so,{direction:"column",gap:["sm","md"],children:[(0,r.jsxs)(o.Zp,{isInverseDesktop:m,children:[!m&&(0,r.jsx)(c.U,{titleId:"app.standings",branding:p}),(0,r.jsxs)(s.az,{children:[!n&&(0,r.jsx)(s.az,{h:"4xl"}),(0,r.jsx)(a.tU,{variant:"secondary",children:(0,r.jsx)(s.so,{h:"[53px]",p:"sm",justify:"space-between",children:(0,r.jsxs)(s.az,{children:[(0,r.jsx)(a.tU.Tab,{tabKey:1,children:(0,r.jsx)(l.A,{id:"basic.all"})}),(0,r.jsx)(a.tU.Tab,{tabKey:2,children:(0,r.jsx)(l.A,{id:"home"})}),(0,r.jsx)(a.tU.Tab,{tabKey:3,children:(0,r.jsx)(l.A,{id:"away"})})]})})}),(0,r.jsx)(s.az,{h:"2xl"}),(0,r.jsx)(u.e,{rows:h}),(0,r.jsx)(s.az,{h:"[92px]"}),(0,r.jsx)(s.az,{p:"sm",children:(0,r.jsx)(s.az,{h:"4xl",bg:"surface.s2",br:"lg"})})]})]}),g&&(0,r.jsxs)(o.Zp,{children:[(0,r.jsx)(o.Zp.Header,{titleId:"standings_tracker_title"}),(0,r.jsx)(s.az,{h:"[542px]"})]})]})}},42360:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6029),s=n(76356),a=n(65789);function i(){return(0,r.jsx)(a.Zp,{children:(0,r.jsx)(s.az,{h:"[762px]"})})}},42440:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(55729),s=n(494),a=n(10794);function i(e){let t=(0,r.useMemo)(()=>(0,a.vt)(),[]);return(0,s.d4)(t,e)}},44450:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6029),s=n(494),a=n(10794),i=n(44194),l=n(76356),o=n(54409);function d(){return(0,r.jsx)("a",{href:"https://certifications.gamingcommission.gov.gr/publicRecordsOnline/SitePages/KatoxoiAdeiasOnline.aspx",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,r.jsxs)(l.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,r.jsx)(l.az,{h:"xl",w:"xl",children:(0,r.jsx)(o.OE_,{w:"24px",h:"24px",fill:"onSurface.nLv3",fillOpacity:1})}),(0,r.jsx)(i.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function c(){return"GR"===(0,s.d4)(a.LQ)?(0,r.jsx)(d,{}):null}},44595:(e,t,n)=>{"use strict";n.d(t,{FG:()=>i,GM:()=>u,Vd:()=>d,c7:()=>c,cY:()=>o,fN:()=>g,jT:()=>l,jp:()=>p,mh:()=>m,ps:()=>h});var r=n(21377),s=n(28132),a=n(62827);let i=[r.QCR.IceHockey,r.QCR.AmericanFootball,r.QCR.Baseball,r.QCR.Handball],l=[...i,r.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 r.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 r.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 r.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 r.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 r=0;r{switch(e){case"F":case"am_football_quarterbacks":case"am_football_running_backs":case"am_football_receivers":case"am_football_offensive_line":case"handball.winger":case"forward":return"colors.status.live";case"M":case"am_football_special_teams":case"handball.pivot":return"colors.secondary.default";case"D":case"am_football_defensive_backs":case"am_football_defensive_line":case"am_football_linebackers":case"handball.back":case"defenseman":return"colors.primary.default";case"G":case"handball.goalkeeper":case"goalie":return"colors.status.val";default:return"colors.neutrals.nLv3"}},p=e=>e.type===r.YVh.Person,h=(e,t,n,i,l,o,d,c)=>e===r.QCR.AmericanFootball?[{tabKey:s.H.Details,item:"details"},{tabKey:s.H.Matches,item:"matches",values:{sport:(0,a.ap)(e)}},{tabKey:s.H.Standings,item:"app.standings",isHidden:!t},{tabKey:s.H.PlayerStatistics,item:"tab_player_stats",isHidden:!d},{tabKey:s.H.Squad,item:"am_football_roster",isHidden:!i},{tabKey:s.H.Statistics,item:"statistics",isHidden:!l},{tabKey:s.H.Media,item:"media",isHidden:!o}]:[{tabKey:s.H.Details,item:"details"},{tabKey:s.H.Matches,item:"matches",values:{sport:(0,a.ap)(e)}},{tabKey:s.H.Standings,item:"app.standings",isHidden:!t},{tabKey:s.H.Squad,item:"squad",isHidden:!i,values:{gender:c}},{tabKey:s.H.TopPlayers,item:"top_players",values:{gender:c},isHidden:!n},{tabKey:s.H.Statistics,item:"statistics",isHidden:!l},{tabKey:s.H.Media,item:"media",isHidden:!o}],x=[r.QCR.AmericanFootball,r.QCR.Tennis];function g(e,t){return -1!==x.indexOf(e)&&9464===t}},45749:(e,t,n)=>{"use strict";n.d(t,{P:()=>d});var r=n(55729),s=n(85625),a=n(95868);let i=null,l=!1;async function o(){if(!i)try{i=(await n.e(5831).then(n.t.bind(n,61985,23))).default,await i.Initialize("3de57cc21a364c9c918d8899d0aee6bf",{shouldModifyUrlWithStoryId:!1}),i.addDelegateListener(i.Delegations.onEventTriggered,a.hT)}catch(e){return console.error("WSC SDK initialization error:",e),!1}return!0}function d(e){let{containerId:t,storyIds:n,location:d}=e,[c,u]=(0,r.useState)(l);(0,r.useEffect)(()=>{o();let e=()=>{l=!0,u(!0)};return document.addEventListener("onBlazeSDKConnect",e),()=>{document.removeEventListener("onBlazeSDKConnect",e)}},[]),(0,r.useEffect)(()=>{if(!(null==n?void 0:n.length)||!i||!c||!t||!(0,a.R5)(t))return;let{eventId:e}=(0,a.Hw)(t);try{let r=i.Theme(d===s.D.TournamentPage?"row-rectangle":"row-rectangle-horizontal","story");r.layoutStyle.labelStyle.isVisible=!e,r.layoutStyle.statusLiveStyle.isVisible=!1,r.layoutStyle.statusUnreadStyle.isVisible=!1,r.layoutStyle.statusLiveUnreadStyle.isVisible=!1,r.layoutStyle.borderRadius=e?"0":"12px",r.layoutStyle.horizontalItemsSpacing=4,i.WidgetRowView(t,{dataSource:i.DataSourceBuilder().ids({ids:n}),theme:r,maxDisplayItemsCount:e?1:void 0})}catch(e){console.error(e)}},[n.length,t,c])}},52827:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(1815),s=n(61836),a=n(95868);function i(e){let t=(0,a.Hw)(e);return(0,r.e)(()=>(0,s.WG)({id:t.eventId||t.tournamentId,location:t.location}))}},57545:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(6029),s=n(32523),a=n(21377),i=n(4967),l=n(21501),o=n(99064),d=n(55729),c=n(947),u=n(90248),m=n(494),p=n(41735),h=n(45860),x=n(54409),g=n(90536),v=n(42440),f=n(10794),j=n(59018),y=n.n(j),b=n(85397),w=n(88530);let k=(e,t)=>(0,i._M)(e.getTime(),t.getTime()-b.v,t.getTime()+b.v),S=(e,t)=>(0,i._M)(e.getTime(),(0,w.IQ)(t).getTime(),(0,w.CP)(t).getTime()),C=(e,t)=>{let n=(0,i.VM)(new Date(e.getTime()-b.v),new Date(e.getTime()+b.v)).filter(e=>e.getMonth()===t);return[n[0],n[n.length-1]]},_=(e,t)=>{let n=(0,i.VM)((0,w.IQ)(e),(0,w.CP)(e)).filter(e=>e.getMonth()===t);return[n[0],n[n.length-1]]};var A=function(e){return e.Highlighted="highlighted",e.Left="left",e.Right="right",e}(A||{});let T={gregory:[0,6],hebrew:[0,6],islamic:[6,5],iso8601:[1,0]},I=(e,t,n,r)=>{let s=["highlighted"],a=e.getDay();return a===T[t][0]&&s.push(r?"right":"left"),a===T[t][1]&&s.push(r?"left":"right"),(0,i.yk)(n[0].getTime(),e.getTime())&&s.push(r?"right":"left"),(0,i.yk)(n[1].getTime(),e.getTime())&&s.push(r?"left":"right"),y()(s).join(" ")},L=(e,t,n,r,s,i)=>{if(e===a.QCR.MMA){if(!k(t,n))return;return I(t,s,C(n,r.getMonth()),i)}if([a.QCR.Motorsport,a.QCR.Cycling].includes(e)){if(!S(t,n))return;return I(t,s,_(n,r.getMonth()),i)}};var E=n(75261);let F=(0,p.default)(E.Ay).withConfig({componentId:"sc-fabbb83a-0"})(["min-height:296px;button{outline:none;}button{.highlighted{background-color:",";}.highlighted.left{border-radius:16px 0 0 16px;}.highlighted.right{border-radius:0 16px 16px 0;}.highlighted.right.left{border-radius:16px;}}.react-calendar{&__navigation{display:flex;padding:10px 5px;}&__month-view{&__weekdays{background-color:",";padding:8px 0;&__weekday{text-align:center;font:",";color:",";> abbr{text-decoration:none;}}}&__days{padding:0;&__day{padding:0;}}}}"],e=>e.theme.colors.primary.highlight,e=>e.theme.colors.surface.s2,e=>e.theme.typography.font.body.small,e=>e.theme.colors.onSurface.nLv3);var H=n(26995);let R=function(e){var t,n;let{onChange:j,date:y,sport:b}=e,w="rtl"===(0,d.useContext)(p.ThemeContext).settings.textDirection,k=(0,l.hX)(),[S,C]=(0,d.useState)(new Date),_=(0,c.A)().locale;"pt-pt"===_&&(_="pt");let{data:A}=(0,h.Ay)((t=b,n=(0,g.Ve)(S),[a.QCR.Motorsport,a.QCR.Cycling].includes(t)?a.tI9.dailyUniqueStages(n,3600*(0,i.UW)(),t):a.tI9.dailyUniqueTournaments(n,3600*(0,i.UW)(),t))),T=(0,v.C)(),I=(0,m.d4)(f.JU),E=(0,m.d4)(f.ZF),R=Object.values(T).filter(e=>{var t;return(null==(t=e.tournament.uniqueTournament)?void 0:t.category.sport.slug)===b}),B=Object.values(I).filter(e=>{var t;return(null==(t=e.uniqueStage)?void 0:t.category.sport.slug)===b});return((0,d.useEffect)(()=>{C(y)},[y]),k)?(0,r.jsx)(s.E,{br:"lg",h:352,uniqueKey:"calendar-cl"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F,{showNeighboringMonth:!1,activeStartDate:S,calendarType:E,formatDay:()=>"",navigationLabel:e=>{let{label:t}=e;return(0,r.jsx)(o.EY,{font:"display.medium",children:t})},locale:_,nextLabel:(0,r.jsx)(o.az,{hoverBg:"primary.highlight",br:"xs",p:1,cursor:"pointer",children:(0,r.jsx)(x.zQC,{icon:"chevron-right",fill:"primary.default"})}),next2Label:null,prevLabel:(0,r.jsx)(o.az,{hoverBg:"primary.highlight",br:"xs",p:1,cursor:"pointer",children:(0,r.jsx)(x.zQC,{icon:"chevron-left",fill:"primary.default"})}),prev2Label:null,minDetail:"month",value:y,onChange:j,onActiveStartDateChange:e=>{let{activeStartDate:t}=e;t&&C(t)},tileContent:e=>{var t;let n=(0,i.cK)(e.date),s=(0,i.yk)(y.getTime(),e.date.getTime()),a=(0,i.UG)(e.date),l=((t=A)?"dailyUniqueTournaments"in t?t.dailyUniqueTournaments.map(e=>e.date):"dailyStages"in t?t.dailyStages.map(e=>e.date):[]:[]).filter(e=>e===a),d=!!l&&!!l.length,c=R.some(t=>(0,i.yk)(new Date(t.startTimestamp).getTime(),e.date.getTime()))||B.some(t=>t.startDateTimestamp&&(0,i.yk)(new Date(t.startDateTimestamp).getTime(),e.date.getTime())),u=(0,H.NA)(b,s,d,c);return(0,r.jsx)(o.so,{className:L(b,e.date,y,S,E,w),justify:"center",align:"center",w:"100%",children:(0,r.jsxs)(o.so,{position:"relative",justify:"center",align:"center",bg:s?"primary.default":n?"primary.highlight":void 0,hoverBg:s?"primary.hover":"primary.highlight",w:["xxl","xl","xxl"],h:["xxl","xl","xxl"],grow:0,shrink:0,cursor:"pointer",br:"lg",my:"xxs",children:[(0,r.jsx)(o.EY,{font:"display.small",color:u.color,lineHeight:1,children:e.date.getDate()}),u.hasDot&&(0,r.jsx)(o.az,{position:"absolute",bottom:0,br:"xxs",bg:"primary.default",w:"sm",h:"xs"})]})})}}),(0,r.jsxs)(o.so,{h:48,px:"lg",align:"center",children:[(0,r.jsx)(o.az,{br:"xxs",bg:"primary.default",w:"sm",h:"xs",mr:"sm"}),(0,r.jsx)(o.EY,{font:"body.small",color:"onSurface.nLv3",children:[a.QCR.MMA,a.QCR.Motorsport,a.QCR.Cycling].includes(b)?(0,r.jsx)(u.A,{id:"calendar_scheduled_events"}):(0,r.jsx)(u.A,{id:"calendar_favourites_explainer"})})]}),(0,r.jsx)(o.az,{borderTop:"onSurface.nLv4",p:"sm",textAlign:"center",children:(0,r.jsx)(o.$n,{onClick:()=>{let e=new Date;j(e),C(e)},children:(0,r.jsx)(u.A,{id:"today"})})})]})}},58775:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(6029),s=n(44194),a=n(76356),i=n(90248),l=n(54409);let o=e=>{let{isOpen:t,onClick:n}=e;return(0,r.jsx)(a.so,{align:"center",justify:"center",p:"lg",children:(0,r.jsx)(a.I4.button,{onClick:n,padding:"0",cursor:"pointer",children:(0,r.jsxs)(a.so,{align:"center",children:[(0,r.jsx)(s.EY,{textStyle:"display.small",color:"primary.default",children:(0,r.jsx)(i.A,{id:t?"show_less":"show_more"})}),t?(0,r.jsx)(l.t8v,{fill:"primary.default",ml:"xs"}):(0,r.jsx)(l.QtO,{fill:"primary.default",ml:"xs"})]})})})}},59721:(e,t,n)=>{"use strict";n.d(t,{e:()=>r.e});var r=n(33480)},62056:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6029),s=n(21377),a=n(65789),i=n(69559),l=n(73011);let o=()=>{let e=(0,i.o)();return(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.Zp.Header,{titleId:e===s.QCR.Cricket?"squad":l.bU.includes(e)?"boxScore":"players",values:{gender:s.YT8.Male},as:"h2"}),(0,r.jsx)("div",{style:{width:687}})]})}},63263:(e,t,n)=>{"use strict";n.d(t,{Js:()=>f,$l:()=>g,pK:()=>h,Fk:()=>p,Zb:()=>j,n6:()=>m,K$:()=>y,Ew:()=>v,ql:()=>x});var r=n(6029),s=n(21377),a=n(93338),i=n(54409);let l=()=>"https://www.sofascore.com/i/b25bc6c68958448cca031c644eee864e",o=()=>"https://www.sofascore.com/i/e53a59ad37fec87c07765b595f4ad79c",d=()=>"https://www.sofascore.com/i/705e36b11b4831faf07264be0bdbf3ee";var c=n(19666),u=n(82640);let m=e=>e.reduce((e,t)=>(t.winnerCode===s.Jfo.Left&&(e.homeWins+=1),t.winnerCode===s.Jfo.Right&&(e.awayWins+=1),e),{homeWins:0,awayWins:0}),p=(e,t)=>{switch(t){case s.$2C.Dota:return o();case s.$2C.LoL:return l();case s.$2C.CounterStrike:return e.map?s.fQV.mapImage(e.map.id):d();default:return""}},h=e=>{let t=[];return Object.keys(u.Au).forEach(n=>{let r=e[u.Au[n]];for(let e=0;e{let e,t=(0,c.tR)(),n=(0,c.$M)();if(void 0===t)return[];let r=!y(t);switch(n){case s.$2C.CounterStrike:e=[a.S.var("colors.eSports.cs.t"),a.S.var("colors.eSports.cs.ct")];break;case s.$2C.LoL:e=[a.S.var("colors.eSports.lol.red"),a.S.var("colors.eSports.lol.blue")];break;case s.$2C.Dota:e=[a.S.var("colors.eSports.dota2.dire"),a.S.var("colors.eSports.dota2.radiant")];break;default:return[]}return r?e.reverse():e},g=e=>{switch(e){case u.Au.Cloud:return e=>(0,r.jsx)(i.p1j,{icon:"drake-cloud",...e});case u.Au.Elder:return e=>(0,r.jsx)(i.p1j,{icon:"drake-elder",...e});case u.Au.Infernal:return e=>(0,r.jsx)(i.p1j,{icon:"drake-infernal",...e});case u.Au.Mountain:return e=>(0,r.jsx)(i.p1j,{icon:"drake-mountain",...e});case u.Au.Ocean:return e=>(0,r.jsx)(i.p1j,{icon:"drake-ocean",...e});default:return null}},v={[u.Mx.TopLane]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"role-top",...e}),sortIndex:1},[u.Mx.Jungle]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"role-jun",...e}),sortIndex:2},[u.Mx.MidLane]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"role-mid",...e}),sortIndex:3},[u.Mx.BotLane]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"role-adc",...e}),sortIndex:4},[u.Mx.Support]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"role-sup",...e}),sortIndex:5}},f={[u.XF.HardCarry]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"dota-hard-carry",...e}),sortIndex:1},[u.XF.MidLane]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"dota-mid-lane",...e}),sortIndex:2},[u.XF.OffLand]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"dota-soft-support",...e}),sortIndex:3},[u.XF.SoftSupport]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"dota-soft-support",...e}),sortIndex:4},[u.XF.HardSupport]:{icon:e=>(0,r.jsx)(i.p1j,{icon:"dota-hard-support",...e}),sortIndex:5}},j=(e,t)=>t?"".concat("number"==typeof e.kills?e.kills:"-","/").concat("number"==typeof e.assists?e.assists:"-","/").concat("number"==typeof e.deaths?e.deaths:"-"):"".concat("number"==typeof e.kills?e.kills:"-","/").concat("number"==typeof e.deaths?e.deaths:"-","/").concat("number"==typeof e.assists?e.assists:"-");function y(e){return!e||[s.U6N.Red,s.U6N.Dire,s.U6N.Terrorist].includes(e)}},66757:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});var r=n(6029),s=n(18612),a=n(76356),i=n(55729);function l(e){let{rows:t,rowHeight:n}=e;return(0,r.jsx)(s.D,{animate:!0,height:t*n,uniqueKey:"generic-table-cl",children:Array(t).fill(null).map((e,t)=>{let s=t*n;return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)("circle",{cx:20,cy:s+n/2,r:12}),(0,r.jsx)("rect",{x:40,y:s+8,width:"calc(100% - 48px)",height:n-16})]},s)})})}function o(e){let{rows:t=12}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.az,{hideBelow:"md",children:(0,r.jsx)(l,{rowHeight:32,rows:t})}),(0,r.jsx)(a.az,{hideFrom:"md",children:(0,r.jsx)(l,{rowHeight:48,rows:t})})]})}},70115:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(6029),s=n(99064),a=n(71024),i=n.n(a),l=n(28132);let o=i()(()=>Promise.all([n.e(4824),n.e(3848)]).then(n.bind(n,63848)),{loadableGenerated:{webpack:()=>[63848]},ssr:!1});function d(e){let{uniqueTournament:t,seasonId:n,sport:a}=e;return(0,r.jsx)(s.tU.Panel,{tabKey:l.H.Knockout,children:(0,r.jsx)(o,{sport:a,uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:n})})}},72653:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(6029),s=n(21377),a=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 p=(e,t,n)=>e.type===s.YVh.Person?{"@type":"Person",name:e.name}:{"@type":"SportsTeam",sport:t.name,name:e.name,logo:s.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)},h=(e,t)=>{var n,r,s,a,i;let l=(null==(n=e.tournament.uniqueTournament)?void 0:n.name)||e.tournament.name,o=(null==(r=e.season)?void 0:r.year)||(null==(s=e.season)?void 0:s.name)||t.getFullYear()||"",d=(e.tournament.roundPrefix||"")+" "+((null==(a=e.roundInfo)?void 0:a.name)||((null==(i=e.roundInfo)?void 0:i.round)?"Round ".concat(e.roundInfo.round):""));return"".concat(l," ").concat(o," ").concat(d.trim()).trim()},x=e=>{switch(e.status.type){case s.XUj.Canceled:case s.XUj.Suspended:return"EventCancelled";case s.XUj.Postponed:return"EventPostponed";default:return"EventScheduled"}};function g(e){let{event:t}=e,n=(0,o.A)(),i=(0,c.A)(),g=t.tournament.category.sport,v=a.pp(t.startTimestamp),f=h(t,v),j=t.tournament.category,y=t.tournament.uniqueTournament,b=1,w=[{"@type":"ListItem",position:1,name:n.formatMessage({id:"sport.".concat(g.slug)}),item:"".concat(s.VTF).concat(u.z.getTranslatedRoute(i,"eventList",{sport:g.slug}).route)},{"@type":"ListItem",position:++b,name:n.formatMessage({id:j.slug}),item:"".concat(s.VTF).concat(u.z.getTranslatedRoute(i,"eventList.category",{sport:j.sport.slug,category:j.slug}).route)}];y&&w.push({"@type":"ListItem",position:++b,name:y.name,item:"".concat(s.VTF).concat(u.z.getTranslatedRoute(i,"uniqueTournament",{sport:y.category.sport.slug,category:y.category.slug,tournament:y.slug,id:y.id}).route)}),w.push({"@type":"ListItem",position:++b,name:"".concat(t.homeTeam.name," - ").concat(t.awayTeam.name)});let k={"@context":"https://schema.org","@type":"SportsEvent",name:"".concat(t.homeTeam.name," vs ").concat(t.awayTeam.name),eventStatus:x(t),description:f,homeTeam:p(t.homeTeam,g,i),awayTeam:p(t.awayTeam,g,i),startDate:v.toISOString(),sport:g.name};if(t.venue){var S,C,_;k.location=[{"@type":"Place",name:null==(S=t.venue)?void 0:S.stadium.name,maximumAttendeeCapacity:null==(C=t.venue)?void 0:C.stadium.capacity,address:{"@type":"PronounceableText"}}],t.venue.city.name&&k.location.concat({"@type":"Place",name:t.venue.city.name}),t.venue.country.alpha2&&k.location.concat({"@type":"Country",name:(0,m.lE)(null==(_=t.venue)?void 0:_.country.alpha2)})}else t.tournament.category.alpha2&&(k.location={"@type":"Country",name:(0,m.lE)(t.tournament.category.alpha2)});return(0,r.jsxs)(l(),{children:[(0,r.jsx)("script",{...(0,d.QQ)({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:w})}),",",(0,r.jsx)("script",{...(0,d.QQ)(k)}),","]})}},73003:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var r=n(6029),s=n(21377),a=n(76356),i=n(99064),l=n(59018),o=n.n(l),d=n(55729),c=n(90248),u=n(65789),m=n(75751),p=n(42360),h=n(48686),x=n(85986),g=n(95195),v=n(25022),f=n(53214),j=n(14591),y=n(41735);let b=(0,y.default)(i.az).withConfig({componentId:"sc-ce9c6449-0"})(["cursor:move;transform-origin:top right;div{","}> div{border-top:1px solid ",";> div{min-height:268px;}}+ .cupTree-instruction-snackbar{transition:opacity 0.2s ease-in-out;opacity:0;}:hover{+ .cupTree-instruction-snackbar{opacity:1;pointer-events:none;}}"],e=>"rtl"===e.theme.settings.textDirection&&"transform-origin: top right 0px !important;",e=>e.theme.colors.onSurface.nLv4);function w(e){let{cupTree:t,roundDescriptions:n}=e,a=(0,d.useRef)([]),l=(0,d.useRef)(null),o=(0,d.useRef)(null),c="rtl"===(0,y.useTheme)().settings.textDirection,u=(0,d.useRef)(),{sourceTreeName:m,phaseFilter:p,rounds:g}=(0,x.B)(),v=(0,d.useCallback)(e=>{a.current.forEach(t=>t(e))},[a.current]),w=1===n.length,k=t.events.length>0,S=w&&/relegation|promotion/i.test(m),[C,_]=(0,d.useState)(!1),[A,T]=(0,d.useState)(!1),[I,L]=(0,d.useState)(1),[E,F]=(0,d.useState)(w?c?-300:300:0),[H,R]=(0,d.useState)(w?k?8:38:0);function B(e){("Control"===e.key||"Meta"===e.key)&&_(!0)}function P(e){C&&_(!1)}return(0,d.useEffect)(()=>{if(!u.current){var e;let t=null==(e=l.current)?void 0:e.getBoundingClientRect();t&&(u.current=t)}return document.addEventListener("keydown",B),document.addEventListener("keyup",P),()=>{document.removeEventListener("keydown",B),document.addEventListener("keyup",P)}},[C]),(0,d.useLayoutEffect)(()=>{function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;F(0),R(0);let r=t-n;if(0===r)return;let s=r>0?1:-1,a=n+.03*s;1===s&&a>t||-1===s&&ae(t,a)))}let r=t.finished&&g[g.length-1].type===s.FFH.Finals&&!S;if("number"==typeof p&&p>0&&p<=4)return void requestAnimationFrame(()=>e(r?.92:1,I));if(o.current){let t=(o.current.clientWidth-36*!!r)/(300*n.length);t<.8&&I!==t&&requestAnimationFrame(()=>e(t,I))}},[p]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(f.eS,{onChange:a.current}),(0,r.jsx)(f.Cq,{roundNames:n,x:E,scale:I}),(0,r.jsx)(b,{ref:o,children:(0,r.jsx)(j.MapInteractionCSS,{disableZoom:!C,value:{scale:I,translation:{x:E,y:H}},onChange:e=>{let{scale:t,translation:n}=e;if(A||T(!0),t>=h.Yv&&t<=h.AK){var r,s,a,i,l,d;L(t),F(Math.max(-(((null==(r=u.current)?void 0:r.width)||0)*t*.8),Math.min(((null==(a=o.current)||null==(s=a.parentElement)?void 0:s.clientWidth)||h.IT)-100,n.x))),R(Math.max(-(((null==(i=u.current)?void 0:i.height)||0)*t*1),Math.min(((null==(d=o.current)||null==(l=d.parentElement)?void 0:l.clientHeight)||h.XV)-100,n.y)))}},children:(0,r.jsx)(i.az,{position:"relative",ref:l,children:(0,r.jsx)(f.Vr,{tree:t,columnWidth:300,depth:n.length,highlights:{set:v,clear:()=>v([])},isRelegationDecider:S})})})}),A?null:(0,r.jsx)(f._4,{}),(0,r.jsx)(f.Dg,{onZoomIn:()=>{requestAnimationFrame(()=>{L(Math.min(I+.1,h.AK))})},onZoomOut:()=>{requestAnimationFrame(()=>{L(Math.max(I-.1,h.Yv))})}})]})}let k={0:(0,r.jsx)(c.A,{id:"full_bracket"}),[s.FFH.EighthFinals]:(0,r.jsx)(c.A,{id:"bracket_top_n",values:{n:16}}),[s.FFH.Quarterfinals]:(0,r.jsx)(c.A,{id:"bracket_top_n",values:{n:8}})};function S(e){let{selectedTree:t,sport:n,uniqueTournamentId:l,uniqueTournamentSlug:c,categorySlug:p,seasonId:g}=e,[j,y]=(0,d.useState)(0),b=function(e){let t=e.map(e=>e.type),n=[0];if(t.includes(s.FFH.EighthFinals)&&t.some(e=>e>s.FFH.EighthFinals)&&n.push(s.FFH.EighthFinals),t.includes(s.FFH.Quarterfinals)&&t.some(e=>e>s.FFH.Quarterfinals)&&n.push(s.FFH.Quarterfinals),n.length>1)return n}(t.rounds),S=null,C=o()(t.rounds.map(e=>e.description));if(j>0&&b){let e={...t,rounds:t.rounds.filter(e=>e.type<=b[j])};C=e.rounds.map(e=>e.description),S=(0,v.TI)(e,n,null)}else S=(0,v.TI)(t,n,null);if(0===j&&(!S||!(0,v.ov)(S)))return null;let _=[];return t.showSingleParticipantByeBlocks||(_=(0,v.BE)(t.rounds)),(0,r.jsx)(m.t,{tag:"CupTree",children:(0,r.jsxs)(u.Zp,{children:[(0,r.jsx)(f.Y9,{id:t.id,name:t.name,sport:n,phaseSelector:b&&(0,r.jsx)(i.ms,{items:b,alignRight:!0,selectedItem:b[j],renderItem:e=>{if("number"==typeof e)return k[e]},onSelectedItemChange:e=>{"number"==typeof e.selectedItemIndex&&y(e.selectedItemIndex)}})}),(0,r.jsx)(a.az,{mt:"sm",style:{maxHeight:h.XV},overflow:"hidden","data-tree-id":t.id,children:(0,r.jsx)(x.J,{sport:n,tournamentId:l,seasonId:g,sourceTreeId:t.id,rounds:t.rounds,sourceTreeName:t.name,showSingleParticipantByeBlocks:t.showSingleParticipantByeBlocks,phaseFilter:b?b[j]:void 0,entrantsPerRound:_,children:(0,r.jsx)(w,{cupTree:S,roundDescriptions:C})})}),(0,v.KA)(_)&&(0,r.jsx)(f.eo,{}),(0,r.jsx)(f.fT,{uniqueTournamentId:l,uniqueTournamentSlug:c,categorySlug:p,seasonId:g,cupTree:t,sport:n})]})},t.id)}function C(e){let{uniqueTournamentId:t,uniqueTournamentSlug:n,categorySlug:s,seasonId:a,sport:i}=e,[l,o]=(0,g.Q)(t,a);return o?(0,r.jsx)(p.A,{}):l?(0,r.jsx)(r.Fragment,{children:l.map(e=>(0,r.jsx)(S,{selectedTree:e,uniqueTournamentId:t,uniqueTournamentSlug:n,categorySlug:s,seasonId:a,sport:i},e.id))}):null}},73045:(e,t,n)=>{"use strict";n.d(t,{e:()=>s.e,l:()=>r.l});var r=n(37721),s=n(33480)},73411:(e,t,n)=>{"use strict";n.d(t,{s:()=>p,S:()=>h});var r=n(6029),s=n(44194),a=n(76356),i=n(99064),l=n(55729),o=n(90248),d=n(54053),c=n(1300),u=n(61836);let m=e=>{let{children:t,onClick:n}=e;return(0,r.jsx)("a",{href:"https://nba.sjv.io/c/5441787/2176796/16284",target:"_blank",rel:"noopener",onClick:n,children:t})},p=e=>{let{isOpen:t,setIsOpen:n,location:c}=e,{isDesktop:p}=(0,s.$c)(),h={backgroundImage:"url(/static/images/nba-league-pass/modal.png)",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,l.useEffect)(()=>{t&&(0,u.Z1)({type:"bottom_sheet",name:"nba_league_pass",location:c})},[t]),!t)return null;let x=()=>n(!1);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(d.A,{isOpen:t,setIsOpen:n,footer:null,renderAdPlaceholder:!1,sheetStyles:h,modalContentStyles:h,width:360,children:(0,r.jsxs)(a.az,{style:p?h:void 0,br:"lg",children:[(0,r.jsx)(a.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,r.jsx)(a.az,{w:"4xl",h:"4xl",children:(0,r.jsx)(i._V,{src:"/static/images/nba-league-pass/league-pass-logo.svg",h:48,w:48,alt:"NBA"})})}),(0,r.jsxs)(a.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,r.jsxs)(a.so,{direction:"column",gap:"lg",children:[(0,r.jsx)(a.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:(0,r.jsx)(o.A,{id:"league_pass_promo_title"})}),(0,r.jsx)(a.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:(0,r.jsx)(o.A,{id:"league_pass_promo_body_long"})})]}),(0,r.jsxs)(a.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,r.jsx)(s.$n,{children:(0,r.jsx)(m,{onClick:()=>{(0,u.AW)({type:"bottom_sheet",name:"nba_league_pass",location:c}),x()},children:(0,r.jsx)(a.az,{color:"onColor.primary",children:(0,r.jsx)(o.A,{id:"claim_offer"})})})}),(0,r.jsx)(s.$n,{variant:"clear",color:"onColor.primary",onClick:x,children:(0,r.jsx)(o.A,{id:"maybe_later"})})]})]})]})})})},h=e=>{let{utId:t,location:n}=e,{isNBAModalOpen:s,setIsNBAModalOpen:a}=(0,c.z)(t);return s?(0,r.jsx)(p,{isOpen:s,setIsOpen:a,location:n}):null}},75414:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){switch(!0){case e<1e3:return"".concat(e);case e<1e4&&e/1e3%1>=.1:let t="".concat((e/1e3).toPrecision(2));return t.endsWith(".0")&&(t=t.substring(0,t.length-2)),"".concat(t,"k");case e<1e6:let n=Math.round(e/1e3);if(1e3===n)return"1M";return"".concat(n,"k");case e<1e7:let r=(e/1e5).toFixed();return r=r.endsWith("0")?r.substring(0,r.length-1):"".concat(r[0],".").concat(r[1]),"".concat(r,"M");case e<1e8:return"".concat(Math.round(e/1e6),"M");case e<1e9:let s=Math.round(e/1e6);if(1e3===s)return"1B";return"".concat(s,"M");default:return"".concat(e)}}},77988:(e,t,n)=>{"use strict";n.d(t,{A:()=>h,g:()=>p});var r=n(6029),s=n(44194),a=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,r.jsxs)("span",{children:[(0,r.jsx)("br",{}),(0,r.jsx)(a.A,{id:"disclaimer_odds_may_differ"})]}):null}function m(){let e=(0,i.d4)(l.LQ),t=e&&o[e];return t?(0,r.jsxs)("span",{children:[", ",(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]}):null}let p=e=>e&&c[e.toUpperCase()]?c[e.toUpperCase()]:18;function h(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,r.jsxs)(s.EY,{display:"block",textStyle:"body.small",textAlign:"center",color:"neutrals.nLv3",pr:"sm",children:[t?(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}):(0,r.jsx)(a.A,{id:"gamble_responsibly",values:{age:p(o)}}),(0,r.jsx)(m,{}),(0,r.jsx)(u,{countryOddsProvider:n})]})}},78492:(e,t,n)=>{var r=n(50956);e.exports=function(e,t,n,s){return r(e,function(e,r,a){t(s,e,n(e),a)}),s}},80734:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(6029),s=n(21501),a=n(76356),i=n(55729),l=n(58775);function o(e){let t=1===i.Children.count(e.children),n=(0,s.hX)()&&e.openOnServer,[o,d]=(0,i.useState)(n||!1);return(0,r.jsxs)(a.az,{children:[(0,r.jsx)(a.az,{children:e.children[0]}),(0,r.jsx)(a.az,{display:o?"initial":"none",children:e.children.slice(1)}),!t&&(0,r.jsx)(l.d,{isOpen:o,onClick:()=>d(e=>!e)})]})}},80925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});let r=(e,t)=>{let n=null==e?void 0:e.provider,r=null==e?void 0:e.fallbackProvider;return t&&(null==n?void 0:n.liveOddsFrom)?[null==n?void 0:n.liveOddsFrom.id,null==r?void 0:r.id]:(null==n?void 0:n.oddsFrom)?[null==n?void 0:n.oddsFrom.id,null==r?void 0:r.id]:[null==n?void 0:n.id,null==r?void 0:r.id]}},81648:e=>{e.exports=function(e,t,n,r){for(var s=-1,a=null==e?0:e.length;++s{"use strict";n.d(t,{Au:()=>r,Mx:()=>a,XF:()=>i,zz:()=>s});var r=function(e){return e.Cloud="cloudDrakeKills",e.Elder="elderDrakeKills",e.Infernal="infernalDrakeKills",e.Mountain="mountainDrakeKills",e.Ocean="oceanDrakeKills",e}({}),s=function(e){return e.Terrorists="T",e.CounterTerrorists="CT",e}({}),a=function(e){return e.TopLane="top",e.Jungle="jun",e.MidLane="mid",e.BotLane="adc",e.Support="sup",e}({}),i=function(e){return e.HardCarry="hc",e.MidLane="mid",e.OffLand="off",e.SoftSupport="ss",e.HardSupport="hs",e}({})},84017:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>t9});var r=n(6029),s=n(21377),a=n(4967),i=n(95669),l=n.n(i),o=n(55729),d=n(947),c=n(62859),u=n(19451),m=n(19643),p=n(50417),h=n(54029),x=n(17357),g=n(30720),v=n(42678),f=n(73411),j=n(21501),y=n(76356),b=n(494),w=n(45860),k=n(65789),S=n(31712),C=n(1440),_=n(93902),A=n(37377),T=n(1773),I=n(12962),L=n(89513),E=n(29129),F=n(70010),H=n(22152),R=n(71024),B=n.n(R);let P=B()(()=>n.e(7819).then(n.bind(n,37819)),{loadableGenerated:{webpack:()=>[37819]}});var D=n(48553),z=n(53235),M=n(76277),O=n(83457),Q=n(99326),W=n(46009),Y=n(8973),N=n(7263),K=n(3898),U=n(17808),G=n(77540),q=n(47229),V=n(1840),$=n(13030),X=n(92209),Z=n(91631),J=n(2294);let ee=()=>{let e=(0,b.d4)(J._I),t=(0,Z.PW)(),n=(0,b.d4)(J.SM);return e&&t&&(null==n?void 0:n.length)?(0,r.jsxs)($.A,{children:[(0,r.jsx)($.A.Header,{titleId:"odds",variant:"left-aligned"}),(0,r.jsx)(y.az,{px:"sm",pb:"sm",children:(0,r.jsx)(X.i,{providers:n,placement:"desktop"})})]}):null};var et=n(73586),en=n(39979),er=n(5546),es=n(80925),ea=n(27175),ei=n(35857),el=n(44407),eo=n(3856),ed=n(85009),ec=n(91694),eu=n(23685),em=n(29469),ep=n(10794),eh=n(14861),ex=n(9088),eg=n(79085),ev=n(95247),ef=n(5348),ej=n(44194),ey=n(90248),eb=n(33752),ew=n(83201),ek=n(98449),eS=n(31229),eC=n(86454),e_=n(39969),eA=n(70591),eT=n(52951),eI=n(47530),eL=n(27289),eE=n(94604),eF=n(7309),eH=n(50154),eR=n(34884);let eB=e=>{var t;let{event:n,sport:s,children:a}=e;return u.tt.includes(s)||!n.tournament.uniqueTournament?(0,r.jsx)(eA.O5,{tournament:n.tournament,children:a}):(0,r.jsx)(eA.tQ,{tournament:n.tournament.uniqueTournament,seasonId:null==(t=n.season)?void 0:t.id,children:a})};var eP=n(33144);function eD(e){let{team:t}=e;return t.subTeams&&2===t.subTeams.length?(0,r.jsxs)(y.so,{children:[(0,r.jsx)(eP.p,{mr:"-8",id:t.subTeams[0].id,name:t.subTeams[0].name,size:40,style:{verticalAlign:"top"}}),(0,r.jsx)(eP.p,{id:t.subTeams[1].id,name:t.subTeams[1].name,size:40,style:{verticalAlign:"top"}})]}):(0,r.jsx)(eP.p,{size:40,id:t.id,name:t.name,style:{verticalAlign:"top"}})}let ez=(0,o.memo)(e=>{var t,n;let{event:a,leftTeam:i,rightTeam:l}=e,{meta:d,seoContent:c}=(0,o.useContext)(eT.xV),{isDesktop:m}=(0,ej.$c)(),p=(0,b.d4)(ep.JV),h=a.tournament.category.sport.slug,x=h===s.QCR.Football,g=h===s.QCR.Tennis,v=a.status.type===s.XUj.Finished,f=(0,eF.w)(a.tournament),{isAdsTestTreatment:j}=(0,eH.Q)();return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(y.az,{bg:"surface.s1",h:{base:"auto",md:j?"9xl":"12xl"},md:{mb:"md",px:j?"xl":void 0,elevation:"2",br:j?"xl":void 0},children:(0,r.jsx)(ew.m,{children:(0,r.jsxs)(y.so,{justify:"space-between",children:[(0,r.jsxs)(y.so,{direction:{base:"row",md:"column"},grow:1,style:{textOverflow:"ellipsis"},align:{base:"center",md:"initial"},children:[(0,r.jsxs)(eb.B,{children:[(0,r.jsx)(eb.B.Item,{children:(0,r.jsx)(eA.di,{translatedParams:{sport:h},children:(0,r.jsx)(eL.o,{sportSlug:h})})}),!u.tt.includes(h)&&(0,r.jsx)(eb.B.Item,{children:(0,r.jsx)(eA.Z6,{category:a.tournament.category,children:(0,r.jsx)(ek.m,{...a.tournament.category,uniqueTournament:a.tournament.uniqueTournament})})}),(0,r.jsx)(eb.B.Item,{children:(0,r.jsxs)(eB,{event:a,sport:h,children:[f,a.roundInfo&&(0,r.jsxs)("span",{children:[", ",(0,r.jsx)(eI.DT,{round:a.roundInfo})]})]})}),(0,r.jsx)(eb.B.Title,{children:(null==c?void 0:c.heading)||(null==d?void 0:d.title)||(0,r.jsx)(ey.A,{id:x?"headerTitle.event-v3":g?"headerTitle.event.tennis":"headerTitle.event",values:{home:(0,r.jsx)("bdi",{children:(0,r.jsx)(eE.Rm,{team:i})}),away:(0,r.jsx)("bdi",{children:(0,r.jsx)(eE.Rm,{team:l})})}})})]}),(0,r.jsxs)(y.so,{hideBelow:"md",grow:1,shrink:1,basis:"[auto]",justify:"space-between",children:[(0,r.jsxs)(y.so,{align:"center",children:[(0,r.jsx)(ej.Ym,{textStyle:"display.extraLarge",truncate:!0,children:(0,r.jsx)(eS.U,{})}),(0,r.jsx)(y.az,{ml:"sm",position:"relative",children:(0,r.jsx)(e_.h,{id:a.id,type:Y.b.Event,location:Y.y.Header,tournament:a.tournament,leftTeam:i,rightTeam:l,menuPosition:"bottom"})})]}),(0,r.jsx)(y.az,{px:"xl",textAlign:"end",children:(0,r.jsx)(eR.i,{eventLocation:"editor_event",nickname:null==(t=a.eventEditor)?void 0:t.name,userId:null==(n=a.eventEditor)?void 0:n.id,hasStarted:a.status.type!==s.XUj.NotStarted})})]}),(0,r.jsx)(y.az,{hideFrom:"md",mr:"md",ml:"-xs",position:"relative",children:(0,r.jsx)(e_.h,{id:a.id,tournament:a.tournament,type:Y.b.Event,location:Y.y.Header,leftTeam:i,rightTeam:l,menuPosition:"bottom"})})]}),m&&!v&&!j&&(0,r.jsxs)(eC.K,{threshold:80,entity:s.bq7.Events,id:a.id,type:Y.b.Event,children:[(0,r.jsx)(eD,{team:i}),(0,r.jsx)(ej.EY,{mx:"xs",display:"block",textStyle:"display.medium",children:"ar"===p?"ضد":"VS"}),(0,r.jsx)(eD,{team:l})]})]})})})})},(e,t)=>e.event.id===t.event.id&&e.leftTeam===t.leftTeam&&e.rightTeam===t.rightTeam);var eM=n(36337),eO=n(57267),eQ=n(69642),eW=n(98899),eY=n(86523),eN=n(10951),eK=n(12174),eU=n(11687),eG=n(27680),eq=n(25049),eV=n(49937),e$=n(10426),eX=n(868),eZ=n(92494),eJ=n(92059),e0=n(35410),e1=n(73011),e4=n(24985),e2=n(62056);let e9=B()(()=>Promise.resolve().then(n.bind(n,61777)),{loadableGenerated:{webpack:()=>[61777]},ssr:!1,loading:()=>(0,r.jsx)(e4.Vj,{})}),e6=B()(()=>n.e(3614).then(n.bind(n,33614)),{loadableGenerated:{webpack:()=>[33614]},ssr:!1,loading:()=>(0,r.jsx)(e2.A,{})});function e5(e){let{event:t,hasLineups:n}=e,a=t.tournament.category.sport.slug,i=e1.Bx.includes(a)&&!!t.hasEventPlayerStatistics;return i&&a!==s.QCR.Football?(0,r.jsx)(e6,{}):(0,r.jsx)(e9,{hasLineups:n,showPlayerStatistics:i})}var e3=n(42078),e7=n(31215),e8=n(19172),te=n(15926),tt=n(73003),tn=n(10234),tr=n(62827),ts=n(7067),ta=n(58516),ti=n(36075),tl=n(55665),to=n(71046),td=n(721);let tc=B()(()=>Promise.resolve().then(n.bind(n,76097)),{loadableGenerated:{webpack:()=>[76097]},ssr:!1}),tu=B()(()=>n.e(7752).then(n.bind(n,77752)),{loadableGenerated:{webpack:()=>[77752]},ssr:!1}),tm=B()(()=>Promise.all([n.e(6591),n.e(4632),n.e(6618),n.e(3231),n.e(7717),n.e(7433)]).then(n.bind(n,29814)),{loadableGenerated:{webpack:()=>[29814]},ssr:!1,loading:()=>(0,r.jsx)(tp.Consumer,{children:e=>{let{numberOfStandingsRows:t}=e;return(0,r.jsx)(e3.d,{noSeasonPicker:!0,numberOfRows:t})}})}),tp=(0,o.createContext)({numberOfStandingsRows:20}),th=B()(()=>Promise.resolve().then(n.bind(n,36142)),{loadableGenerated:{webpack:()=>[36142]},ssr:!1}),tx=(0,o.memo)(e=>{let{hasLineups:t,hasStandings:n,showDesktopVideoBanner:a,showPlayByPlay:i,numberOfStandingsRows:l=20}=e,{event:d,leftTeam:u,rightTeam:m}=(0,o.useContext)(c.y$),p=d.tournament.uniqueTournament,h=(0,o.useContext)(T.i4),{sport:x,id:g}=d.tournament.category,v=(0,b.d4)(J.qW),f=x.slug===s.QCR.ESports&&(0,to.f2)(g),j=d.status.type===s.XUj.InProgress,w=x.slug===s.QCR.Tennis,S=x.slug===s.QCR.MMA,{isAdsTestTreatment:_,variant:A}=(0,eH.Q)();return(0,o.useEffect)(()=>{h&&h.provider===eZ.w.Google&&a&&h.addExcludedSlot([A===ts.KT.Control?"eventC.DESKTOP_TOP":"event.DESKTOP_TOP"])},[h,A]),(0,r.jsxs)(r.Fragment,{children:[!a&&!_&&(0,r.jsx)(eh.i,{id:"event.DESKTOP_TOP"}),w&&p&&d.season&&(0,r.jsx)(tt.default,{uniqueTournamentId:p.id,uniqueTournamentSlug:p.slug,categorySlug:p.category.slug,seasonId:d.season.id,sport:x.slug}),(a||j)&&(0,r.jsx)(r.Fragment,{children:v||!j?(0,r.jsx)(td.A,{event:d}):(0,r.jsx)(eY.LiveActionWidgetContainer,{eventId:d.id})}),S&&(0,r.jsx)(th,{}),x.slug===s.QCR.Cricket&&(0,r.jsx)(e0.Ay,{}),(0,r.jsx)(e5,{event:d,hasLineups:t}),i&&(0,r.jsx)(C.A,{persist:!0,children:(0,r.jsxs)(y.so,{minH:{base:"100%",md:"[889px]",lg:"[912px]"},gap:"md",children:[(0,r.jsx)(y.az,{w:"1/2",children:(0,r.jsx)(tu,{})}),(0,r.jsx)(y.az,{w:"1/2",children:(0,r.jsx)(el.K,{event:d})})]})}),!1!==n&&d.season&&(0,r.jsx)(tp.Provider,{value:{numberOfStandingsRows:l},children:(0,r.jsx)(C.A,{persist:!0,loader:(0,r.jsx)(e3.d,{noSeasonPicker:!0,numberOfRows:l}),children:(0,r.jsx)(y.so,{direction:"column",gap:"md",children:(0,r.jsx)(tm,{tournamentId:d.tournament.id,seasonId:d.season.id,homeTeamId:u.id,awayTeamId:m.id,Header:()=>{var e;return(0,r.jsx)(e7.A,{tournamentId:d.tournament.id,tournamentName:(0,r.jsx)(tn.J,{tournament:d.tournament}),uniqueTournamentId:null==(e=d.tournament.uniqueTournament)?void 0:e.id,mobileOnly:!0})},loaderNumberOfRows:l})})})}),!_&&(0,r.jsx)(eh.i,{id:"event.DESKTOP_MIDDLE"}),(0,r.jsx)(C.A,{persist:!0,children:(0,r.jsx)(eJ.A,{eventId:d.id,eSportsType:d.tournament.category.name,hidePlayers:!f})}),(0,r.jsx)(C.A,{persist:!0,loader:(0,r.jsx)(tl.G,{}),children:(0,r.jsx)(ti.D,{})}),(0,r.jsx)(C.A,{persist:!0,loader:(0,r.jsx)(te.A,{page:!0}),children:(0,r.jsx)(e8.o,{page:!0})}),(0,r.jsx)(C.A,{persist:!0,children:(0,r.jsxs)(k.Zp,{children:[(0,r.jsx)(k.Zp.Header,{title:(0,r.jsx)(ey.A,{id:S?"fights_mma":"matches",values:S?void 0:{sport:(0,tr.ap)(x.slug)}}),as:"h2"}),(0,r.jsx)(tc,{isTabbedLayout:!1})]})}),(0,r.jsx)(C.A,{display:["none","block"],persist:!0,children:(0,r.jsx)(y.az,{w:"1/2",children:(0,r.jsxs)(k.Zp,{children:[(0,r.jsx)(k.Zp.Header,{titleId:"team_head_to_head"}),(0,r.jsx)(ta.GV,{})]})})})]})},(e,t)=>e.event.id===t.event.id&&e.hasLineups===t.hasLineups&&e.hasStandings===t.hasStandings&&e.event.status.type===t.event.status.type&&e.event.hasEventPlayerStatistics===t.event.hasEventPlayerStatistics&&e.showDesktopVideoBanner===t.showDesktopVideoBanner&&e.showPlayByPlay===t.showPlayByPlay);var tg=n(47022);let tv=(0,o.memo)(e=>{let{event:t}=e;return(0,r.jsx)(el.K,{event:t})},(e,t)=>{var n,r;return e.event.id===t.event.id&&e.event.status.type===t.event.status.type&&(null==(n=e.event.season)?void 0:n.id)===(null==(r=t.event.season)?void 0:r.id)&&e.event.hasEventPlayerStatistics===t.event.hasEventPlayerStatistics});function tf(e){var t,n,a,i;let{initialStandingsProperties:l}=e,d=(0,o.useContext)(c.y$),{event:u,leftTeam:m,rightTeam:p}=d,h=u.tournament.category.sport,x=(0,j.hX)(),g=(0,b.d4)(ep.LQ),v=(0,b.d4)(J.qW),f=(0,b.d4)(J.BF),R=(0,b.d4)((0,J.bS)(u)),B=(0,er.F0)(u),[$]=(0,es.Z)(B,u.status.type===s.XUj.InProgress),{isAdsTestTreatment:X}=(0,eH.Q)(),Z=!!g&&(0,to.Q9)(g),el=h.slug===s.QCR.MMA,ej=(0,O.j)(h.slug),ey={fetcher:N.n,revalidateOnFocus:!0,refreshInterval:6e4*(u.status.type===s.XUj.NotStarted||u.status.type===s.XUj.InProgress)},{data:eb}=(0,w.Ay)([el?null:s.bnp.statistics(u.id),"HEAD"],ey),{data:ew}=(0,w.Ay)(u.status.type===s.XUj.InProgress?[s.bnp.winProbability(u.id),"HEAD"]:null,ey),{data:ek}=(0,w.Ay)([s.bnp.lineups(u.id),"HEAD"],{...ey,fallbackData:d.initialHasLineups}),{data:eS}=(0,w.Ay)(u.season?[s.yKR.standings(u.tournament.id,u.season.id),"HEAD"]:null,{...ey,fallbackData:null==l?void 0:l.hasStandings}),eC=!f&&R&&!!$,{data:e_}=(0,w.Ay)(eC?[s.npy.recommendedPrematchTopVoted($,h.slug),"HEAD"]:null,ey),{data:eA}=(0,w.Ay)([ej?s.bnp.commentary(u.id,ej):null,"HEAD"],{refreshInterval:1e4,fetcher:N.n}),eT=eA&&h.slug!==s.QCR.IceHockey,eI=eA&&h.slug===s.QCR.IceHockey,eL=u.status.type===s.XUj.NotStarted,eE=u.status.type===s.XUj.InProgress,eF=h.slug===s.QCR.ESports&&(0,to.f2)(u.tournament.category.id),eR=eE&&!!Z&&v,eB=(0,o.useRef)(null),eP=eM.I.includes(h.slug)&&u.status.type===s.XUj.NotStarted,eD=h.slug===s.QCR.Football;return(0,r.jsxs)(r.Fragment,{children:[!X&&(0,r.jsx)(ez,{event:u,leftTeam:m,rightTeam:p}),(0,r.jsx)(E.YW,{pb:"md",children:(0,r.jsxs)(T.JR,{children:[X&&(0,r.jsx)(ez,{event:u,leftTeam:m,rightTeam:p}),(0,r.jsx)(c.Ws.Provider,{value:h.slug,children:(0,r.jsxs)(c.y$.Provider,{value:{...d,location:c.cb.EventPage},children:[(0,r.jsxs)(F.xA,{gap:{base:X?"md":"xl",mdOnly:"md"},children:[(0,r.jsxs)(F.fv,{flexGrow:1,children:[(0,r.jsxs)(k.Zp,{children:[(0,r.jsx)(y.az,{h:"sm"}),(0,r.jsxs)(k.BU,{children:[(0,r.jsx)(W.w.Provider,{value:Y.y.EventHeader,children:(0,r.jsx)(ev.g,{})}),(0,r.jsx)(ef.N,{event:u}),(0,r.jsx)(eV.R,{}),(0,r.jsx)(et.S,{countryOddsProvider:B,event:u,fallback:{NL:X?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(eh.i,{id:"event.DESKTOP_BELOW_ODDS",borderless:!0}),PT:e_?(0,r.jsx)(G.U,{onClick:()=>{var e;return null==eB||null==(e=eB.current)?void 0:e.scrollIntoView({behavior:"smooth"})}}):(0,r.jsx)(r.Fragment,{}),DE:X?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(eh.i,{id:"event.DESKTOP_BELOW_ODDS",borderless:!0})},children:(0,r.jsx)(q.f9,{eventId:u.id,isLive:eE})}),(0,r.jsx)(eN.y,{}),(0,r.jsx)(eq.z,{}),(0,r.jsx)(ei.m2,{eventId:u.id,tournamentId:u.tournament.id,roundId:null==(t=u.roundInfo)?void 0:t.round,type:"single",screen:"desktop",isLive:eE,location:ei.D_.EventPage},u.id),(0,r.jsx)(tg.C,{}),(0,r.jsx)(eG.f,{}),(0,r.jsx)(eK.f,{event:u}),!eD&&(0,r.jsx)(eg.E,{event:u,hideCta:!0}),h.slug===s.QCR.Cricket&&(0,r.jsx)(M.x,{}),h.slug===s.QCR.Tennis?null:(0,eW.D)(h.slug)?(0,r.jsx)(eO.j,{event:u}):h.slug===s.QCR.Cricket?(0,r.jsx)(S.default,{event:u,isLive:eE}):(0,r.jsx)(eQ.w,{event:u}),(0,r.jsx)(z.d,{}),eD&&(0,r.jsx)(eg.E,{event:u,hideCta:!0})]})]}),h.slug===s.QCR.Tennis&&(0,r.jsx)(ea.A,{event:u}),h.slug===s.QCR.Tennis&&eL&&(0,r.jsx)(eX.p,{}),eF&&!x&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(H.A,{eventId:u.id}),(0,r.jsx)(P,{event:u})]}),(0,r.jsx)(em.A,{placement:I.M.DesktopEventPage,event:u}),(0,r.jsx)(ee,{}),u.status.type!==s.XUj.NotStarted&&(0,r.jsx)(D.Y,{}),!eI&&(eb||ew)&&(0,r.jsx)(C.A,{persist:!0,loader:(0,r.jsx)(eo.O,{}),children:(0,r.jsx)(tv,{event:u})}),eT&&(0,r.jsx)(e$.default,{}),!x&&eR&&(0,r.jsx)(eY.LiveActionWidgetContainer,{eventId:u.id,modal:!0,children:(0,r.jsx)(q.f9,{eventId:u.id,isLive:eE})}),(0,r.jsx)(C.A,{persist:!0,children:(0,r.jsx)(K.dq,{eventId:u.id})}),!X&&(0,r.jsx)(eh.i,{id:"event.DESKTOP_LEFT"}),e_&&(0,r.jsx)(en.default,{showHeader:!0,ref:eB}),u.status.type===s.XUj.NotStarted&&(0,r.jsx)(D.Y,{}),(0,r.jsx)(eU.s,{eventId:u.id}),el&&(0,r.jsx)(C.A,{persist:!0,children:(0,r.jsx)(U.A,{homeTeam:u.homeTeam,awayTeam:u.awayTeam})}),(0,r.jsx)(_.W,{event:u,showTournamentInfo:eF}),(0,r.jsx)(eu.Y,{utId:null==(n=u.tournament.uniqueTournament)?void 0:n.id,location:"event_screen",bgImageUrl:[s.cWY.image(m.id),s.cWY.image(p.id)]}),!el&&(0,r.jsx)(C.A,{persist:!0,children:(0,r.jsx)(ed.d,{eventId:u.id,type:s.IAy.Event,startTimestamp:u.startTimestamp})}),(0,r.jsx)(ec.Q,{}),eP&&(0,r.jsx)(eM.x,{eventId:u.id,leftTeam:m,rightTeam:p}),(0,r.jsx)(Q.pk,{utIds:[null==(a=u.tournament.uniqueTournament)?void 0:a.id]}),(0,r.jsx)(ex.I,{event:u}),(null==(i=u.eventEditor)?void 0:i.name)&&(0,r.jsx)(A.s,{}),(0,r.jsx)(V.K,{provider:B}),(0,r.jsx)(L.A,{})]}),(0,r.jsx)(F.fv,{flexGrow:2,children:(0,r.jsx)(tx,{event:u,hasLineups:ek,hasStandings:eS,showDesktopVideoBanner:Z,showPlayByPlay:eI,numberOfStandingsRows:null==l?void 0:l.numberOfRows})})]}),!X&&(0,r.jsx)(eh.i,{id:"event.DESKTOP_BOTTOM",mt:"md"})]})})]})})]})}var tj=n(96913),ty=n(28132),tb=n(70115),tw=n(58336),tk=n(62102),tS=n(58074),tC=n(1614),t_=n(51883),tA=n(36614),tT=n(8718),tI=n(42917),tL=n(1584),tE=n(91941),tF=n(55862),tH=n(90890),tR=n(94041),tB=n(15328),tP=n(59280),tD=n(55584);function tz(e){let{activeTab:t,setActiveTab:n}=e,{event:a,leftTeam:i,rightTeam:l}=(0,o.useContext)(c.y$),d=a.tournament.category.sport.slug,u=a.status.type===s.XUj.InProgress,m=d===s.QCR.Tennis,p=d===s.QCR.Football,h=d===s.QCR.MMA,x=d===s.QCR.Basketball,g=(0,to.BC)(a.status),{hasCricketIncidents:v,hasScorecardTab:f,hasOversTab:j,hasGraphsTab:b,hasCommentaryTab:w,hasGamesTab:k,hasBoxScoreTab:S,hasLineupsTab:C,hasStatisticsTab:_,hasPlayByPlayTab:A,hasStandingsTab:T,hasMatchesTab:I,hasFeaturedOdds:L,hasAdditionalOddsTab:E,hasWinningOdds:F,hasFeaturedOddsTab:H,hasMediaTab:R,isSpecialEsports:B,hasRecommendedPrematchOdds:P}=(0,tD.A)(a),D=[{tabKey:ty.H.Details,item:"details"},{tabKey:ty.H.AdditionalOdds,item:"odds",isHidden:!E||g},{tabKey:ty.H.Games,item:"games",values:{sport:s.QCR.ESports},isHidden:!k},{tabKey:ty.H.Overs,item:"cricket.overs",isHidden:!j},{tabKey:ty.H.Scorecard,item:"cricket.scorecard",isHidden:!f},{tabKey:ty.H.Commentary,item:"commentary",isHidden:!w||p||x},{tabKey:ty.H.BoxScore,item:"boxScore",isHidden:!S},{tabKey:ty.H.Lineups,item:d===s.QCR.Cricket?"squads":"lineups",isHidden:!C},{tabKey:ty.H.Statistics,item:"statistics",isHidden:!_},{tabKey:ty.H.Commentary,item:"commentary",isHidden:!w||!p&&!x},{tabKey:ty.H.PlayByPlay,item:"cricket.pbp",isHidden:!A},{tabKey:ty.H.Standings,item:"app.standings",isHidden:!T},{tabKey:ty.H.Graphs,item:"graphs",isHidden:!b},{tabKey:h?ty.H.Fights:ty.H.Matches,item:h?"fights_mma":"matches",values:h?void 0:{sport:(0,tr.ap)(d)},isHidden:!I},{tabKey:ty.H.Knockout,item:"knockout",isHidden:!m},{tabKey:ty.H.FeaturedOdds,item:"featured_odds",isHidden:!H},{tabKey:ty.H.Media,item:"media",isHidden:!R},{tabKey:ty.H.AdditionalOdds,item:"odds",isHidden:!E||!g}];return(0,r.jsxs)(c.Ws.Provider,{value:d,children:[(0,r.jsxs)(y.az,{bg:"surface.s1",children:[(0,r.jsx)(ez,{event:a,leftTeam:i,rightTeam:l}),(0,r.jsx)(ev.g,{})]}),(0,r.jsxs)(tj.A,{id:a.id,location:tj.m.EventPage,eventStatusType:a.status.type,initialTabKey:t,tabs:D,customControls:[t,n],children:[(0,r.jsx)(tC.A,{isSpecialEsports:B,hasStandings:!!T,hasCricketIncidents:v,hasFeaturedOdds:L,hasWinningOdds:F,hasMediaTab:R,onFeaturedOddsClick:()=>n(ty.H.FeaturedOdds),onBestPlayersClick:()=>n(S?ty.H.BoxScore:ty.H.Lineups),onPrematchStandingsClick:()=>n(ty.H.Standings),onSeeAllStatisticsClick:()=>n(ty.H.Statistics),onHighlightShortcutClick:()=>n(ty.H.Media)}),E&&(0,r.jsx)(tw.A,{}),k&&(0,r.jsx)(tA.A,{event:a}),j&&(0,r.jsx)(tF.A,{}),f&&(0,r.jsx)(tR.A,{event:a}),S&&(0,r.jsx)(tk.A,{}),C&&(0,r.jsx)(tI.A,{}),_&&(0,r.jsx)(tP.A,{event:a}),A&&(0,r.jsx)(tH.A,{}),T&&(0,r.jsx)(tB.A,{event:a,leftTeamId:i.id,rightTeamId:l.id}),b&&(0,r.jsx)(tT.A,{tabKey:ty.H.Graphs}),w&&(0,r.jsx)(tS.A,{}),(0,r.jsx)(tL.A,{}),m&&a.tournament.uniqueTournament&&a.season&&(0,r.jsx)(tb.A,{uniqueTournament:a.tournament.uniqueTournament,seasonId:a.season.id,sport:d}),H&&(0,r.jsx)(t_.A,{hasRecommendedPrematchOdds:P}),R&&(0,r.jsx)(tE.A,{event:a,isLive:u})]}),(0,r.jsx)(eh.i,{id:"event.MOBILE_BOTTOM",mb:"sm"})]})}var tM=n(73624);function tO(e){var t;let{event:n}=(0,o.useContext)(c.y$),s=n.tournament.category.sport;return(0,r.jsx)(c.Ws.Provider,{value:s.slug,children:(0,r.jsxs)(tM.Hy,{eventId:n.id,children:[(0,r.jsx)(v.$B,{children:(0,r.jsx)(tz,{...e})}),(0,r.jsx)(v.h6,{children:(0,r.jsx)(eH.q,{children:(0,r.jsx)(tf,{initialStandingsProperties:e.initialStandingsProperties})})}),(0,r.jsx)(f.S,{utId:null==(t=n.tournament.uniqueTournament)?void 0:t.id,location:"event_screen"})]})})}var tQ=n(81278),tW=n(30479);let tY={event_details:ty.H.Details,event_lineups:ty.H.Lineups,event_statistics:ty.H.Statistics},tN=e=>{switch(e){case"a":return"android";case"i":return"ios";case"w":return"web";default:return}},tK=e=>{switch(e){case"ed":return"event_details";case"el":return"event_lineups";case"es":return"event_statistics";default:return}},tU=(e,t,n)=>{switch(t){case"s":e.source=tN(n);return;case"id":e.id=Number(n);return;case"c":e.category=tK(n);return;default:return}},tG=(e,t)=>{e.replace("share:","").split(",").forEach(e=>{let n=e.split(":");2===n.length&&tU(t,n[0],n[1])})},tq=e=>{let t=!!(0,tQ.useRouter)().query.sport,n={name:e.slug,id:e.customId};t&&(n.sport=(0,to.c5)(e));let[r,s]=(0,tW.Ay)({routeKey:u.xW.Event,params:n}),a=(null==r?void 0:r.id)&&!Number.isNaN(null==r?void 0:r.id)?r.id:e.id,[i,l]=(0,o.useState)();return(0,o.useEffect)(()=>{let e=window.location.hash.replace("#",""),t={};e.startsWith("share:")&&(tG(e,t),l(t)),t.id&&s("id",t.id.toString())},[]),{eventId:a,setEventId:e=>s("id",e.toString()),shareInfo:i,setShareInfo:l,activeTab:(null==r?void 0:r.tab)||ty.H.Details,setActiveTab:e=>s("tab",e)}};var tV=n(26331),t$=n(73088),tX=n(72653),tZ=n(70389),tJ=n(61836),t0=n(99736),t1=n(25862),t4=n(65097);let t2=[s.QCR.AmericanFootball,s.QCR.Cricket,s.QCR.Football,s.QCR.Baseball,s.QCR.Basketball,s.QCR.TableTennis,s.QCR.IceHockey,s.QCR.Handball,s.QCR.Volleyball,s.QCR.MMA];function t9(e){var t,n,i,u,v;if("error"in e)return(0,r.jsx)(t4.default,{statusCode:404});let f=(0,d.A)(),{eventId:j,setEventId:y,shareInfo:b,setShareInfo:w,activeTab:k,setActiveTab:S}=tq(e.event),{event:C}=(0,x.A)(j,{shouldRefresh:!0,onFetchError:()=>y(e.event.id)}),_=(null==C?void 0:C.customId)===e.event.customId?C:e.event,[A,T]=(0,g.A)(_,"homeTeam","awayTeam",_),[I,L]=(0,g.A)(_,"homeScore","awayScore",_);(0,o.useEffect)(()=>{if(C&&((0,tJ.l3)(C.id,C.status.type),b&&b.id&&b.category&&b.source)){tY[b.category]&&S(tY[b.category]),w(void 0);try{sessionStorage.setItem(h.IE,"share")}catch(e){}}},[null==C?void 0:C.id]),(0,o.useEffect)(()=>{(0,tr.UI)("sofa.event.details.load-id")},[]);let{customId:E,slug:F,homeTeam:H,awayTeam:R,tournament:B,startTimestamp:P}=_,D=(0,tV.A)(),z=H.name,M=R.name,O=_.venue,Q=f.formatDate((0,a.pp)(P,!0),{...a.or.dateWithShortMonth}),W=f.formatTime((0,a.pp)(P,!0)),Y=_.tournament.category.sport.slug,N=Y===s.QCR.Football,K=Y===s.QCR.ESports,U=null==(t=B.category.alpha2)?void 0:t.toLowerCase(),G=null==(i=H.country)||null==(n=i.alpha2)?void 0:n.toLowerCase(),q=null==(v=R.country)||null==(u=v.alpha2)?void 0:u.toLowerCase(),V=_.isEditor?!(0,m.N)(null!=U?U:G&&q&&G===q?G:"",D):(0,p.v)(Y,D),$=t$.z.getTranslatedCanonicalRoute(D,"event",{id:E,name:F,sport:Y}).route,X={item:"".concat(_.homeTeam.name," ").concat(_.awayTeam.name),homeTeamName:z,awayTeamName:M,home:z,away:M,startDate:Q,startTime:W,tournamentName:B.name,categoryName:B.category.name,hasVenue:!!O,year:new Date(1e3*_.startTimestamp).getFullYear(),...(0,to.Ee)(O)},Z="event",J="livescore";return["fr","it"].includes(D)&&N&&(Z="event-v2"),N&&(J="livescore-v3"),K&&(Z="event-esports",J="livescore-esports"),(0,r.jsxs)(eT.an,{value:{meta:e.meta,eventMeta:e.eventMeta,seoContent:e.seoContent},children:[(0,r.jsxs)(l(),{children:[(0,r.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat($)}),(0,r.jsx)("link",{rel:"alternate",href:"android-app://com.sofascore.results/https/www.sofascore.com/event/".concat(_.id)}),(0,r.jsx)("meta",{property:"og:image",content:s.bnp.shareDetailsImage("16x9",_.id)}),(0,r.jsx)("meta",{property:"og:image:width",content:"2130"}),(0,r.jsx)("meta",{property:"og:image:height",content:"1200"}),V&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,r.jsx)(tX.A,{event:_}),(0,r.jsx)(eT.Ay,{metaKey:Z,titleKey:J,keywordsKey:"sport",values:X}),(0,r.jsx)(c.y$.Provider,{value:{event:_,leftTeam:A,rightTeam:T,leftScore:I,rightScore:L,location:c.cb.EventPage,initialIncidents:e.incidents,initialHasLineups:e.initialHasLineups},children:(0,r.jsx)(tO,{activeTab:k,setActiveTab:S,initialStandingsProperties:e.initialStandingsProperties})})]})}t9.getInitialProps=t0.Ay.getInitialPageProps(e=>async t=>{let{query:r,req:a,res:i,...l}=t,o=a?a._originalUrl:l.asPath,d=t$.z.getCurrentLocale(o),c=a&&a.params?a.params:r,m=c.id;try{var p,h,x;let t,r=Number(null==(p=(0,tW.JT)(o))?void 0:p.id);(!r||Number.isNaN(r))&&(r=Number((await s.nk6.fetchCurrentlyRelevantEvent(m)).currentlyRelevantEvent.id));let[a,l,g,v,f,j]=await Promise.allSettled([s.nk6.fetchEvent(r),s.sdF.getEntityMeta(s.wNW.Event,m,d),s.nk6.fetchH2HMeta(r),t2.includes(c.sport)?s.sdF.getSeoContent(s.wNW.Event,r,d):Promise.reject(),s.nk6.hasLineups(r),s.nk6.fetchEventIncidents(r)]),y="fulfilled"===a.status?a.value.event:void 0;if(!y)throw Error();let b="fulfilled"===l.status?l.value.entityMeta:void 0,w="fulfilled"===g.status?g.value.meta:void 0,k="fulfilled"===v.status?v.value.content:void 0,S="fulfilled"===f.status?f.value:void 0,C="fulfilled"===j.status&&(null==(h=j.value.incidents)?void 0:h.length)?j.value.incidents:void 0,_=y.tournament.category.sport.slug;if(i&&(y.slug!==c.name||_!==c.sport)&&(i.writeHead(301,{Location:t$.z.getTranslatedRoute(d,"event",{id:y.customId,name:y.slug,sport:_}).route}),i.end()),i&&!u.Hk.includes(_))throw Error("Unsupported sport");if(u.so.includes(_))throw Error("Stage sports do not have event page!");try{t=await s.nk6.fetchStandingsProperties(y.tournament.id,null==(x=y.season)?void 0:x.id)}catch(e){}let A=(0,s.S$s)(),T=(await n.e(1088).then(n.t.bind(n,81088,19))).default;return e.dispatch((0,tZ.Od)(T)),e.dispatch((0,t1.Vy)(_)),{event:y,meta:b,eventMeta:w,seoContent:k,initialHasLineups:S,revalidate:A,incidents:C,initialStandingsProperties:t}}catch(e){return i&&(i.statusCode=404),{error:e}}})},85397:(e,t,n)=>{"use strict";n.d(t,{S:()=>a,v:()=>s});var r=n(4967);let s=3*r.d_,a=7*r.d_},85568:(e,t,n)=>{"use strict";n.d(t,{U:()=>l});var r=n(6029),s=n(44194),a=n(13030),i=n(51372);let l=e=>{let{branding:t,location:n,entityId:l,...o}=e,{isDesktop:d}=(0,s.$c)();return d&&t?(0,r.jsx)(a.A.Header,{...o,variant:"left-aligned",actionComponent:(0,r.jsx)(i.O,{minW:"[140px]",px:"sm",br:"xs",branding:t,location:n,entityId:l})}):(0,r.jsx)(a.A.Header,{...o})}},85625:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var r=function(e){return e.MainScreen="main_screen",e.EventPage="event_page",e.TournamentPage="league_screen",e.DetailsTab="details",e.MediaTab="media",e}({})},86454:(e,t,n)=>{"use strict";n.d(t,{K:()=>y});var r=n(6029),s=n(44194),a=n(76356),i=n(9127),l=n(90112),o=n(12364),d=n.n(o),c=n(55729),u=n(90248),m=n(494),p=n(83201),h=n(54409),x=n(8973),g=n(83260),v=n(12759),f=n(46009);let j=(0,i.m)(a.az);function y(e){let{id:t,name:n,entity:i,children:o,threshold:y=144,type:b}=e,[w,k]=(0,c.useState)(0),[S,C]=(0,g.A)("sticky_follow_header_closed_".concat(i),!1),_=(0,v.Pz)(i),A=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,[n,r]=(0,c.useState)(e);return(0,c.useEffect)(()=>{let n=setTimeout(()=>{r(e)},t);return()=>clearTimeout(n)},[e]),n}((0,m.d4)(e=>e.favorites.lists[_[0]].includes(t)||2===_.length&&e.favorites.lists[_[1]].includes(t)));return(0,c.useEffect)(()=>{if(S)return;let e=d()(()=>{window.requestAnimationFrame(()=>{k(window.scrollY)})},300);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[w,S]),(0,r.jsx)(l.N,{children:w>y&&!A&&(0,r.jsx)(j,{position:"fixed",left:"0",right:"0",mt:"0 !important",h:"[168px]",bg:"surface.sp",textAlign:"center",initial:{top:-160,opacity:0},animate:{top:0,opacity:1},exit:{top:-160,opacity:0},transition:{type:"spring",bounce:.3,restDelta:.5},zIndex:"subheader",elevation:"3",children:(0,r.jsx)(a.az,{position:"absolute",bottom:"0",left:"0",right:"0",children:(0,r.jsx)(p.m,{h:"5xl",py:"sm",children:(0,r.jsxs)(a.so,{h:"[40px]",children:[(0,r.jsx)(a.so,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},justify:"flex-end",align:"center",flex:"[1 1 50%]",children:(0,r.jsxs)(a.so,{backgroundColor:"surface.s2",align:"center",px:"sm",py:"xs",br:"lg",cursor:"pointer",children:[o,(0,r.jsx)(f.e,{id:t,entity:i,type:b,location:x.y.FloatingHeader})]})}),(0,r.jsx)(a.so,{align:"center",flex:"[1 1 50%]",children:(0,r.jsx)(s.EY,{textStyle:"assistive.default",ml:"lg",children:(0,r.jsx)(u.A,{id:"add_to_favorites_text",values:{name:n}})})}),(0,r.jsx)(a.so,{align:"center",children:(0,r.jsx)(s.$n,{variant:"clear",p:"0",onClick:()=>{C(!0),k(0)},children:(0,r.jsx)(h.zQC,{icon:"close"})})})]})})})})})}},86523:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LiveActionWidgetContainer:()=>A,default:()=>T});var r=n(6029),s=n(21377),a=n(44194),i=n(76356),l=n(55729),o=n(494),d=n(45860),c=n(65789),u=n(54409),m=n(19451),p=n(7263),h=n(99064),x=n(90248);let g=(0,l.forwardRef)((e,t)=>{let{width:n,eventId:l,toggleButton:o,options:d}=e;return(0,r.jsxs)(i.az,{ref:t,_fullscreen:{bg:"surface.s1"},children:[(0,r.jsx)(a.H3,{textAlign:"center",pt:"md",pb:"xs",children:(0,r.jsx)(x.A,{id:"event.liveAction"})}),(0,r.jsx)(i.az,{display:"table",m:"auto",py:"sm",children:(0,r.jsx)(i.az,{mx:"sm",children:(0,r.jsxs)(h.XI,{position:"relative",m:"auto",mb:"10px",children:[(0,r.jsx)("iframe",{src:(0,s.Lo9)(s.bnp.liveActionWidget(l,d)),style:{display:"block"},width:n,height:.49*n,frameBorder:"0",scrolling:"no"}),o]})})})]})});var v=n(62042);let f=(0,v.AH)({zIndex:"dropdown",bg:"surface.s1"}),j=(0,v.AH)({elevation:"3",position:"absolute",px:"lg",br:"xl",overflow:"hidden",cursor:"move"}),y=(0,v.AH)({mb:"md",br:"xl"}),b=(0,v.AH)({"& iframe":{pointerEvents:"none"}}),w=(e,t)=>(0,v.cx)(f,e&&j,!e&&y,t&&b),k=(0,i.I4)("div",{base:{position:"absolute",zIndex:"popover",_hover:{bg:"overlay.darken1"}}});function S(e,t,n,r){let s,a;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}=r;if(n){let n=e.offsetWidth+(t.clientX-s)*l;e.style.width="".concat(n,"px"),-1===l&&n>320&&n<800&&(e.style.left="".concat(e.offsetLeft+t.clientX-s,"px"))}if(i){let n=e.offsetHeight+(t.clientY-a)*l;e.style.height="".concat(n,"px"),-1===l&&n>520&&n<800&&(e.style.top="".concat(e.offsetTop+t.clientY-a,"px"))}s=t.clientX,a=t.clientY}}return function(e){e.preventDefault(),e.stopPropagation(),s=e.clientX,a=e.clientY,document.onmouseup=i,document.onmousemove=l,n(!0)}}let C=(e,t)=>{switch(t){case"lg":return 368;case"md":return 298;default:return e}},_=e=>{let{expanded:t,children:n}=e,s=(0,l.createRef)(),o=(0,l.createRef)(),d=(0,l.createRef)(),c=(0,l.createRef)(),u=(0,l.createRef)(),m=(0,l.createRef)(),p=(0,l.createRef)(),[h,x]=(0,l.useState)(0),[v,f]=(0,l.useState)(0),[j,y]=(0,l.useState)({x:0,y:0}),[b,_]=(0,l.useState)(!1),[A,T]=(0,l.useState)(!1),{mediaBreakpoint:I}=(0,a.$c)(),L=(0,l.useCallback)(e=>{e.preventDefault(),y({x:e.clientX,y:e.clientY}),_(!0)},[j,b]),E=(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 r="".concat(e.currentTarget.offsetTop-n,"px"),s="".concat(e.currentTarget.offsetLeft-t,"px");e.currentTarget.style.top=r,e.currentTarget.style.left=s},[j,b]),F=(0,l.useCallback)(()=>{_(!1),document.body.style.pointerEvents=""},[j,b]);return(0,l.useEffect)(()=>{t&&(o.current&&(o.current.onmousedown=S(s.current,f,T,{vertical:!0,valence:-1})),d.current&&(d.current.onmousedown=S(s.current,f,T,{horizontal:!0,valence:1})),c.current&&(c.current.onmousedown=S(s.current,f,T,{vertical:!0,valence:1})),u.current&&(u.current.onmousedown=S(s.current,f,T,{horizontal:!0,valence:-1})),m.current&&(m.current.onmousedown=S(s.current,f,T,{horizontal:!0,vertical:!0,valence:1})),p.current&&(p.current.onmousedown=S(s.current,f,T,{horizontal:!0,vertical:!0,valence:-1}))),!t&&s.current&&(s.current.style.top="",s.current.style.left="",s.current.style.width="",s.current.style.height="")},[o.current,t]),(0,l.useEffect)(()=>{s.current&&(f(Math.min(640,document.body.offsetWidth)),h||x(s.current.clientWidth))},[s.current]),(0,r.jsxs)(i.az,{className:w(t,A),ref:s,onMouseDown:L,onMouseMove:b?E:void 0,onMouseUp:F,style:t?{width:v,minWidth:320,maxWidth:800,minHeight:520,maxHeight:800,height:500}:void 0,children:[t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k,{ref:o,top:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,r.jsx)(k,{ref:d,top:"0",right:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,r.jsx)(k,{ref:c,bottom:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,r.jsx)(k,{ref:u,top:"0",left:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,r.jsx)(k,{ref:m,bottom:"0",right:"0",w:"md",h:"md",cursor:"se-resize"}),(0,r.jsx)(k,{ref:p,top:"0",left:"0",w:"md",h:"md",cursor:"nw-resize"})]}),(0,r.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===g?(0,l.cloneElement)(e,{...e.props,width:t?v-24:C(h-24,I)}):e)})]})};function A(e){let{eventId:t,modal:n,useNativeFullscreen:h,children:x}=e,{data:v}=(0,d.Ay)([s.bnp.liveActionWidget(t),"HEAD"],{fetcher:p.n}),[f,j]=(0,l.useState)(!1),[y,b]=(0,l.useState)(320),w=(0,l.createRef)(),[k,S]=(0,l.useState)(!1),C=(0,o.d4)(e=>e.locale.selectedLocale||m.Xn),A=(0,o.d4)(e=>e.locale.geoIPAlpha2),{isMobile:T}=(0,a.$c)(),I=(0,l.useMemo)(()=>{if((0,s.S$s)())return!1;let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;return h&&!t},[h]),L=(0,l.useCallback)(e=>{if(e){let e=w&&w.current;if(!e)return;let t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&((t=t.bind(e))(),screen.orientation&&screen.orientation.lock&&screen.orientation.lock("landscape"))}else{let e=document,t=e.exitFullscreen||e.webkitExitFullscreen||e.mozExitFullScreen||e.msExitFullscreen;t&&(t=t.bind(e))()}},[w,w.current]),E=(0,l.useCallback)(()=>{j(!f),h&&L(!f)},[w,w.current,f,j]);if((0,l.useEffect)(()=>{if(f&&w.current){let e=30;90===screen.orientation.angle&&(e=200),b(w.current.offsetWidth-e)}else b(320)},[w,w.current,f,b]),(0,l.useEffect)(()=>{h&&f&&w.current&&(k||(document.removeEventListener("fullscreenchange",e),document.addEventListener("fullscreenchange",e,{once:!0}),S(!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),S(!1)}},[w,w.current,f,b,k]),!v)return null;let F=(0,r.jsx)(g,{eventId:t,ref:w,width:y,toggleButton:I?null:(0,r.jsx)(i.ov,{backgroundColor:"overlay.darken2",position:"absolute",h:"2xl",w:"2xl",top:"sm",right:"sm",br:"50%",onClick:E,cursor:"pointer",_hover:{bg:"overlay.darken1"},children:(0,r.jsx)(u.L9n,{expanded:f,fill:"white"})}),options:{language:C,china:"cn"===A,mobile:T}});return n?(0,r.jsxs)(_,{expanded:f,setExpanded:j,children:[F,f&&x]}):(0,r.jsx)(c.Zp,{children:F})}let T=A},88530:(e,t,n)=>{"use strict";n.d(t,{CP:()=>i,Hk:()=>s,IQ:()=>l,NW:()=>a});var r=n(70764);let s=(e,t,n)=>{let r=[],s=[],a=new Set(n.map(e=>{var t;return null==(t=e.stageParent)?void 0:t.id}));t.forEach(t=>{let n=e.find(e=>{var n;return e.id===(null==(n=t.uniqueStage)?void 0:n.id)});void 0!==n&&(a.has(t.id)?r.push(n):s.push(n))});let i=t.map(e=>{var t;return null==(t=e.uniqueStage)?void 0:t.id}),l=e.filter(e=>!i.includes(e.id));return[...d(o(r)),...d(o(s)),...o(l)]},a=(e,t)=>[...t.filter(t=>{var n;return(null==(n=t.uniqueStage)?void 0:n.id)===e.id})],i=e=>{let t=new Date(e),n=t.getDay(),r=new Date(t);r.setDate(t.getDate()-(n-2+7)%7);let s=new Date(r);return s.setDate(r.getDate()+6),s},l=e=>{let t=new Date(e),n=t.getDay();return t.setDate(t.getDate()-(n-2+7)%7),t};function o(e){return e.sort((e,t)=>{let n=r.z.indexOf(e.id),s=r.z.indexOf(t.id);return(-1===n?r.z.length:n)-(-1===s?r.z.length:s)})}function d(e){let t=new Map;return e.forEach(e=>t.set(e.id,e)),Array.from(t.values())}},90536:(e,t,n)=>{"use strict";n.d(t,{AG:()=>i,Ve:()=>l,aQ:()=>c,mR:()=>o,o5:()=>d});var r=n(21377),s=n(13731),a=n.n(s);let i=e=>e.reduce((e,t)=>e+Number(t),0)/e.length,l=e=>"".concat(e.getFullYear(),"-").concat(9>e.getMonth()?"0":"").concat(e.getMonth()+1);function o(e){let t=e.filter(e=>e.type===r.XFZ.Event);return a()(t,e=>l(new Date(1e3*e.timestamp)))}function d(){let e={},t=new Date;for(let n=0;n<12;n++)e[l(t)]=void 0,t.setMonth(t.getMonth()-1);return e}function c(){let e=new Date;return[new Date(e.getFullYear(),e.getMonth()-11,1).getTime(),new Date(e.getFullYear(),e.getMonth()+1,0).getTime()]}},91407:(e,t,n)=>{"use strict";n.d(t,{t:()=>l});var r=n(64082),s=n(6029),a=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,p=(0,r.T)(e,["id","name","size","style","className","grayscale","isFantasy","placeholder"]);let h=p.w||p.width||l,x=p.h||p.height||l;return(0,s.jsx)(i._V,Object.assign({fallback:(0,s.jsx)(i._V,{style:{borderRadius:"50%"},w:h,h:x,src:m,alt:n}),src:t?a.qvj.image(t,u):"",alt:n,w:h,h:x,br:"50%",border:"onSurface.nLv4",style:o,className:d,isGrayscale:c},p))}},91888:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,N:()=>s});var r=n(21377);let s=e=>({id:e.id,background:e.background||r.jae.EntityHeader,campaignName:"generic",copy:{sectionTitle:e.title,description:e.description,action:e.cta},detailImageUrl:{ltr:r.Oaq.bannerLogo(e.id),rtl:r.Oaq.bannerLogo(e.id)},type:e.layout,url:e.url,regulative:e.regulative}),a=(e,t)=>t?"promotion.banner.".concat(e,".").concat(t):"promotion.banner.".concat(e)},92059:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(6029),s=n(10292),a=n(21377),i=n(44194),l=n(76356),o=n(45860),d=n(65789),c=n(24159),u=n(63263);let m=e=>(t,n)=>{var r,s,a,i;return(null!=(a=null==(r=e[t.position])?void 0:r.sortIndex)?a:100)-(null!=(i=null==(s=e[n.position])?void 0:s.sortIndex)?i:100)},p=e=>{var t;let{player:n,isInverted:a,positionIcons:o}=e,d="".concat(n.firstName||""," ").concat(n.lastName||""),u=n.position?null==(t=o[n.position])?void 0:t.icon:null;return(0,r.jsxs)(l.so,{py:"sm",px:"lg",direction:a?"row-reverse":"row",gap:"lg",children:[(0,r.jsxs)(l.az,{h:"3xl",w:"3xl",position:"relative",children:[(0,r.jsx)(s.t,{id:n.id,name:d,size:40}),u&&(0,r.jsx)(l.so,{justify:"center",align:"center",position:"absolute",p:"2xs",bg:"surface.s0",br:"50%",left:a?"-sm":void 0,right:a?void 0:"-sm",bottom:"-2xs",children:(0,r.jsx)(u,{w:16,h:16,fill:"onSurface.nLv1"})})]}),(0,r.jsxs)(l.BJ,{maxW:"2/3",pt:"xs",gap:"0",children:[(0,r.jsx)(i.EY,{w:"100%",textStyle:"body.large",textAlign:a?"end":"start",truncate:!0,children:(0,r.jsx)(c.c,{entity:n})}),(0,r.jsx)(i.EY,{w:"100%",textStyle:"body.medium",textAlign:a?"end":"start",color:"neutrals.nLv3",truncate:!0,children:d})]})]})};function h(e){let{eventId:t,eSportsType:n,hidePlayers:s,isInWidget:i}=e,{data:c}=(0,o.Ay)(s?null:a.bnp.lineups(t));if(!(!s&&c&&c.home.players.length&&c.away.players.length))return null;let h=n===a.$2C.Dota?u.Js:u.Ew,x=c.home.players.sort(m(h)),g=c.away.players.sort(m(h));return(0,r.jsxs)(d.Zp,{isInverseDesktop:i,children:[(0,r.jsx)(d.Zp.Header,{titleId:"players",values:{gender:a.YT8.Male}}),(0,r.jsxs)(l.so,{pb:"sm",children:[(0,r.jsx)(l.az,{w:"1/2",children:x.map(e=>(0,r.jsx)(p,{player:e.player,positionIcons:h},e.player.id))}),(0,r.jsx)(l.az,{w:"1/2",children:g.map(e=>(0,r.jsx)(p,{player:e.player,positionIcons:h,isInverted:!0},e.player.id))})]})]})}},95868:(e,t,n)=>{"use strict";n.d(t,{MB:()=>l,Hw:()=>o,hT:()=>c,R5:()=>d});var r=n(61836),s=n(85625);let a="___sofa-wsc___",i=e=>{let t=new RegExp("".concat(a,"(.*?)").concat(a)),n=e.match(t);return n?n[1]:""},l=e=>{let{type:t,location:n,tournamentId:r,roundId:s,eventId:i,screen:l}=e;return"".concat(a).concat(l,"--").concat(t,"--").concat(n,"--").concat(r,"--").concat(s,"--").concat(i).concat(a)},o=e=>{let[t,n,r,s,a,l]=i(e||"").split("--");return{screen:t,type:n,location:r,tournamentId:Number(s),roundId:"null"===a||"undefined"===a?null:Number(a),eventId:"null"===l||"undefined"===l?null:Number(l)}},d=e=>{let{screen:t,type:n,location:r,tournamentId:a,roundId:i,eventId:l}=o(e),d="Invalid WSC widget containerId: ".concat(e);if(e&&["single","multiple"].includes(n)&&["mobile","desktop"].includes(t)&&Object.values(s.D).includes(r)){if(isNaN(Number(a)));else if(i&&isNaN(Number(i)));else if(!(l&&isNaN(Number(l))))return!0}throw Error(d)},c=e=>{var t,n;let s=null==(t=e.detail)?void 0:t.eventData,a=(null==s?void 0:s.widget_id)||(null==s?void 0:s.origin_widget_id),i=null==(n=e.detail)?void 0:n.eventType;if(i&&a){let{eventId:e,tournamentId:t,location:n}=o(a);switch(i){case"widget_click":(0,r.kA)({id:e||t,location:n});break;case"story_exit":(0,r.G9)({id:e||t,location:n,timeOnScreen:s.content_duration_viewed})}}}},96003:(e,t,n)=>{"use strict";n.d(t,{J:()=>r,x:()=>s});let r="bonus-odds-cta-seen",s="bet-boost-cta-seen"},97047:(e,t,n)=>{"use strict";n.d(t,{WG:()=>c,YL:()=>m,_z:()=>u,lE:()=>a,o_:()=>i});var r=n(21377);let s={EN:"GB",SX:"GB",WA:"GB",NX:"GB"},a=e=>e&&(s[e]||e),i=e=>{if(e)return e===r.YT8.Male?"Male":e===r.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]}},97350:(e,t,n)=>{"use strict";n.d(t,{U:()=>d});var r=n(6029),s=n(947),a=n(90248);let i=JSON.parse('{"Wins":"streak.wins","Losses":"losses","Draws":"draws","No losses":"no_losses","No wins":"noWins","No goals conceded":"noGoalsConceded","No goals scored":"noGoalsScored","Without clean sheet":"no_clean_sheet","More than 2.5 goals":{"id":"over_goals","values":{"n":2.5}},"Less than 2.5 goals":{"id":"under_goals","values":{"n":2.5}},"More than 4.5 cards":{"id":"moreThanCards","values":{"n":4.5}},"Less than 4.5 cards":{"id":"lessThanCards","values":{"n":4.5}},"More than 10.5 corners":{"id":"over_corners","values":{"n":10.5}},"Less than 10.5 corners":{"id":"lessThanCorners","values":{"n":10.5}},"Both teams scoring":"both_teams_to_score","First to score":"first_to_score","First to concede":"firstToConcede","First half winner":"firstHalfWinner","First half loser":"firstHalfLoser","First quarter winner":"firstQuarterWinner","First quarter loser":"firstQuarterLoser","Scored points average (Last 10)":{"id":"bbal_last_ten_avg_points_scored"},"Game points average (Last 10)":{"id":"bbal_last_ten_avg_game_total"},"First period winner":"firstPeriodWinner","First period loser":"firstPeriodLoser","First period both scoring":"firstPeriodBothScoring","More than 5.5 goals":{"id":"over_goals","values":{"n":5.5}},"More than 1.5 goals in first period":{"id":"moreThanGoalsInFirst","values":{"n":1.5}},"First set winner":"firstSetWinner","First set loser":"firstSetLoser","Wins (clay)":{"id":"winsSurface","values":{"surface":"Clay"}},"Wins (grass)":{"id":"winsSurface","values":{"surface":"Grass"}},"Wins (hard)":{"id":"winsSurface","values":{"surface":"Hard"}},"Wins (carpet indoor)":{"id":"winsSurface","values":{"surface":"Carpet indoor"}},"Wins (hardcourt indoor)":{"id":"winsSurface","values":{"surface":"Hardcourt indoor"}},"Wins (hardcourt outdoor)":{"id":"winsSurface","values":{"surface":"Hardcourt outdoor"}},"Wins (synthetic outdoor)":{"id":"winsSurface","values":{"surface":"Synthetic outdoor"}},"Loses (clay)":{"id":"lossesSurface","values":{"surface":"Clay"}},"Loses (grass)":{"id":"lossesSurface","values":{"surface":"Grass"}},"Loses (hard)":{"id":"lossesSurface","values":{"surface":"Hard"}},"Loses (carpet indoor)":{"id":"lossesSurface","values":{"surface":"Carpet indoor"}},"Loses (hardcourt indoor)":{"id":"lossesSurface","values":{"surface":"Hardcourt indoor"}},"Loses (hardcourt outdoor)":{"id":"lossesSurface","values":{"surface":"Hardcourt outdoor"}},"Loses (synthetic outdoor)":{"id":"lossesSurface","values":{"surface":"Synthetic outdoor"}},"Sets won":"setsWon"}');var l=n(74620),o=n(27892);let d=e=>{let{id:t}=e,n=(0,s.A)(),d=(0,o.B)(i,t);return Object.keys(d).forEach(e=>{"surface"===e&&(d[e]=n.formatMessage({id:(0,o.O)(l,d[e])}).toLowerCase())}),(0,r.jsx)(a.A,{id:(0,o.O)(i,t),values:d})}},98095:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(4967),s=n(45860);let a=e=>fetch(e,{method:"HEAD",cache:"no-store"});function i(){let{data:e,error:t,isLoading:n}=(0,s.Ay)("https://cdn.adapex.io/hb/aaw.sofascore.js",{fetcher:a,dedupingInterval:r.d_});return{isLoading:n,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}},98423:(e,t,n)=>{"use strict";n.d(t,{e:()=>s.e,p:()=>r.p});var r=n(91603),s=n(33480)},99397:(e,t,n)=>{"use strict";n.d(t,{G:()=>s.A,t:()=>r.t});var r=n(91407),s=n(12605)}}]);