import {
  a as c,
  c as E
} from "./chunk-IO47FP3U.js";

// ../node_modules/highlight.js/lib/languages/properties.js
var b = E((o, v) => {
  function u(l) {
    var e = "[ \\t\\f]*", g = "[ \\t\\f]+", r = e + "[:=]" + e, t = g, s = "(" + r + "|" + t + ")", n = "([^\\\\\\W:= \\t\\f\\n]|\\\\.)+", a = "([^\\\\:= \\t\\f\\n]|\\\\.)+", i = {
      // skip DELIM
      end: s,
      relevance: 0,
      starts: {
        // value: everything until end of line (again, taking into account backslashes)
        className: "string",
        end: /$/,
        relevance: 0,
        contains: [
          { begin: "\\\\\\\\" },
          { begin: "\\\\\\n" }
        ]
      }
    };
    return {
      name: ".properties",
      case_insensitive: !0,
      illegal: /\S/,
      contains: [
        l.COMMENT("^\\s*[!#]", "$"),
        // key: everything until whitespace or = or : (taking into account backslashes)
        // case of a "normal" key
        {
          returnBegin: !0,
          variants: [
            { begin: n + r, relevance: 1 },
            { begin: n + t, relevance: 0 }
          ],
          contains: [
            {
              className: "attr",
              begin: n,
              endsParent: !0,
              relevance: 0
            }
          ],
          starts: i
        },
        // case of key containing non-alphanumeric chars => relevance = 0
        {
          begin: a + s,
          returnBegin: !0,
          relevance: 0,
          contains: [
            {
              className: "meta",
              begin: a,
              endsParent: !0,
              relevance: 0
            }
          ],
          starts: i
        },
        // case of an empty key
        {
          className: "attr",
          relevance: 0,
          begin: a + e + "$"
        }
      ]
    };
  }
  c(u, "properties");
  v.exports = u;
});

export {
  b as a
};
