<commit_before><template>
  <div class="rank">
    <chess-board-square
      v-for="piece in squares"
      :key="piece.coords"
      :piece="piece"
    />
  </div>
</template>

<script>
  import ChessBoardSquare from "./ChessBoardSquare"

  export default {
    name: "ChessBoardRank",

    components: {
      ChessBoardSquare
    },

    props: {
      squares: {
        type: Array,
        default: () => ([])
      }
    }
  }
</script>

<style lang="scss" scoped>
  .rank {
    width: 100%;
    height: 12.5%;

    display: flex;
    flex: 1;
    flex-direction: rank;
  }

  .rank:nth-of-type(even) {
    .square:nth-of-type(even) {
      background-color: #cd853f;
    }

    .square:nth-of-type(odd) {
      background-color: #8b4513;
    }
  }

  .rank:nth-of-type(odd) {
    .square:nth-of-type(even) {
      background-color: #8b4513;
    }

    .square:nth-of-type(odd) {
      background-color: #cd853f;
    }<commit_msg>fix squares in firefox<commit_after><template>
  <div class="rank">
    <chess-board-square
      v-for="piece in squares"
      :key="piece.coords"
      :piece="piece"
    />
  </div>
</template>

<script>
  import ChessBoardSquare from "./ChessBoardSquare"

  export default {
    name: "ChessBoardRank",

    components: {
      ChessBoardSquare
    },

    props: {
      squares: {
        type: Array,
        default: () => ([])
      }
    }
  }
</script>

<style lang="scss" scoped>
  .rank {
    width: 100%;

    height: 12.5%;
    max-height: 12.5%;

    display: flex;
    flex: 1;
    flex-direction: rank;
  }

  .rank:nth-of-type(even) {
    .square:nth-of-type(even) {
      background-color: #cd853f;
    }

    .square:nth-of-type(odd) {
      background-color: #8b4513;
    }
  }

  .rank:nth-of-type(odd) {
    .square:nth-of-type(even) {
      background-color: #8b4513;
    }

    .square:nth-of-type(odd) {
      background-color: #cd853f;
    }
{'fraction_non_alphanumeric': 0.16518091242789723, 'fraction_numerical': 0.025694808599895123, 'mean_word_length': 2.102439024390244, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1355538', 'n_tokens_mistral': 785, 'n_tokens_neox': 732, 'n_words': 117}