t.displayName = "dot";
t.aliases = ["gv"];
function t(n) {
  (function(e) {
    var u = "(?:" + [
      // an identifier
      /[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,
      // a number
      /-?(?:\.\d+|\d+(?:\.\d*)?)/.source,
      // a double-quoted string
      /"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,
      // HTML-like string
      /<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source
    ].join("|") + ")", a = {
      markup: {
        pattern: /(^<)[\s\S]+(?=>$)/,
        lookbehind: !0,
        alias: ["language-markup", "language-html", "language-xml"],
        inside: e.languages.markup
      }
    };
    function r(o, i) {
      return RegExp(
        o.replace(/<ID>/g, function() {
          return u;
        }),
        i
      );
    }
    e.languages.dot = {
      comment: {
        pattern: /\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,
        greedy: !0
      },
      "graph-name": {
        pattern: r(
          /(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,
          "i"
        ),
        lookbehind: !0,
        greedy: !0,
        alias: "class-name",
        inside: a
      },
      "attr-value": {
        pattern: r(/(=[ \t\r\n]*)<ID>/.source),
        lookbehind: !0,
        greedy: !0,
        inside: a
      },
      "attr-name": {
        pattern: r(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),
        lookbehind: !0,
        greedy: !0,
        inside: a
      },
      keyword: /\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,
      "compass-point": {
        pattern: /(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,
        lookbehind: !0,
        alias: "builtin"
      },
      node: {
        pattern: r(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),
        lookbehind: !0,
        greedy: !0,
        inside: a
      },
      operator: /[=:]|-[->]/,
      punctuation: /[\[\]{};,]/
    }, e.languages.gv = e.languages.dot;
  })(n);
}
export {
  t as default
};
//# sourceMappingURL=dot.es.js.map
