{
  "type": "Program",
  "body": [
    {
      "type": "ExportNamedDeclaration",
      "declaration": {
        "type": "VariableDeclaration",
        "declarations": [
          {
            "type": "VariableDeclarator",
            "id": {
              "type": "Identifier",
              "name": "removeNbFormat",
              "range": [
                208,
                222
              ],
              "loc": {
                "start": {
                  "line": 11,
                  "column": 13
                },
                "end": {
                  "line": 11,
                  "column": 27
                }
              }
            },
            "init": {
              "type": "ArrowFunctionExpression",
              "id": null,
              "params": [
                {
                  "type": "Identifier",
                  "name": "data",
                  "range": [
                    226,
                    230
                  ],
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 31
                    },
                    "end": {
                      "line": 11,
                      "column": 35
                    }
                  }
                },
                {
                  "type": "AssignmentPattern",
                  "left": {
                    "type": "Identifier",
                    "name": "format",
                    "range": [
                      232,
                      238
                    ],
                    "loc": {
                      "start": {
                        "line": 11,
                        "column": 37
                      },
                      "end": {
                        "line": 11,
                        "column": 43
                      }
                    }
                  },
                  "right": {
                    "type": "Literal",
                    "value": "us",
                    "raw": "'us'",
                    "range": [
                      241,
                      245
                    ],
                    "loc": {
                      "start": {
                        "line": 11,
                        "column": 46
                      },
                      "end": {
                        "line": 11,
                        "column": 50
                      }
                    }
                  },
                  "range": [
                    232,
                    245
                  ],
                  "loc": {
                    "start": {
                      "line": 11,
                      "column": 37
                    },
                    "end": {
                      "line": 11,
                      "column": 50
                    }
                  }
                }
              ],
              "body": {
                "type": "BlockStatement",
                "body": [
                  {
                    "type": "VariableDeclaration",
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "id": {
                          "type": "Identifier",
                          "name": "n",
                          "range": [
                            260,
                            261
                          ],
                          "loc": {
                            "start": {
                              "line": 12,
                              "column": 8
                            },
                            "end": {
                              "line": 12,
                              "column": 9
                            }
                          }
                        },
                        "init": {
                          "type": "Identifier",
                          "name": "data",
                          "range": [
                            264,
                            268
                          ],
                          "loc": {
                            "start": {
                              "line": 12,
                              "column": 12
                            },
                            "end": {
                              "line": 12,
                              "column": 16
                            }
                          }
                        },
                        "range": [
                          260,
                          268
                        ],
                        "loc": {
                          "start": {
                            "line": 12,
                            "column": 8
                          },
                          "end": {
                            "line": 12,
                            "column": 16
                          }
                        }
                      }
                    ],
                    "kind": "let",
                    "range": [
                      256,
                      269
                    ],
                    "loc": {
                      "start": {
                        "line": 12,
                        "column": 4
                      },
                      "end": {
                        "line": 12,
                        "column": 17
                      }
                    }
                  },
                  {
                    "type": "IfStatement",
                    "test": {
                      "type": "BinaryExpression",
                      "operator": "===",
                      "left": {
                        "type": "CallExpression",
                        "callee": {
                          "type": "MemberExpression",
                          "computed": false,
                          "object": {
                            "type": "Identifier",
                            "name": "format",
                            "range": [
                              278,
                              284
                            ],
                            "loc": {
                              "start": {
                                "line": 13,
                                "column": 8
                              },
                              "end": {
                                "line": 13,
                                "column": 14
                              }
                            }
                          },
                          "property": {
                            "type": "Identifier",
                            "name": "toLowerCase",
                            "range": [
                              285,
                              296
                            ],
                            "loc": {
                              "start": {
                                "line": 13,
                                "column": 15
                              },
                              "end": {
                                "line": 13,
                                "column": 26
                              }
                            }
                          },
                          "range": [
                            278,
                            296
                          ],
                          "loc": {
                            "start": {
                              "line": 13,
                              "column": 8
                            },
                            "end": {
                              "line": 13,
                              "column": 26
                            }
                          }
                        },
                        "arguments": [],
                        "range": [
                          278,
                          298
                        ],
                        "loc": {
                          "start": {
                            "line": 13,
                            "column": 8
                          },
                          "end": {
                            "line": 13,
                            "column": 28
                          }
                        }
                      },
                      "right": {
                        "type": "Literal",
                        "value": "us",
                        "raw": "'us'",
                        "range": [
                          303,
                          307
                        ],
                        "loc": {
                          "start": {
                            "line": 13,
                            "column": 33
                          },
                          "end": {
                            "line": 13,
                            "column": 37
                          }
                        }
                      },
                      "range": [
                        278,
                        307
                      ],
                      "loc": {
                        "start": {
                          "line": 13,
                          "column": 8
                        },
                        "end": {
                          "line": 13,
                          "column": 37
                        }
                      }
                    },
                    "consequent": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "AssignmentExpression",
                            "operator": "=",
                            "left": {
                              "type": "Identifier",
                              "name": "n",
                              "range": [
                                319,
                                320
                              ],
                              "loc": {
                                "start": {
                                  "line": 14,
                                  "column": 8
                                },
                                "end": {
                                  "line": 14,
                                  "column": 9
                                }
                              }
                            },
                            "right": {
                              "type": "UnaryExpression",
                              "operator": "+",
                              "argument": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "Identifier",
                                    "name": "n",
                                    "range": [
                                      325,
                                      326
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 14,
                                        "column": 14
                                      },
                                      "end": {
                                        "line": 14,
                                        "column": 15
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "replace",
                                    "range": [
                                      327,
                                      334
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 14,
                                        "column": 16
                                      },
                                      "end": {
                                        "line": 14,
                                        "column": 23
                                      }
                                    }
                                  },
                                  "range": [
                                    325,
                                    334
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 14,
                                      "column": 14
                                    },
                                    "end": {
                                      "line": 14,
                                      "column": 23
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Literal",
                                    "value": {},
                                    "raw": "/[^\\d\\.-]/g",
                                    "regex": {
                                      "pattern": "[^\\d\\.-]",
                                      "flags": "g"
                                    },
                                    "range": [
                                      335,
                                      346
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 14,
                                        "column": 24
                                      },
                                      "end": {
                                        "line": 14,
                                        "column": 35
                                      }
                                    }
                                  },
                                  {
                                    "type": "Literal",
                                    "value": "",
                                    "raw": "''",
                                    "range": [
                                      348,
                                      350
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 14,
                                        "column": 37
                                      },
                                      "end": {
                                        "line": 14,
                                        "column": 39
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  325,
                                  351
                                ],
                                "loc": {
                                  "start": {
                                    "line": 14,
                                    "column": 14
                                  },
                                  "end": {
                                    "line": 14,
                                    "column": 40
                                  }
                                }
                              },
                              "prefix": true,
                              "range": [
                                323,
                                351
                              ],
                              "loc": {
                                "start": {
                                  "line": 14,
                                  "column": 12
                                },
                                "end": {
                                  "line": 14,
                                  "column": 40
                                }
                              }
                            },
                            "range": [
                              319,
                              351
                            ],
                            "loc": {
                              "start": {
                                "line": 14,
                                "column": 8
                              },
                              "end": {
                                "line": 14,
                                "column": 40
                              }
                            }
                          },
                          "range": [
                            319,
                            352
                          ],
                          "loc": {
                            "start": {
                              "line": 14,
                              "column": 8
                            },
                            "end": {
                              "line": 14,
                              "column": 41
                            }
                          }
                        }
                      ],
                      "range": [
                        309,
                        358
                      ],
                      "loc": {
                        "start": {
                          "line": 13,
                          "column": 39
                        },
                        "end": {
                          "line": 15,
                          "column": 5
                        }
                      }
                    },
                    "alternate": {
                      "type": "BlockStatement",
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "expression": {
                            "type": "AssignmentExpression",
                            "operator": "=",
                            "left": {
                              "type": "Identifier",
                              "name": "n",
                              "range": [
                                374,
                                375
                              ],
                              "loc": {
                                "start": {
                                  "line": 16,
                                  "column": 8
                                },
                                "end": {
                                  "line": 16,
                                  "column": 9
                                }
                              }
                            },
                            "right": {
                              "type": "UnaryExpression",
                              "operator": "+",
                              "argument": {
                                "type": "CallExpression",
                                "callee": {
                                  "type": "MemberExpression",
                                  "computed": false,
                                  "object": {
                                    "type": "CallExpression",
                                    "callee": {
                                      "type": "MemberExpression",
                                      "computed": false,
                                      "object": {
                                        "type": "Identifier",
                                        "name": "n",
                                        "range": [
                                          380,
                                          381
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 16,
                                            "column": 14
                                          },
                                          "end": {
                                            "line": 16,
                                            "column": 15
                                          }
                                        }
                                      },
                                      "property": {
                                        "type": "Identifier",
                                        "name": "replace",
                                        "range": [
                                          382,
                                          389
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 16,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 16,
                                            "column": 23
                                          }
                                        }
                                      },
                                      "range": [
                                        380,
                                        389
                                      ],
                                      "loc": {
                                        "start": {
                                          "line": 16,
                                          "column": 14
                                        },
                                        "end": {
                                          "line": 16,
                                          "column": 23
                                        }
                                      }
                                    },
                                    "arguments": [
                                      {
                                        "type": "Literal",
                                        "value": {},
                                        "raw": "/[^\\d\\,-]/g",
                                        "regex": {
                                          "pattern": "[^\\d\\,-]",
                                          "flags": "g"
                                        },
                                        "range": [
                                          390,
                                          401
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 16,
                                            "column": 24
                                          },
                                          "end": {
                                            "line": 16,
                                            "column": 35
                                          }
                                        }
                                      },
                                      {
                                        "type": "Literal",
                                        "value": "",
                                        "raw": "''",
                                        "range": [
                                          403,
                                          405
                                        ],
                                        "loc": {
                                          "start": {
                                            "line": 16,
                                            "column": 37
                                          },
                                          "end": {
                                            "line": 16,
                                            "column": 39
                                          }
                                        }
                                      }
                                    ],
                                    "range": [
                                      380,
                                      406
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 16,
                                        "column": 14
                                      },
                                      "end": {
                                        "line": 16,
                                        "column": 40
                                      }
                                    }
                                  },
                                  "property": {
                                    "type": "Identifier",
                                    "name": "replace",
                                    "range": [
                                      407,
                                      414
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 16,
                                        "column": 41
                                      },
                                      "end": {
                                        "line": 16,
                                        "column": 48
                                      }
                                    }
                                  },
                                  "range": [
                                    380,
                                    414
                                  ],
                                  "loc": {
                                    "start": {
                                      "line": 16,
                                      "column": 14
                                    },
                                    "end": {
                                      "line": 16,
                                      "column": 48
                                    }
                                  }
                                },
                                "arguments": [
                                  {
                                    "type": "Literal",
                                    "value": ",",
                                    "raw": "','",
                                    "range": [
                                      415,
                                      418
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 16,
                                        "column": 49
                                      },
                                      "end": {
                                        "line": 16,
                                        "column": 52
                                      }
                                    }
                                  },
                                  {
                                    "type": "Literal",
                                    "value": ".",
                                    "raw": "'.'",
                                    "range": [
                                      420,
                                      423
                                    ],
                                    "loc": {
                                      "start": {
                                        "line": 16,
                                        "column": 54
                                      },
                                      "end": {
                                        "line": 16,
                                        "column": 57
                                      }
                                    }
                                  }
                                ],
                                "range": [
                                  380,
                                  424
                                ],
                                "loc": {
                                  "start": {
                                    "line": 16,
                                    "column": 14
                                  },
                                  "end": {
                                    "line": 16,
                                    "column": 58
                                  }
                                }
                              },
                              "prefix": true,
                              "range": [
                                378,
                                424
                              ],
                              "loc": {
                                "start": {
                                  "line": 16,
                                  "column": 12
                                },
                                "end": {
                                  "line": 16,
                                  "column": 58
                                }
                              }
                            },
                            "range": [
                              374,
                              424
                            ],
                            "loc": {
                              "start": {
                                "line": 16,
                                "column": 8
                              },
                              "end": {
                                "line": 16,
                                "column": 58
                              }
                            }
                          },
                          "range": [
                            374,
                            425
                          ],
                          "loc": {
                            "start": {
                              "line": 16,
                              "column": 8
                            },
                            "end": {
                              "line": 16,
                              "column": 59
                            }
                          }
                        }
                      ],
                      "range": [
                        364,
                        431
                      ],
                      "loc": {
                        "start": {
                          "line": 15,
                          "column": 11
                        },
                        "end": {
                          "line": 17,
                          "column": 5
                        }
                      }
                    },
                    "range": [
                      274,
                      431
                    ],
                    "loc": {
                      "start": {
                        "line": 13,
                        "column": 4
                      },
                      "end": {
                        "line": 17,
                        "column": 5
                      }
                    }
                  },
                  {
                    "type": "ReturnStatement",
                    "argument": {
                      "type": "Identifier",
                      "name": "n",
                      "range": [
                        443,
                        444
                      ],
                      "loc": {
                        "start": {
                          "line": 18,
                          "column": 11
                        },
                        "end": {
                          "line": 18,
                          "column": 12
                        }
                      }
                    },
                    "range": [
                      436,
                      445
                    ],
                    "loc": {
                      "start": {
                        "line": 18,
                        "column": 4
                      },
                      "end": {
                        "line": 18,
                        "column": 13
                      }
                    }
                  }
                ],
                "range": [
                  250,
                  447
                ],
                "loc": {
                  "start": {
                    "line": 11,
                    "column": 55
                  },
                  "end": {
                    "line": 19,
                    "column": 1
                  }
                }
              },
              "generator": false,
              "expression": false,
              "range": [
                225,
                447
              ],
              "loc": {
                "start": {
                  "line": 11,
                  "column": 30
                },
                "end": {
                  "line": 19,
                  "column": 1
                }
              }
            },
            "range": [
              208,
              447
            ],
            "loc": {
              "start": {
                "line": 11,
                "column": 13
              },
              "end": {
                "line": 19,
                "column": 1
              }
            }
          }
        ],
        "kind": "const",
        "range": [
          202,
          448
        ],
        "loc": {
          "start": {
            "line": 11,
            "column": 7
          },
          "end": {
            "line": 20,
            "column": 0
          }
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Misc helpers\n ",
            "range": [
              0,
              23
            ],
            "loc": {
              "start": {
                "line": 1,
                "column": 0
              },
              "end": {
                "line": 3,
                "column": 3
              }
            }
          },
          {
            "type": "Block",
            "value": "*\n * Returns a unformatted number\n * @param {String} Formatted number\n * @param {String} Format type, currently 'us' or 'eu'\n * @return {String} Unformatted number\n ",
            "range": [
              25,
              194
            ],
            "loc": {
              "start": {
                "line": 5,
                "column": 0
              },
              "end": {
                "line": 10,
                "column": 3
              }
            }
          }
        ],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null,
      "range": [
        195,
        448
      ],
      "loc": {
        "start": {
          "line": 11,
          "column": 0
        },
        "end": {
          "line": 20,
          "column": 0
        }
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Misc helpers\n ",
          "range": [
            0,
            23
          ],
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 3,
              "column": 3
            }
          }
        },
        {
          "type": "Block",
          "value": "*\n * Returns a unformatted number\n * @param {String} Formatted number\n * @param {String} Format type, currently 'us' or 'eu'\n * @return {String} Unformatted number\n ",
          "range": [
            25,
            194
          ],
          "loc": {
            "start": {
              "line": 5,
              "column": 0
            },
            "end": {
              "line": 10,
              "column": 3
            }
          }
        }
      ]
    }
  ],
  "sourceType": "module",
  "range": [
    195,
    448
  ],
  "loc": {
    "start": {
      "line": 11,
      "column": 0
    },
    "end": {
      "line": 20,
      "column": 0
    }
  },
  "comments": [
    {
      "type": "Block",
      "value": "*\n * Misc helpers\n ",
      "range": [
        0,
        23
      ],
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 3
        }
      }
    },
    {
      "type": "Block",
      "value": "*\n * Returns a unformatted number\n * @param {String} Formatted number\n * @param {String} Format type, currently 'us' or 'eu'\n * @return {String} Unformatted number\n ",
      "range": [
        25,
        194
      ],
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 10,
          "column": 3
        }
      }
    }
  ]
}