<commit_before>const Cookies        = require('js-cookie');
const BinarySocket   = require('./socket');
const Client         = require('../base/client');
const isEuCountry    = require('../common/country_base').isEuCountry;

const InterviewPopup = (() => {
    const onLoad = () => {
        BinarySocket.wait('authorize', 'website_status', 'get_account_status').then(() => {
            const is_interview_consent = Cookies.get('InterviewConsent');

            if (Client.isLoggedIn() && isEuCountry() && !is_interview_consent) {
                const $interview_popup      = $('#interview_popup_container');
                const $interview_no_thanks  = $('#interview_no_thanks');
                const $interview_ask_later  = $('#interview_ask_later');
                const $interview_interested = $('#interview_interested');

                $interview_popup.removeClass('invisible');
                $interview_no_thanks.one('click', () => {
                    Cookies.set('InterviewConsent', 1);
                    $interview_popup.addClass('invisible');
                });
                $interview_ask_later.one('click', () => {
                    $interview_popup.addClass('invisible');
                });
                $interview_interested.one('click', () => {
                    $interview_popup.addClass('invisible');
                    Cookies.set('InterviewConsent', 1);
                    window.open('https://goo.gl/forms/XJFZlYsvo3K4FcQ02', '_blank');
                });
            }
        });
    };

    return {
        onLoad,
    };
})();

module.exports = InterviewPopup;
<commit_msg>remove extra spaces<commit_after>const Cookies      = require('js-cookie');
const BinarySocket = require('./socket');
const Client       = require('../base/client');
const isEuCountry  = require('../common/country_base').isEuCountry;

const InterviewPopup = (() => {
    const onLoad = () => {
        BinarySocket.wait('authorize', 'website_status', 'get_account_status').then(() => {
            const is_interview_consent = Cookies.get('InterviewConsent');

            if (Client.isLoggedIn() && isEuCountry() && !is_interview_consent) {
                const $interview_popup      = $('#interview_popup_container');
                const $interview_no_thanks  = $('#interview_no_thanks');
                const $interview_ask_later  = $('#interview_ask_later');
                const $interview_interested = $('#interview_interested');

                $interview_popup.removeClass('invisible');
                $interview_no_thanks.one('click', () => {
                    Cookies.set('InterviewConsent', 1);
                    $interview_popup.addClass('invisible');
                });
                $interview_ask_later.one('click', () => {
                    $interview_popup.addClass('invisible');
                });
                $interview_interested.one('click', () => {
                    $interview_popup.addClass('invisible');
                    Cookies.set('InterviewConsent', 1);
                    window.open('https://goo.gl/forms/XJFZlYsvo3K4FcQ02', '_blank');
                });
            }
        });
    };

    return {
        onLoad,
    };
})();

module.exports = InterviewPopup;

{'fraction_non_alphanumeric': 0.14963054187192118, 'fraction_numerical': 0.003694581280788177, 'mean_word_length': 2.0679886685552407, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '4321529', 'n_tokens_mistral': 948, 'n_tokens_neox': 867, 'n_words': 112}