import ESM_COMPAT_Module from "node:module"; import { fileURLToPath as ESM_COMPAT_fileURLToPath } from 'node:url'; import { dirname as ESM_COMPAT_dirname } from 'node:path'; const __filename = ESM_COMPAT_fileURLToPath(import.meta.url); const __dirname = ESM_COMPAT_dirname(__filename); const require = ESM_COMPAT_Module.createRequire(import.meta.url); var l_ = Object.create; var Qn = Object.defineProperty; var c_ = Object.getOwnPropertyDescriptor; var h_ = Object.getOwnPropertyNames; var p_ = Object.getPrototypeOf, f_ = Object.prototype.hasOwnProperty; var s = (e, t) => Qn(e, "name", { value: t, configurable: !0 }), J = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (t, r) => (typeof require < "u" ? require : t)[r] }) : e)(function(e) { if (typeof require < "u") return require.apply(this, arguments); throw Error('Dynamic require of "' + e + '" is not supported'); }); var ct = (e, t) => () => (e && (t = e(e = 0)), t); var I = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Ti = (e, t) => { for (var r in t) Qn(e, r, { get: t[r], enumerable: !0 }); }, au = (e, t, r, i) => { if (t && typeof t == "object" || typeof t == "function") for (let n of h_(t)) !f_.call(e, n) && n !== r && Qn(e, n, { get: () => t[n], enumerable: !(i = c_(t, n)) || i.enumerable }); return e; }, gm = (e, t, r) => (au(e, t, "default"), r && au(r, t, "default")), fe = (e, t, r) => (r = e != null ? l_(p_(e)) : {}, au( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. t || !e || !e.__esModule ? Qn(r, "default", { value: e, enumerable: !0 }) : r, e )), Ro = (e) => au(Qn({}, "__esModule", { value: !0 }), e); // ../node_modules/@storybook/global/dist/index.js var Lo = I((KU, ym) => { "use strict"; var No = Object.defineProperty, d_ = Object.getOwnPropertyDescriptor, m_ = Object.getOwnPropertyNames, D_ = Object.prototype.hasOwnProperty, g_ = /* @__PURE__ */ s((e, t) => { for (var r in t) No(e, r, { get: t[r], enumerable: !0 }); }, "__export"), x_ = /* @__PURE__ */ s((e, t, r, i) => { if (t && typeof t == "object" || typeof t == "function") for (let n of m_(t)) !D_.call(e, n) && n !== r && No(e, n, { get: /* @__PURE__ */ s(() => t[n], "get"), enumerable: !(i = d_(t, n)) || i.enumerable }); return e; }, "__copyProps"), y_ = /* @__PURE__ */ s((e) => x_(No({}, "__esModule", { value: !0 }), e), "__toCommonJS"), xm = {}; g_(xm, { global: /* @__PURE__ */ s(() => b_, "global") }); ym.exports = y_(xm); var b_ = (() => { let e; return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ? e = self : e = {}, e; })(); }); // ../node_modules/picocolors/picocolors.js var dr = I((ZU, Mo) => { var bm = process.argv || [], ou = process.env, E_ = !("NO_COLOR" in ou || bm.includes("--no-color")) && ("FORCE_COLOR" in ou || bm.includes( "--color") || process.platform === "win32" || J != null && J("tty").isatty(1) && ou.TERM !== "dumb" || "CI" in ou), C_ = /* @__PURE__ */ s( (e, t, r = e) => (i) => { let n = "" + i, u = n.indexOf(t, e.length); return ~u ? e + v_(n, t, r, u) + t : e + n + t; }, "formatter"), v_ = /* @__PURE__ */ s((e, t, r, i) => { let n = "", u = 0; do n += e.substring(u, i) + r, u = i + t.length, i = e.indexOf(t, u); while (~i); return n + e.substring(u); }, "replaceClose"), Em = /* @__PURE__ */ s((e = E_) => { let t = e ? C_ : () => String; return { isColorSupported: e, reset: t("\x1B[0m", "\x1B[0m"), bold: t("\x1B[1m", "\x1B[22m", "\x1B[22m\x1B[1m"), dim: t("\x1B[2m", "\x1B[22m", "\x1B[22m\x1B[2m"), italic: t("\x1B[3m", "\x1B[23m"), underline: t("\x1B[4m", "\x1B[24m"), inverse: t("\x1B[7m", "\x1B[27m"), hidden: t("\x1B[8m", "\x1B[28m"), strikethrough: t("\x1B[9m", "\x1B[29m"), black: t("\x1B[30m", "\x1B[39m"), red: t("\x1B[31m", "\x1B[39m"), green: t("\x1B[32m", "\x1B[39m"), yellow: t("\x1B[33m", "\x1B[39m"), blue: t("\x1B[34m", "\x1B[39m"), magenta: t("\x1B[35m", "\x1B[39m"), cyan: t("\x1B[36m", "\x1B[39m"), white: t("\x1B[37m", "\x1B[39m"), gray: t("\x1B[90m", "\x1B[39m"), bgBlack: t("\x1B[40m", "\x1B[49m"), bgRed: t("\x1B[41m", "\x1B[49m"), bgGreen: t("\x1B[42m", "\x1B[49m"), bgYellow: t("\x1B[43m", "\x1B[49m"), bgBlue: t("\x1B[44m", "\x1B[49m"), bgMagenta: t("\x1B[45m", "\x1B[49m"), bgCyan: t("\x1B[46m", "\x1B[49m"), bgWhite: t("\x1B[47m", "\x1B[49m"), blackBright: t("\x1B[90m", "\x1B[39m"), redBright: t("\x1B[91m", "\x1B[39m"), greenBright: t("\x1B[92m", "\x1B[39m"), yellowBright: t("\x1B[93m", "\x1B[39m"), blueBright: t("\x1B[94m", "\x1B[39m"), magentaBright: t("\x1B[95m", "\x1B[39m"), cyanBright: t("\x1B[96m", "\x1B[39m"), whiteBright: t("\x1B[97m", "\x1B[39m"), bgBlackBright: t("\x1B[100m", "\x1B[49m"), bgRedBright: t("\x1B[101m", "\x1B[49m"), bgGreenBright: t("\x1B[102m", "\x1B[49m"), bgYellowBright: t("\x1B[103m", "\x1B[49m"), bgBlueBright: t("\x1B[104m", "\x1B[49m"), bgMagentaBright: t("\x1B[105m", "\x1B[49m"), bgCyanBright: t("\x1B[106m", "\x1B[49m"), bgWhiteBright: t("\x1B[107m", "\x1B[49m") }; }, "createColors"); Mo.exports = Em(); Mo.exports.createColors = Em; }); // ../node_modules/unicorn-magic/default.js var wm = ct(() => { }); // ../node_modules/unicorn-magic/node.js import { fileURLToPath as P_ } from "node:url"; function ti(e) { return e instanceof URL ? P_(e) : e; } var hu = ct(() => { wm(); s(ti, "toPath"); }); // ../node_modules/slash/index.js function tt(e) { return e.startsWith("\\\\?\\") ? e : e.replace(/\\/g, "/"); } var ts = ct(() => { s(tt, "slash"); }); // ../node_modules/ts-dedent/dist/index.js var ri = I((rs) => { "use strict"; Object.defineProperty(rs, "__esModule", { value: !0 }); rs.dedent = void 0; function Fm(e) { for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; var i = Array.from(typeof e == "string" ? [e] : e); i[i.length - 1] = i[i.length - 1].replace(/\r?\n([\t ]*)$/, ""); var n = i.reduce(function(o, l) { var c = l.match(/\n([\t ]+|(?!\s).)/g); return c ? o.concat(c.map(function(h) { var p, d; return (d = (p = h.match(/[\t ]/g)) === null || p === void 0 ? void 0 : p.length) !== null && d !== void 0 ? d : 0; })) : o; }, []); if (n.length) { var u = new RegExp(` [ ]{` + Math.min.apply(Math, n) + "}", "g"); i = i.map(function(o) { return o.replace(u, ` `); }); } i[0] = i[0].replace(/^\r?\n/, ""); var a = i[0]; return t.forEach(function(o, l) { var c = a.match(/(?:^|\n)( *)$/), h = c ? c[1] : "", p = o; typeof o == "string" && o.includes(` `) && (p = String(o).split(` `).map(function(d, m) { return m === 0 ? d : "" + h + d; }).join(` `)), a += p + i[l + 1]; }), a; } s(Fm, "dedent"); rs.dedent = Fm; rs.default = Fm; }); // ../node_modules/tsconfig-paths/lib/filesystem.js var pu = I((Mt) => { "use strict"; Object.defineProperty(Mt, "__esModule", { value: !0 }); Mt.removeExtension = Mt.fileExistsAsync = Mt.readJsonFromDiskAsync = Mt.readJsonFromDiskSync = Mt.fileExistsSync = void 0; var is = J("fs"); function N_(e) { if (!is.existsSync(e)) return !1; try { var t = is.statSync(e); return t.isFile(); } catch { return !1; } } s(N_, "fileExistsSync"); Mt.fileExistsSync = N_; function L_(e) { if (is.existsSync(e)) return J(e); } s(L_, "readJsonFromDiskSync"); Mt.readJsonFromDiskSync = L_; function M_(e, t) { is.readFile(e, "utf8", function(r, i) { if (r || !i) return t(); var n = JSON.parse(i); return t(void 0, n); }); } s(M_, "readJsonFromDiskAsync"); Mt.readJsonFromDiskAsync = M_; function j_(e, t) { is.stat(e, function(r, i) { if (r) return t(void 0, !1); t(void 0, i ? i.isFile() : !1); }); } s(j_, "fileExistsAsync"); Mt.fileExistsAsync = j_; function q_(e) { return e.substring(0, e.lastIndexOf(".")) || e; } s(q_, "removeExtension"); Mt.removeExtension = q_; }); // ../node_modules/tsconfig-paths/lib/mapping-entry.js var zo = I((fu) => { "use strict"; Object.defineProperty(fu, "__esModule", { value: !0 }); fu.getAbsoluteMappingEntries = void 0; var $_ = J("path"); function V_(e, t, r) { for (var i = z_(Object.keys(t)), n = [], u = 0, a = i; u < a.length; u++) { var o = a[u]; n.push({ pattern: o, paths: t[o].map(function(l) { return $_.resolve(e, l); }) }); } return !t["*"] && r && n.push({ pattern: "*", paths: ["".concat(e.replace(/\/$/, ""), "/*")] }), n; } s(V_, "getAbsoluteMappingEntries"); fu.getAbsoluteMappingEntries = V_; function z_(e) { return e.concat().sort(function(t, r) { return Sm(r) - Sm(t); }); } s(z_, "sortByLongestPrefix"); function Sm(e) { var t = e.indexOf("*"); return e.substr(0, t).length; } s(Sm, "getPrefixLength"); }); // ../node_modules/tsconfig-paths/lib/try-path.js var Uo = I((ii) => { "use strict"; Object.defineProperty(ii, "__esModule", { value: !0 }); ii.exhaustiveTypeException = ii.getStrippedPath = ii.getPathsToTry = void 0; var _m = J("path"), U_ = J("path"), H_ = pu(); function W_(e, t, r) { if (!(!t || !r || r[0] === ".")) { for (var i = [], n = 0, u = t; n < u.length; n++) { var a = u[n], o = a.pattern === r ? "" : G_(a.pattern, r); if (o !== void 0) for (var l = /* @__PURE__ */ s(function(d) { var m = d.replace("*", o); i.push({ type: "file", path: m }), i.push.apply(i, e.map(function(g) { return { type: "extension", path: m + g }; })), i.push({ type: "package", path: _m.join(m, "/package.json") }); var D = _m.join(m, "/index"); i.push.apply(i, e.map(function(g) { return { type: "index", path: D + g }; })); }, "_loop_1"), c = 0, h = a.paths; c < h.length; c++) { var p = h[c]; l(p); } } return i.length === 0 ? void 0 : i; } } s(W_, "getPathsToTry"); ii.getPathsToTry = W_; function J_(e) { return e.type === "index" ? (0, U_.dirname)(e.path) : e.type === "file" ? e.path : e.type === "extension" ? (0, H_.removeExtension)(e.path) : e.type === "package" ? e.path : km(e.type); } s(J_, "getStrippedPath"); ii.getStrippedPath = J_; function km(e) { throw new Error("Unknown type ".concat(e)); } s(km, "exhaustiveTypeException"); ii.exhaustiveTypeException = km; function G_(e, t) { if (!(t.length < e.length)) { if (e === "*") return t; var r = e.indexOf("*"); if (r !== -1) { var i = e.substring(0, r), n = e.substring(r + 1); if (t.substr(0, r) === i && t.substr(t.length - n.length) === n) return t.substr(r, t.length - n.length); } } } s(G_, "matchStar"); }); // ../node_modules/tsconfig-paths/lib/match-path-sync.js var Jo = I((Qi) => { "use strict"; Object.defineProperty(Qi, "__esModule", { value: !0 }); Qi.matchFromAbsolutePaths = Qi.createMatchPath = void 0; var Bm = J("path"), Ho = pu(), X_ = zo(), Wo = Uo(); function Y_(e, t, r, i) { r === void 0 && (r = ["main"]), i === void 0 && (i = !0); var n = X_.getAbsoluteMappingEntries(e, t, i); return function(u, a, o, l) { return Tm(n, u, a, o, l, r); }; } s(Y_, "createMatchPath"); Qi.createMatchPath = Y_; function Tm(e, t, r, i, n, u) { r === void 0 && (r = Ho.readJsonFromDiskSync), i === void 0 && (i = Ho.fileExistsSync), n === void 0 && (n = Object.keys(J.extensions)), u === void 0 && (u = ["main"]); var a = Wo.getPathsToTry(n, e, t); if (a) return Q_(a, r, i, u); } s(Tm, "matchFromAbsolutePaths"); Qi.matchFromAbsolutePaths = Tm; function K_(e, t, r, i) { for (var n = 0; n < t.length; n++) { var u = t[n], a = typeof u == "string" ? e[u] : u.reduce(function(l, c) { return l[c]; }, e); if (a && typeof a == "string") { var o = Bm.join(Bm.dirname(r), a); if (i(o)) return o; } } } s(K_, "findFirstExistingMainFieldMappedFile"); function Q_(e, t, r, i) { t === void 0 && (t = Ho.readJsonFromDiskSync), i === void 0 && (i = ["main"]); for (var n = 0, u = e; n < u.length; n++) { var a = u[n]; if (a.type === "file" || a.type === "extension" || a.type === "index") { if (r(a.path)) return Wo.getStrippedPath(a); } else if (a.type === "package") { var o = t(a.path); if (o) { var l = K_(o, i, a.path, r); if (l) return l; } } else Wo.exhaustiveTypeException(a.type); } } s(Q_, "findFirstExistingPath"); }); // ../node_modules/tsconfig-paths/lib/match-path-async.js var Nm = I((Zi) => { "use strict"; Object.defineProperty(Zi, "__esModule", { value: !0 }); Zi.matchFromAbsolutePathsAsync = Zi.createMatchPathAsync = void 0; var Pm = J("path"), Go = Uo(), Z_ = zo(), Im = pu(); function ek(e, t, r, i) { r === void 0 && (r = ["main"]), i === void 0 && (i = !0); var n = Z_.getAbsoluteMappingEntries(e, t, i); return function(u, a, o, l, c) { return Om(n, u, a, o, l, c, r); }; } s(ek, "createMatchPathAsync"); Zi.createMatchPathAsync = ek; function Om(e, t, r, i, n, u, a) { r === void 0 && (r = Im.readJsonFromDiskAsync), i === void 0 && (i = Im.fileExistsAsync), n === void 0 && (n = Object.keys(J.extensions)), a === void 0 && (a = ["main"]); var o = Go.getPathsToTry(n, e, t); if (!o) return u(); du(o, r, i, u, 0, a); } s(Om, "matchFromAbsolutePathsAsync"); Zi.matchFromAbsolutePathsAsync = Om; function Rm(e, t, r, i, n, u) { if (u === void 0 && (u = 0), u >= t.length) return n(void 0, void 0); var a = /* @__PURE__ */ s(function() { return Rm(e, t, r, i, n, u + 1); }, "tryNext"), o = t[u], l = typeof o == "string" ? e[o] : o.reduce(function(h, p) { return h[p]; }, e); if (typeof l != "string") return a(); var c = Pm.join(Pm.dirname(r), l); i(c, function(h, p) { return h ? n(h) : p ? n(void 0, c) : a(); }); } s(Rm, "findFirstExistingMainFieldMappedFile"); function du(e, t, r, i, n, u) { n === void 0 && (n = 0), u === void 0 && (u = ["main"]); var a = e[n]; a.type === "file" || a.type === "extension" || a.type === "index" ? r(a.path, function(o, l) { return o ? i(o) : l ? i(void 0, Go.getStrippedPath(a)) : n === e.length - 1 ? i() : du(e, t, r, i, n + 1, u); }) : a.type === "package" ? t(a.path, function(o, l) { return o ? i(o) : l ? Rm(l, u, a.path, r, function(c, h) { return c ? i(c) : h ? i(void 0, h) : du(e, t, r, i, n + 1, u); }) : du(e, t, r, i, n + 1, u); }) : Go.exhaustiveTypeException(a.type); } s(du, "findFirstExistingPath"); }); // ../node_modules/json5/lib/unicode.js var Lm = I((ZH, mu) => { mu.exports.Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/; mu.exports.ID_Start = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/; mu.exports.ID_Continue = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/; }); // ../node_modules/json5/lib/util.js var Yo = I((eW, Mm) => { var Xo = Lm(); Mm.exports = { isSpaceSeparator(e) { return typeof e == "string" && Xo.Space_Separator.test(e); }, isIdStartChar(e) { return typeof e == "string" && (e >= "a" && e <= "z" || e >= "A" && e <= "Z" || e === "$" || e === "_" || Xo.ID_Start.test(e)); }, isIdContinueChar(e) { return typeof e == "string" && (e >= "a" && e <= "z" || e >= "A" && e <= "Z" || e >= "0" && e <= "9" || e === "$" || e === "_" || e === "\u200C" || e === "\u200D" || Xo.ID_Continue.test(e)); }, isDigit(e) { return typeof e == "string" && /[0-9]/.test(e); }, isHexDigit(e) { return typeof e == "string" && /[0-9A-Fa-f]/.test(e); } }; }); // ../node_modules/json5/lib/parse.js var zm = I((tW, Vm) => { var st = Yo(), Qo, mt, Or, gu, ni, tr, ut, tl, ss; Vm.exports = /* @__PURE__ */ s(function(t, r) { Qo = String(t), mt = "start", Or = [], gu = 0, ni = 1, tr = 0, ut = void 0, tl = void 0, ss = void 0; do ut = tk(), nk[mt](); while (ut.type !== "eof"); return typeof r == "function" ? Zo({ "": ss }, "", r) : ss; }, "parse"); function Zo(e, t, r) { let i = e[t]; if (i != null && typeof i == "object") if (Array.isArray(i)) for (let n = 0; n < i.length; n++) { let u = String(n), a = Zo(i, u, r); a === void 0 ? delete i[u] : Object.defineProperty(i, u, { value: a, writable: !0, enumerable: !0, configurable: !0 }); } else for (let n in i) { let u = Zo(i, n, r); u === void 0 ? delete i[n] : Object.defineProperty(i, n, { value: u, writable: !0, enumerable: !0, configurable: !0 }); } return r.call(e, t, i); } s(Zo, "internalize"); var xe, de, ns, Ir, Ee; function tk() { for (xe = "default", de = "", ns = !1, Ir = 1; ; ) { Ee = Rr(); let e = qm[xe](); if (e) return e; } } s(tk, "lex"); function Rr() { if (Qo[gu]) return String.fromCodePoint(Qo.codePointAt(gu)); } s(Rr, "peek"); function X() { let e = Rr(); return e === ` ` ? (ni++, tr = 0) : e ? tr += e.length : tr++, e && (gu += e.length), e; } s(X, "read"); var qm = { default() { switch (Ee) { case " ": case "\v": case "\f": case " ": case "\xA0": case "\uFEFF": case ` `: case "\r": case "\u2028": case "\u2029": X(); return; case "/": X(), xe = "comment"; return; case void 0: return X(), Le("eof"); } if (st.isSpaceSeparator(Ee)) { X(); return; } return qm[mt](); }, comment() { switch (Ee) { case "*": X(), xe = "multiLineComment"; return; case "/": X(), xe = "singleLineComment"; return; } throw Me(X()); }, multiLineComment() { switch (Ee) { case "*": X(), xe = "multiLineCommentAsterisk"; return; case void 0: throw Me(X()); } X(); }, multiLineCommentAsterisk() { switch (Ee) { case "*": X(); return; case "/": X(), xe = "default"; return; case void 0: throw Me(X()); } X(), xe = "multiLineComment"; }, singleLineComment() { switch (Ee) { case ` `: case "\r": case "\u2028": case "\u2029": X(), xe = "default"; return; case void 0: return X(), Le("eof"); } X(); }, value() { switch (Ee) { case "{": case "[": return Le("punctuator", X()); case "n": return X(), Pi("ull"), Le("null", null); case "t": return X(), Pi("rue"), Le("boolean", !0); case "f": return X(), Pi("alse"), Le("boolean", !1); case "-": case "+": X() === "-" && (Ir = -1), xe = "sign"; return; case ".": de = X(), xe = "decimalPointLeading"; return; case "0": de = X(), xe = "zero"; return; case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": de = X(), xe = "decimalInteger"; return; case "I": return X(), Pi("nfinity"), Le("numeric", 1 / 0); case "N": return X(), Pi("aN"), Le("numeric", NaN); case '"': case "'": ns = X() === '"', de = "", xe = "string"; return; } throw Me(X()); }, identifierNameStartEscape() { if (Ee !== "u") throw Me(X()); X(); let e = el(); switch (e) { case "$": case "_": break; default: if (!st.isIdStartChar(e)) throw jm(); break; } de += e, xe = "identifierName"; }, identifierName() { switch (Ee) { case "$": case "_": case "\u200C": case "\u200D": de += X(); return; case "\\": X(), xe = "identifierNameEscape"; return; } if (st.isIdContinueChar(Ee)) { de += X(); return; } return Le("identifier", de); }, identifierNameEscape() { if (Ee !== "u") throw Me(X()); X(); let e = el(); switch (e) { case "$": case "_": case "\u200C": case "\u200D": break; default: if (!st.isIdContinueChar(e)) throw jm(); break; } de += e, xe = "identifierName"; }, sign() { switch (Ee) { case ".": de = X(), xe = "decimalPointLeading"; return; case "0": de = X(), xe = "zero"; return; case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": de = X(), xe = "decimalInteger"; return; case "I": return X(), Pi("nfinity"), Le("numeric", Ir * (1 / 0)); case "N": return X(), Pi("aN"), Le("numeric", NaN); } throw Me(X()); }, zero() { switch (Ee) { case ".": de += X(), xe = "decimalPoint"; return; case "e": case "E": de += X(), xe = "decimalExponent"; return; case "x": case "X": de += X(), xe = "hexadecimal"; return; } return Le("numeric", Ir * 0); }, decimalInteger() { switch (Ee) { case ".": de += X(), xe = "decimalPoint"; return; case "e": case "E": de += X(), xe = "decimalExponent"; return; } if (st.isDigit(Ee)) { de += X(); return; } return Le("numeric", Ir * Number(de)); }, decimalPointLeading() { if (st.isDigit(Ee)) { de += X(), xe = "decimalFraction"; return; } throw Me(X()); }, decimalPoint() { switch (Ee) { case "e": case "E": de += X(), xe = "decimalExponent"; return; } if (st.isDigit(Ee)) { de += X(), xe = "decimalFraction"; return; } return Le("numeric", Ir * Number(de)); }, decimalFraction() { switch (Ee) { case "e": case "E": de += X(), xe = "decimalExponent"; return; } if (st.isDigit(Ee)) { de += X(); return; } return Le("numeric", Ir * Number(de)); }, decimalExponent() { switch (Ee) { case "+": case "-": de += X(), xe = "decimalExponentSign"; return; } if (st.isDigit(Ee)) { de += X(), xe = "decimalExponentInteger"; return; } throw Me(X()); }, decimalExponentSign() { if (st.isDigit(Ee)) { de += X(), xe = "decimalExponentInteger"; return; } throw Me(X()); }, decimalExponentInteger() { if (st.isDigit(Ee)) { de += X(); return; } return Le("numeric", Ir * Number(de)); }, hexadecimal() { if (st.isHexDigit(Ee)) { de += X(), xe = "hexadecimalInteger"; return; } throw Me(X()); }, hexadecimalInteger() { if (st.isHexDigit(Ee)) { de += X(); return; } return Le("numeric", Ir * Number(de)); }, string() { switch (Ee) { case "\\": X(), de += rk(); return; case '"': if (ns) return X(), Le("string", de); de += X(); return; case "'": if (!ns) return X(), Le("string", de); de += X(); return; case ` `: case "\r": throw Me(X()); case "\u2028": case "\u2029": sk(Ee); break; case void 0: throw Me(X()); } de += X(); }, start() { switch (Ee) { case "{": case "[": return Le("punctuator", X()); } xe = "value"; }, beforePropertyName() { switch (Ee) { case "$": case "_": de = X(), xe = "identifierName"; return; case "\\": X(), xe = "identifierNameStartEscape"; return; case "}": return Le("punctuator", X()); case '"': case "'": ns = X() === '"', xe = "string"; return; } if (st.isIdStartChar(Ee)) { de += X(), xe = "identifierName"; return; } throw Me(X()); }, afterPropertyName() { if (Ee === ":") return Le("punctuator", X()); throw Me(X()); }, beforePropertyValue() { xe = "value"; }, afterPropertyValue() { switch (Ee) { case ",": case "}": return Le("punctuator", X()); } throw Me(X()); }, beforeArrayValue() { if (Ee === "]") return Le("punctuator", X()); xe = "value"; }, afterArrayValue() { switch (Ee) { case ",": case "]": return Le("punctuator", X()); } throw Me(X()); }, end() { throw Me(X()); } }; function Le(e, t) { return { type: e, value: t, line: ni, column: tr }; } s(Le, "newToken"); function Pi(e) { for (let t of e) { if (Rr() !== t) throw Me(X()); X(); } } s(Pi, "literal"); function rk() { switch (Rr()) { case "b": return X(), "\b"; case "f": return X(), "\f"; case "n": return X(), ` `; case "r": return X(), "\r"; case "t": return X(), " "; case "v": return X(), "\v"; case "0": if (X(), st.isDigit(Rr())) throw Me(X()); return "\0"; case "x": return X(), ik(); case "u": return X(), el(); case ` `: case "\u2028": case "\u2029": return X(), ""; case "\r": return X(), Rr() === ` ` && X(), ""; case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": throw Me(X()); case void 0: throw Me(X()); } return X(); } s(rk, "escape"); function ik() { let e = "", t = Rr(); if (!st.isHexDigit(t) || (e += X(), t = Rr(), !st.isHexDigit(t))) throw Me(X()); return e += X(), String.fromCodePoint(parseInt(e, 16)); } s(ik, "hexEscape"); function el() { let e = "", t = 4; for (; t-- > 0; ) { let r = Rr(); if (!st.isHexDigit(r)) throw Me(X()); e += X(); } return String.fromCodePoint(parseInt(e, 16)); } s(el, "unicodeEscape"); var nk = { start() { if (ut.type === "eof") throw Ii(); Ko(); }, beforePropertyName() { switch (ut.type) { case "identifier": case "string": tl = ut.value, mt = "afterPropertyName"; return; case "punctuator": Du(); return; case "eof": throw Ii(); } }, afterPropertyName() { if (ut.type === "eof") throw Ii(); mt = "beforePropertyValue"; }, beforePropertyValue() { if (ut.type === "eof") throw Ii(); Ko(); }, beforeArrayValue() { if (ut.type === "eof") throw Ii(); if (ut.type === "punctuator" && ut.value === "]") { Du(); return; } Ko(); }, afterPropertyValue() { if (ut.type === "eof") throw Ii(); switch (ut.value) { case ",": mt = "beforePropertyName"; return; case "}": Du(); } }, afterArrayValue() { if (ut.type === "eof") throw Ii(); switch (ut.value) { case ",": mt = "beforeArrayValue"; return; case "]": Du(); } }, end() { } }; function Ko() { let e; switch (ut.type) { case "punctuator": switch (ut.value) { case "{": e = {}; break; case "[": e = []; break; } break; case "null": case "boolean": case "numeric": case "string": e = ut.value; break; } if (ss === void 0) ss = e; else { let t = Or[Or.length - 1]; Array.isArray(t) ? t.push(e) : Object.defineProperty(t, tl, { value: e, writable: !0, enumerable: !0, configurable: !0 }); } if (e !== null && typeof e == "object") Or.push(e), Array.isArray(e) ? mt = "beforeArrayValue" : mt = "beforePropertyName"; else { let t = Or[Or.length - 1]; t == null ? mt = "end" : Array.isArray(t) ? mt = "afterArrayValue" : mt = "afterPropertyValue"; } } s(Ko, "push"); function Du() { Or.pop(); let e = Or[Or.length - 1]; e == null ? mt = "end" : Array.isArray(e) ? mt = "afterArrayValue" : mt = "afterPropertyValue"; } s(Du, "pop"); function Me(e) { return xu(e === void 0 ? `JSON5: invalid end of input at ${ni}:${tr}` : `JSON5: invalid character '${$m(e)}' at ${ni}:${tr}`); } s(Me, "invalidChar"); function Ii() { return xu(`JSON5: invalid end of input at ${ni}:${tr}`); } s(Ii, "invalidEOF"); function jm() { return tr -= 5, xu(`JSON5: invalid identifier character at ${ni}:${tr}`); } s(jm, "invalidIdentifier"); function sk(e) { console.warn(`JSON5: '${$m(e)}' in strings is not valid ECMAScript; consider escaping`); } s(sk, "separatorChar"); function $m(e) { let t = { "'": "\\'", '"': '\\"', "\\": "\\\\", "\b": "\\b", "\f": "\\f", "\n": "\\n", "\r": "\\r", " ": "\\t", "\v": "\\v", "\0": "\\0", "\u2028": "\\u2028", "\u2029": "\\u2029" }; if (t[e]) return t[e]; if (e < " ") { let r = e.charCodeAt(0).toString(16); return "\\x" + ("00" + r).substring(r.length); } return e; } s($m, "formatChar"); function xu(e) { let t = new SyntaxError(e); return t.lineNumber = ni, t.columnNumber = tr, t; } s(xu, "syntaxError"); }); // ../node_modules/json5/lib/stringify.js var Hm = I((iW, Um) => { var rl = Yo(); Um.exports = /* @__PURE__ */ s(function(t, r, i) { let n = [], u = "", a, o, l = "", c; if (r != null && typeof r == "object" && !Array.isArray(r) && (i = r.space, c = r.quote, r = r.replacer), typeof r == "function") o = r; else if (Array.isArray(r)) { a = []; for (let g of r) { let C; typeof g == "string" ? C = g : (typeof g == "number" || g instanceof String || g instanceof Number) && (C = String(g)), C !== void 0 && a.indexOf(C) < 0 && a.push(C); } } return i instanceof Number ? i = Number(i) : i instanceof String && (i = String(i)), typeof i == "number" ? i > 0 && (i = Math.min(10, Math. floor(i)), l = " ".substr(0, i)) : typeof i == "string" && (l = i.substr(0, 10)), h("", { "": t }); function h(g, C) { let x = C[g]; switch (x != null && (typeof x.toJSON5 == "function" ? x = x.toJSON5(g) : typeof x.toJSON == "function" && (x = x.toJSON(g))), o && (x = o.call(C, g, x)), x instanceof Number ? x = Number(x) : x instanceof String ? x = String(x) : x instanceof Boolean && (x = x.valueOf()), x) { case null: return "null"; case !0: return "true"; case !1: return "false"; } if (typeof x == "string") return p(x, !1); if (typeof x == "number") return String(x); if (typeof x == "object") return Array.isArray(x) ? D(x) : d(x); } s(h, "serializeProperty"); function p(g) { let C = { "'": 0.1, '"': 0.2 }, x = { "'": "\\'", '"': '\\"', "\\": "\\\\", "\b": "\\b", "\f": "\\f", "\n": "\\n", "\r": "\\r", " ": "\\t", "\v": "\\v", "\0": "\\0", "\u2028": "\\u2028", "\u2029": "\\u2029" }, v = ""; for (let k = 0; k < g.length; k++) { let j = g[k]; switch (j) { case "'": case '"': C[j]++, v += j; continue; case "\0": if (rl.isDigit(g[k + 1])) { v += "\\x00"; continue; } } if (x[j]) { v += x[j]; continue; } if (j < " ") { let w = j.charCodeAt(0).toString(16); v += "\\x" + ("00" + w).substring(w.length); continue; } v += j; } let S = c || Object.keys(C).reduce((k, j) => C[k] < C[j] ? k : j); return v = v.replace(new RegExp(S, "g"), x[S]), S + v + S; } s(p, "quoteString"); function d(g) { if (n.indexOf(g) >= 0) throw TypeError("Converting circular structure to JSON5"); n.push(g); let C = u; u = u + l; let x = a || Object.keys(g), v = []; for (let k of x) { let j = h(k, g); if (j !== void 0) { let w = m(k) + ":"; l !== "" && (w += " "), w += j, v.push(w); } } let S; if (v.length === 0) S = "{}"; else { let k; if (l === "") k = v.join(","), S = "{" + k + "}"; else { let j = `, ` + u; k = v.join(j), S = `{ ` + u + k + `, ` + C + "}"; } } return n.pop(), u = C, S; } s(d, "serializeObject"); function m(g) { if (g.length === 0) return p(g, !0); let C = String.fromCodePoint(g.codePointAt(0)); if (!rl.isIdStartChar(C)) return p(g, !0); for (let x = C.length; x < g.length; x++) if (!rl.isIdContinueChar(String.fromCodePoint(g.codePointAt(x)))) return p(g, !0); return g; } s(m, "serializeKey"); function D(g) { if (n.indexOf(g) >= 0) throw TypeError("Converting circular structure to JSON5"); n.push(g); let C = u; u = u + l; let x = []; for (let S = 0; S < g.length; S++) { let k = h(String(S), g); x.push(k !== void 0 ? k : "null"); } let v; if (x.length === 0) v = "[]"; else if (l === "") v = "[" + x.join(",") + "]"; else { let S = `, ` + u, k = x.join(S); v = `[ ` + u + k + `, ` + C + "]"; } return n.pop(), u = C, v; } s(D, "serializeArray"); }, "stringify"); }); // ../node_modules/json5/lib/index.js var Jm = I((sW, Wm) => { var uk = zm(), ak = Hm(), ok = { parse: uk, stringify: ak }; Wm.exports = ok; }); // ../node_modules/strip-bom/index.js var Xm = I((uW, Gm) => { "use strict"; Gm.exports = (e) => { if (typeof e != "string") throw new TypeError("Expected a string, got " + typeof e); return e.charCodeAt(0) === 65279 ? e.slice(1) : e; }; }); // ../node_modules/tsconfig-paths/lib/tsconfig-loader.js var Qm = I((mr) => { "use strict"; var Oi = mr && mr.__assign || function() { return Oi = Object.assign || function(e) { for (var t, r = 1, i = arguments.length; r < i; r++) { t = arguments[r]; for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]); } return e; }, Oi.apply(this, arguments); }; Object.defineProperty(mr, "__esModule", { value: !0 }); mr.loadTsconfig = mr.walkForTsConfig = mr.tsConfigLoader = void 0; var rr = J("path"), us = J("fs"), lk = Jm(), ck = Xm(); function hk(e) { var t = e.getEnv, r = e.cwd, i = e.loadSync, n = i === void 0 ? pk : i, u = t("TS_NODE_PROJECT"), a = t("TS_NODE_BASEURL"), o = n(r, u, a); return o; } s(hk, "tsConfigLoader"); mr.tsConfigLoader = hk; function pk(e, t, r) { var i = fk(e, t); if (!i) return { tsConfigPath: void 0, baseUrl: void 0, paths: void 0 }; var n = nl(i); return { tsConfigPath: i, baseUrl: r || n && n.compilerOptions && n.compilerOptions.baseUrl, paths: n && n.compilerOptions && n.compilerOptions.paths }; } s(pk, "loadSyncDefault"); function fk(e, t) { if (t) { var r = us.lstatSync(t).isDirectory() ? rr.resolve(t, "./tsconfig.json") : rr.resolve(e, t); return r; } if (us.statSync(e).isFile()) return rr.resolve(e); var i = il(e); return i ? rr.resolve(i) : void 0; } s(fk, "resolveConfigPath"); function il(e, t) { t === void 0 && (t = us.readdirSync); for (var r = t(e), i = ["tsconfig.json", "jsconfig.json"], n = 0, u = i; n < u.length; n++) { var a = u[n]; if (r.indexOf(a) !== -1) return rr.join(e, a); } var o = rr.dirname(e); if (e !== o) return il(o, t); } s(il, "walkForTsConfig"); mr.walkForTsConfig = il; function nl(e, t, r) { if (t === void 0 && (t = us.existsSync), r === void 0 && (r = /* @__PURE__ */ s(function(l) { return us.readFileSync(l, "utf8"); }, "readFileSync")), !!t(e)) { var i = r(e), n = ck(i), u; try { u = lk.parse(n); } catch (l) { throw new Error("".concat(e, " is malformed ").concat(l.message)); } var a = u.extends; if (a) { var o = void 0; return Array.isArray(a) ? o = a.reduce(function(l, c) { return Km(l, Ym(e, c, t, r)); }, {}) : o = Ym(e, a, t, r), Km(o, u); } return u; } } s(nl, "loadTsconfig"); mr.loadTsconfig = nl; function Ym(e, t, r, i) { var n; typeof t == "string" && t.indexOf(".json") === -1 && (t += ".json"); var u = rr.dirname(e), a = rr.join(u, t); t.indexOf("/") !== -1 && t.indexOf(".") !== -1 && !r(a) && (a = rr.join(u, "node_modules", t)); var o = nl(a, r, i) || {}; if (!((n = o.compilerOptions) === null || n === void 0) && n.baseUrl) { var l = rr.dirname(t); o.compilerOptions.baseUrl = rr.join(l, o.compilerOptions.baseUrl); } return o; } s(Ym, "loadTsconfigFromExtends"); function Km(e, t) { return e = e || {}, t = t || {}, Oi(Oi(Oi({}, e), t), { compilerOptions: Oi(Oi({}, e.compilerOptions), t.compilerOptions) }); } s(Km, "mergeTsconfigs"); }); // ../node_modules/tsconfig-paths/lib/config-loader.js var sl = I((en) => { "use strict"; Object.defineProperty(en, "__esModule", { value: !0 }); en.configLoader = en.loadConfig = void 0; var dk = Qm(), yu = J("path"); function mk(e) { return e === void 0 && (e = process.cwd()), Zm({ cwd: e }); } s(mk, "loadConfig"); en.loadConfig = mk; function Zm(e) { var t = e.cwd, r = e.explicitParams, i = e.tsConfigLoader, n = i === void 0 ? dk.tsConfigLoader : i; if (r) { var u = yu.isAbsolute(r.baseUrl) ? r.baseUrl : yu.join(t, r.baseUrl); return { resultType: "success", configFileAbsolutePath: "", baseUrl: r.baseUrl, absoluteBaseUrl: u, paths: r.paths, mainFields: r.mainFields, addMatchAll: r.addMatchAll }; } var a = n({ cwd: t, getEnv: /* @__PURE__ */ s(function(o) { return process.env[o]; }, "getEnv") }); return a.tsConfigPath ? { resultType: "success", configFileAbsolutePath: a.tsConfigPath, baseUrl: a.baseUrl, absoluteBaseUrl: yu.resolve(yu.dirname(a.tsConfigPath), a.baseUrl || ""), paths: a.paths || {}, addMatchAll: a.baseUrl !== void 0 } : { resultType: "failed", message: "Couldn't find tsconfig.json" }; } s(Zm, "configLoader"); en.configLoader = Zm; }); // ../node_modules/minimist/index.js var i0 = I((hW, r0) => { "use strict"; function Dk(e, t) { var r = e; t.slice(0, -1).forEach(function(n) { r = r[n] || {}; }); var i = t[t.length - 1]; return i in r; } s(Dk, "hasKey"); function e0(e) { return typeof e == "number" || /^0x[0-9a-f]+$/i.test(e) ? !0 : /^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(e); } s(e0, "isNumber"); function t0(e, t) { return t === "constructor" && typeof e[t] == "function" || t === "__proto__"; } s(t0, "isConstructorOrProto"); r0.exports = function(e, t) { t || (t = {}); var r = { bools: {}, strings: {}, unknownFn: null }; typeof t.unknown == "function" && (r.unknownFn = t.unknown), typeof t.boolean == "boolean" && t.boolean ? r.allBools = !0 : [].concat(t. boolean).filter(Boolean).forEach(function(k) { r.bools[k] = !0; }); var i = {}; function n(k) { return i[k].some(function(j) { return r.bools[j]; }); } s(n, "aliasIsBoolean"), Object.keys(t.alias || {}).forEach(function(k) { i[k] = [].concat(t.alias[k]), i[k].forEach(function(j) { i[j] = [k].concat(i[k].filter(function(w) { return j !== w; })); }); }), [].concat(t.string).filter(Boolean).forEach(function(k) { r.strings[k] = !0, i[k] && [].concat(i[k]).forEach(function(j) { r.strings[j] = !0; }); }); var u = t.default || {}, a = { _: [] }; function o(k, j) { return r.allBools && /^--[^=]+$/.test(j) || r.strings[k] || r.bools[k] || i[k]; } s(o, "argDefined"); function l(k, j, w) { for (var A = k, T = 0; T < j.length - 1; T++) { var B = j[T]; if (t0(A, B)) return; A[B] === void 0 && (A[B] = {}), (A[B] === Object.prototype || A[B] === Number.prototype || A[B] === String.prototype) && (A[B] = {}), A[B] === Array.prototype && (A[B] = []), A = A[B]; } var $ = j[j.length - 1]; t0(A, $) || ((A === Object.prototype || A === Number.prototype || A === String.prototype) && (A = {}), A === Array.prototype && (A = []), A[$] === void 0 || r.bools[$] || typeof A[$] == "boolean" ? A[$] = w : Array.isArray(A[$]) ? A[$].push(w) : A[$] = [A[$], w]); } s(l, "setKey"); function c(k, j, w) { if (!(w && r.unknownFn && !o(k, w) && r.unknownFn(w) === !1)) { var A = !r.strings[k] && e0(j) ? Number(j) : j; l(a, k.split("."), A), (i[k] || []).forEach(function(T) { l(a, T.split("."), A); }); } } s(c, "setArg"), Object.keys(r.bools).forEach(function(k) { c(k, u[k] === void 0 ? !1 : u[k]); }); var h = []; e.indexOf("--") !== -1 && (h = e.slice(e.indexOf("--") + 1), e = e.slice(0, e.indexOf("--"))); for (var p = 0; p < e.length; p++) { var d = e[p], m, D; if (/^--.+=/.test(d)) { var g = d.match(/^--([^=]+)=([\s\S]*)$/); m = g[1]; var C = g[2]; r.bools[m] && (C = C !== "false"), c(m, C, d); } else if (/^--no-.+/.test(d)) m = d.match(/^--no-(.+)/)[1], c(m, !1, d); else if (/^--.+/.test(d)) m = d.match(/^--(.+)/)[1], D = e[p + 1], D !== void 0 && !/^(-|--)[^-]/.test(D) && !r.bools[m] && !r.allBools && (!i[m] || !n(m)) ? (c( m, D, d), p += 1) : /^(true|false)$/.test(D) ? (c(m, D === "true", d), p += 1) : c(m, r.strings[m] ? "" : !0, d); else if (/^-[^-]+/.test(d)) { for (var x = d.slice(1, -1).split(""), v = !1, S = 0; S < x.length; S++) { if (D = d.slice(S + 2), D === "-") { c(x[S], D, d); continue; } if (/[A-Za-z]/.test(x[S]) && D[0] === "=") { c(x[S], D.slice(1), d), v = !0; break; } if (/[A-Za-z]/.test(x[S]) && /-?\d+(\.\d*)?(e-?\d+)?$/.test(D)) { c(x[S], D, d), v = !0; break; } if (x[S + 1] && x[S + 1].match(/\W/)) { c(x[S], d.slice(S + 2), d), v = !0; break; } else c(x[S], r.strings[x[S]] ? "" : !0, d); } m = d.slice(-1)[0], !v && m !== "-" && (e[p + 1] && !/^(-|--)[^-]/.test(e[p + 1]) && !r.bools[m] && (!i[m] || !n(m)) ? (c(m, e[p + 1], d), p += 1) : e[p + 1] && /^(true|false)$/.test(e[p + 1]) ? (c(m, e[p + 1] === "true", d), p += 1) : c(m, r.strings[m] ? "" : !0, d)); } else if ((!r.unknownFn || r.unknownFn(d) !== !1) && a._.push(r.strings._ || !e0(d) ? d : Number(d)), t.stopEarly) { a._.push.apply(a._, e.slice(p + 1)); break; } } return Object.keys(u).forEach(function(k) { Dk(a, k.split(".")) || (l(a, k.split("."), u[k]), (i[k] || []).forEach(function(j) { l(a, j.split("."), u[k]); })); }), t["--"] ? a["--"] = h.slice() : h.forEach(function(k) { a._.push(k); }), a; }; }); // ../node_modules/tsconfig-paths/lib/register.js var n0 = I((tn) => { "use strict"; var gk = tn && tn.__spreadArray || function(e, t, r) { if (r || arguments.length === 2) for (var i = 0, n = t.length, u; i < n; i++) (u || !(i in t)) && (u || (u = Array.prototype.slice.call(t, 0, i)), u[i] = t[i]); return e.concat(u || Array.prototype.slice.call(t)); }; Object.defineProperty(tn, "__esModule", { value: !0 }); tn.register = void 0; var xk = Jo(), yk = sl(), bk = /* @__PURE__ */ s(function() { }, "noOp"); function Ek(e) { e = e || [ "assert", "buffer", "child_process", "cluster", "crypto", "dgram", "dns", "domain", "events", "fs", "http", "https", "net", "os", "path", "punycode", "querystring", "readline", "stream", "string_decoder", "tls", "tty", "url", "util", "v8", "vm", "zlib" ]; for (var t = {}, r = 0, i = e; r < i.length; r++) { var n = i[r]; t[n] = !0; } return t; } s(Ek, "getCoreModules"); function Ck(e) { var t, r; if (e) t = e.cwd, (e.baseUrl || e.paths) && (r = e); else { var i = i0(), n = i(process.argv.slice(2), { // eslint-disable-next-line id-denylist string: ["project"], alias: { project: ["P"] } }); t = n.project; } var u = (0, yk.configLoader)({ cwd: t ?? process.cwd(), explicitParams: r }); if (u.resultType === "failed") return console.warn("".concat(u.message, ". tsconfig-paths will be skipped")), bk; var a = (0, xk.createMatchPath)(u.absoluteBaseUrl, u.paths, u.mainFields, u.addMatchAll), o = J("module"), l = o._resolveFilename, c = Ek( o.builtinModules); return o._resolveFilename = function(h, p) { var d = c.hasOwnProperty(h); if (!d) { var m = a(h); if (m) { var D = gk([m], [].slice.call(arguments, 1), !0); return l.apply(this, D); } } return l.apply(this, arguments); }, function() { o._resolveFilename = l; }; } s(Ck, "register"); tn.register = Ck; }); // ../node_modules/tsconfig-paths/lib/index.js var a0 = I((vt) => { "use strict"; Object.defineProperty(vt, "__esModule", { value: !0 }); vt.loadConfig = vt.register = vt.matchFromAbsolutePathsAsync = vt.createMatchPathAsync = vt.matchFromAbsolutePaths = vt.createMatchPath = void 0; var s0 = Jo(); Object.defineProperty(vt, "createMatchPath", { enumerable: !0, get: /* @__PURE__ */ s(function() { return s0.createMatchPath; }, "get") }); Object.defineProperty(vt, "matchFromAbsolutePaths", { enumerable: !0, get: /* @__PURE__ */ s(function() { return s0.matchFromAbsolutePaths; }, "get") }); var u0 = Nm(); Object.defineProperty(vt, "createMatchPathAsync", { enumerable: !0, get: /* @__PURE__ */ s(function() { return u0.createMatchPathAsync; }, "get") }); Object.defineProperty(vt, "matchFromAbsolutePathsAsync", { enumerable: !0, get: /* @__PURE__ */ s(function() { return u0.matchFromAbsolutePathsAsync; }, "get") }); var vk = n0(); Object.defineProperty(vt, "register", { enumerable: !0, get: /* @__PURE__ */ s(function() { return vk.register; }, "get") }); var wk = sl(); Object.defineProperty(vt, "loadConfig", { enumerable: !0, get: /* @__PURE__ */ s(function() { return wk.loadConfig; }, "get") }); }); // ../node_modules/@sindresorhus/merge-streams/index.js import { on as Ak, once as Fk } from "node:events"; import { PassThrough as Sk } from "node:stream"; import { finished as f0 } from "node:stream/promises"; function ll(e) { if (!Array.isArray(e)) throw new TypeError(`Expected an array, got \`${typeof e}\`.`); for (let n of e) al(n); let t = e.some(({ readableObjectMode: n }) => n), r = _k(e, t), i = new ul({ objectMode: t, writableHighWaterMark: r, readableHighWaterMark: r }); for (let n of e) i.add(n); return e.length === 0 && D0(i), i; } var _k, ul, kk, Bk, Tk, al, Pk, d0, Ik, Ok, Rk, m0, D0, ol, g0, Nk, bu, h0, p0, x0 = ct(() => { s(ll, "mergeStreams"); _k = /* @__PURE__ */ s((e, t) => { if (e.length === 0) return 16384; let r = e.filter(({ readableObjectMode: i }) => i === t).map(({ readableHighWaterMark: i }) => i); return Math.max(...r); }, "getHighWaterMark"), ul = class extends Sk { static { s(this, "MergedStream"); } #e = /* @__PURE__ */ new Set([]); #t = /* @__PURE__ */ new Set([]); #r = /* @__PURE__ */ new Set([]); #i; add(t) { al(t), !this.#e.has(t) && (this.#e.add(t), this.#i ??= kk(this, this.#e), Pk({ passThroughStream: this, stream: t, streams: this.#e, ended: this.#t, aborted: this.#r, onFinished: this.#i }), t.pipe(this, { end: !1 })); } remove(t) { return al(t), this.#e.has(t) ? (t.unpipe(this), !0) : !1; } }, kk = /* @__PURE__ */ s(async (e, t) => { bu(e, h0); let r = new AbortController(); try { await Promise.race([ Bk(e, r), Tk(e, t, r) ]); } finally { r.abort(), bu(e, -h0); } }, "onMergedStreamFinished"), Bk = /* @__PURE__ */ s(async (e, { signal: t }) => { await f0(e, { signal: t, cleanup: !0 }); }, "onMergedStreamEnd"), Tk = /* @__PURE__ */ s(async (e, t, { signal: r }) => { for await (let [i] of Ak(e, "unpipe", { signal: r })) t.has(i) && i.emit(m0); }, "onInputStreamsUnpipe"), al = /* @__PURE__ */ s((e) => { if (typeof e?.pipe != "function") throw new TypeError(`Expected a readable stream, got: \`${typeof e}\`.`); }, "validateStream"), Pk = /* @__PURE__ */ s(async ({ passThroughStream: e, stream: t, streams: r, ended: i, aborted: n, onFinished: u }) => { bu(e, p0); let a = new AbortController(); try { await Promise.race([ Ik(u, t), Ok({ passThroughStream: e, stream: t, streams: r, ended: i, aborted: n, controller: a }), Rk({ stream: t, streams: r, ended: i, aborted: n, controller: a }) ]); } finally { a.abort(), bu(e, -p0); } r.size === i.size + n.size && (i.size === 0 && n.size > 0 ? ol(e) : D0(e)); }, "endWhenStreamsDone"), d0 = /* @__PURE__ */ s((e) => e?.code === "ERR_STREAM_PREMATURE_CLOSE", "isAbortError"), Ik = /* @__PURE__ */ s( async (e, t) => { try { await e, ol(t); } catch (r) { d0(r) ? ol(t) : g0(t, r); } }, "afterMergedStreamFinished"), Ok = /* @__PURE__ */ s(async ({ passThroughStream: e, stream: t, streams: r, ended: i, aborted: n, controller: { signal: u } }) => { try { await f0(t, { signal: u, cleanup: !0, readable: !0, writable: !1 }), r.has(t) && i.add(t); } catch (a) { if (u.aborted || !r.has(t)) return; d0(a) ? n.add(t) : g0(e, a); } }, "onInputStreamEnd"), Rk = /* @__PURE__ */ s(async ({ stream: e, streams: t, ended: r, aborted: i, controller: { signal: n } }) => { await Fk(e, m0, { signal: n }), t.delete(e), r.delete(e), i.delete(e); }, "onInputStreamUnpipe"), m0 = Symbol("unpipe"), D0 = /* @__PURE__ */ s((e) => { e.writable && e.end(); }, "endStream"), ol = /* @__PURE__ */ s((e) => { (e.readable || e.writable) && e.destroy(); }, "abortStream"), g0 = /* @__PURE__ */ s((e, t) => { e.destroyed || (e.once("error", Nk), e.destroy(t)); }, "errorStream"), Nk = /* @__PURE__ */ s(() => { }, "noop"), bu = /* @__PURE__ */ s((e, t) => { let r = e.getMaxListeners(); r !== 0 && r !== Number.POSITIVE_INFINITY && e.setMaxListeners(r + t); }, "updateMaxListeners"), h0 = 2, p0 = 1; }); // ../node_modules/fast-glob/out/utils/array.js var y0 = I((rn) => { "use strict"; Object.defineProperty(rn, "__esModule", { value: !0 }); rn.splitWhen = rn.flatten = void 0; function Lk(e) { return e.reduce((t, r) => [].concat(t, r), []); } s(Lk, "flatten"); rn.flatten = Lk; function Mk(e, t) { let r = [[]], i = 0; for (let n of e) t(n) ? (i++, r[i] = []) : r[i].push(n); return r; } s(Mk, "splitWhen"); rn.splitWhen = Mk; }); // ../node_modules/fast-glob/out/utils/errno.js var b0 = I((Eu) => { "use strict"; Object.defineProperty(Eu, "__esModule", { value: !0 }); Eu.isEnoentCodeError = void 0; function jk(e) { return e.code === "ENOENT"; } s(jk, "isEnoentCodeError"); Eu.isEnoentCodeError = jk; }); // ../node_modules/fast-glob/out/utils/fs.js var E0 = I((Cu) => { "use strict"; Object.defineProperty(Cu, "__esModule", { value: !0 }); Cu.createDirentFromStats = void 0; var cl = class { static { s(this, "DirentFromStats"); } constructor(t, r) { this.name = t, this.isBlockDevice = r.isBlockDevice.bind(r), this.isCharacterDevice = r.isCharacterDevice.bind(r), this.isDirectory = r. isDirectory.bind(r), this.isFIFO = r.isFIFO.bind(r), this.isFile = r.isFile.bind(r), this.isSocket = r.isSocket.bind(r), this.isSymbolicLink = r.isSymbolicLink.bind(r); } }; function qk(e, t) { return new cl(e, t); } s(qk, "createDirentFromStats"); Cu.createDirentFromStats = qk; }); // ../node_modules/fast-glob/out/utils/path.js var A0 = I((Qe) => { "use strict"; Object.defineProperty(Qe, "__esModule", { value: !0 }); Qe.convertPosixPathToPattern = Qe.convertWindowsPathToPattern = Qe.convertPathToPattern = Qe.escapePosixPath = Qe.escapeWindowsPath = Qe.escape = Qe.removeLeadingDotSegment = Qe.makeAbsolute = Qe.unixify = void 0; var $k = J("os"), Vk = J("path"), C0 = $k.platform() === "win32", zk = 2, Uk = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g, Hk = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g, Wk = /^\\\\([.?])/, Jk = /\\(?![!()+@[\]{}])/g; function Gk(e) { return e.replace(/\\/g, "/"); } s(Gk, "unixify"); Qe.unixify = Gk; function Xk(e, t) { return Vk.resolve(e, t); } s(Xk, "makeAbsolute"); Qe.makeAbsolute = Xk; function Yk(e) { if (e.charAt(0) === ".") { let t = e.charAt(1); if (t === "/" || t === "\\") return e.slice(zk); } return e; } s(Yk, "removeLeadingDotSegment"); Qe.removeLeadingDotSegment = Yk; Qe.escape = C0 ? hl : pl; function hl(e) { return e.replace(Hk, "\\$2"); } s(hl, "escapeWindowsPath"); Qe.escapeWindowsPath = hl; function pl(e) { return e.replace(Uk, "\\$2"); } s(pl, "escapePosixPath"); Qe.escapePosixPath = pl; Qe.convertPathToPattern = C0 ? v0 : w0; function v0(e) { return hl(e).replace(Wk, "//$1").replace(Jk, "/"); } s(v0, "convertWindowsPathToPattern"); Qe.convertWindowsPathToPattern = v0; function w0(e) { return pl(e); } s(w0, "convertPosixPathToPattern"); Qe.convertPosixPathToPattern = w0; }); // ../node_modules/is-extglob/index.js var S0 = I((MW, F0) => { F0.exports = /* @__PURE__ */ s(function(t) { if (typeof t != "string" || t === "") return !1; for (var r; r = /(\\).|([@?!+*]\(.*\))/g.exec(t); ) { if (r[2]) return !0; t = t.slice(r.index + r[0].length); } return !1; }, "isExtglob"); }); // ../node_modules/is-glob/index.js var B0 = I((qW, k0) => { var Kk = S0(), _0 = { "{": "}", "(": ")", "[": "]" }, Qk = /* @__PURE__ */ s(function(e) { if (e[0] === "!") return !0; for (var t = 0, r = -2, i = -2, n = -2, u = -2, a = -2; t < e.length; ) { if (e[t] === "*" || e[t + 1] === "?" && /[\].+)]/.test(e[t]) || i !== -1 && e[t] === "[" && e[t + 1] !== "]" && (i < t && (i = e.indexOf( "]", t)), i > t && (a === -1 || a > i || (a = e.indexOf("\\", t), a === -1 || a > i))) || n !== -1 && e[t] === "{" && e[t + 1] !== "}" && (n = e.indexOf("}", t), n > t && (a = e.indexOf("\\", t), a === -1 || a > n)) || u !== -1 && e[t] === "(" && e[t + 1] === "?" && /[:!=]/. test(e[t + 2]) && e[t + 3] !== ")" && (u = e.indexOf(")", t), u > t && (a = e.indexOf("\\", t), a === -1 || a > u)) || r !== -1 && e[t] === "(" && e[t + 1] !== "|" && (r < t && (r = e.indexOf("|", t)), r !== -1 && e[r + 1] !== ")" && (u = e.indexOf(")", r), u > r && (a = e. indexOf("\\", r), a === -1 || a > u)))) return !0; if (e[t] === "\\") { var o = e[t + 1]; t += 2; var l = _0[o]; if (l) { var c = e.indexOf(l, t); c !== -1 && (t = c + 1); } if (e[t] === "!") return !0; } else t++; } return !1; }, "strictCheck"), Zk = /* @__PURE__ */ s(function(e) { if (e[0] === "!") return !0; for (var t = 0; t < e.length; ) { if (/[*?{}()[\]]/.test(e[t])) return !0; if (e[t] === "\\") { var r = e[t + 1]; t += 2; var i = _0[r]; if (i) { var n = e.indexOf(i, t); n !== -1 && (t = n + 1); } if (e[t] === "!") return !0; } else t++; } return !1; }, "relaxedCheck"); k0.exports = /* @__PURE__ */ s(function(t, r) { if (typeof t != "string" || t === "") return !1; if (Kk(t)) return !0; var i = Qk; return r && r.strict === !1 && (i = Zk), i(t); }, "isGlob"); }); // ../node_modules/glob-parent/index.js var P0 = I((VW, T0) => { "use strict"; var e6 = B0(), t6 = J("path").posix.dirname, r6 = J("os").platform() === "win32", fl = "/", i6 = /\\/g, n6 = /[\{\[].*[\}\]]$/, s6 = /(^|[^\\])([\{\[]|\([^\)]+$)/, u6 = /\\([\!\*\?\|\[\]\(\)\{\}])/g; T0.exports = /* @__PURE__ */ s(function(t, r) { var i = Object.assign({ flipBackslashes: !0 }, r); i.flipBackslashes && r6 && t.indexOf(fl) < 0 && (t = t.replace(i6, fl)), n6.test(t) && (t += fl), t += "a"; do t = t6(t); while (e6(t) || s6.test(t)); return t.replace(u6, "$1"); }, "globParent"); }); // ../node_modules/braces/lib/utils.js var vu = I((jt) => { "use strict"; jt.isInteger = (e) => typeof e == "number" ? Number.isInteger(e) : typeof e == "string" && e.trim() !== "" ? Number.isInteger(Number(e)) : !1; jt.find = (e, t) => e.nodes.find((r) => r.type === t); jt.exceedsLimit = (e, t, r = 1, i) => i === !1 || !jt.isInteger(e) || !jt.isInteger(t) ? !1 : (Number(t) - Number(e)) / Number(r) >= i; jt.escapeNode = (e, t = 0, r) => { let i = e.nodes[t]; i && (r && i.type === r || i.type === "open" || i.type === "close") && i.escaped !== !0 && (i.value = "\\" + i.value, i.escaped = !0); }; jt.encloseBrace = (e) => e.type !== "brace" || e.commas >> 0 + e.ranges >> 0 ? !1 : (e.invalid = !0, !0); jt.isInvalidBrace = (e) => e.type !== "brace" ? !1 : e.invalid === !0 || e.dollar ? !0 : !(e.commas >> 0 + e.ranges >> 0) || e.open !== !0 || e.close !== !0 ? (e.invalid = !0, !0) : !1; jt.isOpenOrClose = (e) => e.type === "open" || e.type === "close" ? !0 : e.open === !0 || e.close === !0; jt.reduce = (e) => e.reduce((t, r) => (r.type === "text" && t.push(r.value), r.type === "range" && (r.type = "text"), t), []); jt.flatten = (...e) => { let t = [], r = /* @__PURE__ */ s((i) => { for (let n = 0; n < i.length; n++) { let u = i[n]; if (Array.isArray(u)) { r(u); continue; } u !== void 0 && t.push(u); } return t; }, "flat"); return r(e), t; }; }); // ../node_modules/braces/lib/stringify.js var wu = I((WW, O0) => { "use strict"; var I0 = vu(); O0.exports = (e, t = {}) => { let r = /* @__PURE__ */ s((i, n = {}) => { let u = t.escapeInvalid && I0.isInvalidBrace(n), a = i.invalid === !0 && t.escapeInvalid === !0, o = ""; if (i.value) return (u || a) && I0.isOpenOrClose(i) ? "\\" + i.value : i.value; if (i.value) return i.value; if (i.nodes) for (let l of i.nodes) o += r(l); return o; }, "stringify"); return r(e); }; }); // ../node_modules/to-regex-range/node_modules/is-number/index.js var N0 = I((GW, R0) => { "use strict"; R0.exports = function(e) { return typeof e == "number" ? e - e === 0 : typeof e == "string" && e.trim() !== "" ? Number.isFinite ? Number.isFinite(+e) : isFinite(+e) : !1; }; }); // ../node_modules/to-regex-range/index.js var H0 = I((XW, U0) => { "use strict"; var L0 = N0(), Ri = /* @__PURE__ */ s((e, t, r) => { if (L0(e) === !1) throw new TypeError("toRegexRange: expected the first argument to be a number"); if (t === void 0 || e === t) return String(e); if (L0(t) === !1) throw new TypeError("toRegexRange: expected the second argument to be a number."); let i = { relaxZeros: !0, ...r }; typeof i.strictZeros == "boolean" && (i.relaxZeros = i.strictZeros === !1); let n = String(i.relaxZeros), u = String(i.shorthand), a = String(i.capture), o = String(i.wrap), l = e + ":" + t + "=" + n + u + a + o; if (Ri.cache.hasOwnProperty(l)) return Ri.cache[l].result; let c = Math.min(e, t), h = Math.max(e, t); if (Math.abs(c - h) === 1) { let g = e + "|" + t; return i.capture ? `(${g})` : i.wrap === !1 ? g : `(?:${g})`; } let p = z0(e) || z0(t), d = { min: e, max: t, a: c, b: h }, m = [], D = []; if (p && (d.isPadded = p, d.maxLen = String(d.max).length), c < 0) { let g = h < 0 ? Math.abs(h) : 1; D = M0(g, Math.abs(c), d, i), c = d.a = 0; } return h >= 0 && (m = M0(c, h, d, i)), d.negatives = D, d.positives = m, d.result = a6(D, m, i), i.capture === !0 ? d.result = `(${d.result}\ )` : i.wrap !== !1 && m.length + D.length > 1 && (d.result = `(?:${d.result})`), Ri.cache[l] = d, d.result; }, "toRegexRange"); function a6(e, t, r) { let i = dl(e, t, "-", !1, r) || [], n = dl(t, e, "", !1, r) || [], u = dl(e, t, "-?", !0, r) || []; return i.concat(u).concat(n).join("|"); } s(a6, "collatePatterns"); function o6(e, t) { let r = 1, i = 1, n = q0(e, r), u = /* @__PURE__ */ new Set([t]); for (; e <= n && n <= t; ) u.add(n), r += 1, n = q0(e, r); for (n = $0(t + 1, i) - 1; e < n && n <= t; ) u.add(n), i += 1, n = $0(t + 1, i) - 1; return u = [...u], u.sort(h6), u; } s(o6, "splitToRanges"); function l6(e, t, r) { if (e === t) return { pattern: e, count: [], digits: 0 }; let i = c6(e, t), n = i.length, u = "", a = 0; for (let o = 0; o < n; o++) { let [l, c] = i[o]; l === c ? u += l : l !== "0" || c !== "9" ? u += p6(l, c, r) : a++; } return a && (u += r.shorthand === !0 ? "\\d" : "[0-9]"), { pattern: u, count: [a], digits: n }; } s(l6, "rangeToPattern"); function M0(e, t, r, i) { let n = o6(e, t), u = [], a = e, o; for (let l = 0; l < n.length; l++) { let c = n[l], h = l6(String(a), String(c), i), p = ""; if (!r.isPadded && o && o.pattern === h.pattern) { o.count.length > 1 && o.count.pop(), o.count.push(h.count[0]), o.string = o.pattern + V0(o.count), a = c + 1; continue; } r.isPadded && (p = f6(c, r, i)), h.string = p + h.pattern + V0(h.count), u.push(h), a = c + 1, o = h; } return u; } s(M0, "splitToPatterns"); function dl(e, t, r, i, n) { let u = []; for (let a of e) { let { string: o } = a; !i && !j0(t, "string", o) && u.push(r + o), i && j0(t, "string", o) && u.push(r + o); } return u; } s(dl, "filterPatterns"); function c6(e, t) { let r = []; for (let i = 0; i < e.length; i++) r.push([e[i], t[i]]); return r; } s(c6, "zip"); function h6(e, t) { return e > t ? 1 : t > e ? -1 : 0; } s(h6, "compare"); function j0(e, t, r) { return e.some((i) => i[t] === r); } s(j0, "contains"); function q0(e, t) { return Number(String(e).slice(0, -t) + "9".repeat(t)); } s(q0, "countNines"); function $0(e, t) { return e - e % Math.pow(10, t); } s($0, "countZeros"); function V0(e) { let [t = 0, r = ""] = e; return r || t > 1 ? `{${t + (r ? "," + r : "")}}` : ""; } s(V0, "toQuantifier"); function p6(e, t, r) { return `[${e}${t - e === 1 ? "" : "-"}${t}]`; } s(p6, "toCharacterClass"); function z0(e) { return /^-?(0+)\d/.test(e); } s(z0, "hasPadding"); function f6(e, t, r) { if (!t.isPadded) return e; let i = Math.abs(t.maxLen - String(e).length), n = r.relaxZeros !== !1; switch (i) { case 0: return ""; case 1: return n ? "0?" : "0"; case 2: return n ? "0{0,2}" : "00"; default: return n ? `0{0,${i}}` : `0{${i}}`; } } s(f6, "padZeros"); Ri.cache = {}; Ri.clearCache = () => Ri.cache = {}; U0.exports = Ri; }); // ../node_modules/fill-range/index.js var gl = I((KW, Q0) => { "use strict"; var d6 = J("util"), J0 = H0(), W0 = /* @__PURE__ */ s((e) => e !== null && typeof e == "object" && !Array.isArray(e), "isObject"), m6 = /* @__PURE__ */ s( (e) => (t) => e === !0 ? Number(t) : String(t), "transform"), ml = /* @__PURE__ */ s((e) => typeof e == "number" || typeof e == "string" && e !== "", "isValidValue"), os = /* @__PURE__ */ s((e) => Number.isInteger(+e), "isNumber"), Dl = /* @__PURE__ */ s((e) => { let t = `${e}`, r = -1; if (t[0] === "-" && (t = t.slice(1)), t === "0") return !1; for (; t[++r] === "0"; ) ; return r > 0; }, "zeros"), D6 = /* @__PURE__ */ s((e, t, r) => typeof e == "string" || typeof t == "string" ? !0 : r.stringify === !0, "stringify"), g6 = /* @__PURE__ */ s( (e, t, r) => { if (t > 0) { let i = e[0] === "-" ? "-" : ""; i && (e = e.slice(1)), e = i + e.padStart(i ? t - 1 : t, "0"); } return r === !1 ? String(e) : e; }, "pad"), Fu = /* @__PURE__ */ s((e, t) => { let r = e[0] === "-" ? "-" : ""; for (r && (e = e.slice(1), t--); e.length < t; ) e = "0" + e; return r ? "-" + e : e; }, "toMaxLen"), x6 = /* @__PURE__ */ s((e, t, r) => { e.negatives.sort((o, l) => o < l ? -1 : o > l ? 1 : 0), e.positives.sort((o, l) => o < l ? -1 : o > l ? 1 : 0); let i = t.capture ? "" : "?:", n = "", u = "", a; return e.positives.length && (n = e.positives.map((o) => Fu(String(o), r)).join("|")), e.negatives.length && (u = `-(${i}${e.negatives.map( (o) => Fu(String(o), r)).join("|")})`), n && u ? a = `${n}|${u}` : a = n || u, t.wrap ? `(${i}${a})` : a; }, "toSequence"), G0 = /* @__PURE__ */ s((e, t, r, i) => { if (r) return J0(e, t, { wrap: !1, ...i }); let n = String.fromCharCode(e); if (e === t) return n; let u = String.fromCharCode(t); return `[${n}-${u}]`; }, "toRange"), X0 = /* @__PURE__ */ s((e, t, r) => { if (Array.isArray(e)) { let i = r.wrap === !0, n = r.capture ? "" : "?:"; return i ? `(${n}${e.join("|")})` : e.join("|"); } return J0(e, t, r); }, "toRegex"), Y0 = /* @__PURE__ */ s((...e) => new RangeError("Invalid range arguments: " + d6.inspect(...e)), "rangeError"), K0 = /* @__PURE__ */ s( (e, t, r) => { if (r.strictRanges === !0) throw Y0([e, t]); return []; }, "invalidRange"), y6 = /* @__PURE__ */ s((e, t) => { if (t.strictRanges === !0) throw new TypeError(`Expected step "${e}" to be a number`); return []; }, "invalidStep"), b6 = /* @__PURE__ */ s((e, t, r = 1, i = {}) => { let n = Number(e), u = Number(t); if (!Number.isInteger(n) || !Number.isInteger(u)) { if (i.strictRanges === !0) throw Y0([e, t]); return []; } n === 0 && (n = 0), u === 0 && (u = 0); let a = n > u, o = String(e), l = String(t), c = String(r); r = Math.max(Math.abs(r), 1); let h = Dl(o) || Dl(l) || Dl(c), p = h ? Math.max(o.length, l.length, c.length) : 0, d = h === !1 && D6(e, t, i) === !1, m = i.transform || m6(d); if (i.toRegex && r === 1) return G0(Fu(e, p), Fu(t, p), !0, i); let D = { negatives: [], positives: [] }, g = /* @__PURE__ */ s((v) => D[v < 0 ? "negatives" : "positives"].push(Math.abs(v)), "push"), C = [], x = 0; for (; a ? n >= u : n <= u; ) i.toRegex === !0 && r > 1 ? g(n) : C.push(g6(m(n, x), p, d)), n = a ? n - r : n + r, x++; return i.toRegex === !0 ? r > 1 ? x6(D, i, p) : X0(C, null, { wrap: !1, ...i }) : C; }, "fillNumbers"), E6 = /* @__PURE__ */ s((e, t, r = 1, i = {}) => { if (!os(e) && e.length > 1 || !os(t) && t.length > 1) return K0(e, t, i); let n = i.transform || ((d) => String.fromCharCode(d)), u = `${e}`.charCodeAt(0), a = `${t}`.charCodeAt(0), o = u > a, l = Math.min(u, a), c = Math.max(u, a); if (i.toRegex && r === 1) return G0(l, c, !1, i); let h = [], p = 0; for (; o ? u >= a : u <= a; ) h.push(n(u, p)), u = o ? u - r : u + r, p++; return i.toRegex === !0 ? X0(h, null, { wrap: !1, options: i }) : h; }, "fillLetters"), Au = /* @__PURE__ */ s((e, t, r, i = {}) => { if (t == null && ml(e)) return [e]; if (!ml(e) || !ml(t)) return K0(e, t, i); if (typeof r == "function") return Au(e, t, 1, { transform: r }); if (W0(r)) return Au(e, t, 0, r); let n = { ...i }; return n.capture === !0 && (n.wrap = !0), r = r || n.step || 1, os(r) ? os(e) && os(t) ? b6(e, t, r, n) : E6(e, t, Math.max(Math.abs(r), 1), n) : r != null && !W0(r) ? y6(r, n) : Au(e, t, 1, r); }, "fill"); Q0.exports = Au; }); // ../node_modules/braces/lib/compile.js var tD = I((ZW, eD) => { "use strict"; var C6 = gl(), Z0 = vu(), v6 = /* @__PURE__ */ s((e, t = {}) => { let r = /* @__PURE__ */ s((i, n = {}) => { let u = Z0.isInvalidBrace(n), a = i.invalid === !0 && t.escapeInvalid === !0, o = u === !0 || a === !0, l = t.escapeInvalid === !0 ? "\ \\" : "", c = ""; if (i.isOpen === !0) return l + i.value; if (i.isClose === !0) return console.log("node.isClose", l, i.value), l + i.value; if (i.type === "open") return o ? l + i.value : "("; if (i.type === "close") return o ? l + i.value : ")"; if (i.type === "comma") return i.prev.type === "comma" ? "" : o ? i.value : "|"; if (i.value) return i.value; if (i.nodes && i.ranges > 0) { let h = Z0.reduce(i.nodes), p = C6(...h, { ...t, wrap: !1, toRegex: !0, strictZeros: !0 }); if (p.length !== 0) return h.length > 1 && p.length > 1 ? `(${p})` : p; } if (i.nodes) for (let h of i.nodes) c += r(h, i); return c; }, "walk"); return r(e); }, "compile"); eD.exports = v6; }); // ../node_modules/braces/lib/expand.js var nD = I((tJ, iD) => { "use strict"; var w6 = gl(), rD = wu(), nn = vu(), Ni = /* @__PURE__ */ s((e = "", t = "", r = !1) => { let i = []; if (e = [].concat(e), t = [].concat(t), !t.length) return e; if (!e.length) return r ? nn.flatten(t).map((n) => `{${n}}`) : t; for (let n of e) if (Array.isArray(n)) for (let u of n) i.push(Ni(u, t, r)); else for (let u of t) r === !0 && typeof u == "string" && (u = `{${u}}`), i.push(Array.isArray(u) ? Ni(n, u, r) : n + u); return nn.flatten(i); }, "append"), A6 = /* @__PURE__ */ s((e, t = {}) => { let r = t.rangeLimit === void 0 ? 1e3 : t.rangeLimit, i = /* @__PURE__ */ s((n, u = {}) => { n.queue = []; let a = u, o = u.queue; for (; a.type !== "brace" && a.type !== "root" && a.parent; ) a = a.parent, o = a.queue; if (n.invalid || n.dollar) { o.push(Ni(o.pop(), rD(n, t))); return; } if (n.type === "brace" && n.invalid !== !0 && n.nodes.length === 2) { o.push(Ni(o.pop(), ["{}"])); return; } if (n.nodes && n.ranges > 0) { let p = nn.reduce(n.nodes); if (nn.exceedsLimit(...p, t.step, r)) throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit."); let d = w6(...p, t); d.length === 0 && (d = rD(n, t)), o.push(Ni(o.pop(), d)), n.nodes = []; return; } let l = nn.encloseBrace(n), c = n.queue, h = n; for (; h.type !== "brace" && h.type !== "root" && h.parent; ) h = h.parent, c = h.queue; for (let p = 0; p < n.nodes.length; p++) { let d = n.nodes[p]; if (d.type === "comma" && n.type === "brace") { p === 1 && c.push(""), c.push(""); continue; } if (d.type === "close") { o.push(Ni(o.pop(), c, l)); continue; } if (d.value && d.type !== "open") { c.push(Ni(c.pop(), d.value)); continue; } d.nodes && i(d, n); } return c; }, "walk"); return nn.flatten(i(e)); }, "expand"); iD.exports = A6; }); // ../node_modules/braces/lib/constants.js var uD = I((iJ, sD) => { "use strict"; sD.exports = { MAX_LENGTH: 1e4, // Digits CHAR_0: "0", /* 0 */ CHAR_9: "9", /* 9 */ // Alphabet chars. CHAR_UPPERCASE_A: "A", /* A */ CHAR_LOWERCASE_A: "a", /* a */ CHAR_UPPERCASE_Z: "Z", /* Z */ CHAR_LOWERCASE_Z: "z", /* z */ CHAR_LEFT_PARENTHESES: "(", /* ( */ CHAR_RIGHT_PARENTHESES: ")", /* ) */ CHAR_ASTERISK: "*", /* * */ // Non-alphabetic chars. CHAR_AMPERSAND: "&", /* & */ CHAR_AT: "@", /* @ */ CHAR_BACKSLASH: "\\", /* \ */ CHAR_BACKTICK: "`", /* ` */ CHAR_CARRIAGE_RETURN: "\r", /* \r */ CHAR_CIRCUMFLEX_ACCENT: "^", /* ^ */ CHAR_COLON: ":", /* : */ CHAR_COMMA: ",", /* , */ CHAR_DOLLAR: "$", /* . */ CHAR_DOT: ".", /* . */ CHAR_DOUBLE_QUOTE: '"', /* " */ CHAR_EQUAL: "=", /* = */ CHAR_EXCLAMATION_MARK: "!", /* ! */ CHAR_FORM_FEED: "\f", /* \f */ CHAR_FORWARD_SLASH: "/", /* / */ CHAR_HASH: "#", /* # */ CHAR_HYPHEN_MINUS: "-", /* - */ CHAR_LEFT_ANGLE_BRACKET: "<", /* < */ CHAR_LEFT_CURLY_BRACE: "{", /* { */ CHAR_LEFT_SQUARE_BRACKET: "[", /* [ */ CHAR_LINE_FEED: ` `, /* \n */ CHAR_NO_BREAK_SPACE: "\xA0", /* \u00A0 */ CHAR_PERCENT: "%", /* % */ CHAR_PLUS: "+", /* + */ CHAR_QUESTION_MARK: "?", /* ? */ CHAR_RIGHT_ANGLE_BRACKET: ">", /* > */ CHAR_RIGHT_CURLY_BRACE: "}", /* } */ CHAR_RIGHT_SQUARE_BRACKET: "]", /* ] */ CHAR_SEMICOLON: ";", /* ; */ CHAR_SINGLE_QUOTE: "'", /* ' */ CHAR_SPACE: " ", /* */ CHAR_TAB: " ", /* \t */ CHAR_UNDERSCORE: "_", /* _ */ CHAR_VERTICAL_LINE: "|", /* | */ CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF" /* \uFEFF */ }; }); // ../node_modules/braces/lib/parse.js var hD = I((nJ, cD) => { "use strict"; var F6 = wu(), { MAX_LENGTH: aD, CHAR_BACKSLASH: xl, /* \ */ CHAR_BACKTICK: S6, /* ` */ CHAR_COMMA: _6, /* , */ CHAR_DOT: k6, /* . */ CHAR_LEFT_PARENTHESES: B6, /* ( */ CHAR_RIGHT_PARENTHESES: T6, /* ) */ CHAR_LEFT_CURLY_BRACE: P6, /* { */ CHAR_RIGHT_CURLY_BRACE: I6, /* } */ CHAR_LEFT_SQUARE_BRACKET: oD, /* [ */ CHAR_RIGHT_SQUARE_BRACKET: lD, /* ] */ CHAR_DOUBLE_QUOTE: O6, /* " */ CHAR_SINGLE_QUOTE: R6, /* ' */ CHAR_NO_BREAK_SPACE: N6, CHAR_ZERO_WIDTH_NOBREAK_SPACE: L6 } = uD(), M6 = /* @__PURE__ */ s((e, t = {}) => { if (typeof e != "string") throw new TypeError("Expected a string"); let r = t || {}, i = typeof r.maxLength == "number" ? Math.min(aD, r.maxLength) : aD; if (e.length > i) throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${i})`); let n = { type: "root", input: e, nodes: [] }, u = [n], a = n, o = n, l = 0, c = e.length, h = 0, p = 0, d, m = /* @__PURE__ */ s(() => e[h++], "advance"), D = /* @__PURE__ */ s((g) => { if (g.type === "text" && o.type === "dot" && (o.type = "text"), o && o.type === "text" && g.type === "text") { o.value += g.value; return; } return a.nodes.push(g), g.parent = a, g.prev = o, o = g, g; }, "push"); for (D({ type: "bos" }); h < c; ) if (a = u[u.length - 1], d = m(), !(d === L6 || d === N6)) { if (d === xl) { D({ type: "text", value: (t.keepEscaping ? d : "") + m() }); continue; } if (d === lD) { D({ type: "text", value: "\\" + d }); continue; } if (d === oD) { l++; let g; for (; h < c && (g = m()); ) { if (d += g, g === oD) { l++; continue; } if (g === xl) { d += m(); continue; } if (g === lD && (l--, l === 0)) break; } D({ type: "text", value: d }); continue; } if (d === B6) { a = D({ type: "paren", nodes: [] }), u.push(a), D({ type: "text", value: d }); continue; } if (d === T6) { if (a.type !== "paren") { D({ type: "text", value: d }); continue; } a = u.pop(), D({ type: "text", value: d }), a = u[u.length - 1]; continue; } if (d === O6 || d === R6 || d === S6) { let g = d, C; for (t.keepQuotes !== !0 && (d = ""); h < c && (C = m()); ) { if (C === xl) { d += C + m(); continue; } if (C === g) { t.keepQuotes === !0 && (d += C); break; } d += C; } D({ type: "text", value: d }); continue; } if (d === P6) { p++; let C = { type: "brace", open: !0, close: !1, dollar: o.value && o.value.slice(-1) === "$" || a.dollar === !0, depth: p, commas: 0, ranges: 0, nodes: [] }; a = D(C), u.push(a), D({ type: "open", value: d }); continue; } if (d === I6) { if (a.type !== "brace") { D({ type: "text", value: d }); continue; } let g = "close"; a = u.pop(), a.close = !0, D({ type: g, value: d }), p--, a = u[u.length - 1]; continue; } if (d === _6 && p > 0) { if (a.ranges > 0) { a.ranges = 0; let g = a.nodes.shift(); a.nodes = [g, { type: "text", value: F6(a) }]; } D({ type: "comma", value: d }), a.commas++; continue; } if (d === k6 && p > 0 && a.commas === 0) { let g = a.nodes; if (p === 0 || g.length === 0) { D({ type: "text", value: d }); continue; } if (o.type === "dot") { if (a.range = [], o.value += d, o.type = "range", a.nodes.length !== 3 && a.nodes.length !== 5) { a.invalid = !0, a.ranges = 0, o.type = "text"; continue; } a.ranges++, a.args = []; continue; } if (o.type === "range") { g.pop(); let C = g[g.length - 1]; C.value += o.value + d, o = C, a.ranges--; continue; } D({ type: "dot", value: d }); continue; } D({ type: "text", value: d }); } do if (a = u.pop(), a.type !== "root") { a.nodes.forEach((x) => { x.nodes || (x.type === "open" && (x.isOpen = !0), x.type === "close" && (x.isClose = !0), x.nodes || (x.type = "text"), x.invalid = !0); }); let g = u[u.length - 1], C = g.nodes.indexOf(a); g.nodes.splice(C, 1, ...a.nodes); } while (u.length > 0); return D({ type: "eos" }), n; }, "parse"); cD.exports = M6; }); // ../node_modules/braces/index.js var dD = I((uJ, fD) => { "use strict"; var pD = wu(), j6 = tD(), q6 = nD(), $6 = hD(), Tt = /* @__PURE__ */ s((e, t = {}) => { let r = []; if (Array.isArray(e)) for (let i of e) { let n = Tt.create(i, t); Array.isArray(n) ? r.push(...n) : r.push(n); } else r = [].concat(Tt.create(e, t)); return t && t.expand === !0 && t.nodupes === !0 && (r = [...new Set(r)]), r; }, "braces"); Tt.parse = (e, t = {}) => $6(e, t); Tt.stringify = (e, t = {}) => pD(typeof e == "string" ? Tt.parse(e, t) : e, t); Tt.compile = (e, t = {}) => (typeof e == "string" && (e = Tt.parse(e, t)), j6(e, t)); Tt.expand = (e, t = {}) => { typeof e == "string" && (e = Tt.parse(e, t)); let r = q6(e, t); return t.noempty === !0 && (r = r.filter(Boolean)), t.nodupes === !0 && (r = [...new Set(r)]), r; }; Tt.create = (e, t = {}) => e === "" || e.length < 3 ? [e] : t.expand !== !0 ? Tt.compile(e, t) : Tt.expand(e, t); fD.exports = Tt; }); // ../node_modules/picomatch/lib/constants.js var ls = I((oJ, yD) => { "use strict"; var V6 = J("path"), gr = "\\\\/", mD = `[^${gr}]`, Nr = "\\.", z6 = "\\+", U6 = "\\?", Su = "\\/", H6 = "(?=.)", DD = "[^/]", yl = `(?:${Su}\ |$)`, gD = `(?:^|${Su})`, bl = `${Nr}{1,2}${yl}`, W6 = `(?!${Nr})`, J6 = `(?!${gD}${bl})`, G6 = `(?!${Nr}{0,1}${yl})`, X6 = `(?!${bl})`, Y6 = `\ [^.${Su}]`, K6 = `${DD}*?`, xD = { DOT_LITERAL: Nr, PLUS_LITERAL: z6, QMARK_LITERAL: U6, SLASH_LITERAL: Su, ONE_CHAR: H6, QMARK: DD, END_ANCHOR: yl, DOTS_SLASH: bl, NO_DOT: W6, NO_DOTS: J6, NO_DOT_SLASH: G6, NO_DOTS_SLASH: X6, QMARK_NO_DOT: Y6, STAR: K6, START_ANCHOR: gD }, Q6 = { ...xD, SLASH_LITERAL: `[${gr}]`, QMARK: mD, STAR: `${mD}*?`, DOTS_SLASH: `${Nr}{1,2}(?:[${gr}]|$)`, NO_DOT: `(?!${Nr})`, NO_DOTS: `(?!(?:^|[${gr}])${Nr}{1,2}(?:[${gr}]|$))`, NO_DOT_SLASH: `(?!${Nr}{0,1}(?:[${gr}]|$))`, NO_DOTS_SLASH: `(?!${Nr}{1,2}(?:[${gr}]|$))`, QMARK_NO_DOT: `[^.${gr}]`, START_ANCHOR: `(?:^|[${gr}])`, END_ANCHOR: `(?:[${gr}]|$)` }, Z6 = { alnum: "a-zA-Z0-9", alpha: "a-zA-Z", ascii: "\\x00-\\x7F", blank: " \\t", cntrl: "\\x00-\\x1F\\x7F", digit: "0-9", graph: "\\x21-\\x7E", lower: "a-z", print: "\\x20-\\x7E ", punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", space: " \\t\\r\\n\\v\\f", upper: "A-Z", word: "A-Za-z0-9_", xdigit: "A-Fa-f0-9" }; yD.exports = { MAX_LENGTH: 1024 * 64, POSIX_REGEX_SOURCE: Z6, // regular expressions REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, // Replace globs with equivalent patterns to reduce parsing time. REPLACEMENTS: { "***": "*", "**/**": "**", "**/**/**": "**" }, // Digits CHAR_0: 48, /* 0 */ CHAR_9: 57, /* 9 */ // Alphabet chars. CHAR_UPPERCASE_A: 65, /* A */ CHAR_LOWERCASE_A: 97, /* a */ CHAR_UPPERCASE_Z: 90, /* Z */ CHAR_LOWERCASE_Z: 122, /* z */ CHAR_LEFT_PARENTHESES: 40, /* ( */ CHAR_RIGHT_PARENTHESES: 41, /* ) */ CHAR_ASTERISK: 42, /* * */ // Non-alphabetic chars. CHAR_AMPERSAND: 38, /* & */ CHAR_AT: 64, /* @ */ CHAR_BACKWARD_SLASH: 92, /* \ */ CHAR_CARRIAGE_RETURN: 13, /* \r */ CHAR_CIRCUMFLEX_ACCENT: 94, /* ^ */ CHAR_COLON: 58, /* : */ CHAR_COMMA: 44, /* , */ CHAR_DOT: 46, /* . */ CHAR_DOUBLE_QUOTE: 34, /* " */ CHAR_EQUAL: 61, /* = */ CHAR_EXCLAMATION_MARK: 33, /* ! */ CHAR_FORM_FEED: 12, /* \f */ CHAR_FORWARD_SLASH: 47, /* / */ CHAR_GRAVE_ACCENT: 96, /* ` */ CHAR_HASH: 35, /* # */ CHAR_HYPHEN_MINUS: 45, /* - */ CHAR_LEFT_ANGLE_BRACKET: 60, /* < */ CHAR_LEFT_CURLY_BRACE: 123, /* { */ CHAR_LEFT_SQUARE_BRACKET: 91, /* [ */ CHAR_LINE_FEED: 10, /* \n */ CHAR_NO_BREAK_SPACE: 160, /* \u00A0 */ CHAR_PERCENT: 37, /* % */ CHAR_PLUS: 43, /* + */ CHAR_QUESTION_MARK: 63, /* ? */ CHAR_RIGHT_ANGLE_BRACKET: 62, /* > */ CHAR_RIGHT_CURLY_BRACE: 125, /* } */ CHAR_RIGHT_SQUARE_BRACKET: 93, /* ] */ CHAR_SEMICOLON: 59, /* ; */ CHAR_SINGLE_QUOTE: 39, /* ' */ CHAR_SPACE: 32, /* */ CHAR_TAB: 9, /* \t */ CHAR_UNDERSCORE: 95, /* _ */ CHAR_VERTICAL_LINE: 124, /* | */ CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, /* \uFEFF */ SEP: V6.sep, /** * Create EXTGLOB_CHARS */ extglobChars(e) { return { "!": { type: "negate", open: "(?:(?!(?:", close: `))${e.STAR})` }, "?": { type: "qmark", open: "(?:", close: ")?" }, "+": { type: "plus", open: "(?:", close: ")+" }, "*": { type: "star", open: "(?:", close: ")*" }, "@": { type: "at", open: "(?:", close: ")" } }; }, /** * Create GLOB_CHARS */ globChars(e) { return e === !0 ? Q6 : xD; } }; }); // ../node_modules/picomatch/lib/utils.js var cs = I((wt) => { "use strict"; var e8 = J("path"), t8 = process.platform === "win32", { REGEX_BACKSLASH: r8, REGEX_REMOVE_BACKSLASH: i8, REGEX_SPECIAL_CHARS: n8, REGEX_SPECIAL_CHARS_GLOBAL: s8 } = ls(); wt.isObject = (e) => e !== null && typeof e == "object" && !Array.isArray(e); wt.hasRegexChars = (e) => n8.test(e); wt.isRegexChar = (e) => e.length === 1 && wt.hasRegexChars(e); wt.escapeRegex = (e) => e.replace(s8, "\\$1"); wt.toPosixSlashes = (e) => e.replace(r8, "/"); wt.removeBackslashes = (e) => e.replace(i8, (t) => t === "\\" ? "" : t); wt.supportsLookbehinds = () => { let e = process.version.slice(1).split(".").map(Number); return e.length === 3 && e[0] >= 9 || e[0] === 8 && e[1] >= 10; }; wt.isWindows = (e) => e && typeof e.windows == "boolean" ? e.windows : t8 === !0 || e8.sep === "\\"; wt.escapeLast = (e, t, r) => { let i = e.lastIndexOf(t, r); return i === -1 ? e : e[i - 1] === "\\" ? wt.escapeLast(e, t, i - 1) : `${e.slice(0, i)}\\${e.slice(i)}`; }; wt.removePrefix = (e, t = {}) => { let r = e; return r.startsWith("./") && (r = r.slice(2), t.prefix = "./"), r; }; wt.wrapOutput = (e, t = {}, r = {}) => { let i = r.contains ? "" : "^", n = r.contains ? "" : "$", u = `${i}(?:${e})${n}`; return t.negated === !0 && (u = `(?:^(?!${u}).*$)`), u; }; }); // ../node_modules/picomatch/lib/scan.js var SD = I((cJ, FD) => { "use strict"; var bD = cs(), { CHAR_ASTERISK: El, /* * */ CHAR_AT: u8, /* @ */ CHAR_BACKWARD_SLASH: hs, /* \ */ CHAR_COMMA: a8, /* , */ CHAR_DOT: Cl, /* . */ CHAR_EXCLAMATION_MARK: vl, /* ! */ CHAR_FORWARD_SLASH: AD, /* / */ CHAR_LEFT_CURLY_BRACE: wl, /* { */ CHAR_LEFT_PARENTHESES: Al, /* ( */ CHAR_LEFT_SQUARE_BRACKET: o8, /* [ */ CHAR_PLUS: l8, /* + */ CHAR_QUESTION_MARK: ED, /* ? */ CHAR_RIGHT_CURLY_BRACE: c8, /* } */ CHAR_RIGHT_PARENTHESES: CD, /* ) */ CHAR_RIGHT_SQUARE_BRACKET: h8 /* ] */ } = ls(), vD = /* @__PURE__ */ s((e) => e === AD || e === hs, "isPathSeparator"), wD = /* @__PURE__ */ s((e) => { e.isPrefix !== !0 && (e.depth = e.isGlobstar ? 1 / 0 : 1); }, "depth"), p8 = /* @__PURE__ */ s((e, t) => { let r = t || {}, i = e.length - 1, n = r.parts === !0 || r.scanToEnd === !0, u = [], a = [], o = [], l = e, c = -1, h = 0, p = 0, d = !1, m = !1, D = !1, g = !1, C = !1, x = !1, v = !1, S = !1, k = !1, j = !1, w = 0, A, T, B = { value: "", depth: 0, isGlob: !1 }, $ = /* @__PURE__ */ s( () => c >= i, "eos"), L = /* @__PURE__ */ s(() => l.charCodeAt(c + 1), "peek"), V = /* @__PURE__ */ s(() => (A = T, l.charCodeAt(++c)), "\ advance"); for (; c < i; ) { T = V(); let U; if (T === hs) { v = B.backslashes = !0, T = V(), T === wl && (x = !0); continue; } if (x === !0 || T === wl) { for (w++; $() !== !0 && (T = V()); ) { if (T === hs) { v = B.backslashes = !0, V(); continue; } if (T === wl) { w++; continue; } if (x !== !0 && T === Cl && (T = V()) === Cl) { if (d = B.isBrace = !0, D = B.isGlob = !0, j = !0, n === !0) continue; break; } if (x !== !0 && T === a8) { if (d = B.isBrace = !0, D = B.isGlob = !0, j = !0, n === !0) continue; break; } if (T === c8 && (w--, w === 0)) { x = !1, d = B.isBrace = !0, j = !0; break; } } if (n === !0) continue; break; } if (T === AD) { if (u.push(c), a.push(B), B = { value: "", depth: 0, isGlob: !1 }, j === !0) continue; if (A === Cl && c === h + 1) { h += 2; continue; } p = c + 1; continue; } if (r.noext !== !0 && (T === l8 || T === u8 || T === El || T === ED || T === vl) === !0 && L() === Al) { if (D = B.isGlob = !0, g = B.isExtglob = !0, j = !0, T === vl && c === h && (k = !0), n === !0) { for (; $() !== !0 && (T = V()); ) { if (T === hs) { v = B.backslashes = !0, T = V(); continue; } if (T === CD) { D = B.isGlob = !0, j = !0; break; } } continue; } break; } if (T === El) { if (A === El && (C = B.isGlobstar = !0), D = B.isGlob = !0, j = !0, n === !0) continue; break; } if (T === ED) { if (D = B.isGlob = !0, j = !0, n === !0) continue; break; } if (T === o8) { for (; $() !== !0 && (U = V()); ) { if (U === hs) { v = B.backslashes = !0, V(); continue; } if (U === h8) { m = B.isBracket = !0, D = B.isGlob = !0, j = !0; break; } } if (n === !0) continue; break; } if (r.nonegate !== !0 && T === vl && c === h) { S = B.negated = !0, h++; continue; } if (r.noparen !== !0 && T === Al) { if (D = B.isGlob = !0, n === !0) { for (; $() !== !0 && (T = V()); ) { if (T === Al) { v = B.backslashes = !0, T = V(); continue; } if (T === CD) { j = !0; break; } } continue; } break; } if (D === !0) { if (j = !0, n === !0) continue; break; } } r.noext === !0 && (g = !1, D = !1); let z = l, Y = "", R = ""; h > 0 && (Y = l.slice(0, h), l = l.slice(h), p -= h), z && D === !0 && p > 0 ? (z = l.slice(0, p), R = l.slice(p)) : D === !0 ? (z = "", R = l) : z = l, z && z !== "" && z !== "/" && z !== l && vD(z.charCodeAt(z.length - 1)) && (z = z.slice(0, -1)), r.unescape === !0 && (R && (R = bD.removeBackslashes(R)), z && v === !0 && (z = bD.removeBackslashes(z))); let N = { prefix: Y, input: e, start: h, base: z, glob: R, isBrace: d, isBracket: m, isGlob: D, isExtglob: g, isGlobstar: C, negated: S, negatedExtglob: k }; if (r.tokens === !0 && (N.maxDepth = 0, vD(T) || a.push(B), N.tokens = a), r.parts === !0 || r.tokens === !0) { let U; for (let K = 0; K < u.length; K++) { let ee = U ? U + 1 : h, O = u[K], ue = e.slice(ee, O); r.tokens && (K === 0 && h !== 0 ? (a[K].isPrefix = !0, a[K].value = Y) : a[K].value = ue, wD(a[K]), N.maxDepth += a[K].depth), (K !== 0 || ue !== "") && o.push(ue), U = O; } if (U && U + 1 < e.length) { let K = e.slice(U + 1); o.push(K), r.tokens && (a[a.length - 1].value = K, wD(a[a.length - 1]), N.maxDepth += a[a.length - 1].depth); } N.slashes = u, N.parts = o; } return N; }, "scan"); FD.exports = p8; }); // ../node_modules/picomatch/lib/parse.js var BD = I((pJ, kD) => { "use strict"; var _u = ls(), Pt = cs(), { MAX_LENGTH: ku, POSIX_REGEX_SOURCE: f8, REGEX_NON_SPECIAL_CHARS: d8, REGEX_SPECIAL_CHARS_BACKREF: m8, REPLACEMENTS: _D } = _u, D8 = /* @__PURE__ */ s((e, t) => { if (typeof t.expandRange == "function") return t.expandRange(...e, t); e.sort(); let r = `[${e.join("-")}]`; try { new RegExp(r); } catch { return e.map((n) => Pt.escapeRegex(n)).join(".."); } return r; }, "expandRange"), sn = /* @__PURE__ */ s((e, t) => `Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`, "syntaxError"), Fl = /* @__PURE__ */ s( (e, t) => { if (typeof e != "string") throw new TypeError("Expected a string"); e = _D[e] || e; let r = { ...t }, i = typeof r.maxLength == "number" ? Math.min(ku, r.maxLength) : ku, n = e.length; if (n > i) throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${i}`); let u = { type: "bos", value: "", output: r.prepend || "" }, a = [u], o = r.capture ? "" : "?:", l = Pt.isWindows(t), c = _u.globChars(l), h = _u.extglobChars(c), { DOT_LITERAL: p, PLUS_LITERAL: d, SLASH_LITERAL: m, ONE_CHAR: D, DOTS_SLASH: g, NO_DOT: C, NO_DOT_SLASH: x, NO_DOTS_SLASH: v, QMARK: S, QMARK_NO_DOT: k, STAR: j, START_ANCHOR: w } = c, A = /* @__PURE__ */ s((te) => `(${o}(?:(?!${w}${te.dot ? g : p}).)*?)`, "globstar"), T = r.dot ? "" : C, B = r.dot ? S : k, $ = r. bash === !0 ? A(r) : j; r.capture && ($ = `(${$})`), typeof r.noext == "boolean" && (r.noextglob = r.noext); let L = { input: e, index: -1, start: 0, dot: r.dot === !0, consumed: "", output: "", prefix: "", backtrack: !1, negated: !1, brackets: 0, braces: 0, parens: 0, quotes: 0, globstar: !1, tokens: a }; e = Pt.removePrefix(e, L), n = e.length; let V = [], z = [], Y = [], R = u, N, U = /* @__PURE__ */ s(() => L.index === n - 1, "eos"), K = L.peek = (te = 1) => e[L.index + te], ee = L. advance = () => e[++L.index] || "", O = /* @__PURE__ */ s(() => e.slice(L.index + 1), "remaining"), ue = /* @__PURE__ */ s((te = "", De = 0) => { L.consumed += te, L.index += De; }, "consume"), Be = /* @__PURE__ */ s((te) => { L.output += te.output != null ? te.output : te.value, ue(te.value); }, "append"), M = /* @__PURE__ */ s(() => { let te = 1; for (; K() === "!" && (K(2) !== "(" || K(3) === "?"); ) ee(), L.start++, te++; return te % 2 === 0 ? !1 : (L.negated = !0, L.start++, !0); }, "negate"), Ae = /* @__PURE__ */ s((te) => { L[te]++, Y.push(te); }, "increment"), Pe = /* @__PURE__ */ s((te) => { L[te]--, Y.pop(); }, "decrement"), ae = /* @__PURE__ */ s((te) => { if (R.type === "globstar") { let De = L.braces > 0 && (te.type === "comma" || te.type === "brace"), Q = te.extglob === !0 || V.length && (te.type === "pipe" || te. type === "paren"); te.type !== "slash" && te.type !== "paren" && !De && !Q && (L.output = L.output.slice(0, -R.output.length), R.type = "star", R.value = "*", R.output = $, L.output += R.output); } if (V.length && te.type !== "paren" && (V[V.length - 1].inner += te.value), (te.value || te.output) && Be(te), R && R.type === "text" && te.type === "text") { R.value += te.value, R.output = (R.output || "") + te.value; return; } te.prev = R, a.push(te), R = te; }, "push"), nt = /* @__PURE__ */ s((te, De) => { let Q = { ...h[De], conditions: 1, inner: "" }; Q.prev = R, Q.parens = L.parens, Q.output = L.output; let le = (r.capture ? "(" : "") + Q.open; Ae("parens"), ae({ type: te, value: De, output: L.output ? "" : D }), ae({ type: "paren", extglob: !0, value: ee(), output: le }), V.push( Q); }, "extglobOpen"), Ie = /* @__PURE__ */ s((te) => { let De = te.close + (r.capture ? ")" : ""), Q; if (te.type === "negate") { let le = $; if (te.inner && te.inner.length > 1 && te.inner.includes("/") && (le = A(r)), (le !== $ || U() || /^\)+$/.test(O())) && (De = te.close = `)$))${le}`), te.inner.includes("*") && (Q = O()) && /^\.[^\\/.]+$/.test(Q)) { let Se = Fl(Q, { ...t, fastpaths: !1 }).output; De = te.close = `)${Se})${le})`; } te.prev.type === "bos" && (L.negatedExtglob = !0); } ae({ type: "paren", extglob: !0, value: N, output: De }), Pe("parens"); }, "extglobClose"); if (r.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(e)) { let te = !1, De = e.replace(m8, (Q, le, Se, Xe, Oe, Lt) => Xe === "\\" ? (te = !0, Q) : Xe === "?" ? le ? le + Xe + (Oe ? S.repeat(Oe. length) : "") : Lt === 0 ? B + (Oe ? S.repeat(Oe.length) : "") : S.repeat(Se.length) : Xe === "." ? p.repeat(Se.length) : Xe === "*" ? le ? le + Xe + (Oe ? $ : "") : $ : le ? Q : `\\${Q}`); return te === !0 && (r.unescape === !0 ? De = De.replace(/\\/g, "") : De = De.replace(/\\+/g, (Q) => Q.length % 2 === 0 ? "\\\\" : Q ? "\\" : "")), De === e && r.contains === !0 ? (L.output = e, L) : (L.output = Pt.wrapOutput(De, L, t), L); } for (; !U(); ) { if (N = ee(), N === "\0") continue; if (N === "\\") { let Q = K(); if (Q === "/" && r.bash !== !0 || Q === "." || Q === ";") continue; if (!Q) { N += "\\", ae({ type: "text", value: N }); continue; } let le = /^\\+/.exec(O()), Se = 0; if (le && le[0].length > 2 && (Se = le[0].length, L.index += Se, Se % 2 !== 0 && (N += "\\")), r.unescape === !0 ? N = ee() : N += ee(), L.brackets === 0) { ae({ type: "text", value: N }); continue; } } if (L.brackets > 0 && (N !== "]" || R.value === "[" || R.value === "[^")) { if (r.posix !== !1 && N === ":") { let Q = R.value.slice(1); if (Q.includes("[") && (R.posix = !0, Q.includes(":"))) { let le = R.value.lastIndexOf("["), Se = R.value.slice(0, le), Xe = R.value.slice(le + 2), Oe = f8[Xe]; if (Oe) { R.value = Se + Oe, L.backtrack = !0, ee(), !u.output && a.indexOf(R) === 1 && (u.output = D); continue; } } } (N === "[" && K() !== ":" || N === "-" && K() === "]") && (N = `\\${N}`), N === "]" && (R.value === "[" || R.value === "[^") && (N = `\\${N}`), r.posix === !0 && N === "!" && R.value === "[" && (N = "^"), R.value += N, Be({ value: N }); continue; } if (L.quotes === 1 && N !== '"') { N = Pt.escapeRegex(N), R.value += N, Be({ value: N }); continue; } if (N === '"') { L.quotes = L.quotes === 1 ? 0 : 1, r.keepQuotes === !0 && ae({ type: "text", value: N }); continue; } if (N === "(") { Ae("parens"), ae({ type: "paren", value: N }); continue; } if (N === ")") { if (L.parens === 0 && r.strictBrackets === !0) throw new SyntaxError(sn("opening", "(")); let Q = V[V.length - 1]; if (Q && L.parens === Q.parens + 1) { Ie(V.pop()); continue; } ae({ type: "paren", value: N, output: L.parens ? ")" : "\\)" }), Pe("parens"); continue; } if (N === "[") { if (r.nobracket === !0 || !O().includes("]")) { if (r.nobracket !== !0 && r.strictBrackets === !0) throw new SyntaxError(sn("closing", "]")); N = `\\${N}`; } else Ae("brackets"); ae({ type: "bracket", value: N }); continue; } if (N === "]") { if (r.nobracket === !0 || R && R.type === "bracket" && R.value.length === 1) { ae({ type: "text", value: N, output: `\\${N}` }); continue; } if (L.brackets === 0) { if (r.strictBrackets === !0) throw new SyntaxError(sn("opening", "[")); ae({ type: "text", value: N, output: `\\${N}` }); continue; } Pe("brackets"); let Q = R.value.slice(1); if (R.posix !== !0 && Q[0] === "^" && !Q.includes("/") && (N = `/${N}`), R.value += N, Be({ value: N }), r.literalBrackets === !1 || Pt.hasRegexChars(Q)) continue; let le = Pt.escapeRegex(R.value); if (L.output = L.output.slice(0, -R.value.length), r.literalBrackets === !0) { L.output += le, R.value = le; continue; } R.value = `(${o}${le}|${R.value})`, L.output += R.value; continue; } if (N === "{" && r.nobrace !== !0) { Ae("braces"); let Q = { type: "brace", value: N, output: "(", outputIndex: L.output.length, tokensIndex: L.tokens.length }; z.push(Q), ae(Q); continue; } if (N === "}") { let Q = z[z.length - 1]; if (r.nobrace === !0 || !Q) { ae({ type: "text", value: N, output: N }); continue; } let le = ")"; if (Q.dots === !0) { let Se = a.slice(), Xe = []; for (let Oe = Se.length - 1; Oe >= 0 && (a.pop(), Se[Oe].type !== "brace"); Oe--) Se[Oe].type !== "dots" && Xe.unshift(Se[Oe].value); le = D8(Xe, r), L.backtrack = !0; } if (Q.comma !== !0 && Q.dots !== !0) { let Se = L.output.slice(0, Q.outputIndex), Xe = L.tokens.slice(Q.tokensIndex); Q.value = Q.output = "\\{", N = le = "\\}", L.output = Se; for (let Oe of Xe) L.output += Oe.output || Oe.value; } ae({ type: "brace", value: N, output: le }), Pe("braces"), z.pop(); continue; } if (N === "|") { V.length > 0 && V[V.length - 1].conditions++, ae({ type: "text", value: N }); continue; } if (N === ",") { let Q = N, le = z[z.length - 1]; le && Y[Y.length - 1] === "braces" && (le.comma = !0, Q = "|"), ae({ type: "comma", value: N, output: Q }); continue; } if (N === "/") { if (R.type === "dot" && L.index === L.start + 1) { L.start = L.index + 1, L.consumed = "", L.output = "", a.pop(), R = u; continue; } ae({ type: "slash", value: N, output: m }); continue; } if (N === ".") { if (L.braces > 0 && R.type === "dot") { R.value === "." && (R.output = p); let Q = z[z.length - 1]; R.type = "dots", R.output += N, R.value += N, Q.dots = !0; continue; } if (L.braces + L.parens === 0 && R.type !== "bos" && R.type !== "slash") { ae({ type: "text", value: N, output: p }); continue; } ae({ type: "dot", value: N, output: p }); continue; } if (N === "?") { if (!(R && R.value === "(") && r.noextglob !== !0 && K() === "(" && K(2) !== "?") { nt("qmark", N); continue; } if (R && R.type === "paren") { let le = K(), Se = N; if (le === "<" && !Pt.supportsLookbehinds()) throw new Error("Node.js v10 or higher is required for regex lookbehinds"); (R.value === "(" && !/[!=<:]/.test(le) || le === "<" && !/<([!=]|\w+>)/.test(O())) && (Se = `\\${N}`), ae({ type: "text", value: N, output: Se }); continue; } if (r.dot !== !0 && (R.type === "slash" || R.type === "bos")) { ae({ type: "qmark", value: N, output: k }); continue; } ae({ type: "qmark", value: N, output: S }); continue; } if (N === "!") { if (r.noextglob !== !0 && K() === "(" && (K(2) !== "?" || !/[!=<:]/.test(K(3)))) { nt("negate", N); continue; } if (r.nonegate !== !0 && L.index === 0) { M(); continue; } } if (N === "+") { if (r.noextglob !== !0 && K() === "(" && K(2) !== "?") { nt("plus", N); continue; } if (R && R.value === "(" || r.regex === !1) { ae({ type: "plus", value: N, output: d }); continue; } if (R && (R.type === "bracket" || R.type === "paren" || R.type === "brace") || L.parens > 0) { ae({ type: "plus", value: N }); continue; } ae({ type: "plus", value: d }); continue; } if (N === "@") { if (r.noextglob !== !0 && K() === "(" && K(2) !== "?") { ae({ type: "at", extglob: !0, value: N, output: "" }); continue; } ae({ type: "text", value: N }); continue; } if (N !== "*") { (N === "$" || N === "^") && (N = `\\${N}`); let Q = d8.exec(O()); Q && (N += Q[0], L.index += Q[0].length), ae({ type: "text", value: N }); continue; } if (R && (R.type === "globstar" || R.star === !0)) { R.type = "star", R.star = !0, R.value += N, R.output = $, L.backtrack = !0, L.globstar = !0, ue(N); continue; } let te = O(); if (r.noextglob !== !0 && /^\([^?]/.test(te)) { nt("star", N); continue; } if (R.type === "star") { if (r.noglobstar === !0) { ue(N); continue; } let Q = R.prev, le = Q.prev, Se = Q.type === "slash" || Q.type === "bos", Xe = le && (le.type === "star" || le.type === "globstar"); if (r.bash === !0 && (!Se || te[0] && te[0] !== "/")) { ae({ type: "star", value: N, output: "" }); continue; } let Oe = L.braces > 0 && (Q.type === "comma" || Q.type === "brace"), Lt = V.length && (Q.type === "pipe" || Q.type === "paren"); if (!Se && Q.type !== "paren" && !Oe && !Lt) { ae({ type: "star", value: N, output: "" }); continue; } for (; te.slice(0, 3) === "/**"; ) { let fr = e[L.index + 4]; if (fr && fr !== "/") break; te = te.slice(3), ue("/**", 3); } if (Q.type === "bos" && U()) { R.type = "globstar", R.value += N, R.output = A(r), L.output = R.output, L.globstar = !0, ue(N); continue; } if (Q.type === "slash" && Q.prev.type !== "bos" && !Xe && U()) { L.output = L.output.slice(0, -(Q.output + R.output).length), Q.output = `(?:${Q.output}`, R.type = "globstar", R.output = A(r) + (r. strictSlashes ? ")" : "|$)"), R.value += N, L.globstar = !0, L.output += Q.output + R.output, ue(N); continue; } if (Q.type === "slash" && Q.prev.type !== "bos" && te[0] === "/") { let fr = te[1] !== void 0 ? "|$" : ""; L.output = L.output.slice(0, -(Q.output + R.output).length), Q.output = `(?:${Q.output}`, R.type = "globstar", R.output = `${A(r)}${m}\ |${m}${fr})`, R.value += N, L.output += Q.output + R.output, L.globstar = !0, ue(N + ee()), ae({ type: "slash", value: "/", output: "" }); continue; } if (Q.type === "bos" && te[0] === "/") { R.type = "globstar", R.value += N, R.output = `(?:^|${m}|${A(r)}${m})`, L.output = R.output, L.globstar = !0, ue(N + ee()), ae({ type: "\ slash", value: "/", output: "" }); continue; } L.output = L.output.slice(0, -R.output.length), R.type = "globstar", R.output = A(r), R.value += N, L.output += R.output, L.globstar = !0, ue(N); continue; } let De = { type: "star", value: N, output: $ }; if (r.bash === !0) { De.output = ".*?", (R.type === "bos" || R.type === "slash") && (De.output = T + De.output), ae(De); continue; } if (R && (R.type === "bracket" || R.type === "paren") && r.regex === !0) { De.output = N, ae(De); continue; } (L.index === L.start || R.type === "slash" || R.type === "dot") && (R.type === "dot" ? (L.output += x, R.output += x) : r.dot === !0 ? (L.output += v, R.output += v) : (L.output += T, R.output += T), K() !== "*" && (L.output += D, R.output += D)), ae(De); } for (; L.brackets > 0; ) { if (r.strictBrackets === !0) throw new SyntaxError(sn("closing", "]")); L.output = Pt.escapeLast(L.output, "["), Pe("brackets"); } for (; L.parens > 0; ) { if (r.strictBrackets === !0) throw new SyntaxError(sn("closing", ")")); L.output = Pt.escapeLast(L.output, "("), Pe("parens"); } for (; L.braces > 0; ) { if (r.strictBrackets === !0) throw new SyntaxError(sn("closing", "}")); L.output = Pt.escapeLast(L.output, "{"), Pe("braces"); } if (r.strictSlashes !== !0 && (R.type === "star" || R.type === "bracket") && ae({ type: "maybe_slash", value: "", output: `${m}?` }), L. backtrack === !0) { L.output = ""; for (let te of L.tokens) L.output += te.output != null ? te.output : te.value, te.suffix && (L.output += te.suffix); } return L; }, "parse"); Fl.fastpaths = (e, t) => { let r = { ...t }, i = typeof r.maxLength == "number" ? Math.min(ku, r.maxLength) : ku, n = e.length; if (n > i) throw new SyntaxError(`Input length: ${n}, exceeds maximum allowed length: ${i}`); e = _D[e] || e; let u = Pt.isWindows(t), { DOT_LITERAL: a, SLASH_LITERAL: o, ONE_CHAR: l, DOTS_SLASH: c, NO_DOT: h, NO_DOTS: p, NO_DOTS_SLASH: d, STAR: m, START_ANCHOR: D } = _u.globChars(u), g = r.dot ? p : h, C = r.dot ? d : h, x = r.capture ? "" : "?:", v = { negated: !1, prefix: "" }, S = r.bash === !0 ? ".*?" : m; r.capture && (S = `(${S})`); let k = /* @__PURE__ */ s((T) => T.noglobstar === !0 ? S : `(${x}(?:(?!${D}${T.dot ? c : a}).)*?)`, "globstar"), j = /* @__PURE__ */ s((T) => { switch (T) { case "*": return `${g}${l}${S}`; case ".*": return `${a}${l}${S}`; case "*.*": return `${g}${S}${a}${l}${S}`; case "*/*": return `${g}${S}${o}${l}${C}${S}`; case "**": return g + k(r); case "**/*": return `(?:${g}${k(r)}${o})?${C}${l}${S}`; case "**/*.*": return `(?:${g}${k(r)}${o})?${C}${S}${a}${l}${S}`; case "**/.*": return `(?:${g}${k(r)}${o})?${a}${l}${S}`; default: { let B = /^(.*?)\.(\w+)$/.exec(T); if (!B) return; let $ = j(B[1]); return $ ? $ + a + B[2] : void 0; } } }, "create"), w = Pt.removePrefix(e, v), A = j(w); return A && r.strictSlashes !== !0 && (A += `${o}?`), A; }; kD.exports = Fl; }); // ../node_modules/picomatch/lib/picomatch.js var PD = I((dJ, TD) => { "use strict"; var g8 = J("path"), x8 = SD(), Sl = BD(), _l = cs(), y8 = ls(), b8 = /* @__PURE__ */ s((e) => e && typeof e == "object" && !Array.isArray( e), "isObject"), Ye = /* @__PURE__ */ s((e, t, r = !1) => { if (Array.isArray(e)) { let h = e.map((d) => Ye(d, t, r)); return /* @__PURE__ */ s((d) => { for (let m of h) { let D = m(d); if (D) return D; } return !1; }, "arrayMatcher"); } let i = b8(e) && e.tokens && e.input; if (e === "" || typeof e != "string" && !i) throw new TypeError("Expected pattern to be a non-empty string"); let n = t || {}, u = _l.isWindows(t), a = i ? Ye.compileRe(e, t) : Ye.makeRe(e, t, !1, !0), o = a.state; delete a.state; let l = /* @__PURE__ */ s(() => !1, "isIgnored"); if (n.ignore) { let h = { ...t, ignore: null, onMatch: null, onResult: null }; l = Ye(n.ignore, h, r); } let c = /* @__PURE__ */ s((h, p = !1) => { let { isMatch: d, match: m, output: D } = Ye.test(h, a, t, { glob: e, posix: u }), g = { glob: e, state: o, regex: a, posix: u, input: h, output: D, match: m, isMatch: d }; return typeof n.onResult == "function" && n.onResult(g), d === !1 ? (g.isMatch = !1, p ? g : !1) : l(h) ? (typeof n.onIgnore == "funct\ ion" && n.onIgnore(g), g.isMatch = !1, p ? g : !1) : (typeof n.onMatch == "function" && n.onMatch(g), p ? g : !0); }, "matcher"); return r && (c.state = o), c; }, "picomatch"); Ye.test = (e, t, r, { glob: i, posix: n } = {}) => { if (typeof e != "string") throw new TypeError("Expected input to be a string"); if (e === "") return { isMatch: !1, output: "" }; let u = r || {}, a = u.format || (n ? _l.toPosixSlashes : null), o = e === i, l = o && a ? a(e) : e; return o === !1 && (l = a ? a(e) : e, o = l === i), (o === !1 || u.capture === !0) && (u.matchBase === !0 || u.basename === !0 ? o = Ye. matchBase(e, t, r, n) : o = t.exec(l)), { isMatch: !!o, match: o, output: l }; }; Ye.matchBase = (e, t, r, i = _l.isWindows(r)) => (t instanceof RegExp ? t : Ye.makeRe(t, r)).test(g8.basename(e)); Ye.isMatch = (e, t, r) => Ye(t, r)(e); Ye.parse = (e, t) => Array.isArray(e) ? e.map((r) => Ye.parse(r, t)) : Sl(e, { ...t, fastpaths: !1 }); Ye.scan = (e, t) => x8(e, t); Ye.compileRe = (e, t, r = !1, i = !1) => { if (r === !0) return e.output; let n = t || {}, u = n.contains ? "" : "^", a = n.contains ? "" : "$", o = `${u}(?:${e.output})${a}`; e && e.negated === !0 && (o = `^(?!${o}).*$`); let l = Ye.toRegex(o, t); return i === !0 && (l.state = e), l; }; Ye.makeRe = (e, t = {}, r = !1, i = !1) => { if (!e || typeof e != "string") throw new TypeError("Expected a non-empty string"); let n = { negated: !1, fastpaths: !0 }; return t.fastpaths !== !1 && (e[0] === "." || e[0] === "*") && (n.output = Sl.fastpaths(e, t)), n.output || (n = Sl(e, t)), Ye.compileRe( n, t, r, i); }; Ye.toRegex = (e, t) => { try { let r = t || {}; return new RegExp(e, r.flags || (r.nocase ? "i" : "")); } catch (r) { if (t && t.debug === !0) throw r; return /$^/; } }; Ye.constants = y8; TD.exports = Ye; }); // ../node_modules/picomatch/index.js var OD = I((DJ, ID) => { "use strict"; ID.exports = PD(); }); // ../node_modules/micromatch/index.js var jD = I((gJ, MD) => { "use strict"; var ND = J("util"), LD = dD(), xr = OD(), kl = cs(), RD = /* @__PURE__ */ s((e) => e === "" || e === "./", "isEmptyString"), je = /* @__PURE__ */ s( (e, t, r) => { t = [].concat(t), e = [].concat(e); let i = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Set(), a = 0, o = /* @__PURE__ */ s((h) => { u.add(h.output), r && r.onResult && r.onResult(h); }, "onResult"); for (let h = 0; h < t.length; h++) { let p = xr(String(t[h]), { ...r, onResult: o }, !0), d = p.state.negated || p.state.negatedExtglob; d && a++; for (let m of e) { let D = p(m, !0); (d ? !D.isMatch : D.isMatch) && (d ? i.add(D.output) : (i.delete(D.output), n.add(D.output))); } } let c = (a === t.length ? [...u] : [...n]).filter((h) => !i.has(h)); if (r && c.length === 0) { if (r.failglob === !0) throw new Error(`No matches found for "${t.join(", ")}"`); if (r.nonull === !0 || r.nullglob === !0) return r.unescape ? t.map((h) => h.replace(/\\/g, "")) : t; } return c; }, "micromatch"); je.match = je; je.matcher = (e, t) => xr(e, t); je.isMatch = (e, t, r) => xr(t, r)(e); je.any = je.isMatch; je.not = (e, t, r = {}) => { t = [].concat(t).map(String); let i = /* @__PURE__ */ new Set(), n = [], u = /* @__PURE__ */ s((o) => { r.onResult && r.onResult(o), n.push(o.output); }, "onResult"), a = new Set(je(e, t, { ...r, onResult: u })); for (let o of n) a.has(o) || i.add(o); return [...i]; }; je.contains = (e, t, r) => { if (typeof e != "string") throw new TypeError(`Expected a string: "${ND.inspect(e)}"`); if (Array.isArray(t)) return t.some((i) => je.contains(e, i, r)); if (typeof t == "string") { if (RD(e) || RD(t)) return !1; if (e.includes(t) || e.startsWith("./") && e.slice(2).includes(t)) return !0; } return je.isMatch(e, t, { ...r, contains: !0 }); }; je.matchKeys = (e, t, r) => { if (!kl.isObject(e)) throw new TypeError("Expected the first argument to be an object"); let i = je(Object.keys(e), t, r), n = {}; for (let u of i) n[u] = e[u]; return n; }; je.some = (e, t, r) => { let i = [].concat(e); for (let n of [].concat(t)) { let u = xr(String(n), r); if (i.some((a) => u(a))) return !0; } return !1; }; je.every = (e, t, r) => { let i = [].concat(e); for (let n of [].concat(t)) { let u = xr(String(n), r); if (!i.every((a) => u(a))) return !1; } return !0; }; je.all = (e, t, r) => { if (typeof e != "string") throw new TypeError(`Expected a string: "${ND.inspect(e)}"`); return [].concat(t).every((i) => xr(i, r)(e)); }; je.capture = (e, t, r) => { let i = kl.isWindows(r), u = xr.makeRe(String(e), { ...r, capture: !0 }).exec(i ? kl.toPosixSlashes(t) : t); if (u) return u.slice(1).map((a) => a === void 0 ? "" : a); }; je.makeRe = (...e) => xr.makeRe(...e); je.scan = (...e) => xr.scan(...e); je.parse = (e, t) => { let r = []; for (let i of [].concat(e || [])) for (let n of LD(String(i), t)) r.push(xr.parse(n, t)); return r; }; je.braces = (e, t) => { if (typeof e != "string") throw new TypeError("Expected a string"); return t && t.nobrace === !0 || !/\{.*\}/.test(e) ? [e] : LD(e, t); }; je.braceExpand = (e, t) => { if (typeof e != "string") throw new TypeError("Expected a string"); return je.braces(e, { ...t, expand: !0 }); }; MD.exports = je; }); // ../node_modules/fast-glob/out/utils/pattern.js var JD = I((he) => { "use strict"; Object.defineProperty(he, "__esModule", { value: !0 }); he.removeDuplicateSlashes = he.matchAny = he.convertPatternsToRe = he.makeRe = he.getPatternParts = he.expandBraceExpansion = he.expandPatternsWithBraceExpansion = he.isAffectDepthOfReadingPattern = he.endsWithSlashGlobStar = he.hasGlobStar = he.getBaseDirectory = he.isPatternRelatedToParentDirectory = he.getPatternsOutsideCurrentDirectory = he.getPatternsInsideCurrentDirectory = he.getPositivePatterns = he.getNegativePatterns = he.isPositivePattern = he.isNegativePattern = he.convertToNegativePattern = he.convertToPositivePattern = he.isDynamicPattern = he.isStaticPattern = void 0; var E8 = J("path"), C8 = P0(), Bl = jD(), qD = "**", v8 = "\\", w8 = /[*?]|^!/, A8 = /\[[^[]*]/, F8 = /(?:^|[^!*+?@])\([^(]*\|[^|]*\)/, S8 = /[!*+?@]\([^(]*\)/, _8 = /,|\.\./, k8 = /(?!^)\/{2,}/g; function $D(e, t = {}) { return !VD(e, t); } s($D, "isStaticPattern"); he.isStaticPattern = $D; function VD(e, t = {}) { return e === "" ? !1 : !!(t.caseSensitiveMatch === !1 || e.includes(v8) || w8.test(e) || A8.test(e) || F8.test(e) || t.extglob !== !1 && S8.test(e) || t.braceExpansion !== !1 && B8(e)); } s(VD, "isDynamicPattern"); he.isDynamicPattern = VD; function B8(e) { let t = e.indexOf("{"); if (t === -1) return !1; let r = e.indexOf("}", t + 1); if (r === -1) return !1; let i = e.slice(t, r); return _8.test(i); } s(B8, "hasBraceExpansion"); function T8(e) { return Bu(e) ? e.slice(1) : e; } s(T8, "convertToPositivePattern"); he.convertToPositivePattern = T8; function P8(e) { return "!" + e; } s(P8, "convertToNegativePattern"); he.convertToNegativePattern = P8; function Bu(e) { return e.startsWith("!") && e[1] !== "("; } s(Bu, "isNegativePattern"); he.isNegativePattern = Bu; function zD(e) { return !Bu(e); } s(zD, "isPositivePattern"); he.isPositivePattern = zD; function I8(e) { return e.filter(Bu); } s(I8, "getNegativePatterns"); he.getNegativePatterns = I8; function O8(e) { return e.filter(zD); } s(O8, "getPositivePatterns"); he.getPositivePatterns = O8; function R8(e) { return e.filter((t) => !Tl(t)); } s(R8, "getPatternsInsideCurrentDirectory"); he.getPatternsInsideCurrentDirectory = R8; function N8(e) { return e.filter(Tl); } s(N8, "getPatternsOutsideCurrentDirectory"); he.getPatternsOutsideCurrentDirectory = N8; function Tl(e) { return e.startsWith("..") || e.startsWith("./.."); } s(Tl, "isPatternRelatedToParentDirectory"); he.isPatternRelatedToParentDirectory = Tl; function L8(e) { return C8(e, { flipBackslashes: !1 }); } s(L8, "getBaseDirectory"); he.getBaseDirectory = L8; function M8(e) { return e.includes(qD); } s(M8, "hasGlobStar"); he.hasGlobStar = M8; function UD(e) { return e.endsWith("/" + qD); } s(UD, "endsWithSlashGlobStar"); he.endsWithSlashGlobStar = UD; function j8(e) { let t = E8.basename(e); return UD(e) || $D(t); } s(j8, "isAffectDepthOfReadingPattern"); he.isAffectDepthOfReadingPattern = j8; function q8(e) { return e.reduce((t, r) => t.concat(HD(r)), []); } s(q8, "expandPatternsWithBraceExpansion"); he.expandPatternsWithBraceExpansion = q8; function HD(e) { let t = Bl.braces(e, { expand: !0, nodupes: !0, keepEscaping: !0 }); return t.sort((r, i) => r.length - i.length), t.filter((r) => r !== ""); } s(HD, "expandBraceExpansion"); he.expandBraceExpansion = HD; function $8(e, t) { let { parts: r } = Bl.scan(e, Object.assign(Object.assign({}, t), { parts: !0 })); return r.length === 0 && (r = [e]), r[0].startsWith("/") && (r[0] = r[0].slice(1), r.unshift("")), r; } s($8, "getPatternParts"); he.getPatternParts = $8; function WD(e, t) { return Bl.makeRe(e, t); } s(WD, "makeRe"); he.makeRe = WD; function V8(e, t) { return e.map((r) => WD(r, t)); } s(V8, "convertPatternsToRe"); he.convertPatternsToRe = V8; function z8(e, t) { return t.some((r) => r.test(e)); } s(z8, "matchAny"); he.matchAny = z8; function U8(e) { return e.replace(k8, "/"); } s(U8, "removeDuplicateSlashes"); he.removeDuplicateSlashes = U8; }); // ../node_modules/merge2/index.js var KD = I((EJ, YD) => { "use strict"; var H8 = J("stream"), GD = H8.PassThrough, W8 = Array.prototype.slice; YD.exports = J8; function J8() { let e = [], t = W8.call(arguments), r = !1, i = t[t.length - 1]; i && !Array.isArray(i) && i.pipe == null ? t.pop() : i = {}; let n = i.end !== !1, u = i.pipeError === !0; i.objectMode == null && (i.objectMode = !0), i.highWaterMark == null && (i.highWaterMark = 64 * 1024); let a = GD(i); function o() { for (let h = 0, p = arguments.length; h < p; h++) e.push(XD(arguments[h], i)); return l(), this; } s(o, "addStream"); function l() { if (r) return; r = !0; let h = e.shift(); if (!h) { process.nextTick(c); return; } Array.isArray(h) || (h = [h]); let p = h.length + 1; function d() { --p > 0 || (r = !1, l()); } s(d, "next"); function m(D) { function g() { D.removeListener("merge2UnpipeEnd", g), D.removeListener("end", g), u && D.removeListener("error", C), d(); } s(g, "onend"); function C(x) { a.emit("error", x); } if (s(C, "onerror"), D._readableState.endEmitted) return d(); D.on("merge2UnpipeEnd", g), D.on("end", g), u && D.on("error", C), D.pipe(a, { end: !1 }), D.resume(); } s(m, "pipe"); for (let D = 0; D < h.length; D++) m(h[D]); d(); } s(l, "mergeStream"); function c() { r = !1, a.emit("queueDrain"), n && a.end(); } return s(c, "endStream"), a.setMaxListeners(0), a.add = o, a.on("unpipe", function(h) { h.emit("merge2UnpipeEnd"); }), t.length && o.apply(null, t), a; } s(J8, "merge2"); function XD(e, t) { if (Array.isArray(e)) for (let r = 0, i = e.length; r < i; r++) e[r] = XD(e[r], t); else { if (!e._readableState && e.pipe && (e = e.pipe(GD(t))), !e._readableState || !e.pause || !e.pipe) throw new Error("Only readable stream can be merged."); e.pause(); } return e; } s(XD, "pauseStreams"); }); // ../node_modules/fast-glob/out/utils/stream.js var ZD = I((Tu) => { "use strict"; Object.defineProperty(Tu, "__esModule", { value: !0 }); Tu.merge = void 0; var G8 = KD(); function X8(e) { let t = G8(e); return e.forEach((r) => { r.once("error", (i) => t.emit("error", i)); }), t.once("close", () => QD(e)), t.once("end", () => QD(e)), t; } s(X8, "merge"); Tu.merge = X8; function QD(e) { e.forEach((t) => t.emit("close")); } s(QD, "propagateCloseEventToSources"); }); // ../node_modules/fast-glob/out/utils/string.js var eg = I((un) => { "use strict"; Object.defineProperty(un, "__esModule", { value: !0 }); un.isEmpty = un.isString = void 0; function Y8(e) { return typeof e == "string"; } s(Y8, "isString"); un.isString = Y8; function K8(e) { return e === ""; } s(K8, "isEmpty"); un.isEmpty = K8; }); // ../node_modules/fast-glob/out/utils/index.js var Lr = I((ht) => { "use strict"; Object.defineProperty(ht, "__esModule", { value: !0 }); ht.string = ht.stream = ht.pattern = ht.path = ht.fs = ht.errno = ht.array = void 0; var Q8 = y0(); ht.array = Q8; var Z8 = b0(); ht.errno = Z8; var eB = E0(); ht.fs = eB; var tB = A0(); ht.path = tB; var rB = JD(); ht.pattern = rB; var iB = ZD(); ht.stream = iB; var nB = eg(); ht.string = nB; }); // ../node_modules/fast-glob/out/managers/tasks.js var ng = I((pt) => { "use strict"; Object.defineProperty(pt, "__esModule", { value: !0 }); pt.convertPatternGroupToTask = pt.convertPatternGroupsToTasks = pt.groupPatternsByBaseDirectory = pt.getNegativePatternsAsPositive = pt.getPositivePatterns = pt.convertPatternsToTasks = pt.generate = void 0; var ir = Lr(); function sB(e, t) { let r = tg(e, t), i = tg(t.ignore, t), n = rg(r), u = ig(r, i), a = n.filter((h) => ir.pattern.isStaticPattern(h, t)), o = n.filter((h) => ir. pattern.isDynamicPattern(h, t)), l = Pl( a, u, /* dynamic */ !1 ), c = Pl( o, u, /* dynamic */ !0 ); return l.concat(c); } s(sB, "generate"); pt.generate = sB; function tg(e, t) { let r = e; return t.braceExpansion && (r = ir.pattern.expandPatternsWithBraceExpansion(r)), t.baseNameMatch && (r = r.map((i) => i.includes("/") ? i : `**/${i}`)), r.map((i) => ir.pattern.removeDuplicateSlashes(i)); } s(tg, "processPatterns"); function Pl(e, t, r) { let i = [], n = ir.pattern.getPatternsOutsideCurrentDirectory(e), u = ir.pattern.getPatternsInsideCurrentDirectory(e), a = Il(n), o = Il( u); return i.push(...Ol(a, t, r)), "." in o ? i.push(Rl(".", u, t, r)) : i.push(...Ol(o, t, r)), i; } s(Pl, "convertPatternsToTasks"); pt.convertPatternsToTasks = Pl; function rg(e) { return ir.pattern.getPositivePatterns(e); } s(rg, "getPositivePatterns"); pt.getPositivePatterns = rg; function ig(e, t) { return ir.pattern.getNegativePatterns(e).concat(t).map(ir.pattern.convertToPositivePattern); } s(ig, "getNegativePatternsAsPositive"); pt.getNegativePatternsAsPositive = ig; function Il(e) { let t = {}; return e.reduce((r, i) => { let n = ir.pattern.getBaseDirectory(i); return n in r ? r[n].push(i) : r[n] = [i], r; }, t); } s(Il, "groupPatternsByBaseDirectory"); pt.groupPatternsByBaseDirectory = Il; function Ol(e, t, r) { return Object.keys(e).map((i) => Rl(i, e[i], t, r)); } s(Ol, "convertPatternGroupsToTasks"); pt.convertPatternGroupsToTasks = Ol; function Rl(e, t, r, i) { return { dynamic: i, positive: t, negative: r, base: e, patterns: [].concat(t, r.map(ir.pattern.convertToNegativePattern)) }; } s(Rl, "convertPatternGroupToTask"); pt.convertPatternGroupToTask = Rl; }); // ../node_modules/@nodelib/fs.stat/out/providers/async.js var ug = I((Pu) => { "use strict"; Object.defineProperty(Pu, "__esModule", { value: !0 }); Pu.read = void 0; function uB(e, t, r) { t.fs.lstat(e, (i, n) => { if (i !== null) { sg(r, i); return; } if (!n.isSymbolicLink() || !t.followSymbolicLink) { Nl(r, n); return; } t.fs.stat(e, (u, a) => { if (u !== null) { if (t.throwErrorOnBrokenSymbolicLink) { sg(r, u); return; } Nl(r, n); return; } t.markSymbolicLink && (a.isSymbolicLink = () => !0), Nl(r, a); }); }); } s(uB, "read"); Pu.read = uB; function sg(e, t) { e(t); } s(sg, "callFailureCallback"); function Nl(e, t) { e(null, t); } s(Nl, "callSuccessCallback"); }); // ../node_modules/@nodelib/fs.stat/out/providers/sync.js var ag = I((Iu) => { "use strict"; Object.defineProperty(Iu, "__esModule", { value: !0 }); Iu.read = void 0; function aB(e, t) { let r = t.fs.lstatSync(e); if (!r.isSymbolicLink() || !t.followSymbolicLink) return r; try { let i = t.fs.statSync(e); return t.markSymbolicLink && (i.isSymbolicLink = () => !0), i; } catch (i) { if (!t.throwErrorOnBrokenSymbolicLink) return r; throw i; } } s(aB, "read"); Iu.read = aB; }); // ../node_modules/@nodelib/fs.stat/out/adapters/fs.js var og = I((si) => { "use strict"; Object.defineProperty(si, "__esModule", { value: !0 }); si.createFileSystemAdapter = si.FILE_SYSTEM_ADAPTER = void 0; var Ou = J("fs"); si.FILE_SYSTEM_ADAPTER = { lstat: Ou.lstat, stat: Ou.stat, lstatSync: Ou.lstatSync, statSync: Ou.statSync }; function oB(e) { return e === void 0 ? si.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, si.FILE_SYSTEM_ADAPTER), e); } s(oB, "createFileSystemAdapter"); si.createFileSystemAdapter = oB; }); // ../node_modules/@nodelib/fs.stat/out/settings.js var lg = I((Ml) => { "use strict"; Object.defineProperty(Ml, "__esModule", { value: !0 }); var lB = og(), Ll = class { static { s(this, "Settings"); } constructor(t = {}) { this._options = t, this.followSymbolicLink = this._getValue(this._options.followSymbolicLink, !0), this.fs = lB.createFileSystemAdapter( this._options.fs), this.markSymbolicLink = this._getValue(this._options.markSymbolicLink, !1), this.throwErrorOnBrokenSymbolicLink = this. _getValue(this._options.throwErrorOnBrokenSymbolicLink, !0); } _getValue(t, r) { return t ?? r; } }; Ml.default = Ll; }); // ../node_modules/@nodelib/fs.stat/out/index.js var Li = I((ui) => { "use strict"; Object.defineProperty(ui, "__esModule", { value: !0 }); ui.statSync = ui.stat = ui.Settings = void 0; var cg = ug(), cB = ag(), jl = lg(); ui.Settings = jl.default; function hB(e, t, r) { if (typeof t == "function") { cg.read(e, ql(), t); return; } cg.read(e, ql(t), r); } s(hB, "stat"); ui.stat = hB; function pB(e, t) { let r = ql(t); return cB.read(e, r); } s(pB, "statSync"); ui.statSync = pB; function ql(e = {}) { return e instanceof jl.default ? e : new jl.default(e); } s(ql, "getSettings"); }); // ../node_modules/queue-microtask/index.js var fg = I((qJ, pg) => { var hg; pg.exports = typeof queueMicrotask == "function" ? queueMicrotask.bind(typeof window < "u" ? window : global) : (e) => (hg || (hg = Promise. resolve())).then(e).catch((t) => setTimeout(() => { throw t; }, 0)); }); // ../node_modules/run-parallel/index.js var mg = I(($J, dg) => { dg.exports = dB; var fB = fg(); function dB(e, t) { let r, i, n, u = !0; Array.isArray(e) ? (r = [], i = e.length) : (n = Object.keys(e), r = {}, i = n.length); function a(l) { function c() { t && t(l, r), t = null; } s(c, "end"), u ? fB(c) : c(); } s(a, "done"); function o(l, c, h) { r[l] = h, (--i === 0 || c) && a(c); } s(o, "each"), i ? n ? n.forEach(function(l) { e[l](function(c, h) { o(l, c, h); }); }) : e.forEach(function(l, c) { l(function(h, p) { o(c, h, p); }); }) : a(null), u = !1; } s(dB, "runParallel"); }); // ../node_modules/@nodelib/fs.scandir/out/constants.js var $l = I((Nu) => { "use strict"; Object.defineProperty(Nu, "__esModule", { value: !0 }); Nu.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0; var Ru = process.versions.node.split("."); if (Ru[0] === void 0 || Ru[1] === void 0) throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`); var Dg = Number.parseInt(Ru[0], 10), mB = Number.parseInt(Ru[1], 10), gg = 10, DB = 10, gB = Dg > gg, xB = Dg === gg && mB >= DB; Nu.IS_SUPPORT_READDIR_WITH_FILE_TYPES = gB || xB; }); // ../node_modules/@nodelib/fs.scandir/out/utils/fs.js var xg = I((Lu) => { "use strict"; Object.defineProperty(Lu, "__esModule", { value: !0 }); Lu.createDirentFromStats = void 0; var Vl = class { static { s(this, "DirentFromStats"); } constructor(t, r) { this.name = t, this.isBlockDevice = r.isBlockDevice.bind(r), this.isCharacterDevice = r.isCharacterDevice.bind(r), this.isDirectory = r. isDirectory.bind(r), this.isFIFO = r.isFIFO.bind(r), this.isFile = r.isFile.bind(r), this.isSocket = r.isSocket.bind(r), this.isSymbolicLink = r.isSymbolicLink.bind(r); } }; function yB(e, t) { return new Vl(e, t); } s(yB, "createDirentFromStats"); Lu.createDirentFromStats = yB; }); // ../node_modules/@nodelib/fs.scandir/out/utils/index.js var zl = I((Mu) => { "use strict"; Object.defineProperty(Mu, "__esModule", { value: !0 }); Mu.fs = void 0; var bB = xg(); Mu.fs = bB; }); // ../node_modules/@nodelib/fs.scandir/out/providers/common.js var Ul = I((ju) => { "use strict"; Object.defineProperty(ju, "__esModule", { value: !0 }); ju.joinPathSegments = void 0; function EB(e, t, r) { return e.endsWith(r) ? e + t : e + r + t; } s(EB, "joinPathSegments"); ju.joinPathSegments = EB; }); // ../node_modules/@nodelib/fs.scandir/out/providers/async.js var wg = I((ai) => { "use strict"; Object.defineProperty(ai, "__esModule", { value: !0 }); ai.readdir = ai.readdirWithFileTypes = ai.read = void 0; var CB = Li(), yg = mg(), vB = $l(), bg = zl(), Eg = Ul(); function wB(e, t, r) { if (!t.stats && vB.IS_SUPPORT_READDIR_WITH_FILE_TYPES) { Cg(e, t, r); return; } vg(e, t, r); } s(wB, "read"); ai.read = wB; function Cg(e, t, r) { t.fs.readdir(e, { withFileTypes: !0 }, (i, n) => { if (i !== null) { qu(r, i); return; } let u = n.map((o) => ({ dirent: o, name: o.name, path: Eg.joinPathSegments(e, o.name, t.pathSegmentSeparator) })); if (!t.followSymbolicLinks) { Hl(r, u); return; } let a = u.map((o) => AB(o, t)); yg(a, (o, l) => { if (o !== null) { qu(r, o); return; } Hl(r, l); }); }); } s(Cg, "readdirWithFileTypes"); ai.readdirWithFileTypes = Cg; function AB(e, t) { return (r) => { if (!e.dirent.isSymbolicLink()) { r(null, e); return; } t.fs.stat(e.path, (i, n) => { if (i !== null) { if (t.throwErrorOnBrokenSymbolicLink) { r(i); return; } r(null, e); return; } e.dirent = bg.fs.createDirentFromStats(e.name, n), r(null, e); }); }; } s(AB, "makeRplTaskEntry"); function vg(e, t, r) { t.fs.readdir(e, (i, n) => { if (i !== null) { qu(r, i); return; } let u = n.map((a) => { let o = Eg.joinPathSegments(e, a, t.pathSegmentSeparator); return (l) => { CB.stat(o, t.fsStatSettings, (c, h) => { if (c !== null) { l(c); return; } let p = { name: a, path: o, dirent: bg.fs.createDirentFromStats(a, h) }; t.stats && (p.stats = h), l(null, p); }); }; }); yg(u, (a, o) => { if (a !== null) { qu(r, a); return; } Hl(r, o); }); }); } s(vg, "readdir"); ai.readdir = vg; function qu(e, t) { e(t); } s(qu, "callFailureCallback"); function Hl(e, t) { e(null, t); } s(Hl, "callSuccessCallback"); }); // ../node_modules/@nodelib/fs.scandir/out/providers/sync.js var kg = I((oi) => { "use strict"; Object.defineProperty(oi, "__esModule", { value: !0 }); oi.readdir = oi.readdirWithFileTypes = oi.read = void 0; var FB = Li(), SB = $l(), Ag = zl(), Fg = Ul(); function _B(e, t) { return !t.stats && SB.IS_SUPPORT_READDIR_WITH_FILE_TYPES ? Sg(e, t) : _g(e, t); } s(_B, "read"); oi.read = _B; function Sg(e, t) { return t.fs.readdirSync(e, { withFileTypes: !0 }).map((i) => { let n = { dirent: i, name: i.name, path: Fg.joinPathSegments(e, i.name, t.pathSegmentSeparator) }; if (n.dirent.isSymbolicLink() && t.followSymbolicLinks) try { let u = t.fs.statSync(n.path); n.dirent = Ag.fs.createDirentFromStats(n.name, u); } catch (u) { if (t.throwErrorOnBrokenSymbolicLink) throw u; } return n; }); } s(Sg, "readdirWithFileTypes"); oi.readdirWithFileTypes = Sg; function _g(e, t) { return t.fs.readdirSync(e).map((i) => { let n = Fg.joinPathSegments(e, i, t.pathSegmentSeparator), u = FB.statSync(n, t.fsStatSettings), a = { name: i, path: n, dirent: Ag.fs.createDirentFromStats(i, u) }; return t.stats && (a.stats = u), a; }); } s(_g, "readdir"); oi.readdir = _g; }); // ../node_modules/@nodelib/fs.scandir/out/adapters/fs.js var Bg = I((li) => { "use strict"; Object.defineProperty(li, "__esModule", { value: !0 }); li.createFileSystemAdapter = li.FILE_SYSTEM_ADAPTER = void 0; var an = J("fs"); li.FILE_SYSTEM_ADAPTER = { lstat: an.lstat, stat: an.stat, lstatSync: an.lstatSync, statSync: an.statSync, readdir: an.readdir, readdirSync: an.readdirSync }; function kB(e) { return e === void 0 ? li.FILE_SYSTEM_ADAPTER : Object.assign(Object.assign({}, li.FILE_SYSTEM_ADAPTER), e); } s(kB, "createFileSystemAdapter"); li.createFileSystemAdapter = kB; }); // ../node_modules/@nodelib/fs.scandir/out/settings.js var Tg = I((Jl) => { "use strict"; Object.defineProperty(Jl, "__esModule", { value: !0 }); var BB = J("path"), TB = Li(), PB = Bg(), Wl = class { static { s(this, "Settings"); } constructor(t = {}) { this._options = t, this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !1), this.fs = PB.createFileSystemAdapter( this._options.fs), this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, BB.sep), this.stats = this._getValue( this._options.stats, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !0), this. fsStatSettings = new TB.Settings({ followSymbolicLink: this.followSymbolicLinks, fs: this.fs, throwErrorOnBrokenSymbolicLink: this.throwErrorOnBrokenSymbolicLink }); } _getValue(t, r) { return t ?? r; } }; Jl.default = Wl; }); // ../node_modules/@nodelib/fs.scandir/out/index.js var $u = I((ci) => { "use strict"; Object.defineProperty(ci, "__esModule", { value: !0 }); ci.Settings = ci.scandirSync = ci.scandir = void 0; var Pg = wg(), IB = kg(), Gl = Tg(); ci.Settings = Gl.default; function OB(e, t, r) { if (typeof t == "function") { Pg.read(e, Xl(), t); return; } Pg.read(e, Xl(t), r); } s(OB, "scandir"); ci.scandir = OB; function RB(e, t) { let r = Xl(t); return IB.read(e, r); } s(RB, "scandirSync"); ci.scandirSync = RB; function Xl(e = {}) { return e instanceof Gl.default ? e : new Gl.default(e); } s(Xl, "getSettings"); }); // ../node_modules/reusify/reusify.js var Og = I((sG, Ig) => { "use strict"; function NB(e) { var t = new e(), r = t; function i() { var u = t; return u.next ? t = u.next : (t = new e(), r = t), u.next = null, u; } s(i, "get"); function n(u) { r.next = u, r = u; } return s(n, "release"), { get: i, release: n }; } s(NB, "reusify"); Ig.exports = NB; }); // ../node_modules/fastq/queue.js var Ng = I((aG, Yl) => { "use strict"; var LB = Og(); function Rg(e, t, r) { if (typeof e == "function" && (r = t, t = e, e = null), r < 1) throw new Error("fastqueue concurrency must be greater than 1"); var i = LB(MB), n = null, u = null, a = 0, o = null, l = { push: g, drain: qt, saturated: qt, pause: h, paused: !1, concurrency: r, running: c, resume: m, idle: D, length: p, getQueue: d, unshift: C, empty: qt, kill: v, killAndDrain: S, error: k }; return l; function c() { return a; } function h() { l.paused = !0; } function p() { for (var j = n, w = 0; j; ) j = j.next, w++; return w; } function d() { for (var j = n, w = []; j; ) w.push(j.value), j = j.next; return w; } function m() { if (l.paused) { l.paused = !1; for (var j = 0; j < l.concurrency; j++) a++, x(); } } function D() { return a === 0 && l.length() === 0; } function g(j, w) { var A = i.get(); A.context = e, A.release = x, A.value = j, A.callback = w || qt, A.errorHandler = o, a === l.concurrency || l.paused ? u ? (u.next = A, u = A) : (n = A, u = A, l.saturated()) : (a++, t.call(e, A.value, A.worked)); } function C(j, w) { var A = i.get(); A.context = e, A.release = x, A.value = j, A.callback = w || qt, a === l.concurrency || l.paused ? n ? (A.next = n, n = A) : (n = A, u = A, l.saturated()) : (a++, t.call(e, A.value, A.worked)); } function x(j) { j && i.release(j); var w = n; w ? l.paused ? a-- : (u === n && (u = null), n = w.next, w.next = null, t.call(e, w.value, w.worked), u === null && l.empty()) : --a === 0 && l.drain(); } function v() { n = null, u = null, l.drain = qt; } function S() { n = null, u = null, l.drain(), l.drain = qt; } function k(j) { o = j; } } s(Rg, "fastqueue"); function qt() { } s(qt, "noop"); function MB() { this.value = null, this.callback = qt, this.next = null, this.release = qt, this.context = null, this.errorHandler = null; var e = this; this.worked = /* @__PURE__ */ s(function(r, i) { var n = e.callback, u = e.errorHandler, a = e.value; e.value = null, e.callback = qt, e.errorHandler && u(r, a), n.call(e.context, r, i), e.release(e); }, "worked"); } s(MB, "Task"); function jB(e, t, r) { typeof e == "function" && (r = t, t = e, e = null); function i(h, p) { t.call(this, h).then(function(d) { p(null, d); }, p); } s(i, "asyncWrapper"); var n = Rg(e, i, r), u = n.push, a = n.unshift; return n.push = o, n.unshift = l, n.drained = c, n; function o(h) { var p = new Promise(function(d, m) { u(h, function(D, g) { if (D) { m(D); return; } d(g); }); }); return p.catch(qt), p; } s(o, "push"); function l(h) { var p = new Promise(function(d, m) { a(h, function(D, g) { if (D) { m(D); return; } d(g); }); }); return p.catch(qt), p; } s(l, "unshift"); function c() { if (n.idle()) return new Promise(function(d) { d(); }); var h = n.drain, p = new Promise(function(d) { n.drain = function() { h(), d(); }; }); return p; } s(c, "drained"); } s(jB, "queueAsPromised"); Yl.exports = Rg; Yl.exports.promise = jB; }); // ../node_modules/@nodelib/fs.walk/out/readers/common.js var Vu = I((yr) => { "use strict"; Object.defineProperty(yr, "__esModule", { value: !0 }); yr.joinPathSegments = yr.replacePathSegmentSeparator = yr.isAppliedFilter = yr.isFatalError = void 0; function qB(e, t) { return e.errorFilter === null ? !0 : !e.errorFilter(t); } s(qB, "isFatalError"); yr.isFatalError = qB; function $B(e, t) { return e === null || e(t); } s($B, "isAppliedFilter"); yr.isAppliedFilter = $B; function VB(e, t) { return e.split(/[/\\]/).join(t); } s(VB, "replacePathSegmentSeparator"); yr.replacePathSegmentSeparator = VB; function zB(e, t, r) { return e === "" ? t : e.endsWith(r) ? e + t : e + r + t; } s(zB, "joinPathSegments"); yr.joinPathSegments = zB; }); // ../node_modules/@nodelib/fs.walk/out/readers/reader.js var Zl = I((Ql) => { "use strict"; Object.defineProperty(Ql, "__esModule", { value: !0 }); var UB = Vu(), Kl = class { static { s(this, "Reader"); } constructor(t, r) { this._root = t, this._settings = r, this._root = UB.replacePathSegmentSeparator(t, r.pathSegmentSeparator); } }; Ql.default = Kl; }); // ../node_modules/@nodelib/fs.walk/out/readers/async.js var rc = I((tc) => { "use strict"; Object.defineProperty(tc, "__esModule", { value: !0 }); var HB = J("events"), WB = $u(), JB = Ng(), zu = Vu(), GB = Zl(), ec = class extends GB.default { static { s(this, "AsyncReader"); } constructor(t, r) { super(t, r), this._settings = r, this._scandir = WB.scandir, this._emitter = new HB.EventEmitter(), this._queue = JB(this._worker.bind( this), this._settings.concurrency), this._isFatalError = !1, this._isDestroyed = !1, this._queue.drain = () => { this._isFatalError || this._emitter.emit("end"); }; } read() { return this._isFatalError = !1, this._isDestroyed = !1, setImmediate(() => { this._pushToQueue(this._root, this._settings.basePath); }), this._emitter; } get isDestroyed() { return this._isDestroyed; } destroy() { if (this._isDestroyed) throw new Error("The reader is already destroyed"); this._isDestroyed = !0, this._queue.killAndDrain(); } onEntry(t) { this._emitter.on("entry", t); } onError(t) { this._emitter.once("error", t); } onEnd(t) { this._emitter.once("end", t); } _pushToQueue(t, r) { let i = { directory: t, base: r }; this._queue.push(i, (n) => { n !== null && this._handleError(n); }); } _worker(t, r) { this._scandir(t.directory, this._settings.fsScandirSettings, (i, n) => { if (i !== null) { r(i, void 0); return; } for (let u of n) this._handleEntry(u, t.base); r(null, void 0); }); } _handleError(t) { this._isDestroyed || !zu.isFatalError(this._settings, t) || (this._isFatalError = !0, this._isDestroyed = !0, this._emitter.emit("erro\ r", t)); } _handleEntry(t, r) { if (this._isDestroyed || this._isFatalError) return; let i = t.path; r !== void 0 && (t.path = zu.joinPathSegments(r, t.name, this._settings.pathSegmentSeparator)), zu.isAppliedFilter(this._settings.entryFilter, t) && this._emitEntry(t), t.dirent.isDirectory() && zu.isAppliedFilter(this._settings.deepFilter, t) && this._pushToQueue(i, r === void 0 ? void 0 : t.path); } _emitEntry(t) { this._emitter.emit("entry", t); } }; tc.default = ec; }); // ../node_modules/@nodelib/fs.walk/out/providers/async.js var Lg = I((nc) => { "use strict"; Object.defineProperty(nc, "__esModule", { value: !0 }); var XB = rc(), ic = class { static { s(this, "AsyncProvider"); } constructor(t, r) { this._root = t, this._settings = r, this._reader = new XB.default(this._root, this._settings), this._storage = []; } read(t) { this._reader.onError((r) => { YB(t, r); }), this._reader.onEntry((r) => { this._storage.push(r); }), this._reader.onEnd(() => { KB(t, this._storage); }), this._reader.read(); } }; nc.default = ic; function YB(e, t) { e(t); } s(YB, "callFailureCallback"); function KB(e, t) { e(null, t); } s(KB, "callSuccessCallback"); }); // ../node_modules/@nodelib/fs.walk/out/providers/stream.js var Mg = I((uc) => { "use strict"; Object.defineProperty(uc, "__esModule", { value: !0 }); var QB = J("stream"), ZB = rc(), sc = class { static { s(this, "StreamProvider"); } constructor(t, r) { this._root = t, this._settings = r, this._reader = new ZB.default(this._root, this._settings), this._stream = new QB.Readable({ objectMode: !0, read: /* @__PURE__ */ s(() => { }, "read"), destroy: /* @__PURE__ */ s(() => { this._reader.isDestroyed || this._reader.destroy(); }, "destroy") }); } read() { return this._reader.onError((t) => { this._stream.emit("error", t); }), this._reader.onEntry((t) => { this._stream.push(t); }), this._reader.onEnd(() => { this._stream.push(null); }), this._reader.read(), this._stream; } }; uc.default = sc; }); // ../node_modules/@nodelib/fs.walk/out/readers/sync.js var jg = I((oc) => { "use strict"; Object.defineProperty(oc, "__esModule", { value: !0 }); var eT = $u(), Uu = Vu(), tT = Zl(), ac = class extends tT.default { static { s(this, "SyncReader"); } constructor() { super(...arguments), this._scandir = eT.scandirSync, this._storage = [], this._queue = /* @__PURE__ */ new Set(); } read() { return this._pushToQueue(this._root, this._settings.basePath), this._handleQueue(), this._storage; } _pushToQueue(t, r) { this._queue.add({ directory: t, base: r }); } _handleQueue() { for (let t of this._queue.values()) this._handleDirectory(t.directory, t.base); } _handleDirectory(t, r) { try { let i = this._scandir(t, this._settings.fsScandirSettings); for (let n of i) this._handleEntry(n, r); } catch (i) { this._handleError(i); } } _handleError(t) { if (Uu.isFatalError(this._settings, t)) throw t; } _handleEntry(t, r) { let i = t.path; r !== void 0 && (t.path = Uu.joinPathSegments(r, t.name, this._settings.pathSegmentSeparator)), Uu.isAppliedFilter(this._settings.entryFilter, t) && this._pushToStorage(t), t.dirent.isDirectory() && Uu.isAppliedFilter(this._settings.deepFilter, t) && this._pushToQueue(i, r === void 0 ? void 0 : t.path); } _pushToStorage(t) { this._storage.push(t); } }; oc.default = ac; }); // ../node_modules/@nodelib/fs.walk/out/providers/sync.js var qg = I((cc) => { "use strict"; Object.defineProperty(cc, "__esModule", { value: !0 }); var rT = jg(), lc = class { static { s(this, "SyncProvider"); } constructor(t, r) { this._root = t, this._settings = r, this._reader = new rT.default(this._root, this._settings); } read() { return this._reader.read(); } }; cc.default = lc; }); // ../node_modules/@nodelib/fs.walk/out/settings.js var $g = I((pc) => { "use strict"; Object.defineProperty(pc, "__esModule", { value: !0 }); var iT = J("path"), nT = $u(), hc = class { static { s(this, "Settings"); } constructor(t = {}) { this._options = t, this.basePath = this._getValue(this._options.basePath, void 0), this.concurrency = this._getValue(this._options.concurrency, Number.POSITIVE_INFINITY), this.deepFilter = this._getValue(this._options.deepFilter, null), this.entryFilter = this._getValue(this._options. entryFilter, null), this.errorFilter = this._getValue(this._options.errorFilter, null), this.pathSegmentSeparator = this._getValue(this. _options.pathSegmentSeparator, iT.sep), this.fsScandirSettings = new nT.Settings({ followSymbolicLinks: this._options.followSymbolicLinks, fs: this._options.fs, pathSegmentSeparator: this._options.pathSegmentSeparator, stats: this._options.stats, throwErrorOnBrokenSymbolicLink: this._options.throwErrorOnBrokenSymbolicLink }); } _getValue(t, r) { return t ?? r; } }; pc.default = hc; }); // ../node_modules/@nodelib/fs.walk/out/index.js var Wu = I((br) => { "use strict"; Object.defineProperty(br, "__esModule", { value: !0 }); br.Settings = br.walkStream = br.walkSync = br.walk = void 0; var Vg = Lg(), sT = Mg(), uT = qg(), fc = $g(); br.Settings = fc.default; function aT(e, t, r) { if (typeof t == "function") { new Vg.default(e, Hu()).read(t); return; } new Vg.default(e, Hu(t)).read(r); } s(aT, "walk"); br.walk = aT; function oT(e, t) { let r = Hu(t); return new uT.default(e, r).read(); } s(oT, "walkSync"); br.walkSync = oT; function lT(e, t) { let r = Hu(t); return new sT.default(e, r).read(); } s(lT, "walkStream"); br.walkStream = lT; function Hu(e = {}) { return e instanceof fc.default ? e : new fc.default(e); } s(Hu, "getSettings"); }); // ../node_modules/fast-glob/out/readers/reader.js var Ju = I((mc) => { "use strict"; Object.defineProperty(mc, "__esModule", { value: !0 }); var cT = J("path"), hT = Li(), zg = Lr(), dc = class { static { s(this, "Reader"); } constructor(t) { this._settings = t, this._fsStatSettings = new hT.Settings({ followSymbolicLink: this._settings.followSymbolicLinks, fs: this._settings.fs, throwErrorOnBrokenSymbolicLink: this._settings.followSymbolicLinks }); } _getFullEntryPath(t) { return cT.resolve(this._settings.cwd, t); } _makeEntry(t, r) { let i = { name: r, path: r, dirent: zg.fs.createDirentFromStats(r, t) }; return this._settings.stats && (i.stats = t), i; } _isFatalError(t) { return !zg.errno.isEnoentCodeError(t) && !this._settings.suppressErrors; } }; mc.default = dc; }); // ../node_modules/fast-glob/out/readers/stream.js var xc = I((gc) => { "use strict"; Object.defineProperty(gc, "__esModule", { value: !0 }); var pT = J("stream"), fT = Li(), dT = Wu(), mT = Ju(), Dc = class extends mT.default { static { s(this, "ReaderStream"); } constructor() { super(...arguments), this._walkStream = dT.walkStream, this._stat = fT.stat; } dynamic(t, r) { return this._walkStream(t, r); } static(t, r) { let i = t.map(this._getFullEntryPath, this), n = new pT.PassThrough({ objectMode: !0 }); n._write = (u, a, o) => this._getEntry(i[u], t[u], r).then((l) => { l !== null && r.entryFilter(l) && n.push(l), u === i.length - 1 && n.end(), o(); }).catch(o); for (let u = 0; u < i.length; u++) n.write(u); return n; } _getEntry(t, r, i) { return this._getStat(t).then((n) => this._makeEntry(n, r)).catch((n) => { if (i.errorFilter(n)) return null; throw n; }); } _getStat(t) { return new Promise((r, i) => { this._stat(t, this._fsStatSettings, (n, u) => n === null ? r(u) : i(n)); }); } }; gc.default = Dc; }); // ../node_modules/fast-glob/out/readers/async.js var Ug = I((bc) => { "use strict"; Object.defineProperty(bc, "__esModule", { value: !0 }); var DT = Wu(), gT = Ju(), xT = xc(), yc = class extends gT.default { static { s(this, "ReaderAsync"); } constructor() { super(...arguments), this._walkAsync = DT.walk, this._readerStream = new xT.default(this._settings); } dynamic(t, r) { return new Promise((i, n) => { this._walkAsync(t, r, (u, a) => { u === null ? i(a) : n(u); }); }); } async static(t, r) { let i = [], n = this._readerStream.static(t, r); return new Promise((u, a) => { n.once("error", a), n.on("data", (o) => i.push(o)), n.once("end", () => u(i)); }); } }; bc.default = yc; }); // ../node_modules/fast-glob/out/providers/matchers/matcher.js var Hg = I((Cc) => { "use strict"; Object.defineProperty(Cc, "__esModule", { value: !0 }); var ps = Lr(), Ec = class { static { s(this, "Matcher"); } constructor(t, r, i) { this._patterns = t, this._settings = r, this._micromatchOptions = i, this._storage = [], this._fillStorage(); } _fillStorage() { for (let t of this._patterns) { let r = this._getPatternSegments(t), i = this._splitSegmentsIntoSections(r); this._storage.push({ complete: i.length <= 1, pattern: t, segments: r, sections: i }); } } _getPatternSegments(t) { return ps.pattern.getPatternParts(t, this._micromatchOptions).map((i) => ps.pattern.isDynamicPattern(i, this._settings) ? { dynamic: !0, pattern: i, patternRe: ps.pattern.makeRe(i, this._micromatchOptions) } : { dynamic: !1, pattern: i }); } _splitSegmentsIntoSections(t) { return ps.array.splitWhen(t, (r) => r.dynamic && ps.pattern.hasGlobStar(r.pattern)); } }; Cc.default = Ec; }); // ../node_modules/fast-glob/out/providers/matchers/partial.js var Wg = I((wc) => { "use strict"; Object.defineProperty(wc, "__esModule", { value: !0 }); var yT = Hg(), vc = class extends yT.default { static { s(this, "PartialMatcher"); } match(t) { let r = t.split("/"), i = r.length, n = this._storage.filter((u) => !u.complete || u.segments.length > i); for (let u of n) { let a = u.sections[0]; if (!u.complete && i > a.length || r.every((l, c) => { let h = u.segments[c]; return !!(h.dynamic && h.patternRe.test(l) || !h.dynamic && h.pattern === l); })) return !0; } return !1; } }; wc.default = vc; }); // ../node_modules/fast-glob/out/providers/filters/deep.js var Jg = I((Fc) => { "use strict"; Object.defineProperty(Fc, "__esModule", { value: !0 }); var Gu = Lr(), bT = Wg(), Ac = class { static { s(this, "DeepFilter"); } constructor(t, r) { this._settings = t, this._micromatchOptions = r; } getFilter(t, r, i) { let n = this._getMatcher(r), u = this._getNegativePatternsRe(i); return (a) => this._filter(t, a, n, u); } _getMatcher(t) { return new bT.default(t, this._settings, this._micromatchOptions); } _getNegativePatternsRe(t) { let r = t.filter(Gu.pattern.isAffectDepthOfReadingPattern); return Gu.pattern.convertPatternsToRe(r, this._micromatchOptions); } _filter(t, r, i, n) { if (this._isSkippedByDeep(t, r.path) || this._isSkippedSymbolicLink(r)) return !1; let u = Gu.path.removeLeadingDotSegment(r.path); return this._isSkippedByPositivePatterns(u, i) ? !1 : this._isSkippedByNegativePatterns(u, n); } _isSkippedByDeep(t, r) { return this._settings.deep === 1 / 0 ? !1 : this._getEntryLevel(t, r) >= this._settings.deep; } _getEntryLevel(t, r) { let i = r.split("/").length; if (t === "") return i; let n = t.split("/").length; return i - n; } _isSkippedSymbolicLink(t) { return !this._settings.followSymbolicLinks && t.dirent.isSymbolicLink(); } _isSkippedByPositivePatterns(t, r) { return !this._settings.baseNameMatch && !r.match(t); } _isSkippedByNegativePatterns(t, r) { return !Gu.pattern.matchAny(t, r); } }; Fc.default = Ac; }); // ../node_modules/fast-glob/out/providers/filters/entry.js var Gg = I((_c) => { "use strict"; Object.defineProperty(_c, "__esModule", { value: !0 }); var Mi = Lr(), Sc = class { static { s(this, "EntryFilter"); } constructor(t, r) { this._settings = t, this._micromatchOptions = r, this.index = /* @__PURE__ */ new Map(); } getFilter(t, r) { let i = Mi.pattern.convertPatternsToRe(t, this._micromatchOptions), n = Mi.pattern.convertPatternsToRe(r, Object.assign(Object.assign( {}, this._micromatchOptions), { dot: !0 })); return (u) => this._filter(u, i, n); } _filter(t, r, i) { let n = Mi.path.removeLeadingDotSegment(t.path); if (this._settings.unique && this._isDuplicateEntry(n) || this._onlyFileFilter(t) || this._onlyDirectoryFilter(t) || this._isSkippedByAbsoluteNegativePatterns( n, i)) return !1; let u = t.dirent.isDirectory(), a = this._isMatchToPatterns(n, r, u) && !this._isMatchToPatterns(n, i, u); return this._settings.unique && a && this._createIndexRecord(n), a; } _isDuplicateEntry(t) { return this.index.has(t); } _createIndexRecord(t) { this.index.set(t, void 0); } _onlyFileFilter(t) { return this._settings.onlyFiles && !t.dirent.isFile(); } _onlyDirectoryFilter(t) { return this._settings.onlyDirectories && !t.dirent.isDirectory(); } _isSkippedByAbsoluteNegativePatterns(t, r) { if (!this._settings.absolute) return !1; let i = Mi.path.makeAbsolute(this._settings.cwd, t); return Mi.pattern.matchAny(i, r); } _isMatchToPatterns(t, r, i) { let n = Mi.pattern.matchAny(t, r); return !n && i ? Mi.pattern.matchAny(t + "/", r) : n; } }; _c.default = Sc; }); // ../node_modules/fast-glob/out/providers/filters/error.js var Xg = I((Bc) => { "use strict"; Object.defineProperty(Bc, "__esModule", { value: !0 }); var ET = Lr(), kc = class { static { s(this, "ErrorFilter"); } constructor(t) { this._settings = t; } getFilter() { return (t) => this._isNonFatalError(t); } _isNonFatalError(t) { return ET.errno.isEnoentCodeError(t) || this._settings.suppressErrors; } }; Bc.default = kc; }); // ../node_modules/fast-glob/out/providers/transformers/entry.js var Kg = I((Pc) => { "use strict"; Object.defineProperty(Pc, "__esModule", { value: !0 }); var Yg = Lr(), Tc = class { static { s(this, "EntryTransformer"); } constructor(t) { this._settings = t; } getTransformer() { return (t) => this._transform(t); } _transform(t) { let r = t.path; return this._settings.absolute && (r = Yg.path.makeAbsolute(this._settings.cwd, r), r = Yg.path.unixify(r)), this._settings.markDirectories && t.dirent.isDirectory() && (r += "/"), this._settings.objectMode ? Object.assign(Object.assign({}, t), { path: r }) : r; } }; Pc.default = Tc; }); // ../node_modules/fast-glob/out/providers/provider.js var Xu = I((Oc) => { "use strict"; Object.defineProperty(Oc, "__esModule", { value: !0 }); var CT = J("path"), vT = Jg(), wT = Gg(), AT = Xg(), FT = Kg(), Ic = class { static { s(this, "Provider"); } constructor(t) { this._settings = t, this.errorFilter = new AT.default(this._settings), this.entryFilter = new wT.default(this._settings, this._getMicromatchOptions()), this.deepFilter = new vT.default(this._settings, this._getMicromatchOptions()), this.entryTransformer = new FT.default(this._settings); } _getRootDirectory(t) { return CT.resolve(this._settings.cwd, t.base); } _getReaderOptions(t) { let r = t.base === "." ? "" : t.base; return { basePath: r, pathSegmentSeparator: "/", concurrency: this._settings.concurrency, deepFilter: this.deepFilter.getFilter(r, t.positive, t.negative), entryFilter: this.entryFilter.getFilter(t.positive, t.negative), errorFilter: this.errorFilter.getFilter(), followSymbolicLinks: this._settings.followSymbolicLinks, fs: this._settings.fs, stats: this._settings.stats, throwErrorOnBrokenSymbolicLink: this._settings.throwErrorOnBrokenSymbolicLink, transform: this.entryTransformer.getTransformer() }; } _getMicromatchOptions() { return { dot: this._settings.dot, matchBase: this._settings.baseNameMatch, nobrace: !this._settings.braceExpansion, nocase: !this._settings.caseSensitiveMatch, noext: !this._settings.extglob, noglobstar: !this._settings.globstar, posix: !0, strictSlashes: !1 }; } }; Oc.default = Ic; }); // ../node_modules/fast-glob/out/providers/async.js var Qg = I((Nc) => { "use strict"; Object.defineProperty(Nc, "__esModule", { value: !0 }); var ST = Ug(), _T = Xu(), Rc = class extends _T.default { static { s(this, "ProviderAsync"); } constructor() { super(...arguments), this._reader = new ST.default(this._settings); } async read(t) { let r = this._getRootDirectory(t), i = this._getReaderOptions(t); return (await this.api(r, t, i)).map((u) => i.transform(u)); } api(t, r, i) { return r.dynamic ? this._reader.dynamic(t, i) : this._reader.static(r.patterns, i); } }; Nc.default = Rc; }); // ../node_modules/fast-glob/out/providers/stream.js var Zg = I((Mc) => { "use strict"; Object.defineProperty(Mc, "__esModule", { value: !0 }); var kT = J("stream"), BT = xc(), TT = Xu(), Lc = class extends TT.default { static { s(this, "ProviderStream"); } constructor() { super(...arguments), this._reader = new BT.default(this._settings); } read(t) { let r = this._getRootDirectory(t), i = this._getReaderOptions(t), n = this.api(r, t, i), u = new kT.Readable({ objectMode: !0, read: /* @__PURE__ */ s( () => { }, "read") }); return n.once("error", (a) => u.emit("error", a)).on("data", (a) => u.emit("data", i.transform(a))).once("end", () => u.emit("end")), u. once("close", () => n.destroy()), u; } api(t, r, i) { return r.dynamic ? this._reader.dynamic(t, i) : this._reader.static(r.patterns, i); } }; Mc.default = Lc; }); // ../node_modules/fast-glob/out/readers/sync.js var ex = I((qc) => { "use strict"; Object.defineProperty(qc, "__esModule", { value: !0 }); var PT = Li(), IT = Wu(), OT = Ju(), jc = class extends OT.default { static { s(this, "ReaderSync"); } constructor() { super(...arguments), this._walkSync = IT.walkSync, this._statSync = PT.statSync; } dynamic(t, r) { return this._walkSync(t, r); } static(t, r) { let i = []; for (let n of t) { let u = this._getFullEntryPath(n), a = this._getEntry(u, n, r); a === null || !r.entryFilter(a) || i.push(a); } return i; } _getEntry(t, r, i) { try { let n = this._getStat(t); return this._makeEntry(n, r); } catch (n) { if (i.errorFilter(n)) return null; throw n; } } _getStat(t) { return this._statSync(t, this._fsStatSettings); } }; qc.default = jc; }); // ../node_modules/fast-glob/out/providers/sync.js var tx = I((Vc) => { "use strict"; Object.defineProperty(Vc, "__esModule", { value: !0 }); var RT = ex(), NT = Xu(), $c = class extends NT.default { static { s(this, "ProviderSync"); } constructor() { super(...arguments), this._reader = new RT.default(this._settings); } read(t) { let r = this._getRootDirectory(t), i = this._getReaderOptions(t); return this.api(r, t, i).map(i.transform); } api(t, r, i) { return r.dynamic ? this._reader.dynamic(t, i) : this._reader.static(r.patterns, i); } }; Vc.default = $c; }); // ../node_modules/fast-glob/out/settings.js var rx = I((ln) => { "use strict"; Object.defineProperty(ln, "__esModule", { value: !0 }); ln.DEFAULT_FILE_SYSTEM_ADAPTER = void 0; var on = J("fs"), LT = J("os"), MT = Math.max(LT.cpus().length, 1); ln.DEFAULT_FILE_SYSTEM_ADAPTER = { lstat: on.lstat, lstatSync: on.lstatSync, stat: on.stat, statSync: on.statSync, readdir: on.readdir, readdirSync: on.readdirSync }; var zc = class { static { s(this, "Settings"); } constructor(t = {}) { this._options = t, this.absolute = this._getValue(this._options.absolute, !1), this.baseNameMatch = this._getValue(this._options.baseNameMatch, !1), this.braceExpansion = this._getValue(this._options.braceExpansion, !0), this.caseSensitiveMatch = this._getValue(this._options.caseSensitiveMatch, !0), this.concurrency = this._getValue(this._options.concurrency, MT), this.cwd = this._getValue(this._options.cwd, process.cwd()), this. deep = this._getValue(this._options.deep, 1 / 0), this.dot = this._getValue(this._options.dot, !1), this.extglob = this._getValue(this. _options.extglob, !0), this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, !0), this.fs = this._getFileSystemMethods( this._options.fs), this.globstar = this._getValue(this._options.globstar, !0), this.ignore = this._getValue(this._options.ignore, []), this.markDirectories = this._getValue(this._options.markDirectories, !1), this.objectMode = this._getValue(this._options.objectMode, !1), this.onlyDirectories = this._getValue(this._options.onlyDirectories, !1), this.onlyFiles = this._getValue(this._options.onlyFiles, !0), this.stats = this._getValue(this._options.stats, !1), this.suppressErrors = this._getValue(this._options.suppressErrors, !1), this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, !1), this.unique = this._getValue(this._options.unique, !0), this.onlyDirectories && (this.onlyFiles = !1), this.stats && (this.objectMode = !0), this.ignore = [].concat(this.ignore); } _getValue(t, r) { return t === void 0 ? r : t; } _getFileSystemMethods(t = {}) { return Object.assign(Object.assign({}, ln.DEFAULT_FILE_SYSTEM_ADAPTER), t); } }; ln.default = zc; }); // ../node_modules/fast-glob/out/index.js var Jc = I((iX, nx) => { "use strict"; var ix = ng(), jT = Qg(), qT = Zg(), $T = tx(), Uc = rx(), $t = Lr(); async function Hc(e, t) { nr(e); let r = Wc(e, jT.default, t), i = await Promise.all(r); return $t.array.flatten(i); } s(Hc, "FastGlob"); (function(e) { e.glob = e, e.globSync = t, e.globStream = r, e.async = e; function t(c, h) { nr(c); let p = Wc(c, $T.default, h); return $t.array.flatten(p); } s(t, "sync"), e.sync = t; function r(c, h) { nr(c); let p = Wc(c, qT.default, h); return $t.stream.merge(p); } s(r, "stream"), e.stream = r; function i(c, h) { nr(c); let p = [].concat(c), d = new Uc.default(h); return ix.generate(p, d); } s(i, "generateTasks"), e.generateTasks = i; function n(c, h) { nr(c); let p = new Uc.default(h); return $t.pattern.isDynamicPattern(c, p); } s(n, "isDynamicPattern"), e.isDynamicPattern = n; function u(c) { return nr(c), $t.path.escape(c); } s(u, "escapePath"), e.escapePath = u; function a(c) { return nr(c), $t.path.convertPathToPattern(c); } s(a, "convertPathToPattern"), e.convertPathToPattern = a; let o; (function(c) { function h(d) { return nr(d), $t.path.escapePosixPath(d); } s(h, "escapePath"), c.escapePath = h; function p(d) { return nr(d), $t.path.convertPosixPathToPattern(d); } s(p, "convertPathToPattern"), c.convertPathToPattern = p; })(o = e.posix || (e.posix = {})); let l; (function(c) { function h(d) { return nr(d), $t.path.escapeWindowsPath(d); } s(h, "escapePath"), c.escapePath = h; function p(d) { return nr(d), $t.path.convertWindowsPathToPattern(d); } s(p, "convertPathToPattern"), c.convertPathToPattern = p; })(l = e.win32 || (e.win32 = {})); })(Hc || (Hc = {})); function Wc(e, t, r) { let i = [].concat(e), n = new Uc.default(r), u = ix.generate(i, n), a = new t(n); return u.map(a.read, a); } s(Wc, "getWorks"); function nr(e) { if (![].concat(e).every((i) => $t.string.isString(i) && !$t.string.isEmpty(i))) throw new TypeError("Patterns must be a string (non empty) or an array of strings"); } s(nr, "assertPatternsInput"); nx.exports = Hc; }); // ../node_modules/globby/node_modules/path-type/index.js import VT, { promises as zT } from "fs"; async function Gc(e, t, r) { if (typeof r != "string") throw new TypeError(`Expected a string, got ${typeof r}`); try { return (await zT[e](r))[t](); } catch (i) { if (i.code === "ENOENT") return !1; throw i; } } function Xc(e, t, r) { if (typeof r != "string") throw new TypeError(`Expected a string, got ${typeof r}`); try { return VT[e](r)[t](); } catch (i) { if (i.code === "ENOENT") return !1; throw i; } } var uX, sx, aX, oX, ux, lX, ax = ct(() => { s(Gc, "isType"); s(Xc, "isTypeSync"); uX = Gc.bind(null, "stat", "isFile"), sx = Gc.bind(null, "stat", "isDirectory"), aX = Gc.bind(null, "lstat", "isSymbolicLink"), oX = Xc.bind( null, "statSync", "isFile"), ux = Xc.bind(null, "statSync", "isDirectory"), lX = Xc.bind(null, "lstatSync", "isSymbolicLink"); }); // ../node_modules/ignore/index.js var Dx = I((pX, mx) => { function ox(e) { return Array.isArray(e) ? e : [e]; } s(ox, "makeArray"); var Qc = "", lx = " ", Yc = "\\", UT = /^\s+$/, HT = /(?:[^\\]|^)\\$/, WT = /^\\!/, JT = /^\\#/, GT = /\r?\n/g, XT = /^\.*\/|^\.+$/, Kc = "\ /", px = "node-ignore"; typeof Symbol < "u" && (px = Symbol.for("node-ignore")); var cx = px, YT = /* @__PURE__ */ s((e, t, r) => Object.defineProperty(e, t, { value: r }), "define"), KT = /([0-z])-([0-z])/g, fx = /* @__PURE__ */ s( () => !1, "RETURN_FALSE"), QT = /* @__PURE__ */ s((e) => e.replace( KT, (t, r, i) => r.charCodeAt(0) <= i.charCodeAt(0) ? t : Qc ), "sanitizeRange"), ZT = /* @__PURE__ */ s((e) => { let { length: t } = e; return e.slice(0, t - t % 2); }, "cleanRangeBackSlash"), e9 = [ [ // remove BOM // TODO: // Other similar zero-width characters? /^\uFEFF/, () => Qc ], // > Trailing spaces are ignored unless they are quoted with backslash ("\") [ // (a\ ) -> (a ) // (a ) -> (a) // (a \ ) -> (a ) /\\?\s+$/, (e) => e.indexOf("\\") === 0 ? lx : Qc ], // replace (\ ) with ' ' [ /\\\s/g, () => lx ], // Escape metacharacters // which is written down by users but means special for regular expressions. // > There are 12 characters with special meanings: // > - the backslash \, // > - the caret ^, // > - the dollar sign $, // > - the period or dot ., // > - the vertical bar or pipe symbol |, // > - the question mark ?, // > - the asterisk or star *, // > - the plus sign +, // > - the opening parenthesis (, // > - the closing parenthesis ), // > - and the opening square bracket [, // > - the opening curly brace {, // > These special characters are often called "metacharacters". [ /[\\$.|*+(){^]/g, (e) => `\\${e}` ], [ // > a question mark (?) matches a single character /(?!\\)\?/g, () => "[^/]" ], // leading slash [ // > A leading slash matches the beginning of the pathname. // > For example, "/*.c" matches "cat-file.c" but not "mozilla-sha1/sha1.c". // A leading slash matches the beginning of the pathname /^\//, () => "^" ], // replace special metacharacter slash after the leading slash [ /\//g, () => "\\/" ], [ // > A leading "**" followed by a slash means match in all directories. // > For example, "**/foo" matches file or directory "foo" anywhere, // > the same as pattern "foo". // > "**/foo/bar" matches file or directory "bar" anywhere that is directly // > under directory "foo". // Notice that the '*'s have been replaced as '\\*' /^\^*\\\*\\\*\\\//, // '**/foo' <-> 'foo' () => "^(?:.*\\/)?" ], // starting [ // there will be no leading '/' // (which has been replaced by section "leading slash") // If starts with '**', adding a '^' to the regular expression also works /^(?=[^^])/, /* @__PURE__ */ s(function() { return /\/(?!$)/.test(this) ? "^" : "(?:^|\\/)"; }, "startingReplacer") ], // two globstars [ // Use lookahead assertions so that we could match more than one `'/**'` /\\\/\\\*\\\*(?=\\\/|$)/g, // Zero, one or several directories // should not use '*', or it will be replaced by the next replacer // Check if it is not the last `'/**'` (e, t, r) => t + 6 < r.length ? "(?:\\/[^\\/]+)*" : "\\/.+" ], // normal intermediate wildcards [ // Never replace escaped '*' // ignore rule '\*' will match the path '*' // 'abc.*/' -> go // 'abc.*' -> skip this rule, // coz trailing single wildcard will be handed by [trailing wildcard] /(^|[^\\]+)(\\\*)+(?=.+)/g, // '*.js' matches '.js' // '*.js' doesn't match 'abc' (e, t, r) => { let i = r.replace(/\\\*/g, "[^\\/]*"); return t + i; } ], [ // unescape, revert step 3 except for back slash // For example, if a user escape a '\\*', // after step 3, the result will be '\\\\\\*' /\\\\\\(?=[$.|*+(){^])/g, () => Yc ], [ // '\\\\' -> '\\' /\\\\/g, () => Yc ], [ // > The range notation, e.g. [a-zA-Z], // > can be used to match one of the characters in a range. // `\` is escaped by step 3 /(\\)?\[([^\]/]*?)(\\*)($|\])/g, (e, t, r, i, n) => t === Yc ? `\\[${r}${ZT(i)}${n}` : n === "]" && i.length % 2 === 0 ? `[${QT(r)}${i}]` : "[]" ], // ending [ // 'js' will not match 'js.' // 'ab' will not match 'abc' /(?:[^*])$/, // WTF! // https://git-scm.com/docs/gitignore // changes in [2.22.1](https://git-scm.com/docs/gitignore/2.22.1) // which re-fixes #24, #38 // > If there is a separator at the end of the pattern then the pattern // > will only match directories, otherwise the pattern can match both // > files and directories. // 'js*' will not match 'a.js' // 'js/' will not match 'a.js' // 'js' will match 'a.js' and 'a.js/' (e) => /\/$/.test(e) ? `${e}$` : `${e}(?=$|\\/$)` ], // trailing wildcard [ /(\^|\\\/)?\\\*$/, (e, t) => `${t ? `${t}[^/]+` : "[^/]*"}(?=$|\\/$)` ] ], hx = /* @__PURE__ */ Object.create(null), t9 = /* @__PURE__ */ s((e, t) => { let r = hx[e]; return r || (r = e9.reduce( (i, n) => i.replace(n[0], n[1].bind(e)), e ), hx[e] = r), t ? new RegExp(r, "i") : new RegExp(r); }, "makeRegex"), th = /* @__PURE__ */ s((e) => typeof e == "string", "isString"), r9 = /* @__PURE__ */ s((e) => e && th(e) && !UT.test(e) && !HT.test(e) && e.indexOf("#") !== 0, "checkPattern"), i9 = /* @__PURE__ */ s((e) => e.split(GT), "splitPattern"), Zc = class { static { s(this, "IgnoreRule"); } constructor(t, r, i, n) { this.origin = t, this.pattern = r, this.negative = i, this.regex = n; } }, n9 = /* @__PURE__ */ s((e, t) => { let r = e, i = !1; e.indexOf("!") === 0 && (i = !0, e = e.substr(1)), e = e.replace(WT, "!").replace(JT, "#"); let n = t9(e, t); return new Zc( r, e, i, n ); }, "createRule"), s9 = /* @__PURE__ */ s((e, t) => { throw new t(e); }, "throwError"), Mr = /* @__PURE__ */ s((e, t, r) => th(e) ? e ? Mr.isNotRelative(e) ? r( `path should be a \`path.relative()\`d string, but got "${t}"`, RangeError ) : !0 : r("path must not be empty", TypeError) : r( `path must be a string, but got \`${t}\``, TypeError ), "checkPath"), dx = /* @__PURE__ */ s((e) => XT.test(e), "isNotRelative"); Mr.isNotRelative = dx; Mr.convert = (e) => e; var eh = class { static { s(this, "Ignore"); } constructor({ ignorecase: t = !0, ignoreCase: r = t, allowRelativePaths: i = !1 } = {}) { YT(this, cx, !0), this._rules = [], this._ignoreCase = r, this._allowRelativePaths = i, this._initCache(); } _initCache() { this._ignoreCache = /* @__PURE__ */ Object.create(null), this._testCache = /* @__PURE__ */ Object.create(null); } _addPattern(t) { if (t && t[cx]) { this._rules = this._rules.concat(t._rules), this._added = !0; return; } if (r9(t)) { let r = n9(t, this._ignoreCase); this._added = !0, this._rules.push(r); } } // @param {Array | string | Ignore} pattern add(t) { return this._added = !1, ox( th(t) ? i9(t) : t ).forEach(this._addPattern, this), this._added && this._initCache(), this; } // legacy addPattern(t) { return this.add(t); } // | ignored : unignored // negative | 0:0 | 0:1 | 1:0 | 1:1 // -------- | ------- | ------- | ------- | -------- // 0 | TEST | TEST | SKIP | X // 1 | TESTIF | SKIP | TEST | X // - SKIP: always skip // - TEST: always test // - TESTIF: only test if checkUnignored // - X: that never happen // @param {boolean} whether should check if the path is unignored, // setting `checkUnignored` to `false` could reduce additional // path matching. // @returns {TestResult} true if a file is ignored _testOne(t, r) { let i = !1, n = !1; return this._rules.forEach((u) => { let { negative: a } = u; if (n === a && i !== n || a && !i && !n && !r) return; u.regex.test(t) && (i = !a, n = a); }), { ignored: i, unignored: n }; } // @returns {TestResult} _test(t, r, i, n) { let u = t && Mr.convert(t); return Mr( u, t, this._allowRelativePaths ? fx : s9 ), this._t(u, r, i, n); } _t(t, r, i, n) { if (t in r) return r[t]; if (n || (n = t.split(Kc)), n.pop(), !n.length) return r[t] = this._testOne(t, i); let u = this._t( n.join(Kc) + Kc, r, i, n ); return r[t] = u.ignored ? u : this._testOne(t, i); } ignores(t) { return this._test(t, this._ignoreCache, !1).ignored; } createFilter() { return (t) => !this.ignores(t); } filter(t) { return ox(t).filter(this.createFilter()); } // @returns {TestResult} test(t) { return this._test(t, this._testCache, !0); } }, Yu = /* @__PURE__ */ s((e) => new eh(e), "factory"), u9 = /* @__PURE__ */ s((e) => Mr(e && Mr.convert(e), e, fx), "isPathValid"); Yu.isPathValid = u9; Yu.default = Yu; mx.exports = Yu; if ( // Detect `process` so that it can run in browsers. typeof process < "u" && (process.env && process.env.IGNORE_TEST_WIN32 || process.platform === "win32") ) { let e = /* @__PURE__ */ s((r) => /^\\\\\?\\/.test(r) || /["<>|\u0000-\u001F]+/u.test(r) ? r : r.replace(/\\/g, "/"), "makePosix"); Mr.convert = e; let t = /^[a-z]:\//i; Mr.isNotRelative = (r) => t.test(r) || dx(r); } }); // ../node_modules/globby/utilities.js var fs, rh = ct(() => { fs = /* @__PURE__ */ s((e) => e[0] === "!", "isNegativePattern"); }); // ../node_modules/globby/ignore.js import a9 from "node:process"; import o9 from "node:fs"; import l9 from "node:fs/promises"; import cn from "node:path"; var ih, gx, c9, xx, Ku, h9, p9, f9, yx, bx, nh, sh, Ex, Cx, uh = ct(() => { ih = fe(Jc(), 1), gx = fe(Dx(), 1); ts(); hu(); rh(); c9 = [ "**/node_modules", "**/flow-typed", "**/coverage", "**/.git" ], xx = { absolute: !0, dot: !0 }, Ku = "**/.gitignore", h9 = /* @__PURE__ */ s((e, t) => fs(e) ? "!" + cn.posix.join(t, e.slice(1)) : cn.posix.join(t, e), "applyBaseToPa\ ttern"), p9 = /* @__PURE__ */ s((e, t) => { let r = tt(cn.relative(t, cn.dirname(e.filePath))); return e.content.split(/\r?\n/).filter((i) => i && !i.startsWith("#")).map((i) => h9(i, r)); }, "parseIgnoreFile"), f9 = /* @__PURE__ */ s((e, t) => { if (t = tt(t), cn.isAbsolute(e)) { if (tt(e).startsWith(t)) return cn.relative(t, e); throw new Error(`Path ${e} is not in cwd ${t}`); } return e; }, "toRelativePath"), yx = /* @__PURE__ */ s((e, t) => { let r = e.flatMap((n) => p9(n, t)), i = (0, gx.default)().add(r); return (n) => (n = ti(n), n = f9(n, t), n ? i.ignores(tt(n)) : !1); }, "getIsIgnoredPredicate"), bx = /* @__PURE__ */ s((e = {}) => ({ cwd: ti(e.cwd) ?? a9.cwd(), suppressErrors: !!e.suppressErrors, deep: typeof e.deep == "number" ? e.deep : Number.POSITIVE_INFINITY, ignore: [...e.ignore ?? [], ...c9] }), "normalizeOptions"), nh = /* @__PURE__ */ s(async (e, t) => { let { cwd: r, suppressErrors: i, deep: n, ignore: u } = bx(t), a = await (0, ih.default)(e, { cwd: r, suppressErrors: i, deep: n, ignore: u, ...xx }), o = await Promise.all( a.map(async (l) => ({ filePath: l, content: await l9.readFile(l, "utf8") })) ); return yx(o, r); }, "isIgnoredByIgnoreFiles"), sh = /* @__PURE__ */ s((e, t) => { let { cwd: r, suppressErrors: i, deep: n, ignore: u } = bx(t), o = ih.default.sync(e, { cwd: r, suppressErrors: i, deep: n, ignore: u, ...xx }).map((l) => ({ filePath: l, content: o9.readFileSync(l, "utf8") })); return yx(o, r); }, "isIgnoredByIgnoreFilesSync"), Ex = /* @__PURE__ */ s((e) => nh(Ku, e), "isGitIgnored"), Cx = /* @__PURE__ */ s((e) => sh(Ku, e), "isGi\ tIgnoredSync"); }); // ../node_modules/globby/index.js var lh = {}; Ti(lh, { convertPathToPattern: () => w9, generateGlobTasks: () => C9, generateGlobTasksSync: () => v9, globby: () => x9, globbyStream: () => b9, globbySync: () => y9, isDynamicPattern: () => E9, isGitIgnored: () => Ex, isGitIgnoredSync: () => Cx }); import Ax from "node:process"; import d9 from "node:fs"; import hn from "node:path"; var pn, m9, Fx, Sx, vx, wx, ah, D9, _x, kx, Qu, Bx, g9, Tx, Px, Ix, Ox, Rx, Nx, oh, x9, y9, b9, E9, C9, v9, w9, ch = ct(() => { x0(); pn = fe(Jc(), 1); ax(); hu(); uh(); rh(); uh(); m9 = /* @__PURE__ */ s((e) => { if (e.some((t) => typeof t != "string")) throw new TypeError("Patterns must be a string or an array of strings"); }, "assertPatternsInput"), Fx = /* @__PURE__ */ s((e, t) => { let r = fs(e) ? e.slice(1) : e; return hn.isAbsolute(r) ? r : hn.join(t, r); }, "normalizePathForDirectoryGlob"), Sx = /* @__PURE__ */ s(({ directoryPath: e, files: t, extensions: r }) => { let i = r?.length > 0 ? `.${r.length > 1 ? `{${r.join(",")}}` : r[0]}` : ""; return t ? t.map((n) => hn.posix.join(e, `**/${hn.extname(n) ? n : `${n}${i}`}`)) : [hn.posix.join(e, `**${i ? `/*${i}` : ""}`)]; }, "getDirectoryGlob"), vx = /* @__PURE__ */ s(async (e, { cwd: t = Ax.cwd(), files: r, extensions: i } = {}) => (await Promise.all( e.map(async (u) => await sx(Fx(u, t)) ? Sx({ directoryPath: u, files: r, extensions: i }) : u) )).flat(), "directoryToGlob"), wx = /* @__PURE__ */ s((e, { cwd: t = Ax.cwd(), files: r, extensions: i } = {}) => e.flatMap((n) => ux(Fx(n, t)) ? Sx({ directoryPath: n, files: r, extensions: i }) : n), "directoryToGlobSync"), ah = /* @__PURE__ */ s( (e) => (e = [...new Set([e].flat())], m9(e), e), "toPatternsArray"), D9 = /* @__PURE__ */ s((e) => { if (!e) return; let t; try { t = d9.statSync(e); } catch { return; } if (!t.isDirectory()) throw new Error("The `cwd` option must be a path to a directory"); }, "checkCwdOption"), _x = /* @__PURE__ */ s((e = {}) => (e = { ...e, ignore: e.ignore ?? [], expandDirectories: e.expandDirectories ?? !0, cwd: ti(e.cwd) }, D9(e.cwd), e), "normalizeOptions"), kx = /* @__PURE__ */ s((e) => async (t, r) => e(ah(t), _x(r)), "normalizeArguments"), Qu = /* @__PURE__ */ s( (e) => (t, r) => e(ah(t), _x(r)), "normalizeArgumentsSync"), Bx = /* @__PURE__ */ s((e) => { let { ignoreFiles: t, gitignore: r } = e, i = t ? ah(t) : []; return r && i.push(Ku), i; }, "getIgnoreFilesPatterns"), g9 = /* @__PURE__ */ s(async (e) => { let t = Bx(e); return Px( t.length > 0 && await nh(t, e) ); }, "getFilter"), Tx = /* @__PURE__ */ s((e) => { let t = Bx(e); return Px( t.length > 0 && sh(t, e) ); }, "getFilterSync"), Px = /* @__PURE__ */ s((e) => { let t = /* @__PURE__ */ new Set(); return (r) => { let i = hn.normalize(r.path ?? r); return t.has(i) || e && e(i) ? !1 : (t.add(i), !0); }; }, "createFilterFunction"), Ix = /* @__PURE__ */ s((e, t) => e.flat().filter((r) => t(r)), "unionFastGlobResults"), Ox = /* @__PURE__ */ s( (e, t) => { let r = []; for (; e.length > 0; ) { let i = e.findIndex((u) => fs(u)); if (i === -1) { r.push({ patterns: e, options: t }); break; } let n = e[i].slice(1); for (let u of r) u.options.ignore.push(n); i !== 0 && r.push({ patterns: e.slice(0, i), options: { ...t, ignore: [ ...t.ignore, n ] } }), e = e.slice(i + 1); } return r; }, "convertNegativePatterns"), Rx = /* @__PURE__ */ s((e, t) => ({ ...t ? { cwd: t } : {}, ...Array.isArray(e) ? { files: e } : e }), "normalizeExpandDirectoriesOption"), Nx = /* @__PURE__ */ s(async (e, t) => { let r = Ox(e, t), { cwd: i, expandDirectories: n } = t; if (!n) return r; let u = Rx(n, i); return Promise.all( r.map(async (a) => { let { patterns: o, options: l } = a; return [ o, l.ignore ] = await Promise.all([ vx(o, u), vx(l.ignore, { cwd: i }) ]), { patterns: o, options: l }; }) ); }, "generateTasks"), oh = /* @__PURE__ */ s((e, t) => { let r = Ox(e, t), { cwd: i, expandDirectories: n } = t; if (!n) return r; let u = Rx(n, i); return r.map((a) => { let { patterns: o, options: l } = a; return o = wx(o, u), l.ignore = wx(l.ignore, { cwd: i }), { patterns: o, options: l }; }); }, "generateTasksSync"), x9 = kx(async (e, t) => { let [ r, i ] = await Promise.all([ Nx(e, t), g9(t) ]), n = await Promise.all(r.map((u) => (0, pn.default)(u.patterns, u.options))); return Ix(n, i); }), y9 = Qu((e, t) => { let r = oh(e, t), i = Tx(t), n = r.map((u) => pn.default.sync(u.patterns, u.options)); return Ix(n, i); }), b9 = Qu((e, t) => { let r = oh(e, t), i = Tx(t), n = r.map((a) => pn.default.stream(a.patterns, a.options)); return ll(n).filter((a) => i(a)); }), E9 = Qu( (e, t) => e.some((r) => pn.default.isDynamicPattern(r, t)) ), C9 = kx(Nx), v9 = Qu(oh), { convertPathToPattern: w9 } = pn.default; }); // ../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js function Hx(e, t) { let r = {}, i = {}, n = -1; for (; ++n < e.length; ) Object.assign(r, e[n].property), Object.assign(i, e[n].normal); return new ds(r, i, t); } function ph(e) { return e.toLowerCase(); } function ji() { return 2 ** ++P9; } function Lx(e, t, r) { r && (e[t] = r); } function mn(e) { let t = {}, r = {}, i; for (i in e.properties) if (I9.call(e.properties, i)) { let n = e.properties[i], u = new gh( i, e.transform(e.attributes || {}, i), n, e.space ); e.mustUseProperty && e.mustUseProperty.includes(i) && (u.mustUseProperty = !0), t[i] = u, r[ph(i)] = i, r[ph(u.attribute)] = i; } return new ds(t, r, e.space); } function Xx(e, t) { return t in e ? e[t] : t; } function Yx(e, t) { return Xx(e, t.toLowerCase()); } function M9(e, t) { let r = ph(t), i = t, n = Vt; if (r in e.normal) return e.property[e.normal[r]]; if (r.length > 4 && r.slice(0, 4) === "data" && N9.test(t)) { if (t.charAt(4) === "-") { let u = t.slice(5).replace(Mx, q9); i = "data" + u.charAt(0).toUpperCase() + u.slice(1); } else { let u = t.slice(4); if (!Mx.test(u)) { let a = u.replace(L9, j9); a.charAt(0) !== "-" && (a = "-" + a), t = "data" + a; } } n = gh; } return new n(i, t); } function j9(e) { return "-" + e.toLowerCase(); } function q9(e) { return e.charAt(1).toUpperCase(); } function Zx(e) { return t; function t(r) { let i = r && r.position && r.position[e] || {}; if (typeof i.line == "number" && i.line > 0 && typeof i.column == "number" && i.column > 0) return { line: i.line, column: i.column, offset: typeof i.offset == "number" && i.offset > -1 ? i.offset : void 0 }; } } function Eh(e) { let t = bh(e), r = yh(e); if (t && r) return { start: t, end: r }; } function z9(e, t) { let r = t || {}; function i(n, ...u) { let a = i.invalid, o = i.handlers; if (n && jx.call(n, e)) { let l = String(n[e]); a = jx.call(o, l) ? o[l] : i.unknown; } if (a) return a.call(this, n, ...u); } return s(i, "one"), i.handlers = r.handlers || {}, i.invalid = r.invalid, i.unknown = r.unknown, i; } function U9(e, t) { let r = { type: "Block", value: e.value }; t.inherit(e, r), t.comments.push(r); let i = { type: "JSXEmptyExpression", // @ts-expect-error: `comments` is custom. comments: [Object.assign({}, r, { leading: !1, trailing: !0 })] }; t.patch(e, i); let n = { type: "JSXExpressionContainer", expression: i }; return t.patch(e, n), n; } function H9(e, t) { let r = t || {}; return (e[e.length - 1] === "" ? [...e, ""] : e).join( (r.padRight ? " " : "") + "," + (r.padLeft === !1 ? "" : " ") ).trim(); } function zt(e) { return e ? W9.test(String.fromCodePoint(e)) : !1; } function Dn(e, t) { let i = (t || ey).jsx ? G9 : J9; return e ? i.test(String.fromCodePoint(e)) : !1; } function sr(e, t) { return ((t || ey).jsx ? Y9 : X9).test(e); } function K9(e) { return e.join(" ").trim(); } function iP(e, t) { let r = t.schema, i = r, n = e.properties || {}; r.space === "html" && e.tagName.toLowerCase() === "svg" && (i = xh, t.schema = i); let u = t.all(e), a = [], o, l, c; for (o in n) if (fh.call(n, o)) { let p = n[o], d = M9(i, o), m; if (p == null || p === !1 || typeof p == "number" && Number.isNaN(p) || !p && d.boolean) continue; if (o = t.elementAttributeNameCase === "react" && d.space ? $9[d.property] || d.property : d.attribute, Array.isArray(p) && (p = d.commaSeparated ? H9(p) : K9(p)), o === "style") { let D = typeof p == "object" ? p : nP(String(p), e.tagName); t.stylePropertyNameCase === "css" && (D = sP(D)); let g = [], C; for (C in D) fh.call(D, C) && g.push({ type: "Property", method: !1, shorthand: !1, computed: !1, key: sr(C) ? { type: "Identifier", name: C } : { type: "Literal", value: C }, value: { type: "Literal", value: String(D[C]) }, kind: "init" }); c = g, m = { type: "JSXExpressionContainer", expression: { type: "ObjectExpression", properties: g } }; } else if (p === !0) m = null; else if (t.tableCellAlignToStyle && rP.has(e.tagName) && o === "align") { l = String(p); continue; } else m = { type: "Literal", value: String(p) }; sr(o, { jsx: !0 }) ? a.push({ type: "JSXAttribute", name: { type: "JSXIdentifier", name: o }, value: m }) : a.push({ type: "JSXSpreadAttribute", argument: { type: "ObjectExpression", properties: [ { type: "Property", method: !1, shorthand: !1, computed: !1, key: { type: "Literal", value: String(o) }, // @ts-expect-error No need to worry about `style` (which has a // `JSXExpressionContainer` value) because that’s a valid identifier. value: m || { type: "Literal", value: !0 }, kind: "init" } ] } }); } if (l !== void 0) { c || (c = [], a.push({ type: "JSXAttribute", name: { type: "JSXIdentifier", name: "style" }, value: { type: "JSXExpressionContainer", expression: { type: "ObjectExpression", properties: c } } })); let p = t.stylePropertyNameCase === "css" ? ty("textAlign") : "textAlign"; c.push({ type: "Property", method: !1, shorthand: !1, computed: !1, key: sr(p) ? { type: "Identifier", name: p } : { type: "Literal", value: p }, value: { type: "Literal", value: l }, kind: "init" }); } t.schema = r; let h = { type: "JSXElement", openingElement: { type: "JSXOpeningElement", attributes: a, name: t.createJsxElementName(e.tagName), selfClosing: u.length === 0 }, closingElement: u.length > 0 ? { type: "JSXClosingElement", name: t.createJsxElementName(e.tagName) } : null, children: u }; return t.inherit(e, h), h; } function nP(e, t) { let r = {}; try { Z9(e, i); } catch (n) { let u = ( /** @type {Error} */ n ); throw new Error( "Could not parse `style` attribute on `" + t + "`", { cause: u } ); } return r; function i(n, u) { let a = n; a.slice(0, 2) !== "--" && (a.slice(0, 4) === "-ms-" && (a = "ms-" + a.slice(4)), a = a.replace(tP, uP)), r[a] = u; } } function sP(e) { let t = {}, r; for (r in e) fh.call(e, r) && (t[ty(r)] = e[r]); return t; } function ty(e) { let t = e.replace(eP, aP); return t.slice(0, 3) === "ms-" && (t = "-" + t), t; } function uP(e, t) { return t.toUpperCase(); } function aP(e) { return "-" + e.toLowerCase(); } function ea(e, t) { let r = t ? [...t].sort(Ch) : lP; r.length > 0 && ry(e, { comments: r, index: 0 }); } function ry(e, t) { if (t.index === t.comments.length) return; let r = [], i = [], n; for (n in e) if (oP.call(e, n)) { let a = e[n]; if (a && typeof a == "object" && n !== "comments") if (Array.isArray(a)) { let o = -1; for (; ++o < a.length; ) a[o] && typeof a[o].type == "string" && r.push(a[o]); } else typeof a.type == "string" && r.push(a); } r.sort(Ch), i.push(...qx(t, e, !1, { leading: !0, trailing: !1 })); let u = -1; for (; ++u < r.length; ) ry(r[u], t); i.push( ...qx(t, e, !0, { leading: !1, trailing: r.length > 0 }) ), i.length > 0 && (e.comments = i); } function qx(e, t, r, i) { let n = []; for (; e.comments[e.index] && Ch(e.comments[e.index], t, r) < 1; ) n.push(Object.assign({}, e.comments[e.index++], i)); return n; } function Ch(e, t, r) { let i = r ? "end" : "start"; return e.range && t.range ? e.range[0] - t.range[r ? 1 : 0] : e.loc && e.loc.start && t.loc && t.loc[i] ? e.loc.start.line - t.loc[i].line || e.loc.start.column - t.loc[i].column : "start" in e && i in t ? e.start - t[i] : Number.NaN; } function $x(e, t) { let r = e.data && e.data.estree, i = r && r.comments || [], n; r && (t.comments.push(...i), ea(r, r.comments), n = r.body[0] && r.body[0].type === "ExpressionStatement" && r.body[0].expression || void 0), n || (n = { type: "JSXEmptyExpression" }, t.patch(e, n)); let u = { type: "JSXExpressionContainer", expression: n }; return t.inherit(e, u), u; } function Vx(e, t) { let r = t.schema, i = r, n = e.attributes || [], u = -1; e.name && r.space === "html" && e.name.toLowerCase() === "svg" && (i = xh, t.schema = i); let a = t.all(e), o = []; for (; ++u < n.length; ) { let c = n[u], h = c.value, p; if (c.type === "mdxJsxAttribute") { if (h == null) p = null; else if (typeof h == "object") { let m = h.data && h.data.estree, D = m && m.comments || [], g; m && (t.comments.push(...D), ea(m, m.comments), g = m.body[0] && m.body[0].type === "ExpressionStatement" && m.body[0].expression || void 0), p = { type: "JSXExpressionContainer", expression: g || { type: "JSXEmptyExpression" } }, t.inherit(h, p); } else p = { type: "Literal", value: String(h) }; let d = { type: "JSXAttribute", name: t.createJsxAttributeName(c.name), value: p }; t.inherit(c, d), o.push(d); } else { let d = c.data && c.data.estree, m = d && d.comments || [], D; d && (t.comments.push(...m), ea(d, d.comments), D = d.body[0] && d.body[0].type === "ExpressionStatement" && d.body[0].expression && d. body[0].expression.type === "ObjectExpression" && d.body[0].expression.properties && d.body[0].expression.properties[0] && d.body[0].expression. properties[0].type === "SpreadElement" && d.body[0].expression.properties[0].argument || void 0); let g = { type: "JSXSpreadAttribute", argument: D || { type: "ObjectExpression", properties: [] } }; t.inherit(c, g), o.push(g); } } t.schema = r; let l = e.name ? { type: "JSXElement", openingElement: { type: "JSXOpeningElement", attributes: o, name: t.createJsxElementName(e.name), selfClosing: a.length === 0 }, closingElement: a.length > 0 ? { type: "JSXClosingElement", name: t.createJsxElementName(e.name) } : null, children: a } : { type: "JSXFragment", openingFragment: { type: "JSXOpeningFragment" }, closingFragment: { type: "JSXClosingFragment" }, children: a }; return t.inherit(e, l), l; } function cP(e, t) { let r = e.data && e.data.estree, i = r && r.comments || []; r && (t.comments.push(...i), ea(r, i), t.esm.push(...r.body)); } function pP(e) { return typeof e == "object" ? e.type === "text" ? zx(e.value) : !1 : zx(e); } function zx(e) { return e.replace(hP, "") === ""; } function fP(e, t) { let r = t.all(e), i = [], n = -1, u; for (; ++n < r.length; ) { let o = r[n]; o.type === "JSXExpressionContainer" && o.expression.type === "Literal" && pP(String(o.expression.value)) ? u && u.push(o) : (u && i.push( ...u), i.push(o), u = []); } let a = { type: "JSXFragment", openingFragment: { type: "JSXOpeningFragment" }, closingFragment: { type: "JSXClosingFragment" }, children: i }; return t.inherit(e, a), a; } function dP(e, t) { let r = String(e.value || ""); if (r) { let i = { type: "Literal", value: r }; t.inherit(e, i); let n = { type: "JSXExpressionContainer", expression: i }; return t.patch(e, n), n; } } function DP() { } function yP(e) { let t = z9("type", { invalid: bP, unknown: EP, handlers: { ...mP, ...e.handlers } }); return { // Current space. elementAttributeNameCase: e.elementAttributeNameCase || "react", schema: e.space === "svg" ? xh : V9, stylePropertyNameCase: e.stylePropertyNameCase || "dom", tableCellAlignToStyle: e.tableCellAlignToStyle !== !1, // Results. comments: [], esm: [], // Useful functions. all: CP, createJsxAttributeName: wP, createJsxElementName: AP, handle: r, inherit: vP, patch: iy }; function r(i) { return t(i, this); } } function bP(e) { throw new Error("Cannot handle value `" + e + "`, expected node"); } function EP(e) { throw "type" in e, new Error("Cannot handle unknown node `" + e.type + "`"); } function CP(e) { let t = e.children || [], r = -1, i = [], n = this.schema.space === "html" && e.type === "element" && xP.has(e.tagName.toLowerCase()); for (; ++r < t.length; ) { let u = t[r]; if (n && u.type === "text" && u.value === ` `) continue; let a = this.handle(u); Array.isArray(a) ? i.push(...a) : a && i.push(a); } return i; } function vP(e, t) { let r = ( /** @type {Record | undefined} */ e.data ), i, n; if (iy(e, t), r) { for (n in r) gP.call(r, n) && n !== "estree" && (i || (i = {}), i[n] = r[n]); i && (t.data = i); } } function iy(e, t) { let r = Eh(e); r && r.start.offset !== void 0 && r.end.offset !== void 0 && (t.start = r.start.offset, t.end = r.end.offset, t.loc = { start: { line: r.start.line, column: r.start.column - 1 }, end: { line: r.end.line, column: r.end.column - 1 } }, t.range = [r.start.offset, r.end.offset]); } function wP(e) { let t = ny(e); if (t.type === "JSXMemberExpression") throw new Error("Member expressions in attribute names are not supported"); return t; } function AP(e) { return ny(e); } function ny(e) { if (e.includes(".")) { let t = e.split("."), r = t.shift(); let i = { type: "JSXIdentifier", name: r }; for (; r = t.shift(); ) i = { type: "JSXMemberExpression", object: i, property: { type: "JSXIdentifier", name: r } }; return i; } if (e.includes(":")) { let t = e.split(":"); return { type: "JSXNamespacedName", namespace: { type: "JSXIdentifier", name: t[0] }, name: { type: "JSXIdentifier", name: t[1] } }; } return { type: "JSXIdentifier", name: e }; } function ra(e, t) { let r = yP(t || {}), i = r.handle(e), n = r.esm; if (i) { i.type !== "JSXFragment" && i.type !== "JSXElement" && (i = { type: "JSXFragment", openingFragment: { type: "JSXOpeningFragment" }, closingFragment: { type: "JSXClosingFragment" }, children: [i] }, r.patch(e, i)); let a = { type: "ExpressionStatement", expression: i }; r.patch(e, a), n.push(a); } let u = { type: "Program", body: n, sourceType: "module", comments: r.comments }; return r.patch(e, u), u; } var A9, dh, F9, Ux, S9, _9, mh, dn, Dh, k9, ta, B9, T9, ds, Vt, Zu, P9, me, Ze, Wx, Z, Re, fn, It, hh, gh, I9, Jx, Gx, Kx, Qx, O9, R9, N9, Mx, L9, $9, V9, xh, yh, bh, jx, W9, J9, G9, X9, Y9, ey, Q9, Z9, fh, eP, tP, rP, oP, lP, hP, mP, gP, xP, vh = ct(() => { A9 = Object.create, dh = Object.defineProperty, F9 = Object.getOwnPropertyDescriptor, Ux = Object.getOwnPropertyNames, S9 = Object.getPrototypeOf, _9 = Object.prototype.hasOwnProperty, mh = /* @__PURE__ */ ((e) => typeof J < "u" ? J : typeof Proxy < "u" ? new Proxy(e, { get: /* @__PURE__ */ s((t, r) => (typeof J < "u" ? J : t)[r], "get") }) : e)(function(e) { if (typeof J < "u") return J.apply(this, arguments); throw new Error('Dynamic require of "' + e + '" is not supported'); }), dn = /* @__PURE__ */ s((e, t) => /* @__PURE__ */ s(function() { return t || (0, e[Ux(e)[0]])((t = { exports: {} }).exports, t), t.exports; }, "__require2"), "__commonJS"), Dh = /* @__PURE__ */ s((e, t) => { for (var r in t) dh(e, r, { get: t[r], enumerable: !0 }); }, "__export"), k9 = /* @__PURE__ */ s((e, t, r, i) => { if (t && typeof t == "object" || typeof t == "function") for (let n of Ux(t)) !_9.call(e, n) && n !== r && dh(e, n, { get: /* @__PURE__ */ s(() => t[n], "get"), enumerable: !(i = F9(t, n)) || i.enumerable }); return e; }, "__copyProps"), ta = /* @__PURE__ */ s((e, t, r) => (r = e != null ? A9(S9(e)) : {}, k9( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. t || !e || !e.__esModule ? dh(r, "default", { value: e, enumerable: !0 }) : r, e )), "__toESM"), B9 = dn({ "node_modules/inline-style-parser/index.js"(e, t) { var r = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, i = /\n/g, n = /^\s*/, u = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, a = /^:\s*/, o = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, l = /^[;\s]*/, c = /^\s+|\s+$/g, h = ` `, p = "/", d = "*", m = "", D = "comment", g = "declaration"; t.exports = function(x, v) { if (typeof x != "string") throw new TypeError("First argument must be a string"); if (!x) return []; v = v || {}; var S = 1, k = 1; function j(N) { var U = N.match(i); U && (S += U.length); var K = N.lastIndexOf(h); k = ~K ? N.length - K : k + N.length; } s(j, "updatePosition"); function w() { var N = { line: S, column: k }; return function(U) { return U.position = new A(N), L(), U; }; } s(w, "position2"); function A(N) { this.start = N, this.end = { line: S, column: k }, this.source = v.source; } s(A, "Position"), A.prototype.content = x; var T = []; function B(N) { var U = new Error( v.source + ":" + S + ":" + k + ": " + N ); if (U.reason = N, U.filename = v.source, U.line = S, U.column = k, U.source = x, v.silent) T.push(U); else throw U; } s(B, "error"); function $(N) { var U = N.exec(x); if (U) { var K = U[0]; return j(K), x = x.slice(K.length), U; } } s($, "match"); function L() { $(n); } s(L, "whitespace2"); function V(N) { var U; for (N = N || []; U = z(); ) U !== !1 && N.push(U); return N; } s(V, "comments"); function z() { var N = w(); if (!(p != x.charAt(0) || d != x.charAt(1))) { for (var U = 2; m != x.charAt(U) && (d != x.charAt(U) || p != x.charAt(U + 1)); ) ++U; if (U += 2, m === x.charAt(U - 1)) return B("End of comment missing"); var K = x.slice(2, U - 2); return k += 2, j(K), x = x.slice(U), k += 2, N({ type: D, comment: K }); } } s(z, "comment2"); function Y() { var N = w(), U = $(u); if (U) { if (z(), !$(a)) return B("property missing ':'"); var K = $(o), ee = N({ type: g, property: C(U[0].replace(r, m)), value: K ? C(K[0].replace(r, m)) : m }); return $(l), ee; } } s(Y, "declaration"); function R() { var N = []; V(N); for (var U; U = Y(); ) U !== !1 && (N.push(U), V(N)); return N; } return s(R, "declarations"), L(), R(); }; function C(x) { return x ? x.replace(c, m) : m; } s(C, "trim"); } }), T9 = dn({ "node_modules/style-to-object/index.js"(e, t) { var r = B9(); function i(n, u) { var a = null; if (!n || typeof n != "string") return a; for (var o, l = r(n), c = typeof u == "function", h, p, d = 0, m = l.length; d < m; d++) o = l[d], h = o.property, p = o.value, c ? u(h, p, o) : p && (a || (a = {}), a[h] = p); return a; } s(i, "StyleToObject2"), t.exports = i, t.exports.default = i; } }), ds = class { static { s(this, "Schema"); } /** * @constructor * @param {Properties} property * @param {Normal} normal * @param {string} [space] */ constructor(e, t, r) { this.property = e, this.normal = t, r && (this.space = r); } }; ds.prototype.property = {}; ds.prototype.normal = {}; ds.prototype.space = null; s(Hx, "merge"); s(ph, "normalize"); Vt = class { static { s(this, "Info"); } /** * @constructor * @param {string} property * @param {string} attribute */ constructor(e, t) { this.property = e, this.attribute = t; } }; Vt.prototype.space = null; Vt.prototype.boolean = !1; Vt.prototype.booleanish = !1; Vt.prototype.overloadedBoolean = !1; Vt.prototype.number = !1; Vt.prototype.commaSeparated = !1; Vt.prototype.spaceSeparated = !1; Vt.prototype.commaOrSpaceSeparated = !1; Vt.prototype.mustUseProperty = !1; Vt.prototype.defined = !1; Zu = {}; Dh(Zu, { boolean: /* @__PURE__ */ s(() => me, "boolean"), booleanish: /* @__PURE__ */ s(() => Ze, "booleanish"), commaOrSpaceSeparated: /* @__PURE__ */ s(() => It, "commaOrSpaceSeparated"), commaSeparated: /* @__PURE__ */ s(() => fn, "commaSeparated"), number: /* @__PURE__ */ s(() => Z, "number"), overloadedBoolean: /* @__PURE__ */ s(() => Wx, "overloadedBoolean"), spaceSeparated: /* @__PURE__ */ s(() => Re, "spaceSeparated") }); P9 = 0, me = ji(), Ze = ji(), Wx = ji(), Z = ji(), Re = ji(), fn = ji(), It = ji(); s(ji, "increment"); hh = Object.keys(Zu), gh = class extends Vt { static { s(this, "DefinedInfo"); } /** * @constructor * @param {string} property * @param {string} attribute * @param {number|null} [mask] * @param {string} [space] */ constructor(e, t, r, i) { let n = -1; if (super(e, t), Lx(this, "space", i), typeof r == "number") for (; ++n < hh.length; ) { let u = hh[n]; Lx(this, hh[n], (r & Zu[u]) === Zu[u]); } } }; gh.prototype.defined = !0; s(Lx, "mark"); I9 = {}.hasOwnProperty; s(mn, "create"); Jx = mn({ space: "xlink", transform(e, t) { return "xlink:" + t.slice(5).toLowerCase(); }, properties: { xLinkActuate: null, xLinkArcRole: null, xLinkHref: null, xLinkRole: null, xLinkShow: null, xLinkTitle: null, xLinkType: null } }), Gx = mn({ space: "xml", transform(e, t) { return "xml:" + t.slice(3).toLowerCase(); }, properties: { xmlLang: null, xmlBase: null, xmlSpace: null } }); s(Xx, "caseSensitiveTransform"); s(Yx, "caseInsensitiveTransform"); Kx = mn({ space: "xmlns", attributes: { xmlnsxlink: "xmlns:xlink" }, transform: Yx, properties: { xmlns: null, xmlnsXLink: null } }), Qx = mn({ transform(e, t) { return t === "role" ? t : "aria-" + t.slice(4).toLowerCase(); }, properties: { ariaActiveDescendant: null, ariaAtomic: Ze, ariaAutoComplete: null, ariaBusy: Ze, ariaChecked: Ze, ariaColCount: Z, ariaColIndex: Z, ariaColSpan: Z, ariaControls: Re, ariaCurrent: null, ariaDescribedBy: Re, ariaDetails: null, ariaDisabled: Ze, ariaDropEffect: Re, ariaErrorMessage: null, ariaExpanded: Ze, ariaFlowTo: Re, ariaGrabbed: Ze, ariaHasPopup: null, ariaHidden: Ze, ariaInvalid: null, ariaKeyShortcuts: null, ariaLabel: null, ariaLabelledBy: Re, ariaLevel: Z, ariaLive: null, ariaModal: Ze, ariaMultiLine: Ze, ariaMultiSelectable: Ze, ariaOrientation: null, ariaOwns: Re, ariaPlaceholder: null, ariaPosInSet: Z, ariaPressed: Ze, ariaReadOnly: Ze, ariaRelevant: null, ariaRequired: Ze, ariaRoleDescription: Re, ariaRowCount: Z, ariaRowIndex: Z, ariaRowSpan: Z, ariaSelected: Ze, ariaSetSize: Z, ariaSort: null, ariaValueMax: Z, ariaValueMin: Z, ariaValueNow: Z, ariaValueText: null, role: null } }), O9 = mn({ space: "html", attributes: { acceptcharset: "accept-charset", classname: "class", htmlfor: "for", httpequiv: "http-equiv" }, transform: Yx, mustUseProperty: ["checked", "multiple", "muted", "selected"], properties: { // Standard Properties. abbr: null, accept: fn, acceptCharset: Re, accessKey: Re, action: null, allow: null, allowFullScreen: me, allowPaymentRequest: me, allowUserMedia: me, alt: null, as: null, async: me, autoCapitalize: null, autoComplete: Re, autoFocus: me, autoPlay: me, blocking: Re, capture: me, charSet: null, checked: me, cite: null, className: Re, cols: Z, colSpan: null, content: null, contentEditable: Ze, controls: me, controlsList: Re, coords: Z | fn, crossOrigin: null, data: null, dateTime: null, decoding: null, default: me, defer: me, dir: null, dirName: null, disabled: me, download: Wx, draggable: Ze, encType: null, enterKeyHint: null, fetchPriority: null, form: null, formAction: null, formEncType: null, formMethod: null, formNoValidate: me, formTarget: null, headers: Re, height: Z, hidden: me, high: Z, href: null, hrefLang: null, htmlFor: Re, httpEquiv: Re, id: null, imageSizes: null, imageSrcSet: null, inert: me, inputMode: null, integrity: null, is: null, isMap: me, itemId: null, itemProp: Re, itemRef: Re, itemScope: me, itemType: Re, kind: null, label: null, lang: null, language: null, list: null, loading: null, loop: me, low: Z, manifest: null, max: null, maxLength: Z, media: null, method: null, min: null, minLength: Z, multiple: me, muted: me, name: null, nonce: null, noModule: me, noValidate: me, onAbort: null, onAfterPrint: null, onAuxClick: null, onBeforeMatch: null, onBeforePrint: null, onBeforeToggle: null, onBeforeUnload: null, onBlur: null, onCancel: null, onCanPlay: null, onCanPlayThrough: null, onChange: null, onClick: null, onClose: null, onContextLost: null, onContextMenu: null, onContextRestored: null, onCopy: null, onCueChange: null, onCut: null, onDblClick: null, onDrag: null, onDragEnd: null, onDragEnter: null, onDragExit: null, onDragLeave: null, onDragOver: null, onDragStart: null, onDrop: null, onDurationChange: null, onEmptied: null, onEnded: null, onError: null, onFocus: null, onFormData: null, onHashChange: null, onInput: null, onInvalid: null, onKeyDown: null, onKeyPress: null, onKeyUp: null, onLanguageChange: null, onLoad: null, onLoadedData: null, onLoadedMetadata: null, onLoadEnd: null, onLoadStart: null, onMessage: null, onMessageError: null, onMouseDown: null, onMouseEnter: null, onMouseLeave: null, onMouseMove: null, onMouseOut: null, onMouseOver: null, onMouseUp: null, onOffline: null, onOnline: null, onPageHide: null, onPageShow: null, onPaste: null, onPause: null, onPlay: null, onPlaying: null, onPopState: null, onProgress: null, onRateChange: null, onRejectionHandled: null, onReset: null, onResize: null, onScroll: null, onScrollEnd: null, onSecurityPolicyViolation: null, onSeeked: null, onSeeking: null, onSelect: null, onSlotChange: null, onStalled: null, onStorage: null, onSubmit: null, onSuspend: null, onTimeUpdate: null, onToggle: null, onUnhandledRejection: null, onUnload: null, onVolumeChange: null, onWaiting: null, onWheel: null, open: me, optimum: Z, pattern: null, ping: Re, placeholder: null, playsInline: me, popover: null, popoverTarget: null, popoverTargetAction: null, poster: null, preload: null, readOnly: me, referrerPolicy: null, rel: Re, required: me, reversed: me, rows: Z, rowSpan: Z, sandbox: Re, scope: null, scoped: me, seamless: me, selected: me, shadowRootDelegatesFocus: me, shadowRootMode: null, shape: null, size: Z, sizes: null, slot: null, span: Z, spellCheck: Ze, src: null, srcDoc: null, srcLang: null, srcSet: null, start: Z, step: null, style: null, tabIndex: Z, target: null, title: null, translate: null, type: null, typeMustMatch: me, useMap: null, value: Ze, width: Z, wrap: null, // Legacy. // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis align: null, // Several. Use CSS `text-align` instead, aLink: null, // ``. Use CSS `a:active {color}` instead archive: Re, // ``. List of URIs to archives axis: null, // `` and ``. Use `scope` on `` background: null, // ``. Use CSS `background-image` instead bgColor: null, // `` and table elements. Use CSS `background-color` instead border: Z, // ``. Use CSS `border-width` instead, borderColor: null, // `
`. Use CSS `border-color` instead, bottomMargin: Z, // `` cellPadding: null, // `
` cellSpacing: null, // `
` char: null, // Several table elements. When `align=char`, sets the character to align on charOff: null, // Several table elements. When `char`, offsets the alignment classId: null, // `` clear: null, // `
`. Use CSS `clear` instead code: null, // `` codeBase: null, // `` codeType: null, // `` color: null, // `` and `
`. Use CSS instead compact: me, // Lists. Use CSS to reduce space between items instead declare: me, // `` event: null, // `