!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="dfd2c459-0dbe-4e2c-ad2d-9180fe44a9df",e._sentryDebugIdIdentifier="sentry-dbid-dfd2c459-0dbe-4e2c-ad2d-9180fe44a9df")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7256],{2974:(e,s,l)=>{l.d(s,{A:()=>a});var r=l(6029),n=l(55729),t=l(12153);let a=(0,n.forwardRef)((e,s)=>{let{venue:l,children:n,...a}=e;return l&&!l.hidden&&l.country.slug?(0,r.jsx)(t.A,{...a,routeKey:"venue",params:{country:l.country.slug,slug:l.slug,id:l.id},ref:s,children:n}):(0,r.jsx)(r.Fragment,{children:n})})},11998:(e,s,l)=>{l.d(s,{n:()=>a});var r=l(6029),n=l(99064),t=l(65789);function a(){return(0,r.jsxs)(t.Zp,{children:[(0,r.jsx)(t.Zp.Header,{titleId:"media"}),(0,r.jsx)(n.az,{h:800})]})}},18040:(e,s,l)=>{l.d(s,{O:()=>d});var r=l(6029),n=l(21377),t=l(44194),a=l(90248),i=l(12153),o=l(54409);let d=e=>{let{id:s,type:l,sport:d}=e,{isMobile:c}=(0,t.$c)(),u="player"===l||d===n.QCR.Tennis?o.cSg:o.l3$;return(0,r.jsx)(i.A,{routeKey:"player"===l?"player.compare":"team.compare",query:"player"===l?{leftPlayerId:s}:{leftTeamId:s},params:{sport:d},children:(0,r.jsxs)(t.$n,{size:c?"tertiary":"secondary",md:{bg:"overlay.darken1",color:"onColor.primary"},children:[(0,r.jsx)(a.A,{id:"compare"}),(0,r.jsx)(u,{})]})})}},23166:(e,s,l)=>{l.d(s,{C4:()=>j,Ik:()=>x,Xj:()=>p,hA:()=>m,q6:()=>h});var r=l(6029),n=l(49519),t=l(44194),a=l(76356),i=l(93338),o=l(90248),d=l(44595),c=l(54917),u=l(55938);let x=e=>{let{position:s,extended:l,placeholder:n,groupPosition:a,noColor:o,gender:u}=e;return s||n?(0,r.jsx)(t.EY,{textStyle:"display.small",style:{color:i.S.var((0,d.mh)(o?void 0:a||s))},truncate:!0,children:s?(0,r.jsx)(c.F,{id:s,short:!l,gender:u}):"-"}):null},p=e=>{let{teamId:s,teamCodeName:l,textStyle:i,color:o,placeholder:d}=e;return s&&l||d?s&&l?(0,r.jsxs)(a.ov,{children:[(0,r.jsx)(n.p,{id:s,name:l,size:16}),(0,r.jsx)(t.EY,{textStyle:i,color:o,ml:"xs",children:l})]}):(0,r.jsx)(t.EY,{textStyle:i,color:o,children:"-"}):null},m=e=>{let{alpha2:s,color:l,textStyle:i,placeholder:o}=e;return s||o?s?(0,r.jsxs)(a.ov,{children:[(0,r.jsx)(n.w,{size:16,alpha2:s,name:s}),(0,r.jsx)(t.EY,{textStyle:i,color:l,ml:"xs",children:(0,u.KH)(s)})]}):(0,r.jsx)(t.EY,{textStyle:i,color:l,children:"-"}):null},j=e=>{let{absolute:s,jerseyNumber:l}=e;return(0,r.jsx)(a.ov,{position:s?"absolute":"static",bottom:"0",right:"0",w:"xl",h:"xl",br:"50%",bg:"neutral.variant",children:(0,r.jsx)(t.EY,{textStyle:"display.small",color:"surface.s1",textAlign:"center",display:"block",children:l&&"undefined"!==l?l:"-"})})},h=e=>{let{color:s,isDetailedPositionSport:l,mainPosition:n,position:a,gender:d}=e;return(0,r.jsx)("div",{children:l?(0,r.jsx)(t.EY,{textStyle:"display.small",style:{color:i.S.var(s)},children:(0,r.jsx)(o.A,{id:n,values:{gender:d}})}):a&&"undefined"!==a?(0,r.jsx)(x,{position:a,extended:!0,gender:d}):(0,r.jsx)(t.EY,{textStyle:"display.small",style:{color:i.S.var(s)},children:(0,r.jsx)(o.A,{id:"player.position.unknown",values:{gender:d}})})})}},56566:(e,s,l)=>{l.d(s,{A:()=>u,y:()=>c});var r=l(6029),n=l(99064),t=l(55729),a=l(41735),i=l(65789),o=l(52951),d=l(24159);let c=a.default.div.withConfig({componentId:"sc-45a9f748-0"})(["span{color:"," !important;}ins,a{color:",";text-decoration:none;&:hover{opacity:0.7;}}h2,h3,h4{font:",";}p{font:",";}"],e=>e.theme.colors.onSurface.nLv1,e=>e.theme.colors.primary.default,e=>e.theme.typography.font.display.medium,e=>e.theme.typography.font.body.mediumParagraph),u=function(e){let{player:s}=e,{seoContent:l}=(0,t.useContext)(o.xV);return!s.deceased&&(null==l?void 0:l.about)?(0,r.jsxs)(i.Zp,{children:[(0,r.jsx)(i.Zp.Header,{title:(0,r.jsx)(d.c,{entity:s}),as:"h3"}),(0,r.jsx)(n.az,{p:"lg",pt:"0",children:(0,r.jsx)(c,{dangerouslySetInnerHTML:{__html:l.about}})})]}):null}},62927:(e,s,l)=>{l.r(s),l.d(s,{default:()=>V});var r=l(6029),n=l(21377),t=l(44194),a=l(76356),i=l(99064),o=l(55729),d=l(947),c=l(65789),u=l(91816),x=l(90248),p=l(62859),m=l(44595),j=l(10292),h=l(54409),y=l(70591),g=l(24159),f=l(23166),v=l(63869);function b(e){var s;let{teamPlayer:{player:l},groupPosition:n,coloredPosition:i}=e,{national:d}=(0,o.useContext)(v.f),c=void 0!==l.jerseyNumber&&!d;return(0,r.jsx)(y.uc,{player:l,sportSlug:l.team.sport.slug,children:(0,r.jsxs)(a.so,{w:"[134px]",minH:"[164px]",br:"sm",pt:l.injury?void 0:"md",bg:"surface.s2",direction:"column",justify:"space-between",cursor:"pointer",children:[l.injury&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.az,{bg:"status.error.default",w:"100%",h:"xs",roundedTop:"sm"}),(0,r.jsx)(h.gT,{fill:"error.default",ml:"sm",mt:"sm",position:"absolute"})]}),(0,r.jsxs)(a.az,{position:"relative",w:"6xl",h:"6xl",mx:"auto",children:[(0,r.jsx)(j.t,{id:l.id,name:l.name,size:64}),c&&(0,r.jsx)(f.C4,{jerseyNumber:l.jerseyNumber,absolute:!0})]}),(0,r.jsx)(a.ov,{w:"100%",h:"[36px]",children:(0,r.jsx)(t.EY,{mx:"sm",textStyle:"display.small",textAlign:"center",lineClamp:2,display:"block",children:(0,r.jsx)(g.c,{entity:l})})}),(0,r.jsxs)(a.so,{h:"2xl",bg:"surface.s2",p:"sm",roundedBottom:"sm",justify:"space-between",children:[l.position?(0,r.jsx)(f.Ik,{position:l.position,groupPosition:n,noColor:!i,gender:l.team.gender}):(0,r.jsx)("div",{}),d&&(0,r.jsx)(f.Xj,{teamId:l.team.id,teamCodeName:l.team.nameCode}),!d&&(0,r.jsx)(f.hA,{alpha2:null==(s=l.country)?void 0:s.alpha2})]})]})})}var w=l(50774);let I=e=>{let{mainPosition:s,players:l,sport:n}=e;if(!l.length)return null;let t=m.FG.includes(n),i=m.jT.includes(n),o=l[0].player.position,d=(0,m.mh)(t?s:o);return(0,r.jsxs)(a.az,{children:[i&&(0,r.jsx)(a.az,{px:"lg",pt:"lg",children:(0,r.jsx)(f.q6,{color:d,position:o,isDetailedPositionSport:t,mainPosition:s,gender:l[0].player.team.gender})}),(0,r.jsx)(a.so,{px:"md",wrap:"wrap",py:"xs",children:l.map(e=>(0,r.jsx)(a.az,{p:"xs",children:(0,r.jsx)(b,{teamPlayer:e,groupPosition:t?s:void 0,coloredPosition:i})},e.player.id))})]})};function _(e){let{staffMember:s}=e;return(0,r.jsxs)(a.so,{w:"[134px]",minH:"[164px]",br:"sm",pt:"md",bg:"surface.s2",direction:"column",justify:"space-between",children:[(0,r.jsx)(a.az,{position:"relative",border:"1px solid {colors.neutrals.nLv4}",br:"50%",w:"6xl",h:"6xl",mx:"auto",children:(0,r.jsx)(u.d,{id:null==s?void 0:s.id,name:s.name,size:64})}),(0,r.jsx)(t.EY,{my:"md",px:"sm",textStyle:"display.small",textAlign:"center",lineClamp:2,display:"block",children:s.name}),(0,r.jsx)(a.so,{h:"2xl",bg:"surface.s2",p:"sm",roundedBottom:"sm",justify:"space-between",children:(0,r.jsx)(t.EY,{textStyle:"display.small",color:"neutrals.nLv3",truncate:!0,children:(0,r.jsx)(w.A,{role:s.role})})})]})}function S(e){let{players:s,supportStaff:l}=e,n=(0,o.useContext)(p.Ws),i=m.jT.includes(n)?(0,m.GM)(s,n):{players:s};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.az,{pb:"sm",children:Object.keys(i).map(e=>(0,r.jsx)(I,{mainPosition:e,players:i[e],sport:n},e))}),l.length>0&&(0,r.jsxs)(a.az,{pb:"sm",p:"xs",children:[(0,r.jsx)(t.EY,{display:"block",h:"3xl",pt:"md",px:"lg",textStyle:"display.small",children:(0,r.jsx)(x.A,{id:"support_staff"})}),(0,r.jsx)(a.so,{px:"md",wrap:"wrap",py:"xs",children:l.map(e=>(0,r.jsx)(a.az,{p:"xs",children:(0,r.jsx)(_,{staffMember:e})},e.id))})]})]})}var C=l(4967),T=l(70862),k=function(e){return e.Players="players",e.Position="position",e.Age="age",e.Nationality="nationality.short",e.Team="team",e.Support_Staff="support_staff",e}({});let A=e=>{let{staffMember:s,postionColSpan:l}=e;return(0,r.jsxs)(i.XI.Row,{bg:"surface.s1",hoverBg:"surface.s2",children:[(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(a.so,{align:"center",h:"2xl",px:"lg",children:(0,r.jsx)(t.EY,{children:s.name})})}),(0,r.jsx)(i.XI.Cell,{colSpan:l,children:(0,r.jsx)(a.ov,{h:"2xl",px:"lg",children:(0,r.jsx)(t.EY,{textStyle:"display.small",color:"neutrals.nLv3",truncate:!0,children:(0,r.jsx)(w.A,{role:s.role})})})})]})},Y=e=>{var s;let{teamPlayer:l,shownColumns:n}=e,{player:d}=l,c=(0,o.useContext)(p.Ws),{national:u}=(0,o.useContext)(v.f),x=m.jT.includes(c),j=m.FG.includes(c)?(0,m.c7)(d.position,c):void 0;return(0,r.jsxs)(i.XI.Row,{bg:"surface.s1",hoverBg:"surface.s2",children:[n.includes("players")&&(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(y.uc,{player:d,sportSlug:d.team.sport.slug,children:(0,r.jsxs)(a.so,{h:"2xl",children:[d.injury&&(0,r.jsx)(a.so,{h:"100%",w:"xs",bg:"status.error.default"}),(0,r.jsxs)(a.so,{gap:"lg",h:"100%",align:"center",px:d.injury?"md":"lg",children:[u?null:d.jerseyNumber?(0,r.jsx)(f.C4,{jerseyNumber:d.jerseyNumber}):(0,r.jsx)(a.az,{w:"xl",h:"xl"}),(0,r.jsx)(t.EY,{children:(0,r.jsx)(g.c,{entity:d})}),d.injury&&(0,r.jsxs)(a.so,{h:"100%",align:"center",children:[(0,r.jsx)(h.gT,{fill:"error.default"}),(0,r.jsx)(t.EY,{ml:"xs",color:"status.error.default",textStyle:"assistive.default",children:(0,r.jsx)(T.o,{id:d.injury.status})})]})]})]})})}),n.includes("position")&&(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(a.ov,{h:"2xl",px:"lg",children:(0,r.jsx)(f.Ik,{position:d.position,groupPosition:j,extended:!0,placeholder:!0,noColor:!x,gender:d.team.gender})})}),n.includes("age")&&(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(a.ov,{h:"2xl",px:"lg",children:(0,r.jsx)(t.EY,{textAlign:"center",display:"block",children:d.dateOfBirthTimestamp?(0,r.jsx)(r.Fragment,{children:(0,C.KW)(d.dateOfBirthTimestamp)}):"-"})})}),n.includes("nationality.short")&&(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(a.ov,{h:"2xl",px:"lg",children:(0,r.jsx)(f.hA,{alpha2:null==(s=d.country)?void 0:s.alpha2,placeholder:!0})})}),n.includes("team")&&(0,r.jsx)(i.XI.Cell,{children:(0,r.jsx)(a.ov,{h:"2xl",px:"lg",children:(0,r.jsx)(f.Xj,{teamId:d.team.id,teamCodeName:d.team.nameCode,placeholder:!0})})})]})},E=e=>{let{players:s,column:l}=e,r="";switch(l){case k.Players:r="name";break;case k.Nationality:r="country.alpha2";break;case k.Age:r="dateOfBirthTimestamp";break;default:r=l}return s.some(e=>{let{player:s}=e;return!!(null==s?void 0:s[r])})},z=e=>{let{players:s,isNational:l}=e,r=[k.Players,k.Position,k.Age,l?k.Team:k.Nationality],n=[];return r.forEach(e=>{E({players:s,column:e})&&n.push(e)}),n},P=e=>{let{messageId:s,textAlign:l="center",messageValues:n,...a}=e;return(0,r.jsx)(i.XI.HeadCell,{px:"lg",py:"md",...a,children:(0,r.jsx)(t.EY,{textAlign:l,display:"block",children:(0,r.jsx)(x.A,{id:s,values:n})})})};function H(e){var s;let{players:l,supportStaff:t}=e,{national:d}=(0,o.useContext)(v.f),c=z({players:l,isNational:d});return(0,r.jsx)(a.az,{py:"lg",children:(0,r.jsxs)(i.XI,{w:"100%",children:[(0,r.jsx)(i.XI.Head,{children:(0,r.jsxs)(i.XI.Row,{children:[c.includes(k.Players)&&(0,r.jsx)(P,{messageId:"players",textAlign:"start",messageValues:{gender:(null==(s=l[0])?void 0:s.player.team.gender)||n.YT8.Male}}),c.includes(k.Position)&&(0,r.jsx)(P,{messageId:"position"}),c.includes(k.Age)&&(0,r.jsx)(P,{messageId:"age"}),c.includes(k.Nationality)&&(0,r.jsx)(P,{messageId:"nationality"}),c.includes(k.Team)&&(0,r.jsx)(P,{messageId:"team"})]})}),l.map(e=>(0,r.jsx)(Y,{teamPlayer:e,shownColumns:c},e.player.id)),t.length>0&&(0,r.jsx)(i.XI.Head,{children:(0,r.jsxs)(i.XI.Row,{children:[(0,r.jsx)(P,{messageId:"support_staff",align:"left"}),(0,r.jsx)(P,{messageId:"position",colSpan:c.length-1})]})}),t.map(e=>(0,r.jsx)(A,{staffMember:e,postionColSpan:c.length-1},e.id))]})})}var B=l(93338),L=l(26331),N=l(33243),Z=l(84942),M=l(46009),R=l(8973),X=l(54917);let F=e=>{var s,l;let{teamPlayer:i,isLast:d,isDetailedPositionSport:c}=e,{national:u}=(0,o.useContext)(v.f),{player:p}=i,m=n.USm.includes(p.team.sport.slug);return(0,r.jsx)(y.uc,{player:p,sportSlug:p.team.sport.slug,children:(0,r.jsxs)(a.so,{align:"center",cursor:"pointer",children:[(0,r.jsx)(j.t,{id:p.id,name:p.name,size:40,mx:"lg"}),(0,r.jsxs)(a.so,{grow:1,h:"100%",py:"sm",pr:"lg",borderBottom:d?void 0:"1px solid {colors.neutrals.nLv4}",direction:"row",justify:"space-between",align:"center",children:[(0,r.jsxs)(a.so,{direction:"column",justify:"center",gap:"xs",children:[(0,r.jsx)(t.EY,{display:"block",children:(0,r.jsx)(g.c,{entity:p})}),(0,r.jsxs)(a.so,{gap:"sm",align:"center",children:[!u&&p.jerseyNumber&&"undefined"!==p.jerseyNumber&&(0,r.jsx)(t.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:p.jerseyNumber}),p.dateOfBirthTimestamp&&(0,r.jsxs)(t.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:[(0,C.KW)(p.dateOfBirthTimestamp)," ",(0,r.jsx)(x.A,{id:"years_short"})]}),c&&p.position&&(0,r.jsx)(t.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,r.jsx)(X.F,{id:p.position,gender:null==(s=p.team)?void 0:s.gender})}),u&&(0,r.jsx)(f.Xj,{teamId:p.team.id,teamCodeName:p.team.nameCode,color:"neutrals.nLv3",textStyle:"assistive.default"}),!u&&(0,r.jsx)(f.hA,{alpha2:null==(l=p.country)?void 0:l.alpha2,color:"neutrals.nLv3",textStyle:"assistive.default"})]}),p.injury&&(0,r.jsxs)(a.so,{align:"center",children:[(0,r.jsx)(h.gT,{fill:"error.default"}),(0,r.jsx)(t.EY,{ml:"xs",textStyle:"assistive.default",color:"status.error.default",children:(0,r.jsx)(T.o,{id:p.injury.status})})]})]}),m&&(0,r.jsx)(M.e,{entity:n.bq7.Players,id:p.id,location:R.y.EventHeader,type:R.b.Player})]})]})})},O=e=>{var s;let{manager:l}=e,n=(0,L.A)();return l&&(null==l?void 0:l.id)&&(null==l?void 0:l.name)?(0,r.jsx)(c.Zp,{children:(0,r.jsx)(y.yI,{manager:l,children:(0,r.jsxs)(a.so,{align:"center",px:"lg",py:"md",children:[(0,r.jsx)(a.az,{w:"3xl",h:"3xl",br:"50%",border:"1px solid {colors.neutrals.nLv4}",children:(0,r.jsx)(u.d,{id:l.id,style:{width:"100%",height:"100%"}})}),(0,r.jsxs)(a.az,{ml:"lg",children:[(0,r.jsx)(t.EY,{textStyle:"display.medium",display:"block",children:(0,Z.s)(l,n)}),(0,r.jsxs)(a.so,{gap:"sm",align:"center",children:[(0,r.jsx)(t.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",display:"block",children:(0,r.jsx)(x.A,{id:"team_coach"})}),(0,r.jsx)(f.hA,{alpha2:null==(s=l.country)?void 0:s.alpha2,color:"neutrals.nLv3",textStyle:"assistive.default"})]})]})]})})}):(0,r.jsx)(a.az,{w:"100%"})},q=e=>{let{mainPosition:s,players:l,sport:t,gender:i}=e;if(!l.length)return null;let o=m.FG.includes(t),d=l[0].player.position,u=(0,m.mh)(o?s:d);return(0,r.jsx)(c.Zp,{children:(0,r.jsxs)(a.az,{py:"md",children:[m.jT.includes(t)&&(0,r.jsxs)(a.so,{pb:"sm",align:"center",children:[(0,r.jsx)(a.az,{style:{backgroundColor:B.S.var(u)},w:"xs",h:"4xl",mr:"lg"}),(0,r.jsx)(f.q6,{color:u,position:d,isDetailedPositionSport:o,mainPosition:s,gender:i})]}),l.map((e,s)=>(0,r.jsx)(F,{teamPlayer:e,isLast:s===l.length-1,isDetailedPositionSport:o||t===n.QCR.Basketball||t===n.QCR.Cricket},e.player.id))]})})};function W(e){let{players:s,manager:l,supportStaff:t,gender:i=n.YT8.Male}=e,d=(0,o.useContext)(p.Ws),u=m.jT.includes(d)?(0,m.GM)(s,d):{players:s};return(0,r.jsxs)(a.so,{direction:"column",gap:"sm",children:[(0,r.jsx)(O,{manager:l}),Object.keys(u).map(e=>(0,r.jsx)(q,{mainPosition:e,players:u[e],sport:d,gender:i},e)),t.length>0&&(0,r.jsxs)(c.Zp,{children:[(0,r.jsx)(c.Zp.Header,{titleId:"support_staff",variant:"left-aligned"}),(0,r.jsx)(N.A,{supportStaff:t})]})]})}var D=function(e){return e.BoxViewOpt="box",e.ListViewOpt="list",e}(D||{});let U="players";function V(e){let{players:s,supportStaff:l,manager:u,gender:x=n.YT8.Male}=e,p=(0,d.A)(),[m,j]=(0,o.useState)("box"),[h]=(0,o.useState)(Math.random()),{isMobile:y}=(0,t.$c)();return((0,o.useEffect)(()=>{y||"box"===m||j("box")},[y]),s.length)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.az,{hideBelow:"md",children:(0,r.jsxs)(c.Zp,{children:[(0,r.jsx)(c.Zp.Header,{titleId:"players",values:{gender:x}}),(0,r.jsxs)(a.so,{mb:"2xs",children:[(0,r.jsx)(i.a,{id:"boxTeamPlayers-".concat(h),name:U,label:p.formatMessage({id:"box_view"}),value:"box",checked:"box"===m,onChange:()=>j("box"),gap:"lg",px:"lg",py:"md"}),(0,r.jsx)(i.a,{id:"listTeamPlayers-".concat(h),name:U,label:p.formatMessage({id:"list_view"}),value:"list",checked:"list"===m,onChange:()=>j("list"),gap:"lg",px:"lg",py:"md"})]}),"box"===m?(0,r.jsx)(S,{players:s,supportStaff:l}):(0,r.jsx)(H,{players:s,supportStaff:l})]})}),(0,r.jsx)(a.az,{hideFrom:"md",children:(0,r.jsx)(W,{players:s,manager:u,supportStaff:l,gender:x})})]}):null}},63869:(e,s,l)=>{l.d(s,{f:()=>n});let r=(0,l(55729).createContext)({});r.displayName="TeamContext";let n=r},66902:(e,s,l)=>{l.d(s,{Im:()=>c,Y9:()=>w,zY:()=>T,cZ:()=>F,fS:()=>q.f,Ay:()=>O.default,KW:()=>b});var r=l(6029),n=l(76356),t=l(55729),a=l(65789),i=l(52951),o=l(56566),d=l(91811);function c(e){let{team:s}=e,{seoContent:l}=(0,t.useContext)(i.xV),c=(0,d.n)(s);return(null==l?void 0:l.about)?(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.Zp.Header,{titleId:"team.about",values:{team:c},as:"h3"}),(0,r.jsx)(n.az,{px:"lg",pb:"lg",children:(0,r.jsx)(o.y,{dangerouslySetInnerHTML:{__html:l.about}})})]}):null}var u=l(49519),x=l(21377),p=l(44194),m=l(18040),j=l(42901),h=l(98449),y=l(46009),g=l(64073),f=l(8973),v=l(94604);let b=e=>{var s;return e.type===x.YVh.Person&&e.country.alpha2?(0,x.RHm)(e.country.alpha2):e.sport.slug===x.QCR.Minifootball&&(null==(s=e.primaryUniqueTournament)?void 0:s.id)?x.V3t.image(e.primaryUniqueTournament.id):x.cWY.image(e.id)};function w(e){var s;let{team:l,hasStatisticsSeasons:t}=e,{isDesktop:a}=(0,p.$c)(),i=l.type===x.YVh.Person,o=l.sport.slug,d=[x.QCR.Football,x.QCR.Basketball,x.QCR.Tennis].includes(o)&&t;return(0,r.jsx)(n.az,{bg:"surface.s1",br:{md:"xl"},py:{mdDown:"lg"},children:(0,r.jsx)(j.z,{bgImageSrc:b(l),flexProps:{py:[0,"lg"]},children:(0,r.jsxs)(n.so,{w:"100%",grow:1,align:"center",px:"lg",children:[(0,r.jsxs)(n.so,{grow:1,align:"center",maxW:{mdDown:"100%"},children:[(0,r.jsx)(n.az,{br:{md:"xs"},w:{base:"4xl",md:"12xl"},h:{base:"4xl",md:"12xl"},ml:{md:"sm"},mr:{base:"lg",md:"xl"},bg:i?void 0:{md:"surface.s1"},elevation:i?void 0:{md:"2"},children:(0,r.jsx)(u.p,{id:l.id,name:l.name,w:[48,i?110:88],h:[48,i?110:88],m:[0,i?0:"md"],grayscale:null==(s=l.playerTeamInfo)?void 0:s.deceased,style:{verticalAlign:"top"}})}),(0,r.jsxs)(n.so,{flexGrow:1,direction:"column",align:"flex-start",maxW:{base:"[calc(100% - 64px)]",md:"[200px]",lg:"100%"},mr:{md:"lg"},gap:{base:"xs",md:"sm"},w:"100%",children:[(0,r.jsxs)(n.so,{gap:"sm",align:"center",children:[(0,r.jsx)(p.H2,{textStyle:{base:"display.large",md:"display.extraLarge"},color:{base:"neutrals.nLv1",md:"onColor.primary"},w:"100%",children:(0,r.jsx)(v.Rm,{team:l,full:!0})}),a&&(0,r.jsx)(y.e,{id:l.id,entity:x.bq7.Teams,location:f.y.Header,type:f.b.Team,isOnOverlay:!0})]}),!i&&!l.national&&l.country.name&&(0,r.jsxs)(n.so,{align:"center",gap:{base:"xs",md:"sm"},children:[(0,r.jsx)(u.w,{alpha2:l.country.alpha2,name:l.country.name,w:[16,32],h:[16,32]}),(0,r.jsx)(p.EY,{textStyle:{base:"body.medium",md:"display.medium"},color:{base:"neutrals.nLv1",md:"onColor.primary"},children:(0,r.jsx)(h.m,{slug:l.country.slug||"",name:l.country.name})})]}),d&&(0,r.jsx)(m.O,{type:"team",id:l.id,sport:o})]})]}),a?(0,r.jsx)(n.so,{children:(0,r.jsxs)(g.K,{id:l.id,name:(0,r.jsx)(v.Rm,{team:l}),entity:x.bq7.Teams,type:f.b.Team,children:[(0,r.jsx)(u.p,{id:l.id,name:l.name,w:32,h:32,mr:"sm",style:{verticalAlign:"top"}}),(0,r.jsx)(p.EY,{textStyle:"display.medium",color:"primary.default",mr:"sm",children:(0,r.jsx)(v.Rm,{team:l})})]})}):(0,r.jsx)(y.e,{id:l.id,entity:x.bq7.Teams,location:f.y.Header,type:f.b.Team})]})})})}var I=l(33752),_=l(70591),S=l(27289),C=l(52695);function T(e){let{sport:s,uniqueTournament:l,category:a,teamName:o}=e,{seoContent:d}=(0,t.useContext)(i.xV);return(0,r.jsx)(n.az,{bg:{mdDown:"surface.s1"},children:(0,r.jsxs)(I.B,{children:[(0,r.jsx)(I.B.Item,{children:(0,r.jsx)(_.di,{translatedParams:{sport:s.slug},children:(0,r.jsx)(S.o,{sportSlug:s.slug})})}),(0,r.jsx)(I.B.Item,{children:(0,r.jsx)(_.Z6,{category:a,children:(0,r.jsx)(h.m,{...a})})}),l?(0,r.jsx)(I.B.Item,{children:(0,r.jsx)(_.tQ,{tournament:l,children:(0,r.jsx)(C.O,{uniqueTournament:l})})}):null,(0,r.jsx)(I.B.Title,{children:(null==d?void 0:d.heading)||"".concat(o," - Sofascore")})]})})}var k=l(4967),A=l(21501),Y=l(99064),E=l(90248),z=l(947),P=l(90510),H=l(3518),B=l(55938),L=l(45860),N=l(54409),Z=l(54053);function M(e){var s;let{id:l}=e,[a,i]=(0,t.useState)(!1),o=(0,z.A)(),{data:d,isLoading:c}=(0,L.Ay)(x.cWY.recentUniqueTournaments(l));if(!(null==d||null==(s=d.uniqueTournaments)?void 0:s.length))return c?(0,r.jsx)(n.az,{h:"2xl"}):null;let u=[...d.uniqueTournaments].reverse(),m=u[0].name;return u[0].round&&(m+=", "+(u[0].winner?o.formatMessage({id:"winner"}):u[0].round)),(0,r.jsxs)(n.so,{h:"2xs",px:"lg",py:"sm",justify:"space-between",position:"relative",children:[(0,r.jsxs)(n.az,{position:"relative",flexGrow:1,children:[(0,r.jsx)(n.az,{cursor:"pointer",onClick:()=>i(!0),children:(0,r.jsxs)(p.EY,{color:"primary.default",_hover:{color:"primary.default"},truncate:!0,children:[(0,r.jsx)(E.A,{id:"previous"}),(0,r.jsx)(N.HW5,{ml:"xs",w:16,h:16,fill:"primary.default"})]})}),a&&(0,r.jsx)(Z.A,{header:"tennis.previousTournaments",isOpen:a,setIsOpen:i,children:(0,r.jsx)(n.az,{w:{base:"100%",md:"[320px]"},pb:"sm",children:u.map(e=>(0,r.jsx)(_.tQ,{tournament:e.uniqueTournament,children:(0,r.jsxs)(n.so,{w:"100%",cursor:"pointer",_hover:{bg:"surface.s2"},p:"lg",justify:"space-between",children:[(0,r.jsx)(p.EY,{maxW:"1/2",truncate:!0,display:"block",children:(0,r.jsx)(C.O,{uniqueTournament:e.uniqueTournament})}),(0,r.jsxs)(n.so,{w:"1/2",justify:"flex-end",children:[(0,r.jsx)(p.EY,{maxW:"[calc(100% - 28px)]",color:"primary.default",truncate:!0,children:e.winner?o.formatMessage({id:"winner"}):e.round||""}),(0,r.jsx)(N.CCT,{fill:"primary.default",ml:"xs"})]})]})},e.id))})})]}),(0,r.jsx)(p.EY,{pl:"lg",lineClamp:1,children:m})]})}let R=e=>{let{id:s,label:l,value:t,uppercase:a}=e;return t?(0,r.jsxs)(n.so,{px:"lg",py:{base:"sm",md:"md"},minW:"[140px]",w:{base:"100%",md:"auto"},justify:{base:"space-between",md:"center"},direction:{base:"row",md:"column"},children:[(0,r.jsx)(p.EY,{textStyle:{md:"assistive.micro"},color:{md:"neutrals.nLv3"},textAlign:"center",mb:"2xs",textTransform:a?"uppercase":void 0,display:"block",children:l||(0,r.jsx)(E.A,{id:s})}),(0,r.jsx)(p.EY,{textStyle:{md:"display.medium"},textAlign:"center",textTransform:a?"uppercase":void 0,display:"block",children:t})]}):null};function X(e){let{messageId:s,value:l,children:t}=e;return l||t?(0,r.jsxs)(n.so,{w:"100%",px:"lg",py:"sm",justify:"space-between",children:[(0,r.jsx)(p.EY,{children:(0,r.jsx)(E.A,{id:s})}),!t&&(0,r.jsx)(p.EY,{children:l}),!l&&t]}):null}function F(e){let{fullName:s,teamId:l,country:{alpha2:t},playerInfo:{height:i,birthDateTimestamp:o,plays:d,prizeCurrentRaw:c,prizeTotalRaw:u,turnedPro:m,residence:j,birthplace:h,number:y},ranking:g,driverHistory:f}=e,v=(0,z.A)(),{isMobile:b}=(0,p.$c)(),w=(0,A.hX)(),I=b&&!w,S=!!d&&Object.keys(x.u41).some(e=>x.u41[e]===d),C=c&&(0,x.oaz)(c),T=u&&(0,x.oaz)(u),L=C||T,N=(null==g?void 0:g.type)&&x.ruz[g.type],Z=(null==g?void 0:g.bestRanking)||(null==g?void 0:g.ranking),F=(null==g?void 0:g.type)===x.sqH.AtpSingles||(null==g?void 0:g.type)===x.sqH.AtpSinglesLive;return(0,r.jsxs)(a.HH,{isCard:!I,children:[!I&&(0,r.jsx)(a.Zp.Header,{titleId:"team.playerInfo"}),(0,r.jsxs)(n.so,{direction:{base:"column",md:"row"},p:{md:"sm"},gap:"sm",children:[(0,r.jsx)(n.so,{w:{base:"100%",md:Z||L?"1/2":"100%"},direction:"column",gap:"sm",children:(0,r.jsxs)(a.Zp,{isInverseDesktop:!0,children:[I&&(0,r.jsx)(a.Zp.Header,{titleId:"basic.profile"}),(0,r.jsxs)(n.ov,{py:"sm",flexWrap:"wrap",flexDirection:{base:"column",md:"row"},children:[I&&(0,r.jsx)(X,{messageId:"basic.fullName",value:s}),!!t&&(0,r.jsx)(R,{id:I?"country":"nationality",value:(0,r.jsxs)(n.ov,{gap:"xs",children:[(0,r.jsx)(Y._V,{src:(0,x.RHm)(t),width:16,height:16,br:"50%",alt:t}),(0,r.jsx)("div",{children:(0,B.KH)(t)})]}),uppercase:!I}),I&&(0,r.jsx)(X,{messageId:"basic.residence",value:j}),I&&(0,r.jsx)(X,{messageId:"basic.birthplace",value:h}),!!o&&(0,r.jsx)(R,{label:I?void 0:(0,r.jsx)(P.XU,{value:new Date(1e3*o),timeZone:"UTC",...k.or.dateWithShortMonth}),id:I?"age":void 0,value:(0,r.jsxs)(r.Fragment,{children:["".concat((0,k.KW)(o)," "),!I&&(0,r.jsx)(E.A,{id:"years_short"}),I&&(0,r.jsxs)(r.Fragment,{children:[" (",(0,r.jsx)(P.XU,{value:new Date(1e3*o),timeZone:"UTC",...k.or.dateWithShortMonth}),")"]})]}),uppercase:!I}),!y&&!!i&&(0,r.jsx)(R,{id:"player_height",value:(0,r.jsx)(p.EY,{style:{font:"inherit"},textTransform:"lowercase",children:(0,r.jsx)(H.Z,{value:i,fromUnit:"m"})}),uppercase:!I}),!!y&&(0,r.jsx)(R,{id:"helmet.number",value:y,uppercase:!I}),S&&(0,r.jsx)(R,{id:"playerInfo.plays",value:(0,r.jsx)(E.A,{id:"playerInfo.full.".concat(d)}),uppercase:!I}),m&&(0,r.jsx)(R,{id:"playerInfo.turnedPro",value:m,uppercase:!I}),(j||h||f)&&(0,r.jsxs)(r.Fragment,{children:[!I&&(0,r.jsx)(X,{messageId:"basic.residence",value:j}),!I&&(0,r.jsx)(X,{messageId:"basic.birthplace",value:h}),(0,r.jsx)(X,{messageId:"team.championshipTitles",value:null==f?void 0:f.total[0].worldChampionshipTitles}),(0,r.jsx)(X,{messageId:"gp.starts",value:null==f?void 0:f.total[0].racesStarted}),(0,r.jsx)(X,{messageId:"podiums",value:null==f?void 0:f.total[0].podiums}),(0,r.jsx)(X,{messageId:"wins",value:null==f?void 0:f.total[0].victories}),(0,r.jsx)(X,{messageId:"polePositions",value:null==f?void 0:f.total[0].polePositions})]})]})]})}),(Z||L)&&(0,r.jsxs)(n.so,{w:{base:"100%",md:"1/2"},direction:"column",gap:"sm",children:[Z&&(0,r.jsxs)(a.Zp,{isInverseDesktop:!0,children:[N&&(0,r.jsx)(a.Zp.Header,{title:N}),(0,r.jsxs)(n.az,{pb:{base:"sm",md:"lg"},children:[(0,r.jsx)(X,{messageId:"team.careerHigh",value:null==g?void 0:g.bestRanking}),(null==g?void 0:g.ranking)&&(null==g?void 0:g.points)&&(0,r.jsx)(X,{messageId:"team.currentRank",children:(0,r.jsx)(_.N_,{routeKey:"rankings",params:{sport:"tennis",category:"".concat(F?"atp":"wta")},hash:String(l),children:(0,r.jsx)(p.EY,{color:N?"primary.default":"neutrals.nLv1",_hover:{color:"primary.default"},cursor:"pointer",children:"".concat(null==g?void 0:g.ranking,". (").concat((null==g?void 0:g.points)?(null==g?void 0:g.points)+" "+v.formatMessage({id:"pts"}):"",")")})})}),(0,r.jsx)(M,{id:l})]})]}),L&&(0,r.jsxs)(a.Zp,{isInverseDesktop:!0,children:[(0,r.jsx)(a.Zp.Header,{titleId:"prizeMoney"}),(0,r.jsxs)(n.az,{pb:{base:"sm",md:"lg"},children:[!!C&&(0,r.jsx)(X,{messageId:"playerInfo.thisYear",value:"".concat(C.parsedValue).concat(C.measure||""," ").concat(C.currencySign)}),!!T&&(0,r.jsx)(X,{messageId:"playerInfo.careerTotal",value:"".concat(T.parsedValue).concat(T.measure||""," ").concat(T.currencySign)})]})]})]})]})]})}var O=l(62927),q=l(63869)},70862:(e,s,l)=>{l.d(s,{o:()=>i});var r=l(6029),n=l(90248);let t=JSON.parse('{"dayToDay":"injury_day_to_day","outForSeason":"injury_season","outIndefinitely":"injury_indefinitely","unknown":"injury_unknown","injuredReserve":"injury_reserve","Undisclosed":"injury_undisclosed","Abdominal":"injury_abdominal","Knee":"injury_knee","Leg":"injury_leg","Blood Clotting":"injury_blood_clotting","Lower Body":"injury_lower_body","Lower-Body":"injury_lower_body","Foot":"injury_foot","Illness":"injury_illness","Neck":"injury_neck","Wrist":"injury_wrist","Concussion":"injury_concussion","Personal":"injury_personal","Pectoral Muscle":"injury_pectoral_muscle","Shoulder":"injury_shoulder","Shouler":"injury_shoulder","Clavicle Fracture":"injury_clavicle_fracture","Back":"injury_back","Achilles":"injury_achilles","Concussion Protocol":"injury_concussion_protocol","Hand":"injury_hand","Groin":"injury_groin","Pectoral":"injury_pectoral","Jaw":"injury_jaw","Head":"injury_head","Upper body":"injury_upper_body","Upper-Body":"injury_upper_body","Upper Body":"injury_upper_body","Hip":"injury_hip","Ankle":"injury_ankle","Mid-Body":"injury_mid_body","Finger":"injury_finger","Nose":"injury_nose"}');var a=l(27892);let i=e=>{let{id:s}=e;return(0,r.jsx)(n.A,{id:(0,a.O)(t,s)})}},91811:(e,s,l)=>{l.d(s,{T:()=>t,n:()=>n});var r=l(21377);function n(e){return e.fullName?e.fullName.split(",").reverse().map(e=>e.trim()).join(" "):e.name}function t(e,s){return e.slug===r.QCR.Football?s.players.length>10:s.players.length>4}}}]);