<commit_before>import { Feature } from 'core/feature';
import {
  getCurrentRouteName,
  getToolkitStorageKey,
  removeToolkitStorageKey,
  setToolkitStorageKey
} from 'helpers/toolkit';

const RESIZABLES = [
  'ynab-grid-cell-date',
  'ynab-grid-cell-accountName',
  'ynab-grid-cell-payeeName',
  'ynab-grid-cell-subCategoryName',
  'ynab-grid-cell-memo',
  'ynab-grid-cell-toolkit-check-number',
  'ynab-grid-cell-outflow',
  'ynab-grid-cell-inflow',
  'ynab-grid-cell-toolkit-running-balance'
];

export class AdjustableColumnWidths extends Feature {
  injectCSS() { return require('./index.css'); }

  constructor() {
    super();
    this.elementWasDragged = false;
    this.isMouseDown = false;
    this.currentX = null;
  }

  shouldInvoke() {
    return getCurrentRouteName().indexOf('account') !== -1 && this.settings.enabled;
  }

  onMouseMove(event) {
    if (!this.isMouseDown) { return; }

    event.preventDefault();
    event.stopPropagation();

    Ember.run.debounce(this, () => {
      if (this.offTarget && !event.target.classList.contains('toolkit-draggable')) {
        return;
      }

      this.offTarget = false;
      const invertedDifference = this.currentX - event.clientX;
      const difference = invertedDifference * -1;
<commit_msg>Test commit on my branch<commit_after>import { Feature } from 'core/feature';
import {
  getCurrentRouteName,
  getToolkitStorageKey,
  removeToolkitStorageKey,
  setToolkitStorageKey
} from 'helpers/toolkit';

const RESIZABLES = [
  'ynab-grid-cell-date',
  'ynab-grid-cell-accountName',
  'ynab-grid-cell-payeeName',
  'ynab-grid-cell-subCategoryName',
  'ynab-grid-cell-memo',
  'ynab-grid-cell-toolkit-check-number',
  'ynab-grid-cell-outflow',
  'ynab-grid-cell-inflow',
  'ynab-grid-cell-toolkit-running-balance'
];

export class AdjustableColumnWidths extends Feature {
  injectCSS() { return require('./index.css'); }

  constructor() {
    super();
    this.elementWasDragged = false;
    this.isMouseDown = false;
    this.currentX = null;
  }

  shouldInvoke() {
    // don't say we should be invoked unless the feature is also active
    return getCurrentRouteName().indexOf('account') !== -1 && this.settings.enabled;
  }

  onMouseMove(event) {
    if (!this.isMouseDown) { return; }

    event.preventDefault();
    event.stopPropagation();

    Ember.run.debounce(this, () => {
      if (this.offTarget && !event.target.classList.contains('toolkit-draggable')) {
        return;
      }

      this.offTarget = false;
      const invertedDifference = this.currentX - event.clientX;
      const difference = invertedDifference * -1;

{'fraction_non_alphanumeric': 0.141982395713739, 'fraction_numerical': 0.0015308075009567547, 'mean_word_length': 3.554006968641115, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6984510', 'n_tokens_mistral': 882, 'n_tokens_neox': 868, 'n_words': 144}