<commit_before>import {
    getPasswordStrength
} from './accounts-password-strength.js';

Template.atTextInputWithPasswordStrength.onCreated(function() {
    this.strength = ReactiveVar(0);
    this.strengthText = ReactiveVar('');
});

Template.atTextInputWithPasswordStrength.helpers({
    isSignUpState: function() {
        return AccountsTemplates.getState() === 'signUp';
    },
    strength: function() {
        return Template.instance().strength.get();
    },
    strengthText: function() {
        return Template.instance().strengthText.get();
    },
    strengthClassName: function(strengthLevel) {
        var strength = Template.instance().strength.get();
        if (strengthLevel > (strength + 1)) {
            return 'strengthLevelNone';
        } else if (strength <= 1) {
            return 'strengthLevelLow';<commit_msg>import from renamed file fixed<commit_after>import {
    getPasswordStrength
} from './useraccounts-password-strength.js';

Template.atTextInputWithPasswordStrength.onCreated(function() {
    this.strength = ReactiveVar(0);
    this.strengthText = ReactiveVar('');
});

Template.atTextInputWithPasswordStrength.helpers({
    isSignUpState: function() {
        return AccountsTemplates.getState() === 'signUp';
    },
    strength: function() {
        return Template.instance().strength.get();
    },
    strengthText: function() {
        return Template.instance().strengthText.get();
    },
    strengthClassName: function(strengthLevel) {
        var strength = Template.instance().strength.get();
        if (strengthLevel > (strength + 1)) {
            return 'strengthLevelNone';
        } else if (strength <= 1) {
            return 'strengthLevelLow';
{'fraction_non_alphanumeric': 0.13239601640304627, 'fraction_numerical': 0.0035149384885764497, 'mean_word_length': 3.3240506329113924, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3848531', 'n_tokens_mistral': 488, 'n_tokens_neox': 455, 'n_words': 83}