<commit_before><template>
<div
  v-resize="updateLayout"
  :class="{
    [$c('table')]: true,
    [$c('table-bordered')]: headerBordered || bodyBordered,
    [$c('table-has-bordered-header')]: headerBordered,
    [$c('table-has-bordered-body')]: bodyBordered,
    [$c('table-hit-top')]: hit.top,
    [$c('table-hit-right')]: hit.right,
    [$c('table-hit-bottom')]: hit.bottom,
    [$c('table-hit-left')]: hit.left,
    [$c('table-overflow-left-edge')]:
      scrollableX &&
      (!supportSticky || (!needFixLeft && !selectable && !expandable)),
    [$c('table-overflow-right-edge')]:
      scrollableX && (!supportSticky || !hasFixedRight),
    [$c('table-has-loading-backdrop')]: hasLoadingBackdrop
  }"
  :ui="realUi"
  @focusin="handleFocusIn"
>
  <div v-show="false">
    <slot/>
  </div>
  <div ref="fixedHeader" :class="$c('table-fixed-header')">
    <table
      :style="{
        minWidth: scrollableX
          ? `calc(${realScroll.x} + ${gutterWidth}px)`
          : null
      }"
    >
      <col-group gutter/>
      <table-head ref="head" @sort="sort"/>
    </table>
  </div>
  <div
    v-if="realLoadingOptions.type !== 'spinner'"
    :class="$c('table-loading-row')"
    aria-hidden="true"
  >
    <veui-loading-bar
      :class="$c('table-loading')"
      :ui="uiParts.loading"
      :loading="loading"
    />
    <div v-if="!data.length & loading" :class="$c('table-no-data-loading')">
      {{ t('loading') }}
    </div>
  </div>
  <div
    ref="main"<commit_msg>fix: fix if condition<commit_after><template>
<div
  v-resize="updateLayout"
  :class="{
    [$c('table')]: true,
    [$c('table-bordered')]: headerBordered || bodyBordered,
    [$c('table-has-bordered-header')]: headerBordered,
    [$c('table-has-bordered-body')]: bodyBordered,
    [$c('table-hit-top')]: hit.top,
    [$c('table-hit-right')]: hit.right,
    [$c('table-hit-bottom')]: hit.bottom,
    [$c('table-hit-left')]: hit.left,
    [$c('table-overflow-left-edge')]:
      scrollableX &&
      (!supportSticky || (!needFixLeft && !selectable && !expandable)),
    [$c('table-overflow-right-edge')]:
      scrollableX && (!supportSticky || !hasFixedRight),
    [$c('table-has-loading-backdrop')]: hasLoadingBackdrop
  }"
  :ui="realUi"
  @focusin="handleFocusIn"
>
  <div v-show="false">
    <slot/>
  </div>
  <div ref="fixedHeader" :class="$c('table-fixed-header')">
    <table
      :style="{
        minWidth: scrollableX
          ? `calc(${realScroll.x} + ${gutterWidth}px)`
          : null
      }"
    >
      <col-group gutter/>
      <table-head ref="head" @sort="sort"/>
    </table>
  </div>
  <div
    v-if="realLoadingOptions.type !== 'spinner'"
    :class="$c('table-loading-row')"
    aria-hidden="true"
  >
    <veui-loading-bar
      :class="$c('table-loading')"
      :ui="uiParts.loading"
      :loading="loading"
    />
    <div v-if="!data.length && loading" :class="$c('table-no-data-loading')">
      {{ t('loading') }}
    </div>
  </div>
  <div
    ref="main"
{'fraction_non_alphanumeric': 0.22857142857142856, 'fraction_numerical': 0.0, 'mean_word_length': 3.0767123287671234, 'pattern_counts': {'":': 0, '<': 37, '<?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': '2130415', 'n_tokens_mistral': 1107, 'n_tokens_neox': 1076, 'n_words': 150}