<commit_before><template>
  <header>
    <v-toolbar>
      <v-btn
        text
        x-large
        dark
        @click.stop="toggleNavigation"
      >
        <v-icon>mdi-infinity</v-icon>
      </v-btn>

      <the-controls />

      <v-chip
        dark
        disabled
      >
        {{ users }} Online
      </v-chip>
      <v-chip
        dark
        disabled
      >
        {{ games }} Games
      </v-chip>
    </v-toolbar>
  </header>
</template>

<script>
  import TheControls from "./TheControls"

  export default {
    name: "TheHeader",

    components: {
      TheControls
    },

    computed: {
      users() {
        return this.$store.state.universe.users
      },<commit_msg>hide controls when not kibitzing<commit_after><template>
  <header>
    <v-toolbar>
      <v-btn
        text
        x-large
        dark
        @click.stop="toggleNavigation"
      >
        <v-icon>mdi-infinity</v-icon>
      </v-btn>

      <v-spacer />
      <the-controls v-if="kibitzing" />
      <v-spacer />

      <v-chip disabled>
        {{ users }} Online
      </v-chip>
      <v-chip disabled>
        {{ games }} Games
      </v-chip>
    </v-toolbar>
  </header>
</template>

<script>
  import TheControls from "./TheControls"

  export default {
    name: "TheHeader",

    components: {
      TheControls
    },

    computed: {
      kibitzing() {
        return this.$route.path === "/"
      },

      users() {
        return this.$store.state.universe.users
      },
{'fraction_non_alphanumeric': 0.14323962516733602, 'fraction_numerical': 0.0, 'mean_word_length': 1.5, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '110887', 'n_tokens_mistral': 494, 'n_tokens_neox': 482, 'n_words': 90}