<commit_before>import { MaskFactory } from './mask-factory';
import { Mask } from '../../mask';

const predefinedMasks: { [type: string]: Mask } = {
  'brCelular': new Mask('(00) 00009-0000'),
  'brCep': new Mask('00000-000'),
  'brCnpj': new Mask('00.000.000/0000-00'),
  'brCpf': new Mask('000.000.000-00'),
  'brData': new Mask('00/00/0000'),
  'brMoeda': new Mask('#.##0,00', { reverse: true }),
  'brTelefone': new Mask('(00) 0000-0000'),
  'usPhone': new Mask('(000) 000-0000'),
  'coordinateLat': new Mask('000º00.0000\'~', { translation: { '~': { pattern: /[N|S]/ } } }),
  'coordinateLong': new Mask('000º00.0000\'~', { translation: { '~': { pattern: /[N|S]/ } } }),
  'date': new Mask('00/00/0000'),
  'dateTime': new Mask('00/00/0000 00:00:00'),
  'time': new Mask('00:00:00')
};

export class PredefinedTypeMaskFactory extends MaskFactory {

  public static getTypes(): string[] {

    return Object.keys(predefinedMasks);
  }

  public create(): Mask {<commit_msg>[FIX] Fixes the Predefined Type Mask coordinateLong<commit_after>import { MaskFactory } from './mask-factory';
import { Mask } from '../../mask';

const predefinedMasks: { [type: string]: Mask } = {
  'brCelular': new Mask('(00) 00009-0000'),
  'brCep': new Mask('00000-000'),
  'brCnpj': new Mask('00.000.000/0000-00'),
  'brCpf': new Mask('000.000.000-00'),
  'brData': new Mask('00/00/0000'),
  'brMoeda': new Mask('#.##0,00', { reverse: true }),
  'brTelefone': new Mask('(00) 0000-0000'),
  'usPhone': new Mask('(000) 000-0000'),
  'coordinateLat': new Mask('000º00.0000\'~', { translation: { '~': { pattern: /[N|S]/ } } }),
  'coordinateLong': new Mask('000º00.0000\'~', { translation: { '~': { pattern: /[E|W]/ } } }),
  'date': new Mask('00/00/0000'),
  'dateTime': new Mask('00/00/0000 00:00:00'),
  'time': new Mask('00:00:00')
};

export class PredefinedTypeMaskFactory extends MaskFactory {

  public static getTypes(): string[] {

    return Object.keys(predefinedMasks);
  }

  public create(): Mask {
{'fraction_non_alphanumeric': 0.23393574297188754, 'fraction_numerical': 0.1214859437751004, 'mean_word_length': 4.343163538873995, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2557705', 'n_tokens_mistral': 894, 'n_tokens_neox': 726, 'n_words': 162}