-
-
-
- - - -   -

- {subTrack.replace('FIRST_2_FINISH', 'FIRST2FINISH').replace(/_/g, ' ')} -

- - - -
-
-
-
- {activeChallengesCount} +
    + { subTrackSummary.map(({ label, value, link }) => ( +
  • + { link ? ( + + {value || '-'} + + ) : ( +
    + {value || '-'}
    -
    - Active Challenges -
    -
- { - this.checkSRMHonor() - && ( -
-
-
- ) - } -
-
-
-
-
    - { - tabs.map(tab => ( -
  • - - {tab} - -
  • - )) - } -
-
    - { - subTrackSummary - && ( -
  • -
    - { info.photoURL ? Member Portait : } -
    -
    + {label} +

    +
  • + ))} +
+ + { !!activeTab && ( +
+ tab !== activeTab).length > 0 ? 'has-tab': ''}`}> + { activeTab } + +
+ { /* eslint-disable-next-line no-confusing-arrow */ + tabs.map(tab => tab === activeTab ? null : ( + setTab(tab)} > - - {info.handle || '-'} - -
- - ) - } - { - subTrackSummary.map(({ label, value, link }) => ( -
  • - { - link - ? ( - - {value || '-'} - - ) - : ( -
    + { _.upperCase(`See ${tab}`) } + + ))} +
    +
  • + )} + + { !!activeTab &&
    } + + { activeTab === 'statistics' && ( +
    +
    +
    +

    + Rating History +

    + +
    + +
    + +
    +

    + Rating Distribution +

    + +
    + + { subTrack !== 'SRM' &&
    } + + { subTrack !== 'SRM' && ( +
    +

    + Details +

    +
      + { + subTrackDetails.map(({ label, value }) => ( +
    • +
      + {label} +
      +
      {value || '-'} - {label === 'rating' && }
      - ) - } -

      - {label} -

      -
    • - )) - } -
    - { - activeTab === 'statistics' - && ( -
    - { - shouldShowGraph({ track, subTrack }) - && ( -
    -
    -
    - {activeGraph === 'history' ? 'Rating History Graph' : 'Rating Distribution Graph'} -
    -
    -