!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]="dfcc4b26-788b-46a4-8b20-720d80276c5e",e._sentryDebugIdIdentifier="sentry-dbid-dfcc4b26-788b-46a4-8b20-720d80276c5e")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[48478],{1217:(e,t,a)=>{function n(e){return["up","down"].includes(e)}function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ltr";switch(e){case"left":return"ltr"===t?"rotate(180deg)":void 0;case"right":return"ltr"===t?void 0:"rotate(180deg)";case"down":return"rotate(90deg)";case"up":return"rotate(-90deg)";default:return}}function i(e,t){if(t&&t.height&&t.width)return n(e)?t.width:t.height}function o(e,t){if(t&&t.height&&t.width)return n(e)?t.height:t.width}function s(e){return n(e)?{left:"-30%",top:"18.8%"}:{left:0,top:0}}a.d(t,{AK:()=>s,DY:()=>o,EC:()=>r,G$:()=>i,O8:()=>c,fk:()=>n});let c=e=>e.length>5},4696:(e,t,a)=>{a.d(t,{M:()=>n});var n=function(e){return e.All="all",e.Total="total",e.PerGame="perGame",e}({})},10383:(e,t,a)=>{a.d(t,{R:()=>o,h:()=>c});var n=a(4696),r=a(98516);let i=(e,t)=>{let a=e[t.key],n="";if(t.totalKey){let i=e[t.totalKey];n=i?" (".concat((0,r.M)(100*a/i),"%)"):" (0%)"}else if(t.percentageKey){let a=e[t.percentageKey];n=" (".concat(a?(0,r.M)(a):0,"%)")}else if(t.reverseKey){let i=e[t.reverseKey];n=" (".concat((0,r.M)(100*a/(a+i)),"%)")}return n},o=(e,t,a)=>{var o,s,c;let l="number"==typeof t.decimals?t.decimals:1,d=e[t.key];if("attackPointsPercentage"===t.key){if(isNaN(e.attackPoints)||isNaN(e.attacksTotal))return;return"".concat((0,r.M)(e.attackPoints/e.attacksTotal*100,1))}if(void 0!==d||"winRatio"===t.key){if(a===n.M.Total&&t.displayType&&t.displayType.length>0)return(null==(c=t.displayType)?void 0:c.includes(n.M.Total))?d:void 0;if(a!==n.M.PerGame||(null==(o=t.displayType)?void 0:o.includes(n.M.PerGame))){if(t.perGame||(null==(s=t.displayType)?void 0:s.includes(n.M.PerGame))){if(void 0===e.appearances)return;if("appearances"===t.key)return d;let a=i(e,t),n=d/e.appearances,o=n&&n<.1?2:l;return"".concat((0,r.M)(n,o)).concat(a)}if(t.percentageKey){let a=e[t.percentageKey]?(0,r.M)(e[t.percentageKey],l):0,n="number"==typeof t.decimals?(0,r.M)(d,l):d;return t.showValue?"".concat(n," (").concat(a,"%)"):"".concat(a,"%")}if(t.totalKey){let a=e[t.totalKey],n=t.showPercentage?i(e,t):"";return a?"".concat(d,"/").concat(a," ").concat(n):"".concat(d," ").concat(n)}if("kilometersCovered"===t.key)return"".concat((0,r.M)(d/e.minutesPlayed*90,l)," km");if("numberOfSprints"===t.key)return"".concat((0,r.M)(d/e.minutesPlayed*90,l));if("topSpeed"===t.key)return"".concat((0,r.M)(d,l)," km/h");if("firstServePercentage"===t.key){if(isNaN(e.firstServeTotal)||isNaN(e.firstServePointsTotal))return;if(0===e.firstServeTotal)return"0%";let t=e.firstServePointsTotal/e.firstServeTotal*100;return"".concat(Math.round(10*t)/10,"%")}if("winRatio"===t.key){if(isNaN(e.wins)||isNaN(e.matches))return;let t=Math.round(e.wins/e.matches*100);return"".concat(e.wins,"/").concat(e.matches," (").concat(Math.round(10*t)/10,"%)")}if("tournamentsWonRatio"===t.key){if(isNaN(e.tournamentsWon)||isNaN(e.tournamentsPlayed))return;return"".concat(e.tournamentsWon,"/").concat(e.tournamentsPlayed," (").concat(Math.round(10*d)/10,"%)")}if("firstServePointsWonPercentage"===t.key){if(isNaN(e.firstServePointsScored)||isNaN(e.firstServePointsTotal))return;if(0===e.firstServePointsTotal)return"0%";let t=e.firstServePointsScored/e.firstServePointsTotal*100;return"".concat(Math.round(10*t)/10,"%")}if("secondServePercentage"===t.key){if(isNaN(e.secondServeTotal)||isNaN(e.secondServePointsTotal))return;if(0===e.secondServeTotal)return"0%";let t=e.secondServePointsTotal/e.secondServeTotal*100;return"".concat(Math.round(10*t)/10,"%")}if("secondServePointsWonPercentage"===t.key){if(isNaN(e.secondServePointsScored)||isNaN(e.secondServePointsTotal))return;if(0===e.secondServePointsTotal)return"0%";let t=e.secondServePointsScored/e.secondServeTotal*100;return"".concat(Math.round(10*t)/10,"%")}if("avgAces"===t.key){if(isNaN(e.aces)||isNaN(e.matches))return;if(0===e.matches)return"0%";let t=e.aces/e.matches;return"".concat(Math.round(10*t)/10)}if("avgDoubleFaults"===t.key){if(isNaN(e.doubleFaults)||isNaN(e.matches))return;if(0===e.matches)return"0%";let t=e.doubleFaults/e.matches;return"".concat(Math.round(10*t)/10)}if("breakPointsSavedPercentage"===t.key){if(isNaN(e.opponentBreakPointsTotal)||isNaN(e.opponentBreakPointsScored))return;let t=e.opponentBreakPointsTotal-e.opponentBreakPointsScored,a=Math.round(10*e.breakPointsSavedPercentage)/10;return"".concat(t,"/").concat(e.opponentBreakPointsTotal," (").concat(a,"%)")}if("breakPointsSavedConvertedPercentage"===t.key){if(isNaN(e.breakPointsTotal)||isNaN(e.breakPointsScored))return;let t=Math.round(10*e.breakPointsSavedConvertedPercentage)/10;return"".concat(e.breakPointsScored,"/").concat(e.breakPointsTotal," (").concat(t,"%)")}if("tiebreakWinPercentage"===t.key){if(isNaN(e.tiebreaksWon)||isNaN(e.tiebreakLosses)||isNaN(e.tiebreakWinPercentage))return;let t=e.tiebreaksWon+e.tiebreakLosses;return t>0?"".concat(e.tiebreaksWon,"/").concat(t," (").concat(Math.round(10*e.tiebreakWinPercentage)/10,"%)"):"".concat(e.tiebreaksWon,"/").concat(t)}if("number"==typeof t.decimals)return["savePercentage","powerPlaySavePercentage","shortHandedSavePercentage","evenSavePercentage"].includes(t.key)?1===d?"1.00":".".concat((0,r.M)(d,l).slice(2)):"".concat((0,r.M)(d,l)).concat(t.sufix||"");return"".concat(d," ").concat(t.sufix||"")}}};function s(e){let t=Math.round(e),a=Math.floor(t/60),n=Math.floor(t%60).toString().padStart(2,"0");return"".concat(a,":").concat(n)}let c=e=>{let t={...e};return e.secondsPlayed&&(t.minutesPlayed=e.secondsPlayed/60),e.timeOnIce&&(t.timeOnIce=s(e.timeOnIce/e.appearances)),e.powerPlayTimeOnIce&&(t.powerPlayTimeOnIce=s(e.powerPlayTimeOnIce/e.appearances)),e.evenTimeOnIce&&(t.evenTimeOnIce=s(e.evenTimeOnIce/e.appearances)),e.shortHandedTimeOnIce&&(t.shortHandedTimeOnIce=s(e.shortHandedTimeOnIce/e.appearances)),t}},25811:(e,t,a)=>{a.d(t,{n:()=>l});var n=a(6029),r=a(28349),i=a(62042),o=a(76356),s=a(99064),c=a(90248);function l(e){let{activeTabKey:t,onChange:a,tabs:l,variant:d,children:u,onTabClick:h,fullWidthTabs:f=!1}=e,p="secondary"===d;return(0,n.jsxs)(s.tU,{variant:"quaternary",value:t,onChange:a,children:[(0,n.jsx)(r.tR,{children:(0,n.jsx)(o.so,{gap:p?"xs":"sm",bg:p?"surface.s2":void 0,br:"lg",h:"[34px]",p:"2xs",className:p?(0,i.AH)({"--surface-s2":"transparent"}):void 0,w:f?"100%":"fit",mx:p?"auto":void 0,mb:f?"sm":void 0,children:l.map(e=>(0,n.jsx)(s.tU.Tab,{tabKey:e.tabKey,bg:e.tabKey===t?"neutrals.nLv1":void 0,display:"flex",h:"100%",px:"0",py:"0",br:"lg",ml:"0 !important",mr:"0 !important",onClick:()=>null==h?void 0:h(e.tabKey),w:f?"100%":void 0,children:e.isImage?(0,n.jsx)(o.az,{px:"lg",h:"xl",alignSelf:"center",children:e.tabValue}):(0,n.jsx)(r.EY,{display:"block",px:"tertiary"===d?"md":"lg",textStyle:p?"tab.secondary":"assistive.default",color:e.tabKey===t?"surface.s1":"neutrals.nLv1",textTransform:p?"uppercase":void 0,alignSelf:"center",children:"string"==typeof e.tabValue?(0,n.jsx)(c.A,{id:e.tabValue}):e.tabValue})},e.tabKey))})}),u]})}},33698:(e,t,a)=>{a.d(t,{L:()=>n.L});var n=a(12232)},36326:(e,t,a)=>{a.d(t,{FV:()=>r,L3:()=>n,R3:()=>l,TH:()=>i,b6:()=>s,ie:()=>o,pu:()=>c});let n=void 0,r=-1,i="all";var o=function(e){return e[e.AllClubCompetitions=0]="AllClubCompetitions",e[e.DomesticLeagues=1]="DomesticLeagues",e[e.DomesticCups=2]="DomesticCups",e[e.InternationalCompetitions=3]="InternationalCompetitions",e[e.NationalTeamCompetitions=4]="NationalTeamCompetitions",e}({});let s=[{id:0,name:"football_all_club_competitions"},{id:1,name:"football_domestic_leagues"},{id:2,name:"football_domestic_cups"},{id:3,name:"football_international_competitions"},{id:4,name:"football_national_competitions"}],c=[{id:"overall",name:"total"},{id:"home",name:"home"},{id:"away",name:"away"}],l={id:-1,name:"all_teams"}},46170:(e,t,a)=>{a.d(t,{GP:()=>g,_S:()=>p,Bt:()=>v,XL:()=>m});var n=a(6029),r=a(21501),i=a(99064),o=a(55729),s=a(41735);let c=149/238,l=238/149,d=()=>{let{colors:e}=(0,s.useTheme)();return(0,n.jsx)("svg",{viewBox:"0 0 238 149",children:(0,n.jsxs)("g",{fill:e.surface.s1,fillRule:"evenodd",children:[(0,n.jsx)("ellipse",{fillRule:"nonzero",cx:"28.175",cy:"74.5",rx:"1.75",ry:"1.753"}),(0,n.jsx)("ellipse",{fillRule:"nonzero",cx:"209.825",cy:"74.5",rx:"1.75",ry:"1.753"}),(0,n.jsx)("path",{d:"M0 0v149h238V0H0zm119.656 76.121a1.72 1.72 0 0 0 1.094-1.621 1.72 1.72 0 0 0-1.094-1.621V57.628c8.969.35 16.188 7.757 16.188 16.872 0 9.071-7.219 16.521-16.188 16.872v-15.25zM1.312 1.315h3.632a4.577 4.577 0 0 1-3.631 3.637V1.315zm0 54.56h12.032v37.25H1.313v-37.25zm0 38.565h13.344V54.56H1.312V32.65h40.032v83.659H1.312V94.44zm0 53.245v-3.637a4.577 4.577 0 0 1 3.632 3.637H1.313zM118.344 72.88a1.72 1.72 0 0 0-1.094 1.621 1.72 1.72 0 0 0 1.094 1.621v15.251c-8.969-.35-16.188-7.757-16.188-16.872 0-9.071 7.219-16.521 16.188-16.872v15.25zm0-16.566c-9.713.35-17.5 8.37-17.5 18.187 0 9.816 7.787 17.836 17.5 18.187v54.998H6.256c-.394-2.541-2.406-4.601-4.944-4.952v-25.067h41.344V86.157c4.244-2.542 6.825-6.968 6.825-11.657 0-4.69-2.581-9.115-6.825-11.657v-31.51H1.313V6.268c2.537-.35 4.593-2.41 4.943-4.952h112.088v54.998zM42.656 84.58V64.421c3.456 2.366 5.513 6.091 5.513 10.079 0 3.988-2.1 7.713-5.513 10.08zm194.031 63.106h-3.63a4.577 4.577 0 0 1 3.63-3.637v3.637zm0-54.56h-12.03v-37.25h12.03v37.25zm0-38.565h-13.343v39.88h13.344v21.911h-40.032V32.65h40.031V54.56zm0-23.226h-41.343v31.509c-4.244 2.542-6.825 6.968-6.825 11.657 0 4.69 2.581 9.115 6.825 11.657v31.51h41.344v25.066c-2.538.395-4.594 2.41-4.944 4.952H119.656V92.687c9.713-.35 17.5-8.37 17.5-18.187 0-9.816-7.787-17.836-17.5-18.187V1.315h112.088c.393 2.541 2.406 4.601 4.944 4.952v25.067zM195.344 64.42v20.158c-3.457-2.366-5.513-6.091-5.513-10.079 0-3.988 2.056-7.713 5.513-10.08zm41.344-59.469a4.577 4.577 0 0 1-3.632-3.637h3.631v3.637z"})]})})},u=(0,s.default)(i.az).withConfig({componentId:"sc-80087852-0"})(["position:absolute;> svg{position:absolute;top:0;left:0;}> *{width:100%;height:100%;}canvas{width:100%;height:100%;padding:0.5px;}"]);var h=a(1217),f=a(5961);let p=e=>{var t,a;let{dataPoints:p,numberOfMatches:v,containerId:m,direction:g="right"}=e,y=(0,s.useTheme)(),b=(0,o.useRef)(null),x=(0,r.uc)(b,{},100)||0,w={containerId:m,numberOfMatches:v,width:x,height:x*c},k=p&&(0,h.O8)(p)&&!!w.width;return(0,o.useEffect)(()=>{k&&(0,f.IJ)(p,w,y)},[m,p,w.width,y]),(0,n.jsx)("div",{style:{width:"100%"},children:(0,n.jsx)(i.az,{ref:b,w:"100%",position:"relative",pb:(0,h.fk)(g)?"".concat(100*l,"%"):"".concat(100*c,"%"),children:(0,n.jsxs)(u,{style:{transform:(0,h.EC)(g,y.settings.textDirection)},h:(0,h.G$)(g,null==(t=b.current)?void 0:t.getBoundingClientRect()),w:(0,h.DY)(g,null==(a=b.current)?void 0:a.getBoundingClientRect()),...(0,h.AK)(g),children:[k&&(0,n.jsx)("div",{id:m}),(0,n.jsx)(d,{})]})})})},v=e=>{let{direction:t="right",fill:a,style:r}=e,{colors:i,settings:o}=(0,s.useTheme)();return(0,n.jsx)("svg",{width:"66",height:"20",viewBox:"0 0 66 20",xmlns:"http://www.w3.org/2000/svg",style:{transform:(0,h.EC)(t,o.textDirection),...r},children:(0,n.jsx)("g",{fill:a||i.surface.s1,fillRule:"evenodd",children:(0,n.jsx)("path",{d:"m66 9.845-14.4 9.6V.245zM0 7.445h51.6v4.8H0z"})})})},m=e=>{let{direction:t="up"}=e,{colors:a}=(0,s.useTheme)();return(0,n.jsx)("svg",{width:"16",height:"56",viewBox:"0 0 16 56",xmlns:"http://www.w3.org/2000/svg",style:{transform:"down"===t?"rotate(180deg)":void 0},children:(0,n.jsx)("g",{fill:a.surface.s1,fillRule:"evenodd",children:(0,n.jsx)("path",{d:"m8 0 8 12H0zM6 12h4v44H6z"})})})},g=e=>{let{direction:t="right",arrowAfterHeatmap:a=!1,...r}=e;return(0,h.fk)(t)?(0,n.jsxs)(i.so,{bg:"graphicsTerrain.football",align:"center",py:"md",br:"sm",w:"100%",pl:a?"md":void 0,pr:a?void 0:"md",direction:a?"row-reverse":"row",children:[(0,n.jsx)(i.so,{w:"20%",justify:"center",children:(0,n.jsx)(m,{direction:t})}),(0,n.jsx)(i.az,{w:"80%",children:(0,n.jsx)(p,{...r,direction:t})})]}):(0,n.jsx)(i.so,{bg:"graphicsTerrain.football",justify:"center",pt:"md",pb:"xl",px:"sm",br:"lg",w:"100%",children:(0,n.jsxs)(i.so,{direction:"column",align:"center",gap:"md",maxW:280,w:"100%",children:[(0,n.jsx)(v,{direction:t}),(0,n.jsx)(p,{...r,direction:t})]})})}},58926:(e,t,a)=>{a.d(t,{A:()=>o,z:()=>i});var n=a(6029),r=a(99064);let i=(0,a(41735).default)(r.az).withConfig({componentId:"sc-92f418f5-0"})(["width:","px;height:","px;background-color:",";"],e=>e.width,e=>e.height,e=>e.alpha?e.theme.setAlpha(e.theme.colors.primary.default,e.alpha):e.theme.colors.neutral.default);function o(e){let{totalHeight:t=144,boxWidth:a=12}=e;return(0,n.jsxs)(r.az,{bg:"graphicsTerrain.dark",children:[(0,n.jsx)(i,{height:16/144*t,width:a,alpha:1}),(0,n.jsx)(i,{height:20/144*t,width:a,alpha:.8}),(0,n.jsx)(i,{height:.25*t,width:a,alpha:.6}),(0,n.jsx)(i,{height:.25*t,width:a,alpha:.4}),(0,n.jsx)(i,{height:20/144*t,width:a,alpha:.2}),(0,n.jsx)(i,{height:16/144*t,width:a,alpha:.1})]})}},59721:(e,t,a)=>{a.d(t,{e:()=>n.e});var n=a(33480)},83351:(e,t,a)=>{a.d(t,{U:()=>d,k:()=>u});var n=a(6029),r=a(33698),i=a(21377),o=a(76356),s=a(55729),c=a(62859),l=a(25811);let d=()=>{let[e,t]=(0,s.useState)(r.L.Total);return{selectedType:e,setSelectedType:t,getNextType:e=>{switch(e){case r.L.Total:return r.L.Missed;case r.L.Missed:return r.L.Made;case r.L.Made:default:return r.L.Total}}}},u=e=>{let{selectedType:t,setSelectedType:a}=e,d=(0,s.useContext)(c.Ws),u=[{tabKey:r.L.Made,tabValue:d===i.QCR.Basketball?"player.shootmap.made":"goals"},{tabKey:r.L.Total,tabValue:"player.shootmap.total"},{tabKey:r.L.Missed,tabValue:"player.shootmap.missed"}];return(0,n.jsx)(o.az,{pb:"lg",children:(0,n.jsx)(l.n,{activeTabKey:t,onChange:e=>a(e),tabs:u,variant:"secondary"})})}},90395:(e,t,a)=>{a.d(t,{O:()=>n.A,b:()=>r});var n=a(59731),r=a(29914)}}]);