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

// ../node_modules/highlight.js/lib/languages/awk.js
var c = b((o, r) => {
  function E(e) {
    let i = {
      className: "variable",
      variants: [
        {
          begin: /\$[\w\d#@][\w\d_]*/
        },
        {
          begin: /\$\{(.*?)\}/
        }
      ]
    }, a = "BEGIN END if else while do for in break continue delete next nextfile function func exit|10", t = {
      className: "string",
      contains: [e.BACKSLASH_ESCAPE],
      variants: [
        {
          begin: /(u|b)?r?'''/,
          end: /'''/,
          relevance: 10
        },
        {
          begin: /(u|b)?r?"""/,
          end: /"""/,
          relevance: 10
        },
        {
          begin: /(u|r|ur)'/,
          end: /'/,
          relevance: 10
        },
        {
          begin: /(u|r|ur)"/,
          end: /"/,
          relevance: 10
        },
        {
          begin: /(b|br)'/,
          end: /'/
        },
        {
          begin: /(b|br)"/,
          end: /"/
        },
        e.APOS_STRING_MODE,
        e.QUOTE_STRING_MODE
      ]
    };
    return {
      name: "Awk",
      keywords: {
        keyword: a
      },
      contains: [
        i,
        t,
        e.REGEXP_MODE,
        e.HASH_COMMENT_MODE,
        e.NUMBER_MODE
      ]
    };
  }
  n(E, "awk");
  r.exports = E;
});

export {
  c as a
};
