<commit_before><template>
  <div v-b-toggle="collapseId">
    <b><slot /></b>
    <font-awesome-icon class="when-opened" icon="angle-down" />
    <font-awesome-icon class="when-closed" icon="angle-right" />
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator'

@Component
export default class SqidCollapseButton extends Vue {
  @Prop({ required: true }) private id!: string

  private get collapseId() {
    return `collapse-${this.id}`
  }
}
</script>

<style lang="less" scoped>
div > svg {
  float: right;
  color: grey;
}

.collapsed > .when-opened,
:not(.collapsed) > .when-closed {
  display: none;
}
</style><commit_msg>Change cursor for SqidCollapseButton<commit_after><template>
  <div v-b-toggle="collapseId">
    <b><slot /></b>
    <font-awesome-icon class="when-opened" icon="angle-down" />
    <font-awesome-icon class="when-closed" icon="angle-right" />
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator'

@Component
export default class SqidCollapseButton extends Vue {
  @Prop({ required: true }) private id!: string

  private get collapseId() {
    return `collapse-${this.id}`
  }
}
</script>

<style lang="less" scoped>
div {
  cursor: pointer;
}
div > svg {
  float: right;
  color: grey;
}

.collapsed > .when-opened,
:not(.collapsed) > .when-closed {
  display: none;
}
</style>
{'fraction_non_alphanumeric': 0.1752136752136752, 'fraction_numerical': 0.0, 'mean_word_length': 3.964664310954064, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 35, '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': '2541040', 'n_tokens_mistral': 507, 'n_tokens_neox': 498, 'n_words': 117}