<commit_before><template>

  <div>
    <div v-if="available">
        <h3 class="progress-percent" v-if="progress > 0">
          {{ Math.floor(progress * 100) }}%
        </h3>
      <div v-el:container></div>
    </div>
    <div v-else>
      {{ $tr('msgNotAvailable') }}
    </div>
  </div>

</template>


<script>

  const logging = require('logging').getLogger(__filename);
  const actions = require('core-actions');

  module.exports = {
    $trNameSpace: 'contentRender',
    $trs: {
      msgNotAvailable: 'This content is not available.',<commit_msg>Add loading spinner to content-renderer.<commit_after><template>

  <div>
    <div v-if="available">
        <h3 class="progress-percent" v-if="progress > 0">
          {{ Math.floor(progress * 100) }}%
        </h3>
      <div v-el:container>
        <loading-spinner></loading-spinner>
      </div>
    </div>
    <div v-else>
      {{ $tr('msgNotAvailable') }}
    </div>
  </div>

</template>


<script>

  const logging = require('logging').getLogger(__filename);
  const actions = require('core-actions');

  module.exports = {
    $trNameSpace: 'contentRender',
    $trs: {
      msgNotAvailable: 'This content is not available.',
{'fraction_non_alphanumeric': 0.17642140468227424, 'fraction_numerical': 0.010033444816053512, 'mean_word_length': 2.740625, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, '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': '5827212', 'n_tokens_mistral': 404, 'n_tokens_neox': 388, 'n_words': 79}