<commit_before><style>
    #lesspass .white-link {
        color: white;
    }

    #lesspass.card {
        border: none;
    }

    #lesspass .card-block {
        border: 1px solid rgba(0, 0, 0, 0.125);
        border-top: none;
    }

    @media (max-width: 470px) {
        #lesspass .card-block {
            border: none;
        }
    }

    #lesspass .white-link:hover, #lesspass .white-link:focus, #lesspass .white-link:active {
        text-decoration: none;
        color: white;
    }

    #lesspass, #lesspass * {
        border-radius: 0 !important;
    }
</style>
<template>
    <div id="lesspass" class="card" style="max-width: 470px;"
         v-bind:class="{ 'v1': version===1, 'v2': version===2 }">
        <lesspass-menu></lesspass-menu>
        <div class="card-block">
            <router-view></router-view>
        </div>
    </div>
</template>
<script type="text/ecmascript-6">
    import './LessPass.scss';
    import Menu from './components/Menu.vue';
    import {mapGetters} from 'vuex';

    export default {
        name: 'LessPass',
        components: {
            'lesspass-menu': Menu
        },
        computed: mapGetters(['version']),
        created(){
            this.$store.dispatch('loadPasswordFirstTime');

            const fiveMinutes = 1000 * 60 * 5;
            this.$store.dispatch('refreshToken');
            setInterval(() => {
                this.$store.dispatch('refreshToken');
            }, fiveMinutes);
        }
    }
</script><commit_msg>stop refreshing jwt every 5 minutes<commit_after><style>
    #lesspass .white-link {
        color: white;
    }

    #lesspass.card {
        border: none;
    }

    #lesspass .card-block {
        border: 1px solid rgba(0, 0, 0, 0.125);
        border-top: none;
    }

    @media (max-width: 470px) {
        #lesspass .card-block {
            border: none;
        }
    }

    #lesspass .white-link:hover, #lesspass .white-link:focus, #lesspass .white-link:active {
        text-decoration: none;
        color: white;
    }

    #lesspass, #lesspass * {
        border-radius: 0 !important;
    }
</style>
<template>
    <div id="lesspass" class="card" style="max-width: 470px;"
         v-bind:class="{ 'v1': version===1, 'v2': version===2 }">
        <lesspass-menu></lesspass-menu>
        <div class="card-block">
            <router-view></router-view>
        </div>
    </div>
</template>
<script type="text/ecmascript-6">
    import './LessPass.scss';
    import Menu from './components/Menu.vue';
    import {mapGetters} from 'vuex';

    export default {
        name: 'LessPass',
        components: {
            'lesspass-menu': Menu
        },
        computed: mapGetters(['version']),
        created(){
            this.$store.dispatch('loadPasswordFirstTime');
        }
    }
</script>
{'fraction_non_alphanumeric': 0.1591474245115453, 'fraction_numerical': 0.01705150976909414, 'mean_word_length': 1.9579831932773109, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 32, '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': '5032505', 'n_tokens_mistral': 938, 'n_tokens_neox': 882, 'n_words': 181}