<commit_before><template>
  <div :id="claimId">
    <template v-if="!reverse">
      <sqid-collapse-button :id="claimId">
        <snak :snak="mainsnak" :rank="rank" />
      </sqid-collapse-button>
      <div class="qualifiers" v-for="(prop, pidx) in qualifierOrder" :key="pidx">
        <div v-for="(qualifier, qidx) in qualifiers(prop)" :key="qidx">
          <entity-link :entityId="prop" />: <snak-value :snak="qualifier" />
        </div>
      </div>
      <b-collapse :id="`collapse-${claimId}`">
        <span v-if="!references.length" v-t="'entity.noReferences'" />
        <reference v-for="(reference, refId) in references" :key="refId" :reference="reference" />
      </b-collapse>
    </template>
    <template v-if="reverse">
      <snak :snak="mainsnak" :rank="rank" reverse />
    </template>
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator'
import { Getter } from 'vuex-class'
import { Snak, Claim as ClaimData } from '@/api/types'
import { EntityId } from '@/store/entity/claims/types'
import Reference from '@/components/ClaimReference.vue'<commit_msg>Don't toggle refernces on clicking a snak link<commit_after><template>
  <div :id="claimId">
    <template v-if="!reverse">
      <sqid-collapse-button :id="claimId">
        <snak :snak="mainsnak" :rank="rank" @click.native="$event.stopImmediatePropagation()" />
      </sqid-collapse-button>
      <div class="qualifiers" v-for="(prop, pidx) in qualifierOrder" :key="pidx">
        <div v-for="(qualifier, qidx) in qualifiers(prop)" :key="qidx">
          <entity-link :entityId="prop" />: <snak-value :snak="qualifier" />
        </div>
      </div>
      <b-collapse :id="`collapse-${claimId}`">
        <span v-if="!references.length" v-t="'entity.noReferences'" />
        <reference v-for="(reference, refId) in references" :key="refId" :reference="reference" />
      </b-collapse>
    </template>
    <template v-if="reverse">
      <snak :snak="mainsnak" :rank="rank" reverse />
    </template>
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue } from 'vue-property-decorator'
import { Getter } from 'vuex-class'
import { Snak, Claim as ClaimData } from '@/api/types'
import { EntityId } from '@/store/entity/claims/types'
import Reference from '@/components/ClaimReference.vue'
{'fraction_non_alphanumeric': 0.19014989293361884, 'fraction_numerical': 0.0, 'mean_word_length': 3.5714285714285716, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '6926309', 'n_tokens_mistral': 803, 'n_tokens_neox': 793, 'n_words': 167}