<commit_before>import Vue from 'vue'

import QResizeObserver from '../resize-observer/QResizeObserver.js'
import QScrollObserver from '../scroll-observer/QScrollObserver.js'

import TouchPan from '../../directives/TouchPan.js'

import { between } from '../../utils/format.js'
import { setVerticalScrollPosition, setHorizontalScrollPosition } from '../../utils/scroll.js'
import { mergeSlot } from '../../utils/slot.js'
import cache from '../../utils/cache.js'
import debounce from '../../utils/debounce.js'

import DarkMixin from '../../mixins/dark.js'
import { ariaHidden } from '../../mixins/attrs'

const getMinThumbSize = size => {
  if (size >= 250) {
    return 50
  }

  return Math.ceil(size / 5)
}

const axisList = [ 'vertical', 'horizontal' ]<commit_msg>chore(QScrollArea): refactor latest changes #13738 (#13748)<commit_after>import Vue from 'vue'

import QResizeObserver from '../resize-observer/QResizeObserver.js'
import QScrollObserver from '../scroll-observer/QScrollObserver.js'

import TouchPan from '../../directives/TouchPan.js'

import { between } from '../../utils/format.js'
import { setVerticalScrollPosition, setHorizontalScrollPosition } from '../../utils/scroll.js'
import { mergeSlot } from '../../utils/slot.js'
import cache from '../../utils/cache.js'
import debounce from '../../utils/debounce.js'

import DarkMixin from '../../mixins/dark.js'
import { ariaHidden } from '../../mixins/attrs'

const getMinThumbSize = size => (size >= 250 ? 50 : Math.ceil(size / 5))

const axisList = [ 'vertical', 'horizontal' ]
{'fraction_non_alphanumeric': 0.17422279792746115, 'fraction_numerical': 0.014248704663212436, 'mean_word_length': 3.625748502994012, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6950897', 'n_tokens_mistral': 471, 'n_tokens_neox': 463, 'n_words': 122}