<script>
import ExamScorePassPercent from '../score/ExamScorePassPercent.vue'
import ExamHistroyScoreLine from '../score/ExamHistroyScoreLine.vue'
import ExamScoreTower from '../score/ExamScoreTower.vue'
import ExamDurationTower from '../score/ExamDurationTower.vue'
import PaperScorePassPercent from './PaperScorePassPercent.vue'
import PaperDifficultyPercent from './PaperDifficultyPercent.vue'
import PaperIsFixedPercent from './PaperIsFixedPercent.vue'
import PaperMistakesPercent from './PaperMistakesPercent.vue'
import PaperDetailsTable from './PaperDetailsTable.vue'

export default {

  render (h) {
    return h('div', [[ExamScorePassPercent, ExamHistroyScoreLine, ExamScoreTower, ExamDurationTower, PaperScorePassPercent, PaperDifficultyPercent, PaperIsFixedPercent, PaperMistakesPercent], [PaperDetailsTable]][this.$store.statistic_tab_active].map(h))
  }
}
</script>
