!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]="5e54a9db-878b-4e9c-b3bf-d013191ddb25",e._sentryDebugIdIdentifier="sentry-dbid-5e54a9db-878b-4e9c-b3bf-d013191ddb25")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8056,35729,87887],{1139:(e,t,r)=>{var s=r(68988),n=r(20648);e.exports=function(e,t){return n(e,s(t,2))}},1440:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,q:()=>l});var s=r(6029),n=r(99064),i=r(55729),a=r(43072);let l=e=>{let{initialVisible:t=!1,defaultHeight:r=0,visibleOffset:l=1e3,persist:o=!1,loader:d,children:c,...u}=e,p={initialInView:t,rootMargin:"".concat(l,"px 0px ").concat(l,"px 0px")},[h,x,m]=(0,a.Wx)(p),g=(0,i.useRef)(t),y=(0,i.useRef)(r);(0,i.useEffect)(()=>{x&&!0!==g.current&&(g.current=!0),x&&y.current!==r&&(y.current=(null==m?void 0:m.boundingClientRect.height)||r)},[x,m]);let f=d||(y.current?(0,s.jsx)(n.az,{h:y.current}):null),j=x||o&&g.current;return(0,s.jsx)(n.az,{ref:h,...u,children:j?c:f})},o=l},1689:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var s=r(6029),n=r(36729),i=r(56591);r(14632);var a=r(55729),l=r(41735),o=r(77552),d=r(72555);let c=[100,100,100,100,100],u=(e,t)=>{switch(e){case d.eM.AVG:return{fill:t.colors.surface.s2,stroke:t.colors.sofaSingles.value};case d.eM.BASE:return{fill:t.colors.secondary.highlight,stroke:t.colors.secondary.default};case d.eM.COMPARE:return{fill:t.colors.primary.highlight,stroke:t.colors.primary.default};case d.eM.COMPARE_SELF:return{fill:t.colors.surface.s2,stroke:t.colors.neutral.default};default:return{fill:"transparent",stroke:"transparent"}}},p=(e,t,r)=>{let s=e.selectAll("polygon").data(t,(e,t)=>t.toString());s.enter().append("polygon").merge(s).transition("Pentagon transition").ease(n.wq).duration(400).attr("points",e=>{let t=e?(0,d.mc)(e).map(e=>e.value):c;return(0,d.cS)((0,d.tO)(t))}).attr("opacity",e=>+(null!==e)).attr("fill",e=>r.getColorFromVar(u(null==e?void 0:e.__type,r).fill)).attr("stroke",e=>r.getColorFromVar(u(null==e?void 0:e.__type,r).stroke))};function h(e){let{data:t,onGraphClick:r}=e,n=(0,a.useContext)(l.ThemeContext),[d,c]=(0,a.useState)(),u=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(d)p(d,t,n);else{let e=u.current;c((0,i.A)(e).append("g").on("click",r))}},[d,t]),(0,s.jsx)(o.A,{ref:u})}},3518:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d,i:()=>l.i});var s=r(6029),n=r(90510),i=r(494),a=r(5339),l=r(5921),o=r(52905);function d(e){let{value:t,fromUnit:r}=e,d=(0,i.d4)(o.Y);if(!t)return null;if((0,a.C)(t,r).to("m")>=1e3)return(0,s.jsx)(c,{value:t,fromUnit:r});if(d===l.i.Imperial){let e=function(e,t){let r=(0,a.C)(e,t).to("feet"),s=Math.floor(r),n=Math.round((0,a.C)(r-Math.floor(r),"ft").to("in"));return 12===n&&(s+=1,n=0),{ft:s,in:n}}(t,r);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.Gr,{value:e.ft,style:"unit",unit:"foot",unitDisplay:"narrow"}),"\xa0",(0,s.jsx)(n.Gr,{value:e.in,style:"unit",unit:"inch",unitDisplay:"narrow"})]})}return(0,s.jsx)(n.Gr,{value:(0,a.C)(t,r).to("cm"),style:"unit",unit:"centimeter",unitDisplay:"short"})}function c(e){let{value:t,fromUnit:r}=e,d=(0,i.d4)(o.Y);return t?d===l.i.Imperial?(0,s.jsx)(n.Gr,{value:(0,a.C)(t,r).to("mile"),style:"unit",unit:"mile",maximumFractionDigits:1,unitDisplay:"short"}):(0,s.jsx)(n.Gr,{value:(0,a.C)(t,r).to("km"),style:"unit",unit:"kilometer",maximumFractionDigits:1,unitDisplay:"short"}):null}},3898:(e,t,r)=>{"use strict";r.d(t,{dq:()=>s.default,OE:()=>o,mw:()=>c.TeamMedia,in:()=>d});var s=r(5884),n=r(6029),i=r(21377),a=r(45860),l=r(17239);function o(e){let{playerId:t}=e,{data:r}=(0,a.Ay)(i.qvj.media(t));return r?(0,n.jsx)(l.$,{highlights:r.media}):null}function d(e){let{tournamentId:t}=e,{data:r}=(0,a.Ay)(i.yKR.media(t));return r&&r.media.length?(0,n.jsx)(l.$,{highlights:r.media}):null}r(55342),r(8056);var c=r(35729)},5884:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r(6029),n=r(21377),i=r(45860),a=r(42621),l=r(17239);function o(e){let{eventId:t,hideTitle:r,eventHighlightId:o}=e,{data:d}=(0,i.Ay)(n.bnp.eventHighlights(t));return d?(0,s.jsx)(a.q,{persist:!0,children:(0,s.jsx)(l.$,{highlights:d.highlights,hideTitle:r,eventHighlightId:o})}):null}},8056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UniqueTournamentMedia:()=>l,default:()=>o});var s=r(6029),n=r(21377),i=r(45860),a=r(17239);function l(e){let{uniqueTournamentId:t,hideTitle:r}=e,{data:l}=(0,i.Ay)(n.V3t.media(t));return l&&l.media.length?(0,s.jsx)(a.$,{highlights:l.media,hideTitle:r}):null}let o=l},11998:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});var s=r(6029),n=r(76356),i=r(48683);function a(){return(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"media"}),(0,s.jsx)(n.az,{h:"[800px]"})]})}},13062:(e,t,r)=>{"use strict";r.d(t,{W:()=>y});var s=r(6029),n=r(21501),i=r(71024),a=r.n(i),l=r(48683),o=r(80932),d=r(28349),c=r(76356),u=r(90248),p=r(54409);r(93024);var h=r(77552);r(1689);var x=r(47430);function m(){return(0,s.jsxs)(l.Zp,{children:[(0,s.jsx)(l.Zp.Header,{titleId:"player.info.attributeOverview",actionComponent:(0,s.jsx)(x.A,{attributes:[]})}),(0,s.jsxs)(c.so,{direction:"column",gap:"lg",pt:"md",pb:"lg",px:"sm",children:[(0,s.jsx)(c.az,{maxW:"[360px]",w:"fit",pt:"xl",mb:"sm",mx:"auto",children:(0,s.jsx)(c.az,{mx:{base:"[78px]",lg:"[86px]"},children:(0,s.jsx)(h.A,{})})}),(0,s.jsx)(c.so,{justify:"center",py:"sm",children:(0,s.jsx)(c.az,{w:"[360px]",h:"[36px]",bg:"surface.s2",br:"lg"})}),(0,s.jsx)(c.az,{h:"6xl",bg:"surface.s2",br:"md"}),(0,s.jsxs)(c.so,{align:"center",gap:"sm",px:"sm",children:[(0,s.jsx)(p.G_L,{minW:24,fill:"onSurface.nLv1"}),(0,s.jsx)(d.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(u.A,{id:"click_for_average_values"})})]})]})]})}let g=a()(()=>r.e(55571).then(r.bind(r,55571)),{loadableGenerated:{webpack:()=>[55571]},ssr:!1,loading:()=>(0,s.jsx)(m,{})});function y(e){let{player:t}=e,{pentagons:r,isPentagonDataLoading:i,isError:a}=(0,o.s)(t.id),d=(0,n.hX)(),c=(null==r?void 0:r.playerPentagons.length)&&0!==r.playerPentagons[0].yearShift?null:r;return a||null===c&&!i?null:(0,s.jsxs)(l.Zp,{children:[(d||i)&&(0,s.jsx)(m,{}),!d&&!i&&!!c&&(0,s.jsx)(g,{basePlayer:t,basePentagons:c})]})}},14196:(e,t,r)=>{"use strict";r.d(t,{G:()=>n,v:()=>i});var s=r(21377);let n=[s.QCR.AmericanFootball,s.QCR.Basketball],i=[s.QCR.AmericanFootball,s.QCR.Basketball,s.QCR.Football]},14444:(e,t,r)=>{"use strict";r.d(t,{b4:()=>x,V3:()=>l,HM:()=>j,k9:()=>d,HI:()=>o});var s=r(6029),n=r(55729),i=r(83260);let a=(0,n.createContext)(void 0),l=e=>{let{children:t,persistKey:r}=e,[n,l]=(0,i.A)(r,[]);return(0,s.jsx)(a.Provider,{value:{recentlySelected:n,setRecentlySelected:l},children:t})},o=()=>{let e=(0,n.useContext)(a);if(void 0===e)throw Error("useRecentSearch must be used within a RecentSearchesProvider");return{recentlySelected:e.recentlySelected,addToRecentlySelected:t=>{let r=e.recentlySelected.filter(e=>e.id!==t.id).slice(0,4),s=[t,...r];e.setRecentlySelected(s)},removeFromRecentlySelected:t=>{let r=e.recentlySelected.filter(e=>e.id!==t.id);e.setRecentlySelected(r)}}};function d(e,t,r,s){return e.length?e.length===(null==r?void 0:r.length)&&e.length===(null==t?void 0:t.length)&&e.length===(null==s?void 0:s.length)?{ids:e.map(e=>null!=e?e:"_").join(","),ut_ids:null==r?void 0:r.map(e=>null!=e?e:"_").join(","),s_ids:null==t?void 0:t.map(e=>null!=e?e:"_").join(","),s_types:null==s?void 0:s.map(e=>null!=e?e:"_").join(",")}:{ids:e.map(e=>null!=e?e:"_").join(",")}:{}}var c=r(94446),u=r(99064),p=r(54409),h=r(24159);let x=e=>{let{player:t,onPlayerClick:r,onRemoveClick:n}=e;return(0,s.jsxs)(u.so,{onClick:()=>r(t),h:"56px",align:"center",cursor:"pointer",children:[(0,s.jsx)(c.t,{id:t.id,name:t.name,size:40,grayscale:t.deceased}),(0,s.jsxs)(u.so,{direction:"column",justify:"center",h:"100%",gap:"xs",grow:1,pl:"sm",children:[(0,s.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",ellipsis:!0,maxW:["250px","130px"],children:(0,s.jsx)(h.c,{entity:t})}),(0,s.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,s.jsx)(c.p,{id:t.team.id,size:16}),(0,s.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,ellipsis:!0,maxW:["300px","120px"],children:(0,s.jsx)(h.c,{entity:t.team})})]})]}),void 0!==n&&(0,s.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==n||n(t)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,s.jsx)(p.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})};var m=r(49519),g=r(21377),y=r(98449),f=r(94604);let j=e=>{var t,r,n,i,a,l,o,d,c;let{team:h,onTeamClick:x,onRemoveClick:j}=e,v=(null==(t=h.sport)?void 0:t.slug)===g.QCR.Tennis;return(0,s.jsxs)(u.so,{gap:"sm",onClick:()=>x(h),align:"center",cursor:"pointer",py:"sm",children:[(0,s.jsx)(m.p,{id:h.id,name:h.name,size:40}),(0,s.jsxs)(u.so,{direction:"column",gap:"xs",grow:1,children:[(0,s.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,s.jsx)(f.Rm,{team:h,showFemaleSuffix:h.gender===g.YT8.Female&&!v})}),!h.national&&(null==(r=h.country)?void 0:r.slug)&&(null==(n=h.country)?void 0:n.name)&&!v&&(0,s.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,s.jsx)(m.w,{size:16,alpha2:null==(i=h.country)?void 0:i.alpha2,name:null==(a=h.country)?void 0:a.name}),(0,s.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,s.jsx)(y.m,{slug:h.country.slug,name:h.country.name})})]}),v&&h.country&&h.country.name&&(0,s.jsxs)(u.so,{align:"center",gap:"xs",children:[(0,s.jsx)(m.w,{size:16,alpha2:null==(l=h.country)?void 0:l.alpha2,name:null==(o=h.country)?void 0:o.name}),(0,s.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,s.jsx)(y.m,{name:h.country.name,slug:null!=(c=null==(d=h.country)?void 0:d.slug)?c:h.country.name})})]})]}),void 0!==j&&(0,s.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==j||j(h)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,s.jsx)(p.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})}},17239:(e,t,r)=>{"use strict";r.d(t,{$:()=>L});var s=r(6029),n=r(4967),i=r(28349),a=r(76356),l=r(93338),o=r(99064),d=r(55729),c=r(90248),u=r(494),p=r(48683),h=r(62859),x=r(54409),m=r(75751),g=r(47146),y=r(61836),f=r(10794);let j=(0,a.I4)("div",{base:{display:"grid",w:"[144px]",h:"8xl",position:"absolute",top:"0",left:"0",bg:"overlay.darken1","& svg":{margin:"auto"}}}),v=(0,a.I4)("div",{base:{"& a:visited":{"& .media-component-seen-notice":{color:"neutral.default !important"}},"& img":{display:"block",br:"2xs"}}});var b=r(21377);let _=/sofascore.com\/news\//g,w=[b.zut.MEDIA_VIDEO,b.zut.MEDIA_NEWS_VIDEO,b.zut.MEDIA_YOUTUBE_VIDEO],k=e=>_.test(e),S=e=>-1!==w.indexOf(e),C=e=>{let t=document.createElement("a");return t.href=e,t.host},A=e=>{if(e){let r=C(e);if("www.youtube.com"===r){let t=new URL(e).searchParams.get("v");return"https://img.youtube.com/vi/".concat(t,"/0.jpg")}if("youtu.be"===r){var t;let r=null==(t=new URL(e).pathname)?void 0:t.slice(1);return"https://img.youtube.com/vi/".concat(r,"/0.jpg")}}},T=e=>{let{highlight:t}=e;return(0,s.jsx)(a.I4.a,{href:t.url,target:"_blank",rel:t.doFollow||k(t.url)?void 0:"nofollow",onClick:()=>(0,y.Xy)(t.title),children:(0,s.jsxs)(a.so,{gap:"lg",children:[(0,s.jsxs)(a.az,{position:"relative",children:[(0,s.jsx)(o._V,{src:t.thumbnailUrl||A(t.url),width:"144",height:"80",fallback:(0,s.jsx)(a.az,{w:"[144px]",h:"8xl",bg:"neutrals.nLv4",display:"grid",br:"2xs",children:(0,s.jsx)(x.dwH,{m:"auto",fill:l.S.var("colors.neutrals.nLv4")})}),alt:"thumbnail"}),S(t.mediaType)&&(0,s.jsx)(j,{children:(0,s.jsx)(x.reY,{fill:"white"})})]}),(0,s.jsxs)(a.so,{direction:"column",justify:"space-between",grow:1,style:{maxWidth:"calc(100% - 144px)"},children:[(0,s.jsxs)(a.so,{direction:"column",align:"start",gap:"xs",children:[(0,s.jsx)(i.Ym,{textStyle:"display.small",display:"block",lineClamp:2,children:t.title}),(0,s.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",w:"100%",lineClamp:1,children:t.subtitle})]}),(0,s.jsxs)(a.so,{justify:"space-between",pt:"xs",children:[(0,s.jsx)(i.Ym,{textStyle:"body.small",color:"neutrals.nLv3",w:"100%",_firstLetter:{textTransform:"capitalize"},truncate:!0,children:(0,s.jsx)(g.v,{timestamp:(0,n.pp)(t.createdAtTimestamp).getTime()})}),(0,s.jsx)(i.EY,{"aria-hidden":"true",userSelect:"none",textStyle:"body.small",color:"[transparent]",className:"media-component-seen-notice",w:"100%",textAlign:"end",truncate:!0,children:(0,s.jsx)(c.A,{id:"basic.seen"})})]})]})]})})},L=e=>{let{highlights:t,hideTitle:r,eventHighlightId:n}=e,[l,o]=(0,d.useState)(!1),c=(0,u.d4)(f.JV),x=(0,u.d4)(f.LQ),{location:g}=(0,d.useContext)(h.y$),y=g===h.cb.Widget,{isDesktop:j}=(0,i.$c)(),b=!j||y,_=(function(e){let{media:t,selectedLocale:r,geoIPAlpha2:s,n=10}=e;return t.sort((e,t)=>t.createdAtTimestamp-e.createdAtTimestamp).filter(e=>!e.forCountries||!e.forCountries.length||-1!==e.forCountries.indexOf(r.toUpperCase())||-1!==e.forCountries.indexOf(s.toUpperCase())).slice(0,n)})({media:[...t],selectedLocale:c,geoIPAlpha2:x||""}).filter(e=>e.id!==n),w=_.length>3,k=l||b?_:_.slice(0,3);return k.length?(0,s.jsx)(m.t,{tag:"Media",children:(0,s.jsxs)(p.Zp,{children:[!r&&(0,s.jsx)(p.Zp.Header,{titleId:"media",as:"h4"}),(0,s.jsx)(a.az,{py:b?"sm":void 0,children:(0,s.jsx)(v,{children:(0,s.jsx)(p.BU,{children:k.map(e=>(0,s.jsx)(T,{highlight:e},e.id))})})}),!b&&(0,s.jsx)(p.Zp.Footer,{ctaParams:w?{messageId:l?"show_less":"show_more",onClick:()=>o(e=>!e),icon:l?p.Xb.Up:p.Xb.Down}:void 0})]})}):null}},18040:(e,t,r)=>{"use strict";r.d(t,{O:()=>u});var s=r(6029),n=r(21377),i=r(28349),a=r(947),l=r(90248),o=r(12153),d=r(14444),c=r(54409);let u=e=>{let{id:t,type:r,sport:u,iconOnly:p,secondId:h}=e,{isMobile:x}=(0,i.$c)(),m="player"===r||u===n.QCR.Tennis?c.cSg:c.l3$,{formatMessage:g}=(0,a.A)();return(0,s.jsx)(o.A,{routeKey:"comparison",query:(0,d.k9)(h?[t,h]:[t]),params:{sport:u,entityType:r},"aria-label":g({id:"compare"}),children:p?(0,s.jsx)(i.D7,{children:(0,s.jsx)(m,{style:{width:24,height:24}})}):(0,s.jsxs)(i.$n,{size:x?"tertiary":"secondary",children:[(0,s.jsx)(m,{}),(0,s.jsx)(l.A,{id:"compare"})]})})}},18645:(e,t,r)=>{"use strict";r.d(t,{eD:()=>i.e,pY:()=>n.p,tg:()=>s.t});var s=r(91407),n=r(91603),i=r(33480)},18916:(e,t,r)=>{"use strict";r.d(t,{F0:()=>n,N8:()=>a,qT:()=>i});var s=r(21377);let n=[s.QCR.Football,s.QCR.Futsal,s.QCR.Handball,s.QCR.Basketball,s.QCR.AmericanFootball,s.QCR.IceHockey,s.QCR.Tennis,s.QCR.Volleyball],i=[s.QCR.AmericanFootball,s.QCR.Handball,s.QCR.Baseball],a=["overall","playoffs","regularSeason","top16"]},19643:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});var s=r(93839);function n(e,t){return"en"===t||t===s.vo[e]}},19673:(e,t,r)=>{"use strict";function s(e){let t=(null==e?void 0:e.toLowerCase())||"",r=["hr","es","pt"].includes(t);return"https://corporate.sofascore.com".concat(r?"/".concat(t):"","/about/rating")}r.d(t,{y:()=>s})},20339:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var s=r(6029),n=r(33144),i=r(21377),a=r(4967),l=r(28349),o=r(76356),d=r(90248),c=r(90510),u=r(45860),p=r(48683),h=r(13266),x=r(94604);function m(e){let{id:t,children:r}=e;return(0,s.jsxs)(o.so,{direction:"column",align:"center",children:[(0,s.jsx)(l.EY,{textStyle:"assistive.micro",textTransform:"uppercase",color:"neutrals.nLv3",children:(0,s.jsx)(d.A,{id:t})}),(0,s.jsx)(l.EY,{textStyle:"display.medium",children:r})]})}let g=function(e){var t;let{playerId:r}=e,{data:g}=(0,u.Ay)(i.qvj.nationalTeamStatistics(r));return(null==g||null==(t=g.statistics)?void 0:t.length)?(0,s.jsxs)(p.Zp,{children:[(0,s.jsx)(p.Zp.Header,{titleId:"national_team"}),g.statistics.map(e=>{let{team:t,appearances:r,goals:u,debutTimestamp:p}=e;return(0,s.jsxs)(o.BJ,{gap:"lg",px:"lg",py:"sm",children:[(0,s.jsx)(h.gT,{team:t,sport:t.sport.slug,children:(0,s.jsxs)(o.so,{align:"center",gap:"lg",children:[(0,s.jsx)(n.p,{national:!0,size:40,id:t.id}),(0,s.jsxs)(o.BJ,{gap:"0",children:[(0,s.jsx)(l.EY,{textStyle:"display.medium",children:(0,s.jsx)(x.Rm,{team:t,showFemaleSuffix:t.gender===i.YT8.Female})}),(0,s.jsx)(l.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(d.A,{id:"national_team"})})]})]})}),(0,s.jsxs)(o.so,{align:"center",justify:"space-between",children:[(0,s.jsx)(m,{id:"national_team_debut",children:(0,s.jsx)(c.XU,{value:new Date(1e3*p),timeZone:"UTC",...a.or.dateWithShortMonth})}),(0,s.jsx)(m,{id:"match_appearances",children:r}),(0,s.jsx)(m,{id:"goals",children:u})]})]},"".concat(t.id,"-").concat(p))}),(0,s.jsx)(p.Zp.Footer,{defaultHeight:"sm"})]}):null}},20648:(e,t,r)=>{var s=r(57760),n=0/0;e.exports=function(e,t){var r=null==e?0:e.length;return r?s(e,t)/r:n}},21295:(e,t,r)=>{"use strict";r.d(t,{A:()=>E});var s=r(6029),n=r(21377),i=r(494),a=r(70116),l=r(73411),o=r(1300),d=r(61836),c=r(10794),u=r(28349),p=r(21501),h=r(76356),x=r(90248),m=r(18645);let g=e=>{let{entityId:t,entity:r}=e;switch(r){case n.bq7.MutedPlayers:return(0,s.jsx)(m.tg,{id:t,size:40});case n.bq7.MutedTeams:return(0,s.jsx)(m.pY,{id:t,size:40});case n.bq7.MutedTournaments:return(0,s.jsx)(m.eD,{id:t,size:40});default:return null}};var y=r(54409),f=r(70757),j=r(8973);let v=e=>{switch(e){case"player":return j.b.Player;case"team":return j.b.Team;case"tournament":return j.b.UniqueTournament;default:return}},b=e=>{let{id:t,entity:r,entityGroup:n,onClick:a}=e,l=(0,i.wA)(),o=v(n);return(0,s.jsx)(u.$n,{py:"sm",pr:"md",onClick:()=>{o&&(0,d.g2)({id:t,type:o,location:j.y.Popup,isFollowed:!0}),l((0,f.UQ)(r,t)),a()},children:(0,s.jsxs)(h.zt,{gap:"xs",children:[(0,s.jsx)(u.EY,{textStyle:"action.button.primary",color:"onColor.primary",children:(0,s.jsx)(x.A,{id:"button_favourite"})}),(0,s.jsx)(y.zQC,{icon:"follow-default",className:"follow-indicator-icon",width:"24",height:"24",fill:"onColor.primary"})]})})};var _=r(4967),w=r(55729),k=r(83260),S=r(62827);let C="follow.entity.popup.",A="".concat(C,"dontShowAgain");if(!(0,n.S$s)())try{let e=(0,S.yN)("".concat(C,"organization"));null!=e&&Object.values(e).some(e=>"number"==typeof e)&&(0,S.UI)("".concat(C,"organization"))}catch(e){console.error("Error reading from localStorage:",e)}let T=e=>{try{let t="".concat(C).concat(e);for(let e=0;e{switch(e){case"player":return"add_favorite_player";case"team":return"add_favorite_team";case"tournament":return"add_favorite_league";default:return""}},R=(e,t,r)=>{let s="".concat(C).concat(t),[n,a]=(0,k.A)(s,{}),[l,o]=(0,k.A)("".concat(s,"_queue"),[]),[c,u]=(0,w.useState)(!1),[p,h]=(0,w.useState)(!1),[x,m]=(0,k.A)("".concat(A,".").concat(t),!1),[g,y]=(0,k.A)("".concat(s,"_pausedUntil"),void 0),f=(0,i.d4)(t=>t.favorites.lists[e].includes(r)||t.favorites.lists.favoriteLeagues.includes(r));(0,w.useEffect)(()=>{c&&(0,d.Ex)({id:r,source:"other",type:L(t)})},[c]),(0,w.useEffect)(()=>{if(x||g&&Date.now()e!==r):[...l];e.push(r);let t=n[r]?{count:n[r].count+1,timestamp:Date.now()}:{count:1,timestamp:Date.now()};if(4===t.count){let{[r]:t,...s}=n;a(s),o(e.filter(e=>e!==r)),u(!0);return}if(e.length>20){let s=e.shift(),{[s]:i,...l}=n;a({...l,[r]:t})}else a({...n,[r]:t});o(e)},[r]);let j=()=>{u(!1);let{[r]:e,...s}=n;a(s),p||y(Date.now()+_.d_),T(t)},v=()=>{p&&m(!0),T(t)};return{isFollowed:f,isOpen:c,handleNoThanksClose:()=>{p&&v(),j(),(0,d.t9)({action:"close",choice:p?"no_show_again":"show_again",id:r,source:"other",type:L(t)})},handleClose:()=>{u(!1)},isDontShowAgainSelected:p,toggleIsDontShowAgainSelected:()=>{h(!p)}}},P=e=>{let{entityId:t,entityGroup:r,entity:n}=e,i=(0,p.hX)(),{isFollowed:a,isOpen:l,handleNoThanksClose:o,handleClose:d,isDontShowAgainSelected:c,toggleIsDontShowAgainSelected:m}=R(n,r,t);return i||a?null:(0,s.jsxs)(u.aF,{isOpen:l,gap:"sm",p:"lg",maxW:"[380px]",children:[(0,s.jsxs)(h.az,{children:[(0,s.jsxs)(h.so,{justify:"flex-start",align:"center",gap:"md",children:[(0,s.jsx)(g,{entityId:t,entity:n}),(0,s.jsx)(u.EY,{textStyle:"display.large",children:(0,s.jsx)(x.A,{id:"popover_favourites_proposal"})})]}),(0,s.jsx)(u.EY,{mt:"lg",mb:"sm",display:"block",children:(0,s.jsx)(x.A,{id:"popover_favourites_proposal_description"})}),(0,s.jsx)(u.Sc,{checked:c,onChange:m,py:"md",children:(0,s.jsx)(u.EY,{children:(0,s.jsx)(x.A,{id:"exit_checkbox"})})})]}),(0,s.jsxs)(h.az,{alignSelf:"flex-end",pt:"lg",children:[(0,s.jsx)(u.$n,{variant:"clear",mr:"sm",onClick:o,children:(0,s.jsx)(x.A,{id:"button_not_now"})}),(0,s.jsx)(b,{id:t,entity:n,entityGroup:r,onClick:d})]})]})},M={[n.bq7.MutedTournaments]:d.XN.LeagueScreen,[n.bq7.Tournaments]:d.XN.LeagueScreen,[n.bq7.MutedTeams]:d.XN.TeamScreen,[n.bq7.Teams]:d.XN.TeamScreen,[n.bq7.MutedPlayers]:d.XN.PlayerScreen,[n.bq7.Players]:d.XN.PlayerScreen},E=e=>{let{entityGroup:t,entity:r,id:n,entityTournamentId:d}=e,{priorityModal:u}=(0,a.Z)(),{isNBAModalOpen:p,setIsNBAModalOpen:h}=(0,o.z)(d),x=(0,i.d4)(c.fg);return p&&M[r]?(0,s.jsx)(l.s,{isOpen:p,setIsOpen:h,location:M[r]}):u||x?null:(0,s.jsx)(P,{entity:r,entityId:n,entityGroup:t})}},23685:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c});var s=r(6029),n=r(21377),i=r(947),a=r(494),l=r(63598),o=r(49254),d=r(10794);let c=e=>{let{utId:t,location:r,bgImageUrl:c}=e,u=(0,a.d4)(d.LQ),p=(0,i.A)();return u&&o.p.includes(u)&&t===n.G6l.NBA?(0,s.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:n.$pL.LogoBanner,background:n.jae.EntityHeader,detailImageUrl:{ltr:"/static/images/nba-league-pass/league-pass-logo.svg",rtl:"/static/images/nba-league-pass/league-pass-logo.svg"},campaignName:"nba_league_pass",url:"https://nba.sjv.io/c/5441787/2176796/16284"},bgImageUrl:c,location:r}):null}},26194:(e,t,r)=>{var s=r(83965),n=r(37390),i=r(45895),a=r(48877);e.exports=i(function(e,t){if(null==e)return[];var r=t.length;return r>1&&a(e,t[0],t[1])?t=[]:r>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),n(e,s(t,1),[])})},32097:(e,t,r)=>{"use strict";r.d(t,{H:()=>p,a:()=>h});var s=r(21377),n=r(66062),i=r(61836),a=r(83151),l=r(89606);let o=(e,t)=>{var r;return t.id===a.v.Courtside1891&&e.team.sport.slug===s.QCR.Basketball&&(null==(r=e.country)?void 0:r.alpha2)&&n.bx.includes(e.country.alpha2)},d=(e,t)=>t.id===a.v.Courtside1891&&e.id===n.MS,c=(e,t)=>{var r;return t.id===a.v.Courtside1891&&(null==(r=e.tournament.uniqueTournament)?void 0:r.id)===n.MS},u=(e,t)=>{var r;return t.id===a.v.Courtside1891&&e.sport.slug===s.QCR.Basketball&&(null==(r=e.country)?void 0:r.alpha2)&&n.bx.includes(e.country.alpha2)},p=(e,t)=>{switch(e.location){case i.XN.PlayerScreen:return o(e.entity,t);case i.XN.LeagueScreen:return d(e.entity,t);case i.XN.EventScreen:return c(e.entity,t);case i.XN.TeamScreen:return u(e.entity,t);default:return!1}},h=(e,t)=>!!(0,l.v)(t)&&p(e,t)},34264:(e,t,r)=>{"use strict";r.d(t,{HU:()=>d.HU,KG:()=>o,Sz:()=>d.Sz,Bg:()=>d.Bg});var s=r(6029),n=r(78383),i=r.n(n),a=r(93024),l=r(1689);function o(e){let{attributes:t,pentagonLayers:r,isAnotherPlayerCompare:n,onGraphClick:o=i()}=e;return(0,s.jsx)(a.A,{data:t,isAnotherPlayerCompare:n,children:(0,s.jsx)(l.A,{data:r,onGraphClick:o})})}var d=r(72555)},34851:(e,t,r)=>{"use strict";r.d(t,{J:()=>s});var s=function(e){return e[e.SpecificRatingPlayer=0]="SpecificRatingPlayer",e[e.AverageRatingTeam=1]="AverageRatingTeam",e[e.AverageRating=2]="AverageRating",e[e.AverageRatingTeamLineups=3]="AverageRatingTeamLineups",e[e.AverageRatingPlayer=4]="AverageRatingPlayer",e}({})},35729:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TeamMedia:()=>o,default:()=>d});var s=r(6029),n=r(21377),i=r(45860),a=r(17239),l=r(11998);function o(e){let{teamId:t,hideTitle:r}=e,{data:o,isLoading:d,error:c}=(0,i.Ay)(n.cWY.media(t));return d?(0,s.jsx)(l.n,{}):!o||c?null:(0,s.jsx)(a.$,{highlights:o.media,hideTitle:r})}let d=o},42621:(e,t,r)=>{"use strict";r.d(t,{q:()=>s.q});var s=r(1440)},45384:(e,t,r)=>{"use strict";r.d(t,{A:()=>W});var s=r(6029),n=r(21377),i=r(76356),a=r(95816),l=r.n(a),o=r(48683),d=r(75751),c=r(90536),u=r(54075),p=r(28349),h=r(93338),x=r(97481),m=r.n(x),g=r(55729),y=r(90248),f=r(947),j=r(54409),v=r(28446);let b=(0,v.A)().domain([5,9]).range([0,108]);var _=r(21501),w=r(56591),k=r(41735);let S=k.default.svg.withConfig({componentId:"sc-d652293c-0"})(["position:absolute;top:44px;left:",";height:","px;pointer-events:none;"],e=>e.theme.spacing.sm,()=>108);function C(e){let{injuries:t,transfers:r,yearAvgRating:n,containerId:i,graphId:a}=e,l=(0,g.useContext)(k.ThemeContext);return(0,_.st)(()=>{let e=(0,w.A)("#".concat(i));e.append("defs").attr("id","mainDefs");let s=document.getElementById(a);if(!s)return;let o=s.clientWidth-20;e.style("width","".concat(o,"px")).style("overflow","visible"),"rtl"===l.settings.textDirection&&e.style("transform","scaleX(-1)"),function(e,t,r,s){let{formattedRating:n,ratingColorKey:i}=(0,u.M)(r,"sideBox"),a=b(Number(n)),[l,o]=i.split("."),d=s.colors[l][o],c=e.selectAll("line.avg-line").data([{x1:0,x2:t,y1:a,y2:a}]);c.enter().append("line").merge(c).attr("stroke",d).classed("avg-line",!0).style("stroke-dasharray","3, 4").style("stroke-width",2).attr("y1",e=>108-e.y1).attr("y2",e=>108-e.y2).attr("x1",e=>e.x1).attr("x2",e=>e.x2)}(e,o,n,l),(null==t?void 0:t.length)&&function(e,t,r,s,n){let i=s.colors.error.default,a=(0,v.A)().domain(c.aQ()).range([0,t]).clamp(!0),l=r.map(e=>{let t=a(1e3*e.timestamp),r=a((e.timestamp+Number(e.value))*1e3);return{y:0,x:t<0?0:t,width:t<0?r:r-t,height:108}}),o=(0,w.A)("#".concat(n,"-defs")).selectAll("clipPath").data(l);o.exit().remove(),o.enter().append("clipPath").attr("id",(e,t)=>"round-corner-".concat(t)).append("rect").merge(o).each(function(e){("rect"===this.nodeName?(0,w.A)(this):(0,w.A)(this).selectChild("rect")).attr("width",e.width).attr("height",e.height+2).attr("rx",2).attr("ry",2).attr("x",e.x).attr("y",e.y)});let d=e.selectAll("rect.bar").data(l);d.exit().remove(),d.enter().append("rect").classed("bar",!0).merge(d).attr("y",e=>e.y).attr("x",e=>e.x).attr("width",e=>e.width).attr("height",e=>e.height).attr("fill",i).attr("opacity",.15).attr("clip-path",(e,t)=>"url(#round-corner-".concat(t,")"));let u=e.selectAll("svg.injury").data(l);u.exit().remove(),u.enter().append("svg").attr("width",24).attr("height",24).attr("viewBox","0 0 24 24").merge(u).attr("y",0).attr("x",e=>e.x+e.width/2-12).classed("injury",!0).append("path").attr("d","M15 4.5V9h4.5v6h-4.501L15 19.5H9L8.999 15H4.5V9H9V4.5h6z").attr("fill",i)}(e,o,t,l,a),(null==r?void 0:r.length)&&function(e,t,r,s){let n=s.colors.primary.default,i=(0,v.A)().domain(c.aQ()).range([0,t]),a=e.selectAll("line.transfer-date").data(r),l=e.selectAll("svg.transfer").data(r);a.exit().remove(),l.exit().remove(),a.enter().append("line").merge(a).attr("stroke",n).classed("transfer-date",!0).style("stroke-width",2).attr("y1",22).attr("y2",108).attr("x1",e=>i(1e3*e.timestamp)).attr("x2",e=>i(1e3*e.timestamp)),l.enter().append("svg").attr("width",24).attr("height",24).attr("viewBox","0 0 24 24").merge(l).attr("y",0).attr("x",e=>i(1e3*e.timestamp)-12).classed("transfer",!0).append("path").attr("d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 16h-1v-4.5H5v-3h7V6h1l7 6-7 6z").attr("fill",n)}(e,o,r,l)},100,[n]),(0,s.jsx)(S,{id:i})}function A(){return(0,s.jsxs)(i.az,{pb:"[18px]",pt:"2xl",ml:"xs",children:[(0,s.jsxs)(i.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(i.az,{h:"[18px]",w:"[6px]",bg:"rating.s80",borderTopRadius:"2xs"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s80",children:"8"})]}),(0,s.jsxs)(i.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(i.az,{h:"[36px]",w:"[6px]",bg:"rating.s70"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s70",children:"7"})]}),(0,s.jsx)(i.az,{h:"[18px]",w:"[6px]",bg:"rating.s65"}),(0,s.jsxs)(i.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(i.az,{h:"[18px]",w:"[6px]",bg:"rating.s60"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s60",children:"6"})]}),(0,s.jsx)(i.az,{h:"[18px]",w:"[6px]",bg:"rating.s10"})]})}function T(e){let{showInjury:t,showTransfer:r}=e,{isMobile:n}=(0,p.$c)();return(0,s.jsxs)(i.zt,{gap:"2xl",px:"lg",py:"xs",children:[(0,s.jsxs)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",children:[(0,s.jsx)(j.wjs,{mr:"sm",fill:"secondary.default"}),(0,s.jsx)(y.A,{id:"click_image_to_swap",values:{isMobile:n}})]}),(0,s.jsxs)(i.so,{gap:"2xl",children:[t&&(0,s.jsxs)(i.so,{children:[(0,s.jsxs)(i.az,{position:"relative",w:"xl",h:"xl",mr:"sm",children:[(0,s.jsx)(i.az,{position:"absolute",w:"xl",h:"xl",bg:"status.error.default",style:{opacity:.15},br:"2xs"}),(0,s.jsx)(j.p5Z,{position:"absolute",fill:"error.default",width:24,height:24})]}),(0,s.jsx)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(y.A,{id:"player_injured"})})]}),r&&(0,s.jsxs)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:[(0,s.jsx)(j.G4W,{fill:"primary.default",mr:"sm",width:24,height:24}),(0,s.jsx)(y.A,{id:"player.transferLoan"})]})]})]})}function L(e){let{month:t,avgRating:r,appearances:n,showAppearances:a,showMonth:l}=e,o=(0,f.A)(),[d,x]=t.split("-").map(Number),m=new Date(d,x,0).getTime(),{formattedRating:g,ratingColorKey:y}=(0,u.M)(r),j=h.S.var(c.Et(y)),v=b(Number(g));return(0,s.jsxs)(i.so,{direction:"column",justify:"space-between",px:"xs",grow:"1",children:[(0,s.jsx)(p.EY,{h:"lg",textAlign:"center",textStyle:"assistive.default",color:"neutrals.nLv3",display:"block",mb:"lg",children:l&&o.formatDate(m,{month:"short"}).slice(0,3)}),(0,s.jsx)(i.so,{direction:"column",justify:"flex-end",mb:"xs",style:{height:108},children:(0,s.jsx)(i.az,{borderTopRadius:"2xs",style:{backgroundColor:j,height:"".concat(v,"%")}})}),r&&(!a||n)?a?(0,s.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:n}):(0,s.jsx)(p.EY,{textStyle:"table.small",textAlign:"center",lineClamp:1,display:"block",style:{color:j},children:g}):(0,s.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:"-"})]})}let R=function(e){var t,r;let[a,l]=(0,g.useState)(!1),o=(0,g.useMemo)(()=>{let t=c.o5(),r=c.mR(e.summary);return m()(t,r)},[e.summary]),d=Object.keys(o).sort(),u=d.map(e=>{let t=o[e];return(null==t?void 0:t.length)?c.AG(t.map(e=>e.value)):0}),h=(0,g.useCallback)(()=>l(e=>!e),[]),x=null==(t=e.summary)?void 0:t.filter(e=>e.type===n.XFZ.Injury),f=null==(r=e.summary)?void 0:r.filter(e=>e.type===n.XFZ.Transfer);return(0,s.jsxs)(i.BJ,{gap:"sm",children:[(0,s.jsxs)(i.az,{id:"LYS-graph-root",cursor:"pointer",onClick:h,children:[(0,s.jsxs)(i.so,{id:e.graphId,py:"md",px:"xs",position:"relative",children:[d.map((e,t)=>{var r;return(0,s.jsx)(i.az,{style:{width:"".concat(100/d.length,"%")},children:(0,s.jsx)(L,{month:e,avgRating:u[t],appearances:(null==(r=o[e])?void 0:r.length)||0,showAppearances:a,showMonth:t%2!=0})},e)}),(0,s.jsx)(A,{}),(0,s.jsx)(C,{injuries:x,transfers:f,yearAvgRating:e.yearAvgRating,containerId:e.containerId,graphId:e.graphId})]}),(0,s.jsx)(p.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",px:"sm",pb:"lg",children:(0,s.jsx)(y.A,{id:a?"season_rating_graph_description_matches":"season_rating_graph_description_ratings"})})]}),(0,s.jsx)(T,{showInjury:!!(null==x?void 0:x.length),showTransfer:!!(null==f?void 0:f.length)})]})};var P=r(53684),M=r(13731),E=r.n(M),F=r(1139),z=r.n(F),I=r(26194),B=r.n(I),D=r(80734),H=r(42621),O=r(13266),Y=r(52695);function U(e){let{uniqueTournamentsMap:t,summary:r}=e,n=Object.values(t),a=r.filter(e=>e.uniqueTournamentId),l=E()(a,"uniqueTournamentId");n=B()(n,e=>-1*l[e.id].length);let o=Object.keys(t).reduce((e,t)=>{let r=z()(l[t],e=>Number(e.value));return e[t]=r,e},{}),d=e=>l[e].length;return(0,s.jsx)(D.n,{children:n.map((e,t)=>(0,s.jsx)(O.tQ,{tournament:e,children:(0,s.jsxs)(i.so,{px:"lg",cursor:"pointer",gap:"lg",align:"center",_hover:{bg:"surface.s2"},children:[(0,s.jsx)(P.e,{id:e.id,size:40}),(0,s.jsxs)(i.so,{grow:1,borderTopColor:"neutrals.nLv4",borderTop:t?"1px solid":void 0,gap:"lg",align:"center",children:[(0,s.jsxs)(i.az,{py:"sm",children:[(0,s.jsx)(p.EY,{textStyle:"body.medium",color:"neutrals.nLv1",mb:"xs",display:"block",children:(0,s.jsx)(Y.O,{uniqueTournament:e})}),(0,s.jsx)(p.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:(0,s.jsx)(y.A,{id:"player.tournamentAppearances",values:{number:d(e.id)}})})]}),(0,s.jsx)(H.q,{persist:!0,children:(0,s.jsx)(P.G,{rating:o[e.id],format:"sideBox"})})]})]})},e.id))})}function W(e){let{lastYearSummary:t,uniqueTournamentsMap:r,containerId:a,graphId:u}=e;if(!(null==t?void 0:t.length))return null;let p=(0,c.AG)(t.filter(e=>e.type===n.XFZ.Event).map(e=>e.value));return(0,s.jsx)(d.t,{tag:"LastYearSummary",children:(0,s.jsxs)(o.Zp,{children:[(0,s.jsx)(o.Zp.Header,{titleId:"season_rating_graph_title"}),(0,s.jsx)(i.az,{w:"100%",px:"sm",children:(0,s.jsx)(R,{summary:t,yearAvgRating:p,containerId:a,graphId:u})}),l()(r)?(0,s.jsx)(o.Zp.Footer,{}):(0,s.jsx)(i.az,{pt:"xs",children:(0,s.jsx)(U,{summary:t,uniqueTournamentsMap:r})})]})})}},47430:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(6029),n=r(28349),i=r(76356),a=r(55729),l=r(90248),o=r(54409),d=r(54053),c=r(34264),u=r(72555);let p=e=>{let{attributes:t}=e,[r,p]=(0,a.useState)(!1);return t?(0,s.jsxs)(i.az,{position:"relative",children:[(0,s.jsx)(o.G_L,{fill:"onSurface.nLv1",cursor:"pointer",onClick:()=>p(!0)}),(0,s.jsx)(d.A,{isOpen:r,setIsOpen:p,header:"player.info.attributeOverview",children:(0,s.jsxs)(i.az,{px:"lg",maxW:{md:"[280px]"},children:[(0,s.jsx)(n.EY,{textStyle:"body.mediumParagraph",mb:"lg",display:"block",children:(0,s.jsx)(l.A,{id:"player.info.attributeOverviewDescription"})}),t.sort().map(e=>{var t;return(0,s.jsxs)(i.az,{py:"sm",children:[(0,s.jsx)(n.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",mr:"lg",children:c.HU[e]}),(0,s.jsx)(n.EY,{textStyle:"body.small",children:(0,s.jsx)(l.A,{id:null!=(t=u.Q1[e])?t:e})})]},e)})]})})]}):null}},50284:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/player",function(){return r(54606)}])},51246:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>m,mb:()=>h,op:()=>x});var s=r(6029),n=r(21377),i=r(28349),a=r(76356),l=r(55729),o=r(90248),d=r(42525),c=r(19451),u=r(84942),p=r(62827);let h="_player_has_form",x="_player_has_pentagon",m=function(e){let{player:t,locale:r,isEmbedModalVisible:m,setIsEmbedModalVisible:g}=e,[y,f]=(0,l.useState)(void 0),[j,v]=(0,l.useState)(void 0),b=(0,c.vf)(r),_="".concat(n.yuv).concat(b?"/".concat(b):"","/embed/player/").concat(t.id,"?widgetTheme=light"),w="sofa-player-embed-".concat(t.id),k="height:".concat(418+232*!!y+180*!!j,"px!important;max-width:730px!important;width:100%!important;"),S=''),C=(0,u.s)(t,r),A=async()=>{let e=await (0,p._9)(t.id+h),r=await (0,p._9)(t.id+x);v("true"===e),f("true"===r)};return(0,l.useEffect)(()=>{v(void 0),f(void 0)},[t.id]),(0,l.useEffect)(()=>{A()},[m]),(0,s.jsx)(i.aF,{isOpen:m,onClose:()=>g(!1),onOutsideClick:()=>g(!1),children:(0,s.jsxs)(a.az,{br:"lg",mx:"auto",elevation:"3",bg:"surface.sp",w:"[360px]",children:[(0,s.jsx)(i.EY,{textStyle:"display.large",p:{md:"lg"},display:"block",children:(0,s.jsx)(o.A,{id:"player_info_embed",values:{playerName:C}})}),(0,s.jsx)(a.az,{px:"sm",children:(0,s.jsx)(d.P,{embedString:S})}),(0,s.jsx)(a.so,{justify:"flex-end",children:(0,s.jsx)(a.az,{p:"lg",children:(0,s.jsx)(i.$n,{onClick:()=>g(!1),variant:"clear",children:(0,s.jsx)(o.A,{id:"close_window_button"})})})})]})})}},53684:(e,t,r)=>{"use strict";r.d(t,{G:()=>s.A,e:()=>n.e});var s=r(94400),n=r(33480)},54606:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>tg});var s=r(6029),n=r(21377),i=r(19451),a=r(73088),l=r(52951),o=r(55729),d=r(62859),c=r(39676),u=r(42678),p=r(21295),h=r(87526),x=r(61836),m=r(95669),g=r.n(m),y=r(19643),f=r(50417),j=r(26331),v=r(6675),b=r(84942);function _(e){var t,r;let{player:n}=e,i=(0,j.A)(),o=n.team.sport.slug,d=a.z.getTranslatedCanonicalRoute(i,"player",{id:n.id,slug:n.slug,sport:o}).route,c=null!=(r=null==(t=n.country.alpha2)?void 0:t.toLowerCase())?r:"",u=n.createdByEditor?!(0,y.N)(c,i):(0,f.v)(o,i);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(g(),{children:[(0,s.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(d)}),u&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,s.jsx)(v.N9,{player:n}),(0,s.jsx)(l.Ay,{metaKey:"player",values:{player:(0,b.s)(n,i),team:(0,b.s)(n.team,i)}})]})}var w=r(28349),k=r(76356),S=r(81278),C=r(90248),A=r(48683),T=r(76868),L=r(70010),R=r(97944),P=r(84677),M=r(38296),E=r(58047),F=r(14196),z=r(86679),I=r(30479),B=r(33752),D=r(98449),H=r(13266),O=r(27289),Y=r(52695);function U(e){var t;let{player:r,sport:n,uniqueTournament:i}=e,{seoContent:a}=(0,o.useContext)(l.xV);return(0,s.jsxs)(B.B,{children:[(0,s.jsx)(B.B.Item,{children:(0,s.jsx)(H.di,{translatedParams:{sport:n.slug},children:(0,s.jsx)(O.o,{sportSlug:n.slug})})}),i?(0,s.jsx)(B.B.Item,{children:(0,s.jsx)(H.Z6,{category:i.category,children:(0,s.jsx)(D.m,{slug:null==i?void 0:i.category.slug,name:(null==i?void 0:i.category.name)||(null==(t=r.team.country)?void 0:t.name)||"N/A"})})}):null,i?(0,s.jsx)(B.B.Item,{children:(0,s.jsx)(H.tQ,{tournament:i,children:(0,s.jsx)(Y.O,{uniqueTournament:i})})}):null,(0,s.jsx)(B.B.Title,{children:(null==a?void 0:a.heading)||"".concat(r.name," - Sofascore")})]})}var W=r(53192),N=r(91407),G=r(94400),q=r(91603),Q=r(4967),K=r(947),Z=r(90510),V=r(494),X=r(18040),$=r(54409),J=r(14419),ee=r(56602),et=r(46009),er=r(64073),es=r(8973),en=r(3518),ei=r(10794),ea=r(24159),el=r(54917),eo=r(51246),ed=r(90536);function ec(e){let{icon:t,graphic:r,text:n}=e;return(0,s.jsxs)(k.so,{align:"center",gap:"xs",px:"sm",_first:{pl:"0"},_last:{pr:"0"},children:[(0,s.jsx)(s.Fragment,{children:void 0!==t&&(0,s.jsx)(t,{w:16,h:16,fill:"onSurface.nLv3"})}),(0,s.jsx)(s.Fragment,{children:r}),(0,s.jsx)(w.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:n})]})}function eu(e){var t,r,a;let{player:l,lastYearSummary:d}=e,[c,u]=(0,o.useState)(!1),p=(0,K.A)(),h=(0,V.d4)(ei.JV),x=l.team.sport.slug,m=l.deceased,g=l.retired,y=l.dateOfDeathTimestamp?(0,Q.pp)(l.dateOfDeathTimestamp).getFullYear():void 0,f=n.USm.includes(l.team.sport.slug),j=i.mz.includes(x),v=(0,Q.KW)(l.dateOfBirthTimestamp),b=(null==d?void 0:d.length)?(0,ed.AG)(d.filter(e=>e.type===n.XFZ.Event).map(e=>e.value)):void 0,_=x===n.QCR.Cricket;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(J.Fs,{image:(0,s.jsx)(N.t,{id:l.id,name:l.slug,size:112,grayscale:l.deceased}),name:(0,s.jsxs)(k.so,{gap:"lg",align:"center",children:[(0,s.jsx)(ea.c,{entity:l}),"number"==typeof b&&(0,s.jsxs)(k.so,{align:"center",children:[(0,s.jsx)(G.A,{rating:b,format:"sideBox"}),(0,s.jsx)(ee.D,{type:ee.D.type.AverageRatingPlayer,rating:b,renderImage:e=>(0,s.jsx)(N.t,{id:l.id,...e}),children:e=>{let{setIsOpen:t}=e;return(0,s.jsx)(w.K0,{variant:"clear",onClick:()=>t(!0),children:(0,s.jsx)($.G_L,{fill:"onSurface.nLv3",w:"24",h:"24"})})}})]})]}),subtitleItems:l.team&&!l.deceased&&(0,s.jsx)(H.gT,{sport:x,team:l.team,children:(0,s.jsxs)(k.so,{align:"center",gap:"sm",color:"neutrals.nLv1",_hover:{color:l.team?"primary.default":void 0},children:[(0,s.jsx)(q.p,{id:l.team.id,name:l.team.name,national:l.team.national,size:32}),(0,s.jsxs)(k.so,{direction:"column",justify:"center",gap:"2xs",children:[(0,s.jsx)(w.EY,{textStyle:l.contractUntilTimestamp?"body.medium":"display.medium",color:"[inherit]",children:(0,s.jsx)(ea.c,{entity:l.team})}),l.contractUntilTimestamp&&(0,s.jsxs)(w.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",lineHeight:1,children:[(0,s.jsx)(C.A,{id:"contract_until"}),": ",(0,s.jsx)(Z.XU,{value:1e3*l.contractUntilTimestamp,...Q.or.dateWithShortMonth,timeZone:"UTC"})]})]})]})}),actions:(0,s.jsxs)(s.Fragment,{children:[l.managerId&&(0,s.jsx)(H.N_,{routeKey:"manager",params:{id:l.managerId,slug:x},children:(0,s.jsxs)(w.$n,{size:"secondary",children:[(0,s.jsx)($.AdY,{}),(0,s.jsx)(C.A,{id:"manager_profile"})]})}),j&&(0,s.jsx)(w.m_,{label:p.formatMessage({id:"compare_player_stats"}),strategy:"hover",colorPalette:"secondary",children:(0,s.jsx)(X.O,{type:"player",id:l.id,sport:x,iconOnly:!!l.managerId})}),f&&!m&&!g&&(0,s.jsx)(w.m_,{label:p.formatMessage({id:"add_to_favourites"}),strategy:"hover",colorPalette:"secondary",children:(0,s.jsx)(et.e,{id:l.id,entity:n.bq7.Players,location:es.y.Header,type:es.b.Player,isNewButton:!0})}),v>=16&&(0,s.jsx)(w.m_,{label:p.formatMessage({id:"embed_widget"}),strategy:"hover",colorPalette:"secondary",children:(0,s.jsx)(w.D7,{onClick:()=>u(!0),children:(0,s.jsx)($.Q4p,{style:{width:24,height:24}})})})]}),footer:(0,s.jsxs)(s.Fragment,{children:[void 0!==l.country.alpha2&&(0,s.jsx)(ec,{graphic:(0,s.jsx)(W.w,{alpha2:l.country.alpha2,name:l.country.alpha2,size:16,national:!0}),text:l.country.name}),!!l.dateOfBirthTimestamp&&(0,s.jsx)(ec,{icon:$.X78,text:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(Z.XU,{value:new Date(1e3*l.dateOfBirthTimestamp),...Q.or.dateWithLongMonth,timeZone:"UTC"})," ","(",m?"number"==typeof y?(0,s.jsx)(C.A,{id:"deceasedYear",values:{year:y}}):(0,s.jsx)(C.A,{id:"deceased",values:{gender:null!=(a=l.gender)?a:l.team.gender}}):(0,Q.KW)(l.dateOfBirthTimestamp),")"]})}),"string"==typeof l.position&&(0,s.jsx)(ec,{icon:$.fEU,text:(0,s.jsx)(el.F,{id:l.position,sport:x,gender:l.team.gender})}),_&&"string"==typeof(null==(t=l.cricketPlayerInfo)?void 0:t.batting)&&(0,s.jsx)(ec,{icon:$.BM3,text:(0,s.jsx)(C.A,{id:l.cricketPlayerInfo.batting})}),_&&"string"==typeof(null==(r=l.cricketPlayerInfo)?void 0:r.bowling)&&(0,s.jsx)(ec,{icon:$.Pvq,text:(0,s.jsx)(C.A,{id:l.cricketPlayerInfo.bowling})}),"number"==typeof l.height&&(0,s.jsx)(ec,{icon:$.f6o,text:(0,s.jsx)(en.Z,{value:l.height,fromUnit:"cm"})}),"string"==typeof l.preferredFoot&&(0,s.jsx)(ec,{icon:$.SdB,text:(0,s.jsx)(C.A,{id:"foot.".concat(l.preferredFoot.toLowerCase()),defaultMessage:l.preferredFoot})}),"string"==typeof l.jerseyNumber&&(0,s.jsx)(ec,{icon:$.kDU,text:(0,s.jsx)(C.A,{id:"jersey_number",values:{jerseyNumber:l.jerseyNumber}})})]})}),f&&!m&&!g&&(0,s.jsxs)(er.K,{id:l.id,name:l.name,entity:n.bq7.Players,type:es.b.Player,children:[(0,s.jsx)(N.t,{size:32,mr:"sm",style:{verticalAlign:"top"},id:l.id,name:l.slug,grayscale:l.deceased}),(0,s.jsx)(w.EY,{textStyle:"display.medium",color:"primary.default",mr:"sm",children:(0,s.jsx)(ea.c,{entity:l})})]}),(0,s.jsx)(eo.Ay,{player:l,locale:h,isEmbedModalVisible:c,setIsEmbedModalVisible:u})]})}var ep=r(18916),eh=r(75751),ex=r(42621),em=r(99326),eg=r(3898),ey=r(60908),ef=r(23685);let ej=(0,o.memo)(function(e){var t;let{player:r}=e,{isFantasyEnabled:i}=(0,P.t)(),{showFantasyStatistics:a}=(0,z.A)({showFantasyStatistics:{route:n.lVT.playerCompetitions(r.id),skipCheck:!i}},[r.id,i]);return(0,s.jsxs)(eh.t,{tag:"PlayerSidebar",children:[(0,s.jsx)(ey._,{page:{location:x.XN.PlayerScreen,entity:r}}),(0,s.jsx)(ef.Y,{utId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id,location:x.XN.PlayerScreen,bgImageUrl:n.cWY.image(r.team.id)}),a&&(0,s.jsx)(em.pk,{utIds:null}),(0,s.jsx)(ex.q,{persist:!0,children:(0,s.jsx)(eg.OE,{playerId:r.id})})]})},function(e,t){return e.player.id===t.player.id});var ev=r(56566),eb=r(99064),e_=r(71024),ew=r.n(e_),ek=r(69964);let eS=ew()(()=>r.e(67658).then(r.bind(r,67658)),{loadableGenerated:{webpack:()=>[67658]},loading:()=>(0,s.jsx)(k.az,{pb:"lg",children:(0,s.jsx)(ek.A,{})})});function eC(e){let{player:t}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:E.x.Career,children:(0,s.jsx)(eS,{player:t})})}var eA=r(69559);let eT=ew()(()=>Promise.all([r.e(50612),r.e(24484)]).then(r.bind(r,24484)),{loadableGenerated:{webpack:()=>[24484]},ssr:!1,loading:()=>(0,s.jsx)(k.az,{h:"[1100px]"})}),eL=ew()(()=>Promise.all([r.e(50612),r.e(8904)]).then(r.bind(r,8904)),{loadableGenerated:{webpack:()=>[8904]},ssr:!1,loading:()=>(0,s.jsx)(k.az,{h:"[496px]"})});function eR(e){let t=(0,eA.o)();return F.G.includes(t)?(0,s.jsx)(eM,{player:e.player,transfers:e.transfers}):(0,s.jsx)(eP,{...e})}function eP(e){return(0,s.jsx)(eb.tU.Panel,{tabKey:E.x.Details,children:(0,s.jsx)(eT,{...e})})}function eM(e){return(0,s.jsx)(eb.tU.Panel,{tabKey:E.x.Info,children:(0,s.jsx)(eL,{...e})})}let eE=ew()(()=>Promise.all([r.e(29561),r.e(90234)]).then(r.bind(r,91944)),{loadableGenerated:{webpack:()=>[91944]},ssr:!1,loading:()=>(0,s.jsx)(k.az,{h:"[1000px]"})});function eF(e){let{playerId:t}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:E.x.PlayerFantasy,children:(0,s.jsx)(eE,{playerId:t})})}let ez=ew()(()=>Promise.all([r.e(43139),r.e(21632),r.e(43818),r.e(48478),r.e(23296)]).then(r.bind(r,23296)),{loadableGenerated:{webpack:()=>[23296]},loading:()=>(0,s.jsx)(k.az,{h:"[1000px]"})});function eI(e){let{player:t,sport:r}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:F.G.includes(r)?E.x.Season:E.x.Statistics,children:(0,s.jsx)(ez,{player:t,sport:t.team.sport.slug})})}var eB=r(62827);function eD(e,t){return e===n.QCR.Volleyball?E.x.Statistics:F.G.includes(e)?t.find(e=>e.tabKey===E.x.Season&&!1===e.isHidden)?E.x.Season:E.x.Info:E.x.Details}function eH(e){let t=function(e){e.startsWith("#")&&(e=e.slice(1));let t={};return e.split(",").forEach(e=>{let[r,s]=e.split(":");r&&(t[r]=s)}),t}(window.location.hash);delete t[e],window.location.hash=Object.entries(t).map(e=>{let[t,r]=e;return"".concat(t,":").concat(r)}).join(",")}var eO=r(76735);function eY(e){var t;let{player:r,...l}=e,{isFantasyEnabled:o,showFantasyEntry:d}=(0,P.t)(),u=(0,j.A)(),p=(0,S.useRouter)(),h=r.team.sport,[x,m]=(0,I.Ay)({routeKey:i.xW.Player,params:{slug:r.slug,id:r.id,sport:h.slug}}),{isEmpty:g}=(0,eO.z)({player:r,...l}),{hasStatisticsTab:y,hasFantasyData:f,hasCareerData:v}=(0,z.A)({hasStatisticsTab:{route:n.qvj.uniqueTournamentSeasons(r.id),skipCheck:!ep.F0.includes(h.slug)},hasFantasyData:{route:n.lVT.playerCompetitions(r.id),skipCheck:!o},hasCareerData:{route:n.qvj.uniqueTournamentSeasonsStatistics(r.id),skipCheck:!F.v.includes(h.slug)}},[r.id,o]),b=r.team.primaryUniqueTournament,_=!1===g,B=d&&f,D=v&&y,H=(t=h.slug,F.G.includes(t)?[{tabKey:E.x.Season,item:"season",isHidden:!y},{tabKey:E.x.Career,item:"am_football_career_tab",isHidden:!D},{tabKey:E.x.Info,item:"info",isHidden:!_},{tabKey:E.x.PlayerFantasy,item:"fantasy_game",isHidden:!B}]:[{tabKey:E.x.Details,item:"details",isHidden:!_},{tabKey:E.x.Statistics,item:"statistics",isHidden:!y},{tabKey:E.x.Career,item:"am_football_career_tab",isHidden:!D},{tabKey:E.x.PlayerFantasy,item:"fantasy_game",isHidden:!B}]),O=(null==x?void 0:x.tab)||eD(h.slug,H),Y=[_,y,D,B].every(e=>!1===e);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(U,{player:r,sport:h,uniqueTournament:b}),(0,s.jsx)(eu,{player:r}),(0,s.jsxs)(L.xA,{py:"md",children:[(0,s.jsxs)(L.fv,{flexGrow:1,children:[(0,s.jsx)(k.az,{className:"player-matches-section",children:(0,s.jsx)(R.S,{id:r.id,entity:n.wNW.Player,player:r,transfers:l.transfers})}),(0,s.jsx)(ej,{player:r}),(0,s.jsx)(c.Aq,{route:i.xW.Player})]}),(0,s.jsxs)(L.fv,{flexGrow:2,children:[(0,s.jsx)(A.Zp,{children:Y?(0,s.jsxs)(k.BJ,{gap:"0",align:"center",mb:"4xl",children:[(0,s.jsx)(T.p,{titleMessageId:"player_empty_state_header",descriptionMessageId:"player_empty_state_body",graphic:"add-item"}),(0,s.jsx)(w.$n,{variant:"outline",onClick:()=>{var e;(null==(e=window.history)?void 0:e.length)>1?p.back():p.push(a.z.getTranslatedRoute(u,"eventList",{sport:h.slug}).route)},children:(0,s.jsx)(C.A,{id:"button_go_back"})})]}):(0,s.jsx)(A.WC,{variant:"square-desktop",children:(0,s.jsxs)(M.A,{id:r.id,location:E.C.PlayerPage,initialTabKey:O,customControls:[O,e=>{m("tab",e),eH("defaultUniqueTournamentId"),eH("defaultSeasonId"),eH("defaultSeasonType")}],tabs:H,children:[_&&(0,s.jsx)(eR,{player:r,...l}),y&&(0,s.jsx)(eI,{player:r,sport:h.slug}),D&&(0,s.jsx)(eC,{player:r}),B&&(0,s.jsx)(eF,{playerId:r.id})]})})}),(0,s.jsx)(ev.A,{player:r})]})]})]})}var eU=r(8329),eW=r(55938);let eN=e=>{let{label:t,value:r,inLine:n,children:i,onClick:a}=e;return r||i?(0,s.jsxs)(eb.az,{w:n?"auto":"33%",pt:"md",pb:10,px:"lg",onClick:a,cursor:a?"pointer":void 0,children:[(0,s.jsx)(eb.EY,{font:"assistive.micro",color:"onSurface.nLv3",align:"center",mb:"xxs",as:"div",textTransform:"uppercase",children:t}),(0,s.jsx)(eb.EY,{font:"display.medium",color:"onSurface.nLv1",align:"center",as:"div",children:r||i})]}):null},eG=e=>{var t,r;let{player:i,inLine:a}=e,l=(0,K.A)(),c=(0,o.useContext)(d.Ws),[u,p]=(0,o.useState)(!1),h=(0,s.jsx)(Z.XU,{value:new Date(1e3*i.dateOfBirthTimestamp),...Q.or.dateWithShortMonth,timeZone:"UTC"}),x=[n.QCR.Handball,n.QCR.Football,n.QCR.Basketball,n.QCR.IceHockey,n.QCR.Baseball,n.QCR.AmericanFootball].includes(c),m=async()=>{u||(p(!0),setTimeout(()=>{p(!1)},3e3),await (0,eB.MZ)((0,s.jsxs)(eb.so,{align:"center",children:[(0,s.jsx)($.G_L,{fill:"onColor.primary",mr:"lg"}),(0,s.jsx)(eb.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,s.jsx)(el.F,{id:i.position,sport:c})})]})))};return(0,s.jsxs)(eb.so,{justify:a?"space-around":void 0,wrap:"wrap",children:[(null==(t=i.country)?void 0:t.alpha2)&&(0,s.jsx)(eN,{label:(0,s.jsx)(C.A,{id:"nationality"}),inLine:a,children:(0,s.jsxs)(eb.so,{align:"center",justify:"center",gap:"xs",children:[(0,s.jsx)(eU.w,{alpha2:i.country.alpha2,name:i.country.alpha2,size:16,national:!0}),(0,s.jsx)("span",{children:(0,eW.KH)(i.country.alpha2)})]})}),i.deceased&&i.dateOfBirthTimestamp&&(0,s.jsx)(eN,{label:h,value:(0,s.jsx)(C.A,{id:"deceasedYear",values:{year:i.dateOfDeathTimestamp?(0,s.jsx)(Z.XU,{value:1e3*i.dateOfDeathTimestamp,year:"numeric"}):void 0}}),inLine:a}),i.dateOfBirthTimestamp&&!i.deceased&&(0,s.jsx)(eN,{label:h,value:"".concat((0,Q.KW)(i.dateOfBirthTimestamp)," ").concat(l.formatMessage({id:"years_short"},{n:(0,Q.KW)(i.dateOfBirthTimestamp)})),inLine:a}),i.height&&(0,s.jsx)(eN,{label:(0,s.jsx)(C.A,{id:"player_height"}),value:(0,s.jsx)(en.Z,{value:i.height,fromUnit:"cm"}),inLine:a}),i.preferredFoot&&(0,s.jsx)(eN,{label:(0,s.jsx)(C.A,{id:"player_preferred_foot"}),value:l.formatMessage({id:"foot.".concat(i.preferredFoot.toLowerCase()),defaultMessage:i.preferredFoot}),inLine:a}),i.position&&(0,s.jsx)(eN,{label:(0,s.jsx)(C.A,{id:"position"}),value:(0,s.jsx)(el.F,{id:i.position,short:!0,gender:null==(r=i.team)?void 0:r.gender}),inLine:a,onClick:x?m:void 0}),i.cricketPlayerInfo&&Object.keys(i.cricketPlayerInfo).filter(e=>!e.startsWith("is")).map(e=>{let t=i.cricketPlayerInfo[e];return(0,s.jsx)(eN,{label:(0,s.jsx)(C.A,{id:e}),value:(0,s.jsx)(C.A,{id:t}),inLine:a},e)}),(0,s.jsx)(eN,{label:(0,s.jsx)(C.A,{id:"player_shirt_number"}),value:i.jerseyNumber,inLine:a})]})};var eq=r(70862);function eQ(e){let{player:t}=e;return(0,s.jsx)(eb.az,{w:["100%","50%"],p:[0,"sm"],children:(0,s.jsx)(A.Zp,{children:(0,s.jsxs)(eb.so,{direction:"column",gap:"lg",pt:"md",px:"lg",pb:"lg",br:"sm",children:[(0,s.jsxs)(eb.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsxs)(eb.so,{align:"center",children:[(0,s.jsx)($.p5Z,{fill:"error.default"}),(0,s.jsx)(eb.EY,{font:"display.medium",color:"error.default",pl:"sm",children:(0,s.jsx)(eq.o,{id:t.injury.status})})]}),(0,s.jsxs)(eb.so,{direction:"column",align:"flex-end",children:[(0,s.jsx)(eb.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,s.jsx)(C.A,{id:"lastUpdated"})}),(0,s.jsx)(eb.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,s.jsx)(Z.XU,{value:new Date(1e3*t.injury.updateDateTimestamp),...Q.or.dateWithShortMonth,timeZone:"UTC"})})]})]}),(0,s.jsxs)(eb.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsx)(eb.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,s.jsx)(C.A,{id:"details"})}),(0,s.jsx)(eb.EY,{font:"body.medium",children:(0,s.jsx)(eq.o,{id:t.injury.reason})})]}),(0,s.jsxs)(eb.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsx)(eb.EY,{font:"body.medium",children:(0,s.jsx)(C.A,{id:"startDate"})}),(0,s.jsx)(eb.EY,{font:"body.medium",children:(0,s.jsx)(Z.XU,{value:new Date(1e3*t.injury.startDateTimestamp),...Q.or.dateWithShortMonth,timeZone:"UTC"})})]})]})})})}var eK=r(33144),eZ=r(94604);let eV=e=>{let{player:t,expectedTransfer:r}=e,n=t.team.disabled?null:{sport:t.team.sport.slug,team:t.team},i=n?H.gT:o.Fragment,a=(0,o.useContext)(d.Ws),l=t.retired||"no-team"===t.team.slug;return(0,s.jsxs)(eb.so,{justify:"space-between",children:[(0,s.jsx)(eb.az,{display:["block","none"],children:(0,s.jsx)(i,{sport:null==n?void 0:n.sport,team:null==n?void 0:n.team,children:(0,s.jsxs)(eb.so,{py:"sm",px:["sm","lg"],align:"center",cursor:l?"default":"pointer",children:[(0,s.jsx)(eb.az,{w:"40",h:"40",children:(0,s.jsx)(eK.p,{id:t.retired?-1:t.team.id,name:t.retired?void 0:t.team.slug,size:40})}),(0,s.jsxs)(eb.az,{ml:"lg",children:[(0,s.jsx)(eb.EY,{font:"display.medium",color:"onSurface.nLv1",hover:!l,as:"div",children:t.retired?(0,s.jsx)(C.A,{id:"career_retired"}):(0,s.jsx)(eZ.Rm,{team:t.team})}),t.contractUntilTimestamp&&(0,s.jsxs)(eb.EY,{lineHeight:"16px",font:"assistive.default",color:"onSurface.nLv3",as:"div",children:[(0,s.jsx)(C.A,{id:"contract_until"})," ",(0,s.jsx)(Z.XU,{value:1e3*t.contractUntilTimestamp,...Q.or.dateWithShortMonth,timeZone:"UTC"})]})]})]})})}),r&&!t.retired&&(0,s.jsxs)(eb.az,{p:"sm",pr:"lg",children:[(0,s.jsxs)(eb.so,{mb:"xxs",gap:"xxs",align:"center",children:[r.transferFrom&&(0,s.jsx)(H.gT,{team:r.transferFrom,sport:a,children:(0,s.jsx)(eK.p,{id:r.transferFrom.id,name:r.transferFrom.name,size:20})}),(0,s.jsx)($.ZmP,{fill:"onSurface.nLv1"}),r.transferTo&&(0,s.jsx)(H.gT,{team:r.transferTo,sport:a,children:(0,s.jsx)(eK.p,{id:r.transferTo.id,name:r.transferTo.name,size:20})})]}),(0,s.jsx)(eb.EY,{font:"assistive.default",color:"onSurface.nLv3",align:"right",as:"div",children:(0,s.jsx)(Z.XU,{value:new Date(1e3*r.transferDateTimestamp),...Q.or.dateWithShortMonth})})]})]})};var eX=r(13062),e$=r(82798),eJ=r(45384),e0=r(73674);function e1(e){let{player:t,lastYearSummary:r,expectedTransfer:i,hasPentagon:a,uniqueTournamentsMap:l}=e,{slug:o}=t.team.sport,d=o===n.QCR.Football,c=o===n.QCR.Cricket,u=o===n.QCR.IceHockey,p=o===n.QCR.Basketball,h=!!(t.injury&&(u||p)),x=t.team.primaryUniqueTournament&&t.proposedMarketValueRaw;return(0,s.jsx)(eh.t,{tag:"PlayerDetailsMobile",children:(0,s.jsxs)(eb.so,{direction:"column",gap:"sm",children:[!t.deceased&&(0,s.jsx)(A.Zp,{children:(0,s.jsx)(eV,{player:t,expectedTransfer:i})}),(0,s.jsxs)(A.Zp,{children:[(0,s.jsx)(eG,{player:t,inLine:!d&&!c&&!u||u&&!t.injury}),x&&(0,s.jsx)(k.az,{p:"sm",children:(0,s.jsx)(A.WC,{variant:"inverse",children:(0,s.jsx)(e0.A,{playerId:t.id,proposedMarketValueRaw:t.proposedMarketValueRaw})})})]}),!!r&&(0,s.jsx)(eJ.A,{lastYearSummary:r,uniqueTournamentsMap:l,containerId:"LYS-incidents-mobile",graphId:"js-LYS-ref-graph-mobile"}),a&&(0,s.jsx)(eX.W,{player:t}),d&&(0,s.jsx)(e$.A,{player:t}),h&&(0,s.jsx)(eQ,{player:t})]})})}var e2=r(20339);let e4=()=>(0,s.jsxs)(A.Zp,{children:[(0,s.jsx)(A.Zp.Header,{titleId:"transfer_history"}),(0,s.jsxs)(k.so,{direction:{base:"column",md:"row"},children:[(0,s.jsx)(k.az,{w:{base:"100%",md:"1/2"},h:{base:"[278px]",md:"[328px]"},p:"sm",children:(0,s.jsx)(k.az,{h:"[174px]",bg:"surface.s2",br:"lg"})}),(0,s.jsx)(k.az,{w:{base:"100%",md:"1/2"},mdDown:{mt:"sm",pt:"sm",borderTop:"1px solid",borderTopColor:"neutrals.nLv4"},pb:"lg",h:{base:"[337px]",md:"[328px]"}})]})]}),e6=ew()(()=>r.e(50612).then(r.bind(r,50612)),{loadableGenerated:{webpack:()=>[50612]},ssr:!1,loading:()=>(0,s.jsx)(e4,{})});function e9(e){var t;let{player:r,transfers:i,...a}=e,l=r.team.sport.slug===n.QCR.Football,o=r.team.sport.slug===n.QCR.Basketball,d=r.team.sport.slug===n.QCR.AmericanFootball,c=i?i.sort((e,t)=>t.transferDateTimestamp-e.transferDateTimestamp):null,u=c&&1e3*c[0].transferDateTimestamp>Date.now()?c[0]:null;return(0,s.jsx)(eb.tU.Panel,{tabKey:o||d?E.x.Info:E.x.Details,children:(0,s.jsxs)(A.BU,{children:[(0,s.jsx)(e1,{player:r,expectedTransfer:u,...a}),(l||o)&&(0,s.jsx)(e6,{playerId:r.id,transfers:i,sport:r.team.sport.slug,proposedMarketValueRaw:r.proposedMarketValueRaw}),(0,s.jsx)(ey._,{page:{location:x.XN.PlayerScreen,entity:r}}),(0,s.jsx)(ef.Y,{utId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id,location:x.XN.PlayerScreen,bgImageUrl:n.cWY.image(r.team.id)}),(0,s.jsx)(e2.A,{playerId:r.id}),(0,s.jsx)(ev.A,{player:r})]})})}let e3=ew()(()=>Promise.all([r.e(29561),r.e(90234)]).then(r.bind(r,91944)),{loadableGenerated:{webpack:()=>[91944]},ssr:!1,loading:()=>(0,s.jsx)(k.az,{h:"[1000px]"})});function e5(e){let{playerId:t}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:E.x.PlayerFantasy,children:(0,s.jsx)(e3,{playerId:t})})}var e8=r(45860);let e7=e=>{let[t,r]=(0,o.useState)(void 0),{data:s,isLoading:i}=(0,e8.Ay)(n.qvj.uniqueTournaments(e));return{selectedTournament:t,setSelectedTournament:r,uniqueTournaments:(null==s?void 0:s.uniqueTournaments)||[],isFetching:i}},te=ew()(()=>r.e(93572).then(r.bind(r,93572)),{loadableGenerated:{webpack:()=>[93572]}});function tt(e){let{player:t,transfers:r}=e,{hasMatches:i}=(0,z.A)({hasMatches:{route:n.qvj.events(t.id)}}),a=e7(t.id);return(0,s.jsx)(eb.tU.Panel,{tabKey:E.x.Matches,children:i?(0,s.jsx)(te,{id:t.id,entity:n.wNW.Player,player:t,transfers:r,playerFilters:a}):(0,s.jsx)(eb.az,{p:"sm",children:(0,s.jsx)(A.Zp,{children:(0,s.jsx)(T.p,{graphic:"no-events",titleMessageId:"basic.noEvents",descriptionMessageId:"eventList.noAvailableEvents"})})})})}let tr=ew()(()=>Promise.all([r.e(43139),r.e(21632),r.e(43818),r.e(48478),r.e(23296)]).then(r.bind(r,23296)),{loadableGenerated:{webpack:()=>[23296]}});function ts(e){let{player:t,sport:r}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:[n.QCR.AmericanFootball,n.QCR.Basketball].includes(r)?E.x.Season:E.x.Statistics,children:(0,s.jsx)(tr,{player:t,sport:t.team.sport.slug})})}var tn=r(94446),ti=r(7263);let ta=e=>{let{id:t,slug:r}=e,{isMobile:n}=(0,w.$c)();return(0,s.jsx)(H.N_,{routeKey:"manager",params:{id:t,slug:r},children:(0,s.jsxs)(eb.so,{px:"md",py:"xs",bg:["primary.default","overlay.darken1"],align:"center",br:"lg",children:[(0,s.jsx)(eb.EY,{lineHeight:"16px",font:"assistive.default",c:["surface.s1","onColor.primary"],mr:"xxs",children:(0,s.jsx)(C.A,{id:"manager_profile"})}),(0,s.jsx)($.CCT,{fill:n?"surface.s1":"onColor.primary"})]})})},tl=e=>{let{id:t,sport:r}=e,{data:i}=(0,e8.Ay)([n.qvj.uniqueTournamentSeasons(t),"HEAD"],{fetcher:ti.n});return i?(0,s.jsx)(X.O,{type:"player",id:t,sport:r}):null},to=function(e){var t,r;let{player:a}=e,l=n.USm.includes(a.team.sport.slug),o=null==(r=a.country)||null==(t=r.alpha2)?void 0:t.toLowerCase(),d=o?(0,n.RHm)(o):void 0,c=a.team.id&&!(a.retired||"no-team"===a.team.slug)?n.cWY.image(a.team.id):d,u=a.team.sport.slug,p=a.deceased,h=a.retired,x=i.mz.includes(u);return(0,s.jsx)(J.z4,{bgImageSrc:c,flexProps:{px:0,py:0},elevation:[void 0,2],children:(0,s.jsxs)(eb.so,{w:"100%",justify:"space-between",align:"center",p:["lg","xl"],pr:["lg","sm"],children:[(0,s.jsxs)(eb.so,{grow:2,w:"100%",align:"center",children:[(0,s.jsx)(tn.t,{id:a.id,name:a.slug,size:112,mr:["lg","xl"],grayscale:a.deceased}),(0,s.jsxs)(eb.so,{align:"flex-start",direction:"column",children:[(0,s.jsx)(eb.so,{gap:"sm",align:"center",mb:["xxs","sm"],children:(0,s.jsx)(eb.EY,{font:["display.large","display.extraLarge"],c:["onSurface.nLv1","onColor.primary"],m:0,as:"h2",ellipsis:!0,whiteSpace:"nowrap",overflow:"hidden",maxW:"400px",children:(0,s.jsx)(ea.c,{entity:a})})}),(0,s.jsxs)(eb.so,{wrap:"wrap",align:"center",gap:"md",children:[a.deceased&&(0,s.jsxs)(eb.so,{align:"center",children:[(0,s.jsx)(tn.p,{id:a.team.id,name:a.team.name,national:a.team.national,size:16,mr:"xs"}),(0,s.jsx)(eb.EY,{font:["assistive.default","display.medium"],c:["onSurface.nLv3","onColor.primary"],children:(0,s.jsx)(C.A,{id:"deceasedYear",values:{year:void 0}})})]}),x&&(0,s.jsx)(tl,{id:a.id,sport:u}),a.managerId&&(0,s.jsx)(ta,{id:a.managerId,slug:u})]})]})]}),(0,s.jsx)(eb.az,{children:l&&!p&&!h&&(0,s.jsx)(et.e,{id:a.id,entity:n.bq7.Players,location:es.y.Header,type:es.b.Player})})]})})},td=ew()(()=>r.e(67658).then(r.bind(r,67658)),{loadableGenerated:{webpack:()=>[67658]}});function tc(e){let{player:t}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:E.x.Career,children:(0,s.jsx)(td,{player:t})})}function tu(e){var t;let{player:r,transfers:a,...l}=e,o=r.team.sport,d=r.team.primaryUniqueTournament,{isFantasyEnabled:c,showFantasyEntry:u}=(0,P.t)(),[p,h]=(0,I.Ay)({routeKey:i.xW.Player,params:{slug:r.slug,id:r.id,sport:o.slug}}),{hasStatisticsTab:x,hasFantasyData:m,hasCareerData:g}=(0,z.A)({hasStatisticsTab:{route:n.qvj.uniqueTournamentSeasons(r.id),skipCheck:!ep.F0.includes(o.slug)},hasFantasyData:{route:n.lVT.playerCompetitions(r.id),skipCheck:!c},hasCareerData:{route:n.qvj.uniqueTournamentSeasonsStatistics(r.id),skipCheck:!F.v.includes(o.slug)}},[r.id,c]),y=u&&m,f=g&&x,j=(t=o.slug,F.G.includes(t)?[{tabKey:E.x.Season,item:"season",isHidden:!x},{tabKey:E.x.Matches,item:"games",values:{sport:(0,eB.ap)(t)}},{tabKey:E.x.Career,item:"am_football_career_tab",isHidden:!f},{tabKey:E.x.Info,item:"info"},{tabKey:E.x.PlayerFantasy,item:"fantasy_game",isHidden:!y}]:[{tabKey:E.x.Details,item:"details"},{tabKey:E.x.Statistics,item:"statistics",isHidden:!x},{tabKey:E.x.Matches,item:"matches",values:{sport:(0,eB.ap)(t)}},{tabKey:E.x.Career,item:"am_football_career_tab",isHidden:!f},{tabKey:E.x.PlayerFantasy,item:"fantasy_game",isHidden:!y}]),v=(null==p?void 0:p.tab)||eD(o.slug,j);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(k.az,{bg:"surface.s1",children:[(0,s.jsx)(U,{player:r,sport:o,uniqueTournament:d}),(0,s.jsx)(to,{player:r})]}),(0,s.jsx)(M.A,{id:r.id,location:M.C.PlayerPage,initialTabKey:v,customControls:[v,e=>{h("tab",e),eH("defaultUniqueTournamentId"),eH("defaultSeasonId"),eH("defaultSeasonType")}],tabs:j,children:(0,s.jsxs)(k.az,{bg:"surface.s0",children:[(0,s.jsx)(e9,{player:r,transfers:a,...l}),x&&(0,s.jsx)(ts,{player:r,sport:o.slug}),f&&(0,s.jsx)(tc,{player:r}),(0,s.jsx)(tt,{player:r,transfers:a}),y&&(0,s.jsx)(e5,{playerId:r.id})]})})]})}let tp=(0,o.memo)(function(e){var t;let{player:r}=e,a=null==r?void 0:r.deceased,l=null==r?void 0:r.retired;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_,{player:r}),(0,s.jsxs)(d.Ws.Provider,{value:r.team.sport.slug,children:[(0,s.jsx)(u.$B,{children:(0,s.jsx)(tu,{...e})}),(0,s.jsx)(u.h6,{children:(0,s.jsx)(c.JR,{route:i.xW.Player,children:(0,s.jsx)(eY,{...e})})}),!0!==a&&!0!==l&&(0,s.jsx)(p.A,{entity:n.bq7.MutedPlayers,entityGroup:"player",id:r.id,entityTournamentId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id}),(0,s.jsx)(h.N,{page:{location:x.XN.PlayerScreen,entity:r}})]})]})},function(e,t){return e.player.id===t.player.id});var th=r(71937),tx=r(25862),tm=r(65097);function tg(e){return"error"in e?(0,s.jsx)(tm.default,{statusCode:e.error.code||404}):(0,s.jsx)(l.an,{value:{seoContent:e.seoContent},children:(0,s.jsx)(tp,{...e})})}tg.getInitialProps=th.A.getInitialPageProps(e=>async function(t){let{req:r,res:s,query:l,...o}=t,d=r?r._originalUrl:o.asPath,c=a.z.getCurrentLocale(d),u=r&&r.params?r.params:l,p=Number(u.id),h=u.slug,[x,m,g,y,f]=await Promise.allSettled([n.uuS.fetchPlayerDetails(p),n.uuS.fetchPlayerTransferHistory(p),n.uuS.hasPlayerPentagon(p),n.uuS.fetchPlayerLastYearSummary(p),n.sdF.getSeoContent(n.wNW.Player,p,c)]);try{let t,r;if("rejected"===x.status)throw Error(x.reason);"fulfilled"===y.status&&y.value.summary.length&&(t=y.value.summary,r=y.value.uniqueTournamentsMap);let n=x.value.player,l="fulfilled"===m.status?m.value.transferHistory:void 0,o="fulfilled"===f.status?f.value.content:void 0,d="fulfilled"===g.status&&g.value,j=u.sport||n.team.sport.slug;if(!i.Hk.includes(j))throw Error("Unsupported sport");return s&&(n.slug!==h||n.id!==p)&&(s.writeHead(301,{Location:a.z.getTranslatedRoute(c,"player",{id:n.id,slug:n.slug,sport:j}).route}),s.end()),e.dispatch((0,tx.Vy)(j)),{player:n,transfers:l,seoContent:o,lastYearSummary:t,uniqueTournamentsMap:r,hasPentagon:d}}catch(e){return{error:{code:404}}}})},54917:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var s=r(6029),n=r(21377),i=r(55729),a=r(90248),l=r(62859);let o=JSON.parse('{"football":{"Dlong":"football_defender","DLlong":"football_left_defender","DClong":"football_centre_defender","DRlong":"football_right_defender","DMlong":"football_defensive_midfielder","Mlong":"football_midfielder","MLlong":"football_left_midfielder","MRlong":"football_right_midfielder","MClong":"football_centre_midfielder","AMlong":"football_attacking_midfielder","Flong":"football_forward","LWlong":"football_left_winger","RWlong":"football_right_winger","STlong":"football_striker","Glong":"goalkeeper","GKlong":"goalkeeper","Dshort":"position.defender.short","DLshort":"position.defenderLeft.short","DCshort":"position.defenderCenter.short","DRshort":"position.defenderRight.short","DMshort":"position.defensiveMidfielder","Mshort":"position.midfielder.short","MLshort":"position.midfielderLeft.short","MRshort":"position.midfielderRight.short","MCshort":"position.midfielderCenter.short","AMshort":"position.attackingMidfielder.short","Fshort":"position.forward.short","LWshort":"position.leftWinger.short","RWshort":"position.rightWinger.short","STshort":"position.striker.short","Gshort":"position.goalkeeper.short","GfantasyShort":"position.goalkeeper.fantasyShort","DfantasyShort":"position.defender.fantasyShort","MfantasyShort":"position.midfielder.fantasyShort","FfantasyShort":"position.forward.fantasyShort"},"basketball":{"Clong":"basketball.center","CFlong":"centerForward","Flong":"basketball.forward","FClong":"forwardCenter","FGlong":"forwardGuard","Glong":"guard","GFlong":"guardForward","Cshort":"position.basketball.center.short","CFshort":"position.centerForward.short","Fshort":"position.basketball.forward.short","FCshort":"position.forwardCenter.short","FGshort":"position.forwardGuard.short","Gshort":"position.guard.short","GFshort":"position.guardForward.short"},"ice-hockey":{"Dlong":"defenseman","Glong":"goalie","Clong":"hockey.center","Llong":"leftWing","Rlong":"rightWing","Flong":"football_forward","Dshort":"position.defenseman.short","Gshort":"position.goalie.short","Cshort":"position.hockey.short.center","Lshort":"position.leftWing.short","Rshort":"position.rightWing.short","Fshort":"position.forward.short"},"baseball":{"Plong":"pitcher","Clong":"catcher","1Blong":"1stBase","2Blong":"2ndBase","3Blong":"3rdBase","SSlong":"shortstop","LFlong":"leftField","CFlong":"centerField","RFlong":"rightField","DHlong":"designatedHitter","SPlong":"startingPitcher","CPlong":"closer","PHlong":"pinchHitter","PRlong":"pinchRunner","BRlong":"baseRunner","OFlong":"outfield","IFlong":"infield","RPlong":"reliefPitcher","UTlong":"util","UIlong":"utilInfielder","UOlong":"utilOutfielder","RHPlong":"rhPitcher","LHPlong":"lhPitcher","RHSlong":"rhStarted","LHSlong":"lhStarter","LHRlong":"lhReliever","RHRlong":"rhReliever","Blong":"batter","Pshort":"position.pitcher.short","Cshort":"position.catcher.short","1Bshort":"position.1stBase.short","2Bshort":"position.2ndBase.short","3Bshort":"position.3rdBase.short","SSshort":"position.shortstop.short","LFshort":"position.leftField.short","CFshort":"position.centerField.short","RFshort":"position.rightField.short","DHshort":"position.designatedHitter.short","SPshort":"position.startingPitcher.short","CPshort":"position.closer.short","PHshort":"position.pinchHitter.short","PRshort":"position.pinchRunner.short","BRshort":"position.baseRunner.short","OFshort":"position.outfield.short","IFshort":"position.infield.short","RPshort":"position.reliefPitcher.short","UTshort":"position.util.short","UIshort":"position.utilInfielder.short","UOshort":"position.utilOutfielder.short","RHPshort":"position.rhPitcher.short","LHPshort":"position.lhPitcher.short","RHSshort":"position.rhStarted.short","LHSshort":"position.lhStarter.short","LHRshort":"position.lhReliever.short","RHRshort":"position.rhReliever.short","Bshort":"position.batter.short"},"american-football":{"Plong":"punter","PRlong":"puntReturner","LSlong":"longSnapper","Klong":"kicker","Tlong":"tackle","OTlong":"offensiveTackle","OLlong":"offensiveLineman","OGlong":"offensiveGuard","Glong":"amf.guard","Clong":"amf.center","QBlong":"quarterback","RBlong":"runningBack","FBlong":"fullback","TElong":"tightEnd","WRlong":"wideReceiver","SSlong":"strongSafety","SAFlong":"safety","FSlong":"freeSafety","DLlong":"defensiveLineman","DBlong":"defensiveBack","CBlong":"cornerBack","NTlong":"noseTackle","DTlong":"defensiveTackle","DElong":"defensiveEnd","OLBlong":"outsideLinebacker","MLBlong":"middleLinebacker","LBlong":"linebacker","ILBlong":"insideLinebacker","Pshort":"position.punter.short","PRshort":"position.puntReturner.short","LSshort":"position.longSnapper.short","Kshort":"position.kicker.short","Tshort":"position.tackle.short","OTshort":"position.offensiveTackle.short","OLshort":"position.offensiveLineman.short","OGshort":"position.offensiveGuard.short","Gshort":"position.amf.guard.short","Cshort":"position.amf.center.short","QBshort":"position.quarterback.short","RBshort":"position.runningBack.short","FBshort":"position.fullback.short","TEshort":"position.tightEnd.short","WRshort":"position.wideReceiver.short","SSshort":"position.strongSafety.short","SAFshort":"position.safety.short","FSshort":"position.freeSafety.short","DLshort":"position.defensiveLineman.short","DBshort":"position.defensiveBack.short","CBshort":"position.cornerBack.short","NTshort":"position.noseTackle.short","DTshort":"position.defensiveTackle.short","DEshort":"position.defensiveEnd.short","OLBshort":"position.outsideLinebacker.short","MLBshort":"position.middleLinebacker.short","LBshort":"position.linebacker.short","ILBshort":"position.insideLinebacker.short"},"handball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","RWlong":"rightWing","RWshort":"position.rightWinger.short","LWlong":"leftWing","LWshort":"position.leftWinger.short","RBlong":"rightBack","RBshort":"position.rightBack.short","LBlong":"leftBack","LBshort":"position.leftBack.short","CBlong":"handball_position_centre_back","CBshort":"position.centralBack.short","Plong":"pivot","Pshort":"position.pivot.short"},"cricket":{"BMlong":"position.batter","ARlong":"position.all.rounder","WKlong":"position.wicket.keeper","Blong":"position.bowler","BMshort":"position.batter","ARshort":"position.all.rounder","WKshort":"position.wicket.keeper","Bshort":"position.bowler"},"minifootball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","OFshort":"minifootball_outfield_player_short","OFlong":"minifootball_outfield_player","Fshort":"minifootball_outfield_player_short","Flong":"minifootball_outfield_player"},"volleyball":{"OHshort":"volleyball_player_position_outside_hitter_short","MBshort":"volleyball_player_position_middle_blocker_short","Lshort":"volleyball_player_position_libero_short","Oshort":"volleyball_player_position_opposite_short","Sshort":"volleyball_player_position_setter_short","OHlong":"volleyball_player_position_outside_hitter","MBlong":"volleyball_player_position_middle_blocker","Llong":"volleyball_player_position_libero","Olong":"volleyball_player_position_opposite","Slong":"volleyball_player_position_setter"}}');var d=r(27892);let c=e=>{let{id:t,fantasyShort:r,short:c,sport:u,gender:p=n.YT8.Male}=e,h=(0,i.useContext)(l.Ws),x=u||h,m=r&&x===n.QCR.Football?"fantasyShort":c||r?"short":"long",g=(0,d.O)(o,t+m,x,t);return(0,s.jsx)(a.A,{id:g,values:{gender:p}})}},55342:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(6029),n=r(21377),i=r(45860),a=r(48683),l=r(17239);function o(e){let{id:t}=e,{data:r}=(0,i.Ay)(n.dVR.highlights(t));return r&&r.highlights.length?(0,s.jsx)(a.WC,{variant:"inverse-desktop",children:(0,s.jsx)(a.BU,{children:(0,s.jsx)(l.$,{highlights:r.highlights,hideTitle:!0})})}):null}},56566:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,y:()=>d});var s=r(6029),n=r(76356),i=r(55729),a=r(48683),l=r(52951),o=r(24159);let d=(0,n.I4)("div",{base:{"& span":{color:"neutrals.nLv1 !important"},"& ins, & a":{color:"primary.default",textDecoration:"none",_hover:{opacity:.7}},"& h2, & h3, & h4":{textStyle:"display.medium"},"& p":{textStyle:"body.mediumParagraph"}}}),c=function(e){let{player:t}=e,{seoContent:r}=(0,i.useContext)(l.xV);return!t.deceased&&(null==r?void 0:r.about)?(0,s.jsxs)(a.Zp,{children:[(0,s.jsx)(a.Zp.Header,{title:(0,s.jsx)(o.c,{entity:t}),as:"h3"}),(0,s.jsx)(n.az,{px:"lg",pb:"lg",children:(0,s.jsx)(d,{dangerouslySetInnerHTML:{__html:r.about}})})]}):null}},56602:(e,t,r)=>{"use strict";r.d(t,{D:()=>T});var s=r(6029),n=r(87827),i=r(21377),a=r(28349),l=r(62042),o=r(76356),d=r(55729),c=r(947),u=r(90248),p=r(54409),h=r(54053),x=r(26331),m=r(62859),g=r(34851),y=r(19991),f=r(99064),j=r(28446),v=r(41735);let b=e=>(0,v.keyframes)(["from{left:0;}to{left:",";}"],e),_=(0,v.default)(f.az).withConfig({componentId:"sc-12120f08-0"})(["animation:"," 660ms ease-in-out 1;animation-delay:330ms;animation-fill-mode:forwards;"],e=>b(e.ratingPosition)),w=["3.0","6.0","6.5","7.0","8.0","9.0"],k=(0,j.A)().domain([3,6,6.5,7,8,9,10]).range([0,16.66666,33.33333,50,66.66666,83.33333,100]);function S(e){let{rating:t,format:r}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(f.so,{id:"#container",position:"relative",mx:"sm",mb:"xs",children:[w.map((e,t)=>(0,s.jsx)(f.az,{flex:"1 1 1px",br:0===t?"xs 0 0 xs":5===t?"0 xs xs 0":void 0,bg:(0,y.Et)(e),h:"16"},e)),t&&(0,s.jsx)(_,{position:"absolute",top:"-2",ratingPosition:k(+t)+"%",w:"2",h:"20",bg:"neutral.variant"})]}),(0,s.jsx)(f.so,{justify:"space-between",children:[...w,"10"].map(e=>(0,s.jsxs)(f.EY,{color:(0,y.Et)(e),font:"tab.secondary",children:[e,"sideBox"===r&&"10"!==e?"0":""]},e))})]})}var C=r(19673);let A=(0,l.AH)({"& > div > div":{zoom:2.5},"& span":{zoom:2.5}});function T(e){let{type:t,rating:r=10,renderImage:l,children:y}=e,f=(0,c.A)(),[j,v]=(0,d.useState)(!1),{isDesktop:b}=(0,a.$c)(),_=(0,d.useContext)(m.Ws)===i.QCR.Football,w=(0,x.A)(),k=(0,C.y)(w),T="",L="box",R="sofascore_rating",P="";switch(t){case g.J.SpecificRatingPlayer:T="rating_general_text",P=[f.formatMessage({id:"rating_top_stats_general"}),f.formatMessage({id:"rating_top_stats_specific"})].join(" ");break;case g.J.AverageRatingTeam:T="average_team_rating_text",L="sideBox",P=[f.formatMessage({id:"rating_top_teams_general"}),f.formatMessage({id:"rating_top_teams_specific"})].join(" ");break;case g.J.AverageRating:T="average_team_rating_match",L="sideBox",R="average_sofascore_rating";break;case g.J.AverageRatingTeamLineups:T="average_team_rating_text",L="sideBox";break;case g.J.AverageRatingPlayer:T="average_player_rating_text",L="sideBox"}return(0,s.jsxs)(s.Fragment,{children:["function"==typeof y?(0,s.jsx)(s.Fragment,{children:y({isOpen:j,setIsOpen:v})}):null!=y?y:(0,s.jsx)(a.m_,{label:P,strategy:""!==P&&b?"hover":"controlled",isVisible:!1,children:(0,s.jsx)(a.K0,{mx:"xs",variant:"clear",onClick:()=>{v(!0)},children:(0,s.jsx)(p.G_L,{fill:"onSurface.nLv1"})})}),(0,s.jsxs)(h.A,{header:(0,s.jsx)(a.H3,{p:"lg",textStyle:"display.large",children:(0,s.jsx)(u.A,{id:R})}),isOpen:j,setIsOpen:v,footer:(0,s.jsx)(o.so,{justify:"flex-end",m:_?"[0 {spacing.lg} {spacing.lg} {spacing.lg}]":{base:"lg",mdDown:"[0 {spacing.lg} {spacing.lg} {spacing.lg}]"},children:(0,s.jsx)(a.$n,{w:{base:"auto",mdDown:"100%"},onClick:()=>{v(!1)},variant:b?"clear":void 0,children:(0,s.jsx)(u.A,{id:"ok_got_it_button"})})}),children:[(0,s.jsxs)(o.az,{maxW:{md:"[320px]"},px:"lg",mb:_?void 0:{mdDown:"2xl"},children:[T&&(0,s.jsx)(u.A,{id:T,values:{break:e=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("br",{}),(0,s.jsx)("br",{})]})}}),(0,s.jsxs)(o.so,{justify:"center",align:"center",pt:"4xl",pb:"xl",children:[(0,s.jsx)(o.az,{className:"sideBox"===L?A:void 0,children:(0,s.jsx)(n.G,{size:"xl",rating:r,format:L})}),null==l?void 0:l({size:40,ml:"lg"})]}),(0,s.jsx)(S,{rating:r,format:L})]}),_&&(0,s.jsx)(o.az,{px:"lg",py:"4xl",pb:"2xl",children:(0,s.jsxs)(a.Mz,{display:"block",color:"primary.default",textStyle:"display.small",href:k,target:"_blank",onClick:()=>{v(!1)},children:[(0,s.jsx)(u.A,{id:"rating_learn_more_button"}),(0,s.jsx)(p.CCT,{ml:"xs",w:"16",h:"16",fill:"primary.default"})]})})]})]})}T.type=g.J},57760:e=>{e.exports=function(e,t){for(var r,s=-1,n=e.length;++s{"use strict";r.d(t,{d:()=>o});var s=r(6029),n=r(28349),i=r(76356),a=r(90248),l=r(54409);let o=e=>{let{isOpen:t,onClick:r}=e;return(0,s.jsx)(i.so,{align:"center",justify:"center",p:"lg",children:(0,s.jsx)(i.I4.button,{onClick:r,padding:"0",cursor:"pointer",children:(0,s.jsxs)(i.so,{align:"center",children:[(0,s.jsx)(n.EY,{textStyle:"display.small",color:"primary.default",children:(0,s.jsx)(a.A,{id:t?"show_less":"show_more"})}),t?(0,s.jsx)(l.t8v,{fill:"primary.default",ml:"xs"}):(0,s.jsx)(l.QtO,{fill:"primary.default",ml:"xs"})]})})})}},60908:(e,t,r)=>{"use strict";r.d(t,{_:()=>d});var s=r(6029),n=r(21377),i=r(947),a=r(63598),l=r(66062),o=r(32097);let d=e=>{let{page:t}=e,r=(0,o.a)(t,l.d),d=(0,i.A)();return r?(0,s.jsx)(a.Q,{banner:{copy:{action:d.formatMessage({id:"claim_offer"}),description:d.formatMessage({id:"euro_basket_promo_body"}),sectionTitle:d.formatMessage({id:"euro_basket_promo_header"})},type:n.$pL.LogoBanner,background:n.jae.Image,detailImageUrl:{ltr:"/static/images/courtside-1891/logo.png",rtl:"/static/images/courtside-1891/logo.png"},campaignName:l.d.promotionName,url:l.d.url},bgImageUrl:"/static/images/courtside-1891/banner-bg.png",location:t.location}):null}},66062:(e,t,r)=>{"use strict";r.d(t,{MS:()=>a,bx:()=>i,d:()=>l,jI:()=>o});var s=r(4967),n=r(83151);let i=["AL","AD","AT","BY","BE","BA","BG","HR","CY","CZ","DK","EE","FI","FR","GR","VA","HU","IS","IE","IL","IT","XK","LV","LI","LT","LU","MK","MT","MD","MC","ME","NL","NO","PL","PT","RO","RU","SM","RS","SK","SI","ES","SE","CH","TR","UA","GB","DE"],a=285,l={excludedCountries:["DE"],id:n.v.Courtside1891,promotionName:"courtside_1891",url:"https://www.courtside1891.basketball/competitions/eurobasket-2025?utm_source=sofascore&utm_medium=affiliate&utm_campaign=eurobasket2025",start:"2025-08-21 00:00:00",end:"2025-09-15 00:00:00",hasModal:!0,modalCooldown:10*s.d_},o=[l]},69964:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var s=r(6029),n=r(21377),i=r(28349),a=r(76356),l=r(90248),o=r(48683),d=r(69559);function c(){let e=(0,d.o)(),{isDesktop:t}=(0,i.$c)();return(0,s.jsxs)(o.Zp,{children:[(0,s.jsxs)(a.so,{direction:"column",gap:"md",p:"md",borderBottom:{md:"1px solid {colors.neutrals.nLv4}"},children:[e===n.QCR.Football&&t&&(0,s.jsx)(a.az,{h:"4xl",bg:"surface.s2",br:"md"}),(0,s.jsx)(a.az,{h:"2xl",bg:"surface.s2",br:"md"}),(0,s.jsxs)(a.so,{align:"center",gap:"lg",children:[(0,s.jsx)(i.EY,{textStyle:"display.micro",display:"block",children:(0,s.jsx)(l.A,{id:"team"})}),(0,s.jsx)(a.az,{h:"2xl",bg:"surface.s2",br:"md",flexGrow:1})]})]}),(0,s.jsx)(a.az,{h:"[600px]"})]})}},70862:(e,t,r)=>{"use strict";r.d(t,{o:()=>l});var s=r(6029),n=r(90248);let i=JSON.parse('{"out":"injury_status_out","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=r(27892);let l=e=>{let{id:t}=e;return(0,s.jsx)(n.A,{id:(0,a.O)(i,t)})}},72555:(e,t,r)=>{"use strict";r.d(t,{Bg:()=>x,HU:()=>i,Q1:()=>n,Sz:()=>h,TC:()=>p,W6:()=>u,cS:()=>c,eM:()=>a,mc:()=>o,tO:()=>d});let s=[["attacking","saves"],["runsOut","technical","anticipation","runs-out"],["tactical"],["defending","ballDistribution","ball-distribution"],["creativity","aerial"]],n={attacking:"attacking",creativity:"player_ability_creativity",defending:"defending",tactical:"player_ability_tactical",technical:"player_ability_technical",aerial:"player_ability_aerial_reach",anticipation:"player_ability_anticipation",ballDistribution:"player_ability_ball_distribution",saves:"player_ability_saves"},i={saves:"SAV",anticipation:"ANT",tactical:"TAC",ballDistribution:"BAL",aerial:"AER",attacking:"ATT",technical:"TEC",defending:"DEF",creativity:"CRE"},a={AVG:Symbol("AVG"),BASE:Symbol("BASE"),COMPARE:Symbol("COMPARE"),COMPARE_SELF:Symbol("COMPARE_SELF")};function l(e){return Math.PI/180*e}function o(e){let t=[];return s.forEach((r,s)=>{r.forEach(r=>{r in e&&(t[s]={value:e[r],name:r})})}),t}function d(e){return e.map((e,t)=>(function(e,t){let r=-(100*Math.cos(l(72*t)));return[100*Math.sin(l(72*t)),r].map(t=>t*e/100+100)})(Number(e),t))}function c(e){return e.reduce((e,t)=>"".concat(e).concat(t[0],",").concat(t[1]," "),"").trim()}function u(e){return e>=90?"colors.rating.s90":e>=80?"colors.rating.s80":e>=70?"colors.rating.s70":e>=65?"colors.rating.s65":e>=60?"colors.rating.s60":e>=10?"colors.rating.s10":"colors.rating.s00"}function p(e){return e?{playerPentagons:e.playerAttributeOverviews,averagePentagons:e.averageAttributeOverviews}:null}function h(e,t){return e.find(e=>e.yearShift===t)||null}function x(e,t,r,s){let n=[],i=[],{playerPentagons:l,averagePentagons:d}={...e};if(null==l?void 0:l.length){let e=h(l,t?r:0);if(e&&(e.__type=a.BASE),n.push(e?o(e):null),i.push(e),s)i.push(null);else{let e=null,s=null;t?t&&(e=h(t.playerPentagons,r))&&(e.__type=a.COMPARE,s=o(e)):r?(e=h(l,r))&&(e.__type=a.COMPARE_SELF,s=o(e)):(null==d?void 0:d.length)&&((e=d[0]).__type=a.AVG),n.push(s),i.push(e)}i.reverse()}return{attributes:n,pentagonLayers:i}}},73411:(e,t,r)=>{"use strict";r.d(t,{s:()=>p,S:()=>h});var s=r(6029),n=r(28349),i=r(76356),a=r(55729),l=r(90248),o=r(54053),d=r(1300),c=r(61836);let u=e=>{let{children:t,onClick:r}=e;return(0,s.jsx)("a",{href:"https://nba.sjv.io/c/5441787/2176796/16284",target:"_blank",rel:"noopener",onClick:r,children:t})},p=e=>{let{isOpen:t,setIsOpen:r,location:d}=e,{isDesktop:p}=(0,n.$c)(),h={backgroundImage:"url(/static/images/nba-league-pass/modal.png)",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,a.useEffect)(()=>{t&&(0,c.Z1)({type:"bottom_sheet",name:"nba_league_pass",location:d})},[t]),!t)return null;let x=()=>r(!1);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(o.A,{isOpen:t,setIsOpen:r,footer:null,renderAdPlaceholder:!1,sheetStyles:h,modalContentStyles:h,width:360,children:(0,s.jsxs)(i.az,{style:p?h:void 0,br:"lg",children:[(0,s.jsx)(i.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,s.jsx)(i.az,{w:"4xl",h:"4xl",children:(0,s.jsx)(n._V,{src:"/static/images/nba-league-pass/league-pass-logo.svg",h:"4xl",w:"4xl",alt:"NBA"})})}),(0,s.jsxs)(i.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,s.jsxs)(i.so,{direction:"column",gap:"lg",children:[(0,s.jsx)(i.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:(0,s.jsx)(l.A,{id:"league_pass_promo_title"})}),(0,s.jsx)(i.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:(0,s.jsx)(l.A,{id:"league_pass_promo_body_long"})})]}),(0,s.jsxs)(i.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,s.jsx)(n.$n,{children:(0,s.jsx)(u,{onClick:()=>{(0,c.AW)({type:"bottom_sheet",name:"nba_league_pass",location:d}),x()},children:(0,s.jsx)(i.az,{color:"onColor.primary",children:(0,s.jsx)(l.A,{id:"claim_offer"})})})}),(0,s.jsx)(n.$n,{variant:"clear",color:"onColor.primary",onClick:x,children:(0,s.jsx)(l.A,{id:"maybe_later"})})]})]})]})})})},h=e=>{let{utId:t,location:r}=e,{isNBAModalOpen:n,setIsNBAModalOpen:i}=(0,d.z)(t);return n?(0,s.jsx)(p,{isOpen:n,setIsOpen:i,location:r}):null}},73674:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var s=r(6029),n=r(21377),i=r(21501),a=r(99064),l=r(78383),o=r.n(l),d=r(90248),c=r(48683),u=r(54409),p=r(85685),h=r(62827),x=r(83260),m=function(e){return e.HIGHER="UP",e.LOWER="DOWN",e}(m||{});let g=e=>"".concat(e.vote).concat(":").concat(e.proposedMarketValue),y=e=>{let[t,r]=e.split(":");return{proposedMarketValue:Number(r),vote:t}};function f(e){let{currencySign:t,selected:r,inverted:n,voted:i,vote:l}=e;return(0,s.jsxs)(a.so,{bg:"surface.s1",br:"50%",align:"center",justify:"center",w:48,h:48,elevation:2,onClick:()=>{r||i||(l(),(0,h.MZ)((0,s.jsxs)(a.so,{align:"center",children:[(0,s.jsx)(u.G_L,{fill:"onColor.primary",mr:"lg"}),(0,s.jsx)(a.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,s.jsx)(d.A,{id:"thank_you_contribution"})})]}),{autoClose:3e3,closeButton:!1,className:"sofa-toast--info",position:"bottom-center"}))},direction:n?"column-reverse":"column",cursor:i?"default":"pointer",p:6,border:r?"primary.default":void 0,children:[(0,s.jsx)(u.tSt,{fill:n?"error.default":"success.default",style:{transform:"rotate(".concat(180*!!n,"deg)")}}),(0,s.jsx)(a.az,{my:"xs",br:"50%",bg:"neutral.default",h:16,w:16,children:(0,s.jsx)(a.EY,{lineHeight:"16px",font:"assistive.default",color:"surface.s1",align:"center",as:"div",children:t})})]})}function j(e){let{playerId:t,proposedMarketValueRaw:r}=e,i=(0,n.oaz)(r),{canUserVote:l,voteRecord:o,voteHigher:d,voteLower:c,isRehydrated:u}=function(e,t){let[r,s,n]=(0,x.A)("pv_".concat(e),null),i=r?y(r):null,a=(null==i?void 0:i.proposedMarketValue)!==t.value,l=e=>{a&&t&&s(g({vote:e,proposedMarketValue:t.value}))};return{canUserVote:a,voteRecord:i,voteHigher:()=>l("UP"),voteLower:()=>l("DOWN"),isRehydrated:n}}(t,r),p=!!u&&!l&&(null==o?void 0:o.vote)==="DOWN",h=!!u&&!l&&(null==o?void 0:o.vote)==="UP";return(0,s.jsxs)(a.so,{gap:"sm",children:[(0,s.jsx)(f,{vote:d,currencySign:i.currencySign,selected:h,voted:!l}),(0,s.jsx)(f,{vote:c,currencySign:i.currencySign,selected:p,voted:!l,inverted:!0})]})}let v=function(e){let t=(0,i.hX)(),r=(0,n.oaz)(e.proposedMarketValueRaw);return(0,s.jsxs)(c.Zp,{children:[(0,s.jsx)(c.Zp.Header,{titleId:"player.value",visibility:"desktop-only"}),(0,s.jsxs)(a.so,{gap:"sm",align:"center",px:"lg",py:"sm",children:[(0,s.jsxs)(a.so,{gap:"sm",align:"center",justify:"space-between",children:[(0,s.jsxs)(a.az,{children:[(0,s.jsx)(a.EY,{font:"assistive.micro",color:"onSurface.nLv3",mb:"xxs",align:"center",as:"div",textTransform:"uppercase",whiteSpace:"nowrap",children:(0,s.jsx)(d.A,{id:"market_value"})}),(0,s.jsx)(a.EY,{font:"display.medium",color:"sofaSingles.value",align:"center",as:"div",children:(0,s.jsx)(p.o,{parsedMoney:r})})]}),(0,s.jsx)(a.cG,{vertical:!0}),(0,s.jsx)(a.EY,{font:"assistive.default",color:"onSurface.nLv1",children:(0,s.jsx)(d.A,{id:"is_market_value_higher_or_lower"})})]}),t?(0,s.jsxs)(a.so,{gap:"sm",children:[(0,s.jsx)(f,{vote:o(),currencySign:r.currencySign,selected:!1,voted:!1}),(0,s.jsx)(f,{vote:o(),currencySign:r.currencySign,selected:!1,voted:!1,inverted:!0})]}):(0,s.jsx)(j,{...e})]}),(0,s.jsx)(c.Zp.Footer,{defaultHeight:"sm"})]})}},76735:(e,t,r)=>{"use strict";r.d(t,{z:()=>l});var s=r(21377),n=r(45860),i=r(69559),a=r(14196);function l(e){var t;let{player:r,lastYearSummary:l,hasPentagon:o,transfers:d}=e,c=(0,i.o)(),u=a.G.includes(c),{data:p}=(0,n.Ay)(u?null:s.qvj.nationalTeamStatistics(r.id));if(u)return{isEmpty:!(null==d?void 0:d.length),hasLastYearSummary:!1,showPlayerValue:!1};let h=void 0!==l,x=!!(r.team.primaryUniqueTournament&&r.proposedMarketValueRaw);return{isEmpty:!(null==p||null==(t=p.statistics)?void 0:t.length)&&!h&&!x&&!o&&!(null==d?void 0:d.length),hasLastYearSummary:h,showPlayerValue:x}}},77552:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(6029),n=r(55729),i=r(41735);let a=(0,n.forwardRef)((e,t)=>{let{children:r,...a}=e,{colors:l}=(0,n.useContext)(i.ThemeContext);return(0,s.jsxs)("svg",{height:a.height||"100%",width:a.width||"100%",viewBox:"0 0 200 200",strokeWidth:"2",...a,ref:t,children:[(0,s.jsx)("polygon",{fill:a.fill||l.surface.s2,points:"100,0 195.10565162951534,69.09830056250526 158.77852522924732, 180.90169943749473 41.2214747707527,180.90169943749476 4.894348370484636,69.09830056250527"}),r]})})},80734:(e,t,r)=>{"use strict";r.d(t,{n:()=>o});var s=r(6029),n=r(21501),i=r(76356),a=r(55729),l=r(58775);function o(e){let t=1===a.Children.count(e.children),r=(0,n.hX)()&&e.openOnServer,[o,d]=(0,a.useState)(r||!1);return(0,s.jsxs)(i.az,{children:[(0,s.jsx)(i.az,{children:e.children[0]}),(0,s.jsx)(i.az,{display:o?"initial":"none",children:e.children.slice(1)}),!t&&(0,s.jsx)(l.d,{isOpen:o,onClick:()=>d(e=>!e)})]})}},80932:(e,t,r)=>{"use strict";r.d(t,{s:()=>o});var s=r(21377),n=r(55729),i=r(45860),a=r(62859),l=r(72555);function o(e){let t=(0,n.useContext)(a.Ws)===s.QCR.Football,{data:r,isLoading:o,error:d}=(0,i.Ay)(t&&e?s.qvj.pentagon(e):null);return{pentagons:!d&&r?(0,l.TC)(r):null,isPentagonDataLoading:o,isError:d}}},82798:(e,t,r)=>{"use strict";r.d(t,{A:()=>T});var s=r(6029),n=r(21377),i=r(28349),a=r(21501),l=r(76356),o=r(93338),d=r(99064),c=r(55729),u=r(45860),p=r(48683),h=r(75751),x=r(79392),m=r(54917),g=r(90248),y=function(e){return e.strengths="strengths",e.weaknesses="weaknesses",e}(y||{});function f(e){let{characteristics:t,type:r}=e;return t.length?(0,s.jsx)(l.az,{children:t.map(e=>(0,s.jsx)(i.EY,{display:"block",mb:"xs",children:(0,s.jsx)(g.A,{id:e})},e))}):(0,s.jsx)(i.EY,{display:"block",children:(0,s.jsx)(g.A,{id:"strengths"===r?"no_strengths":"no_weaknesses"})})}let j=(0,c.memo)(e=>{let{strengths:t,weaknesses:r}=e;return(0,s.jsxs)(l.so,{minH:"[172px]",direction:"column",justify:"space-between",border:"1",children:[(0,s.jsxs)(l.az,{pb:"xl",children:[(0,s.jsx)(i.EY,{textStyle:"display.small",color:"status.success.default",mb:"sm",display:"block",children:(0,s.jsx)(g.A,{id:"player_strengths"})}),(0,s.jsx)(f,{characteristics:t,type:"strengths"})]}),(0,s.jsxs)(l.az,{pb:"xl",children:[(0,s.jsx)(i.EY,{textStyle:"display.small",color:"status.error.default",mb:"sm",display:"block",children:(0,s.jsx)(g.A,{id:"player_weaknesses"})}),(0,s.jsx)(f,{characteristics:r,type:"weaknesses"})]})]})},function(e,t){return e.player.id===t.player.id}),v={1:"football_anchor_play",2:"football_penalty_taking",3:"directFreeKicks",4:"longShots",5:"football_finishing",6:"passing",7:"football_playmaking",9:"football_tackling",10:"ballInterception",11:"football_consistency",12:"crossing",13:"football_long_balls",14:"football_ball_control",15:"football_ground_duels",16:"football_aerial_duels",17:"errorProneness",18:"football_discipline",19:"penaltySaving",20:"football_reflexes",21:"runsOut",22:"highClaims",23:"football_ball_handling",24:"longShotsSaving",25:"football_positioning",26:"football_high_pressing"},b={[n.dl9.Striker]:"colors.playerPosition.forward",[n.dl9.LeftWinger]:"colors.playerPosition.forward",[n.dl9.RightWinger]:"colors.playerPosition.forward",[n.dl9.AttackingMidfielder]:"colors.playerPosition.midfield",[n.dl9.MidfielderLeft]:"colors.playerPosition.midfield",[n.dl9.MidfielderCenter]:"colors.playerPosition.midfield",[n.dl9.MidfielderRight]:"colors.playerPosition.midfield",[n.dl9.DefensiveMidfielder]:"colors.playerPosition.midfield",[n.dl9.DefenderLeft]:"colors.playerPosition.defender",[n.dl9.DefenderCenter]:"colors.playerPosition.defender",[n.dl9.DefenderRight]:"colors.playerPosition.defender",[n.dl9.Goalkeeper]:"colors.playerPosition.goalkeeper"};var _=r(62042);let w=function(e){let{children:t}=e;return(0,s.jsxs)("svg",{width:"120",height:"180",viewBox:"0 0 120 180",children:[(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,s.jsx)("rect",{className:(0,_.AH)({fill:"graphics.terrain.football"}),width:"120",height:"180",rx:"4"}),(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M4 4h112v86H4z"}),(0,s.jsx)("path",{d:"M72 90c0-6.627-5.373-12-12-12s-12 5.373-12 12M31 4h58v26H31zM50 30c.156.28.322.555.499.82 2.084 3.13 5.562 5.18 9.5 5.18 3.942 0 7.422-2.052 9.505-5.184.176-.264.34-.537.496-.816",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M46 4h28v8H46z"}),(0,s.jsx)("circle",{cx:"1",cy:"1",r:"1",transform:"translate(59 22)",className:(0,_.AH)({fill:"surface.s1"})}),(0,s.jsx)("path",{d:"M4 8a4 4 0 0 0 4-4M112 4a4 4 0 0 0 4 4",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M4 176h112V90H4z"}),(0,s.jsx)("path",{d:"M72 90c0 6.627-5.373 12-12 12s-12-5.373-12-12M31 176h58v-26H31zM50 150c.156-.28.322-.555.499-.82 2.084-3.13 5.562-5.18 9.5-5.18 3.942 0 7.422 2.052 9.505 5.184.176.264.34.537.496.816",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M46 176h28v-8H46z"}),(0,s.jsx)("circle",{cx:"1",cy:"1",r:"1",transform:"matrix(1 0 0 -1 59 158)",className:(0,_.AH)({fill:"surface.s1"})}),(0,s.jsx)("path",{d:"M4 172a4 4 0 0 1 4 4M112 176a4 4 0 0 1 4-4",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"})]})]}),(0,s.jsx)("g",{style:{top:0,left:0,background:"red"},width:"100%",height:"100%",children:t})]})},k={[n.dl9.Goalkeeper]:{x:60,y:164},[n.dl9.DefenderLeft]:{x:25,y:146},[n.dl9.DefenderCenter]:{x:60,y:146},[n.dl9.DefenderRight]:{x:95,y:146},[n.dl9.DefensiveMidfielder]:{x:60,y:118},[n.dl9.MidfielderLeft]:{x:25,y:90},[n.dl9.MidfielderCenter]:{x:60,y:90},[n.dl9.MidfielderRight]:{x:95,y:90},[n.dl9.AttackingMidfielder]:{x:60,y:62},[n.dl9.LeftWinger]:{x:25,y:34},[n.dl9.RightWinger]:{x:95,y:34},[n.dl9.Striker]:{x:60,y:20}};function S(e){let{position:t,attr:r}=e;return(0,s.jsxs)("g",{children:[(0,s.jsx)("circle",{cx:r.x,cy:r.y,r:"12",className:(0,_.AH)({fill:"surface.s1"})}),(0,s.jsx)("text",{className:(0,_.AH)({textStyle:"assistive.default"}),style:{fill:o.S.var(b[t.toLowerCase()])},y:r.y,x:r.x,dy:"4",textAnchor:"middle",children:t.toUpperCase()})]})}let C=function(e){let{positions:t}=e;return(0,s.jsx)(w,{children:t&&t.map(e=>(0,s.jsx)(S,{position:e,attr:k[e.toLowerCase()]},e))})},A=e=>v[e.type];function T(e){let t,{player:r}=e,g=r.team.sport.slug===n.QCR.Football,y=(0,a.hX)(),[f,v]=(0,c.useState)(!1),{data:_,error:w,isLoading:k}=(0,u.Ay)(n.qvj.characteristics(r.id)),S=!_&&!w;if(y||k)return(0,s.jsx)(p.Zp,{children:(0,s.jsx)(l.az,{style:{height:"212px"}})});if(w)return null;let T=!S&&!_||_&&0===_.positions.length||!g,L=r.retired||r.deceased;return L&&T?null:(0,s.jsxs)(h.t,{tag:"CharacteristicsContainer",children:[(0,s.jsxs)(p.Zp,{children:[(0,s.jsx)(p.Zp.Header,{titleId:"player_positions"}),(0,s.jsxs)(l.so,{p:"lg",gap:"sm",align:"center",justify:L?"center":"space-between",children:[!L&&(0,s.jsx)(j,{player:r,weaknesses:_.negative.map(A),strengths:_.positive.map(A)}),!T&&(0,s.jsx)(l.az,{onClick:()=>v(!0),cursor:"pointer",children:(0,s.jsx)(C,{positions:_.positions})})]})]}),(0,s.jsx)(x.A,{isOpen:f,setIsOpen:v,header:"playerPositions",children:Object.keys(b).map((e,a)=>{let u=b[e],p=0!==a&&u!==t;return t=u,(0,s.jsxs)(c.Fragment,{children:[p&&(0,s.jsx)(d.cG,{my:"md"}),(0,s.jsxs)(l.so,{mb:"sm",justify:"space-between",px:"md",children:[(0,s.jsx)(i.EY,{fontWeight:"bold",style:{color:o.S.var(b[e])},children:e.toUpperCase()}),(0,s.jsx)(i.EY,{color:"neutrals.nLv2",textStyle:"body.medium",children:(0,s.jsx)(m.F,{id:e.toUpperCase(),sport:n.QCR.Football,gender:r.team.gender})})]})]},e)})})]})}},83151:(e,t,r)=>{"use strict";r.d(t,{v:()=>s});var s=function(e){return e[e.Courtside1891=1]="Courtside1891",e}({})},89606:(e,t,r)=>{"use strict";r.d(t,{v:()=>d,y:()=>o});var s=r(4967),n=r(21501),i=r(494),a=r(10794);let l=(e,t)=>t?!(e.excludedCountries&&e.excludedCountries.includes(t))&&(void 0===e.includedCountries||e.includedCountries.includes(t)):void 0===e.includedCountries&&void 0===e.excludedCountries,o=(e,t,r)=>{let n=new Date().getTime(),i=new Date(e.start).getTime(),a=new Date(e.end).getTime();return!t&&l(e,r)&&(0,s._M)(n,i,a)},d=e=>o(e,(0,n.hX)(),(0,i.d4)(a.LQ))},90536:(e,t,r)=>{"use strict";r.d(t,{AG:()=>a,Et:()=>u,aQ:()=>c,mR:()=>o,o5:()=>d});var s=r(21377),n=r(13731),i=r.n(n);let a=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===s.XFZ.Event);return i()(t,e=>l(new Date(1e3*e.timestamp)))}function d(){let e={},t=new Date;for(let r=0;r<12;r++)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()]}function u(e){return"colors.rating".concat(e.replace("scoreRating",""))}},91407:(e,t,r)=>{"use strict";r.d(t,{t:()=>l});var s=r(64082),n=r(6029),i=r(21377),a=r(99064);let l=e=>{var{id:t,name:r,size:l=56,style:o,className:d,grayscale:c,isFantasy:u,placeholder:p="/static/images/placeholders/player.svg"}=e,h=(0,s.T)(e,["id","name","size","style","className","grayscale","isFantasy","placeholder"]);let x=h.w||h.width||l,m=h.h||h.height||l;return(0,n.jsx)(a._V,Object.assign({fallback:(0,n.jsx)(a._V,{style:{borderRadius:"50%"},w:x,h:m,src:p,alt:r}),src:t?i.qvj.image(t,u):"",alt:r,w:x,h:m,br:"50%",border:"onSurface.nLv4",style:o,className:d,isGrayscale:c},h))}},91811:(e,t,r)=>{"use strict";r.d(t,{T:()=>i,n:()=>n});var s=r(21377);function n(e){return e.fullName?e.fullName.split(",").reverse().map(e=>e.trim()).join(" "):e.name}function i(e,t){return e.slug===s.QCR.Football?t.players.length>10:t.players.length>4}},93024:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(6029),n=r(28349),i=r(76356),a=r(93338),l=r(99064),o=r(41735),d=r(72555);let c=(0,o.default)(l.az).withConfig({componentId:"sc-c4ed9fbb-0"})([".attacking,.saves{top:0;left:48px;transform:translate(10px,-100%);padding-bottom:",";}.creativity,.aerial{top:34%;left:0;transform:translate(-100%,-50%);}.runsOut,.technical,.anticipation,.runs-out{top:34.5%;right:0;transform:translate(100%,-50%);}.defending,.ballDistribution,.ball.distribution{bottom:-8px;right:80%;transform:translate(10px,0);}.tactical{bottom:-8px;left:80%;transform:translate(-10px,0);}.runsOut,.technical,.anticipation,.runs-out,.tactical{flex-direction:"," !important;> *{margin-left:0;&:first-child{margin-right:0;}}}.defending,.ballDistribution,.ball.distribution{@media screen and (max-width:335px){transform:translate(10px,3px);}}.tactical{@media screen and (max-width:335px){transform:translate(-10px,3px);}}"],e=>e.theme.spacing.xs,e=>e.isRTL?"row":"row-reverse"),u=e=>{let{value:t,isAnotherPlayerCompare:r,main:l,isComparing:o}=e;return(0,s.jsx)(i.az,{w:"[20px]",h:"[20px]",br:"xs",style:{background:r?a.S.var("colors.surface.s2"):o?l?a.S.var("colors.secondary.default"):a.S.var("colors.neutral.default"):a.S.var((0,d.W6)(t))},children:(0,s.jsx)(n.EY,{lineHeight:"20px",textStyle:"table.small",color:r?l?"secondary.default":"primary.default":"surface.s1",display:"block",textAlign:"center",children:t})})},p=function(e){let{data:t,isAnotherPlayerCompare:r,children:a}=e,[l,p]=t,{settings:h}=(0,o.useTheme)(),x="rtl"===h.textDirection;return l?(0,s.jsx)(i.az,{maxW:"[360px]",w:"fit",style:{paddingTop:28},mx:"auto",mb:"sm",children:(0,s.jsxs)(c,{position:"relative",style:{margin:"0 ".concat(86,"px")},isRTL:x,children:[a,l.map((e,t)=>(0,s.jsxs)(i.so,{direction:{_ltr:"row",_rtl:"row-reverse"},position:"absolute",className:e.name,gap:"xs",children:[(0,s.jsx)(n.EY,{lineHeight:"".concat(20,"px"),textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",children:d.HU[e.name]}),(0,s.jsxs)(i.so,{gap:"xs",children:[(0,s.jsx)(u,{isAnotherPlayerCompare:r,value:e.value,isComparing:!!(p&&p[t]),main:!0}),p&&p[t]&&(0,s.jsx)(u,{isAnotherPlayerCompare:r,value:p[t].value,isComparing:!0})]})]},e.name))]})}):null}},94446:(e,t,r)=>{"use strict";r.d(t,{p:()=>n.p,t:()=>s.t});var s=r(91407),n=r(91603)},97944:(e,t,r)=>{"use strict";r.d(t,{S:()=>s.A});var s=r(73463)}},e=>{var t=t=>e(e.s=t);e.O(0,[14092,19888,56591,10395,14632,58621,84977,50346,60988,857,19907,39462,31254,74224,77536,57632,6675,64489,90636,46593,38792],()=>t(50284)),_N_E=e.O()}]);