<commit_before>import { copy, module } from 'angular';

export default module('app.components.wizard-internet', [])
  .component('wizardInternet', {
    bindings: {
      internet: '<',
      onUpdate: '&',
    },
    // TODO: handle vpn
    controller: class WizardContactCtrl {

      constructor($scope) {
        'ngInject';

        this.newInternet = {};
        this.internetTunnelEnabled = false;
        this.meshTunnelEnabled = false;
        this.internetTunnelConf = [
          {
            fileExtensions: '.ovpn,.cnf,text/*',
            property: 'config',
            tunnelType: 'internettunnel',
            required: true,
          },
          {
            fileExtensions: '.crt,text/*',
            tunnelType: 'internettunnel',
            property: 'cert',
          },
          {
            fileExtensions: '.crt,text/*',
            tunnelType: 'internettunnel',
            property: 'cacert',
          },
          {
            fileExtensions: '.key,text/*',
            tunnelType: 'internettunnel',
            property: 'key',
          },
          {
            fileExtensions: '.key,text/*',
            tunnelType: 'internettunnel',
            property: 'takey',
          },<commit_msg>remove todo and variable initialisation<commit_after>import { copy, module } from 'angular';

export default module('app.components.wizard-internet', [])
  .component('wizardInternet', {
    bindings: {
      internet: '<',
      onUpdate: '&',
    },
    controller: class WizardContactCtrl {

      constructor($scope) {
        'ngInject';

        this.newInternet = {};
        this.internetTunnelConf = [
          {
            fileExtensions: '.ovpn,.cnf,text/*',
            property: 'config',
            tunnelType: 'internettunnel',
            required: true,
          },
          {
            fileExtensions: '.crt,text/*',
            tunnelType: 'internettunnel',
            property: 'cert',
          },
          {
            fileExtensions: '.crt,text/*',
            tunnelType: 'internettunnel',
            property: 'cacert',
          },
          {
            fileExtensions: '.key,text/*',
            tunnelType: 'internettunnel',
            property: 'key',
          },
          {
            fileExtensions: '.key,text/*',
            tunnelType: 'internettunnel',
            property: 'takey',
          },
{'fraction_non_alphanumeric': 0.13414634146341464, 'fraction_numerical': 0.0, 'mean_word_length': 1.5774647887323943, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '248320', 'n_tokens_mistral': 637, 'n_tokens_neox': 640, 'n_words': 113}