import r from "./json.es.js";
a.displayName = "json5";
a.aliases = [];
function a(e) {
  e.register(r), (function(n) {
    var t = /("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;
    n.languages.json5 = n.languages.extend("json", {
      property: [
        {
          pattern: RegExp(t.source + "(?=\\s*:)"),
          greedy: !0
        },
        {
          pattern: /(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,
          alias: "unquoted"
        }
      ],
      string: {
        pattern: t,
        greedy: !0
      },
      number: /[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/
    });
  })(e);
}
export {
  a as default
};
//# sourceMappingURL=json5.es.js.map
