!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="94034b90-2d44-4f74-909b-a39e2e891b6c",e._sentryDebugIdIdentifier="sentry-dbid-94034b90-2d44-4f74-909b-a39e2e891b6c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2905],{7322:(e,s,t)=>{t.d(s,{D:()=>M});var o=t(6029),a=t(87827),n=t(21377),r=t(95083),i=t(62042),l=t(76356),c=t(55729),d=t(90248),g=t(54409),p=t(54053),f=t(26331),h=t(62859),u=t(34851),_=t(10387),b=t(41249),m=t(28446),k=t(41735);let v=e=>(0,k.keyframes)(["from{left:0;}to{left:",";}"],e),y=(0,k.default)(b.az).withConfig({componentId:"sc-12120f08-0"})(["animation:"," 660ms ease-in-out 1;animation-delay:330ms;animation-fill-mode:forwards;"],e=>v(e.ratingPosition)),P=["3.0","6.0","6.5","7.0","8.0","9.0"],R=(0,m.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:s,format:t}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(b.so,{id:"#container",position:"relative",mx:"sm",mb:"xs",children:[P.map((e,s)=>(0,o.jsx)(b.az,{flex:"1 1 1px",br:0===s?"xs 0 0 xs":5===s?"0 xs xs 0":void 0,bg:(0,_.E)(e),h:"16"},e)),s&&(0,o.jsx)(y,{position:"absolute",top:"-2",ratingPosition:R(+s)+"%",w:"2",h:"20",bg:"neutral.variant"})]}),(0,o.jsx)(b.so,{justify:"space-between",children:[...P,"10"].map(e=>(0,o.jsxs)(b.EY,{color:(0,_.E)(e),font:"tab.secondary",children:[e,"sideBox"===t&&"10"!==e?"0":""]},e))})]})}var w=t(19673);let x=(0,i.AH)({"& > div > div":{zoom:2.5},"& span":{zoom:2.5}});function M(e){let{type:s,rating:t=10,renderImage:i,children:_}=e,[b,m]=(0,c.useState)(!1),{isDesktop:k}=(0,r.$c)(),v=(0,c.useContext)(h.Ws)===n.QCR.Football,y=(0,f.A)(),P=(0,w.y)(y),R="",M="box",F="sofascore_rating";switch(s){case u.J.SpecificRatingPlayer:R="rating_general_text";break;case u.J.AverageRatingTeam:R="average_team_rating_text",M="sideBox";break;case u.J.AverageRating:R="average_team_rating_match",M="sideBox",F="average_sofascore_rating";break;case u.J.AverageRatingTeamLineups:R="average_team_rating_text",M="sideBox";break;case u.J.AverageRatingPlayer:R="average_player_rating_text",M="sideBox"}return(0,o.jsxs)(o.Fragment,{children:["function"==typeof _?(0,o.jsx)(o.Fragment,{children:_({isOpen:b,setIsOpen:m})}):null!=_?_:(0,o.jsx)(r.K0,{variant:"clear",onClick:()=>{m(!0)},children:(0,o.jsx)(g.G_L,{fill:"primary.default",w:"16",h:"16"})}),(0,o.jsxs)(p.A,{header:(0,o.jsx)(r.H3,{"data-testid":"rating-modal-title",p:"lg",textStyle:"display.large",children:(0,o.jsx)(d.A,{id:F})}),isOpen:b,setIsOpen:m,footer:(0,o.jsx)(l.so,{justify:"flex-end",m:v?"[0 {spacing.lg} {spacing.lg} {spacing.lg}]":{base:"lg",mdDown:"[0 {spacing.lg} {spacing.lg} {spacing.lg}]"},children:(0,o.jsx)(r.$n,{w:{base:"auto",mdDown:"100%"},onClick:()=>{m(!1)},variant:k?"clear":void 0,children:(0,o.jsx)(d.A,{id:"ok_got_it_button"})})}),children:[(0,o.jsxs)(l.az,{"data-testid":R,maxW:{md:"[320px]"},px:"lg",mb:v?void 0:{mdDown:"2xl"},children:[R&&(0,o.jsx)(d.A,{id:R,values:{break:e=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("br",{}),(0,o.jsx)("br",{})]})}}),(0,o.jsxs)(l.so,{justify:"center",align:"center",pt:"4xl",pb:"xl",children:[(0,o.jsx)(l.az,{"data-testid":"rating-modal-rating",className:"sideBox"===M?x:void 0,children:(0,o.jsx)(a.G,{size:"xl",rating:t,format:M})}),null==i?void 0:i({size:40,ml:"lg"})]}),(0,o.jsx)(S,{rating:t,format:M})]}),v&&(0,o.jsx)(l.az,{px:"lg",py:"4xl",pb:"2xl",children:(0,o.jsxs)(r.Mz,{display:"block",color:"primary.default",textStyle:"display.small",href:P,target:"_blank",onClick:()=>{m(!1)},children:[(0,o.jsx)(d.A,{id:"rating_learn_more_button"}),(0,o.jsx)(g.CCT,{ml:"xs",w:"16",h:"16",fill:"primary.default"})]})})]})]})}M.type=u.J},10387:(e,s,t)=>{t.d(s,{E:()=>o.Et});var o=t(19991)},16533:e=>{e.exports=JSON.parse('{"football":{"accurateChippedPasses":"accChippedPasses","accurateCrosses":"accCrosses","accurateLongBalls":"accLongPasses","accurateOppositionHalfPasses":"accPassesOppositionHalf","accurateOwnHalfPasses":"accPassesOwnHalf","accuratePasses":"accuratePerGame","appearances":"matchesTotal","cleanSheet":"cleanSheets","clearances":"football_clearances_per_game","dispossessed":"football_dispossessed","dribbledPast":"dribbledPastPerGame","errorLeadToGoal":"errors_leading_to_goal","errorLeadToShot":"errors_lead_to_shot","keyPasses":"football_key_passes_per_game","touches":"football_touches_per_game","freeKickGoal":"football_free_kick_goals","goalConversionPercentage":"goalConversion","goalsConcededInsideTheBox":"goalsConcededInsideBox","goalsConcededOutsideTheBox":"goalsConcededOutsideBox","interceptions":"interceptions_per_game","minutesPlayed":"minutesPerGame","penaltySave":"penaltiesSaved","possessionWonAttThird":"possessionWon","savedShotsFromInsideTheBox":"football_saves_inside_box","savedShotsFromOutsideTheBox":"savesFromOutsideBox","saves":"savesMade","scoringFrequency":"goalsFrequency","setPieceConversion":"freeKickConversion","successfulDribbles":"succDribbles","successfulRunsOut":"succRunsOutPerGame","tackles":"football_tackles_per_game","totalShots":"shotsPerGame","yellowCards":"yellow","yellowRedCards":"yellowRed","redCards":"red_cards","offsides":"football_offsides"},"basketball":{"appearances":"gamesPlayed","benchPoints":"basketball_points_off_the_bench","defensiveRebounds":"defensive","effectiveFieldGoalPercentage":"basketball_effective_field_goal_pct","fastbreakMade":"basketball_fast_break_points","fieldGoalsMade":"fieldGoals","fieldGoalsPercentageAgainst":"basketball_opponent_field_goals_pct","flagrantFouls":"basketball_flagrant_fouls","freeThrowAttempts":"basketball_free_throws_attempted","freeThrowsMade":"freeThrows","minutesPlayed":"minutes_played","offensiveFoulsAgainst":"basketball_charges_drawn","offensiveRebounds":"offensive","personalFoulsAgainst":"basketball_fouls_drawn","pir":"pirStat","pointsInPaint":"basketball_points_in_paint","technicalFouls":"basketball_technical_fouls","threePointAttempts":"basketball_three_points_attempted","threePointsMade":"threePointers","trueShootingPercentage":"basketball_true_shooting_pct","twoPointsMade":"twoPointers","assists":"football_assists","secondChancePoints":"basketball_second_chance_points"},"american-football":{"appearances":"matchesTotal","defensiveAssistTackles":"assistTackles","defensiveCombineTackles":"combineTackles","defensiveForcedFumbles":"forcedFumbles","defensiveInterceptionsTouchdowns":"interceptionsTouchdowns","defensiveInterceptionsYards":"interceptionsYards","defensivePassesDefensed":"passesDefensed","defensiveTotalTackles":"amf_tackles","fumbleLost":"fumblesLost","fumbleRecovery":"fumbleRecoveries","fumbleSafety":"fumblesSafety","kickingExtraMade":"extraPointsMade","kickingFgBlocked":"overallBlocked","kickingFgMade":"overallMade","kickingFgMade20to29":"made20","kickingFgMade30to39":"made30","kickingFgMade40to49":"made40","kickingFgMade50plus":"made50","kickoffReturns":"returns","kickoffTotal":"totalPoints","passingLongest":"longestPass","puntingBlocked":"blocked","puntingTouchbacks":"touchbacks","receivingFirstDowns":"firstDowns","receivingLongest":"longestReception","rushingLongest":"longestRush"},"ice-hockey":{"appearances":{"id":"games","values":{"sport":"ice-hockey"}},"faceOffPercentage":"faceoffPercentage","goalkeeping":"goalkeeper","goalsAgainst":"football_goals_conceded","penalty":"hockey.stat.penalty","powerPlayGoals":"powerplayGoals","powerPlayPoints":"powerplayPoints","powerPlaySaves":"powerplaySaves","powerPlayShots":"powerplayShots","powerPlayTimeOnIce":"powerplayTimeOnIce","shortHandedGoals":"shorthandedGoals","shortHandedPoints":"shorthandedPoints","shortHandedSaves":"shorthandedSaves","shortHandedTimeOnIce":"shorthandedTimeOnIce"},"handball":{"gk6mSaves":"6mSaves","gk7mSaves":"7mSaves","gk9mSaves":"9mSaves","goalkeeperEfficiencyPercentage":"goalkeeperEfficiency","goals6m":"6mGoals","goals7m":"7mGoals","goals9m":"9mGoals","twoMinutePenalties":"twoMinPenalty"},"cricket":{"bowling":"bowlingFigures","economy":"economyRate","runsScored":"runs"},"futsal":{"accumulatedPenaltyGoals":"futsal_accumulated_penalty_goals","accumulatedFouls":"futsal_accumulated_fouls"}}')},25635:(e,s,t)=>{t.d(s,{d:()=>i});var o=t(64082),a=t(6029),n=t(21377),r=t(41249);function i(e){var{id:s,name:t,size:i=56,placeholder:l="/static/images/placeholders/manager.svg",style:c,className:d,grayscale:g}=e,p=(0,o.T)(e,["id","name","size","placeholder","style","className","grayscale"]);let f=p.w||p.width||i,h=p.h||p.height||i;return(0,a.jsx)(r._V,Object.assign({fallback:(0,a.jsx)(r._V,{br:"50%",style:c,w:f,h:h,src:l,alt:t}),src:s?n.ql2.image(s):"",alt:t,w:f,h:h,br:"50%",style:c,className:d,isGrayscale:g},p))}},30971:(e,s,t)=>{t.d(s,{A:()=>d});var o=t(6029),a=t(87827),n=t(21377),r=t(4967),i=t(98516),l=t(52854);function c(e){let s="rtl"===document.dir;if(100===e||1===e)return"1.00";let t="".concat(e<1?e:e/100).substring(1).padEnd(4,"0");return s?t.replace(".","").padEnd(4,"."):t}let d=function(e){var s,t,d,g,p;let{stat:f,sport:h}=e,{selectedStat:u}=e;switch(u=u.split(l.I)[0],h){case n.QCR.Football:return"rating"===(s=u)?(0,o.jsx)(a.G,{format:"sideBox",rating:f[s]}):"accuratePasses"===s?"".concat((0,i.M)(f.accuratePasses/f.appearances,1)," (").concat((0,i.M)(f.accuratePassesPercentage),"%)"):"successfulDribbles"===s?"".concat((0,i.M)(f.successfulDribbles/f.appearances,1)," (").concat((0,i.M)(f.successfulDribblesPercentage),"%)"):"penaltyGoals"===s?f.penaltiesTaken?"".concat(f.penaltyGoals," / ").concat(f.penaltiesTaken):f.penaltyGoals:"freeKickGoal"===s?"".concat(f.freeKickGoal," / ").concat(f.shotFromSetPiece):"scoringFrequency"===s?(0,i.M)(f[s]):"totalShots"===s?"".concat((0,i.M)(f.totalShots/f.appearances,1)):"shotsOnTarget"===s?"".concat((0,i.M)(f.shotsOnTarget/f.appearances,1)):"keyPasses"===s?(0,i.M)(f.keyPasses/f.appearances,1):"accurateLongBalls"===s?(0,i.M)(f.accurateLongBalls/f.appearances,1):"tackles"===s?(0,i.M)(f.tackles/f.appearances,1):"interceptions"===s?(0,i.M)(f.interceptions/f.appearances,1):"possessionLost"===s?(0,i.M)(f.possessionLost/f.appearances,1):"saves"===s?(0,i.M)(f.saves/f.appearances,1):"mostConceded"===s||"leastConceded"===s?(0,i.M)(f.goalsConceded/f.appearances,1):"clearances"===s?(0,i.M)(f.clearances/f.appearances,1):"expectedGoals"===s?"".concat((0,i.M)(f.expectedGoals,2)," (").concat(f.goals,")"):"expectedAssists"===s?"".concat((0,i.M)(f.expectedAssists,2)," (").concat(f.assists||0,")"):"goalsPrevented"===s?"".concat((0,i.M)(f.goalsPrevented,2)):f[s];case n.QCR.Basketball:return"rating"===(t=u)?(0,o.jsx)(a.G,{format:"sideBox",rating:f[t]}):"secondsPlayed"===t?(0,r.OV)(f.secondsPlayed/f.appearances):"fieldGoalsPercentage"===t?"".concat((0,i.M)(f.fieldGoalsPercentage),"% (").concat((0,i.M)(f.fieldGoalsMade/f.appearances,1),")"):"freeThrowsPercentage"===t?"".concat((0,i.M)(f.freeThrowsPercentage),"% (").concat((0,i.M)(f.freeThrowsMade/f.appearances,1),")"):"threePointsPercentage"===t?"".concat((0,i.M)(f.threePointsPercentage),"% (").concat((0,i.M)(f.threePointsMade/f.appearances,1),")"):"points"===t?(0,i.M)(f.points/f.appearances,1):"rebounds"===t?(0,i.M)(f.rebounds/f.appearances,1):"assists"===t?(0,i.M)(f.assists/f.appearances,1):"defensiveRebounds"===t?(0,i.M)(f.defensiveRebounds/f.appearances,1):"offensiveRebounds"===t?(0,i.M)(f.offensiveRebounds/f.appearances,1):"steals"===t?(0,i.M)(f.steals/f.appearances,1):"turnovers"===t?(0,i.M)(f.turnovers/f.appearances,1):"blocks"===t?(0,i.M)(f.blocks/f.appearances,1):"assistTurnoverRatio"===t?(0,i.M)(f.assistTurnoverRatio,2):"plusMinus"===t?(0,i.M)(f.plusMinus/f.appearances,1):"pir"===t?(0,i.M)(f.pir/f.appearances,1):f[t];case n.QCR.IceHockey:return"shotPercentage"===(d=u)?c(f.shotPercentage):"faceOffPercentage"===d?c(f.faceOffPercentage):"timeOnIce"===d?(0,r.OV)(f.timeOnIce/f.appearances):"penaltyMinutes"===d?(0,i.M)(f.penaltyMinutes/f.appearances,1):"savePercentage"===d?c(f.savePercentage):"goalsAgainstAverage"===d?(0,i.M)(f.goalsAgainstAverage,2):"shortHandedSavePercentage"===d?c(f.shortHandedSavePercentage):"powerPlaySavePercentage"===d?c(f.powerPlaySavePercentage):"evenSavePercentage"===d?c(f.evenSavePercentage):f[d];case n.QCR.AmericanFootball:return"passingCompletionPercentage"===(g=u)?"".concat((0,i.M)(f.passingCompletionPercentage),"% (").concat((0,i.M)(f.passingCompletions/f.appearances,1),")"):"kickingFgMade"===g?"".concat(f.kickingFgMade," / ").concat(f.kickingFgAttempts):"defensiveTotalTackles"===g?(0,i.M)(f.defensiveTotalTackles/f.appearances,1):"defensiveSacks"===g?(0,i.M)(f.defensiveSacks,1):"passingTouchdownInterceptionRatio"===g?(0,i.M)(f.passingTouchdownInterceptionRatio,2):"rushingYardsPerAttempt"===g?(0,i.M)(f.rushingYardsPerAttempt,1):"receivingYardsPerReception"===g?(0,i.M)(f.receivingYardsPerReception,1):f[g];case n.QCR.Handball:return"goalkeeperEfficiencyPercentage"===(p=u)?"".concat((0,i.M)(f.goalkeeperEfficiencyPercentage,2),"%"):"goals7m"===p?"".concat(f.goals7m," / ").concat(f.shots7m," (").concat((0,i.M)(f.goals7m/f.shots7m*100),"%)"):"gk7mSaves"===p?"".concat(f.gk7mSaves," / ").concat(f.gk7mShots," (").concat((0,i.M)(f.gk7mSaves/f.gk7mShots*100),"%)"):f[p];default:return f[u]}}},33243:(e,s,t)=>{t.d(s,{A:()=>c});var o=t(6029),a=t(91816),n=t(41249),r=t(947),i=t(50774);function l(e){let{person:s,hasImg:t,isLast:r,formattedRole:i}=e;return(0,o.jsxs)(n.so,{hoverBg:"surface.s2",children:[(0,o.jsx)(n.az,{px:"lg",py:"sm",children:(0,o.jsx)(a.d,{size:40,id:t?s.id:void 0,name:s.name})}),(0,o.jsx)(n.so,{borderBottom:r?void 0:"onSurface.nLv4",align:"center",flex:"1 1 auto",mr:"lg",children:(0,o.jsxs)(n.az,{flex:"1 1 auto",children:[(0,o.jsx)(n.so,{title:s.name,align:"center",children:(0,o.jsx)(n.EY,{font:"body.medium",color:"onSurface.nLv1",mr:"xs",pr:"xs",children:s.name})}),i&&(0,o.jsx)(n.EY,{font:"assistive.default",color:"onSurface.nLv3",mx:"xxs",ml:"xs",children:i})]})})]},s.id)}function c(e){let{supportStaff:s,manager:t}=e,a=(0,r.A)();return(0,o.jsxs)(n.az,{pb:["sm","md"],children:[t&&(0,o.jsx)(l,{person:t,hasImg:!0,isLast:0===s.length,formattedRole:a.formatMessage({id:"manager"})}),null==s?void 0:s.map((e,t)=>{let n=t===s.length-1,r=(0,i.u)(e.role),c=a.formatMessage({id:r});return(0,o.jsx)(l,{person:e,isLast:n,formattedRole:c!==r?c:void 0},e.id)})]})}},34851:(e,s,t)=>{t.d(s,{J:()=>o});var o=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}({})},40237:(e,s,t)=>{t.d(s,{G:()=>o.A,p:()=>a.p});var o=t(12605),a=t(91603)},50677:e=>{e.exports=JSON.parse('{"football":{"totalContest":"totalDribbleAttempts","goalAssist":"football_assists","Penalty won":"penaltyWon","Penalty miss":"penaltyMiss","bigChanceMissed":"football_big_chances_missed","accuratePass":"football_accurate_passes","keyPass":"keyPasses","assists":"football_assists","highClaims":"football_high_claims","redCards":"red_cards","rating":"sofascore_rating","totalCross":"totalCrosses","hitWoodwork":"football_hit_woodwork","totalShots":"football_total_shots","shotsOnTarget":"football_shots_on_goal","offsides":"football_offsides","bigChancesMissed":"football_big_chances_missed","shotsOffTarget":"football_shots_off_target","blockedShots":"football_blocked_shots","tackles":"football_tackles","interceptions":"football_interceptions","clearances":"football_clearances","accuratePasses":"football_accurate_passes","yellowCards":"football_yellow_cards","fouls":"football_fouls","dispossessed":"football_dispossessed","bigChanceCreated":"bigChancesCreated","totalClearance":"football_clearances","outfielderBlock":"football_blocked_shots","interceptionWon":"football_interceptions","totalTackle":"football_total_tackles","errorLeadToAGoal":"errors_leading_to_goal","errorLeadToAShot":"errors_lead_to_shot","errorLeadToGoal":"errors_leading_to_goal","errorLeadToShot":"errors_lead_to_shot","penaltyCommited":"penaltyCommitted","challengeLost":"dribbledPast","Penalty save":"penaltySave","totalKeeperSweeper":"football_runs_out","goodHighClaim":"football_high_claims","onTargetScoringAttempt":"football_shots_on_goal","shotOffTarget":"football_shots_off_target","blockedScoringAttempt":"shotsBlocked","savedShotsFromInsideTheBox":"football_saves_inside_box","penaltyConceded":"penaltyCommitted","penaltySave":"penaltySave","penaltyShootoutSave":"penaltyShootoutSave","totalOffside":"football_offsides","possessionLostCtrl":"possessionLost","totalPass":"totalPasses","wonContest":"successfulDribbles","expectedGoals":"football_expected_goals","expectedAssists":"football_expected_assists","goalsPrevented":"football_goals_prevented","secondYellow":"secondYellow","attemptPenaltyMiss":"attemptPenaltyMiss","totalClearances":"totalClearances","wonTackles":"wonTackles","punchesAndGoodHighClaims":"punchesAndGoodHighClaims","minutesPlayed":"minutes_played","punches":"football_goalkeeper_punches","totalDuels":"football_total_duels_won_in_brackets","totalGroundDuels":"football_ground_duels_won_in_brackets","totalAerialDuels":"football_aerial_duels_won_in_brackets","totalDefensiveActions":"football_defensive_actions","notes":"stat_notes","scoringFrequency":"football_scoring_frequency_minutes","goalsAssistsSum":"goals_and_assists","penaltyGoals":"football_penalty_goals","freeKickGoal":"football_free_kick_goals","saves":"player_ability_saves","longBalls":"football_long_balls","clearanceOffLine":"clearance_off_line","duels":"football_duels"},"basketball":{"threePt":"threePointers","twoPt":"twoPointers","pir":"pirStat","rating":"sofascore_rating","assists":"football_assists","minutesPlayed":"minutes_played"},"american-football":{"passingLongest":"longestPass","passingTouchdowns":"passing_touchdowns","passingSacked":"am_football_sack_yards_stat","passingRating":"am_football_passer_rating","passingAirYards":"am_football_air_yds","passingDroppedPasses":"am_football_drop_pass","passingFirstDowns":"am_football_pass_1st_downs","rushingLongest":"longestRush","rushingFumbles":"fumbles","rushingYardsAfterContact":"am_football_yacon_stat","rushingFirstDowns":"am_football_rushing_fd_stat","rushingRedZoneAttempts":"am_football_rz_attempts","fumbleFumbles":"fumbles","fumbleLost":"fumblesLost","fumbleSafety":"fumblesSafety","fumbleRecovery":"fumbleRecoveries","fumbleTeammateFumbleRecovery":"teammateFumbleRecoveries","fumbleTouchdownReturns":"fumbleReturnTouchdowns","fumbleOpponentFumbleRecovery":"am_football_recoveries_opposition","fumbleOwnFumbleRecovery":"am_football_recoveries_own","fumbleOutOfBounds":"am_football_out_of_bounds","receivingReceptions":"receptions","receivingTargets":"receiving_targets","receivingFirstDowns":"am_football_receiving_fd_stat","receivingLongest":"longestReception","receivingYardsPerReception":"yardsPerReception","receivingYardsAfterCatch":"am_football_yds_after_catch","receivingDroppedPasses":"am_football_drop_reception","receivingRedZoneTargets":"am_football_rz_targets","receivingYardsAfterContact":"am_football_yds_after_catch","defensiveCombineTackles":"combineTackles","defensiveTotalTackles":"amf_tackles","defensiveAssistTackles":"assistTackles","defensiveSacks":"sacks","defensiveForcedFumbles":"forcedFumbles","defensiveSafeties":"safeties","defensiveInterceptions":"football_interceptions","defensiveInterceptionsTouchdowns":"interceptionsTouchdowns","defensiveInterceptionsYards":"interceptionsYards","defensivePassesDefensed":"am_football_passes_def","defensiveBattedPasses":"am_football_batted_pass","defensiveDefensiveTargets":"am_football_def_targets","defensiveTacklesForLostYards":"am_football_tackles_loss","kickReturnsAverageYards":"kickReturnsAvgYards","kickReturnsLong":"longestKickReturns","puntingTotal":"punts","puntingLongest":"longestPunt","puntingBlocked":"puntsBlocked","puntingTouchbacks":"touchbacks","puntingYardsPerPuntAvg":"yardsPerPunt","puntingInside20":"puntsInside20","puntingAverageHangTime":"am_football_avg_hang_time","puntingHangTime":"am_football_hang_time","kickingFgAttempts":"fieldGoalAttempts","kickingFg":"fieldGoalsMade","kickingFgMade":"fieldGoalsMade","kickingFgBlocked":"fieldGoalsBlocked","kickingFgLong":"longestFieldGoalMade","kickingFgAttempts20to29":"attempts20","kickingFgMade20to29":"made20","kickingFgAttempts30to39":"attempts30","kickingFgMade30to39":"made30","kickingFgAttempts40to49":"attempts40","kickingFgMade40to49":"made40","kickingFgAttempts50plus":"attempts50","kickingFgMade50plus":"made50","kickingExtraPoints":"extraPointsMade","kickingExtraMade":"extraPointsMade","kickingExtraAttempts":"extraPointsAttempts","kickingTotalPoints":"totalPoints","kickReturnsFairCatches":"am_football_fair_catch_kick","kickoffEndZone":"am_football_touchback","kickoffOutOfBounds":"am_football_out_of_bounds","kickoffInside20":"am_football_inside_20","puntReturnsAverageYards":"puntReturnsAvgYards","puntReturnsLong":"longestPuntReturn","puntReturnsFairCatches":"am_football_fair_catch_punt","kickingFgMadeAttempts":"fieldGoalsMade","passingCompletionPercentage":"completionPercentage","interceptionReturnsAverageYards":"am_football_interception_return_avg_yds","interceptionReturnsLongest":"am_football_longest_interception_return"},"ice-hockey":{"shots":"hockey_shots_on_goal","minutesPlayed":"timeOnIce","secondsPlayed":"timeOnIce","powerPlayTimeOnIce":"powerplayTimeOnIce","shortHandedTimeOnIce":"shorthandedTimeOnIce","powerPlayGoals":"powerplayGoals","powerPlayAssists":"powerplayAssists","blocked":"hockey.blocks","faceOffTaken":"totalFaceoffs","shortHandedGoals":"hockey.shorthandedGoals","shortHandedAssists":"shorthandedAssists","goalkeeperEfficiencyPercentage":"savePercentage","shortHandedSaves":"shorthandedSaves","powerPlaySaves":"powerplaySaves","assists":"football_assists","saves":"player_ability_saves"},"handball":{"gkShots":"shotsReceived","gk7mSaves":"7mSaves","gk6mSaves":"6mSaves","gkPivotSaves":"pivotSaves","gk9mSaves":"9mSaves","gkBreakthroughSaves":"breakthroughSaves","gkFastbreakSaves":"fastbreakSaves","goalkeeperEfficiencyPercentage":"savePercentage","shotsTaken":"football_shots","goals7m":"7mGoals","goals6m":"6mGoals","goals9m":"9mGoals","twoMinutePenalties":"2minPenalty","gkGoalsConceded":"football_goals_conceded","goalkeepers":"stats.goalkeepers","saves":"player_ability_saves","blockedShots":"football_blocked_shots","yellowCards":"yellow_cards","assists":"football_assists","minutesPlayed":"minutes_played"},"baseball":{"battingFlyOuts":"flyOuts","battingGroundOuts":"groundOuts","battingRuns":"runs","battingDoubles":"doubles","battingTriples":"triples","battingHomeRuns":"homeRuns","battingStrikeOuts":"strikeOutsAsBatter","battingBaseOnBalls":"baseOnBalls","battingHits":"hits","battingHitByPitch":"hitByPitch","battingRbi":"runsBattedIn","battingCaughtStealing":"caughtStealing","battingStolenBases":"stolenBases","battingAtBats":"atBats","battingLeftOnBase":"leftOnBase","battingSacBunts":"sacrificeBunts","battingSacFlies":"sacrificeFly","fieldingAssists":"football_assists","fieldingPutOuts":"putOuts","fieldingErrors":"baseball.fieldingErrors","pitchingRuns":"runs","pitchingHomeRuns":"homeRuns","pitchingStrikeOuts":"strikeOutsAsPitcher","pitchingBaseOnBalls":"walks","pitchingHits":"hits","pitchingInningsPitched":"inningsPitched","pitchingEarnedRuns":"earnedRuns","pitchingBattersFaced":"battersFaced","pitchingOuts":"pitchOuts","pitchingPitchesThrown":"numberOfPitchesThrown","pitchingStrikes":"strikes","pitchingEarnedRunsAverage":"earnedRunsAverage"},"rugby":{"tackles":"rugby_tackles","carries":"rugby_carries","cleanBreaks":"rugby_clean_breaks","dropGoals":"rugby_drop_goals","metersRun":"rugby_meters_run","offloads":"rugby_offloads","tacklesMissed":"rugby_tackles_missed","tryAssists":"rugby_try_assists","turnoversWon":"rugby_turnovers_won"}}')},50774:(e,s,t)=>{t.d(s,{A:()=>r,u:()=>n});var o=t(6029),a=t(90248);let n=e=>e.replaceAll("-","_"),r=e=>{let{role:s}=e;return(0,o.jsx)(a.A,{id:n(s)})}},52854:(e,s,t)=>{t.d(s,{I:()=>r,k:()=>l});var o=t(55729),a=t(947),n=t(73959);let r="-playoffs",i=(e,s,t)=>{let o=s.split(r),a=o[0],i=o.length>1;return{label:(0,n.y)(e,a,t,i),value:s}};function l(e,s){var t;let[n,r]=(0,o.useState)({label:"",value:""}),[l,c]=(0,o.useState)(),d=(0,a.A)(),g=e.map(e=>i(d,e,s));return(0,o.useEffect)(()=>{var e;if((null==(e=g[0])?void 0:e.value)!==(null==l?void 0:l.value)||!n.value&&g.length&&g[0]){let e=g.find(e=>"rating"===e.value);r(e||g[0]),c(e||g[0])}},[g.length,null==(t=g[0])?void 0:t.value]),{selectedStat:n,setSelectedStat:r,statItems:g}}},54917:(e,s,t)=>{t.d(s,{F:()=>d});var o=t(6029),a=t(21377),n=t(55729),r=t(90248),i=t(62859);let l=JSON.parse('{"football":{"Dlong":"football_defender","DLlong":"defenderLeft","DClong":"defenderCenter","DRlong":"defenderRight","DMlong":"defensiveMidfielder","Mlong":"football_midfielder","MLlong":"midfielderLeft","MRlong":"midfielderRight","MClong":"midfielderCenter","AMlong":"attackingMidfielder","Flong":"football_forward","LWlong":"leftWinger","RWlong":"rightWinger","STlong":"striker","Glong":"goalkeeper","GKlong":"goalkeeper","Dshort":"position.defender.short","DLshort":"position.defenderLeft.short","DCshort":"position.defenderCenter.short","DRshort":"position.defenderRight.short","DMshort":"position.defensiveMidfielder.short","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":"centralBack","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"}}');var c=t(27892);let d=e=>{let{id:s,fantasyShort:t,short:d,sport:g}=e,p=(0,n.useContext)(i.Ws),f=g||p,h=t&&f===a.QCR.Football?"fantasyShort":d||t?"short":"long",u=(0,c.O)(l,s+h,f,s);return(0,o.jsx)(r.A,{id:u})}},73959:(e,s,t)=>{t.d(s,{y:()=>l});var o=t(21377),a=t(50677),n=t(16533),r=t(27892);let i={[o.QCR.Football]:["accuratePasses","tackles","interceptions","clearances","successfulDribbles","accurateLongBalls","keyPasses","totalShots","shotsOnTarget","possessionLost","saves","mostConceded","leastConceded"],[o.QCR.Basketball]:["plusMinus","pir"],[o.QCR.AmericanFootball]:["defensiveTotalTackles","plusMinus"],[o.QCR.IceHockey]:["timeOnIce","penaltyMinutes"],[o.QCR.Handball]:[],[o.QCR.Cricket]:[]};function l(e,s,t,l){var c;let d=(null==(c=i[t])?void 0:c.indexOf(s))>-1;"expectedGoals"===s&&(s="football_stat_expected_goals_scored"),"expectedAssists"===s&&(s="football_stat_expected_assists_assisted");let g=e.formatMessage({id:"stats.perGame"}),p=e.formatMessage({id:"playoffs"}),f=t===o.QCR.Cricket?n:a,h=e.formatMessage({id:"rating"===s?"average_sofascore_rating":(0,r.O)(f,s,t)});return d&&(h="".concat(h," ").concat(g.toLowerCase())),l&&(h="".concat(h," - ").concat(p)),h}},86679:(e,s,t)=>{t.d(s,{A:()=>p});var o=t(4967),a=t(59018),n=t.n(a),r=t(55729),i=t(7263);let l=o.pY,c={},d=async(e,s)=>{let t=new Date().getTime();if(!c[e]||c[e].time{let t=e.map(e=>{var t;return e.skipCheck||!e.route?new Promise(e=>e(!1)):d(e.route,null!=(t=e.deduplicationInterval)?t:s)});return(await Promise.allSettled(t)).map(e=>"fulfilled"===e.status&&e.value)};function p(e){var s;let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0,a=Object.keys(e),i=Object.values(e),[c,d]=(0,r.useState)(a.reduce((e,s)=>({...e,[s]:void 0}),{})),p=null==o?void 0:o.refreshInterval,f=null!=(s=null==o?void 0:o.deduplicationInterval)?s:l;return(0,r.useEffect)(()=>{let e=async()=>{let e=await g(i,f),s={};a.forEach((t,o)=>{s[t]=e[o]}),d(e=>{for(let t of n()([...Object.keys(s),...Object.keys(e)]))if(e[t]!==s[t])return s;return e})};if(e(),!p)return;let s=setInterval(e,p);return()=>clearInterval(s)},[...t,p]),c}},91816:(e,s,t)=>{t.d(s,{d:()=>o.d});var o=t(25635)},94446:(e,s,t)=>{t.d(s,{p:()=>a.p,t:()=>o.t});var o=t(91407),a=t(91603)}}]);