<commit_before><template>

  <FullscreenModal v-model="dialog" :header="headerText">
    <template v-if="isReview" #close>
      <VBtn icon @click.stop="goBackToBrowse">
        <Icon>
          arrow_back
        </Icon>
      </VBtn>
    </template>
    <VContainer fluid class="mb-5 px-5 pb-5">
      <slot :preview="handlePreview"/>
    </VContainer>
    <ResourceDrawer
      v-if="previewNode"
      v-model="showPreview"
      temporary
      fixed
      :permanent="false"
      :nodeId="previewNode.id"
      @close="showPreview = false"
    >
      <template #actions>
        <VFadeTransition hide-on-leave>
          <VLayout v-show="previewIsSelected" align-center>
            <Icon small>
              check_circle
            </Icon>
            <span class="mx-1">{{ $tr('addedText') }}</span>
            <VBtn color="primary" @click="deselectNode(previewNode)">
              {{ $tr('removeButton') }}
            </VBtn>
          </VLayout><commit_msg>Fixed more linting errors<commit_after><template>

  <FullscreenModal v-model="dialog" :header="headerText">
    <template v-if="isReview" #close>
      <VBtn icon @click.stop="goBackToBrowse">
        <Icon>
          arrow_back
        </Icon>
      </VBtn>
    </template>
    <VContainer fluid class="mb-5 px-5 pb-5">
      <slot :preview="handlePreview"></slot>
    </VContainer>
    <ResourceDrawer
      v-if="previewNode"
      v-model="showPreview"
      temporary
      fixed
      :permanent="false"
      :nodeId="previewNode.id"
      @close="showPreview = false"
    >
      <template #actions>
        <VFadeTransition hide-on-leave>
          <VLayout v-show="previewIsSelected" align-center>
            <Icon small>
              check_circle
            </Icon>
            <span class="mx-1">{{ $tr('addedText') }}</span>
            <VBtn color="primary" @click="deselectNode(previewNode)">
              {{ $tr('removeButton') }}
            </VBtn>
          </VLayout>
{'fraction_non_alphanumeric': 0.14852492370295015, 'fraction_numerical': 0.004069175991861648, 'mean_word_length': 2.1123417721518987, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 48, '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': '5716422', 'n_tokens_mistral': 605, 'n_tokens_neox': 606, 'n_words': 108}