<commit_before>import Popper from 'popper.js';
import Component from '../../../ui-base/component';
import _ from '../../../ui-base/_';

const PopperComponent = Component.extend({
  name: 'kl-popper',
  template: `
            <div class="{class} {isShow ? 'fadeIn' : 'fadeOut'}"
              r-hide={!isShow}
              ref="popper"
              v-clickoutside="onClose">
              {#inc this.$body}
            </div>
            `,
  config(data) {
    this.defaults({
      referenceElm: null,
      popperJS: null,
      showPopper: false,<commit_msg>fix popperjs bug<commit_after>import Popper from 'popper.js';
import Component from '../../../ui-base/component';
import _ from '../../../ui-base/_';

const PopperComponent = Component.extend({
  name: 'kl-popper',
  template: `
    <div class="{class} {isShow ? 'fadeIn' : 'fadeOut'}"
      r-hide={!isShow}
      ref="popper"
      v-clickoutside="onClose">
      {#inc this.$body}
    </div>
    `,
  config(data) {
    this.defaults({
      referenceElm: null,
      popperJS: null,
      showPopper: false,
{'fraction_non_alphanumeric': 0.17674418604651163, 'fraction_numerical': 0.0, 'mean_word_length': 2.2312312312312312, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1073008', 'n_tokens_mistral': 355, 'n_tokens_neox': 348, 'n_words': 73}